From 6ad21ce885b9e96680387003bd616ba72add5334 Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Mon, 30 Nov 2015 21:59:34 +0000 Subject: [PATCH 01/54] Added built assets for release --- public/build/css/print-styles-88bf3b16e2.css | 1 + public/build/css/styles-37cf2b24e1.css | 1 + public/build/js/common-eec3acdffc.js | 6 ++++++ public/build/rev-manifest.json | 5 +++++ 4 files changed, 13 insertions(+) create mode 100644 public/build/css/print-styles-88bf3b16e2.css create mode 100644 public/build/css/styles-37cf2b24e1.css create mode 100644 public/build/js/common-eec3acdffc.js create mode 100644 public/build/rev-manifest.json diff --git a/public/build/css/print-styles-88bf3b16e2.css b/public/build/css/print-styles-88bf3b16e2.css new file mode 100644 index 00000000000..0f8d8aaa3ce --- /dev/null +++ b/public/build/css/print-styles-88bf3b16e2.css @@ -0,0 +1 @@ +.faded-small,.print-hidden,header{display:none}body{font-size:12px}.page-content{margin:0 auto}.print-full-width{width:100%;float:none;display:block}h2{font-size:2em;line-height:1;margin-top:.6em;margin-bottom:.3em} \ No newline at end of file diff --git a/public/build/css/styles-37cf2b24e1.css b/public/build/css/styles-37cf2b24e1.css new file mode 100644 index 00000000000..3a6d336fd97 --- /dev/null +++ b/public/build/css/styles-37cf2b24e1.css @@ -0,0 +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}ol,ul{margin-left:24px}.link,.text-button,a,body{font-family:Roboto,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}*{box-sizing:border-box}html{background-color:#FFF;height:100%}body{font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}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:.5em}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-chapter,.text-chapter:hover{color:#ef7c3c}span.highlight{font-weight:700}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}.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{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,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=search],input[type=url],input[type=password],input[type=number],input[type=email],select,textarea{background-color:#FFF;border-radius:3px;border:1px solid #CCC;display:inline-block;font-size:14px;font-family:Roboto,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=search],input.invalid[type=url],input.invalid[type=password],input.invalid[type=number],input.invalid[type=email],input.neg[type=text],input.neg[type=search],input.neg[type=url],input.neg[type=password],input.neg[type=number],input.neg[type=email],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=search],input.pos[type=url],input.pos[type=password],input.pos[type=number],input.pos[type=email],input.valid[type=text],input.valid[type=search],input.valid[type=url],input.valid[type=password],input.valid[type=number],input.valid[type=email],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=search],input.disabled[type=url],input.disabled[type=password],input.disabled[type=number],input.disabled[type=email],input[disabled][type=text],input[disabled][type=search],input[disabled][type=url],input[disabled][type=password],input[disabled][type=number],input[disabled][type=email],select.disabled,select[disabled],textarea.disabled,textarea[disabled]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAMUlEQVQIW2NkwAGuXbv2nxGbHEhCS0uLEUMSJgHShCKJLIEiiS4Bl8QmAZbEJQGSBAC62BuJ+tt7zgAAAABJRU5ErkJggg==)}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}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,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%}.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;display:none;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;max-width:1340px;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 img{display:block;border-radius:0;float:left;margin:0;cursor:pointer;width:16.6666666667%;height:auto;border:1px solid #FFF;transition:all cubic-bezier(.4,0,1,1) 160ms}.image-manager-list img.selected{-webkit-transform:scale3d(.92,.92,.92);transform:scale3d(.92,.92,.92)}#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}.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:8px;font-size:13px;top:130px;left:-10px;width:140px;background:#be2626;background:linear-gradient(to bottom,#be2626,#a92222);padding:.5em 1.2em;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 #be2626}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:7.2px}@media screen and (max-width:992px){header .user-name{padding-left:6px}header .user-name .name{display:none}header .user-name i{font-size:2em;padding-left:0;padding-top:0}header{text-align:center}header .float.right{float:none}}.dropdown-container,.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}}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{vertical-align:top;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;text-decoration:none}.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}.dropdown-container{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}.page-list .page,.page-list h4{border-left:5px solid #0288D1}.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}.breadcrumbs span.sep{color:#aaa;padding:0 6px}.faded a,.faded button,.faded span{color:#666}.faded .text-button{opacity:.5;transition:all ease-in-out 120ms}.faded .text-button:hover{opacity:1;text-decoration:none}.faded-small{color:#000;font-size:.9em;background-color:rgba(21,101,192,.15)}.action-buttons .text-button,.breadcrumbs .text-button{display:inline-block;padding:12px}.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}.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;padding:6px 0 6px 16px}.page-list hr{margin-top:0}.page-list .book,.page-list .chapter,.page-list .page{padding-left:24px}.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{margin-top:32px}.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;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:hover{background-color:rgba(255,255,255,.2);text-decoration:none}.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}.book-tree .sidebar-page-list .page{color:#0288D1!important;border-left:5px solid #0288D1;margin:10px;border-bottom:none}.book-tree .sidebar-page-list .page.selected{background-color:rgba(2,136,209,.1)}.book-tree .sidebar-page-list .sub-menu{display:none}.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}.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{float:left!important;text-align:left;margin:6px 12px 6px 0}.page-content .align-right{float:right!important;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;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto}.pointer-container{position:relative;display:none;left:2%}.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}.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:1}.pointer input{background-color:#FFF;border:1px solid #DDD;color:#666;width:180px;z-index:40}.avatar,.notification{background-color:#EEE}.pointer button,.pointer input{position:relative;border-radius:0;height:28px;font-size:12px}.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}.dragged{position:absolute;opacity:.5;z-index:2000}body.dragging,body.dragging *{cursor:move!important}.avatar{border-radius:100%}.avatar.med{width:40px;height:40px}.notification{position:fixed;top:0;right:0;margin:64px 32px;padding:24px 32px;border-radius:3px;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}.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} \ No newline at end of file diff --git a/public/build/js/common-eec3acdffc.js b/public/build/js/common-eec3acdffc.js new file mode 100644 index 00000000000..bb1ded8e991 --- /dev/null +++ b/public/build/js/common-eec3acdffc.js @@ -0,0 +1,6 @@ +!function e(t,n,i){function r(s,a){if(!n[s]){if(!t[s]){var l="function"==typeof require&&require;if(!a&&l)return l(s,!0);if(o)return o(s,!0);var c=new Error("Cannot find module '"+s+"'");throw c.code="MODULE_NOT_FOUND",c}var u=n[s]={exports:{}};t[s][0].call(u.exports,function(e){var n=t[s][1][e];return r(n?n:e)},u,u.exports,e,t,n,i)}return n[s].exports}for(var o="function"==typeof require&&require,s=0;sr;r++)t=n[r],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,i,r,o,s;if(!this._callbacks||0===arguments.length)return this._callbacks={},this;if(i=this._callbacks[e],!i)return this;if(1===arguments.length)return delete this._callbacks[e],this;for(r=o=0,s=i.length;s>o;r=++o)if(n=i[r],n===t){i.splice(r,1);break}return this},e}(),e=function(e){function t(e,n){var r,o,s;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,r=null!=(s=t.optionsForElement(this.element))?s:{},this.options=i({},this.defaultOptions,r,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 i,r;return h(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 a},forceFallback:!1,fallback:function(){var e,n,i,r,o,s;for(this.element.className=""+this.element.className+" dz-browser-not-supported",s=this.element.getElementsByTagName("div"),r=0,o=s.length;o>r;r++)e=s[r],/(^| )dz-message($| )/.test(e.className)&&(n=e,e.className="dz-message");return n||(n=t.createElement('
'),this.element.appendChild(n)),i=n.getElementsByTagName("span")[0],i&&(null!=i.textContent?i.textContent=this.options.dictFallbackMessage:null!=i.innerText&&(i.innerText=this.options.dictFallbackMessage)),this.element.appendChild(this.getFallbackForm())},resize:function(e){var t,n,i;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),i=t.optWidth/t.optHeight,e.heighti?(t.srcHeight=e.height,t.srcWidth=t.srcHeight*i):(t.srcWidth=e.width,t.srcHeight=t.srcWidth/i),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:a,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:a,reset:function(){return this.element.classList.remove("dz-started")},addedfile:function(e){var n,i,r,o,s,a,l,c,u,h,p,d,f;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),h=e.previewElement.querySelectorAll("[data-dz-name]"),o=0,l=h.length;l>o;o++)n=h[o],n.textContent=e.name;for(p=e.previewElement.querySelectorAll("[data-dz-size]"),s=0,c=p.length;c>s;s++)n=p[s],n.innerHTML=this.filesize(e.size);for(this.options.addRemoveLinks&&(e._removeLink=t.createElement(''+this.options.dictRemoveFile+""),e.previewElement.appendChild(e._removeLink)),i=function(n){return function(i){return i.preventDefault(),i.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]"),f=[],a=0,u=d.length;u>a;a++)r=d[a],f.push(r.addEventListener("click",i));return f}},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,i,r,o;if(e.previewElement){for(e.previewElement.classList.remove("dz-file-preview"),o=e.previewElement.querySelectorAll("[data-dz-thumbnail]"),i=0,r=o.length;r>i;i++)n=o[i],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,i,r,o,s;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]"),s=[],i=0,r=o.length;r>i;i++)n=o[i],s.push(n.textContent=t);return s}},errormultiple:a,processing:function(e){return e.previewElement&&(e.previewElement.classList.add("dz-processing"),e._removeLink)?e._removeLink.textContent=this.options.dictCancelUpload:void 0},processingmultiple:a,uploadprogress:function(e,t,n){var i,r,o,s,a;if(e.previewElement){for(s=e.previewElement.querySelectorAll("[data-dz-uploadprogress]"),a=[],r=0,o=s.length;o>r;r++)i=s[r],"PROGRESS"===i.nodeName?a.push(i.value=t):a.push(i.style.width=""+t+"%");return a}},totaluploadprogress:a,sending:a,sendingmultiple:a,success:function(e){return e.previewElement?e.previewElement.classList.add("dz-success"):void 0},successmultiple:a,canceled:function(e){return this.emit("error",e,"Upload canceled.")},canceledmultiple:a,complete:function(e){return e._removeLink&&(e._removeLink.textContent=this.options.dictRemoveFile),e.previewElement?e.previewElement.classList.add("dz-complete"):void 0},completemultiple:a,maxfilesexceeded:a,maxfilesreached:a,queuecomplete:a,addedfiles:a,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
'},i=function(){var e,t,n,i,r,o,s;for(i=arguments[0],n=2<=arguments.length?c.call(arguments,1):[],o=0,s=n.length;s>o;o++){t=n[o];for(e in t)r=t[e],i[e]=r}return i},t.prototype.getAcceptedFiles=function(){var e,t,n,i,r;for(i=this.files,r=[],t=0,n=i.length;n>t;t++)e=i[t],e.accepted&&r.push(e);return r},t.prototype.getRejectedFiles=function(){var e,t,n,i,r;for(i=this.files,r=[],t=0,n=i.length;n>t;t++)e=i[t],e.accepted||r.push(e);return r},t.prototype.getFilesWithStatus=function(e){var t,n,i,r,o;for(r=this.files,o=[],n=0,i=r.length;i>n;n++)t=r[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,i,r,o;for(r=this.files,o=[],n=0,i=r.length;i>n;n++)e=r[n],(e.status===t.UPLOADING||e.status===t.QUEUED)&&o.push(e);return o},t.prototype.init=function(){var e,n,i,r,o,s,a;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&&(i=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,r,o;if(n=e.hiddenFileInput.files,n.length)for(r=0,o=n.length;o>r;r++)t=n[r],e.addFile(t);return e.emit("addedfiles",n),i()})}}(this))(),this.URL=null!=(s=window.URL)?s:window.webkitURL,a=this.events,r=0,o=a.length;o>r;r++)e=a[r],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 i;try{i=t.dataTransfer.effectAllowed}catch(r){}return t.dataTransfer.dropEffect="move"===i||"linkMove"===i?"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(i){return(n!==e.element||i.target===e.element||t.elementInside(i.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,i,r,o,s,a;if(i=0,n=0,e=this.getActiveFiles(),e.length){for(a=this.getActiveFiles(),o=0,s=a.length;s>o;o++)t=a[o],i+=t.upload.bytesSent,n+=t.upload.total;r=100*i/n}else r=100;return this.emit("totaluploadprogress",r,n,i)},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,i,r;return(e=this.getExistingFallback())?e:(i='
',this.options.dictFallbackText&&(i+="

"+this.options.dictFallbackText+"

"),i+='
',n=t.createElement(i),"FORM"!==this.element.tagName?(r=t.createElement('
'),r.appendChild(n)):(this.element.setAttribute("enctype","multipart/form-data"),this.element.setAttribute("method",this.options.method)),null!=r?r:n)},t.prototype.getExistingFallback=function(){var e,t,n,i,r,o;for(t=function(e){var t,n,i;for(n=0,i=e.length;i>n;n++)if(t=e[n],/(^| )fallback($| )/.test(t.className))return t},o=["div","form"],i=0,r=o.length;r>i;i++)if(n=o[i],e=t(this.element.getElementsByTagName(n)))return e},t.prototype.setupEventListeners=function(){var e,t,n,i,r,o,s;for(o=this.listeners,s=[],i=0,r=o.length;r>i;i++)e=o[i],s.push(function(){var i,r;i=e.events,r=[];for(t in i)n=i[t],r.push(e.element.addEventListener(t,n,!1));return r}());return s},t.prototype.removeEventListeners=function(){var e,t,n,i,r,o,s;for(o=this.listeners,s=[],i=0,r=o.length;r>i;i++)e=o[i],s.push(function(){var i,r;i=e.events,r=[];for(t in i)n=i[t],r.push(e.element.removeEventListener(t,n,!1));return r}());return s},t.prototype.disable=function(){var e,t,n,i,r;for(this.clickableElements.forEach(function(e){return e.classList.remove("dz-clickable")}),this.removeEventListeners(),i=this.files,r=[],t=0,n=i.length;n>t;t++)e=i[t],r.push(this.cancelUpload(e));return r},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,i,r,o,s,a,l;if(i=0,r="b",e>0){for(s=["TB","GB","MB","KB","b"],n=a=0,l=s.length;l>a;n=++a)if(o=s[n],t=Math.pow(this.options.filesizeBase,4-n)/10,e>=t){i=e/Math.pow(this.options.filesizeBase,4-n),r=o;break}i=Math.round(10*i)/10}return""+i+" "+r},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,i,r;for(r=[],n=0,i=e.length;i>n;n++)t=e[n],r.push(this.addFile(t));return r},t.prototype._addFilesFromItems=function(e){var t,n,i,r,o;for(o=[],i=0,r=e.length;r>i;i++)n=e[i],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,i;return n=e.createReader(),i=function(e){return function(n){var i,r,o;for(r=0,o=n.length;o>r;r++)i=n[r],i.isFile?i.file(function(n){return e.options.ignoreHiddenFiles&&"."===n.name.substring(0,1)?void 0:(n.fullPath=""+t+"/"+n.name,e.addFile(n))}):i.isDirectory&&e._addFilesFromDirectory(i,""+t+"/"+i.name)}}(this),n.readEntries(i,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,i;for(n=0,i=e.length;i>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=l(this.files,e),this.emit("removedfile",e),0===this.files.length?this.emit("reset"):void 0},t.prototype.removeAllFiles=function(e){var n,i,r,o;for(null==e&&(e=!1),o=this.files.slice(),i=0,r=o.length;r>i;i++)n=o[i],(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(i){return function(){return"image/svg+xml"===e.type?(i.emit("thumbnail",e,n.result),void(null!=t&&t())):i.createThumbnailFromUrl(e,n.result,t)}}(this),n.readAsDataURL(e)},t.prototype.createThumbnailFromUrl=function(e,t,n,i){var r;return r=document.createElement("img"),i&&(r.crossOrigin=i),r.onload=function(t){return function(){var i,o,a,l,c,u,h,p;return e.width=r.width,e.height=r.height,a=t.options.resize.call(t,e),null==a.trgWidth&&(a.trgWidth=a.optWidth),null==a.trgHeight&&(a.trgHeight=a.optHeight),i=document.createElement("canvas"),o=i.getContext("2d"),i.width=a.trgWidth,i.height=a.trgHeight,s(o,r,null!=(c=a.srcX)?c:0,null!=(u=a.srcY)?u:0,a.srcWidth,a.srcHeight,null!=(h=a.trgX)?h:0,null!=(p=a.trgY)?p:0,a.trgWidth,a.trgHeight),l=i.toDataURL("image/png"),t.emit("thumbnail",e,l),null!=n?n():void 0}}(this),null!=n&&(r.onerror=n),r.src=t},t.prototype.processQueue=function(){var e,t,n,i;if(t=this.options.parallelUploads,n=this.getUploadingFiles().length,e=n,!(n>=t)&&(i=this.getQueuedFiles(),i.length>0)){if(this.options.uploadMultiple)return this.processFiles(i.slice(0,t-n));for(;t>e;){if(!i.length)return;this.processFile(i.shift()),e++}}},t.prototype.processFile=function(e){return this.processFiles([e])},t.prototype.processFiles=function(e){var n,i,r;for(i=0,r=e.length;r>i;i++)n=e[i],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,i,r,o;for(r=this.files,o=[],n=0,i=r.length;i>n;n++)t=r[n],t.xhr===e&&o.push(t);return o}.call(this)},t.prototype.cancelUpload=function(e){var n,i,r,o,s,a,l;if(e.status===t.UPLOADING){for(i=this._getFilesWithXhr(e.xhr),r=0,s=i.length;s>r;r++)n=i[r],n.status=t.CANCELED;for(e.xhr.abort(),o=0,a=i.length;a>o;o++)n=i[o],this.emit("canceled",n);this.options.uploadMultiple&&this.emit("canceledmultiple",i)}else((l=e.status)===t.ADDED||l===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},r=function(){var e,t;return t=arguments[0],e=2<=arguments.length?c.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,s,a,l,c,u,h,p,d,f,m,v,g,y,b,w,_,x,E,C,k,O,A,N,T,D,F,$,j,S,P,L,I;for(x=new XMLHttpRequest,E=0,A=e.length;A>E;E++)n=e[E],n.xhr=x;m=r(this.options.method,e),w=r(this.options.url,e),x.open(m,w,!0),x.withCredentials=!!this.options.withCredentials,y=null,s=function(t){return function(){var i,r,o;for(o=[],i=0,r=e.length;r>i;i++)n=e[i],o.push(t._errorProcessing(e,y||t.options.dictResponseError.replace("{{statusCode}}",x.status),x));return o}}(this),b=function(t){return function(i){var r,o,s,a,l,c,u,h,p;if(null!=i)for(o=100*i.loaded/i.total,s=0,c=e.length;c>s;s++)n=e[s],n.upload={progress:o,total:i.total,bytesSent:i.loaded};else{for(r=!0,o=100,a=0,u=e.length;u>a;a++)n=e[a],(100!==n.upload.progress||n.upload.bytesSent!==n.upload.total)&&(r=!1),n.upload.progress=o,n.upload.bytesSent=n.upload.total;if(r)return}for(p=[],l=0,h=e.length;h>l;l++)n=e[l],p.push(t.emit("uploadprogress",n,o,n.upload.bytesSent));return p}}(this),x.onload=function(n){return function(i){var r;if(e[0].status!==t.CANCELED&&4===x.readyState){if(y=x.responseText,x.getResponseHeader("content-type")&&~x.getResponseHeader("content-type").indexOf("application/json"))try{y=JSON.parse(y)}catch(o){i=o,y="Invalid JSON response from server."}return b(),200<=(r=x.status)&&300>r?n._finished(e,y,i):s()}}}(this),x.onerror=function(n){return function(){return e[0].status!==t.CANCELED?s():void 0}}(this),g=null!=($=x.upload)?$:x,g.onprogress=b,c={Accept:"application/json","Cache-Control":"no-cache","X-Requested-With":"XMLHttpRequest"},this.options.headers&&i(c,this.options.headers);for(a in c)l=c[a],l&&x.setRequestHeader(a,l);if(o=new FormData,this.options.params){j=this.options.params;for(f in j)_=j[f],o.append(f,_)}for(C=0,N=e.length;N>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(S=this.element.querySelectorAll("input, textarea, select, button"),k=0,T=S.length;T>k;k++)if(h=S[k],p=h.getAttribute("name"),d=h.getAttribute("type"),"SELECT"===h.tagName&&h.hasAttribute("multiple"))for(P=h.options,O=0,D=P.length;D>O;O++)v=P[O],v.selected&&o.append(p,v.value);else(!d||"checkbox"!==(L=d.toLowerCase())&&"radio"!==L||h.checked)&&o.append(p,h.value);for(u=F=0,I=e.length-1;I>=0?I>=F:F>=I;u=I>=0?++F:--F)o.append(this._getParamName(u),e[u],e[u].name);return this.submitRequest(x,o,e)},t.prototype.submitRequest=function(e,t,n){return e.send(t)},t.prototype._finished=function(e,n,i){var r,o,s;for(o=0,s=e.length;s>o;o++)r=e[o],r.status=t.SUCCESS,this.emit("success",r,n,i),this.emit("complete",r);return this.options.uploadMultiple&&(this.emit("successmultiple",e,n,i),this.emit("completemultiple",e)),this.options.autoProcessQueue?this.processQueue():void 0},t.prototype._errorProcessing=function(e,n,i){var r,o,s;for(o=0,s=e.length;s>o;o++)r=e[o],r.status=t.ERROR,this.emit("error",r,n,i),this.emit("complete",r);return this.options.uploadMultiple&&(this.emit("errormultiple",e,n,i),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[i(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,i,r,o,s;for(document.querySelectorAll?i=document.querySelectorAll(".dropzone"):(i=[],t=function(e){var t,n,r,o;for(o=[],n=0,r=e.length;r>n;n++)t=e[n],/(^| )dropzone($| )/.test(t.className)?o.push(i.push(t)):o.push(void 0);return o},t(document.getElementsByTagName("div")),t(document.getElementsByTagName("form"))),s=[],r=0,o=i.length;o>r;r++)n=i[r],e.optionsForElement(n)!==!1?s.push(new e(n)):s.push(void 0);return s},e.blacklistedBrowsers=[/opera.*Macintosh.*version\/12/i],e.isBrowserSupported=function(){var t,n,i,r,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,i=0,r=o.length;r>i;i++)n=o[i],n.test(navigator.userAgent)&&(t=!1);else t=!1;else t=!1;return t},l=function(e,t){var n,i,r,o;for(o=[],i=0,r=e.length;r>i;i++)n=e[i],n!==t&&o.push(n);return o},i=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,i,r,o,s,a,l,c;if(e instanceof Array){r=[];try{for(o=0,a=e.length;a>o;o++)i=e[o],r.push(this.getElement(i,t))}catch(u){n=u,r=null}}else if("string"==typeof e)for(r=[],c=document.querySelectorAll(e),s=0,l=c.length;l>s;s++)i=c[s],r.push(i);else null!=e.nodeType&&(r=[e]);if(null==r||!r.length)throw new Error("Invalid `"+t+"` option provided. Please provide a CSS selector, a plain HTML element or a list of those.");return r},e.confirm=function(e,t,n){return window.confirm(e)?t():null!=n?n():void 0; +},e.isValidFile=function(e,t){var n,i,r,o,s;if(!t)return!0;for(t=t.split(","),i=e.type,n=i.replace(/\/.*$/,""),o=0,s=t.length;s>o;o++)if(r=t[o],r=r.trim(),"."===r.charAt(0)){if(-1!==e.name.toLowerCase().indexOf(r.toLowerCase(),e.name.length-r.length))return!0}else if(/\/\*$/.test(r)){if(n===r.replace(/\/.*$/,""))return!0}else if(i===r)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,i,r,o,s,a,l,c,u;for(a=e.naturalWidth,s=e.naturalHeight,n=document.createElement("canvas"),n.width=1,n.height=s,i=n.getContext("2d"),i.drawImage(e,0,0),r=i.getImageData(0,0,1,s).data,u=0,o=s,l=s;l>u;)t=r[4*(l-1)+3],0===t?o=l:u=l,l=o+u>>1;return c=l/s,0===c?1:c},s=function(e,t,n,i,r,s,a,l,c,u){var h;return h=o(t),e.drawImage(t,n,i,r,s,a,l,c,u/h)},r=function(e,t){var n,i,r,o,s,a,l,c,u;if(r=!1,u=!0,i=e.document,c=i.documentElement,n=i.addEventListener?"addEventListener":"attachEvent",l=i.addEventListener?"removeEventListener":"detachEvent",a=i.addEventListener?"":"on",o=function(n){return"readystatechange"!==n.type||"complete"===i.readyState?(("load"===n.type?e:i)[l](a+n.type,o,!1),!r&&(r=!0)?t.call(e,n.type||n):void 0):void 0},s=function(){var e;try{c.doScroll("left")}catch(t){return e=t,void setTimeout(s,50)}return o("poll")},"complete"!==i.readyState){if(i.createEventObject&&c.doScroll){try{u=!e.frameElement}catch(h){}u&&s()}return i[n](a+"DOMContentLoaded",o,!1),i[n](a+"readystatechange",o,!1),e[n](a+"load",o,!1)}},e._autoDiscoverFunction=function(){return e.autoDiscover?e.discover():void 0},r(window,e._autoDiscoverFunction)}).call(this)},{}],2:[function(e,t,n){function i(){u=!1,a.length?c=a.concat(c):h=-1,c.length&&r()}function r(){if(!u){var e=setTimeout(i);u=!0;for(var t=c.length;t;){for(a=c,c=[];++h1)for(var n=1;n hot reload shim applied."))}},n.createRecord=function(e,t){var n="function"==typeof t?t:u.extend(t);t=n.options,"string"!=typeof t.el&&"object"!=typeof t.data&&(s(e,t),h[e]={Component:n,views:[],instances:[]})},n.update=function(e,t,n){var i=h[e];if(!i||i.instances.length&&!i.views.length){if(console.log("[HMR] Root or manually-mounted instance modified. Full reload may be required."),d)return;window.location.reload()}d||console.log("[HMR] Updating component: "+c(e));var r=i.Component;t&&(r=i.Component="function"==typeof t?t:u.extend(t),s(e,r.options)),n&&(r.options.template=n),r.options.name&&(r.options.components[r.options.name]=r),r.linker=null,i.views.forEach(function(e){l(e,r)})}},{}],4:[function(e,t,n){var i=e("./lib/xhr"),r=e("./lib/jsonp"),o=e("./lib/promise");t.exports=function(e){function t(o,l){var c;return e.isPlainObject(o)&&(l=o,o=""),l=e.extend({url:o},l),l=e.extend(!0,{},t.options,this.options,l),null===l.crossOrigin&&(l.crossOrigin=a(l.url)),l.method=l.method.toUpperCase(),l.headers=e.extend({},t.headers.common,l.crossOrigin?{}:t.headers.custom,t.headers[l.method.toLowerCase()],l.headers),e.isPlainObject(l.data)&&/^(GET|JSONP)$/i.test(l.method)&&(e.extend(l.params,l.data),delete l.data),l.emulateHTTP&&!l.crossOrigin&&/^(PUT|PATCH|DELETE)$/i.test(l.method)&&(l.headers["X-HTTP-Method-Override"]=l.method,l.method="POST"),l.emulateJSON&&e.isPlainObject(l.data)&&(l.headers["Content-Type"]="application/x-www-form-urlencoded",l.data=e.url.params(l.data)),e.isObject(l.data)&&/FormData/i.test(l.data.toString())&&delete l.headers["Content-Type"],e.isPlainObject(l.data)&&(l.data=JSON.stringify(l.data)),c=("JSONP"==l.method?r:i).call(this.vm,e,l),c=n(c.then(s,s),this.vm),l.success&&(c=c.success(l.success)),l.error&&(c=c.error(l.error)),c}function n(e,t){return e.success=function(i){return n(e.then(function(e){return i.call(t,e.data,e.status,e)||e}),t)},e.error=function(i){return n(e.then(void 0,function(e){return i.call(t,e.data,e.status,e)||e}),t)},e.always=function(i){var r=function(e){return i.call(t,e.data,e.status,e)||e};return n(e.then(r,r),t)},e}function s(e){try{e.data=JSON.parse(e.responseText)}catch(t){e.data=e.responseText}return e.ok?e:o.reject(e)}function a(t){var n=e.url.parse(t);return n.protocol!==l.protocol||n.host!==l.host}var l=e.url.parse(location.href),c={"Content-Type":"application/json;charset=utf-8"};return t.options={method:"get",params:{},data:"",xhr:null,jsonp:"callback",beforeSend:null,crossOrigin:null,emulateHTTP:!1,emulateJSON:!1},t.headers={put:c,post:c,patch:c,"delete":c,common:{Accept:"application/json, text/plain, */*"},custom:{"X-Requested-With":"XMLHttpRequest"}},["get","put","post","patch","delete","jsonp"].forEach(function(n){t[n]=function(t,i,r,o){return e.isFunction(i)&&(o=r,r=i,i=void 0),this(t,e.extend({method:n,data:i,success:r},o))}}),e.http=t}},{"./lib/jsonp":6,"./lib/promise":7,"./lib/xhr":9}],5:[function(e,t,n){function i(t){var n=e("./lib/util")(t);t.url=e("./url")(n),t.http=e("./http")(n),t.resource=e("./resource")(n),Object.defineProperties(t.prototype,{$url:{get:function(){return n.options(t.url,this,this.$options.url)}},$http:{get:function(){return n.options(t.http,this,this.$options.http)}},$resource:{get:function(){return t.resource.bind(this)}}})}window.Vue&&Vue.use(i),t.exports=i},{"./http":4,"./lib/util":8,"./resource":10,"./url":11}],6:[function(e,t,n){var i=e("./promise");t.exports=function(e,t){var n,r,o="_jsonp"+Math.random().toString(36).substr(2),s={};return t.params[t.jsonp]=o,e.isFunction(t.beforeSend)&&t.beforeSend.call(this,{},t),new i(function(i,a){n=document.createElement("script"),n.src=e.url(t),n.type="text/javascript",n.async=!0,window[o]=function(e){r=e};var l=function(e){delete window[o],document.body.removeChild(n),"load"!==e.type||r||(e.type="error"),s.ok="error"!==e.type,s.status=s.ok?200:404,s.responseText=r?r:e.type,(s.ok?i:a)(s)};n.onload=l,n.onerror=l,document.body.appendChild(n)})}},{"./promise":7}],7:[function(e,t,n){function i(e){this.state=s,this.value=void 0,this.deferred=[];var t=this;try{e(function(e){t.resolve(e)},function(e){t.reject(e)})}catch(n){t.reject(n)}}var r=0,o=1,s=2;i.reject=function(e){return new i(function(t,n){n(e)})},i.resolve=function(e){return new i(function(t,n){t(e)})},i.all=function(e){return new i(function(t,n){function i(n){return function(i){o[n]=i,r+=1,r===e.length&&t(o)}}var r=0,o=[];0===e.length&&t(o);for(var s=0;s=200&&o.status<300),(o.ok?n:i)(o)};o.onload=r,o.onabort=r,o.onerror=r,o.send(t.data)})}},{"./promise":7}],10:[function(e,t,n){t.exports=function(e){function t(i,r,o,s){var a=this,l={};return o=e.extend({},t.actions,o),e.each(o,function(t,o){t=e.extend(!0,{url:i,params:r||{}},s,t),l[o]=function(){return(a.$http||e.http)(n(t,arguments))}}),l}function n(t,n){var i,r,o,s=e.extend({},t),a={};switch(n.length){case 4:o=n[3],r=n[2];case 3:case 2:if(!e.isFunction(n[1])){a=n[0],i=n[1],r=n[2];break}if(e.isFunction(n[0])){r=n[0],o=n[1];break}r=n[1],o=n[2];case 1:e.isFunction(n[0])?r=n[0]:/^(POST|PUT|PATCH)$/i.test(s.method)?i=n[0]:a=n[0];break;case 0:break;default:throw"Expected up to 4 arguments [params, data, success, error], got "+n.length+" arguments"}return s.data=i,s.params=e.extend({},s.params,a),r&&(s.success=r),o&&(s.error=o),s}return t.actions={get:{method:"GET"},save:{method:"POST"},query:{method:"GET"},update:{method:"PUT"},remove:{method:"DELETE"},"delete":{method:"DELETE"}},e.resource=t}},{}],11:[function(e,t,n){var i=document.documentMode,r=document.createElement("a");t.exports=function(e){function t(n,i){var r,s={},a={},l=n;return e.isPlainObject(l)||(l={url:n,params:i}),l=e.extend(!0,{},t.options,this.options,l),n=l.url.replace(/(\/?):([a-z]\w*)/gi,function(e,t,n){return l.params[n]?(s[n]=!0,t+o(l.params[n])):""}),e.isString(l.root)&&!n.match(/^(https?:)?\//)&&(n=l.root+"/"+n),e.each(l.params,function(e,t){s[t]||(a[t]=e)}),r=t.params(a),r&&(n+=(-1==n.indexOf("?")?"?":"&")+r),n}function n(t,i,r){var o,s=e.isArray(i),a=e.isPlainObject(i);e.each(i,function(i,l){o=e.isObject(i)||e.isArray(i),r&&(l=r+"["+(a||o?l:"")+"]"),!r&&s?t.add(i.name,i.value):o?n(t,i,l):t.add(l,i)})}function o(e){return s(e,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function s(e,t){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,t?"%20":"+")}return t.options={url:"",root:null,params:{}},t.params=function(t){var i=[];return i.add=function(t,n){e.isFunction(n)&&(n=n()),null===n&&(n=""),this.push(o(t)+"="+o(n))},n(i,t),i.join("&")},t.parse=function(e){return i&&(r.href=e,e=r.href),r.href=e,{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",port:r.port,host:r.host,hostname:r.hostname,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):""}},e.url=t}},{}],12:[function(e,t,n){function i(e){return JSON.parse(JSON.stringify(e))}var r=e("../util"),o=e("../watcher"),s=e("../parsers/path"),a=e("../parsers/text"),l=e("../parsers/directive"),c=e("../parsers/expression"),u=/[^|]\|[^|]/;n.$get=function(e,t){var n=c.parse(e);if(n){if(t&&!c.isSimplePath(e)){var i=this;return function(){n.get.call(i,i)}}try{return n.get.call(this,this)}catch(r){}}},n.$set=function(e,t){var n=c.parse(e,!0);n&&n.set&&n.set.call(this,this,t)},n.$delete=function(e){r["delete"](this._data,e)},n.$watch=function(e,t,n){var i,r=this;"string"==typeof e&&(i=l.parse(e),e=i.expression);var s=new o(r,e,t,{deep:n&&n.deep,filters:i&&i.filters});return n&&n.immediate&&t.call(r,s.value),function(){s.teardown()}},n.$eval=function(e,t){if(u.test(e)){var n=l.parse(e),i=this.$get(n.expression,t);return n.filters?this._applyFilters(i,null,n.filters):i}return this.$get(e,t)},n.$interpolate=function(e){var t=a.parse(e),n=this;return t?1===t.length?n.$eval(t[0].value)+"":t.map(function(e){return e.tag?n.$eval(e.value):e.value}).join(""):e},n.$log=function(e){var t=e?s.get(this._data,e):this._data;if(t&&(t=i(t)),!e)for(var n in this.$options.computed)t[n]=i(this[n]);console.log(t)}},{"../parsers/directive":62,"../parsers/expression":63,"../parsers/path":64,"../parsers/text":66,"../util":74,"../watcher":78}],13:[function(e,t,n){function i(e,t,n,i,o,s){t=r(t);var a=!l.inDoc(t),c=i===!1||a?o:s,u=!a&&!e._isAttached&&!l.inDoc(e.$el);return e._isFragment?(l.mapNodeRange(e._fragmentStart,e._fragmentEnd,function(n){c(n,t,e)}),n&&n()):c(e.$el,t,e,n),u&&e._callHook("attached"),e}function r(e){return"string"==typeof e?document.querySelector(e):e}function o(e,t,n,i){t.appendChild(e),i&&i()}function s(e,t,n,i){l.before(e,t),i&&i()}function a(e,t,n){l.remove(e),n&&n()}var l=e("../util"),c=e("../transition");n.$nextTick=function(e){l.nextTick(e,this)},n.$appendTo=function(e,t,n){return i(this,e,t,n,o,c.append)},n.$prependTo=function(e,t,n){return e=r(e),e.hasChildNodes()?this.$before(e.firstChild,t,n):this.$appendTo(e,t,n),this},n.$before=function(e,t,n){return i(this,e,t,n,s,c.before)},n.$after=function(e,t,n){return e=r(e),e.nextSibling?this.$before(e.nextSibling,t,n):this.$appendTo(e.parentNode,t,n),this},n.$remove=function(e,t){if(!this.$el.parentNode)return e&&e();var n=this._isAttached&&l.inDoc(this.$el);n||(t=!1);var i=this,r=function(){n&&i._callHook("detached"),e&&e()};if(this._isFragment)l.removeNodeRange(this._fragmentStart,this._fragmentEnd,this,this._fragment,r);else{var o=t===!1?a:c.remove;o(this.$el,this,r)}return this}},{"../transition":67,"../util":74}],14:[function(e,t,n){function i(e,t,n){var i=e.$parent;if(i&&n&&!o.test(t))for(;i;)i._eventsCount[t]=(i._eventsCount[t]||0)+n,i=i.$parent}var r=e("../util");n.$on=function(e,t){return(this._events[e]||(this._events[e]=[])).push(t),i(this,e,1),this},n.$once=function(e,t){function n(){i.$off(e,n),t.apply(this,arguments)}var i=this;return n.fn=t,this.$on(e,n),this},n.$off=function(e,t){var n;if(!arguments.length){if(this.$parent)for(e in this._events)n=this._events[e],n&&i(this,e,-n.length);return this._events={},this}if(n=this._events[e],!n)return this;if(1===arguments.length)return i(this,e,-n.length),this._events[e]=null,this;for(var r,o=n.length;o--;)if(r=n[o],r===t||r.fn===t){i(this,e,-1),n.splice(o,1);break}return this},n.$emit=function(e){var t=this._events[e];if(this._shouldPropagate=!t,t){t=t.length>1?r.toArray(t):t;for(var n=r.toArray(arguments,1),i=0,o=t.length;o>i;i++){var s=t[i].apply(this,n);s===!0&&(this._shouldPropagate=!0)}}return this},n.$broadcast=function(e){if(this._eventsCount[e]){for(var t=this.$children,n=0,i=t.length;i>n;n++){var r=t[n];r.$emit.apply(r,arguments),r._shouldPropagate&&r.$broadcast.apply(r,arguments)}return this}},n.$dispatch=function(){this.$emit.apply(this,arguments);for(var e=this.$parent;e;)e.$emit.apply(e,arguments),e=e._shouldPropagate?e.$parent:null;return this};var o=/^hook:/},{"../util":74}],15:[function(e,t,n){(function(t){function i(e){return new Function("return function "+r.classify(e)+" (options) { this._init(options) }")()}var r=e("../util"),o=e("../config");n.util=r,n.config=o,n.set=r.set,n["delete"]=r["delete"],n.nextTick=r.nextTick,n.compiler=e("../compiler"),n.FragmentFactory=e("../fragment/factory"),n.internalDirectives=e("../directives/internal"),n.parsers={path:e("../parsers/path"),text:e("../parsers/text"),template:e("../parsers/template"),directive:e("../parsers/directive"),expression:e("../parsers/expression")},n.cid=0;var s=1;n.extend=function(e){e=e||{};var t=this,n=0===t.cid;if(n&&e._Ctor)return e._Ctor;var a=e.name||t.options.name,l=i(a||"VueComponent");return l.prototype=Object.create(t.prototype),l.prototype.constructor=l,l.cid=s++,l.options=r.mergeOptions(t.options,e),l["super"]=t,l.extend=t.extend,o._assetTypes.forEach(function(e){l[e]=t[e]}),a&&(l.options.components[a]=l),n&&(e._Ctor=l),l},n.use=function(e){if(!e.installed){var t=r.toArray(arguments,1);return t.unshift(this),"function"==typeof e.install?e.install.apply(e,t):e.apply(null,t),e.installed=!0,this}},n.mixin=function(e){var t=r.Vue;t.options=r.mergeOptions(t.options,e)},o._assetTypes.forEach(function(e){n[e]=function(n,i){return i?("production"!==t.env.NODE_ENV&&"component"===e&&r.commonTagRE.test(n)&&r.warn("Do not use built-in HTML elements as component id: "+n),"component"===e&&r.isPlainObject(i)&&(i.name=n,i=r.Vue.extend(i)),this.options[e+"s"][n]=i,i):this.options[e+"s"][n]}})}).call(this,e("_process"))},{"../compiler":21,"../config":23,"../directives/internal":30,"../fragment/factory":52,"../parsers/directive":62,"../parsers/expression":63,"../parsers/path":64,"../parsers/template":65,"../parsers/text":66,"../util":74,_process:2}],16:[function(e,t,n){(function(t){function i(){this._isAttached=!0,this._isReady=!0,this._callHook("ready")}var r=e("../util"),o=e("../compiler");n.$mount=function(e){return this._isCompiled?void("production"!==t.env.NODE_ENV&&r.warn("$mount() should be called only once.")):(e=r.query(e),e||(e=document.createElement("div")),this._compile(e),this._initDOMHooks(),r.inDoc(this.$el)?(this._callHook("attached"),i.call(this)):this.$once("hook:attached",i),this)},n.$destroy=function(e,t){this._destroy(e,t)},n.$compile=function(e,t,n,i){return o.compile(e,this.$options,!0)(this,e,t,n,i)}}).call(this,e("_process"))},{"../compiler":21,"../util":74,_process:2}],17:[function(e,t,n){(function(t){function i(){l=[],c=[],u={},h={},p=d=!1}function r(){o(l),d=!0,o(c),"production"!==t.env.NODE_ENV&&s.inBrowser&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__.emit("flush"),i()}function o(e){for(var n=0;na._maxUpdateCount&&(e.splice(u[r],1),s.warn("You may have an infinite update loop for watcher with expression: "+i.expression)))}}var s=e("./util"),a=e("./config"),l=[],c=[],u={},h={},p=!1,d=!1;n.push=function(e){var t=e.id;if(null==u[t]){if(d&&!e.user)return void e.run();var n=e.user?c:l;u[t]=n.length,n.push(e),p||(p=!0,s.nextTick(r))}}}).call(this,e("_process"))},{"./config":23,"./util":74,_process:2}],18:[function(e,t,n){function i(e){this.size=0,this.limit=e,this.head=this.tail=void 0,this._keymap=Object.create(null)}var r=i.prototype;r.put=function(e,t){var n={key:e,value:t};return this._keymap[e]=n,this.tail?(this.tail.newer=n,n.older=this.tail):this.head=n,this.tail=n,this.size===this.limit?this.shift():void this.size++},r.shift=function(){var e=this.head;return e&&(this.head=this.head.newer,this.head.older=void 0,e.newer=e.older=void 0,this._keymap[e.key]=void 0),e},r.get=function(e,t){var n=this._keymap[e];if(void 0!==n)return n===this.tail?t?n:n.value:(n.newer&&(n===this.head&&(this.head=n.newer),n.newer.older=n.older),n.older&&(n.older.newer=n.newer),n.newer=void 0,n.older=this.tail,this.tail&&(this.tail.newer=n),this.tail=n,t?n:n.value)},t.exports=i},{}],19:[function(e,t,n){(function(n){function i(e){return function(t,i){t._props={};for(var s,c,u,h,p,d=e.length;d--;)if(s=e[d],p=s.raw,c=s.path,u=s.options,t._props[c]=s,null===p)o.initProp(t,s,r(t,u));else if(s.dynamic)t._context?s.mode===l.ONE_TIME?(h=(i||t._context).$get(s.parentPath),o.initProp(t,s,h)):t._bindDir({name:"prop",def:a,prop:s},null,null,i):"production"!==n.env.NODE_ENV&&o.warn("Cannot bind dynamic prop on a root instance with no parent: "+s.name+'="'+p+'"');else if(s.optimizedLiteral){var f=o.stripQuotes(p);h=f===p?o.toBoolean(o.toNumber(p)):f,o.initProp(t,s,h)}else h=u.type===Boolean&&""===p?!0:p,o.initProp(t,s,h)}}function r(e,t){if(!t.hasOwnProperty("default"))return t.type===Boolean?!1:void 0;var i=t["default"];return o.isObject(i)&&"production"!==n.env.NODE_ENV&&o.warn("Object/Array as default prop values will be shared across multiple instances. Use a factory function to return the default value instead."),"function"==typeof i&&t.type!==Function?i.call(e):i}var o=e("../util"),s=e("../parsers/directive"),a=e("../directives/internal/prop"),l=e("../config")._propBindingModes,c={},u=e("../parsers/path").identRE,h=/^[A-Za-z_$][\w$]*(\.[A-Za-z_$][\w$]*|\[[^\[\]]+\])*$/;t.exports=function(e,t){for(var r,a,p,d,f,m,v,g=[],y=Object.keys(t),b=y.length;b--;)a=y[b],r=t[a]||c,"production"===n.env.NODE_ENV||"$data"!==a?(f=o.camelize(a),u.test(f)?(v={name:a,path:f,options:r,mode:l.ONE_WAY,raw:null},p=o.hyphenate(a),null===(d=o.getBindAttr(e,p))&&(null!==(d=o.getBindAttr(e,p+".sync"))?v.mode=l.TWO_WAY:null!==(d=o.getBindAttr(e,p+".once"))&&(v.mode=l.ONE_TIME)),null!==d?(v.raw=d,m=s.parse(d),d=m.expression,v.filters=m.filters,o.isLiteral(d)?v.optimizedLiteral=!0:(v.dynamic=!0,"production"===n.env.NODE_ENV||v.mode!==l.TWO_WAY||h.test(d)||(v.mode=l.ONE_WAY,o.warn("Cannot bind two-way prop with non-settable parent path: "+d))),v.parentPath=d,"production"!==n.env.NODE_ENV&&r.twoWay&&v.mode!==l.TWO_WAY&&o.warn('Prop "'+a+'" expects a two-way binding type.')):null!==(d=o.attr(e,p))?v.raw=d:r.required&&"production"!==n.env.NODE_ENV&&o.warn("Missing required prop: "+a),g.push(v)):"production"!==n.env.NODE_ENV&&o.warn('Invalid prop key: "'+a+'". Prop keys must be valid identifiers.')):o.warn("Do not use $data as prop.");return i(g)}}).call(this,e("_process"))},{"../config":23,"../directives/internal/prop":31,"../parsers/directive":62,"../parsers/path":64,"../util":74,_process:2}],20:[function(e,t,n){(function(t){function i(e,t){var n=t._directives.length;e();var i=t._directives.slice(n);i.sort(r);for(var o=0,s=i.length;s>o;o++)i[o]._bind();return i}function r(e,t){return e=e.descriptor.def.priority||L,t=t.descriptor.def.priority||L,e>t?-1:e===t?0:1}function o(e,t,n,i){return function(r){s(e,t,r),n&&i&&s(n,i)}}function s(e,t,n){for(var i=t.length;i--;)t[i]._teardown(),n||e._directives.$remove(t[i])}function a(e,t){var n=e.nodeType;return 1===n&&"SCRIPT"!==e.tagName?l(e,t):3===n&&e.data.trim()?c(e,t):null}function l(e,t){if("TEXTAREA"===e.tagName){var n=O.parse(e.value);n&&(e.setAttribute(":value",O.tokensToExp(n)),e.value="")}var i,r=e.hasAttributes();return r&&(i=v(e,t)),i||(i=f(e,t)),i||(i=m(e,t)),!i&&r&&(i=b(e.attributes,t)),i}function c(e,t){var n=O.parse(e.data);if(!n)return null;for(var i,r,o=document.createDocumentFragment(),s=0,a=n.length;a>s;s++)r=n[s],i=r.tag?u(r,t):document.createTextNode(r.value),o.appendChild(i);return h(n,o,t)}function u(e,t){function n(t){if(!e.descriptor){var n=A.parse(e.value);e.descriptor={name:t,def:E[t],expression:n.expression,filters:n.filters}}}var i;return e.oneTime?i=document.createTextNode(e.value):e.html?(i=document.createComment("v-html"),n("html")):(i=document.createTextNode(" "),n("text")),i}function h(e,t){return function(n,i,r,o){for(var s,a,l,c=t.cloneNode(!0),u=x.toArray(c.childNodes),h=0,p=e.length;p>h;h++)s=e[h],a=s.value,s.tag&&(l=u[h],s.oneTime?(a=(o||n).$eval(a),s.html?x.replace(l,N.parse(a,!0)):l.data=a):n._bindDir(s.descriptor,l,r,o));x.replace(i,c)}}function p(e,t){for(var n,i,r,o=[],s=0,l=e.length;l>s;s++)r=e[s],n=a(r,t),i=n&&n.terminal||"SCRIPT"===r.tagName||!r.hasChildNodes()?null:p(r.childNodes,t),o.push(n,i);return o.length?d(o):null}function d(e){return function(t,n,i,r,o){for(var s,a,l,c=0,u=0,h=e.length;h>c;u++){s=n[u],a=e[c++],l=e[c++];var p=x.toArray(s.childNodes);a&&a(t,s,i,r,o),l&&l(t,p,i,r,o)}}}function f(e,t){var n=e.tagName.toLowerCase();if(!x.commonTagRE.test(n)){var i=T(t,"elementDirectives",n);return i?y(e,n,"",t,i):void 0}}function m(e,t){var n=x.checkComponent(e,t);if(n){var i=x.findRef(e),r={name:"component",ref:i,expression:n.id,def:C.component,modifiers:{literal:!n.dynamic}},o=function(e,t,n,o,s){i&&x.defineReactive((o||e).$refs,i,null),e._bindDir(r,t,n,o,s)};return o.terminal=!0,o}}function v(e,t){if(null!==x.attr(e,"v-pre"))return g;if(e.hasAttribute("v-else")){var n=e.previousElementSibling;if(n&&n.hasAttribute("v-if"))return g}for(var i,r,o=0,s=P.length;s>o;o++)if(r=P[o],i=e.getAttribute("v-"+r))return y(e,r,i,t)}function g(){}function y(e,t,n,i,r){var o=A.parse(n),s={name:t,expression:o.expression,filters:o.filters,raw:n,def:r||E[t]};("for"===t||"router-view"===t)&&(s.ref=x.findRef(e));var a=function(e,t,n,i,r){s.ref&&x.defineReactive((i||e).$refs,s.ref,null),e._bindDir(s,t,n,i,r)};return a.terminal=!0,a}function b(e,n){function i(e,t,n){var i=A.parse(s);m.push({name:e,attr:a,raw:l,def:t,arg:u,modifiers:h,expression:i.expression,filters:i.filters,interp:n})}for(var r,o,s,a,l,c,u,h,p,d,f=e.length,m=[];f--;)if(r=e[f],o=a=r.name,s=l=r.value,d=O.parse(s),u=null,h=w(o),o=o.replace(j,""),d)s=O.tokensToExp(d),u=o,i("bind",E.bind,!0),"production"!==t.env.NODE_ENV&&"class"===o&&Array.prototype.some.call(e,function(e){return":class"===e.name||"v-bind:class"===e.name})&&x.warn('class="'+l+'": Do not mix mustache interpolation and v-bind for "class" on the same element. Use one or the other.');else if(S.test(o))h.literal=!D.test(o),i("transition",C.transition);else if(F.test(o))u=o.replace(F,""),i("on",E.on);else if(D.test(o))c=o.replace(D,""),"style"===c||"class"===c?i(c,C[c]):(u=c,i("bind",E.bind));else if(0===o.indexOf("v-")){if(u=(u=o.match($))&&u[1],u&&(o=o.replace($,"")),c=o.slice(2),"else"===c)continue;p=T(n,"directives",c),"production"!==t.env.NODE_ENV&&x.assertAsset(p,"directive",c),p&&i(c,p)}return m.length?_(m):void 0}function w(e){var t=Object.create(null),n=e.match(j);if(n)for(var i=n.length;i--;)t[n[i].slice(1)]=!0;return t}function _(e){return function(t,n,i,r,o){for(var s=e.length;s--;)t._bindDir(e[s],n,i,r,o)}}var x=e("../util"),E=e("../directives/public"),C=e("../directives/internal"),k=e("./compile-props"),O=e("../parsers/text"),A=e("../parsers/directive"),N=e("../parsers/template"),T=x.resolveAsset,D=/^v-bind:|^:/,F=/^v-on:|^@/,$=/:(.*)$/,j=/\.[^\.]+/g,S=/^(v-bind:|:)?transition$/,P=["for","if"],L=1e3;n.compile=function(e,t,n){var r=n||!t._asComponent?a(e,t):null,s=r&&r.terminal||"SCRIPT"===e.tagName||!e.hasChildNodes()?null:p(e.childNodes,t);return function(e,t,n,a,l){var c=x.toArray(t.childNodes),u=i(function(){r&&r(e,t,n,a,l),s&&s(e,c,n,a,l)},e);return o(e,u)}},n.compileAndLinkProps=function(e,t,n,r){var s=k(t,n),a=i(function(){s(e,r)},e);return o(e,a)},n.compileRoot=function(e,n,r){var s,a,l=n._containerAttrs,c=n._replacerAttrs;if(11!==e.nodeType)n._asComponent?(l&&r&&(s=b(l,r)),c&&(a=b(c,n))):a=b(e.attributes,n);else if("production"!==t.env.NODE_ENV&&l){var u=l.filter(function(e){return e.name.indexOf("_v-")<0&&!F.test(e.name)&&"slot"!==e.name}).map(function(e){return'"'+e.name+'"'});if(u.length){var h=u.length>1;x.warn("Attribute"+(h?"s ":" ")+u.join(", ")+(h?" are":" is")+" ignored on component <"+n.el.tagName.toLowerCase()+"> because the component is a fragment instance: http://vuejs.org/guide/components.html#Fragment_Instance")}}return function(e,t,n){var r,l=e._context;l&&s&&(r=i(function(){s(l,t,null,n)},l));var c=i(function(){a&&a(e,t)},e);return o(e,c,l,r)}},g.terminal=!0}).call(this,e("_process"))},{"../directives/internal":30,"../directives/public":40,"../parsers/directive":62,"../parsers/template":65,"../parsers/text":66,"../util":74,"./compile-props":19,_process:2}],21:[function(e,t,n){var i=e("../util");i.extend(n,e("./compile")),i.extend(n,e("./transclude"))},{"../util":74,"./compile":20,"./transclude":22}],22:[function(e,t,n){(function(t){function i(e,n){var i=n.template,l=a.parse(i,!0);if(l){var c=l.firstChild,u=c.tagName&&c.tagName.toLowerCase();return n.replace?(e===document.body&&"production"!==t.env.NODE_ENV&&s.warn("You are mounting an instance with a template to . This will replace entirely. You should probably use `replace: false` here."),l.childNodes.length>1||1!==c.nodeType||"component"===u||s.resolveAsset(n,"components",u)||c.hasAttribute("is")||c.hasAttribute(":is")||c.hasAttribute("v-bind:is")||s.resolveAsset(n,"elementDirectives",u)||c.hasAttribute("v-for")||c.hasAttribute("v-if")?l:(n._replacerAttrs=r(c),o(e,c),c)):(e.appendChild(l),e)}"production"!==t.env.NODE_ENV&&s.warn("Invalid template option: "+i)}function r(e){return 1===e.nodeType&&e.hasAttributes()?s.toArray(e.attributes):void 0}function o(e,t){for(var n,i,r=e.attributes,o=r.length;o--;)n=r[o].name,i=r[o].value,t.hasAttribute(n)||l.test(n)?"class"===n&&(i=t.getAttribute(n)+" "+i,t.setAttribute(n,i)):t.setAttribute(n,i)}var s=e("../util"),a=e("../parsers/template"),l=/[^\w\-:\.]/;n.transclude=function(e,t){return t&&(t._containerAttrs=r(e)),s.isTemplate(e)&&(e=a.parse(e)),t&&(t._asComponent&&!t.template&&(t.template=""),t.template&&(t._content=s.extractContent(e),e=i(e,t))),e instanceof DocumentFragment&&(s.prepend(s.createAnchor("v-start",!0),e),e.appendChild(s.createAnchor("v-end",!0))),e}}).call(this,e("_process"))},{"../parsers/template":65,"../util":74,_process:2}],23:[function(e,t,n){t.exports={debug:!1,silent:!1,async:!0,warnExpressionErrors:!0,_delimitersChanged:!0,_assetTypes:["component","directive","elementDirective","filter","transition","partial"],_propBindingModes:{ONE_WAY:0,TWO_WAY:1,ONE_TIME:2},_maxUpdateCount:100};var i=["{{","}}"],r=["{{{","}}}"],o=e("./parsers/text");Object.defineProperty(t.exports,"delimiters",{get:function(){return i},set:function(e){i=e,o.compileRegex()}}),Object.defineProperty(t.exports,"unsafeDelimiters",{get:function(){return r},set:function(e){r=e,o.compileRegex()}})},{"./parsers/text":66 +}],24:[function(e,t,n){(function(n){function i(){}function r(e,t,i,r,o,s){this.vm=t,this.el=i,this.descriptor=e,this.name=e.name,this.expression=e.expression,this.arg=e.arg,this.modifiers=e.modifiers,this.filters=e.filters,this.literal=this.modifiers&&this.modifiers.literal,this._locked=!1,this._bound=!1,this._listeners=null,this._host=r,this._scope=o,this._frag=s,"production"!==n.env.NODE_ENV&&this.el&&(this.el._vue_directives=this.el._vue_directives||[],this.el._vue_directives.push(this))}var o=e("./util"),s=e("./watcher"),a=e("./parsers/expression");r.prototype._bind=function(){var e=this.name,t=this.descriptor;if(("cloak"!==e||this.vm._isCompiled)&&this.el&&this.el.removeAttribute){var n=t.attr||"v-"+e;this.el.removeAttribute(n)}var r=t.def;if("function"==typeof r?this.update=r:o.extend(this,r),this._setupParams(),this.bind&&this.bind(),this.literal)this.update&&this.update(t.raw);else if((this.expression||this.modifiers)&&(this.update||this.twoWay)&&!this._checkStatement()){var a=this;this.update?this._update=function(e,t){a._locked||a.update(e,t)}:this._update=i;var l=this._preProcess?o.bind(this._preProcess,this):null,c=this._postProcess?o.bind(this._postProcess,this):null,u=this._watcher=new s(this.vm,this.expression,this._update,{filters:this.filters,twoWay:this.twoWay,deep:this.deep,preProcess:l,postProcess:c,scope:this._scope});this.afterBind?this.afterBind():this.update&&this.update(u.value)}this._bound=!0},r.prototype._setupParams=function(){if(this.params){var e=this.params;this.params=Object.create(null);for(var t,n,i,r=e.length;r--;)t=e[r],i=o.camelize(t),n=o.getBindAttr(this.el,t),null!=n?this._setupParamWatcher(i,n):(n=o.attr(this.el,t),null!=n&&(this.params[i]=""===n?!0:n))}},r.prototype._setupParamWatcher=function(e,t){var n=this,i=!1,r=(this._scope||this.vm).$watch(t,function(t,r){if(n.params[e]=t,i){var o=n.paramWatchers&&n.paramWatchers[e];o&&o.call(n,t,r)}else i=!0},{immediate:!0});(this._paramUnwatchFns||(this._paramUnwatchFns=[])).push(r)},r.prototype._checkStatement=function(){var e=this.expression;if(e&&this.acceptStatement&&!a.isSimplePath(e)){var t=a.parse(e).get,n=this._scope||this.vm,i=function(){t.call(n,n)};return this.filters&&(i=n._applyFilters(i,null,this.filters)),this.update(i),!0}},r.prototype.set=function(e){this.twoWay?this._withLock(function(){this._watcher.set(e)}):"production"!==n.env.NODE_ENV&&o.warn("Directive.set() can only be used inside twoWaydirectives.")},r.prototype._withLock=function(e){var t=this;t._locked=!0,e.call(t),o.nextTick(function(){t._locked=!1})},r.prototype.on=function(e,t){o.on(this.el,e,t),(this._listeners||(this._listeners=[])).push([e,t])},r.prototype._teardown=function(){if(this._bound){this._bound=!1,this.unbind&&this.unbind(),this._watcher&&this._watcher.teardown();var e,t=this._listeners;if(t)for(e=t.length;e--;)o.off(this.el,t[e][0],t[e][1]);var i=this._paramUnwatchFns;if(i)for(e=i.length;e--;)i[e]();"production"!==n.env.NODE_ENV&&this.el&&this.el._vue_directives.$remove(this),this.vm=this.el=this._watcher=this._listeners=null}},t.exports=r}).call(this,e("_process"))},{"./parsers/expression":63,"./util":74,"./watcher":78,_process:2}],25:[function(e,t,n){n.slot=e("./slot"),n.partial=e("./partial")},{"./partial":26,"./slot":27}],26:[function(e,t,n){(function(n){var i=e("../../util"),r=e("../public/if"),o=e("../../fragment/factory");t.exports={priority:1750,params:["name"],paramWatchers:{name:function(e){r.remove.call(this),e&&this.insert(e)}},bind:function(){this.anchor=i.createAnchor("v-partial"),i.replace(this.el,this.anchor),this.insert(this.params.name)},insert:function(e){var t=i.resolveAsset(this.vm.$options,"partials",e);"production"!==n.env.NODE_ENV&&i.assertAsset(t,"partial",e),t&&(this.factory=new o(this.vm,t),r.insert.call(this))},unbind:function(){this.frag&&this.frag.destroy()}}}).call(this,e("_process"))},{"../../fragment/factory":52,"../../util":74,"../public/if":39,_process:2}],27:[function(e,t,n){function i(e,t,n){function i(e){!r.isTemplate(e)||e.hasAttribute("v-if")||e.hasAttribute("v-for")||(e=o.parse(e)),e=o.clone(e),s.appendChild(e)}for(var s=document.createDocumentFragment(),a=0,l=e.length;l>a;a++){var c=e[a];n&&!c.__v_selected?i(c):n||c.parentNode!==t||(c.__v_selected=!0,i(c))}return s}var r=e("../../util"),o=e("../../parsers/template");t.exports={priority:1750,params:["name"],bind:function(){var e,t=this.vm,n=t.$options._content;if(!n)return void this.fallback();var r=t._context,o=this.params.name;if(o){var s='[slot="'+o+'"]',a=n.querySelectorAll(s);a.length?(e=i(a,n),e.hasChildNodes()?this.compile(e,r,t):this.fallback()):this.fallback()}else{var l=this,c=function(){l.compile(i(n.childNodes,n,!0),r,t)};t._isCompiled?c():t.$once("hook:compiled",c)}},fallback:function(){this.compile(r.extractContent(this.el,!0),this.vm)},compile:function(e,t,n){if(e&&t){var i=n?n._scope:this._scope;this.unlink=t.$compile(e,n,i,this._frag)}e?r.replace(this.el,e):r.remove(this.el)},unbind:function(){this.unlink&&this.unlink()}}},{"../../parsers/template":65,"../../util":74}],28:[function(e,t,n){function i(e){for(var t={},n=e.trim().split(/\s+/),i=n.length;i--;)t[n[i]]=!0;return t}function r(e,t){return o.isArray(e)?e.indexOf(t)>-1:e.hasOwnProperty(t)}var o=e("../../util"),s=o.addClass,a=o.removeClass;t.exports={deep:!0,update:function(e){e&&"string"==typeof e?this.handleObject(i(e)):o.isPlainObject(e)?this.handleObject(e):o.isArray(e)?this.handleArray(e):this.cleanup()},handleObject:function(e){this.cleanup(e);for(var t=this.prevKeys=Object.keys(e),n=0,i=t.length;i>n;n++){var r=t[n];e[r]?s(this.el,r):a(this.el,r)}},handleArray:function(e){this.cleanup(e);for(var t=0,n=e.length;n>t;t++)e[t]&&s(this.el,e[t]);this.prevKeys=e.slice()},cleanup:function(e){if(this.prevKeys)for(var t=this.prevKeys.length;t--;){var n=this.prevKeys[t];!n||e&&r(e,n)||a(this.el,n)}}}},{"../../util":74}],29:[function(e,t,n){(function(n){var i=e("../../util"),r=e("../../parsers/template");t.exports={priority:1500,params:["keep-alive","transition-mode","inline-template"],bind:function(){this.el.__vue__?"production"!==n.env.NODE_ENV&&i.warn('cannot mount component "'+this.expression+'" on already mounted element: '+this.el):(this.keepAlive=this.params.keepAlive,this.keepAlive&&(this.cache={}),this.params.inlineTemplate&&(this.inlineTemplate=i.extractContent(this.el,!0)),this.pendingComponentCb=this.Component=null,this.pendingRemovals=0,this.pendingRemovalCb=null,this.anchor=i.createAnchor("v-component"),i.replace(this.el,this.anchor),this.el.removeAttribute("is"),this.literal&&this.setComponent(this.expression))},update:function(e){this.literal||this.setComponent(e)},setComponent:function(e,t){if(this.invalidatePending(),e){var n=this;this.resolveComponent(e,function(){n.mountComponent(t)})}else this.unbuild(!0),this.remove(this.childVM,t),this.childVM=null},resolveComponent:function(e,t){var n=this;this.pendingComponentCb=i.cancellable(function(i){n.ComponentName=i.options.name||e,n.Component=i,t()}),this.vm._resolveComponent(e,this.pendingComponentCb)},mountComponent:function(e){this.unbuild(!0);var t=this,n=this.Component.options.activate,i=this.getCached(),r=this.build();n&&!i?(this.waitingFor=r,n.call(r,function(){t.waitingFor=null,t.transition(r,e)})):(i&&r._updateRef(),this.transition(r,e))},invalidatePending:function(){this.pendingComponentCb&&(this.pendingComponentCb.cancel(),this.pendingComponentCb=null)},build:function(e){var t=this.getCached();if(t)return t;if(this.Component){var o={name:this.ComponentName,el:r.clone(this.el),template:this.inlineTemplate,parent:this._host||this.vm,_linkerCachable:!this.inlineTemplate,_ref:this.descriptor.ref,_asComponent:!0,_isRouterView:this._isRouterView,_context:this.vm,_scope:this._scope,_frag:this._frag};e&&i.extend(o,e);var s=new this.Component(o);return this.keepAlive&&(this.cache[this.Component.cid]=s),"production"!==n.env.NODE_ENV&&this.el.hasAttribute("transition")&&s._isFragment&&i.warn("Transitions will not work on a fragment instance. Template: "+s.$options.template),s}},getCached:function(){return this.keepAlive&&this.cache[this.Component.cid]},unbuild:function(e){this.waitingFor&&(this.waitingFor.$destroy(),this.waitingFor=null);var t=this.childVM;return!t||this.keepAlive?void(t&&t._updateRef(!0)):void t.$destroy(!1,e)},remove:function(e,t){var n=this.keepAlive;if(e){this.pendingRemovals++,this.pendingRemovalCb=t;var i=this;e.$remove(function(){i.pendingRemovals--,n||e._cleanup(),!i.pendingRemovals&&i.pendingRemovalCb&&(i.pendingRemovalCb(),i.pendingRemovalCb=null)})}else t&&t()},transition:function(e,t){var i=this,r=this.childVM;switch("production"!==n.env.NODE_ENV&&(r&&(r._inactive=!0),e._inactive=!1),this.childVM=e,i.params.transitionMode){case"in-out":e.$before(i.anchor,function(){i.remove(r,t)});break;case"out-in":i.remove(r,function(){e.$before(i.anchor,t)});break;default:i.remove(r),e.$before(i.anchor,t)}},unbind:function(){if(this.invalidatePending(),this.unbuild(),this.cache){for(var e in this.cache)this.cache[e].$destroy();this.cache=null}}}}).call(this,e("_process"))},{"../../parsers/template":65,"../../util":74,_process:2}],30:[function(e,t,n){n.style=e("./style"),n["class"]=e("./class"),n.component=e("./component"),n.prop=e("./prop"),n.transition=e("./transition")},{"./class":28,"./component":29,"./prop":31,"./style":32,"./transition":33}],31:[function(e,t,n){var i=e("../../util"),r=e("../../watcher"),o=e("../../config")._propBindingModes;t.exports={bind:function(){var e=this.vm,t=e._context,n=this.descriptor.prop,s=n.path,a=n.parentPath,l=n.mode===o.TWO_WAY,c=this.parentWatcher=new r(t,a,function(t){i.assertProp(n,t)&&(e[s]=t)},{twoWay:l,filters:n.filters,scope:this._scope});if(i.initProp(e,n,c.value),l){var u=this;e.$once("hook:created",function(){u.childWatcher=new r(e,s,function(e){c.set(e)},{sync:!0})})}},unbind:function(){this.parentWatcher.teardown(),this.childWatcher&&this.childWatcher.teardown()}}},{"../../config":23,"../../util":74,"../../watcher":78}],32:[function(e,t,n){function i(e){if(u[e])return u[e];var t=r(e);return u[e]=u[t]=t,t}function r(e){e=o.hyphenate(e);var t=o.camelize(e),n=t.charAt(0).toUpperCase()+t.slice(1);if(c||(c=document.createElement("div")),t in c.style)return e;for(var i,r=s.length;r--;)if(i=a[r]+n,i in c.style)return s[r]+e}var o=e("../../util"),s=["-webkit-","-moz-","-ms-"],a=["Webkit","Moz","ms"],l=/!important;?$/,c=null,u={};t.exports={deep:!0,update:function(e){"string"==typeof e?this.el.style.cssText=e:o.isArray(e)?this.handleObject(e.reduce(o.extend,{})):this.handleObject(e||{})},handleObject:function(e){var t,n,i=this.cache||(this.cache={});for(t in i)t in e||(this.handleSingle(t,null),delete i[t]);for(t in e)n=e[t],n!==i[t]&&(i[t]=n,this.handleSingle(t,n))},handleSingle:function(e,t){if(e=i(e))if(null!=t&&(t+=""),t){var n=l.test(t)?"important":"";n&&(t=t.replace(l,"").trim()),this.el.style.setProperty(e,t,n)}else this.el.style.removeProperty(e)}}},{"../../util":74}],33:[function(e,t,n){var i=e("../../util"),r=e("../../transition/transition");t.exports={priority:1100,update:function(e,t){var n=this.el,o=i.resolveAsset(this.vm.$options,"transitions",e);e=e||"v",n.__v_trans=new r(n,e,o,this.el.__vue__||this.vm),t&&i.removeClass(n,t+"-transition"),i.addClass(n,e+"-transition")}}},{"../../transition/transition":69,"../../util":74}],34:[function(e,t,n){(function(n){var i=e("../../util"),r="http://www.w3.org/1999/xlink",o=/^xlink:/,s={value:1,checked:1,selected:1},a={value:"_value","true-value":"_trueValue","false-value":"_falseValue"},l=/^v-|^:|^@|^(is|transition|transition-mode|debounce|track-by|stagger|enter-stagger|leave-stagger)$/;t.exports={priority:850,bind:function(){var e=this.arg,t=this.el.tagName;if(e||(this.deep=!0),this.descriptor.interp&&((l.test(e)||"name"===e&&("PARTIAL"===t||"SLOT"===t))&&("production"!==n.env.NODE_ENV&&i.warn(e+'="'+this.descriptor.raw+'": attribute interpolation is not allowed in Vue.js directives and special attributes.'),this.el.removeAttribute(e),this.invalid=!0),"production"!==n.env.NODE_ENV)){var r=e+'="'+this.descriptor.raw+'": ';"src"===e&&i.warn(r+'interpolation in "src" attribute will cause a 404 request. Use v-bind:src instead.'),"style"===e&&i.warn(r+'interpolation in "style" attribute will cause the attribute to be discarded in Internet Explorer. Use v-bind:style instead.')}},update:function(e){if(!this.invalid){var t=this.arg;this.arg?this.handleSingle(t,e):this.handleObject(e||{})}},handleObject:e("../internal/style").handleObject,handleSingle:function(e,t){s[e]&&e in this.el&&(this.el[e]="value"===e?t||"":t);var n=a[e];if(n){this.el[n]=t;var i=this.el.__v_model;i&&i.listener()}return"value"===e&&"TEXTAREA"===this.el.tagName?void this.el.removeAttribute(e):void(null!=t&&t!==!1?o.test(e)?this.el.setAttributeNS(r,e,t):this.el.setAttribute(e,t):this.el.removeAttribute(e))}}}).call(this,e("_process"))},{"../../util":74,"../internal/style":32,_process:2}],35:[function(e,t,n){t.exports={bind:function(){var e=this.el;this.vm.$once("hook:compiled",function(){e.removeAttribute("v-cloak")})}}},{}],36:[function(e,t,n){var i=e("../../util");t.exports={priority:1500,bind:function(){if(this.arg){var e=this.id=i.camelize(this.arg),t=(this._scope||this.vm).$els;t.hasOwnProperty(e)?t[e]=this.el:i.defineReactive(t,e,this.el)}},unbind:function(){var e=(this._scope||this.vm).$els;e[this.id]===this.el&&(e[this.id]=null)}}},{"../../util":74}],37:[function(e,t,n){(function(n){function i(e,t,n){var i=e.node.previousSibling;if(i){for(e=i.__vfrag__;!(e&&e.forId===n&&e.inserted||i===t);){if(i=i.previousSibling,!i)return;e=i.__vfrag__}return e}}function r(e){return e.node.__vue__||e.node.nextSibling.__vue__}function o(e){for(var t=-1,n=new Array(e);++tt;t++)u=e[t],o=h?u.$key:null,a=h?u.$value:u,c=!l(a),r=!w&&this.getCachedFrag(a,t,o),r?(r.reused=!0,r.scope.$index=t,o&&(r.scope.$key=o),v&&(r.scope[v]=null!==o?o:t),(p||h||c)&&(r.scope[m]=a)):(r=this.create(a,m,t,o),r.fresh=!w),f[t]=r,w&&r.before(y);if(!w){var _=0,x=d.length-f.length;for(t=0,n=d.length;n>t;t++)r=d[t],r.reused||(this.deleteCachedFrag(r),this.remove(r,_++,x,b));var E,C,k,O=0;for(t=0,n=f.length;n>t;t++)r=f[t],E=f[t-1],C=E?E.staggerCb?E.staggerAnchor:E.end||E.node:g,r.reused&&!r.staggerCb?(k=i(r,g,this.id),k!==E&&this.move(r,C)):this.insert(r,O++,C,b),r.reused=r.fresh=!1}},create:function(e,t,n,i){var r=this._host,o=this._scope||this.vm,a=Object.create(o);a.$refs=Object.create(o.$refs),a.$els=Object.create(o.$els),a.$parent=o,a.$forContext=this,s.defineReactive(a,t,e),s.defineReactive(a,"$index",n),i?s.defineReactive(a,"$key",i):a.$key&&s.define(a,"$key",null),this.iterator&&s.defineReactive(a,this.iterator,null!==i?i:n);var l=this.factory.create(r,a,this._frag);return l.forId=this.id,this.cacheFrag(e,l,n,i),l},updateRef:function(){var e=this.descriptor.ref;if(e){var t,n=(this._scope||this.vm).$refs;this.fromObject?(t={},this.frags.forEach(function(e){t[e.scope.$key]=r(e)})):t=this.frags.map(r),n[e]=t}},updateModel:function(){if(this.isOption){var e=this.start.parentNode,t=e&&e.__v_model;t&&t.forceUpdate()}},insert:function(e,t,n,i){e.staggerCb&&(e.staggerCb.cancel(),e.staggerCb=null);var r=this.getStagger(e,t,null,"enter");if(i&&r){var o=e.staggerAnchor;o||(o=e.staggerAnchor=s.createAnchor("stagger-anchor"),o.__vfrag__=e),s.after(o,n);var a=e.staggerCb=s.cancellable(function(){e.staggerCb=null,e.before(o),s.remove(o)});setTimeout(a,r)}else e.before(n.nextSibling)},remove:function(e,t,n,i){if(e.staggerCb)return e.staggerCb.cancel(),void(e.staggerCb=null);var r=this.getStagger(e,t,n,"leave");if(i&&r){var o=e.staggerCb=s.cancellable(function(){e.staggerCb=null,e.remove()});setTimeout(o,r)}else e.remove()},move:function(e,t){e.before(t.nextSibling,!1)},cacheFrag:function(e,t,i,r){var o,a=this.params.trackBy,c=this.cache,u=!l(e);r||a||u?(o=a?"$index"===a?i:e[a]:r||e,c[o]?"$index"!==a&&"production"!==n.env.NODE_ENV&&this.warnDuplicate(e):c[o]=t):(o=this.id,e.hasOwnProperty(o)?null===e[o]?e[o]=t:"production"!==n.env.NODE_ENV&&this.warnDuplicate(e):s.define(e,o,t)),t.raw=e},getCachedFrag:function(e,t,i){var r,o=this.params.trackBy,s=!l(e);if(i||o||s){var a=o?"$index"===o?t:e[o]:i||e;r=this.cache[a]}else r=e[this.id];return r&&(r.reused||r.fresh)&&"production"!==n.env.NODE_ENV&&this.warnDuplicate(e),r},deleteCachedFrag:function(e){var t=e.raw,n=this.params.trackBy,i=e.scope,r=i.$index,o=i.hasOwnProperty("$key")&&i.$key,s=!l(t);if(n||o||s){var a=n?"$index"===n?r:t[n]:o||t;this.cache[a]=null}else t[this.id]=null,e.raw=null},getStagger:function(e,t,n,i){i+="Stagger";var r=e.node.__v_trans,o=r&&r.hooks,s=o&&(o[i]||o.stagger);return s?s.call(e,t,n):t*parseInt(this.params[i]||this.params.stagger,10)},_preProcess:function(e){return this.rawValue=e,e},_postProcess:function(e){if(s.isArray(e))return e;if(s.isPlainObject(e)){for(var t,n=Object.keys(e),i=n.length,r=new Array(i);i--;)t=n[i],r[i]={$key:t,$value:e[t]};return r}return"number"==typeof e&&(e=o(e)),e||[]},unbind:function(){if(this.descriptor.ref&&((this._scope||this.vm).$refs[this.descriptor.ref]=null),this.frags)for(var e,t=this.frags.length;t--;)e=this.frags[t],this.deleteCachedFrag(e),e.destroy()}},"production"!==n.env.NODE_ENV&&(t.exports.warnDuplicate=function(e){s.warn('Duplicate value found in v-for="'+this.descriptor.raw+'": '+JSON.stringify(e)+'. Use track-by="$index" if you are expecting duplicate values.')})}).call(this,e("_process"))},{"../../fragment/factory":52,"../../util":74,_process:2}],38:[function(e,t,n){var i=e("../../util"),r=e("../../parsers/template");t.exports={bind:function(){8===this.el.nodeType&&(this.nodes=[],this.anchor=i.createAnchor("v-html"),i.replace(this.el,this.anchor))},update:function(e){e=i.toString(e),this.nodes?this.swap(e):this.el.innerHTML=e},swap:function(e){for(var t=this.nodes.length;t--;)i.remove(this.nodes[t]);var n=r.parse(e,!0,!0);this.nodes=i.toArray(n.childNodes),i.before(n,this.anchor)}}},{"../../parsers/template":65,"../../util":74}],39:[function(e,t,n){(function(n){var i=e("../../util"),r=e("../../fragment/factory");t.exports={priority:2e3,bind:function(){var e=this.el;if(e.__vue__)"production"!==n.env.NODE_ENV&&i.warn('v-if="'+this.expression+'" cannot be used on an instance root element.'),this.invalid=!0;else{var t=e.nextElementSibling;t&&null!==i.attr(t,"v-else")&&(i.remove(t),this.elseFactory=new r(this.vm,t)),this.anchor=i.createAnchor("v-if"),i.replace(e,this.anchor),this.factory=new r(this.vm,e)}},update:function(e){this.invalid||(e?this.frag||this.insert():this.remove())},insert:function(){this.elseFrag&&(this.elseFrag.remove(),this.elseFrag=null),this.frag=this.factory.create(this._host,this._scope,this._frag),this.frag.before(this.anchor)},remove:function(){this.frag&&(this.frag.remove(),this.frag=null),this.elseFactory&&!this.elseFrag&&(this.elseFrag=this.elseFactory.create(this._host,this._scope,this._frag),this.elseFrag.before(this.anchor))},unbind:function(){this.frag&&this.frag.destroy()}}}).call(this,e("_process"))},{"../../fragment/factory":52,"../../util":74,_process:2}],40:[function(e,t,n){n.text=e("./text"),n.html=e("./html"),n["for"]=e("./for"),n["if"]=e("./if"),n.show=e("./show"),n.model=e("./model"),n.on=e("./on"),n.bind=e("./bind"),n.el=e("./el"),n.ref=e("./ref"),n.cloak=e("./cloak")},{"./bind":34,"./cloak":35,"./el":36,"./for":37,"./html":38,"./if":39,"./model":42,"./on":46,"./ref":47,"./show":48,"./text":49}],41:[function(e,t,n){var i=e("../../../util");t.exports={bind:function(){function e(){var e=n.checked;return e&&n.hasOwnProperty("_trueValue")?n._trueValue:!e&&n.hasOwnProperty("_falseValue")?n._falseValue:e}var t=this,n=this.el;this.getValue=function(){return n.hasOwnProperty("_value")?n._value:t.params.number?i.toNumber(n.value):n.value},this.listener=function(){var r=t._watcher.value;if(i.isArray(r)){var o=t.getValue();n.checked?i.indexOf(r,o)<0&&r.push(o):r.$remove(o)}else t.set(e())},this.on("change",this.listener),n.checked&&(this.afterBind=this.listener)},update:function(e){var t=this.el;i.isArray(e)?t.checked=i.indexOf(e,this.getValue())>-1:t.hasOwnProperty("_trueValue")?t.checked=i.looseEqual(e,t._trueValue):t.checked=!!e}}},{"../../../util":74}],42:[function(e,t,n){(function(n){var i=e("../../../util"),r={text:e("./text"),radio:e("./radio"),select:e("./select"),checkbox:e("./checkbox")};t.exports={priority:800,twoWay:!0,handlers:r,params:["lazy","number","debounce"],bind:function(){this.checkFilters(),this.hasRead&&!this.hasWrite&&"production"!==n.env.NODE_ENV&&i.warn("It seems you are using a read-only filter with v-model. You might want to use a two-way filter to ensure correct behavior.");var e,t=this.el,o=t.tagName;if("INPUT"===o)e=r[t.type]||r.text;else if("SELECT"===o)e=r.select;else{if("TEXTAREA"!==o)return void("production"!==n.env.NODE_ENV&&i.warn("v-model does not support element type: "+o));e=r.text}t.__v_model=this,e.bind.call(this),this.update=e.update,this._unbind=e.unbind},checkFilters:function(){var e=this.filters;if(e)for(var t=e.length;t--;){var n=i.resolveAsset(this.vm.$options,"filters",e[t].name);("function"==typeof n||n.read)&&(this.hasRead=!0),n.write&&(this.hasWrite=!0)}},unbind:function(){this.el.__v_model=null,this._unbind&&this._unbind()}}}).call(this,e("_process"))},{"../../../util":74,"./checkbox":41,"./radio":43,"./select":44,"./text":45,_process:2}],43:[function(e,t,n){var i=e("../../../util");t.exports={bind:function(){var e=this,t=this.el;this.getValue=function(){if(t.hasOwnProperty("_value"))return t._value;var n=t.value;return e.params.number&&(n=i.toNumber(n)),n},this.listener=function(){e.set(e.getValue())},this.on("change",this.listener),t.checked&&(this.afterBind=this.listener)},update:function(e){this.el.checked=i.looseEqual(e,this.getValue())}}},{"../../../util":74}],44:[function(e,t,n){function i(e,t,n){for(var i,r,o,s=t?[]:null,a=0,l=e.options.length;l>a;a++)if(i=e.options[a],o=n?i.hasAttribute("selected"):i.selected){if(r=i.hasOwnProperty("_value")?i._value:i.value,!t)return r;s.push(r)}return s}function r(e,t){for(var n=e.length;n--;)if(o.looseEqual(e[n],t))return n;return-1}var o=e("../../../util");t.exports={bind:function(){var e=this,t=this.el;this.forceUpdate=function(){e._watcher&&e.update(e._watcher.get())};var n=this.multiple=t.hasAttribute("multiple");this.listener=function(){var r=i(t,n);r=e.params.number?o.isArray(r)?r.map(o.toNumber):o.toNumber(r):r,e.set(r)},this.on("change",this.listener);var r=i(t,n,!0);(n&&r.length||!n&&null!==r)&&(this.afterBind=this.listener),this.vm.$on("hook:attached",this.forceUpdate)},update:function(e){var t=this.el;t.selectedIndex=-1;for(var n,i,s=this.multiple&&o.isArray(e),a=t.options,l=a.length;l--;)n=a[l],i=n.hasOwnProperty("_value")?n._value:n.value,n.selected=s?r(e,i)>-1:o.looseEqual(e,i)},unbind:function(){this.vm.$off("hook:attached",this.forceUpdate)}}},{"../../../util":74}],45:[function(e,t,n){var i=e("../../../util");t.exports={bind:function(){var e=this,t=this.el,n="range"===t.type,r=this.params.lazy,o=this.params.number,s=this.params.debounce,a=!1;i.isAndroid||n||(this.on("compositionstart",function(){a=!0}),this.on("compositionend",function(){a=!1,r||e.listener()})),this.focused=!1,n||(this.on("focus",function(){e.focused=!0}),this.on("blur",function(){e.focused=!1,e.listener()})),this.listener=function(){if(!a){var r=o||n?i.toNumber(t.value):t.value;e.set(r),i.nextTick(function(){e._bound&&!e.focused&&e.update(e._watcher.value)})}},s&&(this.listener=i.debounce(this.listener,s)),this.hasjQuery="function"==typeof jQuery,this.hasjQuery?(jQuery(t).on("change",this.listener),r||jQuery(t).on("input",this.listener)):(this.on("change",this.listener),r||this.on("input",this.listener)),!r&&i.isIE9&&(this.on("cut",function(){i.nextTick(e.listener)}),this.on("keyup",function(t){(46===t.keyCode||8===t.keyCode)&&e.listener()})),(t.hasAttribute("value")||"TEXTAREA"===t.tagName&&t.value.trim())&&(this.afterBind=this.listener)},update:function(e){this.el.value=i.toString(e)},unbind:function(){var e=this.el;this.hasjQuery&&(jQuery(e).off("change",this.listener),jQuery(e).off("input",this.listener))}}},{"../../../util":74}],46:[function(e,t,n){(function(n){function i(e,t){var n=t.map(function(e){var t=a[e];return t||(t=parseInt(e,10)),t});return function(t){return n.indexOf(t.keyCode)>-1?e.call(this,t):void 0}}function r(e){return function(t){return t.stopPropagation(),e.call(this,t)}}function o(e){return function(t){return t.preventDefault(),e.call(this,t)}}var s=e("../../util"),a={esc:27,tab:9,enter:13,space:32,"delete":46,up:38,left:37,right:39,down:40};t.exports={acceptStatement:!0,priority:700,bind:function(){if("IFRAME"===this.el.tagName&&"load"!==this.arg){var e=this;this.iframeBind=function(){s.on(e.el.contentWindow,e.arg,e.handler)},this.on("load",this.iframeBind)}},update:function(e){if(this.descriptor.raw||(e=function(){}),"function"!=typeof e)return void("production"!==n.env.NODE_ENV&&s.warn("v-on:"+this.arg+'="'+this.expression+'" expects a function value, got '+e));this.modifiers.stop&&(e=r(e)),this.modifiers.prevent&&(e=o(e));var t=Object.keys(this.modifiers).filter(function(e){return"stop"!==e&&"prevent"!==e});t.length&&(e=i(e,t)),this.reset();var a=this._scope||this.vm;this.handler=function(t){a.$event=t;var n=e(t);return a.$event=null,n},this.iframeBind?this.iframeBind():s.on(this.el,this.arg,this.handler)},reset:function(){var e=this.iframeBind?this.el.contentWindow:this.el;this.handler&&s.off(e,this.arg,this.handler)},unbind:function(){this.reset()}}}).call(this,e("_process"))},{"../../util":74,_process:2}],47:[function(e,t,n){(function(n){"production"!==n.env.NODE_ENV&&(t.exports={bind:function(){e("../../util").warn("v-ref:"+this.arg+" must be used on a child component. Found on <"+this.el.tagName.toLowerCase()+">.")}})}).call(this,e("_process"))},{"../../util":74,_process:2}],48:[function(e,t,n){var i=e("../../util"),r=e("../../transition");t.exports={bind:function(){var e=this.el.nextElementSibling;e&&null!==i.attr(e,"v-else")&&(this.elseEl=e)},update:function(e){this.apply(this.el,e),this.elseEl&&this.apply(this.elseEl,!e)},apply:function(e,t){function n(){e.style.display=t?"":"none"}i.inDoc(e)?r.apply(e,t?1:-1,n,this.vm):n()}}},{"../../transition":67,"../../util":74}],49:[function(e,t,n){var i=e("../../util");t.exports={bind:function(){this.attr=3===this.el.nodeType?"data":"textContent"},update:function(e){this.el[this.attr]=i.toString(e)}}},{"../../util":74}],50:[function(e,t,n){function i(e,t){var n;if(r.isPlainObject(e)){var o=Object.keys(e);for(n=o.length;n--;)if(i(e[o[n]],t))return!0}else if(r.isArray(e)){for(n=e.length;n--;)if(i(e[n],t))return!0}else if(null!=e)return e.toString().toLowerCase().indexOf(t)>-1}var r=e("../util"),o=e("../parsers/path"),s=e("../directives/public/for")._postProcess;n.limitBy=function(e,t,n){return n=n?parseInt(n,10):0,"number"==typeof t?e.slice(n,n+t):e},n.filterBy=function(e,t,n){if(e=s(e),null==t)return e;if("function"==typeof t)return e.filter(t);t=(""+t).toLowerCase();for(var a,l,c,u,h="in"===n?3:2,p=r.toArray(arguments,h).reduce(function(e,t){return e.concat(t)},[]),d=[],f=0,m=e.length;m>f;f++)if(a=e[f],c=a&&a.$value||a,u=p.length){for(;u--;)if(l=p[u],"$key"===l&&i(a.$key,t)||i(o.get(c,l),t)){d.push(a);break}}else i(a,t)&&d.push(a);return d},n.orderBy=function(e,t,n){if(e=s(e),!t)return e;var i=n&&0>n?-1:1;return e.slice().sort(function(e,n){return"$key"!==t&&(r.isObject(e)&&"$value"in e&&(e=e.$value),r.isObject(n)&&"$value"in n&&(n=n.$value)),e=r.isObject(e)?o.get(e,t):e,n=r.isObject(n)?o.get(n,t):n,e===n?0:e>n?i:-i})}},{"../directives/public/for":37,"../parsers/path":64,"../util":74}],51:[function(e,t,n){var i=e("../util");n.json={read:function(e,t){return"string"==typeof e?e:JSON.stringify(e,null,Number(t)||2)},write:function(e){try{return JSON.parse(e)}catch(t){return e}}},n.capitalize=function(e){return e||0===e?(e=e.toString(),e.charAt(0).toUpperCase()+e.slice(1)):""},n.uppercase=function(e){return e||0===e?e.toString().toUpperCase():""},n.lowercase=function(e){return e||0===e?e.toString().toLowerCase():""};var r=/(\d{3})(?=\d)/g;n.currency=function(e,t){if(e=parseFloat(e),!isFinite(e)||!e&&0!==e)return"";t=null!=t?t:"$";var n=Math.abs(e).toFixed(2),i=n.slice(0,-3),o=i.length%3,s=o>0?i.slice(0,o)+(i.length>3?",":""):"",a=n.slice(-3),l=0>e?"-":"";return t+l+s+i.slice(o).replace(r,"$1,")+a},n.pluralize=function(e){var t=i.toArray(arguments,1);return t.length>1?t[e%10-1]||t[t.length-1]:t[0]+(1===e?"":"s")},n.debounce=function(e,t){return e?(t||(t=300),i.debounce(e,t)):void 0},i.extend(n,e("./array-filters"))},{"../util":74,"./array-filters":50}],52:[function(e,t,n){function i(e,t){this.vm=e;var n,i="string"==typeof t;i||r.isTemplate(t)?n=s.parse(t,!0):(n=document.createDocumentFragment(),n.appendChild(t)),this.template=n;var a,l=e.constructor.cid;if(l>0){var u=l+(i?t:t.outerHTML);a=c.get(u),a||(a=o.compile(n,e.$options,!0),c.put(u,a))}else a=o.compile(n,e.$options,!0);this.linker=a}var r=e("../util"),o=e("../compiler"),s=e("../parsers/template"),a=e("./fragment"),l=e("../cache"),c=new l(5e3);i.prototype.create=function(e,t,n){var i=s.clone(this.template);return new a(this.linker,this.vm,i,e,t,n)},t.exports=i},{"../cache":18,"../compiler":21,"../parsers/template":65,"../util":74,"./fragment":53}],53:[function(e,t,n){function i(e,t,n,i,l,c){this.children=[],this.childFrags=[],this.vm=t,this.scope=l,this.inserted=!1,this.parentFrag=c,c&&c.childFrags.push(this),this.unlink=e(t,n,i,l,this);var u=this.single=1===n.childNodes.length;u?(this.node=n.childNodes[0],this.before=r,this.remove=o):(this.node=h.createAnchor("fragment-start"),this.end=h.createAnchor("fragment-end"),this.frag=n,h.prepend(this.node,n),n.appendChild(this.end),this.before=s,this.remove=a),this.node.__vfrag__=this}function r(e,t){this.inserted=!0;var n=t!==!1?p.before:h.before;n(this.node,e,this.vm),h.inDoc(this.node)&&this.callHook(l)}function o(){this.inserted=!1;var e=h.inDoc(this.node),t=this;t.callHook(c),p.remove(this.node,this.vm,function(){e&&t.callHook(u),t.destroy()})}function s(e,t){this.inserted=!0;var n=this.vm,i=t!==!1?p.before:h.before;h.mapNodeRange(this.node,this.end,function(t){i(t,e,n)}),h.inDoc(this.node)&&this.callHook(l)}function a(){this.inserted=!1;var e=this,t=h.inDoc(this.node);e.callHook(c),h.removeNodeRange(this.node,this.end,this.vm,this.frag,function(){t&&e.callHook(u),e.destroy()})}function l(e){e._isAttached||e._callHook("attached")}function c(e){e.$destroy(!1,!0)}function u(e){e._isAttached&&e._callHook("detached")}var h=e("../util"),p=e("../transition");i.prototype.callHook=function(e){var t,n;for(t=0,n=this.children.length;n>t;t++)e(this.children[t]);for(t=0,n=this.childFrags.length;n>t;t++)this.childFrags[t].callHook(e)},i.prototype.destroy=function(){this.parentFrag&&this.parentFrag.childFrags.$remove(this),this.unlink()},t.exports=i},{"../transition":67,"../util":74}],54:[function(e,t,n){(function(t){function i(e,t){for(var n,i,r=t.attributes,o=0,s=r.length;s>o;o++)n=r[o].name, +p.test(n)&&(n=n.replace(p,""),i=(e._scope||e._context).$eval(r[o].value,!0),e.$on(n.replace(p),i))}function r(e,t,n){if(n){var i,r,s,a;for(r in n)if(i=n[r],u.isArray(i))for(s=0,a=i.length;a>s;s++)o(e,t,r,i[s]);else o(e,t,r,i)}}function o(e,n,i,r,s){var a=typeof r;if("function"===a)e[n](i,r,s);else if("string"===a){var l=e.$options.methods,c=l&&l[r];c?e[n](i,c,s):"production"!==t.env.NODE_ENV&&u.warn('Unknown method: "'+r+'" when registering callback for '+n+': "'+i+'".')}else r&&"object"===a&&o(e,n,i,r.handler,r)}function s(){this._isAttached||(this._isAttached=!0,this.$children.forEach(a))}function a(e){!e._isAttached&&h(e.$el)&&e._callHook("attached")}function l(){this._isAttached&&(this._isAttached=!1,this.$children.forEach(c))}function c(e){e._isAttached&&!h(e.$el)&&e._callHook("detached")}var u=e("../util"),h=u.inDoc,p=/^v-on:|^@/;n._initEvents=function(){var e=this.$options;e._asComponent&&i(this,e.el),r(this,"$on",e.events),r(this,"$watch",e.watch)},n._initDOMHooks=function(){this.$on("hook:attached",s),this.$on("hook:detached",l)},n._callHook=function(e){var t=this.$options[e];if(t)for(var n=0,i=t.length;i>n;n++)t[n].call(this);this.$emit("hook:"+e)}}).call(this,e("_process"))},{"../util":74,_process:2}],55:[function(e,t,n){var i=e("../util").mergeOptions,r=0;n._init=function(e){e=e||{},this.$el=null,this.$parent=e.parent,this.$root=this.$parent?this.$parent.$root:this,this.$children=[],this.$refs={},this.$els={},this._watchers=[],this._directives=[],this._uid=r++,this._isVue=!0,this._events={},this._eventsCount={},this._shouldPropagate=!1,this._isFragment=!1,this._fragment=this._fragmentStart=this._fragmentEnd=null,this._isCompiled=this._isDestroyed=this._isReady=this._isAttached=this._isBeingDestroyed=!1,this._unlinkFn=null,this._context=e._context||this.$parent,this._scope=e._scope,this._frag=e._frag,this._frag&&this._frag.children.push(this),this.$parent&&this.$parent.$children.push(this),e=this.$options=i(this.constructor.options,e,this),this._updateRef(),this._data={},this._callHook("init"),this._initState(),this._initEvents(),this._callHook("created"),e.el&&this.$mount(e.el)}},{"../util":74}],56:[function(e,t,n){var i=e("../util"),r=e("../directive"),o=e("../compiler");n._updateRef=function(e){var t=this.$options._ref;if(t){var n=(this._scope||this._context).$refs;e?n[t]===this&&(n[t]=null):n[t]=this}},n._compile=function(e){var t=this.$options,n=e;e=o.transclude(e,t),this._initElement(e);var r,s=this._context&&this._context.$options,a=o.compileRoot(e,t,s),l=this.constructor;t._linkerCachable&&(r=l.linker,r||(r=l.linker=o.compile(e,t)));var c=a(this,e,this._scope),u=r?r(this,e):o.compile(e,t)(this,e);return this._unlinkFn=function(){c(),u(!0)},t.replace&&i.replace(n,e),this._isCompiled=!0,this._callHook("compiled"),e},n._initElement=function(e){e instanceof DocumentFragment?(this._isFragment=!0,this.$el=this._fragmentStart=e.firstChild,this._fragmentEnd=e.lastChild,3===this._fragmentStart.nodeType&&(this._fragmentStart.data=this._fragmentEnd.data=""),this._fragment=e):this.$el=e,this.$el.__vue__=this,this._callHook("beforeCompile")},n._bindDir=function(e,t,n,i,o){this._directives.push(new r(e,this,t,n,i,o))},n._destroy=function(e,t){if(this._isBeingDestroyed)return void(t||this._cleanup());this._callHook("beforeDestroy"),this._isBeingDestroyed=!0;var n,i=this.$parent;for(i&&!i._isBeingDestroyed&&(i.$children.$remove(this),this._updateRef(!0)),n=this.$children.length;n--;)this.$children[n].$destroy();for(this._propsUnlinkFn&&this._propsUnlinkFn(),this._unlinkFn&&this._unlinkFn(),n=this._watchers.length;n--;)this._watchers[n].teardown();this.$el&&(this.$el.__vue__=null);var r=this;e&&this.$el?this.$remove(function(){r._cleanup()}):t||this._cleanup()},n._cleanup=function(){this._isDestroyed||(this._frag&&this._frag.children.$remove(this),this._data.__ob__&&this._data.__ob__.removeVm(this),this.$el=this.$parent=this.$root=this.$children=this._watchers=this._context=this._scope=this._directives=null,this._isDestroyed=!0,this._callHook("destroyed"),this.$off())}},{"../compiler":21,"../directive":24,"../util":74}],57:[function(e,t,n){(function(t){var i=e("../util");n._applyFilters=function(e,n,r,o){var s,a,l,c,u,h,p,d,f;for(h=0,p=r.length;p>h;h++)if(s=r[h],a=i.resolveAsset(this.$options,"filters",s.name),"production"!==t.env.NODE_ENV&&i.assertAsset(a,"filter",s.name),a&&(a=o?a.write:a.read||a,"function"==typeof a)){if(l=o?[e,n]:[e],u=o?2:1,s.args)for(d=0,f=s.args.length;f>d;d++)c=s.args[d],l[d+u]=c.dynamic?this.$get(c.value):c.value;e=a.apply(this,l)}return e},n._resolveComponent=function(e,n){var r=i.resolveAsset(this.$options,"components",e);if("production"!==t.env.NODE_ENV&&i.assertAsset(r,"component",e),r)if(r.options)n(r);else if(r.resolved)n(r.resolved);else if(r.requested)r.pendingCallbacks.push(n);else{r.requested=!0;var o=r.pendingCallbacks=[n];r(function(e){i.isPlainObject(e)&&(e=i.Vue.extend(e)),r.resolved=e;for(var t=0,n=o.length;n>t;t++)o[t](e)},function(n){"production"!==t.env.NODE_ENV&&i.warn("Failed to resolve async component: "+e+". "+(n?"\nReason: "+n:""))})}}}).call(this,e("_process"))},{"../util":74,_process:2}],58:[function(e,t,n){(function(t){function i(){}function r(e,t){var n=new c(t,e,null,{lazy:!0});return function(){return n.dirty&&n.evaluate(),l.target&&n.depend(),n.value}}var o=e("../util"),s=e("../compiler"),a=e("../observer"),l=e("../observer/dep"),c=e("../watcher");n._initState=function(){this._initProps(),this._initMeta(),this._initMethods(),this._initData(),this._initComputed()},n._initProps=function(){var e=this.$options,n=e.el,i=e.props;i&&!n&&"production"!==t.env.NODE_ENV&&o.warn("Props will not be compiled if no `el` option is provided at instantiation."),n=e.el=o.query(n),this._propsUnlinkFn=n&&1===n.nodeType&&i?s.compileAndLinkProps(this,n,i,this._scope):null},n._initData=function(){var e=this._data,n=this.$options.data,i=n&&n();if(i){this._data=i;for(var r in e)"production"!==t.env.NODE_ENV&&i.hasOwnProperty(r)&&o.warn('Data field "'+r+'" is already defined as a prop. Use prop default value instead.'),null===this._props[r].raw&&i.hasOwnProperty(r)||o.set(i,r,e[r])}var s,l,c=this._data,u=Object.keys(c);for(s=u.length;s--;)l=u[s],this._proxy(l);a.create(c,this)},n._setData=function(e){e=e||{};var t=this._data;this._data=e;var n,i,r;for(n=Object.keys(t),r=n.length;r--;)i=n[r],i in e||this._unproxy(i);for(n=Object.keys(e),r=n.length;r--;)i=n[r],this.hasOwnProperty(i)||this._proxy(i);t.__ob__.removeVm(this),a.create(e,this),this._digest()},n._proxy=function(e){if(!o.isReserved(e)){var t=this;Object.defineProperty(t,e,{configurable:!0,enumerable:!0,get:function(){return t._data[e]},set:function(n){t._data[e]=n}})}},n._unproxy=function(e){o.isReserved(e)||delete this[e]},n._digest=function(){for(var e=0,t=this._watchers.length;t>e;e++)this._watchers[e].update(!0)},n._initComputed=function(){var e=this.$options.computed;if(e)for(var t in e){var n=e[t],s={enumerable:!0,configurable:!0};"function"==typeof n?(s.get=r(n,this),s.set=i):(s.get=n.get?n.cache!==!1?r(n.get,this):o.bind(n.get,this):i,s.set=n.set?o.bind(n.set,this):i),Object.defineProperty(this,t,s)}},n._initMethods=function(){var e=this.$options.methods;if(e)for(var t in e)this[t]=o.bind(e[t],this)},n._initMeta=function(){var e=this.$options._meta;if(e)for(var t in e)o.defineReactive(this,t,e[t])}}).call(this,e("_process"))},{"../compiler":21,"../observer":61,"../observer/dep":60,"../util":74,"../watcher":78,_process:2}],59:[function(e,t,n){var i=e("../util"),r=Array.prototype,o=Object.create(r);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(e){var t=r[e];i.define(o,e,function(){for(var n=arguments.length,i=new Array(n);n--;)i[n]=arguments[n];var r,o=t.apply(this,i),s=this.__ob__;switch(e){case"push":r=i;break;case"unshift":r=i;break;case"splice":r=i.slice(2)}return r&&s.observeArray(r),s.dep.notify(),o})}),i.define(r,"$set",function(e,t){return e>=this.length&&(this.length=e+1),this.splice(e,1,t)[0]}),i.define(r,"$remove",function(e){if(this.length){var t=i.indexOf(this,e);return t>-1?this.splice(t,1):void 0}}),t.exports=o},{"../util":74}],60:[function(e,t,n){function i(){this.id=o++,this.subs=[]}var r=e("../util"),o=0;i.target=null,i.prototype.addSub=function(e){this.subs.push(e)},i.prototype.removeSub=function(e){this.subs.$remove(e)},i.prototype.depend=function(){i.target.addDep(this)},i.prototype.notify=function(){for(var e=r.toArray(this.subs),t=0,n=e.length;n>t;t++)e[t].update()},t.exports=i},{"../util":74}],61:[function(e,t,n){function i(e){if(this.value=e,this.dep=new l,a.define(e,"__ob__",this),a.isArray(e)){var t=a.hasProto?r:o;t(e,c,u),this.observeArray(e)}else this.walk(e)}function r(e,t){e.__proto__=t}function o(e,t,n){for(var i,r=n.length;r--;)i=n[r],a.define(e,i,t[i])}function s(e,t,n){var r=new l,o=i.create(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){if(l.target&&(r.depend(),o&&o.dep.depend(),a.isArray(n)))for(var e,t=0,i=n.length;i>t;t++)e=n[t],e&&e.__ob__&&e.__ob__.dep.depend();return n},set:function(e){e!==n&&(n=e,o=i.create(e),r.notify())}})}var a=e("../util"),l=e("./dep"),c=e("./array"),u=Object.getOwnPropertyNames(c);i.create=function(e,t){if(e&&"object"==typeof e){var n;return e.hasOwnProperty("__ob__")&&e.__ob__ instanceof i?n=e.__ob__:!a.isArray(e)&&!a.isPlainObject(e)||Object.isFrozen(e)||e._isVue||(n=new i(e)),n&&t&&n.addVm(t),n}},i.prototype.walk=function(e){for(var t=Object.keys(e),n=t.length;n--;)this.convert(t[n],e[t[n]])},i.prototype.observeArray=function(e){for(var t=e.length;t--;)i.create(e[t])},i.prototype.convert=function(e,t){s(this.value,e,t)},i.prototype.addVm=function(e){(this.vms||(this.vms=[])).push(e)},i.prototype.removeVm=function(e){this.vms.$remove(e)},a.defineReactive=s,t.exports=i},{"../util":74,"./array":59,"./dep":60}],62:[function(e,t,n){function i(){var e,t=o.slice(u,l).trim();if(t){e={};var n=t.match(b);e.name=n[0],n.length>1&&(e.args=n.slice(1).map(r))}e&&(s.filters=s.filters||[]).push(e),u=l+1}function r(e){if(w.test(e))return{value:v.toNumber(e),dynamic:!1};var t=v.stripQuotes(e),n=t===e;return{value:n?e:t,dynamic:n}}var o,s,a,l,c,u,h,p,d,f,m,v=e("../util"),g=e("../cache"),y=new g(1e3),b=/[^\s'"]+|'[^']*'|"[^"]*"/g,w=/^in$|^-?\d+/;n.parse=function(e){var t=y.get(e);if(t)return t;for(o=e,h=p=!1,d=f=m=0,u=0,s={},l=0,c=o.length;c>l;l++)if(a=o.charCodeAt(l),h)39===a&&(h=!h);else if(p)34===a&&(p=!p);else if(124===a&&124!==o.charCodeAt(l+1)&&124!==o.charCodeAt(l-1))null==s.expression?(u=l+1,s.expression=o.slice(0,l).trim()):i();else switch(a){case 34:p=!0;break;case 39:h=!0;break;case 40:m++;break;case 41:m--;break;case 91:f++;break;case 93:f--;break;case 123:d++;break;case 125:d--}return null==s.expression?s.expression=o.slice(0,l).trim():0!==u&&i(),y.put(e,s),s}},{"../cache":18,"../util":74}],63:[function(e,t,n){(function(t){function i(e,t){var n=O.length;return O[n]=t?e.replace(w,"\\n"):e,'"'+n+'"'}function r(e){var t=e.charAt(0),n=e.slice(1);return v.test(n)?e:(n=n.indexOf('"')>-1?n.replace(x,o):n,t+"scope."+n)}function o(e,t){return O[t]}function s(e,n){y.test(e)&&"production"!==t.env.NODE_ENV&&h.warn("Avoid using reserved keywords in expression: "+e),O.length=0;var s=e.replace(_,i).replace(b,"");s=(" "+s).replace(C,r).replace(x,o);var a=l(s);return a?{get:a,body:s,set:n?c(s):null}:void 0}function a(e){var t,n;return e.indexOf("[")<0?(n=e.split("."),n.raw=e,t=p.compileGetter(n)):(n=p.parse(e),t=n.get),{get:t,set:function(e,t){p.set(e,n,t)}}}function l(e){try{return new Function("scope","return "+e+";")}catch(n){"production"!==t.env.NODE_ENV&&h.warn("Invalid expression. Generated function body: "+e)}}function c(e){try{return new Function("scope","value",e+"=value;")}catch(n){"production"!==t.env.NODE_ENV&&h.warn("Invalid setter function body: "+e)}}function u(e){e.set||(e.set=c(e.body))}var h=e("../util"),p=e("./path"),d=e("../cache"),f=new d(1e3),m="Math,Date,this,true,false,null,undefined,Infinity,NaN,isNaN,isFinite,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,parseInt,parseFloat",v=new RegExp("^("+m.replace(/,/g,"\\b|")+"\\b)"),g="break,case,class,catch,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,in,instanceof,let,return,super,switch,throw,try,var,while,with,yield,enum,await,implements,package,proctected,static,interface,private,public",y=new RegExp("^("+g.replace(/,/g,"\\b|")+"\\b)"),b=/\s/g,w=/\n/g,_=/[\{,]\s*[\w\$_]+\s*:|('[^']*'|"[^"]*")|new |typeof |void /g,x=/"(\d+)"/g,E=/^[A-Za-z_$][\w$]*(\.[A-Za-z_$][\w$]*|\['.*?'\]|\[".*?"\]|\[\d+\]|\[[A-Za-z_$][\w$]*\])*$/,C=/[^\w$\.]([A-Za-z_$][\w$]*(\.[A-Za-z_$][\w$]*|\['.*?'\]|\[".*?"\])*)/g,k=/^(true|false)$/,O=[];n.parse=function(e,t){e=e.trim();var i=f.get(e);if(i)return t&&u(i),i;var r=n.isSimplePath(e)?a(e):s(e,t);return f.put(e,r),r},n.isSimplePath=function(e){return E.test(e)&&!k.test(e)&&"Math."!==e.slice(0,5)}}).call(this,e("_process"))},{"../cache":18,"../util":74,"./path":64,_process:2}],64:[function(e,t,n){(function(t){function i(e){if(void 0===e)return"eof";var t=e.charCodeAt(0);switch(t){case 91:case 93:case 46:case 34:case 39:case 48:return e;case 95:case 36:return"ident";case 32:case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"ws"}return t>=97&&122>=t||t>=65&&90>=t?"ident":t>=49&&57>=t?"number":"else"}function r(e){function t(){var t=e[f+1];return m===b&&"'"===t||m===w&&'"'===t?(f++,r=t,v[u](),!0):void 0}var n,r,o,s,a,l,c,d=[],f=-1,m=p,v=[];for(v[h]=function(){void 0!==o&&(d.push(o),o=void 0)},v[u]=function(){void 0===o?o=r:o+=r};null!=m;)if(f++,n=e[f],"\\"!==n||!t()){if(s=i(n),c=k[m],a=c[s]||c["else"]||C,a===C)return;if(m=a[0],l=v[a[1]],l&&(r=a[2],r=void 0===r?n:"*"===r?r+n:r,l()),m===E)return d.raw=e,d}}function o(e){return c.test(e)?"."+e:+e===e>>>0?"["+e+"]":"*"===e.charAt(0)?"[o"+o(e.slice(1))+"]":'["'+e.replace(/"/g,'\\"')+'"]'}var s=e("../util"),a=e("../cache"),l=new a(1e3),c=n.identRE=/^[$_a-zA-Z]+[\w$]*$/,u=0,h=1,p=0,d=1,f=2,m=3,v=4,g=5,y=6,b=7,w=8,_=9,x=10,E=11,C=12,k=[];k[p]={ws:[p],ident:[m,u],"[":[v],eof:[E]},k[d]={ws:[d],".":[f],"[":[v],eof:[E]},k[f]={ws:[f],ident:[m,u]},k[m]={ident:[m,u],0:[m,u],number:[m,u],ws:[d,h],".":[f,h],"[":[v,h],eof:[E,h]},k[v]={ws:[v],0:[g,u],number:[y,u],"'":[b,u,""],'"':[w,u,""],ident:[_,u,"*"]},k[g]={ws:[x,h],"]":[d,h]},k[y]={0:[y,u],number:[y,u],ws:[x],"]":[d,h]},k[b]={"'":[x],eof:C,"else":[b,u]},k[w]={'"':[x],eof:C,"else":[w,u]},k[_]={ident:[_,u],0:[_,u],number:[_,u],ws:[x],"]":[d,h]},k[x]={ws:[x],"]":[d,h]},n.compileGetter=function(e){var t="return o"+e.map(o).join("");return new Function("o",t)},n.parse=function(e){var t=l.get(e);return t||(t=r(e),t&&(t.get=n.compileGetter(t),l.put(e,t))),t},n.get=function(e,t){return t=n.parse(t),t?t.get(e):void 0};var O;"production"!==t.env.NODE_ENV&&(O=function(e){s.warn('You are setting a non-existent path "'+e.raw+'" on a vm instance. Consider pre-initializing the property with the "data" option for more reliable reactivity and better performance.')}),n.set=function(e,i,r){var o=e;if("string"==typeof i&&(i=n.parse(i)),!i||!s.isObject(e))return!1;for(var a,l,c=0,u=i.length;u>c;c++)a=e,l=i[c],"*"===l.charAt(0)&&(l=o[l.slice(1)]),u-1>c?(e=e[l],s.isObject(e)||(e={},"production"!==t.env.NODE_ENV&&a._isVue&&O(i),s.set(a,l,e))):s.isArray(e)?e.$set(l,r):l in e?e[l]=r:("production"!==t.env.NODE_ENV&&e._isVue&&O(i),s.set(e,l,r));return!0}}).call(this,e("_process"))},{"../cache":18,"../util":74,_process:2}],65:[function(e,t,n){function i(e){return s.isTemplate(e)&&e.content instanceof DocumentFragment}function r(e){var t=l.get(e);if(t)return t;var n=document.createDocumentFragment(),i=e.match(h),r=p.test(e);if(i||r){var o=i&&i[1],s=u[o]||u._default,a=s[0],c=s[1],d=s[2],f=document.createElement("div");for(f.innerHTML=c+e.trim()+d;a--;)f=f.lastChild;for(var m;m=f.firstChild;)n.appendChild(m)}else n.appendChild(document.createTextNode(e));return l.put(e,n),n}function o(e){if(i(e))return s.trimNode(e.content),e.content;if("SCRIPT"===e.tagName)return r(e.textContent);for(var t,o=n.clone(e),a=document.createDocumentFragment();t=o.firstChild;)a.appendChild(t);return s.trimNode(a),a}var s=e("../util"),a=e("../cache"),l=new a(1e3),c=new a(1e3),u={_default:[0,"",""],legend:[1,"
","
"],tr:[2,"","
"],col:[2,"","
"]};u.td=u.th=[3,"","
"],u.option=u.optgroup=[1,'"],u.thead=u.tbody=u.colgroup=u.caption=u.tfoot=[1,"","
"],u.g=u.defs=u.symbol=u.use=u.image=u.text=u.circle=u.ellipse=u.line=u.path=u.polygon=u.polyline=u.rect=[1,'',""];var h=/<([\w:]+)/,p=/&\w+;|&#\d+;|&#x[\dA-F]+;/,d=function(){if(s.inBrowser){var e=document.createElement("div");return e.innerHTML="",!e.cloneNode(!0).firstChild.innerHTML}return!1}(),f=function(){if(s.inBrowser){var e=document.createElement("textarea");return e.placeholder="t","t"===e.cloneNode(!0).value}return!1}();n.clone=function(e){if(!e.querySelectorAll)return e.cloneNode();var t,r,o,s=e.cloneNode(!0);if(d){var a=s;if(i(e)&&(e=e.content,a=s.content),r=e.querySelectorAll("template"),r.length)for(o=a.querySelectorAll("template"),t=o.length;t--;)o[t].parentNode.replaceChild(n.clone(r[t]),o[t])}if(f)if("TEXTAREA"===e.tagName)s.value=e.value;else if(r=e.querySelectorAll("textarea"),r.length)for(o=s.querySelectorAll("textarea"),t=o.length;t--;)o[t].value=r[t].value;return s},n.parse=function(e,t,i){var a,l;return e instanceof DocumentFragment?(s.trimNode(e),t?n.clone(e):e):("string"==typeof e?i||"#"!==e.charAt(0)?l=r(e):(l=c.get(e),l||(a=document.getElementById(e.slice(1)),a&&(l=o(a),c.put(e,l)))):e.nodeType&&(l=o(e)),l&&t?n.clone(l):l)}},{"../cache":18,"../util":74}],66:[function(e,t,n){function i(e){return e.replace(p,"\\$&")}function r(e,t){return e.tag?o(e.value,t):'"'+e.value+'"'}function o(e,t){if(d.test(e)){var n=h.parse(e);return n.filters?"this._applyFilters("+n.expression+",null,"+JSON.stringify(n.filters)+",false)":"("+e+")"}return t?e:"("+e+")"}var s,a,l,c=e("../cache"),u=e("../config"),h=e("./directive"),p=/[-.*+?^${}()|[\]\/\\]/g;n.compileRegex=function(){var e=i(u.delimiters[0]),t=i(u.delimiters[1]),n=i(u.unsafeDelimiters[0]),r=i(u.unsafeDelimiters[1]);a=new RegExp(n+"(.+?)"+r+"|"+e+"(.+?)"+t,"g"),l=new RegExp("^"+n+".*"+r+"$"),s=new c(1e3)},n.parse=function(e){s||n.compileRegex();var t=s.get(e);if(t)return t;if(e=e.replace(/\n/g,""),!a.test(e))return null;for(var i,r,o,c,u,h,p=[],d=a.lastIndex=0;i=a.exec(e);)r=i.index,r>d&&p.push({value:e.slice(d,r)}),o=l.test(i[0]),c=o?i[1]:i[2],u=c.charCodeAt(0),h=42===u,c=h?c.slice(1):c,p.push({tag:!0,value:c.trim(),html:o,oneTime:h}),d=r+i[0].length;return d1?e.map(function(e){return r(e)}).join("+"):r(e[0],!0)};var d=/[^|]\|[^|]/},{"../cache":18,"../config":23,"./directive":62}],67:[function(e,t,n){var i=e("../util");n.append=function(e,t,n,i){r(e,1,function(){t.appendChild(e)},n,i)},n.before=function(e,t,n,o){r(e,1,function(){i.before(e,t)},n,o)},n.remove=function(e,t,n){r(e,-1,function(){i.remove(e)},t,n)};var r=n.apply=function(e,t,n,r,o){var s=e.__v_trans;if(!s||!s.hooks&&!i.transitionEndEvent||!r._isCompiled||r.$parent&&!r.$parent._isCompiled)return n(),void(o&&o());var a=t>0?"enter":"leave";s[a](n,o)}},{"../util":74}],68:[function(e,t,n){function i(){for(var e=document.documentElement.offsetHeight,t=0;t1&&(this.pendingJsCb=o.cancellable(this[e+"Done"])),t.call(this.vm,this.el,this.pendingJsCb))},m.getCssTransitionType=function(e){if(!(!c||document.hidden||this.hooks&&this.hooks.css===!1||r(this.el))){var t=this.typeCache[e];if(t)return t;var n=this.el.style,i=window.getComputedStyle(this.el),o=n[h]||i[h];if(o&&"0s"!==o)t=d;else{var s=n[p]||i[p];s&&"0s"!==s&&(t=f)}return t&&(this.typeCache[e]=t),t}},m.setupCssCb=function(e,t){this.pendingCssEvent=e;var n=this,i=this.el,r=this.pendingCssCb=function(s){s.target===i&&(o.off(i,e,r),n.pendingCssEvent=n.pendingCssCb=null,!n.pendingJsCb&&t&&t())};o.on(i,e,r)},t.exports=i},{"../util":74,"./queue":68}],70:[function(e,t,n){(function(t){function i(e){var t=s.attr(e,"is");return null!=t?{id:t}:(t=s.getBindAttr(e,"is"),null!=t?{id:t,dynamic:!0}:void 0)}function r(e){return e?e.charAt(0).toUpperCase()+e.slice(1):"custom type"}function o(e){return Object.prototype.toString.call(e).slice(8,-1)}var s=e("./index");n.commonTagRE=/^(div|p|span|img|a|b|i|br|ul|ol|li|h1|h2|h3|h4|h5|h6|code|pre|table|th|td|tr|form|label|input|select|option|nav|article|section|header|footer)$/,n.checkComponent=function(e,r){var o=e.tagName.toLowerCase(),a=e.hasAttributes();if(n.commonTagRE.test(o)||"component"===o){if(a)return i(e)}else{if(s.resolveAsset(r,"components",o))return{id:o};var l=a&&i(e);if(l)return l;"production"!==t.env.NODE_ENV&&(o.indexOf("-")>-1||/HTMLUnknownElement/.test(e.toString())&&!/^(data|time|rtc|rb)$/.test(o))&&s.warn("Unknown custom element: <"+o+"> - did you register the component correctly?")}},n.initProp=function(e,t,i){if(n.assertProp(t,i)){var r=t.path;e[r]=e._data[r]=i}},n.assertProp=function(e,n){if(null===e.raw&&!e.required)return!0;var i,a=e.options,l=a.type,c=!0;if(l&&(l===String?(i="string",c=typeof n===i):l===Number?(i="number",c="number"==typeof n):l===Boolean?(i="boolean",c="boolean"==typeof n):l===Function?(i="function",c="function"==typeof n):l===Object?(i="object",c=s.isPlainObject(n)):l===Array?(i="array",c=s.isArray(n)):c=n instanceof l),!c)return"production"!==t.env.NODE_ENV&&s.warn("Invalid prop: type check failed for "+e.path+'="'+e.raw+'". Expected '+r(i)+", got "+o(n)+"."),!1;var u=a.validator;return u&&!u.call(null,n)?("production"!==t.env.NODE_ENV&&s.warn("Invalid prop: custom validator check failed for "+e.path+'="'+e.raw+'"'),!1):!0}}).call(this,e("_process"))},{"./index":74,_process:2}],71:[function(e,t,n){(function(t){if("production"!==t.env.NODE_ENV){var i=e("../config"),r="undefined"!=typeof console;n.log=function(e){r&&i.debug&&console.log("[Vue info]: "+e)},n.warn=function(e,t){!r||i.silent&&!i.debug||(console.warn("[Vue warn]: "+e),i.debug&&console.warn((t||new Error("Warning Stack Trace")).stack))},n.assertAsset=function(e,t,i){e||n.warn("Failed to resolve "+t+": "+i)}}}).call(this,e("_process"))},{"../config":23,_process:2}],72:[function(e,t,n){(function(t){function i(e,t){t&&3===t.nodeType&&!t.data.trim()&&e.removeChild(t)}var r=e("./index"),o=e("../config"),s=e("../transition");n.query=function(e){if("string"==typeof e){var n=e;e=document.querySelector(e),e||"production"!==t.env.NODE_ENV&&r.warn("Cannot find element: "+n)}return e},n.inDoc=function(e){var t=document.documentElement,n=e&&e.parentNode;return t===e||t===n||!(!n||1!==n.nodeType||!t.contains(n))},n.attr=function(e,t){var n=e.getAttribute(t);return null!==n&&e.removeAttribute(t),n},n.getBindAttr=function(e,t){var i=n.attr(e,":"+t);return null===i&&(i=n.attr(e,"v-bind:"+t)),i},n.before=function(e,t){t.parentNode.insertBefore(e,t)},n.after=function(e,t){t.nextSibling?n.before(e,t.nextSibling):t.parentNode.appendChild(e)},n.remove=function(e){e.parentNode.removeChild(e)},n.prepend=function(e,t){t.firstChild?n.before(e,t.firstChild):t.appendChild(e)},n.replace=function(e,t){var n=e.parentNode;n&&n.replaceChild(t,e)},n.on=function(e,t,n){e.addEventListener(t,n)},n.off=function(e,t,n){e.removeEventListener(t,n)},n.addClass=function(e,t){if(e.classList)e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}},n.removeClass=function(e,t){if(e.classList)e.classList.remove(t);else{for(var n=" "+(e.getAttribute("class")||"")+" ",i=" "+t+" ";n.indexOf(i)>=0;)n=n.replace(i," ");e.setAttribute("class",n.trim())}e.className||e.removeAttribute("class")},n.extractContent=function(e,t){var i,r;if(n.isTemplate(e)&&e.content instanceof DocumentFragment&&(e=e.content),e.hasChildNodes())for(n.trimNode(e),r=t?document.createDocumentFragment():document.createElement("div");i=e.firstChild;)r.appendChild(i);return r},n.trimNode=function(e){i(e,e.firstChild),i(e,e.lastChild)},n.isTemplate=function(e){return e.tagName&&"template"===e.tagName.toLowerCase()},n.createAnchor=function(e,t){return o.debug?document.createComment(e):document.createTextNode(t?" ":"")};var a=/^v-ref:/;n.findRef=function(e){if(e.hasAttributes())for(var t=e.attributes,n=0,i=t.length;i>n;n++){var o=t[n].name;if(a.test(o))return e.removeAttribute(o),r.camelize(o.replace(a,""))}},n.mapNodeRange=function(e,t,n){for(var i;e!==t;)i=e.nextSibling,n(e),e=i;n(t)},n.removeNodeRange=function(e,t,i,r,o){function a(){if(c++,l&&c>=u.length){for(var e=0;e0,n.isAndroid=i&&navigator.userAgent.toLowerCase().indexOf("android")>0,i&&!n.isIE9){var r=void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend,o=void 0===window.onanimationend&&void 0!==window.onwebkitanimationend;n.transitionProp=r?"WebkitTransition":"transition",n.transitionEndEvent=r?"webkitTransitionEnd":"transitionend",n.animationProp=o?"WebkitAnimation":"animation",n.animationEndEvent=o?"webkitAnimationEnd":"animationend"}n.nextTick=function(){function e(){i=!1;var e=n.slice(0);n=[];for(var t=0;t1?e.apply(t,arguments):e.call(t,n):e.call(t)}},n.toArray=function(e,t){t=t||0;for(var n=e.length-t,i=new Array(n);n--;)i[n]=e[n+t];return i},n.extend=function(e,t){for(var n=Object.keys(t),i=n.length;i--;)e[n[i]]=t[n[i]];return e},n.isObject=function(e){return null!==e&&"object"==typeof e};var l=Object.prototype.toString,c="[object Object]";n.isPlainObject=function(e){return l.call(e)===c},n.isArray=Array.isArray,n.define=function(e,t,n,i){Object.defineProperty(e,t,{value:n,enumerable:!!i,writable:!0,configurable:!0})},n.debounce=function(e,t){var n,i,r,o,s,a=function(){var l=Date.now()-o;t>l&&l>=0?n=setTimeout(a,t-l):(n=null,s=e.apply(r,i),n||(r=i=null))};return function(){return r=this,i=arguments,o=Date.now(),n||(n=setTimeout(a,t)),s}},n.indexOf=function(e,t){for(var n=e.length;n--;)if(e[n]===t)return n;return-1},n.cancellable=function(e){var t=function(){return t.cancelled?void 0:e.apply(this,arguments)};return t.cancel=function(){t.cancelled=!0},t},n.looseEqual=function(e,t){return e==t||(n.isObject(e)&&n.isObject(t)?JSON.stringify(e)===JSON.stringify(t):!1)}},{}],76:[function(e,t,n){(function(t){function i(e,t){var n,r,o;for(n in t)r=e[n],o=t[n],e.hasOwnProperty(n)?l.isObject(r)&&l.isObject(o)&&i(r,o):l.set(e,n,o);return e}function r(e,t){var n=Object.create(e);return t?u(n,a(t)):n}function o(e){if(e.components)for(var n,i=e.components=a(e.components),r=Object.keys(i),o=0,s=r.length;s>o;o++){var c=r[o];l.commonTagRE.test(c)?"production"!==t.env.NODE_ENV&&l.warn("Do not use built-in HTML elements as component id: "+c):(n=i[c],l.isPlainObject(n)&&(i[c]=l.Vue.extend(n)))}}function s(e){var t,n=e.props;if(l.isArray(n))for(e.props={},t=n.length;t--;)e.props[n[t]]=null;else if(l.isPlainObject(n)){ +var i=Object.keys(n);for(t=i.length;t--;){var r=n[i[t]];"function"==typeof r&&(n[i[t]]={type:r})}}}function a(e){if(l.isArray(e)){for(var n,i={},r=e.length;r--;){n=e[r];var o="function"==typeof n?n.options&&n.options.name||n.id:n.name||n.id;o?i[o]=n:"production"!==t.env.NODE_ENV&&l.warn('Array-syntax assets must provide a "name" or "id" field.')}return i}return e}var l=e("./index"),c=e("../config"),u=l.extend,h=c.optionMergeStrategies=Object.create(null);h.data=function(e,n,r){return r?e||n?function(){var t="function"==typeof n?n.call(r):n,o="function"==typeof e?e.call(r):void 0;return t?i(t,o):o}:void 0:n?"function"!=typeof n?("production"!==t.env.NODE_ENV&&l.warn('The "data" option should be a function that returns a per-instance value in component definitions.'),e):e?function(){return i(n.call(this),e.call(this))}:n:e},h.el=function(e,n,i){if(!i&&n&&"function"!=typeof n)return void("production"!==t.env.NODE_ENV&&l.warn('The "el" option should be a function that returns a per-instance value in component definitions.'));var r=n||e;return i&&"function"==typeof r?r.call(i):r},h.init=h.created=h.ready=h.attached=h.detached=h.beforeCompile=h.compiled=h.beforeDestroy=h.destroyed=function(e,t){return t?e?e.concat(t):l.isArray(t)?t:[t]:e},h.paramAttributes=function(){"production"!==t.env.NODE_ENV&&l.warn('"paramAttributes" option has been deprecated in 0.12. Use "props" instead.')},c._assetTypes.forEach(function(e){h[e+"s"]=r}),h.watch=h.events=function(e,t){if(!t)return e;if(!e)return t;var n={};u(n,e);for(var i in t){var r=n[i],o=t[i];r&&!l.isArray(r)&&(r=[r]),n[i]=r?r.concat(o):[o]}return n},h.props=h.methods=h.computed=function(e,t){if(!t)return e;if(!e)return t;var n=Object.create(null);return u(n,e),u(n,t),n};var p=function(e,t){return void 0===t?e:t};n.mergeOptions=function d(e,t,n){function i(i){var r=h[i]||p;a[i]=r(e[i],t[i],n,i)}o(t),s(t);var r,a={};if(t.mixins)for(var l=0,c=t.mixins.length;c>l;l++)e=d(e,t.mixins[l],n);for(r in e)i(r);for(r in t)e.hasOwnProperty(r)||i(r);return a},n.resolveAsset=function(e,t,n){var i,r=e[t];return r[n]||r[i=l.camelize(n)]||r[i.charAt(0).toUpperCase()+i.slice(1)]}}).call(this,e("_process"))},{"../config":23,"./index":74,_process:2}],77:[function(e,t,n){(function(n){function i(e){this._init(e)}var r=e("./util"),o=r.extend;o(i,e("./api/global")),i.options={replace:!0,directives:e("./directives/public"),elementDirectives:e("./directives/element"),filters:e("./filters"),transitions:{},components:{},partials:{}};var s=i.prototype;Object.defineProperty(s,"$data",{get:function(){return this._data},set:function(e){e!==this._data&&this._setData(e)}}),o(s,e("./instance/init")),o(s,e("./instance/events")),o(s,e("./instance/state")),o(s,e("./instance/lifecycle")),o(s,e("./instance/misc")),o(s,e("./api/data")),o(s,e("./api/dom")),o(s,e("./api/events")),o(s,e("./api/lifecycle")),i.version="1.0.7",t.exports=r.Vue=i,"production"!==n.env.NODE_ENV&&r.inBrowser&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__.emit("init",i)}).call(this,e("_process"))},{"./api/data":12,"./api/dom":13,"./api/events":14,"./api/global":15,"./api/lifecycle":16,"./directives/element":25,"./directives/public":40,"./filters":51,"./instance/events":54,"./instance/init":55,"./instance/lifecycle":56,"./instance/misc":57,"./instance/state":58,"./util":74,_process:2}],78:[function(e,t,n){(function(n){function i(e,t,n,i){i&&o.extend(this,i);var r="function"==typeof t;if(this.vm=e,e._watchers.push(this),this.expression=r?t.toString():t,this.cb=n,this.id=++u,this.active=!0,this.dirty=this.lazy,this.deps=Object.create(null),this.newDeps=null,this.prevError=null,r)this.getter=t,this.setter=void 0;else{var s=l.parse(t,this.twoWay);this.getter=s.get,this.setter=s.set}this.value=this.lazy?void 0:this.get(),this.queued=this.shallow=!1}function r(e){var t,n;if(o.isArray(e))for(t=e.length;t--;)r(e[t]);else if(o.isObject(e))for(n=Object.keys(e),t=n.length;t--;)r(e[n[t]])}var o=e("./util"),s=e("./config"),a=e("./observer/dep"),l=e("./parsers/expression"),c=e("./batcher"),u=0;i.prototype.addDep=function(e){var t=e.id;this.newDeps[t]||(this.newDeps[t]=e,this.deps[t]||(this.deps[t]=e,e.addSub(this)))},i.prototype.get=function(){this.beforeGet();var e,t=this.scope||this.vm;try{e=this.getter.call(t,t)}catch(i){"production"!==n.env.NODE_ENV&&s.warnExpressionErrors&&o.warn('Error when evaluating expression "'+this.expression+'". '+(s.debug?"":"Turn on debug mode to see stack trace."),i)}return this.deep&&r(e),this.preProcess&&(e=this.preProcess(e)),this.filters&&(e=t._applyFilters(e,null,this.filters,!1)),this.postProcess&&(e=this.postProcess(e)),this.afterGet(),e},i.prototype.set=function(e){var t=this.scope||this.vm;this.filters&&(e=t._applyFilters(e,this.value,this.filters,!0));try{this.setter.call(t,t,e)}catch(i){"production"!==n.env.NODE_ENV&&s.warnExpressionErrors&&o.warn('Error when evaluating setter "'+this.expression+'"',i)}var r=t.$forContext;"production"!==n.env.NODE_ENV&&r&&r.filters&&new RegExp(r.alias+"\\b").test(this.expression)&&o.warn("It seems you are using two-way binding on a v-for alias ("+this.expression+"), and the v-for has filters. This will not work properly. Either remove the filters or use an array of objects and bind to object properties instead."),r&&r.alias===this.expression&&!r.filters&&(t.$key?r.rawValue[t.$key]=e:r.rawValue.$set(t.$index,e))},i.prototype.beforeGet=function(){a.target=this,this.newDeps=Object.create(null)},i.prototype.afterGet=function(){a.target=null;for(var e=Object.keys(this.deps),t=e.length;t--;){var n=e[t];this.newDeps[n]||this.deps[n].removeSub(this)}this.deps=this.newDeps},i.prototype.update=function(e){this.lazy?this.dirty=!0:this.sync||!s.async?this.run():(this.shallow=this.queued?e?this.shallow:!1:!!e,this.queued=!0,"production"!==n.env.NODE_ENV&&s.debug&&(this.prevError=new Error("[vue] async stack trace")),c.push(this))},i.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||(o.isArray(e)||this.deep)&&!this.shallow){var t=this.value;this.value=e;var i=this.prevError;if("production"!==n.env.NODE_ENV&&s.debug&&i){this.prevError=null;try{this.cb.call(this.vm,e,t)}catch(r){throw o.nextTick(function(){throw i},0),r}}else this.cb.call(this.vm,e,t)}this.queued=this.shallow=!1}},i.prototype.evaluate=function(){var e=a.target;this.value=this.get(),this.dirty=!1,a.target=e},i.prototype.depend=function(){for(var e=Object.keys(this.deps),t=e.length;t--;)this.deps[e[t]].depend()},i.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||this.vm._watchers.$remove(this);for(var e=Object.keys(this.deps),t=e.length;t--;)this.deps[e[t]].removeSub(this);this.active=!1,this.vm=this.cb=this.value=null}},t.exports=i}).call(this,e("_process"))},{"./batcher":17,"./config":23,"./observer/dep":60,"./parsers/expression":63,"./util":74,_process:2}],79:[function(e,t,n){!function(e,n){"use strict";var i,r,o,s=e,a=s.document,l=s.navigator,c=s.setTimeout,u=s.clearTimeout,h=s.setInterval,p=s.clearInterval,d=s.getComputedStyle,f=s.encodeURIComponent,m=s.ActiveXObject,v=s.Error,g=s.Number.parseInt||s.parseInt,y=s.Number.parseFloat||s.parseFloat,b=s.Number.isNaN||s.isNaN,w=s.Date.now,_=s.Object.keys,x=s.Object.defineProperty,E=s.Object.prototype.hasOwnProperty,C=s.Array.prototype.slice,k=function(){var e=function(e){return e};if("function"==typeof s.wrap&&"function"==typeof s.unwrap)try{var t=a.createElement("div"),n=s.unwrap(t);1===t.nodeType&&n&&1===n.nodeType&&(e=s.unwrap)}catch(i){}return e}(),O=function(e){return C.call(e,0)},A=function(){var e,t,i,r,o,s,a=O(arguments),l=a[0]||{};for(e=1,t=a.length;t>e;e++)if(null!=(i=a[e]))for(r in i)E.call(i,r)&&(o=l[r],s=i[r],l!==s&&s!==n&&(l[r]=s));return l},N=function(e){var t,n,i,r;if("object"!=typeof e||null==e||"number"==typeof e.nodeType)t=e;else if("number"==typeof e.length)for(t=[],n=0,i=e.length;i>n;n++)E.call(e,n)&&(t[n]=N(e[n]));else{t={};for(r in e)E.call(e,r)&&(t[r]=N(e[r]))}return t},T=function(e,t){for(var n={},i=0,r=t.length;r>i;i++)t[i]in e&&(n[t[i]]=e[t[i]]);return n},D=function(e,t){var n={};for(var i in e)-1===t.indexOf(i)&&(n[i]=e[i]);return n},F=function(e){if(e)for(var t in e)E.call(e,t)&&delete e[t];return e},$=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},j=function(e){var t;return"string"==typeof e&&e&&(t=e.split("#")[0].split("?")[0],t=e.slice(0,e.lastIndexOf("/")+1)),t},S=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},P=function(){var e,t;try{throw new v}catch(n){t=n}return t&&(e=t.sourceURL||t.fileName||S(t.stack)),e},L=function(){var e,t,i;if(a.currentScript&&(e=a.currentScript.src))return e;if(t=a.getElementsByTagName("script"),1===t.length)return t[0].src||n;if("readyState"in t[0])for(i=t.length;i--;)if("interactive"===t[i].readyState&&(e=t[i].src))return e;return"loading"===a.readyState&&(e=t[t.length-1].src)?e:(e=P())?e:n},I=function(){var e,t,i,r=a.getElementsByTagName("script");for(e=r.length;e--;){if(!(i=r[e].src)){t=null;break}if(i=j(i),null==t)t=i;else if(t!==i){t=null;break}}return t||n},z=function(){var e=j(L())||I()||"";return e+"ZeroClipboard.swf"},R=function(){return null==e.opener&&(!!e.top&&e!=e.top||!!e.parent&&e!=e.parent)}(),V={bridge:null,version:"0.0.0",pluginType:"unknown",disabled:null,outdated:null,sandboxed:null,unavailable:null,degraded:null,deactivated:null,overdue:null,ready:null},M="11.0.0",H={},U={},B=null,q=0,W=0,Q={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"}},Z=["flash-unavailable","flash-degraded","flash-overdue","version-mismatch","config-mismatch","clipboard-error"],X=["flash-disabled","flash-outdated","flash-sandboxed","flash-unavailable","flash-degraded","flash-deactivated","flash-overdue"],G=new RegExp("^flash-("+X.map(function(e){return e.replace(/^flash-/,"")}).join("|")+")$"),Y=new RegExp("^flash-("+X.slice(1).map(function(e){return e.replace(/^flash-/,"")}).join("|")+")$"),J={swfPath:z(),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(E.call(e,t))if(/^(?:forceHandCursor|title|zIndex|bubbleEvents)$/.test(t))J[t]=e[t];else if(null==V.bridge)if("containerId"===t||"swfObjectId"===t){if(!fe(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 N(J);if(E.call(J,e))return J[e]}},ee=function(){return We(),{browser:T(l,["userAgent","platform","appName"]),flash:D(V,["bridge"]),zeroclipboard:{version:Ze.version,config:Ze.config()}}},te=function(){return!!(V.disabled||V.outdated||V.sandboxed||V.unavailable||V.degraded||V.deactivated)},ne=function(e,t){var r,o,s,a={};if("string"==typeof e&&e)s=e.toLowerCase().split(/\s+/);else if("object"==typeof e&&e&&"undefined"==typeof t)for(r in e)E.call(e,r)&&"string"==typeof r&&r&&"function"==typeof e[r]&&Ze.on(r,e[r]);if(s&&s.length){for(r=0,o=s.length;o>r;r++)e=s[r].replace(/^on/,""),a[e]=!0,H[e]||(H[e]=[]),H[e].push(t);if(a.ready&&V.ready&&Ze.emit({type:"ready"}),a.error){for(r=0,o=X.length;o>r;r++)if(V[X[r].replace(/^flash-/,"")]===!0){Ze.emit({type:"error",name:X[r]});break}i!==n&&Ze.version!==i&&Ze.emit({type:"error",name:"version-mismatch",jsVersion:Ze.version,swfVersion:i})}}return Ze},ie=function(e,t){var n,i,r,o,s;if(0===arguments.length)o=_(H);else if("string"==typeof e&&e)o=e.split(/\s+/);else if("object"==typeof e&&e&&"undefined"==typeof t)for(n in e)E.call(e,n)&&"string"==typeof n&&n&&"function"==typeof e[n]&&Ze.off(n,e[n]);if(o&&o.length)for(n=0,i=o.length;i>n;n++)if(e=o[n].toLowerCase().replace(/^on/,""),s=H[e],s&&s.length)if(t)for(r=s.indexOf(t);-1!==r;)s.splice(r,1),r=s.indexOf(t,r);else s.length=0;return Ze},re=function(e){var t;return t="string"==typeof e&&e?N(H[e])||null:N(H)},oe=function(e){var t,n,i;return e=me(e),e&&!xe(e)?"ready"===e.type&&V.overdue===!0?Ze.emit({type:"error",name:"flash-overdue"}):(t=A({},e),we.call(this,t),"copy"===e.type&&(i=De(U),n=i.data,B=i.formatMap),n):void 0},se=function(){var e=V.sandboxed;if(We(),"boolean"!=typeof V.ready&&(V.ready=!1),V.sandboxed!==e&&V.sandboxed===!0)V.ready=!1,Ze.emit({type:"error",name:"flash-sandboxed"});else if(!Ze.isFlashUnusable()&&null===V.bridge){var t=J.flashLoadTimeout;"number"==typeof t&&t>=0&&(q=c(function(){"boolean"!=typeof V.deactivated&&(V.deactivated=!0),V.deactivated===!0&&Ze.emit({type:"error",name:"flash-deactivated"})},t)),V.overdue=!1,Ne()}},ae=function(){Ze.clearData(),Ze.blur(),Ze.emit("destroy"),Te(),Ze.off()},le=function(e,t){var n;if("object"==typeof e&&e&&"undefined"==typeof t)n=e,Ze.clearData();else{if("string"!=typeof e||!e)return;n={},n[e]=t}for(var i in n)"string"==typeof i&&i&&E.call(n,i)&&"string"==typeof n[i]&&n[i]&&(U[i]=n[i])},ce=function(e){"undefined"==typeof e?(F(U),B=null):"string"==typeof e&&E.call(U,e)&&delete U[e]},ue=function(e){return"undefined"==typeof e?N(U):"string"==typeof e&&E.call(U,e)?U[e]:void 0},he=function(e){if(e&&1===e.nodeType){r&&(ze(r,J.activeClass),r!==e&&ze(r,J.hoverClass)),r=e,Ie(e,J.hoverClass);var t=e.getAttribute("title")||J.title;if("string"==typeof t&&t){var n=Ae(V.bridge);n&&n.setAttribute("title",t)}var i=J.forceHandCursor===!0||"pointer"===Re(e,"cursor");Be(i),Ue()}},pe=function(){var e=Ae(V.bridge);e&&(e.removeAttribute("title"),e.style.left="0px",e.style.top="-9999px",e.style.width="1px",e.style.height="1px"),r&&(ze(r,J.hoverClass),ze(r,J.activeClass),r=null)},de=function(){return r||null},fe=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||r||null,relatedTarget:e.relatedTarget||null,currentTarget:V&&V.bridge||null,timeStamp:e.timeStamp||w()||null});var n=Q[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:V.version}),"error"===e.type&&(G.test(e.name)&&A(e,{target:null,minimumVersion:M}),Y.test(e.name)&&A(e,{version:V.version})),"copy"===e.type&&(e.clipboardData={setData:Ze.setData,clearData:Ze.clearData}),"aftercopy"===e.type&&(e=Fe(e,B)),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?a.getElementById(t):null},ge=function(e){if(e&&/^_(?:click|mouse(?:over|out|down|up|move))$/.test(e.type)){var t=e.target,i="_mouseover"===e.type&&e.relatedTarget?e.relatedTarget:n,r="_mouseout"===e.type&&e.relatedTarget?e.relatedTarget:n,o=Ve(t),l=s.screenLeft||s.screenX||0,c=s.screenTop||s.screenY||0,u=a.body.scrollLeft+a.documentElement.scrollLeft,h=a.body.scrollTop+a.documentElement.scrollTop,p=o.left+("number"==typeof e._stageX?e._stageX:0),d=o.top+("number"==typeof e._stageY?e._stageY:0),f=p-u,m=d-h,v=l+f,g=c+m,y="number"==typeof e.movementX?e.movementX:0,b="number"==typeof e.movementY?e.movementY:0;delete e._stageX,delete e._stageY,A(e,{srcElement:t,fromElement:i,toElement:r,screenX:v,screenY:g,pageX:p,pageY:d,clientX:f,clientY:m,x:f,y:m,movementX:y,movementY:b,offsetX:0,offsetY:0,layerX:0,layerY:0})}return e},ye=function(e){var t=e&&"string"==typeof e.type&&e.type||"";return!/^(?:(?:before)?copy|destroy)$/.test(t)},be=function(e,t,n,i){i?c(function(){e.apply(t,n)},0):e.apply(t,n)},we=function(e){if("object"==typeof e&&e&&e.type){var t=ye(e),n=H["*"]||[],i=H[e.type]||[],r=n.concat(i);if(r&&r.length){var o,a,l,c,u,h=this;for(o=0,a=r.length;a>o;o++)l=r[o],c=h,"string"==typeof l&&"function"==typeof s[l]&&(l=s[l]),"object"==typeof l&&l&&"function"==typeof l.handleEvent&&(c=l,l=l.handleEvent),"function"==typeof l&&(u=A({},e),be(l,c,[u],t))}return this}},_e=function(e){var t=null;return(R===!1||e&&"error"===e.type&&e.name&&-1!==Z.indexOf(e.name))&&(t=!1),t},xe=function(e){var t=e.target||r||null,n="swf"===e._source;switch(delete e._source,e.type){case"error":var s="flash-sandboxed"===e.name||_e(e);"boolean"==typeof s&&(V.sandboxed=s),-1!==X.indexOf(e.name)?A(V,{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&&(i=e.swfVersion,A(V,{disabled:!1,outdated:!1,unavailable:!1,degraded:!1,deactivated:!1,overdue:!1,ready:!1})),He();break;case"ready":i=e.swfVersion;var a=V.deactivated===!0;A(V,{disabled:!1,outdated:!1,sandboxed:!1,unavailable:!1,degraded:!1,deactivated:!1,overdue:a,ready:!a}),He();break;case"beforecopy":o=t;break;case"copy":var l,c,u=e.relatedTarget;!U["text/html"]&&!U["text/plain"]&&u&&(c=u.value||u.outerHTML||u.innerHTML)&&(l=u.value||u.textContent||u.innerText)?(e.clipboardData.clearData(),e.clipboardData.setData("text/plain",l),c!==l&&e.clipboardData.setData("text/html",c)):!U["text/plain"]&&e.target&&(l=e.target.getAttribute("data-clipboard-text"))&&(e.clipboardData.clearData(),e.clipboardData.setData("text/plain",l));break;case"aftercopy":Ee(e),Ze.clearData(),t&&t!==Le()&&t.focus&&t.focus();break;case"_mouseover":Ze.focus(t),J.bubbleEvents===!0&&n&&(t&&t!==e.relatedTarget&&!$(e.relatedTarget,t)&&Ce(A({},e,{type:"mouseenter",bubbles:!1,cancelable:!1})),Ce(A({},e,{type:"mouseover"})));break;case"_mouseout":Ze.blur(),J.bubbleEvents===!0&&n&&(t&&t!==e.relatedTarget&&!$(e.relatedTarget,t)&&Ce(A({},e,{type:"mouseleave",bubbles:!1,cancelable:!1})),Ce(A({},e,{type:"mouseout"})));break;case"_mousedown":Ie(t,J.activeClass),J.bubbleEvents===!0&&n&&Ce(A({},e,{type:e.type.slice(1)}));break;case"_mouseup":ze(t,J.activeClass),J.bubbleEvents===!0&&n&&Ce(A({},e,{type:e.type.slice(1)}));break;case"_click":o=null,J.bubbleEvents===!0&&n&&Ce(A({},e,{type:e.type.slice(1)}));break;case"_mousemove":J.bubbleEvents===!0&&n&&Ce(A({},e,{type:e.type.slice(1)}))}return/^_(?:click|mouse(?:over|out|down|up|move))$/.test(e.type)?!0:void 0},Ee=function(e){if(e.errors&&e.errors.length>0){var t=N(e);A(t,{type:"error",name:"clipboard-error"}),delete t.success,c(function(){Ze.emit(t)},0)}},Ce=function(e){if(e&&"string"==typeof e.type&&e){var t,n=e.target||null,i=n&&n.ownerDocument||a,r={view:i.defaultView||s,canBubble:!0,cancelable:!0,detail:"click"===e.type?1:0,button:"number"==typeof e.which?e.which-1:"number"==typeof e.button?e.button:i.createEvent?0:1},o=A(r,e);n&&i.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=i.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=h(function(){var e=a.getElementById(n);Me(e)&&(He(),V.deactivated=null,Ze.emit({type:"error",name:"swf-not-found"}))},t)}},Oe=function(){var e=a.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=""+qe(J.zIndex),e},Ae=function(e){for(var t=e&&e.parentNode;t&&"OBJECT"===t.nodeName&&t.parentNode;)t=t.parentNode;return t||null},Ne=function(){var e,t=V.bridge,n=Ae(t);if(!t){var i=Pe(s.location.host,J),r="never"===i?"none":"all",o=je(A({jsVersion:Ze.version},J)),l=J.swfPath+$e(J.swfPath,J);n=Oe();var c=a.createElement("div");n.appendChild(c),a.body.appendChild(n);var u=a.createElement("div"),h="activex"===V.pluginType;u.innerHTML='"+(h?'':"")+'
 
',t=u.firstChild,u=null,k(t).ZeroClipboard=Ze,n.replaceChild(t,c),ke()}return t||(t=a[J.swfObjectId],t&&(e=t.length)&&(t=t[e-1]),!t&&n&&(t=n.firstChild)),V.bridge=t||null,t},Te=function(){var e=V.bridge;if(e){var t=Ae(e);t&&("activex"===V.pluginType&&"readyState"in e?(e.style.display="none",function r(){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 c(r,10)}()):(e.parentNode&&e.parentNode.removeChild(e),t.parentNode&&t.parentNode.removeChild(t))),He(),V.ready=null,V.bridge=null,V.deactivated=null,i=n}},De=function(e){var t={},n={};if("object"==typeof e&&e){for(var i in e)if(i&&E.call(e,i)&&"string"==typeof e[i]&&e[i])switch(i.toLowerCase()){case"text/plain":case"text":case"air:text":case"flash:text":t.text=e[i],n.text=i;break;case"text/html":case"html":case"air:html":case"flash:html":t.html=e[i],n.html=i;break;case"application/rtf":case"text/rtf":case"rtf":case"richtext":case"air:rtf":case"flash:rtf":t.rtf=e[i],n.rtf=i}return{data:t,formatMap:n}}},Fe=function(e,t){if("object"!=typeof e||!e||"object"!=typeof t||!t)return e;var n={};for(var i in e)if(E.call(e,i))if("errors"===i){n[i]=e[i]?e[i].slice():[];for(var r=0,o=n[i].length;o>r;r++)n[i][r].format=t[n[i][r].format]}else if("success"!==i&&"data"!==i)n[i]=e[i];else{n[i]={};var s=e[i];for(var a in s)a&&E.call(s,a)&&E.call(t,a)&&(n[i][t[a]]=s[a])}return n},$e=function(e,t){var n=null==t||t&&t.cacheBust===!0;return n?(-1===e.indexOf("?")?"?":"&")+"noCache="+w():""},je=function(e){var t,n,i,r,o="",a=[];if(e.trustedDomains&&("string"==typeof e.trustedDomains?r=[e.trustedDomains]:"object"==typeof e.trustedDomains&&"length"in e.trustedDomains&&(r=e.trustedDomains)),r&&r.length)for(t=0,n=r.length;n>t;t++)if(E.call(r,t)&&r[t]&&"string"==typeof r[t]){if(i=Se(r[t]),!i)continue;if("*"===i){a.length=0,a.push(i);break}a.push.apply(a,[i,"//"+i,s.location.protocol+"//"+i])}return a.length&&(o+="trustedOrigins="+f(a.join(","))),e.forceEnhancedClipboard===!0&&(o+=(o?"&":"")+"forceEnhancedClipboard=true"),"string"==typeof e.swfObjectId&&e.swfObjectId&&(o+=(o?"&":"")+"swfObjectId="+f(e.swfObjectId)),"string"==typeof e.jsVersion&&e.jsVersion&&(o+=(o?"&":"")+"jsVersion="+f(e.jsVersion)),o},Se=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},Pe=function(){var e=function(e){var t,n,i,r=[];if("string"==typeof e&&(e=[e]),"object"!=typeof e||!e||"number"!=typeof e.length)return r;for(t=0,n=e.length;n>t;t++)if(E.call(e,t)&&(i=Se(e[t]))){if("*"===i){r.length=0,r.push("*");break}-1===r.indexOf(i)&&r.push(i)}return r};return function(t,n){var i=Se(n.swfPath);null===i&&(i=t);var r=e(n.trustedDomains),o=r.length;if(o>0){if(1===o&&"*"===r[0])return"always";if(-1!==r.indexOf(t))return 1===o&&t===i?"sameDomain":"always"}return"never"}}(),Le=function(){try{return a.activeElement}catch(e){return null}},Ie=function(e,t){var n,i,r,o=[];if("string"==typeof t&&t&&(o=t.split(/\s+/)),e&&1===e.nodeType&&o.length>0)if(e.classList)for(n=0,i=o.length;i>n;n++)e.classList.add(o[n]);else if(e.hasOwnProperty("className")){for(r=" "+e.className+" ",n=0,i=o.length;i>n;n++)-1===r.indexOf(" "+o[n]+" ")&&(r+=o[n]+" ");e.className=r.replace(/^\s+|\s+$/g,"")}return e},ze=function(e,t){var n,i,r,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,i=o.length;i>n;n++)e.classList.remove(o[n]);else if(e.className){for(r=(" "+e.className+" ").replace(/[\r\n\t]/g," "),n=0,i=o.length;i>n;n++)r=r.replace(" "+o[n]+" "," ");e.className=r.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"},Ve=function(e){var t={left:0,top:0,width:0,height:0};if(e.getBoundingClientRect){var n=e.getBoundingClientRect(),i=s.pageXOffset,r=s.pageYOffset,o=a.documentElement.clientLeft||0,l=a.documentElement.clientTop||0,c=0,u=0;if("relative"===Re(a.body,"position")){var h=a.body.getBoundingClientRect(),p=a.documentElement.getBoundingClientRect();c=h.left-p.left||0,u=h.top-p.top||0}t.left=n.left+i-o-c,t.top=n.top+r-l-u,t.width="width"in n?n.width:n.right-n.left,t.height="height"in n?n.height:n.bottom-n.top}return t},Me=function(e){if(!e)return!1;var t=d(e,null),n=y(t.height)>0,i=y(t.width)>0,r=y(t.top)>=0,o=y(t.left)>=0,s=n&&i&&r&&o,a=s?null:Ve(e),l="none"!==t.display&&"collapse"!==t.visibility&&(s||!!a&&(n||a.height>0)&&(i||a.width>0)&&(r||a.top>=0)&&(o||a.left>=0));return l},He=function(){u(q),q=0,p(W),W=0},Ue=function(){var e;if(r&&(e=Ae(V.bridge))){var t=Ve(r);A(e.style,{width:t.width+"px",height:t.height+"px",top:t.top+"px",left:t.left+"px",zIndex:""+qe(J.zIndex)})}},Be=function(e){V.ready===!0&&(V.bridge&&"function"==typeof V.bridge.setHandCursor?V.bridge.setHandCursor(e):V.ready=!1)},qe=function(e){if(/^(?:auto|inherit)$/.test(e))return e;var t;return"number"!=typeof e||b(e)?"string"==typeof e&&(t=qe(g(e,10))):t=e,"number"==typeof t?t:"auto"},We=function(t){var n,i,r,o=V.sandboxed,s=null;if(t=t===!0,R===!1)s=!1;else{try{i=e.frameElement||null}catch(a){r={name:a.name,message:a.message}}if(i&&1===i.nodeType&&"IFRAME"===i.nodeName)try{s=i.hasAttribute("sandbox")}catch(a){s=null}else{try{n=document.domain||null}catch(a){n=null}(null===n||r&&"SecurityError"===r.name&&/(^|[\s\(\[@])sandbox(es|ed|ing|[\s\.,!\)\]@]|$)/.test(r.message.toLowerCase()))&&(s=!0)}}return V.sandboxed=s,o===s||t||Qe(m),s},Qe=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 i(e){e&&(a=!0,e.version&&(h=t(e.version)),!h&&e.description&&(h=t(e.description)),e.filename&&(u=n(e.filename)))}var r,o,s,a=!1,c=!1,u=!1,h="";if(l.plugins&&l.plugins.length)r=l.plugins["Shockwave Flash"],i(r),l.plugins["Shockwave Flash 2.0"]&&(a=!0,h="2.0.0.11");else if(l.mimeTypes&&l.mimeTypes.length)s=l.mimeTypes["application/x-shockwave-flash"],r=s&&s.enabledPlugin,i(r);else if("undefined"!=typeof e){c=!0;try{o=new e("ShockwaveFlash.ShockwaveFlash.7"),a=!0,h=t(o.GetVariable("$version"))}catch(p){try{o=new e("ShockwaveFlash.ShockwaveFlash.6"),a=!0,h="6.0.21"}catch(d){try{o=new e("ShockwaveFlash.ShockwaveFlash"),a=!0,h=t(o.GetVariable("$version"))}catch(f){c=!1}}}}V.disabled=a!==!0,V.outdated=h&&y(h)r;r++)e=s[r].replace(/^on/,""),a[e]=!0,c[e]||(c[e]=[]),c[e].push(t);if(a.ready&&V.ready&&this.emit({type:"ready",client:this}),a.error){for(r=0,o=X.length;o>r;r++)if(V[X[r].replace(/^flash-/,"")]){this.emit({type:"error",name:X[r],client:this});break}i!==n&&Ze.version!==i&&this.emit({type:"error",name:"version-mismatch",jsVersion:Ze.version,swfVersion:i})}}return this},nt=function(e,t){var n,i,r,o,s,a=Ge[this.id],l=a&&a.handlers;if(!l)return this;if(0===arguments.length)o=_(l);else if("string"==typeof e&&e)o=e.split(/\s+/);else if("object"==typeof e&&e&&"undefined"==typeof t)for(n in e)E.call(e,n)&&"string"==typeof n&&n&&"function"==typeof e[n]&&this.off(n,e[n]);if(o&&o.length)for(n=0,i=o.length;i>n;n++)if(e=o[n].toLowerCase().replace(/^on/,""),s=l[e],s&&s.length)if(t)for(r=s.indexOf(t);-1!==r;)s.splice(r,1),r=s.indexOf(t,r);else s.length=0;return this},it=function(e){var t=null,n=Ge[this.id]&&Ge[this.id].handlers;return n&&(t="string"==typeof e&&e?n[e]?n[e].slice(0):[]:N(n)),t},rt=function(e){if(ct.call(this,e)){"object"==typeof e&&e&&"string"==typeof e.type&&e.type&&(e=A({},e));var t=A({},me(e),{client:this});ut.call(this,t)}return this},ot=function(e){if(!Ge[this.id])throw new Error("Attempted to clip element(s) to a destroyed ZeroClipboard client instance"); +e=ht(e);for(var t=0;t0,r=!e.target||i&&-1!==n.indexOf(e.target),o=e.relatedTarget&&i&&-1!==n.indexOf(e.relatedTarget),s=e.client&&e.client===this;return t&&(r||o||s)?!0:!1},ut=function(e){var t=Ge[this.id];if("object"==typeof e&&e&&e.type&&t){var n=ye(e),i=t&&t.handlers["*"]||[],r=t&&t.handlers[e.type]||[],o=i.concat(r);if(o&&o.length){var a,l,c,u,h,p=this;for(a=0,l=o.length;l>a;a++)c=o[a],u=p,"string"==typeof c&&"function"==typeof s[c]&&(c=s[c]),"object"==typeof c&&c&&"function"==typeof c.handleEvent&&(u=c,c=c.handleEvent),"function"==typeof c&&(h=A({},e),be(c,u,[h],n))}}},ht=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=s.event))&&("js"!==e._source&&(e.stopImmediatePropagation(),e.preventDefault()),delete e._source)},n=function(n){(n||(n=s.event))&&(t(n),Ze.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,i,r=["move","leave","enter","out","over"],o=0,s=r.length;s>o;o++)n="mouse"+r[o],i=t[n],"function"==typeof i&&e.removeEventListener(n,i,!1);delete Ke[e.zcClippingId]}}};Ze._createClient=function(){et.apply(this,O(arguments))},Ze.prototype.on=function(){return tt.apply(this,O(arguments))},Ze.prototype.off=function(){return nt.apply(this,O(arguments))},Ze.prototype.handlers=function(){return it.apply(this,O(arguments))},Ze.prototype.emit=function(){return rt.apply(this,O(arguments))},Ze.prototype.clip=function(){return ot.apply(this,O(arguments))},Ze.prototype.unclip=function(){return st.apply(this,O(arguments))},Ze.prototype.elements=function(){return at.apply(this,O(arguments))},Ze.prototype.destroy=function(){return lt.apply(this,O(arguments))},Ze.prototype.setText=function(e){if(!Ge[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ze.setData("text/plain",e),this},Ze.prototype.setHtml=function(e){if(!Ge[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ze.setData("text/html",e),this},Ze.prototype.setRichText=function(e){if(!Ge[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ze.setData("application/rtf",e),this},Ze.prototype.setData=function(){if(!Ge[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ze.setData.apply(this,O(arguments)),this},Ze.prototype.clearData=function(){if(!Ge[this.id])throw new Error("Attempted to clear pending clipboard data from a destroyed ZeroClipboard client instance");return Ze.clearData.apply(this,O(arguments)),this},Ze.prototype.getData=function(){if(!Ge[this.id])throw new Error("Attempted to get pending clipboard data from a destroyed ZeroClipboard client instance");return Ze.getData.apply(this,O(arguments))},"function"==typeof define&&define.amd?define(function(){return Ze}):"object"==typeof t&&t&&"object"==typeof t.exports&&t.exports?t.exports=Ze:e.ZeroClipboard=Ze}(function(){return this||window}())},{}],80:[function(e,t,n){"use strict";var i=e("dropzone");t.exports={data:function(){return{images:[],hasMore:!1,page:0,cClickTime:0,selectedImage:!1,dependantPages:!1,deleteForm:{},token:document.querySelector("meta[name=token]").getAttribute("content"),dataLoaded:!1}},created:function(){window.ImageManager=this},ready:function(){this.setupDropZone()},methods:{fetchData:function(){var e=this;this.$http.get("/images/all/"+e.page,function(t){e.images=e.images.concat(t.images),e.hasMore=t.hasMore,e.page++})},setupDropZone:function(){var e=this;new i(e.$els.dropZone,{url:"/upload/image",init:function(){var t=this;this.on("sending",function(t,n,i){i.append("_token",e.token)}),this.on("success",function(n,i){e.images.unshift(i),$(n.previewElement).fadeOut(400,function(){t.removeFile(n)})})}})},imageClick:function(e){var t=380,n=(new Date).getTime(),i=n-this.cClickTime;0!==this.cClickTime&&t>i&&this.selectedImage===e?(this.callback&&this.callback(e),this.hide()):(this.selectedImage=this.selectedImage===e?!1:e,this.dependantPages=!1),this.cClickTime=n},selectButtonClick:function(){this.callback&&this.callback(this.selectedImage),this.hide()},show:function(e){this.callback=e,this.$els.overlay.style.display="block",this.dataLoaded||(this.fetchData(this.page),this.dataLoaded=!0)},overlayClick:function(e){"overlay"===e.target.className&&this.hide()},hide:function(){this.$els.overlay.style.display="none"},saveImageDetails:function(e){e.preventDefault();var t=this;t.selectedImage._token=t.token;var n=$(t.$els.imageForm);$.ajax("/images/update/"+t.selectedImage.id,{method:"PUT",data:t.selectedImage}).done(function(){n.showSuccess("Image name updated")}).fail(function(e){n.showFailure(e.responseJSON)})},deleteImage:function(e){e.preventDefault();var t=this;t.deleteForm.force=t.dependantPages!==!1,t.deleteForm._token=t.token,$.ajax("/images/"+t.selectedImage.id,{method:"DELETE",data:t.deleteForm}).done(function(){t.images.splice(t.images.indexOf(t.selectedImage),1),t.selectedImage=!1,$(t.$els.imageTitle).showSuccess("Image Deleted")}).fail(function(e,n){400===e.status&&(t.dependantPages=e.responseJSON)})}}},("function"==typeof t.exports?t.exports.options:t.exports).template='\n
\n
\n
\n
\n
\n
\n \n
\n
Load More
\n
\n
\n \n
\n

Images

\n
\n
\n
Drop files or click here to upload
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n

\n This image is used in the pages below, Click delete again to confirm you want to delete\n this image.\n

\n \n
\n\n
\n \n
\n
\n
\n \n
\n
\n
\n
\n
\n',t.hot&&!function(){t.hot.accept();var n=e("vue-hot-reload-api");if(n.install(e("vue"),!0),n.compatible){var i="/home/dan/web/bookstack/resources/assets/js/components/image-manager.vue";t.hot.data?n.update(i,t.exports,t.exports.template):n.createRecord(i,t.exports)}}()},{dropzone:1,vue:77,"vue-hot-reload-api":3}],81:[function(e,t,n){"use strict";t.exports={props:["currentImage","name","imageClass","defaultImage"],data:function(){return{image:this.currentImage}},methods:{showImageManager:function(e){var t=this;ImageManager.show(function(e){t.image=e.url})},reset:function(){this.image=""},remove:function(){this.image="none"}}},("function"==typeof t.exports?t.exports.options:t.exports).template='\n
\n
\n Image Preview\n Image Preview\n
\n \n
\n | \n \n
\n',t.hot&&!function(){t.hot.accept();var n=e("vue-hot-reload-api");if(n.install(e("vue"),!0),n.compatible){var i="/home/dan/web/bookstack/resources/assets/js/components/image-picker.vue";t.hot.data?n.update(i,t.exports,t.exports.template):n.createRecord(i,t.exports)}}()},{vue:77,"vue-hot-reload-api":3}],82:[function(e,t,n){"use strict";t.exports={props:["name","value"],data:function(){return{isActive:1==this.value&&"false"!=this.value}},ready:function(){this.value=1==this.value&&"false"!=this.value?"true":"false"},methods:{"switch":function(){this.isActive=!this.isActive,this.value=this.isActive?"true":"false"}}},("function"==typeof t.exports?t.exports.options:t.exports).template='\n
\n \n
\n
\n',t.hot&&!function(){t.hot.accept();var n=e("vue-hot-reload-api");if(n.install(e("vue"),!0),n.compatible){var i="/home/dan/web/bookstack/resources/assets/js/components/toggle-switch.vue";t.hot.data?n.update(i,t.exports,t.exports.template):n.createRecord(i,t.exports)}}()},{vue:77,"vue-hot-reload-api":3}],83:[function(e,t,n){"use strict";function i(e){return null!==document.querySelector(e)}if(window.ZeroClipboard=e("zeroclipboard"),window.ZeroClipboard.config({swfPath:"/ZeroClipboard.swf"}),$(function(){$(".notification").click(function(){$(this).fadeOut(100)}),$("[data-dropdown]").dropDown(),$(".chapter-toggle").click(function(e){e.preventDefault(),$(this).toggleClass("open"),$(this).closest(".chapter").find(".inset-list").slideToggle(180)})}),i("#html-editor")){var r=e("./pages/page-form");tinymce.init(r)}var o=e("vue");o.use(e("vue-resource")),o.component("image-manager",e("./components/image-manager.vue")),o.component("image-picker",e("./components/image-picker.vue")),o.component("toggle-switch",e("./components/toggle-switch.vue")),i("#book-dashboard")&&new o(e("./pages/book-show"));new o({el:"#app"})},{"./components/image-manager.vue":80,"./components/image-picker.vue":81,"./components/toggle-switch.vue":82,"./pages/book-show":85,"./pages/page-form":86,vue:77,"vue-resource":5,zeroclipboard:79}],84:[function(e,t,n){"use strict";jQuery.fn.smoothScrollTo=function(){return 0!==this.length?($("body").animate({scrollTop:this.offset().top-60},800),this):void 0},$.expr[":"].contains=$.expr.createPseudo(function(e){return function(t){return $(t).text().toUpperCase().indexOf(e.toUpperCase())>=0}}),jQuery.fn.showSuccess=function(e){var t=$(this),n=$('");t.after(n),n.slideDown(400,function(){setTimeout(function(){n.slideUp(400,function(){n.remove()})},2e3)})},jQuery.fn.showFailure=function(e){var t=$(this);$.each(e,function(e,n){var i=t.find('[name="'+e+'"]').last(),r=$('");i.after(r),r.slideDown(400,function(){setTimeout(function(){r.slideUp(400,function(){r.remove()})},2e3)})})},jQuery.fn.submitForm=function(){$(this).closest("form").submit()},jQuery.fn.dropDown=function(){var e=$(this),t=e.find("ul");e.find("[data-dropdown-toggle]").on("click",function(){t.show().addClass("anim menuIn"),e.mouseleave(function(){t.hide(),t.removeClass("anim menuIn")})})}},{}],85:[function(e,t,n){"use strict";t.exports={el:"#book-dashboard",data:{searching:!1,searchTerm:"",searchResults:""},methods:{searchBook:function(e){e.preventDefault();var t=this.searchTerm;if(0!=t.length){this.searching=!0,this.searchResults="";var n=this.$els.form.getAttribute("action");n+="?term="+encodeURIComponent(t),this.$http.get(n,function(e){this.$set("searchResults",e)})}},checkSearchForm:function(e){this.searchTerm.length<1&&(this.searching=!1)},clearSearch:function(e){this.searching=!1,this.searchTerm=""}}}},{}],86:[function(e,t,n){"use strict";t.exports={selector:"#html-editor",content_css:["/build//css/styles-37cf2b24e1.css","//fonts.googleapis.com/css?family=Roboto:400,400italic,500,500italic,700,700italic,300italic,100,300"],body_class:"page-content",relative_urls:!1,statusbar:!1,menubar:!1,paste_data_images:!1,extended_valid_elements:"pre[*]",automatic_uploads:!1,valid_children:"-div[p|pre|h1|h2|h3|h4|h5|h6|blockquote]",plugins:"image table textcolor paste link fullscreen imagetools code hr autosave",imagetools_toolbar:"imageoptions",toolbar:"undo redo | styleselect | bold italic underline strikethrough superscript subscript | forecolor backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | table image-insert link hr | removeformat code fullscreen",content_style:"body {padding-left: 15px !important; padding-right: 15px !important; margin:0!important; margin-left:auto!important;margin-right:auto!important;}",style_formats:[{title:"Header 1",format:"h1"},{title:"Header 2",format:"h2"},{title:"Header 3",format:"h3"},{title:"Paragraph",format:"p"},{title:"Blockquote",format:"blockquote"},{title:"Code Block",icon:"code",format:"pre"},{title:"Inline Code",icon:"code",inline:"code"}],formats:{alignleft:{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img",classes:"align-left"},aligncenter:{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img",classes:"align-center"},alignright:{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img",classes:"align-right"}},file_browser_callback:function(e,t,n,i){ImageManager.show(function(t){if(i.document.getElementById(e).value=t.url,"createEvent"in document){var n=document.createEvent("HTMLEvents");n.initEvent("change",!1,!0),i.document.getElementById(e).dispatchEvent(n)}else i.document.getElementById(e).fireEvent("onchange")})},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 i=0;i');var u="image-"+Date.now()+"."+s;o.append("file",r,u),o.append("_token",document.querySelector('meta[name="token"]').getAttribute("content")),a.open("POST","/upload/image"),a.onload=function(){if(200===a.status||201===a.status){var t=JSON.parse(a.responseText);e.dom.setAttrib(c,"src",t.url)}else console.log("An error occured uploading the image"),console.log(a.responseText)},a.send(o)}}})}}},{}]},{},[84,83]); \ No newline at end of file diff --git a/public/build/rev-manifest.json b/public/build/rev-manifest.json new file mode 100644 index 00000000000..cc2d0c4886e --- /dev/null +++ b/public/build/rev-manifest.json @@ -0,0 +1,5 @@ +{ + "css/print-styles.css": "css/print-styles-88bf3b16e2.css", + "css/styles.css": "css/styles-37cf2b24e1.css", + "js/common.js": "js/common-eec3acdffc.js" +} \ No newline at end of file From d2cacf1945eb4640607bc3d1c84ee7e1010a3db5 Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Tue, 1 Dec 2015 21:30:21 +0000 Subject: [PATCH 02/54] Release update --- .../css/{styles-37cf2b24e1.css => styles-9bbd48e72b.css} | 2 +- .../build/js/{common-eec3acdffc.js => common-80db108453.js} | 2 +- public/build/rev-manifest.json | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) rename public/build/css/{styles-37cf2b24e1.css => styles-9bbd48e72b.css} (92%) rename public/build/js/{common-eec3acdffc.js => common-80db108453.js} (92%) diff --git a/public/build/css/styles-37cf2b24e1.css b/public/build/css/styles-9bbd48e72b.css similarity index 92% rename from public/build/css/styles-37cf2b24e1.css rename to public/build/css/styles-9bbd48e72b.css index 3a6d336fd97..5d8e80b4c5a 100644 --- a/public/build/css/styles-37cf2b24e1.css +++ b/public/build/css/styles-9bbd48e72b.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}ol,ul{margin-left:24px}.link,.text-button,a,body{font-family:Roboto,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}*{box-sizing:border-box}html{background-color:#FFF;height:100%}body{font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}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:.5em}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-chapter,.text-chapter:hover{color:#ef7c3c}span.highlight{font-weight:700}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}.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{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,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=search],input[type=url],input[type=password],input[type=number],input[type=email],select,textarea{background-color:#FFF;border-radius:3px;border:1px solid #CCC;display:inline-block;font-size:14px;font-family:Roboto,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=search],input.invalid[type=url],input.invalid[type=password],input.invalid[type=number],input.invalid[type=email],input.neg[type=text],input.neg[type=search],input.neg[type=url],input.neg[type=password],input.neg[type=number],input.neg[type=email],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=search],input.pos[type=url],input.pos[type=password],input.pos[type=number],input.pos[type=email],input.valid[type=text],input.valid[type=search],input.valid[type=url],input.valid[type=password],input.valid[type=number],input.valid[type=email],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=search],input.disabled[type=url],input.disabled[type=password],input.disabled[type=number],input.disabled[type=email],input[disabled][type=text],input[disabled][type=search],input[disabled][type=url],input[disabled][type=password],input[disabled][type=number],input[disabled][type=email],select.disabled,select[disabled],textarea.disabled,textarea[disabled]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAMUlEQVQIW2NkwAGuXbv2nxGbHEhCS0uLEUMSJgHShCKJLIEiiS4Bl8QmAZbEJQGSBAC62BuJ+tt7zgAAAABJRU5ErkJggg==)}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}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,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%}.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;display:none;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;max-width:1340px;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 img{display:block;border-radius:0;float:left;margin:0;cursor:pointer;width:16.6666666667%;height:auto;border:1px solid #FFF;transition:all cubic-bezier(.4,0,1,1) 160ms}.image-manager-list img.selected{-webkit-transform:scale3d(.92,.92,.92);transform:scale3d(.92,.92,.92)}#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}.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:8px;font-size:13px;top:130px;left:-10px;width:140px;background:#be2626;background:linear-gradient(to bottom,#be2626,#a92222);padding:.5em 1.2em;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 #be2626}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:7.2px}@media screen and (max-width:992px){header .user-name{padding-left:6px}header .user-name .name{display:none}header .user-name i{font-size:2em;padding-left:0;padding-top:0}header{text-align:center}header .float.right{float:none}}.dropdown-container,.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}}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{vertical-align:top;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;text-decoration:none}.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}.dropdown-container{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}.page-list .page,.page-list h4{border-left:5px solid #0288D1}.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}.breadcrumbs span.sep{color:#aaa;padding:0 6px}.faded a,.faded button,.faded span{color:#666}.faded .text-button{opacity:.5;transition:all ease-in-out 120ms}.faded .text-button:hover{opacity:1;text-decoration:none}.faded-small{color:#000;font-size:.9em;background-color:rgba(21,101,192,.15)}.action-buttons .text-button,.breadcrumbs .text-button{display:inline-block;padding:12px}.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}.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;padding:6px 0 6px 16px}.page-list hr{margin-top:0}.page-list .book,.page-list .chapter,.page-list .page{padding-left:24px}.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{margin-top:32px}.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;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:hover{background-color:rgba(255,255,255,.2);text-decoration:none}.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}.book-tree .sidebar-page-list .page{color:#0288D1!important;border-left:5px solid #0288D1;margin:10px;border-bottom:none}.book-tree .sidebar-page-list .page.selected{background-color:rgba(2,136,209,.1)}.book-tree .sidebar-page-list .sub-menu{display:none}.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}.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{float:left!important;text-align:left;margin:6px 12px 6px 0}.page-content .align-right{float:right!important;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;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto}.pointer-container{position:relative;display:none;left:2%}.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}.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:1}.pointer input{background-color:#FFF;border:1px solid #DDD;color:#666;width:180px;z-index:40}.avatar,.notification{background-color:#EEE}.pointer button,.pointer input{position:relative;border-radius:0;height:28px;font-size:12px}.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}.dragged{position:absolute;opacity:.5;z-index:2000}body.dragging,body.dragging *{cursor:move!important}.avatar{border-radius:100%}.avatar.med{width:40px;height:40px}.notification{position:fixed;top:0;right:0;margin:64px 32px;padding:24px 32px;border-radius:3px;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}.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} \ No newline at end of file +.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}ol,ul{margin-left:24px}.link,.text-button,a,body{font-family:Roboto,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}*{box-sizing:border-box}html{background-color:#FFF;height:100%}body{font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}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:.5em}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-chapter,.text-chapter:hover{color:#ef7c3c}span.highlight{font-weight:700}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}.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{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,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=search],input[type=url],input[type=password],input[type=number],input[type=email],select,textarea{background-color:#FFF;border-radius:3px;border:1px solid #CCC;display:inline-block;font-size:14px;font-family:Roboto,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=search],input.invalid[type=url],input.invalid[type=password],input.invalid[type=number],input.invalid[type=email],input.neg[type=text],input.neg[type=search],input.neg[type=url],input.neg[type=password],input.neg[type=number],input.neg[type=email],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=search],input.pos[type=url],input.pos[type=password],input.pos[type=number],input.pos[type=email],input.valid[type=text],input.valid[type=search],input.valid[type=url],input.valid[type=password],input.valid[type=number],input.valid[type=email],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=search],input.disabled[type=url],input.disabled[type=password],input.disabled[type=number],input.disabled[type=email],input[disabled][type=text],input[disabled][type=search],input[disabled][type=url],input[disabled][type=password],input[disabled][type=number],input[disabled][type=email],select.disabled,select[disabled],textarea.disabled,textarea[disabled]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAMUlEQVQIW2NkwAGuXbv2nxGbHEhCS0uLEUMSJgHShCKJLIEiiS4Bl8QmAZbEJQGSBAC62BuJ+tt7zgAAAABJRU5ErkJggg==)}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}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,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%}.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;display:none;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;max-width:1340px;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 img{display:block;border-radius:0;float:left;margin:0;cursor:pointer;width:16.6666666667%;height:auto;border:1px solid #FFF;transition:all cubic-bezier(.4,0,1,1) 160ms}.image-manager-list img.selected{-webkit-transform:scale3d(.92,.92,.92);transform:scale3d(.92,.92,.92)}#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}.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:8px;font-size:13px;top:130px;left:-10px;width:140px;background:#be2626;background:linear-gradient(to bottom,#be2626,#a92222);padding:.5em 1.2em;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 #be2626}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:7.2px}@media screen and (max-width:992px){header .user-name{padding-left:6px}header .user-name .name{display:none}header .user-name i{font-size:2em;padding-left:0;padding-top:0}header{text-align:center}header .float.right{float:none}}.dropdown-container,.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}}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{vertical-align:top;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;text-decoration:none}.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}.dropdown-container{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}.page-list .page,.page-list h4{border-left:5px solid #0288D1}.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}.breadcrumbs span.sep{color:#aaa;padding:0 6px}.faded a,.faded button,.faded span{color:#666}.faded .text-button{opacity:.5;transition:all ease-in-out 120ms}.faded .text-button:hover{opacity:1;text-decoration:none}.faded-small{color:#000;font-size:.9em;background-color:rgba(21,101,192,.15)}.action-buttons .text-button,.breadcrumbs .text-button{display:inline-block;padding:12px}.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}.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;padding:6px 0 6px 16px}.page-list hr{margin-top:0}.page-list .book,.page-list .chapter,.page-list .page{padding-left:24px}.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{margin-top:32px}.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;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:hover{background-color:rgba(255,255,255,.2);text-decoration:none}.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}.book-tree .sidebar-page-list .page{color:#0288D1!important;border-left:5px solid #0288D1;margin:10px;border-bottom:none}.book-tree .sidebar-page-list .page.selected{background-color:rgba(2,136,209,.1)}.book-tree .sidebar-page-list .sub-menu{display:none}.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}.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;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto}.pointer-container{position:relative;display:none;left:2%}.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}.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:1}.pointer input{background-color:#FFF;border:1px solid #DDD;color:#666;width:180px;z-index:40}.avatar,.notification{background-color:#EEE}.pointer button,.pointer input{position:relative;border-radius:0;height:28px;font-size:12px}.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}.dragged{position:absolute;opacity:.5;z-index:2000}body.dragging,body.dragging *{cursor:move!important}.avatar{border-radius:100%}.avatar.med{width:40px;height:40px}.notification{position:fixed;top:0;right:0;margin:64px 32px;padding:24px 32px;border-radius:3px;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}.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} \ No newline at end of file diff --git a/public/build/js/common-eec3acdffc.js b/public/build/js/common-80db108453.js similarity index 92% rename from public/build/js/common-eec3acdffc.js rename to public/build/js/common-80db108453.js index bb1ded8e991..6872af9ac55 100644 --- a/public/build/js/common-eec3acdffc.js +++ b/public/build/js/common-80db108453.js @@ -3,4 +3,4 @@ }],24:[function(e,t,n){(function(n){function i(){}function r(e,t,i,r,o,s){this.vm=t,this.el=i,this.descriptor=e,this.name=e.name,this.expression=e.expression,this.arg=e.arg,this.modifiers=e.modifiers,this.filters=e.filters,this.literal=this.modifiers&&this.modifiers.literal,this._locked=!1,this._bound=!1,this._listeners=null,this._host=r,this._scope=o,this._frag=s,"production"!==n.env.NODE_ENV&&this.el&&(this.el._vue_directives=this.el._vue_directives||[],this.el._vue_directives.push(this))}var o=e("./util"),s=e("./watcher"),a=e("./parsers/expression");r.prototype._bind=function(){var e=this.name,t=this.descriptor;if(("cloak"!==e||this.vm._isCompiled)&&this.el&&this.el.removeAttribute){var n=t.attr||"v-"+e;this.el.removeAttribute(n)}var r=t.def;if("function"==typeof r?this.update=r:o.extend(this,r),this._setupParams(),this.bind&&this.bind(),this.literal)this.update&&this.update(t.raw);else if((this.expression||this.modifiers)&&(this.update||this.twoWay)&&!this._checkStatement()){var a=this;this.update?this._update=function(e,t){a._locked||a.update(e,t)}:this._update=i;var l=this._preProcess?o.bind(this._preProcess,this):null,c=this._postProcess?o.bind(this._postProcess,this):null,u=this._watcher=new s(this.vm,this.expression,this._update,{filters:this.filters,twoWay:this.twoWay,deep:this.deep,preProcess:l,postProcess:c,scope:this._scope});this.afterBind?this.afterBind():this.update&&this.update(u.value)}this._bound=!0},r.prototype._setupParams=function(){if(this.params){var e=this.params;this.params=Object.create(null);for(var t,n,i,r=e.length;r--;)t=e[r],i=o.camelize(t),n=o.getBindAttr(this.el,t),null!=n?this._setupParamWatcher(i,n):(n=o.attr(this.el,t),null!=n&&(this.params[i]=""===n?!0:n))}},r.prototype._setupParamWatcher=function(e,t){var n=this,i=!1,r=(this._scope||this.vm).$watch(t,function(t,r){if(n.params[e]=t,i){var o=n.paramWatchers&&n.paramWatchers[e];o&&o.call(n,t,r)}else i=!0},{immediate:!0});(this._paramUnwatchFns||(this._paramUnwatchFns=[])).push(r)},r.prototype._checkStatement=function(){var e=this.expression;if(e&&this.acceptStatement&&!a.isSimplePath(e)){var t=a.parse(e).get,n=this._scope||this.vm,i=function(){t.call(n,n)};return this.filters&&(i=n._applyFilters(i,null,this.filters)),this.update(i),!0}},r.prototype.set=function(e){this.twoWay?this._withLock(function(){this._watcher.set(e)}):"production"!==n.env.NODE_ENV&&o.warn("Directive.set() can only be used inside twoWaydirectives.")},r.prototype._withLock=function(e){var t=this;t._locked=!0,e.call(t),o.nextTick(function(){t._locked=!1})},r.prototype.on=function(e,t){o.on(this.el,e,t),(this._listeners||(this._listeners=[])).push([e,t])},r.prototype._teardown=function(){if(this._bound){this._bound=!1,this.unbind&&this.unbind(),this._watcher&&this._watcher.teardown();var e,t=this._listeners;if(t)for(e=t.length;e--;)o.off(this.el,t[e][0],t[e][1]);var i=this._paramUnwatchFns;if(i)for(e=i.length;e--;)i[e]();"production"!==n.env.NODE_ENV&&this.el&&this.el._vue_directives.$remove(this),this.vm=this.el=this._watcher=this._listeners=null}},t.exports=r}).call(this,e("_process"))},{"./parsers/expression":63,"./util":74,"./watcher":78,_process:2}],25:[function(e,t,n){n.slot=e("./slot"),n.partial=e("./partial")},{"./partial":26,"./slot":27}],26:[function(e,t,n){(function(n){var i=e("../../util"),r=e("../public/if"),o=e("../../fragment/factory");t.exports={priority:1750,params:["name"],paramWatchers:{name:function(e){r.remove.call(this),e&&this.insert(e)}},bind:function(){this.anchor=i.createAnchor("v-partial"),i.replace(this.el,this.anchor),this.insert(this.params.name)},insert:function(e){var t=i.resolveAsset(this.vm.$options,"partials",e);"production"!==n.env.NODE_ENV&&i.assertAsset(t,"partial",e),t&&(this.factory=new o(this.vm,t),r.insert.call(this))},unbind:function(){this.frag&&this.frag.destroy()}}}).call(this,e("_process"))},{"../../fragment/factory":52,"../../util":74,"../public/if":39,_process:2}],27:[function(e,t,n){function i(e,t,n){function i(e){!r.isTemplate(e)||e.hasAttribute("v-if")||e.hasAttribute("v-for")||(e=o.parse(e)),e=o.clone(e),s.appendChild(e)}for(var s=document.createDocumentFragment(),a=0,l=e.length;l>a;a++){var c=e[a];n&&!c.__v_selected?i(c):n||c.parentNode!==t||(c.__v_selected=!0,i(c))}return s}var r=e("../../util"),o=e("../../parsers/template");t.exports={priority:1750,params:["name"],bind:function(){var e,t=this.vm,n=t.$options._content;if(!n)return void this.fallback();var r=t._context,o=this.params.name;if(o){var s='[slot="'+o+'"]',a=n.querySelectorAll(s);a.length?(e=i(a,n),e.hasChildNodes()?this.compile(e,r,t):this.fallback()):this.fallback()}else{var l=this,c=function(){l.compile(i(n.childNodes,n,!0),r,t)};t._isCompiled?c():t.$once("hook:compiled",c)}},fallback:function(){this.compile(r.extractContent(this.el,!0),this.vm)},compile:function(e,t,n){if(e&&t){var i=n?n._scope:this._scope;this.unlink=t.$compile(e,n,i,this._frag)}e?r.replace(this.el,e):r.remove(this.el)},unbind:function(){this.unlink&&this.unlink()}}},{"../../parsers/template":65,"../../util":74}],28:[function(e,t,n){function i(e){for(var t={},n=e.trim().split(/\s+/),i=n.length;i--;)t[n[i]]=!0;return t}function r(e,t){return o.isArray(e)?e.indexOf(t)>-1:e.hasOwnProperty(t)}var o=e("../../util"),s=o.addClass,a=o.removeClass;t.exports={deep:!0,update:function(e){e&&"string"==typeof e?this.handleObject(i(e)):o.isPlainObject(e)?this.handleObject(e):o.isArray(e)?this.handleArray(e):this.cleanup()},handleObject:function(e){this.cleanup(e);for(var t=this.prevKeys=Object.keys(e),n=0,i=t.length;i>n;n++){var r=t[n];e[r]?s(this.el,r):a(this.el,r)}},handleArray:function(e){this.cleanup(e);for(var t=0,n=e.length;n>t;t++)e[t]&&s(this.el,e[t]);this.prevKeys=e.slice()},cleanup:function(e){if(this.prevKeys)for(var t=this.prevKeys.length;t--;){var n=this.prevKeys[t];!n||e&&r(e,n)||a(this.el,n)}}}},{"../../util":74}],29:[function(e,t,n){(function(n){var i=e("../../util"),r=e("../../parsers/template");t.exports={priority:1500,params:["keep-alive","transition-mode","inline-template"],bind:function(){this.el.__vue__?"production"!==n.env.NODE_ENV&&i.warn('cannot mount component "'+this.expression+'" on already mounted element: '+this.el):(this.keepAlive=this.params.keepAlive,this.keepAlive&&(this.cache={}),this.params.inlineTemplate&&(this.inlineTemplate=i.extractContent(this.el,!0)),this.pendingComponentCb=this.Component=null,this.pendingRemovals=0,this.pendingRemovalCb=null,this.anchor=i.createAnchor("v-component"),i.replace(this.el,this.anchor),this.el.removeAttribute("is"),this.literal&&this.setComponent(this.expression))},update:function(e){this.literal||this.setComponent(e)},setComponent:function(e,t){if(this.invalidatePending(),e){var n=this;this.resolveComponent(e,function(){n.mountComponent(t)})}else this.unbuild(!0),this.remove(this.childVM,t),this.childVM=null},resolveComponent:function(e,t){var n=this;this.pendingComponentCb=i.cancellable(function(i){n.ComponentName=i.options.name||e,n.Component=i,t()}),this.vm._resolveComponent(e,this.pendingComponentCb)},mountComponent:function(e){this.unbuild(!0);var t=this,n=this.Component.options.activate,i=this.getCached(),r=this.build();n&&!i?(this.waitingFor=r,n.call(r,function(){t.waitingFor=null,t.transition(r,e)})):(i&&r._updateRef(),this.transition(r,e))},invalidatePending:function(){this.pendingComponentCb&&(this.pendingComponentCb.cancel(),this.pendingComponentCb=null)},build:function(e){var t=this.getCached();if(t)return t;if(this.Component){var o={name:this.ComponentName,el:r.clone(this.el),template:this.inlineTemplate,parent:this._host||this.vm,_linkerCachable:!this.inlineTemplate,_ref:this.descriptor.ref,_asComponent:!0,_isRouterView:this._isRouterView,_context:this.vm,_scope:this._scope,_frag:this._frag};e&&i.extend(o,e);var s=new this.Component(o);return this.keepAlive&&(this.cache[this.Component.cid]=s),"production"!==n.env.NODE_ENV&&this.el.hasAttribute("transition")&&s._isFragment&&i.warn("Transitions will not work on a fragment instance. Template: "+s.$options.template),s}},getCached:function(){return this.keepAlive&&this.cache[this.Component.cid]},unbuild:function(e){this.waitingFor&&(this.waitingFor.$destroy(),this.waitingFor=null);var t=this.childVM;return!t||this.keepAlive?void(t&&t._updateRef(!0)):void t.$destroy(!1,e)},remove:function(e,t){var n=this.keepAlive;if(e){this.pendingRemovals++,this.pendingRemovalCb=t;var i=this;e.$remove(function(){i.pendingRemovals--,n||e._cleanup(),!i.pendingRemovals&&i.pendingRemovalCb&&(i.pendingRemovalCb(),i.pendingRemovalCb=null)})}else t&&t()},transition:function(e,t){var i=this,r=this.childVM;switch("production"!==n.env.NODE_ENV&&(r&&(r._inactive=!0),e._inactive=!1),this.childVM=e,i.params.transitionMode){case"in-out":e.$before(i.anchor,function(){i.remove(r,t)});break;case"out-in":i.remove(r,function(){e.$before(i.anchor,t)});break;default:i.remove(r),e.$before(i.anchor,t)}},unbind:function(){if(this.invalidatePending(),this.unbuild(),this.cache){for(var e in this.cache)this.cache[e].$destroy();this.cache=null}}}}).call(this,e("_process"))},{"../../parsers/template":65,"../../util":74,_process:2}],30:[function(e,t,n){n.style=e("./style"),n["class"]=e("./class"),n.component=e("./component"),n.prop=e("./prop"),n.transition=e("./transition")},{"./class":28,"./component":29,"./prop":31,"./style":32,"./transition":33}],31:[function(e,t,n){var i=e("../../util"),r=e("../../watcher"),o=e("../../config")._propBindingModes;t.exports={bind:function(){var e=this.vm,t=e._context,n=this.descriptor.prop,s=n.path,a=n.parentPath,l=n.mode===o.TWO_WAY,c=this.parentWatcher=new r(t,a,function(t){i.assertProp(n,t)&&(e[s]=t)},{twoWay:l,filters:n.filters,scope:this._scope});if(i.initProp(e,n,c.value),l){var u=this;e.$once("hook:created",function(){u.childWatcher=new r(e,s,function(e){c.set(e)},{sync:!0})})}},unbind:function(){this.parentWatcher.teardown(),this.childWatcher&&this.childWatcher.teardown()}}},{"../../config":23,"../../util":74,"../../watcher":78}],32:[function(e,t,n){function i(e){if(u[e])return u[e];var t=r(e);return u[e]=u[t]=t,t}function r(e){e=o.hyphenate(e);var t=o.camelize(e),n=t.charAt(0).toUpperCase()+t.slice(1);if(c||(c=document.createElement("div")),t in c.style)return e;for(var i,r=s.length;r--;)if(i=a[r]+n,i in c.style)return s[r]+e}var o=e("../../util"),s=["-webkit-","-moz-","-ms-"],a=["Webkit","Moz","ms"],l=/!important;?$/,c=null,u={};t.exports={deep:!0,update:function(e){"string"==typeof e?this.el.style.cssText=e:o.isArray(e)?this.handleObject(e.reduce(o.extend,{})):this.handleObject(e||{})},handleObject:function(e){var t,n,i=this.cache||(this.cache={});for(t in i)t in e||(this.handleSingle(t,null),delete i[t]);for(t in e)n=e[t],n!==i[t]&&(i[t]=n,this.handleSingle(t,n))},handleSingle:function(e,t){if(e=i(e))if(null!=t&&(t+=""),t){var n=l.test(t)?"important":"";n&&(t=t.replace(l,"").trim()),this.el.style.setProperty(e,t,n)}else this.el.style.removeProperty(e)}}},{"../../util":74}],33:[function(e,t,n){var i=e("../../util"),r=e("../../transition/transition");t.exports={priority:1100,update:function(e,t){var n=this.el,o=i.resolveAsset(this.vm.$options,"transitions",e);e=e||"v",n.__v_trans=new r(n,e,o,this.el.__vue__||this.vm),t&&i.removeClass(n,t+"-transition"),i.addClass(n,e+"-transition")}}},{"../../transition/transition":69,"../../util":74}],34:[function(e,t,n){(function(n){var i=e("../../util"),r="http://www.w3.org/1999/xlink",o=/^xlink:/,s={value:1,checked:1,selected:1},a={value:"_value","true-value":"_trueValue","false-value":"_falseValue"},l=/^v-|^:|^@|^(is|transition|transition-mode|debounce|track-by|stagger|enter-stagger|leave-stagger)$/;t.exports={priority:850,bind:function(){var e=this.arg,t=this.el.tagName;if(e||(this.deep=!0),this.descriptor.interp&&((l.test(e)||"name"===e&&("PARTIAL"===t||"SLOT"===t))&&("production"!==n.env.NODE_ENV&&i.warn(e+'="'+this.descriptor.raw+'": attribute interpolation is not allowed in Vue.js directives and special attributes.'),this.el.removeAttribute(e),this.invalid=!0),"production"!==n.env.NODE_ENV)){var r=e+'="'+this.descriptor.raw+'": ';"src"===e&&i.warn(r+'interpolation in "src" attribute will cause a 404 request. Use v-bind:src instead.'),"style"===e&&i.warn(r+'interpolation in "style" attribute will cause the attribute to be discarded in Internet Explorer. Use v-bind:style instead.')}},update:function(e){if(!this.invalid){var t=this.arg;this.arg?this.handleSingle(t,e):this.handleObject(e||{})}},handleObject:e("../internal/style").handleObject,handleSingle:function(e,t){s[e]&&e in this.el&&(this.el[e]="value"===e?t||"":t);var n=a[e];if(n){this.el[n]=t;var i=this.el.__v_model;i&&i.listener()}return"value"===e&&"TEXTAREA"===this.el.tagName?void this.el.removeAttribute(e):void(null!=t&&t!==!1?o.test(e)?this.el.setAttributeNS(r,e,t):this.el.setAttribute(e,t):this.el.removeAttribute(e))}}}).call(this,e("_process"))},{"../../util":74,"../internal/style":32,_process:2}],35:[function(e,t,n){t.exports={bind:function(){var e=this.el;this.vm.$once("hook:compiled",function(){e.removeAttribute("v-cloak")})}}},{}],36:[function(e,t,n){var i=e("../../util");t.exports={priority:1500,bind:function(){if(this.arg){var e=this.id=i.camelize(this.arg),t=(this._scope||this.vm).$els;t.hasOwnProperty(e)?t[e]=this.el:i.defineReactive(t,e,this.el)}},unbind:function(){var e=(this._scope||this.vm).$els;e[this.id]===this.el&&(e[this.id]=null)}}},{"../../util":74}],37:[function(e,t,n){(function(n){function i(e,t,n){var i=e.node.previousSibling;if(i){for(e=i.__vfrag__;!(e&&e.forId===n&&e.inserted||i===t);){if(i=i.previousSibling,!i)return;e=i.__vfrag__}return e}}function r(e){return e.node.__vue__||e.node.nextSibling.__vue__}function o(e){for(var t=-1,n=new Array(e);++tt;t++)u=e[t],o=h?u.$key:null,a=h?u.$value:u,c=!l(a),r=!w&&this.getCachedFrag(a,t,o),r?(r.reused=!0,r.scope.$index=t,o&&(r.scope.$key=o),v&&(r.scope[v]=null!==o?o:t),(p||h||c)&&(r.scope[m]=a)):(r=this.create(a,m,t,o),r.fresh=!w),f[t]=r,w&&r.before(y);if(!w){var _=0,x=d.length-f.length;for(t=0,n=d.length;n>t;t++)r=d[t],r.reused||(this.deleteCachedFrag(r),this.remove(r,_++,x,b));var E,C,k,O=0;for(t=0,n=f.length;n>t;t++)r=f[t],E=f[t-1],C=E?E.staggerCb?E.staggerAnchor:E.end||E.node:g,r.reused&&!r.staggerCb?(k=i(r,g,this.id),k!==E&&this.move(r,C)):this.insert(r,O++,C,b),r.reused=r.fresh=!1}},create:function(e,t,n,i){var r=this._host,o=this._scope||this.vm,a=Object.create(o);a.$refs=Object.create(o.$refs),a.$els=Object.create(o.$els),a.$parent=o,a.$forContext=this,s.defineReactive(a,t,e),s.defineReactive(a,"$index",n),i?s.defineReactive(a,"$key",i):a.$key&&s.define(a,"$key",null),this.iterator&&s.defineReactive(a,this.iterator,null!==i?i:n);var l=this.factory.create(r,a,this._frag);return l.forId=this.id,this.cacheFrag(e,l,n,i),l},updateRef:function(){var e=this.descriptor.ref;if(e){var t,n=(this._scope||this.vm).$refs;this.fromObject?(t={},this.frags.forEach(function(e){t[e.scope.$key]=r(e)})):t=this.frags.map(r),n[e]=t}},updateModel:function(){if(this.isOption){var e=this.start.parentNode,t=e&&e.__v_model;t&&t.forceUpdate()}},insert:function(e,t,n,i){e.staggerCb&&(e.staggerCb.cancel(),e.staggerCb=null);var r=this.getStagger(e,t,null,"enter");if(i&&r){var o=e.staggerAnchor;o||(o=e.staggerAnchor=s.createAnchor("stagger-anchor"),o.__vfrag__=e),s.after(o,n);var a=e.staggerCb=s.cancellable(function(){e.staggerCb=null,e.before(o),s.remove(o)});setTimeout(a,r)}else e.before(n.nextSibling)},remove:function(e,t,n,i){if(e.staggerCb)return e.staggerCb.cancel(),void(e.staggerCb=null);var r=this.getStagger(e,t,n,"leave");if(i&&r){var o=e.staggerCb=s.cancellable(function(){e.staggerCb=null,e.remove()});setTimeout(o,r)}else e.remove()},move:function(e,t){e.before(t.nextSibling,!1)},cacheFrag:function(e,t,i,r){var o,a=this.params.trackBy,c=this.cache,u=!l(e);r||a||u?(o=a?"$index"===a?i:e[a]:r||e,c[o]?"$index"!==a&&"production"!==n.env.NODE_ENV&&this.warnDuplicate(e):c[o]=t):(o=this.id,e.hasOwnProperty(o)?null===e[o]?e[o]=t:"production"!==n.env.NODE_ENV&&this.warnDuplicate(e):s.define(e,o,t)),t.raw=e},getCachedFrag:function(e,t,i){var r,o=this.params.trackBy,s=!l(e);if(i||o||s){var a=o?"$index"===o?t:e[o]:i||e;r=this.cache[a]}else r=e[this.id];return r&&(r.reused||r.fresh)&&"production"!==n.env.NODE_ENV&&this.warnDuplicate(e),r},deleteCachedFrag:function(e){var t=e.raw,n=this.params.trackBy,i=e.scope,r=i.$index,o=i.hasOwnProperty("$key")&&i.$key,s=!l(t);if(n||o||s){var a=n?"$index"===n?r:t[n]:o||t;this.cache[a]=null}else t[this.id]=null,e.raw=null},getStagger:function(e,t,n,i){i+="Stagger";var r=e.node.__v_trans,o=r&&r.hooks,s=o&&(o[i]||o.stagger);return s?s.call(e,t,n):t*parseInt(this.params[i]||this.params.stagger,10)},_preProcess:function(e){return this.rawValue=e,e},_postProcess:function(e){if(s.isArray(e))return e;if(s.isPlainObject(e)){for(var t,n=Object.keys(e),i=n.length,r=new Array(i);i--;)t=n[i],r[i]={$key:t,$value:e[t]};return r}return"number"==typeof e&&(e=o(e)),e||[]},unbind:function(){if(this.descriptor.ref&&((this._scope||this.vm).$refs[this.descriptor.ref]=null),this.frags)for(var e,t=this.frags.length;t--;)e=this.frags[t],this.deleteCachedFrag(e),e.destroy()}},"production"!==n.env.NODE_ENV&&(t.exports.warnDuplicate=function(e){s.warn('Duplicate value found in v-for="'+this.descriptor.raw+'": '+JSON.stringify(e)+'. Use track-by="$index" if you are expecting duplicate values.')})}).call(this,e("_process"))},{"../../fragment/factory":52,"../../util":74,_process:2}],38:[function(e,t,n){var i=e("../../util"),r=e("../../parsers/template");t.exports={bind:function(){8===this.el.nodeType&&(this.nodes=[],this.anchor=i.createAnchor("v-html"),i.replace(this.el,this.anchor))},update:function(e){e=i.toString(e),this.nodes?this.swap(e):this.el.innerHTML=e},swap:function(e){for(var t=this.nodes.length;t--;)i.remove(this.nodes[t]);var n=r.parse(e,!0,!0);this.nodes=i.toArray(n.childNodes),i.before(n,this.anchor)}}},{"../../parsers/template":65,"../../util":74}],39:[function(e,t,n){(function(n){var i=e("../../util"),r=e("../../fragment/factory");t.exports={priority:2e3,bind:function(){var e=this.el;if(e.__vue__)"production"!==n.env.NODE_ENV&&i.warn('v-if="'+this.expression+'" cannot be used on an instance root element.'),this.invalid=!0;else{var t=e.nextElementSibling;t&&null!==i.attr(t,"v-else")&&(i.remove(t),this.elseFactory=new r(this.vm,t)),this.anchor=i.createAnchor("v-if"),i.replace(e,this.anchor),this.factory=new r(this.vm,e)}},update:function(e){this.invalid||(e?this.frag||this.insert():this.remove())},insert:function(){this.elseFrag&&(this.elseFrag.remove(),this.elseFrag=null),this.frag=this.factory.create(this._host,this._scope,this._frag),this.frag.before(this.anchor)},remove:function(){this.frag&&(this.frag.remove(),this.frag=null),this.elseFactory&&!this.elseFrag&&(this.elseFrag=this.elseFactory.create(this._host,this._scope,this._frag),this.elseFrag.before(this.anchor))},unbind:function(){this.frag&&this.frag.destroy()}}}).call(this,e("_process"))},{"../../fragment/factory":52,"../../util":74,_process:2}],40:[function(e,t,n){n.text=e("./text"),n.html=e("./html"),n["for"]=e("./for"),n["if"]=e("./if"),n.show=e("./show"),n.model=e("./model"),n.on=e("./on"),n.bind=e("./bind"),n.el=e("./el"),n.ref=e("./ref"),n.cloak=e("./cloak")},{"./bind":34,"./cloak":35,"./el":36,"./for":37,"./html":38,"./if":39,"./model":42,"./on":46,"./ref":47,"./show":48,"./text":49}],41:[function(e,t,n){var i=e("../../../util");t.exports={bind:function(){function e(){var e=n.checked;return e&&n.hasOwnProperty("_trueValue")?n._trueValue:!e&&n.hasOwnProperty("_falseValue")?n._falseValue:e}var t=this,n=this.el;this.getValue=function(){return n.hasOwnProperty("_value")?n._value:t.params.number?i.toNumber(n.value):n.value},this.listener=function(){var r=t._watcher.value;if(i.isArray(r)){var o=t.getValue();n.checked?i.indexOf(r,o)<0&&r.push(o):r.$remove(o)}else t.set(e())},this.on("change",this.listener),n.checked&&(this.afterBind=this.listener)},update:function(e){var t=this.el;i.isArray(e)?t.checked=i.indexOf(e,this.getValue())>-1:t.hasOwnProperty("_trueValue")?t.checked=i.looseEqual(e,t._trueValue):t.checked=!!e}}},{"../../../util":74}],42:[function(e,t,n){(function(n){var i=e("../../../util"),r={text:e("./text"),radio:e("./radio"),select:e("./select"),checkbox:e("./checkbox")};t.exports={priority:800,twoWay:!0,handlers:r,params:["lazy","number","debounce"],bind:function(){this.checkFilters(),this.hasRead&&!this.hasWrite&&"production"!==n.env.NODE_ENV&&i.warn("It seems you are using a read-only filter with v-model. You might want to use a two-way filter to ensure correct behavior.");var e,t=this.el,o=t.tagName;if("INPUT"===o)e=r[t.type]||r.text;else if("SELECT"===o)e=r.select;else{if("TEXTAREA"!==o)return void("production"!==n.env.NODE_ENV&&i.warn("v-model does not support element type: "+o));e=r.text}t.__v_model=this,e.bind.call(this),this.update=e.update,this._unbind=e.unbind},checkFilters:function(){var e=this.filters;if(e)for(var t=e.length;t--;){var n=i.resolveAsset(this.vm.$options,"filters",e[t].name);("function"==typeof n||n.read)&&(this.hasRead=!0),n.write&&(this.hasWrite=!0)}},unbind:function(){this.el.__v_model=null,this._unbind&&this._unbind()}}}).call(this,e("_process"))},{"../../../util":74,"./checkbox":41,"./radio":43,"./select":44,"./text":45,_process:2}],43:[function(e,t,n){var i=e("../../../util");t.exports={bind:function(){var e=this,t=this.el;this.getValue=function(){if(t.hasOwnProperty("_value"))return t._value;var n=t.value;return e.params.number&&(n=i.toNumber(n)),n},this.listener=function(){e.set(e.getValue())},this.on("change",this.listener),t.checked&&(this.afterBind=this.listener)},update:function(e){this.el.checked=i.looseEqual(e,this.getValue())}}},{"../../../util":74}],44:[function(e,t,n){function i(e,t,n){for(var i,r,o,s=t?[]:null,a=0,l=e.options.length;l>a;a++)if(i=e.options[a],o=n?i.hasAttribute("selected"):i.selected){if(r=i.hasOwnProperty("_value")?i._value:i.value,!t)return r;s.push(r)}return s}function r(e,t){for(var n=e.length;n--;)if(o.looseEqual(e[n],t))return n;return-1}var o=e("../../../util");t.exports={bind:function(){var e=this,t=this.el;this.forceUpdate=function(){e._watcher&&e.update(e._watcher.get())};var n=this.multiple=t.hasAttribute("multiple");this.listener=function(){var r=i(t,n);r=e.params.number?o.isArray(r)?r.map(o.toNumber):o.toNumber(r):r,e.set(r)},this.on("change",this.listener);var r=i(t,n,!0);(n&&r.length||!n&&null!==r)&&(this.afterBind=this.listener),this.vm.$on("hook:attached",this.forceUpdate)},update:function(e){var t=this.el;t.selectedIndex=-1;for(var n,i,s=this.multiple&&o.isArray(e),a=t.options,l=a.length;l--;)n=a[l],i=n.hasOwnProperty("_value")?n._value:n.value,n.selected=s?r(e,i)>-1:o.looseEqual(e,i)},unbind:function(){this.vm.$off("hook:attached",this.forceUpdate)}}},{"../../../util":74}],45:[function(e,t,n){var i=e("../../../util");t.exports={bind:function(){var e=this,t=this.el,n="range"===t.type,r=this.params.lazy,o=this.params.number,s=this.params.debounce,a=!1;i.isAndroid||n||(this.on("compositionstart",function(){a=!0}),this.on("compositionend",function(){a=!1,r||e.listener()})),this.focused=!1,n||(this.on("focus",function(){e.focused=!0}),this.on("blur",function(){e.focused=!1,e.listener()})),this.listener=function(){if(!a){var r=o||n?i.toNumber(t.value):t.value;e.set(r),i.nextTick(function(){e._bound&&!e.focused&&e.update(e._watcher.value)})}},s&&(this.listener=i.debounce(this.listener,s)),this.hasjQuery="function"==typeof jQuery,this.hasjQuery?(jQuery(t).on("change",this.listener),r||jQuery(t).on("input",this.listener)):(this.on("change",this.listener),r||this.on("input",this.listener)),!r&&i.isIE9&&(this.on("cut",function(){i.nextTick(e.listener)}),this.on("keyup",function(t){(46===t.keyCode||8===t.keyCode)&&e.listener()})),(t.hasAttribute("value")||"TEXTAREA"===t.tagName&&t.value.trim())&&(this.afterBind=this.listener)},update:function(e){this.el.value=i.toString(e)},unbind:function(){var e=this.el;this.hasjQuery&&(jQuery(e).off("change",this.listener),jQuery(e).off("input",this.listener))}}},{"../../../util":74}],46:[function(e,t,n){(function(n){function i(e,t){var n=t.map(function(e){var t=a[e];return t||(t=parseInt(e,10)),t});return function(t){return n.indexOf(t.keyCode)>-1?e.call(this,t):void 0}}function r(e){return function(t){return t.stopPropagation(),e.call(this,t)}}function o(e){return function(t){return t.preventDefault(),e.call(this,t)}}var s=e("../../util"),a={esc:27,tab:9,enter:13,space:32,"delete":46,up:38,left:37,right:39,down:40};t.exports={acceptStatement:!0,priority:700,bind:function(){if("IFRAME"===this.el.tagName&&"load"!==this.arg){var e=this;this.iframeBind=function(){s.on(e.el.contentWindow,e.arg,e.handler)},this.on("load",this.iframeBind)}},update:function(e){if(this.descriptor.raw||(e=function(){}),"function"!=typeof e)return void("production"!==n.env.NODE_ENV&&s.warn("v-on:"+this.arg+'="'+this.expression+'" expects a function value, got '+e));this.modifiers.stop&&(e=r(e)),this.modifiers.prevent&&(e=o(e));var t=Object.keys(this.modifiers).filter(function(e){return"stop"!==e&&"prevent"!==e});t.length&&(e=i(e,t)),this.reset();var a=this._scope||this.vm;this.handler=function(t){a.$event=t;var n=e(t);return a.$event=null,n},this.iframeBind?this.iframeBind():s.on(this.el,this.arg,this.handler)},reset:function(){var e=this.iframeBind?this.el.contentWindow:this.el;this.handler&&s.off(e,this.arg,this.handler)},unbind:function(){this.reset()}}}).call(this,e("_process"))},{"../../util":74,_process:2}],47:[function(e,t,n){(function(n){"production"!==n.env.NODE_ENV&&(t.exports={bind:function(){e("../../util").warn("v-ref:"+this.arg+" must be used on a child component. Found on <"+this.el.tagName.toLowerCase()+">.")}})}).call(this,e("_process"))},{"../../util":74,_process:2}],48:[function(e,t,n){var i=e("../../util"),r=e("../../transition");t.exports={bind:function(){var e=this.el.nextElementSibling;e&&null!==i.attr(e,"v-else")&&(this.elseEl=e)},update:function(e){this.apply(this.el,e),this.elseEl&&this.apply(this.elseEl,!e)},apply:function(e,t){function n(){e.style.display=t?"":"none"}i.inDoc(e)?r.apply(e,t?1:-1,n,this.vm):n()}}},{"../../transition":67,"../../util":74}],49:[function(e,t,n){var i=e("../../util");t.exports={bind:function(){this.attr=3===this.el.nodeType?"data":"textContent"},update:function(e){this.el[this.attr]=i.toString(e)}}},{"../../util":74}],50:[function(e,t,n){function i(e,t){var n;if(r.isPlainObject(e)){var o=Object.keys(e);for(n=o.length;n--;)if(i(e[o[n]],t))return!0}else if(r.isArray(e)){for(n=e.length;n--;)if(i(e[n],t))return!0}else if(null!=e)return e.toString().toLowerCase().indexOf(t)>-1}var r=e("../util"),o=e("../parsers/path"),s=e("../directives/public/for")._postProcess;n.limitBy=function(e,t,n){return n=n?parseInt(n,10):0,"number"==typeof t?e.slice(n,n+t):e},n.filterBy=function(e,t,n){if(e=s(e),null==t)return e;if("function"==typeof t)return e.filter(t);t=(""+t).toLowerCase();for(var a,l,c,u,h="in"===n?3:2,p=r.toArray(arguments,h).reduce(function(e,t){return e.concat(t)},[]),d=[],f=0,m=e.length;m>f;f++)if(a=e[f],c=a&&a.$value||a,u=p.length){for(;u--;)if(l=p[u],"$key"===l&&i(a.$key,t)||i(o.get(c,l),t)){d.push(a);break}}else i(a,t)&&d.push(a);return d},n.orderBy=function(e,t,n){if(e=s(e),!t)return e;var i=n&&0>n?-1:1;return e.slice().sort(function(e,n){return"$key"!==t&&(r.isObject(e)&&"$value"in e&&(e=e.$value),r.isObject(n)&&"$value"in n&&(n=n.$value)),e=r.isObject(e)?o.get(e,t):e,n=r.isObject(n)?o.get(n,t):n,e===n?0:e>n?i:-i})}},{"../directives/public/for":37,"../parsers/path":64,"../util":74}],51:[function(e,t,n){var i=e("../util");n.json={read:function(e,t){return"string"==typeof e?e:JSON.stringify(e,null,Number(t)||2)},write:function(e){try{return JSON.parse(e)}catch(t){return e}}},n.capitalize=function(e){return e||0===e?(e=e.toString(),e.charAt(0).toUpperCase()+e.slice(1)):""},n.uppercase=function(e){return e||0===e?e.toString().toUpperCase():""},n.lowercase=function(e){return e||0===e?e.toString().toLowerCase():""};var r=/(\d{3})(?=\d)/g;n.currency=function(e,t){if(e=parseFloat(e),!isFinite(e)||!e&&0!==e)return"";t=null!=t?t:"$";var n=Math.abs(e).toFixed(2),i=n.slice(0,-3),o=i.length%3,s=o>0?i.slice(0,o)+(i.length>3?",":""):"",a=n.slice(-3),l=0>e?"-":"";return t+l+s+i.slice(o).replace(r,"$1,")+a},n.pluralize=function(e){var t=i.toArray(arguments,1);return t.length>1?t[e%10-1]||t[t.length-1]:t[0]+(1===e?"":"s")},n.debounce=function(e,t){return e?(t||(t=300),i.debounce(e,t)):void 0},i.extend(n,e("./array-filters"))},{"../util":74,"./array-filters":50}],52:[function(e,t,n){function i(e,t){this.vm=e;var n,i="string"==typeof t;i||r.isTemplate(t)?n=s.parse(t,!0):(n=document.createDocumentFragment(),n.appendChild(t)),this.template=n;var a,l=e.constructor.cid;if(l>0){var u=l+(i?t:t.outerHTML);a=c.get(u),a||(a=o.compile(n,e.$options,!0),c.put(u,a))}else a=o.compile(n,e.$options,!0);this.linker=a}var r=e("../util"),o=e("../compiler"),s=e("../parsers/template"),a=e("./fragment"),l=e("../cache"),c=new l(5e3);i.prototype.create=function(e,t,n){var i=s.clone(this.template);return new a(this.linker,this.vm,i,e,t,n)},t.exports=i},{"../cache":18,"../compiler":21,"../parsers/template":65,"../util":74,"./fragment":53}],53:[function(e,t,n){function i(e,t,n,i,l,c){this.children=[],this.childFrags=[],this.vm=t,this.scope=l,this.inserted=!1,this.parentFrag=c,c&&c.childFrags.push(this),this.unlink=e(t,n,i,l,this);var u=this.single=1===n.childNodes.length;u?(this.node=n.childNodes[0],this.before=r,this.remove=o):(this.node=h.createAnchor("fragment-start"),this.end=h.createAnchor("fragment-end"),this.frag=n,h.prepend(this.node,n),n.appendChild(this.end),this.before=s,this.remove=a),this.node.__vfrag__=this}function r(e,t){this.inserted=!0;var n=t!==!1?p.before:h.before;n(this.node,e,this.vm),h.inDoc(this.node)&&this.callHook(l)}function o(){this.inserted=!1;var e=h.inDoc(this.node),t=this;t.callHook(c),p.remove(this.node,this.vm,function(){e&&t.callHook(u),t.destroy()})}function s(e,t){this.inserted=!0;var n=this.vm,i=t!==!1?p.before:h.before;h.mapNodeRange(this.node,this.end,function(t){i(t,e,n)}),h.inDoc(this.node)&&this.callHook(l)}function a(){this.inserted=!1;var e=this,t=h.inDoc(this.node);e.callHook(c),h.removeNodeRange(this.node,this.end,this.vm,this.frag,function(){t&&e.callHook(u),e.destroy()})}function l(e){e._isAttached||e._callHook("attached")}function c(e){e.$destroy(!1,!0)}function u(e){e._isAttached&&e._callHook("detached")}var h=e("../util"),p=e("../transition");i.prototype.callHook=function(e){var t,n;for(t=0,n=this.children.length;n>t;t++)e(this.children[t]);for(t=0,n=this.childFrags.length;n>t;t++)this.childFrags[t].callHook(e)},i.prototype.destroy=function(){this.parentFrag&&this.parentFrag.childFrags.$remove(this),this.unlink()},t.exports=i},{"../transition":67,"../util":74}],54:[function(e,t,n){(function(t){function i(e,t){for(var n,i,r=t.attributes,o=0,s=r.length;s>o;o++)n=r[o].name, p.test(n)&&(n=n.replace(p,""),i=(e._scope||e._context).$eval(r[o].value,!0),e.$on(n.replace(p),i))}function r(e,t,n){if(n){var i,r,s,a;for(r in n)if(i=n[r],u.isArray(i))for(s=0,a=i.length;a>s;s++)o(e,t,r,i[s]);else o(e,t,r,i)}}function o(e,n,i,r,s){var a=typeof r;if("function"===a)e[n](i,r,s);else if("string"===a){var l=e.$options.methods,c=l&&l[r];c?e[n](i,c,s):"production"!==t.env.NODE_ENV&&u.warn('Unknown method: "'+r+'" when registering callback for '+n+': "'+i+'".')}else r&&"object"===a&&o(e,n,i,r.handler,r)}function s(){this._isAttached||(this._isAttached=!0,this.$children.forEach(a))}function a(e){!e._isAttached&&h(e.$el)&&e._callHook("attached")}function l(){this._isAttached&&(this._isAttached=!1,this.$children.forEach(c))}function c(e){e._isAttached&&!h(e.$el)&&e._callHook("detached")}var u=e("../util"),h=u.inDoc,p=/^v-on:|^@/;n._initEvents=function(){var e=this.$options;e._asComponent&&i(this,e.el),r(this,"$on",e.events),r(this,"$watch",e.watch)},n._initDOMHooks=function(){this.$on("hook:attached",s),this.$on("hook:detached",l)},n._callHook=function(e){var t=this.$options[e];if(t)for(var n=0,i=t.length;i>n;n++)t[n].call(this);this.$emit("hook:"+e)}}).call(this,e("_process"))},{"../util":74,_process:2}],55:[function(e,t,n){var i=e("../util").mergeOptions,r=0;n._init=function(e){e=e||{},this.$el=null,this.$parent=e.parent,this.$root=this.$parent?this.$parent.$root:this,this.$children=[],this.$refs={},this.$els={},this._watchers=[],this._directives=[],this._uid=r++,this._isVue=!0,this._events={},this._eventsCount={},this._shouldPropagate=!1,this._isFragment=!1,this._fragment=this._fragmentStart=this._fragmentEnd=null,this._isCompiled=this._isDestroyed=this._isReady=this._isAttached=this._isBeingDestroyed=!1,this._unlinkFn=null,this._context=e._context||this.$parent,this._scope=e._scope,this._frag=e._frag,this._frag&&this._frag.children.push(this),this.$parent&&this.$parent.$children.push(this),e=this.$options=i(this.constructor.options,e,this),this._updateRef(),this._data={},this._callHook("init"),this._initState(),this._initEvents(),this._callHook("created"),e.el&&this.$mount(e.el)}},{"../util":74}],56:[function(e,t,n){var i=e("../util"),r=e("../directive"),o=e("../compiler");n._updateRef=function(e){var t=this.$options._ref;if(t){var n=(this._scope||this._context).$refs;e?n[t]===this&&(n[t]=null):n[t]=this}},n._compile=function(e){var t=this.$options,n=e;e=o.transclude(e,t),this._initElement(e);var r,s=this._context&&this._context.$options,a=o.compileRoot(e,t,s),l=this.constructor;t._linkerCachable&&(r=l.linker,r||(r=l.linker=o.compile(e,t)));var c=a(this,e,this._scope),u=r?r(this,e):o.compile(e,t)(this,e);return this._unlinkFn=function(){c(),u(!0)},t.replace&&i.replace(n,e),this._isCompiled=!0,this._callHook("compiled"),e},n._initElement=function(e){e instanceof DocumentFragment?(this._isFragment=!0,this.$el=this._fragmentStart=e.firstChild,this._fragmentEnd=e.lastChild,3===this._fragmentStart.nodeType&&(this._fragmentStart.data=this._fragmentEnd.data=""),this._fragment=e):this.$el=e,this.$el.__vue__=this,this._callHook("beforeCompile")},n._bindDir=function(e,t,n,i,o){this._directives.push(new r(e,this,t,n,i,o))},n._destroy=function(e,t){if(this._isBeingDestroyed)return void(t||this._cleanup());this._callHook("beforeDestroy"),this._isBeingDestroyed=!0;var n,i=this.$parent;for(i&&!i._isBeingDestroyed&&(i.$children.$remove(this),this._updateRef(!0)),n=this.$children.length;n--;)this.$children[n].$destroy();for(this._propsUnlinkFn&&this._propsUnlinkFn(),this._unlinkFn&&this._unlinkFn(),n=this._watchers.length;n--;)this._watchers[n].teardown();this.$el&&(this.$el.__vue__=null);var r=this;e&&this.$el?this.$remove(function(){r._cleanup()}):t||this._cleanup()},n._cleanup=function(){this._isDestroyed||(this._frag&&this._frag.children.$remove(this),this._data.__ob__&&this._data.__ob__.removeVm(this),this.$el=this.$parent=this.$root=this.$children=this._watchers=this._context=this._scope=this._directives=null,this._isDestroyed=!0,this._callHook("destroyed"),this.$off())}},{"../compiler":21,"../directive":24,"../util":74}],57:[function(e,t,n){(function(t){var i=e("../util");n._applyFilters=function(e,n,r,o){var s,a,l,c,u,h,p,d,f;for(h=0,p=r.length;p>h;h++)if(s=r[h],a=i.resolveAsset(this.$options,"filters",s.name),"production"!==t.env.NODE_ENV&&i.assertAsset(a,"filter",s.name),a&&(a=o?a.write:a.read||a,"function"==typeof a)){if(l=o?[e,n]:[e],u=o?2:1,s.args)for(d=0,f=s.args.length;f>d;d++)c=s.args[d],l[d+u]=c.dynamic?this.$get(c.value):c.value;e=a.apply(this,l)}return e},n._resolveComponent=function(e,n){var r=i.resolveAsset(this.$options,"components",e);if("production"!==t.env.NODE_ENV&&i.assertAsset(r,"component",e),r)if(r.options)n(r);else if(r.resolved)n(r.resolved);else if(r.requested)r.pendingCallbacks.push(n);else{r.requested=!0;var o=r.pendingCallbacks=[n];r(function(e){i.isPlainObject(e)&&(e=i.Vue.extend(e)),r.resolved=e;for(var t=0,n=o.length;n>t;t++)o[t](e)},function(n){"production"!==t.env.NODE_ENV&&i.warn("Failed to resolve async component: "+e+". "+(n?"\nReason: "+n:""))})}}}).call(this,e("_process"))},{"../util":74,_process:2}],58:[function(e,t,n){(function(t){function i(){}function r(e,t){var n=new c(t,e,null,{lazy:!0});return function(){return n.dirty&&n.evaluate(),l.target&&n.depend(),n.value}}var o=e("../util"),s=e("../compiler"),a=e("../observer"),l=e("../observer/dep"),c=e("../watcher");n._initState=function(){this._initProps(),this._initMeta(),this._initMethods(),this._initData(),this._initComputed()},n._initProps=function(){var e=this.$options,n=e.el,i=e.props;i&&!n&&"production"!==t.env.NODE_ENV&&o.warn("Props will not be compiled if no `el` option is provided at instantiation."),n=e.el=o.query(n),this._propsUnlinkFn=n&&1===n.nodeType&&i?s.compileAndLinkProps(this,n,i,this._scope):null},n._initData=function(){var e=this._data,n=this.$options.data,i=n&&n();if(i){this._data=i;for(var r in e)"production"!==t.env.NODE_ENV&&i.hasOwnProperty(r)&&o.warn('Data field "'+r+'" is already defined as a prop. Use prop default value instead.'),null===this._props[r].raw&&i.hasOwnProperty(r)||o.set(i,r,e[r])}var s,l,c=this._data,u=Object.keys(c);for(s=u.length;s--;)l=u[s],this._proxy(l);a.create(c,this)},n._setData=function(e){e=e||{};var t=this._data;this._data=e;var n,i,r;for(n=Object.keys(t),r=n.length;r--;)i=n[r],i in e||this._unproxy(i);for(n=Object.keys(e),r=n.length;r--;)i=n[r],this.hasOwnProperty(i)||this._proxy(i);t.__ob__.removeVm(this),a.create(e,this),this._digest()},n._proxy=function(e){if(!o.isReserved(e)){var t=this;Object.defineProperty(t,e,{configurable:!0,enumerable:!0,get:function(){return t._data[e]},set:function(n){t._data[e]=n}})}},n._unproxy=function(e){o.isReserved(e)||delete this[e]},n._digest=function(){for(var e=0,t=this._watchers.length;t>e;e++)this._watchers[e].update(!0)},n._initComputed=function(){var e=this.$options.computed;if(e)for(var t in e){var n=e[t],s={enumerable:!0,configurable:!0};"function"==typeof n?(s.get=r(n,this),s.set=i):(s.get=n.get?n.cache!==!1?r(n.get,this):o.bind(n.get,this):i,s.set=n.set?o.bind(n.set,this):i),Object.defineProperty(this,t,s)}},n._initMethods=function(){var e=this.$options.methods;if(e)for(var t in e)this[t]=o.bind(e[t],this)},n._initMeta=function(){var e=this.$options._meta;if(e)for(var t in e)o.defineReactive(this,t,e[t])}}).call(this,e("_process"))},{"../compiler":21,"../observer":61,"../observer/dep":60,"../util":74,"../watcher":78,_process:2}],59:[function(e,t,n){var i=e("../util"),r=Array.prototype,o=Object.create(r);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(e){var t=r[e];i.define(o,e,function(){for(var n=arguments.length,i=new Array(n);n--;)i[n]=arguments[n];var r,o=t.apply(this,i),s=this.__ob__;switch(e){case"push":r=i;break;case"unshift":r=i;break;case"splice":r=i.slice(2)}return r&&s.observeArray(r),s.dep.notify(),o})}),i.define(r,"$set",function(e,t){return e>=this.length&&(this.length=e+1),this.splice(e,1,t)[0]}),i.define(r,"$remove",function(e){if(this.length){var t=i.indexOf(this,e);return t>-1?this.splice(t,1):void 0}}),t.exports=o},{"../util":74}],60:[function(e,t,n){function i(){this.id=o++,this.subs=[]}var r=e("../util"),o=0;i.target=null,i.prototype.addSub=function(e){this.subs.push(e)},i.prototype.removeSub=function(e){this.subs.$remove(e)},i.prototype.depend=function(){i.target.addDep(this)},i.prototype.notify=function(){for(var e=r.toArray(this.subs),t=0,n=e.length;n>t;t++)e[t].update()},t.exports=i},{"../util":74}],61:[function(e,t,n){function i(e){if(this.value=e,this.dep=new l,a.define(e,"__ob__",this),a.isArray(e)){var t=a.hasProto?r:o;t(e,c,u),this.observeArray(e)}else this.walk(e)}function r(e,t){e.__proto__=t}function o(e,t,n){for(var i,r=n.length;r--;)i=n[r],a.define(e,i,t[i])}function s(e,t,n){var r=new l,o=i.create(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){if(l.target&&(r.depend(),o&&o.dep.depend(),a.isArray(n)))for(var e,t=0,i=n.length;i>t;t++)e=n[t],e&&e.__ob__&&e.__ob__.dep.depend();return n},set:function(e){e!==n&&(n=e,o=i.create(e),r.notify())}})}var a=e("../util"),l=e("./dep"),c=e("./array"),u=Object.getOwnPropertyNames(c);i.create=function(e,t){if(e&&"object"==typeof e){var n;return e.hasOwnProperty("__ob__")&&e.__ob__ instanceof i?n=e.__ob__:!a.isArray(e)&&!a.isPlainObject(e)||Object.isFrozen(e)||e._isVue||(n=new i(e)),n&&t&&n.addVm(t),n}},i.prototype.walk=function(e){for(var t=Object.keys(e),n=t.length;n--;)this.convert(t[n],e[t[n]])},i.prototype.observeArray=function(e){for(var t=e.length;t--;)i.create(e[t])},i.prototype.convert=function(e,t){s(this.value,e,t)},i.prototype.addVm=function(e){(this.vms||(this.vms=[])).push(e)},i.prototype.removeVm=function(e){this.vms.$remove(e)},a.defineReactive=s,t.exports=i},{"../util":74,"./array":59,"./dep":60}],62:[function(e,t,n){function i(){var e,t=o.slice(u,l).trim();if(t){e={};var n=t.match(b);e.name=n[0],n.length>1&&(e.args=n.slice(1).map(r))}e&&(s.filters=s.filters||[]).push(e),u=l+1}function r(e){if(w.test(e))return{value:v.toNumber(e),dynamic:!1};var t=v.stripQuotes(e),n=t===e;return{value:n?e:t,dynamic:n}}var o,s,a,l,c,u,h,p,d,f,m,v=e("../util"),g=e("../cache"),y=new g(1e3),b=/[^\s'"]+|'[^']*'|"[^"]*"/g,w=/^in$|^-?\d+/;n.parse=function(e){var t=y.get(e);if(t)return t;for(o=e,h=p=!1,d=f=m=0,u=0,s={},l=0,c=o.length;c>l;l++)if(a=o.charCodeAt(l),h)39===a&&(h=!h);else if(p)34===a&&(p=!p);else if(124===a&&124!==o.charCodeAt(l+1)&&124!==o.charCodeAt(l-1))null==s.expression?(u=l+1,s.expression=o.slice(0,l).trim()):i();else switch(a){case 34:p=!0;break;case 39:h=!0;break;case 40:m++;break;case 41:m--;break;case 91:f++;break;case 93:f--;break;case 123:d++;break;case 125:d--}return null==s.expression?s.expression=o.slice(0,l).trim():0!==u&&i(),y.put(e,s),s}},{"../cache":18,"../util":74}],63:[function(e,t,n){(function(t){function i(e,t){var n=O.length;return O[n]=t?e.replace(w,"\\n"):e,'"'+n+'"'}function r(e){var t=e.charAt(0),n=e.slice(1);return v.test(n)?e:(n=n.indexOf('"')>-1?n.replace(x,o):n,t+"scope."+n)}function o(e,t){return O[t]}function s(e,n){y.test(e)&&"production"!==t.env.NODE_ENV&&h.warn("Avoid using reserved keywords in expression: "+e),O.length=0;var s=e.replace(_,i).replace(b,"");s=(" "+s).replace(C,r).replace(x,o);var a=l(s);return a?{get:a,body:s,set:n?c(s):null}:void 0}function a(e){var t,n;return e.indexOf("[")<0?(n=e.split("."),n.raw=e,t=p.compileGetter(n)):(n=p.parse(e),t=n.get),{get:t,set:function(e,t){p.set(e,n,t)}}}function l(e){try{return new Function("scope","return "+e+";")}catch(n){"production"!==t.env.NODE_ENV&&h.warn("Invalid expression. Generated function body: "+e)}}function c(e){try{return new Function("scope","value",e+"=value;")}catch(n){"production"!==t.env.NODE_ENV&&h.warn("Invalid setter function body: "+e)}}function u(e){e.set||(e.set=c(e.body))}var h=e("../util"),p=e("./path"),d=e("../cache"),f=new d(1e3),m="Math,Date,this,true,false,null,undefined,Infinity,NaN,isNaN,isFinite,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,parseInt,parseFloat",v=new RegExp("^("+m.replace(/,/g,"\\b|")+"\\b)"),g="break,case,class,catch,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,in,instanceof,let,return,super,switch,throw,try,var,while,with,yield,enum,await,implements,package,proctected,static,interface,private,public",y=new RegExp("^("+g.replace(/,/g,"\\b|")+"\\b)"),b=/\s/g,w=/\n/g,_=/[\{,]\s*[\w\$_]+\s*:|('[^']*'|"[^"]*")|new |typeof |void /g,x=/"(\d+)"/g,E=/^[A-Za-z_$][\w$]*(\.[A-Za-z_$][\w$]*|\['.*?'\]|\[".*?"\]|\[\d+\]|\[[A-Za-z_$][\w$]*\])*$/,C=/[^\w$\.]([A-Za-z_$][\w$]*(\.[A-Za-z_$][\w$]*|\['.*?'\]|\[".*?"\])*)/g,k=/^(true|false)$/,O=[];n.parse=function(e,t){e=e.trim();var i=f.get(e);if(i)return t&&u(i),i;var r=n.isSimplePath(e)?a(e):s(e,t);return f.put(e,r),r},n.isSimplePath=function(e){return E.test(e)&&!k.test(e)&&"Math."!==e.slice(0,5)}}).call(this,e("_process"))},{"../cache":18,"../util":74,"./path":64,_process:2}],64:[function(e,t,n){(function(t){function i(e){if(void 0===e)return"eof";var t=e.charCodeAt(0);switch(t){case 91:case 93:case 46:case 34:case 39:case 48:return e;case 95:case 36:return"ident";case 32:case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"ws"}return t>=97&&122>=t||t>=65&&90>=t?"ident":t>=49&&57>=t?"number":"else"}function r(e){function t(){var t=e[f+1];return m===b&&"'"===t||m===w&&'"'===t?(f++,r=t,v[u](),!0):void 0}var n,r,o,s,a,l,c,d=[],f=-1,m=p,v=[];for(v[h]=function(){void 0!==o&&(d.push(o),o=void 0)},v[u]=function(){void 0===o?o=r:o+=r};null!=m;)if(f++,n=e[f],"\\"!==n||!t()){if(s=i(n),c=k[m],a=c[s]||c["else"]||C,a===C)return;if(m=a[0],l=v[a[1]],l&&(r=a[2],r=void 0===r?n:"*"===r?r+n:r,l()),m===E)return d.raw=e,d}}function o(e){return c.test(e)?"."+e:+e===e>>>0?"["+e+"]":"*"===e.charAt(0)?"[o"+o(e.slice(1))+"]":'["'+e.replace(/"/g,'\\"')+'"]'}var s=e("../util"),a=e("../cache"),l=new a(1e3),c=n.identRE=/^[$_a-zA-Z]+[\w$]*$/,u=0,h=1,p=0,d=1,f=2,m=3,v=4,g=5,y=6,b=7,w=8,_=9,x=10,E=11,C=12,k=[];k[p]={ws:[p],ident:[m,u],"[":[v],eof:[E]},k[d]={ws:[d],".":[f],"[":[v],eof:[E]},k[f]={ws:[f],ident:[m,u]},k[m]={ident:[m,u],0:[m,u],number:[m,u],ws:[d,h],".":[f,h],"[":[v,h],eof:[E,h]},k[v]={ws:[v],0:[g,u],number:[y,u],"'":[b,u,""],'"':[w,u,""],ident:[_,u,"*"]},k[g]={ws:[x,h],"]":[d,h]},k[y]={0:[y,u],number:[y,u],ws:[x],"]":[d,h]},k[b]={"'":[x],eof:C,"else":[b,u]},k[w]={'"':[x],eof:C,"else":[w,u]},k[_]={ident:[_,u],0:[_,u],number:[_,u],ws:[x],"]":[d,h]},k[x]={ws:[x],"]":[d,h]},n.compileGetter=function(e){var t="return o"+e.map(o).join("");return new Function("o",t)},n.parse=function(e){var t=l.get(e);return t||(t=r(e),t&&(t.get=n.compileGetter(t),l.put(e,t))),t},n.get=function(e,t){return t=n.parse(t),t?t.get(e):void 0};var O;"production"!==t.env.NODE_ENV&&(O=function(e){s.warn('You are setting a non-existent path "'+e.raw+'" on a vm instance. Consider pre-initializing the property with the "data" option for more reliable reactivity and better performance.')}),n.set=function(e,i,r){var o=e;if("string"==typeof i&&(i=n.parse(i)),!i||!s.isObject(e))return!1;for(var a,l,c=0,u=i.length;u>c;c++)a=e,l=i[c],"*"===l.charAt(0)&&(l=o[l.slice(1)]),u-1>c?(e=e[l],s.isObject(e)||(e={},"production"!==t.env.NODE_ENV&&a._isVue&&O(i),s.set(a,l,e))):s.isArray(e)?e.$set(l,r):l in e?e[l]=r:("production"!==t.env.NODE_ENV&&e._isVue&&O(i),s.set(e,l,r));return!0}}).call(this,e("_process"))},{"../cache":18,"../util":74,_process:2}],65:[function(e,t,n){function i(e){return s.isTemplate(e)&&e.content instanceof DocumentFragment}function r(e){var t=l.get(e);if(t)return t;var n=document.createDocumentFragment(),i=e.match(h),r=p.test(e);if(i||r){var o=i&&i[1],s=u[o]||u._default,a=s[0],c=s[1],d=s[2],f=document.createElement("div");for(f.innerHTML=c+e.trim()+d;a--;)f=f.lastChild;for(var m;m=f.firstChild;)n.appendChild(m)}else n.appendChild(document.createTextNode(e));return l.put(e,n),n}function o(e){if(i(e))return s.trimNode(e.content),e.content;if("SCRIPT"===e.tagName)return r(e.textContent);for(var t,o=n.clone(e),a=document.createDocumentFragment();t=o.firstChild;)a.appendChild(t);return s.trimNode(a),a}var s=e("../util"),a=e("../cache"),l=new a(1e3),c=new a(1e3),u={_default:[0,"",""],legend:[1,"
","
"],tr:[2,"","
"],col:[2,"","
"]};u.td=u.th=[3,"","
"],u.option=u.optgroup=[1,'"],u.thead=u.tbody=u.colgroup=u.caption=u.tfoot=[1,"","
"],u.g=u.defs=u.symbol=u.use=u.image=u.text=u.circle=u.ellipse=u.line=u.path=u.polygon=u.polyline=u.rect=[1,'',""];var h=/<([\w:]+)/,p=/&\w+;|&#\d+;|&#x[\dA-F]+;/,d=function(){if(s.inBrowser){var e=document.createElement("div");return e.innerHTML="",!e.cloneNode(!0).firstChild.innerHTML}return!1}(),f=function(){if(s.inBrowser){var e=document.createElement("textarea");return e.placeholder="t","t"===e.cloneNode(!0).value}return!1}();n.clone=function(e){if(!e.querySelectorAll)return e.cloneNode();var t,r,o,s=e.cloneNode(!0);if(d){var a=s;if(i(e)&&(e=e.content,a=s.content),r=e.querySelectorAll("template"),r.length)for(o=a.querySelectorAll("template"),t=o.length;t--;)o[t].parentNode.replaceChild(n.clone(r[t]),o[t])}if(f)if("TEXTAREA"===e.tagName)s.value=e.value;else if(r=e.querySelectorAll("textarea"),r.length)for(o=s.querySelectorAll("textarea"),t=o.length;t--;)o[t].value=r[t].value;return s},n.parse=function(e,t,i){var a,l;return e instanceof DocumentFragment?(s.trimNode(e),t?n.clone(e):e):("string"==typeof e?i||"#"!==e.charAt(0)?l=r(e):(l=c.get(e),l||(a=document.getElementById(e.slice(1)),a&&(l=o(a),c.put(e,l)))):e.nodeType&&(l=o(e)),l&&t?n.clone(l):l)}},{"../cache":18,"../util":74}],66:[function(e,t,n){function i(e){return e.replace(p,"\\$&")}function r(e,t){return e.tag?o(e.value,t):'"'+e.value+'"'}function o(e,t){if(d.test(e)){var n=h.parse(e);return n.filters?"this._applyFilters("+n.expression+",null,"+JSON.stringify(n.filters)+",false)":"("+e+")"}return t?e:"("+e+")"}var s,a,l,c=e("../cache"),u=e("../config"),h=e("./directive"),p=/[-.*+?^${}()|[\]\/\\]/g;n.compileRegex=function(){var e=i(u.delimiters[0]),t=i(u.delimiters[1]),n=i(u.unsafeDelimiters[0]),r=i(u.unsafeDelimiters[1]);a=new RegExp(n+"(.+?)"+r+"|"+e+"(.+?)"+t,"g"),l=new RegExp("^"+n+".*"+r+"$"),s=new c(1e3)},n.parse=function(e){s||n.compileRegex();var t=s.get(e);if(t)return t;if(e=e.replace(/\n/g,""),!a.test(e))return null;for(var i,r,o,c,u,h,p=[],d=a.lastIndex=0;i=a.exec(e);)r=i.index,r>d&&p.push({value:e.slice(d,r)}),o=l.test(i[0]),c=o?i[1]:i[2],u=c.charCodeAt(0),h=42===u,c=h?c.slice(1):c,p.push({tag:!0,value:c.trim(),html:o,oneTime:h}),d=r+i[0].length;return d1?e.map(function(e){return r(e)}).join("+"):r(e[0],!0)};var d=/[^|]\|[^|]/},{"../cache":18,"../config":23,"./directive":62}],67:[function(e,t,n){var i=e("../util");n.append=function(e,t,n,i){r(e,1,function(){t.appendChild(e)},n,i)},n.before=function(e,t,n,o){r(e,1,function(){i.before(e,t)},n,o)},n.remove=function(e,t,n){r(e,-1,function(){i.remove(e)},t,n)};var r=n.apply=function(e,t,n,r,o){var s=e.__v_trans;if(!s||!s.hooks&&!i.transitionEndEvent||!r._isCompiled||r.$parent&&!r.$parent._isCompiled)return n(),void(o&&o());var a=t>0?"enter":"leave";s[a](n,o)}},{"../util":74}],68:[function(e,t,n){function i(){for(var e=document.documentElement.offsetHeight,t=0;t1&&(this.pendingJsCb=o.cancellable(this[e+"Done"])),t.call(this.vm,this.el,this.pendingJsCb))},m.getCssTransitionType=function(e){if(!(!c||document.hidden||this.hooks&&this.hooks.css===!1||r(this.el))){var t=this.typeCache[e];if(t)return t;var n=this.el.style,i=window.getComputedStyle(this.el),o=n[h]||i[h];if(o&&"0s"!==o)t=d;else{var s=n[p]||i[p];s&&"0s"!==s&&(t=f)}return t&&(this.typeCache[e]=t),t}},m.setupCssCb=function(e,t){this.pendingCssEvent=e;var n=this,i=this.el,r=this.pendingCssCb=function(s){s.target===i&&(o.off(i,e,r),n.pendingCssEvent=n.pendingCssCb=null,!n.pendingJsCb&&t&&t())};o.on(i,e,r)},t.exports=i},{"../util":74,"./queue":68}],70:[function(e,t,n){(function(t){function i(e){var t=s.attr(e,"is");return null!=t?{id:t}:(t=s.getBindAttr(e,"is"),null!=t?{id:t,dynamic:!0}:void 0)}function r(e){return e?e.charAt(0).toUpperCase()+e.slice(1):"custom type"}function o(e){return Object.prototype.toString.call(e).slice(8,-1)}var s=e("./index");n.commonTagRE=/^(div|p|span|img|a|b|i|br|ul|ol|li|h1|h2|h3|h4|h5|h6|code|pre|table|th|td|tr|form|label|input|select|option|nav|article|section|header|footer)$/,n.checkComponent=function(e,r){var o=e.tagName.toLowerCase(),a=e.hasAttributes();if(n.commonTagRE.test(o)||"component"===o){if(a)return i(e)}else{if(s.resolveAsset(r,"components",o))return{id:o};var l=a&&i(e);if(l)return l;"production"!==t.env.NODE_ENV&&(o.indexOf("-")>-1||/HTMLUnknownElement/.test(e.toString())&&!/^(data|time|rtc|rb)$/.test(o))&&s.warn("Unknown custom element: <"+o+"> - did you register the component correctly?")}},n.initProp=function(e,t,i){if(n.assertProp(t,i)){var r=t.path;e[r]=e._data[r]=i}},n.assertProp=function(e,n){if(null===e.raw&&!e.required)return!0;var i,a=e.options,l=a.type,c=!0;if(l&&(l===String?(i="string",c=typeof n===i):l===Number?(i="number",c="number"==typeof n):l===Boolean?(i="boolean",c="boolean"==typeof n):l===Function?(i="function",c="function"==typeof n):l===Object?(i="object",c=s.isPlainObject(n)):l===Array?(i="array",c=s.isArray(n)):c=n instanceof l),!c)return"production"!==t.env.NODE_ENV&&s.warn("Invalid prop: type check failed for "+e.path+'="'+e.raw+'". Expected '+r(i)+", got "+o(n)+"."),!1;var u=a.validator;return u&&!u.call(null,n)?("production"!==t.env.NODE_ENV&&s.warn("Invalid prop: custom validator check failed for "+e.path+'="'+e.raw+'"'),!1):!0}}).call(this,e("_process"))},{"./index":74,_process:2}],71:[function(e,t,n){(function(t){if("production"!==t.env.NODE_ENV){var i=e("../config"),r="undefined"!=typeof console;n.log=function(e){r&&i.debug&&console.log("[Vue info]: "+e)},n.warn=function(e,t){!r||i.silent&&!i.debug||(console.warn("[Vue warn]: "+e),i.debug&&console.warn((t||new Error("Warning Stack Trace")).stack))},n.assertAsset=function(e,t,i){e||n.warn("Failed to resolve "+t+": "+i)}}}).call(this,e("_process"))},{"../config":23,_process:2}],72:[function(e,t,n){(function(t){function i(e,t){t&&3===t.nodeType&&!t.data.trim()&&e.removeChild(t)}var r=e("./index"),o=e("../config"),s=e("../transition");n.query=function(e){if("string"==typeof e){var n=e;e=document.querySelector(e),e||"production"!==t.env.NODE_ENV&&r.warn("Cannot find element: "+n)}return e},n.inDoc=function(e){var t=document.documentElement,n=e&&e.parentNode;return t===e||t===n||!(!n||1!==n.nodeType||!t.contains(n))},n.attr=function(e,t){var n=e.getAttribute(t);return null!==n&&e.removeAttribute(t),n},n.getBindAttr=function(e,t){var i=n.attr(e,":"+t);return null===i&&(i=n.attr(e,"v-bind:"+t)),i},n.before=function(e,t){t.parentNode.insertBefore(e,t)},n.after=function(e,t){t.nextSibling?n.before(e,t.nextSibling):t.parentNode.appendChild(e)},n.remove=function(e){e.parentNode.removeChild(e)},n.prepend=function(e,t){t.firstChild?n.before(e,t.firstChild):t.appendChild(e)},n.replace=function(e,t){var n=e.parentNode;n&&n.replaceChild(t,e)},n.on=function(e,t,n){e.addEventListener(t,n)},n.off=function(e,t,n){e.removeEventListener(t,n)},n.addClass=function(e,t){if(e.classList)e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}},n.removeClass=function(e,t){if(e.classList)e.classList.remove(t);else{for(var n=" "+(e.getAttribute("class")||"")+" ",i=" "+t+" ";n.indexOf(i)>=0;)n=n.replace(i," ");e.setAttribute("class",n.trim())}e.className||e.removeAttribute("class")},n.extractContent=function(e,t){var i,r;if(n.isTemplate(e)&&e.content instanceof DocumentFragment&&(e=e.content),e.hasChildNodes())for(n.trimNode(e),r=t?document.createDocumentFragment():document.createElement("div");i=e.firstChild;)r.appendChild(i);return r},n.trimNode=function(e){i(e,e.firstChild),i(e,e.lastChild)},n.isTemplate=function(e){return e.tagName&&"template"===e.tagName.toLowerCase()},n.createAnchor=function(e,t){return o.debug?document.createComment(e):document.createTextNode(t?" ":"")};var a=/^v-ref:/;n.findRef=function(e){if(e.hasAttributes())for(var t=e.attributes,n=0,i=t.length;i>n;n++){var o=t[n].name;if(a.test(o))return e.removeAttribute(o),r.camelize(o.replace(a,""))}},n.mapNodeRange=function(e,t,n){for(var i;e!==t;)i=e.nextSibling,n(e),e=i;n(t)},n.removeNodeRange=function(e,t,i,r,o){function a(){if(c++,l&&c>=u.length){for(var e=0;e0,n.isAndroid=i&&navigator.userAgent.toLowerCase().indexOf("android")>0,i&&!n.isIE9){var r=void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend,o=void 0===window.onanimationend&&void 0!==window.onwebkitanimationend;n.transitionProp=r?"WebkitTransition":"transition",n.transitionEndEvent=r?"webkitTransitionEnd":"transitionend",n.animationProp=o?"WebkitAnimation":"animation",n.animationEndEvent=o?"webkitAnimationEnd":"animationend"}n.nextTick=function(){function e(){i=!1;var e=n.slice(0);n=[];for(var t=0;t1?e.apply(t,arguments):e.call(t,n):e.call(t)}},n.toArray=function(e,t){t=t||0;for(var n=e.length-t,i=new Array(n);n--;)i[n]=e[n+t];return i},n.extend=function(e,t){for(var n=Object.keys(t),i=n.length;i--;)e[n[i]]=t[n[i]];return e},n.isObject=function(e){return null!==e&&"object"==typeof e};var l=Object.prototype.toString,c="[object Object]";n.isPlainObject=function(e){return l.call(e)===c},n.isArray=Array.isArray,n.define=function(e,t,n,i){Object.defineProperty(e,t,{value:n,enumerable:!!i,writable:!0,configurable:!0})},n.debounce=function(e,t){var n,i,r,o,s,a=function(){var l=Date.now()-o;t>l&&l>=0?n=setTimeout(a,t-l):(n=null,s=e.apply(r,i),n||(r=i=null))};return function(){return r=this,i=arguments,o=Date.now(),n||(n=setTimeout(a,t)),s}},n.indexOf=function(e,t){for(var n=e.length;n--;)if(e[n]===t)return n;return-1},n.cancellable=function(e){var t=function(){return t.cancelled?void 0:e.apply(this,arguments)};return t.cancel=function(){t.cancelled=!0},t},n.looseEqual=function(e,t){return e==t||(n.isObject(e)&&n.isObject(t)?JSON.stringify(e)===JSON.stringify(t):!1)}},{}],76:[function(e,t,n){(function(t){function i(e,t){var n,r,o;for(n in t)r=e[n],o=t[n],e.hasOwnProperty(n)?l.isObject(r)&&l.isObject(o)&&i(r,o):l.set(e,n,o);return e}function r(e,t){var n=Object.create(e);return t?u(n,a(t)):n}function o(e){if(e.components)for(var n,i=e.components=a(e.components),r=Object.keys(i),o=0,s=r.length;s>o;o++){var c=r[o];l.commonTagRE.test(c)?"production"!==t.env.NODE_ENV&&l.warn("Do not use built-in HTML elements as component id: "+c):(n=i[c],l.isPlainObject(n)&&(i[c]=l.Vue.extend(n)))}}function s(e){var t,n=e.props;if(l.isArray(n))for(e.props={},t=n.length;t--;)e.props[n[t]]=null;else if(l.isPlainObject(n)){ var i=Object.keys(n);for(t=i.length;t--;){var r=n[i[t]];"function"==typeof r&&(n[i[t]]={type:r})}}}function a(e){if(l.isArray(e)){for(var n,i={},r=e.length;r--;){n=e[r];var o="function"==typeof n?n.options&&n.options.name||n.id:n.name||n.id;o?i[o]=n:"production"!==t.env.NODE_ENV&&l.warn('Array-syntax assets must provide a "name" or "id" field.')}return i}return e}var l=e("./index"),c=e("../config"),u=l.extend,h=c.optionMergeStrategies=Object.create(null);h.data=function(e,n,r){return r?e||n?function(){var t="function"==typeof n?n.call(r):n,o="function"==typeof e?e.call(r):void 0;return t?i(t,o):o}:void 0:n?"function"!=typeof n?("production"!==t.env.NODE_ENV&&l.warn('The "data" option should be a function that returns a per-instance value in component definitions.'),e):e?function(){return i(n.call(this),e.call(this))}:n:e},h.el=function(e,n,i){if(!i&&n&&"function"!=typeof n)return void("production"!==t.env.NODE_ENV&&l.warn('The "el" option should be a function that returns a per-instance value in component definitions.'));var r=n||e;return i&&"function"==typeof r?r.call(i):r},h.init=h.created=h.ready=h.attached=h.detached=h.beforeCompile=h.compiled=h.beforeDestroy=h.destroyed=function(e,t){return t?e?e.concat(t):l.isArray(t)?t:[t]:e},h.paramAttributes=function(){"production"!==t.env.NODE_ENV&&l.warn('"paramAttributes" option has been deprecated in 0.12. Use "props" instead.')},c._assetTypes.forEach(function(e){h[e+"s"]=r}),h.watch=h.events=function(e,t){if(!t)return e;if(!e)return t;var n={};u(n,e);for(var i in t){var r=n[i],o=t[i];r&&!l.isArray(r)&&(r=[r]),n[i]=r?r.concat(o):[o]}return n},h.props=h.methods=h.computed=function(e,t){if(!t)return e;if(!e)return t;var n=Object.create(null);return u(n,e),u(n,t),n};var p=function(e,t){return void 0===t?e:t};n.mergeOptions=function d(e,t,n){function i(i){var r=h[i]||p;a[i]=r(e[i],t[i],n,i)}o(t),s(t);var r,a={};if(t.mixins)for(var l=0,c=t.mixins.length;c>l;l++)e=d(e,t.mixins[l],n);for(r in e)i(r);for(r in t)e.hasOwnProperty(r)||i(r);return a},n.resolveAsset=function(e,t,n){var i,r=e[t];return r[n]||r[i=l.camelize(n)]||r[i.charAt(0).toUpperCase()+i.slice(1)]}}).call(this,e("_process"))},{"../config":23,"./index":74,_process:2}],77:[function(e,t,n){(function(n){function i(e){this._init(e)}var r=e("./util"),o=r.extend;o(i,e("./api/global")),i.options={replace:!0,directives:e("./directives/public"),elementDirectives:e("./directives/element"),filters:e("./filters"),transitions:{},components:{},partials:{}};var s=i.prototype;Object.defineProperty(s,"$data",{get:function(){return this._data},set:function(e){e!==this._data&&this._setData(e)}}),o(s,e("./instance/init")),o(s,e("./instance/events")),o(s,e("./instance/state")),o(s,e("./instance/lifecycle")),o(s,e("./instance/misc")),o(s,e("./api/data")),o(s,e("./api/dom")),o(s,e("./api/events")),o(s,e("./api/lifecycle")),i.version="1.0.7",t.exports=r.Vue=i,"production"!==n.env.NODE_ENV&&r.inBrowser&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__.emit("init",i)}).call(this,e("_process"))},{"./api/data":12,"./api/dom":13,"./api/events":14,"./api/global":15,"./api/lifecycle":16,"./directives/element":25,"./directives/public":40,"./filters":51,"./instance/events":54,"./instance/init":55,"./instance/lifecycle":56,"./instance/misc":57,"./instance/state":58,"./util":74,_process:2}],78:[function(e,t,n){(function(n){function i(e,t,n,i){i&&o.extend(this,i);var r="function"==typeof t;if(this.vm=e,e._watchers.push(this),this.expression=r?t.toString():t,this.cb=n,this.id=++u,this.active=!0,this.dirty=this.lazy,this.deps=Object.create(null),this.newDeps=null,this.prevError=null,r)this.getter=t,this.setter=void 0;else{var s=l.parse(t,this.twoWay);this.getter=s.get,this.setter=s.set}this.value=this.lazy?void 0:this.get(),this.queued=this.shallow=!1}function r(e){var t,n;if(o.isArray(e))for(t=e.length;t--;)r(e[t]);else if(o.isObject(e))for(n=Object.keys(e),t=n.length;t--;)r(e[n[t]])}var o=e("./util"),s=e("./config"),a=e("./observer/dep"),l=e("./parsers/expression"),c=e("./batcher"),u=0;i.prototype.addDep=function(e){var t=e.id;this.newDeps[t]||(this.newDeps[t]=e,this.deps[t]||(this.deps[t]=e,e.addSub(this)))},i.prototype.get=function(){this.beforeGet();var e,t=this.scope||this.vm;try{e=this.getter.call(t,t)}catch(i){"production"!==n.env.NODE_ENV&&s.warnExpressionErrors&&o.warn('Error when evaluating expression "'+this.expression+'". '+(s.debug?"":"Turn on debug mode to see stack trace."),i)}return this.deep&&r(e),this.preProcess&&(e=this.preProcess(e)),this.filters&&(e=t._applyFilters(e,null,this.filters,!1)),this.postProcess&&(e=this.postProcess(e)),this.afterGet(),e},i.prototype.set=function(e){var t=this.scope||this.vm;this.filters&&(e=t._applyFilters(e,this.value,this.filters,!0));try{this.setter.call(t,t,e)}catch(i){"production"!==n.env.NODE_ENV&&s.warnExpressionErrors&&o.warn('Error when evaluating setter "'+this.expression+'"',i)}var r=t.$forContext;"production"!==n.env.NODE_ENV&&r&&r.filters&&new RegExp(r.alias+"\\b").test(this.expression)&&o.warn("It seems you are using two-way binding on a v-for alias ("+this.expression+"), and the v-for has filters. This will not work properly. Either remove the filters or use an array of objects and bind to object properties instead."),r&&r.alias===this.expression&&!r.filters&&(t.$key?r.rawValue[t.$key]=e:r.rawValue.$set(t.$index,e))},i.prototype.beforeGet=function(){a.target=this,this.newDeps=Object.create(null)},i.prototype.afterGet=function(){a.target=null;for(var e=Object.keys(this.deps),t=e.length;t--;){var n=e[t];this.newDeps[n]||this.deps[n].removeSub(this)}this.deps=this.newDeps},i.prototype.update=function(e){this.lazy?this.dirty=!0:this.sync||!s.async?this.run():(this.shallow=this.queued?e?this.shallow:!1:!!e,this.queued=!0,"production"!==n.env.NODE_ENV&&s.debug&&(this.prevError=new Error("[vue] async stack trace")),c.push(this))},i.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||(o.isArray(e)||this.deep)&&!this.shallow){var t=this.value;this.value=e;var i=this.prevError;if("production"!==n.env.NODE_ENV&&s.debug&&i){this.prevError=null;try{this.cb.call(this.vm,e,t)}catch(r){throw o.nextTick(function(){throw i},0),r}}else this.cb.call(this.vm,e,t)}this.queued=this.shallow=!1}},i.prototype.evaluate=function(){var e=a.target;this.value=this.get(),this.dirty=!1,a.target=e},i.prototype.depend=function(){for(var e=Object.keys(this.deps),t=e.length;t--;)this.deps[e[t]].depend()},i.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||this.vm._watchers.$remove(this);for(var e=Object.keys(this.deps),t=e.length;t--;)this.deps[e[t]].removeSub(this);this.active=!1,this.vm=this.cb=this.value=null}},t.exports=i}).call(this,e("_process"))},{"./batcher":17,"./config":23,"./observer/dep":60,"./parsers/expression":63,"./util":74,_process:2}],79:[function(e,t,n){!function(e,n){"use strict";var i,r,o,s=e,a=s.document,l=s.navigator,c=s.setTimeout,u=s.clearTimeout,h=s.setInterval,p=s.clearInterval,d=s.getComputedStyle,f=s.encodeURIComponent,m=s.ActiveXObject,v=s.Error,g=s.Number.parseInt||s.parseInt,y=s.Number.parseFloat||s.parseFloat,b=s.Number.isNaN||s.isNaN,w=s.Date.now,_=s.Object.keys,x=s.Object.defineProperty,E=s.Object.prototype.hasOwnProperty,C=s.Array.prototype.slice,k=function(){var e=function(e){return e};if("function"==typeof s.wrap&&"function"==typeof s.unwrap)try{var t=a.createElement("div"),n=s.unwrap(t);1===t.nodeType&&n&&1===n.nodeType&&(e=s.unwrap)}catch(i){}return e}(),O=function(e){return C.call(e,0)},A=function(){var e,t,i,r,o,s,a=O(arguments),l=a[0]||{};for(e=1,t=a.length;t>e;e++)if(null!=(i=a[e]))for(r in i)E.call(i,r)&&(o=l[r],s=i[r],l!==s&&s!==n&&(l[r]=s));return l},N=function(e){var t,n,i,r;if("object"!=typeof e||null==e||"number"==typeof e.nodeType)t=e;else if("number"==typeof e.length)for(t=[],n=0,i=e.length;i>n;n++)E.call(e,n)&&(t[n]=N(e[n]));else{t={};for(r in e)E.call(e,r)&&(t[r]=N(e[r]))}return t},T=function(e,t){for(var n={},i=0,r=t.length;r>i;i++)t[i]in e&&(n[t[i]]=e[t[i]]);return n},D=function(e,t){var n={};for(var i in e)-1===t.indexOf(i)&&(n[i]=e[i]);return n},F=function(e){if(e)for(var t in e)E.call(e,t)&&delete e[t];return e},$=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},j=function(e){var t;return"string"==typeof e&&e&&(t=e.split("#")[0].split("?")[0],t=e.slice(0,e.lastIndexOf("/")+1)),t},S=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},P=function(){var e,t;try{throw new v}catch(n){t=n}return t&&(e=t.sourceURL||t.fileName||S(t.stack)),e},L=function(){var e,t,i;if(a.currentScript&&(e=a.currentScript.src))return e;if(t=a.getElementsByTagName("script"),1===t.length)return t[0].src||n;if("readyState"in t[0])for(i=t.length;i--;)if("interactive"===t[i].readyState&&(e=t[i].src))return e;return"loading"===a.readyState&&(e=t[t.length-1].src)?e:(e=P())?e:n},I=function(){var e,t,i,r=a.getElementsByTagName("script");for(e=r.length;e--;){if(!(i=r[e].src)){t=null;break}if(i=j(i),null==t)t=i;else if(t!==i){t=null;break}}return t||n},z=function(){var e=j(L())||I()||"";return e+"ZeroClipboard.swf"},R=function(){return null==e.opener&&(!!e.top&&e!=e.top||!!e.parent&&e!=e.parent)}(),V={bridge:null,version:"0.0.0",pluginType:"unknown",disabled:null,outdated:null,sandboxed:null,unavailable:null,degraded:null,deactivated:null,overdue:null,ready:null},M="11.0.0",H={},U={},B=null,q=0,W=0,Q={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"}},Z=["flash-unavailable","flash-degraded","flash-overdue","version-mismatch","config-mismatch","clipboard-error"],X=["flash-disabled","flash-outdated","flash-sandboxed","flash-unavailable","flash-degraded","flash-deactivated","flash-overdue"],G=new RegExp("^flash-("+X.map(function(e){return e.replace(/^flash-/,"")}).join("|")+")$"),Y=new RegExp("^flash-("+X.slice(1).map(function(e){return e.replace(/^flash-/,"")}).join("|")+")$"),J={swfPath:z(),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(E.call(e,t))if(/^(?:forceHandCursor|title|zIndex|bubbleEvents)$/.test(t))J[t]=e[t];else if(null==V.bridge)if("containerId"===t||"swfObjectId"===t){if(!fe(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 N(J);if(E.call(J,e))return J[e]}},ee=function(){return We(),{browser:T(l,["userAgent","platform","appName"]),flash:D(V,["bridge"]),zeroclipboard:{version:Ze.version,config:Ze.config()}}},te=function(){return!!(V.disabled||V.outdated||V.sandboxed||V.unavailable||V.degraded||V.deactivated)},ne=function(e,t){var r,o,s,a={};if("string"==typeof e&&e)s=e.toLowerCase().split(/\s+/);else if("object"==typeof e&&e&&"undefined"==typeof t)for(r in e)E.call(e,r)&&"string"==typeof r&&r&&"function"==typeof e[r]&&Ze.on(r,e[r]);if(s&&s.length){for(r=0,o=s.length;o>r;r++)e=s[r].replace(/^on/,""),a[e]=!0,H[e]||(H[e]=[]),H[e].push(t);if(a.ready&&V.ready&&Ze.emit({type:"ready"}),a.error){for(r=0,o=X.length;o>r;r++)if(V[X[r].replace(/^flash-/,"")]===!0){Ze.emit({type:"error",name:X[r]});break}i!==n&&Ze.version!==i&&Ze.emit({type:"error",name:"version-mismatch",jsVersion:Ze.version,swfVersion:i})}}return Ze},ie=function(e,t){var n,i,r,o,s;if(0===arguments.length)o=_(H);else if("string"==typeof e&&e)o=e.split(/\s+/);else if("object"==typeof e&&e&&"undefined"==typeof t)for(n in e)E.call(e,n)&&"string"==typeof n&&n&&"function"==typeof e[n]&&Ze.off(n,e[n]);if(o&&o.length)for(n=0,i=o.length;i>n;n++)if(e=o[n].toLowerCase().replace(/^on/,""),s=H[e],s&&s.length)if(t)for(r=s.indexOf(t);-1!==r;)s.splice(r,1),r=s.indexOf(t,r);else s.length=0;return Ze},re=function(e){var t;return t="string"==typeof e&&e?N(H[e])||null:N(H)},oe=function(e){var t,n,i;return e=me(e),e&&!xe(e)?"ready"===e.type&&V.overdue===!0?Ze.emit({type:"error",name:"flash-overdue"}):(t=A({},e),we.call(this,t),"copy"===e.type&&(i=De(U),n=i.data,B=i.formatMap),n):void 0},se=function(){var e=V.sandboxed;if(We(),"boolean"!=typeof V.ready&&(V.ready=!1),V.sandboxed!==e&&V.sandboxed===!0)V.ready=!1,Ze.emit({type:"error",name:"flash-sandboxed"});else if(!Ze.isFlashUnusable()&&null===V.bridge){var t=J.flashLoadTimeout;"number"==typeof t&&t>=0&&(q=c(function(){"boolean"!=typeof V.deactivated&&(V.deactivated=!0),V.deactivated===!0&&Ze.emit({type:"error",name:"flash-deactivated"})},t)),V.overdue=!1,Ne()}},ae=function(){Ze.clearData(),Ze.blur(),Ze.emit("destroy"),Te(),Ze.off()},le=function(e,t){var n;if("object"==typeof e&&e&&"undefined"==typeof t)n=e,Ze.clearData();else{if("string"!=typeof e||!e)return;n={},n[e]=t}for(var i in n)"string"==typeof i&&i&&E.call(n,i)&&"string"==typeof n[i]&&n[i]&&(U[i]=n[i])},ce=function(e){"undefined"==typeof e?(F(U),B=null):"string"==typeof e&&E.call(U,e)&&delete U[e]},ue=function(e){return"undefined"==typeof e?N(U):"string"==typeof e&&E.call(U,e)?U[e]:void 0},he=function(e){if(e&&1===e.nodeType){r&&(ze(r,J.activeClass),r!==e&&ze(r,J.hoverClass)),r=e,Ie(e,J.hoverClass);var t=e.getAttribute("title")||J.title;if("string"==typeof t&&t){var n=Ae(V.bridge);n&&n.setAttribute("title",t)}var i=J.forceHandCursor===!0||"pointer"===Re(e,"cursor");Be(i),Ue()}},pe=function(){var e=Ae(V.bridge);e&&(e.removeAttribute("title"),e.style.left="0px",e.style.top="-9999px",e.style.width="1px",e.style.height="1px"),r&&(ze(r,J.hoverClass),ze(r,J.activeClass),r=null)},de=function(){return r||null},fe=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||r||null,relatedTarget:e.relatedTarget||null,currentTarget:V&&V.bridge||null,timeStamp:e.timeStamp||w()||null});var n=Q[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:V.version}),"error"===e.type&&(G.test(e.name)&&A(e,{target:null,minimumVersion:M}),Y.test(e.name)&&A(e,{version:V.version})),"copy"===e.type&&(e.clipboardData={setData:Ze.setData,clearData:Ze.clearData}),"aftercopy"===e.type&&(e=Fe(e,B)),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?a.getElementById(t):null},ge=function(e){if(e&&/^_(?:click|mouse(?:over|out|down|up|move))$/.test(e.type)){var t=e.target,i="_mouseover"===e.type&&e.relatedTarget?e.relatedTarget:n,r="_mouseout"===e.type&&e.relatedTarget?e.relatedTarget:n,o=Ve(t),l=s.screenLeft||s.screenX||0,c=s.screenTop||s.screenY||0,u=a.body.scrollLeft+a.documentElement.scrollLeft,h=a.body.scrollTop+a.documentElement.scrollTop,p=o.left+("number"==typeof e._stageX?e._stageX:0),d=o.top+("number"==typeof e._stageY?e._stageY:0),f=p-u,m=d-h,v=l+f,g=c+m,y="number"==typeof e.movementX?e.movementX:0,b="number"==typeof e.movementY?e.movementY:0;delete e._stageX,delete e._stageY,A(e,{srcElement:t,fromElement:i,toElement:r,screenX:v,screenY:g,pageX:p,pageY:d,clientX:f,clientY:m,x:f,y:m,movementX:y,movementY:b,offsetX:0,offsetY:0,layerX:0,layerY:0})}return e},ye=function(e){var t=e&&"string"==typeof e.type&&e.type||"";return!/^(?:(?:before)?copy|destroy)$/.test(t)},be=function(e,t,n,i){i?c(function(){e.apply(t,n)},0):e.apply(t,n)},we=function(e){if("object"==typeof e&&e&&e.type){var t=ye(e),n=H["*"]||[],i=H[e.type]||[],r=n.concat(i);if(r&&r.length){var o,a,l,c,u,h=this;for(o=0,a=r.length;a>o;o++)l=r[o],c=h,"string"==typeof l&&"function"==typeof s[l]&&(l=s[l]),"object"==typeof l&&l&&"function"==typeof l.handleEvent&&(c=l,l=l.handleEvent),"function"==typeof l&&(u=A({},e),be(l,c,[u],t))}return this}},_e=function(e){var t=null;return(R===!1||e&&"error"===e.type&&e.name&&-1!==Z.indexOf(e.name))&&(t=!1),t},xe=function(e){var t=e.target||r||null,n="swf"===e._source;switch(delete e._source,e.type){case"error":var s="flash-sandboxed"===e.name||_e(e);"boolean"==typeof s&&(V.sandboxed=s),-1!==X.indexOf(e.name)?A(V,{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&&(i=e.swfVersion,A(V,{disabled:!1,outdated:!1,unavailable:!1,degraded:!1,deactivated:!1,overdue:!1,ready:!1})),He();break;case"ready":i=e.swfVersion;var a=V.deactivated===!0;A(V,{disabled:!1,outdated:!1,sandboxed:!1,unavailable:!1,degraded:!1,deactivated:!1,overdue:a,ready:!a}),He();break;case"beforecopy":o=t;break;case"copy":var l,c,u=e.relatedTarget;!U["text/html"]&&!U["text/plain"]&&u&&(c=u.value||u.outerHTML||u.innerHTML)&&(l=u.value||u.textContent||u.innerText)?(e.clipboardData.clearData(),e.clipboardData.setData("text/plain",l),c!==l&&e.clipboardData.setData("text/html",c)):!U["text/plain"]&&e.target&&(l=e.target.getAttribute("data-clipboard-text"))&&(e.clipboardData.clearData(),e.clipboardData.setData("text/plain",l));break;case"aftercopy":Ee(e),Ze.clearData(),t&&t!==Le()&&t.focus&&t.focus();break;case"_mouseover":Ze.focus(t),J.bubbleEvents===!0&&n&&(t&&t!==e.relatedTarget&&!$(e.relatedTarget,t)&&Ce(A({},e,{type:"mouseenter",bubbles:!1,cancelable:!1})),Ce(A({},e,{type:"mouseover"})));break;case"_mouseout":Ze.blur(),J.bubbleEvents===!0&&n&&(t&&t!==e.relatedTarget&&!$(e.relatedTarget,t)&&Ce(A({},e,{type:"mouseleave",bubbles:!1,cancelable:!1})),Ce(A({},e,{type:"mouseout"})));break;case"_mousedown":Ie(t,J.activeClass),J.bubbleEvents===!0&&n&&Ce(A({},e,{type:e.type.slice(1)}));break;case"_mouseup":ze(t,J.activeClass),J.bubbleEvents===!0&&n&&Ce(A({},e,{type:e.type.slice(1)}));break;case"_click":o=null,J.bubbleEvents===!0&&n&&Ce(A({},e,{type:e.type.slice(1)}));break;case"_mousemove":J.bubbleEvents===!0&&n&&Ce(A({},e,{type:e.type.slice(1)}))}return/^_(?:click|mouse(?:over|out|down|up|move))$/.test(e.type)?!0:void 0},Ee=function(e){if(e.errors&&e.errors.length>0){var t=N(e);A(t,{type:"error",name:"clipboard-error"}),delete t.success,c(function(){Ze.emit(t)},0)}},Ce=function(e){if(e&&"string"==typeof e.type&&e){var t,n=e.target||null,i=n&&n.ownerDocument||a,r={view:i.defaultView||s,canBubble:!0,cancelable:!0,detail:"click"===e.type?1:0,button:"number"==typeof e.which?e.which-1:"number"==typeof e.button?e.button:i.createEvent?0:1},o=A(r,e);n&&i.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=i.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=h(function(){var e=a.getElementById(n);Me(e)&&(He(),V.deactivated=null,Ze.emit({type:"error",name:"swf-not-found"}))},t)}},Oe=function(){var e=a.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=""+qe(J.zIndex),e},Ae=function(e){for(var t=e&&e.parentNode;t&&"OBJECT"===t.nodeName&&t.parentNode;)t=t.parentNode;return t||null},Ne=function(){var e,t=V.bridge,n=Ae(t);if(!t){var i=Pe(s.location.host,J),r="never"===i?"none":"all",o=je(A({jsVersion:Ze.version},J)),l=J.swfPath+$e(J.swfPath,J);n=Oe();var c=a.createElement("div");n.appendChild(c),a.body.appendChild(n);var u=a.createElement("div"),h="activex"===V.pluginType;u.innerHTML='"+(h?'':"")+'
 
',t=u.firstChild,u=null,k(t).ZeroClipboard=Ze,n.replaceChild(t,c),ke()}return t||(t=a[J.swfObjectId],t&&(e=t.length)&&(t=t[e-1]),!t&&n&&(t=n.firstChild)),V.bridge=t||null,t},Te=function(){var e=V.bridge;if(e){var t=Ae(e);t&&("activex"===V.pluginType&&"readyState"in e?(e.style.display="none",function r(){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 c(r,10)}()):(e.parentNode&&e.parentNode.removeChild(e),t.parentNode&&t.parentNode.removeChild(t))),He(),V.ready=null,V.bridge=null,V.deactivated=null,i=n}},De=function(e){var t={},n={};if("object"==typeof e&&e){for(var i in e)if(i&&E.call(e,i)&&"string"==typeof e[i]&&e[i])switch(i.toLowerCase()){case"text/plain":case"text":case"air:text":case"flash:text":t.text=e[i],n.text=i;break;case"text/html":case"html":case"air:html":case"flash:html":t.html=e[i],n.html=i;break;case"application/rtf":case"text/rtf":case"rtf":case"richtext":case"air:rtf":case"flash:rtf":t.rtf=e[i],n.rtf=i}return{data:t,formatMap:n}}},Fe=function(e,t){if("object"!=typeof e||!e||"object"!=typeof t||!t)return e;var n={};for(var i in e)if(E.call(e,i))if("errors"===i){n[i]=e[i]?e[i].slice():[];for(var r=0,o=n[i].length;o>r;r++)n[i][r].format=t[n[i][r].format]}else if("success"!==i&&"data"!==i)n[i]=e[i];else{n[i]={};var s=e[i];for(var a in s)a&&E.call(s,a)&&E.call(t,a)&&(n[i][t[a]]=s[a])}return n},$e=function(e,t){var n=null==t||t&&t.cacheBust===!0;return n?(-1===e.indexOf("?")?"?":"&")+"noCache="+w():""},je=function(e){var t,n,i,r,o="",a=[];if(e.trustedDomains&&("string"==typeof e.trustedDomains?r=[e.trustedDomains]:"object"==typeof e.trustedDomains&&"length"in e.trustedDomains&&(r=e.trustedDomains)),r&&r.length)for(t=0,n=r.length;n>t;t++)if(E.call(r,t)&&r[t]&&"string"==typeof r[t]){if(i=Se(r[t]),!i)continue;if("*"===i){a.length=0,a.push(i);break}a.push.apply(a,[i,"//"+i,s.location.protocol+"//"+i])}return a.length&&(o+="trustedOrigins="+f(a.join(","))),e.forceEnhancedClipboard===!0&&(o+=(o?"&":"")+"forceEnhancedClipboard=true"),"string"==typeof e.swfObjectId&&e.swfObjectId&&(o+=(o?"&":"")+"swfObjectId="+f(e.swfObjectId)),"string"==typeof e.jsVersion&&e.jsVersion&&(o+=(o?"&":"")+"jsVersion="+f(e.jsVersion)),o},Se=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},Pe=function(){var e=function(e){var t,n,i,r=[];if("string"==typeof e&&(e=[e]),"object"!=typeof e||!e||"number"!=typeof e.length)return r;for(t=0,n=e.length;n>t;t++)if(E.call(e,t)&&(i=Se(e[t]))){if("*"===i){r.length=0,r.push("*");break}-1===r.indexOf(i)&&r.push(i)}return r};return function(t,n){var i=Se(n.swfPath);null===i&&(i=t);var r=e(n.trustedDomains),o=r.length;if(o>0){if(1===o&&"*"===r[0])return"always";if(-1!==r.indexOf(t))return 1===o&&t===i?"sameDomain":"always"}return"never"}}(),Le=function(){try{return a.activeElement}catch(e){return null}},Ie=function(e,t){var n,i,r,o=[];if("string"==typeof t&&t&&(o=t.split(/\s+/)),e&&1===e.nodeType&&o.length>0)if(e.classList)for(n=0,i=o.length;i>n;n++)e.classList.add(o[n]);else if(e.hasOwnProperty("className")){for(r=" "+e.className+" ",n=0,i=o.length;i>n;n++)-1===r.indexOf(" "+o[n]+" ")&&(r+=o[n]+" ");e.className=r.replace(/^\s+|\s+$/g,"")}return e},ze=function(e,t){var n,i,r,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,i=o.length;i>n;n++)e.classList.remove(o[n]);else if(e.className){for(r=(" "+e.className+" ").replace(/[\r\n\t]/g," "),n=0,i=o.length;i>n;n++)r=r.replace(" "+o[n]+" "," ");e.className=r.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"},Ve=function(e){var t={left:0,top:0,width:0,height:0};if(e.getBoundingClientRect){var n=e.getBoundingClientRect(),i=s.pageXOffset,r=s.pageYOffset,o=a.documentElement.clientLeft||0,l=a.documentElement.clientTop||0,c=0,u=0;if("relative"===Re(a.body,"position")){var h=a.body.getBoundingClientRect(),p=a.documentElement.getBoundingClientRect();c=h.left-p.left||0,u=h.top-p.top||0}t.left=n.left+i-o-c,t.top=n.top+r-l-u,t.width="width"in n?n.width:n.right-n.left,t.height="height"in n?n.height:n.bottom-n.top}return t},Me=function(e){if(!e)return!1;var t=d(e,null),n=y(t.height)>0,i=y(t.width)>0,r=y(t.top)>=0,o=y(t.left)>=0,s=n&&i&&r&&o,a=s?null:Ve(e),l="none"!==t.display&&"collapse"!==t.visibility&&(s||!!a&&(n||a.height>0)&&(i||a.width>0)&&(r||a.top>=0)&&(o||a.left>=0));return l},He=function(){u(q),q=0,p(W),W=0},Ue=function(){var e;if(r&&(e=Ae(V.bridge))){var t=Ve(r);A(e.style,{width:t.width+"px",height:t.height+"px",top:t.top+"px",left:t.left+"px",zIndex:""+qe(J.zIndex)})}},Be=function(e){V.ready===!0&&(V.bridge&&"function"==typeof V.bridge.setHandCursor?V.bridge.setHandCursor(e):V.ready=!1)},qe=function(e){if(/^(?:auto|inherit)$/.test(e))return e;var t;return"number"!=typeof e||b(e)?"string"==typeof e&&(t=qe(g(e,10))):t=e,"number"==typeof t?t:"auto"},We=function(t){var n,i,r,o=V.sandboxed,s=null;if(t=t===!0,R===!1)s=!1;else{try{i=e.frameElement||null}catch(a){r={name:a.name,message:a.message}}if(i&&1===i.nodeType&&"IFRAME"===i.nodeName)try{s=i.hasAttribute("sandbox")}catch(a){s=null}else{try{n=document.domain||null}catch(a){n=null}(null===n||r&&"SecurityError"===r.name&&/(^|[\s\(\[@])sandbox(es|ed|ing|[\s\.,!\)\]@]|$)/.test(r.message.toLowerCase()))&&(s=!0)}}return V.sandboxed=s,o===s||t||Qe(m),s},Qe=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 i(e){e&&(a=!0,e.version&&(h=t(e.version)),!h&&e.description&&(h=t(e.description)),e.filename&&(u=n(e.filename)))}var r,o,s,a=!1,c=!1,u=!1,h="";if(l.plugins&&l.plugins.length)r=l.plugins["Shockwave Flash"],i(r),l.plugins["Shockwave Flash 2.0"]&&(a=!0,h="2.0.0.11");else if(l.mimeTypes&&l.mimeTypes.length)s=l.mimeTypes["application/x-shockwave-flash"],r=s&&s.enabledPlugin,i(r);else if("undefined"!=typeof e){c=!0;try{o=new e("ShockwaveFlash.ShockwaveFlash.7"),a=!0,h=t(o.GetVariable("$version"))}catch(p){try{o=new e("ShockwaveFlash.ShockwaveFlash.6"),a=!0,h="6.0.21"}catch(d){try{o=new e("ShockwaveFlash.ShockwaveFlash"),a=!0,h=t(o.GetVariable("$version"))}catch(f){c=!1}}}}V.disabled=a!==!0,V.outdated=h&&y(h)r;r++)e=s[r].replace(/^on/,""),a[e]=!0,c[e]||(c[e]=[]),c[e].push(t);if(a.ready&&V.ready&&this.emit({type:"ready",client:this}),a.error){for(r=0,o=X.length;o>r;r++)if(V[X[r].replace(/^flash-/,"")]){this.emit({type:"error",name:X[r],client:this});break}i!==n&&Ze.version!==i&&this.emit({type:"error",name:"version-mismatch",jsVersion:Ze.version,swfVersion:i})}}return this},nt=function(e,t){var n,i,r,o,s,a=Ge[this.id],l=a&&a.handlers;if(!l)return this;if(0===arguments.length)o=_(l);else if("string"==typeof e&&e)o=e.split(/\s+/);else if("object"==typeof e&&e&&"undefined"==typeof t)for(n in e)E.call(e,n)&&"string"==typeof n&&n&&"function"==typeof e[n]&&this.off(n,e[n]);if(o&&o.length)for(n=0,i=o.length;i>n;n++)if(e=o[n].toLowerCase().replace(/^on/,""),s=l[e],s&&s.length)if(t)for(r=s.indexOf(t);-1!==r;)s.splice(r,1),r=s.indexOf(t,r);else s.length=0;return this},it=function(e){var t=null,n=Ge[this.id]&&Ge[this.id].handlers;return n&&(t="string"==typeof e&&e?n[e]?n[e].slice(0):[]:N(n)),t},rt=function(e){if(ct.call(this,e)){"object"==typeof e&&e&&"string"==typeof e.type&&e.type&&(e=A({},e));var t=A({},me(e),{client:this});ut.call(this,t)}return this},ot=function(e){if(!Ge[this.id])throw new Error("Attempted to clip element(s) to a destroyed ZeroClipboard client instance"); -e=ht(e);for(var t=0;t0,r=!e.target||i&&-1!==n.indexOf(e.target),o=e.relatedTarget&&i&&-1!==n.indexOf(e.relatedTarget),s=e.client&&e.client===this;return t&&(r||o||s)?!0:!1},ut=function(e){var t=Ge[this.id];if("object"==typeof e&&e&&e.type&&t){var n=ye(e),i=t&&t.handlers["*"]||[],r=t&&t.handlers[e.type]||[],o=i.concat(r);if(o&&o.length){var a,l,c,u,h,p=this;for(a=0,l=o.length;l>a;a++)c=o[a],u=p,"string"==typeof c&&"function"==typeof s[c]&&(c=s[c]),"object"==typeof c&&c&&"function"==typeof c.handleEvent&&(u=c,c=c.handleEvent),"function"==typeof c&&(h=A({},e),be(c,u,[h],n))}}},ht=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=s.event))&&("js"!==e._source&&(e.stopImmediatePropagation(),e.preventDefault()),delete e._source)},n=function(n){(n||(n=s.event))&&(t(n),Ze.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,i,r=["move","leave","enter","out","over"],o=0,s=r.length;s>o;o++)n="mouse"+r[o],i=t[n],"function"==typeof i&&e.removeEventListener(n,i,!1);delete Ke[e.zcClippingId]}}};Ze._createClient=function(){et.apply(this,O(arguments))},Ze.prototype.on=function(){return tt.apply(this,O(arguments))},Ze.prototype.off=function(){return nt.apply(this,O(arguments))},Ze.prototype.handlers=function(){return it.apply(this,O(arguments))},Ze.prototype.emit=function(){return rt.apply(this,O(arguments))},Ze.prototype.clip=function(){return ot.apply(this,O(arguments))},Ze.prototype.unclip=function(){return st.apply(this,O(arguments))},Ze.prototype.elements=function(){return at.apply(this,O(arguments))},Ze.prototype.destroy=function(){return lt.apply(this,O(arguments))},Ze.prototype.setText=function(e){if(!Ge[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ze.setData("text/plain",e),this},Ze.prototype.setHtml=function(e){if(!Ge[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ze.setData("text/html",e),this},Ze.prototype.setRichText=function(e){if(!Ge[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ze.setData("application/rtf",e),this},Ze.prototype.setData=function(){if(!Ge[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ze.setData.apply(this,O(arguments)),this},Ze.prototype.clearData=function(){if(!Ge[this.id])throw new Error("Attempted to clear pending clipboard data from a destroyed ZeroClipboard client instance");return Ze.clearData.apply(this,O(arguments)),this},Ze.prototype.getData=function(){if(!Ge[this.id])throw new Error("Attempted to get pending clipboard data from a destroyed ZeroClipboard client instance");return Ze.getData.apply(this,O(arguments))},"function"==typeof define&&define.amd?define(function(){return Ze}):"object"==typeof t&&t&&"object"==typeof t.exports&&t.exports?t.exports=Ze:e.ZeroClipboard=Ze}(function(){return this||window}())},{}],80:[function(e,t,n){"use strict";var i=e("dropzone");t.exports={data:function(){return{images:[],hasMore:!1,page:0,cClickTime:0,selectedImage:!1,dependantPages:!1,deleteForm:{},token:document.querySelector("meta[name=token]").getAttribute("content"),dataLoaded:!1}},created:function(){window.ImageManager=this},ready:function(){this.setupDropZone()},methods:{fetchData:function(){var e=this;this.$http.get("/images/all/"+e.page,function(t){e.images=e.images.concat(t.images),e.hasMore=t.hasMore,e.page++})},setupDropZone:function(){var e=this;new i(e.$els.dropZone,{url:"/upload/image",init:function(){var t=this;this.on("sending",function(t,n,i){i.append("_token",e.token)}),this.on("success",function(n,i){e.images.unshift(i),$(n.previewElement).fadeOut(400,function(){t.removeFile(n)})})}})},imageClick:function(e){var t=380,n=(new Date).getTime(),i=n-this.cClickTime;0!==this.cClickTime&&t>i&&this.selectedImage===e?(this.callback&&this.callback(e),this.hide()):(this.selectedImage=this.selectedImage===e?!1:e,this.dependantPages=!1),this.cClickTime=n},selectButtonClick:function(){this.callback&&this.callback(this.selectedImage),this.hide()},show:function(e){this.callback=e,this.$els.overlay.style.display="block",this.dataLoaded||(this.fetchData(this.page),this.dataLoaded=!0)},overlayClick:function(e){"overlay"===e.target.className&&this.hide()},hide:function(){this.$els.overlay.style.display="none"},saveImageDetails:function(e){e.preventDefault();var t=this;t.selectedImage._token=t.token;var n=$(t.$els.imageForm);$.ajax("/images/update/"+t.selectedImage.id,{method:"PUT",data:t.selectedImage}).done(function(){n.showSuccess("Image name updated")}).fail(function(e){n.showFailure(e.responseJSON)})},deleteImage:function(e){e.preventDefault();var t=this;t.deleteForm.force=t.dependantPages!==!1,t.deleteForm._token=t.token,$.ajax("/images/"+t.selectedImage.id,{method:"DELETE",data:t.deleteForm}).done(function(){t.images.splice(t.images.indexOf(t.selectedImage),1),t.selectedImage=!1,$(t.$els.imageTitle).showSuccess("Image Deleted")}).fail(function(e,n){400===e.status&&(t.dependantPages=e.responseJSON)})}}},("function"==typeof t.exports?t.exports.options:t.exports).template='\n
\n
\n
\n
\n
\n
\n \n
\n
Load More
\n
\n
\n \n
\n

Images

\n
\n
\n
Drop files or click here to upload
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n

\n This image is used in the pages below, Click delete again to confirm you want to delete\n this image.\n

\n \n
\n\n
\n \n
\n
\n
\n \n
\n
\n
\n
\n
\n',t.hot&&!function(){t.hot.accept();var n=e("vue-hot-reload-api");if(n.install(e("vue"),!0),n.compatible){var i="/home/dan/web/bookstack/resources/assets/js/components/image-manager.vue";t.hot.data?n.update(i,t.exports,t.exports.template):n.createRecord(i,t.exports)}}()},{dropzone:1,vue:77,"vue-hot-reload-api":3}],81:[function(e,t,n){"use strict";t.exports={props:["currentImage","name","imageClass","defaultImage"],data:function(){return{image:this.currentImage}},methods:{showImageManager:function(e){var t=this;ImageManager.show(function(e){t.image=e.url})},reset:function(){this.image=""},remove:function(){this.image="none"}}},("function"==typeof t.exports?t.exports.options:t.exports).template='\n
\n
\n Image Preview\n Image Preview\n
\n \n
\n | \n \n
\n',t.hot&&!function(){t.hot.accept();var n=e("vue-hot-reload-api");if(n.install(e("vue"),!0),n.compatible){var i="/home/dan/web/bookstack/resources/assets/js/components/image-picker.vue";t.hot.data?n.update(i,t.exports,t.exports.template):n.createRecord(i,t.exports)}}()},{vue:77,"vue-hot-reload-api":3}],82:[function(e,t,n){"use strict";t.exports={props:["name","value"],data:function(){return{isActive:1==this.value&&"false"!=this.value}},ready:function(){this.value=1==this.value&&"false"!=this.value?"true":"false"},methods:{"switch":function(){this.isActive=!this.isActive,this.value=this.isActive?"true":"false"}}},("function"==typeof t.exports?t.exports.options:t.exports).template='\n
\n \n
\n
\n',t.hot&&!function(){t.hot.accept();var n=e("vue-hot-reload-api");if(n.install(e("vue"),!0),n.compatible){var i="/home/dan/web/bookstack/resources/assets/js/components/toggle-switch.vue";t.hot.data?n.update(i,t.exports,t.exports.template):n.createRecord(i,t.exports)}}()},{vue:77,"vue-hot-reload-api":3}],83:[function(e,t,n){"use strict";function i(e){return null!==document.querySelector(e)}if(window.ZeroClipboard=e("zeroclipboard"),window.ZeroClipboard.config({swfPath:"/ZeroClipboard.swf"}),$(function(){$(".notification").click(function(){$(this).fadeOut(100)}),$("[data-dropdown]").dropDown(),$(".chapter-toggle").click(function(e){e.preventDefault(),$(this).toggleClass("open"),$(this).closest(".chapter").find(".inset-list").slideToggle(180)})}),i("#html-editor")){var r=e("./pages/page-form");tinymce.init(r)}var o=e("vue");o.use(e("vue-resource")),o.component("image-manager",e("./components/image-manager.vue")),o.component("image-picker",e("./components/image-picker.vue")),o.component("toggle-switch",e("./components/toggle-switch.vue")),i("#book-dashboard")&&new o(e("./pages/book-show"));new o({el:"#app"})},{"./components/image-manager.vue":80,"./components/image-picker.vue":81,"./components/toggle-switch.vue":82,"./pages/book-show":85,"./pages/page-form":86,vue:77,"vue-resource":5,zeroclipboard:79}],84:[function(e,t,n){"use strict";jQuery.fn.smoothScrollTo=function(){return 0!==this.length?($("body").animate({scrollTop:this.offset().top-60},800),this):void 0},$.expr[":"].contains=$.expr.createPseudo(function(e){return function(t){return $(t).text().toUpperCase().indexOf(e.toUpperCase())>=0}}),jQuery.fn.showSuccess=function(e){var t=$(this),n=$('");t.after(n),n.slideDown(400,function(){setTimeout(function(){n.slideUp(400,function(){n.remove()})},2e3)})},jQuery.fn.showFailure=function(e){var t=$(this);$.each(e,function(e,n){var i=t.find('[name="'+e+'"]').last(),r=$('");i.after(r),r.slideDown(400,function(){setTimeout(function(){r.slideUp(400,function(){r.remove()})},2e3)})})},jQuery.fn.submitForm=function(){$(this).closest("form").submit()},jQuery.fn.dropDown=function(){var e=$(this),t=e.find("ul");e.find("[data-dropdown-toggle]").on("click",function(){t.show().addClass("anim menuIn"),e.mouseleave(function(){t.hide(),t.removeClass("anim menuIn")})})}},{}],85:[function(e,t,n){"use strict";t.exports={el:"#book-dashboard",data:{searching:!1,searchTerm:"",searchResults:""},methods:{searchBook:function(e){e.preventDefault();var t=this.searchTerm;if(0!=t.length){this.searching=!0,this.searchResults="";var n=this.$els.form.getAttribute("action");n+="?term="+encodeURIComponent(t),this.$http.get(n,function(e){this.$set("searchResults",e)})}},checkSearchForm:function(e){this.searchTerm.length<1&&(this.searching=!1)},clearSearch:function(e){this.searching=!1,this.searchTerm=""}}}},{}],86:[function(e,t,n){"use strict";t.exports={selector:"#html-editor",content_css:["/build//css/styles-37cf2b24e1.css","//fonts.googleapis.com/css?family=Roboto:400,400italic,500,500italic,700,700italic,300italic,100,300"],body_class:"page-content",relative_urls:!1,statusbar:!1,menubar:!1,paste_data_images:!1,extended_valid_elements:"pre[*]",automatic_uploads:!1,valid_children:"-div[p|pre|h1|h2|h3|h4|h5|h6|blockquote]",plugins:"image table textcolor paste link fullscreen imagetools code hr autosave",imagetools_toolbar:"imageoptions",toolbar:"undo redo | styleselect | bold italic underline strikethrough superscript subscript | forecolor backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | table image-insert link hr | removeformat code fullscreen",content_style:"body {padding-left: 15px !important; padding-right: 15px !important; margin:0!important; margin-left:auto!important;margin-right:auto!important;}",style_formats:[{title:"Header 1",format:"h1"},{title:"Header 2",format:"h2"},{title:"Header 3",format:"h3"},{title:"Paragraph",format:"p"},{title:"Blockquote",format:"blockquote"},{title:"Code Block",icon:"code",format:"pre"},{title:"Inline Code",icon:"code",inline:"code"}],formats:{alignleft:{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img",classes:"align-left"},aligncenter:{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img",classes:"align-center"},alignright:{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img",classes:"align-right"}},file_browser_callback:function(e,t,n,i){ImageManager.show(function(t){if(i.document.getElementById(e).value=t.url,"createEvent"in document){var n=document.createEvent("HTMLEvents");n.initEvent("change",!1,!0),i.document.getElementById(e).dispatchEvent(n)}else i.document.getElementById(e).fireEvent("onchange")})},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 i=0;i');var u="image-"+Date.now()+"."+s;o.append("file",r,u),o.append("_token",document.querySelector('meta[name="token"]').getAttribute("content")),a.open("POST","/upload/image"),a.onload=function(){if(200===a.status||201===a.status){var t=JSON.parse(a.responseText);e.dom.setAttrib(c,"src",t.url)}else console.log("An error occured uploading the image"),console.log(a.responseText)},a.send(o)}}})}}},{}]},{},[84,83]); \ No newline at end of file +e=ht(e);for(var t=0;t0,r=!e.target||i&&-1!==n.indexOf(e.target),o=e.relatedTarget&&i&&-1!==n.indexOf(e.relatedTarget),s=e.client&&e.client===this;return t&&(r||o||s)?!0:!1},ut=function(e){var t=Ge[this.id];if("object"==typeof e&&e&&e.type&&t){var n=ye(e),i=t&&t.handlers["*"]||[],r=t&&t.handlers[e.type]||[],o=i.concat(r);if(o&&o.length){var a,l,c,u,h,p=this;for(a=0,l=o.length;l>a;a++)c=o[a],u=p,"string"==typeof c&&"function"==typeof s[c]&&(c=s[c]),"object"==typeof c&&c&&"function"==typeof c.handleEvent&&(u=c,c=c.handleEvent),"function"==typeof c&&(h=A({},e),be(c,u,[h],n))}}},ht=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=s.event))&&("js"!==e._source&&(e.stopImmediatePropagation(),e.preventDefault()),delete e._source)},n=function(n){(n||(n=s.event))&&(t(n),Ze.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,i,r=["move","leave","enter","out","over"],o=0,s=r.length;s>o;o++)n="mouse"+r[o],i=t[n],"function"==typeof i&&e.removeEventListener(n,i,!1);delete Ke[e.zcClippingId]}}};Ze._createClient=function(){et.apply(this,O(arguments))},Ze.prototype.on=function(){return tt.apply(this,O(arguments))},Ze.prototype.off=function(){return nt.apply(this,O(arguments))},Ze.prototype.handlers=function(){return it.apply(this,O(arguments))},Ze.prototype.emit=function(){return rt.apply(this,O(arguments))},Ze.prototype.clip=function(){return ot.apply(this,O(arguments))},Ze.prototype.unclip=function(){return st.apply(this,O(arguments))},Ze.prototype.elements=function(){return at.apply(this,O(arguments))},Ze.prototype.destroy=function(){return lt.apply(this,O(arguments))},Ze.prototype.setText=function(e){if(!Ge[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ze.setData("text/plain",e),this},Ze.prototype.setHtml=function(e){if(!Ge[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ze.setData("text/html",e),this},Ze.prototype.setRichText=function(e){if(!Ge[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ze.setData("application/rtf",e),this},Ze.prototype.setData=function(){if(!Ge[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ze.setData.apply(this,O(arguments)),this},Ze.prototype.clearData=function(){if(!Ge[this.id])throw new Error("Attempted to clear pending clipboard data from a destroyed ZeroClipboard client instance");return Ze.clearData.apply(this,O(arguments)),this},Ze.prototype.getData=function(){if(!Ge[this.id])throw new Error("Attempted to get pending clipboard data from a destroyed ZeroClipboard client instance");return Ze.getData.apply(this,O(arguments))},"function"==typeof define&&define.amd?define(function(){return Ze}):"object"==typeof t&&t&&"object"==typeof t.exports&&t.exports?t.exports=Ze:e.ZeroClipboard=Ze}(function(){return this||window}())},{}],80:[function(e,t,n){"use strict";var i=e("dropzone");t.exports={data:function(){return{images:[],hasMore:!1,page:0,cClickTime:0,selectedImage:!1,dependantPages:!1,deleteForm:{},token:document.querySelector("meta[name=token]").getAttribute("content"),dataLoaded:!1}},created:function(){window.ImageManager=this},ready:function(){this.setupDropZone()},methods:{fetchData:function(){var e=this;this.$http.get("/images/all/"+e.page,function(t){e.images=e.images.concat(t.images),e.hasMore=t.hasMore,e.page++})},setupDropZone:function(){var e=this;new i(e.$els.dropZone,{url:"/upload/image",init:function(){var t=this;this.on("sending",function(t,n,i){i.append("_token",e.token)}),this.on("success",function(n,i){e.images.unshift(i),$(n.previewElement).fadeOut(400,function(){t.removeFile(n)})}),this.on("error",function(e,t,n){t.file&&$(e.previewElement).find("[data-dz-errormessage]").text(t.file[0]),console.log(t)})}})},imageClick:function(e){var t=380,n=(new Date).getTime(),i=n-this.cClickTime;0!==this.cClickTime&&t>i&&this.selectedImage===e?(this.callback&&this.callback(e),this.hide()):(this.selectedImage=this.selectedImage===e?!1:e,this.dependantPages=!1),this.cClickTime=n},selectButtonClick:function(){this.callback&&this.callback(this.selectedImage),this.hide()},show:function(e){this.callback=e,this.$els.overlay.style.display="block",this.dataLoaded||(this.fetchData(this.page),this.dataLoaded=!0)},overlayClick:function(e){"overlay"===e.target.className&&this.hide()},hide:function(){this.$els.overlay.style.display="none"},saveImageDetails:function(e){e.preventDefault();var t=this;t.selectedImage._token=t.token;var n=$(t.$els.imageForm);$.ajax("/images/update/"+t.selectedImage.id,{method:"PUT",data:t.selectedImage}).done(function(){n.showSuccess("Image name updated")}).fail(function(e){n.showFailure(e.responseJSON)})},deleteImage:function(e){e.preventDefault();var t=this;t.deleteForm.force=t.dependantPages!==!1,t.deleteForm._token=t.token,$.ajax("/images/"+t.selectedImage.id,{method:"DELETE",data:t.deleteForm}).done(function(){t.images.splice(t.images.indexOf(t.selectedImage),1),t.selectedImage=!1,$(t.$els.imageTitle).showSuccess("Image Deleted")}).fail(function(e,n){400===e.status&&(t.dependantPages=e.responseJSON)})}}},("function"==typeof t.exports?t.exports.options:t.exports).template='\n
\n
\n
\n
\n
\n
\n \n
\n
Load More
\n
\n
\n \n
\n

Images

\n
\n
\n
Drop files or click here to upload
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n

\n This image is used in the pages below, Click delete again to confirm you want to delete\n this image.\n

\n \n
\n\n
\n \n
\n
\n
\n \n
\n
\n
\n
\n
\n',t.hot&&!function(){t.hot.accept();var n=e("vue-hot-reload-api");if(n.install(e("vue"),!0),n.compatible){var i="/home/dan/web/bookstack/resources/assets/js/components/image-manager.vue";t.hot.data?n.update(i,t.exports,t.exports.template):n.createRecord(i,t.exports)}}()},{dropzone:1,vue:77,"vue-hot-reload-api":3}],81:[function(e,t,n){"use strict";t.exports={props:["currentImage","name","imageClass","defaultImage"],data:function(){return{image:this.currentImage}},methods:{showImageManager:function(e){var t=this;ImageManager.show(function(e){t.image=e.url})},reset:function(){this.image=""},remove:function(){this.image="none"}}},("function"==typeof t.exports?t.exports.options:t.exports).template='\n
\n
\n Image Preview\n Image Preview\n
\n \n
\n | \n \n
\n',t.hot&&!function(){t.hot.accept();var n=e("vue-hot-reload-api");if(n.install(e("vue"),!0),n.compatible){var i="/home/dan/web/bookstack/resources/assets/js/components/image-picker.vue";t.hot.data?n.update(i,t.exports,t.exports.template):n.createRecord(i,t.exports)}}()},{vue:77,"vue-hot-reload-api":3}],82:[function(e,t,n){"use strict";t.exports={props:["name","value"],data:function(){return{isActive:1==this.value&&"false"!=this.value}},ready:function(){this.value=1==this.value&&"false"!=this.value?"true":"false"},methods:{"switch":function(){this.isActive=!this.isActive,this.value=this.isActive?"true":"false"}}},("function"==typeof t.exports?t.exports.options:t.exports).template='\n
\n \n
\n
\n',t.hot&&!function(){t.hot.accept();var n=e("vue-hot-reload-api");if(n.install(e("vue"),!0),n.compatible){var i="/home/dan/web/bookstack/resources/assets/js/components/toggle-switch.vue";t.hot.data?n.update(i,t.exports,t.exports.template):n.createRecord(i,t.exports)}}()},{vue:77,"vue-hot-reload-api":3}],83:[function(e,t,n){"use strict";function i(e){return null!==document.querySelector(e)}if(window.ZeroClipboard=e("zeroclipboard"),window.ZeroClipboard.config({swfPath:"/ZeroClipboard.swf"}),$(function(){$(".notification").click(function(){$(this).fadeOut(100)}),$("[data-dropdown]").dropDown(),$(".chapter-toggle").click(function(e){e.preventDefault(),$(this).toggleClass("open"),$(this).closest(".chapter").find(".inset-list").slideToggle(180)})}),i("#html-editor")){var r=e("./pages/page-form");tinymce.init(r)}var o=e("vue");o.use(e("vue-resource")),o.component("image-manager",e("./components/image-manager.vue")),o.component("image-picker",e("./components/image-picker.vue")),o.component("toggle-switch",e("./components/toggle-switch.vue")),i("#book-dashboard")&&new o(e("./pages/book-show"));new o({el:"#app"})},{"./components/image-manager.vue":80,"./components/image-picker.vue":81,"./components/toggle-switch.vue":82,"./pages/book-show":85,"./pages/page-form":86,vue:77,"vue-resource":5,zeroclipboard:79}],84:[function(e,t,n){"use strict";jQuery.fn.smoothScrollTo=function(){return 0!==this.length?($("body").animate({scrollTop:this.offset().top-60},800),this):void 0},$.expr[":"].contains=$.expr.createPseudo(function(e){return function(t){return $(t).text().toUpperCase().indexOf(e.toUpperCase())>=0}}),jQuery.fn.showSuccess=function(e){var t=$(this),n=$('");t.after(n),n.slideDown(400,function(){setTimeout(function(){n.slideUp(400,function(){n.remove()})},2e3)})},jQuery.fn.showFailure=function(e){var t=$(this);$.each(e,function(e,n){var i=t.find('[name="'+e+'"]').last(),r=$('");i.after(r),r.slideDown(400,function(){setTimeout(function(){r.slideUp(400,function(){r.remove()})},2e3)})})},jQuery.fn.submitForm=function(){$(this).closest("form").submit()},jQuery.fn.dropDown=function(){var e=$(this),t=e.find("ul");e.find("[data-dropdown-toggle]").on("click",function(){t.show().addClass("anim menuIn"),e.mouseleave(function(){t.hide(),t.removeClass("anim menuIn")})})}},{}],85:[function(e,t,n){"use strict";t.exports={el:"#book-dashboard",data:{searching:!1,searchTerm:"",searchResults:""},methods:{searchBook:function(e){e.preventDefault();var t=this.searchTerm;if(0!=t.length){this.searching=!0,this.searchResults="";var n=this.$els.form.getAttribute("action");n+="?term="+encodeURIComponent(t),this.$http.get(n,function(e){this.$set("searchResults",e)})}},checkSearchForm:function(e){this.searchTerm.length<1&&(this.searching=!1)},clearSearch:function(e){this.searching=!1,this.searchTerm=""}}}},{}],86:[function(e,t,n){"use strict";t.exports={selector:"#html-editor",content_css:["/build//css/styles-9bbd48e72b.css","//fonts.googleapis.com/css?family=Roboto:400,400italic,500,500italic,700,700italic,300italic,100,300"],body_class:"page-content",relative_urls:!1,statusbar:!1,menubar:!1,paste_data_images:!1,extended_valid_elements:"pre[*]",automatic_uploads:!1,valid_children:"-div[p|pre|h1|h2|h3|h4|h5|h6|blockquote]",plugins:"image table textcolor paste link fullscreen imagetools code hr autosave",imagetools_toolbar:"imageoptions",toolbar:"undo redo | styleselect | bold italic underline strikethrough superscript subscript | forecolor backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | table image-insert link hr | removeformat code fullscreen",content_style:"body {padding-left: 15px !important; padding-right: 15px !important; margin:0!important; margin-left:auto!important;margin-right:auto!important;}",style_formats:[{title:"Header 1",format:"h1"},{title:"Header 2",format:"h2"},{title:"Header 3",format:"h3"},{title:"Paragraph",format:"p"},{title:"Blockquote",format:"blockquote"},{title:"Code Block",icon:"code",format:"pre"},{title:"Inline Code",icon:"code",inline:"code"}],formats:{alignleft:{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img",classes:"align-left"},aligncenter:{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img",classes:"align-center"},alignright:{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img",classes:"align-right"}},file_browser_callback:function(e,t,n,i){ImageManager.show(function(t){if(i.document.getElementById(e).value=t.url,"createEvent"in document){var n=document.createEvent("HTMLEvents");n.initEvent("change",!1,!0),i.document.getElementById(e).dispatchEvent(n)}else i.document.getElementById(e).fireEvent("onchange")})},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 i=0;i');var u="image-"+Date.now()+"."+s;o.append("file",r,u),o.append("_token",document.querySelector('meta[name="token"]').getAttribute("content")),a.open("POST","/upload/image"),a.onload=function(){if(200===a.status||201===a.status){var t=JSON.parse(a.responseText);e.dom.setAttrib(c,"src",t.url)}else console.log("An error occured uploading the image"),console.log(a.responseText)},a.send(o)}}})}}},{}]},{},[84,83]); \ No newline at end of file diff --git a/public/build/rev-manifest.json b/public/build/rev-manifest.json index cc2d0c4886e..df87a61e4a2 100644 --- a/public/build/rev-manifest.json +++ b/public/build/rev-manifest.json @@ -1,5 +1,5 @@ { "css/print-styles.css": "css/print-styles-88bf3b16e2.css", - "css/styles.css": "css/styles-37cf2b24e1.css", - "js/common.js": "js/common-eec3acdffc.js" + "css/styles.css": "css/styles-9bbd48e72b.css", + "js/common.js": "js/common-80db108453.js" } \ No newline at end of file From f517ef361696ed467c77609d10d1dae3be5d4cbd Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Wed, 16 Dec 2015 17:27:53 +0000 Subject: [PATCH 03/54] Added new asset structure --- .gitignore | 4 ++-- public/build/rev-manifest.json | 5 ----- .../print-styles-88bf3b16e2.css => css/print-styles.css} | 0 .../{build/css/styles-9bbd48e72b.css => css/styles.css} | 2 +- public/{build/js/common-80db108453.js => js/common.js} | 8 ++++---- 5 files changed, 7 insertions(+), 12 deletions(-) delete mode 100644 public/build/rev-manifest.json rename public/{build/css/print-styles-88bf3b16e2.css => css/print-styles.css} (100%) rename public/{build/css/styles-9bbd48e72b.css => css/styles.css} (86%) rename public/{build/js/common-80db108453.js => js/common.js} (90%) diff --git a/.gitignore b/.gitignore index ca78584387c..addc046d280 100644 --- a/.gitignore +++ b/.gitignore @@ -5,8 +5,8 @@ Homestead.yaml /public/dist .idea /public/plugins -/public/css -/public/js +/public/css/*.map +/public/js/*.map /public/uploads /public/bower /public/build diff --git a/public/build/rev-manifest.json b/public/build/rev-manifest.json deleted file mode 100644 index df87a61e4a2..00000000000 --- a/public/build/rev-manifest.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "css/print-styles.css": "css/print-styles-88bf3b16e2.css", - "css/styles.css": "css/styles-9bbd48e72b.css", - "js/common.js": "js/common-80db108453.js" -} \ No newline at end of file diff --git a/public/build/css/print-styles-88bf3b16e2.css b/public/css/print-styles.css similarity index 100% rename from public/build/css/print-styles-88bf3b16e2.css rename to public/css/print-styles.css diff --git a/public/build/css/styles-9bbd48e72b.css b/public/css/styles.css similarity index 86% rename from public/build/css/styles-9bbd48e72b.css rename to public/css/styles.css index 5d8e80b4c5a..3be090dbceb 100644 --- a/public/build/css/styles-9bbd48e72b.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}ol,ul{margin-left:24px}.link,.text-button,a,body{font-family:Roboto,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}*{box-sizing:border-box}html{background-color:#FFF;height:100%}body{font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}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:.5em}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-chapter,.text-chapter:hover{color:#ef7c3c}span.highlight{font-weight:700}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}.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{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,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=search],input[type=url],input[type=password],input[type=number],input[type=email],select,textarea{background-color:#FFF;border-radius:3px;border:1px solid #CCC;display:inline-block;font-size:14px;font-family:Roboto,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=search],input.invalid[type=url],input.invalid[type=password],input.invalid[type=number],input.invalid[type=email],input.neg[type=text],input.neg[type=search],input.neg[type=url],input.neg[type=password],input.neg[type=number],input.neg[type=email],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=search],input.pos[type=url],input.pos[type=password],input.pos[type=number],input.pos[type=email],input.valid[type=text],input.valid[type=search],input.valid[type=url],input.valid[type=password],input.valid[type=number],input.valid[type=email],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=search],input.disabled[type=url],input.disabled[type=password],input.disabled[type=number],input.disabled[type=email],input[disabled][type=text],input[disabled][type=search],input[disabled][type=url],input[disabled][type=password],input[disabled][type=number],input[disabled][type=email],select.disabled,select[disabled],textarea.disabled,textarea[disabled]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAMUlEQVQIW2NkwAGuXbv2nxGbHEhCS0uLEUMSJgHShCKJLIEiiS4Bl8QmAZbEJQGSBAC62BuJ+tt7zgAAAABJRU5ErkJggg==)}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}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,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%}.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;display:none;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;max-width:1340px;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 img{display:block;border-radius:0;float:left;margin:0;cursor:pointer;width:16.6666666667%;height:auto;border:1px solid #FFF;transition:all cubic-bezier(.4,0,1,1) 160ms}.image-manager-list img.selected{-webkit-transform:scale3d(.92,.92,.92);transform:scale3d(.92,.92,.92)}#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}.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:8px;font-size:13px;top:130px;left:-10px;width:140px;background:#be2626;background:linear-gradient(to bottom,#be2626,#a92222);padding:.5em 1.2em;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 #be2626}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:7.2px}@media screen and (max-width:992px){header .user-name{padding-left:6px}header .user-name .name{display:none}header .user-name i{font-size:2em;padding-left:0;padding-top:0}header{text-align:center}header .float.right{float:none}}.dropdown-container,.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}}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{vertical-align:top;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;text-decoration:none}.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}.dropdown-container{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}.page-list .page,.page-list h4{border-left:5px solid #0288D1}.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}.breadcrumbs span.sep{color:#aaa;padding:0 6px}.faded a,.faded button,.faded span{color:#666}.faded .text-button{opacity:.5;transition:all ease-in-out 120ms}.faded .text-button:hover{opacity:1;text-decoration:none}.faded-small{color:#000;font-size:.9em;background-color:rgba(21,101,192,.15)}.action-buttons .text-button,.breadcrumbs .text-button{display:inline-block;padding:12px}.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}.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;padding:6px 0 6px 16px}.page-list hr{margin-top:0}.page-list .book,.page-list .chapter,.page-list .page{padding-left:24px}.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{margin-top:32px}.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;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:hover{background-color:rgba(255,255,255,.2);text-decoration:none}.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}.book-tree .sidebar-page-list .page{color:#0288D1!important;border-left:5px solid #0288D1;margin:10px;border-bottom:none}.book-tree .sidebar-page-list .page.selected{background-color:rgba(2,136,209,.1)}.book-tree .sidebar-page-list .sub-menu{display:none}.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}.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;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto}.pointer-container{position:relative;display:none;left:2%}.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}.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:1}.pointer input{background-color:#FFF;border:1px solid #DDD;color:#666;width:180px;z-index:40}.avatar,.notification{background-color:#EEE}.pointer button,.pointer input{position:relative;border-radius:0;height:28px;font-size:12px}.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}.dragged{position:absolute;opacity:.5;z-index:2000}body.dragging,body.dragging *{cursor:move!important}.avatar{border-radius:100%}.avatar.med{width:40px;height:40px}.notification{position:fixed;top:0;right:0;margin:64px 32px;padding:24px 32px;border-radius:3px;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}.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} \ No newline at end of file +.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}ol,ul{margin-left:24px}.link,.text-button,a,body{font-family:Roboto,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}*{box-sizing:border-box}html{background-color:#FFF;height:100%}body{font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}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:.5em}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-chapter,.text-chapter:hover{color:#ef7c3c}span.highlight{font-weight:700}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}.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{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,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=search],input[type=url],input[type=password],input[type=number],input[type=email],select,textarea{background-color:#FFF;border-radius:3px;border:1px solid #CCC;display:inline-block;font-size:14px;font-family:Roboto,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=search],input.invalid[type=url],input.invalid[type=password],input.invalid[type=number],input.invalid[type=email],input.neg[type=text],input.neg[type=search],input.neg[type=url],input.neg[type=password],input.neg[type=number],input.neg[type=email],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=search],input.pos[type=url],input.pos[type=password],input.pos[type=number],input.pos[type=email],input.valid[type=text],input.valid[type=search],input.valid[type=url],input.valid[type=password],input.valid[type=number],input.valid[type=email],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=search],input.disabled[type=url],input.disabled[type=password],input.disabled[type=number],input.disabled[type=email],input[disabled][type=text],input[disabled][type=search],input[disabled][type=url],input[disabled][type=password],input[disabled][type=number],input[disabled][type=email],select.disabled,select[disabled],textarea.disabled,textarea[disabled]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAMUlEQVQIW2NkwAGuXbv2nxGbHEhCS0uLEUMSJgHShCKJLIEiiS4Bl8QmAZbEJQGSBAC62BuJ+tt7zgAAAABJRU5ErkJggg==)}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}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,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%}.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;display:none;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;max-width:1340px;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 img{display:block;border-radius:0;float:left;margin:0;cursor:pointer;width:16.6666666667%;height:auto;border:1px solid #FFF;transition:all cubic-bezier(.4,0,1,1) 160ms}.image-manager-list img.selected{-webkit-transform:scale3d(.92,.92,.92);transform:scale3d(.92,.92,.92)}#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}.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:8px;font-size:13px;top:130px;left:-10px;width:140px;background:#be2626;background:linear-gradient(to bottom,#be2626,#a92222);padding:.5em 1.2em;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 #be2626}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:7.2px}@media screen and (max-width:992px){header .user-name{padding-left:6px}header .user-name .name{display:none}header .user-name i{font-size:2em;padding-left:0;padding-top:0}header{text-align:center}header .float.right{float:none}}.dropdown-container,.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}}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{vertical-align:top;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;text-decoration:none}.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}.dropdown-container{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}.page-list .page,.page-list h4{border-left:5px solid #0288D1}.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}.breadcrumbs span.sep{color:#aaa;padding:0 6px}.faded a,.faded button,.faded span{color:#666}.faded .text-button{opacity:.5;transition:all ease-in-out 120ms}.faded .text-button:hover{opacity:1;text-decoration:none}.faded-small{color:#000;font-size:.9em;background-color:rgba(21,101,192,.15)}.action-buttons .text-button,.breadcrumbs .text-button{display:inline-block;padding:12px}.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}.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;padding:6px 0 6px 16px}.page-list hr{margin-top:0}.page-list .book,.page-list .chapter,.page-list .page{padding-left:24px}.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{margin-top:32px}.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;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:hover{background-color:rgba(255,255,255,.2);text-decoration:none}.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 .sub-menu{display:none}.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}.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;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto}.pointer-container{position:relative;display:none;left:2%}.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}.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:1}.pointer input{background-color:#FFF;border:1px solid #DDD;color:#666;width:180px;z-index:40}.avatar,.notification{background-color:#EEE}.pointer button,.pointer input{position:relative;border-radius:0;height:28px;font-size:12px}.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}.dragged{position:absolute;opacity:.5;z-index:2000}body.dragging,body.dragging *{cursor:move!important}.avatar{border-radius:100%;width:30px;height:30px}.avatar.med{width:40px;height:40px}.avatar.large{width:80px;height:80px}.notification{position:fixed;top:0;right:0;margin:64px 32px;padding:24px 32px;border-radius:3px;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}.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} \ No newline at end of file diff --git a/public/build/js/common-80db108453.js b/public/js/common.js similarity index 90% rename from public/build/js/common-80db108453.js rename to public/js/common.js index 6872af9ac55..087d23ff47e 100644 --- a/public/build/js/common-80db108453.js +++ b/public/js/common.js @@ -1,6 +1,6 @@ -!function e(t,n,i){function r(s,a){if(!n[s]){if(!t[s]){var l="function"==typeof require&&require;if(!a&&l)return l(s,!0);if(o)return o(s,!0);var c=new Error("Cannot find module '"+s+"'");throw c.code="MODULE_NOT_FOUND",c}var u=n[s]={exports:{}};t[s][0].call(u.exports,function(e){var n=t[s][1][e];return r(n?n:e)},u,u.exports,e,t,n,i)}return n[s].exports}for(var o="function"==typeof require&&require,s=0;sr;r++)t=n[r],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,i,r,o,s;if(!this._callbacks||0===arguments.length)return this._callbacks={},this;if(i=this._callbacks[e],!i)return this;if(1===arguments.length)return delete this._callbacks[e],this;for(r=o=0,s=i.length;s>o;r=++o)if(n=i[r],n===t){i.splice(r,1);break}return this},e}(),e=function(e){function t(e,n){var r,o,s;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,r=null!=(s=t.optionsForElement(this.element))?s:{},this.options=i({},this.defaultOptions,r,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 i,r;return h(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 a},forceFallback:!1,fallback:function(){var e,n,i,r,o,s;for(this.element.className=""+this.element.className+" dz-browser-not-supported",s=this.element.getElementsByTagName("div"),r=0,o=s.length;o>r;r++)e=s[r],/(^| )dz-message($| )/.test(e.className)&&(n=e,e.className="dz-message");return n||(n=t.createElement('
'),this.element.appendChild(n)),i=n.getElementsByTagName("span")[0],i&&(null!=i.textContent?i.textContent=this.options.dictFallbackMessage:null!=i.innerText&&(i.innerText=this.options.dictFallbackMessage)),this.element.appendChild(this.getFallbackForm())},resize:function(e){var t,n,i;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),i=t.optWidth/t.optHeight,e.heighti?(t.srcHeight=e.height,t.srcWidth=t.srcHeight*i):(t.srcWidth=e.width,t.srcHeight=t.srcWidth/i),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:a,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:a,reset:function(){return this.element.classList.remove("dz-started")},addedfile:function(e){var n,i,r,o,s,a,l,c,u,h,p,d,f;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),h=e.previewElement.querySelectorAll("[data-dz-name]"),o=0,l=h.length;l>o;o++)n=h[o],n.textContent=e.name;for(p=e.previewElement.querySelectorAll("[data-dz-size]"),s=0,c=p.length;c>s;s++)n=p[s],n.innerHTML=this.filesize(e.size);for(this.options.addRemoveLinks&&(e._removeLink=t.createElement(''+this.options.dictRemoveFile+""),e.previewElement.appendChild(e._removeLink)),i=function(n){return function(i){return i.preventDefault(),i.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]"),f=[],a=0,u=d.length;u>a;a++)r=d[a],f.push(r.addEventListener("click",i));return f}},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,i,r,o;if(e.previewElement){for(e.previewElement.classList.remove("dz-file-preview"),o=e.previewElement.querySelectorAll("[data-dz-thumbnail]"),i=0,r=o.length;r>i;i++)n=o[i],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,i,r,o,s;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]"),s=[],i=0,r=o.length;r>i;i++)n=o[i],s.push(n.textContent=t);return s}},errormultiple:a,processing:function(e){return e.previewElement&&(e.previewElement.classList.add("dz-processing"),e._removeLink)?e._removeLink.textContent=this.options.dictCancelUpload:void 0},processingmultiple:a,uploadprogress:function(e,t,n){var i,r,o,s,a;if(e.previewElement){for(s=e.previewElement.querySelectorAll("[data-dz-uploadprogress]"),a=[],r=0,o=s.length;o>r;r++)i=s[r],"PROGRESS"===i.nodeName?a.push(i.value=t):a.push(i.style.width=""+t+"%");return a}},totaluploadprogress:a,sending:a,sendingmultiple:a,success:function(e){return e.previewElement?e.previewElement.classList.add("dz-success"):void 0},successmultiple:a,canceled:function(e){return this.emit("error",e,"Upload canceled.")},canceledmultiple:a,complete:function(e){return e._removeLink&&(e._removeLink.textContent=this.options.dictRemoveFile),e.previewElement?e.previewElement.classList.add("dz-complete"):void 0},completemultiple:a,maxfilesexceeded:a,maxfilesreached:a,queuecomplete:a,addedfiles:a,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
'},i=function(){var e,t,n,i,r,o,s;for(i=arguments[0],n=2<=arguments.length?c.call(arguments,1):[],o=0,s=n.length;s>o;o++){t=n[o];for(e in t)r=t[e],i[e]=r}return i},t.prototype.getAcceptedFiles=function(){var e,t,n,i,r;for(i=this.files,r=[],t=0,n=i.length;n>t;t++)e=i[t],e.accepted&&r.push(e);return r},t.prototype.getRejectedFiles=function(){var e,t,n,i,r;for(i=this.files,r=[],t=0,n=i.length;n>t;t++)e=i[t],e.accepted||r.push(e);return r},t.prototype.getFilesWithStatus=function(e){var t,n,i,r,o;for(r=this.files,o=[],n=0,i=r.length;i>n;n++)t=r[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,i,r,o;for(r=this.files,o=[],n=0,i=r.length;i>n;n++)e=r[n],(e.status===t.UPLOADING||e.status===t.QUEUED)&&o.push(e);return o},t.prototype.init=function(){var e,n,i,r,o,s,a;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&&(i=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,r,o;if(n=e.hiddenFileInput.files,n.length)for(r=0,o=n.length;o>r;r++)t=n[r],e.addFile(t);return e.emit("addedfiles",n),i()})}}(this))(),this.URL=null!=(s=window.URL)?s:window.webkitURL,a=this.events,r=0,o=a.length;o>r;r++)e=a[r],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 i;try{i=t.dataTransfer.effectAllowed}catch(r){}return t.dataTransfer.dropEffect="move"===i||"linkMove"===i?"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(i){return(n!==e.element||i.target===e.element||t.elementInside(i.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,i,r,o,s,a;if(i=0,n=0,e=this.getActiveFiles(),e.length){for(a=this.getActiveFiles(),o=0,s=a.length;s>o;o++)t=a[o],i+=t.upload.bytesSent,n+=t.upload.total;r=100*i/n}else r=100;return this.emit("totaluploadprogress",r,n,i)},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,i,r;return(e=this.getExistingFallback())?e:(i='
',this.options.dictFallbackText&&(i+="

"+this.options.dictFallbackText+"

"),i+='
',n=t.createElement(i),"FORM"!==this.element.tagName?(r=t.createElement('
'),r.appendChild(n)):(this.element.setAttribute("enctype","multipart/form-data"),this.element.setAttribute("method",this.options.method)),null!=r?r:n)},t.prototype.getExistingFallback=function(){var e,t,n,i,r,o;for(t=function(e){var t,n,i;for(n=0,i=e.length;i>n;n++)if(t=e[n],/(^| )fallback($| )/.test(t.className))return t},o=["div","form"],i=0,r=o.length;r>i;i++)if(n=o[i],e=t(this.element.getElementsByTagName(n)))return e},t.prototype.setupEventListeners=function(){var e,t,n,i,r,o,s;for(o=this.listeners,s=[],i=0,r=o.length;r>i;i++)e=o[i],s.push(function(){var i,r;i=e.events,r=[];for(t in i)n=i[t],r.push(e.element.addEventListener(t,n,!1));return r}());return s},t.prototype.removeEventListeners=function(){var e,t,n,i,r,o,s;for(o=this.listeners,s=[],i=0,r=o.length;r>i;i++)e=o[i],s.push(function(){var i,r;i=e.events,r=[];for(t in i)n=i[t],r.push(e.element.removeEventListener(t,n,!1));return r}());return s},t.prototype.disable=function(){var e,t,n,i,r;for(this.clickableElements.forEach(function(e){return e.classList.remove("dz-clickable")}),this.removeEventListeners(),i=this.files,r=[],t=0,n=i.length;n>t;t++)e=i[t],r.push(this.cancelUpload(e));return r},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,i,r,o,s,a,l;if(i=0,r="b",e>0){for(s=["TB","GB","MB","KB","b"],n=a=0,l=s.length;l>a;n=++a)if(o=s[n],t=Math.pow(this.options.filesizeBase,4-n)/10,e>=t){i=e/Math.pow(this.options.filesizeBase,4-n),r=o;break}i=Math.round(10*i)/10}return""+i+" "+r},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,i,r;for(r=[],n=0,i=e.length;i>n;n++)t=e[n],r.push(this.addFile(t));return r},t.prototype._addFilesFromItems=function(e){var t,n,i,r,o;for(o=[],i=0,r=e.length;r>i;i++)n=e[i],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,i;return n=e.createReader(),i=function(e){return function(n){var i,r,o;for(r=0,o=n.length;o>r;r++)i=n[r],i.isFile?i.file(function(n){return e.options.ignoreHiddenFiles&&"."===n.name.substring(0,1)?void 0:(n.fullPath=""+t+"/"+n.name,e.addFile(n))}):i.isDirectory&&e._addFilesFromDirectory(i,""+t+"/"+i.name)}}(this),n.readEntries(i,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,i;for(n=0,i=e.length;i>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=l(this.files,e),this.emit("removedfile",e),0===this.files.length?this.emit("reset"):void 0},t.prototype.removeAllFiles=function(e){var n,i,r,o;for(null==e&&(e=!1),o=this.files.slice(),i=0,r=o.length;r>i;i++)n=o[i],(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(i){return function(){return"image/svg+xml"===e.type?(i.emit("thumbnail",e,n.result),void(null!=t&&t())):i.createThumbnailFromUrl(e,n.result,t)}}(this),n.readAsDataURL(e)},t.prototype.createThumbnailFromUrl=function(e,t,n,i){var r;return r=document.createElement("img"),i&&(r.crossOrigin=i),r.onload=function(t){return function(){var i,o,a,l,c,u,h,p;return e.width=r.width,e.height=r.height,a=t.options.resize.call(t,e),null==a.trgWidth&&(a.trgWidth=a.optWidth),null==a.trgHeight&&(a.trgHeight=a.optHeight),i=document.createElement("canvas"),o=i.getContext("2d"),i.width=a.trgWidth,i.height=a.trgHeight,s(o,r,null!=(c=a.srcX)?c:0,null!=(u=a.srcY)?u:0,a.srcWidth,a.srcHeight,null!=(h=a.trgX)?h:0,null!=(p=a.trgY)?p:0,a.trgWidth,a.trgHeight),l=i.toDataURL("image/png"),t.emit("thumbnail",e,l),null!=n?n():void 0}}(this),null!=n&&(r.onerror=n),r.src=t},t.prototype.processQueue=function(){var e,t,n,i;if(t=this.options.parallelUploads,n=this.getUploadingFiles().length,e=n,!(n>=t)&&(i=this.getQueuedFiles(),i.length>0)){if(this.options.uploadMultiple)return this.processFiles(i.slice(0,t-n));for(;t>e;){if(!i.length)return;this.processFile(i.shift()),e++}}},t.prototype.processFile=function(e){return this.processFiles([e])},t.prototype.processFiles=function(e){var n,i,r;for(i=0,r=e.length;r>i;i++)n=e[i],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,i,r,o;for(r=this.files,o=[],n=0,i=r.length;i>n;n++)t=r[n],t.xhr===e&&o.push(t);return o}.call(this)},t.prototype.cancelUpload=function(e){var n,i,r,o,s,a,l;if(e.status===t.UPLOADING){for(i=this._getFilesWithXhr(e.xhr),r=0,s=i.length;s>r;r++)n=i[r],n.status=t.CANCELED;for(e.xhr.abort(),o=0,a=i.length;a>o;o++)n=i[o],this.emit("canceled",n);this.options.uploadMultiple&&this.emit("canceledmultiple",i)}else((l=e.status)===t.ADDED||l===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},r=function(){var e,t;return t=arguments[0],e=2<=arguments.length?c.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,s,a,l,c,u,h,p,d,f,m,v,g,y,b,w,_,x,E,C,k,O,A,N,T,D,F,$,j,S,P,L,I;for(x=new XMLHttpRequest,E=0,A=e.length;A>E;E++)n=e[E],n.xhr=x;m=r(this.options.method,e),w=r(this.options.url,e),x.open(m,w,!0),x.withCredentials=!!this.options.withCredentials,y=null,s=function(t){return function(){var i,r,o;for(o=[],i=0,r=e.length;r>i;i++)n=e[i],o.push(t._errorProcessing(e,y||t.options.dictResponseError.replace("{{statusCode}}",x.status),x));return o}}(this),b=function(t){return function(i){var r,o,s,a,l,c,u,h,p;if(null!=i)for(o=100*i.loaded/i.total,s=0,c=e.length;c>s;s++)n=e[s],n.upload={progress:o,total:i.total,bytesSent:i.loaded};else{for(r=!0,o=100,a=0,u=e.length;u>a;a++)n=e[a],(100!==n.upload.progress||n.upload.bytesSent!==n.upload.total)&&(r=!1),n.upload.progress=o,n.upload.bytesSent=n.upload.total;if(r)return}for(p=[],l=0,h=e.length;h>l;l++)n=e[l],p.push(t.emit("uploadprogress",n,o,n.upload.bytesSent));return p}}(this),x.onload=function(n){return function(i){var r;if(e[0].status!==t.CANCELED&&4===x.readyState){if(y=x.responseText,x.getResponseHeader("content-type")&&~x.getResponseHeader("content-type").indexOf("application/json"))try{y=JSON.parse(y)}catch(o){i=o,y="Invalid JSON response from server."}return b(),200<=(r=x.status)&&300>r?n._finished(e,y,i):s()}}}(this),x.onerror=function(n){return function(){return e[0].status!==t.CANCELED?s():void 0}}(this),g=null!=($=x.upload)?$:x,g.onprogress=b,c={Accept:"application/json","Cache-Control":"no-cache","X-Requested-With":"XMLHttpRequest"},this.options.headers&&i(c,this.options.headers);for(a in c)l=c[a],l&&x.setRequestHeader(a,l);if(o=new FormData,this.options.params){j=this.options.params;for(f in j)_=j[f],o.append(f,_)}for(C=0,N=e.length;N>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(S=this.element.querySelectorAll("input, textarea, select, button"),k=0,T=S.length;T>k;k++)if(h=S[k],p=h.getAttribute("name"),d=h.getAttribute("type"),"SELECT"===h.tagName&&h.hasAttribute("multiple"))for(P=h.options,O=0,D=P.length;D>O;O++)v=P[O],v.selected&&o.append(p,v.value);else(!d||"checkbox"!==(L=d.toLowerCase())&&"radio"!==L||h.checked)&&o.append(p,h.value);for(u=F=0,I=e.length-1;I>=0?I>=F:F>=I;u=I>=0?++F:--F)o.append(this._getParamName(u),e[u],e[u].name);return this.submitRequest(x,o,e)},t.prototype.submitRequest=function(e,t,n){return e.send(t)},t.prototype._finished=function(e,n,i){var r,o,s;for(o=0,s=e.length;s>o;o++)r=e[o],r.status=t.SUCCESS,this.emit("success",r,n,i),this.emit("complete",r);return this.options.uploadMultiple&&(this.emit("successmultiple",e,n,i),this.emit("completemultiple",e)),this.options.autoProcessQueue?this.processQueue():void 0},t.prototype._errorProcessing=function(e,n,i){var r,o,s;for(o=0,s=e.length;s>o;o++)r=e[o],r.status=t.ERROR,this.emit("error",r,n,i),this.emit("complete",r);return this.options.uploadMultiple&&(this.emit("errormultiple",e,n,i),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[i(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,i,r,o,s;for(document.querySelectorAll?i=document.querySelectorAll(".dropzone"):(i=[],t=function(e){var t,n,r,o;for(o=[],n=0,r=e.length;r>n;n++)t=e[n],/(^| )dropzone($| )/.test(t.className)?o.push(i.push(t)):o.push(void 0);return o},t(document.getElementsByTagName("div")),t(document.getElementsByTagName("form"))),s=[],r=0,o=i.length;o>r;r++)n=i[r],e.optionsForElement(n)!==!1?s.push(new e(n)):s.push(void 0);return s},e.blacklistedBrowsers=[/opera.*Macintosh.*version\/12/i],e.isBrowserSupported=function(){var t,n,i,r,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,i=0,r=o.length;r>i;i++)n=o[i],n.test(navigator.userAgent)&&(t=!1);else t=!1;else t=!1;return t},l=function(e,t){var n,i,r,o;for(o=[],i=0,r=e.length;r>i;i++)n=e[i],n!==t&&o.push(n);return o},i=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,i,r,o,s,a,l,c;if(e instanceof Array){r=[];try{for(o=0,a=e.length;a>o;o++)i=e[o],r.push(this.getElement(i,t))}catch(u){n=u,r=null}}else if("string"==typeof e)for(r=[],c=document.querySelectorAll(e),s=0,l=c.length;l>s;s++)i=c[s],r.push(i);else null!=e.nodeType&&(r=[e]);if(null==r||!r.length)throw new Error("Invalid `"+t+"` option provided. Please provide a CSS selector, a plain HTML element or a list of those.");return r},e.confirm=function(e,t,n){return window.confirm(e)?t():null!=n?n():void 0; -},e.isValidFile=function(e,t){var n,i,r,o,s;if(!t)return!0;for(t=t.split(","),i=e.type,n=i.replace(/\/.*$/,""),o=0,s=t.length;s>o;o++)if(r=t[o],r=r.trim(),"."===r.charAt(0)){if(-1!==e.name.toLowerCase().indexOf(r.toLowerCase(),e.name.length-r.length))return!0}else if(/\/\*$/.test(r)){if(n===r.replace(/\/.*$/,""))return!0}else if(i===r)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,i,r,o,s,a,l,c,u;for(a=e.naturalWidth,s=e.naturalHeight,n=document.createElement("canvas"),n.width=1,n.height=s,i=n.getContext("2d"),i.drawImage(e,0,0),r=i.getImageData(0,0,1,s).data,u=0,o=s,l=s;l>u;)t=r[4*(l-1)+3],0===t?o=l:u=l,l=o+u>>1;return c=l/s,0===c?1:c},s=function(e,t,n,i,r,s,a,l,c,u){var h;return h=o(t),e.drawImage(t,n,i,r,s,a,l,c,u/h)},r=function(e,t){var n,i,r,o,s,a,l,c,u;if(r=!1,u=!0,i=e.document,c=i.documentElement,n=i.addEventListener?"addEventListener":"attachEvent",l=i.addEventListener?"removeEventListener":"detachEvent",a=i.addEventListener?"":"on",o=function(n){return"readystatechange"!==n.type||"complete"===i.readyState?(("load"===n.type?e:i)[l](a+n.type,o,!1),!r&&(r=!0)?t.call(e,n.type||n):void 0):void 0},s=function(){var e;try{c.doScroll("left")}catch(t){return e=t,void setTimeout(s,50)}return o("poll")},"complete"!==i.readyState){if(i.createEventObject&&c.doScroll){try{u=!e.frameElement}catch(h){}u&&s()}return i[n](a+"DOMContentLoaded",o,!1),i[n](a+"readystatechange",o,!1),e[n](a+"load",o,!1)}},e._autoDiscoverFunction=function(){return e.autoDiscover?e.discover():void 0},r(window,e._autoDiscoverFunction)}).call(this)},{}],2:[function(e,t,n){function i(){u=!1,a.length?c=a.concat(c):h=-1,c.length&&r()}function r(){if(!u){var e=setTimeout(i);u=!0;for(var t=c.length;t;){for(a=c,c=[];++h1)for(var n=1;n hot reload shim applied."))}},n.createRecord=function(e,t){var n="function"==typeof t?t:u.extend(t);t=n.options,"string"!=typeof t.el&&"object"!=typeof t.data&&(s(e,t),h[e]={Component:n,views:[],instances:[]})},n.update=function(e,t,n){var i=h[e];if(!i||i.instances.length&&!i.views.length){if(console.log("[HMR] Root or manually-mounted instance modified. Full reload may be required."),d)return;window.location.reload()}d||console.log("[HMR] Updating component: "+c(e));var r=i.Component;t&&(r=i.Component="function"==typeof t?t:u.extend(t),s(e,r.options)),n&&(r.options.template=n),r.options.name&&(r.options.components[r.options.name]=r),r.linker=null,i.views.forEach(function(e){l(e,r)})}},{}],4:[function(e,t,n){var i=e("./lib/xhr"),r=e("./lib/jsonp"),o=e("./lib/promise");t.exports=function(e){function t(o,l){var c;return e.isPlainObject(o)&&(l=o,o=""),l=e.extend({url:o},l),l=e.extend(!0,{},t.options,this.options,l),null===l.crossOrigin&&(l.crossOrigin=a(l.url)),l.method=l.method.toUpperCase(),l.headers=e.extend({},t.headers.common,l.crossOrigin?{}:t.headers.custom,t.headers[l.method.toLowerCase()],l.headers),e.isPlainObject(l.data)&&/^(GET|JSONP)$/i.test(l.method)&&(e.extend(l.params,l.data),delete l.data),l.emulateHTTP&&!l.crossOrigin&&/^(PUT|PATCH|DELETE)$/i.test(l.method)&&(l.headers["X-HTTP-Method-Override"]=l.method,l.method="POST"),l.emulateJSON&&e.isPlainObject(l.data)&&(l.headers["Content-Type"]="application/x-www-form-urlencoded",l.data=e.url.params(l.data)),e.isObject(l.data)&&/FormData/i.test(l.data.toString())&&delete l.headers["Content-Type"],e.isPlainObject(l.data)&&(l.data=JSON.stringify(l.data)),c=("JSONP"==l.method?r:i).call(this.vm,e,l),c=n(c.then(s,s),this.vm),l.success&&(c=c.success(l.success)),l.error&&(c=c.error(l.error)),c}function n(e,t){return e.success=function(i){return n(e.then(function(e){return i.call(t,e.data,e.status,e)||e}),t)},e.error=function(i){return n(e.then(void 0,function(e){return i.call(t,e.data,e.status,e)||e}),t)},e.always=function(i){var r=function(e){return i.call(t,e.data,e.status,e)||e};return n(e.then(r,r),t)},e}function s(e){try{e.data=JSON.parse(e.responseText)}catch(t){e.data=e.responseText}return e.ok?e:o.reject(e)}function a(t){var n=e.url.parse(t);return n.protocol!==l.protocol||n.host!==l.host}var l=e.url.parse(location.href),c={"Content-Type":"application/json;charset=utf-8"};return t.options={method:"get",params:{},data:"",xhr:null,jsonp:"callback",beforeSend:null,crossOrigin:null,emulateHTTP:!1,emulateJSON:!1},t.headers={put:c,post:c,patch:c,"delete":c,common:{Accept:"application/json, text/plain, */*"},custom:{"X-Requested-With":"XMLHttpRequest"}},["get","put","post","patch","delete","jsonp"].forEach(function(n){t[n]=function(t,i,r,o){return e.isFunction(i)&&(o=r,r=i,i=void 0),this(t,e.extend({method:n,data:i,success:r},o))}}),e.http=t}},{"./lib/jsonp":6,"./lib/promise":7,"./lib/xhr":9}],5:[function(e,t,n){function i(t){var n=e("./lib/util")(t);t.url=e("./url")(n),t.http=e("./http")(n),t.resource=e("./resource")(n),Object.defineProperties(t.prototype,{$url:{get:function(){return n.options(t.url,this,this.$options.url)}},$http:{get:function(){return n.options(t.http,this,this.$options.http)}},$resource:{get:function(){return t.resource.bind(this)}}})}window.Vue&&Vue.use(i),t.exports=i},{"./http":4,"./lib/util":8,"./resource":10,"./url":11}],6:[function(e,t,n){var i=e("./promise");t.exports=function(e,t){var n,r,o="_jsonp"+Math.random().toString(36).substr(2),s={};return t.params[t.jsonp]=o,e.isFunction(t.beforeSend)&&t.beforeSend.call(this,{},t),new i(function(i,a){n=document.createElement("script"),n.src=e.url(t),n.type="text/javascript",n.async=!0,window[o]=function(e){r=e};var l=function(e){delete window[o],document.body.removeChild(n),"load"!==e.type||r||(e.type="error"),s.ok="error"!==e.type,s.status=s.ok?200:404,s.responseText=r?r:e.type,(s.ok?i:a)(s)};n.onload=l,n.onerror=l,document.body.appendChild(n)})}},{"./promise":7}],7:[function(e,t,n){function i(e){this.state=s,this.value=void 0,this.deferred=[];var t=this;try{e(function(e){t.resolve(e)},function(e){t.reject(e)})}catch(n){t.reject(n)}}var r=0,o=1,s=2;i.reject=function(e){return new i(function(t,n){n(e)})},i.resolve=function(e){return new i(function(t,n){t(e)})},i.all=function(e){return new i(function(t,n){function i(n){return function(i){o[n]=i,r+=1,r===e.length&&t(o)}}var r=0,o=[];0===e.length&&t(o);for(var s=0;s=200&&o.status<300),(o.ok?n:i)(o)};o.onload=r,o.onabort=r,o.onerror=r,o.send(t.data)})}},{"./promise":7}],10:[function(e,t,n){t.exports=function(e){function t(i,r,o,s){var a=this,l={};return o=e.extend({},t.actions,o),e.each(o,function(t,o){t=e.extend(!0,{url:i,params:r||{}},s,t),l[o]=function(){return(a.$http||e.http)(n(t,arguments))}}),l}function n(t,n){var i,r,o,s=e.extend({},t),a={};switch(n.length){case 4:o=n[3],r=n[2];case 3:case 2:if(!e.isFunction(n[1])){a=n[0],i=n[1],r=n[2];break}if(e.isFunction(n[0])){r=n[0],o=n[1];break}r=n[1],o=n[2];case 1:e.isFunction(n[0])?r=n[0]:/^(POST|PUT|PATCH)$/i.test(s.method)?i=n[0]:a=n[0];break;case 0:break;default:throw"Expected up to 4 arguments [params, data, success, error], got "+n.length+" arguments"}return s.data=i,s.params=e.extend({},s.params,a),r&&(s.success=r),o&&(s.error=o),s}return t.actions={get:{method:"GET"},save:{method:"POST"},query:{method:"GET"},update:{method:"PUT"},remove:{method:"DELETE"},"delete":{method:"DELETE"}},e.resource=t}},{}],11:[function(e,t,n){var i=document.documentMode,r=document.createElement("a");t.exports=function(e){function t(n,i){var r,s={},a={},l=n;return e.isPlainObject(l)||(l={url:n,params:i}),l=e.extend(!0,{},t.options,this.options,l),n=l.url.replace(/(\/?):([a-z]\w*)/gi,function(e,t,n){return l.params[n]?(s[n]=!0,t+o(l.params[n])):""}),e.isString(l.root)&&!n.match(/^(https?:)?\//)&&(n=l.root+"/"+n),e.each(l.params,function(e,t){s[t]||(a[t]=e)}),r=t.params(a),r&&(n+=(-1==n.indexOf("?")?"?":"&")+r),n}function n(t,i,r){var o,s=e.isArray(i),a=e.isPlainObject(i);e.each(i,function(i,l){o=e.isObject(i)||e.isArray(i),r&&(l=r+"["+(a||o?l:"")+"]"),!r&&s?t.add(i.name,i.value):o?n(t,i,l):t.add(l,i)})}function o(e){return s(e,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function s(e,t){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,t?"%20":"+")}return t.options={url:"",root:null,params:{}},t.params=function(t){var i=[];return i.add=function(t,n){e.isFunction(n)&&(n=n()),null===n&&(n=""),this.push(o(t)+"="+o(n))},n(i,t),i.join("&")},t.parse=function(e){return i&&(r.href=e,e=r.href),r.href=e,{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",port:r.port,host:r.host,hostname:r.hostname,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):""}},e.url=t}},{}],12:[function(e,t,n){function i(e){return JSON.parse(JSON.stringify(e))}var r=e("../util"),o=e("../watcher"),s=e("../parsers/path"),a=e("../parsers/text"),l=e("../parsers/directive"),c=e("../parsers/expression"),u=/[^|]\|[^|]/;n.$get=function(e,t){var n=c.parse(e);if(n){if(t&&!c.isSimplePath(e)){var i=this;return function(){n.get.call(i,i)}}try{return n.get.call(this,this)}catch(r){}}},n.$set=function(e,t){var n=c.parse(e,!0);n&&n.set&&n.set.call(this,this,t)},n.$delete=function(e){r["delete"](this._data,e)},n.$watch=function(e,t,n){var i,r=this;"string"==typeof e&&(i=l.parse(e),e=i.expression);var s=new o(r,e,t,{deep:n&&n.deep,filters:i&&i.filters});return n&&n.immediate&&t.call(r,s.value),function(){s.teardown()}},n.$eval=function(e,t){if(u.test(e)){var n=l.parse(e),i=this.$get(n.expression,t);return n.filters?this._applyFilters(i,null,n.filters):i}return this.$get(e,t)},n.$interpolate=function(e){var t=a.parse(e),n=this;return t?1===t.length?n.$eval(t[0].value)+"":t.map(function(e){return e.tag?n.$eval(e.value):e.value}).join(""):e},n.$log=function(e){var t=e?s.get(this._data,e):this._data;if(t&&(t=i(t)),!e)for(var n in this.$options.computed)t[n]=i(this[n]);console.log(t)}},{"../parsers/directive":62,"../parsers/expression":63,"../parsers/path":64,"../parsers/text":66,"../util":74,"../watcher":78}],13:[function(e,t,n){function i(e,t,n,i,o,s){t=r(t);var a=!l.inDoc(t),c=i===!1||a?o:s,u=!a&&!e._isAttached&&!l.inDoc(e.$el);return e._isFragment?(l.mapNodeRange(e._fragmentStart,e._fragmentEnd,function(n){c(n,t,e)}),n&&n()):c(e.$el,t,e,n),u&&e._callHook("attached"),e}function r(e){return"string"==typeof e?document.querySelector(e):e}function o(e,t,n,i){t.appendChild(e),i&&i()}function s(e,t,n,i){l.before(e,t),i&&i()}function a(e,t,n){l.remove(e),n&&n()}var l=e("../util"),c=e("../transition");n.$nextTick=function(e){l.nextTick(e,this)},n.$appendTo=function(e,t,n){return i(this,e,t,n,o,c.append)},n.$prependTo=function(e,t,n){return e=r(e),e.hasChildNodes()?this.$before(e.firstChild,t,n):this.$appendTo(e,t,n),this},n.$before=function(e,t,n){return i(this,e,t,n,s,c.before)},n.$after=function(e,t,n){return e=r(e),e.nextSibling?this.$before(e.nextSibling,t,n):this.$appendTo(e.parentNode,t,n),this},n.$remove=function(e,t){if(!this.$el.parentNode)return e&&e();var n=this._isAttached&&l.inDoc(this.$el);n||(t=!1);var i=this,r=function(){n&&i._callHook("detached"),e&&e()};if(this._isFragment)l.removeNodeRange(this._fragmentStart,this._fragmentEnd,this,this._fragment,r);else{var o=t===!1?a:c.remove;o(this.$el,this,r)}return this}},{"../transition":67,"../util":74}],14:[function(e,t,n){function i(e,t,n){var i=e.$parent;if(i&&n&&!o.test(t))for(;i;)i._eventsCount[t]=(i._eventsCount[t]||0)+n,i=i.$parent}var r=e("../util");n.$on=function(e,t){return(this._events[e]||(this._events[e]=[])).push(t),i(this,e,1),this},n.$once=function(e,t){function n(){i.$off(e,n),t.apply(this,arguments)}var i=this;return n.fn=t,this.$on(e,n),this},n.$off=function(e,t){var n;if(!arguments.length){if(this.$parent)for(e in this._events)n=this._events[e],n&&i(this,e,-n.length);return this._events={},this}if(n=this._events[e],!n)return this;if(1===arguments.length)return i(this,e,-n.length),this._events[e]=null,this;for(var r,o=n.length;o--;)if(r=n[o],r===t||r.fn===t){i(this,e,-1),n.splice(o,1);break}return this},n.$emit=function(e){var t=this._events[e];if(this._shouldPropagate=!t,t){t=t.length>1?r.toArray(t):t;for(var n=r.toArray(arguments,1),i=0,o=t.length;o>i;i++){var s=t[i].apply(this,n);s===!0&&(this._shouldPropagate=!0)}}return this},n.$broadcast=function(e){if(this._eventsCount[e]){for(var t=this.$children,n=0,i=t.length;i>n;n++){var r=t[n];r.$emit.apply(r,arguments),r._shouldPropagate&&r.$broadcast.apply(r,arguments)}return this}},n.$dispatch=function(){this.$emit.apply(this,arguments);for(var e=this.$parent;e;)e.$emit.apply(e,arguments),e=e._shouldPropagate?e.$parent:null;return this};var o=/^hook:/},{"../util":74}],15:[function(e,t,n){(function(t){function i(e){return new Function("return function "+r.classify(e)+" (options) { this._init(options) }")()}var r=e("../util"),o=e("../config");n.util=r,n.config=o,n.set=r.set,n["delete"]=r["delete"],n.nextTick=r.nextTick,n.compiler=e("../compiler"),n.FragmentFactory=e("../fragment/factory"),n.internalDirectives=e("../directives/internal"),n.parsers={path:e("../parsers/path"),text:e("../parsers/text"),template:e("../parsers/template"),directive:e("../parsers/directive"),expression:e("../parsers/expression")},n.cid=0;var s=1;n.extend=function(e){e=e||{};var t=this,n=0===t.cid;if(n&&e._Ctor)return e._Ctor;var a=e.name||t.options.name,l=i(a||"VueComponent");return l.prototype=Object.create(t.prototype),l.prototype.constructor=l,l.cid=s++,l.options=r.mergeOptions(t.options,e),l["super"]=t,l.extend=t.extend,o._assetTypes.forEach(function(e){l[e]=t[e]}),a&&(l.options.components[a]=l),n&&(e._Ctor=l),l},n.use=function(e){if(!e.installed){var t=r.toArray(arguments,1);return t.unshift(this),"function"==typeof e.install?e.install.apply(e,t):e.apply(null,t),e.installed=!0,this}},n.mixin=function(e){var t=r.Vue;t.options=r.mergeOptions(t.options,e)},o._assetTypes.forEach(function(e){n[e]=function(n,i){return i?("production"!==t.env.NODE_ENV&&"component"===e&&r.commonTagRE.test(n)&&r.warn("Do not use built-in HTML elements as component id: "+n),"component"===e&&r.isPlainObject(i)&&(i.name=n,i=r.Vue.extend(i)),this.options[e+"s"][n]=i,i):this.options[e+"s"][n]}})}).call(this,e("_process"))},{"../compiler":21,"../config":23,"../directives/internal":30,"../fragment/factory":52,"../parsers/directive":62,"../parsers/expression":63,"../parsers/path":64,"../parsers/template":65,"../parsers/text":66,"../util":74,_process:2}],16:[function(e,t,n){(function(t){function i(){this._isAttached=!0,this._isReady=!0,this._callHook("ready")}var r=e("../util"),o=e("../compiler");n.$mount=function(e){return this._isCompiled?void("production"!==t.env.NODE_ENV&&r.warn("$mount() should be called only once.")):(e=r.query(e),e||(e=document.createElement("div")),this._compile(e),this._initDOMHooks(),r.inDoc(this.$el)?(this._callHook("attached"),i.call(this)):this.$once("hook:attached",i),this)},n.$destroy=function(e,t){this._destroy(e,t)},n.$compile=function(e,t,n,i){return o.compile(e,this.$options,!0)(this,e,t,n,i)}}).call(this,e("_process"))},{"../compiler":21,"../util":74,_process:2}],17:[function(e,t,n){(function(t){function i(){l=[],c=[],u={},h={},p=d=!1}function r(){o(l),d=!0,o(c),"production"!==t.env.NODE_ENV&&s.inBrowser&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__.emit("flush"),i()}function o(e){for(var n=0;na._maxUpdateCount&&(e.splice(u[r],1),s.warn("You may have an infinite update loop for watcher with expression: "+i.expression)))}}var s=e("./util"),a=e("./config"),l=[],c=[],u={},h={},p=!1,d=!1;n.push=function(e){var t=e.id;if(null==u[t]){if(d&&!e.user)return void e.run();var n=e.user?c:l;u[t]=n.length,n.push(e),p||(p=!0,s.nextTick(r))}}}).call(this,e("_process"))},{"./config":23,"./util":74,_process:2}],18:[function(e,t,n){function i(e){this.size=0,this.limit=e,this.head=this.tail=void 0,this._keymap=Object.create(null)}var r=i.prototype;r.put=function(e,t){var n={key:e,value:t};return this._keymap[e]=n,this.tail?(this.tail.newer=n,n.older=this.tail):this.head=n,this.tail=n,this.size===this.limit?this.shift():void this.size++},r.shift=function(){var e=this.head;return e&&(this.head=this.head.newer,this.head.older=void 0,e.newer=e.older=void 0,this._keymap[e.key]=void 0),e},r.get=function(e,t){var n=this._keymap[e];if(void 0!==n)return n===this.tail?t?n:n.value:(n.newer&&(n===this.head&&(this.head=n.newer),n.newer.older=n.older),n.older&&(n.older.newer=n.newer),n.newer=void 0,n.older=this.tail,this.tail&&(this.tail.newer=n),this.tail=n,t?n:n.value)},t.exports=i},{}],19:[function(e,t,n){(function(n){function i(e){return function(t,i){t._props={};for(var s,c,u,h,p,d=e.length;d--;)if(s=e[d],p=s.raw,c=s.path,u=s.options,t._props[c]=s,null===p)o.initProp(t,s,r(t,u));else if(s.dynamic)t._context?s.mode===l.ONE_TIME?(h=(i||t._context).$get(s.parentPath),o.initProp(t,s,h)):t._bindDir({name:"prop",def:a,prop:s},null,null,i):"production"!==n.env.NODE_ENV&&o.warn("Cannot bind dynamic prop on a root instance with no parent: "+s.name+'="'+p+'"');else if(s.optimizedLiteral){var f=o.stripQuotes(p);h=f===p?o.toBoolean(o.toNumber(p)):f,o.initProp(t,s,h)}else h=u.type===Boolean&&""===p?!0:p,o.initProp(t,s,h)}}function r(e,t){if(!t.hasOwnProperty("default"))return t.type===Boolean?!1:void 0;var i=t["default"];return o.isObject(i)&&"production"!==n.env.NODE_ENV&&o.warn("Object/Array as default prop values will be shared across multiple instances. Use a factory function to return the default value instead."),"function"==typeof i&&t.type!==Function?i.call(e):i}var o=e("../util"),s=e("../parsers/directive"),a=e("../directives/internal/prop"),l=e("../config")._propBindingModes,c={},u=e("../parsers/path").identRE,h=/^[A-Za-z_$][\w$]*(\.[A-Za-z_$][\w$]*|\[[^\[\]]+\])*$/;t.exports=function(e,t){for(var r,a,p,d,f,m,v,g=[],y=Object.keys(t),b=y.length;b--;)a=y[b],r=t[a]||c,"production"===n.env.NODE_ENV||"$data"!==a?(f=o.camelize(a),u.test(f)?(v={name:a,path:f,options:r,mode:l.ONE_WAY,raw:null},p=o.hyphenate(a),null===(d=o.getBindAttr(e,p))&&(null!==(d=o.getBindAttr(e,p+".sync"))?v.mode=l.TWO_WAY:null!==(d=o.getBindAttr(e,p+".once"))&&(v.mode=l.ONE_TIME)),null!==d?(v.raw=d,m=s.parse(d),d=m.expression,v.filters=m.filters,o.isLiteral(d)?v.optimizedLiteral=!0:(v.dynamic=!0,"production"===n.env.NODE_ENV||v.mode!==l.TWO_WAY||h.test(d)||(v.mode=l.ONE_WAY,o.warn("Cannot bind two-way prop with non-settable parent path: "+d))),v.parentPath=d,"production"!==n.env.NODE_ENV&&r.twoWay&&v.mode!==l.TWO_WAY&&o.warn('Prop "'+a+'" expects a two-way binding type.')):null!==(d=o.attr(e,p))?v.raw=d:r.required&&"production"!==n.env.NODE_ENV&&o.warn("Missing required prop: "+a),g.push(v)):"production"!==n.env.NODE_ENV&&o.warn('Invalid prop key: "'+a+'". Prop keys must be valid identifiers.')):o.warn("Do not use $data as prop.");return i(g)}}).call(this,e("_process"))},{"../config":23,"../directives/internal/prop":31,"../parsers/directive":62,"../parsers/path":64,"../util":74,_process:2}],20:[function(e,t,n){(function(t){function i(e,t){var n=t._directives.length;e();var i=t._directives.slice(n);i.sort(r);for(var o=0,s=i.length;s>o;o++)i[o]._bind();return i}function r(e,t){return e=e.descriptor.def.priority||L,t=t.descriptor.def.priority||L,e>t?-1:e===t?0:1}function o(e,t,n,i){return function(r){s(e,t,r),n&&i&&s(n,i)}}function s(e,t,n){for(var i=t.length;i--;)t[i]._teardown(),n||e._directives.$remove(t[i])}function a(e,t){var n=e.nodeType;return 1===n&&"SCRIPT"!==e.tagName?l(e,t):3===n&&e.data.trim()?c(e,t):null}function l(e,t){if("TEXTAREA"===e.tagName){var n=O.parse(e.value);n&&(e.setAttribute(":value",O.tokensToExp(n)),e.value="")}var i,r=e.hasAttributes();return r&&(i=v(e,t)),i||(i=f(e,t)),i||(i=m(e,t)),!i&&r&&(i=b(e.attributes,t)),i}function c(e,t){var n=O.parse(e.data);if(!n)return null;for(var i,r,o=document.createDocumentFragment(),s=0,a=n.length;a>s;s++)r=n[s],i=r.tag?u(r,t):document.createTextNode(r.value),o.appendChild(i);return h(n,o,t)}function u(e,t){function n(t){if(!e.descriptor){var n=A.parse(e.value);e.descriptor={name:t,def:E[t],expression:n.expression,filters:n.filters}}}var i;return e.oneTime?i=document.createTextNode(e.value):e.html?(i=document.createComment("v-html"),n("html")):(i=document.createTextNode(" "),n("text")),i}function h(e,t){return function(n,i,r,o){for(var s,a,l,c=t.cloneNode(!0),u=x.toArray(c.childNodes),h=0,p=e.length;p>h;h++)s=e[h],a=s.value,s.tag&&(l=u[h],s.oneTime?(a=(o||n).$eval(a),s.html?x.replace(l,N.parse(a,!0)):l.data=a):n._bindDir(s.descriptor,l,r,o));x.replace(i,c)}}function p(e,t){for(var n,i,r,o=[],s=0,l=e.length;l>s;s++)r=e[s],n=a(r,t),i=n&&n.terminal||"SCRIPT"===r.tagName||!r.hasChildNodes()?null:p(r.childNodes,t),o.push(n,i);return o.length?d(o):null}function d(e){return function(t,n,i,r,o){for(var s,a,l,c=0,u=0,h=e.length;h>c;u++){s=n[u],a=e[c++],l=e[c++];var p=x.toArray(s.childNodes);a&&a(t,s,i,r,o),l&&l(t,p,i,r,o)}}}function f(e,t){var n=e.tagName.toLowerCase();if(!x.commonTagRE.test(n)){var i=T(t,"elementDirectives",n);return i?y(e,n,"",t,i):void 0}}function m(e,t){var n=x.checkComponent(e,t);if(n){var i=x.findRef(e),r={name:"component",ref:i,expression:n.id,def:C.component,modifiers:{literal:!n.dynamic}},o=function(e,t,n,o,s){i&&x.defineReactive((o||e).$refs,i,null),e._bindDir(r,t,n,o,s)};return o.terminal=!0,o}}function v(e,t){if(null!==x.attr(e,"v-pre"))return g;if(e.hasAttribute("v-else")){var n=e.previousElementSibling;if(n&&n.hasAttribute("v-if"))return g}for(var i,r,o=0,s=P.length;s>o;o++)if(r=P[o],i=e.getAttribute("v-"+r))return y(e,r,i,t)}function g(){}function y(e,t,n,i,r){var o=A.parse(n),s={name:t,expression:o.expression,filters:o.filters,raw:n,def:r||E[t]};("for"===t||"router-view"===t)&&(s.ref=x.findRef(e));var a=function(e,t,n,i,r){s.ref&&x.defineReactive((i||e).$refs,s.ref,null),e._bindDir(s,t,n,i,r)};return a.terminal=!0,a}function b(e,n){function i(e,t,n){var i=A.parse(s);m.push({name:e,attr:a,raw:l,def:t,arg:u,modifiers:h,expression:i.expression,filters:i.filters,interp:n})}for(var r,o,s,a,l,c,u,h,p,d,f=e.length,m=[];f--;)if(r=e[f],o=a=r.name,s=l=r.value,d=O.parse(s),u=null,h=w(o),o=o.replace(j,""),d)s=O.tokensToExp(d),u=o,i("bind",E.bind,!0),"production"!==t.env.NODE_ENV&&"class"===o&&Array.prototype.some.call(e,function(e){return":class"===e.name||"v-bind:class"===e.name})&&x.warn('class="'+l+'": Do not mix mustache interpolation and v-bind for "class" on the same element. Use one or the other.');else if(S.test(o))h.literal=!D.test(o),i("transition",C.transition);else if(F.test(o))u=o.replace(F,""),i("on",E.on);else if(D.test(o))c=o.replace(D,""),"style"===c||"class"===c?i(c,C[c]):(u=c,i("bind",E.bind));else if(0===o.indexOf("v-")){if(u=(u=o.match($))&&u[1],u&&(o=o.replace($,"")),c=o.slice(2),"else"===c)continue;p=T(n,"directives",c),"production"!==t.env.NODE_ENV&&x.assertAsset(p,"directive",c),p&&i(c,p)}return m.length?_(m):void 0}function w(e){var t=Object.create(null),n=e.match(j);if(n)for(var i=n.length;i--;)t[n[i].slice(1)]=!0;return t}function _(e){return function(t,n,i,r,o){for(var s=e.length;s--;)t._bindDir(e[s],n,i,r,o)}}var x=e("../util"),E=e("../directives/public"),C=e("../directives/internal"),k=e("./compile-props"),O=e("../parsers/text"),A=e("../parsers/directive"),N=e("../parsers/template"),T=x.resolveAsset,D=/^v-bind:|^:/,F=/^v-on:|^@/,$=/:(.*)$/,j=/\.[^\.]+/g,S=/^(v-bind:|:)?transition$/,P=["for","if"],L=1e3;n.compile=function(e,t,n){var r=n||!t._asComponent?a(e,t):null,s=r&&r.terminal||"SCRIPT"===e.tagName||!e.hasChildNodes()?null:p(e.childNodes,t);return function(e,t,n,a,l){var c=x.toArray(t.childNodes),u=i(function(){r&&r(e,t,n,a,l),s&&s(e,c,n,a,l)},e);return o(e,u)}},n.compileAndLinkProps=function(e,t,n,r){var s=k(t,n),a=i(function(){s(e,r)},e);return o(e,a)},n.compileRoot=function(e,n,r){var s,a,l=n._containerAttrs,c=n._replacerAttrs;if(11!==e.nodeType)n._asComponent?(l&&r&&(s=b(l,r)),c&&(a=b(c,n))):a=b(e.attributes,n);else if("production"!==t.env.NODE_ENV&&l){var u=l.filter(function(e){return e.name.indexOf("_v-")<0&&!F.test(e.name)&&"slot"!==e.name}).map(function(e){return'"'+e.name+'"'});if(u.length){var h=u.length>1;x.warn("Attribute"+(h?"s ":" ")+u.join(", ")+(h?" are":" is")+" ignored on component <"+n.el.tagName.toLowerCase()+"> because the component is a fragment instance: http://vuejs.org/guide/components.html#Fragment_Instance")}}return function(e,t,n){var r,l=e._context;l&&s&&(r=i(function(){s(l,t,null,n)},l));var c=i(function(){a&&a(e,t)},e);return o(e,c,l,r)}},g.terminal=!0}).call(this,e("_process"))},{"../directives/internal":30,"../directives/public":40,"../parsers/directive":62,"../parsers/template":65,"../parsers/text":66,"../util":74,"./compile-props":19,_process:2}],21:[function(e,t,n){var i=e("../util");i.extend(n,e("./compile")),i.extend(n,e("./transclude"))},{"../util":74,"./compile":20,"./transclude":22}],22:[function(e,t,n){(function(t){function i(e,n){var i=n.template,l=a.parse(i,!0);if(l){var c=l.firstChild,u=c.tagName&&c.tagName.toLowerCase();return n.replace?(e===document.body&&"production"!==t.env.NODE_ENV&&s.warn("You are mounting an instance with a template to . This will replace entirely. You should probably use `replace: false` here."),l.childNodes.length>1||1!==c.nodeType||"component"===u||s.resolveAsset(n,"components",u)||c.hasAttribute("is")||c.hasAttribute(":is")||c.hasAttribute("v-bind:is")||s.resolveAsset(n,"elementDirectives",u)||c.hasAttribute("v-for")||c.hasAttribute("v-if")?l:(n._replacerAttrs=r(c),o(e,c),c)):(e.appendChild(l),e)}"production"!==t.env.NODE_ENV&&s.warn("Invalid template option: "+i)}function r(e){return 1===e.nodeType&&e.hasAttributes()?s.toArray(e.attributes):void 0}function o(e,t){for(var n,i,r=e.attributes,o=r.length;o--;)n=r[o].name,i=r[o].value,t.hasAttribute(n)||l.test(n)?"class"===n&&(i=t.getAttribute(n)+" "+i,t.setAttribute(n,i)):t.setAttribute(n,i)}var s=e("../util"),a=e("../parsers/template"),l=/[^\w\-:\.]/;n.transclude=function(e,t){return t&&(t._containerAttrs=r(e)),s.isTemplate(e)&&(e=a.parse(e)),t&&(t._asComponent&&!t.template&&(t.template=""),t.template&&(t._content=s.extractContent(e),e=i(e,t))),e instanceof DocumentFragment&&(s.prepend(s.createAnchor("v-start",!0),e),e.appendChild(s.createAnchor("v-end",!0))),e}}).call(this,e("_process"))},{"../parsers/template":65,"../util":74,_process:2}],23:[function(e,t,n){t.exports={debug:!1,silent:!1,async:!0,warnExpressionErrors:!0,_delimitersChanged:!0,_assetTypes:["component","directive","elementDirective","filter","transition","partial"],_propBindingModes:{ONE_WAY:0,TWO_WAY:1,ONE_TIME:2},_maxUpdateCount:100};var i=["{{","}}"],r=["{{{","}}}"],o=e("./parsers/text");Object.defineProperty(t.exports,"delimiters",{get:function(){return i},set:function(e){i=e,o.compileRegex()}}),Object.defineProperty(t.exports,"unsafeDelimiters",{get:function(){return r},set:function(e){r=e,o.compileRegex()}})},{"./parsers/text":66 +!function e(t,n,i){function r(s,a){if(!n[s]){if(!t[s]){var l="function"==typeof require&&require;if(!a&&l)return l(s,!0);if(o)return o(s,!0);var c=new Error("Cannot find module '"+s+"'");throw c.code="MODULE_NOT_FOUND",c}var u=n[s]={exports:{}};t[s][0].call(u.exports,function(e){var n=t[s][1][e];return r(n?n:e)},u,u.exports,e,t,n,i)}return n[s].exports}for(var o="function"==typeof require&&require,s=0;sr;r++)t=n[r],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,i,r,o,s;if(!this._callbacks||0===arguments.length)return this._callbacks={},this;if(i=this._callbacks[e],!i)return this;if(1===arguments.length)return delete this._callbacks[e],this;for(r=o=0,s=i.length;s>o;r=++o)if(n=i[r],n===t){i.splice(r,1);break}return this},e}(),e=function(e){function t(e,n){var r,o,s;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,r=null!=(s=t.optionsForElement(this.element))?s:{},this.options=i({},this.defaultOptions,r,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 i,r;return h(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 a},forceFallback:!1,fallback:function(){var e,n,i,r,o,s;for(this.element.className=""+this.element.className+" dz-browser-not-supported",s=this.element.getElementsByTagName("div"),r=0,o=s.length;o>r;r++)e=s[r],/(^| )dz-message($| )/.test(e.className)&&(n=e,e.className="dz-message");return n||(n=t.createElement('
'),this.element.appendChild(n)),i=n.getElementsByTagName("span")[0],i&&(null!=i.textContent?i.textContent=this.options.dictFallbackMessage:null!=i.innerText&&(i.innerText=this.options.dictFallbackMessage)),this.element.appendChild(this.getFallbackForm())},resize:function(e){var t,n,i;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),i=t.optWidth/t.optHeight,e.heighti?(t.srcHeight=e.height,t.srcWidth=t.srcHeight*i):(t.srcWidth=e.width,t.srcHeight=t.srcWidth/i),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:a,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:a,reset:function(){return this.element.classList.remove("dz-started")},addedfile:function(e){var n,i,r,o,s,a,l,c,u,h,p,d,f;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),h=e.previewElement.querySelectorAll("[data-dz-name]"),o=0,l=h.length;l>o;o++)n=h[o],n.textContent=e.name;for(p=e.previewElement.querySelectorAll("[data-dz-size]"),s=0,c=p.length;c>s;s++)n=p[s],n.innerHTML=this.filesize(e.size);for(this.options.addRemoveLinks&&(e._removeLink=t.createElement(''+this.options.dictRemoveFile+""),e.previewElement.appendChild(e._removeLink)),i=function(n){return function(i){return i.preventDefault(),i.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]"),f=[],a=0,u=d.length;u>a;a++)r=d[a],f.push(r.addEventListener("click",i));return f}},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,i,r,o;if(e.previewElement){for(e.previewElement.classList.remove("dz-file-preview"),o=e.previewElement.querySelectorAll("[data-dz-thumbnail]"),i=0,r=o.length;r>i;i++)n=o[i],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,i,r,o,s;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]"),s=[],i=0,r=o.length;r>i;i++)n=o[i],s.push(n.textContent=t);return s}},errormultiple:a,processing:function(e){return e.previewElement&&(e.previewElement.classList.add("dz-processing"),e._removeLink)?e._removeLink.textContent=this.options.dictCancelUpload:void 0},processingmultiple:a,uploadprogress:function(e,t,n){var i,r,o,s,a;if(e.previewElement){for(s=e.previewElement.querySelectorAll("[data-dz-uploadprogress]"),a=[],r=0,o=s.length;o>r;r++)i=s[r],"PROGRESS"===i.nodeName?a.push(i.value=t):a.push(i.style.width=""+t+"%");return a}},totaluploadprogress:a,sending:a,sendingmultiple:a,success:function(e){return e.previewElement?e.previewElement.classList.add("dz-success"):void 0},successmultiple:a,canceled:function(e){return this.emit("error",e,"Upload canceled.")},canceledmultiple:a,complete:function(e){return e._removeLink&&(e._removeLink.textContent=this.options.dictRemoveFile),e.previewElement?e.previewElement.classList.add("dz-complete"):void 0},completemultiple:a,maxfilesexceeded:a,maxfilesreached:a,queuecomplete:a,addedfiles:a,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
'},i=function(){var e,t,n,i,r,o,s;for(i=arguments[0],n=2<=arguments.length?c.call(arguments,1):[],o=0,s=n.length;s>o;o++){t=n[o];for(e in t)r=t[e],i[e]=r}return i},t.prototype.getAcceptedFiles=function(){var e,t,n,i,r;for(i=this.files,r=[],t=0,n=i.length;n>t;t++)e=i[t],e.accepted&&r.push(e);return r},t.prototype.getRejectedFiles=function(){var e,t,n,i,r;for(i=this.files,r=[],t=0,n=i.length;n>t;t++)e=i[t],e.accepted||r.push(e);return r},t.prototype.getFilesWithStatus=function(e){var t,n,i,r,o;for(r=this.files,o=[],n=0,i=r.length;i>n;n++)t=r[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,i,r,o;for(r=this.files,o=[],n=0,i=r.length;i>n;n++)e=r[n],(e.status===t.UPLOADING||e.status===t.QUEUED)&&o.push(e);return o},t.prototype.init=function(){var e,n,i,r,o,s,a;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&&(i=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,r,o;if(n=e.hiddenFileInput.files,n.length)for(r=0,o=n.length;o>r;r++)t=n[r],e.addFile(t);return e.emit("addedfiles",n),i()})}}(this))(),this.URL=null!=(s=window.URL)?s:window.webkitURL,a=this.events,r=0,o=a.length;o>r;r++)e=a[r],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 i;try{i=t.dataTransfer.effectAllowed}catch(r){}return t.dataTransfer.dropEffect="move"===i||"linkMove"===i?"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(i){return(n!==e.element||i.target===e.element||t.elementInside(i.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,i,r,o,s,a;if(i=0,n=0,e=this.getActiveFiles(),e.length){for(a=this.getActiveFiles(),o=0,s=a.length;s>o;o++)t=a[o],i+=t.upload.bytesSent,n+=t.upload.total;r=100*i/n}else r=100;return this.emit("totaluploadprogress",r,n,i)},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,i,r;return(e=this.getExistingFallback())?e:(i='
',this.options.dictFallbackText&&(i+="

"+this.options.dictFallbackText+"

"),i+='
',n=t.createElement(i),"FORM"!==this.element.tagName?(r=t.createElement('
'),r.appendChild(n)):(this.element.setAttribute("enctype","multipart/form-data"),this.element.setAttribute("method",this.options.method)),null!=r?r:n)},t.prototype.getExistingFallback=function(){var e,t,n,i,r,o;for(t=function(e){var t,n,i;for(n=0,i=e.length;i>n;n++)if(t=e[n],/(^| )fallback($| )/.test(t.className))return t},o=["div","form"],i=0,r=o.length;r>i;i++)if(n=o[i],e=t(this.element.getElementsByTagName(n)))return e},t.prototype.setupEventListeners=function(){var e,t,n,i,r,o,s;for(o=this.listeners,s=[],i=0,r=o.length;r>i;i++)e=o[i],s.push(function(){var i,r;i=e.events,r=[];for(t in i)n=i[t],r.push(e.element.addEventListener(t,n,!1));return r}());return s},t.prototype.removeEventListeners=function(){var e,t,n,i,r,o,s;for(o=this.listeners,s=[],i=0,r=o.length;r>i;i++)e=o[i],s.push(function(){var i,r;i=e.events,r=[];for(t in i)n=i[t],r.push(e.element.removeEventListener(t,n,!1));return r}());return s},t.prototype.disable=function(){var e,t,n,i,r;for(this.clickableElements.forEach(function(e){return e.classList.remove("dz-clickable")}),this.removeEventListeners(),i=this.files,r=[],t=0,n=i.length;n>t;t++)e=i[t],r.push(this.cancelUpload(e));return r},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,i,r,o,s,a,l;if(i=0,r="b",e>0){for(s=["TB","GB","MB","KB","b"],n=a=0,l=s.length;l>a;n=++a)if(o=s[n],t=Math.pow(this.options.filesizeBase,4-n)/10,e>=t){i=e/Math.pow(this.options.filesizeBase,4-n),r=o;break}i=Math.round(10*i)/10}return""+i+" "+r},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,i,r;for(r=[],n=0,i=e.length;i>n;n++)t=e[n],r.push(this.addFile(t));return r},t.prototype._addFilesFromItems=function(e){var t,n,i,r,o;for(o=[],i=0,r=e.length;r>i;i++)n=e[i],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,i;return n=e.createReader(),i=function(e){return function(n){var i,r,o;for(r=0,o=n.length;o>r;r++)i=n[r],i.isFile?i.file(function(n){return e.options.ignoreHiddenFiles&&"."===n.name.substring(0,1)?void 0:(n.fullPath=""+t+"/"+n.name,e.addFile(n))}):i.isDirectory&&e._addFilesFromDirectory(i,""+t+"/"+i.name)}}(this),n.readEntries(i,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,i;for(n=0,i=e.length;i>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=l(this.files,e),this.emit("removedfile",e),0===this.files.length?this.emit("reset"):void 0},t.prototype.removeAllFiles=function(e){var n,i,r,o;for(null==e&&(e=!1),o=this.files.slice(),i=0,r=o.length;r>i;i++)n=o[i],(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(i){return function(){return"image/svg+xml"===e.type?(i.emit("thumbnail",e,n.result),void(null!=t&&t())):i.createThumbnailFromUrl(e,n.result,t)}}(this),n.readAsDataURL(e)},t.prototype.createThumbnailFromUrl=function(e,t,n,i){var r;return r=document.createElement("img"),i&&(r.crossOrigin=i),r.onload=function(t){return function(){var i,o,a,l,c,u,h,p;return e.width=r.width,e.height=r.height,a=t.options.resize.call(t,e),null==a.trgWidth&&(a.trgWidth=a.optWidth),null==a.trgHeight&&(a.trgHeight=a.optHeight),i=document.createElement("canvas"),o=i.getContext("2d"),i.width=a.trgWidth,i.height=a.trgHeight,s(o,r,null!=(c=a.srcX)?c:0,null!=(u=a.srcY)?u:0,a.srcWidth,a.srcHeight,null!=(h=a.trgX)?h:0,null!=(p=a.trgY)?p:0,a.trgWidth,a.trgHeight),l=i.toDataURL("image/png"),t.emit("thumbnail",e,l),null!=n?n():void 0}}(this),null!=n&&(r.onerror=n),r.src=t},t.prototype.processQueue=function(){var e,t,n,i;if(t=this.options.parallelUploads,n=this.getUploadingFiles().length,e=n,!(n>=t)&&(i=this.getQueuedFiles(),i.length>0)){if(this.options.uploadMultiple)return this.processFiles(i.slice(0,t-n));for(;t>e;){if(!i.length)return;this.processFile(i.shift()),e++}}},t.prototype.processFile=function(e){return this.processFiles([e])},t.prototype.processFiles=function(e){var n,i,r;for(i=0,r=e.length;r>i;i++)n=e[i],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,i,r,o;for(r=this.files,o=[],n=0,i=r.length;i>n;n++)t=r[n],t.xhr===e&&o.push(t);return o}.call(this)},t.prototype.cancelUpload=function(e){var n,i,r,o,s,a,l;if(e.status===t.UPLOADING){for(i=this._getFilesWithXhr(e.xhr),r=0,s=i.length;s>r;r++)n=i[r],n.status=t.CANCELED;for(e.xhr.abort(),o=0,a=i.length;a>o;o++)n=i[o],this.emit("canceled",n);this.options.uploadMultiple&&this.emit("canceledmultiple",i)}else((l=e.status)===t.ADDED||l===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},r=function(){var e,t;return t=arguments[0],e=2<=arguments.length?c.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,s,a,l,c,u,h,p,d,f,m,v,g,y,b,w,_,x,E,C,k,O,A,N,T,F,D,$,j,S,P,I,L;for(x=new XMLHttpRequest,E=0,A=e.length;A>E;E++)n=e[E],n.xhr=x;m=r(this.options.method,e),w=r(this.options.url,e),x.open(m,w,!0),x.withCredentials=!!this.options.withCredentials,y=null,s=function(t){return function(){var i,r,o;for(o=[],i=0,r=e.length;r>i;i++)n=e[i],o.push(t._errorProcessing(e,y||t.options.dictResponseError.replace("{{statusCode}}",x.status),x));return o}}(this),b=function(t){return function(i){var r,o,s,a,l,c,u,h,p;if(null!=i)for(o=100*i.loaded/i.total,s=0,c=e.length;c>s;s++)n=e[s],n.upload={progress:o,total:i.total,bytesSent:i.loaded};else{for(r=!0,o=100,a=0,u=e.length;u>a;a++)n=e[a],(100!==n.upload.progress||n.upload.bytesSent!==n.upload.total)&&(r=!1),n.upload.progress=o,n.upload.bytesSent=n.upload.total;if(r)return}for(p=[],l=0,h=e.length;h>l;l++)n=e[l],p.push(t.emit("uploadprogress",n,o,n.upload.bytesSent));return p}}(this),x.onload=function(n){return function(i){var r;if(e[0].status!==t.CANCELED&&4===x.readyState){if(y=x.responseText,x.getResponseHeader("content-type")&&~x.getResponseHeader("content-type").indexOf("application/json"))try{y=JSON.parse(y)}catch(o){i=o,y="Invalid JSON response from server."}return b(),200<=(r=x.status)&&300>r?n._finished(e,y,i):s()}}}(this),x.onerror=function(n){return function(){return e[0].status!==t.CANCELED?s():void 0}}(this),g=null!=($=x.upload)?$:x,g.onprogress=b,c={Accept:"application/json","Cache-Control":"no-cache","X-Requested-With":"XMLHttpRequest"},this.options.headers&&i(c,this.options.headers);for(a in c)l=c[a],l&&x.setRequestHeader(a,l);if(o=new FormData,this.options.params){j=this.options.params;for(f in j)_=j[f],o.append(f,_)}for(C=0,N=e.length;N>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(S=this.element.querySelectorAll("input, textarea, select, button"),k=0,T=S.length;T>k;k++)if(h=S[k],p=h.getAttribute("name"),d=h.getAttribute("type"),"SELECT"===h.tagName&&h.hasAttribute("multiple"))for(P=h.options,O=0,F=P.length;F>O;O++)v=P[O],v.selected&&o.append(p,v.value);else(!d||"checkbox"!==(I=d.toLowerCase())&&"radio"!==I||h.checked)&&o.append(p,h.value);for(u=D=0,L=e.length-1;L>=0?L>=D:D>=L;u=L>=0?++D:--D)o.append(this._getParamName(u),e[u],e[u].name);return this.submitRequest(x,o,e)},t.prototype.submitRequest=function(e,t,n){return e.send(t)},t.prototype._finished=function(e,n,i){var r,o,s;for(o=0,s=e.length;s>o;o++)r=e[o],r.status=t.SUCCESS,this.emit("success",r,n,i),this.emit("complete",r);return this.options.uploadMultiple&&(this.emit("successmultiple",e,n,i),this.emit("completemultiple",e)),this.options.autoProcessQueue?this.processQueue():void 0},t.prototype._errorProcessing=function(e,n,i){var r,o,s;for(o=0,s=e.length;s>o;o++)r=e[o],r.status=t.ERROR,this.emit("error",r,n,i),this.emit("complete",r);return this.options.uploadMultiple&&(this.emit("errormultiple",e,n,i),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[i(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,i,r,o,s;for(document.querySelectorAll?i=document.querySelectorAll(".dropzone"):(i=[],t=function(e){var t,n,r,o;for(o=[],n=0,r=e.length;r>n;n++)t=e[n],/(^| )dropzone($| )/.test(t.className)?o.push(i.push(t)):o.push(void 0);return o},t(document.getElementsByTagName("div")),t(document.getElementsByTagName("form"))),s=[],r=0,o=i.length;o>r;r++)n=i[r],e.optionsForElement(n)!==!1?s.push(new e(n)):s.push(void 0);return s},e.blacklistedBrowsers=[/opera.*Macintosh.*version\/12/i],e.isBrowserSupported=function(){var t,n,i,r,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,i=0,r=o.length;r>i;i++)n=o[i],n.test(navigator.userAgent)&&(t=!1);else t=!1;else t=!1;return t},l=function(e,t){var n,i,r,o;for(o=[],i=0,r=e.length;r>i;i++)n=e[i],n!==t&&o.push(n);return o},i=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,i,r,o,s,a,l,c;if(e instanceof Array){r=[];try{for(o=0,a=e.length;a>o;o++)i=e[o],r.push(this.getElement(i,t))}catch(u){n=u,r=null}}else if("string"==typeof e)for(r=[],c=document.querySelectorAll(e),s=0,l=c.length;l>s;s++)i=c[s],r.push(i);else null!=e.nodeType&&(r=[e]);if(null==r||!r.length)throw new Error("Invalid `"+t+"` option provided. Please provide a CSS selector, a plain HTML element or a list of those.");return r},e.confirm=function(e,t,n){return window.confirm(e)?t():null!=n?n():void 0; +},e.isValidFile=function(e,t){var n,i,r,o,s;if(!t)return!0;for(t=t.split(","),i=e.type,n=i.replace(/\/.*$/,""),o=0,s=t.length;s>o;o++)if(r=t[o],r=r.trim(),"."===r.charAt(0)){if(-1!==e.name.toLowerCase().indexOf(r.toLowerCase(),e.name.length-r.length))return!0}else if(/\/\*$/.test(r)){if(n===r.replace(/\/.*$/,""))return!0}else if(i===r)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,i,r,o,s,a,l,c,u;for(a=e.naturalWidth,s=e.naturalHeight,n=document.createElement("canvas"),n.width=1,n.height=s,i=n.getContext("2d"),i.drawImage(e,0,0),r=i.getImageData(0,0,1,s).data,u=0,o=s,l=s;l>u;)t=r[4*(l-1)+3],0===t?o=l:u=l,l=o+u>>1;return c=l/s,0===c?1:c},s=function(e,t,n,i,r,s,a,l,c,u){var h;return h=o(t),e.drawImage(t,n,i,r,s,a,l,c,u/h)},r=function(e,t){var n,i,r,o,s,a,l,c,u;if(r=!1,u=!0,i=e.document,c=i.documentElement,n=i.addEventListener?"addEventListener":"attachEvent",l=i.addEventListener?"removeEventListener":"detachEvent",a=i.addEventListener?"":"on",o=function(n){return"readystatechange"!==n.type||"complete"===i.readyState?(("load"===n.type?e:i)[l](a+n.type,o,!1),!r&&(r=!0)?t.call(e,n.type||n):void 0):void 0},s=function(){var e;try{c.doScroll("left")}catch(t){return e=t,void setTimeout(s,50)}return o("poll")},"complete"!==i.readyState){if(i.createEventObject&&c.doScroll){try{u=!e.frameElement}catch(h){}u&&s()}return i[n](a+"DOMContentLoaded",o,!1),i[n](a+"readystatechange",o,!1),e[n](a+"load",o,!1)}},e._autoDiscoverFunction=function(){return e.autoDiscover?e.discover():void 0},r(window,e._autoDiscoverFunction)}).call(this)},{}],2:[function(e,t,n){function i(){u=!1,a.length?c=a.concat(c):h=-1,c.length&&r()}function r(){if(!u){var e=setTimeout(i);u=!0;for(var t=c.length;t;){for(a=c,c=[];++h1)for(var n=1;n hot reload shim applied."))}},n.createRecord=function(e,t){var n="function"==typeof t?t:u.extend(t);t=n.options,"string"!=typeof t.el&&"object"!=typeof t.data&&(s(e,t),h[e]={Component:n,views:[],instances:[]})},n.update=function(e,t,n){var i=h[e];if(!i||i.instances.length&&!i.views.length){if(console.log("[HMR] Root or manually-mounted instance modified. Full reload may be required."),d)return;window.location.reload()}d||console.log("[HMR] Updating component: "+c(e));var r=i.Component;t&&(r=i.Component="function"==typeof t?t:u.extend(t),s(e,r.options)),n&&(r.options.template=n),r.options.name&&(r.options.components[r.options.name]=r),r.linker=null,i.views.forEach(function(e){l(e,r)})}},{}],4:[function(e,t,n){var i=e("./lib/xhr"),r=e("./lib/jsonp"),o=e("./lib/promise");t.exports=function(e){function t(o,l){var c;return e.isPlainObject(o)&&(l=o,o=""),l=e.extend({url:o},l),l=e.extend(!0,{},t.options,this.options,l),null===l.crossOrigin&&(l.crossOrigin=a(l.url)),l.method=l.method.toUpperCase(),l.headers=e.extend({},t.headers.common,l.crossOrigin?{}:t.headers.custom,t.headers[l.method.toLowerCase()],l.headers),e.isPlainObject(l.data)&&/^(GET|JSONP)$/i.test(l.method)&&(e.extend(l.params,l.data),delete l.data),l.emulateHTTP&&!l.crossOrigin&&/^(PUT|PATCH|DELETE)$/i.test(l.method)&&(l.headers["X-HTTP-Method-Override"]=l.method,l.method="POST"),l.emulateJSON&&e.isPlainObject(l.data)&&(l.headers["Content-Type"]="application/x-www-form-urlencoded",l.data=e.url.params(l.data)),e.isObject(l.data)&&/FormData/i.test(l.data.toString())&&delete l.headers["Content-Type"],e.isPlainObject(l.data)&&(l.data=JSON.stringify(l.data)),c=("JSONP"==l.method?r:i).call(this.vm,e,l),c=n(c.then(s,s),this.vm),l.success&&(c=c.success(l.success)),l.error&&(c=c.error(l.error)),c}function n(e,t){return e.success=function(i){return n(e.then(function(e){return i.call(t,e.data,e.status,e)||e}),t)},e.error=function(i){return n(e.then(void 0,function(e){return i.call(t,e.data,e.status,e)||e}),t)},e.always=function(i){var r=function(e){return i.call(t,e.data,e.status,e)||e};return n(e.then(r,r),t)},e}function s(e){try{e.data=JSON.parse(e.responseText)}catch(t){e.data=e.responseText}return e.ok?e:o.reject(e)}function a(t){var n=e.url.parse(t);return n.protocol!==l.protocol||n.host!==l.host}var l=e.url.parse(location.href),c={"Content-Type":"application/json;charset=utf-8"};return t.options={method:"get",params:{},data:"",xhr:null,jsonp:"callback",beforeSend:null,crossOrigin:null,emulateHTTP:!1,emulateJSON:!1},t.headers={put:c,post:c,patch:c,"delete":c,common:{Accept:"application/json, text/plain, */*"},custom:{"X-Requested-With":"XMLHttpRequest"}},["get","put","post","patch","delete","jsonp"].forEach(function(n){t[n]=function(t,i,r,o){return e.isFunction(i)&&(o=r,r=i,i=void 0),this(t,e.extend({method:n,data:i,success:r},o))}}),e.http=t}},{"./lib/jsonp":6,"./lib/promise":7,"./lib/xhr":9}],5:[function(e,t,n){function i(t){var n=e("./lib/util")(t);t.url=e("./url")(n),t.http=e("./http")(n),t.resource=e("./resource")(n),Object.defineProperties(t.prototype,{$url:{get:function(){return n.options(t.url,this,this.$options.url)}},$http:{get:function(){return n.options(t.http,this,this.$options.http)}},$resource:{get:function(){return t.resource.bind(this)}}})}window.Vue&&Vue.use(i),t.exports=i},{"./http":4,"./lib/util":8,"./resource":10,"./url":11}],6:[function(e,t,n){var i=e("./promise");t.exports=function(e,t){var n,r,o="_jsonp"+Math.random().toString(36).substr(2),s={};return t.params[t.jsonp]=o,e.isFunction(t.beforeSend)&&t.beforeSend.call(this,{},t),new i(function(i,a){n=document.createElement("script"),n.src=e.url(t),n.type="text/javascript",n.async=!0,window[o]=function(e){r=e};var l=function(e){delete window[o],document.body.removeChild(n),"load"!==e.type||r||(e.type="error"),s.ok="error"!==e.type,s.status=s.ok?200:404,s.responseText=r?r:e.type,(s.ok?i:a)(s)};n.onload=l,n.onerror=l,document.body.appendChild(n)})}},{"./promise":7}],7:[function(e,t,n){function i(e){this.state=s,this.value=void 0,this.deferred=[];var t=this;try{e(function(e){t.resolve(e)},function(e){t.reject(e)})}catch(n){t.reject(n)}}var r=0,o=1,s=2;i.reject=function(e){return new i(function(t,n){n(e)})},i.resolve=function(e){return new i(function(t,n){t(e)})},i.all=function(e){return new i(function(t,n){function i(n){return function(i){o[n]=i,r+=1,r===e.length&&t(o)}}var r=0,o=[];0===e.length&&t(o);for(var s=0;s=200&&o.status<300),(o.ok?n:i)(o)};o.onload=r,o.onabort=r,o.onerror=r,o.send(t.data)})}},{"./promise":7}],10:[function(e,t,n){t.exports=function(e){function t(i,r,o,s){var a=this,l={};return o=e.extend({},t.actions,o),e.each(o,function(t,o){t=e.extend(!0,{url:i,params:r||{}},s,t),l[o]=function(){return(a.$http||e.http)(n(t,arguments))}}),l}function n(t,n){var i,r,o,s=e.extend({},t),a={};switch(n.length){case 4:o=n[3],r=n[2];case 3:case 2:if(!e.isFunction(n[1])){a=n[0],i=n[1],r=n[2];break}if(e.isFunction(n[0])){r=n[0],o=n[1];break}r=n[1],o=n[2];case 1:e.isFunction(n[0])?r=n[0]:/^(POST|PUT|PATCH)$/i.test(s.method)?i=n[0]:a=n[0];break;case 0:break;default:throw"Expected up to 4 arguments [params, data, success, error], got "+n.length+" arguments"}return s.data=i,s.params=e.extend({},s.params,a),r&&(s.success=r),o&&(s.error=o),s}return t.actions={get:{method:"GET"},save:{method:"POST"},query:{method:"GET"},update:{method:"PUT"},remove:{method:"DELETE"},"delete":{method:"DELETE"}},e.resource=t}},{}],11:[function(e,t,n){var i=document.documentMode,r=document.createElement("a");t.exports=function(e){function t(n,i){var r,s={},a={},l=n;return e.isPlainObject(l)||(l={url:n,params:i}),l=e.extend(!0,{},t.options,this.options,l),n=l.url.replace(/(\/?):([a-z]\w*)/gi,function(e,t,n){return l.params[n]?(s[n]=!0,t+o(l.params[n])):""}),e.isString(l.root)&&!n.match(/^(https?:)?\//)&&(n=l.root+"/"+n),e.each(l.params,function(e,t){s[t]||(a[t]=e)}),r=t.params(a),r&&(n+=(-1==n.indexOf("?")?"?":"&")+r),n}function n(t,i,r){var o,s=e.isArray(i),a=e.isPlainObject(i);e.each(i,function(i,l){o=e.isObject(i)||e.isArray(i),r&&(l=r+"["+(a||o?l:"")+"]"),!r&&s?t.add(i.name,i.value):o?n(t,i,l):t.add(l,i)})}function o(e){return s(e,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function s(e,t){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,t?"%20":"+")}return t.options={url:"",root:null,params:{}},t.params=function(t){var i=[];return i.add=function(t,n){e.isFunction(n)&&(n=n()),null===n&&(n=""),this.push(o(t)+"="+o(n))},n(i,t),i.join("&")},t.parse=function(e){return i&&(r.href=e,e=r.href),r.href=e,{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",port:r.port,host:r.host,hostname:r.hostname,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):""}},e.url=t}},{}],12:[function(e,t,n){function i(e){return JSON.parse(JSON.stringify(e))}var r=e("../util"),o=e("../watcher"),s=e("../parsers/path"),a=e("../parsers/text"),l=e("../parsers/directive"),c=e("../parsers/expression"),u=/[^|]\|[^|]/;n.$get=function(e,t){var n=c.parse(e);if(n){if(t&&!c.isSimplePath(e)){var i=this;return function(){n.get.call(i,i)}}try{return n.get.call(this,this)}catch(r){}}},n.$set=function(e,t){var n=c.parse(e,!0);n&&n.set&&n.set.call(this,this,t)},n.$delete=function(e){r["delete"](this._data,e)},n.$watch=function(e,t,n){var i,r=this;"string"==typeof e&&(i=l.parse(e),e=i.expression);var s=new o(r,e,t,{deep:n&&n.deep,filters:i&&i.filters});return n&&n.immediate&&t.call(r,s.value),function(){s.teardown()}},n.$eval=function(e,t){if(u.test(e)){var n=l.parse(e),i=this.$get(n.expression,t);return n.filters?this._applyFilters(i,null,n.filters):i}return this.$get(e,t)},n.$interpolate=function(e){var t=a.parse(e),n=this;return t?1===t.length?n.$eval(t[0].value)+"":t.map(function(e){return e.tag?n.$eval(e.value):e.value}).join(""):e},n.$log=function(e){var t=e?s.get(this._data,e):this._data;if(t&&(t=i(t)),!e)for(var n in this.$options.computed)t[n]=i(this[n]);console.log(t)}},{"../parsers/directive":62,"../parsers/expression":63,"../parsers/path":64,"../parsers/text":66,"../util":74,"../watcher":78}],13:[function(e,t,n){function i(e,t,n,i,o,s){t=r(t);var a=!l.inDoc(t),c=i===!1||a?o:s,u=!a&&!e._isAttached&&!l.inDoc(e.$el);return e._isFragment?(l.mapNodeRange(e._fragmentStart,e._fragmentEnd,function(n){c(n,t,e)}),n&&n()):c(e.$el,t,e,n),u&&e._callHook("attached"),e}function r(e){return"string"==typeof e?document.querySelector(e):e}function o(e,t,n,i){t.appendChild(e),i&&i()}function s(e,t,n,i){l.before(e,t),i&&i()}function a(e,t,n){l.remove(e),n&&n()}var l=e("../util"),c=e("../transition");n.$nextTick=function(e){l.nextTick(e,this)},n.$appendTo=function(e,t,n){return i(this,e,t,n,o,c.append)},n.$prependTo=function(e,t,n){return e=r(e),e.hasChildNodes()?this.$before(e.firstChild,t,n):this.$appendTo(e,t,n),this},n.$before=function(e,t,n){return i(this,e,t,n,s,c.before)},n.$after=function(e,t,n){return e=r(e),e.nextSibling?this.$before(e.nextSibling,t,n):this.$appendTo(e.parentNode,t,n),this},n.$remove=function(e,t){if(!this.$el.parentNode)return e&&e();var n=this._isAttached&&l.inDoc(this.$el);n||(t=!1);var i=this,r=function(){n&&i._callHook("detached"),e&&e()};if(this._isFragment)l.removeNodeRange(this._fragmentStart,this._fragmentEnd,this,this._fragment,r);else{var o=t===!1?a:c.remove;o(this.$el,this,r)}return this}},{"../transition":67,"../util":74}],14:[function(e,t,n){function i(e,t,n){var i=e.$parent;if(i&&n&&!o.test(t))for(;i;)i._eventsCount[t]=(i._eventsCount[t]||0)+n,i=i.$parent}var r=e("../util");n.$on=function(e,t){return(this._events[e]||(this._events[e]=[])).push(t),i(this,e,1),this},n.$once=function(e,t){function n(){i.$off(e,n),t.apply(this,arguments)}var i=this;return n.fn=t,this.$on(e,n),this},n.$off=function(e,t){var n;if(!arguments.length){if(this.$parent)for(e in this._events)n=this._events[e],n&&i(this,e,-n.length);return this._events={},this}if(n=this._events[e],!n)return this;if(1===arguments.length)return i(this,e,-n.length),this._events[e]=null,this;for(var r,o=n.length;o--;)if(r=n[o],r===t||r.fn===t){i(this,e,-1),n.splice(o,1);break}return this},n.$emit=function(e){var t=this._events[e];if(this._shouldPropagate=!t,t){t=t.length>1?r.toArray(t):t;for(var n=r.toArray(arguments,1),i=0,o=t.length;o>i;i++){var s=t[i].apply(this,n);s===!0&&(this._shouldPropagate=!0)}}return this},n.$broadcast=function(e){if(this._eventsCount[e]){for(var t=this.$children,n=0,i=t.length;i>n;n++){var r=t[n];r.$emit.apply(r,arguments),r._shouldPropagate&&r.$broadcast.apply(r,arguments)}return this}},n.$dispatch=function(){this.$emit.apply(this,arguments);for(var e=this.$parent;e;)e.$emit.apply(e,arguments),e=e._shouldPropagate?e.$parent:null;return this};var o=/^hook:/},{"../util":74}],15:[function(e,t,n){(function(t){function i(e){return new Function("return function "+r.classify(e)+" (options) { this._init(options) }")()}var r=e("../util"),o=e("../config");n.util=r,n.config=o,n.set=r.set,n["delete"]=r["delete"],n.nextTick=r.nextTick,n.compiler=e("../compiler"),n.FragmentFactory=e("../fragment/factory"),n.internalDirectives=e("../directives/internal"),n.parsers={path:e("../parsers/path"),text:e("../parsers/text"),template:e("../parsers/template"),directive:e("../parsers/directive"),expression:e("../parsers/expression")},n.cid=0;var s=1;n.extend=function(e){e=e||{};var t=this,n=0===t.cid;if(n&&e._Ctor)return e._Ctor;var a=e.name||t.options.name,l=i(a||"VueComponent");return l.prototype=Object.create(t.prototype),l.prototype.constructor=l,l.cid=s++,l.options=r.mergeOptions(t.options,e),l["super"]=t,l.extend=t.extend,o._assetTypes.forEach(function(e){l[e]=t[e]}),a&&(l.options.components[a]=l),n&&(e._Ctor=l),l},n.use=function(e){if(!e.installed){var t=r.toArray(arguments,1);return t.unshift(this),"function"==typeof e.install?e.install.apply(e,t):e.apply(null,t),e.installed=!0,this}},n.mixin=function(e){var t=r.Vue;t.options=r.mergeOptions(t.options,e)},o._assetTypes.forEach(function(e){n[e]=function(n,i){return i?("production"!==t.env.NODE_ENV&&"component"===e&&r.commonTagRE.test(n)&&r.warn("Do not use built-in HTML elements as component id: "+n),"component"===e&&r.isPlainObject(i)&&(i.name=n,i=r.Vue.extend(i)),this.options[e+"s"][n]=i,i):this.options[e+"s"][n]}})}).call(this,e("_process"))},{"../compiler":21,"../config":23,"../directives/internal":30,"../fragment/factory":52,"../parsers/directive":62,"../parsers/expression":63,"../parsers/path":64,"../parsers/template":65,"../parsers/text":66,"../util":74,_process:2}],16:[function(e,t,n){(function(t){function i(){this._isAttached=!0,this._isReady=!0,this._callHook("ready")}var r=e("../util"),o=e("../compiler");n.$mount=function(e){return this._isCompiled?void("production"!==t.env.NODE_ENV&&r.warn("$mount() should be called only once.")):(e=r.query(e),e||(e=document.createElement("div")),this._compile(e),this._initDOMHooks(),r.inDoc(this.$el)?(this._callHook("attached"),i.call(this)):this.$once("hook:attached",i),this)},n.$destroy=function(e,t){this._destroy(e,t)},n.$compile=function(e,t,n,i){return o.compile(e,this.$options,!0)(this,e,t,n,i)}}).call(this,e("_process"))},{"../compiler":21,"../util":74,_process:2}],17:[function(e,t,n){(function(t){function i(){l=[],c=[],u={},h={},p=d=!1}function r(){o(l),d=!0,o(c),"production"!==t.env.NODE_ENV&&s.inBrowser&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__.emit("flush"),i()}function o(e){for(var n=0;na._maxUpdateCount&&(e.splice(u[r],1),s.warn("You may have an infinite update loop for watcher with expression: "+i.expression)))}}var s=e("./util"),a=e("./config"),l=[],c=[],u={},h={},p=!1,d=!1;n.push=function(e){var t=e.id;if(null==u[t]){if(d&&!e.user)return void e.run();var n=e.user?c:l;u[t]=n.length,n.push(e),p||(p=!0,s.nextTick(r))}}}).call(this,e("_process"))},{"./config":23,"./util":74,_process:2}],18:[function(e,t,n){function i(e){this.size=0,this.limit=e,this.head=this.tail=void 0,this._keymap=Object.create(null)}var r=i.prototype;r.put=function(e,t){var n={key:e,value:t};return this._keymap[e]=n,this.tail?(this.tail.newer=n,n.older=this.tail):this.head=n,this.tail=n,this.size===this.limit?this.shift():void this.size++},r.shift=function(){var e=this.head;return e&&(this.head=this.head.newer,this.head.older=void 0,e.newer=e.older=void 0,this._keymap[e.key]=void 0),e},r.get=function(e,t){var n=this._keymap[e];if(void 0!==n)return n===this.tail?t?n:n.value:(n.newer&&(n===this.head&&(this.head=n.newer),n.newer.older=n.older),n.older&&(n.older.newer=n.newer),n.newer=void 0,n.older=this.tail,this.tail&&(this.tail.newer=n),this.tail=n,t?n:n.value)},t.exports=i},{}],19:[function(e,t,n){(function(n){function i(e){return function(t,i){t._props={};for(var s,c,u,h,p,d=e.length;d--;)if(s=e[d],p=s.raw,c=s.path,u=s.options,t._props[c]=s,null===p)o.initProp(t,s,r(t,u));else if(s.dynamic)t._context?s.mode===l.ONE_TIME?(h=(i||t._context).$get(s.parentPath),o.initProp(t,s,h)):t._bindDir({name:"prop",def:a,prop:s},null,null,i):"production"!==n.env.NODE_ENV&&o.warn("Cannot bind dynamic prop on a root instance with no parent: "+s.name+'="'+p+'"');else if(s.optimizedLiteral){var f=o.stripQuotes(p);h=f===p?o.toBoolean(o.toNumber(p)):f,o.initProp(t,s,h)}else h=u.type===Boolean&&""===p?!0:p,o.initProp(t,s,h)}}function r(e,t){if(!t.hasOwnProperty("default"))return t.type===Boolean?!1:void 0;var i=t["default"];return o.isObject(i)&&"production"!==n.env.NODE_ENV&&o.warn("Object/Array as default prop values will be shared across multiple instances. Use a factory function to return the default value instead."),"function"==typeof i&&t.type!==Function?i.call(e):i}var o=e("../util"),s=e("../parsers/directive"),a=e("../directives/internal/prop"),l=e("../config")._propBindingModes,c={},u=e("../parsers/path").identRE,h=/^[A-Za-z_$][\w$]*(\.[A-Za-z_$][\w$]*|\[[^\[\]]+\])*$/;t.exports=function(e,t){for(var r,a,p,d,f,m,v,g=[],y=Object.keys(t),b=y.length;b--;)a=y[b],r=t[a]||c,"production"===n.env.NODE_ENV||"$data"!==a?(f=o.camelize(a),u.test(f)?(v={name:a,path:f,options:r,mode:l.ONE_WAY,raw:null},p=o.hyphenate(a),null===(d=o.getBindAttr(e,p))&&(null!==(d=o.getBindAttr(e,p+".sync"))?v.mode=l.TWO_WAY:null!==(d=o.getBindAttr(e,p+".once"))&&(v.mode=l.ONE_TIME)),null!==d?(v.raw=d,m=s.parse(d),d=m.expression,v.filters=m.filters,o.isLiteral(d)?v.optimizedLiteral=!0:(v.dynamic=!0,"production"===n.env.NODE_ENV||v.mode!==l.TWO_WAY||h.test(d)||(v.mode=l.ONE_WAY,o.warn("Cannot bind two-way prop with non-settable parent path: "+d))),v.parentPath=d,"production"!==n.env.NODE_ENV&&r.twoWay&&v.mode!==l.TWO_WAY&&o.warn('Prop "'+a+'" expects a two-way binding type.')):null!==(d=o.attr(e,p))?v.raw=d:r.required&&"production"!==n.env.NODE_ENV&&o.warn("Missing required prop: "+a),g.push(v)):"production"!==n.env.NODE_ENV&&o.warn('Invalid prop key: "'+a+'". Prop keys must be valid identifiers.')):o.warn("Do not use $data as prop.");return i(g)}}).call(this,e("_process"))},{"../config":23,"../directives/internal/prop":31,"../parsers/directive":62,"../parsers/path":64,"../util":74,_process:2}],20:[function(e,t,n){(function(t){function i(e,t){var n=t._directives.length;e();var i=t._directives.slice(n);i.sort(r);for(var o=0,s=i.length;s>o;o++)i[o]._bind();return i}function r(e,t){return e=e.descriptor.def.priority||I,t=t.descriptor.def.priority||I,e>t?-1:e===t?0:1}function o(e,t,n,i){return function(r){s(e,t,r),n&&i&&s(n,i)}}function s(e,t,n){for(var i=t.length;i--;)t[i]._teardown(),n||e._directives.$remove(t[i])}function a(e,t){var n=e.nodeType;return 1===n&&"SCRIPT"!==e.tagName?l(e,t):3===n&&e.data.trim()?c(e,t):null}function l(e,t){if("TEXTAREA"===e.tagName){var n=O.parse(e.value);n&&(e.setAttribute(":value",O.tokensToExp(n)),e.value="")}var i,r=e.hasAttributes();return r&&(i=v(e,t)),i||(i=f(e,t)),i||(i=m(e,t)),!i&&r&&(i=b(e.attributes,t)),i}function c(e,t){var n=O.parse(e.data);if(!n)return null;for(var i,r,o=document.createDocumentFragment(),s=0,a=n.length;a>s;s++)r=n[s],i=r.tag?u(r,t):document.createTextNode(r.value),o.appendChild(i);return h(n,o,t)}function u(e,t){function n(t){if(!e.descriptor){var n=A.parse(e.value);e.descriptor={name:t,def:E[t],expression:n.expression,filters:n.filters}}}var i;return e.oneTime?i=document.createTextNode(e.value):e.html?(i=document.createComment("v-html"),n("html")):(i=document.createTextNode(" "),n("text")),i}function h(e,t){return function(n,i,r,o){for(var s,a,l,c=t.cloneNode(!0),u=x.toArray(c.childNodes),h=0,p=e.length;p>h;h++)s=e[h],a=s.value,s.tag&&(l=u[h],s.oneTime?(a=(o||n).$eval(a),s.html?x.replace(l,N.parse(a,!0)):l.data=a):n._bindDir(s.descriptor,l,r,o));x.replace(i,c)}}function p(e,t){for(var n,i,r,o=[],s=0,l=e.length;l>s;s++)r=e[s],n=a(r,t),i=n&&n.terminal||"SCRIPT"===r.tagName||!r.hasChildNodes()?null:p(r.childNodes,t),o.push(n,i);return o.length?d(o):null}function d(e){return function(t,n,i,r,o){for(var s,a,l,c=0,u=0,h=e.length;h>c;u++){s=n[u],a=e[c++],l=e[c++];var p=x.toArray(s.childNodes);a&&a(t,s,i,r,o),l&&l(t,p,i,r,o)}}}function f(e,t){var n=e.tagName.toLowerCase();if(!x.commonTagRE.test(n)){var i=T(t,"elementDirectives",n);return i?y(e,n,"",t,i):void 0}}function m(e,t){var n=x.checkComponent(e,t);if(n){var i=x.findRef(e),r={name:"component",ref:i,expression:n.id,def:C.component,modifiers:{literal:!n.dynamic}},o=function(e,t,n,o,s){i&&x.defineReactive((o||e).$refs,i,null),e._bindDir(r,t,n,o,s)};return o.terminal=!0,o}}function v(e,t){if(null!==x.attr(e,"v-pre"))return g;if(e.hasAttribute("v-else")){var n=e.previousElementSibling;if(n&&n.hasAttribute("v-if"))return g}for(var i,r,o=0,s=P.length;s>o;o++)if(r=P[o],i=e.getAttribute("v-"+r))return y(e,r,i,t)}function g(){}function y(e,t,n,i,r){var o=A.parse(n),s={name:t,expression:o.expression,filters:o.filters,raw:n,def:r||E[t]};("for"===t||"router-view"===t)&&(s.ref=x.findRef(e));var a=function(e,t,n,i,r){s.ref&&x.defineReactive((i||e).$refs,s.ref,null),e._bindDir(s,t,n,i,r)};return a.terminal=!0,a}function b(e,n){function i(e,t,n){var i=A.parse(s);m.push({name:e,attr:a,raw:l,def:t,arg:u,modifiers:h,expression:i.expression,filters:i.filters,interp:n})}for(var r,o,s,a,l,c,u,h,p,d,f=e.length,m=[];f--;)if(r=e[f],o=a=r.name,s=l=r.value,d=O.parse(s),u=null,h=w(o),o=o.replace(j,""),d)s=O.tokensToExp(d),u=o,i("bind",E.bind,!0),"production"!==t.env.NODE_ENV&&"class"===o&&Array.prototype.some.call(e,function(e){return":class"===e.name||"v-bind:class"===e.name})&&x.warn('class="'+l+'": Do not mix mustache interpolation and v-bind for "class" on the same element. Use one or the other.');else if(S.test(o))h.literal=!F.test(o),i("transition",C.transition);else if(D.test(o))u=o.replace(D,""),i("on",E.on);else if(F.test(o))c=o.replace(F,""),"style"===c||"class"===c?i(c,C[c]):(u=c,i("bind",E.bind));else if(0===o.indexOf("v-")){if(u=(u=o.match($))&&u[1],u&&(o=o.replace($,"")),c=o.slice(2),"else"===c)continue;p=T(n,"directives",c),"production"!==t.env.NODE_ENV&&x.assertAsset(p,"directive",c),p&&i(c,p)}return m.length?_(m):void 0}function w(e){var t=Object.create(null),n=e.match(j);if(n)for(var i=n.length;i--;)t[n[i].slice(1)]=!0;return t}function _(e){return function(t,n,i,r,o){for(var s=e.length;s--;)t._bindDir(e[s],n,i,r,o)}}var x=e("../util"),E=e("../directives/public"),C=e("../directives/internal"),k=e("./compile-props"),O=e("../parsers/text"),A=e("../parsers/directive"),N=e("../parsers/template"),T=x.resolveAsset,F=/^v-bind:|^:/,D=/^v-on:|^@/,$=/:(.*)$/,j=/\.[^\.]+/g,S=/^(v-bind:|:)?transition$/,P=["for","if"],I=1e3;n.compile=function(e,t,n){var r=n||!t._asComponent?a(e,t):null,s=r&&r.terminal||"SCRIPT"===e.tagName||!e.hasChildNodes()?null:p(e.childNodes,t);return function(e,t,n,a,l){var c=x.toArray(t.childNodes),u=i(function(){r&&r(e,t,n,a,l),s&&s(e,c,n,a,l)},e);return o(e,u)}},n.compileAndLinkProps=function(e,t,n,r){var s=k(t,n),a=i(function(){s(e,r)},e);return o(e,a)},n.compileRoot=function(e,n,r){var s,a,l=n._containerAttrs,c=n._replacerAttrs;if(11!==e.nodeType)n._asComponent?(l&&r&&(s=b(l,r)),c&&(a=b(c,n))):a=b(e.attributes,n);else if("production"!==t.env.NODE_ENV&&l){var u=l.filter(function(e){return e.name.indexOf("_v-")<0&&!D.test(e.name)&&"slot"!==e.name}).map(function(e){return'"'+e.name+'"'});if(u.length){var h=u.length>1;x.warn("Attribute"+(h?"s ":" ")+u.join(", ")+(h?" are":" is")+" ignored on component <"+n.el.tagName.toLowerCase()+"> because the component is a fragment instance: http://vuejs.org/guide/components.html#Fragment_Instance")}}return function(e,t,n){var r,l=e._context;l&&s&&(r=i(function(){s(l,t,null,n)},l));var c=i(function(){a&&a(e,t)},e);return o(e,c,l,r)}},g.terminal=!0}).call(this,e("_process"))},{"../directives/internal":30,"../directives/public":40,"../parsers/directive":62,"../parsers/template":65,"../parsers/text":66,"../util":74,"./compile-props":19,_process:2}],21:[function(e,t,n){var i=e("../util");i.extend(n,e("./compile")),i.extend(n,e("./transclude"))},{"../util":74,"./compile":20,"./transclude":22}],22:[function(e,t,n){(function(t){function i(e,n){var i=n.template,l=a.parse(i,!0);if(l){var c=l.firstChild,u=c.tagName&&c.tagName.toLowerCase();return n.replace?(e===document.body&&"production"!==t.env.NODE_ENV&&s.warn("You are mounting an instance with a template to . This will replace entirely. You should probably use `replace: false` here."),l.childNodes.length>1||1!==c.nodeType||"component"===u||s.resolveAsset(n,"components",u)||c.hasAttribute("is")||c.hasAttribute(":is")||c.hasAttribute("v-bind:is")||s.resolveAsset(n,"elementDirectives",u)||c.hasAttribute("v-for")||c.hasAttribute("v-if")?l:(n._replacerAttrs=r(c),o(e,c),c)):(e.appendChild(l),e)}"production"!==t.env.NODE_ENV&&s.warn("Invalid template option: "+i)}function r(e){return 1===e.nodeType&&e.hasAttributes()?s.toArray(e.attributes):void 0}function o(e,t){for(var n,i,r=e.attributes,o=r.length;o--;)n=r[o].name,i=r[o].value,t.hasAttribute(n)||l.test(n)?"class"===n&&(i=t.getAttribute(n)+" "+i,t.setAttribute(n,i)):t.setAttribute(n,i)}var s=e("../util"),a=e("../parsers/template"),l=/[^\w\-:\.]/;n.transclude=function(e,t){return t&&(t._containerAttrs=r(e)),s.isTemplate(e)&&(e=a.parse(e)),t&&(t._asComponent&&!t.template&&(t.template=""),t.template&&(t._content=s.extractContent(e),e=i(e,t))),e instanceof DocumentFragment&&(s.prepend(s.createAnchor("v-start",!0),e),e.appendChild(s.createAnchor("v-end",!0))),e}}).call(this,e("_process"))},{"../parsers/template":65,"../util":74,_process:2}],23:[function(e,t,n){t.exports={debug:!1,silent:!1,async:!0,warnExpressionErrors:!0,_delimitersChanged:!0,_assetTypes:["component","directive","elementDirective","filter","transition","partial"],_propBindingModes:{ONE_WAY:0,TWO_WAY:1,ONE_TIME:2},_maxUpdateCount:100};var i=["{{","}}"],r=["{{{","}}}"],o=e("./parsers/text");Object.defineProperty(t.exports,"delimiters",{get:function(){return i},set:function(e){i=e,o.compileRegex()}}),Object.defineProperty(t.exports,"unsafeDelimiters",{get:function(){return r},set:function(e){r=e,o.compileRegex()}})},{"./parsers/text":66 }],24:[function(e,t,n){(function(n){function i(){}function r(e,t,i,r,o,s){this.vm=t,this.el=i,this.descriptor=e,this.name=e.name,this.expression=e.expression,this.arg=e.arg,this.modifiers=e.modifiers,this.filters=e.filters,this.literal=this.modifiers&&this.modifiers.literal,this._locked=!1,this._bound=!1,this._listeners=null,this._host=r,this._scope=o,this._frag=s,"production"!==n.env.NODE_ENV&&this.el&&(this.el._vue_directives=this.el._vue_directives||[],this.el._vue_directives.push(this))}var o=e("./util"),s=e("./watcher"),a=e("./parsers/expression");r.prototype._bind=function(){var e=this.name,t=this.descriptor;if(("cloak"!==e||this.vm._isCompiled)&&this.el&&this.el.removeAttribute){var n=t.attr||"v-"+e;this.el.removeAttribute(n)}var r=t.def;if("function"==typeof r?this.update=r:o.extend(this,r),this._setupParams(),this.bind&&this.bind(),this.literal)this.update&&this.update(t.raw);else if((this.expression||this.modifiers)&&(this.update||this.twoWay)&&!this._checkStatement()){var a=this;this.update?this._update=function(e,t){a._locked||a.update(e,t)}:this._update=i;var l=this._preProcess?o.bind(this._preProcess,this):null,c=this._postProcess?o.bind(this._postProcess,this):null,u=this._watcher=new s(this.vm,this.expression,this._update,{filters:this.filters,twoWay:this.twoWay,deep:this.deep,preProcess:l,postProcess:c,scope:this._scope});this.afterBind?this.afterBind():this.update&&this.update(u.value)}this._bound=!0},r.prototype._setupParams=function(){if(this.params){var e=this.params;this.params=Object.create(null);for(var t,n,i,r=e.length;r--;)t=e[r],i=o.camelize(t),n=o.getBindAttr(this.el,t),null!=n?this._setupParamWatcher(i,n):(n=o.attr(this.el,t),null!=n&&(this.params[i]=""===n?!0:n))}},r.prototype._setupParamWatcher=function(e,t){var n=this,i=!1,r=(this._scope||this.vm).$watch(t,function(t,r){if(n.params[e]=t,i){var o=n.paramWatchers&&n.paramWatchers[e];o&&o.call(n,t,r)}else i=!0},{immediate:!0});(this._paramUnwatchFns||(this._paramUnwatchFns=[])).push(r)},r.prototype._checkStatement=function(){var e=this.expression;if(e&&this.acceptStatement&&!a.isSimplePath(e)){var t=a.parse(e).get,n=this._scope||this.vm,i=function(){t.call(n,n)};return this.filters&&(i=n._applyFilters(i,null,this.filters)),this.update(i),!0}},r.prototype.set=function(e){this.twoWay?this._withLock(function(){this._watcher.set(e)}):"production"!==n.env.NODE_ENV&&o.warn("Directive.set() can only be used inside twoWaydirectives.")},r.prototype._withLock=function(e){var t=this;t._locked=!0,e.call(t),o.nextTick(function(){t._locked=!1})},r.prototype.on=function(e,t){o.on(this.el,e,t),(this._listeners||(this._listeners=[])).push([e,t])},r.prototype._teardown=function(){if(this._bound){this._bound=!1,this.unbind&&this.unbind(),this._watcher&&this._watcher.teardown();var e,t=this._listeners;if(t)for(e=t.length;e--;)o.off(this.el,t[e][0],t[e][1]);var i=this._paramUnwatchFns;if(i)for(e=i.length;e--;)i[e]();"production"!==n.env.NODE_ENV&&this.el&&this.el._vue_directives.$remove(this),this.vm=this.el=this._watcher=this._listeners=null}},t.exports=r}).call(this,e("_process"))},{"./parsers/expression":63,"./util":74,"./watcher":78,_process:2}],25:[function(e,t,n){n.slot=e("./slot"),n.partial=e("./partial")},{"./partial":26,"./slot":27}],26:[function(e,t,n){(function(n){var i=e("../../util"),r=e("../public/if"),o=e("../../fragment/factory");t.exports={priority:1750,params:["name"],paramWatchers:{name:function(e){r.remove.call(this),e&&this.insert(e)}},bind:function(){this.anchor=i.createAnchor("v-partial"),i.replace(this.el,this.anchor),this.insert(this.params.name)},insert:function(e){var t=i.resolveAsset(this.vm.$options,"partials",e);"production"!==n.env.NODE_ENV&&i.assertAsset(t,"partial",e),t&&(this.factory=new o(this.vm,t),r.insert.call(this))},unbind:function(){this.frag&&this.frag.destroy()}}}).call(this,e("_process"))},{"../../fragment/factory":52,"../../util":74,"../public/if":39,_process:2}],27:[function(e,t,n){function i(e,t,n){function i(e){!r.isTemplate(e)||e.hasAttribute("v-if")||e.hasAttribute("v-for")||(e=o.parse(e)),e=o.clone(e),s.appendChild(e)}for(var s=document.createDocumentFragment(),a=0,l=e.length;l>a;a++){var c=e[a];n&&!c.__v_selected?i(c):n||c.parentNode!==t||(c.__v_selected=!0,i(c))}return s}var r=e("../../util"),o=e("../../parsers/template");t.exports={priority:1750,params:["name"],bind:function(){var e,t=this.vm,n=t.$options._content;if(!n)return void this.fallback();var r=t._context,o=this.params.name;if(o){var s='[slot="'+o+'"]',a=n.querySelectorAll(s);a.length?(e=i(a,n),e.hasChildNodes()?this.compile(e,r,t):this.fallback()):this.fallback()}else{var l=this,c=function(){l.compile(i(n.childNodes,n,!0),r,t)};t._isCompiled?c():t.$once("hook:compiled",c)}},fallback:function(){this.compile(r.extractContent(this.el,!0),this.vm)},compile:function(e,t,n){if(e&&t){var i=n?n._scope:this._scope;this.unlink=t.$compile(e,n,i,this._frag)}e?r.replace(this.el,e):r.remove(this.el)},unbind:function(){this.unlink&&this.unlink()}}},{"../../parsers/template":65,"../../util":74}],28:[function(e,t,n){function i(e){for(var t={},n=e.trim().split(/\s+/),i=n.length;i--;)t[n[i]]=!0;return t}function r(e,t){return o.isArray(e)?e.indexOf(t)>-1:e.hasOwnProperty(t)}var o=e("../../util"),s=o.addClass,a=o.removeClass;t.exports={deep:!0,update:function(e){e&&"string"==typeof e?this.handleObject(i(e)):o.isPlainObject(e)?this.handleObject(e):o.isArray(e)?this.handleArray(e):this.cleanup()},handleObject:function(e){this.cleanup(e);for(var t=this.prevKeys=Object.keys(e),n=0,i=t.length;i>n;n++){var r=t[n];e[r]?s(this.el,r):a(this.el,r)}},handleArray:function(e){this.cleanup(e);for(var t=0,n=e.length;n>t;t++)e[t]&&s(this.el,e[t]);this.prevKeys=e.slice()},cleanup:function(e){if(this.prevKeys)for(var t=this.prevKeys.length;t--;){var n=this.prevKeys[t];!n||e&&r(e,n)||a(this.el,n)}}}},{"../../util":74}],29:[function(e,t,n){(function(n){var i=e("../../util"),r=e("../../parsers/template");t.exports={priority:1500,params:["keep-alive","transition-mode","inline-template"],bind:function(){this.el.__vue__?"production"!==n.env.NODE_ENV&&i.warn('cannot mount component "'+this.expression+'" on already mounted element: '+this.el):(this.keepAlive=this.params.keepAlive,this.keepAlive&&(this.cache={}),this.params.inlineTemplate&&(this.inlineTemplate=i.extractContent(this.el,!0)),this.pendingComponentCb=this.Component=null,this.pendingRemovals=0,this.pendingRemovalCb=null,this.anchor=i.createAnchor("v-component"),i.replace(this.el,this.anchor),this.el.removeAttribute("is"),this.literal&&this.setComponent(this.expression))},update:function(e){this.literal||this.setComponent(e)},setComponent:function(e,t){if(this.invalidatePending(),e){var n=this;this.resolveComponent(e,function(){n.mountComponent(t)})}else this.unbuild(!0),this.remove(this.childVM,t),this.childVM=null},resolveComponent:function(e,t){var n=this;this.pendingComponentCb=i.cancellable(function(i){n.ComponentName=i.options.name||e,n.Component=i,t()}),this.vm._resolveComponent(e,this.pendingComponentCb)},mountComponent:function(e){this.unbuild(!0);var t=this,n=this.Component.options.activate,i=this.getCached(),r=this.build();n&&!i?(this.waitingFor=r,n.call(r,function(){t.waitingFor=null,t.transition(r,e)})):(i&&r._updateRef(),this.transition(r,e))},invalidatePending:function(){this.pendingComponentCb&&(this.pendingComponentCb.cancel(),this.pendingComponentCb=null)},build:function(e){var t=this.getCached();if(t)return t;if(this.Component){var o={name:this.ComponentName,el:r.clone(this.el),template:this.inlineTemplate,parent:this._host||this.vm,_linkerCachable:!this.inlineTemplate,_ref:this.descriptor.ref,_asComponent:!0,_isRouterView:this._isRouterView,_context:this.vm,_scope:this._scope,_frag:this._frag};e&&i.extend(o,e);var s=new this.Component(o);return this.keepAlive&&(this.cache[this.Component.cid]=s),"production"!==n.env.NODE_ENV&&this.el.hasAttribute("transition")&&s._isFragment&&i.warn("Transitions will not work on a fragment instance. Template: "+s.$options.template),s}},getCached:function(){return this.keepAlive&&this.cache[this.Component.cid]},unbuild:function(e){this.waitingFor&&(this.waitingFor.$destroy(),this.waitingFor=null);var t=this.childVM;return!t||this.keepAlive?void(t&&t._updateRef(!0)):void t.$destroy(!1,e)},remove:function(e,t){var n=this.keepAlive;if(e){this.pendingRemovals++,this.pendingRemovalCb=t;var i=this;e.$remove(function(){i.pendingRemovals--,n||e._cleanup(),!i.pendingRemovals&&i.pendingRemovalCb&&(i.pendingRemovalCb(),i.pendingRemovalCb=null)})}else t&&t()},transition:function(e,t){var i=this,r=this.childVM;switch("production"!==n.env.NODE_ENV&&(r&&(r._inactive=!0),e._inactive=!1),this.childVM=e,i.params.transitionMode){case"in-out":e.$before(i.anchor,function(){i.remove(r,t)});break;case"out-in":i.remove(r,function(){e.$before(i.anchor,t)});break;default:i.remove(r),e.$before(i.anchor,t)}},unbind:function(){if(this.invalidatePending(),this.unbuild(),this.cache){for(var e in this.cache)this.cache[e].$destroy();this.cache=null}}}}).call(this,e("_process"))},{"../../parsers/template":65,"../../util":74,_process:2}],30:[function(e,t,n){n.style=e("./style"),n["class"]=e("./class"),n.component=e("./component"),n.prop=e("./prop"),n.transition=e("./transition")},{"./class":28,"./component":29,"./prop":31,"./style":32,"./transition":33}],31:[function(e,t,n){var i=e("../../util"),r=e("../../watcher"),o=e("../../config")._propBindingModes;t.exports={bind:function(){var e=this.vm,t=e._context,n=this.descriptor.prop,s=n.path,a=n.parentPath,l=n.mode===o.TWO_WAY,c=this.parentWatcher=new r(t,a,function(t){i.assertProp(n,t)&&(e[s]=t)},{twoWay:l,filters:n.filters,scope:this._scope});if(i.initProp(e,n,c.value),l){var u=this;e.$once("hook:created",function(){u.childWatcher=new r(e,s,function(e){c.set(e)},{sync:!0})})}},unbind:function(){this.parentWatcher.teardown(),this.childWatcher&&this.childWatcher.teardown()}}},{"../../config":23,"../../util":74,"../../watcher":78}],32:[function(e,t,n){function i(e){if(u[e])return u[e];var t=r(e);return u[e]=u[t]=t,t}function r(e){e=o.hyphenate(e);var t=o.camelize(e),n=t.charAt(0).toUpperCase()+t.slice(1);if(c||(c=document.createElement("div")),t in c.style)return e;for(var i,r=s.length;r--;)if(i=a[r]+n,i in c.style)return s[r]+e}var o=e("../../util"),s=["-webkit-","-moz-","-ms-"],a=["Webkit","Moz","ms"],l=/!important;?$/,c=null,u={};t.exports={deep:!0,update:function(e){"string"==typeof e?this.el.style.cssText=e:o.isArray(e)?this.handleObject(e.reduce(o.extend,{})):this.handleObject(e||{})},handleObject:function(e){var t,n,i=this.cache||(this.cache={});for(t in i)t in e||(this.handleSingle(t,null),delete i[t]);for(t in e)n=e[t],n!==i[t]&&(i[t]=n,this.handleSingle(t,n))},handleSingle:function(e,t){if(e=i(e))if(null!=t&&(t+=""),t){var n=l.test(t)?"important":"";n&&(t=t.replace(l,"").trim()),this.el.style.setProperty(e,t,n)}else this.el.style.removeProperty(e)}}},{"../../util":74}],33:[function(e,t,n){var i=e("../../util"),r=e("../../transition/transition");t.exports={priority:1100,update:function(e,t){var n=this.el,o=i.resolveAsset(this.vm.$options,"transitions",e);e=e||"v",n.__v_trans=new r(n,e,o,this.el.__vue__||this.vm),t&&i.removeClass(n,t+"-transition"),i.addClass(n,e+"-transition")}}},{"../../transition/transition":69,"../../util":74}],34:[function(e,t,n){(function(n){var i=e("../../util"),r="http://www.w3.org/1999/xlink",o=/^xlink:/,s={value:1,checked:1,selected:1},a={value:"_value","true-value":"_trueValue","false-value":"_falseValue"},l=/^v-|^:|^@|^(is|transition|transition-mode|debounce|track-by|stagger|enter-stagger|leave-stagger)$/;t.exports={priority:850,bind:function(){var e=this.arg,t=this.el.tagName;if(e||(this.deep=!0),this.descriptor.interp&&((l.test(e)||"name"===e&&("PARTIAL"===t||"SLOT"===t))&&("production"!==n.env.NODE_ENV&&i.warn(e+'="'+this.descriptor.raw+'": attribute interpolation is not allowed in Vue.js directives and special attributes.'),this.el.removeAttribute(e),this.invalid=!0),"production"!==n.env.NODE_ENV)){var r=e+'="'+this.descriptor.raw+'": ';"src"===e&&i.warn(r+'interpolation in "src" attribute will cause a 404 request. Use v-bind:src instead.'),"style"===e&&i.warn(r+'interpolation in "style" attribute will cause the attribute to be discarded in Internet Explorer. Use v-bind:style instead.')}},update:function(e){if(!this.invalid){var t=this.arg;this.arg?this.handleSingle(t,e):this.handleObject(e||{})}},handleObject:e("../internal/style").handleObject,handleSingle:function(e,t){s[e]&&e in this.el&&(this.el[e]="value"===e?t||"":t);var n=a[e];if(n){this.el[n]=t;var i=this.el.__v_model;i&&i.listener()}return"value"===e&&"TEXTAREA"===this.el.tagName?void this.el.removeAttribute(e):void(null!=t&&t!==!1?o.test(e)?this.el.setAttributeNS(r,e,t):this.el.setAttribute(e,t):this.el.removeAttribute(e))}}}).call(this,e("_process"))},{"../../util":74,"../internal/style":32,_process:2}],35:[function(e,t,n){t.exports={bind:function(){var e=this.el;this.vm.$once("hook:compiled",function(){e.removeAttribute("v-cloak")})}}},{}],36:[function(e,t,n){var i=e("../../util");t.exports={priority:1500,bind:function(){if(this.arg){var e=this.id=i.camelize(this.arg),t=(this._scope||this.vm).$els;t.hasOwnProperty(e)?t[e]=this.el:i.defineReactive(t,e,this.el)}},unbind:function(){var e=(this._scope||this.vm).$els;e[this.id]===this.el&&(e[this.id]=null)}}},{"../../util":74}],37:[function(e,t,n){(function(n){function i(e,t,n){var i=e.node.previousSibling;if(i){for(e=i.__vfrag__;!(e&&e.forId===n&&e.inserted||i===t);){if(i=i.previousSibling,!i)return;e=i.__vfrag__}return e}}function r(e){return e.node.__vue__||e.node.nextSibling.__vue__}function o(e){for(var t=-1,n=new Array(e);++tt;t++)u=e[t],o=h?u.$key:null,a=h?u.$value:u,c=!l(a),r=!w&&this.getCachedFrag(a,t,o),r?(r.reused=!0,r.scope.$index=t,o&&(r.scope.$key=o),v&&(r.scope[v]=null!==o?o:t),(p||h||c)&&(r.scope[m]=a)):(r=this.create(a,m,t,o),r.fresh=!w),f[t]=r,w&&r.before(y);if(!w){var _=0,x=d.length-f.length;for(t=0,n=d.length;n>t;t++)r=d[t],r.reused||(this.deleteCachedFrag(r),this.remove(r,_++,x,b));var E,C,k,O=0;for(t=0,n=f.length;n>t;t++)r=f[t],E=f[t-1],C=E?E.staggerCb?E.staggerAnchor:E.end||E.node:g,r.reused&&!r.staggerCb?(k=i(r,g,this.id),k!==E&&this.move(r,C)):this.insert(r,O++,C,b),r.reused=r.fresh=!1}},create:function(e,t,n,i){var r=this._host,o=this._scope||this.vm,a=Object.create(o);a.$refs=Object.create(o.$refs),a.$els=Object.create(o.$els),a.$parent=o,a.$forContext=this,s.defineReactive(a,t,e),s.defineReactive(a,"$index",n),i?s.defineReactive(a,"$key",i):a.$key&&s.define(a,"$key",null),this.iterator&&s.defineReactive(a,this.iterator,null!==i?i:n);var l=this.factory.create(r,a,this._frag);return l.forId=this.id,this.cacheFrag(e,l,n,i),l},updateRef:function(){var e=this.descriptor.ref;if(e){var t,n=(this._scope||this.vm).$refs;this.fromObject?(t={},this.frags.forEach(function(e){t[e.scope.$key]=r(e)})):t=this.frags.map(r),n[e]=t}},updateModel:function(){if(this.isOption){var e=this.start.parentNode,t=e&&e.__v_model;t&&t.forceUpdate()}},insert:function(e,t,n,i){e.staggerCb&&(e.staggerCb.cancel(),e.staggerCb=null);var r=this.getStagger(e,t,null,"enter");if(i&&r){var o=e.staggerAnchor;o||(o=e.staggerAnchor=s.createAnchor("stagger-anchor"),o.__vfrag__=e),s.after(o,n);var a=e.staggerCb=s.cancellable(function(){e.staggerCb=null,e.before(o),s.remove(o)});setTimeout(a,r)}else e.before(n.nextSibling)},remove:function(e,t,n,i){if(e.staggerCb)return e.staggerCb.cancel(),void(e.staggerCb=null);var r=this.getStagger(e,t,n,"leave");if(i&&r){var o=e.staggerCb=s.cancellable(function(){e.staggerCb=null,e.remove()});setTimeout(o,r)}else e.remove()},move:function(e,t){e.before(t.nextSibling,!1)},cacheFrag:function(e,t,i,r){var o,a=this.params.trackBy,c=this.cache,u=!l(e);r||a||u?(o=a?"$index"===a?i:e[a]:r||e,c[o]?"$index"!==a&&"production"!==n.env.NODE_ENV&&this.warnDuplicate(e):c[o]=t):(o=this.id,e.hasOwnProperty(o)?null===e[o]?e[o]=t:"production"!==n.env.NODE_ENV&&this.warnDuplicate(e):s.define(e,o,t)),t.raw=e},getCachedFrag:function(e,t,i){var r,o=this.params.trackBy,s=!l(e);if(i||o||s){var a=o?"$index"===o?t:e[o]:i||e;r=this.cache[a]}else r=e[this.id];return r&&(r.reused||r.fresh)&&"production"!==n.env.NODE_ENV&&this.warnDuplicate(e),r},deleteCachedFrag:function(e){var t=e.raw,n=this.params.trackBy,i=e.scope,r=i.$index,o=i.hasOwnProperty("$key")&&i.$key,s=!l(t);if(n||o||s){var a=n?"$index"===n?r:t[n]:o||t;this.cache[a]=null}else t[this.id]=null,e.raw=null},getStagger:function(e,t,n,i){i+="Stagger";var r=e.node.__v_trans,o=r&&r.hooks,s=o&&(o[i]||o.stagger);return s?s.call(e,t,n):t*parseInt(this.params[i]||this.params.stagger,10)},_preProcess:function(e){return this.rawValue=e,e},_postProcess:function(e){if(s.isArray(e))return e;if(s.isPlainObject(e)){for(var t,n=Object.keys(e),i=n.length,r=new Array(i);i--;)t=n[i],r[i]={$key:t,$value:e[t]};return r}return"number"==typeof e&&(e=o(e)),e||[]},unbind:function(){if(this.descriptor.ref&&((this._scope||this.vm).$refs[this.descriptor.ref]=null),this.frags)for(var e,t=this.frags.length;t--;)e=this.frags[t],this.deleteCachedFrag(e),e.destroy()}},"production"!==n.env.NODE_ENV&&(t.exports.warnDuplicate=function(e){s.warn('Duplicate value found in v-for="'+this.descriptor.raw+'": '+JSON.stringify(e)+'. Use track-by="$index" if you are expecting duplicate values.')})}).call(this,e("_process"))},{"../../fragment/factory":52,"../../util":74,_process:2}],38:[function(e,t,n){var i=e("../../util"),r=e("../../parsers/template");t.exports={bind:function(){8===this.el.nodeType&&(this.nodes=[],this.anchor=i.createAnchor("v-html"),i.replace(this.el,this.anchor))},update:function(e){e=i.toString(e),this.nodes?this.swap(e):this.el.innerHTML=e},swap:function(e){for(var t=this.nodes.length;t--;)i.remove(this.nodes[t]);var n=r.parse(e,!0,!0);this.nodes=i.toArray(n.childNodes),i.before(n,this.anchor)}}},{"../../parsers/template":65,"../../util":74}],39:[function(e,t,n){(function(n){var i=e("../../util"),r=e("../../fragment/factory");t.exports={priority:2e3,bind:function(){var e=this.el;if(e.__vue__)"production"!==n.env.NODE_ENV&&i.warn('v-if="'+this.expression+'" cannot be used on an instance root element.'),this.invalid=!0;else{var t=e.nextElementSibling;t&&null!==i.attr(t,"v-else")&&(i.remove(t),this.elseFactory=new r(this.vm,t)),this.anchor=i.createAnchor("v-if"),i.replace(e,this.anchor),this.factory=new r(this.vm,e)}},update:function(e){this.invalid||(e?this.frag||this.insert():this.remove())},insert:function(){this.elseFrag&&(this.elseFrag.remove(),this.elseFrag=null),this.frag=this.factory.create(this._host,this._scope,this._frag),this.frag.before(this.anchor)},remove:function(){this.frag&&(this.frag.remove(),this.frag=null),this.elseFactory&&!this.elseFrag&&(this.elseFrag=this.elseFactory.create(this._host,this._scope,this._frag),this.elseFrag.before(this.anchor))},unbind:function(){this.frag&&this.frag.destroy()}}}).call(this,e("_process"))},{"../../fragment/factory":52,"../../util":74,_process:2}],40:[function(e,t,n){n.text=e("./text"),n.html=e("./html"),n["for"]=e("./for"),n["if"]=e("./if"),n.show=e("./show"),n.model=e("./model"),n.on=e("./on"),n.bind=e("./bind"),n.el=e("./el"),n.ref=e("./ref"),n.cloak=e("./cloak")},{"./bind":34,"./cloak":35,"./el":36,"./for":37,"./html":38,"./if":39,"./model":42,"./on":46,"./ref":47,"./show":48,"./text":49}],41:[function(e,t,n){var i=e("../../../util");t.exports={bind:function(){function e(){var e=n.checked;return e&&n.hasOwnProperty("_trueValue")?n._trueValue:!e&&n.hasOwnProperty("_falseValue")?n._falseValue:e}var t=this,n=this.el;this.getValue=function(){return n.hasOwnProperty("_value")?n._value:t.params.number?i.toNumber(n.value):n.value},this.listener=function(){var r=t._watcher.value;if(i.isArray(r)){var o=t.getValue();n.checked?i.indexOf(r,o)<0&&r.push(o):r.$remove(o)}else t.set(e())},this.on("change",this.listener),n.checked&&(this.afterBind=this.listener)},update:function(e){var t=this.el;i.isArray(e)?t.checked=i.indexOf(e,this.getValue())>-1:t.hasOwnProperty("_trueValue")?t.checked=i.looseEqual(e,t._trueValue):t.checked=!!e}}},{"../../../util":74}],42:[function(e,t,n){(function(n){var i=e("../../../util"),r={text:e("./text"),radio:e("./radio"),select:e("./select"),checkbox:e("./checkbox")};t.exports={priority:800,twoWay:!0,handlers:r,params:["lazy","number","debounce"],bind:function(){this.checkFilters(),this.hasRead&&!this.hasWrite&&"production"!==n.env.NODE_ENV&&i.warn("It seems you are using a read-only filter with v-model. You might want to use a two-way filter to ensure correct behavior.");var e,t=this.el,o=t.tagName;if("INPUT"===o)e=r[t.type]||r.text;else if("SELECT"===o)e=r.select;else{if("TEXTAREA"!==o)return void("production"!==n.env.NODE_ENV&&i.warn("v-model does not support element type: "+o));e=r.text}t.__v_model=this,e.bind.call(this),this.update=e.update,this._unbind=e.unbind},checkFilters:function(){var e=this.filters;if(e)for(var t=e.length;t--;){var n=i.resolveAsset(this.vm.$options,"filters",e[t].name);("function"==typeof n||n.read)&&(this.hasRead=!0),n.write&&(this.hasWrite=!0)}},unbind:function(){this.el.__v_model=null,this._unbind&&this._unbind()}}}).call(this,e("_process"))},{"../../../util":74,"./checkbox":41,"./radio":43,"./select":44,"./text":45,_process:2}],43:[function(e,t,n){var i=e("../../../util");t.exports={bind:function(){var e=this,t=this.el;this.getValue=function(){if(t.hasOwnProperty("_value"))return t._value;var n=t.value;return e.params.number&&(n=i.toNumber(n)),n},this.listener=function(){e.set(e.getValue())},this.on("change",this.listener),t.checked&&(this.afterBind=this.listener)},update:function(e){this.el.checked=i.looseEqual(e,this.getValue())}}},{"../../../util":74}],44:[function(e,t,n){function i(e,t,n){for(var i,r,o,s=t?[]:null,a=0,l=e.options.length;l>a;a++)if(i=e.options[a],o=n?i.hasAttribute("selected"):i.selected){if(r=i.hasOwnProperty("_value")?i._value:i.value,!t)return r;s.push(r)}return s}function r(e,t){for(var n=e.length;n--;)if(o.looseEqual(e[n],t))return n;return-1}var o=e("../../../util");t.exports={bind:function(){var e=this,t=this.el;this.forceUpdate=function(){e._watcher&&e.update(e._watcher.get())};var n=this.multiple=t.hasAttribute("multiple");this.listener=function(){var r=i(t,n);r=e.params.number?o.isArray(r)?r.map(o.toNumber):o.toNumber(r):r,e.set(r)},this.on("change",this.listener);var r=i(t,n,!0);(n&&r.length||!n&&null!==r)&&(this.afterBind=this.listener),this.vm.$on("hook:attached",this.forceUpdate)},update:function(e){var t=this.el;t.selectedIndex=-1;for(var n,i,s=this.multiple&&o.isArray(e),a=t.options,l=a.length;l--;)n=a[l],i=n.hasOwnProperty("_value")?n._value:n.value,n.selected=s?r(e,i)>-1:o.looseEqual(e,i)},unbind:function(){this.vm.$off("hook:attached",this.forceUpdate)}}},{"../../../util":74}],45:[function(e,t,n){var i=e("../../../util");t.exports={bind:function(){var e=this,t=this.el,n="range"===t.type,r=this.params.lazy,o=this.params.number,s=this.params.debounce,a=!1;i.isAndroid||n||(this.on("compositionstart",function(){a=!0}),this.on("compositionend",function(){a=!1,r||e.listener()})),this.focused=!1,n||(this.on("focus",function(){e.focused=!0}),this.on("blur",function(){e.focused=!1,e.listener()})),this.listener=function(){if(!a){var r=o||n?i.toNumber(t.value):t.value;e.set(r),i.nextTick(function(){e._bound&&!e.focused&&e.update(e._watcher.value)})}},s&&(this.listener=i.debounce(this.listener,s)),this.hasjQuery="function"==typeof jQuery,this.hasjQuery?(jQuery(t).on("change",this.listener),r||jQuery(t).on("input",this.listener)):(this.on("change",this.listener),r||this.on("input",this.listener)),!r&&i.isIE9&&(this.on("cut",function(){i.nextTick(e.listener)}),this.on("keyup",function(t){(46===t.keyCode||8===t.keyCode)&&e.listener()})),(t.hasAttribute("value")||"TEXTAREA"===t.tagName&&t.value.trim())&&(this.afterBind=this.listener)},update:function(e){this.el.value=i.toString(e)},unbind:function(){var e=this.el;this.hasjQuery&&(jQuery(e).off("change",this.listener),jQuery(e).off("input",this.listener))}}},{"../../../util":74}],46:[function(e,t,n){(function(n){function i(e,t){var n=t.map(function(e){var t=a[e];return t||(t=parseInt(e,10)),t});return function(t){return n.indexOf(t.keyCode)>-1?e.call(this,t):void 0}}function r(e){return function(t){return t.stopPropagation(),e.call(this,t)}}function o(e){return function(t){return t.preventDefault(),e.call(this,t)}}var s=e("../../util"),a={esc:27,tab:9,enter:13,space:32,"delete":46,up:38,left:37,right:39,down:40};t.exports={acceptStatement:!0,priority:700,bind:function(){if("IFRAME"===this.el.tagName&&"load"!==this.arg){var e=this;this.iframeBind=function(){s.on(e.el.contentWindow,e.arg,e.handler)},this.on("load",this.iframeBind)}},update:function(e){if(this.descriptor.raw||(e=function(){}),"function"!=typeof e)return void("production"!==n.env.NODE_ENV&&s.warn("v-on:"+this.arg+'="'+this.expression+'" expects a function value, got '+e));this.modifiers.stop&&(e=r(e)),this.modifiers.prevent&&(e=o(e));var t=Object.keys(this.modifiers).filter(function(e){return"stop"!==e&&"prevent"!==e});t.length&&(e=i(e,t)),this.reset();var a=this._scope||this.vm;this.handler=function(t){a.$event=t;var n=e(t);return a.$event=null,n},this.iframeBind?this.iframeBind():s.on(this.el,this.arg,this.handler)},reset:function(){var e=this.iframeBind?this.el.contentWindow:this.el;this.handler&&s.off(e,this.arg,this.handler)},unbind:function(){this.reset()}}}).call(this,e("_process"))},{"../../util":74,_process:2}],47:[function(e,t,n){(function(n){"production"!==n.env.NODE_ENV&&(t.exports={bind:function(){e("../../util").warn("v-ref:"+this.arg+" must be used on a child component. Found on <"+this.el.tagName.toLowerCase()+">.")}})}).call(this,e("_process"))},{"../../util":74,_process:2}],48:[function(e,t,n){var i=e("../../util"),r=e("../../transition");t.exports={bind:function(){var e=this.el.nextElementSibling;e&&null!==i.attr(e,"v-else")&&(this.elseEl=e)},update:function(e){this.apply(this.el,e),this.elseEl&&this.apply(this.elseEl,!e)},apply:function(e,t){function n(){e.style.display=t?"":"none"}i.inDoc(e)?r.apply(e,t?1:-1,n,this.vm):n()}}},{"../../transition":67,"../../util":74}],49:[function(e,t,n){var i=e("../../util");t.exports={bind:function(){this.attr=3===this.el.nodeType?"data":"textContent"},update:function(e){this.el[this.attr]=i.toString(e)}}},{"../../util":74}],50:[function(e,t,n){function i(e,t){var n;if(r.isPlainObject(e)){var o=Object.keys(e);for(n=o.length;n--;)if(i(e[o[n]],t))return!0}else if(r.isArray(e)){for(n=e.length;n--;)if(i(e[n],t))return!0}else if(null!=e)return e.toString().toLowerCase().indexOf(t)>-1}var r=e("../util"),o=e("../parsers/path"),s=e("../directives/public/for")._postProcess;n.limitBy=function(e,t,n){return n=n?parseInt(n,10):0,"number"==typeof t?e.slice(n,n+t):e},n.filterBy=function(e,t,n){if(e=s(e),null==t)return e;if("function"==typeof t)return e.filter(t);t=(""+t).toLowerCase();for(var a,l,c,u,h="in"===n?3:2,p=r.toArray(arguments,h).reduce(function(e,t){return e.concat(t)},[]),d=[],f=0,m=e.length;m>f;f++)if(a=e[f],c=a&&a.$value||a,u=p.length){for(;u--;)if(l=p[u],"$key"===l&&i(a.$key,t)||i(o.get(c,l),t)){d.push(a);break}}else i(a,t)&&d.push(a);return d},n.orderBy=function(e,t,n){if(e=s(e),!t)return e;var i=n&&0>n?-1:1;return e.slice().sort(function(e,n){return"$key"!==t&&(r.isObject(e)&&"$value"in e&&(e=e.$value),r.isObject(n)&&"$value"in n&&(n=n.$value)),e=r.isObject(e)?o.get(e,t):e,n=r.isObject(n)?o.get(n,t):n,e===n?0:e>n?i:-i})}},{"../directives/public/for":37,"../parsers/path":64,"../util":74}],51:[function(e,t,n){var i=e("../util");n.json={read:function(e,t){return"string"==typeof e?e:JSON.stringify(e,null,Number(t)||2)},write:function(e){try{return JSON.parse(e)}catch(t){return e}}},n.capitalize=function(e){return e||0===e?(e=e.toString(),e.charAt(0).toUpperCase()+e.slice(1)):""},n.uppercase=function(e){return e||0===e?e.toString().toUpperCase():""},n.lowercase=function(e){return e||0===e?e.toString().toLowerCase():""};var r=/(\d{3})(?=\d)/g;n.currency=function(e,t){if(e=parseFloat(e),!isFinite(e)||!e&&0!==e)return"";t=null!=t?t:"$";var n=Math.abs(e).toFixed(2),i=n.slice(0,-3),o=i.length%3,s=o>0?i.slice(0,o)+(i.length>3?",":""):"",a=n.slice(-3),l=0>e?"-":"";return t+l+s+i.slice(o).replace(r,"$1,")+a},n.pluralize=function(e){var t=i.toArray(arguments,1);return t.length>1?t[e%10-1]||t[t.length-1]:t[0]+(1===e?"":"s")},n.debounce=function(e,t){return e?(t||(t=300),i.debounce(e,t)):void 0},i.extend(n,e("./array-filters"))},{"../util":74,"./array-filters":50}],52:[function(e,t,n){function i(e,t){this.vm=e;var n,i="string"==typeof t;i||r.isTemplate(t)?n=s.parse(t,!0):(n=document.createDocumentFragment(),n.appendChild(t)),this.template=n;var a,l=e.constructor.cid;if(l>0){var u=l+(i?t:t.outerHTML);a=c.get(u),a||(a=o.compile(n,e.$options,!0),c.put(u,a))}else a=o.compile(n,e.$options,!0);this.linker=a}var r=e("../util"),o=e("../compiler"),s=e("../parsers/template"),a=e("./fragment"),l=e("../cache"),c=new l(5e3);i.prototype.create=function(e,t,n){var i=s.clone(this.template);return new a(this.linker,this.vm,i,e,t,n)},t.exports=i},{"../cache":18,"../compiler":21,"../parsers/template":65,"../util":74,"./fragment":53}],53:[function(e,t,n){function i(e,t,n,i,l,c){this.children=[],this.childFrags=[],this.vm=t,this.scope=l,this.inserted=!1,this.parentFrag=c,c&&c.childFrags.push(this),this.unlink=e(t,n,i,l,this);var u=this.single=1===n.childNodes.length;u?(this.node=n.childNodes[0],this.before=r,this.remove=o):(this.node=h.createAnchor("fragment-start"),this.end=h.createAnchor("fragment-end"),this.frag=n,h.prepend(this.node,n),n.appendChild(this.end),this.before=s,this.remove=a),this.node.__vfrag__=this}function r(e,t){this.inserted=!0;var n=t!==!1?p.before:h.before;n(this.node,e,this.vm),h.inDoc(this.node)&&this.callHook(l)}function o(){this.inserted=!1;var e=h.inDoc(this.node),t=this;t.callHook(c),p.remove(this.node,this.vm,function(){e&&t.callHook(u),t.destroy()})}function s(e,t){this.inserted=!0;var n=this.vm,i=t!==!1?p.before:h.before;h.mapNodeRange(this.node,this.end,function(t){i(t,e,n)}),h.inDoc(this.node)&&this.callHook(l)}function a(){this.inserted=!1;var e=this,t=h.inDoc(this.node);e.callHook(c),h.removeNodeRange(this.node,this.end,this.vm,this.frag,function(){t&&e.callHook(u),e.destroy()})}function l(e){e._isAttached||e._callHook("attached")}function c(e){e.$destroy(!1,!0)}function u(e){e._isAttached&&e._callHook("detached")}var h=e("../util"),p=e("../transition");i.prototype.callHook=function(e){var t,n;for(t=0,n=this.children.length;n>t;t++)e(this.children[t]);for(t=0,n=this.childFrags.length;n>t;t++)this.childFrags[t].callHook(e)},i.prototype.destroy=function(){this.parentFrag&&this.parentFrag.childFrags.$remove(this),this.unlink()},t.exports=i},{"../transition":67,"../util":74}],54:[function(e,t,n){(function(t){function i(e,t){for(var n,i,r=t.attributes,o=0,s=r.length;s>o;o++)n=r[o].name, p.test(n)&&(n=n.replace(p,""),i=(e._scope||e._context).$eval(r[o].value,!0),e.$on(n.replace(p),i))}function r(e,t,n){if(n){var i,r,s,a;for(r in n)if(i=n[r],u.isArray(i))for(s=0,a=i.length;a>s;s++)o(e,t,r,i[s]);else o(e,t,r,i)}}function o(e,n,i,r,s){var a=typeof r;if("function"===a)e[n](i,r,s);else if("string"===a){var l=e.$options.methods,c=l&&l[r];c?e[n](i,c,s):"production"!==t.env.NODE_ENV&&u.warn('Unknown method: "'+r+'" when registering callback for '+n+': "'+i+'".')}else r&&"object"===a&&o(e,n,i,r.handler,r)}function s(){this._isAttached||(this._isAttached=!0,this.$children.forEach(a))}function a(e){!e._isAttached&&h(e.$el)&&e._callHook("attached")}function l(){this._isAttached&&(this._isAttached=!1,this.$children.forEach(c))}function c(e){e._isAttached&&!h(e.$el)&&e._callHook("detached")}var u=e("../util"),h=u.inDoc,p=/^v-on:|^@/;n._initEvents=function(){var e=this.$options;e._asComponent&&i(this,e.el),r(this,"$on",e.events),r(this,"$watch",e.watch)},n._initDOMHooks=function(){this.$on("hook:attached",s),this.$on("hook:detached",l)},n._callHook=function(e){var t=this.$options[e];if(t)for(var n=0,i=t.length;i>n;n++)t[n].call(this);this.$emit("hook:"+e)}}).call(this,e("_process"))},{"../util":74,_process:2}],55:[function(e,t,n){var i=e("../util").mergeOptions,r=0;n._init=function(e){e=e||{},this.$el=null,this.$parent=e.parent,this.$root=this.$parent?this.$parent.$root:this,this.$children=[],this.$refs={},this.$els={},this._watchers=[],this._directives=[],this._uid=r++,this._isVue=!0,this._events={},this._eventsCount={},this._shouldPropagate=!1,this._isFragment=!1,this._fragment=this._fragmentStart=this._fragmentEnd=null,this._isCompiled=this._isDestroyed=this._isReady=this._isAttached=this._isBeingDestroyed=!1,this._unlinkFn=null,this._context=e._context||this.$parent,this._scope=e._scope,this._frag=e._frag,this._frag&&this._frag.children.push(this),this.$parent&&this.$parent.$children.push(this),e=this.$options=i(this.constructor.options,e,this),this._updateRef(),this._data={},this._callHook("init"),this._initState(),this._initEvents(),this._callHook("created"),e.el&&this.$mount(e.el)}},{"../util":74}],56:[function(e,t,n){var i=e("../util"),r=e("../directive"),o=e("../compiler");n._updateRef=function(e){var t=this.$options._ref;if(t){var n=(this._scope||this._context).$refs;e?n[t]===this&&(n[t]=null):n[t]=this}},n._compile=function(e){var t=this.$options,n=e;e=o.transclude(e,t),this._initElement(e);var r,s=this._context&&this._context.$options,a=o.compileRoot(e,t,s),l=this.constructor;t._linkerCachable&&(r=l.linker,r||(r=l.linker=o.compile(e,t)));var c=a(this,e,this._scope),u=r?r(this,e):o.compile(e,t)(this,e);return this._unlinkFn=function(){c(),u(!0)},t.replace&&i.replace(n,e),this._isCompiled=!0,this._callHook("compiled"),e},n._initElement=function(e){e instanceof DocumentFragment?(this._isFragment=!0,this.$el=this._fragmentStart=e.firstChild,this._fragmentEnd=e.lastChild,3===this._fragmentStart.nodeType&&(this._fragmentStart.data=this._fragmentEnd.data=""),this._fragment=e):this.$el=e,this.$el.__vue__=this,this._callHook("beforeCompile")},n._bindDir=function(e,t,n,i,o){this._directives.push(new r(e,this,t,n,i,o))},n._destroy=function(e,t){if(this._isBeingDestroyed)return void(t||this._cleanup());this._callHook("beforeDestroy"),this._isBeingDestroyed=!0;var n,i=this.$parent;for(i&&!i._isBeingDestroyed&&(i.$children.$remove(this),this._updateRef(!0)),n=this.$children.length;n--;)this.$children[n].$destroy();for(this._propsUnlinkFn&&this._propsUnlinkFn(),this._unlinkFn&&this._unlinkFn(),n=this._watchers.length;n--;)this._watchers[n].teardown();this.$el&&(this.$el.__vue__=null);var r=this;e&&this.$el?this.$remove(function(){r._cleanup()}):t||this._cleanup()},n._cleanup=function(){this._isDestroyed||(this._frag&&this._frag.children.$remove(this),this._data.__ob__&&this._data.__ob__.removeVm(this),this.$el=this.$parent=this.$root=this.$children=this._watchers=this._context=this._scope=this._directives=null,this._isDestroyed=!0,this._callHook("destroyed"),this.$off())}},{"../compiler":21,"../directive":24,"../util":74}],57:[function(e,t,n){(function(t){var i=e("../util");n._applyFilters=function(e,n,r,o){var s,a,l,c,u,h,p,d,f;for(h=0,p=r.length;p>h;h++)if(s=r[h],a=i.resolveAsset(this.$options,"filters",s.name),"production"!==t.env.NODE_ENV&&i.assertAsset(a,"filter",s.name),a&&(a=o?a.write:a.read||a,"function"==typeof a)){if(l=o?[e,n]:[e],u=o?2:1,s.args)for(d=0,f=s.args.length;f>d;d++)c=s.args[d],l[d+u]=c.dynamic?this.$get(c.value):c.value;e=a.apply(this,l)}return e},n._resolveComponent=function(e,n){var r=i.resolveAsset(this.$options,"components",e);if("production"!==t.env.NODE_ENV&&i.assertAsset(r,"component",e),r)if(r.options)n(r);else if(r.resolved)n(r.resolved);else if(r.requested)r.pendingCallbacks.push(n);else{r.requested=!0;var o=r.pendingCallbacks=[n];r(function(e){i.isPlainObject(e)&&(e=i.Vue.extend(e)),r.resolved=e;for(var t=0,n=o.length;n>t;t++)o[t](e)},function(n){"production"!==t.env.NODE_ENV&&i.warn("Failed to resolve async component: "+e+". "+(n?"\nReason: "+n:""))})}}}).call(this,e("_process"))},{"../util":74,_process:2}],58:[function(e,t,n){(function(t){function i(){}function r(e,t){var n=new c(t,e,null,{lazy:!0});return function(){return n.dirty&&n.evaluate(),l.target&&n.depend(),n.value}}var o=e("../util"),s=e("../compiler"),a=e("../observer"),l=e("../observer/dep"),c=e("../watcher");n._initState=function(){this._initProps(),this._initMeta(),this._initMethods(),this._initData(),this._initComputed()},n._initProps=function(){var e=this.$options,n=e.el,i=e.props;i&&!n&&"production"!==t.env.NODE_ENV&&o.warn("Props will not be compiled if no `el` option is provided at instantiation."),n=e.el=o.query(n),this._propsUnlinkFn=n&&1===n.nodeType&&i?s.compileAndLinkProps(this,n,i,this._scope):null},n._initData=function(){var e=this._data,n=this.$options.data,i=n&&n();if(i){this._data=i;for(var r in e)"production"!==t.env.NODE_ENV&&i.hasOwnProperty(r)&&o.warn('Data field "'+r+'" is already defined as a prop. Use prop default value instead.'),null===this._props[r].raw&&i.hasOwnProperty(r)||o.set(i,r,e[r])}var s,l,c=this._data,u=Object.keys(c);for(s=u.length;s--;)l=u[s],this._proxy(l);a.create(c,this)},n._setData=function(e){e=e||{};var t=this._data;this._data=e;var n,i,r;for(n=Object.keys(t),r=n.length;r--;)i=n[r],i in e||this._unproxy(i);for(n=Object.keys(e),r=n.length;r--;)i=n[r],this.hasOwnProperty(i)||this._proxy(i);t.__ob__.removeVm(this),a.create(e,this),this._digest()},n._proxy=function(e){if(!o.isReserved(e)){var t=this;Object.defineProperty(t,e,{configurable:!0,enumerable:!0,get:function(){return t._data[e]},set:function(n){t._data[e]=n}})}},n._unproxy=function(e){o.isReserved(e)||delete this[e]},n._digest=function(){for(var e=0,t=this._watchers.length;t>e;e++)this._watchers[e].update(!0)},n._initComputed=function(){var e=this.$options.computed;if(e)for(var t in e){var n=e[t],s={enumerable:!0,configurable:!0};"function"==typeof n?(s.get=r(n,this),s.set=i):(s.get=n.get?n.cache!==!1?r(n.get,this):o.bind(n.get,this):i,s.set=n.set?o.bind(n.set,this):i),Object.defineProperty(this,t,s)}},n._initMethods=function(){var e=this.$options.methods;if(e)for(var t in e)this[t]=o.bind(e[t],this)},n._initMeta=function(){var e=this.$options._meta;if(e)for(var t in e)o.defineReactive(this,t,e[t])}}).call(this,e("_process"))},{"../compiler":21,"../observer":61,"../observer/dep":60,"../util":74,"../watcher":78,_process:2}],59:[function(e,t,n){var i=e("../util"),r=Array.prototype,o=Object.create(r);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(e){var t=r[e];i.define(o,e,function(){for(var n=arguments.length,i=new Array(n);n--;)i[n]=arguments[n];var r,o=t.apply(this,i),s=this.__ob__;switch(e){case"push":r=i;break;case"unshift":r=i;break;case"splice":r=i.slice(2)}return r&&s.observeArray(r),s.dep.notify(),o})}),i.define(r,"$set",function(e,t){return e>=this.length&&(this.length=e+1),this.splice(e,1,t)[0]}),i.define(r,"$remove",function(e){if(this.length){var t=i.indexOf(this,e);return t>-1?this.splice(t,1):void 0}}),t.exports=o},{"../util":74}],60:[function(e,t,n){function i(){this.id=o++,this.subs=[]}var r=e("../util"),o=0;i.target=null,i.prototype.addSub=function(e){this.subs.push(e)},i.prototype.removeSub=function(e){this.subs.$remove(e)},i.prototype.depend=function(){i.target.addDep(this)},i.prototype.notify=function(){for(var e=r.toArray(this.subs),t=0,n=e.length;n>t;t++)e[t].update()},t.exports=i},{"../util":74}],61:[function(e,t,n){function i(e){if(this.value=e,this.dep=new l,a.define(e,"__ob__",this),a.isArray(e)){var t=a.hasProto?r:o;t(e,c,u),this.observeArray(e)}else this.walk(e)}function r(e,t){e.__proto__=t}function o(e,t,n){for(var i,r=n.length;r--;)i=n[r],a.define(e,i,t[i])}function s(e,t,n){var r=new l,o=i.create(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){if(l.target&&(r.depend(),o&&o.dep.depend(),a.isArray(n)))for(var e,t=0,i=n.length;i>t;t++)e=n[t],e&&e.__ob__&&e.__ob__.dep.depend();return n},set:function(e){e!==n&&(n=e,o=i.create(e),r.notify())}})}var a=e("../util"),l=e("./dep"),c=e("./array"),u=Object.getOwnPropertyNames(c);i.create=function(e,t){if(e&&"object"==typeof e){var n;return e.hasOwnProperty("__ob__")&&e.__ob__ instanceof i?n=e.__ob__:!a.isArray(e)&&!a.isPlainObject(e)||Object.isFrozen(e)||e._isVue||(n=new i(e)),n&&t&&n.addVm(t),n}},i.prototype.walk=function(e){for(var t=Object.keys(e),n=t.length;n--;)this.convert(t[n],e[t[n]])},i.prototype.observeArray=function(e){for(var t=e.length;t--;)i.create(e[t])},i.prototype.convert=function(e,t){s(this.value,e,t)},i.prototype.addVm=function(e){(this.vms||(this.vms=[])).push(e)},i.prototype.removeVm=function(e){this.vms.$remove(e)},a.defineReactive=s,t.exports=i},{"../util":74,"./array":59,"./dep":60}],62:[function(e,t,n){function i(){var e,t=o.slice(u,l).trim();if(t){e={};var n=t.match(b);e.name=n[0],n.length>1&&(e.args=n.slice(1).map(r))}e&&(s.filters=s.filters||[]).push(e),u=l+1}function r(e){if(w.test(e))return{value:v.toNumber(e),dynamic:!1};var t=v.stripQuotes(e),n=t===e;return{value:n?e:t,dynamic:n}}var o,s,a,l,c,u,h,p,d,f,m,v=e("../util"),g=e("../cache"),y=new g(1e3),b=/[^\s'"]+|'[^']*'|"[^"]*"/g,w=/^in$|^-?\d+/;n.parse=function(e){var t=y.get(e);if(t)return t;for(o=e,h=p=!1,d=f=m=0,u=0,s={},l=0,c=o.length;c>l;l++)if(a=o.charCodeAt(l),h)39===a&&(h=!h);else if(p)34===a&&(p=!p);else if(124===a&&124!==o.charCodeAt(l+1)&&124!==o.charCodeAt(l-1))null==s.expression?(u=l+1,s.expression=o.slice(0,l).trim()):i();else switch(a){case 34:p=!0;break;case 39:h=!0;break;case 40:m++;break;case 41:m--;break;case 91:f++;break;case 93:f--;break;case 123:d++;break;case 125:d--}return null==s.expression?s.expression=o.slice(0,l).trim():0!==u&&i(),y.put(e,s),s}},{"../cache":18,"../util":74}],63:[function(e,t,n){(function(t){function i(e,t){var n=O.length;return O[n]=t?e.replace(w,"\\n"):e,'"'+n+'"'}function r(e){var t=e.charAt(0),n=e.slice(1);return v.test(n)?e:(n=n.indexOf('"')>-1?n.replace(x,o):n,t+"scope."+n)}function o(e,t){return O[t]}function s(e,n){y.test(e)&&"production"!==t.env.NODE_ENV&&h.warn("Avoid using reserved keywords in expression: "+e),O.length=0;var s=e.replace(_,i).replace(b,"");s=(" "+s).replace(C,r).replace(x,o);var a=l(s);return a?{get:a,body:s,set:n?c(s):null}:void 0}function a(e){var t,n;return e.indexOf("[")<0?(n=e.split("."),n.raw=e,t=p.compileGetter(n)):(n=p.parse(e),t=n.get),{get:t,set:function(e,t){p.set(e,n,t)}}}function l(e){try{return new Function("scope","return "+e+";")}catch(n){"production"!==t.env.NODE_ENV&&h.warn("Invalid expression. Generated function body: "+e)}}function c(e){try{return new Function("scope","value",e+"=value;")}catch(n){"production"!==t.env.NODE_ENV&&h.warn("Invalid setter function body: "+e)}}function u(e){e.set||(e.set=c(e.body))}var h=e("../util"),p=e("./path"),d=e("../cache"),f=new d(1e3),m="Math,Date,this,true,false,null,undefined,Infinity,NaN,isNaN,isFinite,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,parseInt,parseFloat",v=new RegExp("^("+m.replace(/,/g,"\\b|")+"\\b)"),g="break,case,class,catch,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,in,instanceof,let,return,super,switch,throw,try,var,while,with,yield,enum,await,implements,package,proctected,static,interface,private,public",y=new RegExp("^("+g.replace(/,/g,"\\b|")+"\\b)"),b=/\s/g,w=/\n/g,_=/[\{,]\s*[\w\$_]+\s*:|('[^']*'|"[^"]*")|new |typeof |void /g,x=/"(\d+)"/g,E=/^[A-Za-z_$][\w$]*(\.[A-Za-z_$][\w$]*|\['.*?'\]|\[".*?"\]|\[\d+\]|\[[A-Za-z_$][\w$]*\])*$/,C=/[^\w$\.]([A-Za-z_$][\w$]*(\.[A-Za-z_$][\w$]*|\['.*?'\]|\[".*?"\])*)/g,k=/^(true|false)$/,O=[];n.parse=function(e,t){e=e.trim();var i=f.get(e);if(i)return t&&u(i),i;var r=n.isSimplePath(e)?a(e):s(e,t);return f.put(e,r),r},n.isSimplePath=function(e){return E.test(e)&&!k.test(e)&&"Math."!==e.slice(0,5)}}).call(this,e("_process"))},{"../cache":18,"../util":74,"./path":64,_process:2}],64:[function(e,t,n){(function(t){function i(e){if(void 0===e)return"eof";var t=e.charCodeAt(0);switch(t){case 91:case 93:case 46:case 34:case 39:case 48:return e;case 95:case 36:return"ident";case 32:case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"ws"}return t>=97&&122>=t||t>=65&&90>=t?"ident":t>=49&&57>=t?"number":"else"}function r(e){function t(){var t=e[f+1];return m===b&&"'"===t||m===w&&'"'===t?(f++,r=t,v[u](),!0):void 0}var n,r,o,s,a,l,c,d=[],f=-1,m=p,v=[];for(v[h]=function(){void 0!==o&&(d.push(o),o=void 0)},v[u]=function(){void 0===o?o=r:o+=r};null!=m;)if(f++,n=e[f],"\\"!==n||!t()){if(s=i(n),c=k[m],a=c[s]||c["else"]||C,a===C)return;if(m=a[0],l=v[a[1]],l&&(r=a[2],r=void 0===r?n:"*"===r?r+n:r,l()),m===E)return d.raw=e,d}}function o(e){return c.test(e)?"."+e:+e===e>>>0?"["+e+"]":"*"===e.charAt(0)?"[o"+o(e.slice(1))+"]":'["'+e.replace(/"/g,'\\"')+'"]'}var s=e("../util"),a=e("../cache"),l=new a(1e3),c=n.identRE=/^[$_a-zA-Z]+[\w$]*$/,u=0,h=1,p=0,d=1,f=2,m=3,v=4,g=5,y=6,b=7,w=8,_=9,x=10,E=11,C=12,k=[];k[p]={ws:[p],ident:[m,u],"[":[v],eof:[E]},k[d]={ws:[d],".":[f],"[":[v],eof:[E]},k[f]={ws:[f],ident:[m,u]},k[m]={ident:[m,u],0:[m,u],number:[m,u],ws:[d,h],".":[f,h],"[":[v,h],eof:[E,h]},k[v]={ws:[v],0:[g,u],number:[y,u],"'":[b,u,""],'"':[w,u,""],ident:[_,u,"*"]},k[g]={ws:[x,h],"]":[d,h]},k[y]={0:[y,u],number:[y,u],ws:[x],"]":[d,h]},k[b]={"'":[x],eof:C,"else":[b,u]},k[w]={'"':[x],eof:C,"else":[w,u]},k[_]={ident:[_,u],0:[_,u],number:[_,u],ws:[x],"]":[d,h]},k[x]={ws:[x],"]":[d,h]},n.compileGetter=function(e){var t="return o"+e.map(o).join("");return new Function("o",t)},n.parse=function(e){var t=l.get(e);return t||(t=r(e),t&&(t.get=n.compileGetter(t),l.put(e,t))),t},n.get=function(e,t){return t=n.parse(t),t?t.get(e):void 0};var O;"production"!==t.env.NODE_ENV&&(O=function(e){s.warn('You are setting a non-existent path "'+e.raw+'" on a vm instance. Consider pre-initializing the property with the "data" option for more reliable reactivity and better performance.')}),n.set=function(e,i,r){var o=e;if("string"==typeof i&&(i=n.parse(i)),!i||!s.isObject(e))return!1;for(var a,l,c=0,u=i.length;u>c;c++)a=e,l=i[c],"*"===l.charAt(0)&&(l=o[l.slice(1)]),u-1>c?(e=e[l],s.isObject(e)||(e={},"production"!==t.env.NODE_ENV&&a._isVue&&O(i),s.set(a,l,e))):s.isArray(e)?e.$set(l,r):l in e?e[l]=r:("production"!==t.env.NODE_ENV&&e._isVue&&O(i),s.set(e,l,r));return!0}}).call(this,e("_process"))},{"../cache":18,"../util":74,_process:2}],65:[function(e,t,n){function i(e){return s.isTemplate(e)&&e.content instanceof DocumentFragment}function r(e){var t=l.get(e);if(t)return t;var n=document.createDocumentFragment(),i=e.match(h),r=p.test(e);if(i||r){var o=i&&i[1],s=u[o]||u._default,a=s[0],c=s[1],d=s[2],f=document.createElement("div");for(f.innerHTML=c+e.trim()+d;a--;)f=f.lastChild;for(var m;m=f.firstChild;)n.appendChild(m)}else n.appendChild(document.createTextNode(e));return l.put(e,n),n}function o(e){if(i(e))return s.trimNode(e.content),e.content;if("SCRIPT"===e.tagName)return r(e.textContent);for(var t,o=n.clone(e),a=document.createDocumentFragment();t=o.firstChild;)a.appendChild(t);return s.trimNode(a),a}var s=e("../util"),a=e("../cache"),l=new a(1e3),c=new a(1e3),u={_default:[0,"",""],legend:[1,"
","
"],tr:[2,"","
"],col:[2,"","
"]};u.td=u.th=[3,"","
"],u.option=u.optgroup=[1,'"],u.thead=u.tbody=u.colgroup=u.caption=u.tfoot=[1,"","
"],u.g=u.defs=u.symbol=u.use=u.image=u.text=u.circle=u.ellipse=u.line=u.path=u.polygon=u.polyline=u.rect=[1,'',""];var h=/<([\w:]+)/,p=/&\w+;|&#\d+;|&#x[\dA-F]+;/,d=function(){if(s.inBrowser){var e=document.createElement("div");return e.innerHTML="",!e.cloneNode(!0).firstChild.innerHTML}return!1}(),f=function(){if(s.inBrowser){var e=document.createElement("textarea");return e.placeholder="t","t"===e.cloneNode(!0).value}return!1}();n.clone=function(e){if(!e.querySelectorAll)return e.cloneNode();var t,r,o,s=e.cloneNode(!0);if(d){var a=s;if(i(e)&&(e=e.content,a=s.content),r=e.querySelectorAll("template"),r.length)for(o=a.querySelectorAll("template"),t=o.length;t--;)o[t].parentNode.replaceChild(n.clone(r[t]),o[t])}if(f)if("TEXTAREA"===e.tagName)s.value=e.value;else if(r=e.querySelectorAll("textarea"),r.length)for(o=s.querySelectorAll("textarea"),t=o.length;t--;)o[t].value=r[t].value;return s},n.parse=function(e,t,i){var a,l;return e instanceof DocumentFragment?(s.trimNode(e),t?n.clone(e):e):("string"==typeof e?i||"#"!==e.charAt(0)?l=r(e):(l=c.get(e),l||(a=document.getElementById(e.slice(1)),a&&(l=o(a),c.put(e,l)))):e.nodeType&&(l=o(e)),l&&t?n.clone(l):l)}},{"../cache":18,"../util":74}],66:[function(e,t,n){function i(e){return e.replace(p,"\\$&")}function r(e,t){return e.tag?o(e.value,t):'"'+e.value+'"'}function o(e,t){if(d.test(e)){var n=h.parse(e);return n.filters?"this._applyFilters("+n.expression+",null,"+JSON.stringify(n.filters)+",false)":"("+e+")"}return t?e:"("+e+")"}var s,a,l,c=e("../cache"),u=e("../config"),h=e("./directive"),p=/[-.*+?^${}()|[\]\/\\]/g;n.compileRegex=function(){var e=i(u.delimiters[0]),t=i(u.delimiters[1]),n=i(u.unsafeDelimiters[0]),r=i(u.unsafeDelimiters[1]);a=new RegExp(n+"(.+?)"+r+"|"+e+"(.+?)"+t,"g"),l=new RegExp("^"+n+".*"+r+"$"),s=new c(1e3)},n.parse=function(e){s||n.compileRegex();var t=s.get(e);if(t)return t;if(e=e.replace(/\n/g,""),!a.test(e))return null;for(var i,r,o,c,u,h,p=[],d=a.lastIndex=0;i=a.exec(e);)r=i.index,r>d&&p.push({value:e.slice(d,r)}),o=l.test(i[0]),c=o?i[1]:i[2],u=c.charCodeAt(0),h=42===u,c=h?c.slice(1):c,p.push({tag:!0,value:c.trim(),html:o,oneTime:h}),d=r+i[0].length;return d1?e.map(function(e){return r(e)}).join("+"):r(e[0],!0)};var d=/[^|]\|[^|]/},{"../cache":18,"../config":23,"./directive":62}],67:[function(e,t,n){var i=e("../util");n.append=function(e,t,n,i){r(e,1,function(){t.appendChild(e)},n,i)},n.before=function(e,t,n,o){r(e,1,function(){i.before(e,t)},n,o)},n.remove=function(e,t,n){r(e,-1,function(){i.remove(e)},t,n)};var r=n.apply=function(e,t,n,r,o){var s=e.__v_trans;if(!s||!s.hooks&&!i.transitionEndEvent||!r._isCompiled||r.$parent&&!r.$parent._isCompiled)return n(),void(o&&o());var a=t>0?"enter":"leave";s[a](n,o)}},{"../util":74}],68:[function(e,t,n){function i(){for(var e=document.documentElement.offsetHeight,t=0;t1&&(this.pendingJsCb=o.cancellable(this[e+"Done"])),t.call(this.vm,this.el,this.pendingJsCb))},m.getCssTransitionType=function(e){if(!(!c||document.hidden||this.hooks&&this.hooks.css===!1||r(this.el))){var t=this.typeCache[e];if(t)return t;var n=this.el.style,i=window.getComputedStyle(this.el),o=n[h]||i[h];if(o&&"0s"!==o)t=d;else{var s=n[p]||i[p];s&&"0s"!==s&&(t=f)}return t&&(this.typeCache[e]=t),t}},m.setupCssCb=function(e,t){this.pendingCssEvent=e;var n=this,i=this.el,r=this.pendingCssCb=function(s){s.target===i&&(o.off(i,e,r),n.pendingCssEvent=n.pendingCssCb=null,!n.pendingJsCb&&t&&t())};o.on(i,e,r)},t.exports=i},{"../util":74,"./queue":68}],70:[function(e,t,n){(function(t){function i(e){var t=s.attr(e,"is");return null!=t?{id:t}:(t=s.getBindAttr(e,"is"),null!=t?{id:t,dynamic:!0}:void 0)}function r(e){return e?e.charAt(0).toUpperCase()+e.slice(1):"custom type"}function o(e){return Object.prototype.toString.call(e).slice(8,-1)}var s=e("./index");n.commonTagRE=/^(div|p|span|img|a|b|i|br|ul|ol|li|h1|h2|h3|h4|h5|h6|code|pre|table|th|td|tr|form|label|input|select|option|nav|article|section|header|footer)$/,n.checkComponent=function(e,r){var o=e.tagName.toLowerCase(),a=e.hasAttributes();if(n.commonTagRE.test(o)||"component"===o){if(a)return i(e)}else{if(s.resolveAsset(r,"components",o))return{id:o};var l=a&&i(e);if(l)return l;"production"!==t.env.NODE_ENV&&(o.indexOf("-")>-1||/HTMLUnknownElement/.test(e.toString())&&!/^(data|time|rtc|rb)$/.test(o))&&s.warn("Unknown custom element: <"+o+"> - did you register the component correctly?")}},n.initProp=function(e,t,i){if(n.assertProp(t,i)){var r=t.path;e[r]=e._data[r]=i}},n.assertProp=function(e,n){if(null===e.raw&&!e.required)return!0;var i,a=e.options,l=a.type,c=!0;if(l&&(l===String?(i="string",c=typeof n===i):l===Number?(i="number",c="number"==typeof n):l===Boolean?(i="boolean",c="boolean"==typeof n):l===Function?(i="function",c="function"==typeof n):l===Object?(i="object",c=s.isPlainObject(n)):l===Array?(i="array",c=s.isArray(n)):c=n instanceof l),!c)return"production"!==t.env.NODE_ENV&&s.warn("Invalid prop: type check failed for "+e.path+'="'+e.raw+'". Expected '+r(i)+", got "+o(n)+"."),!1;var u=a.validator;return u&&!u.call(null,n)?("production"!==t.env.NODE_ENV&&s.warn("Invalid prop: custom validator check failed for "+e.path+'="'+e.raw+'"'),!1):!0}}).call(this,e("_process"))},{"./index":74,_process:2}],71:[function(e,t,n){(function(t){if("production"!==t.env.NODE_ENV){var i=e("../config"),r="undefined"!=typeof console;n.log=function(e){r&&i.debug&&console.log("[Vue info]: "+e)},n.warn=function(e,t){!r||i.silent&&!i.debug||(console.warn("[Vue warn]: "+e),i.debug&&console.warn((t||new Error("Warning Stack Trace")).stack))},n.assertAsset=function(e,t,i){e||n.warn("Failed to resolve "+t+": "+i)}}}).call(this,e("_process"))},{"../config":23,_process:2}],72:[function(e,t,n){(function(t){function i(e,t){t&&3===t.nodeType&&!t.data.trim()&&e.removeChild(t)}var r=e("./index"),o=e("../config"),s=e("../transition");n.query=function(e){if("string"==typeof e){var n=e;e=document.querySelector(e),e||"production"!==t.env.NODE_ENV&&r.warn("Cannot find element: "+n)}return e},n.inDoc=function(e){var t=document.documentElement,n=e&&e.parentNode;return t===e||t===n||!(!n||1!==n.nodeType||!t.contains(n))},n.attr=function(e,t){var n=e.getAttribute(t);return null!==n&&e.removeAttribute(t),n},n.getBindAttr=function(e,t){var i=n.attr(e,":"+t);return null===i&&(i=n.attr(e,"v-bind:"+t)),i},n.before=function(e,t){t.parentNode.insertBefore(e,t)},n.after=function(e,t){t.nextSibling?n.before(e,t.nextSibling):t.parentNode.appendChild(e)},n.remove=function(e){e.parentNode.removeChild(e)},n.prepend=function(e,t){t.firstChild?n.before(e,t.firstChild):t.appendChild(e)},n.replace=function(e,t){var n=e.parentNode;n&&n.replaceChild(t,e)},n.on=function(e,t,n){e.addEventListener(t,n)},n.off=function(e,t,n){e.removeEventListener(t,n)},n.addClass=function(e,t){if(e.classList)e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}},n.removeClass=function(e,t){if(e.classList)e.classList.remove(t);else{for(var n=" "+(e.getAttribute("class")||"")+" ",i=" "+t+" ";n.indexOf(i)>=0;)n=n.replace(i," ");e.setAttribute("class",n.trim())}e.className||e.removeAttribute("class")},n.extractContent=function(e,t){var i,r;if(n.isTemplate(e)&&e.content instanceof DocumentFragment&&(e=e.content),e.hasChildNodes())for(n.trimNode(e),r=t?document.createDocumentFragment():document.createElement("div");i=e.firstChild;)r.appendChild(i);return r},n.trimNode=function(e){i(e,e.firstChild),i(e,e.lastChild)},n.isTemplate=function(e){return e.tagName&&"template"===e.tagName.toLowerCase()},n.createAnchor=function(e,t){return o.debug?document.createComment(e):document.createTextNode(t?" ":"")};var a=/^v-ref:/;n.findRef=function(e){if(e.hasAttributes())for(var t=e.attributes,n=0,i=t.length;i>n;n++){var o=t[n].name;if(a.test(o))return e.removeAttribute(o),r.camelize(o.replace(a,""))}},n.mapNodeRange=function(e,t,n){for(var i;e!==t;)i=e.nextSibling,n(e),e=i;n(t)},n.removeNodeRange=function(e,t,i,r,o){function a(){if(c++,l&&c>=u.length){for(var e=0;e0,n.isAndroid=i&&navigator.userAgent.toLowerCase().indexOf("android")>0,i&&!n.isIE9){var r=void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend,o=void 0===window.onanimationend&&void 0!==window.onwebkitanimationend;n.transitionProp=r?"WebkitTransition":"transition",n.transitionEndEvent=r?"webkitTransitionEnd":"transitionend",n.animationProp=o?"WebkitAnimation":"animation",n.animationEndEvent=o?"webkitAnimationEnd":"animationend"}n.nextTick=function(){function e(){i=!1;var e=n.slice(0);n=[];for(var t=0;t1?e.apply(t,arguments):e.call(t,n):e.call(t)}},n.toArray=function(e,t){t=t||0;for(var n=e.length-t,i=new Array(n);n--;)i[n]=e[n+t];return i},n.extend=function(e,t){for(var n=Object.keys(t),i=n.length;i--;)e[n[i]]=t[n[i]];return e},n.isObject=function(e){return null!==e&&"object"==typeof e};var l=Object.prototype.toString,c="[object Object]";n.isPlainObject=function(e){return l.call(e)===c},n.isArray=Array.isArray,n.define=function(e,t,n,i){Object.defineProperty(e,t,{value:n,enumerable:!!i,writable:!0,configurable:!0})},n.debounce=function(e,t){var n,i,r,o,s,a=function(){var l=Date.now()-o;t>l&&l>=0?n=setTimeout(a,t-l):(n=null,s=e.apply(r,i),n||(r=i=null))};return function(){return r=this,i=arguments,o=Date.now(),n||(n=setTimeout(a,t)),s}},n.indexOf=function(e,t){for(var n=e.length;n--;)if(e[n]===t)return n;return-1},n.cancellable=function(e){var t=function(){return t.cancelled?void 0:e.apply(this,arguments)};return t.cancel=function(){t.cancelled=!0},t},n.looseEqual=function(e,t){return e==t||(n.isObject(e)&&n.isObject(t)?JSON.stringify(e)===JSON.stringify(t):!1)}},{}],76:[function(e,t,n){(function(t){function i(e,t){var n,r,o;for(n in t)r=e[n],o=t[n],e.hasOwnProperty(n)?l.isObject(r)&&l.isObject(o)&&i(r,o):l.set(e,n,o);return e}function r(e,t){var n=Object.create(e);return t?u(n,a(t)):n}function o(e){if(e.components)for(var n,i=e.components=a(e.components),r=Object.keys(i),o=0,s=r.length;s>o;o++){var c=r[o];l.commonTagRE.test(c)?"production"!==t.env.NODE_ENV&&l.warn("Do not use built-in HTML elements as component id: "+c):(n=i[c],l.isPlainObject(n)&&(i[c]=l.Vue.extend(n)))}}function s(e){var t,n=e.props;if(l.isArray(n))for(e.props={},t=n.length;t--;)e.props[n[t]]=null;else if(l.isPlainObject(n)){ -var i=Object.keys(n);for(t=i.length;t--;){var r=n[i[t]];"function"==typeof r&&(n[i[t]]={type:r})}}}function a(e){if(l.isArray(e)){for(var n,i={},r=e.length;r--;){n=e[r];var o="function"==typeof n?n.options&&n.options.name||n.id:n.name||n.id;o?i[o]=n:"production"!==t.env.NODE_ENV&&l.warn('Array-syntax assets must provide a "name" or "id" field.')}return i}return e}var l=e("./index"),c=e("../config"),u=l.extend,h=c.optionMergeStrategies=Object.create(null);h.data=function(e,n,r){return r?e||n?function(){var t="function"==typeof n?n.call(r):n,o="function"==typeof e?e.call(r):void 0;return t?i(t,o):o}:void 0:n?"function"!=typeof n?("production"!==t.env.NODE_ENV&&l.warn('The "data" option should be a function that returns a per-instance value in component definitions.'),e):e?function(){return i(n.call(this),e.call(this))}:n:e},h.el=function(e,n,i){if(!i&&n&&"function"!=typeof n)return void("production"!==t.env.NODE_ENV&&l.warn('The "el" option should be a function that returns a per-instance value in component definitions.'));var r=n||e;return i&&"function"==typeof r?r.call(i):r},h.init=h.created=h.ready=h.attached=h.detached=h.beforeCompile=h.compiled=h.beforeDestroy=h.destroyed=function(e,t){return t?e?e.concat(t):l.isArray(t)?t:[t]:e},h.paramAttributes=function(){"production"!==t.env.NODE_ENV&&l.warn('"paramAttributes" option has been deprecated in 0.12. Use "props" instead.')},c._assetTypes.forEach(function(e){h[e+"s"]=r}),h.watch=h.events=function(e,t){if(!t)return e;if(!e)return t;var n={};u(n,e);for(var i in t){var r=n[i],o=t[i];r&&!l.isArray(r)&&(r=[r]),n[i]=r?r.concat(o):[o]}return n},h.props=h.methods=h.computed=function(e,t){if(!t)return e;if(!e)return t;var n=Object.create(null);return u(n,e),u(n,t),n};var p=function(e,t){return void 0===t?e:t};n.mergeOptions=function d(e,t,n){function i(i){var r=h[i]||p;a[i]=r(e[i],t[i],n,i)}o(t),s(t);var r,a={};if(t.mixins)for(var l=0,c=t.mixins.length;c>l;l++)e=d(e,t.mixins[l],n);for(r in e)i(r);for(r in t)e.hasOwnProperty(r)||i(r);return a},n.resolveAsset=function(e,t,n){var i,r=e[t];return r[n]||r[i=l.camelize(n)]||r[i.charAt(0).toUpperCase()+i.slice(1)]}}).call(this,e("_process"))},{"../config":23,"./index":74,_process:2}],77:[function(e,t,n){(function(n){function i(e){this._init(e)}var r=e("./util"),o=r.extend;o(i,e("./api/global")),i.options={replace:!0,directives:e("./directives/public"),elementDirectives:e("./directives/element"),filters:e("./filters"),transitions:{},components:{},partials:{}};var s=i.prototype;Object.defineProperty(s,"$data",{get:function(){return this._data},set:function(e){e!==this._data&&this._setData(e)}}),o(s,e("./instance/init")),o(s,e("./instance/events")),o(s,e("./instance/state")),o(s,e("./instance/lifecycle")),o(s,e("./instance/misc")),o(s,e("./api/data")),o(s,e("./api/dom")),o(s,e("./api/events")),o(s,e("./api/lifecycle")),i.version="1.0.7",t.exports=r.Vue=i,"production"!==n.env.NODE_ENV&&r.inBrowser&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__.emit("init",i)}).call(this,e("_process"))},{"./api/data":12,"./api/dom":13,"./api/events":14,"./api/global":15,"./api/lifecycle":16,"./directives/element":25,"./directives/public":40,"./filters":51,"./instance/events":54,"./instance/init":55,"./instance/lifecycle":56,"./instance/misc":57,"./instance/state":58,"./util":74,_process:2}],78:[function(e,t,n){(function(n){function i(e,t,n,i){i&&o.extend(this,i);var r="function"==typeof t;if(this.vm=e,e._watchers.push(this),this.expression=r?t.toString():t,this.cb=n,this.id=++u,this.active=!0,this.dirty=this.lazy,this.deps=Object.create(null),this.newDeps=null,this.prevError=null,r)this.getter=t,this.setter=void 0;else{var s=l.parse(t,this.twoWay);this.getter=s.get,this.setter=s.set}this.value=this.lazy?void 0:this.get(),this.queued=this.shallow=!1}function r(e){var t,n;if(o.isArray(e))for(t=e.length;t--;)r(e[t]);else if(o.isObject(e))for(n=Object.keys(e),t=n.length;t--;)r(e[n[t]])}var o=e("./util"),s=e("./config"),a=e("./observer/dep"),l=e("./parsers/expression"),c=e("./batcher"),u=0;i.prototype.addDep=function(e){var t=e.id;this.newDeps[t]||(this.newDeps[t]=e,this.deps[t]||(this.deps[t]=e,e.addSub(this)))},i.prototype.get=function(){this.beforeGet();var e,t=this.scope||this.vm;try{e=this.getter.call(t,t)}catch(i){"production"!==n.env.NODE_ENV&&s.warnExpressionErrors&&o.warn('Error when evaluating expression "'+this.expression+'". '+(s.debug?"":"Turn on debug mode to see stack trace."),i)}return this.deep&&r(e),this.preProcess&&(e=this.preProcess(e)),this.filters&&(e=t._applyFilters(e,null,this.filters,!1)),this.postProcess&&(e=this.postProcess(e)),this.afterGet(),e},i.prototype.set=function(e){var t=this.scope||this.vm;this.filters&&(e=t._applyFilters(e,this.value,this.filters,!0));try{this.setter.call(t,t,e)}catch(i){"production"!==n.env.NODE_ENV&&s.warnExpressionErrors&&o.warn('Error when evaluating setter "'+this.expression+'"',i)}var r=t.$forContext;"production"!==n.env.NODE_ENV&&r&&r.filters&&new RegExp(r.alias+"\\b").test(this.expression)&&o.warn("It seems you are using two-way binding on a v-for alias ("+this.expression+"), and the v-for has filters. This will not work properly. Either remove the filters or use an array of objects and bind to object properties instead."),r&&r.alias===this.expression&&!r.filters&&(t.$key?r.rawValue[t.$key]=e:r.rawValue.$set(t.$index,e))},i.prototype.beforeGet=function(){a.target=this,this.newDeps=Object.create(null)},i.prototype.afterGet=function(){a.target=null;for(var e=Object.keys(this.deps),t=e.length;t--;){var n=e[t];this.newDeps[n]||this.deps[n].removeSub(this)}this.deps=this.newDeps},i.prototype.update=function(e){this.lazy?this.dirty=!0:this.sync||!s.async?this.run():(this.shallow=this.queued?e?this.shallow:!1:!!e,this.queued=!0,"production"!==n.env.NODE_ENV&&s.debug&&(this.prevError=new Error("[vue] async stack trace")),c.push(this))},i.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||(o.isArray(e)||this.deep)&&!this.shallow){var t=this.value;this.value=e;var i=this.prevError;if("production"!==n.env.NODE_ENV&&s.debug&&i){this.prevError=null;try{this.cb.call(this.vm,e,t)}catch(r){throw o.nextTick(function(){throw i},0),r}}else this.cb.call(this.vm,e,t)}this.queued=this.shallow=!1}},i.prototype.evaluate=function(){var e=a.target;this.value=this.get(),this.dirty=!1,a.target=e},i.prototype.depend=function(){for(var e=Object.keys(this.deps),t=e.length;t--;)this.deps[e[t]].depend()},i.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||this.vm._watchers.$remove(this);for(var e=Object.keys(this.deps),t=e.length;t--;)this.deps[e[t]].removeSub(this);this.active=!1,this.vm=this.cb=this.value=null}},t.exports=i}).call(this,e("_process"))},{"./batcher":17,"./config":23,"./observer/dep":60,"./parsers/expression":63,"./util":74,_process:2}],79:[function(e,t,n){!function(e,n){"use strict";var i,r,o,s=e,a=s.document,l=s.navigator,c=s.setTimeout,u=s.clearTimeout,h=s.setInterval,p=s.clearInterval,d=s.getComputedStyle,f=s.encodeURIComponent,m=s.ActiveXObject,v=s.Error,g=s.Number.parseInt||s.parseInt,y=s.Number.parseFloat||s.parseFloat,b=s.Number.isNaN||s.isNaN,w=s.Date.now,_=s.Object.keys,x=s.Object.defineProperty,E=s.Object.prototype.hasOwnProperty,C=s.Array.prototype.slice,k=function(){var e=function(e){return e};if("function"==typeof s.wrap&&"function"==typeof s.unwrap)try{var t=a.createElement("div"),n=s.unwrap(t);1===t.nodeType&&n&&1===n.nodeType&&(e=s.unwrap)}catch(i){}return e}(),O=function(e){return C.call(e,0)},A=function(){var e,t,i,r,o,s,a=O(arguments),l=a[0]||{};for(e=1,t=a.length;t>e;e++)if(null!=(i=a[e]))for(r in i)E.call(i,r)&&(o=l[r],s=i[r],l!==s&&s!==n&&(l[r]=s));return l},N=function(e){var t,n,i,r;if("object"!=typeof e||null==e||"number"==typeof e.nodeType)t=e;else if("number"==typeof e.length)for(t=[],n=0,i=e.length;i>n;n++)E.call(e,n)&&(t[n]=N(e[n]));else{t={};for(r in e)E.call(e,r)&&(t[r]=N(e[r]))}return t},T=function(e,t){for(var n={},i=0,r=t.length;r>i;i++)t[i]in e&&(n[t[i]]=e[t[i]]);return n},D=function(e,t){var n={};for(var i in e)-1===t.indexOf(i)&&(n[i]=e[i]);return n},F=function(e){if(e)for(var t in e)E.call(e,t)&&delete e[t];return e},$=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},j=function(e){var t;return"string"==typeof e&&e&&(t=e.split("#")[0].split("?")[0],t=e.slice(0,e.lastIndexOf("/")+1)),t},S=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},P=function(){var e,t;try{throw new v}catch(n){t=n}return t&&(e=t.sourceURL||t.fileName||S(t.stack)),e},L=function(){var e,t,i;if(a.currentScript&&(e=a.currentScript.src))return e;if(t=a.getElementsByTagName("script"),1===t.length)return t[0].src||n;if("readyState"in t[0])for(i=t.length;i--;)if("interactive"===t[i].readyState&&(e=t[i].src))return e;return"loading"===a.readyState&&(e=t[t.length-1].src)?e:(e=P())?e:n},I=function(){var e,t,i,r=a.getElementsByTagName("script");for(e=r.length;e--;){if(!(i=r[e].src)){t=null;break}if(i=j(i),null==t)t=i;else if(t!==i){t=null;break}}return t||n},z=function(){var e=j(L())||I()||"";return e+"ZeroClipboard.swf"},R=function(){return null==e.opener&&(!!e.top&&e!=e.top||!!e.parent&&e!=e.parent)}(),V={bridge:null,version:"0.0.0",pluginType:"unknown",disabled:null,outdated:null,sandboxed:null,unavailable:null,degraded:null,deactivated:null,overdue:null,ready:null},M="11.0.0",H={},U={},B=null,q=0,W=0,Q={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"}},Z=["flash-unavailable","flash-degraded","flash-overdue","version-mismatch","config-mismatch","clipboard-error"],X=["flash-disabled","flash-outdated","flash-sandboxed","flash-unavailable","flash-degraded","flash-deactivated","flash-overdue"],G=new RegExp("^flash-("+X.map(function(e){return e.replace(/^flash-/,"")}).join("|")+")$"),Y=new RegExp("^flash-("+X.slice(1).map(function(e){return e.replace(/^flash-/,"")}).join("|")+")$"),J={swfPath:z(),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(E.call(e,t))if(/^(?:forceHandCursor|title|zIndex|bubbleEvents)$/.test(t))J[t]=e[t];else if(null==V.bridge)if("containerId"===t||"swfObjectId"===t){if(!fe(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 N(J);if(E.call(J,e))return J[e]}},ee=function(){return We(),{browser:T(l,["userAgent","platform","appName"]),flash:D(V,["bridge"]),zeroclipboard:{version:Ze.version,config:Ze.config()}}},te=function(){return!!(V.disabled||V.outdated||V.sandboxed||V.unavailable||V.degraded||V.deactivated)},ne=function(e,t){var r,o,s,a={};if("string"==typeof e&&e)s=e.toLowerCase().split(/\s+/);else if("object"==typeof e&&e&&"undefined"==typeof t)for(r in e)E.call(e,r)&&"string"==typeof r&&r&&"function"==typeof e[r]&&Ze.on(r,e[r]);if(s&&s.length){for(r=0,o=s.length;o>r;r++)e=s[r].replace(/^on/,""),a[e]=!0,H[e]||(H[e]=[]),H[e].push(t);if(a.ready&&V.ready&&Ze.emit({type:"ready"}),a.error){for(r=0,o=X.length;o>r;r++)if(V[X[r].replace(/^flash-/,"")]===!0){Ze.emit({type:"error",name:X[r]});break}i!==n&&Ze.version!==i&&Ze.emit({type:"error",name:"version-mismatch",jsVersion:Ze.version,swfVersion:i})}}return Ze},ie=function(e,t){var n,i,r,o,s;if(0===arguments.length)o=_(H);else if("string"==typeof e&&e)o=e.split(/\s+/);else if("object"==typeof e&&e&&"undefined"==typeof t)for(n in e)E.call(e,n)&&"string"==typeof n&&n&&"function"==typeof e[n]&&Ze.off(n,e[n]);if(o&&o.length)for(n=0,i=o.length;i>n;n++)if(e=o[n].toLowerCase().replace(/^on/,""),s=H[e],s&&s.length)if(t)for(r=s.indexOf(t);-1!==r;)s.splice(r,1),r=s.indexOf(t,r);else s.length=0;return Ze},re=function(e){var t;return t="string"==typeof e&&e?N(H[e])||null:N(H)},oe=function(e){var t,n,i;return e=me(e),e&&!xe(e)?"ready"===e.type&&V.overdue===!0?Ze.emit({type:"error",name:"flash-overdue"}):(t=A({},e),we.call(this,t),"copy"===e.type&&(i=De(U),n=i.data,B=i.formatMap),n):void 0},se=function(){var e=V.sandboxed;if(We(),"boolean"!=typeof V.ready&&(V.ready=!1),V.sandboxed!==e&&V.sandboxed===!0)V.ready=!1,Ze.emit({type:"error",name:"flash-sandboxed"});else if(!Ze.isFlashUnusable()&&null===V.bridge){var t=J.flashLoadTimeout;"number"==typeof t&&t>=0&&(q=c(function(){"boolean"!=typeof V.deactivated&&(V.deactivated=!0),V.deactivated===!0&&Ze.emit({type:"error",name:"flash-deactivated"})},t)),V.overdue=!1,Ne()}},ae=function(){Ze.clearData(),Ze.blur(),Ze.emit("destroy"),Te(),Ze.off()},le=function(e,t){var n;if("object"==typeof e&&e&&"undefined"==typeof t)n=e,Ze.clearData();else{if("string"!=typeof e||!e)return;n={},n[e]=t}for(var i in n)"string"==typeof i&&i&&E.call(n,i)&&"string"==typeof n[i]&&n[i]&&(U[i]=n[i])},ce=function(e){"undefined"==typeof e?(F(U),B=null):"string"==typeof e&&E.call(U,e)&&delete U[e]},ue=function(e){return"undefined"==typeof e?N(U):"string"==typeof e&&E.call(U,e)?U[e]:void 0},he=function(e){if(e&&1===e.nodeType){r&&(ze(r,J.activeClass),r!==e&&ze(r,J.hoverClass)),r=e,Ie(e,J.hoverClass);var t=e.getAttribute("title")||J.title;if("string"==typeof t&&t){var n=Ae(V.bridge);n&&n.setAttribute("title",t)}var i=J.forceHandCursor===!0||"pointer"===Re(e,"cursor");Be(i),Ue()}},pe=function(){var e=Ae(V.bridge);e&&(e.removeAttribute("title"),e.style.left="0px",e.style.top="-9999px",e.style.width="1px",e.style.height="1px"),r&&(ze(r,J.hoverClass),ze(r,J.activeClass),r=null)},de=function(){return r||null},fe=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||r||null,relatedTarget:e.relatedTarget||null,currentTarget:V&&V.bridge||null,timeStamp:e.timeStamp||w()||null});var n=Q[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:V.version}),"error"===e.type&&(G.test(e.name)&&A(e,{target:null,minimumVersion:M}),Y.test(e.name)&&A(e,{version:V.version})),"copy"===e.type&&(e.clipboardData={setData:Ze.setData,clearData:Ze.clearData}),"aftercopy"===e.type&&(e=Fe(e,B)),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?a.getElementById(t):null},ge=function(e){if(e&&/^_(?:click|mouse(?:over|out|down|up|move))$/.test(e.type)){var t=e.target,i="_mouseover"===e.type&&e.relatedTarget?e.relatedTarget:n,r="_mouseout"===e.type&&e.relatedTarget?e.relatedTarget:n,o=Ve(t),l=s.screenLeft||s.screenX||0,c=s.screenTop||s.screenY||0,u=a.body.scrollLeft+a.documentElement.scrollLeft,h=a.body.scrollTop+a.documentElement.scrollTop,p=o.left+("number"==typeof e._stageX?e._stageX:0),d=o.top+("number"==typeof e._stageY?e._stageY:0),f=p-u,m=d-h,v=l+f,g=c+m,y="number"==typeof e.movementX?e.movementX:0,b="number"==typeof e.movementY?e.movementY:0;delete e._stageX,delete e._stageY,A(e,{srcElement:t,fromElement:i,toElement:r,screenX:v,screenY:g,pageX:p,pageY:d,clientX:f,clientY:m,x:f,y:m,movementX:y,movementY:b,offsetX:0,offsetY:0,layerX:0,layerY:0})}return e},ye=function(e){var t=e&&"string"==typeof e.type&&e.type||"";return!/^(?:(?:before)?copy|destroy)$/.test(t)},be=function(e,t,n,i){i?c(function(){e.apply(t,n)},0):e.apply(t,n)},we=function(e){if("object"==typeof e&&e&&e.type){var t=ye(e),n=H["*"]||[],i=H[e.type]||[],r=n.concat(i);if(r&&r.length){var o,a,l,c,u,h=this;for(o=0,a=r.length;a>o;o++)l=r[o],c=h,"string"==typeof l&&"function"==typeof s[l]&&(l=s[l]),"object"==typeof l&&l&&"function"==typeof l.handleEvent&&(c=l,l=l.handleEvent),"function"==typeof l&&(u=A({},e),be(l,c,[u],t))}return this}},_e=function(e){var t=null;return(R===!1||e&&"error"===e.type&&e.name&&-1!==Z.indexOf(e.name))&&(t=!1),t},xe=function(e){var t=e.target||r||null,n="swf"===e._source;switch(delete e._source,e.type){case"error":var s="flash-sandboxed"===e.name||_e(e);"boolean"==typeof s&&(V.sandboxed=s),-1!==X.indexOf(e.name)?A(V,{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&&(i=e.swfVersion,A(V,{disabled:!1,outdated:!1,unavailable:!1,degraded:!1,deactivated:!1,overdue:!1,ready:!1})),He();break;case"ready":i=e.swfVersion;var a=V.deactivated===!0;A(V,{disabled:!1,outdated:!1,sandboxed:!1,unavailable:!1,degraded:!1,deactivated:!1,overdue:a,ready:!a}),He();break;case"beforecopy":o=t;break;case"copy":var l,c,u=e.relatedTarget;!U["text/html"]&&!U["text/plain"]&&u&&(c=u.value||u.outerHTML||u.innerHTML)&&(l=u.value||u.textContent||u.innerText)?(e.clipboardData.clearData(),e.clipboardData.setData("text/plain",l),c!==l&&e.clipboardData.setData("text/html",c)):!U["text/plain"]&&e.target&&(l=e.target.getAttribute("data-clipboard-text"))&&(e.clipboardData.clearData(),e.clipboardData.setData("text/plain",l));break;case"aftercopy":Ee(e),Ze.clearData(),t&&t!==Le()&&t.focus&&t.focus();break;case"_mouseover":Ze.focus(t),J.bubbleEvents===!0&&n&&(t&&t!==e.relatedTarget&&!$(e.relatedTarget,t)&&Ce(A({},e,{type:"mouseenter",bubbles:!1,cancelable:!1})),Ce(A({},e,{type:"mouseover"})));break;case"_mouseout":Ze.blur(),J.bubbleEvents===!0&&n&&(t&&t!==e.relatedTarget&&!$(e.relatedTarget,t)&&Ce(A({},e,{type:"mouseleave",bubbles:!1,cancelable:!1})),Ce(A({},e,{type:"mouseout"})));break;case"_mousedown":Ie(t,J.activeClass),J.bubbleEvents===!0&&n&&Ce(A({},e,{type:e.type.slice(1)}));break;case"_mouseup":ze(t,J.activeClass),J.bubbleEvents===!0&&n&&Ce(A({},e,{type:e.type.slice(1)}));break;case"_click":o=null,J.bubbleEvents===!0&&n&&Ce(A({},e,{type:e.type.slice(1)}));break;case"_mousemove":J.bubbleEvents===!0&&n&&Ce(A({},e,{type:e.type.slice(1)}))}return/^_(?:click|mouse(?:over|out|down|up|move))$/.test(e.type)?!0:void 0},Ee=function(e){if(e.errors&&e.errors.length>0){var t=N(e);A(t,{type:"error",name:"clipboard-error"}),delete t.success,c(function(){Ze.emit(t)},0)}},Ce=function(e){if(e&&"string"==typeof e.type&&e){var t,n=e.target||null,i=n&&n.ownerDocument||a,r={view:i.defaultView||s,canBubble:!0,cancelable:!0,detail:"click"===e.type?1:0,button:"number"==typeof e.which?e.which-1:"number"==typeof e.button?e.button:i.createEvent?0:1},o=A(r,e);n&&i.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=i.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=h(function(){var e=a.getElementById(n);Me(e)&&(He(),V.deactivated=null,Ze.emit({type:"error",name:"swf-not-found"}))},t)}},Oe=function(){var e=a.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=""+qe(J.zIndex),e},Ae=function(e){for(var t=e&&e.parentNode;t&&"OBJECT"===t.nodeName&&t.parentNode;)t=t.parentNode;return t||null},Ne=function(){var e,t=V.bridge,n=Ae(t);if(!t){var i=Pe(s.location.host,J),r="never"===i?"none":"all",o=je(A({jsVersion:Ze.version},J)),l=J.swfPath+$e(J.swfPath,J);n=Oe();var c=a.createElement("div");n.appendChild(c),a.body.appendChild(n);var u=a.createElement("div"),h="activex"===V.pluginType;u.innerHTML='"+(h?'':"")+'
 
',t=u.firstChild,u=null,k(t).ZeroClipboard=Ze,n.replaceChild(t,c),ke()}return t||(t=a[J.swfObjectId],t&&(e=t.length)&&(t=t[e-1]),!t&&n&&(t=n.firstChild)),V.bridge=t||null,t},Te=function(){var e=V.bridge;if(e){var t=Ae(e);t&&("activex"===V.pluginType&&"readyState"in e?(e.style.display="none",function r(){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 c(r,10)}()):(e.parentNode&&e.parentNode.removeChild(e),t.parentNode&&t.parentNode.removeChild(t))),He(),V.ready=null,V.bridge=null,V.deactivated=null,i=n}},De=function(e){var t={},n={};if("object"==typeof e&&e){for(var i in e)if(i&&E.call(e,i)&&"string"==typeof e[i]&&e[i])switch(i.toLowerCase()){case"text/plain":case"text":case"air:text":case"flash:text":t.text=e[i],n.text=i;break;case"text/html":case"html":case"air:html":case"flash:html":t.html=e[i],n.html=i;break;case"application/rtf":case"text/rtf":case"rtf":case"richtext":case"air:rtf":case"flash:rtf":t.rtf=e[i],n.rtf=i}return{data:t,formatMap:n}}},Fe=function(e,t){if("object"!=typeof e||!e||"object"!=typeof t||!t)return e;var n={};for(var i in e)if(E.call(e,i))if("errors"===i){n[i]=e[i]?e[i].slice():[];for(var r=0,o=n[i].length;o>r;r++)n[i][r].format=t[n[i][r].format]}else if("success"!==i&&"data"!==i)n[i]=e[i];else{n[i]={};var s=e[i];for(var a in s)a&&E.call(s,a)&&E.call(t,a)&&(n[i][t[a]]=s[a])}return n},$e=function(e,t){var n=null==t||t&&t.cacheBust===!0;return n?(-1===e.indexOf("?")?"?":"&")+"noCache="+w():""},je=function(e){var t,n,i,r,o="",a=[];if(e.trustedDomains&&("string"==typeof e.trustedDomains?r=[e.trustedDomains]:"object"==typeof e.trustedDomains&&"length"in e.trustedDomains&&(r=e.trustedDomains)),r&&r.length)for(t=0,n=r.length;n>t;t++)if(E.call(r,t)&&r[t]&&"string"==typeof r[t]){if(i=Se(r[t]),!i)continue;if("*"===i){a.length=0,a.push(i);break}a.push.apply(a,[i,"//"+i,s.location.protocol+"//"+i])}return a.length&&(o+="trustedOrigins="+f(a.join(","))),e.forceEnhancedClipboard===!0&&(o+=(o?"&":"")+"forceEnhancedClipboard=true"),"string"==typeof e.swfObjectId&&e.swfObjectId&&(o+=(o?"&":"")+"swfObjectId="+f(e.swfObjectId)),"string"==typeof e.jsVersion&&e.jsVersion&&(o+=(o?"&":"")+"jsVersion="+f(e.jsVersion)),o},Se=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},Pe=function(){var e=function(e){var t,n,i,r=[];if("string"==typeof e&&(e=[e]),"object"!=typeof e||!e||"number"!=typeof e.length)return r;for(t=0,n=e.length;n>t;t++)if(E.call(e,t)&&(i=Se(e[t]))){if("*"===i){r.length=0,r.push("*");break}-1===r.indexOf(i)&&r.push(i)}return r};return function(t,n){var i=Se(n.swfPath);null===i&&(i=t);var r=e(n.trustedDomains),o=r.length;if(o>0){if(1===o&&"*"===r[0])return"always";if(-1!==r.indexOf(t))return 1===o&&t===i?"sameDomain":"always"}return"never"}}(),Le=function(){try{return a.activeElement}catch(e){return null}},Ie=function(e,t){var n,i,r,o=[];if("string"==typeof t&&t&&(o=t.split(/\s+/)),e&&1===e.nodeType&&o.length>0)if(e.classList)for(n=0,i=o.length;i>n;n++)e.classList.add(o[n]);else if(e.hasOwnProperty("className")){for(r=" "+e.className+" ",n=0,i=o.length;i>n;n++)-1===r.indexOf(" "+o[n]+" ")&&(r+=o[n]+" ");e.className=r.replace(/^\s+|\s+$/g,"")}return e},ze=function(e,t){var n,i,r,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,i=o.length;i>n;n++)e.classList.remove(o[n]);else if(e.className){for(r=(" "+e.className+" ").replace(/[\r\n\t]/g," "),n=0,i=o.length;i>n;n++)r=r.replace(" "+o[n]+" "," ");e.className=r.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"},Ve=function(e){var t={left:0,top:0,width:0,height:0};if(e.getBoundingClientRect){var n=e.getBoundingClientRect(),i=s.pageXOffset,r=s.pageYOffset,o=a.documentElement.clientLeft||0,l=a.documentElement.clientTop||0,c=0,u=0;if("relative"===Re(a.body,"position")){var h=a.body.getBoundingClientRect(),p=a.documentElement.getBoundingClientRect();c=h.left-p.left||0,u=h.top-p.top||0}t.left=n.left+i-o-c,t.top=n.top+r-l-u,t.width="width"in n?n.width:n.right-n.left,t.height="height"in n?n.height:n.bottom-n.top}return t},Me=function(e){if(!e)return!1;var t=d(e,null),n=y(t.height)>0,i=y(t.width)>0,r=y(t.top)>=0,o=y(t.left)>=0,s=n&&i&&r&&o,a=s?null:Ve(e),l="none"!==t.display&&"collapse"!==t.visibility&&(s||!!a&&(n||a.height>0)&&(i||a.width>0)&&(r||a.top>=0)&&(o||a.left>=0));return l},He=function(){u(q),q=0,p(W),W=0},Ue=function(){var e;if(r&&(e=Ae(V.bridge))){var t=Ve(r);A(e.style,{width:t.width+"px",height:t.height+"px",top:t.top+"px",left:t.left+"px",zIndex:""+qe(J.zIndex)})}},Be=function(e){V.ready===!0&&(V.bridge&&"function"==typeof V.bridge.setHandCursor?V.bridge.setHandCursor(e):V.ready=!1)},qe=function(e){if(/^(?:auto|inherit)$/.test(e))return e;var t;return"number"!=typeof e||b(e)?"string"==typeof e&&(t=qe(g(e,10))):t=e,"number"==typeof t?t:"auto"},We=function(t){var n,i,r,o=V.sandboxed,s=null;if(t=t===!0,R===!1)s=!1;else{try{i=e.frameElement||null}catch(a){r={name:a.name,message:a.message}}if(i&&1===i.nodeType&&"IFRAME"===i.nodeName)try{s=i.hasAttribute("sandbox")}catch(a){s=null}else{try{n=document.domain||null}catch(a){n=null}(null===n||r&&"SecurityError"===r.name&&/(^|[\s\(\[@])sandbox(es|ed|ing|[\s\.,!\)\]@]|$)/.test(r.message.toLowerCase()))&&(s=!0)}}return V.sandboxed=s,o===s||t||Qe(m),s},Qe=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 i(e){e&&(a=!0,e.version&&(h=t(e.version)),!h&&e.description&&(h=t(e.description)),e.filename&&(u=n(e.filename)))}var r,o,s,a=!1,c=!1,u=!1,h="";if(l.plugins&&l.plugins.length)r=l.plugins["Shockwave Flash"],i(r),l.plugins["Shockwave Flash 2.0"]&&(a=!0,h="2.0.0.11");else if(l.mimeTypes&&l.mimeTypes.length)s=l.mimeTypes["application/x-shockwave-flash"],r=s&&s.enabledPlugin,i(r);else if("undefined"!=typeof e){c=!0;try{o=new e("ShockwaveFlash.ShockwaveFlash.7"),a=!0,h=t(o.GetVariable("$version"))}catch(p){try{o=new e("ShockwaveFlash.ShockwaveFlash.6"),a=!0,h="6.0.21"}catch(d){try{o=new e("ShockwaveFlash.ShockwaveFlash"),a=!0,h=t(o.GetVariable("$version"))}catch(f){c=!1}}}}V.disabled=a!==!0,V.outdated=h&&y(h)r;r++)e=s[r].replace(/^on/,""),a[e]=!0,c[e]||(c[e]=[]),c[e].push(t);if(a.ready&&V.ready&&this.emit({type:"ready",client:this}),a.error){for(r=0,o=X.length;o>r;r++)if(V[X[r].replace(/^flash-/,"")]){this.emit({type:"error",name:X[r],client:this});break}i!==n&&Ze.version!==i&&this.emit({type:"error",name:"version-mismatch",jsVersion:Ze.version,swfVersion:i})}}return this},nt=function(e,t){var n,i,r,o,s,a=Ge[this.id],l=a&&a.handlers;if(!l)return this;if(0===arguments.length)o=_(l);else if("string"==typeof e&&e)o=e.split(/\s+/);else if("object"==typeof e&&e&&"undefined"==typeof t)for(n in e)E.call(e,n)&&"string"==typeof n&&n&&"function"==typeof e[n]&&this.off(n,e[n]);if(o&&o.length)for(n=0,i=o.length;i>n;n++)if(e=o[n].toLowerCase().replace(/^on/,""),s=l[e],s&&s.length)if(t)for(r=s.indexOf(t);-1!==r;)s.splice(r,1),r=s.indexOf(t,r);else s.length=0;return this},it=function(e){var t=null,n=Ge[this.id]&&Ge[this.id].handlers;return n&&(t="string"==typeof e&&e?n[e]?n[e].slice(0):[]:N(n)),t},rt=function(e){if(ct.call(this,e)){"object"==typeof e&&e&&"string"==typeof e.type&&e.type&&(e=A({},e));var t=A({},me(e),{client:this});ut.call(this,t)}return this},ot=function(e){if(!Ge[this.id])throw new Error("Attempted to clip element(s) to a destroyed ZeroClipboard client instance"); -e=ht(e);for(var t=0;t0,r=!e.target||i&&-1!==n.indexOf(e.target),o=e.relatedTarget&&i&&-1!==n.indexOf(e.relatedTarget),s=e.client&&e.client===this;return t&&(r||o||s)?!0:!1},ut=function(e){var t=Ge[this.id];if("object"==typeof e&&e&&e.type&&t){var n=ye(e),i=t&&t.handlers["*"]||[],r=t&&t.handlers[e.type]||[],o=i.concat(r);if(o&&o.length){var a,l,c,u,h,p=this;for(a=0,l=o.length;l>a;a++)c=o[a],u=p,"string"==typeof c&&"function"==typeof s[c]&&(c=s[c]),"object"==typeof c&&c&&"function"==typeof c.handleEvent&&(u=c,c=c.handleEvent),"function"==typeof c&&(h=A({},e),be(c,u,[h],n))}}},ht=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=s.event))&&("js"!==e._source&&(e.stopImmediatePropagation(),e.preventDefault()),delete e._source)},n=function(n){(n||(n=s.event))&&(t(n),Ze.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,i,r=["move","leave","enter","out","over"],o=0,s=r.length;s>o;o++)n="mouse"+r[o],i=t[n],"function"==typeof i&&e.removeEventListener(n,i,!1);delete Ke[e.zcClippingId]}}};Ze._createClient=function(){et.apply(this,O(arguments))},Ze.prototype.on=function(){return tt.apply(this,O(arguments))},Ze.prototype.off=function(){return nt.apply(this,O(arguments))},Ze.prototype.handlers=function(){return it.apply(this,O(arguments))},Ze.prototype.emit=function(){return rt.apply(this,O(arguments))},Ze.prototype.clip=function(){return ot.apply(this,O(arguments))},Ze.prototype.unclip=function(){return st.apply(this,O(arguments))},Ze.prototype.elements=function(){return at.apply(this,O(arguments))},Ze.prototype.destroy=function(){return lt.apply(this,O(arguments))},Ze.prototype.setText=function(e){if(!Ge[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ze.setData("text/plain",e),this},Ze.prototype.setHtml=function(e){if(!Ge[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ze.setData("text/html",e),this},Ze.prototype.setRichText=function(e){if(!Ge[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ze.setData("application/rtf",e),this},Ze.prototype.setData=function(){if(!Ge[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ze.setData.apply(this,O(arguments)),this},Ze.prototype.clearData=function(){if(!Ge[this.id])throw new Error("Attempted to clear pending clipboard data from a destroyed ZeroClipboard client instance");return Ze.clearData.apply(this,O(arguments)),this},Ze.prototype.getData=function(){if(!Ge[this.id])throw new Error("Attempted to get pending clipboard data from a destroyed ZeroClipboard client instance");return Ze.getData.apply(this,O(arguments))},"function"==typeof define&&define.amd?define(function(){return Ze}):"object"==typeof t&&t&&"object"==typeof t.exports&&t.exports?t.exports=Ze:e.ZeroClipboard=Ze}(function(){return this||window}())},{}],80:[function(e,t,n){"use strict";var i=e("dropzone");t.exports={data:function(){return{images:[],hasMore:!1,page:0,cClickTime:0,selectedImage:!1,dependantPages:!1,deleteForm:{},token:document.querySelector("meta[name=token]").getAttribute("content"),dataLoaded:!1}},created:function(){window.ImageManager=this},ready:function(){this.setupDropZone()},methods:{fetchData:function(){var e=this;this.$http.get("/images/all/"+e.page,function(t){e.images=e.images.concat(t.images),e.hasMore=t.hasMore,e.page++})},setupDropZone:function(){var e=this;new i(e.$els.dropZone,{url:"/upload/image",init:function(){var t=this;this.on("sending",function(t,n,i){i.append("_token",e.token)}),this.on("success",function(n,i){e.images.unshift(i),$(n.previewElement).fadeOut(400,function(){t.removeFile(n)})}),this.on("error",function(e,t,n){t.file&&$(e.previewElement).find("[data-dz-errormessage]").text(t.file[0]),console.log(t)})}})},imageClick:function(e){var t=380,n=(new Date).getTime(),i=n-this.cClickTime;0!==this.cClickTime&&t>i&&this.selectedImage===e?(this.callback&&this.callback(e),this.hide()):(this.selectedImage=this.selectedImage===e?!1:e,this.dependantPages=!1),this.cClickTime=n},selectButtonClick:function(){this.callback&&this.callback(this.selectedImage),this.hide()},show:function(e){this.callback=e,this.$els.overlay.style.display="block",this.dataLoaded||(this.fetchData(this.page),this.dataLoaded=!0)},overlayClick:function(e){"overlay"===e.target.className&&this.hide()},hide:function(){this.$els.overlay.style.display="none"},saveImageDetails:function(e){e.preventDefault();var t=this;t.selectedImage._token=t.token;var n=$(t.$els.imageForm);$.ajax("/images/update/"+t.selectedImage.id,{method:"PUT",data:t.selectedImage}).done(function(){n.showSuccess("Image name updated")}).fail(function(e){n.showFailure(e.responseJSON)})},deleteImage:function(e){e.preventDefault();var t=this;t.deleteForm.force=t.dependantPages!==!1,t.deleteForm._token=t.token,$.ajax("/images/"+t.selectedImage.id,{method:"DELETE",data:t.deleteForm}).done(function(){t.images.splice(t.images.indexOf(t.selectedImage),1),t.selectedImage=!1,$(t.$els.imageTitle).showSuccess("Image Deleted")}).fail(function(e,n){400===e.status&&(t.dependantPages=e.responseJSON)})}}},("function"==typeof t.exports?t.exports.options:t.exports).template='\n
\n
\n
\n
\n
\n
\n \n
\n
Load More
\n
\n
\n \n
\n

Images

\n
\n
\n
Drop files or click here to upload
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n

\n This image is used in the pages below, Click delete again to confirm you want to delete\n this image.\n

\n \n
\n\n
\n \n
\n
\n
\n \n
\n
\n
\n
\n
\n',t.hot&&!function(){t.hot.accept();var n=e("vue-hot-reload-api");if(n.install(e("vue"),!0),n.compatible){var i="/home/dan/web/bookstack/resources/assets/js/components/image-manager.vue";t.hot.data?n.update(i,t.exports,t.exports.template):n.createRecord(i,t.exports)}}()},{dropzone:1,vue:77,"vue-hot-reload-api":3}],81:[function(e,t,n){"use strict";t.exports={props:["currentImage","name","imageClass","defaultImage"],data:function(){return{image:this.currentImage}},methods:{showImageManager:function(e){var t=this;ImageManager.show(function(e){t.image=e.url})},reset:function(){this.image=""},remove:function(){this.image="none"}}},("function"==typeof t.exports?t.exports.options:t.exports).template='\n
\n
\n Image Preview\n Image Preview\n
\n \n
\n | \n \n
\n',t.hot&&!function(){t.hot.accept();var n=e("vue-hot-reload-api");if(n.install(e("vue"),!0),n.compatible){var i="/home/dan/web/bookstack/resources/assets/js/components/image-picker.vue";t.hot.data?n.update(i,t.exports,t.exports.template):n.createRecord(i,t.exports)}}()},{vue:77,"vue-hot-reload-api":3}],82:[function(e,t,n){"use strict";t.exports={props:["name","value"],data:function(){return{isActive:1==this.value&&"false"!=this.value}},ready:function(){this.value=1==this.value&&"false"!=this.value?"true":"false"},methods:{"switch":function(){this.isActive=!this.isActive,this.value=this.isActive?"true":"false"}}},("function"==typeof t.exports?t.exports.options:t.exports).template='\n
\n \n
\n
\n',t.hot&&!function(){t.hot.accept();var n=e("vue-hot-reload-api");if(n.install(e("vue"),!0),n.compatible){var i="/home/dan/web/bookstack/resources/assets/js/components/toggle-switch.vue";t.hot.data?n.update(i,t.exports,t.exports.template):n.createRecord(i,t.exports)}}()},{vue:77,"vue-hot-reload-api":3}],83:[function(e,t,n){"use strict";function i(e){return null!==document.querySelector(e)}if(window.ZeroClipboard=e("zeroclipboard"),window.ZeroClipboard.config({swfPath:"/ZeroClipboard.swf"}),$(function(){$(".notification").click(function(){$(this).fadeOut(100)}),$("[data-dropdown]").dropDown(),$(".chapter-toggle").click(function(e){e.preventDefault(),$(this).toggleClass("open"),$(this).closest(".chapter").find(".inset-list").slideToggle(180)})}),i("#html-editor")){var r=e("./pages/page-form");tinymce.init(r)}var o=e("vue");o.use(e("vue-resource")),o.component("image-manager",e("./components/image-manager.vue")),o.component("image-picker",e("./components/image-picker.vue")),o.component("toggle-switch",e("./components/toggle-switch.vue")),i("#book-dashboard")&&new o(e("./pages/book-show"));new o({el:"#app"})},{"./components/image-manager.vue":80,"./components/image-picker.vue":81,"./components/toggle-switch.vue":82,"./pages/book-show":85,"./pages/page-form":86,vue:77,"vue-resource":5,zeroclipboard:79}],84:[function(e,t,n){"use strict";jQuery.fn.smoothScrollTo=function(){return 0!==this.length?($("body").animate({scrollTop:this.offset().top-60},800),this):void 0},$.expr[":"].contains=$.expr.createPseudo(function(e){return function(t){return $(t).text().toUpperCase().indexOf(e.toUpperCase())>=0}}),jQuery.fn.showSuccess=function(e){var t=$(this),n=$('");t.after(n),n.slideDown(400,function(){setTimeout(function(){n.slideUp(400,function(){n.remove()})},2e3)})},jQuery.fn.showFailure=function(e){var t=$(this);$.each(e,function(e,n){var i=t.find('[name="'+e+'"]').last(),r=$('");i.after(r),r.slideDown(400,function(){setTimeout(function(){r.slideUp(400,function(){r.remove()})},2e3)})})},jQuery.fn.submitForm=function(){$(this).closest("form").submit()},jQuery.fn.dropDown=function(){var e=$(this),t=e.find("ul");e.find("[data-dropdown-toggle]").on("click",function(){t.show().addClass("anim menuIn"),e.mouseleave(function(){t.hide(),t.removeClass("anim menuIn")})})}},{}],85:[function(e,t,n){"use strict";t.exports={el:"#book-dashboard",data:{searching:!1,searchTerm:"",searchResults:""},methods:{searchBook:function(e){e.preventDefault();var t=this.searchTerm;if(0!=t.length){this.searching=!0,this.searchResults="";var n=this.$els.form.getAttribute("action");n+="?term="+encodeURIComponent(t),this.$http.get(n,function(e){this.$set("searchResults",e)})}},checkSearchForm:function(e){this.searchTerm.length<1&&(this.searching=!1)},clearSearch:function(e){this.searching=!1,this.searchTerm=""}}}},{}],86:[function(e,t,n){"use strict";t.exports={selector:"#html-editor",content_css:["/build//css/styles-9bbd48e72b.css","//fonts.googleapis.com/css?family=Roboto:400,400italic,500,500italic,700,700italic,300italic,100,300"],body_class:"page-content",relative_urls:!1,statusbar:!1,menubar:!1,paste_data_images:!1,extended_valid_elements:"pre[*]",automatic_uploads:!1,valid_children:"-div[p|pre|h1|h2|h3|h4|h5|h6|blockquote]",plugins:"image table textcolor paste link fullscreen imagetools code hr autosave",imagetools_toolbar:"imageoptions",toolbar:"undo redo | styleselect | bold italic underline strikethrough superscript subscript | forecolor backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | table image-insert link hr | removeformat code fullscreen",content_style:"body {padding-left: 15px !important; padding-right: 15px !important; margin:0!important; margin-left:auto!important;margin-right:auto!important;}",style_formats:[{title:"Header 1",format:"h1"},{title:"Header 2",format:"h2"},{title:"Header 3",format:"h3"},{title:"Paragraph",format:"p"},{title:"Blockquote",format:"blockquote"},{title:"Code Block",icon:"code",format:"pre"},{title:"Inline Code",icon:"code",inline:"code"}],formats:{alignleft:{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img",classes:"align-left"},aligncenter:{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img",classes:"align-center"},alignright:{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img",classes:"align-right"}},file_browser_callback:function(e,t,n,i){ImageManager.show(function(t){if(i.document.getElementById(e).value=t.url,"createEvent"in document){var n=document.createEvent("HTMLEvents");n.initEvent("change",!1,!0),i.document.getElementById(e).dispatchEvent(n)}else i.document.getElementById(e).fireEvent("onchange")})},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 i=0;i');var u="image-"+Date.now()+"."+s;o.append("file",r,u),o.append("_token",document.querySelector('meta[name="token"]').getAttribute("content")),a.open("POST","/upload/image"),a.onload=function(){if(200===a.status||201===a.status){var t=JSON.parse(a.responseText);e.dom.setAttrib(c,"src",t.url)}else console.log("An error occured uploading the image"),console.log(a.responseText)},a.send(o)}}})}}},{}]},{},[84,83]); \ No newline at end of file +var i=Object.keys(n);for(t=i.length;t--;){var r=n[i[t]];"function"==typeof r&&(n[i[t]]={type:r})}}}function a(e){if(l.isArray(e)){for(var n,i={},r=e.length;r--;){n=e[r];var o="function"==typeof n?n.options&&n.options.name||n.id:n.name||n.id;o?i[o]=n:"production"!==t.env.NODE_ENV&&l.warn('Array-syntax assets must provide a "name" or "id" field.')}return i}return e}var l=e("./index"),c=e("../config"),u=l.extend,h=c.optionMergeStrategies=Object.create(null);h.data=function(e,n,r){return r?e||n?function(){var t="function"==typeof n?n.call(r):n,o="function"==typeof e?e.call(r):void 0;return t?i(t,o):o}:void 0:n?"function"!=typeof n?("production"!==t.env.NODE_ENV&&l.warn('The "data" option should be a function that returns a per-instance value in component definitions.'),e):e?function(){return i(n.call(this),e.call(this))}:n:e},h.el=function(e,n,i){if(!i&&n&&"function"!=typeof n)return void("production"!==t.env.NODE_ENV&&l.warn('The "el" option should be a function that returns a per-instance value in component definitions.'));var r=n||e;return i&&"function"==typeof r?r.call(i):r},h.init=h.created=h.ready=h.attached=h.detached=h.beforeCompile=h.compiled=h.beforeDestroy=h.destroyed=function(e,t){return t?e?e.concat(t):l.isArray(t)?t:[t]:e},h.paramAttributes=function(){"production"!==t.env.NODE_ENV&&l.warn('"paramAttributes" option has been deprecated in 0.12. Use "props" instead.')},c._assetTypes.forEach(function(e){h[e+"s"]=r}),h.watch=h.events=function(e,t){if(!t)return e;if(!e)return t;var n={};u(n,e);for(var i in t){var r=n[i],o=t[i];r&&!l.isArray(r)&&(r=[r]),n[i]=r?r.concat(o):[o]}return n},h.props=h.methods=h.computed=function(e,t){if(!t)return e;if(!e)return t;var n=Object.create(null);return u(n,e),u(n,t),n};var p=function(e,t){return void 0===t?e:t};n.mergeOptions=function d(e,t,n){function i(i){var r=h[i]||p;a[i]=r(e[i],t[i],n,i)}o(t),s(t);var r,a={};if(t.mixins)for(var l=0,c=t.mixins.length;c>l;l++)e=d(e,t.mixins[l],n);for(r in e)i(r);for(r in t)e.hasOwnProperty(r)||i(r);return a},n.resolveAsset=function(e,t,n){var i,r=e[t];return r[n]||r[i=l.camelize(n)]||r[i.charAt(0).toUpperCase()+i.slice(1)]}}).call(this,e("_process"))},{"../config":23,"./index":74,_process:2}],77:[function(e,t,n){(function(n){function i(e){this._init(e)}var r=e("./util"),o=r.extend;o(i,e("./api/global")),i.options={replace:!0,directives:e("./directives/public"),elementDirectives:e("./directives/element"),filters:e("./filters"),transitions:{},components:{},partials:{}};var s=i.prototype;Object.defineProperty(s,"$data",{get:function(){return this._data},set:function(e){e!==this._data&&this._setData(e)}}),o(s,e("./instance/init")),o(s,e("./instance/events")),o(s,e("./instance/state")),o(s,e("./instance/lifecycle")),o(s,e("./instance/misc")),o(s,e("./api/data")),o(s,e("./api/dom")),o(s,e("./api/events")),o(s,e("./api/lifecycle")),i.version="1.0.7",t.exports=r.Vue=i,"production"!==n.env.NODE_ENV&&r.inBrowser&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__.emit("init",i)}).call(this,e("_process"))},{"./api/data":12,"./api/dom":13,"./api/events":14,"./api/global":15,"./api/lifecycle":16,"./directives/element":25,"./directives/public":40,"./filters":51,"./instance/events":54,"./instance/init":55,"./instance/lifecycle":56,"./instance/misc":57,"./instance/state":58,"./util":74,_process:2}],78:[function(e,t,n){(function(n){function i(e,t,n,i){i&&o.extend(this,i);var r="function"==typeof t;if(this.vm=e,e._watchers.push(this),this.expression=r?t.toString():t,this.cb=n,this.id=++u,this.active=!0,this.dirty=this.lazy,this.deps=Object.create(null),this.newDeps=null,this.prevError=null,r)this.getter=t,this.setter=void 0;else{var s=l.parse(t,this.twoWay);this.getter=s.get,this.setter=s.set}this.value=this.lazy?void 0:this.get(),this.queued=this.shallow=!1}function r(e){var t,n;if(o.isArray(e))for(t=e.length;t--;)r(e[t]);else if(o.isObject(e))for(n=Object.keys(e),t=n.length;t--;)r(e[n[t]])}var o=e("./util"),s=e("./config"),a=e("./observer/dep"),l=e("./parsers/expression"),c=e("./batcher"),u=0;i.prototype.addDep=function(e){var t=e.id;this.newDeps[t]||(this.newDeps[t]=e,this.deps[t]||(this.deps[t]=e,e.addSub(this)))},i.prototype.get=function(){this.beforeGet();var e,t=this.scope||this.vm;try{e=this.getter.call(t,t)}catch(i){"production"!==n.env.NODE_ENV&&s.warnExpressionErrors&&o.warn('Error when evaluating expression "'+this.expression+'". '+(s.debug?"":"Turn on debug mode to see stack trace."),i)}return this.deep&&r(e),this.preProcess&&(e=this.preProcess(e)),this.filters&&(e=t._applyFilters(e,null,this.filters,!1)),this.postProcess&&(e=this.postProcess(e)),this.afterGet(),e},i.prototype.set=function(e){var t=this.scope||this.vm;this.filters&&(e=t._applyFilters(e,this.value,this.filters,!0));try{this.setter.call(t,t,e)}catch(i){"production"!==n.env.NODE_ENV&&s.warnExpressionErrors&&o.warn('Error when evaluating setter "'+this.expression+'"',i)}var r=t.$forContext;"production"!==n.env.NODE_ENV&&r&&r.filters&&new RegExp(r.alias+"\\b").test(this.expression)&&o.warn("It seems you are using two-way binding on a v-for alias ("+this.expression+"), and the v-for has filters. This will not work properly. Either remove the filters or use an array of objects and bind to object properties instead."),r&&r.alias===this.expression&&!r.filters&&(t.$key?r.rawValue[t.$key]=e:r.rawValue.$set(t.$index,e))},i.prototype.beforeGet=function(){a.target=this,this.newDeps=Object.create(null)},i.prototype.afterGet=function(){a.target=null;for(var e=Object.keys(this.deps),t=e.length;t--;){var n=e[t];this.newDeps[n]||this.deps[n].removeSub(this)}this.deps=this.newDeps},i.prototype.update=function(e){this.lazy?this.dirty=!0:this.sync||!s.async?this.run():(this.shallow=this.queued?e?this.shallow:!1:!!e,this.queued=!0,"production"!==n.env.NODE_ENV&&s.debug&&(this.prevError=new Error("[vue] async stack trace")),c.push(this))},i.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||(o.isArray(e)||this.deep)&&!this.shallow){var t=this.value;this.value=e;var i=this.prevError;if("production"!==n.env.NODE_ENV&&s.debug&&i){this.prevError=null;try{this.cb.call(this.vm,e,t)}catch(r){throw o.nextTick(function(){throw i},0),r}}else this.cb.call(this.vm,e,t)}this.queued=this.shallow=!1}},i.prototype.evaluate=function(){var e=a.target;this.value=this.get(),this.dirty=!1,a.target=e},i.prototype.depend=function(){for(var e=Object.keys(this.deps),t=e.length;t--;)this.deps[e[t]].depend()},i.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||this.vm._watchers.$remove(this);for(var e=Object.keys(this.deps),t=e.length;t--;)this.deps[e[t]].removeSub(this);this.active=!1,this.vm=this.cb=this.value=null}},t.exports=i}).call(this,e("_process"))},{"./batcher":17,"./config":23,"./observer/dep":60,"./parsers/expression":63,"./util":74,_process:2}],79:[function(e,t,n){!function(e,n){"use strict";var i,r,o,s=e,a=s.document,l=s.navigator,c=s.setTimeout,u=s.clearTimeout,h=s.setInterval,p=s.clearInterval,d=s.getComputedStyle,f=s.encodeURIComponent,m=s.ActiveXObject,v=s.Error,g=s.Number.parseInt||s.parseInt,y=s.Number.parseFloat||s.parseFloat,b=s.Number.isNaN||s.isNaN,w=s.Date.now,_=s.Object.keys,x=s.Object.defineProperty,E=s.Object.prototype.hasOwnProperty,C=s.Array.prototype.slice,k=function(){var e=function(e){return e};if("function"==typeof s.wrap&&"function"==typeof s.unwrap)try{var t=a.createElement("div"),n=s.unwrap(t);1===t.nodeType&&n&&1===n.nodeType&&(e=s.unwrap)}catch(i){}return e}(),O=function(e){return C.call(e,0)},A=function(){var e,t,i,r,o,s,a=O(arguments),l=a[0]||{};for(e=1,t=a.length;t>e;e++)if(null!=(i=a[e]))for(r in i)E.call(i,r)&&(o=l[r],s=i[r],l!==s&&s!==n&&(l[r]=s));return l},N=function(e){var t,n,i,r;if("object"!=typeof e||null==e||"number"==typeof e.nodeType)t=e;else if("number"==typeof e.length)for(t=[],n=0,i=e.length;i>n;n++)E.call(e,n)&&(t[n]=N(e[n]));else{t={};for(r in e)E.call(e,r)&&(t[r]=N(e[r]))}return t},T=function(e,t){for(var n={},i=0,r=t.length;r>i;i++)t[i]in e&&(n[t[i]]=e[t[i]]);return n},F=function(e,t){var n={};for(var i in e)-1===t.indexOf(i)&&(n[i]=e[i]);return n},D=function(e){if(e)for(var t in e)E.call(e,t)&&delete e[t];return e},$=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},j=function(e){var t;return"string"==typeof e&&e&&(t=e.split("#")[0].split("?")[0],t=e.slice(0,e.lastIndexOf("/")+1)),t},S=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},P=function(){var e,t;try{throw new v}catch(n){t=n}return t&&(e=t.sourceURL||t.fileName||S(t.stack)),e},I=function(){var e,t,i;if(a.currentScript&&(e=a.currentScript.src))return e;if(t=a.getElementsByTagName("script"),1===t.length)return t[0].src||n;if("readyState"in t[0])for(i=t.length;i--;)if("interactive"===t[i].readyState&&(e=t[i].src))return e;return"loading"===a.readyState&&(e=t[t.length-1].src)?e:(e=P())?e:n},L=function(){var e,t,i,r=a.getElementsByTagName("script");for(e=r.length;e--;){if(!(i=r[e].src)){t=null;break}if(i=j(i),null==t)t=i;else if(t!==i){t=null;break}}return t||n},z=function(){var e=j(I())||L()||"";return e+"ZeroClipboard.swf"},R=function(){return null==e.opener&&(!!e.top&&e!=e.top||!!e.parent&&e!=e.parent)}(),V={bridge:null,version:"0.0.0",pluginType:"unknown",disabled:null,outdated:null,sandboxed:null,unavailable:null,degraded:null,deactivated:null,overdue:null,ready:null},M="11.0.0",H={},U={},B=null,q=0,W=0,Q={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"}},Z=["flash-unavailable","flash-degraded","flash-overdue","version-mismatch","config-mismatch","clipboard-error"],X=["flash-disabled","flash-outdated","flash-sandboxed","flash-unavailable","flash-degraded","flash-deactivated","flash-overdue"],G=new RegExp("^flash-("+X.map(function(e){return e.replace(/^flash-/,"")}).join("|")+")$"),Y=new RegExp("^flash-("+X.slice(1).map(function(e){return e.replace(/^flash-/,"")}).join("|")+")$"),J={swfPath:z(),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(E.call(e,t))if(/^(?:forceHandCursor|title|zIndex|bubbleEvents)$/.test(t))J[t]=e[t];else if(null==V.bridge)if("containerId"===t||"swfObjectId"===t){if(!fe(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 N(J);if(E.call(J,e))return J[e]}},ee=function(){return We(),{browser:T(l,["userAgent","platform","appName"]),flash:F(V,["bridge"]),zeroclipboard:{version:Ze.version,config:Ze.config()}}},te=function(){return!!(V.disabled||V.outdated||V.sandboxed||V.unavailable||V.degraded||V.deactivated)},ne=function(e,t){var r,o,s,a={};if("string"==typeof e&&e)s=e.toLowerCase().split(/\s+/);else if("object"==typeof e&&e&&"undefined"==typeof t)for(r in e)E.call(e,r)&&"string"==typeof r&&r&&"function"==typeof e[r]&&Ze.on(r,e[r]);if(s&&s.length){for(r=0,o=s.length;o>r;r++)e=s[r].replace(/^on/,""),a[e]=!0,H[e]||(H[e]=[]),H[e].push(t);if(a.ready&&V.ready&&Ze.emit({type:"ready"}),a.error){for(r=0,o=X.length;o>r;r++)if(V[X[r].replace(/^flash-/,"")]===!0){Ze.emit({type:"error",name:X[r]});break}i!==n&&Ze.version!==i&&Ze.emit({type:"error",name:"version-mismatch",jsVersion:Ze.version,swfVersion:i})}}return Ze},ie=function(e,t){var n,i,r,o,s;if(0===arguments.length)o=_(H);else if("string"==typeof e&&e)o=e.split(/\s+/);else if("object"==typeof e&&e&&"undefined"==typeof t)for(n in e)E.call(e,n)&&"string"==typeof n&&n&&"function"==typeof e[n]&&Ze.off(n,e[n]);if(o&&o.length)for(n=0,i=o.length;i>n;n++)if(e=o[n].toLowerCase().replace(/^on/,""),s=H[e],s&&s.length)if(t)for(r=s.indexOf(t);-1!==r;)s.splice(r,1),r=s.indexOf(t,r);else s.length=0;return Ze},re=function(e){var t;return t="string"==typeof e&&e?N(H[e])||null:N(H)},oe=function(e){var t,n,i;return e=me(e),e&&!xe(e)?"ready"===e.type&&V.overdue===!0?Ze.emit({type:"error",name:"flash-overdue"}):(t=A({},e),we.call(this,t),"copy"===e.type&&(i=Fe(U),n=i.data,B=i.formatMap),n):void 0},se=function(){var e=V.sandboxed;if(We(),"boolean"!=typeof V.ready&&(V.ready=!1),V.sandboxed!==e&&V.sandboxed===!0)V.ready=!1,Ze.emit({type:"error",name:"flash-sandboxed"});else if(!Ze.isFlashUnusable()&&null===V.bridge){var t=J.flashLoadTimeout;"number"==typeof t&&t>=0&&(q=c(function(){"boolean"!=typeof V.deactivated&&(V.deactivated=!0),V.deactivated===!0&&Ze.emit({type:"error",name:"flash-deactivated"})},t)),V.overdue=!1,Ne()}},ae=function(){Ze.clearData(),Ze.blur(),Ze.emit("destroy"),Te(),Ze.off()},le=function(e,t){var n;if("object"==typeof e&&e&&"undefined"==typeof t)n=e,Ze.clearData();else{if("string"!=typeof e||!e)return;n={},n[e]=t}for(var i in n)"string"==typeof i&&i&&E.call(n,i)&&"string"==typeof n[i]&&n[i]&&(U[i]=n[i])},ce=function(e){"undefined"==typeof e?(D(U),B=null):"string"==typeof e&&E.call(U,e)&&delete U[e]},ue=function(e){return"undefined"==typeof e?N(U):"string"==typeof e&&E.call(U,e)?U[e]:void 0},he=function(e){if(e&&1===e.nodeType){r&&(ze(r,J.activeClass),r!==e&&ze(r,J.hoverClass)),r=e,Le(e,J.hoverClass);var t=e.getAttribute("title")||J.title;if("string"==typeof t&&t){var n=Ae(V.bridge);n&&n.setAttribute("title",t)}var i=J.forceHandCursor===!0||"pointer"===Re(e,"cursor");Be(i),Ue()}},pe=function(){var e=Ae(V.bridge);e&&(e.removeAttribute("title"),e.style.left="0px",e.style.top="-9999px",e.style.width="1px",e.style.height="1px"),r&&(ze(r,J.hoverClass),ze(r,J.activeClass),r=null)},de=function(){return r||null},fe=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||r||null,relatedTarget:e.relatedTarget||null,currentTarget:V&&V.bridge||null,timeStamp:e.timeStamp||w()||null});var n=Q[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:V.version}),"error"===e.type&&(G.test(e.name)&&A(e,{target:null,minimumVersion:M}),Y.test(e.name)&&A(e,{version:V.version})),"copy"===e.type&&(e.clipboardData={setData:Ze.setData,clearData:Ze.clearData}),"aftercopy"===e.type&&(e=De(e,B)),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?a.getElementById(t):null},ge=function(e){if(e&&/^_(?:click|mouse(?:over|out|down|up|move))$/.test(e.type)){var t=e.target,i="_mouseover"===e.type&&e.relatedTarget?e.relatedTarget:n,r="_mouseout"===e.type&&e.relatedTarget?e.relatedTarget:n,o=Ve(t),l=s.screenLeft||s.screenX||0,c=s.screenTop||s.screenY||0,u=a.body.scrollLeft+a.documentElement.scrollLeft,h=a.body.scrollTop+a.documentElement.scrollTop,p=o.left+("number"==typeof e._stageX?e._stageX:0),d=o.top+("number"==typeof e._stageY?e._stageY:0),f=p-u,m=d-h,v=l+f,g=c+m,y="number"==typeof e.movementX?e.movementX:0,b="number"==typeof e.movementY?e.movementY:0;delete e._stageX,delete e._stageY,A(e,{srcElement:t,fromElement:i,toElement:r,screenX:v,screenY:g,pageX:p,pageY:d,clientX:f,clientY:m,x:f,y:m,movementX:y,movementY:b,offsetX:0,offsetY:0,layerX:0,layerY:0})}return e},ye=function(e){var t=e&&"string"==typeof e.type&&e.type||"";return!/^(?:(?:before)?copy|destroy)$/.test(t)},be=function(e,t,n,i){i?c(function(){e.apply(t,n)},0):e.apply(t,n)},we=function(e){if("object"==typeof e&&e&&e.type){var t=ye(e),n=H["*"]||[],i=H[e.type]||[],r=n.concat(i);if(r&&r.length){var o,a,l,c,u,h=this;for(o=0,a=r.length;a>o;o++)l=r[o],c=h,"string"==typeof l&&"function"==typeof s[l]&&(l=s[l]),"object"==typeof l&&l&&"function"==typeof l.handleEvent&&(c=l,l=l.handleEvent),"function"==typeof l&&(u=A({},e),be(l,c,[u],t))}return this}},_e=function(e){var t=null;return(R===!1||e&&"error"===e.type&&e.name&&-1!==Z.indexOf(e.name))&&(t=!1),t},xe=function(e){var t=e.target||r||null,n="swf"===e._source;switch(delete e._source,e.type){case"error":var s="flash-sandboxed"===e.name||_e(e);"boolean"==typeof s&&(V.sandboxed=s),-1!==X.indexOf(e.name)?A(V,{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&&(i=e.swfVersion,A(V,{disabled:!1,outdated:!1,unavailable:!1,degraded:!1,deactivated:!1,overdue:!1,ready:!1})),He();break;case"ready":i=e.swfVersion;var a=V.deactivated===!0;A(V,{disabled:!1,outdated:!1,sandboxed:!1,unavailable:!1,degraded:!1,deactivated:!1,overdue:a,ready:!a}),He();break;case"beforecopy":o=t;break;case"copy":var l,c,u=e.relatedTarget;!U["text/html"]&&!U["text/plain"]&&u&&(c=u.value||u.outerHTML||u.innerHTML)&&(l=u.value||u.textContent||u.innerText)?(e.clipboardData.clearData(),e.clipboardData.setData("text/plain",l),c!==l&&e.clipboardData.setData("text/html",c)):!U["text/plain"]&&e.target&&(l=e.target.getAttribute("data-clipboard-text"))&&(e.clipboardData.clearData(),e.clipboardData.setData("text/plain",l));break;case"aftercopy":Ee(e),Ze.clearData(),t&&t!==Ie()&&t.focus&&t.focus();break;case"_mouseover":Ze.focus(t),J.bubbleEvents===!0&&n&&(t&&t!==e.relatedTarget&&!$(e.relatedTarget,t)&&Ce(A({},e,{type:"mouseenter",bubbles:!1,cancelable:!1})),Ce(A({},e,{type:"mouseover"})));break;case"_mouseout":Ze.blur(),J.bubbleEvents===!0&&n&&(t&&t!==e.relatedTarget&&!$(e.relatedTarget,t)&&Ce(A({},e,{type:"mouseleave",bubbles:!1,cancelable:!1})),Ce(A({},e,{type:"mouseout"})));break;case"_mousedown":Le(t,J.activeClass),J.bubbleEvents===!0&&n&&Ce(A({},e,{type:e.type.slice(1)}));break;case"_mouseup":ze(t,J.activeClass),J.bubbleEvents===!0&&n&&Ce(A({},e,{type:e.type.slice(1)}));break;case"_click":o=null,J.bubbleEvents===!0&&n&&Ce(A({},e,{type:e.type.slice(1)}));break;case"_mousemove":J.bubbleEvents===!0&&n&&Ce(A({},e,{type:e.type.slice(1)}))}return/^_(?:click|mouse(?:over|out|down|up|move))$/.test(e.type)?!0:void 0},Ee=function(e){if(e.errors&&e.errors.length>0){var t=N(e);A(t,{type:"error",name:"clipboard-error"}),delete t.success,c(function(){Ze.emit(t)},0)}},Ce=function(e){if(e&&"string"==typeof e.type&&e){var t,n=e.target||null,i=n&&n.ownerDocument||a,r={view:i.defaultView||s,canBubble:!0,cancelable:!0,detail:"click"===e.type?1:0,button:"number"==typeof e.which?e.which-1:"number"==typeof e.button?e.button:i.createEvent?0:1},o=A(r,e);n&&i.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=i.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=h(function(){var e=a.getElementById(n);Me(e)&&(He(),V.deactivated=null,Ze.emit({type:"error",name:"swf-not-found"}))},t)}},Oe=function(){var e=a.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=""+qe(J.zIndex),e},Ae=function(e){for(var t=e&&e.parentNode;t&&"OBJECT"===t.nodeName&&t.parentNode;)t=t.parentNode;return t||null},Ne=function(){var e,t=V.bridge,n=Ae(t);if(!t){var i=Pe(s.location.host,J),r="never"===i?"none":"all",o=je(A({jsVersion:Ze.version},J)),l=J.swfPath+$e(J.swfPath,J);n=Oe();var c=a.createElement("div");n.appendChild(c),a.body.appendChild(n);var u=a.createElement("div"),h="activex"===V.pluginType;u.innerHTML='"+(h?'':"")+'
 
',t=u.firstChild,u=null,k(t).ZeroClipboard=Ze,n.replaceChild(t,c),ke()}return t||(t=a[J.swfObjectId],t&&(e=t.length)&&(t=t[e-1]),!t&&n&&(t=n.firstChild)),V.bridge=t||null,t},Te=function(){var e=V.bridge;if(e){var t=Ae(e);t&&("activex"===V.pluginType&&"readyState"in e?(e.style.display="none",function r(){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 c(r,10)}()):(e.parentNode&&e.parentNode.removeChild(e),t.parentNode&&t.parentNode.removeChild(t))),He(),V.ready=null,V.bridge=null,V.deactivated=null,i=n}},Fe=function(e){var t={},n={};if("object"==typeof e&&e){for(var i in e)if(i&&E.call(e,i)&&"string"==typeof e[i]&&e[i])switch(i.toLowerCase()){case"text/plain":case"text":case"air:text":case"flash:text":t.text=e[i],n.text=i;break;case"text/html":case"html":case"air:html":case"flash:html":t.html=e[i],n.html=i;break;case"application/rtf":case"text/rtf":case"rtf":case"richtext":case"air:rtf":case"flash:rtf":t.rtf=e[i],n.rtf=i}return{data:t,formatMap:n}}},De=function(e,t){if("object"!=typeof e||!e||"object"!=typeof t||!t)return e;var n={};for(var i in e)if(E.call(e,i))if("errors"===i){n[i]=e[i]?e[i].slice():[];for(var r=0,o=n[i].length;o>r;r++)n[i][r].format=t[n[i][r].format]}else if("success"!==i&&"data"!==i)n[i]=e[i];else{n[i]={};var s=e[i];for(var a in s)a&&E.call(s,a)&&E.call(t,a)&&(n[i][t[a]]=s[a])}return n},$e=function(e,t){var n=null==t||t&&t.cacheBust===!0;return n?(-1===e.indexOf("?")?"?":"&")+"noCache="+w():""},je=function(e){var t,n,i,r,o="",a=[];if(e.trustedDomains&&("string"==typeof e.trustedDomains?r=[e.trustedDomains]:"object"==typeof e.trustedDomains&&"length"in e.trustedDomains&&(r=e.trustedDomains)),r&&r.length)for(t=0,n=r.length;n>t;t++)if(E.call(r,t)&&r[t]&&"string"==typeof r[t]){if(i=Se(r[t]),!i)continue;if("*"===i){a.length=0,a.push(i);break}a.push.apply(a,[i,"//"+i,s.location.protocol+"//"+i])}return a.length&&(o+="trustedOrigins="+f(a.join(","))),e.forceEnhancedClipboard===!0&&(o+=(o?"&":"")+"forceEnhancedClipboard=true"),"string"==typeof e.swfObjectId&&e.swfObjectId&&(o+=(o?"&":"")+"swfObjectId="+f(e.swfObjectId)),"string"==typeof e.jsVersion&&e.jsVersion&&(o+=(o?"&":"")+"jsVersion="+f(e.jsVersion)),o},Se=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},Pe=function(){var e=function(e){var t,n,i,r=[];if("string"==typeof e&&(e=[e]),"object"!=typeof e||!e||"number"!=typeof e.length)return r;for(t=0,n=e.length;n>t;t++)if(E.call(e,t)&&(i=Se(e[t]))){if("*"===i){r.length=0,r.push("*");break}-1===r.indexOf(i)&&r.push(i)}return r};return function(t,n){var i=Se(n.swfPath);null===i&&(i=t);var r=e(n.trustedDomains),o=r.length;if(o>0){if(1===o&&"*"===r[0])return"always";if(-1!==r.indexOf(t))return 1===o&&t===i?"sameDomain":"always"}return"never"}}(),Ie=function(){try{return a.activeElement}catch(e){return null}},Le=function(e,t){var n,i,r,o=[];if("string"==typeof t&&t&&(o=t.split(/\s+/)),e&&1===e.nodeType&&o.length>0)if(e.classList)for(n=0,i=o.length;i>n;n++)e.classList.add(o[n]);else if(e.hasOwnProperty("className")){for(r=" "+e.className+" ",n=0,i=o.length;i>n;n++)-1===r.indexOf(" "+o[n]+" ")&&(r+=o[n]+" ");e.className=r.replace(/^\s+|\s+$/g,"")}return e},ze=function(e,t){var n,i,r,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,i=o.length;i>n;n++)e.classList.remove(o[n]);else if(e.className){for(r=(" "+e.className+" ").replace(/[\r\n\t]/g," "),n=0,i=o.length;i>n;n++)r=r.replace(" "+o[n]+" "," ");e.className=r.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"},Ve=function(e){var t={left:0,top:0,width:0,height:0};if(e.getBoundingClientRect){var n=e.getBoundingClientRect(),i=s.pageXOffset,r=s.pageYOffset,o=a.documentElement.clientLeft||0,l=a.documentElement.clientTop||0,c=0,u=0;if("relative"===Re(a.body,"position")){var h=a.body.getBoundingClientRect(),p=a.documentElement.getBoundingClientRect();c=h.left-p.left||0,u=h.top-p.top||0}t.left=n.left+i-o-c,t.top=n.top+r-l-u,t.width="width"in n?n.width:n.right-n.left,t.height="height"in n?n.height:n.bottom-n.top}return t},Me=function(e){if(!e)return!1;var t=d(e,null),n=y(t.height)>0,i=y(t.width)>0,r=y(t.top)>=0,o=y(t.left)>=0,s=n&&i&&r&&o,a=s?null:Ve(e),l="none"!==t.display&&"collapse"!==t.visibility&&(s||!!a&&(n||a.height>0)&&(i||a.width>0)&&(r||a.top>=0)&&(o||a.left>=0));return l},He=function(){u(q),q=0,p(W),W=0},Ue=function(){var e;if(r&&(e=Ae(V.bridge))){var t=Ve(r);A(e.style,{width:t.width+"px",height:t.height+"px",top:t.top+"px",left:t.left+"px",zIndex:""+qe(J.zIndex)})}},Be=function(e){V.ready===!0&&(V.bridge&&"function"==typeof V.bridge.setHandCursor?V.bridge.setHandCursor(e):V.ready=!1)},qe=function(e){if(/^(?:auto|inherit)$/.test(e))return e;var t;return"number"!=typeof e||b(e)?"string"==typeof e&&(t=qe(g(e,10))):t=e,"number"==typeof t?t:"auto"},We=function(t){var n,i,r,o=V.sandboxed,s=null;if(t=t===!0,R===!1)s=!1;else{try{i=e.frameElement||null}catch(a){r={name:a.name,message:a.message}}if(i&&1===i.nodeType&&"IFRAME"===i.nodeName)try{s=i.hasAttribute("sandbox")}catch(a){s=null}else{try{n=document.domain||null}catch(a){n=null}(null===n||r&&"SecurityError"===r.name&&/(^|[\s\(\[@])sandbox(es|ed|ing|[\s\.,!\)\]@]|$)/.test(r.message.toLowerCase()))&&(s=!0)}}return V.sandboxed=s,o===s||t||Qe(m),s},Qe=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 i(e){e&&(a=!0,e.version&&(h=t(e.version)),!h&&e.description&&(h=t(e.description)),e.filename&&(u=n(e.filename)))}var r,o,s,a=!1,c=!1,u=!1,h="";if(l.plugins&&l.plugins.length)r=l.plugins["Shockwave Flash"],i(r),l.plugins["Shockwave Flash 2.0"]&&(a=!0,h="2.0.0.11");else if(l.mimeTypes&&l.mimeTypes.length)s=l.mimeTypes["application/x-shockwave-flash"],r=s&&s.enabledPlugin,i(r);else if("undefined"!=typeof e){c=!0;try{o=new e("ShockwaveFlash.ShockwaveFlash.7"),a=!0,h=t(o.GetVariable("$version"))}catch(p){try{o=new e("ShockwaveFlash.ShockwaveFlash.6"),a=!0,h="6.0.21"}catch(d){try{o=new e("ShockwaveFlash.ShockwaveFlash"),a=!0,h=t(o.GetVariable("$version"))}catch(f){c=!1}}}}V.disabled=a!==!0,V.outdated=h&&y(h)r;r++)e=s[r].replace(/^on/,""),a[e]=!0,c[e]||(c[e]=[]),c[e].push(t);if(a.ready&&V.ready&&this.emit({type:"ready",client:this}),a.error){for(r=0,o=X.length;o>r;r++)if(V[X[r].replace(/^flash-/,"")]){this.emit({type:"error",name:X[r],client:this});break}i!==n&&Ze.version!==i&&this.emit({type:"error",name:"version-mismatch",jsVersion:Ze.version,swfVersion:i})}}return this},nt=function(e,t){var n,i,r,o,s,a=Ge[this.id],l=a&&a.handlers;if(!l)return this;if(0===arguments.length)o=_(l);else if("string"==typeof e&&e)o=e.split(/\s+/);else if("object"==typeof e&&e&&"undefined"==typeof t)for(n in e)E.call(e,n)&&"string"==typeof n&&n&&"function"==typeof e[n]&&this.off(n,e[n]);if(o&&o.length)for(n=0,i=o.length;i>n;n++)if(e=o[n].toLowerCase().replace(/^on/,""),s=l[e],s&&s.length)if(t)for(r=s.indexOf(t);-1!==r;)s.splice(r,1),r=s.indexOf(t,r);else s.length=0;return this},it=function(e){var t=null,n=Ge[this.id]&&Ge[this.id].handlers;return n&&(t="string"==typeof e&&e?n[e]?n[e].slice(0):[]:N(n)),t},rt=function(e){if(ct.call(this,e)){"object"==typeof e&&e&&"string"==typeof e.type&&e.type&&(e=A({},e));var t=A({},me(e),{client:this});ut.call(this,t)}return this},ot=function(e){if(!Ge[this.id])throw new Error("Attempted to clip element(s) to a destroyed ZeroClipboard client instance"); +e=ht(e);for(var t=0;t0,r=!e.target||i&&-1!==n.indexOf(e.target),o=e.relatedTarget&&i&&-1!==n.indexOf(e.relatedTarget),s=e.client&&e.client===this;return t&&(r||o||s)?!0:!1},ut=function(e){var t=Ge[this.id];if("object"==typeof e&&e&&e.type&&t){var n=ye(e),i=t&&t.handlers["*"]||[],r=t&&t.handlers[e.type]||[],o=i.concat(r);if(o&&o.length){var a,l,c,u,h,p=this;for(a=0,l=o.length;l>a;a++)c=o[a],u=p,"string"==typeof c&&"function"==typeof s[c]&&(c=s[c]),"object"==typeof c&&c&&"function"==typeof c.handleEvent&&(u=c,c=c.handleEvent),"function"==typeof c&&(h=A({},e),be(c,u,[h],n))}}},ht=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=s.event))&&("js"!==e._source&&(e.stopImmediatePropagation(),e.preventDefault()),delete e._source)},n=function(n){(n||(n=s.event))&&(t(n),Ze.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,i,r=["move","leave","enter","out","over"],o=0,s=r.length;s>o;o++)n="mouse"+r[o],i=t[n],"function"==typeof i&&e.removeEventListener(n,i,!1);delete Ke[e.zcClippingId]}}};Ze._createClient=function(){et.apply(this,O(arguments))},Ze.prototype.on=function(){return tt.apply(this,O(arguments))},Ze.prototype.off=function(){return nt.apply(this,O(arguments))},Ze.prototype.handlers=function(){return it.apply(this,O(arguments))},Ze.prototype.emit=function(){return rt.apply(this,O(arguments))},Ze.prototype.clip=function(){return ot.apply(this,O(arguments))},Ze.prototype.unclip=function(){return st.apply(this,O(arguments))},Ze.prototype.elements=function(){return at.apply(this,O(arguments))},Ze.prototype.destroy=function(){return lt.apply(this,O(arguments))},Ze.prototype.setText=function(e){if(!Ge[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ze.setData("text/plain",e),this},Ze.prototype.setHtml=function(e){if(!Ge[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ze.setData("text/html",e),this},Ze.prototype.setRichText=function(e){if(!Ge[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ze.setData("application/rtf",e),this},Ze.prototype.setData=function(){if(!Ge[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ze.setData.apply(this,O(arguments)),this},Ze.prototype.clearData=function(){if(!Ge[this.id])throw new Error("Attempted to clear pending clipboard data from a destroyed ZeroClipboard client instance");return Ze.clearData.apply(this,O(arguments)),this},Ze.prototype.getData=function(){if(!Ge[this.id])throw new Error("Attempted to get pending clipboard data from a destroyed ZeroClipboard client instance");return Ze.getData.apply(this,O(arguments))},"function"==typeof define&&define.amd?define(function(){return Ze}):"object"==typeof t&&t&&"object"==typeof t.exports&&t.exports?t.exports=Ze:e.ZeroClipboard=Ze}(function(){return this||window}())},{}],80:[function(e,t,n){"use strict";var i=e("dropzone");t.exports={data:function(){return{images:[],hasMore:!1,page:0,cClickTime:0,selectedImage:!1,dependantPages:!1,deleteForm:{},token:document.querySelector("meta[name=token]").getAttribute("content"),dataLoaded:!1}},props:{imageType:{type:String,required:!0}},created:function(){window.ImageManager=this},ready:function(){this.setupDropZone()},methods:{fetchData:function(){var e=this;this.$http.get("/images/"+e.imageType+"/all/"+e.page,function(t){e.images=e.images.concat(t.images),e.hasMore=t.hasMore,e.page++})},setupDropZone:function(){var e=this;new i(e.$els.dropZone,{url:"/images/"+e.imageType+"/upload",init:function(){var t=this;this.on("sending",function(t,n,i){i.append("_token",e.token)}),this.on("success",function(n,i){e.images.unshift(i),$(n.previewElement).fadeOut(400,function(){t.removeFile(n)})}),this.on("error",function(e,t,n){t.file&&$(e.previewElement).find("[data-dz-errormessage]").text(t.file[0]),console.log(t)})}})},returnCallback:function(e){this.callback(e)},imageClick:function(e){var t=380,n=(new Date).getTime(),i=n-this.cClickTime;0!==this.cClickTime&&t>i&&this.selectedImage===e?(this.callback&&this.returnCallback(e),this.hide()):(this.selectedImage=this.selectedImage===e?!1:e,this.dependantPages=!1),this.cClickTime=n},selectButtonClick:function(){this.callback&&this.returnCallback(this.selectedImage),this.hide()},show:function(e){this.callback=e,this.$els.overlay.style.display="block",this.dataLoaded||(this.fetchData(this.page),this.dataLoaded=!0)},overlayClick:function(e){"overlay"===e.target.className&&this.hide()},hide:function(){this.$els.overlay.style.display="none"},saveImageDetails:function(e){e.preventDefault();var t=this;t.selectedImage._token=t.token;var n=$(t.$els.imageForm);$.ajax("/images/update/"+t.selectedImage.id,{method:"PUT",data:t.selectedImage}).done(function(){n.showSuccess("Image name updated")}).fail(function(e){n.showFailure(e.responseJSON)})},deleteImage:function(e){e.preventDefault();var t=this;t.deleteForm.force=t.dependantPages!==!1,t.deleteForm._token=t.token,$.ajax("/images/"+t.selectedImage.id,{method:"DELETE",data:t.deleteForm}).done(function(){t.images.splice(t.images.indexOf(t.selectedImage),1),t.selectedImage=!1,$(t.$els.imageTitle).showSuccess("Image Deleted")}).fail(function(e,n){400===e.status&&(t.dependantPages=e.responseJSON)})}}},("function"==typeof t.exports?t.exports.options:t.exports).template='\n
\n
\n
\n
\n
\n
\n \n
\n
Load More
\n
\n
\n \n
\n

Images

\n
\n
\n
Drop files or click here to upload
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n

\n This image is used in the pages below, Click delete again to confirm you want to delete\n this image.\n

\n \n
\n\n
\n \n
\n
\n
\n \n
\n
\n
\n
\n
\n',t.hot&&!function(){t.hot.accept();var n=e("vue-hot-reload-api");if(n.install(e("vue"),!0),n.compatible){var i="/home/dan/web/bookstack/resources/assets/js/components/image-manager.vue";t.hot.data?n.update(i,t.exports,t.exports.template):n.createRecord(i,t.exports)}}()},{dropzone:1,vue:77,"vue-hot-reload-api":3}],81:[function(e,t,n){"use strict";t.exports={props:{currentImage:{required:!0,type:String},currentId:{required:!1,"default":"false",type:String},name:{required:!0,type:String},defaultImage:{required:!0,type:String},imageClass:{required:!0,type:String},resizeWidth:{type:String},resizeHeight:{type:String},resizeCrop:{type:Boolean},showRemove:{type:Boolean,"default":"true"}},data:function(){return{image:this.currentImage,value:!1}},compiled:function(){this.value="false"===this.currentId?this.currentImage:this.currentId},methods:{setCurrentValue:function(e,t){this.image=t,this.value="false"===this.currentId?t:e.id},showImageManager:function(e){var t=this;ImageManager.show(function(e){t.updateImageFromModel(e)})},reset:function(){this.setCurrentValue({id:0},this.defaultImage)},remove:function(){this.image="none"},updateImageFromModel:function(e){var t=this,n=t.resizeWidth&&t.resizeHeight;if(!n)return void t.setCurrentValue(e,e.url);var i=t.resizeCrop?"true":"false",r="/images/thumb/"+e.id+"/"+t.resizeWidth+"/"+t.resizeHeight+"/"+i;t.$http.get(r,function(n){t.setCurrentValue(e,n.url)})}}},("function"==typeof t.exports?t.exports.options:t.exports).template='\n
\n
\n Image Preview\n Image Preview\n
\n \n
\n | \n \n
\n',t.hot&&!function(){t.hot.accept();var n=e("vue-hot-reload-api");if(n.install(e("vue"),!0),n.compatible){var i="/home/dan/web/bookstack/resources/assets/js/components/image-picker.vue";t.hot.data?n.update(i,t.exports,t.exports.template):n.createRecord(i,t.exports)}}()},{vue:77,"vue-hot-reload-api":3}],82:[function(e,t,n){"use strict";t.exports={props:["name","value"],data:function(){return{isActive:1==this.value&&"false"!=this.value}},ready:function(){this.value=1==this.value&&"false"!=this.value?"true":"false"},methods:{"switch":function(){this.isActive=!this.isActive,this.value=this.isActive?"true":"false"}}},("function"==typeof t.exports?t.exports.options:t.exports).template='\n
\n \n
\n
\n',t.hot&&!function(){t.hot.accept();var n=e("vue-hot-reload-api");if(n.install(e("vue"),!0),n.compatible){var i="/home/dan/web/bookstack/resources/assets/js/components/toggle-switch.vue";t.hot.data?n.update(i,t.exports,t.exports.template):n.createRecord(i,t.exports)}}()},{vue:77,"vue-hot-reload-api":3}],83:[function(e,t,n){"use strict";function i(e){return null!==document.querySelector(e)}if(window.ZeroClipboard=e("zeroclipboard"),window.ZeroClipboard.config({swfPath:"/ZeroClipboard.swf"}),$(function(){$(".notification").click(function(){$(this).fadeOut(100)}),$("[data-dropdown]").dropDown(),$(".chapter-toggle").click(function(e){e.preventDefault(),$(this).toggleClass("open"),$(this).closest(".chapter").find(".inset-list").slideToggle(180)})}),i("#html-editor")){var r=e("./pages/page-form");tinymce.init(r)}var o=e("vue");o.use(e("vue-resource")),o.component("image-manager",e("./components/image-manager.vue")),o.component("image-picker",e("./components/image-picker.vue")),o.component("toggle-switch",e("./components/toggle-switch.vue")),i("#book-dashboard")&&new o(e("./pages/book-show"));new o({el:"#app"})},{"./components/image-manager.vue":80,"./components/image-picker.vue":81,"./components/toggle-switch.vue":82,"./pages/book-show":85,"./pages/page-form":86,vue:77,"vue-resource":5,zeroclipboard:79}],84:[function(e,t,n){"use strict";jQuery.fn.smoothScrollTo=function(){return 0!==this.length?($("body").animate({scrollTop:this.offset().top-60},800),this):void 0},$.expr[":"].contains=$.expr.createPseudo(function(e){return function(t){return $(t).text().toUpperCase().indexOf(e.toUpperCase())>=0}}),jQuery.fn.showSuccess=function(e){var t=$(this),n=$('");t.after(n),n.slideDown(400,function(){setTimeout(function(){n.slideUp(400,function(){n.remove()})},2e3)})},jQuery.fn.showFailure=function(e){var t=$(this);$.each(e,function(e,n){var i=t.find('[name="'+e+'"]').last(),r=$('");i.after(r),r.slideDown(400,function(){setTimeout(function(){r.slideUp(400,function(){r.remove()})},2e3)})})},jQuery.fn.submitForm=function(){$(this).closest("form").submit()},jQuery.fn.dropDown=function(){var e=$(this),t=e.find("ul");e.find("[data-dropdown-toggle]").on("click",function(){t.show().addClass("anim menuIn"),e.mouseleave(function(){t.hide(),t.removeClass("anim menuIn")})})}},{}],85:[function(e,t,n){"use strict";t.exports={el:"#book-dashboard",data:{searching:!1,searchTerm:"",searchResults:""},methods:{searchBook:function(e){e.preventDefault();var t=this.searchTerm;if(0!=t.length){this.searching=!0,this.searchResults="";var n=this.$els.form.getAttribute("action");n+="?term="+encodeURIComponent(t),this.$http.get(n,function(e){this.$set("searchResults",e)})}},checkSearchForm:function(e){this.searchTerm.length<1&&(this.searching=!1)},clearSearch:function(e){this.searching=!1,this.searchTerm=""}}}},{}],86:[function(e,t,n){"use strict";t.exports={selector:"#html-editor",content_css:["/css/styles.css","//fonts.googleapis.com/css?family=Roboto:400,400italic,500,500italic,700,700italic,300italic,100,300"],body_class:"page-content",relative_urls:!1,statusbar:!1,menubar:!1,paste_data_images:!1,extended_valid_elements:"pre[*]",automatic_uploads:!1,valid_children:"-div[p|pre|h1|h2|h3|h4|h5|h6|blockquote]",plugins:"image table textcolor paste link fullscreen imagetools code hr autosave",imagetools_toolbar:"imageoptions",toolbar:"undo redo | styleselect | bold italic underline strikethrough superscript subscript | forecolor backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | table image-insert link hr | removeformat code fullscreen",content_style:"body {padding-left: 15px !important; padding-right: 15px !important; margin:0!important; margin-left:auto!important;margin-right:auto!important;}",style_formats:[{title:"Header 1",format:"h1"},{title:"Header 2",format:"h2"},{title:"Header 3",format:"h3"},{title:"Paragraph",format:"p"},{title:"Blockquote",format:"blockquote"},{title:"Code Block",icon:"code",format:"pre"},{title:"Inline Code",icon:"code",inline:"code"}],formats:{alignleft:{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img",classes:"align-left"},aligncenter:{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img",classes:"align-center"},alignright:{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img",classes:"align-right"}},file_browser_callback:function(e,t,n,i){ImageManager.show(function(t){if(i.document.getElementById(e).value=t.url,"createEvent"in document){var n=document.createEvent("HTMLEvents");n.initEvent("change",!1,!0),i.document.getElementById(e).dispatchEvent(n)}else i.document.getElementById(e).fireEvent("onchange")})},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 i=0;i');var u="image-"+Date.now()+"."+s;o.append("file",r,u),o.append("_token",document.querySelector('meta[name="token"]').getAttribute("content")),a.open("POST","/upload/image"),a.onload=function(){if(200===a.status||201===a.status){var t=JSON.parse(a.responseText);e.dom.setAttrib(c,"src",t.url)}else console.log("An error occured uploading the image"),console.log(a.responseText)},a.send(o)}}})}}},{}]},{},[84,83]); \ No newline at end of file From f184d763ad45b6e46d53ccc27e4a2ade856c10bd Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Wed, 16 Dec 2015 17:53:53 +0000 Subject: [PATCH 04/54] Added build folder to release --- .gitignore | 1 - public/build/manifest.json | 5 +++++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 public/build/manifest.json diff --git a/.gitignore b/.gitignore index addc046d280..3f3dfdc3df1 100644 --- a/.gitignore +++ b/.gitignore @@ -9,7 +9,6 @@ Homestead.yaml /public/js/*.map /public/uploads /public/bower -/public/build /storage/images _ide_helper.php /storage/debugbar \ No newline at end of file diff --git a/public/build/manifest.json b/public/build/manifest.json new file mode 100644 index 00000000000..7e9c6d3324c --- /dev/null +++ b/public/build/manifest.json @@ -0,0 +1,5 @@ +{ + "css/styles.css": "css/styles.css?version=bdb0019", + "css/print-styles.css": "css/print-styles.css?version=bdb0019", + "js/common.js": "js/common.js?version=bdb0019" +} \ No newline at end of file From 3b3bc0c4bffb6d9e735eca9d99dbcdb88cd104e4 Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Thu, 31 Dec 2015 17:26:22 +0000 Subject: [PATCH 05/54] Updated compiled assets --- public/build/manifest.json | 6 +++--- public/css/print-styles.css | 2 +- public/css/styles.css | 2 +- public/js/common.js | 15 +++++++++------ 4 files changed, 14 insertions(+), 11 deletions(-) diff --git a/public/build/manifest.json b/public/build/manifest.json index 7e9c6d3324c..fb645917e90 100644 --- a/public/build/manifest.json +++ b/public/build/manifest.json @@ -1,5 +1,5 @@ { - "css/styles.css": "css/styles.css?version=bdb0019", - "css/print-styles.css": "css/print-styles.css?version=bdb0019", - "js/common.js": "js/common.js?version=bdb0019" + "css/styles.css": "css/styles.css?version=9100af6", + "css/print-styles.css": "css/print-styles.css?version=9100af6", + "js/common.js": "js/common.js?version=9100af6" } \ No newline at end of file diff --git a/public/css/print-styles.css b/public/css/print-styles.css index 0f8d8aaa3ce..ab2cd8fb812 100644 --- a/public/css/print-styles.css +++ b/public/css/print-styles.css @@ -1 +1 @@ -.faded-small,.print-hidden,header{display:none}body{font-size:12px}.page-content{margin:0 auto}.print-full-width{width:100%;float:none;display:block}h2{font-size:2em;line-height:1;margin-top:.6em;margin-bottom:.3em} \ No newline at end of file +.faded-small,.print-hidden,header{display:none}@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}body{font-size:12px}.page-content{margin:0 auto}.print-full-width{width:100%;float:none;display:block}h2{font-size:2em;line-height:1;margin-top:.6em;margin-bottom:.3em} \ No newline at end of file diff --git a/public/css/styles.css b/public/css/styles.css index 3be090dbceb..7d246e8f1bb 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}ol,ul{margin-left:24px}.link,.text-button,a,body{font-family:Roboto,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}*{box-sizing:border-box}html{background-color:#FFF;height:100%}body{font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}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:.5em}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-chapter,.text-chapter:hover{color:#ef7c3c}span.highlight{font-weight:700}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}.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{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,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=search],input[type=url],input[type=password],input[type=number],input[type=email],select,textarea{background-color:#FFF;border-radius:3px;border:1px solid #CCC;display:inline-block;font-size:14px;font-family:Roboto,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=search],input.invalid[type=url],input.invalid[type=password],input.invalid[type=number],input.invalid[type=email],input.neg[type=text],input.neg[type=search],input.neg[type=url],input.neg[type=password],input.neg[type=number],input.neg[type=email],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=search],input.pos[type=url],input.pos[type=password],input.pos[type=number],input.pos[type=email],input.valid[type=text],input.valid[type=search],input.valid[type=url],input.valid[type=password],input.valid[type=number],input.valid[type=email],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=search],input.disabled[type=url],input.disabled[type=password],input.disabled[type=number],input.disabled[type=email],input[disabled][type=text],input[disabled][type=search],input[disabled][type=url],input[disabled][type=password],input[disabled][type=number],input[disabled][type=email],select.disabled,select[disabled],textarea.disabled,textarea[disabled]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAMUlEQVQIW2NkwAGuXbv2nxGbHEhCS0uLEUMSJgHShCKJLIEiiS4Bl8QmAZbEJQGSBAC62BuJ+tt7zgAAAABJRU5ErkJggg==)}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}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,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%}.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;display:none;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;max-width:1340px;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 img{display:block;border-radius:0;float:left;margin:0;cursor:pointer;width:16.6666666667%;height:auto;border:1px solid #FFF;transition:all cubic-bezier(.4,0,1,1) 160ms}.image-manager-list img.selected{-webkit-transform:scale3d(.92,.92,.92);transform:scale3d(.92,.92,.92)}#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}.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:8px;font-size:13px;top:130px;left:-10px;width:140px;background:#be2626;background:linear-gradient(to bottom,#be2626,#a92222);padding:.5em 1.2em;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 #be2626}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:7.2px}@media screen and (max-width:992px){header .user-name{padding-left:6px}header .user-name .name{display:none}header .user-name i{font-size:2em;padding-left:0;padding-top:0}header{text-align:center}header .float.right{float:none}}.dropdown-container,.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}}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{vertical-align:top;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;text-decoration:none}.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}.dropdown-container{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}.page-list .page,.page-list h4{border-left:5px solid #0288D1}.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}.breadcrumbs span.sep{color:#aaa;padding:0 6px}.faded a,.faded button,.faded span{color:#666}.faded .text-button{opacity:.5;transition:all ease-in-out 120ms}.faded .text-button:hover{opacity:1;text-decoration:none}.faded-small{color:#000;font-size:.9em;background-color:rgba(21,101,192,.15)}.action-buttons .text-button,.breadcrumbs .text-button{display:inline-block;padding:12px}.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}.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;padding:6px 0 6px 16px}.page-list hr{margin-top:0}.page-list .book,.page-list .chapter,.page-list .page{padding-left:24px}.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{margin-top:32px}.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;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:hover{background-color:rgba(255,255,255,.2);text-decoration:none}.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 .sub-menu{display:none}.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}.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;-moz-hyphens:auto;-ms-hyphens:auto;hyphens:auto}.pointer-container{position:relative;display:none;left:2%}.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}.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:1}.pointer input{background-color:#FFF;border:1px solid #DDD;color:#666;width:180px;z-index:40}.avatar,.notification{background-color:#EEE}.pointer button,.pointer input{position:relative;border-radius:0;height:28px;font-size:12px}.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}.dragged{position:absolute;opacity:.5;z-index:2000}body.dragging,body.dragging *{cursor:move!important}.avatar{border-radius:100%;width:30px;height:30px}.avatar.med{width:40px;height:40px}.avatar.large{width:80px;height:80px}.notification{position:fixed;top:0;right:0;margin:64px 32px;padding:24px 32px;border-radius:3px;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}.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} \ No newline at end of file +.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}ol,ul{margin-left:24px}.link,.text-button,a,body{font-family:Roboto,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%}body{font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}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:.5em}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-chapter,.text-chapter:hover{color:#ef7c3c}span.highlight{font-weight:700}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}.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{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,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,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}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%}.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;max-width:1340px;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 img{display:block;border-radius:0;float:left;margin:0;cursor:pointer;width:16.6666666667%;height:auto;border:1px solid #FFF;transition:all cubic-bezier(.4,0,1,1) 160ms}.image-manager-list img.selected{-webkit-transform:scale3d(.92,.92,.92);transform:scale3d(.92,.92,.92)}#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}.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{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:7.2px}@media screen and (max-width:992px){header .user-name{padding-left:6px}header .user-name .name{display:none}header .user-name i{font-size:2em;padding-left:0;padding-top:0}header{text-align:center}header .float.right{float:none}}.dropdown-container,.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}}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;text-decoration:none}.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}.dropdown-container{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}.page-list .page,.page-list h4{border-left:5px solid #0288D1}.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}.breadcrumbs span.sep{color:#aaa;padding:0 6px}.faded a,.faded button,.faded span{color:#666}.faded .text-button{opacity:.5;transition:all ease-in-out 120ms}.faded .text-button:hover{opacity:1;text-decoration:none}.faded-small{color:#000;font-size:.9em;background-color:rgba(21,101,192,.15)}.action-buttons .text-button,.breadcrumbs .text-button{display:inline-block;padding:12px}.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}.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;padding:6px 0 6px 16px}.page-list hr{margin-top:0}.page-list .book,.page-list .chapter,.page-list .page{padding-left:24px}.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{margin-top:32px}.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;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:hover{background-color:rgba(255,255,255,.2);text-decoration:none}.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 .sub-menu{display:none}.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}#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;-moz-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:180px;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.med{width:40px;height:40px}.avatar.large{width:80px;height:80px}.notification{position:fixed;top:0;right:0;margin:64px 32px;padding:24px 32px;border-radius:3px;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}.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} \ No newline at end of file diff --git a/public/js/common.js b/public/js/common.js index 087d23ff47e..0752f62980c 100644 --- a/public/js/common.js +++ b/public/js/common.js @@ -1,6 +1,9 @@ -!function e(t,n,i){function r(s,a){if(!n[s]){if(!t[s]){var l="function"==typeof require&&require;if(!a&&l)return l(s,!0);if(o)return o(s,!0);var c=new Error("Cannot find module '"+s+"'");throw c.code="MODULE_NOT_FOUND",c}var u=n[s]={exports:{}};t[s][0].call(u.exports,function(e){var n=t[s][1][e];return r(n?n:e)},u,u.exports,e,t,n,i)}return n[s].exports}for(var o="function"==typeof require&&require,s=0;sr;r++)t=n[r],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,i,r,o,s;if(!this._callbacks||0===arguments.length)return this._callbacks={},this;if(i=this._callbacks[e],!i)return this;if(1===arguments.length)return delete this._callbacks[e],this;for(r=o=0,s=i.length;s>o;r=++o)if(n=i[r],n===t){i.splice(r,1);break}return this},e}(),e=function(e){function t(e,n){var r,o,s;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,r=null!=(s=t.optionsForElement(this.element))?s:{},this.options=i({},this.defaultOptions,r,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 i,r;return h(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 a},forceFallback:!1,fallback:function(){var e,n,i,r,o,s;for(this.element.className=""+this.element.className+" dz-browser-not-supported",s=this.element.getElementsByTagName("div"),r=0,o=s.length;o>r;r++)e=s[r],/(^| )dz-message($| )/.test(e.className)&&(n=e,e.className="dz-message");return n||(n=t.createElement('
'),this.element.appendChild(n)),i=n.getElementsByTagName("span")[0],i&&(null!=i.textContent?i.textContent=this.options.dictFallbackMessage:null!=i.innerText&&(i.innerText=this.options.dictFallbackMessage)),this.element.appendChild(this.getFallbackForm())},resize:function(e){var t,n,i;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),i=t.optWidth/t.optHeight,e.heighti?(t.srcHeight=e.height,t.srcWidth=t.srcHeight*i):(t.srcWidth=e.width,t.srcHeight=t.srcWidth/i),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:a,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:a,reset:function(){return this.element.classList.remove("dz-started")},addedfile:function(e){var n,i,r,o,s,a,l,c,u,h,p,d,f;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),h=e.previewElement.querySelectorAll("[data-dz-name]"),o=0,l=h.length;l>o;o++)n=h[o],n.textContent=e.name;for(p=e.previewElement.querySelectorAll("[data-dz-size]"),s=0,c=p.length;c>s;s++)n=p[s],n.innerHTML=this.filesize(e.size);for(this.options.addRemoveLinks&&(e._removeLink=t.createElement(''+this.options.dictRemoveFile+""),e.previewElement.appendChild(e._removeLink)),i=function(n){return function(i){return i.preventDefault(),i.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]"),f=[],a=0,u=d.length;u>a;a++)r=d[a],f.push(r.addEventListener("click",i));return f}},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,i,r,o;if(e.previewElement){for(e.previewElement.classList.remove("dz-file-preview"),o=e.previewElement.querySelectorAll("[data-dz-thumbnail]"),i=0,r=o.length;r>i;i++)n=o[i],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,i,r,o,s;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]"),s=[],i=0,r=o.length;r>i;i++)n=o[i],s.push(n.textContent=t);return s}},errormultiple:a,processing:function(e){return e.previewElement&&(e.previewElement.classList.add("dz-processing"),e._removeLink)?e._removeLink.textContent=this.options.dictCancelUpload:void 0},processingmultiple:a,uploadprogress:function(e,t,n){var i,r,o,s,a;if(e.previewElement){for(s=e.previewElement.querySelectorAll("[data-dz-uploadprogress]"),a=[],r=0,o=s.length;o>r;r++)i=s[r],"PROGRESS"===i.nodeName?a.push(i.value=t):a.push(i.style.width=""+t+"%");return a}},totaluploadprogress:a,sending:a,sendingmultiple:a,success:function(e){return e.previewElement?e.previewElement.classList.add("dz-success"):void 0},successmultiple:a,canceled:function(e){return this.emit("error",e,"Upload canceled.")},canceledmultiple:a,complete:function(e){return e._removeLink&&(e._removeLink.textContent=this.options.dictRemoveFile),e.previewElement?e.previewElement.classList.add("dz-complete"):void 0},completemultiple:a,maxfilesexceeded:a,maxfilesreached:a,queuecomplete:a,addedfiles:a,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
'},i=function(){var e,t,n,i,r,o,s;for(i=arguments[0],n=2<=arguments.length?c.call(arguments,1):[],o=0,s=n.length;s>o;o++){t=n[o];for(e in t)r=t[e],i[e]=r}return i},t.prototype.getAcceptedFiles=function(){var e,t,n,i,r;for(i=this.files,r=[],t=0,n=i.length;n>t;t++)e=i[t],e.accepted&&r.push(e);return r},t.prototype.getRejectedFiles=function(){var e,t,n,i,r;for(i=this.files,r=[],t=0,n=i.length;n>t;t++)e=i[t],e.accepted||r.push(e);return r},t.prototype.getFilesWithStatus=function(e){var t,n,i,r,o;for(r=this.files,o=[],n=0,i=r.length;i>n;n++)t=r[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,i,r,o;for(r=this.files,o=[],n=0,i=r.length;i>n;n++)e=r[n],(e.status===t.UPLOADING||e.status===t.QUEUED)&&o.push(e);return o},t.prototype.init=function(){var e,n,i,r,o,s,a;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&&(i=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,r,o;if(n=e.hiddenFileInput.files,n.length)for(r=0,o=n.length;o>r;r++)t=n[r],e.addFile(t);return e.emit("addedfiles",n),i()})}}(this))(),this.URL=null!=(s=window.URL)?s:window.webkitURL,a=this.events,r=0,o=a.length;o>r;r++)e=a[r],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 i;try{i=t.dataTransfer.effectAllowed}catch(r){}return t.dataTransfer.dropEffect="move"===i||"linkMove"===i?"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(i){return(n!==e.element||i.target===e.element||t.elementInside(i.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,i,r,o,s,a;if(i=0,n=0,e=this.getActiveFiles(),e.length){for(a=this.getActiveFiles(),o=0,s=a.length;s>o;o++)t=a[o],i+=t.upload.bytesSent,n+=t.upload.total;r=100*i/n}else r=100;return this.emit("totaluploadprogress",r,n,i)},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,i,r;return(e=this.getExistingFallback())?e:(i='
',this.options.dictFallbackText&&(i+="

"+this.options.dictFallbackText+"

"),i+='
',n=t.createElement(i),"FORM"!==this.element.tagName?(r=t.createElement('
'),r.appendChild(n)):(this.element.setAttribute("enctype","multipart/form-data"),this.element.setAttribute("method",this.options.method)),null!=r?r:n)},t.prototype.getExistingFallback=function(){var e,t,n,i,r,o;for(t=function(e){var t,n,i;for(n=0,i=e.length;i>n;n++)if(t=e[n],/(^| )fallback($| )/.test(t.className))return t},o=["div","form"],i=0,r=o.length;r>i;i++)if(n=o[i],e=t(this.element.getElementsByTagName(n)))return e},t.prototype.setupEventListeners=function(){var e,t,n,i,r,o,s;for(o=this.listeners,s=[],i=0,r=o.length;r>i;i++)e=o[i],s.push(function(){var i,r;i=e.events,r=[];for(t in i)n=i[t],r.push(e.element.addEventListener(t,n,!1));return r}());return s},t.prototype.removeEventListeners=function(){var e,t,n,i,r,o,s;for(o=this.listeners,s=[],i=0,r=o.length;r>i;i++)e=o[i],s.push(function(){var i,r;i=e.events,r=[];for(t in i)n=i[t],r.push(e.element.removeEventListener(t,n,!1));return r}());return s},t.prototype.disable=function(){var e,t,n,i,r;for(this.clickableElements.forEach(function(e){return e.classList.remove("dz-clickable")}),this.removeEventListeners(),i=this.files,r=[],t=0,n=i.length;n>t;t++)e=i[t],r.push(this.cancelUpload(e));return r},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,i,r,o,s,a,l;if(i=0,r="b",e>0){for(s=["TB","GB","MB","KB","b"],n=a=0,l=s.length;l>a;n=++a)if(o=s[n],t=Math.pow(this.options.filesizeBase,4-n)/10,e>=t){i=e/Math.pow(this.options.filesizeBase,4-n),r=o;break}i=Math.round(10*i)/10}return""+i+" "+r},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,i,r;for(r=[],n=0,i=e.length;i>n;n++)t=e[n],r.push(this.addFile(t));return r},t.prototype._addFilesFromItems=function(e){var t,n,i,r,o;for(o=[],i=0,r=e.length;r>i;i++)n=e[i],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,i;return n=e.createReader(),i=function(e){return function(n){var i,r,o;for(r=0,o=n.length;o>r;r++)i=n[r],i.isFile?i.file(function(n){return e.options.ignoreHiddenFiles&&"."===n.name.substring(0,1)?void 0:(n.fullPath=""+t+"/"+n.name,e.addFile(n))}):i.isDirectory&&e._addFilesFromDirectory(i,""+t+"/"+i.name)}}(this),n.readEntries(i,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,i;for(n=0,i=e.length;i>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=l(this.files,e),this.emit("removedfile",e),0===this.files.length?this.emit("reset"):void 0},t.prototype.removeAllFiles=function(e){var n,i,r,o;for(null==e&&(e=!1),o=this.files.slice(),i=0,r=o.length;r>i;i++)n=o[i],(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(i){return function(){return"image/svg+xml"===e.type?(i.emit("thumbnail",e,n.result),void(null!=t&&t())):i.createThumbnailFromUrl(e,n.result,t)}}(this),n.readAsDataURL(e)},t.prototype.createThumbnailFromUrl=function(e,t,n,i){var r;return r=document.createElement("img"),i&&(r.crossOrigin=i),r.onload=function(t){return function(){var i,o,a,l,c,u,h,p;return e.width=r.width,e.height=r.height,a=t.options.resize.call(t,e),null==a.trgWidth&&(a.trgWidth=a.optWidth),null==a.trgHeight&&(a.trgHeight=a.optHeight),i=document.createElement("canvas"),o=i.getContext("2d"),i.width=a.trgWidth,i.height=a.trgHeight,s(o,r,null!=(c=a.srcX)?c:0,null!=(u=a.srcY)?u:0,a.srcWidth,a.srcHeight,null!=(h=a.trgX)?h:0,null!=(p=a.trgY)?p:0,a.trgWidth,a.trgHeight),l=i.toDataURL("image/png"),t.emit("thumbnail",e,l),null!=n?n():void 0}}(this),null!=n&&(r.onerror=n),r.src=t},t.prototype.processQueue=function(){var e,t,n,i;if(t=this.options.parallelUploads,n=this.getUploadingFiles().length,e=n,!(n>=t)&&(i=this.getQueuedFiles(),i.length>0)){if(this.options.uploadMultiple)return this.processFiles(i.slice(0,t-n));for(;t>e;){if(!i.length)return;this.processFile(i.shift()),e++}}},t.prototype.processFile=function(e){return this.processFiles([e])},t.prototype.processFiles=function(e){var n,i,r;for(i=0,r=e.length;r>i;i++)n=e[i],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,i,r,o;for(r=this.files,o=[],n=0,i=r.length;i>n;n++)t=r[n],t.xhr===e&&o.push(t);return o}.call(this)},t.prototype.cancelUpload=function(e){var n,i,r,o,s,a,l;if(e.status===t.UPLOADING){for(i=this._getFilesWithXhr(e.xhr),r=0,s=i.length;s>r;r++)n=i[r],n.status=t.CANCELED;for(e.xhr.abort(),o=0,a=i.length;a>o;o++)n=i[o],this.emit("canceled",n);this.options.uploadMultiple&&this.emit("canceledmultiple",i)}else((l=e.status)===t.ADDED||l===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},r=function(){var e,t;return t=arguments[0],e=2<=arguments.length?c.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,s,a,l,c,u,h,p,d,f,m,v,g,y,b,w,_,x,E,C,k,O,A,N,T,F,D,$,j,S,P,I,L;for(x=new XMLHttpRequest,E=0,A=e.length;A>E;E++)n=e[E],n.xhr=x;m=r(this.options.method,e),w=r(this.options.url,e),x.open(m,w,!0),x.withCredentials=!!this.options.withCredentials,y=null,s=function(t){return function(){var i,r,o;for(o=[],i=0,r=e.length;r>i;i++)n=e[i],o.push(t._errorProcessing(e,y||t.options.dictResponseError.replace("{{statusCode}}",x.status),x));return o}}(this),b=function(t){return function(i){var r,o,s,a,l,c,u,h,p;if(null!=i)for(o=100*i.loaded/i.total,s=0,c=e.length;c>s;s++)n=e[s],n.upload={progress:o,total:i.total,bytesSent:i.loaded};else{for(r=!0,o=100,a=0,u=e.length;u>a;a++)n=e[a],(100!==n.upload.progress||n.upload.bytesSent!==n.upload.total)&&(r=!1),n.upload.progress=o,n.upload.bytesSent=n.upload.total;if(r)return}for(p=[],l=0,h=e.length;h>l;l++)n=e[l],p.push(t.emit("uploadprogress",n,o,n.upload.bytesSent));return p}}(this),x.onload=function(n){return function(i){var r;if(e[0].status!==t.CANCELED&&4===x.readyState){if(y=x.responseText,x.getResponseHeader("content-type")&&~x.getResponseHeader("content-type").indexOf("application/json"))try{y=JSON.parse(y)}catch(o){i=o,y="Invalid JSON response from server."}return b(),200<=(r=x.status)&&300>r?n._finished(e,y,i):s()}}}(this),x.onerror=function(n){return function(){return e[0].status!==t.CANCELED?s():void 0}}(this),g=null!=($=x.upload)?$:x,g.onprogress=b,c={Accept:"application/json","Cache-Control":"no-cache","X-Requested-With":"XMLHttpRequest"},this.options.headers&&i(c,this.options.headers);for(a in c)l=c[a],l&&x.setRequestHeader(a,l);if(o=new FormData,this.options.params){j=this.options.params;for(f in j)_=j[f],o.append(f,_)}for(C=0,N=e.length;N>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(S=this.element.querySelectorAll("input, textarea, select, button"),k=0,T=S.length;T>k;k++)if(h=S[k],p=h.getAttribute("name"),d=h.getAttribute("type"),"SELECT"===h.tagName&&h.hasAttribute("multiple"))for(P=h.options,O=0,F=P.length;F>O;O++)v=P[O],v.selected&&o.append(p,v.value);else(!d||"checkbox"!==(I=d.toLowerCase())&&"radio"!==I||h.checked)&&o.append(p,h.value);for(u=D=0,L=e.length-1;L>=0?L>=D:D>=L;u=L>=0?++D:--D)o.append(this._getParamName(u),e[u],e[u].name);return this.submitRequest(x,o,e)},t.prototype.submitRequest=function(e,t,n){return e.send(t)},t.prototype._finished=function(e,n,i){var r,o,s;for(o=0,s=e.length;s>o;o++)r=e[o],r.status=t.SUCCESS,this.emit("success",r,n,i),this.emit("complete",r);return this.options.uploadMultiple&&(this.emit("successmultiple",e,n,i),this.emit("completemultiple",e)),this.options.autoProcessQueue?this.processQueue():void 0},t.prototype._errorProcessing=function(e,n,i){var r,o,s;for(o=0,s=e.length;s>o;o++)r=e[o],r.status=t.ERROR,this.emit("error",r,n,i),this.emit("complete",r);return this.options.uploadMultiple&&(this.emit("errormultiple",e,n,i),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[i(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,i,r,o,s;for(document.querySelectorAll?i=document.querySelectorAll(".dropzone"):(i=[],t=function(e){var t,n,r,o;for(o=[],n=0,r=e.length;r>n;n++)t=e[n],/(^| )dropzone($| )/.test(t.className)?o.push(i.push(t)):o.push(void 0);return o},t(document.getElementsByTagName("div")),t(document.getElementsByTagName("form"))),s=[],r=0,o=i.length;o>r;r++)n=i[r],e.optionsForElement(n)!==!1?s.push(new e(n)):s.push(void 0);return s},e.blacklistedBrowsers=[/opera.*Macintosh.*version\/12/i],e.isBrowserSupported=function(){var t,n,i,r,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,i=0,r=o.length;r>i;i++)n=o[i],n.test(navigator.userAgent)&&(t=!1);else t=!1;else t=!1;return t},l=function(e,t){var n,i,r,o;for(o=[],i=0,r=e.length;r>i;i++)n=e[i],n!==t&&o.push(n);return o},i=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,i,r,o,s,a,l,c;if(e instanceof Array){r=[];try{for(o=0,a=e.length;a>o;o++)i=e[o],r.push(this.getElement(i,t))}catch(u){n=u,r=null}}else if("string"==typeof e)for(r=[],c=document.querySelectorAll(e),s=0,l=c.length;l>s;s++)i=c[s],r.push(i);else null!=e.nodeType&&(r=[e]);if(null==r||!r.length)throw new Error("Invalid `"+t+"` option provided. Please provide a CSS selector, a plain HTML element or a list of those.");return r},e.confirm=function(e,t,n){return window.confirm(e)?t():null!=n?n():void 0; -},e.isValidFile=function(e,t){var n,i,r,o,s;if(!t)return!0;for(t=t.split(","),i=e.type,n=i.replace(/\/.*$/,""),o=0,s=t.length;s>o;o++)if(r=t[o],r=r.trim(),"."===r.charAt(0)){if(-1!==e.name.toLowerCase().indexOf(r.toLowerCase(),e.name.length-r.length))return!0}else if(/\/\*$/.test(r)){if(n===r.replace(/\/.*$/,""))return!0}else if(i===r)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,i,r,o,s,a,l,c,u;for(a=e.naturalWidth,s=e.naturalHeight,n=document.createElement("canvas"),n.width=1,n.height=s,i=n.getContext("2d"),i.drawImage(e,0,0),r=i.getImageData(0,0,1,s).data,u=0,o=s,l=s;l>u;)t=r[4*(l-1)+3],0===t?o=l:u=l,l=o+u>>1;return c=l/s,0===c?1:c},s=function(e,t,n,i,r,s,a,l,c,u){var h;return h=o(t),e.drawImage(t,n,i,r,s,a,l,c,u/h)},r=function(e,t){var n,i,r,o,s,a,l,c,u;if(r=!1,u=!0,i=e.document,c=i.documentElement,n=i.addEventListener?"addEventListener":"attachEvent",l=i.addEventListener?"removeEventListener":"detachEvent",a=i.addEventListener?"":"on",o=function(n){return"readystatechange"!==n.type||"complete"===i.readyState?(("load"===n.type?e:i)[l](a+n.type,o,!1),!r&&(r=!0)?t.call(e,n.type||n):void 0):void 0},s=function(){var e;try{c.doScroll("left")}catch(t){return e=t,void setTimeout(s,50)}return o("poll")},"complete"!==i.readyState){if(i.createEventObject&&c.doScroll){try{u=!e.frameElement}catch(h){}u&&s()}return i[n](a+"DOMContentLoaded",o,!1),i[n](a+"readystatechange",o,!1),e[n](a+"load",o,!1)}},e._autoDiscoverFunction=function(){return e.autoDiscover?e.discover():void 0},r(window,e._autoDiscoverFunction)}).call(this)},{}],2:[function(e,t,n){function i(){u=!1,a.length?c=a.concat(c):h=-1,c.length&&r()}function r(){if(!u){var e=setTimeout(i);u=!0;for(var t=c.length;t;){for(a=c,c=[];++h1)for(var n=1;n hot reload shim applied."))}},n.createRecord=function(e,t){var n="function"==typeof t?t:u.extend(t);t=n.options,"string"!=typeof t.el&&"object"!=typeof t.data&&(s(e,t),h[e]={Component:n,views:[],instances:[]})},n.update=function(e,t,n){var i=h[e];if(!i||i.instances.length&&!i.views.length){if(console.log("[HMR] Root or manually-mounted instance modified. Full reload may be required."),d)return;window.location.reload()}d||console.log("[HMR] Updating component: "+c(e));var r=i.Component;t&&(r=i.Component="function"==typeof t?t:u.extend(t),s(e,r.options)),n&&(r.options.template=n),r.options.name&&(r.options.components[r.options.name]=r),r.linker=null,i.views.forEach(function(e){l(e,r)})}},{}],4:[function(e,t,n){var i=e("./lib/xhr"),r=e("./lib/jsonp"),o=e("./lib/promise");t.exports=function(e){function t(o,l){var c;return e.isPlainObject(o)&&(l=o,o=""),l=e.extend({url:o},l),l=e.extend(!0,{},t.options,this.options,l),null===l.crossOrigin&&(l.crossOrigin=a(l.url)),l.method=l.method.toUpperCase(),l.headers=e.extend({},t.headers.common,l.crossOrigin?{}:t.headers.custom,t.headers[l.method.toLowerCase()],l.headers),e.isPlainObject(l.data)&&/^(GET|JSONP)$/i.test(l.method)&&(e.extend(l.params,l.data),delete l.data),l.emulateHTTP&&!l.crossOrigin&&/^(PUT|PATCH|DELETE)$/i.test(l.method)&&(l.headers["X-HTTP-Method-Override"]=l.method,l.method="POST"),l.emulateJSON&&e.isPlainObject(l.data)&&(l.headers["Content-Type"]="application/x-www-form-urlencoded",l.data=e.url.params(l.data)),e.isObject(l.data)&&/FormData/i.test(l.data.toString())&&delete l.headers["Content-Type"],e.isPlainObject(l.data)&&(l.data=JSON.stringify(l.data)),c=("JSONP"==l.method?r:i).call(this.vm,e,l),c=n(c.then(s,s),this.vm),l.success&&(c=c.success(l.success)),l.error&&(c=c.error(l.error)),c}function n(e,t){return e.success=function(i){return n(e.then(function(e){return i.call(t,e.data,e.status,e)||e}),t)},e.error=function(i){return n(e.then(void 0,function(e){return i.call(t,e.data,e.status,e)||e}),t)},e.always=function(i){var r=function(e){return i.call(t,e.data,e.status,e)||e};return n(e.then(r,r),t)},e}function s(e){try{e.data=JSON.parse(e.responseText)}catch(t){e.data=e.responseText}return e.ok?e:o.reject(e)}function a(t){var n=e.url.parse(t);return n.protocol!==l.protocol||n.host!==l.host}var l=e.url.parse(location.href),c={"Content-Type":"application/json;charset=utf-8"};return t.options={method:"get",params:{},data:"",xhr:null,jsonp:"callback",beforeSend:null,crossOrigin:null,emulateHTTP:!1,emulateJSON:!1},t.headers={put:c,post:c,patch:c,"delete":c,common:{Accept:"application/json, text/plain, */*"},custom:{"X-Requested-With":"XMLHttpRequest"}},["get","put","post","patch","delete","jsonp"].forEach(function(n){t[n]=function(t,i,r,o){return e.isFunction(i)&&(o=r,r=i,i=void 0),this(t,e.extend({method:n,data:i,success:r},o))}}),e.http=t}},{"./lib/jsonp":6,"./lib/promise":7,"./lib/xhr":9}],5:[function(e,t,n){function i(t){var n=e("./lib/util")(t);t.url=e("./url")(n),t.http=e("./http")(n),t.resource=e("./resource")(n),Object.defineProperties(t.prototype,{$url:{get:function(){return n.options(t.url,this,this.$options.url)}},$http:{get:function(){return n.options(t.http,this,this.$options.http)}},$resource:{get:function(){return t.resource.bind(this)}}})}window.Vue&&Vue.use(i),t.exports=i},{"./http":4,"./lib/util":8,"./resource":10,"./url":11}],6:[function(e,t,n){var i=e("./promise");t.exports=function(e,t){var n,r,o="_jsonp"+Math.random().toString(36).substr(2),s={};return t.params[t.jsonp]=o,e.isFunction(t.beforeSend)&&t.beforeSend.call(this,{},t),new i(function(i,a){n=document.createElement("script"),n.src=e.url(t),n.type="text/javascript",n.async=!0,window[o]=function(e){r=e};var l=function(e){delete window[o],document.body.removeChild(n),"load"!==e.type||r||(e.type="error"),s.ok="error"!==e.type,s.status=s.ok?200:404,s.responseText=r?r:e.type,(s.ok?i:a)(s)};n.onload=l,n.onerror=l,document.body.appendChild(n)})}},{"./promise":7}],7:[function(e,t,n){function i(e){this.state=s,this.value=void 0,this.deferred=[];var t=this;try{e(function(e){t.resolve(e)},function(e){t.reject(e)})}catch(n){t.reject(n)}}var r=0,o=1,s=2;i.reject=function(e){return new i(function(t,n){n(e)})},i.resolve=function(e){return new i(function(t,n){t(e)})},i.all=function(e){return new i(function(t,n){function i(n){return function(i){o[n]=i,r+=1,r===e.length&&t(o)}}var r=0,o=[];0===e.length&&t(o);for(var s=0;s=200&&o.status<300),(o.ok?n:i)(o)};o.onload=r,o.onabort=r,o.onerror=r,o.send(t.data)})}},{"./promise":7}],10:[function(e,t,n){t.exports=function(e){function t(i,r,o,s){var a=this,l={};return o=e.extend({},t.actions,o),e.each(o,function(t,o){t=e.extend(!0,{url:i,params:r||{}},s,t),l[o]=function(){return(a.$http||e.http)(n(t,arguments))}}),l}function n(t,n){var i,r,o,s=e.extend({},t),a={};switch(n.length){case 4:o=n[3],r=n[2];case 3:case 2:if(!e.isFunction(n[1])){a=n[0],i=n[1],r=n[2];break}if(e.isFunction(n[0])){r=n[0],o=n[1];break}r=n[1],o=n[2];case 1:e.isFunction(n[0])?r=n[0]:/^(POST|PUT|PATCH)$/i.test(s.method)?i=n[0]:a=n[0];break;case 0:break;default:throw"Expected up to 4 arguments [params, data, success, error], got "+n.length+" arguments"}return s.data=i,s.params=e.extend({},s.params,a),r&&(s.success=r),o&&(s.error=o),s}return t.actions={get:{method:"GET"},save:{method:"POST"},query:{method:"GET"},update:{method:"PUT"},remove:{method:"DELETE"},"delete":{method:"DELETE"}},e.resource=t}},{}],11:[function(e,t,n){var i=document.documentMode,r=document.createElement("a");t.exports=function(e){function t(n,i){var r,s={},a={},l=n;return e.isPlainObject(l)||(l={url:n,params:i}),l=e.extend(!0,{},t.options,this.options,l),n=l.url.replace(/(\/?):([a-z]\w*)/gi,function(e,t,n){return l.params[n]?(s[n]=!0,t+o(l.params[n])):""}),e.isString(l.root)&&!n.match(/^(https?:)?\//)&&(n=l.root+"/"+n),e.each(l.params,function(e,t){s[t]||(a[t]=e)}),r=t.params(a),r&&(n+=(-1==n.indexOf("?")?"?":"&")+r),n}function n(t,i,r){var o,s=e.isArray(i),a=e.isPlainObject(i);e.each(i,function(i,l){o=e.isObject(i)||e.isArray(i),r&&(l=r+"["+(a||o?l:"")+"]"),!r&&s?t.add(i.name,i.value):o?n(t,i,l):t.add(l,i)})}function o(e){return s(e,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function s(e,t){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,t?"%20":"+")}return t.options={url:"",root:null,params:{}},t.params=function(t){var i=[];return i.add=function(t,n){e.isFunction(n)&&(n=n()),null===n&&(n=""),this.push(o(t)+"="+o(n))},n(i,t),i.join("&")},t.parse=function(e){return i&&(r.href=e,e=r.href),r.href=e,{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",port:r.port,host:r.host,hostname:r.hostname,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):""}},e.url=t}},{}],12:[function(e,t,n){function i(e){return JSON.parse(JSON.stringify(e))}var r=e("../util"),o=e("../watcher"),s=e("../parsers/path"),a=e("../parsers/text"),l=e("../parsers/directive"),c=e("../parsers/expression"),u=/[^|]\|[^|]/;n.$get=function(e,t){var n=c.parse(e);if(n){if(t&&!c.isSimplePath(e)){var i=this;return function(){n.get.call(i,i)}}try{return n.get.call(this,this)}catch(r){}}},n.$set=function(e,t){var n=c.parse(e,!0);n&&n.set&&n.set.call(this,this,t)},n.$delete=function(e){r["delete"](this._data,e)},n.$watch=function(e,t,n){var i,r=this;"string"==typeof e&&(i=l.parse(e),e=i.expression);var s=new o(r,e,t,{deep:n&&n.deep,filters:i&&i.filters});return n&&n.immediate&&t.call(r,s.value),function(){s.teardown()}},n.$eval=function(e,t){if(u.test(e)){var n=l.parse(e),i=this.$get(n.expression,t);return n.filters?this._applyFilters(i,null,n.filters):i}return this.$get(e,t)},n.$interpolate=function(e){var t=a.parse(e),n=this;return t?1===t.length?n.$eval(t[0].value)+"":t.map(function(e){return e.tag?n.$eval(e.value):e.value}).join(""):e},n.$log=function(e){var t=e?s.get(this._data,e):this._data;if(t&&(t=i(t)),!e)for(var n in this.$options.computed)t[n]=i(this[n]);console.log(t)}},{"../parsers/directive":62,"../parsers/expression":63,"../parsers/path":64,"../parsers/text":66,"../util":74,"../watcher":78}],13:[function(e,t,n){function i(e,t,n,i,o,s){t=r(t);var a=!l.inDoc(t),c=i===!1||a?o:s,u=!a&&!e._isAttached&&!l.inDoc(e.$el);return e._isFragment?(l.mapNodeRange(e._fragmentStart,e._fragmentEnd,function(n){c(n,t,e)}),n&&n()):c(e.$el,t,e,n),u&&e._callHook("attached"),e}function r(e){return"string"==typeof e?document.querySelector(e):e}function o(e,t,n,i){t.appendChild(e),i&&i()}function s(e,t,n,i){l.before(e,t),i&&i()}function a(e,t,n){l.remove(e),n&&n()}var l=e("../util"),c=e("../transition");n.$nextTick=function(e){l.nextTick(e,this)},n.$appendTo=function(e,t,n){return i(this,e,t,n,o,c.append)},n.$prependTo=function(e,t,n){return e=r(e),e.hasChildNodes()?this.$before(e.firstChild,t,n):this.$appendTo(e,t,n),this},n.$before=function(e,t,n){return i(this,e,t,n,s,c.before)},n.$after=function(e,t,n){return e=r(e),e.nextSibling?this.$before(e.nextSibling,t,n):this.$appendTo(e.parentNode,t,n),this},n.$remove=function(e,t){if(!this.$el.parentNode)return e&&e();var n=this._isAttached&&l.inDoc(this.$el);n||(t=!1);var i=this,r=function(){n&&i._callHook("detached"),e&&e()};if(this._isFragment)l.removeNodeRange(this._fragmentStart,this._fragmentEnd,this,this._fragment,r);else{var o=t===!1?a:c.remove;o(this.$el,this,r)}return this}},{"../transition":67,"../util":74}],14:[function(e,t,n){function i(e,t,n){var i=e.$parent;if(i&&n&&!o.test(t))for(;i;)i._eventsCount[t]=(i._eventsCount[t]||0)+n,i=i.$parent}var r=e("../util");n.$on=function(e,t){return(this._events[e]||(this._events[e]=[])).push(t),i(this,e,1),this},n.$once=function(e,t){function n(){i.$off(e,n),t.apply(this,arguments)}var i=this;return n.fn=t,this.$on(e,n),this},n.$off=function(e,t){var n;if(!arguments.length){if(this.$parent)for(e in this._events)n=this._events[e],n&&i(this,e,-n.length);return this._events={},this}if(n=this._events[e],!n)return this;if(1===arguments.length)return i(this,e,-n.length),this._events[e]=null,this;for(var r,o=n.length;o--;)if(r=n[o],r===t||r.fn===t){i(this,e,-1),n.splice(o,1);break}return this},n.$emit=function(e){var t=this._events[e];if(this._shouldPropagate=!t,t){t=t.length>1?r.toArray(t):t;for(var n=r.toArray(arguments,1),i=0,o=t.length;o>i;i++){var s=t[i].apply(this,n);s===!0&&(this._shouldPropagate=!0)}}return this},n.$broadcast=function(e){if(this._eventsCount[e]){for(var t=this.$children,n=0,i=t.length;i>n;n++){var r=t[n];r.$emit.apply(r,arguments),r._shouldPropagate&&r.$broadcast.apply(r,arguments)}return this}},n.$dispatch=function(){this.$emit.apply(this,arguments);for(var e=this.$parent;e;)e.$emit.apply(e,arguments),e=e._shouldPropagate?e.$parent:null;return this};var o=/^hook:/},{"../util":74}],15:[function(e,t,n){(function(t){function i(e){return new Function("return function "+r.classify(e)+" (options) { this._init(options) }")()}var r=e("../util"),o=e("../config");n.util=r,n.config=o,n.set=r.set,n["delete"]=r["delete"],n.nextTick=r.nextTick,n.compiler=e("../compiler"),n.FragmentFactory=e("../fragment/factory"),n.internalDirectives=e("../directives/internal"),n.parsers={path:e("../parsers/path"),text:e("../parsers/text"),template:e("../parsers/template"),directive:e("../parsers/directive"),expression:e("../parsers/expression")},n.cid=0;var s=1;n.extend=function(e){e=e||{};var t=this,n=0===t.cid;if(n&&e._Ctor)return e._Ctor;var a=e.name||t.options.name,l=i(a||"VueComponent");return l.prototype=Object.create(t.prototype),l.prototype.constructor=l,l.cid=s++,l.options=r.mergeOptions(t.options,e),l["super"]=t,l.extend=t.extend,o._assetTypes.forEach(function(e){l[e]=t[e]}),a&&(l.options.components[a]=l),n&&(e._Ctor=l),l},n.use=function(e){if(!e.installed){var t=r.toArray(arguments,1);return t.unshift(this),"function"==typeof e.install?e.install.apply(e,t):e.apply(null,t),e.installed=!0,this}},n.mixin=function(e){var t=r.Vue;t.options=r.mergeOptions(t.options,e)},o._assetTypes.forEach(function(e){n[e]=function(n,i){return i?("production"!==t.env.NODE_ENV&&"component"===e&&r.commonTagRE.test(n)&&r.warn("Do not use built-in HTML elements as component id: "+n),"component"===e&&r.isPlainObject(i)&&(i.name=n,i=r.Vue.extend(i)),this.options[e+"s"][n]=i,i):this.options[e+"s"][n]}})}).call(this,e("_process"))},{"../compiler":21,"../config":23,"../directives/internal":30,"../fragment/factory":52,"../parsers/directive":62,"../parsers/expression":63,"../parsers/path":64,"../parsers/template":65,"../parsers/text":66,"../util":74,_process:2}],16:[function(e,t,n){(function(t){function i(){this._isAttached=!0,this._isReady=!0,this._callHook("ready")}var r=e("../util"),o=e("../compiler");n.$mount=function(e){return this._isCompiled?void("production"!==t.env.NODE_ENV&&r.warn("$mount() should be called only once.")):(e=r.query(e),e||(e=document.createElement("div")),this._compile(e),this._initDOMHooks(),r.inDoc(this.$el)?(this._callHook("attached"),i.call(this)):this.$once("hook:attached",i),this)},n.$destroy=function(e,t){this._destroy(e,t)},n.$compile=function(e,t,n,i){return o.compile(e,this.$options,!0)(this,e,t,n,i)}}).call(this,e("_process"))},{"../compiler":21,"../util":74,_process:2}],17:[function(e,t,n){(function(t){function i(){l=[],c=[],u={},h={},p=d=!1}function r(){o(l),d=!0,o(c),"production"!==t.env.NODE_ENV&&s.inBrowser&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__.emit("flush"),i()}function o(e){for(var n=0;na._maxUpdateCount&&(e.splice(u[r],1),s.warn("You may have an infinite update loop for watcher with expression: "+i.expression)))}}var s=e("./util"),a=e("./config"),l=[],c=[],u={},h={},p=!1,d=!1;n.push=function(e){var t=e.id;if(null==u[t]){if(d&&!e.user)return void e.run();var n=e.user?c:l;u[t]=n.length,n.push(e),p||(p=!0,s.nextTick(r))}}}).call(this,e("_process"))},{"./config":23,"./util":74,_process:2}],18:[function(e,t,n){function i(e){this.size=0,this.limit=e,this.head=this.tail=void 0,this._keymap=Object.create(null)}var r=i.prototype;r.put=function(e,t){var n={key:e,value:t};return this._keymap[e]=n,this.tail?(this.tail.newer=n,n.older=this.tail):this.head=n,this.tail=n,this.size===this.limit?this.shift():void this.size++},r.shift=function(){var e=this.head;return e&&(this.head=this.head.newer,this.head.older=void 0,e.newer=e.older=void 0,this._keymap[e.key]=void 0),e},r.get=function(e,t){var n=this._keymap[e];if(void 0!==n)return n===this.tail?t?n:n.value:(n.newer&&(n===this.head&&(this.head=n.newer),n.newer.older=n.older),n.older&&(n.older.newer=n.newer),n.newer=void 0,n.older=this.tail,this.tail&&(this.tail.newer=n),this.tail=n,t?n:n.value)},t.exports=i},{}],19:[function(e,t,n){(function(n){function i(e){return function(t,i){t._props={};for(var s,c,u,h,p,d=e.length;d--;)if(s=e[d],p=s.raw,c=s.path,u=s.options,t._props[c]=s,null===p)o.initProp(t,s,r(t,u));else if(s.dynamic)t._context?s.mode===l.ONE_TIME?(h=(i||t._context).$get(s.parentPath),o.initProp(t,s,h)):t._bindDir({name:"prop",def:a,prop:s},null,null,i):"production"!==n.env.NODE_ENV&&o.warn("Cannot bind dynamic prop on a root instance with no parent: "+s.name+'="'+p+'"');else if(s.optimizedLiteral){var f=o.stripQuotes(p);h=f===p?o.toBoolean(o.toNumber(p)):f,o.initProp(t,s,h)}else h=u.type===Boolean&&""===p?!0:p,o.initProp(t,s,h)}}function r(e,t){if(!t.hasOwnProperty("default"))return t.type===Boolean?!1:void 0;var i=t["default"];return o.isObject(i)&&"production"!==n.env.NODE_ENV&&o.warn("Object/Array as default prop values will be shared across multiple instances. Use a factory function to return the default value instead."),"function"==typeof i&&t.type!==Function?i.call(e):i}var o=e("../util"),s=e("../parsers/directive"),a=e("../directives/internal/prop"),l=e("../config")._propBindingModes,c={},u=e("../parsers/path").identRE,h=/^[A-Za-z_$][\w$]*(\.[A-Za-z_$][\w$]*|\[[^\[\]]+\])*$/;t.exports=function(e,t){for(var r,a,p,d,f,m,v,g=[],y=Object.keys(t),b=y.length;b--;)a=y[b],r=t[a]||c,"production"===n.env.NODE_ENV||"$data"!==a?(f=o.camelize(a),u.test(f)?(v={name:a,path:f,options:r,mode:l.ONE_WAY,raw:null},p=o.hyphenate(a),null===(d=o.getBindAttr(e,p))&&(null!==(d=o.getBindAttr(e,p+".sync"))?v.mode=l.TWO_WAY:null!==(d=o.getBindAttr(e,p+".once"))&&(v.mode=l.ONE_TIME)),null!==d?(v.raw=d,m=s.parse(d),d=m.expression,v.filters=m.filters,o.isLiteral(d)?v.optimizedLiteral=!0:(v.dynamic=!0,"production"===n.env.NODE_ENV||v.mode!==l.TWO_WAY||h.test(d)||(v.mode=l.ONE_WAY,o.warn("Cannot bind two-way prop with non-settable parent path: "+d))),v.parentPath=d,"production"!==n.env.NODE_ENV&&r.twoWay&&v.mode!==l.TWO_WAY&&o.warn('Prop "'+a+'" expects a two-way binding type.')):null!==(d=o.attr(e,p))?v.raw=d:r.required&&"production"!==n.env.NODE_ENV&&o.warn("Missing required prop: "+a),g.push(v)):"production"!==n.env.NODE_ENV&&o.warn('Invalid prop key: "'+a+'". Prop keys must be valid identifiers.')):o.warn("Do not use $data as prop.");return i(g)}}).call(this,e("_process"))},{"../config":23,"../directives/internal/prop":31,"../parsers/directive":62,"../parsers/path":64,"../util":74,_process:2}],20:[function(e,t,n){(function(t){function i(e,t){var n=t._directives.length;e();var i=t._directives.slice(n);i.sort(r);for(var o=0,s=i.length;s>o;o++)i[o]._bind();return i}function r(e,t){return e=e.descriptor.def.priority||I,t=t.descriptor.def.priority||I,e>t?-1:e===t?0:1}function o(e,t,n,i){return function(r){s(e,t,r),n&&i&&s(n,i)}}function s(e,t,n){for(var i=t.length;i--;)t[i]._teardown(),n||e._directives.$remove(t[i])}function a(e,t){var n=e.nodeType;return 1===n&&"SCRIPT"!==e.tagName?l(e,t):3===n&&e.data.trim()?c(e,t):null}function l(e,t){if("TEXTAREA"===e.tagName){var n=O.parse(e.value);n&&(e.setAttribute(":value",O.tokensToExp(n)),e.value="")}var i,r=e.hasAttributes();return r&&(i=v(e,t)),i||(i=f(e,t)),i||(i=m(e,t)),!i&&r&&(i=b(e.attributes,t)),i}function c(e,t){var n=O.parse(e.data);if(!n)return null;for(var i,r,o=document.createDocumentFragment(),s=0,a=n.length;a>s;s++)r=n[s],i=r.tag?u(r,t):document.createTextNode(r.value),o.appendChild(i);return h(n,o,t)}function u(e,t){function n(t){if(!e.descriptor){var n=A.parse(e.value);e.descriptor={name:t,def:E[t],expression:n.expression,filters:n.filters}}}var i;return e.oneTime?i=document.createTextNode(e.value):e.html?(i=document.createComment("v-html"),n("html")):(i=document.createTextNode(" "),n("text")),i}function h(e,t){return function(n,i,r,o){for(var s,a,l,c=t.cloneNode(!0),u=x.toArray(c.childNodes),h=0,p=e.length;p>h;h++)s=e[h],a=s.value,s.tag&&(l=u[h],s.oneTime?(a=(o||n).$eval(a),s.html?x.replace(l,N.parse(a,!0)):l.data=a):n._bindDir(s.descriptor,l,r,o));x.replace(i,c)}}function p(e,t){for(var n,i,r,o=[],s=0,l=e.length;l>s;s++)r=e[s],n=a(r,t),i=n&&n.terminal||"SCRIPT"===r.tagName||!r.hasChildNodes()?null:p(r.childNodes,t),o.push(n,i);return o.length?d(o):null}function d(e){return function(t,n,i,r,o){for(var s,a,l,c=0,u=0,h=e.length;h>c;u++){s=n[u],a=e[c++],l=e[c++];var p=x.toArray(s.childNodes);a&&a(t,s,i,r,o),l&&l(t,p,i,r,o)}}}function f(e,t){var n=e.tagName.toLowerCase();if(!x.commonTagRE.test(n)){var i=T(t,"elementDirectives",n);return i?y(e,n,"",t,i):void 0}}function m(e,t){var n=x.checkComponent(e,t);if(n){var i=x.findRef(e),r={name:"component",ref:i,expression:n.id,def:C.component,modifiers:{literal:!n.dynamic}},o=function(e,t,n,o,s){i&&x.defineReactive((o||e).$refs,i,null),e._bindDir(r,t,n,o,s)};return o.terminal=!0,o}}function v(e,t){if(null!==x.attr(e,"v-pre"))return g;if(e.hasAttribute("v-else")){var n=e.previousElementSibling;if(n&&n.hasAttribute("v-if"))return g}for(var i,r,o=0,s=P.length;s>o;o++)if(r=P[o],i=e.getAttribute("v-"+r))return y(e,r,i,t)}function g(){}function y(e,t,n,i,r){var o=A.parse(n),s={name:t,expression:o.expression,filters:o.filters,raw:n,def:r||E[t]};("for"===t||"router-view"===t)&&(s.ref=x.findRef(e));var a=function(e,t,n,i,r){s.ref&&x.defineReactive((i||e).$refs,s.ref,null),e._bindDir(s,t,n,i,r)};return a.terminal=!0,a}function b(e,n){function i(e,t,n){var i=A.parse(s);m.push({name:e,attr:a,raw:l,def:t,arg:u,modifiers:h,expression:i.expression,filters:i.filters,interp:n})}for(var r,o,s,a,l,c,u,h,p,d,f=e.length,m=[];f--;)if(r=e[f],o=a=r.name,s=l=r.value,d=O.parse(s),u=null,h=w(o),o=o.replace(j,""),d)s=O.tokensToExp(d),u=o,i("bind",E.bind,!0),"production"!==t.env.NODE_ENV&&"class"===o&&Array.prototype.some.call(e,function(e){return":class"===e.name||"v-bind:class"===e.name})&&x.warn('class="'+l+'": Do not mix mustache interpolation and v-bind for "class" on the same element. Use one or the other.');else if(S.test(o))h.literal=!F.test(o),i("transition",C.transition);else if(D.test(o))u=o.replace(D,""),i("on",E.on);else if(F.test(o))c=o.replace(F,""),"style"===c||"class"===c?i(c,C[c]):(u=c,i("bind",E.bind));else if(0===o.indexOf("v-")){if(u=(u=o.match($))&&u[1],u&&(o=o.replace($,"")),c=o.slice(2),"else"===c)continue;p=T(n,"directives",c),"production"!==t.env.NODE_ENV&&x.assertAsset(p,"directive",c),p&&i(c,p)}return m.length?_(m):void 0}function w(e){var t=Object.create(null),n=e.match(j);if(n)for(var i=n.length;i--;)t[n[i].slice(1)]=!0;return t}function _(e){return function(t,n,i,r,o){for(var s=e.length;s--;)t._bindDir(e[s],n,i,r,o)}}var x=e("../util"),E=e("../directives/public"),C=e("../directives/internal"),k=e("./compile-props"),O=e("../parsers/text"),A=e("../parsers/directive"),N=e("../parsers/template"),T=x.resolveAsset,F=/^v-bind:|^:/,D=/^v-on:|^@/,$=/:(.*)$/,j=/\.[^\.]+/g,S=/^(v-bind:|:)?transition$/,P=["for","if"],I=1e3;n.compile=function(e,t,n){var r=n||!t._asComponent?a(e,t):null,s=r&&r.terminal||"SCRIPT"===e.tagName||!e.hasChildNodes()?null:p(e.childNodes,t);return function(e,t,n,a,l){var c=x.toArray(t.childNodes),u=i(function(){r&&r(e,t,n,a,l),s&&s(e,c,n,a,l)},e);return o(e,u)}},n.compileAndLinkProps=function(e,t,n,r){var s=k(t,n),a=i(function(){s(e,r)},e);return o(e,a)},n.compileRoot=function(e,n,r){var s,a,l=n._containerAttrs,c=n._replacerAttrs;if(11!==e.nodeType)n._asComponent?(l&&r&&(s=b(l,r)),c&&(a=b(c,n))):a=b(e.attributes,n);else if("production"!==t.env.NODE_ENV&&l){var u=l.filter(function(e){return e.name.indexOf("_v-")<0&&!D.test(e.name)&&"slot"!==e.name}).map(function(e){return'"'+e.name+'"'});if(u.length){var h=u.length>1;x.warn("Attribute"+(h?"s ":" ")+u.join(", ")+(h?" are":" is")+" ignored on component <"+n.el.tagName.toLowerCase()+"> because the component is a fragment instance: http://vuejs.org/guide/components.html#Fragment_Instance")}}return function(e,t,n){var r,l=e._context;l&&s&&(r=i(function(){s(l,t,null,n)},l));var c=i(function(){a&&a(e,t)},e);return o(e,c,l,r)}},g.terminal=!0}).call(this,e("_process"))},{"../directives/internal":30,"../directives/public":40,"../parsers/directive":62,"../parsers/template":65,"../parsers/text":66,"../util":74,"./compile-props":19,_process:2}],21:[function(e,t,n){var i=e("../util");i.extend(n,e("./compile")),i.extend(n,e("./transclude"))},{"../util":74,"./compile":20,"./transclude":22}],22:[function(e,t,n){(function(t){function i(e,n){var i=n.template,l=a.parse(i,!0);if(l){var c=l.firstChild,u=c.tagName&&c.tagName.toLowerCase();return n.replace?(e===document.body&&"production"!==t.env.NODE_ENV&&s.warn("You are mounting an instance with a template to . This will replace entirely. You should probably use `replace: false` here."),l.childNodes.length>1||1!==c.nodeType||"component"===u||s.resolveAsset(n,"components",u)||c.hasAttribute("is")||c.hasAttribute(":is")||c.hasAttribute("v-bind:is")||s.resolveAsset(n,"elementDirectives",u)||c.hasAttribute("v-for")||c.hasAttribute("v-if")?l:(n._replacerAttrs=r(c),o(e,c),c)):(e.appendChild(l),e)}"production"!==t.env.NODE_ENV&&s.warn("Invalid template option: "+i)}function r(e){return 1===e.nodeType&&e.hasAttributes()?s.toArray(e.attributes):void 0}function o(e,t){for(var n,i,r=e.attributes,o=r.length;o--;)n=r[o].name,i=r[o].value,t.hasAttribute(n)||l.test(n)?"class"===n&&(i=t.getAttribute(n)+" "+i,t.setAttribute(n,i)):t.setAttribute(n,i)}var s=e("../util"),a=e("../parsers/template"),l=/[^\w\-:\.]/;n.transclude=function(e,t){return t&&(t._containerAttrs=r(e)),s.isTemplate(e)&&(e=a.parse(e)),t&&(t._asComponent&&!t.template&&(t.template=""),t.template&&(t._content=s.extractContent(e),e=i(e,t))),e instanceof DocumentFragment&&(s.prepend(s.createAnchor("v-start",!0),e),e.appendChild(s.createAnchor("v-end",!0))),e}}).call(this,e("_process"))},{"../parsers/template":65,"../util":74,_process:2}],23:[function(e,t,n){t.exports={debug:!1,silent:!1,async:!0,warnExpressionErrors:!0,_delimitersChanged:!0,_assetTypes:["component","directive","elementDirective","filter","transition","partial"],_propBindingModes:{ONE_WAY:0,TWO_WAY:1,ONE_TIME:2},_maxUpdateCount:100};var i=["{{","}}"],r=["{{{","}}}"],o=e("./parsers/text");Object.defineProperty(t.exports,"delimiters",{get:function(){return i},set:function(e){i=e,o.compileRegex()}}),Object.defineProperty(t.exports,"unsafeDelimiters",{get:function(){return r},set:function(e){r=e,o.compileRegex()}})},{"./parsers/text":66 -}],24:[function(e,t,n){(function(n){function i(){}function r(e,t,i,r,o,s){this.vm=t,this.el=i,this.descriptor=e,this.name=e.name,this.expression=e.expression,this.arg=e.arg,this.modifiers=e.modifiers,this.filters=e.filters,this.literal=this.modifiers&&this.modifiers.literal,this._locked=!1,this._bound=!1,this._listeners=null,this._host=r,this._scope=o,this._frag=s,"production"!==n.env.NODE_ENV&&this.el&&(this.el._vue_directives=this.el._vue_directives||[],this.el._vue_directives.push(this))}var o=e("./util"),s=e("./watcher"),a=e("./parsers/expression");r.prototype._bind=function(){var e=this.name,t=this.descriptor;if(("cloak"!==e||this.vm._isCompiled)&&this.el&&this.el.removeAttribute){var n=t.attr||"v-"+e;this.el.removeAttribute(n)}var r=t.def;if("function"==typeof r?this.update=r:o.extend(this,r),this._setupParams(),this.bind&&this.bind(),this.literal)this.update&&this.update(t.raw);else if((this.expression||this.modifiers)&&(this.update||this.twoWay)&&!this._checkStatement()){var a=this;this.update?this._update=function(e,t){a._locked||a.update(e,t)}:this._update=i;var l=this._preProcess?o.bind(this._preProcess,this):null,c=this._postProcess?o.bind(this._postProcess,this):null,u=this._watcher=new s(this.vm,this.expression,this._update,{filters:this.filters,twoWay:this.twoWay,deep:this.deep,preProcess:l,postProcess:c,scope:this._scope});this.afterBind?this.afterBind():this.update&&this.update(u.value)}this._bound=!0},r.prototype._setupParams=function(){if(this.params){var e=this.params;this.params=Object.create(null);for(var t,n,i,r=e.length;r--;)t=e[r],i=o.camelize(t),n=o.getBindAttr(this.el,t),null!=n?this._setupParamWatcher(i,n):(n=o.attr(this.el,t),null!=n&&(this.params[i]=""===n?!0:n))}},r.prototype._setupParamWatcher=function(e,t){var n=this,i=!1,r=(this._scope||this.vm).$watch(t,function(t,r){if(n.params[e]=t,i){var o=n.paramWatchers&&n.paramWatchers[e];o&&o.call(n,t,r)}else i=!0},{immediate:!0});(this._paramUnwatchFns||(this._paramUnwatchFns=[])).push(r)},r.prototype._checkStatement=function(){var e=this.expression;if(e&&this.acceptStatement&&!a.isSimplePath(e)){var t=a.parse(e).get,n=this._scope||this.vm,i=function(){t.call(n,n)};return this.filters&&(i=n._applyFilters(i,null,this.filters)),this.update(i),!0}},r.prototype.set=function(e){this.twoWay?this._withLock(function(){this._watcher.set(e)}):"production"!==n.env.NODE_ENV&&o.warn("Directive.set() can only be used inside twoWaydirectives.")},r.prototype._withLock=function(e){var t=this;t._locked=!0,e.call(t),o.nextTick(function(){t._locked=!1})},r.prototype.on=function(e,t){o.on(this.el,e,t),(this._listeners||(this._listeners=[])).push([e,t])},r.prototype._teardown=function(){if(this._bound){this._bound=!1,this.unbind&&this.unbind(),this._watcher&&this._watcher.teardown();var e,t=this._listeners;if(t)for(e=t.length;e--;)o.off(this.el,t[e][0],t[e][1]);var i=this._paramUnwatchFns;if(i)for(e=i.length;e--;)i[e]();"production"!==n.env.NODE_ENV&&this.el&&this.el._vue_directives.$remove(this),this.vm=this.el=this._watcher=this._listeners=null}},t.exports=r}).call(this,e("_process"))},{"./parsers/expression":63,"./util":74,"./watcher":78,_process:2}],25:[function(e,t,n){n.slot=e("./slot"),n.partial=e("./partial")},{"./partial":26,"./slot":27}],26:[function(e,t,n){(function(n){var i=e("../../util"),r=e("../public/if"),o=e("../../fragment/factory");t.exports={priority:1750,params:["name"],paramWatchers:{name:function(e){r.remove.call(this),e&&this.insert(e)}},bind:function(){this.anchor=i.createAnchor("v-partial"),i.replace(this.el,this.anchor),this.insert(this.params.name)},insert:function(e){var t=i.resolveAsset(this.vm.$options,"partials",e);"production"!==n.env.NODE_ENV&&i.assertAsset(t,"partial",e),t&&(this.factory=new o(this.vm,t),r.insert.call(this))},unbind:function(){this.frag&&this.frag.destroy()}}}).call(this,e("_process"))},{"../../fragment/factory":52,"../../util":74,"../public/if":39,_process:2}],27:[function(e,t,n){function i(e,t,n){function i(e){!r.isTemplate(e)||e.hasAttribute("v-if")||e.hasAttribute("v-for")||(e=o.parse(e)),e=o.clone(e),s.appendChild(e)}for(var s=document.createDocumentFragment(),a=0,l=e.length;l>a;a++){var c=e[a];n&&!c.__v_selected?i(c):n||c.parentNode!==t||(c.__v_selected=!0,i(c))}return s}var r=e("../../util"),o=e("../../parsers/template");t.exports={priority:1750,params:["name"],bind:function(){var e,t=this.vm,n=t.$options._content;if(!n)return void this.fallback();var r=t._context,o=this.params.name;if(o){var s='[slot="'+o+'"]',a=n.querySelectorAll(s);a.length?(e=i(a,n),e.hasChildNodes()?this.compile(e,r,t):this.fallback()):this.fallback()}else{var l=this,c=function(){l.compile(i(n.childNodes,n,!0),r,t)};t._isCompiled?c():t.$once("hook:compiled",c)}},fallback:function(){this.compile(r.extractContent(this.el,!0),this.vm)},compile:function(e,t,n){if(e&&t){var i=n?n._scope:this._scope;this.unlink=t.$compile(e,n,i,this._frag)}e?r.replace(this.el,e):r.remove(this.el)},unbind:function(){this.unlink&&this.unlink()}}},{"../../parsers/template":65,"../../util":74}],28:[function(e,t,n){function i(e){for(var t={},n=e.trim().split(/\s+/),i=n.length;i--;)t[n[i]]=!0;return t}function r(e,t){return o.isArray(e)?e.indexOf(t)>-1:e.hasOwnProperty(t)}var o=e("../../util"),s=o.addClass,a=o.removeClass;t.exports={deep:!0,update:function(e){e&&"string"==typeof e?this.handleObject(i(e)):o.isPlainObject(e)?this.handleObject(e):o.isArray(e)?this.handleArray(e):this.cleanup()},handleObject:function(e){this.cleanup(e);for(var t=this.prevKeys=Object.keys(e),n=0,i=t.length;i>n;n++){var r=t[n];e[r]?s(this.el,r):a(this.el,r)}},handleArray:function(e){this.cleanup(e);for(var t=0,n=e.length;n>t;t++)e[t]&&s(this.el,e[t]);this.prevKeys=e.slice()},cleanup:function(e){if(this.prevKeys)for(var t=this.prevKeys.length;t--;){var n=this.prevKeys[t];!n||e&&r(e,n)||a(this.el,n)}}}},{"../../util":74}],29:[function(e,t,n){(function(n){var i=e("../../util"),r=e("../../parsers/template");t.exports={priority:1500,params:["keep-alive","transition-mode","inline-template"],bind:function(){this.el.__vue__?"production"!==n.env.NODE_ENV&&i.warn('cannot mount component "'+this.expression+'" on already mounted element: '+this.el):(this.keepAlive=this.params.keepAlive,this.keepAlive&&(this.cache={}),this.params.inlineTemplate&&(this.inlineTemplate=i.extractContent(this.el,!0)),this.pendingComponentCb=this.Component=null,this.pendingRemovals=0,this.pendingRemovalCb=null,this.anchor=i.createAnchor("v-component"),i.replace(this.el,this.anchor),this.el.removeAttribute("is"),this.literal&&this.setComponent(this.expression))},update:function(e){this.literal||this.setComponent(e)},setComponent:function(e,t){if(this.invalidatePending(),e){var n=this;this.resolveComponent(e,function(){n.mountComponent(t)})}else this.unbuild(!0),this.remove(this.childVM,t),this.childVM=null},resolveComponent:function(e,t){var n=this;this.pendingComponentCb=i.cancellable(function(i){n.ComponentName=i.options.name||e,n.Component=i,t()}),this.vm._resolveComponent(e,this.pendingComponentCb)},mountComponent:function(e){this.unbuild(!0);var t=this,n=this.Component.options.activate,i=this.getCached(),r=this.build();n&&!i?(this.waitingFor=r,n.call(r,function(){t.waitingFor=null,t.transition(r,e)})):(i&&r._updateRef(),this.transition(r,e))},invalidatePending:function(){this.pendingComponentCb&&(this.pendingComponentCb.cancel(),this.pendingComponentCb=null)},build:function(e){var t=this.getCached();if(t)return t;if(this.Component){var o={name:this.ComponentName,el:r.clone(this.el),template:this.inlineTemplate,parent:this._host||this.vm,_linkerCachable:!this.inlineTemplate,_ref:this.descriptor.ref,_asComponent:!0,_isRouterView:this._isRouterView,_context:this.vm,_scope:this._scope,_frag:this._frag};e&&i.extend(o,e);var s=new this.Component(o);return this.keepAlive&&(this.cache[this.Component.cid]=s),"production"!==n.env.NODE_ENV&&this.el.hasAttribute("transition")&&s._isFragment&&i.warn("Transitions will not work on a fragment instance. Template: "+s.$options.template),s}},getCached:function(){return this.keepAlive&&this.cache[this.Component.cid]},unbuild:function(e){this.waitingFor&&(this.waitingFor.$destroy(),this.waitingFor=null);var t=this.childVM;return!t||this.keepAlive?void(t&&t._updateRef(!0)):void t.$destroy(!1,e)},remove:function(e,t){var n=this.keepAlive;if(e){this.pendingRemovals++,this.pendingRemovalCb=t;var i=this;e.$remove(function(){i.pendingRemovals--,n||e._cleanup(),!i.pendingRemovals&&i.pendingRemovalCb&&(i.pendingRemovalCb(),i.pendingRemovalCb=null)})}else t&&t()},transition:function(e,t){var i=this,r=this.childVM;switch("production"!==n.env.NODE_ENV&&(r&&(r._inactive=!0),e._inactive=!1),this.childVM=e,i.params.transitionMode){case"in-out":e.$before(i.anchor,function(){i.remove(r,t)});break;case"out-in":i.remove(r,function(){e.$before(i.anchor,t)});break;default:i.remove(r),e.$before(i.anchor,t)}},unbind:function(){if(this.invalidatePending(),this.unbuild(),this.cache){for(var e in this.cache)this.cache[e].$destroy();this.cache=null}}}}).call(this,e("_process"))},{"../../parsers/template":65,"../../util":74,_process:2}],30:[function(e,t,n){n.style=e("./style"),n["class"]=e("./class"),n.component=e("./component"),n.prop=e("./prop"),n.transition=e("./transition")},{"./class":28,"./component":29,"./prop":31,"./style":32,"./transition":33}],31:[function(e,t,n){var i=e("../../util"),r=e("../../watcher"),o=e("../../config")._propBindingModes;t.exports={bind:function(){var e=this.vm,t=e._context,n=this.descriptor.prop,s=n.path,a=n.parentPath,l=n.mode===o.TWO_WAY,c=this.parentWatcher=new r(t,a,function(t){i.assertProp(n,t)&&(e[s]=t)},{twoWay:l,filters:n.filters,scope:this._scope});if(i.initProp(e,n,c.value),l){var u=this;e.$once("hook:created",function(){u.childWatcher=new r(e,s,function(e){c.set(e)},{sync:!0})})}},unbind:function(){this.parentWatcher.teardown(),this.childWatcher&&this.childWatcher.teardown()}}},{"../../config":23,"../../util":74,"../../watcher":78}],32:[function(e,t,n){function i(e){if(u[e])return u[e];var t=r(e);return u[e]=u[t]=t,t}function r(e){e=o.hyphenate(e);var t=o.camelize(e),n=t.charAt(0).toUpperCase()+t.slice(1);if(c||(c=document.createElement("div")),t in c.style)return e;for(var i,r=s.length;r--;)if(i=a[r]+n,i in c.style)return s[r]+e}var o=e("../../util"),s=["-webkit-","-moz-","-ms-"],a=["Webkit","Moz","ms"],l=/!important;?$/,c=null,u={};t.exports={deep:!0,update:function(e){"string"==typeof e?this.el.style.cssText=e:o.isArray(e)?this.handleObject(e.reduce(o.extend,{})):this.handleObject(e||{})},handleObject:function(e){var t,n,i=this.cache||(this.cache={});for(t in i)t in e||(this.handleSingle(t,null),delete i[t]);for(t in e)n=e[t],n!==i[t]&&(i[t]=n,this.handleSingle(t,n))},handleSingle:function(e,t){if(e=i(e))if(null!=t&&(t+=""),t){var n=l.test(t)?"important":"";n&&(t=t.replace(l,"").trim()),this.el.style.setProperty(e,t,n)}else this.el.style.removeProperty(e)}}},{"../../util":74}],33:[function(e,t,n){var i=e("../../util"),r=e("../../transition/transition");t.exports={priority:1100,update:function(e,t){var n=this.el,o=i.resolveAsset(this.vm.$options,"transitions",e);e=e||"v",n.__v_trans=new r(n,e,o,this.el.__vue__||this.vm),t&&i.removeClass(n,t+"-transition"),i.addClass(n,e+"-transition")}}},{"../../transition/transition":69,"../../util":74}],34:[function(e,t,n){(function(n){var i=e("../../util"),r="http://www.w3.org/1999/xlink",o=/^xlink:/,s={value:1,checked:1,selected:1},a={value:"_value","true-value":"_trueValue","false-value":"_falseValue"},l=/^v-|^:|^@|^(is|transition|transition-mode|debounce|track-by|stagger|enter-stagger|leave-stagger)$/;t.exports={priority:850,bind:function(){var e=this.arg,t=this.el.tagName;if(e||(this.deep=!0),this.descriptor.interp&&((l.test(e)||"name"===e&&("PARTIAL"===t||"SLOT"===t))&&("production"!==n.env.NODE_ENV&&i.warn(e+'="'+this.descriptor.raw+'": attribute interpolation is not allowed in Vue.js directives and special attributes.'),this.el.removeAttribute(e),this.invalid=!0),"production"!==n.env.NODE_ENV)){var r=e+'="'+this.descriptor.raw+'": ';"src"===e&&i.warn(r+'interpolation in "src" attribute will cause a 404 request. Use v-bind:src instead.'),"style"===e&&i.warn(r+'interpolation in "style" attribute will cause the attribute to be discarded in Internet Explorer. Use v-bind:style instead.')}},update:function(e){if(!this.invalid){var t=this.arg;this.arg?this.handleSingle(t,e):this.handleObject(e||{})}},handleObject:e("../internal/style").handleObject,handleSingle:function(e,t){s[e]&&e in this.el&&(this.el[e]="value"===e?t||"":t);var n=a[e];if(n){this.el[n]=t;var i=this.el.__v_model;i&&i.listener()}return"value"===e&&"TEXTAREA"===this.el.tagName?void this.el.removeAttribute(e):void(null!=t&&t!==!1?o.test(e)?this.el.setAttributeNS(r,e,t):this.el.setAttribute(e,t):this.el.removeAttribute(e))}}}).call(this,e("_process"))},{"../../util":74,"../internal/style":32,_process:2}],35:[function(e,t,n){t.exports={bind:function(){var e=this.el;this.vm.$once("hook:compiled",function(){e.removeAttribute("v-cloak")})}}},{}],36:[function(e,t,n){var i=e("../../util");t.exports={priority:1500,bind:function(){if(this.arg){var e=this.id=i.camelize(this.arg),t=(this._scope||this.vm).$els;t.hasOwnProperty(e)?t[e]=this.el:i.defineReactive(t,e,this.el)}},unbind:function(){var e=(this._scope||this.vm).$els;e[this.id]===this.el&&(e[this.id]=null)}}},{"../../util":74}],37:[function(e,t,n){(function(n){function i(e,t,n){var i=e.node.previousSibling;if(i){for(e=i.__vfrag__;!(e&&e.forId===n&&e.inserted||i===t);){if(i=i.previousSibling,!i)return;e=i.__vfrag__}return e}}function r(e){return e.node.__vue__||e.node.nextSibling.__vue__}function o(e){for(var t=-1,n=new Array(e);++tt;t++)u=e[t],o=h?u.$key:null,a=h?u.$value:u,c=!l(a),r=!w&&this.getCachedFrag(a,t,o),r?(r.reused=!0,r.scope.$index=t,o&&(r.scope.$key=o),v&&(r.scope[v]=null!==o?o:t),(p||h||c)&&(r.scope[m]=a)):(r=this.create(a,m,t,o),r.fresh=!w),f[t]=r,w&&r.before(y);if(!w){var _=0,x=d.length-f.length;for(t=0,n=d.length;n>t;t++)r=d[t],r.reused||(this.deleteCachedFrag(r),this.remove(r,_++,x,b));var E,C,k,O=0;for(t=0,n=f.length;n>t;t++)r=f[t],E=f[t-1],C=E?E.staggerCb?E.staggerAnchor:E.end||E.node:g,r.reused&&!r.staggerCb?(k=i(r,g,this.id),k!==E&&this.move(r,C)):this.insert(r,O++,C,b),r.reused=r.fresh=!1}},create:function(e,t,n,i){var r=this._host,o=this._scope||this.vm,a=Object.create(o);a.$refs=Object.create(o.$refs),a.$els=Object.create(o.$els),a.$parent=o,a.$forContext=this,s.defineReactive(a,t,e),s.defineReactive(a,"$index",n),i?s.defineReactive(a,"$key",i):a.$key&&s.define(a,"$key",null),this.iterator&&s.defineReactive(a,this.iterator,null!==i?i:n);var l=this.factory.create(r,a,this._frag);return l.forId=this.id,this.cacheFrag(e,l,n,i),l},updateRef:function(){var e=this.descriptor.ref;if(e){var t,n=(this._scope||this.vm).$refs;this.fromObject?(t={},this.frags.forEach(function(e){t[e.scope.$key]=r(e)})):t=this.frags.map(r),n[e]=t}},updateModel:function(){if(this.isOption){var e=this.start.parentNode,t=e&&e.__v_model;t&&t.forceUpdate()}},insert:function(e,t,n,i){e.staggerCb&&(e.staggerCb.cancel(),e.staggerCb=null);var r=this.getStagger(e,t,null,"enter");if(i&&r){var o=e.staggerAnchor;o||(o=e.staggerAnchor=s.createAnchor("stagger-anchor"),o.__vfrag__=e),s.after(o,n);var a=e.staggerCb=s.cancellable(function(){e.staggerCb=null,e.before(o),s.remove(o)});setTimeout(a,r)}else e.before(n.nextSibling)},remove:function(e,t,n,i){if(e.staggerCb)return e.staggerCb.cancel(),void(e.staggerCb=null);var r=this.getStagger(e,t,n,"leave");if(i&&r){var o=e.staggerCb=s.cancellable(function(){e.staggerCb=null,e.remove()});setTimeout(o,r)}else e.remove()},move:function(e,t){e.before(t.nextSibling,!1)},cacheFrag:function(e,t,i,r){var o,a=this.params.trackBy,c=this.cache,u=!l(e);r||a||u?(o=a?"$index"===a?i:e[a]:r||e,c[o]?"$index"!==a&&"production"!==n.env.NODE_ENV&&this.warnDuplicate(e):c[o]=t):(o=this.id,e.hasOwnProperty(o)?null===e[o]?e[o]=t:"production"!==n.env.NODE_ENV&&this.warnDuplicate(e):s.define(e,o,t)),t.raw=e},getCachedFrag:function(e,t,i){var r,o=this.params.trackBy,s=!l(e);if(i||o||s){var a=o?"$index"===o?t:e[o]:i||e;r=this.cache[a]}else r=e[this.id];return r&&(r.reused||r.fresh)&&"production"!==n.env.NODE_ENV&&this.warnDuplicate(e),r},deleteCachedFrag:function(e){var t=e.raw,n=this.params.trackBy,i=e.scope,r=i.$index,o=i.hasOwnProperty("$key")&&i.$key,s=!l(t);if(n||o||s){var a=n?"$index"===n?r:t[n]:o||t;this.cache[a]=null}else t[this.id]=null,e.raw=null},getStagger:function(e,t,n,i){i+="Stagger";var r=e.node.__v_trans,o=r&&r.hooks,s=o&&(o[i]||o.stagger);return s?s.call(e,t,n):t*parseInt(this.params[i]||this.params.stagger,10)},_preProcess:function(e){return this.rawValue=e,e},_postProcess:function(e){if(s.isArray(e))return e;if(s.isPlainObject(e)){for(var t,n=Object.keys(e),i=n.length,r=new Array(i);i--;)t=n[i],r[i]={$key:t,$value:e[t]};return r}return"number"==typeof e&&(e=o(e)),e||[]},unbind:function(){if(this.descriptor.ref&&((this._scope||this.vm).$refs[this.descriptor.ref]=null),this.frags)for(var e,t=this.frags.length;t--;)e=this.frags[t],this.deleteCachedFrag(e),e.destroy()}},"production"!==n.env.NODE_ENV&&(t.exports.warnDuplicate=function(e){s.warn('Duplicate value found in v-for="'+this.descriptor.raw+'": '+JSON.stringify(e)+'. Use track-by="$index" if you are expecting duplicate values.')})}).call(this,e("_process"))},{"../../fragment/factory":52,"../../util":74,_process:2}],38:[function(e,t,n){var i=e("../../util"),r=e("../../parsers/template");t.exports={bind:function(){8===this.el.nodeType&&(this.nodes=[],this.anchor=i.createAnchor("v-html"),i.replace(this.el,this.anchor))},update:function(e){e=i.toString(e),this.nodes?this.swap(e):this.el.innerHTML=e},swap:function(e){for(var t=this.nodes.length;t--;)i.remove(this.nodes[t]);var n=r.parse(e,!0,!0);this.nodes=i.toArray(n.childNodes),i.before(n,this.anchor)}}},{"../../parsers/template":65,"../../util":74}],39:[function(e,t,n){(function(n){var i=e("../../util"),r=e("../../fragment/factory");t.exports={priority:2e3,bind:function(){var e=this.el;if(e.__vue__)"production"!==n.env.NODE_ENV&&i.warn('v-if="'+this.expression+'" cannot be used on an instance root element.'),this.invalid=!0;else{var t=e.nextElementSibling;t&&null!==i.attr(t,"v-else")&&(i.remove(t),this.elseFactory=new r(this.vm,t)),this.anchor=i.createAnchor("v-if"),i.replace(e,this.anchor),this.factory=new r(this.vm,e)}},update:function(e){this.invalid||(e?this.frag||this.insert():this.remove())},insert:function(){this.elseFrag&&(this.elseFrag.remove(),this.elseFrag=null),this.frag=this.factory.create(this._host,this._scope,this._frag),this.frag.before(this.anchor)},remove:function(){this.frag&&(this.frag.remove(),this.frag=null),this.elseFactory&&!this.elseFrag&&(this.elseFrag=this.elseFactory.create(this._host,this._scope,this._frag),this.elseFrag.before(this.anchor))},unbind:function(){this.frag&&this.frag.destroy()}}}).call(this,e("_process"))},{"../../fragment/factory":52,"../../util":74,_process:2}],40:[function(e,t,n){n.text=e("./text"),n.html=e("./html"),n["for"]=e("./for"),n["if"]=e("./if"),n.show=e("./show"),n.model=e("./model"),n.on=e("./on"),n.bind=e("./bind"),n.el=e("./el"),n.ref=e("./ref"),n.cloak=e("./cloak")},{"./bind":34,"./cloak":35,"./el":36,"./for":37,"./html":38,"./if":39,"./model":42,"./on":46,"./ref":47,"./show":48,"./text":49}],41:[function(e,t,n){var i=e("../../../util");t.exports={bind:function(){function e(){var e=n.checked;return e&&n.hasOwnProperty("_trueValue")?n._trueValue:!e&&n.hasOwnProperty("_falseValue")?n._falseValue:e}var t=this,n=this.el;this.getValue=function(){return n.hasOwnProperty("_value")?n._value:t.params.number?i.toNumber(n.value):n.value},this.listener=function(){var r=t._watcher.value;if(i.isArray(r)){var o=t.getValue();n.checked?i.indexOf(r,o)<0&&r.push(o):r.$remove(o)}else t.set(e())},this.on("change",this.listener),n.checked&&(this.afterBind=this.listener)},update:function(e){var t=this.el;i.isArray(e)?t.checked=i.indexOf(e,this.getValue())>-1:t.hasOwnProperty("_trueValue")?t.checked=i.looseEqual(e,t._trueValue):t.checked=!!e}}},{"../../../util":74}],42:[function(e,t,n){(function(n){var i=e("../../../util"),r={text:e("./text"),radio:e("./radio"),select:e("./select"),checkbox:e("./checkbox")};t.exports={priority:800,twoWay:!0,handlers:r,params:["lazy","number","debounce"],bind:function(){this.checkFilters(),this.hasRead&&!this.hasWrite&&"production"!==n.env.NODE_ENV&&i.warn("It seems you are using a read-only filter with v-model. You might want to use a two-way filter to ensure correct behavior.");var e,t=this.el,o=t.tagName;if("INPUT"===o)e=r[t.type]||r.text;else if("SELECT"===o)e=r.select;else{if("TEXTAREA"!==o)return void("production"!==n.env.NODE_ENV&&i.warn("v-model does not support element type: "+o));e=r.text}t.__v_model=this,e.bind.call(this),this.update=e.update,this._unbind=e.unbind},checkFilters:function(){var e=this.filters;if(e)for(var t=e.length;t--;){var n=i.resolveAsset(this.vm.$options,"filters",e[t].name);("function"==typeof n||n.read)&&(this.hasRead=!0),n.write&&(this.hasWrite=!0)}},unbind:function(){this.el.__v_model=null,this._unbind&&this._unbind()}}}).call(this,e("_process"))},{"../../../util":74,"./checkbox":41,"./radio":43,"./select":44,"./text":45,_process:2}],43:[function(e,t,n){var i=e("../../../util");t.exports={bind:function(){var e=this,t=this.el;this.getValue=function(){if(t.hasOwnProperty("_value"))return t._value;var n=t.value;return e.params.number&&(n=i.toNumber(n)),n},this.listener=function(){e.set(e.getValue())},this.on("change",this.listener),t.checked&&(this.afterBind=this.listener)},update:function(e){this.el.checked=i.looseEqual(e,this.getValue())}}},{"../../../util":74}],44:[function(e,t,n){function i(e,t,n){for(var i,r,o,s=t?[]:null,a=0,l=e.options.length;l>a;a++)if(i=e.options[a],o=n?i.hasAttribute("selected"):i.selected){if(r=i.hasOwnProperty("_value")?i._value:i.value,!t)return r;s.push(r)}return s}function r(e,t){for(var n=e.length;n--;)if(o.looseEqual(e[n],t))return n;return-1}var o=e("../../../util");t.exports={bind:function(){var e=this,t=this.el;this.forceUpdate=function(){e._watcher&&e.update(e._watcher.get())};var n=this.multiple=t.hasAttribute("multiple");this.listener=function(){var r=i(t,n);r=e.params.number?o.isArray(r)?r.map(o.toNumber):o.toNumber(r):r,e.set(r)},this.on("change",this.listener);var r=i(t,n,!0);(n&&r.length||!n&&null!==r)&&(this.afterBind=this.listener),this.vm.$on("hook:attached",this.forceUpdate)},update:function(e){var t=this.el;t.selectedIndex=-1;for(var n,i,s=this.multiple&&o.isArray(e),a=t.options,l=a.length;l--;)n=a[l],i=n.hasOwnProperty("_value")?n._value:n.value,n.selected=s?r(e,i)>-1:o.looseEqual(e,i)},unbind:function(){this.vm.$off("hook:attached",this.forceUpdate)}}},{"../../../util":74}],45:[function(e,t,n){var i=e("../../../util");t.exports={bind:function(){var e=this,t=this.el,n="range"===t.type,r=this.params.lazy,o=this.params.number,s=this.params.debounce,a=!1;i.isAndroid||n||(this.on("compositionstart",function(){a=!0}),this.on("compositionend",function(){a=!1,r||e.listener()})),this.focused=!1,n||(this.on("focus",function(){e.focused=!0}),this.on("blur",function(){e.focused=!1,e.listener()})),this.listener=function(){if(!a){var r=o||n?i.toNumber(t.value):t.value;e.set(r),i.nextTick(function(){e._bound&&!e.focused&&e.update(e._watcher.value)})}},s&&(this.listener=i.debounce(this.listener,s)),this.hasjQuery="function"==typeof jQuery,this.hasjQuery?(jQuery(t).on("change",this.listener),r||jQuery(t).on("input",this.listener)):(this.on("change",this.listener),r||this.on("input",this.listener)),!r&&i.isIE9&&(this.on("cut",function(){i.nextTick(e.listener)}),this.on("keyup",function(t){(46===t.keyCode||8===t.keyCode)&&e.listener()})),(t.hasAttribute("value")||"TEXTAREA"===t.tagName&&t.value.trim())&&(this.afterBind=this.listener)},update:function(e){this.el.value=i.toString(e)},unbind:function(){var e=this.el;this.hasjQuery&&(jQuery(e).off("change",this.listener),jQuery(e).off("input",this.listener))}}},{"../../../util":74}],46:[function(e,t,n){(function(n){function i(e,t){var n=t.map(function(e){var t=a[e];return t||(t=parseInt(e,10)),t});return function(t){return n.indexOf(t.keyCode)>-1?e.call(this,t):void 0}}function r(e){return function(t){return t.stopPropagation(),e.call(this,t)}}function o(e){return function(t){return t.preventDefault(),e.call(this,t)}}var s=e("../../util"),a={esc:27,tab:9,enter:13,space:32,"delete":46,up:38,left:37,right:39,down:40};t.exports={acceptStatement:!0,priority:700,bind:function(){if("IFRAME"===this.el.tagName&&"load"!==this.arg){var e=this;this.iframeBind=function(){s.on(e.el.contentWindow,e.arg,e.handler)},this.on("load",this.iframeBind)}},update:function(e){if(this.descriptor.raw||(e=function(){}),"function"!=typeof e)return void("production"!==n.env.NODE_ENV&&s.warn("v-on:"+this.arg+'="'+this.expression+'" expects a function value, got '+e));this.modifiers.stop&&(e=r(e)),this.modifiers.prevent&&(e=o(e));var t=Object.keys(this.modifiers).filter(function(e){return"stop"!==e&&"prevent"!==e});t.length&&(e=i(e,t)),this.reset();var a=this._scope||this.vm;this.handler=function(t){a.$event=t;var n=e(t);return a.$event=null,n},this.iframeBind?this.iframeBind():s.on(this.el,this.arg,this.handler)},reset:function(){var e=this.iframeBind?this.el.contentWindow:this.el;this.handler&&s.off(e,this.arg,this.handler)},unbind:function(){this.reset()}}}).call(this,e("_process"))},{"../../util":74,_process:2}],47:[function(e,t,n){(function(n){"production"!==n.env.NODE_ENV&&(t.exports={bind:function(){e("../../util").warn("v-ref:"+this.arg+" must be used on a child component. Found on <"+this.el.tagName.toLowerCase()+">.")}})}).call(this,e("_process"))},{"../../util":74,_process:2}],48:[function(e,t,n){var i=e("../../util"),r=e("../../transition");t.exports={bind:function(){var e=this.el.nextElementSibling;e&&null!==i.attr(e,"v-else")&&(this.elseEl=e)},update:function(e){this.apply(this.el,e),this.elseEl&&this.apply(this.elseEl,!e)},apply:function(e,t){function n(){e.style.display=t?"":"none"}i.inDoc(e)?r.apply(e,t?1:-1,n,this.vm):n()}}},{"../../transition":67,"../../util":74}],49:[function(e,t,n){var i=e("../../util");t.exports={bind:function(){this.attr=3===this.el.nodeType?"data":"textContent"},update:function(e){this.el[this.attr]=i.toString(e)}}},{"../../util":74}],50:[function(e,t,n){function i(e,t){var n;if(r.isPlainObject(e)){var o=Object.keys(e);for(n=o.length;n--;)if(i(e[o[n]],t))return!0}else if(r.isArray(e)){for(n=e.length;n--;)if(i(e[n],t))return!0}else if(null!=e)return e.toString().toLowerCase().indexOf(t)>-1}var r=e("../util"),o=e("../parsers/path"),s=e("../directives/public/for")._postProcess;n.limitBy=function(e,t,n){return n=n?parseInt(n,10):0,"number"==typeof t?e.slice(n,n+t):e},n.filterBy=function(e,t,n){if(e=s(e),null==t)return e;if("function"==typeof t)return e.filter(t);t=(""+t).toLowerCase();for(var a,l,c,u,h="in"===n?3:2,p=r.toArray(arguments,h).reduce(function(e,t){return e.concat(t)},[]),d=[],f=0,m=e.length;m>f;f++)if(a=e[f],c=a&&a.$value||a,u=p.length){for(;u--;)if(l=p[u],"$key"===l&&i(a.$key,t)||i(o.get(c,l),t)){d.push(a);break}}else i(a,t)&&d.push(a);return d},n.orderBy=function(e,t,n){if(e=s(e),!t)return e;var i=n&&0>n?-1:1;return e.slice().sort(function(e,n){return"$key"!==t&&(r.isObject(e)&&"$value"in e&&(e=e.$value),r.isObject(n)&&"$value"in n&&(n=n.$value)),e=r.isObject(e)?o.get(e,t):e,n=r.isObject(n)?o.get(n,t):n,e===n?0:e>n?i:-i})}},{"../directives/public/for":37,"../parsers/path":64,"../util":74}],51:[function(e,t,n){var i=e("../util");n.json={read:function(e,t){return"string"==typeof e?e:JSON.stringify(e,null,Number(t)||2)},write:function(e){try{return JSON.parse(e)}catch(t){return e}}},n.capitalize=function(e){return e||0===e?(e=e.toString(),e.charAt(0).toUpperCase()+e.slice(1)):""},n.uppercase=function(e){return e||0===e?e.toString().toUpperCase():""},n.lowercase=function(e){return e||0===e?e.toString().toLowerCase():""};var r=/(\d{3})(?=\d)/g;n.currency=function(e,t){if(e=parseFloat(e),!isFinite(e)||!e&&0!==e)return"";t=null!=t?t:"$";var n=Math.abs(e).toFixed(2),i=n.slice(0,-3),o=i.length%3,s=o>0?i.slice(0,o)+(i.length>3?",":""):"",a=n.slice(-3),l=0>e?"-":"";return t+l+s+i.slice(o).replace(r,"$1,")+a},n.pluralize=function(e){var t=i.toArray(arguments,1);return t.length>1?t[e%10-1]||t[t.length-1]:t[0]+(1===e?"":"s")},n.debounce=function(e,t){return e?(t||(t=300),i.debounce(e,t)):void 0},i.extend(n,e("./array-filters"))},{"../util":74,"./array-filters":50}],52:[function(e,t,n){function i(e,t){this.vm=e;var n,i="string"==typeof t;i||r.isTemplate(t)?n=s.parse(t,!0):(n=document.createDocumentFragment(),n.appendChild(t)),this.template=n;var a,l=e.constructor.cid;if(l>0){var u=l+(i?t:t.outerHTML);a=c.get(u),a||(a=o.compile(n,e.$options,!0),c.put(u,a))}else a=o.compile(n,e.$options,!0);this.linker=a}var r=e("../util"),o=e("../compiler"),s=e("../parsers/template"),a=e("./fragment"),l=e("../cache"),c=new l(5e3);i.prototype.create=function(e,t,n){var i=s.clone(this.template);return new a(this.linker,this.vm,i,e,t,n)},t.exports=i},{"../cache":18,"../compiler":21,"../parsers/template":65,"../util":74,"./fragment":53}],53:[function(e,t,n){function i(e,t,n,i,l,c){this.children=[],this.childFrags=[],this.vm=t,this.scope=l,this.inserted=!1,this.parentFrag=c,c&&c.childFrags.push(this),this.unlink=e(t,n,i,l,this);var u=this.single=1===n.childNodes.length;u?(this.node=n.childNodes[0],this.before=r,this.remove=o):(this.node=h.createAnchor("fragment-start"),this.end=h.createAnchor("fragment-end"),this.frag=n,h.prepend(this.node,n),n.appendChild(this.end),this.before=s,this.remove=a),this.node.__vfrag__=this}function r(e,t){this.inserted=!0;var n=t!==!1?p.before:h.before;n(this.node,e,this.vm),h.inDoc(this.node)&&this.callHook(l)}function o(){this.inserted=!1;var e=h.inDoc(this.node),t=this;t.callHook(c),p.remove(this.node,this.vm,function(){e&&t.callHook(u),t.destroy()})}function s(e,t){this.inserted=!0;var n=this.vm,i=t!==!1?p.before:h.before;h.mapNodeRange(this.node,this.end,function(t){i(t,e,n)}),h.inDoc(this.node)&&this.callHook(l)}function a(){this.inserted=!1;var e=this,t=h.inDoc(this.node);e.callHook(c),h.removeNodeRange(this.node,this.end,this.vm,this.frag,function(){t&&e.callHook(u),e.destroy()})}function l(e){e._isAttached||e._callHook("attached")}function c(e){e.$destroy(!1,!0)}function u(e){e._isAttached&&e._callHook("detached")}var h=e("../util"),p=e("../transition");i.prototype.callHook=function(e){var t,n;for(t=0,n=this.children.length;n>t;t++)e(this.children[t]);for(t=0,n=this.childFrags.length;n>t;t++)this.childFrags[t].callHook(e)},i.prototype.destroy=function(){this.parentFrag&&this.parentFrag.childFrags.$remove(this),this.unlink()},t.exports=i},{"../transition":67,"../util":74}],54:[function(e,t,n){(function(t){function i(e,t){for(var n,i,r=t.attributes,o=0,s=r.length;s>o;o++)n=r[o].name, -p.test(n)&&(n=n.replace(p,""),i=(e._scope||e._context).$eval(r[o].value,!0),e.$on(n.replace(p),i))}function r(e,t,n){if(n){var i,r,s,a;for(r in n)if(i=n[r],u.isArray(i))for(s=0,a=i.length;a>s;s++)o(e,t,r,i[s]);else o(e,t,r,i)}}function o(e,n,i,r,s){var a=typeof r;if("function"===a)e[n](i,r,s);else if("string"===a){var l=e.$options.methods,c=l&&l[r];c?e[n](i,c,s):"production"!==t.env.NODE_ENV&&u.warn('Unknown method: "'+r+'" when registering callback for '+n+': "'+i+'".')}else r&&"object"===a&&o(e,n,i,r.handler,r)}function s(){this._isAttached||(this._isAttached=!0,this.$children.forEach(a))}function a(e){!e._isAttached&&h(e.$el)&&e._callHook("attached")}function l(){this._isAttached&&(this._isAttached=!1,this.$children.forEach(c))}function c(e){e._isAttached&&!h(e.$el)&&e._callHook("detached")}var u=e("../util"),h=u.inDoc,p=/^v-on:|^@/;n._initEvents=function(){var e=this.$options;e._asComponent&&i(this,e.el),r(this,"$on",e.events),r(this,"$watch",e.watch)},n._initDOMHooks=function(){this.$on("hook:attached",s),this.$on("hook:detached",l)},n._callHook=function(e){var t=this.$options[e];if(t)for(var n=0,i=t.length;i>n;n++)t[n].call(this);this.$emit("hook:"+e)}}).call(this,e("_process"))},{"../util":74,_process:2}],55:[function(e,t,n){var i=e("../util").mergeOptions,r=0;n._init=function(e){e=e||{},this.$el=null,this.$parent=e.parent,this.$root=this.$parent?this.$parent.$root:this,this.$children=[],this.$refs={},this.$els={},this._watchers=[],this._directives=[],this._uid=r++,this._isVue=!0,this._events={},this._eventsCount={},this._shouldPropagate=!1,this._isFragment=!1,this._fragment=this._fragmentStart=this._fragmentEnd=null,this._isCompiled=this._isDestroyed=this._isReady=this._isAttached=this._isBeingDestroyed=!1,this._unlinkFn=null,this._context=e._context||this.$parent,this._scope=e._scope,this._frag=e._frag,this._frag&&this._frag.children.push(this),this.$parent&&this.$parent.$children.push(this),e=this.$options=i(this.constructor.options,e,this),this._updateRef(),this._data={},this._callHook("init"),this._initState(),this._initEvents(),this._callHook("created"),e.el&&this.$mount(e.el)}},{"../util":74}],56:[function(e,t,n){var i=e("../util"),r=e("../directive"),o=e("../compiler");n._updateRef=function(e){var t=this.$options._ref;if(t){var n=(this._scope||this._context).$refs;e?n[t]===this&&(n[t]=null):n[t]=this}},n._compile=function(e){var t=this.$options,n=e;e=o.transclude(e,t),this._initElement(e);var r,s=this._context&&this._context.$options,a=o.compileRoot(e,t,s),l=this.constructor;t._linkerCachable&&(r=l.linker,r||(r=l.linker=o.compile(e,t)));var c=a(this,e,this._scope),u=r?r(this,e):o.compile(e,t)(this,e);return this._unlinkFn=function(){c(),u(!0)},t.replace&&i.replace(n,e),this._isCompiled=!0,this._callHook("compiled"),e},n._initElement=function(e){e instanceof DocumentFragment?(this._isFragment=!0,this.$el=this._fragmentStart=e.firstChild,this._fragmentEnd=e.lastChild,3===this._fragmentStart.nodeType&&(this._fragmentStart.data=this._fragmentEnd.data=""),this._fragment=e):this.$el=e,this.$el.__vue__=this,this._callHook("beforeCompile")},n._bindDir=function(e,t,n,i,o){this._directives.push(new r(e,this,t,n,i,o))},n._destroy=function(e,t){if(this._isBeingDestroyed)return void(t||this._cleanup());this._callHook("beforeDestroy"),this._isBeingDestroyed=!0;var n,i=this.$parent;for(i&&!i._isBeingDestroyed&&(i.$children.$remove(this),this._updateRef(!0)),n=this.$children.length;n--;)this.$children[n].$destroy();for(this._propsUnlinkFn&&this._propsUnlinkFn(),this._unlinkFn&&this._unlinkFn(),n=this._watchers.length;n--;)this._watchers[n].teardown();this.$el&&(this.$el.__vue__=null);var r=this;e&&this.$el?this.$remove(function(){r._cleanup()}):t||this._cleanup()},n._cleanup=function(){this._isDestroyed||(this._frag&&this._frag.children.$remove(this),this._data.__ob__&&this._data.__ob__.removeVm(this),this.$el=this.$parent=this.$root=this.$children=this._watchers=this._context=this._scope=this._directives=null,this._isDestroyed=!0,this._callHook("destroyed"),this.$off())}},{"../compiler":21,"../directive":24,"../util":74}],57:[function(e,t,n){(function(t){var i=e("../util");n._applyFilters=function(e,n,r,o){var s,a,l,c,u,h,p,d,f;for(h=0,p=r.length;p>h;h++)if(s=r[h],a=i.resolveAsset(this.$options,"filters",s.name),"production"!==t.env.NODE_ENV&&i.assertAsset(a,"filter",s.name),a&&(a=o?a.write:a.read||a,"function"==typeof a)){if(l=o?[e,n]:[e],u=o?2:1,s.args)for(d=0,f=s.args.length;f>d;d++)c=s.args[d],l[d+u]=c.dynamic?this.$get(c.value):c.value;e=a.apply(this,l)}return e},n._resolveComponent=function(e,n){var r=i.resolveAsset(this.$options,"components",e);if("production"!==t.env.NODE_ENV&&i.assertAsset(r,"component",e),r)if(r.options)n(r);else if(r.resolved)n(r.resolved);else if(r.requested)r.pendingCallbacks.push(n);else{r.requested=!0;var o=r.pendingCallbacks=[n];r(function(e){i.isPlainObject(e)&&(e=i.Vue.extend(e)),r.resolved=e;for(var t=0,n=o.length;n>t;t++)o[t](e)},function(n){"production"!==t.env.NODE_ENV&&i.warn("Failed to resolve async component: "+e+". "+(n?"\nReason: "+n:""))})}}}).call(this,e("_process"))},{"../util":74,_process:2}],58:[function(e,t,n){(function(t){function i(){}function r(e,t){var n=new c(t,e,null,{lazy:!0});return function(){return n.dirty&&n.evaluate(),l.target&&n.depend(),n.value}}var o=e("../util"),s=e("../compiler"),a=e("../observer"),l=e("../observer/dep"),c=e("../watcher");n._initState=function(){this._initProps(),this._initMeta(),this._initMethods(),this._initData(),this._initComputed()},n._initProps=function(){var e=this.$options,n=e.el,i=e.props;i&&!n&&"production"!==t.env.NODE_ENV&&o.warn("Props will not be compiled if no `el` option is provided at instantiation."),n=e.el=o.query(n),this._propsUnlinkFn=n&&1===n.nodeType&&i?s.compileAndLinkProps(this,n,i,this._scope):null},n._initData=function(){var e=this._data,n=this.$options.data,i=n&&n();if(i){this._data=i;for(var r in e)"production"!==t.env.NODE_ENV&&i.hasOwnProperty(r)&&o.warn('Data field "'+r+'" is already defined as a prop. Use prop default value instead.'),null===this._props[r].raw&&i.hasOwnProperty(r)||o.set(i,r,e[r])}var s,l,c=this._data,u=Object.keys(c);for(s=u.length;s--;)l=u[s],this._proxy(l);a.create(c,this)},n._setData=function(e){e=e||{};var t=this._data;this._data=e;var n,i,r;for(n=Object.keys(t),r=n.length;r--;)i=n[r],i in e||this._unproxy(i);for(n=Object.keys(e),r=n.length;r--;)i=n[r],this.hasOwnProperty(i)||this._proxy(i);t.__ob__.removeVm(this),a.create(e,this),this._digest()},n._proxy=function(e){if(!o.isReserved(e)){var t=this;Object.defineProperty(t,e,{configurable:!0,enumerable:!0,get:function(){return t._data[e]},set:function(n){t._data[e]=n}})}},n._unproxy=function(e){o.isReserved(e)||delete this[e]},n._digest=function(){for(var e=0,t=this._watchers.length;t>e;e++)this._watchers[e].update(!0)},n._initComputed=function(){var e=this.$options.computed;if(e)for(var t in e){var n=e[t],s={enumerable:!0,configurable:!0};"function"==typeof n?(s.get=r(n,this),s.set=i):(s.get=n.get?n.cache!==!1?r(n.get,this):o.bind(n.get,this):i,s.set=n.set?o.bind(n.set,this):i),Object.defineProperty(this,t,s)}},n._initMethods=function(){var e=this.$options.methods;if(e)for(var t in e)this[t]=o.bind(e[t],this)},n._initMeta=function(){var e=this.$options._meta;if(e)for(var t in e)o.defineReactive(this,t,e[t])}}).call(this,e("_process"))},{"../compiler":21,"../observer":61,"../observer/dep":60,"../util":74,"../watcher":78,_process:2}],59:[function(e,t,n){var i=e("../util"),r=Array.prototype,o=Object.create(r);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(e){var t=r[e];i.define(o,e,function(){for(var n=arguments.length,i=new Array(n);n--;)i[n]=arguments[n];var r,o=t.apply(this,i),s=this.__ob__;switch(e){case"push":r=i;break;case"unshift":r=i;break;case"splice":r=i.slice(2)}return r&&s.observeArray(r),s.dep.notify(),o})}),i.define(r,"$set",function(e,t){return e>=this.length&&(this.length=e+1),this.splice(e,1,t)[0]}),i.define(r,"$remove",function(e){if(this.length){var t=i.indexOf(this,e);return t>-1?this.splice(t,1):void 0}}),t.exports=o},{"../util":74}],60:[function(e,t,n){function i(){this.id=o++,this.subs=[]}var r=e("../util"),o=0;i.target=null,i.prototype.addSub=function(e){this.subs.push(e)},i.prototype.removeSub=function(e){this.subs.$remove(e)},i.prototype.depend=function(){i.target.addDep(this)},i.prototype.notify=function(){for(var e=r.toArray(this.subs),t=0,n=e.length;n>t;t++)e[t].update()},t.exports=i},{"../util":74}],61:[function(e,t,n){function i(e){if(this.value=e,this.dep=new l,a.define(e,"__ob__",this),a.isArray(e)){var t=a.hasProto?r:o;t(e,c,u),this.observeArray(e)}else this.walk(e)}function r(e,t){e.__proto__=t}function o(e,t,n){for(var i,r=n.length;r--;)i=n[r],a.define(e,i,t[i])}function s(e,t,n){var r=new l,o=i.create(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){if(l.target&&(r.depend(),o&&o.dep.depend(),a.isArray(n)))for(var e,t=0,i=n.length;i>t;t++)e=n[t],e&&e.__ob__&&e.__ob__.dep.depend();return n},set:function(e){e!==n&&(n=e,o=i.create(e),r.notify())}})}var a=e("../util"),l=e("./dep"),c=e("./array"),u=Object.getOwnPropertyNames(c);i.create=function(e,t){if(e&&"object"==typeof e){var n;return e.hasOwnProperty("__ob__")&&e.__ob__ instanceof i?n=e.__ob__:!a.isArray(e)&&!a.isPlainObject(e)||Object.isFrozen(e)||e._isVue||(n=new i(e)),n&&t&&n.addVm(t),n}},i.prototype.walk=function(e){for(var t=Object.keys(e),n=t.length;n--;)this.convert(t[n],e[t[n]])},i.prototype.observeArray=function(e){for(var t=e.length;t--;)i.create(e[t])},i.prototype.convert=function(e,t){s(this.value,e,t)},i.prototype.addVm=function(e){(this.vms||(this.vms=[])).push(e)},i.prototype.removeVm=function(e){this.vms.$remove(e)},a.defineReactive=s,t.exports=i},{"../util":74,"./array":59,"./dep":60}],62:[function(e,t,n){function i(){var e,t=o.slice(u,l).trim();if(t){e={};var n=t.match(b);e.name=n[0],n.length>1&&(e.args=n.slice(1).map(r))}e&&(s.filters=s.filters||[]).push(e),u=l+1}function r(e){if(w.test(e))return{value:v.toNumber(e),dynamic:!1};var t=v.stripQuotes(e),n=t===e;return{value:n?e:t,dynamic:n}}var o,s,a,l,c,u,h,p,d,f,m,v=e("../util"),g=e("../cache"),y=new g(1e3),b=/[^\s'"]+|'[^']*'|"[^"]*"/g,w=/^in$|^-?\d+/;n.parse=function(e){var t=y.get(e);if(t)return t;for(o=e,h=p=!1,d=f=m=0,u=0,s={},l=0,c=o.length;c>l;l++)if(a=o.charCodeAt(l),h)39===a&&(h=!h);else if(p)34===a&&(p=!p);else if(124===a&&124!==o.charCodeAt(l+1)&&124!==o.charCodeAt(l-1))null==s.expression?(u=l+1,s.expression=o.slice(0,l).trim()):i();else switch(a){case 34:p=!0;break;case 39:h=!0;break;case 40:m++;break;case 41:m--;break;case 91:f++;break;case 93:f--;break;case 123:d++;break;case 125:d--}return null==s.expression?s.expression=o.slice(0,l).trim():0!==u&&i(),y.put(e,s),s}},{"../cache":18,"../util":74}],63:[function(e,t,n){(function(t){function i(e,t){var n=O.length;return O[n]=t?e.replace(w,"\\n"):e,'"'+n+'"'}function r(e){var t=e.charAt(0),n=e.slice(1);return v.test(n)?e:(n=n.indexOf('"')>-1?n.replace(x,o):n,t+"scope."+n)}function o(e,t){return O[t]}function s(e,n){y.test(e)&&"production"!==t.env.NODE_ENV&&h.warn("Avoid using reserved keywords in expression: "+e),O.length=0;var s=e.replace(_,i).replace(b,"");s=(" "+s).replace(C,r).replace(x,o);var a=l(s);return a?{get:a,body:s,set:n?c(s):null}:void 0}function a(e){var t,n;return e.indexOf("[")<0?(n=e.split("."),n.raw=e,t=p.compileGetter(n)):(n=p.parse(e),t=n.get),{get:t,set:function(e,t){p.set(e,n,t)}}}function l(e){try{return new Function("scope","return "+e+";")}catch(n){"production"!==t.env.NODE_ENV&&h.warn("Invalid expression. Generated function body: "+e)}}function c(e){try{return new Function("scope","value",e+"=value;")}catch(n){"production"!==t.env.NODE_ENV&&h.warn("Invalid setter function body: "+e)}}function u(e){e.set||(e.set=c(e.body))}var h=e("../util"),p=e("./path"),d=e("../cache"),f=new d(1e3),m="Math,Date,this,true,false,null,undefined,Infinity,NaN,isNaN,isFinite,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,parseInt,parseFloat",v=new RegExp("^("+m.replace(/,/g,"\\b|")+"\\b)"),g="break,case,class,catch,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,in,instanceof,let,return,super,switch,throw,try,var,while,with,yield,enum,await,implements,package,proctected,static,interface,private,public",y=new RegExp("^("+g.replace(/,/g,"\\b|")+"\\b)"),b=/\s/g,w=/\n/g,_=/[\{,]\s*[\w\$_]+\s*:|('[^']*'|"[^"]*")|new |typeof |void /g,x=/"(\d+)"/g,E=/^[A-Za-z_$][\w$]*(\.[A-Za-z_$][\w$]*|\['.*?'\]|\[".*?"\]|\[\d+\]|\[[A-Za-z_$][\w$]*\])*$/,C=/[^\w$\.]([A-Za-z_$][\w$]*(\.[A-Za-z_$][\w$]*|\['.*?'\]|\[".*?"\])*)/g,k=/^(true|false)$/,O=[];n.parse=function(e,t){e=e.trim();var i=f.get(e);if(i)return t&&u(i),i;var r=n.isSimplePath(e)?a(e):s(e,t);return f.put(e,r),r},n.isSimplePath=function(e){return E.test(e)&&!k.test(e)&&"Math."!==e.slice(0,5)}}).call(this,e("_process"))},{"../cache":18,"../util":74,"./path":64,_process:2}],64:[function(e,t,n){(function(t){function i(e){if(void 0===e)return"eof";var t=e.charCodeAt(0);switch(t){case 91:case 93:case 46:case 34:case 39:case 48:return e;case 95:case 36:return"ident";case 32:case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"ws"}return t>=97&&122>=t||t>=65&&90>=t?"ident":t>=49&&57>=t?"number":"else"}function r(e){function t(){var t=e[f+1];return m===b&&"'"===t||m===w&&'"'===t?(f++,r=t,v[u](),!0):void 0}var n,r,o,s,a,l,c,d=[],f=-1,m=p,v=[];for(v[h]=function(){void 0!==o&&(d.push(o),o=void 0)},v[u]=function(){void 0===o?o=r:o+=r};null!=m;)if(f++,n=e[f],"\\"!==n||!t()){if(s=i(n),c=k[m],a=c[s]||c["else"]||C,a===C)return;if(m=a[0],l=v[a[1]],l&&(r=a[2],r=void 0===r?n:"*"===r?r+n:r,l()),m===E)return d.raw=e,d}}function o(e){return c.test(e)?"."+e:+e===e>>>0?"["+e+"]":"*"===e.charAt(0)?"[o"+o(e.slice(1))+"]":'["'+e.replace(/"/g,'\\"')+'"]'}var s=e("../util"),a=e("../cache"),l=new a(1e3),c=n.identRE=/^[$_a-zA-Z]+[\w$]*$/,u=0,h=1,p=0,d=1,f=2,m=3,v=4,g=5,y=6,b=7,w=8,_=9,x=10,E=11,C=12,k=[];k[p]={ws:[p],ident:[m,u],"[":[v],eof:[E]},k[d]={ws:[d],".":[f],"[":[v],eof:[E]},k[f]={ws:[f],ident:[m,u]},k[m]={ident:[m,u],0:[m,u],number:[m,u],ws:[d,h],".":[f,h],"[":[v,h],eof:[E,h]},k[v]={ws:[v],0:[g,u],number:[y,u],"'":[b,u,""],'"':[w,u,""],ident:[_,u,"*"]},k[g]={ws:[x,h],"]":[d,h]},k[y]={0:[y,u],number:[y,u],ws:[x],"]":[d,h]},k[b]={"'":[x],eof:C,"else":[b,u]},k[w]={'"':[x],eof:C,"else":[w,u]},k[_]={ident:[_,u],0:[_,u],number:[_,u],ws:[x],"]":[d,h]},k[x]={ws:[x],"]":[d,h]},n.compileGetter=function(e){var t="return o"+e.map(o).join("");return new Function("o",t)},n.parse=function(e){var t=l.get(e);return t||(t=r(e),t&&(t.get=n.compileGetter(t),l.put(e,t))),t},n.get=function(e,t){return t=n.parse(t),t?t.get(e):void 0};var O;"production"!==t.env.NODE_ENV&&(O=function(e){s.warn('You are setting a non-existent path "'+e.raw+'" on a vm instance. Consider pre-initializing the property with the "data" option for more reliable reactivity and better performance.')}),n.set=function(e,i,r){var o=e;if("string"==typeof i&&(i=n.parse(i)),!i||!s.isObject(e))return!1;for(var a,l,c=0,u=i.length;u>c;c++)a=e,l=i[c],"*"===l.charAt(0)&&(l=o[l.slice(1)]),u-1>c?(e=e[l],s.isObject(e)||(e={},"production"!==t.env.NODE_ENV&&a._isVue&&O(i),s.set(a,l,e))):s.isArray(e)?e.$set(l,r):l in e?e[l]=r:("production"!==t.env.NODE_ENV&&e._isVue&&O(i),s.set(e,l,r));return!0}}).call(this,e("_process"))},{"../cache":18,"../util":74,_process:2}],65:[function(e,t,n){function i(e){return s.isTemplate(e)&&e.content instanceof DocumentFragment}function r(e){var t=l.get(e);if(t)return t;var n=document.createDocumentFragment(),i=e.match(h),r=p.test(e);if(i||r){var o=i&&i[1],s=u[o]||u._default,a=s[0],c=s[1],d=s[2],f=document.createElement("div");for(f.innerHTML=c+e.trim()+d;a--;)f=f.lastChild;for(var m;m=f.firstChild;)n.appendChild(m)}else n.appendChild(document.createTextNode(e));return l.put(e,n),n}function o(e){if(i(e))return s.trimNode(e.content),e.content;if("SCRIPT"===e.tagName)return r(e.textContent);for(var t,o=n.clone(e),a=document.createDocumentFragment();t=o.firstChild;)a.appendChild(t);return s.trimNode(a),a}var s=e("../util"),a=e("../cache"),l=new a(1e3),c=new a(1e3),u={_default:[0,"",""],legend:[1,"
","
"],tr:[2,"","
"],col:[2,"","
"]};u.td=u.th=[3,"","
"],u.option=u.optgroup=[1,'"],u.thead=u.tbody=u.colgroup=u.caption=u.tfoot=[1,"","
"],u.g=u.defs=u.symbol=u.use=u.image=u.text=u.circle=u.ellipse=u.line=u.path=u.polygon=u.polyline=u.rect=[1,'',""];var h=/<([\w:]+)/,p=/&\w+;|&#\d+;|&#x[\dA-F]+;/,d=function(){if(s.inBrowser){var e=document.createElement("div");return e.innerHTML="",!e.cloneNode(!0).firstChild.innerHTML}return!1}(),f=function(){if(s.inBrowser){var e=document.createElement("textarea");return e.placeholder="t","t"===e.cloneNode(!0).value}return!1}();n.clone=function(e){if(!e.querySelectorAll)return e.cloneNode();var t,r,o,s=e.cloneNode(!0);if(d){var a=s;if(i(e)&&(e=e.content,a=s.content),r=e.querySelectorAll("template"),r.length)for(o=a.querySelectorAll("template"),t=o.length;t--;)o[t].parentNode.replaceChild(n.clone(r[t]),o[t])}if(f)if("TEXTAREA"===e.tagName)s.value=e.value;else if(r=e.querySelectorAll("textarea"),r.length)for(o=s.querySelectorAll("textarea"),t=o.length;t--;)o[t].value=r[t].value;return s},n.parse=function(e,t,i){var a,l;return e instanceof DocumentFragment?(s.trimNode(e),t?n.clone(e):e):("string"==typeof e?i||"#"!==e.charAt(0)?l=r(e):(l=c.get(e),l||(a=document.getElementById(e.slice(1)),a&&(l=o(a),c.put(e,l)))):e.nodeType&&(l=o(e)),l&&t?n.clone(l):l)}},{"../cache":18,"../util":74}],66:[function(e,t,n){function i(e){return e.replace(p,"\\$&")}function r(e,t){return e.tag?o(e.value,t):'"'+e.value+'"'}function o(e,t){if(d.test(e)){var n=h.parse(e);return n.filters?"this._applyFilters("+n.expression+",null,"+JSON.stringify(n.filters)+",false)":"("+e+")"}return t?e:"("+e+")"}var s,a,l,c=e("../cache"),u=e("../config"),h=e("./directive"),p=/[-.*+?^${}()|[\]\/\\]/g;n.compileRegex=function(){var e=i(u.delimiters[0]),t=i(u.delimiters[1]),n=i(u.unsafeDelimiters[0]),r=i(u.unsafeDelimiters[1]);a=new RegExp(n+"(.+?)"+r+"|"+e+"(.+?)"+t,"g"),l=new RegExp("^"+n+".*"+r+"$"),s=new c(1e3)},n.parse=function(e){s||n.compileRegex();var t=s.get(e);if(t)return t;if(e=e.replace(/\n/g,""),!a.test(e))return null;for(var i,r,o,c,u,h,p=[],d=a.lastIndex=0;i=a.exec(e);)r=i.index,r>d&&p.push({value:e.slice(d,r)}),o=l.test(i[0]),c=o?i[1]:i[2],u=c.charCodeAt(0),h=42===u,c=h?c.slice(1):c,p.push({tag:!0,value:c.trim(),html:o,oneTime:h}),d=r+i[0].length;return d1?e.map(function(e){return r(e)}).join("+"):r(e[0],!0)};var d=/[^|]\|[^|]/},{"../cache":18,"../config":23,"./directive":62}],67:[function(e,t,n){var i=e("../util");n.append=function(e,t,n,i){r(e,1,function(){t.appendChild(e)},n,i)},n.before=function(e,t,n,o){r(e,1,function(){i.before(e,t)},n,o)},n.remove=function(e,t,n){r(e,-1,function(){i.remove(e)},t,n)};var r=n.apply=function(e,t,n,r,o){var s=e.__v_trans;if(!s||!s.hooks&&!i.transitionEndEvent||!r._isCompiled||r.$parent&&!r.$parent._isCompiled)return n(),void(o&&o());var a=t>0?"enter":"leave";s[a](n,o)}},{"../util":74}],68:[function(e,t,n){function i(){for(var e=document.documentElement.offsetHeight,t=0;t1&&(this.pendingJsCb=o.cancellable(this[e+"Done"])),t.call(this.vm,this.el,this.pendingJsCb))},m.getCssTransitionType=function(e){if(!(!c||document.hidden||this.hooks&&this.hooks.css===!1||r(this.el))){var t=this.typeCache[e];if(t)return t;var n=this.el.style,i=window.getComputedStyle(this.el),o=n[h]||i[h];if(o&&"0s"!==o)t=d;else{var s=n[p]||i[p];s&&"0s"!==s&&(t=f)}return t&&(this.typeCache[e]=t),t}},m.setupCssCb=function(e,t){this.pendingCssEvent=e;var n=this,i=this.el,r=this.pendingCssCb=function(s){s.target===i&&(o.off(i,e,r),n.pendingCssEvent=n.pendingCssCb=null,!n.pendingJsCb&&t&&t())};o.on(i,e,r)},t.exports=i},{"../util":74,"./queue":68}],70:[function(e,t,n){(function(t){function i(e){var t=s.attr(e,"is");return null!=t?{id:t}:(t=s.getBindAttr(e,"is"),null!=t?{id:t,dynamic:!0}:void 0)}function r(e){return e?e.charAt(0).toUpperCase()+e.slice(1):"custom type"}function o(e){return Object.prototype.toString.call(e).slice(8,-1)}var s=e("./index");n.commonTagRE=/^(div|p|span|img|a|b|i|br|ul|ol|li|h1|h2|h3|h4|h5|h6|code|pre|table|th|td|tr|form|label|input|select|option|nav|article|section|header|footer)$/,n.checkComponent=function(e,r){var o=e.tagName.toLowerCase(),a=e.hasAttributes();if(n.commonTagRE.test(o)||"component"===o){if(a)return i(e)}else{if(s.resolveAsset(r,"components",o))return{id:o};var l=a&&i(e);if(l)return l;"production"!==t.env.NODE_ENV&&(o.indexOf("-")>-1||/HTMLUnknownElement/.test(e.toString())&&!/^(data|time|rtc|rb)$/.test(o))&&s.warn("Unknown custom element: <"+o+"> - did you register the component correctly?")}},n.initProp=function(e,t,i){if(n.assertProp(t,i)){var r=t.path;e[r]=e._data[r]=i}},n.assertProp=function(e,n){if(null===e.raw&&!e.required)return!0;var i,a=e.options,l=a.type,c=!0;if(l&&(l===String?(i="string",c=typeof n===i):l===Number?(i="number",c="number"==typeof n):l===Boolean?(i="boolean",c="boolean"==typeof n):l===Function?(i="function",c="function"==typeof n):l===Object?(i="object",c=s.isPlainObject(n)):l===Array?(i="array",c=s.isArray(n)):c=n instanceof l),!c)return"production"!==t.env.NODE_ENV&&s.warn("Invalid prop: type check failed for "+e.path+'="'+e.raw+'". Expected '+r(i)+", got "+o(n)+"."),!1;var u=a.validator;return u&&!u.call(null,n)?("production"!==t.env.NODE_ENV&&s.warn("Invalid prop: custom validator check failed for "+e.path+'="'+e.raw+'"'),!1):!0}}).call(this,e("_process"))},{"./index":74,_process:2}],71:[function(e,t,n){(function(t){if("production"!==t.env.NODE_ENV){var i=e("../config"),r="undefined"!=typeof console;n.log=function(e){r&&i.debug&&console.log("[Vue info]: "+e)},n.warn=function(e,t){!r||i.silent&&!i.debug||(console.warn("[Vue warn]: "+e),i.debug&&console.warn((t||new Error("Warning Stack Trace")).stack))},n.assertAsset=function(e,t,i){e||n.warn("Failed to resolve "+t+": "+i)}}}).call(this,e("_process"))},{"../config":23,_process:2}],72:[function(e,t,n){(function(t){function i(e,t){t&&3===t.nodeType&&!t.data.trim()&&e.removeChild(t)}var r=e("./index"),o=e("../config"),s=e("../transition");n.query=function(e){if("string"==typeof e){var n=e;e=document.querySelector(e),e||"production"!==t.env.NODE_ENV&&r.warn("Cannot find element: "+n)}return e},n.inDoc=function(e){var t=document.documentElement,n=e&&e.parentNode;return t===e||t===n||!(!n||1!==n.nodeType||!t.contains(n))},n.attr=function(e,t){var n=e.getAttribute(t);return null!==n&&e.removeAttribute(t),n},n.getBindAttr=function(e,t){var i=n.attr(e,":"+t);return null===i&&(i=n.attr(e,"v-bind:"+t)),i},n.before=function(e,t){t.parentNode.insertBefore(e,t)},n.after=function(e,t){t.nextSibling?n.before(e,t.nextSibling):t.parentNode.appendChild(e)},n.remove=function(e){e.parentNode.removeChild(e)},n.prepend=function(e,t){t.firstChild?n.before(e,t.firstChild):t.appendChild(e)},n.replace=function(e,t){var n=e.parentNode;n&&n.replaceChild(t,e)},n.on=function(e,t,n){e.addEventListener(t,n)},n.off=function(e,t,n){e.removeEventListener(t,n)},n.addClass=function(e,t){if(e.classList)e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}},n.removeClass=function(e,t){if(e.classList)e.classList.remove(t);else{for(var n=" "+(e.getAttribute("class")||"")+" ",i=" "+t+" ";n.indexOf(i)>=0;)n=n.replace(i," ");e.setAttribute("class",n.trim())}e.className||e.removeAttribute("class")},n.extractContent=function(e,t){var i,r;if(n.isTemplate(e)&&e.content instanceof DocumentFragment&&(e=e.content),e.hasChildNodes())for(n.trimNode(e),r=t?document.createDocumentFragment():document.createElement("div");i=e.firstChild;)r.appendChild(i);return r},n.trimNode=function(e){i(e,e.firstChild),i(e,e.lastChild)},n.isTemplate=function(e){return e.tagName&&"template"===e.tagName.toLowerCase()},n.createAnchor=function(e,t){return o.debug?document.createComment(e):document.createTextNode(t?" ":"")};var a=/^v-ref:/;n.findRef=function(e){if(e.hasAttributes())for(var t=e.attributes,n=0,i=t.length;i>n;n++){var o=t[n].name;if(a.test(o))return e.removeAttribute(o),r.camelize(o.replace(a,""))}},n.mapNodeRange=function(e,t,n){for(var i;e!==t;)i=e.nextSibling,n(e),e=i;n(t)},n.removeNodeRange=function(e,t,i,r,o){function a(){if(c++,l&&c>=u.length){for(var e=0;e0,n.isAndroid=i&&navigator.userAgent.toLowerCase().indexOf("android")>0,i&&!n.isIE9){var r=void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend,o=void 0===window.onanimationend&&void 0!==window.onwebkitanimationend;n.transitionProp=r?"WebkitTransition":"transition",n.transitionEndEvent=r?"webkitTransitionEnd":"transitionend",n.animationProp=o?"WebkitAnimation":"animation",n.animationEndEvent=o?"webkitAnimationEnd":"animationend"}n.nextTick=function(){function e(){i=!1;var e=n.slice(0);n=[];for(var t=0;t1?e.apply(t,arguments):e.call(t,n):e.call(t)}},n.toArray=function(e,t){t=t||0;for(var n=e.length-t,i=new Array(n);n--;)i[n]=e[n+t];return i},n.extend=function(e,t){for(var n=Object.keys(t),i=n.length;i--;)e[n[i]]=t[n[i]];return e},n.isObject=function(e){return null!==e&&"object"==typeof e};var l=Object.prototype.toString,c="[object Object]";n.isPlainObject=function(e){return l.call(e)===c},n.isArray=Array.isArray,n.define=function(e,t,n,i){Object.defineProperty(e,t,{value:n,enumerable:!!i,writable:!0,configurable:!0})},n.debounce=function(e,t){var n,i,r,o,s,a=function(){var l=Date.now()-o;t>l&&l>=0?n=setTimeout(a,t-l):(n=null,s=e.apply(r,i),n||(r=i=null))};return function(){return r=this,i=arguments,o=Date.now(),n||(n=setTimeout(a,t)),s}},n.indexOf=function(e,t){for(var n=e.length;n--;)if(e[n]===t)return n;return-1},n.cancellable=function(e){var t=function(){return t.cancelled?void 0:e.apply(this,arguments)};return t.cancel=function(){t.cancelled=!0},t},n.looseEqual=function(e,t){return e==t||(n.isObject(e)&&n.isObject(t)?JSON.stringify(e)===JSON.stringify(t):!1)}},{}],76:[function(e,t,n){(function(t){function i(e,t){var n,r,o;for(n in t)r=e[n],o=t[n],e.hasOwnProperty(n)?l.isObject(r)&&l.isObject(o)&&i(r,o):l.set(e,n,o);return e}function r(e,t){var n=Object.create(e);return t?u(n,a(t)):n}function o(e){if(e.components)for(var n,i=e.components=a(e.components),r=Object.keys(i),o=0,s=r.length;s>o;o++){var c=r[o];l.commonTagRE.test(c)?"production"!==t.env.NODE_ENV&&l.warn("Do not use built-in HTML elements as component id: "+c):(n=i[c],l.isPlainObject(n)&&(i[c]=l.Vue.extend(n)))}}function s(e){var t,n=e.props;if(l.isArray(n))for(e.props={},t=n.length;t--;)e.props[n[t]]=null;else if(l.isPlainObject(n)){ -var i=Object.keys(n);for(t=i.length;t--;){var r=n[i[t]];"function"==typeof r&&(n[i[t]]={type:r})}}}function a(e){if(l.isArray(e)){for(var n,i={},r=e.length;r--;){n=e[r];var o="function"==typeof n?n.options&&n.options.name||n.id:n.name||n.id;o?i[o]=n:"production"!==t.env.NODE_ENV&&l.warn('Array-syntax assets must provide a "name" or "id" field.')}return i}return e}var l=e("./index"),c=e("../config"),u=l.extend,h=c.optionMergeStrategies=Object.create(null);h.data=function(e,n,r){return r?e||n?function(){var t="function"==typeof n?n.call(r):n,o="function"==typeof e?e.call(r):void 0;return t?i(t,o):o}:void 0:n?"function"!=typeof n?("production"!==t.env.NODE_ENV&&l.warn('The "data" option should be a function that returns a per-instance value in component definitions.'),e):e?function(){return i(n.call(this),e.call(this))}:n:e},h.el=function(e,n,i){if(!i&&n&&"function"!=typeof n)return void("production"!==t.env.NODE_ENV&&l.warn('The "el" option should be a function that returns a per-instance value in component definitions.'));var r=n||e;return i&&"function"==typeof r?r.call(i):r},h.init=h.created=h.ready=h.attached=h.detached=h.beforeCompile=h.compiled=h.beforeDestroy=h.destroyed=function(e,t){return t?e?e.concat(t):l.isArray(t)?t:[t]:e},h.paramAttributes=function(){"production"!==t.env.NODE_ENV&&l.warn('"paramAttributes" option has been deprecated in 0.12. Use "props" instead.')},c._assetTypes.forEach(function(e){h[e+"s"]=r}),h.watch=h.events=function(e,t){if(!t)return e;if(!e)return t;var n={};u(n,e);for(var i in t){var r=n[i],o=t[i];r&&!l.isArray(r)&&(r=[r]),n[i]=r?r.concat(o):[o]}return n},h.props=h.methods=h.computed=function(e,t){if(!t)return e;if(!e)return t;var n=Object.create(null);return u(n,e),u(n,t),n};var p=function(e,t){return void 0===t?e:t};n.mergeOptions=function d(e,t,n){function i(i){var r=h[i]||p;a[i]=r(e[i],t[i],n,i)}o(t),s(t);var r,a={};if(t.mixins)for(var l=0,c=t.mixins.length;c>l;l++)e=d(e,t.mixins[l],n);for(r in e)i(r);for(r in t)e.hasOwnProperty(r)||i(r);return a},n.resolveAsset=function(e,t,n){var i,r=e[t];return r[n]||r[i=l.camelize(n)]||r[i.charAt(0).toUpperCase()+i.slice(1)]}}).call(this,e("_process"))},{"../config":23,"./index":74,_process:2}],77:[function(e,t,n){(function(n){function i(e){this._init(e)}var r=e("./util"),o=r.extend;o(i,e("./api/global")),i.options={replace:!0,directives:e("./directives/public"),elementDirectives:e("./directives/element"),filters:e("./filters"),transitions:{},components:{},partials:{}};var s=i.prototype;Object.defineProperty(s,"$data",{get:function(){return this._data},set:function(e){e!==this._data&&this._setData(e)}}),o(s,e("./instance/init")),o(s,e("./instance/events")),o(s,e("./instance/state")),o(s,e("./instance/lifecycle")),o(s,e("./instance/misc")),o(s,e("./api/data")),o(s,e("./api/dom")),o(s,e("./api/events")),o(s,e("./api/lifecycle")),i.version="1.0.7",t.exports=r.Vue=i,"production"!==n.env.NODE_ENV&&r.inBrowser&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__.emit("init",i)}).call(this,e("_process"))},{"./api/data":12,"./api/dom":13,"./api/events":14,"./api/global":15,"./api/lifecycle":16,"./directives/element":25,"./directives/public":40,"./filters":51,"./instance/events":54,"./instance/init":55,"./instance/lifecycle":56,"./instance/misc":57,"./instance/state":58,"./util":74,_process:2}],78:[function(e,t,n){(function(n){function i(e,t,n,i){i&&o.extend(this,i);var r="function"==typeof t;if(this.vm=e,e._watchers.push(this),this.expression=r?t.toString():t,this.cb=n,this.id=++u,this.active=!0,this.dirty=this.lazy,this.deps=Object.create(null),this.newDeps=null,this.prevError=null,r)this.getter=t,this.setter=void 0;else{var s=l.parse(t,this.twoWay);this.getter=s.get,this.setter=s.set}this.value=this.lazy?void 0:this.get(),this.queued=this.shallow=!1}function r(e){var t,n;if(o.isArray(e))for(t=e.length;t--;)r(e[t]);else if(o.isObject(e))for(n=Object.keys(e),t=n.length;t--;)r(e[n[t]])}var o=e("./util"),s=e("./config"),a=e("./observer/dep"),l=e("./parsers/expression"),c=e("./batcher"),u=0;i.prototype.addDep=function(e){var t=e.id;this.newDeps[t]||(this.newDeps[t]=e,this.deps[t]||(this.deps[t]=e,e.addSub(this)))},i.prototype.get=function(){this.beforeGet();var e,t=this.scope||this.vm;try{e=this.getter.call(t,t)}catch(i){"production"!==n.env.NODE_ENV&&s.warnExpressionErrors&&o.warn('Error when evaluating expression "'+this.expression+'". '+(s.debug?"":"Turn on debug mode to see stack trace."),i)}return this.deep&&r(e),this.preProcess&&(e=this.preProcess(e)),this.filters&&(e=t._applyFilters(e,null,this.filters,!1)),this.postProcess&&(e=this.postProcess(e)),this.afterGet(),e},i.prototype.set=function(e){var t=this.scope||this.vm;this.filters&&(e=t._applyFilters(e,this.value,this.filters,!0));try{this.setter.call(t,t,e)}catch(i){"production"!==n.env.NODE_ENV&&s.warnExpressionErrors&&o.warn('Error when evaluating setter "'+this.expression+'"',i)}var r=t.$forContext;"production"!==n.env.NODE_ENV&&r&&r.filters&&new RegExp(r.alias+"\\b").test(this.expression)&&o.warn("It seems you are using two-way binding on a v-for alias ("+this.expression+"), and the v-for has filters. This will not work properly. Either remove the filters or use an array of objects and bind to object properties instead."),r&&r.alias===this.expression&&!r.filters&&(t.$key?r.rawValue[t.$key]=e:r.rawValue.$set(t.$index,e))},i.prototype.beforeGet=function(){a.target=this,this.newDeps=Object.create(null)},i.prototype.afterGet=function(){a.target=null;for(var e=Object.keys(this.deps),t=e.length;t--;){var n=e[t];this.newDeps[n]||this.deps[n].removeSub(this)}this.deps=this.newDeps},i.prototype.update=function(e){this.lazy?this.dirty=!0:this.sync||!s.async?this.run():(this.shallow=this.queued?e?this.shallow:!1:!!e,this.queued=!0,"production"!==n.env.NODE_ENV&&s.debug&&(this.prevError=new Error("[vue] async stack trace")),c.push(this))},i.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||(o.isArray(e)||this.deep)&&!this.shallow){var t=this.value;this.value=e;var i=this.prevError;if("production"!==n.env.NODE_ENV&&s.debug&&i){this.prevError=null;try{this.cb.call(this.vm,e,t)}catch(r){throw o.nextTick(function(){throw i},0),r}}else this.cb.call(this.vm,e,t)}this.queued=this.shallow=!1}},i.prototype.evaluate=function(){var e=a.target;this.value=this.get(),this.dirty=!1,a.target=e},i.prototype.depend=function(){for(var e=Object.keys(this.deps),t=e.length;t--;)this.deps[e[t]].depend()},i.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||this.vm._watchers.$remove(this);for(var e=Object.keys(this.deps),t=e.length;t--;)this.deps[e[t]].removeSub(this);this.active=!1,this.vm=this.cb=this.value=null}},t.exports=i}).call(this,e("_process"))},{"./batcher":17,"./config":23,"./observer/dep":60,"./parsers/expression":63,"./util":74,_process:2}],79:[function(e,t,n){!function(e,n){"use strict";var i,r,o,s=e,a=s.document,l=s.navigator,c=s.setTimeout,u=s.clearTimeout,h=s.setInterval,p=s.clearInterval,d=s.getComputedStyle,f=s.encodeURIComponent,m=s.ActiveXObject,v=s.Error,g=s.Number.parseInt||s.parseInt,y=s.Number.parseFloat||s.parseFloat,b=s.Number.isNaN||s.isNaN,w=s.Date.now,_=s.Object.keys,x=s.Object.defineProperty,E=s.Object.prototype.hasOwnProperty,C=s.Array.prototype.slice,k=function(){var e=function(e){return e};if("function"==typeof s.wrap&&"function"==typeof s.unwrap)try{var t=a.createElement("div"),n=s.unwrap(t);1===t.nodeType&&n&&1===n.nodeType&&(e=s.unwrap)}catch(i){}return e}(),O=function(e){return C.call(e,0)},A=function(){var e,t,i,r,o,s,a=O(arguments),l=a[0]||{};for(e=1,t=a.length;t>e;e++)if(null!=(i=a[e]))for(r in i)E.call(i,r)&&(o=l[r],s=i[r],l!==s&&s!==n&&(l[r]=s));return l},N=function(e){var t,n,i,r;if("object"!=typeof e||null==e||"number"==typeof e.nodeType)t=e;else if("number"==typeof e.length)for(t=[],n=0,i=e.length;i>n;n++)E.call(e,n)&&(t[n]=N(e[n]));else{t={};for(r in e)E.call(e,r)&&(t[r]=N(e[r]))}return t},T=function(e,t){for(var n={},i=0,r=t.length;r>i;i++)t[i]in e&&(n[t[i]]=e[t[i]]);return n},F=function(e,t){var n={};for(var i in e)-1===t.indexOf(i)&&(n[i]=e[i]);return n},D=function(e){if(e)for(var t in e)E.call(e,t)&&delete e[t];return e},$=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},j=function(e){var t;return"string"==typeof e&&e&&(t=e.split("#")[0].split("?")[0],t=e.slice(0,e.lastIndexOf("/")+1)),t},S=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},P=function(){var e,t;try{throw new v}catch(n){t=n}return t&&(e=t.sourceURL||t.fileName||S(t.stack)),e},I=function(){var e,t,i;if(a.currentScript&&(e=a.currentScript.src))return e;if(t=a.getElementsByTagName("script"),1===t.length)return t[0].src||n;if("readyState"in t[0])for(i=t.length;i--;)if("interactive"===t[i].readyState&&(e=t[i].src))return e;return"loading"===a.readyState&&(e=t[t.length-1].src)?e:(e=P())?e:n},L=function(){var e,t,i,r=a.getElementsByTagName("script");for(e=r.length;e--;){if(!(i=r[e].src)){t=null;break}if(i=j(i),null==t)t=i;else if(t!==i){t=null;break}}return t||n},z=function(){var e=j(I())||L()||"";return e+"ZeroClipboard.swf"},R=function(){return null==e.opener&&(!!e.top&&e!=e.top||!!e.parent&&e!=e.parent)}(),V={bridge:null,version:"0.0.0",pluginType:"unknown",disabled:null,outdated:null,sandboxed:null,unavailable:null,degraded:null,deactivated:null,overdue:null,ready:null},M="11.0.0",H={},U={},B=null,q=0,W=0,Q={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"}},Z=["flash-unavailable","flash-degraded","flash-overdue","version-mismatch","config-mismatch","clipboard-error"],X=["flash-disabled","flash-outdated","flash-sandboxed","flash-unavailable","flash-degraded","flash-deactivated","flash-overdue"],G=new RegExp("^flash-("+X.map(function(e){return e.replace(/^flash-/,"")}).join("|")+")$"),Y=new RegExp("^flash-("+X.slice(1).map(function(e){return e.replace(/^flash-/,"")}).join("|")+")$"),J={swfPath:z(),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(E.call(e,t))if(/^(?:forceHandCursor|title|zIndex|bubbleEvents)$/.test(t))J[t]=e[t];else if(null==V.bridge)if("containerId"===t||"swfObjectId"===t){if(!fe(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 N(J);if(E.call(J,e))return J[e]}},ee=function(){return We(),{browser:T(l,["userAgent","platform","appName"]),flash:F(V,["bridge"]),zeroclipboard:{version:Ze.version,config:Ze.config()}}},te=function(){return!!(V.disabled||V.outdated||V.sandboxed||V.unavailable||V.degraded||V.deactivated)},ne=function(e,t){var r,o,s,a={};if("string"==typeof e&&e)s=e.toLowerCase().split(/\s+/);else if("object"==typeof e&&e&&"undefined"==typeof t)for(r in e)E.call(e,r)&&"string"==typeof r&&r&&"function"==typeof e[r]&&Ze.on(r,e[r]);if(s&&s.length){for(r=0,o=s.length;o>r;r++)e=s[r].replace(/^on/,""),a[e]=!0,H[e]||(H[e]=[]),H[e].push(t);if(a.ready&&V.ready&&Ze.emit({type:"ready"}),a.error){for(r=0,o=X.length;o>r;r++)if(V[X[r].replace(/^flash-/,"")]===!0){Ze.emit({type:"error",name:X[r]});break}i!==n&&Ze.version!==i&&Ze.emit({type:"error",name:"version-mismatch",jsVersion:Ze.version,swfVersion:i})}}return Ze},ie=function(e,t){var n,i,r,o,s;if(0===arguments.length)o=_(H);else if("string"==typeof e&&e)o=e.split(/\s+/);else if("object"==typeof e&&e&&"undefined"==typeof t)for(n in e)E.call(e,n)&&"string"==typeof n&&n&&"function"==typeof e[n]&&Ze.off(n,e[n]);if(o&&o.length)for(n=0,i=o.length;i>n;n++)if(e=o[n].toLowerCase().replace(/^on/,""),s=H[e],s&&s.length)if(t)for(r=s.indexOf(t);-1!==r;)s.splice(r,1),r=s.indexOf(t,r);else s.length=0;return Ze},re=function(e){var t;return t="string"==typeof e&&e?N(H[e])||null:N(H)},oe=function(e){var t,n,i;return e=me(e),e&&!xe(e)?"ready"===e.type&&V.overdue===!0?Ze.emit({type:"error",name:"flash-overdue"}):(t=A({},e),we.call(this,t),"copy"===e.type&&(i=Fe(U),n=i.data,B=i.formatMap),n):void 0},se=function(){var e=V.sandboxed;if(We(),"boolean"!=typeof V.ready&&(V.ready=!1),V.sandboxed!==e&&V.sandboxed===!0)V.ready=!1,Ze.emit({type:"error",name:"flash-sandboxed"});else if(!Ze.isFlashUnusable()&&null===V.bridge){var t=J.flashLoadTimeout;"number"==typeof t&&t>=0&&(q=c(function(){"boolean"!=typeof V.deactivated&&(V.deactivated=!0),V.deactivated===!0&&Ze.emit({type:"error",name:"flash-deactivated"})},t)),V.overdue=!1,Ne()}},ae=function(){Ze.clearData(),Ze.blur(),Ze.emit("destroy"),Te(),Ze.off()},le=function(e,t){var n;if("object"==typeof e&&e&&"undefined"==typeof t)n=e,Ze.clearData();else{if("string"!=typeof e||!e)return;n={},n[e]=t}for(var i in n)"string"==typeof i&&i&&E.call(n,i)&&"string"==typeof n[i]&&n[i]&&(U[i]=n[i])},ce=function(e){"undefined"==typeof e?(D(U),B=null):"string"==typeof e&&E.call(U,e)&&delete U[e]},ue=function(e){return"undefined"==typeof e?N(U):"string"==typeof e&&E.call(U,e)?U[e]:void 0},he=function(e){if(e&&1===e.nodeType){r&&(ze(r,J.activeClass),r!==e&&ze(r,J.hoverClass)),r=e,Le(e,J.hoverClass);var t=e.getAttribute("title")||J.title;if("string"==typeof t&&t){var n=Ae(V.bridge);n&&n.setAttribute("title",t)}var i=J.forceHandCursor===!0||"pointer"===Re(e,"cursor");Be(i),Ue()}},pe=function(){var e=Ae(V.bridge);e&&(e.removeAttribute("title"),e.style.left="0px",e.style.top="-9999px",e.style.width="1px",e.style.height="1px"),r&&(ze(r,J.hoverClass),ze(r,J.activeClass),r=null)},de=function(){return r||null},fe=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||r||null,relatedTarget:e.relatedTarget||null,currentTarget:V&&V.bridge||null,timeStamp:e.timeStamp||w()||null});var n=Q[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:V.version}),"error"===e.type&&(G.test(e.name)&&A(e,{target:null,minimumVersion:M}),Y.test(e.name)&&A(e,{version:V.version})),"copy"===e.type&&(e.clipboardData={setData:Ze.setData,clearData:Ze.clearData}),"aftercopy"===e.type&&(e=De(e,B)),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?a.getElementById(t):null},ge=function(e){if(e&&/^_(?:click|mouse(?:over|out|down|up|move))$/.test(e.type)){var t=e.target,i="_mouseover"===e.type&&e.relatedTarget?e.relatedTarget:n,r="_mouseout"===e.type&&e.relatedTarget?e.relatedTarget:n,o=Ve(t),l=s.screenLeft||s.screenX||0,c=s.screenTop||s.screenY||0,u=a.body.scrollLeft+a.documentElement.scrollLeft,h=a.body.scrollTop+a.documentElement.scrollTop,p=o.left+("number"==typeof e._stageX?e._stageX:0),d=o.top+("number"==typeof e._stageY?e._stageY:0),f=p-u,m=d-h,v=l+f,g=c+m,y="number"==typeof e.movementX?e.movementX:0,b="number"==typeof e.movementY?e.movementY:0;delete e._stageX,delete e._stageY,A(e,{srcElement:t,fromElement:i,toElement:r,screenX:v,screenY:g,pageX:p,pageY:d,clientX:f,clientY:m,x:f,y:m,movementX:y,movementY:b,offsetX:0,offsetY:0,layerX:0,layerY:0})}return e},ye=function(e){var t=e&&"string"==typeof e.type&&e.type||"";return!/^(?:(?:before)?copy|destroy)$/.test(t)},be=function(e,t,n,i){i?c(function(){e.apply(t,n)},0):e.apply(t,n)},we=function(e){if("object"==typeof e&&e&&e.type){var t=ye(e),n=H["*"]||[],i=H[e.type]||[],r=n.concat(i);if(r&&r.length){var o,a,l,c,u,h=this;for(o=0,a=r.length;a>o;o++)l=r[o],c=h,"string"==typeof l&&"function"==typeof s[l]&&(l=s[l]),"object"==typeof l&&l&&"function"==typeof l.handleEvent&&(c=l,l=l.handleEvent),"function"==typeof l&&(u=A({},e),be(l,c,[u],t))}return this}},_e=function(e){var t=null;return(R===!1||e&&"error"===e.type&&e.name&&-1!==Z.indexOf(e.name))&&(t=!1),t},xe=function(e){var t=e.target||r||null,n="swf"===e._source;switch(delete e._source,e.type){case"error":var s="flash-sandboxed"===e.name||_e(e);"boolean"==typeof s&&(V.sandboxed=s),-1!==X.indexOf(e.name)?A(V,{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&&(i=e.swfVersion,A(V,{disabled:!1,outdated:!1,unavailable:!1,degraded:!1,deactivated:!1,overdue:!1,ready:!1})),He();break;case"ready":i=e.swfVersion;var a=V.deactivated===!0;A(V,{disabled:!1,outdated:!1,sandboxed:!1,unavailable:!1,degraded:!1,deactivated:!1,overdue:a,ready:!a}),He();break;case"beforecopy":o=t;break;case"copy":var l,c,u=e.relatedTarget;!U["text/html"]&&!U["text/plain"]&&u&&(c=u.value||u.outerHTML||u.innerHTML)&&(l=u.value||u.textContent||u.innerText)?(e.clipboardData.clearData(),e.clipboardData.setData("text/plain",l),c!==l&&e.clipboardData.setData("text/html",c)):!U["text/plain"]&&e.target&&(l=e.target.getAttribute("data-clipboard-text"))&&(e.clipboardData.clearData(),e.clipboardData.setData("text/plain",l));break;case"aftercopy":Ee(e),Ze.clearData(),t&&t!==Ie()&&t.focus&&t.focus();break;case"_mouseover":Ze.focus(t),J.bubbleEvents===!0&&n&&(t&&t!==e.relatedTarget&&!$(e.relatedTarget,t)&&Ce(A({},e,{type:"mouseenter",bubbles:!1,cancelable:!1})),Ce(A({},e,{type:"mouseover"})));break;case"_mouseout":Ze.blur(),J.bubbleEvents===!0&&n&&(t&&t!==e.relatedTarget&&!$(e.relatedTarget,t)&&Ce(A({},e,{type:"mouseleave",bubbles:!1,cancelable:!1})),Ce(A({},e,{type:"mouseout"})));break;case"_mousedown":Le(t,J.activeClass),J.bubbleEvents===!0&&n&&Ce(A({},e,{type:e.type.slice(1)}));break;case"_mouseup":ze(t,J.activeClass),J.bubbleEvents===!0&&n&&Ce(A({},e,{type:e.type.slice(1)}));break;case"_click":o=null,J.bubbleEvents===!0&&n&&Ce(A({},e,{type:e.type.slice(1)}));break;case"_mousemove":J.bubbleEvents===!0&&n&&Ce(A({},e,{type:e.type.slice(1)}))}return/^_(?:click|mouse(?:over|out|down|up|move))$/.test(e.type)?!0:void 0},Ee=function(e){if(e.errors&&e.errors.length>0){var t=N(e);A(t,{type:"error",name:"clipboard-error"}),delete t.success,c(function(){Ze.emit(t)},0)}},Ce=function(e){if(e&&"string"==typeof e.type&&e){var t,n=e.target||null,i=n&&n.ownerDocument||a,r={view:i.defaultView||s,canBubble:!0,cancelable:!0,detail:"click"===e.type?1:0,button:"number"==typeof e.which?e.which-1:"number"==typeof e.button?e.button:i.createEvent?0:1},o=A(r,e);n&&i.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=i.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=h(function(){var e=a.getElementById(n);Me(e)&&(He(),V.deactivated=null,Ze.emit({type:"error",name:"swf-not-found"}))},t)}},Oe=function(){var e=a.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=""+qe(J.zIndex),e},Ae=function(e){for(var t=e&&e.parentNode;t&&"OBJECT"===t.nodeName&&t.parentNode;)t=t.parentNode;return t||null},Ne=function(){var e,t=V.bridge,n=Ae(t);if(!t){var i=Pe(s.location.host,J),r="never"===i?"none":"all",o=je(A({jsVersion:Ze.version},J)),l=J.swfPath+$e(J.swfPath,J);n=Oe();var c=a.createElement("div");n.appendChild(c),a.body.appendChild(n);var u=a.createElement("div"),h="activex"===V.pluginType;u.innerHTML='"+(h?'':"")+'
 
',t=u.firstChild,u=null,k(t).ZeroClipboard=Ze,n.replaceChild(t,c),ke()}return t||(t=a[J.swfObjectId],t&&(e=t.length)&&(t=t[e-1]),!t&&n&&(t=n.firstChild)),V.bridge=t||null,t},Te=function(){var e=V.bridge;if(e){var t=Ae(e);t&&("activex"===V.pluginType&&"readyState"in e?(e.style.display="none",function r(){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 c(r,10)}()):(e.parentNode&&e.parentNode.removeChild(e),t.parentNode&&t.parentNode.removeChild(t))),He(),V.ready=null,V.bridge=null,V.deactivated=null,i=n}},Fe=function(e){var t={},n={};if("object"==typeof e&&e){for(var i in e)if(i&&E.call(e,i)&&"string"==typeof e[i]&&e[i])switch(i.toLowerCase()){case"text/plain":case"text":case"air:text":case"flash:text":t.text=e[i],n.text=i;break;case"text/html":case"html":case"air:html":case"flash:html":t.html=e[i],n.html=i;break;case"application/rtf":case"text/rtf":case"rtf":case"richtext":case"air:rtf":case"flash:rtf":t.rtf=e[i],n.rtf=i}return{data:t,formatMap:n}}},De=function(e,t){if("object"!=typeof e||!e||"object"!=typeof t||!t)return e;var n={};for(var i in e)if(E.call(e,i))if("errors"===i){n[i]=e[i]?e[i].slice():[];for(var r=0,o=n[i].length;o>r;r++)n[i][r].format=t[n[i][r].format]}else if("success"!==i&&"data"!==i)n[i]=e[i];else{n[i]={};var s=e[i];for(var a in s)a&&E.call(s,a)&&E.call(t,a)&&(n[i][t[a]]=s[a])}return n},$e=function(e,t){var n=null==t||t&&t.cacheBust===!0;return n?(-1===e.indexOf("?")?"?":"&")+"noCache="+w():""},je=function(e){var t,n,i,r,o="",a=[];if(e.trustedDomains&&("string"==typeof e.trustedDomains?r=[e.trustedDomains]:"object"==typeof e.trustedDomains&&"length"in e.trustedDomains&&(r=e.trustedDomains)),r&&r.length)for(t=0,n=r.length;n>t;t++)if(E.call(r,t)&&r[t]&&"string"==typeof r[t]){if(i=Se(r[t]),!i)continue;if("*"===i){a.length=0,a.push(i);break}a.push.apply(a,[i,"//"+i,s.location.protocol+"//"+i])}return a.length&&(o+="trustedOrigins="+f(a.join(","))),e.forceEnhancedClipboard===!0&&(o+=(o?"&":"")+"forceEnhancedClipboard=true"),"string"==typeof e.swfObjectId&&e.swfObjectId&&(o+=(o?"&":"")+"swfObjectId="+f(e.swfObjectId)),"string"==typeof e.jsVersion&&e.jsVersion&&(o+=(o?"&":"")+"jsVersion="+f(e.jsVersion)),o},Se=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},Pe=function(){var e=function(e){var t,n,i,r=[];if("string"==typeof e&&(e=[e]),"object"!=typeof e||!e||"number"!=typeof e.length)return r;for(t=0,n=e.length;n>t;t++)if(E.call(e,t)&&(i=Se(e[t]))){if("*"===i){r.length=0,r.push("*");break}-1===r.indexOf(i)&&r.push(i)}return r};return function(t,n){var i=Se(n.swfPath);null===i&&(i=t);var r=e(n.trustedDomains),o=r.length;if(o>0){if(1===o&&"*"===r[0])return"always";if(-1!==r.indexOf(t))return 1===o&&t===i?"sameDomain":"always"}return"never"}}(),Ie=function(){try{return a.activeElement}catch(e){return null}},Le=function(e,t){var n,i,r,o=[];if("string"==typeof t&&t&&(o=t.split(/\s+/)),e&&1===e.nodeType&&o.length>0)if(e.classList)for(n=0,i=o.length;i>n;n++)e.classList.add(o[n]);else if(e.hasOwnProperty("className")){for(r=" "+e.className+" ",n=0,i=o.length;i>n;n++)-1===r.indexOf(" "+o[n]+" ")&&(r+=o[n]+" ");e.className=r.replace(/^\s+|\s+$/g,"")}return e},ze=function(e,t){var n,i,r,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,i=o.length;i>n;n++)e.classList.remove(o[n]);else if(e.className){for(r=(" "+e.className+" ").replace(/[\r\n\t]/g," "),n=0,i=o.length;i>n;n++)r=r.replace(" "+o[n]+" "," ");e.className=r.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"},Ve=function(e){var t={left:0,top:0,width:0,height:0};if(e.getBoundingClientRect){var n=e.getBoundingClientRect(),i=s.pageXOffset,r=s.pageYOffset,o=a.documentElement.clientLeft||0,l=a.documentElement.clientTop||0,c=0,u=0;if("relative"===Re(a.body,"position")){var h=a.body.getBoundingClientRect(),p=a.documentElement.getBoundingClientRect();c=h.left-p.left||0,u=h.top-p.top||0}t.left=n.left+i-o-c,t.top=n.top+r-l-u,t.width="width"in n?n.width:n.right-n.left,t.height="height"in n?n.height:n.bottom-n.top}return t},Me=function(e){if(!e)return!1;var t=d(e,null),n=y(t.height)>0,i=y(t.width)>0,r=y(t.top)>=0,o=y(t.left)>=0,s=n&&i&&r&&o,a=s?null:Ve(e),l="none"!==t.display&&"collapse"!==t.visibility&&(s||!!a&&(n||a.height>0)&&(i||a.width>0)&&(r||a.top>=0)&&(o||a.left>=0));return l},He=function(){u(q),q=0,p(W),W=0},Ue=function(){var e;if(r&&(e=Ae(V.bridge))){var t=Ve(r);A(e.style,{width:t.width+"px",height:t.height+"px",top:t.top+"px",left:t.left+"px",zIndex:""+qe(J.zIndex)})}},Be=function(e){V.ready===!0&&(V.bridge&&"function"==typeof V.bridge.setHandCursor?V.bridge.setHandCursor(e):V.ready=!1)},qe=function(e){if(/^(?:auto|inherit)$/.test(e))return e;var t;return"number"!=typeof e||b(e)?"string"==typeof e&&(t=qe(g(e,10))):t=e,"number"==typeof t?t:"auto"},We=function(t){var n,i,r,o=V.sandboxed,s=null;if(t=t===!0,R===!1)s=!1;else{try{i=e.frameElement||null}catch(a){r={name:a.name,message:a.message}}if(i&&1===i.nodeType&&"IFRAME"===i.nodeName)try{s=i.hasAttribute("sandbox")}catch(a){s=null}else{try{n=document.domain||null}catch(a){n=null}(null===n||r&&"SecurityError"===r.name&&/(^|[\s\(\[@])sandbox(es|ed|ing|[\s\.,!\)\]@]|$)/.test(r.message.toLowerCase()))&&(s=!0)}}return V.sandboxed=s,o===s||t||Qe(m),s},Qe=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 i(e){e&&(a=!0,e.version&&(h=t(e.version)),!h&&e.description&&(h=t(e.description)),e.filename&&(u=n(e.filename)))}var r,o,s,a=!1,c=!1,u=!1,h="";if(l.plugins&&l.plugins.length)r=l.plugins["Shockwave Flash"],i(r),l.plugins["Shockwave Flash 2.0"]&&(a=!0,h="2.0.0.11");else if(l.mimeTypes&&l.mimeTypes.length)s=l.mimeTypes["application/x-shockwave-flash"],r=s&&s.enabledPlugin,i(r);else if("undefined"!=typeof e){c=!0;try{o=new e("ShockwaveFlash.ShockwaveFlash.7"),a=!0,h=t(o.GetVariable("$version"))}catch(p){try{o=new e("ShockwaveFlash.ShockwaveFlash.6"),a=!0,h="6.0.21"}catch(d){try{o=new e("ShockwaveFlash.ShockwaveFlash"),a=!0,h=t(o.GetVariable("$version"))}catch(f){c=!1}}}}V.disabled=a!==!0,V.outdated=h&&y(h)r;r++)e=s[r].replace(/^on/,""),a[e]=!0,c[e]||(c[e]=[]),c[e].push(t);if(a.ready&&V.ready&&this.emit({type:"ready",client:this}),a.error){for(r=0,o=X.length;o>r;r++)if(V[X[r].replace(/^flash-/,"")]){this.emit({type:"error",name:X[r],client:this});break}i!==n&&Ze.version!==i&&this.emit({type:"error",name:"version-mismatch",jsVersion:Ze.version,swfVersion:i})}}return this},nt=function(e,t){var n,i,r,o,s,a=Ge[this.id],l=a&&a.handlers;if(!l)return this;if(0===arguments.length)o=_(l);else if("string"==typeof e&&e)o=e.split(/\s+/);else if("object"==typeof e&&e&&"undefined"==typeof t)for(n in e)E.call(e,n)&&"string"==typeof n&&n&&"function"==typeof e[n]&&this.off(n,e[n]);if(o&&o.length)for(n=0,i=o.length;i>n;n++)if(e=o[n].toLowerCase().replace(/^on/,""),s=l[e],s&&s.length)if(t)for(r=s.indexOf(t);-1!==r;)s.splice(r,1),r=s.indexOf(t,r);else s.length=0;return this},it=function(e){var t=null,n=Ge[this.id]&&Ge[this.id].handlers;return n&&(t="string"==typeof e&&e?n[e]?n[e].slice(0):[]:N(n)),t},rt=function(e){if(ct.call(this,e)){"object"==typeof e&&e&&"string"==typeof e.type&&e.type&&(e=A({},e));var t=A({},me(e),{client:this});ut.call(this,t)}return this},ot=function(e){if(!Ge[this.id])throw new Error("Attempted to clip element(s) to a destroyed ZeroClipboard client instance"); -e=ht(e);for(var t=0;t0,r=!e.target||i&&-1!==n.indexOf(e.target),o=e.relatedTarget&&i&&-1!==n.indexOf(e.relatedTarget),s=e.client&&e.client===this;return t&&(r||o||s)?!0:!1},ut=function(e){var t=Ge[this.id];if("object"==typeof e&&e&&e.type&&t){var n=ye(e),i=t&&t.handlers["*"]||[],r=t&&t.handlers[e.type]||[],o=i.concat(r);if(o&&o.length){var a,l,c,u,h,p=this;for(a=0,l=o.length;l>a;a++)c=o[a],u=p,"string"==typeof c&&"function"==typeof s[c]&&(c=s[c]),"object"==typeof c&&c&&"function"==typeof c.handleEvent&&(u=c,c=c.handleEvent),"function"==typeof c&&(h=A({},e),be(c,u,[h],n))}}},ht=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=s.event))&&("js"!==e._source&&(e.stopImmediatePropagation(),e.preventDefault()),delete e._source)},n=function(n){(n||(n=s.event))&&(t(n),Ze.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,i,r=["move","leave","enter","out","over"],o=0,s=r.length;s>o;o++)n="mouse"+r[o],i=t[n],"function"==typeof i&&e.removeEventListener(n,i,!1);delete Ke[e.zcClippingId]}}};Ze._createClient=function(){et.apply(this,O(arguments))},Ze.prototype.on=function(){return tt.apply(this,O(arguments))},Ze.prototype.off=function(){return nt.apply(this,O(arguments))},Ze.prototype.handlers=function(){return it.apply(this,O(arguments))},Ze.prototype.emit=function(){return rt.apply(this,O(arguments))},Ze.prototype.clip=function(){return ot.apply(this,O(arguments))},Ze.prototype.unclip=function(){return st.apply(this,O(arguments))},Ze.prototype.elements=function(){return at.apply(this,O(arguments))},Ze.prototype.destroy=function(){return lt.apply(this,O(arguments))},Ze.prototype.setText=function(e){if(!Ge[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ze.setData("text/plain",e),this},Ze.prototype.setHtml=function(e){if(!Ge[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ze.setData("text/html",e),this},Ze.prototype.setRichText=function(e){if(!Ge[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ze.setData("application/rtf",e),this},Ze.prototype.setData=function(){if(!Ge[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ze.setData.apply(this,O(arguments)),this},Ze.prototype.clearData=function(){if(!Ge[this.id])throw new Error("Attempted to clear pending clipboard data from a destroyed ZeroClipboard client instance");return Ze.clearData.apply(this,O(arguments)),this},Ze.prototype.getData=function(){if(!Ge[this.id])throw new Error("Attempted to get pending clipboard data from a destroyed ZeroClipboard client instance");return Ze.getData.apply(this,O(arguments))},"function"==typeof define&&define.amd?define(function(){return Ze}):"object"==typeof t&&t&&"object"==typeof t.exports&&t.exports?t.exports=Ze:e.ZeroClipboard=Ze}(function(){return this||window}())},{}],80:[function(e,t,n){"use strict";var i=e("dropzone");t.exports={data:function(){return{images:[],hasMore:!1,page:0,cClickTime:0,selectedImage:!1,dependantPages:!1,deleteForm:{},token:document.querySelector("meta[name=token]").getAttribute("content"),dataLoaded:!1}},props:{imageType:{type:String,required:!0}},created:function(){window.ImageManager=this},ready:function(){this.setupDropZone()},methods:{fetchData:function(){var e=this;this.$http.get("/images/"+e.imageType+"/all/"+e.page,function(t){e.images=e.images.concat(t.images),e.hasMore=t.hasMore,e.page++})},setupDropZone:function(){var e=this;new i(e.$els.dropZone,{url:"/images/"+e.imageType+"/upload",init:function(){var t=this;this.on("sending",function(t,n,i){i.append("_token",e.token)}),this.on("success",function(n,i){e.images.unshift(i),$(n.previewElement).fadeOut(400,function(){t.removeFile(n)})}),this.on("error",function(e,t,n){t.file&&$(e.previewElement).find("[data-dz-errormessage]").text(t.file[0]),console.log(t)})}})},returnCallback:function(e){this.callback(e)},imageClick:function(e){var t=380,n=(new Date).getTime(),i=n-this.cClickTime;0!==this.cClickTime&&t>i&&this.selectedImage===e?(this.callback&&this.returnCallback(e),this.hide()):(this.selectedImage=this.selectedImage===e?!1:e,this.dependantPages=!1),this.cClickTime=n},selectButtonClick:function(){this.callback&&this.returnCallback(this.selectedImage),this.hide()},show:function(e){this.callback=e,this.$els.overlay.style.display="block",this.dataLoaded||(this.fetchData(this.page),this.dataLoaded=!0)},overlayClick:function(e){"overlay"===e.target.className&&this.hide()},hide:function(){this.$els.overlay.style.display="none"},saveImageDetails:function(e){e.preventDefault();var t=this;t.selectedImage._token=t.token;var n=$(t.$els.imageForm);$.ajax("/images/update/"+t.selectedImage.id,{method:"PUT",data:t.selectedImage}).done(function(){n.showSuccess("Image name updated")}).fail(function(e){n.showFailure(e.responseJSON)})},deleteImage:function(e){e.preventDefault();var t=this;t.deleteForm.force=t.dependantPages!==!1,t.deleteForm._token=t.token,$.ajax("/images/"+t.selectedImage.id,{method:"DELETE",data:t.deleteForm}).done(function(){t.images.splice(t.images.indexOf(t.selectedImage),1),t.selectedImage=!1,$(t.$els.imageTitle).showSuccess("Image Deleted")}).fail(function(e,n){400===e.status&&(t.dependantPages=e.responseJSON)})}}},("function"==typeof t.exports?t.exports.options:t.exports).template='\n
\n
\n
\n
\n
\n
\n \n
\n
Load More
\n
\n
\n \n
\n

Images

\n
\n
\n
Drop files or click here to upload
\n
\n
\n
\n
\n
\n \n \n
\n
\n
\n
\n

\n This image is used in the pages below, Click delete again to confirm you want to delete\n this image.\n

\n \n
\n\n
\n \n
\n
\n
\n \n
\n
\n
\n
\n
\n',t.hot&&!function(){t.hot.accept();var n=e("vue-hot-reload-api");if(n.install(e("vue"),!0),n.compatible){var i="/home/dan/web/bookstack/resources/assets/js/components/image-manager.vue";t.hot.data?n.update(i,t.exports,t.exports.template):n.createRecord(i,t.exports)}}()},{dropzone:1,vue:77,"vue-hot-reload-api":3}],81:[function(e,t,n){"use strict";t.exports={props:{currentImage:{required:!0,type:String},currentId:{required:!1,"default":"false",type:String},name:{required:!0,type:String},defaultImage:{required:!0,type:String},imageClass:{required:!0,type:String},resizeWidth:{type:String},resizeHeight:{type:String},resizeCrop:{type:Boolean},showRemove:{type:Boolean,"default":"true"}},data:function(){return{image:this.currentImage,value:!1}},compiled:function(){this.value="false"===this.currentId?this.currentImage:this.currentId},methods:{setCurrentValue:function(e,t){this.image=t,this.value="false"===this.currentId?t:e.id},showImageManager:function(e){var t=this;ImageManager.show(function(e){t.updateImageFromModel(e)})},reset:function(){this.setCurrentValue({id:0},this.defaultImage)},remove:function(){this.image="none"},updateImageFromModel:function(e){var t=this,n=t.resizeWidth&&t.resizeHeight;if(!n)return void t.setCurrentValue(e,e.url);var i=t.resizeCrop?"true":"false",r="/images/thumb/"+e.id+"/"+t.resizeWidth+"/"+t.resizeHeight+"/"+i;t.$http.get(r,function(n){t.setCurrentValue(e,n.url)})}}},("function"==typeof t.exports?t.exports.options:t.exports).template='\n
\n
\n Image Preview\n Image Preview\n
\n \n
\n | \n \n
\n',t.hot&&!function(){t.hot.accept();var n=e("vue-hot-reload-api");if(n.install(e("vue"),!0),n.compatible){var i="/home/dan/web/bookstack/resources/assets/js/components/image-picker.vue";t.hot.data?n.update(i,t.exports,t.exports.template):n.createRecord(i,t.exports)}}()},{vue:77,"vue-hot-reload-api":3}],82:[function(e,t,n){"use strict";t.exports={props:["name","value"],data:function(){return{isActive:1==this.value&&"false"!=this.value}},ready:function(){this.value=1==this.value&&"false"!=this.value?"true":"false"},methods:{"switch":function(){this.isActive=!this.isActive,this.value=this.isActive?"true":"false"}}},("function"==typeof t.exports?t.exports.options:t.exports).template='\n
\n \n
\n
\n',t.hot&&!function(){t.hot.accept();var n=e("vue-hot-reload-api");if(n.install(e("vue"),!0),n.compatible){var i="/home/dan/web/bookstack/resources/assets/js/components/toggle-switch.vue";t.hot.data?n.update(i,t.exports,t.exports.template):n.createRecord(i,t.exports)}}()},{vue:77,"vue-hot-reload-api":3}],83:[function(e,t,n){"use strict";function i(e){return null!==document.querySelector(e)}if(window.ZeroClipboard=e("zeroclipboard"),window.ZeroClipboard.config({swfPath:"/ZeroClipboard.swf"}),$(function(){$(".notification").click(function(){$(this).fadeOut(100)}),$("[data-dropdown]").dropDown(),$(".chapter-toggle").click(function(e){e.preventDefault(),$(this).toggleClass("open"),$(this).closest(".chapter").find(".inset-list").slideToggle(180)})}),i("#html-editor")){var r=e("./pages/page-form");tinymce.init(r)}var o=e("vue");o.use(e("vue-resource")),o.component("image-manager",e("./components/image-manager.vue")),o.component("image-picker",e("./components/image-picker.vue")),o.component("toggle-switch",e("./components/toggle-switch.vue")),i("#book-dashboard")&&new o(e("./pages/book-show"));new o({el:"#app"})},{"./components/image-manager.vue":80,"./components/image-picker.vue":81,"./components/toggle-switch.vue":82,"./pages/book-show":85,"./pages/page-form":86,vue:77,"vue-resource":5,zeroclipboard:79}],84:[function(e,t,n){"use strict";jQuery.fn.smoothScrollTo=function(){return 0!==this.length?($("body").animate({scrollTop:this.offset().top-60},800),this):void 0},$.expr[":"].contains=$.expr.createPseudo(function(e){return function(t){return $(t).text().toUpperCase().indexOf(e.toUpperCase())>=0}}),jQuery.fn.showSuccess=function(e){var t=$(this),n=$('");t.after(n),n.slideDown(400,function(){setTimeout(function(){n.slideUp(400,function(){n.remove()})},2e3)})},jQuery.fn.showFailure=function(e){var t=$(this);$.each(e,function(e,n){var i=t.find('[name="'+e+'"]').last(),r=$('");i.after(r),r.slideDown(400,function(){setTimeout(function(){r.slideUp(400,function(){r.remove()})},2e3)})})},jQuery.fn.submitForm=function(){$(this).closest("form").submit()},jQuery.fn.dropDown=function(){var e=$(this),t=e.find("ul");e.find("[data-dropdown-toggle]").on("click",function(){t.show().addClass("anim menuIn"),e.mouseleave(function(){t.hide(),t.removeClass("anim menuIn")})})}},{}],85:[function(e,t,n){"use strict";t.exports={el:"#book-dashboard",data:{searching:!1,searchTerm:"",searchResults:""},methods:{searchBook:function(e){e.preventDefault();var t=this.searchTerm;if(0!=t.length){this.searching=!0,this.searchResults="";var n=this.$els.form.getAttribute("action");n+="?term="+encodeURIComponent(t),this.$http.get(n,function(e){this.$set("searchResults",e)})}},checkSearchForm:function(e){this.searchTerm.length<1&&(this.searching=!1)},clearSearch:function(e){this.searching=!1,this.searchTerm=""}}}},{}],86:[function(e,t,n){"use strict";t.exports={selector:"#html-editor",content_css:["/css/styles.css","//fonts.googleapis.com/css?family=Roboto:400,400italic,500,500italic,700,700italic,300italic,100,300"],body_class:"page-content",relative_urls:!1,statusbar:!1,menubar:!1,paste_data_images:!1,extended_valid_elements:"pre[*]",automatic_uploads:!1,valid_children:"-div[p|pre|h1|h2|h3|h4|h5|h6|blockquote]",plugins:"image table textcolor paste link fullscreen imagetools code hr autosave",imagetools_toolbar:"imageoptions",toolbar:"undo redo | styleselect | bold italic underline strikethrough superscript subscript | forecolor backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | table image-insert link hr | removeformat code fullscreen",content_style:"body {padding-left: 15px !important; padding-right: 15px !important; margin:0!important; margin-left:auto!important;margin-right:auto!important;}",style_formats:[{title:"Header 1",format:"h1"},{title:"Header 2",format:"h2"},{title:"Header 3",format:"h3"},{title:"Paragraph",format:"p"},{title:"Blockquote",format:"blockquote"},{title:"Code Block",icon:"code",format:"pre"},{title:"Inline Code",icon:"code",inline:"code"}],formats:{alignleft:{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img",classes:"align-left"},aligncenter:{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img",classes:"align-center"},alignright:{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img",classes:"align-right"}},file_browser_callback:function(e,t,n,i){ImageManager.show(function(t){if(i.document.getElementById(e).value=t.url,"createEvent"in document){var n=document.createEvent("HTMLEvents");n.initEvent("change",!1,!0),i.document.getElementById(e).dispatchEvent(n)}else i.document.getElementById(e).fireEvent("onchange")})},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 i=0;i');var u="image-"+Date.now()+"."+s;o.append("file",r,u),o.append("_token",document.querySelector('meta[name="token"]').getAttribute("content")),a.open("POST","/upload/image"),a.onload=function(){if(200===a.status||201===a.status){var t=JSON.parse(a.responseText);e.dom.setAttrib(c,"src",t.url)}else console.log("An error occured uploading the image"),console.log(a.responseText)},a.send(o)}}})}}},{}]},{},[84,83]); \ 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===Y)return e;break;default:return V(l(e))}return e.nodeType===Y?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,Z=t.isFunction,Q=t.isElement,Y=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-",_="WebkitAnimation",P="webkitAnimationEnd animationend"):(_="animation",P="animationend");var oe="Duration",ae="Property",se="Delay",ue="TimingFunction",le="IterationCount",ce="PlayState",fe=9999,pe=_+se,de=_+oe,he=I+se,me=I+oe,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=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;r0,_e.hasAnimations=Ie.animationDuration>0}if(_e.applyAnimationDelay&&(je="boolean"!=typeof V.delay&&O(V.delay)?parseFloat(V.delay):je,te=Math.max(je,0),Ie.animationDelay=je,Pe=A(je,!0),oe.push(Pe),B.style[Pe[0]]=Pe[1]),ne=te*ye,ie=re*ye,V.easing){var t,s=V.easing;_e.hasTransitions&&(t=I+ue,oe.push([t,s]),B.style[t]=s),_e.hasAnimations&&(t=_+ue,oe.push([t,s]),B.style[t]=s)}Ie.transitionDuration&&a.push(j),Ie.animationDuration&&a.push(P),o=Date.now();var l=ne+we*ie,c=o+l,f=e.data($e)||[],d=!0;if(f.length){var h=f[0];d=c>h.expectedEndTime,d?u.cancel(h.timer):f.push(p)}if(d){var m=u(n,l,!1);f[0]={timer:m,expectedEndTime:c},f.push(p),e.data($e,f)}e.on(a.join(" "),i),V.to&&(V.cleanupStyles&&N(H,B,Object.keys(V.to)),v(e,V))}}function n(){var t=e.data($e);if(t){for(var n=1;n=ne&&r>=re&&(Z=!0,p())}if(!W){if(!B.parentNode)return void p();var o,a=[],l=function(e){if(Z)G&&e&&(G=!1,p());else if(G=!e,Ie.animationDuration){var t=C(B,G);G?oe.push(t):s(oe,t)}},c=Me>0&&(Ie.transitionDuration&&0===Se.transitionDuration||Ie.animationDuration&&0===Se.animationDuration)&&Math.max(Se.animationDelay,Se.transitionDelay);c?u(t,Math.floor(c*Me*ye),!1):t(),Y.resume=function(){l(!0)},Y.pause=function(){l(!1)}}}var V=R(n),H={},B=y(e);if(!B||!B.parentNode||!g.enabled())return T();V=d(V);var W,G,Z,Q,Y,te,ne,re,ie,oe=[],se=e.attr("class"),le=o(V);if(0===V.duration||!c.animations&&!c.transitions)return T();var ce=V.event&&q(V.event)?V.event.join(" "):V.event,pe=ce&&V.structural,de="",he="";pe?de=a(ce,K,!0):ce&&(de=ce),V.addClass&&(he+=a(V.addClass,X)),V.removeClass&&(he.length&&(he+=" "),he+=a(V.removeClass,J)),V.applyClassesEarly&&he.length&&M(e,V);var me=[de,he].join(" ").trim(),ve=se+" "+me,ge=a(me,ee),xe=le.to&&Object.keys(le.to).length>0,Ee=(V.keyframeStyle||"").length>0;if(!Ee&&!xe&&!me)return T();var ke,Se;if(V.stagger>0){var Ae=parseFloat(V.stagger);Se={transitionDelay:Ae,animationDelay:Ae,transitionDuration:0,animationDuration:0}}else ke=$(B,ve),Se=w(B,me,ke,Ce);V.$$skipPreparationClasses||r.addClass(e,me);var Te;if(V.transitionStyle){var De=[I,V.transitionStyle];E(B,De),oe.push(De)}if(V.duration>=0){Te=B.style[I].length>0;var Oe=F(V.duration,Te);E(B,Oe),oe.push(Oe)}if(V.keyframeStyle){var Fe=[_,V.keyframeStyle];E(B,Fe),oe.push(Fe)}var Me=Se?V.staggerIndex>=0?V.staggerIndex:t.count(ke):0,Ne=0===Me;Ne&&!V.skipBlocking&&x(B,fe);var Ie=D(B,ve,ke),je=Ie.maxDelay;te=Math.max(je,0),re=Ie.maxDuration;var _e={};if(_e.hasTransitions=Ie.transitionDuration>0,_e.hasAnimations=Ie.animationDuration>0,_e.hasTransitionAll=_e.hasTransitions&&"all"==Ie.transitionProperty,_e.applyTransitionDuration=xe&&(_e.hasTransitions&&!_e.hasTransitionAll||_e.hasAnimations&&!_e.hasTransitions),_e.applyAnimationDuration=V.duration&&_e.hasAnimations,_e.applyTransitionDelay=O(V.delay)&&(_e.applyTransitionDuration||_e.hasTransitions),_e.applyAnimationDelay=O(V.delay)&&_e.hasAnimations,_e.recalculateTimingStyles=he.length>0,(_e.applyTransitionDuration||_e.applyAnimationDuration)&&(re=V.duration?parseFloat(V.duration):re,_e.applyTransitionDuration&&(_e.hasTransitions=!0,Ie.transitionDuration=re,Te=B.style[I+ae].length>0,oe.push(F(re,Te))),_e.applyAnimationDuration&&(_e.hasAnimations=!0,Ie.animationDuration=re,oe.push(S(re)))),0===re&&!_e.recalculateTimingStyles)return T();if(null!=V.delay){var Pe;"boolean"!=typeof V.delay&&(Pe=parseFloat(V.delay),te=Math.max(Pe,0)),_e.applyTransitionDelay&&oe.push(A(Pe)),_e.applyAnimationDelay&&oe.push(A(Pe,!0))}return null==V.duration&&Ie.transitionDuration>0&&(_e.recalculateTimingStyles=_e.recalculateTimingStyles||Ne),ne=te*ye,ie=re*ye,V.skipBlocking||(_e.blockTransition=Ie.transitionDuration>0,_e.blockKeyframeAnimation=Ie.animationDuration>0&&Se.animationDelay>0&&0===Se.animationDuration),V.from&&(V.cleanupStyles&&N(H,B,Object.keys(V.from)),m(e,V)),_e.blockTransition||_e.blockKeyframeAnimation?b(re):V.skipBlocking||x(B,!1),{$$willAnimate:!0,end:l,start:function(){return W?void 0:(Y={end:l,cancel:f,resume:null,pause:null},Q=new i(Y),k(z),Q)}}}}]}],ke=["$$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)}}]}],Se=["$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 i=1,o=2,a=this.rules={skip:[],cancel:[],join:[]};a.join.push(function(e,t,r){return!t.structural&&n(t.options)}),a.skip.push(function(e,t,r){return!t.structural&&!n(t.options)}),a.skip.push(function(e,t,n){return"leave"==n.event&&t.structural}),a.skip.push(function(e,t,n){return n.structural&&n.state===o&&!t.structural}),a.cancel.push(function(e,t,n){return n.structural&&t.structural}),a.cancel.push(function(e,t,n){return n.state===o&&t.structural}),a.cancel.push(function(e,t,n){var r=t.options,i=n.options;return r.addClass&&r.addClass===i.removeClass||r.removeClass&&r.removeClass===i.addClass}),this.$get=["$$rAF","$rootScope","$rootElement","$document","$$HashMap","$$animation","$$AnimateRunner","$templateRequest","$$jqLite","$$forceReflow",function(a,s,c,f,m,v,$,x,C,E){function k(){var e=!1;return function(t){e?t():s.$$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){e.node.contains(r)?o.push(e.callback):"leave"===n&&e.node.contains(i)&&o.push(e.callback)}),o}function T(e,r,l){function c(t,n,r,i){E(function(){var t=A(m,e,n);t.length&&a(function(){U(t,function(t){t(e,r,i)})})}),t.progress(n,r,i)}function f(t){w(e,x),J(e,x),h(e,x),x.domOperation(),C.complete(!t)}var p,m,x=R(l);e=u(e),e&&(p=y(e),m=e.parent()),x=d(x);var C=new $,E=k();if(q(x.addClass)&&(x.addClass=x.addClass.join(" ")),x.addClass&&!H(x.addClass)&&(x.addClass=null),q(x.removeClass)&&(x.removeClass=x.removeClass.join(" ")),x.removeClass&&!H(x.removeClass)&&(x.removeClass=null),x.from&&!B(x.from)&&(x.from=null),x.to&&!B(x.to)&&(x.to=null),!p)return f(),C;var T=[p.className,x.addClass,x.removeClass].join(" ");if(!X(T))return f(),C;var F=["enter","move","leave"].indexOf(r)>=0,P=!_||j.get(p),L=!P&&I.get(p)||{},z=!!L.state;if(P||z&&L.state==i||(P=!M(e,m,r)),P)return f(),C;F&&D(e);var V={structural:F,element:e,event:r,close:f,options:x,runner:C};if(z){var W=t("skip",e,V,L);if(W)return L.state===o?(f(),C):(g(e,L.options,x),L.runner);var G=t("cancel",e,V,L);if(G)if(L.state===o)L.runner.end();else{if(!L.structural)return g(e,L.options,V.options),L.runner;L.close()}else{var Z=t("join",e,V,L);if(Z){if(L.state!==o)return b(e,F?r:null,x),r=V.event=L.event,x=g(e,L.options,V.options),L.runner;S(e,x)}}}else S(e,x);var Q=V.structural;if(Q||(Q="animate"===V.event&&Object.keys(V.options.to||{}).length>0||n(V.options)),!Q)return f(),O(e),C;var Y=(L.counter||0)+1;return V.counter=Y,N(e,i,V),s.$$postDigest(function(){var t=I.get(p),i=!t;t=t||{};var a=e.parent()||[],s=a.length>0&&("animate"===t.event||t.structural||n(t.options));if(i||t.counter!==Y||!s)return i&&(J(e,x),h(e,x)),(i||F&&t.event!==r)&&(x.domOperation(),C.end()),void(s||O(e));r=!t.structural&&n(t.options,!0)?"setClass":t.event,N(e,o);var u=v(e,r,t.options);u.done(function(t){f(!t);var n=I.get(p);n&&n.counter===Y&&O(y(e)),c(C,r,"close",{})}),C.setHost(u),c(C,r,"start",{})}),C}function D(e){var t=y(e),n=t.querySelectorAll("["+Te+"]");U(n,function(e){var t=parseInt(e.getAttribute(Te)),n=I.get(e);if(n)switch(t){case o:n.runner.end();case i:I.remove(e)}})}function O(e){var t=y(e);t.removeAttribute(Te),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=e.data(De);for(u&&(t=u);t&&t.length;){a||(a=F(t,c));var l=t[0];if(l.nodeType!==Y)break;var p=I.get(l)||{};if(s||(s=p.structural||j.get(l)),W(r)||r===!0){var d=t.data(re);G(d)&&(r=d)}if(s&&r===!1)break;a||(a=F(t,c),a||(u=t.data(De),u&&(t=u))),o||(o=F(t,i)),t=t.parent()}var h=!s||r;return h&&a&&o}function N(e,t,n){n=n||{},n.state=t;var r=y(e);r.setAttribute(Te,t);var i=I.get(r),o=i?z(i,n):n;I.put(r,o)}var I=new m,j=new m,_=null,P=s.$watch(function(){return 0===x.totalPendingRequests},function(e){e&&(P(),s.$$postDigest(function(){s.$$postDigest(function(){null===_&&(_=!0)})}))}),L={},Z=e.classNameFilter(),X=Z?function(e){return Z.test(e)}:function(){return!0},J=p(C);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(Q(e),"element","not an element"),r(Q(t),"parentElement","not an element"),e.data(De,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=!!_;else{var r=Q(e);if(r){var i=y(e),o=j.get(i);1===n?t=!o:(t=!!t,t?o&&j.remove(i):j.put(i,!0))}else t=_=!!e}return t}}}]}],Fe=["$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)}}]}],Me=["$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",Me).directive("ngAnimateChildren",ge).factory("$$rAFScheduler",ve).provider("$$animateQueue",Oe).provider("$$animation",Fe).provider("$animateCss",Ee).provider("$$animateCssDriver",ke).provider("$$animateJs",Se).provider("$$animateJsDriver",Ae)}(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",function(s,u,l){function c(e){return f(e,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function f(e,t){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,t?"%20":"+")}function p(e,t){this.template=e,this.defaults=v({},r.defaults,t),this.urlParams={}}function d(e,c,f,y){function b(e,t){var n={};return t=v({},c,t),m(t,function(t,r){$(t)&&(t=t()),n[r]=t&&t.charAt&&"@"==t.charAt(0)?i(e,t.substr(1)):t}),n}function w(e){return e.resource}function x(e){o(e||{},this)}var C=new p(e,y);return f=v({},r.defaults.actions,f),x.prototype.toJSON=function(){var e=v({},this);return delete e.$promise,delete e.$resolved,e},m(f,function(e,i){var c=/^(POST|PUT|PATCH)$/i.test(e.method),f=!1;t.isNumber(e.timeout)||(e.timeout&&(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),f=t.isDefined(e.cancellable)?e.cancellable:y&&t.isDefined(y.cancellable)?y.cancellable:r.defaults.cancellable),x[i]=function(r,u,p,d){var y,E,k,S={};switch(arguments.length){case 4:k=d,E=p;case 3:case 2:if(!$(u)){S=r,y=u,E=p;break}if($(r)){E=r,k=u;break}E=u,k=p;case 1:$(r)?E=r:c?y=r:S=r;break;case 0:break;default:throw a("badargs","Expected up to 4 arguments [params, data, success, error], got {0} arguments",arguments.length)}var A,T=this instanceof x,D=T?y:e.isArray?[]:new x(y),O={},F=e.interceptor&&e.interceptor.response||w,M=e.interceptor&&e.interceptor.responseError||n;m(e,function(e,t){switch(t){default:O[t]=g(e);break;case"params":case"isArray":case"interceptor":case"cancellable":}}),!T&&f&&(A=l.defer(),O.timeout=A.promise),c&&(O.data=y),C.setUrlParams(O,v({},b(y,e.params||{}),S),e.url);var N=s(O).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",O.method,O.url);if(e.isArray)D.length=0,m(r,function(e){"object"==typeof e?D.push(new x(e)):D.push(e)});else{var s=D.$promise;o(r,D),D.$promise=s}}return n.resource=D,n},function(e){return(k||h)(e),l.reject(e)});return N["finally"](function(){D.$resolved=!0,!T&&f&&(D.$cancelRequest=t.noop,A=O.timeout=null)}),N=N.then(function(e){var t=F(e);return(E||h)(t,e.headers),t},M),T?N:(D.$promise=N,D.$resolved=!1,f&&(D.$cancelRequest=A.resolve),D)},x.prototype["$"+i]=function(e,t,n){$(e)&&(n=t,t=e,e={});var r=x[i].call(this,e,this,t,n);return r.$promise||r}}),x.bind=function(t){return d(e,v({},c,t),f)},x}var h=t.noop,m=t.forEach,v=t.extend,g=t.copy,$=t.isFunction;return p.prototype={setUrlParams:function(n,r,i){var o,s,u=this,l=i||u.template,p="",d=u.urlParams={};m(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 p=e,""}),r=r||{},m(u.urlParams,function(e,n){o=r.hasOwnProperty(n)?r[n]:u.defaults[n],t.isDefined(o)&&null!==o?(s=e.isQueryParamValue?f(o,!0):c(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=p+l.replace(/\/\\\./,"/."),m(r,function(e,t){u.urlParams[t]||(n.params=n.params||{},n.params[t]=e)})}},d}]})}(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,usemap,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;return function(o,a,s){function u(e){e&&h.push(i(e))}function l(e,n){var r;if(h.push("'),u(n),h.push("")}if(!o)return o;for(var c,f,p,d=o,h=[];c=d.match(n);)f=c[0],c[2]||c[4]||(f=(c[3]?"http://":"mailto:")+f),p=c.index,u(d.substr(0,p)),l(f,c[0].replace(r,"")),d=d.substring(p+c[0].length);return u(d),e(h.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||"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(Hr(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)||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]=Hr(d)?[]:{}),c(e[p],[d],!0)):e[p]=d}}return l(e,r),e}function f(e){return c(e,_r.call(arguments,1),!1)}function p(e){return c(e,_r.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!==Rr}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 C(e){return"string"==typeof e}function E(e){return"number"==typeof e}function k(e){return"[object Date]"===Rr.call(e)}function S(e){return"function"==typeof e}function A(e){return"[object RegExp]"===Rr.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]"===Rr.call(e)}function F(e){return"[object FormData]"===Rr.call(e)}function M(e){return"[object Blob]"===Rr.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)&&Br.test(Rr.call(e))}function _(e){return!(!e||!(e.nodeName||e.prop&&e.attr&&e.find))}function P(e){var t,n={},r=e.split(",");for(t=0;t=0&&e.splice(n,1),n}function z(e,t){function n(e,t){var n,i=t.$$hashKey;if(Hr(e))for(var o=0,a=e.length;a>o;o++)t.push(r(e[o]));else if(x(e))for(n in e)t[n]=r(e[n]);else if(e&&"function"==typeof e.hasOwnProperty)for(n in e)e.hasOwnProperty(n)&&(t[n]=r(e[n]));else for(n in e)Tr.call(e,n)&&(t[n]=r(e[n]));return l(t,i),t}function r(e){if(!w(e))return e;var t=i.indexOf(e);if(-1!==t)return a[t];if(T(e)||D(e))throw Vr("cpws","Can't copy! Making copies of Window or Scope instances is not supported.");var r,o=!1;return Hr(e)?(r=[],o=!0):j(e)?r=new e.constructor(e):k(e)?r=new Date(e.getTime()):A(e)?(r=new RegExp(e.source,e.toString().match(/[^\/]*$/)[0]),r.lastIndex=e.lastIndex):S(e.cloneNode)?r=e.cloneNode(!0):(r=Object.create(zr(e)),o=!0),i.push(e),a.push(r),o?n(e,r):r}var i=[],a=[];if(t){if(j(t))throw Vr("cpta","Can't copy! TypedArray destination cannot be mutated.");if(e===t)throw Vr("cpi","Can't copy! Source and destination are identical.");return Hr(t)?t.length=0:o(t,function(e,n){"$$hashKey"!==n&&delete t[n]}),i.push(e),a.push(t),n(e,t)}return r(e)}function V(e,t){if(Hr(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 U(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(!Hr(e)){if(k(e))return k(t)?U(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)||Hr(t)||k(t)||A(t))return!1;i=ve();for(r in e)if("$"!==r.charAt(0)&&!S(e[r])){if(!U(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(!Hr(t))return!1;if((n=e.length)==t.length){for(r=0;n>r;r++)if(!U(e[r],t[r]))return!1;return!0}}return!1}function q(e,t,n){return e.concat(_r.call(t,n))}function H(e,t){return _r.call(e,t||0)}function B(e,t){var n=arguments.length>2?H(arguments,2):[];return!S(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 W(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 G(e,t){return"undefined"==typeof e?n:(E(t)||(t=t?2:null),JSON.stringify(e,W,t))}function Z(e){return C(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 Y(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function X(e,t,n){n=n?-1:1;var r=Q(t,e.getTimezoneOffset());return Y(e,n*(r-e.getTimezoneOffset()))}function J(e){e=Nr(e).clone();try{e.empty()}catch(t){}var n=Nr("
").append(e).html();try{return e[0].nodeType===ti?Ar(n):n.match(/^(<[^>]+>)/)[1].replace(/^<([\w\-]+)/,function(e,t){return"<"+Ar(t)})}catch(t){return Ar(n)}}function K(e){try{return decodeURIComponent(e)}catch(t){}}function ee(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=K(r),b(r)&&(i=b(i)?K(i):!0,Tr.call(t,r)?Hr(t[r])?t[r].push(i):t[r]=[t[r],i]:t[r]=i))}),t}function te(e){var t=[];return o(e,function(e,n){Hr(e)?o(e,function(e){t.push(re(n,!0)+(e===!0?"":"="+re(e,!0)))}):t.push(re(n,!0)+(e===!0?"":"="+re(e,!0)))}),t.length?t.join("&"):""}function ne(e){return re(e,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function re(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 ie(e,t){var n,r,i=Yr.length;for(r=0;i>r;++r)if(n=Yr[r]+t,C(n=e.getAttribute(n)))return n;return null}function oe(e,t){var n,r,i={};o(Yr,function(t){var i=t+"app";!n&&e.hasAttribute&&e.hasAttribute(i)&&(n=e,r=e.getAttribute(i))}),o(Yr,function(t){var i,o=t+"app";!n&&(i=e.querySelector("["+o.replace(":","\\:")+"]"))&&(n=i,r=i.getAttribute(o))}),n&&(i.strictDi=null!==ie(n,"strict-di"),t(n,r?[r]:[],i))}function ae(n,r,i){w(i)||(i={});var a={strictDi:!1};i=f(a,i);var s=function(){if(n=Nr(n),n.injector()){var e=n[0]===t?"document":J(n);throw Vr("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=nt(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,""),Ur.resumeBootstrap=function(e){return o(e,function(e){r.push(e)}),s()},void(S(Ur.resumeDeferredBootstrap)&&Ur.resumeDeferredBootstrap()))}function se(){e.name="NG_ENABLE_DEBUG_INFO!"+e.name,e.location.reload()}function ue(e){var t=Ur.element(e).injector();if(!t)throw Vr("test","no injector found for element argument to getTestability");return t.get("$$testability")}function le(e,t){return t=t||"_",e.replace(Xr,function(e,n){return(n?t:"")+e.toLowerCase()})}function ce(){var t;if(!Jr){var r=Qr();Ir=y(r)?e.jQuery:r?e[r]:n,Ir&&Ir.fn.on?(Nr=Ir,f(Ir.fn,{scope:bi.scope,isolateScope:bi.isolateScope,controller:bi.controller,injector:bi.injector,inheritedData:bi.inheritedData}),t=Ir.cleanData,Ir.cleanData=function(e){for(var n,r,i=0;null!=(r=e[i]);i++)n=Ir._data(r,"events"),n&&n.$destroy&&Ir(r).triggerHandler("$destroy");t(e)}):Nr=De,Ur.element=Nr,Jr=!0}}function fe(e,t,n){if(!e)throw Vr("areq","Argument '{0}' is {1}",t||"?",n||"required");return e}function pe(e,t,n){return n&&Hr(e)&&(e=e[e.length-1]),fe(S(e),t,"not a function, got "+(e&&"object"==typeof e?e.constructor.name||"Object":typeof e)),e}function de(e,t){if("hasOwnProperty"===e)throw Vr("badname","hasOwnProperty is not a valid {0} name",t)}function he(e,t,n){if(!t)return e;for(var r,i=t.split("."),o=e,a=i.length,s=0;a>s;s++)r=i[s],e&&(e=(o=e)[r]);return!n&&S(e)?B(o,e):e}function me(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=Nr(_r.call(e,0,i))),t.push(n));return t||e}function ve(){return Object.create(null)}function ge(e){function t(e,t,n){return e[t]||(e[t]=n())}var i=r("$injector"),o=r("ng"),a=t(e,"angular",Object);return a.$$minErr=a.$$minErr||r,t(a,"module",function(){var e={};return function(r,s,u){var l=function(e,t){if("hasOwnProperty"===e)throw o("badname","hasOwnProperty is not a valid {0} name",t)};return l(r,"module"),s&&e.hasOwnProperty(r)&&(e[r]=null),t(e,r,function(){function e(e,t,n,r){return r||(r=o),function(){return r[n||"push"]([e,t,arguments]),p}}function t(e,t){return function(n,i){return i&&S(i)&&(i.$$moduleName=r),o.push([e,t,arguments]),p}}if(!s)throw i("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 o=[],l=[],c=[],f=e("$injector","invoke","push",l),p={_invokeQueue:o,_configBlocks:l,_runBlocks:c,requires:s,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:function(e,t){function r(r){function i(e){return a.isFunction(e)?function(t,n){return r.invoke(e,this,{$element:t,$attrs:n})}:e}var o=t.template||t.templateUrl?t.template:"";return{controller:t.controller||function(){},controllerAs:vt(t.controller)||t.controllerAs||e,template:i(o),templateUrl:i(t.templateUrl),transclude:t.transclude===n?!0:t.transclude,scope:t.isolate===!1?!0:{},bindToController:t.bindings||{},restrict:t.restrict||"E"}}return t.$canActivate&&(r.$canActivate=t.$canActivate),t.$routeConfig&&(r.$routeConfig=t.$routeConfig),r.$inject=["$injector"],p.directive(e,r)},config:f,run:function(e){return c.push(e),this}};return u&&f(u),p})}})}function $e(e){var t=[];return JSON.stringify(e,function(e,n){if(n=W(e,n),w(n)){if(t.indexOf(n)>=0)return"...";t.push(n)}return n})}function ye(e){return"function"==typeof e?e.toString().replace(/ \{[\s\S]*$/,""):y(e)?"undefined":"string"!=typeof e?$e(e):e}function be(t){f(t,{bootstrap:ae,copy:z,extend:f,merge:p,equals:U,element:Nr,forEach:o,injector:nt,noop:m,bind:B,toJson:G,fromJson:Z,identity:v,isUndefined:y,isDefined:b,isString:C,isFunction:S,isObject:w,isNumber:E,isElement:_,isArray:Hr,version:oi,isDate:k,lowercase:Ar,uppercase:Dr,callbacks:{counter:0},getTestability:ue,$$minErr:r,$$csp:Zr,reloadWithDebugInfo:se}),(jr=ge(e))("ng",["ngLocale"],["$provide",function(e){e.provider({$$sanitizeUri:wn}),e.provider("$compile",pt).directive({a:ko,input:Uo,textarea:Uo,form:Oo,script:Pa,select:za,style:Ua,option:Va,ngBind:Bo,ngBindHtml:Go,ngBindTemplate:Wo,ngClass:Qo,ngClassEven:Xo,ngClassOdd:Yo,ngCloak:Jo,ngController:Ko,ngForm:Fo,ngHide:Oa,ngIf:na,ngInclude:ra,ngInit:oa,ngNonBindable:wa,ngPluralize:ka,ngRepeat:Sa,ngShow:Da,ngStyle:Fa,ngSwitch:Ma,ngSwitchWhen:Na,ngSwitchDefault:Ia,ngOptions:Ea,ngTransclude:_a,ngModel:$a,ngList:aa,ngChange:Zo,pattern:Ha,ngPattern:Ha,required:qa,ngRequired:qa,minlength:Wa,ngMinlength:Wa,maxlength:Ba,ngMaxlength:Ba,ngValue:Ho,ngModelOptions:ba}).directive({ngInclude:ia}).directive(So).directive(ea),e.provider({$anchorScroll:rt,$animate:ji,$animateCss:Li,$$animateQueue:Ii,$$AnimateRunner:Pi,$$animateAsyncRun:_i,$browser:lt,$cacheFactory:ct,$controller:gt,$document:$t,$exceptionHandler:yt,$filter:jn,$$forceReflow:qi,$interpolate:Nt,$interval:It,$http:Dt,$httpParamSerializer:wt,$httpParamSerializerJQLike:xt,$httpBackend:Ft,$xhrFactory:Ot,$location:Zt,$log:Qt,$parse:mn,$rootScope:bn,$q:vn,$$q:gn,$sce:kn,$sceDelegate:En,$sniffer:Sn,$templateCache:ft,$templateRequest:An,$$testability:Tn,$timeout:Dn,$window:Mn,$$rAF:yn,$$jqLite:Ye,$$HashMap:Ei,$$cookieReader:In})}])}function we(){return++si}function xe(e){return e.replace(ci,function(e,t,n,r){return r?n.toUpperCase():n}).replace(fi,"Moz$1")}function Ce(e){return!mi.test(e)}function Ee(e){var t=e.nodeType;return t===Kr||!t||t===ri}function ke(e){for(var t in ai[e.ng339])return!0;return!1}function Se(e){for(var t=0,n=e.length;n>t;t++)Ne(e[t])}function Ae(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=(vi.exec(e)||["",""])[1].toLowerCase(),i=$i[r]||$i._default,n.innerHTML=i[1]+e.replace(gi,"<$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=hi.exec(e))?[n.createElement(r[1])]:(r=Ae(e,n))?r.childNodes:[]}function De(e){if(e instanceof De)return e;var t;if(C(e)&&(e=Wr(e),t=!0),!(this instanceof De)){if(t&&"<"!=e.charAt(0))throw di("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new De(e)}t?Re(this,Te(e)):Re(this,e)}function Oe(e){return e.cloneNode(!0)}function Fe(e,t){if(t||Ne(e),e.querySelectorAll)for(var n=e.querySelectorAll("*"),r=0,i=n.length;i>r;r++)Ne(n[r])}function Me(e,t,n,r){if(b(r))throw di("offargs","jqLite#off() does not support the `selector` argument");var i=Ie(e),a=i&&i.events,s=i&&i.handle;if(s)if(t){var u=function(t){var r=a[t];b(n)&&R(r||[],n),b(n)&&r&&r.length>0||(li(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&&li(e,t,s),delete a[t]}function Ne(e,t){var r=e.ng339,i=r&&ai[r];if(i){if(t)return void delete i.data[t];i.handle&&(i.events.$destroy&&i.handle({},"$destroy"),Me(e)),delete ai[r],e.ng339=n}}function Ie(e,t){var r=e.ng339,i=r&&ai[r];return t&&!i&&(e.ng339=r=we(),i=ai[r]={events:{},data:{},handle:n}),i}function je(e,t,n){if(Ee(e)){var r=b(n),i=!r&&t&&!w(t),o=!t,a=Ie(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 _e(e,t){return e.getAttribute?(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+t+" ")>-1:!1}function Pe(e,t){t&&e.setAttribute&&o(t.split(" "),function(t){e.setAttribute("class",Wr((" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").replace(" "+Wr(t)+" "," ")))})}function Le(e,t){if(t&&e.setAttribute){var n=(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ");o(t.split(" "),function(e){e=Wr(e),-1===n.indexOf(" "+e+" ")&&(n+=e+" ")}),e.setAttribute("class",Wr(n))}}function Re(e,t){if(t)if(t.nodeType)e[e.length++]=t;else{var n=t.length;if("number"==typeof n&&t.window!==t){if(n)for(var r=0;n>r;r++)e[e.length++]=t[r]}else e[e.length++]=t}}function ze(e,t){return Ve(e,"$"+(t||"ngController")+"Controller")}function Ve(e,t,n){e.nodeType==ri&&(e=e.documentElement);for(var r=Hr(t)?t:[t];e;){for(var i=0,o=r.length;o>i;i++)if(b(n=Nr.data(e,r[i])))return n;e=e.parentNode||e.nodeType===ii&&e.host}}function Ue(e){for(Fe(e,!0);e.firstChild;)e.removeChild(e.firstChild)}function qe(e,t){t||Fe(e);var n=e.parentNode;n&&n.removeChild(e)}function He(t,n){n=n||e,"complete"===n.document.readyState?n.setTimeout(t):Nr(n).on("load",t)}function Be(e,t){var n=wi[t.toLowerCase()];return n&&xi[L(e)]&&n}function We(e){return Ci[e]}function Ge(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=V(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 Qe(e,t,n){var r=t.relatedTarget;(!r||r!==e&&!yi.call(e,r))&&n.call(e,t)}function Ye(){this.$get=function(){return f(De,{hasClass:function(e,t){return e.attr&&(e=e[0]),_e(e,t)},addClass:function(e,t){return e.attr&&(e=e[0]),Le(e,t)},removeClass:function(e,t){return e.attr&&(e=e[0]),Pe(e,t)}})}}function Xe(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 Je(e,t){if(t){var n=0;this.nextUid=function(){return++n}}o(e,this.put,this)}function Ke(e){var t=e.toString().replace(Di,""),n=t.match(ki)||t.match(Si);return n}function et(e){var t=Ke(e);return t?"function("+(t[1]||"").replace(/[\s\r\n]+/," ")+")":"fn"}function tt(e,t,n){var r,i,a;if("function"==typeof e){if(!(r=e.$inject)){if(r=[],e.length){if(t)throw C(n)&&n||(n=e.name||et(e)),Oi("strictdi","{0} is not using explicit annotation and cannot be invoked in strict mode",n);i=Ke(e),o(i[1].split(Ai),function(e){e.replace(Ti,function(e,t,n){r.push(n)})})}e.$inject=r}}else Hr(e)?(a=e.length-1,pe(e[a],"fn"),r=e.slice(0,a)):pe(e,"fn",!0);return r}function nt(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(de(e,"service"),(S(t)||Hr(t))&&(t=E.instantiate(t)),!t.$get)throw Oi("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 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,g(t),!1)}function f(e,t){de(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){fe(y(e)||Hr(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=jr(e),n=n.concat(d(t.requires)).concat(t._runBlocks),r(t._invokeQueue),r(t._configBlocks)):S(e)?n.push(E.invoke(e)):Hr(e)?n.push(E.invoke(e)):pe(e,"module")}catch(i){throw Hr(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 h(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,o){"string"==typeof i&&(o=i,i=null);var a,s,u,l=[],c=nt.$$annotate(e,t,o);for(s=0,a=c.length;a>s;s++){if(u=c[s],"string"!=typeof u)throw Oi("itkn","Incorrect injection token! Expected service name as string, got {0}",u);l.push(i&&i.hasOwnProperty(u)?i[u]:r(u,o))}return Hr(e)&&(e=e[a]),e.apply(n,l)}function o(e,t,n){var r=Object.create((Hr(e)?e[e.length-1]:e).prototype||null),o=i(e,r,t,n);return w(o)||S(o)?o:r}return{invoke:i,instantiate:o,get:r,annotate:nt.$$annotate,has:function(t){return x.hasOwnProperty(t+v)||e.hasOwnProperty(t)}}}t=t===!0;var m={},v="Provider",$=[],b=new Je([],!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 Ur.isString(t)&&$.push(t),Oi("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 rt(){var e=!0;this.disableAutoScrolling=function(){e=!1},this.$get=["$window","$location","$rootScope",function(t,n,r){function i(e){var t=null;return Array.prototype.some.call(e,function(e){return"a"===L(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)&&He(function(){r.$evalAsync(s)})}),s}]}function it(e,t){return e||t?e?t?(Hr(e)&&(e=e.join(" ")),Hr(t)&&(t=t.join(" ")),e+" "+t):e:t:""}function ot(e){for(var t=0;tl&&this.remove(d.key),t}},get:function(e){if(l";var r=ce.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 N(e,t,n,r,i){e instanceof Nr||(e=Nr(e)),o(e,function(t,n){t.nodeType==ti&&t.nodeValue.match(/\S+/)&&(e[n]=Nr(t).wrap("").parent()[0])});var a=j(e,t,e,n,r,i);N.$$addScopeClass(e);var s=null;return function(t,n,r){fe(t,"scope"),i&&i.needsNewScope&&(t=t.$parent.$new()),r=r||{};var o=r.parentBoundTranscludeFn,u=r.transcludeControllers,l=r.futureParentElement;o&&o.$$boundTransclude&&(o=o.$$boundTransclude),s||(s=I(l));var c;if(c="html"!==s?Nr(te(s,Nr("
").append(e).html())):n?bi.clone.call(e):e, +u)for(var f in u)c.data("$"+f+"Controller",u[f].instance);return N.$$addScopeInfo(c,t),n&&n(c,t),a&&a(t,c,c,o),c}}function I(e){var t=e&&e[0];return t&&"foreignobject"!==L(t)&&t.toString().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(),N.$$addScopeInfo(Nr(u),l)):l=e,d=a.transcludeOnThisElement?_(e,a.transclude,o):!a.templateOnThisElement&&o?o:!o&&t?_(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=Wr(l.value),h=dt(c),(v=ge.test(h))&&(c=c.replace(zi,"").substr(8).replace(/_(.)/g,function(e,t){return t.toUpperCase()}));var E=h.match($e);E&&Z(E[1])&&(b=c,x=c.substr(0,c.length-5)+"end",c=c.substr(0,c.length-6)),f=dt(c.toLowerCase()),u[f]=c,(v||!n.hasOwnProperty(f))&&(n[f]=m,Be(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=dt(o[2]),G(t,f,"C",r,i)&&(n[f]=Wr(o[3])),a=a.substr(o.index+o[0].length);break;case ti:if(11===Mr)for(;e.parentNode&&e.nextSibling&&e.nextSibling.nodeType===ti;)e.nodeValue=e.nodeValue+e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);ee(t,e.nodeValue);break;case ni:try{o=p.exec(e.nodeValue),o&&(f=dt(o[1]),G(t,f,"M",r,i)&&(n[f]=Wr(o[2])))}catch(k){}}return t.sort(X),t}function z(e,t,n){var r=[],i=0;if(t&&e.hasAttribute&&e.hasAttribute(t)){do{if(!e)throw Ri("uterdir","Unterminated attribute, found '{0}' but no matching '{1}' found.",t,n);e.nodeType==Kr&&(e.hasAttribute(t)&&i++,e.hasAttribute(n)&&i--),r.push(e),e=e.nextSibling}while(i>0)}else r.push(e);return Nr(r)}function V(e,t,n){return function(r,i,o,a,s){return i=z(i[0],t,n),e(r,i,o,a,s)}}function q(e,t,n,r,i,o){if(e)return N(t,n,r,i,o);var a;return function(){return a||(a=N(t,n,r,i,o),t=n=o=null),a.apply(this,arguments)}}function B(e,r,a,s,l,c,f,p,d){function h(e,t,n,r){e&&(n&&(e=V(e,n,r)),e.require=$.require,e.directiveName=b,(M===$||$.$$isolateScope)&&(e=oe(e,{isolateScope:!0})),f.push(e)),t&&(n&&(t=V(t,n,r)),t.require=$.require,t.directiveName=b,(M===$||$.$$isolateScope)&&(t=oe(t,{isolateScope:!0})),p.push(t))}function m(e,t,n,r){var i;if(C(t)){var o=t.match(x),a=t.substring(o[0].length),s=o[1]||o[3],u="?"===o[2];if("^^"===s?n=n.parent():(i=r&&r[a],i=i&&i.instance),!i){var l="$"+a+"Controller";i=s?n.inheritedData(l):n.data(l)}if(!i&&!u)throw Ri("ctreq","Controller '{0}', required by directive '{1}', can't be found!",a,e)}else if(Hr(t)){i=[];for(var c=0,f=t.length;f>c;c++)i[c]=m(e,t[c],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===M||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,U||e.data("$"+l.name+"Controller",p.instance)}return a}function g(e,t,i,o,s){function u(e,t,r,i){var o;if(D(e)||(i=r,r=t,t=e,e=n),U&&(o=h),r||(r=U?$.parent():$),!i)return s(e,t,o,r,T);var a=s.$$slots[i];if(a)return a(e,t,o,r,T);if(y(a))throw Ri("noslot",'No parent directive that requires a transclusion with slot name "{0}". Element: {1}',i,J($))}var l,c,d,h,g,$,b,w,x;r===i?(b=a,$=a.$$element):($=Nr(i),b=new pe($,a)),d=t,M?c=t.$new(!0):O&&(d=t.$parent),s&&(g=u,g.$$boundTransclude=s,g.isSlotFilled=function(e){return!!s.$$slots[e]}),F&&(h=v($,b,g,F,c,t)),M&&(N.$$addScopeInfo($,c,!0,!(I&&(I===M||I===M.$$originalDirective))),N.$$addScopeClass($,!0),c.$$isolateBindings=M.$$isolateBindings,w=se(t,b,c,c.$$isolateBindings,M),w&&c.$on("$destroy",w));for(var C in h){var E=F[C],k=h[C],S=E.$$bindings.bindToController;k.identifier&&S&&(x=se(d,b,k.instance,S,E));var A=k();A!==k.instance&&(k.instance=A,$.data("$"+E.name+"Controller",A),x&&x(),x=se(d,b,k.instance,S,E))}for(ne=0,re=f.length;re>ne;ne++)l=f[ne],ae(l,l.isolateScope?c:t,$,b,l.require&&m(l.directiveName,l.require,$,h),g);var T=t;for(M&&(M.template||null===M.templateUrl)&&(T=c),e&&e(T,i.childNodes,n,s),ne=p.length-1;ne>=0;ne--)l=p[ne],ae(l,l.isolateScope?c:t,$,b,l.require&&m(l.directiveName,l.require,$,h),g)}d=d||{};for(var $,b,E,k,A,T=-Number.MAX_VALUE,O=d.newScopeDirective,F=d.controllerDirectives,M=d.newIsolateScopeDirective,I=d.templateDirective,j=d.nonTlbTranscludeDirective,_=!1,R=!1,U=d.hasElementTranscludeDirective,B=a.$$element=Nr(r),G=c,Z=s,X=!1,ee=!1,ne=0,re=e.length;re>ne;ne++){$=e[ne];var ue=$.$$start,le=$.$$end;if(ue&&(B=z(r,ue,le)),E=n,T>$.priority)break;if((A=$.scope)&&($.templateUrl||(w(A)?(K("new/isolated scope",M||O,$,B),M=$):K("new/isolated scope",M,$,B)),O=O||$),b=$.name,!X&&($.replace&&($.templateUrl||$.template)||$.transclude&&!$.$$tlb)){for(var ce,fe=ne+1;ce=e[fe++];)if(ce.transclude&&!ce.$$tlb||ce.replace&&(ce.templateUrl||ce.template)){ee=!0;break}X=!0}if(!$.templateUrl&&$.controller&&(A=$.controller,F=F||ve(),K("'"+b+"' controller",F[b],$,B),F[b]=$),A=$.transclude)if(_=!0,$.$$tlb||(K("transclusion",j,$,B),j=$),"element"==A)U=!0,T=$.priority,E=B,B=a.$$element=Nr(t.createComment(" "+b+": "+a[b]+" ")),r=B[0],ie(l,H(E),r),Z=q(ee,E,s,T,G&&G.name,{nonTlbTranscludeDirective:j});else{var de=ve();if(E=Nr(Oe(r)).contents(),w(A)){E=[];var he=ve(),ge=ve();o(A,function(e,t){var n="?"===e.charAt(0);e=n?e.substring(1):e,he[e]=t,de[t]=null,ge[t]=n}),o(B.contents(),function(e){var t=he[dt(L(e))];t?(ge[t]=!0,de[t]=de[t]||[],de[t].push(e)):E.push(e)}),o(ge,function(e,t){if(!e)throw Ri("reqslot","Required transclusion slot `{0}` was not filled.",t)});for(var $e in de)de[$e]&&(de[$e]=q(ee,de[$e],s))}B.empty(),Z=q(ee,E,s,n,n,{needsNewScope:$.$$isolateScope||$.$$newScope}),Z.$$slots=de}if($.template)if(R=!0,K("template",I,$,B),I=$,A=S($.template)?$.template(B,a):$.template,A=me(A),$.replace){if(G=$,E=Ce(A)?[]:mt(te($.templateNamespace,Wr(A))),r=E[0],1!=E.length||r.nodeType!==Kr)throw Ri("tplrt","Template for directive '{0}' must have exactly one root element. {1}",b,"");ie(l,B,r);var ye={$attr:{}},be=P(r,[],ye),we=e.splice(ne+1,e.length-(ne+1));(M||O)&&W(be,M,O),e=e.concat(be).concat(we),Q(a,ye),re=e.length}else B.html(A);if($.templateUrl)R=!0,K("template",I,$,B),I=$,$.replace&&(G=$),g=Y(e.splice(ne,e.length-ne),B,a,l,_&&Z,f,p,{controllerDirectives:F,newScopeDirective:O!==$&&O,newIsolateScopeDirective:M,templateDirective:I,nonTlbTranscludeDirective:j}),re=e.length;else if($.compile)try{k=$.compile(B,a,Z),S(k)?h(null,k,ue,le):k&&h(k.pre,k.post,ue,le)}catch(xe){i(xe,J(B))}$.terminal&&(g.terminal=!0,T=Math.max(T,$.priority))}return g.scope=O&&O.scope===!0,g.transcludeOnThisElement=_,g.templateOnThisElement=R,g.transclude=Z,d.hasElementTranscludeDirective=U,g}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 Z(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 Q(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 Y(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=Ce(a)?[]:mt(te($,Wr(a))),h=b[0],1!=b.length||h.nodeType!==Kr)throw Ri("tplrt","Template for directive '{0}' must have exactly one root element. {1}",m.name,g);y={$attr:{}},ie(r,t,h);var C=P(h,[],y);w(m.scope)&&W(C,!0),e=C.concat(e),Q(n,y)}else h=d,t.html(a);for(e.unshift(v),c=B(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=Oe(h)),ie(S,Nr(k),T),M(Nr(T),D)}x=c.transcludeOnThisElement?_(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=_(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 A.HTML;var n=L(e);return"xlinkHref"==t||"form"==n&&"action"==t||"img"!=n&&("src"==t||"ngSrc"==t)?A.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"===L(e))throw Ri("selmulti","Binding to the 'multiple' attribute is not supported. Element: {0}",J(e));t.push({priority:100,compile:function(){return{pre:function(e,t,u){var l=u.$$observers||(u.$$observers=ve());if(E.test(i))throw Ri("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(Nr.hasData(a)&&(Nr.data(r,Nr.data(a)),Nr(a).off("$destroy")),Nr.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,J(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||Tr.call(t,d)||(n[o]=t[d]=void 0),t.$observe(d,function(e){C(e)&&(n[o]=e)}),t.$$observers[d].$$scope=e,C(t[d])&&(n[o]=r(t[d])(e));break;case"=":if(!Tr.call(t,d)){if(h)break;t[d]=void 0}if(h&&!t[d])break;c=s(t[d]),p=c.literal?U:function(e,t){return e===t||e!==e&&t!==t},f=c.assign||function(){throw l=n[o]=c(e),Ri("nonassign","Expression '{0}' used with directive '{1}' is non-assignable!",t[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/,ce=t.createElement("div"),pe=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};pe.prototype={$normalize:dt,$addClass:function(e){e&&e.length>0&&T.addClass(this.$$element,e)},$removeClass:function(e){e&&e.length>0&&T.removeClass(this.$$element,e)},$updateClass:function(e,t){var n=ht(e,t);n&&n.length&&T.addClass(this.$$element,n);var r=ht(t,e);r&&r.length&&T.removeClass(this.$$element,r)},$set:function(e,t,n,r){var a,s=this.$$element[0],u=Be(s,e),l=We(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=le(e,"-"))),a=L(this.$$element),"a"===a&&("href"===e||"xlinkHref"===e)||"img"===a&&"src"===e)this[e]=t=O(t,"src"===e);else if("img"===a&&"srcset"===e){for(var f="",p=Wr(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+=O(Wr(m[$]),!0),f+=" "+Wr(m[$+1])}var b=Wr(m[2*g]).split(/\s/);f+=O(Wr(b[0]),!0),2===b.length&&(f+=" "+Wr(b[1])),this[e]=t=f}n!==!1&&(null===t||y(t)?this.$$element.removeAttr(r):ue.test(r)?this.$$element.attr(r,t):F(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),g.$evalAsync(function(){i.$$inter||!n.hasOwnProperty(e)||y(n[e])||t(n[e])}),function(){R(i,t)}}};var de=r.startSymbol(),he=r.endSymbol(),me="{{"==de||"}}"==he?v:function(e){return e.replace(/\{\{/g,de).replace(/}}/g,he)},ge=/^ngAttr[A-Z]/,$e=/^(.+)Start$/;return N.$$addBindingInfo=k?function(e,t){var n=e.data("$binding")||[];Hr(t)?n=n.concat(t):n.push(t),e.data("$binding",n)}:m,N.$$addBindingClass=k?function(e){M(e,"ng-binding")}:m,N.$$addScopeInfo=k?function(e,t,n,r){var i=n?r?"$isolateScopeNoTemplate":"$isolateScope":"$scope";e.data(i,t)}:m,N.$$addScopeClass=k?function(e,t){M(e,t?"ng-isolate-scope":"ng-scope")}:m,N}]}function dt(e){return xe(e.replace(zi,""))}function ht(e,t){var n="",r=e.split(/\s+/),i=t.split(/\s+/);e:for(var o=0;o0?" ":"")+a}return n}function mt(e){e=Nr(e);var t=e.length;if(1>=t)return e;for(;t--;){var n=e[t];n.nodeType===ni&&Pr.call(e,t,1)}return e}function vt(e,t){if(t&&C(t))return t;if(C(e)){var n=Ui.exec(e);if(n)return n[3]}}function gt(){var e={},t=!1;this.register=function(t,n){de(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(Ui),!p)throw Vi("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]:he(s.$scope,d,!0)||(t?he(o,d,!0):n),pe(r,d,!0)}if(u){var m=(Hr(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 $t(){this.$get=["$window",function(e){return Nr(e.document)}]}function yt(){this.$get=["$log",function(e){return function(t,n){e.error.apply(e,arguments)}}]}function bt(e){return w(e)?k(e)?e.toISOString():G(e):e}function wt(){this.$get=function(){return function(e){if(!e)return"";var t=[];return a(e,function(e,n){null===e||y(e)||(Hr(e)?o(e,function(e,r){t.push(re(n)+"="+re(bt(e)))}):t.push(re(n)+"="+re(bt(e))))}),t.join("&")}}}function xt(){this.$get=function(){return function(e){function t(e,r,i){null===e||y(e)||(Hr(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(re(r)+"="+re(bt(e))))}if(!e)return"";var n=[];return t(e,"",!0),n.join("&")}}}function Ct(e,t){if(C(e)){var n=e.replace(Zi,"").trim();if(n){var r=t("Content-Type");(r&&0===r.indexOf(Hi)||Et(n))&&(e=Z(n))}}return e}function Et(e){var t=e.match(Wi);return t&&Gi[t[0]].test(e)}function kt(e){function t(e,t){e&&(r[e]=r[e]?r[e]+", "+t:t)}var n,r=ve();return C(e)?o(e.split("\n"),function(e){n=e.indexOf(":"),t(Ar(Wr(e.substr(0,n))),Wr(e.substr(n+1)))}):w(e)&&o(e,function(e,n){t(Ar(n),Wr(e))}),r}function St(e){var t;return function(n){if(t||(t=kt(e)),n){var r=t[Ar(n)];return void 0===r&&(r=null),r}return t}}function At(e,t,n,r){return S(r)?r(e,t,n):(o(r,function(r){e=r(e,t,n)}),e)}function Tt(e){return e>=200&&300>e}function Dt(){var e=this.defaults={transformResponse:[Ct],transformRequest:[function(e){return!w(e)||O(e)||M(e)||F(e)?e:G(e)}],headers:{common:{Accept:"application/json, text/plain, */*"},post:V(Bi),put:V(Bi),patch:V(Bi)},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=At(e.data,e.headers,e.status,l.transformResponse),Tt(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[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,V(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=Dr(l.method),l.paramSerializer=C(l.paramSerializer)?d.get(l.paramSerializer):l.paramSerializer;var c=function(t){var r=t.headers,i=At(t.data,St(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),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 pe(e,"fn"),m.then(function(t){e(t.data,t.status,t.headers,l)}),m},m.error=function(e){return pe(e,"fn"),m.then(null,function(t){e(t.data,t.status,t.headers,l)}),m}):(m.success=Yi("success"),m.error=Yi("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&&(Tt(e)?d.put(E,[e,n,kt(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,(Tt(t)?v.resolve:v.reject)({data:e,status:t,headers:St(n),config:r,statusText:i})}function l(e){a(e.data,e.status,V(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):Hr(m)?a(m[1],m[0],V(m[2]),m[3]):a(m,200,{},"OK"):d.put(E,g)),y(m)){var k=Fn(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 Ot(){this.$get=function(){return function(){return new e.XMLHttpRequest}}}function Ft(){this.$get=["$browser","$window","$document","$xhrFactory",function(e,t,n,r){return Mt(e,r,e.defer,t.angular.callbacks,n[0])}]}function Mt(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){li(o,"load",a),li(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)},ui(o,"load",a),ui(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"==Ar(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"==On(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 Nt(){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=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,d,h){function m(e){try{return e=M(e),h&&!b(e)?e:s(e)}catch(t){r(Xi.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&&Xi.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(Xi.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 It(){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?H(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 jt(e){for(var t=e.split("/"),n=t.length;n--;)t[n]=ne(t[n]);return t.join("/")}function _t(e,t){var n=On(e);t.$$protocol=n.protocol,t.$$host=n.hostname,t.$$port=d(n.port)||Ki[n.protocol]||null}function Pt(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=ee(r.search),t.$$hash=decodeURIComponent(r.hash),t.$$path&&"/"!=t.$$path.charAt(0)&&(t.$$path="/"+t.$$path)}function Lt(e,t){return 0===t.indexOf(e)?t.substr(e.length):void 0}function Rt(e){var t=e.indexOf("#");return-1==t?e:e.substr(0,t)}function zt(e){return e.replace(/(#.+)|#$/,"$1")}function Vt(e){return e.substr(0,Rt(e).lastIndexOf("/")+1)}function Ut(e){return e.substring(0,e.indexOf("/",e.indexOf("//")+2))}function qt(e,t,n){this.$$html5=!0,n=n||"",_t(e,this),this.$$parse=function(e){var n=Lt(t,e);if(!C(n))throw eo("ipthprfx",'Invalid url "{0}", missing path prefix "{1}".',e,t);Pt(n,this),this.$$path||(this.$$path="/"),this.$$compose()},this.$$compose=function(){var e=te(this.$$search),n=this.$$hash?"#"+ne(this.$$hash):"";this.$$url=jt(this.$$path)+(e?"?"+e:"")+n,this.$$absUrl=t+this.$$url.substr(1)},this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;var o,a,s;return b(o=Lt(e,r))?(a=o,s=b(o=Lt(n,o))?t+(Lt("/",o)||o):e+a):b(o=Lt(t,r))?s=t+o:t==r+"/"&&(s=t),s&&this.$$parse(s),!!s}}function Ht(e,t,n){_t(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=Lt(e,r)||Lt(t,r);y(a)||"#"!==a.charAt(0)?this.$$html5?o=a:(o="",y(a)&&(e=r,this.replace())):(o=Lt(n,a),y(o)&&(o=a)),Pt(o,this),this.$$path=i(this.$$path,o,e),this.$$compose()},this.$$compose=function(){var t=te(this.$$search),r=this.$$hash?"#"+ne(this.$$hash):"";this.$$url=jt(this.$$path)+(t?"?"+t:"")+r,this.$$absUrl=e+(this.$$url?n+this.$$url:"")},this.$$parseLinkUrl=function(t,n){return Rt(e)==Rt(t)?(this.$$parse(t),!0):!1}}function Bt(e,t,n){this.$$html5=!0,Ht.apply(this,arguments),this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;var o,a;return e==Rt(r)?o=r:(a=Lt(t,r))?o=e+n+a:t===r+"/"&&(o=t),o&&this.$$parse(o),!!o},this.$$compose=function(){var t=te(this.$$search),r=this.$$hash?"#"+ne(this.$$hash):"";this.$$url=jt(this.$$path)+(t?"?"+t:"")+r,this.$$absUrl=e+n+this.$$url}}function Wt(e){return function(){return this[e]}}function Gt(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 eo("nobase","$location in HTML5 mode requires a tag to be present!");f=Ut(d)+(p||"/"),c=i.history?qt:Bt}else f=Rt(d),c=Ht;var h=Vt(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=Nr(e.target);"a"!==L(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(d)&&r.url(l.absUrl(),!0);var v=!0;return r.onUrlChange(function(e,t){return y(Lt(h,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)):(v=!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;(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 Qt(){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 Yt(e,t){if("__defineGetter__"===e||"__defineSetter__"===e||"__lookupGetter__"===e||"__lookupSetter__"===e||"__proto__"===e)throw no("isecfld","Attempting to access a disallowed field in Angular expressions! Expression: {0}",t);return e}function Xt(e,t){if(e+="",!C(e))throw no("iseccst","Cannot convert object to primitive value! Expression: {0}",t);return e}function Jt(e,t){if(e){if(e.constructor===e)throw no("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",t);if(e.window===e)throw no("isecwindow","Referencing the Window in Angular expressions is disallowed! Expression: {0}",t);if(e.children&&(e.nodeName||e.prop&&e.attr&&e.find))throw no("isecdom","Referencing DOM nodes in Angular expressions is disallowed! Expression: {0}",t);if(e===Object)throw no("isecobj","Referencing Object in Angular expressions is disallowed! Expression: {0}",t)}return e}function Kt(e,t){if(e){if(e.constructor===e)throw no("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",t);if(e===ro||e===io||e===oo)throw no("isecff","Referencing call, apply or bind in Angular expressions is disallowed! Expression: {0}",t)}}function en(e,t){if(e&&(e===0..constructor||e===(!1).constructor||e==="".constructor||e==={}.constructor||e===[].constructor||e===Function.constructor))throw no("isecaf","Assigning to a constructor is disallowed! Expression: {0}",t)}function tn(e,t){return"undefined"!=typeof e?e:t}function nn(e,t){return"undefined"==typeof e?t:"undefined"==typeof t?e:e+t}function rn(e,t){var n=e(t);return!n.$stateful}function on(e,t){var n,r;switch(e.type){case lo.Program:n=!0,o(e.body,function(e){on(e.expression,t),n=n&&e.expression.constant}),e.constant=n;break;case lo.Literal:e.constant=!0,e.toWatch=[];break;case lo.UnaryExpression:on(e.argument,t),e.constant=e.argument.constant,e.toWatch=e.argument.toWatch;break;case lo.BinaryExpression:on(e.left,t),on(e.right,t),e.constant=e.left.constant&&e.right.constant, +e.toWatch=e.left.toWatch.concat(e.right.toWatch);break;case lo.LogicalExpression:on(e.left,t),on(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.constant?[]:[e];break;case lo.ConditionalExpression:on(e.test,t),on(e.alternate,t),on(e.consequent,t),e.constant=e.test.constant&&e.alternate.constant&&e.consequent.constant,e.toWatch=e.constant?[]:[e];break;case lo.Identifier:e.constant=!1,e.toWatch=[e];break;case lo.MemberExpression:on(e.object,t),e.computed&&on(e.property,t),e.constant=e.object.constant&&(!e.computed||e.property.constant),e.toWatch=[e];break;case lo.CallExpression:n=e.filter?rn(t,e.callee.name):!1,r=[],o(e.arguments,function(e){on(e,t),n=n&&e.constant,e.constant||r.push.apply(r,e.toWatch)}),e.constant=n,e.toWatch=e.filter&&rn(t,e.callee.name)?r:[e];break;case lo.AssignmentExpression:on(e.left,t),on(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=[e];break;case lo.ArrayExpression:n=!0,r=[],o(e.elements,function(e){on(e,t),n=n&&e.constant,e.constant||r.push.apply(r,e.toWatch)}),e.constant=n,e.toWatch=r;break;case lo.ObjectExpression:n=!0,r=[],o(e.properties,function(e){on(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 lo.ThisExpression:e.constant=!1,e.toWatch=[];break;case lo.LocalsExpression:e.constant=!1,e.toWatch=[]}}function an(e){if(1==e.length){var t=e[0].expression,r=t.toWatch;return 1!==r.length?r:r[0]!==t?r:n}}function sn(e){return e.type===lo.Identifier||e.type===lo.MemberExpression}function un(e){return 1===e.body.length&&sn(e.body[0].expression)?{type:lo.AssignmentExpression,left:e.body[0].expression,right:{type:lo.NGValueParameter},operator:"="}:void 0}function ln(e){return 0===e.body.length||1===e.body.length&&(e.body[0].expression.type===lo.Literal||e.body[0].expression.type===lo.ArrayExpression||e.body[0].expression.type===lo.ObjectExpression)}function cn(e){return e.constant}function fn(e,t){this.astBuilder=e,this.$filter=t}function pn(e,t){this.astBuilder=e,this.$filter=t}function dn(e){return"constructor"==e}function hn(e){return S(e.valueOf)?e.valueOf():fo.call(e)}function mn(){var e=ve(),t=ve();this.$get=["$filter",function(r){function i(e,t){return null==e||null==t?e===t:"object"==typeof e&&(e=hn(e),"object"==typeof e)?!1:e===t||e!==e&&t!==t}function a(e,t,r,o,a){var s,u=o.inputs;if(1===u.length){var l=i;return u=u[0],e.$watch(function(e){var t=u(e);return i(t,l)||(s=o(e,n,n,[t]),l=t&&hn(t)),s},t,r,a)}for(var c=[],f=[],p=0,d=u.length;d>p;p++)c[p]=i,f[p]=null;return e.$watch(function(e){for(var t=!1,r=0,a=u.length;a>r;r++){var l=u[r](e);(t||(t=!i(l,c[r])))&&(f[r]=l,c[r]=l&&hn(l))}return t&&(s=o(e,n,n,f)),s},t,r,a)}function s(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 u(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 l(e,t,n,r){var i;return i=e.$watch(function(e){return i(),r(e)},t,n)}function c(e,t){if(!t)return e;var n=e.$$watchDelegate,r=!1,i=n!==u&&n!==s,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!==a?o.$$watchDelegate=e.$$watchDelegate:t.$stateful||(o.$$watchDelegate=a,r=!e.inputs,o.inputs=e.inputs?e.inputs:[e]),o}var f=Zr().noUnsafeEval,p={csp:f,expensiveChecks:!1},d={csp:f,expensiveChecks:!0};return function(n,i,o){var f,h,v;switch(typeof n){case"string":n=n.trim(),v=n;var g=o?t:e;if(f=g[v],!f){":"===n.charAt(0)&&":"===n.charAt(1)&&(h=!0,n=n.substring(2));var $=o?d:p,y=new uo($),b=new co(y,r,$);f=b.parse(n),f.constant?f.$$watchDelegate=l:h?f.$$watchDelegate=f.literal?u:s:f.inputs&&(f.$$watchDelegate=a),g[v]=f}return c(f,i);case"function":return c(n,i);default:return c(m,i)}}}]}function vn(){this.$get=["$rootScope","$exceptionHandler",function(e,t){return $n(function(t){e.$evalAsync(t)},t)}]}function gn(){this.$get=["$browser","$exceptionHandler",function(e,t){return $n(function(t){e.defer(t)},t)}]}function $n(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=Hr(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 x(e){function t(e){r.resolve(e)}function n(e){r.reject(e)}if(!S(e))throw p("norslvr","Expected resolverFn, got '{0}'",e);if(!(this instanceof x))return new x(e);var r=new l;return e(t,n),r.promise};return b.defer=d,b.reject=h,b.when=g,b.resolve=$,b.all=c,b}function yn(){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 bn(){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===Mr&&(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(){R(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)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)):(v++,a[n]=s,f++));if(v>t){f++;for(n in a)Tr.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?U(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?z(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: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),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=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 E=new d,k=E.$$asyncQueue=[],A=E.$$postDigestQueue=[],T=E.$$applyAsyncQueue=[];return E}]}function wn(){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 xn(e){if("self"===e)return e;if(C(e)){if(e.indexOf("***")>-1)throw po("iwcard","Illegal sequence *** in string matcher. String: {0}",e);return e=Gr(e).replace("\\*\\*",".*").replace("\\*","[^:/.?&;]*"),new RegExp("^"+e+"$")}if(A(e))return new RegExp("^"+e.source+"$");throw po("imatcher",'Matchers may only be "self", string patterns or RegExp objects')}function Cn(e){var t=[];return b(e)&&o(e,function(e){t.push(xn(e))}),t}function En(){this.SCE_CONTEXTS=ho;var e=["self"],t=[];this.resourceUrlWhitelist=function(t){return arguments.length&&(e=Cn(t)),e},this.resourceUrlBlacklist=function(e){return arguments.length&&(t=Cn(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 po("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 po("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===ho.RESOURCE_URL){if(i(t))return t;throw po("insecurl","Blocked loading resource from url not allowed by $sceDelegate policy. URL: {0}",t.toString())}if(e===ho.HTML)return l(t);throw po("unsafe","Attempting to use an unsafe value in a safe context.")}var l=function(e){throw po("unsafe","Attempting to use an unsafe value in a safe context.")};n.has("$sanitize")&&(l=n.get("$sanitize"));var c=o(),f={};return f[ho.HTML]=o(c),f[ho.CSS]=o(c),f[ho.URL]=o(c),f[ho.JS]=o(c),f[ho.RESOURCE_URL]=o(f[ho.URL]),{trustAs:a,getTrusted:u,valueOf:s}}]}function kn(){var e=!0;this.enabled=function(t){return arguments.length&&(e=!!t),e},this.$get=["$parse","$sceDelegate",function(t,n){if(e&&8>Mr)throw po("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=V(ho);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(ho,function(e,t){var n=Ar(t);r[xe("parse_as_"+n)]=function(t){return i(e,t)},r[xe("get_trusted_"+n)]=function(t){return a(e,t)},r[xe("trust_as_"+n)]=function(t){return s(e,t)}}),r}]}function Sn(){this.$get=["$window","$document",function(e,t){var n,r,i={},o=d((/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 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>=Mr)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 An(){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 Ri("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 Hr(l)?l=l.filter(function(e){return e!==Ct}):l===Ct&&(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 Tn(){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=Ur.element(e).data("$binding");r&&o(r,function(r){if(n){var o=new RegExp("(^|\\s)"+Gr(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 In(){this.$get=Nn}function jn(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",tr),t("filter",_n),t("json",nr),t("limitTo",rr),t("lowercase",Co),t("number",Vn),t("orderBy",ir),t("uppercase",Eo)}function _n(){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=Rn(t);switch(s){case"function":o=t;break;case"boolean":case"null":case"number":case"string":a=!0;case"object":o=Pn(t,n,a);break;default:return e}return Array.prototype.filter.call(e,o)}}function Pn(e,t,n){var r,i=w(e)&&"$"in e;return t===!0?t=U:S(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)?Ln(r,e.$,t,!1):Ln(r,e,t,n)}}function Ln(e,t,n,r,i){var o=Rn(e),a=Rn(t);if("string"===a&&"!"===t.charAt(0))return!Ln(e,t.substring(1),n,r);if(Hr(e))return e.some(function(e){return Ln(e,t,n,r)});switch(o){case"object":var s;if(r){for(s in e)if("$"!==s.charAt(0)&&Ln(e[s],t,n,!0))return!0;return i?!1:Ln(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(!Ln(c,u,n,l,l))return!1}}return!0}return n(e,t);case"function":return!1;default:return n(e,t)}}function Rn(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:Hn(e,t.PATTERNS[1],t.GROUP_SEP,t.DECIMAL_SEP,r).replace(/\u00A4/g,n)}}function Vn(e){var t=e.NUMBER_FORMATS;return function(e,n){return null==e?e:Hn(e,t.PATTERNS[0],t.GROUP_SEP,t.DECIMAL_SEP,n)}}function Un(e){var t,n,r,i,o,a=0;for((n=e.indexOf($o))>-1&&(e=e.replace($o,"")),(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)==yo;r++);if(r==(o=e.length))t=[0],n=1;else{for(o--;e.charAt(o)==yo;)o--;for(n-=r,t=[],i=0;o>=r;r++,i++)t[i]=+e.charAt(r)}return n>go&&(t=t.splice(0,go-1),a=n-1,n=1),{d:t,e:a,i:n}}function qn(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 Hn(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=Un(u),qn(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 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 Gn(e,t){return function(n,r){var i=n["get"+e](),o=Dr(t?"SHORT"+e:e);return r[o][i]}}function Zn(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 Qn(e){var t=new Date(e,0,1).getDay();return new Date(e,0,(4>=t?5:12)-t)}function Yn(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate()+(4-e.getDay()))}function Xn(e){return function(t){var n=Qn(t.getFullYear()),r=Yn(t),i=+r-+n,o=1+Math.round(i/6048e5);return Bn(o,e)}}function Jn(e,t){return e.getHours()<12?t.AMPMS[0]:t.AMPMS[1]}function Kn(e,t){return e.getFullYear()<=0?t.ERAS[0]:t.ERAS[1]}function er(e,t){return e.getFullYear()<=0?t.ERANAMES[0]:t.ERANAMES[1]}function tr(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=xo.test(n)?d(n):t(n)),E(n)&&(n=new Date(n)),!k(n)||!isFinite(n.getTime()))return n;for(;r;)s=wo.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=X(n,i,!0)),o(l,function(t){a=bo[t],u+=a?a(n,e.DATETIME_FORMATS,c):t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}}function nr(){return function(e,t){return y(t)&&(t=2),G(e,t)}}function rr(){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()),Hr(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 ir(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);Hr(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 or(e){return S(e)&&(e={link:e}),e.restrict=e.restrict||"AC",g(e)}function ar(e,t){e.$name=t}function sr(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){de(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)}),R(u,e),e.$$parentForm=Ao},xr({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&&(R(r,n),0===r.length&&delete e[t])},$animate:i}),s.$setDirty=function(){i.removeClass(e,la),i.addClass(e,ca),s.$dirty=!0,s.$pristine=!1,s.$$parentForm.$setDirty()},s.$setPristine=function(){i.setClass(e,la,ca+" "+To),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,To),s.$submitted=!0,s.$$parentForm.$setSubmitted()}}function ur(e){e.$formatters.push(function(t){return e.$isEmpty(t)?t:t.toString()})}function lr(e,t,n,r,i,o){cr(e,t,n,r,i,o),ur(r)}function cr(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=Wr(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 fr(e,t){if(k(e))return e;if(C(e)){Lo.lastIndex=0;var n=Lo.exec(e);if(n){var r=+n[1],i=+n[2],o=0,a=0,s=0,u=0,l=Qn(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(k(n))return n;if(C(n)){if('"'==n.charAt(0)&&'"'==n.charAt(n.length-1)&&(n=n.substring(1,n.length-1)),Mo.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 hr(e,t,r,i){var o=t[0],a=i.$$hasNativeValidators=w(o.validity);a&&i.$parsers.push(function(e){var r=t.prop(Sr)||{};return r.badInput||r.typeMismatch?n:e})}function mr(e,t,r,i,o,a){if(hr(e,t,r,i),cr(e,t,r,i,o,a),i.$$parserName="number",i.$parsers.push(function(e){return i.$isEmpty(e)?null:jo.test(e)?parseFloat(e):n}),i.$formatters.push(function(e){if(!i.$isEmpty(e)){if(!E(e))throw va("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 vr(e,t,n,r,i,o){cr(e,t,n,r,i,o),ur(r),r.$$parserName="url",r.$validators.url=function(e,t){var n=e||t;return r.$isEmpty(n)||No.test(n)}}function gr(e,t,n,r,i,o){cr(e,t,n,r,i,o),ur(r),r.$$parserName="email",r.$validators.email=function(e,t){var n=e||t;return r.$isEmpty(n)||Io.test(n)}}function $r(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 yr(e,t,n,r,i){var o;if(b(r)){if(o=e(r),!o.constant)throw va("constexpr","Expected constant expression for `{0}`, but saw `{1}`.",n,r);return o(t)}return i}function br(e,t,n,r,i,o,a,s){var u=yr(s,e,"ngTrueValue",n.ngTrueValue,!0),l=yr(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 U(e,u)}),r.$parsers.push(function(e){return e?u:l})}function wr(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(!U(e,h)){var r=i(h);p(r,n)}}else l(n)}h=V(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 xr(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(da,!0),s.$valid=s.$invalid=n,a("",null)):(o(da,!1),s.$valid=Cr(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),Cr(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?"-"+le(e,"-"):"",o(sa+e,t===!0),o(ua+e,t===!1)}var s=e.ctrl,u=e.$element,l={},c=e.set,f=e.unset,p=e.$animate;l[ua]=!(l[sa]=u.hasClass(sa)),s.$setValidity=t}function Cr(e){if(e)for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}function Er(e){e[0].hasAttribute("selected")&&(e[0].selected=!0)}var kr=/^\/(.+)\/([a-z]*)$/,Sr="validity",Ar=function(e){return C(e)?e.toLowerCase():e},Tr=Object.prototype.hasOwnProperty,Dr=function(e){return C(e)?e.toUpperCase():e},Or=function(e){return C(e)?e.replace(/[A-Z]/g,function(e){return String.fromCharCode(32|e.charCodeAt(0))}):e},Fr=function(e){return C(e)?e.replace(/[a-z]/g,function(e){return String.fromCharCode(-33&e.charCodeAt(0))}):e};"i"!=="I".toLowerCase()&&(Ar=Or,Dr=Fr);var Mr,Nr,Ir,jr,_r=[].slice,Pr=[].splice,Lr=[].push,Rr=Object.prototype.toString,zr=Object.getPrototypeOf,Vr=r("ng"),Ur=e.angular||(e.angular={}),qr=0;Mr=t.documentMode,m.$inject=[],v.$inject=[];var Hr=Array.isArray,Br=/^\[object (?:Uint8|Uint8Clamped|Uint16|Uint32|Int8|Int16|Int32|Float32|Float64)Array\]$/,Wr=function(e){return C(e)?e.trim():e},Gr=function(e){return e.replace(/([-()\[\]{}+?*.$\^|,:#n;++n)if(r=Yr[n],e=t.querySelector("["+r.replace(":","\\:")+"jq]")){i=e.getAttribute(r+"jq");break}return Qr.name_=i},Yr=["ng-","data-ng-","ng:","x-ng-"],Xr=/[A-Z]/g,Jr=!1,Kr=1,ei=2,ti=3,ni=8,ri=9,ii=11,oi={full:"1.5.0-rc.0",major:1,minor:5,dot:0,codeName:"oblong-panoptikum"};De.expando="ng339";var ai=De.cache={},si=1,ui=function(e,t,n){e.addEventListener(t,n,!1)},li=function(e,t,n){e.removeEventListener(t,n,!1)};De._data=function(e){return this.cache[e[this.expando]]||{}};var ci=/([\:\-\_]+(.))/g,fi=/^moz([A-Z])/,pi={mouseleave:"mouseout",mouseenter:"mouseover"},di=r("jqLite"),hi=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,mi=/<|&#?\w+;/,vi=/<([\w:-]+)/,gi=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,$i={option:[1,'"],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};$i.optgroup=$i.option,$i.tbody=$i.tfoot=$i.colgroup=$i.caption=$i.thead,$i.th=$i.td;var yi=Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))},bi=De.prototype={ready:function(n){function r(){i||(i=!0,n())}var i=!1;"complete"===t.readyState?setTimeout(r):(this.on("DOMContentLoaded",r),De(e).on("load",r))},toString:function(){var e=[];return o(this,function(t){e.push(""+t)}),"["+e.join(", ")+"]"},eq:function(e){return Nr(e>=0?this[e]:this[this.length+e])},length:0,push:Lr,sort:[].sort,splice:[].splice},wi={};o("multiple,selected,checked,disabled,readOnly,required,open".split(","),function(e){wi[Ar(e)]=e});var xi={};o("input,select,option,textarea,button,form,details".split(","),function(e){xi[e]=!0});var Ci={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern"};o({data:je,removeData:Ne,hasData:ke,cleanData:Se},function(e,t){De[t]=e}),o({data:je,inheritedData:Ve,scope:function(e){return Nr.data(e,"$scope")||Ve(e.parentNode||e,["$isolateScope","$scope"])},isolateScope:function(e){return Nr.data(e,"$isolateScope")||Nr.data(e,"$isolateScopeNoTemplate")},controller:ze,injector:function(e){return Ve(e,"$injector")},removeAttr:function(e,t){e.removeAttribute(t)},hasClass:_e,css:function(e,t,n){return t=xe(t),b(n)?void(e.style[t]=n):e.style[t]},attr:function(e,t,r){var i=e.nodeType;if(i!==ti&&i!==ei&&i!==ni){var o=Ar(t);if(wi[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===Kr||n===ti?e.textContent:""}e.textContent=t}return e.$dv="",e}(),val:function(e,t){if(y(t)){if(e.multiple&&"select"===L(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:Ue},function(e,t){De.prototype[t]=function(t,n){var r,i,o=this.length;if(e!==Ue&&y(2==e.length&&e!==_e&&e!==ze?t:n)){if(w(t)){for(r=0;o>r;r++)if(e===je)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:Ne,on:function(e,t,r,i){if(b(i))throw di("onargs","jqLite#on() does not support the `selector` or `eventData` parameters");if(Ee(e)){var o=Ie(e,!0),a=o.events,s=o.handle;s||(s=o.handle=Ge(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||ui(e,t,s)),o.push(r)};l--;)t=u[l],pi[t]?(c(pi[t],Qe),c(t,n,!0)):c(t)}},off:Me,one:function(e,t,n){e=Nr(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 De(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===Kr&&t.push(e)}),t},contents:function(e){return e.contentDocument||e.childNodes||[]},append:function(e,t){var n=e.nodeType;if(n===Kr||n===ii){t=new De(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===Kr){var n=e.firstChild;o(new De(t),function(t){e.insertBefore(t,n)})}},wrap:function(e,t){t=Nr(t).eq(0).clone()[0];var n=e.parentNode;n&&n.replaceChild(t,e),t.appendChild(e)},remove:qe,detach:function(e){qe(e,!0)},after:function(e,t){var n=e,r=e.parentNode;t=new De(t);for(var i=0,o=t.length;o>i;i++){var a=t[i];r.insertBefore(a,n.nextSibling),n=a}},addClass:Le,removeClass:Pe,toggleClass:function(e,t,n){t&&o(t.split(" "),function(t){var r=n;y(r)&&(r=!_e(e,t)),(r?Le:Pe)(e,t)})},parent:function(e){var t=e.parentNode;return t&&t.nodeType!==ii?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=Ie(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=V(c),a=n?[r].concat(n):[r],o(i,function(t){r.isImmediatePropagationStopped()||t.apply(e,a)}))}},function(e,t){De.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=Nr(i))):Re(i,e(this[o],t,n,r));return b(i)?i:this},De.prototype.bind=De.prototype.on,De.prototype.unbind=De.prototype.off}),Je.prototype={put:function(e,t){this[Xe(e,this.nextUid)]=t},get:function(e){return this[Xe(e,this.nextUid)]},remove:function(e){var t=this[e=Xe(e,this.nextUid)];return delete this[e],t}};var Ei=[function(){this.$get=[function(){return Je}]}],ki=/^([^\(]+?)=>/,Si=/^[^\(]*\(\s*([^\)]*)\)/m,Ai=/,/,Ti=/^\s*(_?)(\S+?)\1\s*$/,Di=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,Oi=r("$injector");nt.$$annotate=tt;var Fi=r("$animate"),Mi=1,Ni="ng-animate",Ii=function(){var e=new Je,t=[];this.$get=["$$AnimateRunner","$rootScope",function(n,r){function i(e,t,n){var r=!1;return t&&(t=C(t)?t.split(" "):Hr(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=at(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&&Le(e,i),a&&Pe(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}}}]},ji=["$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+|\\/)"+Ni+"(\\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.',Ni)}return this.$$classNameFilter},this.$get=["$$animateQueue",function(e){function t(e,t,n){if(n){var r=ot(n);!r||r.parentNode||r.previousElementSibling||(n=null)}n?n.after(e):t.prepend(e)}return{on:e.on,off:e.off,pin:e.pin,enabled:e.enabled,cancel:function(e){e.end&&e.end()},enter:function(n,r,i,o){return r=r&&Nr(r),i=i&&Nr(i),r=r||i.parent(),t(n,r,i),e.push(n,"enter",st(o))},move:function(n,r,i,o){return r=r&&Nr(r),i=i&&Nr(i),r=r||i.parent(),t(n,r,i),e.push(n,"move",st(o))},leave:function(t,n){return e.push(t,"leave",st(n),function(){t.remove()})},addClass:function(t,n,r){return r=st(r),r.addClass=it(r.addclass,n),e.push(t,"addClass",r)},removeClass:function(t,n,r){return r=st(r),r.removeClass=it(r.removeClass,n),e.push(t,"removeClass",r)},setClass:function(t,n,r,i){return i=st(i),i.addClass=it(i.addClass,n),i.removeClass=it(i.removeClass,r),e.push(t,"setClass",i)},animate:function(t,n,r,i,o){return o=st(o),o.from=o.from?f(o.from,n):n,o.to=o.to?f(o.to,r):r,i=i||"ng-inline-animate",o.tempClasses=it(o.tempClasses,i),e.push(t,"animate",o)}}}]}],_i=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){ao[e]=!0});var so={n:"\n",f:"\f",r:"\r",t:" ",v:" ","'":"'",'"':'"'},uo=function(e){this.options=e};uo.prototype={constructor:uo,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||" "===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 no("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:lo.Program,body:e}},expressionStatement:function(){return{type:lo.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:lo.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:lo.ConditionalExpression,test:n,alternate:e,consequent:t}):n},logicalOR:function(){for(var e=this.logicalAND();this.expect("||");)e={type:lo.LogicalExpression,operator:"||",left:e,right:this.logicalAND()};return e},logicalAND:function(){for(var e=this.equality();this.expect("&&");)e={type:lo.LogicalExpression,operator:"&&",left:e,right:this.equality()};return e},equality:function(){for(var e,t=this.relational();e=this.expect("==","!=","===","!==");)t={type:lo.BinaryExpression,operator:e.text,left:t,right:this.relational()};return t},relational:function(){for(var e,t=this.additive();e=this.expect("<",">","<=",">=");)t={type:lo.BinaryExpression,operator:e.text,left:t,right:this.additive()};return t},additive:function(){for(var e,t=this.multiplicative();e=this.expect("+","-");)t={type:lo.BinaryExpression,operator:e.text,left:t,right:this.multiplicative()};return t},multiplicative:function(){for(var e,t=this.unary();e=this.expect("*","/","%");)t={type:lo.BinaryExpression,operator:e.text,left:t,right:this.unary()};return t},unary:function(){var e;return(e=this.expect("+","-","!"))?{type:lo.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=z(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:lo.CallExpression,callee:e,arguments:this.parseArguments()},this.consume(")")):"["===t.text?(e={type:lo.MemberExpression,object:e,property:this.expression(),computed:!0},this.consume("]")):"."===t.text?e={type:lo.MemberExpression,object:e,property:this.identifier(),computed:!1}:this.throwError("IMPOSSIBLE");return e},filter:function(e){for(var t=[e],n={type:lo.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:lo.Identifier,name:e.text}},constant:function(){return{type:lo.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:lo.ArrayExpression,elements:e}},object:function(){var e,t=[];if("}"!==this.peekToken().text)do{if(this.peek("}"))break;e={type:lo.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:lo.ObjectExpression,properties:t}},throwError:function(e,t){throw no("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 no("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 no("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:lo.Literal,value:!0},"false":{type:lo.Literal,value:!1},"null":{type:lo.Literal,value:null},undefined:{type:lo.Literal,value:n},"this":{type:lo.ThisExpression},$locals:{type:lo.LocalsExpression}}},fn.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:[]},on(i,r.$filter);var a,s="";if(this.stage="assign",a=un(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=an(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,Yt,Jt,Kt,Xt,en,tn,nn,e);return this.state=this.stage=n,f.literal=ln(i),f.constant=cn(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 lo.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 lo.Literal:f=this.escape(e.value),this.assign(t,f),i(f);break;case lo.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 lo.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 lo.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 lo.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 lo.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),Yt(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||dn(e.name))&&p.addEnsureSafeObject(t),i(t);break;case lo.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)):(Yt(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||dn(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 lo.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 lo.AssignmentExpression:if(l=this.nextId(),u={},!sn(e.left))throw no("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 lo.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 lo.ObjectExpression:c=[],o(e.properties,function(e){p.recurse(e.value,p.nextId(),n,function(t){c.push(p.escape(e.key.type===lo.Identifier?e.key.name:""+e.key.value)+":"+t)})}),f="{"+c.join(",")+"}",this.assign(t,f),i(f);break;case lo.ThisExpression:this.assign(t,"s"),i("s");break;case lo.LocalsExpression:this.assign(t,"l"), +i("l");break;case lo.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+",text)")},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 no("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,on(r,n.$filter);var i,a;(i=un(r))&&(a=this.recurse(i));var s,u=an(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=ln(r),c.constant=cn(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 lo.Literal:return this.value(e.value,t);case lo.UnaryExpression:return a=this.recurse(e.argument),this["unary"+e.operator](a,t);case lo.BinaryExpression:return i=this.recurse(e.left),a=this.recurse(e.right),this["binary"+e.operator](i,a,t);case lo.LogicalExpression:return i=this.recurse(e.left),a=this.recurse(e.right),this["binary"+e.operator](i,a,t);case lo.ConditionalExpression:return this["ternary?:"](this.recurse(e.test),this.recurse(e.alternate),this.recurse(e.consequent),t);case lo.Identifier:return Yt(e.name,u.expression),u.identifier(e.name,u.expensiveChecks||dn(e.name),t,r,u.expression);case lo.MemberExpression:return i=this.recurse(e.object,!1,!!r),e.computed||(Yt(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 lo.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&&Jt(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=Xt(l),Yt(l,i),r&&1!==r&&(en(f),f&&!f[l]&&(f[l]={})),c=f[l],Jt(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&&(en(f),f&&!f[t]&&(f[t]={}));var p=null!=f?f[t]:n;return(r||dn(t))&&Jt(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 co=function(e,t,n){this.lexer=e,this.$filter=t,this.options=n,this.ast=new lo(this.lexer),this.astCompiler=n.csp?new pn(this.ast,t):new fn(this.ast,t)};co.prototype={constructor:co,parse:function(e){return this.astCompiler.compile(e,this.options.expensiveChecks)}};var fo=(ve(),ve(),Object.prototype.valueOf),po=r("$sce"),ho={HTML:"html",CSS:"css",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},Ri=r("$compile"),mo=t.createElement("a"),vo=On(e.location.href);Nn.$inject=["$document"],jn.$inject=["$provide"];var go=22,$o=".",yo="0";zn.$inject=["$locale"],Vn.$inject=["$locale"];var bo={yyyy:Wn("FullYear",4),yy:Wn("FullYear",2,0,!0),y:Wn("FullYear",1),MMMM:Gn("Month"),MMM:Gn("Month",!0),MM:Wn("Month",2,1),M:Wn("Month",1,1),dd:Wn("Date",2),d:Wn("Date",1),HH:Wn("Hours",2),H:Wn("Hours",1),hh:Wn("Hours",2,-12),h:Wn("Hours",1,-12),mm:Wn("Minutes",2),m:Wn("Minutes",1),ss:Wn("Seconds",2),s:Wn("Seconds",1),sss:Wn("Milliseconds",3),EEEE:Gn("Day"),EEE:Gn("Day",!0),a:Jn,Z:Zn,ww:Xn(2),w:Xn(1),G:Kn,GG:Kn,GGG:Kn,GGGG:er},wo=/((?:[^yMdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|d+|H+|h+|m+|s+|a|Z|G+|w+))(.*)/,xo=/^\-?\d+$/;tr.$inject=["$locale"];var Co=g(Ar),Eo=g(Dr);ir.$inject=["$parse"];var ko=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]"===Rr.call(t.prop("href"))?"xlink:href":"href";t.on("click",function(e){t.attr(n)||e.preventDefault()})}}}}),So={};o(wi,function(e,t){function n(e,n,i){e.$watch(i[r],function(e){i.$set(t,!!e)})}if("multiple"!=e){var r=dt("ng-"+t),i=n;"checked"===e&&(i=function(e,t,i){i.ngModel!==i[r]&&n(e,t,i)}),So[r]=function(){return{restrict:"A",priority:100,link:i}}}}),o(Ci,function(e,t){So[t]=function(){return{priority:100,link:function(e,n,r){if("ngPattern"===t&&"/"==r.ngPattern.charAt(0)){var i=r.ngPattern.match(kr);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=dt("ng-"+e);So[t]=function(){return{priority:99,link:function(n,r,i){var o=e,a=e;"href"===e&&"[object SVGAnimatedString]"===Rr.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(Mr&&o&&r.prop(o,i[a]))):void("href"===e&&i.$set(a,null))})}}}});var Ao={$addControl:m,$$renameControl:ar,$removeControl:m,$setValidity:m,$setDirty:m,$setPristine:m,$setSubmitted:m},To="ng-submitted";sr.$inject=["$element","$attrs","$scope","$animate","$interpolate"];var Do=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:sr,compile:function(r,o){r.addClass(la).addClass(sa);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()};ui(r[0],"submit",l),r.on("$destroy",function(){t(function(){li(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,Ao)})}}}};return o}]},Oo=Do(),Fo=Do(!0),Mo=/\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z)/,No=/^[A-Za-z][A-Za-z\d.+-]*:\/*(?:\w+(?::\w+)?@)?[^\s\/]+(?::\d+)?(?:\/[\w#!:.?+=&%@\-\/[\]$'()*,;~]*)?$/,Io=/^[a-z0-9!#$%&'*+\/=?^_`{|}~.-]+@[a-z0-9]([a-z0-9-]*[a-z0-9])?(\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*$/i,jo=/^\s*(\-|\+)?(\d+|(\d*(\.\d*)))([eE][+-]?\d+)?\s*$/,_o=/^(\d{4})-(\d{2})-(\d{2})$/,Po=/^(\d{4})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,Lo=/^(\d{4})-W(\d\d)$/,Ro=/^(\d{4})-(\d\d)$/,zo=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,Vo={text:lr,date:dr("date",_o,pr(_o,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":dr("datetimelocal",Po,pr(Po,["yyyy","MM","dd","HH","mm","ss","sss"]),"yyyy-MM-ddTHH:mm:ss.sss"),time:dr("time",zo,pr(zo,["HH","mm","ss","sss"]),"HH:mm:ss.sss"),week:dr("week",Lo,fr,"yyyy-Www"),month:dr("month",Ro,pr(Ro,["yyyy","MM"]),"yyyy-MM"),number:mr,url:vr,email:gr,radio:$r,checkbox:br,hidden:m,button:m,submit:m,reset:m,file:m},Uo=["$browser","$sniffer","$filter","$parse",function(e,t,n,r){return{restrict:"E",require:["?ngModel"],link:{pre:function(i,o,a,s){s[0]&&(Vo[Ar(a.type)]||Vo.text)(i,o,a,s[0],t,e,n,r)}}}}],qo=/^(true|false|\d+)$/,Ho=function(){return{restrict:"A",priority:100,compile:function(e,t){return qo.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)})}}}},Bo=["$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})}}}}],Wo=["$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})}}}}],Go=["$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))||"")})}}}}],Zo=g({restrict:"A",require:"ngModel",link:function(e,t,n,r){r.$viewChangeListeners.push(function(){e.$eval(n.ngChange)})}}),Qo=wr("",!0),Yo=wr("Odd",0),Xo=wr("Even",1),Jo=or({compile:function(e,t){t.$set("ngCloak",n),e.removeClass("ng-cloak")}}),Ko=[function(){return{restrict:"A",scope:!0,controller:"@",priority:500}}],ea={},ta={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=dt("ng-"+e);ea[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})};ta[e]&&r.$$phase?t.$evalAsync(i):t.$apply(i)})}}}}]});var na=["$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=me(s.clone),e.leave(l).then(function(){l=null}),s=null))})}}}],ra=["$templateRequest","$anchorScroll","$animate",function(e,t,n){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:Ur.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(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(){p===h&&(m(),r.$emit("$includeContentError",o))}),r.$emit("$includeContentRequested",o)):(m(),l.template=null)})}}}}],ia=["$compile",function(e){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(n,r,i,o){return/SVG/.test(r[0].toString())?(r.empty(),void e(Ae(o.template,t).childNodes)(n,function(e){r.append(e)},{futureParentElement:r})):(r.html(o.template),void e(r.contents())(n))}}}],oa=or({priority:450,compile:function(){return{pre:function(e,t,n){e.$eval(n.ngInit)}}}}),aa=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?Wr(a):a,l=function(e){if(!y(e)){var t=[];return e&&o(e.split(u),function(e){e&&t.push(s?Wr(e):e)}),t}};i.$parsers.push(l),i.$formatters.push(function(e){return Hr(e)?e.join(a):n}),i.$isEmpty=function(e){return!e||!e.length}}}},sa="ng-valid",ua="ng-invalid",la="ng-pristine",ca="ng-dirty",fa="ng-untouched",pa="ng-touched",da="ng-pending",ha="ng-empty",ma="ng-not-empty",va=r("ngModel"),ga=["$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 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 va("nonassign","Expression '{0}' is non-assignable. Element: {1}",r.ngModel,J(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,ma),s.addClass(i,ha)):(s.removeClass(i,ha),s.addClass(i,ma))};var x=0;xr({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,ca),s.addClass(i,la)},this.$setDirty=function(){w.$dirty=!0,w.$pristine=!1,s.removeClass(i,la),s.addClass(i,ca),w.$$parentForm.$setDirty()},this.$setUntouched=function(){w.$touched=!1,w.$untouched=!0,s.setClass(i,fa,pa)},this.$setTouched=function(){w.$touched=!0,w.$untouched=!1,s.setClass(i,pa,fa)},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 va("$asyncValidators","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?Ur.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,qe(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===ni||""===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?U(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=Nr(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 Hr(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=Nr(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}}}],ka=["$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=Ur.noop;o(u,function(e,t){var n=i.exec(t);if(n){var r=(n[1]?"-":"")+Ar(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}})}}}],Sa=["$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:Xe};return y?x=e(y):(E=function(e,t){return Xe(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=ve();e.$watchCollection(g,function(r){var p,g,y,x,S,A,T,D,O,F,M,N,I=t[0],j=ve();if($&&(e[$]=r),i(r))O=r,D=C||E;else{D=C||k,O=[];for(var _ in r)Tr.call(r,_)&&"$"!==_.charAt(0)&&O.push(_)}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 P in v){if(F=v[P],N=me(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(me(F.clone),null,Nr(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,Nr(I)),I=n,F.clone=e,j[F.id]=F,l(F.scope,p,b,A,w,S,x)});v=j})}}}}],Aa="ng-hide",Ta="ng-hide-animate",Da=["$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:Ta})})}}}],Oa=["$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:Ta})})}}}],Fa=or(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)}),Ma=["$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=me(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)})})})}}}],Na=or({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})}}),Ia=or({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})}}),ja=r("ngTransclude"),_a=or({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 ja("orphan","Illegal use of ngTransclude directive in the template! No parent directive that requires a transclusion found. Element: {0}",J(t));var a=n.ngTransclude||n.ngTranscludeSlot;i(o,null,a)}}),Pa=["$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)}}}}],La={$setViewValue:m,$render:m},Ra=["$element","$scope","$attrs",function(e,r,i){var o=this,a=new Je;o.ngModelCtrl=La,o.unknownOption=Nr(t.createElement("option")),o.renderUnknownOption=function(t){var n="? "+Xe(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){de(e,'"option value"'),""===e&&(o.emptyOption=t);var n=a.get(e)||0;a.put(e,n+1),o.ngModelCtrl.$render(),Er(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()})}}],za=function(){function e(e,t,n,r){var i=r[1];if(i){var a=r[0];if(a.ngModelCtrl=i,i.$render=function(){a.writeValue(i.$viewValue)},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 Je(e);o(t.find("option"),function(e){e.selected=b(n.get(e.value))})};var s,u=NaN;e.$watch(function(){u!==i.$viewValue||U(s,i.$viewValue)||(s=V(i.$viewValue),i.$render()),u=i.$viewValue}),i.$isEmpty=function(e){return!e||0===e.length}}}}return{restrict:"E",require:["select","?ngModel"],controller:Ra,priority:1,link:{pre:e}}},Va=["$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)}}}}],Ua=g({restrict:"E",terminal:!1}),qa=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()}))}}},Ha=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,J(t));a=e||n,o.$validate()}),o.$validators.pattern=function(e,t){return o.$isEmpty(t)||y(a)||a.test(t)}}}}},Ba=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}}}}},Wa=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."):(ce(),be(Ur),Ur.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",pluralCat:function(e,t){var n=0|e,o=r(e,t);return 1==n&&0==o.v?i.ONE:i.OTHER}})}]),void Nr(t).ready(function(){oe(t,ae)}))}(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"!==(_=d.toLowerCase())&&"radio"!==_||f.checked)&&o.append(p,f.value);for(c=F=0,P=e.length-1;P>=0?P>=F:F>=P;c=P>=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},_=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},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=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"}},Z=["flash-unavailable","flash-degraded","flash-overdue","version-mismatch","config-mismatch","clipboard-error"],Q=["flash-disabled","flash-outdated","flash-sandboxed","flash-unavailable","flash-degraded","flash-deactivated","flash-overdue"],Y=new RegExp("^flash-("+Q.map(function(e){return e.replace(/^flash-/,"")}).join("|")+")$"),X=new RegExp("^flash-("+Q.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:Ze.version,config:Ze.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]&&Ze.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&&Ze.emit({type:"ready"}),s.error){for(i=0,o=Q.length;o>i;i++)if(z[Q[i].replace(/^flash-/,"")]===!0){Ze.emit({type:"error",name:Q[i]});break}r!==n&&Ze.version!==r&&Ze.emit({type:"error",name:"version-mismatch",jsVersion:Ze.version,swfVersion:r})}}return Ze},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]&&Ze.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 Ze},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?Ze.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,Ze.emit({type:"error",name:"flash-sandboxed"});else if(!Ze.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&&Ze.emit({type:"error",name:"flash-deactivated"})},t)),z.overdue=!1,Te()}},se=function(){Ze.clearData(),Ze.blur(),Ze.emit("destroy"),De(),Ze.off()},ue=function(e,t){var n;if("object"==typeof e&&e&&"undefined"==typeof t)n=e,Ze.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,Pe(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&&(Y.test(e.name)&&A(e,{target:null,minimumVersion:V}),X.test(e.name)&&A(e,{version:z.version})),"copy"===e.type&&(e.clipboardData={setData:Ze.setData,clearData:Ze.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!==Z.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!==Q.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),Ze.clearData(),t&&t!==_e()&&t.focus&&t.focus();break;case"_mouseover":Ze.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":Ze.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":Pe(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(){Ze.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,Ze.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:Ze.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=Ze,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"}}(),_e=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=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 Ze=function(){return this instanceof Ze?void("function"==typeof Ze._createClient&&Ze._createClient.apply(this,S(arguments))):new Ze};x(Ze,"version",{value:"2.2.0",writable:!1,configurable:!0,enumerable:!0}),Ze.config=function(){return K.apply(this,S(arguments))},Ze.state=function(){return ee.apply(this,S(arguments))},Ze.isFlashUnusable=function(){return te.apply(this,S(arguments))},Ze.on=function(){return ne.apply(this,S(arguments))},Ze.off=function(){return re.apply(this,S(arguments))},Ze.handlers=function(){return ie.apply(this,S(arguments))},Ze.emit=function(){return oe.apply(this,S(arguments))},Ze.create=function(){return ae.apply(this,S(arguments))},Ze.destroy=function(){return se.apply(this,S(arguments))},Ze.setData=function(){return ue.apply(this,S(arguments))},Ze.clearData=function(){return le.apply(this,S(arguments))},Ze.getData=function(){return ce.apply(this,S(arguments))},Ze.focus=Ze.activate=function(){return fe.apply(this,S(arguments))},Ze.blur=Ze.deactivate=function(){return pe.apply(this,S(arguments))},Ze.activeElement=function(){return de.apply(this,S(arguments))};var Qe=0,Ye={},Xe=0,Je={},Ke={};A(J,{autoActivate:!0});var et=function(e){var t=this;t.id=""+Qe++,Ye[t.id]={instance:t,elements:[],handlers:{}},e&&t.clip(e),Ze.on("*",function(e){return t.emit(e)}),Ze.on("destroy",function(){t.destroy()}),Ze.create()},tt=function(e,t){var i,o,a,s={},u=Ye[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=Q.length;o>i;i++)if(z[Q[i].replace(/^flash-/,"")]){this.emit({type:"error",name:Q[i],client:this});break}r!==n&&Ze.version!==r&&this.emit({type:"error",name:"version-mismatch",jsVersion:Ze.version,swfVersion:r})}}return this},nt=function(e,t){var n,r,i,o,a,s=Ye[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=Ye[this.id]&&Ye[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(!Ye[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=Ye[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),Ze.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]}}};Ze._createClient=function(){et.apply(this,S(arguments))},Ze.prototype.on=function(){return tt.apply(this,S(arguments))},Ze.prototype.off=function(){return nt.apply(this,S(arguments))},Ze.prototype.handlers=function(){return rt.apply(this,S(arguments))},Ze.prototype.emit=function(){return it.apply(this,S(arguments))},Ze.prototype.clip=function(){return ot.apply(this,S(arguments))},Ze.prototype.unclip=function(){return at.apply(this,S(arguments))},Ze.prototype.elements=function(){return st.apply(this,S(arguments))},Ze.prototype.destroy=function(){return ut.apply(this,S(arguments))},Ze.prototype.setText=function(e){if(!Ye[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ze.setData("text/plain",e),this},Ze.prototype.setHtml=function(e){if(!Ye[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ze.setData("text/html",e),this},Ze.prototype.setRichText=function(e){if(!Ye[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ze.setData("application/rtf",e),this},Ze.prototype.setData=function(){if(!Ye[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ze.setData.apply(this,S(arguments)),this},Ze.prototype.clearData=function(){if(!Ye[this.id])throw new Error("Attempted to clear pending clipboard data from a destroyed ZeroClipboard client instance");return Ze.clearData.apply(this,S(arguments)),this},Ze.prototype.getData=function(){if(!Ye[this.id])throw new Error("Attempted to get pending clipboard data from a destroyed ZeroClipboard client instance");return Ze.getData.apply(this,S(arguments))},"function"==typeof define&&define.amd?define(function(){return Ze}):"object"==typeof t&&t&&"object"==typeof t.exports&&t.exports?t.exports=Ze:e.ZeroClipboard=Ze}(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(e){e.controller("ImageManagerController",["$scope","$attrs","$http","$timeout","imageManagerService",function(e,t,n,r,i){function o(t){f&&f(t),e.showing=!1}function a(t){f=t,e.showing=!0,c||(s(),c=!0)}function s(){var t="/images/"+e.imageType+"/all/"+u;n.get(t).then(function(t){e.images=e.images.concat(t.data.images),e.hasMore=t.data.hasMore,u++})}e.images=[],e.imageType=t.imageType,e.selectedImage=!1,e.dependantPages=!1,e.showing=!1,e.hasMore=!1,e.imageUpdateSuccess=!1,e.imageDeleteSuccess=!1;var u=0,l=0,c=!1,f=!1;e.getUploadUrl=function(){return"/images/"+e.imageType+"/upload"},e.uploadSuccess=function(t,n){e.$apply(function(){e.images.unshift(n)})},e.imageSelect=function(t){var n=300,r=Date.now(),i=r-l;n>i?o(t):(e.selectedImage=t,e.dependantPages=!1),l=r},e.selectButtonClick=function(){o(e.selectedImage)},i.show=a,i.showExternal=function(t){e.$apply(function(){a(t)})},window.ImageManager=i,e.hide=function(){e.showing=!1},e.saveImageDetails=function(t){t.preventDefault();var i="/images/update/"+e.selectedImage.id;n.put(i,this.selectedImage).then(function(t){e.imageUpdateSuccess=!0,r(function(){e.imageUpdateSuccess=!1},3e3)},function(t){var n=t.data,i="";Object.keys(n).forEach(function(e){i+=n[e].join("\n")}),e.imageUpdateFailure=i,r(function(){e.imageUpdateFailure=!1},5e3)})},e.deleteImage=function(t){t.preventDefault();var i=e.dependantPages!==!1,o="/images/"+e.selectedImage.id;i&&(o+="?force=true"),n["delete"](o).then(function(t){e.images.splice(e.images.indexOf(e.selectedImage),1),e.selectedImage=!1,e.imageDeleteSuccess=!0,r(function(){e.imageDeleteSuccess=!1},3e3)},function(t){400===t.status&&(e.dependantPages=t.data)})}}]),e.controller("BookShowController",["$scope","$http","$attrs",function(e,t,n){e.searching=!1,e.searchTerm="",e.searchResults="",e.searchBook=function(r){r.preventDefault();var i=e.searchTerm;if(0!=i.length){e.searching=!0,e.searchResults="";var o="/search/book/"+n.bookId;o+="?term="+encodeURIComponent(i),t.get(o).then(function(t){e.searchResults=t.data})}},e.checkSearchForm=function(){e.searchTerm.length<1&&(e.searching=!1)},e.clearSearch=function(){e.searching=!1,e.searchTerm=""}}])}},{}],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){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||"",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:"="},link:function(e,t,n){new r(t[0].querySelector(".dropzone-container"),{url:e.uploadUrl,init:function(){var t=this;t.on("sending",function(e,t,n){var r=window.document.querySelector("meta[name=token]").getAttribute("content");n.append("_token",r)}),"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")})})}}}])}},{"./components/drop-zone.html":11,"./components/image-picker.html":12,"./components/toggle-switch.html":13,dropzone:9}],16:[function(e,t,n){"use strict";function r(e){return null!==document.querySelector(e)}var i=e("angular"),o=(e("angular-resource"),e("angular-animate"),e("angular-sanitize"),i.module("bookStack",["ngResource","ngAnimate","ngSanitize"]));e("./services")(o),e("./directives")(o),e("./controllers")(o);if(jQuery.fn.smoothScrollTo=function(){return 0!==this.length?($("body").animate({scrollTop:this.offset().top-60},800),this):void 0},$.expr[":"].contains=$.expr.createPseudo(function(e){return function(t){return $(t).text().toUpperCase().indexOf(e.toUpperCase())>=0}}),$(function(){$(".notification").click(function(){$(this).fadeOut(100)}),$(".chapter-toggle").click(function(e){e.preventDefault(),$(this).toggleClass("open"),$(this).closest(".chapter").find(".inset-list").slideToggle(180)})}),r("#html-editor")){var a=e("./pages/page-form");tinymce.init(a)}e("./pages/page-show")},{"./controllers":14,"./directives":15,"./pages/page-form":17,"./pages/page-show":18,"./services":19,angular:8,"angular-animate":2,"angular-resource":4,"angular-sanitize":6}],17:[function(e,t,n){"use strict";t.exports={selector:"#html-editor",content_css:["/css/styles.css"],body_class:"page-content",relative_urls:!1,statusbar:!1,menubar:!1,paste_data_images:!1,extended_valid_elements:"pre[*]",automatic_uploads:!1,valid_children:"-div[p|pre|h1|h2|h3|h4|h5|h6|blockquote]",plugins:"image table textcolor paste link fullscreen imagetools code hr autosave",imagetools_toolbar:"imageoptions",toolbar:"undo redo | styleselect | bold italic underline strikethrough superscript subscript | forecolor backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | table image-insert link hr | removeformat code fullscreen",content_style:"body {padding-left: 15px !important; padding-right: 15px !important; margin:0!important; margin-left:auto!important;margin-right:auto!important;}",style_formats:[{title:"Header 1",format:"h1"},{title:"Header 2",format:"h2"},{title:"Header 3",format:"h3"},{title:"Paragraph",format:"p"},{title:"Blockquote",format:"blockquote"},{title:"Code Block",icon:"code",format:"pre"},{title:"Inline Code",icon:"code",inline:"code"}],formats:{alignleft:{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img",classes:"align-left"},aligncenter:{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img",classes:"align-center"},alignright:{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img",classes:"align-right"}},file_browser_callback:function(e,t,n,r){ImageManager.show(function(t){if(r.document.getElementById(e).value=t.url,"createEvent"in document){var n=document.createEvent("HTMLEvents");n.initEvent("change",!1,!0),r.document.getElementById(e).dispatchEvent(n)}else r.document.getElementById(e).fireEvent("onchange")})},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()}var n=$("#pointer").detach(),i=n.children("div.pointer").first(),o=!1;if(n.on("click","input",function(e){$(this).select(),e.stopPropagation()}),new r(n.find("button").first()[0]),$(document.body).find("*").on("click focus",function(e){o||n.detach()}),$('.page-content [id^="bkmrk"]').on("mouseup keyup",function(t){var r=window.getSelection();if(0!==r.toString().length){var a=$(this),s=window.location.protocol+"//"+window.location.host+"/link/"+e+"#"+a.attr("id");n.find("input").val(s),n.find("button").first().attr("data-clipboard-text",s),a.before(n),n.show();var u=t.pageX-a.offset().left-i.width()/2;0>u&&(u=0);var l=u/a.width()*100;i.css("left",l+"%"),t.stopPropagation(),o=!0,setTimeout(function(){o=!1},100)}}),window.location.hash){var a=window.location.hash.replace(/\%20/g," ").substr(1);t(a)}}},{zeroclipboard:10}],19:[function(e,t,n){"use strict";t.exports=function(e){e.factory("imageManagerService",function(){return{show:!1,showExternal:!1}})}},{}]},{},[16]); \ No newline at end of file From 1d2b6fdfa20672e42910f9b61ea9d734da0f6309 Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Sat, 2 Jan 2016 14:50:59 +0000 Subject: [PATCH 06/54] Add updated assets --- public/build/manifest.json | 6 +++--- public/js/common.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/public/build/manifest.json b/public/build/manifest.json index fb645917e90..f85d1a68eb5 100644 --- a/public/build/manifest.json +++ b/public/build/manifest.json @@ -1,5 +1,5 @@ { - "css/styles.css": "css/styles.css?version=9100af6", - "css/print-styles.css": "css/print-styles.css?version=9100af6", - "js/common.js": "js/common.js?version=9100af6" + "css/styles.css": "css/styles.css?version=2d0edbb", + "css/print-styles.css": "css/print-styles.css?version=2d0edbb", + "js/common.js": "js/common.js?version=2d0edbb" } \ No newline at end of file diff --git a/public/js/common.js b/public/js/common.js index 0752f62980c..45ffbfe77ae 100644 --- a/public/js/common.js +++ b/public/js/common.js @@ -6,4 +6,4 @@ e.toWatch=e.left.toWatch.concat(e.right.toWatch);break;case lo.LogicalExpression i("l");break;case lo.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+",text)")},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 no("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,on(r,n.$filter);var i,a;(i=un(r))&&(a=this.recurse(i));var s,u=an(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=ln(r),c.constant=cn(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 lo.Literal:return this.value(e.value,t);case lo.UnaryExpression:return a=this.recurse(e.argument),this["unary"+e.operator](a,t);case lo.BinaryExpression:return i=this.recurse(e.left),a=this.recurse(e.right),this["binary"+e.operator](i,a,t);case lo.LogicalExpression:return i=this.recurse(e.left),a=this.recurse(e.right),this["binary"+e.operator](i,a,t);case lo.ConditionalExpression:return this["ternary?:"](this.recurse(e.test),this.recurse(e.alternate),this.recurse(e.consequent),t);case lo.Identifier:return Yt(e.name,u.expression),u.identifier(e.name,u.expensiveChecks||dn(e.name),t,r,u.expression);case lo.MemberExpression:return i=this.recurse(e.object,!1,!!r),e.computed||(Yt(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 lo.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&&Jt(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=Xt(l),Yt(l,i),r&&1!==r&&(en(f),f&&!f[l]&&(f[l]={})),c=f[l],Jt(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&&(en(f),f&&!f[t]&&(f[t]={}));var p=null!=f?f[t]:n;return(r||dn(t))&&Jt(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 co=function(e,t,n){this.lexer=e,this.$filter=t,this.options=n,this.ast=new lo(this.lexer),this.astCompiler=n.csp?new pn(this.ast,t):new fn(this.ast,t)};co.prototype={constructor:co,parse:function(e){return this.astCompiler.compile(e,this.options.expensiveChecks)}};var fo=(ve(),ve(),Object.prototype.valueOf),po=r("$sce"),ho={HTML:"html",CSS:"css",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},Ri=r("$compile"),mo=t.createElement("a"),vo=On(e.location.href);Nn.$inject=["$document"],jn.$inject=["$provide"];var go=22,$o=".",yo="0";zn.$inject=["$locale"],Vn.$inject=["$locale"];var bo={yyyy:Wn("FullYear",4),yy:Wn("FullYear",2,0,!0),y:Wn("FullYear",1),MMMM:Gn("Month"),MMM:Gn("Month",!0),MM:Wn("Month",2,1),M:Wn("Month",1,1),dd:Wn("Date",2),d:Wn("Date",1),HH:Wn("Hours",2),H:Wn("Hours",1),hh:Wn("Hours",2,-12),h:Wn("Hours",1,-12),mm:Wn("Minutes",2),m:Wn("Minutes",1),ss:Wn("Seconds",2),s:Wn("Seconds",1),sss:Wn("Milliseconds",3),EEEE:Gn("Day"),EEE:Gn("Day",!0),a:Jn,Z:Zn,ww:Xn(2),w:Xn(1),G:Kn,GG:Kn,GGG:Kn,GGGG:er},wo=/((?:[^yMdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|d+|H+|h+|m+|s+|a|Z|G+|w+))(.*)/,xo=/^\-?\d+$/;tr.$inject=["$locale"];var Co=g(Ar),Eo=g(Dr);ir.$inject=["$parse"];var ko=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]"===Rr.call(t.prop("href"))?"xlink:href":"href";t.on("click",function(e){t.attr(n)||e.preventDefault()})}}}}),So={};o(wi,function(e,t){function n(e,n,i){e.$watch(i[r],function(e){i.$set(t,!!e)})}if("multiple"!=e){var r=dt("ng-"+t),i=n;"checked"===e&&(i=function(e,t,i){i.ngModel!==i[r]&&n(e,t,i)}),So[r]=function(){return{restrict:"A",priority:100,link:i}}}}),o(Ci,function(e,t){So[t]=function(){return{priority:100,link:function(e,n,r){if("ngPattern"===t&&"/"==r.ngPattern.charAt(0)){var i=r.ngPattern.match(kr);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=dt("ng-"+e);So[t]=function(){return{priority:99,link:function(n,r,i){var o=e,a=e;"href"===e&&"[object SVGAnimatedString]"===Rr.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(Mr&&o&&r.prop(o,i[a]))):void("href"===e&&i.$set(a,null))})}}}});var Ao={$addControl:m,$$renameControl:ar,$removeControl:m,$setValidity:m,$setDirty:m,$setPristine:m,$setSubmitted:m},To="ng-submitted";sr.$inject=["$element","$attrs","$scope","$animate","$interpolate"];var Do=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:sr,compile:function(r,o){r.addClass(la).addClass(sa);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()};ui(r[0],"submit",l),r.on("$destroy",function(){t(function(){li(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,Ao)})}}}};return o}]},Oo=Do(),Fo=Do(!0),Mo=/\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z)/,No=/^[A-Za-z][A-Za-z\d.+-]*:\/*(?:\w+(?::\w+)?@)?[^\s\/]+(?::\d+)?(?:\/[\w#!:.?+=&%@\-\/[\]$'()*,;~]*)?$/,Io=/^[a-z0-9!#$%&'*+\/=?^_`{|}~.-]+@[a-z0-9]([a-z0-9-]*[a-z0-9])?(\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*$/i,jo=/^\s*(\-|\+)?(\d+|(\d*(\.\d*)))([eE][+-]?\d+)?\s*$/,_o=/^(\d{4})-(\d{2})-(\d{2})$/,Po=/^(\d{4})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,Lo=/^(\d{4})-W(\d\d)$/,Ro=/^(\d{4})-(\d\d)$/,zo=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,Vo={text:lr,date:dr("date",_o,pr(_o,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":dr("datetimelocal",Po,pr(Po,["yyyy","MM","dd","HH","mm","ss","sss"]),"yyyy-MM-ddTHH:mm:ss.sss"),time:dr("time",zo,pr(zo,["HH","mm","ss","sss"]),"HH:mm:ss.sss"),week:dr("week",Lo,fr,"yyyy-Www"),month:dr("month",Ro,pr(Ro,["yyyy","MM"]),"yyyy-MM"),number:mr,url:vr,email:gr,radio:$r,checkbox:br,hidden:m,button:m,submit:m,reset:m,file:m},Uo=["$browser","$sniffer","$filter","$parse",function(e,t,n,r){return{restrict:"E",require:["?ngModel"],link:{pre:function(i,o,a,s){s[0]&&(Vo[Ar(a.type)]||Vo.text)(i,o,a,s[0],t,e,n,r)}}}}],qo=/^(true|false|\d+)$/,Ho=function(){return{restrict:"A",priority:100,compile:function(e,t){return qo.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)})}}}},Bo=["$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})}}}}],Wo=["$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})}}}}],Go=["$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))||"")})}}}}],Zo=g({restrict:"A",require:"ngModel",link:function(e,t,n,r){r.$viewChangeListeners.push(function(){e.$eval(n.ngChange)})}}),Qo=wr("",!0),Yo=wr("Odd",0),Xo=wr("Even",1),Jo=or({compile:function(e,t){t.$set("ngCloak",n),e.removeClass("ng-cloak")}}),Ko=[function(){return{restrict:"A",scope:!0,controller:"@",priority:500}}],ea={},ta={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=dt("ng-"+e);ea[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})};ta[e]&&r.$$phase?t.$evalAsync(i):t.$apply(i)})}}}}]});var na=["$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=me(s.clone),e.leave(l).then(function(){l=null}),s=null))})}}}],ra=["$templateRequest","$anchorScroll","$animate",function(e,t,n){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:Ur.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(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(){p===h&&(m(),r.$emit("$includeContentError",o))}),r.$emit("$includeContentRequested",o)):(m(),l.template=null)})}}}}],ia=["$compile",function(e){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(n,r,i,o){return/SVG/.test(r[0].toString())?(r.empty(),void e(Ae(o.template,t).childNodes)(n,function(e){r.append(e)},{futureParentElement:r})):(r.html(o.template),void e(r.contents())(n))}}}],oa=or({priority:450,compile:function(){return{pre:function(e,t,n){e.$eval(n.ngInit)}}}}),aa=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?Wr(a):a,l=function(e){if(!y(e)){var t=[];return e&&o(e.split(u),function(e){e&&t.push(s?Wr(e):e)}),t}};i.$parsers.push(l),i.$formatters.push(function(e){return Hr(e)?e.join(a):n}),i.$isEmpty=function(e){return!e||!e.length}}}},sa="ng-valid",ua="ng-invalid",la="ng-pristine",ca="ng-dirty",fa="ng-untouched",pa="ng-touched",da="ng-pending",ha="ng-empty",ma="ng-not-empty",va=r("ngModel"),ga=["$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 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 va("nonassign","Expression '{0}' is non-assignable. Element: {1}",r.ngModel,J(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,ma),s.addClass(i,ha)):(s.removeClass(i,ha),s.addClass(i,ma))};var x=0;xr({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,ca),s.addClass(i,la)},this.$setDirty=function(){w.$dirty=!0,w.$pristine=!1,s.removeClass(i,la),s.addClass(i,ca),w.$$parentForm.$setDirty()},this.$setUntouched=function(){w.$touched=!1,w.$untouched=!0,s.setClass(i,fa,pa)},this.$setTouched=function(){w.$touched=!0,w.$untouched=!1,s.setClass(i,pa,fa)},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 va("$asyncValidators","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?Ur.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,qe(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===ni||""===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?U(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=Nr(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 Hr(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=Nr(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}}}],ka=["$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=Ur.noop;o(u,function(e,t){var n=i.exec(t);if(n){var r=(n[1]?"-":"")+Ar(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}})}}}],Sa=["$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:Xe};return y?x=e(y):(E=function(e,t){return Xe(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=ve();e.$watchCollection(g,function(r){var p,g,y,x,S,A,T,D,O,F,M,N,I=t[0],j=ve();if($&&(e[$]=r),i(r))O=r,D=C||E;else{D=C||k,O=[];for(var _ in r)Tr.call(r,_)&&"$"!==_.charAt(0)&&O.push(_)}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 P in v){if(F=v[P],N=me(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(me(F.clone),null,Nr(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,Nr(I)),I=n,F.clone=e,j[F.id]=F,l(F.scope,p,b,A,w,S,x)});v=j})}}}}],Aa="ng-hide",Ta="ng-hide-animate",Da=["$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:Ta})})}}}],Oa=["$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:Ta})})}}}],Fa=or(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)}),Ma=["$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=me(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)})})})}}}],Na=or({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})}}),Ia=or({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})}}),ja=r("ngTransclude"),_a=or({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 ja("orphan","Illegal use of ngTransclude directive in the template! No parent directive that requires a transclusion found. Element: {0}",J(t));var a=n.ngTransclude||n.ngTranscludeSlot;i(o,null,a)}}),Pa=["$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)}}}}],La={$setViewValue:m,$render:m},Ra=["$element","$scope","$attrs",function(e,r,i){var o=this,a=new Je;o.ngModelCtrl=La,o.unknownOption=Nr(t.createElement("option")),o.renderUnknownOption=function(t){var n="? "+Xe(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){de(e,'"option value"'),""===e&&(o.emptyOption=t);var n=a.get(e)||0;a.put(e,n+1),o.ngModelCtrl.$render(),Er(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()})}}],za=function(){function e(e,t,n,r){var i=r[1];if(i){var a=r[0];if(a.ngModelCtrl=i,i.$render=function(){a.writeValue(i.$viewValue)},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 Je(e);o(t.find("option"),function(e){e.selected=b(n.get(e.value))})};var s,u=NaN;e.$watch(function(){u!==i.$viewValue||U(s,i.$viewValue)||(s=V(i.$viewValue),i.$render()),u=i.$viewValue}),i.$isEmpty=function(e){return!e||0===e.length}}}}return{restrict:"E",require:["select","?ngModel"],controller:Ra,priority:1,link:{pre:e}}},Va=["$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)}}}}],Ua=g({restrict:"E",terminal:!1}),qa=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()}))}}},Ha=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,J(t));a=e||n,o.$validate()}),o.$validators.pattern=function(e,t){return o.$isEmpty(t)||y(a)||a.test(t)}}}}},Ba=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}}}}},Wa=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."):(ce(),be(Ur),Ur.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",pluralCat:function(e,t){var n=0|e,o=r(e,t);return 1==n&&0==o.v?i.ONE:i.OTHER}})}]),void Nr(t).ready(function(){oe(t,ae)}))}(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"!==(_=d.toLowerCase())&&"radio"!==_||f.checked)&&o.append(p,f.value);for(c=F=0,P=e.length-1;P>=0?P>=F:F>=P;c=P>=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},_=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},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=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"}},Z=["flash-unavailable","flash-degraded","flash-overdue","version-mismatch","config-mismatch","clipboard-error"],Q=["flash-disabled","flash-outdated","flash-sandboxed","flash-unavailable","flash-degraded","flash-deactivated","flash-overdue"],Y=new RegExp("^flash-("+Q.map(function(e){return e.replace(/^flash-/,"")}).join("|")+")$"),X=new RegExp("^flash-("+Q.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:Ze.version,config:Ze.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]&&Ze.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&&Ze.emit({type:"ready"}),s.error){for(i=0,o=Q.length;o>i;i++)if(z[Q[i].replace(/^flash-/,"")]===!0){Ze.emit({type:"error",name:Q[i]});break}r!==n&&Ze.version!==r&&Ze.emit({type:"error",name:"version-mismatch",jsVersion:Ze.version,swfVersion:r})}}return Ze},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]&&Ze.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 Ze},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?Ze.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,Ze.emit({type:"error",name:"flash-sandboxed"});else if(!Ze.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&&Ze.emit({type:"error",name:"flash-deactivated"})},t)),z.overdue=!1,Te()}},se=function(){Ze.clearData(),Ze.blur(),Ze.emit("destroy"),De(),Ze.off()},ue=function(e,t){var n;if("object"==typeof e&&e&&"undefined"==typeof t)n=e,Ze.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,Pe(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&&(Y.test(e.name)&&A(e,{target:null,minimumVersion:V}),X.test(e.name)&&A(e,{version:z.version})),"copy"===e.type&&(e.clipboardData={setData:Ze.setData,clearData:Ze.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!==Z.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!==Q.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),Ze.clearData(),t&&t!==_e()&&t.focus&&t.focus();break;case"_mouseover":Ze.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":Ze.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":Pe(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(){Ze.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,Ze.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:Ze.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=Ze,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"}}(),_e=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=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 Ze=function(){return this instanceof Ze?void("function"==typeof Ze._createClient&&Ze._createClient.apply(this,S(arguments))):new Ze};x(Ze,"version",{value:"2.2.0",writable:!1,configurable:!0,enumerable:!0}),Ze.config=function(){return K.apply(this,S(arguments))},Ze.state=function(){return ee.apply(this,S(arguments))},Ze.isFlashUnusable=function(){return te.apply(this,S(arguments))},Ze.on=function(){return ne.apply(this,S(arguments))},Ze.off=function(){return re.apply(this,S(arguments))},Ze.handlers=function(){return ie.apply(this,S(arguments))},Ze.emit=function(){return oe.apply(this,S(arguments))},Ze.create=function(){return ae.apply(this,S(arguments))},Ze.destroy=function(){return se.apply(this,S(arguments))},Ze.setData=function(){return ue.apply(this,S(arguments))},Ze.clearData=function(){return le.apply(this,S(arguments))},Ze.getData=function(){return ce.apply(this,S(arguments))},Ze.focus=Ze.activate=function(){return fe.apply(this,S(arguments))},Ze.blur=Ze.deactivate=function(){return pe.apply(this,S(arguments))},Ze.activeElement=function(){return de.apply(this,S(arguments))};var Qe=0,Ye={},Xe=0,Je={},Ke={};A(J,{autoActivate:!0});var et=function(e){var t=this;t.id=""+Qe++,Ye[t.id]={instance:t,elements:[],handlers:{}},e&&t.clip(e),Ze.on("*",function(e){return t.emit(e)}),Ze.on("destroy",function(){t.destroy()}),Ze.create()},tt=function(e,t){var i,o,a,s={},u=Ye[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=Q.length;o>i;i++)if(z[Q[i].replace(/^flash-/,"")]){this.emit({type:"error",name:Q[i],client:this});break}r!==n&&Ze.version!==r&&this.emit({type:"error",name:"version-mismatch",jsVersion:Ze.version,swfVersion:r})}}return this},nt=function(e,t){var n,r,i,o,a,s=Ye[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=Ye[this.id]&&Ye[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(!Ye[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=Ye[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),Ze.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]}}};Ze._createClient=function(){et.apply(this,S(arguments))},Ze.prototype.on=function(){return tt.apply(this,S(arguments))},Ze.prototype.off=function(){return nt.apply(this,S(arguments))},Ze.prototype.handlers=function(){return rt.apply(this,S(arguments))},Ze.prototype.emit=function(){return it.apply(this,S(arguments))},Ze.prototype.clip=function(){return ot.apply(this,S(arguments))},Ze.prototype.unclip=function(){return at.apply(this,S(arguments))},Ze.prototype.elements=function(){return st.apply(this,S(arguments))},Ze.prototype.destroy=function(){return ut.apply(this,S(arguments))},Ze.prototype.setText=function(e){if(!Ye[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ze.setData("text/plain",e),this},Ze.prototype.setHtml=function(e){if(!Ye[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ze.setData("text/html",e),this},Ze.prototype.setRichText=function(e){if(!Ye[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ze.setData("application/rtf",e),this},Ze.prototype.setData=function(){if(!Ye[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ze.setData.apply(this,S(arguments)),this},Ze.prototype.clearData=function(){if(!Ye[this.id])throw new Error("Attempted to clear pending clipboard data from a destroyed ZeroClipboard client instance");return Ze.clearData.apply(this,S(arguments)),this},Ze.prototype.getData=function(){if(!Ye[this.id])throw new Error("Attempted to get pending clipboard data from a destroyed ZeroClipboard client instance");return Ze.getData.apply(this,S(arguments))},"function"==typeof define&&define.amd?define(function(){return Ze}):"object"==typeof t&&t&&"object"==typeof t.exports&&t.exports?t.exports=Ze:e.ZeroClipboard=Ze}(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(e){e.controller("ImageManagerController",["$scope","$attrs","$http","$timeout","imageManagerService",function(e,t,n,r,i){function o(t){f&&f(t),e.showing=!1}function a(t){f=t,e.showing=!0,c||(s(),c=!0)}function s(){var t="/images/"+e.imageType+"/all/"+u;n.get(t).then(function(t){e.images=e.images.concat(t.data.images),e.hasMore=t.data.hasMore,u++})}e.images=[],e.imageType=t.imageType,e.selectedImage=!1,e.dependantPages=!1,e.showing=!1,e.hasMore=!1,e.imageUpdateSuccess=!1,e.imageDeleteSuccess=!1;var u=0,l=0,c=!1,f=!1;e.getUploadUrl=function(){return"/images/"+e.imageType+"/upload"},e.uploadSuccess=function(t,n){e.$apply(function(){e.images.unshift(n)})},e.imageSelect=function(t){var n=300,r=Date.now(),i=r-l;n>i?o(t):(e.selectedImage=t,e.dependantPages=!1),l=r},e.selectButtonClick=function(){o(e.selectedImage)},i.show=a,i.showExternal=function(t){e.$apply(function(){a(t)})},window.ImageManager=i,e.hide=function(){e.showing=!1},e.saveImageDetails=function(t){t.preventDefault();var i="/images/update/"+e.selectedImage.id;n.put(i,this.selectedImage).then(function(t){e.imageUpdateSuccess=!0,r(function(){e.imageUpdateSuccess=!1},3e3)},function(t){var n=t.data,i="";Object.keys(n).forEach(function(e){i+=n[e].join("\n")}),e.imageUpdateFailure=i,r(function(){e.imageUpdateFailure=!1},5e3)})},e.deleteImage=function(t){t.preventDefault();var i=e.dependantPages!==!1,o="/images/"+e.selectedImage.id;i&&(o+="?force=true"),n["delete"](o).then(function(t){e.images.splice(e.images.indexOf(e.selectedImage),1),e.selectedImage=!1,e.imageDeleteSuccess=!0,r(function(){e.imageDeleteSuccess=!1},3e3)},function(t){400===t.status&&(e.dependantPages=t.data)})}}]),e.controller("BookShowController",["$scope","$http","$attrs",function(e,t,n){e.searching=!1,e.searchTerm="",e.searchResults="",e.searchBook=function(r){r.preventDefault();var i=e.searchTerm;if(0!=i.length){e.searching=!0,e.searchResults="";var o="/search/book/"+n.bookId;o+="?term="+encodeURIComponent(i),t.get(o).then(function(t){e.searchResults=t.data})}},e.checkSearchForm=function(){e.searchTerm.length<1&&(e.searching=!1)},e.clearSearch=function(){e.searching=!1,e.searchTerm=""}}])}},{}],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){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||"",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:"="},link:function(e,t,n){new r(t[0].querySelector(".dropzone-container"),{url:e.uploadUrl,init:function(){var t=this;t.on("sending",function(e,t,n){var r=window.document.querySelector("meta[name=token]").getAttribute("content");n.append("_token",r)}),"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")})})}}}])}},{"./components/drop-zone.html":11,"./components/image-picker.html":12,"./components/toggle-switch.html":13,dropzone:9}],16:[function(e,t,n){"use strict";function r(e){return null!==document.querySelector(e)}var i=e("angular"),o=(e("angular-resource"),e("angular-animate"),e("angular-sanitize"),i.module("bookStack",["ngResource","ngAnimate","ngSanitize"]));e("./services")(o),e("./directives")(o),e("./controllers")(o);if(jQuery.fn.smoothScrollTo=function(){return 0!==this.length?($("body").animate({scrollTop:this.offset().top-60},800),this):void 0},$.expr[":"].contains=$.expr.createPseudo(function(e){return function(t){return $(t).text().toUpperCase().indexOf(e.toUpperCase())>=0}}),$(function(){$(".notification").click(function(){$(this).fadeOut(100)}),$(".chapter-toggle").click(function(e){e.preventDefault(),$(this).toggleClass("open"),$(this).closest(".chapter").find(".inset-list").slideToggle(180)})}),r("#html-editor")){var a=e("./pages/page-form");tinymce.init(a)}e("./pages/page-show")},{"./controllers":14,"./directives":15,"./pages/page-form":17,"./pages/page-show":18,"./services":19,angular:8,"angular-animate":2,"angular-resource":4,"angular-sanitize":6}],17:[function(e,t,n){"use strict";t.exports={selector:"#html-editor",content_css:["/css/styles.css"],body_class:"page-content",relative_urls:!1,statusbar:!1,menubar:!1,paste_data_images:!1,extended_valid_elements:"pre[*]",automatic_uploads:!1,valid_children:"-div[p|pre|h1|h2|h3|h4|h5|h6|blockquote]",plugins:"image table textcolor paste link fullscreen imagetools code hr autosave",imagetools_toolbar:"imageoptions",toolbar:"undo redo | styleselect | bold italic underline strikethrough superscript subscript | forecolor backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | table image-insert link hr | removeformat code fullscreen",content_style:"body {padding-left: 15px !important; padding-right: 15px !important; margin:0!important; margin-left:auto!important;margin-right:auto!important;}",style_formats:[{title:"Header 1",format:"h1"},{title:"Header 2",format:"h2"},{title:"Header 3",format:"h3"},{title:"Paragraph",format:"p"},{title:"Blockquote",format:"blockquote"},{title:"Code Block",icon:"code",format:"pre"},{title:"Inline Code",icon:"code",inline:"code"}],formats:{alignleft:{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img",classes:"align-left"},aligncenter:{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img",classes:"align-center"},alignright:{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img",classes:"align-right"}},file_browser_callback:function(e,t,n,r){ImageManager.show(function(t){if(r.document.getElementById(e).value=t.url,"createEvent"in document){var n=document.createEvent("HTMLEvents");n.initEvent("change",!1,!0),r.document.getElementById(e).dispatchEvent(n)}else r.document.getElementById(e).fireEvent("onchange")})},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()}var n=$("#pointer").detach(),i=n.children("div.pointer").first(),o=!1;if(n.on("click","input",function(e){$(this).select(),e.stopPropagation()}),new r(n.find("button").first()[0]),$(document.body).find("*").on("click focus",function(e){o||n.detach()}),$('.page-content [id^="bkmrk"]').on("mouseup keyup",function(t){var r=window.getSelection();if(0!==r.toString().length){var a=$(this),s=window.location.protocol+"//"+window.location.host+"/link/"+e+"#"+a.attr("id");n.find("input").val(s),n.find("button").first().attr("data-clipboard-text",s),a.before(n),n.show();var u=t.pageX-a.offset().left-i.width()/2;0>u&&(u=0);var l=u/a.width()*100;i.css("left",l+"%"),t.stopPropagation(),o=!0,setTimeout(function(){o=!1},100)}}),window.location.hash){var a=window.location.hash.replace(/\%20/g," ").substr(1);t(a)}}},{zeroclipboard:10}],19:[function(e,t,n){"use strict";t.exports=function(e){e.factory("imageManagerService",function(){return{show:!1,showExternal:!1}})}},{}]},{},[16]); \ No newline at end of file +-1===n.indexOf(e[t])&&n.push(e[t])}return this},at=function(e){var t=Ye[this.id];if(!t)return this;var n,r=t.elements;e="undefined"==typeof e?r.slice(0):ft(e);for(var i=e.length;i--;)if(C.call(e,i)&&e[i]&&1===e[i].nodeType){for(n=0;-1!==(n=r.indexOf(e[i],n));)r.splice(n,1);var o=Je[e[i].zcClippingId];if(o){for(n=0;-1!==(n=o.indexOf(this.id,n));)o.splice(n,1);0===o.length&&(J.autoActivate===!0&&dt(e[i]),delete e[i].zcClippingId)}}return this},st=function(){var e=Ye[this.id];return e&&e.elements?e.elements.slice(0):[]},ut=function(){Ye[this.id]&&(this.unclip(),this.off(),delete Ye[this.id])},lt=function(e){if(!e||!e.type)return!1;if(e.client&&e.client!==this)return!1;var t=Ye[this.id],n=t&&t.elements,r=!!n&&n.length>0,i=!e.target||r&&-1!==n.indexOf(e.target),o=e.relatedTarget&&r&&-1!==n.indexOf(e.relatedTarget),a=e.client&&e.client===this;return t&&(i||o||a)?!0:!1},ct=function(e){var t=Ye[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),Ze.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]}}};Ze._createClient=function(){et.apply(this,S(arguments))},Ze.prototype.on=function(){return tt.apply(this,S(arguments))},Ze.prototype.off=function(){return nt.apply(this,S(arguments))},Ze.prototype.handlers=function(){return rt.apply(this,S(arguments))},Ze.prototype.emit=function(){return it.apply(this,S(arguments))},Ze.prototype.clip=function(){return ot.apply(this,S(arguments))},Ze.prototype.unclip=function(){return at.apply(this,S(arguments))},Ze.prototype.elements=function(){return st.apply(this,S(arguments))},Ze.prototype.destroy=function(){return ut.apply(this,S(arguments))},Ze.prototype.setText=function(e){if(!Ye[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ze.setData("text/plain",e),this},Ze.prototype.setHtml=function(e){if(!Ye[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ze.setData("text/html",e),this},Ze.prototype.setRichText=function(e){if(!Ye[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ze.setData("application/rtf",e),this},Ze.prototype.setData=function(){if(!Ye[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ze.setData.apply(this,S(arguments)),this},Ze.prototype.clearData=function(){if(!Ye[this.id])throw new Error("Attempted to clear pending clipboard data from a destroyed ZeroClipboard client instance");return Ze.clearData.apply(this,S(arguments)),this},Ze.prototype.getData=function(){if(!Ye[this.id])throw new Error("Attempted to get pending clipboard data from a destroyed ZeroClipboard client instance");return Ze.getData.apply(this,S(arguments))},"function"==typeof define&&define.amd?define(function(){return Ze}):"object"==typeof t&&t&&"object"==typeof t.exports&&t.exports?t.exports=Ze:e.ZeroClipboard=Ze}(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(e){e.controller("ImageManagerController",["$scope","$attrs","$http","$timeout","imageManagerService",function(e,t,n,r,i){function o(t){f&&f(t),e.showing=!1}function a(t){f=t,e.showing=!0,c||(s(),c=!0)}function s(){var t="/images/"+e.imageType+"/all/"+u;n.get(t).then(function(t){e.images=e.images.concat(t.data.images),e.hasMore=t.data.hasMore,u++})}e.images=[],e.imageType=t.imageType,e.selectedImage=!1,e.dependantPages=!1,e.showing=!1,e.hasMore=!1,e.imageUpdateSuccess=!1,e.imageDeleteSuccess=!1;var u=0,l=0,c=!1,f=!1;e.getUploadUrl=function(){return"/images/"+e.imageType+"/upload"},e.uploadSuccess=function(t,n){e.$apply(function(){e.images.unshift(n)})},e.imageSelect=function(t){var n=300,r=Date.now(),i=r-l;n>i?o(t):(e.selectedImage=t,e.dependantPages=!1),l=r},e.selectButtonClick=function(){o(e.selectedImage)},i.show=a,i.showExternal=function(t){e.$apply(function(){a(t)})},window.ImageManager=i,e.hide=function(){e.showing=!1},e.saveImageDetails=function(t){t.preventDefault();var i="/images/update/"+e.selectedImage.id;n.put(i,this.selectedImage).then(function(t){e.imageUpdateSuccess=!0,r(function(){e.imageUpdateSuccess=!1},3e3)},function(t){var n=t.data,i="";Object.keys(n).forEach(function(e){i+=n[e].join("\n")}),e.imageUpdateFailure=i,r(function(){e.imageUpdateFailure=!1},5e3)})},e.deleteImage=function(t){t.preventDefault();var i=e.dependantPages!==!1,o="/images/"+e.selectedImage.id;i&&(o+="?force=true"),n["delete"](o).then(function(t){e.images.splice(e.images.indexOf(e.selectedImage),1),e.selectedImage=!1,e.imageDeleteSuccess=!0,r(function(){e.imageDeleteSuccess=!1},3e3)},function(t){400===t.status&&(e.dependantPages=t.data)})}}]),e.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=""}}])}},{}],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){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||"",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:"="},link:function(e,t,n){new r(t[0].querySelector(".dropzone-container"),{url:e.uploadUrl,init:function(){var t=this;t.on("sending",function(e,t,n){var r=window.document.querySelector("meta[name=token]").getAttribute("content");n.append("_token",r)}),"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")})})}}}])}},{"./components/drop-zone.html":11,"./components/image-picker.html":12,"./components/toggle-switch.html":13,dropzone:9}],16:[function(e,t,n){"use strict";function r(e){return null!==document.querySelector(e)}var i=e("angular"),o=(e("angular-resource"),e("angular-animate"),e("angular-sanitize"),i.module("bookStack",["ngResource","ngAnimate","ngSanitize"]));e("./services")(o),e("./directives")(o),e("./controllers")(o);if(jQuery.fn.smoothScrollTo=function(){return 0!==this.length?($("body").animate({scrollTop:this.offset().top-60},800),this):void 0},$.expr[":"].contains=$.expr.createPseudo(function(e){return function(t){return $(t).text().toUpperCase().indexOf(e.toUpperCase())>=0}}),$(function(){$(".notification").click(function(){$(this).fadeOut(100)}),$(".chapter-toggle").click(function(e){e.preventDefault(),$(this).toggleClass("open"),$(this).closest(".chapter").find(".inset-list").slideToggle(180)})}),r("#html-editor")){var a=e("./pages/page-form");tinymce.init(a)}e("./pages/page-show")},{"./controllers":14,"./directives":15,"./pages/page-form":17,"./pages/page-show":18,"./services":19,angular:8,"angular-animate":2,"angular-resource":4,"angular-sanitize":6}],17:[function(e,t,n){"use strict";t.exports={selector:"#html-editor",content_css:["/css/styles.css"],body_class:"page-content",relative_urls:!1,statusbar:!1,menubar:!1,paste_data_images:!1,extended_valid_elements:"pre[*]",automatic_uploads:!1,valid_children:"-div[p|pre|h1|h2|h3|h4|h5|h6|blockquote]",plugins:"image table textcolor paste link fullscreen imagetools code hr autosave",imagetools_toolbar:"imageoptions",toolbar:"undo redo | styleselect | bold italic underline strikethrough superscript subscript | forecolor backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | table image-insert link hr | removeformat code fullscreen",content_style:"body {padding-left: 15px !important; padding-right: 15px !important; margin:0!important; margin-left:auto!important;margin-right:auto!important;}",style_formats:[{title:"Header 1",format:"h1"},{title:"Header 2",format:"h2"},{title:"Header 3",format:"h3"},{title:"Paragraph",format:"p"},{title:"Blockquote",format:"blockquote"},{title:"Code Block",icon:"code",format:"pre"},{title:"Inline Code",icon:"code",inline:"code"}],formats:{alignleft:{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img",classes:"align-left"},aligncenter:{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img",classes:"align-center"},alignright:{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img",classes:"align-right"}},file_browser_callback:function(e,t,n,r){ImageManager.show(function(t){if(r.document.getElementById(e).value=t.url,"createEvent"in document){var n=document.createEvent("HTMLEvents");n.initEvent("change",!1,!0),r.document.getElementById(e).dispatchEvent(n)}else r.document.getElementById(e).fireEvent("onchange")})},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()}var n=$("#pointer").detach(),i=n.children("div.pointer").first(),o=!1;if(n.on("click","input",function(e){$(this).select(),e.stopPropagation()}),new r(n.find("button").first()[0]),$(document.body).find("*").on("click focus",function(e){o||n.detach()}),$('.page-content [id^="bkmrk"]').on("mouseup keyup",function(t){var r=window.getSelection();if(0!==r.toString().length){var a=$(this),s=window.location.protocol+"//"+window.location.host+"/link/"+e+"#"+a.attr("id");n.find("input").val(s),n.find("button").first().attr("data-clipboard-text",s),a.before(n),n.show();var u=t.pageX-a.offset().left-i.width()/2;0>u&&(u=0);var l=u/a.width()*100;i.css("left",l+"%"),t.stopPropagation(),o=!0,setTimeout(function(){o=!1},100)}}),window.location.hash){var a=window.location.hash.replace(/\%20/g," ").substr(1);t(a)}}},{zeroclipboard:10}],19:[function(e,t,n){"use strict";t.exports=function(e){e.factory("imageManagerService",function(){return{show:!1,showExternal:!1}})}},{}]},{},[16]); \ No newline at end of file From 148e172fe812a3acdd4d8e172c58e283835577ad Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Sun, 31 Jan 2016 18:03:55 +0000 Subject: [PATCH 07/54] Updated assets for release 0.7 --- public/build/manifest.json | 6 +++--- public/css/export-styles.css | 1 + public/css/print-styles.css | 2 +- public/css/styles.css | 2 +- public/js/common.js | 18 +++++++++--------- 5 files changed, 15 insertions(+), 14 deletions(-) create mode 100644 public/css/export-styles.css diff --git a/public/build/manifest.json b/public/build/manifest.json index f85d1a68eb5..f237b5633e9 100644 --- a/public/build/manifest.json +++ b/public/build/manifest.json @@ -1,5 +1,5 @@ { - "css/styles.css": "css/styles.css?version=2d0edbb", - "css/print-styles.css": "css/print-styles.css?version=2d0edbb", - "js/common.js": "js/common.js?version=2d0edbb" + "css/styles.css": "css/styles.css?version=8d91c6c", + "css/print-styles.css": "css/print-styles.css?version=8d91c6c", + "js/common.js": "js/common.js?version=8d91c6c" } \ No newline at end of file diff --git a/public/css/export-styles.css b/public/css/export-styles.css new file mode 100644 index 00000000000..030ddd8b879 --- /dev/null +++ b/public/css/export-styles.css @@ -0,0 +1 @@ +.link,a,body{font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif}code,pre{white-space:pre}ol,ul{margin-left:24px}.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%}body{font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}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:.5em}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-chapter,.text-chapter:hover{color:#ef7c3c}span.highlight{font-weight:700}ul{list-style:disc}ol{list-style:decimal}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.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}.activity-list-item .left,.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,ul.pagination li{float:left}.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-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}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%}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:7.2px}@media screen and (max-width:992px){header .user-name{padding-left:6px}header .user-name .name{display:none}header .user-name i{font-size:2em;padding-left:0;padding-top:0}header{text-align:center}header .float.right{float:none}}.dropdown-container,.logo,.logo-text,form.search-box{display:inline-block}@media screen and (max-width:768px){header .links a{padding:12px}header form.search-box{margin-top:0}header .user-name{padding-top:12px}}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;text-decoration:none}.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}.dropdown-container{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}.page-list .page,.page-list h4{border-left:5px solid #0288D1}.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}.breadcrumbs span.sep{color:#aaa;padding:0 6px}.faded a,.faded button,.faded span,.faded span>div{color:#666}.faded .text-button{opacity:.5}.faded .text-button:hover{opacity:1;text-decoration:none}.faded-small{color:#000;font-size:.9em;background-color:rgba(21,101,192,.15)}.action-buttons .text-button,.breadcrumbs .text-button{display:inline-block;padding:12px}.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}.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;padding:6px 0 6px 16px}.page-list hr{margin-top:0}.page-list .book,.page-list .chapter,.page-list .page{padding-left:24px}.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{margin-top:32px}.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;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:hover{background-color:rgba(255,255,255,.2);text-decoration:none}.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 .sub-menu{display:none}.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}#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:180px;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/print-styles.css b/public/css/print-styles.css index ab2cd8fb812..0f8d8aaa3ce 100644 --- a/public/css/print-styles.css +++ b/public/css/print-styles.css @@ -1 +1 @@ -.faded-small,.print-hidden,header{display:none}@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}body{font-size:12px}.page-content{margin:0 auto}.print-full-width{width:100%;float:none;display:block}h2{font-size:2em;line-height:1;margin-top:.6em;margin-bottom:.3em} \ No newline at end of file +.faded-small,.print-hidden,header{display:none}body{font-size:12px}.page-content{margin:0 auto}.print-full-width{width:100%;float:none;display:block}h2{font-size:2em;line-height:1;margin-top:.6em;margin-bottom:.3em} \ No newline at end of file diff --git a/public/css/styles.css b/public/css/styles.css index 7d246e8f1bb..5c6f9991ac7 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}ol,ul{margin-left:24px}.link,.text-button,a,body{font-family:Roboto,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%}body{font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}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:.5em}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-chapter,.text-chapter:hover{color:#ef7c3c}span.highlight{font-weight:700}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}.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{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,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,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}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%}.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;max-width:1340px;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 img{display:block;border-radius:0;float:left;margin:0;cursor:pointer;width:16.6666666667%;height:auto;border:1px solid #FFF;transition:all cubic-bezier(.4,0,1,1) 160ms}.image-manager-list img.selected{-webkit-transform:scale3d(.92,.92,.92);transform:scale3d(.92,.92,.92)}#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}.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{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:7.2px}@media screen and (max-width:992px){header .user-name{padding-left:6px}header .user-name .name{display:none}header .user-name i{font-size:2em;padding-left:0;padding-top:0}header{text-align:center}header .float.right{float:none}}.dropdown-container,.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}}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;text-decoration:none}.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}.dropdown-container{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}.page-list .page,.page-list h4{border-left:5px solid #0288D1}.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}.breadcrumbs span.sep{color:#aaa;padding:0 6px}.faded a,.faded button,.faded span{color:#666}.faded .text-button{opacity:.5;transition:all ease-in-out 120ms}.faded .text-button:hover{opacity:1;text-decoration:none}.faded-small{color:#000;font-size:.9em;background-color:rgba(21,101,192,.15)}.action-buttons .text-button,.breadcrumbs .text-button{display:inline-block;padding:12px}.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}.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;padding:6px 0 6px 16px}.page-list hr{margin-top:0}.page-list .book,.page-list .chapter,.page-list .page{padding-left:24px}.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{margin-top:32px}.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;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:hover{background-color:rgba(255,255,255,.2);text-decoration:none}.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 .sub-menu{display:none}.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}#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;-moz-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:180px;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.med{width:40px;height:40px}.avatar.large{width:80px;height:80px}.notification{position:fixed;top:0;right:0;margin:64px 32px;padding:24px 32px;border-radius:3px;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}.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} \ No newline at end of file +.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}ol,ul{margin-left:24px}.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%}body{font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}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}.dz-preview .dz-remove:hover,.underlined{text-decoration:underline}.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:.5em}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-chapter,.text-chapter:hover{color:#ef7c3c}span.highlight{font-weight:700}ul{list-style:disc}ol{list-style:decimal}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.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}.activity-list-item .left,.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,.image-manager-list img,ul.pagination li{float:left}.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-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{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}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%}.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;max-width:1340px;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 img{display:block;border-radius:0;margin:0;cursor:pointer;width:16.6666666667%;height:auto;border:1px solid #FFF;transition:all cubic-bezier(.4,0,1,1) 160ms}.image-manager-list img.selected{-webkit-transform:scale3d(.92,.92,.92);transform:scale3d(.92,.92,.92)}#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-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{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:7.2px}@media screen and (max-width:992px){header .user-name{padding-left:6px}header .user-name .name{display:none}header .user-name i{font-size:2em;padding-left:0;padding-top:0}header{text-align:center}header .float.right{float:none}}.dropdown-container,.logo,.logo-text,form.search-box{display:inline-block}@media screen and (max-width:768px){header .links a{padding:12px}header form.search-box{margin-top:0}header .user-name{padding-top:12px}}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;text-decoration:none}.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}.dropdown-container{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}.page-list .page,.page-list h4{border-left:5px solid #0288D1}.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}.breadcrumbs span.sep{color:#aaa;padding:0 6px}.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;text-decoration:none}.faded-small{color:#000;font-size:.9em;background-color:rgba(21,101,192,.15)}.action-buttons .text-button,.breadcrumbs .text-button{display:inline-block;padding:12px}.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}.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;padding:6px 0 6px 16px}.page-list hr{margin-top:0}.page-list .book,.page-list .chapter,.page-list .page{padding-left:24px}.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{margin-top:32px}.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;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:hover{background-color:rgba(255,255,255,.2);text-decoration:none}.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 .sub-menu{display:none}.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}#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:180px;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.med{width:40px;height:40px}.avatar.large{width:80px;height:80px}.notification{position:fixed;top:0;right:0;margin:64px 32px;padding:24px 32px;border-radius:3px;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}.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} \ No newline at end of file diff --git a/public/js/common.js b/public/js/common.js index 45ffbfe77ae..c8bda30df46 100644 --- a/public/js/common.js +++ b/public/js/common.js @@ -1,9 +1,9 @@ -!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===Y)return e;break;default:return V(l(e))}return e.nodeType===Y?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,Z=t.isFunction,Q=t.isElement,Y=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-",_="WebkitAnimation",P="webkitAnimationEnd animationend"):(_="animation",P="animationend");var oe="Duration",ae="Property",se="Delay",ue="TimingFunction",le="IterationCount",ce="PlayState",fe=9999,pe=_+se,de=_+oe,he=I+se,me=I+oe,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=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;r0,_e.hasAnimations=Ie.animationDuration>0}if(_e.applyAnimationDelay&&(je="boolean"!=typeof V.delay&&O(V.delay)?parseFloat(V.delay):je,te=Math.max(je,0),Ie.animationDelay=je,Pe=A(je,!0),oe.push(Pe),B.style[Pe[0]]=Pe[1]),ne=te*ye,ie=re*ye,V.easing){var t,s=V.easing;_e.hasTransitions&&(t=I+ue,oe.push([t,s]),B.style[t]=s),_e.hasAnimations&&(t=_+ue,oe.push([t,s]),B.style[t]=s)}Ie.transitionDuration&&a.push(j),Ie.animationDuration&&a.push(P),o=Date.now();var l=ne+we*ie,c=o+l,f=e.data($e)||[],d=!0;if(f.length){var h=f[0];d=c>h.expectedEndTime,d?u.cancel(h.timer):f.push(p)}if(d){var m=u(n,l,!1);f[0]={timer:m,expectedEndTime:c},f.push(p),e.data($e,f)}e.on(a.join(" "),i),V.to&&(V.cleanupStyles&&N(H,B,Object.keys(V.to)),v(e,V))}}function n(){var t=e.data($e);if(t){for(var n=1;n=ne&&r>=re&&(Z=!0,p())}if(!W){if(!B.parentNode)return void p();var o,a=[],l=function(e){if(Z)G&&e&&(G=!1,p());else if(G=!e,Ie.animationDuration){var t=C(B,G);G?oe.push(t):s(oe,t)}},c=Me>0&&(Ie.transitionDuration&&0===Se.transitionDuration||Ie.animationDuration&&0===Se.animationDuration)&&Math.max(Se.animationDelay,Se.transitionDelay);c?u(t,Math.floor(c*Me*ye),!1):t(),Y.resume=function(){l(!0)},Y.pause=function(){l(!1)}}}var V=R(n),H={},B=y(e);if(!B||!B.parentNode||!g.enabled())return T();V=d(V);var W,G,Z,Q,Y,te,ne,re,ie,oe=[],se=e.attr("class"),le=o(V);if(0===V.duration||!c.animations&&!c.transitions)return T();var ce=V.event&&q(V.event)?V.event.join(" "):V.event,pe=ce&&V.structural,de="",he="";pe?de=a(ce,K,!0):ce&&(de=ce),V.addClass&&(he+=a(V.addClass,X)),V.removeClass&&(he.length&&(he+=" "),he+=a(V.removeClass,J)),V.applyClassesEarly&&he.length&&M(e,V);var me=[de,he].join(" ").trim(),ve=se+" "+me,ge=a(me,ee),xe=le.to&&Object.keys(le.to).length>0,Ee=(V.keyframeStyle||"").length>0;if(!Ee&&!xe&&!me)return T();var ke,Se;if(V.stagger>0){var Ae=parseFloat(V.stagger);Se={transitionDelay:Ae,animationDelay:Ae,transitionDuration:0,animationDuration:0}}else ke=$(B,ve),Se=w(B,me,ke,Ce);V.$$skipPreparationClasses||r.addClass(e,me);var Te;if(V.transitionStyle){var De=[I,V.transitionStyle];E(B,De),oe.push(De)}if(V.duration>=0){Te=B.style[I].length>0;var Oe=F(V.duration,Te);E(B,Oe),oe.push(Oe)}if(V.keyframeStyle){var Fe=[_,V.keyframeStyle];E(B,Fe),oe.push(Fe)}var Me=Se?V.staggerIndex>=0?V.staggerIndex:t.count(ke):0,Ne=0===Me;Ne&&!V.skipBlocking&&x(B,fe);var Ie=D(B,ve,ke),je=Ie.maxDelay;te=Math.max(je,0),re=Ie.maxDuration;var _e={};if(_e.hasTransitions=Ie.transitionDuration>0,_e.hasAnimations=Ie.animationDuration>0,_e.hasTransitionAll=_e.hasTransitions&&"all"==Ie.transitionProperty,_e.applyTransitionDuration=xe&&(_e.hasTransitions&&!_e.hasTransitionAll||_e.hasAnimations&&!_e.hasTransitions),_e.applyAnimationDuration=V.duration&&_e.hasAnimations,_e.applyTransitionDelay=O(V.delay)&&(_e.applyTransitionDuration||_e.hasTransitions),_e.applyAnimationDelay=O(V.delay)&&_e.hasAnimations,_e.recalculateTimingStyles=he.length>0,(_e.applyTransitionDuration||_e.applyAnimationDuration)&&(re=V.duration?parseFloat(V.duration):re,_e.applyTransitionDuration&&(_e.hasTransitions=!0,Ie.transitionDuration=re,Te=B.style[I+ae].length>0,oe.push(F(re,Te))),_e.applyAnimationDuration&&(_e.hasAnimations=!0,Ie.animationDuration=re,oe.push(S(re)))),0===re&&!_e.recalculateTimingStyles)return T();if(null!=V.delay){var Pe;"boolean"!=typeof V.delay&&(Pe=parseFloat(V.delay),te=Math.max(Pe,0)),_e.applyTransitionDelay&&oe.push(A(Pe)),_e.applyAnimationDelay&&oe.push(A(Pe,!0))}return null==V.duration&&Ie.transitionDuration>0&&(_e.recalculateTimingStyles=_e.recalculateTimingStyles||Ne),ne=te*ye,ie=re*ye,V.skipBlocking||(_e.blockTransition=Ie.transitionDuration>0,_e.blockKeyframeAnimation=Ie.animationDuration>0&&Se.animationDelay>0&&0===Se.animationDuration),V.from&&(V.cleanupStyles&&N(H,B,Object.keys(V.from)),m(e,V)),_e.blockTransition||_e.blockKeyframeAnimation?b(re):V.skipBlocking||x(B,!1),{$$willAnimate:!0,end:l,start:function(){return W?void 0:(Y={end:l,cancel:f,resume:null,pause:null},Q=new i(Y),k(z),Q)}}}}]}],ke=["$$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)}}]}],Se=["$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 i=1,o=2,a=this.rules={skip:[],cancel:[],join:[]};a.join.push(function(e,t,r){return!t.structural&&n(t.options)}),a.skip.push(function(e,t,r){return!t.structural&&!n(t.options)}),a.skip.push(function(e,t,n){return"leave"==n.event&&t.structural}),a.skip.push(function(e,t,n){return n.structural&&n.state===o&&!t.structural}),a.cancel.push(function(e,t,n){return n.structural&&t.structural}),a.cancel.push(function(e,t,n){return n.state===o&&t.structural}),a.cancel.push(function(e,t,n){var r=t.options,i=n.options;return r.addClass&&r.addClass===i.removeClass||r.removeClass&&r.removeClass===i.addClass}),this.$get=["$$rAF","$rootScope","$rootElement","$document","$$HashMap","$$animation","$$AnimateRunner","$templateRequest","$$jqLite","$$forceReflow",function(a,s,c,f,m,v,$,x,C,E){function k(){var e=!1;return function(t){e?t():s.$$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){e.node.contains(r)?o.push(e.callback):"leave"===n&&e.node.contains(i)&&o.push(e.callback)}),o}function T(e,r,l){function c(t,n,r,i){E(function(){var t=A(m,e,n);t.length&&a(function(){U(t,function(t){t(e,r,i)})})}),t.progress(n,r,i)}function f(t){w(e,x),J(e,x),h(e,x),x.domOperation(),C.complete(!t)}var p,m,x=R(l);e=u(e),e&&(p=y(e),m=e.parent()),x=d(x);var C=new $,E=k();if(q(x.addClass)&&(x.addClass=x.addClass.join(" ")),x.addClass&&!H(x.addClass)&&(x.addClass=null),q(x.removeClass)&&(x.removeClass=x.removeClass.join(" ")),x.removeClass&&!H(x.removeClass)&&(x.removeClass=null),x.from&&!B(x.from)&&(x.from=null),x.to&&!B(x.to)&&(x.to=null),!p)return f(),C;var T=[p.className,x.addClass,x.removeClass].join(" ");if(!X(T))return f(),C;var F=["enter","move","leave"].indexOf(r)>=0,P=!_||j.get(p),L=!P&&I.get(p)||{},z=!!L.state;if(P||z&&L.state==i||(P=!M(e,m,r)),P)return f(),C;F&&D(e);var V={structural:F,element:e,event:r,close:f,options:x,runner:C};if(z){var W=t("skip",e,V,L);if(W)return L.state===o?(f(),C):(g(e,L.options,x),L.runner);var G=t("cancel",e,V,L);if(G)if(L.state===o)L.runner.end();else{if(!L.structural)return g(e,L.options,V.options),L.runner;L.close()}else{var Z=t("join",e,V,L);if(Z){if(L.state!==o)return b(e,F?r:null,x),r=V.event=L.event,x=g(e,L.options,V.options),L.runner;S(e,x)}}}else S(e,x);var Q=V.structural;if(Q||(Q="animate"===V.event&&Object.keys(V.options.to||{}).length>0||n(V.options)),!Q)return f(),O(e),C;var Y=(L.counter||0)+1;return V.counter=Y,N(e,i,V),s.$$postDigest(function(){var t=I.get(p),i=!t;t=t||{};var a=e.parent()||[],s=a.length>0&&("animate"===t.event||t.structural||n(t.options));if(i||t.counter!==Y||!s)return i&&(J(e,x),h(e,x)),(i||F&&t.event!==r)&&(x.domOperation(),C.end()),void(s||O(e));r=!t.structural&&n(t.options,!0)?"setClass":t.event,N(e,o);var u=v(e,r,t.options);u.done(function(t){f(!t);var n=I.get(p);n&&n.counter===Y&&O(y(e)),c(C,r,"close",{})}),C.setHost(u),c(C,r,"start",{})}),C}function D(e){var t=y(e),n=t.querySelectorAll("["+Te+"]");U(n,function(e){var t=parseInt(e.getAttribute(Te)),n=I.get(e);if(n)switch(t){case o:n.runner.end();case i:I.remove(e)}})}function O(e){var t=y(e);t.removeAttribute(Te),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=e.data(De);for(u&&(t=u);t&&t.length;){a||(a=F(t,c));var l=t[0];if(l.nodeType!==Y)break;var p=I.get(l)||{};if(s||(s=p.structural||j.get(l)),W(r)||r===!0){var d=t.data(re);G(d)&&(r=d)}if(s&&r===!1)break;a||(a=F(t,c),a||(u=t.data(De),u&&(t=u))),o||(o=F(t,i)),t=t.parent()}var h=!s||r;return h&&a&&o}function N(e,t,n){n=n||{},n.state=t;var r=y(e);r.setAttribute(Te,t);var i=I.get(r),o=i?z(i,n):n;I.put(r,o)}var I=new m,j=new m,_=null,P=s.$watch(function(){return 0===x.totalPendingRequests},function(e){e&&(P(),s.$$postDigest(function(){s.$$postDigest(function(){null===_&&(_=!0)})}))}),L={},Z=e.classNameFilter(),X=Z?function(e){return Z.test(e)}:function(){return!0},J=p(C);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(Q(e),"element","not an element"),r(Q(t),"parentElement","not an element"),e.data(De,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=!!_;else{var r=Q(e);if(r){var i=y(e),o=j.get(i);1===n?t=!o:(t=!!t,t?o&&j.remove(i):j.put(i,!0))}else t=_=!!e}return t}}}]}],Fe=["$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)}}]}],Me=["$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",Me).directive("ngAnimateChildren",ge).factory("$$rAFScheduler",ve).provider("$$animateQueue",Oe).provider("$$animation",Fe).provider("$animateCss",Ee).provider("$$animateCssDriver",ke).provider("$$animateJs",Se).provider("$$animateJsDriver",Ae)}(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",function(s,u,l){function c(e){return f(e,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function f(e,t){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,t?"%20":"+")}function p(e,t){this.template=e,this.defaults=v({},r.defaults,t),this.urlParams={}}function d(e,c,f,y){function b(e,t){var n={};return t=v({},c,t),m(t,function(t,r){$(t)&&(t=t()),n[r]=t&&t.charAt&&"@"==t.charAt(0)?i(e,t.substr(1)):t}),n}function w(e){return e.resource}function x(e){o(e||{},this)}var C=new p(e,y);return f=v({},r.defaults.actions,f),x.prototype.toJSON=function(){var e=v({},this);return delete e.$promise,delete e.$resolved,e},m(f,function(e,i){var c=/^(POST|PUT|PATCH)$/i.test(e.method),f=!1;t.isNumber(e.timeout)||(e.timeout&&(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),f=t.isDefined(e.cancellable)?e.cancellable:y&&t.isDefined(y.cancellable)?y.cancellable:r.defaults.cancellable),x[i]=function(r,u,p,d){var y,E,k,S={};switch(arguments.length){case 4:k=d,E=p;case 3:case 2:if(!$(u)){S=r,y=u,E=p;break}if($(r)){E=r,k=u;break}E=u,k=p;case 1:$(r)?E=r:c?y=r:S=r;break;case 0:break;default:throw a("badargs","Expected up to 4 arguments [params, data, success, error], got {0} arguments",arguments.length)}var A,T=this instanceof x,D=T?y:e.isArray?[]:new x(y),O={},F=e.interceptor&&e.interceptor.response||w,M=e.interceptor&&e.interceptor.responseError||n;m(e,function(e,t){switch(t){default:O[t]=g(e);break;case"params":case"isArray":case"interceptor":case"cancellable":}}),!T&&f&&(A=l.defer(),O.timeout=A.promise),c&&(O.data=y),C.setUrlParams(O,v({},b(y,e.params||{}),S),e.url);var N=s(O).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",O.method,O.url);if(e.isArray)D.length=0,m(r,function(e){"object"==typeof e?D.push(new x(e)):D.push(e)});else{var s=D.$promise;o(r,D),D.$promise=s}}return n.resource=D,n},function(e){return(k||h)(e),l.reject(e)});return N["finally"](function(){D.$resolved=!0,!T&&f&&(D.$cancelRequest=t.noop,A=O.timeout=null)}),N=N.then(function(e){var t=F(e);return(E||h)(t,e.headers),t},M),T?N:(D.$promise=N,D.$resolved=!1,f&&(D.$cancelRequest=A.resolve),D)},x.prototype["$"+i]=function(e,t,n){$(e)&&(n=t,t=e,e={});var r=x[i].call(this,e,this,t,n);return r.$promise||r}}),x.bind=function(t){return d(e,v({},c,t),f)},x}var h=t.noop,m=t.forEach,v=t.extend,g=t.copy,$=t.isFunction;return p.prototype={setUrlParams:function(n,r,i){var o,s,u=this,l=i||u.template,p="",d=u.urlParams={};m(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 p=e,""}),r=r||{},m(u.urlParams,function(e,n){o=r.hasOwnProperty(n)?r[n]:u.defaults[n],t.isDefined(o)&&null!==o?(s=e.isQueryParamValue?f(o,!0):c(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=p+l.replace(/\/\\\./,"/."),m(r,function(e,t){u.urlParams[t]||(n.params=n.params||{},n.params[t]=e)})}},d}]})}(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,usemap,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;return function(o,a,s){function u(e){e&&h.push(i(e))}function l(e,n){var r;if(h.push("'),u(n),h.push("")}if(!o)return o;for(var c,f,p,d=o,h=[];c=d.match(n);)f=c[0],c[2]||c[4]||(f=(c[3]?"http://":"mailto:")+f),p=c.index,u(d.substr(0,p)),l(f,c[0].replace(r,"")),d=d.substring(p+c[0].length);return u(d),e(h.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||"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(Hr(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)||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]=Hr(d)?[]:{}),c(e[p],[d],!0)):e[p]=d}}return l(e,r),e}function f(e){return c(e,_r.call(arguments,1),!1)}function p(e){return c(e,_r.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!==Rr}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 C(e){return"string"==typeof e}function E(e){return"number"==typeof e}function k(e){return"[object Date]"===Rr.call(e)}function S(e){return"function"==typeof e}function A(e){return"[object RegExp]"===Rr.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]"===Rr.call(e)}function F(e){return"[object FormData]"===Rr.call(e)}function M(e){return"[object Blob]"===Rr.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)&&Br.test(Rr.call(e))}function _(e){return!(!e||!(e.nodeName||e.prop&&e.attr&&e.find))}function P(e){var t,n={},r=e.split(",");for(t=0;t=0&&e.splice(n,1),n}function z(e,t){function n(e,t){var n,i=t.$$hashKey;if(Hr(e))for(var o=0,a=e.length;a>o;o++)t.push(r(e[o]));else if(x(e))for(n in e)t[n]=r(e[n]);else if(e&&"function"==typeof e.hasOwnProperty)for(n in e)e.hasOwnProperty(n)&&(t[n]=r(e[n]));else for(n in e)Tr.call(e,n)&&(t[n]=r(e[n]));return l(t,i),t}function r(e){if(!w(e))return e;var t=i.indexOf(e);if(-1!==t)return a[t];if(T(e)||D(e))throw Vr("cpws","Can't copy! Making copies of Window or Scope instances is not supported.");var r,o=!1;return Hr(e)?(r=[],o=!0):j(e)?r=new e.constructor(e):k(e)?r=new Date(e.getTime()):A(e)?(r=new RegExp(e.source,e.toString().match(/[^\/]*$/)[0]),r.lastIndex=e.lastIndex):S(e.cloneNode)?r=e.cloneNode(!0):(r=Object.create(zr(e)),o=!0),i.push(e),a.push(r),o?n(e,r):r}var i=[],a=[];if(t){if(j(t))throw Vr("cpta","Can't copy! TypedArray destination cannot be mutated.");if(e===t)throw Vr("cpi","Can't copy! Source and destination are identical.");return Hr(t)?t.length=0:o(t,function(e,n){"$$hashKey"!==n&&delete t[n]}),i.push(e),a.push(t),n(e,t)}return r(e)}function V(e,t){if(Hr(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 U(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(!Hr(e)){if(k(e))return k(t)?U(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)||Hr(t)||k(t)||A(t))return!1;i=ve();for(r in e)if("$"!==r.charAt(0)&&!S(e[r])){if(!U(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(!Hr(t))return!1;if((n=e.length)==t.length){for(r=0;n>r;r++)if(!U(e[r],t[r]))return!1;return!0}}return!1}function q(e,t,n){return e.concat(_r.call(t,n))}function H(e,t){return _r.call(e,t||0)}function B(e,t){var n=arguments.length>2?H(arguments,2):[];return!S(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 W(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 G(e,t){return"undefined"==typeof e?n:(E(t)||(t=t?2:null),JSON.stringify(e,W,t))}function Z(e){return C(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 Y(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function X(e,t,n){n=n?-1:1;var r=Q(t,e.getTimezoneOffset());return Y(e,n*(r-e.getTimezoneOffset()))}function J(e){e=Nr(e).clone();try{e.empty()}catch(t){}var n=Nr("
").append(e).html();try{return e[0].nodeType===ti?Ar(n):n.match(/^(<[^>]+>)/)[1].replace(/^<([\w\-]+)/,function(e,t){return"<"+Ar(t)})}catch(t){return Ar(n)}}function K(e){try{return decodeURIComponent(e)}catch(t){}}function ee(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=K(r),b(r)&&(i=b(i)?K(i):!0,Tr.call(t,r)?Hr(t[r])?t[r].push(i):t[r]=[t[r],i]:t[r]=i))}),t}function te(e){var t=[];return o(e,function(e,n){Hr(e)?o(e,function(e){t.push(re(n,!0)+(e===!0?"":"="+re(e,!0)))}):t.push(re(n,!0)+(e===!0?"":"="+re(e,!0)))}),t.length?t.join("&"):""}function ne(e){return re(e,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function re(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 ie(e,t){var n,r,i=Yr.length;for(r=0;i>r;++r)if(n=Yr[r]+t,C(n=e.getAttribute(n)))return n;return null}function oe(e,t){var n,r,i={};o(Yr,function(t){var i=t+"app";!n&&e.hasAttribute&&e.hasAttribute(i)&&(n=e,r=e.getAttribute(i))}),o(Yr,function(t){var i,o=t+"app";!n&&(i=e.querySelector("["+o.replace(":","\\:")+"]"))&&(n=i,r=i.getAttribute(o))}),n&&(i.strictDi=null!==ie(n,"strict-di"),t(n,r?[r]:[],i))}function ae(n,r,i){w(i)||(i={});var a={strictDi:!1};i=f(a,i);var s=function(){if(n=Nr(n),n.injector()){var e=n[0]===t?"document":J(n);throw Vr("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=nt(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,""),Ur.resumeBootstrap=function(e){return o(e,function(e){r.push(e)}),s()},void(S(Ur.resumeDeferredBootstrap)&&Ur.resumeDeferredBootstrap()))}function se(){e.name="NG_ENABLE_DEBUG_INFO!"+e.name,e.location.reload()}function ue(e){var t=Ur.element(e).injector();if(!t)throw Vr("test","no injector found for element argument to getTestability");return t.get("$$testability")}function le(e,t){return t=t||"_",e.replace(Xr,function(e,n){return(n?t:"")+e.toLowerCase()})}function ce(){var t;if(!Jr){var r=Qr();Ir=y(r)?e.jQuery:r?e[r]:n,Ir&&Ir.fn.on?(Nr=Ir,f(Ir.fn,{scope:bi.scope,isolateScope:bi.isolateScope,controller:bi.controller,injector:bi.injector,inheritedData:bi.inheritedData}),t=Ir.cleanData,Ir.cleanData=function(e){for(var n,r,i=0;null!=(r=e[i]);i++)n=Ir._data(r,"events"),n&&n.$destroy&&Ir(r).triggerHandler("$destroy");t(e)}):Nr=De,Ur.element=Nr,Jr=!0}}function fe(e,t,n){if(!e)throw Vr("areq","Argument '{0}' is {1}",t||"?",n||"required");return e}function pe(e,t,n){return n&&Hr(e)&&(e=e[e.length-1]),fe(S(e),t,"not a function, got "+(e&&"object"==typeof e?e.constructor.name||"Object":typeof e)),e}function de(e,t){if("hasOwnProperty"===e)throw Vr("badname","hasOwnProperty is not a valid {0} name",t)}function he(e,t,n){if(!t)return e;for(var r,i=t.split("."),o=e,a=i.length,s=0;a>s;s++)r=i[s],e&&(e=(o=e)[r]);return!n&&S(e)?B(o,e):e}function me(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=Nr(_r.call(e,0,i))),t.push(n));return t||e}function ve(){return Object.create(null)}function ge(e){function t(e,t,n){return e[t]||(e[t]=n())}var i=r("$injector"),o=r("ng"),a=t(e,"angular",Object);return a.$$minErr=a.$$minErr||r,t(a,"module",function(){var e={};return function(r,s,u){var l=function(e,t){if("hasOwnProperty"===e)throw o("badname","hasOwnProperty is not a valid {0} name",t)};return l(r,"module"),s&&e.hasOwnProperty(r)&&(e[r]=null),t(e,r,function(){function e(e,t,n,r){return r||(r=o),function(){return r[n||"push"]([e,t,arguments]),p}}function t(e,t){return function(n,i){return i&&S(i)&&(i.$$moduleName=r),o.push([e,t,arguments]),p}}if(!s)throw i("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 o=[],l=[],c=[],f=e("$injector","invoke","push",l),p={_invokeQueue:o,_configBlocks:l,_runBlocks:c,requires:s,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:function(e,t){function r(r){function i(e){return a.isFunction(e)?function(t,n){return r.invoke(e,this,{$element:t,$attrs:n})}:e}var o=t.template||t.templateUrl?t.template:"";return{controller:t.controller||function(){},controllerAs:vt(t.controller)||t.controllerAs||e,template:i(o),templateUrl:i(t.templateUrl),transclude:t.transclude===n?!0:t.transclude,scope:t.isolate===!1?!0:{},bindToController:t.bindings||{},restrict:t.restrict||"E"}}return t.$canActivate&&(r.$canActivate=t.$canActivate),t.$routeConfig&&(r.$routeConfig=t.$routeConfig),r.$inject=["$injector"],p.directive(e,r)},config:f,run:function(e){return c.push(e),this}};return u&&f(u),p})}})}function $e(e){var t=[];return JSON.stringify(e,function(e,n){if(n=W(e,n),w(n)){if(t.indexOf(n)>=0)return"...";t.push(n)}return n})}function ye(e){return"function"==typeof e?e.toString().replace(/ \{[\s\S]*$/,""):y(e)?"undefined":"string"!=typeof e?$e(e):e}function be(t){f(t,{bootstrap:ae,copy:z,extend:f,merge:p,equals:U,element:Nr,forEach:o,injector:nt,noop:m,bind:B,toJson:G,fromJson:Z,identity:v,isUndefined:y,isDefined:b,isString:C,isFunction:S,isObject:w,isNumber:E,isElement:_,isArray:Hr,version:oi,isDate:k,lowercase:Ar,uppercase:Dr,callbacks:{counter:0},getTestability:ue,$$minErr:r,$$csp:Zr,reloadWithDebugInfo:se}),(jr=ge(e))("ng",["ngLocale"],["$provide",function(e){e.provider({$$sanitizeUri:wn}),e.provider("$compile",pt).directive({a:ko,input:Uo,textarea:Uo,form:Oo,script:Pa,select:za,style:Ua,option:Va,ngBind:Bo,ngBindHtml:Go,ngBindTemplate:Wo,ngClass:Qo,ngClassEven:Xo,ngClassOdd:Yo,ngCloak:Jo,ngController:Ko,ngForm:Fo,ngHide:Oa,ngIf:na,ngInclude:ra,ngInit:oa,ngNonBindable:wa,ngPluralize:ka,ngRepeat:Sa,ngShow:Da,ngStyle:Fa,ngSwitch:Ma,ngSwitchWhen:Na,ngSwitchDefault:Ia,ngOptions:Ea,ngTransclude:_a,ngModel:$a,ngList:aa,ngChange:Zo,pattern:Ha,ngPattern:Ha,required:qa,ngRequired:qa,minlength:Wa,ngMinlength:Wa,maxlength:Ba,ngMaxlength:Ba,ngValue:Ho,ngModelOptions:ba}).directive({ngInclude:ia}).directive(So).directive(ea),e.provider({$anchorScroll:rt,$animate:ji,$animateCss:Li,$$animateQueue:Ii,$$AnimateRunner:Pi,$$animateAsyncRun:_i,$browser:lt,$cacheFactory:ct,$controller:gt,$document:$t,$exceptionHandler:yt,$filter:jn,$$forceReflow:qi,$interpolate:Nt,$interval:It,$http:Dt,$httpParamSerializer:wt,$httpParamSerializerJQLike:xt,$httpBackend:Ft,$xhrFactory:Ot,$location:Zt,$log:Qt,$parse:mn,$rootScope:bn,$q:vn,$$q:gn,$sce:kn,$sceDelegate:En,$sniffer:Sn,$templateCache:ft,$templateRequest:An,$$testability:Tn,$timeout:Dn,$window:Mn,$$rAF:yn,$$jqLite:Ye,$$HashMap:Ei,$$cookieReader:In})}])}function we(){return++si}function xe(e){return e.replace(ci,function(e,t,n,r){return r?n.toUpperCase():n}).replace(fi,"Moz$1")}function Ce(e){return!mi.test(e)}function Ee(e){var t=e.nodeType;return t===Kr||!t||t===ri}function ke(e){for(var t in ai[e.ng339])return!0;return!1}function Se(e){for(var t=0,n=e.length;n>t;t++)Ne(e[t])}function Ae(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=(vi.exec(e)||["",""])[1].toLowerCase(),i=$i[r]||$i._default,n.innerHTML=i[1]+e.replace(gi,"<$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=hi.exec(e))?[n.createElement(r[1])]:(r=Ae(e,n))?r.childNodes:[]}function De(e){if(e instanceof De)return e;var t;if(C(e)&&(e=Wr(e),t=!0),!(this instanceof De)){if(t&&"<"!=e.charAt(0))throw di("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new De(e)}t?Re(this,Te(e)):Re(this,e)}function Oe(e){return e.cloneNode(!0)}function Fe(e,t){if(t||Ne(e),e.querySelectorAll)for(var n=e.querySelectorAll("*"),r=0,i=n.length;i>r;r++)Ne(n[r])}function Me(e,t,n,r){if(b(r))throw di("offargs","jqLite#off() does not support the `selector` argument");var i=Ie(e),a=i&&i.events,s=i&&i.handle;if(s)if(t){var u=function(t){var r=a[t];b(n)&&R(r||[],n),b(n)&&r&&r.length>0||(li(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&&li(e,t,s),delete a[t]}function Ne(e,t){var r=e.ng339,i=r&&ai[r];if(i){if(t)return void delete i.data[t];i.handle&&(i.events.$destroy&&i.handle({},"$destroy"),Me(e)),delete ai[r],e.ng339=n}}function Ie(e,t){var r=e.ng339,i=r&&ai[r];return t&&!i&&(e.ng339=r=we(),i=ai[r]={events:{},data:{},handle:n}),i}function je(e,t,n){if(Ee(e)){var r=b(n),i=!r&&t&&!w(t),o=!t,a=Ie(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 _e(e,t){return e.getAttribute?(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+t+" ")>-1:!1}function Pe(e,t){t&&e.setAttribute&&o(t.split(" "),function(t){e.setAttribute("class",Wr((" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").replace(" "+Wr(t)+" "," ")))})}function Le(e,t){if(t&&e.setAttribute){var n=(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ");o(t.split(" "),function(e){e=Wr(e),-1===n.indexOf(" "+e+" ")&&(n+=e+" ")}),e.setAttribute("class",Wr(n))}}function Re(e,t){if(t)if(t.nodeType)e[e.length++]=t;else{var n=t.length;if("number"==typeof n&&t.window!==t){if(n)for(var r=0;n>r;r++)e[e.length++]=t[r]}else e[e.length++]=t}}function ze(e,t){return Ve(e,"$"+(t||"ngController")+"Controller")}function Ve(e,t,n){e.nodeType==ri&&(e=e.documentElement);for(var r=Hr(t)?t:[t];e;){for(var i=0,o=r.length;o>i;i++)if(b(n=Nr.data(e,r[i])))return n;e=e.parentNode||e.nodeType===ii&&e.host}}function Ue(e){for(Fe(e,!0);e.firstChild;)e.removeChild(e.firstChild)}function qe(e,t){t||Fe(e);var n=e.parentNode;n&&n.removeChild(e)}function He(t,n){n=n||e,"complete"===n.document.readyState?n.setTimeout(t):Nr(n).on("load",t)}function Be(e,t){var n=wi[t.toLowerCase()];return n&&xi[L(e)]&&n}function We(e){return Ci[e]}function Ge(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=V(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 Qe(e,t,n){var r=t.relatedTarget;(!r||r!==e&&!yi.call(e,r))&&n.call(e,t)}function Ye(){this.$get=function(){return f(De,{hasClass:function(e,t){return e.attr&&(e=e[0]),_e(e,t)},addClass:function(e,t){return e.attr&&(e=e[0]),Le(e,t)},removeClass:function(e,t){return e.attr&&(e=e[0]),Pe(e,t)}})}}function Xe(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 Je(e,t){if(t){var n=0;this.nextUid=function(){return++n}}o(e,this.put,this)}function Ke(e){var t=e.toString().replace(Di,""),n=t.match(ki)||t.match(Si);return n}function et(e){var t=Ke(e);return t?"function("+(t[1]||"").replace(/[\s\r\n]+/," ")+")":"fn"}function tt(e,t,n){var r,i,a;if("function"==typeof e){if(!(r=e.$inject)){if(r=[],e.length){if(t)throw C(n)&&n||(n=e.name||et(e)),Oi("strictdi","{0} is not using explicit annotation and cannot be invoked in strict mode",n);i=Ke(e),o(i[1].split(Ai),function(e){e.replace(Ti,function(e,t,n){r.push(n)})})}e.$inject=r}}else Hr(e)?(a=e.length-1,pe(e[a],"fn"),r=e.slice(0,a)):pe(e,"fn",!0);return r}function nt(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(de(e,"service"),(S(t)||Hr(t))&&(t=E.instantiate(t)),!t.$get)throw Oi("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 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,g(t),!1)}function f(e,t){de(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){fe(y(e)||Hr(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=jr(e),n=n.concat(d(t.requires)).concat(t._runBlocks),r(t._invokeQueue),r(t._configBlocks)):S(e)?n.push(E.invoke(e)):Hr(e)?n.push(E.invoke(e)):pe(e,"module")}catch(i){throw Hr(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 h(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,o){"string"==typeof i&&(o=i,i=null);var a,s,u,l=[],c=nt.$$annotate(e,t,o);for(s=0,a=c.length;a>s;s++){if(u=c[s],"string"!=typeof u)throw Oi("itkn","Incorrect injection token! Expected service name as string, got {0}",u);l.push(i&&i.hasOwnProperty(u)?i[u]:r(u,o))}return Hr(e)&&(e=e[a]),e.apply(n,l)}function o(e,t,n){var r=Object.create((Hr(e)?e[e.length-1]:e).prototype||null),o=i(e,r,t,n);return w(o)||S(o)?o:r}return{invoke:i,instantiate:o,get:r,annotate:nt.$$annotate,has:function(t){return x.hasOwnProperty(t+v)||e.hasOwnProperty(t)}}}t=t===!0;var m={},v="Provider",$=[],b=new Je([],!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 Ur.isString(t)&&$.push(t),Oi("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 rt(){var e=!0;this.disableAutoScrolling=function(){e=!1},this.$get=["$window","$location","$rootScope",function(t,n,r){function i(e){var t=null;return Array.prototype.some.call(e,function(e){return"a"===L(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)&&He(function(){r.$evalAsync(s)})}),s}]}function it(e,t){return e||t?e?t?(Hr(e)&&(e=e.join(" ")),Hr(t)&&(t=t.join(" ")),e+" "+t):e:t:""}function ot(e){for(var t=0;tl&&this.remove(d.key),t}},get:function(e){if(l";var r=ce.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 N(e,t,n,r,i){e instanceof Nr||(e=Nr(e)),o(e,function(t,n){t.nodeType==ti&&t.nodeValue.match(/\S+/)&&(e[n]=Nr(t).wrap("").parent()[0])});var a=j(e,t,e,n,r,i);N.$$addScopeClass(e);var s=null;return function(t,n,r){fe(t,"scope"),i&&i.needsNewScope&&(t=t.$parent.$new()),r=r||{};var o=r.parentBoundTranscludeFn,u=r.transcludeControllers,l=r.futureParentElement;o&&o.$$boundTransclude&&(o=o.$$boundTransclude),s||(s=I(l));var c;if(c="html"!==s?Nr(te(s,Nr("
").append(e).html())):n?bi.clone.call(e):e, -u)for(var f in u)c.data("$"+f+"Controller",u[f].instance);return N.$$addScopeInfo(c,t),n&&n(c,t),a&&a(t,c,c,o),c}}function I(e){var t=e&&e[0];return t&&"foreignobject"!==L(t)&&t.toString().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(),N.$$addScopeInfo(Nr(u),l)):l=e,d=a.transcludeOnThisElement?_(e,a.transclude,o):!a.templateOnThisElement&&o?o:!o&&t?_(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=Wr(l.value),h=dt(c),(v=ge.test(h))&&(c=c.replace(zi,"").substr(8).replace(/_(.)/g,function(e,t){return t.toUpperCase()}));var E=h.match($e);E&&Z(E[1])&&(b=c,x=c.substr(0,c.length-5)+"end",c=c.substr(0,c.length-6)),f=dt(c.toLowerCase()),u[f]=c,(v||!n.hasOwnProperty(f))&&(n[f]=m,Be(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=dt(o[2]),G(t,f,"C",r,i)&&(n[f]=Wr(o[3])),a=a.substr(o.index+o[0].length);break;case ti:if(11===Mr)for(;e.parentNode&&e.nextSibling&&e.nextSibling.nodeType===ti;)e.nodeValue=e.nodeValue+e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);ee(t,e.nodeValue);break;case ni:try{o=p.exec(e.nodeValue),o&&(f=dt(o[1]),G(t,f,"M",r,i)&&(n[f]=Wr(o[2])))}catch(k){}}return t.sort(X),t}function z(e,t,n){var r=[],i=0;if(t&&e.hasAttribute&&e.hasAttribute(t)){do{if(!e)throw Ri("uterdir","Unterminated attribute, found '{0}' but no matching '{1}' found.",t,n);e.nodeType==Kr&&(e.hasAttribute(t)&&i++,e.hasAttribute(n)&&i--),r.push(e),e=e.nextSibling}while(i>0)}else r.push(e);return Nr(r)}function V(e,t,n){return function(r,i,o,a,s){return i=z(i[0],t,n),e(r,i,o,a,s)}}function q(e,t,n,r,i,o){if(e)return N(t,n,r,i,o);var a;return function(){return a||(a=N(t,n,r,i,o),t=n=o=null),a.apply(this,arguments)}}function B(e,r,a,s,l,c,f,p,d){function h(e,t,n,r){e&&(n&&(e=V(e,n,r)),e.require=$.require,e.directiveName=b,(M===$||$.$$isolateScope)&&(e=oe(e,{isolateScope:!0})),f.push(e)),t&&(n&&(t=V(t,n,r)),t.require=$.require,t.directiveName=b,(M===$||$.$$isolateScope)&&(t=oe(t,{isolateScope:!0})),p.push(t))}function m(e,t,n,r){var i;if(C(t)){var o=t.match(x),a=t.substring(o[0].length),s=o[1]||o[3],u="?"===o[2];if("^^"===s?n=n.parent():(i=r&&r[a],i=i&&i.instance),!i){var l="$"+a+"Controller";i=s?n.inheritedData(l):n.data(l)}if(!i&&!u)throw Ri("ctreq","Controller '{0}', required by directive '{1}', can't be found!",a,e)}else if(Hr(t)){i=[];for(var c=0,f=t.length;f>c;c++)i[c]=m(e,t[c],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===M||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,U||e.data("$"+l.name+"Controller",p.instance)}return a}function g(e,t,i,o,s){function u(e,t,r,i){var o;if(D(e)||(i=r,r=t,t=e,e=n),U&&(o=h),r||(r=U?$.parent():$),!i)return s(e,t,o,r,T);var a=s.$$slots[i];if(a)return a(e,t,o,r,T);if(y(a))throw Ri("noslot",'No parent directive that requires a transclusion with slot name "{0}". Element: {1}',i,J($))}var l,c,d,h,g,$,b,w,x;r===i?(b=a,$=a.$$element):($=Nr(i),b=new pe($,a)),d=t,M?c=t.$new(!0):O&&(d=t.$parent),s&&(g=u,g.$$boundTransclude=s,g.isSlotFilled=function(e){return!!s.$$slots[e]}),F&&(h=v($,b,g,F,c,t)),M&&(N.$$addScopeInfo($,c,!0,!(I&&(I===M||I===M.$$originalDirective))),N.$$addScopeClass($,!0),c.$$isolateBindings=M.$$isolateBindings,w=se(t,b,c,c.$$isolateBindings,M),w&&c.$on("$destroy",w));for(var C in h){var E=F[C],k=h[C],S=E.$$bindings.bindToController;k.identifier&&S&&(x=se(d,b,k.instance,S,E));var A=k();A!==k.instance&&(k.instance=A,$.data("$"+E.name+"Controller",A),x&&x(),x=se(d,b,k.instance,S,E))}for(ne=0,re=f.length;re>ne;ne++)l=f[ne],ae(l,l.isolateScope?c:t,$,b,l.require&&m(l.directiveName,l.require,$,h),g);var T=t;for(M&&(M.template||null===M.templateUrl)&&(T=c),e&&e(T,i.childNodes,n,s),ne=p.length-1;ne>=0;ne--)l=p[ne],ae(l,l.isolateScope?c:t,$,b,l.require&&m(l.directiveName,l.require,$,h),g)}d=d||{};for(var $,b,E,k,A,T=-Number.MAX_VALUE,O=d.newScopeDirective,F=d.controllerDirectives,M=d.newIsolateScopeDirective,I=d.templateDirective,j=d.nonTlbTranscludeDirective,_=!1,R=!1,U=d.hasElementTranscludeDirective,B=a.$$element=Nr(r),G=c,Z=s,X=!1,ee=!1,ne=0,re=e.length;re>ne;ne++){$=e[ne];var ue=$.$$start,le=$.$$end;if(ue&&(B=z(r,ue,le)),E=n,T>$.priority)break;if((A=$.scope)&&($.templateUrl||(w(A)?(K("new/isolated scope",M||O,$,B),M=$):K("new/isolated scope",M,$,B)),O=O||$),b=$.name,!X&&($.replace&&($.templateUrl||$.template)||$.transclude&&!$.$$tlb)){for(var ce,fe=ne+1;ce=e[fe++];)if(ce.transclude&&!ce.$$tlb||ce.replace&&(ce.templateUrl||ce.template)){ee=!0;break}X=!0}if(!$.templateUrl&&$.controller&&(A=$.controller,F=F||ve(),K("'"+b+"' controller",F[b],$,B),F[b]=$),A=$.transclude)if(_=!0,$.$$tlb||(K("transclusion",j,$,B),j=$),"element"==A)U=!0,T=$.priority,E=B,B=a.$$element=Nr(t.createComment(" "+b+": "+a[b]+" ")),r=B[0],ie(l,H(E),r),Z=q(ee,E,s,T,G&&G.name,{nonTlbTranscludeDirective:j});else{var de=ve();if(E=Nr(Oe(r)).contents(),w(A)){E=[];var he=ve(),ge=ve();o(A,function(e,t){var n="?"===e.charAt(0);e=n?e.substring(1):e,he[e]=t,de[t]=null,ge[t]=n}),o(B.contents(),function(e){var t=he[dt(L(e))];t?(ge[t]=!0,de[t]=de[t]||[],de[t].push(e)):E.push(e)}),o(ge,function(e,t){if(!e)throw Ri("reqslot","Required transclusion slot `{0}` was not filled.",t)});for(var $e in de)de[$e]&&(de[$e]=q(ee,de[$e],s))}B.empty(),Z=q(ee,E,s,n,n,{needsNewScope:$.$$isolateScope||$.$$newScope}),Z.$$slots=de}if($.template)if(R=!0,K("template",I,$,B),I=$,A=S($.template)?$.template(B,a):$.template,A=me(A),$.replace){if(G=$,E=Ce(A)?[]:mt(te($.templateNamespace,Wr(A))),r=E[0],1!=E.length||r.nodeType!==Kr)throw Ri("tplrt","Template for directive '{0}' must have exactly one root element. {1}",b,"");ie(l,B,r);var ye={$attr:{}},be=P(r,[],ye),we=e.splice(ne+1,e.length-(ne+1));(M||O)&&W(be,M,O),e=e.concat(be).concat(we),Q(a,ye),re=e.length}else B.html(A);if($.templateUrl)R=!0,K("template",I,$,B),I=$,$.replace&&(G=$),g=Y(e.splice(ne,e.length-ne),B,a,l,_&&Z,f,p,{controllerDirectives:F,newScopeDirective:O!==$&&O,newIsolateScopeDirective:M,templateDirective:I,nonTlbTranscludeDirective:j}),re=e.length;else if($.compile)try{k=$.compile(B,a,Z),S(k)?h(null,k,ue,le):k&&h(k.pre,k.post,ue,le)}catch(xe){i(xe,J(B))}$.terminal&&(g.terminal=!0,T=Math.max(T,$.priority))}return g.scope=O&&O.scope===!0,g.transcludeOnThisElement=_,g.templateOnThisElement=R,g.transclude=Z,d.hasElementTranscludeDirective=U,g}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 Z(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 Q(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 Y(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=Ce(a)?[]:mt(te($,Wr(a))),h=b[0],1!=b.length||h.nodeType!==Kr)throw Ri("tplrt","Template for directive '{0}' must have exactly one root element. {1}",m.name,g);y={$attr:{}},ie(r,t,h);var C=P(h,[],y);w(m.scope)&&W(C,!0),e=C.concat(e),Q(n,y)}else h=d,t.html(a);for(e.unshift(v),c=B(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=Oe(h)),ie(S,Nr(k),T),M(Nr(T),D)}x=c.transcludeOnThisElement?_(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=_(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 A.HTML;var n=L(e);return"xlinkHref"==t||"form"==n&&"action"==t||"img"!=n&&("src"==t||"ngSrc"==t)?A.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"===L(e))throw Ri("selmulti","Binding to the 'multiple' attribute is not supported. Element: {0}",J(e));t.push({priority:100,compile:function(){return{pre:function(e,t,u){var l=u.$$observers||(u.$$observers=ve());if(E.test(i))throw Ri("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(Nr.hasData(a)&&(Nr.data(r,Nr.data(a)),Nr(a).off("$destroy")),Nr.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,J(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||Tr.call(t,d)||(n[o]=t[d]=void 0),t.$observe(d,function(e){C(e)&&(n[o]=e)}),t.$$observers[d].$$scope=e,C(t[d])&&(n[o]=r(t[d])(e));break;case"=":if(!Tr.call(t,d)){if(h)break;t[d]=void 0}if(h&&!t[d])break;c=s(t[d]),p=c.literal?U:function(e,t){return e===t||e!==e&&t!==t},f=c.assign||function(){throw l=n[o]=c(e),Ri("nonassign","Expression '{0}' used with directive '{1}' is non-assignable!",t[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/,ce=t.createElement("div"),pe=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};pe.prototype={$normalize:dt,$addClass:function(e){e&&e.length>0&&T.addClass(this.$$element,e)},$removeClass:function(e){e&&e.length>0&&T.removeClass(this.$$element,e)},$updateClass:function(e,t){var n=ht(e,t);n&&n.length&&T.addClass(this.$$element,n);var r=ht(t,e);r&&r.length&&T.removeClass(this.$$element,r)},$set:function(e,t,n,r){var a,s=this.$$element[0],u=Be(s,e),l=We(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=le(e,"-"))),a=L(this.$$element),"a"===a&&("href"===e||"xlinkHref"===e)||"img"===a&&"src"===e)this[e]=t=O(t,"src"===e);else if("img"===a&&"srcset"===e){for(var f="",p=Wr(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+=O(Wr(m[$]),!0),f+=" "+Wr(m[$+1])}var b=Wr(m[2*g]).split(/\s/);f+=O(Wr(b[0]),!0),2===b.length&&(f+=" "+Wr(b[1])),this[e]=t=f}n!==!1&&(null===t||y(t)?this.$$element.removeAttr(r):ue.test(r)?this.$$element.attr(r,t):F(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),g.$evalAsync(function(){i.$$inter||!n.hasOwnProperty(e)||y(n[e])||t(n[e])}),function(){R(i,t)}}};var de=r.startSymbol(),he=r.endSymbol(),me="{{"==de||"}}"==he?v:function(e){return e.replace(/\{\{/g,de).replace(/}}/g,he)},ge=/^ngAttr[A-Z]/,$e=/^(.+)Start$/;return N.$$addBindingInfo=k?function(e,t){var n=e.data("$binding")||[];Hr(t)?n=n.concat(t):n.push(t),e.data("$binding",n)}:m,N.$$addBindingClass=k?function(e){M(e,"ng-binding")}:m,N.$$addScopeInfo=k?function(e,t,n,r){var i=n?r?"$isolateScopeNoTemplate":"$isolateScope":"$scope";e.data(i,t)}:m,N.$$addScopeClass=k?function(e,t){M(e,t?"ng-isolate-scope":"ng-scope")}:m,N}]}function dt(e){return xe(e.replace(zi,""))}function ht(e,t){var n="",r=e.split(/\s+/),i=t.split(/\s+/);e:for(var o=0;o0?" ":"")+a}return n}function mt(e){e=Nr(e);var t=e.length;if(1>=t)return e;for(;t--;){var n=e[t];n.nodeType===ni&&Pr.call(e,t,1)}return e}function vt(e,t){if(t&&C(t))return t;if(C(e)){var n=Ui.exec(e);if(n)return n[3]}}function gt(){var e={},t=!1;this.register=function(t,n){de(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(Ui),!p)throw Vi("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]:he(s.$scope,d,!0)||(t?he(o,d,!0):n),pe(r,d,!0)}if(u){var m=(Hr(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 $t(){this.$get=["$window",function(e){return Nr(e.document)}]}function yt(){this.$get=["$log",function(e){return function(t,n){e.error.apply(e,arguments)}}]}function bt(e){return w(e)?k(e)?e.toISOString():G(e):e}function wt(){this.$get=function(){return function(e){if(!e)return"";var t=[];return a(e,function(e,n){null===e||y(e)||(Hr(e)?o(e,function(e,r){t.push(re(n)+"="+re(bt(e)))}):t.push(re(n)+"="+re(bt(e))))}),t.join("&")}}}function xt(){this.$get=function(){return function(e){function t(e,r,i){null===e||y(e)||(Hr(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(re(r)+"="+re(bt(e))))}if(!e)return"";var n=[];return t(e,"",!0),n.join("&")}}}function Ct(e,t){if(C(e)){var n=e.replace(Zi,"").trim();if(n){var r=t("Content-Type");(r&&0===r.indexOf(Hi)||Et(n))&&(e=Z(n))}}return e}function Et(e){var t=e.match(Wi);return t&&Gi[t[0]].test(e)}function kt(e){function t(e,t){e&&(r[e]=r[e]?r[e]+", "+t:t)}var n,r=ve();return C(e)?o(e.split("\n"),function(e){n=e.indexOf(":"),t(Ar(Wr(e.substr(0,n))),Wr(e.substr(n+1)))}):w(e)&&o(e,function(e,n){t(Ar(n),Wr(e))}),r}function St(e){var t;return function(n){if(t||(t=kt(e)),n){var r=t[Ar(n)];return void 0===r&&(r=null),r}return t}}function At(e,t,n,r){return S(r)?r(e,t,n):(o(r,function(r){e=r(e,t,n)}),e)}function Tt(e){return e>=200&&300>e}function Dt(){var e=this.defaults={transformResponse:[Ct],transformRequest:[function(e){return!w(e)||O(e)||M(e)||F(e)?e:G(e)}],headers:{common:{Accept:"application/json, text/plain, */*"},post:V(Bi),put:V(Bi),patch:V(Bi)},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=At(e.data,e.headers,e.status,l.transformResponse),Tt(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[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,V(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=Dr(l.method),l.paramSerializer=C(l.paramSerializer)?d.get(l.paramSerializer):l.paramSerializer;var c=function(t){var r=t.headers,i=At(t.data,St(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),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 pe(e,"fn"),m.then(function(t){e(t.data,t.status,t.headers,l)}),m},m.error=function(e){return pe(e,"fn"),m.then(null,function(t){e(t.data,t.status,t.headers,l)}),m}):(m.success=Yi("success"),m.error=Yi("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&&(Tt(e)?d.put(E,[e,n,kt(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,(Tt(t)?v.resolve:v.reject)({data:e,status:t,headers:St(n),config:r,statusText:i})}function l(e){a(e.data,e.status,V(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):Hr(m)?a(m[1],m[0],V(m[2]),m[3]):a(m,200,{},"OK"):d.put(E,g)),y(m)){var k=Fn(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 Ot(){this.$get=function(){return function(){return new e.XMLHttpRequest}}}function Ft(){this.$get=["$browser","$window","$document","$xhrFactory",function(e,t,n,r){return Mt(e,r,e.defer,t.angular.callbacks,n[0])}]}function Mt(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){li(o,"load",a),li(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)},ui(o,"load",a),ui(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"==Ar(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"==On(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 Nt(){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=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,d,h){function m(e){try{return e=M(e),h&&!b(e)?e:s(e)}catch(t){r(Xi.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&&Xi.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(Xi.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 It(){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?H(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 jt(e){for(var t=e.split("/"),n=t.length;n--;)t[n]=ne(t[n]);return t.join("/")}function _t(e,t){var n=On(e);t.$$protocol=n.protocol,t.$$host=n.hostname,t.$$port=d(n.port)||Ki[n.protocol]||null}function Pt(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=ee(r.search),t.$$hash=decodeURIComponent(r.hash),t.$$path&&"/"!=t.$$path.charAt(0)&&(t.$$path="/"+t.$$path)}function Lt(e,t){return 0===t.indexOf(e)?t.substr(e.length):void 0}function Rt(e){var t=e.indexOf("#");return-1==t?e:e.substr(0,t)}function zt(e){return e.replace(/(#.+)|#$/,"$1")}function Vt(e){return e.substr(0,Rt(e).lastIndexOf("/")+1)}function Ut(e){return e.substring(0,e.indexOf("/",e.indexOf("//")+2))}function qt(e,t,n){this.$$html5=!0,n=n||"",_t(e,this),this.$$parse=function(e){var n=Lt(t,e);if(!C(n))throw eo("ipthprfx",'Invalid url "{0}", missing path prefix "{1}".',e,t);Pt(n,this),this.$$path||(this.$$path="/"),this.$$compose()},this.$$compose=function(){var e=te(this.$$search),n=this.$$hash?"#"+ne(this.$$hash):"";this.$$url=jt(this.$$path)+(e?"?"+e:"")+n,this.$$absUrl=t+this.$$url.substr(1)},this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;var o,a,s;return b(o=Lt(e,r))?(a=o,s=b(o=Lt(n,o))?t+(Lt("/",o)||o):e+a):b(o=Lt(t,r))?s=t+o:t==r+"/"&&(s=t),s&&this.$$parse(s),!!s}}function Ht(e,t,n){_t(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=Lt(e,r)||Lt(t,r);y(a)||"#"!==a.charAt(0)?this.$$html5?o=a:(o="",y(a)&&(e=r,this.replace())):(o=Lt(n,a),y(o)&&(o=a)),Pt(o,this),this.$$path=i(this.$$path,o,e),this.$$compose()},this.$$compose=function(){var t=te(this.$$search),r=this.$$hash?"#"+ne(this.$$hash):"";this.$$url=jt(this.$$path)+(t?"?"+t:"")+r,this.$$absUrl=e+(this.$$url?n+this.$$url:"")},this.$$parseLinkUrl=function(t,n){return Rt(e)==Rt(t)?(this.$$parse(t),!0):!1}}function Bt(e,t,n){this.$$html5=!0,Ht.apply(this,arguments),this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;var o,a;return e==Rt(r)?o=r:(a=Lt(t,r))?o=e+n+a:t===r+"/"&&(o=t),o&&this.$$parse(o),!!o},this.$$compose=function(){var t=te(this.$$search),r=this.$$hash?"#"+ne(this.$$hash):"";this.$$url=jt(this.$$path)+(t?"?"+t:"")+r,this.$$absUrl=e+n+this.$$url}}function Wt(e){return function(){return this[e]}}function Gt(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 eo("nobase","$location in HTML5 mode requires a tag to be present!");f=Ut(d)+(p||"/"),c=i.history?qt:Bt}else f=Rt(d),c=Ht;var h=Vt(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=Nr(e.target);"a"!==L(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(d)&&r.url(l.absUrl(),!0);var v=!0;return r.onUrlChange(function(e,t){return y(Lt(h,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)):(v=!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;(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 Qt(){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 Yt(e,t){if("__defineGetter__"===e||"__defineSetter__"===e||"__lookupGetter__"===e||"__lookupSetter__"===e||"__proto__"===e)throw no("isecfld","Attempting to access a disallowed field in Angular expressions! Expression: {0}",t);return e}function Xt(e,t){if(e+="",!C(e))throw no("iseccst","Cannot convert object to primitive value! Expression: {0}",t);return e}function Jt(e,t){if(e){if(e.constructor===e)throw no("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",t);if(e.window===e)throw no("isecwindow","Referencing the Window in Angular expressions is disallowed! Expression: {0}",t);if(e.children&&(e.nodeName||e.prop&&e.attr&&e.find))throw no("isecdom","Referencing DOM nodes in Angular expressions is disallowed! Expression: {0}",t);if(e===Object)throw no("isecobj","Referencing Object in Angular expressions is disallowed! Expression: {0}",t)}return e}function Kt(e,t){if(e){if(e.constructor===e)throw no("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",t);if(e===ro||e===io||e===oo)throw no("isecff","Referencing call, apply or bind in Angular expressions is disallowed! Expression: {0}",t)}}function en(e,t){if(e&&(e===0..constructor||e===(!1).constructor||e==="".constructor||e==={}.constructor||e===[].constructor||e===Function.constructor))throw no("isecaf","Assigning to a constructor is disallowed! Expression: {0}",t)}function tn(e,t){return"undefined"!=typeof e?e:t}function nn(e,t){return"undefined"==typeof e?t:"undefined"==typeof t?e:e+t}function rn(e,t){var n=e(t);return!n.$stateful}function on(e,t){var n,r;switch(e.type){case lo.Program:n=!0,o(e.body,function(e){on(e.expression,t),n=n&&e.expression.constant}),e.constant=n;break;case lo.Literal:e.constant=!0,e.toWatch=[];break;case lo.UnaryExpression:on(e.argument,t),e.constant=e.argument.constant,e.toWatch=e.argument.toWatch;break;case lo.BinaryExpression:on(e.left,t),on(e.right,t),e.constant=e.left.constant&&e.right.constant, -e.toWatch=e.left.toWatch.concat(e.right.toWatch);break;case lo.LogicalExpression:on(e.left,t),on(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.constant?[]:[e];break;case lo.ConditionalExpression:on(e.test,t),on(e.alternate,t),on(e.consequent,t),e.constant=e.test.constant&&e.alternate.constant&&e.consequent.constant,e.toWatch=e.constant?[]:[e];break;case lo.Identifier:e.constant=!1,e.toWatch=[e];break;case lo.MemberExpression:on(e.object,t),e.computed&&on(e.property,t),e.constant=e.object.constant&&(!e.computed||e.property.constant),e.toWatch=[e];break;case lo.CallExpression:n=e.filter?rn(t,e.callee.name):!1,r=[],o(e.arguments,function(e){on(e,t),n=n&&e.constant,e.constant||r.push.apply(r,e.toWatch)}),e.constant=n,e.toWatch=e.filter&&rn(t,e.callee.name)?r:[e];break;case lo.AssignmentExpression:on(e.left,t),on(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=[e];break;case lo.ArrayExpression:n=!0,r=[],o(e.elements,function(e){on(e,t),n=n&&e.constant,e.constant||r.push.apply(r,e.toWatch)}),e.constant=n,e.toWatch=r;break;case lo.ObjectExpression:n=!0,r=[],o(e.properties,function(e){on(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 lo.ThisExpression:e.constant=!1,e.toWatch=[];break;case lo.LocalsExpression:e.constant=!1,e.toWatch=[]}}function an(e){if(1==e.length){var t=e[0].expression,r=t.toWatch;return 1!==r.length?r:r[0]!==t?r:n}}function sn(e){return e.type===lo.Identifier||e.type===lo.MemberExpression}function un(e){return 1===e.body.length&&sn(e.body[0].expression)?{type:lo.AssignmentExpression,left:e.body[0].expression,right:{type:lo.NGValueParameter},operator:"="}:void 0}function ln(e){return 0===e.body.length||1===e.body.length&&(e.body[0].expression.type===lo.Literal||e.body[0].expression.type===lo.ArrayExpression||e.body[0].expression.type===lo.ObjectExpression)}function cn(e){return e.constant}function fn(e,t){this.astBuilder=e,this.$filter=t}function pn(e,t){this.astBuilder=e,this.$filter=t}function dn(e){return"constructor"==e}function hn(e){return S(e.valueOf)?e.valueOf():fo.call(e)}function mn(){var e=ve(),t=ve();this.$get=["$filter",function(r){function i(e,t){return null==e||null==t?e===t:"object"==typeof e&&(e=hn(e),"object"==typeof e)?!1:e===t||e!==e&&t!==t}function a(e,t,r,o,a){var s,u=o.inputs;if(1===u.length){var l=i;return u=u[0],e.$watch(function(e){var t=u(e);return i(t,l)||(s=o(e,n,n,[t]),l=t&&hn(t)),s},t,r,a)}for(var c=[],f=[],p=0,d=u.length;d>p;p++)c[p]=i,f[p]=null;return e.$watch(function(e){for(var t=!1,r=0,a=u.length;a>r;r++){var l=u[r](e);(t||(t=!i(l,c[r])))&&(f[r]=l,c[r]=l&&hn(l))}return t&&(s=o(e,n,n,f)),s},t,r,a)}function s(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 u(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 l(e,t,n,r){var i;return i=e.$watch(function(e){return i(),r(e)},t,n)}function c(e,t){if(!t)return e;var n=e.$$watchDelegate,r=!1,i=n!==u&&n!==s,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!==a?o.$$watchDelegate=e.$$watchDelegate:t.$stateful||(o.$$watchDelegate=a,r=!e.inputs,o.inputs=e.inputs?e.inputs:[e]),o}var f=Zr().noUnsafeEval,p={csp:f,expensiveChecks:!1},d={csp:f,expensiveChecks:!0};return function(n,i,o){var f,h,v;switch(typeof n){case"string":n=n.trim(),v=n;var g=o?t:e;if(f=g[v],!f){":"===n.charAt(0)&&":"===n.charAt(1)&&(h=!0,n=n.substring(2));var $=o?d:p,y=new uo($),b=new co(y,r,$);f=b.parse(n),f.constant?f.$$watchDelegate=l:h?f.$$watchDelegate=f.literal?u:s:f.inputs&&(f.$$watchDelegate=a),g[v]=f}return c(f,i);case"function":return c(n,i);default:return c(m,i)}}}]}function vn(){this.$get=["$rootScope","$exceptionHandler",function(e,t){return $n(function(t){e.$evalAsync(t)},t)}]}function gn(){this.$get=["$browser","$exceptionHandler",function(e,t){return $n(function(t){e.defer(t)},t)}]}function $n(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=Hr(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 x(e){function t(e){r.resolve(e)}function n(e){r.reject(e)}if(!S(e))throw p("norslvr","Expected resolverFn, got '{0}'",e);if(!(this instanceof x))return new x(e);var r=new l;return e(t,n),r.promise};return b.defer=d,b.reject=h,b.when=g,b.resolve=$,b.all=c,b}function yn(){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 bn(){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===Mr&&(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(){R(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)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)):(v++,a[n]=s,f++));if(v>t){f++;for(n in a)Tr.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?U(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?z(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: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),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=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 E=new d,k=E.$$asyncQueue=[],A=E.$$postDigestQueue=[],T=E.$$applyAsyncQueue=[];return E}]}function wn(){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 xn(e){if("self"===e)return e;if(C(e)){if(e.indexOf("***")>-1)throw po("iwcard","Illegal sequence *** in string matcher. String: {0}",e);return e=Gr(e).replace("\\*\\*",".*").replace("\\*","[^:/.?&;]*"),new RegExp("^"+e+"$")}if(A(e))return new RegExp("^"+e.source+"$");throw po("imatcher",'Matchers may only be "self", string patterns or RegExp objects')}function Cn(e){var t=[];return b(e)&&o(e,function(e){t.push(xn(e))}),t}function En(){this.SCE_CONTEXTS=ho;var e=["self"],t=[];this.resourceUrlWhitelist=function(t){return arguments.length&&(e=Cn(t)),e},this.resourceUrlBlacklist=function(e){return arguments.length&&(t=Cn(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 po("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 po("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===ho.RESOURCE_URL){if(i(t))return t;throw po("insecurl","Blocked loading resource from url not allowed by $sceDelegate policy. URL: {0}",t.toString())}if(e===ho.HTML)return l(t);throw po("unsafe","Attempting to use an unsafe value in a safe context.")}var l=function(e){throw po("unsafe","Attempting to use an unsafe value in a safe context.")};n.has("$sanitize")&&(l=n.get("$sanitize"));var c=o(),f={};return f[ho.HTML]=o(c),f[ho.CSS]=o(c),f[ho.URL]=o(c),f[ho.JS]=o(c),f[ho.RESOURCE_URL]=o(f[ho.URL]),{trustAs:a,getTrusted:u,valueOf:s}}]}function kn(){var e=!0;this.enabled=function(t){return arguments.length&&(e=!!t),e},this.$get=["$parse","$sceDelegate",function(t,n){if(e&&8>Mr)throw po("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=V(ho);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(ho,function(e,t){var n=Ar(t);r[xe("parse_as_"+n)]=function(t){return i(e,t)},r[xe("get_trusted_"+n)]=function(t){return a(e,t)},r[xe("trust_as_"+n)]=function(t){return s(e,t)}}),r}]}function Sn(){this.$get=["$window","$document",function(e,t){var n,r,i={},o=d((/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 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>=Mr)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 An(){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 Ri("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 Hr(l)?l=l.filter(function(e){return e!==Ct}):l===Ct&&(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 Tn(){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=Ur.element(e).data("$binding");r&&o(r,function(r){if(n){var o=new RegExp("(^|\\s)"+Gr(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 In(){this.$get=Nn}function jn(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",tr),t("filter",_n),t("json",nr),t("limitTo",rr),t("lowercase",Co),t("number",Vn),t("orderBy",ir),t("uppercase",Eo)}function _n(){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=Rn(t);switch(s){case"function":o=t;break;case"boolean":case"null":case"number":case"string":a=!0;case"object":o=Pn(t,n,a);break;default:return e}return Array.prototype.filter.call(e,o)}}function Pn(e,t,n){var r,i=w(e)&&"$"in e;return t===!0?t=U:S(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)?Ln(r,e.$,t,!1):Ln(r,e,t,n)}}function Ln(e,t,n,r,i){var o=Rn(e),a=Rn(t);if("string"===a&&"!"===t.charAt(0))return!Ln(e,t.substring(1),n,r);if(Hr(e))return e.some(function(e){return Ln(e,t,n,r)});switch(o){case"object":var s;if(r){for(s in e)if("$"!==s.charAt(0)&&Ln(e[s],t,n,!0))return!0;return i?!1:Ln(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(!Ln(c,u,n,l,l))return!1}}return!0}return n(e,t);case"function":return!1;default:return n(e,t)}}function Rn(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:Hn(e,t.PATTERNS[1],t.GROUP_SEP,t.DECIMAL_SEP,r).replace(/\u00A4/g,n)}}function Vn(e){var t=e.NUMBER_FORMATS;return function(e,n){return null==e?e:Hn(e,t.PATTERNS[0],t.GROUP_SEP,t.DECIMAL_SEP,n)}}function Un(e){var t,n,r,i,o,a=0;for((n=e.indexOf($o))>-1&&(e=e.replace($o,"")),(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)==yo;r++);if(r==(o=e.length))t=[0],n=1;else{for(o--;e.charAt(o)==yo;)o--;for(n-=r,t=[],i=0;o>=r;r++,i++)t[i]=+e.charAt(r)}return n>go&&(t=t.splice(0,go-1),a=n-1,n=1),{d:t,e:a,i:n}}function qn(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 Hn(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=Un(u),qn(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 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 Gn(e,t){return function(n,r){var i=n["get"+e](),o=Dr(t?"SHORT"+e:e);return r[o][i]}}function Zn(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 Qn(e){var t=new Date(e,0,1).getDay();return new Date(e,0,(4>=t?5:12)-t)}function Yn(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate()+(4-e.getDay()))}function Xn(e){return function(t){var n=Qn(t.getFullYear()),r=Yn(t),i=+r-+n,o=1+Math.round(i/6048e5);return Bn(o,e)}}function Jn(e,t){return e.getHours()<12?t.AMPMS[0]:t.AMPMS[1]}function Kn(e,t){return e.getFullYear()<=0?t.ERAS[0]:t.ERAS[1]}function er(e,t){return e.getFullYear()<=0?t.ERANAMES[0]:t.ERANAMES[1]}function tr(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=xo.test(n)?d(n):t(n)),E(n)&&(n=new Date(n)),!k(n)||!isFinite(n.getTime()))return n;for(;r;)s=wo.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=X(n,i,!0)),o(l,function(t){a=bo[t],u+=a?a(n,e.DATETIME_FORMATS,c):t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}}function nr(){return function(e,t){return y(t)&&(t=2),G(e,t)}}function rr(){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()),Hr(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 ir(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);Hr(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 or(e){return S(e)&&(e={link:e}),e.restrict=e.restrict||"AC",g(e)}function ar(e,t){e.$name=t}function sr(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){de(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)}),R(u,e),e.$$parentForm=Ao},xr({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&&(R(r,n),0===r.length&&delete e[t])},$animate:i}),s.$setDirty=function(){i.removeClass(e,la),i.addClass(e,ca),s.$dirty=!0,s.$pristine=!1,s.$$parentForm.$setDirty()},s.$setPristine=function(){i.setClass(e,la,ca+" "+To),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,To),s.$submitted=!0,s.$$parentForm.$setSubmitted()}}function ur(e){e.$formatters.push(function(t){return e.$isEmpty(t)?t:t.toString()})}function lr(e,t,n,r,i,o){cr(e,t,n,r,i,o),ur(r)}function cr(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=Wr(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 fr(e,t){if(k(e))return e;if(C(e)){Lo.lastIndex=0;var n=Lo.exec(e);if(n){var r=+n[1],i=+n[2],o=0,a=0,s=0,u=0,l=Qn(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(k(n))return n;if(C(n)){if('"'==n.charAt(0)&&'"'==n.charAt(n.length-1)&&(n=n.substring(1,n.length-1)),Mo.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 hr(e,t,r,i){var o=t[0],a=i.$$hasNativeValidators=w(o.validity);a&&i.$parsers.push(function(e){var r=t.prop(Sr)||{};return r.badInput||r.typeMismatch?n:e})}function mr(e,t,r,i,o,a){if(hr(e,t,r,i),cr(e,t,r,i,o,a),i.$$parserName="number",i.$parsers.push(function(e){return i.$isEmpty(e)?null:jo.test(e)?parseFloat(e):n}),i.$formatters.push(function(e){if(!i.$isEmpty(e)){if(!E(e))throw va("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 vr(e,t,n,r,i,o){cr(e,t,n,r,i,o),ur(r),r.$$parserName="url",r.$validators.url=function(e,t){var n=e||t;return r.$isEmpty(n)||No.test(n)}}function gr(e,t,n,r,i,o){cr(e,t,n,r,i,o),ur(r),r.$$parserName="email",r.$validators.email=function(e,t){var n=e||t;return r.$isEmpty(n)||Io.test(n)}}function $r(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 yr(e,t,n,r,i){var o;if(b(r)){if(o=e(r),!o.constant)throw va("constexpr","Expected constant expression for `{0}`, but saw `{1}`.",n,r);return o(t)}return i}function br(e,t,n,r,i,o,a,s){var u=yr(s,e,"ngTrueValue",n.ngTrueValue,!0),l=yr(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 U(e,u)}),r.$parsers.push(function(e){return e?u:l})}function wr(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(!U(e,h)){var r=i(h);p(r,n)}}else l(n)}h=V(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 xr(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(da,!0),s.$valid=s.$invalid=n,a("",null)):(o(da,!1),s.$valid=Cr(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),Cr(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?"-"+le(e,"-"):"",o(sa+e,t===!0),o(ua+e,t===!1)}var s=e.ctrl,u=e.$element,l={},c=e.set,f=e.unset,p=e.$animate;l[ua]=!(l[sa]=u.hasClass(sa)),s.$setValidity=t}function Cr(e){if(e)for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}function Er(e){e[0].hasAttribute("selected")&&(e[0].selected=!0)}var kr=/^\/(.+)\/([a-z]*)$/,Sr="validity",Ar=function(e){return C(e)?e.toLowerCase():e},Tr=Object.prototype.hasOwnProperty,Dr=function(e){return C(e)?e.toUpperCase():e},Or=function(e){return C(e)?e.replace(/[A-Z]/g,function(e){return String.fromCharCode(32|e.charCodeAt(0))}):e},Fr=function(e){return C(e)?e.replace(/[a-z]/g,function(e){return String.fromCharCode(-33&e.charCodeAt(0))}):e};"i"!=="I".toLowerCase()&&(Ar=Or,Dr=Fr);var Mr,Nr,Ir,jr,_r=[].slice,Pr=[].splice,Lr=[].push,Rr=Object.prototype.toString,zr=Object.getPrototypeOf,Vr=r("ng"),Ur=e.angular||(e.angular={}),qr=0;Mr=t.documentMode,m.$inject=[],v.$inject=[];var Hr=Array.isArray,Br=/^\[object (?:Uint8|Uint8Clamped|Uint16|Uint32|Int8|Int16|Int32|Float32|Float64)Array\]$/,Wr=function(e){return C(e)?e.trim():e},Gr=function(e){return e.replace(/([-()\[\]{}+?*.$\^|,:#n;++n)if(r=Yr[n],e=t.querySelector("["+r.replace(":","\\:")+"jq]")){i=e.getAttribute(r+"jq");break}return Qr.name_=i},Yr=["ng-","data-ng-","ng:","x-ng-"],Xr=/[A-Z]/g,Jr=!1,Kr=1,ei=2,ti=3,ni=8,ri=9,ii=11,oi={full:"1.5.0-rc.0",major:1,minor:5,dot:0,codeName:"oblong-panoptikum"};De.expando="ng339";var ai=De.cache={},si=1,ui=function(e,t,n){e.addEventListener(t,n,!1)},li=function(e,t,n){e.removeEventListener(t,n,!1)};De._data=function(e){return this.cache[e[this.expando]]||{}};var ci=/([\:\-\_]+(.))/g,fi=/^moz([A-Z])/,pi={mouseleave:"mouseout",mouseenter:"mouseover"},di=r("jqLite"),hi=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,mi=/<|&#?\w+;/,vi=/<([\w:-]+)/,gi=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,$i={option:[1,'"],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};$i.optgroup=$i.option,$i.tbody=$i.tfoot=$i.colgroup=$i.caption=$i.thead,$i.th=$i.td;var yi=Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))},bi=De.prototype={ready:function(n){function r(){i||(i=!0,n())}var i=!1;"complete"===t.readyState?setTimeout(r):(this.on("DOMContentLoaded",r),De(e).on("load",r))},toString:function(){var e=[];return o(this,function(t){e.push(""+t)}),"["+e.join(", ")+"]"},eq:function(e){return Nr(e>=0?this[e]:this[this.length+e])},length:0,push:Lr,sort:[].sort,splice:[].splice},wi={};o("multiple,selected,checked,disabled,readOnly,required,open".split(","),function(e){wi[Ar(e)]=e});var xi={};o("input,select,option,textarea,button,form,details".split(","),function(e){xi[e]=!0});var Ci={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern"};o({data:je,removeData:Ne,hasData:ke,cleanData:Se},function(e,t){De[t]=e}),o({data:je,inheritedData:Ve,scope:function(e){return Nr.data(e,"$scope")||Ve(e.parentNode||e,["$isolateScope","$scope"])},isolateScope:function(e){return Nr.data(e,"$isolateScope")||Nr.data(e,"$isolateScopeNoTemplate")},controller:ze,injector:function(e){return Ve(e,"$injector")},removeAttr:function(e,t){e.removeAttribute(t)},hasClass:_e,css:function(e,t,n){return t=xe(t),b(n)?void(e.style[t]=n):e.style[t]},attr:function(e,t,r){var i=e.nodeType;if(i!==ti&&i!==ei&&i!==ni){var o=Ar(t);if(wi[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===Kr||n===ti?e.textContent:""}e.textContent=t}return e.$dv="",e}(),val:function(e,t){if(y(t)){if(e.multiple&&"select"===L(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:Ue},function(e,t){De.prototype[t]=function(t,n){var r,i,o=this.length;if(e!==Ue&&y(2==e.length&&e!==_e&&e!==ze?t:n)){if(w(t)){for(r=0;o>r;r++)if(e===je)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:Ne,on:function(e,t,r,i){if(b(i))throw di("onargs","jqLite#on() does not support the `selector` or `eventData` parameters");if(Ee(e)){var o=Ie(e,!0),a=o.events,s=o.handle;s||(s=o.handle=Ge(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||ui(e,t,s)),o.push(r)};l--;)t=u[l],pi[t]?(c(pi[t],Qe),c(t,n,!0)):c(t)}},off:Me,one:function(e,t,n){e=Nr(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 De(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===Kr&&t.push(e)}),t},contents:function(e){return e.contentDocument||e.childNodes||[]},append:function(e,t){var n=e.nodeType;if(n===Kr||n===ii){t=new De(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===Kr){var n=e.firstChild;o(new De(t),function(t){e.insertBefore(t,n)})}},wrap:function(e,t){t=Nr(t).eq(0).clone()[0];var n=e.parentNode;n&&n.replaceChild(t,e),t.appendChild(e)},remove:qe,detach:function(e){qe(e,!0)},after:function(e,t){var n=e,r=e.parentNode;t=new De(t);for(var i=0,o=t.length;o>i;i++){var a=t[i];r.insertBefore(a,n.nextSibling),n=a}},addClass:Le,removeClass:Pe,toggleClass:function(e,t,n){t&&o(t.split(" "),function(t){var r=n;y(r)&&(r=!_e(e,t)),(r?Le:Pe)(e,t)})},parent:function(e){var t=e.parentNode;return t&&t.nodeType!==ii?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=Ie(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=V(c),a=n?[r].concat(n):[r],o(i,function(t){r.isImmediatePropagationStopped()||t.apply(e,a)}))}},function(e,t){De.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=Nr(i))):Re(i,e(this[o],t,n,r));return b(i)?i:this},De.prototype.bind=De.prototype.on,De.prototype.unbind=De.prototype.off}),Je.prototype={put:function(e,t){this[Xe(e,this.nextUid)]=t},get:function(e){return this[Xe(e,this.nextUid)]},remove:function(e){var t=this[e=Xe(e,this.nextUid)];return delete this[e],t}};var Ei=[function(){this.$get=[function(){return Je}]}],ki=/^([^\(]+?)=>/,Si=/^[^\(]*\(\s*([^\)]*)\)/m,Ai=/,/,Ti=/^\s*(_?)(\S+?)\1\s*$/,Di=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,Oi=r("$injector");nt.$$annotate=tt;var Fi=r("$animate"),Mi=1,Ni="ng-animate",Ii=function(){var e=new Je,t=[];this.$get=["$$AnimateRunner","$rootScope",function(n,r){function i(e,t,n){var r=!1;return t&&(t=C(t)?t.split(" "):Hr(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=at(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&&Le(e,i),a&&Pe(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}}}]},ji=["$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+|\\/)"+Ni+"(\\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.',Ni)}return this.$$classNameFilter},this.$get=["$$animateQueue",function(e){function t(e,t,n){if(n){var r=ot(n);!r||r.parentNode||r.previousElementSibling||(n=null)}n?n.after(e):t.prepend(e)}return{on:e.on,off:e.off,pin:e.pin,enabled:e.enabled,cancel:function(e){e.end&&e.end()},enter:function(n,r,i,o){return r=r&&Nr(r),i=i&&Nr(i),r=r||i.parent(),t(n,r,i),e.push(n,"enter",st(o))},move:function(n,r,i,o){return r=r&&Nr(r),i=i&&Nr(i),r=r||i.parent(),t(n,r,i),e.push(n,"move",st(o))},leave:function(t,n){return e.push(t,"leave",st(n),function(){t.remove()})},addClass:function(t,n,r){return r=st(r),r.addClass=it(r.addclass,n),e.push(t,"addClass",r)},removeClass:function(t,n,r){return r=st(r),r.removeClass=it(r.removeClass,n),e.push(t,"removeClass",r)},setClass:function(t,n,r,i){return i=st(i),i.addClass=it(i.addClass,n),i.removeClass=it(i.removeClass,r),e.push(t,"setClass",i)},animate:function(t,n,r,i,o){return o=st(o),o.from=o.from?f(o.from,n):n,o.to=o.to?f(o.to,r):r,i=i||"ng-inline-animate",o.tempClasses=it(o.tempClasses,i),e.push(t,"animate",o)}}}]}],_i=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){ao[e]=!0});var so={n:"\n",f:"\f",r:"\r",t:" ",v:" ","'":"'",'"':'"'},uo=function(e){this.options=e};uo.prototype={constructor:uo,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||" "===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 no("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:lo.Program,body:e}},expressionStatement:function(){return{type:lo.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:lo.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:lo.ConditionalExpression,test:n,alternate:e,consequent:t}):n},logicalOR:function(){for(var e=this.logicalAND();this.expect("||");)e={type:lo.LogicalExpression,operator:"||",left:e,right:this.logicalAND()};return e},logicalAND:function(){for(var e=this.equality();this.expect("&&");)e={type:lo.LogicalExpression,operator:"&&",left:e,right:this.equality()};return e},equality:function(){for(var e,t=this.relational();e=this.expect("==","!=","===","!==");)t={type:lo.BinaryExpression,operator:e.text,left:t,right:this.relational()};return t},relational:function(){for(var e,t=this.additive();e=this.expect("<",">","<=",">=");)t={type:lo.BinaryExpression,operator:e.text,left:t,right:this.additive()};return t},additive:function(){for(var e,t=this.multiplicative();e=this.expect("+","-");)t={type:lo.BinaryExpression,operator:e.text,left:t,right:this.multiplicative()};return t},multiplicative:function(){for(var e,t=this.unary();e=this.expect("*","/","%");)t={type:lo.BinaryExpression,operator:e.text,left:t,right:this.unary()};return t},unary:function(){var e;return(e=this.expect("+","-","!"))?{type:lo.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=z(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:lo.CallExpression,callee:e,arguments:this.parseArguments()},this.consume(")")):"["===t.text?(e={type:lo.MemberExpression,object:e,property:this.expression(),computed:!0},this.consume("]")):"."===t.text?e={type:lo.MemberExpression,object:e,property:this.identifier(),computed:!1}:this.throwError("IMPOSSIBLE");return e},filter:function(e){for(var t=[e],n={type:lo.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:lo.Identifier,name:e.text}},constant:function(){return{type:lo.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:lo.ArrayExpression,elements:e}},object:function(){var e,t=[];if("}"!==this.peekToken().text)do{if(this.peek("}"))break;e={type:lo.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:lo.ObjectExpression,properties:t}},throwError:function(e,t){throw no("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 no("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 no("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:lo.Literal,value:!0},"false":{type:lo.Literal,value:!1},"null":{type:lo.Literal,value:null},undefined:{type:lo.Literal,value:n},"this":{type:lo.ThisExpression},$locals:{type:lo.LocalsExpression}}},fn.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:[]},on(i,r.$filter);var a,s="";if(this.stage="assign",a=un(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=an(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,Yt,Jt,Kt,Xt,en,tn,nn,e);return this.state=this.stage=n,f.literal=ln(i),f.constant=cn(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 lo.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 lo.Literal:f=this.escape(e.value),this.assign(t,f),i(f);break;case lo.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 lo.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 lo.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 lo.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 lo.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),Yt(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||dn(e.name))&&p.addEnsureSafeObject(t),i(t);break;case lo.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)):(Yt(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||dn(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 lo.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 lo.AssignmentExpression:if(l=this.nextId(),u={},!sn(e.left))throw no("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 lo.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 lo.ObjectExpression:c=[],o(e.properties,function(e){p.recurse(e.value,p.nextId(),n,function(t){c.push(p.escape(e.key.type===lo.Identifier?e.key.name:""+e.key.value)+":"+t)})}),f="{"+c.join(",")+"}",this.assign(t,f),i(f);break;case lo.ThisExpression:this.assign(t,"s"),i("s");break;case lo.LocalsExpression:this.assign(t,"l"), -i("l");break;case lo.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+",text)")},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 no("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,on(r,n.$filter);var i,a;(i=un(r))&&(a=this.recurse(i));var s,u=an(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=ln(r),c.constant=cn(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 lo.Literal:return this.value(e.value,t);case lo.UnaryExpression:return a=this.recurse(e.argument),this["unary"+e.operator](a,t);case lo.BinaryExpression:return i=this.recurse(e.left),a=this.recurse(e.right),this["binary"+e.operator](i,a,t);case lo.LogicalExpression:return i=this.recurse(e.left),a=this.recurse(e.right),this["binary"+e.operator](i,a,t);case lo.ConditionalExpression:return this["ternary?:"](this.recurse(e.test),this.recurse(e.alternate),this.recurse(e.consequent),t);case lo.Identifier:return Yt(e.name,u.expression),u.identifier(e.name,u.expensiveChecks||dn(e.name),t,r,u.expression);case lo.MemberExpression:return i=this.recurse(e.object,!1,!!r),e.computed||(Yt(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 lo.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&&Jt(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=Xt(l),Yt(l,i),r&&1!==r&&(en(f),f&&!f[l]&&(f[l]={})),c=f[l],Jt(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&&(en(f),f&&!f[t]&&(f[t]={}));var p=null!=f?f[t]:n;return(r||dn(t))&&Jt(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 co=function(e,t,n){this.lexer=e,this.$filter=t,this.options=n,this.ast=new lo(this.lexer),this.astCompiler=n.csp?new pn(this.ast,t):new fn(this.ast,t)};co.prototype={constructor:co,parse:function(e){return this.astCompiler.compile(e,this.options.expensiveChecks)}};var fo=(ve(),ve(),Object.prototype.valueOf),po=r("$sce"),ho={HTML:"html",CSS:"css",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},Ri=r("$compile"),mo=t.createElement("a"),vo=On(e.location.href);Nn.$inject=["$document"],jn.$inject=["$provide"];var go=22,$o=".",yo="0";zn.$inject=["$locale"],Vn.$inject=["$locale"];var bo={yyyy:Wn("FullYear",4),yy:Wn("FullYear",2,0,!0),y:Wn("FullYear",1),MMMM:Gn("Month"),MMM:Gn("Month",!0),MM:Wn("Month",2,1),M:Wn("Month",1,1),dd:Wn("Date",2),d:Wn("Date",1),HH:Wn("Hours",2),H:Wn("Hours",1),hh:Wn("Hours",2,-12),h:Wn("Hours",1,-12),mm:Wn("Minutes",2),m:Wn("Minutes",1),ss:Wn("Seconds",2),s:Wn("Seconds",1),sss:Wn("Milliseconds",3),EEEE:Gn("Day"),EEE:Gn("Day",!0),a:Jn,Z:Zn,ww:Xn(2),w:Xn(1),G:Kn,GG:Kn,GGG:Kn,GGGG:er},wo=/((?:[^yMdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|d+|H+|h+|m+|s+|a|Z|G+|w+))(.*)/,xo=/^\-?\d+$/;tr.$inject=["$locale"];var Co=g(Ar),Eo=g(Dr);ir.$inject=["$parse"];var ko=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]"===Rr.call(t.prop("href"))?"xlink:href":"href";t.on("click",function(e){t.attr(n)||e.preventDefault()})}}}}),So={};o(wi,function(e,t){function n(e,n,i){e.$watch(i[r],function(e){i.$set(t,!!e)})}if("multiple"!=e){var r=dt("ng-"+t),i=n;"checked"===e&&(i=function(e,t,i){i.ngModel!==i[r]&&n(e,t,i)}),So[r]=function(){return{restrict:"A",priority:100,link:i}}}}),o(Ci,function(e,t){So[t]=function(){return{priority:100,link:function(e,n,r){if("ngPattern"===t&&"/"==r.ngPattern.charAt(0)){var i=r.ngPattern.match(kr);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=dt("ng-"+e);So[t]=function(){return{priority:99,link:function(n,r,i){var o=e,a=e;"href"===e&&"[object SVGAnimatedString]"===Rr.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(Mr&&o&&r.prop(o,i[a]))):void("href"===e&&i.$set(a,null))})}}}});var Ao={$addControl:m,$$renameControl:ar,$removeControl:m,$setValidity:m,$setDirty:m,$setPristine:m,$setSubmitted:m},To="ng-submitted";sr.$inject=["$element","$attrs","$scope","$animate","$interpolate"];var Do=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:sr,compile:function(r,o){r.addClass(la).addClass(sa);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()};ui(r[0],"submit",l),r.on("$destroy",function(){t(function(){li(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,Ao)})}}}};return o}]},Oo=Do(),Fo=Do(!0),Mo=/\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z)/,No=/^[A-Za-z][A-Za-z\d.+-]*:\/*(?:\w+(?::\w+)?@)?[^\s\/]+(?::\d+)?(?:\/[\w#!:.?+=&%@\-\/[\]$'()*,;~]*)?$/,Io=/^[a-z0-9!#$%&'*+\/=?^_`{|}~.-]+@[a-z0-9]([a-z0-9-]*[a-z0-9])?(\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*$/i,jo=/^\s*(\-|\+)?(\d+|(\d*(\.\d*)))([eE][+-]?\d+)?\s*$/,_o=/^(\d{4})-(\d{2})-(\d{2})$/,Po=/^(\d{4})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,Lo=/^(\d{4})-W(\d\d)$/,Ro=/^(\d{4})-(\d\d)$/,zo=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,Vo={text:lr,date:dr("date",_o,pr(_o,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":dr("datetimelocal",Po,pr(Po,["yyyy","MM","dd","HH","mm","ss","sss"]),"yyyy-MM-ddTHH:mm:ss.sss"),time:dr("time",zo,pr(zo,["HH","mm","ss","sss"]),"HH:mm:ss.sss"),week:dr("week",Lo,fr,"yyyy-Www"),month:dr("month",Ro,pr(Ro,["yyyy","MM"]),"yyyy-MM"),number:mr,url:vr,email:gr,radio:$r,checkbox:br,hidden:m,button:m,submit:m,reset:m,file:m},Uo=["$browser","$sniffer","$filter","$parse",function(e,t,n,r){return{restrict:"E",require:["?ngModel"],link:{pre:function(i,o,a,s){s[0]&&(Vo[Ar(a.type)]||Vo.text)(i,o,a,s[0],t,e,n,r)}}}}],qo=/^(true|false|\d+)$/,Ho=function(){return{restrict:"A",priority:100,compile:function(e,t){return qo.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)})}}}},Bo=["$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})}}}}],Wo=["$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})}}}}],Go=["$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))||"")})}}}}],Zo=g({restrict:"A",require:"ngModel",link:function(e,t,n,r){r.$viewChangeListeners.push(function(){e.$eval(n.ngChange)})}}),Qo=wr("",!0),Yo=wr("Odd",0),Xo=wr("Even",1),Jo=or({compile:function(e,t){t.$set("ngCloak",n),e.removeClass("ng-cloak")}}),Ko=[function(){return{restrict:"A",scope:!0,controller:"@",priority:500}}],ea={},ta={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=dt("ng-"+e);ea[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})};ta[e]&&r.$$phase?t.$evalAsync(i):t.$apply(i)})}}}}]});var na=["$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=me(s.clone),e.leave(l).then(function(){l=null}),s=null))})}}}],ra=["$templateRequest","$anchorScroll","$animate",function(e,t,n){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:Ur.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(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(){p===h&&(m(),r.$emit("$includeContentError",o))}),r.$emit("$includeContentRequested",o)):(m(),l.template=null)})}}}}],ia=["$compile",function(e){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(n,r,i,o){return/SVG/.test(r[0].toString())?(r.empty(),void e(Ae(o.template,t).childNodes)(n,function(e){r.append(e)},{futureParentElement:r})):(r.html(o.template),void e(r.contents())(n))}}}],oa=or({priority:450,compile:function(){return{pre:function(e,t,n){e.$eval(n.ngInit)}}}}),aa=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?Wr(a):a,l=function(e){if(!y(e)){var t=[];return e&&o(e.split(u),function(e){e&&t.push(s?Wr(e):e)}),t}};i.$parsers.push(l),i.$formatters.push(function(e){return Hr(e)?e.join(a):n}),i.$isEmpty=function(e){return!e||!e.length}}}},sa="ng-valid",ua="ng-invalid",la="ng-pristine",ca="ng-dirty",fa="ng-untouched",pa="ng-touched",da="ng-pending",ha="ng-empty",ma="ng-not-empty",va=r("ngModel"),ga=["$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 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 va("nonassign","Expression '{0}' is non-assignable. Element: {1}",r.ngModel,J(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,ma),s.addClass(i,ha)):(s.removeClass(i,ha),s.addClass(i,ma))};var x=0;xr({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,ca),s.addClass(i,la)},this.$setDirty=function(){w.$dirty=!0,w.$pristine=!1,s.removeClass(i,la),s.addClass(i,ca),w.$$parentForm.$setDirty()},this.$setUntouched=function(){w.$touched=!1,w.$untouched=!0,s.setClass(i,fa,pa)},this.$setTouched=function(){w.$touched=!0,w.$untouched=!1,s.setClass(i,pa,fa)},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 va("$asyncValidators","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?Ur.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,qe(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===ni||""===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?U(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=Nr(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 Hr(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=Nr(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}}}],ka=["$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=Ur.noop;o(u,function(e,t){var n=i.exec(t);if(n){var r=(n[1]?"-":"")+Ar(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}})}}}],Sa=["$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:Xe};return y?x=e(y):(E=function(e,t){return Xe(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=ve();e.$watchCollection(g,function(r){var p,g,y,x,S,A,T,D,O,F,M,N,I=t[0],j=ve();if($&&(e[$]=r),i(r))O=r,D=C||E;else{D=C||k,O=[];for(var _ in r)Tr.call(r,_)&&"$"!==_.charAt(0)&&O.push(_)}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 P in v){if(F=v[P],N=me(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(me(F.clone),null,Nr(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,Nr(I)),I=n,F.clone=e,j[F.id]=F,l(F.scope,p,b,A,w,S,x)});v=j})}}}}],Aa="ng-hide",Ta="ng-hide-animate",Da=["$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:Ta})})}}}],Oa=["$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:Ta})})}}}],Fa=or(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)}),Ma=["$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=me(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)})})})}}}],Na=or({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})}}),Ia=or({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})}}),ja=r("ngTransclude"),_a=or({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 ja("orphan","Illegal use of ngTransclude directive in the template! No parent directive that requires a transclusion found. Element: {0}",J(t));var a=n.ngTransclude||n.ngTranscludeSlot;i(o,null,a)}}),Pa=["$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)}}}}],La={$setViewValue:m,$render:m},Ra=["$element","$scope","$attrs",function(e,r,i){var o=this,a=new Je;o.ngModelCtrl=La,o.unknownOption=Nr(t.createElement("option")),o.renderUnknownOption=function(t){var n="? "+Xe(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){de(e,'"option value"'),""===e&&(o.emptyOption=t);var n=a.get(e)||0;a.put(e,n+1),o.ngModelCtrl.$render(),Er(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()})}}],za=function(){function e(e,t,n,r){var i=r[1];if(i){var a=r[0];if(a.ngModelCtrl=i,i.$render=function(){a.writeValue(i.$viewValue)},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 Je(e);o(t.find("option"),function(e){e.selected=b(n.get(e.value))})};var s,u=NaN;e.$watch(function(){u!==i.$viewValue||U(s,i.$viewValue)||(s=V(i.$viewValue),i.$render()),u=i.$viewValue}),i.$isEmpty=function(e){return!e||0===e.length}}}}return{restrict:"E",require:["select","?ngModel"],controller:Ra,priority:1,link:{pre:e}}},Va=["$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)}}}}],Ua=g({restrict:"E",terminal:!1}),qa=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()}))}}},Ha=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,J(t));a=e||n,o.$validate()}),o.$validators.pattern=function(e,t){return o.$isEmpty(t)||y(a)||a.test(t)}}}}},Ba=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}}}}},Wa=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."):(ce(),be(Ur),Ur.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",pluralCat:function(e,t){var n=0|e,o=r(e,t);return 1==n&&0==o.v?i.ONE:i.OTHER}})}]),void Nr(t).ready(function(){oe(t,ae)}))}(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"!==(_=d.toLowerCase())&&"radio"!==_||f.checked)&&o.append(p,f.value);for(c=F=0,P=e.length-1;P>=0?P>=F:F>=P;c=P>=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},_=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},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=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"}},Z=["flash-unavailable","flash-degraded","flash-overdue","version-mismatch","config-mismatch","clipboard-error"],Q=["flash-disabled","flash-outdated","flash-sandboxed","flash-unavailable","flash-degraded","flash-deactivated","flash-overdue"],Y=new RegExp("^flash-("+Q.map(function(e){return e.replace(/^flash-/,"")}).join("|")+")$"),X=new RegExp("^flash-("+Q.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:Ze.version,config:Ze.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]&&Ze.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&&Ze.emit({type:"ready"}),s.error){for(i=0,o=Q.length;o>i;i++)if(z[Q[i].replace(/^flash-/,"")]===!0){Ze.emit({type:"error",name:Q[i]});break}r!==n&&Ze.version!==r&&Ze.emit({type:"error",name:"version-mismatch",jsVersion:Ze.version,swfVersion:r})}}return Ze},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]&&Ze.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 Ze},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?Ze.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,Ze.emit({type:"error",name:"flash-sandboxed"});else if(!Ze.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&&Ze.emit({type:"error",name:"flash-deactivated"})},t)),z.overdue=!1,Te()}},se=function(){Ze.clearData(),Ze.blur(),Ze.emit("destroy"),De(),Ze.off()},ue=function(e,t){var n;if("object"==typeof e&&e&&"undefined"==typeof t)n=e,Ze.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,Pe(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&&(Y.test(e.name)&&A(e,{target:null,minimumVersion:V}),X.test(e.name)&&A(e,{version:z.version})),"copy"===e.type&&(e.clipboardData={setData:Ze.setData,clearData:Ze.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!==Z.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!==Q.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),Ze.clearData(),t&&t!==_e()&&t.focus&&t.focus();break;case"_mouseover":Ze.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":Ze.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":Pe(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(){Ze.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,Ze.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:Ze.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=Ze,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"}}(),_e=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=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 Ze=function(){return this instanceof Ze?void("function"==typeof Ze._createClient&&Ze._createClient.apply(this,S(arguments))):new Ze};x(Ze,"version",{value:"2.2.0",writable:!1,configurable:!0,enumerable:!0}),Ze.config=function(){return K.apply(this,S(arguments))},Ze.state=function(){return ee.apply(this,S(arguments))},Ze.isFlashUnusable=function(){return te.apply(this,S(arguments))},Ze.on=function(){return ne.apply(this,S(arguments))},Ze.off=function(){return re.apply(this,S(arguments))},Ze.handlers=function(){return ie.apply(this,S(arguments))},Ze.emit=function(){return oe.apply(this,S(arguments))},Ze.create=function(){return ae.apply(this,S(arguments))},Ze.destroy=function(){return se.apply(this,S(arguments))},Ze.setData=function(){return ue.apply(this,S(arguments))},Ze.clearData=function(){return le.apply(this,S(arguments))},Ze.getData=function(){return ce.apply(this,S(arguments))},Ze.focus=Ze.activate=function(){return fe.apply(this,S(arguments))},Ze.blur=Ze.deactivate=function(){return pe.apply(this,S(arguments))},Ze.activeElement=function(){return de.apply(this,S(arguments))};var Qe=0,Ye={},Xe=0,Je={},Ke={};A(J,{autoActivate:!0});var et=function(e){var t=this;t.id=""+Qe++,Ye[t.id]={instance:t,elements:[],handlers:{}},e&&t.clip(e),Ze.on("*",function(e){return t.emit(e)}),Ze.on("destroy",function(){t.destroy()}),Ze.create()},tt=function(e,t){var i,o,a,s={},u=Ye[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=Q.length;o>i;i++)if(z[Q[i].replace(/^flash-/,"")]){this.emit({type:"error",name:Q[i],client:this});break}r!==n&&Ze.version!==r&&this.emit({type:"error",name:"version-mismatch",jsVersion:Ze.version,swfVersion:r})}}return this},nt=function(e,t){var n,r,i,o,a,s=Ye[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=Ye[this.id]&&Ye[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(!Ye[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=Ye[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),Ze.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]}}};Ze._createClient=function(){et.apply(this,S(arguments))},Ze.prototype.on=function(){return tt.apply(this,S(arguments))},Ze.prototype.off=function(){return nt.apply(this,S(arguments))},Ze.prototype.handlers=function(){return rt.apply(this,S(arguments))},Ze.prototype.emit=function(){return it.apply(this,S(arguments))},Ze.prototype.clip=function(){return ot.apply(this,S(arguments))},Ze.prototype.unclip=function(){return at.apply(this,S(arguments))},Ze.prototype.elements=function(){return st.apply(this,S(arguments))},Ze.prototype.destroy=function(){return ut.apply(this,S(arguments))},Ze.prototype.setText=function(e){if(!Ye[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ze.setData("text/plain",e),this},Ze.prototype.setHtml=function(e){if(!Ye[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ze.setData("text/html",e),this},Ze.prototype.setRichText=function(e){if(!Ye[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ze.setData("application/rtf",e),this},Ze.prototype.setData=function(){if(!Ye[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ze.setData.apply(this,S(arguments)),this},Ze.prototype.clearData=function(){if(!Ye[this.id])throw new Error("Attempted to clear pending clipboard data from a destroyed ZeroClipboard client instance");return Ze.clearData.apply(this,S(arguments)),this},Ze.prototype.getData=function(){if(!Ye[this.id])throw new Error("Attempted to get pending clipboard data from a destroyed ZeroClipboard client instance");return Ze.getData.apply(this,S(arguments))},"function"==typeof define&&define.amd?define(function(){return Ze}):"object"==typeof t&&t&&"object"==typeof t.exports&&t.exports?t.exports=Ze:e.ZeroClipboard=Ze}(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(e){e.controller("ImageManagerController",["$scope","$attrs","$http","$timeout","imageManagerService",function(e,t,n,r,i){function o(t){f&&f(t),e.showing=!1}function a(t){f=t,e.showing=!0,c||(s(),c=!0)}function s(){var t="/images/"+e.imageType+"/all/"+u;n.get(t).then(function(t){e.images=e.images.concat(t.data.images),e.hasMore=t.data.hasMore,u++})}e.images=[],e.imageType=t.imageType,e.selectedImage=!1,e.dependantPages=!1,e.showing=!1,e.hasMore=!1,e.imageUpdateSuccess=!1,e.imageDeleteSuccess=!1;var u=0,l=0,c=!1,f=!1;e.getUploadUrl=function(){return"/images/"+e.imageType+"/upload"},e.uploadSuccess=function(t,n){e.$apply(function(){e.images.unshift(n)})},e.imageSelect=function(t){var n=300,r=Date.now(),i=r-l;n>i?o(t):(e.selectedImage=t,e.dependantPages=!1),l=r},e.selectButtonClick=function(){o(e.selectedImage)},i.show=a,i.showExternal=function(t){e.$apply(function(){a(t)})},window.ImageManager=i,e.hide=function(){e.showing=!1},e.saveImageDetails=function(t){t.preventDefault();var i="/images/update/"+e.selectedImage.id;n.put(i,this.selectedImage).then(function(t){e.imageUpdateSuccess=!0,r(function(){e.imageUpdateSuccess=!1},3e3)},function(t){var n=t.data,i="";Object.keys(n).forEach(function(e){i+=n[e].join("\n")}),e.imageUpdateFailure=i,r(function(){e.imageUpdateFailure=!1},5e3)})},e.deleteImage=function(t){t.preventDefault();var i=e.dependantPages!==!1,o="/images/"+e.selectedImage.id;i&&(o+="?force=true"),n["delete"](o).then(function(t){e.images.splice(e.images.indexOf(e.selectedImage),1),e.selectedImage=!1,e.imageDeleteSuccess=!0,r(function(){e.imageDeleteSuccess=!1},3e3)},function(t){400===t.status&&(e.dependantPages=t.data)})}}]),e.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=""}}])}},{}],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){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||"",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:"="},link:function(e,t,n){new r(t[0].querySelector(".dropzone-container"),{url:e.uploadUrl,init:function(){var t=this;t.on("sending",function(e,t,n){var r=window.document.querySelector("meta[name=token]").getAttribute("content");n.append("_token",r)}),"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")})})}}}])}},{"./components/drop-zone.html":11,"./components/image-picker.html":12,"./components/toggle-switch.html":13,dropzone:9}],16:[function(e,t,n){"use strict";function r(e){return null!==document.querySelector(e)}var i=e("angular"),o=(e("angular-resource"),e("angular-animate"),e("angular-sanitize"),i.module("bookStack",["ngResource","ngAnimate","ngSanitize"]));e("./services")(o),e("./directives")(o),e("./controllers")(o);if(jQuery.fn.smoothScrollTo=function(){return 0!==this.length?($("body").animate({scrollTop:this.offset().top-60},800),this):void 0},$.expr[":"].contains=$.expr.createPseudo(function(e){return function(t){return $(t).text().toUpperCase().indexOf(e.toUpperCase())>=0}}),$(function(){$(".notification").click(function(){$(this).fadeOut(100)}),$(".chapter-toggle").click(function(e){e.preventDefault(),$(this).toggleClass("open"),$(this).closest(".chapter").find(".inset-list").slideToggle(180)})}),r("#html-editor")){var a=e("./pages/page-form");tinymce.init(a)}e("./pages/page-show")},{"./controllers":14,"./directives":15,"./pages/page-form":17,"./pages/page-show":18,"./services":19,angular:8,"angular-animate":2,"angular-resource":4,"angular-sanitize":6}],17:[function(e,t,n){"use strict";t.exports={selector:"#html-editor",content_css:["/css/styles.css"],body_class:"page-content",relative_urls:!1,statusbar:!1,menubar:!1,paste_data_images:!1,extended_valid_elements:"pre[*]",automatic_uploads:!1,valid_children:"-div[p|pre|h1|h2|h3|h4|h5|h6|blockquote]",plugins:"image table textcolor paste link fullscreen imagetools code hr autosave",imagetools_toolbar:"imageoptions",toolbar:"undo redo | styleselect | bold italic underline strikethrough superscript subscript | forecolor backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | table image-insert link hr | removeformat code fullscreen",content_style:"body {padding-left: 15px !important; padding-right: 15px !important; margin:0!important; margin-left:auto!important;margin-right:auto!important;}",style_formats:[{title:"Header 1",format:"h1"},{title:"Header 2",format:"h2"},{title:"Header 3",format:"h3"},{title:"Paragraph",format:"p"},{title:"Blockquote",format:"blockquote"},{title:"Code Block",icon:"code",format:"pre"},{title:"Inline Code",icon:"code",inline:"code"}],formats:{alignleft:{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img",classes:"align-left"},aligncenter:{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img",classes:"align-center"},alignright:{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img",classes:"align-right"}},file_browser_callback:function(e,t,n,r){ImageManager.show(function(t){if(r.document.getElementById(e).value=t.url,"createEvent"in document){var n=document.createEvent("HTMLEvents");n.initEvent("change",!1,!0),r.document.getElementById(e).dispatchEvent(n)}else r.document.getElementById(e).fireEvent("onchange")})},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()}var n=$("#pointer").detach(),i=n.children("div.pointer").first(),o=!1;if(n.on("click","input",function(e){$(this).select(),e.stopPropagation()}),new r(n.find("button").first()[0]),$(document.body).find("*").on("click focus",function(e){o||n.detach()}),$('.page-content [id^="bkmrk"]').on("mouseup keyup",function(t){var r=window.getSelection();if(0!==r.toString().length){var a=$(this),s=window.location.protocol+"//"+window.location.host+"/link/"+e+"#"+a.attr("id");n.find("input").val(s),n.find("button").first().attr("data-clipboard-text",s),a.before(n),n.show();var u=t.pageX-a.offset().left-i.width()/2;0>u&&(u=0);var l=u/a.width()*100;i.css("left",l+"%"),t.stopPropagation(),o=!0,setTimeout(function(){o=!1},100)}}),window.location.hash){var a=window.location.hash.replace(/\%20/g," ").substr(1);t(a)}}},{zeroclipboard:10}],19:[function(e,t,n){"use strict";t.exports=function(e){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===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(e){e.controller("ImageManagerController",["$scope","$attrs","$http","$timeout","imageManagerService",function(e,t,n,r,i){function o(t){f&&f(t),e.showing=!1}function a(t){f=t,e.showing=!0,c||(s(),c=!0)}function s(){var t="/images/"+e.imageType+"/all/"+u;n.get(t).then(function(t){e.images=e.images.concat(t.data.images),e.hasMore=t.data.hasMore,u++})}e.images=[],e.imageType=t.imageType,e.selectedImage=!1,e.dependantPages=!1,e.showing=!1,e.hasMore=!1,e.imageUpdateSuccess=!1,e.imageDeleteSuccess=!1;var u=0,l=0,c=!1,f=!1;e.getUploadUrl=function(){return"/images/"+e.imageType+"/upload"},e.uploadSuccess=function(t,n){e.$apply(function(){e.images.unshift(n)})},e.imageSelect=function(t){var n=300,r=Date.now(),i=r-l;n>i?o(t):(e.selectedImage=t,e.dependantPages=!1),l=r},e.selectButtonClick=function(){o(e.selectedImage)},i.show=a,i.showExternal=function(t){e.$apply(function(){a(t)})},window.ImageManager=i,e.hide=function(){e.showing=!1},e.saveImageDetails=function(t){t.preventDefault();var i="/images/update/"+e.selectedImage.id;n.put(i,this.selectedImage).then(function(t){e.imageUpdateSuccess=!0,r(function(){e.imageUpdateSuccess=!1},3e3)},function(t){var n=t.data,i="";Object.keys(n).forEach(function(e){i+=n[e].join("\n")}),e.imageUpdateFailure=i,r(function(){e.imageUpdateFailure=!1},5e3)})},e.deleteImage=function(t){t.preventDefault();var i=e.dependantPages!==!1,o="/images/"+e.selectedImage.id;i&&(o+="?force=true"),n["delete"](o).then(function(t){e.images.splice(e.images.indexOf(e.selectedImage),1),e.selectedImage=!1,e.imageDeleteSuccess=!0,r(function(){e.imageDeleteSuccess=!1},3e3)},function(t){400===t.status&&(e.dependantPages=t.data)})}}]),e.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=""}}])}},{}],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){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:"="},link:function(e,t,n){new r(t[0].querySelector(".dropzone-container"),{url:e.uploadUrl,init:function(){var t=this;t.on("sending",function(e,t,n){var r=window.document.querySelector("meta[name=token]").getAttribute("content");n.append("_token",r)}),"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")})})}}}])}},{"./components/drop-zone.html":11,"./components/image-picker.html":12,"./components/toggle-switch.html":13,dropzone:9}],16:[function(e,t,n){"use strict";function r(e){return null!==document.querySelector(e)}var i=e("angular"),o=(e("angular-resource"),e("angular-animate"),e("angular-sanitize"),i.module("bookStack",["ngResource","ngAnimate","ngSanitize"]));e("./services")(o),e("./directives")(o),e("./controllers")(o);if(jQuery.fn.smoothScrollTo=function(){return 0!==this.length?($("body").animate({scrollTop:this.offset().top-60},800),this):void 0},$.expr[":"].contains=$.expr.createPseudo(function(e){return function(t){return $(t).text().toUpperCase().indexOf(e.toUpperCase())>=0}}),$(function(){$(".notification").click(function(){$(this).fadeOut(100)}),$(".chapter-toggle").click(function(e){e.preventDefault(),$(this).toggleClass("open"),$(this).closest(".chapter").find(".inset-list").slideToggle(180)})}),r("#html-editor")){var a=e("./pages/page-form");tinymce.init(a)}e("./pages/page-show")},{"./controllers":14,"./directives":15,"./pages/page-form":17,"./pages/page-show":18,"./services":19,angular:8,"angular-animate":2,"angular-resource":4,"angular-sanitize":6}],17:[function(e,t,n){"use strict";t.exports={selector:"#html-editor",content_css:["/css/styles.css"],body_class:"page-content",relative_urls:!1,statusbar:!1,menubar:!1,paste_data_images:!1,extended_valid_elements:"pre[*]",automatic_uploads:!1,valid_children:"-div[p|pre|h1|h2|h3|h4|h5|h6|blockquote]",plugins:"image table textcolor paste link fullscreen imagetools code hr autosave",imagetools_toolbar:"imageoptions",toolbar:"undo redo | styleselect | bold italic underline strikethrough superscript subscript | forecolor backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | table image-insert link hr | removeformat code fullscreen",content_style:"body {padding-left: 15px !important; padding-right: 15px !important; margin:0!important; margin-left:auto!important;margin-right:auto!important;}",style_formats:[{title:"Header 1",format:"h1"},{title:"Header 2",format:"h2"},{title:"Header 3",format:"h3"},{title:"Paragraph",format:"p"},{title:"Blockquote",format:"blockquote"},{title:"Code Block",icon:"code",format:"pre"},{title:"Inline Code",icon:"code",inline:"code"}],formats:{alignleft:{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img",classes:"align-left"},aligncenter:{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img",classes:"align-center"},alignright:{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img",classes:"align-right"}},file_browser_callback:function(e,t,n,r){ImageManager.show(function(t){if(r.document.getElementById(e).value=t.url,"createEvent"in document){var n=document.createEvent("HTMLEvents");n.initEvent("change",!1,!0),r.document.getElementById(e).dispatchEvent(n)}else r.document.getElementById(e).fireEvent("onchange")})},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()}var n=$("#pointer").detach(),i=n.children("div.pointer").first(),o=!1;if(n.on("click","input",function(e){$(this).select(),e.stopPropagation()}),new r(n.find("button").first()[0]),$(document.body).find("*").on("click focus",function(e){o||n.detach()}),$('.page-content [id^="bkmrk"]').on("mouseup keyup",function(t){var r=window.getSelection();if(0!==r.toString().length){var a=$(this),s=window.location.protocol+"//"+window.location.host+"/link/"+e+"#"+a.attr("id");n.find("input").val(s),n.find("button").first().attr("data-clipboard-text",s),a.before(n),n.show();var u=t.pageX-a.offset().left-i.width()/2;0>u&&(u=0);var l=u/a.width()*100;i.css("left",l+"%"),t.stopPropagation(),o=!0,setTimeout(function(){o=!1},100)}}),window.location.hash){var a=window.location.hash.replace(/\%20/g," ").substr(1);t(a)}}},{zeroclipboard:10}],19:[function(e,t,n){"use strict";t.exports=function(e){e.factory("imageManagerService",function(){return{show:!1,showExternal:!1}})}},{}]},{},[16]); \ No newline at end of file From 1be576966f498ec7d4bd90d4c65c98f4a9537339 Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Mon, 8 Feb 2016 20:47:33 +0000 Subject: [PATCH 08/54] Updated assets for release 0.7.3 --- public/build/manifest.json | 6 +++--- public/css/export-styles.css | 2 +- public/css/styles.css | 2 +- public/js/common.js | 18 +++++++++--------- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/public/build/manifest.json b/public/build/manifest.json index f237b5633e9..c64723bf715 100644 --- a/public/build/manifest.json +++ b/public/build/manifest.json @@ -1,5 +1,5 @@ { - "css/styles.css": "css/styles.css?version=8d91c6c", - "css/print-styles.css": "css/print-styles.css?version=8d91c6c", - "js/common.js": "js/common.js?version=8d91c6c" + "css/styles.css": "css/styles.css?version=2a2a428", + "css/print-styles.css": "css/print-styles.css?version=2a2a428", + "js/common.js": "js/common.js?version=2a2a428" } \ No newline at end of file diff --git a/public/css/export-styles.css b/public/css/export-styles.css index 030ddd8b879..29a29631618 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}ol,ul{margin-left:24px}.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%}body{font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}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:.5em}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-chapter,.text-chapter:hover{color:#ef7c3c}span.highlight{font-weight:700}ul{list-style:disc}ol{list-style:decimal}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.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}.activity-list-item .left,.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,ul.pagination li{float:left}.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-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}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%}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:7.2px}@media screen and (max-width:992px){header .user-name{padding-left:6px}header .user-name .name{display:none}header .user-name i{font-size:2em;padding-left:0;padding-top:0}header{text-align:center}header .float.right{float:none}}.dropdown-container,.logo,.logo-text,form.search-box{display:inline-block}@media screen and (max-width:768px){header .links a{padding:12px}header form.search-box{margin-top:0}header .user-name{padding-top:12px}}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;text-decoration:none}.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}.dropdown-container{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}.page-list .page,.page-list h4{border-left:5px solid #0288D1}.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}.breadcrumbs span.sep{color:#aaa;padding:0 6px}.faded a,.faded button,.faded span,.faded span>div{color:#666}.faded .text-button{opacity:.5}.faded .text-button:hover{opacity:1;text-decoration:none}.faded-small{color:#000;font-size:.9em;background-color:rgba(21,101,192,.15)}.action-buttons .text-button,.breadcrumbs .text-button{display:inline-block;padding:12px}.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}.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;padding:6px 0 6px 16px}.page-list hr{margin-top:0}.page-list .book,.page-list .chapter,.page-list .page{padding-left:24px}.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{margin-top:32px}.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;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:hover{background-color:rgba(255,255,255,.2);text-decoration:none}.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 .sub-menu{display:none}.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}#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:180px;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,.row:after,.title-input .page-content input[type=text]{clear:both}*{box-sizing:border-box}html{background-color:#FFF;height:100%}body{font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}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:.5em}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}ol,ul{padding-left:24px}.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-chapter,.text-chapter:hover{color:#ef7c3c}span.highlight{font-weight:700}ul{list-style:disc inside}ol{list-style:decimal inside}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.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}.activity-list-item .left,.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,ul.pagination li{float:left}.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-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}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}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:7.2px}@media screen and (max-width:992px){header .user-name{padding-left:6px}header .user-name .name{display:none}header .user-name i{font-size:2em;padding-left:0;padding-top:0}header{text-align:center}header .float.right{float:none}}.dropdown-container,.logo,.logo-text,form.search-box{display:inline-block}@media screen and (max-width:768px){header .links a{padding:12px}header form.search-box{margin-top:0}header .user-name{padding-top:12px}}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;text-decoration:none}.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}.dropdown-container{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}.page-list .page,.page-list h4{border-left:5px solid #0288D1}.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}.breadcrumbs span.sep{color:#aaa;padding:0 6px}.faded a,.faded button,.faded span,.faded span>div{color:#666}.faded .text-button{opacity:.5}.faded .text-button:hover{opacity:1;text-decoration:none}.faded-small{color:#000;font-size:.9em;background-color:rgba(21,101,192,.15)}.action-buttons .text-button,.breadcrumbs .text-button{display:inline-block;padding:12px}.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}.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;padding:6px 0 6px 16px}.page-list hr{margin-top:0}.page-list .book,.page-list .chapter,.page-list .page{padding-left:24px}.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{margin-top:32px}.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:hover{background-color:rgba(255,255,255,.2);text-decoration:none}.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 .sub-menu{display:none}.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}#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:180px;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 5c6f9991ac7..1ebb6e8a573 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}ol,ul{margin-left:24px}.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%}body{font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}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}.dz-preview .dz-remove:hover,.underlined{text-decoration:underline}.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:.5em}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-chapter,.text-chapter:hover{color:#ef7c3c}span.highlight{font-weight:700}ul{list-style:disc}ol{list-style:decimal}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.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}.activity-list-item .left,.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,.image-manager-list img,ul.pagination li{float:left}.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-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{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}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%}.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;max-width:1340px;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 img{display:block;border-radius:0;margin:0;cursor:pointer;width:16.6666666667%;height:auto;border:1px solid #FFF;transition:all cubic-bezier(.4,0,1,1) 160ms}.image-manager-list img.selected{-webkit-transform:scale3d(.92,.92,.92);transform:scale3d(.92,.92,.92)}#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-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{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:7.2px}@media screen and (max-width:992px){header .user-name{padding-left:6px}header .user-name .name{display:none}header .user-name i{font-size:2em;padding-left:0;padding-top:0}header{text-align:center}header .float.right{float:none}}.dropdown-container,.logo,.logo-text,form.search-box{display:inline-block}@media screen and (max-width:768px){header .links a{padding:12px}header form.search-box{margin-top:0}header .user-name{padding-top:12px}}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;text-decoration:none}.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}.dropdown-container{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}.page-list .page,.page-list h4{border-left:5px solid #0288D1}.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}.breadcrumbs span.sep{color:#aaa;padding:0 6px}.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;text-decoration:none}.faded-small{color:#000;font-size:.9em;background-color:rgba(21,101,192,.15)}.action-buttons .text-button,.breadcrumbs .text-button{display:inline-block;padding:12px}.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}.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;padding:6px 0 6px 16px}.page-list hr{margin-top:0}.page-list .book,.page-list .chapter,.page-list .page{padding-left:24px}.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{margin-top:32px}.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;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:hover{background-color:rgba(255,255,255,.2);text-decoration:none}.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 .sub-menu{display:none}.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}#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:180px;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.med{width:40px;height:40px}.avatar.large{width:80px;height:80px}.notification{position:fixed;top:0;right:0;margin:64px 32px;padding:24px 32px;border-radius:3px;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}.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} \ No newline at end of file +.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%}body{font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}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:.5em}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}ol,ul{padding-left:24px}.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-chapter,.text-chapter:hover{color:#ef7c3c}span.highlight{font-weight:700}ul{list-style:disc inside}ol{list-style:decimal inside}.underlined{text-decoration:underline}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.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}.activity-list-item .left,.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,.image-manager-list .image,ul.pagination li{float:left}.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-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{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}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%}.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;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}.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{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:7.2px}@media screen and (max-width:992px){header .user-name{padding-left:6px}header .user-name .name{display:none}header .user-name i{font-size:2em;padding-left:0;padding-top:0}header{text-align:center}header .float.right{float:none}}.dropdown-container,.logo,.logo-text,form.search-box{display:inline-block}@media screen and (max-width:768px){header .links a{padding:12px}header form.search-box{margin-top:0}header .user-name{padding-top:12px}}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;text-decoration:none}.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}.dropdown-container{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}.page-list .page,.page-list h4{border-left:5px solid #0288D1}.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}.breadcrumbs span.sep{color:#aaa;padding:0 6px}.faded a,.faded button,.faded span,.faded span>div{color:#666}.faded .text-button{opacity:.5;transition:all ease-in-out 120ms}#back-to-top,.chapter-toggle{transition:all ease-in-out 180ms}.faded .text-button:hover{opacity:1;text-decoration:none}.faded-small{color:#000;font-size:.9em;background-color:rgba(21,101,192,.15)}.action-buttons .text-button,.breadcrumbs .text-button{display:inline-block;padding:12px}.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}.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;padding:6px 0 6px 16px}.page-list hr{margin-top:0}.page-list .book,.page-list .chapter,.page-list .page{padding-left:24px}.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;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{margin-top:32px}.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:hover{background-color:rgba(255,255,255,.2);text-decoration:none}.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 .sub-menu{display:none}.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}#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:180px;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.med{width:40px;height:40px}.avatar.large{width:80px;height:80px}.notification{position:fixed;top:0;right:0;margin:64px 32px;padding:24px 32px;border-radius:3px;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}.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:rgba(2,136,209,.4);position:fixed;bottom:16px;right:16px;padding:6px 12px;cursor:pointer;color:#FFF;width:40px;height:40px;border-radius:40px;opacity:0;z-index:999}#back-to-top:hover{width:136px;background-color:#0288d1}#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 diff --git a/public/js/common.js b/public/js/common.js index c8bda30df46..700d1082126 100644 --- a/public/js/common.js +++ b/public/js/common.js @@ -1,9 +1,9 @@ -!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(e){e.controller("ImageManagerController",["$scope","$attrs","$http","$timeout","imageManagerService",function(e,t,n,r,i){function o(t){f&&f(t),e.showing=!1}function a(t){f=t,e.showing=!0,c||(s(),c=!0)}function s(){var t="/images/"+e.imageType+"/all/"+u;n.get(t).then(function(t){e.images=e.images.concat(t.data.images),e.hasMore=t.data.hasMore,u++})}e.images=[],e.imageType=t.imageType,e.selectedImage=!1,e.dependantPages=!1,e.showing=!1,e.hasMore=!1,e.imageUpdateSuccess=!1,e.imageDeleteSuccess=!1;var u=0,l=0,c=!1,f=!1;e.getUploadUrl=function(){return"/images/"+e.imageType+"/upload"},e.uploadSuccess=function(t,n){e.$apply(function(){e.images.unshift(n)})},e.imageSelect=function(t){var n=300,r=Date.now(),i=r-l;n>i?o(t):(e.selectedImage=t,e.dependantPages=!1),l=r},e.selectButtonClick=function(){o(e.selectedImage)},i.show=a,i.showExternal=function(t){e.$apply(function(){a(t)})},window.ImageManager=i,e.hide=function(){e.showing=!1},e.saveImageDetails=function(t){t.preventDefault();var i="/images/update/"+e.selectedImage.id;n.put(i,this.selectedImage).then(function(t){e.imageUpdateSuccess=!0,r(function(){e.imageUpdateSuccess=!1},3e3)},function(t){var n=t.data,i="";Object.keys(n).forEach(function(e){i+=n[e].join("\n")}),e.imageUpdateFailure=i,r(function(){e.imageUpdateFailure=!1},5e3)})},e.deleteImage=function(t){t.preventDefault();var i=e.dependantPages!==!1,o="/images/"+e.selectedImage.id;i&&(o+="?force=true"),n["delete"](o).then(function(t){e.images.splice(e.images.indexOf(e.selectedImage),1),e.selectedImage=!1,e.imageDeleteSuccess=!0,r(function(){e.imageDeleteSuccess=!1},3e3)},function(t){400===t.status&&(e.dependantPages=t.data)})}}]),e.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=""}}])}},{}],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){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:"="},link:function(e,t,n){new r(t[0].querySelector(".dropzone-container"),{url:e.uploadUrl,init:function(){var t=this;t.on("sending",function(e,t,n){var r=window.document.querySelector("meta[name=token]").getAttribute("content");n.append("_token",r)}),"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")})})}}}])}},{"./components/drop-zone.html":11,"./components/image-picker.html":12,"./components/toggle-switch.html":13,dropzone:9}],16:[function(e,t,n){"use strict";function r(e){return null!==document.querySelector(e)}var i=e("angular"),o=(e("angular-resource"),e("angular-animate"),e("angular-sanitize"),i.module("bookStack",["ngResource","ngAnimate","ngSanitize"]));e("./services")(o),e("./directives")(o),e("./controllers")(o);if(jQuery.fn.smoothScrollTo=function(){return 0!==this.length?($("body").animate({scrollTop:this.offset().top-60},800),this):void 0},$.expr[":"].contains=$.expr.createPseudo(function(e){return function(t){return $(t).text().toUpperCase().indexOf(e.toUpperCase())>=0}}),$(function(){$(".notification").click(function(){$(this).fadeOut(100)}),$(".chapter-toggle").click(function(e){e.preventDefault(),$(this).toggleClass("open"),$(this).closest(".chapter").find(".inset-list").slideToggle(180)})}),r("#html-editor")){var a=e("./pages/page-form");tinymce.init(a)}e("./pages/page-show")},{"./controllers":14,"./directives":15,"./pages/page-form":17,"./pages/page-show":18,"./services":19,angular:8,"angular-animate":2,"angular-resource":4,"angular-sanitize":6}],17:[function(e,t,n){"use strict";t.exports={selector:"#html-editor",content_css:["/css/styles.css"],body_class:"page-content",relative_urls:!1,statusbar:!1,menubar:!1,paste_data_images:!1,extended_valid_elements:"pre[*]",automatic_uploads:!1,valid_children:"-div[p|pre|h1|h2|h3|h4|h5|h6|blockquote]",plugins:"image table textcolor paste link fullscreen imagetools code hr autosave",imagetools_toolbar:"imageoptions",toolbar:"undo redo | styleselect | bold italic underline strikethrough superscript subscript | forecolor backcolor | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | table image-insert link hr | removeformat code fullscreen",content_style:"body {padding-left: 15px !important; padding-right: 15px !important; margin:0!important; margin-left:auto!important;margin-right:auto!important;}",style_formats:[{title:"Header 1",format:"h1"},{title:"Header 2",format:"h2"},{title:"Header 3",format:"h3"},{title:"Paragraph",format:"p"},{title:"Blockquote",format:"blockquote"},{title:"Code Block",icon:"code",format:"pre"},{title:"Inline Code",icon:"code",inline:"code"}],formats:{alignleft:{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img",classes:"align-left"},aligncenter:{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img",classes:"align-center"},alignright:{selector:"p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img",classes:"align-right"}},file_browser_callback:function(e,t,n,r){ImageManager.show(function(t){if(r.document.getElementById(e).value=t.url,"createEvent"in document){var n=document.createEvent("HTMLEvents");n.initEvent("change",!1,!0),r.document.getElementById(e).dispatchEvent(n)}else r.document.getElementById(e).fireEvent("onchange")})},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()}var n=$("#pointer").detach(),i=n.children("div.pointer").first(),o=!1;if(n.on("click","input",function(e){$(this).select(),e.stopPropagation()}),new r(n.find("button").first()[0]),$(document.body).find("*").on("click focus",function(e){o||n.detach()}),$('.page-content [id^="bkmrk"]').on("mouseup keyup",function(t){var r=window.getSelection();if(0!==r.toString().length){var a=$(this),s=window.location.protocol+"//"+window.location.host+"/link/"+e+"#"+a.attr("id");n.find("input").val(s),n.find("button").first().attr("data-clipboard-text",s),a.before(n),n.show();var u=t.pageX-a.offset().left-i.width()/2;0>u&&(u=0);var l=u/a.width()*100;i.css("left",l+"%"),t.stopPropagation(),o=!0,setTimeout(function(){o=!1},100)}}),window.location.hash){var a=window.location.hash.replace(/\%20/g," ").substr(1);t(a)}}},{zeroclipboard:10}],19:[function(e,t,n){"use strict";t.exports=function(e){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===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-",_="WebkitAnimation",P="webkitAnimationEnd animationend"):(_="animation",P="animationend");var oe="Duration",ae="Property",se="Delay",ue="TimingFunction",le="IterationCount",ce="PlayState",fe=9999,pe=_+se,de=_+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),Pe=D(W,Ce,Te),Le=Pe.maxDelay,ne=Math.max(Le,0),ie=Pe.maxDuration,0===ie)return void p();Re.hasTransitions=Pe.transitionDuration>0,Re.hasAnimations=Pe.animationDuration>0}if(Re.applyAnimationDelay&&(Le="boolean"!=typeof H.delay&&O(H.delay)?parseFloat(H.delay):Le,ne=Math.max(Le,0),Pe.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=_+ue,le.push([t,i]),W.style[t]=i)}Pe.transitionDuration&&de.push(j),Pe.animationDuration&&de.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(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&&(Pe.transitionDuration&&0===De.transitionDuration||Pe.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=[_,H.keyframeStyle];E(W,Ie),le.push(Ie)}var je=De?H.staggerIndex>=0?H.staggerIndex:t.count(Te):0,_e=0===je;_e&&!H.skipBlocking&&x(W,fe);var Pe=D(W,Ce,Te),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=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,Pe.transitionDuration=ie,Fe=W.style[I+ae].length>0,le.push(F(ie,Fe))),Re.applyAnimationDuration&&(Re.hasAnimations=!0,Pe.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&&Pe.transitionDuration>0&&(Re.recalculateTimingStyles=Re.recalculateTimingStyles||_e),re=ne*be,oe=ie*be,H.skipBlocking||(Re.blockTransition=Pe.transitionDuration>0,Re.blockKeyframeAnimation=Pe.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 P=["enter","move","leave"].indexOf(r)>=0,L=!_||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;P&&D(e);var W={structural:P,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,P?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||P&&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,_=null,P=n.$watch(function(){return 0===x.totalPendingRequests},function(e){e&&(P(),n.$$postDigest(function(){n.$$postDigest(function(){null===_&&(_=!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=!!_;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=_=!!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 _=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 _["finally"](function(){M.$resolved=!0,!F&&d&&(M.$cancelRequest=t.noop,c.cancel(O),D=O=N.timeout=null)}),_=_.then(function(e){var t=I(e);return(S||m)(t,e.headers),t},j),F?_:(M.$promise=_,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):P(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 _(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)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)||_(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();_r=y(r)?e.jQuery:r?e[r]:n,_r&&_r.fn.on?(jr=_r,f(_r.fn,{scope:xi.scope,isolateScope:xi.isolateScope,controller:xi.controller,injector:xi.injector,inheritedData:xi.inheritedData}),t=_r.cleanData,_r.cleanData=function(e){for(var n,r,i=0;null!=(r=e[i]);i++)n=_r._data(r,"events"),n&&n.$destroy&&_r(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:P,isArray:Wr,version:si,isDate:k,lowercase:Or,uppercase:Fr,callbacks:{counter:0},getTestability:le,$$minErr:r,$$csp:Zr,reloadWithDebugInfo:ue}),(Pr=$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:_a,ngSwitchDefault:Pa,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:_i,$$animateQueue:Pi,$$AnimateRunner:zi,$$animateAsyncRun:Ri,$browser:ft,$cacheFactory:pt,$controller:yt,$document:bt,$exceptionHandler:wt,$filter:Pn,$$forceReflow:Wi,$interpolate:jt,$interval:_t,$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:_n})}])}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=_e(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 _e(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(ke(e)){var r=b(n),i=!r&&t&&!w(t),o=!t,a=_e(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=Pr(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(P(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?_(e,a.transclude,o):!a.templateOnThisElement&&o?o:!o&&t?_(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 _=N[O],P=x[O],L=_.$$bindings.bindToController;P.identifier&&L&&(T=se(b,k,P.instance,L,_));var R=P();R!==P.instance&&(P.instance=R,E.data("$"+_.name+"Controller",R),T&&T(),T=se(b,k,P.instance,L,_))}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,_=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",_,b,G),_=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:_});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=P(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:_}),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=P(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?_(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=_(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 _t(){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 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=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=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=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=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 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=Pt(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 _n(){this.$get=jn}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",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)||_o.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)||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 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,_r,Pr,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:Pe,removeData:je,hasData:Se,cleanData:Ae},function(e,t){Fe[t]=e}),o({data:Pe,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===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: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=_e(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=_e(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",_i=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=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"],Pn.$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)/,_o=/^[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})$/,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 _ in r)Dr.call(r,_)&&"$"!==_.charAt(0)&&O.push(_)}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 P in v){if(F=v[P],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)})})})}}}],_a=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)}}),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"!==(_=d.toLowerCase())&&"radio"!==_||f.checked)&&o.append(p,f.value);for(c=F=0,P=e.length-1;P>=0?P>=F:F>=P;c=P>=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},_=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},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=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,Pe(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!==_e()&&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":Pe(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"}}(),_e=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=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(e,t){e.controller("ImageManagerController",["$scope","$attrs","$http","$timeout","imageManagerService",function(e,n,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=n.imageType,e.selectedImage=!1,e.dependantPages=!1,e.showing=!1,e.hasMore=!1,e.imageUpdateSuccess=!1,e.imageDeleteSuccess=!1;var l=0,c=0,f=!1,p=!1;e.getUploadUrl=function(){return"/images/"+e.imageType+"/upload"},e.uploadSuccess=function(n,r){e.$apply(function(){e.images.unshift(r)}),t.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(n){n.preventDefault();var i="/images/update/"+e.selectedImage.id;r.put(i,this.selectedImage).then(function(e){t.emit("success","Image details updated")},function(e){var n=e.data,r="";Object.keys(n).forEach(function(e){r+=n[e].join("\n")}),t.emit("error",r)})},e.deleteImage=function(n){n.preventDefault();var i=e.dependantPages!==!1,o="/images/"+e.selectedImage.id;i&&(o+="?force=true"),r["delete"](o).then(function(n){e.images.splice(e.images.indexOf(e.selectedImage),1),e.selectedImage=!1,t.emit("success","Image successfully deleted")},function(t){400===t.status&&(e.dependantPages=t.data)})},e.getDate=function(e){return new Date(e)}}]),e.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=""}}])}},{}],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:"="},link:function(e,t,n){new r(t[0].querySelector(".dropzone-container"),{url:e.uploadUrl,init:function(){var t=this;t.on("sending",function(e,t,n){var r=window.document.querySelector("meta[name=token]").getAttribute("content");n.append("_token",r)}),"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")})})}}}])}},{"./components/drop-zone.html":11,"./components/image-picker.html":12,"./components/toggle-switch.html":13,dropzone:9}],16:[function(e,t,n){"use strict";function r(e){return null!==document.querySelector(e)}var i=e("angular"),o=(e("angular-resource"),e("angular-animate"),e("angular-sanitize"),i.module("bookStack",["ngResource","ngAnimate","ngSanitize"])),a={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");window.Events.listen("success",function(e){t.hide(),t.find("span").text(e),setTimeout(function(){t.show()},1)}),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 r=!1,i=document.getElementById("back-to-top"),o=1200;window.addEventListener("scroll",function(){!r&&document.body.scrollTop>o?(i.style.display="block",r=!0,setTimeout(function(){i.style.opacity=1},1)):r&&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()}var n=$("#pointer").detach(),i=n.children("div.pointer").first(),o=!1;if(n.on("click","input",function(e){$(this).select(),e.stopPropagation()}),new r(n.find("button").first()[0]),$(document.body).find("*").on("click focus",function(e){o||n.detach()}),$('.page-content [id^="bkmrk"]').on("mouseup keyup",function(t){var r=window.getSelection();if(0!==r.toString().length){var a=$(this),s=window.location.protocol+"//"+window.location.host+"/link/"+e+"#"+a.attr("id");n.find("input").val(s),n.find("button").first().attr("data-clipboard-text",s),a.before(n),n.show();var u=t.pageX-a.offset().left-i.width()/2;0>u&&(u=0);var l=u/a.width()*100;i.css("left",l+"%"),t.stopPropagation(),o=!0,setTimeout(function(){o=!1},100)}}),window.location.hash){var a=window.location.hash.replace(/\%20/g," ").substr(1);t(a)}}},{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 From 9b55a52b85b593073985869c780d6ec54688f7f2 Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Thu, 11 Feb 2016 22:35:01 +0000 Subject: [PATCH 09/54] Updated assets for release 0.7.4 --- public/build/manifest.json | 6 +++--- public/css/export-styles.css | 2 +- public/css/styles.css | 2 +- public/js/common.js | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/public/build/manifest.json b/public/build/manifest.json index c64723bf715..b68ccce5aad 100644 --- a/public/build/manifest.json +++ b/public/build/manifest.json @@ -1,5 +1,5 @@ { - "css/styles.css": "css/styles.css?version=2a2a428", - "css/print-styles.css": "css/print-styles.css?version=2a2a428", - "js/common.js": "js/common.js?version=2a2a428" + "css/styles.css": "css/styles.css?version=2748d88", + "css/print-styles.css": "css/print-styles.css?version=2748d88", + "js/common.js": "js/common.js?version=2748d88" } \ No newline at end of file diff --git a/public/css/export-styles.css b/public/css/export-styles.css index 29a29631618..d5776dd8cb6 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%}body{font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}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:.5em}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}ol,ul{padding-left:24px}.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-chapter,.text-chapter:hover{color:#ef7c3c}span.highlight{font-weight:700}ul{list-style:disc inside}ol{list-style:decimal inside}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.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}.activity-list-item .left,.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,ul.pagination li{float:left}.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-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}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}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:7.2px}@media screen and (max-width:992px){header .user-name{padding-left:6px}header .user-name .name{display:none}header .user-name i{font-size:2em;padding-left:0;padding-top:0}header{text-align:center}header .float.right{float:none}}.dropdown-container,.logo,.logo-text,form.search-box{display:inline-block}@media screen and (max-width:768px){header .links a{padding:12px}header form.search-box{margin-top:0}header .user-name{padding-top:12px}}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;text-decoration:none}.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}.dropdown-container{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}.page-list .page,.page-list h4{border-left:5px solid #0288D1}.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}.breadcrumbs span.sep{color:#aaa;padding:0 6px}.faded a,.faded button,.faded span,.faded span>div{color:#666}.faded .text-button{opacity:.5}.faded .text-button:hover{opacity:1;text-decoration:none}.faded-small{color:#000;font-size:.9em;background-color:rgba(21,101,192,.15)}.action-buttons .text-button,.breadcrumbs .text-button{display:inline-block;padding:12px}.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}.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;padding:6px 0 6px 16px}.page-list hr{margin-top:0}.page-list .book,.page-list .chapter,.page-list .page{padding-left:24px}.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{margin-top:32px}.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:hover{background-color:rgba(255,255,255,.2);text-decoration:none}.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 .sub-menu{display:none}.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}#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:180px;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}.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}.chapter-toggle,.toggle-switch{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}*{box-sizing:border-box}html{background-color:#FFF;height:100%}body{font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}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:.5em}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}ol,ul{padding-left:24px}.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-chapter,.text-chapter:hover{color:#ef7c3c}span.highlight{font-weight:700}ul{list-style:disc inside}ol{list-style:decimal inside}.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}.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}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}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:7.2px}@media screen and (max-width:992px){header .user-name{padding-left:6px}header .user-name .name{display:none}header .user-name i{font-size:2em;padding-left:0;padding-top:0}header{text-align:center}header .float.right{float:none}}.dropdown-container,.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}}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}.dropdown-container{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}.page-list .page,.page-list h4{border-left:5px solid #0288D1}.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}.breadcrumbs span.sep{color:#aaa;padding:0 6px}.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,.breadcrumbs .text-button{display:inline-block;padding:12px}.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}.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;padding:6px 0 6px 16px}.page-list hr{margin-top:0}.page-list .book,.page-list .chapter,.page-list .page{padding-left:24px}.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:32px 0 0;position:relative;right:0;top:0;transition:ease-in-out 240ms;transition-property:right,border;border-left:0 solid #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 .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}#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:180px;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 1ebb6e8a573..5cddb2854ef 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%}body{font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}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:.5em}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}ol,ul{padding-left:24px}.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-chapter,.text-chapter:hover{color:#ef7c3c}span.highlight{font-weight:700}ul{list-style:disc inside}ol{list-style:decimal inside}.underlined{text-decoration:underline}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.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}.activity-list-item .left,.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,.image-manager-list .image,ul.pagination li{float:left}.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-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{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}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%}.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;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}.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{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:7.2px}@media screen and (max-width:992px){header .user-name{padding-left:6px}header .user-name .name{display:none}header .user-name i{font-size:2em;padding-left:0;padding-top:0}header{text-align:center}header .float.right{float:none}}.dropdown-container,.logo,.logo-text,form.search-box{display:inline-block}@media screen and (max-width:768px){header .links a{padding:12px}header form.search-box{margin-top:0}header .user-name{padding-top:12px}}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;text-decoration:none}.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}.dropdown-container{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}.page-list .page,.page-list h4{border-left:5px solid #0288D1}.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}.breadcrumbs span.sep{color:#aaa;padding:0 6px}.faded a,.faded button,.faded span,.faded span>div{color:#666}.faded .text-button{opacity:.5;transition:all ease-in-out 120ms}#back-to-top,.chapter-toggle{transition:all ease-in-out 180ms}.faded .text-button:hover{opacity:1;text-decoration:none}.faded-small{color:#000;font-size:.9em;background-color:rgba(21,101,192,.15)}.action-buttons .text-button,.breadcrumbs .text-button{display:inline-block;padding:12px}.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}.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;padding:6px 0 6px 16px}.page-list hr{margin-top:0}.page-list .book,.page-list .chapter,.page-list .page{padding-left:24px}.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;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{margin-top:32px}.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:hover{background-color:rgba(255,255,255,.2);text-decoration:none}.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 .sub-menu{display:none}.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}#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:180px;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.med{width:40px;height:40px}.avatar.large{width:80px;height:80px}.notification{position:fixed;top:0;right:0;margin:64px 32px;padding:24px 32px;border-radius:3px;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}.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:rgba(2,136,209,.4);position:fixed;bottom:16px;right:16px;padding:6px 12px;cursor:pointer;color:#FFF;width:40px;height:40px;border-radius:40px;opacity:0;z-index:999}#back-to-top:hover{width:136px;background-color:#0288d1}#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 +.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%}body{font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}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:.5em}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}ol,ul{padding-left:24px}.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-chapter,.text-chapter:hover{color:#ef7c3c}span.highlight{font-weight:700}ul{list-style:disc inside}ol{list-style:decimal inside}.underlined{text-decoration:underline}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.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{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}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%}.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{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:7.2px}@media screen and (max-width:992px){header .user-name{padding-left:6px}header .user-name .name{display:none}header .user-name i{font-size:2em;padding-left:0;padding-top:0}header{text-align:center}header .float.right{float:none}}.dropdown-container,.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}}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}.dropdown-container{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}.page-list .page,.page-list h4{border-left:5px solid #0288D1}.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}.breadcrumbs span.sep{color:#aaa;padding:0 6px}.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,.breadcrumbs .text-button{display:inline-block;padding:12px}.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}.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;padding:6px 0 6px 16px}.page-list hr{margin-top:0}.page-list .book,.page-list .chapter,.page-list .page{padding-left:24px}.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:32px 0 0;position:relative;right:0;top:0;transition:ease-in-out 240ms;transition-property:right,border;border-left:0 solid #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 .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}#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:180px;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.med{width:40px;height:40px}.avatar.large{width:80px;height:80px}.notification{position:fixed;top:0;right:0;margin:64px 32px;padding:24px 32px;border-radius:3px;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}.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:rgba(2,136,209,.4);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;background-color:#0288d1}#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 diff --git a/public/js/common.js b/public/js/common.js index 700d1082126..1c4a61c4ddc 100644 --- a/public/js/common.js +++ b/public/js/common.js @@ -6,4 +6,4 @@ t.val()!==e&&t.val(e)}}function dr(e,t){if(k(e))return e;if(C(e)){Vo.lastIndex=0 (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"],Pn.$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)/,_o=/^[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})$/,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 _ in r)Dr.call(r,_)&&"$"!==_.charAt(0)&&O.push(_)}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 P in v){if(F=v[P],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)})})})}}}],_a=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)}}),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"!==(_=d.toLowerCase())&&"radio"!==_||f.checked)&&o.append(p,f.value);for(c=F=0,P=e.length-1;P>=0?P>=F:F>=P;c=P>=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},_=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},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=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,Pe(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!==_e()&&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":Pe(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"}}(),_e=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=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(e,t){e.controller("ImageManagerController",["$scope","$attrs","$http","$timeout","imageManagerService",function(e,n,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=n.imageType,e.selectedImage=!1,e.dependantPages=!1,e.showing=!1,e.hasMore=!1,e.imageUpdateSuccess=!1,e.imageDeleteSuccess=!1;var l=0,c=0,f=!1,p=!1;e.getUploadUrl=function(){return"/images/"+e.imageType+"/upload"},e.uploadSuccess=function(n,r){e.$apply(function(){e.images.unshift(r)}),t.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(n){n.preventDefault();var i="/images/update/"+e.selectedImage.id;r.put(i,this.selectedImage).then(function(e){t.emit("success","Image details updated")},function(e){var n=e.data,r="";Object.keys(n).forEach(function(e){r+=n[e].join("\n")}),t.emit("error",r)})},e.deleteImage=function(n){n.preventDefault();var i=e.dependantPages!==!1,o="/images/"+e.selectedImage.id;i&&(o+="?force=true"),r["delete"](o).then(function(n){e.images.splice(e.images.indexOf(e.selectedImage),1),e.selectedImage=!1,t.emit("success","Image successfully deleted")},function(t){400===t.status&&(e.dependantPages=t.data)})},e.getDate=function(e){return new Date(e)}}]),e.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=""}}])}},{}],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:"="},link:function(e,t,n){new r(t[0].querySelector(".dropzone-container"),{url:e.uploadUrl,init:function(){var t=this;t.on("sending",function(e,t,n){var r=window.document.querySelector("meta[name=token]").getAttribute("content");n.append("_token",r)}),"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")})})}}}])}},{"./components/drop-zone.html":11,"./components/image-picker.html":12,"./components/toggle-switch.html":13,dropzone:9}],16:[function(e,t,n){"use strict";function r(e){return null!==document.querySelector(e)}var i=e("angular"),o=(e("angular-resource"),e("angular-animate"),e("angular-sanitize"),i.module("bookStack",["ngResource","ngAnimate","ngSanitize"])),a={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");window.Events.listen("success",function(e){t.hide(),t.find("span").text(e),setTimeout(function(){t.show()},1)}),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 r=!1,i=document.getElementById("back-to-top"),o=1200;window.addEventListener("scroll",function(){!r&&document.body.scrollTop>o?(i.style.display="block",r=!0,setTimeout(function(){i.style.opacity=1},1)):r&&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()}var n=$("#pointer").detach(),i=n.children("div.pointer").first(),o=!1;if(n.on("click","input",function(e){$(this).select(),e.stopPropagation()}),new r(n.find("button").first()[0]),$(document.body).find("*").on("click focus",function(e){o||n.detach()}),$('.page-content [id^="bkmrk"]').on("mouseup keyup",function(t){var r=window.getSelection();if(0!==r.toString().length){var a=$(this),s=window.location.protocol+"//"+window.location.host+"/link/"+e+"#"+a.attr("id");n.find("input").val(s),n.find("button").first().attr("data-clipboard-text",s),a.before(n),n.show();var u=t.pageX-a.offset().left-i.width()/2;0>u&&(u=0);var l=u/a.width()*100;i.css("left",l+"%"),t.stopPropagation(),o=!0,setTimeout(function(){o=!1},100)}}),window.location.hash){var a=window.location.hash.replace(/\%20/g," ").substr(1);t(a)}}},{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 +},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(e,t){e.controller("ImageManagerController",["$scope","$attrs","$http","$timeout","imageManagerService",function(e,n,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=n.imageType,e.selectedImage=!1,e.dependantPages=!1,e.showing=!1,e.hasMore=!1,e.imageUpdateSuccess=!1,e.imageDeleteSuccess=!1;var l=0,c=0,f=!1,p=!1;e.getUploadUrl=function(){return"/images/"+e.imageType+"/upload"},e.uploadSuccess=function(n,r){e.$apply(function(){e.images.unshift(r)}),t.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(n){n.preventDefault();var i="/images/update/"+e.selectedImage.id;r.put(i,this.selectedImage).then(function(e){t.emit("success","Image details updated")},function(e){var n=e.data,r="";Object.keys(n).forEach(function(e){r+=n[e].join("\n")}),t.emit("error",r)})},e.deleteImage=function(n){n.preventDefault();var i=e.dependantPages!==!1,o="/images/"+e.selectedImage.id;i&&(o+="?force=true"),r["delete"](o).then(function(n){e.images.splice(e.images.indexOf(e.selectedImage),1),e.selectedImage=!1,t.emit("success","Image successfully deleted")},function(t){400===t.status&&(e.dependantPages=t.data)})},e.getDate=function(e){return new Date(e)}}]),e.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=""}}])}},{}],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:"="},link:function(e,t,n){new r(t[0].querySelector(".dropzone-container"),{url:e.uploadUrl,init:function(){var t=this;t.on("sending",function(e,t,n){var r=window.document.querySelector("meta[name=token]").getAttribute("content");n.append("_token",r)}),"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")})})}}}])}},{"./components/drop-zone.html":11,"./components/image-picker.html":12,"./components/toggle-switch.html":13,dropzone:9}],16:[function(e,t,n){"use strict";function r(e){return null!==document.querySelector(e)}var i=e("angular"),o=(e("angular-resource"),e("angular-animate"),e("angular-sanitize"),i.module("bookStack",["ngResource","ngAnimate","ngSanitize"])),a={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");window.Events.listen("success",function(e){t.hide(),t.find("span").text(e),setTimeout(function(){t.show()},1)}),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 r=!1,i=document.getElementById("back-to-top"),o=1200;window.addEventListener("scroll",function(){!r&&document.body.scrollTop>o?(i.style.display="block",r=!0,setTimeout(function(){i.style.opacity=1},1)):r&&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 From a67c53826d05af68e86e1d4b7edd570905a5c471 Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Thu, 25 Feb 2016 21:24:09 +0000 Subject: [PATCH 10/54] Updated assets for release 0.7.5 --- public/build/manifest.json | 6 +++--- public/css/export-styles.css | 2 +- public/css/styles.css | 2 +- public/js/common.js | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/public/build/manifest.json b/public/build/manifest.json index b68ccce5aad..ba6f46bcac6 100644 --- a/public/build/manifest.json +++ b/public/build/manifest.json @@ -1,5 +1,5 @@ { - "css/styles.css": "css/styles.css?version=2748d88", - "css/print-styles.css": "css/print-styles.css?version=2748d88", - "js/common.js": "js/common.js?version=2748d88" + "css/styles.css": "css/styles.css?version=a50dcfa", + "css/print-styles.css": "css/print-styles.css?version=a50dcfa", + "js/common.js": "js/common.js?version=a50dcfa" } \ No newline at end of file diff --git a/public/css/export-styles.css b/public/css/export-styles.css index d5776dd8cb6..3e8e704907b 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}.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}.chapter-toggle,.toggle-switch{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}*{box-sizing:border-box}html{background-color:#FFF;height:100%}body{font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}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:.5em}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}ol,ul{padding-left:24px}.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-chapter,.text-chapter:hover{color:#ef7c3c}span.highlight{font-weight:700}ul{list-style:disc inside}ol{list-style:decimal inside}.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}.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}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}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:7.2px}@media screen and (max-width:992px){header .user-name{padding-left:6px}header .user-name .name{display:none}header .user-name i{font-size:2em;padding-left:0;padding-top:0}header{text-align:center}header .float.right{float:none}}.dropdown-container,.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}}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}.dropdown-container{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}.page-list .page,.page-list h4{border-left:5px solid #0288D1}.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}.breadcrumbs span.sep{color:#aaa;padding:0 6px}.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,.breadcrumbs .text-button{display:inline-block;padding:12px}.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}.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;padding:6px 0 6px 16px}.page-list hr{margin-top:0}.page-list .book,.page-list .chapter,.page-list .page{padding-left:24px}.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:32px 0 0;position:relative;right:0;top:0;transition:ease-in-out 240ms;transition-property:right,border;border-left:0 solid #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 .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}#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:180px;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,.row:after,.title-input .page-content input[type=text]{clear:both}*{box-sizing:border-box}html{background-color:#FFF;height:100%}body{font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}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}ol,ul{padding-left:24px}.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-chapter,.text-chapter:hover{color:#ef7c3c}span.highlight{font-weight:700}ul{list-style:disc inside}ol{list-style:decimal inside}.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}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:7.2px}@media screen and (max-width:992px){header .user-name{padding-left:6px}header .user-name .name{display:none}header .user-name i{font-size:2em;padding-left:0;padding-top:0}header{text-align:center}header .float.right{float:none}}.logo,.logo-text,.setting-nav a,form.search-box,form.search-box button{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}}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}.page-list .page,.page-list h4{border-left:5px solid #0288D1}form.search-box button{margin-left:-24px;color:#FFF;top:6px;right:4px;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}.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,.breadcrumbs .text-button{display:inline-block;padding:12px}.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}.setting-nav{text-align:center}.setting-nav a{padding:16px;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;padding:6px 0 6px 16px}.page-list hr{margin-top:0}.page-list .book,.page-list .chapter,.page-list .page{padding-left:24px}.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:32px 0 0;position:relative;right:0;top:0;transition:ease-in-out 240ms;transition-property:right,border;border-left:0 solid #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 .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.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 diff --git a/public/css/styles.css b/public/css/styles.css index 5cddb2854ef..1064220db6b 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%}body{font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}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:.5em}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}ol,ul{padding-left:24px}.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-chapter,.text-chapter:hover{color:#ef7c3c}span.highlight{font-weight:700}ul{list-style:disc inside}ol{list-style:decimal inside}.underlined{text-decoration:underline}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.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{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}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%}.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{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:7.2px}@media screen and (max-width:992px){header .user-name{padding-left:6px}header .user-name .name{display:none}header .user-name i{font-size:2em;padding-left:0;padding-top:0}header{text-align:center}header .float.right{float:none}}.dropdown-container,.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}}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}.dropdown-container{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}.page-list .page,.page-list h4{border-left:5px solid #0288D1}.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}.breadcrumbs span.sep{color:#aaa;padding:0 6px}.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,.breadcrumbs .text-button{display:inline-block;padding:12px}.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}.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;padding:6px 0 6px 16px}.page-list hr{margin-top:0}.page-list .book,.page-list .chapter,.page-list .page{padding-left:24px}.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:32px 0 0;position:relative;right:0;top:0;transition:ease-in-out 240ms;transition-property:right,border;border-left:0 solid #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 .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}#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:180px;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.med{width:40px;height:40px}.avatar.large{width:80px;height:80px}.notification{position:fixed;top:0;right:0;margin:64px 32px;padding:24px 32px;border-radius:3px;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}.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:rgba(2,136,209,.4);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;background-color:#0288d1}#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 +.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%}body{font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}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}ol,ul{padding-left:24px}.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-chapter,.text-chapter:hover{color:#ef7c3c}span.highlight{font-weight:700}ul{list-style:disc inside}ol{list-style:decimal inside}.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{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}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{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:7.2px}@media screen and (max-width:992px){header .user-name{padding-left:6px}header .user-name .name{display:none}header .user-name i{font-size:2em;padding-left:0;padding-top:0}header{text-align:center}header .float.right{float:none}}.logo,.logo-text,.setting-nav a,form.search-box,form.search-box button{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}}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}.page-list .page,.page-list h4{border-left:5px solid #0288D1}form.search-box button{margin-left:-24px;color:#FFF;top:6px;right:4px;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}.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,.breadcrumbs .text-button{display:inline-block;padding:12px}.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}.setting-nav{text-align:center}.setting-nav a{padding:16px;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;padding:6px 0 6px 16px}.page-list hr{margin-top:0}.page-list .book,.page-list .chapter,.page-list .page{padding-left:24px}.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:32px 0 0;position:relative;right:0;top:0;transition:ease-in-out 240ms;transition-property:right,border;border-left:0 solid #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 .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.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}.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:rgba(2,136,209,.4);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;background-color:#0288d1}#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 diff --git a/public/js/common.js b/public/js/common.js index 1c4a61c4ddc..961abb26285 100644 --- a/public/js/common.js +++ b/public/js/common.js @@ -6,4 +6,4 @@ t.val()!==e&&t.val(e)}}function dr(e,t){if(k(e))return e;if(C(e)){Vo.lastIndex=0 (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"],Pn.$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)/,_o=/^[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})$/,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 _ in r)Dr.call(r,_)&&"$"!==_.charAt(0)&&O.push(_)}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 P in v){if(F=v[P],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)})})})}}}],_a=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)}}),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"!==(_=d.toLowerCase())&&"radio"!==_||f.checked)&&o.append(p,f.value);for(c=F=0,P=e.length-1;P>=0?P>=F:F>=P;c=P>=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},_=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},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=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,Pe(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!==_e()&&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":Pe(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"}}(),_e=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=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(e,t){e.controller("ImageManagerController",["$scope","$attrs","$http","$timeout","imageManagerService",function(e,n,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=n.imageType,e.selectedImage=!1,e.dependantPages=!1,e.showing=!1,e.hasMore=!1,e.imageUpdateSuccess=!1,e.imageDeleteSuccess=!1;var l=0,c=0,f=!1,p=!1;e.getUploadUrl=function(){return"/images/"+e.imageType+"/upload"},e.uploadSuccess=function(n,r){e.$apply(function(){e.images.unshift(r)}),t.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(n){n.preventDefault();var i="/images/update/"+e.selectedImage.id;r.put(i,this.selectedImage).then(function(e){t.emit("success","Image details updated")},function(e){var n=e.data,r="";Object.keys(n).forEach(function(e){r+=n[e].join("\n")}),t.emit("error",r)})},e.deleteImage=function(n){n.preventDefault();var i=e.dependantPages!==!1,o="/images/"+e.selectedImage.id;i&&(o+="?force=true"),r["delete"](o).then(function(n){e.images.splice(e.images.indexOf(e.selectedImage),1),e.selectedImage=!1,t.emit("success","Image successfully deleted")},function(t){400===t.status&&(e.dependantPages=t.data)})},e.getDate=function(e){return new Date(e)}}]),e.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=""}}])}},{}],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:"="},link:function(e,t,n){new r(t[0].querySelector(".dropzone-container"),{url:e.uploadUrl,init:function(){var t=this;t.on("sending",function(e,t,n){var r=window.document.querySelector("meta[name=token]").getAttribute("content");n.append("_token",r)}),"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")})})}}}])}},{"./components/drop-zone.html":11,"./components/image-picker.html":12,"./components/toggle-switch.html":13,dropzone:9}],16:[function(e,t,n){"use strict";function r(e){return null!==document.querySelector(e)}var i=e("angular"),o=(e("angular-resource"),e("angular-animate"),e("angular-sanitize"),i.module("bookStack",["ngResource","ngAnimate","ngSanitize"])),a={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");window.Events.listen("success",function(e){t.hide(),t.find("span").text(e),setTimeout(function(){t.show()},1)}),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 r=!1,i=document.getElementById("back-to-top"),o=1200;window.addEventListener("scroll",function(){!r&&document.body.scrollTop>o?(i.style.display="block",r=!0,setTimeout(function(){i.style.opacity=1},1)):r&&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 +},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(e,t){e.controller("ImageManagerController",["$scope","$attrs","$http","$timeout","imageManagerService",function(e,n,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=n.imageType,e.selectedImage=!1,e.dependantPages=!1,e.showing=!1,e.hasMore=!1,e.imageUpdateSuccess=!1,e.imageDeleteSuccess=!1;var l=0,c=0,f=!1,p=!1;e.getUploadUrl=function(){return"/images/"+e.imageType+"/upload"},e.uploadSuccess=function(n,r){e.$apply(function(){e.images.unshift(r)}),t.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(n){n.preventDefault();var i="/images/update/"+e.selectedImage.id;r.put(i,this.selectedImage).then(function(e){t.emit("success","Image details updated")},function(e){var n=e.data,r="";Object.keys(n).forEach(function(e){r+=n[e].join("\n")}),t.emit("error",r)})},e.deleteImage=function(n){n.preventDefault();var i=e.dependantPages!==!1,o="/images/"+e.selectedImage.id;i&&(o+="?force=true"),r["delete"](o).then(function(n){e.images.splice(e.images.indexOf(e.selectedImage),1),e.selectedImage=!1,t.emit("success","Image successfully deleted")},function(t){400===t.status&&(e.dependantPages=t.data)})},e.getDate=function(e){return new Date(e)}}]),e.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=""}}])}},{}],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:"="},link:function(e,t,n){new r(t[0].querySelector(".dropzone-container"),{url:e.uploadUrl,init:function(){var t=this;t.on("sending",function(e,t,n){var r=window.document.querySelector("meta[name=token]").getAttribute("content");n.append("_token",r)}),"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")})})}}}])}},{"./components/drop-zone.html":11,"./components/image-picker.html":12,"./components/toggle-switch.html":13,dropzone:9}],16:[function(e,t,n){"use strict";function r(e){return null!==document.querySelector(e)}var i=e("angular"),o=(e("angular-resource"),e("angular-animate"),e("angular-sanitize"),i.module("bookStack",["ngResource","ngAnimate","ngSanitize"])),a={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");window.Events.listen("success",function(e){t.hide(),t.find("span").text(e),setTimeout(function(){t.show()},1)}),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 r=!1,i=document.getElementById("back-to-top"),o=1200;window.addEventListener("scroll",function(){!r&&document.body.scrollTop>o?(i.style.display="block",r=!0,setTimeout(function(){i.style.opacity=1},1)):r&&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 From 744865fcb200c799de1937ed2b172653fca6c21a Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Sun, 6 Mar 2016 13:28:44 +0000 Subject: [PATCH 11/54] Updated assets for release 0.7.6 --- public/build/manifest.json | 6 +++--- public/css/export-styles.css | 2 +- public/css/styles.css | 2 +- public/js/common.js | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/public/build/manifest.json b/public/build/manifest.json index ba6f46bcac6..3dd80282cf7 100644 --- a/public/build/manifest.json +++ b/public/build/manifest.json @@ -1,5 +1,5 @@ { - "css/styles.css": "css/styles.css?version=a50dcfa", - "css/print-styles.css": "css/print-styles.css?version=a50dcfa", - "js/common.js": "js/common.js?version=a50dcfa" + "css/styles.css": "css/styles.css?version=c1c35d2", + "css/print-styles.css": "css/print-styles.css?version=c1c35d2", + "js/common.js": "js/common.js?version=c1c35d2" } \ No newline at end of file diff --git a/public/css/export-styles.css b/public/css/export-styles.css index 3e8e704907b..be13602ceea 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%}body{font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}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}ol,ul{padding-left:24px}.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-chapter,.text-chapter:hover{color:#ef7c3c}span.highlight{font-weight:700}ul{list-style:disc inside}ol{list-style:decimal inside}.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}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:7.2px}@media screen and (max-width:992px){header .user-name{padding-left:6px}header .user-name .name{display:none}header .user-name i{font-size:2em;padding-left:0;padding-top:0}header{text-align:center}header .float.right{float:none}}.logo,.logo-text,.setting-nav a,form.search-box,form.search-box button{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}}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}.page-list .page,.page-list h4{border-left:5px solid #0288D1}form.search-box button{margin-left:-24px;color:#FFF;top:6px;right:4px;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}.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,.breadcrumbs .text-button{display:inline-block;padding:12px}.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}.setting-nav{text-align:center}.setting-nav a{padding:16px;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;padding:6px 0 6px 16px}.page-list hr{margin-top:0}.page-list .book,.page-list .chapter,.page-list .page{padding-left:24px}.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:32px 0 0;position:relative;right:0;top:0;transition:ease-in-out 240ms;transition-property:right,border;border-left:0 solid #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 .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.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,.row:after,.title-input .page-content input[type=text]{clear:both}*{box-sizing:border-box}html{background-color:#FFF;height:100%}body{font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}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}ol,ul{padding-left:24px}.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-chapter,.text-chapter:hover{color:#ef7c3c}span.highlight{font-weight:700}ul{list-style:disc inside}ol{list-style:decimal inside}.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}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:7.2px}@media screen and (max-width:992px){header .user-name{padding-left:6px}header .user-name .name{display:none}header .user-name i{font-size:2em;padding-left:0;padding-top:0}header{text-align:center}header .float.right{float:none}}.logo,.logo-text,.setting-nav a,form.search-box,form.search-box button{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}.page-list .page,.page-list h4{border-left:5px solid #0288D1}form.search-box button{margin-left:-24px;color:#FFF;top:6px;right:4px;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}.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,.breadcrumbs .text-button{display:inline-block;padding:12px}.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}.setting-nav{text-align:center}.setting-nav a{padding:16px;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;padding:6px 0 6px 16px}.page-list hr{margin-top:0}.page-list .book,.page-list .chapter,.page-list .page{padding-left:24px}.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 .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.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 diff --git a/public/css/styles.css b/public/css/styles.css index 1064220db6b..5297f10c2fe 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%}body{font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}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}ol,ul{padding-left:24px}.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-chapter,.text-chapter:hover{color:#ef7c3c}span.highlight{font-weight:700}ul{list-style:disc inside}ol{list-style:decimal inside}.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{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}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{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:7.2px}@media screen and (max-width:992px){header .user-name{padding-left:6px}header .user-name .name{display:none}header .user-name i{font-size:2em;padding-left:0;padding-top:0}header{text-align:center}header .float.right{float:none}}.logo,.logo-text,.setting-nav a,form.search-box,form.search-box button{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}}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}.page-list .page,.page-list h4{border-left:5px solid #0288D1}form.search-box button{margin-left:-24px;color:#FFF;top:6px;right:4px;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}.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,.breadcrumbs .text-button{display:inline-block;padding:12px}.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}.setting-nav{text-align:center}.setting-nav a{padding:16px;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;padding:6px 0 6px 16px}.page-list hr{margin-top:0}.page-list .book,.page-list .chapter,.page-list .page{padding-left:24px}.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:32px 0 0;position:relative;right:0;top:0;transition:ease-in-out 240ms;transition-property:right,border;border-left:0 solid #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 .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.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}.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:rgba(2,136,209,.4);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;background-color:#0288d1}#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 +.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%}body{font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}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}ol,ul{padding-left:24px}.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-chapter,.text-chapter:hover{color:#ef7c3c}span.highlight{font-weight:700}ul{list-style:disc inside}ol{list-style:decimal inside}.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{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}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{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:7.2px}@media screen and (max-width:992px){header .user-name{padding-left:6px}header .user-name .name{display:none}header .user-name i{font-size:2em;padding-left:0;padding-top:0}header{text-align:center}header .float.right{float:none}}.logo,.logo-text,.setting-nav a,form.search-box,form.search-box button{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}.page-list .page,.page-list h4{border-left:5px solid #0288D1}form.search-box button{margin-left:-24px;color:#FFF;top:6px;right:4px;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}.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,.breadcrumbs .text-button{display:inline-block;padding:12px}.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}.setting-nav{text-align:center}.setting-nav a{padding:16px;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;padding:6px 0 6px 16px}.page-list hr{margin-top:0}.page-list .book,.page-list .chapter,.page-list .page{padding-left:24px}.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 .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.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}.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 diff --git a/public/js/common.js b/public/js/common.js index 961abb26285..0125d321acf 100644 --- a/public/js/common.js +++ b/public/js/common.js @@ -6,4 +6,4 @@ t.val()!==e&&t.val(e)}}function dr(e,t){if(k(e))return e;if(C(e)){Vo.lastIndex=0 (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"],Pn.$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)/,_o=/^[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})$/,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 _ in r)Dr.call(r,_)&&"$"!==_.charAt(0)&&O.push(_)}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 P in v){if(F=v[P],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)})})})}}}],_a=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)}}),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"!==(_=d.toLowerCase())&&"radio"!==_||f.checked)&&o.append(p,f.value);for(c=F=0,P=e.length-1;P>=0?P>=F:F>=P;c=P>=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},_=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},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=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,Pe(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!==_e()&&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":Pe(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"}}(),_e=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=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(e,t){e.controller("ImageManagerController",["$scope","$attrs","$http","$timeout","imageManagerService",function(e,n,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=n.imageType,e.selectedImage=!1,e.dependantPages=!1,e.showing=!1,e.hasMore=!1,e.imageUpdateSuccess=!1,e.imageDeleteSuccess=!1;var l=0,c=0,f=!1,p=!1;e.getUploadUrl=function(){return"/images/"+e.imageType+"/upload"},e.uploadSuccess=function(n,r){e.$apply(function(){e.images.unshift(r)}),t.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(n){n.preventDefault();var i="/images/update/"+e.selectedImage.id;r.put(i,this.selectedImage).then(function(e){t.emit("success","Image details updated")},function(e){var n=e.data,r="";Object.keys(n).forEach(function(e){r+=n[e].join("\n")}),t.emit("error",r)})},e.deleteImage=function(n){n.preventDefault();var i=e.dependantPages!==!1,o="/images/"+e.selectedImage.id;i&&(o+="?force=true"),r["delete"](o).then(function(n){e.images.splice(e.images.indexOf(e.selectedImage),1),e.selectedImage=!1,t.emit("success","Image successfully deleted")},function(t){400===t.status&&(e.dependantPages=t.data)})},e.getDate=function(e){return new Date(e)}}]),e.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=""}}])}},{}],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:"="},link:function(e,t,n){new r(t[0].querySelector(".dropzone-container"),{url:e.uploadUrl,init:function(){var t=this;t.on("sending",function(e,t,n){var r=window.document.querySelector("meta[name=token]").getAttribute("content");n.append("_token",r)}),"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")})})}}}])}},{"./components/drop-zone.html":11,"./components/image-picker.html":12,"./components/toggle-switch.html":13,dropzone:9}],16:[function(e,t,n){"use strict";function r(e){return null!==document.querySelector(e)}var i=e("angular"),o=(e("angular-resource"),e("angular-animate"),e("angular-sanitize"),i.module("bookStack",["ngResource","ngAnimate","ngSanitize"])),a={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");window.Events.listen("success",function(e){t.hide(),t.find("span").text(e),setTimeout(function(){t.show()},1)}),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 r=!1,i=document.getElementById("back-to-top"),o=1200;window.addEventListener("scroll",function(){!r&&document.body.scrollTop>o?(i.style.display="block",r=!0,setTimeout(function(){i.style.opacity=1},1)):r&&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 +},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(e,t){e.controller("ImageManagerController",["$scope","$attrs","$http","$timeout","imageManagerService",function(e,n,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=n.imageType,e.selectedImage=!1,e.dependantPages=!1,e.showing=!1,e.hasMore=!1,e.imageUpdateSuccess=!1,e.imageDeleteSuccess=!1;var l=0,c=0,f=!1,p=!1;e.getUploadUrl=function(){return"/images/"+e.imageType+"/upload"},e.uploadSuccess=function(n,r){e.$apply(function(){e.images.unshift(r)}),t.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(n){n.preventDefault();var i="/images/update/"+e.selectedImage.id;r.put(i,this.selectedImage).then(function(e){t.emit("success","Image details updated")},function(e){if(422===e.status){var n=e.data,r="";Object.keys(n).forEach(function(e){r+=n[e].join("\n")}),t.emit("error",r)}else 403===e.status&&t.emit("error",e.data.error)})},e.deleteImage=function(n){n.preventDefault();var i=e.dependantPages!==!1,o="/images/"+e.selectedImage.id;i&&(o+="?force=true"),r["delete"](o).then(function(n){e.images.splice(e.images.indexOf(e.selectedImage),1),e.selectedImage=!1,t.emit("success","Image successfully deleted")},function(n){400===n.status?e.dependantPages=n.data:403===n.status&&t.emit("error",n.data.error)})},e.getDate=function(e){return new Date(e)}}]),e.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=""}}])}},{}],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:"="},link:function(e,t,n){new r(t[0].querySelector(".dropzone-container"),{url:e.uploadUrl,init:function(){var t=this;t.on("sending",function(e,t,n){var r=window.document.querySelector("meta[name=token]").getAttribute("content");n.append("_token",r)}),"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")})})}}}])}},{"./components/drop-zone.html":11,"./components/image-picker.html":12,"./components/toggle-switch.html":13,dropzone:9}],16:[function(e,t,n){"use strict";function r(e){return null!==document.querySelector(e)}var i=e("angular"),o=(e("angular-resource"),e("angular-animate"),e("angular-sanitize"),i.module("bookStack",["ngResource","ngAnimate","ngSanitize"])),a={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");window.Events.listen("success",function(e){t.hide(),t.find("span").text(e),setTimeout(function(){t.show()},1)}),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 r=!1,i=document.getElementById("back-to-top"),o=1200;window.addEventListener("scroll",function(){!r&&document.body.scrollTop>o?(i.style.display="block",r=!0,setTimeout(function(){i.style.opacity=.4},1)):r&&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 From 724b4b5a707a5a391405970287708112ed9ff5e3 Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Sun, 13 Mar 2016 15:15:14 +0000 Subject: [PATCH 12/54] Updated assets for release 0.8.0 --- public/build/manifest.json | 6 +++--- public/css/export-styles.css | 2 +- public/css/styles.css | 2 +- public/js/common.js | 18 +++++++++--------- 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/public/build/manifest.json b/public/build/manifest.json index 3dd80282cf7..c1ff27f1c43 100644 --- a/public/build/manifest.json +++ b/public/build/manifest.json @@ -1,5 +1,5 @@ { - "css/styles.css": "css/styles.css?version=c1c35d2", - "css/print-styles.css": "css/print-styles.css?version=c1c35d2", - "js/common.js": "js/common.js?version=c1c35d2" + "css/styles.css": "css/styles.css?version=08a6d44", + "css/print-styles.css": "css/print-styles.css?version=08a6d44", + "js/common.js": "js/common.js?version=08a6d44" } \ No newline at end of file diff --git a/public/css/export-styles.css b/public/css/export-styles.css index be13602ceea..77e40c3496a 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%}body{font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}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}ol,ul{padding-left:24px}.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-chapter,.text-chapter:hover{color:#ef7c3c}span.highlight{font-weight:700}ul{list-style:disc inside}ol{list-style:decimal inside}.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}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:7.2px}@media screen and (max-width:992px){header .user-name{padding-left:6px}header .user-name .name{display:none}header .user-name i{font-size:2em;padding-left:0;padding-top:0}header{text-align:center}header .float.right{float:none}}.logo,.logo-text,.setting-nav a,form.search-box,form.search-box button{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}.page-list .page,.page-list h4{border-left:5px solid #0288D1}form.search-box button{margin-left:-24px;color:#FFF;top:6px;right:4px;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}.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,.breadcrumbs .text-button{display:inline-block;padding:12px}.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}.setting-nav{text-align:center}.setting-nav a{padding:16px;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;padding:6px 0 6px 16px}.page-list hr{margin-top:0}.page-list .book,.page-list .chapter,.page-list .page{padding-left:24px}.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 .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.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,.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:7.2px}@media screen and (max-width:992px){header .user-name{padding-left:6px}header .user-name .name{display:none}header .user-name i{font-size:2em;padding-left:0;padding-top:0}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 diff --git a/public/css/styles.css b/public/css/styles.css index 5297f10c2fe..2dcc0b3645c 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%}body{font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}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}ol,ul{padding-left:24px}.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-chapter,.text-chapter:hover{color:#ef7c3c}span.highlight{font-weight:700}ul{list-style:disc inside}ol{list-style:decimal inside}.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{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}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{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:7.2px}@media screen and (max-width:992px){header .user-name{padding-left:6px}header .user-name .name{display:none}header .user-name i{font-size:2em;padding-left:0;padding-top:0}header{text-align:center}header .float.right{float:none}}.logo,.logo-text,.setting-nav a,form.search-box,form.search-box button{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}.page-list .page,.page-list h4{border-left:5px solid #0288D1}form.search-box button{margin-left:-24px;color:#FFF;top:6px;right:4px;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}.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,.breadcrumbs .text-button{display:inline-block;padding:12px}.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}.setting-nav{text-align:center}.setting-nav a{padding:16px;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;padding:6px 0 6px 16px}.page-list hr{margin-top:0}.page-list .book,.page-list .chapter,.page-list .page{padding-left:24px}.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 .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.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}.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 +.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{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{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:7.2px}@media screen and (max-width:992px){header .user-name{padding-left:6px}header .user-name .name{display:none}header .user-name i{font-size:2em;padding-left:0;padding-top:0}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 diff --git a/public/js/common.js b/public/js/common.js index 0125d321acf..a105a90f458 100644 --- a/public/js/common.js +++ b/public/js/common.js @@ -1,9 +1,9 @@ -!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-",_="WebkitAnimation",P="webkitAnimationEnd animationend"):(_="animation",P="animationend");var oe="Duration",ae="Property",se="Delay",ue="TimingFunction",le="IterationCount",ce="PlayState",fe=9999,pe=_+se,de=_+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),Pe=D(W,Ce,Te),Le=Pe.maxDelay,ne=Math.max(Le,0),ie=Pe.maxDuration,0===ie)return void p();Re.hasTransitions=Pe.transitionDuration>0,Re.hasAnimations=Pe.animationDuration>0}if(Re.applyAnimationDelay&&(Le="boolean"!=typeof H.delay&&O(H.delay)?parseFloat(H.delay):Le,ne=Math.max(Le,0),Pe.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=_+ue,le.push([t,i]),W.style[t]=i)}Pe.transitionDuration&&de.push(j),Pe.animationDuration&&de.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(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&&(Pe.transitionDuration&&0===De.transitionDuration||Pe.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=[_,H.keyframeStyle];E(W,Ie),le.push(Ie)}var je=De?H.staggerIndex>=0?H.staggerIndex:t.count(Te):0,_e=0===je;_e&&!H.skipBlocking&&x(W,fe);var Pe=D(W,Ce,Te),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=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,Pe.transitionDuration=ie,Fe=W.style[I+ae].length>0,le.push(F(ie,Fe))),Re.applyAnimationDuration&&(Re.hasAnimations=!0,Pe.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&&Pe.transitionDuration>0&&(Re.recalculateTimingStyles=Re.recalculateTimingStyles||_e),re=ne*be,oe=ie*be,H.skipBlocking||(Re.blockTransition=Pe.transitionDuration>0,Re.blockKeyframeAnimation=Pe.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 P=["enter","move","leave"].indexOf(r)>=0,L=!_||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;P&&D(e);var W={structural:P,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,P?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||P&&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,_=null,P=n.$watch(function(){return 0===x.totalPendingRequests},function(e){e&&(P(),n.$$postDigest(function(){n.$$postDigest(function(){null===_&&(_=!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=!!_;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=_=!!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 _=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 _["finally"](function(){M.$resolved=!0,!F&&d&&(M.$cancelRequest=t.noop,c.cancel(O),D=O=N.timeout=null)}),_=_.then(function(e){var t=I(e);return(S||m)(t,e.headers),t},j),F?_:(M.$promise=_,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):P(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 _(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)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)||_(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();_r=y(r)?e.jQuery:r?e[r]:n,_r&&_r.fn.on?(jr=_r,f(_r.fn,{scope:xi.scope,isolateScope:xi.isolateScope,controller:xi.controller,injector:xi.injector,inheritedData:xi.inheritedData}),t=_r.cleanData,_r.cleanData=function(e){for(var n,r,i=0;null!=(r=e[i]);i++)n=_r._data(r,"events"),n&&n.$destroy&&_r(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:P,isArray:Wr,version:si,isDate:k,lowercase:Or,uppercase:Fr,callbacks:{counter:0},getTestability:le,$$minErr:r,$$csp:Zr,reloadWithDebugInfo:ue}),(Pr=$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:_a,ngSwitchDefault:Pa,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:_i,$$animateQueue:Pi,$$AnimateRunner:zi,$$animateAsyncRun:Ri,$browser:ft,$cacheFactory:pt,$controller:yt,$document:bt,$exceptionHandler:wt,$filter:Pn,$$forceReflow:Wi,$interpolate:jt,$interval:_t,$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:_n})}])}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=_e(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 _e(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(ke(e)){var r=b(n),i=!r&&t&&!w(t),o=!t,a=_e(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=Pr(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(P(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?_(e,a.transclude,o):!a.templateOnThisElement&&o?o:!o&&t?_(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 _=N[O],P=x[O],L=_.$$bindings.bindToController;P.identifier&&L&&(T=se(b,k,P.instance,L,_));var R=P();R!==P.instance&&(P.instance=R,E.data("$"+_.name+"Controller",R),T&&T(),T=se(b,k,P.instance,L,_))}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,_=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",_,b,G),_=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:_});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=P(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:_}),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=P(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?_(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=_(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 _t(){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 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=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=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=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=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 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=Pt(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 _n(){this.$get=jn}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",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)||_o.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)||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 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,_r,Pr,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:Pe,removeData:je,hasData:Se,cleanData:Ae},function(e,t){Fe[t]=e}),o({data:Pe,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===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: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=_e(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=_e(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",_i=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=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"],Pn.$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)/,_o=/^[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})$/,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 _ in r)Dr.call(r,_)&&"$"!==_.charAt(0)&&O.push(_)}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 P in v){if(F=v[P],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)})})})}}}],_a=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)}}),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"!==(_=d.toLowerCase())&&"radio"!==_||f.checked)&&o.append(p,f.value);for(c=F=0,P=e.length-1;P>=0?P>=F:F>=P;c=P>=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},_=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},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=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,Pe(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!==_e()&&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":Pe(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"}}(),_e=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=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(e,t){e.controller("ImageManagerController",["$scope","$attrs","$http","$timeout","imageManagerService",function(e,n,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=n.imageType,e.selectedImage=!1,e.dependantPages=!1,e.showing=!1,e.hasMore=!1,e.imageUpdateSuccess=!1,e.imageDeleteSuccess=!1;var l=0,c=0,f=!1,p=!1;e.getUploadUrl=function(){return"/images/"+e.imageType+"/upload"},e.uploadSuccess=function(n,r){e.$apply(function(){e.images.unshift(r)}),t.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(n){n.preventDefault();var i="/images/update/"+e.selectedImage.id;r.put(i,this.selectedImage).then(function(e){t.emit("success","Image details updated")},function(e){if(422===e.status){var n=e.data,r="";Object.keys(n).forEach(function(e){r+=n[e].join("\n")}),t.emit("error",r)}else 403===e.status&&t.emit("error",e.data.error)})},e.deleteImage=function(n){n.preventDefault();var i=e.dependantPages!==!1,o="/images/"+e.selectedImage.id;i&&(o+="?force=true"),r["delete"](o).then(function(n){e.images.splice(e.images.indexOf(e.selectedImage),1),e.selectedImage=!1,t.emit("success","Image successfully deleted")},function(n){400===n.status?e.dependantPages=n.data:403===n.status&&t.emit("error",n.data.error)})},e.getDate=function(e){return new Date(e)}}]),e.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=""}}])}},{}],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:"="},link:function(e,t,n){new r(t[0].querySelector(".dropzone-container"),{url:e.uploadUrl,init:function(){var t=this;t.on("sending",function(e,t,n){var r=window.document.querySelector("meta[name=token]").getAttribute("content");n.append("_token",r)}),"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")})})}}}])}},{"./components/drop-zone.html":11,"./components/image-picker.html":12,"./components/toggle-switch.html":13,dropzone:9}],16:[function(e,t,n){"use strict";function r(e){return null!==document.querySelector(e)}var i=e("angular"),o=(e("angular-resource"),e("angular-animate"),e("angular-sanitize"),i.module("bookStack",["ngResource","ngAnimate","ngSanitize"])),a={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");window.Events.listen("success",function(e){t.hide(),t.find("span").text(e),setTimeout(function(){t.show()},1)}),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 r=!1,i=document.getElementById("back-to-top"),o=1200;window.addEventListener("scroll",function(){!r&&document.body.scrollTop>o?(i.style.display="block",r=!0,setTimeout(function(){i.style.opacity=.4},1)):r&&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===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 From a0497feddd18509d6ed753ddca8897cfe02b0b45 Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Wed, 30 Mar 2016 21:44:30 +0100 Subject: [PATCH 13/54] Updated assets for release 0.8.2 --- public/build/manifest.json | 6 +++--- public/css/export-styles.css | 2 +- public/css/styles.css | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/public/build/manifest.json b/public/build/manifest.json index c1ff27f1c43..fb9c309c7be 100644 --- a/public/build/manifest.json +++ b/public/build/manifest.json @@ -1,5 +1,5 @@ { - "css/styles.css": "css/styles.css?version=08a6d44", - "css/print-styles.css": "css/print-styles.css?version=08a6d44", - "js/common.js": "js/common.js?version=08a6d44" + "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" } \ No newline at end of file diff --git a/public/css/export-styles.css b/public/css/export-styles.css index 77e40c3496a..d679f20a01b 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:7.2px}@media screen and (max-width:992px){header .user-name{padding-left:6px}header .user-name .name{display:none}header .user-name i{font-size:2em;padding-left:0;padding-top:0}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,.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 diff --git a/public/css/styles.css b/public/css/styles.css index 2dcc0b3645c..ff809262014 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{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{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:7.2px}@media screen and (max-width:992px){header .user-name{padding-left:6px}header .user-name .name{display:none}header .user-name i{font-size:2em;padding-left:0;padding-top:0}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 +.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 From b1faf65934f5159b095d22db1fab829fc71cdcf7 Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Sat, 9 Apr 2016 15:49:02 +0100 Subject: [PATCH 14/54] 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 fb9c309c7be..1cec07867f4 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 d679f20a01b..8f1153cc14d 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 ff809262014..0db4c869a7f 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 a105a90f458..5bf8a71ee48 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 From 2cc36787f533ebc604098887451f373bc9291a82 Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Fri, 15 Apr 2016 19:57:02 +0100 Subject: [PATCH 15/54] Updated assets for release 0.9.2 --- public/build/manifest.json | 6 +++--- public/js/common.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/public/build/manifest.json b/public/build/manifest.json index 1cec07867f4..1fd24db65a5 100644 --- a/public/build/manifest.json +++ b/public/build/manifest.json @@ -1,5 +1,5 @@ { - "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" + "css/styles.css": "css/styles.css?version=b4531da", + "css/print-styles.css": "css/print-styles.css?version=b4531da", + "js/common.js": "js/common.js?version=b4531da" } \ No newline at end of file diff --git a/public/js/common.js b/public/js/common.js index 5bf8a71ee48..41075aa5280 100644 --- a/public/js/common.js +++ b/public/js/common.js @@ -8,4 +8,4 @@ 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})}}}} 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 +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 From e86901ca20b7e0a5e72e447e5cdfd9d0eb582250 Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Tue, 3 May 2016 21:13:02 +0100 Subject: [PATCH 16/54] Updated assets for release v0.9.3 --- public/build/manifest.json | 6 +++--- public/css/export-styles.css | 2 +- public/css/styles.css | 2 +- public/js/common.js | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/public/build/manifest.json b/public/build/manifest.json index 1fd24db65a5..f1e99bd7a60 100644 --- a/public/build/manifest.json +++ b/public/build/manifest.json @@ -1,5 +1,5 @@ { - "css/styles.css": "css/styles.css?version=b4531da", - "css/print-styles.css": "css/print-styles.css?version=b4531da", - "js/common.js": "js/common.js?version=b4531da" + "css/styles.css": "css/styles.css?version=83f4ada", + "css/print-styles.css": "css/print-styles.css?version=83f4ada", + "js/common.js": "js/common.js?version=83f4ada" } \ No newline at end of file diff --git a/public/css/export-styles.css b/public/css/export-styles.css index 8f1153cc14d..bf5b1bf7d25 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,.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 +.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}div[toggle-switch]{height:18px;width:150px}table.table{width:100%}table.table tr{border-bottom:1px solid #DDD}table.table td,table.table th{text-align:left;border:none;padding:6px;vertical-align:middle}table.table th{font-weight:700}table.table tr:hover{background-color:#EEE}table{min-width:100px;border-spacing:0;border-collapse:collapse}table thead{background-color:#F8F8F8;font-weight:500}table.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 0db4c869a7f..c6d43b25299 100644 --- a/public/css/styles.css +++ b/public/css/styles.css @@ -1 +1 @@ -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 +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;font-style:normal;font-weight:100;src:local("Roboto Thin"),local("Roboto-Thin"),url(/fonts/roboto-v15-cyrillic_latin-100.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-100.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:100;src:local("Roboto Thin Italic"),local("Roboto-ThinItalic"),url(/fonts/roboto-v15-cyrillic_latin-100italic.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-100italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:300;src:local("Roboto Light"),local("Roboto-Light"),url(/fonts/roboto-v15-cyrillic_latin-300.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-300.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:300;src:local("Roboto Light Italic"),local("Roboto-LightItalic"),url(/fonts/roboto-v15-cyrillic_latin-300italic.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-300italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:local("Roboto"),local("Roboto-Regular"),url(/fonts/roboto-v15-cyrillic_latin-regular.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-regular.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:400;src:local("Roboto Italic"),local("Roboto-Italic"),url(/fonts/roboto-v15-cyrillic_latin-italic.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:500;src:local("Roboto Medium"),local("Roboto-Medium"),url(/fonts/roboto-v15-cyrillic_latin-500.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-500.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:500;src:local("Roboto Medium Italic"),local("Roboto-MediumItalic"),url(/fonts/roboto-v15-cyrillic_latin-500italic.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-500italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:700;src:local("Roboto Bold"),local("Roboto-Bold"),url(/fonts/roboto-v15-cyrillic_latin-700.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-700.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:700;src:local("Roboto Bold Italic"),local("Roboto-BoldItalic"),url(/fonts/roboto-v15-cyrillic_latin-700italic.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-700italic.woff) format("woff")}@font-face{font-family:'Roboto Mono';font-style:normal;font-weight:400;src:local("Roboto Mono"),local("RobotoMono-Regular"),url(/fonts/roboto-mono-v4-latin-regular.woff2) format("woff2"),url(/fonts/roboto-mono-v4-latin-regular.woff) format("woff")}html{background-color:#FFF;height:100%;overflow-y:scroll}html.flexbox{overflow-y:hidden}body{font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}button{font-size:100%}table td{min-width:10px;padding:4px 6px;border:1px solid #DDD}.title-input input[type=text],h1{font-size:3.625em;line-height:1.22222222em;margin-top:.48888889em;margin-bottom:.48888889em}h3,h4{margin-top:.78571429em}h2,h3,h4{margin-bottom:.43137255em}h2{font-size:2.8275em;line-height:1.294117647em;margin-top:.8627451em}h3{font-size:1.75em;line-height:1.571428572em}h4{font-size:1em;line-height:1.375em}.title-input input[type=text],h1,h2,h3,h4{font-weight:400;position:relative;display:block;color:#555}.title-input input[type=text] .subheader,h1 .subheader,h2 .subheader,h3 .subheader,h4 .subheader{display:block;font-size:.5em;line-height:1em;color:#6d6d6d}.link,.text-button,a{color:#0288D1;cursor:pointer;text-decoration:none;transition:color ease-in-out 80ms;line-height:1.6}.link:hover,.text-button:hover,a:hover{text-decoration:underline;color:#01466c}.link i,.text-button i,a i{padding-right:12px}.link i.zmdi-hc-flip-horizontal,.text-button i.zmdi-hc-flip-horizontal,a i.zmdi-hc-flip-horizontal{padding-right:0;padding-left:12px}blockquote,ol,p,pre,table,ul{margin-top:.3em;margin-bottom:1.375em}hr{height:1px;border:0;background:#EAEAEA;margin-bottom:24px}hr.faded{background-image:linear-gradient(to right,#fff,#e3e0e0 20%,#e3e0e0 80%,#fff)}hr.even,hr.margin-top{margin-top:24px}.bold,.strong,b,strong{font-weight:700}.bold>.bold,.bold>.strong,.bold>b,.bold>strong,.strong>.bold,.strong>.strong,.strong>b,.strong>strong,b>.bold,b>.strong,b>b,b>strong,strong>.bold,strong>.strong,strong>b,strong>strong{font-weight:bolder}.italic,em,i{font-style:italic}.text-small,p.small,small,span.small{font-size:.8em;color:#777}.superscript,sup{vertical-align:super;font-size:.8em}pre{font-family:monospace;font-size:.8em;overflow:hidden;border-radius:4px;box-shadow:0 1px 2px 0 rgba(10,10,10,.06);border:1px solid rgba(221,221,221,.66);background-color:#fdf6e3;padding:12px;overflow-x:scroll}blockquote{display:block;position:relative;border-left:4px solid #0288D1;background-color:#F8F8F8;padding:12px 16px 12px 32px}blockquote:before{content:"\201C";font-size:2em;font-weight:700;position:absolute;top:12px;left:12px;color:#777}.code-base,code,span.code{background-color:#F8F8F8;font-family:monospace;font-size:.8em;border:1px solid #DDD;border-radius:3px}code{display:inline;padding:1px 3px;line-height:1.2em;margin-bottom:1.2em}span.code{padding:1px 6px}pre code{background-color:transparent;border:0;font-size:1em}.text-pos,.text-pos:hover,p .pos,p .pos:hover,p.pos,p.pos:hover,span.pos,span.pos:hover{color:#52A256}.text-neg,.text-neg:hover,p .neg,p .neg:hover,p.neg,p.neg:hover,span.neg,span.neg:hover{color:#E84F4F}.text-muted,p .muted,p.muted,span.muted{color:#868686}.text-muted .small,.text-muted.small,p .muted .small,p .muted.small,p.muted .small,p.muted.small,span.muted .small,span.muted.small{color:#afafaf}.text-primary,.text-primary:hover,p .primary,p .primary:hover,p.primary,p.primary:hover,span.primary,span.primary:hover{color:#0288D1}.text-secondary,.text-secondary:hover,p .secondary,p .secondary:hover,p.secondary,p.secondary:hover,span.secondary,span.secondary:hover{color:#e27b41}.text-book,.text-book:hover{color:#009688}.text-page,.text-page:hover{color:#0288D1}.text-page.draft,.text-page.draft:hover{color:#9A60DA}.text-chapter,.text-chapter:hover{color:#ef7c3c}span.highlight{font-weight:700;padding:2px 4px}ol,ul{padding-left:20.8px;overflow:hidden}ul{list-style:disc}ol{list-style:decimal}.underlined{text-decoration:underline}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-bigger{font-size:1.1em}.text-large{font-size:1.6666em}.no-color{color:inherit}.header-group{margin:16px 0}.header-group .title-input input[type=text],.header-group h1,.header-group h2,.header-group h3,.header-group h4,.header-group h5,.header-group h6,.title-input .header-group input[type=text]{margin:0}span.sep{color:#BBB;padding:0 6px}.list>*{display:block}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}div[toggle-switch]{height:18px;width:150px}table.table{width:100%}table.table tr{border-bottom:1px solid #DDD}table.table td,table.table th{text-align:left;border:none;padding:6px;vertical-align:middle}.dz-message,.dz-preview .dz-details,.dz-preview .dz-remove,.image-manager-content .full-tab,.mce-container-body.mce-flow-layout{text-align:center}table.table th{font-weight:700}table.table tr:hover{background-color:#EEE}table{min-width:100px;max-width:100%}table thead{background-color:#F8F8F8;font-weight:500}table.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 41075aa5280..dee3fc080a7 100644 --- a/public/js/common.js +++ b/public/js/common.js @@ -8,4 +8,4 @@ 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})}}}} 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 +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:"A",template:o,scope:!0,link:function(e,t,n){e.name=n.name,e.value=n.value,e.isActive=1==e.value&&"false"!=e.value,e.value=1==e.value&&"false"!=e.value?"true":"false",e["switch"]=function(){e.isActive=!e.isActive,e.value=e.isActive?"true":"false"}}}}),e.directive("imagePicker",["$http","imageManagerService",function(e,t){return{restrict:"E",template:a,scope:{name:"@",resizeHeight:"@",resizeWidth:"@",resizeCrop:"@",showRemove:"=",currentImage:"@",currentId:"@",defaultImage:"@",imageClass:"@"},link:function(n,r,i){function o(e,t){n.image=t,n.value=a?e.id:t}var a="undefined"!=typeof n.currentId||"false"===n.currentId;n.image=n.currentImage,n.value=n.currentImage||"",a&&(n.value=n.currentId),n.reset=function(){o({id:0},n.defaultImage)},n.remove=function(){n.image="none",n.value="none"},n.showImageManager=function(){t.show(function(e){n.updateImageFromModel(e)})},n.updateImageFromModel=function(t){var r=n.resizeWidth&&n.resizeHeight;if(!r)return void n.$apply(function(){o(t,t.url)});var i=n.resizeCrop?"true":"false",a="/images/thumb/"+t.id+"/"+n.resizeWidth+"/"+n.resizeHeight+"/"+i;e.get(a).then(function(e){o(t,e.data.url)})}}}}]),e.directive("dropZone",[function(){return{restrict:"E",template:s,scope:{uploadUrl:"@",eventSuccess:"=",eventError:"=",uploadedTo:"@"},link:function(e,t,n){new r(t[0].querySelector(".dropzone-container"),{url:e.uploadUrl,init:function(){var t=this;t.on("sending",function(t,n,r){var i=window.document.querySelector("meta[name=token]").getAttribute("content");r.append("_token",i);var o="undefined"==typeof e.uploadedTo?0:e.uploadedTo;r.append("uploaded_to",o)}),"undefined"!=typeof e.eventSuccess&&t.on("success",e.eventSuccess),t.on("success",function(e,n){$(e.previewElement).fadeOut(400,function(){t.removeFile(e)})}),"undefined"!=typeof e.eventError&&t.on("error",e.eventError),t.on("error",function(e,t,n){function r(t){$(e.previewElement).find("[data-dz-errormessage]").text(t)}console.log(t),console.log(n),413===n.status&&r("The server does not allow uploads of this size. Please try a smaller file."),t.file&&r(t.file[0])})}})}}}]),e.directive("dropdown",[function(){return{restrict:"A",link:function(e,t,n){var r=t.find("ul");t.find("[dropdown-toggle]").on("click",function(){r.show().addClass("anim menuIn"),t.mouseleave(function(){r.hide(),r.removeClass("anim menuIn")})})}}}]),e.directive("tinymce",["$timeout",function(e){return{restrict:"A",scope:{tinymce:"=",mceModel:"=",mceChange:"="},link:function(t,n,r){function i(n){n.on("ExecCommand change NodeChange ObjectResized",function(r){var i=n.getContent();e(function(){t.mceModel=i}),t.mceChange(i)}),n.on("init",function(e){t.mceModel=n.getContent()}),t.$on("html-update",function(e,r){n.setContent(r),n.selection.select(n.getBody(),!0),n.selection.collapse(!1),t.mceModel=n.getContent()})}t.tinymce.extraSetups.push(i),tinymce.PluginManager.add("customhr",function(e){e.addCommand("InsertHorizontalRule",function(){var t=document.createElement("hr"),n=e.selection.getNode(),r=n.parentNode;r.insertBefore(t,n)}),e.addButton("hr",{icon:"hr",tooltip:"Horizontal line",cmd:"InsertHorizontalRule"}),e.addMenuItem("hr",{icon:"hr",text:"Horizontal line",cmd:"InsertHorizontalRule",context:"insert"})}),tinymce.init(t.tinymce)}}}]),e.directive("markdownInput",["$timeout",function(e){return{restrict:"A",scope:{mdModel:"=",mdChange:"="},link:function(t,n,r){var o=n.val();t.mdModel=o,t.mdChange(i(o)),n.on("change input",function(r){o=n.val(),e(function(){t.mdModel=o,t.mdChange(i(o))})}),t.$on("markdown-update",function(e,r){n.val(r),t.mdModel=r,t.mdChange(i(r))})}}}]),e.directive("markdownEditor",["$timeout",function(e){return{restrict:"A",link:function(e,t,n){var r=t.find("textarea[markdown-input]"),i=t.find('button[data-action="insertImage"]'),o=0;r.blur(function(e){o=r[0].selectionStart}),r.keydown(function(e){if(73===e.which&&e.ctrlKey&&e.shiftKey){e.preventDefault();var t=r[0].selectionStart,n=r.val(),i="![](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 From be711215e833358acfce994fa80141e99c2e9664 Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Sun, 22 May 2016 15:12:47 +0100 Subject: [PATCH 17/54] Updated assets for release v0.10 --- public/build/manifest.json | 6 +++--- public/css/export-styles.css | 2 +- public/css/styles.css | 2 +- public/js/common.js | 23 ++++++++++++----------- 4 files changed, 17 insertions(+), 16 deletions(-) diff --git a/public/build/manifest.json b/public/build/manifest.json index f1e99bd7a60..949edb97cbe 100644 --- a/public/build/manifest.json +++ b/public/build/manifest.json @@ -1,5 +1,5 @@ { - "css/styles.css": "css/styles.css?version=83f4ada", - "css/print-styles.css": "css/print-styles.css?version=83f4ada", - "js/common.js": "js/common.js?version=83f4ada" + "css/styles.css": "css/styles.css?version=8cf4d52", + "css/print-styles.css": "css/print-styles.css?version=8cf4d52", + "js/common.js": "js/common.js?version=8cf4d52" } \ No newline at end of file diff --git a/public/css/export-styles.css b/public/css/export-styles.css index bf5b1bf7d25..5c2140bab0f 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,.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}div[toggle-switch]{height:18px;width:150px}table.table{width:100%}table.table tr{border-bottom:1px solid #DDD}table.table td,table.table th{text-align:left;border:none;padding:6px;vertical-align:middle}table.table th{font-weight:700}table.table tr:hover{background-color:#EEE}table{min-width:100px;border-spacing:0;border-collapse:collapse}table thead{background-color:#F8F8F8;font-weight:500}table.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 +.link,a,body{font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif}code,pre{white-space:pre}.chapter-toggle,.toggle-switch{cursor:pointer;-moz-user-select:none}*{box-sizing:border-box}html{background-color:#FFF;height:100%;overflow-y:scroll}html.flexbox{overflow-y:hidden}body{font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}button{font-size:100%}table td{min-width:10px;padding:4px 6px;border:1px solid #DDD}.title-input input[type=text],h1{font-size:3.625em;line-height:1.22222222em;margin-top:.48888889em;margin-bottom:.48888889em}h3,h4{margin-top:.78571429em}h2,h3,h4{margin-bottom:.43137255em}h2{font-size:2.8275em;line-height:1.294117647em;margin-top:.8627451em}h3{font-size:1.75em;line-height:1.571428572em}h4{font-size:1em;line-height:1.375em}.title-input input[type=text],h1,h2,h3,h4{font-weight:400;position:relative;display:block;color:#555}.title-input input[type=text] .subheader,h1 .subheader,h2 .subheader,h3 .subheader,h4 .subheader{display:block;font-size:.5em;line-height:1em;color:#6d6d6d}.link,a{color:#0288D1;cursor:pointer;text-decoration:none;transition:color ease-in-out 80ms;line-height:1.6}.link:hover,.underlined,a:hover{text-decoration:underline}.faded .text-button,.toggle-switch,.toggle-switch:after{transition:all ease-in-out 120ms}.link:hover,a:hover{color:#01466c}.link i,a i{padding-right:12px}.link i.zmdi-hc-flip-horizontal,a i.zmdi-hc-flip-horizontal{padding-right:0;padding-left:12px}blockquote,ol,p,pre,table,ul{margin-top:.3em;margin-bottom:1.375em}hr{height:1px;border:0;background:#EAEAEA;margin-bottom:24px}hr.faded{background-image:linear-gradient(to right,#fff,#e3e0e0 20%,#e3e0e0 80%,#fff)}hr.even,hr.margin-top{margin-top:24px}.bold,.strong,b,strong{font-weight:700}.bold>.bold,.bold>.strong,.bold>b,.bold>strong,.strong>.bold,.strong>.strong,.strong>b,.strong>strong,b>.bold,b>.strong,b>b,b>strong,strong>.bold,strong>.strong,strong>b,strong>strong{font-weight:bolder}.italic,em,i{font-style:italic}.text-small,p.small,small,span.small{font-size:.8em;color:#777}.superscript,sup{vertical-align:super;font-size:.8em}pre{font-family:monospace;font-size:.8em;overflow:hidden;border-radius:4px;box-shadow:0 1px 2px 0 rgba(10,10,10,.06);border:1px solid rgba(221,221,221,.66);background-color:#fdf6e3;padding:12px;overflow-x:scroll}blockquote{display:block;position:relative;border-left:4px solid #0288D1;background-color:#F8F8F8;padding:12px 16px 12px 32px}blockquote:before{content:"\201C";font-size:2em;font-weight:700;position:absolute;top:12px;left:12px;color:#777}.code-base,code,span.code{background-color:#F8F8F8;font-family:monospace;font-size:.8em;border:1px solid #DDD;border-radius:3px}code{display:inline;padding:1px 3px;line-height:1.2em;margin-bottom:1.2em}span.code{padding:1px 6px}pre code{background-color:transparent;border:0;font-size:1em}.text-pos,.text-pos:hover,p .pos,p .pos:hover,p.pos,p.pos:hover,span.pos,span.pos:hover{color:#52A256}.text-neg,.text-neg:hover,p .neg,p .neg:hover,p.neg,p.neg:hover,span.neg,span.neg:hover{color:#E84F4F}.text-muted,p .muted,p.muted,span.muted{color:#868686}.text-muted .small,.text-muted.small,p .muted .small,p .muted.small,p.muted .small,p.muted.small,span.muted .small,span.muted.small{color:#afafaf}.text-primary,.text-primary:hover,p .primary,p .primary:hover,p.primary,p.primary:hover,span.primary,span.primary:hover{color:#0288D1}.text-secondary,.text-secondary:hover,p .secondary,p .secondary:hover,p.secondary,p.secondary:hover,span.secondary,span.secondary:hover{color:#e27b41}.text-book,.text-book:hover{color:#009688}.text-page,.text-page:hover{color:#0288D1}.text-page.draft,.text-page.draft:hover{color:#9A60DA}.text-chapter,.text-chapter:hover{color:#ef7c3c}span.highlight{font-weight:700;padding:2px 4px}ol,ul{padding-left:20.8px;overflow:hidden}ul{list-style:disc}ol{list-style:decimal}.book-tree .sidebar-page-list li a:hover,.faded .text-button:hover,.logo:hover{text-decoration:none}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-bigger{font-size:1.1em}.text-large{font-size:1.6666em}.no-color{color:inherit}.header-group{margin:16px 0}.header-group .title-input input[type=text],.header-group h1,.header-group h2,.header-group h3,.header-group h4,.header-group h5,.header-group h6,.title-input .header-group input[type=text]{margin:0}span.sep{color:#BBB;padding:0 6px}.list>*{display:block}.action-header .title-input input[type=text],.action-header h1,.title-input .action-header input[type=text]{margin-top:16px}i{padding-right:6px}body.flexbox{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;height:100%;min-height:100%;max-height:100%;overflow:hidden}body.flexbox #content{-ms-flex:1;flex:1;display:-ms-flexbox;display:flex;min-height:0}.flex-fill{display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch;min-height:0}.flex-fill .flex,.flex-fill.flex{min-height:0;-ms-flex:1;flex:1}div[class^=col-] img{max-width:100%}.container{max-width:1400px;margin-left:auto;margin-right:auto;padding-left:16px;padding-right:16px}.container.fluid{max-width:100%}.container.small{max-width:840px}.center-box{margin:32px auto 0;padding:16px 48px 64px;max-width:346px;display:inline-block;text-align:left;vertical-align:top}.center-box.login{background-color:#EEE;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border:1px solid #DDD}.row{margin-left:-16px;margin-right:-16px}.float{float:left}.float.right{float:right}.block{display:block;position:relative}.inline{display:inline}.block.inline{display:inline-block}.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{position:relative;min-height:1px;padding-left:16px;padding-right:16px}.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.row:after,.row:before{content:" ";display:table}.editor-toolbar:after,.pointer:before,.toggle-switch:after{content:''}.clearfix:after,.container-fluid:after,.container:after,.row:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.shaded{background-color:#f1f1f1}.shaded.pos{background-color:#d6ead7}.shaded.neg{background-color:#f4a9a9}.shaded.primary{background-color:#a1ddfe}.shaded.secondary{background-color:#f6d7c6}.bordered{border:1px solid #BBB}.bordered.pos{border-color:#52A256}.bordered.neg{border-color:#E84F4F}.bordered.primary{border-color:#0288D1}.bordered.secondary{border-color:#e27b41}.bordered.thick{border-width:2px}.rounded{border-radius:3px}.nopadding{padding:0}.padded{padding:24px}.padded.large{padding:32px}.padded>h1:first-child,.padded>h2:first-child,.padded>h3:first-child,.padded>h4:first-child,.title-input .padded>input[type=text]:first-child{margin-top:.1em}.padded-top,.padded-vertical{padding-top:16px}.padded-top.large,.padded-vertical.large{padding-top:32px}.padded-bottom,.padded-vertical{padding-bottom:16px}.padded-bottom.large,.padded-vertical.large{padding-bottom:32px}.padded-horizontal,.padded-left{padding-left:16px}.padded-horizontal.large,.padded-left.large{padding-left:32px}.padded-horizontal,.padded-right{padding-right:16px}.padded-horizontal.large,.padded-right.large{padding-right:32px}.margins{margin:24px}.margins.large{margin:32px}.margin-top,.margins-vertical{margin-top:16px}.margin-top.large,.margins-vertical.large{margin-top:32px}.margin-bottom,.margins-vertical{margin-bottom:16px}.margin-bottom.large,.margins-vertical.large{margin-bottom:32px}.margin-left,.margins-horizontal{margin-left:16px}.margin-left.large,.margins-horizontal.large{margin-left:32px}.margin-right,.margins-horizontal{margin-right:16px}.margin-right.large,.margins-horizontal.large{margin-right:32px}.input-base,input[type=password],input[type=text],input[type=number],input[type=email],input[type=search],input[type=url],select,textarea{background-color:#FFF;border-radius:3px;border:1px solid #CCC;display:inline-block;font-size:14px;font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif;padding:6px;color:#222;width:250px;max-width:100%}#markdown-editor textarea,.editor-toolbar{width:100%;font-family:'Roboto Mono'}.input-base.invalid,.input-base.neg,input.invalid[type=password],input.invalid[type=text],input.invalid[type=number],input.invalid[type=email],input.invalid[type=search],input.invalid[type=url],input.neg[type=password],input.neg[type=text],input.neg[type=number],input.neg[type=email],input.neg[type=search],input.neg[type=url],select.invalid,select.neg,textarea.invalid,textarea.neg{border:1px solid #E84F4F}.input-base.pos,.input-base.valid,input.pos[type=password],input.pos[type=text],input.pos[type=number],input.pos[type=email],input.pos[type=search],input.pos[type=url],input.valid[type=password],input.valid[type=text],input.valid[type=number],input.valid[type=email],input.valid[type=search],input.valid[type=url],select.pos,select.valid,textarea.pos,textarea.valid{border:1px solid #52A256}.input-base.disabled,.input-base[disabled],input.disabled[type=password],input.disabled[type=text],input.disabled[type=number],input.disabled[type=email],input.disabled[type=search],input.disabled[type=url],input[disabled][type=password],input[disabled][type=text],input[disabled][type=number],input[disabled][type=email],input[disabled][type=search],input[disabled][type=url],select.disabled,select[disabled],textarea.disabled,textarea[disabled]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAMUlEQVQIW2NkwAGuXbv2nxGbHEhCS0uLEUMSJgHShCKJLIEiiS4Bl8QmAZbEJQGSBAC62BuJ+tt7zgAAAABJRU5ErkJggg==)}#html-editor{display:none}#markdown-editor{position:relative;z-index:5}#markdown-editor textarea{font-style:normal;font-weight:400;padding:6px 16px;color:#444;border-radius:0;max-height:100%;-ms-flex:1;flex:1;border:0}#markdown-editor textarea:focus{outline:0}#markdown-editor .markdown-display,#markdown-editor .markdown-editor-wrap{-ms-flex:1;flex:1;position:relative}#markdown-editor .markdown-editor-wrap{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;border:1px solid #DDD}#markdown-editor .markdown-display{padding:0 16px;margin-left:-1px;overflow-y:scroll}#markdown-editor .markdown-display .page-content{margin:0 auto}.editor-toolbar{padding:6px 16px;font-size:11px;line-height:1.6;border-bottom:1px solid #DDD;background-color:#EEE;-ms-flex:none;flex:none}.editor-toolbar:after{display:block;clear:both}label{display:block;line-height:1.4em;font-size:.94em;font-weight:500;color:#666;padding-bottom:2px;margin-bottom:.2em}.toggle-switch,label.inline{display:inline-block}label.checkbox,label.radio{font-weight:400}label.checkbox input[type=radio],label.checkbox input[type=checkbox],label.radio input[type=radio],label.radio input[type=checkbox]{margin-right:6px}label+p.small{margin-bottom:.8em}.toggle-switch{background-color:#BBB;width:36px;height:14px;border-radius:7px;position:relative;-webkit-user-select:none;-ms-user-select:none;user-select:none}.toggle-switch:after{display:block;position:relative;left:0;margin-top:-3px;width:20px;height:20px;border-radius:50%;background-color:#fafafa;border:1px solid #CCC;box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12)}.toggle-switch.active{background-color:rgba(82,162,86,.4)}.toggle-switch.active:after{left:16px;background-color:#52A256;border:#305e32}.toggle-switch-checkbox{display:none}input:checked+.toggle-switch{background-color:rgba(82,162,86,.4)}input:checked+.toggle-switch:after{left:16px;background-color:#52A256;border:#305e32}.form-group{margin-bottom:12px}.form-group textarea{display:block;width:100%;min-height:64px}.form-group .text-neg,.form-group .text-pos{padding:6px 0}.description-input textarea,.inline-input-style,.title-input input[type=text]{border:2px dotted #BBB;display:block;width:100%;padding:6px 12px}.title-input .input{width:100%}.description-input label,.title-input label{margin-top:16px;color:#666}.title-input input[type=text]{margin-top:0;padding-right:0;width:100%;color:#444}.title-input.page-title{font-size:.8em}.title-input.page-title .input{border:0;margin-bottom:-1px}.title-input.page-title input[type=text]{max-width:840px;margin:0 auto;border:none}.search-box,div[editor-type=markdown] .title-input.page-title input[type=text],table{max-width:100%}.page-title input{display:block;width:100%;font-size:1.4em}.description-input textarea{font-size:15px;color:#666;width:100%}.search-box{position:relative}.search-box button{background-color:transparent;border:none;color:#0288D1;padding:0;margin:0 0 0 12px;cursor:pointer}.search-box button[type=submit]{margin-left:-24px}.search-box input{padding-right:24px;width:300px;max-width:100%}input.outline{border:0;border-bottom:2px solid #DDD;border-radius:0}input.outline:active,input.outline:focus{border:0;border-bottom:2px solid #AAA;outline:0}#login-form label[for=remember]{margin:0}#login-form label.toggle-switch{margin-left:32px}.image-picker img{background-color:#BBB}div[toggle-switch]{height:18px;width:150px}table.table{width:100%}table.table tr{border-bottom:1px solid #DDD}table.table td,table.table th{text-align:left;border:none;padding:6px;vertical-align:middle}table.table th{font-weight:700}table.table tr:hover{background-color:#EEE}table{min-width:100px;border-spacing:0;border-collapse:collapse}table thead{background-color:#F8F8F8;font-weight:500}table.no-style td{border:0;padding:0}table.list-table{margin:-6px}table.list-table td{border:0;vertical-align:middle;padding:6px}.dropdown-container,.logo-image,.logo-text,form.search-box button,header .links,header .user-name,header .user-name>*{vertical-align:top}header{display:block;z-index:2;top:0;background-color:#0288D1;color:#fff;border-bottom:1px solid #DDD}header .avatar,header .links,header .links a,header .user-name{display:inline-block}header .padded{padding:16px}header .links{margin-right:32px}header .links a{padding:24px;color:#FFF}header .links a:last-child{padding-right:0}@media screen and (max-width:992px){header .links{margin-right:16px}header .links a{padding:24px 12px}}header .avatar{width:30px;height:30px}header .user-name{padding-top:24px;cursor:pointer}header .user-name>i,header .user-name>span{padding-left:6px;display:inline-block}header .user-name>span{padding-top:3px}header .user-name>i{padding-top:4px;font-size:18px}@media screen and (max-width:992px){header .user-name{padding-left:6px}header .user-name .name{display:none}header{text-align:center}header .float.right{float:none}}.logo,.logo-text,form.search-box{display:inline-block}.activity-list-item .left,ul.pagination li{float:left}@media screen and (max-width:768px){header .links a{padding:12px}header form.search-box{margin-top:0}header .user-name{padding-top:12px}}header .dropdown-container{font-size:.9em}form.search-box{margin-top:21.6px;position:relative;text-align:left}form.search-box input{background-color:transparent;border-radius:24px;border:2px solid #EEE;color:#EEE;padding-left:16px;padding-right:24px;outline:0}form.search-box button{margin-left:-24px;color:#FFF;top:6px;right:4px;display:inline-block;position:absolute}form.search-box button:hover{color:#FFF}.logo:hover{color:#FFF}.logo-text{font-size:1.8em;color:#fff;font-weight:400;padding:24px 24px 24px 0;line-height:1}.logo-image{margin:16px 12px 16px 0;height:43px}.breadcrumbs span.sep{color:#aaa;padding:0 6px}.action-buttons .text-button,.breadcrumbs .text-button,.faded span.faded-text{padding:12px;display:inline-block}.faded a,.faded button,.faded span,.faded span>div{color:#666}.faded .text-button{opacity:.5}.faded .text-button:hover{opacity:1}.faded-small{color:#000;font-size:.9em;background-color:rgba(21,101,192,.15)}.action-buttons .text-button:last-child,.breadcrumbs .text-button:last-child{padding-right:0}.action-buttons{text-align:right}.action-buttons.text-left{text-align:left}.action-buttons.text-left .text-button{padding-right:16px;padding-left:0}.action-buttons.text-center,.nav-tabs{text-align:center}.nav-tabs .tab-item,.nav-tabs a{padding:16px;display:inline-block;color:#666;cursor:pointer}.nav-tabs .tab-item.selected,.nav-tabs a.selected{border-bottom:2px solid #0288D1}.page-list h3{margin:24px 0 16px}.page-list a.chapter{color:#ef7c3c}.page-list .inset-list{display:none;overflow:hidden;margin-bottom:24px}.page-list h4{display:block;margin:12px 0 0;border-left:5px solid #0288D1;padding:6px 0 6px 16px}.page-list h4.draft{border-left-color:#9A60DA}.page-list hr{margin-top:0}.page-list .book,.page-list .chapter,.page-list .page{padding-left:24px}.page-list .page{border-left:5px solid #0288D1}.page-list .page.draft{border-left:5px solid #9A60DA}.page-list .page.draft .text-page{color:#9A60DA}.page-list .chapter{border-left:5px solid #ef7c3c}.page-list .book{border-left:5px solid #009688}.page-list .meta{margin-top:-16px;font-size:.95em}.page-list .meta span{margin-right:12px}.chapter-toggle{margin:0 0 24px;transition:all ease-in-out 180ms;-webkit-user-select:none;-ms-user-select:none;user-select:none}.chapter-toggle i.zmdi-caret-right{transition:all ease-in-out 180ms;transform:rotate(0);transform-origin:25% 50%}.chapter-toggle.open{margin-bottom:0}.chapter-toggle.open i.zmdi-caret-right{transform:rotate(90deg)}.page-nav-list{margin-left:2px;list-style:none}.page-nav-list li{padding-left:6px;border-left:2px solid #888;margin-bottom:4px}.page-nav-list li a{color:#555}.page-nav-list .nav-H2{margin-left:12px;font-size:.95em}.page-nav-list .nav-H3{margin-left:24px;font-size:.9em}.page-nav-list .nav-H4{margin-left:36px;font-size:.85em}.page-nav-list .nav-H5{margin-left:48px;font-size:.8em}.page-nav-list .nav-H6{margin-left:60px;font-size:.75em}.book-tree{padding:24px 0 0;position:relative;right:0;top:0;transition:ease-in-out 240ms;transition-property:right,border;border-left:0 solid #FFF;background-color:#FFF}.book-tree.fixed{position:fixed;top:0;padding-left:24px;padding-right:39px;width:30%;right:-15px;height:100%;overflow-y:scroll;-ms-overflow-style:none;border-left:1px solid #DDD}.book-tree.fixed::-webkit-scrollbar{width:0!important}.book-tree h4{padding:16px 12px 0}.book-tree h4 i{padding-right:12px}.book-tree .sidebar-page-list{list-style:none;margin:6px 0 0;padding-left:0;border-left:5px solid #009688}.book-tree .sidebar-page-list li a{display:block;border-bottom:none;padding:6px 0 6px 12px}.book-tree .sidebar-page-list li a i{padding-right:8px}.book-tree .sidebar-page-list a,.book-tree .sidebar-page-list li{display:block}.book-tree .sidebar-page-list a.bold{color:#EEE!important}.book-tree .sidebar-page-list ul{list-style:none;margin:0}.book-tree .sidebar-page-list .book{color:#009688!important}.book-tree .sidebar-page-list .book.selected{background-color:rgba(0,150,136,.29)}.book-tree .sidebar-page-list .chapter{color:#ef7c3c!important}.book-tree .sidebar-page-list .chapter.selected{background-color:rgba(239,124,60,.12)}.book-tree .sidebar-page-list .chapter-toggle{padding-left:12px}.book-tree .sidebar-page-list .list-item-chapter{border-left:5px solid #ef7c3c;margin:10px;display:block}.book-tree .sidebar-page-list .list-item-page{border-bottom:none;border-left:5px solid #0288D1;margin:10px}.book-tree .sidebar-page-list .page{color:#0288D1!important;border-bottom:none}.book-tree .sidebar-page-list .page.selected{background-color:rgba(2,136,209,.1)}.book-tree .sidebar-page-list .list-item-page.draft{border-left:5px solid #9A60DA}.book-tree .sidebar-page-list .list-item-page.draft a.page,.book-tree .sidebar-page-list .page.draft .page{color:#9A60DA!important}.book-tree .sidebar-page-list .sub-menu{display:none;padding-left:0}.book-tree .sidebar-page-list .sub-menu.open{display:block}.sortable-page-list,.sortable-page-list ul{list-style:none;background-color:#FFF}.sort-box{margin-bottom:16px;padding:0 24px;border-left:4px solid #009688}.sortable-page-list,.sortable-page-list>ul{margin-left:0}.sortable-page-list ul{margin-bottom:0;margin-top:0;box-shadow:0 0 1px 0 rgba(0,0,0,.1)}.sortable-page-list li{border:1px solid #DDD;padding:6px 12px;margin-top:-1px;min-height:38px}.sortable-page-list li.text-chapter{border-left:2px solid #ef7c3c}.sortable-page-list li.text-page{border-left:2px solid #0288D1}.sortable-page-list li:first-child{margin-top:6px}.sortable-page-list li.placeholder{position:relative}.sortable-page-list li.placeholder:before{position:absolute}.activity-list-item{padding:12px 0;color:#888;border-bottom:1px solid #EEE;font-size:.9em}.activity-list-item .left+.right{margin-left:42px}ul.pagination{display:inline-block;list-style:none;margin:16px 0;padding-left:1px}ul.pagination li:first-child a,ul.pagination li:first-child span{border-radius:3px 0 0 3px}ul.pagination li:last-child a,ul.pagination li:last-child span{border-radius:0 3px 3px 0}ul.pagination a,ul.pagination span{display:block;padding:3px 12px;border:1px solid #CCC;margin-left:-1px;color:#888;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.compact ul.pagination,.entity-list h3{margin:0}ul.pagination a.disabled,ul.pagination span.disabled{cursor:not-allowed}ul.pagination li.active span{background-color:rgba(2,136,209,.8);color:#EEE;border-color:rgba(2,136,209,.8)}ul.pagination a{color:#0288D1}.entity-list>div{padding:16px 0}.entity-list p{margin:6px 0 0}.entity-list hr{margin:0}.entity-list .text-small.text-muted{color:#AAA;font-size:.75em;margin-top:6px}.entity-list .page.draft .text-page{color:#9A60DA}.entity-list.compact{font-size:.6em}.entity-list.compact a,.entity-list.compact h3{line-height:1.2}.entity-list.compact p{display:none;font-size:12px;padding-top:6px;margin:0}.entity-list.compact hr{margin:0}.dropdown-container{display:inline-block;position:relative}.dropdown-container ul{display:none;position:absolute;z-index:999;top:0;list-style:none;right:0;margin:16px 0;background-color:#FFF;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border-radius:1px;border:1px solid #EEE;min-width:180px;padding:6px 0;color:#555;text-align:left!important}.dropdown-container ul.wide{min-width:220px}.dropdown-container ul .text-muted{color:#999}.dropdown-container ul a{display:block;padding:6px 16px;color:#555}.dropdown-container ul a:hover{text-decoration:none;background-color:#EEE}.dropdown-container ul a i{margin-right:16px;padding-right:0;display:inline;width:22px}.dropdown-container ul li.border-bottom{border-bottom:1px solid #DDD}#page-show>.row .col-md-9{z-index:2}#page-show>.row .col-md-3{z-index:1}.page-editor{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}.page-editor .faded-small{height:auto}.page-editor .edit-area{-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column}.page-style.editor{padding:0!important}.page-content{max-width:840px;overflow-wrap:break-word}.page-content .align-left{text-align:left}.page-content img.align-left,.page-content table.align-left{float:left!important;margin:6px 12px 6px 0}.page-content .align-right{float:right!important}.page-content img.align-right,.page-content table.align-right{text-align:right;margin:6px 0 6px 12px}.page-content .align-center{text-align:center}.page-content img{max-width:100%;height:auto}.page-content .title-input input[type=text],.page-content h1,.page-content h2,.page-content h3,.page-content h4,.page-content h5,.page-content h6,.title-input .page-content input[type=text]{clear:left}.page-content hr{clear:both;margin:16px 0}.page-content table{word-break:break-all;word-break:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto}.pointer-container{position:relative;display:none;left:0;z-index:10}.pointer,.pointer:before{position:absolute;background-color:#FFF}.pointer{border:1px solid #CCC;display:inline-block;padding:12px;border-radius:4px;box-shadow:0 0 8px 1px rgba(212,209,209,.35);top:-60px;width:272px;z-index:55}.pointer:before{left:50%;bottom:-9px;width:16px;height:16px;margin-left:-8px;display:block;transform:rotate(45deg);transform-origin:50% 50%;border-bottom:1px solid #CCC;border-right:1px solid #CCC;z-index:56}.pointer input{background-color:#FFF;border:1px solid #DDD;color:#666;width:172px;z-index:40}.pointer button,.pointer input{position:relative;border-radius:0;height:28px;font-size:12px;vertical-align:top}.pointer>i{color:#888;font-size:18px;padding-top:4px}.pointer .button{line-height:1;margin:0 0 0 -4px;box-shadow:none}.floating-toolbox{background-color:#FFF;border:1px solid #DDD;right:64px;z-index:99;width:48px;overflow:hidden;-ms-flex-align:stretch;align-items:stretch;-ms-flex-direction:row;flex-direction:row;display:-ms-flexbox;display:flex;transition:width ease-in-out 180ms;margin-top:-1px;min-height:0}.floating-toolbox.open{width:480px}.floating-toolbox [toolbox-toggle] i{transition:transform ease-in-out 180ms}.floating-toolbox [toolbox-toggle]{transition:background-color ease-in-out 180ms}.floating-toolbox.open [toolbox-toggle]{background-color:rgba(255,0,0,.29)}.floating-toolbox.open [toolbox-toggle] i{transform:rotate(180deg)}.floating-toolbox>div{-ms-flex:1;flex:1;position:relative}.floating-toolbox .tabs{display:block;border-right:1px solid #DDD;width:54px;-ms-flex:0;flex:0}.floating-toolbox .tabs i{color:rgba(0,0,0,.5);padding:0;margin:0}.floating-toolbox .tabs>span{display:block;cursor:pointer;padding:12px 16px;font-size:13.5px;line-height:1.6;border-bottom:1px solid rgba(255,255,255,.3)}.floating-toolbox.open .tabs>span.active{color:#444;background-color:rgba(0,0,0,.1)}.floating-toolbox div[tab-content]{padding-bottom:45px;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;min-height:0;overflow-y:scroll}.floating-toolbox div[tab-content] .padded{-ms-flex:1;flex:1;padding-top:0}.floating-toolbox h4{font-size:24px;margin:16px 0 0;padding:0 24px 12px}.floating-toolbox .tags input{max-width:100%;width:100%;min-width:50px}.floating-toolbox .tags td{padding-right:12px;padding-top:12px;position:relative}.floating-toolbox button.pos{position:absolute;bottom:0;display:block;width:100%;padding:12px;height:45px;border:0;margin:0;box-shadow:none;border-radius:0}.floating-toolbox button.pos:hover{box-shadow:none}.floating-toolbox .handle{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:move;color:#999}.floating-toolbox form{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;overflow-y:scroll}[tab-content]{display:none}.tag-display{margin:32px 6px;border:1px solid #DDD;min-width:180px;max-width:320px;opacity:.7;z-index:5;position:relative}.tag-display table{width:100%;margin:0;padding:0}.tag-display span{color:#666;margin-left:12px}.tag-display .heading,.tag-display td{padding:6px 12px;color:#444}.tag-display td{border:0;border-bottom:1px solid #DDD}.tag-display .tag-value,.tag-display td i{color:#888}.tag-display tr:last-child td{border-bottom:none}.tag-display .tag{padding:12px}.suggestion-box{position:absolute;background-color:#FFF;border:1px solid #BBB;box-shadow:0 0 4px 1px #CCC;list-style:none;z-index:100;padding:0;margin:0;border-radius:3px}.suggestion-box li{display:block;padding:6px 12px;border-bottom:1px solid #DDD}.suggestion-box li:last-child{border-bottom:0}.suggestion-box li.active{background-color:#EEE} \ No newline at end of file diff --git a/public/css/styles.css b/public/css/styles.css index c6d43b25299..7422d3009a8 100644 --- a/public/css/styles.css +++ b/public/css/styles.css @@ -1 +1 @@ -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;font-style:normal;font-weight:100;src:local("Roboto Thin"),local("Roboto-Thin"),url(/fonts/roboto-v15-cyrillic_latin-100.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-100.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:100;src:local("Roboto Thin Italic"),local("Roboto-ThinItalic"),url(/fonts/roboto-v15-cyrillic_latin-100italic.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-100italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:300;src:local("Roboto Light"),local("Roboto-Light"),url(/fonts/roboto-v15-cyrillic_latin-300.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-300.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:300;src:local("Roboto Light Italic"),local("Roboto-LightItalic"),url(/fonts/roboto-v15-cyrillic_latin-300italic.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-300italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:local("Roboto"),local("Roboto-Regular"),url(/fonts/roboto-v15-cyrillic_latin-regular.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-regular.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:400;src:local("Roboto Italic"),local("Roboto-Italic"),url(/fonts/roboto-v15-cyrillic_latin-italic.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:500;src:local("Roboto Medium"),local("Roboto-Medium"),url(/fonts/roboto-v15-cyrillic_latin-500.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-500.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:500;src:local("Roboto Medium Italic"),local("Roboto-MediumItalic"),url(/fonts/roboto-v15-cyrillic_latin-500italic.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-500italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:700;src:local("Roboto Bold"),local("Roboto-Bold"),url(/fonts/roboto-v15-cyrillic_latin-700.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-700.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:700;src:local("Roboto Bold Italic"),local("Roboto-BoldItalic"),url(/fonts/roboto-v15-cyrillic_latin-700italic.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-700italic.woff) format("woff")}@font-face{font-family:'Roboto Mono';font-style:normal;font-weight:400;src:local("Roboto Mono"),local("RobotoMono-Regular"),url(/fonts/roboto-mono-v4-latin-regular.woff2) format("woff2"),url(/fonts/roboto-mono-v4-latin-regular.woff) format("woff")}html{background-color:#FFF;height:100%;overflow-y:scroll}html.flexbox{overflow-y:hidden}body{font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}button{font-size:100%}table td{min-width:10px;padding:4px 6px;border:1px solid #DDD}.title-input input[type=text],h1{font-size:3.625em;line-height:1.22222222em;margin-top:.48888889em;margin-bottom:.48888889em}h3,h4{margin-top:.78571429em}h2,h3,h4{margin-bottom:.43137255em}h2{font-size:2.8275em;line-height:1.294117647em;margin-top:.8627451em}h3{font-size:1.75em;line-height:1.571428572em}h4{font-size:1em;line-height:1.375em}.title-input input[type=text],h1,h2,h3,h4{font-weight:400;position:relative;display:block;color:#555}.title-input input[type=text] .subheader,h1 .subheader,h2 .subheader,h3 .subheader,h4 .subheader{display:block;font-size:.5em;line-height:1em;color:#6d6d6d}.link,.text-button,a{color:#0288D1;cursor:pointer;text-decoration:none;transition:color ease-in-out 80ms;line-height:1.6}.link:hover,.text-button:hover,a:hover{text-decoration:underline;color:#01466c}.link i,.text-button i,a i{padding-right:12px}.link i.zmdi-hc-flip-horizontal,.text-button i.zmdi-hc-flip-horizontal,a i.zmdi-hc-flip-horizontal{padding-right:0;padding-left:12px}blockquote,ol,p,pre,table,ul{margin-top:.3em;margin-bottom:1.375em}hr{height:1px;border:0;background:#EAEAEA;margin-bottom:24px}hr.faded{background-image:linear-gradient(to right,#fff,#e3e0e0 20%,#e3e0e0 80%,#fff)}hr.even,hr.margin-top{margin-top:24px}.bold,.strong,b,strong{font-weight:700}.bold>.bold,.bold>.strong,.bold>b,.bold>strong,.strong>.bold,.strong>.strong,.strong>b,.strong>strong,b>.bold,b>.strong,b>b,b>strong,strong>.bold,strong>.strong,strong>b,strong>strong{font-weight:bolder}.italic,em,i{font-style:italic}.text-small,p.small,small,span.small{font-size:.8em;color:#777}.superscript,sup{vertical-align:super;font-size:.8em}pre{font-family:monospace;font-size:.8em;overflow:hidden;border-radius:4px;box-shadow:0 1px 2px 0 rgba(10,10,10,.06);border:1px solid rgba(221,221,221,.66);background-color:#fdf6e3;padding:12px;overflow-x:scroll}blockquote{display:block;position:relative;border-left:4px solid #0288D1;background-color:#F8F8F8;padding:12px 16px 12px 32px}blockquote:before{content:"\201C";font-size:2em;font-weight:700;position:absolute;top:12px;left:12px;color:#777}.code-base,code,span.code{background-color:#F8F8F8;font-family:monospace;font-size:.8em;border:1px solid #DDD;border-radius:3px}code{display:inline;padding:1px 3px;line-height:1.2em;margin-bottom:1.2em}span.code{padding:1px 6px}pre code{background-color:transparent;border:0;font-size:1em}.text-pos,.text-pos:hover,p .pos,p .pos:hover,p.pos,p.pos:hover,span.pos,span.pos:hover{color:#52A256}.text-neg,.text-neg:hover,p .neg,p .neg:hover,p.neg,p.neg:hover,span.neg,span.neg:hover{color:#E84F4F}.text-muted,p .muted,p.muted,span.muted{color:#868686}.text-muted .small,.text-muted.small,p .muted .small,p .muted.small,p.muted .small,p.muted.small,span.muted .small,span.muted.small{color:#afafaf}.text-primary,.text-primary:hover,p .primary,p .primary:hover,p.primary,p.primary:hover,span.primary,span.primary:hover{color:#0288D1}.text-secondary,.text-secondary:hover,p .secondary,p .secondary:hover,p.secondary,p.secondary:hover,span.secondary,span.secondary:hover{color:#e27b41}.text-book,.text-book:hover{color:#009688}.text-page,.text-page:hover{color:#0288D1}.text-page.draft,.text-page.draft:hover{color:#9A60DA}.text-chapter,.text-chapter:hover{color:#ef7c3c}span.highlight{font-weight:700;padding:2px 4px}ol,ul{padding-left:20.8px;overflow:hidden}ul{list-style:disc}ol{list-style:decimal}.underlined{text-decoration:underline}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-bigger{font-size:1.1em}.text-large{font-size:1.6666em}.no-color{color:inherit}.header-group{margin:16px 0}.header-group .title-input input[type=text],.header-group h1,.header-group h2,.header-group h3,.header-group h4,.header-group h5,.header-group h6,.title-input .header-group input[type=text]{margin:0}span.sep{color:#BBB;padding:0 6px}.list>*{display:block}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}div[toggle-switch]{height:18px;width:150px}table.table{width:100%}table.table tr{border-bottom:1px solid #DDD}table.table td,table.table th{text-align:left;border:none;padding:6px;vertical-align:middle}.dz-message,.dz-preview .dz-details,.dz-preview .dz-remove,.image-manager-content .full-tab,.mce-container-body.mce-flow-layout{text-align:center}table.table th{font-weight:700}table.table tr:hover{background-color:#EEE}table{min-width:100px;max-width:100%}table thead{background-color:#F8F8F8;font-weight:500}table.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 +code,pre{white-space:pre}.chapter-toggle,.toggle-switch{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;cursor:pointer}.anim.fadeIn,.anim.notification,.anim.searchResult{animation-fill-mode:forwards}*,.dropzone,.dropzone *{box-sizing:border-box}.title-input input[type=text],a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{margin:0;padding:0;border:0;font:inherit;vertical-align:baseline}.link,.text-button,a,body{font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:'';content:none}table{border-collapse:collapse;border-spacing:0}@font-face{font-family:Roboto;font-style:normal;font-weight:100;src:local("Roboto Thin"),local("Roboto-Thin"),url(/fonts/roboto-v15-cyrillic_latin-100.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-100.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:100;src:local("Roboto Thin Italic"),local("Roboto-ThinItalic"),url(/fonts/roboto-v15-cyrillic_latin-100italic.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-100italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:300;src:local("Roboto Light"),local("Roboto-Light"),url(/fonts/roboto-v15-cyrillic_latin-300.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-300.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:300;src:local("Roboto Light Italic"),local("Roboto-LightItalic"),url(/fonts/roboto-v15-cyrillic_latin-300italic.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-300italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:local("Roboto"),local("Roboto-Regular"),url(/fonts/roboto-v15-cyrillic_latin-regular.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-regular.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:400;src:local("Roboto Italic"),local("Roboto-Italic"),url(/fonts/roboto-v15-cyrillic_latin-italic.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:500;src:local("Roboto Medium"),local("Roboto-Medium"),url(/fonts/roboto-v15-cyrillic_latin-500.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-500.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:500;src:local("Roboto Medium Italic"),local("Roboto-MediumItalic"),url(/fonts/roboto-v15-cyrillic_latin-500italic.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-500italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:700;src:local("Roboto Bold"),local("Roboto-Bold"),url(/fonts/roboto-v15-cyrillic_latin-700.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-700.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:700;src:local("Roboto Bold Italic"),local("Roboto-BoldItalic"),url(/fonts/roboto-v15-cyrillic_latin-700italic.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-700italic.woff) format("woff")}@font-face{font-family:'Roboto Mono';font-style:normal;font-weight:400;src:local("Roboto Mono"),local("RobotoMono-Regular"),url(/fonts/roboto-mono-v4-latin-regular.woff2) format("woff2"),url(/fonts/roboto-mono-v4-latin-regular.woff) format("woff")}html{background-color:#FFF;height:100%;overflow-y:scroll}html.flexbox{overflow-y:hidden}body{font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}button{font-size:100%}table td{min-width:10px;padding:4px 6px;border:1px solid #DDD}.title-input input[type=text],h1{font-size:3.625em;line-height:1.22222222em;margin-top:.48888889em;margin-bottom:.48888889em}h3,h4{margin-top:.78571429em}h2,h3,h4{margin-bottom:.43137255em}h2{font-size:2.8275em;line-height:1.294117647em;margin-top:.8627451em}h3{font-size:1.75em;line-height:1.571428572em}h4{font-size:1em;line-height:1.375em}.title-input input[type=text],h1,h2,h3,h4{font-weight:400;position:relative;display:block;color:#555}.title-input input[type=text] .subheader,h1 .subheader,h2 .subheader,h3 .subheader,h4 .subheader{display:block;font-size:.5em;line-height:1em;color:#6d6d6d}.link,.text-button,a{color:#0288D1;cursor:pointer;text-decoration:none;transition:color ease-in-out 80ms;line-height:1.6}.link:hover,.text-button:hover,a:hover{text-decoration:underline;color:#01466c}.link i,.text-button i,a i{padding-right:12px}.link i.zmdi-hc-flip-horizontal,.text-button i.zmdi-hc-flip-horizontal,a i.zmdi-hc-flip-horizontal{padding-right:0;padding-left:12px}blockquote,ol,p,pre,table,ul{margin-top:.3em;margin-bottom:1.375em}hr{height:1px;border:0;background:#EAEAEA;margin-bottom:24px}hr.faded{background-image:linear-gradient(to right,#fff,#e3e0e0 20%,#e3e0e0 80%,#fff)}hr.even,hr.margin-top{margin-top:24px}.bold,.strong,b,strong{font-weight:700}.bold>.bold,.bold>.strong,.bold>b,.bold>strong,.strong>.bold,.strong>.strong,.strong>b,.strong>strong,b>.bold,b>.strong,b>b,b>strong,strong>.bold,strong>.strong,strong>b,strong>strong{font-weight:bolder}.italic,em,i{font-style:italic}.text-small,p.small,small,span.small{font-size:.8em;color:#777}.superscript,sup{vertical-align:super;font-size:.8em}pre{font-family:monospace;font-size:.8em;overflow:hidden;border-radius:4px;box-shadow:0 1px 2px 0 rgba(10,10,10,.06);border:1px solid rgba(221,221,221,.66);background-color:#fdf6e3;padding:12px;overflow-x:scroll}blockquote{display:block;position:relative;border-left:4px solid #0288D1;background-color:#F8F8F8;padding:12px 16px 12px 32px}blockquote:before{content:"\201C";font-size:2em;font-weight:700;position:absolute;top:12px;left:12px;color:#777}.code-base,code,span.code{background-color:#F8F8F8;font-family:monospace;font-size:.8em;border:1px solid #DDD;border-radius:3px}code{display:inline;padding:1px 3px;line-height:1.2em;margin-bottom:1.2em}span.code{padding:1px 6px}pre code{background-color:transparent;border:0;font-size:1em}.text-pos,.text-pos:hover,p .pos,p .pos:hover,p.pos,p.pos:hover,span.pos,span.pos:hover{color:#52A256}.text-neg,.text-neg:hover,p .neg,p .neg:hover,p.neg,p.neg:hover,span.neg,span.neg:hover{color:#E84F4F}.text-muted,p .muted,p.muted,span.muted{color:#868686}.text-muted .small,.text-muted.small,p .muted .small,p .muted.small,p.muted .small,p.muted.small,span.muted .small,span.muted.small{color:#afafaf}.text-primary,.text-primary:hover,p .primary,p .primary:hover,p.primary,p.primary:hover,span.primary,span.primary:hover{color:#0288D1}.text-secondary,.text-secondary:hover,p .secondary,p .secondary:hover,p.secondary,p.secondary:hover,span.secondary,span.secondary:hover{color:#e27b41}.text-book,.text-book:hover{color:#009688}.text-page,.text-page:hover{color:#0288D1}.text-page.draft,.text-page.draft:hover{color:#9A60DA}.text-chapter,.text-chapter:hover{color:#ef7c3c}span.highlight{font-weight:700;padding:2px 4px}ol,ul{padding-left:20.8px;overflow:hidden}ul{list-style:disc}ol{list-style:decimal}.underlined{text-decoration:underline}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-bigger{font-size:1.1em}.text-large{font-size:1.6666em}.no-color{color:inherit}.header-group{margin:16px 0}.header-group .title-input input[type=text],.header-group h1,.header-group h2,.header-group h3,.header-group h4,.header-group h5,.header-group h6,.title-input .header-group input[type=text]{margin:0}span.sep{color:#BBB;padding:0 6px}.list>*{display:block}.action-header .title-input input[type=text],.action-header h1,.title-input .action-header input[type=text]{margin-top:16px}i{padding-right:6px}body.flexbox{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;height:100%;min-height:100%;max-height:100%;overflow:hidden}body.flexbox #content{-ms-flex:1;flex:1;display:-ms-flexbox;display:flex;min-height:0}.flex-fill{display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch;min-height:0}.flex-fill .flex,.flex-fill.flex{min-height:0;-ms-flex:1;flex:1}div[class^=col-] img{max-width:100%}.container{max-width:1400px;margin-left:auto;margin-right:auto;padding-left:16px;padding-right:16px}.container.fluid{max-width:100%}.container.small{max-width:840px}.center-box{margin:32px auto 0;padding:16px 48px 64px;max-width:346px;display:inline-block;text-align:left;vertical-align:top}.center-box.login{background-color:#EEE;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border:1px solid #DDD}.row{margin-left:-16px;margin-right:-16px}.float{float:left}.float.right{float:right}.block{display:block;position:relative}.inline{display:inline}.block.inline{display:inline-block}.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{position:relative;min-height:1px;padding-left:16px;padding-right:16px}.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.row:after,.row:before{content:" ";display:table}.button-group:after,.dz-preview .dz-error-message:after,.editor-toolbar:after,.pointer:before,.toggle-switch:after{content:''}.clearfix:after,.container-fluid:after,.container:after,.row:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.shaded{background-color:#f1f1f1}.shaded.pos{background-color:#d6ead7}.shaded.neg{background-color:#f4a9a9}.shaded.primary{background-color:#a1ddfe}.shaded.secondary{background-color:#f6d7c6}.bordered{border:1px solid #BBB}.bordered.pos{border-color:#52A256}.bordered.neg{border-color:#E84F4F}.bordered.primary{border-color:#0288D1}.bordered.secondary{border-color:#e27b41}.bordered.thick{border-width:2px}.rounded{border-radius:3px}.nopadding{padding:0}.padded{padding:24px}.padded.large{padding:32px}.padded>h1:first-child,.padded>h2:first-child,.padded>h3:first-child,.padded>h4:first-child,.title-input .padded>input[type=text]:first-child{margin-top:.1em}.padded-top,.padded-vertical{padding-top:16px}.padded-top.large,.padded-vertical.large{padding-top:32px}.padded-bottom,.padded-vertical{padding-bottom:16px}.padded-bottom.large,.padded-vertical.large{padding-bottom:32px}.padded-horizontal,.padded-left{padding-left:16px}.padded-horizontal.large,.padded-left.large{padding-left:32px}.padded-horizontal,.padded-right{padding-right:16px}.padded-horizontal.large,.padded-right.large{padding-right:32px}.margins{margin:24px}.margins.large{margin:32px}.margin-top,.margins-vertical{margin-top:16px}.margin-top.large,.margins-vertical.large{margin-top:32px}.margin-bottom,.margins-vertical{margin-bottom:16px}.margin-bottom.large,.margins-vertical.large{margin-bottom:32px}.margin-left,.margins-horizontal{margin-left:16px}.margin-left.large,.margins-horizontal.large{margin-left:32px}.margin-right,.margins-horizontal{margin-right:16px}.margin-right.large,.margins-horizontal.large,header .links{margin-right:32px}.button,.button-base,input[type=button],input[type=submit]{text-decoration:none;font-size:15px;line-height:1.4em;padding:6px 16px;margin:6px 6px 6px 0;display:inline-block;border:none;font-weight:500;font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif;outline:0;border-radius:2px;cursor:pointer;transition:all ease-in-out 120ms;box-shadow:0 .5px 1.5px 0 rgba(0,0,0,.21);background-color:#0288D1;color:#EEE}.button-base:hover,.button:hover,input[type=button]:hover,input[type=submit]:hover{background-color:#02a2f9;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#EEE}.button-base:active,.button:active,input[type=button]:active,input[type=submit]:active{background-color:#026ea9}.button-base:focus,.button:focus,input[type=button]:focus,input[type=submit]:focus{background-color:#0295e5;box-shadow:0 0 4px 1px #CCC;text-decoration:none;color:#EEE}.button.pos,input[type=button].pos,input[type=submit].pos{background-color:#52A256;color:#EEE}.button.pos:hover,input[type=button].pos:hover,input[type=submit].pos:hover{background-color:#69b36d;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#EEE}.button.pos:active,input[type=button].pos:active,input[type=submit].pos:active{background-color:#448748}.button.pos:focus,input[type=button].pos:focus,input[type=submit].pos:focus{background-color:#5cac60;box-shadow:0 0 4px 1px #CCC;text-decoration:none;color:#EEE}.button.neg,input[type=button].neg,input[type=submit].neg{background-color:#E84F4F;color:#EEE}.button.neg:hover,input[type=button].neg:hover,input[type=submit].neg:hover{background-color:#ed7373;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#EEE}.button.neg:active,input[type=button].neg:active,input[type=submit].neg:active{background-color:#e32b2b}.button.neg:focus,input[type=button].neg:focus,input[type=submit].neg:focus{background-color:#ea6161;box-shadow:0 0 4px 1px #CCC;text-decoration:none;color:#EEE}.button.secondary,input[type=button].secondary,input[type=submit].secondary{background-color:#e27b41;color:#EEE}.button.secondary:hover,input[type=button].secondary:hover,input[type=submit].secondary:hover{background-color:#e79464;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#EEE}.button.secondary:active,input[type=button].secondary:active,input[type=submit].secondary:active{background-color:#d96321}.button.secondary:focus,input[type=button].secondary:focus,input[type=submit].secondary:focus{background-color:#e58753;box-shadow:0 0 4px 1px #CCC;text-decoration:none;color:#EEE}.button.muted,input[type=button].muted,input[type=submit].muted{background-color:#888;color:#EEE}.button.muted:hover,input[type=button].muted:hover,input[type=submit].muted:hover{background-color:#9c9c9c;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#EEE}.button.muted:active,input[type=button].muted:active,input[type=submit].muted:active{background-color:#747474}.button.muted:focus,input[type=button].muted:focus,input[type=submit].muted:focus{background-color:#929292;box-shadow:0 0 4px 1px #CCC;text-decoration:none;color:#EEE}.text-button{background-color:transparent;padding:0;margin:0;border:none}.text-button:active,.text-button:focus{outline:0}.text-button:hover{text-decoration:none}.text-button.neg{color:#E84F4F}.button-group:after{display:block;font-size:0;clear:both;position:relative}.button-group .button,.button-group button[type=button]{margin:6px 0;float:left;border-radius:0}.button-group .button:first-child,.button-group button[type=button]:first-child{border-radius:2px 0 0 2px}.button-group .button:last-child,.button-group button[type=button]:last-child{border-radius:0 2px 2px 0}.button.block{width:100%;text-align:center;display:block}.button.icon i{padding-right:0}.input-base,input[type=text],input[type=number],input[type=email],input[type=search],input[type=url],input[type=password],select,textarea{background-color:#FFF;border-radius:3px;border:1px solid #CCC;display:inline-block;font-size:14px;font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif;padding:6px;color:#222;width:250px;max-width:100%}#markdown-editor textarea,.editor-toolbar{width:100%;font-family:'Roboto Mono'}.input-base.invalid,.input-base.neg,input.invalid[type=text],input.invalid[type=number],input.invalid[type=email],input.invalid[type=search],input.invalid[type=url],input.invalid[type=password],input.neg[type=text],input.neg[type=number],input.neg[type=email],input.neg[type=search],input.neg[type=url],input.neg[type=password],select.invalid,select.neg,textarea.invalid,textarea.neg{border:1px solid #E84F4F}.input-base.pos,.input-base.valid,input.pos[type=text],input.pos[type=number],input.pos[type=email],input.pos[type=search],input.pos[type=url],input.pos[type=password],input.valid[type=text],input.valid[type=number],input.valid[type=email],input.valid[type=search],input.valid[type=url],input.valid[type=password],select.pos,select.valid,textarea.pos,textarea.valid{border:1px solid #52A256}.input-base.disabled,.input-base[disabled],input.disabled[type=text],input.disabled[type=number],input.disabled[type=email],input.disabled[type=search],input.disabled[type=url],input.disabled[type=password],input[disabled][type=text],input[disabled][type=number],input[disabled][type=email],input[disabled][type=search],input[disabled][type=url],input[disabled][type=password],select.disabled,select[disabled],textarea.disabled,textarea[disabled]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAMUlEQVQIW2NkwAGuXbv2nxGbHEhCS0uLEUMSJgHShCKJLIEiiS4Bl8QmAZbEJQGSBAC62BuJ+tt7zgAAAABJRU5ErkJggg==)}#html-editor{display:none}#markdown-editor{position:relative;z-index:5}#markdown-editor textarea{font-style:normal;font-weight:400;padding:6px 16px;color:#444;border-radius:0;max-height:100%;-ms-flex:1;flex:1;border:0}#markdown-editor textarea:focus{outline:0}#markdown-editor .markdown-display,#markdown-editor .markdown-editor-wrap{-ms-flex:1;flex:1;position:relative}#markdown-editor .markdown-editor-wrap{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;border:1px solid #DDD}#markdown-editor .markdown-display{padding:0 16px;margin-left:-1px;overflow-y:scroll}#markdown-editor .markdown-display .page-content{margin:0 auto}.editor-toolbar{padding:6px 16px;font-size:11px;line-height:1.6;border-bottom:1px solid #DDD;background-color:#EEE;-ms-flex:none;flex:none}.editor-toolbar:after{display:block;clear:both}label{display:block;line-height:1.4em;font-size:.94em;font-weight:500;color:#666;padding-bottom:2px;margin-bottom:.2em}.toggle-switch,label.inline{display:inline-block}label.checkbox,label.radio{font-weight:400}label.checkbox input[type=radio],label.checkbox input[type=checkbox],label.radio input[type=radio],label.radio input[type=checkbox]{margin-right:6px}label+p.small{margin-bottom:.8em}.toggle-switch{background-color:#BBB;width:36px;height:14px;border-radius:7px;position:relative;transition:all ease-in-out 120ms;user-select:none}.toggle-switch:after{display:block;position:relative;left:0;margin-top:-3px;width:20px;height:20px;border-radius:50%;background-color:#fafafa;border:1px solid #CCC;box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);transition:all ease-in-out 120ms}.toggle-switch.active{background-color:rgba(82,162,86,.4)}.toggle-switch.active:after{left:16px;background-color:#52A256;border:#305e32}.toggle-switch-checkbox{display:none}input:checked+.toggle-switch{background-color:rgba(82,162,86,.4)}input:checked+.toggle-switch:after{left:16px;background-color:#52A256;border:#305e32}.form-group{margin-bottom:12px}.form-group textarea{display:block;width:100%;min-height:64px}.form-group .text-neg,.form-group .text-pos{padding:6px 0}.description-input textarea,.inline-input-style,.title-input input[type=text]{border:2px dotted #BBB;display:block;width:100%;padding:6px 12px}.title-input .input{width:100%}.description-input label,.title-input label{margin-top:16px;color:#666}.title-input input[type=text]{margin-top:0;padding-right:0;width:100%;color:#444}.title-input.page-title{font-size:.8em}.title-input.page-title .input{border:0;margin-bottom:-1px}.title-input.page-title input[type=text]{max-width:840px;margin:0 auto;border:none}.page-title input{display:block;width:100%;font-size:1.4em}.description-input textarea{font-size:15px;color:#666;width:100%}div[editor-type=markdown] .title-input.page-title input[type=text]{max-width:100%}.search-box{max-width:100%;position:relative}.search-box button{background-color:transparent;border:none;color:#0288D1;padding:0;margin:0 0 0 12px;cursor:pointer}.search-box button[type=submit]{margin-left:-24px}.search-box input{padding-right:24px;width:300px;max-width:100%}input.outline{border:0;border-bottom:2px solid #DDD;border-radius:0}input.outline:active,input.outline:focus{border:0;border-bottom:2px solid #AAA;outline:0}#login-form label[for=remember]{margin:0}#login-form label.toggle-switch{margin-left:32px}.image-picker img{background-color:#BBB}div[toggle-switch]{height:18px;width:150px}table.table{width:100%}table.table tr{border-bottom:1px solid #DDD}table.table td,table.table th{text-align:left;border:none;padding:6px;vertical-align:middle}.dz-message,.dz-preview .dz-details,.dz-preview .dz-remove,.image-manager-content .full-tab,.mce-container-body.mce-flow-layout{text-align:center}table.table th{font-weight:700}table.table tr:hover{background-color:#EEE}table{min-width:100px;max-width:100%}table thead{background-color:#F8F8F8;font-weight:500}table.no-style td{border:0;padding:0}table.list-table{margin:-6px}table.list-table td{border:0;vertical-align:middle;padding:6px}.dropdown-container,.dz-preview,.logo-image,.logo-text,form.search-box button,header .links,header .user-name,header .user-name>*{vertical-align:top}.anim.fadeIn{opacity:0;animation-name:fadeIn;animation-duration:160ms;animation-timing-function:ease-in-out}@keyframes fadeIn{0%{opacity:0}100%{opacity:1}}.anim.searchResult{opacity:0;transform:translate3d(580px,0,0);animation-name:searchResult;animation-duration:220ms;animation-timing-function:cubic-bezier(.62,.28,.23,.99)}@keyframes searchResult{0%{opacity:0;transform:translate3d(400px,0,0)}100%{opacity:1;transform:translate3d(0,0,0)}}.anim.notification{transform:translate3d(580px,0,0);animation-name:notification;animation-duration:3s;animation-timing-function:ease-in-out}.anim.menuIn,.anim.pointer{animation-delay:0s;animation-timing-function:cubic-bezier(.62,.28,.23,.99)}.anim.notification.stopped{animation-name:notificationStopped}@keyframes notification{0%,100%{transform:translate3d(580px,0,0)}10%,90%{transform:translate3d(0,0,0)}}@keyframes notificationStopped{0%{transform:translate3d(580px,0,0)}10%,100%{transform:translate3d(0,0,0)}}@keyframes menuIn{from{opacity:0;transform:scale3d(0,0,1)}to{opacity:1;transform:scale3d(1,1,1)}}.anim.menuIn{transform-origin:100% 0;animation-name:menuIn;animation-duration:120ms}@keyframes loadingBob{0%,100%,30%,70%{transform:translate3d(0,0,0)}50%{transform:translate3d(0,-10px,0)}}@keyframes pointer{0%{transform:translate3d(0,20px,0) scale3d(0,0,0)}100%{transform:translate3d(0,0,0) scale3d(1,1,1)}}.anim.pointer{transform-origin:50% 100%;animation-name:pointer;animation-duration:180ms}.mce-tinymce.mce-container.fullscreen{position:fixed;top:0;height:100%;width:825px;max-width:100%;margin-left:-12px;box-shadow:0 0 4px 2px rgba(0,0,0,.08)}.mce-tinymce .mce-btn,.mce-tinymce .mce-panel{background-color:#FFF}.edit-area.flex>.mce-tinymce.mce-container.mce-panel{height:100%;max-height:100%;-ms-flex:1;flex:1;display:-ms-flexbox!important;display:flex!important;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;margin:0 -1px}.edit-area.flex>.mce-tinymce.mce-container.mce-panel>.mce-container-body,.edit-area.flex>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-edit-area{-ms-flex:1;flex:1;display:-ms-flexbox!important;display:flex!important;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}.edit-area.flex>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-edit-area iframe{-ms-flex:1;flex:1}.hljs{display:block;overflow-x:auto;padding:.5em;background:#fdf6e3;color:#657b83;-webkit-text-size-adjust:none}.diff .hljs-header,.hljs-comment,.hljs-doctype,.hljs-pi,.lisp .hljs-string{color:#93a1a1}.css .hljs-tag,.hljs-addition,.hljs-keyword,.hljs-request,.hljs-status,.hljs-winutils,.method,.nginx .hljs-title{color:#859900}.hljs-command,.hljs-doctag,.hljs-hexcolor,.hljs-link_url,.hljs-number,.hljs-regexp,.hljs-rule .hljs-value,.hljs-string,.hljs-tag .hljs-value,.tex .hljs-formula{color:#2aa198}.css .hljs-function,.hljs-built_in,.hljs-chunk,.hljs-decorator,.hljs-id,.hljs-identifier,.hljs-localvars,.hljs-name,.hljs-title,.vhdl .hljs-literal{color:#268bd2}.hljs-attribute,.hljs-class .hljs-title,.hljs-constant,.hljs-link_reference,.hljs-parent,.hljs-type,.hljs-variable,.lisp .hljs-body,.smalltalk .hljs-number{color:#b58900}.css .hljs-pseudo,.diff .hljs-change,.hljs-attr_selector,.hljs-cdata,.hljs-header,.hljs-pragma,.hljs-preprocessor,.hljs-preprocessor .hljs-keyword,.hljs-shebang,.hljs-special,.hljs-subst,.hljs-symbol,.hljs-symbol .hljs-string{color:#cb4b16}.hljs-deletion,.hljs-important{color:#dc322f}.hljs-link_label{color:#6c71c4}.tex .hljs-formula{background:#eee8d5}.overlay{background-color:rgba(0,0,0,.2);position:fixed;z-index:95536;width:100%;height:100%;min-width:100%;min-height:100%;top:0;left:0;right:0;bottom:0}.image-manager-body{background-color:#FFF;max-height:90%;width:90%;height:90%;margin:2% 5%;border-radius:4px;box-shadow:0 0 15px 0 rgba(0,0,0,.3);overflow:hidden;position:fixed;top:0;bottom:0;left:0;z-index:999;display:-ms-flexbox;display:flex}.image-manager-body .title-input input[type=text],.image-manager-body h1,.image-manager-body h2,.image-manager-body h3,.title-input .image-manager-body input[type=text]{font-weight:300}#image-manager .dropzone-container{position:relative;border:3px dashed #DDD}.image-manager-bottom{position:absolute;bottom:0;right:0}.image-manager-list .image{display:block;position:relative;border-radius:0;float:left;margin:0;cursor:pointer;width:16.6666666667%;height:auto;border:1px solid #DDD;box-shadow:0 0 0 0 transparent;transition:all cubic-bezier(.4,0,1,1) 160ms;overflow:hidden}.image-manager-list .image.selected{transform:scale3d(.92,.92,.92);border:1px solid #444;box-shadow:0 1px 2px 0 rgba(0,0,0,.2)}.image-manager-list .image img{width:100%;max-width:100%;display:block}.image-manager-list .image .image-meta{position:absolute;width:100%;bottom:0;left:0;color:#EEE;background-color:rgba(0,0,0,.4);font-size:10px;padding:3px 4px}.image-manager-list .image .image-meta span{display:block}@media screen and (max-width:1100px){.image-manager-list .image{width:25%}}@media screen and (max-width:800px){.image-manager-list .image .image-meta{display:none}}#image-manager .load-more{display:block;text-align:center;background-color:#EEE;padding:12px 16px;color:#AAA;clear:both;font-size:20px;cursor:pointer;font-style:italic}.image-manager-sidebar{width:300px;height:100%;margin-left:1px;padding:0 24px;border-left:1px solid #DDD}.image-manager-close{position:absolute;top:0;right:0;margin:0;border-radius:0}.image-manager-list{overflow-y:scroll;-ms-flex:1;flex:1}.image-manager-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;height:100%;-ms-flex:1;flex:1}.image-manager-content .container{width:100%}.dz-message{font-size:1.4em;font-style:italic;color:#aaa;cursor:pointer;padding:32px 16px;transition:all ease-in-out 120ms}.dz-drag-hover .dz-message{background-color:#107ed2;color:#EEE}@keyframes passing-through{0%{opacity:0;transform:translateY(40px)}30%,70%{opacity:1;transform:translateY(0)}100%{opacity:0;transform:translateY(-40px)}}@keyframes slide-in{0%{opacity:0;transform:translateY(40px)}30%{opacity:1;transform:translateY(0)}}.dz-preview.dz-file-preview .dz-details,.dz-preview:hover .dz-details{opacity:1}@keyframes pulse{0%,20%{transform:scale(1)}10%{transform:scale(1.1)}}.dz-preview{position:relative;display:inline-block;margin:12px;min-height:80px}.dz-preview:hover{z-index:1000}.dz-preview.dz-file-preview .dz-image{border-radius:4px;background:#999;background:linear-gradient(to bottom,#eee,#ddd)}.dz-preview.dz-image-preview{background:#fff}.dz-preview.dz-image-preview .dz-details{transition:opacity .2s linear}.dz-preview .dz-remove{font-size:14px;display:block;cursor:pointer;border:none}.dz-preview .dz-remove:hover{text-decoration:underline}.book-tree .sidebar-page-list li a:hover,.faded .text-button:hover,.logo:hover{text-decoration:none}.dz-preview .dz-details{z-index:20;position:absolute;top:0;left:0;opacity:0;font-size:10px;min-width:100%;max-width:100%;padding:6px 3px;color:rgba(0,0,0,.9);line-height:150%}.dz-preview .dz-details .dz-size{margin-bottom:.5em;font-size:12px}.dz-preview .dz-details .dz-filename{white-space:nowrap}.dz-preview .dz-details .dz-filename:hover span{border:1px solid rgba(200,200,200,.8);background-color:rgba(255,255,255,.8)}.dz-preview .dz-details .dz-filename:not(:hover){overflow:hidden;text-overflow:ellipsis}.dz-preview .dz-details .dz-filename:not(:hover) span{border:1px solid transparent}.dz-preview .dz-details .dz-filename span,.dz-preview .dz-details .dz-size span{background-color:rgba(255,255,255,.4);padding:0 .4em;border-radius:3px}.dz-preview:hover .dz-image img{-webkit-filter:blur(8px);filter:blur(8px)}.dz-preview .dz-image{border-radius:4px;overflow:hidden;width:80px;height:80px;position:relative;display:block;z-index:10}.dz-preview .dz-image img{display:block}.dz-preview.dz-success .dz-success-mark{animation:passing-through 3s cubic-bezier(.77,0,.175,1)}.dz-preview.dz-error .dz-error-mark{opacity:1;animation:slide-in 3s cubic-bezier(.77,0,.175,1)}.dz-preview .dz-error-mark,.dz-preview .dz-success-mark{pointer-events:none;opacity:0;z-index:500;position:absolute;display:block;top:50%;left:50%;margin-left:-27px;margin-top:-27px}.dz-preview .dz-error-mark svg,.dz-preview .dz-success-mark svg{display:block;width:54px;height:54px}.dz-preview.dz-processing .dz-progress{opacity:1;transition:all .2s linear}.dz-preview.dz-complete .dz-progress{opacity:0;transition:opacity .4s ease-in}.dz-preview:not(.dz-processing) .dz-progress{animation:pulse 6s ease infinite}.dz-preview .dz-progress{opacity:1;z-index:1000;pointer-events:none;position:absolute;height:16px;left:50%;top:50%;margin-top:-8px;width:80px;margin-left:-40px;background:rgba(255,255,255,.9);transform:scale(1);border-radius:8px;overflow:hidden}.dz-preview .dz-progress .dz-upload{background:#333;background:linear-gradient(to bottom,#666,#444);position:absolute;top:0;left:0;bottom:0;width:0;transition:width .3s ease-in-out}.dz-preview.dz-error .dz-error-message{display:block}.dz-preview.dz-error:hover .dz-error-message{opacity:1;pointer-events:auto}.dz-preview .dz-error-message{pointer-events:none;z-index:1000;position:absolute;display:block;display:none;opacity:0;transition:opacity .3s ease;border-radius:4px;font-size:11.5px;line-height:1.2;top:88px;left:-26px;width:148px;background:#E84F4F;padding:6px;color:#fff}.dz-preview .dz-error-message:after{position:absolute;top:-6px;left:64px;width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #E84F4F}header{display:block;z-index:2;top:0;background-color:#0288D1;color:#fff;border-bottom:1px solid #DDD}header .avatar,header .links,header .links a,header .user-name{display:inline-block}header .padded{padding:16px}header .links a{padding:24px;color:#FFF}header .links a:last-child{padding-right:0}@media screen and (max-width:992px){header .links{margin-right:16px}header .links a{padding:24px 12px}}header .avatar{width:30px;height:30px}header .user-name{padding-top:24px;cursor:pointer}header .user-name>i,header .user-name>span{padding-left:6px;display:inline-block}header .user-name>span{padding-top:3px}header .user-name>i{padding-top:4px;font-size:18px}@media screen and (max-width:992px){header .user-name{padding-left:6px}header .user-name .name{display:none}header{text-align:center}header .float.right{float:none}}.logo,.logo-text,form.search-box{display:inline-block}.activity-list-item .left,ul.pagination li{float:left}@media screen and (max-width:768px){header .links a{padding:12px}header form.search-box{margin-top:0}header .user-name{padding-top:12px}}header .dropdown-container{font-size:.9em}form.search-box{margin-top:21.6px;position:relative;text-align:left}form.search-box input{background-color:transparent;border-radius:24px;border:2px solid #EEE;color:#EEE;padding-left:16px;padding-right:24px;outline:0}form.search-box button{margin-left:-24px;color:#FFF;top:6px;right:4px;display:inline-block;position:absolute}form.search-box button:hover{color:#FFF}.logo:hover{color:#FFF}.logo-text{font-size:1.8em;color:#fff;font-weight:400;padding:24px 24px 24px 0;line-height:1}.logo-image{margin:16px 12px 16px 0;height:43px}.breadcrumbs span.sep{color:#aaa;padding:0 6px}.action-buttons .text-button,.breadcrumbs .text-button,.faded span.faded-text{padding:12px;display:inline-block}.faded a,.faded button,.faded span,.faded span>div{color:#666}.faded .text-button{opacity:.5;transition:all ease-in-out 120ms}.faded .text-button:hover{opacity:1}.faded-small{color:#000;font-size:.9em;background-color:rgba(21,101,192,.15)}.action-buttons .text-button:last-child,.breadcrumbs .text-button:last-child{padding-right:0}.action-buttons{text-align:right}.action-buttons.text-left{text-align:left}.action-buttons.text-left .text-button{padding-right:16px;padding-left:0}.action-buttons.text-center,.nav-tabs{text-align:center}.nav-tabs .tab-item,.nav-tabs a{padding:16px;display:inline-block;color:#666;cursor:pointer}.nav-tabs .tab-item.selected,.nav-tabs a.selected{border-bottom:2px solid #0288D1}.page-list h3{margin:24px 0 16px}.page-list a.chapter{color:#ef7c3c}.page-list .inset-list{display:none;overflow:hidden;margin-bottom:24px}.page-list h4{display:block;margin:12px 0 0;border-left:5px solid #0288D1;padding:6px 0 6px 16px}.page-list h4.draft{border-left-color:#9A60DA}.page-list hr{margin-top:0}.page-list .book,.page-list .chapter,.page-list .page{padding-left:24px}.page-list .page{border-left:5px solid #0288D1}.page-list .page.draft{border-left:5px solid #9A60DA}.page-list .page.draft .text-page{color:#9A60DA}.page-list .chapter{border-left:5px solid #ef7c3c}.page-list .book{border-left:5px solid #009688}.page-list .meta{margin-top:-16px;font-size:.95em}.page-list .meta span{margin-right:12px}.chapter-toggle{margin:0 0 24px;transition:all ease-in-out 180ms;user-select:none}.floating-toolbox .handle,ul.pagination a,ul.pagination span{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.chapter-toggle i.zmdi-caret-right{transition:all ease-in-out 180ms;transform:rotate(0);transform-origin:25% 50%}.chapter-toggle.open{margin-bottom:0}.chapter-toggle.open i.zmdi-caret-right{transform:rotate(90deg)}.page-nav-list{margin-left:2px;list-style:none}.page-nav-list li{padding-left:6px;border-left:2px solid #888;margin-bottom:4px}.page-nav-list li a{color:#555}.page-nav-list .nav-H2{margin-left:12px;font-size:.95em}.page-nav-list .nav-H3{margin-left:24px;font-size:.9em}.page-nav-list .nav-H4{margin-left:36px;font-size:.85em}.page-nav-list .nav-H5{margin-left:48px;font-size:.8em}.page-nav-list .nav-H6{margin-left:60px;font-size:.75em}.book-tree{padding:24px 0 0;position:relative;right:0;top:0;transition:ease-in-out 240ms;transition-property:right,border;border-left:0 solid #FFF;background-color:#FFF}.book-tree.fixed{position:fixed;top:0;padding-left:24px;padding-right:39px;width:30%;right:-15px;height:100%;overflow-y:scroll;-ms-overflow-style:none;border-left:1px solid #DDD}.book-tree.fixed::-webkit-scrollbar{width:0!important}.book-tree h4{padding:16px 12px 0}.book-tree h4 i{padding-right:12px}.book-tree .sidebar-page-list{list-style:none;margin:6px 0 0;padding-left:0;border-left:5px solid #009688}.book-tree .sidebar-page-list li a{display:block;border-bottom:none;padding:6px 0 6px 12px}.book-tree .sidebar-page-list li a i{padding-right:8px}.book-tree .sidebar-page-list a,.book-tree .sidebar-page-list li{display:block}.book-tree .sidebar-page-list a.bold{color:#EEE!important}.book-tree .sidebar-page-list ul{list-style:none;margin:0}.book-tree .sidebar-page-list .book{color:#009688!important}.book-tree .sidebar-page-list .book.selected{background-color:rgba(0,150,136,.29)}.book-tree .sidebar-page-list .chapter{color:#ef7c3c!important}.book-tree .sidebar-page-list .chapter.selected{background-color:rgba(239,124,60,.12)}.book-tree .sidebar-page-list .chapter-toggle{padding-left:12px}.book-tree .sidebar-page-list .list-item-chapter{border-left:5px solid #ef7c3c;margin:10px;display:block}.book-tree .sidebar-page-list .list-item-page{border-bottom:none;border-left:5px solid #0288D1;margin:10px}.book-tree .sidebar-page-list .page{color:#0288D1!important;border-bottom:none}.book-tree .sidebar-page-list .page.selected{background-color:rgba(2,136,209,.1)}.book-tree .sidebar-page-list .list-item-page.draft{border-left:5px solid #9A60DA}.book-tree .sidebar-page-list .list-item-page.draft a.page,.book-tree .sidebar-page-list .page.draft .page{color:#9A60DA!important}.book-tree .sidebar-page-list .sub-menu{display:none;padding-left:0}.book-tree .sidebar-page-list .sub-menu.open{display:block}.sortable-page-list,.sortable-page-list ul{list-style:none;background-color:#FFF}.sort-box{margin-bottom:16px;padding:0 24px;border-left:4px solid #009688}.sortable-page-list,.sortable-page-list>ul{margin-left:0}.sortable-page-list ul{margin-bottom:0;margin-top:0;box-shadow:0 0 1px 0 rgba(0,0,0,.1)}.sortable-page-list li{border:1px solid #DDD;padding:6px 12px;margin-top:-1px;min-height:38px}.sortable-page-list li.text-chapter{border-left:2px solid #ef7c3c}.sortable-page-list li.text-page{border-left:2px solid #0288D1}.sortable-page-list li:first-child{margin-top:6px}.sortable-page-list li.placeholder{position:relative}.sortable-page-list li.placeholder:before{position:absolute}.activity-list-item{padding:12px 0;color:#888;border-bottom:1px solid #EEE;font-size:.9em}.activity-list-item .left+.right{margin-left:42px}ul.pagination{display:inline-block;list-style:none;margin:16px 0;padding-left:1px}ul.pagination li:first-child a,ul.pagination li:first-child span{border-radius:3px 0 0 3px}ul.pagination li:last-child a,ul.pagination li:last-child span{border-radius:0 3px 3px 0}ul.pagination a,ul.pagination span{display:block;padding:3px 12px;border:1px solid #CCC;margin-left:-1px;color:#888;user-select:none}.compact ul.pagination,.entity-list h3{margin:0}ul.pagination a.disabled,ul.pagination span.disabled{cursor:not-allowed}ul.pagination li.active span{background-color:rgba(2,136,209,.8);color:#EEE;border-color:rgba(2,136,209,.8)}ul.pagination a{color:#0288D1}.entity-list>div{padding:16px 0}.entity-list p{margin:6px 0 0}.entity-list hr{margin:0}.entity-list .text-small.text-muted{color:#AAA;font-size:.75em;margin-top:6px}.entity-list .page.draft .text-page{color:#9A60DA}.entity-list.compact{font-size:.6em}.entity-list.compact a,.entity-list.compact h3{line-height:1.2}.entity-list.compact p{display:none;font-size:12px;padding-top:6px;margin:0}.entity-list.compact hr{margin:0}.dropdown-container{display:inline-block;position:relative}.dropdown-container ul{display:none;position:absolute;z-index:999;top:0;list-style:none;right:0;margin:16px 0;background-color:#FFF;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border-radius:1px;border:1px solid #EEE;min-width:180px;padding:6px 0;color:#555;text-align:left!important}.dropdown-container ul.wide{min-width:220px}.dropdown-container ul .text-muted{color:#999}.dropdown-container ul a{display:block;padding:6px 16px;color:#555}.dropdown-container ul a:hover{text-decoration:none;background-color:#EEE}.dropdown-container ul a i{margin-right:16px;padding-right:0;display:inline;width:22px}.dropdown-container ul li.border-bottom{border-bottom:1px solid #DDD}#page-show>.row .col-md-9{z-index:2}#page-show>.row .col-md-3{z-index:1}.page-editor{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}.page-editor .faded-small{height:auto}.page-editor .edit-area{-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column}.page-style.editor{padding:0!important}.page-content{max-width:840px;overflow-wrap:break-word}.page-content .align-left{text-align:left}.page-content img.align-left,.page-content table.align-left{float:left!important;margin:6px 12px 6px 0}.page-content .align-right{float:right!important}.page-content img.align-right,.page-content table.align-right{text-align:right;margin:6px 0 6px 12px}.page-content .align-center{text-align:center}.page-content img{max-width:100%;height:auto}.page-content .title-input input[type=text],.page-content h1,.page-content h2,.page-content h3,.page-content h4,.page-content h5,.page-content h6,.title-input .page-content input[type=text]{clear:left}.page-content hr{clear:both;margin:16px 0}.page-content table{word-break:break-all;word-break:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto}.pointer-container{position:relative;display:none;left:0;z-index:10}.pointer,.pointer:before{position:absolute;background-color:#FFF}.pointer{border:1px solid #CCC;display:inline-block;padding:12px;border-radius:4px;box-shadow:0 0 8px 1px rgba(212,209,209,.35);top:-60px;width:272px;z-index:55}.pointer:before{left:50%;bottom:-9px;width:16px;height:16px;margin-left:-8px;display:block;transform:rotate(45deg);transform-origin:50% 50%;border-bottom:1px solid #CCC;border-right:1px solid #CCC;z-index:56}.pointer input{background-color:#FFF;border:1px solid #DDD;color:#666;width:172px;z-index:40}.pointer button,.pointer input{position:relative;border-radius:0;height:28px;font-size:12px;vertical-align:top}.pointer>i{color:#888;font-size:18px;padding-top:4px}.pointer .button{line-height:1;margin:0 0 0 -4px;box-shadow:none}.floating-toolbox{background-color:#FFF;border:1px solid #DDD;right:64px;z-index:99;width:48px;overflow:hidden;-ms-flex-align:stretch;align-items:stretch;-ms-flex-direction:row;flex-direction:row;display:-ms-flexbox;display:flex;transition:width ease-in-out 180ms;margin-top:-1px;min-height:0}.floating-toolbox.open{width:480px}.floating-toolbox [toolbox-toggle] i{transition:transform ease-in-out 180ms}.floating-toolbox [toolbox-toggle]{transition:background-color ease-in-out 180ms}.floating-toolbox.open [toolbox-toggle]{background-color:rgba(255,0,0,.29)}.floating-toolbox.open [toolbox-toggle] i{transform:rotate(180deg)}.floating-toolbox>div{-ms-flex:1;flex:1;position:relative}.floating-toolbox .tabs{display:block;border-right:1px solid #DDD;width:54px;-ms-flex:0;flex:0}.floating-toolbox .tabs i{color:rgba(0,0,0,.5);padding:0;margin:0}.floating-toolbox .tabs>span{display:block;cursor:pointer;padding:12px 16px;font-size:13.5px;line-height:1.6;border-bottom:1px solid rgba(255,255,255,.3)}.floating-toolbox.open .tabs>span.active{color:#444;background-color:rgba(0,0,0,.1)}.floating-toolbox div[tab-content]{padding-bottom:45px;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;min-height:0;overflow-y:scroll}.floating-toolbox div[tab-content] .padded{-ms-flex:1;flex:1;padding-top:0}.floating-toolbox h4{font-size:24px;margin:16px 0 0;padding:0 24px 12px}.floating-toolbox .tags input{max-width:100%;width:100%;min-width:50px}.floating-toolbox .tags td{padding-right:12px;padding-top:12px;position:relative}.floating-toolbox button.pos{position:absolute;bottom:0;display:block;width:100%;padding:12px;height:45px;border:0;margin:0;box-shadow:none;border-radius:0}.floating-toolbox button.pos:hover{box-shadow:none}.floating-toolbox .handle{user-select:none;cursor:move;color:#999}.floating-toolbox form{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;overflow-y:scroll}[tab-content]{display:none}.tag-display{margin:32px 6px;border:1px solid #DDD;min-width:180px;max-width:320px;opacity:.7;z-index:5;position:relative}.tag-display table{width:100%;margin:0;padding:0}.tag-display span{color:#666;margin-left:12px}.tag-display .heading,.tag-display td{padding:6px 12px;color:#444}.tag-display td{border:0;border-bottom:1px solid #DDD}.tag-display .tag-value,.tag-display td i{color:#888}.tag-display tr:last-child td{border-bottom:none}.tag-display .tag{padding:12px}.suggestion-box{position:absolute;background-color:#FFF;border:1px solid #BBB;box-shadow:0 0 4px 1px #CCC;list-style:none;z-index:100;padding:0;margin:0;border-radius:3px}.avatar,.notification,.suggestion-box li.active{background-color:#EEE}.suggestion-box li{display:block;padding:6px 12px;border-bottom:1px solid #DDD}.suggestion-box li:last-child{border-bottom:0}[v-cloak],[v-show]{display:none}.ng-cloak,[ng-cloak],[ng\:cloak]{display:none!important;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}[ng-click]{cursor:pointer}.dragged{position:absolute;opacity:.5;z-index:2000}body.dragging,body.dragging *{cursor:move!important}.avatar{border-radius:100%;width:30px;height:30px}.avatar.square,.notification{border-radius:3px}.avatar.med{width:40px;height:40px}.avatar.large{width:80px;height:80px}.avatar.huge{width:120px;height:120px}.notification{position:fixed;top:0;right:0;margin:64px 32px;padding:24px 32px;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);z-index:999999;display:table;cursor:pointer;max-width:480px}.notification i,.notification span{display:table-cell}.notification i{font-size:2em;padding-right:24px}.notification span{vertical-align:middle}.notification.pos{background-color:#52A256;color:#EEE}.notification.neg{background-color:#E84F4F;color:#EEE}.notification.warning{background-color:#e27b41;color:#EEE}.loading-container{position:relative;display:block;height:10px;margin:32px auto}.loading-container>div{width:10px;height:10px;border-radius:10px;display:inline-block;vertical-align:top;transform:translate3d(0,0,0);animation-name:loadingBob;animation-duration:1.4s;animation-iteration-count:infinite;animation-timing-function:cubic-bezier(.62,.28,.23,.99);margin-right:4px;background-color:#0288D1;animation-delay:.3s}.loading-container>div:first-child{left:-16px;background-color:#009688;animation-delay:0s}.loading-container>div:last-child{left:16px;background-color:#ef7c3c;animation-delay:.6s}.search-results>h3 a{font-size:.66em;color:#0288D1;padding-left:16px}.search-results>h3 a i{padding-right:12px}#back-to-top{background-color:#0288D1;position:fixed;bottom:16px;right:24px;padding:6px 12px;cursor:pointer;color:#FFF;width:40px;height:40px;border-radius:40px;transition:all ease-in-out 180ms;opacity:0;z-index:999;overflow:hidden}#back-to-top:hover{width:136px;opacity:1!important}#back-to-top:hover span{display:inline-block}#back-to-top .inner{width:136px}#back-to-top i{margin:0;font-size:28px;padding:0 12px 0 0}#back-to-top span{line-height:12px;position:relative;top:-5px}.contained-search-box{display:-ms-flexbox;display:flex}.contained-search-box button,.contained-search-box input{border-radius:0;border:1px solid #DDD;margin-left:-1px}.contained-search-box input{-ms-flex:5;flex:5}.contained-search-box input:active,.contained-search-box input:focus{outline:0}.contained-search-box button{width:60px}.contained-search-box button i{padding:0}.contained-search-box button.cancel.active{background-color:#E84F4F;color:#EEE} \ No newline at end of file diff --git a/public/js/common.js b/public/js/common.js index dee3fc080a7..0e8bcd839d4 100644 --- a/public/js/common.js +++ b/public/js/common.js @@ -1,11 +1,12 @@ -!function e(t,n,r){function i(a,s){if(!n[a]){if(!t[a]){var u="function"==typeof require&&require;if(!s&&u)return u(a,!0);if(o)return o(a,!0);var l=new Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}var c=n[a]={exports:{}};t[a][0].call(c.exports,function(e){var n=t[a][1][e];return i(n?n:e)},c,c.exports,e,t,n,r)}return n[a].exports}for(var o="function"==typeof require&&require,a=0;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:"A",template:o,scope:!0,link:function(e,t,n){e.name=n.name,e.value=n.value,e.isActive=1==e.value&&"false"!=e.value,e.value=1==e.value&&"false"!=e.value?"true":"false",e["switch"]=function(){e.isActive=!e.isActive,e.value=e.isActive?"true":"false"}}}}),e.directive("imagePicker",["$http","imageManagerService",function(e,t){return{restrict:"E",template:a,scope:{name:"@",resizeHeight:"@",resizeWidth:"@",resizeCrop:"@",showRemove:"=",currentImage:"@",currentId:"@",defaultImage:"@",imageClass:"@"},link:function(n,r,i){function o(e,t){n.image=t,n.value=a?e.id:t}var a="undefined"!=typeof n.currentId||"false"===n.currentId;n.image=n.currentImage,n.value=n.currentImage||"",a&&(n.value=n.currentId),n.reset=function(){o({id:0},n.defaultImage)},n.remove=function(){n.image="none",n.value="none"},n.showImageManager=function(){t.show(function(e){n.updateImageFromModel(e)})},n.updateImageFromModel=function(t){var r=n.resizeWidth&&n.resizeHeight;if(!r)return void n.$apply(function(){o(t,t.url)});var i=n.resizeCrop?"true":"false",a="/images/thumb/"+t.id+"/"+n.resizeWidth+"/"+n.resizeHeight+"/"+i;e.get(a).then(function(e){o(t,e.data.url)})}}}}]),e.directive("dropZone",[function(){return{restrict:"E",template:s,scope:{uploadUrl:"@",eventSuccess:"=",eventError:"=",uploadedTo:"@"},link:function(e,t,n){new r(t[0].querySelector(".dropzone-container"),{url:e.uploadUrl,init:function(){var t=this;t.on("sending",function(t,n,r){var i=window.document.querySelector("meta[name=token]").getAttribute("content");r.append("_token",i);var o="undefined"==typeof e.uploadedTo?0:e.uploadedTo;r.append("uploaded_to",o)}),"undefined"!=typeof e.eventSuccess&&t.on("success",e.eventSuccess),t.on("success",function(e,n){$(e.previewElement).fadeOut(400,function(){t.removeFile(e)})}),"undefined"!=typeof e.eventError&&t.on("error",e.eventError),t.on("error",function(e,t,n){function r(t){$(e.previewElement).find("[data-dz-errormessage]").text(t)}console.log(t),console.log(n),413===n.status&&r("The server does not allow uploads of this size. Please try a smaller file."),t.file&&r(t.file[0])})}})}}}]),e.directive("dropdown",[function(){return{restrict:"A",link:function(e,t,n){var r=t.find("ul");t.find("[dropdown-toggle]").on("click",function(){r.show().addClass("anim menuIn"),t.mouseleave(function(){r.hide(),r.removeClass("anim menuIn")})})}}}]),e.directive("tinymce",["$timeout",function(e){return{restrict:"A",scope:{tinymce:"=",mceModel:"=",mceChange:"="},link:function(t,n,r){function i(n){n.on("ExecCommand change NodeChange ObjectResized",function(r){var i=n.getContent();e(function(){t.mceModel=i}),t.mceChange(i)}),n.on("init",function(e){t.mceModel=n.getContent()}),t.$on("html-update",function(e,r){n.setContent(r),n.selection.select(n.getBody(),!0),n.selection.collapse(!1),t.mceModel=n.getContent()})}t.tinymce.extraSetups.push(i),tinymce.PluginManager.add("customhr",function(e){e.addCommand("InsertHorizontalRule",function(){var t=document.createElement("hr"),n=e.selection.getNode(),r=n.parentNode;r.insertBefore(t,n)}),e.addButton("hr",{icon:"hr",tooltip:"Horizontal line",cmd:"InsertHorizontalRule"}),e.addMenuItem("hr",{icon:"hr",text:"Horizontal line",cmd:"InsertHorizontalRule",context:"insert"})}),tinymce.init(t.tinymce)}}}]),e.directive("markdownInput",["$timeout",function(e){return{restrict:"A",scope:{mdModel:"=",mdChange:"="},link:function(t,n,r){var o=n.val();t.mdModel=o,t.mdChange(i(o)),n.on("change input",function(r){o=n.val(),e(function(){t.mdModel=o,t.mdChange(i(o))})}),t.$on("markdown-update",function(e,r){n.val(r),t.mdModel=r,t.mdChange(i(r))})}}}]),e.directive("markdownEditor",["$timeout",function(e){return{restrict:"A",link:function(e,t,n){var r=t.find("textarea[markdown-input]"),i=t.find('button[data-action="insertImage"]'),o=0;r.blur(function(e){o=r[0].selectionStart}),r.keydown(function(e){if(73===e.which&&e.ctrlKey&&e.shiftKey){e.preventDefault();var t=r[0].selectionStart,n=r.val(),i="![](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 +!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 a(e,t){var n=e.indexOf(t);t>=0&&e.splice(n,1)}function s(e){if(e instanceof U)switch(e.length){case 0:return[];case 1:if(e[0].nodeType===Z)return e;break;default:return U(u(e))}return e.nodeType===Z?U(e):void 0}function u(e){if(!e[0])return e;for(var t=0;t=0)&&(n=D(n)),0===n&&(n=null),r[t]=n}}),r}function D(e){var t=0,n=e.split(/\s*,\s*/);return V(n,function(e){"s"==e.charAt(e.length-1)&&(e=e.substring(0,e.length-1)),e=parseFloat(e)||0,t=t?Math.max(e,t):e}),t}function M(e){return 0===e||null!=e}function T(e,t){var n=F,r=e+"s";return t?n+=ie:r+=" linear all",[n,r]}function A(){var e=Object.create(null);return{flush:function(){e=Object.create(null)},count:function(t){var n=e[t];return n?n.total:0},get:function(t){var n=e[t];return n&&n.value},put:function(t,n){e[t]?e[t].total++:e[t]={total:1,value:n}}}}function O(e,t,n){V(n,function(n){e[n]=W(e[n])?e[n]:t.style.getPropertyValue(n)})}var F,N,I,P,j=t.noop,L=t.copy,R=t.extend,U=t.element,V=t.forEach,z=t.isArray,H=t.isString,q=t.isObject,Y=t.isUndefined,W=t.isDefined,B=t.isFunction,G=t.isElement,Z=1,Q="-add",J="-remove",X="ng-",K="-active",ee="-prepare",te="ng-animate",ne="$$ngAnimateChildren",re="";Y(e.ontransitionend)&&W(e.onwebkittransitionend)?(re="-webkit-",F="WebkitTransition",N="webkitTransitionEnd transitionend"):(F="transition",N="transitionend"),Y(e.onanimationend)&&W(e.onwebkitanimationend)?(re="-webkit-",I="WebkitAnimation",P="webkitAnimationEnd animationend"):(I="animation",P="animationend");var ie="Duration",oe="Property",ae="Delay",se="TimingFunction",ue="IterationCount",le="PlayState",ce=9999,fe=I+ae,de=I+ie,he=F+ae,pe=F+ie,me=t.$$minErr("ng"),ge=["$$rAF",function(e){function t(e){r=r.concat(e),n()}function n(){if(r.length){for(var t=r.shift(),o=0;o0&&(l=n.get(s),!l)){var c=o(a,"-stagger");r.addClass(i,c),l=E(e,i,u),l.animationDuration=Math.max(l.animationDuration,0),l.transitionDuration=Math.max(l.transitionDuration,0),r.removeClass(i,c),n.put(s,l)}return l||{}}function D(e){H.push(e),g.waitUntilQuiet(function(){t.flush(),n.flush();for(var e=l(),r=0;r=re&&r>=ie&&(Z=!0,g())}function H(){function t(){if(!B){if(b(!1),V(le,function(e){var t=e[0],n=e[1];W.style[t]=n}),R(e,q),r.addClass(e,Se),Re.recalculateTimingStyles){if(Ce=W.className+" "+xe,De=y(W,Ce),je=A(W,Ce,De),Le=je.maxDelay,ne=Math.max(Le,0),ie=je.maxDuration,0===ie)return void g();Re.hasTransitions=je.transitionDuration>0,Re.hasAnimations=je.animationDuration>0}if(Re.applyAnimationDelay&&(Le="boolean"!=typeof q.delay&&M(q.delay)?parseFloat(q.delay):Le,ne=Math.max(Le,0),je.animationDelay=Le,Ue=_(Le,!0),le.push(Ue),W.style[Ue[0]]=Ue[1]),re=ne*ye,ae=ie*ye,q.easing){var t,i=q.easing;Re.hasTransitions&&(t=F+se,le.push([t,i]),W.style[t]=i),Re.hasAnimations&&(t=I+se,le.push([t,i]),W.style[t]=i)}je.transitionDuration&&he.push(N),je.animationDuration&&he.push(P),ue=Date.now();var o=re+we*ae,a=ue+o,s=e.data($e)||[],l=!0;if(s.length){var c=s[0];l=a>c.expectedEndTime,l?u.cancel(c.timer):s.push(g)}if(l){var f=u(n,o,!1);s[0]={timer:f,expectedEndTime:a},s.push(g),e.data($e,s)}he.length&&e.on(he.join(" "),U),q.to&&(q.cleanupStyles&&O(Y,W,Object.keys(q.to)),m(e,q))}}function n(){var t=e.data($e);if(t){for(var n=1;n0&&(je.transitionDuration&&0===Me.transitionDuration||je.animationDuration&&0===Me.animationDuration)&&Math.max(Me.animationDelay,Me.transitionDelay);o?u(t,Math.floor(o*Ie*ye),!1):t(),te.resume=function(){i(!0)},te.pause=function(){i(!1)}}}var q=n||{};q.$$prepared||(q=d(L(q)));var Y={},W=$(e);if(!W||!W.parentNode||!v.enabled())return E();var B,G,Z,ee,te,ne,re,ie,ae,ue,le=[],fe=e.attr("class"),de=i(q),he=[];if(0===q.duration||!c.animations&&!c.transitions)return E();var pe=q.event&&z(q.event)?q.event.join(" "):q.event,me=pe&&q.structural,ge="",ve="";me?ge=o(pe,X,!0):pe&&(ge=pe),q.addClass&&(ve+=o(q.addClass,Q)),q.removeClass&&(ve.length&&(ve+=" "),ve+=o(q.removeClass,J)),q.applyClassesEarly&&ve.length&&R(e,q);var xe=[ge,ve].join(" ").trim(),Ce=fe+" "+xe,Se=o(xe,K),_e=de.to&&Object.keys(de.to).length>0,Ee=(q.keyframeStyle||"").length>0;if(!Ee&&!_e&&!xe)return E();var De,Me;if(q.stagger>0){var Te=parseFloat(q.stagger);Me={transitionDelay:Te,animationDelay:Te,transitionDuration:0,animationDuration:0}}else De=y(W,Ce),Me=C(W,xe,De,ke);q.$$skipPreparationClasses||r.addClass(e,xe);var Ae;if(q.transitionStyle){var Oe=[F,q.transitionStyle];k(W,Oe),le.push(Oe)}if(q.duration>=0){Ae=W.style[F].length>0;var Fe=T(q.duration,Ae);k(W,Fe),le.push(Fe)}if(q.keyframeStyle){var Ne=[I,q.keyframeStyle];k(W,Ne),le.push(Ne)}var Ie=Me?q.staggerIndex>=0?q.staggerIndex:t.count(De):0,Pe=0===Ie;Pe&&!q.skipBlocking&&w(W,ce);var je=A(W,Ce,De),Le=je.maxDelay;ne=Math.max(Le,0),ie=je.maxDuration;var Re={};if(Re.hasTransitions=je.transitionDuration>0,Re.hasAnimations=je.animationDuration>0,Re.hasTransitionAll=Re.hasTransitions&&"all"==je.transitionProperty,Re.applyTransitionDuration=_e&&(Re.hasTransitions&&!Re.hasTransitionAll||Re.hasAnimations&&!Re.hasTransitions),Re.applyAnimationDuration=q.duration&&Re.hasAnimations,Re.applyTransitionDelay=M(q.delay)&&(Re.applyTransitionDuration||Re.hasTransitions),Re.applyAnimationDelay=M(q.delay)&&Re.hasAnimations,Re.recalculateTimingStyles=ve.length>0,(Re.applyTransitionDuration||Re.applyAnimationDuration)&&(ie=q.duration?parseFloat(q.duration):ie,Re.applyTransitionDuration&&(Re.hasTransitions=!0,je.transitionDuration=ie,Ae=W.style[F+oe].length>0,le.push(T(ie,Ae))),Re.applyAnimationDuration&&(Re.hasAnimations=!0,je.animationDuration=ie,le.push(S(ie)))),0===ie&&!Re.recalculateTimingStyles)return E();if(null!=q.delay){var Ue;"boolean"!=typeof q.delay&&(Ue=parseFloat(q.delay),ne=Math.max(Ue,0)),Re.applyTransitionDelay&&le.push(_(Ue)),Re.applyAnimationDelay&&le.push(_(Ue,!0))}return null==q.duration&&je.transitionDuration>0&&(Re.recalculateTimingStyles=Re.recalculateTimingStyles||Pe),re=ne*ye,ae=ie*ye,q.skipBlocking||(Re.blockTransition=je.transitionDuration>0,Re.blockKeyframeAnimation=je.animationDuration>0&&Me.animationDelay>0&&0===Me.animationDuration),q.from&&(q.cleanupStyles&&O(Y,W,Object.keys(q.from)),p(e,q)),Re.blockTransition||Re.blockKeyframeAnimation?b(ie):q.skipBlocking||w(W,!1),{$$willAnimate:!0,end:l,start:function(){return B?void 0:(te={end:l,cancel:f,resume:null,pause:null},ee=new s(te),D(H),ee)}}}}]}],Se=["$$animationProvider",function(e){function t(e){return e.parentNode&&11===e.parentNode.nodeType}e.drivers.push("$$animateCssDriver");var n="ng-animate-shim",r="ng-anchor",i="ng-anchor-out",o="ng-anchor-in";this.$get=["$animateCss","$rootScope","$$AnimateRunner","$rootElement","$sniffer","$$jqLite","$document",function(e,a,s,u,l,c,d){function h(e){return e.replace(/\bng-\S+\b/g,"")}function p(e,t){return H(e)&&(e=e.split(" ")),H(t)&&(t=t.split(" ")),e.filter(function(e){return-1===t.indexOf(e)}).join(" ")}function m(t,a,u){function l(e){var t={},n=$(e).getBoundingClientRect();return V(["width","height","top","left"],function(e){var r=n[e];switch(e){case"top":r+=y.scrollTop;break;case"left":r+=y.scrollLeft}t[e]=Math.floor(r)+"px"}),t}function c(){var t=e(g,{addClass:i,delay:!0,from:l(a)});return t.$$willAnimate?t:null}function f(e){return e.attr("class")||""}function d(){var t=h(f(u)),n=p(t,v),r=p(v,t),a=e(g,{to:l(u),addClass:o+" "+n,removeClass:i+" "+r,delay:!0});return a.$$willAnimate?a:null}function m(){g.remove(),a.removeClass(n),u.removeClass(n)}var g=U($(a).cloneNode(!0)),v=h(f(g));a.addClass(n),u.addClass(n),g.addClass(r),w.append(g);var b,x=c();if(!x&&(b=d(),!b))return m();var k=x||b;return{start:function(){function e(){n&&n.end()}var t,n=k.start();return n.done(function(){return n=null,!b&&(b=d())?(n=b.start(),n.done(function(){n=null,m(),t.complete()}),n):(m(),void t.complete())}),t=new s({end:e,cancel:e})}}}function g(e,t,n,r){var i=v(e,j),o=v(t,j),a=[];return V(r,function(e){var t=e.out,r=e["in"],i=m(n,t,r);i&&a.push(i)}),i||o||0!==a.length?{start:function(){function e(){V(t,function(e){e.end()})}var t=[];i&&t.push(i.start()),o&&t.push(o.start()),V(a,function(e){t.push(e.start())});var n=new s({end:e,cancel:e});return s.all(t,function(e){n.complete(e)}),n}}:void 0}function v(t){var n=t.element,r=t.options||{};t.structural&&(r.event=t.event,r.structural=!0,r.applyClassesEarly=!0,"leave"===t.event&&(r.onDone=r.domOperation)),r.preparationClasses&&(r.event=C(r.event,r.preparationClasses));var i=e(n,r);return i.$$willAnimate?i:null}if(!l.animations&&!l.transitions)return j;var y=d[0].body,b=$(u),w=U(t(b)||y.contains(b)?b:y);f(c);return function(e){return e.from&&e.to?g(e.from,e.to,e.classes,e.anchors):v(e)}}]}],_e=["$animateProvider",function(e){this.$get=["$injector","$$AnimateRunner","$$jqLite",function(t,n,r){function i(n){n=z(n)?n:n.split(" ");for(var r=[],i={},o=0;o0,r=(e.removeClass||"").length>0;return t?n&&r:n||r}var c=1,p=2,m=" ",v=this.rules={skip:[],cancel:[],join:[]};v.join.push(function(e,t,n){return!t.structural&&l(t)}),v.skip.push(function(e,t,n){return!t.structural&&!l(t)}),v.skip.push(function(e,t,n){return"leave"==n.event&&t.structural}),v.skip.push(function(e,t,n){return n.structural&&n.state===p&&!t.structural}),v.cancel.push(function(e,t,n){return n.structural&&t.structural}),v.cancel.push(function(e,t,n){return n.state===p&&t.structural}),v.cancel.push(function(e,t,n){if(n.structural)return!1;var r=t.addClass,i=t.removeClass,a=n.addClass,s=n.removeClass;return Y(r)&&Y(i)||Y(a)&&Y(s)?!1:o(r,s)||o(i,a)}),this.$get=["$$rAF","$rootScope","$rootElement","$document","$$HashMap","$$animation","$$AnimateRunner","$templateRequest","$$jqLite","$$forceReflow",function(i,o,m,v,w,x,k,C,S,_){function E(){var e=!1;return function(t){e?t():o.$$postDigest(function(){e=!0,t()})}}function D(e,t){return g(e,t,{})}function M(e,t,n){var r=$(t),i=$(e),o=[],a=K[n];return a&&V(a,function(e){ie.call(e.node,r)?o.push(e.callback):"leave"===n&&ie.call(e.node,i)&&o.push(e.callback)}),o}function T(e,t,n){var r=u(t);return e.filter(function(e){var t=e.node===r&&(!n||e.callback===n);return!t})}function A(e,t){"close"!==e||t[0].parentNode||oe.off(t)}function O(e,t,n){function r(t,n,r,o){S(function(){var t=M(m,e,n);t.length?i(function(){V(t,function(t){t(e,r,o)}),A(r,e)}):A(r,e)}),t.progress(n,r,o)}function u(t){b(e,w),re(e,w),h(e,w),w.domOperation(),C.complete(!t)}var f,m,w=L(n);e=s(e),e&&(f=$(e),m=e.parent()),w=d(w);var C=new k,S=E();if(z(w.addClass)&&(w.addClass=w.addClass.join(" ")),w.addClass&&!H(w.addClass)&&(w.addClass=null),z(w.removeClass)&&(w.removeClass=w.removeClass.join(" ")),w.removeClass&&!H(w.removeClass)&&(w.removeClass=null),w.from&&!q(w.from)&&(w.from=null),w.to&&!q(w.to)&&(w.to=null),!f)return u(),C;var _=[f.className,w.addClass,w.removeClass].join(" ");if(!te(_))return u(),C;var T=["enter","move","leave"].indexOf(t)>=0,O=v[0].hidden,I=!J||O||Q.get(f),R=!I&&B.get(f)||{},U=!!R.state;if(I||U&&R.state==c||(I=!P(e,m,t)),I)return O&&r(C,t,"start"),u(),O&&r(C,t,"close"),C;T&&F(e);var Y={structural:T,element:e,event:t,addClass:w.addClass,removeClass:w.removeClass,close:u,options:w,runner:C};if(U){var W=a("skip",e,Y,R);if(W)return R.state===p?(u(),C):(g(e,R,Y),R.runner);var G=a("cancel",e,Y,R);if(G)if(R.state===p)R.runner.end();else{if(!R.structural)return g(e,R,Y),R.runner;R.close()}else{var Z=a("join",e,Y,R);if(Z){if(R.state!==p)return y(e,T?t:null,w),t=Y.event=R.event,w=g(e,R,Y),R.runner;D(e,Y)}}}else D(e,Y);var X=Y.structural;if(X||(X="animate"===Y.event&&Object.keys(Y.options.to||{}).length>0||l(Y)),!X)return u(),N(e),C;var K=(R.counter||0)+1;return Y.counter=K,j(e,c,Y),o.$$postDigest(function(){var n=B.get(f),i=!n;n=n||{};var o=e.parent()||[],a=o.length>0&&("animate"===n.event||n.structural||l(n));if(i||n.counter!==K||!a)return i&&(re(e,w),h(e,w)),(i||T&&n.event!==t)&&(w.domOperation(),C.end()),void(a||N(e));t=!n.structural&&l(n,!0)?"setClass":n.event,j(e,p);var s=x(e,t,n.options);C.setHost(s),r(C,t,"start",{}),s.done(function(n){u(!n);var i=B.get(f);i&&i.counter===K&&N($(e)),r(C,t,"close",{})})}),C}function F(e){var t=$(e),n=t.querySelectorAll("["+De+"]");V(n,function(e){var t=parseInt(e.getAttribute(De)),n=B.get(e);if(n)switch(t){case p:n.runner.end();case c:B.remove(e)}})}function N(e){var t=$(e);t.removeAttribute(De),B.remove(t)}function I(e,t){return $(e)===$(t)}function P(e,t,n){var r,i=U(v[0].body),o=I(e,i)||"HTML"===e[0].nodeName,a=I(e,m),s=!1,u=Q.get($(e)),l=U.data(e[0],Me);for(l&&(t=l),t=$(t);t&&(a||(a=I(t,m)),t.nodeType===Z);){var c=B.get(t)||{};if(!s){var f=Q.get(t);if(f===!0&&u!==!1){u=!0;break}f===!1&&(u=!1),s=c.structural}if(Y(r)||r===!0){var d=U.data(t,ne);W(d)&&(r=d)}if(s&&r===!1)break;if(o||(o=I(t,i)),o&&a)break;t=a||!(l=U.data(t,Me))?t.parentNode:$(l)}var h=(!s||r)&&u!==!0;return h&&a&&o}function j(e,t,n){n=n||{},n.state=t;var r=$(e);r.setAttribute(De,t);var i=B.get(r),o=i?R(i,n):n;B.put(r,o)}var B=new w,Q=new w,J=null,X=o.$watch(function(){return 0===C.totalPendingRequests},function(e){e&&(X(),o.$$postDigest(function(){o.$$postDigest(function(){null===J&&(J=!0)})}))}),K={},ee=r.classNameFilter(),te=ee?function(e){return ee.test(e)}:function(){return!0},re=f(S),ie=e.Node.prototype.contains||function(e){return this===e||!!(16&this.compareDocumentPosition(e))},oe={on:function(e,t,n){var r=u(t);K[e]=K[e]||[],K[e].push({node:r,callback:n}),U(t).on("$destroy",function(){var i=B.get(r);i||oe.off(e,t,n)})},off:function(e,n,r){if(1!==arguments.length||t.isString(arguments[0])){var i=K[e];i&&(K[e]=1===arguments.length?null:T(i,n,r))}else{n=arguments[0];for(var o in K)K[o]=T(K[o],n)}},pin:function(e,t){n(G(e),"element","not an element"),n(G(t),"parentElement","not an element"),e.data(Me,t)},push:function(e,t,n,r){return n=n||{},n.domOperation=r,O(e,t,n)},enabled:function(e,t){var n=arguments.length;if(0===n)t=!!J;else{var r=G(e);if(r){var i=$(e),o=Q.get(i);1===n?t=!o:Q.put(i,!t)}else t=J=!!e}return t}};return oe}]}],Ae=["$animateProvider",function(e){function t(e,t){e.data(s,t)}function n(e){e.removeData(s)}function i(e){return e.data(s)}var o="ng-animate-ref",a=this.drivers=[],s="$$animationRunner";this.$get=["$$jqLite","$rootScope","$injector","$$AnimateRunner","$$HashMap","$$rAFScheduler",function(e,s,u,l,c,p){function m(e){function t(e){if(e.processed)return e;e.processed=!0;var n=e.domNode,r=n.parentNode;o.put(n,e);for(var a;r;){if(a=o.get(r)){a.processed||(a=t(a));break}r=r.parentNode}return(a||i).children.push(e),e}function n(e){var t,n=[],r=[];for(t=0;t=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";V(l,function(e){var t=e.getAttribute(o);n[t]=n[t]||{},n[t][c]={animationID:r,element:U(e)}})}else t.push(e)});var r={},i={};return V(n,function(n,o){var a=n.from,s=n.to;if(!a||!s){var u=a?a.animationID:s.animationID,l=u.toString();return void(r[l]||(r[l]=!0,t.push(e[u])))}var c=e[a.animationID],f=e[s.animationID],d=a.animationID.toString();if(!i[d]){var h=i[d]={structural:!0,beforeStart:function(){c.beforeStart(),f.beforeStart()},close:function(){c.close(),f.close()},classes:x(c.classes,f.classes),from:c,to:f,anchors:[]};h.classes.length?t.push(h):(t.push(c),t.push(f))}i[d].anchors.push({out:a.element,"in":s.element})}),t}function x(e,t){e=e.split(" "),t=t.split(" ");for(var n=[],r=0;r=0;t--){var n=a[t];if(u.has(n)){var r=u.get(n),i=r(e);if(i)return i}}}function C(){c.addClass(te),A&&e.addClass(c,A),O&&(e.removeClass(c,O),O=null)}function S(e,t){function n(e){i(e).setHost(t)}e.from&&e.to?(n(e.from.element),n(e.to.element)):n(e.element)}function _(){var e=i(c);!e||"leave"===f&&y.$$domOperationFired||e.end()}function E(t){c.off("$destroy",_),n(c),v(c,y),h(c,y),y.domOperation(),A&&e.removeClass(c,A),c.removeClass(te),M.complete(!t)}y=d(y);var D=["enter","move","leave"].indexOf(f)>=0,M=new l({end:function(){E()},cancel:function(){E(!0)}});if(!a.length)return E(),M;t(c,M);var T=r(c.attr("class"),r(y.addClass,y.removeClass)),A=y.tempClasses;A&&(T+=" "+A,y.tempClasses=null);var O;return D&&(O="ng-"+f+ee,e.addClass(c,O)),g.push({element:c,classes:T,event:f,structural:D,options:y,beforeStart:C,close:E}),c.on("$destroy",_),g.length>1?M:(s.$$postDigest(function(){var e=[];V(g,function(t){i(t.element)?e.push(t):t.close()}),g.length=0;var t=w(e),n=[];V(t,function(e){n.push({domNode:$(e.from?e.from.element:e.element),fn:function(){e.beforeStart();var t,n=e.close,r=e.anchors?e.from.element||e.to.element:e.element;if(i(r)){var o=k(e);o&&(t=o.start)}if(t){var a=t();a.done(function(e){n(!e)}),S(e,a)}else n()}})}),p(m(n))}),M)}}]}],Oe=["$animate","$rootScope",function(e,t){return{restrict:"A",transclude:"element",terminal:!0,priority:600,link:function(t,n,r,i,o){var a,s;t.$watchCollection(r.ngAnimateSwap||r["for"],function(r){a&&e.leave(a),s&&(s.$destroy(),s=null),(r||0===r)&&(s=t.$new(),o(s,function(t){a=t,e.enter(t,null,n)}))})}}}];t.module("ngAnimate",[]).directive("ngAnimateSwap",Oe).directive("ngAnimateChildren",ve).factory("$$rAFScheduler",ge).provider("$$animateQueue",Te).provider("$$animation",Ae).provider("$animateCss",Ce).provider("$$animateCssDriver",Se).provider("$$animateJs",_e).provider("$$animateJsDriver",Ee)}(window,window.angular)},{}],2:[function(e,t,n){e("./angular-animate"),t.exports="ngAnimate"},{"./angular-animate":1}],3:[function(e,t,n){!function(e,t){"use strict";function n(e){return null!=e&&""!==e&&"hasOwnProperty"!==e&&a.test("."+e)}function r(e,r){if(!n(r))throw o("badmember",'Dotted member path "@{0}" is invalid.',r);for(var i=r.split("."),a=0,s=i.length;s>a&&t.isDefined(e);a++){var u=i[a];e=null!==e?e[u]:void 0}return e}function i(e,n){n=n||{},t.forEach(n,function(e,t){delete n[t]});for(var r in e)!e.hasOwnProperty(r)||"$"===r.charAt(0)&&"$"===r.charAt(1)||(n[r]=e[r]);return n}var o=t.$$minErr("$resource"),a=/^(\.[a-zA-Z_$@][0-9a-zA-Z_$@]*)+$/;t.module("ngResource",["ng"]).provider("$resource",function(){var e=/^https?:\/\/[^\/]*/,n=this;this.defaults={stripTrailingSlashes:!0,actions:{get:{method:"GET"},save:{method:"POST"},query:{method:"GET",isArray:!0},remove:{method:"DELETE"},"delete":{method:"DELETE"}}},this.$get=["$http","$log","$q","$timeout",function(a,s,u,l){function c(e){return f(e,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function f(e,t){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,t?"%20":"+")}function d(e,t){this.template=e,this.defaults=g({},n.defaults,t),this.urlParams={}}function h(e,c,f,y){function b(e,t){var n={};return t=g({},c,t),m(t,function(t,i){$(t)&&(t=t()),n[i]=t&&t.charAt&&"@"==t.charAt(0)?r(e,t.substr(1)):t}),n}function w(e){return e.resource}function x(e){i(e||{},this)}var k=new d(e,y);return f=g({},n.defaults.actions,f),x.prototype.toJSON=function(){var e=g({},this);return delete e.$promise,delete e.$resolved,e},m(f,function(e,r){var c=/^(POST|PUT|PATCH)$/i.test(e.method),f=e.timeout,d=t.isDefined(e.cancellable)?e.cancellable:y&&t.isDefined(y.cancellable)?y.cancellable:n.defaults.cancellable;f&&!t.isNumber(f)&&(s.debug("ngResource:\n Only numeric values are allowed as `timeout`.\n Promises are not supported in $resource, because the same value would be used for multiple requests. If you are looking for a way to cancel requests, you should use the `cancellable` option."),delete e.timeout,f=null),x[r]=function(n,s,h,y){var C,S,_,E={};switch(arguments.length){case 4:_=y,S=h;case 3:case 2:if(!$(s)){E=n,C=s,S=h;break}if($(n)){S=n,_=s;break}S=s,_=h;case 1:$(n)?S=n:c?C=n:E=n;break;case 0:break;default:throw o("badargs","Expected up to 4 arguments [params, data, success, error], got {0} arguments",arguments.length)}var D,M,T=this instanceof x,A=T?C:e.isArray?[]:new x(C),O={},F=e.interceptor&&e.interceptor.response||w,N=e.interceptor&&e.interceptor.responseError||void 0;m(e,function(e,t){switch(t){default:O[t]=v(e);break;case"params":case"isArray":case"interceptor":case"cancellable":}}),!T&&d&&(D=u.defer(),O.timeout=D.promise,f&&(M=l(D.resolve,f))),c&&(O.data=C),k.setUrlParams(O,g({},b(C,e.params||{}),E),e.url);var I=a(O).then(function(n){var a=n.data;if(a){if(t.isArray(a)!==!!e.isArray)throw o("badcfg","Error in resource configuration for action `{0}`. Expected response to contain an {1} but got an {2} (Request: {3} {4})",r,e.isArray?"array":"object",t.isArray(a)?"array":"object",O.method,O.url);if(e.isArray)A.length=0,m(a,function(e){"object"==typeof e?A.push(new x(e)):A.push(e)});else{var s=A.$promise;i(a,A),A.$promise=s}}return n.resource=A,n},function(e){return(_||p)(e),u.reject(e)});return I["finally"](function(){A.$resolved=!0,!T&&d&&(A.$cancelRequest=t.noop,l.cancel(M),D=M=O.timeout=null)}),I=I.then(function(e){var t=F(e);return(S||p)(t,e.headers),t},N),T?I:(A.$promise=I,A.$resolved=!1,d&&(A.$cancelRequest=D.resolve),A)},x.prototype["$"+r]=function(e,t,n){$(e)&&(n=t,t=e,e={});var i=x[r].call(this,e,this,t,n);return i.$promise||i}}),x.bind=function(t){return h(e,g({},c,t),f)},x}var p=t.noop,m=t.forEach,g=t.extend,v=t.copy,$=t.isFunction;return d.prototype={setUrlParams:function(n,r,i){var a,s,u=this,l=i||u.template,d="",h=u.urlParams={};m(l.split(/\W/),function(e){if("hasOwnProperty"===e)throw o("badname","hasOwnProperty is not a valid parameter name.");!new RegExp("^\\d+$").test(e)&&e&&new RegExp("(^|[^\\\\]):"+e+"(\\W|$)").test(l)&&(h[e]={isQueryParamValue:new RegExp("\\?.*=:"+e+"(?:\\W|$)").test(l)})}),l=l.replace(/\\:/g,":"),l=l.replace(e,function(e){return d=e,""}),r=r||{},m(u.urlParams,function(e,n){a=r.hasOwnProperty(n)?r[n]:u.defaults[n],t.isDefined(a)&&null!==a?(s=e.isQueryParamValue?f(a,!0):c(a),l=l.replace(new RegExp(":"+n+"(\\W|$)","g"),function(e,t){return s+t})):l=l.replace(new RegExp("(/?):"+n+"(\\W|$)","g"),function(e,t,n){return"/"==n.charAt(0)?n:t+n})}),u.defaults.stripTrailingSlashes&&(l=l.replace(/\/+$/,"")||"/"),l=l.replace(/\/\.(?=\w+($|\?))/,"."),n.url=d+l.replace(/\/\\\./,"/."),m(r,function(e,t){u.urlParams[t]||(n.params=n.params||{},n.params[t]=e)})}},h}]})}(window,window.angular)},{}],4:[function(e,t,n){e("./angular-resource"),t.exports="ngResource"},{"./angular-resource":3}],5:[function(e,t,n){!function(e,t){"use strict";function n(){var e=!1;this.$get=["$$sanitizeUri",function(n){return e&&t.extend(x,b),function(e){var t=[];return o(e,u(t,function(e,t){return!/^unsafe:/.test(n(e,t))})),t.join("")}}],this.enableSvg=function(n){return t.isDefined(n)?(e=n,this):e}}function r(e){var n=[],r=u(n,t.noop);return r.chars(e),n.join("")}function i(e,n){var r,i={},o=e.split(",");for(r=0;rn;n++){var i=e[n];t[i.name]=i.value}return t}function s(e){return e.replace(/&/g,"&").replace(d,function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1);return"&#"+(1024*(t-55296)+(n-56320)+65536)+";"}).replace(h,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}function u(e,n){var r=!1,i=t.bind(e,e.push);return{start:function(e,o){e=t.lowercase(e),!r&&w[e]&&(r=e),r||x[e]!==!0||(i("<"),i(e),t.forEach(o,function(r,o){var a=t.lowercase(o),u="img"===e&&"src"===a||"background"===a;_[a]!==!0||k[a]===!0&&!n(r,u)||(i(" "),i(o),i('="'),i(s(r)),i('"'))}),i(">"))},end:function(e){e=t.lowercase(e),r||x[e]!==!0||p[e]===!0||(i("")),e==r&&(r=!1)},chars:function(e){r||i(s(e))}}}function l(t){if(t.nodeType===e.Node.ELEMENT_NODE)for(var n=t.attributes,r=0,i=n.length;i>r;r++){var o=n[r],a=o.name.toLowerCase();"xmlns:ns1"!==a&&0!==a.indexOf("ns1:")||(t.removeAttributeNode(o),r--,i--)}var s=t.firstChild;s&&l(s),s=t.nextSibling,s&&l(s)}var c,f=t.$$minErr("$sanitize"),d=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,h=/([^\#-~ |!])/g,p=i("area,br,col,hr,img,wbr"),m=i("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),g=i("rp,rt"),v=t.extend({},g,m),$=t.extend({},m,i("address,article,aside,blockquote,caption,center,del,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,map,menu,nav,ol,pre,section,table,ul")),y=t.extend({},g,i("a,abbr,acronym,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,q,ruby,rp,rt,s,samp,small,span,strike,strong,sub,sup,time,tt,u,var")),b=i("circle,defs,desc,ellipse,font-face,font-face-name,font-face-src,g,glyph,hkern,image,linearGradient,line,marker,metadata,missing-glyph,mpath,path,polygon,polyline,radialGradient,rect,stop,svg,switch,text,title,tspan"),w=i("script,style"),x=t.extend({},p,$,y,v),k=i("background,cite,href,longdesc,src,xlink:href"),C=i("abbr,align,alt,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,coords,dir,face,headers,height,hreflang,hspace,ismap,lang,language,nohref,nowrap,rel,rev,rows,rowspan,rules,scope,scrolling,shape,size,span,start,summary,tabindex,target,title,type,valign,value,vspace,width"),S=i("accent-height,accumulate,additive,alphabetic,arabic-form,ascent,baseProfile,bbox,begin,by,calcMode,cap-height,class,color,color-rendering,content,cx,cy,d,dx,dy,descent,display,dur,end,fill,fill-rule,font-family,font-size,font-stretch,font-style,font-variant,font-weight,from,fx,fy,g1,g2,glyph-name,gradientUnits,hanging,height,horiz-adv-x,horiz-origin-x,ideographic,k,keyPoints,keySplines,keyTimes,lang,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mathematical,max,min,offset,opacity,orient,origin,overline-position,overline-thickness,panose-1,path,pathLength,points,preserveAspectRatio,r,refX,refY,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,rotate,rx,ry,slope,stemh,stemv,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,systemLanguage,target,text-anchor,to,transform,type,u1,u2,underline-position,underline-thickness,unicode,unicode-range,units-per-em,values,version,viewBox,visibility,width,widths,x,x-height,x1,x2,xlink:actuate,xlink:arcrole,xlink:role,xlink:show,xlink:title,xlink:type,xml:base,xml:lang,xml:space,xmlns,xmlns:xlink,y,y1,y2,zoomAndPan",!0),_=t.extend({},k,S,C);!function(e){var t;if(!e.document||!e.document.implementation)throw f("noinert","Can't create an inert html document");t=e.document.implementation.createHTMLDocument("inert");var n=t.documentElement||t.getDocumentElement(),r=n.getElementsByTagName("body");if(1===r.length)c=r[0];else{var i=t.createElement("html");c=t.createElement("body"),i.appendChild(c),t.appendChild(i)}}(e),t.module("ngSanitize",[]).provider("$sanitize",n),t.module("ngSanitize").filter("linky",["$sanitize",function(e){var n=/((ftp|https?):\/\/|(www\.)|(mailto:)?[A-Za-z0-9._%+-]+@)\S*[^\s.;,(){}<>"\u201d\u2019]/i,i=/^mailto:/i,o=t.$$minErr("linky"),a=t.isString;return function(s,u,l){function c(e){e&&g.push(r(e))}function f(e,n){var r;if(g.push("'),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(i,"")),m=m.substring(p+d[0].length);return c(m),e(g.join(""))}}])}(window,window.angular)},{}],6:[function(e,t,n){e("./angular-sanitize"),t.exports="ngSanitize"},{"./angular-sanitize":5}],7:[function(e,t,n){angular.module("ui.sortable",[]).value("uiSortableConfig",{items:"> [ng-repeat],> [data-ng-repeat],> [x-ng-repeat]"}).directive("uiSortable",["uiSortableConfig","$timeout","$log",function(e,t,n){return{require:"?ngModel",scope:{ngModel:"=",uiSortable:"="},link:function(r,i,o,a){function s(e,t){var n=e&&"function"==typeof e,r=t&&"function"==typeof t;return n&&r?function(){e.apply(this,arguments),t.apply(this,arguments)}:r?t:e}function u(e){var t=e.data("ui-sortable");return t&&"object"==typeof t&&"ui-sortable"===t.widgetFullName?t:null}function l(t,n){return S[t]?("stop"===t&&(n=s(n,function(){r.$apply()}),n=s(n,v)),n=s(S[t],n)):_[t]&&(n=_[t](n)),n||("items"===t?n=e.items:"ui-model-items"===t&&(n=e.items)),n}function c(e,t,n){function r(e,t){t in k||(k[t]=null)}angular.forEach(S,r);var i=null;if(t){var o;angular.forEach(t,function(t,n){if(!(e&&n in e)){if(n in C)return void("ui-floating"===n?k[n]="auto":k[n]=l(n,void 0));o||(o=angular.element.ui.sortable().options);var r=o[n];r=l(n,r),i||(i={}),i[n]=r,k[n]=r}})}return angular.forEach(e,function(e,t){return t in C?("ui-floating"!==t||e!==!1&&e!==!0||!n||(n.floating=e),void(k[t]=l(t,e))):(e=l(t,e),i||(i={}),i[t]=e,void(k[t]=e))}),i}function f(e){var t=e.sortable("option","placeholder");if(t&&t.element&&"function"==typeof t.element){var n=t.element();return n=angular.element(n)}return null}function d(e,t){var n=k["ui-model-items"].replace(/[^,]*>/g,""),r=e.find('[class="'+t.attr("class")+'"]:not('+n+")");return r}function h(e,t){var n=e.sortable("option","helper");return"clone"===n||"function"==typeof n&&t.item.sortable.isCustomHelperUsed()}function p(e,t,n){var r=null;return h(e,t)&&"parent"===e.sortable("option","appendTo")&&(r=n.last()),r}function m(e){return/left|right/.test(e.css("float"))||/inline|table-cell/.test(e.css("display"))}function g(e,t){for(var n=null,r=0;r=0&&(t-1 in e||e instanceof Array)||"function"==typeof e.item)}function r(e,t,i){var o,a;if(e)if(C(e))for(o in e)"prototype"==o||"length"==o||"name"==o||e.hasOwnProperty&&!e.hasOwnProperty(o)||t.call(i,e[o],o,e);else if(Wr(e)||n(e)){var s="object"!=typeof e;for(o=0,a=e.length;a>o;o++)(s||o in e)&&t.call(i,e[o],o,e)}else if(e.forEach&&e.forEach!==r)e.forEach(t,i,e);else if(b(e))for(o in e)t.call(i,e[o],o,e);else if("function"==typeof e.hasOwnProperty)for(o in e)e.hasOwnProperty(o)&&t.call(i,e[o],o,e);else for(o in e)Mr.call(e,o)&&t.call(i,e[o],o,e);return e}function i(e,t,n){for(var r=Object.keys(e).sort(),i=0;ii;++i){var a=t[i];if(y(a)||C(a))for(var l=Object.keys(a),c=0,f=l.length;f>c;c++){var d=l[c],h=a[d];n&&y(h)?k(h)?e[d]=new Date(h.valueOf()):S(h)?e[d]=new RegExp(h):h.nodeName?e[d]=h.cloneNode(!0):I(h)?e[d]=h.clone():(y(e[d])||(e[d]=Wr(h)?[]:{}),u(e[d],[h],!0)):e[d]=h}}return s(e,r),e}function l(e){return u(e,Lr.call(arguments,1),!1)}function c(e){return u(e,Lr.call(arguments,1),!0)}function f(e){return parseInt(e,10)}function d(e,t){return l(Object.create(e),t)}function h(){}function p(e){return e}function m(e){return function(){return e}}function g(e){return C(e.toString)&&e.toString!==Vr}function v(e){return"undefined"==typeof e}function $(e){return"undefined"!=typeof e}function y(e){return null!==e&&"object"==typeof e}function b(e){return null!==e&&"object"==typeof e&&!zr(e)}function w(e){return"string"==typeof e}function x(e){return"number"==typeof e}function k(e){return"[object Date]"===Vr.call(e)}function C(e){return"function"==typeof e}function S(e){return"[object RegExp]"===Vr.call(e)}function _(e){return e&&e.window===e}function E(e){return e&&e.$evalAsync&&e.$watch}function D(e){return"[object File]"===Vr.call(e)}function M(e){return"[object FormData]"===Vr.call(e)}function T(e){return"[object Blob]"===Vr.call(e)}function A(e){return"boolean"==typeof e}function O(e){return e&&C(e.then)}function F(e){return e&&x(e.length)&&Br.test(Vr.call(e))}function N(e){return"[object ArrayBuffer]"===Vr.call(e)}function I(e){return!(!e||!(e.nodeName||e.prop&&e.attr&&e.find))}function P(e){var t,n={},r=e.split(",");for(t=0;t=0&&e.splice(n,1),n}function R(e,t){function n(e,t){var n,r=t.$$hashKey;if(Wr(e))for(var o=0,a=e.length;a>o;o++)t.push(i(e[o]));else if(b(e))for(n in e)t[n]=i(e[n]);else if(e&&"function"==typeof e.hasOwnProperty)for(n in e)e.hasOwnProperty(n)&&(t[n]=i(e[n]));else for(n in e)Mr.call(e,n)&&(t[n]=i(e[n]));return s(t,r),t}function i(e){if(!y(e))return e;var t=a.indexOf(e);if(-1!==t)return u[t];if(_(e)||E(e))throw Hr("cpws","Can't copy! Making copies of Window or Scope instances is not supported.");var r=!1,i=o(e);return void 0===i&&(i=Wr(e)?[]:Object.create(zr(e)),r=!0),a.push(e),u.push(i),r?n(e,i):i}function o(e){switch(Vr.call(e)){case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Float32Array]":case"[object Float64Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return new e.constructor(i(e.buffer));case"[object ArrayBuffer]":if(!e.slice){var t=new ArrayBuffer(e.byteLength);return new Uint8Array(t).set(new Uint8Array(e)),t}return e.slice(0);case"[object Boolean]":case"[object Number]":case"[object String]":case"[object Date]":return new e.constructor(e.valueOf());case"[object RegExp]":var n=new RegExp(e.source,e.toString().match(/[^\/]*$/)[0]);return n.lastIndex=e.lastIndex,n;case"[object Blob]":return new e.constructor([e],{type:e.type})}return C(e.cloneNode)?e.cloneNode(!0):void 0}var a=[],u=[];if(t){if(F(t)||N(t))throw Hr("cpta","Can't copy! TypedArray destination cannot be mutated.");if(e===t)throw Hr("cpi","Can't copy! Source and destination are identical.");return Wr(t)?t.length=0:r(t,function(e,n){"$$hashKey"!==n&&delete t[n]}),a.push(e),u.push(t),n(e,t)}return i(e)}function U(e,t){if(Wr(e)){t=t||[];for(var n=0,r=e.length;r>n;n++)t[n]=e[n]}else if(y(e)){t=t||{};for(var i in e)"$"===i.charAt(0)&&"$"===i.charAt(1)||(t[i]=e[i])}return t||e}function V(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e!==e&&t!==t)return!0;var n,r,i,o=typeof e,a=typeof t;if(o==a&&"object"==o){if(!Wr(e)){if(k(e))return k(t)?V(e.getTime(),t.getTime()):!1;if(S(e))return S(t)?e.toString()==t.toString():!1;if(E(e)||E(t)||_(e)||_(t)||Wr(t)||k(t)||S(t))return!1;i=me();for(r in e)if("$"!==r.charAt(0)&&!C(e[r])){if(!V(e[r],t[r]))return!1;i[r]=!0}for(r in t)if(!(r in i)&&"$"!==r.charAt(0)&&$(t[r])&&!C(t[r]))return!1;return!0}if(!Wr(t))return!1;if((n=e.length)==t.length){for(r=0;n>r;r++)if(!V(e[r],t[r]))return!1;return!0}}return!1}function z(e,t,n){return e.concat(Lr.call(t,n))}function H(e,t){return Lr.call(e,t||0)}function q(e,t){var n=arguments.length>2?H(arguments,2):[];return!C(t)||t instanceof RegExp?t:n.length?function(){return arguments.length?t.apply(e,z(n,arguments,0)):t.apply(e,n)}:function(){return arguments.length?t.apply(e,arguments):t.call(e)}}function Y(t,n){var r=n;return"string"==typeof t&&"$"===t.charAt(0)&&"$"===t.charAt(1)?r=void 0:_(n)?r="$WINDOW":n&&e.document===n?r="$DOCUMENT":E(n)&&(r="$SCOPE"),r}function W(e,t){return v(e)?void 0:(x(t)||(t=t?2:null),JSON.stringify(e,Y,t))}function B(e){return w(e)?JSON.parse(e):e}function G(e,t){e=e.replace(Xr,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function Z(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function Q(e,t,n){n=n?-1:1;var r=e.getTimezoneOffset(),i=G(t,r);return Z(e,n*(i-r))}function J(e){e=Ir(e).clone();try{e.empty()}catch(t){}var n=Ir("
    ").append(e).html();try{return e[0].nodeType===ii?Tr(n):n.match(/^(<[^>]+>)/)[1].replace(/^<([\w\-]+)/,function(e,t){return"<"+Tr(t)})}catch(t){return Tr(n)}}function X(e){try{return decodeURIComponent(e)}catch(t){}}function K(e){var t={};return r((e||"").split("&"),function(e){var n,r,i;e&&(r=e=e.replace(/\+/g,"%20"),n=e.indexOf("="),-1!==n&&(r=e.substring(0,n),i=e.substring(n+1)),r=X(r),$(r)&&(i=$(i)?X(i):!0,Mr.call(t,r)?Wr(t[r])?t[r].push(i):t[r]=[t[r],i]:t[r]=i))}),t}function ee(e){var t=[];return r(e,function(e,n){Wr(e)?r(e,function(e){t.push(ne(n,!0)+(e===!0?"":"="+ne(e,!0)))}):t.push(ne(n,!0)+(e===!0?"":"="+ne(e,!0)))}),t.length?t.join("&"):""}function te(e){return ne(e,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function ne(e,t){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%20/g,t?"%20":"+")}function re(e,t){var n,r,i=Kr.length;for(r=0;i>r;++r)if(n=Kr[r]+t,w(n=e.getAttribute(n)))return n;return null}function ie(e,t){var n,i,o={};r(Kr,function(t){var r=t+"app";!n&&e.hasAttribute&&e.hasAttribute(r)&&(n=e,i=e.getAttribute(r))}),r(Kr,function(t){var r,o=t+"app";!n&&(r=e.querySelector("["+o.replace(":","\\:")+"]"))&&(n=r,i=r.getAttribute(o))}),n&&(o.strictDi=null!==re(n,"strict-di"),t(n,i?[i]:[],o))}function oe(t,n,i){y(i)||(i={});var o={strictDi:!1};i=l(o,i);var a=function(){if(t=Ir(t),t.injector()){var r=t[0]===e.document?"document":J(t);throw Hr("btstrpd","App already bootstrapped with this element '{0}'",r.replace(//,">"))}n=n||[],n.unshift(["$provide",function(e){e.value("$rootElement",t)}]),i.debugInfoEnabled&&n.push(["$compileProvider",function(e){e.debugInfoEnabled(!0)}]),n.unshift("ng");var o=nt(n,i.strictDi);return o.invoke(["$rootScope","$rootElement","$compile","$injector",function(e,t,n,r){e.$apply(function(){t.data("$injector",r),n(t)(e)})}]),o},s=/^NG_ENABLE_DEBUG_INFO!/,u=/^NG_DEFER_BOOTSTRAP!/;return e&&s.test(e.name)&&(i.debugInfoEnabled=!0,e.name=e.name.replace(s,"")),e&&!u.test(e.name)?a():(e.name=e.name.replace(u,""),qr.resumeBootstrap=function(e){return r(e,function(e){n.push(e)}),a()},void(C(qr.resumeDeferredBootstrap)&&qr.resumeDeferredBootstrap()))}function ae(){e.name="NG_ENABLE_DEBUG_INFO!"+e.name,e.location.reload()}function se(e){var t=qr.element(e).injector();if(!t)throw Hr("test","no injector found for element argument to getTestability");return t.get("$$testability")}function ue(e,t){return t=t||"_",e.replace(ei,function(e,n){return(n?t:"")+e.toLowerCase()})}function le(){var t;if(!ti){var n=Jr();Pr=v(n)?e.jQuery:n?e[n]:void 0,Pr&&Pr.fn.on?(Ir=Pr,l(Pr.fn,{scope:ki.scope,isolateScope:ki.isolateScope,controller:ki.controller,injector:ki.injector,inheritedData:ki.inheritedData}),t=Pr.cleanData,Pr.cleanData=function(e){for(var n,r,i=0;null!=(r=e[i]);i++)n=Pr._data(r,"events"),n&&n.$destroy&&Pr(r).triggerHandler("$destroy");t(e)}):Ir=Me,qr.element=Ir,ti=!0}}function ce(e,t,n){if(!e)throw Hr("areq","Argument '{0}' is {1}",t||"?",n||"required");return e}function fe(e,t,n){return n&&Wr(e)&&(e=e[e.length-1]),ce(C(e),t,"not a function, got "+(e&&"object"==typeof e?e.constructor.name||"Object":typeof e)),e}function de(e,t){if("hasOwnProperty"===e)throw Hr("badname","hasOwnProperty is not a valid {0} name",t)}function he(e,t,n){if(!t)return e;for(var r,i=t.split("."),o=e,a=i.length,s=0;a>s;s++)r=i[s],e&&(e=(o=e)[r]);return!n&&C(e)?q(o,e):e}function pe(e){for(var t,n=e[0],r=e[e.length-1],i=1;n!==r&&(n=n.nextSibling);i++)(t||e[i]!==n)&&(t||(t=Ir(Lr.call(e,0,i))),t.push(n));return t||e}function me(){return Object.create(null)}function ge(e){function n(e,t,n){return e[t]||(e[t]=n())}var r=t("$injector"),i=t("ng"),o=n(e,"angular",Object);return o.$$minErr=o.$$minErr||t,n(o,"module",function(){var e={};return function(t,o,a){var s=function(e,t){if("hasOwnProperty"===e)throw i("badname","hasOwnProperty is not a valid {0} name",t)};return s(t,"module"),o&&e.hasOwnProperty(t)&&(e[t]=null),n(e,t,function(){function e(e,t,n,r){return r||(r=i),function(){return r[n||"push"]([e,t,arguments]),c}}function n(e,n){return function(r,o){return o&&C(o)&&(o.$$moduleName=t),i.push([e,n,arguments]),c}}if(!o)throw r("nomod","Module '{0}' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.",t);var i=[],s=[],u=[],l=e("$injector","invoke","push",s),c={_invokeQueue:i,_configBlocks:s,_runBlocks:u,requires:o,name:t,provider:n("$provide","provider"),factory:n("$provide","factory"),service:n("$provide","service"),value:e("$provide","value"),constant:e("$provide","constant","unshift"),decorator:n("$provide","decorator"),animation:n("$animateProvider","register"),filter:n("$filterProvider","register"),controller:n("$controllerProvider","register"),directive:n("$compileProvider","directive"),component:n("$compileProvider","component"),config:l,run:function(e){return u.push(e),this}};return a&&l(a),c})}})}function ve(e){var t=[];return JSON.stringify(e,function(e,n){if(n=Y(e,n),y(n)){if(t.indexOf(n)>=0)return"...";t.push(n)}return n})}function $e(e){return"function"==typeof e?e.toString().replace(/ \{[\s\S]*$/,""):v(e)?"undefined":"string"!=typeof e?ve(e):e}function ye(n){l(n,{bootstrap:oe,copy:R,extend:l,merge:c,equals:V,element:Ir,forEach:r,injector:nt,noop:h,bind:q,toJson:W,fromJson:B,identity:p,isUndefined:v,isDefined:$,isString:w,isFunction:C,isObject:y,isNumber:x,isElement:I,isArray:Wr,version:ui,isDate:k,lowercase:Tr,uppercase:Ar,callbacks:{counter:0},getTestability:se,$$minErr:t,$$csp:Qr,reloadWithDebugInfo:ae}),(jr=ge(e))("ng",["ngLocale"],["$provide",function(e){e.provider({$$sanitizeUri:kn}),e.provider("$compile",ht).directive({a:Ao,input:Qo,textarea:Qo,form:Po,script:Ya,select:Ga,style:Qa,option:Za,ngBind:Ko,ngBindHtml:ta,ngBindTemplate:ea,ngClass:ra,ngClassEven:oa,ngClassOdd:ia,ngCloak:aa,ngController:sa,ngForm:jo,ngHide:La,ngIf:ca,ngInclude:fa,ngInit:ha,ngNonBindable:Ma,ngPluralize:Fa,ngRepeat:Na,ngShow:ja,ngStyle:Ra,ngSwitch:Ua,ngSwitchWhen:Va,ngSwitchDefault:za,ngOptions:Oa,ngTransclude:qa,ngModel:_a,ngList:pa,ngChange:na,pattern:Xa,ngPattern:Xa,required:Ja,ngRequired:Ja,minlength:es,ngMinlength:es,maxlength:Ka,ngMaxlength:Ka,ngValue:Xo,ngModelOptions:Da}).directive({ngInclude:da}).directive(Oo).directive(ua),e.provider({$anchorScroll:rt,$animate:Ri,$animateCss:zi,$$animateJs:ji,$$animateQueue:Li,$$AnimateRunner:Vi,$$animateAsyncRun:Ui,$browser:lt,$cacheFactory:ct,$controller:yt,$document:bt,$exceptionHandler:wt,$filter:jn,$$forceReflow:Gi,$interpolate:It,$interval:Pt,$http:At,$httpParamSerializer:kt,$httpParamSerializerJQLike:Ct,$httpBackend:Ft,$xhrFactory:Ot,$location:Qt,$log:Jt,$parse:vn,$rootScope:xn,$q:$n,$$q:yn,$sce:En,$sceDelegate:_n,$sniffer:Dn,$templateCache:ft,$templateRequest:Mn,$$testability:Tn,$timeout:An,$window:Nn,$$rAF:wn,$$jqLite:Qe,$$HashMap:Ei,$$cookieReader:Pn})}])}function be(){return++ci}function we(e){return e.replace(hi,function(e,t,n,r){return r?n.toUpperCase():n}).replace(pi,"Moz$1")}function xe(e){return!$i.test(e)}function ke(e){var t=e.nodeType;return t===ni||!t||t===ai}function Ce(e){for(var t in li[e.ng339])return!0;return!1}function Se(e){for(var t=0,n=e.length;n>t;t++)Fe(e[t])}function _e(e,t){var n,i,o,a,s=t.createDocumentFragment(),u=[];if(xe(e))u.push(t.createTextNode(e));else{for(n=n||s.appendChild(t.createElement("div")),i=(yi.exec(e)||["",""])[1].toLowerCase(),o=wi[i]||wi._default,n.innerHTML=o[1]+e.replace(bi,"<$1>")+o[2],a=o[0];a--;)n=n.lastChild;u=z(u,n.childNodes),n=s.firstChild,n.textContent=""}return s.textContent="",s.innerHTML="",r(u,function(e){s.appendChild(e)}),s}function Ee(t,n){n=n||e.document;var r;return(r=vi.exec(t))?[n.createElement(r[1])]:(r=_e(t,n))?r.childNodes:[]}function De(e,t){var n=e.parentNode;n&&n.replaceChild(t,e),t.appendChild(e)}function Me(e){if(e instanceof Me)return e;var t;if(w(e)&&(e=Gr(e),t=!0),!(this instanceof Me)){if(t&&"<"!=e.charAt(0))throw gi("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new Me(e)}t?Re(this,Ee(e)):Re(this,e)}function Te(e){return e.cloneNode(!0)}function Ae(e,t){if(t||Fe(e),e.querySelectorAll)for(var n=e.querySelectorAll("*"),r=0,i=n.length;i>r;r++)Fe(n[r])}function Oe(e,t,n,i){if($(i))throw gi("offargs","jqLite#off() does not support the `selector` argument");var o=Ne(e),a=o&&o.events,s=o&&o.handle;if(s)if(t){var u=function(t){var r=a[t];$(n)&&L(r||[],n),$(n)&&r&&r.length>0||(di(e,t,s),delete a[t])};r(t.split(" "),function(e){u(e),mi[e]&&u(mi[e])})}else for(t in a)"$destroy"!==t&&di(e,t,s),delete a[t]}function Fe(e,t){var n=e.ng339,r=n&&li[n];if(r){if(t)return void delete r.data[t];r.handle&&(r.events.$destroy&&r.handle({},"$destroy"),Oe(e)),delete li[n],e.ng339=void 0}}function Ne(e,t){var n=e.ng339,r=n&&li[n];return t&&!r&&(e.ng339=n=be(),r=li[n]={events:{},data:{},handle:void 0}),r}function Ie(e,t,n){if(ke(e)){var r=$(n),i=!r&&t&&!y(t),o=!t,a=Ne(e,!i),s=a&&a.data;if(r)s[t]=n;else{if(o)return s;if(i)return s&&s[t];l(s,t)}}}function Pe(e,t){return e.getAttribute?(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+t+" ")>-1:!1}function je(e,t){t&&e.setAttribute&&r(t.split(" "),function(t){e.setAttribute("class",Gr((" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").replace(" "+Gr(t)+" "," ")))})}function Le(e,t){if(t&&e.setAttribute){var n=(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ");r(t.split(" "),function(e){e=Gr(e),-1===n.indexOf(" "+e+" ")&&(n+=e+" ")}),e.setAttribute("class",Gr(n))}}function Re(e,t){if(t)if(t.nodeType)e[e.length++]=t;else{var n=t.length;if("number"==typeof n&&t.window!==t){if(n)for(var r=0;n>r;r++)e[e.length++]=t[r]}else e[e.length++]=t}}function Ue(e,t){return Ve(e,"$"+(t||"ngController")+"Controller")}function Ve(e,t,n){e.nodeType==ai&&(e=e.documentElement);for(var r=Wr(t)?t:[t];e;){for(var i=0,o=r.length;o>i;i++)if($(n=Ir.data(e,r[i])))return n;e=e.parentNode||e.nodeType===si&&e.host}}function ze(e){for(Ae(e,!0);e.firstChild;)e.removeChild(e.firstChild)}function He(e,t){t||Ae(e);var n=e.parentNode;n&&n.removeChild(e)}function qe(t,n){n=n||e,"complete"===n.document.readyState?n.setTimeout(t):Ir(n).on("load",t)}function Ye(e,t){var n=Ci[t.toLowerCase()];return n&&Si[j(e)]&&n}function We(e){return _i[e]}function Be(e,t){var n=function(n,r){n.isDefaultPrevented=function(){return n.defaultPrevented};var i=t[r||n.type],o=i?i.length:0;if(o){if(v(n.immediatePropagationStopped)){var a=n.stopImmediatePropagation;n.stopImmediatePropagation=function(){n.immediatePropagationStopped=!0,n.stopPropagation&&n.stopPropagation(),a&&a.call(n)}}n.isImmediatePropagationStopped=function(){return n.immediatePropagationStopped===!0};var s=i.specialHandlerWrapper||Ge;o>1&&(i=U(i));for(var u=0;o>u;u++)n.isImmediatePropagationStopped()||s(e,n,i[u])}};return n.elem=e,n}function Ge(e,t,n){n.call(e,t)}function Ze(e,t,n){var r=t.relatedTarget;r&&(r===e||xi.call(e,r))||n.call(e,t)}function Qe(){this.$get=function(){return l(Me,{hasClass:function(e,t){return e.attr&&(e=e[0]),Pe(e,t)},addClass:function(e,t){return e.attr&&(e=e[0]),Le(e,t)},removeClass:function(e,t){return e.attr&&(e=e[0]),je(e,t)}})}}function Je(e,t){var n=e&&e.$$hashKey;if(n)return"function"==typeof n&&(n=e.$$hashKey()),n;var r=typeof e;return n="function"==r||"object"==r&&null!==e?e.$$hashKey=r+":"+(t||a)():r+":"+e}function Xe(e,t){if(t){var n=0;this.nextUid=function(){return++n}}r(e,this.put,this)}function Ke(e){var t=Function.prototype.toString.call(e).replace(Oi,""),n=t.match(Di)||t.match(Mi);return n}function et(e){var t=Ke(e);return t?"function("+(t[1]||"").replace(/[\s\r\n]+/," ")+")":"fn"}function tt(e,t,n){var i,o,a;if("function"==typeof e){if(!(i=e.$inject)){if(i=[],e.length){if(t)throw w(n)&&n||(n=e.name||et(e)),Fi("strictdi","{0} is not using explicit annotation and cannot be invoked in strict mode",n);o=Ke(e),r(o[1].split(Ti),function(e){e.replace(Ai,function(e,t,n){i.push(n)})})}e.$inject=i}}else Wr(e)?(a=e.length-1,fe(e[a],"fn"),i=e.slice(0,a)):fe(e,"fn",!0);return i}function nt(e,t){function n(e){return function(t,n){return y(t)?void r(t,o(e)):e(t,n)}}function i(e,t){if(de(e,"service"),(C(t)||Wr(t))&&(t=k.instantiate(t)),!t.$get)throw Fi("pget","Provider '{0}' must define $get factory method.",e);return x[e+g]=t}function a(e,t){return function(){var n=E.invoke(t,this);if(v(n))throw Fi("undef","Provider '{0}' must return a value from $get factory method.",e);return n}}function s(e,t,n){return i(e,{$get:n!==!1?a(e,t):t})}function u(e,t){return s(e,["$injector",function(e){return e.instantiate(t)}])}function l(e,t){return s(e,m(t),!1)}function c(e,t){de(e,"constant"),x[e]=t,S[e]=t}function f(e,t){var n=k.get(e+g),r=n.$get;n.$get=function(){var e=E.invoke(r,n);return E.invoke(t,null,{$delegate:e})}}function d(e){ce(v(e)||Wr(e),"modulesToLoad","not an array");var t,n=[];return r(e,function(e){function r(e){var t,n;for(t=0,n=e.length;n>t;t++){var r=e[t],i=k.get(r[0]);i[r[1]].apply(i,r[2])}}if(!b.get(e)){b.put(e,!0);try{w(e)?(t=jr(e),n=n.concat(d(t.requires)).concat(t._runBlocks),r(t._invokeQueue),r(t._configBlocks)):C(e)?n.push(k.invoke(e)):Wr(e)?n.push(k.invoke(e)):fe(e,"module")}catch(i){throw Wr(e)&&(e=e[e.length-1]),i.message&&i.stack&&-1==i.stack.indexOf(i.message)&&(i=i.message+"\n"+i.stack),Fi("modulerr","Failed to instantiate module {0} due to:\n{1}",e,i.stack||i.message||i)}}}),n}function h(e,n){function r(t,r){if(e.hasOwnProperty(t)){if(e[t]===p)throw Fi("cdep","Circular dependency found: {0}",t+" <- "+$.join(" <- "));return e[t]}try{return $.unshift(t),e[t]=p,e[t]=n(t,r)}catch(i){throw e[t]===p&&delete e[t],i}finally{$.shift()}}function i(e,n,i){for(var o=[],a=nt.$$annotate(e,t,i),s=0,u=a.length;u>s;s++){var l=a[s];if("string"!=typeof l)throw Fi("itkn","Incorrect injection token! Expected service name as string, got {0}",l);o.push(n&&n.hasOwnProperty(l)?n[l]:r(l,i))}return o}function o(e){return 11>=Nr?!1:"function"==typeof e&&/^(?:class\s|constructor\()/.test(Function.prototype.toString.call(e))}function a(e,t,n,r){"string"==typeof n&&(r=n,n=null);var a=i(e,n,r);return Wr(e)&&(e=e[e.length-1]),o(e)?(a.unshift(null),new(Function.prototype.bind.apply(e,a))):e.apply(t,a)}function s(e,t,n){var r=Wr(e)?e[e.length-1]:e,o=i(e,t,n);return o.unshift(null),new(Function.prototype.bind.apply(r,o))}return{invoke:a,instantiate:s,get:r,annotate:nt.$$annotate,has:function(t){return x.hasOwnProperty(t+g)||e.hasOwnProperty(t)}}}t=t===!0;var p={},g="Provider",$=[],b=new Xe([],!0),x={$provide:{provider:n(i),factory:n(s),service:n(u),value:n(l),constant:n(c),decorator:f}},k=x.$injector=h(x,function(e,t){throw qr.isString(t)&&$.push(t),Fi("unpr","Unknown provider: {0}",$.join(" <- "))}),S={},_=h(S,function(e,t){var n=k.get(e+g,t);return E.invoke(n.$get,n,void 0,e)}),E=_;x["$injector"+g]={$get:m(_)};var D=d(e);return E=_.get("$injector"),E.strictDi=t,r(D,function(e){e&&E.invoke(e)}),E}function rt(){var e=!0;this.disableAutoScrolling=function(){e=!1},this.$get=["$window","$location","$rootScope",function(t,n,r){function i(e){var t=null;return Array.prototype.some.call(e,function(e){return"a"===j(e)?(t=e,!0):void 0}),t}function o(){var e=s.yOffset;if(C(e))e=e();else if(I(e)){ +var n=e[0],r=t.getComputedStyle(n);e="fixed"!==r.position?0:n.getBoundingClientRect().bottom}else x(e)||(e=0);return e}function a(e){if(e){e.scrollIntoView();var n=o();if(n){var r=e.getBoundingClientRect().top;t.scrollBy(0,r-n)}}else t.scrollTo(0,0)}function s(e){e=w(e)?e:n.hash();var t;e?(t=u.getElementById(e))?a(t):(t=i(u.getElementsByName(e)))?a(t):"top"===e&&a(null):a(null)}var u=t.document;return e&&r.$watch(function(){return n.hash()},function(e,t){e===t&&""===e||qe(function(){r.$evalAsync(s)})}),s}]}function it(e,t){return e||t?e?t?(Wr(e)&&(e=e.join(" ")),Wr(t)&&(t=t.join(" ")),e+" "+t):e:t:""}function ot(e){for(var t=0;tc&&this.remove(h.key),t}},get:function(e){if(ce;++e)ge[e]();ge=void 0})}finally{ye++}}function F(e,t){if(t){var n,r,i,o=Object.keys(t);for(n=0,r=o.length;r>n;n++)i=o[n],this[i]=t[i]}else this.$attr={};this.$$element=e}function N(e,t,n){$e.innerHTML="";var r=$e.firstChild.attributes,i=r[0];r.removeNamedItem(i.name),i.value=n,e.attributes.setNamedItem(i)}function I(e,t){try{e.addClass(t)}catch(n){}}function P(t,n,r,i,o){t instanceof Ir||(t=Ir(t));for(var a=/\S+/,s=0,u=t.length;u>s;s++){var l=t[s];l.nodeType===ii&&l.nodeValue.match(a)&&De(l,t[s]=e.document.createElement("span"))}var c=U(t,n,t,r,i,o);P.$$addScopeClass(t);var f=null;return function(e,n,r){ce(e,"scope"),o&&o.needsNewScope&&(e=e.$parent.$new()),r=r||{};var i=r.parentBoundTranscludeFn,a=r.transcludeControllers,s=r.futureParentElement;i&&i.$$boundTransclude&&(i=i.$$boundTransclude),f||(f=R(s));var u;if(u="html"!==f?Ir(ae(f,Ir("
    ").append(t).html())):n?ki.clone.call(t):t,a)for(var l in a)u.data("$"+l+"Controller",a[l].instance);return P.$$addScopeInfo(u,e),n&&n(u,e),c&&c(e,u,u,i),u}}function R(e){var t=e&&e[0];return t&&"foreignobject"!==j(t)&&Vr.call(t).match(/SVG/)?"svg":"html"}function U(e,t,n,r,i,o){function a(e,n,r,i){var o,a,s,u,l,c,f,d,m;if(h){var g=n.length;for(m=new Array(g),l=0;ll;)s=m[p[l++]],o=p[l++],a=p[l++],o?(o.scope?(u=e.$new(),P.$$addScopeInfo(Ir(s),u)):u=e,d=o.transcludeOnThisElement?z(e,o.transclude,i):!o.templateOnThisElement&&i?i:!i&&t?z(e,t):null,o(a,u,s,r,d)):a&&a(e,s.childNodes,void 0,i)}for(var s,u,l,c,f,d,h,p=[],m=0;m$;$++){var x=!1,k=!1;l=v[$],c=l.name,p=Gr(l.value),h=mt(c),(m=Ce.test(h))&&(c=c.replace(Yi,"").substr(8).replace(/_(.)/g,function(e,t){return t.toUpperCase()}));var C=h.match(Se);C&&ee(C[1])&&(x=c,k=c.substr(0,c.length-5)+"end",c=c.substr(0,c.length-6)),d=mt(c.toLowerCase()),u[d]=c,!m&&n.hasOwnProperty(d)||(n[d]=p,Ye(e,d)&&(n[d]=!0)),le(e,t,p,d,m),K(t,d,"A",r,i,x,k)}if(a=e.className,y(a)&&(a=a.animVal),w(a)&&""!==a)for(;o=g.exec(a);)d=mt(o[2]),K(t,d,"C",r,i)&&(n[d]=Gr(o[3])),a=a.substr(o.index+o[0].length);break;case ii:if(11===Nr)for(;e.parentNode&&e.nextSibling&&e.nextSibling.nodeType===ii;)e.nodeValue=e.nodeValue+e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);oe(t,e.nodeValue);break;case oi:try{o=f.exec(e.nodeValue),o&&(d=mt(o[1]),K(t,d,"M",r,i)&&(n[d]=Gr(o[2])))}catch(S){}}return t.sort(re),t}function Y(e,t,n){var r=[],i=0;if(t&&e.hasAttribute&&e.hasAttribute(t)){do{if(!e)throw Hi("uterdir","Unterminated attribute, found '{0}' but no matching '{1}' found.",t,n);e.nodeType==ni&&(e.hasAttribute(t)&&i++,e.hasAttribute(n)&&i--),r.push(e),e=e.nextSibling}while(i>0)}else r.push(e);return Ir(r)}function W(e,t,n){return function(r,i,o,a,s){return i=Y(i[0],t,n),e(r,i,o,a,s)}}function B(e,t,n,r,i,o){var a;return e?P(t,n,r,i,o):function(){return a||(a=P(t,n,r,i,o),t=n=o=null),a.apply(this,arguments)}}function G(e,t,n,o,a,s,u,c,f){function d(e,t,n,r){e&&(n&&(e=W(e,n,r)),e.require=p.require,e.directiveName=m,(S===p||p.$$isolateScope)&&(e=de(e,{isolateScope:!0})),u.push(e)),t&&(n&&(t=W(t,n,r)),t.require=p.require,t.directiveName=m,(S===p||p.$$isolateScope)&&(t=de(t,{isolateScope:!0})),c.push(t))}function h(e,i,o,a,s){function f(e,t,n,r){var i;if(E(e)||(r=n,n=t,t=e,e=void 0),A&&(i=$),n||(n=A?w.parent():w),!r)return s(e,t,i,n,L);var o=s.$$slots[r];if(o)return o(e,t,i,n,L);if(v(o))throw Hi("noslot",'No parent directive that requires a transclusion with slot name "{0}". Element: {1}',r,J(w))}var d,h,p,m,g,$,b,w,D,M;t===o?(D=n,w=n.$$element):(w=Ir(o),D=new F(w,n)),g=i,S?m=i.$new(!0):x&&(g=i.$parent),s&&(b=f,b.$$boundTransclude=s,b.isSlotFilled=function(e){return!!s.$$slots[e]}),k&&($=Q(w,D,b,k,m,i,S)),S&&(P.$$addScopeInfo(w,m,!0,!(_&&(_===S||_===S.$$originalDirective))),P.$$addScopeClass(w,!0),m.$$isolateBindings=S.$$isolateBindings,M=pe(i,D,m,m.$$isolateBindings,S),M.removeWatches&&m.$on("$destroy",M.removeWatches));for(var T in $){var O=k[T],N=$[T],I=O.$$bindings.bindToController;N.identifier&&I?N.bindingInfo=pe(g,D,N.instance,I,O):N.bindingInfo={};var j=N();j!==N.instance&&(N.instance=j,w.data("$"+O.name+"Controller",j),N.bindingInfo.removeWatches&&N.bindingInfo.removeWatches(),N.bindingInfo=pe(g,D,N.instance,I,O))}for(r(k,function(e,t){var n=e.require;e.bindToController&&!Wr(n)&&y(n)&&l($[t].instance,Z(t,n,w,$))}),r($,function(e){var t=e.instance;C(t.$onChanges)&&t.$onChanges(e.bindingInfo.initialChanges),C(t.$onInit)&&t.$onInit(),C(t.$onDestroy)&&g.$on("$destroy",function(){t.$onDestroy()})}),d=0,h=u.length;h>d;d++)p=u[d],he(p,p.isolateScope?m:i,w,D,p.require&&Z(p.directiveName,p.require,w,$),b);var L=i;for(S&&(S.template||null===S.templateUrl)&&(L=m),e&&e(L,o.childNodes,void 0,s),d=c.length-1;d>=0;d--)p=c[d],he(p,p.isolateScope?m:i,w,D,p.require&&Z(p.directiveName,p.require,w,$),b);r($,function(e){var t=e.instance;C(t.$postLink)&&t.$postLink()})}f=f||{};for(var p,m,g,$,b,w=-Number.MAX_VALUE,x=f.newScopeDirective,k=f.controllerDirectives,S=f.newIsolateScopeDirective,_=f.templateDirective,D=f.nonTlbTranscludeDirective,M=!1,T=!1,A=f.hasElementTranscludeDirective,O=n.$$element=Ir(t),N=s,I=o,L=!1,R=!1,U=0,V=e.length;V>U;U++){p=e[U];var z=p.$$start,G=p.$$end;if(z&&(O=Y(t,z,G)),g=void 0,w>p.priority)break;if((b=p.scope)&&(p.templateUrl||(y(b)?(ie("new/isolated scope",S||x,p,O),S=p):ie("new/isolated scope",S,p,O)),x=x||p),m=p.name,!L&&(p.replace&&(p.templateUrl||p.template)||p.transclude&&!p.$$tlb)){for(var K,ee=U+1;K=e[ee++];)if(K.transclude&&!K.$$tlb||K.replace&&(K.templateUrl||K.template)){R=!0;break}L=!0}if(!p.templateUrl&&p.controller&&(b=p.controller,k=k||me(),ie("'"+m+"' controller",k[m],p,O),k[m]=p),b=p.transclude)if(M=!0,p.$$tlb||(ie("transclusion",D,p,O),D=p),"element"==b)A=!0,w=p.priority,g=O,O=n.$$element=Ir(P.$$createComment(m,n[m])),t=O[0],fe(a,H(g),t),g[0].$$parentNode=g[0].parentNode,I=B(R,g,o,w,N&&N.name,{nonTlbTranscludeDirective:D});else{var re=me();if(g=Ir(Te(t)).contents(),y(b)){g=[];var oe=me(),se=me();r(b,function(e,t){var n="?"===e.charAt(0);e=n?e.substring(1):e,oe[e]=t,re[t]=null,se[t]=n}),r(O.contents(),function(e){var t=oe[mt(j(e))];t?(se[t]=!0,re[t]=re[t]||[],re[t].push(e)):g.push(e)}),r(se,function(e,t){if(!e)throw Hi("reqslot","Required transclusion slot `{0}` was not filled.",t)});for(var ue in re)re[ue]&&(re[ue]=B(R,re[ue],o))}O.empty(),I=B(R,g,o,void 0,void 0,{needsNewScope:p.$$isolateScope||p.$$newScope}),I.$$slots=re}if(p.template)if(T=!0,ie("template",_,p,O),_=p,b=C(p.template)?p.template(O,n):p.template,b=ke(b),p.replace){if(N=p,g=xe(b)?[]:vt(ae(p.templateNamespace,Gr(b))),t=g[0],1!=g.length||t.nodeType!==ni)throw Hi("tplrt","Template for directive '{0}' must have exactly one root element. {1}",m,"");fe(a,O,t);var le={$attr:{}},ce=q(t,[],le),ge=e.splice(U+1,e.length-(U+1));(S||x)&&X(ce,S,x),e=e.concat(ce).concat(ge),te(n,le),V=e.length}else O.html(b);if(p.templateUrl)T=!0,ie("template",_,p,O),_=p,p.replace&&(N=p),h=ne(e.splice(U,e.length-U),O,n,a,M&&I,u,c,{controllerDirectives:k,newScopeDirective:x!==p&&x,newIsolateScopeDirective:S,templateDirective:_,nonTlbTranscludeDirective:D}),V=e.length;else if(p.compile)try{$=p.compile(O,n,I),C($)?d(null,$,z,G):$&&d($.pre,$.post,z,G)}catch(ve){i(ve,J(O))}p.terminal&&(h.terminal=!0,w=Math.max(w,p.priority))}return h.scope=x&&x.scope===!0,h.transcludeOnThisElement=M,h.templateOnThisElement=T,h.transclude=I,f.hasElementTranscludeDirective=A,h}function Z(e,t,n,i){var o;if(w(t)){var a=t.match(x),s=t.substring(a[0].length),u=a[1]||a[3],l="?"===a[2];if("^^"===u?n=n.parent():(o=i&&i[s],o=o&&o.instance),!o){var c="$"+s+"Controller";o=u?n.inheritedData(c):n.data(c)}if(!o&&!l)throw Hi("ctreq","Controller '{0}', required by directive '{1}', can't be found!",s,e)}else if(Wr(t)){o=[];for(var f=0,d=t.length;d>f;f++)o[f]=Z(e,t[f],n,i)}else y(t)&&(o={},r(t,function(t,r){o[r]=Z(e,t,n,i)}));return o||null}function Q(e,t,n,r,i,o,a){var s=me();for(var u in r){var l=r[u],c={$scope:l===a||l.$$isolateScope?i:o,$element:e,$attrs:t,$transclude:n},f=l.controller;"@"==f&&(f=t[l.name]);var d=m(f,c,!0,l.controllerAs);s[l.name]=d,e.data("$"+l.name+"Controller",d.instance)}return s}function X(e,t,n){for(var r=0,i=e.length;i>r;r++)e[r]=d(e[r],{$$isolateScope:t,$$newScope:n})}function K(e,n,r,o,s,l,f){if(n===s)return null;var h=null;if(u.hasOwnProperty(n))for(var p,m=t.get(n+c),g=0,$=m.length;$>g;g++)try{if(p=m[g],(v(o)||o>p.priority)&&-1!=p.restrict.indexOf(r)){if(l&&(p=d(p,{$$start:l,$$end:f})),!p.$$bindings){var b=p.$$bindings=a(p,p.name);y(b.isolateScope)&&(p.$$isolateBindings=b.isolateScope)}e.push(p),h=p}}catch(w){i(w)}return h}function ee(e){if(u.hasOwnProperty(e))for(var n,r=t.get(e+c),i=0,o=r.length;o>i;i++)if(n=r[i],n.multiElement)return!0;return!1}function te(e,t){var n=t.$attr,i=e.$attr,o=e.$$element;r(e,function(r,i){"$"!=i.charAt(0)&&(t[i]&&t[i]!==r&&(r+=("style"===i?";":" ")+t[i]),e.$set(i,r,!0,n[i]))}),r(t,function(t,r){"class"==r?(I(o,t),e["class"]=(e["class"]?e["class"]+" ":"")+t):"style"==r?(o.attr("style",o.attr("style")+";"+t),e.style=(e.style?e.style+";":"")+t):"$"==r.charAt(0)||e.hasOwnProperty(r)||(e[r]=t,i[r]=n[r])})}function ne(e,t,n,i,a,s,u,l){var c,f,h=[],p=t[0],m=e.shift(),g=d(m,{templateUrl:null,transclude:null,replace:null,$$originalDirective:m}),v=C(m.templateUrl)?m.templateUrl(t,n):m.templateUrl,$=m.templateNamespace;return t.empty(),o(v).then(function(o){var d,b,w,x;if(o=ke(o),m.replace){if(w=xe(o)?[]:vt(ae($,Gr(o))),d=w[0],1!=w.length||d.nodeType!==ni)throw Hi("tplrt","Template for directive '{0}' must have exactly one root element. {1}",m.name,v);b={$attr:{}},fe(i,t,d);var k=q(d,[],b);y(m.scope)&&X(k,!0),e=k.concat(e),te(n,b)}else d=p,t.html(o);for(e.unshift(g),c=G(e,d,n,a,t,m,s,u,l),r(i,function(e,n){e==d&&(i[n]=t[0])}),f=U(t[0].childNodes,a);h.length;){var C=h.shift(),S=h.shift(),_=h.shift(),E=h.shift(),D=t[0];if(!C.$$destroyed){if(S!==p){var M=S.className;l.hasElementTranscludeDirective&&m.replace||(D=Te(d)),fe(_,Ir(S),D),I(Ir(D),M)}x=c.transcludeOnThisElement?z(C,c.transclude,E):E,c(f,C,D,i,x)}}h=null}),function(e,t,n,r,i){var o=i;t.$$destroyed||(h?h.push(t,n,r,o):(c.transcludeOnThisElement&&(o=z(t,c.transclude,i)),c(f,t,n,r,o)))}}function re(e,t){var n=t.priority-e.priority;return 0!==n?n:e.name!==t.name?e.name"+n+"",r.childNodes[0].childNodes;default:return n}}function se(e,t){if("srcdoc"==t)return S.HTML;var n=j(e);return"xlinkHref"==t||"form"==n&&"action"==t||"img"!=n&&("src"==t||"ngSrc"==t)?S.RESOURCE_URL:void 0}function le(e,t,r,i,o){var a=se(e,i);o=b[i]||o;var s=n(r,!0,a,o);if(s){if("multiple"===i&&"select"===j(e))throw Hi("selmulti","Binding to the 'multiple' attribute is not supported. Element: {0}",J(e));t.push({priority:100,compile:function(){return{pre:function(e,t,u){var l=u.$$observers||(u.$$observers=me());if(k.test(i))throw Hi("nodomevents","Interpolations for HTML DOM event attributes are disallowed. Please use the ng- versions (such as ng-click instead of onclick) instead.");var c=u[i];c!==r&&(s=c&&n(c,!0,a,o),r=c),s&&(u[i]=s(e),(l[i]||(l[i]=[])).$$inter=!0,(u.$$observers&&u.$$observers[i].$$scope||e).$watch(s,function(e,t){"class"===i&&e!=t?u.$updateClass(e,t):u.$set(i,e)}))}}}})}}function fe(t,n,r){var i,o,a=n[0],s=n.length,u=a.parentNode;if(t)for(i=0,o=t.length;o>i;i++)if(t[i]==a){t[i++]=r;for(var l=i,c=l+s-1,f=t.length;f>l;l++,c++)f>c?t[l]=t[c]:delete t[l];t.length-=s-1,t.context===a&&(t.context=r);break}u&&u.replaceChild(r,a);var d=e.document.createDocumentFragment();for(i=0;s>i;i++)d.appendChild(n[i]);for(Ir.hasData(a)&&(Ir.data(r,Ir.data(a)),Ir(a).off("$destroy")),Ir.cleanData(d.querySelectorAll("*")),i=1;s>i;i++)delete n[i];n[0]=r,n.length=1}function de(e,t){return l(function(){return e.apply(null,arguments)},e,t)}function he(e,t,n,r,o,a){try{e(t,n,r,o,a)}catch(s){i(s,J(n))}}function pe(e,t,i,o,a){function u(t,n,r){C(i.$onChanges)&&n!==r&&(ge||(e.$$postDigest(O),ge=[]),c||(c={},ge.push(l)),c[t]&&(r=c[t].previousValue),c[t]=new pt(r,n))}function l(){i.$onChanges(c),c=void 0}var c,f=[],d={};return r(o,function(r,o){var l,c,p,m,g,v=r.attrName,$=r.optional,y=r.mode;switch(y){case"@":$||Mr.call(t,v)||(i[o]=t[v]=void 0),t.$observe(v,function(e){if(w(e)||A(e)){var t=i[o];u(o,e,t),i[o]=e}}),t.$$observers[v].$$scope=e,l=t[v],w(l)?i[o]=n(l)(e):A(l)&&(i[o]=l),d[o]=new pt(qi,i[o]);break;case"=":if(!Mr.call(t,v)){if($)break;t[v]=void 0}if($&&!t[v])break;c=s(t[v]),m=c.literal?V:function(e,t){return e===t||e!==e&&t!==t},p=c.assign||function(){throw l=i[o]=c(e),Hi("nonassign","Expression '{0}' in attribute '{1}' used with directive '{2}' is non-assignable!",t[v],v,a.name)},l=i[o]=c(e);var b=function(t){return m(t,i[o])||(m(t,l)?p(e,t=i[o]):i[o]=t),l=t};b.$stateful=!0,g=r.collection?e.$watchCollection(t[v],b):e.$watch(s(t[v],b),null,c.literal),f.push(g);break;case"<":if(!Mr.call(t,v)){if($)break;t[v]=void 0}if($&&!t[v])break;c=s(t[v]),i[o]=c(e),d[o]=new pt(qi,i[o]),g=e.$watch(c,function(e,t){e===t&&(t=i[o]),u(o,e,t),i[o]=e},c.literal),f.push(g);break;case"&":if(c=t.hasOwnProperty(v)?s(t[v]):h,c===h&&$)break;i[o]=function(t){return c(e,t)}}}),{initialChanges:d,removeWatches:f.length&&function(){for(var e=0,t=f.length;t>e;++e)f[e]()}}}var ge,ve=/^\w/,$e=e.document.createElement("div"),ye=D;F.prototype={$normalize:mt,$addClass:function(e){e&&e.length>0&&M.addClass(this.$$element,e)},$removeClass:function(e){e&&e.length>0&&M.removeClass(this.$$element,e)},$updateClass:function(e,t){var n=gt(e,t);n&&n.length&&M.addClass(this.$$element,n);var r=gt(t,e);r&&r.length&&M.removeClass(this.$$element,r)},$set:function(e,t,n,o){var a,s=this.$$element[0],u=Ye(s,e),l=We(e),c=e;if(u?(this.$$element.prop(e,t),o=u):l&&(this[l]=t,c=l),this[e]=t,o?this.$attr[e]=o:(o=this.$attr[e],o||(this.$attr[e]=o=ue(e,"-"))),a=j(this.$$element),"a"===a&&("href"===e||"xlinkHref"===e)||"img"===a&&"src"===e)this[e]=t=T(t,"src"===e);else if("img"===a&&"srcset"===e){for(var f="",d=Gr(t),h=/(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/,p=/\s/.test(d)?h:/(,)/,m=d.split(p),g=Math.floor(m.length/2),$=0;g>$;$++){var y=2*$;f+=T(Gr(m[y]),!0),f+=" "+Gr(m[y+1])}var b=Gr(m[2*$]).split(/\s/);f+=T(Gr(b[0]),!0),2===b.length&&(f+=" "+Gr(b[1])),this[e]=t=f}n!==!1&&(null===t||v(t)?this.$$element.removeAttr(o):ve.test(o)?this.$$element.attr(o,t):N(this.$$element[0],o,t));var w=this.$$observers;w&&r(w[c],function(e){try{e(t)}catch(n){i(n)}})},$observe:function(e,t){var n=this,r=n.$$observers||(n.$$observers=me()),i=r[e]||(r[e]=[]);return i.push(t),$.$evalAsync(function(){i.$$inter||!n.hasOwnProperty(e)||v(n[e])||t(n[e])}),function(){L(i,t)}}};var be=n.startSymbol(),we=n.endSymbol(),ke="{{"==be&&"}}"==we?p:function(e){return e.replace(/\{\{/g,be).replace(/}}/g,we)},Ce=/^ngAttr[A-Z]/,Se=/^(.+)Start$/;return P.$$addBindingInfo=_?function(e,t){var n=e.data("$binding")||[];Wr(t)?n=n.concat(t):n.push(t),e.data("$binding",n)}:h,P.$$addBindingClass=_?function(e){I(e,"ng-binding")}:h,P.$$addScopeInfo=_?function(e,t,n,r){var i=n?r?"$isolateScopeNoTemplate":"$isolateScope":"$scope";e.data(i,t)}:h,P.$$addScopeClass=_?function(e,t){I(e,t?"ng-isolate-scope":"ng-scope")}:h,P.$$createComment=function(t,n){var r="";return _&&(r=" "+(t||"")+": "+(n||"")+" "),e.document.createComment(r)},P}]}function pt(e,t){this.previousValue=e,this.currentValue=t}function mt(e){return we(e.replace(Yi,""))}function gt(e,t){var n="",r=e.split(/\s+/),i=t.split(/\s+/);e:for(var o=0;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===oi&&Rr.call(e,t,1)}return e}function $t(e,t){if(t&&w(t))return t;if(w(e)){var n=Bi.exec(e);if(n)return n[3]}}function yt(){var e={},n=!1;this.has=function(t){return e.hasOwnProperty(t)},this.register=function(t,n){de(t,"controller"),y(t)?l(e,t):e[t]=n},this.allowGlobals=function(){n=!0},this.$get=["$injector","$window",function(r,i){function o(e,n,r,i){if(!e||!y(e.$scope))throw t("$controller")("noscp","Cannot export controller '{0}' as '{1}'! No $scope object provided via `locals`.",i,n);e.$scope[n]=r}return function(t,a,s,u){var c,f,d,h;if(s=s===!0,u&&w(u)&&(h=u),w(t)){if(f=t.match(Bi),!f)throw Wi("ctrlfmt","Badly formed controller string '{0}'. Must match `__name__ as __id__` or `__name__`.",t);d=f[1],h=h||f[3],t=e.hasOwnProperty(d)?e[d]:he(a.$scope,d,!0)||(n?he(i,d,!0):void 0),fe(t,d,!0)}if(s){var p=(Wr(t)?t[t.length-1]:t).prototype;c=Object.create(p||null),h&&o(a,h,c,d||t.name);var m;return m=l(function(){var e=r.invoke(t,c,a,d);return e!==c&&(y(e)||C(e))&&(c=e,h&&o(a,h,c,d||t.name)),c},{instance:c,identifier:h})}return c=r.instantiate(t,a,d),h&&o(a,h,c,d||t.name),c}}]}function bt(){this.$get=["$window",function(e){return Ir(e.document)}]}function wt(){this.$get=["$log",function(e){return function(t,n){e.error.apply(e,arguments)}}]}function xt(e){return y(e)?k(e)?e.toISOString():W(e):e}function kt(){this.$get=function(){return function(e){if(!e)return"";var t=[];return i(e,function(e,n){null===e||v(e)||(Wr(e)?r(e,function(e){t.push(ne(n)+"="+ne(xt(e)))}):t.push(ne(n)+"="+ne(xt(e))))}),t.join("&")}}}function Ct(){this.$get=function(){return function(e){function t(e,o,a){null===e||v(e)||(Wr(e)?r(e,function(e,n){t(e,o+"["+(y(e)?n:"")+"]")}):y(e)&&!k(e)?i(e,function(e,n){t(e,o+(a?"":"[")+n+(a?"":"]"))}):n.push(ne(o)+"="+ne(xt(e))))}if(!e)return"";var n=[];return t(e,"",!0),n.join("&")}}}function St(e,t){if(w(e)){var n=e.replace(Ki,"").trim();if(n){var r=t("Content-Type");(r&&0===r.indexOf(Zi)||_t(n))&&(e=B(n))}}return e}function _t(e){var t=e.match(Ji);return t&&Xi[t[0]].test(e)}function Et(e){function t(e,t){e&&(i[e]=i[e]?i[e]+", "+t:t)}var n,i=me();return w(e)?r(e.split("\n"),function(e){n=e.indexOf(":"),t(Tr(Gr(e.substr(0,n))),Gr(e.substr(n+1)))}):y(e)&&r(e,function(e,n){t(Tr(n),Gr(e))}),i}function Dt(e){var t;return function(n){if(t||(t=Et(e)),n){var r=t[Tr(n)];return void 0===r&&(r=null),r}return t}}function Mt(e,t,n,i){return C(i)?i(e,t,n):(r(i,function(r){e=r(e,t,n)}),e)}function Tt(e){return e>=200&&300>e}function At(){var e=this.defaults={transformResponse:[St],transformRequest:[function(e){return!y(e)||D(e)||T(e)||M(e)?e:W(e)}],headers:{common:{Accept:"application/json, text/plain, */*"},post:U(Qi),put:U(Qi),patch:U(Qi)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",paramSerializer:"$httpParamSerializer"},n=!1;this.useApplyAsync=function(e){return $(e)?(n=!!e,this):n};var i=!0;this.useLegacyPromiseExtensions=function(e){return $(e)?(i=!!e,this):i};var o=this.interceptors=[];this.$get=["$httpBackend","$$cookieReader","$cacheFactory","$rootScope","$q","$injector",function(a,s,u,c,f,d){function h(n){function o(e){var t=l({},e);return t.data=Mt(e.data,e.headers,e.status,u.transformResponse),Tt(e.status)?t:f.reject(t)}function a(e,t){var n,i={};return r(e,function(e,r){C(e)?(n=e(t),null!=n&&(i[r]=n)):i[r]=e}),i}function s(t){var n,r,i,o=e.headers,s=l({},t.headers);o=l({},o.common,o[Tr(t.method)]);e:for(n in o){r=Tr(n);for(i in s)if(Tr(i)===r)continue e;s[n]=o[n]}return a(s,U(t))}if(!y(n))throw t("$http")("badreq","Http request configuration must be an object. Received: {0}",n);if(!w(n.url))throw t("$http")("badreq","Http request configuration url must be a string. Received: {0}",n.url);var u=l({method:"get",transformRequest:e.transformRequest,transformResponse:e.transformResponse,paramSerializer:e.paramSerializer},n);u.headers=s(n),u.method=Ar(u.method),u.paramSerializer=w(u.paramSerializer)?d.get(u.paramSerializer):u.paramSerializer;var c=function(t){var n=t.headers,i=Mt(t.data,Dt(n),void 0,t.transformRequest);return v(i)&&r(n,function(e,t){"content-type"===Tr(t)&&delete n[t]}),v(t.withCredentials)&&!v(e.withCredentials)&&(t.withCredentials=e.withCredentials),g(t,i).then(o,o)},h=[c,void 0],p=f.when(u);for(r(k,function(e){(e.request||e.requestError)&&h.unshift(e.request,e.requestError),(e.response||e.responseError)&&h.push(e.response,e.responseError)});h.length;){var m=h.shift(),$=h.shift();p=p.then(m,$)}return i?(p.success=function(e){return fe(e,"fn"),p.then(function(t){e(t.data,t.status,t.headers,u)}),p},p.error=function(e){return fe(e,"fn"),p.then(null,function(t){e(t.data,t.status,t.headers,u)}),p}):(p.success=to("success"),p.error=to("error")),p}function p(e){r(arguments,function(e){h[e]=function(t,n){return h(l({},n||{},{method:e,url:t}))}})}function m(e){r(arguments,function(e){h[e]=function(t,n,r){return h(l({},r||{},{method:e,url:t,data:n}))}})}function g(t,i){function o(e){if(e){var t={};return r(e,function(e,r){t[r]=function(t){function r(){e(t)}n?c.$applyAsync(r):c.$$phase?r():c.$apply(r)}}),t}}function u(e,t,r,i){function o(){l(t,e,r,i)}m&&(Tt(e)?m.put(S,[e,t,Et(r),i]):m.remove(S)),n?c.$applyAsync(o):(o(),c.$$phase||c.$apply())}function l(e,n,r,i){n=n>=-1?n:0,(Tt(n)?w.resolve:w.reject)({data:e,status:n,headers:Dt(r),config:t,statusText:i})}function d(e){l(e.data,e.status,U(e.headers()),e.statusText)}function p(){var e=h.pendingRequests.indexOf(t);-1!==e&&h.pendingRequests.splice(e,1)}var m,g,w=f.defer(),k=w.promise,C=t.headers,S=b(t.url,t.paramSerializer(t.params));if(h.pendingRequests.push(t),k.then(p,p),!t.cache&&!e.cache||t.cache===!1||"GET"!==t.method&&"JSONP"!==t.method||(m=y(t.cache)?t.cache:y(e.cache)?e.cache:x),m&&(g=m.get(S),$(g)?O(g)?g.then(d,d):Wr(g)?l(g[1],g[0],U(g[2]),g[3]):l(g,200,{},"OK"):m.put(S,k)),v(g)){var _=Fn(t.url)?s()[t.xsrfCookieName||e.xsrfCookieName]:void 0;_&&(C[t.xsrfHeaderName||e.xsrfHeaderName]=_),a(t.method,S,i,u,C,t.timeout,t.withCredentials,t.responseType,o(t.eventHandlers),o(t.uploadEventHandlers))}return k}function b(e,t){return t.length>0&&(e+=(-1==e.indexOf("?")?"?":"&")+t),e}var x=u("$http");e.paramSerializer=w(e.paramSerializer)?d.get(e.paramSerializer):e.paramSerializer;var k=[];return r(o,function(e){k.unshift(w(e)?d.get(e):d.invoke(e))}),h.pendingRequests=[],p("get","delete","head","jsonp"),m("post","put","patch"),h.defaults=e,h}]}function Ot(){this.$get=function(){return function(){return new e.XMLHttpRequest}}}function Ft(){this.$get=["$browser","$window","$document","$xhrFactory",function(e,t,n,r){return Nt(e,r,e.defer,t.angular.callbacks,n[0])}]}function Nt(e,t,n,i,o){function a(e,t,n){var r=o.createElement("script"),a=null;return r.type="text/javascript",r.src=e,r.async=!0,a=function(e){di(r,"load",a),di(r,"error",a),o.body.removeChild(r),r=null;var s=-1,u="unknown";e&&("load"!==e.type||i[t].called||(e={type:"error"}),u=e.type,s="error"===e.type?404:200),n&&n(s,u)},fi(r,"load",a),fi(r,"error",a),o.body.appendChild(r),a}return function(o,s,u,l,c,f,d,p,m,g){function y(){x&&x(),k&&k.abort()}function b(t,r,i,o,a){$(_)&&n.cancel(_),x=k=null,t(r,i,o,a),e.$$completeOutstandingRequest(h)}if(e.$$incOutstandingRequestCount(),s=s||e.url(),"jsonp"==Tr(o)){var w="_"+(i.counter++).toString(36);i[w]=function(e){i[w].data=e,i[w].called=!0};var x=a(s.replace("JSON_CALLBACK","angular.callbacks."+w),w,function(e,t){b(l,e,i[w].data,"",t),i[w]=h})}else{var k=t(o,s);k.open(o,s,!0),r(c,function(e,t){$(e)&&k.setRequestHeader(t,e)}),k.onload=function(){var e=k.statusText||"",t="response"in k?k.response:k.responseText,n=1223===k.status?204:k.status;0===n&&(n=t?200:"file"==On(s).protocol?404:0),b(l,n,t,k.getAllResponseHeaders(),e)};var C=function(){b(l,-1,null,null,"")};if(k.onerror=C,k.onabort=C,r(m,function(e,t){k.addEventListener(t,e)}),r(g,function(e,t){k.upload.addEventListener(t,e)}),d&&(k.withCredentials=!0),p)try{k.responseType=p}catch(S){if("json"!==p)throw S}k.send(v(u)?null:u)}if(f>0)var _=n(y,f);else O(f)&&f.then(y)}}function It(){var e="{{",t="}}";this.startSymbol=function(t){return t?(e=t,this):e},this.endSymbol=function(e){return e?(t=e,this):t},this.$get=["$parse","$exceptionHandler","$sce",function(n,r,i){function o(e){return"\\\\\\"+e}function a(n){return n.replace(h,e).replace(p,t)}function s(e){if(null==e)return""; +switch(typeof e){case"string":break;case"number":e=""+e;break;default:e=W(e)}return e}function u(e,t,n,r){var i;return i=e.$watch(function(e){return i(),r(e)},t,n)}function c(o,c,h,p){function g(e){try{return e=O(e),p&&!$(e)?e:s(e)}catch(t){r(no.interr(o,t))}}if(!o.length||-1===o.indexOf(e)){var y;if(!c){var b=a(o);y=m(b),y.exp=o,y.expressions=[],y.$$watchDelegate=u}return y}p=!!p;for(var w,x,k,S=0,_=[],E=[],D=o.length,M=[],T=[];D>S;){if(-1==(w=o.indexOf(e,S))||-1==(x=o.indexOf(t,w+f))){S!==D&&M.push(a(o.substring(S)));break}S!==w&&M.push(a(o.substring(S,w))),k=o.substring(w+f,x),_.push(k),E.push(n(k,g)),S=x+d,T.push(M.length),M.push("")}if(h&&M.length>1&&no.throwNoconcat(o),!c||_.length){var A=function(e){for(var t=0,n=_.length;n>t;t++){if(p&&v(e[t]))return;M[T[t]]=e[t]}return M.join("")},O=function(e){return h?i.getTrusted(h,e):i.valueOf(e)};return l(function(e){var t=0,n=_.length,i=new Array(n);try{for(;n>t;t++)i[t]=E[t](e);return A(i)}catch(a){r(no.interr(o,a))}},{exp:o,expressions:_,$$watchDelegate:function(e,t){var n;return e.$watchGroup(E,function(r,i){var o=A(r);C(t)&&t.call(this,o,r!==i?n:o,e),n=o})}})}}var f=e.length,d=t.length,h=new RegExp(e.replace(/./g,o),"g"),p=new RegExp(t.replace(/./g,o),"g");return c.startSymbol=function(){return e},c.endSymbol=function(){return t},c}]}function Pt(){this.$get=["$rootScope","$window","$q","$$q","$browser",function(e,t,n,r,i){function o(o,s,u,l){function c(){f?o.apply(null,d):o(m)}var f=arguments.length>4,d=f?H(arguments,4):[],h=t.setInterval,p=t.clearInterval,m=0,g=$(l)&&!l,v=(g?r:n).defer(),y=v.promise;return u=$(u)?u:0,y.$$intervalId=h(function(){g?i.defer(c):e.$evalAsync(c),v.notify(m++),u>0&&m>=u&&(v.resolve(m),p(y.$$intervalId),delete a[y.$$intervalId]),g||e.$apply()},s),a[y.$$intervalId]=v,y}var a={};return o.cancel=function(e){return e&&e.$$intervalId in a?(a[e.$$intervalId].reject("canceled"),t.clearInterval(e.$$intervalId),delete a[e.$$intervalId],!0):!1},o}]}function jt(e){for(var t=e.split("/"),n=t.length;n--;)t[n]=te(t[n]);return t.join("/")}function Lt(e,t){var n=On(e);t.$$protocol=n.protocol,t.$$host=n.hostname,t.$$port=f(n.port)||io[n.protocol]||null}function Rt(e,t){var n="/"!==e.charAt(0);n&&(e="/"+e);var r=On(e);t.$$path=decodeURIComponent(n&&"/"===r.pathname.charAt(0)?r.pathname.substring(1):r.pathname),t.$$search=K(r.search),t.$$hash=decodeURIComponent(r.hash),t.$$path&&"/"!=t.$$path.charAt(0)&&(t.$$path="/"+t.$$path)}function Ut(e,t){return 0===t.indexOf(e)?t.substr(e.length):void 0}function Vt(e){var t=e.indexOf("#");return-1==t?e:e.substr(0,t)}function zt(e){return e.replace(/(#.+)|#$/,"$1")}function Ht(e){return e.substr(0,Vt(e).lastIndexOf("/")+1)}function qt(e){return e.substring(0,e.indexOf("/",e.indexOf("//")+2))}function Yt(e,t,n){this.$$html5=!0,n=n||"",Lt(e,this),this.$$parse=function(e){var n=Ut(t,e);if(!w(n))throw oo("ipthprfx",'Invalid url "{0}", missing path prefix "{1}".',e,t);Rt(n,this),this.$$path||(this.$$path="/"),this.$$compose()},this.$$compose=function(){var e=ee(this.$$search),n=this.$$hash?"#"+te(this.$$hash):"";this.$$url=jt(this.$$path)+(e?"?"+e:"")+n,this.$$absUrl=t+this.$$url.substr(1)},this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;var o,a,s;return $(o=Ut(e,r))?(a=o,s=$(o=Ut(n,o))?t+(Ut("/",o)||o):e+a):$(o=Ut(t,r))?s=t+o:t==r+"/"&&(s=t),s&&this.$$parse(s),!!s}}function Wt(e,t,n){Lt(e,this),this.$$parse=function(r){function i(e,t,n){var r,i=/^\/[A-Z]:(\/.*)/;return 0===t.indexOf(n)&&(t=t.replace(n,"")),i.exec(t)?e:(r=i.exec(e),r?r[1]:e)}var o,a=Ut(e,r)||Ut(t,r);v(a)||"#"!==a.charAt(0)?this.$$html5?o=a:(o="",v(a)&&(e=r,this.replace())):(o=Ut(n,a),v(o)&&(o=a)),Rt(o,this),this.$$path=i(this.$$path,o,e),this.$$compose()},this.$$compose=function(){var t=ee(this.$$search),r=this.$$hash?"#"+te(this.$$hash):"";this.$$url=jt(this.$$path)+(t?"?"+t:"")+r,this.$$absUrl=e+(this.$$url?n+this.$$url:"")},this.$$parseLinkUrl=function(t,n){return Vt(e)==Vt(t)?(this.$$parse(t),!0):!1}}function Bt(e,t,n){this.$$html5=!0,Wt.apply(this,arguments),this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;var o,a;return e==Vt(r)?o=r:(a=Ut(t,r))?o=e+n+a:t===r+"/"&&(o=t),o&&this.$$parse(o),!!o},this.$$compose=function(){var t=ee(this.$$search),r=this.$$hash?"#"+te(this.$$hash):"";this.$$url=jt(this.$$path)+(t?"?"+t:"")+r,this.$$absUrl=e+n+this.$$url}}function Gt(e){return function(){return this[e]}}function Zt(e,t){return function(n){return v(n)?this[e]:(this[e]=t(n),this.$$compose(),this)}}function Qt(){var e="",t={enabled:!1,requireBase:!0,rewriteLinks:!0};this.hashPrefix=function(t){return $(t)?(e=t,this):e},this.html5Mode=function(e){return A(e)?(t.enabled=e,this):y(e)?(A(e.enabled)&&(t.enabled=e.enabled),A(e.requireBase)&&(t.requireBase=e.requireBase),A(e.rewriteLinks)&&(t.rewriteLinks=e.rewriteLinks),this):t},this.$get=["$rootScope","$browser","$sniffer","$rootElement","$window",function(n,r,i,o,a){function s(e,t,n){var i=l.url(),o=l.$$state;try{r.url(e,t,n),l.$$state=r.state()}catch(a){throw l.url(i),l.$$state=o,a}}function u(e,t){n.$broadcast("$locationChangeSuccess",l.absUrl(),e,l.$$state,t)}var l,c,f,d=r.baseHref(),h=r.url();if(t.enabled){if(!d&&t.requireBase)throw oo("nobase","$location in HTML5 mode requires a tag to be present!");f=qt(h)+(d||"/"),c=i.history?Yt:Bt}else f=Vt(h),c=Wt;var p=Ht(f);l=new c(f,p,"#"+e),l.$$parseLinkUrl(h,h),l.$$state=r.state();var m=/^\s*(javascript|mailto):/i;o.on("click",function(e){if(t.rewriteLinks&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey&&2!=e.which&&2!=e.button){for(var i=Ir(e.target);"a"!==j(i[0]);)if(i[0]===o[0]||!(i=i.parent())[0])return;var s=i.prop("href"),u=i.attr("href")||i.attr("xlink:href");y(s)&&"[object SVGAnimatedString]"===s.toString()&&(s=On(s.animVal).href),m.test(s)||!s||i.attr("target")||e.isDefaultPrevented()||l.$$parseLinkUrl(s,u)&&(e.preventDefault(),l.absUrl()!=r.url()&&(n.$apply(),a.angular["ff-684208-preventDefault"]=!0))}}),zt(l.absUrl())!=zt(h)&&r.url(l.absUrl(),!0);var g=!0;return r.onUrlChange(function(e,t){return v(Ut(p,e))?void(a.location.href=e):(n.$evalAsync(function(){var r,i=l.absUrl(),o=l.$$state;e=zt(e),l.$$parse(e),l.$$state=t,r=n.$broadcast("$locationChangeStart",e,i,t,o).defaultPrevented,l.absUrl()===e&&(r?(l.$$parse(i),l.$$state=o,s(i,!1,o)):(g=!1,u(i,o)))}),void(n.$$phase||n.$digest()))}),n.$watch(function(){var e=zt(r.url()),t=zt(l.absUrl()),o=r.state(),a=l.$$replace,c=e!==t||l.$$html5&&i.history&&o!==l.$$state;(g||c)&&(g=!1,n.$evalAsync(function(){var t=l.absUrl(),r=n.$broadcast("$locationChangeStart",t,e,l.$$state,o).defaultPrevented;l.absUrl()===t&&(r?(l.$$parse(e),l.$$state=o):(c&&s(t,a,o===l.$$state?null:l.$$state),u(e,o)))})),l.$$replace=!1}),l}]}function Jt(){var e=!0,t=this;this.debugEnabled=function(t){return $(t)?(e=t,this):e},this.$get=["$window",function(n){function i(e){return e instanceof Error&&(e.stack?e=e.message&&-1===e.stack.indexOf(e.message)?"Error: "+e.message+"\n"+e.stack:e.stack:e.sourceURL&&(e=e.message+"\n"+e.sourceURL+":"+e.line)),e}function o(e){var t=n.console||{},o=t[e]||t.log||h,a=!1;try{a=!!o.apply}catch(s){}return a?function(){var e=[];return r(arguments,function(t){e.push(i(t))}),o.apply(t,e)}:function(e,t){o(e,null==t?"":t)}}return{log:o("log"),info:o("info"),warn:o("warn"),error:o("error"),debug:function(){var n=o("debug");return function(){e&&n.apply(t,arguments)}}()}}]}function Xt(e,t){if("__defineGetter__"===e||"__defineSetter__"===e||"__lookupGetter__"===e||"__lookupSetter__"===e||"__proto__"===e)throw so("isecfld","Attempting to access a disallowed field in Angular expressions! Expression: {0}",t);return e}function Kt(e){return e+""}function en(e,t){if(e){if(e.constructor===e)throw so("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",t);if(e.window===e)throw so("isecwindow","Referencing the Window in Angular expressions is disallowed! Expression: {0}",t);if(e.children&&(e.nodeName||e.prop&&e.attr&&e.find))throw so("isecdom","Referencing DOM nodes in Angular expressions is disallowed! Expression: {0}",t);if(e===Object)throw so("isecobj","Referencing Object in Angular expressions is disallowed! Expression: {0}",t)}return e}function tn(e,t){if(e){if(e.constructor===e)throw so("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",t);if(e===uo||e===lo||e===co)throw so("isecff","Referencing call, apply or bind in Angular expressions is disallowed! Expression: {0}",t)}}function nn(e,t){if(e&&(e===0..constructor||e===(!1).constructor||e==="".constructor||e==={}.constructor||e===[].constructor||e===Function.constructor))throw so("isecaf","Assigning to a constructor is disallowed! Expression: {0}",t)}function rn(e,t){return"undefined"!=typeof e?e:t}function on(e,t){return"undefined"==typeof e?t:"undefined"==typeof t?e:e+t}function an(e,t){var n=e(t);return!n.$stateful}function sn(e,t){var n,i;switch(e.type){case mo.Program:n=!0,r(e.body,function(e){sn(e.expression,t),n=n&&e.expression.constant}),e.constant=n;break;case mo.Literal:e.constant=!0,e.toWatch=[];break;case mo.UnaryExpression:sn(e.argument,t),e.constant=e.argument.constant,e.toWatch=e.argument.toWatch;break;case mo.BinaryExpression:sn(e.left,t),sn(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.left.toWatch.concat(e.right.toWatch);break;case mo.LogicalExpression:sn(e.left,t),sn(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.constant?[]:[e];break;case mo.ConditionalExpression:sn(e.test,t),sn(e.alternate,t),sn(e.consequent,t),e.constant=e.test.constant&&e.alternate.constant&&e.consequent.constant,e.toWatch=e.constant?[]:[e];break;case mo.Identifier:e.constant=!1,e.toWatch=[e];break;case mo.MemberExpression:sn(e.object,t),e.computed&&sn(e.property,t),e.constant=e.object.constant&&(!e.computed||e.property.constant),e.toWatch=[e];break;case mo.CallExpression:n=e.filter?an(t,e.callee.name):!1,i=[],r(e.arguments,function(e){sn(e,t),n=n&&e.constant,e.constant||i.push.apply(i,e.toWatch)}),e.constant=n,e.toWatch=e.filter&&an(t,e.callee.name)?i:[e];break;case mo.AssignmentExpression:sn(e.left,t),sn(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=[e];break;case mo.ArrayExpression:n=!0,i=[],r(e.elements,function(e){sn(e,t),n=n&&e.constant,e.constant||i.push.apply(i,e.toWatch)}),e.constant=n,e.toWatch=i;break;case mo.ObjectExpression:n=!0,i=[],r(e.properties,function(e){sn(e.value,t),n=n&&e.value.constant,e.value.constant||i.push.apply(i,e.value.toWatch)}),e.constant=n,e.toWatch=i;break;case mo.ThisExpression:e.constant=!1,e.toWatch=[];break;case mo.LocalsExpression:e.constant=!1,e.toWatch=[]}}function un(e){if(1==e.length){var t=e[0].expression,n=t.toWatch;return 1!==n.length?n:n[0]!==t?n:void 0}}function ln(e){return e.type===mo.Identifier||e.type===mo.MemberExpression}function cn(e){return 1===e.body.length&&ln(e.body[0].expression)?{type:mo.AssignmentExpression,left:e.body[0].expression,right:{type:mo.NGValueParameter},operator:"="}:void 0}function fn(e){return 0===e.body.length||1===e.body.length&&(e.body[0].expression.type===mo.Literal||e.body[0].expression.type===mo.ArrayExpression||e.body[0].expression.type===mo.ObjectExpression)}function dn(e){return e.constant}function hn(e,t){this.astBuilder=e,this.$filter=t}function pn(e,t){this.astBuilder=e,this.$filter=t}function mn(e){return"constructor"==e}function gn(e){return C(e.valueOf)?e.valueOf():vo.call(e)}function vn(){var e,t,n=me(),i=me(),o={"true":!0,"false":!1,"null":null,undefined:void 0};this.addLiteral=function(e,t){o[e]=t},this.setIdentifierFns=function(n,r){return e=n,t=r,this},this.$get=["$filter",function(a){function s(e,t,r){var o,s,l;switch(r=r||b,typeof e){case"string":e=e.trim(),l=e;var g=r?i:n;if(o=g[l],!o){":"===e.charAt(0)&&":"===e.charAt(1)&&(s=!0,e=e.substring(2));var $=r?y:v,w=new po($),x=new go(w,a,$);o=x.parse(e),o.constant?o.$$watchDelegate=p:s?o.$$watchDelegate=o.literal?d:f:o.inputs&&(o.$$watchDelegate=c),r&&(o=u(o)),g[l]=o}return m(o,t);case"function":return m(e,t);default:return m(h,t)}}function u(e){function t(t,n,r,i){var o=b;b=!0;try{return e(t,n,r,i)}finally{b=o}}if(!e)return e;t.$$watchDelegate=e.$$watchDelegate,t.assign=u(e.assign),t.constant=e.constant,t.literal=e.literal;for(var n=0;e.inputs&&nf;f++)u[f]=l,c[f]=null;return e.$watch(function(e){for(var t=!1,n=0,i=a.length;i>n;n++){var s=a[n](e);(t||(t=!l(s,u[n])))&&(c[n]=s,u[n]=s&&gn(s))}return t&&(o=r(e,void 0,void 0,c)),o},t,n,i)}function f(e,t,n,r){var i,o;return i=e.$watch(function(e){return r(e)},function(e,n,r){o=e,C(t)&&t.apply(this,arguments),$(e)&&r.$$postDigest(function(){$(o)&&i()})},n)}function d(e,t,n,i){function o(e){var t=!0;return r(e,function(e){$(e)||(t=!1)}),t}var a,s;return a=e.$watch(function(e){return i(e)},function(e,n,r){s=e,C(t)&&t.call(this,e,n,r),o(e)&&r.$$postDigest(function(){o(s)&&a()})},n)}function p(e,t,n,r){var i;return i=e.$watch(function(e){return i(),r(e)},t,n)}function m(e,t){if(!t)return e;var n=e.$$watchDelegate,r=!1,i=n!==d&&n!==f,o=i?function(n,i,o,a){var s=r&&a?a[0]:e(n,i,o,a);return t(s,n,i)}:function(n,r,i,o){var a=e(n,r,i,o),s=t(a,n,r);return $(a)?s:a};return e.$$watchDelegate&&e.$$watchDelegate!==c?o.$$watchDelegate=e.$$watchDelegate:t.$stateful||(o.$$watchDelegate=c,r=!e.inputs,o.inputs=e.inputs?e.inputs:[e]),o}var g=Qr().noUnsafeEval,v={csp:g,expensiveChecks:!1,literals:R(o),isIdentifierStart:C(e)&&e,isIdentifierContinue:C(t)&&t},y={csp:g,expensiveChecks:!0,literals:R(o),isIdentifierStart:C(e)&&e,isIdentifierContinue:C(t)&&t},b=!1;return s.$$runningExpensiveChecks=function(){return b},s}]}function $n(){this.$get=["$rootScope","$exceptionHandler",function(e,t){return bn(function(t){e.$evalAsync(t)},t)}]}function yn(){this.$get=["$browser","$exceptionHandler",function(e,t){return bn(function(t){e.defer(t)},t)}]}function bn(e,n){function i(){this.$$state={status:0}}function o(e,t){return function(n){t.call(e,n)}}function a(e){var t,r,i;i=e.pending,e.processScheduled=!1,e.pending=void 0;for(var o=0,a=i.length;a>o;++o){r=i[o][0],t=i[o][e.status];try{C(t)?r.resolve(t(e.value)):1===e.status?r.resolve(e.value):r.reject(e.value)}catch(s){r.reject(s),n(s)}}}function s(t){!t.processScheduled&&t.pending&&(t.processScheduled=!0,e(function(){a(t)}))}function u(){this.promise=new i}function c(e){var t=new u,n=0,i=Wr(e)?[]:{};return r(e,function(e,r){n++,g(e).then(function(e){i.hasOwnProperty(r)||(i[r]=e,--n||t.resolve(i))},function(e){i.hasOwnProperty(r)||t.reject(e)})}),0===n&&t.resolve(i),t.promise}var f=t("$q",TypeError),d=function(){var e=new u;return e.resolve=o(e,e.resolve),e.reject=o(e,e.reject),e.notify=o(e,e.notify),e};l(i.prototype,{then:function(e,t,n){if(v(e)&&v(t)&&v(n))return this;var r=new u;return this.$$state.pending=this.$$state.pending||[],this.$$state.pending.push([r,e,t,n]),this.$$state.status>0&&s(this.$$state),r.promise},"catch":function(e){return this.then(null,e)},"finally":function(e,t){return this.then(function(t){return m(t,!0,e)},function(t){return m(t,!1,e)},t)}}),l(u.prototype,{resolve:function(e){this.promise.$$state.status||(e===this.promise?this.$$reject(f("qcycle","Expected promise to be resolved with value other than itself '{0}'",e)):this.$$resolve(e))},$$resolve:function(e){function t(e){u||(u=!0,a.$$resolve(e))}function r(e){u||(u=!0,a.$$reject(e))}var i,a=this,u=!1;try{(y(e)||C(e))&&(i=e&&e.then),C(i)?(this.promise.$$state.status=-1,i.call(e,t,r,o(this,this.notify))):(this.promise.$$state.value=e,this.promise.$$state.status=1,s(this.promise.$$state))}catch(l){r(l),n(l)}},reject:function(e){this.promise.$$state.status||this.$$reject(e)},$$reject:function(e){this.promise.$$state.value=e,this.promise.$$state.status=2,s(this.promise.$$state)},notify:function(t){var r=this.promise.$$state.pending;this.promise.$$state.status<=0&&r&&r.length&&e(function(){for(var e,i,o=0,a=r.length;a>o;o++){i=r[o][0],e=r[o][3];try{i.notify(C(e)?e(t):t)}catch(s){n(s)}}})}});var h=function(e){var t=new u;return t.reject(e),t.promise},p=function(e,t){var n=new u;return t?n.resolve(e):n.reject(e),n.promise},m=function(e,t,n){var r=null;try{C(n)&&(r=n())}catch(i){return p(i,!1)}return O(r)?r.then(function(){return p(e,t)},function(e){return p(e,!1)}):p(e,t)},g=function(e,t,n,r){var i=new u;return i.resolve(e),i.promise.then(t,n,r)},$=g,b=function(e){function t(e){r.resolve(e)}function n(e){r.reject(e)}if(!C(e))throw f("norslvr","Expected resolverFn, got '{0}'",e);var r=new u;return e(t,n),r.promise};return b.prototype=i.prototype,b.defer=d,b.reject=h,b.when=g,b.resolve=$,b.all=c,b}function wn(){this.$get=["$window","$timeout",function(e,t){var n=e.requestAnimationFrame||e.webkitRequestAnimationFrame,r=e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.webkitCancelRequestAnimationFrame,i=!!n,o=i?function(e){var t=n(e);return function(){r(t)}}:function(e){var n=t(e,16.66,!1);return function(){t.cancel(n)}};return o.supported=i,o}]}function xn(){function e(e){function t(){this.$$watchers=this.$$nextSibling=this.$$childHead=this.$$childTail=null,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$id=a(),this.$$ChildScope=null}return t.prototype=e,t}var i=10,o=t("$rootScope"),s=null,u=null;this.digestTtl=function(e){return arguments.length&&(i=e),i},this.$get=["$exceptionHandler","$parse","$browser",function(t,l,c){function f(e){e.currentScope.$$destroyed=!0}function d(e){9===Nr&&(e.$$childHead&&d(e.$$childHead),e.$$nextSibling&&d(e.$$nextSibling)),e.$parent=e.$$nextSibling=e.$$prevSibling=e.$$childHead=e.$$childTail=e.$root=e.$$watchers=null}function p(){this.$id=a(),this.$$phase=this.$parent=this.$$watchers=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=null,this.$root=this,this.$$destroyed=!1,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$$isolateBindings=null}function m(e){if(S.$$phase)throw o("inprog","{0} already in progress",S.$$phase);S.$$phase=e}function g(){S.$$phase=null}function $(e,t){do e.$$watchersCount+=t;while(e=e.$parent)}function b(e,t,n){do e.$$listenerCount[n]-=t,0===e.$$listenerCount[n]&&delete e.$$listenerCount[n];while(e=e.$parent)}function w(){}function x(){for(;D.length;)try{D.shift()()}catch(e){t(e)}u=null}function k(){null===u&&(u=c.defer(function(){S.$apply(x)}))}p.prototype={constructor:p,$new:function(t,n){var r;return n=n||this,t?(r=new p,r.$root=this.$root):(this.$$ChildScope||(this.$$ChildScope=e(this)),r=new this.$$ChildScope),r.$parent=n,r.$$prevSibling=n.$$childTail,n.$$childHead?(n.$$childTail.$$nextSibling=r,n.$$childTail=r):n.$$childHead=n.$$childTail=r,(t||n!=this)&&r.$on("$destroy",f),r},$watch:function(e,t,n,r){var i=l(e);if(i.$$watchDelegate)return i.$$watchDelegate(this,t,n,i,e);var o=this,a=o.$$watchers,u={fn:t,last:w,get:i,exp:r||e,eq:!!n};return s=null,C(t)||(u.fn=h),a||(a=o.$$watchers=[]),a.unshift(u),$(this,1),function(){L(a,u)>=0&&$(o,-1),s=null}},$watchGroup:function(e,t){function n(){u=!1,l?(l=!1,t(o,o,s)):t(o,i,s)}var i=new Array(e.length),o=new Array(e.length),a=[],s=this,u=!1,l=!0;if(!e.length){var c=!0;return s.$evalAsync(function(){c&&t(o,o,s)}),function(){c=!1}}return 1===e.length?this.$watch(e[0],function(e,n,r){o[0]=e,i[0]=n,t(o,e===n?o:i,r)}):(r(e,function(e,t){var r=s.$watch(e,function(e,r){o[t]=e,i[t]=r,u||(u=!0,s.$evalAsync(n))});a.push(r)}),function(){for(;a.length;)a.shift()()})},$watchCollection:function(e,t){function r(e){o=e;var t,r,i,s,u;if(!v(o)){if(y(o))if(n(o)){a!==h&&(a=h,g=a.length=0,f++),t=o.length,g!==t&&(f++,a.length=g=t);for(var l=0;t>l;l++)u=a[l],s=o[l],i=u!==u&&s!==s,i||u===s||(f++,a[l]=s)}else{a!==p&&(a=p={},g=0,f++),t=0;for(r in o)Mr.call(o,r)&&(t++,s=o[r],u=a[r],r in a?(i=u!==u&&s!==s,i||u===s||(f++,a[r]=s)):(g++,a[r]=s,f++));if(g>t){f++;for(r in a)Mr.call(o,r)||(g--,delete a[r])}}else a!==o&&(a=o,f++);return f}}function i(){if(m?(m=!1,t(o,o,u)):t(o,s,u),c)if(y(o))if(n(o)){s=new Array(o.length);for(var e=0;e1,f=0,d=l(e,r),h=[],p={},m=!0,g=0;return this.$watch(d,i)},$digest:function(){var e,n,r,a,l,f,d,h,p,v,$,y,b=i,k=this,D=[];m("$digest"),c.$$checkUrlChange(),this===S&&null!==u&&(c.defer.cancel(u),x()),s=null;do{for(h=!1,v=k;_.length;){try{y=_.shift(),y.scope.$eval(y.expression,y.locals)}catch(M){t(M)}s=null}e:do{if(f=v.$$watchers)for(d=f.length;d--;)try{if(e=f[d])if(l=e.get,(n=l(v))===(r=e.last)||(e.eq?V(n,r):"number"==typeof n&&"number"==typeof r&&isNaN(n)&&isNaN(r))){if(e===s){h=!1;break e}}else h=!0,s=e,e.last=e.eq?R(n,null):n,a=e.fn,a(n,r===w?n:r,v),5>b&&($=4-b,D[$]||(D[$]=[]),D[$].push({msg:C(e.exp)?"fn: "+(e.exp.name||e.exp.toString()):e.exp,newVal:n,oldVal:r}))}catch(M){t(M)}if(!(p=v.$$watchersCount&&v.$$childHead||v!==k&&v.$$nextSibling))for(;v!==k&&!(p=v.$$nextSibling);)v=v.$parent}while(v=p);if((h||_.length)&&!b--)throw g(),o("infdig","{0} $digest() iterations reached. Aborting!\nWatchers fired in the last 5 iterations: {1}",i,D)}while(h||_.length);for(g();E.length;)try{E.shift()()}catch(M){t(M)}},$destroy:function(){if(!this.$$destroyed){var e=this.$parent;this.$broadcast("$destroy"),this.$$destroyed=!0,this===S&&c.$$applicationDestroyed(),$(this,-this.$$watchersCount);for(var t in this.$$listenerCount)b(this,this.$$listenerCount[t],t);e&&e.$$childHead==this&&(e.$$childHead=this.$$nextSibling),e&&e.$$childTail==this&&(e.$$childTail=this.$$prevSibling),this.$$prevSibling&&(this.$$prevSibling.$$nextSibling=this.$$nextSibling),this.$$nextSibling&&(this.$$nextSibling.$$prevSibling=this.$$prevSibling),this.$destroy=this.$digest=this.$apply=this.$evalAsync=this.$applyAsync=h,this.$on=this.$watch=this.$watchGroup=function(){return h},this.$$listeners={},this.$$nextSibling=null,d(this)}},$eval:function(e,t){return l(e)(this,t)},$evalAsync:function(e,t){S.$$phase||_.length||c.defer(function(){_.length&&S.$digest()}),_.push({scope:this,expression:l(e),locals:t})},$$postDigest:function(e){E.push(e)},$apply:function(e){try{m("$apply");try{return this.$eval(e)}finally{g()}}catch(n){t(n)}finally{try{S.$digest()}catch(n){throw t(n),n}}},$applyAsync:function(e){function t(){n.$eval(e)}var n=this;e&&D.push(t),e=l(e),k()},$on:function(e,t){var n=this.$$listeners[e];n||(this.$$listeners[e]=n=[]),n.push(t);var r=this;do r.$$listenerCount[e]||(r.$$listenerCount[e]=0),r.$$listenerCount[e]++;while(r=r.$parent);var i=this;return function(){var r=n.indexOf(t);-1!==r&&(n[r]=null,b(i,1,e))}},$emit:function(e,n){var r,i,o,a=[],s=this,u=!1,l={name:e,targetScope:s,stopPropagation:function(){u=!0},preventDefault:function(){l.defaultPrevented=!0},defaultPrevented:!1},c=z([l],arguments,1);do{for(r=s.$$listeners[e]||a,l.currentScope=s,i=0,o=r.length;o>i;i++)if(r[i])try{r[i].apply(null,c)}catch(f){t(f)}else r.splice(i,1),i--,o--;if(u)return l.currentScope=null,l;s=s.$parent}while(s);return l.currentScope=null,l},$broadcast:function(e,n){var r=this,i=r,o=r,a={name:e,targetScope:r,preventDefault:function(){a.defaultPrevented=!0},defaultPrevented:!1};if(!r.$$listenerCount[e])return a;for(var s,u,l,c=z([a],arguments,1);i=o;){for(a.currentScope=i,s=i.$$listeners[e]||[],u=0,l=s.length;l>u;u++)if(s[u])try{s[u].apply(null,c)}catch(f){t(f)}else s.splice(u,1),u--,l--;if(!(o=i.$$listenerCount[e]&&i.$$childHead||i!==r&&i.$$nextSibling))for(;i!==r&&!(o=i.$$nextSibling);)i=i.$parent}return a.currentScope=null,a}};var S=new p,_=S.$$asyncQueue=[],E=S.$$postDigestQueue=[],D=S.$$applyAsyncQueue=[];return S}]}function kn(){var e=/^\s*(https?|ftp|mailto|tel|file):/,t=/^\s*((https?|ftp|file|blob):|data:image\/)/;this.aHrefSanitizationWhitelist=function(t){return $(t)?(e=t,this):e},this.imgSrcSanitizationWhitelist=function(e){return $(e)?(t=e,this):t},this.$get=function(){return function(n,r){var i,o=r?t:e;return i=On(n).href,""===i||i.match(o)?n:"unsafe:"+i}}}function Cn(e){if("self"===e)return e;if(w(e)){if(e.indexOf("***")>-1)throw $o("iwcard","Illegal sequence *** in string matcher. String: {0}",e);return e=Zr(e).replace("\\*\\*",".*").replace("\\*","[^:/.?&;]*"),new RegExp("^"+e+"$")}if(S(e))return new RegExp("^"+e.source+"$");throw $o("imatcher",'Matchers may only be "self", string patterns or RegExp objects')}function Sn(e){var t=[];return $(e)&&r(e,function(e){t.push(Cn(e))}),t}function _n(){this.SCE_CONTEXTS=yo;var e=["self"],t=[];this.resourceUrlWhitelist=function(t){return arguments.length&&(e=Sn(t)),e},this.resourceUrlBlacklist=function(e){return arguments.length&&(t=Sn(e)),t},this.$get=["$injector",function(n){function r(e,t){return"self"===e?Fn(t):!!e.exec(t.href)}function i(n){var i,o,a=On(n.toString()),s=!1;for(i=0,o=e.length;o>i;i++)if(r(e[i],a)){s=!0;break}if(s)for(i=0,o=t.length;o>i;i++)if(r(t[i],a)){s=!1;break}return s}function o(e){var t=function(e){this.$$unwrapTrustedValue=function(){return e}};return e&&(t.prototype=new e),t.prototype.valueOf=function(){return this.$$unwrapTrustedValue()},t.prototype.toString=function(){return this.$$unwrapTrustedValue().toString()},t}function a(e,t){var n=f.hasOwnProperty(e)?f[e]:null;if(!n)throw $o("icontext","Attempted to trust a value in invalid context. Context: {0}; Value: {1}",e,t);if(null===t||v(t)||""===t)return t;if("string"!=typeof t)throw $o("itype","Attempted to trust a non-string value in a content requiring a string: Context: {0}",e);return new n(t)}function s(e){return e instanceof c?e.$$unwrapTrustedValue():e}function u(e,t){if(null===t||v(t)||""===t)return t;var n=f.hasOwnProperty(e)?f[e]:null;if(n&&t instanceof n)return t.$$unwrapTrustedValue();if(e===yo.RESOURCE_URL){if(i(t))return t;throw $o("insecurl","Blocked loading resource from url not allowed by $sceDelegate policy. URL: {0}",t.toString())}if(e===yo.HTML)return l(t);throw $o("unsafe","Attempting to use an unsafe value in a safe context.")}var l=function(e){throw $o("unsafe","Attempting to use an unsafe value in a safe context.")};n.has("$sanitize")&&(l=n.get("$sanitize"));var c=o(),f={};return f[yo.HTML]=o(c),f[yo.CSS]=o(c),f[yo.URL]=o(c),f[yo.JS]=o(c),f[yo.RESOURCE_URL]=o(f[yo.URL]),{trustAs:a,getTrusted:u,valueOf:s}}]}function En(){var e=!0;this.enabled=function(t){return arguments.length&&(e=!!t),e},this.$get=["$parse","$sceDelegate",function(t,n){if(e&&8>Nr)throw $o("iequirks","Strict Contextual Escaping does not support Internet Explorer version < 11 in quirks mode. You can fix this by adding the text to the top of your HTML document. See http://docs.angularjs.org/api/ng.$sce for more information.");var i=U(yo);i.isEnabled=function(){return e},i.trustAs=n.trustAs,i.getTrusted=n.getTrusted,i.valueOf=n.valueOf,e||(i.trustAs=i.getTrusted=function(e,t){return t},i.valueOf=p),i.parseAs=function(e,n){var r=t(n);return r.literal&&r.constant?r:t(n,function(t){return i.getTrusted(e,t)})};var o=i.parseAs,a=i.getTrusted,s=i.trustAs;return r(yo,function(e,t){var n=Tr(t);i[we("parse_as_"+n)]=function(t){return o(e,t)},i[we("get_trusted_"+n)]=function(t){return a(e,t)},i[we("trust_as_"+n)]=function(t){return s(e,t)}}),i}]}function Dn(){this.$get=["$window","$document",function(e,t){var n,r,i={},o=e.chrome&&e.chrome.app&&e.chrome.app.runtime,a=!o&&e.history&&e.history.pushState,s=f((/android (\d+)/.exec(Tr((e.navigator||{}).userAgent))||[])[1]),u=/Boxee/i.test((e.navigator||{}).userAgent),l=t[0]||{},c=/^(Moz|webkit|ms)(?=[A-Z])/,d=l.body&&l.body.style,h=!1,p=!1;if(d){for(var m in d)if(r=c.exec(m)){n=r[0],n=n.substr(0,1).toUpperCase()+n.substr(1);break}n||(n="WebkitOpacity"in d&&"webkit"),h=!!("transition"in d||n+"Transition"in d),p=!!("animation"in d||n+"Animation"in d),!s||h&&p||(h=w(d.webkitTransition),p=w(d.webkitAnimation))}return{history:!(!a||4>s||u),hasEvent:function(e){if("input"===e&&11>=Nr)return!1;if(v(i[e])){var t=l.createElement("div");i[e]="on"+e in t}return i[e]},csp:Qr(),vendorPrefix:n,transitions:h,animations:p,android:s}}]}function Mn(){var e;this.httpOptions=function(t){return t?(e=t,this):e},this.$get=["$templateCache","$http","$q","$sce",function(t,n,r,i){function o(a,s){function u(e){if(!s)throw bo("tpload","Failed to load template: {0} (HTTP status: {1} {2})",a,e.status,e.statusText);return r.reject(e)}o.totalPendingRequests++,w(a)&&t.get(a)||(a=i.getTrustedResourceUrl(a));var c=n.defaults&&n.defaults.transformResponse;return Wr(c)?c=c.filter(function(e){return e!==St}):c===St&&(c=null),n.get(a,l({cache:t,transformResponse:c},e))["finally"](function(){o.totalPendingRequests--}).then(function(e){return t.put(a,e.data),e.data},u)}return o.totalPendingRequests=0,o}]}function Tn(){this.$get=["$rootScope","$browser","$location",function(e,t,n){var i={};return i.findBindings=function(e,t,n){var i=e.getElementsByClassName("ng-binding"),o=[];return r(i,function(e){var i=qr.element(e).data("$binding");i&&r(i,function(r){if(n){var i=new RegExp("(^|\\s)"+Zr(t)+"(\\s|\\||$)");i.test(r)&&o.push(e)}else-1!=r.indexOf(t)&&o.push(e)})}),o},i.findModels=function(e,t,n){for(var r=["ng-","data-ng-","ng\\:"],i=0;i0&&(u=t(o.substring(0,s)),v(r[u])&&(r[u]=t(o.substring(s+1))));return r}}function Pn(){this.$get=In}function jn(e){function t(i,o){if(y(i)){var a={};return r(i,function(e,n){a[n]=t(n,e)}),a}return e.factory(i+n,o)}var n="Filter";this.register=t,this.$get=["$injector",function(e){return function(t){return e.get(t+n)}}],t("currency",zn),t("date",rr),t("filter",Ln),t("json",ir),t("limitTo",or),t("lowercase",Mo),t("number",Hn),t("orderBy",ar),t("uppercase",To)}function Ln(){return function(e,r,i){if(!n(e)){if(null==e)return e;throw t("filter")("notarray","Expected array but received: {0}",e)}var o,a,s=Vn(r);switch(s){case"function":o=r;break;case"boolean":case"null":case"number":case"string":a=!0;case"object":o=Rn(r,i,a);break;default:return e}return Array.prototype.filter.call(e,o)}}function Rn(e,t,n){var r,i=y(e)&&"$"in e;return t===!0?t=V:C(t)||(t=function(e,t){return v(e)?!1:null===e||null===t?e===t:y(t)||y(e)&&!g(e)?!1:(e=Tr(""+e),t=Tr(""+t),-1!==e.indexOf(t))}),r=function(r){return i&&!y(r)?Un(r,e.$,t,!1):Un(r,e,t,n)}}function Un(e,t,n,r,i){var o=Vn(e),a=Vn(t);if("string"===a&&"!"===t.charAt(0))return!Un(e,t.substring(1),n,r);if(Wr(e))return e.some(function(e){return Un(e,t,n,r)});switch(o){case"object": +var s;if(r){for(s in e)if("$"!==s.charAt(0)&&Un(e[s],t,n,!0))return!0;return i?!1:Un(e,t,n,!1)}if("object"===a){for(s in t){var u=t[s];if(!C(u)&&!v(u)){var l="$"===s,c=l?e:e[s];if(!Un(c,u,n,l,l))return!1}}return!0}return n(e,t);case"function":return!1;default:return n(e,t)}}function Vn(e){return null===e?"null":typeof e}function zn(e){var t=e.NUMBER_FORMATS;return function(e,n,r){return v(n)&&(n=t.CURRENCY_SYM),v(r)&&(r=t.PATTERNS[1].maxFrac),null==e?e:Wn(e,t.PATTERNS[1],t.GROUP_SEP,t.DECIMAL_SEP,r).replace(/\u00A4/g,n)}}function Hn(e){var t=e.NUMBER_FORMATS;return function(e,n){return null==e?e:Wn(e,t.PATTERNS[0],t.GROUP_SEP,t.DECIMAL_SEP,n)}}function qn(e){var t,n,r,i,o,a=0;for((n=e.indexOf(Co))>-1&&(e=e.replace(Co,"")),(r=e.search(/e/i))>0?(0>n&&(n=r),n+=+e.slice(r+1),e=e.substring(0,r)):0>n&&(n=e.length),r=0;e.charAt(r)==So;r++);if(r==(o=e.length))t=[0],n=1;else{for(o--;e.charAt(o)==So;)o--;for(n-=r,t=[],i=0;o>=r;r++,i++)t[i]=+e.charAt(r)}return n>ko&&(t=t.splice(0,ko-1),a=n-1,n=1),{d:t,e:a,i:n}}function Yn(e,t,n,r){var i=e.d,o=i.length-e.i;t=v(t)?Math.min(Math.max(n,o),r):+t;var a=t+e.i,s=i[a];if(a>0){i.splice(Math.max(e.i,a));for(var u=a;ul;l++)i[l]=0}if(s>=5)if(0>a-1){for(var c=0;c>a;c--)i.unshift(0),e.i++;i.unshift(1),e.i++}else i[a-1]++;for(;of;)c.unshift(0),f++;f>0?h=c.splice(f):(h=c,c=[0]);var p=[];for(c.length>=t.lgSize&&p.unshift(c.splice(-t.lgSize).join(""));c.length>t.gSize;)p.unshift(c.splice(-t.gSize).join(""));c.length&&p.unshift(c.join("")),l=p.join(n),h.length&&(l+=r+h.join("")),d&&(l+="e+"+d)}return 0>e&&!s?t.negPre+l+t.negSuf:t.posPre+l+t.posSuf}function Bn(e,t,n,r){var i="";for((0>e||r&&0>=e)&&(r?e=-e+1:(e=-e,i="-")),e=""+e;e.length0||a>-n)&&(a+=n),0===a&&-12==n&&(a=12),Bn(a,t,r,i)}}function Zn(e,t,n){return function(r,i){var o=r["get"+e](),a=(n?"STANDALONE":"")+(t?"SHORT":""),s=Ar(a+e);return i[s][o]}}function Qn(e,t,n){var r=-1*n,i=r>=0?"+":"";return i+=Bn(Math[r>0?"floor":"ceil"](r/60),2)+Bn(Math.abs(r%60),2)}function Jn(e){var t=new Date(e,0,1).getDay();return new Date(e,0,(4>=t?5:12)-t)}function Xn(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate()+(4-e.getDay()))}function Kn(e){return function(t){var n=Jn(t.getFullYear()),r=Xn(t),i=+r-+n,o=1+Math.round(i/6048e5);return Bn(o,e)}}function er(e,t){return e.getHours()<12?t.AMPMS[0]:t.AMPMS[1]}function tr(e,t){return e.getFullYear()<=0?t.ERAS[0]:t.ERAS[1]}function nr(e,t){return e.getFullYear()<=0?t.ERANAMES[0]:t.ERANAMES[1]}function rr(e){function t(e){var t;if(t=e.match(n)){var r=new Date(0),i=0,o=0,a=t[8]?r.setUTCFullYear:r.setFullYear,s=t[8]?r.setUTCHours:r.setHours;t[9]&&(i=f(t[9]+t[10]),o=f(t[9]+t[11])),a.call(r,f(t[1]),f(t[2])-1,f(t[3]));var u=f(t[4]||0)-i,l=f(t[5]||0)-o,c=f(t[6]||0),d=Math.round(1e3*parseFloat("0."+(t[7]||0)));return s.call(r,u,l,c,d),r}return e}var n=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;return function(n,i,o){var a,s,u="",l=[];if(i=i||"mediumDate",i=e.DATETIME_FORMATS[i]||i,w(n)&&(n=Do.test(n)?f(n):t(n)),x(n)&&(n=new Date(n)),!k(n)||!isFinite(n.getTime()))return n;for(;i;)s=Eo.exec(i),s?(l=z(l,s,1),i=l.pop()):(l.push(i),i=null);var c=n.getTimezoneOffset();return o&&(c=G(o,c),n=Q(n,o,!0)),r(l,function(t){a=_o[t],u+=a?a(n,e.DATETIME_FORMATS,c):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}}function ir(){return function(e,t){return v(t)&&(t=2),W(e,t)}}function or(){return function(e,t,n){return t=Math.abs(Number(t))===1/0?Number(t):f(t),isNaN(t)?e:(x(e)&&(e=e.toString()),Wr(e)||w(e)?(n=!n||isNaN(n)?0:f(n),n=0>n?Math.max(0,e.length+n):n,t>=0?e.slice(n,n+t):0===n?e.slice(t,e.length):e.slice(Math.max(0,n+t),n)):e)}}function ar(e){function r(t,n){return n=n?-1:1,t.map(function(t){var r=1,i=p;if(C(t))i=t;else if(w(t)&&("+"!=t.charAt(0)&&"-"!=t.charAt(0)||(r="-"==t.charAt(0)?-1:1,t=t.substring(1)),""!==t&&(i=e(t),i.constant))){var o=i();i=function(e){return e[o]}}return{get:i,descending:r*n}})}function i(e){switch(typeof e){case"number":case"boolean":case"string":return!0;default:return!1}}function o(e,t){return"function"==typeof e.valueOf&&(e=e.valueOf(),i(e))?e:g(e)&&(e=e.toString(),i(e))?e:t}function a(e,t){var n=typeof e;return null===e?(n="string",e="null"):"string"===n?e=e.toLowerCase():"object"===n&&(e=o(e,t)),{value:e,type:n}}function s(e,t){var n=0;return e.type===t.type?e.value!==t.value&&(n=e.valuer&&!(n=s(e.predicateValues[r],t.predicateValues[r])*c[r].descending);++r);return n}if(null==e)return e;if(!n(e))throw t("orderBy")("notarray","Expected array but received: {0}",e);Wr(i)||(i=[i]),0===i.length&&(i=["+"]);var c=r(i,o);c.push({get:function(){return{}},descending:o?-1:1});var f=Array.prototype.map.call(e,u);return f.sort(l),e=f.map(function(e){return e.value})}}function sr(e){return C(e)&&(e={link:e}),e.restrict=e.restrict||"AC",m(e)}function ur(e,t){e.$name=t}function lr(e,t,n,i,o){var a=this,s=[];a.$error={},a.$$success={},a.$pending=void 0,a.$name=o(t.name||t.ngForm||"")(n),a.$dirty=!1,a.$pristine=!0,a.$valid=!0,a.$invalid=!1,a.$submitted=!1,a.$$parentForm=Fo,a.$rollbackViewValue=function(){r(s,function(e){e.$rollbackViewValue()})},a.$commitViewValue=function(){r(s,function(e){e.$commitViewValue()})},a.$addControl=function(e){de(e.$name,"input"),s.push(e),e.$name&&(a[e.$name]=e),e.$$parentForm=a},a.$$renameControl=function(e,t){var n=e.$name;a[n]===e&&delete a[n],a[t]=e,e.$name=t},a.$removeControl=function(e){e.$name&&a[e.$name]===e&&delete a[e.$name],r(a.$pending,function(t,n){a.$setValidity(n,null,e)}),r(a.$error,function(t,n){a.$setValidity(n,null,e)}),r(a.$$success,function(t,n){a.$setValidity(n,null,e)}),L(s,e),e.$$parentForm=Fo},Cr({ctrl:this,$element:e,set:function(e,t,n){var r=e[t];if(r){var i=r.indexOf(n);-1===i&&r.push(n)}else e[t]=[n]},unset:function(e,t,n){var r=e[t];r&&(L(r,n),0===r.length&&delete e[t])},$animate:i}),a.$setDirty=function(){i.removeClass(e,va),i.addClass(e,$a),a.$dirty=!0,a.$pristine=!1,a.$$parentForm.$setDirty()},a.$setPristine=function(){i.setClass(e,va,$a+" "+No),a.$dirty=!1,a.$pristine=!0,a.$submitted=!1,r(s,function(e){e.$setPristine()})},a.$setUntouched=function(){r(s,function(e){e.$setUntouched()})},a.$setSubmitted=function(){i.addClass(e,No),a.$submitted=!0,a.$$parentForm.$setSubmitted()}}function cr(e){e.$formatters.push(function(t){return e.$isEmpty(t)?t:t.toString()})}function fr(e,t,n,r,i,o){dr(e,t,n,r,i,o),cr(r)}function dr(e,t,n,r,i,o){var a=Tr(t[0].type);if(!i.android){var s=!1;t.on("compositionstart",function(){s=!0}),t.on("compositionend",function(){s=!1,l()})}var u,l=function(e){if(u&&(o.defer.cancel(u),u=null),!s){var i=t.val(),l=e&&e.type;"password"===a||n.ngTrim&&"false"===n.ngTrim||(i=Gr(i)),(r.$viewValue!==i||""===i&&r.$$hasNativeValidators)&&r.$setViewValue(i,l)}};if(i.hasEvent("input"))t.on("input",l);else{var c=function(e,t,n){u||(u=o.defer(function(){u=null,t&&t.value===n||l(e)}))};t.on("keydown",function(e){var t=e.keyCode;91===t||t>15&&19>t||t>=37&&40>=t||c(e,this,this.value)}),i.hasEvent("paste")&&t.on("paste cut",c)}t.on("change",l),Go[a]&&r.$$hasNativeValidators&&a===n.type&&t.on(Bo,function(e){if(!u){var t=this[Dr],n=t.badInput,r=t.typeMismatch;u=o.defer(function(){u=null,t.badInput===n&&t.typeMismatch===r||l(e)})}}),r.$render=function(){var e=r.$isEmpty(r.$viewValue)?"":r.$viewValue;t.val()!==e&&t.val(e)}}function hr(e,t){if(k(e))return e;if(w(e)){qo.lastIndex=0;var n=qo.exec(e);if(n){var r=+n[1],i=+n[2],o=0,a=0,s=0,u=0,l=Jn(r),c=7*(i-1);return t&&(o=t.getHours(),a=t.getMinutes(),s=t.getSeconds(),u=t.getMilliseconds()),new Date(r,0,l.getDate()+c,o,a,s,u)}}return NaN}function pr(e,t){return function(n,i){var o,a;if(k(n))return n;if(w(n)){if('"'==n.charAt(0)&&'"'==n.charAt(n.length-1)&&(n=n.substring(1,n.length-1)),Lo.test(n))return new Date(n);if(e.lastIndex=0,o=e.exec(n))return o.shift(),a=i?{yyyy:i.getFullYear(),MM:i.getMonth()+1,dd:i.getDate(),HH:i.getHours(),mm:i.getMinutes(),ss:i.getSeconds(),sss:i.getMilliseconds()/1e3}:{yyyy:1970,MM:1,dd:1,HH:0,mm:0,ss:0,sss:0},r(o,function(e,n){n=m},a.$observe("min",function(e){m=d(e),s.$validate()})}if($(a.max)||a.ngMax){var g;s.$validators.max=function(e){return!f(e)||v(g)||n(e)<=g},a.$observe("max",function(e){g=d(e),s.$validate()})}}}function gr(e,t,n,r){var i=t[0],o=r.$$hasNativeValidators=y(i.validity);o&&r.$parsers.push(function(e){var n=t.prop(Dr)||{};return n.badInput||n.typeMismatch?void 0:e})}function vr(e,t,n,r,i,o){if(gr(e,t,n,r),dr(e,t,n,r,i,o),r.$$parserName="number",r.$parsers.push(function(e){return r.$isEmpty(e)?null:Vo.test(e)?parseFloat(e):void 0}),r.$formatters.push(function(e){if(!r.$isEmpty(e)){if(!x(e))throw Ca("numfmt","Expected `{0}` to be a number",e);e=e.toString()}return e}),$(n.min)||n.ngMin){var a;r.$validators.min=function(e){return r.$isEmpty(e)||v(a)||e>=a},n.$observe("min",function(e){$(e)&&!x(e)&&(e=parseFloat(e,10)),a=x(e)&&!isNaN(e)?e:void 0,r.$validate()})}if($(n.max)||n.ngMax){var s;r.$validators.max=function(e){return r.$isEmpty(e)||v(s)||s>=e},n.$observe("max",function(e){$(e)&&!x(e)&&(e=parseFloat(e,10)),s=x(e)&&!isNaN(e)?e:void 0,r.$validate()})}}function $r(e,t,n,r,i,o){dr(e,t,n,r,i,o),cr(r),r.$$parserName="url",r.$validators.url=function(e,t){var n=e||t;return r.$isEmpty(n)||Ro.test(n)}}function yr(e,t,n,r,i,o){dr(e,t,n,r,i,o),cr(r),r.$$parserName="email",r.$validators.email=function(e,t){var n=e||t;return r.$isEmpty(n)||Uo.test(n)}}function br(e,t,n,r){v(n.name)&&t.attr("name",a());var i=function(e){t[0].checked&&r.$setViewValue(n.value,e&&e.type)};t.on("click",i),r.$render=function(){var e=n.value;t[0].checked=e==r.$viewValue},n.$observe("value",r.$render)}function wr(e,t,n,r,i){var o;if($(r)){if(o=e(r),!o.constant)throw Ca("constexpr","Expected constant expression for `{0}`, but saw `{1}`.",n,r);return o(t)}return i}function xr(e,t,n,r,i,o,a,s){var u=wr(s,e,"ngTrueValue",n.ngTrueValue,!0),l=wr(s,e,"ngFalseValue",n.ngFalseValue,!1),c=function(e){r.$setViewValue(t[0].checked,e&&e.type)};t.on("click",c),r.$render=function(){t[0].checked=r.$viewValue},r.$isEmpty=function(e){return e===!1},r.$formatters.push(function(e){return V(e,u)}),r.$parsers.push(function(e){return e?u:l})}function kr(e,t){return e="ngClass"+e,["$animate",function(n){function i(e,t){var n=[];e:for(var r=0;r0||n[e])&&(n[e]=(n[e]||0)+t,n[e]===+(t>0)&&i.push(e))}),s.data("$classCounts",n),i.join(" ")}function d(e,t){var r=i(t,e),o=i(e,t);r=f(r,1),o=f(o,-1),r&&r.length&&n.addClass(s,r),o&&o.length&&n.removeClass(s,o)}function h(e){if(t===!0||a.$index%2===t){var n=o(e||[]);if(p){if(!V(e,p)){var r=o(p);d(r,n)}}else l(n)}p=Wr(e)?e.map(function(e){return U(e)}):U(e)}var p;a.$watch(u[e],h,!0),u.$observe("class",function(t){h(a.$eval(u[e]))}),"ngClass"!==e&&a.$watch("$index",function(n,r){var i=1&n;if(i!==(1&r)){var s=o(a.$eval(u[e]));i===t?l(s):c(s)}})}}}]}function Cr(e){function t(e,t,s){v(t)?n("$pending",e,s):r("$pending",e,s),A(t)?t?(c(a.$error,e,s),l(a.$$success,e,s)):(l(a.$error,e,s),c(a.$$success,e,s)):(c(a.$error,e,s),c(a.$$success,e,s)),a.$pending?(i(wa,!0),a.$valid=a.$invalid=void 0,o("",null)):(i(wa,!1),a.$valid=Sr(a.$error),a.$invalid=!a.$valid,o("",a.$valid));var u;u=a.$pending&&a.$pending[e]?void 0:a.$error[e]?!1:a.$$success[e]?!0:null,o(e,u),a.$$parentForm.$setValidity(e,u,a)}function n(e,t,n){a[e]||(a[e]={}),l(a[e],t,n)}function r(e,t,n){a[e]&&c(a[e],t,n),Sr(a[e])&&(a[e]=void 0)}function i(e,t){t&&!u[e]?(f.addClass(s,e),u[e]=!0):!t&&u[e]&&(f.removeClass(s,e),u[e]=!1)}function o(e,t){e=e?"-"+ue(e,"-"):"",i(ma+e,t===!0),i(ga+e,t===!1)}var a=e.ctrl,s=e.$element,u={},l=e.set,c=e.unset,f=e.$animate;u[ga]=!(u[ma]=s.hasClass(ma)),a.$setValidity=t}function Sr(e){if(e)for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}function _r(e){e[0].hasAttribute("selected")&&(e[0].selected=!0)}var Er=/^\/(.+)\/([a-z]*)$/,Dr="validity",Mr=Object.prototype.hasOwnProperty,Tr=function(e){return w(e)?e.toLowerCase():e},Ar=function(e){return w(e)?e.toUpperCase():e},Or=function(e){return w(e)?e.replace(/[A-Z]/g,function(e){return String.fromCharCode(32|e.charCodeAt(0))}):e},Fr=function(e){return w(e)?e.replace(/[a-z]/g,function(e){return String.fromCharCode(-33&e.charCodeAt(0))}):e};"i"!=="I".toLowerCase()&&(Tr=Or,Ar=Fr);var Nr,Ir,Pr,jr,Lr=[].slice,Rr=[].splice,Ur=[].push,Vr=Object.prototype.toString,zr=Object.getPrototypeOf,Hr=t("ng"),qr=e.angular||(e.angular={}),Yr=0;Nr=e.document.documentMode,h.$inject=[],p.$inject=[];var Wr=Array.isArray,Br=/^\[object (?:Uint8|Uint8Clamped|Uint16|Uint32|Int8|Int16|Int32|Float32|Float64)Array\]$/,Gr=function(e){return w(e)?e.trim():e},Zr=function(e){return e.replace(/([-()\[\]{}+?*.$\^|,:#n;++n)if(r=Kr[n],t=e.document.querySelector("["+r.replace(":","\\:")+"jq]")){i=t.getAttribute(r+"jq");break}return Jr.name_=i},Xr=/:/g,Kr=["ng-","data-ng-","ng:","x-ng-"],ei=/[A-Z]/g,ti=!1,ni=1,ri=2,ii=3,oi=8,ai=9,si=11,ui={full:"1.5.5",major:1,minor:5,dot:5,codeName:"material-conspiration"};Me.expando="ng339";var li=Me.cache={},ci=1,fi=function(e,t,n){e.addEventListener(t,n,!1)},di=function(e,t,n){e.removeEventListener(t,n,!1)};Me._data=function(e){return this.cache[e[this.expando]]||{}};var hi=/([\:\-\_]+(.))/g,pi=/^moz([A-Z])/,mi={mouseleave:"mouseout",mouseenter:"mouseover"},gi=t("jqLite"),vi=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,$i=/<|&#?\w+;/,yi=/<([\w:-]+)/,bi=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,wi={option:[1,'"],thead:[1,"","
    "],col:[2,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],_default:[0,"",""]};wi.optgroup=wi.option,wi.tbody=wi.tfoot=wi.colgroup=wi.caption=wi.thead,wi.th=wi.td;var xi=e.Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))},ki=Me.prototype={ready:function(t){function n(){r||(r=!0,t())}var r=!1;"complete"===e.document.readyState?e.setTimeout(n):(this.on("DOMContentLoaded",n),Me(e).on("load",n))},toString:function(){var e=[];return r(this,function(t){e.push(""+t)}),"["+e.join(", ")+"]"},eq:function(e){return Ir(e>=0?this[e]:this[this.length+e])},length:0,push:Ur,sort:[].sort,splice:[].splice},Ci={};r("multiple,selected,checked,disabled,readOnly,required,open".split(","),function(e){Ci[Tr(e)]=e});var Si={};r("input,select,option,textarea,button,form,details".split(","),function(e){Si[e]=!0});var _i={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern"};r({data:Ie,removeData:Fe,hasData:Ce,cleanData:Se},function(e,t){Me[t]=e}),r({data:Ie,inheritedData:Ve,scope:function(e){return Ir.data(e,"$scope")||Ve(e.parentNode||e,["$isolateScope","$scope"])},isolateScope:function(e){return Ir.data(e,"$isolateScope")||Ir.data(e,"$isolateScopeNoTemplate")},controller:Ue,injector:function(e){return Ve(e,"$injector")},removeAttr:function(e,t){e.removeAttribute(t)},hasClass:Pe,css:function(e,t,n){return t=we(t),$(n)?void(e.style[t]=n):e.style[t]},attr:function(e,t,n){var r=e.nodeType;if(r!==ii&&r!==ri&&r!==oi){var i=Tr(t);if(Ci[i]){if(!$(n))return e[t]||(e.attributes.getNamedItem(t)||h).specified?i:void 0;n?(e[t]=!0,e.setAttribute(t,i)):(e[t]=!1,e.removeAttribute(i))}else if($(n))e.setAttribute(t,n);else if(e.getAttribute){var o=e.getAttribute(t,2);return null===o?void 0:o}}},prop:function(e,t,n){return $(n)?void(e[t]=n):e[t]},text:function(){function e(e,t){if(v(t)){var n=e.nodeType;return n===ni||n===ii?e.textContent:""}e.textContent=t}return e.$dv="",e}(),val:function(e,t){if(v(t)){if(e.multiple&&"select"===j(e)){var n=[];return r(e.options,function(e){e.selected&&n.push(e.value||e.text)}),0===n.length?null:n}return e.value}e.value=t},html:function(e,t){return v(t)?e.innerHTML:(Ae(e,!0),void(e.innerHTML=t))},empty:ze},function(e,t){Me.prototype[t]=function(t,n){var r,i,o=this.length;if(e!==ze&&v(2==e.length&&e!==Pe&&e!==Ue?t:n)){if(y(t)){for(r=0;o>r;r++)if(e===Ie)e(this[r],t);else for(i in t)e(this[r],i,t[i]);return this}for(var a=e.$dv,s=v(a)?Math.min(o,1):o,u=0;s>u;u++){var l=e(this[u],t,n);a=a?a+l:l}return a}for(r=0;o>r;r++)e(this[r],t,n);return this}}),r({removeData:Fe,on:function(e,t,n,r){if($(r))throw gi("onargs","jqLite#on() does not support the `selector` or `eventData` parameters");if(ke(e)){var i=Ne(e,!0),o=i.events,a=i.handle;a||(a=i.handle=Be(e,o));for(var s=t.indexOf(" ")>=0?t.split(" "):[t],u=s.length,l=function(t,r,i){var s=o[t];s||(s=o[t]=[],s.specialHandlerWrapper=r,"$destroy"===t||i||fi(e,t,a)),s.push(n)};u--;)t=s[u],mi[t]?(l(mi[t],Ze),l(t,void 0,!0)):l(t)}},off:Oe,one:function(e,t,n){e=Ir(e),e.on(t,function r(){e.off(t,n),e.off(t,r)}),e.on(t,n)},replaceWith:function(e,t){var n,i=e.parentNode;Ae(e),r(new Me(t),function(t){n?i.insertBefore(t,n.nextSibling):i.replaceChild(t,e),n=t})},children:function(e){var t=[];return r(e.childNodes,function(e){e.nodeType===ni&&t.push(e)}),t},contents:function(e){return e.contentDocument||e.childNodes||[]},append:function(e,t){var n=e.nodeType;if(n===ni||n===si){t=new Me(t);for(var r=0,i=t.length;i>r;r++){var o=t[r];e.appendChild(o)}}},prepend:function(e,t){if(e.nodeType===ni){var n=e.firstChild;r(new Me(t),function(t){e.insertBefore(t,n)})}},wrap:function(e,t){De(e,Ir(t).eq(0).clone()[0])},remove:He,detach:function(e){He(e,!0)},after:function(e,t){var n=e,r=e.parentNode;t=new Me(t);for(var i=0,o=t.length;o>i;i++){var a=t[i];r.insertBefore(a,n.nextSibling),n=a}},addClass:Le,removeClass:je,toggleClass:function(e,t,n){t&&r(t.split(" "),function(t){var r=n;v(r)&&(r=!Pe(e,t)),(r?Le:je)(e,t)})},parent:function(e){var t=e.parentNode;return t&&t.nodeType!==si?t:null},next:function(e){return e.nextElementSibling},find:function(e,t){return e.getElementsByTagName?e.getElementsByTagName(t):[]},clone:Te,triggerHandler:function(e,t,n){var i,o,a,s=t.type||t,u=Ne(e),c=u&&u.events,f=c&&c[s];f&&(i={preventDefault:function(){this.defaultPrevented=!0},isDefaultPrevented:function(){return this.defaultPrevented===!0},stopImmediatePropagation:function(){this.immediatePropagationStopped=!0},isImmediatePropagationStopped:function(){return this.immediatePropagationStopped===!0},stopPropagation:h,type:s,target:e},t.type&&(i=l(i,t)),o=U(f),a=n?[i].concat(n):[i],r(o,function(t){i.isImmediatePropagationStopped()||t.apply(e,a)}))}},function(e,t){Me.prototype[t]=function(t,n,r){for(var i,o=0,a=this.length;a>o;o++)v(i)?(i=e(this[o],t,n,r),$(i)&&(i=Ir(i))):Re(i,e(this[o],t,n,r));return $(i)?i:this},Me.prototype.bind=Me.prototype.on,Me.prototype.unbind=Me.prototype.off}),Xe.prototype={put:function(e,t){this[Je(e,this.nextUid)]=t},get:function(e){return this[Je(e,this.nextUid)]},remove:function(e){var t=this[e=Je(e,this.nextUid)];return delete this[e],t}};var Ei=[function(){this.$get=[function(){return Xe}]}],Di=/^([^\(]+?)=>/,Mi=/^[^\(]*\(\s*([^\)]*)\)/m,Ti=/,/,Ai=/^\s*(_?)(\S+?)\1\s*$/,Oi=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,Fi=t("$injector");nt.$$annotate=tt;var Ni=t("$animate"),Ii=1,Pi="ng-animate",ji=function(){this.$get=h},Li=function(){var e=new Xe,t=[];this.$get=["$$AnimateRunner","$rootScope",function(n,i){function o(e,t,n){var i=!1;return t&&(t=w(t)?t.split(" "):Wr(t)?t:[],r(t,function(t){t&&(i=!0,e[t]=n)})),i}function a(){r(t,function(t){var n=e.get(t);if(n){var i=at(t.attr("class")),o="",a="";r(n,function(e,t){var n=!!i[t];e!==n&&(e?o+=(o.length?" ":"")+t:a+=(a.length?" ":"")+t)}),r(t,function(e){o&&Le(e,o),a&&je(e,a)}),e.remove(t)}}),t.length=0}function s(n,r,s){var u=e.get(n)||{},l=o(u,r,!0),c=o(u,s,!1);(l||c)&&(e.put(n,u),t.push(n),1===t.length&&i.$$postDigest(a))}return{enabled:h,on:h,off:h,pin:h,push:function(e,t,r,i){i&&i(),r=r||{},r.from&&e.css(r.from),r.to&&e.css(r.to),(r.addClass||r.removeClass)&&s(e,r.addClass,r.removeClass);var o=new n;return o.complete(),o}}}]},Ri=["$provide",function(e){var t=this;this.$$registeredAnimations=Object.create(null),this.register=function(n,r){if(n&&"."!==n.charAt(0))throw Ni("notcsel","Expecting class selector starting with '.' got '{0}'.",n);var i=n+"-animation";t.$$registeredAnimations[n.substr(1)]=i,e.factory(i,r)},this.classNameFilter=function(e){if(1===arguments.length&&(this.$$classNameFilter=e instanceof RegExp?e:null,this.$$classNameFilter)){var t=new RegExp("(\\s+|\\/)"+Pi+"(\\s+|\\/)");if(t.test(this.$$classNameFilter.toString()))throw Ni("nongcls",'$animateProvider.classNameFilter(regex) prohibits accepting a regex value which matches/contains the "{0}" CSS class.',Pi)}return this.$$classNameFilter},this.$get=["$$animateQueue",function(e){function t(e,t,n){if(n){var r=ot(n);!r||r.parentNode||r.previousElementSibling||(n=null)}n?n.after(e):t.prepend(e)}return{on:e.on,off:e.off,pin:e.pin,enabled:e.enabled,cancel:function(e){e.end&&e.end()},enter:function(n,r,i,o){return r=r&&Ir(r),i=i&&Ir(i),r=r||i.parent(),t(n,r,i),e.push(n,"enter",st(o))},move:function(n,r,i,o){return r=r&&Ir(r),i=i&&Ir(i),r=r||i.parent(),t(n,r,i),e.push(n,"move",st(o))},leave:function(t,n){return e.push(t,"leave",st(n),function(){t.remove()})},addClass:function(t,n,r){return r=st(r),r.addClass=it(r.addclass,n),e.push(t,"addClass",r)},removeClass:function(t,n,r){return r=st(r),r.removeClass=it(r.removeClass,n),e.push(t,"removeClass",r)},setClass:function(t,n,r,i){return i=st(i),i.addClass=it(i.addClass,n),i.removeClass=it(i.removeClass,r),e.push(t,"setClass",i)},animate:function(t,n,r,i,o){return o=st(o),o.from=o.from?l(o.from,n):n,o.to=o.to?l(o.to,r):r,i=i||"ng-inline-animate",o.tempClasses=it(o.tempClasses,i),e.push(t,"animate",o)}}}]}],Ui=function(){this.$get=["$$rAF",function(e){function t(t){n.push(t),n.length>1||e(function(){for(var e=0;e <= >= && || ! = |".split(" "),function(e){fo[e]=!0});var ho={n:"\n",f:"\f",r:"\r",t:" ",v:"\x0B","'":"'",'"':'"'},po=function(e){this.options=e};po.prototype={constructor:po,lex:function(e){for(this.text=e,this.index=0,this.tokens=[];this.index="0"&&"9">=e&&"string"==typeof e},isWhitespace:function(e){return" "===e||"\r"===e||" "===e||"\n"===e||"\x0B"===e||" "===e},isIdentifierStart:function(e){return this.options.isIdentifierStart?this.options.isIdentifierStart(e,this.codePointAt(e)):this.isValidIdentifierStart(e)},isValidIdentifierStart:function(e){return e>="a"&&"z">=e||e>="A"&&"Z">=e||"_"===e||"$"===e},isIdentifierContinue:function(e){return this.options.isIdentifierContinue?this.options.isIdentifierContinue(e,this.codePointAt(e)):this.isValidIdentifierContinue(e)},isValidIdentifierContinue:function(e,t){return this.isValidIdentifierStart(e,t)||this.isNumber(e)},codePointAt:function(e){return 1===e.length?e.charCodeAt(0):(e.charCodeAt(0)<<10)+e.charCodeAt(1)-56613888},peekMultichar:function(){var e=this.text.charAt(this.index),t=this.peek();if(!t)return e;var n=e.charCodeAt(0),r=t.charCodeAt(0);return n>=55296&&56319>=n&&r>=56320&&57343>=r?e+t:e},isExpOperator:function(e){return"-"===e||"+"===e||this.isNumber(e)},throwError:function(e,t,n){n=n||this.index;var r=$(t)?"s "+t+"-"+this.index+" ["+this.text.substring(t,n)+"]":" "+n;throw so("lexerr","Lexer Error: {0} at column{1} in expression [{2}].",e,r,this.text)},readNumber:function(){for(var e="",t=this.index;this.index0&&!this.peek("}",")",";","]")&&e.push(this.expressionStatement()),!this.expect(";"))return{type:mo.Program,body:e}},expressionStatement:function(){return{type:mo.ExpressionStatement,expression:this.filterChain()}},filterChain:function(){for(var e,t=this.expression();e=this.expect("|");)t=this.filter(t);return t},expression:function(){return this.assignment()},assignment:function(){var e=this.ternary();return this.expect("=")&&(e={type:mo.AssignmentExpression,left:e,right:this.assignment(),operator:"="}),e},ternary:function(){var e,t,n=this.logicalOR();return this.expect("?")&&(e=this.expression(),this.consume(":"))?(t=this.expression(),{type:mo.ConditionalExpression,test:n,alternate:e,consequent:t}):n},logicalOR:function(){for(var e=this.logicalAND();this.expect("||");)e={type:mo.LogicalExpression,operator:"||",left:e,right:this.logicalAND()};return e},logicalAND:function(){for(var e=this.equality();this.expect("&&");)e={type:mo.LogicalExpression,operator:"&&",left:e,right:this.equality()};return e},equality:function(){for(var e,t=this.relational();e=this.expect("==","!=","===","!==");)t={type:mo.BinaryExpression,operator:e.text,left:t,right:this.relational()};return t},relational:function(){for(var e,t=this.additive();e=this.expect("<",">","<=",">=");)t={type:mo.BinaryExpression,operator:e.text,left:t,right:this.additive()};return t},additive:function(){for(var e,t=this.multiplicative();e=this.expect("+","-");)t={type:mo.BinaryExpression,operator:e.text,left:t,right:this.multiplicative()};return t},multiplicative:function(){for(var e,t=this.unary();e=this.expect("*","/","%");)t={type:mo.BinaryExpression,operator:e.text,left:t,right:this.unary()};return t},unary:function(){var e;return(e=this.expect("+","-","!"))?{type:mo.UnaryExpression,operator:e.text,prefix:!0,argument:this.unary()}:this.primary()},primary:function(){var e;this.expect("(")?(e=this.filterChain(),this.consume(")")):this.expect("[")?e=this.arrayDeclaration():this.expect("{")?e=this.object():this.selfReferential.hasOwnProperty(this.peek().text)?e=R(this.selfReferential[this.consume().text]):this.options.literals.hasOwnProperty(this.peek().text)?e={type:mo.Literal,value:this.options.literals[this.consume().text]}:this.peek().identifier?e=this.identifier():this.peek().constant?e=this.constant():this.throwError("not a primary expression",this.peek());for(var t;t=this.expect("(","[",".");)"("===t.text?(e={type:mo.CallExpression,callee:e,arguments:this.parseArguments()},this.consume(")")):"["===t.text?(e={type:mo.MemberExpression,object:e,property:this.expression(),computed:!0},this.consume("]")):"."===t.text?e={type:mo.MemberExpression,object:e,property:this.identifier(),computed:!1}:this.throwError("IMPOSSIBLE");return e},filter:function(e){for(var t=[e],n={type:mo.CallExpression,callee:this.identifier(),arguments:t,filter:!0};this.expect(":");)t.push(this.expression());return n},parseArguments:function(){var e=[];if(")"!==this.peekToken().text)do e.push(this.expression());while(this.expect(","));return e},identifier:function(){var e=this.consume();return e.identifier||this.throwError("is not a valid identifier",e),{type:mo.Identifier,name:e.text}},constant:function(){return{type:mo.Literal,value:this.consume().value}},arrayDeclaration:function(){var e=[];if("]"!==this.peekToken().text)do{if(this.peek("]"))break;e.push(this.expression())}while(this.expect(","));return this.consume("]"),{type:mo.ArrayExpression,elements:e}},object:function(){var e,t=[];if("}"!==this.peekToken().text)do{if(this.peek("}"))break;e={type:mo.Property,kind:"init"},this.peek().constant?e.key=this.constant():this.peek().identifier?e.key=this.identifier():this.throwError("invalid key",this.peek()),this.consume(":"),e.value=this.expression(),t.push(e)}while(this.expect(","));return this.consume("}"),{type:mo.ObjectExpression,properties:t}},throwError:function(e,t){throw so("syntax","Syntax Error: Token '{0}' {1} at column {2} of the expression [{3}] starting at [{4}].",t.text,e,t.index+1,this.text,this.text.substring(t.index))},consume:function(e){if(0===this.tokens.length)throw so("ueoe","Unexpected end of expression: {0}",this.text);var t=this.expect(e);return t||this.throwError("is unexpected, expecting ["+e+"]",this.peek()),t},peekToken:function(){if(0===this.tokens.length)throw so("ueoe","Unexpected end of expression: {0}",this.text);return this.tokens[0]},peek:function(e,t,n,r){return this.peekAhead(0,e,t,n,r)},peekAhead:function(e,t,n,r,i){if(this.tokens.length>e){var o=this.tokens[e],a=o.text;if(a===t||a===n||a===r||a===i||!t&&!n&&!r&&!i)return o}return!1},expect:function(e,t,n,r){var i=this.peek(e,t,n,r);return i?(this.tokens.shift(),i):!1},selfReferential:{"this":{type:mo.ThisExpression},$locals:{type:mo.LocalsExpression}}},hn.prototype={compile:function(e,t){var n=this,i=this.astBuilder.ast(e);this.state={nextId:0,filters:{},expensiveChecks:t,fn:{vars:[],body:[],own:{}},assign:{vars:[],body:[],own:{}},inputs:[]},sn(i,n.$filter);var o,a="";if(this.stage="assign",o=cn(i)){this.state.computing="assign";var s=this.nextId();this.recurse(o,s),this.return_(s),a="fn.assign="+this.generateFunction("assign","s,v,l")}var u=un(i.body);n.stage="inputs",r(u,function(e,t){var r="fn"+t;n.state[r]={vars:[],body:[],own:{}},n.state.computing=r;var i=n.nextId();n.recurse(e,i),n.return_(i),n.state.inputs.push(r),e.watchId=t}),this.state.computing="fn",this.stage="main",this.recurse(i);var l='"'+this.USE+" "+this.STRICT+'";\n'+this.filterPrefix()+"var fn="+this.generateFunction("fn","s,l,a,i")+a+this.watchFns()+"return fn;",c=new Function("$filter","ensureSafeMemberName","ensureSafeObject","ensureSafeFunction","getStringValue","ensureSafeAssignContext","ifDefined","plus","text",l)(this.$filter,Xt,en,tn,Kt,nn,rn,on,e);return this.state=this.stage=void 0,c.literal=fn(i),c.constant=dn(i),c},USE:"use",STRICT:"strict",watchFns:function(){var e=[],t=this.state.inputs,n=this;return r(t,function(t){e.push("var "+t+"="+n.generateFunction(t,"s"))}),t.length&&e.push("fn.inputs=["+t.join(",")+"];"),e.join("")},generateFunction:function(e,t){return"function("+t+"){"+this.varsPrefix(e)+this.body(e)+"};"},filterPrefix:function(){var e=[],t=this;return r(this.state.filters,function(n,r){e.push(n+"=$filter("+t.escape(r)+")")}),e.length?"var "+e.join(",")+";":""},varsPrefix:function(e){return this.state[e].vars.length?"var "+this.state[e].vars.join(",")+";":""},body:function(e){return this.state[e].body.join("")},recurse:function(e,t,n,i,o,a){var s,u,l,c,f=this;if(i=i||h,!a&&$(e.watchId))return t=t||this.nextId(),void this.if_("i",this.lazyAssign(t,this.computedMember("i",e.watchId)),this.lazyRecurse(e,t,n,i,o,!0));switch(e.type){case mo.Program:r(e.body,function(t,n){f.recurse(t.expression,void 0,void 0,function(e){u=e}),n!==e.body.length-1?f.current().body.push(u,";"):f.return_(u)});break;case mo.Literal:c=this.escape(e.value),this.assign(t,c),i(c);break;case mo.UnaryExpression:this.recurse(e.argument,void 0,void 0,function(e){u=e}),c=e.operator+"("+this.ifDefined(u,0)+")",this.assign(t,c),i(c);break;case mo.BinaryExpression:this.recurse(e.left,void 0,void 0,function(e){s=e}),this.recurse(e.right,void 0,void 0,function(e){u=e}),c="+"===e.operator?this.plus(s,u):"-"===e.operator?this.ifDefined(s,0)+e.operator+this.ifDefined(u,0):"("+s+")"+e.operator+"("+u+")",this.assign(t,c),i(c);break;case mo.LogicalExpression:t=t||this.nextId(),f.recurse(e.left,t),f.if_("&&"===e.operator?t:f.not(t),f.lazyRecurse(e.right,t)),i(t);break;case mo.ConditionalExpression:t=t||this.nextId(),f.recurse(e.test,t),f.if_(t,f.lazyRecurse(e.alternate,t),f.lazyRecurse(e.consequent,t)),i(t);break;case mo.Identifier:t=t||this.nextId(),n&&(n.context="inputs"===f.stage?"s":this.assign(this.nextId(),this.getHasOwnProperty("l",e.name)+"?l:s"),n.computed=!1,n.name=e.name),Xt(e.name),f.if_("inputs"===f.stage||f.not(f.getHasOwnProperty("l",e.name)),function(){f.if_("inputs"===f.stage||"s",function(){o&&1!==o&&f.if_(f.not(f.nonComputedMember("s",e.name)),f.lazyAssign(f.nonComputedMember("s",e.name),"{}")),f.assign(t,f.nonComputedMember("s",e.name))})},t&&f.lazyAssign(t,f.nonComputedMember("l",e.name))),(f.state.expensiveChecks||mn(e.name))&&f.addEnsureSafeObject(t),i(t);break;case mo.MemberExpression:s=n&&(n.context=this.nextId())||this.nextId(),t=t||this.nextId(),f.recurse(e.object,s,void 0,function(){f.if_(f.notNull(s),function(){o&&1!==o&&f.addEnsureSafeAssignContext(s),e.computed?(u=f.nextId(),f.recurse(e.property,u),f.getStringValue(u),f.addEnsureSafeMemberName(u),o&&1!==o&&f.if_(f.not(f.computedMember(s,u)),f.lazyAssign(f.computedMember(s,u),"{}")),c=f.ensureSafeObject(f.computedMember(s,u)),f.assign(t,c),n&&(n.computed=!0,n.name=u)):(Xt(e.property.name),o&&1!==o&&f.if_(f.not(f.nonComputedMember(s,e.property.name)),f.lazyAssign(f.nonComputedMember(s,e.property.name),"{}")),c=f.nonComputedMember(s,e.property.name),(f.state.expensiveChecks||mn(e.property.name))&&(c=f.ensureSafeObject(c)),f.assign(t,c),n&&(n.computed=!1,n.name=e.property.name))},function(){f.assign(t,"undefined")}),i(t)},!!o);break;case mo.CallExpression:t=t||this.nextId(),e.filter?(u=f.filter(e.callee.name),l=[],r(e.arguments,function(e){var t=f.nextId();f.recurse(e,t),l.push(t)}),c=u+"("+l.join(",")+")",f.assign(t,c),i(t)):(u=f.nextId(),s={},l=[],f.recurse(e.callee,u,s,function(){f.if_(f.notNull(u),function(){f.addEnsureSafeFunction(u),r(e.arguments,function(e){f.recurse(e,f.nextId(),void 0,function(e){l.push(f.ensureSafeObject(e))})}),s.name?(f.state.expensiveChecks||f.addEnsureSafeObject(s.context),c=f.member(s.context,s.name,s.computed)+"("+l.join(",")+")"):c=u+"("+l.join(",")+")",c=f.ensureSafeObject(c),f.assign(t,c)},function(){f.assign(t,"undefined")}),i(t)}));break;case mo.AssignmentExpression:if(u=this.nextId(),s={},!ln(e.left))throw so("lval","Trying to assign a value to a non l-value");this.recurse(e.left,void 0,s,function(){f.if_(f.notNull(s.context),function(){f.recurse(e.right,u),f.addEnsureSafeObject(f.member(s.context,s.name,s.computed)),f.addEnsureSafeAssignContext(s.context),c=f.member(s.context,s.name,s.computed)+e.operator+u,f.assign(t,c),i(t||c)})},1);break;case mo.ArrayExpression:l=[],r(e.elements,function(e){f.recurse(e,f.nextId(),void 0,function(e){l.push(e)})}),c="["+l.join(",")+"]",this.assign(t,c),i(c);break;case mo.ObjectExpression:l=[],r(e.properties,function(e){f.recurse(e.value,f.nextId(),void 0,function(t){l.push(f.escape(e.key.type===mo.Identifier?e.key.name:""+e.key.value)+":"+t)})}),c="{"+l.join(",")+"}",this.assign(t,c),i(c);break;case mo.ThisExpression:this.assign(t,"s"),i("s");break;case mo.LocalsExpression:this.assign(t,"l"),i("l");break;case mo.NGValueParameter:this.assign(t,"v"),i("v")}},getHasOwnProperty:function(e,t){var n=e+"."+t,r=this.current().own;return r.hasOwnProperty(n)||(r[n]=this.nextId(!1,e+"&&("+this.escape(t)+" in "+e+")")),r[n]},assign:function(e,t){return e?(this.current().body.push(e,"=",t,";"),e):void 0},filter:function(e){return this.state.filters.hasOwnProperty(e)||(this.state.filters[e]=this.nextId(!0)),this.state.filters[e]},ifDefined:function(e,t){return"ifDefined("+e+","+this.escape(t)+")"},plus:function(e,t){return"plus("+e+","+t+")"},return_:function(e){this.current().body.push("return ",e,";")},if_:function(e,t,n){if(e===!0)t();else{var r=this.current().body;r.push("if(",e,"){"),t(),r.push("}"),n&&(r.push("else{"),n(),r.push("}"))}},not:function(e){return"!("+e+")"},notNull:function(e){return e+"!=null"},nonComputedMember:function(e,t){var n=/[$_a-zA-Z][$_a-zA-Z0-9]*/,r=/[^$_a-zA-Z0-9]/g;return n.test(t)?e+"."+t:e+'["'+t.replace(r,this.stringEscapeFn)+'"]'},computedMember:function(e,t){return e+"["+t+"]"},member:function(e,t,n){return n?this.computedMember(e,t):this.nonComputedMember(e,t)},addEnsureSafeObject:function(e){this.current().body.push(this.ensureSafeObject(e),";")},addEnsureSafeMemberName:function(e){this.current().body.push(this.ensureSafeMemberName(e),";")},addEnsureSafeFunction:function(e){this.current().body.push(this.ensureSafeFunction(e),";")},addEnsureSafeAssignContext:function(e){this.current().body.push(this.ensureSafeAssignContext(e),";")},ensureSafeObject:function(e){return"ensureSafeObject("+e+",text)"},ensureSafeMemberName:function(e){return"ensureSafeMemberName("+e+",text)"},ensureSafeFunction:function(e){return"ensureSafeFunction("+e+",text)"},getStringValue:function(e){this.assign(e,"getStringValue("+e+")")},ensureSafeAssignContext:function(e){return"ensureSafeAssignContext("+e+",text)"},lazyRecurse:function(e,t,n,r,i,o){var a=this;return function(){a.recurse(e,t,n,r,i,o)}},lazyAssign:function(e,t){var n=this;return function(){n.assign(e,t)}},stringEscapeRegex:/[^ a-zA-Z0-9]/g,stringEscapeFn:function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)},escape:function(e){if(w(e))return"'"+e.replace(this.stringEscapeRegex,this.stringEscapeFn)+"'";if(x(e))return e.toString();if(e===!0)return"true";if(e===!1)return"false";if(null===e)return"null";if("undefined"==typeof e)return"undefined";throw so("esc","IMPOSSIBLE")},nextId:function(e,t){var n="v"+this.state.nextId++;return e||this.current().vars.push(n+(t?"="+t:"")),n},current:function(){return this.state[this.state.computing]}},pn.prototype={compile:function(e,t){var n=this,i=this.astBuilder.ast(e);this.expression=e,this.expensiveChecks=t,sn(i,n.$filter);var o,a;(o=cn(i))&&(a=this.recurse(o));var s,u=un(i.body);u&&(s=[],r(u,function(e,t){var r=n.recurse(e);e.input=r,s.push(r),e.watchId=t}));var l=[];r(i.body,function(e){l.push(n.recurse(e.expression))});var c=0===i.body.length?h:1===i.body.length?l[0]:function(e,t){var n;return r(l,function(r){n=r(e,t)}),n};return a&&(c.assign=function(e,t,n){return a(e,n,t)}),s&&(c.inputs=s),c.literal=fn(i),c.constant=dn(i),c},recurse:function(e,t,n){var i,o,a,s=this;if(e.input)return this.inputs(e.input,e.watchId);switch(e.type){case mo.Literal:return this.value(e.value,t);case mo.UnaryExpression:return o=this.recurse(e.argument),this["unary"+e.operator](o,t);case mo.BinaryExpression:return i=this.recurse(e.left),o=this.recurse(e.right),this["binary"+e.operator](i,o,t);case mo.LogicalExpression:return i=this.recurse(e.left),o=this.recurse(e.right),this["binary"+e.operator](i,o,t);case mo.ConditionalExpression:return this["ternary?:"](this.recurse(e.test),this.recurse(e.alternate),this.recurse(e.consequent),t);case mo.Identifier:return Xt(e.name,s.expression),s.identifier(e.name,s.expensiveChecks||mn(e.name),t,n,s.expression);case mo.MemberExpression:return i=this.recurse(e.object,!1,!!n),e.computed||(Xt(e.property.name,s.expression),o=e.property.name),e.computed&&(o=this.recurse(e.property)),e.computed?this.computedMember(i,o,t,n,s.expression):this.nonComputedMember(i,o,s.expensiveChecks,t,n,s.expression);case mo.CallExpression:return a=[],r(e.arguments,function(e){a.push(s.recurse(e))}),e.filter&&(o=this.$filter(e.callee.name)),e.filter||(o=this.recurse(e.callee,!0)),e.filter?function(e,n,r,i){for(var s=[],u=0;u":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)>t(r,i,o,a);return n?{value:s}:s}},"binary<=":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)<=t(r,i,o,a);return n?{value:s}:s}},"binary>=":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)>=t(r,i,o,a);return n?{value:s}:s}},"binary&&":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)&&t(r,i,o,a);return n?{value:s}:s}},"binary||":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)||t(r,i,o,a);return n?{value:s}:s}},"ternary?:":function(e,t,n,r){return function(i,o,a,s){var u=e(i,o,a,s)?t(i,o,a,s):n(i,o,a,s);return r?{value:u}:u}},value:function(e,t){return function(){return t?{context:void 0,name:void 0,value:e}:e}},identifier:function(e,t,n,r,i){return function(o,a,s,u){var l=a&&e in a?a:o;r&&1!==r&&l&&!l[e]&&(l[e]={});var c=l?l[e]:void 0;return t&&en(c,i),n?{context:l,name:e,value:c}:c}},computedMember:function(e,t,n,r,i){return function(o,a,s,u){var l,c,f=e(o,a,s,u);return null!=f&&(l=t(o,a,s,u),l=Kt(l),Xt(l,i),r&&1!==r&&(nn(f),f&&!f[l]&&(f[l]={})),c=f[l],en(c,i)),n?{context:f,name:l,value:c}:c}},nonComputedMember:function(e,t,n,r,i,o){return function(a,s,u,l){var c=e(a,s,u,l);i&&1!==i&&(nn(c),c&&!c[t]&&(c[t]={}));var f=null!=c?c[t]:void 0;return(n||mn(t))&&en(f,o),r?{context:c,name:t,value:f}:f}},inputs:function(e,t){return function(n,r,i,o){return o?o[t]:e(n,r,i)}}};var go=function(e,t,n){this.lexer=e,this.$filter=t,this.options=n,this.ast=new mo(e,n),this.astCompiler=n.csp?new pn(this.ast,t):new hn(this.ast,t)};go.prototype={constructor:go,parse:function(e){return this.astCompiler.compile(e,this.options.expensiveChecks)}};var vo=Object.prototype.valueOf,$o=t("$sce"),yo={HTML:"html",CSS:"css",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},bo=t("$compile"),wo=e.document.createElement("a"),xo=On(e.location.href);In.$inject=["$document"],jn.$inject=["$provide"];var ko=22,Co=".",So="0";zn.$inject=["$locale"],Hn.$inject=["$locale"];var _o={yyyy:Gn("FullYear",4,0,!1,!0),yy:Gn("FullYear",2,0,!0,!0),y:Gn("FullYear",1,0,!1,!0),MMMM:Zn("Month"),MMM:Zn("Month",!0),MM:Gn("Month",2,1),M:Gn("Month",1,1),LLLL:Zn("Month",!1,!0),dd:Gn("Date",2),d:Gn("Date",1),HH:Gn("Hours",2),H:Gn("Hours",1),hh:Gn("Hours",2,-12),h:Gn("Hours",1,-12),mm:Gn("Minutes",2),m:Gn("Minutes",1),ss:Gn("Seconds",2),s:Gn("Seconds",1),sss:Gn("Milliseconds",3),EEEE:Zn("Day"),EEE:Zn("Day",!0),a:er,Z:Qn,ww:Kn(2),w:Kn(1),G:tr,GG:tr,GGG:tr,GGGG:nr},Eo=/((?:[^yMLdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|m+|s+|a|Z|G+|w+))(.*)/,Do=/^\-?\d+$/;rr.$inject=["$locale"];var Mo=m(Tr),To=m(Ar);ar.$inject=["$parse"];var Ao=m({restrict:"E",compile:function(e,t){return t.href||t.xlinkHref?void 0:function(e,t){if("a"===t[0].nodeName.toLowerCase()){var n="[object SVGAnimatedString]"===Vr.call(t.prop("href"))?"xlink:href":"href";t.on("click",function(e){t.attr(n)||e.preventDefault()})}}}}),Oo={};r(Ci,function(e,t){function n(e,n,i){e.$watch(i[r],function(e){i.$set(t,!!e)})}if("multiple"!=e){var r=mt("ng-"+t),i=n;"checked"===e&&(i=function(e,t,i){i.ngModel!==i[r]&&n(e,t,i)}),Oo[r]=function(){return{restrict:"A",priority:100,link:i}}}}),r(_i,function(e,t){Oo[t]=function(){return{priority:100,link:function(e,n,r){if("ngPattern"===t&&"/"==r.ngPattern.charAt(0)){var i=r.ngPattern.match(Er);if(i)return void r.$set("ngPattern",new RegExp(i[1],i[2]))}e.$watch(r[t],function(e){r.$set(t,e)})}}}}),r(["src","srcset","href"],function(e){var t=mt("ng-"+e);Oo[t]=function(){return{priority:99,link:function(n,r,i){var o=e,a=e;"href"===e&&"[object SVGAnimatedString]"===Vr.call(r.prop("href"))&&(a="xlinkHref",i.$attr[a]="xlink:href",o=null),i.$observe(t,function(t){return t?(i.$set(a,t),void(Nr&&o&&r.prop(o,i[a]))):void("href"===e&&i.$set(a,null))})}}}});var Fo={$addControl:h,$$renameControl:ur,$removeControl:h,$setValidity:h,$setDirty:h,$setPristine:h,$setSubmitted:h},No="ng-submitted";lr.$inject=["$element","$attrs","$scope","$animate","$interpolate"];var Io=function(e){return["$timeout","$parse",function(t,n){function r(e){return""===e?n('this[""]').assign:n(e).assign||h}var i={name:"form",restrict:e?"EAC":"E",require:["form","^^?form"],controller:lr,compile:function(n,i){n.addClass(va).addClass(ma);var o=i.name?"name":e&&i.ngForm?"ngForm":!1;return{pre:function(e,n,i,a){var s=a[0];if(!("action"in i)){var u=function(t){e.$apply(function(){s.$commitViewValue(),s.$setSubmitted()}),t.preventDefault()};fi(n[0],"submit",u),n.on("$destroy",function(){t(function(){di(n[0],"submit",u)},0,!1)})}var c=a[1]||s.$$parentForm;c.$addControl(s);var f=o?r(s.$name):h;o&&(f(e,s),i.$observe(o,function(t){s.$name!==t&&(f(e,void 0),s.$$parentForm.$$renameControl(s,t),(f=r(s.$name))(e,s))})),n.on("$destroy",function(){s.$$parentForm.$removeControl(s),f(e,void 0),l(s,Fo)})}}}};return i}]},Po=Io(),jo=Io(!0),Lo=/^\d{4,}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+(?:[+-][0-2]\d:[0-5]\d|Z)$/,Ro=/^[a-z][a-z\d.+-]*:\/*(?:[^:@]+(?::[^@]+)?@)?(?:[^\s:\/?#]+|\[[a-f\d:]+\])(?::\d+)?(?:\/[^?#]*)?(?:\?[^#]*)?(?:#.*)?$/i,Uo=/^[a-z0-9!#$%&'*+\/=?^_`{|}~.-]+@[a-z0-9]([a-z0-9-]*[a-z0-9])?(\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*$/i,Vo=/^\s*(\-|\+)?(\d+|(\d*(\.\d*)))([eE][+-]?\d+)?\s*$/,zo=/^(\d{4,})-(\d{2})-(\d{2})$/,Ho=/^(\d{4,})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,qo=/^(\d{4,})-W(\d\d)$/,Yo=/^(\d{4,})-(\d\d)$/,Wo=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,Bo="keydown wheel mousedown",Go=me();r("date,datetime-local,month,time,week".split(","),function(e){Go[e]=!0});var Zo={text:fr,date:mr("date",zo,pr(zo,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":mr("datetimelocal",Ho,pr(Ho,["yyyy","MM","dd","HH","mm","ss","sss"]),"yyyy-MM-ddTHH:mm:ss.sss"),time:mr("time",Wo,pr(Wo,["HH","mm","ss","sss"]),"HH:mm:ss.sss"),week:mr("week",qo,hr,"yyyy-Www"),month:mr("month",Yo,pr(Yo,["yyyy","MM"]),"yyyy-MM"),number:vr,url:$r,email:yr,radio:br,checkbox:xr,hidden:h,button:h,submit:h,reset:h,file:h},Qo=["$browser","$sniffer","$filter","$parse",function(e,t,n,r){return{restrict:"E",require:["?ngModel"],link:{pre:function(i,o,a,s){s[0]&&(Zo[Tr(a.type)]||Zo.text)(i,o,a,s[0],t,e,n,r)}}}}],Jo=/^(true|false|\d+)$/,Xo=function(){return{restrict:"A",priority:100,compile:function(e,t){return Jo.test(t.ngValue)?function(e,t,n){n.$set("value",e.$eval(n.ngValue))}:function(e,t,n){e.$watch(n.ngValue,function(e){n.$set("value",e)})}}}},Ko=["$compile",function(e){return{restrict:"AC",compile:function(t){return e.$$addBindingClass(t),function(t,n,r){e.$$addBindingInfo(n,r.ngBind),n=n[0],t.$watch(r.ngBind,function(e){n.textContent=v(e)?"":e})}}}}],ea=["$interpolate","$compile",function(e,t){return{compile:function(n){return t.$$addBindingClass(n),function(n,r,i){var o=e(r.attr(i.$attr.ngBindTemplate));t.$$addBindingInfo(r,o.expressions),r=r[0],i.$observe("ngBindTemplate",function(e){r.textContent=v(e)?"":e})}}}}],ta=["$sce","$parse","$compile",function(e,t,n){return{restrict:"A",compile:function(r,i){var o=t(i.ngBindHtml),a=t(i.ngBindHtml,function(e){return(e||"").toString()});return n.$$addBindingClass(r),function(t,r,i){n.$$addBindingInfo(r,i.ngBindHtml),t.$watch(a,function(){r.html(e.getTrustedHtml(o(t))||"")})}}}}],na=m({restrict:"A",require:"ngModel",link:function(e,t,n,r){r.$viewChangeListeners.push(function(){e.$eval(n.ngChange)})}}),ra=kr("",!0),ia=kr("Odd",0),oa=kr("Even",1),aa=sr({compile:function(e,t){t.$set("ngCloak",void 0),e.removeClass("ng-cloak")}}),sa=[function(){return{restrict:"A",scope:!0,controller:"@",priority:500}}],ua={},la={blur:!0,focus:!0};r("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),function(e){var t=mt("ng-"+e);ua[t]=["$parse","$rootScope",function(n,r){return{restrict:"A",compile:function(i,o){var a=n(o[t],null,!0);return function(t,n){n.on(e,function(n){var i=function(){a(t,{$event:n})};la[e]&&r.$$phase?t.$evalAsync(i):t.$apply(i)})}}}}]});var ca=["$animate","$compile",function(e,t){return{multiElement:!0,transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(n,r,i,o,a){var s,u,l;n.$watch(i.ngIf,function(n){n?u||a(function(n,o){u=o,n[n.length++]=t.$$createComment("end ngIf",i.ngIf),s={clone:n},e.enter(n,r.parent(),r)}):(l&&(l.remove(),l=null),u&&(u.$destroy(),u=null),s&&(l=pe(s.clone),e.leave(l).then(function(){l=null}),s=null))})}}}],fa=["$templateRequest","$anchorScroll","$animate",function(e,t,n){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:qr.noop,compile:function(r,i){var o=i.ngInclude||i.src,a=i.onload||"",s=i.autoscroll;return function(r,i,u,l,c){var f,d,h,p=0,m=function(){d&&(d.remove(),d=null),f&&(f.$destroy(),f=null),h&&(n.leave(h).then(function(){d=null}),d=h,h=null)};r.$watch(o,function(o){var u=function(){!$(s)||s&&!r.$eval(s)||t()},d=++p;o?(e(o,!0).then(function(e){if(!r.$$destroyed&&d===p){var t=r.$new();l.template=e;var s=c(t,function(e){m(),n.enter(e,null,i).then(u)});f=t,h=s,f.$emit("$includeContentLoaded",o),r.$eval(a)}},function(){r.$$destroyed||d===p&&(m(),r.$emit("$includeContentError",o))}),r.$emit("$includeContentRequested",o)):(m(),l.template=null)})}}}}],da=["$compile",function(t){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(n,r,i,o){return Vr.call(r[0]).match(/SVG/)?(r.empty(),void t(_e(o.template,e.document).childNodes)(n,function(e){r.append(e)},{futureParentElement:r})):(r.html(o.template),void t(r.contents())(n))}}}],ha=sr({priority:450,compile:function(){return{pre:function(e,t,n){e.$eval(n.ngInit)}}}}),pa=function(){return{restrict:"A",priority:100,require:"ngModel",link:function(e,t,n,i){var o=t.attr(n.$attr.ngList)||", ",a="false"!==n.ngTrim,s=a?Gr(o):o,u=function(e){if(!v(e)){var t=[];return e&&r(e.split(s),function(e){e&&t.push(a?Gr(e):e)}),t}};i.$parsers.push(u),i.$formatters.push(function(e){return Wr(e)?e.join(o):void 0}),i.$isEmpty=function(e){return!e||!e.length}}}},ma="ng-valid",ga="ng-invalid",va="ng-pristine",$a="ng-dirty",ya="ng-untouched",ba="ng-touched",wa="ng-pending",xa="ng-empty",ka="ng-not-empty",Ca=t("ngModel"),Sa=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate","$timeout","$rootScope","$q","$interpolate",function(e,t,n,i,o,a,s,u,l,c){this.$viewValue=Number.NaN,this.$modelValue=Number.NaN,this.$$rawModelValue=void 0,this.$validators={},this.$asyncValidators={},this.$parsers=[],this.$formatters=[],this.$viewChangeListeners=[],this.$untouched=!0,this.$touched=!1,this.$pristine=!0,this.$dirty=!1,this.$valid=!0,this.$invalid=!1,this.$error={},this.$$success={},this.$pending=void 0,this.$name=c(n.name||"",!1)(e),this.$$parentForm=Fo;var f,d=o(n.ngModel),p=d.assign,m=d,g=p,y=null,b=this;this.$$setOptions=function(e){if(b.$options=e,e&&e.getterSetter){var t=o(n.ngModel+"()"),r=o(n.ngModel+"($$$p)");m=function(e){var n=d(e);return C(n)&&(n=t(e)),n},g=function(e,t){C(d(e))?r(e,{$$$p:t}):p(e,t)}}else if(!d.assign)throw Ca("nonassign","Expression '{0}' is non-assignable. Element: {1}",n.ngModel,J(i))},this.$render=h,this.$isEmpty=function(e){return v(e)||""===e||null===e||e!==e},this.$$updateEmptyClasses=function(e){b.$isEmpty(e)?(a.removeClass(i,ka),a.addClass(i,xa)):(a.removeClass(i,xa),a.addClass(i,ka))};var w=0;Cr({ctrl:this,$element:i,set:function(e,t){e[t]=!0},unset:function(e,t){delete e[t]},$animate:a}),this.$setPristine=function(){b.$dirty=!1,b.$pristine=!0,a.removeClass(i,$a),a.addClass(i,va)},this.$setDirty=function(){b.$dirty=!0,b.$pristine=!1,a.removeClass(i,va),a.addClass(i,$a),b.$$parentForm.$setDirty()},this.$setUntouched=function(){b.$touched=!1,b.$untouched=!0,a.setClass(i,ya,ba)},this.$setTouched=function(){b.$touched=!0,b.$untouched=!1,a.setClass(i,ba,ya)},this.$rollbackViewValue=function(){s.cancel(y),b.$viewValue=b.$$lastCommittedViewValue,b.$render()},this.$validate=function(){if(!x(b.$modelValue)||!isNaN(b.$modelValue)){var e=b.$$lastCommittedViewValue,t=b.$$rawModelValue,n=b.$valid,r=b.$modelValue,i=b.$options&&b.$options.allowInvalid;b.$$runValidators(t,e,function(e){i||n===e||(b.$modelValue=e?t:void 0,b.$modelValue!==r&&b.$$writeModelToScope())})}},this.$$runValidators=function(e,t,n){function i(){var e=b.$$parserName||"parse";return v(f)?(s(e,null),!0):(f||(r(b.$validators,function(e,t){s(t,null)}),r(b.$asyncValidators,function(e,t){s(t,null)})),s(e,f),f)}function o(){var n=!0;return r(b.$validators,function(r,i){var o=r(e,t);n=n&&o,s(i,o)}),n?!0:(r(b.$asyncValidators,function(e,t){s(t,null)}),!1)}function a(){var n=[],i=!0;r(b.$asyncValidators,function(r,o){var a=r(e,t);if(!O(a))throw Ca("nopromise","Expected asynchronous validator to return a promise but got '{0}' instead.",a);s(o,void 0),n.push(a.then(function(){s(o,!0)},function(){i=!1,s(o,!1)}))}),n.length?l.all(n).then(function(){u(i)},h):u(!0)}function s(e,t){c===w&&b.$setValidity(e,t)}function u(e){c===w&&n(e)}w++;var c=w;return i()&&o()?void a():void u(!1)},this.$commitViewValue=function(){var e=b.$viewValue;s.cancel(y),(b.$$lastCommittedViewValue!==e||""===e&&b.$$hasNativeValidators)&&(b.$$updateEmptyClasses(e),b.$$lastCommittedViewValue=e,b.$pristine&&this.$setDirty(),this.$$parseAndValidate())},this.$$parseAndValidate=function(){function t(){b.$modelValue!==o&&b.$$writeModelToScope()}var n=b.$$lastCommittedViewValue,r=n;if(f=v(r)?void 0:!0)for(var i=0;io;o++){var u=e===n?o:n[o],l=e[u],c=k(l,u),f=g(l,c);if(t.push(f),s[2]||s[1]){var d=$(r,c);t.push(d)}if(s[4]){var h=b(r,c);t.push(h)}}return t}),getOptions:function(){for(var e=[],t={},n=w(r)||[],o=a(n),s=o.length,u=0;s>u;u++){var l=n===o?u:o[u],c=n[l],d=k(c,l),h=p(r,d),m=g(h,d),x=$(r,d),C=y(r,d),S=b(r,d),_=new i(m,h,x,C,S);e.push(_),t[m]=_}return{items:e,selectValueMap:t,getOptionFromViewValue:function(e){return t[v(e)]},getViewValueFromOption:function(e){return f?qr.copy(e.viewValue):e.viewValue}}}}}function s(e,n,o,s){function c(e,t){var n=u.cloneNode(!1);t.appendChild(n),f(e,n)}function f(e,t){e.element=t,t.disabled=e.disabled,e.label!==t.label&&(t.label=e.label,t.textContent=e.label),e.value!==t.value&&(t.value=e.selectValue)}function d(){var e=k&&p.readValue();if(k)for(var t=k.items.length-1;t>=0;t--){var r=k.items[t];He(r.group?r.element.parentNode:r.element)}k=C.getOptions();var i={};if(w&&n.prepend(h),k.items.forEach(function(e){var t;$(e.group)?(t=i[e.group],t||(t=l.cloneNode(!1),S.appendChild(t),t.label=e.group,i[e.group]=t),c(e,t)):c(e,S)}),n[0].appendChild(S),m.$render(),!m.$isEmpty(e)){var o=p.readValue(),a=C.trackBy||g;(a?V(e,o):e===o)||(m.$setViewValue(o),m.$render())}}for(var h,p=s[0],m=s[1],g=o.multiple,v=0,y=n.children(),b=y.length;b>v;v++)if(""===y[v].value){h=y.eq(v);break}var w=!!h,x=Ir(u.cloneNode(!1));x.val("?");var k,C=a(o.ngOptions,n,e),S=i[0].createDocumentFragment(),_=function(){w||n.prepend(h),n.val(""),h.prop("selected",!0),h.attr("selected",!0)},E=function(){w||h.remove()},D=function(){n.prepend(x),n.val("?"),x.prop("selected",!0),x.attr("selected",!0)},M=function(){x.remove()};g?(m.$isEmpty=function(e){return!e||0===e.length},p.writeValue=function(e){k.items.forEach(function(e){e.element.selected=!1}),e&&e.forEach(function(e){var t=k.getOptionFromViewValue(e);t&&(t.element.selected=!0)})},p.readValue=function(){var e=n.val()||[],t=[];return r(e,function(e){var n=k.selectValueMap[e];n&&!n.disabled&&t.push(k.getViewValueFromOption(n))}),t},C.trackBy&&e.$watchCollection(function(){return Wr(m.$viewValue)?m.$viewValue.map(function(e){return C.getTrackByValue(e)}):void 0},function(){m.$render()})):(p.writeValue=function(e){var t=k.getOptionFromViewValue(e);t?(n[0].value!==t.selectValue&&(M(),E(),n[0].value=t.selectValue,t.element.selected=!0),t.element.setAttribute("selected","selected")):null===e||w?(M(),_()):(E(),D())},p.readValue=function(){var e=k.selectValueMap[n.val()];return e&&!e.disabled?(E(),M(),k.getViewValueFromOption(e)):null},C.trackBy&&e.$watch(function(){return C.getTrackByValue(m.$viewValue)},function(){m.$render()})),w?(h.remove(),t(h)(e),h.removeClass("ng-scope")):h=Ir(u.cloneNode(!1)),n.empty(),d(),e.$watchCollection(C.getWatchables,d)}var u=e.document.createElement("option"),l=e.document.createElement("optgroup");return{restrict:"A",terminal:!0,require:["select","ngModel"],link:{pre:function(e,t,n,r){r[0].registerOption=h},post:s}}}],Fa=["$locale","$interpolate","$log",function(e,t,n){var i=/{}/g,o=/^when(Minus)?(.+)$/;return{link:function(a,s,u){function l(e){s.text(e||"")}var c,f=u.count,d=u.$attr.when&&s.attr(u.$attr.when),p=u.offset||0,m=a.$eval(d)||{},g={},$=t.startSymbol(),y=t.endSymbol(),b=$+f+"-"+p+y,w=qr.noop;r(u,function(e,t){var n=o.exec(t);if(n){var r=(n[1]?"-":"")+Tr(n[2]);m[r]=s.attr(u.$attr[t])}}),r(m,function(e,n){g[n]=t(e.replace(i,b))}),a.$watch(f,function(t){var r=parseFloat(t),i=isNaN(r);if(i||r in m||(r=e.pluralCat(r-p)),r!==c&&!(i&&x(c)&&isNaN(c))){w();var o=g[r];v(o)?(null!=t&&n.debug("ngPluralize: no rule defined for '"+r+"' in "+d),w=h,l()):w=a.$watch(o,l),c=r}})}}}],Na=["$parse","$animate","$compile",function(e,i,o){var a="$$NG_REMOVED",s=t("ngRepeat"),u=function(e,t,n,r,i,o,a){e[n]=r,i&&(e[i]=o),e.$index=t,e.$first=0===t,e.$last=t===a-1,e.$middle=!(e.$first||e.$last),e.$odd=!(e.$even=0===(1&t))},l=function(e){return e.clone[0]},c=function(e){return e.clone[e.clone.length-1]};return{restrict:"A",multiElement:!0,transclude:"element",priority:1e3,terminal:!0,$$tlb:!0,compile:function(t,f){var d=f.ngRepeat,h=o.$$createComment("end ngRepeat",d),p=d.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+track\s+by\s+([\s\S]+?))?\s*$/);if(!p)throw s("iexp","Expected expression in form of '_item_ in _collection_[ track by _id_]' but got '{0}'.",d);var m=p[1],g=p[2],v=p[3],$=p[4];if(p=m.match(/^(?:(\s*[\$\w]+)|\(\s*([\$\w]+)\s*,\s*([\$\w]+)\s*\))$/),!p)throw s("iidexp","'_item_' in '_item_ in _collection_' should be an identifier or '(_key_, _value_)' expression, but got '{0}'.",m);var y=p[3]||p[1],b=p[2];if(v&&(!/^[$a-zA-Z_][$a-zA-Z0-9_]*$/.test(v)||/^(null|undefined|this|\$index|\$first|\$middle|\$last|\$even|\$odd|\$parent|\$root|\$id)$/.test(v)))throw s("badident","alias '{0}' is invalid --- must be a valid JS identifier which is not a reserved name.",v);var w,x,k,C,S={$id:Je};return $?w=e($):(k=function(e,t){return Je(t)},C=function(e){return e}),function(e,t,o,f,p){w&&(x=function(t,n,r){return b&&(S[b]=t),S[y]=n,S.$index=r,w(e,S)});var m=me();e.$watchCollection(g,function(o){var f,g,$,w,S,_,E,D,M,T,A,O,F=t[0],N=me();if(v&&(e[v]=o),n(o))M=o,D=x||k;else{D=x||C,M=[];for(var I in o)Mr.call(o,I)&&"$"!==I.charAt(0)&&M.push(I)}for(w=M.length,A=new Array(w),f=0;w>f;f++)if(S=o===M?f:M[f],_=o[S],E=D(S,_,f),m[E])T=m[E],delete m[E],N[E]=T,A[f]=T;else{if(N[E])throw r(A,function(e){e&&e.scope&&(m[e.id]=e)}),s("dupes","Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: {0}, Duplicate key: {1}, Duplicate value: {2}",d,E,_);A[f]={id:E,scope:void 0,clone:void 0},N[E]=!0}for(var P in m){if(T=m[P],O=pe(T.clone),i.leave(O),O[0].parentNode)for(f=0,g=O.length;g>f;f++)O[f][a]=!0;T.scope.$destroy()}for(f=0;w>f;f++)if(S=o===M?f:M[f],_=o[S],T=A[f],T.scope){$=F;do $=$.nextSibling;while($&&$[a]);l(T)!=$&&i.move(pe(T.clone),null,F),F=c(T),u(T.scope,f,y,_,b,S,w)}else p(function(e,t){T.scope=t;var n=h.cloneNode(!1);e[e.length++]=n,i.enter(e,null,F),F=n,T.clone=e,N[T.id]=T,u(T.scope,f,y,_,b,S,w)});m=N})}}}}],Ia="ng-hide",Pa="ng-hide-animate",ja=["$animate",function(e){return{restrict:"A",multiElement:!0,link:function(t,n,r){t.$watch(r.ngShow,function(t){e[t?"removeClass":"addClass"](n,Ia,{tempClasses:Pa})})}}}],La=["$animate",function(e){return{restrict:"A",multiElement:!0,link:function(t,n,r){t.$watch(r.ngHide,function(t){e[t?"addClass":"removeClass"](n,Ia,{tempClasses:Pa})})}}}],Ra=sr(function(e,t,n){e.$watch(n.ngStyle,function(e,n){n&&e!==n&&r(n,function(e,n){t.css(n,"")}),e&&t.css(e)},!0)}),Ua=["$animate","$compile",function(e,t){return{require:"ngSwitch",controller:["$scope",function(){this.cases={}}],link:function(n,i,o,a){var s=o.ngSwitch||o.on,u=[],l=[],c=[],f=[],d=function(e,t){return function(){e.splice(t,1)}};n.$watch(s,function(n){var i,o;for(i=0,o=c.length;o>i;++i)e.cancel(c[i]);for(c.length=0,i=0,o=f.length;o>i;++i){var s=pe(l[i].clone);f[i].$destroy();var h=c[i]=e.leave(s);h.then(d(c,i))}l.length=0,f.length=0,(u=a.cases["!"+n]||a.cases["?"])&&r(u,function(n){n.transclude(function(r,i){f.push(i);var o=n.element;r[r.length++]=t.$$createComment("end ngSwitchWhen");var a={clone:r};l.push(a),e.enter(r,o.parent(),o)})})})}}}],Va=sr({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(e,t,n,r,i){r.cases["!"+n.ngSwitchWhen]=r.cases["!"+n.ngSwitchWhen]||[],r.cases["!"+n.ngSwitchWhen].push({transclude:i,element:t})}}),za=sr({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(e,t,n,r,i){r.cases["?"]=r.cases["?"]||[],r.cases["?"].push({transclude:i,element:t})}}),Ha=t("ngTransclude"),qa=sr({restrict:"EAC",link:function(e,t,n,r,i){function o(e){e.length&&(t.empty(),t.append(e))}if(n.ngTransclude===n.$attr.ngTransclude&&(n.ngTransclude=""),!i)throw Ha("orphan","Illegal use of ngTransclude directive in the template! No parent directive that requires a transclusion found. Element: {0}",J(t));var a=n.ngTransclude||n.ngTranscludeSlot;i(o,null,a)}}),Ya=["$templateCache",function(e){return{restrict:"E",terminal:!0,compile:function(t,n){if("text/ng-template"==n.type){var r=n.id,i=t[0].text;e.put(r,i)}}}}],Wa={$setViewValue:h,$render:h},Ba=["$element","$scope",function(t,n){var r=this,i=new Xe;r.ngModelCtrl=Wa,r.unknownOption=Ir(e.document.createElement("option")),r.renderUnknownOption=function(e){var n="? "+Je(e)+" ?";r.unknownOption.val(n),t.prepend(r.unknownOption),t.val(n)},n.$on("$destroy",function(){r.renderUnknownOption=h}),r.removeUnknownOption=function(){r.unknownOption.parent()&&r.unknownOption.remove()},r.readValue=function(){return r.removeUnknownOption(),t.val()},r.writeValue=function(e){r.hasOption(e)?(r.removeUnknownOption(),t.val(e),""===e&&r.emptyOption.prop("selected",!0)):null==e&&r.emptyOption?(r.removeUnknownOption(),t.val("")):r.renderUnknownOption(e)},r.addOption=function(e,t){if(t[0].nodeType!==oi){de(e,'"option value"'),""===e&&(r.emptyOption=t);var n=i.get(e)||0;i.put(e,n+1),r.ngModelCtrl.$render(),_r(t)}},r.removeOption=function(e){var t=i.get(e);t&&(1===t?(i.remove(e),""===e&&(r.emptyOption=void 0)):i.put(e,t-1))},r.hasOption=function(e){return!!i.get(e)},r.registerOption=function(e,t,n,i,o){if(i){var a;n.$observe("value",function(e){$(a)&&r.removeOption(a),a=e,r.addOption(e,t)})}else o?e.$watch(o,function(e,i){n.$set("value",e),i!==e&&r.removeOption(i),r.addOption(e,t)}):r.addOption(n.value,t);t.on("$destroy",function(){r.removeOption(n.value),r.ngModelCtrl.$render()})}}],Ga=function(){function e(e,t,n,i){var o=i[1];if(o){var a=i[0];if(a.ngModelCtrl=o,t.on("change",function(){e.$apply(function(){o.$setViewValue(a.readValue())})}),n.multiple){a.readValue=function(){var e=[];return r(t.find("option"),function(t){t.selected&&e.push(t.value)}),e},a.writeValue=function(e){var n=new Xe(e);r(t.find("option"),function(e){e.selected=$(n.get(e.value))})};var s,u=NaN;e.$watch(function(){u!==o.$viewValue||V(s,o.$viewValue)||(s=U(o.$viewValue),o.$render()),u=o.$viewValue}),o.$isEmpty=function(e){return!e||0===e.length}}}}function t(e,t,n,r){var i=r[1];if(i){var o=r[0];i.$render=function(){o.writeValue(i.$viewValue)}}}return{restrict:"E",require:["select","?ngModel"],controller:Ba,priority:1,link:{pre:e,post:t}}},Za=["$interpolate",function(e){return{restrict:"E",priority:100,compile:function(t,n){if($(n.value))var r=e(n.value,!0);else{var i=e(t.text(),!0);i||n.$set("value",t.text())}return function(e,t,n){var o="$selectController",a=t.parent(),s=a.data(o)||a.parent().data(o);s&&s.registerOption(e,t,n,r,i)}}}}],Qa=m({restrict:"E",terminal:!1}),Ja=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){r&&(n.required=!0,r.$validators.required=function(e,t){return!n.required||!r.$isEmpty(t)},n.$observe("required",function(){r.$validate()}))}}},Xa=function(){return{restrict:"A",require:"?ngModel",link:function(e,n,r,i){if(i){var o,a=r.ngPattern||r.pattern;r.$observe("pattern",function(e){if(w(e)&&e.length>0&&(e=new RegExp("^"+e+"$")),e&&!e.test)throw t("ngPattern")("noregexp","Expected {0} to be a RegExp but was {1}. Element: {2}",a,e,J(n));o=e||void 0,i.$validate()}),i.$validators.pattern=function(e,t){return i.$isEmpty(t)||v(o)||o.test(t)}}}}},Ka=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i=-1;n.$observe("maxlength",function(e){var t=f(e);i=isNaN(t)?-1:t,r.$validate()}),r.$validators.maxlength=function(e,t){return 0>i||r.$isEmpty(t)||t.length<=i}}}}},es=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i=0;n.$observe("minlength",function(e){i=f(e)||0,r.$validate()}),r.$validators.minlength=function(e,t){return r.$isEmpty(t)||t.length>=i}}}}};return e.angular.bootstrap?void(e.console&&console.log("WARNING: Tried to load angular more than once.")):(le(),ye(qr),qr.module("ngLocale",[],["$provide",function(e){function t(e){e+="";var t=e.indexOf(".");return-1==t?0:e.length-t-1}function n(e,n){var r=n;void 0===r&&(r=Math.min(t(e),3));var i=Math.pow(10,r),o=(e*i|0)%i;return{v:r,f:o}}var r={ZERO:"zero",ONE:"one",TWO:"two",FEW:"few",MANY:"many",OTHER:"other"};e.value("$locale",{DATETIME_FORMATS:{AMPMS:["AM","PM"],DAY:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],ERANAMES:["Before Christ","Anno Domini"],ERAS:["BC","AD"],FIRSTDAYOFWEEK:6,MONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],SHORTDAY:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],SHORTMONTH:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],STANDALONEMONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],WEEKENDRANGE:[5,6],fullDate:"EEEE, MMMM d, y",longDate:"MMMM d, y",medium:"MMM d, y h:mm:ss a",mediumDate:"MMM d, y",mediumTime:"h:mm:ss a","short":"M/d/yy h:mm a",shortDate:"M/d/yy",shortTime:"h:mm a"},NUMBER_FORMATS:{CURRENCY_SYM:"$",DECIMAL_SEP:".",GROUP_SEP:",",PATTERNS:[{gSize:3,lgSize:3,maxFrac:3,minFrac:0,minInt:1,negPre:"-",negSuf:"",posPre:"",posSuf:""},{gSize:3,lgSize:3,maxFrac:2,minFrac:2,minInt:1,negPre:"-¤",negSuf:"",posPre:"¤",posSuf:""}]},id:"en-us",localeID:"en_US",pluralCat:function(e,t){var i=0|e,o=n(e,t);return 1==i&&0==o.v?r.ONE:r.OTHER}})}]),void Ir(e.document).ready(function(){ie(e.document,oe)}))}(window),!window.angular.$$csp().noInlineStyle&&window.angular.element(document.head).prepend('')},{}],9:[function(e,t,n){e("./angular"),t.exports=angular},{"./angular":8}],10:[function(e,t,n){(function(){var e,n,r,i,o,a,s,u,l=[].slice,c={}.hasOwnProperty,f=function(e,t){function n(){this.constructor=e}for(var r in t)c.call(t,r)&&(e[r]=t[r]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e};s=function(){},n=function(){function e(){}return e.prototype.addEventListener=e.prototype.on,e.prototype.on=function(e,t){return this._callbacks=this._callbacks||{},this._callbacks[e]||(this._callbacks[e]=[]),this._callbacks[e].push(t),this},e.prototype.emit=function(){var e,t,n,r,i,o;if(r=arguments[0],e=2<=arguments.length?l.call(arguments,1):[],this._callbacks=this._callbacks||{},n=this._callbacks[r])for(i=0,o=n.length;o>i;i++)t=n[i],t.apply(this,e);return this},e.prototype.removeListener=e.prototype.off,e.prototype.removeAllListeners=e.prototype.off,e.prototype.removeEventListener=e.prototype.off,e.prototype.off=function(e,t){var n,r,i,o,a;if(!this._callbacks||0===arguments.length)return this._callbacks={},this;if(r=this._callbacks[e],!r)return this;if(1===arguments.length)return delete this._callbacks[e],this;for(i=o=0,a=r.length;a>o;i=++o)if(n=r[i],n===t){r.splice(i,1);break}return this},e}(),e=function(e){function t(e,n){var i,o,a;if(this.element=e,this.version=t.version,this.defaultOptions.previewTemplate=this.defaultOptions.previewTemplate.replace(/\n*/g,""),this.clickableElements=[],this.listeners=[],this.files=[],"string"==typeof this.element&&(this.element=document.querySelector(this.element)),!this.element||null==this.element.nodeType)throw new Error("Invalid dropzone element.");if(this.element.dropzone)throw new Error("Dropzone already attached.");if(t.instances.push(this),this.element.dropzone=this,i=null!=(a=t.optionsForElement(this.element))?a:{},this.options=r({},this.defaultOptions,i,null!=n?n:{}),this.options.forceFallback||!t.isBrowserSupported())return this.options.fallback.call(this);if(null==this.options.url&&(this.options.url=this.element.getAttribute("action")),!this.options.url)throw new Error("No URL provided.");if(this.options.acceptedFiles&&this.options.acceptedMimeTypes)throw new Error("You can't provide both 'acceptedFiles' and 'acceptedMimeTypes'. 'acceptedMimeTypes' is deprecated.");this.options.acceptedMimeTypes&&(this.options.acceptedFiles=this.options.acceptedMimeTypes,delete this.options.acceptedMimeTypes),this.options.method=this.options.method.toUpperCase(),(o=this.getExistingFallback())&&o.parentNode&&o.parentNode.removeChild(o),this.options.previewsContainer!==!1&&(this.options.previewsContainer?this.previewsContainer=t.getElement(this.options.previewsContainer,"previewsContainer"):this.previewsContainer=this.element),this.options.clickable&&(this.options.clickable===!0?this.clickableElements=[this.element]:this.clickableElements=t.getElements(this.options.clickable,"clickable")),this.init()}var r,i;return f(t,e),t.prototype.Emitter=n,t.prototype.events=["drop","dragstart","dragend","dragenter","dragover","dragleave","addedfile","addedfiles","removedfile","thumbnail","error","errormultiple","processing","processingmultiple","uploadprogress","totaluploadprogress","sending","sendingmultiple","success","successmultiple","canceled","canceledmultiple","complete","completemultiple","reset","maxfilesexceeded","maxfilesreached","queuecomplete"],t.prototype.defaultOptions={url:null,method:"post",withCredentials:!1,parallelUploads:2,uploadMultiple:!1,maxFilesize:256,paramName:"file",createImageThumbnails:!0,maxThumbnailFilesize:10,thumbnailWidth:120,thumbnailHeight:120,filesizeBase:1e3,maxFiles:null,params:{},clickable:!0,ignoreHiddenFiles:!0,acceptedFiles:null,acceptedMimeTypes:null,autoProcessQueue:!0,autoQueue:!0,addRemoveLinks:!1,previewsContainer:null,hiddenInputContainer:"body",capture:null,renameFilename:null,dictDefaultMessage:"Drop files here to upload",dictFallbackMessage:"Your browser does not support drag'n'drop file uploads.",dictFallbackText:"Please use the fallback form below to upload your files like in the olden days.",dictFileTooBig:"File is too big ({{filesize}}MiB). Max filesize: {{maxFilesize}}MiB.",dictInvalidFileType:"You can't upload files of this type.",dictResponseError:"Server responded with {{statusCode}} code.",dictCancelUpload:"Cancel upload",dictCancelUploadConfirmation:"Are you sure you want to cancel this upload?",dictRemoveFile:"Remove file",dictRemoveFileConfirmation:null,dictMaxFilesExceeded:"You can not upload any more files.",accept:function(e,t){return t()},init:function(){return s},forceFallback:!1,fallback:function(){var e,n,r,i,o,a;for(this.element.className=""+this.element.className+" dz-browser-not-supported",a=this.element.getElementsByTagName("div"),i=0,o=a.length;o>i;i++)e=a[i],/(^| )dz-message($| )/.test(e.className)&&(n=e,e.className="dz-message");return n||(n=t.createElement('
    '),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=this._renameFilename(e.name);for(d=e.previewElement.querySelectorAll("[data-dz-size]"),a=0,l=d.length;l>a;a++)n=d[a],n.innerHTML=this.filesize(e.size);for(this.options.addRemoveLinks&&(e._removeLink=t.createElement(''+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._renameFilename=function(e){return"function"!=typeof this.options.renameFilename?e:this.options.renameFilename(e)},t.prototype.getFallbackForm=function(){var e,n,r,i;return(e=this.getExistingFallback())?e:(r='
    ',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,i;return n=e.createReader(),r=function(e){return"undefined"!=typeof console&&null!==console&&"function"==typeof console.log?console.log(e):void 0},(i=function(e){return function(){return n.readEntries(function(n){var r,o,a;if(n.length>0){for(o=0,a=n.length;a>o;o++)r=n[o],r.isFile?r.file(function(n){return e.options.ignoreHiddenFiles&&"."===n.name.substring(0,1)?void 0:(n.fullPath=""+t+"/"+n.name,e.addFile(n))}):r.isDirectory&&e._addFilesFromDirectory(r,""+t+"/"+r.name);i()}return null},r)}}(this))()},t.prototype.accept=function(e,n){return e.size>1024*this.options.maxFilesize*1024?n(this.options.dictFileTooBig.replace("{{filesize}}",Math.round(e.size/1024/10.24)/100).replace("{{maxFilesize}}",this.options.maxFilesize)):t.isValidFile(e,this.options.acceptedFiles)?null!=this.options.maxFiles&&this.getAcceptedFiles().length>=this.options.maxFiles?(n(this.options.dictMaxFilesExceeded.replace("{{maxFiles}}",this.options.maxFiles)),this.emit("maxfilesexceeded",e)):this.options.accept.call(this,e,n):n(this.options.dictInvalidFileType)},t.prototype.addFile=function(e){return e.upload={progress:0,total:e.size,bytesSent:0},this.files.push(e),e.status=t.ADDED,this.emit("addedfile",e),this._enqueueThumbnail(e),this.accept(e,function(t){return function(n){return n?(e.accepted=!1,t._errorProcessing([e],n)):(e.accepted=!0,t.options.autoQueue&&t.enqueueFile(e)),t._updateMaxFilesReachedClass()}}(this))},t.prototype.enqueueFiles=function(e){var t,n,r;for(n=0,r=e.length;r>n;n++)t=e[n],this.enqueueFile(t);return null},t.prototype.enqueueFile=function(e){if(e.status!==t.ADDED||e.accepted!==!0)throw new Error("This file can't be queued because it has already been processed or was rejected.");return e.status=t.QUEUED,this.options.autoProcessQueue?setTimeout(function(e){return function(){return e.processQueue()}}(this),0):void 0},t.prototype._thumbnailQueue=[],t.prototype._processingThumbnail=!1,t.prototype._enqueueThumbnail=function(e){return this.options.createImageThumbnails&&e.type.match(/image.*/)&&e.size<=1024*this.options.maxThumbnailFilesize*1024?(this._thumbnailQueue.push(e),setTimeout(function(e){return function(){return e._processThumbnailQueue()}}(this),0)):void 0},t.prototype._processThumbnailQueue=function(){return this._processingThumbnail||0===this._thumbnailQueue.length?void 0:(this._processingThumbnail=!0,this.createThumbnail(this._thumbnailQueue.shift(),function(e){return function(){return e._processingThumbnail=!1,e._processThumbnailQueue()}}(this)))},t.prototype.removeFile=function(e){return e.status===t.UPLOADING&&this.cancelUpload(e),this.files=u(this.files,e),this.emit("removedfile",e),0===this.files.length?this.emit("reset"):void 0},t.prototype.removeAllFiles=function(e){var n,r,i,o;for(null==e&&(e=!1),o=this.files.slice(),r=0,i=o.length;i>r;r++)n=o[r],(n.status!==t.UPLOADING||e)&&this.removeFile(n);return null},t.prototype.createThumbnail=function(e,t){var n;return n=new FileReader,n.onload=function(r){return function(){return"image/svg+xml"===e.type?(r.emit("thumbnail",e,n.result),void(null!=t&&t())):r.createThumbnailFromUrl(e,n.result,t)}}(this),n.readAsDataURL(e)},t.prototype.createThumbnailFromUrl=function(e,t,n,r){var i;return i=document.createElement("img"),r&&(i.crossOrigin=r),i.onload=function(t){return function(){var r,o,s,u,l,c,f,d;return e.width=i.width,e.height=i.height,s=t.options.resize.call(t,e),null==s.trgWidth&&(s.trgWidth=s.optWidth),null==s.trgHeight&&(s.trgHeight=s.optHeight),r=document.createElement("canvas"),o=r.getContext("2d"),r.width=s.trgWidth,r.height=s.trgHeight,a(o,i,null!=(l=s.srcX)?l:0,null!=(c=s.srcY)?c:0,s.srcWidth,s.srcHeight,null!=(f=s.trgX)?f:0,null!=(d=s.trgY)?d:0,s.trgWidth,s.trgHeight),u=r.toDataURL("image/png"),t.emit("thumbnail",e,u),null!=n?n():void 0}}(this),null!=n&&(i.onerror=n),i.src=t},t.prototype.processQueue=function(){var e,t,n,r;if(t=this.options.parallelUploads,n=this.getUploadingFiles().length,e=n,!(n>=t)&&(r=this.getQueuedFiles(),r.length>0)){if(this.options.uploadMultiple)return this.processFiles(r.slice(0,t-n));for(;t>e;){if(!r.length)return;this.processFile(r.shift()),e++}}},t.prototype.processFile=function(e){return this.processFiles([e])},t.prototype.processFiles=function(e){var n,r,i;for(r=0,i=e.length;i>r;r++)n=e[r],n.processing=!0,n.status=t.UPLOADING,this.emit("processing",n);return this.options.uploadMultiple&&this.emit("processingmultiple",e),this.uploadFiles(e)},t.prototype._getFilesWithXhr=function(e){var t,n;return n=function(){var n,r,i,o;for(i=this.files,o=[],n=0,r=i.length;r>n;n++)t=i[n],t.xhr===e&&o.push(t);return o}.call(this)},t.prototype.cancelUpload=function(e){var n,r,i,o,a,s,u;if(e.status===t.UPLOADING){for(r=this._getFilesWithXhr(e.xhr),i=0,a=r.length;a>i;i++)n=r[i],n.status=t.CANCELED;for(e.xhr.abort(),o=0,s=r.length;s>o;o++)n=r[o],this.emit("canceled",n);this.options.uploadMultiple&&this.emit("canceledmultiple",r)}else(u=e.status)!==t.ADDED&&u!==t.QUEUED||(e.status=t.CANCELED,this.emit("canceled",e),this.options.uploadMultiple&&this.emit("canceledmultiple",[e]));return this.options.autoProcessQueue?this.processQueue():void 0},i=function(){var e,t;return t=arguments[0],e=2<=arguments.length?l.call(arguments,1):[],"function"==typeof t?t.apply(this,e):t},t.prototype.uploadFile=function(e){return this.uploadFiles([e])},t.prototype.uploadFiles=function(e){var n,o,a,s,u,l,c,f,d,h,p,m,g,v,$,y,b,w,x,k,C,S,_,E,D,M,T,A,O,F,N,I,P,j;for(x=new XMLHttpRequest,k=0,E=e.length;E>k;k++)n=e[k],n.xhr=x;m=i(this.options.method,e),b=i(this.options.url,e),x.open(m,b,!0),x.withCredentials=!!this.options.withCredentials,$=null,a=function(t){return function(){var r,i,o;for(o=[],r=0,i=e.length;i>r;r++)n=e[r],o.push(t._errorProcessing(e,$||t.options.dictResponseError.replace("{{statusCode}}",x.status),x));return o}}(this),y=function(t){return function(r){var i,o,a,s,u,l,c,f,d;if(null!=r)for(o=100*r.loaded/r.total,a=0,l=e.length;l>a;a++)n=e[a],n.upload={progress:o,total:r.total,bytesSent:r.loaded};else{for(i=!0,o=100,s=0,c=e.length;c>s;s++)n=e[s],100===n.upload.progress&&n.upload.bytesSent===n.upload.total||(i=!1),n.upload.progress=o,n.upload.bytesSent=n.upload.total;if(i)return}for(d=[],u=0,f=e.length;f>u;u++)n=e[u],d.push(t.emit("uploadprogress",n,o,n.upload.bytesSent));return d}}(this),x.onload=function(n){return function(r){var i;if(e[0].status!==t.CANCELED&&4===x.readyState){if($=x.responseText,x.getResponseHeader("content-type")&&~x.getResponseHeader("content-type").indexOf("application/json"))try{$=JSON.parse($)}catch(o){r=o,$="Invalid JSON response from server."}return y(),200<=(i=x.status)&&300>i?n._finished(e,$,r):a()}}}(this),x.onerror=function(n){return function(){return e[0].status!==t.CANCELED?a():void 0}}(this),v=null!=(O=x.upload)?O:x,v.onprogress=y,l={Accept:"application/json","Cache-Control":"no-cache","X-Requested-With":"XMLHttpRequest"},this.options.headers&&r(l,this.options.headers);for(s in l)u=l[s],u&&x.setRequestHeader(s,u);if(o=new FormData,this.options.params){F=this.options.params;for(p in F)w=F[p],o.append(p,w)}for(C=0,D=e.length;D>C;C++)n=e[C],this.emit("sending",n,x,o);if(this.options.uploadMultiple&&this.emit("sendingmultiple",e,x,o),"FORM"===this.element.tagName)for(N=this.element.querySelectorAll("input, textarea, select, button"),S=0,M=N.length;M>S;S++)if(f=N[S],d=f.getAttribute("name"),h=f.getAttribute("type"),"SELECT"===f.tagName&&f.hasAttribute("multiple"))for(I=f.options,_=0,T=I.length;T>_;_++)g=I[_],g.selected&&o.append(d,g.value);else(!h||"checkbox"!==(P=h.toLowerCase())&&"radio"!==P||f.checked)&&o.append(d,f.value);for(c=A=0,j=e.length-1;j>=0?j>=A:A>=j;c=j>=0?++A:--A)o.append(this._getParamName(c),e[c],this._renameFilename(e[c].name));return this.submitRequest(x,o,e)},t.prototype.submitRequest=function(e,t,n){return e.send(t)},t.prototype._finished=function(e,n,r){var i,o,a;for(o=0,a=e.length;a>o;o++)i=e[o],i.status=t.SUCCESS,this.emit("success",i,n,r),this.emit("complete",i);return this.options.uploadMultiple&&(this.emit("successmultiple",e,n,r),this.emit("completemultiple",e)),this.options.autoProcessQueue?this.processQueue():void 0},t.prototype._errorProcessing=function(e,n,r){var i,o,a;for(o=0,a=e.length;a>o;o++)i=e[o],i.status=t.ERROR,this.emit("error",i,n,r),this.emit("complete",i);return this.options.uploadMultiple&&(this.emit("errormultiple",e,n,r),this.emit("completemultiple",e)),this.options.autoProcessQueue?this.processQueue():void 0},t}(n),e.version="4.3.0",e.options={},e.optionsForElement=function(t){return t.getAttribute("id")?e.options[r(t.getAttribute("id"))]:void 0},e.instances=[],e.forElement=function(e){if("string"==typeof e&&(e=document.querySelector(e)),null==(null!=e?e.dropzone:void 0))throw new Error("No Dropzone found for given element. This is probably because you're trying to access it before Dropzone had the time to initialize. Use the `init` option to setup any additional observers on your Dropzone.");return e.dropzone},e.autoDiscover=!0,e.discover=function(){var t,n,r,i,o,a;for(document.querySelectorAll?r=document.querySelectorAll(".dropzone"):(r=[],t=function(e){var t,n,i,o;for(o=[],n=0,i=e.length;i>n;n++)t=e[n],/(^| )dropzone($| )/.test(t.className)?o.push(r.push(t)):o.push(void 0);return o},t(document.getElementsByTagName("div")),t(document.getElementsByTagName("form"))),a=[],i=0,o=r.length;o>i;i++)n=r[i],e.optionsForElement(n)!==!1?a.push(new e(n)):a.push(void 0);return a},e.blacklistedBrowsers=[/opera.*Macintosh.*version\/12/i],e.isBrowserSupported=function(){var t,n,r,i,o;if(t=!0,window.File&&window.FileReader&&window.FileList&&window.Blob&&window.FormData&&document.querySelector)if("classList"in document.createElement("a"))for(o=e.blacklistedBrowsers,r=0,i=o.length;i>r;r++)n=o[r],n.test(navigator.userAgent)&&(t=!1);else t=!1;else t=!1;return t},u=function(e,t){var n,r,i,o;for(o=[],r=0,i=e.length;i>r;r++)n=e[r],n!==t&&o.push(n);return o},r=function(e){return e.replace(/[\-_](\w)/g,function(e){return e.charAt(1).toUpperCase()})},e.createElement=function(e){var t;return t=document.createElement("div"),t.innerHTML=e,t.childNodes[0]},e.elementInside=function(e,t){if(e===t)return!0;for(;e=e.parentNode;)if(e===t)return!0;return!1},e.getElement=function(e,t){var n;if("string"==typeof e?n=document.querySelector(e):null!=e.nodeType&&(n=e),null==n)throw new Error("Invalid `"+t+"` option provided. Please provide a CSS selector or a plain HTML element.");return n},e.getElements=function(e,t){var n,r,i,o,a,s,u,l;if(e instanceof Array){i=[];try{for(o=0,s=e.length;s>o;o++)r=e[o],i.push(this.getElement(r,t))}catch(c){n=c,i=null}}else if("string"==typeof e)for(i=[],l=document.querySelectorAll(e),a=0,u=l.length;u>a;a++)r=l[a],i.push(r);else null!=e.nodeType&&(i=[e]);if(null==i||!i.length)throw new Error("Invalid `"+t+"` option provided. Please provide a CSS selector, a plain HTML element or a list of those.");return i},e.confirm=function(e,t,n){return window.confirm(e)?t():null!=n?n():void 0},e.isValidFile=function(e,t){var n,r,i,o,a;if(!t)return!0;for(t=t.split(","),r=e.type,n=r.replace(/\/.*$/,""),o=0,a=t.length;a>o;o++)if(i=t[o],i=i.trim(),"."===i.charAt(0)){if(-1!==e.name.toLowerCase().indexOf(i.toLowerCase(),e.name.length-i.length))return!0}else if(/\/\*$/.test(i)){if(n===i.replace(/\/.*$/,""))return!0}else if(r===i)return!0;return!1},"undefined"!=typeof jQuery&&null!==jQuery&&(jQuery.fn.dropzone=function(t){return this.each(function(){return new e(this,t)})}),"undefined"!=typeof t&&null!==t?t.exports=e:window.Dropzone=e,e.ADDED="added",e.QUEUED="queued",e.ACCEPTED=e.QUEUED,e.UPLOADING="uploading",e.PROCESSING=e.UPLOADING,e.CANCELED="canceled",e.ERROR="error",e.SUCCESS="success",o=function(e){var t,n,r,i,o,a,s,u,l,c;for(s=e.naturalWidth,a=e.naturalHeight,n=document.createElement("canvas"),n.width=1,n.height=a,r=n.getContext("2d"),r.drawImage(e,0,0),i=r.getImageData(0,0,1,a).data,c=0,o=a,u=a;u>c;)t=i[4*(u-1)+3],0===t?o=u:c=u,u=o+c>>1;return l=u/a,0===l?1:l},a=function(e,t,n,r,i,a,s,u,l,c){var f;return f=o(t),e.drawImage(t,n,r,i,a,s,u,l,c/f)},i=function(e,t){var n,r,i,o,a,s,u,l,c;if(i=!1,c=!0,r=e.document,l=r.documentElement,n=r.addEventListener?"addEventListener":"attachEvent",u=r.addEventListener?"removeEventListener":"detachEvent",s=r.addEventListener?"":"on",o=function(n){return"readystatechange"!==n.type||"complete"===r.readyState?(("load"===n.type?e:r)[u](s+n.type,o,!1),!i&&(i=!0)?t.call(e,n.type||n):void 0):void 0},a=function(){var e;try{l.doScroll("left")}catch(t){return e=t,void setTimeout(a,50)}return o("poll")},"complete"!==r.readyState){if(r.createEventObject&&l.doScroll){try{c=!e.frameElement}catch(f){}c&&a()}return r[n](s+"DOMContentLoaded",o,!1),r[n](s+"readystatechange",o,!1),e[n](s+"load",o,!1)}},e._autoDiscoverFunction=function(){return e.autoDiscover?e.discover():void 0},i(window,e._autoDiscoverFunction)}).call(this)},{}],11:[function(e,t,n){(function(e){(function(){function e(e){this.tokens=[],this.tokens.links={},this.options=e||f.defaults,this.rules=d.normal,this.options.gfm&&(this.options.tables?this.rules=d.tables:this.rules=d.gfm)}function r(e,t){if(this.options=t||f.defaults,this.links=e,this.rules=h.normal,this.renderer=this.options.renderer||new i,this.renderer.options=this.options,!this.links)throw new Error("Tokens array requires a `links` property.");this.options.gfm?this.options.breaks?this.rules=h.breaks:this.rules=h.gfm:this.options.pedantic&&(this.rules=h.pedantic)}function i(e){this.options=e||{}}function o(e){this.tokens=[],this.token=null,this.options=e||f.defaults,this.options.renderer=this.options.renderer||new i,this.renderer=this.options.renderer,this.renderer.options=this.options}function a(e,t){return e.replace(t?/&/g:/&(?!#?\w+;)/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}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 cr)r=cr[n],i=t[r],p(i)||(e[r]=i);return e}function g(e){m(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),fr===!1&&(fr=!0,n.updateOffset(this),fr=!1)}function v(e){return e instanceof g||null!=e&&null!=e._isAMomentObject}function $(e){return 0>e?Math.ceil(e):Math.floor(e)}function y(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=$(t)),n}function b(e,t,n){var r,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(r=0;i>r;r++)(n&&e[r]!==t[r]||!n&&y(e[r])!==y(t[r]))&&a++;return a+o}function w(e){n.suppressDeprecationWarnings===!1&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function x(e,t){var r=!0;return u(function(){return null!=n.deprecationHandler&&n.deprecationHandler(null,e),r&&(w(e+"\nArguments: "+Array.prototype.slice.call(arguments).join(", ")+"\n"+(new Error).stack),r=!1),t.apply(this,arguments)},t)}function k(e,t){null!=n.deprecationHandler&&n.deprecationHandler(e,t),dr[e]||(w(t),dr[e]=!0)}function C(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function S(e){return"[object Object]"===Object.prototype.toString.call(e)}function _(e){var t,n;for(n in e)t=e[n],C(t)?this[n]=t:this["_"+n]=t;this._config=e,this._ordinalParseLenient=new RegExp(this._ordinalParse.source+"|"+/\d{1,2}/.source)}function E(e,t){var n,r=u({},e);for(n in t)s(t,n)&&(S(e[n])&&S(t[n])?(r[n]={},u(r[n],e[n]),u(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);return r}function D(e){null!=e&&this.set(e)}function M(e){return e?e.toLowerCase().replace("_","-"):e}function T(e){for(var t,n,r,i,o=0;o0;){if(r=A(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&b(i,n,!0)>=t-1)break;t--}o++}return null}function A(n){var r=null;if(!gr[n]&&"undefined"!=typeof t&&t&&t.exports)try{r=pr._abbr,e("./locale/"+n),O(r)}catch(i){}return gr[n]}function O(e,t){var n;return e&&(n=p(t)?I(e):F(e,t),n&&(pr=n)),pr._abbr}function F(e,t){return null!==t?(t.abbr=e,null!=gr[e]?(k("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale"),t=E(gr[e]._config,t)):null!=t.parentLocale&&(null!=gr[t.parentLocale]?t=E(gr[t.parentLocale]._config,t):k("parentLocaleUndefined","specified parentLocale is not defined yet")),gr[e]=new D(t),O(e),gr[e]):(delete gr[e],null)}function N(e,t){if(null!=t){var n;null!=gr[e]&&(t=E(gr[e]._config,t)),n=new D(t),n.parentLocale=gr[e],gr[e]=n,O(e)}else null!=gr[e]&&(null!=gr[e].parentLocale?gr[e]=gr[e].parentLocale:null!=gr[e]&&delete gr[e]);return gr[e]}function I(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return pr;if(!i(e)){if(t=A(e))return t;e=[e]}return T(e)}function P(){return hr(gr)}function j(e,t){var n=e.toLowerCase();vr[n]=vr[n+"s"]=vr[t]=e}function L(e){return"string"==typeof e?vr[e]||vr[e.toLowerCase()]:void 0}function R(e){var t,n,r={};for(n in e)s(e,n)&&(t=L(n),t&&(r[t]=e[n]));return r}function U(e,t){return function(r){return null!=r?(z(this,e,r),n.updateOffset(this,t),this):V(this,e)}}function V(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function z(e,t,n){e.isValid()&&e._d["set"+(e._isUTC?"UTC":"")+t](n)}function H(e,t){var n;if("object"==typeof e)for(n in e)this.set(n,e[n]);else if(e=L(e),C(this[e]))return this[e](t);return this}function q(e,t,n){var r=""+Math.abs(e),i=t-r.length,o=e>=0;return(o?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}function Y(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(wr[e]=i),t&&(wr[t[0]]=function(){return q(i.apply(this,arguments),t[1],t[2])}),n&&(wr[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function W(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function B(e){var t,n,r=e.match($r);for(t=0,n=r.length;n>t;t++)wr[r[t]]?r[t]=wr[r[t]]:r[t]=W(r[t]);return function(t){var i,o="";for(i=0;n>i;i++)o+=r[i]instanceof Function?r[i].call(t,e):r[i];return o}}function G(e,t){return e.isValid()?(t=Z(t,e.localeData()),br[t]=br[t]||B(t),br[t](e)):e.localeData().invalidDate()}function Z(e,t){function n(e){return t.longDateFormat(e)||e}var r=5;for(yr.lastIndex=0;r>=0&&yr.test(e);)e=e.replace(yr,n),yr.lastIndex=0,r-=1;return e}function Q(e,t,n){Rr[e]=C(t)?t:function(e,r){return e&&n?n:t}}function J(e,t){return s(Rr,e)?Rr[e](t._strict,t._locale):new RegExp(X(e))}function X(e){return K(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i}))}function K(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function ee(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),"number"==typeof t&&(r=function(e,n){n[t]=y(e)}),n=0;nr;++r)o=l([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?(i=mr.call(this._shortMonthsParse,a),-1!==i?i:null):(i=mr.call(this._longMonthsParse,a),-1!==i?i:null):"MMM"===t?(i=mr.call(this._shortMonthsParse,a),-1!==i?i:(i=mr.call(this._longMonthsParse,a),-1!==i?i:null)):(i=mr.call(this._longMonthsParse,a),-1!==i?i:(i=mr.call(this._shortMonthsParse,a),-1!==i?i:null))}function se(e,t,n){var r,i,o;if(this._monthsParseExact)return ae.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;12>r;r++){if(i=l([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(o="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}}function ue(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=y(t);else if(t=e.localeData().monthsParse(t),"number"!=typeof t)return e;return n=Math.min(e.date(),re(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function le(e){return null!=e?(ue(this,e),n.updateOffset(this,!0),this):V(this,"Month")}function ce(){return re(this.year(),this.month())}function fe(e){return this._monthsParseExact?(s(this,"_monthsRegex")||he.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex}function de(e){return this._monthsParseExact?(s(this,"_monthsRegex")||he.call(this),e?this._monthsStrictRegex:this._monthsRegex):this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex}function he(){function e(e,t){return t.length-e.length}var t,n,r=[],i=[],o=[];for(t=0;12>t;t++)n=l([2e3,t]),r.push(this.monthsShort(n,"")),i.push(this.months(n,"")),o.push(this.months(n,"")),o.push(this.monthsShort(n,""));for(r.sort(e),i.sort(e),o.sort(e),t=0;12>t;t++)r[t]=K(r[t]),i[t]=K(i[t]),o[t]=K(o[t]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function pe(e){var t,n=e._a;return n&&-2===f(e).overflow&&(t=n[zr]<0||n[zr]>11?zr:n[Hr]<1||n[Hr]>re(n[Vr],n[zr])?Hr:n[qr]<0||n[qr]>24||24===n[qr]&&(0!==n[Yr]||0!==n[Wr]||0!==n[Br])?qr:n[Yr]<0||n[Yr]>59?Yr:n[Wr]<0||n[Wr]>59?Wr:n[Br]<0||n[Br]>999?Br:-1,f(e)._overflowDayOfYear&&(Vr>t||t>Hr)&&(t=Hr),f(e)._overflowWeeks&&-1===t&&(t=Gr),f(e)._overflowWeekday&&-1===t&&(t=Zr),f(e).overflow=t),e}function me(e){var t,n,r,i,o,a,s=e._i,u=ti.exec(s)||ni.exec(s);if(u){for(f(e).iso=!0,t=0,n=ii.length;n>t;t++)if(ii[t][1].exec(u[1])){i=ii[t][0],r=ii[t][2]!==!1;break}if(null==i)return void(e._isValid=!1);if(u[3]){for(t=0,n=oi.length;n>t;t++)if(oi[t][1].exec(u[3])){o=(u[2]||" ")+oi[t][0];break}if(null==o)return void(e._isValid=!1)}if(!r&&null!=o)return void(e._isValid=!1);if(u[4]){if(!ri.exec(u[4]))return void(e._isValid=!1);a="Z"}e._f=i+(o||"")+(a||""),Te(e)}else e._isValid=!1}function ge(e){var t=ai.exec(e._i);return null!==t?void(e._d=new Date(+t[1])):(me(e),void(e._isValid===!1&&(delete e._isValid,n.createFromInputFallback(e))))}function ve(e,t,n,r,i,o,a){var s=new Date(e,t,n,r,i,o,a);return 100>e&&e>=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}function $e(e){var t=new Date(Date.UTC.apply(null,arguments));return 100>e&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function ye(e){return be(e)?366:365}function be(e){return e%4===0&&e%100!==0||e%400===0}function we(){return be(this.year())}function xe(e,t,n){var r=7+t-n,i=(7+$e(e,0,r).getUTCDay()-t)%7;return-i+r-1}function ke(e,t,n,r,i){var o,a,s=(7+n-r)%7,u=xe(e,r,i),l=1+7*(t-1)+s+u;return 0>=l?(o=e-1,a=ye(o)+l):l>ye(e)?(o=e+1,a=l-ye(e)):(o=e,a=l),{year:o,dayOfYear:a}}function Ce(e,t,n){var r,i,o=xe(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return 1>a?(i=e.year()-1,r=a+Se(i,t,n)):a>Se(e.year(),t,n)?(r=a-Se(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function Se(e,t,n){var r=xe(e,t,n),i=xe(e+1,t,n);return(ye(e)-r+i)/7}function _e(e,t,n){return null!=e?e:null!=t?t:n}function Ee(e){var t=new Date(n.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function De(e){var t,n,r,i,o=[];if(!e._d){for(r=Ee(e),e._w&&null==e._a[Hr]&&null==e._a[zr]&&Me(e),e._dayOfYear&&(i=_e(e._a[Vr],r[Vr]),e._dayOfYear>ye(i)&&(f(e)._overflowDayOfYear=!0),n=$e(i,0,e._dayOfYear),e._a[zr]=n.getUTCMonth(),e._a[Hr]=n.getUTCDate()),t=0;3>t&&null==e._a[t];++t)e._a[t]=o[t]=r[t];for(;7>t;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[qr]&&0===e._a[Yr]&&0===e._a[Wr]&&0===e._a[Br]&&(e._nextDay=!0,e._a[qr]=0),e._d=(e._useUTC?$e:ve).apply(null,o),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[qr]=24)}}function Me(e){var t,n,r,i,o,a,s,u;t=e._w,null!=t.GG||null!=t.W||null!=t.E?(o=1,a=4,n=_e(t.GG,e._a[Vr],Ce(Le(),1,4).year),r=_e(t.W,1),i=_e(t.E,1),(1>i||i>7)&&(u=!0)):(o=e._locale._week.dow,a=e._locale._week.doy,n=_e(t.gg,e._a[Vr],Ce(Le(),o,a).year),r=_e(t.w,1),null!=t.d?(i=t.d,(0>i||i>6)&&(u=!0)):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(u=!0)):i=o),1>r||r>Se(n,o,a)?f(e)._overflowWeeks=!0:null!=u?f(e)._overflowWeekday=!0:(s=ke(n,r,i,o,a),e._a[Vr]=s.year,e._dayOfYear=s.dayOfYear)}function Te(e){if(e._f===n.ISO_8601)return void me(e);e._a=[],f(e).empty=!0;var t,r,i,o,a,s=""+e._i,u=s.length,l=0;for(i=Z(e._f,e._locale).match($r)||[],t=0;t0&&f(e).unusedInput.push(a),s=s.slice(s.indexOf(r)+r.length),l+=r.length),wr[o]?(r?f(e).empty=!1:f(e).unusedTokens.push(o),ne(o,r,e)):e._strict&&!r&&f(e).unusedTokens.push(o);f(e).charsLeftOver=u-l,s.length>0&&f(e).unusedInput.push(s),f(e).bigHour===!0&&e._a[qr]<=12&&e._a[qr]>0&&(f(e).bigHour=void 0),f(e).parsedDateParts=e._a.slice(0),f(e).meridiem=e._meridiem,e._a[qr]=Ae(e._locale,e._a[qr],e._meridiem),De(e),pe(e)}function Ae(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(r=e.isPM(n),r&&12>t&&(t+=12),r||12!==t||(t=0),t):t}function Oe(e){var t,n,r,i,o;if(0===e._f.length)return f(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;io)&&(r=o,n=t));u(e,n||t)}function Fe(e){if(!e._d){var t=R(e._i);e._a=a([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),De(e)}}function Ne(e){var t=new g(pe(Ie(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function Ie(e){var t=e._i,n=e._f;return e._locale=e._locale||I(e._l),null===t||void 0===n&&""===t?h({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),v(t)?new g(pe(t)):(i(n)?Oe(e):n?Te(e):o(t)?e._d=t:Pe(e),d(e)||(e._d=null),e))}function Pe(e){var t=e._i;void 0===t?e._d=new Date(n.now()):o(t)?e._d=new Date(t.valueOf()):"string"==typeof t?ge(e):i(t)?(e._a=a(t.slice(0),function(e){return parseInt(e,10)}),De(e)):"object"==typeof t?Fe(e):"number"==typeof t?e._d=new Date(t):n.createFromInputFallback(e)}function je(e,t,n,r,i){var o={};return"boolean"==typeof n&&(r=n,n=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=i,o._l=n,o._i=e,o._f=t,o._strict=r,Ne(o)}function Le(e,t,n,r){return je(e,t,n,r,!1)}function Re(e,t){var n,r;if(1===t.length&&i(t[0])&&(t=t[0]),!t.length)return Le();for(n=t[0],r=1;re&&(e=-e,n="-"),n+q(~~(e/60),2)+t+q(~~e%60,2)})}function Ye(e,t){var n=(t||"").match(e)||[],r=n[n.length-1]||[],i=(r+"").match(fi)||["-",0,0],o=+(60*i[1])+y(i[2]);return"+"===i[0]?o:-o}function We(e,t){var r,i;return t._isUTC?(r=t.clone(),i=(v(e)||o(e)?e.valueOf():Le(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+i),n.updateOffset(r,!1),r):Le(e).local()}function Be(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function Ge(e,t){var r,i=this._offset||0;return this.isValid()?null!=e?("string"==typeof e?e=Ye(Pr,e):Math.abs(e)<16&&(e=60*e),!this._isUTC&&t&&(r=Be(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==e&&(!t||this._changeInProgress?ft(this,ot(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,n.updateOffset(this,!0),this._changeInProgress=null)),this):this._isUTC?i:Be(this):null!=e?this:NaN}function Ze(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function Qe(e){return this.utcOffset(0,e)}function Je(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Be(this),"m")),this}function Xe(){return this._tzm?this.utcOffset(this._tzm):"string"==typeof this._i&&this.utcOffset(Ye(Ir,this._i)),this}function Ke(e){return this.isValid()?(e=e?Le(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function et(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function tt(){if(!p(this._isDSTShifted))return this._isDSTShifted;var e={};if(m(e,this),e=Ie(e),e._a){var t=e._isUTC?l(e._a):Le(e._a);this._isDSTShifted=this.isValid()&&b(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function nt(){return this.isValid()?!this._isUTC:!1}function rt(){return this.isValid()?this._isUTC:!1}function it(){return this.isValid()?this._isUTC&&0===this._offset:!1}function ot(e,t){var n,r,i,o=e,a=null;return He(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:"number"==typeof e?(o={},t?o[t]=e:o.milliseconds=e):(a=di.exec(e))?(n="-"===a[1]?-1:1,o={y:0,d:y(a[Hr])*n,h:y(a[qr])*n,m:y(a[Yr])*n,s:y(a[Wr])*n,ms:y(a[Br])*n}):(a=hi.exec(e))?(n="-"===a[1]?-1:1,o={y:at(a[2],n),M:at(a[3],n),w:at(a[4],n),d:at(a[5],n),h:at(a[6],n),m:at(a[7],n),s:at(a[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(i=ut(Le(o.from),Le(o.to)),o={},o.ms=i.milliseconds,o.M=i.months),r=new ze(o),He(e)&&s(e,"_locale")&&(r._locale=e._locale),r}function at(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function st(e,t){var n={milliseconds:0,months:0};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function ut(e,t){var n;return e.isValid()&&t.isValid()?(t=We(t,e),e.isBefore(t)?n=st(e,t):(n=st(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function lt(e){return 0>e?-1*Math.round(-1*e):Math.round(e)}function ct(e,t){return function(n,r){var i,o;return null===r||isNaN(+r)||(k(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period)."),o=n,n=r,r=o),n="string"==typeof n?+n:n,i=ot(n,r),ft(this,i,e),this}}function ft(e,t,r,i){var o=t._milliseconds,a=lt(t._days),s=lt(t._months);e.isValid()&&(i=null==i?!0:i,o&&e._d.setTime(e._d.valueOf()+o*r),a&&z(e,"Date",V(e,"Date")+a*r),s&&ue(e,V(e,"Month")+s*r),i&&n.updateOffset(e,a||s))}function dt(e,t){var n=e||Le(),r=We(n,this).startOf("day"),i=this.diff(r,"days",!0),o=-6>i?"sameElse":-1>i?"lastWeek":0>i?"lastDay":1>i?"sameDay":2>i?"nextDay":7>i?"nextWeek":"sameElse",a=t&&(C(t[o])?t[o]():t[o]);return this.format(a||this.localeData().calendar(o,this,Le(n)))}function ht(){return new g(this)}function pt(e,t){var n=v(e)?e:Le(e);return this.isValid()&&n.isValid()?(t=L(p(t)?"millisecond":t),"millisecond"===t?this.valueOf()>n.valueOf():n.valueOf()t-o?(n=e.clone().add(i-1,"months"),r=(t-o)/(o-n)):(n=e.clone().add(i+1,"months"),r=(t-o)/(n-o)),-(i+r)||0}function xt(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function kt(){var e=this.clone().utc();return 0o&&(t=o),Zt.call(this,e,t,n,r,i))}function Zt(e,t,n,r,i){var o=ke(e,t,n,r,i),a=$e(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function Qt(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function Jt(e){return Ce(e,this._week.dow,this._week.doy).week}function Xt(){return this._week.dow}function Kt(){return this._week.doy}function en(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function tn(e){var t=Ce(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function nn(e,t){return"string"!=typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"==typeof e?e:null):parseInt(e,10)}function rn(e,t){return i(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]}function on(e){return this._weekdaysShort[e.day()]}function an(e){return this._weekdaysMin[e.day()]}function sn(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;7>r;++r)o=l([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?(i=mr.call(this._weekdaysParse,a),-1!==i?i:null):"ddd"===t?(i=mr.call(this._shortWeekdaysParse,a),-1!==i?i:null):(i=mr.call(this._minWeekdaysParse,a),-1!==i?i:null):"dddd"===t?(i=mr.call(this._weekdaysParse,a),-1!==i?i:(i=mr.call(this._shortWeekdaysParse,a),-1!==i?i:(i=mr.call(this._minWeekdaysParse,a),-1!==i?i:null))):"ddd"===t?(i=mr.call(this._shortWeekdaysParse,a),-1!==i?i:(i=mr.call(this._weekdaysParse,a),-1!==i?i:(i=mr.call(this._minWeekdaysParse,a),-1!==i?i:null))):(i=mr.call(this._minWeekdaysParse,a),-1!==i?i:(i=mr.call(this._weekdaysParse,a),-1!==i?i:(i=mr.call(this._shortWeekdaysParse,a),-1!==i?i:null)))}function un(e,t,n){var r,i,o;if(this._weekdaysParseExact)return sn.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;7>r;r++){if(i=l([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".",".?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function ln(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=nn(e,this.localeData()),this.add(e-t,"d")):t}function cn(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function fn(e){return this.isValid()?null==e?this.day()||7:this.day(this.day()%7?e:e-7):null!=e?this:NaN}function dn(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||mn.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex}function hn(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||mn.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex}function pn(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||mn.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex}function mn(){function e(e,t){return t.length-e.length}var t,n,r,i,o,a=[],s=[],u=[],c=[];for(t=0;7>t;t++)n=l([2e3,1]).day(t),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),o=this.weekdays(n,""),a.push(r),s.push(i),u.push(o),c.push(r),c.push(i),c.push(o);for(a.sort(e),s.sort(e),u.sort(e),c.sort(e),t=0;7>t;t++)s[t]=K(s[t]),u[t]=K(u[t]),c[t]=K(c[t]);this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function gn(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}function vn(){return this.hours()%12||12}function $n(){return this.hours()||24}function yn(e,t){Y(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function bn(e,t){return t._meridiemParse}function wn(e){return"p"===(e+"").toLowerCase().charAt(0)}function xn(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}function kn(e,t){t[Br]=y(1e3*("0."+e))}function Cn(){return this._isUTC?"UTC":""}function Sn(){return this._isUTC?"Coordinated Universal Time":""}function _n(e){return Le(1e3*e)}function En(){return Le.apply(null,arguments).parseZone()}function Dn(e,t,n){var r=this._calendar[e];return C(r)?r.call(t,n):r}function Mn(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}), +this._longDateFormat[e])}function Tn(){return this._invalidDate}function An(e){return this._ordinal.replace("%d",e)}function On(e){return e}function Fn(e,t,n,r){var i=this._relativeTime[n];return C(i)?i(e,t,n,r):i.replace(/%d/i,e)}function Nn(e,t){var n=this._relativeTime[e>0?"future":"past"];return C(n)?n(t):n.replace(/%s/i,t)}function In(e,t,n,r){var i=I(),o=l().set(r,t);return i[n](o,e)}function Pn(e,t,n){if("number"==typeof e&&(t=e,e=void 0),e=e||"",null!=t)return In(e,t,n,"month");var r,i=[];for(r=0;12>r;r++)i[r]=In(e,r,n,"month");return i}function jn(e,t,n,r){"boolean"==typeof e?("number"==typeof t&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,"number"==typeof t&&(n=t,t=void 0),t=t||"");var i=I(),o=e?i._week.dow:0;if(null!=n)return In(t,(n+o)%7,r,"day");var a,s=[];for(a=0;7>a;a++)s[a]=In(t,(a+o)%7,r,"day");return s}function Ln(e,t){return Pn(e,t,"months")}function Rn(e,t){return Pn(e,t,"monthsShort")}function Un(e,t,n){return jn(e,t,n,"weekdays")}function Vn(e,t,n){return jn(e,t,n,"weekdaysShort")}function zn(e,t,n){return jn(e,t,n,"weekdaysMin")}function Hn(){var e=this._data;return this._milliseconds=Ui(this._milliseconds),this._days=Ui(this._days),this._months=Ui(this._months),e.milliseconds=Ui(e.milliseconds),e.seconds=Ui(e.seconds),e.minutes=Ui(e.minutes),e.hours=Ui(e.hours),e.months=Ui(e.months),e.years=Ui(e.years),this}function qn(e,t,n,r){var i=ot(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function Yn(e,t){return qn(this,e,t,1)}function Wn(e,t){return qn(this,e,t,-1)}function Bn(e){return 0>e?Math.floor(e):Math.ceil(e)}function Gn(){var e,t,n,r,i,o=this._milliseconds,a=this._days,s=this._months,u=this._data;return o>=0&&a>=0&&s>=0||0>=o&&0>=a&&0>=s||(o+=864e5*Bn(Qn(s)+a),a=0,s=0),u.milliseconds=o%1e3,e=$(o/1e3),u.seconds=e%60,t=$(e/60),u.minutes=t%60,n=$(t/60),u.hours=n%24,a+=$(n/24),i=$(Zn(a)),s+=i,a-=Bn(Qn(i)),r=$(s/12),s%=12,u.days=a,u.months=s,u.years=r,this}function Zn(e){return 4800*e/146097}function Qn(e){return 146097*e/4800}function Jn(e){var t,n,r=this._milliseconds;if(e=L(e),"month"===e||"year"===e)return t=this._days+r/864e5,n=this._months+Zn(t),"month"===e?n:n/12;switch(t=this._days+Math.round(Qn(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}function Xn(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*y(this._months/12)}function Kn(e){return function(){return this.as(e)}}function er(e){return e=L(e),this[e+"s"]()}function tr(e){return function(){return this._data[e]}}function nr(){return $(this.days()/7)}function rr(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function ir(e,t,n){var r=ot(e).abs(),i=no(r.as("s")),o=no(r.as("m")),a=no(r.as("h")),s=no(r.as("d")),u=no(r.as("M")),l=no(r.as("y")),c=i=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,rr.apply(null,c)}function or(e,t){return void 0===ro[e]?!1:void 0===t?ro[e]:(ro[e]=t,!0)}function ar(e){var t=this.localeData(),n=ir(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function sr(){var e,t,n,r=io(this._milliseconds)/1e3,i=io(this._days),o=io(this._months);e=$(r/60),t=$(e/60),r%=60,e%=60,n=$(o/12),o%=12;var a=n,s=o,u=i,l=t,c=e,f=r,d=this.asSeconds();return d?(0>d?"-":"")+"P"+(a?a+"Y":"")+(s?s+"M":"")+(u?u+"D":"")+(l||c||f?"T":"")+(l?l+"H":"")+(c?c+"M":"")+(f?f+"S":""):"P0D"}var ur,lr;lr=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;n>r;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1};var cr=n.momentProperties=[],fr=!1,dr={};n.suppressDeprecationWarnings=!1,n.deprecationHandler=null;var hr;hr=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)s(e,t)&&n.push(t);return n};var pr,mr,gr={},vr={},$r=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,yr=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,br={},wr={},xr=/\d/,kr=/\d\d/,Cr=/\d{3}/,Sr=/\d{4}/,_r=/[+-]?\d{6}/,Er=/\d\d?/,Dr=/\d\d\d\d?/,Mr=/\d\d\d\d\d\d?/,Tr=/\d{1,3}/,Ar=/\d{1,4}/,Or=/[+-]?\d{1,6}/,Fr=/\d+/,Nr=/[+-]?\d+/,Ir=/Z|[+-]\d\d:?\d\d/gi,Pr=/Z|[+-]\d\d(?::?\d\d)?/gi,jr=/[+-]?\d+(\.\d{1,3})?/,Lr=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,Rr={},Ur={},Vr=0,zr=1,Hr=2,qr=3,Yr=4,Wr=5,Br=6,Gr=7,Zr=8;mr=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t=e?""+e:"+"+e}),Y(0,["YY",2],0,function(){return this.year()%100}),Y(0,["YYYY",4],0,"year"),Y(0,["YYYYY",5],0,"year"),Y(0,["YYYYYY",6,!0],0,"year"),j("year","y"),Q("Y",Nr),Q("YY",Er,kr),Q("YYYY",Ar,Sr),Q("YYYYY",Or,_r),Q("YYYYYY",Or,_r),ee(["YYYYY","YYYYYY"],Vr),ee("YYYY",function(e,t){t[Vr]=2===e.length?n.parseTwoDigitYear(e):y(e)}),ee("YY",function(e,t){t[Vr]=n.parseTwoDigitYear(e)}),ee("Y",function(e,t){t[Vr]=parseInt(e,10)}),n.parseTwoDigitYear=function(e){return y(e)+(y(e)>68?1900:2e3)};var si=U("FullYear",!0);n.ISO_8601=function(){};var ui=x("moment().min is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548",function(){var e=Le.apply(null,arguments);return this.isValid()&&e.isValid()?this>e?this:e:h()}),li=x("moment().max is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548",function(){var e=Le.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:h()}),ci=function(){return Date.now?Date.now():+new Date};qe("Z",":"),qe("ZZ",""),Q("Z",Pr),Q("ZZ",Pr),ee(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Ye(Pr,e)});var fi=/([\+\-]|\d\d)/gi;n.updateOffset=function(){};var di=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?\d*)?$/,hi=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;ot.fn=ze.prototype;var pi=ct(1,"add"),mi=ct(-1,"subtract");n.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",n.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var gi=x("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});Y(0,["gg",2],0,function(){return this.weekYear()%100}),Y(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Ht("gggg","weekYear"),Ht("ggggg","weekYear"),Ht("GGGG","isoWeekYear"),Ht("GGGGG","isoWeekYear"),j("weekYear","gg"),j("isoWeekYear","GG"),Q("G",Nr),Q("g",Nr),Q("GG",Er,kr),Q("gg",Er,kr),Q("GGGG",Ar,Sr),Q("gggg",Ar,Sr),Q("GGGGG",Or,_r),Q("ggggg",Or,_r),te(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=y(e)}),te(["gg","GG"],function(e,t,r,i){t[i]=n.parseTwoDigitYear(e)}),Y("Q",0,"Qo","quarter"),j("quarter","Q"),Q("Q",xr),ee("Q",function(e,t){t[zr]=3*(y(e)-1)}),Y("w",["ww",2],"wo","week"),Y("W",["WW",2],"Wo","isoWeek"),j("week","w"),j("isoWeek","W"),Q("w",Er),Q("ww",Er,kr),Q("W",Er),Q("WW",Er,kr),te(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=y(e)});var vi={dow:0,doy:6};Y("D",["DD",2],"Do","date"),j("date","D"),Q("D",Er),Q("DD",Er,kr),Q("Do",function(e,t){return e?t._ordinalParse:t._ordinalParseLenient}),ee(["D","DD"],Hr),ee("Do",function(e,t){t[Hr]=y(e.match(Er)[0],10)});var $i=U("Date",!0);Y("d",0,"do","day"),Y("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),Y("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),Y("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),Y("e",0,0,"weekday"),Y("E",0,0,"isoWeekday"),j("day","d"),j("weekday","e"),j("isoWeekday","E"),Q("d",Er),Q("e",Er),Q("E",Er),Q("dd",function(e,t){return t.weekdaysMinRegex(e)}),Q("ddd",function(e,t){return t.weekdaysShortRegex(e)}),Q("dddd",function(e,t){return t.weekdaysRegex(e)}),te(["dd","ddd","dddd"],function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:f(n).invalidWeekday=e}),te(["d","e","E"],function(e,t,n,r){t[r]=y(e)});var yi="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),bi="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),wi="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),xi=Lr,ki=Lr,Ci=Lr;Y("DDD",["DDDD",3],"DDDo","dayOfYear"),j("dayOfYear","DDD"),Q("DDD",Tr),Q("DDDD",Cr),ee(["DDD","DDDD"],function(e,t,n){n._dayOfYear=y(e)}),Y("H",["HH",2],0,"hour"),Y("h",["hh",2],0,vn),Y("k",["kk",2],0,$n),Y("hmm",0,0,function(){return""+vn.apply(this)+q(this.minutes(),2)}),Y("hmmss",0,0,function(){return""+vn.apply(this)+q(this.minutes(),2)+q(this.seconds(),2)}),Y("Hmm",0,0,function(){return""+this.hours()+q(this.minutes(),2)}),Y("Hmmss",0,0,function(){return""+this.hours()+q(this.minutes(),2)+q(this.seconds(),2)}),yn("a",!0),yn("A",!1),j("hour","h"),Q("a",bn),Q("A",bn),Q("H",Er),Q("h",Er),Q("HH",Er,kr),Q("hh",Er,kr),Q("hmm",Dr),Q("hmmss",Mr),Q("Hmm",Dr),Q("Hmmss",Mr),ee(["H","HH"],qr),ee(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ee(["h","hh"],function(e,t,n){t[qr]=y(e),f(n).bigHour=!0}),ee("hmm",function(e,t,n){var r=e.length-2;t[qr]=y(e.substr(0,r)),t[Yr]=y(e.substr(r)),f(n).bigHour=!0}),ee("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[qr]=y(e.substr(0,r)),t[Yr]=y(e.substr(r,2)),t[Wr]=y(e.substr(i)),f(n).bigHour=!0}),ee("Hmm",function(e,t,n){var r=e.length-2;t[qr]=y(e.substr(0,r)),t[Yr]=y(e.substr(r))}),ee("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[qr]=y(e.substr(0,r)),t[Yr]=y(e.substr(r,2)),t[Wr]=y(e.substr(i))});var Si=/[ap]\.?m?\.?/i,_i=U("Hours",!0);Y("m",["mm",2],0,"minute"),j("minute","m"),Q("m",Er),Q("mm",Er,kr),ee(["m","mm"],Yr);var Ei=U("Minutes",!1);Y("s",["ss",2],0,"second"),j("second","s"),Q("s",Er),Q("ss",Er,kr),ee(["s","ss"],Wr);var Di=U("Seconds",!1);Y("S",0,0,function(){return~~(this.millisecond()/100)}),Y(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),Y(0,["SSS",3],0,"millisecond"),Y(0,["SSSS",4],0,function(){return 10*this.millisecond()}),Y(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),Y(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),Y(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),Y(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),Y(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),j("millisecond","ms"),Q("S",Tr,xr),Q("SS",Tr,kr),Q("SSS",Tr,Cr);var Mi;for(Mi="SSSS";Mi.length<=9;Mi+="S")Q(Mi,Fr);for(Mi="S";Mi.length<=9;Mi+="S")ee(Mi,kn);var Ti=U("Milliseconds",!1);Y("z",0,0,"zoneAbbr"),Y("zz",0,0,"zoneName");var Ai=g.prototype;Ai.add=pi,Ai.calendar=dt,Ai.clone=ht,Ai.diff=bt,Ai.endOf=Ot,Ai.format=Ct,Ai.from=St,Ai.fromNow=_t,Ai.to=Et,Ai.toNow=Dt,Ai.get=H,Ai.invalidAt=Vt,Ai.isAfter=pt,Ai.isBefore=mt,Ai.isBetween=gt,Ai.isSame=vt,Ai.isSameOrAfter=$t,Ai.isSameOrBefore=yt,Ai.isValid=Rt,Ai.lang=gi,Ai.locale=Mt,Ai.localeData=Tt,Ai.max=li,Ai.min=ui,Ai.parsingFlags=Ut,Ai.set=H,Ai.startOf=At,Ai.subtract=mi,Ai.toArray=Pt,Ai.toObject=jt,Ai.toDate=It,Ai.toISOString=kt,Ai.toJSON=Lt,Ai.toString=xt,Ai.unix=Nt,Ai.valueOf=Ft,Ai.creationData=zt,Ai.year=si,Ai.isLeapYear=we,Ai.weekYear=qt,Ai.isoWeekYear=Yt,Ai.quarter=Ai.quarters=Qt,Ai.month=le,Ai.daysInMonth=ce,Ai.week=Ai.weeks=en,Ai.isoWeek=Ai.isoWeeks=tn,Ai.weeksInYear=Bt,Ai.isoWeeksInYear=Wt,Ai.date=$i,Ai.day=Ai.days=ln,Ai.weekday=cn,Ai.isoWeekday=fn,Ai.dayOfYear=gn,Ai.hour=Ai.hours=_i,Ai.minute=Ai.minutes=Ei,Ai.second=Ai.seconds=Di,Ai.millisecond=Ai.milliseconds=Ti,Ai.utcOffset=Ge,Ai.utc=Qe,Ai.local=Je,Ai.parseZone=Xe,Ai.hasAlignedHourOffset=Ke,Ai.isDST=et,Ai.isDSTShifted=tt,Ai.isLocal=nt,Ai.isUtcOffset=rt,Ai.isUtc=it,Ai.isUTC=it,Ai.zoneAbbr=Cn,Ai.zoneName=Sn,Ai.dates=x("dates accessor is deprecated. Use date instead.",$i),Ai.months=x("months accessor is deprecated. Use month instead",le),Ai.years=x("years accessor is deprecated. Use year instead",si),Ai.zone=x("moment().zone is deprecated, use moment().utcOffset instead. https://github.com/moment/moment/issues/1779",Ze);var Oi=Ai,Fi={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},Ni={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},Ii="Invalid date",Pi="%d",ji=/\d{1,2}/,Li={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},Ri=D.prototype;Ri._calendar=Fi,Ri.calendar=Dn,Ri._longDateFormat=Ni,Ri.longDateFormat=Mn,Ri._invalidDate=Ii,Ri.invalidDate=Tn,Ri._ordinal=Pi,Ri.ordinal=An,Ri._ordinalParse=ji,Ri.preparse=On,Ri.postformat=On,Ri._relativeTime=Li,Ri.relativeTime=Fn,Ri.pastFuture=Nn,Ri.set=_,Ri.months=ie,Ri._months=Jr,Ri.monthsShort=oe,Ri._monthsShort=Xr,Ri.monthsParse=se,Ri._monthsRegex=ei,Ri.monthsRegex=de,Ri._monthsShortRegex=Kr,Ri.monthsShortRegex=fe,Ri.week=Jt,Ri._week=vi,Ri.firstDayOfYear=Kt,Ri.firstDayOfWeek=Xt,Ri.weekdays=rn,Ri._weekdays=yi,Ri.weekdaysMin=an,Ri._weekdaysMin=wi,Ri.weekdaysShort=on,Ri._weekdaysShort=bi,Ri.weekdaysParse=un,Ri._weekdaysRegex=xi,Ri.weekdaysRegex=dn,Ri._weekdaysShortRegex=ki,Ri.weekdaysShortRegex=hn,Ri._weekdaysMinRegex=Ci,Ri.weekdaysMinRegex=pn,Ri.isPM=wn,Ri._meridiemParse=Si,Ri.meridiem=xn,O("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===y(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),n.lang=x("moment.lang is deprecated. Use moment.locale instead.",O),n.langData=x("moment.langData is deprecated. Use moment.localeData instead.",I);var Ui=Math.abs,Vi=Kn("ms"),zi=Kn("s"),Hi=Kn("m"),qi=Kn("h"),Yi=Kn("d"),Wi=Kn("w"),Bi=Kn("M"),Gi=Kn("y"),Zi=tr("milliseconds"),Qi=tr("seconds"),Ji=tr("minutes"),Xi=tr("hours"),Ki=tr("days"),eo=tr("months"),to=tr("years"),no=Math.round,ro={s:45,m:45,h:22,d:26,M:11},io=Math.abs,oo=ze.prototype;oo.abs=Hn,oo.add=Yn,oo.subtract=Wn,oo.as=Jn,oo.asMilliseconds=Vi,oo.asSeconds=zi,oo.asMinutes=Hi,oo.asHours=qi,oo.asDays=Yi,oo.asWeeks=Wi,oo.asMonths=Bi,oo.asYears=Gi,oo.valueOf=Xn,oo._bubble=Gn,oo.get=er,oo.milliseconds=Zi,oo.seconds=Qi,oo.minutes=Ji,oo.hours=Xi,oo.days=Ki,oo.weeks=nr,oo.months=eo,oo.years=to,oo.humanize=ar,oo.toISOString=sr,oo.toString=sr,oo.toJSON=sr,oo.locale=Mt,oo.localeData=Tt,oo.toIsoString=x("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",sr),oo.lang=gi,Y("X",0,0,"unix"),Y("x",0,0,"valueOf"),Q("x",Nr),Q("X",jr),ee("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),ee("x",function(e,t,n){n._d=new Date(y(e))}),n.version="2.13.0",r(Le),n.fn=Oi,n.min=Ue,n.max=Ve,n.now=ci,n.utc=l,n.unix=_n,n.months=Ln,n.isDate=o,n.locale=O,n.invalid=h,n.duration=ot,n.isMoment=v,n.weekdays=Un,n.parseZone=En,n.localeData=I,n.isDuration=He,n.monthsShort=Rn,n.weekdaysMin=zn,n.defineLocale=F,n.updateLocale=N,n.locales=P,n.weekdaysShort=Vn,n.normalizeUnits=L,n.relativeTimeThreshold=or,n.prototype=Oi;var ao=n;return ao})},{}],13:[function(e,t,n){!function(e,n){"use strict";var r,i,o,a=e,s=a.document,u=a.navigator,l=a.setTimeout,c=a.clearTimeout,f=a.setInterval,d=a.clearInterval,h=a.getComputedStyle,p=a.encodeURIComponent,m=a.ActiveXObject,g=a.Error,v=a.Number.parseInt||a.parseInt,$=a.Number.parseFloat||a.parseFloat,y=a.Number.isNaN||a.isNaN,b=a.Date.now,w=a.Object.keys,x=a.Object.defineProperty,k=a.Object.prototype.hasOwnProperty,C=a.Array.prototype.slice,S=function(){var e=function(e){return e};if("function"==typeof a.wrap&&"function"==typeof a.unwrap)try{var t=s.createElement("div"),n=a.unwrap(t);1===t.nodeType&&n&&1===n.nodeType&&(e=a.unwrap)}catch(r){}return e}(),_=function(e){return C.call(e,0)},E=function(){var e,t,r,i,o,a,s=_(arguments),u=s[0]||{};for(e=1,t=s.length;t>e;e++)if(null!=(r=s[e]))for(i in r)k.call(r,i)&&(o=u[i],a=r[i],u!==a&&a!==n&&(u[i]=a));return u},D=function(e){var t,n,r,i;if("object"!=typeof e||null==e||"number"==typeof e.nodeType)t=e;else if("number"==typeof e.length)for(t=[],n=0,r=e.length;r>n;n++)k.call(e,n)&&(t[n]=D(e[n]));else{t={};for(i in e)k.call(e,i)&&(t[i]=D(e[i]))}return t},M=function(e,t){for(var n={},r=0,i=t.length;i>r;r++)t[r]in e&&(n[t[r]]=e[t[r]]);return n},T=function(e,t){var n={};for(var r in e)-1===t.indexOf(r)&&(n[r]=e[r]);return n},A=function(e){if(e)for(var t in e)k.call(e,t)&&delete e[t];return e},O=function(e,t){if(e&&1===e.nodeType&&e.ownerDocument&&t&&(1===t.nodeType&&t.ownerDocument&&t.ownerDocument===e.ownerDocument||9===t.nodeType&&!t.ownerDocument&&t===e.ownerDocument))do{if(e===t)return!0;e=e.parentNode}while(e);return!1},F=function(e){var t;return"string"==typeof e&&e&&(t=e.split("#")[0].split("?")[0],t=e.slice(0,e.lastIndexOf("/")+1)),t},N=function(e){var t,n;return"string"==typeof e&&e&&(n=e.match(/^(?:|[^:@]*@|.+\)@(?=http[s]?|file)|.+?\s+(?: at |@)(?:[^:\(]+ )*[\(]?)((?:http[s]?|file):\/\/[\/]?.+?\/[^:\)]*?)(?::\d+)(?::\d+)?/),n&&n[1]?t=n[1]:(n=e.match(/\)@((?:http[s]?|file):\/\/[\/]?.+?\/[^:\)]*?)(?::\d+)(?::\d+)?/),n&&n[1]&&(t=n[1]))),t},I=function(){var e,t;try{throw new g}catch(n){t=n}return t&&(e=t.sourceURL||t.fileName||N(t.stack)),e},P=function(){var e,t,r;if(s.currentScript&&(e=s.currentScript.src))return e;if(t=s.getElementsByTagName("script"),1===t.length)return t[0].src||n;if("readyState"in t[0])for(r=t.length;r--;)if("interactive"===t[r].readyState&&(e=t[r].src))return e;return"loading"===s.readyState&&(e=t[t.length-1].src)?e:(e=I())?e:n},j=function(){var e,t,r,i=s.getElementsByTagName("script");for(e=i.length;e--;){if(!(r=i[e].src)){t=null;break}if(r=F(r),null==t)t=r;else if(t!==r){t=null;break}}return t||n},L=function(){var e=F(P())||j()||"";return e+"ZeroClipboard.swf"},R=function(){return null==e.opener&&(!!e.top&&e!=e.top||!!e.parent&&e!=e.parent)}(),U={bridge:null,version:"0.0.0",pluginType:"unknown",disabled:null,outdated:null,sandboxed:null,unavailable:null,degraded:null,deactivated:null,overdue:null,ready:null},V="11.0.0",z={},H={},q=null,Y=0,W=0,B={ready:"Flash communication is established",error:{"flash-disabled":"Flash is disabled or not installed. May also be attempting to run Flash in a sandboxed iframe, which is impossible.","flash-outdated":"Flash is too outdated to support ZeroClipboard","flash-sandboxed":"Attempting to run Flash in a sandboxed iframe, which is impossible","flash-unavailable":"Flash is unable to communicate bidirectionally with JavaScript","flash-degraded":"Flash is unable to preserve data fidelity when communicating with JavaScript","flash-deactivated":"Flash is too outdated for your browser and/or is configured as click-to-activate.\nThis may also mean that the ZeroClipboard SWF object could not be loaded, so please check your `swfPath` configuration and/or network connectivity.\nMay also be attempting to run Flash in a sandboxed iframe, which is impossible.","flash-overdue":"Flash communication was established but NOT within the acceptable time limit","version-mismatch":"ZeroClipboard JS version number does not match ZeroClipboard SWF version number","clipboard-error":"At least one error was thrown while ZeroClipboard was attempting to inject your data into the clipboard","config-mismatch":"ZeroClipboard configuration does not match Flash's reality","swf-not-found":"The ZeroClipboard SWF object could not be loaded, so please check your `swfPath` configuration and/or network connectivity"}},G=["flash-unavailable","flash-degraded","flash-overdue","version-mismatch","config-mismatch","clipboard-error"],Z=["flash-disabled","flash-outdated","flash-sandboxed","flash-unavailable","flash-degraded","flash-deactivated","flash-overdue"],Q=new RegExp("^flash-("+Z.map(function(e){return e.replace(/^flash-/,"")}).join("|")+")$"),J=new RegExp("^flash-("+Z.slice(1).map(function(e){return e.replace(/^flash-/,"")}).join("|")+")$"),X={swfPath:L(),trustedDomains:e.location.host?[e.location.host]:[],cacheBust:!0,forceEnhancedClipboard:!1,flashLoadTimeout:3e4,autoActivate:!0,bubbleEvents:!0,containerId:"global-zeroclipboard-html-bridge",containerClass:"global-zeroclipboard-container",swfObjectId:"global-zeroclipboard-flash-bridge",hoverClass:"zeroclipboard-is-hover",activeClass:"zeroclipboard-is-active",forceHandCursor:!1,title:null,zIndex:999999999},K=function(e){if("object"==typeof e&&null!==e)for(var t in e)if(k.call(e,t))if(/^(?:forceHandCursor|title|zIndex|bubbleEvents)$/.test(t))X[t]=e[t];else if(null==U.bridge)if("containerId"===t||"swfObjectId"===t){if(!pe(e[t]))throw new Error("The specified `"+t+"` value is not valid as an HTML4 Element ID");X[t]=e[t]}else X[t]=e[t];{if("string"!=typeof e||!e)return D(X);if(k.call(X,e))return X[e]}},ee=function(){return We(),{browser:M(u,["userAgent","platform","appName"]),flash:T(U,["bridge"]),zeroclipboard:{version:Ge.version,config:Ge.config()}}},te=function(){return!!(U.disabled||U.outdated||U.sandboxed||U.unavailable||U.degraded||U.deactivated)},ne=function(e,t){var i,o,a,s={};if("string"==typeof e&&e)a=e.toLowerCase().split(/\s+/);else if("object"==typeof e&&e&&"undefined"==typeof t)for(i in e)k.call(e,i)&&"string"==typeof i&&i&&"function"==typeof e[i]&&Ge.on(i,e[i]);if(a&&a.length){for(i=0,o=a.length;o>i;i++)e=a[i].replace(/^on/,""),s[e]=!0,z[e]||(z[e]=[]),z[e].push(t);if(s.ready&&U.ready&&Ge.emit({type:"ready"}),s.error){for(i=0,o=Z.length;o>i;i++)if(U[Z[i].replace(/^flash-/,"")]===!0){Ge.emit({type:"error",name:Z[i]});break}r!==n&&Ge.version!==r&&Ge.emit({type:"error",name:"version-mismatch",jsVersion:Ge.version,swfVersion:r})}}return Ge},re=function(e,t){var n,r,i,o,a;if(0===arguments.length)o=w(z);else if("string"==typeof e&&e)o=e.split(/\s+/);else if("object"==typeof e&&e&&"undefined"==typeof t)for(n in e)k.call(e,n)&&"string"==typeof n&&n&&"function"==typeof e[n]&&Ge.off(n,e[n]);if(o&&o.length)for(n=0,r=o.length;r>n;n++)if(e=o[n].toLowerCase().replace(/^on/,""),a=z[e],a&&a.length)if(t)for(i=a.indexOf(t);-1!==i;)a.splice(i,1),i=a.indexOf(t,i);else a.length=0;return Ge},ie=function(e){var t;return t="string"==typeof e&&e?D(z[e])||null:D(z)},oe=function(e){var t,n,r;return e=me(e),e&&!xe(e)?"ready"===e.type&&U.overdue===!0?Ge.emit({type:"error",name:"flash-overdue"}):(t=E({},e),be.call(this,t),"copy"===e.type&&(r=Te(H),n=r.data,q=r.formatMap),n):void 0},ae=function(){var e=U.sandboxed;if(We(),"boolean"!=typeof U.ready&&(U.ready=!1),U.sandboxed!==e&&U.sandboxed===!0)U.ready=!1,Ge.emit({type:"error",name:"flash-sandboxed"});else if(!Ge.isFlashUnusable()&&null===U.bridge){var t=X.flashLoadTimeout;"number"==typeof t&&t>=0&&(Y=l(function(){"boolean"!=typeof U.deactivated&&(U.deactivated=!0),U.deactivated===!0&&Ge.emit({type:"error",name:"flash-deactivated"})},t)),U.overdue=!1,De()}},se=function(){Ge.clearData(),Ge.blur(),Ge.emit("destroy"),Me(),Ge.off()},ue=function(e,t){var n;if("object"==typeof e&&e&&"undefined"==typeof t)n=e,Ge.clearData();else{if("string"!=typeof e||!e)return;n={},n[e]=t}for(var r in n)"string"==typeof r&&r&&k.call(n,r)&&"string"==typeof n[r]&&n[r]&&(H[r]=n[r])},le=function(e){"undefined"==typeof e?(A(H),q=null):"string"==typeof e&&k.call(H,e)&&delete H[e]},ce=function(e){return"undefined"==typeof e?D(H):"string"==typeof e&&k.call(H,e)?H[e]:void 0},fe=function(e){if(e&&1===e.nodeType){i&&(Le(i,X.activeClass),i!==e&&Le(i,X.hoverClass)),i=e,je(e,X.hoverClass);var t=e.getAttribute("title")||X.title;if("string"==typeof t&&t){var n=Ee(U.bridge);n&&n.setAttribute("title",t)}var r=X.forceHandCursor===!0||"pointer"===Re(e,"cursor");qe(r),He()}},de=function(){var e=Ee(U.bridge);e&&(e.removeAttribute("title"),e.style.left="0px",e.style.top="-9999px",e.style.width="1px",e.style.height="1px"),i&&(Le(i,X.hoverClass),Le(i,X.activeClass),i=null)},he=function(){return i||null},pe=function(e){return"string"==typeof e&&e&&/^[A-Za-z][A-Za-z0-9_:\-\.]*$/.test(e)},me=function(e){var t;if("string"==typeof e&&e?(t=e,e={}):"object"==typeof e&&e&&"string"==typeof e.type&&e.type&&(t=e.type),t){t=t.toLowerCase(),!e.target&&(/^(copy|aftercopy|_click)$/.test(t)||"error"===t&&"clipboard-error"===e.name)&&(e.target=o),E(e,{type:t,target:e.target||i||null,relatedTarget:e.relatedTarget||null,currentTarget:U&&U.bridge||null,timeStamp:e.timeStamp||b()||null});var n=B[e.type];return"error"===e.type&&e.name&&n&&(n=n[e.name]),n&&(e.message=n),"ready"===e.type&&E(e,{target:null,version:U.version}),"error"===e.type&&(Q.test(e.name)&&E(e,{target:null,minimumVersion:V}),J.test(e.name)&&E(e,{version:U.version})),"copy"===e.type&&(e.clipboardData={setData:Ge.setData,clearData:Ge.clearData}),"aftercopy"===e.type&&(e=Ae(e,q)),e.target&&!e.relatedTarget&&(e.relatedTarget=ge(e.target)),ve(e)}},ge=function(e){var t=e&&e.getAttribute&&e.getAttribute("data-clipboard-target");return t?s.getElementById(t):null},ve=function(e){if(e&&/^_(?:click|mouse(?:over|out|down|up|move))$/.test(e.type)){var t=e.target,r="_mouseover"===e.type&&e.relatedTarget?e.relatedTarget:n,i="_mouseout"===e.type&&e.relatedTarget?e.relatedTarget:n,o=Ue(t),u=a.screenLeft||a.screenX||0,l=a.screenTop||a.screenY||0,c=s.body.scrollLeft+s.documentElement.scrollLeft,f=s.body.scrollTop+s.documentElement.scrollTop,d=o.left+("number"==typeof e._stageX?e._stageX:0),h=o.top+("number"==typeof e._stageY?e._stageY:0),p=d-c,m=h-f,g=u+p,v=l+m,$="number"==typeof e.movementX?e.movementX:0,y="number"==typeof e.movementY?e.movementY:0;delete e._stageX,delete e._stageY,E(e,{srcElement:t,fromElement:r,toElement:i,screenX:g,screenY:v,pageX:d,pageY:h,clientX:p,clientY:m,x:p,y:m,movementX:$,movementY:y,offsetX:0,offsetY:0,layerX:0,layerY:0})}return e},$e=function(e){var t=e&&"string"==typeof e.type&&e.type||"";return!/^(?:(?:before)?copy|destroy)$/.test(t)},ye=function(e,t,n,r){r?l(function(){e.apply(t,n)},0):e.apply(t,n)},be=function(e){if("object"==typeof e&&e&&e.type){var t=$e(e),n=z["*"]||[],r=z[e.type]||[],i=n.concat(r);if(i&&i.length){var o,s,u,l,c,f=this;for(o=0,s=i.length;s>o;o++)u=i[o],l=f,"string"==typeof u&&"function"==typeof a[u]&&(u=a[u]),"object"==typeof u&&u&&"function"==typeof u.handleEvent&&(l=u,u=u.handleEvent),"function"==typeof u&&(c=E({},e),ye(u,l,[c],t))}return this}},we=function(e){var t=null;return(R===!1||e&&"error"===e.type&&e.name&&-1!==G.indexOf(e.name))&&(t=!1),t},xe=function(e){var t=e.target||i||null,n="swf"===e._source;switch(delete e._source,e.type){case"error":var a="flash-sandboxed"===e.name||we(e);"boolean"==typeof a&&(U.sandboxed=a),-1!==Z.indexOf(e.name)?E(U,{disabled:"flash-disabled"===e.name,outdated:"flash-outdated"===e.name,unavailable:"flash-unavailable"===e.name,degraded:"flash-degraded"===e.name,deactivated:"flash-deactivated"===e.name,overdue:"flash-overdue"===e.name,ready:!1}):"version-mismatch"===e.name&&(r=e.swfVersion,E(U,{disabled:!1,outdated:!1,unavailable:!1,degraded:!1,deactivated:!1,overdue:!1,ready:!1})),ze();break;case"ready":r=e.swfVersion;var s=U.deactivated===!0;E(U,{disabled:!1,outdated:!1,sandboxed:!1,unavailable:!1,degraded:!1,deactivated:!1,overdue:s,ready:!s}),ze();break;case"beforecopy":o=t;break;case"copy":var u,l,c=e.relatedTarget;!H["text/html"]&&!H["text/plain"]&&c&&(l=c.value||c.outerHTML||c.innerHTML)&&(u=c.value||c.textContent||c.innerText)?(e.clipboardData.clearData(),e.clipboardData.setData("text/plain",u),l!==u&&e.clipboardData.setData("text/html",l)):!H["text/plain"]&&e.target&&(u=e.target.getAttribute("data-clipboard-text"))&&(e.clipboardData.clearData(),e.clipboardData.setData("text/plain",u));break;case"aftercopy":ke(e),Ge.clearData(),t&&t!==Pe()&&t.focus&&t.focus();break;case"_mouseover":Ge.focus(t),X.bubbleEvents===!0&&n&&(t&&t!==e.relatedTarget&&!O(e.relatedTarget,t)&&Ce(E({},e,{type:"mouseenter",bubbles:!1,cancelable:!1})),Ce(E({},e,{type:"mouseover"})));break;case"_mouseout":Ge.blur(),X.bubbleEvents===!0&&n&&(t&&t!==e.relatedTarget&&!O(e.relatedTarget,t)&&Ce(E({},e,{type:"mouseleave",bubbles:!1,cancelable:!1})),Ce(E({},e,{type:"mouseout"})));break;case"_mousedown":je(t,X.activeClass),X.bubbleEvents===!0&&n&&Ce(E({},e,{type:e.type.slice(1)}));break;case"_mouseup":Le(t,X.activeClass),X.bubbleEvents===!0&&n&&Ce(E({},e,{type:e.type.slice(1)}));break;case"_click":o=null,X.bubbleEvents===!0&&n&&Ce(E({},e,{type:e.type.slice(1)}));break;case"_mousemove":X.bubbleEvents===!0&&n&&Ce(E({},e,{type:e.type.slice(1)}))}return/^_(?:click|mouse(?:over|out|down|up|move))$/.test(e.type)?!0:void 0},ke=function(e){if(e.errors&&e.errors.length>0){var t=D(e);E(t,{type:"error",name:"clipboard-error"}),delete t.success,l(function(){Ge.emit(t)},0)}},Ce=function(e){if(e&&"string"==typeof e.type&&e){var t,n=e.target||null,r=n&&n.ownerDocument||s,i={view:r.defaultView||a,canBubble:!0,cancelable:!0,detail:"click"===e.type?1:0,button:"number"==typeof e.which?e.which-1:"number"==typeof e.button?e.button:r.createEvent?0:1},o=E(i,e);n&&r.createEvent&&n.dispatchEvent&&(o=[o.type,o.canBubble,o.cancelable,o.view,o.detail,o.screenX,o.screenY,o.clientX,o.clientY,o.ctrlKey,o.altKey,o.shiftKey,o.metaKey,o.button,o.relatedTarget],t=r.createEvent("MouseEvents"),t.initMouseEvent&&(t.initMouseEvent.apply(t,o),t._source="js",n.dispatchEvent(t)))}},Se=function(){var e=X.flashLoadTimeout;if("number"==typeof e&&e>=0){var t=Math.min(1e3,e/10),n=X.swfObjectId+"_fallbackContent";W=f(function(){var e=s.getElementById(n);Ve(e)&&(ze(),U.deactivated=null,Ge.emit({type:"error",name:"swf-not-found"}))},t)}},_e=function(){var e=s.createElement("div");return e.id=X.containerId,e.className=X.containerClass,e.style.position="absolute",e.style.left="0px",e.style.top="-9999px",e.style.width="1px",e.style.height="1px",e.style.zIndex=""+Ye(X.zIndex),e},Ee=function(e){for(var t=e&&e.parentNode;t&&"OBJECT"===t.nodeName&&t.parentNode;)t=t.parentNode;return t||null},De=function(){var e,t=U.bridge,n=Ee(t);if(!t){var r=Ie(a.location.host,X),i="never"===r?"none":"all",o=Fe(E({jsVersion:Ge.version},X)),u=X.swfPath+Oe(X.swfPath,X);n=_e();var l=s.createElement("div");n.appendChild(l),s.body.appendChild(n); +var c=s.createElement("div"),f="activex"===U.pluginType;c.innerHTML='"+(f?'':"")+'
     
    ',t=c.firstChild,c=null,S(t).ZeroClipboard=Ge,n.replaceChild(t,l),Se()}return t||(t=s[X.swfObjectId],t&&(e=t.length)&&(t=t[e-1]),!t&&n&&(t=n.firstChild)),U.bridge=t||null,t},Me=function(){var e=U.bridge;if(e){var t=Ee(e);t&&("activex"===U.pluginType&&"readyState"in e?(e.style.display="none",function i(){if(4===e.readyState){for(var n in e)"function"==typeof e[n]&&(e[n]=null);e.parentNode&&e.parentNode.removeChild(e),t.parentNode&&t.parentNode.removeChild(t)}else l(i,10)}()):(e.parentNode&&e.parentNode.removeChild(e),t.parentNode&&t.parentNode.removeChild(t))),ze(),U.ready=null,U.bridge=null,U.deactivated=null,r=n}},Te=function(e){var t={},n={};if("object"==typeof e&&e){for(var r in e)if(r&&k.call(e,r)&&"string"==typeof e[r]&&e[r])switch(r.toLowerCase()){case"text/plain":case"text":case"air:text":case"flash:text":t.text=e[r],n.text=r;break;case"text/html":case"html":case"air:html":case"flash:html":t.html=e[r],n.html=r;break;case"application/rtf":case"text/rtf":case"rtf":case"richtext":case"air:rtf":case"flash:rtf":t.rtf=e[r],n.rtf=r}return{data:t,formatMap:n}}},Ae=function(e,t){if("object"!=typeof e||!e||"object"!=typeof t||!t)return e;var n={};for(var r in e)if(k.call(e,r))if("errors"===r){n[r]=e[r]?e[r].slice():[];for(var i=0,o=n[r].length;o>i;i++)n[r][i].format=t[n[r][i].format]}else if("success"!==r&&"data"!==r)n[r]=e[r];else{n[r]={};var a=e[r];for(var s in a)s&&k.call(a,s)&&k.call(t,s)&&(n[r][t[s]]=a[s])}return n},Oe=function(e,t){var n=null==t||t&&t.cacheBust===!0;return n?(-1===e.indexOf("?")?"?":"&")+"noCache="+b():""},Fe=function(e){var t,n,r,i,o="",s=[];if(e.trustedDomains&&("string"==typeof e.trustedDomains?i=[e.trustedDomains]:"object"==typeof e.trustedDomains&&"length"in e.trustedDomains&&(i=e.trustedDomains)),i&&i.length)for(t=0,n=i.length;n>t;t++)if(k.call(i,t)&&i[t]&&"string"==typeof i[t]){if(r=Ne(i[t]),!r)continue;if("*"===r){s.length=0,s.push(r);break}s.push.apply(s,[r,"//"+r,a.location.protocol+"//"+r])}return s.length&&(o+="trustedOrigins="+p(s.join(","))),e.forceEnhancedClipboard===!0&&(o+=(o?"&":"")+"forceEnhancedClipboard=true"),"string"==typeof e.swfObjectId&&e.swfObjectId&&(o+=(o?"&":"")+"swfObjectId="+p(e.swfObjectId)),"string"==typeof e.jsVersion&&e.jsVersion&&(o+=(o?"&":"")+"jsVersion="+p(e.jsVersion)),o},Ne=function(e){if(null==e||""===e)return null;if(e=e.replace(/^\s+|\s+$/g,""),""===e)return null;var t=e.indexOf("//");e=-1===t?e:e.slice(t+2);var n=e.indexOf("/");return e=-1===n?e:-1===t||0===n?null:e.slice(0,n),e&&".swf"===e.slice(-4).toLowerCase()?null:e||null},Ie=function(){var e=function(e){var t,n,r,i=[];if("string"==typeof e&&(e=[e]),"object"!=typeof e||!e||"number"!=typeof e.length)return i;for(t=0,n=e.length;n>t;t++)if(k.call(e,t)&&(r=Ne(e[t]))){if("*"===r){i.length=0,i.push("*");break}-1===i.indexOf(r)&&i.push(r)}return i};return function(t,n){var r=Ne(n.swfPath);null===r&&(r=t);var i=e(n.trustedDomains),o=i.length;if(o>0){if(1===o&&"*"===i[0])return"always";if(-1!==i.indexOf(t))return 1===o&&t===r?"sameDomain":"always"}return"never"}}(),Pe=function(){try{return s.activeElement}catch(e){return null}},je=function(e,t){var n,r,i,o=[];if("string"==typeof t&&t&&(o=t.split(/\s+/)),e&&1===e.nodeType&&o.length>0)if(e.classList)for(n=0,r=o.length;r>n;n++)e.classList.add(o[n]);else if(e.hasOwnProperty("className")){for(i=" "+e.className+" ",n=0,r=o.length;r>n;n++)-1===i.indexOf(" "+o[n]+" ")&&(i+=o[n]+" ");e.className=i.replace(/^\s+|\s+$/g,"")}return e},Le=function(e,t){var n,r,i,o=[];if("string"==typeof t&&t&&(o=t.split(/\s+/)),e&&1===e.nodeType&&o.length>0)if(e.classList&&e.classList.length>0)for(n=0,r=o.length;r>n;n++)e.classList.remove(o[n]);else if(e.className){for(i=(" "+e.className+" ").replace(/[\r\n\t]/g," "),n=0,r=o.length;r>n;n++)i=i.replace(" "+o[n]+" "," ");e.className=i.replace(/^\s+|\s+$/g,"")}return e},Re=function(e,t){var n=h(e,null).getPropertyValue(t);return"cursor"!==t||n&&"auto"!==n||"A"!==e.nodeName?n:"pointer"},Ue=function(e){var t={left:0,top:0,width:0,height:0};if(e.getBoundingClientRect){var n=e.getBoundingClientRect(),r=a.pageXOffset,i=a.pageYOffset,o=s.documentElement.clientLeft||0,u=s.documentElement.clientTop||0,l=0,c=0;if("relative"===Re(s.body,"position")){var f=s.body.getBoundingClientRect(),d=s.documentElement.getBoundingClientRect();l=f.left-d.left||0,c=f.top-d.top||0}t.left=n.left+r-o-l,t.top=n.top+i-u-c,t.width="width"in n?n.width:n.right-n.left,t.height="height"in n?n.height:n.bottom-n.top}return t},Ve=function(e){if(!e)return!1;var t=h(e,null),n=$(t.height)>0,r=$(t.width)>0,i=$(t.top)>=0,o=$(t.left)>=0,a=n&&r&&i&&o,s=a?null:Ue(e),u="none"!==t.display&&"collapse"!==t.visibility&&(a||!!s&&(n||s.height>0)&&(r||s.width>0)&&(i||s.top>=0)&&(o||s.left>=0));return u},ze=function(){c(Y),Y=0,d(W),W=0},He=function(){var e;if(i&&(e=Ee(U.bridge))){var t=Ue(i);E(e.style,{width:t.width+"px",height:t.height+"px",top:t.top+"px",left:t.left+"px",zIndex:""+Ye(X.zIndex)})}},qe=function(e){U.ready===!0&&(U.bridge&&"function"==typeof U.bridge.setHandCursor?U.bridge.setHandCursor(e):U.ready=!1)},Ye=function(e){if(/^(?:auto|inherit)$/.test(e))return e;var t;return"number"!=typeof e||y(e)?"string"==typeof e&&(t=Ye(v(e,10))):t=e,"number"==typeof t?t:"auto"},We=function(t){var n,r,i,o=U.sandboxed,a=null;if(t=t===!0,R===!1)a=!1;else{try{r=e.frameElement||null}catch(s){i={name:s.name,message:s.message}}if(r&&1===r.nodeType&&"IFRAME"===r.nodeName)try{a=r.hasAttribute("sandbox")}catch(s){a=null}else{try{n=document.domain||null}catch(s){n=null}(null===n||i&&"SecurityError"===i.name&&/(^|[\s\(\[@])sandbox(es|ed|ing|[\s\.,!\)\]@]|$)/.test(i.message.toLowerCase()))&&(a=!0)}}return U.sandboxed=a,o===a||t||Be(m),a},Be=function(e){function t(e){var t=e.match(/[\d]+/g);return t.length=3,t.join(".")}function n(e){return!!e&&(e=e.toLowerCase())&&(/^(pepflashplayer\.dll|libpepflashplayer\.so|pepperflashplayer\.plugin)$/.test(e)||"chrome.plugin"===e.slice(-13))}function r(e){e&&(s=!0,e.version&&(f=t(e.version)),!f&&e.description&&(f=t(e.description)),e.filename&&(c=n(e.filename)))}var i,o,a,s=!1,l=!1,c=!1,f="";if(u.plugins&&u.plugins.length)i=u.plugins["Shockwave Flash"],r(i),u.plugins["Shockwave Flash 2.0"]&&(s=!0,f="2.0.0.11");else if(u.mimeTypes&&u.mimeTypes.length)a=u.mimeTypes["application/x-shockwave-flash"],i=a&&a.enabledPlugin,r(i);else if("undefined"!=typeof e){l=!0;try{o=new e("ShockwaveFlash.ShockwaveFlash.7"),s=!0,f=t(o.GetVariable("$version"))}catch(d){try{o=new e("ShockwaveFlash.ShockwaveFlash.6"),s=!0,f="6.0.21"}catch(h){try{o=new e("ShockwaveFlash.ShockwaveFlash"),s=!0,f=t(o.GetVariable("$version"))}catch(p){l=!1}}}}U.disabled=s!==!0,U.outdated=f&&$(f)<$(V),U.version=f||"0.0.0",U.pluginType=c?"pepper":l?"activex":s?"netscape":"unknown"};Be(m),We(!0);var Ge=function(){return this instanceof Ge?void("function"==typeof Ge._createClient&&Ge._createClient.apply(this,_(arguments))):new Ge};x(Ge,"version",{value:"2.2.0",writable:!1,configurable:!0,enumerable:!0}),Ge.config=function(){return K.apply(this,_(arguments))},Ge.state=function(){return ee.apply(this,_(arguments))},Ge.isFlashUnusable=function(){return te.apply(this,_(arguments))},Ge.on=function(){return ne.apply(this,_(arguments))},Ge.off=function(){return re.apply(this,_(arguments))},Ge.handlers=function(){return ie.apply(this,_(arguments))},Ge.emit=function(){return oe.apply(this,_(arguments))},Ge.create=function(){return ae.apply(this,_(arguments))},Ge.destroy=function(){return se.apply(this,_(arguments))},Ge.setData=function(){return ue.apply(this,_(arguments))},Ge.clearData=function(){return le.apply(this,_(arguments))},Ge.getData=function(){return ce.apply(this,_(arguments))},Ge.focus=Ge.activate=function(){return fe.apply(this,_(arguments))},Ge.blur=Ge.deactivate=function(){return de.apply(this,_(arguments))},Ge.activeElement=function(){return he.apply(this,_(arguments))};var Ze=0,Qe={},Je=0,Xe={},Ke={};E(X,{autoActivate:!0});var et=function(e){var t=this;t.id=""+Ze++,Qe[t.id]={instance:t,elements:[],handlers:{}},e&&t.clip(e),Ge.on("*",function(e){return t.emit(e)}),Ge.on("destroy",function(){t.destroy()}),Ge.create()},tt=function(e,t){var i,o,a,s={},u=Qe[this.id],l=u&&u.handlers;if(!u)throw new Error("Attempted to add new listener(s) to a destroyed ZeroClipboard client instance");if("string"==typeof e&&e)a=e.toLowerCase().split(/\s+/);else if("object"==typeof e&&e&&"undefined"==typeof t)for(i in e)k.call(e,i)&&"string"==typeof i&&i&&"function"==typeof e[i]&&this.on(i,e[i]);if(a&&a.length){for(i=0,o=a.length;o>i;i++)e=a[i].replace(/^on/,""),s[e]=!0,l[e]||(l[e]=[]),l[e].push(t);if(s.ready&&U.ready&&this.emit({type:"ready",client:this}),s.error){for(i=0,o=Z.length;o>i;i++)if(U[Z[i].replace(/^flash-/,"")]){this.emit({type:"error",name:Z[i],client:this});break}r!==n&&Ge.version!==r&&this.emit({type:"error",name:"version-mismatch",jsVersion:Ge.version,swfVersion:r})}}return this},nt=function(e,t){var n,r,i,o,a,s=Qe[this.id],u=s&&s.handlers;if(!u)return this;if(0===arguments.length)o=w(u);else if("string"==typeof e&&e)o=e.split(/\s+/);else if("object"==typeof e&&e&&"undefined"==typeof t)for(n in e)k.call(e,n)&&"string"==typeof n&&n&&"function"==typeof e[n]&&this.off(n,e[n]);if(o&&o.length)for(n=0,r=o.length;r>n;n++)if(e=o[n].toLowerCase().replace(/^on/,""),a=u[e],a&&a.length)if(t)for(i=a.indexOf(t);-1!==i;)a.splice(i,1),i=a.indexOf(t,i);else a.length=0;return this},rt=function(e){var t=null,n=Qe[this.id]&&Qe[this.id].handlers;return n&&(t="string"==typeof e&&e?n[e]?n[e].slice(0):[]:D(n)),t},it=function(e){if(lt.call(this,e)){"object"==typeof e&&e&&"string"==typeof e.type&&e.type&&(e=E({},e));var t=E({},me(e),{client:this});ct.call(this,t)}return this},ot=function(e){if(!Qe[this.id])throw new Error("Attempted to clip element(s) to a destroyed ZeroClipboard client instance");e=ft(e);for(var t=0;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))},ct=function(e){var t=Qe[this.id];if("object"==typeof e&&e&&e.type&&t){var n=$e(e),r=t&&t.handlers["*"]||[],i=t&&t.handlers[e.type]||[],o=r.concat(i);if(o&&o.length){var s,u,l,c,f,d=this;for(s=0,u=o.length;u>s;s++)l=o[s],c=d,"string"==typeof l&&"function"==typeof a[l]&&(l=a[l]),"object"==typeof l&&l&&"function"==typeof l.handleEvent&&(c=l,l=l.handleEvent),"function"==typeof l&&(f=E({},e),ye(l,c,[f],n))}}},ft=function(e){return"string"==typeof e&&(e=[]),"number"!=typeof e.length?[e]:e},dt=function(e){if(e&&1===e.nodeType){var t=function(e){(e||(e=a.event))&&("js"!==e._source&&(e.stopImmediatePropagation(),e.preventDefault()),delete e._source)},n=function(n){(n||(n=a.event))&&(t(n),Ge.focus(e))};e.addEventListener("mouseover",n,!1),e.addEventListener("mouseout",t,!1),e.addEventListener("mouseenter",t,!1),e.addEventListener("mouseleave",t,!1),e.addEventListener("mousemove",t,!1),Ke[e.zcClippingId]={mouseover:n,mouseout:t,mouseenter:t,mouseleave:t,mousemove:t}}},ht=function(e){if(e&&1===e.nodeType){var t=Ke[e.zcClippingId];if("object"==typeof t&&t){for(var n,r,i=["move","leave","enter","out","over"],o=0,a=i.length;a>o;o++)n="mouse"+i[o],r=t[n],"function"==typeof r&&e.removeEventListener(n,r,!1);delete Ke[e.zcClippingId]}}};Ge._createClient=function(){et.apply(this,_(arguments))},Ge.prototype.on=function(){return tt.apply(this,_(arguments))},Ge.prototype.off=function(){return nt.apply(this,_(arguments))},Ge.prototype.handlers=function(){return rt.apply(this,_(arguments))},Ge.prototype.emit=function(){return it.apply(this,_(arguments))},Ge.prototype.clip=function(){return ot.apply(this,_(arguments))},Ge.prototype.unclip=function(){return at.apply(this,_(arguments))},Ge.prototype.elements=function(){return st.apply(this,_(arguments))},Ge.prototype.destroy=function(){return ut.apply(this,_(arguments))},Ge.prototype.setText=function(e){if(!Qe[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ge.setData("text/plain",e),this},Ge.prototype.setHtml=function(e){if(!Qe[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ge.setData("text/html",e),this},Ge.prototype.setRichText=function(e){if(!Qe[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ge.setData("application/rtf",e),this},Ge.prototype.setData=function(){if(!Qe[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ge.setData.apply(this,_(arguments)),this},Ge.prototype.clearData=function(){if(!Qe[this.id])throw new Error("Attempted to clear pending clipboard data from a destroyed ZeroClipboard client instance");return Ge.clearData.apply(this,_(arguments)),this},Ge.prototype.getData=function(){if(!Qe[this.id])throw new Error("Attempted to get pending clipboard data from a destroyed ZeroClipboard client instance");return Ge.getData.apply(this,_(arguments))},"function"==typeof define&&define.amd?define(function(){return Ge}):"object"==typeof t&&t&&"object"==typeof t.exports&&t.exports?t.exports=Ge:e.ZeroClipboard=Ge}(function(){return this||window}())},{}],14:[function(e,t,n){t.exports='
    \n
    Drop files or click here to upload
    \n
    '},{}],15:[function(e,t,n){t.exports='\n
    \n
    \n Image Preview\n Image Preview\n
    \n \n
    \n\n \n |\n \n\n \n
    '},{}],16:[function(e,t,n){t.exports='
    \n \n
    \n
    '},{}],17:[function(e,t,n){"use strict";var r=e("moment");t.exports=function(t,n){t.controller("ImageManagerController",["$scope","$attrs","$http","$timeout","imageManagerService",function(e,t,r,i,o){function a(){e.searching=!1,e.searchTerm="",e.images=m,e.hasMore=g}function s(t){p&&p(t),e.showing=!1}function u(t){p=t,e.showing=!0,h||(l(),h=!0)}function l(){var t=v+c+"?",n={};e.uploadedTo&&(n.page_id=e.uploadedTo),e.searching&&(n.term=e.searchTerm);var i=Object.keys(n).map(function(e){return e+"="+encodeURIComponent(n[e])}).join("&");t+=i,r.get(t).then(function(t){e.images=e.images.concat(t.data.images),e.hasMore=t.data.hasMore,c++})}e.images=[],e.imageType=t.imageType,e.selectedImage=!1,e.dependantPages=!1,e.showing=!1,e.hasMore=!1,e.imageUpdateSuccess=!1,e.imageDeleteSuccess=!1,e.uploadedTo=t.uploadedTo,e.view="all",e.searching=!1,e.searchTerm="";var c=0,f=0,d=0,h=!1,p=!1,m=[],g=!1;e.getUploadUrl=function(){return"/images/"+e.imageType+"/upload"},e.cancelSearch=a,e.uploadSuccess=function(t,r){e.$apply(function(){e.images.unshift(r)}),n.emit("success","Image uploaded")},e.imageSelect=function(t){var n=300,r=Date.now(),i=r-f;n>i&&t.id===d?s(t):(e.selectedImage=t,e.dependantPages=!1),f=r,d=t.id},e.selectButtonClick=function(){s(e.selectedImage)},o.show=u,o.showExternal=function(t){e.$apply(function(){u(t)})},window.ImageManager=o,e.hide=function(){e.showing=!1};var v="/images/"+e.imageType+"/all/";e.fetchData=l,e.searchImages=function(){return""===e.searchTerm?void a():(e.searching||(m=e.images,g=e.hasMore),e.searching=!0,e.images=[],e.hasMore=!1,c=0,v="/images/"+e.imageType+"/search/",void l())},e.setView=function(t){a(),e.images=[],e.hasMore=!1,c=0,e.view=t,v="/images/"+e.imageType+"/"+t+"/",l()},e.saveImageDetails=function(t){t.preventDefault();var i="/images/update/"+e.selectedImage.id;r.put(i,this.selectedImage).then(function(e){n.emit("success","Image details updated")},function(e){if(422===e.status){var t=e.data,r="";Object.keys(t).forEach(function(e){r+=t[e].join("\n")}),n.emit("error",r)}else 403===e.status&&n.emit("error",e.data.error)})},e.deleteImage=function(t){t.preventDefault();var i=e.dependantPages!==!1,o="/images/"+e.selectedImage.id;i&&(o+="?force=true"),r["delete"](o).then(function(t){e.images.splice(e.images.indexOf(e.selectedImage),1),e.selectedImage=!1,n.emit("success","Image successfully deleted")},function(t){400===t.status?e.dependantPages=t.data:403===t.status&&n.emit("error",t.data.error)})},e.getDate=function(e){return new Date(e)}}]),t.controller("BookShowController",["$scope","$http","$attrs","$sce",function(e,t,n,r){e.searching=!1,e.searchTerm="",e.searchResults="",e.searchBook=function(i){i.preventDefault();var o=e.searchTerm;if(0!=o.length){e.searching=!0,e.searchResults="";var a="/search/book/"+n.bookId;a+="?term="+encodeURIComponent(o),t.get(a).then(function(t){e.searchResults=r.trustAsHtml(t.data)})}},e.checkSearchForm=function(){e.searchTerm.length<1&&(e.searching=!1)},e.clearSearch=function(){e.searching=!1,e.searchTerm=""}}]),t.controller("PageEditController",["$scope","$http","$attrs","$interval","$timeout","$sce",function(t,i,o,a,s,u){function l(){g.title=$("#name").val(),g.html=t.editContent,m=a(function(){var e=$("#name").val(),n=t.editContent;e===g.title&&n===g.html||(g.html=n,g.title=e,c())},1e3*h)}function c(){var e={name:$("#name").val(),html:p?u.getTrustedHtml(t.displayContent):t.editContent};p&&(e.markdown=t.editContent),i.put("/ajax/page/"+f+"/save-draft",e).then(function(e){var n=r.utc(r.unix(e.data.timestamp)).toDate();t.draftText=e.data.message+r(n).format("HH:mm"),t.isNewPageDraft||(t.isUpdateDraft=!0)})}t.editorOptions=e("./pages/page-form"),t.editContent="",t.draftText="";var f=Number(o.pageId),d=0!==f,h=30,p="markdown"===o.editorType;t.isUpdateDraft=1===Number(o.pageUpdateDraft),t.isNewPageDraft=1===Number(o.pageNewDraft),t.isUpdateDraft||t.isNewPageDraft?t.draftText="Editing Draft":t.draftText="Editing Page";var m=!1,g={title:!1,html:!1};d&&setTimeout(function(){l()},1e3),p&&(t.displayContent="",t.editorChange=function(e){t.displayContent=u.trustAsHtml(e)}),p||(t.editorChange=function(){}),t.forceDraftSave=function(){c()},t.discardDraft=function(){i.get("/ajax/page/"+f).then(function(e){m&&a.cancel(m),t.draftText="Editing Page",t.isUpdateDraft=!1,t.$broadcast("html-update",e.data.html),t.$broadcast("markdown-update",e.data.markdown||e.data.html),$("#name").val(e.data.name),s(function(){l()},1e3),n.emit("success","Draft discarded, The editor has been updated with the current page content")})}}]),t.controller("PageTagController",["$scope","$http","$attrs",function(e,t,r){function i(){e.tags.push({name:"",value:""})}function o(){t.get("/ajax/tags/get/page/"+s).then(function(t){e.tags=t.data,i()})}function a(){for(var t=0;t tr",containment:"parent",axis:"y"},e.addEmptyTag=i,o(),e.tagChange=function(t){var n=e.tags.indexOf(t);n===e.tags.length-1&&(""===t.name&&""===t.value||i())},e.tagBlur=function(t){var n=e.tags.length-1===e.tags.indexOf(t);if(""===t.name&&""===t.value&&!n){var r=e.tags.indexOf(t);e.tags.splice(r,1)}},e.saveTags=function(){a();var r={tags:e.tags};t.post("/ajax/tags/update/page/"+s,r).then(function(t){e.tags=t.data.tags,i(),n.emit("success",t.data.message)})},e.removeTag=function(t){var n=e.tags.indexOf(t);e.tags.splice(n,1)}}])}},{"./pages/page-form":20,moment:12}],18:[function(e,t,n){"use strict";var r=e("dropzone"),i=e("marked"),o=e("./components/toggle-switch.html"),a=e("./components/image-picker.html"),s=e("./components/drop-zone.html");t.exports=function(e,t){e.directive("toggleSwitch",function(){return{restrict:"A",template:o,scope:!0,link:function(e,t,n){e.name=n.name,e.value=n.value,e.isActive=1==e.value&&"false"!=e.value,e.value=1==e.value&&"false"!=e.value?"true":"false",e["switch"]=function(){e.isActive=!e.isActive,e.value=e.isActive?"true":"false"}}}}),e.directive("imagePicker",["$http","imageManagerService",function(e,t){return{restrict:"E",template:a,scope:{name:"@",resizeHeight:"@",resizeWidth:"@",resizeCrop:"@",showRemove:"=",currentImage:"@",currentId:"@",defaultImage:"@",imageClass:"@"},link:function(n,r,i){function o(e,t){n.image=t,n.value=a?e.id:t}var a="undefined"!=typeof n.currentId||"false"===n.currentId;n.image=n.currentImage,n.value=n.currentImage||"",a&&(n.value=n.currentId),n.reset=function(){o({id:0},n.defaultImage)},n.remove=function(){n.image="none",n.value="none"},n.showImageManager=function(){t.show(function(e){n.updateImageFromModel(e)})},n.updateImageFromModel=function(t){var r=n.resizeWidth&&n.resizeHeight;if(!r)return void n.$apply(function(){o(t,t.url)});var i=n.resizeCrop?"true":"false",a="/images/thumb/"+t.id+"/"+n.resizeWidth+"/"+n.resizeHeight+"/"+i;e.get(a).then(function(e){o(t,e.data.url)})}}}}]),e.directive("dropZone",[function(){return{restrict:"E",template:s,scope:{uploadUrl:"@",eventSuccess:"=",eventError:"=",uploadedTo:"@"},link:function(e,t,n){new r(t[0].querySelector(".dropzone-container"),{url:e.uploadUrl,init:function(){var t=this;t.on("sending",function(t,n,r){var i=window.document.querySelector("meta[name=token]").getAttribute("content");r.append("_token",i);var o="undefined"==typeof e.uploadedTo?0:e.uploadedTo;r.append("uploaded_to",o)}),"undefined"!=typeof e.eventSuccess&&t.on("success",e.eventSuccess),t.on("success",function(e,n){$(e.previewElement).fadeOut(400,function(){t.removeFile(e)})}),"undefined"!=typeof e.eventError&&t.on("error",e.eventError),t.on("error",function(e,t,n){function r(t){$(e.previewElement).find("[data-dz-errormessage]").text(t)}console.log(t),console.log(n),413===n.status&&r("The server does not allow uploads of this size. Please try a smaller file."),t.file&&r(t.file[0])})}})}}}]),e.directive("dropdown",[function(){return{restrict:"A",link:function(e,t,n){var r=t.find("ul");t.find("[dropdown-toggle]").on("click",function(){r.show().addClass("anim menuIn"),t.mouseleave(function(){r.hide(),r.removeClass("anim menuIn")})})}}}]),e.directive("tinymce",["$timeout",function(e){return{restrict:"A",scope:{tinymce:"=",mceModel:"=",mceChange:"="},link:function(t,n,r){function i(n){n.on("ExecCommand change NodeChange ObjectResized",function(r){var i=n.getContent();e(function(){t.mceModel=i}),t.mceChange(i)}),n.on("init",function(e){t.mceModel=n.getContent()}),t.$on("html-update",function(e,r){n.setContent(r),n.selection.select(n.getBody(),!0),n.selection.collapse(!1),t.mceModel=n.getContent()})}t.tinymce.extraSetups.push(i),tinymce.PluginManager.add("customhr",function(e){e.addCommand("InsertHorizontalRule",function(){var t=document.createElement("hr"),n=e.selection.getNode(),r=n.parentNode;r.insertBefore(t,n)}),e.addButton("hr",{icon:"hr",tooltip:"Horizontal line",cmd:"InsertHorizontalRule"}),e.addMenuItem("hr",{icon:"hr",text:"Horizontal line",cmd:"InsertHorizontalRule",context:"insert"})}),tinymce.init(t.tinymce)}}}]),e.directive("markdownInput",["$timeout",function(e){return{restrict:"A",scope:{mdModel:"=",mdChange:"="},link:function(t,n,r){var o=n.val();t.mdModel=o,t.mdChange(i(o)),n.on("change input",function(r){o=n.val(),e(function(){t.mdModel=o,t.mdChange(i(o))})}),t.$on("markdown-update",function(e,r){n.val(r),t.mdModel=r,t.mdChange(i(r))})}}}]),e.directive("markdownEditor",["$timeout",function(e){return{restrict:"A",link:function(e,t,n){var r=t.find("textarea[markdown-input]"),i=t.find('button[data-action="insertImage"]'),o=0;r.blur(function(e){o=r[0].selectionStart}),r.keydown(function(e){if(73===e.which&&e.ctrlKey&&e.shiftKey){e.preventDefault();var t=r[0].selectionStart,n=r.val(),i="![](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()})})}}}]),e.directive("toolbox",[function(){return{restrict:"A",link:function(e,t,n){function r(e,n){i.removeClass("active"),o.hide(),i.filter('[tab-button="'+e+'"]').addClass("active"),o.filter('[tab-content="'+e+'"]').show(),n&&t.addClass("open")}var i=t.find("[tab-button]"),o=t.find("[tab-content]"),a=t.find("[toolbox-toggle]");a.click(function(e){t.toggleClass("open")}),r(o.first().attr("tab-content"),!1),i.click(function(e){var t=$(this).attr("tab-button");r(t,!0)})}}}]),e.directive("autosuggestions",["$http",function(e){return{restrict:"A",link:function(t,n,r){function i(e,t){t[h].className="",h=e,t[h].className="active"}function o(e,t){if(0===t.length)return c.hide(),f=!1,void(p=t);if(f||(c.show(),f=!0),e!==d&&(c.detach(),e.after(c),d=e),p.join()===t.join())return void(p=t);c[0].innerHTML="";for(var n=0;n2&&(e=e.filter(function(e){return-1!==e.toLowerCase().indexOf(n.toLowerCase())}).slice(0,4),o(t,e))})}),n.on("blur","[autosuggest]",function(e){setTimeout(function(){c.hide(),f=!1},200)}),n.on("keydown","[autosuggest]",function(e){if(f){var t=l.childNodes,n=t.length;if(40===e.keyCode){var r=h===n-1?0:h+1;i(r,t)}else if(38===e.keyCode){var r=0===h?n-1:h-1;i(r,t)}else if(13===e.keyCode){var o=t[h].textContent;return d[0].value=o,d.focus(),c.hide(),f=!1,e.preventDefault(),!1}}});var p=[]}}}])}},{"./components/drop-zone.html":14,"./components/image-picker.html":15,"./components/toggle-switch.html":16,dropzone:10,marked:11}],19:[function(e,t,n){"use strict";var r=e("angular");e("angular-resource"),e("angular-animate"),e("angular-sanitize");e("angular-ui-sortable");var i=r.module("bookStack",["ngResource","ngAnimate","ngSanitize","ui.sortable"]),o={listeners:{},emit:function(e,t){if("undefined"==typeof this.listeners[e])return this;for(var n=this.listeners[e],r=0;r=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)}}})}}},{}],21:[function(e,t,n){"use strict";var r=e("zeroclipboard");r.config({swfPath:"/ZeroClipboard.swf"}),window.setupPageShow=t.exports=function(e){function t(e){var t=$(".page-content #"+e).first();0!==t.length?(t.smoothScrollTo(),t.css("background-color","rgba(244, 249, 54, 0.25)")):$(".page-content").find(':contains("'+e+'")').smoothScrollTo()}function n(){f.width(m+48+15),f.addClass("fixed"),p=!0}function i(){f.css("width","auto"),f.removeClass("fixed"),p=!1}function o(e){var t=c.scrollTop()>h;!t||p&&!e?t||!p&&!e||i():n()}var a=$("#pointer").detach(),s=a.children("div.pointer").first(),u=!1;if(a.on("click","input",function(e){$(this).select(),e.stopPropagation()}),new r(a.find("button").first()[0]),$(document.body).find("*").on("click focus",function(e){u||a.detach()}),$('.page-content [id^="bkmrk"]').on("mouseup keyup",function(t){t.stopPropagation();var n=window.getSelection();if(0!==n.toString().length){var r=$(this),i=window.location.protocol+"//"+window.location.host+"/link/"+e+"#"+r.attr("id");a.find("input").val(i),a.find("button").first().attr("data-clipboard-text",i),r.before(a),a.show();var o=t.pageX-r.offset().left-s.width()/2;0>o&&(o=0);var l=o/r.width()*100;s.css("left",l+"%"),u=!0,setTimeout(function(){u=!1},100)}}),window.location.hash){var l=window.location.hash.replace(/\%20/g," ").substr(1);t(l)}var c=$(window),f=$(".book-tree"),d=$(document).height()>c.height()&&f.height()<$(".page-content").height(),h=$("#header").height()+$(".toolbar").height(),p=c.scrollTop()>h,m=f.width();d&&c.width()>1e3&&(c.scroll(function(){o(!1)}),o(!0))}},{zeroclipboard:13}],22:[function(e,t,n){"use strict";t.exports=function(e,t){e.factory("imageManagerService",function(){return{show:!1,showExternal:!1}})}},{}]},{},[19]); \ No newline at end of file From c6404d8917f470def3c46c4629047e4c7c364305 Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Sun, 3 Jul 2016 10:56:16 +0100 Subject: [PATCH 18/54] Updated assets for release v0.11 --- public/build/manifest.json | 6 +++--- public/css/export-styles.css | 2 +- public/css/styles.css | 2 +- public/js/common.js | 24 ++++++++++++------------ 4 files changed, 17 insertions(+), 17 deletions(-) diff --git a/public/build/manifest.json b/public/build/manifest.json index 949edb97cbe..1f3e9e9bee8 100644 --- a/public/build/manifest.json +++ b/public/build/manifest.json @@ -1,5 +1,5 @@ { - "css/styles.css": "css/styles.css?version=8cf4d52", - "css/print-styles.css": "css/print-styles.css?version=8cf4d52", - "js/common.js": "js/common.js?version=8cf4d52" + "css/styles.css": "css/styles.css?version=02c6599", + "css/print-styles.css": "css/print-styles.css?version=02c6599", + "js/common.js": "js/common.js?version=02c6599" } \ No newline at end of file diff --git a/public/css/export-styles.css b/public/css/export-styles.css index 5c2140bab0f..3406ed7c15f 100644 --- a/public/css/export-styles.css +++ b/public/css/export-styles.css @@ -1 +1 @@ -.link,a,body{font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif}code,pre{white-space:pre}.chapter-toggle,.toggle-switch{cursor:pointer;-moz-user-select:none}*{box-sizing:border-box}html{background-color:#FFF;height:100%;overflow-y:scroll}html.flexbox{overflow-y:hidden}body{font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}button{font-size:100%}table td{min-width:10px;padding:4px 6px;border:1px solid #DDD}.title-input input[type=text],h1{font-size:3.625em;line-height:1.22222222em;margin-top:.48888889em;margin-bottom:.48888889em}h3,h4{margin-top:.78571429em}h2,h3,h4{margin-bottom:.43137255em}h2{font-size:2.8275em;line-height:1.294117647em;margin-top:.8627451em}h3{font-size:1.75em;line-height:1.571428572em}h4{font-size:1em;line-height:1.375em}.title-input input[type=text],h1,h2,h3,h4{font-weight:400;position:relative;display:block;color:#555}.title-input input[type=text] .subheader,h1 .subheader,h2 .subheader,h3 .subheader,h4 .subheader{display:block;font-size:.5em;line-height:1em;color:#6d6d6d}.link,a{color:#0288D1;cursor:pointer;text-decoration:none;transition:color ease-in-out 80ms;line-height:1.6}.link:hover,.underlined,a:hover{text-decoration:underline}.faded .text-button,.toggle-switch,.toggle-switch:after{transition:all ease-in-out 120ms}.link:hover,a:hover{color:#01466c}.link i,a i{padding-right:12px}.link i.zmdi-hc-flip-horizontal,a i.zmdi-hc-flip-horizontal{padding-right:0;padding-left:12px}blockquote,ol,p,pre,table,ul{margin-top:.3em;margin-bottom:1.375em}hr{height:1px;border:0;background:#EAEAEA;margin-bottom:24px}hr.faded{background-image:linear-gradient(to right,#fff,#e3e0e0 20%,#e3e0e0 80%,#fff)}hr.even,hr.margin-top{margin-top:24px}.bold,.strong,b,strong{font-weight:700}.bold>.bold,.bold>.strong,.bold>b,.bold>strong,.strong>.bold,.strong>.strong,.strong>b,.strong>strong,b>.bold,b>.strong,b>b,b>strong,strong>.bold,strong>.strong,strong>b,strong>strong{font-weight:bolder}.italic,em,i{font-style:italic}.text-small,p.small,small,span.small{font-size:.8em;color:#777}.superscript,sup{vertical-align:super;font-size:.8em}pre{font-family:monospace;font-size:.8em;overflow:hidden;border-radius:4px;box-shadow:0 1px 2px 0 rgba(10,10,10,.06);border:1px solid rgba(221,221,221,.66);background-color:#fdf6e3;padding:12px;overflow-x:scroll}blockquote{display:block;position:relative;border-left:4px solid #0288D1;background-color:#F8F8F8;padding:12px 16px 12px 32px}blockquote:before{content:"\201C";font-size:2em;font-weight:700;position:absolute;top:12px;left:12px;color:#777}.code-base,code,span.code{background-color:#F8F8F8;font-family:monospace;font-size:.8em;border:1px solid #DDD;border-radius:3px}code{display:inline;padding:1px 3px;line-height:1.2em;margin-bottom:1.2em}span.code{padding:1px 6px}pre code{background-color:transparent;border:0;font-size:1em}.text-pos,.text-pos:hover,p .pos,p .pos:hover,p.pos,p.pos:hover,span.pos,span.pos:hover{color:#52A256}.text-neg,.text-neg:hover,p .neg,p .neg:hover,p.neg,p.neg:hover,span.neg,span.neg:hover{color:#E84F4F}.text-muted,p .muted,p.muted,span.muted{color:#868686}.text-muted .small,.text-muted.small,p .muted .small,p .muted.small,p.muted .small,p.muted.small,span.muted .small,span.muted.small{color:#afafaf}.text-primary,.text-primary:hover,p .primary,p .primary:hover,p.primary,p.primary:hover,span.primary,span.primary:hover{color:#0288D1}.text-secondary,.text-secondary:hover,p .secondary,p .secondary:hover,p.secondary,p.secondary:hover,span.secondary,span.secondary:hover{color:#e27b41}.text-book,.text-book:hover{color:#009688}.text-page,.text-page:hover{color:#0288D1}.text-page.draft,.text-page.draft:hover{color:#9A60DA}.text-chapter,.text-chapter:hover{color:#ef7c3c}span.highlight{font-weight:700;padding:2px 4px}ol,ul{padding-left:20.8px;overflow:hidden}ul{list-style:disc}ol{list-style:decimal}.book-tree .sidebar-page-list li a:hover,.faded .text-button:hover,.logo:hover{text-decoration:none}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-bigger{font-size:1.1em}.text-large{font-size:1.6666em}.no-color{color:inherit}.header-group{margin:16px 0}.header-group .title-input input[type=text],.header-group h1,.header-group h2,.header-group h3,.header-group h4,.header-group h5,.header-group h6,.title-input .header-group input[type=text]{margin:0}span.sep{color:#BBB;padding:0 6px}.list>*{display:block}.action-header .title-input input[type=text],.action-header h1,.title-input .action-header input[type=text]{margin-top:16px}i{padding-right:6px}body.flexbox{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;height:100%;min-height:100%;max-height:100%;overflow:hidden}body.flexbox #content{-ms-flex:1;flex:1;display:-ms-flexbox;display:flex;min-height:0}.flex-fill{display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch;min-height:0}.flex-fill .flex,.flex-fill.flex{min-height:0;-ms-flex:1;flex:1}div[class^=col-] img{max-width:100%}.container{max-width:1400px;margin-left:auto;margin-right:auto;padding-left:16px;padding-right:16px}.container.fluid{max-width:100%}.container.small{max-width:840px}.center-box{margin:32px auto 0;padding:16px 48px 64px;max-width:346px;display:inline-block;text-align:left;vertical-align:top}.center-box.login{background-color:#EEE;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border:1px solid #DDD}.row{margin-left:-16px;margin-right:-16px}.float{float:left}.float.right{float:right}.block{display:block;position:relative}.inline{display:inline}.block.inline{display:inline-block}.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{position:relative;min-height:1px;padding-left:16px;padding-right:16px}.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.row:after,.row:before{content:" ";display:table}.editor-toolbar:after,.pointer:before,.toggle-switch:after{content:''}.clearfix:after,.container-fluid:after,.container:after,.row:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.shaded{background-color:#f1f1f1}.shaded.pos{background-color:#d6ead7}.shaded.neg{background-color:#f4a9a9}.shaded.primary{background-color:#a1ddfe}.shaded.secondary{background-color:#f6d7c6}.bordered{border:1px solid #BBB}.bordered.pos{border-color:#52A256}.bordered.neg{border-color:#E84F4F}.bordered.primary{border-color:#0288D1}.bordered.secondary{border-color:#e27b41}.bordered.thick{border-width:2px}.rounded{border-radius:3px}.nopadding{padding:0}.padded{padding:24px}.padded.large{padding:32px}.padded>h1:first-child,.padded>h2:first-child,.padded>h3:first-child,.padded>h4:first-child,.title-input .padded>input[type=text]:first-child{margin-top:.1em}.padded-top,.padded-vertical{padding-top:16px}.padded-top.large,.padded-vertical.large{padding-top:32px}.padded-bottom,.padded-vertical{padding-bottom:16px}.padded-bottom.large,.padded-vertical.large{padding-bottom:32px}.padded-horizontal,.padded-left{padding-left:16px}.padded-horizontal.large,.padded-left.large{padding-left:32px}.padded-horizontal,.padded-right{padding-right:16px}.padded-horizontal.large,.padded-right.large{padding-right:32px}.margins{margin:24px}.margins.large{margin:32px}.margin-top,.margins-vertical{margin-top:16px}.margin-top.large,.margins-vertical.large{margin-top:32px}.margin-bottom,.margins-vertical{margin-bottom:16px}.margin-bottom.large,.margins-vertical.large{margin-bottom:32px}.margin-left,.margins-horizontal{margin-left:16px}.margin-left.large,.margins-horizontal.large{margin-left:32px}.margin-right,.margins-horizontal{margin-right:16px}.margin-right.large,.margins-horizontal.large{margin-right:32px}.input-base,input[type=password],input[type=text],input[type=number],input[type=email],input[type=search],input[type=url],select,textarea{background-color:#FFF;border-radius:3px;border:1px solid #CCC;display:inline-block;font-size:14px;font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif;padding:6px;color:#222;width:250px;max-width:100%}#markdown-editor textarea,.editor-toolbar{width:100%;font-family:'Roboto Mono'}.input-base.invalid,.input-base.neg,input.invalid[type=password],input.invalid[type=text],input.invalid[type=number],input.invalid[type=email],input.invalid[type=search],input.invalid[type=url],input.neg[type=password],input.neg[type=text],input.neg[type=number],input.neg[type=email],input.neg[type=search],input.neg[type=url],select.invalid,select.neg,textarea.invalid,textarea.neg{border:1px solid #E84F4F}.input-base.pos,.input-base.valid,input.pos[type=password],input.pos[type=text],input.pos[type=number],input.pos[type=email],input.pos[type=search],input.pos[type=url],input.valid[type=password],input.valid[type=text],input.valid[type=number],input.valid[type=email],input.valid[type=search],input.valid[type=url],select.pos,select.valid,textarea.pos,textarea.valid{border:1px solid #52A256}.input-base.disabled,.input-base[disabled],input.disabled[type=password],input.disabled[type=text],input.disabled[type=number],input.disabled[type=email],input.disabled[type=search],input.disabled[type=url],input[disabled][type=password],input[disabled][type=text],input[disabled][type=number],input[disabled][type=email],input[disabled][type=search],input[disabled][type=url],select.disabled,select[disabled],textarea.disabled,textarea[disabled]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAMUlEQVQIW2NkwAGuXbv2nxGbHEhCS0uLEUMSJgHShCKJLIEiiS4Bl8QmAZbEJQGSBAC62BuJ+tt7zgAAAABJRU5ErkJggg==)}#html-editor{display:none}#markdown-editor{position:relative;z-index:5}#markdown-editor textarea{font-style:normal;font-weight:400;padding:6px 16px;color:#444;border-radius:0;max-height:100%;-ms-flex:1;flex:1;border:0}#markdown-editor textarea:focus{outline:0}#markdown-editor .markdown-display,#markdown-editor .markdown-editor-wrap{-ms-flex:1;flex:1;position:relative}#markdown-editor .markdown-editor-wrap{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;border:1px solid #DDD}#markdown-editor .markdown-display{padding:0 16px;margin-left:-1px;overflow-y:scroll}#markdown-editor .markdown-display .page-content{margin:0 auto}.editor-toolbar{padding:6px 16px;font-size:11px;line-height:1.6;border-bottom:1px solid #DDD;background-color:#EEE;-ms-flex:none;flex:none}.editor-toolbar:after{display:block;clear:both}label{display:block;line-height:1.4em;font-size:.94em;font-weight:500;color:#666;padding-bottom:2px;margin-bottom:.2em}.toggle-switch,label.inline{display:inline-block}label.checkbox,label.radio{font-weight:400}label.checkbox input[type=radio],label.checkbox input[type=checkbox],label.radio input[type=radio],label.radio input[type=checkbox]{margin-right:6px}label+p.small{margin-bottom:.8em}.toggle-switch{background-color:#BBB;width:36px;height:14px;border-radius:7px;position:relative;-webkit-user-select:none;-ms-user-select:none;user-select:none}.toggle-switch:after{display:block;position:relative;left:0;margin-top:-3px;width:20px;height:20px;border-radius:50%;background-color:#fafafa;border:1px solid #CCC;box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12)}.toggle-switch.active{background-color:rgba(82,162,86,.4)}.toggle-switch.active:after{left:16px;background-color:#52A256;border:#305e32}.toggle-switch-checkbox{display:none}input:checked+.toggle-switch{background-color:rgba(82,162,86,.4)}input:checked+.toggle-switch:after{left:16px;background-color:#52A256;border:#305e32}.form-group{margin-bottom:12px}.form-group textarea{display:block;width:100%;min-height:64px}.form-group .text-neg,.form-group .text-pos{padding:6px 0}.description-input textarea,.inline-input-style,.title-input input[type=text]{border:2px dotted #BBB;display:block;width:100%;padding:6px 12px}.title-input .input{width:100%}.description-input label,.title-input label{margin-top:16px;color:#666}.title-input input[type=text]{margin-top:0;padding-right:0;width:100%;color:#444}.title-input.page-title{font-size:.8em}.title-input.page-title .input{border:0;margin-bottom:-1px}.title-input.page-title input[type=text]{max-width:840px;margin:0 auto;border:none}.search-box,div[editor-type=markdown] .title-input.page-title input[type=text],table{max-width:100%}.page-title input{display:block;width:100%;font-size:1.4em}.description-input textarea{font-size:15px;color:#666;width:100%}.search-box{position:relative}.search-box button{background-color:transparent;border:none;color:#0288D1;padding:0;margin:0 0 0 12px;cursor:pointer}.search-box button[type=submit]{margin-left:-24px}.search-box input{padding-right:24px;width:300px;max-width:100%}input.outline{border:0;border-bottom:2px solid #DDD;border-radius:0}input.outline:active,input.outline:focus{border:0;border-bottom:2px solid #AAA;outline:0}#login-form label[for=remember]{margin:0}#login-form label.toggle-switch{margin-left:32px}.image-picker img{background-color:#BBB}div[toggle-switch]{height:18px;width:150px}table.table{width:100%}table.table tr{border-bottom:1px solid #DDD}table.table td,table.table th{text-align:left;border:none;padding:6px;vertical-align:middle}table.table th{font-weight:700}table.table tr:hover{background-color:#EEE}table{min-width:100px;border-spacing:0;border-collapse:collapse}table thead{background-color:#F8F8F8;font-weight:500}table.no-style td{border:0;padding:0}table.list-table{margin:-6px}table.list-table td{border:0;vertical-align:middle;padding:6px}.dropdown-container,.logo-image,.logo-text,form.search-box button,header .links,header .user-name,header .user-name>*{vertical-align:top}header{display:block;z-index:2;top:0;background-color:#0288D1;color:#fff;border-bottom:1px solid #DDD}header .avatar,header .links,header .links a,header .user-name{display:inline-block}header .padded{padding:16px}header .links{margin-right:32px}header .links a{padding:24px;color:#FFF}header .links a:last-child{padding-right:0}@media screen and (max-width:992px){header .links{margin-right:16px}header .links a{padding:24px 12px}}header .avatar{width:30px;height:30px}header .user-name{padding-top:24px;cursor:pointer}header .user-name>i,header .user-name>span{padding-left:6px;display:inline-block}header .user-name>span{padding-top:3px}header .user-name>i{padding-top:4px;font-size:18px}@media screen and (max-width:992px){header .user-name{padding-left:6px}header .user-name .name{display:none}header{text-align:center}header .float.right{float:none}}.logo,.logo-text,form.search-box{display:inline-block}.activity-list-item .left,ul.pagination li{float:left}@media screen and (max-width:768px){header .links a{padding:12px}header form.search-box{margin-top:0}header .user-name{padding-top:12px}}header .dropdown-container{font-size:.9em}form.search-box{margin-top:21.6px;position:relative;text-align:left}form.search-box input{background-color:transparent;border-radius:24px;border:2px solid #EEE;color:#EEE;padding-left:16px;padding-right:24px;outline:0}form.search-box button{margin-left:-24px;color:#FFF;top:6px;right:4px;display:inline-block;position:absolute}form.search-box button:hover{color:#FFF}.logo:hover{color:#FFF}.logo-text{font-size:1.8em;color:#fff;font-weight:400;padding:24px 24px 24px 0;line-height:1}.logo-image{margin:16px 12px 16px 0;height:43px}.breadcrumbs span.sep{color:#aaa;padding:0 6px}.action-buttons .text-button,.breadcrumbs .text-button,.faded span.faded-text{padding:12px;display:inline-block}.faded a,.faded button,.faded span,.faded span>div{color:#666}.faded .text-button{opacity:.5}.faded .text-button:hover{opacity:1}.faded-small{color:#000;font-size:.9em;background-color:rgba(21,101,192,.15)}.action-buttons .text-button:last-child,.breadcrumbs .text-button:last-child{padding-right:0}.action-buttons{text-align:right}.action-buttons.text-left{text-align:left}.action-buttons.text-left .text-button{padding-right:16px;padding-left:0}.action-buttons.text-center,.nav-tabs{text-align:center}.nav-tabs .tab-item,.nav-tabs a{padding:16px;display:inline-block;color:#666;cursor:pointer}.nav-tabs .tab-item.selected,.nav-tabs a.selected{border-bottom:2px solid #0288D1}.page-list h3{margin:24px 0 16px}.page-list a.chapter{color:#ef7c3c}.page-list .inset-list{display:none;overflow:hidden;margin-bottom:24px}.page-list h4{display:block;margin:12px 0 0;border-left:5px solid #0288D1;padding:6px 0 6px 16px}.page-list h4.draft{border-left-color:#9A60DA}.page-list hr{margin-top:0}.page-list .book,.page-list .chapter,.page-list .page{padding-left:24px}.page-list .page{border-left:5px solid #0288D1}.page-list .page.draft{border-left:5px solid #9A60DA}.page-list .page.draft .text-page{color:#9A60DA}.page-list .chapter{border-left:5px solid #ef7c3c}.page-list .book{border-left:5px solid #009688}.page-list .meta{margin-top:-16px;font-size:.95em}.page-list .meta span{margin-right:12px}.chapter-toggle{margin:0 0 24px;transition:all ease-in-out 180ms;-webkit-user-select:none;-ms-user-select:none;user-select:none}.chapter-toggle i.zmdi-caret-right{transition:all ease-in-out 180ms;transform:rotate(0);transform-origin:25% 50%}.chapter-toggle.open{margin-bottom:0}.chapter-toggle.open i.zmdi-caret-right{transform:rotate(90deg)}.page-nav-list{margin-left:2px;list-style:none}.page-nav-list li{padding-left:6px;border-left:2px solid #888;margin-bottom:4px}.page-nav-list li a{color:#555}.page-nav-list .nav-H2{margin-left:12px;font-size:.95em}.page-nav-list .nav-H3{margin-left:24px;font-size:.9em}.page-nav-list .nav-H4{margin-left:36px;font-size:.85em}.page-nav-list .nav-H5{margin-left:48px;font-size:.8em}.page-nav-list .nav-H6{margin-left:60px;font-size:.75em}.book-tree{padding:24px 0 0;position:relative;right:0;top:0;transition:ease-in-out 240ms;transition-property:right,border;border-left:0 solid #FFF;background-color:#FFF}.book-tree.fixed{position:fixed;top:0;padding-left:24px;padding-right:39px;width:30%;right:-15px;height:100%;overflow-y:scroll;-ms-overflow-style:none;border-left:1px solid #DDD}.book-tree.fixed::-webkit-scrollbar{width:0!important}.book-tree h4{padding:16px 12px 0}.book-tree h4 i{padding-right:12px}.book-tree .sidebar-page-list{list-style:none;margin:6px 0 0;padding-left:0;border-left:5px solid #009688}.book-tree .sidebar-page-list li a{display:block;border-bottom:none;padding:6px 0 6px 12px}.book-tree .sidebar-page-list li a i{padding-right:8px}.book-tree .sidebar-page-list a,.book-tree .sidebar-page-list li{display:block}.book-tree .sidebar-page-list a.bold{color:#EEE!important}.book-tree .sidebar-page-list ul{list-style:none;margin:0}.book-tree .sidebar-page-list .book{color:#009688!important}.book-tree .sidebar-page-list .book.selected{background-color:rgba(0,150,136,.29)}.book-tree .sidebar-page-list .chapter{color:#ef7c3c!important}.book-tree .sidebar-page-list .chapter.selected{background-color:rgba(239,124,60,.12)}.book-tree .sidebar-page-list .chapter-toggle{padding-left:12px}.book-tree .sidebar-page-list .list-item-chapter{border-left:5px solid #ef7c3c;margin:10px;display:block}.book-tree .sidebar-page-list .list-item-page{border-bottom:none;border-left:5px solid #0288D1;margin:10px}.book-tree .sidebar-page-list .page{color:#0288D1!important;border-bottom:none}.book-tree .sidebar-page-list .page.selected{background-color:rgba(2,136,209,.1)}.book-tree .sidebar-page-list .list-item-page.draft{border-left:5px solid #9A60DA}.book-tree .sidebar-page-list .list-item-page.draft a.page,.book-tree .sidebar-page-list .page.draft .page{color:#9A60DA!important}.book-tree .sidebar-page-list .sub-menu{display:none;padding-left:0}.book-tree .sidebar-page-list .sub-menu.open{display:block}.sortable-page-list,.sortable-page-list ul{list-style:none;background-color:#FFF}.sort-box{margin-bottom:16px;padding:0 24px;border-left:4px solid #009688}.sortable-page-list,.sortable-page-list>ul{margin-left:0}.sortable-page-list ul{margin-bottom:0;margin-top:0;box-shadow:0 0 1px 0 rgba(0,0,0,.1)}.sortable-page-list li{border:1px solid #DDD;padding:6px 12px;margin-top:-1px;min-height:38px}.sortable-page-list li.text-chapter{border-left:2px solid #ef7c3c}.sortable-page-list li.text-page{border-left:2px solid #0288D1}.sortable-page-list li:first-child{margin-top:6px}.sortable-page-list li.placeholder{position:relative}.sortable-page-list li.placeholder:before{position:absolute}.activity-list-item{padding:12px 0;color:#888;border-bottom:1px solid #EEE;font-size:.9em}.activity-list-item .left+.right{margin-left:42px}ul.pagination{display:inline-block;list-style:none;margin:16px 0;padding-left:1px}ul.pagination li:first-child a,ul.pagination li:first-child span{border-radius:3px 0 0 3px}ul.pagination li:last-child a,ul.pagination li:last-child span{border-radius:0 3px 3px 0}ul.pagination a,ul.pagination span{display:block;padding:3px 12px;border:1px solid #CCC;margin-left:-1px;color:#888;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.compact ul.pagination,.entity-list h3{margin:0}ul.pagination a.disabled,ul.pagination span.disabled{cursor:not-allowed}ul.pagination li.active span{background-color:rgba(2,136,209,.8);color:#EEE;border-color:rgba(2,136,209,.8)}ul.pagination a{color:#0288D1}.entity-list>div{padding:16px 0}.entity-list p{margin:6px 0 0}.entity-list hr{margin:0}.entity-list .text-small.text-muted{color:#AAA;font-size:.75em;margin-top:6px}.entity-list .page.draft .text-page{color:#9A60DA}.entity-list.compact{font-size:.6em}.entity-list.compact a,.entity-list.compact h3{line-height:1.2}.entity-list.compact p{display:none;font-size:12px;padding-top:6px;margin:0}.entity-list.compact hr{margin:0}.dropdown-container{display:inline-block;position:relative}.dropdown-container ul{display:none;position:absolute;z-index:999;top:0;list-style:none;right:0;margin:16px 0;background-color:#FFF;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border-radius:1px;border:1px solid #EEE;min-width:180px;padding:6px 0;color:#555;text-align:left!important}.dropdown-container ul.wide{min-width:220px}.dropdown-container ul .text-muted{color:#999}.dropdown-container ul a{display:block;padding:6px 16px;color:#555}.dropdown-container ul a:hover{text-decoration:none;background-color:#EEE}.dropdown-container ul a i{margin-right:16px;padding-right:0;display:inline;width:22px}.dropdown-container ul li.border-bottom{border-bottom:1px solid #DDD}#page-show>.row .col-md-9{z-index:2}#page-show>.row .col-md-3{z-index:1}.page-editor{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}.page-editor .faded-small{height:auto}.page-editor .edit-area{-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column}.page-style.editor{padding:0!important}.page-content{max-width:840px;overflow-wrap:break-word}.page-content .align-left{text-align:left}.page-content img.align-left,.page-content table.align-left{float:left!important;margin:6px 12px 6px 0}.page-content .align-right{float:right!important}.page-content img.align-right,.page-content table.align-right{text-align:right;margin:6px 0 6px 12px}.page-content .align-center{text-align:center}.page-content img{max-width:100%;height:auto}.page-content .title-input input[type=text],.page-content h1,.page-content h2,.page-content h3,.page-content h4,.page-content h5,.page-content h6,.title-input .page-content input[type=text]{clear:left}.page-content hr{clear:both;margin:16px 0}.page-content table{word-break:break-all;word-break:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto}.pointer-container{position:relative;display:none;left:0;z-index:10}.pointer,.pointer:before{position:absolute;background-color:#FFF}.pointer{border:1px solid #CCC;display:inline-block;padding:12px;border-radius:4px;box-shadow:0 0 8px 1px rgba(212,209,209,.35);top:-60px;width:272px;z-index:55}.pointer:before{left:50%;bottom:-9px;width:16px;height:16px;margin-left:-8px;display:block;transform:rotate(45deg);transform-origin:50% 50%;border-bottom:1px solid #CCC;border-right:1px solid #CCC;z-index:56}.pointer input{background-color:#FFF;border:1px solid #DDD;color:#666;width:172px;z-index:40}.pointer button,.pointer input{position:relative;border-radius:0;height:28px;font-size:12px;vertical-align:top}.pointer>i{color:#888;font-size:18px;padding-top:4px}.pointer .button{line-height:1;margin:0 0 0 -4px;box-shadow:none}.floating-toolbox{background-color:#FFF;border:1px solid #DDD;right:64px;z-index:99;width:48px;overflow:hidden;-ms-flex-align:stretch;align-items:stretch;-ms-flex-direction:row;flex-direction:row;display:-ms-flexbox;display:flex;transition:width ease-in-out 180ms;margin-top:-1px;min-height:0}.floating-toolbox.open{width:480px}.floating-toolbox [toolbox-toggle] i{transition:transform ease-in-out 180ms}.floating-toolbox [toolbox-toggle]{transition:background-color ease-in-out 180ms}.floating-toolbox.open [toolbox-toggle]{background-color:rgba(255,0,0,.29)}.floating-toolbox.open [toolbox-toggle] i{transform:rotate(180deg)}.floating-toolbox>div{-ms-flex:1;flex:1;position:relative}.floating-toolbox .tabs{display:block;border-right:1px solid #DDD;width:54px;-ms-flex:0;flex:0}.floating-toolbox .tabs i{color:rgba(0,0,0,.5);padding:0;margin:0}.floating-toolbox .tabs>span{display:block;cursor:pointer;padding:12px 16px;font-size:13.5px;line-height:1.6;border-bottom:1px solid rgba(255,255,255,.3)}.floating-toolbox.open .tabs>span.active{color:#444;background-color:rgba(0,0,0,.1)}.floating-toolbox div[tab-content]{padding-bottom:45px;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;min-height:0;overflow-y:scroll}.floating-toolbox div[tab-content] .padded{-ms-flex:1;flex:1;padding-top:0}.floating-toolbox h4{font-size:24px;margin:16px 0 0;padding:0 24px 12px}.floating-toolbox .tags input{max-width:100%;width:100%;min-width:50px}.floating-toolbox .tags td{padding-right:12px;padding-top:12px;position:relative}.floating-toolbox button.pos{position:absolute;bottom:0;display:block;width:100%;padding:12px;height:45px;border:0;margin:0;box-shadow:none;border-radius:0}.floating-toolbox button.pos:hover{box-shadow:none}.floating-toolbox .handle{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:move;color:#999}.floating-toolbox form{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;overflow-y:scroll}[tab-content]{display:none}.tag-display{margin:32px 6px;border:1px solid #DDD;min-width:180px;max-width:320px;opacity:.7;z-index:5;position:relative}.tag-display table{width:100%;margin:0;padding:0}.tag-display span{color:#666;margin-left:12px}.tag-display .heading,.tag-display td{padding:6px 12px;color:#444}.tag-display td{border:0;border-bottom:1px solid #DDD}.tag-display .tag-value,.tag-display td i{color:#888}.tag-display tr:last-child td{border-bottom:none}.tag-display .tag{padding:12px}.suggestion-box{position:absolute;background-color:#FFF;border:1px solid #BBB;box-shadow:0 0 4px 1px #CCC;list-style:none;z-index:100;padding:0;margin:0;border-radius:3px}.suggestion-box li{display:block;padding:6px 12px;border-bottom:1px solid #DDD}.suggestion-box li:last-child{border-bottom:0}.suggestion-box li.active{background-color:#EEE} \ No newline at end of file +.link,a,body{font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif}code,pre{white-space:pre}.chapter-toggle,.toggle-switch{cursor:pointer;-moz-user-select:none}*{box-sizing:border-box}html{background-color:#FFF;height:100%;overflow-y:scroll}html.flexbox{overflow-y:hidden}body{font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}button{font-size:100%}table td{min-width:10px;padding:4px 6px;border:1px solid #DDD}.title-input input[type=text],h1{font-size:3.425em;line-height:1.22222222em;margin-top:.48888889em;margin-bottom:.48888889em}h3,h4{margin-top:.78571429em}h2,h3,h4{margin-bottom:.43137255em}h2{font-size:2.8275em;line-height:1.294117647em;margin-top:.8627451em}h3{font-size:1.75em;line-height:1.571428572em}h4{font-size:1em;line-height:1.375em}.title-input input[type=text],h1,h2,h3,h4{font-weight:400;position:relative;display:block;color:#555}.title-input input[type=text] .subheader,h1 .subheader,h2 .subheader,h3 .subheader,h4 .subheader{font-size:.5em;line-height:1em;color:#969696}.link,a{color:#0288D1;cursor:pointer;text-decoration:none;transition:color ease-in-out 80ms;line-height:1.6}.link:hover,.underlined,a:hover{text-decoration:underline}.faded .text-button,.toggle-switch,.toggle-switch:after{transition:all ease-in-out 120ms}.link:hover,a:hover{color:#01466c}.link i,a i{padding-right:12px}.link i.zmdi-hc-flip-horizontal,a i.zmdi-hc-flip-horizontal{padding-right:0;padding-left:12px}blockquote,ol,p,pre,table,ul{margin-top:.3em;margin-bottom:1.375em}hr{height:1px;border:0;background:#EAEAEA;margin-bottom:24px}hr.faded{background-image:linear-gradient(to right,#fff,#e3e0e0 20%,#e3e0e0 80%,#fff)}hr.even,hr.margin-top{margin-top:24px}.bold,.strong,b,strong{font-weight:700}.bold>.bold,.bold>.strong,.bold>b,.bold>strong,.strong>.bold,.strong>.strong,.strong>b,.strong>strong,b>.bold,b>.strong,b>b,b>strong,strong>.bold,strong>.strong,strong>b,strong>strong{font-weight:bolder}.italic,em,i{font-style:italic}.text-small,p.small,small,span.small{font-size:.8em;color:#777}.superscript,sup{vertical-align:super;font-size:.8em}pre{font-family:monospace;font-size:.8em;overflow:hidden;border-radius:4px;box-shadow:0 1px 2px 0 rgba(10,10,10,.06);border:1px solid rgba(221,221,221,.66);background-color:#fdf6e3;padding:12px;overflow-x:scroll}blockquote{display:block;position:relative;border-left:4px solid #0288D1;background-color:#F8F8F8;padding:12px 16px 12px 32px}blockquote:before{content:"\201C";font-size:2em;font-weight:700;position:absolute;top:12px;left:12px;color:#777}.code-base,code,span.code{background-color:#F8F8F8;font-family:monospace;font-size:.8em;border:1px solid #DDD;border-radius:3px}code{display:inline;padding:1px 3px;line-height:1.2em;margin-bottom:1.2em}span.code{padding:1px 6px}pre code{background-color:transparent;border:0;font-size:1em}.text-pos,.text-pos:hover,p .pos,p .pos:hover,p.pos,p.pos:hover,span.pos,span.pos:hover{color:#52A256}.text-neg,.text-neg:hover,p .neg,p .neg:hover,p.neg,p.neg:hover,span.neg,span.neg:hover{color:#E84F4F}.text-muted,p .muted,p.muted,span.muted{color:#868686}.text-muted .small,.text-muted.small,p .muted .small,p .muted.small,p.muted .small,p.muted.small,span.muted .small,span.muted.small{color:#afafaf}.text-primary,.text-primary:hover,p .primary,p .primary:hover,p.primary,p.primary:hover,span.primary,span.primary:hover{color:#0288D1}.text-secondary,.text-secondary:hover,p .secondary,p .secondary:hover,p.secondary,p.secondary:hover,span.secondary,span.secondary:hover{color:#e27b41}.text-book,.text-book:hover{color:#009688}.text-page,.text-page:hover{color:#0288D1}.text-page.draft,.text-page.draft:hover{color:#9A60DA}.text-chapter,.text-chapter:hover{color:#ef7c3c}.faded .text-book:hover{color:#009688!important}.faded .text-chapter:hover{color:#ef7c3c!important}.faded .text-page:hover{color:#0288D1!important}span.highlight{font-weight:700;padding:2px 4px}ol,ul{padding-left:20.8px;overflow:hidden}ul{list-style:disc}ol{list-style:decimal}.book-tree .sidebar-page-list li a:hover,.faded .text-button:hover,.logo:hover{text-decoration:none}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-bigger{font-size:1.1em}.text-large{font-size:1.6666em}.no-color{color:inherit}.header-group{margin:16px 0}.header-group .title-input input[type=text],.header-group h1,.header-group h2,.header-group h3,.header-group h4,.header-group h5,.header-group h6,.title-input .header-group input[type=text]{margin:0}span.sep{color:#BBB;padding:0 6px}.list>*{display:block}.action-header .title-input input[type=text],.action-header h1,.title-input .action-header input[type=text]{margin-top:16px}i{padding-right:6px}body.flexbox{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;height:100%;min-height:100%;max-height:100%;overflow:hidden}body.flexbox #content{-ms-flex:1;flex:1;display:-ms-flexbox;display:flex;min-height:0}.flex-fill{display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch;min-height:0}.flex-fill .flex,.flex-fill.flex{min-height:0;-ms-flex:1;flex:1}div[class^=col-] img{max-width:100%}.container{max-width:1400px;margin-left:auto;margin-right:auto;padding-left:16px;padding-right:16px}.container.fluid{max-width:100%}.container.small{max-width:840px}.center-box{margin:32px auto 0;padding:16px 48px 64px;max-width:346px;display:inline-block;text-align:left;vertical-align:top}.center-box.login{background-color:#EEE;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border:1px solid #DDD}.row{margin-left:-16px;margin-right:-16px}.float{float:left}.float.right{float:right}.block{display:block;position:relative}.inline{display:inline}.block.inline{display:inline-block}.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{position:relative;min-height:1px;padding-left:16px;padding-right:16px}.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.row:after,.row:before{content:" ";display:table}.clearfix:after,.container-fluid:after,.container:after,.row:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.shaded{background-color:#f1f1f1}.shaded.pos{background-color:#d6ead7}.shaded.neg{background-color:#f4a9a9}.shaded.primary{background-color:#a1ddfe}.shaded.secondary{background-color:#f6d7c6}.bordered{border:1px solid #BBB}.bordered.pos{border-color:#52A256}.bordered.neg{border-color:#E84F4F}.bordered.primary{border-color:#0288D1}.bordered.secondary{border-color:#e27b41}.bordered.thick{border-width:2px}.rounded{border-radius:3px}.nopadding{padding:0}.padded{padding:24px}.padded.large{padding:32px}.padded>h1:first-child,.padded>h2:first-child,.padded>h3:first-child,.padded>h4:first-child,.title-input .padded>input[type=text]:first-child{margin-top:.1em}.padded-top,.padded-vertical{padding-top:16px}.padded-top.large,.padded-vertical.large{padding-top:32px}.padded-bottom,.padded-vertical{padding-bottom:16px}.padded-bottom.large,.padded-vertical.large{padding-bottom:32px}.padded-horizontal,.padded-left{padding-left:16px}.padded-horizontal.large,.padded-left.large{padding-left:32px}.padded-horizontal,.padded-right{padding-right:16px}.padded-horizontal.large,.padded-right.large{padding-right:32px}.margins{margin:24px}.margins.large{margin:32px}.margin-top,.margins-vertical{margin-top:16px}.margin-top.large,.margins-vertical.large{margin-top:32px}.margin-bottom,.margins-vertical{margin-bottom:16px}.margin-bottom.large,.margins-vertical.large{margin-bottom:32px}.margin-left,.margins-horizontal{margin-left:16px}.margin-left.large,.margins-horizontal.large{margin-left:32px}.margin-right,.margins-horizontal{margin-right:16px}.margin-right.large,.margins-horizontal.large{margin-right:32px}.callout{border-left:3px solid #BBB;background-color:#EEE;padding:12px}.callout:before{font-family:Material-Design-Iconic-Font;padding-right:12px;display:inline-block}.callout.success{border-left-color:#52A256;background-color:#e7f3e7;color:#376c39}.callout.success:before{content:'\f269'}.callout.danger{border-left-color:#E84F4F;background-color:#fce8e8;color:#b91818}.callout.danger:before{content:'\f1f2'}.callout.info{border-left-color:#0288D1;background-color:#d3efff;color:#015380}.callout.info:before{content:'\f1f8'}.callout.warning{border-left-color:#e27b41;background-color:#faeae0;color:#b6531c}.callout.warning:before{content:'\f1f1'}.editor-toolbar:after,.pointer:before,.toggle-switch:after{content:''}.input-base,input[type=number],input[type=email],input[type=search],input[type=url],input[type=password],input[type=text],select,textarea{background-color:#FFF;border-radius:3px;border:1px solid #CCC;display:inline-block;font-size:14px;font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif;padding:6px;color:#222;width:250px;max-width:100%}#markdown-editor textarea,.editor-toolbar{width:100%;font-family:'Roboto Mono'}.input-base.invalid,.input-base.neg,input.invalid[type=number],input.invalid[type=email],input.invalid[type=search],input.invalid[type=url],input.invalid[type=password],input.invalid[type=text],input.neg[type=number],input.neg[type=email],input.neg[type=search],input.neg[type=url],input.neg[type=password],input.neg[type=text],select.invalid,select.neg,textarea.invalid,textarea.neg{border:1px solid #E84F4F}.input-base.pos,.input-base.valid,input.pos[type=number],input.pos[type=email],input.pos[type=search],input.pos[type=url],input.pos[type=password],input.pos[type=text],input.valid[type=number],input.valid[type=email],input.valid[type=search],input.valid[type=url],input.valid[type=password],input.valid[type=text],select.pos,select.valid,textarea.pos,textarea.valid{border:1px solid #52A256}.input-base.disabled,.input-base[disabled],input.disabled[type=number],input.disabled[type=email],input.disabled[type=search],input.disabled[type=url],input.disabled[type=password],input.disabled[type=text],input[disabled][type=number],input[disabled][type=email],input[disabled][type=search],input[disabled][type=url],input[disabled][type=password],input[disabled][type=text],select.disabled,select[disabled],textarea.disabled,textarea[disabled]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAMUlEQVQIW2NkwAGuXbv2nxGbHEhCS0uLEUMSJgHShCKJLIEiiS4Bl8QmAZbEJQGSBAC62BuJ+tt7zgAAAABJRU5ErkJggg==)}.input-base:focus,input[type=number]:focus,input[type=email]:focus,input[type=search]:focus,input[type=url]:focus,input[type=password]:focus,input[type=text]:focus,select:focus,textarea:focus{outline:0}#html-editor{display:none}#markdown-editor{position:relative;z-index:5}#markdown-editor textarea{font-style:normal;font-weight:400;padding:6px 16px;color:#444;border-radius:0;max-height:100%;-ms-flex:1;flex:1;border:0}#markdown-editor textarea:focus{outline:0}#markdown-editor .markdown-display,#markdown-editor .markdown-editor-wrap{-ms-flex:1;flex:1;position:relative}#markdown-editor .markdown-editor-wrap{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;border:1px solid #DDD}#markdown-editor .markdown-display{padding:0 16px;margin-left:-1px;overflow-y:scroll}#markdown-editor .markdown-display .page-content{margin:0 auto}.editor-toolbar{padding:6px 16px;font-size:11px;line-height:1.6;border-bottom:1px solid #DDD;background-color:#EEE;-ms-flex:none;flex:none}.editor-toolbar:after{display:block;clear:both}label{display:block;line-height:1.4em;font-size:.94em;font-weight:500;color:#666;padding-bottom:2px;margin-bottom:.2em}.toggle-switch,label.inline{display:inline-block}label.checkbox,label.radio{font-weight:400}label.checkbox input[type=radio],label.checkbox input[type=checkbox],label.radio input[type=radio],label.radio input[type=checkbox]{margin-right:6px}label+p.small{margin-bottom:.8em}.toggle-switch{background-color:#BBB;width:36px;height:14px;border-radius:7px;position:relative;-webkit-user-select:none;-ms-user-select:none;user-select:none}.toggle-switch:after{display:block;position:relative;left:0;margin-top:-3px;width:20px;height:20px;border-radius:50%;background-color:#fafafa;border:1px solid #CCC;box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12)}.toggle-switch.active{background-color:rgba(82,162,86,.4)}.toggle-switch.active:after{left:16px;background-color:#52A256;border:#305e32}.toggle-switch-checkbox{display:none}input:checked+.toggle-switch{background-color:rgba(82,162,86,.4)}input:checked+.toggle-switch:after{left:16px;background-color:#52A256;border:#305e32}.form-group{margin-bottom:12px}.form-group textarea{display:block;width:100%;min-height:64px}.form-group .text-neg,.form-group .text-pos{padding:6px 0}.description-input textarea,.inline-input-style,.title-input input[type=text]{border:2px dotted #BBB;display:block;width:100%;padding:6px 12px}.title-input .input{width:100%}.description-input label,.title-input label{margin-top:16px;color:#666}.title-input input[type=text]{margin-top:0;padding-right:0;width:100%;color:#444}.title-input.page-title{font-size:.8em}.title-input.page-title .input{border:0;margin-bottom:-1px}.title-input.page-title input[type=text]{max-width:840px;margin:0 auto;border:none}.search-box,div[editor-type=markdown] .title-input.page-title input[type=text],table{max-width:100%}.page-title input{display:block;width:100%;font-size:1.4em}.description-input textarea{font-size:15px;color:#666;width:100%}.search-box{position:relative}.search-box button{background-color:transparent;border:none;color:#0288D1;padding:0;margin:0 0 0 12px;cursor:pointer}.search-box button[type=submit]{margin-left:-24px}.search-box input{padding-right:24px;width:300px;max-width:100%}input.outline{border:0;border-bottom:2px solid #DDD;border-radius:0}input.outline:active,input.outline:focus{border:0;border-bottom:2px solid #AAA;outline:0}#login-form label[for=remember]{margin:0}#login-form label.toggle-switch{margin-left:32px}.image-picker img{background-color:#BBB}div[toggle-switch]{height:18px;width:150px}table.table{width:100%}table.table tr{border-bottom:1px solid #DDD}table.table td,table.table th{text-align:left;border:none;padding:6px;vertical-align:middle}table.table th{font-weight:700}table.table tr:hover{background-color:#EEE}table{min-width:100px;border-spacing:0;border-collapse:collapse}table thead{background-color:#F8F8F8;font-weight:500}table.no-style td{border:0;padding:0}table.list-table{margin:-6px}table.list-table td{border:0;vertical-align:middle;padding:6px}.dropdown-container,.logo-image,.logo-text,form.search-box button,header .links,header .user-name,header .user-name>*{vertical-align:top}header{display:block;z-index:2;top:0;background-color:#0288D1;color:#fff;border-bottom:1px solid #DDD}header .avatar,header .links,header .links a,header .user-name{display:inline-block}header .padded{padding:16px}header .links{margin-right:32px}header .links a{padding:24px;color:#FFF}header .links a:last-child{padding-right:0}@media screen and (max-width:992px){header .links{margin-right:16px}header .links a{padding:24px 12px}}header .avatar{width:30px;height:30px}header .user-name{padding-top:24px;cursor:pointer}header .user-name>i,header .user-name>span{padding-left:6px;display:inline-block}header .user-name>span{padding-top:3px}header .user-name>i{padding-top:4px;font-size:18px}@media screen and (max-width:992px){header .user-name{padding-left:6px}header .user-name .name{display:none}header{text-align:center}header .float.right{float:none}}.logo,.logo-text,form.search-box{display:inline-block}.activity-list-item .left,ul.pagination li{float:left}@media screen and (max-width:768px){header .links a{padding:12px}header form.search-box{margin-top:0}header .user-name{padding-top:12px}}header .dropdown-container{font-size:.9em}form.search-box{margin-top:21.6px;position:relative;text-align:left}form.search-box input{background-color:transparent;border-radius:24px;border:2px solid #EEE;color:#EEE;padding-left:16px;padding-right:24px;outline:0}form.search-box button{margin-left:-24px;color:#FFF;top:6px;right:4px;display:inline-block;position:absolute}form.search-box button:hover{color:#FFF}.logo:hover{color:#FFF}.logo-text{font-size:1.8em;color:#fff;font-weight:400;padding:24px 24px 24px 0;line-height:1}.logo-image{margin:16px 12px 16px 0;height:43px}.breadcrumbs span.sep{color:#aaa;padding:0 6px}.action-buttons .text-button,.breadcrumbs .text-button,.faded span.faded-text{padding:12px;display:inline-block}.faded a,.faded button,.faded span,.faded span>div{color:#666}.faded .text-button{opacity:.5}.faded .text-button:hover{opacity:1}.faded-small{color:#000;font-size:.9em;background-color:rgba(21,101,192,.15)}.action-buttons .text-button:last-child,.breadcrumbs .text-button:last-child{padding-right:0}.action-buttons{text-align:right}.action-buttons.text-left{text-align:left}.action-buttons.text-left .text-button{padding-right:16px;padding-left:0}.action-buttons.text-center,.nav-tabs{text-align:center}.nav-tabs .tab-item,.nav-tabs a{padding:16px;display:inline-block;color:#666;cursor:pointer}.nav-tabs .tab-item.selected,.nav-tabs a.selected{border-bottom:2px solid #0288D1}.page-list h3{margin:24px 0 6px;font-size:1.666em}.page-list a.chapter{color:#ef7c3c}.page-list .inset-list{display:none;overflow:hidden;margin-bottom:24px}.page-list h4{display:block;margin:12px 0 0;border-left:5px solid #0288D1;padding:6px 0 6px 16px}.page-list h4.draft{border-left-color:#9A60DA}.page-list hr{margin-top:0}.page-list .book,.page-list .chapter,.page-list .page{padding-left:24px}.page-list .page{border-left:5px solid #0288D1}.page-list .page.draft{border-left:5px solid #9A60DA}.page-list .page.draft .text-page{color:#9A60DA}.page-list .chapter{border-left:5px solid #ef7c3c}.page-list .book{border-left:5px solid #009688}.page-list .meta{margin-top:-16px;font-size:.95em}.page-list .meta span{margin-right:12px}.chapter-toggle{margin:0 0 24px;transition:all ease-in-out 180ms;-webkit-user-select:none;-ms-user-select:none;user-select:none}.chapter-toggle i.zmdi-caret-right{transition:all ease-in-out 180ms;transform:rotate(0);transform-origin:25% 50%}.chapter-toggle.open{margin-bottom:0}.chapter-toggle.open i.zmdi-caret-right{transform:rotate(90deg)}.page-nav-list{margin-left:2px;list-style:none}.page-nav-list li{padding-left:6px;border-left:2px solid #888;margin-bottom:4px}.page-nav-list li a{color:#555}.page-nav-list .nav-H2{margin-left:12px;font-size:.95em}.page-nav-list .nav-H3{margin-left:24px;font-size:.9em}.page-nav-list .nav-H4{margin-left:36px;font-size:.85em}.page-nav-list .nav-H5{margin-left:48px;font-size:.8em}.page-nav-list .nav-H6{margin-left:60px;font-size:.75em}.book-tree{padding:24px 0 0;position:relative;right:0;top:0;transition:ease-in-out 240ms;transition-property:right,border;border-left:0 solid #FFF;background-color:#FFF}.book-tree.fixed{position:fixed;top:0;padding-left:24px;padding-right:39px;width:30%;right:-15px;height:100%;overflow-y:scroll;-ms-overflow-style:none;border-left:1px solid #DDD}.book-tree.fixed::-webkit-scrollbar{width:0!important}.book-tree h4{padding:16px 12px 0}.book-tree h4 i{padding-right:12px}.book-tree .sidebar-page-list{list-style:none;margin:6px 0 0;padding-left:0;border-left:5px solid #009688}.book-tree .sidebar-page-list li a{display:block;border-bottom:none;padding:6px 0 6px 12px}.book-tree .sidebar-page-list li a i{padding-right:8px}.book-tree .sidebar-page-list a,.book-tree .sidebar-page-list li{display:block}.book-tree .sidebar-page-list a.bold{color:#EEE!important}.book-tree .sidebar-page-list ul{list-style:none;margin:0}.book-tree .sidebar-page-list .book{color:#009688!important}.book-tree .sidebar-page-list .book.selected{background-color:rgba(0,150,136,.29)}.book-tree .sidebar-page-list .chapter{color:#ef7c3c!important}.book-tree .sidebar-page-list .chapter.selected{background-color:rgba(239,124,60,.12)}.book-tree .sidebar-page-list .chapter-toggle{padding-left:12px}.book-tree .sidebar-page-list .list-item-chapter{border-left:5px solid #ef7c3c;margin:10px;display:block}.book-tree .sidebar-page-list .list-item-page{border-bottom:none;border-left:5px solid #0288D1;margin:10px}.book-tree .sidebar-page-list .page{color:#0288D1!important;border-bottom:none}.book-tree .sidebar-page-list .page.selected{background-color:rgba(2,136,209,.1)}.book-tree .sidebar-page-list .list-item-page.draft{border-left:5px solid #9A60DA}.book-tree .sidebar-page-list .list-item-page.draft a.page,.book-tree .sidebar-page-list .page.draft .page{color:#9A60DA!important}.book-tree .sidebar-page-list .sub-menu{display:none;padding-left:0}.book-tree .sidebar-page-list .sub-menu.open{display:block}.sortable-page-list,.sortable-page-list ul{list-style:none;background-color:#FFF}.sort-box{margin-bottom:16px;padding:0 24px;border-left:4px solid #009688}.sortable-page-list,.sortable-page-list>ul{margin-left:0}.sortable-page-list ul{margin-bottom:0;margin-top:0;box-shadow:0 0 1px 0 rgba(0,0,0,.1)}.sortable-page-list li{border:1px solid #DDD;padding:6px 12px;margin-top:-1px;min-height:38px}.sortable-page-list li.text-chapter{border-left:2px solid #ef7c3c}.sortable-page-list li.text-page{border-left:2px solid #0288D1}.sortable-page-list li:first-child{margin-top:6px}.sortable-page-list li.placeholder{position:relative}.sortable-page-list li.placeholder:before{position:absolute}.activity-list-item{padding:12px 0;color:#888;border-bottom:1px solid #EEE;font-size:.9em}.activity-list-item .left+.right{margin-left:42px}ul.pagination{display:inline-block;list-style:none;margin:16px 0;padding-left:1px}ul.pagination li:first-child a,ul.pagination li:first-child span{border-radius:3px 0 0 3px}ul.pagination li:last-child a,ul.pagination li:last-child span{border-radius:0 3px 3px 0}ul.pagination a,ul.pagination span{display:block;padding:3px 12px;border:1px solid #CCC;margin-left:-1px;color:#888;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.compact ul.pagination,.entity-list h3{margin:0}ul.pagination a.disabled,ul.pagination span.disabled{cursor:not-allowed}ul.pagination li.active span{background-color:rgba(2,136,209,.8);color:#EEE;border-color:rgba(2,136,209,.8)}ul.pagination a{color:#0288D1}.entity-list>div{padding:16px 0}.entity-list p{margin:6px 0 0}.entity-list hr{margin:0}.entity-list .text-small.text-muted{color:#AAA;font-size:.75em;margin-top:6px}.entity-list .page.draft .text-page{color:#9A60DA}.entity-list.compact{font-size:.6em}.entity-list.compact a,.entity-list.compact h3{line-height:1.2}.entity-list.compact p{display:none;font-size:12px;padding-top:6px;margin:0}.entity-list.compact>p.empty-text{display:block;font-size:15px}.entity-list.compact hr{margin:0}.dropdown-container{display:inline-block;position:relative}.dropdown-container ul{display:none;position:absolute;z-index:999;top:0;list-style:none;right:0;margin:16px 0;background-color:#FFF;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border-radius:1px;border:1px solid #EEE;min-width:180px;padding:6px 0;color:#555;text-align:left!important}.dropdown-container ul.wide{min-width:220px}.dropdown-container ul .text-muted{color:#999}.dropdown-container ul a{display:block;padding:6px 16px;color:#555}.dropdown-container ul a:hover{text-decoration:none;background-color:#EEE}.dropdown-container ul a i{margin-right:16px;padding-right:0;display:inline;width:22px}.dropdown-container ul li.border-bottom{border-bottom:1px solid #DDD}#page-show>.row .col-md-9{z-index:2}#page-show>.row .col-md-3{z-index:1}.page-editor{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}.page-editor .faded-small{height:auto}.page-editor .edit-area{-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column}.page-style.editor{padding:0!important}.page-content{max-width:840px;overflow-wrap:break-word}.page-content .align-left{text-align:left}.page-content img.align-left,.page-content table.align-left{float:left!important;margin:6px 12px 6px 0}.page-content .align-right{float:right!important}.page-content img.align-right,.page-content table.align-right{text-align:right;margin:6px 0 6px 12px}.page-content .align-center{text-align:center}.page-content img{max-width:100%;height:auto}.page-content .title-input input[type=text],.page-content h1,.page-content h2,.page-content h3,.page-content h4,.page-content h5,.page-content h6,.page-content pre,.title-input .page-content input[type=text]{clear:left}.page-content hr{clear:both;margin:16px 0}.page-content table{word-break:break-all;word-break:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto}.pointer-container{position:relative;display:none;left:0;z-index:10}.pointer,.pointer:before{position:absolute;background-color:#FFF}.pointer{border:1px solid #CCC;display:inline-block;padding:12px;border-radius:4px;box-shadow:0 0 8px 1px rgba(212,209,209,.35);top:-60px;width:272px;z-index:55}.pointer:before{left:50%;bottom:-9px;width:16px;height:16px;margin-left:-8px;display:block;transform:rotate(45deg);transform-origin:50% 50%;border-bottom:1px solid #CCC;border-right:1px solid #CCC;z-index:56}.pointer input{background-color:#FFF;border:1px solid #DDD;color:#666;width:172px;z-index:40}.pointer button,.pointer input{position:relative;border-radius:0;height:28px;font-size:12px;vertical-align:top}.pointer>i{color:#888;font-size:18px;padding-top:4px}.pointer .button{line-height:1;margin:0 0 0 -4px;box-shadow:none}.floating-toolbox{background-color:#FFF;border:1px solid #DDD;right:64px;z-index:99;width:48px;overflow:hidden;-ms-flex-align:stretch;align-items:stretch;-ms-flex-direction:row;flex-direction:row;display:-ms-flexbox;display:flex;transition:width ease-in-out 180ms;margin-top:-1px;min-height:0}.floating-toolbox.open{width:480px}.floating-toolbox [toolbox-toggle] i{transition:transform ease-in-out 180ms}.floating-toolbox [toolbox-toggle]{transition:background-color ease-in-out 180ms}.floating-toolbox.open [toolbox-toggle]{background-color:rgba(255,0,0,.29)}.floating-toolbox.open [toolbox-toggle] i{transform:rotate(180deg)}.floating-toolbox>div{-ms-flex:1;flex:1;position:relative}.floating-toolbox .tabs{display:block;border-right:1px solid #DDD;width:54px;-ms-flex:0;flex:0}.floating-toolbox .tabs i{color:rgba(0,0,0,.5);padding:0;margin:0}.floating-toolbox .tabs>span{display:block;cursor:pointer;padding:12px 16px;font-size:13.5px;line-height:1.6;border-bottom:1px solid rgba(255,255,255,.3)}.floating-toolbox.open .tabs>span.active{color:#444;background-color:rgba(0,0,0,.1)}.floating-toolbox div[tab-content]{padding-bottom:45px;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;min-height:0;overflow-y:scroll}.floating-toolbox div[tab-content] .padded{-ms-flex:1;flex:1;padding-top:0}.floating-toolbox h4{font-size:24px;margin:16px 0 0;padding:0 24px 12px}.floating-toolbox .tags input{max-width:100%;width:100%;min-width:50px}.floating-toolbox .tags td{padding-right:12px;padding-top:12px;position:relative}.floating-toolbox button.pos{position:absolute;bottom:0;display:block;width:100%;padding:12px;height:45px;border:0;margin:0;box-shadow:none;border-radius:0}.floating-toolbox button.pos:hover{box-shadow:none}.floating-toolbox .handle{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:move;color:#999}.floating-toolbox form{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;overflow-y:scroll}[tab-content]{display:none}.tag-display{margin:32px 6px;border:1px solid #DDD;min-width:180px;max-width:320px;opacity:.7;z-index:5;position:relative}.tag-display table{width:100%;margin:0;padding:0}.tag-display span{color:#666;margin-left:12px}.tag-display .heading,.tag-display td{padding:6px 12px;color:#444}.tag-display td{border:0;border-bottom:1px solid #DDD}.tag-display .tag-value,.tag-display td i{color:#888}.tag-display tr:last-child td{border-bottom:none}.tag-display .tag{padding:12px}.suggestion-box{position:absolute;background-color:#FFF;border:1px solid #BBB;box-shadow:0 0 4px 1px #CCC;list-style:none;z-index:100;padding:0;margin:0;border-radius:3px}.suggestion-box li{display:block;padding:6px 12px;border-bottom:1px solid #DDD}.suggestion-box li:last-child{border-bottom:0}.suggestion-box li.active{background-color:#EEE} \ No newline at end of file diff --git a/public/css/styles.css b/public/css/styles.css index 7422d3009a8..eb75936ebc4 100644 --- a/public/css/styles.css +++ b/public/css/styles.css @@ -1 +1 @@ -code,pre{white-space:pre}.chapter-toggle,.toggle-switch{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;cursor:pointer}.anim.fadeIn,.anim.notification,.anim.searchResult{animation-fill-mode:forwards}*,.dropzone,.dropzone *{box-sizing:border-box}.title-input input[type=text],a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{margin:0;padding:0;border:0;font:inherit;vertical-align:baseline}.link,.text-button,a,body{font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:'';content:none}table{border-collapse:collapse;border-spacing:0}@font-face{font-family:Roboto;font-style:normal;font-weight:100;src:local("Roboto Thin"),local("Roboto-Thin"),url(/fonts/roboto-v15-cyrillic_latin-100.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-100.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:100;src:local("Roboto Thin Italic"),local("Roboto-ThinItalic"),url(/fonts/roboto-v15-cyrillic_latin-100italic.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-100italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:300;src:local("Roboto Light"),local("Roboto-Light"),url(/fonts/roboto-v15-cyrillic_latin-300.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-300.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:300;src:local("Roboto Light Italic"),local("Roboto-LightItalic"),url(/fonts/roboto-v15-cyrillic_latin-300italic.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-300italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:local("Roboto"),local("Roboto-Regular"),url(/fonts/roboto-v15-cyrillic_latin-regular.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-regular.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:400;src:local("Roboto Italic"),local("Roboto-Italic"),url(/fonts/roboto-v15-cyrillic_latin-italic.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:500;src:local("Roboto Medium"),local("Roboto-Medium"),url(/fonts/roboto-v15-cyrillic_latin-500.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-500.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:500;src:local("Roboto Medium Italic"),local("Roboto-MediumItalic"),url(/fonts/roboto-v15-cyrillic_latin-500italic.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-500italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:700;src:local("Roboto Bold"),local("Roboto-Bold"),url(/fonts/roboto-v15-cyrillic_latin-700.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-700.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:700;src:local("Roboto Bold Italic"),local("Roboto-BoldItalic"),url(/fonts/roboto-v15-cyrillic_latin-700italic.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-700italic.woff) format("woff")}@font-face{font-family:'Roboto Mono';font-style:normal;font-weight:400;src:local("Roboto Mono"),local("RobotoMono-Regular"),url(/fonts/roboto-mono-v4-latin-regular.woff2) format("woff2"),url(/fonts/roboto-mono-v4-latin-regular.woff) format("woff")}html{background-color:#FFF;height:100%;overflow-y:scroll}html.flexbox{overflow-y:hidden}body{font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}button{font-size:100%}table td{min-width:10px;padding:4px 6px;border:1px solid #DDD}.title-input input[type=text],h1{font-size:3.625em;line-height:1.22222222em;margin-top:.48888889em;margin-bottom:.48888889em}h3,h4{margin-top:.78571429em}h2,h3,h4{margin-bottom:.43137255em}h2{font-size:2.8275em;line-height:1.294117647em;margin-top:.8627451em}h3{font-size:1.75em;line-height:1.571428572em}h4{font-size:1em;line-height:1.375em}.title-input input[type=text],h1,h2,h3,h4{font-weight:400;position:relative;display:block;color:#555}.title-input input[type=text] .subheader,h1 .subheader,h2 .subheader,h3 .subheader,h4 .subheader{display:block;font-size:.5em;line-height:1em;color:#6d6d6d}.link,.text-button,a{color:#0288D1;cursor:pointer;text-decoration:none;transition:color ease-in-out 80ms;line-height:1.6}.link:hover,.text-button:hover,a:hover{text-decoration:underline;color:#01466c}.link i,.text-button i,a i{padding-right:12px}.link i.zmdi-hc-flip-horizontal,.text-button i.zmdi-hc-flip-horizontal,a i.zmdi-hc-flip-horizontal{padding-right:0;padding-left:12px}blockquote,ol,p,pre,table,ul{margin-top:.3em;margin-bottom:1.375em}hr{height:1px;border:0;background:#EAEAEA;margin-bottom:24px}hr.faded{background-image:linear-gradient(to right,#fff,#e3e0e0 20%,#e3e0e0 80%,#fff)}hr.even,hr.margin-top{margin-top:24px}.bold,.strong,b,strong{font-weight:700}.bold>.bold,.bold>.strong,.bold>b,.bold>strong,.strong>.bold,.strong>.strong,.strong>b,.strong>strong,b>.bold,b>.strong,b>b,b>strong,strong>.bold,strong>.strong,strong>b,strong>strong{font-weight:bolder}.italic,em,i{font-style:italic}.text-small,p.small,small,span.small{font-size:.8em;color:#777}.superscript,sup{vertical-align:super;font-size:.8em}pre{font-family:monospace;font-size:.8em;overflow:hidden;border-radius:4px;box-shadow:0 1px 2px 0 rgba(10,10,10,.06);border:1px solid rgba(221,221,221,.66);background-color:#fdf6e3;padding:12px;overflow-x:scroll}blockquote{display:block;position:relative;border-left:4px solid #0288D1;background-color:#F8F8F8;padding:12px 16px 12px 32px}blockquote:before{content:"\201C";font-size:2em;font-weight:700;position:absolute;top:12px;left:12px;color:#777}.code-base,code,span.code{background-color:#F8F8F8;font-family:monospace;font-size:.8em;border:1px solid #DDD;border-radius:3px}code{display:inline;padding:1px 3px;line-height:1.2em;margin-bottom:1.2em}span.code{padding:1px 6px}pre code{background-color:transparent;border:0;font-size:1em}.text-pos,.text-pos:hover,p .pos,p .pos:hover,p.pos,p.pos:hover,span.pos,span.pos:hover{color:#52A256}.text-neg,.text-neg:hover,p .neg,p .neg:hover,p.neg,p.neg:hover,span.neg,span.neg:hover{color:#E84F4F}.text-muted,p .muted,p.muted,span.muted{color:#868686}.text-muted .small,.text-muted.small,p .muted .small,p .muted.small,p.muted .small,p.muted.small,span.muted .small,span.muted.small{color:#afafaf}.text-primary,.text-primary:hover,p .primary,p .primary:hover,p.primary,p.primary:hover,span.primary,span.primary:hover{color:#0288D1}.text-secondary,.text-secondary:hover,p .secondary,p .secondary:hover,p.secondary,p.secondary:hover,span.secondary,span.secondary:hover{color:#e27b41}.text-book,.text-book:hover{color:#009688}.text-page,.text-page:hover{color:#0288D1}.text-page.draft,.text-page.draft:hover{color:#9A60DA}.text-chapter,.text-chapter:hover{color:#ef7c3c}span.highlight{font-weight:700;padding:2px 4px}ol,ul{padding-left:20.8px;overflow:hidden}ul{list-style:disc}ol{list-style:decimal}.underlined{text-decoration:underline}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-bigger{font-size:1.1em}.text-large{font-size:1.6666em}.no-color{color:inherit}.header-group{margin:16px 0}.header-group .title-input input[type=text],.header-group h1,.header-group h2,.header-group h3,.header-group h4,.header-group h5,.header-group h6,.title-input .header-group input[type=text]{margin:0}span.sep{color:#BBB;padding:0 6px}.list>*{display:block}.action-header .title-input input[type=text],.action-header h1,.title-input .action-header input[type=text]{margin-top:16px}i{padding-right:6px}body.flexbox{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;height:100%;min-height:100%;max-height:100%;overflow:hidden}body.flexbox #content{-ms-flex:1;flex:1;display:-ms-flexbox;display:flex;min-height:0}.flex-fill{display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch;min-height:0}.flex-fill .flex,.flex-fill.flex{min-height:0;-ms-flex:1;flex:1}div[class^=col-] img{max-width:100%}.container{max-width:1400px;margin-left:auto;margin-right:auto;padding-left:16px;padding-right:16px}.container.fluid{max-width:100%}.container.small{max-width:840px}.center-box{margin:32px auto 0;padding:16px 48px 64px;max-width:346px;display:inline-block;text-align:left;vertical-align:top}.center-box.login{background-color:#EEE;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border:1px solid #DDD}.row{margin-left:-16px;margin-right:-16px}.float{float:left}.float.right{float:right}.block{display:block;position:relative}.inline{display:inline}.block.inline{display:inline-block}.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{position:relative;min-height:1px;padding-left:16px;padding-right:16px}.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.row:after,.row:before{content:" ";display:table}.button-group:after,.dz-preview .dz-error-message:after,.editor-toolbar:after,.pointer:before,.toggle-switch:after{content:''}.clearfix:after,.container-fluid:after,.container:after,.row:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.shaded{background-color:#f1f1f1}.shaded.pos{background-color:#d6ead7}.shaded.neg{background-color:#f4a9a9}.shaded.primary{background-color:#a1ddfe}.shaded.secondary{background-color:#f6d7c6}.bordered{border:1px solid #BBB}.bordered.pos{border-color:#52A256}.bordered.neg{border-color:#E84F4F}.bordered.primary{border-color:#0288D1}.bordered.secondary{border-color:#e27b41}.bordered.thick{border-width:2px}.rounded{border-radius:3px}.nopadding{padding:0}.padded{padding:24px}.padded.large{padding:32px}.padded>h1:first-child,.padded>h2:first-child,.padded>h3:first-child,.padded>h4:first-child,.title-input .padded>input[type=text]:first-child{margin-top:.1em}.padded-top,.padded-vertical{padding-top:16px}.padded-top.large,.padded-vertical.large{padding-top:32px}.padded-bottom,.padded-vertical{padding-bottom:16px}.padded-bottom.large,.padded-vertical.large{padding-bottom:32px}.padded-horizontal,.padded-left{padding-left:16px}.padded-horizontal.large,.padded-left.large{padding-left:32px}.padded-horizontal,.padded-right{padding-right:16px}.padded-horizontal.large,.padded-right.large{padding-right:32px}.margins{margin:24px}.margins.large{margin:32px}.margin-top,.margins-vertical{margin-top:16px}.margin-top.large,.margins-vertical.large{margin-top:32px}.margin-bottom,.margins-vertical{margin-bottom:16px}.margin-bottom.large,.margins-vertical.large{margin-bottom:32px}.margin-left,.margins-horizontal{margin-left:16px}.margin-left.large,.margins-horizontal.large{margin-left:32px}.margin-right,.margins-horizontal{margin-right:16px}.margin-right.large,.margins-horizontal.large,header .links{margin-right:32px}.button,.button-base,input[type=button],input[type=submit]{text-decoration:none;font-size:15px;line-height:1.4em;padding:6px 16px;margin:6px 6px 6px 0;display:inline-block;border:none;font-weight:500;font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif;outline:0;border-radius:2px;cursor:pointer;transition:all ease-in-out 120ms;box-shadow:0 .5px 1.5px 0 rgba(0,0,0,.21);background-color:#0288D1;color:#EEE}.button-base:hover,.button:hover,input[type=button]:hover,input[type=submit]:hover{background-color:#02a2f9;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#EEE}.button-base:active,.button:active,input[type=button]:active,input[type=submit]:active{background-color:#026ea9}.button-base:focus,.button:focus,input[type=button]:focus,input[type=submit]:focus{background-color:#0295e5;box-shadow:0 0 4px 1px #CCC;text-decoration:none;color:#EEE}.button.pos,input[type=button].pos,input[type=submit].pos{background-color:#52A256;color:#EEE}.button.pos:hover,input[type=button].pos:hover,input[type=submit].pos:hover{background-color:#69b36d;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#EEE}.button.pos:active,input[type=button].pos:active,input[type=submit].pos:active{background-color:#448748}.button.pos:focus,input[type=button].pos:focus,input[type=submit].pos:focus{background-color:#5cac60;box-shadow:0 0 4px 1px #CCC;text-decoration:none;color:#EEE}.button.neg,input[type=button].neg,input[type=submit].neg{background-color:#E84F4F;color:#EEE}.button.neg:hover,input[type=button].neg:hover,input[type=submit].neg:hover{background-color:#ed7373;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#EEE}.button.neg:active,input[type=button].neg:active,input[type=submit].neg:active{background-color:#e32b2b}.button.neg:focus,input[type=button].neg:focus,input[type=submit].neg:focus{background-color:#ea6161;box-shadow:0 0 4px 1px #CCC;text-decoration:none;color:#EEE}.button.secondary,input[type=button].secondary,input[type=submit].secondary{background-color:#e27b41;color:#EEE}.button.secondary:hover,input[type=button].secondary:hover,input[type=submit].secondary:hover{background-color:#e79464;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#EEE}.button.secondary:active,input[type=button].secondary:active,input[type=submit].secondary:active{background-color:#d96321}.button.secondary:focus,input[type=button].secondary:focus,input[type=submit].secondary:focus{background-color:#e58753;box-shadow:0 0 4px 1px #CCC;text-decoration:none;color:#EEE}.button.muted,input[type=button].muted,input[type=submit].muted{background-color:#888;color:#EEE}.button.muted:hover,input[type=button].muted:hover,input[type=submit].muted:hover{background-color:#9c9c9c;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#EEE}.button.muted:active,input[type=button].muted:active,input[type=submit].muted:active{background-color:#747474}.button.muted:focus,input[type=button].muted:focus,input[type=submit].muted:focus{background-color:#929292;box-shadow:0 0 4px 1px #CCC;text-decoration:none;color:#EEE}.text-button{background-color:transparent;padding:0;margin:0;border:none}.text-button:active,.text-button:focus{outline:0}.text-button:hover{text-decoration:none}.text-button.neg{color:#E84F4F}.button-group:after{display:block;font-size:0;clear:both;position:relative}.button-group .button,.button-group button[type=button]{margin:6px 0;float:left;border-radius:0}.button-group .button:first-child,.button-group button[type=button]:first-child{border-radius:2px 0 0 2px}.button-group .button:last-child,.button-group button[type=button]:last-child{border-radius:0 2px 2px 0}.button.block{width:100%;text-align:center;display:block}.button.icon i{padding-right:0}.input-base,input[type=text],input[type=number],input[type=email],input[type=search],input[type=url],input[type=password],select,textarea{background-color:#FFF;border-radius:3px;border:1px solid #CCC;display:inline-block;font-size:14px;font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif;padding:6px;color:#222;width:250px;max-width:100%}#markdown-editor textarea,.editor-toolbar{width:100%;font-family:'Roboto Mono'}.input-base.invalid,.input-base.neg,input.invalid[type=text],input.invalid[type=number],input.invalid[type=email],input.invalid[type=search],input.invalid[type=url],input.invalid[type=password],input.neg[type=text],input.neg[type=number],input.neg[type=email],input.neg[type=search],input.neg[type=url],input.neg[type=password],select.invalid,select.neg,textarea.invalid,textarea.neg{border:1px solid #E84F4F}.input-base.pos,.input-base.valid,input.pos[type=text],input.pos[type=number],input.pos[type=email],input.pos[type=search],input.pos[type=url],input.pos[type=password],input.valid[type=text],input.valid[type=number],input.valid[type=email],input.valid[type=search],input.valid[type=url],input.valid[type=password],select.pos,select.valid,textarea.pos,textarea.valid{border:1px solid #52A256}.input-base.disabled,.input-base[disabled],input.disabled[type=text],input.disabled[type=number],input.disabled[type=email],input.disabled[type=search],input.disabled[type=url],input.disabled[type=password],input[disabled][type=text],input[disabled][type=number],input[disabled][type=email],input[disabled][type=search],input[disabled][type=url],input[disabled][type=password],select.disabled,select[disabled],textarea.disabled,textarea[disabled]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAMUlEQVQIW2NkwAGuXbv2nxGbHEhCS0uLEUMSJgHShCKJLIEiiS4Bl8QmAZbEJQGSBAC62BuJ+tt7zgAAAABJRU5ErkJggg==)}#html-editor{display:none}#markdown-editor{position:relative;z-index:5}#markdown-editor textarea{font-style:normal;font-weight:400;padding:6px 16px;color:#444;border-radius:0;max-height:100%;-ms-flex:1;flex:1;border:0}#markdown-editor textarea:focus{outline:0}#markdown-editor .markdown-display,#markdown-editor .markdown-editor-wrap{-ms-flex:1;flex:1;position:relative}#markdown-editor .markdown-editor-wrap{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;border:1px solid #DDD}#markdown-editor .markdown-display{padding:0 16px;margin-left:-1px;overflow-y:scroll}#markdown-editor .markdown-display .page-content{margin:0 auto}.editor-toolbar{padding:6px 16px;font-size:11px;line-height:1.6;border-bottom:1px solid #DDD;background-color:#EEE;-ms-flex:none;flex:none}.editor-toolbar:after{display:block;clear:both}label{display:block;line-height:1.4em;font-size:.94em;font-weight:500;color:#666;padding-bottom:2px;margin-bottom:.2em}.toggle-switch,label.inline{display:inline-block}label.checkbox,label.radio{font-weight:400}label.checkbox input[type=radio],label.checkbox input[type=checkbox],label.radio input[type=radio],label.radio input[type=checkbox]{margin-right:6px}label+p.small{margin-bottom:.8em}.toggle-switch{background-color:#BBB;width:36px;height:14px;border-radius:7px;position:relative;transition:all ease-in-out 120ms;user-select:none}.toggle-switch:after{display:block;position:relative;left:0;margin-top:-3px;width:20px;height:20px;border-radius:50%;background-color:#fafafa;border:1px solid #CCC;box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);transition:all ease-in-out 120ms}.toggle-switch.active{background-color:rgba(82,162,86,.4)}.toggle-switch.active:after{left:16px;background-color:#52A256;border:#305e32}.toggle-switch-checkbox{display:none}input:checked+.toggle-switch{background-color:rgba(82,162,86,.4)}input:checked+.toggle-switch:after{left:16px;background-color:#52A256;border:#305e32}.form-group{margin-bottom:12px}.form-group textarea{display:block;width:100%;min-height:64px}.form-group .text-neg,.form-group .text-pos{padding:6px 0}.description-input textarea,.inline-input-style,.title-input input[type=text]{border:2px dotted #BBB;display:block;width:100%;padding:6px 12px}.title-input .input{width:100%}.description-input label,.title-input label{margin-top:16px;color:#666}.title-input input[type=text]{margin-top:0;padding-right:0;width:100%;color:#444}.title-input.page-title{font-size:.8em}.title-input.page-title .input{border:0;margin-bottom:-1px}.title-input.page-title input[type=text]{max-width:840px;margin:0 auto;border:none}.page-title input{display:block;width:100%;font-size:1.4em}.description-input textarea{font-size:15px;color:#666;width:100%}div[editor-type=markdown] .title-input.page-title input[type=text]{max-width:100%}.search-box{max-width:100%;position:relative}.search-box button{background-color:transparent;border:none;color:#0288D1;padding:0;margin:0 0 0 12px;cursor:pointer}.search-box button[type=submit]{margin-left:-24px}.search-box input{padding-right:24px;width:300px;max-width:100%}input.outline{border:0;border-bottom:2px solid #DDD;border-radius:0}input.outline:active,input.outline:focus{border:0;border-bottom:2px solid #AAA;outline:0}#login-form label[for=remember]{margin:0}#login-form label.toggle-switch{margin-left:32px}.image-picker img{background-color:#BBB}div[toggle-switch]{height:18px;width:150px}table.table{width:100%}table.table tr{border-bottom:1px solid #DDD}table.table td,table.table th{text-align:left;border:none;padding:6px;vertical-align:middle}.dz-message,.dz-preview .dz-details,.dz-preview .dz-remove,.image-manager-content .full-tab,.mce-container-body.mce-flow-layout{text-align:center}table.table th{font-weight:700}table.table tr:hover{background-color:#EEE}table{min-width:100px;max-width:100%}table thead{background-color:#F8F8F8;font-weight:500}table.no-style td{border:0;padding:0}table.list-table{margin:-6px}table.list-table td{border:0;vertical-align:middle;padding:6px}.dropdown-container,.dz-preview,.logo-image,.logo-text,form.search-box button,header .links,header .user-name,header .user-name>*{vertical-align:top}.anim.fadeIn{opacity:0;animation-name:fadeIn;animation-duration:160ms;animation-timing-function:ease-in-out}@keyframes fadeIn{0%{opacity:0}100%{opacity:1}}.anim.searchResult{opacity:0;transform:translate3d(580px,0,0);animation-name:searchResult;animation-duration:220ms;animation-timing-function:cubic-bezier(.62,.28,.23,.99)}@keyframes searchResult{0%{opacity:0;transform:translate3d(400px,0,0)}100%{opacity:1;transform:translate3d(0,0,0)}}.anim.notification{transform:translate3d(580px,0,0);animation-name:notification;animation-duration:3s;animation-timing-function:ease-in-out}.anim.menuIn,.anim.pointer{animation-delay:0s;animation-timing-function:cubic-bezier(.62,.28,.23,.99)}.anim.notification.stopped{animation-name:notificationStopped}@keyframes notification{0%,100%{transform:translate3d(580px,0,0)}10%,90%{transform:translate3d(0,0,0)}}@keyframes notificationStopped{0%{transform:translate3d(580px,0,0)}10%,100%{transform:translate3d(0,0,0)}}@keyframes menuIn{from{opacity:0;transform:scale3d(0,0,1)}to{opacity:1;transform:scale3d(1,1,1)}}.anim.menuIn{transform-origin:100% 0;animation-name:menuIn;animation-duration:120ms}@keyframes loadingBob{0%,100%,30%,70%{transform:translate3d(0,0,0)}50%{transform:translate3d(0,-10px,0)}}@keyframes pointer{0%{transform:translate3d(0,20px,0) scale3d(0,0,0)}100%{transform:translate3d(0,0,0) scale3d(1,1,1)}}.anim.pointer{transform-origin:50% 100%;animation-name:pointer;animation-duration:180ms}.mce-tinymce.mce-container.fullscreen{position:fixed;top:0;height:100%;width:825px;max-width:100%;margin-left:-12px;box-shadow:0 0 4px 2px rgba(0,0,0,.08)}.mce-tinymce .mce-btn,.mce-tinymce .mce-panel{background-color:#FFF}.edit-area.flex>.mce-tinymce.mce-container.mce-panel{height:100%;max-height:100%;-ms-flex:1;flex:1;display:-ms-flexbox!important;display:flex!important;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;margin:0 -1px}.edit-area.flex>.mce-tinymce.mce-container.mce-panel>.mce-container-body,.edit-area.flex>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-edit-area{-ms-flex:1;flex:1;display:-ms-flexbox!important;display:flex!important;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}.edit-area.flex>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-edit-area iframe{-ms-flex:1;flex:1}.hljs{display:block;overflow-x:auto;padding:.5em;background:#fdf6e3;color:#657b83;-webkit-text-size-adjust:none}.diff .hljs-header,.hljs-comment,.hljs-doctype,.hljs-pi,.lisp .hljs-string{color:#93a1a1}.css .hljs-tag,.hljs-addition,.hljs-keyword,.hljs-request,.hljs-status,.hljs-winutils,.method,.nginx .hljs-title{color:#859900}.hljs-command,.hljs-doctag,.hljs-hexcolor,.hljs-link_url,.hljs-number,.hljs-regexp,.hljs-rule .hljs-value,.hljs-string,.hljs-tag .hljs-value,.tex .hljs-formula{color:#2aa198}.css .hljs-function,.hljs-built_in,.hljs-chunk,.hljs-decorator,.hljs-id,.hljs-identifier,.hljs-localvars,.hljs-name,.hljs-title,.vhdl .hljs-literal{color:#268bd2}.hljs-attribute,.hljs-class .hljs-title,.hljs-constant,.hljs-link_reference,.hljs-parent,.hljs-type,.hljs-variable,.lisp .hljs-body,.smalltalk .hljs-number{color:#b58900}.css .hljs-pseudo,.diff .hljs-change,.hljs-attr_selector,.hljs-cdata,.hljs-header,.hljs-pragma,.hljs-preprocessor,.hljs-preprocessor .hljs-keyword,.hljs-shebang,.hljs-special,.hljs-subst,.hljs-symbol,.hljs-symbol .hljs-string{color:#cb4b16}.hljs-deletion,.hljs-important{color:#dc322f}.hljs-link_label{color:#6c71c4}.tex .hljs-formula{background:#eee8d5}.overlay{background-color:rgba(0,0,0,.2);position:fixed;z-index:95536;width:100%;height:100%;min-width:100%;min-height:100%;top:0;left:0;right:0;bottom:0}.image-manager-body{background-color:#FFF;max-height:90%;width:90%;height:90%;margin:2% 5%;border-radius:4px;box-shadow:0 0 15px 0 rgba(0,0,0,.3);overflow:hidden;position:fixed;top:0;bottom:0;left:0;z-index:999;display:-ms-flexbox;display:flex}.image-manager-body .title-input input[type=text],.image-manager-body h1,.image-manager-body h2,.image-manager-body h3,.title-input .image-manager-body input[type=text]{font-weight:300}#image-manager .dropzone-container{position:relative;border:3px dashed #DDD}.image-manager-bottom{position:absolute;bottom:0;right:0}.image-manager-list .image{display:block;position:relative;border-radius:0;float:left;margin:0;cursor:pointer;width:16.6666666667%;height:auto;border:1px solid #DDD;box-shadow:0 0 0 0 transparent;transition:all cubic-bezier(.4,0,1,1) 160ms;overflow:hidden}.image-manager-list .image.selected{transform:scale3d(.92,.92,.92);border:1px solid #444;box-shadow:0 1px 2px 0 rgba(0,0,0,.2)}.image-manager-list .image img{width:100%;max-width:100%;display:block}.image-manager-list .image .image-meta{position:absolute;width:100%;bottom:0;left:0;color:#EEE;background-color:rgba(0,0,0,.4);font-size:10px;padding:3px 4px}.image-manager-list .image .image-meta span{display:block}@media screen and (max-width:1100px){.image-manager-list .image{width:25%}}@media screen and (max-width:800px){.image-manager-list .image .image-meta{display:none}}#image-manager .load-more{display:block;text-align:center;background-color:#EEE;padding:12px 16px;color:#AAA;clear:both;font-size:20px;cursor:pointer;font-style:italic}.image-manager-sidebar{width:300px;height:100%;margin-left:1px;padding:0 24px;border-left:1px solid #DDD}.image-manager-close{position:absolute;top:0;right:0;margin:0;border-radius:0}.image-manager-list{overflow-y:scroll;-ms-flex:1;flex:1}.image-manager-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;height:100%;-ms-flex:1;flex:1}.image-manager-content .container{width:100%}.dz-message{font-size:1.4em;font-style:italic;color:#aaa;cursor:pointer;padding:32px 16px;transition:all ease-in-out 120ms}.dz-drag-hover .dz-message{background-color:#107ed2;color:#EEE}@keyframes passing-through{0%{opacity:0;transform:translateY(40px)}30%,70%{opacity:1;transform:translateY(0)}100%{opacity:0;transform:translateY(-40px)}}@keyframes slide-in{0%{opacity:0;transform:translateY(40px)}30%{opacity:1;transform:translateY(0)}}.dz-preview.dz-file-preview .dz-details,.dz-preview:hover .dz-details{opacity:1}@keyframes pulse{0%,20%{transform:scale(1)}10%{transform:scale(1.1)}}.dz-preview{position:relative;display:inline-block;margin:12px;min-height:80px}.dz-preview:hover{z-index:1000}.dz-preview.dz-file-preview .dz-image{border-radius:4px;background:#999;background:linear-gradient(to bottom,#eee,#ddd)}.dz-preview.dz-image-preview{background:#fff}.dz-preview.dz-image-preview .dz-details{transition:opacity .2s linear}.dz-preview .dz-remove{font-size:14px;display:block;cursor:pointer;border:none}.dz-preview .dz-remove:hover{text-decoration:underline}.book-tree .sidebar-page-list li a:hover,.faded .text-button:hover,.logo:hover{text-decoration:none}.dz-preview .dz-details{z-index:20;position:absolute;top:0;left:0;opacity:0;font-size:10px;min-width:100%;max-width:100%;padding:6px 3px;color:rgba(0,0,0,.9);line-height:150%}.dz-preview .dz-details .dz-size{margin-bottom:.5em;font-size:12px}.dz-preview .dz-details .dz-filename{white-space:nowrap}.dz-preview .dz-details .dz-filename:hover span{border:1px solid rgba(200,200,200,.8);background-color:rgba(255,255,255,.8)}.dz-preview .dz-details .dz-filename:not(:hover){overflow:hidden;text-overflow:ellipsis}.dz-preview .dz-details .dz-filename:not(:hover) span{border:1px solid transparent}.dz-preview .dz-details .dz-filename span,.dz-preview .dz-details .dz-size span{background-color:rgba(255,255,255,.4);padding:0 .4em;border-radius:3px}.dz-preview:hover .dz-image img{-webkit-filter:blur(8px);filter:blur(8px)}.dz-preview .dz-image{border-radius:4px;overflow:hidden;width:80px;height:80px;position:relative;display:block;z-index:10}.dz-preview .dz-image img{display:block}.dz-preview.dz-success .dz-success-mark{animation:passing-through 3s cubic-bezier(.77,0,.175,1)}.dz-preview.dz-error .dz-error-mark{opacity:1;animation:slide-in 3s cubic-bezier(.77,0,.175,1)}.dz-preview .dz-error-mark,.dz-preview .dz-success-mark{pointer-events:none;opacity:0;z-index:500;position:absolute;display:block;top:50%;left:50%;margin-left:-27px;margin-top:-27px}.dz-preview .dz-error-mark svg,.dz-preview .dz-success-mark svg{display:block;width:54px;height:54px}.dz-preview.dz-processing .dz-progress{opacity:1;transition:all .2s linear}.dz-preview.dz-complete .dz-progress{opacity:0;transition:opacity .4s ease-in}.dz-preview:not(.dz-processing) .dz-progress{animation:pulse 6s ease infinite}.dz-preview .dz-progress{opacity:1;z-index:1000;pointer-events:none;position:absolute;height:16px;left:50%;top:50%;margin-top:-8px;width:80px;margin-left:-40px;background:rgba(255,255,255,.9);transform:scale(1);border-radius:8px;overflow:hidden}.dz-preview .dz-progress .dz-upload{background:#333;background:linear-gradient(to bottom,#666,#444);position:absolute;top:0;left:0;bottom:0;width:0;transition:width .3s ease-in-out}.dz-preview.dz-error .dz-error-message{display:block}.dz-preview.dz-error:hover .dz-error-message{opacity:1;pointer-events:auto}.dz-preview .dz-error-message{pointer-events:none;z-index:1000;position:absolute;display:block;display:none;opacity:0;transition:opacity .3s ease;border-radius:4px;font-size:11.5px;line-height:1.2;top:88px;left:-26px;width:148px;background:#E84F4F;padding:6px;color:#fff}.dz-preview .dz-error-message:after{position:absolute;top:-6px;left:64px;width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #E84F4F}header{display:block;z-index:2;top:0;background-color:#0288D1;color:#fff;border-bottom:1px solid #DDD}header .avatar,header .links,header .links a,header .user-name{display:inline-block}header .padded{padding:16px}header .links a{padding:24px;color:#FFF}header .links a:last-child{padding-right:0}@media screen and (max-width:992px){header .links{margin-right:16px}header .links a{padding:24px 12px}}header .avatar{width:30px;height:30px}header .user-name{padding-top:24px;cursor:pointer}header .user-name>i,header .user-name>span{padding-left:6px;display:inline-block}header .user-name>span{padding-top:3px}header .user-name>i{padding-top:4px;font-size:18px}@media screen and (max-width:992px){header .user-name{padding-left:6px}header .user-name .name{display:none}header{text-align:center}header .float.right{float:none}}.logo,.logo-text,form.search-box{display:inline-block}.activity-list-item .left,ul.pagination li{float:left}@media screen and (max-width:768px){header .links a{padding:12px}header form.search-box{margin-top:0}header .user-name{padding-top:12px}}header .dropdown-container{font-size:.9em}form.search-box{margin-top:21.6px;position:relative;text-align:left}form.search-box input{background-color:transparent;border-radius:24px;border:2px solid #EEE;color:#EEE;padding-left:16px;padding-right:24px;outline:0}form.search-box button{margin-left:-24px;color:#FFF;top:6px;right:4px;display:inline-block;position:absolute}form.search-box button:hover{color:#FFF}.logo:hover{color:#FFF}.logo-text{font-size:1.8em;color:#fff;font-weight:400;padding:24px 24px 24px 0;line-height:1}.logo-image{margin:16px 12px 16px 0;height:43px}.breadcrumbs span.sep{color:#aaa;padding:0 6px}.action-buttons .text-button,.breadcrumbs .text-button,.faded span.faded-text{padding:12px;display:inline-block}.faded a,.faded button,.faded span,.faded span>div{color:#666}.faded .text-button{opacity:.5;transition:all ease-in-out 120ms}.faded .text-button:hover{opacity:1}.faded-small{color:#000;font-size:.9em;background-color:rgba(21,101,192,.15)}.action-buttons .text-button:last-child,.breadcrumbs .text-button:last-child{padding-right:0}.action-buttons{text-align:right}.action-buttons.text-left{text-align:left}.action-buttons.text-left .text-button{padding-right:16px;padding-left:0}.action-buttons.text-center,.nav-tabs{text-align:center}.nav-tabs .tab-item,.nav-tabs a{padding:16px;display:inline-block;color:#666;cursor:pointer}.nav-tabs .tab-item.selected,.nav-tabs a.selected{border-bottom:2px solid #0288D1}.page-list h3{margin:24px 0 16px}.page-list a.chapter{color:#ef7c3c}.page-list .inset-list{display:none;overflow:hidden;margin-bottom:24px}.page-list h4{display:block;margin:12px 0 0;border-left:5px solid #0288D1;padding:6px 0 6px 16px}.page-list h4.draft{border-left-color:#9A60DA}.page-list hr{margin-top:0}.page-list .book,.page-list .chapter,.page-list .page{padding-left:24px}.page-list .page{border-left:5px solid #0288D1}.page-list .page.draft{border-left:5px solid #9A60DA}.page-list .page.draft .text-page{color:#9A60DA}.page-list .chapter{border-left:5px solid #ef7c3c}.page-list .book{border-left:5px solid #009688}.page-list .meta{margin-top:-16px;font-size:.95em}.page-list .meta span{margin-right:12px}.chapter-toggle{margin:0 0 24px;transition:all ease-in-out 180ms;user-select:none}.floating-toolbox .handle,ul.pagination a,ul.pagination span{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.chapter-toggle i.zmdi-caret-right{transition:all ease-in-out 180ms;transform:rotate(0);transform-origin:25% 50%}.chapter-toggle.open{margin-bottom:0}.chapter-toggle.open i.zmdi-caret-right{transform:rotate(90deg)}.page-nav-list{margin-left:2px;list-style:none}.page-nav-list li{padding-left:6px;border-left:2px solid #888;margin-bottom:4px}.page-nav-list li a{color:#555}.page-nav-list .nav-H2{margin-left:12px;font-size:.95em}.page-nav-list .nav-H3{margin-left:24px;font-size:.9em}.page-nav-list .nav-H4{margin-left:36px;font-size:.85em}.page-nav-list .nav-H5{margin-left:48px;font-size:.8em}.page-nav-list .nav-H6{margin-left:60px;font-size:.75em}.book-tree{padding:24px 0 0;position:relative;right:0;top:0;transition:ease-in-out 240ms;transition-property:right,border;border-left:0 solid #FFF;background-color:#FFF}.book-tree.fixed{position:fixed;top:0;padding-left:24px;padding-right:39px;width:30%;right:-15px;height:100%;overflow-y:scroll;-ms-overflow-style:none;border-left:1px solid #DDD}.book-tree.fixed::-webkit-scrollbar{width:0!important}.book-tree h4{padding:16px 12px 0}.book-tree h4 i{padding-right:12px}.book-tree .sidebar-page-list{list-style:none;margin:6px 0 0;padding-left:0;border-left:5px solid #009688}.book-tree .sidebar-page-list li a{display:block;border-bottom:none;padding:6px 0 6px 12px}.book-tree .sidebar-page-list li a i{padding-right:8px}.book-tree .sidebar-page-list a,.book-tree .sidebar-page-list li{display:block}.book-tree .sidebar-page-list a.bold{color:#EEE!important}.book-tree .sidebar-page-list ul{list-style:none;margin:0}.book-tree .sidebar-page-list .book{color:#009688!important}.book-tree .sidebar-page-list .book.selected{background-color:rgba(0,150,136,.29)}.book-tree .sidebar-page-list .chapter{color:#ef7c3c!important}.book-tree .sidebar-page-list .chapter.selected{background-color:rgba(239,124,60,.12)}.book-tree .sidebar-page-list .chapter-toggle{padding-left:12px}.book-tree .sidebar-page-list .list-item-chapter{border-left:5px solid #ef7c3c;margin:10px;display:block}.book-tree .sidebar-page-list .list-item-page{border-bottom:none;border-left:5px solid #0288D1;margin:10px}.book-tree .sidebar-page-list .page{color:#0288D1!important;border-bottom:none}.book-tree .sidebar-page-list .page.selected{background-color:rgba(2,136,209,.1)}.book-tree .sidebar-page-list .list-item-page.draft{border-left:5px solid #9A60DA}.book-tree .sidebar-page-list .list-item-page.draft a.page,.book-tree .sidebar-page-list .page.draft .page{color:#9A60DA!important}.book-tree .sidebar-page-list .sub-menu{display:none;padding-left:0}.book-tree .sidebar-page-list .sub-menu.open{display:block}.sortable-page-list,.sortable-page-list ul{list-style:none;background-color:#FFF}.sort-box{margin-bottom:16px;padding:0 24px;border-left:4px solid #009688}.sortable-page-list,.sortable-page-list>ul{margin-left:0}.sortable-page-list ul{margin-bottom:0;margin-top:0;box-shadow:0 0 1px 0 rgba(0,0,0,.1)}.sortable-page-list li{border:1px solid #DDD;padding:6px 12px;margin-top:-1px;min-height:38px}.sortable-page-list li.text-chapter{border-left:2px solid #ef7c3c}.sortable-page-list li.text-page{border-left:2px solid #0288D1}.sortable-page-list li:first-child{margin-top:6px}.sortable-page-list li.placeholder{position:relative}.sortable-page-list li.placeholder:before{position:absolute}.activity-list-item{padding:12px 0;color:#888;border-bottom:1px solid #EEE;font-size:.9em}.activity-list-item .left+.right{margin-left:42px}ul.pagination{display:inline-block;list-style:none;margin:16px 0;padding-left:1px}ul.pagination li:first-child a,ul.pagination li:first-child span{border-radius:3px 0 0 3px}ul.pagination li:last-child a,ul.pagination li:last-child span{border-radius:0 3px 3px 0}ul.pagination a,ul.pagination span{display:block;padding:3px 12px;border:1px solid #CCC;margin-left:-1px;color:#888;user-select:none}.compact ul.pagination,.entity-list h3{margin:0}ul.pagination a.disabled,ul.pagination span.disabled{cursor:not-allowed}ul.pagination li.active span{background-color:rgba(2,136,209,.8);color:#EEE;border-color:rgba(2,136,209,.8)}ul.pagination a{color:#0288D1}.entity-list>div{padding:16px 0}.entity-list p{margin:6px 0 0}.entity-list hr{margin:0}.entity-list .text-small.text-muted{color:#AAA;font-size:.75em;margin-top:6px}.entity-list .page.draft .text-page{color:#9A60DA}.entity-list.compact{font-size:.6em}.entity-list.compact a,.entity-list.compact h3{line-height:1.2}.entity-list.compact p{display:none;font-size:12px;padding-top:6px;margin:0}.entity-list.compact hr{margin:0}.dropdown-container{display:inline-block;position:relative}.dropdown-container ul{display:none;position:absolute;z-index:999;top:0;list-style:none;right:0;margin:16px 0;background-color:#FFF;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border-radius:1px;border:1px solid #EEE;min-width:180px;padding:6px 0;color:#555;text-align:left!important}.dropdown-container ul.wide{min-width:220px}.dropdown-container ul .text-muted{color:#999}.dropdown-container ul a{display:block;padding:6px 16px;color:#555}.dropdown-container ul a:hover{text-decoration:none;background-color:#EEE}.dropdown-container ul a i{margin-right:16px;padding-right:0;display:inline;width:22px}.dropdown-container ul li.border-bottom{border-bottom:1px solid #DDD}#page-show>.row .col-md-9{z-index:2}#page-show>.row .col-md-3{z-index:1}.page-editor{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}.page-editor .faded-small{height:auto}.page-editor .edit-area{-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column}.page-style.editor{padding:0!important}.page-content{max-width:840px;overflow-wrap:break-word}.page-content .align-left{text-align:left}.page-content img.align-left,.page-content table.align-left{float:left!important;margin:6px 12px 6px 0}.page-content .align-right{float:right!important}.page-content img.align-right,.page-content table.align-right{text-align:right;margin:6px 0 6px 12px}.page-content .align-center{text-align:center}.page-content img{max-width:100%;height:auto}.page-content .title-input input[type=text],.page-content h1,.page-content h2,.page-content h3,.page-content h4,.page-content h5,.page-content h6,.title-input .page-content input[type=text]{clear:left}.page-content hr{clear:both;margin:16px 0}.page-content table{word-break:break-all;word-break:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto}.pointer-container{position:relative;display:none;left:0;z-index:10}.pointer,.pointer:before{position:absolute;background-color:#FFF}.pointer{border:1px solid #CCC;display:inline-block;padding:12px;border-radius:4px;box-shadow:0 0 8px 1px rgba(212,209,209,.35);top:-60px;width:272px;z-index:55}.pointer:before{left:50%;bottom:-9px;width:16px;height:16px;margin-left:-8px;display:block;transform:rotate(45deg);transform-origin:50% 50%;border-bottom:1px solid #CCC;border-right:1px solid #CCC;z-index:56}.pointer input{background-color:#FFF;border:1px solid #DDD;color:#666;width:172px;z-index:40}.pointer button,.pointer input{position:relative;border-radius:0;height:28px;font-size:12px;vertical-align:top}.pointer>i{color:#888;font-size:18px;padding-top:4px}.pointer .button{line-height:1;margin:0 0 0 -4px;box-shadow:none}.floating-toolbox{background-color:#FFF;border:1px solid #DDD;right:64px;z-index:99;width:48px;overflow:hidden;-ms-flex-align:stretch;align-items:stretch;-ms-flex-direction:row;flex-direction:row;display:-ms-flexbox;display:flex;transition:width ease-in-out 180ms;margin-top:-1px;min-height:0}.floating-toolbox.open{width:480px}.floating-toolbox [toolbox-toggle] i{transition:transform ease-in-out 180ms}.floating-toolbox [toolbox-toggle]{transition:background-color ease-in-out 180ms}.floating-toolbox.open [toolbox-toggle]{background-color:rgba(255,0,0,.29)}.floating-toolbox.open [toolbox-toggle] i{transform:rotate(180deg)}.floating-toolbox>div{-ms-flex:1;flex:1;position:relative}.floating-toolbox .tabs{display:block;border-right:1px solid #DDD;width:54px;-ms-flex:0;flex:0}.floating-toolbox .tabs i{color:rgba(0,0,0,.5);padding:0;margin:0}.floating-toolbox .tabs>span{display:block;cursor:pointer;padding:12px 16px;font-size:13.5px;line-height:1.6;border-bottom:1px solid rgba(255,255,255,.3)}.floating-toolbox.open .tabs>span.active{color:#444;background-color:rgba(0,0,0,.1)}.floating-toolbox div[tab-content]{padding-bottom:45px;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;min-height:0;overflow-y:scroll}.floating-toolbox div[tab-content] .padded{-ms-flex:1;flex:1;padding-top:0}.floating-toolbox h4{font-size:24px;margin:16px 0 0;padding:0 24px 12px}.floating-toolbox .tags input{max-width:100%;width:100%;min-width:50px}.floating-toolbox .tags td{padding-right:12px;padding-top:12px;position:relative}.floating-toolbox button.pos{position:absolute;bottom:0;display:block;width:100%;padding:12px;height:45px;border:0;margin:0;box-shadow:none;border-radius:0}.floating-toolbox button.pos:hover{box-shadow:none}.floating-toolbox .handle{user-select:none;cursor:move;color:#999}.floating-toolbox form{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;overflow-y:scroll}[tab-content]{display:none}.tag-display{margin:32px 6px;border:1px solid #DDD;min-width:180px;max-width:320px;opacity:.7;z-index:5;position:relative}.tag-display table{width:100%;margin:0;padding:0}.tag-display span{color:#666;margin-left:12px}.tag-display .heading,.tag-display td{padding:6px 12px;color:#444}.tag-display td{border:0;border-bottom:1px solid #DDD}.tag-display .tag-value,.tag-display td i{color:#888}.tag-display tr:last-child td{border-bottom:none}.tag-display .tag{padding:12px}.suggestion-box{position:absolute;background-color:#FFF;border:1px solid #BBB;box-shadow:0 0 4px 1px #CCC;list-style:none;z-index:100;padding:0;margin:0;border-radius:3px}.avatar,.notification,.suggestion-box li.active{background-color:#EEE}.suggestion-box li{display:block;padding:6px 12px;border-bottom:1px solid #DDD}.suggestion-box li:last-child{border-bottom:0}[v-cloak],[v-show]{display:none}.ng-cloak,[ng-cloak],[ng\:cloak]{display:none!important;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}[ng-click]{cursor:pointer}.dragged{position:absolute;opacity:.5;z-index:2000}body.dragging,body.dragging *{cursor:move!important}.avatar{border-radius:100%;width:30px;height:30px}.avatar.square,.notification{border-radius:3px}.avatar.med{width:40px;height:40px}.avatar.large{width:80px;height:80px}.avatar.huge{width:120px;height:120px}.notification{position:fixed;top:0;right:0;margin:64px 32px;padding:24px 32px;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);z-index:999999;display:table;cursor:pointer;max-width:480px}.notification i,.notification span{display:table-cell}.notification i{font-size:2em;padding-right:24px}.notification span{vertical-align:middle}.notification.pos{background-color:#52A256;color:#EEE}.notification.neg{background-color:#E84F4F;color:#EEE}.notification.warning{background-color:#e27b41;color:#EEE}.loading-container{position:relative;display:block;height:10px;margin:32px auto}.loading-container>div{width:10px;height:10px;border-radius:10px;display:inline-block;vertical-align:top;transform:translate3d(0,0,0);animation-name:loadingBob;animation-duration:1.4s;animation-iteration-count:infinite;animation-timing-function:cubic-bezier(.62,.28,.23,.99);margin-right:4px;background-color:#0288D1;animation-delay:.3s}.loading-container>div:first-child{left:-16px;background-color:#009688;animation-delay:0s}.loading-container>div:last-child{left:16px;background-color:#ef7c3c;animation-delay:.6s}.search-results>h3 a{font-size:.66em;color:#0288D1;padding-left:16px}.search-results>h3 a i{padding-right:12px}#back-to-top{background-color:#0288D1;position:fixed;bottom:16px;right:24px;padding:6px 12px;cursor:pointer;color:#FFF;width:40px;height:40px;border-radius:40px;transition:all ease-in-out 180ms;opacity:0;z-index:999;overflow:hidden}#back-to-top:hover{width:136px;opacity:1!important}#back-to-top:hover span{display:inline-block}#back-to-top .inner{width:136px}#back-to-top i{margin:0;font-size:28px;padding:0 12px 0 0}#back-to-top span{line-height:12px;position:relative;top:-5px}.contained-search-box{display:-ms-flexbox;display:flex}.contained-search-box button,.contained-search-box input{border-radius:0;border:1px solid #DDD;margin-left:-1px}.contained-search-box input{-ms-flex:5;flex:5}.contained-search-box input:active,.contained-search-box input:focus{outline:0}.contained-search-box button{width:60px}.contained-search-box button i{padding:0}.contained-search-box button.cancel.active{background-color:#E84F4F;color:#EEE} \ No newline at end of file +article,aside,blockquote,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}code,pre{white-space:pre}.chapter-toggle,.toggle-switch{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;cursor:pointer}.anim.fadeIn,.anim.notification,.anim.searchResult{animation-fill-mode:forwards}*,.dropzone,.dropzone *{box-sizing:border-box}.title-input input[type=text],a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{margin:0;padding:0;border:0;font:inherit;vertical-align:baseline}.link,.text-button,a,body{font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:'';content:none}table{border-collapse:collapse;border-spacing:0}@font-face{font-family:Roboto;font-style:normal;font-weight:100;src:local("Roboto Thin"),local("Roboto-Thin"),url(/fonts/roboto-v15-cyrillic_latin-100.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-100.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:100;src:local("Roboto Thin Italic"),local("Roboto-ThinItalic"),url(/fonts/roboto-v15-cyrillic_latin-100italic.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-100italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:300;src:local("Roboto Light"),local("Roboto-Light"),url(/fonts/roboto-v15-cyrillic_latin-300.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-300.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:300;src:local("Roboto Light Italic"),local("Roboto-LightItalic"),url(/fonts/roboto-v15-cyrillic_latin-300italic.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-300italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:local("Roboto"),local("Roboto-Regular"),url(/fonts/roboto-v15-cyrillic_latin-regular.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-regular.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:400;src:local("Roboto Italic"),local("Roboto-Italic"),url(/fonts/roboto-v15-cyrillic_latin-italic.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:500;src:local("Roboto Medium"),local("Roboto-Medium"),url(/fonts/roboto-v15-cyrillic_latin-500.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-500.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:500;src:local("Roboto Medium Italic"),local("Roboto-MediumItalic"),url(/fonts/roboto-v15-cyrillic_latin-500italic.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-500italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:700;src:local("Roboto Bold"),local("Roboto-Bold"),url(/fonts/roboto-v15-cyrillic_latin-700.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-700.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:700;src:local("Roboto Bold Italic"),local("Roboto-BoldItalic"),url(/fonts/roboto-v15-cyrillic_latin-700italic.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-700italic.woff) format("woff")}@font-face{font-family:'Roboto Mono';font-style:normal;font-weight:400;src:local("Roboto Mono"),local("RobotoMono-Regular"),url(/fonts/roboto-mono-v4-latin-regular.woff2) format("woff2"),url(/fonts/roboto-mono-v4-latin-regular.woff) format("woff")}html{background-color:#FFF;height:100%;overflow-y:scroll}html.flexbox{overflow-y:hidden}body{font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}button{font-size:100%}table td{min-width:10px;padding:4px 6px;border:1px solid #DDD}.title-input input[type=text],h1{font-size:3.425em;line-height:1.22222222em;margin-top:.48888889em;margin-bottom:.48888889em}h3,h4{margin-top:.78571429em}h2,h3,h4{margin-bottom:.43137255em}h2{font-size:2.8275em;line-height:1.294117647em;margin-top:.8627451em}h3{font-size:1.75em;line-height:1.571428572em}h4{font-size:1em;line-height:1.375em}.title-input input[type=text],h1,h2,h3,h4{font-weight:400;position:relative;display:block;color:#555}.title-input input[type=text] .subheader,h1 .subheader,h2 .subheader,h3 .subheader,h4 .subheader{font-size:.5em;line-height:1em;color:#969696}.link,.text-button,a{color:#0288D1;cursor:pointer;text-decoration:none;transition:color ease-in-out 80ms;line-height:1.6}.link:hover,.text-button:hover,a:hover{text-decoration:underline;color:#01466c}.link i,.text-button i,a i{padding-right:12px}.link i.zmdi-hc-flip-horizontal,.text-button i.zmdi-hc-flip-horizontal,a i.zmdi-hc-flip-horizontal{padding-right:0;padding-left:12px}blockquote,ol,p,pre,table,ul{margin-top:.3em;margin-bottom:1.375em}hr{height:1px;border:0;background:#EAEAEA;margin-bottom:24px}hr.faded{background-image:linear-gradient(to right,#fff,#e3e0e0 20%,#e3e0e0 80%,#fff)}hr.even,hr.margin-top{margin-top:24px}.bold,.strong,b,strong{font-weight:700}.bold>.bold,.bold>.strong,.bold>b,.bold>strong,.strong>.bold,.strong>.strong,.strong>b,.strong>strong,b>.bold,b>.strong,b>b,b>strong,strong>.bold,strong>.strong,strong>b,strong>strong{font-weight:bolder}.italic,em,i{font-style:italic}.text-small,p.small,small,span.small{font-size:.8em;color:#777}.superscript,sup{vertical-align:super;font-size:.8em}pre{font-family:monospace;font-size:.8em;overflow:hidden;border-radius:4px;box-shadow:0 1px 2px 0 rgba(10,10,10,.06);border:1px solid rgba(221,221,221,.66);background-color:#fdf6e3;padding:12px;overflow-x:scroll}blockquote{position:relative;border-left:4px solid #0288D1;background-color:#F8F8F8;padding:12px 16px 12px 32px}blockquote:before{content:"\201C";font-size:2em;font-weight:700;position:absolute;top:12px;left:12px;color:#777}.code-base,code,span.code{background-color:#F8F8F8;font-family:monospace;font-size:.8em;border:1px solid #DDD;border-radius:3px}code{display:inline;padding:1px 3px;line-height:1.2em;margin-bottom:1.2em}span.code{padding:1px 6px}pre code{background-color:transparent;border:0;font-size:1em}.text-pos,.text-pos:hover,p .pos,p .pos:hover,p.pos,p.pos:hover,span.pos,span.pos:hover{color:#52A256}.text-neg,.text-neg:hover,p .neg,p .neg:hover,p.neg,p.neg:hover,span.neg,span.neg:hover{color:#E84F4F}.text-muted,p .muted,p.muted,span.muted{color:#868686}.text-muted .small,.text-muted.small,p .muted .small,p .muted.small,p.muted .small,p.muted.small,span.muted .small,span.muted.small{color:#afafaf}.text-primary,.text-primary:hover,p .primary,p .primary:hover,p.primary,p.primary:hover,span.primary,span.primary:hover{color:#0288D1}.text-secondary,.text-secondary:hover,p .secondary,p .secondary:hover,p.secondary,p.secondary:hover,span.secondary,span.secondary:hover{color:#e27b41}.text-book,.text-book:hover{color:#009688}.text-page,.text-page:hover{color:#0288D1}.text-page.draft,.text-page.draft:hover{color:#9A60DA}.text-chapter,.text-chapter:hover{color:#ef7c3c}.faded .text-book:hover{color:#009688!important}.faded .text-chapter:hover{color:#ef7c3c!important}.faded .text-page:hover{color:#0288D1!important}span.highlight{font-weight:700;padding:2px 4px}ol,ul{padding-left:20.8px;overflow:hidden}ul{list-style:disc}ol{list-style:decimal}.underlined{text-decoration:underline}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-bigger{font-size:1.1em}.text-large{font-size:1.6666em}.no-color{color:inherit}.header-group{margin:16px 0}.header-group .title-input input[type=text],.header-group h1,.header-group h2,.header-group h3,.header-group h4,.header-group h5,.header-group h6,.title-input .header-group input[type=text]{margin:0}span.sep{color:#BBB;padding:0 6px}.list>*{display:block}.action-header .title-input input[type=text],.action-header h1,.title-input .action-header input[type=text]{margin-top:16px}i{padding-right:6px}body.flexbox{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;height:100%;min-height:100%;max-height:100%;overflow:hidden}body.flexbox #content{-ms-flex:1;flex:1;display:-ms-flexbox;display:flex;min-height:0}.flex-fill{display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch;min-height:0}.flex-fill .flex,.flex-fill.flex{min-height:0;-ms-flex:1;flex:1}div[class^=col-] img{max-width:100%}.container{max-width:1400px;margin-left:auto;margin-right:auto;padding-left:16px;padding-right:16px}.container.fluid{max-width:100%}.container.small{max-width:840px}.center-box{margin:32px auto 0;padding:16px 48px 64px;max-width:346px;display:inline-block;text-align:left;vertical-align:top}.center-box.login{background-color:#EEE;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border:1px solid #DDD}.row{margin-left:-16px;margin-right:-16px}.float{float:left}.float.right{float:right}.block{display:block;position:relative}.inline{display:inline}.block.inline{display:inline-block}.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{position:relative;min-height:1px;padding-left:16px;padding-right:16px}.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.row:after,.row:before{content:" ";display:table}.clearfix:after,.container-fluid:after,.container:after,.row:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.shaded{background-color:#f1f1f1}.shaded.pos{background-color:#d6ead7}.shaded.neg{background-color:#f4a9a9}.shaded.primary{background-color:#a1ddfe}.shaded.secondary{background-color:#f6d7c6}.bordered{border:1px solid #BBB}.bordered.pos{border-color:#52A256}.bordered.neg{border-color:#E84F4F}.bordered.primary{border-color:#0288D1}.bordered.secondary{border-color:#e27b41}.bordered.thick{border-width:2px}.rounded{border-radius:3px}.nopadding{padding:0}.padded{padding:24px}.padded.large{padding:32px}.padded>h1:first-child,.padded>h2:first-child,.padded>h3:first-child,.padded>h4:first-child,.title-input .padded>input[type=text]:first-child{margin-top:.1em}.padded-top,.padded-vertical{padding-top:16px}.padded-top.large,.padded-vertical.large{padding-top:32px}.padded-bottom,.padded-vertical{padding-bottom:16px}.padded-bottom.large,.padded-vertical.large{padding-bottom:32px}.padded-horizontal,.padded-left{padding-left:16px}.padded-horizontal.large,.padded-left.large{padding-left:32px}.padded-horizontal,.padded-right{padding-right:16px}.padded-horizontal.large,.padded-right.large{padding-right:32px}.margins{margin:24px}.margins.large{margin:32px}.margin-top,.margins-vertical{margin-top:16px}.margin-top.large,.margins-vertical.large{margin-top:32px}.margin-bottom,.margins-vertical{margin-bottom:16px}.margin-bottom.large,.margins-vertical.large{margin-bottom:32px}.margin-left,.margins-horizontal{margin-left:16px}.margin-left.large,.margins-horizontal.large{margin-left:32px}.margin-right,.margins-horizontal{margin-right:16px}.margin-right.large,.margins-horizontal.large,header .links{margin-right:32px}.callout{border-left:3px solid #BBB;background-color:#EEE;padding:12px}.callout:before{font-family:Material-Design-Iconic-Font;padding-right:12px;display:inline-block}.callout.success{border-left-color:#52A256;background-color:#e7f3e7;color:#376c39}.callout.success:before{content:'\f269'}.callout.danger{border-left-color:#E84F4F;background-color:#fce8e8;color:#b91818}.callout.danger:before{content:'\f1f2'}.callout.info{border-left-color:#0288D1;background-color:#d3efff;color:#015380}.callout.info:before{content:'\f1f8'}.callout.warning{border-left-color:#e27b41;background-color:#faeae0;color:#b6531c}.callout.warning:before{content:'\f1f1'}.button-group:after,.dz-preview .dz-error-message:after,.editor-toolbar:after,.pointer:before,.toggle-switch:after{content:''}.button,.button-base,input[type=button],input[type=submit]{text-decoration:none;font-size:15px;line-height:1.4em;padding:6px 16px;margin:6px 6px 6px 0;display:inline-block;border:none;font-weight:500;font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif;outline:0;border-radius:2px;cursor:pointer;transition:all ease-in-out 120ms;box-shadow:0 .5px 1.5px 0 rgba(0,0,0,.21);background-color:#0288D1;color:#EEE}.button-base:hover,.button:hover,input[type=button]:hover,input[type=submit]:hover{background-color:#02a2f9;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#EEE}.button-base:active,.button:active,input[type=button]:active,input[type=submit]:active{background-color:#026ea9}.button-base:focus,.button:focus,input[type=button]:focus,input[type=submit]:focus{background-color:#0295e5;box-shadow:0 0 4px 1px #CCC;text-decoration:none;color:#EEE}.button.pos,input[type=button].pos,input[type=submit].pos{background-color:#52A256;color:#EEE}.button.pos:hover,input[type=button].pos:hover,input[type=submit].pos:hover{background-color:#69b36d;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#EEE}.button.pos:active,input[type=button].pos:active,input[type=submit].pos:active{background-color:#448748}.button.pos:focus,input[type=button].pos:focus,input[type=submit].pos:focus{background-color:#5cac60;box-shadow:0 0 4px 1px #CCC;text-decoration:none;color:#EEE}.button.neg,input[type=button].neg,input[type=submit].neg{background-color:#E84F4F;color:#EEE}.button.neg:hover,input[type=button].neg:hover,input[type=submit].neg:hover{background-color:#ed7373;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#EEE}.button.neg:active,input[type=button].neg:active,input[type=submit].neg:active{background-color:#e32b2b}.button.neg:focus,input[type=button].neg:focus,input[type=submit].neg:focus{background-color:#ea6161;box-shadow:0 0 4px 1px #CCC;text-decoration:none;color:#EEE}.button.secondary,input[type=button].secondary,input[type=submit].secondary{background-color:#e27b41;color:#EEE}.button.secondary:hover,input[type=button].secondary:hover,input[type=submit].secondary:hover{background-color:#e79464;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#EEE}.button.secondary:active,input[type=button].secondary:active,input[type=submit].secondary:active{background-color:#d96321}.button.secondary:focus,input[type=button].secondary:focus,input[type=submit].secondary:focus{background-color:#e58753;box-shadow:0 0 4px 1px #CCC;text-decoration:none;color:#EEE}.button.muted,input[type=button].muted,input[type=submit].muted{background-color:#888;color:#EEE}.button.muted:hover,input[type=button].muted:hover,input[type=submit].muted:hover{background-color:#9c9c9c;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#EEE}.button.muted:active,input[type=button].muted:active,input[type=submit].muted:active{background-color:#747474}.button.muted:focus,input[type=button].muted:focus,input[type=submit].muted:focus{background-color:#929292;box-shadow:0 0 4px 1px #CCC;text-decoration:none;color:#EEE}.text-button{background-color:transparent;padding:0;margin:0;border:none}.text-button:active,.text-button:focus{outline:0}.text-button:hover{text-decoration:none}.text-button.neg{color:#E84F4F}.button-group:after{display:block;font-size:0;clear:both;position:relative}.button-group .button,.button-group button[type=button]{margin:6px 0;float:left;border-radius:0}.button-group .button:first-child,.button-group button[type=button]:first-child{border-radius:2px 0 0 2px}.button-group .button:last-child,.button-group button[type=button]:last-child{border-radius:0 2px 2px 0}.button.block{width:100%;text-align:center;display:block}.button.icon i{padding-right:0}.input-base,input[type=text],input[type=number],input[type=email],input[type=search],input[type=url],input[type=password],select,textarea{background-color:#FFF;border-radius:3px;border:1px solid #CCC;display:inline-block;font-size:14px;font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif;padding:6px;color:#222;width:250px;max-width:100%}#markdown-editor textarea,.editor-toolbar{width:100%;font-family:'Roboto Mono'}.input-base.invalid,.input-base.neg,input.invalid[type=text],input.invalid[type=number],input.invalid[type=email],input.invalid[type=search],input.invalid[type=url],input.invalid[type=password],input.neg[type=text],input.neg[type=number],input.neg[type=email],input.neg[type=search],input.neg[type=url],input.neg[type=password],select.invalid,select.neg,textarea.invalid,textarea.neg{border:1px solid #E84F4F}.input-base.pos,.input-base.valid,input.pos[type=text],input.pos[type=number],input.pos[type=email],input.pos[type=search],input.pos[type=url],input.pos[type=password],input.valid[type=text],input.valid[type=number],input.valid[type=email],input.valid[type=search],input.valid[type=url],input.valid[type=password],select.pos,select.valid,textarea.pos,textarea.valid{border:1px solid #52A256}.input-base.disabled,.input-base[disabled],input.disabled[type=text],input.disabled[type=number],input.disabled[type=email],input.disabled[type=search],input.disabled[type=url],input.disabled[type=password],input[disabled][type=text],input[disabled][type=number],input[disabled][type=email],input[disabled][type=search],input[disabled][type=url],input[disabled][type=password],select.disabled,select[disabled],textarea.disabled,textarea[disabled]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAMUlEQVQIW2NkwAGuXbv2nxGbHEhCS0uLEUMSJgHShCKJLIEiiS4Bl8QmAZbEJQGSBAC62BuJ+tt7zgAAAABJRU5ErkJggg==)}.input-base:focus,input[type=text]:focus,input[type=number]:focus,input[type=email]:focus,input[type=search]:focus,input[type=url]:focus,input[type=password]:focus,select:focus,textarea:focus{outline:0}#html-editor{display:none}#markdown-editor{position:relative;z-index:5}#markdown-editor textarea{font-style:normal;font-weight:400;padding:6px 16px;color:#444;border-radius:0;max-height:100%;-ms-flex:1;flex:1;border:0}#markdown-editor textarea:focus{outline:0}#markdown-editor .markdown-display,#markdown-editor .markdown-editor-wrap{-ms-flex:1;flex:1;position:relative}#markdown-editor .markdown-editor-wrap{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;border:1px solid #DDD}#markdown-editor .markdown-display{padding:0 16px;margin-left:-1px;overflow-y:scroll}#markdown-editor .markdown-display .page-content{margin:0 auto}.editor-toolbar{padding:6px 16px;font-size:11px;line-height:1.6;border-bottom:1px solid #DDD;background-color:#EEE;-ms-flex:none;flex:none}.editor-toolbar:after{display:block;clear:both}label{display:block;line-height:1.4em;font-size:.94em;font-weight:500;color:#666;padding-bottom:2px;margin-bottom:.2em}.toggle-switch,label.inline{display:inline-block}label.checkbox,label.radio{font-weight:400}label.checkbox input[type=radio],label.checkbox input[type=checkbox],label.radio input[type=radio],label.radio input[type=checkbox]{margin-right:6px}label+p.small{margin-bottom:.8em}.toggle-switch{background-color:#BBB;width:36px;height:14px;border-radius:7px;position:relative;transition:all ease-in-out 120ms;user-select:none}.toggle-switch:after{display:block;position:relative;left:0;margin-top:-3px;width:20px;height:20px;border-radius:50%;background-color:#fafafa;border:1px solid #CCC;box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);transition:all ease-in-out 120ms}.toggle-switch.active{background-color:rgba(82,162,86,.4)}.toggle-switch.active:after{left:16px;background-color:#52A256;border:#305e32}.toggle-switch-checkbox{display:none}input:checked+.toggle-switch{background-color:rgba(82,162,86,.4)}input:checked+.toggle-switch:after{left:16px;background-color:#52A256;border:#305e32}.form-group{margin-bottom:12px}.form-group textarea{display:block;width:100%;min-height:64px}.form-group .text-neg,.form-group .text-pos{padding:6px 0}.description-input textarea,.inline-input-style,.title-input input[type=text]{border:2px dotted #BBB;display:block;width:100%;padding:6px 12px}.title-input .input{width:100%}.description-input label,.title-input label{margin-top:16px;color:#666}.title-input input[type=text]{margin-top:0;padding-right:0;width:100%;color:#444}.title-input.page-title{font-size:.8em}.title-input.page-title .input{border:0;margin-bottom:-1px}.title-input.page-title input[type=text]{max-width:840px;margin:0 auto;border:none}.page-title input{display:block;width:100%;font-size:1.4em}.description-input textarea{font-size:15px;color:#666;width:100%}div[editor-type=markdown] .title-input.page-title input[type=text]{max-width:100%}.search-box{max-width:100%;position:relative}.search-box button{background-color:transparent;border:none;color:#0288D1;padding:0;margin:0 0 0 12px;cursor:pointer}.search-box button[type=submit]{margin-left:-24px}.search-box input{padding-right:24px;width:300px;max-width:100%}input.outline{border:0;border-bottom:2px solid #DDD;border-radius:0}input.outline:active,input.outline:focus{border:0;border-bottom:2px solid #AAA;outline:0}#login-form label[for=remember]{margin:0}#login-form label.toggle-switch{margin-left:32px}.image-picker img{background-color:#BBB}div[toggle-switch]{height:18px;width:150px}table.table{width:100%}table.table tr{border-bottom:1px solid #DDD}table.table td,table.table th{text-align:left;border:none;padding:6px;vertical-align:middle}.dz-message,.dz-preview .dz-details,.dz-preview .dz-remove,.image-manager-content .full-tab,.mce-container-body.mce-flow-layout{text-align:center}table.table th{font-weight:700}table.table tr:hover{background-color:#EEE}table{min-width:100px;max-width:100%}table thead{background-color:#F8F8F8;font-weight:500}table.no-style td{border:0;padding:0}table.list-table{margin:-6px}table.list-table td{border:0;vertical-align:middle;padding:6px}.dropdown-container,.dz-preview,.logo-image,.logo-text,form.search-box button,header .links,header .user-name,header .user-name>*{vertical-align:top}.anim.fadeIn{opacity:0;animation-name:fadeIn;animation-duration:160ms;animation-timing-function:ease-in-out}@keyframes fadeIn{0%{opacity:0}100%{opacity:1}}.anim.searchResult{opacity:0;transform:translate3d(580px,0,0);animation-name:searchResult;animation-duration:220ms;animation-timing-function:cubic-bezier(.62,.28,.23,.99)}@keyframes searchResult{0%{opacity:0;transform:translate3d(400px,0,0)}100%{opacity:1;transform:translate3d(0,0,0)}}.anim.notification{transform:translate3d(580px,0,0);animation-name:notification;animation-duration:3s;animation-timing-function:ease-in-out}.anim.menuIn,.anim.pointer{animation-delay:0s;animation-timing-function:cubic-bezier(.62,.28,.23,.99)}.anim.notification.stopped{animation-name:notificationStopped}@keyframes notification{0%,100%{transform:translate3d(580px,0,0)}10%,90%{transform:translate3d(0,0,0)}}@keyframes notificationStopped{0%{transform:translate3d(580px,0,0)}10%,100%{transform:translate3d(0,0,0)}}@keyframes menuIn{from{opacity:0;transform:scale3d(0,0,1)}to{opacity:1;transform:scale3d(1,1,1)}}.anim.menuIn{transform-origin:100% 0;animation-name:menuIn;animation-duration:120ms}@keyframes loadingBob{0%,100%,30%,70%{transform:translate3d(0,0,0)}50%{transform:translate3d(0,-10px,0)}}@keyframes pointer{0%{transform:translate3d(0,20px,0) scale3d(0,0,0)}100%{transform:translate3d(0,0,0) scale3d(1,1,1)}}.anim.pointer{transform-origin:50% 100%;animation-name:pointer;animation-duration:180ms}.mce-tinymce.mce-container.fullscreen{position:fixed;top:0;height:100%;width:825px;max-width:100%;margin-left:-12px;box-shadow:0 0 4px 2px rgba(0,0,0,.08)}.mce-tinymce .mce-btn,.mce-tinymce .mce-panel{background-color:#FFF}.edit-area.flex>.mce-tinymce.mce-container.mce-panel{height:100%;max-height:100%;-ms-flex:1;flex:1;display:-ms-flexbox!important;display:flex!important;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;margin:0 -1px}.edit-area.flex>.mce-tinymce.mce-container.mce-panel>.mce-container-body,.edit-area.flex>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-edit-area{-ms-flex:1;flex:1;display:-ms-flexbox!important;display:flex!important;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}.edit-area.flex>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-edit-area iframe{-ms-flex:1;flex:1}.hljs{display:block;overflow-x:auto;padding:.5em;background:#fdf6e3;color:#657b83;-webkit-text-size-adjust:none}.diff .hljs-header,.hljs-comment,.hljs-doctype,.hljs-pi,.lisp .hljs-string{color:#93a1a1}.css .hljs-tag,.hljs-addition,.hljs-keyword,.hljs-request,.hljs-status,.hljs-winutils,.method,.nginx .hljs-title{color:#859900}.hljs-command,.hljs-doctag,.hljs-hexcolor,.hljs-link_url,.hljs-number,.hljs-regexp,.hljs-rule .hljs-value,.hljs-string,.hljs-tag .hljs-value,.tex .hljs-formula{color:#2aa198}.css .hljs-function,.hljs-built_in,.hljs-chunk,.hljs-decorator,.hljs-id,.hljs-identifier,.hljs-localvars,.hljs-name,.hljs-title,.vhdl .hljs-literal{color:#268bd2}.hljs-attribute,.hljs-class .hljs-title,.hljs-constant,.hljs-link_reference,.hljs-parent,.hljs-type,.hljs-variable,.lisp .hljs-body,.smalltalk .hljs-number{color:#b58900}.css .hljs-pseudo,.diff .hljs-change,.hljs-attr_selector,.hljs-cdata,.hljs-header,.hljs-pragma,.hljs-preprocessor,.hljs-preprocessor .hljs-keyword,.hljs-shebang,.hljs-special,.hljs-subst,.hljs-symbol,.hljs-symbol .hljs-string{color:#cb4b16}.hljs-deletion,.hljs-important{color:#dc322f}.hljs-link_label{color:#6c71c4}.tex .hljs-formula{background:#eee8d5}.overlay{background-color:rgba(0,0,0,.2);position:fixed;z-index:95536;width:100%;height:100%;min-width:100%;min-height:100%;top:0;left:0;right:0;bottom:0}.image-manager-body{background-color:#FFF;max-height:90%;width:90%;height:90%;margin:2% 5%;border-radius:4px;box-shadow:0 0 15px 0 rgba(0,0,0,.3);overflow:hidden;position:fixed;top:0;bottom:0;left:0;z-index:999;display:-ms-flexbox;display:flex}.image-manager-body .title-input input[type=text],.image-manager-body h1,.image-manager-body h2,.image-manager-body h3,.title-input .image-manager-body input[type=text]{font-weight:300}#image-manager .dropzone-container{position:relative;border:3px dashed #DDD}.image-manager-bottom{position:absolute;bottom:0;right:0}.image-manager-list .image{display:block;position:relative;border-radius:0;float:left;margin:0;cursor:pointer;width:16.6666666667%;height:auto;border:1px solid #DDD;box-shadow:0 0 0 0 transparent;transition:all cubic-bezier(.4,0,1,1) 160ms;overflow:hidden}.image-manager-list .image.selected{transform:scale3d(.92,.92,.92);border:1px solid #444;box-shadow:0 1px 2px 0 rgba(0,0,0,.2)}.image-manager-list .image img{width:100%;max-width:100%;display:block}.image-manager-list .image .image-meta{position:absolute;width:100%;bottom:0;left:0;color:#EEE;background-color:rgba(0,0,0,.4);font-size:10px;padding:3px 4px}.image-manager-list .image .image-meta span{display:block}@media screen and (max-width:1100px){.image-manager-list .image{width:25%}}@media screen and (max-width:800px){.image-manager-list .image .image-meta{display:none}}#image-manager .load-more{display:block;text-align:center;background-color:#EEE;padding:12px 16px;color:#AAA;clear:both;font-size:20px;cursor:pointer;font-style:italic}.image-manager-sidebar{width:300px;height:100%;margin-left:1px;padding:0 24px;border-left:1px solid #DDD}.image-manager-close{position:absolute;top:0;right:0;margin:0;border-radius:0}.image-manager-list{overflow-y:scroll;-ms-flex:1;flex:1}.image-manager-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;height:100%;-ms-flex:1;flex:1}.image-manager-content .container{width:100%}.dz-message{font-size:1.4em;font-style:italic;color:#aaa;cursor:pointer;padding:32px 16px;transition:all ease-in-out 120ms}.dz-drag-hover .dz-message{background-color:#107ed2;color:#EEE}@keyframes passing-through{0%{opacity:0;transform:translateY(40px)}30%,70%{opacity:1;transform:translateY(0)}100%{opacity:0;transform:translateY(-40px)}}@keyframes slide-in{0%{opacity:0;transform:translateY(40px)}30%{opacity:1;transform:translateY(0)}}.dz-preview.dz-file-preview .dz-details,.dz-preview:hover .dz-details{opacity:1}@keyframes pulse{0%,20%{transform:scale(1)}10%{transform:scale(1.1)}}.dz-preview{position:relative;display:inline-block;margin:12px;min-height:80px}.dz-preview:hover{z-index:1000}.dz-preview.dz-file-preview .dz-image{border-radius:4px;background:#999;background:linear-gradient(to bottom,#eee,#ddd)}.dz-preview.dz-image-preview{background:#fff}.dz-preview.dz-image-preview .dz-details{transition:opacity .2s linear}.dz-preview .dz-remove{font-size:14px;display:block;cursor:pointer;border:none}.dz-preview .dz-remove:hover{text-decoration:underline}.book-tree .sidebar-page-list li a:hover,.faded .text-button:hover,.logo:hover{text-decoration:none}.dz-preview .dz-details{z-index:20;position:absolute;top:0;left:0;opacity:0;font-size:10px;min-width:100%;max-width:100%;padding:6px 3px;color:rgba(0,0,0,.9);line-height:150%}.dz-preview .dz-details .dz-size{margin-bottom:.5em;font-size:12px}.dz-preview .dz-details .dz-filename{white-space:nowrap}.dz-preview .dz-details .dz-filename:hover span{border:1px solid rgba(200,200,200,.8);background-color:rgba(255,255,255,.8)}.dz-preview .dz-details .dz-filename:not(:hover){overflow:hidden;text-overflow:ellipsis}.dz-preview .dz-details .dz-filename:not(:hover) span{border:1px solid transparent}.dz-preview .dz-details .dz-filename span,.dz-preview .dz-details .dz-size span{background-color:rgba(255,255,255,.4);padding:0 .4em;border-radius:3px}.dz-preview:hover .dz-image img{-webkit-filter:blur(8px);filter:blur(8px)}.dz-preview .dz-image{border-radius:4px;overflow:hidden;width:80px;height:80px;position:relative;display:block;z-index:10}.dz-preview .dz-image img{display:block}.dz-preview.dz-success .dz-success-mark{animation:passing-through 3s cubic-bezier(.77,0,.175,1)}.dz-preview.dz-error .dz-error-mark{opacity:1;animation:slide-in 3s cubic-bezier(.77,0,.175,1)}.dz-preview .dz-error-mark,.dz-preview .dz-success-mark{pointer-events:none;opacity:0;z-index:500;position:absolute;display:block;top:50%;left:50%;margin-left:-27px;margin-top:-27px}.dz-preview .dz-error-mark svg,.dz-preview .dz-success-mark svg{display:block;width:54px;height:54px}.dz-preview.dz-processing .dz-progress{opacity:1;transition:all .2s linear}.dz-preview.dz-complete .dz-progress{opacity:0;transition:opacity .4s ease-in}.dz-preview:not(.dz-processing) .dz-progress{animation:pulse 6s ease infinite}.dz-preview .dz-progress{opacity:1;z-index:1000;pointer-events:none;position:absolute;height:16px;left:50%;top:50%;margin-top:-8px;width:80px;margin-left:-40px;background:rgba(255,255,255,.9);transform:scale(1);border-radius:8px;overflow:hidden}.dz-preview .dz-progress .dz-upload{background:#333;background:linear-gradient(to bottom,#666,#444);position:absolute;top:0;left:0;bottom:0;width:0;transition:width .3s ease-in-out}.dz-preview.dz-error .dz-error-message{display:block}.dz-preview.dz-error:hover .dz-error-message{opacity:1;pointer-events:auto}.dz-preview .dz-error-message{pointer-events:none;z-index:1000;position:absolute;display:block;display:none;opacity:0;transition:opacity .3s ease;border-radius:4px;font-size:11.5px;line-height:1.2;top:88px;left:-26px;width:148px;background:#E84F4F;padding:6px;color:#fff}.dz-preview .dz-error-message:after{position:absolute;top:-6px;left:64px;width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #E84F4F}header{display:block;z-index:2;top:0;background-color:#0288D1;color:#fff;border-bottom:1px solid #DDD}header .avatar,header .links,header .links a,header .user-name{display:inline-block}header .padded{padding:16px}header .links a{padding:24px;color:#FFF}header .links a:last-child{padding-right:0}@media screen and (max-width:992px){header .links{margin-right:16px}header .links a{padding:24px 12px}}header .avatar{width:30px;height:30px}header .user-name{padding-top:24px;cursor:pointer}header .user-name>i,header .user-name>span{padding-left:6px;display:inline-block}header .user-name>span{padding-top:3px}header .user-name>i{padding-top:4px;font-size:18px}@media screen and (max-width:992px){header .user-name{padding-left:6px}header .user-name .name{display:none}header{text-align:center}header .float.right{float:none}}.logo,.logo-text,form.search-box{display:inline-block}.activity-list-item .left,ul.pagination li{float:left}@media screen and (max-width:768px){header .links a{padding:12px}header form.search-box{margin-top:0}header .user-name{padding-top:12px}}header .dropdown-container{font-size:.9em}form.search-box{margin-top:21.6px;position:relative;text-align:left}form.search-box input{background-color:transparent;border-radius:24px;border:2px solid #EEE;color:#EEE;padding-left:16px;padding-right:24px;outline:0}form.search-box button{margin-left:-24px;color:#FFF;top:6px;right:4px;display:inline-block;position:absolute}form.search-box button:hover{color:#FFF}.logo:hover{color:#FFF}.logo-text{font-size:1.8em;color:#fff;font-weight:400;padding:24px 24px 24px 0;line-height:1}.logo-image{margin:16px 12px 16px 0;height:43px}.breadcrumbs span.sep{color:#aaa;padding:0 6px}.action-buttons .text-button,.breadcrumbs .text-button,.faded span.faded-text{padding:12px;display:inline-block}.faded a,.faded button,.faded span,.faded span>div{color:#666}.faded .text-button{opacity:.5;transition:all ease-in-out 120ms}.faded .text-button:hover{opacity:1}.faded-small{color:#000;font-size:.9em;background-color:rgba(21,101,192,.15)}.action-buttons .text-button:last-child,.breadcrumbs .text-button:last-child{padding-right:0}.action-buttons{text-align:right}.action-buttons.text-left{text-align:left}.action-buttons.text-left .text-button{padding-right:16px;padding-left:0}.action-buttons.text-center,.nav-tabs{text-align:center}.nav-tabs .tab-item,.nav-tabs a{padding:16px;display:inline-block;color:#666;cursor:pointer}.nav-tabs .tab-item.selected,.nav-tabs a.selected{border-bottom:2px solid #0288D1}.page-list h3{margin:24px 0 6px;font-size:1.666em}.page-list a.chapter{color:#ef7c3c}.page-list .inset-list{display:none;overflow:hidden;margin-bottom:24px}.page-list h4{display:block;margin:12px 0 0;border-left:5px solid #0288D1;padding:6px 0 6px 16px}.page-list h4.draft{border-left-color:#9A60DA}.page-list hr{margin-top:0}.page-list .book,.page-list .chapter,.page-list .page{padding-left:24px}.page-list .page{border-left:5px solid #0288D1}.page-list .page.draft{border-left:5px solid #9A60DA}.page-list .page.draft .text-page{color:#9A60DA}.page-list .chapter{border-left:5px solid #ef7c3c}.page-list .book{border-left:5px solid #009688}.page-list .meta{margin-top:-16px;font-size:.95em}.page-list .meta span{margin-right:12px}.chapter-toggle{margin:0 0 24px;transition:all ease-in-out 180ms;user-select:none}.floating-toolbox .handle,ul.pagination a,ul.pagination span{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.chapter-toggle i.zmdi-caret-right{transition:all ease-in-out 180ms;transform:rotate(0);transform-origin:25% 50%}.chapter-toggle.open{margin-bottom:0}.chapter-toggle.open i.zmdi-caret-right{transform:rotate(90deg)}.page-nav-list{margin-left:2px;list-style:none}.page-nav-list li{padding-left:6px;border-left:2px solid #888;margin-bottom:4px}.page-nav-list li a{color:#555}.page-nav-list .nav-H2{margin-left:12px;font-size:.95em}.page-nav-list .nav-H3{margin-left:24px;font-size:.9em}.page-nav-list .nav-H4{margin-left:36px;font-size:.85em}.page-nav-list .nav-H5{margin-left:48px;font-size:.8em}.page-nav-list .nav-H6{margin-left:60px;font-size:.75em}.book-tree{padding:24px 0 0;position:relative;right:0;top:0;transition:ease-in-out 240ms;transition-property:right,border;border-left:0 solid #FFF;background-color:#FFF}.book-tree.fixed{position:fixed;top:0;padding-left:24px;padding-right:39px;width:30%;right:-15px;height:100%;overflow-y:scroll;-ms-overflow-style:none;border-left:1px solid #DDD}.book-tree.fixed::-webkit-scrollbar{width:0!important}.book-tree h4{padding:16px 12px 0}.book-tree h4 i{padding-right:12px}.book-tree .sidebar-page-list{list-style:none;margin:6px 0 0;padding-left:0;border-left:5px solid #009688}.book-tree .sidebar-page-list li a{display:block;border-bottom:none;padding:6px 0 6px 12px}.book-tree .sidebar-page-list li a i{padding-right:8px}.book-tree .sidebar-page-list a,.book-tree .sidebar-page-list li{display:block}.book-tree .sidebar-page-list a.bold{color:#EEE!important}.book-tree .sidebar-page-list ul{list-style:none;margin:0}.book-tree .sidebar-page-list .book{color:#009688!important}.book-tree .sidebar-page-list .book.selected{background-color:rgba(0,150,136,.29)}.book-tree .sidebar-page-list .chapter{color:#ef7c3c!important}.book-tree .sidebar-page-list .chapter.selected{background-color:rgba(239,124,60,.12)}.book-tree .sidebar-page-list .chapter-toggle{padding-left:12px}.book-tree .sidebar-page-list .list-item-chapter{border-left:5px solid #ef7c3c;margin:10px;display:block}.book-tree .sidebar-page-list .list-item-page{border-bottom:none;border-left:5px solid #0288D1;margin:10px}.book-tree .sidebar-page-list .page{color:#0288D1!important;border-bottom:none}.book-tree .sidebar-page-list .page.selected{background-color:rgba(2,136,209,.1)}.book-tree .sidebar-page-list .list-item-page.draft{border-left:5px solid #9A60DA}.book-tree .sidebar-page-list .list-item-page.draft a.page,.book-tree .sidebar-page-list .page.draft .page{color:#9A60DA!important}.book-tree .sidebar-page-list .sub-menu{display:none;padding-left:0}.book-tree .sidebar-page-list .sub-menu.open{display:block}.sortable-page-list,.sortable-page-list ul{list-style:none;background-color:#FFF}.sort-box{margin-bottom:16px;padding:0 24px;border-left:4px solid #009688}.sortable-page-list,.sortable-page-list>ul{margin-left:0}.sortable-page-list ul{margin-bottom:0;margin-top:0;box-shadow:0 0 1px 0 rgba(0,0,0,.1)}.sortable-page-list li{border:1px solid #DDD;padding:6px 12px;margin-top:-1px;min-height:38px}.sortable-page-list li.text-chapter{border-left:2px solid #ef7c3c}.sortable-page-list li.text-page{border-left:2px solid #0288D1}.sortable-page-list li:first-child{margin-top:6px}.sortable-page-list li.placeholder{position:relative}.sortable-page-list li.placeholder:before{position:absolute}.activity-list-item{padding:12px 0;color:#888;border-bottom:1px solid #EEE;font-size:.9em}.activity-list-item .left+.right{margin-left:42px}ul.pagination{display:inline-block;list-style:none;margin:16px 0;padding-left:1px}ul.pagination li:first-child a,ul.pagination li:first-child span{border-radius:3px 0 0 3px}ul.pagination li:last-child a,ul.pagination li:last-child span{border-radius:0 3px 3px 0}ul.pagination a,ul.pagination span{display:block;padding:3px 12px;border:1px solid #CCC;margin-left:-1px;color:#888;user-select:none}.compact ul.pagination,.entity-list h3{margin:0}ul.pagination a.disabled,ul.pagination span.disabled{cursor:not-allowed}ul.pagination li.active span{background-color:rgba(2,136,209,.8);color:#EEE;border-color:rgba(2,136,209,.8)}ul.pagination a{color:#0288D1}.entity-list>div{padding:16px 0}.entity-list p{margin:6px 0 0}.entity-list hr{margin:0}.entity-list .text-small.text-muted{color:#AAA;font-size:.75em;margin-top:6px}.entity-list .page.draft .text-page{color:#9A60DA}.entity-list.compact{font-size:.6em}.entity-list.compact a,.entity-list.compact h3{line-height:1.2}.entity-list.compact p{display:none;font-size:12px;padding-top:6px;margin:0}.entity-list.compact>p.empty-text{display:block;font-size:15px}.entity-list.compact hr{margin:0}.dropdown-container{display:inline-block;position:relative}.dropdown-container ul{display:none;position:absolute;z-index:999;top:0;list-style:none;right:0;margin:16px 0;background-color:#FFF;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border-radius:1px;border:1px solid #EEE;min-width:180px;padding:6px 0;color:#555;text-align:left!important}.dropdown-container ul.wide{min-width:220px}.dropdown-container ul .text-muted{color:#999}.dropdown-container ul a{display:block;padding:6px 16px;color:#555}.dropdown-container ul a:hover{text-decoration:none;background-color:#EEE}.dropdown-container ul a i{margin-right:16px;padding-right:0;display:inline;width:22px}.dropdown-container ul li.border-bottom{border-bottom:1px solid #DDD}#page-show>.row .col-md-9{z-index:2}#page-show>.row .col-md-3{z-index:1}.page-editor{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}.page-editor .faded-small{height:auto}.page-editor .edit-area{-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column}.page-style.editor{padding:0!important}.page-content{max-width:840px;overflow-wrap:break-word}.page-content .align-left{text-align:left}.page-content img.align-left,.page-content table.align-left{float:left!important;margin:6px 12px 6px 0}.page-content .align-right{float:right!important}.page-content img.align-right,.page-content table.align-right{text-align:right;margin:6px 0 6px 12px}.page-content .align-center{text-align:center}.page-content img{max-width:100%;height:auto}.page-content .title-input input[type=text],.page-content h1,.page-content h2,.page-content h3,.page-content h4,.page-content h5,.page-content h6,.page-content pre,.title-input .page-content input[type=text]{clear:left}.page-content hr{clear:both;margin:16px 0}.page-content table{word-break:break-all;word-break:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto}.pointer-container{position:relative;display:none;left:0;z-index:10}.pointer,.pointer:before{position:absolute;background-color:#FFF}.pointer{border:1px solid #CCC;display:inline-block;padding:12px;border-radius:4px;box-shadow:0 0 8px 1px rgba(212,209,209,.35);top:-60px;width:272px;z-index:55}.pointer:before{left:50%;bottom:-9px;width:16px;height:16px;margin-left:-8px;display:block;transform:rotate(45deg);transform-origin:50% 50%;border-bottom:1px solid #CCC;border-right:1px solid #CCC;z-index:56}.pointer input{background-color:#FFF;border:1px solid #DDD;color:#666;width:172px;z-index:40}.pointer button,.pointer input{position:relative;border-radius:0;height:28px;font-size:12px;vertical-align:top}.pointer>i{color:#888;font-size:18px;padding-top:4px}.pointer .button{line-height:1;margin:0 0 0 -4px;box-shadow:none}.floating-toolbox{background-color:#FFF;border:1px solid #DDD;right:64px;z-index:99;width:48px;overflow:hidden;-ms-flex-align:stretch;align-items:stretch;-ms-flex-direction:row;flex-direction:row;display:-ms-flexbox;display:flex;transition:width ease-in-out 180ms;margin-top:-1px;min-height:0}.floating-toolbox.open{width:480px}.floating-toolbox [toolbox-toggle] i{transition:transform ease-in-out 180ms}.floating-toolbox [toolbox-toggle]{transition:background-color ease-in-out 180ms}.floating-toolbox.open [toolbox-toggle]{background-color:rgba(255,0,0,.29)}.floating-toolbox.open [toolbox-toggle] i{transform:rotate(180deg)}.floating-toolbox>div{-ms-flex:1;flex:1;position:relative}.floating-toolbox .tabs{display:block;border-right:1px solid #DDD;width:54px;-ms-flex:0;flex:0}.floating-toolbox .tabs i{color:rgba(0,0,0,.5);padding:0;margin:0}.floating-toolbox .tabs>span{display:block;cursor:pointer;padding:12px 16px;font-size:13.5px;line-height:1.6;border-bottom:1px solid rgba(255,255,255,.3)}.floating-toolbox.open .tabs>span.active{color:#444;background-color:rgba(0,0,0,.1)}.floating-toolbox div[tab-content]{padding-bottom:45px;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;min-height:0;overflow-y:scroll}.floating-toolbox div[tab-content] .padded{-ms-flex:1;flex:1;padding-top:0}.floating-toolbox h4{font-size:24px;margin:16px 0 0;padding:0 24px 12px}.floating-toolbox .tags input{max-width:100%;width:100%;min-width:50px}.floating-toolbox .tags td{padding-right:12px;padding-top:12px;position:relative}.floating-toolbox button.pos{position:absolute;bottom:0;display:block;width:100%;padding:12px;height:45px;border:0;margin:0;box-shadow:none;border-radius:0}.floating-toolbox button.pos:hover{box-shadow:none}.floating-toolbox .handle{user-select:none;cursor:move;color:#999}.floating-toolbox form{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;overflow-y:scroll}[tab-content]{display:none}.tag-display{margin:32px 6px;border:1px solid #DDD;min-width:180px;max-width:320px;opacity:.7;z-index:5;position:relative}.tag-display table{width:100%;margin:0;padding:0}.tag-display span{color:#666;margin-left:12px}.tag-display .heading,.tag-display td{padding:6px 12px;color:#444}.tag-display td{border:0;border-bottom:1px solid #DDD}.tag-display .tag-value,.tag-display td i{color:#888}.tag-display tr:last-child td{border-bottom:none}.tag-display .tag{padding:12px}.suggestion-box{position:absolute;background-color:#FFF;border:1px solid #BBB;box-shadow:0 0 4px 1px #CCC;list-style:none;z-index:100;padding:0;margin:0;border-radius:3px}.avatar,.notification,.suggestion-box li.active{background-color:#EEE}.suggestion-box li{display:block;padding:6px 12px;border-bottom:1px solid #DDD}.suggestion-box li:last-child{border-bottom:0}[v-cloak],[v-show]{display:none}.ng-cloak,[ng-cloak],[ng\:cloak]{display:none!important;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}[ng-click]{cursor:pointer}.dragged{position:absolute;opacity:.5;z-index:2000}body.dragging,body.dragging *{cursor:move!important}.avatar{border-radius:100%;width:30px;height:30px}.avatar.square,.notification{border-radius:3px}.avatar.med{width:40px;height:40px}.avatar.large{width:80px;height:80px}.avatar.huge{width:120px;height:120px}.notification{position:fixed;top:0;right:0;margin:64px 32px;padding:24px 32px;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);z-index:999999;display:table;cursor:pointer;max-width:480px}.notification i,.notification span{display:table-cell}.notification i{font-size:2em;padding-right:24px}.notification span{vertical-align:middle}.notification.pos{background-color:#52A256;color:#EEE}.notification.neg{background-color:#E84F4F;color:#EEE}.notification.warning{background-color:#e27b41;color:#EEE}.loading-container{position:relative;display:block;height:10px;margin:32px auto}.loading-container>div{width:10px;height:10px;border-radius:10px;display:inline-block;vertical-align:top;transform:translate3d(0,0,0);animation-name:loadingBob;animation-duration:1.4s;animation-iteration-count:infinite;animation-timing-function:cubic-bezier(.62,.28,.23,.99);margin-right:4px;background-color:#0288D1;animation-delay:.3s}.loading-container>div:first-child{left:-16px;background-color:#009688;animation-delay:0s}.loading-container>div:last-child{left:16px;background-color:#ef7c3c;animation-delay:.6s}.search-results>h3 a{font-size:.66em;color:#0288D1;padding-left:16px}.search-results>h3 a i{padding-right:12px}#back-to-top{background-color:#0288D1;position:fixed;bottom:16px;right:24px;padding:6px 12px;cursor:pointer;color:#FFF;width:40px;height:40px;border-radius:40px;transition:all ease-in-out 180ms;opacity:0;z-index:999;overflow:hidden}#back-to-top:hover{width:136px;opacity:1!important}#back-to-top:hover span{display:inline-block}#back-to-top .inner{width:136px}#back-to-top i{margin:0;font-size:28px;padding:0 12px 0 0}#back-to-top span{line-height:12px;position:relative;top:-5px}.contained-search-box{display:-ms-flexbox;display:flex}.contained-search-box button,.contained-search-box input{border-radius:0;border:1px solid #DDD;margin-left:-1px}.contained-search-box input{-ms-flex:5;flex:5}.contained-search-box input:active,.contained-search-box input:focus{outline:0}.contained-search-box button{width:60px}.contained-search-box button i{padding:0}.contained-search-box button.cancel.active{background-color:#E84F4F;color:#EEE}.entity-selector{border:1px solid #DDD;border-radius:3px;overflow:hidden;font-size:.8em}.entity-selector input[type=text]{width:100%;display:block;border-radius:0;border:0;border-bottom:1px solid #DDD;font-size:16px;padding:12px 16px}.entity-selector .entity-list{overflow-y:scroll;height:400px;background-color:#EEE}.entity-selector .loading{height:400px;padding-top:24px}.entity-selector .entity-list>p{text-align:center;padding-top:24px;font-size:1.333em}.entity-selector .entity-list>div{padding-left:16px;padding-right:16px;background-color:#FFF;transition:all ease-in-out 120ms;cursor:pointer}.entity-list-item.selected a,.entity-list-item.selected h3,.entity-list-item.selected i,.entity-list-item.selected p,.entity-list-item.selected span{color:#EEE} \ No newline at end of file diff --git a/public/js/common.js b/public/js/common.js index 0e8bcd839d4..83d0716e8e0 100644 --- a/public/js/common.js +++ b/public/js/common.js @@ -1,12 +1,12 @@ -!function e(t,n,r){function i(a,s){if(!n[a]){if(!t[a]){var u="function"==typeof require&&require;if(!s&&u)return u(a,!0);if(o)return o(a,!0);var l=new Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}var c=n[a]={exports:{}};t[a][0].call(c.exports,function(e){var n=t[a][1][e];return i(n?n:e)},c,c.exports,e,t,n,r)}return n[a].exports}for(var o="function"==typeof require&&require,a=0;a0&&(r+=i>0?" ":"",r+=n?t+e:e+t)}),r}function a(e,t){var n=e.indexOf(t);t>=0&&e.splice(n,1)}function s(e){if(e instanceof U)switch(e.length){case 0:return[];case 1:if(e[0].nodeType===Z)return e;break;default:return U(u(e))}return e.nodeType===Z?U(e):void 0}function u(e){if(!e[0])return e;for(var t=0;t=0)&&(n=D(n)),0===n&&(n=null),r[t]=n}}),r}function D(e){var t=0,n=e.split(/\s*,\s*/);return V(n,function(e){"s"==e.charAt(e.length-1)&&(e=e.substring(0,e.length-1)),e=parseFloat(e)||0,t=t?Math.max(e,t):e}),t}function M(e){return 0===e||null!=e}function T(e,t){var n=F,r=e+"s";return t?n+=ie:r+=" linear all",[n,r]}function A(){var e=Object.create(null);return{flush:function(){e=Object.create(null)},count:function(t){var n=e[t];return n?n.total:0},get:function(t){var n=e[t];return n&&n.value},put:function(t,n){e[t]?e[t].total++:e[t]={total:1,value:n}}}}function O(e,t,n){V(n,function(n){e[n]=W(e[n])?e[n]:t.style.getPropertyValue(n)})}var F,N,I,P,j=t.noop,L=t.copy,R=t.extend,U=t.element,V=t.forEach,z=t.isArray,H=t.isString,q=t.isObject,Y=t.isUndefined,W=t.isDefined,B=t.isFunction,G=t.isElement,Z=1,Q="-add",J="-remove",X="ng-",K="-active",ee="-prepare",te="ng-animate",ne="$$ngAnimateChildren",re="";Y(e.ontransitionend)&&W(e.onwebkittransitionend)?(re="-webkit-",F="WebkitTransition",N="webkitTransitionEnd transitionend"):(F="transition",N="transitionend"),Y(e.onanimationend)&&W(e.onwebkitanimationend)?(re="-webkit-",I="WebkitAnimation",P="webkitAnimationEnd animationend"):(I="animation",P="animationend");var ie="Duration",oe="Property",ae="Delay",se="TimingFunction",ue="IterationCount",le="PlayState",ce=9999,fe=I+ae,de=I+ie,he=F+ae,pe=F+ie,me=t.$$minErr("ng"),ge=["$$rAF",function(e){function t(e){r=r.concat(e),n()}function n(){if(r.length){for(var t=r.shift(),o=0;o0&&(l=n.get(s),!l)){var c=o(a,"-stagger");r.addClass(i,c),l=E(e,i,u),l.animationDuration=Math.max(l.animationDuration,0),l.transitionDuration=Math.max(l.transitionDuration,0),r.removeClass(i,c),n.put(s,l)}return l||{}}function D(e){H.push(e),g.waitUntilQuiet(function(){t.flush(),n.flush();for(var e=l(),r=0;r=re&&r>=ie&&(Z=!0,g())}function H(){function t(){if(!B){if(b(!1),V(le,function(e){var t=e[0],n=e[1];W.style[t]=n}),R(e,q),r.addClass(e,Se),Re.recalculateTimingStyles){if(Ce=W.className+" "+xe,De=y(W,Ce),je=A(W,Ce,De),Le=je.maxDelay,ne=Math.max(Le,0),ie=je.maxDuration,0===ie)return void g();Re.hasTransitions=je.transitionDuration>0,Re.hasAnimations=je.animationDuration>0}if(Re.applyAnimationDelay&&(Le="boolean"!=typeof q.delay&&M(q.delay)?parseFloat(q.delay):Le,ne=Math.max(Le,0),je.animationDelay=Le,Ue=_(Le,!0),le.push(Ue),W.style[Ue[0]]=Ue[1]),re=ne*ye,ae=ie*ye,q.easing){var t,i=q.easing;Re.hasTransitions&&(t=F+se,le.push([t,i]),W.style[t]=i),Re.hasAnimations&&(t=I+se,le.push([t,i]),W.style[t]=i)}je.transitionDuration&&he.push(N),je.animationDuration&&he.push(P),ue=Date.now();var o=re+we*ae,a=ue+o,s=e.data($e)||[],l=!0;if(s.length){var c=s[0];l=a>c.expectedEndTime,l?u.cancel(c.timer):s.push(g)}if(l){var f=u(n,o,!1);s[0]={timer:f,expectedEndTime:a},s.push(g),e.data($e,s)}he.length&&e.on(he.join(" "),U),q.to&&(q.cleanupStyles&&O(Y,W,Object.keys(q.to)),m(e,q))}}function n(){var t=e.data($e);if(t){for(var n=1;n0&&(je.transitionDuration&&0===Me.transitionDuration||je.animationDuration&&0===Me.animationDuration)&&Math.max(Me.animationDelay,Me.transitionDelay);o?u(t,Math.floor(o*Ie*ye),!1):t(),te.resume=function(){i(!0)},te.pause=function(){i(!1)}}}var q=n||{};q.$$prepared||(q=d(L(q)));var Y={},W=$(e);if(!W||!W.parentNode||!v.enabled())return E();var B,G,Z,ee,te,ne,re,ie,ae,ue,le=[],fe=e.attr("class"),de=i(q),he=[];if(0===q.duration||!c.animations&&!c.transitions)return E();var pe=q.event&&z(q.event)?q.event.join(" "):q.event,me=pe&&q.structural,ge="",ve="";me?ge=o(pe,X,!0):pe&&(ge=pe),q.addClass&&(ve+=o(q.addClass,Q)),q.removeClass&&(ve.length&&(ve+=" "),ve+=o(q.removeClass,J)),q.applyClassesEarly&&ve.length&&R(e,q);var xe=[ge,ve].join(" ").trim(),Ce=fe+" "+xe,Se=o(xe,K),_e=de.to&&Object.keys(de.to).length>0,Ee=(q.keyframeStyle||"").length>0;if(!Ee&&!_e&&!xe)return E();var De,Me;if(q.stagger>0){var Te=parseFloat(q.stagger);Me={transitionDelay:Te,animationDelay:Te,transitionDuration:0,animationDuration:0}}else De=y(W,Ce),Me=C(W,xe,De,ke);q.$$skipPreparationClasses||r.addClass(e,xe);var Ae;if(q.transitionStyle){var Oe=[F,q.transitionStyle];k(W,Oe),le.push(Oe)}if(q.duration>=0){Ae=W.style[F].length>0;var Fe=T(q.duration,Ae);k(W,Fe),le.push(Fe)}if(q.keyframeStyle){var Ne=[I,q.keyframeStyle];k(W,Ne),le.push(Ne)}var Ie=Me?q.staggerIndex>=0?q.staggerIndex:t.count(De):0,Pe=0===Ie;Pe&&!q.skipBlocking&&w(W,ce);var je=A(W,Ce,De),Le=je.maxDelay;ne=Math.max(Le,0),ie=je.maxDuration;var Re={};if(Re.hasTransitions=je.transitionDuration>0,Re.hasAnimations=je.animationDuration>0,Re.hasTransitionAll=Re.hasTransitions&&"all"==je.transitionProperty,Re.applyTransitionDuration=_e&&(Re.hasTransitions&&!Re.hasTransitionAll||Re.hasAnimations&&!Re.hasTransitions),Re.applyAnimationDuration=q.duration&&Re.hasAnimations,Re.applyTransitionDelay=M(q.delay)&&(Re.applyTransitionDuration||Re.hasTransitions),Re.applyAnimationDelay=M(q.delay)&&Re.hasAnimations,Re.recalculateTimingStyles=ve.length>0,(Re.applyTransitionDuration||Re.applyAnimationDuration)&&(ie=q.duration?parseFloat(q.duration):ie,Re.applyTransitionDuration&&(Re.hasTransitions=!0,je.transitionDuration=ie,Ae=W.style[F+oe].length>0,le.push(T(ie,Ae))),Re.applyAnimationDuration&&(Re.hasAnimations=!0,je.animationDuration=ie,le.push(S(ie)))),0===ie&&!Re.recalculateTimingStyles)return E();if(null!=q.delay){var Ue;"boolean"!=typeof q.delay&&(Ue=parseFloat(q.delay),ne=Math.max(Ue,0)),Re.applyTransitionDelay&&le.push(_(Ue)),Re.applyAnimationDelay&&le.push(_(Ue,!0))}return null==q.duration&&je.transitionDuration>0&&(Re.recalculateTimingStyles=Re.recalculateTimingStyles||Pe),re=ne*ye,ae=ie*ye,q.skipBlocking||(Re.blockTransition=je.transitionDuration>0,Re.blockKeyframeAnimation=je.animationDuration>0&&Me.animationDelay>0&&0===Me.animationDuration),q.from&&(q.cleanupStyles&&O(Y,W,Object.keys(q.from)),p(e,q)),Re.blockTransition||Re.blockKeyframeAnimation?b(ie):q.skipBlocking||w(W,!1),{$$willAnimate:!0,end:l,start:function(){return B?void 0:(te={end:l,cancel:f,resume:null,pause:null},ee=new s(te),D(H),ee)}}}}]}],Se=["$$animationProvider",function(e){function t(e){return e.parentNode&&11===e.parentNode.nodeType}e.drivers.push("$$animateCssDriver");var n="ng-animate-shim",r="ng-anchor",i="ng-anchor-out",o="ng-anchor-in";this.$get=["$animateCss","$rootScope","$$AnimateRunner","$rootElement","$sniffer","$$jqLite","$document",function(e,a,s,u,l,c,d){function h(e){return e.replace(/\bng-\S+\b/g,"")}function p(e,t){return H(e)&&(e=e.split(" ")),H(t)&&(t=t.split(" ")),e.filter(function(e){return-1===t.indexOf(e)}).join(" ")}function m(t,a,u){function l(e){var t={},n=$(e).getBoundingClientRect();return V(["width","height","top","left"],function(e){var r=n[e];switch(e){case"top":r+=y.scrollTop;break;case"left":r+=y.scrollLeft}t[e]=Math.floor(r)+"px"}),t}function c(){var t=e(g,{addClass:i,delay:!0,from:l(a)});return t.$$willAnimate?t:null}function f(e){return e.attr("class")||""}function d(){var t=h(f(u)),n=p(t,v),r=p(v,t),a=e(g,{to:l(u),addClass:o+" "+n,removeClass:i+" "+r,delay:!0});return a.$$willAnimate?a:null}function m(){g.remove(),a.removeClass(n),u.removeClass(n)}var g=U($(a).cloneNode(!0)),v=h(f(g));a.addClass(n),u.addClass(n),g.addClass(r),w.append(g);var b,x=c();if(!x&&(b=d(),!b))return m();var k=x||b;return{start:function(){function e(){n&&n.end()}var t,n=k.start();return n.done(function(){return n=null,!b&&(b=d())?(n=b.start(),n.done(function(){n=null,m(),t.complete()}),n):(m(),void t.complete())}),t=new s({end:e,cancel:e})}}}function g(e,t,n,r){var i=v(e,j),o=v(t,j),a=[];return V(r,function(e){var t=e.out,r=e["in"],i=m(n,t,r);i&&a.push(i)}),i||o||0!==a.length?{start:function(){function e(){V(t,function(e){e.end()})}var t=[];i&&t.push(i.start()),o&&t.push(o.start()),V(a,function(e){t.push(e.start())});var n=new s({end:e,cancel:e});return s.all(t,function(e){n.complete(e)}),n}}:void 0}function v(t){var n=t.element,r=t.options||{};t.structural&&(r.event=t.event,r.structural=!0,r.applyClassesEarly=!0,"leave"===t.event&&(r.onDone=r.domOperation)),r.preparationClasses&&(r.event=C(r.event,r.preparationClasses));var i=e(n,r);return i.$$willAnimate?i:null}if(!l.animations&&!l.transitions)return j;var y=d[0].body,b=$(u),w=U(t(b)||y.contains(b)?b:y);f(c);return function(e){return e.from&&e.to?g(e.from,e.to,e.classes,e.anchors):v(e)}}]}],_e=["$animateProvider",function(e){this.$get=["$injector","$$AnimateRunner","$$jqLite",function(t,n,r){function i(n){n=z(n)?n:n.split(" ");for(var r=[],i={},o=0;o0,r=(e.removeClass||"").length>0;return t?n&&r:n||r}var c=1,p=2,m=" ",v=this.rules={skip:[],cancel:[],join:[]};v.join.push(function(e,t,n){return!t.structural&&l(t)}),v.skip.push(function(e,t,n){return!t.structural&&!l(t)}),v.skip.push(function(e,t,n){return"leave"==n.event&&t.structural}),v.skip.push(function(e,t,n){return n.structural&&n.state===p&&!t.structural}),v.cancel.push(function(e,t,n){return n.structural&&t.structural}),v.cancel.push(function(e,t,n){return n.state===p&&t.structural}),v.cancel.push(function(e,t,n){if(n.structural)return!1;var r=t.addClass,i=t.removeClass,a=n.addClass,s=n.removeClass;return Y(r)&&Y(i)||Y(a)&&Y(s)?!1:o(r,s)||o(i,a)}),this.$get=["$$rAF","$rootScope","$rootElement","$document","$$HashMap","$$animation","$$AnimateRunner","$templateRequest","$$jqLite","$$forceReflow",function(i,o,m,v,w,x,k,C,S,_){function E(){var e=!1;return function(t){e?t():o.$$postDigest(function(){e=!0,t()})}}function D(e,t){return g(e,t,{})}function M(e,t,n){var r=$(t),i=$(e),o=[],a=K[n];return a&&V(a,function(e){ie.call(e.node,r)?o.push(e.callback):"leave"===n&&ie.call(e.node,i)&&o.push(e.callback)}),o}function T(e,t,n){var r=u(t);return e.filter(function(e){var t=e.node===r&&(!n||e.callback===n);return!t})}function A(e,t){"close"!==e||t[0].parentNode||oe.off(t)}function O(e,t,n){function r(t,n,r,o){S(function(){var t=M(m,e,n);t.length?i(function(){V(t,function(t){t(e,r,o)}),A(r,e)}):A(r,e)}),t.progress(n,r,o)}function u(t){b(e,w),re(e,w),h(e,w),w.domOperation(),C.complete(!t)}var f,m,w=L(n);e=s(e),e&&(f=$(e),m=e.parent()),w=d(w);var C=new k,S=E();if(z(w.addClass)&&(w.addClass=w.addClass.join(" ")),w.addClass&&!H(w.addClass)&&(w.addClass=null),z(w.removeClass)&&(w.removeClass=w.removeClass.join(" ")),w.removeClass&&!H(w.removeClass)&&(w.removeClass=null),w.from&&!q(w.from)&&(w.from=null),w.to&&!q(w.to)&&(w.to=null),!f)return u(),C;var _=[f.className,w.addClass,w.removeClass].join(" ");if(!te(_))return u(),C;var T=["enter","move","leave"].indexOf(t)>=0,O=v[0].hidden,I=!J||O||Q.get(f),R=!I&&B.get(f)||{},U=!!R.state;if(I||U&&R.state==c||(I=!P(e,m,t)),I)return O&&r(C,t,"start"),u(),O&&r(C,t,"close"),C;T&&F(e);var Y={structural:T,element:e,event:t,addClass:w.addClass,removeClass:w.removeClass,close:u,options:w,runner:C};if(U){var W=a("skip",e,Y,R);if(W)return R.state===p?(u(),C):(g(e,R,Y),R.runner);var G=a("cancel",e,Y,R);if(G)if(R.state===p)R.runner.end();else{if(!R.structural)return g(e,R,Y),R.runner;R.close()}else{var Z=a("join",e,Y,R);if(Z){if(R.state!==p)return y(e,T?t:null,w),t=Y.event=R.event,w=g(e,R,Y),R.runner;D(e,Y)}}}else D(e,Y);var X=Y.structural;if(X||(X="animate"===Y.event&&Object.keys(Y.options.to||{}).length>0||l(Y)),!X)return u(),N(e),C;var K=(R.counter||0)+1;return Y.counter=K,j(e,c,Y),o.$$postDigest(function(){var n=B.get(f),i=!n;n=n||{};var o=e.parent()||[],a=o.length>0&&("animate"===n.event||n.structural||l(n));if(i||n.counter!==K||!a)return i&&(re(e,w),h(e,w)),(i||T&&n.event!==t)&&(w.domOperation(),C.end()),void(a||N(e));t=!n.structural&&l(n,!0)?"setClass":n.event,j(e,p);var s=x(e,t,n.options);C.setHost(s),r(C,t,"start",{}),s.done(function(n){u(!n);var i=B.get(f);i&&i.counter===K&&N($(e)),r(C,t,"close",{})})}),C}function F(e){var t=$(e),n=t.querySelectorAll("["+De+"]");V(n,function(e){var t=parseInt(e.getAttribute(De)),n=B.get(e);if(n)switch(t){case p:n.runner.end();case c:B.remove(e)}})}function N(e){var t=$(e);t.removeAttribute(De),B.remove(t)}function I(e,t){return $(e)===$(t)}function P(e,t,n){var r,i=U(v[0].body),o=I(e,i)||"HTML"===e[0].nodeName,a=I(e,m),s=!1,u=Q.get($(e)),l=U.data(e[0],Me);for(l&&(t=l),t=$(t);t&&(a||(a=I(t,m)),t.nodeType===Z);){var c=B.get(t)||{};if(!s){var f=Q.get(t);if(f===!0&&u!==!1){u=!0;break}f===!1&&(u=!1),s=c.structural}if(Y(r)||r===!0){var d=U.data(t,ne);W(d)&&(r=d)}if(s&&r===!1)break;if(o||(o=I(t,i)),o&&a)break;t=a||!(l=U.data(t,Me))?t.parentNode:$(l)}var h=(!s||r)&&u!==!0;return h&&a&&o}function j(e,t,n){n=n||{},n.state=t;var r=$(e);r.setAttribute(De,t);var i=B.get(r),o=i?R(i,n):n;B.put(r,o)}var B=new w,Q=new w,J=null,X=o.$watch(function(){return 0===C.totalPendingRequests},function(e){e&&(X(),o.$$postDigest(function(){o.$$postDigest(function(){null===J&&(J=!0)})}))}),K={},ee=r.classNameFilter(),te=ee?function(e){return ee.test(e)}:function(){return!0},re=f(S),ie=e.Node.prototype.contains||function(e){return this===e||!!(16&this.compareDocumentPosition(e))},oe={on:function(e,t,n){var r=u(t);K[e]=K[e]||[],K[e].push({node:r,callback:n}),U(t).on("$destroy",function(){var i=B.get(r);i||oe.off(e,t,n)})},off:function(e,n,r){if(1!==arguments.length||t.isString(arguments[0])){var i=K[e];i&&(K[e]=1===arguments.length?null:T(i,n,r))}else{n=arguments[0];for(var o in K)K[o]=T(K[o],n)}},pin:function(e,t){n(G(e),"element","not an element"),n(G(t),"parentElement","not an element"),e.data(Me,t)},push:function(e,t,n,r){return n=n||{},n.domOperation=r,O(e,t,n)},enabled:function(e,t){var n=arguments.length;if(0===n)t=!!J;else{var r=G(e);if(r){var i=$(e),o=Q.get(i);1===n?t=!o:Q.put(i,!t)}else t=J=!!e}return t}};return oe}]}],Ae=["$animateProvider",function(e){function t(e,t){e.data(s,t)}function n(e){e.removeData(s)}function i(e){return e.data(s)}var o="ng-animate-ref",a=this.drivers=[],s="$$animationRunner";this.$get=["$$jqLite","$rootScope","$injector","$$AnimateRunner","$$HashMap","$$rAFScheduler",function(e,s,u,l,c,p){function m(e){function t(e){if(e.processed)return e;e.processed=!0;var n=e.domNode,r=n.parentNode;o.put(n,e);for(var a;r;){if(a=o.get(r)){a.processed||(a=t(a));break}r=r.parentNode}return(a||i).children.push(e),e}function n(e){var t,n=[],r=[];for(t=0;t=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";V(l,function(e){var t=e.getAttribute(o);n[t]=n[t]||{},n[t][c]={animationID:r,element:U(e)}})}else t.push(e)});var r={},i={};return V(n,function(n,o){var a=n.from,s=n.to;if(!a||!s){var u=a?a.animationID:s.animationID,l=u.toString();return void(r[l]||(r[l]=!0,t.push(e[u])))}var c=e[a.animationID],f=e[s.animationID],d=a.animationID.toString();if(!i[d]){var h=i[d]={structural:!0,beforeStart:function(){c.beforeStart(),f.beforeStart()},close:function(){c.close(),f.close()},classes:x(c.classes,f.classes),from:c,to:f,anchors:[]};h.classes.length?t.push(h):(t.push(c),t.push(f))}i[d].anchors.push({out:a.element,"in":s.element})}),t}function x(e,t){e=e.split(" "),t=t.split(" ");for(var n=[],r=0;r=0;t--){var n=a[t];if(u.has(n)){var r=u.get(n),i=r(e);if(i)return i}}}function C(){c.addClass(te),A&&e.addClass(c,A),O&&(e.removeClass(c,O),O=null)}function S(e,t){function n(e){i(e).setHost(t)}e.from&&e.to?(n(e.from.element),n(e.to.element)):n(e.element)}function _(){var e=i(c);!e||"leave"===f&&y.$$domOperationFired||e.end()}function E(t){c.off("$destroy",_),n(c),v(c,y),h(c,y),y.domOperation(),A&&e.removeClass(c,A),c.removeClass(te),M.complete(!t)}y=d(y);var D=["enter","move","leave"].indexOf(f)>=0,M=new l({end:function(){E()},cancel:function(){E(!0)}});if(!a.length)return E(),M;t(c,M);var T=r(c.attr("class"),r(y.addClass,y.removeClass)),A=y.tempClasses;A&&(T+=" "+A,y.tempClasses=null);var O;return D&&(O="ng-"+f+ee,e.addClass(c,O)),g.push({element:c,classes:T,event:f,structural:D,options:y,beforeStart:C,close:E}),c.on("$destroy",_),g.length>1?M:(s.$$postDigest(function(){var e=[];V(g,function(t){i(t.element)?e.push(t):t.close()}),g.length=0;var t=w(e),n=[];V(t,function(e){n.push({domNode:$(e.from?e.from.element:e.element),fn:function(){e.beforeStart();var t,n=e.close,r=e.anchors?e.from.element||e.to.element:e.element;if(i(r)){var o=k(e);o&&(t=o.start)}if(t){var a=t();a.done(function(e){n(!e)}),S(e,a)}else n()}})}),p(m(n))}),M)}}]}],Oe=["$animate","$rootScope",function(e,t){return{restrict:"A",transclude:"element",terminal:!0,priority:600,link:function(t,n,r,i,o){var a,s;t.$watchCollection(r.ngAnimateSwap||r["for"],function(r){a&&e.leave(a),s&&(s.$destroy(),s=null),(r||0===r)&&(s=t.$new(),o(s,function(t){a=t,e.enter(t,null,n)}))})}}}];t.module("ngAnimate",[]).directive("ngAnimateSwap",Oe).directive("ngAnimateChildren",ve).factory("$$rAFScheduler",ge).provider("$$animateQueue",Te).provider("$$animation",Ae).provider("$animateCss",Ce).provider("$$animateCssDriver",Se).provider("$$animateJs",_e).provider("$$animateJsDriver",Ee)}(window,window.angular)},{}],2:[function(e,t,n){e("./angular-animate"),t.exports="ngAnimate"},{"./angular-animate":1}],3:[function(e,t,n){!function(e,t){"use strict";function n(e){return null!=e&&""!==e&&"hasOwnProperty"!==e&&a.test("."+e)}function r(e,r){if(!n(r))throw o("badmember",'Dotted member path "@{0}" is invalid.',r);for(var i=r.split("."),a=0,s=i.length;s>a&&t.isDefined(e);a++){var u=i[a];e=null!==e?e[u]:void 0}return e}function i(e,n){n=n||{},t.forEach(n,function(e,t){delete n[t]});for(var r in e)!e.hasOwnProperty(r)||"$"===r.charAt(0)&&"$"===r.charAt(1)||(n[r]=e[r]);return n}var o=t.$$minErr("$resource"),a=/^(\.[a-zA-Z_$@][0-9a-zA-Z_$@]*)+$/;t.module("ngResource",["ng"]).provider("$resource",function(){var e=/^https?:\/\/[^\/]*/,n=this;this.defaults={stripTrailingSlashes:!0,actions:{get:{method:"GET"},save:{method:"POST"},query:{method:"GET",isArray:!0},remove:{method:"DELETE"},"delete":{method:"DELETE"}}},this.$get=["$http","$log","$q","$timeout",function(a,s,u,l){function c(e){return f(e,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function f(e,t){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,t?"%20":"+")}function d(e,t){this.template=e,this.defaults=g({},n.defaults,t),this.urlParams={}}function h(e,c,f,y){function b(e,t){var n={};return t=g({},c,t),m(t,function(t,i){$(t)&&(t=t()),n[i]=t&&t.charAt&&"@"==t.charAt(0)?r(e,t.substr(1)):t}),n}function w(e){return e.resource}function x(e){i(e||{},this)}var k=new d(e,y);return f=g({},n.defaults.actions,f),x.prototype.toJSON=function(){var e=g({},this);return delete e.$promise,delete e.$resolved,e},m(f,function(e,r){var c=/^(POST|PUT|PATCH)$/i.test(e.method),f=e.timeout,d=t.isDefined(e.cancellable)?e.cancellable:y&&t.isDefined(y.cancellable)?y.cancellable:n.defaults.cancellable;f&&!t.isNumber(f)&&(s.debug("ngResource:\n Only numeric values are allowed as `timeout`.\n Promises are not supported in $resource, because the same value would be used for multiple requests. If you are looking for a way to cancel requests, you should use the `cancellable` option."),delete e.timeout,f=null),x[r]=function(n,s,h,y){var C,S,_,E={};switch(arguments.length){case 4:_=y,S=h;case 3:case 2:if(!$(s)){E=n,C=s,S=h;break}if($(n)){S=n,_=s;break}S=s,_=h;case 1:$(n)?S=n:c?C=n:E=n;break;case 0:break;default:throw o("badargs","Expected up to 4 arguments [params, data, success, error], got {0} arguments",arguments.length)}var D,M,T=this instanceof x,A=T?C:e.isArray?[]:new x(C),O={},F=e.interceptor&&e.interceptor.response||w,N=e.interceptor&&e.interceptor.responseError||void 0;m(e,function(e,t){switch(t){default:O[t]=v(e);break;case"params":case"isArray":case"interceptor":case"cancellable":}}),!T&&d&&(D=u.defer(),O.timeout=D.promise,f&&(M=l(D.resolve,f))),c&&(O.data=C),k.setUrlParams(O,g({},b(C,e.params||{}),E),e.url);var I=a(O).then(function(n){var a=n.data;if(a){if(t.isArray(a)!==!!e.isArray)throw o("badcfg","Error in resource configuration for action `{0}`. Expected response to contain an {1} but got an {2} (Request: {3} {4})",r,e.isArray?"array":"object",t.isArray(a)?"array":"object",O.method,O.url);if(e.isArray)A.length=0,m(a,function(e){"object"==typeof e?A.push(new x(e)):A.push(e)});else{var s=A.$promise;i(a,A),A.$promise=s}}return n.resource=A,n},function(e){return(_||p)(e),u.reject(e)});return I["finally"](function(){A.$resolved=!0,!T&&d&&(A.$cancelRequest=t.noop,l.cancel(M),D=M=O.timeout=null)}),I=I.then(function(e){var t=F(e);return(S||p)(t,e.headers),t},N),T?I:(A.$promise=I,A.$resolved=!1,d&&(A.$cancelRequest=D.resolve),A)},x.prototype["$"+r]=function(e,t,n){$(e)&&(n=t,t=e,e={});var i=x[r].call(this,e,this,t,n);return i.$promise||i}}),x.bind=function(t){return h(e,g({},c,t),f)},x}var p=t.noop,m=t.forEach,g=t.extend,v=t.copy,$=t.isFunction;return d.prototype={setUrlParams:function(n,r,i){var a,s,u=this,l=i||u.template,d="",h=u.urlParams={};m(l.split(/\W/),function(e){if("hasOwnProperty"===e)throw o("badname","hasOwnProperty is not a valid parameter name.");!new RegExp("^\\d+$").test(e)&&e&&new RegExp("(^|[^\\\\]):"+e+"(\\W|$)").test(l)&&(h[e]={isQueryParamValue:new RegExp("\\?.*=:"+e+"(?:\\W|$)").test(l)})}),l=l.replace(/\\:/g,":"),l=l.replace(e,function(e){return d=e,""}),r=r||{},m(u.urlParams,function(e,n){a=r.hasOwnProperty(n)?r[n]:u.defaults[n],t.isDefined(a)&&null!==a?(s=e.isQueryParamValue?f(a,!0):c(a),l=l.replace(new RegExp(":"+n+"(\\W|$)","g"),function(e,t){return s+t})):l=l.replace(new RegExp("(/?):"+n+"(\\W|$)","g"),function(e,t,n){return"/"==n.charAt(0)?n:t+n})}),u.defaults.stripTrailingSlashes&&(l=l.replace(/\/+$/,"")||"/"),l=l.replace(/\/\.(?=\w+($|\?))/,"."),n.url=d+l.replace(/\/\\\./,"/."),m(r,function(e,t){u.urlParams[t]||(n.params=n.params||{},n.params[t]=e)})}},h}]})}(window,window.angular)},{}],4:[function(e,t,n){e("./angular-resource"),t.exports="ngResource"},{"./angular-resource":3}],5:[function(e,t,n){!function(e,t){"use strict";function n(){var e=!1;this.$get=["$$sanitizeUri",function(n){return e&&t.extend(x,b),function(e){var t=[];return o(e,u(t,function(e,t){return!/^unsafe:/.test(n(e,t))})),t.join("")}}],this.enableSvg=function(n){return t.isDefined(n)?(e=n,this):e}}function r(e){var n=[],r=u(n,t.noop);return r.chars(e),n.join("")}function i(e,n){var r,i={},o=e.split(",");for(r=0;rn;n++){var i=e[n];t[i.name]=i.value}return t}function s(e){return e.replace(/&/g,"&").replace(d,function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1);return"&#"+(1024*(t-55296)+(n-56320)+65536)+";"}).replace(h,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}function u(e,n){var r=!1,i=t.bind(e,e.push);return{start:function(e,o){e=t.lowercase(e),!r&&w[e]&&(r=e),r||x[e]!==!0||(i("<"),i(e),t.forEach(o,function(r,o){var a=t.lowercase(o),u="img"===e&&"src"===a||"background"===a;_[a]!==!0||k[a]===!0&&!n(r,u)||(i(" "),i(o),i('="'),i(s(r)),i('"'))}),i(">"))},end:function(e){e=t.lowercase(e),r||x[e]!==!0||p[e]===!0||(i("")),e==r&&(r=!1)},chars:function(e){r||i(s(e))}}}function l(t){if(t.nodeType===e.Node.ELEMENT_NODE)for(var n=t.attributes,r=0,i=n.length;i>r;r++){var o=n[r],a=o.name.toLowerCase();"xmlns:ns1"!==a&&0!==a.indexOf("ns1:")||(t.removeAttributeNode(o),r--,i--)}var s=t.firstChild;s&&l(s),s=t.nextSibling,s&&l(s)}var c,f=t.$$minErr("$sanitize"),d=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,h=/([^\#-~ |!])/g,p=i("area,br,col,hr,img,wbr"),m=i("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),g=i("rp,rt"),v=t.extend({},g,m),$=t.extend({},m,i("address,article,aside,blockquote,caption,center,del,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,map,menu,nav,ol,pre,section,table,ul")),y=t.extend({},g,i("a,abbr,acronym,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,q,ruby,rp,rt,s,samp,small,span,strike,strong,sub,sup,time,tt,u,var")),b=i("circle,defs,desc,ellipse,font-face,font-face-name,font-face-src,g,glyph,hkern,image,linearGradient,line,marker,metadata,missing-glyph,mpath,path,polygon,polyline,radialGradient,rect,stop,svg,switch,text,title,tspan"),w=i("script,style"),x=t.extend({},p,$,y,v),k=i("background,cite,href,longdesc,src,xlink:href"),C=i("abbr,align,alt,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,coords,dir,face,headers,height,hreflang,hspace,ismap,lang,language,nohref,nowrap,rel,rev,rows,rowspan,rules,scope,scrolling,shape,size,span,start,summary,tabindex,target,title,type,valign,value,vspace,width"),S=i("accent-height,accumulate,additive,alphabetic,arabic-form,ascent,baseProfile,bbox,begin,by,calcMode,cap-height,class,color,color-rendering,content,cx,cy,d,dx,dy,descent,display,dur,end,fill,fill-rule,font-family,font-size,font-stretch,font-style,font-variant,font-weight,from,fx,fy,g1,g2,glyph-name,gradientUnits,hanging,height,horiz-adv-x,horiz-origin-x,ideographic,k,keyPoints,keySplines,keyTimes,lang,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mathematical,max,min,offset,opacity,orient,origin,overline-position,overline-thickness,panose-1,path,pathLength,points,preserveAspectRatio,r,refX,refY,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,rotate,rx,ry,slope,stemh,stemv,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,systemLanguage,target,text-anchor,to,transform,type,u1,u2,underline-position,underline-thickness,unicode,unicode-range,units-per-em,values,version,viewBox,visibility,width,widths,x,x-height,x1,x2,xlink:actuate,xlink:arcrole,xlink:role,xlink:show,xlink:title,xlink:type,xml:base,xml:lang,xml:space,xmlns,xmlns:xlink,y,y1,y2,zoomAndPan",!0),_=t.extend({},k,S,C);!function(e){var t;if(!e.document||!e.document.implementation)throw f("noinert","Can't create an inert html document");t=e.document.implementation.createHTMLDocument("inert");var n=t.documentElement||t.getDocumentElement(),r=n.getElementsByTagName("body");if(1===r.length)c=r[0];else{var i=t.createElement("html");c=t.createElement("body"),i.appendChild(c),t.appendChild(i)}}(e),t.module("ngSanitize",[]).provider("$sanitize",n),t.module("ngSanitize").filter("linky",["$sanitize",function(e){var n=/((ftp|https?):\/\/|(www\.)|(mailto:)?[A-Za-z0-9._%+-]+@)\S*[^\s.;,(){}<>"\u201d\u2019]/i,i=/^mailto:/i,o=t.$$minErr("linky"),a=t.isString;return function(s,u,l){function c(e){e&&g.push(r(e))}function f(e,n){var r;if(g.push("'),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(i,"")),m=m.substring(p+d[0].length);return c(m),e(g.join(""))}}])}(window,window.angular)},{}],6:[function(e,t,n){e("./angular-sanitize"),t.exports="ngSanitize"},{"./angular-sanitize":5}],7:[function(e,t,n){angular.module("ui.sortable",[]).value("uiSortableConfig",{items:"> [ng-repeat],> [data-ng-repeat],> [x-ng-repeat]"}).directive("uiSortable",["uiSortableConfig","$timeout","$log",function(e,t,n){return{require:"?ngModel",scope:{ngModel:"=",uiSortable:"="},link:function(r,i,o,a){function s(e,t){var n=e&&"function"==typeof e,r=t&&"function"==typeof t;return n&&r?function(){e.apply(this,arguments),t.apply(this,arguments)}:r?t:e}function u(e){var t=e.data("ui-sortable");return t&&"object"==typeof t&&"ui-sortable"===t.widgetFullName?t:null}function l(t,n){return S[t]?("stop"===t&&(n=s(n,function(){r.$apply()}),n=s(n,v)),n=s(S[t],n)):_[t]&&(n=_[t](n)),n||("items"===t?n=e.items:"ui-model-items"===t&&(n=e.items)),n}function c(e,t,n){function r(e,t){t in k||(k[t]=null)}angular.forEach(S,r);var i=null;if(t){var o;angular.forEach(t,function(t,n){if(!(e&&n in e)){if(n in C)return void("ui-floating"===n?k[n]="auto":k[n]=l(n,void 0));o||(o=angular.element.ui.sortable().options);var r=o[n];r=l(n,r),i||(i={}),i[n]=r,k[n]=r}})}return angular.forEach(e,function(e,t){return t in C?("ui-floating"!==t||e!==!1&&e!==!0||!n||(n.floating=e),void(k[t]=l(t,e))):(e=l(t,e),i||(i={}),i[t]=e,void(k[t]=e))}),i}function f(e){var t=e.sortable("option","placeholder");if(t&&t.element&&"function"==typeof t.element){var n=t.element();return n=angular.element(n)}return null}function d(e,t){var n=k["ui-model-items"].replace(/[^,]*>/g,""),r=e.find('[class="'+t.attr("class")+'"]:not('+n+")");return r}function h(e,t){var n=e.sortable("option","helper");return"clone"===n||"function"==typeof n&&t.item.sortable.isCustomHelperUsed()}function p(e,t,n){var r=null;return h(e,t)&&"parent"===e.sortable("option","appendTo")&&(r=n.last()),r}function m(e){return/left|right/.test(e.css("float"))||/inline|table-cell/.test(e.css("display"))}function g(e,t){for(var n=null,r=0;r=0&&(t-1 in e||e instanceof Array)||"function"==typeof e.item)}function r(e,t,i){var o,a;if(e)if(C(e))for(o in e)"prototype"==o||"length"==o||"name"==o||e.hasOwnProperty&&!e.hasOwnProperty(o)||t.call(i,e[o],o,e);else if(Wr(e)||n(e)){var s="object"!=typeof e;for(o=0,a=e.length;a>o;o++)(s||o in e)&&t.call(i,e[o],o,e)}else if(e.forEach&&e.forEach!==r)e.forEach(t,i,e);else if(b(e))for(o in e)t.call(i,e[o],o,e);else if("function"==typeof e.hasOwnProperty)for(o in e)e.hasOwnProperty(o)&&t.call(i,e[o],o,e);else for(o in e)Mr.call(e,o)&&t.call(i,e[o],o,e);return e}function i(e,t,n){for(var r=Object.keys(e).sort(),i=0;ii;++i){var a=t[i];if(y(a)||C(a))for(var l=Object.keys(a),c=0,f=l.length;f>c;c++){var d=l[c],h=a[d];n&&y(h)?k(h)?e[d]=new Date(h.valueOf()):S(h)?e[d]=new RegExp(h):h.nodeName?e[d]=h.cloneNode(!0):I(h)?e[d]=h.clone():(y(e[d])||(e[d]=Wr(h)?[]:{}),u(e[d],[h],!0)):e[d]=h}}return s(e,r),e}function l(e){return u(e,Lr.call(arguments,1),!1)}function c(e){return u(e,Lr.call(arguments,1),!0)}function f(e){return parseInt(e,10)}function d(e,t){return l(Object.create(e),t)}function h(){}function p(e){return e}function m(e){return function(){return e}}function g(e){return C(e.toString)&&e.toString!==Vr}function v(e){return"undefined"==typeof e}function $(e){return"undefined"!=typeof e}function y(e){return null!==e&&"object"==typeof e}function b(e){return null!==e&&"object"==typeof e&&!zr(e)}function w(e){return"string"==typeof e}function x(e){return"number"==typeof e}function k(e){return"[object Date]"===Vr.call(e)}function C(e){return"function"==typeof e}function S(e){return"[object RegExp]"===Vr.call(e)}function _(e){return e&&e.window===e}function E(e){return e&&e.$evalAsync&&e.$watch}function D(e){return"[object File]"===Vr.call(e)}function M(e){return"[object FormData]"===Vr.call(e)}function T(e){return"[object Blob]"===Vr.call(e)}function A(e){return"boolean"==typeof e}function O(e){return e&&C(e.then)}function F(e){return e&&x(e.length)&&Br.test(Vr.call(e))}function N(e){return"[object ArrayBuffer]"===Vr.call(e)}function I(e){return!(!e||!(e.nodeName||e.prop&&e.attr&&e.find))}function P(e){var t,n={},r=e.split(",");for(t=0;t=0&&e.splice(n,1),n}function R(e,t){function n(e,t){var n,r=t.$$hashKey;if(Wr(e))for(var o=0,a=e.length;a>o;o++)t.push(i(e[o]));else if(b(e))for(n in e)t[n]=i(e[n]);else if(e&&"function"==typeof e.hasOwnProperty)for(n in e)e.hasOwnProperty(n)&&(t[n]=i(e[n]));else for(n in e)Mr.call(e,n)&&(t[n]=i(e[n]));return s(t,r),t}function i(e){if(!y(e))return e;var t=a.indexOf(e);if(-1!==t)return u[t];if(_(e)||E(e))throw Hr("cpws","Can't copy! Making copies of Window or Scope instances is not supported.");var r=!1,i=o(e);return void 0===i&&(i=Wr(e)?[]:Object.create(zr(e)),r=!0),a.push(e),u.push(i),r?n(e,i):i}function o(e){switch(Vr.call(e)){case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Float32Array]":case"[object Float64Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return new e.constructor(i(e.buffer));case"[object ArrayBuffer]":if(!e.slice){var t=new ArrayBuffer(e.byteLength);return new Uint8Array(t).set(new Uint8Array(e)),t}return e.slice(0);case"[object Boolean]":case"[object Number]":case"[object String]":case"[object Date]":return new e.constructor(e.valueOf());case"[object RegExp]":var n=new RegExp(e.source,e.toString().match(/[^\/]*$/)[0]);return n.lastIndex=e.lastIndex,n;case"[object Blob]":return new e.constructor([e],{type:e.type})}return C(e.cloneNode)?e.cloneNode(!0):void 0}var a=[],u=[];if(t){if(F(t)||N(t))throw Hr("cpta","Can't copy! TypedArray destination cannot be mutated.");if(e===t)throw Hr("cpi","Can't copy! Source and destination are identical.");return Wr(t)?t.length=0:r(t,function(e,n){"$$hashKey"!==n&&delete t[n]}),a.push(e),u.push(t),n(e,t)}return i(e)}function U(e,t){if(Wr(e)){t=t||[];for(var n=0,r=e.length;r>n;n++)t[n]=e[n]}else if(y(e)){t=t||{};for(var i in e)"$"===i.charAt(0)&&"$"===i.charAt(1)||(t[i]=e[i])}return t||e}function V(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e!==e&&t!==t)return!0;var n,r,i,o=typeof e,a=typeof t;if(o==a&&"object"==o){if(!Wr(e)){if(k(e))return k(t)?V(e.getTime(),t.getTime()):!1;if(S(e))return S(t)?e.toString()==t.toString():!1;if(E(e)||E(t)||_(e)||_(t)||Wr(t)||k(t)||S(t))return!1;i=me();for(r in e)if("$"!==r.charAt(0)&&!C(e[r])){if(!V(e[r],t[r]))return!1;i[r]=!0}for(r in t)if(!(r in i)&&"$"!==r.charAt(0)&&$(t[r])&&!C(t[r]))return!1;return!0}if(!Wr(t))return!1;if((n=e.length)==t.length){for(r=0;n>r;r++)if(!V(e[r],t[r]))return!1;return!0}}return!1}function z(e,t,n){return e.concat(Lr.call(t,n))}function H(e,t){return Lr.call(e,t||0)}function q(e,t){var n=arguments.length>2?H(arguments,2):[];return!C(t)||t instanceof RegExp?t:n.length?function(){return arguments.length?t.apply(e,z(n,arguments,0)):t.apply(e,n)}:function(){return arguments.length?t.apply(e,arguments):t.call(e)}}function Y(t,n){var r=n;return"string"==typeof t&&"$"===t.charAt(0)&&"$"===t.charAt(1)?r=void 0:_(n)?r="$WINDOW":n&&e.document===n?r="$DOCUMENT":E(n)&&(r="$SCOPE"),r}function W(e,t){return v(e)?void 0:(x(t)||(t=t?2:null),JSON.stringify(e,Y,t))}function B(e){return w(e)?JSON.parse(e):e}function G(e,t){e=e.replace(Xr,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function Z(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function Q(e,t,n){n=n?-1:1;var r=e.getTimezoneOffset(),i=G(t,r);return Z(e,n*(i-r))}function J(e){e=Ir(e).clone();try{e.empty()}catch(t){}var n=Ir("
    ").append(e).html();try{return e[0].nodeType===ii?Tr(n):n.match(/^(<[^>]+>)/)[1].replace(/^<([\w\-]+)/,function(e,t){return"<"+Tr(t)})}catch(t){return Tr(n)}}function X(e){try{return decodeURIComponent(e)}catch(t){}}function K(e){var t={};return r((e||"").split("&"),function(e){var n,r,i;e&&(r=e=e.replace(/\+/g,"%20"),n=e.indexOf("="),-1!==n&&(r=e.substring(0,n),i=e.substring(n+1)),r=X(r),$(r)&&(i=$(i)?X(i):!0,Mr.call(t,r)?Wr(t[r])?t[r].push(i):t[r]=[t[r],i]:t[r]=i))}),t}function ee(e){var t=[];return r(e,function(e,n){Wr(e)?r(e,function(e){t.push(ne(n,!0)+(e===!0?"":"="+ne(e,!0)))}):t.push(ne(n,!0)+(e===!0?"":"="+ne(e,!0)))}),t.length?t.join("&"):""}function te(e){return ne(e,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function ne(e,t){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%20/g,t?"%20":"+")}function re(e,t){var n,r,i=Kr.length;for(r=0;i>r;++r)if(n=Kr[r]+t,w(n=e.getAttribute(n)))return n;return null}function ie(e,t){var n,i,o={};r(Kr,function(t){var r=t+"app";!n&&e.hasAttribute&&e.hasAttribute(r)&&(n=e,i=e.getAttribute(r))}),r(Kr,function(t){var r,o=t+"app";!n&&(r=e.querySelector("["+o.replace(":","\\:")+"]"))&&(n=r,i=r.getAttribute(o))}),n&&(o.strictDi=null!==re(n,"strict-di"),t(n,i?[i]:[],o))}function oe(t,n,i){y(i)||(i={});var o={strictDi:!1};i=l(o,i);var a=function(){if(t=Ir(t),t.injector()){var r=t[0]===e.document?"document":J(t);throw Hr("btstrpd","App already bootstrapped with this element '{0}'",r.replace(//,">"))}n=n||[],n.unshift(["$provide",function(e){e.value("$rootElement",t)}]),i.debugInfoEnabled&&n.push(["$compileProvider",function(e){e.debugInfoEnabled(!0)}]),n.unshift("ng");var o=nt(n,i.strictDi);return o.invoke(["$rootScope","$rootElement","$compile","$injector",function(e,t,n,r){e.$apply(function(){t.data("$injector",r),n(t)(e)})}]),o},s=/^NG_ENABLE_DEBUG_INFO!/,u=/^NG_DEFER_BOOTSTRAP!/;return e&&s.test(e.name)&&(i.debugInfoEnabled=!0,e.name=e.name.replace(s,"")),e&&!u.test(e.name)?a():(e.name=e.name.replace(u,""),qr.resumeBootstrap=function(e){return r(e,function(e){n.push(e)}),a()},void(C(qr.resumeDeferredBootstrap)&&qr.resumeDeferredBootstrap()))}function ae(){e.name="NG_ENABLE_DEBUG_INFO!"+e.name,e.location.reload()}function se(e){var t=qr.element(e).injector();if(!t)throw Hr("test","no injector found for element argument to getTestability");return t.get("$$testability")}function ue(e,t){return t=t||"_",e.replace(ei,function(e,n){return(n?t:"")+e.toLowerCase()})}function le(){var t;if(!ti){var n=Jr();Pr=v(n)?e.jQuery:n?e[n]:void 0,Pr&&Pr.fn.on?(Ir=Pr,l(Pr.fn,{scope:ki.scope,isolateScope:ki.isolateScope,controller:ki.controller,injector:ki.injector,inheritedData:ki.inheritedData}),t=Pr.cleanData,Pr.cleanData=function(e){for(var n,r,i=0;null!=(r=e[i]);i++)n=Pr._data(r,"events"),n&&n.$destroy&&Pr(r).triggerHandler("$destroy");t(e)}):Ir=Me,qr.element=Ir,ti=!0}}function ce(e,t,n){if(!e)throw Hr("areq","Argument '{0}' is {1}",t||"?",n||"required");return e}function fe(e,t,n){return n&&Wr(e)&&(e=e[e.length-1]),ce(C(e),t,"not a function, got "+(e&&"object"==typeof e?e.constructor.name||"Object":typeof e)),e}function de(e,t){if("hasOwnProperty"===e)throw Hr("badname","hasOwnProperty is not a valid {0} name",t)}function he(e,t,n){if(!t)return e;for(var r,i=t.split("."),o=e,a=i.length,s=0;a>s;s++)r=i[s],e&&(e=(o=e)[r]);return!n&&C(e)?q(o,e):e}function pe(e){for(var t,n=e[0],r=e[e.length-1],i=1;n!==r&&(n=n.nextSibling);i++)(t||e[i]!==n)&&(t||(t=Ir(Lr.call(e,0,i))),t.push(n));return t||e}function me(){return Object.create(null)}function ge(e){function n(e,t,n){return e[t]||(e[t]=n())}var r=t("$injector"),i=t("ng"),o=n(e,"angular",Object);return o.$$minErr=o.$$minErr||t,n(o,"module",function(){var e={};return function(t,o,a){var s=function(e,t){if("hasOwnProperty"===e)throw i("badname","hasOwnProperty is not a valid {0} name",t)};return s(t,"module"),o&&e.hasOwnProperty(t)&&(e[t]=null),n(e,t,function(){function e(e,t,n,r){return r||(r=i),function(){return r[n||"push"]([e,t,arguments]),c}}function n(e,n){return function(r,o){return o&&C(o)&&(o.$$moduleName=t),i.push([e,n,arguments]),c}}if(!o)throw r("nomod","Module '{0}' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.",t);var i=[],s=[],u=[],l=e("$injector","invoke","push",s),c={_invokeQueue:i,_configBlocks:s,_runBlocks:u,requires:o,name:t,provider:n("$provide","provider"),factory:n("$provide","factory"),service:n("$provide","service"),value:e("$provide","value"),constant:e("$provide","constant","unshift"),decorator:n("$provide","decorator"),animation:n("$animateProvider","register"),filter:n("$filterProvider","register"),controller:n("$controllerProvider","register"),directive:n("$compileProvider","directive"),component:n("$compileProvider","component"),config:l,run:function(e){return u.push(e),this}};return a&&l(a),c})}})}function ve(e){var t=[];return JSON.stringify(e,function(e,n){if(n=Y(e,n),y(n)){if(t.indexOf(n)>=0)return"...";t.push(n)}return n})}function $e(e){return"function"==typeof e?e.toString().replace(/ \{[\s\S]*$/,""):v(e)?"undefined":"string"!=typeof e?ve(e):e}function ye(n){l(n,{bootstrap:oe,copy:R,extend:l,merge:c,equals:V,element:Ir,forEach:r,injector:nt,noop:h,bind:q,toJson:W,fromJson:B,identity:p,isUndefined:v,isDefined:$,isString:w,isFunction:C,isObject:y,isNumber:x,isElement:I,isArray:Wr,version:ui,isDate:k,lowercase:Tr,uppercase:Ar,callbacks:{counter:0},getTestability:se,$$minErr:t,$$csp:Qr,reloadWithDebugInfo:ae}),(jr=ge(e))("ng",["ngLocale"],["$provide",function(e){e.provider({$$sanitizeUri:kn}),e.provider("$compile",ht).directive({a:Ao,input:Qo,textarea:Qo,form:Po,script:Ya,select:Ga,style:Qa,option:Za,ngBind:Ko,ngBindHtml:ta,ngBindTemplate:ea,ngClass:ra,ngClassEven:oa,ngClassOdd:ia,ngCloak:aa,ngController:sa,ngForm:jo,ngHide:La,ngIf:ca,ngInclude:fa,ngInit:ha,ngNonBindable:Ma,ngPluralize:Fa,ngRepeat:Na,ngShow:ja,ngStyle:Ra,ngSwitch:Ua,ngSwitchWhen:Va,ngSwitchDefault:za,ngOptions:Oa,ngTransclude:qa,ngModel:_a,ngList:pa,ngChange:na,pattern:Xa,ngPattern:Xa,required:Ja,ngRequired:Ja,minlength:es,ngMinlength:es,maxlength:Ka,ngMaxlength:Ka,ngValue:Xo,ngModelOptions:Da}).directive({ngInclude:da}).directive(Oo).directive(ua),e.provider({$anchorScroll:rt,$animate:Ri,$animateCss:zi,$$animateJs:ji,$$animateQueue:Li,$$AnimateRunner:Vi,$$animateAsyncRun:Ui,$browser:lt,$cacheFactory:ct,$controller:yt,$document:bt,$exceptionHandler:wt,$filter:jn,$$forceReflow:Gi,$interpolate:It,$interval:Pt,$http:At,$httpParamSerializer:kt,$httpParamSerializerJQLike:Ct,$httpBackend:Ft,$xhrFactory:Ot,$location:Qt,$log:Jt,$parse:vn,$rootScope:xn,$q:$n,$$q:yn,$sce:En,$sceDelegate:_n,$sniffer:Dn,$templateCache:ft,$templateRequest:Mn,$$testability:Tn,$timeout:An,$window:Nn,$$rAF:wn,$$jqLite:Qe,$$HashMap:Ei,$$cookieReader:Pn})}])}function be(){return++ci}function we(e){return e.replace(hi,function(e,t,n,r){return r?n.toUpperCase():n}).replace(pi,"Moz$1")}function xe(e){return!$i.test(e)}function ke(e){var t=e.nodeType;return t===ni||!t||t===ai}function Ce(e){for(var t in li[e.ng339])return!0;return!1}function Se(e){for(var t=0,n=e.length;n>t;t++)Fe(e[t])}function _e(e,t){var n,i,o,a,s=t.createDocumentFragment(),u=[];if(xe(e))u.push(t.createTextNode(e));else{for(n=n||s.appendChild(t.createElement("div")),i=(yi.exec(e)||["",""])[1].toLowerCase(),o=wi[i]||wi._default,n.innerHTML=o[1]+e.replace(bi,"<$1>")+o[2],a=o[0];a--;)n=n.lastChild;u=z(u,n.childNodes),n=s.firstChild,n.textContent=""}return s.textContent="",s.innerHTML="",r(u,function(e){s.appendChild(e)}),s}function Ee(t,n){n=n||e.document;var r;return(r=vi.exec(t))?[n.createElement(r[1])]:(r=_e(t,n))?r.childNodes:[]}function De(e,t){var n=e.parentNode;n&&n.replaceChild(t,e),t.appendChild(e)}function Me(e){if(e instanceof Me)return e;var t;if(w(e)&&(e=Gr(e),t=!0),!(this instanceof Me)){if(t&&"<"!=e.charAt(0))throw gi("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new Me(e)}t?Re(this,Ee(e)):Re(this,e)}function Te(e){return e.cloneNode(!0)}function Ae(e,t){if(t||Fe(e),e.querySelectorAll)for(var n=e.querySelectorAll("*"),r=0,i=n.length;i>r;r++)Fe(n[r])}function Oe(e,t,n,i){if($(i))throw gi("offargs","jqLite#off() does not support the `selector` argument");var o=Ne(e),a=o&&o.events,s=o&&o.handle;if(s)if(t){var u=function(t){var r=a[t];$(n)&&L(r||[],n),$(n)&&r&&r.length>0||(di(e,t,s),delete a[t])};r(t.split(" "),function(e){u(e),mi[e]&&u(mi[e])})}else for(t in a)"$destroy"!==t&&di(e,t,s),delete a[t]}function Fe(e,t){var n=e.ng339,r=n&&li[n];if(r){if(t)return void delete r.data[t];r.handle&&(r.events.$destroy&&r.handle({},"$destroy"),Oe(e)),delete li[n],e.ng339=void 0}}function Ne(e,t){var n=e.ng339,r=n&&li[n];return t&&!r&&(e.ng339=n=be(),r=li[n]={events:{},data:{},handle:void 0}),r}function Ie(e,t,n){if(ke(e)){var r=$(n),i=!r&&t&&!y(t),o=!t,a=Ne(e,!i),s=a&&a.data;if(r)s[t]=n;else{if(o)return s;if(i)return s&&s[t];l(s,t)}}}function Pe(e,t){return e.getAttribute?(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+t+" ")>-1:!1}function je(e,t){t&&e.setAttribute&&r(t.split(" "),function(t){e.setAttribute("class",Gr((" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").replace(" "+Gr(t)+" "," ")))})}function Le(e,t){if(t&&e.setAttribute){var n=(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ");r(t.split(" "),function(e){e=Gr(e),-1===n.indexOf(" "+e+" ")&&(n+=e+" ")}),e.setAttribute("class",Gr(n))}}function Re(e,t){if(t)if(t.nodeType)e[e.length++]=t;else{var n=t.length;if("number"==typeof n&&t.window!==t){if(n)for(var r=0;n>r;r++)e[e.length++]=t[r]}else e[e.length++]=t}}function Ue(e,t){return Ve(e,"$"+(t||"ngController")+"Controller")}function Ve(e,t,n){e.nodeType==ai&&(e=e.documentElement);for(var r=Wr(t)?t:[t];e;){for(var i=0,o=r.length;o>i;i++)if($(n=Ir.data(e,r[i])))return n;e=e.parentNode||e.nodeType===si&&e.host}}function ze(e){for(Ae(e,!0);e.firstChild;)e.removeChild(e.firstChild)}function He(e,t){t||Ae(e);var n=e.parentNode;n&&n.removeChild(e)}function qe(t,n){n=n||e,"complete"===n.document.readyState?n.setTimeout(t):Ir(n).on("load",t)}function Ye(e,t){var n=Ci[t.toLowerCase()];return n&&Si[j(e)]&&n}function We(e){return _i[e]}function Be(e,t){var n=function(n,r){n.isDefaultPrevented=function(){return n.defaultPrevented};var i=t[r||n.type],o=i?i.length:0;if(o){if(v(n.immediatePropagationStopped)){var a=n.stopImmediatePropagation;n.stopImmediatePropagation=function(){n.immediatePropagationStopped=!0,n.stopPropagation&&n.stopPropagation(),a&&a.call(n)}}n.isImmediatePropagationStopped=function(){return n.immediatePropagationStopped===!0};var s=i.specialHandlerWrapper||Ge;o>1&&(i=U(i));for(var u=0;o>u;u++)n.isImmediatePropagationStopped()||s(e,n,i[u])}};return n.elem=e,n}function Ge(e,t,n){n.call(e,t)}function Ze(e,t,n){var r=t.relatedTarget;r&&(r===e||xi.call(e,r))||n.call(e,t)}function Qe(){this.$get=function(){return l(Me,{hasClass:function(e,t){return e.attr&&(e=e[0]),Pe(e,t)},addClass:function(e,t){return e.attr&&(e=e[0]),Le(e,t)},removeClass:function(e,t){return e.attr&&(e=e[0]),je(e,t)}})}}function Je(e,t){var n=e&&e.$$hashKey;if(n)return"function"==typeof n&&(n=e.$$hashKey()),n;var r=typeof e;return n="function"==r||"object"==r&&null!==e?e.$$hashKey=r+":"+(t||a)():r+":"+e}function Xe(e,t){if(t){var n=0;this.nextUid=function(){return++n}}r(e,this.put,this)}function Ke(e){var t=Function.prototype.toString.call(e).replace(Oi,""),n=t.match(Di)||t.match(Mi);return n}function et(e){var t=Ke(e);return t?"function("+(t[1]||"").replace(/[\s\r\n]+/," ")+")":"fn"}function tt(e,t,n){var i,o,a;if("function"==typeof e){if(!(i=e.$inject)){if(i=[],e.length){if(t)throw w(n)&&n||(n=e.name||et(e)),Fi("strictdi","{0} is not using explicit annotation and cannot be invoked in strict mode",n);o=Ke(e),r(o[1].split(Ti),function(e){e.replace(Ai,function(e,t,n){i.push(n)})})}e.$inject=i}}else Wr(e)?(a=e.length-1,fe(e[a],"fn"),i=e.slice(0,a)):fe(e,"fn",!0);return i}function nt(e,t){function n(e){return function(t,n){return y(t)?void r(t,o(e)):e(t,n)}}function i(e,t){if(de(e,"service"),(C(t)||Wr(t))&&(t=k.instantiate(t)),!t.$get)throw Fi("pget","Provider '{0}' must define $get factory method.",e);return x[e+g]=t}function a(e,t){return function(){var n=E.invoke(t,this);if(v(n))throw Fi("undef","Provider '{0}' must return a value from $get factory method.",e);return n}}function s(e,t,n){return i(e,{$get:n!==!1?a(e,t):t})}function u(e,t){return s(e,["$injector",function(e){return e.instantiate(t)}])}function l(e,t){return s(e,m(t),!1)}function c(e,t){de(e,"constant"),x[e]=t,S[e]=t}function f(e,t){var n=k.get(e+g),r=n.$get;n.$get=function(){var e=E.invoke(r,n);return E.invoke(t,null,{$delegate:e})}}function d(e){ce(v(e)||Wr(e),"modulesToLoad","not an array");var t,n=[];return r(e,function(e){function r(e){var t,n;for(t=0,n=e.length;n>t;t++){var r=e[t],i=k.get(r[0]);i[r[1]].apply(i,r[2])}}if(!b.get(e)){b.put(e,!0);try{w(e)?(t=jr(e),n=n.concat(d(t.requires)).concat(t._runBlocks),r(t._invokeQueue),r(t._configBlocks)):C(e)?n.push(k.invoke(e)):Wr(e)?n.push(k.invoke(e)):fe(e,"module")}catch(i){throw Wr(e)&&(e=e[e.length-1]),i.message&&i.stack&&-1==i.stack.indexOf(i.message)&&(i=i.message+"\n"+i.stack),Fi("modulerr","Failed to instantiate module {0} due to:\n{1}",e,i.stack||i.message||i)}}}),n}function h(e,n){function r(t,r){if(e.hasOwnProperty(t)){if(e[t]===p)throw Fi("cdep","Circular dependency found: {0}",t+" <- "+$.join(" <- "));return e[t]}try{return $.unshift(t),e[t]=p,e[t]=n(t,r)}catch(i){throw e[t]===p&&delete e[t],i}finally{$.shift()}}function i(e,n,i){for(var o=[],a=nt.$$annotate(e,t,i),s=0,u=a.length;u>s;s++){var l=a[s];if("string"!=typeof l)throw Fi("itkn","Incorrect injection token! Expected service name as string, got {0}",l);o.push(n&&n.hasOwnProperty(l)?n[l]:r(l,i))}return o}function o(e){return 11>=Nr?!1:"function"==typeof e&&/^(?:class\s|constructor\()/.test(Function.prototype.toString.call(e))}function a(e,t,n,r){"string"==typeof n&&(r=n,n=null);var a=i(e,n,r);return Wr(e)&&(e=e[e.length-1]),o(e)?(a.unshift(null),new(Function.prototype.bind.apply(e,a))):e.apply(t,a)}function s(e,t,n){var r=Wr(e)?e[e.length-1]:e,o=i(e,t,n);return o.unshift(null),new(Function.prototype.bind.apply(r,o))}return{invoke:a,instantiate:s,get:r,annotate:nt.$$annotate,has:function(t){return x.hasOwnProperty(t+g)||e.hasOwnProperty(t)}}}t=t===!0;var p={},g="Provider",$=[],b=new Xe([],!0),x={$provide:{provider:n(i),factory:n(s),service:n(u),value:n(l),constant:n(c),decorator:f}},k=x.$injector=h(x,function(e,t){throw qr.isString(t)&&$.push(t),Fi("unpr","Unknown provider: {0}",$.join(" <- "))}),S={},_=h(S,function(e,t){var n=k.get(e+g,t);return E.invoke(n.$get,n,void 0,e)}),E=_;x["$injector"+g]={$get:m(_)};var D=d(e);return E=_.get("$injector"),E.strictDi=t,r(D,function(e){e&&E.invoke(e)}),E}function rt(){var e=!0;this.disableAutoScrolling=function(){e=!1},this.$get=["$window","$location","$rootScope",function(t,n,r){function i(e){var t=null;return Array.prototype.some.call(e,function(e){return"a"===j(e)?(t=e,!0):void 0}),t}function o(){var e=s.yOffset;if(C(e))e=e();else if(I(e)){ -var n=e[0],r=t.getComputedStyle(n);e="fixed"!==r.position?0:n.getBoundingClientRect().bottom}else x(e)||(e=0);return e}function a(e){if(e){e.scrollIntoView();var n=o();if(n){var r=e.getBoundingClientRect().top;t.scrollBy(0,r-n)}}else t.scrollTo(0,0)}function s(e){e=w(e)?e:n.hash();var t;e?(t=u.getElementById(e))?a(t):(t=i(u.getElementsByName(e)))?a(t):"top"===e&&a(null):a(null)}var u=t.document;return e&&r.$watch(function(){return n.hash()},function(e,t){e===t&&""===e||qe(function(){r.$evalAsync(s)})}),s}]}function it(e,t){return e||t?e?t?(Wr(e)&&(e=e.join(" ")),Wr(t)&&(t=t.join(" ")),e+" "+t):e:t:""}function ot(e){for(var t=0;tc&&this.remove(h.key),t}},get:function(e){if(ce;++e)ge[e]();ge=void 0})}finally{ye++}}function F(e,t){if(t){var n,r,i,o=Object.keys(t);for(n=0,r=o.length;r>n;n++)i=o[n],this[i]=t[i]}else this.$attr={};this.$$element=e}function N(e,t,n){$e.innerHTML="";var r=$e.firstChild.attributes,i=r[0];r.removeNamedItem(i.name),i.value=n,e.attributes.setNamedItem(i)}function I(e,t){try{e.addClass(t)}catch(n){}}function P(t,n,r,i,o){t instanceof Ir||(t=Ir(t));for(var a=/\S+/,s=0,u=t.length;u>s;s++){var l=t[s];l.nodeType===ii&&l.nodeValue.match(a)&&De(l,t[s]=e.document.createElement("span"))}var c=U(t,n,t,r,i,o);P.$$addScopeClass(t);var f=null;return function(e,n,r){ce(e,"scope"),o&&o.needsNewScope&&(e=e.$parent.$new()),r=r||{};var i=r.parentBoundTranscludeFn,a=r.transcludeControllers,s=r.futureParentElement;i&&i.$$boundTransclude&&(i=i.$$boundTransclude),f||(f=R(s));var u;if(u="html"!==f?Ir(ae(f,Ir("
    ").append(t).html())):n?ki.clone.call(t):t,a)for(var l in a)u.data("$"+l+"Controller",a[l].instance);return P.$$addScopeInfo(u,e),n&&n(u,e),c&&c(e,u,u,i),u}}function R(e){var t=e&&e[0];return t&&"foreignobject"!==j(t)&&Vr.call(t).match(/SVG/)?"svg":"html"}function U(e,t,n,r,i,o){function a(e,n,r,i){var o,a,s,u,l,c,f,d,m;if(h){var g=n.length;for(m=new Array(g),l=0;ll;)s=m[p[l++]],o=p[l++],a=p[l++],o?(o.scope?(u=e.$new(),P.$$addScopeInfo(Ir(s),u)):u=e,d=o.transcludeOnThisElement?z(e,o.transclude,i):!o.templateOnThisElement&&i?i:!i&&t?z(e,t):null,o(a,u,s,r,d)):a&&a(e,s.childNodes,void 0,i)}for(var s,u,l,c,f,d,h,p=[],m=0;m$;$++){var x=!1,k=!1;l=v[$],c=l.name,p=Gr(l.value),h=mt(c),(m=Ce.test(h))&&(c=c.replace(Yi,"").substr(8).replace(/_(.)/g,function(e,t){return t.toUpperCase()}));var C=h.match(Se);C&&ee(C[1])&&(x=c,k=c.substr(0,c.length-5)+"end",c=c.substr(0,c.length-6)),d=mt(c.toLowerCase()),u[d]=c,!m&&n.hasOwnProperty(d)||(n[d]=p,Ye(e,d)&&(n[d]=!0)),le(e,t,p,d,m),K(t,d,"A",r,i,x,k)}if(a=e.className,y(a)&&(a=a.animVal),w(a)&&""!==a)for(;o=g.exec(a);)d=mt(o[2]),K(t,d,"C",r,i)&&(n[d]=Gr(o[3])),a=a.substr(o.index+o[0].length);break;case ii:if(11===Nr)for(;e.parentNode&&e.nextSibling&&e.nextSibling.nodeType===ii;)e.nodeValue=e.nodeValue+e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);oe(t,e.nodeValue);break;case oi:try{o=f.exec(e.nodeValue),o&&(d=mt(o[1]),K(t,d,"M",r,i)&&(n[d]=Gr(o[2])))}catch(S){}}return t.sort(re),t}function Y(e,t,n){var r=[],i=0;if(t&&e.hasAttribute&&e.hasAttribute(t)){do{if(!e)throw Hi("uterdir","Unterminated attribute, found '{0}' but no matching '{1}' found.",t,n);e.nodeType==ni&&(e.hasAttribute(t)&&i++,e.hasAttribute(n)&&i--),r.push(e),e=e.nextSibling}while(i>0)}else r.push(e);return Ir(r)}function W(e,t,n){return function(r,i,o,a,s){return i=Y(i[0],t,n),e(r,i,o,a,s)}}function B(e,t,n,r,i,o){var a;return e?P(t,n,r,i,o):function(){return a||(a=P(t,n,r,i,o),t=n=o=null),a.apply(this,arguments)}}function G(e,t,n,o,a,s,u,c,f){function d(e,t,n,r){e&&(n&&(e=W(e,n,r)),e.require=p.require,e.directiveName=m,(S===p||p.$$isolateScope)&&(e=de(e,{isolateScope:!0})),u.push(e)),t&&(n&&(t=W(t,n,r)),t.require=p.require,t.directiveName=m,(S===p||p.$$isolateScope)&&(t=de(t,{isolateScope:!0})),c.push(t))}function h(e,i,o,a,s){function f(e,t,n,r){var i;if(E(e)||(r=n,n=t,t=e,e=void 0),A&&(i=$),n||(n=A?w.parent():w),!r)return s(e,t,i,n,L);var o=s.$$slots[r];if(o)return o(e,t,i,n,L);if(v(o))throw Hi("noslot",'No parent directive that requires a transclusion with slot name "{0}". Element: {1}',r,J(w))}var d,h,p,m,g,$,b,w,D,M;t===o?(D=n,w=n.$$element):(w=Ir(o),D=new F(w,n)),g=i,S?m=i.$new(!0):x&&(g=i.$parent),s&&(b=f,b.$$boundTransclude=s,b.isSlotFilled=function(e){return!!s.$$slots[e]}),k&&($=Q(w,D,b,k,m,i,S)),S&&(P.$$addScopeInfo(w,m,!0,!(_&&(_===S||_===S.$$originalDirective))),P.$$addScopeClass(w,!0),m.$$isolateBindings=S.$$isolateBindings,M=pe(i,D,m,m.$$isolateBindings,S),M.removeWatches&&m.$on("$destroy",M.removeWatches));for(var T in $){var O=k[T],N=$[T],I=O.$$bindings.bindToController;N.identifier&&I?N.bindingInfo=pe(g,D,N.instance,I,O):N.bindingInfo={};var j=N();j!==N.instance&&(N.instance=j,w.data("$"+O.name+"Controller",j),N.bindingInfo.removeWatches&&N.bindingInfo.removeWatches(),N.bindingInfo=pe(g,D,N.instance,I,O))}for(r(k,function(e,t){var n=e.require;e.bindToController&&!Wr(n)&&y(n)&&l($[t].instance,Z(t,n,w,$))}),r($,function(e){var t=e.instance;C(t.$onChanges)&&t.$onChanges(e.bindingInfo.initialChanges),C(t.$onInit)&&t.$onInit(),C(t.$onDestroy)&&g.$on("$destroy",function(){t.$onDestroy()})}),d=0,h=u.length;h>d;d++)p=u[d],he(p,p.isolateScope?m:i,w,D,p.require&&Z(p.directiveName,p.require,w,$),b);var L=i;for(S&&(S.template||null===S.templateUrl)&&(L=m),e&&e(L,o.childNodes,void 0,s),d=c.length-1;d>=0;d--)p=c[d],he(p,p.isolateScope?m:i,w,D,p.require&&Z(p.directiveName,p.require,w,$),b);r($,function(e){var t=e.instance;C(t.$postLink)&&t.$postLink()})}f=f||{};for(var p,m,g,$,b,w=-Number.MAX_VALUE,x=f.newScopeDirective,k=f.controllerDirectives,S=f.newIsolateScopeDirective,_=f.templateDirective,D=f.nonTlbTranscludeDirective,M=!1,T=!1,A=f.hasElementTranscludeDirective,O=n.$$element=Ir(t),N=s,I=o,L=!1,R=!1,U=0,V=e.length;V>U;U++){p=e[U];var z=p.$$start,G=p.$$end;if(z&&(O=Y(t,z,G)),g=void 0,w>p.priority)break;if((b=p.scope)&&(p.templateUrl||(y(b)?(ie("new/isolated scope",S||x,p,O),S=p):ie("new/isolated scope",S,p,O)),x=x||p),m=p.name,!L&&(p.replace&&(p.templateUrl||p.template)||p.transclude&&!p.$$tlb)){for(var K,ee=U+1;K=e[ee++];)if(K.transclude&&!K.$$tlb||K.replace&&(K.templateUrl||K.template)){R=!0;break}L=!0}if(!p.templateUrl&&p.controller&&(b=p.controller,k=k||me(),ie("'"+m+"' controller",k[m],p,O),k[m]=p),b=p.transclude)if(M=!0,p.$$tlb||(ie("transclusion",D,p,O),D=p),"element"==b)A=!0,w=p.priority,g=O,O=n.$$element=Ir(P.$$createComment(m,n[m])),t=O[0],fe(a,H(g),t),g[0].$$parentNode=g[0].parentNode,I=B(R,g,o,w,N&&N.name,{nonTlbTranscludeDirective:D});else{var re=me();if(g=Ir(Te(t)).contents(),y(b)){g=[];var oe=me(),se=me();r(b,function(e,t){var n="?"===e.charAt(0);e=n?e.substring(1):e,oe[e]=t,re[t]=null,se[t]=n}),r(O.contents(),function(e){var t=oe[mt(j(e))];t?(se[t]=!0,re[t]=re[t]||[],re[t].push(e)):g.push(e)}),r(se,function(e,t){if(!e)throw Hi("reqslot","Required transclusion slot `{0}` was not filled.",t)});for(var ue in re)re[ue]&&(re[ue]=B(R,re[ue],o))}O.empty(),I=B(R,g,o,void 0,void 0,{needsNewScope:p.$$isolateScope||p.$$newScope}),I.$$slots=re}if(p.template)if(T=!0,ie("template",_,p,O),_=p,b=C(p.template)?p.template(O,n):p.template,b=ke(b),p.replace){if(N=p,g=xe(b)?[]:vt(ae(p.templateNamespace,Gr(b))),t=g[0],1!=g.length||t.nodeType!==ni)throw Hi("tplrt","Template for directive '{0}' must have exactly one root element. {1}",m,"");fe(a,O,t);var le={$attr:{}},ce=q(t,[],le),ge=e.splice(U+1,e.length-(U+1));(S||x)&&X(ce,S,x),e=e.concat(ce).concat(ge),te(n,le),V=e.length}else O.html(b);if(p.templateUrl)T=!0,ie("template",_,p,O),_=p,p.replace&&(N=p),h=ne(e.splice(U,e.length-U),O,n,a,M&&I,u,c,{controllerDirectives:k,newScopeDirective:x!==p&&x,newIsolateScopeDirective:S,templateDirective:_,nonTlbTranscludeDirective:D}),V=e.length;else if(p.compile)try{$=p.compile(O,n,I),C($)?d(null,$,z,G):$&&d($.pre,$.post,z,G)}catch(ve){i(ve,J(O))}p.terminal&&(h.terminal=!0,w=Math.max(w,p.priority))}return h.scope=x&&x.scope===!0,h.transcludeOnThisElement=M,h.templateOnThisElement=T,h.transclude=I,f.hasElementTranscludeDirective=A,h}function Z(e,t,n,i){var o;if(w(t)){var a=t.match(x),s=t.substring(a[0].length),u=a[1]||a[3],l="?"===a[2];if("^^"===u?n=n.parent():(o=i&&i[s],o=o&&o.instance),!o){var c="$"+s+"Controller";o=u?n.inheritedData(c):n.data(c)}if(!o&&!l)throw Hi("ctreq","Controller '{0}', required by directive '{1}', can't be found!",s,e)}else if(Wr(t)){o=[];for(var f=0,d=t.length;d>f;f++)o[f]=Z(e,t[f],n,i)}else y(t)&&(o={},r(t,function(t,r){o[r]=Z(e,t,n,i)}));return o||null}function Q(e,t,n,r,i,o,a){var s=me();for(var u in r){var l=r[u],c={$scope:l===a||l.$$isolateScope?i:o,$element:e,$attrs:t,$transclude:n},f=l.controller;"@"==f&&(f=t[l.name]);var d=m(f,c,!0,l.controllerAs);s[l.name]=d,e.data("$"+l.name+"Controller",d.instance)}return s}function X(e,t,n){for(var r=0,i=e.length;i>r;r++)e[r]=d(e[r],{$$isolateScope:t,$$newScope:n})}function K(e,n,r,o,s,l,f){if(n===s)return null;var h=null;if(u.hasOwnProperty(n))for(var p,m=t.get(n+c),g=0,$=m.length;$>g;g++)try{if(p=m[g],(v(o)||o>p.priority)&&-1!=p.restrict.indexOf(r)){if(l&&(p=d(p,{$$start:l,$$end:f})),!p.$$bindings){var b=p.$$bindings=a(p,p.name);y(b.isolateScope)&&(p.$$isolateBindings=b.isolateScope)}e.push(p),h=p}}catch(w){i(w)}return h}function ee(e){if(u.hasOwnProperty(e))for(var n,r=t.get(e+c),i=0,o=r.length;o>i;i++)if(n=r[i],n.multiElement)return!0;return!1}function te(e,t){var n=t.$attr,i=e.$attr,o=e.$$element;r(e,function(r,i){"$"!=i.charAt(0)&&(t[i]&&t[i]!==r&&(r+=("style"===i?";":" ")+t[i]),e.$set(i,r,!0,n[i]))}),r(t,function(t,r){"class"==r?(I(o,t),e["class"]=(e["class"]?e["class"]+" ":"")+t):"style"==r?(o.attr("style",o.attr("style")+";"+t),e.style=(e.style?e.style+";":"")+t):"$"==r.charAt(0)||e.hasOwnProperty(r)||(e[r]=t,i[r]=n[r])})}function ne(e,t,n,i,a,s,u,l){var c,f,h=[],p=t[0],m=e.shift(),g=d(m,{templateUrl:null,transclude:null,replace:null,$$originalDirective:m}),v=C(m.templateUrl)?m.templateUrl(t,n):m.templateUrl,$=m.templateNamespace;return t.empty(),o(v).then(function(o){var d,b,w,x;if(o=ke(o),m.replace){if(w=xe(o)?[]:vt(ae($,Gr(o))),d=w[0],1!=w.length||d.nodeType!==ni)throw Hi("tplrt","Template for directive '{0}' must have exactly one root element. {1}",m.name,v);b={$attr:{}},fe(i,t,d);var k=q(d,[],b);y(m.scope)&&X(k,!0),e=k.concat(e),te(n,b)}else d=p,t.html(o);for(e.unshift(g),c=G(e,d,n,a,t,m,s,u,l),r(i,function(e,n){e==d&&(i[n]=t[0])}),f=U(t[0].childNodes,a);h.length;){var C=h.shift(),S=h.shift(),_=h.shift(),E=h.shift(),D=t[0];if(!C.$$destroyed){if(S!==p){var M=S.className;l.hasElementTranscludeDirective&&m.replace||(D=Te(d)),fe(_,Ir(S),D),I(Ir(D),M)}x=c.transcludeOnThisElement?z(C,c.transclude,E):E,c(f,C,D,i,x)}}h=null}),function(e,t,n,r,i){var o=i;t.$$destroyed||(h?h.push(t,n,r,o):(c.transcludeOnThisElement&&(o=z(t,c.transclude,i)),c(f,t,n,r,o)))}}function re(e,t){var n=t.priority-e.priority;return 0!==n?n:e.name!==t.name?e.name"+n+"",r.childNodes[0].childNodes;default:return n}}function se(e,t){if("srcdoc"==t)return S.HTML;var n=j(e);return"xlinkHref"==t||"form"==n&&"action"==t||"img"!=n&&("src"==t||"ngSrc"==t)?S.RESOURCE_URL:void 0}function le(e,t,r,i,o){var a=se(e,i);o=b[i]||o;var s=n(r,!0,a,o);if(s){if("multiple"===i&&"select"===j(e))throw Hi("selmulti","Binding to the 'multiple' attribute is not supported. Element: {0}",J(e));t.push({priority:100,compile:function(){return{pre:function(e,t,u){var l=u.$$observers||(u.$$observers=me());if(k.test(i))throw Hi("nodomevents","Interpolations for HTML DOM event attributes are disallowed. Please use the ng- versions (such as ng-click instead of onclick) instead.");var c=u[i];c!==r&&(s=c&&n(c,!0,a,o),r=c),s&&(u[i]=s(e),(l[i]||(l[i]=[])).$$inter=!0,(u.$$observers&&u.$$observers[i].$$scope||e).$watch(s,function(e,t){"class"===i&&e!=t?u.$updateClass(e,t):u.$set(i,e)}))}}}})}}function fe(t,n,r){var i,o,a=n[0],s=n.length,u=a.parentNode;if(t)for(i=0,o=t.length;o>i;i++)if(t[i]==a){t[i++]=r;for(var l=i,c=l+s-1,f=t.length;f>l;l++,c++)f>c?t[l]=t[c]:delete t[l];t.length-=s-1,t.context===a&&(t.context=r);break}u&&u.replaceChild(r,a);var d=e.document.createDocumentFragment();for(i=0;s>i;i++)d.appendChild(n[i]);for(Ir.hasData(a)&&(Ir.data(r,Ir.data(a)),Ir(a).off("$destroy")),Ir.cleanData(d.querySelectorAll("*")),i=1;s>i;i++)delete n[i];n[0]=r,n.length=1}function de(e,t){return l(function(){return e.apply(null,arguments)},e,t)}function he(e,t,n,r,o,a){try{e(t,n,r,o,a)}catch(s){i(s,J(n))}}function pe(e,t,i,o,a){function u(t,n,r){C(i.$onChanges)&&n!==r&&(ge||(e.$$postDigest(O),ge=[]),c||(c={},ge.push(l)),c[t]&&(r=c[t].previousValue),c[t]=new pt(r,n))}function l(){i.$onChanges(c),c=void 0}var c,f=[],d={};return r(o,function(r,o){var l,c,p,m,g,v=r.attrName,$=r.optional,y=r.mode;switch(y){case"@":$||Mr.call(t,v)||(i[o]=t[v]=void 0),t.$observe(v,function(e){if(w(e)||A(e)){var t=i[o];u(o,e,t),i[o]=e}}),t.$$observers[v].$$scope=e,l=t[v],w(l)?i[o]=n(l)(e):A(l)&&(i[o]=l),d[o]=new pt(qi,i[o]);break;case"=":if(!Mr.call(t,v)){if($)break;t[v]=void 0}if($&&!t[v])break;c=s(t[v]),m=c.literal?V:function(e,t){return e===t||e!==e&&t!==t},p=c.assign||function(){throw l=i[o]=c(e),Hi("nonassign","Expression '{0}' in attribute '{1}' used with directive '{2}' is non-assignable!",t[v],v,a.name)},l=i[o]=c(e);var b=function(t){return m(t,i[o])||(m(t,l)?p(e,t=i[o]):i[o]=t),l=t};b.$stateful=!0,g=r.collection?e.$watchCollection(t[v],b):e.$watch(s(t[v],b),null,c.literal),f.push(g);break;case"<":if(!Mr.call(t,v)){if($)break;t[v]=void 0}if($&&!t[v])break;c=s(t[v]),i[o]=c(e),d[o]=new pt(qi,i[o]),g=e.$watch(c,function(e,t){e===t&&(t=i[o]),u(o,e,t),i[o]=e},c.literal),f.push(g);break;case"&":if(c=t.hasOwnProperty(v)?s(t[v]):h,c===h&&$)break;i[o]=function(t){return c(e,t)}}}),{initialChanges:d,removeWatches:f.length&&function(){for(var e=0,t=f.length;t>e;++e)f[e]()}}}var ge,ve=/^\w/,$e=e.document.createElement("div"),ye=D;F.prototype={$normalize:mt,$addClass:function(e){e&&e.length>0&&M.addClass(this.$$element,e)},$removeClass:function(e){e&&e.length>0&&M.removeClass(this.$$element,e)},$updateClass:function(e,t){var n=gt(e,t);n&&n.length&&M.addClass(this.$$element,n);var r=gt(t,e);r&&r.length&&M.removeClass(this.$$element,r)},$set:function(e,t,n,o){var a,s=this.$$element[0],u=Ye(s,e),l=We(e),c=e;if(u?(this.$$element.prop(e,t),o=u):l&&(this[l]=t,c=l),this[e]=t,o?this.$attr[e]=o:(o=this.$attr[e],o||(this.$attr[e]=o=ue(e,"-"))),a=j(this.$$element),"a"===a&&("href"===e||"xlinkHref"===e)||"img"===a&&"src"===e)this[e]=t=T(t,"src"===e);else if("img"===a&&"srcset"===e){for(var f="",d=Gr(t),h=/(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/,p=/\s/.test(d)?h:/(,)/,m=d.split(p),g=Math.floor(m.length/2),$=0;g>$;$++){var y=2*$;f+=T(Gr(m[y]),!0),f+=" "+Gr(m[y+1])}var b=Gr(m[2*$]).split(/\s/);f+=T(Gr(b[0]),!0),2===b.length&&(f+=" "+Gr(b[1])),this[e]=t=f}n!==!1&&(null===t||v(t)?this.$$element.removeAttr(o):ve.test(o)?this.$$element.attr(o,t):N(this.$$element[0],o,t));var w=this.$$observers;w&&r(w[c],function(e){try{e(t)}catch(n){i(n)}})},$observe:function(e,t){var n=this,r=n.$$observers||(n.$$observers=me()),i=r[e]||(r[e]=[]);return i.push(t),$.$evalAsync(function(){i.$$inter||!n.hasOwnProperty(e)||v(n[e])||t(n[e])}),function(){L(i,t)}}};var be=n.startSymbol(),we=n.endSymbol(),ke="{{"==be&&"}}"==we?p:function(e){return e.replace(/\{\{/g,be).replace(/}}/g,we)},Ce=/^ngAttr[A-Z]/,Se=/^(.+)Start$/;return P.$$addBindingInfo=_?function(e,t){var n=e.data("$binding")||[];Wr(t)?n=n.concat(t):n.push(t),e.data("$binding",n)}:h,P.$$addBindingClass=_?function(e){I(e,"ng-binding")}:h,P.$$addScopeInfo=_?function(e,t,n,r){var i=n?r?"$isolateScopeNoTemplate":"$isolateScope":"$scope";e.data(i,t)}:h,P.$$addScopeClass=_?function(e,t){I(e,t?"ng-isolate-scope":"ng-scope")}:h,P.$$createComment=function(t,n){var r="";return _&&(r=" "+(t||"")+": "+(n||"")+" "),e.document.createComment(r)},P}]}function pt(e,t){this.previousValue=e,this.currentValue=t}function mt(e){return we(e.replace(Yi,""))}function gt(e,t){var n="",r=e.split(/\s+/),i=t.split(/\s+/);e:for(var o=0;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===oi&&Rr.call(e,t,1)}return e}function $t(e,t){if(t&&w(t))return t;if(w(e)){var n=Bi.exec(e);if(n)return n[3]}}function yt(){var e={},n=!1;this.has=function(t){return e.hasOwnProperty(t)},this.register=function(t,n){de(t,"controller"),y(t)?l(e,t):e[t]=n},this.allowGlobals=function(){n=!0},this.$get=["$injector","$window",function(r,i){function o(e,n,r,i){if(!e||!y(e.$scope))throw t("$controller")("noscp","Cannot export controller '{0}' as '{1}'! No $scope object provided via `locals`.",i,n);e.$scope[n]=r}return function(t,a,s,u){var c,f,d,h;if(s=s===!0,u&&w(u)&&(h=u),w(t)){if(f=t.match(Bi),!f)throw Wi("ctrlfmt","Badly formed controller string '{0}'. Must match `__name__ as __id__` or `__name__`.",t);d=f[1],h=h||f[3],t=e.hasOwnProperty(d)?e[d]:he(a.$scope,d,!0)||(n?he(i,d,!0):void 0),fe(t,d,!0)}if(s){var p=(Wr(t)?t[t.length-1]:t).prototype;c=Object.create(p||null),h&&o(a,h,c,d||t.name);var m;return m=l(function(){var e=r.invoke(t,c,a,d);return e!==c&&(y(e)||C(e))&&(c=e,h&&o(a,h,c,d||t.name)),c},{instance:c,identifier:h})}return c=r.instantiate(t,a,d),h&&o(a,h,c,d||t.name),c}}]}function bt(){this.$get=["$window",function(e){return Ir(e.document)}]}function wt(){this.$get=["$log",function(e){return function(t,n){e.error.apply(e,arguments)}}]}function xt(e){return y(e)?k(e)?e.toISOString():W(e):e}function kt(){this.$get=function(){return function(e){if(!e)return"";var t=[];return i(e,function(e,n){null===e||v(e)||(Wr(e)?r(e,function(e){t.push(ne(n)+"="+ne(xt(e)))}):t.push(ne(n)+"="+ne(xt(e))))}),t.join("&")}}}function Ct(){this.$get=function(){return function(e){function t(e,o,a){null===e||v(e)||(Wr(e)?r(e,function(e,n){t(e,o+"["+(y(e)?n:"")+"]")}):y(e)&&!k(e)?i(e,function(e,n){t(e,o+(a?"":"[")+n+(a?"":"]"))}):n.push(ne(o)+"="+ne(xt(e))))}if(!e)return"";var n=[];return t(e,"",!0),n.join("&")}}}function St(e,t){if(w(e)){var n=e.replace(Ki,"").trim();if(n){var r=t("Content-Type");(r&&0===r.indexOf(Zi)||_t(n))&&(e=B(n))}}return e}function _t(e){var t=e.match(Ji);return t&&Xi[t[0]].test(e)}function Et(e){function t(e,t){e&&(i[e]=i[e]?i[e]+", "+t:t)}var n,i=me();return w(e)?r(e.split("\n"),function(e){n=e.indexOf(":"),t(Tr(Gr(e.substr(0,n))),Gr(e.substr(n+1)))}):y(e)&&r(e,function(e,n){t(Tr(n),Gr(e))}),i}function Dt(e){var t;return function(n){if(t||(t=Et(e)),n){var r=t[Tr(n)];return void 0===r&&(r=null),r}return t}}function Mt(e,t,n,i){return C(i)?i(e,t,n):(r(i,function(r){e=r(e,t,n)}),e)}function Tt(e){return e>=200&&300>e}function At(){var e=this.defaults={transformResponse:[St],transformRequest:[function(e){return!y(e)||D(e)||T(e)||M(e)?e:W(e)}],headers:{common:{Accept:"application/json, text/plain, */*"},post:U(Qi),put:U(Qi),patch:U(Qi)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",paramSerializer:"$httpParamSerializer"},n=!1;this.useApplyAsync=function(e){return $(e)?(n=!!e,this):n};var i=!0;this.useLegacyPromiseExtensions=function(e){return $(e)?(i=!!e,this):i};var o=this.interceptors=[];this.$get=["$httpBackend","$$cookieReader","$cacheFactory","$rootScope","$q","$injector",function(a,s,u,c,f,d){function h(n){function o(e){var t=l({},e);return t.data=Mt(e.data,e.headers,e.status,u.transformResponse),Tt(e.status)?t:f.reject(t)}function a(e,t){var n,i={};return r(e,function(e,r){C(e)?(n=e(t),null!=n&&(i[r]=n)):i[r]=e}),i}function s(t){var n,r,i,o=e.headers,s=l({},t.headers);o=l({},o.common,o[Tr(t.method)]);e:for(n in o){r=Tr(n);for(i in s)if(Tr(i)===r)continue e;s[n]=o[n]}return a(s,U(t))}if(!y(n))throw t("$http")("badreq","Http request configuration must be an object. Received: {0}",n);if(!w(n.url))throw t("$http")("badreq","Http request configuration url must be a string. Received: {0}",n.url);var u=l({method:"get",transformRequest:e.transformRequest,transformResponse:e.transformResponse,paramSerializer:e.paramSerializer},n);u.headers=s(n),u.method=Ar(u.method),u.paramSerializer=w(u.paramSerializer)?d.get(u.paramSerializer):u.paramSerializer;var c=function(t){var n=t.headers,i=Mt(t.data,Dt(n),void 0,t.transformRequest);return v(i)&&r(n,function(e,t){"content-type"===Tr(t)&&delete n[t]}),v(t.withCredentials)&&!v(e.withCredentials)&&(t.withCredentials=e.withCredentials),g(t,i).then(o,o)},h=[c,void 0],p=f.when(u);for(r(k,function(e){(e.request||e.requestError)&&h.unshift(e.request,e.requestError),(e.response||e.responseError)&&h.push(e.response,e.responseError)});h.length;){var m=h.shift(),$=h.shift();p=p.then(m,$)}return i?(p.success=function(e){return fe(e,"fn"),p.then(function(t){e(t.data,t.status,t.headers,u)}),p},p.error=function(e){return fe(e,"fn"),p.then(null,function(t){e(t.data,t.status,t.headers,u)}),p}):(p.success=to("success"),p.error=to("error")),p}function p(e){r(arguments,function(e){h[e]=function(t,n){return h(l({},n||{},{method:e,url:t}))}})}function m(e){r(arguments,function(e){h[e]=function(t,n,r){return h(l({},r||{},{method:e,url:t,data:n}))}})}function g(t,i){function o(e){if(e){var t={};return r(e,function(e,r){t[r]=function(t){function r(){e(t)}n?c.$applyAsync(r):c.$$phase?r():c.$apply(r)}}),t}}function u(e,t,r,i){function o(){l(t,e,r,i)}m&&(Tt(e)?m.put(S,[e,t,Et(r),i]):m.remove(S)),n?c.$applyAsync(o):(o(),c.$$phase||c.$apply())}function l(e,n,r,i){n=n>=-1?n:0,(Tt(n)?w.resolve:w.reject)({data:e,status:n,headers:Dt(r),config:t,statusText:i})}function d(e){l(e.data,e.status,U(e.headers()),e.statusText)}function p(){var e=h.pendingRequests.indexOf(t);-1!==e&&h.pendingRequests.splice(e,1)}var m,g,w=f.defer(),k=w.promise,C=t.headers,S=b(t.url,t.paramSerializer(t.params));if(h.pendingRequests.push(t),k.then(p,p),!t.cache&&!e.cache||t.cache===!1||"GET"!==t.method&&"JSONP"!==t.method||(m=y(t.cache)?t.cache:y(e.cache)?e.cache:x),m&&(g=m.get(S),$(g)?O(g)?g.then(d,d):Wr(g)?l(g[1],g[0],U(g[2]),g[3]):l(g,200,{},"OK"):m.put(S,k)),v(g)){var _=Fn(t.url)?s()[t.xsrfCookieName||e.xsrfCookieName]:void 0;_&&(C[t.xsrfHeaderName||e.xsrfHeaderName]=_),a(t.method,S,i,u,C,t.timeout,t.withCredentials,t.responseType,o(t.eventHandlers),o(t.uploadEventHandlers))}return k}function b(e,t){return t.length>0&&(e+=(-1==e.indexOf("?")?"?":"&")+t),e}var x=u("$http");e.paramSerializer=w(e.paramSerializer)?d.get(e.paramSerializer):e.paramSerializer;var k=[];return r(o,function(e){k.unshift(w(e)?d.get(e):d.invoke(e))}),h.pendingRequests=[],p("get","delete","head","jsonp"),m("post","put","patch"),h.defaults=e,h}]}function Ot(){this.$get=function(){return function(){return new e.XMLHttpRequest}}}function Ft(){this.$get=["$browser","$window","$document","$xhrFactory",function(e,t,n,r){return Nt(e,r,e.defer,t.angular.callbacks,n[0])}]}function Nt(e,t,n,i,o){function a(e,t,n){var r=o.createElement("script"),a=null;return r.type="text/javascript",r.src=e,r.async=!0,a=function(e){di(r,"load",a),di(r,"error",a),o.body.removeChild(r),r=null;var s=-1,u="unknown";e&&("load"!==e.type||i[t].called||(e={type:"error"}),u=e.type,s="error"===e.type?404:200),n&&n(s,u)},fi(r,"load",a),fi(r,"error",a),o.body.appendChild(r),a}return function(o,s,u,l,c,f,d,p,m,g){function y(){x&&x(),k&&k.abort()}function b(t,r,i,o,a){$(_)&&n.cancel(_),x=k=null,t(r,i,o,a),e.$$completeOutstandingRequest(h)}if(e.$$incOutstandingRequestCount(),s=s||e.url(),"jsonp"==Tr(o)){var w="_"+(i.counter++).toString(36);i[w]=function(e){i[w].data=e,i[w].called=!0};var x=a(s.replace("JSON_CALLBACK","angular.callbacks."+w),w,function(e,t){b(l,e,i[w].data,"",t),i[w]=h})}else{var k=t(o,s);k.open(o,s,!0),r(c,function(e,t){$(e)&&k.setRequestHeader(t,e)}),k.onload=function(){var e=k.statusText||"",t="response"in k?k.response:k.responseText,n=1223===k.status?204:k.status;0===n&&(n=t?200:"file"==On(s).protocol?404:0),b(l,n,t,k.getAllResponseHeaders(),e)};var C=function(){b(l,-1,null,null,"")};if(k.onerror=C,k.onabort=C,r(m,function(e,t){k.addEventListener(t,e)}),r(g,function(e,t){k.upload.addEventListener(t,e)}),d&&(k.withCredentials=!0),p)try{k.responseType=p}catch(S){if("json"!==p)throw S}k.send(v(u)?null:u)}if(f>0)var _=n(y,f);else O(f)&&f.then(y)}}function It(){var e="{{",t="}}";this.startSymbol=function(t){return t?(e=t,this):e},this.endSymbol=function(e){return e?(t=e,this):t},this.$get=["$parse","$exceptionHandler","$sce",function(n,r,i){function o(e){return"\\\\\\"+e}function a(n){return n.replace(h,e).replace(p,t)}function s(e){if(null==e)return""; -switch(typeof e){case"string":break;case"number":e=""+e;break;default:e=W(e)}return e}function u(e,t,n,r){var i;return i=e.$watch(function(e){return i(),r(e)},t,n)}function c(o,c,h,p){function g(e){try{return e=O(e),p&&!$(e)?e:s(e)}catch(t){r(no.interr(o,t))}}if(!o.length||-1===o.indexOf(e)){var y;if(!c){var b=a(o);y=m(b),y.exp=o,y.expressions=[],y.$$watchDelegate=u}return y}p=!!p;for(var w,x,k,S=0,_=[],E=[],D=o.length,M=[],T=[];D>S;){if(-1==(w=o.indexOf(e,S))||-1==(x=o.indexOf(t,w+f))){S!==D&&M.push(a(o.substring(S)));break}S!==w&&M.push(a(o.substring(S,w))),k=o.substring(w+f,x),_.push(k),E.push(n(k,g)),S=x+d,T.push(M.length),M.push("")}if(h&&M.length>1&&no.throwNoconcat(o),!c||_.length){var A=function(e){for(var t=0,n=_.length;n>t;t++){if(p&&v(e[t]))return;M[T[t]]=e[t]}return M.join("")},O=function(e){return h?i.getTrusted(h,e):i.valueOf(e)};return l(function(e){var t=0,n=_.length,i=new Array(n);try{for(;n>t;t++)i[t]=E[t](e);return A(i)}catch(a){r(no.interr(o,a))}},{exp:o,expressions:_,$$watchDelegate:function(e,t){var n;return e.$watchGroup(E,function(r,i){var o=A(r);C(t)&&t.call(this,o,r!==i?n:o,e),n=o})}})}}var f=e.length,d=t.length,h=new RegExp(e.replace(/./g,o),"g"),p=new RegExp(t.replace(/./g,o),"g");return c.startSymbol=function(){return e},c.endSymbol=function(){return t},c}]}function Pt(){this.$get=["$rootScope","$window","$q","$$q","$browser",function(e,t,n,r,i){function o(o,s,u,l){function c(){f?o.apply(null,d):o(m)}var f=arguments.length>4,d=f?H(arguments,4):[],h=t.setInterval,p=t.clearInterval,m=0,g=$(l)&&!l,v=(g?r:n).defer(),y=v.promise;return u=$(u)?u:0,y.$$intervalId=h(function(){g?i.defer(c):e.$evalAsync(c),v.notify(m++),u>0&&m>=u&&(v.resolve(m),p(y.$$intervalId),delete a[y.$$intervalId]),g||e.$apply()},s),a[y.$$intervalId]=v,y}var a={};return o.cancel=function(e){return e&&e.$$intervalId in a?(a[e.$$intervalId].reject("canceled"),t.clearInterval(e.$$intervalId),delete a[e.$$intervalId],!0):!1},o}]}function jt(e){for(var t=e.split("/"),n=t.length;n--;)t[n]=te(t[n]);return t.join("/")}function Lt(e,t){var n=On(e);t.$$protocol=n.protocol,t.$$host=n.hostname,t.$$port=f(n.port)||io[n.protocol]||null}function Rt(e,t){var n="/"!==e.charAt(0);n&&(e="/"+e);var r=On(e);t.$$path=decodeURIComponent(n&&"/"===r.pathname.charAt(0)?r.pathname.substring(1):r.pathname),t.$$search=K(r.search),t.$$hash=decodeURIComponent(r.hash),t.$$path&&"/"!=t.$$path.charAt(0)&&(t.$$path="/"+t.$$path)}function Ut(e,t){return 0===t.indexOf(e)?t.substr(e.length):void 0}function Vt(e){var t=e.indexOf("#");return-1==t?e:e.substr(0,t)}function zt(e){return e.replace(/(#.+)|#$/,"$1")}function Ht(e){return e.substr(0,Vt(e).lastIndexOf("/")+1)}function qt(e){return e.substring(0,e.indexOf("/",e.indexOf("//")+2))}function Yt(e,t,n){this.$$html5=!0,n=n||"",Lt(e,this),this.$$parse=function(e){var n=Ut(t,e);if(!w(n))throw oo("ipthprfx",'Invalid url "{0}", missing path prefix "{1}".',e,t);Rt(n,this),this.$$path||(this.$$path="/"),this.$$compose()},this.$$compose=function(){var e=ee(this.$$search),n=this.$$hash?"#"+te(this.$$hash):"";this.$$url=jt(this.$$path)+(e?"?"+e:"")+n,this.$$absUrl=t+this.$$url.substr(1)},this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;var o,a,s;return $(o=Ut(e,r))?(a=o,s=$(o=Ut(n,o))?t+(Ut("/",o)||o):e+a):$(o=Ut(t,r))?s=t+o:t==r+"/"&&(s=t),s&&this.$$parse(s),!!s}}function Wt(e,t,n){Lt(e,this),this.$$parse=function(r){function i(e,t,n){var r,i=/^\/[A-Z]:(\/.*)/;return 0===t.indexOf(n)&&(t=t.replace(n,"")),i.exec(t)?e:(r=i.exec(e),r?r[1]:e)}var o,a=Ut(e,r)||Ut(t,r);v(a)||"#"!==a.charAt(0)?this.$$html5?o=a:(o="",v(a)&&(e=r,this.replace())):(o=Ut(n,a),v(o)&&(o=a)),Rt(o,this),this.$$path=i(this.$$path,o,e),this.$$compose()},this.$$compose=function(){var t=ee(this.$$search),r=this.$$hash?"#"+te(this.$$hash):"";this.$$url=jt(this.$$path)+(t?"?"+t:"")+r,this.$$absUrl=e+(this.$$url?n+this.$$url:"")},this.$$parseLinkUrl=function(t,n){return Vt(e)==Vt(t)?(this.$$parse(t),!0):!1}}function Bt(e,t,n){this.$$html5=!0,Wt.apply(this,arguments),this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;var o,a;return e==Vt(r)?o=r:(a=Ut(t,r))?o=e+n+a:t===r+"/"&&(o=t),o&&this.$$parse(o),!!o},this.$$compose=function(){var t=ee(this.$$search),r=this.$$hash?"#"+te(this.$$hash):"";this.$$url=jt(this.$$path)+(t?"?"+t:"")+r,this.$$absUrl=e+n+this.$$url}}function Gt(e){return function(){return this[e]}}function Zt(e,t){return function(n){return v(n)?this[e]:(this[e]=t(n),this.$$compose(),this)}}function Qt(){var e="",t={enabled:!1,requireBase:!0,rewriteLinks:!0};this.hashPrefix=function(t){return $(t)?(e=t,this):e},this.html5Mode=function(e){return A(e)?(t.enabled=e,this):y(e)?(A(e.enabled)&&(t.enabled=e.enabled),A(e.requireBase)&&(t.requireBase=e.requireBase),A(e.rewriteLinks)&&(t.rewriteLinks=e.rewriteLinks),this):t},this.$get=["$rootScope","$browser","$sniffer","$rootElement","$window",function(n,r,i,o,a){function s(e,t,n){var i=l.url(),o=l.$$state;try{r.url(e,t,n),l.$$state=r.state()}catch(a){throw l.url(i),l.$$state=o,a}}function u(e,t){n.$broadcast("$locationChangeSuccess",l.absUrl(),e,l.$$state,t)}var l,c,f,d=r.baseHref(),h=r.url();if(t.enabled){if(!d&&t.requireBase)throw oo("nobase","$location in HTML5 mode requires a tag to be present!");f=qt(h)+(d||"/"),c=i.history?Yt:Bt}else f=Vt(h),c=Wt;var p=Ht(f);l=new c(f,p,"#"+e),l.$$parseLinkUrl(h,h),l.$$state=r.state();var m=/^\s*(javascript|mailto):/i;o.on("click",function(e){if(t.rewriteLinks&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey&&2!=e.which&&2!=e.button){for(var i=Ir(e.target);"a"!==j(i[0]);)if(i[0]===o[0]||!(i=i.parent())[0])return;var s=i.prop("href"),u=i.attr("href")||i.attr("xlink:href");y(s)&&"[object SVGAnimatedString]"===s.toString()&&(s=On(s.animVal).href),m.test(s)||!s||i.attr("target")||e.isDefaultPrevented()||l.$$parseLinkUrl(s,u)&&(e.preventDefault(),l.absUrl()!=r.url()&&(n.$apply(),a.angular["ff-684208-preventDefault"]=!0))}}),zt(l.absUrl())!=zt(h)&&r.url(l.absUrl(),!0);var g=!0;return r.onUrlChange(function(e,t){return v(Ut(p,e))?void(a.location.href=e):(n.$evalAsync(function(){var r,i=l.absUrl(),o=l.$$state;e=zt(e),l.$$parse(e),l.$$state=t,r=n.$broadcast("$locationChangeStart",e,i,t,o).defaultPrevented,l.absUrl()===e&&(r?(l.$$parse(i),l.$$state=o,s(i,!1,o)):(g=!1,u(i,o)))}),void(n.$$phase||n.$digest()))}),n.$watch(function(){var e=zt(r.url()),t=zt(l.absUrl()),o=r.state(),a=l.$$replace,c=e!==t||l.$$html5&&i.history&&o!==l.$$state;(g||c)&&(g=!1,n.$evalAsync(function(){var t=l.absUrl(),r=n.$broadcast("$locationChangeStart",t,e,l.$$state,o).defaultPrevented;l.absUrl()===t&&(r?(l.$$parse(e),l.$$state=o):(c&&s(t,a,o===l.$$state?null:l.$$state),u(e,o)))})),l.$$replace=!1}),l}]}function Jt(){var e=!0,t=this;this.debugEnabled=function(t){return $(t)?(e=t,this):e},this.$get=["$window",function(n){function i(e){return e instanceof Error&&(e.stack?e=e.message&&-1===e.stack.indexOf(e.message)?"Error: "+e.message+"\n"+e.stack:e.stack:e.sourceURL&&(e=e.message+"\n"+e.sourceURL+":"+e.line)),e}function o(e){var t=n.console||{},o=t[e]||t.log||h,a=!1;try{a=!!o.apply}catch(s){}return a?function(){var e=[];return r(arguments,function(t){e.push(i(t))}),o.apply(t,e)}:function(e,t){o(e,null==t?"":t)}}return{log:o("log"),info:o("info"),warn:o("warn"),error:o("error"),debug:function(){var n=o("debug");return function(){e&&n.apply(t,arguments)}}()}}]}function Xt(e,t){if("__defineGetter__"===e||"__defineSetter__"===e||"__lookupGetter__"===e||"__lookupSetter__"===e||"__proto__"===e)throw so("isecfld","Attempting to access a disallowed field in Angular expressions! Expression: {0}",t);return e}function Kt(e){return e+""}function en(e,t){if(e){if(e.constructor===e)throw so("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",t);if(e.window===e)throw so("isecwindow","Referencing the Window in Angular expressions is disallowed! Expression: {0}",t);if(e.children&&(e.nodeName||e.prop&&e.attr&&e.find))throw so("isecdom","Referencing DOM nodes in Angular expressions is disallowed! Expression: {0}",t);if(e===Object)throw so("isecobj","Referencing Object in Angular expressions is disallowed! Expression: {0}",t)}return e}function tn(e,t){if(e){if(e.constructor===e)throw so("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",t);if(e===uo||e===lo||e===co)throw so("isecff","Referencing call, apply or bind in Angular expressions is disallowed! Expression: {0}",t)}}function nn(e,t){if(e&&(e===0..constructor||e===(!1).constructor||e==="".constructor||e==={}.constructor||e===[].constructor||e===Function.constructor))throw so("isecaf","Assigning to a constructor is disallowed! Expression: {0}",t)}function rn(e,t){return"undefined"!=typeof e?e:t}function on(e,t){return"undefined"==typeof e?t:"undefined"==typeof t?e:e+t}function an(e,t){var n=e(t);return!n.$stateful}function sn(e,t){var n,i;switch(e.type){case mo.Program:n=!0,r(e.body,function(e){sn(e.expression,t),n=n&&e.expression.constant}),e.constant=n;break;case mo.Literal:e.constant=!0,e.toWatch=[];break;case mo.UnaryExpression:sn(e.argument,t),e.constant=e.argument.constant,e.toWatch=e.argument.toWatch;break;case mo.BinaryExpression:sn(e.left,t),sn(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.left.toWatch.concat(e.right.toWatch);break;case mo.LogicalExpression:sn(e.left,t),sn(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.constant?[]:[e];break;case mo.ConditionalExpression:sn(e.test,t),sn(e.alternate,t),sn(e.consequent,t),e.constant=e.test.constant&&e.alternate.constant&&e.consequent.constant,e.toWatch=e.constant?[]:[e];break;case mo.Identifier:e.constant=!1,e.toWatch=[e];break;case mo.MemberExpression:sn(e.object,t),e.computed&&sn(e.property,t),e.constant=e.object.constant&&(!e.computed||e.property.constant),e.toWatch=[e];break;case mo.CallExpression:n=e.filter?an(t,e.callee.name):!1,i=[],r(e.arguments,function(e){sn(e,t),n=n&&e.constant,e.constant||i.push.apply(i,e.toWatch)}),e.constant=n,e.toWatch=e.filter&&an(t,e.callee.name)?i:[e];break;case mo.AssignmentExpression:sn(e.left,t),sn(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=[e];break;case mo.ArrayExpression:n=!0,i=[],r(e.elements,function(e){sn(e,t),n=n&&e.constant,e.constant||i.push.apply(i,e.toWatch)}),e.constant=n,e.toWatch=i;break;case mo.ObjectExpression:n=!0,i=[],r(e.properties,function(e){sn(e.value,t),n=n&&e.value.constant,e.value.constant||i.push.apply(i,e.value.toWatch)}),e.constant=n,e.toWatch=i;break;case mo.ThisExpression:e.constant=!1,e.toWatch=[];break;case mo.LocalsExpression:e.constant=!1,e.toWatch=[]}}function un(e){if(1==e.length){var t=e[0].expression,n=t.toWatch;return 1!==n.length?n:n[0]!==t?n:void 0}}function ln(e){return e.type===mo.Identifier||e.type===mo.MemberExpression}function cn(e){return 1===e.body.length&&ln(e.body[0].expression)?{type:mo.AssignmentExpression,left:e.body[0].expression,right:{type:mo.NGValueParameter},operator:"="}:void 0}function fn(e){return 0===e.body.length||1===e.body.length&&(e.body[0].expression.type===mo.Literal||e.body[0].expression.type===mo.ArrayExpression||e.body[0].expression.type===mo.ObjectExpression)}function dn(e){return e.constant}function hn(e,t){this.astBuilder=e,this.$filter=t}function pn(e,t){this.astBuilder=e,this.$filter=t}function mn(e){return"constructor"==e}function gn(e){return C(e.valueOf)?e.valueOf():vo.call(e)}function vn(){var e,t,n=me(),i=me(),o={"true":!0,"false":!1,"null":null,undefined:void 0};this.addLiteral=function(e,t){o[e]=t},this.setIdentifierFns=function(n,r){return e=n,t=r,this},this.$get=["$filter",function(a){function s(e,t,r){var o,s,l;switch(r=r||b,typeof e){case"string":e=e.trim(),l=e;var g=r?i:n;if(o=g[l],!o){":"===e.charAt(0)&&":"===e.charAt(1)&&(s=!0,e=e.substring(2));var $=r?y:v,w=new po($),x=new go(w,a,$);o=x.parse(e),o.constant?o.$$watchDelegate=p:s?o.$$watchDelegate=o.literal?d:f:o.inputs&&(o.$$watchDelegate=c),r&&(o=u(o)),g[l]=o}return m(o,t);case"function":return m(e,t);default:return m(h,t)}}function u(e){function t(t,n,r,i){var o=b;b=!0;try{return e(t,n,r,i)}finally{b=o}}if(!e)return e;t.$$watchDelegate=e.$$watchDelegate,t.assign=u(e.assign),t.constant=e.constant,t.literal=e.literal;for(var n=0;e.inputs&&nf;f++)u[f]=l,c[f]=null;return e.$watch(function(e){for(var t=!1,n=0,i=a.length;i>n;n++){var s=a[n](e);(t||(t=!l(s,u[n])))&&(c[n]=s,u[n]=s&&gn(s))}return t&&(o=r(e,void 0,void 0,c)),o},t,n,i)}function f(e,t,n,r){var i,o;return i=e.$watch(function(e){return r(e)},function(e,n,r){o=e,C(t)&&t.apply(this,arguments),$(e)&&r.$$postDigest(function(){$(o)&&i()})},n)}function d(e,t,n,i){function o(e){var t=!0;return r(e,function(e){$(e)||(t=!1)}),t}var a,s;return a=e.$watch(function(e){return i(e)},function(e,n,r){s=e,C(t)&&t.call(this,e,n,r),o(e)&&r.$$postDigest(function(){o(s)&&a()})},n)}function p(e,t,n,r){var i;return i=e.$watch(function(e){return i(),r(e)},t,n)}function m(e,t){if(!t)return e;var n=e.$$watchDelegate,r=!1,i=n!==d&&n!==f,o=i?function(n,i,o,a){var s=r&&a?a[0]:e(n,i,o,a);return t(s,n,i)}:function(n,r,i,o){var a=e(n,r,i,o),s=t(a,n,r);return $(a)?s:a};return e.$$watchDelegate&&e.$$watchDelegate!==c?o.$$watchDelegate=e.$$watchDelegate:t.$stateful||(o.$$watchDelegate=c,r=!e.inputs,o.inputs=e.inputs?e.inputs:[e]),o}var g=Qr().noUnsafeEval,v={csp:g,expensiveChecks:!1,literals:R(o),isIdentifierStart:C(e)&&e,isIdentifierContinue:C(t)&&t},y={csp:g,expensiveChecks:!0,literals:R(o),isIdentifierStart:C(e)&&e,isIdentifierContinue:C(t)&&t},b=!1;return s.$$runningExpensiveChecks=function(){return b},s}]}function $n(){this.$get=["$rootScope","$exceptionHandler",function(e,t){return bn(function(t){e.$evalAsync(t)},t)}]}function yn(){this.$get=["$browser","$exceptionHandler",function(e,t){return bn(function(t){e.defer(t)},t)}]}function bn(e,n){function i(){this.$$state={status:0}}function o(e,t){return function(n){t.call(e,n)}}function a(e){var t,r,i;i=e.pending,e.processScheduled=!1,e.pending=void 0;for(var o=0,a=i.length;a>o;++o){r=i[o][0],t=i[o][e.status];try{C(t)?r.resolve(t(e.value)):1===e.status?r.resolve(e.value):r.reject(e.value)}catch(s){r.reject(s),n(s)}}}function s(t){!t.processScheduled&&t.pending&&(t.processScheduled=!0,e(function(){a(t)}))}function u(){this.promise=new i}function c(e){var t=new u,n=0,i=Wr(e)?[]:{};return r(e,function(e,r){n++,g(e).then(function(e){i.hasOwnProperty(r)||(i[r]=e,--n||t.resolve(i))},function(e){i.hasOwnProperty(r)||t.reject(e)})}),0===n&&t.resolve(i),t.promise}var f=t("$q",TypeError),d=function(){var e=new u;return e.resolve=o(e,e.resolve),e.reject=o(e,e.reject),e.notify=o(e,e.notify),e};l(i.prototype,{then:function(e,t,n){if(v(e)&&v(t)&&v(n))return this;var r=new u;return this.$$state.pending=this.$$state.pending||[],this.$$state.pending.push([r,e,t,n]),this.$$state.status>0&&s(this.$$state),r.promise},"catch":function(e){return this.then(null,e)},"finally":function(e,t){return this.then(function(t){return m(t,!0,e)},function(t){return m(t,!1,e)},t)}}),l(u.prototype,{resolve:function(e){this.promise.$$state.status||(e===this.promise?this.$$reject(f("qcycle","Expected promise to be resolved with value other than itself '{0}'",e)):this.$$resolve(e))},$$resolve:function(e){function t(e){u||(u=!0,a.$$resolve(e))}function r(e){u||(u=!0,a.$$reject(e))}var i,a=this,u=!1;try{(y(e)||C(e))&&(i=e&&e.then),C(i)?(this.promise.$$state.status=-1,i.call(e,t,r,o(this,this.notify))):(this.promise.$$state.value=e,this.promise.$$state.status=1,s(this.promise.$$state))}catch(l){r(l),n(l)}},reject:function(e){this.promise.$$state.status||this.$$reject(e)},$$reject:function(e){this.promise.$$state.value=e,this.promise.$$state.status=2,s(this.promise.$$state)},notify:function(t){var r=this.promise.$$state.pending;this.promise.$$state.status<=0&&r&&r.length&&e(function(){for(var e,i,o=0,a=r.length;a>o;o++){i=r[o][0],e=r[o][3];try{i.notify(C(e)?e(t):t)}catch(s){n(s)}}})}});var h=function(e){var t=new u;return t.reject(e),t.promise},p=function(e,t){var n=new u;return t?n.resolve(e):n.reject(e),n.promise},m=function(e,t,n){var r=null;try{C(n)&&(r=n())}catch(i){return p(i,!1)}return O(r)?r.then(function(){return p(e,t)},function(e){return p(e,!1)}):p(e,t)},g=function(e,t,n,r){var i=new u;return i.resolve(e),i.promise.then(t,n,r)},$=g,b=function(e){function t(e){r.resolve(e)}function n(e){r.reject(e)}if(!C(e))throw f("norslvr","Expected resolverFn, got '{0}'",e);var r=new u;return e(t,n),r.promise};return b.prototype=i.prototype,b.defer=d,b.reject=h,b.when=g,b.resolve=$,b.all=c,b}function wn(){this.$get=["$window","$timeout",function(e,t){var n=e.requestAnimationFrame||e.webkitRequestAnimationFrame,r=e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.webkitCancelRequestAnimationFrame,i=!!n,o=i?function(e){var t=n(e);return function(){r(t)}}:function(e){var n=t(e,16.66,!1);return function(){t.cancel(n)}};return o.supported=i,o}]}function xn(){function e(e){function t(){this.$$watchers=this.$$nextSibling=this.$$childHead=this.$$childTail=null,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$id=a(),this.$$ChildScope=null}return t.prototype=e,t}var i=10,o=t("$rootScope"),s=null,u=null;this.digestTtl=function(e){return arguments.length&&(i=e),i},this.$get=["$exceptionHandler","$parse","$browser",function(t,l,c){function f(e){e.currentScope.$$destroyed=!0}function d(e){9===Nr&&(e.$$childHead&&d(e.$$childHead),e.$$nextSibling&&d(e.$$nextSibling)),e.$parent=e.$$nextSibling=e.$$prevSibling=e.$$childHead=e.$$childTail=e.$root=e.$$watchers=null}function p(){this.$id=a(),this.$$phase=this.$parent=this.$$watchers=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=null,this.$root=this,this.$$destroyed=!1,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$$isolateBindings=null}function m(e){if(S.$$phase)throw o("inprog","{0} already in progress",S.$$phase);S.$$phase=e}function g(){S.$$phase=null}function $(e,t){do e.$$watchersCount+=t;while(e=e.$parent)}function b(e,t,n){do e.$$listenerCount[n]-=t,0===e.$$listenerCount[n]&&delete e.$$listenerCount[n];while(e=e.$parent)}function w(){}function x(){for(;D.length;)try{D.shift()()}catch(e){t(e)}u=null}function k(){null===u&&(u=c.defer(function(){S.$apply(x)}))}p.prototype={constructor:p,$new:function(t,n){var r;return n=n||this,t?(r=new p,r.$root=this.$root):(this.$$ChildScope||(this.$$ChildScope=e(this)),r=new this.$$ChildScope),r.$parent=n,r.$$prevSibling=n.$$childTail,n.$$childHead?(n.$$childTail.$$nextSibling=r,n.$$childTail=r):n.$$childHead=n.$$childTail=r,(t||n!=this)&&r.$on("$destroy",f),r},$watch:function(e,t,n,r){var i=l(e);if(i.$$watchDelegate)return i.$$watchDelegate(this,t,n,i,e);var o=this,a=o.$$watchers,u={fn:t,last:w,get:i,exp:r||e,eq:!!n};return s=null,C(t)||(u.fn=h),a||(a=o.$$watchers=[]),a.unshift(u),$(this,1),function(){L(a,u)>=0&&$(o,-1),s=null}},$watchGroup:function(e,t){function n(){u=!1,l?(l=!1,t(o,o,s)):t(o,i,s)}var i=new Array(e.length),o=new Array(e.length),a=[],s=this,u=!1,l=!0;if(!e.length){var c=!0;return s.$evalAsync(function(){c&&t(o,o,s)}),function(){c=!1}}return 1===e.length?this.$watch(e[0],function(e,n,r){o[0]=e,i[0]=n,t(o,e===n?o:i,r)}):(r(e,function(e,t){var r=s.$watch(e,function(e,r){o[t]=e,i[t]=r,u||(u=!0,s.$evalAsync(n))});a.push(r)}),function(){for(;a.length;)a.shift()()})},$watchCollection:function(e,t){function r(e){o=e;var t,r,i,s,u;if(!v(o)){if(y(o))if(n(o)){a!==h&&(a=h,g=a.length=0,f++),t=o.length,g!==t&&(f++,a.length=g=t);for(var l=0;t>l;l++)u=a[l],s=o[l],i=u!==u&&s!==s,i||u===s||(f++,a[l]=s)}else{a!==p&&(a=p={},g=0,f++),t=0;for(r in o)Mr.call(o,r)&&(t++,s=o[r],u=a[r],r in a?(i=u!==u&&s!==s,i||u===s||(f++,a[r]=s)):(g++,a[r]=s,f++));if(g>t){f++;for(r in a)Mr.call(o,r)||(g--,delete a[r])}}else a!==o&&(a=o,f++);return f}}function i(){if(m?(m=!1,t(o,o,u)):t(o,s,u),c)if(y(o))if(n(o)){s=new Array(o.length);for(var e=0;e1,f=0,d=l(e,r),h=[],p={},m=!0,g=0;return this.$watch(d,i)},$digest:function(){var e,n,r,a,l,f,d,h,p,v,$,y,b=i,k=this,D=[];m("$digest"),c.$$checkUrlChange(),this===S&&null!==u&&(c.defer.cancel(u),x()),s=null;do{for(h=!1,v=k;_.length;){try{y=_.shift(),y.scope.$eval(y.expression,y.locals)}catch(M){t(M)}s=null}e:do{if(f=v.$$watchers)for(d=f.length;d--;)try{if(e=f[d])if(l=e.get,(n=l(v))===(r=e.last)||(e.eq?V(n,r):"number"==typeof n&&"number"==typeof r&&isNaN(n)&&isNaN(r))){if(e===s){h=!1;break e}}else h=!0,s=e,e.last=e.eq?R(n,null):n,a=e.fn,a(n,r===w?n:r,v),5>b&&($=4-b,D[$]||(D[$]=[]),D[$].push({msg:C(e.exp)?"fn: "+(e.exp.name||e.exp.toString()):e.exp,newVal:n,oldVal:r}))}catch(M){t(M)}if(!(p=v.$$watchersCount&&v.$$childHead||v!==k&&v.$$nextSibling))for(;v!==k&&!(p=v.$$nextSibling);)v=v.$parent}while(v=p);if((h||_.length)&&!b--)throw g(),o("infdig","{0} $digest() iterations reached. Aborting!\nWatchers fired in the last 5 iterations: {1}",i,D)}while(h||_.length);for(g();E.length;)try{E.shift()()}catch(M){t(M)}},$destroy:function(){if(!this.$$destroyed){var e=this.$parent;this.$broadcast("$destroy"),this.$$destroyed=!0,this===S&&c.$$applicationDestroyed(),$(this,-this.$$watchersCount);for(var t in this.$$listenerCount)b(this,this.$$listenerCount[t],t);e&&e.$$childHead==this&&(e.$$childHead=this.$$nextSibling),e&&e.$$childTail==this&&(e.$$childTail=this.$$prevSibling),this.$$prevSibling&&(this.$$prevSibling.$$nextSibling=this.$$nextSibling),this.$$nextSibling&&(this.$$nextSibling.$$prevSibling=this.$$prevSibling),this.$destroy=this.$digest=this.$apply=this.$evalAsync=this.$applyAsync=h,this.$on=this.$watch=this.$watchGroup=function(){return h},this.$$listeners={},this.$$nextSibling=null,d(this)}},$eval:function(e,t){return l(e)(this,t)},$evalAsync:function(e,t){S.$$phase||_.length||c.defer(function(){_.length&&S.$digest()}),_.push({scope:this,expression:l(e),locals:t})},$$postDigest:function(e){E.push(e)},$apply:function(e){try{m("$apply");try{return this.$eval(e)}finally{g()}}catch(n){t(n)}finally{try{S.$digest()}catch(n){throw t(n),n}}},$applyAsync:function(e){function t(){n.$eval(e)}var n=this;e&&D.push(t),e=l(e),k()},$on:function(e,t){var n=this.$$listeners[e];n||(this.$$listeners[e]=n=[]),n.push(t);var r=this;do r.$$listenerCount[e]||(r.$$listenerCount[e]=0),r.$$listenerCount[e]++;while(r=r.$parent);var i=this;return function(){var r=n.indexOf(t);-1!==r&&(n[r]=null,b(i,1,e))}},$emit:function(e,n){var r,i,o,a=[],s=this,u=!1,l={name:e,targetScope:s,stopPropagation:function(){u=!0},preventDefault:function(){l.defaultPrevented=!0},defaultPrevented:!1},c=z([l],arguments,1);do{for(r=s.$$listeners[e]||a,l.currentScope=s,i=0,o=r.length;o>i;i++)if(r[i])try{r[i].apply(null,c)}catch(f){t(f)}else r.splice(i,1),i--,o--;if(u)return l.currentScope=null,l;s=s.$parent}while(s);return l.currentScope=null,l},$broadcast:function(e,n){var r=this,i=r,o=r,a={name:e,targetScope:r,preventDefault:function(){a.defaultPrevented=!0},defaultPrevented:!1};if(!r.$$listenerCount[e])return a;for(var s,u,l,c=z([a],arguments,1);i=o;){for(a.currentScope=i,s=i.$$listeners[e]||[],u=0,l=s.length;l>u;u++)if(s[u])try{s[u].apply(null,c)}catch(f){t(f)}else s.splice(u,1),u--,l--;if(!(o=i.$$listenerCount[e]&&i.$$childHead||i!==r&&i.$$nextSibling))for(;i!==r&&!(o=i.$$nextSibling);)i=i.$parent}return a.currentScope=null,a}};var S=new p,_=S.$$asyncQueue=[],E=S.$$postDigestQueue=[],D=S.$$applyAsyncQueue=[];return S}]}function kn(){var e=/^\s*(https?|ftp|mailto|tel|file):/,t=/^\s*((https?|ftp|file|blob):|data:image\/)/;this.aHrefSanitizationWhitelist=function(t){return $(t)?(e=t,this):e},this.imgSrcSanitizationWhitelist=function(e){return $(e)?(t=e,this):t},this.$get=function(){return function(n,r){var i,o=r?t:e;return i=On(n).href,""===i||i.match(o)?n:"unsafe:"+i}}}function Cn(e){if("self"===e)return e;if(w(e)){if(e.indexOf("***")>-1)throw $o("iwcard","Illegal sequence *** in string matcher. String: {0}",e);return e=Zr(e).replace("\\*\\*",".*").replace("\\*","[^:/.?&;]*"),new RegExp("^"+e+"$")}if(S(e))return new RegExp("^"+e.source+"$");throw $o("imatcher",'Matchers may only be "self", string patterns or RegExp objects')}function Sn(e){var t=[];return $(e)&&r(e,function(e){t.push(Cn(e))}),t}function _n(){this.SCE_CONTEXTS=yo;var e=["self"],t=[];this.resourceUrlWhitelist=function(t){return arguments.length&&(e=Sn(t)),e},this.resourceUrlBlacklist=function(e){return arguments.length&&(t=Sn(e)),t},this.$get=["$injector",function(n){function r(e,t){return"self"===e?Fn(t):!!e.exec(t.href)}function i(n){var i,o,a=On(n.toString()),s=!1;for(i=0,o=e.length;o>i;i++)if(r(e[i],a)){s=!0;break}if(s)for(i=0,o=t.length;o>i;i++)if(r(t[i],a)){s=!1;break}return s}function o(e){var t=function(e){this.$$unwrapTrustedValue=function(){return e}};return e&&(t.prototype=new e),t.prototype.valueOf=function(){return this.$$unwrapTrustedValue()},t.prototype.toString=function(){return this.$$unwrapTrustedValue().toString()},t}function a(e,t){var n=f.hasOwnProperty(e)?f[e]:null;if(!n)throw $o("icontext","Attempted to trust a value in invalid context. Context: {0}; Value: {1}",e,t);if(null===t||v(t)||""===t)return t;if("string"!=typeof t)throw $o("itype","Attempted to trust a non-string value in a content requiring a string: Context: {0}",e);return new n(t)}function s(e){return e instanceof c?e.$$unwrapTrustedValue():e}function u(e,t){if(null===t||v(t)||""===t)return t;var n=f.hasOwnProperty(e)?f[e]:null;if(n&&t instanceof n)return t.$$unwrapTrustedValue();if(e===yo.RESOURCE_URL){if(i(t))return t;throw $o("insecurl","Blocked loading resource from url not allowed by $sceDelegate policy. URL: {0}",t.toString())}if(e===yo.HTML)return l(t);throw $o("unsafe","Attempting to use an unsafe value in a safe context.")}var l=function(e){throw $o("unsafe","Attempting to use an unsafe value in a safe context.")};n.has("$sanitize")&&(l=n.get("$sanitize"));var c=o(),f={};return f[yo.HTML]=o(c),f[yo.CSS]=o(c),f[yo.URL]=o(c),f[yo.JS]=o(c),f[yo.RESOURCE_URL]=o(f[yo.URL]),{trustAs:a,getTrusted:u,valueOf:s}}]}function En(){var e=!0;this.enabled=function(t){return arguments.length&&(e=!!t),e},this.$get=["$parse","$sceDelegate",function(t,n){if(e&&8>Nr)throw $o("iequirks","Strict Contextual Escaping does not support Internet Explorer version < 11 in quirks mode. You can fix this by adding the text to the top of your HTML document. See http://docs.angularjs.org/api/ng.$sce for more information.");var i=U(yo);i.isEnabled=function(){return e},i.trustAs=n.trustAs,i.getTrusted=n.getTrusted,i.valueOf=n.valueOf,e||(i.trustAs=i.getTrusted=function(e,t){return t},i.valueOf=p),i.parseAs=function(e,n){var r=t(n);return r.literal&&r.constant?r:t(n,function(t){return i.getTrusted(e,t)})};var o=i.parseAs,a=i.getTrusted,s=i.trustAs;return r(yo,function(e,t){var n=Tr(t);i[we("parse_as_"+n)]=function(t){return o(e,t)},i[we("get_trusted_"+n)]=function(t){return a(e,t)},i[we("trust_as_"+n)]=function(t){return s(e,t)}}),i}]}function Dn(){this.$get=["$window","$document",function(e,t){var n,r,i={},o=e.chrome&&e.chrome.app&&e.chrome.app.runtime,a=!o&&e.history&&e.history.pushState,s=f((/android (\d+)/.exec(Tr((e.navigator||{}).userAgent))||[])[1]),u=/Boxee/i.test((e.navigator||{}).userAgent),l=t[0]||{},c=/^(Moz|webkit|ms)(?=[A-Z])/,d=l.body&&l.body.style,h=!1,p=!1;if(d){for(var m in d)if(r=c.exec(m)){n=r[0],n=n.substr(0,1).toUpperCase()+n.substr(1);break}n||(n="WebkitOpacity"in d&&"webkit"),h=!!("transition"in d||n+"Transition"in d),p=!!("animation"in d||n+"Animation"in d),!s||h&&p||(h=w(d.webkitTransition),p=w(d.webkitAnimation))}return{history:!(!a||4>s||u),hasEvent:function(e){if("input"===e&&11>=Nr)return!1;if(v(i[e])){var t=l.createElement("div");i[e]="on"+e in t}return i[e]},csp:Qr(),vendorPrefix:n,transitions:h,animations:p,android:s}}]}function Mn(){var e;this.httpOptions=function(t){return t?(e=t,this):e},this.$get=["$templateCache","$http","$q","$sce",function(t,n,r,i){function o(a,s){function u(e){if(!s)throw bo("tpload","Failed to load template: {0} (HTTP status: {1} {2})",a,e.status,e.statusText);return r.reject(e)}o.totalPendingRequests++,w(a)&&t.get(a)||(a=i.getTrustedResourceUrl(a));var c=n.defaults&&n.defaults.transformResponse;return Wr(c)?c=c.filter(function(e){return e!==St}):c===St&&(c=null),n.get(a,l({cache:t,transformResponse:c},e))["finally"](function(){o.totalPendingRequests--}).then(function(e){return t.put(a,e.data),e.data},u)}return o.totalPendingRequests=0,o}]}function Tn(){this.$get=["$rootScope","$browser","$location",function(e,t,n){var i={};return i.findBindings=function(e,t,n){var i=e.getElementsByClassName("ng-binding"),o=[];return r(i,function(e){var i=qr.element(e).data("$binding");i&&r(i,function(r){if(n){var i=new RegExp("(^|\\s)"+Zr(t)+"(\\s|\\||$)");i.test(r)&&o.push(e)}else-1!=r.indexOf(t)&&o.push(e)})}),o},i.findModels=function(e,t,n){for(var r=["ng-","data-ng-","ng\\:"],i=0;i0&&(u=t(o.substring(0,s)),v(r[u])&&(r[u]=t(o.substring(s+1))));return r}}function Pn(){this.$get=In}function jn(e){function t(i,o){if(y(i)){var a={};return r(i,function(e,n){a[n]=t(n,e)}),a}return e.factory(i+n,o)}var n="Filter";this.register=t,this.$get=["$injector",function(e){return function(t){return e.get(t+n)}}],t("currency",zn),t("date",rr),t("filter",Ln),t("json",ir),t("limitTo",or),t("lowercase",Mo),t("number",Hn),t("orderBy",ar),t("uppercase",To)}function Ln(){return function(e,r,i){if(!n(e)){if(null==e)return e;throw t("filter")("notarray","Expected array but received: {0}",e)}var o,a,s=Vn(r);switch(s){case"function":o=r;break;case"boolean":case"null":case"number":case"string":a=!0;case"object":o=Rn(r,i,a);break;default:return e}return Array.prototype.filter.call(e,o)}}function Rn(e,t,n){var r,i=y(e)&&"$"in e;return t===!0?t=V:C(t)||(t=function(e,t){return v(e)?!1:null===e||null===t?e===t:y(t)||y(e)&&!g(e)?!1:(e=Tr(""+e),t=Tr(""+t),-1!==e.indexOf(t))}),r=function(r){return i&&!y(r)?Un(r,e.$,t,!1):Un(r,e,t,n)}}function Un(e,t,n,r,i){var o=Vn(e),a=Vn(t);if("string"===a&&"!"===t.charAt(0))return!Un(e,t.substring(1),n,r);if(Wr(e))return e.some(function(e){return Un(e,t,n,r)});switch(o){case"object": -var s;if(r){for(s in e)if("$"!==s.charAt(0)&&Un(e[s],t,n,!0))return!0;return i?!1:Un(e,t,n,!1)}if("object"===a){for(s in t){var u=t[s];if(!C(u)&&!v(u)){var l="$"===s,c=l?e:e[s];if(!Un(c,u,n,l,l))return!1}}return!0}return n(e,t);case"function":return!1;default:return n(e,t)}}function Vn(e){return null===e?"null":typeof e}function zn(e){var t=e.NUMBER_FORMATS;return function(e,n,r){return v(n)&&(n=t.CURRENCY_SYM),v(r)&&(r=t.PATTERNS[1].maxFrac),null==e?e:Wn(e,t.PATTERNS[1],t.GROUP_SEP,t.DECIMAL_SEP,r).replace(/\u00A4/g,n)}}function Hn(e){var t=e.NUMBER_FORMATS;return function(e,n){return null==e?e:Wn(e,t.PATTERNS[0],t.GROUP_SEP,t.DECIMAL_SEP,n)}}function qn(e){var t,n,r,i,o,a=0;for((n=e.indexOf(Co))>-1&&(e=e.replace(Co,"")),(r=e.search(/e/i))>0?(0>n&&(n=r),n+=+e.slice(r+1),e=e.substring(0,r)):0>n&&(n=e.length),r=0;e.charAt(r)==So;r++);if(r==(o=e.length))t=[0],n=1;else{for(o--;e.charAt(o)==So;)o--;for(n-=r,t=[],i=0;o>=r;r++,i++)t[i]=+e.charAt(r)}return n>ko&&(t=t.splice(0,ko-1),a=n-1,n=1),{d:t,e:a,i:n}}function Yn(e,t,n,r){var i=e.d,o=i.length-e.i;t=v(t)?Math.min(Math.max(n,o),r):+t;var a=t+e.i,s=i[a];if(a>0){i.splice(Math.max(e.i,a));for(var u=a;ul;l++)i[l]=0}if(s>=5)if(0>a-1){for(var c=0;c>a;c--)i.unshift(0),e.i++;i.unshift(1),e.i++}else i[a-1]++;for(;of;)c.unshift(0),f++;f>0?h=c.splice(f):(h=c,c=[0]);var p=[];for(c.length>=t.lgSize&&p.unshift(c.splice(-t.lgSize).join(""));c.length>t.gSize;)p.unshift(c.splice(-t.gSize).join(""));c.length&&p.unshift(c.join("")),l=p.join(n),h.length&&(l+=r+h.join("")),d&&(l+="e+"+d)}return 0>e&&!s?t.negPre+l+t.negSuf:t.posPre+l+t.posSuf}function Bn(e,t,n,r){var i="";for((0>e||r&&0>=e)&&(r?e=-e+1:(e=-e,i="-")),e=""+e;e.length0||a>-n)&&(a+=n),0===a&&-12==n&&(a=12),Bn(a,t,r,i)}}function Zn(e,t,n){return function(r,i){var o=r["get"+e](),a=(n?"STANDALONE":"")+(t?"SHORT":""),s=Ar(a+e);return i[s][o]}}function Qn(e,t,n){var r=-1*n,i=r>=0?"+":"";return i+=Bn(Math[r>0?"floor":"ceil"](r/60),2)+Bn(Math.abs(r%60),2)}function Jn(e){var t=new Date(e,0,1).getDay();return new Date(e,0,(4>=t?5:12)-t)}function Xn(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate()+(4-e.getDay()))}function Kn(e){return function(t){var n=Jn(t.getFullYear()),r=Xn(t),i=+r-+n,o=1+Math.round(i/6048e5);return Bn(o,e)}}function er(e,t){return e.getHours()<12?t.AMPMS[0]:t.AMPMS[1]}function tr(e,t){return e.getFullYear()<=0?t.ERAS[0]:t.ERAS[1]}function nr(e,t){return e.getFullYear()<=0?t.ERANAMES[0]:t.ERANAMES[1]}function rr(e){function t(e){var t;if(t=e.match(n)){var r=new Date(0),i=0,o=0,a=t[8]?r.setUTCFullYear:r.setFullYear,s=t[8]?r.setUTCHours:r.setHours;t[9]&&(i=f(t[9]+t[10]),o=f(t[9]+t[11])),a.call(r,f(t[1]),f(t[2])-1,f(t[3]));var u=f(t[4]||0)-i,l=f(t[5]||0)-o,c=f(t[6]||0),d=Math.round(1e3*parseFloat("0."+(t[7]||0)));return s.call(r,u,l,c,d),r}return e}var n=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;return function(n,i,o){var a,s,u="",l=[];if(i=i||"mediumDate",i=e.DATETIME_FORMATS[i]||i,w(n)&&(n=Do.test(n)?f(n):t(n)),x(n)&&(n=new Date(n)),!k(n)||!isFinite(n.getTime()))return n;for(;i;)s=Eo.exec(i),s?(l=z(l,s,1),i=l.pop()):(l.push(i),i=null);var c=n.getTimezoneOffset();return o&&(c=G(o,c),n=Q(n,o,!0)),r(l,function(t){a=_o[t],u+=a?a(n,e.DATETIME_FORMATS,c):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}}function ir(){return function(e,t){return v(t)&&(t=2),W(e,t)}}function or(){return function(e,t,n){return t=Math.abs(Number(t))===1/0?Number(t):f(t),isNaN(t)?e:(x(e)&&(e=e.toString()),Wr(e)||w(e)?(n=!n||isNaN(n)?0:f(n),n=0>n?Math.max(0,e.length+n):n,t>=0?e.slice(n,n+t):0===n?e.slice(t,e.length):e.slice(Math.max(0,n+t),n)):e)}}function ar(e){function r(t,n){return n=n?-1:1,t.map(function(t){var r=1,i=p;if(C(t))i=t;else if(w(t)&&("+"!=t.charAt(0)&&"-"!=t.charAt(0)||(r="-"==t.charAt(0)?-1:1,t=t.substring(1)),""!==t&&(i=e(t),i.constant))){var o=i();i=function(e){return e[o]}}return{get:i,descending:r*n}})}function i(e){switch(typeof e){case"number":case"boolean":case"string":return!0;default:return!1}}function o(e,t){return"function"==typeof e.valueOf&&(e=e.valueOf(),i(e))?e:g(e)&&(e=e.toString(),i(e))?e:t}function a(e,t){var n=typeof e;return null===e?(n="string",e="null"):"string"===n?e=e.toLowerCase():"object"===n&&(e=o(e,t)),{value:e,type:n}}function s(e,t){var n=0;return e.type===t.type?e.value!==t.value&&(n=e.valuer&&!(n=s(e.predicateValues[r],t.predicateValues[r])*c[r].descending);++r);return n}if(null==e)return e;if(!n(e))throw t("orderBy")("notarray","Expected array but received: {0}",e);Wr(i)||(i=[i]),0===i.length&&(i=["+"]);var c=r(i,o);c.push({get:function(){return{}},descending:o?-1:1});var f=Array.prototype.map.call(e,u);return f.sort(l),e=f.map(function(e){return e.value})}}function sr(e){return C(e)&&(e={link:e}),e.restrict=e.restrict||"AC",m(e)}function ur(e,t){e.$name=t}function lr(e,t,n,i,o){var a=this,s=[];a.$error={},a.$$success={},a.$pending=void 0,a.$name=o(t.name||t.ngForm||"")(n),a.$dirty=!1,a.$pristine=!0,a.$valid=!0,a.$invalid=!1,a.$submitted=!1,a.$$parentForm=Fo,a.$rollbackViewValue=function(){r(s,function(e){e.$rollbackViewValue()})},a.$commitViewValue=function(){r(s,function(e){e.$commitViewValue()})},a.$addControl=function(e){de(e.$name,"input"),s.push(e),e.$name&&(a[e.$name]=e),e.$$parentForm=a},a.$$renameControl=function(e,t){var n=e.$name;a[n]===e&&delete a[n],a[t]=e,e.$name=t},a.$removeControl=function(e){e.$name&&a[e.$name]===e&&delete a[e.$name],r(a.$pending,function(t,n){a.$setValidity(n,null,e)}),r(a.$error,function(t,n){a.$setValidity(n,null,e)}),r(a.$$success,function(t,n){a.$setValidity(n,null,e)}),L(s,e),e.$$parentForm=Fo},Cr({ctrl:this,$element:e,set:function(e,t,n){var r=e[t];if(r){var i=r.indexOf(n);-1===i&&r.push(n)}else e[t]=[n]},unset:function(e,t,n){var r=e[t];r&&(L(r,n),0===r.length&&delete e[t])},$animate:i}),a.$setDirty=function(){i.removeClass(e,va),i.addClass(e,$a),a.$dirty=!0,a.$pristine=!1,a.$$parentForm.$setDirty()},a.$setPristine=function(){i.setClass(e,va,$a+" "+No),a.$dirty=!1,a.$pristine=!0,a.$submitted=!1,r(s,function(e){e.$setPristine()})},a.$setUntouched=function(){r(s,function(e){e.$setUntouched()})},a.$setSubmitted=function(){i.addClass(e,No),a.$submitted=!0,a.$$parentForm.$setSubmitted()}}function cr(e){e.$formatters.push(function(t){return e.$isEmpty(t)?t:t.toString()})}function fr(e,t,n,r,i,o){dr(e,t,n,r,i,o),cr(r)}function dr(e,t,n,r,i,o){var a=Tr(t[0].type);if(!i.android){var s=!1;t.on("compositionstart",function(){s=!0}),t.on("compositionend",function(){s=!1,l()})}var u,l=function(e){if(u&&(o.defer.cancel(u),u=null),!s){var i=t.val(),l=e&&e.type;"password"===a||n.ngTrim&&"false"===n.ngTrim||(i=Gr(i)),(r.$viewValue!==i||""===i&&r.$$hasNativeValidators)&&r.$setViewValue(i,l)}};if(i.hasEvent("input"))t.on("input",l);else{var c=function(e,t,n){u||(u=o.defer(function(){u=null,t&&t.value===n||l(e)}))};t.on("keydown",function(e){var t=e.keyCode;91===t||t>15&&19>t||t>=37&&40>=t||c(e,this,this.value)}),i.hasEvent("paste")&&t.on("paste cut",c)}t.on("change",l),Go[a]&&r.$$hasNativeValidators&&a===n.type&&t.on(Bo,function(e){if(!u){var t=this[Dr],n=t.badInput,r=t.typeMismatch;u=o.defer(function(){u=null,t.badInput===n&&t.typeMismatch===r||l(e)})}}),r.$render=function(){var e=r.$isEmpty(r.$viewValue)?"":r.$viewValue;t.val()!==e&&t.val(e)}}function hr(e,t){if(k(e))return e;if(w(e)){qo.lastIndex=0;var n=qo.exec(e);if(n){var r=+n[1],i=+n[2],o=0,a=0,s=0,u=0,l=Jn(r),c=7*(i-1);return t&&(o=t.getHours(),a=t.getMinutes(),s=t.getSeconds(),u=t.getMilliseconds()),new Date(r,0,l.getDate()+c,o,a,s,u)}}return NaN}function pr(e,t){return function(n,i){var o,a;if(k(n))return n;if(w(n)){if('"'==n.charAt(0)&&'"'==n.charAt(n.length-1)&&(n=n.substring(1,n.length-1)),Lo.test(n))return new Date(n);if(e.lastIndex=0,o=e.exec(n))return o.shift(),a=i?{yyyy:i.getFullYear(),MM:i.getMonth()+1,dd:i.getDate(),HH:i.getHours(),mm:i.getMinutes(),ss:i.getSeconds(),sss:i.getMilliseconds()/1e3}:{yyyy:1970,MM:1,dd:1,HH:0,mm:0,ss:0,sss:0},r(o,function(e,n){n=m},a.$observe("min",function(e){m=d(e),s.$validate()})}if($(a.max)||a.ngMax){var g;s.$validators.max=function(e){return!f(e)||v(g)||n(e)<=g},a.$observe("max",function(e){g=d(e),s.$validate()})}}}function gr(e,t,n,r){var i=t[0],o=r.$$hasNativeValidators=y(i.validity);o&&r.$parsers.push(function(e){var n=t.prop(Dr)||{};return n.badInput||n.typeMismatch?void 0:e})}function vr(e,t,n,r,i,o){if(gr(e,t,n,r),dr(e,t,n,r,i,o),r.$$parserName="number",r.$parsers.push(function(e){return r.$isEmpty(e)?null:Vo.test(e)?parseFloat(e):void 0}),r.$formatters.push(function(e){if(!r.$isEmpty(e)){if(!x(e))throw Ca("numfmt","Expected `{0}` to be a number",e);e=e.toString()}return e}),$(n.min)||n.ngMin){var a;r.$validators.min=function(e){return r.$isEmpty(e)||v(a)||e>=a},n.$observe("min",function(e){$(e)&&!x(e)&&(e=parseFloat(e,10)),a=x(e)&&!isNaN(e)?e:void 0,r.$validate()})}if($(n.max)||n.ngMax){var s;r.$validators.max=function(e){return r.$isEmpty(e)||v(s)||s>=e},n.$observe("max",function(e){$(e)&&!x(e)&&(e=parseFloat(e,10)),s=x(e)&&!isNaN(e)?e:void 0,r.$validate()})}}function $r(e,t,n,r,i,o){dr(e,t,n,r,i,o),cr(r),r.$$parserName="url",r.$validators.url=function(e,t){var n=e||t;return r.$isEmpty(n)||Ro.test(n)}}function yr(e,t,n,r,i,o){dr(e,t,n,r,i,o),cr(r),r.$$parserName="email",r.$validators.email=function(e,t){var n=e||t;return r.$isEmpty(n)||Uo.test(n)}}function br(e,t,n,r){v(n.name)&&t.attr("name",a());var i=function(e){t[0].checked&&r.$setViewValue(n.value,e&&e.type)};t.on("click",i),r.$render=function(){var e=n.value;t[0].checked=e==r.$viewValue},n.$observe("value",r.$render)}function wr(e,t,n,r,i){var o;if($(r)){if(o=e(r),!o.constant)throw Ca("constexpr","Expected constant expression for `{0}`, but saw `{1}`.",n,r);return o(t)}return i}function xr(e,t,n,r,i,o,a,s){var u=wr(s,e,"ngTrueValue",n.ngTrueValue,!0),l=wr(s,e,"ngFalseValue",n.ngFalseValue,!1),c=function(e){r.$setViewValue(t[0].checked,e&&e.type)};t.on("click",c),r.$render=function(){t[0].checked=r.$viewValue},r.$isEmpty=function(e){return e===!1},r.$formatters.push(function(e){return V(e,u)}),r.$parsers.push(function(e){return e?u:l})}function kr(e,t){return e="ngClass"+e,["$animate",function(n){function i(e,t){var n=[];e:for(var r=0;r0||n[e])&&(n[e]=(n[e]||0)+t,n[e]===+(t>0)&&i.push(e))}),s.data("$classCounts",n),i.join(" ")}function d(e,t){var r=i(t,e),o=i(e,t);r=f(r,1),o=f(o,-1),r&&r.length&&n.addClass(s,r),o&&o.length&&n.removeClass(s,o)}function h(e){if(t===!0||a.$index%2===t){var n=o(e||[]);if(p){if(!V(e,p)){var r=o(p);d(r,n)}}else l(n)}p=Wr(e)?e.map(function(e){return U(e)}):U(e)}var p;a.$watch(u[e],h,!0),u.$observe("class",function(t){h(a.$eval(u[e]))}),"ngClass"!==e&&a.$watch("$index",function(n,r){var i=1&n;if(i!==(1&r)){var s=o(a.$eval(u[e]));i===t?l(s):c(s)}})}}}]}function Cr(e){function t(e,t,s){v(t)?n("$pending",e,s):r("$pending",e,s),A(t)?t?(c(a.$error,e,s),l(a.$$success,e,s)):(l(a.$error,e,s),c(a.$$success,e,s)):(c(a.$error,e,s),c(a.$$success,e,s)),a.$pending?(i(wa,!0),a.$valid=a.$invalid=void 0,o("",null)):(i(wa,!1),a.$valid=Sr(a.$error),a.$invalid=!a.$valid,o("",a.$valid));var u;u=a.$pending&&a.$pending[e]?void 0:a.$error[e]?!1:a.$$success[e]?!0:null,o(e,u),a.$$parentForm.$setValidity(e,u,a)}function n(e,t,n){a[e]||(a[e]={}),l(a[e],t,n)}function r(e,t,n){a[e]&&c(a[e],t,n),Sr(a[e])&&(a[e]=void 0)}function i(e,t){t&&!u[e]?(f.addClass(s,e),u[e]=!0):!t&&u[e]&&(f.removeClass(s,e),u[e]=!1)}function o(e,t){e=e?"-"+ue(e,"-"):"",i(ma+e,t===!0),i(ga+e,t===!1)}var a=e.ctrl,s=e.$element,u={},l=e.set,c=e.unset,f=e.$animate;u[ga]=!(u[ma]=s.hasClass(ma)),a.$setValidity=t}function Sr(e){if(e)for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}function _r(e){e[0].hasAttribute("selected")&&(e[0].selected=!0)}var Er=/^\/(.+)\/([a-z]*)$/,Dr="validity",Mr=Object.prototype.hasOwnProperty,Tr=function(e){return w(e)?e.toLowerCase():e},Ar=function(e){return w(e)?e.toUpperCase():e},Or=function(e){return w(e)?e.replace(/[A-Z]/g,function(e){return String.fromCharCode(32|e.charCodeAt(0))}):e},Fr=function(e){return w(e)?e.replace(/[a-z]/g,function(e){return String.fromCharCode(-33&e.charCodeAt(0))}):e};"i"!=="I".toLowerCase()&&(Tr=Or,Ar=Fr);var Nr,Ir,Pr,jr,Lr=[].slice,Rr=[].splice,Ur=[].push,Vr=Object.prototype.toString,zr=Object.getPrototypeOf,Hr=t("ng"),qr=e.angular||(e.angular={}),Yr=0;Nr=e.document.documentMode,h.$inject=[],p.$inject=[];var Wr=Array.isArray,Br=/^\[object (?:Uint8|Uint8Clamped|Uint16|Uint32|Int8|Int16|Int32|Float32|Float64)Array\]$/,Gr=function(e){return w(e)?e.trim():e},Zr=function(e){return e.replace(/([-()\[\]{}+?*.$\^|,:#n;++n)if(r=Kr[n],t=e.document.querySelector("["+r.replace(":","\\:")+"jq]")){i=t.getAttribute(r+"jq");break}return Jr.name_=i},Xr=/:/g,Kr=["ng-","data-ng-","ng:","x-ng-"],ei=/[A-Z]/g,ti=!1,ni=1,ri=2,ii=3,oi=8,ai=9,si=11,ui={full:"1.5.5",major:1,minor:5,dot:5,codeName:"material-conspiration"};Me.expando="ng339";var li=Me.cache={},ci=1,fi=function(e,t,n){e.addEventListener(t,n,!1)},di=function(e,t,n){e.removeEventListener(t,n,!1)};Me._data=function(e){return this.cache[e[this.expando]]||{}};var hi=/([\:\-\_]+(.))/g,pi=/^moz([A-Z])/,mi={mouseleave:"mouseout",mouseenter:"mouseover"},gi=t("jqLite"),vi=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,$i=/<|&#?\w+;/,yi=/<([\w:-]+)/,bi=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,wi={option:[1,'"],thead:[1,"","
    "],col:[2,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],_default:[0,"",""]};wi.optgroup=wi.option,wi.tbody=wi.tfoot=wi.colgroup=wi.caption=wi.thead,wi.th=wi.td;var xi=e.Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))},ki=Me.prototype={ready:function(t){function n(){r||(r=!0,t())}var r=!1;"complete"===e.document.readyState?e.setTimeout(n):(this.on("DOMContentLoaded",n),Me(e).on("load",n))},toString:function(){var e=[];return r(this,function(t){e.push(""+t)}),"["+e.join(", ")+"]"},eq:function(e){return Ir(e>=0?this[e]:this[this.length+e])},length:0,push:Ur,sort:[].sort,splice:[].splice},Ci={};r("multiple,selected,checked,disabled,readOnly,required,open".split(","),function(e){Ci[Tr(e)]=e});var Si={};r("input,select,option,textarea,button,form,details".split(","),function(e){Si[e]=!0});var _i={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern"};r({data:Ie,removeData:Fe,hasData:Ce,cleanData:Se},function(e,t){Me[t]=e}),r({data:Ie,inheritedData:Ve,scope:function(e){return Ir.data(e,"$scope")||Ve(e.parentNode||e,["$isolateScope","$scope"])},isolateScope:function(e){return Ir.data(e,"$isolateScope")||Ir.data(e,"$isolateScopeNoTemplate")},controller:Ue,injector:function(e){return Ve(e,"$injector")},removeAttr:function(e,t){e.removeAttribute(t)},hasClass:Pe,css:function(e,t,n){return t=we(t),$(n)?void(e.style[t]=n):e.style[t]},attr:function(e,t,n){var r=e.nodeType;if(r!==ii&&r!==ri&&r!==oi){var i=Tr(t);if(Ci[i]){if(!$(n))return e[t]||(e.attributes.getNamedItem(t)||h).specified?i:void 0;n?(e[t]=!0,e.setAttribute(t,i)):(e[t]=!1,e.removeAttribute(i))}else if($(n))e.setAttribute(t,n);else if(e.getAttribute){var o=e.getAttribute(t,2);return null===o?void 0:o}}},prop:function(e,t,n){return $(n)?void(e[t]=n):e[t]},text:function(){function e(e,t){if(v(t)){var n=e.nodeType;return n===ni||n===ii?e.textContent:""}e.textContent=t}return e.$dv="",e}(),val:function(e,t){if(v(t)){if(e.multiple&&"select"===j(e)){var n=[];return r(e.options,function(e){e.selected&&n.push(e.value||e.text)}),0===n.length?null:n}return e.value}e.value=t},html:function(e,t){return v(t)?e.innerHTML:(Ae(e,!0),void(e.innerHTML=t))},empty:ze},function(e,t){Me.prototype[t]=function(t,n){var r,i,o=this.length;if(e!==ze&&v(2==e.length&&e!==Pe&&e!==Ue?t:n)){if(y(t)){for(r=0;o>r;r++)if(e===Ie)e(this[r],t);else for(i in t)e(this[r],i,t[i]);return this}for(var a=e.$dv,s=v(a)?Math.min(o,1):o,u=0;s>u;u++){var l=e(this[u],t,n);a=a?a+l:l}return a}for(r=0;o>r;r++)e(this[r],t,n);return this}}),r({removeData:Fe,on:function(e,t,n,r){if($(r))throw gi("onargs","jqLite#on() does not support the `selector` or `eventData` parameters");if(ke(e)){var i=Ne(e,!0),o=i.events,a=i.handle;a||(a=i.handle=Be(e,o));for(var s=t.indexOf(" ")>=0?t.split(" "):[t],u=s.length,l=function(t,r,i){var s=o[t];s||(s=o[t]=[],s.specialHandlerWrapper=r,"$destroy"===t||i||fi(e,t,a)),s.push(n)};u--;)t=s[u],mi[t]?(l(mi[t],Ze),l(t,void 0,!0)):l(t)}},off:Oe,one:function(e,t,n){e=Ir(e),e.on(t,function r(){e.off(t,n),e.off(t,r)}),e.on(t,n)},replaceWith:function(e,t){var n,i=e.parentNode;Ae(e),r(new Me(t),function(t){n?i.insertBefore(t,n.nextSibling):i.replaceChild(t,e),n=t})},children:function(e){var t=[];return r(e.childNodes,function(e){e.nodeType===ni&&t.push(e)}),t},contents:function(e){return e.contentDocument||e.childNodes||[]},append:function(e,t){var n=e.nodeType;if(n===ni||n===si){t=new Me(t);for(var r=0,i=t.length;i>r;r++){var o=t[r];e.appendChild(o)}}},prepend:function(e,t){if(e.nodeType===ni){var n=e.firstChild;r(new Me(t),function(t){e.insertBefore(t,n)})}},wrap:function(e,t){De(e,Ir(t).eq(0).clone()[0])},remove:He,detach:function(e){He(e,!0)},after:function(e,t){var n=e,r=e.parentNode;t=new Me(t);for(var i=0,o=t.length;o>i;i++){var a=t[i];r.insertBefore(a,n.nextSibling),n=a}},addClass:Le,removeClass:je,toggleClass:function(e,t,n){t&&r(t.split(" "),function(t){var r=n;v(r)&&(r=!Pe(e,t)),(r?Le:je)(e,t)})},parent:function(e){var t=e.parentNode;return t&&t.nodeType!==si?t:null},next:function(e){return e.nextElementSibling},find:function(e,t){return e.getElementsByTagName?e.getElementsByTagName(t):[]},clone:Te,triggerHandler:function(e,t,n){var i,o,a,s=t.type||t,u=Ne(e),c=u&&u.events,f=c&&c[s];f&&(i={preventDefault:function(){this.defaultPrevented=!0},isDefaultPrevented:function(){return this.defaultPrevented===!0},stopImmediatePropagation:function(){this.immediatePropagationStopped=!0},isImmediatePropagationStopped:function(){return this.immediatePropagationStopped===!0},stopPropagation:h,type:s,target:e},t.type&&(i=l(i,t)),o=U(f),a=n?[i].concat(n):[i],r(o,function(t){i.isImmediatePropagationStopped()||t.apply(e,a)}))}},function(e,t){Me.prototype[t]=function(t,n,r){for(var i,o=0,a=this.length;a>o;o++)v(i)?(i=e(this[o],t,n,r),$(i)&&(i=Ir(i))):Re(i,e(this[o],t,n,r));return $(i)?i:this},Me.prototype.bind=Me.prototype.on,Me.prototype.unbind=Me.prototype.off}),Xe.prototype={put:function(e,t){this[Je(e,this.nextUid)]=t},get:function(e){return this[Je(e,this.nextUid)]},remove:function(e){var t=this[e=Je(e,this.nextUid)];return delete this[e],t}};var Ei=[function(){this.$get=[function(){return Xe}]}],Di=/^([^\(]+?)=>/,Mi=/^[^\(]*\(\s*([^\)]*)\)/m,Ti=/,/,Ai=/^\s*(_?)(\S+?)\1\s*$/,Oi=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,Fi=t("$injector");nt.$$annotate=tt;var Ni=t("$animate"),Ii=1,Pi="ng-animate",ji=function(){this.$get=h},Li=function(){var e=new Xe,t=[];this.$get=["$$AnimateRunner","$rootScope",function(n,i){function o(e,t,n){var i=!1;return t&&(t=w(t)?t.split(" "):Wr(t)?t:[],r(t,function(t){t&&(i=!0,e[t]=n)})),i}function a(){r(t,function(t){var n=e.get(t);if(n){var i=at(t.attr("class")),o="",a="";r(n,function(e,t){var n=!!i[t];e!==n&&(e?o+=(o.length?" ":"")+t:a+=(a.length?" ":"")+t)}),r(t,function(e){o&&Le(e,o),a&&je(e,a)}),e.remove(t)}}),t.length=0}function s(n,r,s){var u=e.get(n)||{},l=o(u,r,!0),c=o(u,s,!1);(l||c)&&(e.put(n,u),t.push(n),1===t.length&&i.$$postDigest(a))}return{enabled:h,on:h,off:h,pin:h,push:function(e,t,r,i){i&&i(),r=r||{},r.from&&e.css(r.from),r.to&&e.css(r.to),(r.addClass||r.removeClass)&&s(e,r.addClass,r.removeClass);var o=new n;return o.complete(),o}}}]},Ri=["$provide",function(e){var t=this;this.$$registeredAnimations=Object.create(null),this.register=function(n,r){if(n&&"."!==n.charAt(0))throw Ni("notcsel","Expecting class selector starting with '.' got '{0}'.",n);var i=n+"-animation";t.$$registeredAnimations[n.substr(1)]=i,e.factory(i,r)},this.classNameFilter=function(e){if(1===arguments.length&&(this.$$classNameFilter=e instanceof RegExp?e:null,this.$$classNameFilter)){var t=new RegExp("(\\s+|\\/)"+Pi+"(\\s+|\\/)");if(t.test(this.$$classNameFilter.toString()))throw Ni("nongcls",'$animateProvider.classNameFilter(regex) prohibits accepting a regex value which matches/contains the "{0}" CSS class.',Pi)}return this.$$classNameFilter},this.$get=["$$animateQueue",function(e){function t(e,t,n){if(n){var r=ot(n);!r||r.parentNode||r.previousElementSibling||(n=null)}n?n.after(e):t.prepend(e)}return{on:e.on,off:e.off,pin:e.pin,enabled:e.enabled,cancel:function(e){e.end&&e.end()},enter:function(n,r,i,o){return r=r&&Ir(r),i=i&&Ir(i),r=r||i.parent(),t(n,r,i),e.push(n,"enter",st(o))},move:function(n,r,i,o){return r=r&&Ir(r),i=i&&Ir(i),r=r||i.parent(),t(n,r,i),e.push(n,"move",st(o))},leave:function(t,n){return e.push(t,"leave",st(n),function(){t.remove()})},addClass:function(t,n,r){return r=st(r),r.addClass=it(r.addclass,n),e.push(t,"addClass",r)},removeClass:function(t,n,r){return r=st(r),r.removeClass=it(r.removeClass,n),e.push(t,"removeClass",r)},setClass:function(t,n,r,i){return i=st(i),i.addClass=it(i.addClass,n),i.removeClass=it(i.removeClass,r),e.push(t,"setClass",i)},animate:function(t,n,r,i,o){return o=st(o),o.from=o.from?l(o.from,n):n,o.to=o.to?l(o.to,r):r,i=i||"ng-inline-animate",o.tempClasses=it(o.tempClasses,i),e.push(t,"animate",o)}}}]}],Ui=function(){this.$get=["$$rAF",function(e){function t(t){n.push(t),n.length>1||e(function(){for(var e=0;e <= >= && || ! = |".split(" "),function(e){fo[e]=!0});var ho={n:"\n",f:"\f",r:"\r",t:" ",v:"\x0B","'":"'",'"':'"'},po=function(e){this.options=e};po.prototype={constructor:po,lex:function(e){for(this.text=e,this.index=0,this.tokens=[];this.index="0"&&"9">=e&&"string"==typeof e},isWhitespace:function(e){return" "===e||"\r"===e||" "===e||"\n"===e||"\x0B"===e||" "===e},isIdentifierStart:function(e){return this.options.isIdentifierStart?this.options.isIdentifierStart(e,this.codePointAt(e)):this.isValidIdentifierStart(e)},isValidIdentifierStart:function(e){return e>="a"&&"z">=e||e>="A"&&"Z">=e||"_"===e||"$"===e},isIdentifierContinue:function(e){return this.options.isIdentifierContinue?this.options.isIdentifierContinue(e,this.codePointAt(e)):this.isValidIdentifierContinue(e)},isValidIdentifierContinue:function(e,t){return this.isValidIdentifierStart(e,t)||this.isNumber(e)},codePointAt:function(e){return 1===e.length?e.charCodeAt(0):(e.charCodeAt(0)<<10)+e.charCodeAt(1)-56613888},peekMultichar:function(){var e=this.text.charAt(this.index),t=this.peek();if(!t)return e;var n=e.charCodeAt(0),r=t.charCodeAt(0);return n>=55296&&56319>=n&&r>=56320&&57343>=r?e+t:e},isExpOperator:function(e){return"-"===e||"+"===e||this.isNumber(e)},throwError:function(e,t,n){n=n||this.index;var r=$(t)?"s "+t+"-"+this.index+" ["+this.text.substring(t,n)+"]":" "+n;throw so("lexerr","Lexer Error: {0} at column{1} in expression [{2}].",e,r,this.text)},readNumber:function(){for(var e="",t=this.index;this.index0&&!this.peek("}",")",";","]")&&e.push(this.expressionStatement()),!this.expect(";"))return{type:mo.Program,body:e}},expressionStatement:function(){return{type:mo.ExpressionStatement,expression:this.filterChain()}},filterChain:function(){for(var e,t=this.expression();e=this.expect("|");)t=this.filter(t);return t},expression:function(){return this.assignment()},assignment:function(){var e=this.ternary();return this.expect("=")&&(e={type:mo.AssignmentExpression,left:e,right:this.assignment(),operator:"="}),e},ternary:function(){var e,t,n=this.logicalOR();return this.expect("?")&&(e=this.expression(),this.consume(":"))?(t=this.expression(),{type:mo.ConditionalExpression,test:n,alternate:e,consequent:t}):n},logicalOR:function(){for(var e=this.logicalAND();this.expect("||");)e={type:mo.LogicalExpression,operator:"||",left:e,right:this.logicalAND()};return e},logicalAND:function(){for(var e=this.equality();this.expect("&&");)e={type:mo.LogicalExpression,operator:"&&",left:e,right:this.equality()};return e},equality:function(){for(var e,t=this.relational();e=this.expect("==","!=","===","!==");)t={type:mo.BinaryExpression,operator:e.text,left:t,right:this.relational()};return t},relational:function(){for(var e,t=this.additive();e=this.expect("<",">","<=",">=");)t={type:mo.BinaryExpression,operator:e.text,left:t,right:this.additive()};return t},additive:function(){for(var e,t=this.multiplicative();e=this.expect("+","-");)t={type:mo.BinaryExpression,operator:e.text,left:t,right:this.multiplicative()};return t},multiplicative:function(){for(var e,t=this.unary();e=this.expect("*","/","%");)t={type:mo.BinaryExpression,operator:e.text,left:t,right:this.unary()};return t},unary:function(){var e;return(e=this.expect("+","-","!"))?{type:mo.UnaryExpression,operator:e.text,prefix:!0,argument:this.unary()}:this.primary()},primary:function(){var e;this.expect("(")?(e=this.filterChain(),this.consume(")")):this.expect("[")?e=this.arrayDeclaration():this.expect("{")?e=this.object():this.selfReferential.hasOwnProperty(this.peek().text)?e=R(this.selfReferential[this.consume().text]):this.options.literals.hasOwnProperty(this.peek().text)?e={type:mo.Literal,value:this.options.literals[this.consume().text]}:this.peek().identifier?e=this.identifier():this.peek().constant?e=this.constant():this.throwError("not a primary expression",this.peek());for(var t;t=this.expect("(","[",".");)"("===t.text?(e={type:mo.CallExpression,callee:e,arguments:this.parseArguments()},this.consume(")")):"["===t.text?(e={type:mo.MemberExpression,object:e,property:this.expression(),computed:!0},this.consume("]")):"."===t.text?e={type:mo.MemberExpression,object:e,property:this.identifier(),computed:!1}:this.throwError("IMPOSSIBLE");return e},filter:function(e){for(var t=[e],n={type:mo.CallExpression,callee:this.identifier(),arguments:t,filter:!0};this.expect(":");)t.push(this.expression());return n},parseArguments:function(){var e=[];if(")"!==this.peekToken().text)do e.push(this.expression());while(this.expect(","));return e},identifier:function(){var e=this.consume();return e.identifier||this.throwError("is not a valid identifier",e),{type:mo.Identifier,name:e.text}},constant:function(){return{type:mo.Literal,value:this.consume().value}},arrayDeclaration:function(){var e=[];if("]"!==this.peekToken().text)do{if(this.peek("]"))break;e.push(this.expression())}while(this.expect(","));return this.consume("]"),{type:mo.ArrayExpression,elements:e}},object:function(){var e,t=[];if("}"!==this.peekToken().text)do{if(this.peek("}"))break;e={type:mo.Property,kind:"init"},this.peek().constant?e.key=this.constant():this.peek().identifier?e.key=this.identifier():this.throwError("invalid key",this.peek()),this.consume(":"),e.value=this.expression(),t.push(e)}while(this.expect(","));return this.consume("}"),{type:mo.ObjectExpression,properties:t}},throwError:function(e,t){throw so("syntax","Syntax Error: Token '{0}' {1} at column {2} of the expression [{3}] starting at [{4}].",t.text,e,t.index+1,this.text,this.text.substring(t.index))},consume:function(e){if(0===this.tokens.length)throw so("ueoe","Unexpected end of expression: {0}",this.text);var t=this.expect(e);return t||this.throwError("is unexpected, expecting ["+e+"]",this.peek()),t},peekToken:function(){if(0===this.tokens.length)throw so("ueoe","Unexpected end of expression: {0}",this.text);return this.tokens[0]},peek:function(e,t,n,r){return this.peekAhead(0,e,t,n,r)},peekAhead:function(e,t,n,r,i){if(this.tokens.length>e){var o=this.tokens[e],a=o.text;if(a===t||a===n||a===r||a===i||!t&&!n&&!r&&!i)return o}return!1},expect:function(e,t,n,r){var i=this.peek(e,t,n,r);return i?(this.tokens.shift(),i):!1},selfReferential:{"this":{type:mo.ThisExpression},$locals:{type:mo.LocalsExpression}}},hn.prototype={compile:function(e,t){var n=this,i=this.astBuilder.ast(e);this.state={nextId:0,filters:{},expensiveChecks:t,fn:{vars:[],body:[],own:{}},assign:{vars:[],body:[],own:{}},inputs:[]},sn(i,n.$filter);var o,a="";if(this.stage="assign",o=cn(i)){this.state.computing="assign";var s=this.nextId();this.recurse(o,s),this.return_(s),a="fn.assign="+this.generateFunction("assign","s,v,l")}var u=un(i.body);n.stage="inputs",r(u,function(e,t){var r="fn"+t;n.state[r]={vars:[],body:[],own:{}},n.state.computing=r;var i=n.nextId();n.recurse(e,i),n.return_(i),n.state.inputs.push(r),e.watchId=t}),this.state.computing="fn",this.stage="main",this.recurse(i);var l='"'+this.USE+" "+this.STRICT+'";\n'+this.filterPrefix()+"var fn="+this.generateFunction("fn","s,l,a,i")+a+this.watchFns()+"return fn;",c=new Function("$filter","ensureSafeMemberName","ensureSafeObject","ensureSafeFunction","getStringValue","ensureSafeAssignContext","ifDefined","plus","text",l)(this.$filter,Xt,en,tn,Kt,nn,rn,on,e);return this.state=this.stage=void 0,c.literal=fn(i),c.constant=dn(i),c},USE:"use",STRICT:"strict",watchFns:function(){var e=[],t=this.state.inputs,n=this;return r(t,function(t){e.push("var "+t+"="+n.generateFunction(t,"s"))}),t.length&&e.push("fn.inputs=["+t.join(",")+"];"),e.join("")},generateFunction:function(e,t){return"function("+t+"){"+this.varsPrefix(e)+this.body(e)+"};"},filterPrefix:function(){var e=[],t=this;return r(this.state.filters,function(n,r){e.push(n+"=$filter("+t.escape(r)+")")}),e.length?"var "+e.join(",")+";":""},varsPrefix:function(e){return this.state[e].vars.length?"var "+this.state[e].vars.join(",")+";":""},body:function(e){return this.state[e].body.join("")},recurse:function(e,t,n,i,o,a){var s,u,l,c,f=this;if(i=i||h,!a&&$(e.watchId))return t=t||this.nextId(),void this.if_("i",this.lazyAssign(t,this.computedMember("i",e.watchId)),this.lazyRecurse(e,t,n,i,o,!0));switch(e.type){case mo.Program:r(e.body,function(t,n){f.recurse(t.expression,void 0,void 0,function(e){u=e}),n!==e.body.length-1?f.current().body.push(u,";"):f.return_(u)});break;case mo.Literal:c=this.escape(e.value),this.assign(t,c),i(c);break;case mo.UnaryExpression:this.recurse(e.argument,void 0,void 0,function(e){u=e}),c=e.operator+"("+this.ifDefined(u,0)+")",this.assign(t,c),i(c);break;case mo.BinaryExpression:this.recurse(e.left,void 0,void 0,function(e){s=e}),this.recurse(e.right,void 0,void 0,function(e){u=e}),c="+"===e.operator?this.plus(s,u):"-"===e.operator?this.ifDefined(s,0)+e.operator+this.ifDefined(u,0):"("+s+")"+e.operator+"("+u+")",this.assign(t,c),i(c);break;case mo.LogicalExpression:t=t||this.nextId(),f.recurse(e.left,t),f.if_("&&"===e.operator?t:f.not(t),f.lazyRecurse(e.right,t)),i(t);break;case mo.ConditionalExpression:t=t||this.nextId(),f.recurse(e.test,t),f.if_(t,f.lazyRecurse(e.alternate,t),f.lazyRecurse(e.consequent,t)),i(t);break;case mo.Identifier:t=t||this.nextId(),n&&(n.context="inputs"===f.stage?"s":this.assign(this.nextId(),this.getHasOwnProperty("l",e.name)+"?l:s"),n.computed=!1,n.name=e.name),Xt(e.name),f.if_("inputs"===f.stage||f.not(f.getHasOwnProperty("l",e.name)),function(){f.if_("inputs"===f.stage||"s",function(){o&&1!==o&&f.if_(f.not(f.nonComputedMember("s",e.name)),f.lazyAssign(f.nonComputedMember("s",e.name),"{}")),f.assign(t,f.nonComputedMember("s",e.name))})},t&&f.lazyAssign(t,f.nonComputedMember("l",e.name))),(f.state.expensiveChecks||mn(e.name))&&f.addEnsureSafeObject(t),i(t);break;case mo.MemberExpression:s=n&&(n.context=this.nextId())||this.nextId(),t=t||this.nextId(),f.recurse(e.object,s,void 0,function(){f.if_(f.notNull(s),function(){o&&1!==o&&f.addEnsureSafeAssignContext(s),e.computed?(u=f.nextId(),f.recurse(e.property,u),f.getStringValue(u),f.addEnsureSafeMemberName(u),o&&1!==o&&f.if_(f.not(f.computedMember(s,u)),f.lazyAssign(f.computedMember(s,u),"{}")),c=f.ensureSafeObject(f.computedMember(s,u)),f.assign(t,c),n&&(n.computed=!0,n.name=u)):(Xt(e.property.name),o&&1!==o&&f.if_(f.not(f.nonComputedMember(s,e.property.name)),f.lazyAssign(f.nonComputedMember(s,e.property.name),"{}")),c=f.nonComputedMember(s,e.property.name),(f.state.expensiveChecks||mn(e.property.name))&&(c=f.ensureSafeObject(c)),f.assign(t,c),n&&(n.computed=!1,n.name=e.property.name))},function(){f.assign(t,"undefined")}),i(t)},!!o);break;case mo.CallExpression:t=t||this.nextId(),e.filter?(u=f.filter(e.callee.name),l=[],r(e.arguments,function(e){var t=f.nextId();f.recurse(e,t),l.push(t)}),c=u+"("+l.join(",")+")",f.assign(t,c),i(t)):(u=f.nextId(),s={},l=[],f.recurse(e.callee,u,s,function(){f.if_(f.notNull(u),function(){f.addEnsureSafeFunction(u),r(e.arguments,function(e){f.recurse(e,f.nextId(),void 0,function(e){l.push(f.ensureSafeObject(e))})}),s.name?(f.state.expensiveChecks||f.addEnsureSafeObject(s.context),c=f.member(s.context,s.name,s.computed)+"("+l.join(",")+")"):c=u+"("+l.join(",")+")",c=f.ensureSafeObject(c),f.assign(t,c)},function(){f.assign(t,"undefined")}),i(t)}));break;case mo.AssignmentExpression:if(u=this.nextId(),s={},!ln(e.left))throw so("lval","Trying to assign a value to a non l-value");this.recurse(e.left,void 0,s,function(){f.if_(f.notNull(s.context),function(){f.recurse(e.right,u),f.addEnsureSafeObject(f.member(s.context,s.name,s.computed)),f.addEnsureSafeAssignContext(s.context),c=f.member(s.context,s.name,s.computed)+e.operator+u,f.assign(t,c),i(t||c)})},1);break;case mo.ArrayExpression:l=[],r(e.elements,function(e){f.recurse(e,f.nextId(),void 0,function(e){l.push(e)})}),c="["+l.join(",")+"]",this.assign(t,c),i(c);break;case mo.ObjectExpression:l=[],r(e.properties,function(e){f.recurse(e.value,f.nextId(),void 0,function(t){l.push(f.escape(e.key.type===mo.Identifier?e.key.name:""+e.key.value)+":"+t)})}),c="{"+l.join(",")+"}",this.assign(t,c),i(c);break;case mo.ThisExpression:this.assign(t,"s"),i("s");break;case mo.LocalsExpression:this.assign(t,"l"),i("l");break;case mo.NGValueParameter:this.assign(t,"v"),i("v")}},getHasOwnProperty:function(e,t){var n=e+"."+t,r=this.current().own;return r.hasOwnProperty(n)||(r[n]=this.nextId(!1,e+"&&("+this.escape(t)+" in "+e+")")),r[n]},assign:function(e,t){return e?(this.current().body.push(e,"=",t,";"),e):void 0},filter:function(e){return this.state.filters.hasOwnProperty(e)||(this.state.filters[e]=this.nextId(!0)),this.state.filters[e]},ifDefined:function(e,t){return"ifDefined("+e+","+this.escape(t)+")"},plus:function(e,t){return"plus("+e+","+t+")"},return_:function(e){this.current().body.push("return ",e,";")},if_:function(e,t,n){if(e===!0)t();else{var r=this.current().body;r.push("if(",e,"){"),t(),r.push("}"),n&&(r.push("else{"),n(),r.push("}"))}},not:function(e){return"!("+e+")"},notNull:function(e){return e+"!=null"},nonComputedMember:function(e,t){var n=/[$_a-zA-Z][$_a-zA-Z0-9]*/,r=/[^$_a-zA-Z0-9]/g;return n.test(t)?e+"."+t:e+'["'+t.replace(r,this.stringEscapeFn)+'"]'},computedMember:function(e,t){return e+"["+t+"]"},member:function(e,t,n){return n?this.computedMember(e,t):this.nonComputedMember(e,t)},addEnsureSafeObject:function(e){this.current().body.push(this.ensureSafeObject(e),";")},addEnsureSafeMemberName:function(e){this.current().body.push(this.ensureSafeMemberName(e),";")},addEnsureSafeFunction:function(e){this.current().body.push(this.ensureSafeFunction(e),";")},addEnsureSafeAssignContext:function(e){this.current().body.push(this.ensureSafeAssignContext(e),";")},ensureSafeObject:function(e){return"ensureSafeObject("+e+",text)"},ensureSafeMemberName:function(e){return"ensureSafeMemberName("+e+",text)"},ensureSafeFunction:function(e){return"ensureSafeFunction("+e+",text)"},getStringValue:function(e){this.assign(e,"getStringValue("+e+")")},ensureSafeAssignContext:function(e){return"ensureSafeAssignContext("+e+",text)"},lazyRecurse:function(e,t,n,r,i,o){var a=this;return function(){a.recurse(e,t,n,r,i,o)}},lazyAssign:function(e,t){var n=this;return function(){n.assign(e,t)}},stringEscapeRegex:/[^ a-zA-Z0-9]/g,stringEscapeFn:function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)},escape:function(e){if(w(e))return"'"+e.replace(this.stringEscapeRegex,this.stringEscapeFn)+"'";if(x(e))return e.toString();if(e===!0)return"true";if(e===!1)return"false";if(null===e)return"null";if("undefined"==typeof e)return"undefined";throw so("esc","IMPOSSIBLE")},nextId:function(e,t){var n="v"+this.state.nextId++;return e||this.current().vars.push(n+(t?"="+t:"")),n},current:function(){return this.state[this.state.computing]}},pn.prototype={compile:function(e,t){var n=this,i=this.astBuilder.ast(e);this.expression=e,this.expensiveChecks=t,sn(i,n.$filter);var o,a;(o=cn(i))&&(a=this.recurse(o));var s,u=un(i.body);u&&(s=[],r(u,function(e,t){var r=n.recurse(e);e.input=r,s.push(r),e.watchId=t}));var l=[];r(i.body,function(e){l.push(n.recurse(e.expression))});var c=0===i.body.length?h:1===i.body.length?l[0]:function(e,t){var n;return r(l,function(r){n=r(e,t)}),n};return a&&(c.assign=function(e,t,n){return a(e,n,t)}),s&&(c.inputs=s),c.literal=fn(i),c.constant=dn(i),c},recurse:function(e,t,n){var i,o,a,s=this;if(e.input)return this.inputs(e.input,e.watchId);switch(e.type){case mo.Literal:return this.value(e.value,t);case mo.UnaryExpression:return o=this.recurse(e.argument),this["unary"+e.operator](o,t);case mo.BinaryExpression:return i=this.recurse(e.left),o=this.recurse(e.right),this["binary"+e.operator](i,o,t);case mo.LogicalExpression:return i=this.recurse(e.left),o=this.recurse(e.right),this["binary"+e.operator](i,o,t);case mo.ConditionalExpression:return this["ternary?:"](this.recurse(e.test),this.recurse(e.alternate),this.recurse(e.consequent),t);case mo.Identifier:return Xt(e.name,s.expression),s.identifier(e.name,s.expensiveChecks||mn(e.name),t,n,s.expression);case mo.MemberExpression:return i=this.recurse(e.object,!1,!!n),e.computed||(Xt(e.property.name,s.expression),o=e.property.name),e.computed&&(o=this.recurse(e.property)),e.computed?this.computedMember(i,o,t,n,s.expression):this.nonComputedMember(i,o,s.expensiveChecks,t,n,s.expression);case mo.CallExpression:return a=[],r(e.arguments,function(e){a.push(s.recurse(e))}),e.filter&&(o=this.$filter(e.callee.name)),e.filter||(o=this.recurse(e.callee,!0)),e.filter?function(e,n,r,i){for(var s=[],u=0;u":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)>t(r,i,o,a);return n?{value:s}:s}},"binary<=":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)<=t(r,i,o,a);return n?{value:s}:s}},"binary>=":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)>=t(r,i,o,a);return n?{value:s}:s}},"binary&&":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)&&t(r,i,o,a);return n?{value:s}:s}},"binary||":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)||t(r,i,o,a);return n?{value:s}:s}},"ternary?:":function(e,t,n,r){return function(i,o,a,s){var u=e(i,o,a,s)?t(i,o,a,s):n(i,o,a,s);return r?{value:u}:u}},value:function(e,t){return function(){return t?{context:void 0,name:void 0,value:e}:e}},identifier:function(e,t,n,r,i){return function(o,a,s,u){var l=a&&e in a?a:o;r&&1!==r&&l&&!l[e]&&(l[e]={});var c=l?l[e]:void 0;return t&&en(c,i),n?{context:l,name:e,value:c}:c}},computedMember:function(e,t,n,r,i){return function(o,a,s,u){var l,c,f=e(o,a,s,u);return null!=f&&(l=t(o,a,s,u),l=Kt(l),Xt(l,i),r&&1!==r&&(nn(f),f&&!f[l]&&(f[l]={})),c=f[l],en(c,i)),n?{context:f,name:l,value:c}:c}},nonComputedMember:function(e,t,n,r,i,o){return function(a,s,u,l){var c=e(a,s,u,l);i&&1!==i&&(nn(c),c&&!c[t]&&(c[t]={}));var f=null!=c?c[t]:void 0;return(n||mn(t))&&en(f,o),r?{context:c,name:t,value:f}:f}},inputs:function(e,t){return function(n,r,i,o){return o?o[t]:e(n,r,i)}}};var go=function(e,t,n){this.lexer=e,this.$filter=t,this.options=n,this.ast=new mo(e,n),this.astCompiler=n.csp?new pn(this.ast,t):new hn(this.ast,t)};go.prototype={constructor:go,parse:function(e){return this.astCompiler.compile(e,this.options.expensiveChecks)}};var vo=Object.prototype.valueOf,$o=t("$sce"),yo={HTML:"html",CSS:"css",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},bo=t("$compile"),wo=e.document.createElement("a"),xo=On(e.location.href);In.$inject=["$document"],jn.$inject=["$provide"];var ko=22,Co=".",So="0";zn.$inject=["$locale"],Hn.$inject=["$locale"];var _o={yyyy:Gn("FullYear",4,0,!1,!0),yy:Gn("FullYear",2,0,!0,!0),y:Gn("FullYear",1,0,!1,!0),MMMM:Zn("Month"),MMM:Zn("Month",!0),MM:Gn("Month",2,1),M:Gn("Month",1,1),LLLL:Zn("Month",!1,!0),dd:Gn("Date",2),d:Gn("Date",1),HH:Gn("Hours",2),H:Gn("Hours",1),hh:Gn("Hours",2,-12),h:Gn("Hours",1,-12),mm:Gn("Minutes",2),m:Gn("Minutes",1),ss:Gn("Seconds",2),s:Gn("Seconds",1),sss:Gn("Milliseconds",3),EEEE:Zn("Day"),EEE:Zn("Day",!0),a:er,Z:Qn,ww:Kn(2),w:Kn(1),G:tr,GG:tr,GGG:tr,GGGG:nr},Eo=/((?:[^yMLdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|m+|s+|a|Z|G+|w+))(.*)/,Do=/^\-?\d+$/;rr.$inject=["$locale"];var Mo=m(Tr),To=m(Ar);ar.$inject=["$parse"];var Ao=m({restrict:"E",compile:function(e,t){return t.href||t.xlinkHref?void 0:function(e,t){if("a"===t[0].nodeName.toLowerCase()){var n="[object SVGAnimatedString]"===Vr.call(t.prop("href"))?"xlink:href":"href";t.on("click",function(e){t.attr(n)||e.preventDefault()})}}}}),Oo={};r(Ci,function(e,t){function n(e,n,i){e.$watch(i[r],function(e){i.$set(t,!!e)})}if("multiple"!=e){var r=mt("ng-"+t),i=n;"checked"===e&&(i=function(e,t,i){i.ngModel!==i[r]&&n(e,t,i)}),Oo[r]=function(){return{restrict:"A",priority:100,link:i}}}}),r(_i,function(e,t){Oo[t]=function(){return{priority:100,link:function(e,n,r){if("ngPattern"===t&&"/"==r.ngPattern.charAt(0)){var i=r.ngPattern.match(Er);if(i)return void r.$set("ngPattern",new RegExp(i[1],i[2]))}e.$watch(r[t],function(e){r.$set(t,e)})}}}}),r(["src","srcset","href"],function(e){var t=mt("ng-"+e);Oo[t]=function(){return{priority:99,link:function(n,r,i){var o=e,a=e;"href"===e&&"[object SVGAnimatedString]"===Vr.call(r.prop("href"))&&(a="xlinkHref",i.$attr[a]="xlink:href",o=null),i.$observe(t,function(t){return t?(i.$set(a,t),void(Nr&&o&&r.prop(o,i[a]))):void("href"===e&&i.$set(a,null))})}}}});var Fo={$addControl:h,$$renameControl:ur,$removeControl:h,$setValidity:h,$setDirty:h,$setPristine:h,$setSubmitted:h},No="ng-submitted";lr.$inject=["$element","$attrs","$scope","$animate","$interpolate"];var Io=function(e){return["$timeout","$parse",function(t,n){function r(e){return""===e?n('this[""]').assign:n(e).assign||h}var i={name:"form",restrict:e?"EAC":"E",require:["form","^^?form"],controller:lr,compile:function(n,i){n.addClass(va).addClass(ma);var o=i.name?"name":e&&i.ngForm?"ngForm":!1;return{pre:function(e,n,i,a){var s=a[0];if(!("action"in i)){var u=function(t){e.$apply(function(){s.$commitViewValue(),s.$setSubmitted()}),t.preventDefault()};fi(n[0],"submit",u),n.on("$destroy",function(){t(function(){di(n[0],"submit",u)},0,!1)})}var c=a[1]||s.$$parentForm;c.$addControl(s);var f=o?r(s.$name):h;o&&(f(e,s),i.$observe(o,function(t){s.$name!==t&&(f(e,void 0),s.$$parentForm.$$renameControl(s,t),(f=r(s.$name))(e,s))})),n.on("$destroy",function(){s.$$parentForm.$removeControl(s),f(e,void 0),l(s,Fo)})}}}};return i}]},Po=Io(),jo=Io(!0),Lo=/^\d{4,}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+(?:[+-][0-2]\d:[0-5]\d|Z)$/,Ro=/^[a-z][a-z\d.+-]*:\/*(?:[^:@]+(?::[^@]+)?@)?(?:[^\s:\/?#]+|\[[a-f\d:]+\])(?::\d+)?(?:\/[^?#]*)?(?:\?[^#]*)?(?:#.*)?$/i,Uo=/^[a-z0-9!#$%&'*+\/=?^_`{|}~.-]+@[a-z0-9]([a-z0-9-]*[a-z0-9])?(\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*$/i,Vo=/^\s*(\-|\+)?(\d+|(\d*(\.\d*)))([eE][+-]?\d+)?\s*$/,zo=/^(\d{4,})-(\d{2})-(\d{2})$/,Ho=/^(\d{4,})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,qo=/^(\d{4,})-W(\d\d)$/,Yo=/^(\d{4,})-(\d\d)$/,Wo=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,Bo="keydown wheel mousedown",Go=me();r("date,datetime-local,month,time,week".split(","),function(e){Go[e]=!0});var Zo={text:fr,date:mr("date",zo,pr(zo,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":mr("datetimelocal",Ho,pr(Ho,["yyyy","MM","dd","HH","mm","ss","sss"]),"yyyy-MM-ddTHH:mm:ss.sss"),time:mr("time",Wo,pr(Wo,["HH","mm","ss","sss"]),"HH:mm:ss.sss"),week:mr("week",qo,hr,"yyyy-Www"),month:mr("month",Yo,pr(Yo,["yyyy","MM"]),"yyyy-MM"),number:vr,url:$r,email:yr,radio:br,checkbox:xr,hidden:h,button:h,submit:h,reset:h,file:h},Qo=["$browser","$sniffer","$filter","$parse",function(e,t,n,r){return{restrict:"E",require:["?ngModel"],link:{pre:function(i,o,a,s){s[0]&&(Zo[Tr(a.type)]||Zo.text)(i,o,a,s[0],t,e,n,r)}}}}],Jo=/^(true|false|\d+)$/,Xo=function(){return{restrict:"A",priority:100,compile:function(e,t){return Jo.test(t.ngValue)?function(e,t,n){n.$set("value",e.$eval(n.ngValue))}:function(e,t,n){e.$watch(n.ngValue,function(e){n.$set("value",e)})}}}},Ko=["$compile",function(e){return{restrict:"AC",compile:function(t){return e.$$addBindingClass(t),function(t,n,r){e.$$addBindingInfo(n,r.ngBind),n=n[0],t.$watch(r.ngBind,function(e){n.textContent=v(e)?"":e})}}}}],ea=["$interpolate","$compile",function(e,t){return{compile:function(n){return t.$$addBindingClass(n),function(n,r,i){var o=e(r.attr(i.$attr.ngBindTemplate));t.$$addBindingInfo(r,o.expressions),r=r[0],i.$observe("ngBindTemplate",function(e){r.textContent=v(e)?"":e})}}}}],ta=["$sce","$parse","$compile",function(e,t,n){return{restrict:"A",compile:function(r,i){var o=t(i.ngBindHtml),a=t(i.ngBindHtml,function(e){return(e||"").toString()});return n.$$addBindingClass(r),function(t,r,i){n.$$addBindingInfo(r,i.ngBindHtml),t.$watch(a,function(){r.html(e.getTrustedHtml(o(t))||"")})}}}}],na=m({restrict:"A",require:"ngModel",link:function(e,t,n,r){r.$viewChangeListeners.push(function(){e.$eval(n.ngChange)})}}),ra=kr("",!0),ia=kr("Odd",0),oa=kr("Even",1),aa=sr({compile:function(e,t){t.$set("ngCloak",void 0),e.removeClass("ng-cloak")}}),sa=[function(){return{restrict:"A",scope:!0,controller:"@",priority:500}}],ua={},la={blur:!0,focus:!0};r("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),function(e){var t=mt("ng-"+e);ua[t]=["$parse","$rootScope",function(n,r){return{restrict:"A",compile:function(i,o){var a=n(o[t],null,!0);return function(t,n){n.on(e,function(n){var i=function(){a(t,{$event:n})};la[e]&&r.$$phase?t.$evalAsync(i):t.$apply(i)})}}}}]});var ca=["$animate","$compile",function(e,t){return{multiElement:!0,transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(n,r,i,o,a){var s,u,l;n.$watch(i.ngIf,function(n){n?u||a(function(n,o){u=o,n[n.length++]=t.$$createComment("end ngIf",i.ngIf),s={clone:n},e.enter(n,r.parent(),r)}):(l&&(l.remove(),l=null),u&&(u.$destroy(),u=null),s&&(l=pe(s.clone),e.leave(l).then(function(){l=null}),s=null))})}}}],fa=["$templateRequest","$anchorScroll","$animate",function(e,t,n){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:qr.noop,compile:function(r,i){var o=i.ngInclude||i.src,a=i.onload||"",s=i.autoscroll;return function(r,i,u,l,c){var f,d,h,p=0,m=function(){d&&(d.remove(),d=null),f&&(f.$destroy(),f=null),h&&(n.leave(h).then(function(){d=null}),d=h,h=null)};r.$watch(o,function(o){var u=function(){!$(s)||s&&!r.$eval(s)||t()},d=++p;o?(e(o,!0).then(function(e){if(!r.$$destroyed&&d===p){var t=r.$new();l.template=e;var s=c(t,function(e){m(),n.enter(e,null,i).then(u)});f=t,h=s,f.$emit("$includeContentLoaded",o),r.$eval(a)}},function(){r.$$destroyed||d===p&&(m(),r.$emit("$includeContentError",o))}),r.$emit("$includeContentRequested",o)):(m(),l.template=null)})}}}}],da=["$compile",function(t){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(n,r,i,o){return Vr.call(r[0]).match(/SVG/)?(r.empty(),void t(_e(o.template,e.document).childNodes)(n,function(e){r.append(e)},{futureParentElement:r})):(r.html(o.template),void t(r.contents())(n))}}}],ha=sr({priority:450,compile:function(){return{pre:function(e,t,n){e.$eval(n.ngInit)}}}}),pa=function(){return{restrict:"A",priority:100,require:"ngModel",link:function(e,t,n,i){var o=t.attr(n.$attr.ngList)||", ",a="false"!==n.ngTrim,s=a?Gr(o):o,u=function(e){if(!v(e)){var t=[];return e&&r(e.split(s),function(e){e&&t.push(a?Gr(e):e)}),t}};i.$parsers.push(u),i.$formatters.push(function(e){return Wr(e)?e.join(o):void 0}),i.$isEmpty=function(e){return!e||!e.length}}}},ma="ng-valid",ga="ng-invalid",va="ng-pristine",$a="ng-dirty",ya="ng-untouched",ba="ng-touched",wa="ng-pending",xa="ng-empty",ka="ng-not-empty",Ca=t("ngModel"),Sa=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate","$timeout","$rootScope","$q","$interpolate",function(e,t,n,i,o,a,s,u,l,c){this.$viewValue=Number.NaN,this.$modelValue=Number.NaN,this.$$rawModelValue=void 0,this.$validators={},this.$asyncValidators={},this.$parsers=[],this.$formatters=[],this.$viewChangeListeners=[],this.$untouched=!0,this.$touched=!1,this.$pristine=!0,this.$dirty=!1,this.$valid=!0,this.$invalid=!1,this.$error={},this.$$success={},this.$pending=void 0,this.$name=c(n.name||"",!1)(e),this.$$parentForm=Fo;var f,d=o(n.ngModel),p=d.assign,m=d,g=p,y=null,b=this;this.$$setOptions=function(e){if(b.$options=e,e&&e.getterSetter){var t=o(n.ngModel+"()"),r=o(n.ngModel+"($$$p)");m=function(e){var n=d(e);return C(n)&&(n=t(e)),n},g=function(e,t){C(d(e))?r(e,{$$$p:t}):p(e,t)}}else if(!d.assign)throw Ca("nonassign","Expression '{0}' is non-assignable. Element: {1}",n.ngModel,J(i))},this.$render=h,this.$isEmpty=function(e){return v(e)||""===e||null===e||e!==e},this.$$updateEmptyClasses=function(e){b.$isEmpty(e)?(a.removeClass(i,ka),a.addClass(i,xa)):(a.removeClass(i,xa),a.addClass(i,ka))};var w=0;Cr({ctrl:this,$element:i,set:function(e,t){e[t]=!0},unset:function(e,t){delete e[t]},$animate:a}),this.$setPristine=function(){b.$dirty=!1,b.$pristine=!0,a.removeClass(i,$a),a.addClass(i,va)},this.$setDirty=function(){b.$dirty=!0,b.$pristine=!1,a.removeClass(i,va),a.addClass(i,$a),b.$$parentForm.$setDirty()},this.$setUntouched=function(){b.$touched=!1,b.$untouched=!0,a.setClass(i,ya,ba)},this.$setTouched=function(){b.$touched=!0,b.$untouched=!1,a.setClass(i,ba,ya)},this.$rollbackViewValue=function(){s.cancel(y),b.$viewValue=b.$$lastCommittedViewValue,b.$render()},this.$validate=function(){if(!x(b.$modelValue)||!isNaN(b.$modelValue)){var e=b.$$lastCommittedViewValue,t=b.$$rawModelValue,n=b.$valid,r=b.$modelValue,i=b.$options&&b.$options.allowInvalid;b.$$runValidators(t,e,function(e){i||n===e||(b.$modelValue=e?t:void 0,b.$modelValue!==r&&b.$$writeModelToScope())})}},this.$$runValidators=function(e,t,n){function i(){var e=b.$$parserName||"parse";return v(f)?(s(e,null),!0):(f||(r(b.$validators,function(e,t){s(t,null)}),r(b.$asyncValidators,function(e,t){s(t,null)})),s(e,f),f)}function o(){var n=!0;return r(b.$validators,function(r,i){var o=r(e,t);n=n&&o,s(i,o)}),n?!0:(r(b.$asyncValidators,function(e,t){s(t,null)}),!1)}function a(){var n=[],i=!0;r(b.$asyncValidators,function(r,o){var a=r(e,t);if(!O(a))throw Ca("nopromise","Expected asynchronous validator to return a promise but got '{0}' instead.",a);s(o,void 0),n.push(a.then(function(){s(o,!0)},function(){i=!1,s(o,!1)}))}),n.length?l.all(n).then(function(){u(i)},h):u(!0)}function s(e,t){c===w&&b.$setValidity(e,t)}function u(e){c===w&&n(e)}w++;var c=w;return i()&&o()?void a():void u(!1)},this.$commitViewValue=function(){var e=b.$viewValue;s.cancel(y),(b.$$lastCommittedViewValue!==e||""===e&&b.$$hasNativeValidators)&&(b.$$updateEmptyClasses(e),b.$$lastCommittedViewValue=e,b.$pristine&&this.$setDirty(),this.$$parseAndValidate())},this.$$parseAndValidate=function(){function t(){b.$modelValue!==o&&b.$$writeModelToScope()}var n=b.$$lastCommittedViewValue,r=n;if(f=v(r)?void 0:!0)for(var i=0;io;o++){var u=e===n?o:n[o],l=e[u],c=k(l,u),f=g(l,c);if(t.push(f),s[2]||s[1]){var d=$(r,c);t.push(d)}if(s[4]){var h=b(r,c);t.push(h)}}return t}),getOptions:function(){for(var e=[],t={},n=w(r)||[],o=a(n),s=o.length,u=0;s>u;u++){var l=n===o?u:o[u],c=n[l],d=k(c,l),h=p(r,d),m=g(h,d),x=$(r,d),C=y(r,d),S=b(r,d),_=new i(m,h,x,C,S);e.push(_),t[m]=_}return{items:e,selectValueMap:t,getOptionFromViewValue:function(e){return t[v(e)]},getViewValueFromOption:function(e){return f?qr.copy(e.viewValue):e.viewValue}}}}}function s(e,n,o,s){function c(e,t){var n=u.cloneNode(!1);t.appendChild(n),f(e,n)}function f(e,t){e.element=t,t.disabled=e.disabled,e.label!==t.label&&(t.label=e.label,t.textContent=e.label),e.value!==t.value&&(t.value=e.selectValue)}function d(){var e=k&&p.readValue();if(k)for(var t=k.items.length-1;t>=0;t--){var r=k.items[t];He(r.group?r.element.parentNode:r.element)}k=C.getOptions();var i={};if(w&&n.prepend(h),k.items.forEach(function(e){var t;$(e.group)?(t=i[e.group],t||(t=l.cloneNode(!1),S.appendChild(t),t.label=e.group,i[e.group]=t),c(e,t)):c(e,S)}),n[0].appendChild(S),m.$render(),!m.$isEmpty(e)){var o=p.readValue(),a=C.trackBy||g;(a?V(e,o):e===o)||(m.$setViewValue(o),m.$render())}}for(var h,p=s[0],m=s[1],g=o.multiple,v=0,y=n.children(),b=y.length;b>v;v++)if(""===y[v].value){h=y.eq(v);break}var w=!!h,x=Ir(u.cloneNode(!1));x.val("?");var k,C=a(o.ngOptions,n,e),S=i[0].createDocumentFragment(),_=function(){w||n.prepend(h),n.val(""),h.prop("selected",!0),h.attr("selected",!0)},E=function(){w||h.remove()},D=function(){n.prepend(x),n.val("?"),x.prop("selected",!0),x.attr("selected",!0)},M=function(){x.remove()};g?(m.$isEmpty=function(e){return!e||0===e.length},p.writeValue=function(e){k.items.forEach(function(e){e.element.selected=!1}),e&&e.forEach(function(e){var t=k.getOptionFromViewValue(e);t&&(t.element.selected=!0)})},p.readValue=function(){var e=n.val()||[],t=[];return r(e,function(e){var n=k.selectValueMap[e];n&&!n.disabled&&t.push(k.getViewValueFromOption(n))}),t},C.trackBy&&e.$watchCollection(function(){return Wr(m.$viewValue)?m.$viewValue.map(function(e){return C.getTrackByValue(e)}):void 0},function(){m.$render()})):(p.writeValue=function(e){var t=k.getOptionFromViewValue(e);t?(n[0].value!==t.selectValue&&(M(),E(),n[0].value=t.selectValue,t.element.selected=!0),t.element.setAttribute("selected","selected")):null===e||w?(M(),_()):(E(),D())},p.readValue=function(){var e=k.selectValueMap[n.val()];return e&&!e.disabled?(E(),M(),k.getViewValueFromOption(e)):null},C.trackBy&&e.$watch(function(){return C.getTrackByValue(m.$viewValue)},function(){m.$render()})),w?(h.remove(),t(h)(e),h.removeClass("ng-scope")):h=Ir(u.cloneNode(!1)),n.empty(),d(),e.$watchCollection(C.getWatchables,d)}var u=e.document.createElement("option"),l=e.document.createElement("optgroup");return{restrict:"A",terminal:!0,require:["select","ngModel"],link:{pre:function(e,t,n,r){r[0].registerOption=h},post:s}}}],Fa=["$locale","$interpolate","$log",function(e,t,n){var i=/{}/g,o=/^when(Minus)?(.+)$/;return{link:function(a,s,u){function l(e){s.text(e||"")}var c,f=u.count,d=u.$attr.when&&s.attr(u.$attr.when),p=u.offset||0,m=a.$eval(d)||{},g={},$=t.startSymbol(),y=t.endSymbol(),b=$+f+"-"+p+y,w=qr.noop;r(u,function(e,t){var n=o.exec(t);if(n){var r=(n[1]?"-":"")+Tr(n[2]);m[r]=s.attr(u.$attr[t])}}),r(m,function(e,n){g[n]=t(e.replace(i,b))}),a.$watch(f,function(t){var r=parseFloat(t),i=isNaN(r);if(i||r in m||(r=e.pluralCat(r-p)),r!==c&&!(i&&x(c)&&isNaN(c))){w();var o=g[r];v(o)?(null!=t&&n.debug("ngPluralize: no rule defined for '"+r+"' in "+d),w=h,l()):w=a.$watch(o,l),c=r}})}}}],Na=["$parse","$animate","$compile",function(e,i,o){var a="$$NG_REMOVED",s=t("ngRepeat"),u=function(e,t,n,r,i,o,a){e[n]=r,i&&(e[i]=o),e.$index=t,e.$first=0===t,e.$last=t===a-1,e.$middle=!(e.$first||e.$last),e.$odd=!(e.$even=0===(1&t))},l=function(e){return e.clone[0]},c=function(e){return e.clone[e.clone.length-1]};return{restrict:"A",multiElement:!0,transclude:"element",priority:1e3,terminal:!0,$$tlb:!0,compile:function(t,f){var d=f.ngRepeat,h=o.$$createComment("end ngRepeat",d),p=d.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+track\s+by\s+([\s\S]+?))?\s*$/);if(!p)throw s("iexp","Expected expression in form of '_item_ in _collection_[ track by _id_]' but got '{0}'.",d);var m=p[1],g=p[2],v=p[3],$=p[4];if(p=m.match(/^(?:(\s*[\$\w]+)|\(\s*([\$\w]+)\s*,\s*([\$\w]+)\s*\))$/),!p)throw s("iidexp","'_item_' in '_item_ in _collection_' should be an identifier or '(_key_, _value_)' expression, but got '{0}'.",m);var y=p[3]||p[1],b=p[2];if(v&&(!/^[$a-zA-Z_][$a-zA-Z0-9_]*$/.test(v)||/^(null|undefined|this|\$index|\$first|\$middle|\$last|\$even|\$odd|\$parent|\$root|\$id)$/.test(v)))throw s("badident","alias '{0}' is invalid --- must be a valid JS identifier which is not a reserved name.",v);var w,x,k,C,S={$id:Je};return $?w=e($):(k=function(e,t){return Je(t)},C=function(e){return e}),function(e,t,o,f,p){w&&(x=function(t,n,r){return b&&(S[b]=t),S[y]=n,S.$index=r,w(e,S)});var m=me();e.$watchCollection(g,function(o){var f,g,$,w,S,_,E,D,M,T,A,O,F=t[0],N=me();if(v&&(e[v]=o),n(o))M=o,D=x||k;else{D=x||C,M=[];for(var I in o)Mr.call(o,I)&&"$"!==I.charAt(0)&&M.push(I)}for(w=M.length,A=new Array(w),f=0;w>f;f++)if(S=o===M?f:M[f],_=o[S],E=D(S,_,f),m[E])T=m[E],delete m[E],N[E]=T,A[f]=T;else{if(N[E])throw r(A,function(e){e&&e.scope&&(m[e.id]=e)}),s("dupes","Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: {0}, Duplicate key: {1}, Duplicate value: {2}",d,E,_);A[f]={id:E,scope:void 0,clone:void 0},N[E]=!0}for(var P in m){if(T=m[P],O=pe(T.clone),i.leave(O),O[0].parentNode)for(f=0,g=O.length;g>f;f++)O[f][a]=!0;T.scope.$destroy()}for(f=0;w>f;f++)if(S=o===M?f:M[f],_=o[S],T=A[f],T.scope){$=F;do $=$.nextSibling;while($&&$[a]);l(T)!=$&&i.move(pe(T.clone),null,F),F=c(T),u(T.scope,f,y,_,b,S,w)}else p(function(e,t){T.scope=t;var n=h.cloneNode(!1);e[e.length++]=n,i.enter(e,null,F),F=n,T.clone=e,N[T.id]=T,u(T.scope,f,y,_,b,S,w)});m=N})}}}}],Ia="ng-hide",Pa="ng-hide-animate",ja=["$animate",function(e){return{restrict:"A",multiElement:!0,link:function(t,n,r){t.$watch(r.ngShow,function(t){e[t?"removeClass":"addClass"](n,Ia,{tempClasses:Pa})})}}}],La=["$animate",function(e){return{restrict:"A",multiElement:!0,link:function(t,n,r){t.$watch(r.ngHide,function(t){e[t?"addClass":"removeClass"](n,Ia,{tempClasses:Pa})})}}}],Ra=sr(function(e,t,n){e.$watch(n.ngStyle,function(e,n){n&&e!==n&&r(n,function(e,n){t.css(n,"")}),e&&t.css(e)},!0)}),Ua=["$animate","$compile",function(e,t){return{require:"ngSwitch",controller:["$scope",function(){this.cases={}}],link:function(n,i,o,a){var s=o.ngSwitch||o.on,u=[],l=[],c=[],f=[],d=function(e,t){return function(){e.splice(t,1)}};n.$watch(s,function(n){var i,o;for(i=0,o=c.length;o>i;++i)e.cancel(c[i]);for(c.length=0,i=0,o=f.length;o>i;++i){var s=pe(l[i].clone);f[i].$destroy();var h=c[i]=e.leave(s);h.then(d(c,i))}l.length=0,f.length=0,(u=a.cases["!"+n]||a.cases["?"])&&r(u,function(n){n.transclude(function(r,i){f.push(i);var o=n.element;r[r.length++]=t.$$createComment("end ngSwitchWhen");var a={clone:r};l.push(a),e.enter(r,o.parent(),o)})})})}}}],Va=sr({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(e,t,n,r,i){r.cases["!"+n.ngSwitchWhen]=r.cases["!"+n.ngSwitchWhen]||[],r.cases["!"+n.ngSwitchWhen].push({transclude:i,element:t})}}),za=sr({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(e,t,n,r,i){r.cases["?"]=r.cases["?"]||[],r.cases["?"].push({transclude:i,element:t})}}),Ha=t("ngTransclude"),qa=sr({restrict:"EAC",link:function(e,t,n,r,i){function o(e){e.length&&(t.empty(),t.append(e))}if(n.ngTransclude===n.$attr.ngTransclude&&(n.ngTransclude=""),!i)throw Ha("orphan","Illegal use of ngTransclude directive in the template! No parent directive that requires a transclusion found. Element: {0}",J(t));var a=n.ngTransclude||n.ngTranscludeSlot;i(o,null,a)}}),Ya=["$templateCache",function(e){return{restrict:"E",terminal:!0,compile:function(t,n){if("text/ng-template"==n.type){var r=n.id,i=t[0].text;e.put(r,i)}}}}],Wa={$setViewValue:h,$render:h},Ba=["$element","$scope",function(t,n){var r=this,i=new Xe;r.ngModelCtrl=Wa,r.unknownOption=Ir(e.document.createElement("option")),r.renderUnknownOption=function(e){var n="? "+Je(e)+" ?";r.unknownOption.val(n),t.prepend(r.unknownOption),t.val(n)},n.$on("$destroy",function(){r.renderUnknownOption=h}),r.removeUnknownOption=function(){r.unknownOption.parent()&&r.unknownOption.remove()},r.readValue=function(){return r.removeUnknownOption(),t.val()},r.writeValue=function(e){r.hasOption(e)?(r.removeUnknownOption(),t.val(e),""===e&&r.emptyOption.prop("selected",!0)):null==e&&r.emptyOption?(r.removeUnknownOption(),t.val("")):r.renderUnknownOption(e)},r.addOption=function(e,t){if(t[0].nodeType!==oi){de(e,'"option value"'),""===e&&(r.emptyOption=t);var n=i.get(e)||0;i.put(e,n+1),r.ngModelCtrl.$render(),_r(t)}},r.removeOption=function(e){var t=i.get(e);t&&(1===t?(i.remove(e),""===e&&(r.emptyOption=void 0)):i.put(e,t-1))},r.hasOption=function(e){return!!i.get(e)},r.registerOption=function(e,t,n,i,o){if(i){var a;n.$observe("value",function(e){$(a)&&r.removeOption(a),a=e,r.addOption(e,t)})}else o?e.$watch(o,function(e,i){n.$set("value",e),i!==e&&r.removeOption(i),r.addOption(e,t)}):r.addOption(n.value,t);t.on("$destroy",function(){r.removeOption(n.value),r.ngModelCtrl.$render()})}}],Ga=function(){function e(e,t,n,i){var o=i[1];if(o){var a=i[0];if(a.ngModelCtrl=o,t.on("change",function(){e.$apply(function(){o.$setViewValue(a.readValue())})}),n.multiple){a.readValue=function(){var e=[];return r(t.find("option"),function(t){t.selected&&e.push(t.value)}),e},a.writeValue=function(e){var n=new Xe(e);r(t.find("option"),function(e){e.selected=$(n.get(e.value))})};var s,u=NaN;e.$watch(function(){u!==o.$viewValue||V(s,o.$viewValue)||(s=U(o.$viewValue),o.$render()),u=o.$viewValue}),o.$isEmpty=function(e){return!e||0===e.length}}}}function t(e,t,n,r){var i=r[1];if(i){var o=r[0];i.$render=function(){o.writeValue(i.$viewValue)}}}return{restrict:"E",require:["select","?ngModel"],controller:Ba,priority:1,link:{pre:e,post:t}}},Za=["$interpolate",function(e){return{restrict:"E",priority:100,compile:function(t,n){if($(n.value))var r=e(n.value,!0);else{var i=e(t.text(),!0);i||n.$set("value",t.text())}return function(e,t,n){var o="$selectController",a=t.parent(),s=a.data(o)||a.parent().data(o);s&&s.registerOption(e,t,n,r,i)}}}}],Qa=m({restrict:"E",terminal:!1}),Ja=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){r&&(n.required=!0,r.$validators.required=function(e,t){return!n.required||!r.$isEmpty(t)},n.$observe("required",function(){r.$validate()}))}}},Xa=function(){return{restrict:"A",require:"?ngModel",link:function(e,n,r,i){if(i){var o,a=r.ngPattern||r.pattern;r.$observe("pattern",function(e){if(w(e)&&e.length>0&&(e=new RegExp("^"+e+"$")),e&&!e.test)throw t("ngPattern")("noregexp","Expected {0} to be a RegExp but was {1}. Element: {2}",a,e,J(n));o=e||void 0,i.$validate()}),i.$validators.pattern=function(e,t){return i.$isEmpty(t)||v(o)||o.test(t)}}}}},Ka=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i=-1;n.$observe("maxlength",function(e){var t=f(e);i=isNaN(t)?-1:t,r.$validate()}),r.$validators.maxlength=function(e,t){return 0>i||r.$isEmpty(t)||t.length<=i}}}}},es=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i=0;n.$observe("minlength",function(e){i=f(e)||0,r.$validate()}),r.$validators.minlength=function(e,t){return r.$isEmpty(t)||t.length>=i}}}}};return e.angular.bootstrap?void(e.console&&console.log("WARNING: Tried to load angular more than once.")):(le(),ye(qr),qr.module("ngLocale",[],["$provide",function(e){function t(e){e+="";var t=e.indexOf(".");return-1==t?0:e.length-t-1}function n(e,n){var r=n;void 0===r&&(r=Math.min(t(e),3));var i=Math.pow(10,r),o=(e*i|0)%i;return{v:r,f:o}}var r={ZERO:"zero",ONE:"one",TWO:"two",FEW:"few",MANY:"many",OTHER:"other"};e.value("$locale",{DATETIME_FORMATS:{AMPMS:["AM","PM"],DAY:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],ERANAMES:["Before Christ","Anno Domini"],ERAS:["BC","AD"],FIRSTDAYOFWEEK:6,MONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],SHORTDAY:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],SHORTMONTH:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],STANDALONEMONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],WEEKENDRANGE:[5,6],fullDate:"EEEE, MMMM d, y",longDate:"MMMM d, y",medium:"MMM d, y h:mm:ss a",mediumDate:"MMM d, y",mediumTime:"h:mm:ss a","short":"M/d/yy h:mm a",shortDate:"M/d/yy",shortTime:"h:mm a"},NUMBER_FORMATS:{CURRENCY_SYM:"$",DECIMAL_SEP:".",GROUP_SEP:",",PATTERNS:[{gSize:3,lgSize:3,maxFrac:3,minFrac:0,minInt:1,negPre:"-",negSuf:"",posPre:"",posSuf:""},{gSize:3,lgSize:3,maxFrac:2,minFrac:2,minInt:1,negPre:"-¤",negSuf:"",posPre:"¤",posSuf:""}]},id:"en-us",localeID:"en_US",pluralCat:function(e,t){var i=0|e,o=n(e,t);return 1==i&&0==o.v?r.ONE:r.OTHER}})}]),void Ir(e.document).ready(function(){ie(e.document,oe)}))}(window),!window.angular.$$csp().noInlineStyle&&window.angular.element(document.head).prepend('')},{}],9:[function(e,t,n){e("./angular"),t.exports=angular},{"./angular":8}],10:[function(e,t,n){(function(){var e,n,r,i,o,a,s,u,l=[].slice,c={}.hasOwnProperty,f=function(e,t){function n(){this.constructor=e}for(var r in t)c.call(t,r)&&(e[r]=t[r]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e};s=function(){},n=function(){function e(){}return e.prototype.addEventListener=e.prototype.on,e.prototype.on=function(e,t){return this._callbacks=this._callbacks||{},this._callbacks[e]||(this._callbacks[e]=[]),this._callbacks[e].push(t),this},e.prototype.emit=function(){var e,t,n,r,i,o;if(r=arguments[0],e=2<=arguments.length?l.call(arguments,1):[],this._callbacks=this._callbacks||{},n=this._callbacks[r])for(i=0,o=n.length;o>i;i++)t=n[i],t.apply(this,e);return this},e.prototype.removeListener=e.prototype.off,e.prototype.removeAllListeners=e.prototype.off,e.prototype.removeEventListener=e.prototype.off,e.prototype.off=function(e,t){var n,r,i,o,a;if(!this._callbacks||0===arguments.length)return this._callbacks={},this;if(r=this._callbacks[e],!r)return this;if(1===arguments.length)return delete this._callbacks[e],this;for(i=o=0,a=r.length;a>o;i=++o)if(n=r[i],n===t){r.splice(i,1);break}return this},e}(),e=function(e){function t(e,n){var i,o,a;if(this.element=e,this.version=t.version,this.defaultOptions.previewTemplate=this.defaultOptions.previewTemplate.replace(/\n*/g,""),this.clickableElements=[],this.listeners=[],this.files=[],"string"==typeof this.element&&(this.element=document.querySelector(this.element)),!this.element||null==this.element.nodeType)throw new Error("Invalid dropzone element.");if(this.element.dropzone)throw new Error("Dropzone already attached.");if(t.instances.push(this),this.element.dropzone=this,i=null!=(a=t.optionsForElement(this.element))?a:{},this.options=r({},this.defaultOptions,i,null!=n?n:{}),this.options.forceFallback||!t.isBrowserSupported())return this.options.fallback.call(this);if(null==this.options.url&&(this.options.url=this.element.getAttribute("action")),!this.options.url)throw new Error("No URL provided.");if(this.options.acceptedFiles&&this.options.acceptedMimeTypes)throw new Error("You can't provide both 'acceptedFiles' and 'acceptedMimeTypes'. 'acceptedMimeTypes' is deprecated.");this.options.acceptedMimeTypes&&(this.options.acceptedFiles=this.options.acceptedMimeTypes,delete this.options.acceptedMimeTypes),this.options.method=this.options.method.toUpperCase(),(o=this.getExistingFallback())&&o.parentNode&&o.parentNode.removeChild(o),this.options.previewsContainer!==!1&&(this.options.previewsContainer?this.previewsContainer=t.getElement(this.options.previewsContainer,"previewsContainer"):this.previewsContainer=this.element),this.options.clickable&&(this.options.clickable===!0?this.clickableElements=[this.element]:this.clickableElements=t.getElements(this.options.clickable,"clickable")),this.init()}var r,i;return f(t,e),t.prototype.Emitter=n,t.prototype.events=["drop","dragstart","dragend","dragenter","dragover","dragleave","addedfile","addedfiles","removedfile","thumbnail","error","errormultiple","processing","processingmultiple","uploadprogress","totaluploadprogress","sending","sendingmultiple","success","successmultiple","canceled","canceledmultiple","complete","completemultiple","reset","maxfilesexceeded","maxfilesreached","queuecomplete"],t.prototype.defaultOptions={url:null,method:"post",withCredentials:!1,parallelUploads:2,uploadMultiple:!1,maxFilesize:256,paramName:"file",createImageThumbnails:!0,maxThumbnailFilesize:10,thumbnailWidth:120,thumbnailHeight:120,filesizeBase:1e3,maxFiles:null,params:{},clickable:!0,ignoreHiddenFiles:!0,acceptedFiles:null,acceptedMimeTypes:null,autoProcessQueue:!0,autoQueue:!0,addRemoveLinks:!1,previewsContainer:null,hiddenInputContainer:"body",capture:null,renameFilename:null,dictDefaultMessage:"Drop files here to upload",dictFallbackMessage:"Your browser does not support drag'n'drop file uploads.",dictFallbackText:"Please use the fallback form below to upload your files like in the olden days.",dictFileTooBig:"File is too big ({{filesize}}MiB). Max filesize: {{maxFilesize}}MiB.",dictInvalidFileType:"You can't upload files of this type.",dictResponseError:"Server responded with {{statusCode}} code.",dictCancelUpload:"Cancel upload",dictCancelUploadConfirmation:"Are you sure you want to cancel this upload?",dictRemoveFile:"Remove file",dictRemoveFileConfirmation:null,dictMaxFilesExceeded:"You can not upload any more files.",accept:function(e,t){return t()},init:function(){return s},forceFallback:!1,fallback:function(){var e,n,r,i,o,a;for(this.element.className=""+this.element.className+" dz-browser-not-supported",a=this.element.getElementsByTagName("div"),i=0,o=a.length;o>i;i++)e=a[i],/(^| )dz-message($| )/.test(e.className)&&(n=e,e.className="dz-message");return n||(n=t.createElement('
    '),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=this._renameFilename(e.name);for(d=e.previewElement.querySelectorAll("[data-dz-size]"),a=0,l=d.length;l>a;a++)n=d[a],n.innerHTML=this.filesize(e.size);for(this.options.addRemoveLinks&&(e._removeLink=t.createElement(''+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._renameFilename=function(e){return"function"!=typeof this.options.renameFilename?e:this.options.renameFilename(e)},t.prototype.getFallbackForm=function(){var e,n,r,i;return(e=this.getExistingFallback())?e:(r='
    ',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,i;return n=e.createReader(),r=function(e){return"undefined"!=typeof console&&null!==console&&"function"==typeof console.log?console.log(e):void 0},(i=function(e){return function(){return n.readEntries(function(n){var r,o,a;if(n.length>0){for(o=0,a=n.length;a>o;o++)r=n[o],r.isFile?r.file(function(n){return e.options.ignoreHiddenFiles&&"."===n.name.substring(0,1)?void 0:(n.fullPath=""+t+"/"+n.name,e.addFile(n))}):r.isDirectory&&e._addFilesFromDirectory(r,""+t+"/"+r.name);i()}return null},r)}}(this))()},t.prototype.accept=function(e,n){return e.size>1024*this.options.maxFilesize*1024?n(this.options.dictFileTooBig.replace("{{filesize}}",Math.round(e.size/1024/10.24)/100).replace("{{maxFilesize}}",this.options.maxFilesize)):t.isValidFile(e,this.options.acceptedFiles)?null!=this.options.maxFiles&&this.getAcceptedFiles().length>=this.options.maxFiles?(n(this.options.dictMaxFilesExceeded.replace("{{maxFiles}}",this.options.maxFiles)),this.emit("maxfilesexceeded",e)):this.options.accept.call(this,e,n):n(this.options.dictInvalidFileType)},t.prototype.addFile=function(e){return e.upload={progress:0,total:e.size,bytesSent:0},this.files.push(e),e.status=t.ADDED,this.emit("addedfile",e),this._enqueueThumbnail(e),this.accept(e,function(t){return function(n){return n?(e.accepted=!1,t._errorProcessing([e],n)):(e.accepted=!0,t.options.autoQueue&&t.enqueueFile(e)),t._updateMaxFilesReachedClass()}}(this))},t.prototype.enqueueFiles=function(e){var t,n,r;for(n=0,r=e.length;r>n;n++)t=e[n],this.enqueueFile(t);return null},t.prototype.enqueueFile=function(e){if(e.status!==t.ADDED||e.accepted!==!0)throw new Error("This file can't be queued because it has already been processed or was rejected.");return e.status=t.QUEUED,this.options.autoProcessQueue?setTimeout(function(e){return function(){return e.processQueue()}}(this),0):void 0},t.prototype._thumbnailQueue=[],t.prototype._processingThumbnail=!1,t.prototype._enqueueThumbnail=function(e){return this.options.createImageThumbnails&&e.type.match(/image.*/)&&e.size<=1024*this.options.maxThumbnailFilesize*1024?(this._thumbnailQueue.push(e),setTimeout(function(e){return function(){return e._processThumbnailQueue()}}(this),0)):void 0},t.prototype._processThumbnailQueue=function(){return this._processingThumbnail||0===this._thumbnailQueue.length?void 0:(this._processingThumbnail=!0,this.createThumbnail(this._thumbnailQueue.shift(),function(e){return function(){return e._processingThumbnail=!1,e._processThumbnailQueue()}}(this)))},t.prototype.removeFile=function(e){return e.status===t.UPLOADING&&this.cancelUpload(e),this.files=u(this.files,e),this.emit("removedfile",e),0===this.files.length?this.emit("reset"):void 0},t.prototype.removeAllFiles=function(e){var n,r,i,o;for(null==e&&(e=!1),o=this.files.slice(),r=0,i=o.length;i>r;r++)n=o[r],(n.status!==t.UPLOADING||e)&&this.removeFile(n);return null},t.prototype.createThumbnail=function(e,t){var n;return n=new FileReader,n.onload=function(r){return function(){return"image/svg+xml"===e.type?(r.emit("thumbnail",e,n.result),void(null!=t&&t())):r.createThumbnailFromUrl(e,n.result,t)}}(this),n.readAsDataURL(e)},t.prototype.createThumbnailFromUrl=function(e,t,n,r){var i;return i=document.createElement("img"),r&&(i.crossOrigin=r),i.onload=function(t){return function(){var r,o,s,u,l,c,f,d;return e.width=i.width,e.height=i.height,s=t.options.resize.call(t,e),null==s.trgWidth&&(s.trgWidth=s.optWidth),null==s.trgHeight&&(s.trgHeight=s.optHeight),r=document.createElement("canvas"),o=r.getContext("2d"),r.width=s.trgWidth,r.height=s.trgHeight,a(o,i,null!=(l=s.srcX)?l:0,null!=(c=s.srcY)?c:0,s.srcWidth,s.srcHeight,null!=(f=s.trgX)?f:0,null!=(d=s.trgY)?d:0,s.trgWidth,s.trgHeight),u=r.toDataURL("image/png"),t.emit("thumbnail",e,u),null!=n?n():void 0}}(this),null!=n&&(i.onerror=n),i.src=t},t.prototype.processQueue=function(){var e,t,n,r;if(t=this.options.parallelUploads,n=this.getUploadingFiles().length,e=n,!(n>=t)&&(r=this.getQueuedFiles(),r.length>0)){if(this.options.uploadMultiple)return this.processFiles(r.slice(0,t-n));for(;t>e;){if(!r.length)return;this.processFile(r.shift()),e++}}},t.prototype.processFile=function(e){return this.processFiles([e])},t.prototype.processFiles=function(e){var n,r,i;for(r=0,i=e.length;i>r;r++)n=e[r],n.processing=!0,n.status=t.UPLOADING,this.emit("processing",n);return this.options.uploadMultiple&&this.emit("processingmultiple",e),this.uploadFiles(e)},t.prototype._getFilesWithXhr=function(e){var t,n;return n=function(){var n,r,i,o;for(i=this.files,o=[],n=0,r=i.length;r>n;n++)t=i[n],t.xhr===e&&o.push(t);return o}.call(this)},t.prototype.cancelUpload=function(e){var n,r,i,o,a,s,u;if(e.status===t.UPLOADING){for(r=this._getFilesWithXhr(e.xhr),i=0,a=r.length;a>i;i++)n=r[i],n.status=t.CANCELED;for(e.xhr.abort(),o=0,s=r.length;s>o;o++)n=r[o],this.emit("canceled",n);this.options.uploadMultiple&&this.emit("canceledmultiple",r)}else(u=e.status)!==t.ADDED&&u!==t.QUEUED||(e.status=t.CANCELED,this.emit("canceled",e),this.options.uploadMultiple&&this.emit("canceledmultiple",[e]));return this.options.autoProcessQueue?this.processQueue():void 0},i=function(){var e,t;return t=arguments[0],e=2<=arguments.length?l.call(arguments,1):[],"function"==typeof t?t.apply(this,e):t},t.prototype.uploadFile=function(e){return this.uploadFiles([e])},t.prototype.uploadFiles=function(e){var n,o,a,s,u,l,c,f,d,h,p,m,g,v,$,y,b,w,x,k,C,S,_,E,D,M,T,A,O,F,N,I,P,j;for(x=new XMLHttpRequest,k=0,E=e.length;E>k;k++)n=e[k],n.xhr=x;m=i(this.options.method,e),b=i(this.options.url,e),x.open(m,b,!0),x.withCredentials=!!this.options.withCredentials,$=null,a=function(t){return function(){var r,i,o;for(o=[],r=0,i=e.length;i>r;r++)n=e[r],o.push(t._errorProcessing(e,$||t.options.dictResponseError.replace("{{statusCode}}",x.status),x));return o}}(this),y=function(t){return function(r){var i,o,a,s,u,l,c,f,d;if(null!=r)for(o=100*r.loaded/r.total,a=0,l=e.length;l>a;a++)n=e[a],n.upload={progress:o,total:r.total,bytesSent:r.loaded};else{for(i=!0,o=100,s=0,c=e.length;c>s;s++)n=e[s],100===n.upload.progress&&n.upload.bytesSent===n.upload.total||(i=!1),n.upload.progress=o,n.upload.bytesSent=n.upload.total;if(i)return}for(d=[],u=0,f=e.length;f>u;u++)n=e[u],d.push(t.emit("uploadprogress",n,o,n.upload.bytesSent));return d}}(this),x.onload=function(n){return function(r){var i;if(e[0].status!==t.CANCELED&&4===x.readyState){if($=x.responseText,x.getResponseHeader("content-type")&&~x.getResponseHeader("content-type").indexOf("application/json"))try{$=JSON.parse($)}catch(o){r=o,$="Invalid JSON response from server."}return y(),200<=(i=x.status)&&300>i?n._finished(e,$,r):a()}}}(this),x.onerror=function(n){return function(){return e[0].status!==t.CANCELED?a():void 0}}(this),v=null!=(O=x.upload)?O:x,v.onprogress=y,l={Accept:"application/json","Cache-Control":"no-cache","X-Requested-With":"XMLHttpRequest"},this.options.headers&&r(l,this.options.headers);for(s in l)u=l[s],u&&x.setRequestHeader(s,u);if(o=new FormData,this.options.params){F=this.options.params;for(p in F)w=F[p],o.append(p,w)}for(C=0,D=e.length;D>C;C++)n=e[C],this.emit("sending",n,x,o);if(this.options.uploadMultiple&&this.emit("sendingmultiple",e,x,o),"FORM"===this.element.tagName)for(N=this.element.querySelectorAll("input, textarea, select, button"),S=0,M=N.length;M>S;S++)if(f=N[S],d=f.getAttribute("name"),h=f.getAttribute("type"),"SELECT"===f.tagName&&f.hasAttribute("multiple"))for(I=f.options,_=0,T=I.length;T>_;_++)g=I[_],g.selected&&o.append(d,g.value);else(!h||"checkbox"!==(P=h.toLowerCase())&&"radio"!==P||f.checked)&&o.append(d,f.value);for(c=A=0,j=e.length-1;j>=0?j>=A:A>=j;c=j>=0?++A:--A)o.append(this._getParamName(c),e[c],this._renameFilename(e[c].name));return this.submitRequest(x,o,e)},t.prototype.submitRequest=function(e,t,n){return e.send(t)},t.prototype._finished=function(e,n,r){var i,o,a;for(o=0,a=e.length;a>o;o++)i=e[o],i.status=t.SUCCESS,this.emit("success",i,n,r),this.emit("complete",i);return this.options.uploadMultiple&&(this.emit("successmultiple",e,n,r),this.emit("completemultiple",e)),this.options.autoProcessQueue?this.processQueue():void 0},t.prototype._errorProcessing=function(e,n,r){var i,o,a;for(o=0,a=e.length;a>o;o++)i=e[o],i.status=t.ERROR,this.emit("error",i,n,r),this.emit("complete",i);return this.options.uploadMultiple&&(this.emit("errormultiple",e,n,r),this.emit("completemultiple",e)),this.options.autoProcessQueue?this.processQueue():void 0},t}(n),e.version="4.3.0",e.options={},e.optionsForElement=function(t){return t.getAttribute("id")?e.options[r(t.getAttribute("id"))]:void 0},e.instances=[],e.forElement=function(e){if("string"==typeof e&&(e=document.querySelector(e)),null==(null!=e?e.dropzone:void 0))throw new Error("No Dropzone found for given element. This is probably because you're trying to access it before Dropzone had the time to initialize. Use the `init` option to setup any additional observers on your Dropzone.");return e.dropzone},e.autoDiscover=!0,e.discover=function(){var t,n,r,i,o,a;for(document.querySelectorAll?r=document.querySelectorAll(".dropzone"):(r=[],t=function(e){var t,n,i,o;for(o=[],n=0,i=e.length;i>n;n++)t=e[n],/(^| )dropzone($| )/.test(t.className)?o.push(r.push(t)):o.push(void 0);return o},t(document.getElementsByTagName("div")),t(document.getElementsByTagName("form"))),a=[],i=0,o=r.length;o>i;i++)n=r[i],e.optionsForElement(n)!==!1?a.push(new e(n)):a.push(void 0);return a},e.blacklistedBrowsers=[/opera.*Macintosh.*version\/12/i],e.isBrowserSupported=function(){var t,n,r,i,o;if(t=!0,window.File&&window.FileReader&&window.FileList&&window.Blob&&window.FormData&&document.querySelector)if("classList"in document.createElement("a"))for(o=e.blacklistedBrowsers,r=0,i=o.length;i>r;r++)n=o[r],n.test(navigator.userAgent)&&(t=!1);else t=!1;else t=!1;return t},u=function(e,t){var n,r,i,o;for(o=[],r=0,i=e.length;i>r;r++)n=e[r],n!==t&&o.push(n);return o},r=function(e){return e.replace(/[\-_](\w)/g,function(e){return e.charAt(1).toUpperCase()})},e.createElement=function(e){var t;return t=document.createElement("div"),t.innerHTML=e,t.childNodes[0]},e.elementInside=function(e,t){if(e===t)return!0;for(;e=e.parentNode;)if(e===t)return!0;return!1},e.getElement=function(e,t){var n;if("string"==typeof e?n=document.querySelector(e):null!=e.nodeType&&(n=e),null==n)throw new Error("Invalid `"+t+"` option provided. Please provide a CSS selector or a plain HTML element.");return n},e.getElements=function(e,t){var n,r,i,o,a,s,u,l;if(e instanceof Array){i=[];try{for(o=0,s=e.length;s>o;o++)r=e[o],i.push(this.getElement(r,t))}catch(c){n=c,i=null}}else if("string"==typeof e)for(i=[],l=document.querySelectorAll(e),a=0,u=l.length;u>a;a++)r=l[a],i.push(r);else null!=e.nodeType&&(i=[e]);if(null==i||!i.length)throw new Error("Invalid `"+t+"` option provided. Please provide a CSS selector, a plain HTML element or a list of those.");return i},e.confirm=function(e,t,n){return window.confirm(e)?t():null!=n?n():void 0},e.isValidFile=function(e,t){var n,r,i,o,a;if(!t)return!0;for(t=t.split(","),r=e.type,n=r.replace(/\/.*$/,""),o=0,a=t.length;a>o;o++)if(i=t[o],i=i.trim(),"."===i.charAt(0)){if(-1!==e.name.toLowerCase().indexOf(i.toLowerCase(),e.name.length-i.length))return!0}else if(/\/\*$/.test(i)){if(n===i.replace(/\/.*$/,""))return!0}else if(r===i)return!0;return!1},"undefined"!=typeof jQuery&&null!==jQuery&&(jQuery.fn.dropzone=function(t){return this.each(function(){return new e(this,t)})}),"undefined"!=typeof t&&null!==t?t.exports=e:window.Dropzone=e,e.ADDED="added",e.QUEUED="queued",e.ACCEPTED=e.QUEUED,e.UPLOADING="uploading",e.PROCESSING=e.UPLOADING,e.CANCELED="canceled",e.ERROR="error",e.SUCCESS="success",o=function(e){var t,n,r,i,o,a,s,u,l,c;for(s=e.naturalWidth,a=e.naturalHeight,n=document.createElement("canvas"),n.width=1,n.height=a,r=n.getContext("2d"),r.drawImage(e,0,0),i=r.getImageData(0,0,1,a).data,c=0,o=a,u=a;u>c;)t=i[4*(u-1)+3],0===t?o=u:c=u,u=o+c>>1;return l=u/a,0===l?1:l},a=function(e,t,n,r,i,a,s,u,l,c){var f;return f=o(t),e.drawImage(t,n,r,i,a,s,u,l,c/f)},i=function(e,t){var n,r,i,o,a,s,u,l,c;if(i=!1,c=!0,r=e.document,l=r.documentElement,n=r.addEventListener?"addEventListener":"attachEvent",u=r.addEventListener?"removeEventListener":"detachEvent",s=r.addEventListener?"":"on",o=function(n){return"readystatechange"!==n.type||"complete"===r.readyState?(("load"===n.type?e:r)[u](s+n.type,o,!1),!i&&(i=!0)?t.call(e,n.type||n):void 0):void 0},a=function(){var e;try{l.doScroll("left")}catch(t){return e=t,void setTimeout(a,50)}return o("poll")},"complete"!==r.readyState){if(r.createEventObject&&l.doScroll){try{c=!e.frameElement}catch(f){}c&&a()}return r[n](s+"DOMContentLoaded",o,!1),r[n](s+"readystatechange",o,!1),e[n](s+"load",o,!1)}},e._autoDiscoverFunction=function(){return e.autoDiscover?e.discover():void 0},i(window,e._autoDiscoverFunction)}).call(this)},{}],11:[function(e,t,n){(function(e){(function(){function e(e){this.tokens=[],this.tokens.links={},this.options=e||f.defaults,this.rules=d.normal,this.options.gfm&&(this.options.tables?this.rules=d.tables:this.rules=d.gfm)}function r(e,t){if(this.options=t||f.defaults,this.links=e,this.rules=h.normal,this.renderer=this.options.renderer||new i,this.renderer.options=this.options,!this.links)throw new Error("Tokens array requires a `links` property.");this.options.gfm?this.options.breaks?this.rules=h.breaks:this.rules=h.gfm:this.options.pedantic&&(this.rules=h.pedantic)}function i(e){this.options=e||{}}function o(e){this.tokens=[],this.token=null,this.options=e||f.defaults,this.options.renderer=this.options.renderer||new i,this.renderer=this.options.renderer,this.renderer.options=this.options}function a(e,t){return e.replace(t?/&/g:/&(?!#?\w+;)/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}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 cr)r=cr[n],i=t[r],p(i)||(e[r]=i);return e}function g(e){m(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),fr===!1&&(fr=!0,n.updateOffset(this),fr=!1)}function v(e){return e instanceof g||null!=e&&null!=e._isAMomentObject}function $(e){return 0>e?Math.ceil(e):Math.floor(e)}function y(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=$(t)),n}function b(e,t,n){var r,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(r=0;i>r;r++)(n&&e[r]!==t[r]||!n&&y(e[r])!==y(t[r]))&&a++;return a+o}function w(e){n.suppressDeprecationWarnings===!1&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function x(e,t){var r=!0;return u(function(){return null!=n.deprecationHandler&&n.deprecationHandler(null,e),r&&(w(e+"\nArguments: "+Array.prototype.slice.call(arguments).join(", ")+"\n"+(new Error).stack),r=!1),t.apply(this,arguments)},t)}function k(e,t){null!=n.deprecationHandler&&n.deprecationHandler(e,t),dr[e]||(w(t),dr[e]=!0)}function C(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function S(e){return"[object Object]"===Object.prototype.toString.call(e)}function _(e){var t,n;for(n in e)t=e[n],C(t)?this[n]=t:this["_"+n]=t;this._config=e,this._ordinalParseLenient=new RegExp(this._ordinalParse.source+"|"+/\d{1,2}/.source)}function E(e,t){var n,r=u({},e);for(n in t)s(t,n)&&(S(e[n])&&S(t[n])?(r[n]={},u(r[n],e[n]),u(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);return r}function D(e){null!=e&&this.set(e)}function M(e){return e?e.toLowerCase().replace("_","-"):e}function T(e){for(var t,n,r,i,o=0;o0;){if(r=A(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&b(i,n,!0)>=t-1)break;t--}o++}return null}function A(n){var r=null;if(!gr[n]&&"undefined"!=typeof t&&t&&t.exports)try{r=pr._abbr,e("./locale/"+n),O(r)}catch(i){}return gr[n]}function O(e,t){var n;return e&&(n=p(t)?I(e):F(e,t),n&&(pr=n)),pr._abbr}function F(e,t){return null!==t?(t.abbr=e,null!=gr[e]?(k("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale"),t=E(gr[e]._config,t)):null!=t.parentLocale&&(null!=gr[t.parentLocale]?t=E(gr[t.parentLocale]._config,t):k("parentLocaleUndefined","specified parentLocale is not defined yet")),gr[e]=new D(t),O(e),gr[e]):(delete gr[e],null)}function N(e,t){if(null!=t){var n;null!=gr[e]&&(t=E(gr[e]._config,t)),n=new D(t),n.parentLocale=gr[e],gr[e]=n,O(e)}else null!=gr[e]&&(null!=gr[e].parentLocale?gr[e]=gr[e].parentLocale:null!=gr[e]&&delete gr[e]);return gr[e]}function I(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return pr;if(!i(e)){if(t=A(e))return t;e=[e]}return T(e)}function P(){return hr(gr)}function j(e,t){var n=e.toLowerCase();vr[n]=vr[n+"s"]=vr[t]=e}function L(e){return"string"==typeof e?vr[e]||vr[e.toLowerCase()]:void 0}function R(e){var t,n,r={};for(n in e)s(e,n)&&(t=L(n),t&&(r[t]=e[n]));return r}function U(e,t){return function(r){return null!=r?(z(this,e,r),n.updateOffset(this,t),this):V(this,e)}}function V(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function z(e,t,n){e.isValid()&&e._d["set"+(e._isUTC?"UTC":"")+t](n)}function H(e,t){var n;if("object"==typeof e)for(n in e)this.set(n,e[n]);else if(e=L(e),C(this[e]))return this[e](t);return this}function q(e,t,n){var r=""+Math.abs(e),i=t-r.length,o=e>=0;return(o?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}function Y(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(wr[e]=i),t&&(wr[t[0]]=function(){return q(i.apply(this,arguments),t[1],t[2])}),n&&(wr[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function W(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function B(e){var t,n,r=e.match($r);for(t=0,n=r.length;n>t;t++)wr[r[t]]?r[t]=wr[r[t]]:r[t]=W(r[t]);return function(t){var i,o="";for(i=0;n>i;i++)o+=r[i]instanceof Function?r[i].call(t,e):r[i];return o}}function G(e,t){return e.isValid()?(t=Z(t,e.localeData()),br[t]=br[t]||B(t),br[t](e)):e.localeData().invalidDate()}function Z(e,t){function n(e){return t.longDateFormat(e)||e}var r=5;for(yr.lastIndex=0;r>=0&&yr.test(e);)e=e.replace(yr,n),yr.lastIndex=0,r-=1;return e}function Q(e,t,n){Rr[e]=C(t)?t:function(e,r){return e&&n?n:t}}function J(e,t){return s(Rr,e)?Rr[e](t._strict,t._locale):new RegExp(X(e))}function X(e){return K(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i}))}function K(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function ee(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),"number"==typeof t&&(r=function(e,n){n[t]=y(e)}),n=0;nr;++r)o=l([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?(i=mr.call(this._shortMonthsParse,a),-1!==i?i:null):(i=mr.call(this._longMonthsParse,a),-1!==i?i:null):"MMM"===t?(i=mr.call(this._shortMonthsParse,a),-1!==i?i:(i=mr.call(this._longMonthsParse,a),-1!==i?i:null)):(i=mr.call(this._longMonthsParse,a),-1!==i?i:(i=mr.call(this._shortMonthsParse,a),-1!==i?i:null))}function se(e,t,n){var r,i,o;if(this._monthsParseExact)return ae.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;12>r;r++){if(i=l([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(o="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}}function ue(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=y(t);else if(t=e.localeData().monthsParse(t),"number"!=typeof t)return e;return n=Math.min(e.date(),re(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function le(e){return null!=e?(ue(this,e),n.updateOffset(this,!0),this):V(this,"Month")}function ce(){return re(this.year(),this.month())}function fe(e){return this._monthsParseExact?(s(this,"_monthsRegex")||he.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex}function de(e){return this._monthsParseExact?(s(this,"_monthsRegex")||he.call(this),e?this._monthsStrictRegex:this._monthsRegex):this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex}function he(){function e(e,t){return t.length-e.length}var t,n,r=[],i=[],o=[];for(t=0;12>t;t++)n=l([2e3,t]),r.push(this.monthsShort(n,"")),i.push(this.months(n,"")),o.push(this.months(n,"")),o.push(this.monthsShort(n,""));for(r.sort(e),i.sort(e),o.sort(e),t=0;12>t;t++)r[t]=K(r[t]),i[t]=K(i[t]),o[t]=K(o[t]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function pe(e){var t,n=e._a;return n&&-2===f(e).overflow&&(t=n[zr]<0||n[zr]>11?zr:n[Hr]<1||n[Hr]>re(n[Vr],n[zr])?Hr:n[qr]<0||n[qr]>24||24===n[qr]&&(0!==n[Yr]||0!==n[Wr]||0!==n[Br])?qr:n[Yr]<0||n[Yr]>59?Yr:n[Wr]<0||n[Wr]>59?Wr:n[Br]<0||n[Br]>999?Br:-1,f(e)._overflowDayOfYear&&(Vr>t||t>Hr)&&(t=Hr),f(e)._overflowWeeks&&-1===t&&(t=Gr),f(e)._overflowWeekday&&-1===t&&(t=Zr),f(e).overflow=t),e}function me(e){var t,n,r,i,o,a,s=e._i,u=ti.exec(s)||ni.exec(s);if(u){for(f(e).iso=!0,t=0,n=ii.length;n>t;t++)if(ii[t][1].exec(u[1])){i=ii[t][0],r=ii[t][2]!==!1;break}if(null==i)return void(e._isValid=!1);if(u[3]){for(t=0,n=oi.length;n>t;t++)if(oi[t][1].exec(u[3])){o=(u[2]||" ")+oi[t][0];break}if(null==o)return void(e._isValid=!1)}if(!r&&null!=o)return void(e._isValid=!1);if(u[4]){if(!ri.exec(u[4]))return void(e._isValid=!1);a="Z"}e._f=i+(o||"")+(a||""),Te(e)}else e._isValid=!1}function ge(e){var t=ai.exec(e._i);return null!==t?void(e._d=new Date(+t[1])):(me(e),void(e._isValid===!1&&(delete e._isValid,n.createFromInputFallback(e))))}function ve(e,t,n,r,i,o,a){var s=new Date(e,t,n,r,i,o,a);return 100>e&&e>=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}function $e(e){var t=new Date(Date.UTC.apply(null,arguments));return 100>e&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function ye(e){return be(e)?366:365}function be(e){return e%4===0&&e%100!==0||e%400===0}function we(){return be(this.year())}function xe(e,t,n){var r=7+t-n,i=(7+$e(e,0,r).getUTCDay()-t)%7;return-i+r-1}function ke(e,t,n,r,i){var o,a,s=(7+n-r)%7,u=xe(e,r,i),l=1+7*(t-1)+s+u;return 0>=l?(o=e-1,a=ye(o)+l):l>ye(e)?(o=e+1,a=l-ye(e)):(o=e,a=l),{year:o,dayOfYear:a}}function Ce(e,t,n){var r,i,o=xe(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return 1>a?(i=e.year()-1,r=a+Se(i,t,n)):a>Se(e.year(),t,n)?(r=a-Se(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function Se(e,t,n){var r=xe(e,t,n),i=xe(e+1,t,n);return(ye(e)-r+i)/7}function _e(e,t,n){return null!=e?e:null!=t?t:n}function Ee(e){var t=new Date(n.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function De(e){var t,n,r,i,o=[];if(!e._d){for(r=Ee(e),e._w&&null==e._a[Hr]&&null==e._a[zr]&&Me(e),e._dayOfYear&&(i=_e(e._a[Vr],r[Vr]),e._dayOfYear>ye(i)&&(f(e)._overflowDayOfYear=!0),n=$e(i,0,e._dayOfYear),e._a[zr]=n.getUTCMonth(),e._a[Hr]=n.getUTCDate()),t=0;3>t&&null==e._a[t];++t)e._a[t]=o[t]=r[t];for(;7>t;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[qr]&&0===e._a[Yr]&&0===e._a[Wr]&&0===e._a[Br]&&(e._nextDay=!0,e._a[qr]=0),e._d=(e._useUTC?$e:ve).apply(null,o),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[qr]=24)}}function Me(e){var t,n,r,i,o,a,s,u;t=e._w,null!=t.GG||null!=t.W||null!=t.E?(o=1,a=4,n=_e(t.GG,e._a[Vr],Ce(Le(),1,4).year),r=_e(t.W,1),i=_e(t.E,1),(1>i||i>7)&&(u=!0)):(o=e._locale._week.dow,a=e._locale._week.doy,n=_e(t.gg,e._a[Vr],Ce(Le(),o,a).year),r=_e(t.w,1),null!=t.d?(i=t.d,(0>i||i>6)&&(u=!0)):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(u=!0)):i=o),1>r||r>Se(n,o,a)?f(e)._overflowWeeks=!0:null!=u?f(e)._overflowWeekday=!0:(s=ke(n,r,i,o,a),e._a[Vr]=s.year,e._dayOfYear=s.dayOfYear)}function Te(e){if(e._f===n.ISO_8601)return void me(e);e._a=[],f(e).empty=!0;var t,r,i,o,a,s=""+e._i,u=s.length,l=0;for(i=Z(e._f,e._locale).match($r)||[],t=0;t0&&f(e).unusedInput.push(a),s=s.slice(s.indexOf(r)+r.length),l+=r.length),wr[o]?(r?f(e).empty=!1:f(e).unusedTokens.push(o),ne(o,r,e)):e._strict&&!r&&f(e).unusedTokens.push(o);f(e).charsLeftOver=u-l,s.length>0&&f(e).unusedInput.push(s),f(e).bigHour===!0&&e._a[qr]<=12&&e._a[qr]>0&&(f(e).bigHour=void 0),f(e).parsedDateParts=e._a.slice(0),f(e).meridiem=e._meridiem,e._a[qr]=Ae(e._locale,e._a[qr],e._meridiem),De(e),pe(e)}function Ae(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(r=e.isPM(n),r&&12>t&&(t+=12),r||12!==t||(t=0),t):t}function Oe(e){var t,n,r,i,o;if(0===e._f.length)return f(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;io)&&(r=o,n=t));u(e,n||t)}function Fe(e){if(!e._d){var t=R(e._i);e._a=a([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),De(e)}}function Ne(e){var t=new g(pe(Ie(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function Ie(e){var t=e._i,n=e._f;return e._locale=e._locale||I(e._l),null===t||void 0===n&&""===t?h({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),v(t)?new g(pe(t)):(i(n)?Oe(e):n?Te(e):o(t)?e._d=t:Pe(e),d(e)||(e._d=null),e))}function Pe(e){var t=e._i;void 0===t?e._d=new Date(n.now()):o(t)?e._d=new Date(t.valueOf()):"string"==typeof t?ge(e):i(t)?(e._a=a(t.slice(0),function(e){return parseInt(e,10)}),De(e)):"object"==typeof t?Fe(e):"number"==typeof t?e._d=new Date(t):n.createFromInputFallback(e)}function je(e,t,n,r,i){var o={};return"boolean"==typeof n&&(r=n,n=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=i,o._l=n,o._i=e,o._f=t,o._strict=r,Ne(o)}function Le(e,t,n,r){return je(e,t,n,r,!1)}function Re(e,t){var n,r;if(1===t.length&&i(t[0])&&(t=t[0]),!t.length)return Le();for(n=t[0],r=1;re&&(e=-e,n="-"),n+q(~~(e/60),2)+t+q(~~e%60,2)})}function Ye(e,t){var n=(t||"").match(e)||[],r=n[n.length-1]||[],i=(r+"").match(fi)||["-",0,0],o=+(60*i[1])+y(i[2]);return"+"===i[0]?o:-o}function We(e,t){var r,i;return t._isUTC?(r=t.clone(),i=(v(e)||o(e)?e.valueOf():Le(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+i),n.updateOffset(r,!1),r):Le(e).local()}function Be(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function Ge(e,t){var r,i=this._offset||0;return this.isValid()?null!=e?("string"==typeof e?e=Ye(Pr,e):Math.abs(e)<16&&(e=60*e),!this._isUTC&&t&&(r=Be(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==e&&(!t||this._changeInProgress?ft(this,ot(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,n.updateOffset(this,!0),this._changeInProgress=null)),this):this._isUTC?i:Be(this):null!=e?this:NaN}function Ze(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function Qe(e){return this.utcOffset(0,e)}function Je(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Be(this),"m")),this}function Xe(){return this._tzm?this.utcOffset(this._tzm):"string"==typeof this._i&&this.utcOffset(Ye(Ir,this._i)),this}function Ke(e){return this.isValid()?(e=e?Le(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function et(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function tt(){if(!p(this._isDSTShifted))return this._isDSTShifted;var e={};if(m(e,this),e=Ie(e),e._a){var t=e._isUTC?l(e._a):Le(e._a);this._isDSTShifted=this.isValid()&&b(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function nt(){return this.isValid()?!this._isUTC:!1}function rt(){return this.isValid()?this._isUTC:!1}function it(){return this.isValid()?this._isUTC&&0===this._offset:!1}function ot(e,t){var n,r,i,o=e,a=null;return He(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:"number"==typeof e?(o={},t?o[t]=e:o.milliseconds=e):(a=di.exec(e))?(n="-"===a[1]?-1:1,o={y:0,d:y(a[Hr])*n,h:y(a[qr])*n,m:y(a[Yr])*n,s:y(a[Wr])*n,ms:y(a[Br])*n}):(a=hi.exec(e))?(n="-"===a[1]?-1:1,o={y:at(a[2],n),M:at(a[3],n),w:at(a[4],n),d:at(a[5],n),h:at(a[6],n),m:at(a[7],n),s:at(a[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(i=ut(Le(o.from),Le(o.to)),o={},o.ms=i.milliseconds,o.M=i.months),r=new ze(o),He(e)&&s(e,"_locale")&&(r._locale=e._locale),r}function at(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function st(e,t){var n={milliseconds:0,months:0};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function ut(e,t){var n;return e.isValid()&&t.isValid()?(t=We(t,e),e.isBefore(t)?n=st(e,t):(n=st(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function lt(e){return 0>e?-1*Math.round(-1*e):Math.round(e)}function ct(e,t){return function(n,r){var i,o;return null===r||isNaN(+r)||(k(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period)."),o=n,n=r,r=o),n="string"==typeof n?+n:n,i=ot(n,r),ft(this,i,e),this}}function ft(e,t,r,i){var o=t._milliseconds,a=lt(t._days),s=lt(t._months);e.isValid()&&(i=null==i?!0:i,o&&e._d.setTime(e._d.valueOf()+o*r),a&&z(e,"Date",V(e,"Date")+a*r),s&&ue(e,V(e,"Month")+s*r),i&&n.updateOffset(e,a||s))}function dt(e,t){var n=e||Le(),r=We(n,this).startOf("day"),i=this.diff(r,"days",!0),o=-6>i?"sameElse":-1>i?"lastWeek":0>i?"lastDay":1>i?"sameDay":2>i?"nextDay":7>i?"nextWeek":"sameElse",a=t&&(C(t[o])?t[o]():t[o]);return this.format(a||this.localeData().calendar(o,this,Le(n)))}function ht(){return new g(this)}function pt(e,t){var n=v(e)?e:Le(e);return this.isValid()&&n.isValid()?(t=L(p(t)?"millisecond":t),"millisecond"===t?this.valueOf()>n.valueOf():n.valueOf()t-o?(n=e.clone().add(i-1,"months"),r=(t-o)/(o-n)):(n=e.clone().add(i+1,"months"),r=(t-o)/(n-o)),-(i+r)||0}function xt(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function kt(){var e=this.clone().utc();return 0o&&(t=o),Zt.call(this,e,t,n,r,i))}function Zt(e,t,n,r,i){var o=ke(e,t,n,r,i),a=$e(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function Qt(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function Jt(e){return Ce(e,this._week.dow,this._week.doy).week}function Xt(){return this._week.dow}function Kt(){return this._week.doy}function en(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function tn(e){var t=Ce(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function nn(e,t){return"string"!=typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"==typeof e?e:null):parseInt(e,10)}function rn(e,t){return i(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]}function on(e){return this._weekdaysShort[e.day()]}function an(e){return this._weekdaysMin[e.day()]}function sn(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;7>r;++r)o=l([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?(i=mr.call(this._weekdaysParse,a),-1!==i?i:null):"ddd"===t?(i=mr.call(this._shortWeekdaysParse,a),-1!==i?i:null):(i=mr.call(this._minWeekdaysParse,a),-1!==i?i:null):"dddd"===t?(i=mr.call(this._weekdaysParse,a),-1!==i?i:(i=mr.call(this._shortWeekdaysParse,a),-1!==i?i:(i=mr.call(this._minWeekdaysParse,a),-1!==i?i:null))):"ddd"===t?(i=mr.call(this._shortWeekdaysParse,a),-1!==i?i:(i=mr.call(this._weekdaysParse,a),-1!==i?i:(i=mr.call(this._minWeekdaysParse,a),-1!==i?i:null))):(i=mr.call(this._minWeekdaysParse,a),-1!==i?i:(i=mr.call(this._weekdaysParse,a),-1!==i?i:(i=mr.call(this._shortWeekdaysParse,a),-1!==i?i:null)))}function un(e,t,n){var r,i,o;if(this._weekdaysParseExact)return sn.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;7>r;r++){if(i=l([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".",".?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function ln(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=nn(e,this.localeData()),this.add(e-t,"d")):t}function cn(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function fn(e){return this.isValid()?null==e?this.day()||7:this.day(this.day()%7?e:e-7):null!=e?this:NaN}function dn(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||mn.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex}function hn(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||mn.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex}function pn(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||mn.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex}function mn(){function e(e,t){return t.length-e.length}var t,n,r,i,o,a=[],s=[],u=[],c=[];for(t=0;7>t;t++)n=l([2e3,1]).day(t),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),o=this.weekdays(n,""),a.push(r),s.push(i),u.push(o),c.push(r),c.push(i),c.push(o);for(a.sort(e),s.sort(e),u.sort(e),c.sort(e),t=0;7>t;t++)s[t]=K(s[t]),u[t]=K(u[t]),c[t]=K(c[t]);this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function gn(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}function vn(){return this.hours()%12||12}function $n(){return this.hours()||24}function yn(e,t){Y(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function bn(e,t){return t._meridiemParse}function wn(e){return"p"===(e+"").toLowerCase().charAt(0)}function xn(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}function kn(e,t){t[Br]=y(1e3*("0."+e))}function Cn(){return this._isUTC?"UTC":""}function Sn(){return this._isUTC?"Coordinated Universal Time":""}function _n(e){return Le(1e3*e)}function En(){return Le.apply(null,arguments).parseZone()}function Dn(e,t,n){var r=this._calendar[e];return C(r)?r.call(t,n):r}function Mn(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}), -this._longDateFormat[e])}function Tn(){return this._invalidDate}function An(e){return this._ordinal.replace("%d",e)}function On(e){return e}function Fn(e,t,n,r){var i=this._relativeTime[n];return C(i)?i(e,t,n,r):i.replace(/%d/i,e)}function Nn(e,t){var n=this._relativeTime[e>0?"future":"past"];return C(n)?n(t):n.replace(/%s/i,t)}function In(e,t,n,r){var i=I(),o=l().set(r,t);return i[n](o,e)}function Pn(e,t,n){if("number"==typeof e&&(t=e,e=void 0),e=e||"",null!=t)return In(e,t,n,"month");var r,i=[];for(r=0;12>r;r++)i[r]=In(e,r,n,"month");return i}function jn(e,t,n,r){"boolean"==typeof e?("number"==typeof t&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,"number"==typeof t&&(n=t,t=void 0),t=t||"");var i=I(),o=e?i._week.dow:0;if(null!=n)return In(t,(n+o)%7,r,"day");var a,s=[];for(a=0;7>a;a++)s[a]=In(t,(a+o)%7,r,"day");return s}function Ln(e,t){return Pn(e,t,"months")}function Rn(e,t){return Pn(e,t,"monthsShort")}function Un(e,t,n){return jn(e,t,n,"weekdays")}function Vn(e,t,n){return jn(e,t,n,"weekdaysShort")}function zn(e,t,n){return jn(e,t,n,"weekdaysMin")}function Hn(){var e=this._data;return this._milliseconds=Ui(this._milliseconds),this._days=Ui(this._days),this._months=Ui(this._months),e.milliseconds=Ui(e.milliseconds),e.seconds=Ui(e.seconds),e.minutes=Ui(e.minutes),e.hours=Ui(e.hours),e.months=Ui(e.months),e.years=Ui(e.years),this}function qn(e,t,n,r){var i=ot(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function Yn(e,t){return qn(this,e,t,1)}function Wn(e,t){return qn(this,e,t,-1)}function Bn(e){return 0>e?Math.floor(e):Math.ceil(e)}function Gn(){var e,t,n,r,i,o=this._milliseconds,a=this._days,s=this._months,u=this._data;return o>=0&&a>=0&&s>=0||0>=o&&0>=a&&0>=s||(o+=864e5*Bn(Qn(s)+a),a=0,s=0),u.milliseconds=o%1e3,e=$(o/1e3),u.seconds=e%60,t=$(e/60),u.minutes=t%60,n=$(t/60),u.hours=n%24,a+=$(n/24),i=$(Zn(a)),s+=i,a-=Bn(Qn(i)),r=$(s/12),s%=12,u.days=a,u.months=s,u.years=r,this}function Zn(e){return 4800*e/146097}function Qn(e){return 146097*e/4800}function Jn(e){var t,n,r=this._milliseconds;if(e=L(e),"month"===e||"year"===e)return t=this._days+r/864e5,n=this._months+Zn(t),"month"===e?n:n/12;switch(t=this._days+Math.round(Qn(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}function Xn(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*y(this._months/12)}function Kn(e){return function(){return this.as(e)}}function er(e){return e=L(e),this[e+"s"]()}function tr(e){return function(){return this._data[e]}}function nr(){return $(this.days()/7)}function rr(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function ir(e,t,n){var r=ot(e).abs(),i=no(r.as("s")),o=no(r.as("m")),a=no(r.as("h")),s=no(r.as("d")),u=no(r.as("M")),l=no(r.as("y")),c=i=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,rr.apply(null,c)}function or(e,t){return void 0===ro[e]?!1:void 0===t?ro[e]:(ro[e]=t,!0)}function ar(e){var t=this.localeData(),n=ir(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function sr(){var e,t,n,r=io(this._milliseconds)/1e3,i=io(this._days),o=io(this._months);e=$(r/60),t=$(e/60),r%=60,e%=60,n=$(o/12),o%=12;var a=n,s=o,u=i,l=t,c=e,f=r,d=this.asSeconds();return d?(0>d?"-":"")+"P"+(a?a+"Y":"")+(s?s+"M":"")+(u?u+"D":"")+(l||c||f?"T":"")+(l?l+"H":"")+(c?c+"M":"")+(f?f+"S":""):"P0D"}var ur,lr;lr=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;n>r;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1};var cr=n.momentProperties=[],fr=!1,dr={};n.suppressDeprecationWarnings=!1,n.deprecationHandler=null;var hr;hr=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)s(e,t)&&n.push(t);return n};var pr,mr,gr={},vr={},$r=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,yr=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,br={},wr={},xr=/\d/,kr=/\d\d/,Cr=/\d{3}/,Sr=/\d{4}/,_r=/[+-]?\d{6}/,Er=/\d\d?/,Dr=/\d\d\d\d?/,Mr=/\d\d\d\d\d\d?/,Tr=/\d{1,3}/,Ar=/\d{1,4}/,Or=/[+-]?\d{1,6}/,Fr=/\d+/,Nr=/[+-]?\d+/,Ir=/Z|[+-]\d\d:?\d\d/gi,Pr=/Z|[+-]\d\d(?::?\d\d)?/gi,jr=/[+-]?\d+(\.\d{1,3})?/,Lr=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,Rr={},Ur={},Vr=0,zr=1,Hr=2,qr=3,Yr=4,Wr=5,Br=6,Gr=7,Zr=8;mr=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t=e?""+e:"+"+e}),Y(0,["YY",2],0,function(){return this.year()%100}),Y(0,["YYYY",4],0,"year"),Y(0,["YYYYY",5],0,"year"),Y(0,["YYYYYY",6,!0],0,"year"),j("year","y"),Q("Y",Nr),Q("YY",Er,kr),Q("YYYY",Ar,Sr),Q("YYYYY",Or,_r),Q("YYYYYY",Or,_r),ee(["YYYYY","YYYYYY"],Vr),ee("YYYY",function(e,t){t[Vr]=2===e.length?n.parseTwoDigitYear(e):y(e)}),ee("YY",function(e,t){t[Vr]=n.parseTwoDigitYear(e)}),ee("Y",function(e,t){t[Vr]=parseInt(e,10)}),n.parseTwoDigitYear=function(e){return y(e)+(y(e)>68?1900:2e3)};var si=U("FullYear",!0);n.ISO_8601=function(){};var ui=x("moment().min is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548",function(){var e=Le.apply(null,arguments);return this.isValid()&&e.isValid()?this>e?this:e:h()}),li=x("moment().max is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548",function(){var e=Le.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:h()}),ci=function(){return Date.now?Date.now():+new Date};qe("Z",":"),qe("ZZ",""),Q("Z",Pr),Q("ZZ",Pr),ee(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Ye(Pr,e)});var fi=/([\+\-]|\d\d)/gi;n.updateOffset=function(){};var di=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?\d*)?$/,hi=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;ot.fn=ze.prototype;var pi=ct(1,"add"),mi=ct(-1,"subtract");n.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",n.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var gi=x("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});Y(0,["gg",2],0,function(){return this.weekYear()%100}),Y(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Ht("gggg","weekYear"),Ht("ggggg","weekYear"),Ht("GGGG","isoWeekYear"),Ht("GGGGG","isoWeekYear"),j("weekYear","gg"),j("isoWeekYear","GG"),Q("G",Nr),Q("g",Nr),Q("GG",Er,kr),Q("gg",Er,kr),Q("GGGG",Ar,Sr),Q("gggg",Ar,Sr),Q("GGGGG",Or,_r),Q("ggggg",Or,_r),te(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=y(e)}),te(["gg","GG"],function(e,t,r,i){t[i]=n.parseTwoDigitYear(e)}),Y("Q",0,"Qo","quarter"),j("quarter","Q"),Q("Q",xr),ee("Q",function(e,t){t[zr]=3*(y(e)-1)}),Y("w",["ww",2],"wo","week"),Y("W",["WW",2],"Wo","isoWeek"),j("week","w"),j("isoWeek","W"),Q("w",Er),Q("ww",Er,kr),Q("W",Er),Q("WW",Er,kr),te(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=y(e)});var vi={dow:0,doy:6};Y("D",["DD",2],"Do","date"),j("date","D"),Q("D",Er),Q("DD",Er,kr),Q("Do",function(e,t){return e?t._ordinalParse:t._ordinalParseLenient}),ee(["D","DD"],Hr),ee("Do",function(e,t){t[Hr]=y(e.match(Er)[0],10)});var $i=U("Date",!0);Y("d",0,"do","day"),Y("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),Y("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),Y("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),Y("e",0,0,"weekday"),Y("E",0,0,"isoWeekday"),j("day","d"),j("weekday","e"),j("isoWeekday","E"),Q("d",Er),Q("e",Er),Q("E",Er),Q("dd",function(e,t){return t.weekdaysMinRegex(e)}),Q("ddd",function(e,t){return t.weekdaysShortRegex(e)}),Q("dddd",function(e,t){return t.weekdaysRegex(e)}),te(["dd","ddd","dddd"],function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:f(n).invalidWeekday=e}),te(["d","e","E"],function(e,t,n,r){t[r]=y(e)});var yi="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),bi="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),wi="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),xi=Lr,ki=Lr,Ci=Lr;Y("DDD",["DDDD",3],"DDDo","dayOfYear"),j("dayOfYear","DDD"),Q("DDD",Tr),Q("DDDD",Cr),ee(["DDD","DDDD"],function(e,t,n){n._dayOfYear=y(e)}),Y("H",["HH",2],0,"hour"),Y("h",["hh",2],0,vn),Y("k",["kk",2],0,$n),Y("hmm",0,0,function(){return""+vn.apply(this)+q(this.minutes(),2)}),Y("hmmss",0,0,function(){return""+vn.apply(this)+q(this.minutes(),2)+q(this.seconds(),2)}),Y("Hmm",0,0,function(){return""+this.hours()+q(this.minutes(),2)}),Y("Hmmss",0,0,function(){return""+this.hours()+q(this.minutes(),2)+q(this.seconds(),2)}),yn("a",!0),yn("A",!1),j("hour","h"),Q("a",bn),Q("A",bn),Q("H",Er),Q("h",Er),Q("HH",Er,kr),Q("hh",Er,kr),Q("hmm",Dr),Q("hmmss",Mr),Q("Hmm",Dr),Q("Hmmss",Mr),ee(["H","HH"],qr),ee(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ee(["h","hh"],function(e,t,n){t[qr]=y(e),f(n).bigHour=!0}),ee("hmm",function(e,t,n){var r=e.length-2;t[qr]=y(e.substr(0,r)),t[Yr]=y(e.substr(r)),f(n).bigHour=!0}),ee("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[qr]=y(e.substr(0,r)),t[Yr]=y(e.substr(r,2)),t[Wr]=y(e.substr(i)),f(n).bigHour=!0}),ee("Hmm",function(e,t,n){var r=e.length-2;t[qr]=y(e.substr(0,r)),t[Yr]=y(e.substr(r))}),ee("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[qr]=y(e.substr(0,r)),t[Yr]=y(e.substr(r,2)),t[Wr]=y(e.substr(i))});var Si=/[ap]\.?m?\.?/i,_i=U("Hours",!0);Y("m",["mm",2],0,"minute"),j("minute","m"),Q("m",Er),Q("mm",Er,kr),ee(["m","mm"],Yr);var Ei=U("Minutes",!1);Y("s",["ss",2],0,"second"),j("second","s"),Q("s",Er),Q("ss",Er,kr),ee(["s","ss"],Wr);var Di=U("Seconds",!1);Y("S",0,0,function(){return~~(this.millisecond()/100)}),Y(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),Y(0,["SSS",3],0,"millisecond"),Y(0,["SSSS",4],0,function(){return 10*this.millisecond()}),Y(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),Y(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),Y(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),Y(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),Y(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),j("millisecond","ms"),Q("S",Tr,xr),Q("SS",Tr,kr),Q("SSS",Tr,Cr);var Mi;for(Mi="SSSS";Mi.length<=9;Mi+="S")Q(Mi,Fr);for(Mi="S";Mi.length<=9;Mi+="S")ee(Mi,kn);var Ti=U("Milliseconds",!1);Y("z",0,0,"zoneAbbr"),Y("zz",0,0,"zoneName");var Ai=g.prototype;Ai.add=pi,Ai.calendar=dt,Ai.clone=ht,Ai.diff=bt,Ai.endOf=Ot,Ai.format=Ct,Ai.from=St,Ai.fromNow=_t,Ai.to=Et,Ai.toNow=Dt,Ai.get=H,Ai.invalidAt=Vt,Ai.isAfter=pt,Ai.isBefore=mt,Ai.isBetween=gt,Ai.isSame=vt,Ai.isSameOrAfter=$t,Ai.isSameOrBefore=yt,Ai.isValid=Rt,Ai.lang=gi,Ai.locale=Mt,Ai.localeData=Tt,Ai.max=li,Ai.min=ui,Ai.parsingFlags=Ut,Ai.set=H,Ai.startOf=At,Ai.subtract=mi,Ai.toArray=Pt,Ai.toObject=jt,Ai.toDate=It,Ai.toISOString=kt,Ai.toJSON=Lt,Ai.toString=xt,Ai.unix=Nt,Ai.valueOf=Ft,Ai.creationData=zt,Ai.year=si,Ai.isLeapYear=we,Ai.weekYear=qt,Ai.isoWeekYear=Yt,Ai.quarter=Ai.quarters=Qt,Ai.month=le,Ai.daysInMonth=ce,Ai.week=Ai.weeks=en,Ai.isoWeek=Ai.isoWeeks=tn,Ai.weeksInYear=Bt,Ai.isoWeeksInYear=Wt,Ai.date=$i,Ai.day=Ai.days=ln,Ai.weekday=cn,Ai.isoWeekday=fn,Ai.dayOfYear=gn,Ai.hour=Ai.hours=_i,Ai.minute=Ai.minutes=Ei,Ai.second=Ai.seconds=Di,Ai.millisecond=Ai.milliseconds=Ti,Ai.utcOffset=Ge,Ai.utc=Qe,Ai.local=Je,Ai.parseZone=Xe,Ai.hasAlignedHourOffset=Ke,Ai.isDST=et,Ai.isDSTShifted=tt,Ai.isLocal=nt,Ai.isUtcOffset=rt,Ai.isUtc=it,Ai.isUTC=it,Ai.zoneAbbr=Cn,Ai.zoneName=Sn,Ai.dates=x("dates accessor is deprecated. Use date instead.",$i),Ai.months=x("months accessor is deprecated. Use month instead",le),Ai.years=x("years accessor is deprecated. Use year instead",si),Ai.zone=x("moment().zone is deprecated, use moment().utcOffset instead. https://github.com/moment/moment/issues/1779",Ze);var Oi=Ai,Fi={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},Ni={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},Ii="Invalid date",Pi="%d",ji=/\d{1,2}/,Li={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},Ri=D.prototype;Ri._calendar=Fi,Ri.calendar=Dn,Ri._longDateFormat=Ni,Ri.longDateFormat=Mn,Ri._invalidDate=Ii,Ri.invalidDate=Tn,Ri._ordinal=Pi,Ri.ordinal=An,Ri._ordinalParse=ji,Ri.preparse=On,Ri.postformat=On,Ri._relativeTime=Li,Ri.relativeTime=Fn,Ri.pastFuture=Nn,Ri.set=_,Ri.months=ie,Ri._months=Jr,Ri.monthsShort=oe,Ri._monthsShort=Xr,Ri.monthsParse=se,Ri._monthsRegex=ei,Ri.monthsRegex=de,Ri._monthsShortRegex=Kr,Ri.monthsShortRegex=fe,Ri.week=Jt,Ri._week=vi,Ri.firstDayOfYear=Kt,Ri.firstDayOfWeek=Xt,Ri.weekdays=rn,Ri._weekdays=yi,Ri.weekdaysMin=an,Ri._weekdaysMin=wi,Ri.weekdaysShort=on,Ri._weekdaysShort=bi,Ri.weekdaysParse=un,Ri._weekdaysRegex=xi,Ri.weekdaysRegex=dn,Ri._weekdaysShortRegex=ki,Ri.weekdaysShortRegex=hn,Ri._weekdaysMinRegex=Ci,Ri.weekdaysMinRegex=pn,Ri.isPM=wn,Ri._meridiemParse=Si,Ri.meridiem=xn,O("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===y(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),n.lang=x("moment.lang is deprecated. Use moment.locale instead.",O),n.langData=x("moment.langData is deprecated. Use moment.localeData instead.",I);var Ui=Math.abs,Vi=Kn("ms"),zi=Kn("s"),Hi=Kn("m"),qi=Kn("h"),Yi=Kn("d"),Wi=Kn("w"),Bi=Kn("M"),Gi=Kn("y"),Zi=tr("milliseconds"),Qi=tr("seconds"),Ji=tr("minutes"),Xi=tr("hours"),Ki=tr("days"),eo=tr("months"),to=tr("years"),no=Math.round,ro={s:45,m:45,h:22,d:26,M:11},io=Math.abs,oo=ze.prototype;oo.abs=Hn,oo.add=Yn,oo.subtract=Wn,oo.as=Jn,oo.asMilliseconds=Vi,oo.asSeconds=zi,oo.asMinutes=Hi,oo.asHours=qi,oo.asDays=Yi,oo.asWeeks=Wi,oo.asMonths=Bi,oo.asYears=Gi,oo.valueOf=Xn,oo._bubble=Gn,oo.get=er,oo.milliseconds=Zi,oo.seconds=Qi,oo.minutes=Ji,oo.hours=Xi,oo.days=Ki,oo.weeks=nr,oo.months=eo,oo.years=to,oo.humanize=ar,oo.toISOString=sr,oo.toString=sr,oo.toJSON=sr,oo.locale=Mt,oo.localeData=Tt,oo.toIsoString=x("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",sr),oo.lang=gi,Y("X",0,0,"unix"),Y("x",0,0,"valueOf"),Q("x",Nr),Q("X",jr),ee("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),ee("x",function(e,t,n){n._d=new Date(y(e))}),n.version="2.13.0",r(Le),n.fn=Oi,n.min=Ue,n.max=Ve,n.now=ci,n.utc=l,n.unix=_n,n.months=Ln,n.isDate=o,n.locale=O,n.invalid=h,n.duration=ot,n.isMoment=v,n.weekdays=Un,n.parseZone=En,n.localeData=I,n.isDuration=He,n.monthsShort=Rn,n.weekdaysMin=zn,n.defineLocale=F,n.updateLocale=N,n.locales=P,n.weekdaysShort=Vn,n.normalizeUnits=L,n.relativeTimeThreshold=or,n.prototype=Oi;var ao=n;return ao})},{}],13:[function(e,t,n){!function(e,n){"use strict";var r,i,o,a=e,s=a.document,u=a.navigator,l=a.setTimeout,c=a.clearTimeout,f=a.setInterval,d=a.clearInterval,h=a.getComputedStyle,p=a.encodeURIComponent,m=a.ActiveXObject,g=a.Error,v=a.Number.parseInt||a.parseInt,$=a.Number.parseFloat||a.parseFloat,y=a.Number.isNaN||a.isNaN,b=a.Date.now,w=a.Object.keys,x=a.Object.defineProperty,k=a.Object.prototype.hasOwnProperty,C=a.Array.prototype.slice,S=function(){var e=function(e){return e};if("function"==typeof a.wrap&&"function"==typeof a.unwrap)try{var t=s.createElement("div"),n=a.unwrap(t);1===t.nodeType&&n&&1===n.nodeType&&(e=a.unwrap)}catch(r){}return e}(),_=function(e){return C.call(e,0)},E=function(){var e,t,r,i,o,a,s=_(arguments),u=s[0]||{};for(e=1,t=s.length;t>e;e++)if(null!=(r=s[e]))for(i in r)k.call(r,i)&&(o=u[i],a=r[i],u!==a&&a!==n&&(u[i]=a));return u},D=function(e){var t,n,r,i;if("object"!=typeof e||null==e||"number"==typeof e.nodeType)t=e;else if("number"==typeof e.length)for(t=[],n=0,r=e.length;r>n;n++)k.call(e,n)&&(t[n]=D(e[n]));else{t={};for(i in e)k.call(e,i)&&(t[i]=D(e[i]))}return t},M=function(e,t){for(var n={},r=0,i=t.length;i>r;r++)t[r]in e&&(n[t[r]]=e[t[r]]);return n},T=function(e,t){var n={};for(var r in e)-1===t.indexOf(r)&&(n[r]=e[r]);return n},A=function(e){if(e)for(var t in e)k.call(e,t)&&delete e[t];return e},O=function(e,t){if(e&&1===e.nodeType&&e.ownerDocument&&t&&(1===t.nodeType&&t.ownerDocument&&t.ownerDocument===e.ownerDocument||9===t.nodeType&&!t.ownerDocument&&t===e.ownerDocument))do{if(e===t)return!0;e=e.parentNode}while(e);return!1},F=function(e){var t;return"string"==typeof e&&e&&(t=e.split("#")[0].split("?")[0],t=e.slice(0,e.lastIndexOf("/")+1)),t},N=function(e){var t,n;return"string"==typeof e&&e&&(n=e.match(/^(?:|[^:@]*@|.+\)@(?=http[s]?|file)|.+?\s+(?: at |@)(?:[^:\(]+ )*[\(]?)((?:http[s]?|file):\/\/[\/]?.+?\/[^:\)]*?)(?::\d+)(?::\d+)?/),n&&n[1]?t=n[1]:(n=e.match(/\)@((?:http[s]?|file):\/\/[\/]?.+?\/[^:\)]*?)(?::\d+)(?::\d+)?/),n&&n[1]&&(t=n[1]))),t},I=function(){var e,t;try{throw new g}catch(n){t=n}return t&&(e=t.sourceURL||t.fileName||N(t.stack)),e},P=function(){var e,t,r;if(s.currentScript&&(e=s.currentScript.src))return e;if(t=s.getElementsByTagName("script"),1===t.length)return t[0].src||n;if("readyState"in t[0])for(r=t.length;r--;)if("interactive"===t[r].readyState&&(e=t[r].src))return e;return"loading"===s.readyState&&(e=t[t.length-1].src)?e:(e=I())?e:n},j=function(){var e,t,r,i=s.getElementsByTagName("script");for(e=i.length;e--;){if(!(r=i[e].src)){t=null;break}if(r=F(r),null==t)t=r;else if(t!==r){t=null;break}}return t||n},L=function(){var e=F(P())||j()||"";return e+"ZeroClipboard.swf"},R=function(){return null==e.opener&&(!!e.top&&e!=e.top||!!e.parent&&e!=e.parent)}(),U={bridge:null,version:"0.0.0",pluginType:"unknown",disabled:null,outdated:null,sandboxed:null,unavailable:null,degraded:null,deactivated:null,overdue:null,ready:null},V="11.0.0",z={},H={},q=null,Y=0,W=0,B={ready:"Flash communication is established",error:{"flash-disabled":"Flash is disabled or not installed. May also be attempting to run Flash in a sandboxed iframe, which is impossible.","flash-outdated":"Flash is too outdated to support ZeroClipboard","flash-sandboxed":"Attempting to run Flash in a sandboxed iframe, which is impossible","flash-unavailable":"Flash is unable to communicate bidirectionally with JavaScript","flash-degraded":"Flash is unable to preserve data fidelity when communicating with JavaScript","flash-deactivated":"Flash is too outdated for your browser and/or is configured as click-to-activate.\nThis may also mean that the ZeroClipboard SWF object could not be loaded, so please check your `swfPath` configuration and/or network connectivity.\nMay also be attempting to run Flash in a sandboxed iframe, which is impossible.","flash-overdue":"Flash communication was established but NOT within the acceptable time limit","version-mismatch":"ZeroClipboard JS version number does not match ZeroClipboard SWF version number","clipboard-error":"At least one error was thrown while ZeroClipboard was attempting to inject your data into the clipboard","config-mismatch":"ZeroClipboard configuration does not match Flash's reality","swf-not-found":"The ZeroClipboard SWF object could not be loaded, so please check your `swfPath` configuration and/or network connectivity"}},G=["flash-unavailable","flash-degraded","flash-overdue","version-mismatch","config-mismatch","clipboard-error"],Z=["flash-disabled","flash-outdated","flash-sandboxed","flash-unavailable","flash-degraded","flash-deactivated","flash-overdue"],Q=new RegExp("^flash-("+Z.map(function(e){return e.replace(/^flash-/,"")}).join("|")+")$"),J=new RegExp("^flash-("+Z.slice(1).map(function(e){return e.replace(/^flash-/,"")}).join("|")+")$"),X={swfPath:L(),trustedDomains:e.location.host?[e.location.host]:[],cacheBust:!0,forceEnhancedClipboard:!1,flashLoadTimeout:3e4,autoActivate:!0,bubbleEvents:!0,containerId:"global-zeroclipboard-html-bridge",containerClass:"global-zeroclipboard-container",swfObjectId:"global-zeroclipboard-flash-bridge",hoverClass:"zeroclipboard-is-hover",activeClass:"zeroclipboard-is-active",forceHandCursor:!1,title:null,zIndex:999999999},K=function(e){if("object"==typeof e&&null!==e)for(var t in e)if(k.call(e,t))if(/^(?:forceHandCursor|title|zIndex|bubbleEvents)$/.test(t))X[t]=e[t];else if(null==U.bridge)if("containerId"===t||"swfObjectId"===t){if(!pe(e[t]))throw new Error("The specified `"+t+"` value is not valid as an HTML4 Element ID");X[t]=e[t]}else X[t]=e[t];{if("string"!=typeof e||!e)return D(X);if(k.call(X,e))return X[e]}},ee=function(){return We(),{browser:M(u,["userAgent","platform","appName"]),flash:T(U,["bridge"]),zeroclipboard:{version:Ge.version,config:Ge.config()}}},te=function(){return!!(U.disabled||U.outdated||U.sandboxed||U.unavailable||U.degraded||U.deactivated)},ne=function(e,t){var i,o,a,s={};if("string"==typeof e&&e)a=e.toLowerCase().split(/\s+/);else if("object"==typeof e&&e&&"undefined"==typeof t)for(i in e)k.call(e,i)&&"string"==typeof i&&i&&"function"==typeof e[i]&&Ge.on(i,e[i]);if(a&&a.length){for(i=0,o=a.length;o>i;i++)e=a[i].replace(/^on/,""),s[e]=!0,z[e]||(z[e]=[]),z[e].push(t);if(s.ready&&U.ready&&Ge.emit({type:"ready"}),s.error){for(i=0,o=Z.length;o>i;i++)if(U[Z[i].replace(/^flash-/,"")]===!0){Ge.emit({type:"error",name:Z[i]});break}r!==n&&Ge.version!==r&&Ge.emit({type:"error",name:"version-mismatch",jsVersion:Ge.version,swfVersion:r})}}return Ge},re=function(e,t){var n,r,i,o,a;if(0===arguments.length)o=w(z);else if("string"==typeof e&&e)o=e.split(/\s+/);else if("object"==typeof e&&e&&"undefined"==typeof t)for(n in e)k.call(e,n)&&"string"==typeof n&&n&&"function"==typeof e[n]&&Ge.off(n,e[n]);if(o&&o.length)for(n=0,r=o.length;r>n;n++)if(e=o[n].toLowerCase().replace(/^on/,""),a=z[e],a&&a.length)if(t)for(i=a.indexOf(t);-1!==i;)a.splice(i,1),i=a.indexOf(t,i);else a.length=0;return Ge},ie=function(e){var t;return t="string"==typeof e&&e?D(z[e])||null:D(z)},oe=function(e){var t,n,r;return e=me(e),e&&!xe(e)?"ready"===e.type&&U.overdue===!0?Ge.emit({type:"error",name:"flash-overdue"}):(t=E({},e),be.call(this,t),"copy"===e.type&&(r=Te(H),n=r.data,q=r.formatMap),n):void 0},ae=function(){var e=U.sandboxed;if(We(),"boolean"!=typeof U.ready&&(U.ready=!1),U.sandboxed!==e&&U.sandboxed===!0)U.ready=!1,Ge.emit({type:"error",name:"flash-sandboxed"});else if(!Ge.isFlashUnusable()&&null===U.bridge){var t=X.flashLoadTimeout;"number"==typeof t&&t>=0&&(Y=l(function(){"boolean"!=typeof U.deactivated&&(U.deactivated=!0),U.deactivated===!0&&Ge.emit({type:"error",name:"flash-deactivated"})},t)),U.overdue=!1,De()}},se=function(){Ge.clearData(),Ge.blur(),Ge.emit("destroy"),Me(),Ge.off()},ue=function(e,t){var n;if("object"==typeof e&&e&&"undefined"==typeof t)n=e,Ge.clearData();else{if("string"!=typeof e||!e)return;n={},n[e]=t}for(var r in n)"string"==typeof r&&r&&k.call(n,r)&&"string"==typeof n[r]&&n[r]&&(H[r]=n[r])},le=function(e){"undefined"==typeof e?(A(H),q=null):"string"==typeof e&&k.call(H,e)&&delete H[e]},ce=function(e){return"undefined"==typeof e?D(H):"string"==typeof e&&k.call(H,e)?H[e]:void 0},fe=function(e){if(e&&1===e.nodeType){i&&(Le(i,X.activeClass),i!==e&&Le(i,X.hoverClass)),i=e,je(e,X.hoverClass);var t=e.getAttribute("title")||X.title;if("string"==typeof t&&t){var n=Ee(U.bridge);n&&n.setAttribute("title",t)}var r=X.forceHandCursor===!0||"pointer"===Re(e,"cursor");qe(r),He()}},de=function(){var e=Ee(U.bridge);e&&(e.removeAttribute("title"),e.style.left="0px",e.style.top="-9999px",e.style.width="1px",e.style.height="1px"),i&&(Le(i,X.hoverClass),Le(i,X.activeClass),i=null)},he=function(){return i||null},pe=function(e){return"string"==typeof e&&e&&/^[A-Za-z][A-Za-z0-9_:\-\.]*$/.test(e)},me=function(e){var t;if("string"==typeof e&&e?(t=e,e={}):"object"==typeof e&&e&&"string"==typeof e.type&&e.type&&(t=e.type),t){t=t.toLowerCase(),!e.target&&(/^(copy|aftercopy|_click)$/.test(t)||"error"===t&&"clipboard-error"===e.name)&&(e.target=o),E(e,{type:t,target:e.target||i||null,relatedTarget:e.relatedTarget||null,currentTarget:U&&U.bridge||null,timeStamp:e.timeStamp||b()||null});var n=B[e.type];return"error"===e.type&&e.name&&n&&(n=n[e.name]),n&&(e.message=n),"ready"===e.type&&E(e,{target:null,version:U.version}),"error"===e.type&&(Q.test(e.name)&&E(e,{target:null,minimumVersion:V}),J.test(e.name)&&E(e,{version:U.version})),"copy"===e.type&&(e.clipboardData={setData:Ge.setData,clearData:Ge.clearData}),"aftercopy"===e.type&&(e=Ae(e,q)),e.target&&!e.relatedTarget&&(e.relatedTarget=ge(e.target)),ve(e)}},ge=function(e){var t=e&&e.getAttribute&&e.getAttribute("data-clipboard-target");return t?s.getElementById(t):null},ve=function(e){if(e&&/^_(?:click|mouse(?:over|out|down|up|move))$/.test(e.type)){var t=e.target,r="_mouseover"===e.type&&e.relatedTarget?e.relatedTarget:n,i="_mouseout"===e.type&&e.relatedTarget?e.relatedTarget:n,o=Ue(t),u=a.screenLeft||a.screenX||0,l=a.screenTop||a.screenY||0,c=s.body.scrollLeft+s.documentElement.scrollLeft,f=s.body.scrollTop+s.documentElement.scrollTop,d=o.left+("number"==typeof e._stageX?e._stageX:0),h=o.top+("number"==typeof e._stageY?e._stageY:0),p=d-c,m=h-f,g=u+p,v=l+m,$="number"==typeof e.movementX?e.movementX:0,y="number"==typeof e.movementY?e.movementY:0;delete e._stageX,delete e._stageY,E(e,{srcElement:t,fromElement:r,toElement:i,screenX:g,screenY:v,pageX:d,pageY:h,clientX:p,clientY:m,x:p,y:m,movementX:$,movementY:y,offsetX:0,offsetY:0,layerX:0,layerY:0})}return e},$e=function(e){var t=e&&"string"==typeof e.type&&e.type||"";return!/^(?:(?:before)?copy|destroy)$/.test(t)},ye=function(e,t,n,r){r?l(function(){e.apply(t,n)},0):e.apply(t,n)},be=function(e){if("object"==typeof e&&e&&e.type){var t=$e(e),n=z["*"]||[],r=z[e.type]||[],i=n.concat(r);if(i&&i.length){var o,s,u,l,c,f=this;for(o=0,s=i.length;s>o;o++)u=i[o],l=f,"string"==typeof u&&"function"==typeof a[u]&&(u=a[u]),"object"==typeof u&&u&&"function"==typeof u.handleEvent&&(l=u,u=u.handleEvent),"function"==typeof u&&(c=E({},e),ye(u,l,[c],t))}return this}},we=function(e){var t=null;return(R===!1||e&&"error"===e.type&&e.name&&-1!==G.indexOf(e.name))&&(t=!1),t},xe=function(e){var t=e.target||i||null,n="swf"===e._source;switch(delete e._source,e.type){case"error":var a="flash-sandboxed"===e.name||we(e);"boolean"==typeof a&&(U.sandboxed=a),-1!==Z.indexOf(e.name)?E(U,{disabled:"flash-disabled"===e.name,outdated:"flash-outdated"===e.name,unavailable:"flash-unavailable"===e.name,degraded:"flash-degraded"===e.name,deactivated:"flash-deactivated"===e.name,overdue:"flash-overdue"===e.name,ready:!1}):"version-mismatch"===e.name&&(r=e.swfVersion,E(U,{disabled:!1,outdated:!1,unavailable:!1,degraded:!1,deactivated:!1,overdue:!1,ready:!1})),ze();break;case"ready":r=e.swfVersion;var s=U.deactivated===!0;E(U,{disabled:!1,outdated:!1,sandboxed:!1,unavailable:!1,degraded:!1,deactivated:!1,overdue:s,ready:!s}),ze();break;case"beforecopy":o=t;break;case"copy":var u,l,c=e.relatedTarget;!H["text/html"]&&!H["text/plain"]&&c&&(l=c.value||c.outerHTML||c.innerHTML)&&(u=c.value||c.textContent||c.innerText)?(e.clipboardData.clearData(),e.clipboardData.setData("text/plain",u),l!==u&&e.clipboardData.setData("text/html",l)):!H["text/plain"]&&e.target&&(u=e.target.getAttribute("data-clipboard-text"))&&(e.clipboardData.clearData(),e.clipboardData.setData("text/plain",u));break;case"aftercopy":ke(e),Ge.clearData(),t&&t!==Pe()&&t.focus&&t.focus();break;case"_mouseover":Ge.focus(t),X.bubbleEvents===!0&&n&&(t&&t!==e.relatedTarget&&!O(e.relatedTarget,t)&&Ce(E({},e,{type:"mouseenter",bubbles:!1,cancelable:!1})),Ce(E({},e,{type:"mouseover"})));break;case"_mouseout":Ge.blur(),X.bubbleEvents===!0&&n&&(t&&t!==e.relatedTarget&&!O(e.relatedTarget,t)&&Ce(E({},e,{type:"mouseleave",bubbles:!1,cancelable:!1})),Ce(E({},e,{type:"mouseout"})));break;case"_mousedown":je(t,X.activeClass),X.bubbleEvents===!0&&n&&Ce(E({},e,{type:e.type.slice(1)}));break;case"_mouseup":Le(t,X.activeClass),X.bubbleEvents===!0&&n&&Ce(E({},e,{type:e.type.slice(1)}));break;case"_click":o=null,X.bubbleEvents===!0&&n&&Ce(E({},e,{type:e.type.slice(1)}));break;case"_mousemove":X.bubbleEvents===!0&&n&&Ce(E({},e,{type:e.type.slice(1)}))}return/^_(?:click|mouse(?:over|out|down|up|move))$/.test(e.type)?!0:void 0},ke=function(e){if(e.errors&&e.errors.length>0){var t=D(e);E(t,{type:"error",name:"clipboard-error"}),delete t.success,l(function(){Ge.emit(t)},0)}},Ce=function(e){if(e&&"string"==typeof e.type&&e){var t,n=e.target||null,r=n&&n.ownerDocument||s,i={view:r.defaultView||a,canBubble:!0,cancelable:!0,detail:"click"===e.type?1:0,button:"number"==typeof e.which?e.which-1:"number"==typeof e.button?e.button:r.createEvent?0:1},o=E(i,e);n&&r.createEvent&&n.dispatchEvent&&(o=[o.type,o.canBubble,o.cancelable,o.view,o.detail,o.screenX,o.screenY,o.clientX,o.clientY,o.ctrlKey,o.altKey,o.shiftKey,o.metaKey,o.button,o.relatedTarget],t=r.createEvent("MouseEvents"),t.initMouseEvent&&(t.initMouseEvent.apply(t,o),t._source="js",n.dispatchEvent(t)))}},Se=function(){var e=X.flashLoadTimeout;if("number"==typeof e&&e>=0){var t=Math.min(1e3,e/10),n=X.swfObjectId+"_fallbackContent";W=f(function(){var e=s.getElementById(n);Ve(e)&&(ze(),U.deactivated=null,Ge.emit({type:"error",name:"swf-not-found"}))},t)}},_e=function(){var e=s.createElement("div");return e.id=X.containerId,e.className=X.containerClass,e.style.position="absolute",e.style.left="0px",e.style.top="-9999px",e.style.width="1px",e.style.height="1px",e.style.zIndex=""+Ye(X.zIndex),e},Ee=function(e){for(var t=e&&e.parentNode;t&&"OBJECT"===t.nodeName&&t.parentNode;)t=t.parentNode;return t||null},De=function(){var e,t=U.bridge,n=Ee(t);if(!t){var r=Ie(a.location.host,X),i="never"===r?"none":"all",o=Fe(E({jsVersion:Ge.version},X)),u=X.swfPath+Oe(X.swfPath,X);n=_e();var l=s.createElement("div");n.appendChild(l),s.body.appendChild(n); -var c=s.createElement("div"),f="activex"===U.pluginType;c.innerHTML='"+(f?'':"")+'
     
    ',t=c.firstChild,c=null,S(t).ZeroClipboard=Ge,n.replaceChild(t,l),Se()}return t||(t=s[X.swfObjectId],t&&(e=t.length)&&(t=t[e-1]),!t&&n&&(t=n.firstChild)),U.bridge=t||null,t},Me=function(){var e=U.bridge;if(e){var t=Ee(e);t&&("activex"===U.pluginType&&"readyState"in e?(e.style.display="none",function i(){if(4===e.readyState){for(var n in e)"function"==typeof e[n]&&(e[n]=null);e.parentNode&&e.parentNode.removeChild(e),t.parentNode&&t.parentNode.removeChild(t)}else l(i,10)}()):(e.parentNode&&e.parentNode.removeChild(e),t.parentNode&&t.parentNode.removeChild(t))),ze(),U.ready=null,U.bridge=null,U.deactivated=null,r=n}},Te=function(e){var t={},n={};if("object"==typeof e&&e){for(var r in e)if(r&&k.call(e,r)&&"string"==typeof e[r]&&e[r])switch(r.toLowerCase()){case"text/plain":case"text":case"air:text":case"flash:text":t.text=e[r],n.text=r;break;case"text/html":case"html":case"air:html":case"flash:html":t.html=e[r],n.html=r;break;case"application/rtf":case"text/rtf":case"rtf":case"richtext":case"air:rtf":case"flash:rtf":t.rtf=e[r],n.rtf=r}return{data:t,formatMap:n}}},Ae=function(e,t){if("object"!=typeof e||!e||"object"!=typeof t||!t)return e;var n={};for(var r in e)if(k.call(e,r))if("errors"===r){n[r]=e[r]?e[r].slice():[];for(var i=0,o=n[r].length;o>i;i++)n[r][i].format=t[n[r][i].format]}else if("success"!==r&&"data"!==r)n[r]=e[r];else{n[r]={};var a=e[r];for(var s in a)s&&k.call(a,s)&&k.call(t,s)&&(n[r][t[s]]=a[s])}return n},Oe=function(e,t){var n=null==t||t&&t.cacheBust===!0;return n?(-1===e.indexOf("?")?"?":"&")+"noCache="+b():""},Fe=function(e){var t,n,r,i,o="",s=[];if(e.trustedDomains&&("string"==typeof e.trustedDomains?i=[e.trustedDomains]:"object"==typeof e.trustedDomains&&"length"in e.trustedDomains&&(i=e.trustedDomains)),i&&i.length)for(t=0,n=i.length;n>t;t++)if(k.call(i,t)&&i[t]&&"string"==typeof i[t]){if(r=Ne(i[t]),!r)continue;if("*"===r){s.length=0,s.push(r);break}s.push.apply(s,[r,"//"+r,a.location.protocol+"//"+r])}return s.length&&(o+="trustedOrigins="+p(s.join(","))),e.forceEnhancedClipboard===!0&&(o+=(o?"&":"")+"forceEnhancedClipboard=true"),"string"==typeof e.swfObjectId&&e.swfObjectId&&(o+=(o?"&":"")+"swfObjectId="+p(e.swfObjectId)),"string"==typeof e.jsVersion&&e.jsVersion&&(o+=(o?"&":"")+"jsVersion="+p(e.jsVersion)),o},Ne=function(e){if(null==e||""===e)return null;if(e=e.replace(/^\s+|\s+$/g,""),""===e)return null;var t=e.indexOf("//");e=-1===t?e:e.slice(t+2);var n=e.indexOf("/");return e=-1===n?e:-1===t||0===n?null:e.slice(0,n),e&&".swf"===e.slice(-4).toLowerCase()?null:e||null},Ie=function(){var e=function(e){var t,n,r,i=[];if("string"==typeof e&&(e=[e]),"object"!=typeof e||!e||"number"!=typeof e.length)return i;for(t=0,n=e.length;n>t;t++)if(k.call(e,t)&&(r=Ne(e[t]))){if("*"===r){i.length=0,i.push("*");break}-1===i.indexOf(r)&&i.push(r)}return i};return function(t,n){var r=Ne(n.swfPath);null===r&&(r=t);var i=e(n.trustedDomains),o=i.length;if(o>0){if(1===o&&"*"===i[0])return"always";if(-1!==i.indexOf(t))return 1===o&&t===r?"sameDomain":"always"}return"never"}}(),Pe=function(){try{return s.activeElement}catch(e){return null}},je=function(e,t){var n,r,i,o=[];if("string"==typeof t&&t&&(o=t.split(/\s+/)),e&&1===e.nodeType&&o.length>0)if(e.classList)for(n=0,r=o.length;r>n;n++)e.classList.add(o[n]);else if(e.hasOwnProperty("className")){for(i=" "+e.className+" ",n=0,r=o.length;r>n;n++)-1===i.indexOf(" "+o[n]+" ")&&(i+=o[n]+" ");e.className=i.replace(/^\s+|\s+$/g,"")}return e},Le=function(e,t){var n,r,i,o=[];if("string"==typeof t&&t&&(o=t.split(/\s+/)),e&&1===e.nodeType&&o.length>0)if(e.classList&&e.classList.length>0)for(n=0,r=o.length;r>n;n++)e.classList.remove(o[n]);else if(e.className){for(i=(" "+e.className+" ").replace(/[\r\n\t]/g," "),n=0,r=o.length;r>n;n++)i=i.replace(" "+o[n]+" "," ");e.className=i.replace(/^\s+|\s+$/g,"")}return e},Re=function(e,t){var n=h(e,null).getPropertyValue(t);return"cursor"!==t||n&&"auto"!==n||"A"!==e.nodeName?n:"pointer"},Ue=function(e){var t={left:0,top:0,width:0,height:0};if(e.getBoundingClientRect){var n=e.getBoundingClientRect(),r=a.pageXOffset,i=a.pageYOffset,o=s.documentElement.clientLeft||0,u=s.documentElement.clientTop||0,l=0,c=0;if("relative"===Re(s.body,"position")){var f=s.body.getBoundingClientRect(),d=s.documentElement.getBoundingClientRect();l=f.left-d.left||0,c=f.top-d.top||0}t.left=n.left+r-o-l,t.top=n.top+i-u-c,t.width="width"in n?n.width:n.right-n.left,t.height="height"in n?n.height:n.bottom-n.top}return t},Ve=function(e){if(!e)return!1;var t=h(e,null),n=$(t.height)>0,r=$(t.width)>0,i=$(t.top)>=0,o=$(t.left)>=0,a=n&&r&&i&&o,s=a?null:Ue(e),u="none"!==t.display&&"collapse"!==t.visibility&&(a||!!s&&(n||s.height>0)&&(r||s.width>0)&&(i||s.top>=0)&&(o||s.left>=0));return u},ze=function(){c(Y),Y=0,d(W),W=0},He=function(){var e;if(i&&(e=Ee(U.bridge))){var t=Ue(i);E(e.style,{width:t.width+"px",height:t.height+"px",top:t.top+"px",left:t.left+"px",zIndex:""+Ye(X.zIndex)})}},qe=function(e){U.ready===!0&&(U.bridge&&"function"==typeof U.bridge.setHandCursor?U.bridge.setHandCursor(e):U.ready=!1)},Ye=function(e){if(/^(?:auto|inherit)$/.test(e))return e;var t;return"number"!=typeof e||y(e)?"string"==typeof e&&(t=Ye(v(e,10))):t=e,"number"==typeof t?t:"auto"},We=function(t){var n,r,i,o=U.sandboxed,a=null;if(t=t===!0,R===!1)a=!1;else{try{r=e.frameElement||null}catch(s){i={name:s.name,message:s.message}}if(r&&1===r.nodeType&&"IFRAME"===r.nodeName)try{a=r.hasAttribute("sandbox")}catch(s){a=null}else{try{n=document.domain||null}catch(s){n=null}(null===n||i&&"SecurityError"===i.name&&/(^|[\s\(\[@])sandbox(es|ed|ing|[\s\.,!\)\]@]|$)/.test(i.message.toLowerCase()))&&(a=!0)}}return U.sandboxed=a,o===a||t||Be(m),a},Be=function(e){function t(e){var t=e.match(/[\d]+/g);return t.length=3,t.join(".")}function n(e){return!!e&&(e=e.toLowerCase())&&(/^(pepflashplayer\.dll|libpepflashplayer\.so|pepperflashplayer\.plugin)$/.test(e)||"chrome.plugin"===e.slice(-13))}function r(e){e&&(s=!0,e.version&&(f=t(e.version)),!f&&e.description&&(f=t(e.description)),e.filename&&(c=n(e.filename)))}var i,o,a,s=!1,l=!1,c=!1,f="";if(u.plugins&&u.plugins.length)i=u.plugins["Shockwave Flash"],r(i),u.plugins["Shockwave Flash 2.0"]&&(s=!0,f="2.0.0.11");else if(u.mimeTypes&&u.mimeTypes.length)a=u.mimeTypes["application/x-shockwave-flash"],i=a&&a.enabledPlugin,r(i);else if("undefined"!=typeof e){l=!0;try{o=new e("ShockwaveFlash.ShockwaveFlash.7"),s=!0,f=t(o.GetVariable("$version"))}catch(d){try{o=new e("ShockwaveFlash.ShockwaveFlash.6"),s=!0,f="6.0.21"}catch(h){try{o=new e("ShockwaveFlash.ShockwaveFlash"),s=!0,f=t(o.GetVariable("$version"))}catch(p){l=!1}}}}U.disabled=s!==!0,U.outdated=f&&$(f)<$(V),U.version=f||"0.0.0",U.pluginType=c?"pepper":l?"activex":s?"netscape":"unknown"};Be(m),We(!0);var Ge=function(){return this instanceof Ge?void("function"==typeof Ge._createClient&&Ge._createClient.apply(this,_(arguments))):new Ge};x(Ge,"version",{value:"2.2.0",writable:!1,configurable:!0,enumerable:!0}),Ge.config=function(){return K.apply(this,_(arguments))},Ge.state=function(){return ee.apply(this,_(arguments))},Ge.isFlashUnusable=function(){return te.apply(this,_(arguments))},Ge.on=function(){return ne.apply(this,_(arguments))},Ge.off=function(){return re.apply(this,_(arguments))},Ge.handlers=function(){return ie.apply(this,_(arguments))},Ge.emit=function(){return oe.apply(this,_(arguments))},Ge.create=function(){return ae.apply(this,_(arguments))},Ge.destroy=function(){return se.apply(this,_(arguments))},Ge.setData=function(){return ue.apply(this,_(arguments))},Ge.clearData=function(){return le.apply(this,_(arguments))},Ge.getData=function(){return ce.apply(this,_(arguments))},Ge.focus=Ge.activate=function(){return fe.apply(this,_(arguments))},Ge.blur=Ge.deactivate=function(){return de.apply(this,_(arguments))},Ge.activeElement=function(){return he.apply(this,_(arguments))};var Ze=0,Qe={},Je=0,Xe={},Ke={};E(X,{autoActivate:!0});var et=function(e){var t=this;t.id=""+Ze++,Qe[t.id]={instance:t,elements:[],handlers:{}},e&&t.clip(e),Ge.on("*",function(e){return t.emit(e)}),Ge.on("destroy",function(){t.destroy()}),Ge.create()},tt=function(e,t){var i,o,a,s={},u=Qe[this.id],l=u&&u.handlers;if(!u)throw new Error("Attempted to add new listener(s) to a destroyed ZeroClipboard client instance");if("string"==typeof e&&e)a=e.toLowerCase().split(/\s+/);else if("object"==typeof e&&e&&"undefined"==typeof t)for(i in e)k.call(e,i)&&"string"==typeof i&&i&&"function"==typeof e[i]&&this.on(i,e[i]);if(a&&a.length){for(i=0,o=a.length;o>i;i++)e=a[i].replace(/^on/,""),s[e]=!0,l[e]||(l[e]=[]),l[e].push(t);if(s.ready&&U.ready&&this.emit({type:"ready",client:this}),s.error){for(i=0,o=Z.length;o>i;i++)if(U[Z[i].replace(/^flash-/,"")]){this.emit({type:"error",name:Z[i],client:this});break}r!==n&&Ge.version!==r&&this.emit({type:"error",name:"version-mismatch",jsVersion:Ge.version,swfVersion:r})}}return this},nt=function(e,t){var n,r,i,o,a,s=Qe[this.id],u=s&&s.handlers;if(!u)return this;if(0===arguments.length)o=w(u);else if("string"==typeof e&&e)o=e.split(/\s+/);else if("object"==typeof e&&e&&"undefined"==typeof t)for(n in e)k.call(e,n)&&"string"==typeof n&&n&&"function"==typeof e[n]&&this.off(n,e[n]);if(o&&o.length)for(n=0,r=o.length;r>n;n++)if(e=o[n].toLowerCase().replace(/^on/,""),a=u[e],a&&a.length)if(t)for(i=a.indexOf(t);-1!==i;)a.splice(i,1),i=a.indexOf(t,i);else a.length=0;return this},rt=function(e){var t=null,n=Qe[this.id]&&Qe[this.id].handlers;return n&&(t="string"==typeof e&&e?n[e]?n[e].slice(0):[]:D(n)),t},it=function(e){if(lt.call(this,e)){"object"==typeof e&&e&&"string"==typeof e.type&&e.type&&(e=E({},e));var t=E({},me(e),{client:this});ct.call(this,t)}return this},ot=function(e){if(!Qe[this.id])throw new Error("Attempted to clip element(s) to a destroyed ZeroClipboard client instance");e=ft(e);for(var t=0;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))},ct=function(e){var t=Qe[this.id];if("object"==typeof e&&e&&e.type&&t){var n=$e(e),r=t&&t.handlers["*"]||[],i=t&&t.handlers[e.type]||[],o=r.concat(i);if(o&&o.length){var s,u,l,c,f,d=this;for(s=0,u=o.length;u>s;s++)l=o[s],c=d,"string"==typeof l&&"function"==typeof a[l]&&(l=a[l]),"object"==typeof l&&l&&"function"==typeof l.handleEvent&&(c=l,l=l.handleEvent),"function"==typeof l&&(f=E({},e),ye(l,c,[f],n))}}},ft=function(e){return"string"==typeof e&&(e=[]),"number"!=typeof e.length?[e]:e},dt=function(e){if(e&&1===e.nodeType){var t=function(e){(e||(e=a.event))&&("js"!==e._source&&(e.stopImmediatePropagation(),e.preventDefault()),delete e._source)},n=function(n){(n||(n=a.event))&&(t(n),Ge.focus(e))};e.addEventListener("mouseover",n,!1),e.addEventListener("mouseout",t,!1),e.addEventListener("mouseenter",t,!1),e.addEventListener("mouseleave",t,!1),e.addEventListener("mousemove",t,!1),Ke[e.zcClippingId]={mouseover:n,mouseout:t,mouseenter:t,mouseleave:t,mousemove:t}}},ht=function(e){if(e&&1===e.nodeType){var t=Ke[e.zcClippingId];if("object"==typeof t&&t){for(var n,r,i=["move","leave","enter","out","over"],o=0,a=i.length;a>o;o++)n="mouse"+i[o],r=t[n],"function"==typeof r&&e.removeEventListener(n,r,!1);delete Ke[e.zcClippingId]}}};Ge._createClient=function(){et.apply(this,_(arguments))},Ge.prototype.on=function(){return tt.apply(this,_(arguments))},Ge.prototype.off=function(){return nt.apply(this,_(arguments))},Ge.prototype.handlers=function(){return rt.apply(this,_(arguments))},Ge.prototype.emit=function(){return it.apply(this,_(arguments))},Ge.prototype.clip=function(){return ot.apply(this,_(arguments))},Ge.prototype.unclip=function(){return at.apply(this,_(arguments))},Ge.prototype.elements=function(){return st.apply(this,_(arguments))},Ge.prototype.destroy=function(){return ut.apply(this,_(arguments))},Ge.prototype.setText=function(e){if(!Qe[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ge.setData("text/plain",e),this},Ge.prototype.setHtml=function(e){if(!Qe[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ge.setData("text/html",e),this},Ge.prototype.setRichText=function(e){if(!Qe[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ge.setData("application/rtf",e),this},Ge.prototype.setData=function(){if(!Qe[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ge.setData.apply(this,_(arguments)),this},Ge.prototype.clearData=function(){if(!Qe[this.id])throw new Error("Attempted to clear pending clipboard data from a destroyed ZeroClipboard client instance");return Ge.clearData.apply(this,_(arguments)),this},Ge.prototype.getData=function(){if(!Qe[this.id])throw new Error("Attempted to get pending clipboard data from a destroyed ZeroClipboard client instance");return Ge.getData.apply(this,_(arguments))},"function"==typeof define&&define.amd?define(function(){return Ge}):"object"==typeof t&&t&&"object"==typeof t.exports&&t.exports?t.exports=Ge:e.ZeroClipboard=Ge}(function(){return this||window}())},{}],14:[function(e,t,n){t.exports='
    \n
    Drop files or click here to upload
    \n
    '},{}],15:[function(e,t,n){t.exports='\n
    \n
    \n Image Preview\n Image Preview\n
    \n \n
    \n\n \n |\n \n\n \n
    '},{}],16:[function(e,t,n){t.exports='
    \n \n
    \n
    '},{}],17:[function(e,t,n){"use strict";var r=e("moment");t.exports=function(t,n){t.controller("ImageManagerController",["$scope","$attrs","$http","$timeout","imageManagerService",function(e,t,r,i,o){function a(){e.searching=!1,e.searchTerm="",e.images=m,e.hasMore=g}function s(t){p&&p(t),e.showing=!1}function u(t){p=t,e.showing=!0,h||(l(),h=!0)}function l(){var t=v+c+"?",n={};e.uploadedTo&&(n.page_id=e.uploadedTo),e.searching&&(n.term=e.searchTerm);var i=Object.keys(n).map(function(e){return e+"="+encodeURIComponent(n[e])}).join("&");t+=i,r.get(t).then(function(t){e.images=e.images.concat(t.data.images),e.hasMore=t.data.hasMore,c++})}e.images=[],e.imageType=t.imageType,e.selectedImage=!1,e.dependantPages=!1,e.showing=!1,e.hasMore=!1,e.imageUpdateSuccess=!1,e.imageDeleteSuccess=!1,e.uploadedTo=t.uploadedTo,e.view="all",e.searching=!1,e.searchTerm="";var c=0,f=0,d=0,h=!1,p=!1,m=[],g=!1;e.getUploadUrl=function(){return"/images/"+e.imageType+"/upload"},e.cancelSearch=a,e.uploadSuccess=function(t,r){e.$apply(function(){e.images.unshift(r)}),n.emit("success","Image uploaded")},e.imageSelect=function(t){var n=300,r=Date.now(),i=r-f;n>i&&t.id===d?s(t):(e.selectedImage=t,e.dependantPages=!1),f=r,d=t.id},e.selectButtonClick=function(){s(e.selectedImage)},o.show=u,o.showExternal=function(t){e.$apply(function(){u(t)})},window.ImageManager=o,e.hide=function(){e.showing=!1};var v="/images/"+e.imageType+"/all/";e.fetchData=l,e.searchImages=function(){return""===e.searchTerm?void a():(e.searching||(m=e.images,g=e.hasMore),e.searching=!0,e.images=[],e.hasMore=!1,c=0,v="/images/"+e.imageType+"/search/",void l())},e.setView=function(t){a(),e.images=[],e.hasMore=!1,c=0,e.view=t,v="/images/"+e.imageType+"/"+t+"/",l()},e.saveImageDetails=function(t){t.preventDefault();var i="/images/update/"+e.selectedImage.id;r.put(i,this.selectedImage).then(function(e){n.emit("success","Image details updated")},function(e){if(422===e.status){var t=e.data,r="";Object.keys(t).forEach(function(e){r+=t[e].join("\n")}),n.emit("error",r)}else 403===e.status&&n.emit("error",e.data.error)})},e.deleteImage=function(t){t.preventDefault();var i=e.dependantPages!==!1,o="/images/"+e.selectedImage.id;i&&(o+="?force=true"),r["delete"](o).then(function(t){e.images.splice(e.images.indexOf(e.selectedImage),1),e.selectedImage=!1,n.emit("success","Image successfully deleted")},function(t){400===t.status?e.dependantPages=t.data:403===t.status&&n.emit("error",t.data.error)})},e.getDate=function(e){return new Date(e)}}]),t.controller("BookShowController",["$scope","$http","$attrs","$sce",function(e,t,n,r){e.searching=!1,e.searchTerm="",e.searchResults="",e.searchBook=function(i){i.preventDefault();var o=e.searchTerm;if(0!=o.length){e.searching=!0,e.searchResults="";var a="/search/book/"+n.bookId;a+="?term="+encodeURIComponent(o),t.get(a).then(function(t){e.searchResults=r.trustAsHtml(t.data)})}},e.checkSearchForm=function(){e.searchTerm.length<1&&(e.searching=!1)},e.clearSearch=function(){e.searching=!1,e.searchTerm=""}}]),t.controller("PageEditController",["$scope","$http","$attrs","$interval","$timeout","$sce",function(t,i,o,a,s,u){function l(){g.title=$("#name").val(),g.html=t.editContent,m=a(function(){var e=$("#name").val(),n=t.editContent;e===g.title&&n===g.html||(g.html=n,g.title=e,c())},1e3*h)}function c(){var e={name:$("#name").val(),html:p?u.getTrustedHtml(t.displayContent):t.editContent};p&&(e.markdown=t.editContent),i.put("/ajax/page/"+f+"/save-draft",e).then(function(e){var n=r.utc(r.unix(e.data.timestamp)).toDate();t.draftText=e.data.message+r(n).format("HH:mm"),t.isNewPageDraft||(t.isUpdateDraft=!0)})}t.editorOptions=e("./pages/page-form"),t.editContent="",t.draftText="";var f=Number(o.pageId),d=0!==f,h=30,p="markdown"===o.editorType;t.isUpdateDraft=1===Number(o.pageUpdateDraft),t.isNewPageDraft=1===Number(o.pageNewDraft),t.isUpdateDraft||t.isNewPageDraft?t.draftText="Editing Draft":t.draftText="Editing Page";var m=!1,g={title:!1,html:!1};d&&setTimeout(function(){l()},1e3),p&&(t.displayContent="",t.editorChange=function(e){t.displayContent=u.trustAsHtml(e)}),p||(t.editorChange=function(){}),t.forceDraftSave=function(){c()},t.discardDraft=function(){i.get("/ajax/page/"+f).then(function(e){m&&a.cancel(m),t.draftText="Editing Page",t.isUpdateDraft=!1,t.$broadcast("html-update",e.data.html),t.$broadcast("markdown-update",e.data.markdown||e.data.html),$("#name").val(e.data.name),s(function(){l()},1e3),n.emit("success","Draft discarded, The editor has been updated with the current page content")})}}]),t.controller("PageTagController",["$scope","$http","$attrs",function(e,t,r){function i(){e.tags.push({name:"",value:""})}function o(){t.get("/ajax/tags/get/page/"+s).then(function(t){e.tags=t.data,i()})}function a(){for(var t=0;t tr",containment:"parent",axis:"y"},e.addEmptyTag=i,o(),e.tagChange=function(t){var n=e.tags.indexOf(t);n===e.tags.length-1&&(""===t.name&&""===t.value||i())},e.tagBlur=function(t){var n=e.tags.length-1===e.tags.indexOf(t);if(""===t.name&&""===t.value&&!n){var r=e.tags.indexOf(t);e.tags.splice(r,1)}},e.saveTags=function(){a();var r={tags:e.tags};t.post("/ajax/tags/update/page/"+s,r).then(function(t){e.tags=t.data.tags,i(),n.emit("success",t.data.message)})},e.removeTag=function(t){var n=e.tags.indexOf(t);e.tags.splice(n,1)}}])}},{"./pages/page-form":20,moment:12}],18:[function(e,t,n){"use strict";var r=e("dropzone"),i=e("marked"),o=e("./components/toggle-switch.html"),a=e("./components/image-picker.html"),s=e("./components/drop-zone.html");t.exports=function(e,t){e.directive("toggleSwitch",function(){return{restrict:"A",template:o,scope:!0,link:function(e,t,n){e.name=n.name,e.value=n.value,e.isActive=1==e.value&&"false"!=e.value,e.value=1==e.value&&"false"!=e.value?"true":"false",e["switch"]=function(){e.isActive=!e.isActive,e.value=e.isActive?"true":"false"}}}}),e.directive("imagePicker",["$http","imageManagerService",function(e,t){return{restrict:"E",template:a,scope:{name:"@",resizeHeight:"@",resizeWidth:"@",resizeCrop:"@",showRemove:"=",currentImage:"@",currentId:"@",defaultImage:"@",imageClass:"@"},link:function(n,r,i){function o(e,t){n.image=t,n.value=a?e.id:t}var a="undefined"!=typeof n.currentId||"false"===n.currentId;n.image=n.currentImage,n.value=n.currentImage||"",a&&(n.value=n.currentId),n.reset=function(){o({id:0},n.defaultImage)},n.remove=function(){n.image="none",n.value="none"},n.showImageManager=function(){t.show(function(e){n.updateImageFromModel(e)})},n.updateImageFromModel=function(t){var r=n.resizeWidth&&n.resizeHeight;if(!r)return void n.$apply(function(){o(t,t.url)});var i=n.resizeCrop?"true":"false",a="/images/thumb/"+t.id+"/"+n.resizeWidth+"/"+n.resizeHeight+"/"+i;e.get(a).then(function(e){o(t,e.data.url)})}}}}]),e.directive("dropZone",[function(){return{restrict:"E",template:s,scope:{uploadUrl:"@",eventSuccess:"=",eventError:"=",uploadedTo:"@"},link:function(e,t,n){new r(t[0].querySelector(".dropzone-container"),{url:e.uploadUrl,init:function(){var t=this;t.on("sending",function(t,n,r){var i=window.document.querySelector("meta[name=token]").getAttribute("content");r.append("_token",i);var o="undefined"==typeof e.uploadedTo?0:e.uploadedTo;r.append("uploaded_to",o)}),"undefined"!=typeof e.eventSuccess&&t.on("success",e.eventSuccess),t.on("success",function(e,n){$(e.previewElement).fadeOut(400,function(){t.removeFile(e)})}),"undefined"!=typeof e.eventError&&t.on("error",e.eventError),t.on("error",function(e,t,n){function r(t){$(e.previewElement).find("[data-dz-errormessage]").text(t)}console.log(t),console.log(n),413===n.status&&r("The server does not allow uploads of this size. Please try a smaller file."),t.file&&r(t.file[0])})}})}}}]),e.directive("dropdown",[function(){return{restrict:"A",link:function(e,t,n){var r=t.find("ul");t.find("[dropdown-toggle]").on("click",function(){r.show().addClass("anim menuIn"),t.mouseleave(function(){r.hide(),r.removeClass("anim menuIn")})})}}}]),e.directive("tinymce",["$timeout",function(e){return{restrict:"A",scope:{tinymce:"=",mceModel:"=",mceChange:"="},link:function(t,n,r){function i(n){n.on("ExecCommand change NodeChange ObjectResized",function(r){var i=n.getContent();e(function(){t.mceModel=i}),t.mceChange(i)}),n.on("init",function(e){t.mceModel=n.getContent()}),t.$on("html-update",function(e,r){n.setContent(r),n.selection.select(n.getBody(),!0),n.selection.collapse(!1),t.mceModel=n.getContent()})}t.tinymce.extraSetups.push(i),tinymce.PluginManager.add("customhr",function(e){e.addCommand("InsertHorizontalRule",function(){var t=document.createElement("hr"),n=e.selection.getNode(),r=n.parentNode;r.insertBefore(t,n)}),e.addButton("hr",{icon:"hr",tooltip:"Horizontal line",cmd:"InsertHorizontalRule"}),e.addMenuItem("hr",{icon:"hr",text:"Horizontal line",cmd:"InsertHorizontalRule",context:"insert"})}),tinymce.init(t.tinymce)}}}]),e.directive("markdownInput",["$timeout",function(e){return{restrict:"A",scope:{mdModel:"=",mdChange:"="},link:function(t,n,r){var o=n.val();t.mdModel=o,t.mdChange(i(o)),n.on("change input",function(r){o=n.val(),e(function(){t.mdModel=o,t.mdChange(i(o))})}),t.$on("markdown-update",function(e,r){n.val(r),t.mdModel=r,t.mdChange(i(r))})}}}]),e.directive("markdownEditor",["$timeout",function(e){return{restrict:"A",link:function(e,t,n){var r=t.find("textarea[markdown-input]"),i=t.find('button[data-action="insertImage"]'),o=0;r.blur(function(e){o=r[0].selectionStart}),r.keydown(function(e){if(73===e.which&&e.ctrlKey&&e.shiftKey){e.preventDefault();var t=r[0].selectionStart,n=r.val(),i="![](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()})})}}}]),e.directive("toolbox",[function(){return{restrict:"A",link:function(e,t,n){function r(e,n){i.removeClass("active"),o.hide(),i.filter('[tab-button="'+e+'"]').addClass("active"),o.filter('[tab-content="'+e+'"]').show(),n&&t.addClass("open")}var i=t.find("[tab-button]"),o=t.find("[tab-content]"),a=t.find("[toolbox-toggle]");a.click(function(e){t.toggleClass("open")}),r(o.first().attr("tab-content"),!1),i.click(function(e){var t=$(this).attr("tab-button");r(t,!0)})}}}]),e.directive("autosuggestions",["$http",function(e){return{restrict:"A",link:function(t,n,r){function i(e,t){t[h].className="",h=e,t[h].className="active"}function o(e,t){if(0===t.length)return c.hide(),f=!1,void(p=t);if(f||(c.show(),f=!0),e!==d&&(c.detach(),e.after(c),d=e),p.join()===t.join())return void(p=t);c[0].innerHTML="";for(var n=0;n2&&(e=e.filter(function(e){return-1!==e.toLowerCase().indexOf(n.toLowerCase())}).slice(0,4),o(t,e))})}),n.on("blur","[autosuggest]",function(e){setTimeout(function(){c.hide(),f=!1},200)}),n.on("keydown","[autosuggest]",function(e){if(f){var t=l.childNodes,n=t.length;if(40===e.keyCode){var r=h===n-1?0:h+1;i(r,t)}else if(38===e.keyCode){var r=0===h?n-1:h-1;i(r,t)}else if(13===e.keyCode){var o=t[h].textContent;return d[0].value=o,d.focus(),c.hide(),f=!1,e.preventDefault(),!1}}});var p=[]}}}])}},{"./components/drop-zone.html":14,"./components/image-picker.html":15,"./components/toggle-switch.html":16,dropzone:10,marked:11}],19:[function(e,t,n){"use strict";var r=e("angular");e("angular-resource"),e("angular-animate"),e("angular-sanitize");e("angular-ui-sortable");var i=r.module("bookStack",["ngResource","ngAnimate","ngSanitize","ui.sortable"]),o={listeners:{},emit:function(e,t){if("undefined"==typeof this.listeners[e])return this;for(var n=this.listeners[e],r=0;r=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)}}})}}},{}],21:[function(e,t,n){"use strict";var r=e("zeroclipboard");r.config({swfPath:"/ZeroClipboard.swf"}),window.setupPageShow=t.exports=function(e){function t(e){var t=$(".page-content #"+e).first();0!==t.length?(t.smoothScrollTo(),t.css("background-color","rgba(244, 249, 54, 0.25)")):$(".page-content").find(':contains("'+e+'")').smoothScrollTo()}function n(){f.width(m+48+15),f.addClass("fixed"),p=!0}function i(){f.css("width","auto"),f.removeClass("fixed"),p=!1}function o(e){var t=c.scrollTop()>h;!t||p&&!e?t||!p&&!e||i():n()}var a=$("#pointer").detach(),s=a.children("div.pointer").first(),u=!1;if(a.on("click","input",function(e){$(this).select(),e.stopPropagation()}),new r(a.find("button").first()[0]),$(document.body).find("*").on("click focus",function(e){u||a.detach()}),$('.page-content [id^="bkmrk"]').on("mouseup keyup",function(t){t.stopPropagation();var n=window.getSelection();if(0!==n.toString().length){var r=$(this),i=window.location.protocol+"//"+window.location.host+"/link/"+e+"#"+r.attr("id");a.find("input").val(i),a.find("button").first().attr("data-clipboard-text",i),r.before(a),a.show();var o=t.pageX-r.offset().left-s.width()/2;0>o&&(o=0);var l=o/r.width()*100;s.css("left",l+"%"),u=!0,setTimeout(function(){u=!1},100)}}),window.location.hash){var l=window.location.hash.replace(/\%20/g," ").substr(1);t(l)}var c=$(window),f=$(".book-tree"),d=$(document).height()>c.height()&&f.height()<$(".page-content").height(),h=$("#header").height()+$(".toolbar").height(),p=c.scrollTop()>h,m=f.width();d&&c.width()>1e3&&(c.scroll(function(){o(!1)}),o(!0))}},{zeroclipboard:13}],22:[function(e,t,n){"use strict";t.exports=function(e,t){e.factory("imageManagerService",function(){return{show:!1,showExternal:!1}})}},{}]},{},[19]); \ No newline at end of file +!function e(t,n,r){function i(a,s){if(!n[a]){if(!t[a]){var u="function"==typeof require&&require;if(!s&&u)return u(a,!0);if(o)return o(a,!0);var l=new Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}var c=n[a]={exports:{}};t[a][0].call(c.exports,function(e){var n=t[a][1][e];return i(n?n:e)},c,c.exports,e,t,n,r)}return n[a].exports}for(var o="function"==typeof require&&require,a=0;a0&&(r+=i>0?" ":"",r+=n?t+e:e+t)}),r}function a(e,t){var n=e.indexOf(t);t>=0&&e.splice(n,1)}function s(e){if(e instanceof U)switch(e.length){case 0:return[];case 1:if(e[0].nodeType===Z)return e;break;default:return U(u(e))}return e.nodeType===Z?U(e):void 0}function u(e){if(!e[0])return e;for(var t=0;t=0)&&(n=D(n)),0===n&&(n=null),r[t]=n}}),r}function D(e){var t=0,n=e.split(/\s*,\s*/);return V(n,function(e){"s"==e.charAt(e.length-1)&&(e=e.substring(0,e.length-1)),e=parseFloat(e)||0,t=t?Math.max(e,t):e}),t}function T(e){return 0===e||null!=e}function M(e,t){var n=F,r=e+"s";return t?n+=ie:r+=" linear all",[n,r]}function A(){var e=Object.create(null);return{flush:function(){e=Object.create(null)},count:function(t){var n=e[t];return n?n.total:0},get:function(t){var n=e[t];return n&&n.value},put:function(t,n){e[t]?e[t].total++:e[t]={total:1,value:n}}}}function O(e,t,n){V(n,function(n){e[n]=W(e[n])?e[n]:t.style.getPropertyValue(n)})}var F,N,I,P,j=t.noop,L=t.copy,R=t.extend,U=t.element,V=t.forEach,z=t.isArray,H=t.isString,q=t.isObject,Y=t.isUndefined,W=t.isDefined,B=t.isFunction,G=t.isElement,Z=1,Q="-add",J="-remove",X="ng-",K="-active",ee="-prepare",te="ng-animate",ne="$$ngAnimateChildren",re="";Y(e.ontransitionend)&&W(e.onwebkittransitionend)?(re="-webkit-",F="WebkitTransition",N="webkitTransitionEnd transitionend"):(F="transition",N="transitionend"),Y(e.onanimationend)&&W(e.onwebkitanimationend)?(re="-webkit-",I="WebkitAnimation",P="webkitAnimationEnd animationend"):(I="animation",P="animationend");var ie="Duration",oe="Property",ae="Delay",se="TimingFunction",ue="IterationCount",le="PlayState",ce=9999,fe=I+ae,de=I+ie,he=F+ae,pe=F+ie,me=t.$$minErr("ng"),ge=["$$rAF",function(e){function t(e){r=r.concat(e),n()}function n(){if(r.length){for(var t=r.shift(),o=0;o0&&(l=n.get(s),!l)){var c=o(a,"-stagger");r.addClass(i,c),l=E(e,i,u),l.animationDuration=Math.max(l.animationDuration,0),l.transitionDuration=Math.max(l.transitionDuration,0),r.removeClass(i,c),n.put(s,l)}return l||{}}function D(e){H.push(e),g.waitUntilQuiet(function(){t.flush(),n.flush();for(var e=l(),r=0;r=re&&r>=ie&&(Z=!0,g())}function H(){function t(){if(!B){if(b(!1),V(le,function(e){var t=e[0],n=e[1];W.style[t]=n}),R(e,q),r.addClass(e,Se),Re.recalculateTimingStyles){if(Ce=W.className+" "+xe,De=y(W,Ce),je=A(W,Ce,De),Le=je.maxDelay,ne=Math.max(Le,0),ie=je.maxDuration,0===ie)return void g();Re.hasTransitions=je.transitionDuration>0,Re.hasAnimations=je.animationDuration>0}if(Re.applyAnimationDelay&&(Le="boolean"!=typeof q.delay&&T(q.delay)?parseFloat(q.delay):Le,ne=Math.max(Le,0),je.animationDelay=Le,Ue=_(Le,!0),le.push(Ue),W.style[Ue[0]]=Ue[1]),re=ne*ye,ae=ie*ye,q.easing){var t,i=q.easing;Re.hasTransitions&&(t=F+se,le.push([t,i]),W.style[t]=i),Re.hasAnimations&&(t=I+se,le.push([t,i]),W.style[t]=i)}je.transitionDuration&&he.push(N),je.animationDuration&&he.push(P),ue=Date.now();var o=re+we*ae,a=ue+o,s=e.data($e)||[],l=!0;if(s.length){var c=s[0];l=a>c.expectedEndTime,l?u.cancel(c.timer):s.push(g)}if(l){var f=u(n,o,!1);s[0]={timer:f,expectedEndTime:a},s.push(g),e.data($e,s)}he.length&&e.on(he.join(" "),U),q.to&&(q.cleanupStyles&&O(Y,W,Object.keys(q.to)),m(e,q))}}function n(){var t=e.data($e);if(t){for(var n=1;n0&&(je.transitionDuration&&0===Te.transitionDuration||je.animationDuration&&0===Te.animationDuration)&&Math.max(Te.animationDelay,Te.transitionDelay);o?u(t,Math.floor(o*Ie*ye),!1):t(),te.resume=function(){i(!0)},te.pause=function(){i(!1)}}}var q=n||{};q.$$prepared||(q=d(L(q)));var Y={},W=$(e);if(!W||!W.parentNode||!v.enabled())return E();var B,G,Z,ee,te,ne,re,ie,ae,ue,le=[],fe=e.attr("class"),de=i(q),he=[];if(0===q.duration||!c.animations&&!c.transitions)return E();var pe=q.event&&z(q.event)?q.event.join(" "):q.event,me=pe&&q.structural,ge="",ve="";me?ge=o(pe,X,!0):pe&&(ge=pe),q.addClass&&(ve+=o(q.addClass,Q)),q.removeClass&&(ve.length&&(ve+=" "),ve+=o(q.removeClass,J)),q.applyClassesEarly&&ve.length&&R(e,q);var xe=[ge,ve].join(" ").trim(),Ce=fe+" "+xe,Se=o(xe,K),_e=de.to&&Object.keys(de.to).length>0,Ee=(q.keyframeStyle||"").length>0;if(!Ee&&!_e&&!xe)return E();var De,Te;if(q.stagger>0){var Me=parseFloat(q.stagger);Te={transitionDelay:Me,animationDelay:Me,transitionDuration:0,animationDuration:0}}else De=y(W,Ce),Te=C(W,xe,De,ke);q.$$skipPreparationClasses||r.addClass(e,xe);var Ae;if(q.transitionStyle){var Oe=[F,q.transitionStyle];k(W,Oe),le.push(Oe)}if(q.duration>=0){Ae=W.style[F].length>0;var Fe=M(q.duration,Ae);k(W,Fe),le.push(Fe)}if(q.keyframeStyle){var Ne=[I,q.keyframeStyle];k(W,Ne),le.push(Ne)}var Ie=Te?q.staggerIndex>=0?q.staggerIndex:t.count(De):0,Pe=0===Ie;Pe&&!q.skipBlocking&&w(W,ce);var je=A(W,Ce,De),Le=je.maxDelay;ne=Math.max(Le,0),ie=je.maxDuration;var Re={};if(Re.hasTransitions=je.transitionDuration>0,Re.hasAnimations=je.animationDuration>0,Re.hasTransitionAll=Re.hasTransitions&&"all"==je.transitionProperty,Re.applyTransitionDuration=_e&&(Re.hasTransitions&&!Re.hasTransitionAll||Re.hasAnimations&&!Re.hasTransitions),Re.applyAnimationDuration=q.duration&&Re.hasAnimations,Re.applyTransitionDelay=T(q.delay)&&(Re.applyTransitionDuration||Re.hasTransitions),Re.applyAnimationDelay=T(q.delay)&&Re.hasAnimations,Re.recalculateTimingStyles=ve.length>0,(Re.applyTransitionDuration||Re.applyAnimationDuration)&&(ie=q.duration?parseFloat(q.duration):ie,Re.applyTransitionDuration&&(Re.hasTransitions=!0,je.transitionDuration=ie,Ae=W.style[F+oe].length>0,le.push(M(ie,Ae))),Re.applyAnimationDuration&&(Re.hasAnimations=!0,je.animationDuration=ie,le.push(S(ie)))),0===ie&&!Re.recalculateTimingStyles)return E();if(null!=q.delay){var Ue;"boolean"!=typeof q.delay&&(Ue=parseFloat(q.delay),ne=Math.max(Ue,0)),Re.applyTransitionDelay&&le.push(_(Ue)),Re.applyAnimationDelay&&le.push(_(Ue,!0))}return null==q.duration&&je.transitionDuration>0&&(Re.recalculateTimingStyles=Re.recalculateTimingStyles||Pe),re=ne*ye,ae=ie*ye,q.skipBlocking||(Re.blockTransition=je.transitionDuration>0,Re.blockKeyframeAnimation=je.animationDuration>0&&Te.animationDelay>0&&0===Te.animationDuration),q.from&&(q.cleanupStyles&&O(Y,W,Object.keys(q.from)),p(e,q)),Re.blockTransition||Re.blockKeyframeAnimation?b(ie):q.skipBlocking||w(W,!1),{$$willAnimate:!0,end:l,start:function(){return B?void 0:(te={end:l,cancel:f,resume:null,pause:null},ee=new s(te),D(H),ee)}}}}]}],Se=["$$animationProvider",function(e){function t(e){return e.parentNode&&11===e.parentNode.nodeType}e.drivers.push("$$animateCssDriver");var n="ng-animate-shim",r="ng-anchor",i="ng-anchor-out",o="ng-anchor-in";this.$get=["$animateCss","$rootScope","$$AnimateRunner","$rootElement","$sniffer","$$jqLite","$document",function(e,a,s,u,l,c,d){function h(e){return e.replace(/\bng-\S+\b/g,"")}function p(e,t){return H(e)&&(e=e.split(" ")),H(t)&&(t=t.split(" ")),e.filter(function(e){return-1===t.indexOf(e)}).join(" ")}function m(t,a,u){function l(e){var t={},n=$(e).getBoundingClientRect();return V(["width","height","top","left"],function(e){var r=n[e];switch(e){case"top":r+=y.scrollTop;break;case"left":r+=y.scrollLeft}t[e]=Math.floor(r)+"px"}),t}function c(){var t=e(g,{addClass:i,delay:!0,from:l(a)});return t.$$willAnimate?t:null}function f(e){return e.attr("class")||""}function d(){var t=h(f(u)),n=p(t,v),r=p(v,t),a=e(g,{to:l(u),addClass:o+" "+n,removeClass:i+" "+r,delay:!0});return a.$$willAnimate?a:null}function m(){g.remove(),a.removeClass(n),u.removeClass(n)}var g=U($(a).cloneNode(!0)),v=h(f(g));a.addClass(n),u.addClass(n),g.addClass(r),w.append(g);var b,x=c();if(!x&&(b=d(),!b))return m();var k=x||b;return{start:function(){function e(){n&&n.end()}var t,n=k.start();return n.done(function(){return n=null,!b&&(b=d())?(n=b.start(),n.done(function(){n=null,m(),t.complete()}),n):(m(),void t.complete())}),t=new s({end:e,cancel:e})}}}function g(e,t,n,r){var i=v(e,j),o=v(t,j),a=[];return V(r,function(e){var t=e.out,r=e["in"],i=m(n,t,r);i&&a.push(i)}),i||o||0!==a.length?{start:function(){function e(){V(t,function(e){e.end()})}var t=[];i&&t.push(i.start()),o&&t.push(o.start()),V(a,function(e){t.push(e.start())});var n=new s({end:e,cancel:e});return s.all(t,function(e){n.complete(e)}),n}}:void 0}function v(t){var n=t.element,r=t.options||{};t.structural&&(r.event=t.event,r.structural=!0,r.applyClassesEarly=!0,"leave"===t.event&&(r.onDone=r.domOperation)),r.preparationClasses&&(r.event=C(r.event,r.preparationClasses));var i=e(n,r);return i.$$willAnimate?i:null}if(!l.animations&&!l.transitions)return j;var y=d[0].body,b=$(u),w=U(t(b)||y.contains(b)?b:y);f(c);return function(e){return e.from&&e.to?g(e.from,e.to,e.classes,e.anchors):v(e)}}]}],_e=["$animateProvider",function(e){this.$get=["$injector","$$AnimateRunner","$$jqLite",function(t,n,r){function i(n){n=z(n)?n:n.split(" ");for(var r=[],i={},o=0;o0,r=(e.removeClass||"").length>0;return t?n&&r:n||r}var c=1,p=2,m=" ",v=this.rules={skip:[],cancel:[],join:[]};v.join.push(function(e,t,n){return!t.structural&&l(t)}),v.skip.push(function(e,t,n){return!t.structural&&!l(t)}),v.skip.push(function(e,t,n){return"leave"==n.event&&t.structural}),v.skip.push(function(e,t,n){return n.structural&&n.state===p&&!t.structural}),v.cancel.push(function(e,t,n){return n.structural&&t.structural}),v.cancel.push(function(e,t,n){return n.state===p&&t.structural}),v.cancel.push(function(e,t,n){if(n.structural)return!1;var r=t.addClass,i=t.removeClass,a=n.addClass,s=n.removeClass;return Y(r)&&Y(i)||Y(a)&&Y(s)?!1:o(r,s)||o(i,a)}),this.$get=["$$rAF","$rootScope","$rootElement","$document","$$HashMap","$$animation","$$AnimateRunner","$templateRequest","$$jqLite","$$forceReflow",function(i,o,m,v,w,x,k,C,S,_){function E(){var e=!1;return function(t){e?t():o.$$postDigest(function(){e=!0,t()})}}function D(e,t){return g(e,t,{})}function T(e,t,n){var r=$(t),i=$(e),o=[],a=K[n];return a&&V(a,function(e){ie.call(e.node,r)?o.push(e.callback):"leave"===n&&ie.call(e.node,i)&&o.push(e.callback)}),o}function M(e,t,n){var r=u(t);return e.filter(function(e){var t=e.node===r&&(!n||e.callback===n);return!t})}function A(e,t){"close"!==e||t[0].parentNode||oe.off(t)}function O(e,t,n){function r(t,n,r,o){S(function(){var t=T(m,e,n);t.length?i(function(){V(t,function(t){t(e,r,o)}),A(r,e)}):A(r,e)}),t.progress(n,r,o)}function u(t){b(e,w),re(e,w),h(e,w),w.domOperation(),C.complete(!t)}var f,m,w=L(n);e=s(e),e&&(f=$(e),m=e.parent()),w=d(w);var C=new k,S=E();if(z(w.addClass)&&(w.addClass=w.addClass.join(" ")),w.addClass&&!H(w.addClass)&&(w.addClass=null),z(w.removeClass)&&(w.removeClass=w.removeClass.join(" ")),w.removeClass&&!H(w.removeClass)&&(w.removeClass=null),w.from&&!q(w.from)&&(w.from=null),w.to&&!q(w.to)&&(w.to=null),!f)return u(),C;var _=[f.className,w.addClass,w.removeClass].join(" ");if(!te(_))return u(),C;var M=["enter","move","leave"].indexOf(t)>=0,O=v[0].hidden,I=!J||O||Q.get(f),R=!I&&B.get(f)||{},U=!!R.state;if(I||U&&R.state==c||(I=!P(e,m,t)),I)return O&&r(C,t,"start"),u(),O&&r(C,t,"close"),C;M&&F(e);var Y={structural:M,element:e,event:t,addClass:w.addClass,removeClass:w.removeClass,close:u,options:w,runner:C};if(U){var W=a("skip",e,Y,R);if(W)return R.state===p?(u(),C):(g(e,R,Y),R.runner);var G=a("cancel",e,Y,R);if(G)if(R.state===p)R.runner.end();else{if(!R.structural)return g(e,R,Y),R.runner;R.close()}else{var Z=a("join",e,Y,R);if(Z){if(R.state!==p)return y(e,M?t:null,w),t=Y.event=R.event,w=g(e,R,Y),R.runner;D(e,Y)}}}else D(e,Y);var X=Y.structural;if(X||(X="animate"===Y.event&&Object.keys(Y.options.to||{}).length>0||l(Y)),!X)return u(),N(e),C;var K=(R.counter||0)+1;return Y.counter=K,j(e,c,Y),o.$$postDigest(function(){var n=B.get(f),i=!n;n=n||{};var o=e.parent()||[],a=o.length>0&&("animate"===n.event||n.structural||l(n));if(i||n.counter!==K||!a)return i&&(re(e,w),h(e,w)),(i||M&&n.event!==t)&&(w.domOperation(),C.end()),void(a||N(e));t=!n.structural&&l(n,!0)?"setClass":n.event,j(e,p);var s=x(e,t,n.options);C.setHost(s),r(C,t,"start",{}),s.done(function(n){u(!n);var i=B.get(f);i&&i.counter===K&&N($(e)),r(C,t,"close",{})})}),C}function F(e){var t=$(e),n=t.querySelectorAll("["+De+"]");V(n,function(e){var t=parseInt(e.getAttribute(De)),n=B.get(e);if(n)switch(t){case p:n.runner.end();case c:B.remove(e)}})}function N(e){var t=$(e);t.removeAttribute(De),B.remove(t)}function I(e,t){return $(e)===$(t)}function P(e,t,n){var r,i=U(v[0].body),o=I(e,i)||"HTML"===e[0].nodeName,a=I(e,m),s=!1,u=Q.get($(e)),l=U.data(e[0],Te);for(l&&(t=l),t=$(t);t&&(a||(a=I(t,m)),t.nodeType===Z);){var c=B.get(t)||{};if(!s){var f=Q.get(t);if(f===!0&&u!==!1){u=!0;break}f===!1&&(u=!1),s=c.structural}if(Y(r)||r===!0){var d=U.data(t,ne);W(d)&&(r=d)}if(s&&r===!1)break;if(o||(o=I(t,i)),o&&a)break;t=a||!(l=U.data(t,Te))?t.parentNode:$(l)}var h=(!s||r)&&u!==!0;return h&&a&&o}function j(e,t,n){n=n||{},n.state=t;var r=$(e);r.setAttribute(De,t);var i=B.get(r),o=i?R(i,n):n;B.put(r,o)}var B=new w,Q=new w,J=null,X=o.$watch(function(){return 0===C.totalPendingRequests},function(e){e&&(X(),o.$$postDigest(function(){o.$$postDigest(function(){null===J&&(J=!0)})}))}),K={},ee=r.classNameFilter(),te=ee?function(e){return ee.test(e)}:function(){return!0},re=f(S),ie=e.Node.prototype.contains||function(e){return this===e||!!(16&this.compareDocumentPosition(e))},oe={on:function(e,t,n){var r=u(t);K[e]=K[e]||[],K[e].push({node:r,callback:n}),U(t).on("$destroy",function(){var i=B.get(r);i||oe.off(e,t,n)})},off:function(e,n,r){if(1!==arguments.length||t.isString(arguments[0])){var i=K[e];i&&(K[e]=1===arguments.length?null:M(i,n,r))}else{n=arguments[0];for(var o in K)K[o]=M(K[o],n)}},pin:function(e,t){n(G(e),"element","not an element"),n(G(t),"parentElement","not an element"),e.data(Te,t)},push:function(e,t,n,r){return n=n||{},n.domOperation=r,O(e,t,n)},enabled:function(e,t){var n=arguments.length;if(0===n)t=!!J;else{var r=G(e);if(r){var i=$(e),o=Q.get(i);1===n?t=!o:Q.put(i,!t)}else t=J=!!e}return t}};return oe}]}],Ae=["$animateProvider",function(e){function t(e,t){e.data(s,t)}function n(e){e.removeData(s)}function i(e){return e.data(s)}var o="ng-animate-ref",a=this.drivers=[],s="$$animationRunner";this.$get=["$$jqLite","$rootScope","$injector","$$AnimateRunner","$$HashMap","$$rAFScheduler",function(e,s,u,l,c,p){function m(e){function t(e){if(e.processed)return e;e.processed=!0;var n=e.domNode,r=n.parentNode;o.put(n,e);for(var a;r;){if(a=o.get(r)){a.processed||(a=t(a));break}r=r.parentNode}return(a||i).children.push(e),e}function n(e){var t,n=[],r=[];for(t=0;t=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";V(l,function(e){var t=e.getAttribute(o);n[t]=n[t]||{},n[t][c]={animationID:r,element:U(e)}})}else t.push(e)});var r={},i={};return V(n,function(n,o){var a=n.from,s=n.to;if(!a||!s){var u=a?a.animationID:s.animationID,l=u.toString();return void(r[l]||(r[l]=!0,t.push(e[u])))}var c=e[a.animationID],f=e[s.animationID],d=a.animationID.toString();if(!i[d]){var h=i[d]={structural:!0,beforeStart:function(){c.beforeStart(),f.beforeStart()},close:function(){c.close(),f.close()},classes:x(c.classes,f.classes),from:c,to:f,anchors:[]};h.classes.length?t.push(h):(t.push(c),t.push(f))}i[d].anchors.push({out:a.element,"in":s.element})}),t}function x(e,t){e=e.split(" "),t=t.split(" ");for(var n=[],r=0;r=0;t--){var n=a[t];if(u.has(n)){var r=u.get(n),i=r(e);if(i)return i}}}function C(){c.addClass(te),A&&e.addClass(c,A),O&&(e.removeClass(c,O),O=null)}function S(e,t){function n(e){i(e).setHost(t)}e.from&&e.to?(n(e.from.element),n(e.to.element)):n(e.element)}function _(){var e=i(c);!e||"leave"===f&&y.$$domOperationFired||e.end()}function E(t){c.off("$destroy",_),n(c),v(c,y),h(c,y),y.domOperation(),A&&e.removeClass(c,A),c.removeClass(te),T.complete(!t)}y=d(y);var D=["enter","move","leave"].indexOf(f)>=0,T=new l({end:function(){E()},cancel:function(){E(!0)}});if(!a.length)return E(),T;t(c,T);var M=r(c.attr("class"),r(y.addClass,y.removeClass)),A=y.tempClasses;A&&(M+=" "+A,y.tempClasses=null);var O;return D&&(O="ng-"+f+ee,e.addClass(c,O)),g.push({element:c,classes:M,event:f,structural:D,options:y,beforeStart:C,close:E}),c.on("$destroy",_),g.length>1?T:(s.$$postDigest(function(){var e=[];V(g,function(t){i(t.element)?e.push(t):t.close()}),g.length=0;var t=w(e),n=[];V(t,function(e){n.push({domNode:$(e.from?e.from.element:e.element),fn:function(){e.beforeStart();var t,n=e.close,r=e.anchors?e.from.element||e.to.element:e.element;if(i(r)){var o=k(e);o&&(t=o.start)}if(t){var a=t();a.done(function(e){n(!e)}),S(e,a)}else n()}})}),p(m(n))}),T)}}]}],Oe=["$animate","$rootScope",function(e,t){return{restrict:"A",transclude:"element",terminal:!0,priority:600,link:function(t,n,r,i,o){var a,s;t.$watchCollection(r.ngAnimateSwap||r["for"],function(r){a&&e.leave(a),s&&(s.$destroy(),s=null),(r||0===r)&&(s=t.$new(),o(s,function(t){a=t,e.enter(t,null,n)}))})}}}];t.module("ngAnimate",[]).directive("ngAnimateSwap",Oe).directive("ngAnimateChildren",ve).factory("$$rAFScheduler",ge).provider("$$animateQueue",Me).provider("$$animation",Ae).provider("$animateCss",Ce).provider("$$animateCssDriver",Se).provider("$$animateJs",_e).provider("$$animateJsDriver",Ee)}(window,window.angular)},{}],2:[function(e,t,n){e("./angular-animate"),t.exports="ngAnimate"},{"./angular-animate":1}],3:[function(e,t,n){!function(e,t){"use strict";function n(e){return null!=e&&""!==e&&"hasOwnProperty"!==e&&a.test("."+e)}function r(e,r){if(!n(r))throw o("badmember",'Dotted member path "@{0}" is invalid.',r);for(var i=r.split("."),a=0,s=i.length;s>a&&t.isDefined(e);a++){var u=i[a];e=null!==e?e[u]:void 0}return e}function i(e,n){n=n||{},t.forEach(n,function(e,t){delete n[t]});for(var r in e)!e.hasOwnProperty(r)||"$"===r.charAt(0)&&"$"===r.charAt(1)||(n[r]=e[r]);return n}var o=t.$$minErr("$resource"),a=/^(\.[a-zA-Z_$@][0-9a-zA-Z_$@]*)+$/;t.module("ngResource",["ng"]).provider("$resource",function(){var e=/^https?:\/\/[^\/]*/,n=this;this.defaults={stripTrailingSlashes:!0,actions:{get:{method:"GET"},save:{method:"POST"},query:{method:"GET",isArray:!0},remove:{method:"DELETE"},"delete":{method:"DELETE"}}},this.$get=["$http","$log","$q","$timeout",function(a,s,u,l){function c(e){return f(e,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function f(e,t){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,t?"%20":"+")}function d(e,t){this.template=e,this.defaults=g({},n.defaults,t),this.urlParams={}}function h(e,c,f,y){function b(e,t){var n={};return t=g({},c,t),m(t,function(t,i){$(t)&&(t=t()),n[i]=t&&t.charAt&&"@"==t.charAt(0)?r(e,t.substr(1)):t}),n}function w(e){return e.resource}function x(e){i(e||{},this)}var k=new d(e,y);return f=g({},n.defaults.actions,f),x.prototype.toJSON=function(){var e=g({},this);return delete e.$promise,delete e.$resolved,e},m(f,function(e,r){var c=/^(POST|PUT|PATCH)$/i.test(e.method),f=e.timeout,d=t.isDefined(e.cancellable)?e.cancellable:y&&t.isDefined(y.cancellable)?y.cancellable:n.defaults.cancellable;f&&!t.isNumber(f)&&(s.debug("ngResource:\n Only numeric values are allowed as `timeout`.\n Promises are not supported in $resource, because the same value would be used for multiple requests. If you are looking for a way to cancel requests, you should use the `cancellable` option."),delete e.timeout,f=null),x[r]=function(n,s,h,y){var C,S,_,E={};switch(arguments.length){case 4:_=y,S=h;case 3:case 2:if(!$(s)){E=n,C=s,S=h;break}if($(n)){S=n,_=s;break}S=s,_=h;case 1:$(n)?S=n:c?C=n:E=n;break;case 0:break;default:throw o("badargs","Expected up to 4 arguments [params, data, success, error], got {0} arguments",arguments.length)}var D,T,M=this instanceof x,A=M?C:e.isArray?[]:new x(C),O={},F=e.interceptor&&e.interceptor.response||w,N=e.interceptor&&e.interceptor.responseError||void 0;m(e,function(e,t){switch(t){default:O[t]=v(e);break;case"params":case"isArray":case"interceptor":case"cancellable":}}),!M&&d&&(D=u.defer(),O.timeout=D.promise,f&&(T=l(D.resolve,f))),c&&(O.data=C),k.setUrlParams(O,g({},b(C,e.params||{}),E),e.url);var I=a(O).then(function(n){var a=n.data;if(a){if(t.isArray(a)!==!!e.isArray)throw o("badcfg","Error in resource configuration for action `{0}`. Expected response to contain an {1} but got an {2} (Request: {3} {4})",r,e.isArray?"array":"object",t.isArray(a)?"array":"object",O.method,O.url);if(e.isArray)A.length=0,m(a,function(e){"object"==typeof e?A.push(new x(e)):A.push(e)});else{var s=A.$promise;i(a,A),A.$promise=s}}return n.resource=A,n},function(e){return(_||p)(e),u.reject(e)});return I["finally"](function(){A.$resolved=!0,!M&&d&&(A.$cancelRequest=t.noop,l.cancel(T),D=T=O.timeout=null)}),I=I.then(function(e){var t=F(e);return(S||p)(t,e.headers),t},N),M?I:(A.$promise=I,A.$resolved=!1,d&&(A.$cancelRequest=D.resolve),A)},x.prototype["$"+r]=function(e,t,n){$(e)&&(n=t,t=e,e={});var i=x[r].call(this,e,this,t,n);return i.$promise||i}}),x.bind=function(t){return h(e,g({},c,t),f)},x}var p=t.noop,m=t.forEach,g=t.extend,v=t.copy,$=t.isFunction;return d.prototype={setUrlParams:function(n,r,i){var a,s,u=this,l=i||u.template,d="",h=u.urlParams={};m(l.split(/\W/),function(e){if("hasOwnProperty"===e)throw o("badname","hasOwnProperty is not a valid parameter name.");!new RegExp("^\\d+$").test(e)&&e&&new RegExp("(^|[^\\\\]):"+e+"(\\W|$)").test(l)&&(h[e]={isQueryParamValue:new RegExp("\\?.*=:"+e+"(?:\\W|$)").test(l)})}),l=l.replace(/\\:/g,":"),l=l.replace(e,function(e){return d=e,""}),r=r||{},m(u.urlParams,function(e,n){a=r.hasOwnProperty(n)?r[n]:u.defaults[n],t.isDefined(a)&&null!==a?(s=e.isQueryParamValue?f(a,!0):c(a),l=l.replace(new RegExp(":"+n+"(\\W|$)","g"),function(e,t){return s+t})):l=l.replace(new RegExp("(/?):"+n+"(\\W|$)","g"),function(e,t,n){return"/"==n.charAt(0)?n:t+n})}),u.defaults.stripTrailingSlashes&&(l=l.replace(/\/+$/,"")||"/"),l=l.replace(/\/\.(?=\w+($|\?))/,"."),n.url=d+l.replace(/\/\\\./,"/."),m(r,function(e,t){u.urlParams[t]||(n.params=n.params||{},n.params[t]=e)})}},h}]})}(window,window.angular)},{}],4:[function(e,t,n){e("./angular-resource"),t.exports="ngResource"},{"./angular-resource":3}],5:[function(e,t,n){!function(e,t){"use strict";function n(){var e=!1;this.$get=["$$sanitizeUri",function(n){return e&&t.extend(x,b),function(e){var t=[];return o(e,u(t,function(e,t){return!/^unsafe:/.test(n(e,t))})),t.join("")}}],this.enableSvg=function(n){return t.isDefined(n)?(e=n,this):e}}function r(e){var n=[],r=u(n,t.noop);return r.chars(e),n.join("")}function i(e,n){var r,i={},o=e.split(",");for(r=0;rn;n++){var i=e[n];t[i.name]=i.value}return t}function s(e){return e.replace(/&/g,"&").replace(d,function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1);return"&#"+(1024*(t-55296)+(n-56320)+65536)+";"}).replace(h,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}function u(e,n){var r=!1,i=t.bind(e,e.push);return{start:function(e,o){e=t.lowercase(e),!r&&w[e]&&(r=e),r||x[e]!==!0||(i("<"),i(e),t.forEach(o,function(r,o){var a=t.lowercase(o),u="img"===e&&"src"===a||"background"===a;_[a]!==!0||k[a]===!0&&!n(r,u)||(i(" "),i(o),i('="'),i(s(r)),i('"'))}),i(">"))},end:function(e){e=t.lowercase(e),r||x[e]!==!0||p[e]===!0||(i("")),e==r&&(r=!1)},chars:function(e){r||i(s(e))}}}function l(t){if(t.nodeType===e.Node.ELEMENT_NODE)for(var n=t.attributes,r=0,i=n.length;i>r;r++){var o=n[r],a=o.name.toLowerCase();"xmlns:ns1"!==a&&0!==a.indexOf("ns1:")||(t.removeAttributeNode(o),r--,i--)}var s=t.firstChild;s&&l(s),s=t.nextSibling,s&&l(s)}var c,f=t.$$minErr("$sanitize"),d=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,h=/([^\#-~ |!])/g,p=i("area,br,col,hr,img,wbr"),m=i("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),g=i("rp,rt"),v=t.extend({},g,m),$=t.extend({},m,i("address,article,aside,blockquote,caption,center,del,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,map,menu,nav,ol,pre,section,table,ul")),y=t.extend({},g,i("a,abbr,acronym,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,q,ruby,rp,rt,s,samp,small,span,strike,strong,sub,sup,time,tt,u,var")),b=i("circle,defs,desc,ellipse,font-face,font-face-name,font-face-src,g,glyph,hkern,image,linearGradient,line,marker,metadata,missing-glyph,mpath,path,polygon,polyline,radialGradient,rect,stop,svg,switch,text,title,tspan"),w=i("script,style"),x=t.extend({},p,$,y,v),k=i("background,cite,href,longdesc,src,xlink:href"),C=i("abbr,align,alt,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,coords,dir,face,headers,height,hreflang,hspace,ismap,lang,language,nohref,nowrap,rel,rev,rows,rowspan,rules,scope,scrolling,shape,size,span,start,summary,tabindex,target,title,type,valign,value,vspace,width"),S=i("accent-height,accumulate,additive,alphabetic,arabic-form,ascent,baseProfile,bbox,begin,by,calcMode,cap-height,class,color,color-rendering,content,cx,cy,d,dx,dy,descent,display,dur,end,fill,fill-rule,font-family,font-size,font-stretch,font-style,font-variant,font-weight,from,fx,fy,g1,g2,glyph-name,gradientUnits,hanging,height,horiz-adv-x,horiz-origin-x,ideographic,k,keyPoints,keySplines,keyTimes,lang,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mathematical,max,min,offset,opacity,orient,origin,overline-position,overline-thickness,panose-1,path,pathLength,points,preserveAspectRatio,r,refX,refY,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,rotate,rx,ry,slope,stemh,stemv,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,systemLanguage,target,text-anchor,to,transform,type,u1,u2,underline-position,underline-thickness,unicode,unicode-range,units-per-em,values,version,viewBox,visibility,width,widths,x,x-height,x1,x2,xlink:actuate,xlink:arcrole,xlink:role,xlink:show,xlink:title,xlink:type,xml:base,xml:lang,xml:space,xmlns,xmlns:xlink,y,y1,y2,zoomAndPan",!0),_=t.extend({},k,S,C);!function(e){var t;if(!e.document||!e.document.implementation)throw f("noinert","Can't create an inert html document");t=e.document.implementation.createHTMLDocument("inert");var n=t.documentElement||t.getDocumentElement(),r=n.getElementsByTagName("body");if(1===r.length)c=r[0];else{var i=t.createElement("html");c=t.createElement("body"),i.appendChild(c),t.appendChild(i)}}(e),t.module("ngSanitize",[]).provider("$sanitize",n),t.module("ngSanitize").filter("linky",["$sanitize",function(e){var n=/((ftp|https?):\/\/|(www\.)|(mailto:)?[A-Za-z0-9._%+-]+@)\S*[^\s.;,(){}<>"\u201d\u2019]/i,i=/^mailto:/i,o=t.$$minErr("linky"),a=t.isString;return function(s,u,l){function c(e){e&&g.push(r(e))}function f(e,n){var r;if(g.push("'),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(i,"")),m=m.substring(p+d[0].length);return c(m),e(g.join(""))}}])}(window,window.angular)},{}],6:[function(e,t,n){e("./angular-sanitize"),t.exports="ngSanitize"},{"./angular-sanitize":5}],7:[function(e,t,n){angular.module("ui.sortable",[]).value("uiSortableConfig",{items:"> [ng-repeat],> [data-ng-repeat],> [x-ng-repeat]"}).directive("uiSortable",["uiSortableConfig","$timeout","$log",function(e,t,n){return{require:"?ngModel",scope:{ngModel:"=",uiSortable:"="},link:function(r,i,o,a){function s(e,t){var n=e&&"function"==typeof e,r=t&&"function"==typeof t;return n&&r?function(){e.apply(this,arguments),t.apply(this,arguments)}:r?t:e}function u(e){var t=e.data("ui-sortable");return t&&"object"==typeof t&&"ui-sortable"===t.widgetFullName?t:null}function l(t,n){return S[t]?("stop"===t&&(n=s(n,function(){r.$apply()}),n=s(n,v)),n=s(S[t],n)):_[t]&&(n=_[t](n)),n||("items"===t?n=e.items:"ui-model-items"===t&&(n=e.items)),n}function c(e,t,n){function r(e,t){t in k||(k[t]=null)}angular.forEach(S,r);var i=null;if(t){var o;angular.forEach(t,function(t,n){if(!(e&&n in e)){if(n in C)return void("ui-floating"===n?k[n]="auto":k[n]=l(n,void 0));o||(o=angular.element.ui.sortable().options);var r=o[n];r=l(n,r),i||(i={}),i[n]=r,k[n]=r}})}return angular.forEach(e,function(e,t){return t in C?("ui-floating"!==t||e!==!1&&e!==!0||!n||(n.floating=e),void(k[t]=l(t,e))):(e=l(t,e),i||(i={}),i[t]=e,void(k[t]=e))}),i}function f(e){var t=e.sortable("option","placeholder");if(t&&t.element&&"function"==typeof t.element){var n=t.element();return n=angular.element(n)}return null}function d(e,t){var n=k["ui-model-items"].replace(/[^,]*>/g,""),r=e.find('[class="'+t.attr("class")+'"]:not('+n+")");return r}function h(e,t){var n=e.sortable("option","helper");return"clone"===n||"function"==typeof n&&t.item.sortable.isCustomHelperUsed()}function p(e,t,n){var r=null;return h(e,t)&&"parent"===e.sortable("option","appendTo")&&(r=n.last()),r}function m(e){return/left|right/.test(e.css("float"))||/inline|table-cell/.test(e.css("display"))}function g(e,t){for(var n=null,r=0;r=0&&(t-1 in e||e instanceof Array)||"function"==typeof e.item)}function r(e,t,i){var o,a;if(e)if(C(e))for(o in e)"prototype"==o||"length"==o||"name"==o||e.hasOwnProperty&&!e.hasOwnProperty(o)||t.call(i,e[o],o,e);else if(Wr(e)||n(e)){var s="object"!=typeof e;for(o=0,a=e.length;a>o;o++)(s||o in e)&&t.call(i,e[o],o,e)}else if(e.forEach&&e.forEach!==r)e.forEach(t,i,e);else if(b(e))for(o in e)t.call(i,e[o],o,e);else if("function"==typeof e.hasOwnProperty)for(o in e)e.hasOwnProperty(o)&&t.call(i,e[o],o,e);else for(o in e)Tr.call(e,o)&&t.call(i,e[o],o,e);return e}function i(e,t,n){for(var r=Object.keys(e).sort(),i=0;ii;++i){var a=t[i];if(y(a)||C(a))for(var l=Object.keys(a),c=0,f=l.length;f>c;c++){var d=l[c],h=a[d];n&&y(h)?k(h)?e[d]=new Date(h.valueOf()):S(h)?e[d]=new RegExp(h):h.nodeName?e[d]=h.cloneNode(!0):I(h)?e[d]=h.clone():(y(e[d])||(e[d]=Wr(h)?[]:{}),u(e[d],[h],!0)):e[d]=h}}return s(e,r),e}function l(e){return u(e,Lr.call(arguments,1),!1)}function c(e){return u(e,Lr.call(arguments,1),!0)}function f(e){return parseInt(e,10)}function d(e,t){return l(Object.create(e),t)}function h(){}function p(e){return e}function m(e){return function(){return e}}function g(e){return C(e.toString)&&e.toString!==Vr}function v(e){return"undefined"==typeof e}function $(e){return"undefined"!=typeof e}function y(e){return null!==e&&"object"==typeof e}function b(e){return null!==e&&"object"==typeof e&&!zr(e)}function w(e){return"string"==typeof e}function x(e){return"number"==typeof e}function k(e){return"[object Date]"===Vr.call(e)}function C(e){return"function"==typeof e}function S(e){return"[object RegExp]"===Vr.call(e)}function _(e){return e&&e.window===e}function E(e){return e&&e.$evalAsync&&e.$watch}function D(e){return"[object File]"===Vr.call(e)}function T(e){return"[object FormData]"===Vr.call(e)}function M(e){return"[object Blob]"===Vr.call(e)}function A(e){return"boolean"==typeof e}function O(e){return e&&C(e.then)}function F(e){return e&&x(e.length)&&Br.test(Vr.call(e))}function N(e){return"[object ArrayBuffer]"===Vr.call(e)}function I(e){return!(!e||!(e.nodeName||e.prop&&e.attr&&e.find))}function P(e){var t,n={},r=e.split(",");for(t=0;t=0&&e.splice(n,1),n}function R(e,t){function n(e,t){var n,r=t.$$hashKey;if(Wr(e))for(var o=0,a=e.length;a>o;o++)t.push(i(e[o]));else if(b(e))for(n in e)t[n]=i(e[n]);else if(e&&"function"==typeof e.hasOwnProperty)for(n in e)e.hasOwnProperty(n)&&(t[n]=i(e[n]));else for(n in e)Tr.call(e,n)&&(t[n]=i(e[n]));return s(t,r),t}function i(e){if(!y(e))return e;var t=a.indexOf(e);if(-1!==t)return u[t];if(_(e)||E(e))throw Hr("cpws","Can't copy! Making copies of Window or Scope instances is not supported.");var r=!1,i=o(e);return void 0===i&&(i=Wr(e)?[]:Object.create(zr(e)),r=!0),a.push(e),u.push(i),r?n(e,i):i}function o(e){switch(Vr.call(e)){case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Float32Array]":case"[object Float64Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return new e.constructor(i(e.buffer));case"[object ArrayBuffer]":if(!e.slice){var t=new ArrayBuffer(e.byteLength);return new Uint8Array(t).set(new Uint8Array(e)),t}return e.slice(0);case"[object Boolean]":case"[object Number]":case"[object String]":case"[object Date]":return new e.constructor(e.valueOf());case"[object RegExp]":var n=new RegExp(e.source,e.toString().match(/[^\/]*$/)[0]);return n.lastIndex=e.lastIndex,n;case"[object Blob]":return new e.constructor([e],{type:e.type})}return C(e.cloneNode)?e.cloneNode(!0):void 0}var a=[],u=[];if(t){if(F(t)||N(t))throw Hr("cpta","Can't copy! TypedArray destination cannot be mutated.");if(e===t)throw Hr("cpi","Can't copy! Source and destination are identical.");return Wr(t)?t.length=0:r(t,function(e,n){"$$hashKey"!==n&&delete t[n]}),a.push(e),u.push(t),n(e,t)}return i(e)}function U(e,t){if(Wr(e)){t=t||[];for(var n=0,r=e.length;r>n;n++)t[n]=e[n]}else if(y(e)){t=t||{};for(var i in e)"$"===i.charAt(0)&&"$"===i.charAt(1)||(t[i]=e[i])}return t||e}function V(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e!==e&&t!==t)return!0;var n,r,i,o=typeof e,a=typeof t;if(o==a&&"object"==o){if(!Wr(e)){if(k(e))return k(t)?V(e.getTime(),t.getTime()):!1;if(S(e))return S(t)?e.toString()==t.toString():!1;if(E(e)||E(t)||_(e)||_(t)||Wr(t)||k(t)||S(t))return!1;i=me();for(r in e)if("$"!==r.charAt(0)&&!C(e[r])){if(!V(e[r],t[r]))return!1;i[r]=!0}for(r in t)if(!(r in i)&&"$"!==r.charAt(0)&&$(t[r])&&!C(t[r]))return!1;return!0}if(!Wr(t))return!1;if((n=e.length)==t.length){for(r=0;n>r;r++)if(!V(e[r],t[r]))return!1;return!0}}return!1}function z(e,t,n){return e.concat(Lr.call(t,n))}function H(e,t){return Lr.call(e,t||0)}function q(e,t){var n=arguments.length>2?H(arguments,2):[];return!C(t)||t instanceof RegExp?t:n.length?function(){return arguments.length?t.apply(e,z(n,arguments,0)):t.apply(e,n)}:function(){return arguments.length?t.apply(e,arguments):t.call(e)}}function Y(t,n){var r=n;return"string"==typeof t&&"$"===t.charAt(0)&&"$"===t.charAt(1)?r=void 0:_(n)?r="$WINDOW":n&&e.document===n?r="$DOCUMENT":E(n)&&(r="$SCOPE"),r}function W(e,t){return v(e)?void 0:(x(t)||(t=t?2:null),JSON.stringify(e,Y,t))}function B(e){return w(e)?JSON.parse(e):e}function G(e,t){e=e.replace(Xr,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function Z(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function Q(e,t,n){n=n?-1:1;var r=e.getTimezoneOffset(),i=G(t,r);return Z(e,n*(i-r))}function J(e){e=Ir(e).clone();try{e.empty()}catch(t){}var n=Ir("
    ").append(e).html();try{return e[0].nodeType===ii?Mr(n):n.match(/^(<[^>]+>)/)[1].replace(/^<([\w\-]+)/,function(e,t){return"<"+Mr(t)})}catch(t){return Mr(n)}}function X(e){try{return decodeURIComponent(e)}catch(t){}}function K(e){var t={};return r((e||"").split("&"),function(e){var n,r,i;e&&(r=e=e.replace(/\+/g,"%20"),n=e.indexOf("="),-1!==n&&(r=e.substring(0,n),i=e.substring(n+1)),r=X(r),$(r)&&(i=$(i)?X(i):!0,Tr.call(t,r)?Wr(t[r])?t[r].push(i):t[r]=[t[r],i]:t[r]=i))}),t}function ee(e){var t=[];return r(e,function(e,n){Wr(e)?r(e,function(e){t.push(ne(n,!0)+(e===!0?"":"="+ne(e,!0)))}):t.push(ne(n,!0)+(e===!0?"":"="+ne(e,!0)))}),t.length?t.join("&"):""}function te(e){return ne(e,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function ne(e,t){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%20/g,t?"%20":"+")}function re(e,t){var n,r,i=Kr.length;for(r=0;i>r;++r)if(n=Kr[r]+t,w(n=e.getAttribute(n)))return n;return null}function ie(e,t){var n,i,o={};r(Kr,function(t){var r=t+"app";!n&&e.hasAttribute&&e.hasAttribute(r)&&(n=e,i=e.getAttribute(r))}),r(Kr,function(t){var r,o=t+"app";!n&&(r=e.querySelector("["+o.replace(":","\\:")+"]"))&&(n=r,i=r.getAttribute(o))}),n&&(o.strictDi=null!==re(n,"strict-di"),t(n,i?[i]:[],o))}function oe(t,n,i){y(i)||(i={});var o={strictDi:!1};i=l(o,i);var a=function(){if(t=Ir(t),t.injector()){var r=t[0]===e.document?"document":J(t);throw Hr("btstrpd","App already bootstrapped with this element '{0}'",r.replace(//,">"))}n=n||[],n.unshift(["$provide",function(e){e.value("$rootElement",t)}]),i.debugInfoEnabled&&n.push(["$compileProvider",function(e){e.debugInfoEnabled(!0)}]),n.unshift("ng");var o=nt(n,i.strictDi);return o.invoke(["$rootScope","$rootElement","$compile","$injector",function(e,t,n,r){e.$apply(function(){t.data("$injector",r),n(t)(e)})}]),o},s=/^NG_ENABLE_DEBUG_INFO!/,u=/^NG_DEFER_BOOTSTRAP!/;return e&&s.test(e.name)&&(i.debugInfoEnabled=!0,e.name=e.name.replace(s,"")),e&&!u.test(e.name)?a():(e.name=e.name.replace(u,""),qr.resumeBootstrap=function(e){return r(e,function(e){n.push(e)}),a()},void(C(qr.resumeDeferredBootstrap)&&qr.resumeDeferredBootstrap()))}function ae(){e.name="NG_ENABLE_DEBUG_INFO!"+e.name,e.location.reload()}function se(e){var t=qr.element(e).injector();if(!t)throw Hr("test","no injector found for element argument to getTestability");return t.get("$$testability")}function ue(e,t){return t=t||"_",e.replace(ei,function(e,n){return(n?t:"")+e.toLowerCase()})}function le(){var t;if(!ti){var n=Jr();Pr=v(n)?e.jQuery:n?e[n]:void 0,Pr&&Pr.fn.on?(Ir=Pr,l(Pr.fn,{scope:ki.scope,isolateScope:ki.isolateScope,controller:ki.controller,injector:ki.injector,inheritedData:ki.inheritedData}),t=Pr.cleanData,Pr.cleanData=function(e){for(var n,r,i=0;null!=(r=e[i]);i++)n=Pr._data(r,"events"),n&&n.$destroy&&Pr(r).triggerHandler("$destroy");t(e)}):Ir=Te,qr.element=Ir,ti=!0}}function ce(e,t,n){if(!e)throw Hr("areq","Argument '{0}' is {1}",t||"?",n||"required");return e}function fe(e,t,n){return n&&Wr(e)&&(e=e[e.length-1]),ce(C(e),t,"not a function, got "+(e&&"object"==typeof e?e.constructor.name||"Object":typeof e)),e}function de(e,t){if("hasOwnProperty"===e)throw Hr("badname","hasOwnProperty is not a valid {0} name",t)}function he(e,t,n){if(!t)return e;for(var r,i=t.split("."),o=e,a=i.length,s=0;a>s;s++)r=i[s],e&&(e=(o=e)[r]);return!n&&C(e)?q(o,e):e}function pe(e){for(var t,n=e[0],r=e[e.length-1],i=1;n!==r&&(n=n.nextSibling);i++)(t||e[i]!==n)&&(t||(t=Ir(Lr.call(e,0,i))),t.push(n));return t||e}function me(){return Object.create(null)}function ge(e){function n(e,t,n){return e[t]||(e[t]=n())}var r=t("$injector"),i=t("ng"),o=n(e,"angular",Object);return o.$$minErr=o.$$minErr||t,n(o,"module",function(){var e={};return function(t,o,a){var s=function(e,t){if("hasOwnProperty"===e)throw i("badname","hasOwnProperty is not a valid {0} name",t)};return s(t,"module"),o&&e.hasOwnProperty(t)&&(e[t]=null),n(e,t,function(){function e(e,t,n,r){return r||(r=i),function(){return r[n||"push"]([e,t,arguments]),c}}function n(e,n){return function(r,o){return o&&C(o)&&(o.$$moduleName=t),i.push([e,n,arguments]),c}}if(!o)throw r("nomod","Module '{0}' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.",t);var i=[],s=[],u=[],l=e("$injector","invoke","push",s),c={_invokeQueue:i,_configBlocks:s,_runBlocks:u,requires:o,name:t,provider:n("$provide","provider"),factory:n("$provide","factory"),service:n("$provide","service"),value:e("$provide","value"),constant:e("$provide","constant","unshift"),decorator:n("$provide","decorator"),animation:n("$animateProvider","register"),filter:n("$filterProvider","register"),controller:n("$controllerProvider","register"),directive:n("$compileProvider","directive"),component:n("$compileProvider","component"),config:l,run:function(e){return u.push(e),this}};return a&&l(a),c})}})}function ve(e){var t=[];return JSON.stringify(e,function(e,n){if(n=Y(e,n),y(n)){if(t.indexOf(n)>=0)return"...";t.push(n)}return n})}function $e(e){return"function"==typeof e?e.toString().replace(/ \{[\s\S]*$/,""):v(e)?"undefined":"string"!=typeof e?ve(e):e}function ye(n){l(n,{bootstrap:oe,copy:R,extend:l,merge:c,equals:V,element:Ir,forEach:r,injector:nt,noop:h,bind:q,toJson:W,fromJson:B,identity:p,isUndefined:v,isDefined:$,isString:w,isFunction:C,isObject:y,isNumber:x,isElement:I,isArray:Wr,version:ui,isDate:k,lowercase:Mr,uppercase:Ar,callbacks:{counter:0},getTestability:se,$$minErr:t,$$csp:Qr,reloadWithDebugInfo:ae}),(jr=ge(e))("ng",["ngLocale"],["$provide",function(e){e.provider({$$sanitizeUri:kn}),e.provider("$compile",ht).directive({a:Ao,input:Qo,textarea:Qo,form:Po,script:Ya,select:Ga,style:Qa,option:Za,ngBind:Ko,ngBindHtml:ta,ngBindTemplate:ea,ngClass:ra,ngClassEven:oa,ngClassOdd:ia,ngCloak:aa,ngController:sa,ngForm:jo,ngHide:La,ngIf:ca,ngInclude:fa,ngInit:ha,ngNonBindable:Ta,ngPluralize:Fa,ngRepeat:Na,ngShow:ja,ngStyle:Ra,ngSwitch:Ua,ngSwitchWhen:Va,ngSwitchDefault:za,ngOptions:Oa,ngTransclude:qa,ngModel:_a,ngList:pa,ngChange:na,pattern:Xa,ngPattern:Xa,required:Ja,ngRequired:Ja,minlength:es,ngMinlength:es,maxlength:Ka,ngMaxlength:Ka,ngValue:Xo,ngModelOptions:Da}).directive({ngInclude:da}).directive(Oo).directive(ua),e.provider({$anchorScroll:rt,$animate:Ri,$animateCss:zi,$$animateJs:ji,$$animateQueue:Li,$$AnimateRunner:Vi,$$animateAsyncRun:Ui,$browser:lt,$cacheFactory:ct,$controller:yt,$document:bt,$exceptionHandler:wt,$filter:jn,$$forceReflow:Gi,$interpolate:It,$interval:Pt,$http:At,$httpParamSerializer:kt,$httpParamSerializerJQLike:Ct,$httpBackend:Ft,$xhrFactory:Ot,$location:Qt,$log:Jt,$parse:vn,$rootScope:xn,$q:$n,$$q:yn,$sce:En,$sceDelegate:_n,$sniffer:Dn,$templateCache:ft,$templateRequest:Tn,$$testability:Mn,$timeout:An,$window:Nn,$$rAF:wn,$$jqLite:Qe,$$HashMap:Ei,$$cookieReader:Pn})}])}function be(){return++ci}function we(e){return e.replace(hi,function(e,t,n,r){return r?n.toUpperCase():n}).replace(pi,"Moz$1")}function xe(e){return!$i.test(e)}function ke(e){var t=e.nodeType;return t===ni||!t||t===ai}function Ce(e){for(var t in li[e.ng339])return!0;return!1}function Se(e){for(var t=0,n=e.length;n>t;t++)Fe(e[t])}function _e(e,t){var n,i,o,a,s=t.createDocumentFragment(),u=[];if(xe(e))u.push(t.createTextNode(e));else{for(n=n||s.appendChild(t.createElement("div")),i=(yi.exec(e)||["",""])[1].toLowerCase(),o=wi[i]||wi._default,n.innerHTML=o[1]+e.replace(bi,"<$1>")+o[2],a=o[0];a--;)n=n.lastChild;u=z(u,n.childNodes),n=s.firstChild,n.textContent=""}return s.textContent="",s.innerHTML="",r(u,function(e){s.appendChild(e)}),s}function Ee(t,n){n=n||e.document;var r;return(r=vi.exec(t))?[n.createElement(r[1])]:(r=_e(t,n))?r.childNodes:[]}function De(e,t){var n=e.parentNode;n&&n.replaceChild(t,e),t.appendChild(e)}function Te(e){if(e instanceof Te)return e;var t;if(w(e)&&(e=Gr(e),t=!0),!(this instanceof Te)){if(t&&"<"!=e.charAt(0))throw gi("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new Te(e)}t?Re(this,Ee(e)):Re(this,e)}function Me(e){return e.cloneNode(!0)}function Ae(e,t){if(t||Fe(e),e.querySelectorAll)for(var n=e.querySelectorAll("*"),r=0,i=n.length;i>r;r++)Fe(n[r])}function Oe(e,t,n,i){if($(i))throw gi("offargs","jqLite#off() does not support the `selector` argument");var o=Ne(e),a=o&&o.events,s=o&&o.handle;if(s)if(t){var u=function(t){var r=a[t];$(n)&&L(r||[],n),$(n)&&r&&r.length>0||(di(e,t,s),delete a[t])};r(t.split(" "),function(e){u(e),mi[e]&&u(mi[e])})}else for(t in a)"$destroy"!==t&&di(e,t,s),delete a[t]}function Fe(e,t){var n=e.ng339,r=n&&li[n];if(r){if(t)return void delete r.data[t];r.handle&&(r.events.$destroy&&r.handle({},"$destroy"),Oe(e)),delete li[n],e.ng339=void 0}}function Ne(e,t){var n=e.ng339,r=n&&li[n];return t&&!r&&(e.ng339=n=be(),r=li[n]={events:{},data:{},handle:void 0}),r}function Ie(e,t,n){if(ke(e)){var r=$(n),i=!r&&t&&!y(t),o=!t,a=Ne(e,!i),s=a&&a.data;if(r)s[t]=n;else{if(o)return s;if(i)return s&&s[t];l(s,t)}}}function Pe(e,t){return e.getAttribute?(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+t+" ")>-1:!1}function je(e,t){t&&e.setAttribute&&r(t.split(" "),function(t){e.setAttribute("class",Gr((" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").replace(" "+Gr(t)+" "," ")))})}function Le(e,t){if(t&&e.setAttribute){var n=(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ");r(t.split(" "),function(e){e=Gr(e),-1===n.indexOf(" "+e+" ")&&(n+=e+" ")}),e.setAttribute("class",Gr(n))}}function Re(e,t){if(t)if(t.nodeType)e[e.length++]=t;else{var n=t.length;if("number"==typeof n&&t.window!==t){if(n)for(var r=0;n>r;r++)e[e.length++]=t[r]}else e[e.length++]=t}}function Ue(e,t){return Ve(e,"$"+(t||"ngController")+"Controller")}function Ve(e,t,n){e.nodeType==ai&&(e=e.documentElement);for(var r=Wr(t)?t:[t];e;){for(var i=0,o=r.length;o>i;i++)if($(n=Ir.data(e,r[i])))return n;e=e.parentNode||e.nodeType===si&&e.host}}function ze(e){for(Ae(e,!0);e.firstChild;)e.removeChild(e.firstChild)}function He(e,t){t||Ae(e);var n=e.parentNode;n&&n.removeChild(e)}function qe(t,n){n=n||e,"complete"===n.document.readyState?n.setTimeout(t):Ir(n).on("load",t)}function Ye(e,t){var n=Ci[t.toLowerCase()];return n&&Si[j(e)]&&n}function We(e){return _i[e]}function Be(e,t){var n=function(n,r){n.isDefaultPrevented=function(){return n.defaultPrevented};var i=t[r||n.type],o=i?i.length:0;if(o){if(v(n.immediatePropagationStopped)){var a=n.stopImmediatePropagation;n.stopImmediatePropagation=function(){n.immediatePropagationStopped=!0,n.stopPropagation&&n.stopPropagation(),a&&a.call(n)}}n.isImmediatePropagationStopped=function(){return n.immediatePropagationStopped===!0};var s=i.specialHandlerWrapper||Ge;o>1&&(i=U(i));for(var u=0;o>u;u++)n.isImmediatePropagationStopped()||s(e,n,i[u])}};return n.elem=e,n}function Ge(e,t,n){n.call(e,t)}function Ze(e,t,n){var r=t.relatedTarget;r&&(r===e||xi.call(e,r))||n.call(e,t)}function Qe(){this.$get=function(){return l(Te,{hasClass:function(e,t){return e.attr&&(e=e[0]),Pe(e,t)},addClass:function(e,t){return e.attr&&(e=e[0]),Le(e,t)},removeClass:function(e,t){return e.attr&&(e=e[0]),je(e,t)}})}}function Je(e,t){var n=e&&e.$$hashKey;if(n)return"function"==typeof n&&(n=e.$$hashKey()),n;var r=typeof e;return n="function"==r||"object"==r&&null!==e?e.$$hashKey=r+":"+(t||a)():r+":"+e}function Xe(e,t){if(t){var n=0;this.nextUid=function(){return++n}}r(e,this.put,this)}function Ke(e){var t=Function.prototype.toString.call(e).replace(Oi,""),n=t.match(Di)||t.match(Ti);return n}function et(e){var t=Ke(e);return t?"function("+(t[1]||"").replace(/[\s\r\n]+/," ")+")":"fn"}function tt(e,t,n){var i,o,a;if("function"==typeof e){if(!(i=e.$inject)){if(i=[],e.length){if(t)throw w(n)&&n||(n=e.name||et(e)),Fi("strictdi","{0} is not using explicit annotation and cannot be invoked in strict mode",n);o=Ke(e),r(o[1].split(Mi),function(e){e.replace(Ai,function(e,t,n){i.push(n)})})}e.$inject=i}}else Wr(e)?(a=e.length-1,fe(e[a],"fn"),i=e.slice(0,a)):fe(e,"fn",!0);return i}function nt(e,t){function n(e){return function(t,n){return y(t)?void r(t,o(e)):e(t,n)}}function i(e,t){if(de(e,"service"),(C(t)||Wr(t))&&(t=k.instantiate(t)),!t.$get)throw Fi("pget","Provider '{0}' must define $get factory method.",e);return x[e+g]=t}function a(e,t){return function(){var n=E.invoke(t,this);if(v(n))throw Fi("undef","Provider '{0}' must return a value from $get factory method.",e);return n}}function s(e,t,n){return i(e,{$get:n!==!1?a(e,t):t})}function u(e,t){return s(e,["$injector",function(e){return e.instantiate(t)}])}function l(e,t){return s(e,m(t),!1)}function c(e,t){de(e,"constant"),x[e]=t,S[e]=t}function f(e,t){var n=k.get(e+g),r=n.$get;n.$get=function(){var e=E.invoke(r,n);return E.invoke(t,null,{$delegate:e})}}function d(e){ce(v(e)||Wr(e),"modulesToLoad","not an array");var t,n=[];return r(e,function(e){function r(e){var t,n;for(t=0,n=e.length;n>t;t++){var r=e[t],i=k.get(r[0]);i[r[1]].apply(i,r[2])}}if(!b.get(e)){b.put(e,!0);try{w(e)?(t=jr(e),n=n.concat(d(t.requires)).concat(t._runBlocks),r(t._invokeQueue),r(t._configBlocks)):C(e)?n.push(k.invoke(e)):Wr(e)?n.push(k.invoke(e)):fe(e,"module")}catch(i){throw Wr(e)&&(e=e[e.length-1]),i.message&&i.stack&&-1==i.stack.indexOf(i.message)&&(i=i.message+"\n"+i.stack),Fi("modulerr","Failed to instantiate module {0} due to:\n{1}",e,i.stack||i.message||i)}}}),n}function h(e,n){function r(t,r){if(e.hasOwnProperty(t)){if(e[t]===p)throw Fi("cdep","Circular dependency found: {0}",t+" <- "+$.join(" <- "));return e[t]}try{return $.unshift(t),e[t]=p,e[t]=n(t,r)}catch(i){throw e[t]===p&&delete e[t],i}finally{$.shift()}}function i(e,n,i){for(var o=[],a=nt.$$annotate(e,t,i),s=0,u=a.length;u>s;s++){var l=a[s];if("string"!=typeof l)throw Fi("itkn","Incorrect injection token! Expected service name as string, got {0}",l);o.push(n&&n.hasOwnProperty(l)?n[l]:r(l,i))}return o}function o(e){return 11>=Nr?!1:"function"==typeof e&&/^(?:class\s|constructor\()/.test(Function.prototype.toString.call(e))}function a(e,t,n,r){"string"==typeof n&&(r=n,n=null);var a=i(e,n,r);return Wr(e)&&(e=e[e.length-1]),o(e)?(a.unshift(null),new(Function.prototype.bind.apply(e,a))):e.apply(t,a)}function s(e,t,n){var r=Wr(e)?e[e.length-1]:e,o=i(e,t,n);return o.unshift(null),new(Function.prototype.bind.apply(r,o))}return{invoke:a,instantiate:s,get:r,annotate:nt.$$annotate,has:function(t){return x.hasOwnProperty(t+g)||e.hasOwnProperty(t)}}}t=t===!0;var p={},g="Provider",$=[],b=new Xe([],!0),x={$provide:{provider:n(i),factory:n(s),service:n(u),value:n(l),constant:n(c),decorator:f}},k=x.$injector=h(x,function(e,t){throw qr.isString(t)&&$.push(t),Fi("unpr","Unknown provider: {0}",$.join(" <- "))}),S={},_=h(S,function(e,t){var n=k.get(e+g,t);return E.invoke(n.$get,n,void 0,e)}),E=_;x["$injector"+g]={$get:m(_)};var D=d(e);return E=_.get("$injector"),E.strictDi=t,r(D,function(e){e&&E.invoke(e)}),E}function rt(){var e=!0;this.disableAutoScrolling=function(){e=!1},this.$get=["$window","$location","$rootScope",function(t,n,r){function i(e){var t=null;return Array.prototype.some.call(e,function(e){return"a"===j(e)?(t=e,!0):void 0}),t}function o(){var e=s.yOffset;if(C(e))e=e();else if(I(e)){ +var n=e[0],r=t.getComputedStyle(n);e="fixed"!==r.position?0:n.getBoundingClientRect().bottom}else x(e)||(e=0);return e}function a(e){if(e){e.scrollIntoView();var n=o();if(n){var r=e.getBoundingClientRect().top;t.scrollBy(0,r-n)}}else t.scrollTo(0,0)}function s(e){e=w(e)?e:n.hash();var t;e?(t=u.getElementById(e))?a(t):(t=i(u.getElementsByName(e)))?a(t):"top"===e&&a(null):a(null)}var u=t.document;return e&&r.$watch(function(){return n.hash()},function(e,t){e===t&&""===e||qe(function(){r.$evalAsync(s)})}),s}]}function it(e,t){return e||t?e?t?(Wr(e)&&(e=e.join(" ")),Wr(t)&&(t=t.join(" ")),e+" "+t):e:t:""}function ot(e){for(var t=0;tc&&this.remove(h.key),t}},get:function(e){if(ce;++e)ge[e]();ge=void 0})}finally{ye++}}function F(e,t){if(t){var n,r,i,o=Object.keys(t);for(n=0,r=o.length;r>n;n++)i=o[n],this[i]=t[i]}else this.$attr={};this.$$element=e}function N(e,t,n){$e.innerHTML="";var r=$e.firstChild.attributes,i=r[0];r.removeNamedItem(i.name),i.value=n,e.attributes.setNamedItem(i)}function I(e,t){try{e.addClass(t)}catch(n){}}function P(t,n,r,i,o){t instanceof Ir||(t=Ir(t));for(var a=/\S+/,s=0,u=t.length;u>s;s++){var l=t[s];l.nodeType===ii&&l.nodeValue.match(a)&&De(l,t[s]=e.document.createElement("span"))}var c=U(t,n,t,r,i,o);P.$$addScopeClass(t);var f=null;return function(e,n,r){ce(e,"scope"),o&&o.needsNewScope&&(e=e.$parent.$new()),r=r||{};var i=r.parentBoundTranscludeFn,a=r.transcludeControllers,s=r.futureParentElement;i&&i.$$boundTransclude&&(i=i.$$boundTransclude),f||(f=R(s));var u;if(u="html"!==f?Ir(ae(f,Ir("
    ").append(t).html())):n?ki.clone.call(t):t,a)for(var l in a)u.data("$"+l+"Controller",a[l].instance);return P.$$addScopeInfo(u,e),n&&n(u,e),c&&c(e,u,u,i),u}}function R(e){var t=e&&e[0];return t&&"foreignobject"!==j(t)&&Vr.call(t).match(/SVG/)?"svg":"html"}function U(e,t,n,r,i,o){function a(e,n,r,i){var o,a,s,u,l,c,f,d,m;if(h){var g=n.length;for(m=new Array(g),l=0;ll;)s=m[p[l++]],o=p[l++],a=p[l++],o?(o.scope?(u=e.$new(),P.$$addScopeInfo(Ir(s),u)):u=e,d=o.transcludeOnThisElement?z(e,o.transclude,i):!o.templateOnThisElement&&i?i:!i&&t?z(e,t):null,o(a,u,s,r,d)):a&&a(e,s.childNodes,void 0,i)}for(var s,u,l,c,f,d,h,p=[],m=0;m$;$++){var x=!1,k=!1;l=v[$],c=l.name,p=Gr(l.value),h=mt(c),(m=Ce.test(h))&&(c=c.replace(Yi,"").substr(8).replace(/_(.)/g,function(e,t){return t.toUpperCase()}));var C=h.match(Se);C&&ee(C[1])&&(x=c,k=c.substr(0,c.length-5)+"end",c=c.substr(0,c.length-6)),d=mt(c.toLowerCase()),u[d]=c,!m&&n.hasOwnProperty(d)||(n[d]=p,Ye(e,d)&&(n[d]=!0)),le(e,t,p,d,m),K(t,d,"A",r,i,x,k)}if(a=e.className,y(a)&&(a=a.animVal),w(a)&&""!==a)for(;o=g.exec(a);)d=mt(o[2]),K(t,d,"C",r,i)&&(n[d]=Gr(o[3])),a=a.substr(o.index+o[0].length);break;case ii:if(11===Nr)for(;e.parentNode&&e.nextSibling&&e.nextSibling.nodeType===ii;)e.nodeValue=e.nodeValue+e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);oe(t,e.nodeValue);break;case oi:try{o=f.exec(e.nodeValue),o&&(d=mt(o[1]),K(t,d,"M",r,i)&&(n[d]=Gr(o[2])))}catch(S){}}return t.sort(re),t}function Y(e,t,n){var r=[],i=0;if(t&&e.hasAttribute&&e.hasAttribute(t)){do{if(!e)throw Hi("uterdir","Unterminated attribute, found '{0}' but no matching '{1}' found.",t,n);e.nodeType==ni&&(e.hasAttribute(t)&&i++,e.hasAttribute(n)&&i--),r.push(e),e=e.nextSibling}while(i>0)}else r.push(e);return Ir(r)}function W(e,t,n){return function(r,i,o,a,s){return i=Y(i[0],t,n),e(r,i,o,a,s)}}function B(e,t,n,r,i,o){var a;return e?P(t,n,r,i,o):function(){return a||(a=P(t,n,r,i,o),t=n=o=null),a.apply(this,arguments)}}function G(e,t,n,o,a,s,u,c,f){function d(e,t,n,r){e&&(n&&(e=W(e,n,r)),e.require=p.require,e.directiveName=m,(S===p||p.$$isolateScope)&&(e=de(e,{isolateScope:!0})),u.push(e)),t&&(n&&(t=W(t,n,r)),t.require=p.require,t.directiveName=m,(S===p||p.$$isolateScope)&&(t=de(t,{isolateScope:!0})),c.push(t))}function h(e,i,o,a,s){function f(e,t,n,r){var i;if(E(e)||(r=n,n=t,t=e,e=void 0),A&&(i=$),n||(n=A?w.parent():w),!r)return s(e,t,i,n,L);var o=s.$$slots[r];if(o)return o(e,t,i,n,L);if(v(o))throw Hi("noslot",'No parent directive that requires a transclusion with slot name "{0}". Element: {1}',r,J(w))}var d,h,p,m,g,$,b,w,D,T;t===o?(D=n,w=n.$$element):(w=Ir(o),D=new F(w,n)),g=i,S?m=i.$new(!0):x&&(g=i.$parent),s&&(b=f,b.$$boundTransclude=s,b.isSlotFilled=function(e){return!!s.$$slots[e]}),k&&($=Q(w,D,b,k,m,i,S)),S&&(P.$$addScopeInfo(w,m,!0,!(_&&(_===S||_===S.$$originalDirective))),P.$$addScopeClass(w,!0),m.$$isolateBindings=S.$$isolateBindings,T=pe(i,D,m,m.$$isolateBindings,S),T.removeWatches&&m.$on("$destroy",T.removeWatches));for(var M in $){var O=k[M],N=$[M],I=O.$$bindings.bindToController;N.identifier&&I?N.bindingInfo=pe(g,D,N.instance,I,O):N.bindingInfo={};var j=N();j!==N.instance&&(N.instance=j,w.data("$"+O.name+"Controller",j),N.bindingInfo.removeWatches&&N.bindingInfo.removeWatches(),N.bindingInfo=pe(g,D,N.instance,I,O))}for(r(k,function(e,t){var n=e.require;e.bindToController&&!Wr(n)&&y(n)&&l($[t].instance,Z(t,n,w,$))}),r($,function(e){var t=e.instance;C(t.$onChanges)&&t.$onChanges(e.bindingInfo.initialChanges),C(t.$onInit)&&t.$onInit(),C(t.$onDestroy)&&g.$on("$destroy",function(){t.$onDestroy()})}),d=0,h=u.length;h>d;d++)p=u[d],he(p,p.isolateScope?m:i,w,D,p.require&&Z(p.directiveName,p.require,w,$),b);var L=i;for(S&&(S.template||null===S.templateUrl)&&(L=m),e&&e(L,o.childNodes,void 0,s),d=c.length-1;d>=0;d--)p=c[d],he(p,p.isolateScope?m:i,w,D,p.require&&Z(p.directiveName,p.require,w,$),b);r($,function(e){var t=e.instance;C(t.$postLink)&&t.$postLink()})}f=f||{};for(var p,m,g,$,b,w=-Number.MAX_VALUE,x=f.newScopeDirective,k=f.controllerDirectives,S=f.newIsolateScopeDirective,_=f.templateDirective,D=f.nonTlbTranscludeDirective,T=!1,M=!1,A=f.hasElementTranscludeDirective,O=n.$$element=Ir(t),N=s,I=o,L=!1,R=!1,U=0,V=e.length;V>U;U++){p=e[U];var z=p.$$start,G=p.$$end;if(z&&(O=Y(t,z,G)),g=void 0,w>p.priority)break;if((b=p.scope)&&(p.templateUrl||(y(b)?(ie("new/isolated scope",S||x,p,O),S=p):ie("new/isolated scope",S,p,O)),x=x||p),m=p.name,!L&&(p.replace&&(p.templateUrl||p.template)||p.transclude&&!p.$$tlb)){for(var K,ee=U+1;K=e[ee++];)if(K.transclude&&!K.$$tlb||K.replace&&(K.templateUrl||K.template)){R=!0;break}L=!0}if(!p.templateUrl&&p.controller&&(b=p.controller,k=k||me(),ie("'"+m+"' controller",k[m],p,O),k[m]=p),b=p.transclude)if(T=!0,p.$$tlb||(ie("transclusion",D,p,O),D=p),"element"==b)A=!0,w=p.priority,g=O,O=n.$$element=Ir(P.$$createComment(m,n[m])),t=O[0],fe(a,H(g),t),g[0].$$parentNode=g[0].parentNode,I=B(R,g,o,w,N&&N.name,{nonTlbTranscludeDirective:D});else{var re=me();if(g=Ir(Me(t)).contents(),y(b)){g=[];var oe=me(),se=me();r(b,function(e,t){var n="?"===e.charAt(0);e=n?e.substring(1):e,oe[e]=t,re[t]=null,se[t]=n}),r(O.contents(),function(e){var t=oe[mt(j(e))];t?(se[t]=!0,re[t]=re[t]||[],re[t].push(e)):g.push(e)}),r(se,function(e,t){if(!e)throw Hi("reqslot","Required transclusion slot `{0}` was not filled.",t)});for(var ue in re)re[ue]&&(re[ue]=B(R,re[ue],o))}O.empty(),I=B(R,g,o,void 0,void 0,{needsNewScope:p.$$isolateScope||p.$$newScope}),I.$$slots=re}if(p.template)if(M=!0,ie("template",_,p,O),_=p,b=C(p.template)?p.template(O,n):p.template,b=ke(b),p.replace){if(N=p,g=xe(b)?[]:vt(ae(p.templateNamespace,Gr(b))),t=g[0],1!=g.length||t.nodeType!==ni)throw Hi("tplrt","Template for directive '{0}' must have exactly one root element. {1}",m,"");fe(a,O,t);var le={$attr:{}},ce=q(t,[],le),ge=e.splice(U+1,e.length-(U+1));(S||x)&&X(ce,S,x),e=e.concat(ce).concat(ge),te(n,le),V=e.length}else O.html(b);if(p.templateUrl)M=!0,ie("template",_,p,O),_=p,p.replace&&(N=p),h=ne(e.splice(U,e.length-U),O,n,a,T&&I,u,c,{controllerDirectives:k,newScopeDirective:x!==p&&x,newIsolateScopeDirective:S,templateDirective:_,nonTlbTranscludeDirective:D}),V=e.length;else if(p.compile)try{$=p.compile(O,n,I),C($)?d(null,$,z,G):$&&d($.pre,$.post,z,G)}catch(ve){i(ve,J(O))}p.terminal&&(h.terminal=!0,w=Math.max(w,p.priority))}return h.scope=x&&x.scope===!0,h.transcludeOnThisElement=T,h.templateOnThisElement=M,h.transclude=I,f.hasElementTranscludeDirective=A,h}function Z(e,t,n,i){var o;if(w(t)){var a=t.match(x),s=t.substring(a[0].length),u=a[1]||a[3],l="?"===a[2];if("^^"===u?n=n.parent():(o=i&&i[s],o=o&&o.instance),!o){var c="$"+s+"Controller";o=u?n.inheritedData(c):n.data(c)}if(!o&&!l)throw Hi("ctreq","Controller '{0}', required by directive '{1}', can't be found!",s,e)}else if(Wr(t)){o=[];for(var f=0,d=t.length;d>f;f++)o[f]=Z(e,t[f],n,i)}else y(t)&&(o={},r(t,function(t,r){o[r]=Z(e,t,n,i)}));return o||null}function Q(e,t,n,r,i,o,a){var s=me();for(var u in r){var l=r[u],c={$scope:l===a||l.$$isolateScope?i:o,$element:e,$attrs:t,$transclude:n},f=l.controller;"@"==f&&(f=t[l.name]);var d=m(f,c,!0,l.controllerAs);s[l.name]=d,e.data("$"+l.name+"Controller",d.instance)}return s}function X(e,t,n){for(var r=0,i=e.length;i>r;r++)e[r]=d(e[r],{$$isolateScope:t,$$newScope:n})}function K(e,n,r,o,s,l,f){if(n===s)return null;var h=null;if(u.hasOwnProperty(n))for(var p,m=t.get(n+c),g=0,$=m.length;$>g;g++)try{if(p=m[g],(v(o)||o>p.priority)&&-1!=p.restrict.indexOf(r)){if(l&&(p=d(p,{$$start:l,$$end:f})),!p.$$bindings){var b=p.$$bindings=a(p,p.name);y(b.isolateScope)&&(p.$$isolateBindings=b.isolateScope)}e.push(p),h=p}}catch(w){i(w)}return h}function ee(e){if(u.hasOwnProperty(e))for(var n,r=t.get(e+c),i=0,o=r.length;o>i;i++)if(n=r[i],n.multiElement)return!0;return!1}function te(e,t){var n=t.$attr,i=e.$attr,o=e.$$element;r(e,function(r,i){"$"!=i.charAt(0)&&(t[i]&&t[i]!==r&&(r+=("style"===i?";":" ")+t[i]),e.$set(i,r,!0,n[i]))}),r(t,function(t,r){"class"==r?(I(o,t),e["class"]=(e["class"]?e["class"]+" ":"")+t):"style"==r?(o.attr("style",o.attr("style")+";"+t),e.style=(e.style?e.style+";":"")+t):"$"==r.charAt(0)||e.hasOwnProperty(r)||(e[r]=t,i[r]=n[r])})}function ne(e,t,n,i,a,s,u,l){var c,f,h=[],p=t[0],m=e.shift(),g=d(m,{templateUrl:null,transclude:null,replace:null,$$originalDirective:m}),v=C(m.templateUrl)?m.templateUrl(t,n):m.templateUrl,$=m.templateNamespace;return t.empty(),o(v).then(function(o){var d,b,w,x;if(o=ke(o),m.replace){if(w=xe(o)?[]:vt(ae($,Gr(o))),d=w[0],1!=w.length||d.nodeType!==ni)throw Hi("tplrt","Template for directive '{0}' must have exactly one root element. {1}",m.name,v);b={$attr:{}},fe(i,t,d);var k=q(d,[],b);y(m.scope)&&X(k,!0),e=k.concat(e),te(n,b)}else d=p,t.html(o);for(e.unshift(g),c=G(e,d,n,a,t,m,s,u,l),r(i,function(e,n){e==d&&(i[n]=t[0])}),f=U(t[0].childNodes,a);h.length;){var C=h.shift(),S=h.shift(),_=h.shift(),E=h.shift(),D=t[0];if(!C.$$destroyed){if(S!==p){var T=S.className;l.hasElementTranscludeDirective&&m.replace||(D=Me(d)),fe(_,Ir(S),D),I(Ir(D),T)}x=c.transcludeOnThisElement?z(C,c.transclude,E):E,c(f,C,D,i,x)}}h=null}),function(e,t,n,r,i){var o=i;t.$$destroyed||(h?h.push(t,n,r,o):(c.transcludeOnThisElement&&(o=z(t,c.transclude,i)),c(f,t,n,r,o)))}}function re(e,t){var n=t.priority-e.priority;return 0!==n?n:e.name!==t.name?e.name"+n+"",r.childNodes[0].childNodes;default:return n}}function se(e,t){if("srcdoc"==t)return S.HTML;var n=j(e);return"xlinkHref"==t||"form"==n&&"action"==t||"img"!=n&&("src"==t||"ngSrc"==t)?S.RESOURCE_URL:void 0}function le(e,t,r,i,o){var a=se(e,i);o=b[i]||o;var s=n(r,!0,a,o);if(s){if("multiple"===i&&"select"===j(e))throw Hi("selmulti","Binding to the 'multiple' attribute is not supported. Element: {0}",J(e));t.push({priority:100,compile:function(){return{pre:function(e,t,u){var l=u.$$observers||(u.$$observers=me());if(k.test(i))throw Hi("nodomevents","Interpolations for HTML DOM event attributes are disallowed. Please use the ng- versions (such as ng-click instead of onclick) instead.");var c=u[i];c!==r&&(s=c&&n(c,!0,a,o),r=c),s&&(u[i]=s(e),(l[i]||(l[i]=[])).$$inter=!0,(u.$$observers&&u.$$observers[i].$$scope||e).$watch(s,function(e,t){"class"===i&&e!=t?u.$updateClass(e,t):u.$set(i,e)}))}}}})}}function fe(t,n,r){var i,o,a=n[0],s=n.length,u=a.parentNode;if(t)for(i=0,o=t.length;o>i;i++)if(t[i]==a){t[i++]=r;for(var l=i,c=l+s-1,f=t.length;f>l;l++,c++)f>c?t[l]=t[c]:delete t[l];t.length-=s-1,t.context===a&&(t.context=r);break}u&&u.replaceChild(r,a);var d=e.document.createDocumentFragment();for(i=0;s>i;i++)d.appendChild(n[i]);for(Ir.hasData(a)&&(Ir.data(r,Ir.data(a)),Ir(a).off("$destroy")),Ir.cleanData(d.querySelectorAll("*")),i=1;s>i;i++)delete n[i];n[0]=r,n.length=1}function de(e,t){return l(function(){return e.apply(null,arguments)},e,t)}function he(e,t,n,r,o,a){try{e(t,n,r,o,a)}catch(s){i(s,J(n))}}function pe(e,t,i,o,a){function u(t,n,r){C(i.$onChanges)&&n!==r&&(ge||(e.$$postDigest(O),ge=[]),c||(c={},ge.push(l)),c[t]&&(r=c[t].previousValue),c[t]=new pt(r,n))}function l(){i.$onChanges(c),c=void 0}var c,f=[],d={};return r(o,function(r,o){var l,c,p,m,g,v=r.attrName,$=r.optional,y=r.mode;switch(y){case"@":$||Tr.call(t,v)||(i[o]=t[v]=void 0),t.$observe(v,function(e){if(w(e)||A(e)){var t=i[o];u(o,e,t),i[o]=e}}),t.$$observers[v].$$scope=e,l=t[v],w(l)?i[o]=n(l)(e):A(l)&&(i[o]=l),d[o]=new pt(qi,i[o]);break;case"=":if(!Tr.call(t,v)){if($)break;t[v]=void 0}if($&&!t[v])break;c=s(t[v]),m=c.literal?V:function(e,t){return e===t||e!==e&&t!==t},p=c.assign||function(){throw l=i[o]=c(e),Hi("nonassign","Expression '{0}' in attribute '{1}' used with directive '{2}' is non-assignable!",t[v],v,a.name)},l=i[o]=c(e);var b=function(t){return m(t,i[o])||(m(t,l)?p(e,t=i[o]):i[o]=t),l=t};b.$stateful=!0,g=r.collection?e.$watchCollection(t[v],b):e.$watch(s(t[v],b),null,c.literal),f.push(g);break;case"<":if(!Tr.call(t,v)){if($)break;t[v]=void 0}if($&&!t[v])break;c=s(t[v]),i[o]=c(e),d[o]=new pt(qi,i[o]),g=e.$watch(c,function(e,t){e===t&&(t=i[o]),u(o,e,t),i[o]=e},c.literal),f.push(g);break;case"&":if(c=t.hasOwnProperty(v)?s(t[v]):h,c===h&&$)break;i[o]=function(t){return c(e,t)}}}),{initialChanges:d,removeWatches:f.length&&function(){for(var e=0,t=f.length;t>e;++e)f[e]()}}}var ge,ve=/^\w/,$e=e.document.createElement("div"),ye=D;F.prototype={$normalize:mt,$addClass:function(e){e&&e.length>0&&T.addClass(this.$$element,e)},$removeClass:function(e){e&&e.length>0&&T.removeClass(this.$$element,e)},$updateClass:function(e,t){var n=gt(e,t);n&&n.length&&T.addClass(this.$$element,n);var r=gt(t,e);r&&r.length&&T.removeClass(this.$$element,r)},$set:function(e,t,n,o){var a,s=this.$$element[0],u=Ye(s,e),l=We(e),c=e;if(u?(this.$$element.prop(e,t),o=u):l&&(this[l]=t,c=l),this[e]=t,o?this.$attr[e]=o:(o=this.$attr[e],o||(this.$attr[e]=o=ue(e,"-"))),a=j(this.$$element),"a"===a&&("href"===e||"xlinkHref"===e)||"img"===a&&"src"===e)this[e]=t=M(t,"src"===e);else if("img"===a&&"srcset"===e){for(var f="",d=Gr(t),h=/(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/,p=/\s/.test(d)?h:/(,)/,m=d.split(p),g=Math.floor(m.length/2),$=0;g>$;$++){var y=2*$;f+=M(Gr(m[y]),!0),f+=" "+Gr(m[y+1])}var b=Gr(m[2*$]).split(/\s/);f+=M(Gr(b[0]),!0),2===b.length&&(f+=" "+Gr(b[1])),this[e]=t=f}n!==!1&&(null===t||v(t)?this.$$element.removeAttr(o):ve.test(o)?this.$$element.attr(o,t):N(this.$$element[0],o,t));var w=this.$$observers;w&&r(w[c],function(e){try{e(t)}catch(n){i(n)}})},$observe:function(e,t){var n=this,r=n.$$observers||(n.$$observers=me()),i=r[e]||(r[e]=[]);return i.push(t),$.$evalAsync(function(){i.$$inter||!n.hasOwnProperty(e)||v(n[e])||t(n[e])}),function(){L(i,t)}}};var be=n.startSymbol(),we=n.endSymbol(),ke="{{"==be&&"}}"==we?p:function(e){return e.replace(/\{\{/g,be).replace(/}}/g,we)},Ce=/^ngAttr[A-Z]/,Se=/^(.+)Start$/;return P.$$addBindingInfo=_?function(e,t){var n=e.data("$binding")||[];Wr(t)?n=n.concat(t):n.push(t),e.data("$binding",n)}:h,P.$$addBindingClass=_?function(e){I(e,"ng-binding")}:h,P.$$addScopeInfo=_?function(e,t,n,r){var i=n?r?"$isolateScopeNoTemplate":"$isolateScope":"$scope";e.data(i,t)}:h,P.$$addScopeClass=_?function(e,t){I(e,t?"ng-isolate-scope":"ng-scope")}:h,P.$$createComment=function(t,n){var r="";return _&&(r=" "+(t||"")+": "+(n||"")+" "),e.document.createComment(r)},P}]}function pt(e,t){this.previousValue=e,this.currentValue=t}function mt(e){return we(e.replace(Yi,""))}function gt(e,t){var n="",r=e.split(/\s+/),i=t.split(/\s+/);e:for(var o=0;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===oi&&Rr.call(e,t,1)}return e}function $t(e,t){if(t&&w(t))return t;if(w(e)){var n=Bi.exec(e);if(n)return n[3]}}function yt(){var e={},n=!1;this.has=function(t){return e.hasOwnProperty(t)},this.register=function(t,n){de(t,"controller"),y(t)?l(e,t):e[t]=n},this.allowGlobals=function(){n=!0},this.$get=["$injector","$window",function(r,i){function o(e,n,r,i){if(!e||!y(e.$scope))throw t("$controller")("noscp","Cannot export controller '{0}' as '{1}'! No $scope object provided via `locals`.",i,n);e.$scope[n]=r}return function(t,a,s,u){var c,f,d,h;if(s=s===!0,u&&w(u)&&(h=u),w(t)){if(f=t.match(Bi),!f)throw Wi("ctrlfmt","Badly formed controller string '{0}'. Must match `__name__ as __id__` or `__name__`.",t);d=f[1],h=h||f[3],t=e.hasOwnProperty(d)?e[d]:he(a.$scope,d,!0)||(n?he(i,d,!0):void 0),fe(t,d,!0)}if(s){var p=(Wr(t)?t[t.length-1]:t).prototype;c=Object.create(p||null),h&&o(a,h,c,d||t.name);var m;return m=l(function(){var e=r.invoke(t,c,a,d);return e!==c&&(y(e)||C(e))&&(c=e,h&&o(a,h,c,d||t.name)),c},{instance:c,identifier:h})}return c=r.instantiate(t,a,d),h&&o(a,h,c,d||t.name),c}}]}function bt(){this.$get=["$window",function(e){return Ir(e.document)}]}function wt(){this.$get=["$log",function(e){return function(t,n){e.error.apply(e,arguments)}}]}function xt(e){return y(e)?k(e)?e.toISOString():W(e):e}function kt(){this.$get=function(){return function(e){if(!e)return"";var t=[];return i(e,function(e,n){null===e||v(e)||(Wr(e)?r(e,function(e){t.push(ne(n)+"="+ne(xt(e)))}):t.push(ne(n)+"="+ne(xt(e))))}),t.join("&")}}}function Ct(){this.$get=function(){return function(e){function t(e,o,a){null===e||v(e)||(Wr(e)?r(e,function(e,n){t(e,o+"["+(y(e)?n:"")+"]")}):y(e)&&!k(e)?i(e,function(e,n){t(e,o+(a?"":"[")+n+(a?"":"]"))}):n.push(ne(o)+"="+ne(xt(e))))}if(!e)return"";var n=[];return t(e,"",!0),n.join("&")}}}function St(e,t){if(w(e)){var n=e.replace(Ki,"").trim();if(n){var r=t("Content-Type");(r&&0===r.indexOf(Zi)||_t(n))&&(e=B(n))}}return e}function _t(e){var t=e.match(Ji);return t&&Xi[t[0]].test(e)}function Et(e){function t(e,t){e&&(i[e]=i[e]?i[e]+", "+t:t)}var n,i=me();return w(e)?r(e.split("\n"),function(e){n=e.indexOf(":"),t(Mr(Gr(e.substr(0,n))),Gr(e.substr(n+1)))}):y(e)&&r(e,function(e,n){t(Mr(n),Gr(e))}),i}function Dt(e){var t;return function(n){if(t||(t=Et(e)),n){var r=t[Mr(n)];return void 0===r&&(r=null),r}return t}}function Tt(e,t,n,i){return C(i)?i(e,t,n):(r(i,function(r){e=r(e,t,n)}),e)}function Mt(e){return e>=200&&300>e}function At(){var e=this.defaults={transformResponse:[St],transformRequest:[function(e){return!y(e)||D(e)||M(e)||T(e)?e:W(e)}],headers:{common:{Accept:"application/json, text/plain, */*"},post:U(Qi),put:U(Qi),patch:U(Qi)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",paramSerializer:"$httpParamSerializer"},n=!1;this.useApplyAsync=function(e){return $(e)?(n=!!e,this):n};var i=!0;this.useLegacyPromiseExtensions=function(e){return $(e)?(i=!!e,this):i};var o=this.interceptors=[];this.$get=["$httpBackend","$$cookieReader","$cacheFactory","$rootScope","$q","$injector",function(a,s,u,c,f,d){function h(n){function o(e){var t=l({},e);return t.data=Tt(e.data,e.headers,e.status,u.transformResponse),Mt(e.status)?t:f.reject(t)}function a(e,t){var n,i={};return r(e,function(e,r){C(e)?(n=e(t),null!=n&&(i[r]=n)):i[r]=e}),i}function s(t){var n,r,i,o=e.headers,s=l({},t.headers);o=l({},o.common,o[Mr(t.method)]);e:for(n in o){r=Mr(n);for(i in s)if(Mr(i)===r)continue e;s[n]=o[n]}return a(s,U(t))}if(!y(n))throw t("$http")("badreq","Http request configuration must be an object. Received: {0}",n);if(!w(n.url))throw t("$http")("badreq","Http request configuration url must be a string. Received: {0}",n.url);var u=l({method:"get",transformRequest:e.transformRequest,transformResponse:e.transformResponse,paramSerializer:e.paramSerializer},n);u.headers=s(n),u.method=Ar(u.method),u.paramSerializer=w(u.paramSerializer)?d.get(u.paramSerializer):u.paramSerializer;var c=function(t){var n=t.headers,i=Tt(t.data,Dt(n),void 0,t.transformRequest);return v(i)&&r(n,function(e,t){"content-type"===Mr(t)&&delete n[t]}),v(t.withCredentials)&&!v(e.withCredentials)&&(t.withCredentials=e.withCredentials),g(t,i).then(o,o)},h=[c,void 0],p=f.when(u);for(r(k,function(e){(e.request||e.requestError)&&h.unshift(e.request,e.requestError),(e.response||e.responseError)&&h.push(e.response,e.responseError)});h.length;){var m=h.shift(),$=h.shift();p=p.then(m,$)}return i?(p.success=function(e){return fe(e,"fn"),p.then(function(t){e(t.data,t.status,t.headers,u)}),p},p.error=function(e){return fe(e,"fn"),p.then(null,function(t){e(t.data,t.status,t.headers,u)}),p}):(p.success=to("success"),p.error=to("error")),p}function p(e){r(arguments,function(e){h[e]=function(t,n){return h(l({},n||{},{method:e,url:t}))}})}function m(e){r(arguments,function(e){h[e]=function(t,n,r){return h(l({},r||{},{method:e,url:t,data:n}))}})}function g(t,i){function o(e){if(e){var t={};return r(e,function(e,r){t[r]=function(t){function r(){e(t)}n?c.$applyAsync(r):c.$$phase?r():c.$apply(r)}}),t}}function u(e,t,r,i){function o(){l(t,e,r,i)}m&&(Mt(e)?m.put(S,[e,t,Et(r),i]):m.remove(S)),n?c.$applyAsync(o):(o(),c.$$phase||c.$apply())}function l(e,n,r,i){n=n>=-1?n:0,(Mt(n)?w.resolve:w.reject)({data:e,status:n,headers:Dt(r),config:t,statusText:i})}function d(e){l(e.data,e.status,U(e.headers()),e.statusText)}function p(){var e=h.pendingRequests.indexOf(t);-1!==e&&h.pendingRequests.splice(e,1)}var m,g,w=f.defer(),k=w.promise,C=t.headers,S=b(t.url,t.paramSerializer(t.params));if(h.pendingRequests.push(t),k.then(p,p),!t.cache&&!e.cache||t.cache===!1||"GET"!==t.method&&"JSONP"!==t.method||(m=y(t.cache)?t.cache:y(e.cache)?e.cache:x),m&&(g=m.get(S),$(g)?O(g)?g.then(d,d):Wr(g)?l(g[1],g[0],U(g[2]),g[3]):l(g,200,{},"OK"):m.put(S,k)),v(g)){var _=Fn(t.url)?s()[t.xsrfCookieName||e.xsrfCookieName]:void 0;_&&(C[t.xsrfHeaderName||e.xsrfHeaderName]=_),a(t.method,S,i,u,C,t.timeout,t.withCredentials,t.responseType,o(t.eventHandlers),o(t.uploadEventHandlers))}return k}function b(e,t){return t.length>0&&(e+=(-1==e.indexOf("?")?"?":"&")+t),e}var x=u("$http");e.paramSerializer=w(e.paramSerializer)?d.get(e.paramSerializer):e.paramSerializer;var k=[];return r(o,function(e){k.unshift(w(e)?d.get(e):d.invoke(e))}),h.pendingRequests=[],p("get","delete","head","jsonp"),m("post","put","patch"),h.defaults=e,h}]}function Ot(){this.$get=function(){return function(){return new e.XMLHttpRequest}}}function Ft(){this.$get=["$browser","$window","$document","$xhrFactory",function(e,t,n,r){return Nt(e,r,e.defer,t.angular.callbacks,n[0])}]}function Nt(e,t,n,i,o){function a(e,t,n){var r=o.createElement("script"),a=null;return r.type="text/javascript",r.src=e,r.async=!0,a=function(e){di(r,"load",a),di(r,"error",a),o.body.removeChild(r),r=null;var s=-1,u="unknown";e&&("load"!==e.type||i[t].called||(e={type:"error"}),u=e.type,s="error"===e.type?404:200),n&&n(s,u)},fi(r,"load",a),fi(r,"error",a),o.body.appendChild(r),a}return function(o,s,u,l,c,f,d,p,m,g){function y(){x&&x(),k&&k.abort()}function b(t,r,i,o,a){$(_)&&n.cancel(_),x=k=null,t(r,i,o,a),e.$$completeOutstandingRequest(h)}if(e.$$incOutstandingRequestCount(),s=s||e.url(),"jsonp"==Mr(o)){var w="_"+(i.counter++).toString(36);i[w]=function(e){i[w].data=e,i[w].called=!0};var x=a(s.replace("JSON_CALLBACK","angular.callbacks."+w),w,function(e,t){b(l,e,i[w].data,"",t),i[w]=h})}else{var k=t(o,s);k.open(o,s,!0),r(c,function(e,t){$(e)&&k.setRequestHeader(t,e)}),k.onload=function(){var e=k.statusText||"",t="response"in k?k.response:k.responseText,n=1223===k.status?204:k.status;0===n&&(n=t?200:"file"==On(s).protocol?404:0),b(l,n,t,k.getAllResponseHeaders(),e)};var C=function(){b(l,-1,null,null,"")};if(k.onerror=C,k.onabort=C,r(m,function(e,t){k.addEventListener(t,e)}),r(g,function(e,t){k.upload.addEventListener(t,e)}),d&&(k.withCredentials=!0),p)try{k.responseType=p}catch(S){if("json"!==p)throw S}k.send(v(u)?null:u)}if(f>0)var _=n(y,f);else O(f)&&f.then(y)}}function It(){var e="{{",t="}}";this.startSymbol=function(t){return t?(e=t,this):e},this.endSymbol=function(e){return e?(t=e,this):t},this.$get=["$parse","$exceptionHandler","$sce",function(n,r,i){function o(e){return"\\\\\\"+e}function a(n){return n.replace(h,e).replace(p,t)}function s(e){if(null==e)return""; +switch(typeof e){case"string":break;case"number":e=""+e;break;default:e=W(e)}return e}function u(e,t,n,r){var i;return i=e.$watch(function(e){return i(),r(e)},t,n)}function c(o,c,h,p){function g(e){try{return e=O(e),p&&!$(e)?e:s(e)}catch(t){r(no.interr(o,t))}}if(!o.length||-1===o.indexOf(e)){var y;if(!c){var b=a(o);y=m(b),y.exp=o,y.expressions=[],y.$$watchDelegate=u}return y}p=!!p;for(var w,x,k,S=0,_=[],E=[],D=o.length,T=[],M=[];D>S;){if(-1==(w=o.indexOf(e,S))||-1==(x=o.indexOf(t,w+f))){S!==D&&T.push(a(o.substring(S)));break}S!==w&&T.push(a(o.substring(S,w))),k=o.substring(w+f,x),_.push(k),E.push(n(k,g)),S=x+d,M.push(T.length),T.push("")}if(h&&T.length>1&&no.throwNoconcat(o),!c||_.length){var A=function(e){for(var t=0,n=_.length;n>t;t++){if(p&&v(e[t]))return;T[M[t]]=e[t]}return T.join("")},O=function(e){return h?i.getTrusted(h,e):i.valueOf(e)};return l(function(e){var t=0,n=_.length,i=new Array(n);try{for(;n>t;t++)i[t]=E[t](e);return A(i)}catch(a){r(no.interr(o,a))}},{exp:o,expressions:_,$$watchDelegate:function(e,t){var n;return e.$watchGroup(E,function(r,i){var o=A(r);C(t)&&t.call(this,o,r!==i?n:o,e),n=o})}})}}var f=e.length,d=t.length,h=new RegExp(e.replace(/./g,o),"g"),p=new RegExp(t.replace(/./g,o),"g");return c.startSymbol=function(){return e},c.endSymbol=function(){return t},c}]}function Pt(){this.$get=["$rootScope","$window","$q","$$q","$browser",function(e,t,n,r,i){function o(o,s,u,l){function c(){f?o.apply(null,d):o(m)}var f=arguments.length>4,d=f?H(arguments,4):[],h=t.setInterval,p=t.clearInterval,m=0,g=$(l)&&!l,v=(g?r:n).defer(),y=v.promise;return u=$(u)?u:0,y.$$intervalId=h(function(){g?i.defer(c):e.$evalAsync(c),v.notify(m++),u>0&&m>=u&&(v.resolve(m),p(y.$$intervalId),delete a[y.$$intervalId]),g||e.$apply()},s),a[y.$$intervalId]=v,y}var a={};return o.cancel=function(e){return e&&e.$$intervalId in a?(a[e.$$intervalId].reject("canceled"),t.clearInterval(e.$$intervalId),delete a[e.$$intervalId],!0):!1},o}]}function jt(e){for(var t=e.split("/"),n=t.length;n--;)t[n]=te(t[n]);return t.join("/")}function Lt(e,t){var n=On(e);t.$$protocol=n.protocol,t.$$host=n.hostname,t.$$port=f(n.port)||io[n.protocol]||null}function Rt(e,t){var n="/"!==e.charAt(0);n&&(e="/"+e);var r=On(e);t.$$path=decodeURIComponent(n&&"/"===r.pathname.charAt(0)?r.pathname.substring(1):r.pathname),t.$$search=K(r.search),t.$$hash=decodeURIComponent(r.hash),t.$$path&&"/"!=t.$$path.charAt(0)&&(t.$$path="/"+t.$$path)}function Ut(e,t){return 0===t.indexOf(e)?t.substr(e.length):void 0}function Vt(e){var t=e.indexOf("#");return-1==t?e:e.substr(0,t)}function zt(e){return e.replace(/(#.+)|#$/,"$1")}function Ht(e){return e.substr(0,Vt(e).lastIndexOf("/")+1)}function qt(e){return e.substring(0,e.indexOf("/",e.indexOf("//")+2))}function Yt(e,t,n){this.$$html5=!0,n=n||"",Lt(e,this),this.$$parse=function(e){var n=Ut(t,e);if(!w(n))throw oo("ipthprfx",'Invalid url "{0}", missing path prefix "{1}".',e,t);Rt(n,this),this.$$path||(this.$$path="/"),this.$$compose()},this.$$compose=function(){var e=ee(this.$$search),n=this.$$hash?"#"+te(this.$$hash):"";this.$$url=jt(this.$$path)+(e?"?"+e:"")+n,this.$$absUrl=t+this.$$url.substr(1)},this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;var o,a,s;return $(o=Ut(e,r))?(a=o,s=$(o=Ut(n,o))?t+(Ut("/",o)||o):e+a):$(o=Ut(t,r))?s=t+o:t==r+"/"&&(s=t),s&&this.$$parse(s),!!s}}function Wt(e,t,n){Lt(e,this),this.$$parse=function(r){function i(e,t,n){var r,i=/^\/[A-Z]:(\/.*)/;return 0===t.indexOf(n)&&(t=t.replace(n,"")),i.exec(t)?e:(r=i.exec(e),r?r[1]:e)}var o,a=Ut(e,r)||Ut(t,r);v(a)||"#"!==a.charAt(0)?this.$$html5?o=a:(o="",v(a)&&(e=r,this.replace())):(o=Ut(n,a),v(o)&&(o=a)),Rt(o,this),this.$$path=i(this.$$path,o,e),this.$$compose()},this.$$compose=function(){var t=ee(this.$$search),r=this.$$hash?"#"+te(this.$$hash):"";this.$$url=jt(this.$$path)+(t?"?"+t:"")+r,this.$$absUrl=e+(this.$$url?n+this.$$url:"")},this.$$parseLinkUrl=function(t,n){return Vt(e)==Vt(t)?(this.$$parse(t),!0):!1}}function Bt(e,t,n){this.$$html5=!0,Wt.apply(this,arguments),this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;var o,a;return e==Vt(r)?o=r:(a=Ut(t,r))?o=e+n+a:t===r+"/"&&(o=t),o&&this.$$parse(o),!!o},this.$$compose=function(){var t=ee(this.$$search),r=this.$$hash?"#"+te(this.$$hash):"";this.$$url=jt(this.$$path)+(t?"?"+t:"")+r,this.$$absUrl=e+n+this.$$url}}function Gt(e){return function(){return this[e]}}function Zt(e,t){return function(n){return v(n)?this[e]:(this[e]=t(n),this.$$compose(),this)}}function Qt(){var e="",t={enabled:!1,requireBase:!0,rewriteLinks:!0};this.hashPrefix=function(t){return $(t)?(e=t,this):e},this.html5Mode=function(e){return A(e)?(t.enabled=e,this):y(e)?(A(e.enabled)&&(t.enabled=e.enabled),A(e.requireBase)&&(t.requireBase=e.requireBase),A(e.rewriteLinks)&&(t.rewriteLinks=e.rewriteLinks),this):t},this.$get=["$rootScope","$browser","$sniffer","$rootElement","$window",function(n,r,i,o,a){function s(e,t,n){var i=l.url(),o=l.$$state;try{r.url(e,t,n),l.$$state=r.state()}catch(a){throw l.url(i),l.$$state=o,a}}function u(e,t){n.$broadcast("$locationChangeSuccess",l.absUrl(),e,l.$$state,t)}var l,c,f,d=r.baseHref(),h=r.url();if(t.enabled){if(!d&&t.requireBase)throw oo("nobase","$location in HTML5 mode requires a tag to be present!");f=qt(h)+(d||"/"),c=i.history?Yt:Bt}else f=Vt(h),c=Wt;var p=Ht(f);l=new c(f,p,"#"+e),l.$$parseLinkUrl(h,h),l.$$state=r.state();var m=/^\s*(javascript|mailto):/i;o.on("click",function(e){if(t.rewriteLinks&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey&&2!=e.which&&2!=e.button){for(var i=Ir(e.target);"a"!==j(i[0]);)if(i[0]===o[0]||!(i=i.parent())[0])return;var s=i.prop("href"),u=i.attr("href")||i.attr("xlink:href");y(s)&&"[object SVGAnimatedString]"===s.toString()&&(s=On(s.animVal).href),m.test(s)||!s||i.attr("target")||e.isDefaultPrevented()||l.$$parseLinkUrl(s,u)&&(e.preventDefault(),l.absUrl()!=r.url()&&(n.$apply(),a.angular["ff-684208-preventDefault"]=!0))}}),zt(l.absUrl())!=zt(h)&&r.url(l.absUrl(),!0);var g=!0;return r.onUrlChange(function(e,t){return v(Ut(p,e))?void(a.location.href=e):(n.$evalAsync(function(){var r,i=l.absUrl(),o=l.$$state;e=zt(e),l.$$parse(e),l.$$state=t,r=n.$broadcast("$locationChangeStart",e,i,t,o).defaultPrevented,l.absUrl()===e&&(r?(l.$$parse(i),l.$$state=o,s(i,!1,o)):(g=!1,u(i,o)))}),void(n.$$phase||n.$digest()))}),n.$watch(function(){var e=zt(r.url()),t=zt(l.absUrl()),o=r.state(),a=l.$$replace,c=e!==t||l.$$html5&&i.history&&o!==l.$$state;(g||c)&&(g=!1,n.$evalAsync(function(){var t=l.absUrl(),r=n.$broadcast("$locationChangeStart",t,e,l.$$state,o).defaultPrevented;l.absUrl()===t&&(r?(l.$$parse(e),l.$$state=o):(c&&s(t,a,o===l.$$state?null:l.$$state),u(e,o)))})),l.$$replace=!1}),l}]}function Jt(){var e=!0,t=this;this.debugEnabled=function(t){return $(t)?(e=t,this):e},this.$get=["$window",function(n){function i(e){return e instanceof Error&&(e.stack?e=e.message&&-1===e.stack.indexOf(e.message)?"Error: "+e.message+"\n"+e.stack:e.stack:e.sourceURL&&(e=e.message+"\n"+e.sourceURL+":"+e.line)),e}function o(e){var t=n.console||{},o=t[e]||t.log||h,a=!1;try{a=!!o.apply}catch(s){}return a?function(){var e=[];return r(arguments,function(t){e.push(i(t))}),o.apply(t,e)}:function(e,t){o(e,null==t?"":t)}}return{log:o("log"),info:o("info"),warn:o("warn"),error:o("error"),debug:function(){var n=o("debug");return function(){e&&n.apply(t,arguments)}}()}}]}function Xt(e,t){if("__defineGetter__"===e||"__defineSetter__"===e||"__lookupGetter__"===e||"__lookupSetter__"===e||"__proto__"===e)throw so("isecfld","Attempting to access a disallowed field in Angular expressions! Expression: {0}",t);return e}function Kt(e){return e+""}function en(e,t){if(e){if(e.constructor===e)throw so("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",t);if(e.window===e)throw so("isecwindow","Referencing the Window in Angular expressions is disallowed! Expression: {0}",t);if(e.children&&(e.nodeName||e.prop&&e.attr&&e.find))throw so("isecdom","Referencing DOM nodes in Angular expressions is disallowed! Expression: {0}",t);if(e===Object)throw so("isecobj","Referencing Object in Angular expressions is disallowed! Expression: {0}",t)}return e}function tn(e,t){if(e){if(e.constructor===e)throw so("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",t);if(e===uo||e===lo||e===co)throw so("isecff","Referencing call, apply or bind in Angular expressions is disallowed! Expression: {0}",t)}}function nn(e,t){if(e&&(e===0..constructor||e===(!1).constructor||e==="".constructor||e==={}.constructor||e===[].constructor||e===Function.constructor))throw so("isecaf","Assigning to a constructor is disallowed! Expression: {0}",t)}function rn(e,t){return"undefined"!=typeof e?e:t}function on(e,t){return"undefined"==typeof e?t:"undefined"==typeof t?e:e+t}function an(e,t){var n=e(t);return!n.$stateful}function sn(e,t){var n,i;switch(e.type){case mo.Program:n=!0,r(e.body,function(e){sn(e.expression,t),n=n&&e.expression.constant}),e.constant=n;break;case mo.Literal:e.constant=!0,e.toWatch=[];break;case mo.UnaryExpression:sn(e.argument,t),e.constant=e.argument.constant,e.toWatch=e.argument.toWatch;break;case mo.BinaryExpression:sn(e.left,t),sn(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.left.toWatch.concat(e.right.toWatch);break;case mo.LogicalExpression:sn(e.left,t),sn(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.constant?[]:[e];break;case mo.ConditionalExpression:sn(e.test,t),sn(e.alternate,t),sn(e.consequent,t),e.constant=e.test.constant&&e.alternate.constant&&e.consequent.constant,e.toWatch=e.constant?[]:[e];break;case mo.Identifier:e.constant=!1,e.toWatch=[e];break;case mo.MemberExpression:sn(e.object,t),e.computed&&sn(e.property,t),e.constant=e.object.constant&&(!e.computed||e.property.constant),e.toWatch=[e];break;case mo.CallExpression:n=e.filter?an(t,e.callee.name):!1,i=[],r(e.arguments,function(e){sn(e,t),n=n&&e.constant,e.constant||i.push.apply(i,e.toWatch)}),e.constant=n,e.toWatch=e.filter&&an(t,e.callee.name)?i:[e];break;case mo.AssignmentExpression:sn(e.left,t),sn(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=[e];break;case mo.ArrayExpression:n=!0,i=[],r(e.elements,function(e){sn(e,t),n=n&&e.constant,e.constant||i.push.apply(i,e.toWatch)}),e.constant=n,e.toWatch=i;break;case mo.ObjectExpression:n=!0,i=[],r(e.properties,function(e){sn(e.value,t),n=n&&e.value.constant,e.value.constant||i.push.apply(i,e.value.toWatch)}),e.constant=n,e.toWatch=i;break;case mo.ThisExpression:e.constant=!1,e.toWatch=[];break;case mo.LocalsExpression:e.constant=!1,e.toWatch=[]}}function un(e){if(1==e.length){var t=e[0].expression,n=t.toWatch;return 1!==n.length?n:n[0]!==t?n:void 0}}function ln(e){return e.type===mo.Identifier||e.type===mo.MemberExpression}function cn(e){return 1===e.body.length&&ln(e.body[0].expression)?{type:mo.AssignmentExpression,left:e.body[0].expression,right:{type:mo.NGValueParameter},operator:"="}:void 0}function fn(e){return 0===e.body.length||1===e.body.length&&(e.body[0].expression.type===mo.Literal||e.body[0].expression.type===mo.ArrayExpression||e.body[0].expression.type===mo.ObjectExpression)}function dn(e){return e.constant}function hn(e,t){this.astBuilder=e,this.$filter=t}function pn(e,t){this.astBuilder=e,this.$filter=t}function mn(e){return"constructor"==e}function gn(e){return C(e.valueOf)?e.valueOf():vo.call(e)}function vn(){var e,t,n=me(),i=me(),o={"true":!0,"false":!1,"null":null,undefined:void 0};this.addLiteral=function(e,t){o[e]=t},this.setIdentifierFns=function(n,r){return e=n,t=r,this},this.$get=["$filter",function(a){function s(e,t,r){var o,s,l;switch(r=r||b,typeof e){case"string":e=e.trim(),l=e;var g=r?i:n;if(o=g[l],!o){":"===e.charAt(0)&&":"===e.charAt(1)&&(s=!0,e=e.substring(2));var $=r?y:v,w=new po($),x=new go(w,a,$);o=x.parse(e),o.constant?o.$$watchDelegate=p:s?o.$$watchDelegate=o.literal?d:f:o.inputs&&(o.$$watchDelegate=c),r&&(o=u(o)),g[l]=o}return m(o,t);case"function":return m(e,t);default:return m(h,t)}}function u(e){function t(t,n,r,i){var o=b;b=!0;try{return e(t,n,r,i)}finally{b=o}}if(!e)return e;t.$$watchDelegate=e.$$watchDelegate,t.assign=u(e.assign),t.constant=e.constant,t.literal=e.literal;for(var n=0;e.inputs&&nf;f++)u[f]=l,c[f]=null;return e.$watch(function(e){for(var t=!1,n=0,i=a.length;i>n;n++){var s=a[n](e);(t||(t=!l(s,u[n])))&&(c[n]=s,u[n]=s&&gn(s))}return t&&(o=r(e,void 0,void 0,c)),o},t,n,i)}function f(e,t,n,r){var i,o;return i=e.$watch(function(e){return r(e)},function(e,n,r){o=e,C(t)&&t.apply(this,arguments),$(e)&&r.$$postDigest(function(){$(o)&&i()})},n)}function d(e,t,n,i){function o(e){var t=!0;return r(e,function(e){$(e)||(t=!1)}),t}var a,s;return a=e.$watch(function(e){return i(e)},function(e,n,r){s=e,C(t)&&t.call(this,e,n,r),o(e)&&r.$$postDigest(function(){o(s)&&a()})},n)}function p(e,t,n,r){var i;return i=e.$watch(function(e){return i(),r(e)},t,n)}function m(e,t){if(!t)return e;var n=e.$$watchDelegate,r=!1,i=n!==d&&n!==f,o=i?function(n,i,o,a){var s=r&&a?a[0]:e(n,i,o,a);return t(s,n,i)}:function(n,r,i,o){var a=e(n,r,i,o),s=t(a,n,r);return $(a)?s:a};return e.$$watchDelegate&&e.$$watchDelegate!==c?o.$$watchDelegate=e.$$watchDelegate:t.$stateful||(o.$$watchDelegate=c,r=!e.inputs,o.inputs=e.inputs?e.inputs:[e]),o}var g=Qr().noUnsafeEval,v={csp:g,expensiveChecks:!1,literals:R(o),isIdentifierStart:C(e)&&e,isIdentifierContinue:C(t)&&t},y={csp:g,expensiveChecks:!0,literals:R(o),isIdentifierStart:C(e)&&e,isIdentifierContinue:C(t)&&t},b=!1;return s.$$runningExpensiveChecks=function(){return b},s}]}function $n(){this.$get=["$rootScope","$exceptionHandler",function(e,t){return bn(function(t){e.$evalAsync(t)},t)}]}function yn(){this.$get=["$browser","$exceptionHandler",function(e,t){return bn(function(t){e.defer(t)},t)}]}function bn(e,n){function i(){this.$$state={status:0}}function o(e,t){return function(n){t.call(e,n)}}function a(e){var t,r,i;i=e.pending,e.processScheduled=!1,e.pending=void 0;for(var o=0,a=i.length;a>o;++o){r=i[o][0],t=i[o][e.status];try{C(t)?r.resolve(t(e.value)):1===e.status?r.resolve(e.value):r.reject(e.value)}catch(s){r.reject(s),n(s)}}}function s(t){!t.processScheduled&&t.pending&&(t.processScheduled=!0,e(function(){a(t)}))}function u(){this.promise=new i}function c(e){var t=new u,n=0,i=Wr(e)?[]:{};return r(e,function(e,r){n++,g(e).then(function(e){i.hasOwnProperty(r)||(i[r]=e,--n||t.resolve(i))},function(e){i.hasOwnProperty(r)||t.reject(e)})}),0===n&&t.resolve(i),t.promise}var f=t("$q",TypeError),d=function(){var e=new u;return e.resolve=o(e,e.resolve),e.reject=o(e,e.reject),e.notify=o(e,e.notify),e};l(i.prototype,{then:function(e,t,n){if(v(e)&&v(t)&&v(n))return this;var r=new u;return this.$$state.pending=this.$$state.pending||[],this.$$state.pending.push([r,e,t,n]),this.$$state.status>0&&s(this.$$state),r.promise},"catch":function(e){return this.then(null,e)},"finally":function(e,t){return this.then(function(t){return m(t,!0,e)},function(t){return m(t,!1,e)},t)}}),l(u.prototype,{resolve:function(e){this.promise.$$state.status||(e===this.promise?this.$$reject(f("qcycle","Expected promise to be resolved with value other than itself '{0}'",e)):this.$$resolve(e))},$$resolve:function(e){function t(e){u||(u=!0,a.$$resolve(e))}function r(e){u||(u=!0,a.$$reject(e))}var i,a=this,u=!1;try{(y(e)||C(e))&&(i=e&&e.then),C(i)?(this.promise.$$state.status=-1,i.call(e,t,r,o(this,this.notify))):(this.promise.$$state.value=e,this.promise.$$state.status=1,s(this.promise.$$state))}catch(l){r(l),n(l)}},reject:function(e){this.promise.$$state.status||this.$$reject(e)},$$reject:function(e){this.promise.$$state.value=e,this.promise.$$state.status=2,s(this.promise.$$state)},notify:function(t){var r=this.promise.$$state.pending;this.promise.$$state.status<=0&&r&&r.length&&e(function(){for(var e,i,o=0,a=r.length;a>o;o++){i=r[o][0],e=r[o][3];try{i.notify(C(e)?e(t):t)}catch(s){n(s)}}})}});var h=function(e){var t=new u;return t.reject(e),t.promise},p=function(e,t){var n=new u;return t?n.resolve(e):n.reject(e),n.promise},m=function(e,t,n){var r=null;try{C(n)&&(r=n())}catch(i){return p(i,!1)}return O(r)?r.then(function(){return p(e,t)},function(e){return p(e,!1)}):p(e,t)},g=function(e,t,n,r){var i=new u;return i.resolve(e),i.promise.then(t,n,r)},$=g,b=function(e){function t(e){r.resolve(e)}function n(e){r.reject(e)}if(!C(e))throw f("norslvr","Expected resolverFn, got '{0}'",e);var r=new u;return e(t,n),r.promise};return b.prototype=i.prototype,b.defer=d,b.reject=h,b.when=g,b.resolve=$,b.all=c,b}function wn(){this.$get=["$window","$timeout",function(e,t){var n=e.requestAnimationFrame||e.webkitRequestAnimationFrame,r=e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.webkitCancelRequestAnimationFrame,i=!!n,o=i?function(e){var t=n(e);return function(){r(t)}}:function(e){var n=t(e,16.66,!1);return function(){t.cancel(n)}};return o.supported=i,o}]}function xn(){function e(e){function t(){this.$$watchers=this.$$nextSibling=this.$$childHead=this.$$childTail=null,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$id=a(),this.$$ChildScope=null}return t.prototype=e,t}var i=10,o=t("$rootScope"),s=null,u=null;this.digestTtl=function(e){return arguments.length&&(i=e),i},this.$get=["$exceptionHandler","$parse","$browser",function(t,l,c){function f(e){e.currentScope.$$destroyed=!0}function d(e){9===Nr&&(e.$$childHead&&d(e.$$childHead),e.$$nextSibling&&d(e.$$nextSibling)),e.$parent=e.$$nextSibling=e.$$prevSibling=e.$$childHead=e.$$childTail=e.$root=e.$$watchers=null}function p(){this.$id=a(),this.$$phase=this.$parent=this.$$watchers=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=null,this.$root=this,this.$$destroyed=!1,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$$isolateBindings=null}function m(e){if(S.$$phase)throw o("inprog","{0} already in progress",S.$$phase);S.$$phase=e}function g(){S.$$phase=null}function $(e,t){do e.$$watchersCount+=t;while(e=e.$parent)}function b(e,t,n){do e.$$listenerCount[n]-=t,0===e.$$listenerCount[n]&&delete e.$$listenerCount[n];while(e=e.$parent)}function w(){}function x(){for(;D.length;)try{D.shift()()}catch(e){t(e)}u=null}function k(){null===u&&(u=c.defer(function(){S.$apply(x)}))}p.prototype={constructor:p,$new:function(t,n){var r;return n=n||this,t?(r=new p,r.$root=this.$root):(this.$$ChildScope||(this.$$ChildScope=e(this)),r=new this.$$ChildScope),r.$parent=n,r.$$prevSibling=n.$$childTail,n.$$childHead?(n.$$childTail.$$nextSibling=r,n.$$childTail=r):n.$$childHead=n.$$childTail=r,(t||n!=this)&&r.$on("$destroy",f),r},$watch:function(e,t,n,r){var i=l(e);if(i.$$watchDelegate)return i.$$watchDelegate(this,t,n,i,e);var o=this,a=o.$$watchers,u={fn:t,last:w,get:i,exp:r||e,eq:!!n};return s=null,C(t)||(u.fn=h),a||(a=o.$$watchers=[]),a.unshift(u),$(this,1),function(){L(a,u)>=0&&$(o,-1),s=null}},$watchGroup:function(e,t){function n(){u=!1,l?(l=!1,t(o,o,s)):t(o,i,s)}var i=new Array(e.length),o=new Array(e.length),a=[],s=this,u=!1,l=!0;if(!e.length){var c=!0;return s.$evalAsync(function(){c&&t(o,o,s)}),function(){c=!1}}return 1===e.length?this.$watch(e[0],function(e,n,r){o[0]=e,i[0]=n,t(o,e===n?o:i,r)}):(r(e,function(e,t){var r=s.$watch(e,function(e,r){o[t]=e,i[t]=r,u||(u=!0,s.$evalAsync(n))});a.push(r)}),function(){for(;a.length;)a.shift()()})},$watchCollection:function(e,t){function r(e){o=e;var t,r,i,s,u;if(!v(o)){if(y(o))if(n(o)){a!==h&&(a=h,g=a.length=0,f++),t=o.length,g!==t&&(f++,a.length=g=t);for(var l=0;t>l;l++)u=a[l],s=o[l],i=u!==u&&s!==s,i||u===s||(f++,a[l]=s)}else{a!==p&&(a=p={},g=0,f++),t=0;for(r in o)Tr.call(o,r)&&(t++,s=o[r],u=a[r],r in a?(i=u!==u&&s!==s,i||u===s||(f++,a[r]=s)):(g++,a[r]=s,f++));if(g>t){f++;for(r in a)Tr.call(o,r)||(g--,delete a[r])}}else a!==o&&(a=o,f++);return f}}function i(){if(m?(m=!1,t(o,o,u)):t(o,s,u),c)if(y(o))if(n(o)){s=new Array(o.length);for(var e=0;e1,f=0,d=l(e,r),h=[],p={},m=!0,g=0;return this.$watch(d,i)},$digest:function(){var e,n,r,a,l,f,d,h,p,v,$,y,b=i,k=this,D=[];m("$digest"),c.$$checkUrlChange(),this===S&&null!==u&&(c.defer.cancel(u),x()),s=null;do{for(h=!1,v=k;_.length;){try{y=_.shift(),y.scope.$eval(y.expression,y.locals)}catch(T){t(T)}s=null}e:do{if(f=v.$$watchers)for(d=f.length;d--;)try{if(e=f[d])if(l=e.get,(n=l(v))===(r=e.last)||(e.eq?V(n,r):"number"==typeof n&&"number"==typeof r&&isNaN(n)&&isNaN(r))){if(e===s){h=!1;break e}}else h=!0,s=e,e.last=e.eq?R(n,null):n,a=e.fn,a(n,r===w?n:r,v),5>b&&($=4-b,D[$]||(D[$]=[]),D[$].push({msg:C(e.exp)?"fn: "+(e.exp.name||e.exp.toString()):e.exp,newVal:n,oldVal:r}))}catch(T){t(T)}if(!(p=v.$$watchersCount&&v.$$childHead||v!==k&&v.$$nextSibling))for(;v!==k&&!(p=v.$$nextSibling);)v=v.$parent}while(v=p);if((h||_.length)&&!b--)throw g(),o("infdig","{0} $digest() iterations reached. Aborting!\nWatchers fired in the last 5 iterations: {1}",i,D)}while(h||_.length);for(g();E.length;)try{E.shift()()}catch(T){t(T)}},$destroy:function(){if(!this.$$destroyed){var e=this.$parent;this.$broadcast("$destroy"),this.$$destroyed=!0,this===S&&c.$$applicationDestroyed(),$(this,-this.$$watchersCount);for(var t in this.$$listenerCount)b(this,this.$$listenerCount[t],t);e&&e.$$childHead==this&&(e.$$childHead=this.$$nextSibling),e&&e.$$childTail==this&&(e.$$childTail=this.$$prevSibling),this.$$prevSibling&&(this.$$prevSibling.$$nextSibling=this.$$nextSibling),this.$$nextSibling&&(this.$$nextSibling.$$prevSibling=this.$$prevSibling),this.$destroy=this.$digest=this.$apply=this.$evalAsync=this.$applyAsync=h,this.$on=this.$watch=this.$watchGroup=function(){return h},this.$$listeners={},this.$$nextSibling=null,d(this)}},$eval:function(e,t){return l(e)(this,t)},$evalAsync:function(e,t){S.$$phase||_.length||c.defer(function(){_.length&&S.$digest()}),_.push({scope:this,expression:l(e),locals:t})},$$postDigest:function(e){E.push(e)},$apply:function(e){try{m("$apply");try{return this.$eval(e)}finally{g()}}catch(n){t(n)}finally{try{S.$digest()}catch(n){throw t(n),n}}},$applyAsync:function(e){function t(){n.$eval(e)}var n=this;e&&D.push(t),e=l(e),k()},$on:function(e,t){var n=this.$$listeners[e];n||(this.$$listeners[e]=n=[]),n.push(t);var r=this;do r.$$listenerCount[e]||(r.$$listenerCount[e]=0),r.$$listenerCount[e]++;while(r=r.$parent);var i=this;return function(){var r=n.indexOf(t);-1!==r&&(n[r]=null,b(i,1,e))}},$emit:function(e,n){var r,i,o,a=[],s=this,u=!1,l={name:e,targetScope:s,stopPropagation:function(){u=!0},preventDefault:function(){l.defaultPrevented=!0},defaultPrevented:!1},c=z([l],arguments,1);do{for(r=s.$$listeners[e]||a,l.currentScope=s,i=0,o=r.length;o>i;i++)if(r[i])try{r[i].apply(null,c)}catch(f){t(f)}else r.splice(i,1),i--,o--;if(u)return l.currentScope=null,l;s=s.$parent}while(s);return l.currentScope=null,l},$broadcast:function(e,n){var r=this,i=r,o=r,a={name:e,targetScope:r,preventDefault:function(){a.defaultPrevented=!0},defaultPrevented:!1};if(!r.$$listenerCount[e])return a;for(var s,u,l,c=z([a],arguments,1);i=o;){for(a.currentScope=i,s=i.$$listeners[e]||[],u=0,l=s.length;l>u;u++)if(s[u])try{s[u].apply(null,c)}catch(f){t(f)}else s.splice(u,1),u--,l--;if(!(o=i.$$listenerCount[e]&&i.$$childHead||i!==r&&i.$$nextSibling))for(;i!==r&&!(o=i.$$nextSibling);)i=i.$parent}return a.currentScope=null,a}};var S=new p,_=S.$$asyncQueue=[],E=S.$$postDigestQueue=[],D=S.$$applyAsyncQueue=[];return S}]}function kn(){var e=/^\s*(https?|ftp|mailto|tel|file):/,t=/^\s*((https?|ftp|file|blob):|data:image\/)/;this.aHrefSanitizationWhitelist=function(t){return $(t)?(e=t,this):e},this.imgSrcSanitizationWhitelist=function(e){return $(e)?(t=e,this):t},this.$get=function(){return function(n,r){var i,o=r?t:e;return i=On(n).href,""===i||i.match(o)?n:"unsafe:"+i}}}function Cn(e){if("self"===e)return e;if(w(e)){if(e.indexOf("***")>-1)throw $o("iwcard","Illegal sequence *** in string matcher. String: {0}",e);return e=Zr(e).replace("\\*\\*",".*").replace("\\*","[^:/.?&;]*"),new RegExp("^"+e+"$")}if(S(e))return new RegExp("^"+e.source+"$");throw $o("imatcher",'Matchers may only be "self", string patterns or RegExp objects')}function Sn(e){var t=[];return $(e)&&r(e,function(e){t.push(Cn(e))}),t}function _n(){this.SCE_CONTEXTS=yo;var e=["self"],t=[];this.resourceUrlWhitelist=function(t){return arguments.length&&(e=Sn(t)),e},this.resourceUrlBlacklist=function(e){return arguments.length&&(t=Sn(e)),t},this.$get=["$injector",function(n){function r(e,t){return"self"===e?Fn(t):!!e.exec(t.href)}function i(n){var i,o,a=On(n.toString()),s=!1;for(i=0,o=e.length;o>i;i++)if(r(e[i],a)){s=!0;break}if(s)for(i=0,o=t.length;o>i;i++)if(r(t[i],a)){s=!1;break}return s}function o(e){var t=function(e){this.$$unwrapTrustedValue=function(){return e}};return e&&(t.prototype=new e),t.prototype.valueOf=function(){return this.$$unwrapTrustedValue()},t.prototype.toString=function(){return this.$$unwrapTrustedValue().toString()},t}function a(e,t){var n=f.hasOwnProperty(e)?f[e]:null;if(!n)throw $o("icontext","Attempted to trust a value in invalid context. Context: {0}; Value: {1}",e,t);if(null===t||v(t)||""===t)return t;if("string"!=typeof t)throw $o("itype","Attempted to trust a non-string value in a content requiring a string: Context: {0}",e);return new n(t)}function s(e){return e instanceof c?e.$$unwrapTrustedValue():e}function u(e,t){if(null===t||v(t)||""===t)return t;var n=f.hasOwnProperty(e)?f[e]:null;if(n&&t instanceof n)return t.$$unwrapTrustedValue();if(e===yo.RESOURCE_URL){if(i(t))return t;throw $o("insecurl","Blocked loading resource from url not allowed by $sceDelegate policy. URL: {0}",t.toString())}if(e===yo.HTML)return l(t);throw $o("unsafe","Attempting to use an unsafe value in a safe context.")}var l=function(e){throw $o("unsafe","Attempting to use an unsafe value in a safe context.")};n.has("$sanitize")&&(l=n.get("$sanitize"));var c=o(),f={};return f[yo.HTML]=o(c),f[yo.CSS]=o(c),f[yo.URL]=o(c),f[yo.JS]=o(c),f[yo.RESOURCE_URL]=o(f[yo.URL]),{trustAs:a,getTrusted:u,valueOf:s}}]}function En(){var e=!0;this.enabled=function(t){return arguments.length&&(e=!!t),e},this.$get=["$parse","$sceDelegate",function(t,n){if(e&&8>Nr)throw $o("iequirks","Strict Contextual Escaping does not support Internet Explorer version < 11 in quirks mode. You can fix this by adding the text to the top of your HTML document. See http://docs.angularjs.org/api/ng.$sce for more information.");var i=U(yo);i.isEnabled=function(){return e},i.trustAs=n.trustAs,i.getTrusted=n.getTrusted,i.valueOf=n.valueOf,e||(i.trustAs=i.getTrusted=function(e,t){return t},i.valueOf=p),i.parseAs=function(e,n){var r=t(n);return r.literal&&r.constant?r:t(n,function(t){return i.getTrusted(e,t)})};var o=i.parseAs,a=i.getTrusted,s=i.trustAs;return r(yo,function(e,t){var n=Mr(t);i[we("parse_as_"+n)]=function(t){return o(e,t)},i[we("get_trusted_"+n)]=function(t){return a(e,t)},i[we("trust_as_"+n)]=function(t){return s(e,t)}}),i}]}function Dn(){this.$get=["$window","$document",function(e,t){var n,r,i={},o=e.chrome&&e.chrome.app&&e.chrome.app.runtime,a=!o&&e.history&&e.history.pushState,s=f((/android (\d+)/.exec(Mr((e.navigator||{}).userAgent))||[])[1]),u=/Boxee/i.test((e.navigator||{}).userAgent),l=t[0]||{},c=/^(Moz|webkit|ms)(?=[A-Z])/,d=l.body&&l.body.style,h=!1,p=!1;if(d){for(var m in d)if(r=c.exec(m)){n=r[0],n=n.substr(0,1).toUpperCase()+n.substr(1);break}n||(n="WebkitOpacity"in d&&"webkit"),h=!!("transition"in d||n+"Transition"in d),p=!!("animation"in d||n+"Animation"in d),!s||h&&p||(h=w(d.webkitTransition),p=w(d.webkitAnimation))}return{history:!(!a||4>s||u),hasEvent:function(e){if("input"===e&&11>=Nr)return!1;if(v(i[e])){var t=l.createElement("div");i[e]="on"+e in t}return i[e]},csp:Qr(),vendorPrefix:n,transitions:h,animations:p,android:s}}]}function Tn(){var e;this.httpOptions=function(t){return t?(e=t,this):e},this.$get=["$templateCache","$http","$q","$sce",function(t,n,r,i){function o(a,s){function u(e){if(!s)throw bo("tpload","Failed to load template: {0} (HTTP status: {1} {2})",a,e.status,e.statusText);return r.reject(e)}o.totalPendingRequests++,w(a)&&t.get(a)||(a=i.getTrustedResourceUrl(a));var c=n.defaults&&n.defaults.transformResponse;return Wr(c)?c=c.filter(function(e){return e!==St}):c===St&&(c=null),n.get(a,l({cache:t,transformResponse:c},e))["finally"](function(){o.totalPendingRequests--}).then(function(e){return t.put(a,e.data),e.data},u)}return o.totalPendingRequests=0,o}]}function Mn(){this.$get=["$rootScope","$browser","$location",function(e,t,n){var i={};return i.findBindings=function(e,t,n){var i=e.getElementsByClassName("ng-binding"),o=[];return r(i,function(e){var i=qr.element(e).data("$binding");i&&r(i,function(r){if(n){var i=new RegExp("(^|\\s)"+Zr(t)+"(\\s|\\||$)");i.test(r)&&o.push(e)}else-1!=r.indexOf(t)&&o.push(e)})}),o},i.findModels=function(e,t,n){for(var r=["ng-","data-ng-","ng\\:"],i=0;i0&&(u=t(o.substring(0,s)),v(r[u])&&(r[u]=t(o.substring(s+1))));return r}}function Pn(){this.$get=In}function jn(e){function t(i,o){if(y(i)){var a={};return r(i,function(e,n){a[n]=t(n,e)}),a}return e.factory(i+n,o)}var n="Filter";this.register=t,this.$get=["$injector",function(e){return function(t){return e.get(t+n)}}],t("currency",zn),t("date",rr),t("filter",Ln),t("json",ir),t("limitTo",or),t("lowercase",To),t("number",Hn),t("orderBy",ar),t("uppercase",Mo)}function Ln(){return function(e,r,i){if(!n(e)){if(null==e)return e;throw t("filter")("notarray","Expected array but received: {0}",e)}var o,a,s=Vn(r);switch(s){case"function":o=r;break;case"boolean":case"null":case"number":case"string":a=!0;case"object":o=Rn(r,i,a);break;default:return e}return Array.prototype.filter.call(e,o)}}function Rn(e,t,n){var r,i=y(e)&&"$"in e;return t===!0?t=V:C(t)||(t=function(e,t){return v(e)?!1:null===e||null===t?e===t:y(t)||y(e)&&!g(e)?!1:(e=Mr(""+e),t=Mr(""+t),-1!==e.indexOf(t))}),r=function(r){return i&&!y(r)?Un(r,e.$,t,!1):Un(r,e,t,n)}}function Un(e,t,n,r,i){var o=Vn(e),a=Vn(t);if("string"===a&&"!"===t.charAt(0))return!Un(e,t.substring(1),n,r);if(Wr(e))return e.some(function(e){return Un(e,t,n,r)});switch(o){case"object": +var s;if(r){for(s in e)if("$"!==s.charAt(0)&&Un(e[s],t,n,!0))return!0;return i?!1:Un(e,t,n,!1)}if("object"===a){for(s in t){var u=t[s];if(!C(u)&&!v(u)){var l="$"===s,c=l?e:e[s];if(!Un(c,u,n,l,l))return!1}}return!0}return n(e,t);case"function":return!1;default:return n(e,t)}}function Vn(e){return null===e?"null":typeof e}function zn(e){var t=e.NUMBER_FORMATS;return function(e,n,r){return v(n)&&(n=t.CURRENCY_SYM),v(r)&&(r=t.PATTERNS[1].maxFrac),null==e?e:Wn(e,t.PATTERNS[1],t.GROUP_SEP,t.DECIMAL_SEP,r).replace(/\u00A4/g,n)}}function Hn(e){var t=e.NUMBER_FORMATS;return function(e,n){return null==e?e:Wn(e,t.PATTERNS[0],t.GROUP_SEP,t.DECIMAL_SEP,n)}}function qn(e){var t,n,r,i,o,a=0;for((n=e.indexOf(Co))>-1&&(e=e.replace(Co,"")),(r=e.search(/e/i))>0?(0>n&&(n=r),n+=+e.slice(r+1),e=e.substring(0,r)):0>n&&(n=e.length),r=0;e.charAt(r)==So;r++);if(r==(o=e.length))t=[0],n=1;else{for(o--;e.charAt(o)==So;)o--;for(n-=r,t=[],i=0;o>=r;r++,i++)t[i]=+e.charAt(r)}return n>ko&&(t=t.splice(0,ko-1),a=n-1,n=1),{d:t,e:a,i:n}}function Yn(e,t,n,r){var i=e.d,o=i.length-e.i;t=v(t)?Math.min(Math.max(n,o),r):+t;var a=t+e.i,s=i[a];if(a>0){i.splice(Math.max(e.i,a));for(var u=a;ul;l++)i[l]=0}if(s>=5)if(0>a-1){for(var c=0;c>a;c--)i.unshift(0),e.i++;i.unshift(1),e.i++}else i[a-1]++;for(;of;)c.unshift(0),f++;f>0?h=c.splice(f):(h=c,c=[0]);var p=[];for(c.length>=t.lgSize&&p.unshift(c.splice(-t.lgSize).join(""));c.length>t.gSize;)p.unshift(c.splice(-t.gSize).join(""));c.length&&p.unshift(c.join("")),l=p.join(n),h.length&&(l+=r+h.join("")),d&&(l+="e+"+d)}return 0>e&&!s?t.negPre+l+t.negSuf:t.posPre+l+t.posSuf}function Bn(e,t,n,r){var i="";for((0>e||r&&0>=e)&&(r?e=-e+1:(e=-e,i="-")),e=""+e;e.length0||a>-n)&&(a+=n),0===a&&-12==n&&(a=12),Bn(a,t,r,i)}}function Zn(e,t,n){return function(r,i){var o=r["get"+e](),a=(n?"STANDALONE":"")+(t?"SHORT":""),s=Ar(a+e);return i[s][o]}}function Qn(e,t,n){var r=-1*n,i=r>=0?"+":"";return i+=Bn(Math[r>0?"floor":"ceil"](r/60),2)+Bn(Math.abs(r%60),2)}function Jn(e){var t=new Date(e,0,1).getDay();return new Date(e,0,(4>=t?5:12)-t)}function Xn(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate()+(4-e.getDay()))}function Kn(e){return function(t){var n=Jn(t.getFullYear()),r=Xn(t),i=+r-+n,o=1+Math.round(i/6048e5);return Bn(o,e)}}function er(e,t){return e.getHours()<12?t.AMPMS[0]:t.AMPMS[1]}function tr(e,t){return e.getFullYear()<=0?t.ERAS[0]:t.ERAS[1]}function nr(e,t){return e.getFullYear()<=0?t.ERANAMES[0]:t.ERANAMES[1]}function rr(e){function t(e){var t;if(t=e.match(n)){var r=new Date(0),i=0,o=0,a=t[8]?r.setUTCFullYear:r.setFullYear,s=t[8]?r.setUTCHours:r.setHours;t[9]&&(i=f(t[9]+t[10]),o=f(t[9]+t[11])),a.call(r,f(t[1]),f(t[2])-1,f(t[3]));var u=f(t[4]||0)-i,l=f(t[5]||0)-o,c=f(t[6]||0),d=Math.round(1e3*parseFloat("0."+(t[7]||0)));return s.call(r,u,l,c,d),r}return e}var n=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;return function(n,i,o){var a,s,u="",l=[];if(i=i||"mediumDate",i=e.DATETIME_FORMATS[i]||i,w(n)&&(n=Do.test(n)?f(n):t(n)),x(n)&&(n=new Date(n)),!k(n)||!isFinite(n.getTime()))return n;for(;i;)s=Eo.exec(i),s?(l=z(l,s,1),i=l.pop()):(l.push(i),i=null);var c=n.getTimezoneOffset();return o&&(c=G(o,c),n=Q(n,o,!0)),r(l,function(t){a=_o[t],u+=a?a(n,e.DATETIME_FORMATS,c):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}}function ir(){return function(e,t){return v(t)&&(t=2),W(e,t)}}function or(){return function(e,t,n){return t=Math.abs(Number(t))===1/0?Number(t):f(t),isNaN(t)?e:(x(e)&&(e=e.toString()),Wr(e)||w(e)?(n=!n||isNaN(n)?0:f(n),n=0>n?Math.max(0,e.length+n):n,t>=0?e.slice(n,n+t):0===n?e.slice(t,e.length):e.slice(Math.max(0,n+t),n)):e)}}function ar(e){function r(t,n){return n=n?-1:1,t.map(function(t){var r=1,i=p;if(C(t))i=t;else if(w(t)&&("+"!=t.charAt(0)&&"-"!=t.charAt(0)||(r="-"==t.charAt(0)?-1:1,t=t.substring(1)),""!==t&&(i=e(t),i.constant))){var o=i();i=function(e){return e[o]}}return{get:i,descending:r*n}})}function i(e){switch(typeof e){case"number":case"boolean":case"string":return!0;default:return!1}}function o(e,t){return"function"==typeof e.valueOf&&(e=e.valueOf(),i(e))?e:g(e)&&(e=e.toString(),i(e))?e:t}function a(e,t){var n=typeof e;return null===e?(n="string",e="null"):"string"===n?e=e.toLowerCase():"object"===n&&(e=o(e,t)),{value:e,type:n}}function s(e,t){var n=0;return e.type===t.type?e.value!==t.value&&(n=e.valuer&&!(n=s(e.predicateValues[r],t.predicateValues[r])*c[r].descending);++r);return n}if(null==e)return e;if(!n(e))throw t("orderBy")("notarray","Expected array but received: {0}",e);Wr(i)||(i=[i]),0===i.length&&(i=["+"]);var c=r(i,o);c.push({get:function(){return{}},descending:o?-1:1});var f=Array.prototype.map.call(e,u);return f.sort(l),e=f.map(function(e){return e.value})}}function sr(e){return C(e)&&(e={link:e}),e.restrict=e.restrict||"AC",m(e)}function ur(e,t){e.$name=t}function lr(e,t,n,i,o){var a=this,s=[];a.$error={},a.$$success={},a.$pending=void 0,a.$name=o(t.name||t.ngForm||"")(n),a.$dirty=!1,a.$pristine=!0,a.$valid=!0,a.$invalid=!1,a.$submitted=!1,a.$$parentForm=Fo,a.$rollbackViewValue=function(){r(s,function(e){e.$rollbackViewValue()})},a.$commitViewValue=function(){r(s,function(e){e.$commitViewValue()})},a.$addControl=function(e){de(e.$name,"input"),s.push(e),e.$name&&(a[e.$name]=e),e.$$parentForm=a},a.$$renameControl=function(e,t){var n=e.$name;a[n]===e&&delete a[n],a[t]=e,e.$name=t},a.$removeControl=function(e){e.$name&&a[e.$name]===e&&delete a[e.$name],r(a.$pending,function(t,n){a.$setValidity(n,null,e)}),r(a.$error,function(t,n){a.$setValidity(n,null,e)}),r(a.$$success,function(t,n){a.$setValidity(n,null,e)}),L(s,e),e.$$parentForm=Fo},Cr({ctrl:this,$element:e,set:function(e,t,n){var r=e[t];if(r){var i=r.indexOf(n);-1===i&&r.push(n)}else e[t]=[n]},unset:function(e,t,n){var r=e[t];r&&(L(r,n),0===r.length&&delete e[t])},$animate:i}),a.$setDirty=function(){i.removeClass(e,va),i.addClass(e,$a),a.$dirty=!0,a.$pristine=!1,a.$$parentForm.$setDirty()},a.$setPristine=function(){i.setClass(e,va,$a+" "+No),a.$dirty=!1,a.$pristine=!0,a.$submitted=!1,r(s,function(e){e.$setPristine()})},a.$setUntouched=function(){r(s,function(e){e.$setUntouched()})},a.$setSubmitted=function(){i.addClass(e,No),a.$submitted=!0,a.$$parentForm.$setSubmitted()}}function cr(e){e.$formatters.push(function(t){return e.$isEmpty(t)?t:t.toString()})}function fr(e,t,n,r,i,o){dr(e,t,n,r,i,o),cr(r)}function dr(e,t,n,r,i,o){var a=Mr(t[0].type);if(!i.android){var s=!1;t.on("compositionstart",function(){s=!0}),t.on("compositionend",function(){s=!1,l()})}var u,l=function(e){if(u&&(o.defer.cancel(u),u=null),!s){var i=t.val(),l=e&&e.type;"password"===a||n.ngTrim&&"false"===n.ngTrim||(i=Gr(i)),(r.$viewValue!==i||""===i&&r.$$hasNativeValidators)&&r.$setViewValue(i,l)}};if(i.hasEvent("input"))t.on("input",l);else{var c=function(e,t,n){u||(u=o.defer(function(){u=null,t&&t.value===n||l(e)}))};t.on("keydown",function(e){var t=e.keyCode;91===t||t>15&&19>t||t>=37&&40>=t||c(e,this,this.value)}),i.hasEvent("paste")&&t.on("paste cut",c)}t.on("change",l),Go[a]&&r.$$hasNativeValidators&&a===n.type&&t.on(Bo,function(e){if(!u){var t=this[Dr],n=t.badInput,r=t.typeMismatch;u=o.defer(function(){u=null,t.badInput===n&&t.typeMismatch===r||l(e)})}}),r.$render=function(){var e=r.$isEmpty(r.$viewValue)?"":r.$viewValue;t.val()!==e&&t.val(e)}}function hr(e,t){if(k(e))return e;if(w(e)){qo.lastIndex=0;var n=qo.exec(e);if(n){var r=+n[1],i=+n[2],o=0,a=0,s=0,u=0,l=Jn(r),c=7*(i-1);return t&&(o=t.getHours(),a=t.getMinutes(),s=t.getSeconds(),u=t.getMilliseconds()),new Date(r,0,l.getDate()+c,o,a,s,u)}}return NaN}function pr(e,t){return function(n,i){var o,a;if(k(n))return n;if(w(n)){if('"'==n.charAt(0)&&'"'==n.charAt(n.length-1)&&(n=n.substring(1,n.length-1)),Lo.test(n))return new Date(n);if(e.lastIndex=0,o=e.exec(n))return o.shift(),a=i?{yyyy:i.getFullYear(),MM:i.getMonth()+1,dd:i.getDate(),HH:i.getHours(),mm:i.getMinutes(),ss:i.getSeconds(),sss:i.getMilliseconds()/1e3}:{yyyy:1970,MM:1,dd:1,HH:0,mm:0,ss:0,sss:0},r(o,function(e,n){n=m},a.$observe("min",function(e){m=d(e),s.$validate()})}if($(a.max)||a.ngMax){var g;s.$validators.max=function(e){return!f(e)||v(g)||n(e)<=g},a.$observe("max",function(e){g=d(e),s.$validate()})}}}function gr(e,t,n,r){var i=t[0],o=r.$$hasNativeValidators=y(i.validity);o&&r.$parsers.push(function(e){var n=t.prop(Dr)||{};return n.badInput||n.typeMismatch?void 0:e})}function vr(e,t,n,r,i,o){if(gr(e,t,n,r),dr(e,t,n,r,i,o),r.$$parserName="number",r.$parsers.push(function(e){return r.$isEmpty(e)?null:Vo.test(e)?parseFloat(e):void 0}),r.$formatters.push(function(e){if(!r.$isEmpty(e)){if(!x(e))throw Ca("numfmt","Expected `{0}` to be a number",e);e=e.toString()}return e}),$(n.min)||n.ngMin){var a;r.$validators.min=function(e){return r.$isEmpty(e)||v(a)||e>=a},n.$observe("min",function(e){$(e)&&!x(e)&&(e=parseFloat(e,10)),a=x(e)&&!isNaN(e)?e:void 0,r.$validate()})}if($(n.max)||n.ngMax){var s;r.$validators.max=function(e){return r.$isEmpty(e)||v(s)||s>=e},n.$observe("max",function(e){$(e)&&!x(e)&&(e=parseFloat(e,10)),s=x(e)&&!isNaN(e)?e:void 0,r.$validate()})}}function $r(e,t,n,r,i,o){dr(e,t,n,r,i,o),cr(r),r.$$parserName="url",r.$validators.url=function(e,t){var n=e||t;return r.$isEmpty(n)||Ro.test(n)}}function yr(e,t,n,r,i,o){dr(e,t,n,r,i,o),cr(r),r.$$parserName="email",r.$validators.email=function(e,t){var n=e||t;return r.$isEmpty(n)||Uo.test(n)}}function br(e,t,n,r){v(n.name)&&t.attr("name",a());var i=function(e){t[0].checked&&r.$setViewValue(n.value,e&&e.type)};t.on("click",i),r.$render=function(){var e=n.value;t[0].checked=e==r.$viewValue},n.$observe("value",r.$render)}function wr(e,t,n,r,i){var o;if($(r)){if(o=e(r),!o.constant)throw Ca("constexpr","Expected constant expression for `{0}`, but saw `{1}`.",n,r);return o(t)}return i}function xr(e,t,n,r,i,o,a,s){var u=wr(s,e,"ngTrueValue",n.ngTrueValue,!0),l=wr(s,e,"ngFalseValue",n.ngFalseValue,!1),c=function(e){r.$setViewValue(t[0].checked,e&&e.type)};t.on("click",c),r.$render=function(){t[0].checked=r.$viewValue},r.$isEmpty=function(e){return e===!1},r.$formatters.push(function(e){return V(e,u)}),r.$parsers.push(function(e){return e?u:l})}function kr(e,t){return e="ngClass"+e,["$animate",function(n){function i(e,t){var n=[];e:for(var r=0;r0||n[e])&&(n[e]=(n[e]||0)+t,n[e]===+(t>0)&&i.push(e))}),s.data("$classCounts",n),i.join(" ")}function d(e,t){var r=i(t,e),o=i(e,t);r=f(r,1),o=f(o,-1),r&&r.length&&n.addClass(s,r),o&&o.length&&n.removeClass(s,o)}function h(e){if(t===!0||a.$index%2===t){var n=o(e||[]);if(p){if(!V(e,p)){var r=o(p);d(r,n)}}else l(n)}p=Wr(e)?e.map(function(e){return U(e)}):U(e)}var p;a.$watch(u[e],h,!0),u.$observe("class",function(t){h(a.$eval(u[e]))}),"ngClass"!==e&&a.$watch("$index",function(n,r){var i=1&n;if(i!==(1&r)){var s=o(a.$eval(u[e]));i===t?l(s):c(s)}})}}}]}function Cr(e){function t(e,t,s){v(t)?n("$pending",e,s):r("$pending",e,s),A(t)?t?(c(a.$error,e,s),l(a.$$success,e,s)):(l(a.$error,e,s),c(a.$$success,e,s)):(c(a.$error,e,s),c(a.$$success,e,s)),a.$pending?(i(wa,!0),a.$valid=a.$invalid=void 0,o("",null)):(i(wa,!1),a.$valid=Sr(a.$error),a.$invalid=!a.$valid,o("",a.$valid));var u;u=a.$pending&&a.$pending[e]?void 0:a.$error[e]?!1:a.$$success[e]?!0:null,o(e,u),a.$$parentForm.$setValidity(e,u,a)}function n(e,t,n){a[e]||(a[e]={}),l(a[e],t,n)}function r(e,t,n){a[e]&&c(a[e],t,n),Sr(a[e])&&(a[e]=void 0)}function i(e,t){t&&!u[e]?(f.addClass(s,e),u[e]=!0):!t&&u[e]&&(f.removeClass(s,e),u[e]=!1)}function o(e,t){e=e?"-"+ue(e,"-"):"",i(ma+e,t===!0),i(ga+e,t===!1)}var a=e.ctrl,s=e.$element,u={},l=e.set,c=e.unset,f=e.$animate;u[ga]=!(u[ma]=s.hasClass(ma)),a.$setValidity=t}function Sr(e){if(e)for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}function _r(e){e[0].hasAttribute("selected")&&(e[0].selected=!0)}var Er=/^\/(.+)\/([a-z]*)$/,Dr="validity",Tr=Object.prototype.hasOwnProperty,Mr=function(e){return w(e)?e.toLowerCase():e},Ar=function(e){return w(e)?e.toUpperCase():e},Or=function(e){return w(e)?e.replace(/[A-Z]/g,function(e){return String.fromCharCode(32|e.charCodeAt(0))}):e},Fr=function(e){return w(e)?e.replace(/[a-z]/g,function(e){return String.fromCharCode(-33&e.charCodeAt(0))}):e};"i"!=="I".toLowerCase()&&(Mr=Or,Ar=Fr);var Nr,Ir,Pr,jr,Lr=[].slice,Rr=[].splice,Ur=[].push,Vr=Object.prototype.toString,zr=Object.getPrototypeOf,Hr=t("ng"),qr=e.angular||(e.angular={}),Yr=0;Nr=e.document.documentMode,h.$inject=[],p.$inject=[];var Wr=Array.isArray,Br=/^\[object (?:Uint8|Uint8Clamped|Uint16|Uint32|Int8|Int16|Int32|Float32|Float64)Array\]$/,Gr=function(e){return w(e)?e.trim():e},Zr=function(e){return e.replace(/([-()\[\]{}+?*.$\^|,:#n;++n)if(r=Kr[n],t=e.document.querySelector("["+r.replace(":","\\:")+"jq]")){i=t.getAttribute(r+"jq");break}return Jr.name_=i},Xr=/:/g,Kr=["ng-","data-ng-","ng:","x-ng-"],ei=/[A-Z]/g,ti=!1,ni=1,ri=2,ii=3,oi=8,ai=9,si=11,ui={full:"1.5.5",major:1,minor:5,dot:5,codeName:"material-conspiration"};Te.expando="ng339";var li=Te.cache={},ci=1,fi=function(e,t,n){e.addEventListener(t,n,!1)},di=function(e,t,n){e.removeEventListener(t,n,!1)};Te._data=function(e){return this.cache[e[this.expando]]||{}};var hi=/([\:\-\_]+(.))/g,pi=/^moz([A-Z])/,mi={mouseleave:"mouseout",mouseenter:"mouseover"},gi=t("jqLite"),vi=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,$i=/<|&#?\w+;/,yi=/<([\w:-]+)/,bi=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,wi={option:[1,'"],thead:[1,"","
    "],col:[2,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],_default:[0,"",""]};wi.optgroup=wi.option,wi.tbody=wi.tfoot=wi.colgroup=wi.caption=wi.thead,wi.th=wi.td;var xi=e.Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))},ki=Te.prototype={ready:function(t){function n(){r||(r=!0,t())}var r=!1;"complete"===e.document.readyState?e.setTimeout(n):(this.on("DOMContentLoaded",n),Te(e).on("load",n))},toString:function(){var e=[];return r(this,function(t){e.push(""+t)}),"["+e.join(", ")+"]"},eq:function(e){return Ir(e>=0?this[e]:this[this.length+e])},length:0,push:Ur,sort:[].sort,splice:[].splice},Ci={};r("multiple,selected,checked,disabled,readOnly,required,open".split(","),function(e){Ci[Mr(e)]=e});var Si={};r("input,select,option,textarea,button,form,details".split(","),function(e){Si[e]=!0});var _i={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern"};r({data:Ie,removeData:Fe,hasData:Ce,cleanData:Se},function(e,t){Te[t]=e}),r({data:Ie,inheritedData:Ve,scope:function(e){return Ir.data(e,"$scope")||Ve(e.parentNode||e,["$isolateScope","$scope"])},isolateScope:function(e){return Ir.data(e,"$isolateScope")||Ir.data(e,"$isolateScopeNoTemplate")},controller:Ue,injector:function(e){return Ve(e,"$injector")},removeAttr:function(e,t){e.removeAttribute(t)},hasClass:Pe,css:function(e,t,n){return t=we(t),$(n)?void(e.style[t]=n):e.style[t]},attr:function(e,t,n){var r=e.nodeType;if(r!==ii&&r!==ri&&r!==oi){var i=Mr(t);if(Ci[i]){if(!$(n))return e[t]||(e.attributes.getNamedItem(t)||h).specified?i:void 0;n?(e[t]=!0,e.setAttribute(t,i)):(e[t]=!1,e.removeAttribute(i))}else if($(n))e.setAttribute(t,n);else if(e.getAttribute){var o=e.getAttribute(t,2);return null===o?void 0:o}}},prop:function(e,t,n){return $(n)?void(e[t]=n):e[t]},text:function(){function e(e,t){if(v(t)){var n=e.nodeType;return n===ni||n===ii?e.textContent:""}e.textContent=t}return e.$dv="",e}(),val:function(e,t){if(v(t)){if(e.multiple&&"select"===j(e)){var n=[];return r(e.options,function(e){e.selected&&n.push(e.value||e.text)}),0===n.length?null:n}return e.value}e.value=t},html:function(e,t){return v(t)?e.innerHTML:(Ae(e,!0),void(e.innerHTML=t))},empty:ze},function(e,t){Te.prototype[t]=function(t,n){var r,i,o=this.length;if(e!==ze&&v(2==e.length&&e!==Pe&&e!==Ue?t:n)){if(y(t)){for(r=0;o>r;r++)if(e===Ie)e(this[r],t);else for(i in t)e(this[r],i,t[i]);return this}for(var a=e.$dv,s=v(a)?Math.min(o,1):o,u=0;s>u;u++){var l=e(this[u],t,n);a=a?a+l:l}return a}for(r=0;o>r;r++)e(this[r],t,n);return this}}),r({removeData:Fe,on:function(e,t,n,r){if($(r))throw gi("onargs","jqLite#on() does not support the `selector` or `eventData` parameters");if(ke(e)){var i=Ne(e,!0),o=i.events,a=i.handle;a||(a=i.handle=Be(e,o));for(var s=t.indexOf(" ")>=0?t.split(" "):[t],u=s.length,l=function(t,r,i){var s=o[t];s||(s=o[t]=[],s.specialHandlerWrapper=r,"$destroy"===t||i||fi(e,t,a)),s.push(n)};u--;)t=s[u],mi[t]?(l(mi[t],Ze),l(t,void 0,!0)):l(t)}},off:Oe,one:function(e,t,n){e=Ir(e),e.on(t,function r(){e.off(t,n),e.off(t,r)}),e.on(t,n)},replaceWith:function(e,t){var n,i=e.parentNode;Ae(e),r(new Te(t),function(t){n?i.insertBefore(t,n.nextSibling):i.replaceChild(t,e),n=t})},children:function(e){var t=[];return r(e.childNodes,function(e){e.nodeType===ni&&t.push(e)}),t},contents:function(e){return e.contentDocument||e.childNodes||[]},append:function(e,t){var n=e.nodeType;if(n===ni||n===si){t=new Te(t);for(var r=0,i=t.length;i>r;r++){var o=t[r];e.appendChild(o)}}},prepend:function(e,t){if(e.nodeType===ni){var n=e.firstChild;r(new Te(t),function(t){e.insertBefore(t,n)})}},wrap:function(e,t){De(e,Ir(t).eq(0).clone()[0])},remove:He,detach:function(e){He(e,!0)},after:function(e,t){var n=e,r=e.parentNode;t=new Te(t);for(var i=0,o=t.length;o>i;i++){var a=t[i];r.insertBefore(a,n.nextSibling),n=a}},addClass:Le,removeClass:je,toggleClass:function(e,t,n){t&&r(t.split(" "),function(t){var r=n;v(r)&&(r=!Pe(e,t)),(r?Le:je)(e,t)})},parent:function(e){var t=e.parentNode;return t&&t.nodeType!==si?t:null},next:function(e){return e.nextElementSibling},find:function(e,t){return e.getElementsByTagName?e.getElementsByTagName(t):[]},clone:Me,triggerHandler:function(e,t,n){var i,o,a,s=t.type||t,u=Ne(e),c=u&&u.events,f=c&&c[s];f&&(i={preventDefault:function(){this.defaultPrevented=!0},isDefaultPrevented:function(){return this.defaultPrevented===!0},stopImmediatePropagation:function(){this.immediatePropagationStopped=!0},isImmediatePropagationStopped:function(){return this.immediatePropagationStopped===!0},stopPropagation:h,type:s,target:e},t.type&&(i=l(i,t)),o=U(f),a=n?[i].concat(n):[i],r(o,function(t){i.isImmediatePropagationStopped()||t.apply(e,a)}))}},function(e,t){Te.prototype[t]=function(t,n,r){for(var i,o=0,a=this.length;a>o;o++)v(i)?(i=e(this[o],t,n,r),$(i)&&(i=Ir(i))):Re(i,e(this[o],t,n,r));return $(i)?i:this},Te.prototype.bind=Te.prototype.on,Te.prototype.unbind=Te.prototype.off}),Xe.prototype={put:function(e,t){this[Je(e,this.nextUid)]=t},get:function(e){return this[Je(e,this.nextUid)]},remove:function(e){var t=this[e=Je(e,this.nextUid)];return delete this[e],t}};var Ei=[function(){this.$get=[function(){return Xe}]}],Di=/^([^\(]+?)=>/,Ti=/^[^\(]*\(\s*([^\)]*)\)/m,Mi=/,/,Ai=/^\s*(_?)(\S+?)\1\s*$/,Oi=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,Fi=t("$injector");nt.$$annotate=tt;var Ni=t("$animate"),Ii=1,Pi="ng-animate",ji=function(){this.$get=h},Li=function(){var e=new Xe,t=[];this.$get=["$$AnimateRunner","$rootScope",function(n,i){function o(e,t,n){var i=!1;return t&&(t=w(t)?t.split(" "):Wr(t)?t:[],r(t,function(t){t&&(i=!0,e[t]=n)})),i}function a(){r(t,function(t){var n=e.get(t);if(n){var i=at(t.attr("class")),o="",a="";r(n,function(e,t){var n=!!i[t];e!==n&&(e?o+=(o.length?" ":"")+t:a+=(a.length?" ":"")+t)}),r(t,function(e){o&&Le(e,o),a&&je(e,a)}),e.remove(t)}}),t.length=0}function s(n,r,s){var u=e.get(n)||{},l=o(u,r,!0),c=o(u,s,!1);(l||c)&&(e.put(n,u),t.push(n),1===t.length&&i.$$postDigest(a))}return{enabled:h,on:h,off:h,pin:h,push:function(e,t,r,i){i&&i(),r=r||{},r.from&&e.css(r.from),r.to&&e.css(r.to),(r.addClass||r.removeClass)&&s(e,r.addClass,r.removeClass);var o=new n;return o.complete(),o}}}]},Ri=["$provide",function(e){var t=this;this.$$registeredAnimations=Object.create(null),this.register=function(n,r){if(n&&"."!==n.charAt(0))throw Ni("notcsel","Expecting class selector starting with '.' got '{0}'.",n);var i=n+"-animation";t.$$registeredAnimations[n.substr(1)]=i,e.factory(i,r)},this.classNameFilter=function(e){if(1===arguments.length&&(this.$$classNameFilter=e instanceof RegExp?e:null,this.$$classNameFilter)){var t=new RegExp("(\\s+|\\/)"+Pi+"(\\s+|\\/)");if(t.test(this.$$classNameFilter.toString()))throw Ni("nongcls",'$animateProvider.classNameFilter(regex) prohibits accepting a regex value which matches/contains the "{0}" CSS class.',Pi)}return this.$$classNameFilter},this.$get=["$$animateQueue",function(e){function t(e,t,n){if(n){var r=ot(n);!r||r.parentNode||r.previousElementSibling||(n=null)}n?n.after(e):t.prepend(e)}return{on:e.on,off:e.off,pin:e.pin,enabled:e.enabled,cancel:function(e){e.end&&e.end()},enter:function(n,r,i,o){return r=r&&Ir(r),i=i&&Ir(i),r=r||i.parent(),t(n,r,i),e.push(n,"enter",st(o))},move:function(n,r,i,o){return r=r&&Ir(r),i=i&&Ir(i),r=r||i.parent(),t(n,r,i),e.push(n,"move",st(o))},leave:function(t,n){return e.push(t,"leave",st(n),function(){t.remove()})},addClass:function(t,n,r){return r=st(r),r.addClass=it(r.addclass,n),e.push(t,"addClass",r)},removeClass:function(t,n,r){return r=st(r),r.removeClass=it(r.removeClass,n),e.push(t,"removeClass",r)},setClass:function(t,n,r,i){return i=st(i),i.addClass=it(i.addClass,n),i.removeClass=it(i.removeClass,r),e.push(t,"setClass",i)},animate:function(t,n,r,i,o){return o=st(o),o.from=o.from?l(o.from,n):n,o.to=o.to?l(o.to,r):r,i=i||"ng-inline-animate",o.tempClasses=it(o.tempClasses,i),e.push(t,"animate",o)}}}]}],Ui=function(){this.$get=["$$rAF",function(e){function t(t){n.push(t),n.length>1||e(function(){for(var e=0;e <= >= && || ! = |".split(" "),function(e){fo[e]=!0});var ho={n:"\n",f:"\f",r:"\r",t:" ",v:"\x0B","'":"'",'"':'"'},po=function(e){this.options=e};po.prototype={constructor:po,lex:function(e){for(this.text=e,this.index=0,this.tokens=[];this.index="0"&&"9">=e&&"string"==typeof e},isWhitespace:function(e){return" "===e||"\r"===e||" "===e||"\n"===e||"\x0B"===e||" "===e},isIdentifierStart:function(e){return this.options.isIdentifierStart?this.options.isIdentifierStart(e,this.codePointAt(e)):this.isValidIdentifierStart(e)},isValidIdentifierStart:function(e){return e>="a"&&"z">=e||e>="A"&&"Z">=e||"_"===e||"$"===e},isIdentifierContinue:function(e){return this.options.isIdentifierContinue?this.options.isIdentifierContinue(e,this.codePointAt(e)):this.isValidIdentifierContinue(e)},isValidIdentifierContinue:function(e,t){return this.isValidIdentifierStart(e,t)||this.isNumber(e)},codePointAt:function(e){return 1===e.length?e.charCodeAt(0):(e.charCodeAt(0)<<10)+e.charCodeAt(1)-56613888},peekMultichar:function(){var e=this.text.charAt(this.index),t=this.peek();if(!t)return e;var n=e.charCodeAt(0),r=t.charCodeAt(0);return n>=55296&&56319>=n&&r>=56320&&57343>=r?e+t:e},isExpOperator:function(e){return"-"===e||"+"===e||this.isNumber(e)},throwError:function(e,t,n){n=n||this.index;var r=$(t)?"s "+t+"-"+this.index+" ["+this.text.substring(t,n)+"]":" "+n;throw so("lexerr","Lexer Error: {0} at column{1} in expression [{2}].",e,r,this.text)},readNumber:function(){for(var e="",t=this.index;this.index0&&!this.peek("}",")",";","]")&&e.push(this.expressionStatement()),!this.expect(";"))return{type:mo.Program,body:e}},expressionStatement:function(){return{type:mo.ExpressionStatement,expression:this.filterChain()}},filterChain:function(){for(var e,t=this.expression();e=this.expect("|");)t=this.filter(t);return t},expression:function(){return this.assignment()},assignment:function(){var e=this.ternary();return this.expect("=")&&(e={type:mo.AssignmentExpression,left:e,right:this.assignment(),operator:"="}),e},ternary:function(){var e,t,n=this.logicalOR();return this.expect("?")&&(e=this.expression(),this.consume(":"))?(t=this.expression(),{type:mo.ConditionalExpression,test:n,alternate:e,consequent:t}):n},logicalOR:function(){for(var e=this.logicalAND();this.expect("||");)e={type:mo.LogicalExpression,operator:"||",left:e,right:this.logicalAND()};return e},logicalAND:function(){for(var e=this.equality();this.expect("&&");)e={type:mo.LogicalExpression,operator:"&&",left:e,right:this.equality()};return e},equality:function(){for(var e,t=this.relational();e=this.expect("==","!=","===","!==");)t={type:mo.BinaryExpression,operator:e.text,left:t,right:this.relational()};return t},relational:function(){for(var e,t=this.additive();e=this.expect("<",">","<=",">=");)t={type:mo.BinaryExpression,operator:e.text,left:t,right:this.additive()};return t},additive:function(){for(var e,t=this.multiplicative();e=this.expect("+","-");)t={type:mo.BinaryExpression,operator:e.text,left:t,right:this.multiplicative()};return t},multiplicative:function(){for(var e,t=this.unary();e=this.expect("*","/","%");)t={type:mo.BinaryExpression,operator:e.text,left:t,right:this.unary()};return t},unary:function(){var e;return(e=this.expect("+","-","!"))?{type:mo.UnaryExpression,operator:e.text,prefix:!0,argument:this.unary()}:this.primary()},primary:function(){var e;this.expect("(")?(e=this.filterChain(),this.consume(")")):this.expect("[")?e=this.arrayDeclaration():this.expect("{")?e=this.object():this.selfReferential.hasOwnProperty(this.peek().text)?e=R(this.selfReferential[this.consume().text]):this.options.literals.hasOwnProperty(this.peek().text)?e={type:mo.Literal,value:this.options.literals[this.consume().text]}:this.peek().identifier?e=this.identifier():this.peek().constant?e=this.constant():this.throwError("not a primary expression",this.peek());for(var t;t=this.expect("(","[",".");)"("===t.text?(e={type:mo.CallExpression,callee:e,arguments:this.parseArguments()},this.consume(")")):"["===t.text?(e={type:mo.MemberExpression,object:e,property:this.expression(),computed:!0},this.consume("]")):"."===t.text?e={type:mo.MemberExpression,object:e,property:this.identifier(),computed:!1}:this.throwError("IMPOSSIBLE");return e},filter:function(e){for(var t=[e],n={type:mo.CallExpression,callee:this.identifier(),arguments:t,filter:!0};this.expect(":");)t.push(this.expression());return n},parseArguments:function(){var e=[];if(")"!==this.peekToken().text)do e.push(this.expression());while(this.expect(","));return e},identifier:function(){var e=this.consume();return e.identifier||this.throwError("is not a valid identifier",e),{type:mo.Identifier,name:e.text}},constant:function(){return{type:mo.Literal,value:this.consume().value}},arrayDeclaration:function(){var e=[];if("]"!==this.peekToken().text)do{if(this.peek("]"))break;e.push(this.expression())}while(this.expect(","));return this.consume("]"),{type:mo.ArrayExpression,elements:e}},object:function(){var e,t=[];if("}"!==this.peekToken().text)do{if(this.peek("}"))break;e={type:mo.Property,kind:"init"},this.peek().constant?e.key=this.constant():this.peek().identifier?e.key=this.identifier():this.throwError("invalid key",this.peek()),this.consume(":"),e.value=this.expression(),t.push(e)}while(this.expect(","));return this.consume("}"),{type:mo.ObjectExpression,properties:t}},throwError:function(e,t){throw so("syntax","Syntax Error: Token '{0}' {1} at column {2} of the expression [{3}] starting at [{4}].",t.text,e,t.index+1,this.text,this.text.substring(t.index))},consume:function(e){if(0===this.tokens.length)throw so("ueoe","Unexpected end of expression: {0}",this.text);var t=this.expect(e);return t||this.throwError("is unexpected, expecting ["+e+"]",this.peek()),t},peekToken:function(){if(0===this.tokens.length)throw so("ueoe","Unexpected end of expression: {0}",this.text);return this.tokens[0]},peek:function(e,t,n,r){return this.peekAhead(0,e,t,n,r)},peekAhead:function(e,t,n,r,i){if(this.tokens.length>e){var o=this.tokens[e],a=o.text;if(a===t||a===n||a===r||a===i||!t&&!n&&!r&&!i)return o}return!1},expect:function(e,t,n,r){var i=this.peek(e,t,n,r);return i?(this.tokens.shift(),i):!1},selfReferential:{"this":{type:mo.ThisExpression},$locals:{type:mo.LocalsExpression}}},hn.prototype={compile:function(e,t){var n=this,i=this.astBuilder.ast(e);this.state={nextId:0,filters:{},expensiveChecks:t,fn:{vars:[],body:[],own:{}},assign:{vars:[],body:[],own:{}},inputs:[]},sn(i,n.$filter);var o,a="";if(this.stage="assign",o=cn(i)){this.state.computing="assign";var s=this.nextId();this.recurse(o,s),this.return_(s),a="fn.assign="+this.generateFunction("assign","s,v,l")}var u=un(i.body);n.stage="inputs",r(u,function(e,t){var r="fn"+t;n.state[r]={vars:[],body:[],own:{}},n.state.computing=r;var i=n.nextId();n.recurse(e,i),n.return_(i),n.state.inputs.push(r),e.watchId=t}),this.state.computing="fn",this.stage="main",this.recurse(i);var l='"'+this.USE+" "+this.STRICT+'";\n'+this.filterPrefix()+"var fn="+this.generateFunction("fn","s,l,a,i")+a+this.watchFns()+"return fn;",c=new Function("$filter","ensureSafeMemberName","ensureSafeObject","ensureSafeFunction","getStringValue","ensureSafeAssignContext","ifDefined","plus","text",l)(this.$filter,Xt,en,tn,Kt,nn,rn,on,e);return this.state=this.stage=void 0,c.literal=fn(i),c.constant=dn(i),c},USE:"use",STRICT:"strict",watchFns:function(){var e=[],t=this.state.inputs,n=this;return r(t,function(t){e.push("var "+t+"="+n.generateFunction(t,"s"))}),t.length&&e.push("fn.inputs=["+t.join(",")+"];"),e.join("")},generateFunction:function(e,t){return"function("+t+"){"+this.varsPrefix(e)+this.body(e)+"};"},filterPrefix:function(){var e=[],t=this;return r(this.state.filters,function(n,r){e.push(n+"=$filter("+t.escape(r)+")")}),e.length?"var "+e.join(",")+";":""},varsPrefix:function(e){return this.state[e].vars.length?"var "+this.state[e].vars.join(",")+";":""},body:function(e){return this.state[e].body.join("")},recurse:function(e,t,n,i,o,a){var s,u,l,c,f=this;if(i=i||h,!a&&$(e.watchId))return t=t||this.nextId(),void this.if_("i",this.lazyAssign(t,this.computedMember("i",e.watchId)),this.lazyRecurse(e,t,n,i,o,!0));switch(e.type){case mo.Program:r(e.body,function(t,n){f.recurse(t.expression,void 0,void 0,function(e){u=e}),n!==e.body.length-1?f.current().body.push(u,";"):f.return_(u)});break;case mo.Literal:c=this.escape(e.value),this.assign(t,c),i(c);break;case mo.UnaryExpression:this.recurse(e.argument,void 0,void 0,function(e){u=e}),c=e.operator+"("+this.ifDefined(u,0)+")",this.assign(t,c),i(c);break;case mo.BinaryExpression:this.recurse(e.left,void 0,void 0,function(e){s=e}),this.recurse(e.right,void 0,void 0,function(e){u=e}),c="+"===e.operator?this.plus(s,u):"-"===e.operator?this.ifDefined(s,0)+e.operator+this.ifDefined(u,0):"("+s+")"+e.operator+"("+u+")",this.assign(t,c),i(c);break;case mo.LogicalExpression:t=t||this.nextId(),f.recurse(e.left,t),f.if_("&&"===e.operator?t:f.not(t),f.lazyRecurse(e.right,t)),i(t);break;case mo.ConditionalExpression:t=t||this.nextId(),f.recurse(e.test,t),f.if_(t,f.lazyRecurse(e.alternate,t),f.lazyRecurse(e.consequent,t)),i(t);break;case mo.Identifier:t=t||this.nextId(),n&&(n.context="inputs"===f.stage?"s":this.assign(this.nextId(),this.getHasOwnProperty("l",e.name)+"?l:s"),n.computed=!1,n.name=e.name),Xt(e.name),f.if_("inputs"===f.stage||f.not(f.getHasOwnProperty("l",e.name)),function(){f.if_("inputs"===f.stage||"s",function(){o&&1!==o&&f.if_(f.not(f.nonComputedMember("s",e.name)),f.lazyAssign(f.nonComputedMember("s",e.name),"{}")),f.assign(t,f.nonComputedMember("s",e.name))})},t&&f.lazyAssign(t,f.nonComputedMember("l",e.name))),(f.state.expensiveChecks||mn(e.name))&&f.addEnsureSafeObject(t),i(t);break;case mo.MemberExpression:s=n&&(n.context=this.nextId())||this.nextId(),t=t||this.nextId(),f.recurse(e.object,s,void 0,function(){f.if_(f.notNull(s),function(){o&&1!==o&&f.addEnsureSafeAssignContext(s),e.computed?(u=f.nextId(),f.recurse(e.property,u),f.getStringValue(u),f.addEnsureSafeMemberName(u),o&&1!==o&&f.if_(f.not(f.computedMember(s,u)),f.lazyAssign(f.computedMember(s,u),"{}")),c=f.ensureSafeObject(f.computedMember(s,u)),f.assign(t,c),n&&(n.computed=!0,n.name=u)):(Xt(e.property.name),o&&1!==o&&f.if_(f.not(f.nonComputedMember(s,e.property.name)),f.lazyAssign(f.nonComputedMember(s,e.property.name),"{}")),c=f.nonComputedMember(s,e.property.name),(f.state.expensiveChecks||mn(e.property.name))&&(c=f.ensureSafeObject(c)),f.assign(t,c),n&&(n.computed=!1,n.name=e.property.name))},function(){f.assign(t,"undefined")}),i(t)},!!o);break;case mo.CallExpression:t=t||this.nextId(),e.filter?(u=f.filter(e.callee.name),l=[],r(e.arguments,function(e){var t=f.nextId();f.recurse(e,t),l.push(t)}),c=u+"("+l.join(",")+")",f.assign(t,c),i(t)):(u=f.nextId(),s={},l=[],f.recurse(e.callee,u,s,function(){f.if_(f.notNull(u),function(){f.addEnsureSafeFunction(u),r(e.arguments,function(e){f.recurse(e,f.nextId(),void 0,function(e){l.push(f.ensureSafeObject(e))})}),s.name?(f.state.expensiveChecks||f.addEnsureSafeObject(s.context),c=f.member(s.context,s.name,s.computed)+"("+l.join(",")+")"):c=u+"("+l.join(",")+")",c=f.ensureSafeObject(c),f.assign(t,c)},function(){f.assign(t,"undefined")}),i(t)}));break;case mo.AssignmentExpression:if(u=this.nextId(),s={},!ln(e.left))throw so("lval","Trying to assign a value to a non l-value");this.recurse(e.left,void 0,s,function(){f.if_(f.notNull(s.context),function(){f.recurse(e.right,u),f.addEnsureSafeObject(f.member(s.context,s.name,s.computed)),f.addEnsureSafeAssignContext(s.context),c=f.member(s.context,s.name,s.computed)+e.operator+u,f.assign(t,c),i(t||c)})},1);break;case mo.ArrayExpression:l=[],r(e.elements,function(e){f.recurse(e,f.nextId(),void 0,function(e){l.push(e)})}),c="["+l.join(",")+"]",this.assign(t,c),i(c);break;case mo.ObjectExpression:l=[],r(e.properties,function(e){f.recurse(e.value,f.nextId(),void 0,function(t){l.push(f.escape(e.key.type===mo.Identifier?e.key.name:""+e.key.value)+":"+t)})}),c="{"+l.join(",")+"}",this.assign(t,c),i(c);break;case mo.ThisExpression:this.assign(t,"s"),i("s");break;case mo.LocalsExpression:this.assign(t,"l"),i("l");break;case mo.NGValueParameter:this.assign(t,"v"),i("v")}},getHasOwnProperty:function(e,t){var n=e+"."+t,r=this.current().own;return r.hasOwnProperty(n)||(r[n]=this.nextId(!1,e+"&&("+this.escape(t)+" in "+e+")")),r[n]},assign:function(e,t){return e?(this.current().body.push(e,"=",t,";"),e):void 0},filter:function(e){return this.state.filters.hasOwnProperty(e)||(this.state.filters[e]=this.nextId(!0)),this.state.filters[e]},ifDefined:function(e,t){return"ifDefined("+e+","+this.escape(t)+")"},plus:function(e,t){return"plus("+e+","+t+")"},return_:function(e){this.current().body.push("return ",e,";")},if_:function(e,t,n){if(e===!0)t();else{var r=this.current().body;r.push("if(",e,"){"),t(),r.push("}"),n&&(r.push("else{"),n(),r.push("}"))}},not:function(e){return"!("+e+")"},notNull:function(e){return e+"!=null"},nonComputedMember:function(e,t){var n=/[$_a-zA-Z][$_a-zA-Z0-9]*/,r=/[^$_a-zA-Z0-9]/g;return n.test(t)?e+"."+t:e+'["'+t.replace(r,this.stringEscapeFn)+'"]'},computedMember:function(e,t){return e+"["+t+"]"},member:function(e,t,n){return n?this.computedMember(e,t):this.nonComputedMember(e,t)},addEnsureSafeObject:function(e){this.current().body.push(this.ensureSafeObject(e),";")},addEnsureSafeMemberName:function(e){this.current().body.push(this.ensureSafeMemberName(e),";")},addEnsureSafeFunction:function(e){this.current().body.push(this.ensureSafeFunction(e),";")},addEnsureSafeAssignContext:function(e){this.current().body.push(this.ensureSafeAssignContext(e),";")},ensureSafeObject:function(e){return"ensureSafeObject("+e+",text)"},ensureSafeMemberName:function(e){return"ensureSafeMemberName("+e+",text)"},ensureSafeFunction:function(e){return"ensureSafeFunction("+e+",text)"},getStringValue:function(e){this.assign(e,"getStringValue("+e+")")},ensureSafeAssignContext:function(e){return"ensureSafeAssignContext("+e+",text)"},lazyRecurse:function(e,t,n,r,i,o){var a=this;return function(){a.recurse(e,t,n,r,i,o)}},lazyAssign:function(e,t){var n=this;return function(){n.assign(e,t)}},stringEscapeRegex:/[^ a-zA-Z0-9]/g,stringEscapeFn:function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)},escape:function(e){if(w(e))return"'"+e.replace(this.stringEscapeRegex,this.stringEscapeFn)+"'";if(x(e))return e.toString();if(e===!0)return"true";if(e===!1)return"false";if(null===e)return"null";if("undefined"==typeof e)return"undefined";throw so("esc","IMPOSSIBLE")},nextId:function(e,t){var n="v"+this.state.nextId++;return e||this.current().vars.push(n+(t?"="+t:"")),n},current:function(){return this.state[this.state.computing]}},pn.prototype={compile:function(e,t){var n=this,i=this.astBuilder.ast(e);this.expression=e,this.expensiveChecks=t,sn(i,n.$filter);var o,a;(o=cn(i))&&(a=this.recurse(o));var s,u=un(i.body);u&&(s=[],r(u,function(e,t){var r=n.recurse(e);e.input=r,s.push(r),e.watchId=t}));var l=[];r(i.body,function(e){l.push(n.recurse(e.expression))});var c=0===i.body.length?h:1===i.body.length?l[0]:function(e,t){var n;return r(l,function(r){n=r(e,t)}),n};return a&&(c.assign=function(e,t,n){return a(e,n,t)}),s&&(c.inputs=s),c.literal=fn(i),c.constant=dn(i),c},recurse:function(e,t,n){var i,o,a,s=this;if(e.input)return this.inputs(e.input,e.watchId);switch(e.type){case mo.Literal:return this.value(e.value,t);case mo.UnaryExpression:return o=this.recurse(e.argument),this["unary"+e.operator](o,t);case mo.BinaryExpression:return i=this.recurse(e.left),o=this.recurse(e.right),this["binary"+e.operator](i,o,t);case mo.LogicalExpression:return i=this.recurse(e.left),o=this.recurse(e.right),this["binary"+e.operator](i,o,t);case mo.ConditionalExpression:return this["ternary?:"](this.recurse(e.test),this.recurse(e.alternate),this.recurse(e.consequent),t);case mo.Identifier:return Xt(e.name,s.expression),s.identifier(e.name,s.expensiveChecks||mn(e.name),t,n,s.expression);case mo.MemberExpression:return i=this.recurse(e.object,!1,!!n),e.computed||(Xt(e.property.name,s.expression),o=e.property.name),e.computed&&(o=this.recurse(e.property)),e.computed?this.computedMember(i,o,t,n,s.expression):this.nonComputedMember(i,o,s.expensiveChecks,t,n,s.expression);case mo.CallExpression:return a=[],r(e.arguments,function(e){a.push(s.recurse(e))}),e.filter&&(o=this.$filter(e.callee.name)),e.filter||(o=this.recurse(e.callee,!0)),e.filter?function(e,n,r,i){for(var s=[],u=0;u":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)>t(r,i,o,a);return n?{value:s}:s}},"binary<=":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)<=t(r,i,o,a);return n?{value:s}:s}},"binary>=":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)>=t(r,i,o,a);return n?{value:s}:s}},"binary&&":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)&&t(r,i,o,a);return n?{value:s}:s}},"binary||":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)||t(r,i,o,a);return n?{value:s}:s}},"ternary?:":function(e,t,n,r){return function(i,o,a,s){var u=e(i,o,a,s)?t(i,o,a,s):n(i,o,a,s);return r?{value:u}:u}},value:function(e,t){return function(){return t?{context:void 0,name:void 0,value:e}:e}},identifier:function(e,t,n,r,i){return function(o,a,s,u){var l=a&&e in a?a:o;r&&1!==r&&l&&!l[e]&&(l[e]={});var c=l?l[e]:void 0;return t&&en(c,i),n?{context:l,name:e,value:c}:c}},computedMember:function(e,t,n,r,i){return function(o,a,s,u){var l,c,f=e(o,a,s,u);return null!=f&&(l=t(o,a,s,u),l=Kt(l),Xt(l,i),r&&1!==r&&(nn(f),f&&!f[l]&&(f[l]={})),c=f[l],en(c,i)),n?{context:f,name:l,value:c}:c}},nonComputedMember:function(e,t,n,r,i,o){return function(a,s,u,l){var c=e(a,s,u,l);i&&1!==i&&(nn(c),c&&!c[t]&&(c[t]={}));var f=null!=c?c[t]:void 0;return(n||mn(t))&&en(f,o),r?{context:c,name:t,value:f}:f}},inputs:function(e,t){return function(n,r,i,o){return o?o[t]:e(n,r,i)}}};var go=function(e,t,n){this.lexer=e,this.$filter=t,this.options=n,this.ast=new mo(e,n),this.astCompiler=n.csp?new pn(this.ast,t):new hn(this.ast,t)};go.prototype={constructor:go,parse:function(e){return this.astCompiler.compile(e,this.options.expensiveChecks)}};var vo=Object.prototype.valueOf,$o=t("$sce"),yo={HTML:"html",CSS:"css",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},bo=t("$compile"),wo=e.document.createElement("a"),xo=On(e.location.href);In.$inject=["$document"],jn.$inject=["$provide"];var ko=22,Co=".",So="0";zn.$inject=["$locale"],Hn.$inject=["$locale"];var _o={yyyy:Gn("FullYear",4,0,!1,!0),yy:Gn("FullYear",2,0,!0,!0),y:Gn("FullYear",1,0,!1,!0),MMMM:Zn("Month"),MMM:Zn("Month",!0),MM:Gn("Month",2,1),M:Gn("Month",1,1),LLLL:Zn("Month",!1,!0),dd:Gn("Date",2),d:Gn("Date",1),HH:Gn("Hours",2),H:Gn("Hours",1),hh:Gn("Hours",2,-12),h:Gn("Hours",1,-12),mm:Gn("Minutes",2),m:Gn("Minutes",1),ss:Gn("Seconds",2),s:Gn("Seconds",1),sss:Gn("Milliseconds",3),EEEE:Zn("Day"),EEE:Zn("Day",!0),a:er,Z:Qn,ww:Kn(2),w:Kn(1),G:tr,GG:tr,GGG:tr,GGGG:nr},Eo=/((?:[^yMLdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|m+|s+|a|Z|G+|w+))(.*)/,Do=/^\-?\d+$/;rr.$inject=["$locale"];var To=m(Mr),Mo=m(Ar);ar.$inject=["$parse"];var Ao=m({restrict:"E",compile:function(e,t){return t.href||t.xlinkHref?void 0:function(e,t){if("a"===t[0].nodeName.toLowerCase()){var n="[object SVGAnimatedString]"===Vr.call(t.prop("href"))?"xlink:href":"href";t.on("click",function(e){t.attr(n)||e.preventDefault()})}}}}),Oo={};r(Ci,function(e,t){function n(e,n,i){e.$watch(i[r],function(e){i.$set(t,!!e)})}if("multiple"!=e){var r=mt("ng-"+t),i=n;"checked"===e&&(i=function(e,t,i){i.ngModel!==i[r]&&n(e,t,i)}),Oo[r]=function(){return{restrict:"A",priority:100,link:i}}}}),r(_i,function(e,t){Oo[t]=function(){return{priority:100,link:function(e,n,r){if("ngPattern"===t&&"/"==r.ngPattern.charAt(0)){var i=r.ngPattern.match(Er);if(i)return void r.$set("ngPattern",new RegExp(i[1],i[2]))}e.$watch(r[t],function(e){r.$set(t,e)})}}}}),r(["src","srcset","href"],function(e){var t=mt("ng-"+e);Oo[t]=function(){return{priority:99,link:function(n,r,i){var o=e,a=e;"href"===e&&"[object SVGAnimatedString]"===Vr.call(r.prop("href"))&&(a="xlinkHref",i.$attr[a]="xlink:href",o=null),i.$observe(t,function(t){return t?(i.$set(a,t),void(Nr&&o&&r.prop(o,i[a]))):void("href"===e&&i.$set(a,null))})}}}});var Fo={$addControl:h,$$renameControl:ur,$removeControl:h,$setValidity:h,$setDirty:h,$setPristine:h,$setSubmitted:h},No="ng-submitted";lr.$inject=["$element","$attrs","$scope","$animate","$interpolate"];var Io=function(e){return["$timeout","$parse",function(t,n){function r(e){return""===e?n('this[""]').assign:n(e).assign||h}var i={name:"form",restrict:e?"EAC":"E",require:["form","^^?form"],controller:lr,compile:function(n,i){n.addClass(va).addClass(ma);var o=i.name?"name":e&&i.ngForm?"ngForm":!1;return{pre:function(e,n,i,a){var s=a[0];if(!("action"in i)){var u=function(t){e.$apply(function(){s.$commitViewValue(),s.$setSubmitted()}),t.preventDefault()};fi(n[0],"submit",u),n.on("$destroy",function(){t(function(){di(n[0],"submit",u)},0,!1)})}var c=a[1]||s.$$parentForm;c.$addControl(s);var f=o?r(s.$name):h;o&&(f(e,s),i.$observe(o,function(t){s.$name!==t&&(f(e,void 0),s.$$parentForm.$$renameControl(s,t),(f=r(s.$name))(e,s))})),n.on("$destroy",function(){s.$$parentForm.$removeControl(s),f(e,void 0),l(s,Fo)})}}}};return i}]},Po=Io(),jo=Io(!0),Lo=/^\d{4,}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+(?:[+-][0-2]\d:[0-5]\d|Z)$/,Ro=/^[a-z][a-z\d.+-]*:\/*(?:[^:@]+(?::[^@]+)?@)?(?:[^\s:\/?#]+|\[[a-f\d:]+\])(?::\d+)?(?:\/[^?#]*)?(?:\?[^#]*)?(?:#.*)?$/i,Uo=/^[a-z0-9!#$%&'*+\/=?^_`{|}~.-]+@[a-z0-9]([a-z0-9-]*[a-z0-9])?(\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*$/i,Vo=/^\s*(\-|\+)?(\d+|(\d*(\.\d*)))([eE][+-]?\d+)?\s*$/,zo=/^(\d{4,})-(\d{2})-(\d{2})$/,Ho=/^(\d{4,})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,qo=/^(\d{4,})-W(\d\d)$/,Yo=/^(\d{4,})-(\d\d)$/,Wo=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,Bo="keydown wheel mousedown",Go=me();r("date,datetime-local,month,time,week".split(","),function(e){Go[e]=!0});var Zo={text:fr,date:mr("date",zo,pr(zo,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":mr("datetimelocal",Ho,pr(Ho,["yyyy","MM","dd","HH","mm","ss","sss"]),"yyyy-MM-ddTHH:mm:ss.sss"),time:mr("time",Wo,pr(Wo,["HH","mm","ss","sss"]),"HH:mm:ss.sss"),week:mr("week",qo,hr,"yyyy-Www"),month:mr("month",Yo,pr(Yo,["yyyy","MM"]),"yyyy-MM"),number:vr,url:$r,email:yr,radio:br,checkbox:xr,hidden:h,button:h,submit:h,reset:h,file:h},Qo=["$browser","$sniffer","$filter","$parse",function(e,t,n,r){return{restrict:"E",require:["?ngModel"],link:{pre:function(i,o,a,s){s[0]&&(Zo[Mr(a.type)]||Zo.text)(i,o,a,s[0],t,e,n,r)}}}}],Jo=/^(true|false|\d+)$/,Xo=function(){return{restrict:"A",priority:100,compile:function(e,t){return Jo.test(t.ngValue)?function(e,t,n){n.$set("value",e.$eval(n.ngValue))}:function(e,t,n){e.$watch(n.ngValue,function(e){n.$set("value",e)})}}}},Ko=["$compile",function(e){return{restrict:"AC",compile:function(t){return e.$$addBindingClass(t),function(t,n,r){e.$$addBindingInfo(n,r.ngBind),n=n[0],t.$watch(r.ngBind,function(e){n.textContent=v(e)?"":e})}}}}],ea=["$interpolate","$compile",function(e,t){return{compile:function(n){return t.$$addBindingClass(n),function(n,r,i){var o=e(r.attr(i.$attr.ngBindTemplate));t.$$addBindingInfo(r,o.expressions),r=r[0],i.$observe("ngBindTemplate",function(e){r.textContent=v(e)?"":e})}}}}],ta=["$sce","$parse","$compile",function(e,t,n){return{restrict:"A",compile:function(r,i){var o=t(i.ngBindHtml),a=t(i.ngBindHtml,function(e){return(e||"").toString()});return n.$$addBindingClass(r),function(t,r,i){n.$$addBindingInfo(r,i.ngBindHtml),t.$watch(a,function(){r.html(e.getTrustedHtml(o(t))||"")})}}}}],na=m({restrict:"A",require:"ngModel",link:function(e,t,n,r){r.$viewChangeListeners.push(function(){e.$eval(n.ngChange)})}}),ra=kr("",!0),ia=kr("Odd",0),oa=kr("Even",1),aa=sr({compile:function(e,t){t.$set("ngCloak",void 0),e.removeClass("ng-cloak")}}),sa=[function(){return{restrict:"A",scope:!0,controller:"@",priority:500}}],ua={},la={blur:!0,focus:!0};r("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),function(e){var t=mt("ng-"+e);ua[t]=["$parse","$rootScope",function(n,r){return{restrict:"A",compile:function(i,o){var a=n(o[t],null,!0);return function(t,n){n.on(e,function(n){var i=function(){a(t,{$event:n})};la[e]&&r.$$phase?t.$evalAsync(i):t.$apply(i)})}}}}]});var ca=["$animate","$compile",function(e,t){return{multiElement:!0,transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(n,r,i,o,a){var s,u,l;n.$watch(i.ngIf,function(n){n?u||a(function(n,o){u=o,n[n.length++]=t.$$createComment("end ngIf",i.ngIf),s={clone:n},e.enter(n,r.parent(),r)}):(l&&(l.remove(),l=null),u&&(u.$destroy(),u=null),s&&(l=pe(s.clone),e.leave(l).then(function(){l=null}),s=null))})}}}],fa=["$templateRequest","$anchorScroll","$animate",function(e,t,n){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:qr.noop,compile:function(r,i){var o=i.ngInclude||i.src,a=i.onload||"",s=i.autoscroll;return function(r,i,u,l,c){var f,d,h,p=0,m=function(){d&&(d.remove(),d=null),f&&(f.$destroy(),f=null),h&&(n.leave(h).then(function(){d=null}),d=h,h=null)};r.$watch(o,function(o){var u=function(){!$(s)||s&&!r.$eval(s)||t()},d=++p;o?(e(o,!0).then(function(e){if(!r.$$destroyed&&d===p){var t=r.$new();l.template=e;var s=c(t,function(e){m(),n.enter(e,null,i).then(u)});f=t,h=s,f.$emit("$includeContentLoaded",o),r.$eval(a)}},function(){r.$$destroyed||d===p&&(m(),r.$emit("$includeContentError",o))}),r.$emit("$includeContentRequested",o)):(m(),l.template=null)})}}}}],da=["$compile",function(t){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(n,r,i,o){return Vr.call(r[0]).match(/SVG/)?(r.empty(),void t(_e(o.template,e.document).childNodes)(n,function(e){r.append(e)},{futureParentElement:r})):(r.html(o.template),void t(r.contents())(n))}}}],ha=sr({priority:450,compile:function(){return{pre:function(e,t,n){e.$eval(n.ngInit)}}}}),pa=function(){return{restrict:"A",priority:100,require:"ngModel",link:function(e,t,n,i){var o=t.attr(n.$attr.ngList)||", ",a="false"!==n.ngTrim,s=a?Gr(o):o,u=function(e){if(!v(e)){var t=[];return e&&r(e.split(s),function(e){e&&t.push(a?Gr(e):e)}),t}};i.$parsers.push(u),i.$formatters.push(function(e){return Wr(e)?e.join(o):void 0}),i.$isEmpty=function(e){return!e||!e.length}}}},ma="ng-valid",ga="ng-invalid",va="ng-pristine",$a="ng-dirty",ya="ng-untouched",ba="ng-touched",wa="ng-pending",xa="ng-empty",ka="ng-not-empty",Ca=t("ngModel"),Sa=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate","$timeout","$rootScope","$q","$interpolate",function(e,t,n,i,o,a,s,u,l,c){this.$viewValue=Number.NaN,this.$modelValue=Number.NaN,this.$$rawModelValue=void 0,this.$validators={},this.$asyncValidators={},this.$parsers=[],this.$formatters=[],this.$viewChangeListeners=[],this.$untouched=!0,this.$touched=!1,this.$pristine=!0,this.$dirty=!1,this.$valid=!0,this.$invalid=!1,this.$error={},this.$$success={},this.$pending=void 0,this.$name=c(n.name||"",!1)(e),this.$$parentForm=Fo;var f,d=o(n.ngModel),p=d.assign,m=d,g=p,y=null,b=this;this.$$setOptions=function(e){if(b.$options=e,e&&e.getterSetter){var t=o(n.ngModel+"()"),r=o(n.ngModel+"($$$p)");m=function(e){var n=d(e);return C(n)&&(n=t(e)),n},g=function(e,t){C(d(e))?r(e,{$$$p:t}):p(e,t)}}else if(!d.assign)throw Ca("nonassign","Expression '{0}' is non-assignable. Element: {1}",n.ngModel,J(i))},this.$render=h,this.$isEmpty=function(e){return v(e)||""===e||null===e||e!==e},this.$$updateEmptyClasses=function(e){b.$isEmpty(e)?(a.removeClass(i,ka),a.addClass(i,xa)):(a.removeClass(i,xa),a.addClass(i,ka))};var w=0;Cr({ctrl:this,$element:i,set:function(e,t){e[t]=!0},unset:function(e,t){delete e[t]},$animate:a}),this.$setPristine=function(){b.$dirty=!1,b.$pristine=!0,a.removeClass(i,$a),a.addClass(i,va)},this.$setDirty=function(){b.$dirty=!0,b.$pristine=!1,a.removeClass(i,va),a.addClass(i,$a),b.$$parentForm.$setDirty()},this.$setUntouched=function(){b.$touched=!1,b.$untouched=!0,a.setClass(i,ya,ba)},this.$setTouched=function(){b.$touched=!0,b.$untouched=!1,a.setClass(i,ba,ya)},this.$rollbackViewValue=function(){s.cancel(y),b.$viewValue=b.$$lastCommittedViewValue,b.$render()},this.$validate=function(){if(!x(b.$modelValue)||!isNaN(b.$modelValue)){var e=b.$$lastCommittedViewValue,t=b.$$rawModelValue,n=b.$valid,r=b.$modelValue,i=b.$options&&b.$options.allowInvalid;b.$$runValidators(t,e,function(e){i||n===e||(b.$modelValue=e?t:void 0,b.$modelValue!==r&&b.$$writeModelToScope())})}},this.$$runValidators=function(e,t,n){function i(){var e=b.$$parserName||"parse";return v(f)?(s(e,null),!0):(f||(r(b.$validators,function(e,t){s(t,null)}),r(b.$asyncValidators,function(e,t){s(t,null)})),s(e,f),f)}function o(){var n=!0;return r(b.$validators,function(r,i){var o=r(e,t);n=n&&o,s(i,o)}),n?!0:(r(b.$asyncValidators,function(e,t){s(t,null)}),!1)}function a(){var n=[],i=!0;r(b.$asyncValidators,function(r,o){var a=r(e,t);if(!O(a))throw Ca("nopromise","Expected asynchronous validator to return a promise but got '{0}' instead.",a);s(o,void 0),n.push(a.then(function(){s(o,!0)},function(){i=!1,s(o,!1)}))}),n.length?l.all(n).then(function(){u(i)},h):u(!0)}function s(e,t){c===w&&b.$setValidity(e,t)}function u(e){c===w&&n(e)}w++;var c=w;return i()&&o()?void a():void u(!1)},this.$commitViewValue=function(){var e=b.$viewValue;s.cancel(y),(b.$$lastCommittedViewValue!==e||""===e&&b.$$hasNativeValidators)&&(b.$$updateEmptyClasses(e),b.$$lastCommittedViewValue=e,b.$pristine&&this.$setDirty(),this.$$parseAndValidate())},this.$$parseAndValidate=function(){function t(){b.$modelValue!==o&&b.$$writeModelToScope()}var n=b.$$lastCommittedViewValue,r=n;if(f=v(r)?void 0:!0)for(var i=0;io;o++){var u=e===n?o:n[o],l=e[u],c=k(l,u),f=g(l,c);if(t.push(f),s[2]||s[1]){var d=$(r,c);t.push(d)}if(s[4]){var h=b(r,c);t.push(h)}}return t}),getOptions:function(){for(var e=[],t={},n=w(r)||[],o=a(n),s=o.length,u=0;s>u;u++){var l=n===o?u:o[u],c=n[l],d=k(c,l),h=p(r,d),m=g(h,d),x=$(r,d),C=y(r,d),S=b(r,d),_=new i(m,h,x,C,S);e.push(_),t[m]=_}return{items:e,selectValueMap:t,getOptionFromViewValue:function(e){return t[v(e)]},getViewValueFromOption:function(e){return f?qr.copy(e.viewValue):e.viewValue}}}}}function s(e,n,o,s){function c(e,t){var n=u.cloneNode(!1);t.appendChild(n),f(e,n)}function f(e,t){e.element=t,t.disabled=e.disabled,e.label!==t.label&&(t.label=e.label,t.textContent=e.label),e.value!==t.value&&(t.value=e.selectValue)}function d(){var e=k&&p.readValue();if(k)for(var t=k.items.length-1;t>=0;t--){var r=k.items[t];He(r.group?r.element.parentNode:r.element)}k=C.getOptions();var i={};if(w&&n.prepend(h),k.items.forEach(function(e){var t;$(e.group)?(t=i[e.group],t||(t=l.cloneNode(!1),S.appendChild(t),t.label=e.group,i[e.group]=t),c(e,t)):c(e,S)}),n[0].appendChild(S),m.$render(),!m.$isEmpty(e)){var o=p.readValue(),a=C.trackBy||g;(a?V(e,o):e===o)||(m.$setViewValue(o),m.$render())}}for(var h,p=s[0],m=s[1],g=o.multiple,v=0,y=n.children(),b=y.length;b>v;v++)if(""===y[v].value){h=y.eq(v);break}var w=!!h,x=Ir(u.cloneNode(!1));x.val("?");var k,C=a(o.ngOptions,n,e),S=i[0].createDocumentFragment(),_=function(){w||n.prepend(h),n.val(""),h.prop("selected",!0),h.attr("selected",!0)},E=function(){w||h.remove()},D=function(){n.prepend(x),n.val("?"),x.prop("selected",!0),x.attr("selected",!0)},T=function(){x.remove()};g?(m.$isEmpty=function(e){return!e||0===e.length},p.writeValue=function(e){k.items.forEach(function(e){e.element.selected=!1}),e&&e.forEach(function(e){var t=k.getOptionFromViewValue(e);t&&(t.element.selected=!0)})},p.readValue=function(){var e=n.val()||[],t=[];return r(e,function(e){var n=k.selectValueMap[e];n&&!n.disabled&&t.push(k.getViewValueFromOption(n))}),t},C.trackBy&&e.$watchCollection(function(){return Wr(m.$viewValue)?m.$viewValue.map(function(e){return C.getTrackByValue(e)}):void 0},function(){m.$render()})):(p.writeValue=function(e){var t=k.getOptionFromViewValue(e);t?(n[0].value!==t.selectValue&&(T(),E(),n[0].value=t.selectValue,t.element.selected=!0),t.element.setAttribute("selected","selected")):null===e||w?(T(),_()):(E(),D())},p.readValue=function(){var e=k.selectValueMap[n.val()];return e&&!e.disabled?(E(),T(),k.getViewValueFromOption(e)):null},C.trackBy&&e.$watch(function(){return C.getTrackByValue(m.$viewValue)},function(){m.$render()})),w?(h.remove(),t(h)(e),h.removeClass("ng-scope")):h=Ir(u.cloneNode(!1)),n.empty(),d(),e.$watchCollection(C.getWatchables,d)}var u=e.document.createElement("option"),l=e.document.createElement("optgroup");return{restrict:"A",terminal:!0,require:["select","ngModel"],link:{pre:function(e,t,n,r){r[0].registerOption=h},post:s}}}],Fa=["$locale","$interpolate","$log",function(e,t,n){var i=/{}/g,o=/^when(Minus)?(.+)$/;return{link:function(a,s,u){function l(e){s.text(e||"")}var c,f=u.count,d=u.$attr.when&&s.attr(u.$attr.when),p=u.offset||0,m=a.$eval(d)||{},g={},$=t.startSymbol(),y=t.endSymbol(),b=$+f+"-"+p+y,w=qr.noop;r(u,function(e,t){var n=o.exec(t);if(n){var r=(n[1]?"-":"")+Mr(n[2]);m[r]=s.attr(u.$attr[t])}}),r(m,function(e,n){g[n]=t(e.replace(i,b))}),a.$watch(f,function(t){var r=parseFloat(t),i=isNaN(r);if(i||r in m||(r=e.pluralCat(r-p)),r!==c&&!(i&&x(c)&&isNaN(c))){w();var o=g[r];v(o)?(null!=t&&n.debug("ngPluralize: no rule defined for '"+r+"' in "+d),w=h,l()):w=a.$watch(o,l),c=r}})}}}],Na=["$parse","$animate","$compile",function(e,i,o){var a="$$NG_REMOVED",s=t("ngRepeat"),u=function(e,t,n,r,i,o,a){e[n]=r,i&&(e[i]=o),e.$index=t,e.$first=0===t,e.$last=t===a-1,e.$middle=!(e.$first||e.$last),e.$odd=!(e.$even=0===(1&t))},l=function(e){return e.clone[0]},c=function(e){return e.clone[e.clone.length-1]};return{restrict:"A",multiElement:!0,transclude:"element",priority:1e3,terminal:!0,$$tlb:!0,compile:function(t,f){var d=f.ngRepeat,h=o.$$createComment("end ngRepeat",d),p=d.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+track\s+by\s+([\s\S]+?))?\s*$/);if(!p)throw s("iexp","Expected expression in form of '_item_ in _collection_[ track by _id_]' but got '{0}'.",d);var m=p[1],g=p[2],v=p[3],$=p[4];if(p=m.match(/^(?:(\s*[\$\w]+)|\(\s*([\$\w]+)\s*,\s*([\$\w]+)\s*\))$/),!p)throw s("iidexp","'_item_' in '_item_ in _collection_' should be an identifier or '(_key_, _value_)' expression, but got '{0}'.",m);var y=p[3]||p[1],b=p[2];if(v&&(!/^[$a-zA-Z_][$a-zA-Z0-9_]*$/.test(v)||/^(null|undefined|this|\$index|\$first|\$middle|\$last|\$even|\$odd|\$parent|\$root|\$id)$/.test(v)))throw s("badident","alias '{0}' is invalid --- must be a valid JS identifier which is not a reserved name.",v);var w,x,k,C,S={$id:Je};return $?w=e($):(k=function(e,t){return Je(t)},C=function(e){return e}),function(e,t,o,f,p){w&&(x=function(t,n,r){return b&&(S[b]=t),S[y]=n,S.$index=r,w(e,S)});var m=me();e.$watchCollection(g,function(o){var f,g,$,w,S,_,E,D,T,M,A,O,F=t[0],N=me();if(v&&(e[v]=o),n(o))T=o,D=x||k;else{D=x||C,T=[];for(var I in o)Tr.call(o,I)&&"$"!==I.charAt(0)&&T.push(I)}for(w=T.length,A=new Array(w),f=0;w>f;f++)if(S=o===T?f:T[f],_=o[S],E=D(S,_,f),m[E])M=m[E],delete m[E],N[E]=M,A[f]=M;else{if(N[E])throw r(A,function(e){e&&e.scope&&(m[e.id]=e)}),s("dupes","Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: {0}, Duplicate key: {1}, Duplicate value: {2}",d,E,_);A[f]={id:E,scope:void 0,clone:void 0},N[E]=!0}for(var P in m){if(M=m[P],O=pe(M.clone),i.leave(O),O[0].parentNode)for(f=0,g=O.length;g>f;f++)O[f][a]=!0;M.scope.$destroy()}for(f=0;w>f;f++)if(S=o===T?f:T[f],_=o[S],M=A[f],M.scope){$=F;do $=$.nextSibling;while($&&$[a]);l(M)!=$&&i.move(pe(M.clone),null,F),F=c(M),u(M.scope,f,y,_,b,S,w)}else p(function(e,t){M.scope=t;var n=h.cloneNode(!1);e[e.length++]=n,i.enter(e,null,F),F=n,M.clone=e,N[M.id]=M,u(M.scope,f,y,_,b,S,w)});m=N})}}}}],Ia="ng-hide",Pa="ng-hide-animate",ja=["$animate",function(e){return{restrict:"A",multiElement:!0,link:function(t,n,r){t.$watch(r.ngShow,function(t){e[t?"removeClass":"addClass"](n,Ia,{tempClasses:Pa})})}}}],La=["$animate",function(e){return{restrict:"A",multiElement:!0,link:function(t,n,r){t.$watch(r.ngHide,function(t){e[t?"addClass":"removeClass"](n,Ia,{tempClasses:Pa})})}}}],Ra=sr(function(e,t,n){e.$watch(n.ngStyle,function(e,n){n&&e!==n&&r(n,function(e,n){t.css(n,"")}),e&&t.css(e)},!0)}),Ua=["$animate","$compile",function(e,t){return{require:"ngSwitch",controller:["$scope",function(){this.cases={}}],link:function(n,i,o,a){var s=o.ngSwitch||o.on,u=[],l=[],c=[],f=[],d=function(e,t){return function(){e.splice(t,1)}};n.$watch(s,function(n){var i,o;for(i=0,o=c.length;o>i;++i)e.cancel(c[i]);for(c.length=0,i=0,o=f.length;o>i;++i){var s=pe(l[i].clone);f[i].$destroy();var h=c[i]=e.leave(s);h.then(d(c,i))}l.length=0,f.length=0,(u=a.cases["!"+n]||a.cases["?"])&&r(u,function(n){n.transclude(function(r,i){f.push(i);var o=n.element;r[r.length++]=t.$$createComment("end ngSwitchWhen");var a={clone:r};l.push(a),e.enter(r,o.parent(),o)})})})}}}],Va=sr({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(e,t,n,r,i){r.cases["!"+n.ngSwitchWhen]=r.cases["!"+n.ngSwitchWhen]||[],r.cases["!"+n.ngSwitchWhen].push({transclude:i,element:t})}}),za=sr({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(e,t,n,r,i){r.cases["?"]=r.cases["?"]||[],r.cases["?"].push({transclude:i,element:t})}}),Ha=t("ngTransclude"),qa=sr({restrict:"EAC",link:function(e,t,n,r,i){function o(e){e.length&&(t.empty(),t.append(e))}if(n.ngTransclude===n.$attr.ngTransclude&&(n.ngTransclude=""),!i)throw Ha("orphan","Illegal use of ngTransclude directive in the template! No parent directive that requires a transclusion found. Element: {0}",J(t));var a=n.ngTransclude||n.ngTranscludeSlot;i(o,null,a)}}),Ya=["$templateCache",function(e){return{restrict:"E",terminal:!0,compile:function(t,n){if("text/ng-template"==n.type){var r=n.id,i=t[0].text;e.put(r,i)}}}}],Wa={$setViewValue:h,$render:h},Ba=["$element","$scope",function(t,n){var r=this,i=new Xe;r.ngModelCtrl=Wa,r.unknownOption=Ir(e.document.createElement("option")),r.renderUnknownOption=function(e){var n="? "+Je(e)+" ?";r.unknownOption.val(n),t.prepend(r.unknownOption),t.val(n)},n.$on("$destroy",function(){r.renderUnknownOption=h}),r.removeUnknownOption=function(){r.unknownOption.parent()&&r.unknownOption.remove()},r.readValue=function(){return r.removeUnknownOption(),t.val()},r.writeValue=function(e){r.hasOption(e)?(r.removeUnknownOption(),t.val(e),""===e&&r.emptyOption.prop("selected",!0)):null==e&&r.emptyOption?(r.removeUnknownOption(),t.val("")):r.renderUnknownOption(e)},r.addOption=function(e,t){if(t[0].nodeType!==oi){de(e,'"option value"'),""===e&&(r.emptyOption=t);var n=i.get(e)||0;i.put(e,n+1),r.ngModelCtrl.$render(),_r(t)}},r.removeOption=function(e){var t=i.get(e);t&&(1===t?(i.remove(e),""===e&&(r.emptyOption=void 0)):i.put(e,t-1))},r.hasOption=function(e){return!!i.get(e)},r.registerOption=function(e,t,n,i,o){if(i){var a;n.$observe("value",function(e){$(a)&&r.removeOption(a),a=e,r.addOption(e,t)})}else o?e.$watch(o,function(e,i){n.$set("value",e),i!==e&&r.removeOption(i),r.addOption(e,t)}):r.addOption(n.value,t);t.on("$destroy",function(){r.removeOption(n.value),r.ngModelCtrl.$render()})}}],Ga=function(){function e(e,t,n,i){var o=i[1];if(o){var a=i[0];if(a.ngModelCtrl=o,t.on("change",function(){e.$apply(function(){o.$setViewValue(a.readValue())})}),n.multiple){a.readValue=function(){var e=[];return r(t.find("option"),function(t){t.selected&&e.push(t.value)}),e},a.writeValue=function(e){var n=new Xe(e);r(t.find("option"),function(e){e.selected=$(n.get(e.value))})};var s,u=NaN;e.$watch(function(){u!==o.$viewValue||V(s,o.$viewValue)||(s=U(o.$viewValue),o.$render()),u=o.$viewValue}),o.$isEmpty=function(e){return!e||0===e.length}}}}function t(e,t,n,r){var i=r[1];if(i){var o=r[0];i.$render=function(){o.writeValue(i.$viewValue)}}}return{restrict:"E",require:["select","?ngModel"],controller:Ba,priority:1,link:{pre:e,post:t}}},Za=["$interpolate",function(e){return{restrict:"E",priority:100,compile:function(t,n){if($(n.value))var r=e(n.value,!0);else{var i=e(t.text(),!0);i||n.$set("value",t.text())}return function(e,t,n){var o="$selectController",a=t.parent(),s=a.data(o)||a.parent().data(o);s&&s.registerOption(e,t,n,r,i)}}}}],Qa=m({restrict:"E",terminal:!1}),Ja=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){r&&(n.required=!0,r.$validators.required=function(e,t){return!n.required||!r.$isEmpty(t)},n.$observe("required",function(){r.$validate()}))}}},Xa=function(){return{restrict:"A",require:"?ngModel",link:function(e,n,r,i){if(i){var o,a=r.ngPattern||r.pattern;r.$observe("pattern",function(e){if(w(e)&&e.length>0&&(e=new RegExp("^"+e+"$")),e&&!e.test)throw t("ngPattern")("noregexp","Expected {0} to be a RegExp but was {1}. Element: {2}",a,e,J(n));o=e||void 0,i.$validate()}),i.$validators.pattern=function(e,t){return i.$isEmpty(t)||v(o)||o.test(t)}}}}},Ka=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i=-1;n.$observe("maxlength",function(e){var t=f(e);i=isNaN(t)?-1:t,r.$validate()}),r.$validators.maxlength=function(e,t){return 0>i||r.$isEmpty(t)||t.length<=i}}}}},es=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i=0;n.$observe("minlength",function(e){i=f(e)||0,r.$validate()}),r.$validators.minlength=function(e,t){return r.$isEmpty(t)||t.length>=i}}}}};return e.angular.bootstrap?void(e.console&&console.log("WARNING: Tried to load angular more than once.")):(le(),ye(qr),qr.module("ngLocale",[],["$provide",function(e){function t(e){e+="";var t=e.indexOf(".");return-1==t?0:e.length-t-1}function n(e,n){var r=n;void 0===r&&(r=Math.min(t(e),3));var i=Math.pow(10,r),o=(e*i|0)%i;return{v:r,f:o}}var r={ZERO:"zero",ONE:"one",TWO:"two",FEW:"few",MANY:"many",OTHER:"other"};e.value("$locale",{DATETIME_FORMATS:{AMPMS:["AM","PM"],DAY:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],ERANAMES:["Before Christ","Anno Domini"],ERAS:["BC","AD"],FIRSTDAYOFWEEK:6,MONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],SHORTDAY:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],SHORTMONTH:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],STANDALONEMONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],WEEKENDRANGE:[5,6],fullDate:"EEEE, MMMM d, y",longDate:"MMMM d, y",medium:"MMM d, y h:mm:ss a",mediumDate:"MMM d, y",mediumTime:"h:mm:ss a","short":"M/d/yy h:mm a",shortDate:"M/d/yy",shortTime:"h:mm a"},NUMBER_FORMATS:{CURRENCY_SYM:"$",DECIMAL_SEP:".",GROUP_SEP:",",PATTERNS:[{gSize:3,lgSize:3,maxFrac:3,minFrac:0,minInt:1,negPre:"-",negSuf:"",posPre:"",posSuf:""},{gSize:3,lgSize:3,maxFrac:2,minFrac:2,minInt:1,negPre:"-¤",negSuf:"",posPre:"¤",posSuf:""}]},id:"en-us",localeID:"en_US",pluralCat:function(e,t){var i=0|e,o=n(e,t);return 1==i&&0==o.v?r.ONE:r.OTHER}})}]),void Ir(e.document).ready(function(){ie(e.document,oe)}))}(window),!window.angular.$$csp().noInlineStyle&&window.angular.element(document.head).prepend('')},{}],9:[function(e,t,n){e("./angular"),t.exports=angular},{"./angular":8}],10:[function(e,t,n){(function(){var e,n,r,i,o,a,s,u,l=[].slice,c={}.hasOwnProperty,f=function(e,t){function n(){this.constructor=e}for(var r in t)c.call(t,r)&&(e[r]=t[r]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e};s=function(){},n=function(){function e(){}return e.prototype.addEventListener=e.prototype.on,e.prototype.on=function(e,t){return this._callbacks=this._callbacks||{},this._callbacks[e]||(this._callbacks[e]=[]),this._callbacks[e].push(t),this},e.prototype.emit=function(){var e,t,n,r,i,o;if(r=arguments[0],e=2<=arguments.length?l.call(arguments,1):[],this._callbacks=this._callbacks||{},n=this._callbacks[r])for(i=0,o=n.length;o>i;i++)t=n[i],t.apply(this,e);return this},e.prototype.removeListener=e.prototype.off,e.prototype.removeAllListeners=e.prototype.off,e.prototype.removeEventListener=e.prototype.off,e.prototype.off=function(e,t){var n,r,i,o,a;if(!this._callbacks||0===arguments.length)return this._callbacks={},this;if(r=this._callbacks[e],!r)return this;if(1===arguments.length)return delete this._callbacks[e],this;for(i=o=0,a=r.length;a>o;i=++o)if(n=r[i],n===t){r.splice(i,1);break}return this},e}(),e=function(e){function t(e,n){var i,o,a;if(this.element=e,this.version=t.version,this.defaultOptions.previewTemplate=this.defaultOptions.previewTemplate.replace(/\n*/g,""),this.clickableElements=[],this.listeners=[],this.files=[],"string"==typeof this.element&&(this.element=document.querySelector(this.element)),!this.element||null==this.element.nodeType)throw new Error("Invalid dropzone element.");if(this.element.dropzone)throw new Error("Dropzone already attached.");if(t.instances.push(this),this.element.dropzone=this,i=null!=(a=t.optionsForElement(this.element))?a:{},this.options=r({},this.defaultOptions,i,null!=n?n:{}),this.options.forceFallback||!t.isBrowserSupported())return this.options.fallback.call(this);if(null==this.options.url&&(this.options.url=this.element.getAttribute("action")),!this.options.url)throw new Error("No URL provided.");if(this.options.acceptedFiles&&this.options.acceptedMimeTypes)throw new Error("You can't provide both 'acceptedFiles' and 'acceptedMimeTypes'. 'acceptedMimeTypes' is deprecated.");this.options.acceptedMimeTypes&&(this.options.acceptedFiles=this.options.acceptedMimeTypes,delete this.options.acceptedMimeTypes),this.options.method=this.options.method.toUpperCase(),(o=this.getExistingFallback())&&o.parentNode&&o.parentNode.removeChild(o),this.options.previewsContainer!==!1&&(this.options.previewsContainer?this.previewsContainer=t.getElement(this.options.previewsContainer,"previewsContainer"):this.previewsContainer=this.element),this.options.clickable&&(this.options.clickable===!0?this.clickableElements=[this.element]:this.clickableElements=t.getElements(this.options.clickable,"clickable")),this.init()}var r,i;return f(t,e),t.prototype.Emitter=n,t.prototype.events=["drop","dragstart","dragend","dragenter","dragover","dragleave","addedfile","addedfiles","removedfile","thumbnail","error","errormultiple","processing","processingmultiple","uploadprogress","totaluploadprogress","sending","sendingmultiple","success","successmultiple","canceled","canceledmultiple","complete","completemultiple","reset","maxfilesexceeded","maxfilesreached","queuecomplete"],t.prototype.defaultOptions={url:null,method:"post",withCredentials:!1,parallelUploads:2,uploadMultiple:!1,maxFilesize:256,paramName:"file",createImageThumbnails:!0,maxThumbnailFilesize:10,thumbnailWidth:120,thumbnailHeight:120,filesizeBase:1e3,maxFiles:null,params:{},clickable:!0,ignoreHiddenFiles:!0,acceptedFiles:null,acceptedMimeTypes:null,autoProcessQueue:!0,autoQueue:!0,addRemoveLinks:!1,previewsContainer:null,hiddenInputContainer:"body",capture:null,renameFilename:null,dictDefaultMessage:"Drop files here to upload",dictFallbackMessage:"Your browser does not support drag'n'drop file uploads.",dictFallbackText:"Please use the fallback form below to upload your files like in the olden days.",dictFileTooBig:"File is too big ({{filesize}}MiB). Max filesize: {{maxFilesize}}MiB.",dictInvalidFileType:"You can't upload files of this type.",dictResponseError:"Server responded with {{statusCode}} code.",dictCancelUpload:"Cancel upload",dictCancelUploadConfirmation:"Are you sure you want to cancel this upload?",dictRemoveFile:"Remove file",dictRemoveFileConfirmation:null,dictMaxFilesExceeded:"You can not upload any more files.",accept:function(e,t){return t()},init:function(){return s},forceFallback:!1,fallback:function(){var e,n,r,i,o,a;for(this.element.className=""+this.element.className+" dz-browser-not-supported",a=this.element.getElementsByTagName("div"),i=0,o=a.length;o>i;i++)e=a[i],/(^| )dz-message($| )/.test(e.className)&&(n=e,e.className="dz-message");return n||(n=t.createElement('
    '),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=this._renameFilename(e.name);for(d=e.previewElement.querySelectorAll("[data-dz-size]"),a=0,l=d.length;l>a;a++)n=d[a],n.innerHTML=this.filesize(e.size);for(this.options.addRemoveLinks&&(e._removeLink=t.createElement(''+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._renameFilename=function(e){return"function"!=typeof this.options.renameFilename?e:this.options.renameFilename(e)},t.prototype.getFallbackForm=function(){var e,n,r,i;return(e=this.getExistingFallback())?e:(r='
    ',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,i;return n=e.createReader(),r=function(e){return"undefined"!=typeof console&&null!==console&&"function"==typeof console.log?console.log(e):void 0},(i=function(e){return function(){return n.readEntries(function(n){var r,o,a;if(n.length>0){for(o=0,a=n.length;a>o;o++)r=n[o],r.isFile?r.file(function(n){return e.options.ignoreHiddenFiles&&"."===n.name.substring(0,1)?void 0:(n.fullPath=""+t+"/"+n.name,e.addFile(n))}):r.isDirectory&&e._addFilesFromDirectory(r,""+t+"/"+r.name);i()}return null},r)}}(this))()},t.prototype.accept=function(e,n){return e.size>1024*this.options.maxFilesize*1024?n(this.options.dictFileTooBig.replace("{{filesize}}",Math.round(e.size/1024/10.24)/100).replace("{{maxFilesize}}",this.options.maxFilesize)):t.isValidFile(e,this.options.acceptedFiles)?null!=this.options.maxFiles&&this.getAcceptedFiles().length>=this.options.maxFiles?(n(this.options.dictMaxFilesExceeded.replace("{{maxFiles}}",this.options.maxFiles)),this.emit("maxfilesexceeded",e)):this.options.accept.call(this,e,n):n(this.options.dictInvalidFileType)},t.prototype.addFile=function(e){return e.upload={progress:0,total:e.size,bytesSent:0},this.files.push(e),e.status=t.ADDED,this.emit("addedfile",e),this._enqueueThumbnail(e),this.accept(e,function(t){return function(n){return n?(e.accepted=!1,t._errorProcessing([e],n)):(e.accepted=!0,t.options.autoQueue&&t.enqueueFile(e)),t._updateMaxFilesReachedClass()}}(this))},t.prototype.enqueueFiles=function(e){var t,n,r;for(n=0,r=e.length;r>n;n++)t=e[n],this.enqueueFile(t);return null},t.prototype.enqueueFile=function(e){if(e.status!==t.ADDED||e.accepted!==!0)throw new Error("This file can't be queued because it has already been processed or was rejected.");return e.status=t.QUEUED,this.options.autoProcessQueue?setTimeout(function(e){return function(){return e.processQueue()}}(this),0):void 0},t.prototype._thumbnailQueue=[],t.prototype._processingThumbnail=!1,t.prototype._enqueueThumbnail=function(e){return this.options.createImageThumbnails&&e.type.match(/image.*/)&&e.size<=1024*this.options.maxThumbnailFilesize*1024?(this._thumbnailQueue.push(e),setTimeout(function(e){return function(){return e._processThumbnailQueue()}}(this),0)):void 0},t.prototype._processThumbnailQueue=function(){return this._processingThumbnail||0===this._thumbnailQueue.length?void 0:(this._processingThumbnail=!0,this.createThumbnail(this._thumbnailQueue.shift(),function(e){return function(){return e._processingThumbnail=!1,e._processThumbnailQueue()}}(this)))},t.prototype.removeFile=function(e){return e.status===t.UPLOADING&&this.cancelUpload(e),this.files=u(this.files,e),this.emit("removedfile",e),0===this.files.length?this.emit("reset"):void 0},t.prototype.removeAllFiles=function(e){var n,r,i,o;for(null==e&&(e=!1),o=this.files.slice(),r=0,i=o.length;i>r;r++)n=o[r],(n.status!==t.UPLOADING||e)&&this.removeFile(n);return null},t.prototype.createThumbnail=function(e,t){var n;return n=new FileReader,n.onload=function(r){return function(){return"image/svg+xml"===e.type?(r.emit("thumbnail",e,n.result),void(null!=t&&t())):r.createThumbnailFromUrl(e,n.result,t)}}(this),n.readAsDataURL(e)},t.prototype.createThumbnailFromUrl=function(e,t,n,r){var i;return i=document.createElement("img"),r&&(i.crossOrigin=r),i.onload=function(t){return function(){var r,o,s,u,l,c,f,d;return e.width=i.width,e.height=i.height,s=t.options.resize.call(t,e),null==s.trgWidth&&(s.trgWidth=s.optWidth),null==s.trgHeight&&(s.trgHeight=s.optHeight),r=document.createElement("canvas"),o=r.getContext("2d"),r.width=s.trgWidth,r.height=s.trgHeight,a(o,i,null!=(l=s.srcX)?l:0,null!=(c=s.srcY)?c:0,s.srcWidth,s.srcHeight,null!=(f=s.trgX)?f:0,null!=(d=s.trgY)?d:0,s.trgWidth,s.trgHeight),u=r.toDataURL("image/png"),t.emit("thumbnail",e,u),null!=n?n():void 0}}(this),null!=n&&(i.onerror=n),i.src=t},t.prototype.processQueue=function(){var e,t,n,r;if(t=this.options.parallelUploads,n=this.getUploadingFiles().length,e=n,!(n>=t)&&(r=this.getQueuedFiles(),r.length>0)){if(this.options.uploadMultiple)return this.processFiles(r.slice(0,t-n));for(;t>e;){if(!r.length)return;this.processFile(r.shift()),e++}}},t.prototype.processFile=function(e){return this.processFiles([e])},t.prototype.processFiles=function(e){var n,r,i;for(r=0,i=e.length;i>r;r++)n=e[r],n.processing=!0,n.status=t.UPLOADING,this.emit("processing",n);return this.options.uploadMultiple&&this.emit("processingmultiple",e),this.uploadFiles(e)},t.prototype._getFilesWithXhr=function(e){var t,n;return n=function(){var n,r,i,o;for(i=this.files,o=[],n=0,r=i.length;r>n;n++)t=i[n],t.xhr===e&&o.push(t);return o}.call(this)},t.prototype.cancelUpload=function(e){var n,r,i,o,a,s,u;if(e.status===t.UPLOADING){for(r=this._getFilesWithXhr(e.xhr),i=0,a=r.length;a>i;i++)n=r[i],n.status=t.CANCELED;for(e.xhr.abort(),o=0,s=r.length;s>o;o++)n=r[o],this.emit("canceled",n);this.options.uploadMultiple&&this.emit("canceledmultiple",r)}else(u=e.status)!==t.ADDED&&u!==t.QUEUED||(e.status=t.CANCELED,this.emit("canceled",e),this.options.uploadMultiple&&this.emit("canceledmultiple",[e]));return this.options.autoProcessQueue?this.processQueue():void 0},i=function(){var e,t;return t=arguments[0],e=2<=arguments.length?l.call(arguments,1):[],"function"==typeof t?t.apply(this,e):t},t.prototype.uploadFile=function(e){return this.uploadFiles([e])},t.prototype.uploadFiles=function(e){var n,o,a,s,u,l,c,f,d,h,p,m,g,v,$,y,b,w,x,k,C,S,_,E,D,T,M,A,O,F,N,I,P,j;for(x=new XMLHttpRequest,k=0,E=e.length;E>k;k++)n=e[k],n.xhr=x;m=i(this.options.method,e),b=i(this.options.url,e),x.open(m,b,!0),x.withCredentials=!!this.options.withCredentials,$=null,a=function(t){return function(){var r,i,o;for(o=[],r=0,i=e.length;i>r;r++)n=e[r],o.push(t._errorProcessing(e,$||t.options.dictResponseError.replace("{{statusCode}}",x.status),x));return o}}(this),y=function(t){return function(r){var i,o,a,s,u,l,c,f,d;if(null!=r)for(o=100*r.loaded/r.total,a=0,l=e.length;l>a;a++)n=e[a],n.upload={progress:o,total:r.total,bytesSent:r.loaded};else{for(i=!0,o=100,s=0,c=e.length;c>s;s++)n=e[s],100===n.upload.progress&&n.upload.bytesSent===n.upload.total||(i=!1),n.upload.progress=o,n.upload.bytesSent=n.upload.total;if(i)return}for(d=[],u=0,f=e.length;f>u;u++)n=e[u],d.push(t.emit("uploadprogress",n,o,n.upload.bytesSent));return d}}(this),x.onload=function(n){return function(r){var i;if(e[0].status!==t.CANCELED&&4===x.readyState){if($=x.responseText,x.getResponseHeader("content-type")&&~x.getResponseHeader("content-type").indexOf("application/json"))try{$=JSON.parse($)}catch(o){r=o,$="Invalid JSON response from server."}return y(),200<=(i=x.status)&&300>i?n._finished(e,$,r):a()}}}(this),x.onerror=function(n){return function(){return e[0].status!==t.CANCELED?a():void 0}}(this),v=null!=(O=x.upload)?O:x,v.onprogress=y,l={Accept:"application/json","Cache-Control":"no-cache","X-Requested-With":"XMLHttpRequest"},this.options.headers&&r(l,this.options.headers);for(s in l)u=l[s],u&&x.setRequestHeader(s,u);if(o=new FormData,this.options.params){F=this.options.params;for(p in F)w=F[p],o.append(p,w)}for(C=0,D=e.length;D>C;C++)n=e[C],this.emit("sending",n,x,o);if(this.options.uploadMultiple&&this.emit("sendingmultiple",e,x,o),"FORM"===this.element.tagName)for(N=this.element.querySelectorAll("input, textarea, select, button"),S=0,T=N.length;T>S;S++)if(f=N[S],d=f.getAttribute("name"),h=f.getAttribute("type"),"SELECT"===f.tagName&&f.hasAttribute("multiple"))for(I=f.options,_=0,M=I.length;M>_;_++)g=I[_],g.selected&&o.append(d,g.value);else(!h||"checkbox"!==(P=h.toLowerCase())&&"radio"!==P||f.checked)&&o.append(d,f.value);for(c=A=0,j=e.length-1;j>=0?j>=A:A>=j;c=j>=0?++A:--A)o.append(this._getParamName(c),e[c],this._renameFilename(e[c].name));return this.submitRequest(x,o,e)},t.prototype.submitRequest=function(e,t,n){return e.send(t)},t.prototype._finished=function(e,n,r){var i,o,a;for(o=0,a=e.length;a>o;o++)i=e[o],i.status=t.SUCCESS,this.emit("success",i,n,r),this.emit("complete",i);return this.options.uploadMultiple&&(this.emit("successmultiple",e,n,r),this.emit("completemultiple",e)),this.options.autoProcessQueue?this.processQueue():void 0},t.prototype._errorProcessing=function(e,n,r){var i,o,a;for(o=0,a=e.length;a>o;o++)i=e[o],i.status=t.ERROR,this.emit("error",i,n,r),this.emit("complete",i);return this.options.uploadMultiple&&(this.emit("errormultiple",e,n,r),this.emit("completemultiple",e)),this.options.autoProcessQueue?this.processQueue():void 0},t}(n),e.version="4.3.0",e.options={},e.optionsForElement=function(t){return t.getAttribute("id")?e.options[r(t.getAttribute("id"))]:void 0},e.instances=[],e.forElement=function(e){if("string"==typeof e&&(e=document.querySelector(e)),null==(null!=e?e.dropzone:void 0))throw new Error("No Dropzone found for given element. This is probably because you're trying to access it before Dropzone had the time to initialize. Use the `init` option to setup any additional observers on your Dropzone.");return e.dropzone},e.autoDiscover=!0,e.discover=function(){var t,n,r,i,o,a;for(document.querySelectorAll?r=document.querySelectorAll(".dropzone"):(r=[],t=function(e){var t,n,i,o;for(o=[],n=0,i=e.length;i>n;n++)t=e[n],/(^| )dropzone($| )/.test(t.className)?o.push(r.push(t)):o.push(void 0);return o},t(document.getElementsByTagName("div")),t(document.getElementsByTagName("form"))),a=[],i=0,o=r.length;o>i;i++)n=r[i],e.optionsForElement(n)!==!1?a.push(new e(n)):a.push(void 0);return a},e.blacklistedBrowsers=[/opera.*Macintosh.*version\/12/i],e.isBrowserSupported=function(){var t,n,r,i,o;if(t=!0,window.File&&window.FileReader&&window.FileList&&window.Blob&&window.FormData&&document.querySelector)if("classList"in document.createElement("a"))for(o=e.blacklistedBrowsers,r=0,i=o.length;i>r;r++)n=o[r],n.test(navigator.userAgent)&&(t=!1);else t=!1;else t=!1;return t},u=function(e,t){var n,r,i,o;for(o=[],r=0,i=e.length;i>r;r++)n=e[r],n!==t&&o.push(n);return o},r=function(e){return e.replace(/[\-_](\w)/g,function(e){return e.charAt(1).toUpperCase()})},e.createElement=function(e){var t;return t=document.createElement("div"),t.innerHTML=e,t.childNodes[0]},e.elementInside=function(e,t){if(e===t)return!0;for(;e=e.parentNode;)if(e===t)return!0;return!1},e.getElement=function(e,t){var n;if("string"==typeof e?n=document.querySelector(e):null!=e.nodeType&&(n=e),null==n)throw new Error("Invalid `"+t+"` option provided. Please provide a CSS selector or a plain HTML element.");return n},e.getElements=function(e,t){var n,r,i,o,a,s,u,l;if(e instanceof Array){i=[];try{for(o=0,s=e.length;s>o;o++)r=e[o],i.push(this.getElement(r,t))}catch(c){n=c,i=null}}else if("string"==typeof e)for(i=[],l=document.querySelectorAll(e),a=0,u=l.length;u>a;a++)r=l[a],i.push(r);else null!=e.nodeType&&(i=[e]);if(null==i||!i.length)throw new Error("Invalid `"+t+"` option provided. Please provide a CSS selector, a plain HTML element or a list of those.");return i},e.confirm=function(e,t,n){return window.confirm(e)?t():null!=n?n():void 0},e.isValidFile=function(e,t){var n,r,i,o,a;if(!t)return!0;for(t=t.split(","),r=e.type,n=r.replace(/\/.*$/,""),o=0,a=t.length;a>o;o++)if(i=t[o],i=i.trim(),"."===i.charAt(0)){if(-1!==e.name.toLowerCase().indexOf(i.toLowerCase(),e.name.length-i.length))return!0}else if(/\/\*$/.test(i)){if(n===i.replace(/\/.*$/,""))return!0}else if(r===i)return!0;return!1},"undefined"!=typeof jQuery&&null!==jQuery&&(jQuery.fn.dropzone=function(t){return this.each(function(){return new e(this,t)})}),"undefined"!=typeof t&&null!==t?t.exports=e:window.Dropzone=e,e.ADDED="added",e.QUEUED="queued",e.ACCEPTED=e.QUEUED,e.UPLOADING="uploading",e.PROCESSING=e.UPLOADING,e.CANCELED="canceled",e.ERROR="error",e.SUCCESS="success",o=function(e){var t,n,r,i,o,a,s,u,l,c;for(s=e.naturalWidth,a=e.naturalHeight,n=document.createElement("canvas"),n.width=1,n.height=a,r=n.getContext("2d"),r.drawImage(e,0,0),i=r.getImageData(0,0,1,a).data,c=0,o=a,u=a;u>c;)t=i[4*(u-1)+3],0===t?o=u:c=u,u=o+c>>1;return l=u/a,0===l?1:l},a=function(e,t,n,r,i,a,s,u,l,c){var f;return f=o(t),e.drawImage(t,n,r,i,a,s,u,l,c/f)},i=function(e,t){var n,r,i,o,a,s,u,l,c;if(i=!1,c=!0,r=e.document,l=r.documentElement,n=r.addEventListener?"addEventListener":"attachEvent",u=r.addEventListener?"removeEventListener":"detachEvent",s=r.addEventListener?"":"on",o=function(n){return"readystatechange"!==n.type||"complete"===r.readyState?(("load"===n.type?e:r)[u](s+n.type,o,!1),!i&&(i=!0)?t.call(e,n.type||n):void 0):void 0},a=function(){var e;try{l.doScroll("left")}catch(t){return e=t,void setTimeout(a,50)}return o("poll")},"complete"!==r.readyState){if(r.createEventObject&&l.doScroll){try{c=!e.frameElement}catch(f){}c&&a()}return r[n](s+"DOMContentLoaded",o,!1),r[n](s+"readystatechange",o,!1),e[n](s+"load",o,!1)}},e._autoDiscoverFunction=function(){return e.autoDiscover?e.discover():void 0},i(window,e._autoDiscoverFunction)}).call(this)},{}],11:[function(e,t,n){(function(e){(function(){function e(e){this.tokens=[],this.tokens.links={},this.options=e||f.defaults,this.rules=d.normal,this.options.gfm&&(this.options.tables?this.rules=d.tables:this.rules=d.gfm)}function r(e,t){if(this.options=t||f.defaults,this.links=e,this.rules=h.normal,this.renderer=this.options.renderer||new i,this.renderer.options=this.options,!this.links)throw new Error("Tokens array requires a `links` property.");this.options.gfm?this.options.breaks?this.rules=h.breaks:this.rules=h.gfm:this.options.pedantic&&(this.rules=h.pedantic)}function i(e){this.options=e||{}}function o(e){this.tokens=[],this.token=null,this.options=e||f.defaults,this.options.renderer=this.options.renderer||new i,this.renderer=this.options.renderer,this.renderer.options=this.options}function a(e,t){return e.replace(t?/&/g:/&(?!#?\w+;)/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}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 cr)r=cr[n],i=t[r],p(i)||(e[r]=i);return e}function g(e){m(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),fr===!1&&(fr=!0,n.updateOffset(this),fr=!1)}function v(e){return e instanceof g||null!=e&&null!=e._isAMomentObject}function $(e){return 0>e?Math.ceil(e):Math.floor(e)}function y(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=$(t)),n}function b(e,t,n){var r,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(r=0;i>r;r++)(n&&e[r]!==t[r]||!n&&y(e[r])!==y(t[r]))&&a++;return a+o}function w(e){n.suppressDeprecationWarnings===!1&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function x(e,t){var r=!0;return u(function(){return null!=n.deprecationHandler&&n.deprecationHandler(null,e),r&&(w(e+"\nArguments: "+Array.prototype.slice.call(arguments).join(", ")+"\n"+(new Error).stack),r=!1),t.apply(this,arguments)},t)}function k(e,t){null!=n.deprecationHandler&&n.deprecationHandler(e,t),dr[e]||(w(t),dr[e]=!0)}function C(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function S(e){return"[object Object]"===Object.prototype.toString.call(e)}function _(e){var t,n;for(n in e)t=e[n],C(t)?this[n]=t:this["_"+n]=t;this._config=e,this._ordinalParseLenient=new RegExp(this._ordinalParse.source+"|"+/\d{1,2}/.source)}function E(e,t){var n,r=u({},e);for(n in t)s(t,n)&&(S(e[n])&&S(t[n])?(r[n]={},u(r[n],e[n]),u(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);return r}function D(e){null!=e&&this.set(e)}function T(e){return e?e.toLowerCase().replace("_","-"):e}function M(e){for(var t,n,r,i,o=0;o0;){if(r=A(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&b(i,n,!0)>=t-1)break;t--}o++}return null}function A(n){var r=null;if(!gr[n]&&"undefined"!=typeof t&&t&&t.exports)try{r=pr._abbr,e("./locale/"+n),O(r)}catch(i){}return gr[n]}function O(e,t){var n;return e&&(n=p(t)?I(e):F(e,t),n&&(pr=n)),pr._abbr}function F(e,t){return null!==t?(t.abbr=e,null!=gr[e]?(k("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale"),t=E(gr[e]._config,t)):null!=t.parentLocale&&(null!=gr[t.parentLocale]?t=E(gr[t.parentLocale]._config,t):k("parentLocaleUndefined","specified parentLocale is not defined yet")),gr[e]=new D(t),O(e),gr[e]):(delete gr[e],null)}function N(e,t){if(null!=t){var n;null!=gr[e]&&(t=E(gr[e]._config,t)),n=new D(t),n.parentLocale=gr[e],gr[e]=n,O(e)}else null!=gr[e]&&(null!=gr[e].parentLocale?gr[e]=gr[e].parentLocale:null!=gr[e]&&delete gr[e]);return gr[e]}function I(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return pr;if(!i(e)){if(t=A(e))return t;e=[e]}return M(e)}function P(){return hr(gr)}function j(e,t){var n=e.toLowerCase();vr[n]=vr[n+"s"]=vr[t]=e}function L(e){return"string"==typeof e?vr[e]||vr[e.toLowerCase()]:void 0}function R(e){var t,n,r={};for(n in e)s(e,n)&&(t=L(n),t&&(r[t]=e[n]));return r}function U(e,t){return function(r){return null!=r?(z(this,e,r),n.updateOffset(this,t),this):V(this,e)}}function V(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function z(e,t,n){e.isValid()&&e._d["set"+(e._isUTC?"UTC":"")+t](n)}function H(e,t){var n;if("object"==typeof e)for(n in e)this.set(n,e[n]);else if(e=L(e),C(this[e]))return this[e](t);return this}function q(e,t,n){var r=""+Math.abs(e),i=t-r.length,o=e>=0;return(o?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}function Y(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(wr[e]=i),t&&(wr[t[0]]=function(){return q(i.apply(this,arguments),t[1],t[2])}),n&&(wr[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function W(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function B(e){var t,n,r=e.match($r);for(t=0,n=r.length;n>t;t++)wr[r[t]]?r[t]=wr[r[t]]:r[t]=W(r[t]);return function(t){var i,o="";for(i=0;n>i;i++)o+=r[i]instanceof Function?r[i].call(t,e):r[i];return o}}function G(e,t){return e.isValid()?(t=Z(t,e.localeData()),br[t]=br[t]||B(t),br[t](e)):e.localeData().invalidDate()}function Z(e,t){function n(e){return t.longDateFormat(e)||e}var r=5;for(yr.lastIndex=0;r>=0&&yr.test(e);)e=e.replace(yr,n),yr.lastIndex=0,r-=1;return e}function Q(e,t,n){Rr[e]=C(t)?t:function(e,r){return e&&n?n:t}}function J(e,t){return s(Rr,e)?Rr[e](t._strict,t._locale):new RegExp(X(e))}function X(e){return K(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i}))}function K(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function ee(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),"number"==typeof t&&(r=function(e,n){n[t]=y(e)}),n=0;nr;++r)o=l([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?(i=mr.call(this._shortMonthsParse,a),-1!==i?i:null):(i=mr.call(this._longMonthsParse,a),-1!==i?i:null):"MMM"===t?(i=mr.call(this._shortMonthsParse,a),-1!==i?i:(i=mr.call(this._longMonthsParse,a),-1!==i?i:null)):(i=mr.call(this._longMonthsParse,a),-1!==i?i:(i=mr.call(this._shortMonthsParse,a),-1!==i?i:null))}function se(e,t,n){var r,i,o;if(this._monthsParseExact)return ae.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;12>r;r++){if(i=l([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(o="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}}function ue(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=y(t);else if(t=e.localeData().monthsParse(t),"number"!=typeof t)return e;return n=Math.min(e.date(),re(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function le(e){return null!=e?(ue(this,e),n.updateOffset(this,!0),this):V(this,"Month")}function ce(){return re(this.year(),this.month())}function fe(e){return this._monthsParseExact?(s(this,"_monthsRegex")||he.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex}function de(e){return this._monthsParseExact?(s(this,"_monthsRegex")||he.call(this),e?this._monthsStrictRegex:this._monthsRegex):this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex}function he(){function e(e,t){return t.length-e.length}var t,n,r=[],i=[],o=[];for(t=0;12>t;t++)n=l([2e3,t]),r.push(this.monthsShort(n,"")),i.push(this.months(n,"")),o.push(this.months(n,"")),o.push(this.monthsShort(n,""));for(r.sort(e),i.sort(e),o.sort(e),t=0;12>t;t++)r[t]=K(r[t]),i[t]=K(i[t]),o[t]=K(o[t]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function pe(e){var t,n=e._a;return n&&-2===f(e).overflow&&(t=n[zr]<0||n[zr]>11?zr:n[Hr]<1||n[Hr]>re(n[Vr],n[zr])?Hr:n[qr]<0||n[qr]>24||24===n[qr]&&(0!==n[Yr]||0!==n[Wr]||0!==n[Br])?qr:n[Yr]<0||n[Yr]>59?Yr:n[Wr]<0||n[Wr]>59?Wr:n[Br]<0||n[Br]>999?Br:-1,f(e)._overflowDayOfYear&&(Vr>t||t>Hr)&&(t=Hr),f(e)._overflowWeeks&&-1===t&&(t=Gr),f(e)._overflowWeekday&&-1===t&&(t=Zr),f(e).overflow=t),e}function me(e){var t,n,r,i,o,a,s=e._i,u=ti.exec(s)||ni.exec(s);if(u){for(f(e).iso=!0,t=0,n=ii.length;n>t;t++)if(ii[t][1].exec(u[1])){i=ii[t][0],r=ii[t][2]!==!1;break}if(null==i)return void(e._isValid=!1);if(u[3]){for(t=0,n=oi.length;n>t;t++)if(oi[t][1].exec(u[3])){o=(u[2]||" ")+oi[t][0];break}if(null==o)return void(e._isValid=!1)}if(!r&&null!=o)return void(e._isValid=!1);if(u[4]){if(!ri.exec(u[4]))return void(e._isValid=!1);a="Z"}e._f=i+(o||"")+(a||""),Me(e)}else e._isValid=!1}function ge(e){var t=ai.exec(e._i);return null!==t?void(e._d=new Date(+t[1])):(me(e),void(e._isValid===!1&&(delete e._isValid,n.createFromInputFallback(e))))}function ve(e,t,n,r,i,o,a){var s=new Date(e,t,n,r,i,o,a);return 100>e&&e>=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}function $e(e){var t=new Date(Date.UTC.apply(null,arguments));return 100>e&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function ye(e){return be(e)?366:365}function be(e){return e%4===0&&e%100!==0||e%400===0}function we(){return be(this.year())}function xe(e,t,n){var r=7+t-n,i=(7+$e(e,0,r).getUTCDay()-t)%7;return-i+r-1}function ke(e,t,n,r,i){var o,a,s=(7+n-r)%7,u=xe(e,r,i),l=1+7*(t-1)+s+u;return 0>=l?(o=e-1,a=ye(o)+l):l>ye(e)?(o=e+1,a=l-ye(e)):(o=e,a=l),{year:o,dayOfYear:a}}function Ce(e,t,n){var r,i,o=xe(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return 1>a?(i=e.year()-1,r=a+Se(i,t,n)):a>Se(e.year(),t,n)?(r=a-Se(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function Se(e,t,n){var r=xe(e,t,n),i=xe(e+1,t,n);return(ye(e)-r+i)/7}function _e(e,t,n){return null!=e?e:null!=t?t:n}function Ee(e){var t=new Date(n.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function De(e){var t,n,r,i,o=[];if(!e._d){for(r=Ee(e),e._w&&null==e._a[Hr]&&null==e._a[zr]&&Te(e),e._dayOfYear&&(i=_e(e._a[Vr],r[Vr]),e._dayOfYear>ye(i)&&(f(e)._overflowDayOfYear=!0),n=$e(i,0,e._dayOfYear),e._a[zr]=n.getUTCMonth(),e._a[Hr]=n.getUTCDate()),t=0;3>t&&null==e._a[t];++t)e._a[t]=o[t]=r[t];for(;7>t;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[qr]&&0===e._a[Yr]&&0===e._a[Wr]&&0===e._a[Br]&&(e._nextDay=!0,e._a[qr]=0),e._d=(e._useUTC?$e:ve).apply(null,o),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[qr]=24)}}function Te(e){var t,n,r,i,o,a,s,u;t=e._w,null!=t.GG||null!=t.W||null!=t.E?(o=1,a=4,n=_e(t.GG,e._a[Vr],Ce(Le(),1,4).year),r=_e(t.W,1),i=_e(t.E,1),(1>i||i>7)&&(u=!0)):(o=e._locale._week.dow,a=e._locale._week.doy,n=_e(t.gg,e._a[Vr],Ce(Le(),o,a).year),r=_e(t.w,1),null!=t.d?(i=t.d,(0>i||i>6)&&(u=!0)):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(u=!0)):i=o),1>r||r>Se(n,o,a)?f(e)._overflowWeeks=!0:null!=u?f(e)._overflowWeekday=!0:(s=ke(n,r,i,o,a),e._a[Vr]=s.year,e._dayOfYear=s.dayOfYear)}function Me(e){if(e._f===n.ISO_8601)return void me(e);e._a=[],f(e).empty=!0;var t,r,i,o,a,s=""+e._i,u=s.length,l=0;for(i=Z(e._f,e._locale).match($r)||[],t=0;t0&&f(e).unusedInput.push(a),s=s.slice(s.indexOf(r)+r.length),l+=r.length),wr[o]?(r?f(e).empty=!1:f(e).unusedTokens.push(o),ne(o,r,e)):e._strict&&!r&&f(e).unusedTokens.push(o);f(e).charsLeftOver=u-l,s.length>0&&f(e).unusedInput.push(s),f(e).bigHour===!0&&e._a[qr]<=12&&e._a[qr]>0&&(f(e).bigHour=void 0),f(e).parsedDateParts=e._a.slice(0),f(e).meridiem=e._meridiem,e._a[qr]=Ae(e._locale,e._a[qr],e._meridiem),De(e),pe(e)}function Ae(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(r=e.isPM(n),r&&12>t&&(t+=12),r||12!==t||(t=0),t):t}function Oe(e){var t,n,r,i,o;if(0===e._f.length)return f(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;io)&&(r=o,n=t));u(e,n||t)}function Fe(e){if(!e._d){var t=R(e._i);e._a=a([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),De(e)}}function Ne(e){var t=new g(pe(Ie(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function Ie(e){var t=e._i,n=e._f;return e._locale=e._locale||I(e._l),null===t||void 0===n&&""===t?h({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),v(t)?new g(pe(t)):(i(n)?Oe(e):n?Me(e):o(t)?e._d=t:Pe(e),d(e)||(e._d=null),e))}function Pe(e){var t=e._i;void 0===t?e._d=new Date(n.now()):o(t)?e._d=new Date(t.valueOf()):"string"==typeof t?ge(e):i(t)?(e._a=a(t.slice(0),function(e){return parseInt(e,10)}),De(e)):"object"==typeof t?Fe(e):"number"==typeof t?e._d=new Date(t):n.createFromInputFallback(e)}function je(e,t,n,r,i){var o={};return"boolean"==typeof n&&(r=n,n=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=i,o._l=n,o._i=e,o._f=t,o._strict=r,Ne(o)}function Le(e,t,n,r){return je(e,t,n,r,!1)}function Re(e,t){var n,r;if(1===t.length&&i(t[0])&&(t=t[0]),!t.length)return Le();for(n=t[0],r=1;re&&(e=-e,n="-"),n+q(~~(e/60),2)+t+q(~~e%60,2)})}function Ye(e,t){var n=(t||"").match(e)||[],r=n[n.length-1]||[],i=(r+"").match(fi)||["-",0,0],o=+(60*i[1])+y(i[2]);return"+"===i[0]?o:-o}function We(e,t){var r,i;return t._isUTC?(r=t.clone(),i=(v(e)||o(e)?e.valueOf():Le(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+i),n.updateOffset(r,!1),r):Le(e).local()}function Be(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function Ge(e,t){var r,i=this._offset||0;return this.isValid()?null!=e?("string"==typeof e?e=Ye(Pr,e):Math.abs(e)<16&&(e=60*e),!this._isUTC&&t&&(r=Be(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==e&&(!t||this._changeInProgress?ft(this,ot(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,n.updateOffset(this,!0),this._changeInProgress=null)),this):this._isUTC?i:Be(this):null!=e?this:NaN}function Ze(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function Qe(e){return this.utcOffset(0,e)}function Je(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Be(this),"m")),this}function Xe(){return this._tzm?this.utcOffset(this._tzm):"string"==typeof this._i&&this.utcOffset(Ye(Ir,this._i)),this}function Ke(e){return this.isValid()?(e=e?Le(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function et(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function tt(){if(!p(this._isDSTShifted))return this._isDSTShifted;var e={};if(m(e,this),e=Ie(e),e._a){var t=e._isUTC?l(e._a):Le(e._a);this._isDSTShifted=this.isValid()&&b(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function nt(){return this.isValid()?!this._isUTC:!1}function rt(){return this.isValid()?this._isUTC:!1}function it(){return this.isValid()?this._isUTC&&0===this._offset:!1}function ot(e,t){var n,r,i,o=e,a=null;return He(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:"number"==typeof e?(o={},t?o[t]=e:o.milliseconds=e):(a=di.exec(e))?(n="-"===a[1]?-1:1,o={y:0,d:y(a[Hr])*n,h:y(a[qr])*n,m:y(a[Yr])*n,s:y(a[Wr])*n,ms:y(a[Br])*n}):(a=hi.exec(e))?(n="-"===a[1]?-1:1,o={y:at(a[2],n),M:at(a[3],n),w:at(a[4],n),d:at(a[5],n),h:at(a[6],n),m:at(a[7],n),s:at(a[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(i=ut(Le(o.from),Le(o.to)),o={},o.ms=i.milliseconds,o.M=i.months),r=new ze(o),He(e)&&s(e,"_locale")&&(r._locale=e._locale),r}function at(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function st(e,t){var n={milliseconds:0,months:0};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function ut(e,t){var n;return e.isValid()&&t.isValid()?(t=We(t,e),e.isBefore(t)?n=st(e,t):(n=st(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function lt(e){return 0>e?-1*Math.round(-1*e):Math.round(e)}function ct(e,t){return function(n,r){var i,o;return null===r||isNaN(+r)||(k(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period)."),o=n,n=r,r=o),n="string"==typeof n?+n:n,i=ot(n,r),ft(this,i,e),this}}function ft(e,t,r,i){var o=t._milliseconds,a=lt(t._days),s=lt(t._months);e.isValid()&&(i=null==i?!0:i,o&&e._d.setTime(e._d.valueOf()+o*r),a&&z(e,"Date",V(e,"Date")+a*r),s&&ue(e,V(e,"Month")+s*r),i&&n.updateOffset(e,a||s))}function dt(e,t){var n=e||Le(),r=We(n,this).startOf("day"),i=this.diff(r,"days",!0),o=-6>i?"sameElse":-1>i?"lastWeek":0>i?"lastDay":1>i?"sameDay":2>i?"nextDay":7>i?"nextWeek":"sameElse",a=t&&(C(t[o])?t[o]():t[o]);return this.format(a||this.localeData().calendar(o,this,Le(n)))}function ht(){return new g(this)}function pt(e,t){var n=v(e)?e:Le(e);return this.isValid()&&n.isValid()?(t=L(p(t)?"millisecond":t),"millisecond"===t?this.valueOf()>n.valueOf():n.valueOf()t-o?(n=e.clone().add(i-1,"months"),r=(t-o)/(o-n)):(n=e.clone().add(i+1,"months"),r=(t-o)/(n-o)),-(i+r)||0}function xt(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function kt(){var e=this.clone().utc();return 0o&&(t=o),Zt.call(this,e,t,n,r,i))}function Zt(e,t,n,r,i){var o=ke(e,t,n,r,i),a=$e(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function Qt(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function Jt(e){return Ce(e,this._week.dow,this._week.doy).week}function Xt(){return this._week.dow}function Kt(){return this._week.doy}function en(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function tn(e){var t=Ce(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function nn(e,t){return"string"!=typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"==typeof e?e:null):parseInt(e,10)}function rn(e,t){return i(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]}function on(e){return this._weekdaysShort[e.day()]}function an(e){return this._weekdaysMin[e.day()]}function sn(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;7>r;++r)o=l([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?(i=mr.call(this._weekdaysParse,a),-1!==i?i:null):"ddd"===t?(i=mr.call(this._shortWeekdaysParse,a),-1!==i?i:null):(i=mr.call(this._minWeekdaysParse,a),-1!==i?i:null):"dddd"===t?(i=mr.call(this._weekdaysParse,a),-1!==i?i:(i=mr.call(this._shortWeekdaysParse,a),-1!==i?i:(i=mr.call(this._minWeekdaysParse,a),-1!==i?i:null))):"ddd"===t?(i=mr.call(this._shortWeekdaysParse,a),-1!==i?i:(i=mr.call(this._weekdaysParse,a),-1!==i?i:(i=mr.call(this._minWeekdaysParse,a),-1!==i?i:null))):(i=mr.call(this._minWeekdaysParse,a),-1!==i?i:(i=mr.call(this._weekdaysParse,a),-1!==i?i:(i=mr.call(this._shortWeekdaysParse,a),-1!==i?i:null)))}function un(e,t,n){var r,i,o;if(this._weekdaysParseExact)return sn.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;7>r;r++){if(i=l([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".",".?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function ln(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=nn(e,this.localeData()),this.add(e-t,"d")):t}function cn(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function fn(e){return this.isValid()?null==e?this.day()||7:this.day(this.day()%7?e:e-7):null!=e?this:NaN}function dn(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||mn.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex}function hn(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||mn.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex}function pn(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||mn.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex}function mn(){function e(e,t){return t.length-e.length}var t,n,r,i,o,a=[],s=[],u=[],c=[];for(t=0;7>t;t++)n=l([2e3,1]).day(t),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),o=this.weekdays(n,""),a.push(r),s.push(i),u.push(o),c.push(r),c.push(i),c.push(o);for(a.sort(e),s.sort(e),u.sort(e),c.sort(e),t=0;7>t;t++)s[t]=K(s[t]),u[t]=K(u[t]),c[t]=K(c[t]);this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function gn(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}function vn(){return this.hours()%12||12}function $n(){return this.hours()||24}function yn(e,t){Y(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function bn(e,t){return t._meridiemParse}function wn(e){return"p"===(e+"").toLowerCase().charAt(0)}function xn(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}function kn(e,t){t[Br]=y(1e3*("0."+e))}function Cn(){return this._isUTC?"UTC":""}function Sn(){return this._isUTC?"Coordinated Universal Time":""}function _n(e){return Le(1e3*e)}function En(){return Le.apply(null,arguments).parseZone()}function Dn(e,t,n){var r=this._calendar[e];return C(r)?r.call(t,n):r}function Tn(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}), +this._longDateFormat[e])}function Mn(){return this._invalidDate}function An(e){return this._ordinal.replace("%d",e)}function On(e){return e}function Fn(e,t,n,r){var i=this._relativeTime[n];return C(i)?i(e,t,n,r):i.replace(/%d/i,e)}function Nn(e,t){var n=this._relativeTime[e>0?"future":"past"];return C(n)?n(t):n.replace(/%s/i,t)}function In(e,t,n,r){var i=I(),o=l().set(r,t);return i[n](o,e)}function Pn(e,t,n){if("number"==typeof e&&(t=e,e=void 0),e=e||"",null!=t)return In(e,t,n,"month");var r,i=[];for(r=0;12>r;r++)i[r]=In(e,r,n,"month");return i}function jn(e,t,n,r){"boolean"==typeof e?("number"==typeof t&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,"number"==typeof t&&(n=t,t=void 0),t=t||"");var i=I(),o=e?i._week.dow:0;if(null!=n)return In(t,(n+o)%7,r,"day");var a,s=[];for(a=0;7>a;a++)s[a]=In(t,(a+o)%7,r,"day");return s}function Ln(e,t){return Pn(e,t,"months")}function Rn(e,t){return Pn(e,t,"monthsShort")}function Un(e,t,n){return jn(e,t,n,"weekdays")}function Vn(e,t,n){return jn(e,t,n,"weekdaysShort")}function zn(e,t,n){return jn(e,t,n,"weekdaysMin")}function Hn(){var e=this._data;return this._milliseconds=Ui(this._milliseconds),this._days=Ui(this._days),this._months=Ui(this._months),e.milliseconds=Ui(e.milliseconds),e.seconds=Ui(e.seconds),e.minutes=Ui(e.minutes),e.hours=Ui(e.hours),e.months=Ui(e.months),e.years=Ui(e.years),this}function qn(e,t,n,r){var i=ot(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function Yn(e,t){return qn(this,e,t,1)}function Wn(e,t){return qn(this,e,t,-1)}function Bn(e){return 0>e?Math.floor(e):Math.ceil(e)}function Gn(){var e,t,n,r,i,o=this._milliseconds,a=this._days,s=this._months,u=this._data;return o>=0&&a>=0&&s>=0||0>=o&&0>=a&&0>=s||(o+=864e5*Bn(Qn(s)+a),a=0,s=0),u.milliseconds=o%1e3,e=$(o/1e3),u.seconds=e%60,t=$(e/60),u.minutes=t%60,n=$(t/60),u.hours=n%24,a+=$(n/24),i=$(Zn(a)),s+=i,a-=Bn(Qn(i)),r=$(s/12),s%=12,u.days=a,u.months=s,u.years=r,this}function Zn(e){return 4800*e/146097}function Qn(e){return 146097*e/4800}function Jn(e){var t,n,r=this._milliseconds;if(e=L(e),"month"===e||"year"===e)return t=this._days+r/864e5,n=this._months+Zn(t),"month"===e?n:n/12;switch(t=this._days+Math.round(Qn(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}function Xn(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*y(this._months/12)}function Kn(e){return function(){return this.as(e)}}function er(e){return e=L(e),this[e+"s"]()}function tr(e){return function(){return this._data[e]}}function nr(){return $(this.days()/7)}function rr(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function ir(e,t,n){var r=ot(e).abs(),i=no(r.as("s")),o=no(r.as("m")),a=no(r.as("h")),s=no(r.as("d")),u=no(r.as("M")),l=no(r.as("y")),c=i=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,rr.apply(null,c)}function or(e,t){return void 0===ro[e]?!1:void 0===t?ro[e]:(ro[e]=t,!0)}function ar(e){var t=this.localeData(),n=ir(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function sr(){var e,t,n,r=io(this._milliseconds)/1e3,i=io(this._days),o=io(this._months);e=$(r/60),t=$(e/60),r%=60,e%=60,n=$(o/12),o%=12;var a=n,s=o,u=i,l=t,c=e,f=r,d=this.asSeconds();return d?(0>d?"-":"")+"P"+(a?a+"Y":"")+(s?s+"M":"")+(u?u+"D":"")+(l||c||f?"T":"")+(l?l+"H":"")+(c?c+"M":"")+(f?f+"S":""):"P0D"}var ur,lr;lr=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;n>r;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1};var cr=n.momentProperties=[],fr=!1,dr={};n.suppressDeprecationWarnings=!1,n.deprecationHandler=null;var hr;hr=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)s(e,t)&&n.push(t);return n};var pr,mr,gr={},vr={},$r=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,yr=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,br={},wr={},xr=/\d/,kr=/\d\d/,Cr=/\d{3}/,Sr=/\d{4}/,_r=/[+-]?\d{6}/,Er=/\d\d?/,Dr=/\d\d\d\d?/,Tr=/\d\d\d\d\d\d?/,Mr=/\d{1,3}/,Ar=/\d{1,4}/,Or=/[+-]?\d{1,6}/,Fr=/\d+/,Nr=/[+-]?\d+/,Ir=/Z|[+-]\d\d:?\d\d/gi,Pr=/Z|[+-]\d\d(?::?\d\d)?/gi,jr=/[+-]?\d+(\.\d{1,3})?/,Lr=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,Rr={},Ur={},Vr=0,zr=1,Hr=2,qr=3,Yr=4,Wr=5,Br=6,Gr=7,Zr=8;mr=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t=e?""+e:"+"+e}),Y(0,["YY",2],0,function(){return this.year()%100}),Y(0,["YYYY",4],0,"year"),Y(0,["YYYYY",5],0,"year"),Y(0,["YYYYYY",6,!0],0,"year"),j("year","y"),Q("Y",Nr),Q("YY",Er,kr),Q("YYYY",Ar,Sr),Q("YYYYY",Or,_r),Q("YYYYYY",Or,_r),ee(["YYYYY","YYYYYY"],Vr),ee("YYYY",function(e,t){t[Vr]=2===e.length?n.parseTwoDigitYear(e):y(e)}),ee("YY",function(e,t){t[Vr]=n.parseTwoDigitYear(e)}),ee("Y",function(e,t){t[Vr]=parseInt(e,10)}),n.parseTwoDigitYear=function(e){return y(e)+(y(e)>68?1900:2e3)};var si=U("FullYear",!0);n.ISO_8601=function(){};var ui=x("moment().min is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548",function(){var e=Le.apply(null,arguments);return this.isValid()&&e.isValid()?this>e?this:e:h()}),li=x("moment().max is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548",function(){var e=Le.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:h()}),ci=function(){return Date.now?Date.now():+new Date};qe("Z",":"),qe("ZZ",""),Q("Z",Pr),Q("ZZ",Pr),ee(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Ye(Pr,e)});var fi=/([\+\-]|\d\d)/gi;n.updateOffset=function(){};var di=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?\d*)?$/,hi=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;ot.fn=ze.prototype;var pi=ct(1,"add"),mi=ct(-1,"subtract");n.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",n.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var gi=x("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});Y(0,["gg",2],0,function(){return this.weekYear()%100}),Y(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Ht("gggg","weekYear"),Ht("ggggg","weekYear"),Ht("GGGG","isoWeekYear"),Ht("GGGGG","isoWeekYear"),j("weekYear","gg"),j("isoWeekYear","GG"),Q("G",Nr),Q("g",Nr),Q("GG",Er,kr),Q("gg",Er,kr),Q("GGGG",Ar,Sr),Q("gggg",Ar,Sr),Q("GGGGG",Or,_r),Q("ggggg",Or,_r),te(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=y(e)}),te(["gg","GG"],function(e,t,r,i){t[i]=n.parseTwoDigitYear(e)}),Y("Q",0,"Qo","quarter"),j("quarter","Q"),Q("Q",xr),ee("Q",function(e,t){t[zr]=3*(y(e)-1)}),Y("w",["ww",2],"wo","week"),Y("W",["WW",2],"Wo","isoWeek"),j("week","w"),j("isoWeek","W"),Q("w",Er),Q("ww",Er,kr),Q("W",Er),Q("WW",Er,kr),te(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=y(e)});var vi={dow:0,doy:6};Y("D",["DD",2],"Do","date"),j("date","D"),Q("D",Er),Q("DD",Er,kr),Q("Do",function(e,t){return e?t._ordinalParse:t._ordinalParseLenient}),ee(["D","DD"],Hr),ee("Do",function(e,t){t[Hr]=y(e.match(Er)[0],10)});var $i=U("Date",!0);Y("d",0,"do","day"),Y("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),Y("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),Y("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),Y("e",0,0,"weekday"),Y("E",0,0,"isoWeekday"),j("day","d"),j("weekday","e"),j("isoWeekday","E"),Q("d",Er),Q("e",Er),Q("E",Er),Q("dd",function(e,t){return t.weekdaysMinRegex(e)}),Q("ddd",function(e,t){return t.weekdaysShortRegex(e)}),Q("dddd",function(e,t){return t.weekdaysRegex(e)}),te(["dd","ddd","dddd"],function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:f(n).invalidWeekday=e}),te(["d","e","E"],function(e,t,n,r){t[r]=y(e)});var yi="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),bi="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),wi="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),xi=Lr,ki=Lr,Ci=Lr;Y("DDD",["DDDD",3],"DDDo","dayOfYear"),j("dayOfYear","DDD"),Q("DDD",Mr),Q("DDDD",Cr),ee(["DDD","DDDD"],function(e,t,n){n._dayOfYear=y(e)}),Y("H",["HH",2],0,"hour"),Y("h",["hh",2],0,vn),Y("k",["kk",2],0,$n),Y("hmm",0,0,function(){return""+vn.apply(this)+q(this.minutes(),2)}),Y("hmmss",0,0,function(){return""+vn.apply(this)+q(this.minutes(),2)+q(this.seconds(),2)}),Y("Hmm",0,0,function(){return""+this.hours()+q(this.minutes(),2)}),Y("Hmmss",0,0,function(){return""+this.hours()+q(this.minutes(),2)+q(this.seconds(),2)}),yn("a",!0),yn("A",!1),j("hour","h"),Q("a",bn),Q("A",bn),Q("H",Er),Q("h",Er),Q("HH",Er,kr),Q("hh",Er,kr),Q("hmm",Dr),Q("hmmss",Tr),Q("Hmm",Dr),Q("Hmmss",Tr),ee(["H","HH"],qr),ee(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ee(["h","hh"],function(e,t,n){t[qr]=y(e),f(n).bigHour=!0}),ee("hmm",function(e,t,n){var r=e.length-2;t[qr]=y(e.substr(0,r)),t[Yr]=y(e.substr(r)),f(n).bigHour=!0}),ee("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[qr]=y(e.substr(0,r)),t[Yr]=y(e.substr(r,2)),t[Wr]=y(e.substr(i)),f(n).bigHour=!0}),ee("Hmm",function(e,t,n){var r=e.length-2;t[qr]=y(e.substr(0,r)),t[Yr]=y(e.substr(r))}),ee("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[qr]=y(e.substr(0,r)),t[Yr]=y(e.substr(r,2)),t[Wr]=y(e.substr(i))});var Si=/[ap]\.?m?\.?/i,_i=U("Hours",!0);Y("m",["mm",2],0,"minute"),j("minute","m"),Q("m",Er),Q("mm",Er,kr),ee(["m","mm"],Yr);var Ei=U("Minutes",!1);Y("s",["ss",2],0,"second"),j("second","s"),Q("s",Er),Q("ss",Er,kr),ee(["s","ss"],Wr);var Di=U("Seconds",!1);Y("S",0,0,function(){return~~(this.millisecond()/100)}),Y(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),Y(0,["SSS",3],0,"millisecond"),Y(0,["SSSS",4],0,function(){return 10*this.millisecond()}),Y(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),Y(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),Y(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),Y(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),Y(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),j("millisecond","ms"),Q("S",Mr,xr),Q("SS",Mr,kr),Q("SSS",Mr,Cr);var Ti;for(Ti="SSSS";Ti.length<=9;Ti+="S")Q(Ti,Fr);for(Ti="S";Ti.length<=9;Ti+="S")ee(Ti,kn);var Mi=U("Milliseconds",!1);Y("z",0,0,"zoneAbbr"),Y("zz",0,0,"zoneName");var Ai=g.prototype;Ai.add=pi,Ai.calendar=dt,Ai.clone=ht,Ai.diff=bt,Ai.endOf=Ot,Ai.format=Ct,Ai.from=St,Ai.fromNow=_t,Ai.to=Et,Ai.toNow=Dt,Ai.get=H,Ai.invalidAt=Vt,Ai.isAfter=pt,Ai.isBefore=mt,Ai.isBetween=gt,Ai.isSame=vt,Ai.isSameOrAfter=$t,Ai.isSameOrBefore=yt,Ai.isValid=Rt,Ai.lang=gi,Ai.locale=Tt,Ai.localeData=Mt,Ai.max=li,Ai.min=ui,Ai.parsingFlags=Ut,Ai.set=H,Ai.startOf=At,Ai.subtract=mi,Ai.toArray=Pt,Ai.toObject=jt,Ai.toDate=It,Ai.toISOString=kt,Ai.toJSON=Lt,Ai.toString=xt,Ai.unix=Nt,Ai.valueOf=Ft,Ai.creationData=zt,Ai.year=si,Ai.isLeapYear=we,Ai.weekYear=qt,Ai.isoWeekYear=Yt,Ai.quarter=Ai.quarters=Qt,Ai.month=le,Ai.daysInMonth=ce,Ai.week=Ai.weeks=en,Ai.isoWeek=Ai.isoWeeks=tn,Ai.weeksInYear=Bt,Ai.isoWeeksInYear=Wt,Ai.date=$i,Ai.day=Ai.days=ln,Ai.weekday=cn,Ai.isoWeekday=fn,Ai.dayOfYear=gn,Ai.hour=Ai.hours=_i,Ai.minute=Ai.minutes=Ei,Ai.second=Ai.seconds=Di,Ai.millisecond=Ai.milliseconds=Mi,Ai.utcOffset=Ge,Ai.utc=Qe,Ai.local=Je,Ai.parseZone=Xe,Ai.hasAlignedHourOffset=Ke,Ai.isDST=et,Ai.isDSTShifted=tt,Ai.isLocal=nt,Ai.isUtcOffset=rt,Ai.isUtc=it,Ai.isUTC=it,Ai.zoneAbbr=Cn,Ai.zoneName=Sn,Ai.dates=x("dates accessor is deprecated. Use date instead.",$i),Ai.months=x("months accessor is deprecated. Use month instead",le),Ai.years=x("years accessor is deprecated. Use year instead",si),Ai.zone=x("moment().zone is deprecated, use moment().utcOffset instead. https://github.com/moment/moment/issues/1779",Ze);var Oi=Ai,Fi={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},Ni={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},Ii="Invalid date",Pi="%d",ji=/\d{1,2}/,Li={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},Ri=D.prototype;Ri._calendar=Fi,Ri.calendar=Dn,Ri._longDateFormat=Ni,Ri.longDateFormat=Tn,Ri._invalidDate=Ii,Ri.invalidDate=Mn,Ri._ordinal=Pi,Ri.ordinal=An,Ri._ordinalParse=ji,Ri.preparse=On,Ri.postformat=On,Ri._relativeTime=Li,Ri.relativeTime=Fn,Ri.pastFuture=Nn,Ri.set=_,Ri.months=ie,Ri._months=Jr,Ri.monthsShort=oe,Ri._monthsShort=Xr,Ri.monthsParse=se,Ri._monthsRegex=ei,Ri.monthsRegex=de,Ri._monthsShortRegex=Kr,Ri.monthsShortRegex=fe,Ri.week=Jt,Ri._week=vi,Ri.firstDayOfYear=Kt,Ri.firstDayOfWeek=Xt,Ri.weekdays=rn,Ri._weekdays=yi,Ri.weekdaysMin=an,Ri._weekdaysMin=wi,Ri.weekdaysShort=on,Ri._weekdaysShort=bi,Ri.weekdaysParse=un,Ri._weekdaysRegex=xi,Ri.weekdaysRegex=dn,Ri._weekdaysShortRegex=ki,Ri.weekdaysShortRegex=hn,Ri._weekdaysMinRegex=Ci,Ri.weekdaysMinRegex=pn,Ri.isPM=wn,Ri._meridiemParse=Si,Ri.meridiem=xn,O("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===y(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),n.lang=x("moment.lang is deprecated. Use moment.locale instead.",O),n.langData=x("moment.langData is deprecated. Use moment.localeData instead.",I);var Ui=Math.abs,Vi=Kn("ms"),zi=Kn("s"),Hi=Kn("m"),qi=Kn("h"),Yi=Kn("d"),Wi=Kn("w"),Bi=Kn("M"),Gi=Kn("y"),Zi=tr("milliseconds"),Qi=tr("seconds"),Ji=tr("minutes"),Xi=tr("hours"),Ki=tr("days"),eo=tr("months"),to=tr("years"),no=Math.round,ro={s:45,m:45,h:22,d:26,M:11},io=Math.abs,oo=ze.prototype;oo.abs=Hn,oo.add=Yn,oo.subtract=Wn,oo.as=Jn,oo.asMilliseconds=Vi,oo.asSeconds=zi,oo.asMinutes=Hi,oo.asHours=qi,oo.asDays=Yi,oo.asWeeks=Wi,oo.asMonths=Bi,oo.asYears=Gi,oo.valueOf=Xn,oo._bubble=Gn,oo.get=er,oo.milliseconds=Zi,oo.seconds=Qi,oo.minutes=Ji,oo.hours=Xi,oo.days=Ki,oo.weeks=nr,oo.months=eo,oo.years=to,oo.humanize=ar,oo.toISOString=sr,oo.toString=sr,oo.toJSON=sr,oo.locale=Tt,oo.localeData=Mt,oo.toIsoString=x("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",sr),oo.lang=gi,Y("X",0,0,"unix"),Y("x",0,0,"valueOf"),Q("x",Nr),Q("X",jr),ee("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),ee("x",function(e,t,n){n._d=new Date(y(e))}),n.version="2.13.0",r(Le),n.fn=Oi,n.min=Ue,n.max=Ve,n.now=ci,n.utc=l,n.unix=_n,n.months=Ln,n.isDate=o,n.locale=O,n.invalid=h,n.duration=ot,n.isMoment=v,n.weekdays=Un,n.parseZone=En,n.localeData=I,n.isDuration=He,n.monthsShort=Rn,n.weekdaysMin=zn,n.defineLocale=F,n.updateLocale=N,n.locales=P,n.weekdaysShort=Vn,n.normalizeUnits=L,n.relativeTimeThreshold=or,n.prototype=Oi;var ao=n;return ao})},{}],13:[function(e,t,n){!function(e,n){"use strict";var r,i,o,a=e,s=a.document,u=a.navigator,l=a.setTimeout,c=a.clearTimeout,f=a.setInterval,d=a.clearInterval,h=a.getComputedStyle,p=a.encodeURIComponent,m=a.ActiveXObject,g=a.Error,v=a.Number.parseInt||a.parseInt,$=a.Number.parseFloat||a.parseFloat,y=a.Number.isNaN||a.isNaN,b=a.Date.now,w=a.Object.keys,x=a.Object.defineProperty,k=a.Object.prototype.hasOwnProperty,C=a.Array.prototype.slice,S=function(){var e=function(e){return e};if("function"==typeof a.wrap&&"function"==typeof a.unwrap)try{var t=s.createElement("div"),n=a.unwrap(t);1===t.nodeType&&n&&1===n.nodeType&&(e=a.unwrap)}catch(r){}return e}(),_=function(e){return C.call(e,0)},E=function(){var e,t,r,i,o,a,s=_(arguments),u=s[0]||{};for(e=1,t=s.length;t>e;e++)if(null!=(r=s[e]))for(i in r)k.call(r,i)&&(o=u[i],a=r[i],u!==a&&a!==n&&(u[i]=a));return u},D=function(e){var t,n,r,i;if("object"!=typeof e||null==e||"number"==typeof e.nodeType)t=e;else if("number"==typeof e.length)for(t=[],n=0,r=e.length;r>n;n++)k.call(e,n)&&(t[n]=D(e[n]));else{t={};for(i in e)k.call(e,i)&&(t[i]=D(e[i]))}return t},T=function(e,t){for(var n={},r=0,i=t.length;i>r;r++)t[r]in e&&(n[t[r]]=e[t[r]]);return n},M=function(e,t){var n={};for(var r in e)-1===t.indexOf(r)&&(n[r]=e[r]);return n},A=function(e){if(e)for(var t in e)k.call(e,t)&&delete e[t];return e},O=function(e,t){if(e&&1===e.nodeType&&e.ownerDocument&&t&&(1===t.nodeType&&t.ownerDocument&&t.ownerDocument===e.ownerDocument||9===t.nodeType&&!t.ownerDocument&&t===e.ownerDocument))do{if(e===t)return!0;e=e.parentNode}while(e);return!1},F=function(e){var t;return"string"==typeof e&&e&&(t=e.split("#")[0].split("?")[0],t=e.slice(0,e.lastIndexOf("/")+1)),t},N=function(e){var t,n;return"string"==typeof e&&e&&(n=e.match(/^(?:|[^:@]*@|.+\)@(?=http[s]?|file)|.+?\s+(?: at |@)(?:[^:\(]+ )*[\(]?)((?:http[s]?|file):\/\/[\/]?.+?\/[^:\)]*?)(?::\d+)(?::\d+)?/),n&&n[1]?t=n[1]:(n=e.match(/\)@((?:http[s]?|file):\/\/[\/]?.+?\/[^:\)]*?)(?::\d+)(?::\d+)?/),n&&n[1]&&(t=n[1]))),t},I=function(){var e,t;try{throw new g}catch(n){t=n}return t&&(e=t.sourceURL||t.fileName||N(t.stack)),e},P=function(){var e,t,r;if(s.currentScript&&(e=s.currentScript.src))return e;if(t=s.getElementsByTagName("script"),1===t.length)return t[0].src||n;if("readyState"in t[0])for(r=t.length;r--;)if("interactive"===t[r].readyState&&(e=t[r].src))return e;return"loading"===s.readyState&&(e=t[t.length-1].src)?e:(e=I())?e:n},j=function(){var e,t,r,i=s.getElementsByTagName("script");for(e=i.length;e--;){if(!(r=i[e].src)){t=null;break}if(r=F(r),null==t)t=r;else if(t!==r){t=null;break}}return t||n},L=function(){var e=F(P())||j()||"";return e+"ZeroClipboard.swf"},R=function(){return null==e.opener&&(!!e.top&&e!=e.top||!!e.parent&&e!=e.parent)}(),U={bridge:null,version:"0.0.0",pluginType:"unknown",disabled:null,outdated:null,sandboxed:null,unavailable:null,degraded:null,deactivated:null,overdue:null,ready:null},V="11.0.0",z={},H={},q=null,Y=0,W=0,B={ready:"Flash communication is established",error:{"flash-disabled":"Flash is disabled or not installed. May also be attempting to run Flash in a sandboxed iframe, which is impossible.","flash-outdated":"Flash is too outdated to support ZeroClipboard","flash-sandboxed":"Attempting to run Flash in a sandboxed iframe, which is impossible","flash-unavailable":"Flash is unable to communicate bidirectionally with JavaScript","flash-degraded":"Flash is unable to preserve data fidelity when communicating with JavaScript","flash-deactivated":"Flash is too outdated for your browser and/or is configured as click-to-activate.\nThis may also mean that the ZeroClipboard SWF object could not be loaded, so please check your `swfPath` configuration and/or network connectivity.\nMay also be attempting to run Flash in a sandboxed iframe, which is impossible.","flash-overdue":"Flash communication was established but NOT within the acceptable time limit","version-mismatch":"ZeroClipboard JS version number does not match ZeroClipboard SWF version number","clipboard-error":"At least one error was thrown while ZeroClipboard was attempting to inject your data into the clipboard","config-mismatch":"ZeroClipboard configuration does not match Flash's reality","swf-not-found":"The ZeroClipboard SWF object could not be loaded, so please check your `swfPath` configuration and/or network connectivity"}},G=["flash-unavailable","flash-degraded","flash-overdue","version-mismatch","config-mismatch","clipboard-error"],Z=["flash-disabled","flash-outdated","flash-sandboxed","flash-unavailable","flash-degraded","flash-deactivated","flash-overdue"],Q=new RegExp("^flash-("+Z.map(function(e){return e.replace(/^flash-/,"")}).join("|")+")$"),J=new RegExp("^flash-("+Z.slice(1).map(function(e){return e.replace(/^flash-/,"")}).join("|")+")$"),X={swfPath:L(),trustedDomains:e.location.host?[e.location.host]:[],cacheBust:!0,forceEnhancedClipboard:!1,flashLoadTimeout:3e4,autoActivate:!0,bubbleEvents:!0,containerId:"global-zeroclipboard-html-bridge",containerClass:"global-zeroclipboard-container",swfObjectId:"global-zeroclipboard-flash-bridge",hoverClass:"zeroclipboard-is-hover",activeClass:"zeroclipboard-is-active",forceHandCursor:!1,title:null,zIndex:999999999},K=function(e){if("object"==typeof e&&null!==e)for(var t in e)if(k.call(e,t))if(/^(?:forceHandCursor|title|zIndex|bubbleEvents)$/.test(t))X[t]=e[t];else if(null==U.bridge)if("containerId"===t||"swfObjectId"===t){if(!pe(e[t]))throw new Error("The specified `"+t+"` value is not valid as an HTML4 Element ID");X[t]=e[t]}else X[t]=e[t];{if("string"!=typeof e||!e)return D(X);if(k.call(X,e))return X[e]}},ee=function(){return We(),{browser:T(u,["userAgent","platform","appName"]),flash:M(U,["bridge"]),zeroclipboard:{version:Ge.version,config:Ge.config()}}},te=function(){return!!(U.disabled||U.outdated||U.sandboxed||U.unavailable||U.degraded||U.deactivated)},ne=function(e,t){var i,o,a,s={};if("string"==typeof e&&e)a=e.toLowerCase().split(/\s+/);else if("object"==typeof e&&e&&"undefined"==typeof t)for(i in e)k.call(e,i)&&"string"==typeof i&&i&&"function"==typeof e[i]&&Ge.on(i,e[i]);if(a&&a.length){for(i=0,o=a.length;o>i;i++)e=a[i].replace(/^on/,""),s[e]=!0,z[e]||(z[e]=[]),z[e].push(t);if(s.ready&&U.ready&&Ge.emit({type:"ready"}),s.error){for(i=0,o=Z.length;o>i;i++)if(U[Z[i].replace(/^flash-/,"")]===!0){Ge.emit({type:"error",name:Z[i]});break}r!==n&&Ge.version!==r&&Ge.emit({type:"error",name:"version-mismatch",jsVersion:Ge.version,swfVersion:r})}}return Ge},re=function(e,t){var n,r,i,o,a;if(0===arguments.length)o=w(z);else if("string"==typeof e&&e)o=e.split(/\s+/);else if("object"==typeof e&&e&&"undefined"==typeof t)for(n in e)k.call(e,n)&&"string"==typeof n&&n&&"function"==typeof e[n]&&Ge.off(n,e[n]);if(o&&o.length)for(n=0,r=o.length;r>n;n++)if(e=o[n].toLowerCase().replace(/^on/,""),a=z[e],a&&a.length)if(t)for(i=a.indexOf(t);-1!==i;)a.splice(i,1),i=a.indexOf(t,i);else a.length=0;return Ge},ie=function(e){var t;return t="string"==typeof e&&e?D(z[e])||null:D(z)},oe=function(e){var t,n,r;return e=me(e),e&&!xe(e)?"ready"===e.type&&U.overdue===!0?Ge.emit({type:"error",name:"flash-overdue"}):(t=E({},e),be.call(this,t),"copy"===e.type&&(r=Me(H),n=r.data,q=r.formatMap),n):void 0},ae=function(){var e=U.sandboxed;if(We(),"boolean"!=typeof U.ready&&(U.ready=!1),U.sandboxed!==e&&U.sandboxed===!0)U.ready=!1,Ge.emit({type:"error",name:"flash-sandboxed"});else if(!Ge.isFlashUnusable()&&null===U.bridge){var t=X.flashLoadTimeout;"number"==typeof t&&t>=0&&(Y=l(function(){"boolean"!=typeof U.deactivated&&(U.deactivated=!0),U.deactivated===!0&&Ge.emit({type:"error",name:"flash-deactivated"})},t)),U.overdue=!1,De()}},se=function(){Ge.clearData(),Ge.blur(),Ge.emit("destroy"),Te(),Ge.off()},ue=function(e,t){var n;if("object"==typeof e&&e&&"undefined"==typeof t)n=e,Ge.clearData();else{if("string"!=typeof e||!e)return;n={},n[e]=t}for(var r in n)"string"==typeof r&&r&&k.call(n,r)&&"string"==typeof n[r]&&n[r]&&(H[r]=n[r])},le=function(e){"undefined"==typeof e?(A(H),q=null):"string"==typeof e&&k.call(H,e)&&delete H[e]},ce=function(e){return"undefined"==typeof e?D(H):"string"==typeof e&&k.call(H,e)?H[e]:void 0},fe=function(e){if(e&&1===e.nodeType){i&&(Le(i,X.activeClass),i!==e&&Le(i,X.hoverClass)),i=e,je(e,X.hoverClass);var t=e.getAttribute("title")||X.title;if("string"==typeof t&&t){var n=Ee(U.bridge);n&&n.setAttribute("title",t)}var r=X.forceHandCursor===!0||"pointer"===Re(e,"cursor");qe(r),He()}},de=function(){var e=Ee(U.bridge);e&&(e.removeAttribute("title"),e.style.left="0px",e.style.top="-9999px",e.style.width="1px",e.style.height="1px"),i&&(Le(i,X.hoverClass),Le(i,X.activeClass),i=null)},he=function(){return i||null},pe=function(e){return"string"==typeof e&&e&&/^[A-Za-z][A-Za-z0-9_:\-\.]*$/.test(e)},me=function(e){var t;if("string"==typeof e&&e?(t=e,e={}):"object"==typeof e&&e&&"string"==typeof e.type&&e.type&&(t=e.type),t){t=t.toLowerCase(),!e.target&&(/^(copy|aftercopy|_click)$/.test(t)||"error"===t&&"clipboard-error"===e.name)&&(e.target=o),E(e,{type:t,target:e.target||i||null,relatedTarget:e.relatedTarget||null,currentTarget:U&&U.bridge||null,timeStamp:e.timeStamp||b()||null});var n=B[e.type];return"error"===e.type&&e.name&&n&&(n=n[e.name]),n&&(e.message=n),"ready"===e.type&&E(e,{target:null,version:U.version}),"error"===e.type&&(Q.test(e.name)&&E(e,{target:null,minimumVersion:V}),J.test(e.name)&&E(e,{version:U.version})),"copy"===e.type&&(e.clipboardData={setData:Ge.setData,clearData:Ge.clearData}),"aftercopy"===e.type&&(e=Ae(e,q)),e.target&&!e.relatedTarget&&(e.relatedTarget=ge(e.target)),ve(e)}},ge=function(e){var t=e&&e.getAttribute&&e.getAttribute("data-clipboard-target");return t?s.getElementById(t):null},ve=function(e){if(e&&/^_(?:click|mouse(?:over|out|down|up|move))$/.test(e.type)){var t=e.target,r="_mouseover"===e.type&&e.relatedTarget?e.relatedTarget:n,i="_mouseout"===e.type&&e.relatedTarget?e.relatedTarget:n,o=Ue(t),u=a.screenLeft||a.screenX||0,l=a.screenTop||a.screenY||0,c=s.body.scrollLeft+s.documentElement.scrollLeft,f=s.body.scrollTop+s.documentElement.scrollTop,d=o.left+("number"==typeof e._stageX?e._stageX:0),h=o.top+("number"==typeof e._stageY?e._stageY:0),p=d-c,m=h-f,g=u+p,v=l+m,$="number"==typeof e.movementX?e.movementX:0,y="number"==typeof e.movementY?e.movementY:0;delete e._stageX,delete e._stageY,E(e,{srcElement:t,fromElement:r,toElement:i,screenX:g,screenY:v,pageX:d,pageY:h,clientX:p,clientY:m,x:p,y:m,movementX:$,movementY:y,offsetX:0,offsetY:0,layerX:0,layerY:0})}return e},$e=function(e){var t=e&&"string"==typeof e.type&&e.type||"";return!/^(?:(?:before)?copy|destroy)$/.test(t)},ye=function(e,t,n,r){r?l(function(){e.apply(t,n)},0):e.apply(t,n)},be=function(e){if("object"==typeof e&&e&&e.type){var t=$e(e),n=z["*"]||[],r=z[e.type]||[],i=n.concat(r);if(i&&i.length){var o,s,u,l,c,f=this;for(o=0,s=i.length;s>o;o++)u=i[o],l=f,"string"==typeof u&&"function"==typeof a[u]&&(u=a[u]),"object"==typeof u&&u&&"function"==typeof u.handleEvent&&(l=u,u=u.handleEvent),"function"==typeof u&&(c=E({},e),ye(u,l,[c],t))}return this}},we=function(e){var t=null;return(R===!1||e&&"error"===e.type&&e.name&&-1!==G.indexOf(e.name))&&(t=!1),t},xe=function(e){var t=e.target||i||null,n="swf"===e._source;switch(delete e._source,e.type){case"error":var a="flash-sandboxed"===e.name||we(e);"boolean"==typeof a&&(U.sandboxed=a),-1!==Z.indexOf(e.name)?E(U,{disabled:"flash-disabled"===e.name,outdated:"flash-outdated"===e.name,unavailable:"flash-unavailable"===e.name,degraded:"flash-degraded"===e.name,deactivated:"flash-deactivated"===e.name,overdue:"flash-overdue"===e.name,ready:!1}):"version-mismatch"===e.name&&(r=e.swfVersion,E(U,{disabled:!1,outdated:!1,unavailable:!1,degraded:!1,deactivated:!1,overdue:!1,ready:!1})),ze();break;case"ready":r=e.swfVersion;var s=U.deactivated===!0;E(U,{disabled:!1,outdated:!1,sandboxed:!1,unavailable:!1,degraded:!1,deactivated:!1,overdue:s,ready:!s}),ze();break;case"beforecopy":o=t;break;case"copy":var u,l,c=e.relatedTarget;!H["text/html"]&&!H["text/plain"]&&c&&(l=c.value||c.outerHTML||c.innerHTML)&&(u=c.value||c.textContent||c.innerText)?(e.clipboardData.clearData(),e.clipboardData.setData("text/plain",u),l!==u&&e.clipboardData.setData("text/html",l)):!H["text/plain"]&&e.target&&(u=e.target.getAttribute("data-clipboard-text"))&&(e.clipboardData.clearData(),e.clipboardData.setData("text/plain",u));break;case"aftercopy":ke(e),Ge.clearData(),t&&t!==Pe()&&t.focus&&t.focus();break;case"_mouseover":Ge.focus(t),X.bubbleEvents===!0&&n&&(t&&t!==e.relatedTarget&&!O(e.relatedTarget,t)&&Ce(E({},e,{type:"mouseenter",bubbles:!1,cancelable:!1})),Ce(E({},e,{type:"mouseover"})));break;case"_mouseout":Ge.blur(),X.bubbleEvents===!0&&n&&(t&&t!==e.relatedTarget&&!O(e.relatedTarget,t)&&Ce(E({},e,{type:"mouseleave",bubbles:!1,cancelable:!1})),Ce(E({},e,{type:"mouseout"})));break;case"_mousedown":je(t,X.activeClass),X.bubbleEvents===!0&&n&&Ce(E({},e,{type:e.type.slice(1)}));break;case"_mouseup":Le(t,X.activeClass),X.bubbleEvents===!0&&n&&Ce(E({},e,{type:e.type.slice(1)}));break;case"_click":o=null,X.bubbleEvents===!0&&n&&Ce(E({},e,{type:e.type.slice(1)}));break;case"_mousemove":X.bubbleEvents===!0&&n&&Ce(E({},e,{type:e.type.slice(1)}))}return/^_(?:click|mouse(?:over|out|down|up|move))$/.test(e.type)?!0:void 0},ke=function(e){if(e.errors&&e.errors.length>0){var t=D(e);E(t,{type:"error",name:"clipboard-error"}),delete t.success,l(function(){Ge.emit(t)},0)}},Ce=function(e){if(e&&"string"==typeof e.type&&e){var t,n=e.target||null,r=n&&n.ownerDocument||s,i={view:r.defaultView||a,canBubble:!0,cancelable:!0,detail:"click"===e.type?1:0,button:"number"==typeof e.which?e.which-1:"number"==typeof e.button?e.button:r.createEvent?0:1},o=E(i,e);n&&r.createEvent&&n.dispatchEvent&&(o=[o.type,o.canBubble,o.cancelable,o.view,o.detail,o.screenX,o.screenY,o.clientX,o.clientY,o.ctrlKey,o.altKey,o.shiftKey,o.metaKey,o.button,o.relatedTarget],t=r.createEvent("MouseEvents"),t.initMouseEvent&&(t.initMouseEvent.apply(t,o),t._source="js",n.dispatchEvent(t)))}},Se=function(){var e=X.flashLoadTimeout;if("number"==typeof e&&e>=0){var t=Math.min(1e3,e/10),n=X.swfObjectId+"_fallbackContent";W=f(function(){var e=s.getElementById(n);Ve(e)&&(ze(),U.deactivated=null,Ge.emit({type:"error",name:"swf-not-found"}))},t)}},_e=function(){var e=s.createElement("div");return e.id=X.containerId,e.className=X.containerClass,e.style.position="absolute",e.style.left="0px",e.style.top="-9999px",e.style.width="1px",e.style.height="1px",e.style.zIndex=""+Ye(X.zIndex),e},Ee=function(e){for(var t=e&&e.parentNode;t&&"OBJECT"===t.nodeName&&t.parentNode;)t=t.parentNode;return t||null},De=function(){var e,t=U.bridge,n=Ee(t);if(!t){var r=Ie(a.location.host,X),i="never"===r?"none":"all",o=Fe(E({jsVersion:Ge.version},X)),u=X.swfPath+Oe(X.swfPath,X);n=_e();var l=s.createElement("div");n.appendChild(l),s.body.appendChild(n); +var c=s.createElement("div"),f="activex"===U.pluginType;c.innerHTML='"+(f?'':"")+'
     
    ',t=c.firstChild,c=null,S(t).ZeroClipboard=Ge,n.replaceChild(t,l),Se()}return t||(t=s[X.swfObjectId],t&&(e=t.length)&&(t=t[e-1]),!t&&n&&(t=n.firstChild)),U.bridge=t||null,t},Te=function(){var e=U.bridge;if(e){var t=Ee(e);t&&("activex"===U.pluginType&&"readyState"in e?(e.style.display="none",function i(){if(4===e.readyState){for(var n in e)"function"==typeof e[n]&&(e[n]=null);e.parentNode&&e.parentNode.removeChild(e),t.parentNode&&t.parentNode.removeChild(t)}else l(i,10)}()):(e.parentNode&&e.parentNode.removeChild(e),t.parentNode&&t.parentNode.removeChild(t))),ze(),U.ready=null,U.bridge=null,U.deactivated=null,r=n}},Me=function(e){var t={},n={};if("object"==typeof e&&e){for(var r in e)if(r&&k.call(e,r)&&"string"==typeof e[r]&&e[r])switch(r.toLowerCase()){case"text/plain":case"text":case"air:text":case"flash:text":t.text=e[r],n.text=r;break;case"text/html":case"html":case"air:html":case"flash:html":t.html=e[r],n.html=r;break;case"application/rtf":case"text/rtf":case"rtf":case"richtext":case"air:rtf":case"flash:rtf":t.rtf=e[r],n.rtf=r}return{data:t,formatMap:n}}},Ae=function(e,t){if("object"!=typeof e||!e||"object"!=typeof t||!t)return e;var n={};for(var r in e)if(k.call(e,r))if("errors"===r){n[r]=e[r]?e[r].slice():[];for(var i=0,o=n[r].length;o>i;i++)n[r][i].format=t[n[r][i].format]}else if("success"!==r&&"data"!==r)n[r]=e[r];else{n[r]={};var a=e[r];for(var s in a)s&&k.call(a,s)&&k.call(t,s)&&(n[r][t[s]]=a[s])}return n},Oe=function(e,t){var n=null==t||t&&t.cacheBust===!0;return n?(-1===e.indexOf("?")?"?":"&")+"noCache="+b():""},Fe=function(e){var t,n,r,i,o="",s=[];if(e.trustedDomains&&("string"==typeof e.trustedDomains?i=[e.trustedDomains]:"object"==typeof e.trustedDomains&&"length"in e.trustedDomains&&(i=e.trustedDomains)),i&&i.length)for(t=0,n=i.length;n>t;t++)if(k.call(i,t)&&i[t]&&"string"==typeof i[t]){if(r=Ne(i[t]),!r)continue;if("*"===r){s.length=0,s.push(r);break}s.push.apply(s,[r,"//"+r,a.location.protocol+"//"+r])}return s.length&&(o+="trustedOrigins="+p(s.join(","))),e.forceEnhancedClipboard===!0&&(o+=(o?"&":"")+"forceEnhancedClipboard=true"),"string"==typeof e.swfObjectId&&e.swfObjectId&&(o+=(o?"&":"")+"swfObjectId="+p(e.swfObjectId)),"string"==typeof e.jsVersion&&e.jsVersion&&(o+=(o?"&":"")+"jsVersion="+p(e.jsVersion)),o},Ne=function(e){if(null==e||""===e)return null;if(e=e.replace(/^\s+|\s+$/g,""),""===e)return null;var t=e.indexOf("//");e=-1===t?e:e.slice(t+2);var n=e.indexOf("/");return e=-1===n?e:-1===t||0===n?null:e.slice(0,n),e&&".swf"===e.slice(-4).toLowerCase()?null:e||null},Ie=function(){var e=function(e){var t,n,r,i=[];if("string"==typeof e&&(e=[e]),"object"!=typeof e||!e||"number"!=typeof e.length)return i;for(t=0,n=e.length;n>t;t++)if(k.call(e,t)&&(r=Ne(e[t]))){if("*"===r){i.length=0,i.push("*");break}-1===i.indexOf(r)&&i.push(r)}return i};return function(t,n){var r=Ne(n.swfPath);null===r&&(r=t);var i=e(n.trustedDomains),o=i.length;if(o>0){if(1===o&&"*"===i[0])return"always";if(-1!==i.indexOf(t))return 1===o&&t===r?"sameDomain":"always"}return"never"}}(),Pe=function(){try{return s.activeElement}catch(e){return null}},je=function(e,t){var n,r,i,o=[];if("string"==typeof t&&t&&(o=t.split(/\s+/)),e&&1===e.nodeType&&o.length>0)if(e.classList)for(n=0,r=o.length;r>n;n++)e.classList.add(o[n]);else if(e.hasOwnProperty("className")){for(i=" "+e.className+" ",n=0,r=o.length;r>n;n++)-1===i.indexOf(" "+o[n]+" ")&&(i+=o[n]+" ");e.className=i.replace(/^\s+|\s+$/g,"")}return e},Le=function(e,t){var n,r,i,o=[];if("string"==typeof t&&t&&(o=t.split(/\s+/)),e&&1===e.nodeType&&o.length>0)if(e.classList&&e.classList.length>0)for(n=0,r=o.length;r>n;n++)e.classList.remove(o[n]);else if(e.className){for(i=(" "+e.className+" ").replace(/[\r\n\t]/g," "),n=0,r=o.length;r>n;n++)i=i.replace(" "+o[n]+" "," ");e.className=i.replace(/^\s+|\s+$/g,"")}return e},Re=function(e,t){var n=h(e,null).getPropertyValue(t);return"cursor"!==t||n&&"auto"!==n||"A"!==e.nodeName?n:"pointer"},Ue=function(e){var t={left:0,top:0,width:0,height:0};if(e.getBoundingClientRect){var n=e.getBoundingClientRect(),r=a.pageXOffset,i=a.pageYOffset,o=s.documentElement.clientLeft||0,u=s.documentElement.clientTop||0,l=0,c=0;if("relative"===Re(s.body,"position")){var f=s.body.getBoundingClientRect(),d=s.documentElement.getBoundingClientRect();l=f.left-d.left||0,c=f.top-d.top||0}t.left=n.left+r-o-l,t.top=n.top+i-u-c,t.width="width"in n?n.width:n.right-n.left,t.height="height"in n?n.height:n.bottom-n.top}return t},Ve=function(e){if(!e)return!1;var t=h(e,null),n=$(t.height)>0,r=$(t.width)>0,i=$(t.top)>=0,o=$(t.left)>=0,a=n&&r&&i&&o,s=a?null:Ue(e),u="none"!==t.display&&"collapse"!==t.visibility&&(a||!!s&&(n||s.height>0)&&(r||s.width>0)&&(i||s.top>=0)&&(o||s.left>=0));return u},ze=function(){c(Y),Y=0,d(W),W=0},He=function(){var e;if(i&&(e=Ee(U.bridge))){var t=Ue(i);E(e.style,{width:t.width+"px",height:t.height+"px",top:t.top+"px",left:t.left+"px",zIndex:""+Ye(X.zIndex)})}},qe=function(e){U.ready===!0&&(U.bridge&&"function"==typeof U.bridge.setHandCursor?U.bridge.setHandCursor(e):U.ready=!1)},Ye=function(e){if(/^(?:auto|inherit)$/.test(e))return e;var t;return"number"!=typeof e||y(e)?"string"==typeof e&&(t=Ye(v(e,10))):t=e,"number"==typeof t?t:"auto"},We=function(t){var n,r,i,o=U.sandboxed,a=null;if(t=t===!0,R===!1)a=!1;else{try{r=e.frameElement||null}catch(s){i={name:s.name,message:s.message}}if(r&&1===r.nodeType&&"IFRAME"===r.nodeName)try{a=r.hasAttribute("sandbox")}catch(s){a=null}else{try{n=document.domain||null}catch(s){n=null}(null===n||i&&"SecurityError"===i.name&&/(^|[\s\(\[@])sandbox(es|ed|ing|[\s\.,!\)\]@]|$)/.test(i.message.toLowerCase()))&&(a=!0)}}return U.sandboxed=a,o===a||t||Be(m),a},Be=function(e){function t(e){var t=e.match(/[\d]+/g);return t.length=3,t.join(".")}function n(e){return!!e&&(e=e.toLowerCase())&&(/^(pepflashplayer\.dll|libpepflashplayer\.so|pepperflashplayer\.plugin)$/.test(e)||"chrome.plugin"===e.slice(-13))}function r(e){e&&(s=!0,e.version&&(f=t(e.version)),!f&&e.description&&(f=t(e.description)),e.filename&&(c=n(e.filename)))}var i,o,a,s=!1,l=!1,c=!1,f="";if(u.plugins&&u.plugins.length)i=u.plugins["Shockwave Flash"],r(i),u.plugins["Shockwave Flash 2.0"]&&(s=!0,f="2.0.0.11");else if(u.mimeTypes&&u.mimeTypes.length)a=u.mimeTypes["application/x-shockwave-flash"],i=a&&a.enabledPlugin,r(i);else if("undefined"!=typeof e){l=!0;try{o=new e("ShockwaveFlash.ShockwaveFlash.7"),s=!0,f=t(o.GetVariable("$version"))}catch(d){try{o=new e("ShockwaveFlash.ShockwaveFlash.6"),s=!0,f="6.0.21"}catch(h){try{o=new e("ShockwaveFlash.ShockwaveFlash"),s=!0,f=t(o.GetVariable("$version"))}catch(p){l=!1}}}}U.disabled=s!==!0,U.outdated=f&&$(f)<$(V),U.version=f||"0.0.0",U.pluginType=c?"pepper":l?"activex":s?"netscape":"unknown"};Be(m),We(!0);var Ge=function(){return this instanceof Ge?void("function"==typeof Ge._createClient&&Ge._createClient.apply(this,_(arguments))):new Ge};x(Ge,"version",{value:"2.2.0",writable:!1,configurable:!0,enumerable:!0}),Ge.config=function(){return K.apply(this,_(arguments))},Ge.state=function(){return ee.apply(this,_(arguments))},Ge.isFlashUnusable=function(){return te.apply(this,_(arguments))},Ge.on=function(){return ne.apply(this,_(arguments))},Ge.off=function(){return re.apply(this,_(arguments))},Ge.handlers=function(){return ie.apply(this,_(arguments))},Ge.emit=function(){return oe.apply(this,_(arguments))},Ge.create=function(){return ae.apply(this,_(arguments))},Ge.destroy=function(){return se.apply(this,_(arguments))},Ge.setData=function(){return ue.apply(this,_(arguments))},Ge.clearData=function(){return le.apply(this,_(arguments))},Ge.getData=function(){return ce.apply(this,_(arguments))},Ge.focus=Ge.activate=function(){return fe.apply(this,_(arguments))},Ge.blur=Ge.deactivate=function(){return de.apply(this,_(arguments))},Ge.activeElement=function(){return he.apply(this,_(arguments))};var Ze=0,Qe={},Je=0,Xe={},Ke={};E(X,{autoActivate:!0});var et=function(e){var t=this;t.id=""+Ze++,Qe[t.id]={instance:t,elements:[],handlers:{}},e&&t.clip(e),Ge.on("*",function(e){return t.emit(e)}),Ge.on("destroy",function(){t.destroy()}),Ge.create()},tt=function(e,t){var i,o,a,s={},u=Qe[this.id],l=u&&u.handlers;if(!u)throw new Error("Attempted to add new listener(s) to a destroyed ZeroClipboard client instance");if("string"==typeof e&&e)a=e.toLowerCase().split(/\s+/);else if("object"==typeof e&&e&&"undefined"==typeof t)for(i in e)k.call(e,i)&&"string"==typeof i&&i&&"function"==typeof e[i]&&this.on(i,e[i]);if(a&&a.length){for(i=0,o=a.length;o>i;i++)e=a[i].replace(/^on/,""),s[e]=!0,l[e]||(l[e]=[]),l[e].push(t);if(s.ready&&U.ready&&this.emit({type:"ready",client:this}),s.error){for(i=0,o=Z.length;o>i;i++)if(U[Z[i].replace(/^flash-/,"")]){this.emit({type:"error",name:Z[i],client:this});break}r!==n&&Ge.version!==r&&this.emit({type:"error",name:"version-mismatch",jsVersion:Ge.version,swfVersion:r})}}return this},nt=function(e,t){var n,r,i,o,a,s=Qe[this.id],u=s&&s.handlers;if(!u)return this;if(0===arguments.length)o=w(u);else if("string"==typeof e&&e)o=e.split(/\s+/);else if("object"==typeof e&&e&&"undefined"==typeof t)for(n in e)k.call(e,n)&&"string"==typeof n&&n&&"function"==typeof e[n]&&this.off(n,e[n]);if(o&&o.length)for(n=0,r=o.length;r>n;n++)if(e=o[n].toLowerCase().replace(/^on/,""),a=u[e],a&&a.length)if(t)for(i=a.indexOf(t);-1!==i;)a.splice(i,1),i=a.indexOf(t,i);else a.length=0;return this},rt=function(e){var t=null,n=Qe[this.id]&&Qe[this.id].handlers;return n&&(t="string"==typeof e&&e?n[e]?n[e].slice(0):[]:D(n)),t},it=function(e){if(lt.call(this,e)){"object"==typeof e&&e&&"string"==typeof e.type&&e.type&&(e=E({},e));var t=E({},me(e),{client:this});ct.call(this,t)}return this},ot=function(e){if(!Qe[this.id])throw new Error("Attempted to clip element(s) to a destroyed ZeroClipboard client instance");e=ft(e);for(var t=0;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))},ct=function(e){var t=Qe[this.id];if("object"==typeof e&&e&&e.type&&t){var n=$e(e),r=t&&t.handlers["*"]||[],i=t&&t.handlers[e.type]||[],o=r.concat(i);if(o&&o.length){var s,u,l,c,f,d=this;for(s=0,u=o.length;u>s;s++)l=o[s],c=d,"string"==typeof l&&"function"==typeof a[l]&&(l=a[l]),"object"==typeof l&&l&&"function"==typeof l.handleEvent&&(c=l,l=l.handleEvent),"function"==typeof l&&(f=E({},e),ye(l,c,[f],n))}}},ft=function(e){return"string"==typeof e&&(e=[]),"number"!=typeof e.length?[e]:e},dt=function(e){if(e&&1===e.nodeType){var t=function(e){(e||(e=a.event))&&("js"!==e._source&&(e.stopImmediatePropagation(),e.preventDefault()),delete e._source)},n=function(n){(n||(n=a.event))&&(t(n),Ge.focus(e))};e.addEventListener("mouseover",n,!1),e.addEventListener("mouseout",t,!1),e.addEventListener("mouseenter",t,!1),e.addEventListener("mouseleave",t,!1),e.addEventListener("mousemove",t,!1),Ke[e.zcClippingId]={mouseover:n,mouseout:t,mouseenter:t,mouseleave:t,mousemove:t}}},ht=function(e){if(e&&1===e.nodeType){var t=Ke[e.zcClippingId];if("object"==typeof t&&t){for(var n,r,i=["move","leave","enter","out","over"],o=0,a=i.length;a>o;o++)n="mouse"+i[o],r=t[n],"function"==typeof r&&e.removeEventListener(n,r,!1);delete Ke[e.zcClippingId]}}};Ge._createClient=function(){et.apply(this,_(arguments))},Ge.prototype.on=function(){return tt.apply(this,_(arguments))},Ge.prototype.off=function(){return nt.apply(this,_(arguments))},Ge.prototype.handlers=function(){return rt.apply(this,_(arguments))},Ge.prototype.emit=function(){return it.apply(this,_(arguments))},Ge.prototype.clip=function(){return ot.apply(this,_(arguments))},Ge.prototype.unclip=function(){return at.apply(this,_(arguments))},Ge.prototype.elements=function(){return st.apply(this,_(arguments))},Ge.prototype.destroy=function(){return ut.apply(this,_(arguments))},Ge.prototype.setText=function(e){if(!Qe[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ge.setData("text/plain",e),this},Ge.prototype.setHtml=function(e){if(!Qe[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ge.setData("text/html",e),this},Ge.prototype.setRichText=function(e){if(!Qe[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ge.setData("application/rtf",e),this},Ge.prototype.setData=function(){if(!Qe[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ge.setData.apply(this,_(arguments)),this},Ge.prototype.clearData=function(){if(!Qe[this.id])throw new Error("Attempted to clear pending clipboard data from a destroyed ZeroClipboard client instance");return Ge.clearData.apply(this,_(arguments)),this},Ge.prototype.getData=function(){if(!Qe[this.id])throw new Error("Attempted to get pending clipboard data from a destroyed ZeroClipboard client instance");return Ge.getData.apply(this,_(arguments))},"function"==typeof define&&define.amd?define(function(){return Ge}):"object"==typeof t&&t&&"object"==typeof t.exports&&t.exports?t.exports=Ge:e.ZeroClipboard=Ge}(function(){return this||window}())},{}],14:[function(e,t,n){t.exports='
    \n
    Drop files or click here to upload
    \n
    '},{}],15:[function(e,t,n){t.exports='\n
    \n
    \n Image Preview\n Image Preview\n
    \n \n
    \n\n \n |\n \n\n \n
    '},{}],16:[function(e,t,n){t.exports='
    \n \n
    \n
    '},{}],17:[function(e,t,n){"use strict";var r=e("moment");t.exports=function(t,n){t.controller("ImageManagerController",["$scope","$attrs","$http","$timeout","imageManagerService",function(e,t,r,i,o){function a(){e.searching=!1,e.searchTerm="",e.images=m,e.hasMore=g}function s(t){p&&p(t),e.showing=!1}function u(t){p=t,e.showing=!0,h||(l(),h=!0)}function l(){var t=v+c+"?",n={};e.uploadedTo&&(n.page_id=e.uploadedTo),e.searching&&(n.term=e.searchTerm);var i=Object.keys(n).map(function(e){return e+"="+encodeURIComponent(n[e])}).join("&");t+=i,r.get(t).then(function(t){e.images=e.images.concat(t.data.images),e.hasMore=t.data.hasMore,c++})}e.images=[],e.imageType=t.imageType,e.selectedImage=!1,e.dependantPages=!1,e.showing=!1,e.hasMore=!1,e.imageUpdateSuccess=!1,e.imageDeleteSuccess=!1,e.uploadedTo=t.uploadedTo,e.view="all",e.searching=!1,e.searchTerm="";var c=0,f=0,d=0,h=!1,p=!1,m=[],g=!1;e.getUploadUrl=function(){return"/images/"+e.imageType+"/upload"},e.cancelSearch=a,e.uploadSuccess=function(t,r){e.$apply(function(){e.images.unshift(r)}),n.emit("success","Image uploaded")},e.imageSelect=function(t){var n=300,r=Date.now(),i=r-f;n>i&&t.id===d?s(t):(e.selectedImage=t,e.dependantPages=!1),f=r,d=t.id},e.selectButtonClick=function(){s(e.selectedImage)},o.show=u,o.showExternal=function(t){e.$apply(function(){u(t)})},window.ImageManager=o,e.hide=function(){e.showing=!1};var v="/images/"+e.imageType+"/all/";e.fetchData=l,e.searchImages=function(){return""===e.searchTerm?void a():(e.searching||(m=e.images,g=e.hasMore),e.searching=!0,e.images=[],e.hasMore=!1,c=0,v="/images/"+e.imageType+"/search/",void l())},e.setView=function(t){a(),e.images=[],e.hasMore=!1,c=0,e.view=t,v="/images/"+e.imageType+"/"+t+"/",l()},e.saveImageDetails=function(t){t.preventDefault();var i="/images/update/"+e.selectedImage.id;r.put(i,this.selectedImage).then(function(e){n.emit("success","Image details updated")},function(e){if(422===e.status){var t=e.data,r="";Object.keys(t).forEach(function(e){r+=t[e].join("\n")}),n.emit("error",r)}else 403===e.status&&n.emit("error",e.data.error)})},e.deleteImage=function(t){t.preventDefault();var i=e.dependantPages!==!1,o="/images/"+e.selectedImage.id;i&&(o+="?force=true"),r["delete"](o).then(function(t){e.images.splice(e.images.indexOf(e.selectedImage),1),e.selectedImage=!1,n.emit("success","Image successfully deleted")},function(t){400===t.status?e.dependantPages=t.data:403===t.status&&n.emit("error",t.data.error)})},e.getDate=function(e){return new Date(e)}}]),t.controller("BookShowController",["$scope","$http","$attrs","$sce",function(e,t,n,r){e.searching=!1,e.searchTerm="",e.searchResults="",e.searchBook=function(i){i.preventDefault();var o=e.searchTerm;if(0!=o.length){e.searching=!0,e.searchResults="";var a="/search/book/"+n.bookId;a+="?term="+encodeURIComponent(o),t.get(a).then(function(t){e.searchResults=r.trustAsHtml(t.data)})}},e.checkSearchForm=function(){e.searchTerm.length<1&&(e.searching=!1)},e.clearSearch=function(){e.searching=!1,e.searchTerm=""}}]),t.controller("PageEditController",["$scope","$http","$attrs","$interval","$timeout","$sce",function(t,i,o,a,s,u){function l(){g.title=$("#name").val(),g.html=t.editContent,m=a(function(){var e=$("#name").val(),n=t.editContent;e===g.title&&n===g.html||(g.html=n,g.title=e,c())},1e3*h)}function c(){var e={name:$("#name").val(),html:p?u.getTrustedHtml(t.displayContent):t.editContent};p&&(e.markdown=t.editContent),i.put("/ajax/page/"+f+"/save-draft",e).then(function(e){var n=r.utc(r.unix(e.data.timestamp)).toDate();t.draftText=e.data.message+r(n).format("HH:mm"),t.isNewPageDraft||(t.isUpdateDraft=!0)})}t.editorOptions=e("./pages/page-form"),t.editContent="",t.draftText="";var f=Number(o.pageId),d=0!==f,h=30,p="markdown"===o.editorType;t.isUpdateDraft=1===Number(o.pageUpdateDraft),t.isNewPageDraft=1===Number(o.pageNewDraft),t.isUpdateDraft||t.isNewPageDraft?t.draftText="Editing Draft":t.draftText="Editing Page";var m=!1,g={title:!1,html:!1};d&&setTimeout(function(){l()},1e3),p&&(t.displayContent="",t.editorChange=function(e){t.displayContent=u.trustAsHtml(e)}),p||(t.editorChange=function(){}),t.forceDraftSave=function(){c()},t.$on("editor-keydown",function(e,t){83==t.keyCode&&(navigator.platform.match("Mac")?t.metaKey:t.ctrlKey)&&(t.preventDefault(),c())}),t.discardDraft=function(){i.get("/ajax/page/"+f).then(function(e){m&&a.cancel(m),t.draftText="Editing Page",t.isUpdateDraft=!1,t.$broadcast("html-update",e.data.html),t.$broadcast("markdown-update",e.data.markdown||e.data.html),$("#name").val(e.data.name),s(function(){l()},1e3),n.emit("success","Draft discarded, The editor has been updated with the current page content")})}}]),t.controller("PageTagController",["$scope","$http","$attrs",function(e,t,r){function i(){e.tags.push({name:"",value:""})}function o(){t.get("/ajax/tags/get/page/"+s).then(function(t){e.tags=t.data,i()})}function a(){for(var t=0;t tr",containment:"parent",axis:"y"},e.addEmptyTag=i,o(),e.tagChange=function(t){var n=e.tags.indexOf(t);n===e.tags.length-1&&(""===t.name&&""===t.value||i())},e.tagBlur=function(t){var n=e.tags.length-1===e.tags.indexOf(t);if(""===t.name&&""===t.value&&!n){var r=e.tags.indexOf(t);e.tags.splice(r,1)}},e.saveTags=function(){a();var r={tags:e.tags};t.post("/ajax/tags/update/page/"+s,r).then(function(t){e.tags=t.data.tags,i(),n.emit("success",t.data.message)})},e.removeTag=function(t){var n=e.tags.indexOf(t);e.tags.splice(n,1)}}])}},{"./pages/page-form":20,moment:12}],18:[function(e,t,n){"use strict";var r=e("dropzone"),i=e("marked"),o=e("./components/toggle-switch.html"),a=e("./components/image-picker.html"),s=e("./components/drop-zone.html");t.exports=function(e,t){e.directive("toggleSwitch",function(){return{restrict:"A",template:o,scope:!0,link:function(e,t,n){e.name=n.name,e.value=n.value,e.isActive=1==e.value&&"false"!=e.value,e.value=1==e.value&&"false"!=e.value?"true":"false",e["switch"]=function(){e.isActive=!e.isActive,e.value=e.isActive?"true":"false"}}}}),e.directive("imagePicker",["$http","imageManagerService",function(e,t){return{restrict:"E",template:a,scope:{name:"@",resizeHeight:"@",resizeWidth:"@",resizeCrop:"@",showRemove:"=",currentImage:"@",currentId:"@",defaultImage:"@",imageClass:"@"},link:function(n,r,i){function o(e,t){n.image=t,n.value=a?e.id:t}var a="undefined"!=typeof n.currentId||"false"===n.currentId;n.image=n.currentImage,n.value=n.currentImage||"",a&&(n.value=n.currentId),n.reset=function(){o({id:0},n.defaultImage)},n.remove=function(){n.image="none",n.value="none"},n.showImageManager=function(){t.show(function(e){n.updateImageFromModel(e)})},n.updateImageFromModel=function(t){var r=n.resizeWidth&&n.resizeHeight;if(!r)return void n.$apply(function(){o(t,t.url)});var i=n.resizeCrop?"true":"false",a="/images/thumb/"+t.id+"/"+n.resizeWidth+"/"+n.resizeHeight+"/"+i;e.get(a).then(function(e){o(t,e.data.url)})}}}}]),e.directive("dropZone",[function(){return{restrict:"E",template:s,scope:{uploadUrl:"@",eventSuccess:"=",eventError:"=",uploadedTo:"@"},link:function(e,t,n){new r(t[0].querySelector(".dropzone-container"),{url:e.uploadUrl,init:function(){var t=this;t.on("sending",function(t,n,r){var i=window.document.querySelector("meta[name=token]").getAttribute("content");r.append("_token",i);var o="undefined"==typeof e.uploadedTo?0:e.uploadedTo;r.append("uploaded_to",o)}),"undefined"!=typeof e.eventSuccess&&t.on("success",e.eventSuccess),t.on("success",function(e,n){$(e.previewElement).fadeOut(400,function(){t.removeFile(e)})}),"undefined"!=typeof e.eventError&&t.on("error",e.eventError),t.on("error",function(e,t,n){function r(t){$(e.previewElement).find("[data-dz-errormessage]").text(t)}console.log(t),console.log(n),413===n.status&&r("The server does not allow uploads of this size. Please try a smaller file."),t.file&&r(t.file[0])})}})}}}]),e.directive("dropdown",[function(){return{restrict:"A",link:function(e,t,n){var r=t.find("ul");t.find("[dropdown-toggle]").on("click",function(){r.show().addClass("anim menuIn"),t.mouseleave(function(){r.hide(),r.removeClass("anim menuIn")})})}}}]),e.directive("tinymce",["$timeout",function(e){return{restrict:"A",scope:{tinymce:"=",mceModel:"=",mceChange:"="},link:function(t,n,r){function i(n){n.on("ExecCommand change NodeChange ObjectResized",function(r){var i=n.getContent();e(function(){t.mceModel=i}),t.mceChange(i)}),n.on("keydown",function(e){t.$emit("editor-keydown",e)}),n.on("init",function(e){t.mceModel=n.getContent()}),t.$on("html-update",function(e,r){n.setContent(r),n.selection.select(n.getBody(),!0),n.selection.collapse(!1),t.mceModel=n.getContent()})}t.tinymce.extraSetups.push(i),tinymce.PluginManager.add("customhr",function(e){e.addCommand("InsertHorizontalRule",function(){var t=document.createElement("hr"),n=e.selection.getNode(),r=n.parentNode;r.insertBefore(t,n)}),e.addButton("hr",{icon:"hr",tooltip:"Horizontal line",cmd:"InsertHorizontalRule"}),e.addMenuItem("hr",{icon:"hr",text:"Horizontal line",cmd:"InsertHorizontalRule",context:"insert"})}),tinymce.init(t.tinymce)}}}]),e.directive("markdownInput",["$timeout",function(e){return{restrict:"A",scope:{mdModel:"=",mdChange:"="},link:function(t,n,r){var o=n.val();t.mdModel=o,t.mdChange(i(o)),n.on("change input",function(r){o=n.val(),e(function(){t.mdModel=o,t.mdChange(i(o))})}),t.$on("markdown-update",function(e,r){n.val(r),t.mdModel=r,t.mdChange(i(r))})}}}]),e.directive("markdownEditor",["$timeout",function(e){return{restrict:"A",link:function(e,t,n){function r(){u=i[0].scrollHeight,l=i.height(),c=o[0].scrollHeight,f=o.height()}var i=t.find("textarea[markdown-input]"),o=t.find(".markdown-display").first(),a=t.find('button[data-action="insertImage"]'),s=0;i.blur(function(e){s=i[0].selectionStart});var u=void 0,l=void 0,c=void 0,f=void 0;setTimeout(function(){r()},200),window.addEventListener("resize",r);var d=800,h=0;i.on("scroll",function(e){var t=Date.now();t-h>d&&r();var n=i.scrollTop()/(u-l),a=(c-f)*n;o.scrollTop(a),h=t}),i.keydown(function(t){if(73===t.which&&t.ctrlKey&&t.shiftKey){t.preventDefault();var n=i[0].selectionStart,r=i.val(),o="![](http://)";return i.val(r.substring(0,n)+o+r.substring(n)),i.focus(),i[0].selectionStart=n+"![](".length,void(i[0].selectionEnd=n+"![](http://".length)}e.$emit("editor-keydown",t)}),a.click(function(e){window.ImageManager.showExternal(function(e){var t=s,n=i.val(),r="!["+e.name+"]("+e.url+")";i.val(n.substring(0,t)+r+n.substring(t)),i.change()})})}}}]),e.directive("toolbox",[function(){return{restrict:"A",link:function(e,t,n){function r(e,n){i.removeClass("active"),o.hide(),i.filter('[tab-button="'+e+'"]').addClass("active"),o.filter('[tab-content="'+e+'"]').show(),n&&t.addClass("open")}var i=t.find("[tab-button]"),o=t.find("[tab-content]"),a=t.find("[toolbox-toggle]");a.click(function(e){t.toggleClass("open")}),r(o.first().attr("tab-content"),!1),i.click(function(e){var t=$(this).attr("tab-button");r(t,!0)})}}}]),e.directive("tagAutosuggestions",["$http",function(e){return{restrict:"A",link:function(t,n,r){function i(e,t){t[h].className="",h=e,t[h].className="active"}function o(e,t){if(0===t.length)return c.hide(),f=!1,void(m=t);if(f||(c.show(),f=!0),e!==d&&(c.detach(),e.after(c),d=e),m.join()===t.join())return void(m=t);c[0].innerHTML="";for(var n=0;np&&(c.hide(),f=!1)},200)}),n.on("focus","[autosuggest]",function(e){p=Date.now()}),n.on("keydown","[autosuggest]",function(e){if(f){var t=l.childNodes,n=t.length;if(40===e.keyCode){var r=h===n-1?0:h+1;i(r,t)}else if(38===e.keyCode){var r=0===h?n-1:h-1;i(r,t)}else if((13===e.keyCode||9===e.keyCode)&&!e.shiftKey){var o=t[h].textContent;if(d[0].value=o,d.focus(),c.hide(),f=!1,13===e.keyCode)return e.preventDefault(),!1}}});var m=[]}}}]),e.directive("entitySelector",["$http","$sce",function(e,t){return{restrict:"A",scope:!0,link:function(n,r,i){function o(e){var t=e.attr("data-entity-type"),n=e.attr("data-entity-id"),i=!e.hasClass("selected");r.find(".selected").removeClass("selected").removeClass("primary-background"),i&&e.addClass("selected").addClass("primary-background");var o=i?t+":"+n:"";s.val(o)}function a(){var e=i.entityTypes?encodeURIComponent(i.entityTypes):encodeURIComponent("page,book,chapter");return"/ajax/search/entities?types="+e}n.loading=!0,n.entityResults=!1,n.search="";var s=r.find("[entity-selector-input]").first();r.on("click",".entity-list a",function(e){e.preventDefault(),e.stopPropagation();var t=$(this).closest("[data-entity-type]");o(t)}),r.on("click","[data-entity-type]",function(e){o($(this))}),e.get(a()).then(function(e){n.entityResults=t.trustAsHtml(e.data),n.loading=!1}),n.searchEntities=function(){n.loading=!0,s.val("");var r=a()+"&term="+encodeURIComponent(n.search);e.get(r).then(function(e){n.entityResults=t.trustAsHtml(e.data),n.loading=!1})}}}}])}},{"./components/drop-zone.html":14,"./components/image-picker.html":15,"./components/toggle-switch.html":16,dropzone:10,marked:11}],19:[function(e,t,n){"use strict";var r=e("angular");e("angular-resource"),e("angular-animate"),e("angular-sanitize");e("angular-ui-sortable");var i=r.module("bookStack",["ngResource","ngAnimate","ngSanitize","ui.sortable"]),o={listeners:{},emit:function(e,t){if("undefined"==typeof this.listeners[e])return this;for(var n=this.listeners[e],r=0;r=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)}}})}}},{}],21:[function(e,t,n){"use strict";var r=e("zeroclipboard");r.config({swfPath:"/ZeroClipboard.swf"}),window.setupPageShow=t.exports=function(e){function t(e){var t=$(".page-content #"+e).first();0!==t.length?(t.smoothScrollTo(),t.css("background-color","rgba(244, 249, 54, 0.25)")):$(".page-content").find(':contains("'+e+'")').smoothScrollTo()}function n(){d.width(h.width()+15),d.addClass("fixed"),g=!0}function i(){d.css("width","auto"),d.removeClass("fixed"),g=!1}function o(e){var t=f.scrollTop()>m;!t||g&&!e?t||!g&&!e||i():n()}function a(){o(!1)}var s=$("#pointer").detach(),u=s.children("div.pointer").first(),l=!1;if(s.on("click","input",function(e){$(this).select(),e.stopPropagation()}),new r(s.find("button").first()[0]),$(document.body).find("*").on("click focus",function(e){l||s.detach()}),$('.page-content [id^="bkmrk"]').on("mouseup keyup",function(t){t.stopPropagation();var n=window.getSelection();if(0!==n.toString().length){var r=$(this),i=window.location.protocol+"//"+window.location.host+"/link/"+e+"#"+r.attr("id");s.find("input").val(i),s.find("button").first().attr("data-clipboard-text",i),r.before(s),s.show();var o=t.pageX-r.offset().left-u.width()/2;0>o&&(o=0);var a=o/r.width()*100;u.css("left",a+"%"),l=!0,setTimeout(function(){l=!1},100)}}),window.location.hash){var c=window.location.hash.replace(/\%20/g," ").substr(1);t(c)}var f=$(window),d=$(".book-tree"),h=d.parent(),p=$(document).height()>f.height()&&d.height()<$(".page-content").height(),m=$("#header").height()+$(".toolbar").height(),g=f.scrollTop()>m;p&&f.width()>1e3&&(f.on("scroll",a),o(!0)),f.on("resize",function(e){p&&f.width()>1e3?(f.on("scroll",a),o(!0)):(f.off("scroll",a),i())})}},{zeroclipboard:13}],22:[function(e,t,n){"use strict";t.exports=function(e,t){e.factory("imageManagerService",function(){return{show:!1,showExternal:!1}})}},{}]},{},[19]); \ No newline at end of file From 160fa99ba4ee4f27fd4b294972d088f7a45a6eb7 Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Sun, 14 Aug 2016 12:40:55 +0100 Subject: [PATCH 19/54] Updated assets for release v0.11.1 --- public/build/manifest.json | 6 +++--- public/css/export-styles.css | 2 +- public/css/print-styles.css | 2 +- public/css/styles.css | 2 +- public/js/common.js | 24 ++++++++++++------------ 5 files changed, 18 insertions(+), 18 deletions(-) diff --git a/public/build/manifest.json b/public/build/manifest.json index 1f3e9e9bee8..52d458f9cb7 100644 --- a/public/build/manifest.json +++ b/public/build/manifest.json @@ -1,5 +1,5 @@ { - "css/styles.css": "css/styles.css?version=02c6599", - "css/print-styles.css": "css/print-styles.css?version=02c6599", - "js/common.js": "js/common.js?version=02c6599" + "css/styles.css": "css/styles.css?version=8d97e9d", + "css/print-styles.css": "css/print-styles.css?version=8d97e9d", + "js/common.js": "js/common.js?version=8d97e9d" } \ No newline at end of file diff --git a/public/css/export-styles.css b/public/css/export-styles.css index 3406ed7c15f..82b8b2ae164 100644 --- a/public/css/export-styles.css +++ b/public/css/export-styles.css @@ -1 +1 @@ -.link,a,body{font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif}code,pre{white-space:pre}.chapter-toggle,.toggle-switch{cursor:pointer;-moz-user-select:none}*{box-sizing:border-box}html{background-color:#FFF;height:100%;overflow-y:scroll}html.flexbox{overflow-y:hidden}body{font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}button{font-size:100%}table td{min-width:10px;padding:4px 6px;border:1px solid #DDD}.title-input input[type=text],h1{font-size:3.425em;line-height:1.22222222em;margin-top:.48888889em;margin-bottom:.48888889em}h3,h4{margin-top:.78571429em}h2,h3,h4{margin-bottom:.43137255em}h2{font-size:2.8275em;line-height:1.294117647em;margin-top:.8627451em}h3{font-size:1.75em;line-height:1.571428572em}h4{font-size:1em;line-height:1.375em}.title-input input[type=text],h1,h2,h3,h4{font-weight:400;position:relative;display:block;color:#555}.title-input input[type=text] .subheader,h1 .subheader,h2 .subheader,h3 .subheader,h4 .subheader{font-size:.5em;line-height:1em;color:#969696}.link,a{color:#0288D1;cursor:pointer;text-decoration:none;transition:color ease-in-out 80ms;line-height:1.6}.link:hover,.underlined,a:hover{text-decoration:underline}.faded .text-button,.toggle-switch,.toggle-switch:after{transition:all ease-in-out 120ms}.link:hover,a:hover{color:#01466c}.link i,a i{padding-right:12px}.link i.zmdi-hc-flip-horizontal,a i.zmdi-hc-flip-horizontal{padding-right:0;padding-left:12px}blockquote,ol,p,pre,table,ul{margin-top:.3em;margin-bottom:1.375em}hr{height:1px;border:0;background:#EAEAEA;margin-bottom:24px}hr.faded{background-image:linear-gradient(to right,#fff,#e3e0e0 20%,#e3e0e0 80%,#fff)}hr.even,hr.margin-top{margin-top:24px}.bold,.strong,b,strong{font-weight:700}.bold>.bold,.bold>.strong,.bold>b,.bold>strong,.strong>.bold,.strong>.strong,.strong>b,.strong>strong,b>.bold,b>.strong,b>b,b>strong,strong>.bold,strong>.strong,strong>b,strong>strong{font-weight:bolder}.italic,em,i{font-style:italic}.text-small,p.small,small,span.small{font-size:.8em;color:#777}.superscript,sup{vertical-align:super;font-size:.8em}pre{font-family:monospace;font-size:.8em;overflow:hidden;border-radius:4px;box-shadow:0 1px 2px 0 rgba(10,10,10,.06);border:1px solid rgba(221,221,221,.66);background-color:#fdf6e3;padding:12px;overflow-x:scroll}blockquote{display:block;position:relative;border-left:4px solid #0288D1;background-color:#F8F8F8;padding:12px 16px 12px 32px}blockquote:before{content:"\201C";font-size:2em;font-weight:700;position:absolute;top:12px;left:12px;color:#777}.code-base,code,span.code{background-color:#F8F8F8;font-family:monospace;font-size:.8em;border:1px solid #DDD;border-radius:3px}code{display:inline;padding:1px 3px;line-height:1.2em;margin-bottom:1.2em}span.code{padding:1px 6px}pre code{background-color:transparent;border:0;font-size:1em}.text-pos,.text-pos:hover,p .pos,p .pos:hover,p.pos,p.pos:hover,span.pos,span.pos:hover{color:#52A256}.text-neg,.text-neg:hover,p .neg,p .neg:hover,p.neg,p.neg:hover,span.neg,span.neg:hover{color:#E84F4F}.text-muted,p .muted,p.muted,span.muted{color:#868686}.text-muted .small,.text-muted.small,p .muted .small,p .muted.small,p.muted .small,p.muted.small,span.muted .small,span.muted.small{color:#afafaf}.text-primary,.text-primary:hover,p .primary,p .primary:hover,p.primary,p.primary:hover,span.primary,span.primary:hover{color:#0288D1}.text-secondary,.text-secondary:hover,p .secondary,p .secondary:hover,p.secondary,p.secondary:hover,span.secondary,span.secondary:hover{color:#e27b41}.text-book,.text-book:hover{color:#009688}.text-page,.text-page:hover{color:#0288D1}.text-page.draft,.text-page.draft:hover{color:#9A60DA}.text-chapter,.text-chapter:hover{color:#ef7c3c}.faded .text-book:hover{color:#009688!important}.faded .text-chapter:hover{color:#ef7c3c!important}.faded .text-page:hover{color:#0288D1!important}span.highlight{font-weight:700;padding:2px 4px}ol,ul{padding-left:20.8px;overflow:hidden}ul{list-style:disc}ol{list-style:decimal}.book-tree .sidebar-page-list li a:hover,.faded .text-button:hover,.logo:hover{text-decoration:none}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-bigger{font-size:1.1em}.text-large{font-size:1.6666em}.no-color{color:inherit}.header-group{margin:16px 0}.header-group .title-input input[type=text],.header-group h1,.header-group h2,.header-group h3,.header-group h4,.header-group h5,.header-group h6,.title-input .header-group input[type=text]{margin:0}span.sep{color:#BBB;padding:0 6px}.list>*{display:block}.action-header .title-input input[type=text],.action-header h1,.title-input .action-header input[type=text]{margin-top:16px}i{padding-right:6px}body.flexbox{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;height:100%;min-height:100%;max-height:100%;overflow:hidden}body.flexbox #content{-ms-flex:1;flex:1;display:-ms-flexbox;display:flex;min-height:0}.flex-fill{display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch;min-height:0}.flex-fill .flex,.flex-fill.flex{min-height:0;-ms-flex:1;flex:1}div[class^=col-] img{max-width:100%}.container{max-width:1400px;margin-left:auto;margin-right:auto;padding-left:16px;padding-right:16px}.container.fluid{max-width:100%}.container.small{max-width:840px}.center-box{margin:32px auto 0;padding:16px 48px 64px;max-width:346px;display:inline-block;text-align:left;vertical-align:top}.center-box.login{background-color:#EEE;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border:1px solid #DDD}.row{margin-left:-16px;margin-right:-16px}.float{float:left}.float.right{float:right}.block{display:block;position:relative}.inline{display:inline}.block.inline{display:inline-block}.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{position:relative;min-height:1px;padding-left:16px;padding-right:16px}.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.row:after,.row:before{content:" ";display:table}.clearfix:after,.container-fluid:after,.container:after,.row:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.shaded{background-color:#f1f1f1}.shaded.pos{background-color:#d6ead7}.shaded.neg{background-color:#f4a9a9}.shaded.primary{background-color:#a1ddfe}.shaded.secondary{background-color:#f6d7c6}.bordered{border:1px solid #BBB}.bordered.pos{border-color:#52A256}.bordered.neg{border-color:#E84F4F}.bordered.primary{border-color:#0288D1}.bordered.secondary{border-color:#e27b41}.bordered.thick{border-width:2px}.rounded{border-radius:3px}.nopadding{padding:0}.padded{padding:24px}.padded.large{padding:32px}.padded>h1:first-child,.padded>h2:first-child,.padded>h3:first-child,.padded>h4:first-child,.title-input .padded>input[type=text]:first-child{margin-top:.1em}.padded-top,.padded-vertical{padding-top:16px}.padded-top.large,.padded-vertical.large{padding-top:32px}.padded-bottom,.padded-vertical{padding-bottom:16px}.padded-bottom.large,.padded-vertical.large{padding-bottom:32px}.padded-horizontal,.padded-left{padding-left:16px}.padded-horizontal.large,.padded-left.large{padding-left:32px}.padded-horizontal,.padded-right{padding-right:16px}.padded-horizontal.large,.padded-right.large{padding-right:32px}.margins{margin:24px}.margins.large{margin:32px}.margin-top,.margins-vertical{margin-top:16px}.margin-top.large,.margins-vertical.large{margin-top:32px}.margin-bottom,.margins-vertical{margin-bottom:16px}.margin-bottom.large,.margins-vertical.large{margin-bottom:32px}.margin-left,.margins-horizontal{margin-left:16px}.margin-left.large,.margins-horizontal.large{margin-left:32px}.margin-right,.margins-horizontal{margin-right:16px}.margin-right.large,.margins-horizontal.large{margin-right:32px}.callout{border-left:3px solid #BBB;background-color:#EEE;padding:12px}.callout:before{font-family:Material-Design-Iconic-Font;padding-right:12px;display:inline-block}.callout.success{border-left-color:#52A256;background-color:#e7f3e7;color:#376c39}.callout.success:before{content:'\f269'}.callout.danger{border-left-color:#E84F4F;background-color:#fce8e8;color:#b91818}.callout.danger:before{content:'\f1f2'}.callout.info{border-left-color:#0288D1;background-color:#d3efff;color:#015380}.callout.info:before{content:'\f1f8'}.callout.warning{border-left-color:#e27b41;background-color:#faeae0;color:#b6531c}.callout.warning:before{content:'\f1f1'}.editor-toolbar:after,.pointer:before,.toggle-switch:after{content:''}.input-base,input[type=number],input[type=email],input[type=search],input[type=url],input[type=password],input[type=text],select,textarea{background-color:#FFF;border-radius:3px;border:1px solid #CCC;display:inline-block;font-size:14px;font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif;padding:6px;color:#222;width:250px;max-width:100%}#markdown-editor textarea,.editor-toolbar{width:100%;font-family:'Roboto Mono'}.input-base.invalid,.input-base.neg,input.invalid[type=number],input.invalid[type=email],input.invalid[type=search],input.invalid[type=url],input.invalid[type=password],input.invalid[type=text],input.neg[type=number],input.neg[type=email],input.neg[type=search],input.neg[type=url],input.neg[type=password],input.neg[type=text],select.invalid,select.neg,textarea.invalid,textarea.neg{border:1px solid #E84F4F}.input-base.pos,.input-base.valid,input.pos[type=number],input.pos[type=email],input.pos[type=search],input.pos[type=url],input.pos[type=password],input.pos[type=text],input.valid[type=number],input.valid[type=email],input.valid[type=search],input.valid[type=url],input.valid[type=password],input.valid[type=text],select.pos,select.valid,textarea.pos,textarea.valid{border:1px solid #52A256}.input-base.disabled,.input-base[disabled],input.disabled[type=number],input.disabled[type=email],input.disabled[type=search],input.disabled[type=url],input.disabled[type=password],input.disabled[type=text],input[disabled][type=number],input[disabled][type=email],input[disabled][type=search],input[disabled][type=url],input[disabled][type=password],input[disabled][type=text],select.disabled,select[disabled],textarea.disabled,textarea[disabled]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAMUlEQVQIW2NkwAGuXbv2nxGbHEhCS0uLEUMSJgHShCKJLIEiiS4Bl8QmAZbEJQGSBAC62BuJ+tt7zgAAAABJRU5ErkJggg==)}.input-base:focus,input[type=number]:focus,input[type=email]:focus,input[type=search]:focus,input[type=url]:focus,input[type=password]:focus,input[type=text]:focus,select:focus,textarea:focus{outline:0}#html-editor{display:none}#markdown-editor{position:relative;z-index:5}#markdown-editor textarea{font-style:normal;font-weight:400;padding:6px 16px;color:#444;border-radius:0;max-height:100%;-ms-flex:1;flex:1;border:0}#markdown-editor textarea:focus{outline:0}#markdown-editor .markdown-display,#markdown-editor .markdown-editor-wrap{-ms-flex:1;flex:1;position:relative}#markdown-editor .markdown-editor-wrap{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;border:1px solid #DDD}#markdown-editor .markdown-display{padding:0 16px;margin-left:-1px;overflow-y:scroll}#markdown-editor .markdown-display .page-content{margin:0 auto}.editor-toolbar{padding:6px 16px;font-size:11px;line-height:1.6;border-bottom:1px solid #DDD;background-color:#EEE;-ms-flex:none;flex:none}.editor-toolbar:after{display:block;clear:both}label{display:block;line-height:1.4em;font-size:.94em;font-weight:500;color:#666;padding-bottom:2px;margin-bottom:.2em}.toggle-switch,label.inline{display:inline-block}label.checkbox,label.radio{font-weight:400}label.checkbox input[type=radio],label.checkbox input[type=checkbox],label.radio input[type=radio],label.radio input[type=checkbox]{margin-right:6px}label+p.small{margin-bottom:.8em}.toggle-switch{background-color:#BBB;width:36px;height:14px;border-radius:7px;position:relative;-webkit-user-select:none;-ms-user-select:none;user-select:none}.toggle-switch:after{display:block;position:relative;left:0;margin-top:-3px;width:20px;height:20px;border-radius:50%;background-color:#fafafa;border:1px solid #CCC;box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12)}.toggle-switch.active{background-color:rgba(82,162,86,.4)}.toggle-switch.active:after{left:16px;background-color:#52A256;border:#305e32}.toggle-switch-checkbox{display:none}input:checked+.toggle-switch{background-color:rgba(82,162,86,.4)}input:checked+.toggle-switch:after{left:16px;background-color:#52A256;border:#305e32}.form-group{margin-bottom:12px}.form-group textarea{display:block;width:100%;min-height:64px}.form-group .text-neg,.form-group .text-pos{padding:6px 0}.description-input textarea,.inline-input-style,.title-input input[type=text]{border:2px dotted #BBB;display:block;width:100%;padding:6px 12px}.title-input .input{width:100%}.description-input label,.title-input label{margin-top:16px;color:#666}.title-input input[type=text]{margin-top:0;padding-right:0;width:100%;color:#444}.title-input.page-title{font-size:.8em}.title-input.page-title .input{border:0;margin-bottom:-1px}.title-input.page-title input[type=text]{max-width:840px;margin:0 auto;border:none}.search-box,div[editor-type=markdown] .title-input.page-title input[type=text],table{max-width:100%}.page-title input{display:block;width:100%;font-size:1.4em}.description-input textarea{font-size:15px;color:#666;width:100%}.search-box{position:relative}.search-box button{background-color:transparent;border:none;color:#0288D1;padding:0;margin:0 0 0 12px;cursor:pointer}.search-box button[type=submit]{margin-left:-24px}.search-box input{padding-right:24px;width:300px;max-width:100%}input.outline{border:0;border-bottom:2px solid #DDD;border-radius:0}input.outline:active,input.outline:focus{border:0;border-bottom:2px solid #AAA;outline:0}#login-form label[for=remember]{margin:0}#login-form label.toggle-switch{margin-left:32px}.image-picker img{background-color:#BBB}div[toggle-switch]{height:18px;width:150px}table.table{width:100%}table.table tr{border-bottom:1px solid #DDD}table.table td,table.table th{text-align:left;border:none;padding:6px;vertical-align:middle}table.table th{font-weight:700}table.table tr:hover{background-color:#EEE}table{min-width:100px;border-spacing:0;border-collapse:collapse}table thead{background-color:#F8F8F8;font-weight:500}table.no-style td{border:0;padding:0}table.list-table{margin:-6px}table.list-table td{border:0;vertical-align:middle;padding:6px}.dropdown-container,.logo-image,.logo-text,form.search-box button,header .links,header .user-name,header .user-name>*{vertical-align:top}header{display:block;z-index:2;top:0;background-color:#0288D1;color:#fff;border-bottom:1px solid #DDD}header .avatar,header .links,header .links a,header .user-name{display:inline-block}header .padded{padding:16px}header .links{margin-right:32px}header .links a{padding:24px;color:#FFF}header .links a:last-child{padding-right:0}@media screen and (max-width:992px){header .links{margin-right:16px}header .links a{padding:24px 12px}}header .avatar{width:30px;height:30px}header .user-name{padding-top:24px;cursor:pointer}header .user-name>i,header .user-name>span{padding-left:6px;display:inline-block}header .user-name>span{padding-top:3px}header .user-name>i{padding-top:4px;font-size:18px}@media screen and (max-width:992px){header .user-name{padding-left:6px}header .user-name .name{display:none}header{text-align:center}header .float.right{float:none}}.logo,.logo-text,form.search-box{display:inline-block}.activity-list-item .left,ul.pagination li{float:left}@media screen and (max-width:768px){header .links a{padding:12px}header form.search-box{margin-top:0}header .user-name{padding-top:12px}}header .dropdown-container{font-size:.9em}form.search-box{margin-top:21.6px;position:relative;text-align:left}form.search-box input{background-color:transparent;border-radius:24px;border:2px solid #EEE;color:#EEE;padding-left:16px;padding-right:24px;outline:0}form.search-box button{margin-left:-24px;color:#FFF;top:6px;right:4px;display:inline-block;position:absolute}form.search-box button:hover{color:#FFF}.logo:hover{color:#FFF}.logo-text{font-size:1.8em;color:#fff;font-weight:400;padding:24px 24px 24px 0;line-height:1}.logo-image{margin:16px 12px 16px 0;height:43px}.breadcrumbs span.sep{color:#aaa;padding:0 6px}.action-buttons .text-button,.breadcrumbs .text-button,.faded span.faded-text{padding:12px;display:inline-block}.faded a,.faded button,.faded span,.faded span>div{color:#666}.faded .text-button{opacity:.5}.faded .text-button:hover{opacity:1}.faded-small{color:#000;font-size:.9em;background-color:rgba(21,101,192,.15)}.action-buttons .text-button:last-child,.breadcrumbs .text-button:last-child{padding-right:0}.action-buttons{text-align:right}.action-buttons.text-left{text-align:left}.action-buttons.text-left .text-button{padding-right:16px;padding-left:0}.action-buttons.text-center,.nav-tabs{text-align:center}.nav-tabs .tab-item,.nav-tabs a{padding:16px;display:inline-block;color:#666;cursor:pointer}.nav-tabs .tab-item.selected,.nav-tabs a.selected{border-bottom:2px solid #0288D1}.page-list h3{margin:24px 0 6px;font-size:1.666em}.page-list a.chapter{color:#ef7c3c}.page-list .inset-list{display:none;overflow:hidden;margin-bottom:24px}.page-list h4{display:block;margin:12px 0 0;border-left:5px solid #0288D1;padding:6px 0 6px 16px}.page-list h4.draft{border-left-color:#9A60DA}.page-list hr{margin-top:0}.page-list .book,.page-list .chapter,.page-list .page{padding-left:24px}.page-list .page{border-left:5px solid #0288D1}.page-list .page.draft{border-left:5px solid #9A60DA}.page-list .page.draft .text-page{color:#9A60DA}.page-list .chapter{border-left:5px solid #ef7c3c}.page-list .book{border-left:5px solid #009688}.page-list .meta{margin-top:-16px;font-size:.95em}.page-list .meta span{margin-right:12px}.chapter-toggle{margin:0 0 24px;transition:all ease-in-out 180ms;-webkit-user-select:none;-ms-user-select:none;user-select:none}.chapter-toggle i.zmdi-caret-right{transition:all ease-in-out 180ms;transform:rotate(0);transform-origin:25% 50%}.chapter-toggle.open{margin-bottom:0}.chapter-toggle.open i.zmdi-caret-right{transform:rotate(90deg)}.page-nav-list{margin-left:2px;list-style:none}.page-nav-list li{padding-left:6px;border-left:2px solid #888;margin-bottom:4px}.page-nav-list li a{color:#555}.page-nav-list .nav-H2{margin-left:12px;font-size:.95em}.page-nav-list .nav-H3{margin-left:24px;font-size:.9em}.page-nav-list .nav-H4{margin-left:36px;font-size:.85em}.page-nav-list .nav-H5{margin-left:48px;font-size:.8em}.page-nav-list .nav-H6{margin-left:60px;font-size:.75em}.book-tree{padding:24px 0 0;position:relative;right:0;top:0;transition:ease-in-out 240ms;transition-property:right,border;border-left:0 solid #FFF;background-color:#FFF}.book-tree.fixed{position:fixed;top:0;padding-left:24px;padding-right:39px;width:30%;right:-15px;height:100%;overflow-y:scroll;-ms-overflow-style:none;border-left:1px solid #DDD}.book-tree.fixed::-webkit-scrollbar{width:0!important}.book-tree h4{padding:16px 12px 0}.book-tree h4 i{padding-right:12px}.book-tree .sidebar-page-list{list-style:none;margin:6px 0 0;padding-left:0;border-left:5px solid #009688}.book-tree .sidebar-page-list li a{display:block;border-bottom:none;padding:6px 0 6px 12px}.book-tree .sidebar-page-list li a i{padding-right:8px}.book-tree .sidebar-page-list a,.book-tree .sidebar-page-list li{display:block}.book-tree .sidebar-page-list a.bold{color:#EEE!important}.book-tree .sidebar-page-list ul{list-style:none;margin:0}.book-tree .sidebar-page-list .book{color:#009688!important}.book-tree .sidebar-page-list .book.selected{background-color:rgba(0,150,136,.29)}.book-tree .sidebar-page-list .chapter{color:#ef7c3c!important}.book-tree .sidebar-page-list .chapter.selected{background-color:rgba(239,124,60,.12)}.book-tree .sidebar-page-list .chapter-toggle{padding-left:12px}.book-tree .sidebar-page-list .list-item-chapter{border-left:5px solid #ef7c3c;margin:10px;display:block}.book-tree .sidebar-page-list .list-item-page{border-bottom:none;border-left:5px solid #0288D1;margin:10px}.book-tree .sidebar-page-list .page{color:#0288D1!important;border-bottom:none}.book-tree .sidebar-page-list .page.selected{background-color:rgba(2,136,209,.1)}.book-tree .sidebar-page-list .list-item-page.draft{border-left:5px solid #9A60DA}.book-tree .sidebar-page-list .list-item-page.draft a.page,.book-tree .sidebar-page-list .page.draft .page{color:#9A60DA!important}.book-tree .sidebar-page-list .sub-menu{display:none;padding-left:0}.book-tree .sidebar-page-list .sub-menu.open{display:block}.sortable-page-list,.sortable-page-list ul{list-style:none;background-color:#FFF}.sort-box{margin-bottom:16px;padding:0 24px;border-left:4px solid #009688}.sortable-page-list,.sortable-page-list>ul{margin-left:0}.sortable-page-list ul{margin-bottom:0;margin-top:0;box-shadow:0 0 1px 0 rgba(0,0,0,.1)}.sortable-page-list li{border:1px solid #DDD;padding:6px 12px;margin-top:-1px;min-height:38px}.sortable-page-list li.text-chapter{border-left:2px solid #ef7c3c}.sortable-page-list li.text-page{border-left:2px solid #0288D1}.sortable-page-list li:first-child{margin-top:6px}.sortable-page-list li.placeholder{position:relative}.sortable-page-list li.placeholder:before{position:absolute}.activity-list-item{padding:12px 0;color:#888;border-bottom:1px solid #EEE;font-size:.9em}.activity-list-item .left+.right{margin-left:42px}ul.pagination{display:inline-block;list-style:none;margin:16px 0;padding-left:1px}ul.pagination li:first-child a,ul.pagination li:first-child span{border-radius:3px 0 0 3px}ul.pagination li:last-child a,ul.pagination li:last-child span{border-radius:0 3px 3px 0}ul.pagination a,ul.pagination span{display:block;padding:3px 12px;border:1px solid #CCC;margin-left:-1px;color:#888;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.compact ul.pagination,.entity-list h3{margin:0}ul.pagination a.disabled,ul.pagination span.disabled{cursor:not-allowed}ul.pagination li.active span{background-color:rgba(2,136,209,.8);color:#EEE;border-color:rgba(2,136,209,.8)}ul.pagination a{color:#0288D1}.entity-list>div{padding:16px 0}.entity-list p{margin:6px 0 0}.entity-list hr{margin:0}.entity-list .text-small.text-muted{color:#AAA;font-size:.75em;margin-top:6px}.entity-list .page.draft .text-page{color:#9A60DA}.entity-list.compact{font-size:.6em}.entity-list.compact a,.entity-list.compact h3{line-height:1.2}.entity-list.compact p{display:none;font-size:12px;padding-top:6px;margin:0}.entity-list.compact>p.empty-text{display:block;font-size:15px}.entity-list.compact hr{margin:0}.dropdown-container{display:inline-block;position:relative}.dropdown-container ul{display:none;position:absolute;z-index:999;top:0;list-style:none;right:0;margin:16px 0;background-color:#FFF;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border-radius:1px;border:1px solid #EEE;min-width:180px;padding:6px 0;color:#555;text-align:left!important}.dropdown-container ul.wide{min-width:220px}.dropdown-container ul .text-muted{color:#999}.dropdown-container ul a{display:block;padding:6px 16px;color:#555}.dropdown-container ul a:hover{text-decoration:none;background-color:#EEE}.dropdown-container ul a i{margin-right:16px;padding-right:0;display:inline;width:22px}.dropdown-container ul li.border-bottom{border-bottom:1px solid #DDD}#page-show>.row .col-md-9{z-index:2}#page-show>.row .col-md-3{z-index:1}.page-editor{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}.page-editor .faded-small{height:auto}.page-editor .edit-area{-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column}.page-style.editor{padding:0!important}.page-content{max-width:840px;overflow-wrap:break-word}.page-content .align-left{text-align:left}.page-content img.align-left,.page-content table.align-left{float:left!important;margin:6px 12px 6px 0}.page-content .align-right{float:right!important}.page-content img.align-right,.page-content table.align-right{text-align:right;margin:6px 0 6px 12px}.page-content .align-center{text-align:center}.page-content img{max-width:100%;height:auto}.page-content .title-input input[type=text],.page-content h1,.page-content h2,.page-content h3,.page-content h4,.page-content h5,.page-content h6,.page-content pre,.title-input .page-content input[type=text]{clear:left}.page-content hr{clear:both;margin:16px 0}.page-content table{word-break:break-all;word-break:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto}.pointer-container{position:relative;display:none;left:0;z-index:10}.pointer,.pointer:before{position:absolute;background-color:#FFF}.pointer{border:1px solid #CCC;display:inline-block;padding:12px;border-radius:4px;box-shadow:0 0 8px 1px rgba(212,209,209,.35);top:-60px;width:272px;z-index:55}.pointer:before{left:50%;bottom:-9px;width:16px;height:16px;margin-left:-8px;display:block;transform:rotate(45deg);transform-origin:50% 50%;border-bottom:1px solid #CCC;border-right:1px solid #CCC;z-index:56}.pointer input{background-color:#FFF;border:1px solid #DDD;color:#666;width:172px;z-index:40}.pointer button,.pointer input{position:relative;border-radius:0;height:28px;font-size:12px;vertical-align:top}.pointer>i{color:#888;font-size:18px;padding-top:4px}.pointer .button{line-height:1;margin:0 0 0 -4px;box-shadow:none}.floating-toolbox{background-color:#FFF;border:1px solid #DDD;right:64px;z-index:99;width:48px;overflow:hidden;-ms-flex-align:stretch;align-items:stretch;-ms-flex-direction:row;flex-direction:row;display:-ms-flexbox;display:flex;transition:width ease-in-out 180ms;margin-top:-1px;min-height:0}.floating-toolbox.open{width:480px}.floating-toolbox [toolbox-toggle] i{transition:transform ease-in-out 180ms}.floating-toolbox [toolbox-toggle]{transition:background-color ease-in-out 180ms}.floating-toolbox.open [toolbox-toggle]{background-color:rgba(255,0,0,.29)}.floating-toolbox.open [toolbox-toggle] i{transform:rotate(180deg)}.floating-toolbox>div{-ms-flex:1;flex:1;position:relative}.floating-toolbox .tabs{display:block;border-right:1px solid #DDD;width:54px;-ms-flex:0;flex:0}.floating-toolbox .tabs i{color:rgba(0,0,0,.5);padding:0;margin:0}.floating-toolbox .tabs>span{display:block;cursor:pointer;padding:12px 16px;font-size:13.5px;line-height:1.6;border-bottom:1px solid rgba(255,255,255,.3)}.floating-toolbox.open .tabs>span.active{color:#444;background-color:rgba(0,0,0,.1)}.floating-toolbox div[tab-content]{padding-bottom:45px;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;min-height:0;overflow-y:scroll}.floating-toolbox div[tab-content] .padded{-ms-flex:1;flex:1;padding-top:0}.floating-toolbox h4{font-size:24px;margin:16px 0 0;padding:0 24px 12px}.floating-toolbox .tags input{max-width:100%;width:100%;min-width:50px}.floating-toolbox .tags td{padding-right:12px;padding-top:12px;position:relative}.floating-toolbox button.pos{position:absolute;bottom:0;display:block;width:100%;padding:12px;height:45px;border:0;margin:0;box-shadow:none;border-radius:0}.floating-toolbox button.pos:hover{box-shadow:none}.floating-toolbox .handle{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:move;color:#999}.floating-toolbox form{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;overflow-y:scroll}[tab-content]{display:none}.tag-display{margin:32px 6px;border:1px solid #DDD;min-width:180px;max-width:320px;opacity:.7;z-index:5;position:relative}.tag-display table{width:100%;margin:0;padding:0}.tag-display span{color:#666;margin-left:12px}.tag-display .heading,.tag-display td{padding:6px 12px;color:#444}.tag-display td{border:0;border-bottom:1px solid #DDD}.tag-display .tag-value,.tag-display td i{color:#888}.tag-display tr:last-child td{border-bottom:none}.tag-display .tag{padding:12px}.suggestion-box{position:absolute;background-color:#FFF;border:1px solid #BBB;box-shadow:0 0 4px 1px #CCC;list-style:none;z-index:100;padding:0;margin:0;border-radius:3px}.suggestion-box li{display:block;padding:6px 12px;border-bottom:1px solid #DDD}.suggestion-box li:last-child{border-bottom:0}.suggestion-box li.active{background-color:#EEE} \ No newline at end of file +*{box-sizing:border-box}html{background-color:#fff;height:100%;overflow-y:scroll}html.flexbox{overflow-y:hidden}body{font-family:Roboto,DejaVu Sans,Helvetica,Arial,sans-serif;font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}button{font-size:100%}table{min-width:100px}table td,table th{min-width:10px;padding:4px 6px;border:1px solid #ddd}.title-input input[type=text],h1{font-size:3.425em;line-height:1.22222222em;margin-top:.48888889em;margin-bottom:.48888889em}h2{font-size:2.8275em;line-height:1.294117647em;margin-top:.8627451em;margin-bottom:.43137255em}h3{font-size:1.75em;line-height:1.571428572em}h3,h4{margin-top:.78571429em;margin-bottom:.43137255em}h4{font-size:1em;line-height:1.375em}.title-input input[type=text],h1,h2,h3,h4{font-weight:400;position:relative;display:block;color:#555}.title-input input[type=text] .subheader,h1 .subheader,h2 .subheader,h3 .subheader,h4 .subheader{font-size:.5em;line-height:1em;color:#969696}.link,a{color:#0288d1;cursor:pointer;text-decoration:none;transition:color 80ms ease-in-out;font-family:Roboto,DejaVu Sans,Helvetica,Arial,sans-serif;line-height:1.6}.link:hover,a:hover{text-decoration:underline;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(90deg,#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;white-space:pre;font-size:.8em;overflow:hidden;border-radius:4px;box-shadow:0 1px 2px 0 hsla(0,0%,4%,.06);border:1px solid hsla(0,0%,87%,.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}pre code{background-color:transparent;border:0;font-size:1em}.text-pos,.text-pos:hover,p.pos,p .pos,p.pos:hover,p .pos:hover,span.pos,span.pos:hover{color:#52a256}.text-neg,.text-neg:hover,p.neg,p .neg,p.neg:hover,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,p.primary:hover,p .primary:hover,span.primary,span.primary:hover{color:#0288d1}.text-secondary,.text-secondary:hover,p.secondary,p .secondary,p.secondary:hover,p .secondary:hover,span.secondary,span.secondary:hover{color:#e27b41}.text-book,.text-book:hover{color:#009688}.text-page,.text-page:hover{color:#0288d1}.text-page.draft,.text-page.draft:hover{color:#9a60da}.text-chapter,.text-chapter:hover{color:#ef7c3c}.faded .text-book:hover{color:#009688!important}.faded .text-chapter:hover{color:#ef7c3c!important}.faded .text-page:hover{color:#0288d1!important}span.highlight{font-weight:700;padding:2px 4px}ul{list-style:disc}ol,ul{padding-left:20.8px;overflow:hidden}ol{list-style:decimal}.underlined{text-decoration:underline}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-bigger{font-size:1.1em}.text-large{font-size:1.6666em}.no-color{color:inherit}.header-group{margin:16px 0}.header-group .title-input input[type=text],.header-group h1,.header-group h2,.header-group h3,.header-group h4,.header-group h5,.header-group h6,.title-input .header-group input[type=text]{margin:0}span.sep{color:#bbb;padding:0 6px}.list>*{display:block}.action-header .title-input input[type=text],.action-header h1,.title-input .action-header input[type=text]{margin-top:16px}i{padding-right:6px}body.flexbox{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;height:100%;min-height:100%;max-height:100%;overflow:hidden}body.flexbox #content{-ms-flex:1;flex:1}.flex-fill,body.flexbox #content{display:-ms-flexbox;display:flex;min-height:0}.flex-fill{-ms-flex-align:stretch;align-items:stretch}.flex-fill.flex,.flex-fill .flex{min-height:0;-ms-flex:1;flex:1}div[class^=col-] img{max-width:100%}.container{max-width:1400px;margin-left:auto;margin-right:auto;padding-left:16px;padding-right:16px}.container.fluid{max-width:100%}.container.small{max-width:840px}.center-box{margin:32px auto 0;padding:16px 48px 64px;max-width:346px;display:inline-block;text-align:left;vertical-align:top}.center-box.login{background-color:#eee;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border:1px solid #ddd}.row{margin-left:-16px;margin-right:-16px}.float{float:left}.float.right{float:right}.block{display:block;position:relative}.inline{display:inline}.block.inline{display:inline-block}.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12,.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12,.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12,.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{position:relative;min-height:1px;padding-left:16px;padding-right:16px}.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{float:left}.col-xs-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-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12{float:left}.col-sm-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-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12{float:left}.col-md-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-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.row:after,.row:before{content:" ";display:table}.clearfix:after,.container-fluid:after,.container:after,.row:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.shaded{background-color:#f1f1f1}.shaded.pos{background-color:#d6ead7}.shaded.neg{background-color:#f4a9a9}.shaded.primary{background-color:#a1ddfe}.shaded.secondary{background-color:#f6d7c6}.bordered{border:1px solid #bbb}.bordered.pos{border-color:#52a256}.bordered.neg{border-color:#e84f4f}.bordered.primary{border-color:#0288d1}.bordered.secondary{border-color:#e27b41}.bordered.thick{border-width:2px}.rounded{border-radius:3px}.nopadding{padding:0}.padded{padding:24px}.padded.large{padding:32px}.padded>h1:first-child,.padded>h2:first-child,.padded>h3:first-child,.padded>h4:first-child,.title-input .padded>input[type=text]:first-child{margin-top:.1em}.padded-top,.padded-vertical{padding-top:16px}.padded-top.large,.padded-vertical.large{padding-top:32px}.padded-bottom,.padded-vertical{padding-bottom:16px}.padded-bottom.large,.padded-vertical.large{padding-bottom:32px}.padded-horizontal,.padded-left{padding-left:16px}.padded-horizontal.large,.padded-left.large{padding-left:32px}.padded-horizontal,.padded-right{padding-right:16px}.padded-horizontal.large,.padded-right.large{padding-right:32px}.margins{margin:24px}.margins.large{margin:32px}.margin-top,.margins-vertical{margin-top:16px}.margin-top.large,.margins-vertical.large{margin-top:32px}.margin-bottom,.margins-vertical{margin-bottom:16px}.margin-bottom.large,.margins-vertical.large{margin-bottom:32px}.margin-left,.margins-horizontal{margin-left:16px}.margin-left.large,.margins-horizontal.large{margin-left:32px}.margin-right,.margins-horizontal{margin-right:16px}.margin-right.large,.margins-horizontal.large{margin-right:32px}.callout{border-left:3px solid #bbb;background-color:#eee;padding:12px}.callout:before{font-family:Material-Design-Iconic-Font;padding-right:12px;display:inline-block}.callout.success{border-left-color:#52a256;background-color:#e7f3e7;color:#376c39}.callout.success:before{content:'\f269'}.callout.danger{border-left-color:#e84f4f;background-color:#fce8e8;color:#b91818}.callout.danger:before{content:'\f1f2'}.callout.info{border-left-color:#0288d1;background-color:#d3efff;color:#015380}.callout.info:before{content:'\f1f8'}.callout.warning{border-left-color:#e27b41;background-color:#faeae0;color:#b6531c}.callout.warning:before{content:'\f1f1'}.input-base,input[type=email],input[type=number],input[type=password],input[type=search],input[type=text],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=email],input.invalid[type=number],input.invalid[type=password],input.invalid[type=search],input.invalid[type=text],input.invalid[type=url],input.neg[type=email],input.neg[type=number],input.neg[type=password],input.neg[type=search],input.neg[type=text],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=email],input.pos[type=number],input.pos[type=password],input.pos[type=search],input.pos[type=text],input.pos[type=url],input.valid[type=email],input.valid[type=number],input.valid[type=password],input.valid[type=search],input.valid[type=text],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=email],input.disabled[type=number],input.disabled[type=password],input.disabled[type=search],input.disabled[type=text],input.disabled[type=url],input[disabled][type=email],input[disabled][type=number],input[disabled][type=password],input[disabled][type=search],input[disabled][type=text],input[disabled][type=url],select.disabled,select[disabled],textarea.disabled,textarea[disabled]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAMUlEQVQIW2NkwAGuXbv2nxGbHEhCS0uLEUMSJgHShCKJLIEiiS4Bl8QmAZbEJQGSBAC62BuJ+tt7zgAAAABJRU5ErkJggg==)}.input-base:focus,input[type=email]:focus,input[type=number]:focus,input[type=password]:focus,input[type=search]:focus,input[type=text]:focus,input[type=url]:focus,select:focus,textarea:focus{outline:0}#html-editor{display:none}#markdown-editor{position:relative;z-index:5}#markdown-editor textarea{font-family:Roboto Mono;font-style:normal;font-weight:400;padding:6px 16px;color:#444;border-radius:0;max-height:100%;-ms-flex:1;flex:1;border:0;width:100%}#markdown-editor textarea:focus{outline:0}#markdown-editor .markdown-display,#markdown-editor .markdown-editor-wrap{-ms-flex:1;flex:1;position:relative}#markdown-editor .markdown-editor-wrap{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;border:1px solid #ddd}#markdown-editor .markdown-display{padding:0 16px;margin-left:-1px;overflow-y:scroll}#markdown-editor .markdown-display .page-content{margin:0 auto}.editor-toolbar{width:100%;padding:6px 16px;font-family:Roboto Mono;font-size:11px;line-height:1.6;border-bottom:1px solid #ddd;background-color:#eee;-ms-flex:none;flex:none}.editor-toolbar:after{content:'';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}label.inline{display:inline-block}label.checkbox,label.radio{font-weight:400}label.checkbox input[type=checkbox],label.checkbox input[type=radio],label.radio input[type=checkbox],label.radio input[type=radio]{margin-right:6px}label+p.small{margin-bottom:.8em}.toggle-switch{display:inline-block;background-color:#bbb;width:36px;height:14px;border-radius:7px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.toggle-switch,.toggle-switch:after{position:relative;transition:all .12s ease-in-out}.toggle-switch:after{content:'';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 textarea{display:block;width:100%;min-height:64px}.form-group .text-neg,.form-group .text-pos{padding:6px 0}.description-input textarea,.inline-input-style,.title-input input[type=text]{border:2px dotted #bbb;display:block;width:100%;padding:6px 12px}.title-input .input{width:100%}.description-input label,.title-input label{margin-top:16px;color:#666}.title-input input[type=text]{margin-top:0;padding-right:0;width:100%;color:#444}.title-input.page-title{font-size:.8em}.title-input.page-title .input{border:0;margin-bottom:-1px}.title-input.page-title input[type=text]{max-width:840px;margin:0 auto;border:none}.page-title input{display:block;width:100%;font-size:1.4em}.description-input textarea{font-size:15px;color:#666;width:100%}.search-box,div[editor-type=markdown] .title-input.page-title input[type=text]{max-width:100%}.search-box{position:relative}.search-box button{background-color:transparent;border:none;color:#0288d1;padding:0;margin:0;cursor:pointer;margin-left:12px}.search-box button[type=submit]{margin-left:-24px}.search-box input{padding-right:24px;width:300px;max-width:100%}input.outline{border:0;border-bottom:2px solid #ddd;border-radius:0}input.outline:active,input.outline:focus{border:0;border-bottom:2px solid #aaa;outline:0}#login-form label[for=remember]{margin:0}#login-form label.toggle-switch{margin-left:32px}.image-picker img{background-color:#bbb}div[toggle-switch]{height:18px;width:150px}table.table{width:100%}table.table tr{border-bottom:1px solid #ddd}table.table td,table.table th{text-align:left;border:none;padding:6px;vertical-align:middle}table.table th{font-weight:700}table.table tr:hover{background-color:#eee}table{max-width:100%}table thead{background-color:#f8f8f8;font-weight:500}table.no-style td{border:0;padding:0}table.list-table{margin:-6px}table.list-table td{border:0;vertical-align:middle;padding:6px}header{display:block;z-index:2;top:0;background-color:#0288d1;color:#fff;border-bottom:1px solid #ddd}header .padded{padding:16px}header .links{display:inline-block;vertical-align:top;margin-right:32px}@media screen and (max-width:992px){header .links{margin-right:16px}}header .links a{display:inline-block;padding:24px;color:#fff}header .links a:last-child{padding-right:0}@media screen and (max-width:992px){header .links a{padding:24px 12px}}header .avatar,header .user-name{display:inline-block}header .avatar{width:30px;height:30px}header .user-name{padding-top:24px;display:inline-block;cursor:pointer}header .user-name,header .user-name>*{vertical-align:top}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}}@media screen and (max-width:992px){header{text-align:center}header .float.right{float:none}}@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;display:inline-block;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{vertical-align:top;margin-left:-24px;color:#fff;top:6px;right:4px;display:inline-block;position:absolute}form.search-box button:hover{color:#fff}.logo{display:inline-block}.logo:hover{color:#fff;text-decoration:none}.logo-text{display:inline-block;font-size:1.8em;color:#fff;font-weight:400;padding:24px 24px 24px 0;vertical-align:top;line-height:1}.logo-image{margin:16px 12px 16px 0;vertical-align:top;height:43px}.breadcrumbs span.sep{color:#aaa;padding:0 6px}.faded a,.faded button,.faded span,.faded span>div{color:#666}.faded .text-button{opacity:.5;transition:all .12s ease-in-out}.faded .text-button:hover{opacity:1;text-decoration:none}.faded span.faded-text{display:inline-block;padding:12px}.faded-small{color:#000;font-size:.9em;background-color:rgba(21,101,192,.15)}.action-buttons .text-button,.breadcrumbs .text-button{display:inline-block;padding:12px}.action-buttons .text-button:last-child,.breadcrumbs .text-button:last-child{padding-right:0}.action-buttons{text-align:right}.action-buttons.text-left{text-align:left}.action-buttons.text-left .text-button{padding-right:16px;padding-left:0}.action-buttons.text-center,.nav-tabs{text-align:center}.nav-tabs .tab-item,.nav-tabs a{padding:16px;display:inline-block;color:#666;cursor:pointer}.nav-tabs .tab-item.selected,.nav-tabs a.selected{border-bottom:2px solid #0288d1}.page-list h3{margin:24px 0 6px;font-size:1.666em}.page-list a.chapter{color:#ef7c3c}.page-list .inset-list{display:none;overflow:hidden;margin-bottom:24px}.page-list h4{display:block;margin:12px 0 0;border-left:5px solid #0288d1;padding:6px 0 6px 16px}.page-list h4.draft{border-left-color:#9a60da}.page-list hr{margin-top:0}.page-list .book,.page-list .chapter,.page-list .page{padding-left:24px}.page-list .page{border-left:5px solid #0288d1}.page-list .page.draft{border-left:5px solid #9a60da}.page-list .page.draft .text-page{color:#9a60da}.page-list .chapter{border-left:5px solid #ef7c3c}.page-list .book{border-left:5px solid #009688}.page-list .meta{margin-top:-16px;font-size:.95em}.page-list .meta span{margin-right:12px}.chapter-toggle{cursor:pointer;margin:0 0 24px;transition:all .18s ease-in-out;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.chapter-toggle i.zmdi-caret-right{transition:all .18s ease-in-out;transform:rotate(0deg);transform-origin:25% 50%}.chapter-toggle.open{margin-bottom:0}.chapter-toggle.open i.zmdi-caret-right{transform:rotate(90deg)}.page-nav-list{margin-left:2px;list-style:none}.page-nav-list li{padding-left:6px;border-left:2px solid #888;margin-bottom:4px}.page-nav-list li a{color:#555}.page-nav-list .nav-H2{margin-left:12px;font-size:.95em}.page-nav-list .nav-H3{margin-left:24px;font-size:.9em}.page-nav-list .nav-H4{margin-left:36px;font-size:.85em}.page-nav-list .nav-H5{margin-left:48px;font-size:.8em}.page-nav-list .nav-H6{margin-left:60px;font-size:.75em}.book-tree{padding:24px 0 0;position:relative;right:0;top:0;transition:.24s ease-in-out;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:hover{text-decoration:none}.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{float:left}.activity-list-item .left+.right{margin-left:42px}ul.pagination{display:inline-block;list-style:none;margin:16px 0;padding-left:1px}ul.pagination li{float:left}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}.compact ul.pagination{margin:0}.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>p.empty-text{display:block;font-size:15px}.entity-list.compact hr{margin:0}.dropdown-container{display:inline-block;vertical-align:top;position:relative}.dropdown-container ul{display:none;position:absolute;z-index:999;top:0;list-style:none;right:0;margin:16px 0;background-color:#fff;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border-radius:1px;border:1px solid #eee;min-width:180px;padding:6px 0;color:#555;text-align:left!important}.dropdown-container ul.wide{min-width:220px}.dropdown-container ul .text-muted{color:#999}.dropdown-container ul a{display:block;padding:6px 16px;color:#555}.dropdown-container ul a:hover{text-decoration:none;background-color:#eee}.dropdown-container ul a i{margin-right:16px;padding-right:0;display:inline;width:22px}.dropdown-container ul li.border-bottom{border-bottom:1px solid #ddd}#page-show>.row .col-md-9{z-index:2}#page-show>.row .col-md-3{z-index:1}.page-editor{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}.page-editor .faded-small{height:auto}.page-editor .edit-area{-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column}.page-style.editor{padding:0!important}.page-content{max-width:840px;overflow-wrap:break-word}.page-content .align-left{text-align:left}.page-content img.align-left,.page-content table.align-left{float:left!important;margin:6px 12px 6px 0}.page-content .align-right{float:right!important}.page-content img.align-right,.page-content table.align-right{text-align:right;margin:6px 0 6px 12px}.page-content .align-center{text-align:center}.page-content img{max-width:100%;height:auto}.page-content .title-input input[type=text],.page-content h1,.page-content h2,.page-content h3,.page-content h4,.page-content h5,.page-content h6,.page-content pre,.title-input .page-content input[type=text]{clear:left}.page-content hr{clear:both;margin:16px 0}.page-content table{word-break:break-all;word-break:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto}.pointer-container{position:relative;display:none;left:0;z-index:10}.pointer{border:1px solid #ccc;display:inline-block;padding:12px;border-radius:4px;box-shadow:0 0 8px 1px hsla(0,3%,83%,.35);top:-60px;width:272px;z-index:55}.pointer,.pointer:before{position:absolute;background-color:#fff}.pointer:before{left:50%;bottom:-9px;width:16px;height:16px;margin-left:-8px;content:'';display:block;transform:rotate(45deg);transform-origin:50% 50%;border-bottom:1px solid #ccc;border-right:1px solid #ccc;z-index:56}.pointer input{background-color:#fff;border:1px solid #ddd;color:#666;width:172px;z-index:40}.pointer button,.pointer input{position:relative;border-radius:0;height:28px;font-size:12px;vertical-align:top}.pointer>i{color:#888;font-size:18px;padding-top:4px}.pointer .button{line-height:1;margin:0 0 0 -4px;box-shadow:none}.floating-toolbox{background-color:#fff;border:1px solid #ddd;right:64px;z-index:99;width:48px;overflow:hidden;-ms-flex-align:stretch;align-items:stretch;-ms-flex-direction:row;flex-direction:row;display:-ms-flexbox;display:flex;transition:width .18s ease-in-out;margin-top:-1px;min-height:0}.floating-toolbox.open{width:480px}.floating-toolbox [toolbox-toggle] i{transition:transform .18s ease-in-out}.floating-toolbox [toolbox-toggle]{transition:background-color .18s ease-in-out}.floating-toolbox.open [toolbox-toggle]{background-color:rgba(255,0,0,.29)}.floating-toolbox.open [toolbox-toggle] i{transform:rotate(180deg)}.floating-toolbox>div{-ms-flex:1;flex:1;position:relative}.floating-toolbox .tabs{display:block;border-right:1px solid #ddd;width:48px;-ms-flex:0 1 auto;flex:0 1 auto}.floating-toolbox .tabs i{color:rgba(0,0,0,.5);padding:0;margin:0}.floating-toolbox .tabs>span{display:block;cursor:pointer;padding:12px 16px;font-size:13.5px;line-height:1.6;border-bottom:1px solid hsla(0,0%,100%,.3)}.floating-toolbox.open .tabs>span.active{color:#444;background-color:rgba(0,0,0,.1)}.floating-toolbox div[tab-content]{padding-bottom:45px;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;min-height:0;overflow-y:scroll}.floating-toolbox div[tab-content] .padded{-ms-flex:1;flex:1;padding-top:0}.floating-toolbox h4{font-size:24px;margin:16px 0 0;padding:0 24px 12px}.floating-toolbox .tags input{max-width:100%;width:100%;min-width:50px}.floating-toolbox .tags td{padding-right:12px;padding-top:12px;position:relative}.floating-toolbox button.pos{position:absolute;bottom:0;display:block;width:100%;padding:12px;height:45px;border:0;margin:0;box-shadow:none;border-radius:0}.floating-toolbox button.pos:hover{box-shadow:none}.floating-toolbox .handle{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:move;color:#999}.floating-toolbox form{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;overflow-y:scroll}[tab-content]{display:none}.tag-display{margin:32px 6px;border:1px solid #ddd;min-width:180px;max-width:320px;opacity:.7;z-index:5;position:relative}.tag-display table{width:100%;margin:0;padding:0}.tag-display span{color:#666;margin-left:12px}.tag-display .heading,.tag-display td{padding:6px 12px;color:#444}.tag-display td{border:0;border-bottom:1px solid #ddd}.tag-display .tag-value,.tag-display td i{color:#888}.tag-display tr:last-child td{border-bottom:none}.tag-display .tag{padding:12px}.suggestion-box{position:absolute;background-color:#fff;border:1px solid #bbb;box-shadow:0 0 4px 1px #ccc;list-style:none;z-index:100;padding:0;margin:0;border-radius:3px}.suggestion-box li{display:block;padding:6px 12px;border-bottom:1px solid #ddd}.suggestion-box li:last-child{border-bottom:0}.suggestion-box li.active{background-color:#eee}table{border-spacing:0;border-collapse:collapse} \ No newline at end of file diff --git a/public/css/print-styles.css b/public/css/print-styles.css index 0f8d8aaa3ce..881bd008600 100644 --- a/public/css/print-styles.css +++ b/public/css/print-styles.css @@ -1 +1 @@ -.faded-small,.print-hidden,header{display:none}body{font-size:12px}.page-content{margin:0 auto}.print-full-width{width:100%;float:none;display:block}h2{font-size:2em;line-height:1;margin-top:.6em;margin-bottom:.3em} \ No newline at end of file +header{display:none}body{font-size:12px}.faded-small{display:none}.page-content{margin:0 auto}.print-hidden{display:none}.print-full-width{width:100%;float:none;display:block}h2{font-size:2em;line-height:1;margin-top:.6em;margin-bottom:.3em} \ No newline at end of file diff --git a/public/css/styles.css b/public/css/styles.css index eb75936ebc4..13b67ecbc5c 100644 --- a/public/css/styles.css +++ b/public/css/styles.css @@ -1 +1 @@ -article,aside,blockquote,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}code,pre{white-space:pre}.chapter-toggle,.toggle-switch{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;cursor:pointer}.anim.fadeIn,.anim.notification,.anim.searchResult{animation-fill-mode:forwards}*,.dropzone,.dropzone *{box-sizing:border-box}.title-input input[type=text],a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{margin:0;padding:0;border:0;font:inherit;vertical-align:baseline}.link,.text-button,a,body{font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:'';content:none}table{border-collapse:collapse;border-spacing:0}@font-face{font-family:Roboto;font-style:normal;font-weight:100;src:local("Roboto Thin"),local("Roboto-Thin"),url(/fonts/roboto-v15-cyrillic_latin-100.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-100.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:100;src:local("Roboto Thin Italic"),local("Roboto-ThinItalic"),url(/fonts/roboto-v15-cyrillic_latin-100italic.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-100italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:300;src:local("Roboto Light"),local("Roboto-Light"),url(/fonts/roboto-v15-cyrillic_latin-300.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-300.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:300;src:local("Roboto Light Italic"),local("Roboto-LightItalic"),url(/fonts/roboto-v15-cyrillic_latin-300italic.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-300italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:local("Roboto"),local("Roboto-Regular"),url(/fonts/roboto-v15-cyrillic_latin-regular.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-regular.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:400;src:local("Roboto Italic"),local("Roboto-Italic"),url(/fonts/roboto-v15-cyrillic_latin-italic.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:500;src:local("Roboto Medium"),local("Roboto-Medium"),url(/fonts/roboto-v15-cyrillic_latin-500.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-500.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:500;src:local("Roboto Medium Italic"),local("Roboto-MediumItalic"),url(/fonts/roboto-v15-cyrillic_latin-500italic.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-500italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:700;src:local("Roboto Bold"),local("Roboto-Bold"),url(/fonts/roboto-v15-cyrillic_latin-700.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-700.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:700;src:local("Roboto Bold Italic"),local("Roboto-BoldItalic"),url(/fonts/roboto-v15-cyrillic_latin-700italic.woff2) format("woff2"),url(/fonts/roboto-v15-cyrillic_latin-700italic.woff) format("woff")}@font-face{font-family:'Roboto Mono';font-style:normal;font-weight:400;src:local("Roboto Mono"),local("RobotoMono-Regular"),url(/fonts/roboto-mono-v4-latin-regular.woff2) format("woff2"),url(/fonts/roboto-mono-v4-latin-regular.woff) format("woff")}html{background-color:#FFF;height:100%;overflow-y:scroll}html.flexbox{overflow-y:hidden}body{font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}button{font-size:100%}table td{min-width:10px;padding:4px 6px;border:1px solid #DDD}.title-input input[type=text],h1{font-size:3.425em;line-height:1.22222222em;margin-top:.48888889em;margin-bottom:.48888889em}h3,h4{margin-top:.78571429em}h2,h3,h4{margin-bottom:.43137255em}h2{font-size:2.8275em;line-height:1.294117647em;margin-top:.8627451em}h3{font-size:1.75em;line-height:1.571428572em}h4{font-size:1em;line-height:1.375em}.title-input input[type=text],h1,h2,h3,h4{font-weight:400;position:relative;display:block;color:#555}.title-input input[type=text] .subheader,h1 .subheader,h2 .subheader,h3 .subheader,h4 .subheader{font-size:.5em;line-height:1em;color:#969696}.link,.text-button,a{color:#0288D1;cursor:pointer;text-decoration:none;transition:color ease-in-out 80ms;line-height:1.6}.link:hover,.text-button:hover,a:hover{text-decoration:underline;color:#01466c}.link i,.text-button i,a i{padding-right:12px}.link i.zmdi-hc-flip-horizontal,.text-button i.zmdi-hc-flip-horizontal,a i.zmdi-hc-flip-horizontal{padding-right:0;padding-left:12px}blockquote,ol,p,pre,table,ul{margin-top:.3em;margin-bottom:1.375em}hr{height:1px;border:0;background:#EAEAEA;margin-bottom:24px}hr.faded{background-image:linear-gradient(to right,#fff,#e3e0e0 20%,#e3e0e0 80%,#fff)}hr.even,hr.margin-top{margin-top:24px}.bold,.strong,b,strong{font-weight:700}.bold>.bold,.bold>.strong,.bold>b,.bold>strong,.strong>.bold,.strong>.strong,.strong>b,.strong>strong,b>.bold,b>.strong,b>b,b>strong,strong>.bold,strong>.strong,strong>b,strong>strong{font-weight:bolder}.italic,em,i{font-style:italic}.text-small,p.small,small,span.small{font-size:.8em;color:#777}.superscript,sup{vertical-align:super;font-size:.8em}pre{font-family:monospace;font-size:.8em;overflow:hidden;border-radius:4px;box-shadow:0 1px 2px 0 rgba(10,10,10,.06);border:1px solid rgba(221,221,221,.66);background-color:#fdf6e3;padding:12px;overflow-x:scroll}blockquote{position:relative;border-left:4px solid #0288D1;background-color:#F8F8F8;padding:12px 16px 12px 32px}blockquote:before{content:"\201C";font-size:2em;font-weight:700;position:absolute;top:12px;left:12px;color:#777}.code-base,code,span.code{background-color:#F8F8F8;font-family:monospace;font-size:.8em;border:1px solid #DDD;border-radius:3px}code{display:inline;padding:1px 3px;line-height:1.2em;margin-bottom:1.2em}span.code{padding:1px 6px}pre code{background-color:transparent;border:0;font-size:1em}.text-pos,.text-pos:hover,p .pos,p .pos:hover,p.pos,p.pos:hover,span.pos,span.pos:hover{color:#52A256}.text-neg,.text-neg:hover,p .neg,p .neg:hover,p.neg,p.neg:hover,span.neg,span.neg:hover{color:#E84F4F}.text-muted,p .muted,p.muted,span.muted{color:#868686}.text-muted .small,.text-muted.small,p .muted .small,p .muted.small,p.muted .small,p.muted.small,span.muted .small,span.muted.small{color:#afafaf}.text-primary,.text-primary:hover,p .primary,p .primary:hover,p.primary,p.primary:hover,span.primary,span.primary:hover{color:#0288D1}.text-secondary,.text-secondary:hover,p .secondary,p .secondary:hover,p.secondary,p.secondary:hover,span.secondary,span.secondary:hover{color:#e27b41}.text-book,.text-book:hover{color:#009688}.text-page,.text-page:hover{color:#0288D1}.text-page.draft,.text-page.draft:hover{color:#9A60DA}.text-chapter,.text-chapter:hover{color:#ef7c3c}.faded .text-book:hover{color:#009688!important}.faded .text-chapter:hover{color:#ef7c3c!important}.faded .text-page:hover{color:#0288D1!important}span.highlight{font-weight:700;padding:2px 4px}ol,ul{padding-left:20.8px;overflow:hidden}ul{list-style:disc}ol{list-style:decimal}.underlined{text-decoration:underline}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-bigger{font-size:1.1em}.text-large{font-size:1.6666em}.no-color{color:inherit}.header-group{margin:16px 0}.header-group .title-input input[type=text],.header-group h1,.header-group h2,.header-group h3,.header-group h4,.header-group h5,.header-group h6,.title-input .header-group input[type=text]{margin:0}span.sep{color:#BBB;padding:0 6px}.list>*{display:block}.action-header .title-input input[type=text],.action-header h1,.title-input .action-header input[type=text]{margin-top:16px}i{padding-right:6px}body.flexbox{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;height:100%;min-height:100%;max-height:100%;overflow:hidden}body.flexbox #content{-ms-flex:1;flex:1;display:-ms-flexbox;display:flex;min-height:0}.flex-fill{display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch;min-height:0}.flex-fill .flex,.flex-fill.flex{min-height:0;-ms-flex:1;flex:1}div[class^=col-] img{max-width:100%}.container{max-width:1400px;margin-left:auto;margin-right:auto;padding-left:16px;padding-right:16px}.container.fluid{max-width:100%}.container.small{max-width:840px}.center-box{margin:32px auto 0;padding:16px 48px 64px;max-width:346px;display:inline-block;text-align:left;vertical-align:top}.center-box.login{background-color:#EEE;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border:1px solid #DDD}.row{margin-left:-16px;margin-right:-16px}.float{float:left}.float.right{float:right}.block{display:block;position:relative}.inline{display:inline}.block.inline{display:inline-block}.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{position:relative;min-height:1px;padding-left:16px;padding-right:16px}.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.row:after,.row:before{content:" ";display:table}.clearfix:after,.container-fluid:after,.container:after,.row:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.shaded{background-color:#f1f1f1}.shaded.pos{background-color:#d6ead7}.shaded.neg{background-color:#f4a9a9}.shaded.primary{background-color:#a1ddfe}.shaded.secondary{background-color:#f6d7c6}.bordered{border:1px solid #BBB}.bordered.pos{border-color:#52A256}.bordered.neg{border-color:#E84F4F}.bordered.primary{border-color:#0288D1}.bordered.secondary{border-color:#e27b41}.bordered.thick{border-width:2px}.rounded{border-radius:3px}.nopadding{padding:0}.padded{padding:24px}.padded.large{padding:32px}.padded>h1:first-child,.padded>h2:first-child,.padded>h3:first-child,.padded>h4:first-child,.title-input .padded>input[type=text]:first-child{margin-top:.1em}.padded-top,.padded-vertical{padding-top:16px}.padded-top.large,.padded-vertical.large{padding-top:32px}.padded-bottom,.padded-vertical{padding-bottom:16px}.padded-bottom.large,.padded-vertical.large{padding-bottom:32px}.padded-horizontal,.padded-left{padding-left:16px}.padded-horizontal.large,.padded-left.large{padding-left:32px}.padded-horizontal,.padded-right{padding-right:16px}.padded-horizontal.large,.padded-right.large{padding-right:32px}.margins{margin:24px}.margins.large{margin:32px}.margin-top,.margins-vertical{margin-top:16px}.margin-top.large,.margins-vertical.large{margin-top:32px}.margin-bottom,.margins-vertical{margin-bottom:16px}.margin-bottom.large,.margins-vertical.large{margin-bottom:32px}.margin-left,.margins-horizontal{margin-left:16px}.margin-left.large,.margins-horizontal.large{margin-left:32px}.margin-right,.margins-horizontal{margin-right:16px}.margin-right.large,.margins-horizontal.large,header .links{margin-right:32px}.callout{border-left:3px solid #BBB;background-color:#EEE;padding:12px}.callout:before{font-family:Material-Design-Iconic-Font;padding-right:12px;display:inline-block}.callout.success{border-left-color:#52A256;background-color:#e7f3e7;color:#376c39}.callout.success:before{content:'\f269'}.callout.danger{border-left-color:#E84F4F;background-color:#fce8e8;color:#b91818}.callout.danger:before{content:'\f1f2'}.callout.info{border-left-color:#0288D1;background-color:#d3efff;color:#015380}.callout.info:before{content:'\f1f8'}.callout.warning{border-left-color:#e27b41;background-color:#faeae0;color:#b6531c}.callout.warning:before{content:'\f1f1'}.button-group:after,.dz-preview .dz-error-message:after,.editor-toolbar:after,.pointer:before,.toggle-switch:after{content:''}.button,.button-base,input[type=button],input[type=submit]{text-decoration:none;font-size:15px;line-height:1.4em;padding:6px 16px;margin:6px 6px 6px 0;display:inline-block;border:none;font-weight:500;font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif;outline:0;border-radius:2px;cursor:pointer;transition:all ease-in-out 120ms;box-shadow:0 .5px 1.5px 0 rgba(0,0,0,.21);background-color:#0288D1;color:#EEE}.button-base:hover,.button:hover,input[type=button]:hover,input[type=submit]:hover{background-color:#02a2f9;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#EEE}.button-base:active,.button:active,input[type=button]:active,input[type=submit]:active{background-color:#026ea9}.button-base:focus,.button:focus,input[type=button]:focus,input[type=submit]:focus{background-color:#0295e5;box-shadow:0 0 4px 1px #CCC;text-decoration:none;color:#EEE}.button.pos,input[type=button].pos,input[type=submit].pos{background-color:#52A256;color:#EEE}.button.pos:hover,input[type=button].pos:hover,input[type=submit].pos:hover{background-color:#69b36d;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#EEE}.button.pos:active,input[type=button].pos:active,input[type=submit].pos:active{background-color:#448748}.button.pos:focus,input[type=button].pos:focus,input[type=submit].pos:focus{background-color:#5cac60;box-shadow:0 0 4px 1px #CCC;text-decoration:none;color:#EEE}.button.neg,input[type=button].neg,input[type=submit].neg{background-color:#E84F4F;color:#EEE}.button.neg:hover,input[type=button].neg:hover,input[type=submit].neg:hover{background-color:#ed7373;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#EEE}.button.neg:active,input[type=button].neg:active,input[type=submit].neg:active{background-color:#e32b2b}.button.neg:focus,input[type=button].neg:focus,input[type=submit].neg:focus{background-color:#ea6161;box-shadow:0 0 4px 1px #CCC;text-decoration:none;color:#EEE}.button.secondary,input[type=button].secondary,input[type=submit].secondary{background-color:#e27b41;color:#EEE}.button.secondary:hover,input[type=button].secondary:hover,input[type=submit].secondary:hover{background-color:#e79464;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#EEE}.button.secondary:active,input[type=button].secondary:active,input[type=submit].secondary:active{background-color:#d96321}.button.secondary:focus,input[type=button].secondary:focus,input[type=submit].secondary:focus{background-color:#e58753;box-shadow:0 0 4px 1px #CCC;text-decoration:none;color:#EEE}.button.muted,input[type=button].muted,input[type=submit].muted{background-color:#888;color:#EEE}.button.muted:hover,input[type=button].muted:hover,input[type=submit].muted:hover{background-color:#9c9c9c;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#EEE}.button.muted:active,input[type=button].muted:active,input[type=submit].muted:active{background-color:#747474}.button.muted:focus,input[type=button].muted:focus,input[type=submit].muted:focus{background-color:#929292;box-shadow:0 0 4px 1px #CCC;text-decoration:none;color:#EEE}.text-button{background-color:transparent;padding:0;margin:0;border:none}.text-button:active,.text-button:focus{outline:0}.text-button:hover{text-decoration:none}.text-button.neg{color:#E84F4F}.button-group:after{display:block;font-size:0;clear:both;position:relative}.button-group .button,.button-group button[type=button]{margin:6px 0;float:left;border-radius:0}.button-group .button:first-child,.button-group button[type=button]:first-child{border-radius:2px 0 0 2px}.button-group .button:last-child,.button-group button[type=button]:last-child{border-radius:0 2px 2px 0}.button.block{width:100%;text-align:center;display:block}.button.icon i{padding-right:0}.input-base,input[type=text],input[type=number],input[type=email],input[type=search],input[type=url],input[type=password],select,textarea{background-color:#FFF;border-radius:3px;border:1px solid #CCC;display:inline-block;font-size:14px;font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif;padding:6px;color:#222;width:250px;max-width:100%}#markdown-editor textarea,.editor-toolbar{width:100%;font-family:'Roboto Mono'}.input-base.invalid,.input-base.neg,input.invalid[type=text],input.invalid[type=number],input.invalid[type=email],input.invalid[type=search],input.invalid[type=url],input.invalid[type=password],input.neg[type=text],input.neg[type=number],input.neg[type=email],input.neg[type=search],input.neg[type=url],input.neg[type=password],select.invalid,select.neg,textarea.invalid,textarea.neg{border:1px solid #E84F4F}.input-base.pos,.input-base.valid,input.pos[type=text],input.pos[type=number],input.pos[type=email],input.pos[type=search],input.pos[type=url],input.pos[type=password],input.valid[type=text],input.valid[type=number],input.valid[type=email],input.valid[type=search],input.valid[type=url],input.valid[type=password],select.pos,select.valid,textarea.pos,textarea.valid{border:1px solid #52A256}.input-base.disabled,.input-base[disabled],input.disabled[type=text],input.disabled[type=number],input.disabled[type=email],input.disabled[type=search],input.disabled[type=url],input.disabled[type=password],input[disabled][type=text],input[disabled][type=number],input[disabled][type=email],input[disabled][type=search],input[disabled][type=url],input[disabled][type=password],select.disabled,select[disabled],textarea.disabled,textarea[disabled]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAMUlEQVQIW2NkwAGuXbv2nxGbHEhCS0uLEUMSJgHShCKJLIEiiS4Bl8QmAZbEJQGSBAC62BuJ+tt7zgAAAABJRU5ErkJggg==)}.input-base:focus,input[type=text]:focus,input[type=number]:focus,input[type=email]:focus,input[type=search]:focus,input[type=url]:focus,input[type=password]:focus,select:focus,textarea:focus{outline:0}#html-editor{display:none}#markdown-editor{position:relative;z-index:5}#markdown-editor textarea{font-style:normal;font-weight:400;padding:6px 16px;color:#444;border-radius:0;max-height:100%;-ms-flex:1;flex:1;border:0}#markdown-editor textarea:focus{outline:0}#markdown-editor .markdown-display,#markdown-editor .markdown-editor-wrap{-ms-flex:1;flex:1;position:relative}#markdown-editor .markdown-editor-wrap{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;border:1px solid #DDD}#markdown-editor .markdown-display{padding:0 16px;margin-left:-1px;overflow-y:scroll}#markdown-editor .markdown-display .page-content{margin:0 auto}.editor-toolbar{padding:6px 16px;font-size:11px;line-height:1.6;border-bottom:1px solid #DDD;background-color:#EEE;-ms-flex:none;flex:none}.editor-toolbar:after{display:block;clear:both}label{display:block;line-height:1.4em;font-size:.94em;font-weight:500;color:#666;padding-bottom:2px;margin-bottom:.2em}.toggle-switch,label.inline{display:inline-block}label.checkbox,label.radio{font-weight:400}label.checkbox input[type=radio],label.checkbox input[type=checkbox],label.radio input[type=radio],label.radio input[type=checkbox]{margin-right:6px}label+p.small{margin-bottom:.8em}.toggle-switch{background-color:#BBB;width:36px;height:14px;border-radius:7px;position:relative;transition:all ease-in-out 120ms;user-select:none}.toggle-switch:after{display:block;position:relative;left:0;margin-top:-3px;width:20px;height:20px;border-radius:50%;background-color:#fafafa;border:1px solid #CCC;box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);transition:all ease-in-out 120ms}.toggle-switch.active{background-color:rgba(82,162,86,.4)}.toggle-switch.active:after{left:16px;background-color:#52A256;border:#305e32}.toggle-switch-checkbox{display:none}input:checked+.toggle-switch{background-color:rgba(82,162,86,.4)}input:checked+.toggle-switch:after{left:16px;background-color:#52A256;border:#305e32}.form-group{margin-bottom:12px}.form-group textarea{display:block;width:100%;min-height:64px}.form-group .text-neg,.form-group .text-pos{padding:6px 0}.description-input textarea,.inline-input-style,.title-input input[type=text]{border:2px dotted #BBB;display:block;width:100%;padding:6px 12px}.title-input .input{width:100%}.description-input label,.title-input label{margin-top:16px;color:#666}.title-input input[type=text]{margin-top:0;padding-right:0;width:100%;color:#444}.title-input.page-title{font-size:.8em}.title-input.page-title .input{border:0;margin-bottom:-1px}.title-input.page-title input[type=text]{max-width:840px;margin:0 auto;border:none}.page-title input{display:block;width:100%;font-size:1.4em}.description-input textarea{font-size:15px;color:#666;width:100%}div[editor-type=markdown] .title-input.page-title input[type=text]{max-width:100%}.search-box{max-width:100%;position:relative}.search-box button{background-color:transparent;border:none;color:#0288D1;padding:0;margin:0 0 0 12px;cursor:pointer}.search-box button[type=submit]{margin-left:-24px}.search-box input{padding-right:24px;width:300px;max-width:100%}input.outline{border:0;border-bottom:2px solid #DDD;border-radius:0}input.outline:active,input.outline:focus{border:0;border-bottom:2px solid #AAA;outline:0}#login-form label[for=remember]{margin:0}#login-form label.toggle-switch{margin-left:32px}.image-picker img{background-color:#BBB}div[toggle-switch]{height:18px;width:150px}table.table{width:100%}table.table tr{border-bottom:1px solid #DDD}table.table td,table.table th{text-align:left;border:none;padding:6px;vertical-align:middle}.dz-message,.dz-preview .dz-details,.dz-preview .dz-remove,.image-manager-content .full-tab,.mce-container-body.mce-flow-layout{text-align:center}table.table th{font-weight:700}table.table tr:hover{background-color:#EEE}table{min-width:100px;max-width:100%}table thead{background-color:#F8F8F8;font-weight:500}table.no-style td{border:0;padding:0}table.list-table{margin:-6px}table.list-table td{border:0;vertical-align:middle;padding:6px}.dropdown-container,.dz-preview,.logo-image,.logo-text,form.search-box button,header .links,header .user-name,header .user-name>*{vertical-align:top}.anim.fadeIn{opacity:0;animation-name:fadeIn;animation-duration:160ms;animation-timing-function:ease-in-out}@keyframes fadeIn{0%{opacity:0}100%{opacity:1}}.anim.searchResult{opacity:0;transform:translate3d(580px,0,0);animation-name:searchResult;animation-duration:220ms;animation-timing-function:cubic-bezier(.62,.28,.23,.99)}@keyframes searchResult{0%{opacity:0;transform:translate3d(400px,0,0)}100%{opacity:1;transform:translate3d(0,0,0)}}.anim.notification{transform:translate3d(580px,0,0);animation-name:notification;animation-duration:3s;animation-timing-function:ease-in-out}.anim.menuIn,.anim.pointer{animation-delay:0s;animation-timing-function:cubic-bezier(.62,.28,.23,.99)}.anim.notification.stopped{animation-name:notificationStopped}@keyframes notification{0%,100%{transform:translate3d(580px,0,0)}10%,90%{transform:translate3d(0,0,0)}}@keyframes notificationStopped{0%{transform:translate3d(580px,0,0)}10%,100%{transform:translate3d(0,0,0)}}@keyframes menuIn{from{opacity:0;transform:scale3d(0,0,1)}to{opacity:1;transform:scale3d(1,1,1)}}.anim.menuIn{transform-origin:100% 0;animation-name:menuIn;animation-duration:120ms}@keyframes loadingBob{0%,100%,30%,70%{transform:translate3d(0,0,0)}50%{transform:translate3d(0,-10px,0)}}@keyframes pointer{0%{transform:translate3d(0,20px,0) scale3d(0,0,0)}100%{transform:translate3d(0,0,0) scale3d(1,1,1)}}.anim.pointer{transform-origin:50% 100%;animation-name:pointer;animation-duration:180ms}.mce-tinymce.mce-container.fullscreen{position:fixed;top:0;height:100%;width:825px;max-width:100%;margin-left:-12px;box-shadow:0 0 4px 2px rgba(0,0,0,.08)}.mce-tinymce .mce-btn,.mce-tinymce .mce-panel{background-color:#FFF}.edit-area.flex>.mce-tinymce.mce-container.mce-panel{height:100%;max-height:100%;-ms-flex:1;flex:1;display:-ms-flexbox!important;display:flex!important;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;margin:0 -1px}.edit-area.flex>.mce-tinymce.mce-container.mce-panel>.mce-container-body,.edit-area.flex>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-edit-area{-ms-flex:1;flex:1;display:-ms-flexbox!important;display:flex!important;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}.edit-area.flex>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-edit-area iframe{-ms-flex:1;flex:1}.hljs{display:block;overflow-x:auto;padding:.5em;background:#fdf6e3;color:#657b83;-webkit-text-size-adjust:none}.diff .hljs-header,.hljs-comment,.hljs-doctype,.hljs-pi,.lisp .hljs-string{color:#93a1a1}.css .hljs-tag,.hljs-addition,.hljs-keyword,.hljs-request,.hljs-status,.hljs-winutils,.method,.nginx .hljs-title{color:#859900}.hljs-command,.hljs-doctag,.hljs-hexcolor,.hljs-link_url,.hljs-number,.hljs-regexp,.hljs-rule .hljs-value,.hljs-string,.hljs-tag .hljs-value,.tex .hljs-formula{color:#2aa198}.css .hljs-function,.hljs-built_in,.hljs-chunk,.hljs-decorator,.hljs-id,.hljs-identifier,.hljs-localvars,.hljs-name,.hljs-title,.vhdl .hljs-literal{color:#268bd2}.hljs-attribute,.hljs-class .hljs-title,.hljs-constant,.hljs-link_reference,.hljs-parent,.hljs-type,.hljs-variable,.lisp .hljs-body,.smalltalk .hljs-number{color:#b58900}.css .hljs-pseudo,.diff .hljs-change,.hljs-attr_selector,.hljs-cdata,.hljs-header,.hljs-pragma,.hljs-preprocessor,.hljs-preprocessor .hljs-keyword,.hljs-shebang,.hljs-special,.hljs-subst,.hljs-symbol,.hljs-symbol .hljs-string{color:#cb4b16}.hljs-deletion,.hljs-important{color:#dc322f}.hljs-link_label{color:#6c71c4}.tex .hljs-formula{background:#eee8d5}.overlay{background-color:rgba(0,0,0,.2);position:fixed;z-index:95536;width:100%;height:100%;min-width:100%;min-height:100%;top:0;left:0;right:0;bottom:0}.image-manager-body{background-color:#FFF;max-height:90%;width:90%;height:90%;margin:2% 5%;border-radius:4px;box-shadow:0 0 15px 0 rgba(0,0,0,.3);overflow:hidden;position:fixed;top:0;bottom:0;left:0;z-index:999;display:-ms-flexbox;display:flex}.image-manager-body .title-input input[type=text],.image-manager-body h1,.image-manager-body h2,.image-manager-body h3,.title-input .image-manager-body input[type=text]{font-weight:300}#image-manager .dropzone-container{position:relative;border:3px dashed #DDD}.image-manager-bottom{position:absolute;bottom:0;right:0}.image-manager-list .image{display:block;position:relative;border-radius:0;float:left;margin:0;cursor:pointer;width:16.6666666667%;height:auto;border:1px solid #DDD;box-shadow:0 0 0 0 transparent;transition:all cubic-bezier(.4,0,1,1) 160ms;overflow:hidden}.image-manager-list .image.selected{transform:scale3d(.92,.92,.92);border:1px solid #444;box-shadow:0 1px 2px 0 rgba(0,0,0,.2)}.image-manager-list .image img{width:100%;max-width:100%;display:block}.image-manager-list .image .image-meta{position:absolute;width:100%;bottom:0;left:0;color:#EEE;background-color:rgba(0,0,0,.4);font-size:10px;padding:3px 4px}.image-manager-list .image .image-meta span{display:block}@media screen and (max-width:1100px){.image-manager-list .image{width:25%}}@media screen and (max-width:800px){.image-manager-list .image .image-meta{display:none}}#image-manager .load-more{display:block;text-align:center;background-color:#EEE;padding:12px 16px;color:#AAA;clear:both;font-size:20px;cursor:pointer;font-style:italic}.image-manager-sidebar{width:300px;height:100%;margin-left:1px;padding:0 24px;border-left:1px solid #DDD}.image-manager-close{position:absolute;top:0;right:0;margin:0;border-radius:0}.image-manager-list{overflow-y:scroll;-ms-flex:1;flex:1}.image-manager-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;height:100%;-ms-flex:1;flex:1}.image-manager-content .container{width:100%}.dz-message{font-size:1.4em;font-style:italic;color:#aaa;cursor:pointer;padding:32px 16px;transition:all ease-in-out 120ms}.dz-drag-hover .dz-message{background-color:#107ed2;color:#EEE}@keyframes passing-through{0%{opacity:0;transform:translateY(40px)}30%,70%{opacity:1;transform:translateY(0)}100%{opacity:0;transform:translateY(-40px)}}@keyframes slide-in{0%{opacity:0;transform:translateY(40px)}30%{opacity:1;transform:translateY(0)}}.dz-preview.dz-file-preview .dz-details,.dz-preview:hover .dz-details{opacity:1}@keyframes pulse{0%,20%{transform:scale(1)}10%{transform:scale(1.1)}}.dz-preview{position:relative;display:inline-block;margin:12px;min-height:80px}.dz-preview:hover{z-index:1000}.dz-preview.dz-file-preview .dz-image{border-radius:4px;background:#999;background:linear-gradient(to bottom,#eee,#ddd)}.dz-preview.dz-image-preview{background:#fff}.dz-preview.dz-image-preview .dz-details{transition:opacity .2s linear}.dz-preview .dz-remove{font-size:14px;display:block;cursor:pointer;border:none}.dz-preview .dz-remove:hover{text-decoration:underline}.book-tree .sidebar-page-list li a:hover,.faded .text-button:hover,.logo:hover{text-decoration:none}.dz-preview .dz-details{z-index:20;position:absolute;top:0;left:0;opacity:0;font-size:10px;min-width:100%;max-width:100%;padding:6px 3px;color:rgba(0,0,0,.9);line-height:150%}.dz-preview .dz-details .dz-size{margin-bottom:.5em;font-size:12px}.dz-preview .dz-details .dz-filename{white-space:nowrap}.dz-preview .dz-details .dz-filename:hover span{border:1px solid rgba(200,200,200,.8);background-color:rgba(255,255,255,.8)}.dz-preview .dz-details .dz-filename:not(:hover){overflow:hidden;text-overflow:ellipsis}.dz-preview .dz-details .dz-filename:not(:hover) span{border:1px solid transparent}.dz-preview .dz-details .dz-filename span,.dz-preview .dz-details .dz-size span{background-color:rgba(255,255,255,.4);padding:0 .4em;border-radius:3px}.dz-preview:hover .dz-image img{-webkit-filter:blur(8px);filter:blur(8px)}.dz-preview .dz-image{border-radius:4px;overflow:hidden;width:80px;height:80px;position:relative;display:block;z-index:10}.dz-preview .dz-image img{display:block}.dz-preview.dz-success .dz-success-mark{animation:passing-through 3s cubic-bezier(.77,0,.175,1)}.dz-preview.dz-error .dz-error-mark{opacity:1;animation:slide-in 3s cubic-bezier(.77,0,.175,1)}.dz-preview .dz-error-mark,.dz-preview .dz-success-mark{pointer-events:none;opacity:0;z-index:500;position:absolute;display:block;top:50%;left:50%;margin-left:-27px;margin-top:-27px}.dz-preview .dz-error-mark svg,.dz-preview .dz-success-mark svg{display:block;width:54px;height:54px}.dz-preview.dz-processing .dz-progress{opacity:1;transition:all .2s linear}.dz-preview.dz-complete .dz-progress{opacity:0;transition:opacity .4s ease-in}.dz-preview:not(.dz-processing) .dz-progress{animation:pulse 6s ease infinite}.dz-preview .dz-progress{opacity:1;z-index:1000;pointer-events:none;position:absolute;height:16px;left:50%;top:50%;margin-top:-8px;width:80px;margin-left:-40px;background:rgba(255,255,255,.9);transform:scale(1);border-radius:8px;overflow:hidden}.dz-preview .dz-progress .dz-upload{background:#333;background:linear-gradient(to bottom,#666,#444);position:absolute;top:0;left:0;bottom:0;width:0;transition:width .3s ease-in-out}.dz-preview.dz-error .dz-error-message{display:block}.dz-preview.dz-error:hover .dz-error-message{opacity:1;pointer-events:auto}.dz-preview .dz-error-message{pointer-events:none;z-index:1000;position:absolute;display:block;display:none;opacity:0;transition:opacity .3s ease;border-radius:4px;font-size:11.5px;line-height:1.2;top:88px;left:-26px;width:148px;background:#E84F4F;padding:6px;color:#fff}.dz-preview .dz-error-message:after{position:absolute;top:-6px;left:64px;width:0;height:0;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #E84F4F}header{display:block;z-index:2;top:0;background-color:#0288D1;color:#fff;border-bottom:1px solid #DDD}header .avatar,header .links,header .links a,header .user-name{display:inline-block}header .padded{padding:16px}header .links a{padding:24px;color:#FFF}header .links a:last-child{padding-right:0}@media screen and (max-width:992px){header .links{margin-right:16px}header .links a{padding:24px 12px}}header .avatar{width:30px;height:30px}header .user-name{padding-top:24px;cursor:pointer}header .user-name>i,header .user-name>span{padding-left:6px;display:inline-block}header .user-name>span{padding-top:3px}header .user-name>i{padding-top:4px;font-size:18px}@media screen and (max-width:992px){header .user-name{padding-left:6px}header .user-name .name{display:none}header{text-align:center}header .float.right{float:none}}.logo,.logo-text,form.search-box{display:inline-block}.activity-list-item .left,ul.pagination li{float:left}@media screen and (max-width:768px){header .links a{padding:12px}header form.search-box{margin-top:0}header .user-name{padding-top:12px}}header .dropdown-container{font-size:.9em}form.search-box{margin-top:21.6px;position:relative;text-align:left}form.search-box input{background-color:transparent;border-radius:24px;border:2px solid #EEE;color:#EEE;padding-left:16px;padding-right:24px;outline:0}form.search-box button{margin-left:-24px;color:#FFF;top:6px;right:4px;display:inline-block;position:absolute}form.search-box button:hover{color:#FFF}.logo:hover{color:#FFF}.logo-text{font-size:1.8em;color:#fff;font-weight:400;padding:24px 24px 24px 0;line-height:1}.logo-image{margin:16px 12px 16px 0;height:43px}.breadcrumbs span.sep{color:#aaa;padding:0 6px}.action-buttons .text-button,.breadcrumbs .text-button,.faded span.faded-text{padding:12px;display:inline-block}.faded a,.faded button,.faded span,.faded span>div{color:#666}.faded .text-button{opacity:.5;transition:all ease-in-out 120ms}.faded .text-button:hover{opacity:1}.faded-small{color:#000;font-size:.9em;background-color:rgba(21,101,192,.15)}.action-buttons .text-button:last-child,.breadcrumbs .text-button:last-child{padding-right:0}.action-buttons{text-align:right}.action-buttons.text-left{text-align:left}.action-buttons.text-left .text-button{padding-right:16px;padding-left:0}.action-buttons.text-center,.nav-tabs{text-align:center}.nav-tabs .tab-item,.nav-tabs a{padding:16px;display:inline-block;color:#666;cursor:pointer}.nav-tabs .tab-item.selected,.nav-tabs a.selected{border-bottom:2px solid #0288D1}.page-list h3{margin:24px 0 6px;font-size:1.666em}.page-list a.chapter{color:#ef7c3c}.page-list .inset-list{display:none;overflow:hidden;margin-bottom:24px}.page-list h4{display:block;margin:12px 0 0;border-left:5px solid #0288D1;padding:6px 0 6px 16px}.page-list h4.draft{border-left-color:#9A60DA}.page-list hr{margin-top:0}.page-list .book,.page-list .chapter,.page-list .page{padding-left:24px}.page-list .page{border-left:5px solid #0288D1}.page-list .page.draft{border-left:5px solid #9A60DA}.page-list .page.draft .text-page{color:#9A60DA}.page-list .chapter{border-left:5px solid #ef7c3c}.page-list .book{border-left:5px solid #009688}.page-list .meta{margin-top:-16px;font-size:.95em}.page-list .meta span{margin-right:12px}.chapter-toggle{margin:0 0 24px;transition:all ease-in-out 180ms;user-select:none}.floating-toolbox .handle,ul.pagination a,ul.pagination span{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.chapter-toggle i.zmdi-caret-right{transition:all ease-in-out 180ms;transform:rotate(0);transform-origin:25% 50%}.chapter-toggle.open{margin-bottom:0}.chapter-toggle.open i.zmdi-caret-right{transform:rotate(90deg)}.page-nav-list{margin-left:2px;list-style:none}.page-nav-list li{padding-left:6px;border-left:2px solid #888;margin-bottom:4px}.page-nav-list li a{color:#555}.page-nav-list .nav-H2{margin-left:12px;font-size:.95em}.page-nav-list .nav-H3{margin-left:24px;font-size:.9em}.page-nav-list .nav-H4{margin-left:36px;font-size:.85em}.page-nav-list .nav-H5{margin-left:48px;font-size:.8em}.page-nav-list .nav-H6{margin-left:60px;font-size:.75em}.book-tree{padding:24px 0 0;position:relative;right:0;top:0;transition:ease-in-out 240ms;transition-property:right,border;border-left:0 solid #FFF;background-color:#FFF}.book-tree.fixed{position:fixed;top:0;padding-left:24px;padding-right:39px;width:30%;right:-15px;height:100%;overflow-y:scroll;-ms-overflow-style:none;border-left:1px solid #DDD}.book-tree.fixed::-webkit-scrollbar{width:0!important}.book-tree h4{padding:16px 12px 0}.book-tree h4 i{padding-right:12px}.book-tree .sidebar-page-list{list-style:none;margin:6px 0 0;padding-left:0;border-left:5px solid #009688}.book-tree .sidebar-page-list li a{display:block;border-bottom:none;padding:6px 0 6px 12px}.book-tree .sidebar-page-list li a i{padding-right:8px}.book-tree .sidebar-page-list a,.book-tree .sidebar-page-list li{display:block}.book-tree .sidebar-page-list a.bold{color:#EEE!important}.book-tree .sidebar-page-list ul{list-style:none;margin:0}.book-tree .sidebar-page-list .book{color:#009688!important}.book-tree .sidebar-page-list .book.selected{background-color:rgba(0,150,136,.29)}.book-tree .sidebar-page-list .chapter{color:#ef7c3c!important}.book-tree .sidebar-page-list .chapter.selected{background-color:rgba(239,124,60,.12)}.book-tree .sidebar-page-list .chapter-toggle{padding-left:12px}.book-tree .sidebar-page-list .list-item-chapter{border-left:5px solid #ef7c3c;margin:10px;display:block}.book-tree .sidebar-page-list .list-item-page{border-bottom:none;border-left:5px solid #0288D1;margin:10px}.book-tree .sidebar-page-list .page{color:#0288D1!important;border-bottom:none}.book-tree .sidebar-page-list .page.selected{background-color:rgba(2,136,209,.1)}.book-tree .sidebar-page-list .list-item-page.draft{border-left:5px solid #9A60DA}.book-tree .sidebar-page-list .list-item-page.draft a.page,.book-tree .sidebar-page-list .page.draft .page{color:#9A60DA!important}.book-tree .sidebar-page-list .sub-menu{display:none;padding-left:0}.book-tree .sidebar-page-list .sub-menu.open{display:block}.sortable-page-list,.sortable-page-list ul{list-style:none;background-color:#FFF}.sort-box{margin-bottom:16px;padding:0 24px;border-left:4px solid #009688}.sortable-page-list,.sortable-page-list>ul{margin-left:0}.sortable-page-list ul{margin-bottom:0;margin-top:0;box-shadow:0 0 1px 0 rgba(0,0,0,.1)}.sortable-page-list li{border:1px solid #DDD;padding:6px 12px;margin-top:-1px;min-height:38px}.sortable-page-list li.text-chapter{border-left:2px solid #ef7c3c}.sortable-page-list li.text-page{border-left:2px solid #0288D1}.sortable-page-list li:first-child{margin-top:6px}.sortable-page-list li.placeholder{position:relative}.sortable-page-list li.placeholder:before{position:absolute}.activity-list-item{padding:12px 0;color:#888;border-bottom:1px solid #EEE;font-size:.9em}.activity-list-item .left+.right{margin-left:42px}ul.pagination{display:inline-block;list-style:none;margin:16px 0;padding-left:1px}ul.pagination li:first-child a,ul.pagination li:first-child span{border-radius:3px 0 0 3px}ul.pagination li:last-child a,ul.pagination li:last-child span{border-radius:0 3px 3px 0}ul.pagination a,ul.pagination span{display:block;padding:3px 12px;border:1px solid #CCC;margin-left:-1px;color:#888;user-select:none}.compact ul.pagination,.entity-list h3{margin:0}ul.pagination a.disabled,ul.pagination span.disabled{cursor:not-allowed}ul.pagination li.active span{background-color:rgba(2,136,209,.8);color:#EEE;border-color:rgba(2,136,209,.8)}ul.pagination a{color:#0288D1}.entity-list>div{padding:16px 0}.entity-list p{margin:6px 0 0}.entity-list hr{margin:0}.entity-list .text-small.text-muted{color:#AAA;font-size:.75em;margin-top:6px}.entity-list .page.draft .text-page{color:#9A60DA}.entity-list.compact{font-size:.6em}.entity-list.compact a,.entity-list.compact h3{line-height:1.2}.entity-list.compact p{display:none;font-size:12px;padding-top:6px;margin:0}.entity-list.compact>p.empty-text{display:block;font-size:15px}.entity-list.compact hr{margin:0}.dropdown-container{display:inline-block;position:relative}.dropdown-container ul{display:none;position:absolute;z-index:999;top:0;list-style:none;right:0;margin:16px 0;background-color:#FFF;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border-radius:1px;border:1px solid #EEE;min-width:180px;padding:6px 0;color:#555;text-align:left!important}.dropdown-container ul.wide{min-width:220px}.dropdown-container ul .text-muted{color:#999}.dropdown-container ul a{display:block;padding:6px 16px;color:#555}.dropdown-container ul a:hover{text-decoration:none;background-color:#EEE}.dropdown-container ul a i{margin-right:16px;padding-right:0;display:inline;width:22px}.dropdown-container ul li.border-bottom{border-bottom:1px solid #DDD}#page-show>.row .col-md-9{z-index:2}#page-show>.row .col-md-3{z-index:1}.page-editor{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}.page-editor .faded-small{height:auto}.page-editor .edit-area{-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column}.page-style.editor{padding:0!important}.page-content{max-width:840px;overflow-wrap:break-word}.page-content .align-left{text-align:left}.page-content img.align-left,.page-content table.align-left{float:left!important;margin:6px 12px 6px 0}.page-content .align-right{float:right!important}.page-content img.align-right,.page-content table.align-right{text-align:right;margin:6px 0 6px 12px}.page-content .align-center{text-align:center}.page-content img{max-width:100%;height:auto}.page-content .title-input input[type=text],.page-content h1,.page-content h2,.page-content h3,.page-content h4,.page-content h5,.page-content h6,.page-content pre,.title-input .page-content input[type=text]{clear:left}.page-content hr{clear:both;margin:16px 0}.page-content table{word-break:break-all;word-break:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto}.pointer-container{position:relative;display:none;left:0;z-index:10}.pointer,.pointer:before{position:absolute;background-color:#FFF}.pointer{border:1px solid #CCC;display:inline-block;padding:12px;border-radius:4px;box-shadow:0 0 8px 1px rgba(212,209,209,.35);top:-60px;width:272px;z-index:55}.pointer:before{left:50%;bottom:-9px;width:16px;height:16px;margin-left:-8px;display:block;transform:rotate(45deg);transform-origin:50% 50%;border-bottom:1px solid #CCC;border-right:1px solid #CCC;z-index:56}.pointer input{background-color:#FFF;border:1px solid #DDD;color:#666;width:172px;z-index:40}.pointer button,.pointer input{position:relative;border-radius:0;height:28px;font-size:12px;vertical-align:top}.pointer>i{color:#888;font-size:18px;padding-top:4px}.pointer .button{line-height:1;margin:0 0 0 -4px;box-shadow:none}.floating-toolbox{background-color:#FFF;border:1px solid #DDD;right:64px;z-index:99;width:48px;overflow:hidden;-ms-flex-align:stretch;align-items:stretch;-ms-flex-direction:row;flex-direction:row;display:-ms-flexbox;display:flex;transition:width ease-in-out 180ms;margin-top:-1px;min-height:0}.floating-toolbox.open{width:480px}.floating-toolbox [toolbox-toggle] i{transition:transform ease-in-out 180ms}.floating-toolbox [toolbox-toggle]{transition:background-color ease-in-out 180ms}.floating-toolbox.open [toolbox-toggle]{background-color:rgba(255,0,0,.29)}.floating-toolbox.open [toolbox-toggle] i{transform:rotate(180deg)}.floating-toolbox>div{-ms-flex:1;flex:1;position:relative}.floating-toolbox .tabs{display:block;border-right:1px solid #DDD;width:54px;-ms-flex:0;flex:0}.floating-toolbox .tabs i{color:rgba(0,0,0,.5);padding:0;margin:0}.floating-toolbox .tabs>span{display:block;cursor:pointer;padding:12px 16px;font-size:13.5px;line-height:1.6;border-bottom:1px solid rgba(255,255,255,.3)}.floating-toolbox.open .tabs>span.active{color:#444;background-color:rgba(0,0,0,.1)}.floating-toolbox div[tab-content]{padding-bottom:45px;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;min-height:0;overflow-y:scroll}.floating-toolbox div[tab-content] .padded{-ms-flex:1;flex:1;padding-top:0}.floating-toolbox h4{font-size:24px;margin:16px 0 0;padding:0 24px 12px}.floating-toolbox .tags input{max-width:100%;width:100%;min-width:50px}.floating-toolbox .tags td{padding-right:12px;padding-top:12px;position:relative}.floating-toolbox button.pos{position:absolute;bottom:0;display:block;width:100%;padding:12px;height:45px;border:0;margin:0;box-shadow:none;border-radius:0}.floating-toolbox button.pos:hover{box-shadow:none}.floating-toolbox .handle{user-select:none;cursor:move;color:#999}.floating-toolbox form{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;overflow-y:scroll}[tab-content]{display:none}.tag-display{margin:32px 6px;border:1px solid #DDD;min-width:180px;max-width:320px;opacity:.7;z-index:5;position:relative}.tag-display table{width:100%;margin:0;padding:0}.tag-display span{color:#666;margin-left:12px}.tag-display .heading,.tag-display td{padding:6px 12px;color:#444}.tag-display td{border:0;border-bottom:1px solid #DDD}.tag-display .tag-value,.tag-display td i{color:#888}.tag-display tr:last-child td{border-bottom:none}.tag-display .tag{padding:12px}.suggestion-box{position:absolute;background-color:#FFF;border:1px solid #BBB;box-shadow:0 0 4px 1px #CCC;list-style:none;z-index:100;padding:0;margin:0;border-radius:3px}.avatar,.notification,.suggestion-box li.active{background-color:#EEE}.suggestion-box li{display:block;padding:6px 12px;border-bottom:1px solid #DDD}.suggestion-box li:last-child{border-bottom:0}[v-cloak],[v-show]{display:none}.ng-cloak,[ng-cloak],[ng\:cloak]{display:none!important;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}[ng-click]{cursor:pointer}.dragged{position:absolute;opacity:.5;z-index:2000}body.dragging,body.dragging *{cursor:move!important}.avatar{border-radius:100%;width:30px;height:30px}.avatar.square,.notification{border-radius:3px}.avatar.med{width:40px;height:40px}.avatar.large{width:80px;height:80px}.avatar.huge{width:120px;height:120px}.notification{position:fixed;top:0;right:0;margin:64px 32px;padding:24px 32px;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);z-index:999999;display:table;cursor:pointer;max-width:480px}.notification i,.notification span{display:table-cell}.notification i{font-size:2em;padding-right:24px}.notification span{vertical-align:middle}.notification.pos{background-color:#52A256;color:#EEE}.notification.neg{background-color:#E84F4F;color:#EEE}.notification.warning{background-color:#e27b41;color:#EEE}.loading-container{position:relative;display:block;height:10px;margin:32px auto}.loading-container>div{width:10px;height:10px;border-radius:10px;display:inline-block;vertical-align:top;transform:translate3d(0,0,0);animation-name:loadingBob;animation-duration:1.4s;animation-iteration-count:infinite;animation-timing-function:cubic-bezier(.62,.28,.23,.99);margin-right:4px;background-color:#0288D1;animation-delay:.3s}.loading-container>div:first-child{left:-16px;background-color:#009688;animation-delay:0s}.loading-container>div:last-child{left:16px;background-color:#ef7c3c;animation-delay:.6s}.search-results>h3 a{font-size:.66em;color:#0288D1;padding-left:16px}.search-results>h3 a i{padding-right:12px}#back-to-top{background-color:#0288D1;position:fixed;bottom:16px;right:24px;padding:6px 12px;cursor:pointer;color:#FFF;width:40px;height:40px;border-radius:40px;transition:all ease-in-out 180ms;opacity:0;z-index:999;overflow:hidden}#back-to-top:hover{width:136px;opacity:1!important}#back-to-top:hover span{display:inline-block}#back-to-top .inner{width:136px}#back-to-top i{margin:0;font-size:28px;padding:0 12px 0 0}#back-to-top span{line-height:12px;position:relative;top:-5px}.contained-search-box{display:-ms-flexbox;display:flex}.contained-search-box button,.contained-search-box input{border-radius:0;border:1px solid #DDD;margin-left:-1px}.contained-search-box input{-ms-flex:5;flex:5}.contained-search-box input:active,.contained-search-box input:focus{outline:0}.contained-search-box button{width:60px}.contained-search-box button i{padding:0}.contained-search-box button.cancel.active{background-color:#E84F4F;color:#EEE}.entity-selector{border:1px solid #DDD;border-radius:3px;overflow:hidden;font-size:.8em}.entity-selector input[type=text]{width:100%;display:block;border-radius:0;border:0;border-bottom:1px solid #DDD;font-size:16px;padding:12px 16px}.entity-selector .entity-list{overflow-y:scroll;height:400px;background-color:#EEE}.entity-selector .loading{height:400px;padding-top:24px}.entity-selector .entity-list>p{text-align:center;padding-top:24px;font-size:1.333em}.entity-selector .entity-list>div{padding-left:16px;padding-right:16px;background-color:#FFF;transition:all ease-in-out 120ms;cursor:pointer}.entity-list-item.selected a,.entity-list-item.selected h3,.entity-list-item.selected i,.entity-list-item.selected p,.entity-list-item.selected span{color:#EEE} \ No newline at end of file +.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-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:'';content:none}table{border-collapse:collapse;border-spacing:0}@font-face{font-family:Roboto;font-style:normal;font-weight:100;src:local("Roboto Thin"),local("Roboto-Thin"),url(../fonts/roboto-v15-cyrillic_latin-100.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-100.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:100;src:local("Roboto Thin Italic"),local("Roboto-ThinItalic"),url(../fonts/roboto-v15-cyrillic_latin-100italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-100italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:300;src:local("Roboto Light"),local("Roboto-Light"),url(../fonts/roboto-v15-cyrillic_latin-300.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-300.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:300;src:local("Roboto Light Italic"),local("Roboto-LightItalic"),url(../fonts/roboto-v15-cyrillic_latin-300italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-300italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:local("Roboto"),local("Roboto-Regular"),url(../fonts/roboto-v15-cyrillic_latin-regular.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-regular.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:400;src:local("Roboto Italic"),local("Roboto-Italic"),url(../fonts/roboto-v15-cyrillic_latin-italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:500;src:local("Roboto Medium"),local("Roboto-Medium"),url(../fonts/roboto-v15-cyrillic_latin-500.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-500.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:500;src:local("Roboto Medium Italic"),local("Roboto-MediumItalic"),url(../fonts/roboto-v15-cyrillic_latin-500italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-500italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:700;src:local("Roboto Bold"),local("Roboto-Bold"),url(../fonts/roboto-v15-cyrillic_latin-700.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-700.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:700;src:local("Roboto Bold Italic"),local("Roboto-BoldItalic"),url(../fonts/roboto-v15-cyrillic_latin-700italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-700italic.woff) format("woff")}@font-face{font-family:Roboto Mono;font-style:normal;font-weight:400;src:local("Roboto Mono"),local("RobotoMono-Regular"),url(../fonts/roboto-mono-v4-latin-regular.woff2) format("woff2"),url(../fonts/roboto-mono-v4-latin-regular.woff) format("woff")}*{box-sizing:border-box}html{background-color:#fff;height:100%;overflow-y:scroll}html.flexbox{overflow-y:hidden}body{font-family:Roboto,DejaVu Sans,Helvetica,Arial,sans-serif;font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}button{font-size:100%}table{min-width:100px}table td,table th{min-width:10px;padding:4px 6px;border:1px solid #ddd}.title-input input[type=text],h1{font-size:3.425em;line-height:1.22222222em;margin-top:.48888889em;margin-bottom:.48888889em}h2{font-size:2.8275em;line-height:1.294117647em;margin-top:.8627451em;margin-bottom:.43137255em}h3{font-size:1.75em;line-height:1.571428572em}h3,h4{margin-top:.78571429em;margin-bottom:.43137255em}h4{font-size:1em;line-height:1.375em}.title-input input[type=text],h1,h2,h3,h4{font-weight:400;position:relative;display:block;color:#555}.title-input input[type=text] .subheader,h1 .subheader,h2 .subheader,h3 .subheader,h4 .subheader{font-size:.5em;line-height:1em;color:#969696}.link,.text-button,a{color:#0288d1;cursor:pointer;text-decoration:none;transition:color 80ms ease-in-out;font-family:Roboto,DejaVu Sans,Helvetica,Arial,sans-serif;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(90deg,#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;white-space:pre;font-size:.8em;overflow:hidden;border-radius:4px;box-shadow:0 1px 2px 0 hsla(0,0%,4%,.06);border:1px solid hsla(0,0%,87%,.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}pre code{background-color:transparent;border:0;font-size:1em}.text-pos,.text-pos:hover,p.pos,p .pos,p.pos:hover,p .pos:hover,span.pos,span.pos:hover{color:#52a256}.text-neg,.text-neg:hover,p.neg,p .neg,p.neg:hover,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,p.primary:hover,p .primary:hover,span.primary,span.primary:hover{color:#0288d1}.text-secondary,.text-secondary:hover,p.secondary,p .secondary,p.secondary:hover,p .secondary:hover,span.secondary,span.secondary:hover{color:#e27b41}.text-book,.text-book:hover{color:#009688}.text-page,.text-page:hover{color:#0288d1}.text-page.draft,.text-page.draft:hover{color:#9a60da}.text-chapter,.text-chapter:hover{color:#ef7c3c}.faded .text-book:hover{color:#009688!important}.faded .text-chapter:hover{color:#ef7c3c!important}.faded .text-page:hover{color:#0288d1!important}span.highlight{font-weight:700;padding:2px 4px}ul{list-style:disc}ol,ul{padding-left:20.8px;overflow:hidden}ol{list-style:decimal}.underlined{text-decoration:underline}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-bigger{font-size:1.1em}.text-large{font-size:1.6666em}.no-color{color:inherit}.header-group{margin:16px 0}.header-group .title-input input[type=text],.header-group h1,.header-group h2,.header-group h3,.header-group h4,.header-group h5,.header-group h6,.title-input .header-group input[type=text]{margin:0}span.sep{color:#bbb;padding:0 6px}.list>*{display:block}.action-header .title-input input[type=text],.action-header h1,.title-input .action-header input[type=text]{margin-top:16px}i{padding-right:6px}body.flexbox{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;height:100%;min-height:100%;max-height:100%;overflow:hidden}body.flexbox #content{-ms-flex:1;flex:1}.flex-fill,body.flexbox #content{display:-ms-flexbox;display:flex;min-height:0}.flex-fill{-ms-flex-align:stretch;align-items:stretch}.flex-fill.flex,.flex-fill .flex{min-height:0;-ms-flex:1;flex:1}div[class^=col-] img{max-width:100%}.container{max-width:1400px;margin-left:auto;margin-right:auto;padding-left:16px;padding-right:16px}.container.fluid{max-width:100%}.container.small{max-width:840px}.center-box{margin:32px auto 0;padding:16px 48px 64px;max-width:346px;display:inline-block;text-align:left;vertical-align:top}.center-box.login{background-color:#eee;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border:1px solid #ddd}.row{margin-left:-16px;margin-right:-16px}.float{float:left}.float.right{float:right}.block{display:block;position:relative}.inline{display:inline}.block.inline{display:inline-block}.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12,.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12,.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12,.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{position:relative;min-height:1px;padding-left:16px;padding-right:16px}.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{float:left}.col-xs-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-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12{float:left}.col-sm-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-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12{float:left}.col-md-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-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.row:after,.row:before{content:" ";display:table}.clearfix:after,.container-fluid:after,.container:after,.row:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.shaded{background-color:#f1f1f1}.shaded.pos{background-color:#d6ead7}.shaded.neg{background-color:#f4a9a9}.shaded.primary{background-color:#a1ddfe}.shaded.secondary{background-color:#f6d7c6}.bordered{border:1px solid #bbb}.bordered.pos{border-color:#52a256}.bordered.neg{border-color:#e84f4f}.bordered.primary{border-color:#0288d1}.bordered.secondary{border-color:#e27b41}.bordered.thick{border-width:2px}.rounded{border-radius:3px}.nopadding{padding:0}.padded{padding:24px}.padded.large{padding:32px}.padded>h1:first-child,.padded>h2:first-child,.padded>h3:first-child,.padded>h4:first-child,.title-input .padded>input[type=text]:first-child{margin-top:.1em}.padded-top,.padded-vertical{padding-top:16px}.padded-top.large,.padded-vertical.large{padding-top:32px}.padded-bottom,.padded-vertical{padding-bottom:16px}.padded-bottom.large,.padded-vertical.large{padding-bottom:32px}.padded-horizontal,.padded-left{padding-left:16px}.padded-horizontal.large,.padded-left.large{padding-left:32px}.padded-horizontal,.padded-right{padding-right:16px}.padded-horizontal.large,.padded-right.large{padding-right:32px}.margins{margin:24px}.margins.large{margin:32px}.margin-top,.margins-vertical{margin-top:16px}.margin-top.large,.margins-vertical.large{margin-top:32px}.margin-bottom,.margins-vertical{margin-bottom:16px}.margin-bottom.large,.margins-vertical.large{margin-bottom:32px}.margin-left,.margins-horizontal{margin-left:16px}.margin-left.large,.margins-horizontal.large{margin-left:32px}.margin-right,.margins-horizontal{margin-right:16px}.margin-right.large,.margins-horizontal.large{margin-right:32px}.callout{border-left:3px solid #bbb;background-color:#eee;padding:12px}.callout:before{font-family:Material-Design-Iconic-Font;padding-right:12px;display:inline-block}.callout.success{border-left-color:#52a256;background-color:#e7f3e7;color:#376c39}.callout.success:before{content:'\f269'}.callout.danger{border-left-color:#e84f4f;background-color:#fce8e8;color:#b91818}.callout.danger:before{content:'\f1f2'}.callout.info{border-left-color:#0288d1;background-color:#d3efff;color:#015380}.callout.info:before{content:'\f1f8'}.callout.warning{border-left-color:#e27b41;background-color:#faeae0;color:#b6531c}.callout.warning:before{content:'\f1f1'}.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 .12s ease-in-out;box-shadow:0 .5px 1.5px 0 rgba(0,0,0,.21);background-color:#0288d1;color:#eee}.button-base:hover,.button:hover,input[type=button]:hover,input[type=submit]:hover{background-color:#02a2f9;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#eee}.button-base:active,.button:active,input[type=button]:active,input[type=submit]:active{background-color:#026ea9}.button-base:focus,.button:focus,input[type=button]:focus,input[type=submit]:focus{background-color:#0295e5;box-shadow:0 0 4px 1px #ccc;text-decoration:none;color:#eee}.button.pos,input[type=button].pos,input[type=submit].pos{background-color:#52a256;color:#eee}.button.pos:hover,input[type=button].pos:hover,input[type=submit].pos:hover{background-color:#69b36d;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#eee}.button.pos:active,input[type=button].pos:active,input[type=submit].pos:active{background-color:#448748}.button.pos:focus,input[type=button].pos:focus,input[type=submit].pos:focus{background-color:#5cac60;box-shadow:0 0 4px 1px #ccc;text-decoration:none;color:#eee}.button.neg,input[type=button].neg,input[type=submit].neg{background-color:#e84f4f;color:#eee}.button.neg:hover,input[type=button].neg:hover,input[type=submit].neg:hover{background-color:#ed7373;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#eee}.button.neg:active,input[type=button].neg:active,input[type=submit].neg:active{background-color:#e32b2b}.button.neg:focus,input[type=button].neg:focus,input[type=submit].neg:focus{background-color:#ea6161;box-shadow:0 0 4px 1px #ccc;text-decoration:none;color:#eee}.button.secondary,input[type=button].secondary,input[type=submit].secondary{background-color:#e27b41;color:#eee}.button.secondary:hover,input[type=button].secondary:hover,input[type=submit].secondary:hover{background-color:#e79464;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#eee}.button.secondary:active,input[type=button].secondary:active,input[type=submit].secondary:active{background-color:#d96321}.button.secondary:focus,input[type=button].secondary:focus,input[type=submit].secondary:focus{background-color:#e58753;box-shadow:0 0 4px 1px #ccc;text-decoration:none;color:#eee}.button.muted,input[type=button].muted,input[type=submit].muted{background-color:#888;color:#eee}.button.muted:hover,input[type=button].muted:hover,input[type=submit].muted:hover{background-color:#9c9c9c;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#eee}.button.muted:active,input[type=button].muted:active,input[type=submit].muted:active{background-color:#747474}.button.muted:focus,input[type=button].muted:focus,input[type=submit].muted:focus{background-color:#929292;box-shadow:0 0 4px 1px #ccc;text-decoration:none;color:#eee}.text-button{background-color:transparent;padding:0;margin:0;border:none}.text-button:active,.text-button:focus{outline:0}.text-button:hover{text-decoration:none}.text-button.neg{color:#e84f4f}.button-group:after{display:block;content:'';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=email],input[type=number],input[type=password],input[type=search],input[type=text],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=email],input.invalid[type=number],input.invalid[type=password],input.invalid[type=search],input.invalid[type=text],input.invalid[type=url],input.neg[type=email],input.neg[type=number],input.neg[type=password],input.neg[type=search],input.neg[type=text],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=email],input.pos[type=number],input.pos[type=password],input.pos[type=search],input.pos[type=text],input.pos[type=url],input.valid[type=email],input.valid[type=number],input.valid[type=password],input.valid[type=search],input.valid[type=text],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=email],input.disabled[type=number],input.disabled[type=password],input.disabled[type=search],input.disabled[type=text],input.disabled[type=url],input[disabled][type=email],input[disabled][type=number],input[disabled][type=password],input[disabled][type=search],input[disabled][type=text],input[disabled][type=url],select.disabled,select[disabled],textarea.disabled,textarea[disabled]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAMUlEQVQIW2NkwAGuXbv2nxGbHEhCS0uLEUMSJgHShCKJLIEiiS4Bl8QmAZbEJQGSBAC62BuJ+tt7zgAAAABJRU5ErkJggg==)}.input-base:focus,input[type=email]:focus,input[type=number]:focus,input[type=password]:focus,input[type=search]:focus,input[type=text]:focus,input[type=url]:focus,select:focus,textarea:focus{outline:0}#html-editor{display:none}#markdown-editor{position:relative;z-index:5}#markdown-editor textarea{font-family:Roboto Mono;font-style:normal;font-weight:400;padding:6px 16px;color:#444;border-radius:0;max-height:100%;-ms-flex:1;flex:1;border:0;width:100%}#markdown-editor textarea:focus{outline:0}#markdown-editor .markdown-display,#markdown-editor .markdown-editor-wrap{-ms-flex:1;flex:1;position:relative}#markdown-editor .markdown-editor-wrap{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;border:1px solid #ddd}#markdown-editor .markdown-display{padding:0 16px;margin-left:-1px;overflow-y:scroll}#markdown-editor .markdown-display .page-content{margin:0 auto}.editor-toolbar{width:100%;padding:6px 16px;font-family:Roboto Mono;font-size:11px;line-height:1.6;border-bottom:1px solid #ddd;background-color:#eee;-ms-flex:none;flex:none}.editor-toolbar:after{content:'';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}label.inline{display:inline-block}label.checkbox,label.radio{font-weight:400}label.checkbox input[type=checkbox],label.checkbox input[type=radio],label.radio input[type=checkbox],label.radio input[type=radio]{margin-right:6px}label+p.small{margin-bottom:.8em}.toggle-switch{display:inline-block;background-color:#bbb;width:36px;height:14px;border-radius:7px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.toggle-switch,.toggle-switch:after{position:relative;transition:all .12s ease-in-out}.toggle-switch:after{content:'';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 textarea{display:block;width:100%;min-height:64px}.form-group .text-neg,.form-group .text-pos{padding:6px 0}.description-input textarea,.inline-input-style,.title-input input[type=text]{border:2px dotted #bbb;display:block;width:100%;padding:6px 12px}.title-input .input{width:100%}.description-input label,.title-input label{margin-top:16px;color:#666}.title-input input[type=text]{margin-top:0;padding-right:0;width:100%;color:#444}.title-input.page-title{font-size:.8em}.title-input.page-title .input{border:0;margin-bottom:-1px}.title-input.page-title input[type=text]{max-width:840px;margin:0 auto;border:none}.page-title input{display:block;width:100%;font-size:1.4em}.description-input textarea{font-size:15px;color:#666;width:100%}.search-box,div[editor-type=markdown] .title-input.page-title input[type=text]{max-width:100%}.search-box{position:relative}.search-box button{background-color:transparent;border:none;color:#0288d1;padding:0;margin:0;cursor:pointer;margin-left:12px}.search-box button[type=submit]{margin-left:-24px}.search-box input{padding-right:24px;width:300px;max-width:100%}input.outline{border:0;border-bottom:2px solid #ddd;border-radius:0}input.outline:active,input.outline:focus{border:0;border-bottom:2px solid #aaa;outline:0}#login-form label[for=remember]{margin:0}#login-form label.toggle-switch{margin-left:32px}.image-picker img{background-color:#bbb}div[toggle-switch]{height:18px;width:150px}table.table{width:100%}table.table tr{border-bottom:1px solid #ddd}table.table td,table.table th{text-align:left;border:none;padding:6px;vertical-align:middle}table.table th{font-weight:700}table.table tr:hover{background-color:#eee}table{max-width:100%}table thead{background-color:#f8f8f8;font-weight:500}table.no-style td{border:0;padding:0}table.list-table{margin:-6px}table.list-table td{border:0;vertical-align:middle;padding:6px}.anim.fadeIn{opacity:0;animation-name:fadeIn;animation-duration:.16s;animation-timing-function:ease-in-out;animation-fill-mode:forwards}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.anim.searchResult{opacity:0;transform:translate3d(580px,0,0);animation-name:searchResult;animation-duration:.22s;animation-fill-mode:forwards;animation-timing-function:cubic-bezier(.62,.28,.23,.99)}@keyframes searchResult{0%{opacity:0;transform:translate3d(400px,0,0)}to{opacity:1;transform:translateZ(0)}}.anim.notification{transform:translate3d(580px,0,0);animation-name:notification;animation-duration:3s;animation-timing-function:ease-in-out;animation-fill-mode:forwards}.anim.notification.stopped{animation-name:notificationStopped}@keyframes notification{0%{transform:translate3d(580px,0,0)}10%{transform:translateZ(0)}90%{transform:translateZ(0)}to{transform:translate3d(580px,0,0)}}@keyframes notificationStopped{0%{transform:translate3d(580px,0,0)}10%{transform:translateZ(0)}to{transform:translateZ(0)}}@keyframes menuIn{0%{opacity:0;transform:scale3d(0,0,1)}to{opacity:1;transform:scaleX(1)}}.anim.menuIn{transform-origin:100% 0;animation-name:menuIn;animation-duration:.12s;animation-delay:0s;animation-timing-function:cubic-bezier(.62,.28,.23,.99)}@keyframes loadingBob{0%{transform:translateZ(0)}30%{transform:translateZ(0)}50%{transform:translate3d(0,-10px,0)}70%{transform:translateZ(0)}to{transform:translateZ(0)}}@keyframes pointer{0%{transform:translate3d(0,20px,0) scale3d(0,0,0)}to{transform:translateZ(0) scaleX(1)}}.anim.pointer{transform-origin:50% 100%;animation-name:pointer;animation-duration:.18s;animation-delay:0s;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>div>.mce-tinymce.mce-container.mce-panel{margin:0 -1px}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel,.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body{-ms-flex:1 1 auto;flex:1 1 auto;display:-ms-flexbox!important;display:flex!important;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-toolbar-grp{-ms-flex:0 1 auto;flex:0 1 auto}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-edit-area{-ms-flex:1 1 auto;flex:1 1 auto;display:-ms-flexbox!important;display:flex!important;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-edit-area iframe{-ms-flex:1;flex:1}.hljs{display:block;overflow-x:auto;padding:.5em;background:#fdf6e3;color:#657b83;-webkit-text-size-adjust:none}.diff .hljs-header,.hljs-comment,.hljs-doctype,.hljs-pi,.lisp .hljs-string{color:#93a1a1}.css .hljs-tag,.hljs-addition,.hljs-keyword,.hljs-request,.hljs-status,.hljs-winutils,.method,.nginx .hljs-title{color:#859900}.hljs-command,.hljs-doctag,.hljs-hexcolor,.hljs-link_url,.hljs-number,.hljs-regexp,.hljs-rule .hljs-value,.hljs-string,.hljs-tag .hljs-value,.tex .hljs-formula{color:#2aa198}.css .hljs-function,.hljs-built_in,.hljs-chunk,.hljs-decorator,.hljs-id,.hljs-identifier,.hljs-localvars,.hljs-name,.hljs-title,.vhdl .hljs-literal{color:#268bd2}.hljs-attribute,.hljs-class .hljs-title,.hljs-constant,.hljs-link_reference,.hljs-parent,.hljs-type,.hljs-variable,.lisp .hljs-body,.smalltalk .hljs-number{color:#b58900}.css .hljs-pseudo,.diff .hljs-change,.hljs-attr_selector,.hljs-cdata,.hljs-header,.hljs-pragma,.hljs-preprocessor,.hljs-preprocessor .hljs-keyword,.hljs-shebang,.hljs-special,.hljs-subst,.hljs-symbol,.hljs-symbol .hljs-string{color:#cb4b16}.hljs-deletion,.hljs-important{color:#dc322f}.hljs-link_label{color:#6c71c4}.tex .hljs-formula{background:#eee8d5}.overlay{background-color:rgba(0,0,0,.2);z-index:95536;width:100%;height:100%;min-width:100%;min-height:100%;right:0}.image-manager-body,.overlay{position:fixed;top:0;left: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;z-index:999;display:-ms-flexbox;display:flex}.image-manager-body .title-input input[type=text],.image-manager-body h1,.image-manager-body h2,.image-manager-body h3,.title-input .image-manager-body input[type=text]{font-weight:300}#image-manager .dropzone-container{position:relative;border:3px dashed #ddd}.image-manager-bottom{position:absolute;bottom:0;right:0}.image-manager-list .image{display:block;position:relative;border-radius:0;float:left;margin:0;cursor:pointer;width:16.6666666667%;height:auto;border:1px solid #ddd;box-shadow:0 0 0 0 transparent;transition:all .16s cubic-bezier(.4,0,1,1);overflow:hidden}.image-manager-list .image.selected{transform:scale3d(.92,.92,.92);border:1px solid #444;box-shadow:0 1px 2px 0 rgba(0,0,0,.2)}.image-manager-list .image img{width:100%;max-width:100%;display:block}.image-manager-list .image .image-meta{position:absolute;width:100%;bottom:0;left:0;color:#eee;background-color:rgba(0,0,0,.4);font-size:10px;padding:3px 4px}.image-manager-list .image .image-meta span{display:block}@media screen and (max-width:1100px){.image-manager-list .image{width:25%}}@media screen and (max-width:800px){.image-manager-list .image .image-meta{display:none}}#image-manager .load-more{display:block;text-align:center;background-color:#eee;padding:12px 16px;color:#aaa;clear:both;font-size:20px;cursor:pointer;font-style:italic}.image-manager-sidebar{width:300px;height:100%;margin-left:1px;padding:0 24px;border-left:1px solid #ddd}.image-manager-close{position:absolute;top:0;right:0;margin:0;border-radius:0}.image-manager-list{overflow-y:scroll;-ms-flex:1;flex:1}.image-manager-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;height:100%;-ms-flex:1;flex:1}.image-manager-content .container{width:100%}.dz-message,.image-manager-content .full-tab{text-align:center}.dz-message{font-size:1.4em;font-style:italic;color:#aaa;cursor:pointer;padding:32px 16px;transition:all .12s ease-in-out}.dz-drag-hover .dz-message{background-color:#107ed2;color:#eee}@keyframes passing-through{0%{opacity:0;transform:translateY(40px)}30%,70%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-40px)}}@keyframes slide-in{0%{opacity:0;transform:translateY(40px)}30%{opacity:1;transform:translateY(0)}}@keyframes pulse{0%{transform:scale(1)}10%{transform:scale(1.1)}20%{transform:scale(1)}}.dropzone,.dropzone *{box-sizing:border-box}.dz-preview{position:relative;display:inline-block;vertical-align:top;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(180deg,#eee,#ddd)}.dz-preview.dz-file-preview .dz-details{opacity:1}.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}.dz-preview:hover .dz-details{opacity:1}.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 hsla(0,0%,78%,.8);background-color:hsla(0,0%,100%,.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:hsla(0,0%,100%,.4);padding:0 .4em;border-radius:3px}.dz-preview:hover .dz-image img{-webkit-filter:blur(8px);filter:blur(8px)}.dz-preview .dz-image{border-radius:4px;overflow:hidden;width:80px;height:80px;position:relative;display:block;z-index:10}.dz-preview .dz-image img{display:block}.dz-preview.dz-success .dz-success-mark{animation:passing-through 3s cubic-bezier(.77,0,.175,1)}.dz-preview.dz-error .dz-error-mark{opacity:1;animation:slide-in 3s cubic-bezier(.77,0,.175,1)}.dz-preview .dz-error-mark,.dz-preview .dz-success-mark{pointer-events:none;opacity:0;z-index:500;position:absolute;display:block;top:50%;left:50%;margin-left:-27px;margin-top:-27px}.dz-preview .dz-error-mark svg,.dz-preview .dz-success-mark svg{display:block;width:54px;height:54px}.dz-preview.dz-processing .dz-progress{opacity:1;transition:all .2s linear}.dz-preview.dz-complete .dz-progress{opacity:0;transition:opacity .4s ease-in}.dz-preview:not(.dz-processing) .dz-progress{animation:pulse 6s ease infinite}.dz-preview .dz-progress{opacity:1;z-index:1000;pointer-events:none;position:absolute;height:16px;left:50%;top:50%;margin-top:-8px;width:80px;margin-left:-40px;background:hsla(0,0%,100%,.9);transform:scale(1);border-radius:8px;overflow:hidden}.dz-preview .dz-progress .dz-upload{background:#333;background:linear-gradient(180deg,#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{content:'';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 .padded{padding:16px}header .links{display:inline-block;vertical-align:top;margin-right:32px}@media screen and (max-width:992px){header .links{margin-right:16px}}header .links a{display:inline-block;padding:24px;color:#fff}header .links a:last-child{padding-right:0}@media screen and (max-width:992px){header .links a{padding:24px 12px}}header .avatar,header .user-name{display:inline-block}header .avatar{width:30px;height:30px}header .user-name{padding-top:24px;display:inline-block;cursor:pointer}header .user-name,header .user-name>*{vertical-align:top}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}}@media screen and (max-width:992px){header{text-align:center}header .float.right{float:none}}@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;display:inline-block;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{vertical-align:top;margin-left:-24px;color:#fff;top:6px;right:4px;display:inline-block;position:absolute}form.search-box button:hover{color:#fff}.logo{display:inline-block}.logo:hover{color:#fff;text-decoration:none}.logo-text{display:inline-block;font-size:1.8em;color:#fff;font-weight:400;padding:24px 24px 24px 0;vertical-align:top;line-height:1}.logo-image{margin:16px 12px 16px 0;vertical-align:top;height:43px}.breadcrumbs span.sep{color:#aaa;padding:0 6px}.faded a,.faded button,.faded span,.faded span>div{color:#666}.faded .text-button{opacity:.5;transition:all .12s ease-in-out}.faded .text-button:hover{opacity:1;text-decoration:none}.faded span.faded-text{display:inline-block;padding:12px}.faded-small{color:#000;font-size:.9em;background-color:rgba(21,101,192,.15)}.action-buttons .text-button,.breadcrumbs .text-button{display:inline-block;padding:12px}.action-buttons .text-button:last-child,.breadcrumbs .text-button:last-child{padding-right:0}.action-buttons{text-align:right}.action-buttons.text-left{text-align:left}.action-buttons.text-left .text-button{padding-right:16px;padding-left:0}.action-buttons.text-center,.nav-tabs{text-align:center}.nav-tabs .tab-item,.nav-tabs a{padding:16px;display:inline-block;color:#666;cursor:pointer}.nav-tabs .tab-item.selected,.nav-tabs a.selected{border-bottom:2px solid #0288d1}.page-list h3{margin:24px 0 6px;font-size:1.666em}.page-list a.chapter{color:#ef7c3c}.page-list .inset-list{display:none;overflow:hidden;margin-bottom:24px}.page-list h4{display:block;margin:12px 0 0;border-left:5px solid #0288d1;padding:6px 0 6px 16px}.page-list h4.draft{border-left-color:#9a60da}.page-list hr{margin-top:0}.page-list .book,.page-list .chapter,.page-list .page{padding-left:24px}.page-list .page{border-left:5px solid #0288d1}.page-list .page.draft{border-left:5px solid #9a60da}.page-list .page.draft .text-page{color:#9a60da}.page-list .chapter{border-left:5px solid #ef7c3c}.page-list .book{border-left:5px solid #009688}.page-list .meta{margin-top:-16px;font-size:.95em}.page-list .meta span{margin-right:12px}.chapter-toggle{cursor:pointer;margin:0 0 24px;transition:all .18s ease-in-out;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.chapter-toggle i.zmdi-caret-right{transition:all .18s ease-in-out;transform:rotate(0deg);transform-origin:25% 50%}.chapter-toggle.open{margin-bottom:0}.chapter-toggle.open i.zmdi-caret-right{transform:rotate(90deg)}.page-nav-list{margin-left:2px;list-style:none}.page-nav-list li{padding-left:6px;border-left:2px solid #888;margin-bottom:4px}.page-nav-list li a{color:#555}.page-nav-list .nav-H2{margin-left:12px;font-size:.95em}.page-nav-list .nav-H3{margin-left:24px;font-size:.9em}.page-nav-list .nav-H4{margin-left:36px;font-size:.85em}.page-nav-list .nav-H5{margin-left:48px;font-size:.8em}.page-nav-list .nav-H6{margin-left:60px;font-size:.75em}.book-tree{padding:24px 0 0;position:relative;right:0;top:0;transition:.24s ease-in-out;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:hover{text-decoration:none}.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{float:left}.activity-list-item .left+.right{margin-left:42px}ul.pagination{display:inline-block;list-style:none;margin:16px 0;padding-left:1px}ul.pagination li{float:left}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}.compact ul.pagination{margin:0}.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>p.empty-text{display:block;font-size:15px}.entity-list.compact hr{margin:0}.dropdown-container{display:inline-block;vertical-align:top;position:relative}.dropdown-container ul{display:none;position:absolute;z-index:999;top:0;list-style:none;right:0;margin:16px 0;background-color:#fff;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border-radius:1px;border:1px solid #eee;min-width:180px;padding:6px 0;color:#555;text-align:left!important}.dropdown-container ul.wide{min-width:220px}.dropdown-container ul .text-muted{color:#999}.dropdown-container ul a{display:block;padding:6px 16px;color:#555}.dropdown-container ul a:hover{text-decoration:none;background-color:#eee}.dropdown-container ul a i{margin-right:16px;padding-right:0;display:inline;width:22px}.dropdown-container ul li.border-bottom{border-bottom:1px solid #ddd}#page-show>.row .col-md-9{z-index:2}#page-show>.row .col-md-3{z-index:1}.page-editor{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}.page-editor .faded-small{height:auto}.page-editor .edit-area{-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column}.page-style.editor{padding:0!important}.page-content{max-width:840px;overflow-wrap:break-word}.page-content .align-left{text-align:left}.page-content img.align-left,.page-content table.align-left{float:left!important;margin:6px 12px 6px 0}.page-content .align-right{float:right!important}.page-content img.align-right,.page-content table.align-right{text-align:right;margin:6px 0 6px 12px}.page-content .align-center{text-align:center}.page-content img{max-width:100%;height:auto}.page-content .title-input input[type=text],.page-content h1,.page-content h2,.page-content h3,.page-content h4,.page-content h5,.page-content h6,.page-content pre,.title-input .page-content input[type=text]{clear:left}.page-content hr{clear:both;margin:16px 0}.page-content table{word-break:break-all;word-break:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto}.pointer-container{position:relative;display:none;left:0;z-index:10}.pointer{border:1px solid #ccc;display:inline-block;padding:12px;border-radius:4px;box-shadow:0 0 8px 1px hsla(0,3%,83%,.35);top:-60px;width:272px;z-index:55}.pointer,.pointer:before{position:absolute;background-color:#fff}.pointer:before{left:50%;bottom:-9px;width:16px;height:16px;margin-left:-8px;content:'';display:block;transform:rotate(45deg);transform-origin:50% 50%;border-bottom:1px solid #ccc;border-right:1px solid #ccc;z-index:56}.pointer input{background-color:#fff;border:1px solid #ddd;color:#666;width:172px;z-index:40}.pointer button,.pointer input{position:relative;border-radius:0;height:28px;font-size:12px;vertical-align:top}.pointer>i{color:#888;font-size:18px;padding-top:4px}.pointer .button{line-height:1;margin:0 0 0 -4px;box-shadow:none}.floating-toolbox{background-color:#fff;border:1px solid #ddd;right:64px;z-index:99;width:48px;overflow:hidden;-ms-flex-align:stretch;align-items:stretch;-ms-flex-direction:row;flex-direction:row;display:-ms-flexbox;display:flex;transition:width .18s ease-in-out;margin-top:-1px;min-height:0}.floating-toolbox.open{width:480px}.floating-toolbox [toolbox-toggle] i{transition:transform .18s ease-in-out}.floating-toolbox [toolbox-toggle]{transition:background-color .18s ease-in-out}.floating-toolbox.open [toolbox-toggle]{background-color:rgba(255,0,0,.29)}.floating-toolbox.open [toolbox-toggle] i{transform:rotate(180deg)}.floating-toolbox>div{-ms-flex:1;flex:1;position:relative}.floating-toolbox .tabs{display:block;border-right:1px solid #ddd;width:48px;-ms-flex:0 1 auto;flex:0 1 auto}.floating-toolbox .tabs i{color:rgba(0,0,0,.5);padding:0;margin:0}.floating-toolbox .tabs>span{display:block;cursor:pointer;padding:12px 16px;font-size:13.5px;line-height:1.6;border-bottom:1px solid hsla(0,0%,100%,.3)}.floating-toolbox.open .tabs>span.active{color:#444;background-color:rgba(0,0,0,.1)}.floating-toolbox div[tab-content]{padding-bottom:45px;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;min-height:0;overflow-y:scroll}.floating-toolbox div[tab-content] .padded{-ms-flex:1;flex:1;padding-top:0}.floating-toolbox h4{font-size:24px;margin:16px 0 0;padding:0 24px 12px}.floating-toolbox .tags input{max-width:100%;width:100%;min-width:50px}.floating-toolbox .tags td{padding-right:12px;padding-top:12px;position:relative}.floating-toolbox button.pos{position:absolute;bottom:0;display:block;width:100%;padding:12px;height:45px;border:0;margin:0;box-shadow:none;border-radius:0}.floating-toolbox button.pos:hover{box-shadow:none}.floating-toolbox .handle{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:move;color:#999}.floating-toolbox form{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;overflow-y:scroll}[tab-content]{display:none}.tag-display{margin:32px 6px;border:1px solid #ddd;min-width:180px;max-width:320px;opacity:.7;z-index:5;position:relative}.tag-display table{width:100%;margin:0;padding:0}.tag-display span{color:#666;margin-left:12px}.tag-display .heading,.tag-display td{padding:6px 12px;color:#444}.tag-display td{border:0;border-bottom:1px solid #ddd}.tag-display .tag-value,.tag-display td i{color:#888}.tag-display tr:last-child td{border-bottom:none}.tag-display .tag{padding:12px}.suggestion-box{position:absolute;background-color:#fff;border:1px solid #bbb;box-shadow:0 0 4px 1px #ccc;list-style:none;z-index:100;padding:0;margin:0;border-radius:3px}.suggestion-box li{display:block;padding:6px 12px;border-bottom:1px solid #ddd}.suggestion-box li:last-child{border-bottom:0}.suggestion-box li.active{background-color:#eee}[v-cloak],[v-show]{display:none}.ng-cloak,[ng-cloak],[ng\:cloak]{display:none!important;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}[ng-click]{cursor:pointer}.dragged{position:absolute;opacity:.5;z-index:2000}body.dragging,body.dragging *{cursor:move!important}.avatar{border-radius:100%;background-color:#eee;width:30px;height:30px}.avatar.med{width:40px;height:40px}.avatar.large{width:80px;height:80px}.avatar.huge{width:120px;height:120px}.avatar.square,.notification{border-radius:3px}.notification{position:fixed;top:0;right:0;margin:64px 32px;padding:24px 32px;background-color:#eee;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);z-index:999999;display:table;cursor:pointer;max-width:480px}.notification i,.notification span{display:table-cell}.notification i{font-size:2em;padding-right:24px}.notification span{vertical-align:middle}.notification.pos{background-color:#52a256;color:#eee}.notification.neg{background-color:#e84f4f;color:#eee}.notification.warning{background-color:#e27b41;color:#eee}.loading-container{position:relative;display:block;height:10px;margin:32px auto}.loading-container>div{width:10px;height:10px;border-radius:10px;display:inline-block;vertical-align:top;transform:translateZ(0);animation-name:loadingBob;animation-duration:1.4s;animation-iteration-count:infinite;animation-timing-function:cubic-bezier(.62,.28,.23,.99);margin-right:4px;background-color:#0288d1;animation-delay:.3s}.loading-container>div:first-child{left:-16px;background-color:#009688;animation-delay:0s}.loading-container>div:last-child{left:16px;background-color:#ef7c3c;animation-delay:.6s}.search-results>h3 a{font-size:.66em;color:#0288d1;padding-left:16px}.search-results>h3 a i{padding-right:12px}#back-to-top{background-color:#0288d1;position:fixed;bottom:16px;right:24px;padding:6px 12px;cursor:pointer;color:#fff;width:40px;height:40px;border-radius:40px;transition:all .18s ease-in-out;opacity:0;z-index:999;overflow:hidden}#back-to-top:hover{width:136px;opacity:1!important}#back-to-top:hover span{display:inline-block}#back-to-top .inner{width:136px}#back-to-top i{margin:0;font-size:28px;padding:0 12px 0 0}#back-to-top span{line-height:12px;position:relative;top:-5px}.contained-search-box{display:-ms-flexbox;display:flex}.contained-search-box button,.contained-search-box input{border-radius:0;border:1px solid #ddd;margin-left:-1px}.contained-search-box input{-ms-flex:5;flex:5}.contained-search-box input:active,.contained-search-box input:focus{outline:0}.contained-search-box button{width:60px}.contained-search-box button i{padding:0}.contained-search-box button.cancel.active{background-color:#e84f4f;color:#eee}.entity-selector{border:1px solid #ddd;border-radius:3px;overflow:hidden;font-size:.8em}.entity-selector input[type=text]{width:100%;display:block;border-radius:0;border:0;border-bottom:1px solid #ddd;font-size:16px;padding:12px 16px}.entity-selector .entity-list{overflow-y:scroll;height:400px;background-color:#eee}.entity-selector .loading{height:400px;padding-top:24px}.entity-selector .entity-list>p{text-align:center;padding-top:24px;font-size:1.333em}.entity-selector .entity-list>div{padding-left:16px;padding-right:16px;background-color:#fff;transition:all .12s ease-in-out;cursor:pointer}.entity-list-item.selected a,.entity-list-item.selected h3,.entity-list-item.selected i,.entity-list-item.selected p,.entity-list-item.selected span{color:#eee} \ No newline at end of file diff --git a/public/js/common.js b/public/js/common.js index 83d0716e8e0..53afcf8cafd 100644 --- a/public/js/common.js +++ b/public/js/common.js @@ -1,12 +1,12 @@ -!function e(t,n,r){function i(a,s){if(!n[a]){if(!t[a]){var u="function"==typeof require&&require;if(!s&&u)return u(a,!0);if(o)return o(a,!0);var l=new Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}var c=n[a]={exports:{}};t[a][0].call(c.exports,function(e){var n=t[a][1][e];return i(n?n:e)},c,c.exports,e,t,n,r)}return n[a].exports}for(var o="function"==typeof require&&require,a=0;a0&&(r+=i>0?" ":"",r+=n?t+e:e+t)}),r}function a(e,t){var n=e.indexOf(t);t>=0&&e.splice(n,1)}function s(e){if(e instanceof U)switch(e.length){case 0:return[];case 1:if(e[0].nodeType===Z)return e;break;default:return U(u(e))}return e.nodeType===Z?U(e):void 0}function u(e){if(!e[0])return e;for(var t=0;t=0)&&(n=D(n)),0===n&&(n=null),r[t]=n}}),r}function D(e){var t=0,n=e.split(/\s*,\s*/);return V(n,function(e){"s"==e.charAt(e.length-1)&&(e=e.substring(0,e.length-1)),e=parseFloat(e)||0,t=t?Math.max(e,t):e}),t}function T(e){return 0===e||null!=e}function M(e,t){var n=F,r=e+"s";return t?n+=ie:r+=" linear all",[n,r]}function A(){var e=Object.create(null);return{flush:function(){e=Object.create(null)},count:function(t){var n=e[t];return n?n.total:0},get:function(t){var n=e[t];return n&&n.value},put:function(t,n){e[t]?e[t].total++:e[t]={total:1,value:n}}}}function O(e,t,n){V(n,function(n){e[n]=W(e[n])?e[n]:t.style.getPropertyValue(n)})}var F,N,I,P,j=t.noop,L=t.copy,R=t.extend,U=t.element,V=t.forEach,z=t.isArray,H=t.isString,q=t.isObject,Y=t.isUndefined,W=t.isDefined,B=t.isFunction,G=t.isElement,Z=1,Q="-add",J="-remove",X="ng-",K="-active",ee="-prepare",te="ng-animate",ne="$$ngAnimateChildren",re="";Y(e.ontransitionend)&&W(e.onwebkittransitionend)?(re="-webkit-",F="WebkitTransition",N="webkitTransitionEnd transitionend"):(F="transition",N="transitionend"),Y(e.onanimationend)&&W(e.onwebkitanimationend)?(re="-webkit-",I="WebkitAnimation",P="webkitAnimationEnd animationend"):(I="animation",P="animationend");var ie="Duration",oe="Property",ae="Delay",se="TimingFunction",ue="IterationCount",le="PlayState",ce=9999,fe=I+ae,de=I+ie,he=F+ae,pe=F+ie,me=t.$$minErr("ng"),ge=["$$rAF",function(e){function t(e){r=r.concat(e),n()}function n(){if(r.length){for(var t=r.shift(),o=0;o0&&(l=n.get(s),!l)){var c=o(a,"-stagger");r.addClass(i,c),l=E(e,i,u),l.animationDuration=Math.max(l.animationDuration,0),l.transitionDuration=Math.max(l.transitionDuration,0),r.removeClass(i,c),n.put(s,l)}return l||{}}function D(e){H.push(e),g.waitUntilQuiet(function(){t.flush(),n.flush();for(var e=l(),r=0;r=re&&r>=ie&&(Z=!0,g())}function H(){function t(){if(!B){if(b(!1),V(le,function(e){var t=e[0],n=e[1];W.style[t]=n}),R(e,q),r.addClass(e,Se),Re.recalculateTimingStyles){if(Ce=W.className+" "+xe,De=y(W,Ce),je=A(W,Ce,De),Le=je.maxDelay,ne=Math.max(Le,0),ie=je.maxDuration,0===ie)return void g();Re.hasTransitions=je.transitionDuration>0,Re.hasAnimations=je.animationDuration>0}if(Re.applyAnimationDelay&&(Le="boolean"!=typeof q.delay&&T(q.delay)?parseFloat(q.delay):Le,ne=Math.max(Le,0),je.animationDelay=Le,Ue=_(Le,!0),le.push(Ue),W.style[Ue[0]]=Ue[1]),re=ne*ye,ae=ie*ye,q.easing){var t,i=q.easing;Re.hasTransitions&&(t=F+se,le.push([t,i]),W.style[t]=i),Re.hasAnimations&&(t=I+se,le.push([t,i]),W.style[t]=i)}je.transitionDuration&&he.push(N),je.animationDuration&&he.push(P),ue=Date.now();var o=re+we*ae,a=ue+o,s=e.data($e)||[],l=!0;if(s.length){var c=s[0];l=a>c.expectedEndTime,l?u.cancel(c.timer):s.push(g)}if(l){var f=u(n,o,!1);s[0]={timer:f,expectedEndTime:a},s.push(g),e.data($e,s)}he.length&&e.on(he.join(" "),U),q.to&&(q.cleanupStyles&&O(Y,W,Object.keys(q.to)),m(e,q))}}function n(){var t=e.data($e);if(t){for(var n=1;n0&&(je.transitionDuration&&0===Te.transitionDuration||je.animationDuration&&0===Te.animationDuration)&&Math.max(Te.animationDelay,Te.transitionDelay);o?u(t,Math.floor(o*Ie*ye),!1):t(),te.resume=function(){i(!0)},te.pause=function(){i(!1)}}}var q=n||{};q.$$prepared||(q=d(L(q)));var Y={},W=$(e);if(!W||!W.parentNode||!v.enabled())return E();var B,G,Z,ee,te,ne,re,ie,ae,ue,le=[],fe=e.attr("class"),de=i(q),he=[];if(0===q.duration||!c.animations&&!c.transitions)return E();var pe=q.event&&z(q.event)?q.event.join(" "):q.event,me=pe&&q.structural,ge="",ve="";me?ge=o(pe,X,!0):pe&&(ge=pe),q.addClass&&(ve+=o(q.addClass,Q)),q.removeClass&&(ve.length&&(ve+=" "),ve+=o(q.removeClass,J)),q.applyClassesEarly&&ve.length&&R(e,q);var xe=[ge,ve].join(" ").trim(),Ce=fe+" "+xe,Se=o(xe,K),_e=de.to&&Object.keys(de.to).length>0,Ee=(q.keyframeStyle||"").length>0;if(!Ee&&!_e&&!xe)return E();var De,Te;if(q.stagger>0){var Me=parseFloat(q.stagger);Te={transitionDelay:Me,animationDelay:Me,transitionDuration:0,animationDuration:0}}else De=y(W,Ce),Te=C(W,xe,De,ke);q.$$skipPreparationClasses||r.addClass(e,xe);var Ae;if(q.transitionStyle){var Oe=[F,q.transitionStyle];k(W,Oe),le.push(Oe)}if(q.duration>=0){Ae=W.style[F].length>0;var Fe=M(q.duration,Ae);k(W,Fe),le.push(Fe)}if(q.keyframeStyle){var Ne=[I,q.keyframeStyle];k(W,Ne),le.push(Ne)}var Ie=Te?q.staggerIndex>=0?q.staggerIndex:t.count(De):0,Pe=0===Ie;Pe&&!q.skipBlocking&&w(W,ce);var je=A(W,Ce,De),Le=je.maxDelay;ne=Math.max(Le,0),ie=je.maxDuration;var Re={};if(Re.hasTransitions=je.transitionDuration>0,Re.hasAnimations=je.animationDuration>0,Re.hasTransitionAll=Re.hasTransitions&&"all"==je.transitionProperty,Re.applyTransitionDuration=_e&&(Re.hasTransitions&&!Re.hasTransitionAll||Re.hasAnimations&&!Re.hasTransitions),Re.applyAnimationDuration=q.duration&&Re.hasAnimations,Re.applyTransitionDelay=T(q.delay)&&(Re.applyTransitionDuration||Re.hasTransitions),Re.applyAnimationDelay=T(q.delay)&&Re.hasAnimations,Re.recalculateTimingStyles=ve.length>0,(Re.applyTransitionDuration||Re.applyAnimationDuration)&&(ie=q.duration?parseFloat(q.duration):ie,Re.applyTransitionDuration&&(Re.hasTransitions=!0,je.transitionDuration=ie,Ae=W.style[F+oe].length>0,le.push(M(ie,Ae))),Re.applyAnimationDuration&&(Re.hasAnimations=!0,je.animationDuration=ie,le.push(S(ie)))),0===ie&&!Re.recalculateTimingStyles)return E();if(null!=q.delay){var Ue;"boolean"!=typeof q.delay&&(Ue=parseFloat(q.delay),ne=Math.max(Ue,0)),Re.applyTransitionDelay&&le.push(_(Ue)),Re.applyAnimationDelay&&le.push(_(Ue,!0))}return null==q.duration&&je.transitionDuration>0&&(Re.recalculateTimingStyles=Re.recalculateTimingStyles||Pe),re=ne*ye,ae=ie*ye,q.skipBlocking||(Re.blockTransition=je.transitionDuration>0,Re.blockKeyframeAnimation=je.animationDuration>0&&Te.animationDelay>0&&0===Te.animationDuration),q.from&&(q.cleanupStyles&&O(Y,W,Object.keys(q.from)),p(e,q)),Re.blockTransition||Re.blockKeyframeAnimation?b(ie):q.skipBlocking||w(W,!1),{$$willAnimate:!0,end:l,start:function(){return B?void 0:(te={end:l,cancel:f,resume:null,pause:null},ee=new s(te),D(H),ee)}}}}]}],Se=["$$animationProvider",function(e){function t(e){return e.parentNode&&11===e.parentNode.nodeType}e.drivers.push("$$animateCssDriver");var n="ng-animate-shim",r="ng-anchor",i="ng-anchor-out",o="ng-anchor-in";this.$get=["$animateCss","$rootScope","$$AnimateRunner","$rootElement","$sniffer","$$jqLite","$document",function(e,a,s,u,l,c,d){function h(e){return e.replace(/\bng-\S+\b/g,"")}function p(e,t){return H(e)&&(e=e.split(" ")),H(t)&&(t=t.split(" ")),e.filter(function(e){return-1===t.indexOf(e)}).join(" ")}function m(t,a,u){function l(e){var t={},n=$(e).getBoundingClientRect();return V(["width","height","top","left"],function(e){var r=n[e];switch(e){case"top":r+=y.scrollTop;break;case"left":r+=y.scrollLeft}t[e]=Math.floor(r)+"px"}),t}function c(){var t=e(g,{addClass:i,delay:!0,from:l(a)});return t.$$willAnimate?t:null}function f(e){return e.attr("class")||""}function d(){var t=h(f(u)),n=p(t,v),r=p(v,t),a=e(g,{to:l(u),addClass:o+" "+n,removeClass:i+" "+r,delay:!0});return a.$$willAnimate?a:null}function m(){g.remove(),a.removeClass(n),u.removeClass(n)}var g=U($(a).cloneNode(!0)),v=h(f(g));a.addClass(n),u.addClass(n),g.addClass(r),w.append(g);var b,x=c();if(!x&&(b=d(),!b))return m();var k=x||b;return{start:function(){function e(){n&&n.end()}var t,n=k.start();return n.done(function(){return n=null,!b&&(b=d())?(n=b.start(),n.done(function(){n=null,m(),t.complete()}),n):(m(),void t.complete())}),t=new s({end:e,cancel:e})}}}function g(e,t,n,r){var i=v(e,j),o=v(t,j),a=[];return V(r,function(e){var t=e.out,r=e["in"],i=m(n,t,r);i&&a.push(i)}),i||o||0!==a.length?{start:function(){function e(){V(t,function(e){e.end()})}var t=[];i&&t.push(i.start()),o&&t.push(o.start()),V(a,function(e){t.push(e.start())});var n=new s({end:e,cancel:e});return s.all(t,function(e){n.complete(e)}),n}}:void 0}function v(t){var n=t.element,r=t.options||{};t.structural&&(r.event=t.event,r.structural=!0,r.applyClassesEarly=!0,"leave"===t.event&&(r.onDone=r.domOperation)),r.preparationClasses&&(r.event=C(r.event,r.preparationClasses));var i=e(n,r);return i.$$willAnimate?i:null}if(!l.animations&&!l.transitions)return j;var y=d[0].body,b=$(u),w=U(t(b)||y.contains(b)?b:y);f(c);return function(e){return e.from&&e.to?g(e.from,e.to,e.classes,e.anchors):v(e)}}]}],_e=["$animateProvider",function(e){this.$get=["$injector","$$AnimateRunner","$$jqLite",function(t,n,r){function i(n){n=z(n)?n:n.split(" ");for(var r=[],i={},o=0;o0,r=(e.removeClass||"").length>0;return t?n&&r:n||r}var c=1,p=2,m=" ",v=this.rules={skip:[],cancel:[],join:[]};v.join.push(function(e,t,n){return!t.structural&&l(t)}),v.skip.push(function(e,t,n){return!t.structural&&!l(t)}),v.skip.push(function(e,t,n){return"leave"==n.event&&t.structural}),v.skip.push(function(e,t,n){return n.structural&&n.state===p&&!t.structural}),v.cancel.push(function(e,t,n){return n.structural&&t.structural}),v.cancel.push(function(e,t,n){return n.state===p&&t.structural}),v.cancel.push(function(e,t,n){if(n.structural)return!1;var r=t.addClass,i=t.removeClass,a=n.addClass,s=n.removeClass;return Y(r)&&Y(i)||Y(a)&&Y(s)?!1:o(r,s)||o(i,a)}),this.$get=["$$rAF","$rootScope","$rootElement","$document","$$HashMap","$$animation","$$AnimateRunner","$templateRequest","$$jqLite","$$forceReflow",function(i,o,m,v,w,x,k,C,S,_){function E(){var e=!1;return function(t){e?t():o.$$postDigest(function(){e=!0,t()})}}function D(e,t){return g(e,t,{})}function T(e,t,n){var r=$(t),i=$(e),o=[],a=K[n];return a&&V(a,function(e){ie.call(e.node,r)?o.push(e.callback):"leave"===n&&ie.call(e.node,i)&&o.push(e.callback)}),o}function M(e,t,n){var r=u(t);return e.filter(function(e){var t=e.node===r&&(!n||e.callback===n);return!t})}function A(e,t){"close"!==e||t[0].parentNode||oe.off(t)}function O(e,t,n){function r(t,n,r,o){S(function(){var t=T(m,e,n);t.length?i(function(){V(t,function(t){t(e,r,o)}),A(r,e)}):A(r,e)}),t.progress(n,r,o)}function u(t){b(e,w),re(e,w),h(e,w),w.domOperation(),C.complete(!t)}var f,m,w=L(n);e=s(e),e&&(f=$(e),m=e.parent()),w=d(w);var C=new k,S=E();if(z(w.addClass)&&(w.addClass=w.addClass.join(" ")),w.addClass&&!H(w.addClass)&&(w.addClass=null),z(w.removeClass)&&(w.removeClass=w.removeClass.join(" ")),w.removeClass&&!H(w.removeClass)&&(w.removeClass=null),w.from&&!q(w.from)&&(w.from=null),w.to&&!q(w.to)&&(w.to=null),!f)return u(),C;var _=[f.className,w.addClass,w.removeClass].join(" ");if(!te(_))return u(),C;var M=["enter","move","leave"].indexOf(t)>=0,O=v[0].hidden,I=!J||O||Q.get(f),R=!I&&B.get(f)||{},U=!!R.state;if(I||U&&R.state==c||(I=!P(e,m,t)),I)return O&&r(C,t,"start"),u(),O&&r(C,t,"close"),C;M&&F(e);var Y={structural:M,element:e,event:t,addClass:w.addClass,removeClass:w.removeClass,close:u,options:w,runner:C};if(U){var W=a("skip",e,Y,R);if(W)return R.state===p?(u(),C):(g(e,R,Y),R.runner);var G=a("cancel",e,Y,R);if(G)if(R.state===p)R.runner.end();else{if(!R.structural)return g(e,R,Y),R.runner;R.close()}else{var Z=a("join",e,Y,R);if(Z){if(R.state!==p)return y(e,M?t:null,w),t=Y.event=R.event,w=g(e,R,Y),R.runner;D(e,Y)}}}else D(e,Y);var X=Y.structural;if(X||(X="animate"===Y.event&&Object.keys(Y.options.to||{}).length>0||l(Y)),!X)return u(),N(e),C;var K=(R.counter||0)+1;return Y.counter=K,j(e,c,Y),o.$$postDigest(function(){var n=B.get(f),i=!n;n=n||{};var o=e.parent()||[],a=o.length>0&&("animate"===n.event||n.structural||l(n));if(i||n.counter!==K||!a)return i&&(re(e,w),h(e,w)),(i||M&&n.event!==t)&&(w.domOperation(),C.end()),void(a||N(e));t=!n.structural&&l(n,!0)?"setClass":n.event,j(e,p);var s=x(e,t,n.options);C.setHost(s),r(C,t,"start",{}),s.done(function(n){u(!n);var i=B.get(f);i&&i.counter===K&&N($(e)),r(C,t,"close",{})})}),C}function F(e){var t=$(e),n=t.querySelectorAll("["+De+"]");V(n,function(e){var t=parseInt(e.getAttribute(De)),n=B.get(e);if(n)switch(t){case p:n.runner.end();case c:B.remove(e)}})}function N(e){var t=$(e);t.removeAttribute(De),B.remove(t)}function I(e,t){return $(e)===$(t)}function P(e,t,n){var r,i=U(v[0].body),o=I(e,i)||"HTML"===e[0].nodeName,a=I(e,m),s=!1,u=Q.get($(e)),l=U.data(e[0],Te);for(l&&(t=l),t=$(t);t&&(a||(a=I(t,m)),t.nodeType===Z);){var c=B.get(t)||{};if(!s){var f=Q.get(t);if(f===!0&&u!==!1){u=!0;break}f===!1&&(u=!1),s=c.structural}if(Y(r)||r===!0){var d=U.data(t,ne);W(d)&&(r=d)}if(s&&r===!1)break;if(o||(o=I(t,i)),o&&a)break;t=a||!(l=U.data(t,Te))?t.parentNode:$(l)}var h=(!s||r)&&u!==!0;return h&&a&&o}function j(e,t,n){n=n||{},n.state=t;var r=$(e);r.setAttribute(De,t);var i=B.get(r),o=i?R(i,n):n;B.put(r,o)}var B=new w,Q=new w,J=null,X=o.$watch(function(){return 0===C.totalPendingRequests},function(e){e&&(X(),o.$$postDigest(function(){o.$$postDigest(function(){null===J&&(J=!0)})}))}),K={},ee=r.classNameFilter(),te=ee?function(e){return ee.test(e)}:function(){return!0},re=f(S),ie=e.Node.prototype.contains||function(e){return this===e||!!(16&this.compareDocumentPosition(e))},oe={on:function(e,t,n){var r=u(t);K[e]=K[e]||[],K[e].push({node:r,callback:n}),U(t).on("$destroy",function(){var i=B.get(r);i||oe.off(e,t,n)})},off:function(e,n,r){if(1!==arguments.length||t.isString(arguments[0])){var i=K[e];i&&(K[e]=1===arguments.length?null:M(i,n,r))}else{n=arguments[0];for(var o in K)K[o]=M(K[o],n)}},pin:function(e,t){n(G(e),"element","not an element"),n(G(t),"parentElement","not an element"),e.data(Te,t)},push:function(e,t,n,r){return n=n||{},n.domOperation=r,O(e,t,n)},enabled:function(e,t){var n=arguments.length;if(0===n)t=!!J;else{var r=G(e);if(r){var i=$(e),o=Q.get(i);1===n?t=!o:Q.put(i,!t)}else t=J=!!e}return t}};return oe}]}],Ae=["$animateProvider",function(e){function t(e,t){e.data(s,t)}function n(e){e.removeData(s)}function i(e){return e.data(s)}var o="ng-animate-ref",a=this.drivers=[],s="$$animationRunner";this.$get=["$$jqLite","$rootScope","$injector","$$AnimateRunner","$$HashMap","$$rAFScheduler",function(e,s,u,l,c,p){function m(e){function t(e){if(e.processed)return e;e.processed=!0;var n=e.domNode,r=n.parentNode;o.put(n,e);for(var a;r;){if(a=o.get(r)){a.processed||(a=t(a));break}r=r.parentNode}return(a||i).children.push(e),e}function n(e){var t,n=[],r=[];for(t=0;t=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";V(l,function(e){var t=e.getAttribute(o);n[t]=n[t]||{},n[t][c]={animationID:r,element:U(e)}})}else t.push(e)});var r={},i={};return V(n,function(n,o){var a=n.from,s=n.to;if(!a||!s){var u=a?a.animationID:s.animationID,l=u.toString();return void(r[l]||(r[l]=!0,t.push(e[u])))}var c=e[a.animationID],f=e[s.animationID],d=a.animationID.toString();if(!i[d]){var h=i[d]={structural:!0,beforeStart:function(){c.beforeStart(),f.beforeStart()},close:function(){c.close(),f.close()},classes:x(c.classes,f.classes),from:c,to:f,anchors:[]};h.classes.length?t.push(h):(t.push(c),t.push(f))}i[d].anchors.push({out:a.element,"in":s.element})}),t}function x(e,t){e=e.split(" "),t=t.split(" ");for(var n=[],r=0;r=0;t--){var n=a[t];if(u.has(n)){var r=u.get(n),i=r(e);if(i)return i}}}function C(){c.addClass(te),A&&e.addClass(c,A),O&&(e.removeClass(c,O),O=null)}function S(e,t){function n(e){i(e).setHost(t)}e.from&&e.to?(n(e.from.element),n(e.to.element)):n(e.element)}function _(){var e=i(c);!e||"leave"===f&&y.$$domOperationFired||e.end()}function E(t){c.off("$destroy",_),n(c),v(c,y),h(c,y),y.domOperation(),A&&e.removeClass(c,A),c.removeClass(te),T.complete(!t)}y=d(y);var D=["enter","move","leave"].indexOf(f)>=0,T=new l({end:function(){E()},cancel:function(){E(!0)}});if(!a.length)return E(),T;t(c,T);var M=r(c.attr("class"),r(y.addClass,y.removeClass)),A=y.tempClasses;A&&(M+=" "+A,y.tempClasses=null);var O;return D&&(O="ng-"+f+ee,e.addClass(c,O)),g.push({element:c,classes:M,event:f,structural:D,options:y,beforeStart:C,close:E}),c.on("$destroy",_),g.length>1?T:(s.$$postDigest(function(){var e=[];V(g,function(t){i(t.element)?e.push(t):t.close()}),g.length=0;var t=w(e),n=[];V(t,function(e){n.push({domNode:$(e.from?e.from.element:e.element),fn:function(){e.beforeStart();var t,n=e.close,r=e.anchors?e.from.element||e.to.element:e.element;if(i(r)){var o=k(e);o&&(t=o.start)}if(t){var a=t();a.done(function(e){n(!e)}),S(e,a)}else n()}})}),p(m(n))}),T)}}]}],Oe=["$animate","$rootScope",function(e,t){return{restrict:"A",transclude:"element",terminal:!0,priority:600,link:function(t,n,r,i,o){var a,s;t.$watchCollection(r.ngAnimateSwap||r["for"],function(r){a&&e.leave(a),s&&(s.$destroy(),s=null),(r||0===r)&&(s=t.$new(),o(s,function(t){a=t,e.enter(t,null,n)}))})}}}];t.module("ngAnimate",[]).directive("ngAnimateSwap",Oe).directive("ngAnimateChildren",ve).factory("$$rAFScheduler",ge).provider("$$animateQueue",Me).provider("$$animation",Ae).provider("$animateCss",Ce).provider("$$animateCssDriver",Se).provider("$$animateJs",_e).provider("$$animateJsDriver",Ee)}(window,window.angular)},{}],2:[function(e,t,n){e("./angular-animate"),t.exports="ngAnimate"},{"./angular-animate":1}],3:[function(e,t,n){!function(e,t){"use strict";function n(e){return null!=e&&""!==e&&"hasOwnProperty"!==e&&a.test("."+e)}function r(e,r){if(!n(r))throw o("badmember",'Dotted member path "@{0}" is invalid.',r);for(var i=r.split("."),a=0,s=i.length;s>a&&t.isDefined(e);a++){var u=i[a];e=null!==e?e[u]:void 0}return e}function i(e,n){n=n||{},t.forEach(n,function(e,t){delete n[t]});for(var r in e)!e.hasOwnProperty(r)||"$"===r.charAt(0)&&"$"===r.charAt(1)||(n[r]=e[r]);return n}var o=t.$$minErr("$resource"),a=/^(\.[a-zA-Z_$@][0-9a-zA-Z_$@]*)+$/;t.module("ngResource",["ng"]).provider("$resource",function(){var e=/^https?:\/\/[^\/]*/,n=this;this.defaults={stripTrailingSlashes:!0,actions:{get:{method:"GET"},save:{method:"POST"},query:{method:"GET",isArray:!0},remove:{method:"DELETE"},"delete":{method:"DELETE"}}},this.$get=["$http","$log","$q","$timeout",function(a,s,u,l){function c(e){return f(e,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function f(e,t){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,t?"%20":"+")}function d(e,t){this.template=e,this.defaults=g({},n.defaults,t),this.urlParams={}}function h(e,c,f,y){function b(e,t){var n={};return t=g({},c,t),m(t,function(t,i){$(t)&&(t=t()),n[i]=t&&t.charAt&&"@"==t.charAt(0)?r(e,t.substr(1)):t}),n}function w(e){return e.resource}function x(e){i(e||{},this)}var k=new d(e,y);return f=g({},n.defaults.actions,f),x.prototype.toJSON=function(){var e=g({},this);return delete e.$promise,delete e.$resolved,e},m(f,function(e,r){var c=/^(POST|PUT|PATCH)$/i.test(e.method),f=e.timeout,d=t.isDefined(e.cancellable)?e.cancellable:y&&t.isDefined(y.cancellable)?y.cancellable:n.defaults.cancellable;f&&!t.isNumber(f)&&(s.debug("ngResource:\n Only numeric values are allowed as `timeout`.\n Promises are not supported in $resource, because the same value would be used for multiple requests. If you are looking for a way to cancel requests, you should use the `cancellable` option."),delete e.timeout,f=null),x[r]=function(n,s,h,y){var C,S,_,E={};switch(arguments.length){case 4:_=y,S=h;case 3:case 2:if(!$(s)){E=n,C=s,S=h;break}if($(n)){S=n,_=s;break}S=s,_=h;case 1:$(n)?S=n:c?C=n:E=n;break;case 0:break;default:throw o("badargs","Expected up to 4 arguments [params, data, success, error], got {0} arguments",arguments.length)}var D,T,M=this instanceof x,A=M?C:e.isArray?[]:new x(C),O={},F=e.interceptor&&e.interceptor.response||w,N=e.interceptor&&e.interceptor.responseError||void 0;m(e,function(e,t){switch(t){default:O[t]=v(e);break;case"params":case"isArray":case"interceptor":case"cancellable":}}),!M&&d&&(D=u.defer(),O.timeout=D.promise,f&&(T=l(D.resolve,f))),c&&(O.data=C),k.setUrlParams(O,g({},b(C,e.params||{}),E),e.url);var I=a(O).then(function(n){var a=n.data;if(a){if(t.isArray(a)!==!!e.isArray)throw o("badcfg","Error in resource configuration for action `{0}`. Expected response to contain an {1} but got an {2} (Request: {3} {4})",r,e.isArray?"array":"object",t.isArray(a)?"array":"object",O.method,O.url);if(e.isArray)A.length=0,m(a,function(e){"object"==typeof e?A.push(new x(e)):A.push(e)});else{var s=A.$promise;i(a,A),A.$promise=s}}return n.resource=A,n},function(e){return(_||p)(e),u.reject(e)});return I["finally"](function(){A.$resolved=!0,!M&&d&&(A.$cancelRequest=t.noop,l.cancel(T),D=T=O.timeout=null)}),I=I.then(function(e){var t=F(e);return(S||p)(t,e.headers),t},N),M?I:(A.$promise=I,A.$resolved=!1,d&&(A.$cancelRequest=D.resolve),A)},x.prototype["$"+r]=function(e,t,n){$(e)&&(n=t,t=e,e={});var i=x[r].call(this,e,this,t,n);return i.$promise||i}}),x.bind=function(t){return h(e,g({},c,t),f)},x}var p=t.noop,m=t.forEach,g=t.extend,v=t.copy,$=t.isFunction;return d.prototype={setUrlParams:function(n,r,i){var a,s,u=this,l=i||u.template,d="",h=u.urlParams={};m(l.split(/\W/),function(e){if("hasOwnProperty"===e)throw o("badname","hasOwnProperty is not a valid parameter name.");!new RegExp("^\\d+$").test(e)&&e&&new RegExp("(^|[^\\\\]):"+e+"(\\W|$)").test(l)&&(h[e]={isQueryParamValue:new RegExp("\\?.*=:"+e+"(?:\\W|$)").test(l)})}),l=l.replace(/\\:/g,":"),l=l.replace(e,function(e){return d=e,""}),r=r||{},m(u.urlParams,function(e,n){a=r.hasOwnProperty(n)?r[n]:u.defaults[n],t.isDefined(a)&&null!==a?(s=e.isQueryParamValue?f(a,!0):c(a),l=l.replace(new RegExp(":"+n+"(\\W|$)","g"),function(e,t){return s+t})):l=l.replace(new RegExp("(/?):"+n+"(\\W|$)","g"),function(e,t,n){return"/"==n.charAt(0)?n:t+n})}),u.defaults.stripTrailingSlashes&&(l=l.replace(/\/+$/,"")||"/"),l=l.replace(/\/\.(?=\w+($|\?))/,"."),n.url=d+l.replace(/\/\\\./,"/."),m(r,function(e,t){u.urlParams[t]||(n.params=n.params||{},n.params[t]=e)})}},h}]})}(window,window.angular)},{}],4:[function(e,t,n){e("./angular-resource"),t.exports="ngResource"},{"./angular-resource":3}],5:[function(e,t,n){!function(e,t){"use strict";function n(){var e=!1;this.$get=["$$sanitizeUri",function(n){return e&&t.extend(x,b),function(e){var t=[];return o(e,u(t,function(e,t){return!/^unsafe:/.test(n(e,t))})),t.join("")}}],this.enableSvg=function(n){return t.isDefined(n)?(e=n,this):e}}function r(e){var n=[],r=u(n,t.noop);return r.chars(e),n.join("")}function i(e,n){var r,i={},o=e.split(",");for(r=0;rn;n++){var i=e[n];t[i.name]=i.value}return t}function s(e){return e.replace(/&/g,"&").replace(d,function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1);return"&#"+(1024*(t-55296)+(n-56320)+65536)+";"}).replace(h,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(//g,">")}function u(e,n){var r=!1,i=t.bind(e,e.push);return{start:function(e,o){e=t.lowercase(e),!r&&w[e]&&(r=e),r||x[e]!==!0||(i("<"),i(e),t.forEach(o,function(r,o){var a=t.lowercase(o),u="img"===e&&"src"===a||"background"===a;_[a]!==!0||k[a]===!0&&!n(r,u)||(i(" "),i(o),i('="'),i(s(r)),i('"'))}),i(">"))},end:function(e){e=t.lowercase(e),r||x[e]!==!0||p[e]===!0||(i("")),e==r&&(r=!1)},chars:function(e){r||i(s(e))}}}function l(t){if(t.nodeType===e.Node.ELEMENT_NODE)for(var n=t.attributes,r=0,i=n.length;i>r;r++){var o=n[r],a=o.name.toLowerCase();"xmlns:ns1"!==a&&0!==a.indexOf("ns1:")||(t.removeAttributeNode(o),r--,i--)}var s=t.firstChild;s&&l(s),s=t.nextSibling,s&&l(s)}var c,f=t.$$minErr("$sanitize"),d=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,h=/([^\#-~ |!])/g,p=i("area,br,col,hr,img,wbr"),m=i("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),g=i("rp,rt"),v=t.extend({},g,m),$=t.extend({},m,i("address,article,aside,blockquote,caption,center,del,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,map,menu,nav,ol,pre,section,table,ul")),y=t.extend({},g,i("a,abbr,acronym,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,q,ruby,rp,rt,s,samp,small,span,strike,strong,sub,sup,time,tt,u,var")),b=i("circle,defs,desc,ellipse,font-face,font-face-name,font-face-src,g,glyph,hkern,image,linearGradient,line,marker,metadata,missing-glyph,mpath,path,polygon,polyline,radialGradient,rect,stop,svg,switch,text,title,tspan"),w=i("script,style"),x=t.extend({},p,$,y,v),k=i("background,cite,href,longdesc,src,xlink:href"),C=i("abbr,align,alt,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,coords,dir,face,headers,height,hreflang,hspace,ismap,lang,language,nohref,nowrap,rel,rev,rows,rowspan,rules,scope,scrolling,shape,size,span,start,summary,tabindex,target,title,type,valign,value,vspace,width"),S=i("accent-height,accumulate,additive,alphabetic,arabic-form,ascent,baseProfile,bbox,begin,by,calcMode,cap-height,class,color,color-rendering,content,cx,cy,d,dx,dy,descent,display,dur,end,fill,fill-rule,font-family,font-size,font-stretch,font-style,font-variant,font-weight,from,fx,fy,g1,g2,glyph-name,gradientUnits,hanging,height,horiz-adv-x,horiz-origin-x,ideographic,k,keyPoints,keySplines,keyTimes,lang,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mathematical,max,min,offset,opacity,orient,origin,overline-position,overline-thickness,panose-1,path,pathLength,points,preserveAspectRatio,r,refX,refY,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,rotate,rx,ry,slope,stemh,stemv,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,systemLanguage,target,text-anchor,to,transform,type,u1,u2,underline-position,underline-thickness,unicode,unicode-range,units-per-em,values,version,viewBox,visibility,width,widths,x,x-height,x1,x2,xlink:actuate,xlink:arcrole,xlink:role,xlink:show,xlink:title,xlink:type,xml:base,xml:lang,xml:space,xmlns,xmlns:xlink,y,y1,y2,zoomAndPan",!0),_=t.extend({},k,S,C);!function(e){var t;if(!e.document||!e.document.implementation)throw f("noinert","Can't create an inert html document");t=e.document.implementation.createHTMLDocument("inert");var n=t.documentElement||t.getDocumentElement(),r=n.getElementsByTagName("body");if(1===r.length)c=r[0];else{var i=t.createElement("html");c=t.createElement("body"),i.appendChild(c),t.appendChild(i)}}(e),t.module("ngSanitize",[]).provider("$sanitize",n),t.module("ngSanitize").filter("linky",["$sanitize",function(e){var n=/((ftp|https?):\/\/|(www\.)|(mailto:)?[A-Za-z0-9._%+-]+@)\S*[^\s.;,(){}<>"\u201d\u2019]/i,i=/^mailto:/i,o=t.$$minErr("linky"),a=t.isString;return function(s,u,l){function c(e){e&&g.push(r(e))}function f(e,n){var r;if(g.push("'),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(i,"")),m=m.substring(p+d[0].length);return c(m),e(g.join(""))}}])}(window,window.angular)},{}],6:[function(e,t,n){e("./angular-sanitize"),t.exports="ngSanitize"},{"./angular-sanitize":5}],7:[function(e,t,n){angular.module("ui.sortable",[]).value("uiSortableConfig",{items:"> [ng-repeat],> [data-ng-repeat],> [x-ng-repeat]"}).directive("uiSortable",["uiSortableConfig","$timeout","$log",function(e,t,n){return{require:"?ngModel",scope:{ngModel:"=",uiSortable:"="},link:function(r,i,o,a){function s(e,t){var n=e&&"function"==typeof e,r=t&&"function"==typeof t;return n&&r?function(){e.apply(this,arguments),t.apply(this,arguments)}:r?t:e}function u(e){var t=e.data("ui-sortable");return t&&"object"==typeof t&&"ui-sortable"===t.widgetFullName?t:null}function l(t,n){return S[t]?("stop"===t&&(n=s(n,function(){r.$apply()}),n=s(n,v)),n=s(S[t],n)):_[t]&&(n=_[t](n)),n||("items"===t?n=e.items:"ui-model-items"===t&&(n=e.items)),n}function c(e,t,n){function r(e,t){t in k||(k[t]=null)}angular.forEach(S,r);var i=null;if(t){var o;angular.forEach(t,function(t,n){if(!(e&&n in e)){if(n in C)return void("ui-floating"===n?k[n]="auto":k[n]=l(n,void 0));o||(o=angular.element.ui.sortable().options);var r=o[n];r=l(n,r),i||(i={}),i[n]=r,k[n]=r}})}return angular.forEach(e,function(e,t){return t in C?("ui-floating"!==t||e!==!1&&e!==!0||!n||(n.floating=e),void(k[t]=l(t,e))):(e=l(t,e),i||(i={}),i[t]=e,void(k[t]=e))}),i}function f(e){var t=e.sortable("option","placeholder");if(t&&t.element&&"function"==typeof t.element){var n=t.element();return n=angular.element(n)}return null}function d(e,t){var n=k["ui-model-items"].replace(/[^,]*>/g,""),r=e.find('[class="'+t.attr("class")+'"]:not('+n+")");return r}function h(e,t){var n=e.sortable("option","helper");return"clone"===n||"function"==typeof n&&t.item.sortable.isCustomHelperUsed()}function p(e,t,n){var r=null;return h(e,t)&&"parent"===e.sortable("option","appendTo")&&(r=n.last()),r}function m(e){return/left|right/.test(e.css("float"))||/inline|table-cell/.test(e.css("display"))}function g(e,t){for(var n=null,r=0;r=0&&(t-1 in e||e instanceof Array)||"function"==typeof e.item)}function r(e,t,i){var o,a;if(e)if(C(e))for(o in e)"prototype"==o||"length"==o||"name"==o||e.hasOwnProperty&&!e.hasOwnProperty(o)||t.call(i,e[o],o,e);else if(Wr(e)||n(e)){var s="object"!=typeof e;for(o=0,a=e.length;a>o;o++)(s||o in e)&&t.call(i,e[o],o,e)}else if(e.forEach&&e.forEach!==r)e.forEach(t,i,e);else if(b(e))for(o in e)t.call(i,e[o],o,e);else if("function"==typeof e.hasOwnProperty)for(o in e)e.hasOwnProperty(o)&&t.call(i,e[o],o,e);else for(o in e)Tr.call(e,o)&&t.call(i,e[o],o,e);return e}function i(e,t,n){for(var r=Object.keys(e).sort(),i=0;ii;++i){var a=t[i];if(y(a)||C(a))for(var l=Object.keys(a),c=0,f=l.length;f>c;c++){var d=l[c],h=a[d];n&&y(h)?k(h)?e[d]=new Date(h.valueOf()):S(h)?e[d]=new RegExp(h):h.nodeName?e[d]=h.cloneNode(!0):I(h)?e[d]=h.clone():(y(e[d])||(e[d]=Wr(h)?[]:{}),u(e[d],[h],!0)):e[d]=h}}return s(e,r),e}function l(e){return u(e,Lr.call(arguments,1),!1)}function c(e){return u(e,Lr.call(arguments,1),!0)}function f(e){return parseInt(e,10)}function d(e,t){return l(Object.create(e),t)}function h(){}function p(e){return e}function m(e){return function(){return e}}function g(e){return C(e.toString)&&e.toString!==Vr}function v(e){return"undefined"==typeof e}function $(e){return"undefined"!=typeof e}function y(e){return null!==e&&"object"==typeof e}function b(e){return null!==e&&"object"==typeof e&&!zr(e)}function w(e){return"string"==typeof e}function x(e){return"number"==typeof e}function k(e){return"[object Date]"===Vr.call(e)}function C(e){return"function"==typeof e}function S(e){return"[object RegExp]"===Vr.call(e)}function _(e){return e&&e.window===e}function E(e){return e&&e.$evalAsync&&e.$watch}function D(e){return"[object File]"===Vr.call(e)}function T(e){return"[object FormData]"===Vr.call(e)}function M(e){return"[object Blob]"===Vr.call(e)}function A(e){return"boolean"==typeof e}function O(e){return e&&C(e.then)}function F(e){return e&&x(e.length)&&Br.test(Vr.call(e))}function N(e){return"[object ArrayBuffer]"===Vr.call(e)}function I(e){return!(!e||!(e.nodeName||e.prop&&e.attr&&e.find))}function P(e){var t,n={},r=e.split(",");for(t=0;t=0&&e.splice(n,1),n}function R(e,t){function n(e,t){var n,r=t.$$hashKey;if(Wr(e))for(var o=0,a=e.length;a>o;o++)t.push(i(e[o]));else if(b(e))for(n in e)t[n]=i(e[n]);else if(e&&"function"==typeof e.hasOwnProperty)for(n in e)e.hasOwnProperty(n)&&(t[n]=i(e[n]));else for(n in e)Tr.call(e,n)&&(t[n]=i(e[n]));return s(t,r),t}function i(e){if(!y(e))return e;var t=a.indexOf(e);if(-1!==t)return u[t];if(_(e)||E(e))throw Hr("cpws","Can't copy! Making copies of Window or Scope instances is not supported.");var r=!1,i=o(e);return void 0===i&&(i=Wr(e)?[]:Object.create(zr(e)),r=!0),a.push(e),u.push(i),r?n(e,i):i}function o(e){switch(Vr.call(e)){case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Float32Array]":case"[object Float64Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return new e.constructor(i(e.buffer));case"[object ArrayBuffer]":if(!e.slice){var t=new ArrayBuffer(e.byteLength);return new Uint8Array(t).set(new Uint8Array(e)),t}return e.slice(0);case"[object Boolean]":case"[object Number]":case"[object String]":case"[object Date]":return new e.constructor(e.valueOf());case"[object RegExp]":var n=new RegExp(e.source,e.toString().match(/[^\/]*$/)[0]);return n.lastIndex=e.lastIndex,n;case"[object Blob]":return new e.constructor([e],{type:e.type})}return C(e.cloneNode)?e.cloneNode(!0):void 0}var a=[],u=[];if(t){if(F(t)||N(t))throw Hr("cpta","Can't copy! TypedArray destination cannot be mutated.");if(e===t)throw Hr("cpi","Can't copy! Source and destination are identical.");return Wr(t)?t.length=0:r(t,function(e,n){"$$hashKey"!==n&&delete t[n]}),a.push(e),u.push(t),n(e,t)}return i(e)}function U(e,t){if(Wr(e)){t=t||[];for(var n=0,r=e.length;r>n;n++)t[n]=e[n]}else if(y(e)){t=t||{};for(var i in e)"$"===i.charAt(0)&&"$"===i.charAt(1)||(t[i]=e[i])}return t||e}function V(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e!==e&&t!==t)return!0;var n,r,i,o=typeof e,a=typeof t;if(o==a&&"object"==o){if(!Wr(e)){if(k(e))return k(t)?V(e.getTime(),t.getTime()):!1;if(S(e))return S(t)?e.toString()==t.toString():!1;if(E(e)||E(t)||_(e)||_(t)||Wr(t)||k(t)||S(t))return!1;i=me();for(r in e)if("$"!==r.charAt(0)&&!C(e[r])){if(!V(e[r],t[r]))return!1;i[r]=!0}for(r in t)if(!(r in i)&&"$"!==r.charAt(0)&&$(t[r])&&!C(t[r]))return!1;return!0}if(!Wr(t))return!1;if((n=e.length)==t.length){for(r=0;n>r;r++)if(!V(e[r],t[r]))return!1;return!0}}return!1}function z(e,t,n){return e.concat(Lr.call(t,n))}function H(e,t){return Lr.call(e,t||0)}function q(e,t){var n=arguments.length>2?H(arguments,2):[];return!C(t)||t instanceof RegExp?t:n.length?function(){return arguments.length?t.apply(e,z(n,arguments,0)):t.apply(e,n)}:function(){return arguments.length?t.apply(e,arguments):t.call(e)}}function Y(t,n){var r=n;return"string"==typeof t&&"$"===t.charAt(0)&&"$"===t.charAt(1)?r=void 0:_(n)?r="$WINDOW":n&&e.document===n?r="$DOCUMENT":E(n)&&(r="$SCOPE"),r}function W(e,t){return v(e)?void 0:(x(t)||(t=t?2:null),JSON.stringify(e,Y,t))}function B(e){return w(e)?JSON.parse(e):e}function G(e,t){e=e.replace(Xr,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function Z(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function Q(e,t,n){n=n?-1:1;var r=e.getTimezoneOffset(),i=G(t,r);return Z(e,n*(i-r))}function J(e){e=Ir(e).clone();try{e.empty()}catch(t){}var n=Ir("
    ").append(e).html();try{return e[0].nodeType===ii?Mr(n):n.match(/^(<[^>]+>)/)[1].replace(/^<([\w\-]+)/,function(e,t){return"<"+Mr(t)})}catch(t){return Mr(n)}}function X(e){try{return decodeURIComponent(e)}catch(t){}}function K(e){var t={};return r((e||"").split("&"),function(e){var n,r,i;e&&(r=e=e.replace(/\+/g,"%20"),n=e.indexOf("="),-1!==n&&(r=e.substring(0,n),i=e.substring(n+1)),r=X(r),$(r)&&(i=$(i)?X(i):!0,Tr.call(t,r)?Wr(t[r])?t[r].push(i):t[r]=[t[r],i]:t[r]=i))}),t}function ee(e){var t=[];return r(e,function(e,n){Wr(e)?r(e,function(e){t.push(ne(n,!0)+(e===!0?"":"="+ne(e,!0)))}):t.push(ne(n,!0)+(e===!0?"":"="+ne(e,!0)))}),t.length?t.join("&"):""}function te(e){return ne(e,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function ne(e,t){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%20/g,t?"%20":"+")}function re(e,t){var n,r,i=Kr.length;for(r=0;i>r;++r)if(n=Kr[r]+t,w(n=e.getAttribute(n)))return n;return null}function ie(e,t){var n,i,o={};r(Kr,function(t){var r=t+"app";!n&&e.hasAttribute&&e.hasAttribute(r)&&(n=e,i=e.getAttribute(r))}),r(Kr,function(t){var r,o=t+"app";!n&&(r=e.querySelector("["+o.replace(":","\\:")+"]"))&&(n=r,i=r.getAttribute(o))}),n&&(o.strictDi=null!==re(n,"strict-di"),t(n,i?[i]:[],o))}function oe(t,n,i){y(i)||(i={});var o={strictDi:!1};i=l(o,i);var a=function(){if(t=Ir(t),t.injector()){var r=t[0]===e.document?"document":J(t);throw Hr("btstrpd","App already bootstrapped with this element '{0}'",r.replace(//,">"))}n=n||[],n.unshift(["$provide",function(e){e.value("$rootElement",t)}]),i.debugInfoEnabled&&n.push(["$compileProvider",function(e){e.debugInfoEnabled(!0)}]),n.unshift("ng");var o=nt(n,i.strictDi);return o.invoke(["$rootScope","$rootElement","$compile","$injector",function(e,t,n,r){e.$apply(function(){t.data("$injector",r),n(t)(e)})}]),o},s=/^NG_ENABLE_DEBUG_INFO!/,u=/^NG_DEFER_BOOTSTRAP!/;return e&&s.test(e.name)&&(i.debugInfoEnabled=!0,e.name=e.name.replace(s,"")),e&&!u.test(e.name)?a():(e.name=e.name.replace(u,""),qr.resumeBootstrap=function(e){return r(e,function(e){n.push(e)}),a()},void(C(qr.resumeDeferredBootstrap)&&qr.resumeDeferredBootstrap()))}function ae(){e.name="NG_ENABLE_DEBUG_INFO!"+e.name,e.location.reload()}function se(e){var t=qr.element(e).injector();if(!t)throw Hr("test","no injector found for element argument to getTestability");return t.get("$$testability")}function ue(e,t){return t=t||"_",e.replace(ei,function(e,n){return(n?t:"")+e.toLowerCase()})}function le(){var t;if(!ti){var n=Jr();Pr=v(n)?e.jQuery:n?e[n]:void 0,Pr&&Pr.fn.on?(Ir=Pr,l(Pr.fn,{scope:ki.scope,isolateScope:ki.isolateScope,controller:ki.controller,injector:ki.injector,inheritedData:ki.inheritedData}),t=Pr.cleanData,Pr.cleanData=function(e){for(var n,r,i=0;null!=(r=e[i]);i++)n=Pr._data(r,"events"),n&&n.$destroy&&Pr(r).triggerHandler("$destroy");t(e)}):Ir=Te,qr.element=Ir,ti=!0}}function ce(e,t,n){if(!e)throw Hr("areq","Argument '{0}' is {1}",t||"?",n||"required");return e}function fe(e,t,n){return n&&Wr(e)&&(e=e[e.length-1]),ce(C(e),t,"not a function, got "+(e&&"object"==typeof e?e.constructor.name||"Object":typeof e)),e}function de(e,t){if("hasOwnProperty"===e)throw Hr("badname","hasOwnProperty is not a valid {0} name",t)}function he(e,t,n){if(!t)return e;for(var r,i=t.split("."),o=e,a=i.length,s=0;a>s;s++)r=i[s],e&&(e=(o=e)[r]);return!n&&C(e)?q(o,e):e}function pe(e){for(var t,n=e[0],r=e[e.length-1],i=1;n!==r&&(n=n.nextSibling);i++)(t||e[i]!==n)&&(t||(t=Ir(Lr.call(e,0,i))),t.push(n));return t||e}function me(){return Object.create(null)}function ge(e){function n(e,t,n){return e[t]||(e[t]=n())}var r=t("$injector"),i=t("ng"),o=n(e,"angular",Object);return o.$$minErr=o.$$minErr||t,n(o,"module",function(){var e={};return function(t,o,a){var s=function(e,t){if("hasOwnProperty"===e)throw i("badname","hasOwnProperty is not a valid {0} name",t)};return s(t,"module"),o&&e.hasOwnProperty(t)&&(e[t]=null),n(e,t,function(){function e(e,t,n,r){return r||(r=i),function(){return r[n||"push"]([e,t,arguments]),c}}function n(e,n){return function(r,o){return o&&C(o)&&(o.$$moduleName=t),i.push([e,n,arguments]),c}}if(!o)throw r("nomod","Module '{0}' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.",t);var i=[],s=[],u=[],l=e("$injector","invoke","push",s),c={_invokeQueue:i,_configBlocks:s,_runBlocks:u,requires:o,name:t,provider:n("$provide","provider"),factory:n("$provide","factory"),service:n("$provide","service"),value:e("$provide","value"),constant:e("$provide","constant","unshift"),decorator:n("$provide","decorator"),animation:n("$animateProvider","register"),filter:n("$filterProvider","register"),controller:n("$controllerProvider","register"),directive:n("$compileProvider","directive"),component:n("$compileProvider","component"),config:l,run:function(e){return u.push(e),this}};return a&&l(a),c})}})}function ve(e){var t=[];return JSON.stringify(e,function(e,n){if(n=Y(e,n),y(n)){if(t.indexOf(n)>=0)return"...";t.push(n)}return n})}function $e(e){return"function"==typeof e?e.toString().replace(/ \{[\s\S]*$/,""):v(e)?"undefined":"string"!=typeof e?ve(e):e}function ye(n){l(n,{bootstrap:oe,copy:R,extend:l,merge:c,equals:V,element:Ir,forEach:r,injector:nt,noop:h,bind:q,toJson:W,fromJson:B,identity:p,isUndefined:v,isDefined:$,isString:w,isFunction:C,isObject:y,isNumber:x,isElement:I,isArray:Wr,version:ui,isDate:k,lowercase:Mr,uppercase:Ar,callbacks:{counter:0},getTestability:se,$$minErr:t,$$csp:Qr,reloadWithDebugInfo:ae}),(jr=ge(e))("ng",["ngLocale"],["$provide",function(e){e.provider({$$sanitizeUri:kn}),e.provider("$compile",ht).directive({a:Ao,input:Qo,textarea:Qo,form:Po,script:Ya,select:Ga,style:Qa,option:Za,ngBind:Ko,ngBindHtml:ta,ngBindTemplate:ea,ngClass:ra,ngClassEven:oa,ngClassOdd:ia,ngCloak:aa,ngController:sa,ngForm:jo,ngHide:La,ngIf:ca,ngInclude:fa,ngInit:ha,ngNonBindable:Ta,ngPluralize:Fa,ngRepeat:Na,ngShow:ja,ngStyle:Ra,ngSwitch:Ua,ngSwitchWhen:Va,ngSwitchDefault:za,ngOptions:Oa,ngTransclude:qa,ngModel:_a,ngList:pa,ngChange:na,pattern:Xa,ngPattern:Xa,required:Ja,ngRequired:Ja,minlength:es,ngMinlength:es,maxlength:Ka,ngMaxlength:Ka,ngValue:Xo,ngModelOptions:Da}).directive({ngInclude:da}).directive(Oo).directive(ua),e.provider({$anchorScroll:rt,$animate:Ri,$animateCss:zi,$$animateJs:ji,$$animateQueue:Li,$$AnimateRunner:Vi,$$animateAsyncRun:Ui,$browser:lt,$cacheFactory:ct,$controller:yt,$document:bt,$exceptionHandler:wt,$filter:jn,$$forceReflow:Gi,$interpolate:It,$interval:Pt,$http:At,$httpParamSerializer:kt,$httpParamSerializerJQLike:Ct,$httpBackend:Ft,$xhrFactory:Ot,$location:Qt,$log:Jt,$parse:vn,$rootScope:xn,$q:$n,$$q:yn,$sce:En,$sceDelegate:_n,$sniffer:Dn,$templateCache:ft,$templateRequest:Tn,$$testability:Mn,$timeout:An,$window:Nn,$$rAF:wn,$$jqLite:Qe,$$HashMap:Ei,$$cookieReader:Pn})}])}function be(){return++ci}function we(e){return e.replace(hi,function(e,t,n,r){return r?n.toUpperCase():n}).replace(pi,"Moz$1")}function xe(e){return!$i.test(e)}function ke(e){var t=e.nodeType;return t===ni||!t||t===ai}function Ce(e){for(var t in li[e.ng339])return!0;return!1}function Se(e){for(var t=0,n=e.length;n>t;t++)Fe(e[t])}function _e(e,t){var n,i,o,a,s=t.createDocumentFragment(),u=[];if(xe(e))u.push(t.createTextNode(e));else{for(n=n||s.appendChild(t.createElement("div")),i=(yi.exec(e)||["",""])[1].toLowerCase(),o=wi[i]||wi._default,n.innerHTML=o[1]+e.replace(bi,"<$1>")+o[2],a=o[0];a--;)n=n.lastChild;u=z(u,n.childNodes),n=s.firstChild,n.textContent=""}return s.textContent="",s.innerHTML="",r(u,function(e){s.appendChild(e)}),s}function Ee(t,n){n=n||e.document;var r;return(r=vi.exec(t))?[n.createElement(r[1])]:(r=_e(t,n))?r.childNodes:[]}function De(e,t){var n=e.parentNode;n&&n.replaceChild(t,e),t.appendChild(e)}function Te(e){if(e instanceof Te)return e;var t;if(w(e)&&(e=Gr(e),t=!0),!(this instanceof Te)){if(t&&"<"!=e.charAt(0))throw gi("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new Te(e)}t?Re(this,Ee(e)):Re(this,e)}function Me(e){return e.cloneNode(!0)}function Ae(e,t){if(t||Fe(e),e.querySelectorAll)for(var n=e.querySelectorAll("*"),r=0,i=n.length;i>r;r++)Fe(n[r])}function Oe(e,t,n,i){if($(i))throw gi("offargs","jqLite#off() does not support the `selector` argument");var o=Ne(e),a=o&&o.events,s=o&&o.handle;if(s)if(t){var u=function(t){var r=a[t];$(n)&&L(r||[],n),$(n)&&r&&r.length>0||(di(e,t,s),delete a[t])};r(t.split(" "),function(e){u(e),mi[e]&&u(mi[e])})}else for(t in a)"$destroy"!==t&&di(e,t,s),delete a[t]}function Fe(e,t){var n=e.ng339,r=n&&li[n];if(r){if(t)return void delete r.data[t];r.handle&&(r.events.$destroy&&r.handle({},"$destroy"),Oe(e)),delete li[n],e.ng339=void 0}}function Ne(e,t){var n=e.ng339,r=n&&li[n];return t&&!r&&(e.ng339=n=be(),r=li[n]={events:{},data:{},handle:void 0}),r}function Ie(e,t,n){if(ke(e)){var r=$(n),i=!r&&t&&!y(t),o=!t,a=Ne(e,!i),s=a&&a.data;if(r)s[t]=n;else{if(o)return s;if(i)return s&&s[t];l(s,t)}}}function Pe(e,t){return e.getAttribute?(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+t+" ")>-1:!1}function je(e,t){t&&e.setAttribute&&r(t.split(" "),function(t){e.setAttribute("class",Gr((" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").replace(" "+Gr(t)+" "," ")))})}function Le(e,t){if(t&&e.setAttribute){var n=(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ");r(t.split(" "),function(e){e=Gr(e),-1===n.indexOf(" "+e+" ")&&(n+=e+" ")}),e.setAttribute("class",Gr(n))}}function Re(e,t){if(t)if(t.nodeType)e[e.length++]=t;else{var n=t.length;if("number"==typeof n&&t.window!==t){if(n)for(var r=0;n>r;r++)e[e.length++]=t[r]}else e[e.length++]=t}}function Ue(e,t){return Ve(e,"$"+(t||"ngController")+"Controller")}function Ve(e,t,n){e.nodeType==ai&&(e=e.documentElement);for(var r=Wr(t)?t:[t];e;){for(var i=0,o=r.length;o>i;i++)if($(n=Ir.data(e,r[i])))return n;e=e.parentNode||e.nodeType===si&&e.host}}function ze(e){for(Ae(e,!0);e.firstChild;)e.removeChild(e.firstChild)}function He(e,t){t||Ae(e);var n=e.parentNode;n&&n.removeChild(e)}function qe(t,n){n=n||e,"complete"===n.document.readyState?n.setTimeout(t):Ir(n).on("load",t)}function Ye(e,t){var n=Ci[t.toLowerCase()];return n&&Si[j(e)]&&n}function We(e){return _i[e]}function Be(e,t){var n=function(n,r){n.isDefaultPrevented=function(){return n.defaultPrevented};var i=t[r||n.type],o=i?i.length:0;if(o){if(v(n.immediatePropagationStopped)){var a=n.stopImmediatePropagation;n.stopImmediatePropagation=function(){n.immediatePropagationStopped=!0,n.stopPropagation&&n.stopPropagation(),a&&a.call(n)}}n.isImmediatePropagationStopped=function(){return n.immediatePropagationStopped===!0};var s=i.specialHandlerWrapper||Ge;o>1&&(i=U(i));for(var u=0;o>u;u++)n.isImmediatePropagationStopped()||s(e,n,i[u])}};return n.elem=e,n}function Ge(e,t,n){n.call(e,t)}function Ze(e,t,n){var r=t.relatedTarget;r&&(r===e||xi.call(e,r))||n.call(e,t)}function Qe(){this.$get=function(){return l(Te,{hasClass:function(e,t){return e.attr&&(e=e[0]),Pe(e,t)},addClass:function(e,t){return e.attr&&(e=e[0]),Le(e,t)},removeClass:function(e,t){return e.attr&&(e=e[0]),je(e,t)}})}}function Je(e,t){var n=e&&e.$$hashKey;if(n)return"function"==typeof n&&(n=e.$$hashKey()),n;var r=typeof e;return n="function"==r||"object"==r&&null!==e?e.$$hashKey=r+":"+(t||a)():r+":"+e}function Xe(e,t){if(t){var n=0;this.nextUid=function(){return++n}}r(e,this.put,this)}function Ke(e){var t=Function.prototype.toString.call(e).replace(Oi,""),n=t.match(Di)||t.match(Ti);return n}function et(e){var t=Ke(e);return t?"function("+(t[1]||"").replace(/[\s\r\n]+/," ")+")":"fn"}function tt(e,t,n){var i,o,a;if("function"==typeof e){if(!(i=e.$inject)){if(i=[],e.length){if(t)throw w(n)&&n||(n=e.name||et(e)),Fi("strictdi","{0} is not using explicit annotation and cannot be invoked in strict mode",n);o=Ke(e),r(o[1].split(Mi),function(e){e.replace(Ai,function(e,t,n){i.push(n)})})}e.$inject=i}}else Wr(e)?(a=e.length-1,fe(e[a],"fn"),i=e.slice(0,a)):fe(e,"fn",!0);return i}function nt(e,t){function n(e){return function(t,n){return y(t)?void r(t,o(e)):e(t,n)}}function i(e,t){if(de(e,"service"),(C(t)||Wr(t))&&(t=k.instantiate(t)),!t.$get)throw Fi("pget","Provider '{0}' must define $get factory method.",e);return x[e+g]=t}function a(e,t){return function(){var n=E.invoke(t,this);if(v(n))throw Fi("undef","Provider '{0}' must return a value from $get factory method.",e);return n}}function s(e,t,n){return i(e,{$get:n!==!1?a(e,t):t})}function u(e,t){return s(e,["$injector",function(e){return e.instantiate(t)}])}function l(e,t){return s(e,m(t),!1)}function c(e,t){de(e,"constant"),x[e]=t,S[e]=t}function f(e,t){var n=k.get(e+g),r=n.$get;n.$get=function(){var e=E.invoke(r,n);return E.invoke(t,null,{$delegate:e})}}function d(e){ce(v(e)||Wr(e),"modulesToLoad","not an array");var t,n=[];return r(e,function(e){function r(e){var t,n;for(t=0,n=e.length;n>t;t++){var r=e[t],i=k.get(r[0]);i[r[1]].apply(i,r[2])}}if(!b.get(e)){b.put(e,!0);try{w(e)?(t=jr(e),n=n.concat(d(t.requires)).concat(t._runBlocks),r(t._invokeQueue),r(t._configBlocks)):C(e)?n.push(k.invoke(e)):Wr(e)?n.push(k.invoke(e)):fe(e,"module")}catch(i){throw Wr(e)&&(e=e[e.length-1]),i.message&&i.stack&&-1==i.stack.indexOf(i.message)&&(i=i.message+"\n"+i.stack),Fi("modulerr","Failed to instantiate module {0} due to:\n{1}",e,i.stack||i.message||i)}}}),n}function h(e,n){function r(t,r){if(e.hasOwnProperty(t)){if(e[t]===p)throw Fi("cdep","Circular dependency found: {0}",t+" <- "+$.join(" <- "));return e[t]}try{return $.unshift(t),e[t]=p,e[t]=n(t,r)}catch(i){throw e[t]===p&&delete e[t],i}finally{$.shift()}}function i(e,n,i){for(var o=[],a=nt.$$annotate(e,t,i),s=0,u=a.length;u>s;s++){var l=a[s];if("string"!=typeof l)throw Fi("itkn","Incorrect injection token! Expected service name as string, got {0}",l);o.push(n&&n.hasOwnProperty(l)?n[l]:r(l,i))}return o}function o(e){return 11>=Nr?!1:"function"==typeof e&&/^(?:class\s|constructor\()/.test(Function.prototype.toString.call(e))}function a(e,t,n,r){"string"==typeof n&&(r=n,n=null);var a=i(e,n,r);return Wr(e)&&(e=e[e.length-1]),o(e)?(a.unshift(null),new(Function.prototype.bind.apply(e,a))):e.apply(t,a)}function s(e,t,n){var r=Wr(e)?e[e.length-1]:e,o=i(e,t,n);return o.unshift(null),new(Function.prototype.bind.apply(r,o))}return{invoke:a,instantiate:s,get:r,annotate:nt.$$annotate,has:function(t){return x.hasOwnProperty(t+g)||e.hasOwnProperty(t)}}}t=t===!0;var p={},g="Provider",$=[],b=new Xe([],!0),x={$provide:{provider:n(i),factory:n(s),service:n(u),value:n(l),constant:n(c),decorator:f}},k=x.$injector=h(x,function(e,t){throw qr.isString(t)&&$.push(t),Fi("unpr","Unknown provider: {0}",$.join(" <- "))}),S={},_=h(S,function(e,t){var n=k.get(e+g,t);return E.invoke(n.$get,n,void 0,e)}),E=_;x["$injector"+g]={$get:m(_)};var D=d(e);return E=_.get("$injector"),E.strictDi=t,r(D,function(e){e&&E.invoke(e)}),E}function rt(){var e=!0;this.disableAutoScrolling=function(){e=!1},this.$get=["$window","$location","$rootScope",function(t,n,r){function i(e){var t=null;return Array.prototype.some.call(e,function(e){return"a"===j(e)?(t=e,!0):void 0}),t}function o(){var e=s.yOffset;if(C(e))e=e();else if(I(e)){ -var n=e[0],r=t.getComputedStyle(n);e="fixed"!==r.position?0:n.getBoundingClientRect().bottom}else x(e)||(e=0);return e}function a(e){if(e){e.scrollIntoView();var n=o();if(n){var r=e.getBoundingClientRect().top;t.scrollBy(0,r-n)}}else t.scrollTo(0,0)}function s(e){e=w(e)?e:n.hash();var t;e?(t=u.getElementById(e))?a(t):(t=i(u.getElementsByName(e)))?a(t):"top"===e&&a(null):a(null)}var u=t.document;return e&&r.$watch(function(){return n.hash()},function(e,t){e===t&&""===e||qe(function(){r.$evalAsync(s)})}),s}]}function it(e,t){return e||t?e?t?(Wr(e)&&(e=e.join(" ")),Wr(t)&&(t=t.join(" ")),e+" "+t):e:t:""}function ot(e){for(var t=0;tc&&this.remove(h.key),t}},get:function(e){if(ce;++e)ge[e]();ge=void 0})}finally{ye++}}function F(e,t){if(t){var n,r,i,o=Object.keys(t);for(n=0,r=o.length;r>n;n++)i=o[n],this[i]=t[i]}else this.$attr={};this.$$element=e}function N(e,t,n){$e.innerHTML="";var r=$e.firstChild.attributes,i=r[0];r.removeNamedItem(i.name),i.value=n,e.attributes.setNamedItem(i)}function I(e,t){try{e.addClass(t)}catch(n){}}function P(t,n,r,i,o){t instanceof Ir||(t=Ir(t));for(var a=/\S+/,s=0,u=t.length;u>s;s++){var l=t[s];l.nodeType===ii&&l.nodeValue.match(a)&&De(l,t[s]=e.document.createElement("span"))}var c=U(t,n,t,r,i,o);P.$$addScopeClass(t);var f=null;return function(e,n,r){ce(e,"scope"),o&&o.needsNewScope&&(e=e.$parent.$new()),r=r||{};var i=r.parentBoundTranscludeFn,a=r.transcludeControllers,s=r.futureParentElement;i&&i.$$boundTransclude&&(i=i.$$boundTransclude),f||(f=R(s));var u;if(u="html"!==f?Ir(ae(f,Ir("
    ").append(t).html())):n?ki.clone.call(t):t,a)for(var l in a)u.data("$"+l+"Controller",a[l].instance);return P.$$addScopeInfo(u,e),n&&n(u,e),c&&c(e,u,u,i),u}}function R(e){var t=e&&e[0];return t&&"foreignobject"!==j(t)&&Vr.call(t).match(/SVG/)?"svg":"html"}function U(e,t,n,r,i,o){function a(e,n,r,i){var o,a,s,u,l,c,f,d,m;if(h){var g=n.length;for(m=new Array(g),l=0;ll;)s=m[p[l++]],o=p[l++],a=p[l++],o?(o.scope?(u=e.$new(),P.$$addScopeInfo(Ir(s),u)):u=e,d=o.transcludeOnThisElement?z(e,o.transclude,i):!o.templateOnThisElement&&i?i:!i&&t?z(e,t):null,o(a,u,s,r,d)):a&&a(e,s.childNodes,void 0,i)}for(var s,u,l,c,f,d,h,p=[],m=0;m$;$++){var x=!1,k=!1;l=v[$],c=l.name,p=Gr(l.value),h=mt(c),(m=Ce.test(h))&&(c=c.replace(Yi,"").substr(8).replace(/_(.)/g,function(e,t){return t.toUpperCase()}));var C=h.match(Se);C&&ee(C[1])&&(x=c,k=c.substr(0,c.length-5)+"end",c=c.substr(0,c.length-6)),d=mt(c.toLowerCase()),u[d]=c,!m&&n.hasOwnProperty(d)||(n[d]=p,Ye(e,d)&&(n[d]=!0)),le(e,t,p,d,m),K(t,d,"A",r,i,x,k)}if(a=e.className,y(a)&&(a=a.animVal),w(a)&&""!==a)for(;o=g.exec(a);)d=mt(o[2]),K(t,d,"C",r,i)&&(n[d]=Gr(o[3])),a=a.substr(o.index+o[0].length);break;case ii:if(11===Nr)for(;e.parentNode&&e.nextSibling&&e.nextSibling.nodeType===ii;)e.nodeValue=e.nodeValue+e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);oe(t,e.nodeValue);break;case oi:try{o=f.exec(e.nodeValue),o&&(d=mt(o[1]),K(t,d,"M",r,i)&&(n[d]=Gr(o[2])))}catch(S){}}return t.sort(re),t}function Y(e,t,n){var r=[],i=0;if(t&&e.hasAttribute&&e.hasAttribute(t)){do{if(!e)throw Hi("uterdir","Unterminated attribute, found '{0}' but no matching '{1}' found.",t,n);e.nodeType==ni&&(e.hasAttribute(t)&&i++,e.hasAttribute(n)&&i--),r.push(e),e=e.nextSibling}while(i>0)}else r.push(e);return Ir(r)}function W(e,t,n){return function(r,i,o,a,s){return i=Y(i[0],t,n),e(r,i,o,a,s)}}function B(e,t,n,r,i,o){var a;return e?P(t,n,r,i,o):function(){return a||(a=P(t,n,r,i,o),t=n=o=null),a.apply(this,arguments)}}function G(e,t,n,o,a,s,u,c,f){function d(e,t,n,r){e&&(n&&(e=W(e,n,r)),e.require=p.require,e.directiveName=m,(S===p||p.$$isolateScope)&&(e=de(e,{isolateScope:!0})),u.push(e)),t&&(n&&(t=W(t,n,r)),t.require=p.require,t.directiveName=m,(S===p||p.$$isolateScope)&&(t=de(t,{isolateScope:!0})),c.push(t))}function h(e,i,o,a,s){function f(e,t,n,r){var i;if(E(e)||(r=n,n=t,t=e,e=void 0),A&&(i=$),n||(n=A?w.parent():w),!r)return s(e,t,i,n,L);var o=s.$$slots[r];if(o)return o(e,t,i,n,L);if(v(o))throw Hi("noslot",'No parent directive that requires a transclusion with slot name "{0}". Element: {1}',r,J(w))}var d,h,p,m,g,$,b,w,D,T;t===o?(D=n,w=n.$$element):(w=Ir(o),D=new F(w,n)),g=i,S?m=i.$new(!0):x&&(g=i.$parent),s&&(b=f,b.$$boundTransclude=s,b.isSlotFilled=function(e){return!!s.$$slots[e]}),k&&($=Q(w,D,b,k,m,i,S)),S&&(P.$$addScopeInfo(w,m,!0,!(_&&(_===S||_===S.$$originalDirective))),P.$$addScopeClass(w,!0),m.$$isolateBindings=S.$$isolateBindings,T=pe(i,D,m,m.$$isolateBindings,S),T.removeWatches&&m.$on("$destroy",T.removeWatches));for(var M in $){var O=k[M],N=$[M],I=O.$$bindings.bindToController;N.identifier&&I?N.bindingInfo=pe(g,D,N.instance,I,O):N.bindingInfo={};var j=N();j!==N.instance&&(N.instance=j,w.data("$"+O.name+"Controller",j),N.bindingInfo.removeWatches&&N.bindingInfo.removeWatches(),N.bindingInfo=pe(g,D,N.instance,I,O))}for(r(k,function(e,t){var n=e.require;e.bindToController&&!Wr(n)&&y(n)&&l($[t].instance,Z(t,n,w,$))}),r($,function(e){var t=e.instance;C(t.$onChanges)&&t.$onChanges(e.bindingInfo.initialChanges),C(t.$onInit)&&t.$onInit(),C(t.$onDestroy)&&g.$on("$destroy",function(){t.$onDestroy()})}),d=0,h=u.length;h>d;d++)p=u[d],he(p,p.isolateScope?m:i,w,D,p.require&&Z(p.directiveName,p.require,w,$),b);var L=i;for(S&&(S.template||null===S.templateUrl)&&(L=m),e&&e(L,o.childNodes,void 0,s),d=c.length-1;d>=0;d--)p=c[d],he(p,p.isolateScope?m:i,w,D,p.require&&Z(p.directiveName,p.require,w,$),b);r($,function(e){var t=e.instance;C(t.$postLink)&&t.$postLink()})}f=f||{};for(var p,m,g,$,b,w=-Number.MAX_VALUE,x=f.newScopeDirective,k=f.controllerDirectives,S=f.newIsolateScopeDirective,_=f.templateDirective,D=f.nonTlbTranscludeDirective,T=!1,M=!1,A=f.hasElementTranscludeDirective,O=n.$$element=Ir(t),N=s,I=o,L=!1,R=!1,U=0,V=e.length;V>U;U++){p=e[U];var z=p.$$start,G=p.$$end;if(z&&(O=Y(t,z,G)),g=void 0,w>p.priority)break;if((b=p.scope)&&(p.templateUrl||(y(b)?(ie("new/isolated scope",S||x,p,O),S=p):ie("new/isolated scope",S,p,O)),x=x||p),m=p.name,!L&&(p.replace&&(p.templateUrl||p.template)||p.transclude&&!p.$$tlb)){for(var K,ee=U+1;K=e[ee++];)if(K.transclude&&!K.$$tlb||K.replace&&(K.templateUrl||K.template)){R=!0;break}L=!0}if(!p.templateUrl&&p.controller&&(b=p.controller,k=k||me(),ie("'"+m+"' controller",k[m],p,O),k[m]=p),b=p.transclude)if(T=!0,p.$$tlb||(ie("transclusion",D,p,O),D=p),"element"==b)A=!0,w=p.priority,g=O,O=n.$$element=Ir(P.$$createComment(m,n[m])),t=O[0],fe(a,H(g),t),g[0].$$parentNode=g[0].parentNode,I=B(R,g,o,w,N&&N.name,{nonTlbTranscludeDirective:D});else{var re=me();if(g=Ir(Me(t)).contents(),y(b)){g=[];var oe=me(),se=me();r(b,function(e,t){var n="?"===e.charAt(0);e=n?e.substring(1):e,oe[e]=t,re[t]=null,se[t]=n}),r(O.contents(),function(e){var t=oe[mt(j(e))];t?(se[t]=!0,re[t]=re[t]||[],re[t].push(e)):g.push(e)}),r(se,function(e,t){if(!e)throw Hi("reqslot","Required transclusion slot `{0}` was not filled.",t)});for(var ue in re)re[ue]&&(re[ue]=B(R,re[ue],o))}O.empty(),I=B(R,g,o,void 0,void 0,{needsNewScope:p.$$isolateScope||p.$$newScope}),I.$$slots=re}if(p.template)if(M=!0,ie("template",_,p,O),_=p,b=C(p.template)?p.template(O,n):p.template,b=ke(b),p.replace){if(N=p,g=xe(b)?[]:vt(ae(p.templateNamespace,Gr(b))),t=g[0],1!=g.length||t.nodeType!==ni)throw Hi("tplrt","Template for directive '{0}' must have exactly one root element. {1}",m,"");fe(a,O,t);var le={$attr:{}},ce=q(t,[],le),ge=e.splice(U+1,e.length-(U+1));(S||x)&&X(ce,S,x),e=e.concat(ce).concat(ge),te(n,le),V=e.length}else O.html(b);if(p.templateUrl)M=!0,ie("template",_,p,O),_=p,p.replace&&(N=p),h=ne(e.splice(U,e.length-U),O,n,a,T&&I,u,c,{controllerDirectives:k,newScopeDirective:x!==p&&x,newIsolateScopeDirective:S,templateDirective:_,nonTlbTranscludeDirective:D}),V=e.length;else if(p.compile)try{$=p.compile(O,n,I),C($)?d(null,$,z,G):$&&d($.pre,$.post,z,G)}catch(ve){i(ve,J(O))}p.terminal&&(h.terminal=!0,w=Math.max(w,p.priority))}return h.scope=x&&x.scope===!0,h.transcludeOnThisElement=T,h.templateOnThisElement=M,h.transclude=I,f.hasElementTranscludeDirective=A,h}function Z(e,t,n,i){var o;if(w(t)){var a=t.match(x),s=t.substring(a[0].length),u=a[1]||a[3],l="?"===a[2];if("^^"===u?n=n.parent():(o=i&&i[s],o=o&&o.instance),!o){var c="$"+s+"Controller";o=u?n.inheritedData(c):n.data(c)}if(!o&&!l)throw Hi("ctreq","Controller '{0}', required by directive '{1}', can't be found!",s,e)}else if(Wr(t)){o=[];for(var f=0,d=t.length;d>f;f++)o[f]=Z(e,t[f],n,i)}else y(t)&&(o={},r(t,function(t,r){o[r]=Z(e,t,n,i)}));return o||null}function Q(e,t,n,r,i,o,a){var s=me();for(var u in r){var l=r[u],c={$scope:l===a||l.$$isolateScope?i:o,$element:e,$attrs:t,$transclude:n},f=l.controller;"@"==f&&(f=t[l.name]);var d=m(f,c,!0,l.controllerAs);s[l.name]=d,e.data("$"+l.name+"Controller",d.instance)}return s}function X(e,t,n){for(var r=0,i=e.length;i>r;r++)e[r]=d(e[r],{$$isolateScope:t,$$newScope:n})}function K(e,n,r,o,s,l,f){if(n===s)return null;var h=null;if(u.hasOwnProperty(n))for(var p,m=t.get(n+c),g=0,$=m.length;$>g;g++)try{if(p=m[g],(v(o)||o>p.priority)&&-1!=p.restrict.indexOf(r)){if(l&&(p=d(p,{$$start:l,$$end:f})),!p.$$bindings){var b=p.$$bindings=a(p,p.name);y(b.isolateScope)&&(p.$$isolateBindings=b.isolateScope)}e.push(p),h=p}}catch(w){i(w)}return h}function ee(e){if(u.hasOwnProperty(e))for(var n,r=t.get(e+c),i=0,o=r.length;o>i;i++)if(n=r[i],n.multiElement)return!0;return!1}function te(e,t){var n=t.$attr,i=e.$attr,o=e.$$element;r(e,function(r,i){"$"!=i.charAt(0)&&(t[i]&&t[i]!==r&&(r+=("style"===i?";":" ")+t[i]),e.$set(i,r,!0,n[i]))}),r(t,function(t,r){"class"==r?(I(o,t),e["class"]=(e["class"]?e["class"]+" ":"")+t):"style"==r?(o.attr("style",o.attr("style")+";"+t),e.style=(e.style?e.style+";":"")+t):"$"==r.charAt(0)||e.hasOwnProperty(r)||(e[r]=t,i[r]=n[r])})}function ne(e,t,n,i,a,s,u,l){var c,f,h=[],p=t[0],m=e.shift(),g=d(m,{templateUrl:null,transclude:null,replace:null,$$originalDirective:m}),v=C(m.templateUrl)?m.templateUrl(t,n):m.templateUrl,$=m.templateNamespace;return t.empty(),o(v).then(function(o){var d,b,w,x;if(o=ke(o),m.replace){if(w=xe(o)?[]:vt(ae($,Gr(o))),d=w[0],1!=w.length||d.nodeType!==ni)throw Hi("tplrt","Template for directive '{0}' must have exactly one root element. {1}",m.name,v);b={$attr:{}},fe(i,t,d);var k=q(d,[],b);y(m.scope)&&X(k,!0),e=k.concat(e),te(n,b)}else d=p,t.html(o);for(e.unshift(g),c=G(e,d,n,a,t,m,s,u,l),r(i,function(e,n){e==d&&(i[n]=t[0])}),f=U(t[0].childNodes,a);h.length;){var C=h.shift(),S=h.shift(),_=h.shift(),E=h.shift(),D=t[0];if(!C.$$destroyed){if(S!==p){var T=S.className;l.hasElementTranscludeDirective&&m.replace||(D=Me(d)),fe(_,Ir(S),D),I(Ir(D),T)}x=c.transcludeOnThisElement?z(C,c.transclude,E):E,c(f,C,D,i,x)}}h=null}),function(e,t,n,r,i){var o=i;t.$$destroyed||(h?h.push(t,n,r,o):(c.transcludeOnThisElement&&(o=z(t,c.transclude,i)),c(f,t,n,r,o)))}}function re(e,t){var n=t.priority-e.priority;return 0!==n?n:e.name!==t.name?e.name"+n+"",r.childNodes[0].childNodes;default:return n}}function se(e,t){if("srcdoc"==t)return S.HTML;var n=j(e);return"xlinkHref"==t||"form"==n&&"action"==t||"img"!=n&&("src"==t||"ngSrc"==t)?S.RESOURCE_URL:void 0}function le(e,t,r,i,o){var a=se(e,i);o=b[i]||o;var s=n(r,!0,a,o);if(s){if("multiple"===i&&"select"===j(e))throw Hi("selmulti","Binding to the 'multiple' attribute is not supported. Element: {0}",J(e));t.push({priority:100,compile:function(){return{pre:function(e,t,u){var l=u.$$observers||(u.$$observers=me());if(k.test(i))throw Hi("nodomevents","Interpolations for HTML DOM event attributes are disallowed. Please use the ng- versions (such as ng-click instead of onclick) instead.");var c=u[i];c!==r&&(s=c&&n(c,!0,a,o),r=c),s&&(u[i]=s(e),(l[i]||(l[i]=[])).$$inter=!0,(u.$$observers&&u.$$observers[i].$$scope||e).$watch(s,function(e,t){"class"===i&&e!=t?u.$updateClass(e,t):u.$set(i,e)}))}}}})}}function fe(t,n,r){var i,o,a=n[0],s=n.length,u=a.parentNode;if(t)for(i=0,o=t.length;o>i;i++)if(t[i]==a){t[i++]=r;for(var l=i,c=l+s-1,f=t.length;f>l;l++,c++)f>c?t[l]=t[c]:delete t[l];t.length-=s-1,t.context===a&&(t.context=r);break}u&&u.replaceChild(r,a);var d=e.document.createDocumentFragment();for(i=0;s>i;i++)d.appendChild(n[i]);for(Ir.hasData(a)&&(Ir.data(r,Ir.data(a)),Ir(a).off("$destroy")),Ir.cleanData(d.querySelectorAll("*")),i=1;s>i;i++)delete n[i];n[0]=r,n.length=1}function de(e,t){return l(function(){return e.apply(null,arguments)},e,t)}function he(e,t,n,r,o,a){try{e(t,n,r,o,a)}catch(s){i(s,J(n))}}function pe(e,t,i,o,a){function u(t,n,r){C(i.$onChanges)&&n!==r&&(ge||(e.$$postDigest(O),ge=[]),c||(c={},ge.push(l)),c[t]&&(r=c[t].previousValue),c[t]=new pt(r,n))}function l(){i.$onChanges(c),c=void 0}var c,f=[],d={};return r(o,function(r,o){var l,c,p,m,g,v=r.attrName,$=r.optional,y=r.mode;switch(y){case"@":$||Tr.call(t,v)||(i[o]=t[v]=void 0),t.$observe(v,function(e){if(w(e)||A(e)){var t=i[o];u(o,e,t),i[o]=e}}),t.$$observers[v].$$scope=e,l=t[v],w(l)?i[o]=n(l)(e):A(l)&&(i[o]=l),d[o]=new pt(qi,i[o]);break;case"=":if(!Tr.call(t,v)){if($)break;t[v]=void 0}if($&&!t[v])break;c=s(t[v]),m=c.literal?V:function(e,t){return e===t||e!==e&&t!==t},p=c.assign||function(){throw l=i[o]=c(e),Hi("nonassign","Expression '{0}' in attribute '{1}' used with directive '{2}' is non-assignable!",t[v],v,a.name)},l=i[o]=c(e);var b=function(t){return m(t,i[o])||(m(t,l)?p(e,t=i[o]):i[o]=t),l=t};b.$stateful=!0,g=r.collection?e.$watchCollection(t[v],b):e.$watch(s(t[v],b),null,c.literal),f.push(g);break;case"<":if(!Tr.call(t,v)){if($)break;t[v]=void 0}if($&&!t[v])break;c=s(t[v]),i[o]=c(e),d[o]=new pt(qi,i[o]),g=e.$watch(c,function(e,t){e===t&&(t=i[o]),u(o,e,t),i[o]=e},c.literal),f.push(g);break;case"&":if(c=t.hasOwnProperty(v)?s(t[v]):h,c===h&&$)break;i[o]=function(t){return c(e,t)}}}),{initialChanges:d,removeWatches:f.length&&function(){for(var e=0,t=f.length;t>e;++e)f[e]()}}}var ge,ve=/^\w/,$e=e.document.createElement("div"),ye=D;F.prototype={$normalize:mt,$addClass:function(e){e&&e.length>0&&T.addClass(this.$$element,e)},$removeClass:function(e){e&&e.length>0&&T.removeClass(this.$$element,e)},$updateClass:function(e,t){var n=gt(e,t);n&&n.length&&T.addClass(this.$$element,n);var r=gt(t,e);r&&r.length&&T.removeClass(this.$$element,r)},$set:function(e,t,n,o){var a,s=this.$$element[0],u=Ye(s,e),l=We(e),c=e;if(u?(this.$$element.prop(e,t),o=u):l&&(this[l]=t,c=l),this[e]=t,o?this.$attr[e]=o:(o=this.$attr[e],o||(this.$attr[e]=o=ue(e,"-"))),a=j(this.$$element),"a"===a&&("href"===e||"xlinkHref"===e)||"img"===a&&"src"===e)this[e]=t=M(t,"src"===e);else if("img"===a&&"srcset"===e){for(var f="",d=Gr(t),h=/(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/,p=/\s/.test(d)?h:/(,)/,m=d.split(p),g=Math.floor(m.length/2),$=0;g>$;$++){var y=2*$;f+=M(Gr(m[y]),!0),f+=" "+Gr(m[y+1])}var b=Gr(m[2*$]).split(/\s/);f+=M(Gr(b[0]),!0),2===b.length&&(f+=" "+Gr(b[1])),this[e]=t=f}n!==!1&&(null===t||v(t)?this.$$element.removeAttr(o):ve.test(o)?this.$$element.attr(o,t):N(this.$$element[0],o,t));var w=this.$$observers;w&&r(w[c],function(e){try{e(t)}catch(n){i(n)}})},$observe:function(e,t){var n=this,r=n.$$observers||(n.$$observers=me()),i=r[e]||(r[e]=[]);return i.push(t),$.$evalAsync(function(){i.$$inter||!n.hasOwnProperty(e)||v(n[e])||t(n[e])}),function(){L(i,t)}}};var be=n.startSymbol(),we=n.endSymbol(),ke="{{"==be&&"}}"==we?p:function(e){return e.replace(/\{\{/g,be).replace(/}}/g,we)},Ce=/^ngAttr[A-Z]/,Se=/^(.+)Start$/;return P.$$addBindingInfo=_?function(e,t){var n=e.data("$binding")||[];Wr(t)?n=n.concat(t):n.push(t),e.data("$binding",n)}:h,P.$$addBindingClass=_?function(e){I(e,"ng-binding")}:h,P.$$addScopeInfo=_?function(e,t,n,r){var i=n?r?"$isolateScopeNoTemplate":"$isolateScope":"$scope";e.data(i,t)}:h,P.$$addScopeClass=_?function(e,t){I(e,t?"ng-isolate-scope":"ng-scope")}:h,P.$$createComment=function(t,n){var r="";return _&&(r=" "+(t||"")+": "+(n||"")+" "),e.document.createComment(r)},P}]}function pt(e,t){this.previousValue=e,this.currentValue=t}function mt(e){return we(e.replace(Yi,""))}function gt(e,t){var n="",r=e.split(/\s+/),i=t.split(/\s+/);e:for(var o=0;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===oi&&Rr.call(e,t,1)}return e}function $t(e,t){if(t&&w(t))return t;if(w(e)){var n=Bi.exec(e);if(n)return n[3]}}function yt(){var e={},n=!1;this.has=function(t){return e.hasOwnProperty(t)},this.register=function(t,n){de(t,"controller"),y(t)?l(e,t):e[t]=n},this.allowGlobals=function(){n=!0},this.$get=["$injector","$window",function(r,i){function o(e,n,r,i){if(!e||!y(e.$scope))throw t("$controller")("noscp","Cannot export controller '{0}' as '{1}'! No $scope object provided via `locals`.",i,n);e.$scope[n]=r}return function(t,a,s,u){var c,f,d,h;if(s=s===!0,u&&w(u)&&(h=u),w(t)){if(f=t.match(Bi),!f)throw Wi("ctrlfmt","Badly formed controller string '{0}'. Must match `__name__ as __id__` or `__name__`.",t);d=f[1],h=h||f[3],t=e.hasOwnProperty(d)?e[d]:he(a.$scope,d,!0)||(n?he(i,d,!0):void 0),fe(t,d,!0)}if(s){var p=(Wr(t)?t[t.length-1]:t).prototype;c=Object.create(p||null),h&&o(a,h,c,d||t.name);var m;return m=l(function(){var e=r.invoke(t,c,a,d);return e!==c&&(y(e)||C(e))&&(c=e,h&&o(a,h,c,d||t.name)),c},{instance:c,identifier:h})}return c=r.instantiate(t,a,d),h&&o(a,h,c,d||t.name),c}}]}function bt(){this.$get=["$window",function(e){return Ir(e.document)}]}function wt(){this.$get=["$log",function(e){return function(t,n){e.error.apply(e,arguments)}}]}function xt(e){return y(e)?k(e)?e.toISOString():W(e):e}function kt(){this.$get=function(){return function(e){if(!e)return"";var t=[];return i(e,function(e,n){null===e||v(e)||(Wr(e)?r(e,function(e){t.push(ne(n)+"="+ne(xt(e)))}):t.push(ne(n)+"="+ne(xt(e))))}),t.join("&")}}}function Ct(){this.$get=function(){return function(e){function t(e,o,a){null===e||v(e)||(Wr(e)?r(e,function(e,n){t(e,o+"["+(y(e)?n:"")+"]")}):y(e)&&!k(e)?i(e,function(e,n){t(e,o+(a?"":"[")+n+(a?"":"]"))}):n.push(ne(o)+"="+ne(xt(e))))}if(!e)return"";var n=[];return t(e,"",!0),n.join("&")}}}function St(e,t){if(w(e)){var n=e.replace(Ki,"").trim();if(n){var r=t("Content-Type");(r&&0===r.indexOf(Zi)||_t(n))&&(e=B(n))}}return e}function _t(e){var t=e.match(Ji);return t&&Xi[t[0]].test(e)}function Et(e){function t(e,t){e&&(i[e]=i[e]?i[e]+", "+t:t)}var n,i=me();return w(e)?r(e.split("\n"),function(e){n=e.indexOf(":"),t(Mr(Gr(e.substr(0,n))),Gr(e.substr(n+1)))}):y(e)&&r(e,function(e,n){t(Mr(n),Gr(e))}),i}function Dt(e){var t;return function(n){if(t||(t=Et(e)),n){var r=t[Mr(n)];return void 0===r&&(r=null),r}return t}}function Tt(e,t,n,i){return C(i)?i(e,t,n):(r(i,function(r){e=r(e,t,n)}),e)}function Mt(e){return e>=200&&300>e}function At(){var e=this.defaults={transformResponse:[St],transformRequest:[function(e){return!y(e)||D(e)||M(e)||T(e)?e:W(e)}],headers:{common:{Accept:"application/json, text/plain, */*"},post:U(Qi),put:U(Qi),patch:U(Qi)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",paramSerializer:"$httpParamSerializer"},n=!1;this.useApplyAsync=function(e){return $(e)?(n=!!e,this):n};var i=!0;this.useLegacyPromiseExtensions=function(e){return $(e)?(i=!!e,this):i};var o=this.interceptors=[];this.$get=["$httpBackend","$$cookieReader","$cacheFactory","$rootScope","$q","$injector",function(a,s,u,c,f,d){function h(n){function o(e){var t=l({},e);return t.data=Tt(e.data,e.headers,e.status,u.transformResponse),Mt(e.status)?t:f.reject(t)}function a(e,t){var n,i={};return r(e,function(e,r){C(e)?(n=e(t),null!=n&&(i[r]=n)):i[r]=e}),i}function s(t){var n,r,i,o=e.headers,s=l({},t.headers);o=l({},o.common,o[Mr(t.method)]);e:for(n in o){r=Mr(n);for(i in s)if(Mr(i)===r)continue e;s[n]=o[n]}return a(s,U(t))}if(!y(n))throw t("$http")("badreq","Http request configuration must be an object. Received: {0}",n);if(!w(n.url))throw t("$http")("badreq","Http request configuration url must be a string. Received: {0}",n.url);var u=l({method:"get",transformRequest:e.transformRequest,transformResponse:e.transformResponse,paramSerializer:e.paramSerializer},n);u.headers=s(n),u.method=Ar(u.method),u.paramSerializer=w(u.paramSerializer)?d.get(u.paramSerializer):u.paramSerializer;var c=function(t){var n=t.headers,i=Tt(t.data,Dt(n),void 0,t.transformRequest);return v(i)&&r(n,function(e,t){"content-type"===Mr(t)&&delete n[t]}),v(t.withCredentials)&&!v(e.withCredentials)&&(t.withCredentials=e.withCredentials),g(t,i).then(o,o)},h=[c,void 0],p=f.when(u);for(r(k,function(e){(e.request||e.requestError)&&h.unshift(e.request,e.requestError),(e.response||e.responseError)&&h.push(e.response,e.responseError)});h.length;){var m=h.shift(),$=h.shift();p=p.then(m,$)}return i?(p.success=function(e){return fe(e,"fn"),p.then(function(t){e(t.data,t.status,t.headers,u)}),p},p.error=function(e){return fe(e,"fn"),p.then(null,function(t){e(t.data,t.status,t.headers,u)}),p}):(p.success=to("success"),p.error=to("error")),p}function p(e){r(arguments,function(e){h[e]=function(t,n){return h(l({},n||{},{method:e,url:t}))}})}function m(e){r(arguments,function(e){h[e]=function(t,n,r){return h(l({},r||{},{method:e,url:t,data:n}))}})}function g(t,i){function o(e){if(e){var t={};return r(e,function(e,r){t[r]=function(t){function r(){e(t)}n?c.$applyAsync(r):c.$$phase?r():c.$apply(r)}}),t}}function u(e,t,r,i){function o(){l(t,e,r,i)}m&&(Mt(e)?m.put(S,[e,t,Et(r),i]):m.remove(S)),n?c.$applyAsync(o):(o(),c.$$phase||c.$apply())}function l(e,n,r,i){n=n>=-1?n:0,(Mt(n)?w.resolve:w.reject)({data:e,status:n,headers:Dt(r),config:t,statusText:i})}function d(e){l(e.data,e.status,U(e.headers()),e.statusText)}function p(){var e=h.pendingRequests.indexOf(t);-1!==e&&h.pendingRequests.splice(e,1)}var m,g,w=f.defer(),k=w.promise,C=t.headers,S=b(t.url,t.paramSerializer(t.params));if(h.pendingRequests.push(t),k.then(p,p),!t.cache&&!e.cache||t.cache===!1||"GET"!==t.method&&"JSONP"!==t.method||(m=y(t.cache)?t.cache:y(e.cache)?e.cache:x),m&&(g=m.get(S),$(g)?O(g)?g.then(d,d):Wr(g)?l(g[1],g[0],U(g[2]),g[3]):l(g,200,{},"OK"):m.put(S,k)),v(g)){var _=Fn(t.url)?s()[t.xsrfCookieName||e.xsrfCookieName]:void 0;_&&(C[t.xsrfHeaderName||e.xsrfHeaderName]=_),a(t.method,S,i,u,C,t.timeout,t.withCredentials,t.responseType,o(t.eventHandlers),o(t.uploadEventHandlers))}return k}function b(e,t){return t.length>0&&(e+=(-1==e.indexOf("?")?"?":"&")+t),e}var x=u("$http");e.paramSerializer=w(e.paramSerializer)?d.get(e.paramSerializer):e.paramSerializer;var k=[];return r(o,function(e){k.unshift(w(e)?d.get(e):d.invoke(e))}),h.pendingRequests=[],p("get","delete","head","jsonp"),m("post","put","patch"),h.defaults=e,h}]}function Ot(){this.$get=function(){return function(){return new e.XMLHttpRequest}}}function Ft(){this.$get=["$browser","$window","$document","$xhrFactory",function(e,t,n,r){return Nt(e,r,e.defer,t.angular.callbacks,n[0])}]}function Nt(e,t,n,i,o){function a(e,t,n){var r=o.createElement("script"),a=null;return r.type="text/javascript",r.src=e,r.async=!0,a=function(e){di(r,"load",a),di(r,"error",a),o.body.removeChild(r),r=null;var s=-1,u="unknown";e&&("load"!==e.type||i[t].called||(e={type:"error"}),u=e.type,s="error"===e.type?404:200),n&&n(s,u)},fi(r,"load",a),fi(r,"error",a),o.body.appendChild(r),a}return function(o,s,u,l,c,f,d,p,m,g){function y(){x&&x(),k&&k.abort()}function b(t,r,i,o,a){$(_)&&n.cancel(_),x=k=null,t(r,i,o,a),e.$$completeOutstandingRequest(h)}if(e.$$incOutstandingRequestCount(),s=s||e.url(),"jsonp"==Mr(o)){var w="_"+(i.counter++).toString(36);i[w]=function(e){i[w].data=e,i[w].called=!0};var x=a(s.replace("JSON_CALLBACK","angular.callbacks."+w),w,function(e,t){b(l,e,i[w].data,"",t),i[w]=h})}else{var k=t(o,s);k.open(o,s,!0),r(c,function(e,t){$(e)&&k.setRequestHeader(t,e)}),k.onload=function(){var e=k.statusText||"",t="response"in k?k.response:k.responseText,n=1223===k.status?204:k.status;0===n&&(n=t?200:"file"==On(s).protocol?404:0),b(l,n,t,k.getAllResponseHeaders(),e)};var C=function(){b(l,-1,null,null,"")};if(k.onerror=C,k.onabort=C,r(m,function(e,t){k.addEventListener(t,e)}),r(g,function(e,t){k.upload.addEventListener(t,e)}),d&&(k.withCredentials=!0),p)try{k.responseType=p}catch(S){if("json"!==p)throw S}k.send(v(u)?null:u)}if(f>0)var _=n(y,f);else O(f)&&f.then(y)}}function It(){var e="{{",t="}}";this.startSymbol=function(t){return t?(e=t,this):e},this.endSymbol=function(e){return e?(t=e,this):t},this.$get=["$parse","$exceptionHandler","$sce",function(n,r,i){function o(e){return"\\\\\\"+e}function a(n){return n.replace(h,e).replace(p,t)}function s(e){if(null==e)return""; -switch(typeof e){case"string":break;case"number":e=""+e;break;default:e=W(e)}return e}function u(e,t,n,r){var i;return i=e.$watch(function(e){return i(),r(e)},t,n)}function c(o,c,h,p){function g(e){try{return e=O(e),p&&!$(e)?e:s(e)}catch(t){r(no.interr(o,t))}}if(!o.length||-1===o.indexOf(e)){var y;if(!c){var b=a(o);y=m(b),y.exp=o,y.expressions=[],y.$$watchDelegate=u}return y}p=!!p;for(var w,x,k,S=0,_=[],E=[],D=o.length,T=[],M=[];D>S;){if(-1==(w=o.indexOf(e,S))||-1==(x=o.indexOf(t,w+f))){S!==D&&T.push(a(o.substring(S)));break}S!==w&&T.push(a(o.substring(S,w))),k=o.substring(w+f,x),_.push(k),E.push(n(k,g)),S=x+d,M.push(T.length),T.push("")}if(h&&T.length>1&&no.throwNoconcat(o),!c||_.length){var A=function(e){for(var t=0,n=_.length;n>t;t++){if(p&&v(e[t]))return;T[M[t]]=e[t]}return T.join("")},O=function(e){return h?i.getTrusted(h,e):i.valueOf(e)};return l(function(e){var t=0,n=_.length,i=new Array(n);try{for(;n>t;t++)i[t]=E[t](e);return A(i)}catch(a){r(no.interr(o,a))}},{exp:o,expressions:_,$$watchDelegate:function(e,t){var n;return e.$watchGroup(E,function(r,i){var o=A(r);C(t)&&t.call(this,o,r!==i?n:o,e),n=o})}})}}var f=e.length,d=t.length,h=new RegExp(e.replace(/./g,o),"g"),p=new RegExp(t.replace(/./g,o),"g");return c.startSymbol=function(){return e},c.endSymbol=function(){return t},c}]}function Pt(){this.$get=["$rootScope","$window","$q","$$q","$browser",function(e,t,n,r,i){function o(o,s,u,l){function c(){f?o.apply(null,d):o(m)}var f=arguments.length>4,d=f?H(arguments,4):[],h=t.setInterval,p=t.clearInterval,m=0,g=$(l)&&!l,v=(g?r:n).defer(),y=v.promise;return u=$(u)?u:0,y.$$intervalId=h(function(){g?i.defer(c):e.$evalAsync(c),v.notify(m++),u>0&&m>=u&&(v.resolve(m),p(y.$$intervalId),delete a[y.$$intervalId]),g||e.$apply()},s),a[y.$$intervalId]=v,y}var a={};return o.cancel=function(e){return e&&e.$$intervalId in a?(a[e.$$intervalId].reject("canceled"),t.clearInterval(e.$$intervalId),delete a[e.$$intervalId],!0):!1},o}]}function jt(e){for(var t=e.split("/"),n=t.length;n--;)t[n]=te(t[n]);return t.join("/")}function Lt(e,t){var n=On(e);t.$$protocol=n.protocol,t.$$host=n.hostname,t.$$port=f(n.port)||io[n.protocol]||null}function Rt(e,t){var n="/"!==e.charAt(0);n&&(e="/"+e);var r=On(e);t.$$path=decodeURIComponent(n&&"/"===r.pathname.charAt(0)?r.pathname.substring(1):r.pathname),t.$$search=K(r.search),t.$$hash=decodeURIComponent(r.hash),t.$$path&&"/"!=t.$$path.charAt(0)&&(t.$$path="/"+t.$$path)}function Ut(e,t){return 0===t.indexOf(e)?t.substr(e.length):void 0}function Vt(e){var t=e.indexOf("#");return-1==t?e:e.substr(0,t)}function zt(e){return e.replace(/(#.+)|#$/,"$1")}function Ht(e){return e.substr(0,Vt(e).lastIndexOf("/")+1)}function qt(e){return e.substring(0,e.indexOf("/",e.indexOf("//")+2))}function Yt(e,t,n){this.$$html5=!0,n=n||"",Lt(e,this),this.$$parse=function(e){var n=Ut(t,e);if(!w(n))throw oo("ipthprfx",'Invalid url "{0}", missing path prefix "{1}".',e,t);Rt(n,this),this.$$path||(this.$$path="/"),this.$$compose()},this.$$compose=function(){var e=ee(this.$$search),n=this.$$hash?"#"+te(this.$$hash):"";this.$$url=jt(this.$$path)+(e?"?"+e:"")+n,this.$$absUrl=t+this.$$url.substr(1)},this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;var o,a,s;return $(o=Ut(e,r))?(a=o,s=$(o=Ut(n,o))?t+(Ut("/",o)||o):e+a):$(o=Ut(t,r))?s=t+o:t==r+"/"&&(s=t),s&&this.$$parse(s),!!s}}function Wt(e,t,n){Lt(e,this),this.$$parse=function(r){function i(e,t,n){var r,i=/^\/[A-Z]:(\/.*)/;return 0===t.indexOf(n)&&(t=t.replace(n,"")),i.exec(t)?e:(r=i.exec(e),r?r[1]:e)}var o,a=Ut(e,r)||Ut(t,r);v(a)||"#"!==a.charAt(0)?this.$$html5?o=a:(o="",v(a)&&(e=r,this.replace())):(o=Ut(n,a),v(o)&&(o=a)),Rt(o,this),this.$$path=i(this.$$path,o,e),this.$$compose()},this.$$compose=function(){var t=ee(this.$$search),r=this.$$hash?"#"+te(this.$$hash):"";this.$$url=jt(this.$$path)+(t?"?"+t:"")+r,this.$$absUrl=e+(this.$$url?n+this.$$url:"")},this.$$parseLinkUrl=function(t,n){return Vt(e)==Vt(t)?(this.$$parse(t),!0):!1}}function Bt(e,t,n){this.$$html5=!0,Wt.apply(this,arguments),this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;var o,a;return e==Vt(r)?o=r:(a=Ut(t,r))?o=e+n+a:t===r+"/"&&(o=t),o&&this.$$parse(o),!!o},this.$$compose=function(){var t=ee(this.$$search),r=this.$$hash?"#"+te(this.$$hash):"";this.$$url=jt(this.$$path)+(t?"?"+t:"")+r,this.$$absUrl=e+n+this.$$url}}function Gt(e){return function(){return this[e]}}function Zt(e,t){return function(n){return v(n)?this[e]:(this[e]=t(n),this.$$compose(),this)}}function Qt(){var e="",t={enabled:!1,requireBase:!0,rewriteLinks:!0};this.hashPrefix=function(t){return $(t)?(e=t,this):e},this.html5Mode=function(e){return A(e)?(t.enabled=e,this):y(e)?(A(e.enabled)&&(t.enabled=e.enabled),A(e.requireBase)&&(t.requireBase=e.requireBase),A(e.rewriteLinks)&&(t.rewriteLinks=e.rewriteLinks),this):t},this.$get=["$rootScope","$browser","$sniffer","$rootElement","$window",function(n,r,i,o,a){function s(e,t,n){var i=l.url(),o=l.$$state;try{r.url(e,t,n),l.$$state=r.state()}catch(a){throw l.url(i),l.$$state=o,a}}function u(e,t){n.$broadcast("$locationChangeSuccess",l.absUrl(),e,l.$$state,t)}var l,c,f,d=r.baseHref(),h=r.url();if(t.enabled){if(!d&&t.requireBase)throw oo("nobase","$location in HTML5 mode requires a tag to be present!");f=qt(h)+(d||"/"),c=i.history?Yt:Bt}else f=Vt(h),c=Wt;var p=Ht(f);l=new c(f,p,"#"+e),l.$$parseLinkUrl(h,h),l.$$state=r.state();var m=/^\s*(javascript|mailto):/i;o.on("click",function(e){if(t.rewriteLinks&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey&&2!=e.which&&2!=e.button){for(var i=Ir(e.target);"a"!==j(i[0]);)if(i[0]===o[0]||!(i=i.parent())[0])return;var s=i.prop("href"),u=i.attr("href")||i.attr("xlink:href");y(s)&&"[object SVGAnimatedString]"===s.toString()&&(s=On(s.animVal).href),m.test(s)||!s||i.attr("target")||e.isDefaultPrevented()||l.$$parseLinkUrl(s,u)&&(e.preventDefault(),l.absUrl()!=r.url()&&(n.$apply(),a.angular["ff-684208-preventDefault"]=!0))}}),zt(l.absUrl())!=zt(h)&&r.url(l.absUrl(),!0);var g=!0;return r.onUrlChange(function(e,t){return v(Ut(p,e))?void(a.location.href=e):(n.$evalAsync(function(){var r,i=l.absUrl(),o=l.$$state;e=zt(e),l.$$parse(e),l.$$state=t,r=n.$broadcast("$locationChangeStart",e,i,t,o).defaultPrevented,l.absUrl()===e&&(r?(l.$$parse(i),l.$$state=o,s(i,!1,o)):(g=!1,u(i,o)))}),void(n.$$phase||n.$digest()))}),n.$watch(function(){var e=zt(r.url()),t=zt(l.absUrl()),o=r.state(),a=l.$$replace,c=e!==t||l.$$html5&&i.history&&o!==l.$$state;(g||c)&&(g=!1,n.$evalAsync(function(){var t=l.absUrl(),r=n.$broadcast("$locationChangeStart",t,e,l.$$state,o).defaultPrevented;l.absUrl()===t&&(r?(l.$$parse(e),l.$$state=o):(c&&s(t,a,o===l.$$state?null:l.$$state),u(e,o)))})),l.$$replace=!1}),l}]}function Jt(){var e=!0,t=this;this.debugEnabled=function(t){return $(t)?(e=t,this):e},this.$get=["$window",function(n){function i(e){return e instanceof Error&&(e.stack?e=e.message&&-1===e.stack.indexOf(e.message)?"Error: "+e.message+"\n"+e.stack:e.stack:e.sourceURL&&(e=e.message+"\n"+e.sourceURL+":"+e.line)),e}function o(e){var t=n.console||{},o=t[e]||t.log||h,a=!1;try{a=!!o.apply}catch(s){}return a?function(){var e=[];return r(arguments,function(t){e.push(i(t))}),o.apply(t,e)}:function(e,t){o(e,null==t?"":t)}}return{log:o("log"),info:o("info"),warn:o("warn"),error:o("error"),debug:function(){var n=o("debug");return function(){e&&n.apply(t,arguments)}}()}}]}function Xt(e,t){if("__defineGetter__"===e||"__defineSetter__"===e||"__lookupGetter__"===e||"__lookupSetter__"===e||"__proto__"===e)throw so("isecfld","Attempting to access a disallowed field in Angular expressions! Expression: {0}",t);return e}function Kt(e){return e+""}function en(e,t){if(e){if(e.constructor===e)throw so("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",t);if(e.window===e)throw so("isecwindow","Referencing the Window in Angular expressions is disallowed! Expression: {0}",t);if(e.children&&(e.nodeName||e.prop&&e.attr&&e.find))throw so("isecdom","Referencing DOM nodes in Angular expressions is disallowed! Expression: {0}",t);if(e===Object)throw so("isecobj","Referencing Object in Angular expressions is disallowed! Expression: {0}",t)}return e}function tn(e,t){if(e){if(e.constructor===e)throw so("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",t);if(e===uo||e===lo||e===co)throw so("isecff","Referencing call, apply or bind in Angular expressions is disallowed! Expression: {0}",t)}}function nn(e,t){if(e&&(e===0..constructor||e===(!1).constructor||e==="".constructor||e==={}.constructor||e===[].constructor||e===Function.constructor))throw so("isecaf","Assigning to a constructor is disallowed! Expression: {0}",t)}function rn(e,t){return"undefined"!=typeof e?e:t}function on(e,t){return"undefined"==typeof e?t:"undefined"==typeof t?e:e+t}function an(e,t){var n=e(t);return!n.$stateful}function sn(e,t){var n,i;switch(e.type){case mo.Program:n=!0,r(e.body,function(e){sn(e.expression,t),n=n&&e.expression.constant}),e.constant=n;break;case mo.Literal:e.constant=!0,e.toWatch=[];break;case mo.UnaryExpression:sn(e.argument,t),e.constant=e.argument.constant,e.toWatch=e.argument.toWatch;break;case mo.BinaryExpression:sn(e.left,t),sn(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.left.toWatch.concat(e.right.toWatch);break;case mo.LogicalExpression:sn(e.left,t),sn(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.constant?[]:[e];break;case mo.ConditionalExpression:sn(e.test,t),sn(e.alternate,t),sn(e.consequent,t),e.constant=e.test.constant&&e.alternate.constant&&e.consequent.constant,e.toWatch=e.constant?[]:[e];break;case mo.Identifier:e.constant=!1,e.toWatch=[e];break;case mo.MemberExpression:sn(e.object,t),e.computed&&sn(e.property,t),e.constant=e.object.constant&&(!e.computed||e.property.constant),e.toWatch=[e];break;case mo.CallExpression:n=e.filter?an(t,e.callee.name):!1,i=[],r(e.arguments,function(e){sn(e,t),n=n&&e.constant,e.constant||i.push.apply(i,e.toWatch)}),e.constant=n,e.toWatch=e.filter&&an(t,e.callee.name)?i:[e];break;case mo.AssignmentExpression:sn(e.left,t),sn(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=[e];break;case mo.ArrayExpression:n=!0,i=[],r(e.elements,function(e){sn(e,t),n=n&&e.constant,e.constant||i.push.apply(i,e.toWatch)}),e.constant=n,e.toWatch=i;break;case mo.ObjectExpression:n=!0,i=[],r(e.properties,function(e){sn(e.value,t),n=n&&e.value.constant,e.value.constant||i.push.apply(i,e.value.toWatch)}),e.constant=n,e.toWatch=i;break;case mo.ThisExpression:e.constant=!1,e.toWatch=[];break;case mo.LocalsExpression:e.constant=!1,e.toWatch=[]}}function un(e){if(1==e.length){var t=e[0].expression,n=t.toWatch;return 1!==n.length?n:n[0]!==t?n:void 0}}function ln(e){return e.type===mo.Identifier||e.type===mo.MemberExpression}function cn(e){return 1===e.body.length&&ln(e.body[0].expression)?{type:mo.AssignmentExpression,left:e.body[0].expression,right:{type:mo.NGValueParameter},operator:"="}:void 0}function fn(e){return 0===e.body.length||1===e.body.length&&(e.body[0].expression.type===mo.Literal||e.body[0].expression.type===mo.ArrayExpression||e.body[0].expression.type===mo.ObjectExpression)}function dn(e){return e.constant}function hn(e,t){this.astBuilder=e,this.$filter=t}function pn(e,t){this.astBuilder=e,this.$filter=t}function mn(e){return"constructor"==e}function gn(e){return C(e.valueOf)?e.valueOf():vo.call(e)}function vn(){var e,t,n=me(),i=me(),o={"true":!0,"false":!1,"null":null,undefined:void 0};this.addLiteral=function(e,t){o[e]=t},this.setIdentifierFns=function(n,r){return e=n,t=r,this},this.$get=["$filter",function(a){function s(e,t,r){var o,s,l;switch(r=r||b,typeof e){case"string":e=e.trim(),l=e;var g=r?i:n;if(o=g[l],!o){":"===e.charAt(0)&&":"===e.charAt(1)&&(s=!0,e=e.substring(2));var $=r?y:v,w=new po($),x=new go(w,a,$);o=x.parse(e),o.constant?o.$$watchDelegate=p:s?o.$$watchDelegate=o.literal?d:f:o.inputs&&(o.$$watchDelegate=c),r&&(o=u(o)),g[l]=o}return m(o,t);case"function":return m(e,t);default:return m(h,t)}}function u(e){function t(t,n,r,i){var o=b;b=!0;try{return e(t,n,r,i)}finally{b=o}}if(!e)return e;t.$$watchDelegate=e.$$watchDelegate,t.assign=u(e.assign),t.constant=e.constant,t.literal=e.literal;for(var n=0;e.inputs&&nf;f++)u[f]=l,c[f]=null;return e.$watch(function(e){for(var t=!1,n=0,i=a.length;i>n;n++){var s=a[n](e);(t||(t=!l(s,u[n])))&&(c[n]=s,u[n]=s&&gn(s))}return t&&(o=r(e,void 0,void 0,c)),o},t,n,i)}function f(e,t,n,r){var i,o;return i=e.$watch(function(e){return r(e)},function(e,n,r){o=e,C(t)&&t.apply(this,arguments),$(e)&&r.$$postDigest(function(){$(o)&&i()})},n)}function d(e,t,n,i){function o(e){var t=!0;return r(e,function(e){$(e)||(t=!1)}),t}var a,s;return a=e.$watch(function(e){return i(e)},function(e,n,r){s=e,C(t)&&t.call(this,e,n,r),o(e)&&r.$$postDigest(function(){o(s)&&a()})},n)}function p(e,t,n,r){var i;return i=e.$watch(function(e){return i(),r(e)},t,n)}function m(e,t){if(!t)return e;var n=e.$$watchDelegate,r=!1,i=n!==d&&n!==f,o=i?function(n,i,o,a){var s=r&&a?a[0]:e(n,i,o,a);return t(s,n,i)}:function(n,r,i,o){var a=e(n,r,i,o),s=t(a,n,r);return $(a)?s:a};return e.$$watchDelegate&&e.$$watchDelegate!==c?o.$$watchDelegate=e.$$watchDelegate:t.$stateful||(o.$$watchDelegate=c,r=!e.inputs,o.inputs=e.inputs?e.inputs:[e]),o}var g=Qr().noUnsafeEval,v={csp:g,expensiveChecks:!1,literals:R(o),isIdentifierStart:C(e)&&e,isIdentifierContinue:C(t)&&t},y={csp:g,expensiveChecks:!0,literals:R(o),isIdentifierStart:C(e)&&e,isIdentifierContinue:C(t)&&t},b=!1;return s.$$runningExpensiveChecks=function(){return b},s}]}function $n(){this.$get=["$rootScope","$exceptionHandler",function(e,t){return bn(function(t){e.$evalAsync(t)},t)}]}function yn(){this.$get=["$browser","$exceptionHandler",function(e,t){return bn(function(t){e.defer(t)},t)}]}function bn(e,n){function i(){this.$$state={status:0}}function o(e,t){return function(n){t.call(e,n)}}function a(e){var t,r,i;i=e.pending,e.processScheduled=!1,e.pending=void 0;for(var o=0,a=i.length;a>o;++o){r=i[o][0],t=i[o][e.status];try{C(t)?r.resolve(t(e.value)):1===e.status?r.resolve(e.value):r.reject(e.value)}catch(s){r.reject(s),n(s)}}}function s(t){!t.processScheduled&&t.pending&&(t.processScheduled=!0,e(function(){a(t)}))}function u(){this.promise=new i}function c(e){var t=new u,n=0,i=Wr(e)?[]:{};return r(e,function(e,r){n++,g(e).then(function(e){i.hasOwnProperty(r)||(i[r]=e,--n||t.resolve(i))},function(e){i.hasOwnProperty(r)||t.reject(e)})}),0===n&&t.resolve(i),t.promise}var f=t("$q",TypeError),d=function(){var e=new u;return e.resolve=o(e,e.resolve),e.reject=o(e,e.reject),e.notify=o(e,e.notify),e};l(i.prototype,{then:function(e,t,n){if(v(e)&&v(t)&&v(n))return this;var r=new u;return this.$$state.pending=this.$$state.pending||[],this.$$state.pending.push([r,e,t,n]),this.$$state.status>0&&s(this.$$state),r.promise},"catch":function(e){return this.then(null,e)},"finally":function(e,t){return this.then(function(t){return m(t,!0,e)},function(t){return m(t,!1,e)},t)}}),l(u.prototype,{resolve:function(e){this.promise.$$state.status||(e===this.promise?this.$$reject(f("qcycle","Expected promise to be resolved with value other than itself '{0}'",e)):this.$$resolve(e))},$$resolve:function(e){function t(e){u||(u=!0,a.$$resolve(e))}function r(e){u||(u=!0,a.$$reject(e))}var i,a=this,u=!1;try{(y(e)||C(e))&&(i=e&&e.then),C(i)?(this.promise.$$state.status=-1,i.call(e,t,r,o(this,this.notify))):(this.promise.$$state.value=e,this.promise.$$state.status=1,s(this.promise.$$state))}catch(l){r(l),n(l)}},reject:function(e){this.promise.$$state.status||this.$$reject(e)},$$reject:function(e){this.promise.$$state.value=e,this.promise.$$state.status=2,s(this.promise.$$state)},notify:function(t){var r=this.promise.$$state.pending;this.promise.$$state.status<=0&&r&&r.length&&e(function(){for(var e,i,o=0,a=r.length;a>o;o++){i=r[o][0],e=r[o][3];try{i.notify(C(e)?e(t):t)}catch(s){n(s)}}})}});var h=function(e){var t=new u;return t.reject(e),t.promise},p=function(e,t){var n=new u;return t?n.resolve(e):n.reject(e),n.promise},m=function(e,t,n){var r=null;try{C(n)&&(r=n())}catch(i){return p(i,!1)}return O(r)?r.then(function(){return p(e,t)},function(e){return p(e,!1)}):p(e,t)},g=function(e,t,n,r){var i=new u;return i.resolve(e),i.promise.then(t,n,r)},$=g,b=function(e){function t(e){r.resolve(e)}function n(e){r.reject(e)}if(!C(e))throw f("norslvr","Expected resolverFn, got '{0}'",e);var r=new u;return e(t,n),r.promise};return b.prototype=i.prototype,b.defer=d,b.reject=h,b.when=g,b.resolve=$,b.all=c,b}function wn(){this.$get=["$window","$timeout",function(e,t){var n=e.requestAnimationFrame||e.webkitRequestAnimationFrame,r=e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.webkitCancelRequestAnimationFrame,i=!!n,o=i?function(e){var t=n(e);return function(){r(t)}}:function(e){var n=t(e,16.66,!1);return function(){t.cancel(n)}};return o.supported=i,o}]}function xn(){function e(e){function t(){this.$$watchers=this.$$nextSibling=this.$$childHead=this.$$childTail=null,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$id=a(),this.$$ChildScope=null}return t.prototype=e,t}var i=10,o=t("$rootScope"),s=null,u=null;this.digestTtl=function(e){return arguments.length&&(i=e),i},this.$get=["$exceptionHandler","$parse","$browser",function(t,l,c){function f(e){e.currentScope.$$destroyed=!0}function d(e){9===Nr&&(e.$$childHead&&d(e.$$childHead),e.$$nextSibling&&d(e.$$nextSibling)),e.$parent=e.$$nextSibling=e.$$prevSibling=e.$$childHead=e.$$childTail=e.$root=e.$$watchers=null}function p(){this.$id=a(),this.$$phase=this.$parent=this.$$watchers=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=null,this.$root=this,this.$$destroyed=!1,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$$isolateBindings=null}function m(e){if(S.$$phase)throw o("inprog","{0} already in progress",S.$$phase);S.$$phase=e}function g(){S.$$phase=null}function $(e,t){do e.$$watchersCount+=t;while(e=e.$parent)}function b(e,t,n){do e.$$listenerCount[n]-=t,0===e.$$listenerCount[n]&&delete e.$$listenerCount[n];while(e=e.$parent)}function w(){}function x(){for(;D.length;)try{D.shift()()}catch(e){t(e)}u=null}function k(){null===u&&(u=c.defer(function(){S.$apply(x)}))}p.prototype={constructor:p,$new:function(t,n){var r;return n=n||this,t?(r=new p,r.$root=this.$root):(this.$$ChildScope||(this.$$ChildScope=e(this)),r=new this.$$ChildScope),r.$parent=n,r.$$prevSibling=n.$$childTail,n.$$childHead?(n.$$childTail.$$nextSibling=r,n.$$childTail=r):n.$$childHead=n.$$childTail=r,(t||n!=this)&&r.$on("$destroy",f),r},$watch:function(e,t,n,r){var i=l(e);if(i.$$watchDelegate)return i.$$watchDelegate(this,t,n,i,e);var o=this,a=o.$$watchers,u={fn:t,last:w,get:i,exp:r||e,eq:!!n};return s=null,C(t)||(u.fn=h),a||(a=o.$$watchers=[]),a.unshift(u),$(this,1),function(){L(a,u)>=0&&$(o,-1),s=null}},$watchGroup:function(e,t){function n(){u=!1,l?(l=!1,t(o,o,s)):t(o,i,s)}var i=new Array(e.length),o=new Array(e.length),a=[],s=this,u=!1,l=!0;if(!e.length){var c=!0;return s.$evalAsync(function(){c&&t(o,o,s)}),function(){c=!1}}return 1===e.length?this.$watch(e[0],function(e,n,r){o[0]=e,i[0]=n,t(o,e===n?o:i,r)}):(r(e,function(e,t){var r=s.$watch(e,function(e,r){o[t]=e,i[t]=r,u||(u=!0,s.$evalAsync(n))});a.push(r)}),function(){for(;a.length;)a.shift()()})},$watchCollection:function(e,t){function r(e){o=e;var t,r,i,s,u;if(!v(o)){if(y(o))if(n(o)){a!==h&&(a=h,g=a.length=0,f++),t=o.length,g!==t&&(f++,a.length=g=t);for(var l=0;t>l;l++)u=a[l],s=o[l],i=u!==u&&s!==s,i||u===s||(f++,a[l]=s)}else{a!==p&&(a=p={},g=0,f++),t=0;for(r in o)Tr.call(o,r)&&(t++,s=o[r],u=a[r],r in a?(i=u!==u&&s!==s,i||u===s||(f++,a[r]=s)):(g++,a[r]=s,f++));if(g>t){f++;for(r in a)Tr.call(o,r)||(g--,delete a[r])}}else a!==o&&(a=o,f++);return f}}function i(){if(m?(m=!1,t(o,o,u)):t(o,s,u),c)if(y(o))if(n(o)){s=new Array(o.length);for(var e=0;e1,f=0,d=l(e,r),h=[],p={},m=!0,g=0;return this.$watch(d,i)},$digest:function(){var e,n,r,a,l,f,d,h,p,v,$,y,b=i,k=this,D=[];m("$digest"),c.$$checkUrlChange(),this===S&&null!==u&&(c.defer.cancel(u),x()),s=null;do{for(h=!1,v=k;_.length;){try{y=_.shift(),y.scope.$eval(y.expression,y.locals)}catch(T){t(T)}s=null}e:do{if(f=v.$$watchers)for(d=f.length;d--;)try{if(e=f[d])if(l=e.get,(n=l(v))===(r=e.last)||(e.eq?V(n,r):"number"==typeof n&&"number"==typeof r&&isNaN(n)&&isNaN(r))){if(e===s){h=!1;break e}}else h=!0,s=e,e.last=e.eq?R(n,null):n,a=e.fn,a(n,r===w?n:r,v),5>b&&($=4-b,D[$]||(D[$]=[]),D[$].push({msg:C(e.exp)?"fn: "+(e.exp.name||e.exp.toString()):e.exp,newVal:n,oldVal:r}))}catch(T){t(T)}if(!(p=v.$$watchersCount&&v.$$childHead||v!==k&&v.$$nextSibling))for(;v!==k&&!(p=v.$$nextSibling);)v=v.$parent}while(v=p);if((h||_.length)&&!b--)throw g(),o("infdig","{0} $digest() iterations reached. Aborting!\nWatchers fired in the last 5 iterations: {1}",i,D)}while(h||_.length);for(g();E.length;)try{E.shift()()}catch(T){t(T)}},$destroy:function(){if(!this.$$destroyed){var e=this.$parent;this.$broadcast("$destroy"),this.$$destroyed=!0,this===S&&c.$$applicationDestroyed(),$(this,-this.$$watchersCount);for(var t in this.$$listenerCount)b(this,this.$$listenerCount[t],t);e&&e.$$childHead==this&&(e.$$childHead=this.$$nextSibling),e&&e.$$childTail==this&&(e.$$childTail=this.$$prevSibling),this.$$prevSibling&&(this.$$prevSibling.$$nextSibling=this.$$nextSibling),this.$$nextSibling&&(this.$$nextSibling.$$prevSibling=this.$$prevSibling),this.$destroy=this.$digest=this.$apply=this.$evalAsync=this.$applyAsync=h,this.$on=this.$watch=this.$watchGroup=function(){return h},this.$$listeners={},this.$$nextSibling=null,d(this)}},$eval:function(e,t){return l(e)(this,t)},$evalAsync:function(e,t){S.$$phase||_.length||c.defer(function(){_.length&&S.$digest()}),_.push({scope:this,expression:l(e),locals:t})},$$postDigest:function(e){E.push(e)},$apply:function(e){try{m("$apply");try{return this.$eval(e)}finally{g()}}catch(n){t(n)}finally{try{S.$digest()}catch(n){throw t(n),n}}},$applyAsync:function(e){function t(){n.$eval(e)}var n=this;e&&D.push(t),e=l(e),k()},$on:function(e,t){var n=this.$$listeners[e];n||(this.$$listeners[e]=n=[]),n.push(t);var r=this;do r.$$listenerCount[e]||(r.$$listenerCount[e]=0),r.$$listenerCount[e]++;while(r=r.$parent);var i=this;return function(){var r=n.indexOf(t);-1!==r&&(n[r]=null,b(i,1,e))}},$emit:function(e,n){var r,i,o,a=[],s=this,u=!1,l={name:e,targetScope:s,stopPropagation:function(){u=!0},preventDefault:function(){l.defaultPrevented=!0},defaultPrevented:!1},c=z([l],arguments,1);do{for(r=s.$$listeners[e]||a,l.currentScope=s,i=0,o=r.length;o>i;i++)if(r[i])try{r[i].apply(null,c)}catch(f){t(f)}else r.splice(i,1),i--,o--;if(u)return l.currentScope=null,l;s=s.$parent}while(s);return l.currentScope=null,l},$broadcast:function(e,n){var r=this,i=r,o=r,a={name:e,targetScope:r,preventDefault:function(){a.defaultPrevented=!0},defaultPrevented:!1};if(!r.$$listenerCount[e])return a;for(var s,u,l,c=z([a],arguments,1);i=o;){for(a.currentScope=i,s=i.$$listeners[e]||[],u=0,l=s.length;l>u;u++)if(s[u])try{s[u].apply(null,c)}catch(f){t(f)}else s.splice(u,1),u--,l--;if(!(o=i.$$listenerCount[e]&&i.$$childHead||i!==r&&i.$$nextSibling))for(;i!==r&&!(o=i.$$nextSibling);)i=i.$parent}return a.currentScope=null,a}};var S=new p,_=S.$$asyncQueue=[],E=S.$$postDigestQueue=[],D=S.$$applyAsyncQueue=[];return S}]}function kn(){var e=/^\s*(https?|ftp|mailto|tel|file):/,t=/^\s*((https?|ftp|file|blob):|data:image\/)/;this.aHrefSanitizationWhitelist=function(t){return $(t)?(e=t,this):e},this.imgSrcSanitizationWhitelist=function(e){return $(e)?(t=e,this):t},this.$get=function(){return function(n,r){var i,o=r?t:e;return i=On(n).href,""===i||i.match(o)?n:"unsafe:"+i}}}function Cn(e){if("self"===e)return e;if(w(e)){if(e.indexOf("***")>-1)throw $o("iwcard","Illegal sequence *** in string matcher. String: {0}",e);return e=Zr(e).replace("\\*\\*",".*").replace("\\*","[^:/.?&;]*"),new RegExp("^"+e+"$")}if(S(e))return new RegExp("^"+e.source+"$");throw $o("imatcher",'Matchers may only be "self", string patterns or RegExp objects')}function Sn(e){var t=[];return $(e)&&r(e,function(e){t.push(Cn(e))}),t}function _n(){this.SCE_CONTEXTS=yo;var e=["self"],t=[];this.resourceUrlWhitelist=function(t){return arguments.length&&(e=Sn(t)),e},this.resourceUrlBlacklist=function(e){return arguments.length&&(t=Sn(e)),t},this.$get=["$injector",function(n){function r(e,t){return"self"===e?Fn(t):!!e.exec(t.href)}function i(n){var i,o,a=On(n.toString()),s=!1;for(i=0,o=e.length;o>i;i++)if(r(e[i],a)){s=!0;break}if(s)for(i=0,o=t.length;o>i;i++)if(r(t[i],a)){s=!1;break}return s}function o(e){var t=function(e){this.$$unwrapTrustedValue=function(){return e}};return e&&(t.prototype=new e),t.prototype.valueOf=function(){return this.$$unwrapTrustedValue()},t.prototype.toString=function(){return this.$$unwrapTrustedValue().toString()},t}function a(e,t){var n=f.hasOwnProperty(e)?f[e]:null;if(!n)throw $o("icontext","Attempted to trust a value in invalid context. Context: {0}; Value: {1}",e,t);if(null===t||v(t)||""===t)return t;if("string"!=typeof t)throw $o("itype","Attempted to trust a non-string value in a content requiring a string: Context: {0}",e);return new n(t)}function s(e){return e instanceof c?e.$$unwrapTrustedValue():e}function u(e,t){if(null===t||v(t)||""===t)return t;var n=f.hasOwnProperty(e)?f[e]:null;if(n&&t instanceof n)return t.$$unwrapTrustedValue();if(e===yo.RESOURCE_URL){if(i(t))return t;throw $o("insecurl","Blocked loading resource from url not allowed by $sceDelegate policy. URL: {0}",t.toString())}if(e===yo.HTML)return l(t);throw $o("unsafe","Attempting to use an unsafe value in a safe context.")}var l=function(e){throw $o("unsafe","Attempting to use an unsafe value in a safe context.")};n.has("$sanitize")&&(l=n.get("$sanitize"));var c=o(),f={};return f[yo.HTML]=o(c),f[yo.CSS]=o(c),f[yo.URL]=o(c),f[yo.JS]=o(c),f[yo.RESOURCE_URL]=o(f[yo.URL]),{trustAs:a,getTrusted:u,valueOf:s}}]}function En(){var e=!0;this.enabled=function(t){return arguments.length&&(e=!!t),e},this.$get=["$parse","$sceDelegate",function(t,n){if(e&&8>Nr)throw $o("iequirks","Strict Contextual Escaping does not support Internet Explorer version < 11 in quirks mode. You can fix this by adding the text to the top of your HTML document. See http://docs.angularjs.org/api/ng.$sce for more information.");var i=U(yo);i.isEnabled=function(){return e},i.trustAs=n.trustAs,i.getTrusted=n.getTrusted,i.valueOf=n.valueOf,e||(i.trustAs=i.getTrusted=function(e,t){return t},i.valueOf=p),i.parseAs=function(e,n){var r=t(n);return r.literal&&r.constant?r:t(n,function(t){return i.getTrusted(e,t)})};var o=i.parseAs,a=i.getTrusted,s=i.trustAs;return r(yo,function(e,t){var n=Mr(t);i[we("parse_as_"+n)]=function(t){return o(e,t)},i[we("get_trusted_"+n)]=function(t){return a(e,t)},i[we("trust_as_"+n)]=function(t){return s(e,t)}}),i}]}function Dn(){this.$get=["$window","$document",function(e,t){var n,r,i={},o=e.chrome&&e.chrome.app&&e.chrome.app.runtime,a=!o&&e.history&&e.history.pushState,s=f((/android (\d+)/.exec(Mr((e.navigator||{}).userAgent))||[])[1]),u=/Boxee/i.test((e.navigator||{}).userAgent),l=t[0]||{},c=/^(Moz|webkit|ms)(?=[A-Z])/,d=l.body&&l.body.style,h=!1,p=!1;if(d){for(var m in d)if(r=c.exec(m)){n=r[0],n=n.substr(0,1).toUpperCase()+n.substr(1);break}n||(n="WebkitOpacity"in d&&"webkit"),h=!!("transition"in d||n+"Transition"in d),p=!!("animation"in d||n+"Animation"in d),!s||h&&p||(h=w(d.webkitTransition),p=w(d.webkitAnimation))}return{history:!(!a||4>s||u),hasEvent:function(e){if("input"===e&&11>=Nr)return!1;if(v(i[e])){var t=l.createElement("div");i[e]="on"+e in t}return i[e]},csp:Qr(),vendorPrefix:n,transitions:h,animations:p,android:s}}]}function Tn(){var e;this.httpOptions=function(t){return t?(e=t,this):e},this.$get=["$templateCache","$http","$q","$sce",function(t,n,r,i){function o(a,s){function u(e){if(!s)throw bo("tpload","Failed to load template: {0} (HTTP status: {1} {2})",a,e.status,e.statusText);return r.reject(e)}o.totalPendingRequests++,w(a)&&t.get(a)||(a=i.getTrustedResourceUrl(a));var c=n.defaults&&n.defaults.transformResponse;return Wr(c)?c=c.filter(function(e){return e!==St}):c===St&&(c=null),n.get(a,l({cache:t,transformResponse:c},e))["finally"](function(){o.totalPendingRequests--}).then(function(e){return t.put(a,e.data),e.data},u)}return o.totalPendingRequests=0,o}]}function Mn(){this.$get=["$rootScope","$browser","$location",function(e,t,n){var i={};return i.findBindings=function(e,t,n){var i=e.getElementsByClassName("ng-binding"),o=[];return r(i,function(e){var i=qr.element(e).data("$binding");i&&r(i,function(r){if(n){var i=new RegExp("(^|\\s)"+Zr(t)+"(\\s|\\||$)");i.test(r)&&o.push(e)}else-1!=r.indexOf(t)&&o.push(e)})}),o},i.findModels=function(e,t,n){for(var r=["ng-","data-ng-","ng\\:"],i=0;i0&&(u=t(o.substring(0,s)),v(r[u])&&(r[u]=t(o.substring(s+1))));return r}}function Pn(){this.$get=In}function jn(e){function t(i,o){if(y(i)){var a={};return r(i,function(e,n){a[n]=t(n,e)}),a}return e.factory(i+n,o)}var n="Filter";this.register=t,this.$get=["$injector",function(e){return function(t){return e.get(t+n)}}],t("currency",zn),t("date",rr),t("filter",Ln),t("json",ir),t("limitTo",or),t("lowercase",To),t("number",Hn),t("orderBy",ar),t("uppercase",Mo)}function Ln(){return function(e,r,i){if(!n(e)){if(null==e)return e;throw t("filter")("notarray","Expected array but received: {0}",e)}var o,a,s=Vn(r);switch(s){case"function":o=r;break;case"boolean":case"null":case"number":case"string":a=!0;case"object":o=Rn(r,i,a);break;default:return e}return Array.prototype.filter.call(e,o)}}function Rn(e,t,n){var r,i=y(e)&&"$"in e;return t===!0?t=V:C(t)||(t=function(e,t){return v(e)?!1:null===e||null===t?e===t:y(t)||y(e)&&!g(e)?!1:(e=Mr(""+e),t=Mr(""+t),-1!==e.indexOf(t))}),r=function(r){return i&&!y(r)?Un(r,e.$,t,!1):Un(r,e,t,n)}}function Un(e,t,n,r,i){var o=Vn(e),a=Vn(t);if("string"===a&&"!"===t.charAt(0))return!Un(e,t.substring(1),n,r);if(Wr(e))return e.some(function(e){return Un(e,t,n,r)});switch(o){case"object": -var s;if(r){for(s in e)if("$"!==s.charAt(0)&&Un(e[s],t,n,!0))return!0;return i?!1:Un(e,t,n,!1)}if("object"===a){for(s in t){var u=t[s];if(!C(u)&&!v(u)){var l="$"===s,c=l?e:e[s];if(!Un(c,u,n,l,l))return!1}}return!0}return n(e,t);case"function":return!1;default:return n(e,t)}}function Vn(e){return null===e?"null":typeof e}function zn(e){var t=e.NUMBER_FORMATS;return function(e,n,r){return v(n)&&(n=t.CURRENCY_SYM),v(r)&&(r=t.PATTERNS[1].maxFrac),null==e?e:Wn(e,t.PATTERNS[1],t.GROUP_SEP,t.DECIMAL_SEP,r).replace(/\u00A4/g,n)}}function Hn(e){var t=e.NUMBER_FORMATS;return function(e,n){return null==e?e:Wn(e,t.PATTERNS[0],t.GROUP_SEP,t.DECIMAL_SEP,n)}}function qn(e){var t,n,r,i,o,a=0;for((n=e.indexOf(Co))>-1&&(e=e.replace(Co,"")),(r=e.search(/e/i))>0?(0>n&&(n=r),n+=+e.slice(r+1),e=e.substring(0,r)):0>n&&(n=e.length),r=0;e.charAt(r)==So;r++);if(r==(o=e.length))t=[0],n=1;else{for(o--;e.charAt(o)==So;)o--;for(n-=r,t=[],i=0;o>=r;r++,i++)t[i]=+e.charAt(r)}return n>ko&&(t=t.splice(0,ko-1),a=n-1,n=1),{d:t,e:a,i:n}}function Yn(e,t,n,r){var i=e.d,o=i.length-e.i;t=v(t)?Math.min(Math.max(n,o),r):+t;var a=t+e.i,s=i[a];if(a>0){i.splice(Math.max(e.i,a));for(var u=a;ul;l++)i[l]=0}if(s>=5)if(0>a-1){for(var c=0;c>a;c--)i.unshift(0),e.i++;i.unshift(1),e.i++}else i[a-1]++;for(;of;)c.unshift(0),f++;f>0?h=c.splice(f):(h=c,c=[0]);var p=[];for(c.length>=t.lgSize&&p.unshift(c.splice(-t.lgSize).join(""));c.length>t.gSize;)p.unshift(c.splice(-t.gSize).join(""));c.length&&p.unshift(c.join("")),l=p.join(n),h.length&&(l+=r+h.join("")),d&&(l+="e+"+d)}return 0>e&&!s?t.negPre+l+t.negSuf:t.posPre+l+t.posSuf}function Bn(e,t,n,r){var i="";for((0>e||r&&0>=e)&&(r?e=-e+1:(e=-e,i="-")),e=""+e;e.length0||a>-n)&&(a+=n),0===a&&-12==n&&(a=12),Bn(a,t,r,i)}}function Zn(e,t,n){return function(r,i){var o=r["get"+e](),a=(n?"STANDALONE":"")+(t?"SHORT":""),s=Ar(a+e);return i[s][o]}}function Qn(e,t,n){var r=-1*n,i=r>=0?"+":"";return i+=Bn(Math[r>0?"floor":"ceil"](r/60),2)+Bn(Math.abs(r%60),2)}function Jn(e){var t=new Date(e,0,1).getDay();return new Date(e,0,(4>=t?5:12)-t)}function Xn(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate()+(4-e.getDay()))}function Kn(e){return function(t){var n=Jn(t.getFullYear()),r=Xn(t),i=+r-+n,o=1+Math.round(i/6048e5);return Bn(o,e)}}function er(e,t){return e.getHours()<12?t.AMPMS[0]:t.AMPMS[1]}function tr(e,t){return e.getFullYear()<=0?t.ERAS[0]:t.ERAS[1]}function nr(e,t){return e.getFullYear()<=0?t.ERANAMES[0]:t.ERANAMES[1]}function rr(e){function t(e){var t;if(t=e.match(n)){var r=new Date(0),i=0,o=0,a=t[8]?r.setUTCFullYear:r.setFullYear,s=t[8]?r.setUTCHours:r.setHours;t[9]&&(i=f(t[9]+t[10]),o=f(t[9]+t[11])),a.call(r,f(t[1]),f(t[2])-1,f(t[3]));var u=f(t[4]||0)-i,l=f(t[5]||0)-o,c=f(t[6]||0),d=Math.round(1e3*parseFloat("0."+(t[7]||0)));return s.call(r,u,l,c,d),r}return e}var n=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;return function(n,i,o){var a,s,u="",l=[];if(i=i||"mediumDate",i=e.DATETIME_FORMATS[i]||i,w(n)&&(n=Do.test(n)?f(n):t(n)),x(n)&&(n=new Date(n)),!k(n)||!isFinite(n.getTime()))return n;for(;i;)s=Eo.exec(i),s?(l=z(l,s,1),i=l.pop()):(l.push(i),i=null);var c=n.getTimezoneOffset();return o&&(c=G(o,c),n=Q(n,o,!0)),r(l,function(t){a=_o[t],u+=a?a(n,e.DATETIME_FORMATS,c):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}}function ir(){return function(e,t){return v(t)&&(t=2),W(e,t)}}function or(){return function(e,t,n){return t=Math.abs(Number(t))===1/0?Number(t):f(t),isNaN(t)?e:(x(e)&&(e=e.toString()),Wr(e)||w(e)?(n=!n||isNaN(n)?0:f(n),n=0>n?Math.max(0,e.length+n):n,t>=0?e.slice(n,n+t):0===n?e.slice(t,e.length):e.slice(Math.max(0,n+t),n)):e)}}function ar(e){function r(t,n){return n=n?-1:1,t.map(function(t){var r=1,i=p;if(C(t))i=t;else if(w(t)&&("+"!=t.charAt(0)&&"-"!=t.charAt(0)||(r="-"==t.charAt(0)?-1:1,t=t.substring(1)),""!==t&&(i=e(t),i.constant))){var o=i();i=function(e){return e[o]}}return{get:i,descending:r*n}})}function i(e){switch(typeof e){case"number":case"boolean":case"string":return!0;default:return!1}}function o(e,t){return"function"==typeof e.valueOf&&(e=e.valueOf(),i(e))?e:g(e)&&(e=e.toString(),i(e))?e:t}function a(e,t){var n=typeof e;return null===e?(n="string",e="null"):"string"===n?e=e.toLowerCase():"object"===n&&(e=o(e,t)),{value:e,type:n}}function s(e,t){var n=0;return e.type===t.type?e.value!==t.value&&(n=e.valuer&&!(n=s(e.predicateValues[r],t.predicateValues[r])*c[r].descending);++r);return n}if(null==e)return e;if(!n(e))throw t("orderBy")("notarray","Expected array but received: {0}",e);Wr(i)||(i=[i]),0===i.length&&(i=["+"]);var c=r(i,o);c.push({get:function(){return{}},descending:o?-1:1});var f=Array.prototype.map.call(e,u);return f.sort(l),e=f.map(function(e){return e.value})}}function sr(e){return C(e)&&(e={link:e}),e.restrict=e.restrict||"AC",m(e)}function ur(e,t){e.$name=t}function lr(e,t,n,i,o){var a=this,s=[];a.$error={},a.$$success={},a.$pending=void 0,a.$name=o(t.name||t.ngForm||"")(n),a.$dirty=!1,a.$pristine=!0,a.$valid=!0,a.$invalid=!1,a.$submitted=!1,a.$$parentForm=Fo,a.$rollbackViewValue=function(){r(s,function(e){e.$rollbackViewValue()})},a.$commitViewValue=function(){r(s,function(e){e.$commitViewValue()})},a.$addControl=function(e){de(e.$name,"input"),s.push(e),e.$name&&(a[e.$name]=e),e.$$parentForm=a},a.$$renameControl=function(e,t){var n=e.$name;a[n]===e&&delete a[n],a[t]=e,e.$name=t},a.$removeControl=function(e){e.$name&&a[e.$name]===e&&delete a[e.$name],r(a.$pending,function(t,n){a.$setValidity(n,null,e)}),r(a.$error,function(t,n){a.$setValidity(n,null,e)}),r(a.$$success,function(t,n){a.$setValidity(n,null,e)}),L(s,e),e.$$parentForm=Fo},Cr({ctrl:this,$element:e,set:function(e,t,n){var r=e[t];if(r){var i=r.indexOf(n);-1===i&&r.push(n)}else e[t]=[n]},unset:function(e,t,n){var r=e[t];r&&(L(r,n),0===r.length&&delete e[t])},$animate:i}),a.$setDirty=function(){i.removeClass(e,va),i.addClass(e,$a),a.$dirty=!0,a.$pristine=!1,a.$$parentForm.$setDirty()},a.$setPristine=function(){i.setClass(e,va,$a+" "+No),a.$dirty=!1,a.$pristine=!0,a.$submitted=!1,r(s,function(e){e.$setPristine()})},a.$setUntouched=function(){r(s,function(e){e.$setUntouched()})},a.$setSubmitted=function(){i.addClass(e,No),a.$submitted=!0,a.$$parentForm.$setSubmitted()}}function cr(e){e.$formatters.push(function(t){return e.$isEmpty(t)?t:t.toString()})}function fr(e,t,n,r,i,o){dr(e,t,n,r,i,o),cr(r)}function dr(e,t,n,r,i,o){var a=Mr(t[0].type);if(!i.android){var s=!1;t.on("compositionstart",function(){s=!0}),t.on("compositionend",function(){s=!1,l()})}var u,l=function(e){if(u&&(o.defer.cancel(u),u=null),!s){var i=t.val(),l=e&&e.type;"password"===a||n.ngTrim&&"false"===n.ngTrim||(i=Gr(i)),(r.$viewValue!==i||""===i&&r.$$hasNativeValidators)&&r.$setViewValue(i,l)}};if(i.hasEvent("input"))t.on("input",l);else{var c=function(e,t,n){u||(u=o.defer(function(){u=null,t&&t.value===n||l(e)}))};t.on("keydown",function(e){var t=e.keyCode;91===t||t>15&&19>t||t>=37&&40>=t||c(e,this,this.value)}),i.hasEvent("paste")&&t.on("paste cut",c)}t.on("change",l),Go[a]&&r.$$hasNativeValidators&&a===n.type&&t.on(Bo,function(e){if(!u){var t=this[Dr],n=t.badInput,r=t.typeMismatch;u=o.defer(function(){u=null,t.badInput===n&&t.typeMismatch===r||l(e)})}}),r.$render=function(){var e=r.$isEmpty(r.$viewValue)?"":r.$viewValue;t.val()!==e&&t.val(e)}}function hr(e,t){if(k(e))return e;if(w(e)){qo.lastIndex=0;var n=qo.exec(e);if(n){var r=+n[1],i=+n[2],o=0,a=0,s=0,u=0,l=Jn(r),c=7*(i-1);return t&&(o=t.getHours(),a=t.getMinutes(),s=t.getSeconds(),u=t.getMilliseconds()),new Date(r,0,l.getDate()+c,o,a,s,u)}}return NaN}function pr(e,t){return function(n,i){var o,a;if(k(n))return n;if(w(n)){if('"'==n.charAt(0)&&'"'==n.charAt(n.length-1)&&(n=n.substring(1,n.length-1)),Lo.test(n))return new Date(n);if(e.lastIndex=0,o=e.exec(n))return o.shift(),a=i?{yyyy:i.getFullYear(),MM:i.getMonth()+1,dd:i.getDate(),HH:i.getHours(),mm:i.getMinutes(),ss:i.getSeconds(),sss:i.getMilliseconds()/1e3}:{yyyy:1970,MM:1,dd:1,HH:0,mm:0,ss:0,sss:0},r(o,function(e,n){n=m},a.$observe("min",function(e){m=d(e),s.$validate()})}if($(a.max)||a.ngMax){var g;s.$validators.max=function(e){return!f(e)||v(g)||n(e)<=g},a.$observe("max",function(e){g=d(e),s.$validate()})}}}function gr(e,t,n,r){var i=t[0],o=r.$$hasNativeValidators=y(i.validity);o&&r.$parsers.push(function(e){var n=t.prop(Dr)||{};return n.badInput||n.typeMismatch?void 0:e})}function vr(e,t,n,r,i,o){if(gr(e,t,n,r),dr(e,t,n,r,i,o),r.$$parserName="number",r.$parsers.push(function(e){return r.$isEmpty(e)?null:Vo.test(e)?parseFloat(e):void 0}),r.$formatters.push(function(e){if(!r.$isEmpty(e)){if(!x(e))throw Ca("numfmt","Expected `{0}` to be a number",e);e=e.toString()}return e}),$(n.min)||n.ngMin){var a;r.$validators.min=function(e){return r.$isEmpty(e)||v(a)||e>=a},n.$observe("min",function(e){$(e)&&!x(e)&&(e=parseFloat(e,10)),a=x(e)&&!isNaN(e)?e:void 0,r.$validate()})}if($(n.max)||n.ngMax){var s;r.$validators.max=function(e){return r.$isEmpty(e)||v(s)||s>=e},n.$observe("max",function(e){$(e)&&!x(e)&&(e=parseFloat(e,10)),s=x(e)&&!isNaN(e)?e:void 0,r.$validate()})}}function $r(e,t,n,r,i,o){dr(e,t,n,r,i,o),cr(r),r.$$parserName="url",r.$validators.url=function(e,t){var n=e||t;return r.$isEmpty(n)||Ro.test(n)}}function yr(e,t,n,r,i,o){dr(e,t,n,r,i,o),cr(r),r.$$parserName="email",r.$validators.email=function(e,t){var n=e||t;return r.$isEmpty(n)||Uo.test(n)}}function br(e,t,n,r){v(n.name)&&t.attr("name",a());var i=function(e){t[0].checked&&r.$setViewValue(n.value,e&&e.type)};t.on("click",i),r.$render=function(){var e=n.value;t[0].checked=e==r.$viewValue},n.$observe("value",r.$render)}function wr(e,t,n,r,i){var o;if($(r)){if(o=e(r),!o.constant)throw Ca("constexpr","Expected constant expression for `{0}`, but saw `{1}`.",n,r);return o(t)}return i}function xr(e,t,n,r,i,o,a,s){var u=wr(s,e,"ngTrueValue",n.ngTrueValue,!0),l=wr(s,e,"ngFalseValue",n.ngFalseValue,!1),c=function(e){r.$setViewValue(t[0].checked,e&&e.type)};t.on("click",c),r.$render=function(){t[0].checked=r.$viewValue},r.$isEmpty=function(e){return e===!1},r.$formatters.push(function(e){return V(e,u)}),r.$parsers.push(function(e){return e?u:l})}function kr(e,t){return e="ngClass"+e,["$animate",function(n){function i(e,t){var n=[];e:for(var r=0;r0||n[e])&&(n[e]=(n[e]||0)+t,n[e]===+(t>0)&&i.push(e))}),s.data("$classCounts",n),i.join(" ")}function d(e,t){var r=i(t,e),o=i(e,t);r=f(r,1),o=f(o,-1),r&&r.length&&n.addClass(s,r),o&&o.length&&n.removeClass(s,o)}function h(e){if(t===!0||a.$index%2===t){var n=o(e||[]);if(p){if(!V(e,p)){var r=o(p);d(r,n)}}else l(n)}p=Wr(e)?e.map(function(e){return U(e)}):U(e)}var p;a.$watch(u[e],h,!0),u.$observe("class",function(t){h(a.$eval(u[e]))}),"ngClass"!==e&&a.$watch("$index",function(n,r){var i=1&n;if(i!==(1&r)){var s=o(a.$eval(u[e]));i===t?l(s):c(s)}})}}}]}function Cr(e){function t(e,t,s){v(t)?n("$pending",e,s):r("$pending",e,s),A(t)?t?(c(a.$error,e,s),l(a.$$success,e,s)):(l(a.$error,e,s),c(a.$$success,e,s)):(c(a.$error,e,s),c(a.$$success,e,s)),a.$pending?(i(wa,!0),a.$valid=a.$invalid=void 0,o("",null)):(i(wa,!1),a.$valid=Sr(a.$error),a.$invalid=!a.$valid,o("",a.$valid));var u;u=a.$pending&&a.$pending[e]?void 0:a.$error[e]?!1:a.$$success[e]?!0:null,o(e,u),a.$$parentForm.$setValidity(e,u,a)}function n(e,t,n){a[e]||(a[e]={}),l(a[e],t,n)}function r(e,t,n){a[e]&&c(a[e],t,n),Sr(a[e])&&(a[e]=void 0)}function i(e,t){t&&!u[e]?(f.addClass(s,e),u[e]=!0):!t&&u[e]&&(f.removeClass(s,e),u[e]=!1)}function o(e,t){e=e?"-"+ue(e,"-"):"",i(ma+e,t===!0),i(ga+e,t===!1)}var a=e.ctrl,s=e.$element,u={},l=e.set,c=e.unset,f=e.$animate;u[ga]=!(u[ma]=s.hasClass(ma)),a.$setValidity=t}function Sr(e){if(e)for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}function _r(e){e[0].hasAttribute("selected")&&(e[0].selected=!0)}var Er=/^\/(.+)\/([a-z]*)$/,Dr="validity",Tr=Object.prototype.hasOwnProperty,Mr=function(e){return w(e)?e.toLowerCase():e},Ar=function(e){return w(e)?e.toUpperCase():e},Or=function(e){return w(e)?e.replace(/[A-Z]/g,function(e){return String.fromCharCode(32|e.charCodeAt(0))}):e},Fr=function(e){return w(e)?e.replace(/[a-z]/g,function(e){return String.fromCharCode(-33&e.charCodeAt(0))}):e};"i"!=="I".toLowerCase()&&(Mr=Or,Ar=Fr);var Nr,Ir,Pr,jr,Lr=[].slice,Rr=[].splice,Ur=[].push,Vr=Object.prototype.toString,zr=Object.getPrototypeOf,Hr=t("ng"),qr=e.angular||(e.angular={}),Yr=0;Nr=e.document.documentMode,h.$inject=[],p.$inject=[];var Wr=Array.isArray,Br=/^\[object (?:Uint8|Uint8Clamped|Uint16|Uint32|Int8|Int16|Int32|Float32|Float64)Array\]$/,Gr=function(e){return w(e)?e.trim():e},Zr=function(e){return e.replace(/([-()\[\]{}+?*.$\^|,:#n;++n)if(r=Kr[n],t=e.document.querySelector("["+r.replace(":","\\:")+"jq]")){i=t.getAttribute(r+"jq");break}return Jr.name_=i},Xr=/:/g,Kr=["ng-","data-ng-","ng:","x-ng-"],ei=/[A-Z]/g,ti=!1,ni=1,ri=2,ii=3,oi=8,ai=9,si=11,ui={full:"1.5.5",major:1,minor:5,dot:5,codeName:"material-conspiration"};Te.expando="ng339";var li=Te.cache={},ci=1,fi=function(e,t,n){e.addEventListener(t,n,!1)},di=function(e,t,n){e.removeEventListener(t,n,!1)};Te._data=function(e){return this.cache[e[this.expando]]||{}};var hi=/([\:\-\_]+(.))/g,pi=/^moz([A-Z])/,mi={mouseleave:"mouseout",mouseenter:"mouseover"},gi=t("jqLite"),vi=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,$i=/<|&#?\w+;/,yi=/<([\w:-]+)/,bi=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,wi={option:[1,'"],thead:[1,"","
    "],col:[2,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],_default:[0,"",""]};wi.optgroup=wi.option,wi.tbody=wi.tfoot=wi.colgroup=wi.caption=wi.thead,wi.th=wi.td;var xi=e.Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))},ki=Te.prototype={ready:function(t){function n(){r||(r=!0,t())}var r=!1;"complete"===e.document.readyState?e.setTimeout(n):(this.on("DOMContentLoaded",n),Te(e).on("load",n))},toString:function(){var e=[];return r(this,function(t){e.push(""+t)}),"["+e.join(", ")+"]"},eq:function(e){return Ir(e>=0?this[e]:this[this.length+e])},length:0,push:Ur,sort:[].sort,splice:[].splice},Ci={};r("multiple,selected,checked,disabled,readOnly,required,open".split(","),function(e){Ci[Mr(e)]=e});var Si={};r("input,select,option,textarea,button,form,details".split(","),function(e){Si[e]=!0});var _i={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern"};r({data:Ie,removeData:Fe,hasData:Ce,cleanData:Se},function(e,t){Te[t]=e}),r({data:Ie,inheritedData:Ve,scope:function(e){return Ir.data(e,"$scope")||Ve(e.parentNode||e,["$isolateScope","$scope"])},isolateScope:function(e){return Ir.data(e,"$isolateScope")||Ir.data(e,"$isolateScopeNoTemplate")},controller:Ue,injector:function(e){return Ve(e,"$injector")},removeAttr:function(e,t){e.removeAttribute(t)},hasClass:Pe,css:function(e,t,n){return t=we(t),$(n)?void(e.style[t]=n):e.style[t]},attr:function(e,t,n){var r=e.nodeType;if(r!==ii&&r!==ri&&r!==oi){var i=Mr(t);if(Ci[i]){if(!$(n))return e[t]||(e.attributes.getNamedItem(t)||h).specified?i:void 0;n?(e[t]=!0,e.setAttribute(t,i)):(e[t]=!1,e.removeAttribute(i))}else if($(n))e.setAttribute(t,n);else if(e.getAttribute){var o=e.getAttribute(t,2);return null===o?void 0:o}}},prop:function(e,t,n){return $(n)?void(e[t]=n):e[t]},text:function(){function e(e,t){if(v(t)){var n=e.nodeType;return n===ni||n===ii?e.textContent:""}e.textContent=t}return e.$dv="",e}(),val:function(e,t){if(v(t)){if(e.multiple&&"select"===j(e)){var n=[];return r(e.options,function(e){e.selected&&n.push(e.value||e.text)}),0===n.length?null:n}return e.value}e.value=t},html:function(e,t){return v(t)?e.innerHTML:(Ae(e,!0),void(e.innerHTML=t))},empty:ze},function(e,t){Te.prototype[t]=function(t,n){var r,i,o=this.length;if(e!==ze&&v(2==e.length&&e!==Pe&&e!==Ue?t:n)){if(y(t)){for(r=0;o>r;r++)if(e===Ie)e(this[r],t);else for(i in t)e(this[r],i,t[i]);return this}for(var a=e.$dv,s=v(a)?Math.min(o,1):o,u=0;s>u;u++){var l=e(this[u],t,n);a=a?a+l:l}return a}for(r=0;o>r;r++)e(this[r],t,n);return this}}),r({removeData:Fe,on:function(e,t,n,r){if($(r))throw gi("onargs","jqLite#on() does not support the `selector` or `eventData` parameters");if(ke(e)){var i=Ne(e,!0),o=i.events,a=i.handle;a||(a=i.handle=Be(e,o));for(var s=t.indexOf(" ")>=0?t.split(" "):[t],u=s.length,l=function(t,r,i){var s=o[t];s||(s=o[t]=[],s.specialHandlerWrapper=r,"$destroy"===t||i||fi(e,t,a)),s.push(n)};u--;)t=s[u],mi[t]?(l(mi[t],Ze),l(t,void 0,!0)):l(t)}},off:Oe,one:function(e,t,n){e=Ir(e),e.on(t,function r(){e.off(t,n),e.off(t,r)}),e.on(t,n)},replaceWith:function(e,t){var n,i=e.parentNode;Ae(e),r(new Te(t),function(t){n?i.insertBefore(t,n.nextSibling):i.replaceChild(t,e),n=t})},children:function(e){var t=[];return r(e.childNodes,function(e){e.nodeType===ni&&t.push(e)}),t},contents:function(e){return e.contentDocument||e.childNodes||[]},append:function(e,t){var n=e.nodeType;if(n===ni||n===si){t=new Te(t);for(var r=0,i=t.length;i>r;r++){var o=t[r];e.appendChild(o)}}},prepend:function(e,t){if(e.nodeType===ni){var n=e.firstChild;r(new Te(t),function(t){e.insertBefore(t,n)})}},wrap:function(e,t){De(e,Ir(t).eq(0).clone()[0])},remove:He,detach:function(e){He(e,!0)},after:function(e,t){var n=e,r=e.parentNode;t=new Te(t);for(var i=0,o=t.length;o>i;i++){var a=t[i];r.insertBefore(a,n.nextSibling),n=a}},addClass:Le,removeClass:je,toggleClass:function(e,t,n){t&&r(t.split(" "),function(t){var r=n;v(r)&&(r=!Pe(e,t)),(r?Le:je)(e,t)})},parent:function(e){var t=e.parentNode;return t&&t.nodeType!==si?t:null},next:function(e){return e.nextElementSibling},find:function(e,t){return e.getElementsByTagName?e.getElementsByTagName(t):[]},clone:Me,triggerHandler:function(e,t,n){var i,o,a,s=t.type||t,u=Ne(e),c=u&&u.events,f=c&&c[s];f&&(i={preventDefault:function(){this.defaultPrevented=!0},isDefaultPrevented:function(){return this.defaultPrevented===!0},stopImmediatePropagation:function(){this.immediatePropagationStopped=!0},isImmediatePropagationStopped:function(){return this.immediatePropagationStopped===!0},stopPropagation:h,type:s,target:e},t.type&&(i=l(i,t)),o=U(f),a=n?[i].concat(n):[i],r(o,function(t){i.isImmediatePropagationStopped()||t.apply(e,a)}))}},function(e,t){Te.prototype[t]=function(t,n,r){for(var i,o=0,a=this.length;a>o;o++)v(i)?(i=e(this[o],t,n,r),$(i)&&(i=Ir(i))):Re(i,e(this[o],t,n,r));return $(i)?i:this},Te.prototype.bind=Te.prototype.on,Te.prototype.unbind=Te.prototype.off}),Xe.prototype={put:function(e,t){this[Je(e,this.nextUid)]=t},get:function(e){return this[Je(e,this.nextUid)]},remove:function(e){var t=this[e=Je(e,this.nextUid)];return delete this[e],t}};var Ei=[function(){this.$get=[function(){return Xe}]}],Di=/^([^\(]+?)=>/,Ti=/^[^\(]*\(\s*([^\)]*)\)/m,Mi=/,/,Ai=/^\s*(_?)(\S+?)\1\s*$/,Oi=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,Fi=t("$injector");nt.$$annotate=tt;var Ni=t("$animate"),Ii=1,Pi="ng-animate",ji=function(){this.$get=h},Li=function(){var e=new Xe,t=[];this.$get=["$$AnimateRunner","$rootScope",function(n,i){function o(e,t,n){var i=!1;return t&&(t=w(t)?t.split(" "):Wr(t)?t:[],r(t,function(t){t&&(i=!0,e[t]=n)})),i}function a(){r(t,function(t){var n=e.get(t);if(n){var i=at(t.attr("class")),o="",a="";r(n,function(e,t){var n=!!i[t];e!==n&&(e?o+=(o.length?" ":"")+t:a+=(a.length?" ":"")+t)}),r(t,function(e){o&&Le(e,o),a&&je(e,a)}),e.remove(t)}}),t.length=0}function s(n,r,s){var u=e.get(n)||{},l=o(u,r,!0),c=o(u,s,!1);(l||c)&&(e.put(n,u),t.push(n),1===t.length&&i.$$postDigest(a))}return{enabled:h,on:h,off:h,pin:h,push:function(e,t,r,i){i&&i(),r=r||{},r.from&&e.css(r.from),r.to&&e.css(r.to),(r.addClass||r.removeClass)&&s(e,r.addClass,r.removeClass);var o=new n;return o.complete(),o}}}]},Ri=["$provide",function(e){var t=this;this.$$registeredAnimations=Object.create(null),this.register=function(n,r){if(n&&"."!==n.charAt(0))throw Ni("notcsel","Expecting class selector starting with '.' got '{0}'.",n);var i=n+"-animation";t.$$registeredAnimations[n.substr(1)]=i,e.factory(i,r)},this.classNameFilter=function(e){if(1===arguments.length&&(this.$$classNameFilter=e instanceof RegExp?e:null,this.$$classNameFilter)){var t=new RegExp("(\\s+|\\/)"+Pi+"(\\s+|\\/)");if(t.test(this.$$classNameFilter.toString()))throw Ni("nongcls",'$animateProvider.classNameFilter(regex) prohibits accepting a regex value which matches/contains the "{0}" CSS class.',Pi)}return this.$$classNameFilter},this.$get=["$$animateQueue",function(e){function t(e,t,n){if(n){var r=ot(n);!r||r.parentNode||r.previousElementSibling||(n=null)}n?n.after(e):t.prepend(e)}return{on:e.on,off:e.off,pin:e.pin,enabled:e.enabled,cancel:function(e){e.end&&e.end()},enter:function(n,r,i,o){return r=r&&Ir(r),i=i&&Ir(i),r=r||i.parent(),t(n,r,i),e.push(n,"enter",st(o))},move:function(n,r,i,o){return r=r&&Ir(r),i=i&&Ir(i),r=r||i.parent(),t(n,r,i),e.push(n,"move",st(o))},leave:function(t,n){return e.push(t,"leave",st(n),function(){t.remove()})},addClass:function(t,n,r){return r=st(r),r.addClass=it(r.addclass,n),e.push(t,"addClass",r)},removeClass:function(t,n,r){return r=st(r),r.removeClass=it(r.removeClass,n),e.push(t,"removeClass",r)},setClass:function(t,n,r,i){return i=st(i),i.addClass=it(i.addClass,n),i.removeClass=it(i.removeClass,r),e.push(t,"setClass",i)},animate:function(t,n,r,i,o){return o=st(o),o.from=o.from?l(o.from,n):n,o.to=o.to?l(o.to,r):r,i=i||"ng-inline-animate",o.tempClasses=it(o.tempClasses,i),e.push(t,"animate",o)}}}]}],Ui=function(){this.$get=["$$rAF",function(e){function t(t){n.push(t),n.length>1||e(function(){for(var e=0;e <= >= && || ! = |".split(" "),function(e){fo[e]=!0});var ho={n:"\n",f:"\f",r:"\r",t:" ",v:"\x0B","'":"'",'"':'"'},po=function(e){this.options=e};po.prototype={constructor:po,lex:function(e){for(this.text=e,this.index=0,this.tokens=[];this.index="0"&&"9">=e&&"string"==typeof e},isWhitespace:function(e){return" "===e||"\r"===e||" "===e||"\n"===e||"\x0B"===e||" "===e},isIdentifierStart:function(e){return this.options.isIdentifierStart?this.options.isIdentifierStart(e,this.codePointAt(e)):this.isValidIdentifierStart(e)},isValidIdentifierStart:function(e){return e>="a"&&"z">=e||e>="A"&&"Z">=e||"_"===e||"$"===e},isIdentifierContinue:function(e){return this.options.isIdentifierContinue?this.options.isIdentifierContinue(e,this.codePointAt(e)):this.isValidIdentifierContinue(e)},isValidIdentifierContinue:function(e,t){return this.isValidIdentifierStart(e,t)||this.isNumber(e)},codePointAt:function(e){return 1===e.length?e.charCodeAt(0):(e.charCodeAt(0)<<10)+e.charCodeAt(1)-56613888},peekMultichar:function(){var e=this.text.charAt(this.index),t=this.peek();if(!t)return e;var n=e.charCodeAt(0),r=t.charCodeAt(0);return n>=55296&&56319>=n&&r>=56320&&57343>=r?e+t:e},isExpOperator:function(e){return"-"===e||"+"===e||this.isNumber(e)},throwError:function(e,t,n){n=n||this.index;var r=$(t)?"s "+t+"-"+this.index+" ["+this.text.substring(t,n)+"]":" "+n;throw so("lexerr","Lexer Error: {0} at column{1} in expression [{2}].",e,r,this.text)},readNumber:function(){for(var e="",t=this.index;this.index0&&!this.peek("}",")",";","]")&&e.push(this.expressionStatement()),!this.expect(";"))return{type:mo.Program,body:e}},expressionStatement:function(){return{type:mo.ExpressionStatement,expression:this.filterChain()}},filterChain:function(){for(var e,t=this.expression();e=this.expect("|");)t=this.filter(t);return t},expression:function(){return this.assignment()},assignment:function(){var e=this.ternary();return this.expect("=")&&(e={type:mo.AssignmentExpression,left:e,right:this.assignment(),operator:"="}),e},ternary:function(){var e,t,n=this.logicalOR();return this.expect("?")&&(e=this.expression(),this.consume(":"))?(t=this.expression(),{type:mo.ConditionalExpression,test:n,alternate:e,consequent:t}):n},logicalOR:function(){for(var e=this.logicalAND();this.expect("||");)e={type:mo.LogicalExpression,operator:"||",left:e,right:this.logicalAND()};return e},logicalAND:function(){for(var e=this.equality();this.expect("&&");)e={type:mo.LogicalExpression,operator:"&&",left:e,right:this.equality()};return e},equality:function(){for(var e,t=this.relational();e=this.expect("==","!=","===","!==");)t={type:mo.BinaryExpression,operator:e.text,left:t,right:this.relational()};return t},relational:function(){for(var e,t=this.additive();e=this.expect("<",">","<=",">=");)t={type:mo.BinaryExpression,operator:e.text,left:t,right:this.additive()};return t},additive:function(){for(var e,t=this.multiplicative();e=this.expect("+","-");)t={type:mo.BinaryExpression,operator:e.text,left:t,right:this.multiplicative()};return t},multiplicative:function(){for(var e,t=this.unary();e=this.expect("*","/","%");)t={type:mo.BinaryExpression,operator:e.text,left:t,right:this.unary()};return t},unary:function(){var e;return(e=this.expect("+","-","!"))?{type:mo.UnaryExpression,operator:e.text,prefix:!0,argument:this.unary()}:this.primary()},primary:function(){var e;this.expect("(")?(e=this.filterChain(),this.consume(")")):this.expect("[")?e=this.arrayDeclaration():this.expect("{")?e=this.object():this.selfReferential.hasOwnProperty(this.peek().text)?e=R(this.selfReferential[this.consume().text]):this.options.literals.hasOwnProperty(this.peek().text)?e={type:mo.Literal,value:this.options.literals[this.consume().text]}:this.peek().identifier?e=this.identifier():this.peek().constant?e=this.constant():this.throwError("not a primary expression",this.peek());for(var t;t=this.expect("(","[",".");)"("===t.text?(e={type:mo.CallExpression,callee:e,arguments:this.parseArguments()},this.consume(")")):"["===t.text?(e={type:mo.MemberExpression,object:e,property:this.expression(),computed:!0},this.consume("]")):"."===t.text?e={type:mo.MemberExpression,object:e,property:this.identifier(),computed:!1}:this.throwError("IMPOSSIBLE");return e},filter:function(e){for(var t=[e],n={type:mo.CallExpression,callee:this.identifier(),arguments:t,filter:!0};this.expect(":");)t.push(this.expression());return n},parseArguments:function(){var e=[];if(")"!==this.peekToken().text)do e.push(this.expression());while(this.expect(","));return e},identifier:function(){var e=this.consume();return e.identifier||this.throwError("is not a valid identifier",e),{type:mo.Identifier,name:e.text}},constant:function(){return{type:mo.Literal,value:this.consume().value}},arrayDeclaration:function(){var e=[];if("]"!==this.peekToken().text)do{if(this.peek("]"))break;e.push(this.expression())}while(this.expect(","));return this.consume("]"),{type:mo.ArrayExpression,elements:e}},object:function(){var e,t=[];if("}"!==this.peekToken().text)do{if(this.peek("}"))break;e={type:mo.Property,kind:"init"},this.peek().constant?e.key=this.constant():this.peek().identifier?e.key=this.identifier():this.throwError("invalid key",this.peek()),this.consume(":"),e.value=this.expression(),t.push(e)}while(this.expect(","));return this.consume("}"),{type:mo.ObjectExpression,properties:t}},throwError:function(e,t){throw so("syntax","Syntax Error: Token '{0}' {1} at column {2} of the expression [{3}] starting at [{4}].",t.text,e,t.index+1,this.text,this.text.substring(t.index))},consume:function(e){if(0===this.tokens.length)throw so("ueoe","Unexpected end of expression: {0}",this.text);var t=this.expect(e);return t||this.throwError("is unexpected, expecting ["+e+"]",this.peek()),t},peekToken:function(){if(0===this.tokens.length)throw so("ueoe","Unexpected end of expression: {0}",this.text);return this.tokens[0]},peek:function(e,t,n,r){return this.peekAhead(0,e,t,n,r)},peekAhead:function(e,t,n,r,i){if(this.tokens.length>e){var o=this.tokens[e],a=o.text;if(a===t||a===n||a===r||a===i||!t&&!n&&!r&&!i)return o}return!1},expect:function(e,t,n,r){var i=this.peek(e,t,n,r);return i?(this.tokens.shift(),i):!1},selfReferential:{"this":{type:mo.ThisExpression},$locals:{type:mo.LocalsExpression}}},hn.prototype={compile:function(e,t){var n=this,i=this.astBuilder.ast(e);this.state={nextId:0,filters:{},expensiveChecks:t,fn:{vars:[],body:[],own:{}},assign:{vars:[],body:[],own:{}},inputs:[]},sn(i,n.$filter);var o,a="";if(this.stage="assign",o=cn(i)){this.state.computing="assign";var s=this.nextId();this.recurse(o,s),this.return_(s),a="fn.assign="+this.generateFunction("assign","s,v,l")}var u=un(i.body);n.stage="inputs",r(u,function(e,t){var r="fn"+t;n.state[r]={vars:[],body:[],own:{}},n.state.computing=r;var i=n.nextId();n.recurse(e,i),n.return_(i),n.state.inputs.push(r),e.watchId=t}),this.state.computing="fn",this.stage="main",this.recurse(i);var l='"'+this.USE+" "+this.STRICT+'";\n'+this.filterPrefix()+"var fn="+this.generateFunction("fn","s,l,a,i")+a+this.watchFns()+"return fn;",c=new Function("$filter","ensureSafeMemberName","ensureSafeObject","ensureSafeFunction","getStringValue","ensureSafeAssignContext","ifDefined","plus","text",l)(this.$filter,Xt,en,tn,Kt,nn,rn,on,e);return this.state=this.stage=void 0,c.literal=fn(i),c.constant=dn(i),c},USE:"use",STRICT:"strict",watchFns:function(){var e=[],t=this.state.inputs,n=this;return r(t,function(t){e.push("var "+t+"="+n.generateFunction(t,"s"))}),t.length&&e.push("fn.inputs=["+t.join(",")+"];"),e.join("")},generateFunction:function(e,t){return"function("+t+"){"+this.varsPrefix(e)+this.body(e)+"};"},filterPrefix:function(){var e=[],t=this;return r(this.state.filters,function(n,r){e.push(n+"=$filter("+t.escape(r)+")")}),e.length?"var "+e.join(",")+";":""},varsPrefix:function(e){return this.state[e].vars.length?"var "+this.state[e].vars.join(",")+";":""},body:function(e){return this.state[e].body.join("")},recurse:function(e,t,n,i,o,a){var s,u,l,c,f=this;if(i=i||h,!a&&$(e.watchId))return t=t||this.nextId(),void this.if_("i",this.lazyAssign(t,this.computedMember("i",e.watchId)),this.lazyRecurse(e,t,n,i,o,!0));switch(e.type){case mo.Program:r(e.body,function(t,n){f.recurse(t.expression,void 0,void 0,function(e){u=e}),n!==e.body.length-1?f.current().body.push(u,";"):f.return_(u)});break;case mo.Literal:c=this.escape(e.value),this.assign(t,c),i(c);break;case mo.UnaryExpression:this.recurse(e.argument,void 0,void 0,function(e){u=e}),c=e.operator+"("+this.ifDefined(u,0)+")",this.assign(t,c),i(c);break;case mo.BinaryExpression:this.recurse(e.left,void 0,void 0,function(e){s=e}),this.recurse(e.right,void 0,void 0,function(e){u=e}),c="+"===e.operator?this.plus(s,u):"-"===e.operator?this.ifDefined(s,0)+e.operator+this.ifDefined(u,0):"("+s+")"+e.operator+"("+u+")",this.assign(t,c),i(c);break;case mo.LogicalExpression:t=t||this.nextId(),f.recurse(e.left,t),f.if_("&&"===e.operator?t:f.not(t),f.lazyRecurse(e.right,t)),i(t);break;case mo.ConditionalExpression:t=t||this.nextId(),f.recurse(e.test,t),f.if_(t,f.lazyRecurse(e.alternate,t),f.lazyRecurse(e.consequent,t)),i(t);break;case mo.Identifier:t=t||this.nextId(),n&&(n.context="inputs"===f.stage?"s":this.assign(this.nextId(),this.getHasOwnProperty("l",e.name)+"?l:s"),n.computed=!1,n.name=e.name),Xt(e.name),f.if_("inputs"===f.stage||f.not(f.getHasOwnProperty("l",e.name)),function(){f.if_("inputs"===f.stage||"s",function(){o&&1!==o&&f.if_(f.not(f.nonComputedMember("s",e.name)),f.lazyAssign(f.nonComputedMember("s",e.name),"{}")),f.assign(t,f.nonComputedMember("s",e.name))})},t&&f.lazyAssign(t,f.nonComputedMember("l",e.name))),(f.state.expensiveChecks||mn(e.name))&&f.addEnsureSafeObject(t),i(t);break;case mo.MemberExpression:s=n&&(n.context=this.nextId())||this.nextId(),t=t||this.nextId(),f.recurse(e.object,s,void 0,function(){f.if_(f.notNull(s),function(){o&&1!==o&&f.addEnsureSafeAssignContext(s),e.computed?(u=f.nextId(),f.recurse(e.property,u),f.getStringValue(u),f.addEnsureSafeMemberName(u),o&&1!==o&&f.if_(f.not(f.computedMember(s,u)),f.lazyAssign(f.computedMember(s,u),"{}")),c=f.ensureSafeObject(f.computedMember(s,u)),f.assign(t,c),n&&(n.computed=!0,n.name=u)):(Xt(e.property.name),o&&1!==o&&f.if_(f.not(f.nonComputedMember(s,e.property.name)),f.lazyAssign(f.nonComputedMember(s,e.property.name),"{}")),c=f.nonComputedMember(s,e.property.name),(f.state.expensiveChecks||mn(e.property.name))&&(c=f.ensureSafeObject(c)),f.assign(t,c),n&&(n.computed=!1,n.name=e.property.name))},function(){f.assign(t,"undefined")}),i(t)},!!o);break;case mo.CallExpression:t=t||this.nextId(),e.filter?(u=f.filter(e.callee.name),l=[],r(e.arguments,function(e){var t=f.nextId();f.recurse(e,t),l.push(t)}),c=u+"("+l.join(",")+")",f.assign(t,c),i(t)):(u=f.nextId(),s={},l=[],f.recurse(e.callee,u,s,function(){f.if_(f.notNull(u),function(){f.addEnsureSafeFunction(u),r(e.arguments,function(e){f.recurse(e,f.nextId(),void 0,function(e){l.push(f.ensureSafeObject(e))})}),s.name?(f.state.expensiveChecks||f.addEnsureSafeObject(s.context),c=f.member(s.context,s.name,s.computed)+"("+l.join(",")+")"):c=u+"("+l.join(",")+")",c=f.ensureSafeObject(c),f.assign(t,c)},function(){f.assign(t,"undefined")}),i(t)}));break;case mo.AssignmentExpression:if(u=this.nextId(),s={},!ln(e.left))throw so("lval","Trying to assign a value to a non l-value");this.recurse(e.left,void 0,s,function(){f.if_(f.notNull(s.context),function(){f.recurse(e.right,u),f.addEnsureSafeObject(f.member(s.context,s.name,s.computed)),f.addEnsureSafeAssignContext(s.context),c=f.member(s.context,s.name,s.computed)+e.operator+u,f.assign(t,c),i(t||c)})},1);break;case mo.ArrayExpression:l=[],r(e.elements,function(e){f.recurse(e,f.nextId(),void 0,function(e){l.push(e)})}),c="["+l.join(",")+"]",this.assign(t,c),i(c);break;case mo.ObjectExpression:l=[],r(e.properties,function(e){f.recurse(e.value,f.nextId(),void 0,function(t){l.push(f.escape(e.key.type===mo.Identifier?e.key.name:""+e.key.value)+":"+t)})}),c="{"+l.join(",")+"}",this.assign(t,c),i(c);break;case mo.ThisExpression:this.assign(t,"s"),i("s");break;case mo.LocalsExpression:this.assign(t,"l"),i("l");break;case mo.NGValueParameter:this.assign(t,"v"),i("v")}},getHasOwnProperty:function(e,t){var n=e+"."+t,r=this.current().own;return r.hasOwnProperty(n)||(r[n]=this.nextId(!1,e+"&&("+this.escape(t)+" in "+e+")")),r[n]},assign:function(e,t){return e?(this.current().body.push(e,"=",t,";"),e):void 0},filter:function(e){return this.state.filters.hasOwnProperty(e)||(this.state.filters[e]=this.nextId(!0)),this.state.filters[e]},ifDefined:function(e,t){return"ifDefined("+e+","+this.escape(t)+")"},plus:function(e,t){return"plus("+e+","+t+")"},return_:function(e){this.current().body.push("return ",e,";")},if_:function(e,t,n){if(e===!0)t();else{var r=this.current().body;r.push("if(",e,"){"),t(),r.push("}"),n&&(r.push("else{"),n(),r.push("}"))}},not:function(e){return"!("+e+")"},notNull:function(e){return e+"!=null"},nonComputedMember:function(e,t){var n=/[$_a-zA-Z][$_a-zA-Z0-9]*/,r=/[^$_a-zA-Z0-9]/g;return n.test(t)?e+"."+t:e+'["'+t.replace(r,this.stringEscapeFn)+'"]'},computedMember:function(e,t){return e+"["+t+"]"},member:function(e,t,n){return n?this.computedMember(e,t):this.nonComputedMember(e,t)},addEnsureSafeObject:function(e){this.current().body.push(this.ensureSafeObject(e),";")},addEnsureSafeMemberName:function(e){this.current().body.push(this.ensureSafeMemberName(e),";")},addEnsureSafeFunction:function(e){this.current().body.push(this.ensureSafeFunction(e),";")},addEnsureSafeAssignContext:function(e){this.current().body.push(this.ensureSafeAssignContext(e),";")},ensureSafeObject:function(e){return"ensureSafeObject("+e+",text)"},ensureSafeMemberName:function(e){return"ensureSafeMemberName("+e+",text)"},ensureSafeFunction:function(e){return"ensureSafeFunction("+e+",text)"},getStringValue:function(e){this.assign(e,"getStringValue("+e+")")},ensureSafeAssignContext:function(e){return"ensureSafeAssignContext("+e+",text)"},lazyRecurse:function(e,t,n,r,i,o){var a=this;return function(){a.recurse(e,t,n,r,i,o)}},lazyAssign:function(e,t){var n=this;return function(){n.assign(e,t)}},stringEscapeRegex:/[^ a-zA-Z0-9]/g,stringEscapeFn:function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)},escape:function(e){if(w(e))return"'"+e.replace(this.stringEscapeRegex,this.stringEscapeFn)+"'";if(x(e))return e.toString();if(e===!0)return"true";if(e===!1)return"false";if(null===e)return"null";if("undefined"==typeof e)return"undefined";throw so("esc","IMPOSSIBLE")},nextId:function(e,t){var n="v"+this.state.nextId++;return e||this.current().vars.push(n+(t?"="+t:"")),n},current:function(){return this.state[this.state.computing]}},pn.prototype={compile:function(e,t){var n=this,i=this.astBuilder.ast(e);this.expression=e,this.expensiveChecks=t,sn(i,n.$filter);var o,a;(o=cn(i))&&(a=this.recurse(o));var s,u=un(i.body);u&&(s=[],r(u,function(e,t){var r=n.recurse(e);e.input=r,s.push(r),e.watchId=t}));var l=[];r(i.body,function(e){l.push(n.recurse(e.expression))});var c=0===i.body.length?h:1===i.body.length?l[0]:function(e,t){var n;return r(l,function(r){n=r(e,t)}),n};return a&&(c.assign=function(e,t,n){return a(e,n,t)}),s&&(c.inputs=s),c.literal=fn(i),c.constant=dn(i),c},recurse:function(e,t,n){var i,o,a,s=this;if(e.input)return this.inputs(e.input,e.watchId);switch(e.type){case mo.Literal:return this.value(e.value,t);case mo.UnaryExpression:return o=this.recurse(e.argument),this["unary"+e.operator](o,t);case mo.BinaryExpression:return i=this.recurse(e.left),o=this.recurse(e.right),this["binary"+e.operator](i,o,t);case mo.LogicalExpression:return i=this.recurse(e.left),o=this.recurse(e.right),this["binary"+e.operator](i,o,t);case mo.ConditionalExpression:return this["ternary?:"](this.recurse(e.test),this.recurse(e.alternate),this.recurse(e.consequent),t);case mo.Identifier:return Xt(e.name,s.expression),s.identifier(e.name,s.expensiveChecks||mn(e.name),t,n,s.expression);case mo.MemberExpression:return i=this.recurse(e.object,!1,!!n),e.computed||(Xt(e.property.name,s.expression),o=e.property.name),e.computed&&(o=this.recurse(e.property)),e.computed?this.computedMember(i,o,t,n,s.expression):this.nonComputedMember(i,o,s.expensiveChecks,t,n,s.expression);case mo.CallExpression:return a=[],r(e.arguments,function(e){a.push(s.recurse(e))}),e.filter&&(o=this.$filter(e.callee.name)),e.filter||(o=this.recurse(e.callee,!0)),e.filter?function(e,n,r,i){for(var s=[],u=0;u":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)>t(r,i,o,a);return n?{value:s}:s}},"binary<=":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)<=t(r,i,o,a);return n?{value:s}:s}},"binary>=":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)>=t(r,i,o,a);return n?{value:s}:s}},"binary&&":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)&&t(r,i,o,a);return n?{value:s}:s}},"binary||":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)||t(r,i,o,a);return n?{value:s}:s}},"ternary?:":function(e,t,n,r){return function(i,o,a,s){var u=e(i,o,a,s)?t(i,o,a,s):n(i,o,a,s);return r?{value:u}:u}},value:function(e,t){return function(){return t?{context:void 0,name:void 0,value:e}:e}},identifier:function(e,t,n,r,i){return function(o,a,s,u){var l=a&&e in a?a:o;r&&1!==r&&l&&!l[e]&&(l[e]={});var c=l?l[e]:void 0;return t&&en(c,i),n?{context:l,name:e,value:c}:c}},computedMember:function(e,t,n,r,i){return function(o,a,s,u){var l,c,f=e(o,a,s,u);return null!=f&&(l=t(o,a,s,u),l=Kt(l),Xt(l,i),r&&1!==r&&(nn(f),f&&!f[l]&&(f[l]={})),c=f[l],en(c,i)),n?{context:f,name:l,value:c}:c}},nonComputedMember:function(e,t,n,r,i,o){return function(a,s,u,l){var c=e(a,s,u,l);i&&1!==i&&(nn(c),c&&!c[t]&&(c[t]={}));var f=null!=c?c[t]:void 0;return(n||mn(t))&&en(f,o),r?{context:c,name:t,value:f}:f}},inputs:function(e,t){return function(n,r,i,o){return o?o[t]:e(n,r,i)}}};var go=function(e,t,n){this.lexer=e,this.$filter=t,this.options=n,this.ast=new mo(e,n),this.astCompiler=n.csp?new pn(this.ast,t):new hn(this.ast,t)};go.prototype={constructor:go,parse:function(e){return this.astCompiler.compile(e,this.options.expensiveChecks)}};var vo=Object.prototype.valueOf,$o=t("$sce"),yo={HTML:"html",CSS:"css",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},bo=t("$compile"),wo=e.document.createElement("a"),xo=On(e.location.href);In.$inject=["$document"],jn.$inject=["$provide"];var ko=22,Co=".",So="0";zn.$inject=["$locale"],Hn.$inject=["$locale"];var _o={yyyy:Gn("FullYear",4,0,!1,!0),yy:Gn("FullYear",2,0,!0,!0),y:Gn("FullYear",1,0,!1,!0),MMMM:Zn("Month"),MMM:Zn("Month",!0),MM:Gn("Month",2,1),M:Gn("Month",1,1),LLLL:Zn("Month",!1,!0),dd:Gn("Date",2),d:Gn("Date",1),HH:Gn("Hours",2),H:Gn("Hours",1),hh:Gn("Hours",2,-12),h:Gn("Hours",1,-12),mm:Gn("Minutes",2),m:Gn("Minutes",1),ss:Gn("Seconds",2),s:Gn("Seconds",1),sss:Gn("Milliseconds",3),EEEE:Zn("Day"),EEE:Zn("Day",!0),a:er,Z:Qn,ww:Kn(2),w:Kn(1),G:tr,GG:tr,GGG:tr,GGGG:nr},Eo=/((?:[^yMLdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|m+|s+|a|Z|G+|w+))(.*)/,Do=/^\-?\d+$/;rr.$inject=["$locale"];var To=m(Mr),Mo=m(Ar);ar.$inject=["$parse"];var Ao=m({restrict:"E",compile:function(e,t){return t.href||t.xlinkHref?void 0:function(e,t){if("a"===t[0].nodeName.toLowerCase()){var n="[object SVGAnimatedString]"===Vr.call(t.prop("href"))?"xlink:href":"href";t.on("click",function(e){t.attr(n)||e.preventDefault()})}}}}),Oo={};r(Ci,function(e,t){function n(e,n,i){e.$watch(i[r],function(e){i.$set(t,!!e)})}if("multiple"!=e){var r=mt("ng-"+t),i=n;"checked"===e&&(i=function(e,t,i){i.ngModel!==i[r]&&n(e,t,i)}),Oo[r]=function(){return{restrict:"A",priority:100,link:i}}}}),r(_i,function(e,t){Oo[t]=function(){return{priority:100,link:function(e,n,r){if("ngPattern"===t&&"/"==r.ngPattern.charAt(0)){var i=r.ngPattern.match(Er);if(i)return void r.$set("ngPattern",new RegExp(i[1],i[2]))}e.$watch(r[t],function(e){r.$set(t,e)})}}}}),r(["src","srcset","href"],function(e){var t=mt("ng-"+e);Oo[t]=function(){return{priority:99,link:function(n,r,i){var o=e,a=e;"href"===e&&"[object SVGAnimatedString]"===Vr.call(r.prop("href"))&&(a="xlinkHref",i.$attr[a]="xlink:href",o=null),i.$observe(t,function(t){return t?(i.$set(a,t),void(Nr&&o&&r.prop(o,i[a]))):void("href"===e&&i.$set(a,null))})}}}});var Fo={$addControl:h,$$renameControl:ur,$removeControl:h,$setValidity:h,$setDirty:h,$setPristine:h,$setSubmitted:h},No="ng-submitted";lr.$inject=["$element","$attrs","$scope","$animate","$interpolate"];var Io=function(e){return["$timeout","$parse",function(t,n){function r(e){return""===e?n('this[""]').assign:n(e).assign||h}var i={name:"form",restrict:e?"EAC":"E",require:["form","^^?form"],controller:lr,compile:function(n,i){n.addClass(va).addClass(ma);var o=i.name?"name":e&&i.ngForm?"ngForm":!1;return{pre:function(e,n,i,a){var s=a[0];if(!("action"in i)){var u=function(t){e.$apply(function(){s.$commitViewValue(),s.$setSubmitted()}),t.preventDefault()};fi(n[0],"submit",u),n.on("$destroy",function(){t(function(){di(n[0],"submit",u)},0,!1)})}var c=a[1]||s.$$parentForm;c.$addControl(s);var f=o?r(s.$name):h;o&&(f(e,s),i.$observe(o,function(t){s.$name!==t&&(f(e,void 0),s.$$parentForm.$$renameControl(s,t),(f=r(s.$name))(e,s))})),n.on("$destroy",function(){s.$$parentForm.$removeControl(s),f(e,void 0),l(s,Fo)})}}}};return i}]},Po=Io(),jo=Io(!0),Lo=/^\d{4,}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+(?:[+-][0-2]\d:[0-5]\d|Z)$/,Ro=/^[a-z][a-z\d.+-]*:\/*(?:[^:@]+(?::[^@]+)?@)?(?:[^\s:\/?#]+|\[[a-f\d:]+\])(?::\d+)?(?:\/[^?#]*)?(?:\?[^#]*)?(?:#.*)?$/i,Uo=/^[a-z0-9!#$%&'*+\/=?^_`{|}~.-]+@[a-z0-9]([a-z0-9-]*[a-z0-9])?(\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*$/i,Vo=/^\s*(\-|\+)?(\d+|(\d*(\.\d*)))([eE][+-]?\d+)?\s*$/,zo=/^(\d{4,})-(\d{2})-(\d{2})$/,Ho=/^(\d{4,})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,qo=/^(\d{4,})-W(\d\d)$/,Yo=/^(\d{4,})-(\d\d)$/,Wo=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,Bo="keydown wheel mousedown",Go=me();r("date,datetime-local,month,time,week".split(","),function(e){Go[e]=!0});var Zo={text:fr,date:mr("date",zo,pr(zo,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":mr("datetimelocal",Ho,pr(Ho,["yyyy","MM","dd","HH","mm","ss","sss"]),"yyyy-MM-ddTHH:mm:ss.sss"),time:mr("time",Wo,pr(Wo,["HH","mm","ss","sss"]),"HH:mm:ss.sss"),week:mr("week",qo,hr,"yyyy-Www"),month:mr("month",Yo,pr(Yo,["yyyy","MM"]),"yyyy-MM"),number:vr,url:$r,email:yr,radio:br,checkbox:xr,hidden:h,button:h,submit:h,reset:h,file:h},Qo=["$browser","$sniffer","$filter","$parse",function(e,t,n,r){return{restrict:"E",require:["?ngModel"],link:{pre:function(i,o,a,s){s[0]&&(Zo[Mr(a.type)]||Zo.text)(i,o,a,s[0],t,e,n,r)}}}}],Jo=/^(true|false|\d+)$/,Xo=function(){return{restrict:"A",priority:100,compile:function(e,t){return Jo.test(t.ngValue)?function(e,t,n){n.$set("value",e.$eval(n.ngValue))}:function(e,t,n){e.$watch(n.ngValue,function(e){n.$set("value",e)})}}}},Ko=["$compile",function(e){return{restrict:"AC",compile:function(t){return e.$$addBindingClass(t),function(t,n,r){e.$$addBindingInfo(n,r.ngBind),n=n[0],t.$watch(r.ngBind,function(e){n.textContent=v(e)?"":e})}}}}],ea=["$interpolate","$compile",function(e,t){return{compile:function(n){return t.$$addBindingClass(n),function(n,r,i){var o=e(r.attr(i.$attr.ngBindTemplate));t.$$addBindingInfo(r,o.expressions),r=r[0],i.$observe("ngBindTemplate",function(e){r.textContent=v(e)?"":e})}}}}],ta=["$sce","$parse","$compile",function(e,t,n){return{restrict:"A",compile:function(r,i){var o=t(i.ngBindHtml),a=t(i.ngBindHtml,function(e){return(e||"").toString()});return n.$$addBindingClass(r),function(t,r,i){n.$$addBindingInfo(r,i.ngBindHtml),t.$watch(a,function(){r.html(e.getTrustedHtml(o(t))||"")})}}}}],na=m({restrict:"A",require:"ngModel",link:function(e,t,n,r){r.$viewChangeListeners.push(function(){e.$eval(n.ngChange)})}}),ra=kr("",!0),ia=kr("Odd",0),oa=kr("Even",1),aa=sr({compile:function(e,t){t.$set("ngCloak",void 0),e.removeClass("ng-cloak")}}),sa=[function(){return{restrict:"A",scope:!0,controller:"@",priority:500}}],ua={},la={blur:!0,focus:!0};r("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),function(e){var t=mt("ng-"+e);ua[t]=["$parse","$rootScope",function(n,r){return{restrict:"A",compile:function(i,o){var a=n(o[t],null,!0);return function(t,n){n.on(e,function(n){var i=function(){a(t,{$event:n})};la[e]&&r.$$phase?t.$evalAsync(i):t.$apply(i)})}}}}]});var ca=["$animate","$compile",function(e,t){return{multiElement:!0,transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(n,r,i,o,a){var s,u,l;n.$watch(i.ngIf,function(n){n?u||a(function(n,o){u=o,n[n.length++]=t.$$createComment("end ngIf",i.ngIf),s={clone:n},e.enter(n,r.parent(),r)}):(l&&(l.remove(),l=null),u&&(u.$destroy(),u=null),s&&(l=pe(s.clone),e.leave(l).then(function(){l=null}),s=null))})}}}],fa=["$templateRequest","$anchorScroll","$animate",function(e,t,n){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:qr.noop,compile:function(r,i){var o=i.ngInclude||i.src,a=i.onload||"",s=i.autoscroll;return function(r,i,u,l,c){var f,d,h,p=0,m=function(){d&&(d.remove(),d=null),f&&(f.$destroy(),f=null),h&&(n.leave(h).then(function(){d=null}),d=h,h=null)};r.$watch(o,function(o){var u=function(){!$(s)||s&&!r.$eval(s)||t()},d=++p;o?(e(o,!0).then(function(e){if(!r.$$destroyed&&d===p){var t=r.$new();l.template=e;var s=c(t,function(e){m(),n.enter(e,null,i).then(u)});f=t,h=s,f.$emit("$includeContentLoaded",o),r.$eval(a)}},function(){r.$$destroyed||d===p&&(m(),r.$emit("$includeContentError",o))}),r.$emit("$includeContentRequested",o)):(m(),l.template=null)})}}}}],da=["$compile",function(t){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(n,r,i,o){return Vr.call(r[0]).match(/SVG/)?(r.empty(),void t(_e(o.template,e.document).childNodes)(n,function(e){r.append(e)},{futureParentElement:r})):(r.html(o.template),void t(r.contents())(n))}}}],ha=sr({priority:450,compile:function(){return{pre:function(e,t,n){e.$eval(n.ngInit)}}}}),pa=function(){return{restrict:"A",priority:100,require:"ngModel",link:function(e,t,n,i){var o=t.attr(n.$attr.ngList)||", ",a="false"!==n.ngTrim,s=a?Gr(o):o,u=function(e){if(!v(e)){var t=[];return e&&r(e.split(s),function(e){e&&t.push(a?Gr(e):e)}),t}};i.$parsers.push(u),i.$formatters.push(function(e){return Wr(e)?e.join(o):void 0}),i.$isEmpty=function(e){return!e||!e.length}}}},ma="ng-valid",ga="ng-invalid",va="ng-pristine",$a="ng-dirty",ya="ng-untouched",ba="ng-touched",wa="ng-pending",xa="ng-empty",ka="ng-not-empty",Ca=t("ngModel"),Sa=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate","$timeout","$rootScope","$q","$interpolate",function(e,t,n,i,o,a,s,u,l,c){this.$viewValue=Number.NaN,this.$modelValue=Number.NaN,this.$$rawModelValue=void 0,this.$validators={},this.$asyncValidators={},this.$parsers=[],this.$formatters=[],this.$viewChangeListeners=[],this.$untouched=!0,this.$touched=!1,this.$pristine=!0,this.$dirty=!1,this.$valid=!0,this.$invalid=!1,this.$error={},this.$$success={},this.$pending=void 0,this.$name=c(n.name||"",!1)(e),this.$$parentForm=Fo;var f,d=o(n.ngModel),p=d.assign,m=d,g=p,y=null,b=this;this.$$setOptions=function(e){if(b.$options=e,e&&e.getterSetter){var t=o(n.ngModel+"()"),r=o(n.ngModel+"($$$p)");m=function(e){var n=d(e);return C(n)&&(n=t(e)),n},g=function(e,t){C(d(e))?r(e,{$$$p:t}):p(e,t)}}else if(!d.assign)throw Ca("nonassign","Expression '{0}' is non-assignable. Element: {1}",n.ngModel,J(i))},this.$render=h,this.$isEmpty=function(e){return v(e)||""===e||null===e||e!==e},this.$$updateEmptyClasses=function(e){b.$isEmpty(e)?(a.removeClass(i,ka),a.addClass(i,xa)):(a.removeClass(i,xa),a.addClass(i,ka))};var w=0;Cr({ctrl:this,$element:i,set:function(e,t){e[t]=!0},unset:function(e,t){delete e[t]},$animate:a}),this.$setPristine=function(){b.$dirty=!1,b.$pristine=!0,a.removeClass(i,$a),a.addClass(i,va)},this.$setDirty=function(){b.$dirty=!0,b.$pristine=!1,a.removeClass(i,va),a.addClass(i,$a),b.$$parentForm.$setDirty()},this.$setUntouched=function(){b.$touched=!1,b.$untouched=!0,a.setClass(i,ya,ba)},this.$setTouched=function(){b.$touched=!0,b.$untouched=!1,a.setClass(i,ba,ya)},this.$rollbackViewValue=function(){s.cancel(y),b.$viewValue=b.$$lastCommittedViewValue,b.$render()},this.$validate=function(){if(!x(b.$modelValue)||!isNaN(b.$modelValue)){var e=b.$$lastCommittedViewValue,t=b.$$rawModelValue,n=b.$valid,r=b.$modelValue,i=b.$options&&b.$options.allowInvalid;b.$$runValidators(t,e,function(e){i||n===e||(b.$modelValue=e?t:void 0,b.$modelValue!==r&&b.$$writeModelToScope())})}},this.$$runValidators=function(e,t,n){function i(){var e=b.$$parserName||"parse";return v(f)?(s(e,null),!0):(f||(r(b.$validators,function(e,t){s(t,null)}),r(b.$asyncValidators,function(e,t){s(t,null)})),s(e,f),f)}function o(){var n=!0;return r(b.$validators,function(r,i){var o=r(e,t);n=n&&o,s(i,o)}),n?!0:(r(b.$asyncValidators,function(e,t){s(t,null)}),!1)}function a(){var n=[],i=!0;r(b.$asyncValidators,function(r,o){var a=r(e,t);if(!O(a))throw Ca("nopromise","Expected asynchronous validator to return a promise but got '{0}' instead.",a);s(o,void 0),n.push(a.then(function(){s(o,!0)},function(){i=!1,s(o,!1)}))}),n.length?l.all(n).then(function(){u(i)},h):u(!0)}function s(e,t){c===w&&b.$setValidity(e,t)}function u(e){c===w&&n(e)}w++;var c=w;return i()&&o()?void a():void u(!1)},this.$commitViewValue=function(){var e=b.$viewValue;s.cancel(y),(b.$$lastCommittedViewValue!==e||""===e&&b.$$hasNativeValidators)&&(b.$$updateEmptyClasses(e),b.$$lastCommittedViewValue=e,b.$pristine&&this.$setDirty(),this.$$parseAndValidate())},this.$$parseAndValidate=function(){function t(){b.$modelValue!==o&&b.$$writeModelToScope()}var n=b.$$lastCommittedViewValue,r=n;if(f=v(r)?void 0:!0)for(var i=0;io;o++){var u=e===n?o:n[o],l=e[u],c=k(l,u),f=g(l,c);if(t.push(f),s[2]||s[1]){var d=$(r,c);t.push(d)}if(s[4]){var h=b(r,c);t.push(h)}}return t}),getOptions:function(){for(var e=[],t={},n=w(r)||[],o=a(n),s=o.length,u=0;s>u;u++){var l=n===o?u:o[u],c=n[l],d=k(c,l),h=p(r,d),m=g(h,d),x=$(r,d),C=y(r,d),S=b(r,d),_=new i(m,h,x,C,S);e.push(_),t[m]=_}return{items:e,selectValueMap:t,getOptionFromViewValue:function(e){return t[v(e)]},getViewValueFromOption:function(e){return f?qr.copy(e.viewValue):e.viewValue}}}}}function s(e,n,o,s){function c(e,t){var n=u.cloneNode(!1);t.appendChild(n),f(e,n)}function f(e,t){e.element=t,t.disabled=e.disabled,e.label!==t.label&&(t.label=e.label,t.textContent=e.label),e.value!==t.value&&(t.value=e.selectValue)}function d(){var e=k&&p.readValue();if(k)for(var t=k.items.length-1;t>=0;t--){var r=k.items[t];He(r.group?r.element.parentNode:r.element)}k=C.getOptions();var i={};if(w&&n.prepend(h),k.items.forEach(function(e){var t;$(e.group)?(t=i[e.group],t||(t=l.cloneNode(!1),S.appendChild(t),t.label=e.group,i[e.group]=t),c(e,t)):c(e,S)}),n[0].appendChild(S),m.$render(),!m.$isEmpty(e)){var o=p.readValue(),a=C.trackBy||g;(a?V(e,o):e===o)||(m.$setViewValue(o),m.$render())}}for(var h,p=s[0],m=s[1],g=o.multiple,v=0,y=n.children(),b=y.length;b>v;v++)if(""===y[v].value){h=y.eq(v);break}var w=!!h,x=Ir(u.cloneNode(!1));x.val("?");var k,C=a(o.ngOptions,n,e),S=i[0].createDocumentFragment(),_=function(){w||n.prepend(h),n.val(""),h.prop("selected",!0),h.attr("selected",!0)},E=function(){w||h.remove()},D=function(){n.prepend(x),n.val("?"),x.prop("selected",!0),x.attr("selected",!0)},T=function(){x.remove()};g?(m.$isEmpty=function(e){return!e||0===e.length},p.writeValue=function(e){k.items.forEach(function(e){e.element.selected=!1}),e&&e.forEach(function(e){var t=k.getOptionFromViewValue(e);t&&(t.element.selected=!0)})},p.readValue=function(){var e=n.val()||[],t=[];return r(e,function(e){var n=k.selectValueMap[e];n&&!n.disabled&&t.push(k.getViewValueFromOption(n))}),t},C.trackBy&&e.$watchCollection(function(){return Wr(m.$viewValue)?m.$viewValue.map(function(e){return C.getTrackByValue(e)}):void 0},function(){m.$render()})):(p.writeValue=function(e){var t=k.getOptionFromViewValue(e);t?(n[0].value!==t.selectValue&&(T(),E(),n[0].value=t.selectValue,t.element.selected=!0),t.element.setAttribute("selected","selected")):null===e||w?(T(),_()):(E(),D())},p.readValue=function(){var e=k.selectValueMap[n.val()];return e&&!e.disabled?(E(),T(),k.getViewValueFromOption(e)):null},C.trackBy&&e.$watch(function(){return C.getTrackByValue(m.$viewValue)},function(){m.$render()})),w?(h.remove(),t(h)(e),h.removeClass("ng-scope")):h=Ir(u.cloneNode(!1)),n.empty(),d(),e.$watchCollection(C.getWatchables,d)}var u=e.document.createElement("option"),l=e.document.createElement("optgroup");return{restrict:"A",terminal:!0,require:["select","ngModel"],link:{pre:function(e,t,n,r){r[0].registerOption=h},post:s}}}],Fa=["$locale","$interpolate","$log",function(e,t,n){var i=/{}/g,o=/^when(Minus)?(.+)$/;return{link:function(a,s,u){function l(e){s.text(e||"")}var c,f=u.count,d=u.$attr.when&&s.attr(u.$attr.when),p=u.offset||0,m=a.$eval(d)||{},g={},$=t.startSymbol(),y=t.endSymbol(),b=$+f+"-"+p+y,w=qr.noop;r(u,function(e,t){var n=o.exec(t);if(n){var r=(n[1]?"-":"")+Mr(n[2]);m[r]=s.attr(u.$attr[t])}}),r(m,function(e,n){g[n]=t(e.replace(i,b))}),a.$watch(f,function(t){var r=parseFloat(t),i=isNaN(r);if(i||r in m||(r=e.pluralCat(r-p)),r!==c&&!(i&&x(c)&&isNaN(c))){w();var o=g[r];v(o)?(null!=t&&n.debug("ngPluralize: no rule defined for '"+r+"' in "+d),w=h,l()):w=a.$watch(o,l),c=r}})}}}],Na=["$parse","$animate","$compile",function(e,i,o){var a="$$NG_REMOVED",s=t("ngRepeat"),u=function(e,t,n,r,i,o,a){e[n]=r,i&&(e[i]=o),e.$index=t,e.$first=0===t,e.$last=t===a-1,e.$middle=!(e.$first||e.$last),e.$odd=!(e.$even=0===(1&t))},l=function(e){return e.clone[0]},c=function(e){return e.clone[e.clone.length-1]};return{restrict:"A",multiElement:!0,transclude:"element",priority:1e3,terminal:!0,$$tlb:!0,compile:function(t,f){var d=f.ngRepeat,h=o.$$createComment("end ngRepeat",d),p=d.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+track\s+by\s+([\s\S]+?))?\s*$/);if(!p)throw s("iexp","Expected expression in form of '_item_ in _collection_[ track by _id_]' but got '{0}'.",d);var m=p[1],g=p[2],v=p[3],$=p[4];if(p=m.match(/^(?:(\s*[\$\w]+)|\(\s*([\$\w]+)\s*,\s*([\$\w]+)\s*\))$/),!p)throw s("iidexp","'_item_' in '_item_ in _collection_' should be an identifier or '(_key_, _value_)' expression, but got '{0}'.",m);var y=p[3]||p[1],b=p[2];if(v&&(!/^[$a-zA-Z_][$a-zA-Z0-9_]*$/.test(v)||/^(null|undefined|this|\$index|\$first|\$middle|\$last|\$even|\$odd|\$parent|\$root|\$id)$/.test(v)))throw s("badident","alias '{0}' is invalid --- must be a valid JS identifier which is not a reserved name.",v);var w,x,k,C,S={$id:Je};return $?w=e($):(k=function(e,t){return Je(t)},C=function(e){return e}),function(e,t,o,f,p){w&&(x=function(t,n,r){return b&&(S[b]=t),S[y]=n,S.$index=r,w(e,S)});var m=me();e.$watchCollection(g,function(o){var f,g,$,w,S,_,E,D,T,M,A,O,F=t[0],N=me();if(v&&(e[v]=o),n(o))T=o,D=x||k;else{D=x||C,T=[];for(var I in o)Tr.call(o,I)&&"$"!==I.charAt(0)&&T.push(I)}for(w=T.length,A=new Array(w),f=0;w>f;f++)if(S=o===T?f:T[f],_=o[S],E=D(S,_,f),m[E])M=m[E],delete m[E],N[E]=M,A[f]=M;else{if(N[E])throw r(A,function(e){e&&e.scope&&(m[e.id]=e)}),s("dupes","Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: {0}, Duplicate key: {1}, Duplicate value: {2}",d,E,_);A[f]={id:E,scope:void 0,clone:void 0},N[E]=!0}for(var P in m){if(M=m[P],O=pe(M.clone),i.leave(O),O[0].parentNode)for(f=0,g=O.length;g>f;f++)O[f][a]=!0;M.scope.$destroy()}for(f=0;w>f;f++)if(S=o===T?f:T[f],_=o[S],M=A[f],M.scope){$=F;do $=$.nextSibling;while($&&$[a]);l(M)!=$&&i.move(pe(M.clone),null,F),F=c(M),u(M.scope,f,y,_,b,S,w)}else p(function(e,t){M.scope=t;var n=h.cloneNode(!1);e[e.length++]=n,i.enter(e,null,F),F=n,M.clone=e,N[M.id]=M,u(M.scope,f,y,_,b,S,w)});m=N})}}}}],Ia="ng-hide",Pa="ng-hide-animate",ja=["$animate",function(e){return{restrict:"A",multiElement:!0,link:function(t,n,r){t.$watch(r.ngShow,function(t){e[t?"removeClass":"addClass"](n,Ia,{tempClasses:Pa})})}}}],La=["$animate",function(e){return{restrict:"A",multiElement:!0,link:function(t,n,r){t.$watch(r.ngHide,function(t){e[t?"addClass":"removeClass"](n,Ia,{tempClasses:Pa})})}}}],Ra=sr(function(e,t,n){e.$watch(n.ngStyle,function(e,n){n&&e!==n&&r(n,function(e,n){t.css(n,"")}),e&&t.css(e)},!0)}),Ua=["$animate","$compile",function(e,t){return{require:"ngSwitch",controller:["$scope",function(){this.cases={}}],link:function(n,i,o,a){var s=o.ngSwitch||o.on,u=[],l=[],c=[],f=[],d=function(e,t){return function(){e.splice(t,1)}};n.$watch(s,function(n){var i,o;for(i=0,o=c.length;o>i;++i)e.cancel(c[i]);for(c.length=0,i=0,o=f.length;o>i;++i){var s=pe(l[i].clone);f[i].$destroy();var h=c[i]=e.leave(s);h.then(d(c,i))}l.length=0,f.length=0,(u=a.cases["!"+n]||a.cases["?"])&&r(u,function(n){n.transclude(function(r,i){f.push(i);var o=n.element;r[r.length++]=t.$$createComment("end ngSwitchWhen");var a={clone:r};l.push(a),e.enter(r,o.parent(),o)})})})}}}],Va=sr({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(e,t,n,r,i){r.cases["!"+n.ngSwitchWhen]=r.cases["!"+n.ngSwitchWhen]||[],r.cases["!"+n.ngSwitchWhen].push({transclude:i,element:t})}}),za=sr({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(e,t,n,r,i){r.cases["?"]=r.cases["?"]||[],r.cases["?"].push({transclude:i,element:t})}}),Ha=t("ngTransclude"),qa=sr({restrict:"EAC",link:function(e,t,n,r,i){function o(e){e.length&&(t.empty(),t.append(e))}if(n.ngTransclude===n.$attr.ngTransclude&&(n.ngTransclude=""),!i)throw Ha("orphan","Illegal use of ngTransclude directive in the template! No parent directive that requires a transclusion found. Element: {0}",J(t));var a=n.ngTransclude||n.ngTranscludeSlot;i(o,null,a)}}),Ya=["$templateCache",function(e){return{restrict:"E",terminal:!0,compile:function(t,n){if("text/ng-template"==n.type){var r=n.id,i=t[0].text;e.put(r,i)}}}}],Wa={$setViewValue:h,$render:h},Ba=["$element","$scope",function(t,n){var r=this,i=new Xe;r.ngModelCtrl=Wa,r.unknownOption=Ir(e.document.createElement("option")),r.renderUnknownOption=function(e){var n="? "+Je(e)+" ?";r.unknownOption.val(n),t.prepend(r.unknownOption),t.val(n)},n.$on("$destroy",function(){r.renderUnknownOption=h}),r.removeUnknownOption=function(){r.unknownOption.parent()&&r.unknownOption.remove()},r.readValue=function(){return r.removeUnknownOption(),t.val()},r.writeValue=function(e){r.hasOption(e)?(r.removeUnknownOption(),t.val(e),""===e&&r.emptyOption.prop("selected",!0)):null==e&&r.emptyOption?(r.removeUnknownOption(),t.val("")):r.renderUnknownOption(e)},r.addOption=function(e,t){if(t[0].nodeType!==oi){de(e,'"option value"'),""===e&&(r.emptyOption=t);var n=i.get(e)||0;i.put(e,n+1),r.ngModelCtrl.$render(),_r(t)}},r.removeOption=function(e){var t=i.get(e);t&&(1===t?(i.remove(e),""===e&&(r.emptyOption=void 0)):i.put(e,t-1))},r.hasOption=function(e){return!!i.get(e)},r.registerOption=function(e,t,n,i,o){if(i){var a;n.$observe("value",function(e){$(a)&&r.removeOption(a),a=e,r.addOption(e,t)})}else o?e.$watch(o,function(e,i){n.$set("value",e),i!==e&&r.removeOption(i),r.addOption(e,t)}):r.addOption(n.value,t);t.on("$destroy",function(){r.removeOption(n.value),r.ngModelCtrl.$render()})}}],Ga=function(){function e(e,t,n,i){var o=i[1];if(o){var a=i[0];if(a.ngModelCtrl=o,t.on("change",function(){e.$apply(function(){o.$setViewValue(a.readValue())})}),n.multiple){a.readValue=function(){var e=[];return r(t.find("option"),function(t){t.selected&&e.push(t.value)}),e},a.writeValue=function(e){var n=new Xe(e);r(t.find("option"),function(e){e.selected=$(n.get(e.value))})};var s,u=NaN;e.$watch(function(){u!==o.$viewValue||V(s,o.$viewValue)||(s=U(o.$viewValue),o.$render()),u=o.$viewValue}),o.$isEmpty=function(e){return!e||0===e.length}}}}function t(e,t,n,r){var i=r[1];if(i){var o=r[0];i.$render=function(){o.writeValue(i.$viewValue)}}}return{restrict:"E",require:["select","?ngModel"],controller:Ba,priority:1,link:{pre:e,post:t}}},Za=["$interpolate",function(e){return{restrict:"E",priority:100,compile:function(t,n){if($(n.value))var r=e(n.value,!0);else{var i=e(t.text(),!0);i||n.$set("value",t.text())}return function(e,t,n){var o="$selectController",a=t.parent(),s=a.data(o)||a.parent().data(o);s&&s.registerOption(e,t,n,r,i)}}}}],Qa=m({restrict:"E",terminal:!1}),Ja=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){r&&(n.required=!0,r.$validators.required=function(e,t){return!n.required||!r.$isEmpty(t)},n.$observe("required",function(){r.$validate()}))}}},Xa=function(){return{restrict:"A",require:"?ngModel",link:function(e,n,r,i){if(i){var o,a=r.ngPattern||r.pattern;r.$observe("pattern",function(e){if(w(e)&&e.length>0&&(e=new RegExp("^"+e+"$")),e&&!e.test)throw t("ngPattern")("noregexp","Expected {0} to be a RegExp but was {1}. Element: {2}",a,e,J(n));o=e||void 0,i.$validate()}),i.$validators.pattern=function(e,t){return i.$isEmpty(t)||v(o)||o.test(t)}}}}},Ka=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i=-1;n.$observe("maxlength",function(e){var t=f(e);i=isNaN(t)?-1:t,r.$validate()}),r.$validators.maxlength=function(e,t){return 0>i||r.$isEmpty(t)||t.length<=i}}}}},es=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i=0;n.$observe("minlength",function(e){i=f(e)||0,r.$validate()}),r.$validators.minlength=function(e,t){return r.$isEmpty(t)||t.length>=i}}}}};return e.angular.bootstrap?void(e.console&&console.log("WARNING: Tried to load angular more than once.")):(le(),ye(qr),qr.module("ngLocale",[],["$provide",function(e){function t(e){e+="";var t=e.indexOf(".");return-1==t?0:e.length-t-1}function n(e,n){var r=n;void 0===r&&(r=Math.min(t(e),3));var i=Math.pow(10,r),o=(e*i|0)%i;return{v:r,f:o}}var r={ZERO:"zero",ONE:"one",TWO:"two",FEW:"few",MANY:"many",OTHER:"other"};e.value("$locale",{DATETIME_FORMATS:{AMPMS:["AM","PM"],DAY:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],ERANAMES:["Before Christ","Anno Domini"],ERAS:["BC","AD"],FIRSTDAYOFWEEK:6,MONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],SHORTDAY:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],SHORTMONTH:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],STANDALONEMONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],WEEKENDRANGE:[5,6],fullDate:"EEEE, MMMM d, y",longDate:"MMMM d, y",medium:"MMM d, y h:mm:ss a",mediumDate:"MMM d, y",mediumTime:"h:mm:ss a","short":"M/d/yy h:mm a",shortDate:"M/d/yy",shortTime:"h:mm a"},NUMBER_FORMATS:{CURRENCY_SYM:"$",DECIMAL_SEP:".",GROUP_SEP:",",PATTERNS:[{gSize:3,lgSize:3,maxFrac:3,minFrac:0,minInt:1,negPre:"-",negSuf:"",posPre:"",posSuf:""},{gSize:3,lgSize:3,maxFrac:2,minFrac:2,minInt:1,negPre:"-¤",negSuf:"",posPre:"¤",posSuf:""}]},id:"en-us",localeID:"en_US",pluralCat:function(e,t){var i=0|e,o=n(e,t);return 1==i&&0==o.v?r.ONE:r.OTHER}})}]),void Ir(e.document).ready(function(){ie(e.document,oe)}))}(window),!window.angular.$$csp().noInlineStyle&&window.angular.element(document.head).prepend('')},{}],9:[function(e,t,n){e("./angular"),t.exports=angular},{"./angular":8}],10:[function(e,t,n){(function(){var e,n,r,i,o,a,s,u,l=[].slice,c={}.hasOwnProperty,f=function(e,t){function n(){this.constructor=e}for(var r in t)c.call(t,r)&&(e[r]=t[r]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e};s=function(){},n=function(){function e(){}return e.prototype.addEventListener=e.prototype.on,e.prototype.on=function(e,t){return this._callbacks=this._callbacks||{},this._callbacks[e]||(this._callbacks[e]=[]),this._callbacks[e].push(t),this},e.prototype.emit=function(){var e,t,n,r,i,o;if(r=arguments[0],e=2<=arguments.length?l.call(arguments,1):[],this._callbacks=this._callbacks||{},n=this._callbacks[r])for(i=0,o=n.length;o>i;i++)t=n[i],t.apply(this,e);return this},e.prototype.removeListener=e.prototype.off,e.prototype.removeAllListeners=e.prototype.off,e.prototype.removeEventListener=e.prototype.off,e.prototype.off=function(e,t){var n,r,i,o,a;if(!this._callbacks||0===arguments.length)return this._callbacks={},this;if(r=this._callbacks[e],!r)return this;if(1===arguments.length)return delete this._callbacks[e],this;for(i=o=0,a=r.length;a>o;i=++o)if(n=r[i],n===t){r.splice(i,1);break}return this},e}(),e=function(e){function t(e,n){var i,o,a;if(this.element=e,this.version=t.version,this.defaultOptions.previewTemplate=this.defaultOptions.previewTemplate.replace(/\n*/g,""),this.clickableElements=[],this.listeners=[],this.files=[],"string"==typeof this.element&&(this.element=document.querySelector(this.element)),!this.element||null==this.element.nodeType)throw new Error("Invalid dropzone element.");if(this.element.dropzone)throw new Error("Dropzone already attached.");if(t.instances.push(this),this.element.dropzone=this,i=null!=(a=t.optionsForElement(this.element))?a:{},this.options=r({},this.defaultOptions,i,null!=n?n:{}),this.options.forceFallback||!t.isBrowserSupported())return this.options.fallback.call(this);if(null==this.options.url&&(this.options.url=this.element.getAttribute("action")),!this.options.url)throw new Error("No URL provided.");if(this.options.acceptedFiles&&this.options.acceptedMimeTypes)throw new Error("You can't provide both 'acceptedFiles' and 'acceptedMimeTypes'. 'acceptedMimeTypes' is deprecated.");this.options.acceptedMimeTypes&&(this.options.acceptedFiles=this.options.acceptedMimeTypes,delete this.options.acceptedMimeTypes),this.options.method=this.options.method.toUpperCase(),(o=this.getExistingFallback())&&o.parentNode&&o.parentNode.removeChild(o),this.options.previewsContainer!==!1&&(this.options.previewsContainer?this.previewsContainer=t.getElement(this.options.previewsContainer,"previewsContainer"):this.previewsContainer=this.element),this.options.clickable&&(this.options.clickable===!0?this.clickableElements=[this.element]:this.clickableElements=t.getElements(this.options.clickable,"clickable")),this.init()}var r,i;return f(t,e),t.prototype.Emitter=n,t.prototype.events=["drop","dragstart","dragend","dragenter","dragover","dragleave","addedfile","addedfiles","removedfile","thumbnail","error","errormultiple","processing","processingmultiple","uploadprogress","totaluploadprogress","sending","sendingmultiple","success","successmultiple","canceled","canceledmultiple","complete","completemultiple","reset","maxfilesexceeded","maxfilesreached","queuecomplete"],t.prototype.defaultOptions={url:null,method:"post",withCredentials:!1,parallelUploads:2,uploadMultiple:!1,maxFilesize:256,paramName:"file",createImageThumbnails:!0,maxThumbnailFilesize:10,thumbnailWidth:120,thumbnailHeight:120,filesizeBase:1e3,maxFiles:null,params:{},clickable:!0,ignoreHiddenFiles:!0,acceptedFiles:null,acceptedMimeTypes:null,autoProcessQueue:!0,autoQueue:!0,addRemoveLinks:!1,previewsContainer:null,hiddenInputContainer:"body",capture:null,renameFilename:null,dictDefaultMessage:"Drop files here to upload",dictFallbackMessage:"Your browser does not support drag'n'drop file uploads.",dictFallbackText:"Please use the fallback form below to upload your files like in the olden days.",dictFileTooBig:"File is too big ({{filesize}}MiB). Max filesize: {{maxFilesize}}MiB.",dictInvalidFileType:"You can't upload files of this type.",dictResponseError:"Server responded with {{statusCode}} code.",dictCancelUpload:"Cancel upload",dictCancelUploadConfirmation:"Are you sure you want to cancel this upload?",dictRemoveFile:"Remove file",dictRemoveFileConfirmation:null,dictMaxFilesExceeded:"You can not upload any more files.",accept:function(e,t){return t()},init:function(){return s},forceFallback:!1,fallback:function(){var e,n,r,i,o,a;for(this.element.className=""+this.element.className+" dz-browser-not-supported",a=this.element.getElementsByTagName("div"),i=0,o=a.length;o>i;i++)e=a[i],/(^| )dz-message($| )/.test(e.className)&&(n=e,e.className="dz-message");return n||(n=t.createElement('
    '),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=this._renameFilename(e.name);for(d=e.previewElement.querySelectorAll("[data-dz-size]"),a=0,l=d.length;l>a;a++)n=d[a],n.innerHTML=this.filesize(e.size);for(this.options.addRemoveLinks&&(e._removeLink=t.createElement(''+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._renameFilename=function(e){return"function"!=typeof this.options.renameFilename?e:this.options.renameFilename(e)},t.prototype.getFallbackForm=function(){var e,n,r,i;return(e=this.getExistingFallback())?e:(r='
    ',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,i;return n=e.createReader(),r=function(e){return"undefined"!=typeof console&&null!==console&&"function"==typeof console.log?console.log(e):void 0},(i=function(e){return function(){return n.readEntries(function(n){var r,o,a;if(n.length>0){for(o=0,a=n.length;a>o;o++)r=n[o],r.isFile?r.file(function(n){return e.options.ignoreHiddenFiles&&"."===n.name.substring(0,1)?void 0:(n.fullPath=""+t+"/"+n.name,e.addFile(n))}):r.isDirectory&&e._addFilesFromDirectory(r,""+t+"/"+r.name);i()}return null},r)}}(this))()},t.prototype.accept=function(e,n){return e.size>1024*this.options.maxFilesize*1024?n(this.options.dictFileTooBig.replace("{{filesize}}",Math.round(e.size/1024/10.24)/100).replace("{{maxFilesize}}",this.options.maxFilesize)):t.isValidFile(e,this.options.acceptedFiles)?null!=this.options.maxFiles&&this.getAcceptedFiles().length>=this.options.maxFiles?(n(this.options.dictMaxFilesExceeded.replace("{{maxFiles}}",this.options.maxFiles)),this.emit("maxfilesexceeded",e)):this.options.accept.call(this,e,n):n(this.options.dictInvalidFileType)},t.prototype.addFile=function(e){return e.upload={progress:0,total:e.size,bytesSent:0},this.files.push(e),e.status=t.ADDED,this.emit("addedfile",e),this._enqueueThumbnail(e),this.accept(e,function(t){return function(n){return n?(e.accepted=!1,t._errorProcessing([e],n)):(e.accepted=!0,t.options.autoQueue&&t.enqueueFile(e)),t._updateMaxFilesReachedClass()}}(this))},t.prototype.enqueueFiles=function(e){var t,n,r;for(n=0,r=e.length;r>n;n++)t=e[n],this.enqueueFile(t);return null},t.prototype.enqueueFile=function(e){if(e.status!==t.ADDED||e.accepted!==!0)throw new Error("This file can't be queued because it has already been processed or was rejected.");return e.status=t.QUEUED,this.options.autoProcessQueue?setTimeout(function(e){return function(){return e.processQueue()}}(this),0):void 0},t.prototype._thumbnailQueue=[],t.prototype._processingThumbnail=!1,t.prototype._enqueueThumbnail=function(e){return this.options.createImageThumbnails&&e.type.match(/image.*/)&&e.size<=1024*this.options.maxThumbnailFilesize*1024?(this._thumbnailQueue.push(e),setTimeout(function(e){return function(){return e._processThumbnailQueue()}}(this),0)):void 0},t.prototype._processThumbnailQueue=function(){return this._processingThumbnail||0===this._thumbnailQueue.length?void 0:(this._processingThumbnail=!0,this.createThumbnail(this._thumbnailQueue.shift(),function(e){return function(){return e._processingThumbnail=!1,e._processThumbnailQueue()}}(this)))},t.prototype.removeFile=function(e){return e.status===t.UPLOADING&&this.cancelUpload(e),this.files=u(this.files,e),this.emit("removedfile",e),0===this.files.length?this.emit("reset"):void 0},t.prototype.removeAllFiles=function(e){var n,r,i,o;for(null==e&&(e=!1),o=this.files.slice(),r=0,i=o.length;i>r;r++)n=o[r],(n.status!==t.UPLOADING||e)&&this.removeFile(n);return null},t.prototype.createThumbnail=function(e,t){var n;return n=new FileReader,n.onload=function(r){return function(){return"image/svg+xml"===e.type?(r.emit("thumbnail",e,n.result),void(null!=t&&t())):r.createThumbnailFromUrl(e,n.result,t)}}(this),n.readAsDataURL(e)},t.prototype.createThumbnailFromUrl=function(e,t,n,r){var i;return i=document.createElement("img"),r&&(i.crossOrigin=r),i.onload=function(t){return function(){var r,o,s,u,l,c,f,d;return e.width=i.width,e.height=i.height,s=t.options.resize.call(t,e),null==s.trgWidth&&(s.trgWidth=s.optWidth),null==s.trgHeight&&(s.trgHeight=s.optHeight),r=document.createElement("canvas"),o=r.getContext("2d"),r.width=s.trgWidth,r.height=s.trgHeight,a(o,i,null!=(l=s.srcX)?l:0,null!=(c=s.srcY)?c:0,s.srcWidth,s.srcHeight,null!=(f=s.trgX)?f:0,null!=(d=s.trgY)?d:0,s.trgWidth,s.trgHeight),u=r.toDataURL("image/png"),t.emit("thumbnail",e,u),null!=n?n():void 0}}(this),null!=n&&(i.onerror=n),i.src=t},t.prototype.processQueue=function(){var e,t,n,r;if(t=this.options.parallelUploads,n=this.getUploadingFiles().length,e=n,!(n>=t)&&(r=this.getQueuedFiles(),r.length>0)){if(this.options.uploadMultiple)return this.processFiles(r.slice(0,t-n));for(;t>e;){if(!r.length)return;this.processFile(r.shift()),e++}}},t.prototype.processFile=function(e){return this.processFiles([e])},t.prototype.processFiles=function(e){var n,r,i;for(r=0,i=e.length;i>r;r++)n=e[r],n.processing=!0,n.status=t.UPLOADING,this.emit("processing",n);return this.options.uploadMultiple&&this.emit("processingmultiple",e),this.uploadFiles(e)},t.prototype._getFilesWithXhr=function(e){var t,n;return n=function(){var n,r,i,o;for(i=this.files,o=[],n=0,r=i.length;r>n;n++)t=i[n],t.xhr===e&&o.push(t);return o}.call(this)},t.prototype.cancelUpload=function(e){var n,r,i,o,a,s,u;if(e.status===t.UPLOADING){for(r=this._getFilesWithXhr(e.xhr),i=0,a=r.length;a>i;i++)n=r[i],n.status=t.CANCELED;for(e.xhr.abort(),o=0,s=r.length;s>o;o++)n=r[o],this.emit("canceled",n);this.options.uploadMultiple&&this.emit("canceledmultiple",r)}else(u=e.status)!==t.ADDED&&u!==t.QUEUED||(e.status=t.CANCELED,this.emit("canceled",e),this.options.uploadMultiple&&this.emit("canceledmultiple",[e]));return this.options.autoProcessQueue?this.processQueue():void 0},i=function(){var e,t;return t=arguments[0],e=2<=arguments.length?l.call(arguments,1):[],"function"==typeof t?t.apply(this,e):t},t.prototype.uploadFile=function(e){return this.uploadFiles([e])},t.prototype.uploadFiles=function(e){var n,o,a,s,u,l,c,f,d,h,p,m,g,v,$,y,b,w,x,k,C,S,_,E,D,T,M,A,O,F,N,I,P,j;for(x=new XMLHttpRequest,k=0,E=e.length;E>k;k++)n=e[k],n.xhr=x;m=i(this.options.method,e),b=i(this.options.url,e),x.open(m,b,!0),x.withCredentials=!!this.options.withCredentials,$=null,a=function(t){return function(){var r,i,o;for(o=[],r=0,i=e.length;i>r;r++)n=e[r],o.push(t._errorProcessing(e,$||t.options.dictResponseError.replace("{{statusCode}}",x.status),x));return o}}(this),y=function(t){return function(r){var i,o,a,s,u,l,c,f,d;if(null!=r)for(o=100*r.loaded/r.total,a=0,l=e.length;l>a;a++)n=e[a],n.upload={progress:o,total:r.total,bytesSent:r.loaded};else{for(i=!0,o=100,s=0,c=e.length;c>s;s++)n=e[s],100===n.upload.progress&&n.upload.bytesSent===n.upload.total||(i=!1),n.upload.progress=o,n.upload.bytesSent=n.upload.total;if(i)return}for(d=[],u=0,f=e.length;f>u;u++)n=e[u],d.push(t.emit("uploadprogress",n,o,n.upload.bytesSent));return d}}(this),x.onload=function(n){return function(r){var i;if(e[0].status!==t.CANCELED&&4===x.readyState){if($=x.responseText,x.getResponseHeader("content-type")&&~x.getResponseHeader("content-type").indexOf("application/json"))try{$=JSON.parse($)}catch(o){r=o,$="Invalid JSON response from server."}return y(),200<=(i=x.status)&&300>i?n._finished(e,$,r):a()}}}(this),x.onerror=function(n){return function(){return e[0].status!==t.CANCELED?a():void 0}}(this),v=null!=(O=x.upload)?O:x,v.onprogress=y,l={Accept:"application/json","Cache-Control":"no-cache","X-Requested-With":"XMLHttpRequest"},this.options.headers&&r(l,this.options.headers);for(s in l)u=l[s],u&&x.setRequestHeader(s,u);if(o=new FormData,this.options.params){F=this.options.params;for(p in F)w=F[p],o.append(p,w)}for(C=0,D=e.length;D>C;C++)n=e[C],this.emit("sending",n,x,o);if(this.options.uploadMultiple&&this.emit("sendingmultiple",e,x,o),"FORM"===this.element.tagName)for(N=this.element.querySelectorAll("input, textarea, select, button"),S=0,T=N.length;T>S;S++)if(f=N[S],d=f.getAttribute("name"),h=f.getAttribute("type"),"SELECT"===f.tagName&&f.hasAttribute("multiple"))for(I=f.options,_=0,M=I.length;M>_;_++)g=I[_],g.selected&&o.append(d,g.value);else(!h||"checkbox"!==(P=h.toLowerCase())&&"radio"!==P||f.checked)&&o.append(d,f.value);for(c=A=0,j=e.length-1;j>=0?j>=A:A>=j;c=j>=0?++A:--A)o.append(this._getParamName(c),e[c],this._renameFilename(e[c].name));return this.submitRequest(x,o,e)},t.prototype.submitRequest=function(e,t,n){return e.send(t)},t.prototype._finished=function(e,n,r){var i,o,a;for(o=0,a=e.length;a>o;o++)i=e[o],i.status=t.SUCCESS,this.emit("success",i,n,r),this.emit("complete",i);return this.options.uploadMultiple&&(this.emit("successmultiple",e,n,r),this.emit("completemultiple",e)),this.options.autoProcessQueue?this.processQueue():void 0},t.prototype._errorProcessing=function(e,n,r){var i,o,a;for(o=0,a=e.length;a>o;o++)i=e[o],i.status=t.ERROR,this.emit("error",i,n,r),this.emit("complete",i);return this.options.uploadMultiple&&(this.emit("errormultiple",e,n,r),this.emit("completemultiple",e)),this.options.autoProcessQueue?this.processQueue():void 0},t}(n),e.version="4.3.0",e.options={},e.optionsForElement=function(t){return t.getAttribute("id")?e.options[r(t.getAttribute("id"))]:void 0},e.instances=[],e.forElement=function(e){if("string"==typeof e&&(e=document.querySelector(e)),null==(null!=e?e.dropzone:void 0))throw new Error("No Dropzone found for given element. This is probably because you're trying to access it before Dropzone had the time to initialize. Use the `init` option to setup any additional observers on your Dropzone.");return e.dropzone},e.autoDiscover=!0,e.discover=function(){var t,n,r,i,o,a;for(document.querySelectorAll?r=document.querySelectorAll(".dropzone"):(r=[],t=function(e){var t,n,i,o;for(o=[],n=0,i=e.length;i>n;n++)t=e[n],/(^| )dropzone($| )/.test(t.className)?o.push(r.push(t)):o.push(void 0);return o},t(document.getElementsByTagName("div")),t(document.getElementsByTagName("form"))),a=[],i=0,o=r.length;o>i;i++)n=r[i],e.optionsForElement(n)!==!1?a.push(new e(n)):a.push(void 0);return a},e.blacklistedBrowsers=[/opera.*Macintosh.*version\/12/i],e.isBrowserSupported=function(){var t,n,r,i,o;if(t=!0,window.File&&window.FileReader&&window.FileList&&window.Blob&&window.FormData&&document.querySelector)if("classList"in document.createElement("a"))for(o=e.blacklistedBrowsers,r=0,i=o.length;i>r;r++)n=o[r],n.test(navigator.userAgent)&&(t=!1);else t=!1;else t=!1;return t},u=function(e,t){var n,r,i,o;for(o=[],r=0,i=e.length;i>r;r++)n=e[r],n!==t&&o.push(n);return o},r=function(e){return e.replace(/[\-_](\w)/g,function(e){return e.charAt(1).toUpperCase()})},e.createElement=function(e){var t;return t=document.createElement("div"),t.innerHTML=e,t.childNodes[0]},e.elementInside=function(e,t){if(e===t)return!0;for(;e=e.parentNode;)if(e===t)return!0;return!1},e.getElement=function(e,t){var n;if("string"==typeof e?n=document.querySelector(e):null!=e.nodeType&&(n=e),null==n)throw new Error("Invalid `"+t+"` option provided. Please provide a CSS selector or a plain HTML element.");return n},e.getElements=function(e,t){var n,r,i,o,a,s,u,l;if(e instanceof Array){i=[];try{for(o=0,s=e.length;s>o;o++)r=e[o],i.push(this.getElement(r,t))}catch(c){n=c,i=null}}else if("string"==typeof e)for(i=[],l=document.querySelectorAll(e),a=0,u=l.length;u>a;a++)r=l[a],i.push(r);else null!=e.nodeType&&(i=[e]);if(null==i||!i.length)throw new Error("Invalid `"+t+"` option provided. Please provide a CSS selector, a plain HTML element or a list of those.");return i},e.confirm=function(e,t,n){return window.confirm(e)?t():null!=n?n():void 0},e.isValidFile=function(e,t){var n,r,i,o,a;if(!t)return!0;for(t=t.split(","),r=e.type,n=r.replace(/\/.*$/,""),o=0,a=t.length;a>o;o++)if(i=t[o],i=i.trim(),"."===i.charAt(0)){if(-1!==e.name.toLowerCase().indexOf(i.toLowerCase(),e.name.length-i.length))return!0}else if(/\/\*$/.test(i)){if(n===i.replace(/\/.*$/,""))return!0}else if(r===i)return!0;return!1},"undefined"!=typeof jQuery&&null!==jQuery&&(jQuery.fn.dropzone=function(t){return this.each(function(){return new e(this,t)})}),"undefined"!=typeof t&&null!==t?t.exports=e:window.Dropzone=e,e.ADDED="added",e.QUEUED="queued",e.ACCEPTED=e.QUEUED,e.UPLOADING="uploading",e.PROCESSING=e.UPLOADING,e.CANCELED="canceled",e.ERROR="error",e.SUCCESS="success",o=function(e){var t,n,r,i,o,a,s,u,l,c;for(s=e.naturalWidth,a=e.naturalHeight,n=document.createElement("canvas"),n.width=1,n.height=a,r=n.getContext("2d"),r.drawImage(e,0,0),i=r.getImageData(0,0,1,a).data,c=0,o=a,u=a;u>c;)t=i[4*(u-1)+3],0===t?o=u:c=u,u=o+c>>1;return l=u/a,0===l?1:l},a=function(e,t,n,r,i,a,s,u,l,c){var f;return f=o(t),e.drawImage(t,n,r,i,a,s,u,l,c/f)},i=function(e,t){var n,r,i,o,a,s,u,l,c;if(i=!1,c=!0,r=e.document,l=r.documentElement,n=r.addEventListener?"addEventListener":"attachEvent",u=r.addEventListener?"removeEventListener":"detachEvent",s=r.addEventListener?"":"on",o=function(n){return"readystatechange"!==n.type||"complete"===r.readyState?(("load"===n.type?e:r)[u](s+n.type,o,!1),!i&&(i=!0)?t.call(e,n.type||n):void 0):void 0},a=function(){var e;try{l.doScroll("left")}catch(t){return e=t,void setTimeout(a,50)}return o("poll")},"complete"!==r.readyState){if(r.createEventObject&&l.doScroll){try{c=!e.frameElement}catch(f){}c&&a()}return r[n](s+"DOMContentLoaded",o,!1),r[n](s+"readystatechange",o,!1),e[n](s+"load",o,!1)}},e._autoDiscoverFunction=function(){return e.autoDiscover?e.discover():void 0},i(window,e._autoDiscoverFunction)}).call(this)},{}],11:[function(e,t,n){(function(e){(function(){function e(e){this.tokens=[],this.tokens.links={},this.options=e||f.defaults,this.rules=d.normal,this.options.gfm&&(this.options.tables?this.rules=d.tables:this.rules=d.gfm)}function r(e,t){if(this.options=t||f.defaults,this.links=e,this.rules=h.normal,this.renderer=this.options.renderer||new i,this.renderer.options=this.options,!this.links)throw new Error("Tokens array requires a `links` property.");this.options.gfm?this.options.breaks?this.rules=h.breaks:this.rules=h.gfm:this.options.pedantic&&(this.rules=h.pedantic)}function i(e){this.options=e||{}}function o(e){this.tokens=[],this.token=null,this.options=e||f.defaults,this.options.renderer=this.options.renderer||new i,this.renderer=this.options.renderer,this.renderer.options=this.options}function a(e,t){return e.replace(t?/&/g:/&(?!#?\w+;)/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}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 cr)r=cr[n],i=t[r],p(i)||(e[r]=i);return e}function g(e){m(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),fr===!1&&(fr=!0,n.updateOffset(this),fr=!1)}function v(e){return e instanceof g||null!=e&&null!=e._isAMomentObject}function $(e){return 0>e?Math.ceil(e):Math.floor(e)}function y(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=$(t)),n}function b(e,t,n){var r,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(r=0;i>r;r++)(n&&e[r]!==t[r]||!n&&y(e[r])!==y(t[r]))&&a++;return a+o}function w(e){n.suppressDeprecationWarnings===!1&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function x(e,t){var r=!0;return u(function(){return null!=n.deprecationHandler&&n.deprecationHandler(null,e),r&&(w(e+"\nArguments: "+Array.prototype.slice.call(arguments).join(", ")+"\n"+(new Error).stack),r=!1),t.apply(this,arguments)},t)}function k(e,t){null!=n.deprecationHandler&&n.deprecationHandler(e,t),dr[e]||(w(t),dr[e]=!0)}function C(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function S(e){return"[object Object]"===Object.prototype.toString.call(e)}function _(e){var t,n;for(n in e)t=e[n],C(t)?this[n]=t:this["_"+n]=t;this._config=e,this._ordinalParseLenient=new RegExp(this._ordinalParse.source+"|"+/\d{1,2}/.source)}function E(e,t){var n,r=u({},e);for(n in t)s(t,n)&&(S(e[n])&&S(t[n])?(r[n]={},u(r[n],e[n]),u(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);return r}function D(e){null!=e&&this.set(e)}function T(e){return e?e.toLowerCase().replace("_","-"):e}function M(e){for(var t,n,r,i,o=0;o0;){if(r=A(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&b(i,n,!0)>=t-1)break;t--}o++}return null}function A(n){var r=null;if(!gr[n]&&"undefined"!=typeof t&&t&&t.exports)try{r=pr._abbr,e("./locale/"+n),O(r)}catch(i){}return gr[n]}function O(e,t){var n;return e&&(n=p(t)?I(e):F(e,t),n&&(pr=n)),pr._abbr}function F(e,t){return null!==t?(t.abbr=e,null!=gr[e]?(k("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale"),t=E(gr[e]._config,t)):null!=t.parentLocale&&(null!=gr[t.parentLocale]?t=E(gr[t.parentLocale]._config,t):k("parentLocaleUndefined","specified parentLocale is not defined yet")),gr[e]=new D(t),O(e),gr[e]):(delete gr[e],null)}function N(e,t){if(null!=t){var n;null!=gr[e]&&(t=E(gr[e]._config,t)),n=new D(t),n.parentLocale=gr[e],gr[e]=n,O(e)}else null!=gr[e]&&(null!=gr[e].parentLocale?gr[e]=gr[e].parentLocale:null!=gr[e]&&delete gr[e]);return gr[e]}function I(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return pr;if(!i(e)){if(t=A(e))return t;e=[e]}return M(e)}function P(){return hr(gr)}function j(e,t){var n=e.toLowerCase();vr[n]=vr[n+"s"]=vr[t]=e}function L(e){return"string"==typeof e?vr[e]||vr[e.toLowerCase()]:void 0}function R(e){var t,n,r={};for(n in e)s(e,n)&&(t=L(n),t&&(r[t]=e[n]));return r}function U(e,t){return function(r){return null!=r?(z(this,e,r),n.updateOffset(this,t),this):V(this,e)}}function V(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function z(e,t,n){e.isValid()&&e._d["set"+(e._isUTC?"UTC":"")+t](n)}function H(e,t){var n;if("object"==typeof e)for(n in e)this.set(n,e[n]);else if(e=L(e),C(this[e]))return this[e](t);return this}function q(e,t,n){var r=""+Math.abs(e),i=t-r.length,o=e>=0;return(o?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}function Y(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(wr[e]=i),t&&(wr[t[0]]=function(){return q(i.apply(this,arguments),t[1],t[2])}),n&&(wr[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function W(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function B(e){var t,n,r=e.match($r);for(t=0,n=r.length;n>t;t++)wr[r[t]]?r[t]=wr[r[t]]:r[t]=W(r[t]);return function(t){var i,o="";for(i=0;n>i;i++)o+=r[i]instanceof Function?r[i].call(t,e):r[i];return o}}function G(e,t){return e.isValid()?(t=Z(t,e.localeData()),br[t]=br[t]||B(t),br[t](e)):e.localeData().invalidDate()}function Z(e,t){function n(e){return t.longDateFormat(e)||e}var r=5;for(yr.lastIndex=0;r>=0&&yr.test(e);)e=e.replace(yr,n),yr.lastIndex=0,r-=1;return e}function Q(e,t,n){Rr[e]=C(t)?t:function(e,r){return e&&n?n:t}}function J(e,t){return s(Rr,e)?Rr[e](t._strict,t._locale):new RegExp(X(e))}function X(e){return K(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i}))}function K(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function ee(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),"number"==typeof t&&(r=function(e,n){n[t]=y(e)}),n=0;nr;++r)o=l([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?(i=mr.call(this._shortMonthsParse,a),-1!==i?i:null):(i=mr.call(this._longMonthsParse,a),-1!==i?i:null):"MMM"===t?(i=mr.call(this._shortMonthsParse,a),-1!==i?i:(i=mr.call(this._longMonthsParse,a),-1!==i?i:null)):(i=mr.call(this._longMonthsParse,a),-1!==i?i:(i=mr.call(this._shortMonthsParse,a),-1!==i?i:null))}function se(e,t,n){var r,i,o;if(this._monthsParseExact)return ae.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),r=0;12>r;r++){if(i=l([2e3,r]),n&&!this._longMonthsParse[r]&&(this._longMonthsParse[r]=new RegExp("^"+this.months(i,"").replace(".","")+"$","i"),this._shortMonthsParse[r]=new RegExp("^"+this.monthsShort(i,"").replace(".","")+"$","i")),n||this._monthsParse[r]||(o="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[r]=new RegExp(o.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[r].test(e))return r;if(n&&"MMM"===t&&this._shortMonthsParse[r].test(e))return r;if(!n&&this._monthsParse[r].test(e))return r}}function ue(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=y(t);else if(t=e.localeData().monthsParse(t),"number"!=typeof t)return e;return n=Math.min(e.date(),re(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function le(e){return null!=e?(ue(this,e),n.updateOffset(this,!0),this):V(this,"Month")}function ce(){return re(this.year(),this.month())}function fe(e){return this._monthsParseExact?(s(this,"_monthsRegex")||he.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex}function de(e){return this._monthsParseExact?(s(this,"_monthsRegex")||he.call(this),e?this._monthsStrictRegex:this._monthsRegex):this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex}function he(){function e(e,t){return t.length-e.length}var t,n,r=[],i=[],o=[];for(t=0;12>t;t++)n=l([2e3,t]),r.push(this.monthsShort(n,"")),i.push(this.months(n,"")),o.push(this.months(n,"")),o.push(this.monthsShort(n,""));for(r.sort(e),i.sort(e),o.sort(e),t=0;12>t;t++)r[t]=K(r[t]),i[t]=K(i[t]),o[t]=K(o[t]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}function pe(e){var t,n=e._a;return n&&-2===f(e).overflow&&(t=n[zr]<0||n[zr]>11?zr:n[Hr]<1||n[Hr]>re(n[Vr],n[zr])?Hr:n[qr]<0||n[qr]>24||24===n[qr]&&(0!==n[Yr]||0!==n[Wr]||0!==n[Br])?qr:n[Yr]<0||n[Yr]>59?Yr:n[Wr]<0||n[Wr]>59?Wr:n[Br]<0||n[Br]>999?Br:-1,f(e)._overflowDayOfYear&&(Vr>t||t>Hr)&&(t=Hr),f(e)._overflowWeeks&&-1===t&&(t=Gr),f(e)._overflowWeekday&&-1===t&&(t=Zr),f(e).overflow=t),e}function me(e){var t,n,r,i,o,a,s=e._i,u=ti.exec(s)||ni.exec(s);if(u){for(f(e).iso=!0,t=0,n=ii.length;n>t;t++)if(ii[t][1].exec(u[1])){i=ii[t][0],r=ii[t][2]!==!1;break}if(null==i)return void(e._isValid=!1);if(u[3]){for(t=0,n=oi.length;n>t;t++)if(oi[t][1].exec(u[3])){o=(u[2]||" ")+oi[t][0];break}if(null==o)return void(e._isValid=!1)}if(!r&&null!=o)return void(e._isValid=!1);if(u[4]){if(!ri.exec(u[4]))return void(e._isValid=!1);a="Z"}e._f=i+(o||"")+(a||""),Me(e)}else e._isValid=!1}function ge(e){var t=ai.exec(e._i);return null!==t?void(e._d=new Date(+t[1])):(me(e),void(e._isValid===!1&&(delete e._isValid,n.createFromInputFallback(e))))}function ve(e,t,n,r,i,o,a){var s=new Date(e,t,n,r,i,o,a);return 100>e&&e>=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}function $e(e){var t=new Date(Date.UTC.apply(null,arguments));return 100>e&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function ye(e){return be(e)?366:365}function be(e){return e%4===0&&e%100!==0||e%400===0}function we(){return be(this.year())}function xe(e,t,n){var r=7+t-n,i=(7+$e(e,0,r).getUTCDay()-t)%7;return-i+r-1}function ke(e,t,n,r,i){var o,a,s=(7+n-r)%7,u=xe(e,r,i),l=1+7*(t-1)+s+u;return 0>=l?(o=e-1,a=ye(o)+l):l>ye(e)?(o=e+1,a=l-ye(e)):(o=e,a=l),{year:o,dayOfYear:a}}function Ce(e,t,n){var r,i,o=xe(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return 1>a?(i=e.year()-1,r=a+Se(i,t,n)):a>Se(e.year(),t,n)?(r=a-Se(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function Se(e,t,n){var r=xe(e,t,n),i=xe(e+1,t,n);return(ye(e)-r+i)/7}function _e(e,t,n){return null!=e?e:null!=t?t:n}function Ee(e){var t=new Date(n.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function De(e){var t,n,r,i,o=[];if(!e._d){for(r=Ee(e),e._w&&null==e._a[Hr]&&null==e._a[zr]&&Te(e),e._dayOfYear&&(i=_e(e._a[Vr],r[Vr]),e._dayOfYear>ye(i)&&(f(e)._overflowDayOfYear=!0),n=$e(i,0,e._dayOfYear),e._a[zr]=n.getUTCMonth(),e._a[Hr]=n.getUTCDate()),t=0;3>t&&null==e._a[t];++t)e._a[t]=o[t]=r[t];for(;7>t;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[qr]&&0===e._a[Yr]&&0===e._a[Wr]&&0===e._a[Br]&&(e._nextDay=!0,e._a[qr]=0),e._d=(e._useUTC?$e:ve).apply(null,o),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[qr]=24)}}function Te(e){var t,n,r,i,o,a,s,u;t=e._w,null!=t.GG||null!=t.W||null!=t.E?(o=1,a=4,n=_e(t.GG,e._a[Vr],Ce(Le(),1,4).year),r=_e(t.W,1),i=_e(t.E,1),(1>i||i>7)&&(u=!0)):(o=e._locale._week.dow,a=e._locale._week.doy,n=_e(t.gg,e._a[Vr],Ce(Le(),o,a).year),r=_e(t.w,1),null!=t.d?(i=t.d,(0>i||i>6)&&(u=!0)):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(u=!0)):i=o),1>r||r>Se(n,o,a)?f(e)._overflowWeeks=!0:null!=u?f(e)._overflowWeekday=!0:(s=ke(n,r,i,o,a),e._a[Vr]=s.year,e._dayOfYear=s.dayOfYear)}function Me(e){if(e._f===n.ISO_8601)return void me(e);e._a=[],f(e).empty=!0;var t,r,i,o,a,s=""+e._i,u=s.length,l=0;for(i=Z(e._f,e._locale).match($r)||[],t=0;t0&&f(e).unusedInput.push(a),s=s.slice(s.indexOf(r)+r.length),l+=r.length),wr[o]?(r?f(e).empty=!1:f(e).unusedTokens.push(o),ne(o,r,e)):e._strict&&!r&&f(e).unusedTokens.push(o);f(e).charsLeftOver=u-l,s.length>0&&f(e).unusedInput.push(s),f(e).bigHour===!0&&e._a[qr]<=12&&e._a[qr]>0&&(f(e).bigHour=void 0),f(e).parsedDateParts=e._a.slice(0),f(e).meridiem=e._meridiem,e._a[qr]=Ae(e._locale,e._a[qr],e._meridiem),De(e),pe(e)}function Ae(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(r=e.isPM(n),r&&12>t&&(t+=12),r||12!==t||(t=0),t):t}function Oe(e){var t,n,r,i,o;if(0===e._f.length)return f(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;io)&&(r=o,n=t));u(e,n||t)}function Fe(e){if(!e._d){var t=R(e._i);e._a=a([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),De(e)}}function Ne(e){var t=new g(pe(Ie(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}function Ie(e){var t=e._i,n=e._f;return e._locale=e._locale||I(e._l),null===t||void 0===n&&""===t?h({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),v(t)?new g(pe(t)):(i(n)?Oe(e):n?Me(e):o(t)?e._d=t:Pe(e),d(e)||(e._d=null),e))}function Pe(e){var t=e._i;void 0===t?e._d=new Date(n.now()):o(t)?e._d=new Date(t.valueOf()):"string"==typeof t?ge(e):i(t)?(e._a=a(t.slice(0),function(e){return parseInt(e,10)}),De(e)):"object"==typeof t?Fe(e):"number"==typeof t?e._d=new Date(t):n.createFromInputFallback(e)}function je(e,t,n,r,i){var o={};return"boolean"==typeof n&&(r=n,n=void 0),o._isAMomentObject=!0,o._useUTC=o._isUTC=i,o._l=n,o._i=e,o._f=t,o._strict=r,Ne(o)}function Le(e,t,n,r){return je(e,t,n,r,!1)}function Re(e,t){var n,r;if(1===t.length&&i(t[0])&&(t=t[0]),!t.length)return Le();for(n=t[0],r=1;re&&(e=-e,n="-"),n+q(~~(e/60),2)+t+q(~~e%60,2)})}function Ye(e,t){var n=(t||"").match(e)||[],r=n[n.length-1]||[],i=(r+"").match(fi)||["-",0,0],o=+(60*i[1])+y(i[2]);return"+"===i[0]?o:-o}function We(e,t){var r,i;return t._isUTC?(r=t.clone(),i=(v(e)||o(e)?e.valueOf():Le(e).valueOf())-r.valueOf(),r._d.setTime(r._d.valueOf()+i),n.updateOffset(r,!1),r):Le(e).local()}function Be(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function Ge(e,t){var r,i=this._offset||0;return this.isValid()?null!=e?("string"==typeof e?e=Ye(Pr,e):Math.abs(e)<16&&(e=60*e),!this._isUTC&&t&&(r=Be(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),i!==e&&(!t||this._changeInProgress?ft(this,ot(e-i,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,n.updateOffset(this,!0),this._changeInProgress=null)),this):this._isUTC?i:Be(this):null!=e?this:NaN}function Ze(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function Qe(e){return this.utcOffset(0,e)}function Je(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(Be(this),"m")),this}function Xe(){return this._tzm?this.utcOffset(this._tzm):"string"==typeof this._i&&this.utcOffset(Ye(Ir,this._i)),this}function Ke(e){return this.isValid()?(e=e?Le(e).utcOffset():0,(this.utcOffset()-e)%60===0):!1}function et(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function tt(){if(!p(this._isDSTShifted))return this._isDSTShifted;var e={};if(m(e,this),e=Ie(e),e._a){var t=e._isUTC?l(e._a):Le(e._a);this._isDSTShifted=this.isValid()&&b(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function nt(){return this.isValid()?!this._isUTC:!1}function rt(){return this.isValid()?this._isUTC:!1}function it(){return this.isValid()?this._isUTC&&0===this._offset:!1}function ot(e,t){var n,r,i,o=e,a=null;return He(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:"number"==typeof e?(o={},t?o[t]=e:o.milliseconds=e):(a=di.exec(e))?(n="-"===a[1]?-1:1,o={y:0,d:y(a[Hr])*n,h:y(a[qr])*n,m:y(a[Yr])*n,s:y(a[Wr])*n,ms:y(a[Br])*n}):(a=hi.exec(e))?(n="-"===a[1]?-1:1,o={y:at(a[2],n),M:at(a[3],n),w:at(a[4],n),d:at(a[5],n),h:at(a[6],n),m:at(a[7],n),s:at(a[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(i=ut(Le(o.from),Le(o.to)),o={},o.ms=i.milliseconds,o.M=i.months),r=new ze(o),He(e)&&s(e,"_locale")&&(r._locale=e._locale),r}function at(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function st(e,t){var n={milliseconds:0,months:0};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function ut(e,t){var n;return e.isValid()&&t.isValid()?(t=We(t,e),e.isBefore(t)?n=st(e,t):(n=st(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function lt(e){return 0>e?-1*Math.round(-1*e):Math.round(e)}function ct(e,t){return function(n,r){var i,o;return null===r||isNaN(+r)||(k(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period)."),o=n,n=r,r=o),n="string"==typeof n?+n:n,i=ot(n,r),ft(this,i,e),this}}function ft(e,t,r,i){var o=t._milliseconds,a=lt(t._days),s=lt(t._months);e.isValid()&&(i=null==i?!0:i,o&&e._d.setTime(e._d.valueOf()+o*r),a&&z(e,"Date",V(e,"Date")+a*r),s&&ue(e,V(e,"Month")+s*r),i&&n.updateOffset(e,a||s))}function dt(e,t){var n=e||Le(),r=We(n,this).startOf("day"),i=this.diff(r,"days",!0),o=-6>i?"sameElse":-1>i?"lastWeek":0>i?"lastDay":1>i?"sameDay":2>i?"nextDay":7>i?"nextWeek":"sameElse",a=t&&(C(t[o])?t[o]():t[o]);return this.format(a||this.localeData().calendar(o,this,Le(n)))}function ht(){return new g(this)}function pt(e,t){var n=v(e)?e:Le(e);return this.isValid()&&n.isValid()?(t=L(p(t)?"millisecond":t),"millisecond"===t?this.valueOf()>n.valueOf():n.valueOf()t-o?(n=e.clone().add(i-1,"months"),r=(t-o)/(o-n)):(n=e.clone().add(i+1,"months"),r=(t-o)/(n-o)),-(i+r)||0}function xt(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function kt(){var e=this.clone().utc();return 0o&&(t=o),Zt.call(this,e,t,n,r,i))}function Zt(e,t,n,r,i){var o=ke(e,t,n,r,i),a=$e(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function Qt(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function Jt(e){return Ce(e,this._week.dow,this._week.doy).week}function Xt(){return this._week.dow}function Kt(){return this._week.doy}function en(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function tn(e){var t=Ce(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function nn(e,t){return"string"!=typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"==typeof e?e:null):parseInt(e,10)}function rn(e,t){return i(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]}function on(e){return this._weekdaysShort[e.day()]}function an(e){return this._weekdaysMin[e.day()]}function sn(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;7>r;++r)o=l([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?(i=mr.call(this._weekdaysParse,a),-1!==i?i:null):"ddd"===t?(i=mr.call(this._shortWeekdaysParse,a),-1!==i?i:null):(i=mr.call(this._minWeekdaysParse,a),-1!==i?i:null):"dddd"===t?(i=mr.call(this._weekdaysParse,a),-1!==i?i:(i=mr.call(this._shortWeekdaysParse,a),-1!==i?i:(i=mr.call(this._minWeekdaysParse,a),-1!==i?i:null))):"ddd"===t?(i=mr.call(this._shortWeekdaysParse,a),-1!==i?i:(i=mr.call(this._weekdaysParse,a),-1!==i?i:(i=mr.call(this._minWeekdaysParse,a),-1!==i?i:null))):(i=mr.call(this._minWeekdaysParse,a),-1!==i?i:(i=mr.call(this._weekdaysParse,a),-1!==i?i:(i=mr.call(this._shortWeekdaysParse,a),-1!==i?i:null)))}function un(e,t,n){var r,i,o;if(this._weekdaysParseExact)return sn.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;7>r;r++){if(i=l([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".",".?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".",".?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".",".?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}function ln(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=nn(e,this.localeData()),this.add(e-t,"d")):t}function cn(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function fn(e){return this.isValid()?null==e?this.day()||7:this.day(this.day()%7?e:e-7):null!=e?this:NaN}function dn(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||mn.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex}function hn(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||mn.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex}function pn(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||mn.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex}function mn(){function e(e,t){return t.length-e.length}var t,n,r,i,o,a=[],s=[],u=[],c=[];for(t=0;7>t;t++)n=l([2e3,1]).day(t),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),o=this.weekdays(n,""),a.push(r),s.push(i),u.push(o),c.push(r),c.push(i),c.push(o);for(a.sort(e),s.sort(e),u.sort(e),c.sort(e),t=0;7>t;t++)s[t]=K(s[t]),u[t]=K(u[t]),c[t]=K(c[t]);this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function gn(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}function vn(){return this.hours()%12||12}function $n(){return this.hours()||24}function yn(e,t){Y(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function bn(e,t){return t._meridiemParse}function wn(e){return"p"===(e+"").toLowerCase().charAt(0)}function xn(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}function kn(e,t){t[Br]=y(1e3*("0."+e))}function Cn(){return this._isUTC?"UTC":""}function Sn(){return this._isUTC?"Coordinated Universal Time":""}function _n(e){return Le(1e3*e)}function En(){return Le.apply(null,arguments).parseZone()}function Dn(e,t,n){var r=this._calendar[e];return C(r)?r.call(t,n):r}function Tn(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}), -this._longDateFormat[e])}function Mn(){return this._invalidDate}function An(e){return this._ordinal.replace("%d",e)}function On(e){return e}function Fn(e,t,n,r){var i=this._relativeTime[n];return C(i)?i(e,t,n,r):i.replace(/%d/i,e)}function Nn(e,t){var n=this._relativeTime[e>0?"future":"past"];return C(n)?n(t):n.replace(/%s/i,t)}function In(e,t,n,r){var i=I(),o=l().set(r,t);return i[n](o,e)}function Pn(e,t,n){if("number"==typeof e&&(t=e,e=void 0),e=e||"",null!=t)return In(e,t,n,"month");var r,i=[];for(r=0;12>r;r++)i[r]=In(e,r,n,"month");return i}function jn(e,t,n,r){"boolean"==typeof e?("number"==typeof t&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,"number"==typeof t&&(n=t,t=void 0),t=t||"");var i=I(),o=e?i._week.dow:0;if(null!=n)return In(t,(n+o)%7,r,"day");var a,s=[];for(a=0;7>a;a++)s[a]=In(t,(a+o)%7,r,"day");return s}function Ln(e,t){return Pn(e,t,"months")}function Rn(e,t){return Pn(e,t,"monthsShort")}function Un(e,t,n){return jn(e,t,n,"weekdays")}function Vn(e,t,n){return jn(e,t,n,"weekdaysShort")}function zn(e,t,n){return jn(e,t,n,"weekdaysMin")}function Hn(){var e=this._data;return this._milliseconds=Ui(this._milliseconds),this._days=Ui(this._days),this._months=Ui(this._months),e.milliseconds=Ui(e.milliseconds),e.seconds=Ui(e.seconds),e.minutes=Ui(e.minutes),e.hours=Ui(e.hours),e.months=Ui(e.months),e.years=Ui(e.years),this}function qn(e,t,n,r){var i=ot(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function Yn(e,t){return qn(this,e,t,1)}function Wn(e,t){return qn(this,e,t,-1)}function Bn(e){return 0>e?Math.floor(e):Math.ceil(e)}function Gn(){var e,t,n,r,i,o=this._milliseconds,a=this._days,s=this._months,u=this._data;return o>=0&&a>=0&&s>=0||0>=o&&0>=a&&0>=s||(o+=864e5*Bn(Qn(s)+a),a=0,s=0),u.milliseconds=o%1e3,e=$(o/1e3),u.seconds=e%60,t=$(e/60),u.minutes=t%60,n=$(t/60),u.hours=n%24,a+=$(n/24),i=$(Zn(a)),s+=i,a-=Bn(Qn(i)),r=$(s/12),s%=12,u.days=a,u.months=s,u.years=r,this}function Zn(e){return 4800*e/146097}function Qn(e){return 146097*e/4800}function Jn(e){var t,n,r=this._milliseconds;if(e=L(e),"month"===e||"year"===e)return t=this._days+r/864e5,n=this._months+Zn(t),"month"===e?n:n/12;switch(t=this._days+Math.round(Qn(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}function Xn(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*y(this._months/12)}function Kn(e){return function(){return this.as(e)}}function er(e){return e=L(e),this[e+"s"]()}function tr(e){return function(){return this._data[e]}}function nr(){return $(this.days()/7)}function rr(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function ir(e,t,n){var r=ot(e).abs(),i=no(r.as("s")),o=no(r.as("m")),a=no(r.as("h")),s=no(r.as("d")),u=no(r.as("M")),l=no(r.as("y")),c=i=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,rr.apply(null,c)}function or(e,t){return void 0===ro[e]?!1:void 0===t?ro[e]:(ro[e]=t,!0)}function ar(e){var t=this.localeData(),n=ir(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function sr(){var e,t,n,r=io(this._milliseconds)/1e3,i=io(this._days),o=io(this._months);e=$(r/60),t=$(e/60),r%=60,e%=60,n=$(o/12),o%=12;var a=n,s=o,u=i,l=t,c=e,f=r,d=this.asSeconds();return d?(0>d?"-":"")+"P"+(a?a+"Y":"")+(s?s+"M":"")+(u?u+"D":"")+(l||c||f?"T":"")+(l?l+"H":"")+(c?c+"M":"")+(f?f+"S":""):"P0D"}var ur,lr;lr=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;n>r;r++)if(r in t&&e.call(this,t[r],r,t))return!0;return!1};var cr=n.momentProperties=[],fr=!1,dr={};n.suppressDeprecationWarnings=!1,n.deprecationHandler=null;var hr;hr=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)s(e,t)&&n.push(t);return n};var pr,mr,gr={},vr={},$r=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,yr=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,br={},wr={},xr=/\d/,kr=/\d\d/,Cr=/\d{3}/,Sr=/\d{4}/,_r=/[+-]?\d{6}/,Er=/\d\d?/,Dr=/\d\d\d\d?/,Tr=/\d\d\d\d\d\d?/,Mr=/\d{1,3}/,Ar=/\d{1,4}/,Or=/[+-]?\d{1,6}/,Fr=/\d+/,Nr=/[+-]?\d+/,Ir=/Z|[+-]\d\d:?\d\d/gi,Pr=/Z|[+-]\d\d(?::?\d\d)?/gi,jr=/[+-]?\d+(\.\d{1,3})?/,Lr=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,Rr={},Ur={},Vr=0,zr=1,Hr=2,qr=3,Yr=4,Wr=5,Br=6,Gr=7,Zr=8;mr=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t=e?""+e:"+"+e}),Y(0,["YY",2],0,function(){return this.year()%100}),Y(0,["YYYY",4],0,"year"),Y(0,["YYYYY",5],0,"year"),Y(0,["YYYYYY",6,!0],0,"year"),j("year","y"),Q("Y",Nr),Q("YY",Er,kr),Q("YYYY",Ar,Sr),Q("YYYYY",Or,_r),Q("YYYYYY",Or,_r),ee(["YYYYY","YYYYYY"],Vr),ee("YYYY",function(e,t){t[Vr]=2===e.length?n.parseTwoDigitYear(e):y(e)}),ee("YY",function(e,t){t[Vr]=n.parseTwoDigitYear(e)}),ee("Y",function(e,t){t[Vr]=parseInt(e,10)}),n.parseTwoDigitYear=function(e){return y(e)+(y(e)>68?1900:2e3)};var si=U("FullYear",!0);n.ISO_8601=function(){};var ui=x("moment().min is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548",function(){var e=Le.apply(null,arguments);return this.isValid()&&e.isValid()?this>e?this:e:h()}),li=x("moment().max is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548",function(){var e=Le.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:h()}),ci=function(){return Date.now?Date.now():+new Date};qe("Z",":"),qe("ZZ",""),Q("Z",Pr),Q("ZZ",Pr),ee(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Ye(Pr,e)});var fi=/([\+\-]|\d\d)/gi;n.updateOffset=function(){};var di=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?\d*)?$/,hi=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;ot.fn=ze.prototype;var pi=ct(1,"add"),mi=ct(-1,"subtract");n.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",n.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var gi=x("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});Y(0,["gg",2],0,function(){return this.weekYear()%100}),Y(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Ht("gggg","weekYear"),Ht("ggggg","weekYear"),Ht("GGGG","isoWeekYear"),Ht("GGGGG","isoWeekYear"),j("weekYear","gg"),j("isoWeekYear","GG"),Q("G",Nr),Q("g",Nr),Q("GG",Er,kr),Q("gg",Er,kr),Q("GGGG",Ar,Sr),Q("gggg",Ar,Sr),Q("GGGGG",Or,_r),Q("ggggg",Or,_r),te(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=y(e)}),te(["gg","GG"],function(e,t,r,i){t[i]=n.parseTwoDigitYear(e)}),Y("Q",0,"Qo","quarter"),j("quarter","Q"),Q("Q",xr),ee("Q",function(e,t){t[zr]=3*(y(e)-1)}),Y("w",["ww",2],"wo","week"),Y("W",["WW",2],"Wo","isoWeek"),j("week","w"),j("isoWeek","W"),Q("w",Er),Q("ww",Er,kr),Q("W",Er),Q("WW",Er,kr),te(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=y(e)});var vi={dow:0,doy:6};Y("D",["DD",2],"Do","date"),j("date","D"),Q("D",Er),Q("DD",Er,kr),Q("Do",function(e,t){return e?t._ordinalParse:t._ordinalParseLenient}),ee(["D","DD"],Hr),ee("Do",function(e,t){t[Hr]=y(e.match(Er)[0],10)});var $i=U("Date",!0);Y("d",0,"do","day"),Y("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),Y("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),Y("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),Y("e",0,0,"weekday"),Y("E",0,0,"isoWeekday"),j("day","d"),j("weekday","e"),j("isoWeekday","E"),Q("d",Er),Q("e",Er),Q("E",Er),Q("dd",function(e,t){return t.weekdaysMinRegex(e)}),Q("ddd",function(e,t){return t.weekdaysShortRegex(e)}),Q("dddd",function(e,t){return t.weekdaysRegex(e)}),te(["dd","ddd","dddd"],function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:f(n).invalidWeekday=e}),te(["d","e","E"],function(e,t,n,r){t[r]=y(e)});var yi="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),bi="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),wi="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),xi=Lr,ki=Lr,Ci=Lr;Y("DDD",["DDDD",3],"DDDo","dayOfYear"),j("dayOfYear","DDD"),Q("DDD",Mr),Q("DDDD",Cr),ee(["DDD","DDDD"],function(e,t,n){n._dayOfYear=y(e)}),Y("H",["HH",2],0,"hour"),Y("h",["hh",2],0,vn),Y("k",["kk",2],0,$n),Y("hmm",0,0,function(){return""+vn.apply(this)+q(this.minutes(),2)}),Y("hmmss",0,0,function(){return""+vn.apply(this)+q(this.minutes(),2)+q(this.seconds(),2)}),Y("Hmm",0,0,function(){return""+this.hours()+q(this.minutes(),2)}),Y("Hmmss",0,0,function(){return""+this.hours()+q(this.minutes(),2)+q(this.seconds(),2)}),yn("a",!0),yn("A",!1),j("hour","h"),Q("a",bn),Q("A",bn),Q("H",Er),Q("h",Er),Q("HH",Er,kr),Q("hh",Er,kr),Q("hmm",Dr),Q("hmmss",Tr),Q("Hmm",Dr),Q("Hmmss",Tr),ee(["H","HH"],qr),ee(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ee(["h","hh"],function(e,t,n){t[qr]=y(e),f(n).bigHour=!0}),ee("hmm",function(e,t,n){var r=e.length-2;t[qr]=y(e.substr(0,r)),t[Yr]=y(e.substr(r)),f(n).bigHour=!0}),ee("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[qr]=y(e.substr(0,r)),t[Yr]=y(e.substr(r,2)),t[Wr]=y(e.substr(i)),f(n).bigHour=!0}),ee("Hmm",function(e,t,n){var r=e.length-2;t[qr]=y(e.substr(0,r)),t[Yr]=y(e.substr(r))}),ee("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[qr]=y(e.substr(0,r)),t[Yr]=y(e.substr(r,2)),t[Wr]=y(e.substr(i))});var Si=/[ap]\.?m?\.?/i,_i=U("Hours",!0);Y("m",["mm",2],0,"minute"),j("minute","m"),Q("m",Er),Q("mm",Er,kr),ee(["m","mm"],Yr);var Ei=U("Minutes",!1);Y("s",["ss",2],0,"second"),j("second","s"),Q("s",Er),Q("ss",Er,kr),ee(["s","ss"],Wr);var Di=U("Seconds",!1);Y("S",0,0,function(){return~~(this.millisecond()/100)}),Y(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),Y(0,["SSS",3],0,"millisecond"),Y(0,["SSSS",4],0,function(){return 10*this.millisecond()}),Y(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),Y(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),Y(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),Y(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),Y(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),j("millisecond","ms"),Q("S",Mr,xr),Q("SS",Mr,kr),Q("SSS",Mr,Cr);var Ti;for(Ti="SSSS";Ti.length<=9;Ti+="S")Q(Ti,Fr);for(Ti="S";Ti.length<=9;Ti+="S")ee(Ti,kn);var Mi=U("Milliseconds",!1);Y("z",0,0,"zoneAbbr"),Y("zz",0,0,"zoneName");var Ai=g.prototype;Ai.add=pi,Ai.calendar=dt,Ai.clone=ht,Ai.diff=bt,Ai.endOf=Ot,Ai.format=Ct,Ai.from=St,Ai.fromNow=_t,Ai.to=Et,Ai.toNow=Dt,Ai.get=H,Ai.invalidAt=Vt,Ai.isAfter=pt,Ai.isBefore=mt,Ai.isBetween=gt,Ai.isSame=vt,Ai.isSameOrAfter=$t,Ai.isSameOrBefore=yt,Ai.isValid=Rt,Ai.lang=gi,Ai.locale=Tt,Ai.localeData=Mt,Ai.max=li,Ai.min=ui,Ai.parsingFlags=Ut,Ai.set=H,Ai.startOf=At,Ai.subtract=mi,Ai.toArray=Pt,Ai.toObject=jt,Ai.toDate=It,Ai.toISOString=kt,Ai.toJSON=Lt,Ai.toString=xt,Ai.unix=Nt,Ai.valueOf=Ft,Ai.creationData=zt,Ai.year=si,Ai.isLeapYear=we,Ai.weekYear=qt,Ai.isoWeekYear=Yt,Ai.quarter=Ai.quarters=Qt,Ai.month=le,Ai.daysInMonth=ce,Ai.week=Ai.weeks=en,Ai.isoWeek=Ai.isoWeeks=tn,Ai.weeksInYear=Bt,Ai.isoWeeksInYear=Wt,Ai.date=$i,Ai.day=Ai.days=ln,Ai.weekday=cn,Ai.isoWeekday=fn,Ai.dayOfYear=gn,Ai.hour=Ai.hours=_i,Ai.minute=Ai.minutes=Ei,Ai.second=Ai.seconds=Di,Ai.millisecond=Ai.milliseconds=Mi,Ai.utcOffset=Ge,Ai.utc=Qe,Ai.local=Je,Ai.parseZone=Xe,Ai.hasAlignedHourOffset=Ke,Ai.isDST=et,Ai.isDSTShifted=tt,Ai.isLocal=nt,Ai.isUtcOffset=rt,Ai.isUtc=it,Ai.isUTC=it,Ai.zoneAbbr=Cn,Ai.zoneName=Sn,Ai.dates=x("dates accessor is deprecated. Use date instead.",$i),Ai.months=x("months accessor is deprecated. Use month instead",le),Ai.years=x("years accessor is deprecated. Use year instead",si),Ai.zone=x("moment().zone is deprecated, use moment().utcOffset instead. https://github.com/moment/moment/issues/1779",Ze);var Oi=Ai,Fi={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},Ni={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},Ii="Invalid date",Pi="%d",ji=/\d{1,2}/,Li={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},Ri=D.prototype;Ri._calendar=Fi,Ri.calendar=Dn,Ri._longDateFormat=Ni,Ri.longDateFormat=Tn,Ri._invalidDate=Ii,Ri.invalidDate=Mn,Ri._ordinal=Pi,Ri.ordinal=An,Ri._ordinalParse=ji,Ri.preparse=On,Ri.postformat=On,Ri._relativeTime=Li,Ri.relativeTime=Fn,Ri.pastFuture=Nn,Ri.set=_,Ri.months=ie,Ri._months=Jr,Ri.monthsShort=oe,Ri._monthsShort=Xr,Ri.monthsParse=se,Ri._monthsRegex=ei,Ri.monthsRegex=de,Ri._monthsShortRegex=Kr,Ri.monthsShortRegex=fe,Ri.week=Jt,Ri._week=vi,Ri.firstDayOfYear=Kt,Ri.firstDayOfWeek=Xt,Ri.weekdays=rn,Ri._weekdays=yi,Ri.weekdaysMin=an,Ri._weekdaysMin=wi,Ri.weekdaysShort=on,Ri._weekdaysShort=bi,Ri.weekdaysParse=un,Ri._weekdaysRegex=xi,Ri.weekdaysRegex=dn,Ri._weekdaysShortRegex=ki,Ri.weekdaysShortRegex=hn,Ri._weekdaysMinRegex=Ci,Ri.weekdaysMinRegex=pn,Ri.isPM=wn,Ri._meridiemParse=Si,Ri.meridiem=xn,O("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===y(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),n.lang=x("moment.lang is deprecated. Use moment.locale instead.",O),n.langData=x("moment.langData is deprecated. Use moment.localeData instead.",I);var Ui=Math.abs,Vi=Kn("ms"),zi=Kn("s"),Hi=Kn("m"),qi=Kn("h"),Yi=Kn("d"),Wi=Kn("w"),Bi=Kn("M"),Gi=Kn("y"),Zi=tr("milliseconds"),Qi=tr("seconds"),Ji=tr("minutes"),Xi=tr("hours"),Ki=tr("days"),eo=tr("months"),to=tr("years"),no=Math.round,ro={s:45,m:45,h:22,d:26,M:11},io=Math.abs,oo=ze.prototype;oo.abs=Hn,oo.add=Yn,oo.subtract=Wn,oo.as=Jn,oo.asMilliseconds=Vi,oo.asSeconds=zi,oo.asMinutes=Hi,oo.asHours=qi,oo.asDays=Yi,oo.asWeeks=Wi,oo.asMonths=Bi,oo.asYears=Gi,oo.valueOf=Xn,oo._bubble=Gn,oo.get=er,oo.milliseconds=Zi,oo.seconds=Qi,oo.minutes=Ji,oo.hours=Xi,oo.days=Ki,oo.weeks=nr,oo.months=eo,oo.years=to,oo.humanize=ar,oo.toISOString=sr,oo.toString=sr,oo.toJSON=sr,oo.locale=Tt,oo.localeData=Mt,oo.toIsoString=x("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",sr),oo.lang=gi,Y("X",0,0,"unix"),Y("x",0,0,"valueOf"),Q("x",Nr),Q("X",jr),ee("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),ee("x",function(e,t,n){n._d=new Date(y(e))}),n.version="2.13.0",r(Le),n.fn=Oi,n.min=Ue,n.max=Ve,n.now=ci,n.utc=l,n.unix=_n,n.months=Ln,n.isDate=o,n.locale=O,n.invalid=h,n.duration=ot,n.isMoment=v,n.weekdays=Un,n.parseZone=En,n.localeData=I,n.isDuration=He,n.monthsShort=Rn,n.weekdaysMin=zn,n.defineLocale=F,n.updateLocale=N,n.locales=P,n.weekdaysShort=Vn,n.normalizeUnits=L,n.relativeTimeThreshold=or,n.prototype=Oi;var ao=n;return ao})},{}],13:[function(e,t,n){!function(e,n){"use strict";var r,i,o,a=e,s=a.document,u=a.navigator,l=a.setTimeout,c=a.clearTimeout,f=a.setInterval,d=a.clearInterval,h=a.getComputedStyle,p=a.encodeURIComponent,m=a.ActiveXObject,g=a.Error,v=a.Number.parseInt||a.parseInt,$=a.Number.parseFloat||a.parseFloat,y=a.Number.isNaN||a.isNaN,b=a.Date.now,w=a.Object.keys,x=a.Object.defineProperty,k=a.Object.prototype.hasOwnProperty,C=a.Array.prototype.slice,S=function(){var e=function(e){return e};if("function"==typeof a.wrap&&"function"==typeof a.unwrap)try{var t=s.createElement("div"),n=a.unwrap(t);1===t.nodeType&&n&&1===n.nodeType&&(e=a.unwrap)}catch(r){}return e}(),_=function(e){return C.call(e,0)},E=function(){var e,t,r,i,o,a,s=_(arguments),u=s[0]||{};for(e=1,t=s.length;t>e;e++)if(null!=(r=s[e]))for(i in r)k.call(r,i)&&(o=u[i],a=r[i],u!==a&&a!==n&&(u[i]=a));return u},D=function(e){var t,n,r,i;if("object"!=typeof e||null==e||"number"==typeof e.nodeType)t=e;else if("number"==typeof e.length)for(t=[],n=0,r=e.length;r>n;n++)k.call(e,n)&&(t[n]=D(e[n]));else{t={};for(i in e)k.call(e,i)&&(t[i]=D(e[i]))}return t},T=function(e,t){for(var n={},r=0,i=t.length;i>r;r++)t[r]in e&&(n[t[r]]=e[t[r]]);return n},M=function(e,t){var n={};for(var r in e)-1===t.indexOf(r)&&(n[r]=e[r]);return n},A=function(e){if(e)for(var t in e)k.call(e,t)&&delete e[t];return e},O=function(e,t){if(e&&1===e.nodeType&&e.ownerDocument&&t&&(1===t.nodeType&&t.ownerDocument&&t.ownerDocument===e.ownerDocument||9===t.nodeType&&!t.ownerDocument&&t===e.ownerDocument))do{if(e===t)return!0;e=e.parentNode}while(e);return!1},F=function(e){var t;return"string"==typeof e&&e&&(t=e.split("#")[0].split("?")[0],t=e.slice(0,e.lastIndexOf("/")+1)),t},N=function(e){var t,n;return"string"==typeof e&&e&&(n=e.match(/^(?:|[^:@]*@|.+\)@(?=http[s]?|file)|.+?\s+(?: at |@)(?:[^:\(]+ )*[\(]?)((?:http[s]?|file):\/\/[\/]?.+?\/[^:\)]*?)(?::\d+)(?::\d+)?/),n&&n[1]?t=n[1]:(n=e.match(/\)@((?:http[s]?|file):\/\/[\/]?.+?\/[^:\)]*?)(?::\d+)(?::\d+)?/),n&&n[1]&&(t=n[1]))),t},I=function(){var e,t;try{throw new g}catch(n){t=n}return t&&(e=t.sourceURL||t.fileName||N(t.stack)),e},P=function(){var e,t,r;if(s.currentScript&&(e=s.currentScript.src))return e;if(t=s.getElementsByTagName("script"),1===t.length)return t[0].src||n;if("readyState"in t[0])for(r=t.length;r--;)if("interactive"===t[r].readyState&&(e=t[r].src))return e;return"loading"===s.readyState&&(e=t[t.length-1].src)?e:(e=I())?e:n},j=function(){var e,t,r,i=s.getElementsByTagName("script");for(e=i.length;e--;){if(!(r=i[e].src)){t=null;break}if(r=F(r),null==t)t=r;else if(t!==r){t=null;break}}return t||n},L=function(){var e=F(P())||j()||"";return e+"ZeroClipboard.swf"},R=function(){return null==e.opener&&(!!e.top&&e!=e.top||!!e.parent&&e!=e.parent)}(),U={bridge:null,version:"0.0.0",pluginType:"unknown",disabled:null,outdated:null,sandboxed:null,unavailable:null,degraded:null,deactivated:null,overdue:null,ready:null},V="11.0.0",z={},H={},q=null,Y=0,W=0,B={ready:"Flash communication is established",error:{"flash-disabled":"Flash is disabled or not installed. May also be attempting to run Flash in a sandboxed iframe, which is impossible.","flash-outdated":"Flash is too outdated to support ZeroClipboard","flash-sandboxed":"Attempting to run Flash in a sandboxed iframe, which is impossible","flash-unavailable":"Flash is unable to communicate bidirectionally with JavaScript","flash-degraded":"Flash is unable to preserve data fidelity when communicating with JavaScript","flash-deactivated":"Flash is too outdated for your browser and/or is configured as click-to-activate.\nThis may also mean that the ZeroClipboard SWF object could not be loaded, so please check your `swfPath` configuration and/or network connectivity.\nMay also be attempting to run Flash in a sandboxed iframe, which is impossible.","flash-overdue":"Flash communication was established but NOT within the acceptable time limit","version-mismatch":"ZeroClipboard JS version number does not match ZeroClipboard SWF version number","clipboard-error":"At least one error was thrown while ZeroClipboard was attempting to inject your data into the clipboard","config-mismatch":"ZeroClipboard configuration does not match Flash's reality","swf-not-found":"The ZeroClipboard SWF object could not be loaded, so please check your `swfPath` configuration and/or network connectivity"}},G=["flash-unavailable","flash-degraded","flash-overdue","version-mismatch","config-mismatch","clipboard-error"],Z=["flash-disabled","flash-outdated","flash-sandboxed","flash-unavailable","flash-degraded","flash-deactivated","flash-overdue"],Q=new RegExp("^flash-("+Z.map(function(e){return e.replace(/^flash-/,"")}).join("|")+")$"),J=new RegExp("^flash-("+Z.slice(1).map(function(e){return e.replace(/^flash-/,"")}).join("|")+")$"),X={swfPath:L(),trustedDomains:e.location.host?[e.location.host]:[],cacheBust:!0,forceEnhancedClipboard:!1,flashLoadTimeout:3e4,autoActivate:!0,bubbleEvents:!0,containerId:"global-zeroclipboard-html-bridge",containerClass:"global-zeroclipboard-container",swfObjectId:"global-zeroclipboard-flash-bridge",hoverClass:"zeroclipboard-is-hover",activeClass:"zeroclipboard-is-active",forceHandCursor:!1,title:null,zIndex:999999999},K=function(e){if("object"==typeof e&&null!==e)for(var t in e)if(k.call(e,t))if(/^(?:forceHandCursor|title|zIndex|bubbleEvents)$/.test(t))X[t]=e[t];else if(null==U.bridge)if("containerId"===t||"swfObjectId"===t){if(!pe(e[t]))throw new Error("The specified `"+t+"` value is not valid as an HTML4 Element ID");X[t]=e[t]}else X[t]=e[t];{if("string"!=typeof e||!e)return D(X);if(k.call(X,e))return X[e]}},ee=function(){return We(),{browser:T(u,["userAgent","platform","appName"]),flash:M(U,["bridge"]),zeroclipboard:{version:Ge.version,config:Ge.config()}}},te=function(){return!!(U.disabled||U.outdated||U.sandboxed||U.unavailable||U.degraded||U.deactivated)},ne=function(e,t){var i,o,a,s={};if("string"==typeof e&&e)a=e.toLowerCase().split(/\s+/);else if("object"==typeof e&&e&&"undefined"==typeof t)for(i in e)k.call(e,i)&&"string"==typeof i&&i&&"function"==typeof e[i]&&Ge.on(i,e[i]);if(a&&a.length){for(i=0,o=a.length;o>i;i++)e=a[i].replace(/^on/,""),s[e]=!0,z[e]||(z[e]=[]),z[e].push(t);if(s.ready&&U.ready&&Ge.emit({type:"ready"}),s.error){for(i=0,o=Z.length;o>i;i++)if(U[Z[i].replace(/^flash-/,"")]===!0){Ge.emit({type:"error",name:Z[i]});break}r!==n&&Ge.version!==r&&Ge.emit({type:"error",name:"version-mismatch",jsVersion:Ge.version,swfVersion:r})}}return Ge},re=function(e,t){var n,r,i,o,a;if(0===arguments.length)o=w(z);else if("string"==typeof e&&e)o=e.split(/\s+/);else if("object"==typeof e&&e&&"undefined"==typeof t)for(n in e)k.call(e,n)&&"string"==typeof n&&n&&"function"==typeof e[n]&&Ge.off(n,e[n]);if(o&&o.length)for(n=0,r=o.length;r>n;n++)if(e=o[n].toLowerCase().replace(/^on/,""),a=z[e],a&&a.length)if(t)for(i=a.indexOf(t);-1!==i;)a.splice(i,1),i=a.indexOf(t,i);else a.length=0;return Ge},ie=function(e){var t;return t="string"==typeof e&&e?D(z[e])||null:D(z)},oe=function(e){var t,n,r;return e=me(e),e&&!xe(e)?"ready"===e.type&&U.overdue===!0?Ge.emit({type:"error",name:"flash-overdue"}):(t=E({},e),be.call(this,t),"copy"===e.type&&(r=Me(H),n=r.data,q=r.formatMap),n):void 0},ae=function(){var e=U.sandboxed;if(We(),"boolean"!=typeof U.ready&&(U.ready=!1),U.sandboxed!==e&&U.sandboxed===!0)U.ready=!1,Ge.emit({type:"error",name:"flash-sandboxed"});else if(!Ge.isFlashUnusable()&&null===U.bridge){var t=X.flashLoadTimeout;"number"==typeof t&&t>=0&&(Y=l(function(){"boolean"!=typeof U.deactivated&&(U.deactivated=!0),U.deactivated===!0&&Ge.emit({type:"error",name:"flash-deactivated"})},t)),U.overdue=!1,De()}},se=function(){Ge.clearData(),Ge.blur(),Ge.emit("destroy"),Te(),Ge.off()},ue=function(e,t){var n;if("object"==typeof e&&e&&"undefined"==typeof t)n=e,Ge.clearData();else{if("string"!=typeof e||!e)return;n={},n[e]=t}for(var r in n)"string"==typeof r&&r&&k.call(n,r)&&"string"==typeof n[r]&&n[r]&&(H[r]=n[r])},le=function(e){"undefined"==typeof e?(A(H),q=null):"string"==typeof e&&k.call(H,e)&&delete H[e]},ce=function(e){return"undefined"==typeof e?D(H):"string"==typeof e&&k.call(H,e)?H[e]:void 0},fe=function(e){if(e&&1===e.nodeType){i&&(Le(i,X.activeClass),i!==e&&Le(i,X.hoverClass)),i=e,je(e,X.hoverClass);var t=e.getAttribute("title")||X.title;if("string"==typeof t&&t){var n=Ee(U.bridge);n&&n.setAttribute("title",t)}var r=X.forceHandCursor===!0||"pointer"===Re(e,"cursor");qe(r),He()}},de=function(){var e=Ee(U.bridge);e&&(e.removeAttribute("title"),e.style.left="0px",e.style.top="-9999px",e.style.width="1px",e.style.height="1px"),i&&(Le(i,X.hoverClass),Le(i,X.activeClass),i=null)},he=function(){return i||null},pe=function(e){return"string"==typeof e&&e&&/^[A-Za-z][A-Za-z0-9_:\-\.]*$/.test(e)},me=function(e){var t;if("string"==typeof e&&e?(t=e,e={}):"object"==typeof e&&e&&"string"==typeof e.type&&e.type&&(t=e.type),t){t=t.toLowerCase(),!e.target&&(/^(copy|aftercopy|_click)$/.test(t)||"error"===t&&"clipboard-error"===e.name)&&(e.target=o),E(e,{type:t,target:e.target||i||null,relatedTarget:e.relatedTarget||null,currentTarget:U&&U.bridge||null,timeStamp:e.timeStamp||b()||null});var n=B[e.type];return"error"===e.type&&e.name&&n&&(n=n[e.name]),n&&(e.message=n),"ready"===e.type&&E(e,{target:null,version:U.version}),"error"===e.type&&(Q.test(e.name)&&E(e,{target:null,minimumVersion:V}),J.test(e.name)&&E(e,{version:U.version})),"copy"===e.type&&(e.clipboardData={setData:Ge.setData,clearData:Ge.clearData}),"aftercopy"===e.type&&(e=Ae(e,q)),e.target&&!e.relatedTarget&&(e.relatedTarget=ge(e.target)),ve(e)}},ge=function(e){var t=e&&e.getAttribute&&e.getAttribute("data-clipboard-target");return t?s.getElementById(t):null},ve=function(e){if(e&&/^_(?:click|mouse(?:over|out|down|up|move))$/.test(e.type)){var t=e.target,r="_mouseover"===e.type&&e.relatedTarget?e.relatedTarget:n,i="_mouseout"===e.type&&e.relatedTarget?e.relatedTarget:n,o=Ue(t),u=a.screenLeft||a.screenX||0,l=a.screenTop||a.screenY||0,c=s.body.scrollLeft+s.documentElement.scrollLeft,f=s.body.scrollTop+s.documentElement.scrollTop,d=o.left+("number"==typeof e._stageX?e._stageX:0),h=o.top+("number"==typeof e._stageY?e._stageY:0),p=d-c,m=h-f,g=u+p,v=l+m,$="number"==typeof e.movementX?e.movementX:0,y="number"==typeof e.movementY?e.movementY:0;delete e._stageX,delete e._stageY,E(e,{srcElement:t,fromElement:r,toElement:i,screenX:g,screenY:v,pageX:d,pageY:h,clientX:p,clientY:m,x:p,y:m,movementX:$,movementY:y,offsetX:0,offsetY:0,layerX:0,layerY:0})}return e},$e=function(e){var t=e&&"string"==typeof e.type&&e.type||"";return!/^(?:(?:before)?copy|destroy)$/.test(t)},ye=function(e,t,n,r){r?l(function(){e.apply(t,n)},0):e.apply(t,n)},be=function(e){if("object"==typeof e&&e&&e.type){var t=$e(e),n=z["*"]||[],r=z[e.type]||[],i=n.concat(r);if(i&&i.length){var o,s,u,l,c,f=this;for(o=0,s=i.length;s>o;o++)u=i[o],l=f,"string"==typeof u&&"function"==typeof a[u]&&(u=a[u]),"object"==typeof u&&u&&"function"==typeof u.handleEvent&&(l=u,u=u.handleEvent),"function"==typeof u&&(c=E({},e),ye(u,l,[c],t))}return this}},we=function(e){var t=null;return(R===!1||e&&"error"===e.type&&e.name&&-1!==G.indexOf(e.name))&&(t=!1),t},xe=function(e){var t=e.target||i||null,n="swf"===e._source;switch(delete e._source,e.type){case"error":var a="flash-sandboxed"===e.name||we(e);"boolean"==typeof a&&(U.sandboxed=a),-1!==Z.indexOf(e.name)?E(U,{disabled:"flash-disabled"===e.name,outdated:"flash-outdated"===e.name,unavailable:"flash-unavailable"===e.name,degraded:"flash-degraded"===e.name,deactivated:"flash-deactivated"===e.name,overdue:"flash-overdue"===e.name,ready:!1}):"version-mismatch"===e.name&&(r=e.swfVersion,E(U,{disabled:!1,outdated:!1,unavailable:!1,degraded:!1,deactivated:!1,overdue:!1,ready:!1})),ze();break;case"ready":r=e.swfVersion;var s=U.deactivated===!0;E(U,{disabled:!1,outdated:!1,sandboxed:!1,unavailable:!1,degraded:!1,deactivated:!1,overdue:s,ready:!s}),ze();break;case"beforecopy":o=t;break;case"copy":var u,l,c=e.relatedTarget;!H["text/html"]&&!H["text/plain"]&&c&&(l=c.value||c.outerHTML||c.innerHTML)&&(u=c.value||c.textContent||c.innerText)?(e.clipboardData.clearData(),e.clipboardData.setData("text/plain",u),l!==u&&e.clipboardData.setData("text/html",l)):!H["text/plain"]&&e.target&&(u=e.target.getAttribute("data-clipboard-text"))&&(e.clipboardData.clearData(),e.clipboardData.setData("text/plain",u));break;case"aftercopy":ke(e),Ge.clearData(),t&&t!==Pe()&&t.focus&&t.focus();break;case"_mouseover":Ge.focus(t),X.bubbleEvents===!0&&n&&(t&&t!==e.relatedTarget&&!O(e.relatedTarget,t)&&Ce(E({},e,{type:"mouseenter",bubbles:!1,cancelable:!1})),Ce(E({},e,{type:"mouseover"})));break;case"_mouseout":Ge.blur(),X.bubbleEvents===!0&&n&&(t&&t!==e.relatedTarget&&!O(e.relatedTarget,t)&&Ce(E({},e,{type:"mouseleave",bubbles:!1,cancelable:!1})),Ce(E({},e,{type:"mouseout"})));break;case"_mousedown":je(t,X.activeClass),X.bubbleEvents===!0&&n&&Ce(E({},e,{type:e.type.slice(1)}));break;case"_mouseup":Le(t,X.activeClass),X.bubbleEvents===!0&&n&&Ce(E({},e,{type:e.type.slice(1)}));break;case"_click":o=null,X.bubbleEvents===!0&&n&&Ce(E({},e,{type:e.type.slice(1)}));break;case"_mousemove":X.bubbleEvents===!0&&n&&Ce(E({},e,{type:e.type.slice(1)}))}return/^_(?:click|mouse(?:over|out|down|up|move))$/.test(e.type)?!0:void 0},ke=function(e){if(e.errors&&e.errors.length>0){var t=D(e);E(t,{type:"error",name:"clipboard-error"}),delete t.success,l(function(){Ge.emit(t)},0)}},Ce=function(e){if(e&&"string"==typeof e.type&&e){var t,n=e.target||null,r=n&&n.ownerDocument||s,i={view:r.defaultView||a,canBubble:!0,cancelable:!0,detail:"click"===e.type?1:0,button:"number"==typeof e.which?e.which-1:"number"==typeof e.button?e.button:r.createEvent?0:1},o=E(i,e);n&&r.createEvent&&n.dispatchEvent&&(o=[o.type,o.canBubble,o.cancelable,o.view,o.detail,o.screenX,o.screenY,o.clientX,o.clientY,o.ctrlKey,o.altKey,o.shiftKey,o.metaKey,o.button,o.relatedTarget],t=r.createEvent("MouseEvents"),t.initMouseEvent&&(t.initMouseEvent.apply(t,o),t._source="js",n.dispatchEvent(t)))}},Se=function(){var e=X.flashLoadTimeout;if("number"==typeof e&&e>=0){var t=Math.min(1e3,e/10),n=X.swfObjectId+"_fallbackContent";W=f(function(){var e=s.getElementById(n);Ve(e)&&(ze(),U.deactivated=null,Ge.emit({type:"error",name:"swf-not-found"}))},t)}},_e=function(){var e=s.createElement("div");return e.id=X.containerId,e.className=X.containerClass,e.style.position="absolute",e.style.left="0px",e.style.top="-9999px",e.style.width="1px",e.style.height="1px",e.style.zIndex=""+Ye(X.zIndex),e},Ee=function(e){for(var t=e&&e.parentNode;t&&"OBJECT"===t.nodeName&&t.parentNode;)t=t.parentNode;return t||null},De=function(){var e,t=U.bridge,n=Ee(t);if(!t){var r=Ie(a.location.host,X),i="never"===r?"none":"all",o=Fe(E({jsVersion:Ge.version},X)),u=X.swfPath+Oe(X.swfPath,X);n=_e();var l=s.createElement("div");n.appendChild(l),s.body.appendChild(n); -var c=s.createElement("div"),f="activex"===U.pluginType;c.innerHTML='"+(f?'':"")+'
     
    ',t=c.firstChild,c=null,S(t).ZeroClipboard=Ge,n.replaceChild(t,l),Se()}return t||(t=s[X.swfObjectId],t&&(e=t.length)&&(t=t[e-1]),!t&&n&&(t=n.firstChild)),U.bridge=t||null,t},Te=function(){var e=U.bridge;if(e){var t=Ee(e);t&&("activex"===U.pluginType&&"readyState"in e?(e.style.display="none",function i(){if(4===e.readyState){for(var n in e)"function"==typeof e[n]&&(e[n]=null);e.parentNode&&e.parentNode.removeChild(e),t.parentNode&&t.parentNode.removeChild(t)}else l(i,10)}()):(e.parentNode&&e.parentNode.removeChild(e),t.parentNode&&t.parentNode.removeChild(t))),ze(),U.ready=null,U.bridge=null,U.deactivated=null,r=n}},Me=function(e){var t={},n={};if("object"==typeof e&&e){for(var r in e)if(r&&k.call(e,r)&&"string"==typeof e[r]&&e[r])switch(r.toLowerCase()){case"text/plain":case"text":case"air:text":case"flash:text":t.text=e[r],n.text=r;break;case"text/html":case"html":case"air:html":case"flash:html":t.html=e[r],n.html=r;break;case"application/rtf":case"text/rtf":case"rtf":case"richtext":case"air:rtf":case"flash:rtf":t.rtf=e[r],n.rtf=r}return{data:t,formatMap:n}}},Ae=function(e,t){if("object"!=typeof e||!e||"object"!=typeof t||!t)return e;var n={};for(var r in e)if(k.call(e,r))if("errors"===r){n[r]=e[r]?e[r].slice():[];for(var i=0,o=n[r].length;o>i;i++)n[r][i].format=t[n[r][i].format]}else if("success"!==r&&"data"!==r)n[r]=e[r];else{n[r]={};var a=e[r];for(var s in a)s&&k.call(a,s)&&k.call(t,s)&&(n[r][t[s]]=a[s])}return n},Oe=function(e,t){var n=null==t||t&&t.cacheBust===!0;return n?(-1===e.indexOf("?")?"?":"&")+"noCache="+b():""},Fe=function(e){var t,n,r,i,o="",s=[];if(e.trustedDomains&&("string"==typeof e.trustedDomains?i=[e.trustedDomains]:"object"==typeof e.trustedDomains&&"length"in e.trustedDomains&&(i=e.trustedDomains)),i&&i.length)for(t=0,n=i.length;n>t;t++)if(k.call(i,t)&&i[t]&&"string"==typeof i[t]){if(r=Ne(i[t]),!r)continue;if("*"===r){s.length=0,s.push(r);break}s.push.apply(s,[r,"//"+r,a.location.protocol+"//"+r])}return s.length&&(o+="trustedOrigins="+p(s.join(","))),e.forceEnhancedClipboard===!0&&(o+=(o?"&":"")+"forceEnhancedClipboard=true"),"string"==typeof e.swfObjectId&&e.swfObjectId&&(o+=(o?"&":"")+"swfObjectId="+p(e.swfObjectId)),"string"==typeof e.jsVersion&&e.jsVersion&&(o+=(o?"&":"")+"jsVersion="+p(e.jsVersion)),o},Ne=function(e){if(null==e||""===e)return null;if(e=e.replace(/^\s+|\s+$/g,""),""===e)return null;var t=e.indexOf("//");e=-1===t?e:e.slice(t+2);var n=e.indexOf("/");return e=-1===n?e:-1===t||0===n?null:e.slice(0,n),e&&".swf"===e.slice(-4).toLowerCase()?null:e||null},Ie=function(){var e=function(e){var t,n,r,i=[];if("string"==typeof e&&(e=[e]),"object"!=typeof e||!e||"number"!=typeof e.length)return i;for(t=0,n=e.length;n>t;t++)if(k.call(e,t)&&(r=Ne(e[t]))){if("*"===r){i.length=0,i.push("*");break}-1===i.indexOf(r)&&i.push(r)}return i};return function(t,n){var r=Ne(n.swfPath);null===r&&(r=t);var i=e(n.trustedDomains),o=i.length;if(o>0){if(1===o&&"*"===i[0])return"always";if(-1!==i.indexOf(t))return 1===o&&t===r?"sameDomain":"always"}return"never"}}(),Pe=function(){try{return s.activeElement}catch(e){return null}},je=function(e,t){var n,r,i,o=[];if("string"==typeof t&&t&&(o=t.split(/\s+/)),e&&1===e.nodeType&&o.length>0)if(e.classList)for(n=0,r=o.length;r>n;n++)e.classList.add(o[n]);else if(e.hasOwnProperty("className")){for(i=" "+e.className+" ",n=0,r=o.length;r>n;n++)-1===i.indexOf(" "+o[n]+" ")&&(i+=o[n]+" ");e.className=i.replace(/^\s+|\s+$/g,"")}return e},Le=function(e,t){var n,r,i,o=[];if("string"==typeof t&&t&&(o=t.split(/\s+/)),e&&1===e.nodeType&&o.length>0)if(e.classList&&e.classList.length>0)for(n=0,r=o.length;r>n;n++)e.classList.remove(o[n]);else if(e.className){for(i=(" "+e.className+" ").replace(/[\r\n\t]/g," "),n=0,r=o.length;r>n;n++)i=i.replace(" "+o[n]+" "," ");e.className=i.replace(/^\s+|\s+$/g,"")}return e},Re=function(e,t){var n=h(e,null).getPropertyValue(t);return"cursor"!==t||n&&"auto"!==n||"A"!==e.nodeName?n:"pointer"},Ue=function(e){var t={left:0,top:0,width:0,height:0};if(e.getBoundingClientRect){var n=e.getBoundingClientRect(),r=a.pageXOffset,i=a.pageYOffset,o=s.documentElement.clientLeft||0,u=s.documentElement.clientTop||0,l=0,c=0;if("relative"===Re(s.body,"position")){var f=s.body.getBoundingClientRect(),d=s.documentElement.getBoundingClientRect();l=f.left-d.left||0,c=f.top-d.top||0}t.left=n.left+r-o-l,t.top=n.top+i-u-c,t.width="width"in n?n.width:n.right-n.left,t.height="height"in n?n.height:n.bottom-n.top}return t},Ve=function(e){if(!e)return!1;var t=h(e,null),n=$(t.height)>0,r=$(t.width)>0,i=$(t.top)>=0,o=$(t.left)>=0,a=n&&r&&i&&o,s=a?null:Ue(e),u="none"!==t.display&&"collapse"!==t.visibility&&(a||!!s&&(n||s.height>0)&&(r||s.width>0)&&(i||s.top>=0)&&(o||s.left>=0));return u},ze=function(){c(Y),Y=0,d(W),W=0},He=function(){var e;if(i&&(e=Ee(U.bridge))){var t=Ue(i);E(e.style,{width:t.width+"px",height:t.height+"px",top:t.top+"px",left:t.left+"px",zIndex:""+Ye(X.zIndex)})}},qe=function(e){U.ready===!0&&(U.bridge&&"function"==typeof U.bridge.setHandCursor?U.bridge.setHandCursor(e):U.ready=!1)},Ye=function(e){if(/^(?:auto|inherit)$/.test(e))return e;var t;return"number"!=typeof e||y(e)?"string"==typeof e&&(t=Ye(v(e,10))):t=e,"number"==typeof t?t:"auto"},We=function(t){var n,r,i,o=U.sandboxed,a=null;if(t=t===!0,R===!1)a=!1;else{try{r=e.frameElement||null}catch(s){i={name:s.name,message:s.message}}if(r&&1===r.nodeType&&"IFRAME"===r.nodeName)try{a=r.hasAttribute("sandbox")}catch(s){a=null}else{try{n=document.domain||null}catch(s){n=null}(null===n||i&&"SecurityError"===i.name&&/(^|[\s\(\[@])sandbox(es|ed|ing|[\s\.,!\)\]@]|$)/.test(i.message.toLowerCase()))&&(a=!0)}}return U.sandboxed=a,o===a||t||Be(m),a},Be=function(e){function t(e){var t=e.match(/[\d]+/g);return t.length=3,t.join(".")}function n(e){return!!e&&(e=e.toLowerCase())&&(/^(pepflashplayer\.dll|libpepflashplayer\.so|pepperflashplayer\.plugin)$/.test(e)||"chrome.plugin"===e.slice(-13))}function r(e){e&&(s=!0,e.version&&(f=t(e.version)),!f&&e.description&&(f=t(e.description)),e.filename&&(c=n(e.filename)))}var i,o,a,s=!1,l=!1,c=!1,f="";if(u.plugins&&u.plugins.length)i=u.plugins["Shockwave Flash"],r(i),u.plugins["Shockwave Flash 2.0"]&&(s=!0,f="2.0.0.11");else if(u.mimeTypes&&u.mimeTypes.length)a=u.mimeTypes["application/x-shockwave-flash"],i=a&&a.enabledPlugin,r(i);else if("undefined"!=typeof e){l=!0;try{o=new e("ShockwaveFlash.ShockwaveFlash.7"),s=!0,f=t(o.GetVariable("$version"))}catch(d){try{o=new e("ShockwaveFlash.ShockwaveFlash.6"),s=!0,f="6.0.21"}catch(h){try{o=new e("ShockwaveFlash.ShockwaveFlash"),s=!0,f=t(o.GetVariable("$version"))}catch(p){l=!1}}}}U.disabled=s!==!0,U.outdated=f&&$(f)<$(V),U.version=f||"0.0.0",U.pluginType=c?"pepper":l?"activex":s?"netscape":"unknown"};Be(m),We(!0);var Ge=function(){return this instanceof Ge?void("function"==typeof Ge._createClient&&Ge._createClient.apply(this,_(arguments))):new Ge};x(Ge,"version",{value:"2.2.0",writable:!1,configurable:!0,enumerable:!0}),Ge.config=function(){return K.apply(this,_(arguments))},Ge.state=function(){return ee.apply(this,_(arguments))},Ge.isFlashUnusable=function(){return te.apply(this,_(arguments))},Ge.on=function(){return ne.apply(this,_(arguments))},Ge.off=function(){return re.apply(this,_(arguments))},Ge.handlers=function(){return ie.apply(this,_(arguments))},Ge.emit=function(){return oe.apply(this,_(arguments))},Ge.create=function(){return ae.apply(this,_(arguments))},Ge.destroy=function(){return se.apply(this,_(arguments))},Ge.setData=function(){return ue.apply(this,_(arguments))},Ge.clearData=function(){return le.apply(this,_(arguments))},Ge.getData=function(){return ce.apply(this,_(arguments))},Ge.focus=Ge.activate=function(){return fe.apply(this,_(arguments))},Ge.blur=Ge.deactivate=function(){return de.apply(this,_(arguments))},Ge.activeElement=function(){return he.apply(this,_(arguments))};var Ze=0,Qe={},Je=0,Xe={},Ke={};E(X,{autoActivate:!0});var et=function(e){var t=this;t.id=""+Ze++,Qe[t.id]={instance:t,elements:[],handlers:{}},e&&t.clip(e),Ge.on("*",function(e){return t.emit(e)}),Ge.on("destroy",function(){t.destroy()}),Ge.create()},tt=function(e,t){var i,o,a,s={},u=Qe[this.id],l=u&&u.handlers;if(!u)throw new Error("Attempted to add new listener(s) to a destroyed ZeroClipboard client instance");if("string"==typeof e&&e)a=e.toLowerCase().split(/\s+/);else if("object"==typeof e&&e&&"undefined"==typeof t)for(i in e)k.call(e,i)&&"string"==typeof i&&i&&"function"==typeof e[i]&&this.on(i,e[i]);if(a&&a.length){for(i=0,o=a.length;o>i;i++)e=a[i].replace(/^on/,""),s[e]=!0,l[e]||(l[e]=[]),l[e].push(t);if(s.ready&&U.ready&&this.emit({type:"ready",client:this}),s.error){for(i=0,o=Z.length;o>i;i++)if(U[Z[i].replace(/^flash-/,"")]){this.emit({type:"error",name:Z[i],client:this});break}r!==n&&Ge.version!==r&&this.emit({type:"error",name:"version-mismatch",jsVersion:Ge.version,swfVersion:r})}}return this},nt=function(e,t){var n,r,i,o,a,s=Qe[this.id],u=s&&s.handlers;if(!u)return this;if(0===arguments.length)o=w(u);else if("string"==typeof e&&e)o=e.split(/\s+/);else if("object"==typeof e&&e&&"undefined"==typeof t)for(n in e)k.call(e,n)&&"string"==typeof n&&n&&"function"==typeof e[n]&&this.off(n,e[n]);if(o&&o.length)for(n=0,r=o.length;r>n;n++)if(e=o[n].toLowerCase().replace(/^on/,""),a=u[e],a&&a.length)if(t)for(i=a.indexOf(t);-1!==i;)a.splice(i,1),i=a.indexOf(t,i);else a.length=0;return this},rt=function(e){var t=null,n=Qe[this.id]&&Qe[this.id].handlers;return n&&(t="string"==typeof e&&e?n[e]?n[e].slice(0):[]:D(n)),t},it=function(e){if(lt.call(this,e)){"object"==typeof e&&e&&"string"==typeof e.type&&e.type&&(e=E({},e));var t=E({},me(e),{client:this});ct.call(this,t)}return this},ot=function(e){if(!Qe[this.id])throw new Error("Attempted to clip element(s) to a destroyed ZeroClipboard client instance");e=ft(e);for(var t=0;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))},ct=function(e){var t=Qe[this.id];if("object"==typeof e&&e&&e.type&&t){var n=$e(e),r=t&&t.handlers["*"]||[],i=t&&t.handlers[e.type]||[],o=r.concat(i);if(o&&o.length){var s,u,l,c,f,d=this;for(s=0,u=o.length;u>s;s++)l=o[s],c=d,"string"==typeof l&&"function"==typeof a[l]&&(l=a[l]),"object"==typeof l&&l&&"function"==typeof l.handleEvent&&(c=l,l=l.handleEvent),"function"==typeof l&&(f=E({},e),ye(l,c,[f],n))}}},ft=function(e){return"string"==typeof e&&(e=[]),"number"!=typeof e.length?[e]:e},dt=function(e){if(e&&1===e.nodeType){var t=function(e){(e||(e=a.event))&&("js"!==e._source&&(e.stopImmediatePropagation(),e.preventDefault()),delete e._source)},n=function(n){(n||(n=a.event))&&(t(n),Ge.focus(e))};e.addEventListener("mouseover",n,!1),e.addEventListener("mouseout",t,!1),e.addEventListener("mouseenter",t,!1),e.addEventListener("mouseleave",t,!1),e.addEventListener("mousemove",t,!1),Ke[e.zcClippingId]={mouseover:n,mouseout:t,mouseenter:t,mouseleave:t,mousemove:t}}},ht=function(e){if(e&&1===e.nodeType){var t=Ke[e.zcClippingId];if("object"==typeof t&&t){for(var n,r,i=["move","leave","enter","out","over"],o=0,a=i.length;a>o;o++)n="mouse"+i[o],r=t[n],"function"==typeof r&&e.removeEventListener(n,r,!1);delete Ke[e.zcClippingId]}}};Ge._createClient=function(){et.apply(this,_(arguments))},Ge.prototype.on=function(){return tt.apply(this,_(arguments))},Ge.prototype.off=function(){return nt.apply(this,_(arguments))},Ge.prototype.handlers=function(){return rt.apply(this,_(arguments))},Ge.prototype.emit=function(){return it.apply(this,_(arguments))},Ge.prototype.clip=function(){return ot.apply(this,_(arguments))},Ge.prototype.unclip=function(){return at.apply(this,_(arguments))},Ge.prototype.elements=function(){return st.apply(this,_(arguments))},Ge.prototype.destroy=function(){return ut.apply(this,_(arguments))},Ge.prototype.setText=function(e){if(!Qe[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ge.setData("text/plain",e),this},Ge.prototype.setHtml=function(e){if(!Qe[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ge.setData("text/html",e),this},Ge.prototype.setRichText=function(e){if(!Qe[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ge.setData("application/rtf",e),this},Ge.prototype.setData=function(){if(!Qe[this.id])throw new Error("Attempted to set pending clipboard data from a destroyed ZeroClipboard client instance");return Ge.setData.apply(this,_(arguments)),this},Ge.prototype.clearData=function(){if(!Qe[this.id])throw new Error("Attempted to clear pending clipboard data from a destroyed ZeroClipboard client instance");return Ge.clearData.apply(this,_(arguments)),this},Ge.prototype.getData=function(){if(!Qe[this.id])throw new Error("Attempted to get pending clipboard data from a destroyed ZeroClipboard client instance");return Ge.getData.apply(this,_(arguments))},"function"==typeof define&&define.amd?define(function(){return Ge}):"object"==typeof t&&t&&"object"==typeof t.exports&&t.exports?t.exports=Ge:e.ZeroClipboard=Ge}(function(){return this||window}())},{}],14:[function(e,t,n){t.exports='
    \n
    Drop files or click here to upload
    \n
    '},{}],15:[function(e,t,n){t.exports='\n
    \n
    \n Image Preview\n Image Preview\n
    \n \n
    \n\n \n |\n \n\n \n
    '},{}],16:[function(e,t,n){t.exports='
    \n \n
    \n
    '},{}],17:[function(e,t,n){"use strict";var r=e("moment");t.exports=function(t,n){t.controller("ImageManagerController",["$scope","$attrs","$http","$timeout","imageManagerService",function(e,t,r,i,o){function a(){e.searching=!1,e.searchTerm="",e.images=m,e.hasMore=g}function s(t){p&&p(t),e.showing=!1}function u(t){p=t,e.showing=!0,h||(l(),h=!0)}function l(){var t=v+c+"?",n={};e.uploadedTo&&(n.page_id=e.uploadedTo),e.searching&&(n.term=e.searchTerm);var i=Object.keys(n).map(function(e){return e+"="+encodeURIComponent(n[e])}).join("&");t+=i,r.get(t).then(function(t){e.images=e.images.concat(t.data.images),e.hasMore=t.data.hasMore,c++})}e.images=[],e.imageType=t.imageType,e.selectedImage=!1,e.dependantPages=!1,e.showing=!1,e.hasMore=!1,e.imageUpdateSuccess=!1,e.imageDeleteSuccess=!1,e.uploadedTo=t.uploadedTo,e.view="all",e.searching=!1,e.searchTerm="";var c=0,f=0,d=0,h=!1,p=!1,m=[],g=!1;e.getUploadUrl=function(){return"/images/"+e.imageType+"/upload"},e.cancelSearch=a,e.uploadSuccess=function(t,r){e.$apply(function(){e.images.unshift(r)}),n.emit("success","Image uploaded")},e.imageSelect=function(t){var n=300,r=Date.now(),i=r-f;n>i&&t.id===d?s(t):(e.selectedImage=t,e.dependantPages=!1),f=r,d=t.id},e.selectButtonClick=function(){s(e.selectedImage)},o.show=u,o.showExternal=function(t){e.$apply(function(){u(t)})},window.ImageManager=o,e.hide=function(){e.showing=!1};var v="/images/"+e.imageType+"/all/";e.fetchData=l,e.searchImages=function(){return""===e.searchTerm?void a():(e.searching||(m=e.images,g=e.hasMore),e.searching=!0,e.images=[],e.hasMore=!1,c=0,v="/images/"+e.imageType+"/search/",void l())},e.setView=function(t){a(),e.images=[],e.hasMore=!1,c=0,e.view=t,v="/images/"+e.imageType+"/"+t+"/",l()},e.saveImageDetails=function(t){t.preventDefault();var i="/images/update/"+e.selectedImage.id;r.put(i,this.selectedImage).then(function(e){n.emit("success","Image details updated")},function(e){if(422===e.status){var t=e.data,r="";Object.keys(t).forEach(function(e){r+=t[e].join("\n")}),n.emit("error",r)}else 403===e.status&&n.emit("error",e.data.error)})},e.deleteImage=function(t){t.preventDefault();var i=e.dependantPages!==!1,o="/images/"+e.selectedImage.id;i&&(o+="?force=true"),r["delete"](o).then(function(t){e.images.splice(e.images.indexOf(e.selectedImage),1),e.selectedImage=!1,n.emit("success","Image successfully deleted")},function(t){400===t.status?e.dependantPages=t.data:403===t.status&&n.emit("error",t.data.error)})},e.getDate=function(e){return new Date(e)}}]),t.controller("BookShowController",["$scope","$http","$attrs","$sce",function(e,t,n,r){e.searching=!1,e.searchTerm="",e.searchResults="",e.searchBook=function(i){i.preventDefault();var o=e.searchTerm;if(0!=o.length){e.searching=!0,e.searchResults="";var a="/search/book/"+n.bookId;a+="?term="+encodeURIComponent(o),t.get(a).then(function(t){e.searchResults=r.trustAsHtml(t.data)})}},e.checkSearchForm=function(){e.searchTerm.length<1&&(e.searching=!1)},e.clearSearch=function(){e.searching=!1,e.searchTerm=""}}]),t.controller("PageEditController",["$scope","$http","$attrs","$interval","$timeout","$sce",function(t,i,o,a,s,u){function l(){g.title=$("#name").val(),g.html=t.editContent,m=a(function(){var e=$("#name").val(),n=t.editContent;e===g.title&&n===g.html||(g.html=n,g.title=e,c())},1e3*h)}function c(){var e={name:$("#name").val(),html:p?u.getTrustedHtml(t.displayContent):t.editContent};p&&(e.markdown=t.editContent),i.put("/ajax/page/"+f+"/save-draft",e).then(function(e){var n=r.utc(r.unix(e.data.timestamp)).toDate();t.draftText=e.data.message+r(n).format("HH:mm"),t.isNewPageDraft||(t.isUpdateDraft=!0)})}t.editorOptions=e("./pages/page-form"),t.editContent="",t.draftText="";var f=Number(o.pageId),d=0!==f,h=30,p="markdown"===o.editorType;t.isUpdateDraft=1===Number(o.pageUpdateDraft),t.isNewPageDraft=1===Number(o.pageNewDraft),t.isUpdateDraft||t.isNewPageDraft?t.draftText="Editing Draft":t.draftText="Editing Page";var m=!1,g={title:!1,html:!1};d&&setTimeout(function(){l()},1e3),p&&(t.displayContent="",t.editorChange=function(e){t.displayContent=u.trustAsHtml(e)}),p||(t.editorChange=function(){}),t.forceDraftSave=function(){c()},t.$on("editor-keydown",function(e,t){83==t.keyCode&&(navigator.platform.match("Mac")?t.metaKey:t.ctrlKey)&&(t.preventDefault(),c())}),t.discardDraft=function(){i.get("/ajax/page/"+f).then(function(e){m&&a.cancel(m),t.draftText="Editing Page",t.isUpdateDraft=!1,t.$broadcast("html-update",e.data.html),t.$broadcast("markdown-update",e.data.markdown||e.data.html),$("#name").val(e.data.name),s(function(){l()},1e3),n.emit("success","Draft discarded, The editor has been updated with the current page content")})}}]),t.controller("PageTagController",["$scope","$http","$attrs",function(e,t,r){function i(){e.tags.push({name:"",value:""})}function o(){t.get("/ajax/tags/get/page/"+s).then(function(t){e.tags=t.data,i()})}function a(){for(var t=0;t tr",containment:"parent",axis:"y"},e.addEmptyTag=i,o(),e.tagChange=function(t){var n=e.tags.indexOf(t);n===e.tags.length-1&&(""===t.name&&""===t.value||i())},e.tagBlur=function(t){var n=e.tags.length-1===e.tags.indexOf(t);if(""===t.name&&""===t.value&&!n){var r=e.tags.indexOf(t);e.tags.splice(r,1)}},e.saveTags=function(){a();var r={tags:e.tags};t.post("/ajax/tags/update/page/"+s,r).then(function(t){e.tags=t.data.tags,i(),n.emit("success",t.data.message)})},e.removeTag=function(t){var n=e.tags.indexOf(t);e.tags.splice(n,1)}}])}},{"./pages/page-form":20,moment:12}],18:[function(e,t,n){"use strict";var r=e("dropzone"),i=e("marked"),o=e("./components/toggle-switch.html"),a=e("./components/image-picker.html"),s=e("./components/drop-zone.html");t.exports=function(e,t){e.directive("toggleSwitch",function(){return{restrict:"A",template:o,scope:!0,link:function(e,t,n){e.name=n.name,e.value=n.value,e.isActive=1==e.value&&"false"!=e.value,e.value=1==e.value&&"false"!=e.value?"true":"false",e["switch"]=function(){e.isActive=!e.isActive,e.value=e.isActive?"true":"false"}}}}),e.directive("imagePicker",["$http","imageManagerService",function(e,t){return{restrict:"E",template:a,scope:{name:"@",resizeHeight:"@",resizeWidth:"@",resizeCrop:"@",showRemove:"=",currentImage:"@",currentId:"@",defaultImage:"@",imageClass:"@"},link:function(n,r,i){function o(e,t){n.image=t,n.value=a?e.id:t}var a="undefined"!=typeof n.currentId||"false"===n.currentId;n.image=n.currentImage,n.value=n.currentImage||"",a&&(n.value=n.currentId),n.reset=function(){o({id:0},n.defaultImage)},n.remove=function(){n.image="none",n.value="none"},n.showImageManager=function(){t.show(function(e){n.updateImageFromModel(e)})},n.updateImageFromModel=function(t){var r=n.resizeWidth&&n.resizeHeight;if(!r)return void n.$apply(function(){o(t,t.url)});var i=n.resizeCrop?"true":"false",a="/images/thumb/"+t.id+"/"+n.resizeWidth+"/"+n.resizeHeight+"/"+i;e.get(a).then(function(e){o(t,e.data.url)})}}}}]),e.directive("dropZone",[function(){return{restrict:"E",template:s,scope:{uploadUrl:"@",eventSuccess:"=",eventError:"=",uploadedTo:"@"},link:function(e,t,n){new r(t[0].querySelector(".dropzone-container"),{url:e.uploadUrl,init:function(){var t=this;t.on("sending",function(t,n,r){var i=window.document.querySelector("meta[name=token]").getAttribute("content");r.append("_token",i);var o="undefined"==typeof e.uploadedTo?0:e.uploadedTo;r.append("uploaded_to",o)}),"undefined"!=typeof e.eventSuccess&&t.on("success",e.eventSuccess),t.on("success",function(e,n){$(e.previewElement).fadeOut(400,function(){t.removeFile(e)})}),"undefined"!=typeof e.eventError&&t.on("error",e.eventError),t.on("error",function(e,t,n){function r(t){$(e.previewElement).find("[data-dz-errormessage]").text(t)}console.log(t),console.log(n),413===n.status&&r("The server does not allow uploads of this size. Please try a smaller file."),t.file&&r(t.file[0])})}})}}}]),e.directive("dropdown",[function(){return{restrict:"A",link:function(e,t,n){var r=t.find("ul");t.find("[dropdown-toggle]").on("click",function(){r.show().addClass("anim menuIn"),t.mouseleave(function(){r.hide(),r.removeClass("anim menuIn")})})}}}]),e.directive("tinymce",["$timeout",function(e){return{restrict:"A",scope:{tinymce:"=",mceModel:"=",mceChange:"="},link:function(t,n,r){function i(n){n.on("ExecCommand change NodeChange ObjectResized",function(r){var i=n.getContent();e(function(){t.mceModel=i}),t.mceChange(i)}),n.on("keydown",function(e){t.$emit("editor-keydown",e)}),n.on("init",function(e){t.mceModel=n.getContent()}),t.$on("html-update",function(e,r){n.setContent(r),n.selection.select(n.getBody(),!0),n.selection.collapse(!1),t.mceModel=n.getContent()})}t.tinymce.extraSetups.push(i),tinymce.PluginManager.add("customhr",function(e){e.addCommand("InsertHorizontalRule",function(){var t=document.createElement("hr"),n=e.selection.getNode(),r=n.parentNode;r.insertBefore(t,n)}),e.addButton("hr",{icon:"hr",tooltip:"Horizontal line",cmd:"InsertHorizontalRule"}),e.addMenuItem("hr",{icon:"hr",text:"Horizontal line",cmd:"InsertHorizontalRule",context:"insert"})}),tinymce.init(t.tinymce)}}}]),e.directive("markdownInput",["$timeout",function(e){return{restrict:"A",scope:{mdModel:"=",mdChange:"="},link:function(t,n,r){var o=n.val();t.mdModel=o,t.mdChange(i(o)),n.on("change input",function(r){o=n.val(),e(function(){t.mdModel=o,t.mdChange(i(o))})}),t.$on("markdown-update",function(e,r){n.val(r),t.mdModel=r,t.mdChange(i(r))})}}}]),e.directive("markdownEditor",["$timeout",function(e){return{restrict:"A",link:function(e,t,n){function r(){u=i[0].scrollHeight,l=i.height(),c=o[0].scrollHeight,f=o.height()}var i=t.find("textarea[markdown-input]"),o=t.find(".markdown-display").first(),a=t.find('button[data-action="insertImage"]'),s=0;i.blur(function(e){s=i[0].selectionStart});var u=void 0,l=void 0,c=void 0,f=void 0;setTimeout(function(){r()},200),window.addEventListener("resize",r);var d=800,h=0;i.on("scroll",function(e){var t=Date.now();t-h>d&&r();var n=i.scrollTop()/(u-l),a=(c-f)*n;o.scrollTop(a),h=t}),i.keydown(function(t){if(73===t.which&&t.ctrlKey&&t.shiftKey){t.preventDefault();var n=i[0].selectionStart,r=i.val(),o="![](http://)";return i.val(r.substring(0,n)+o+r.substring(n)),i.focus(),i[0].selectionStart=n+"![](".length,void(i[0].selectionEnd=n+"![](http://".length)}e.$emit("editor-keydown",t)}),a.click(function(e){window.ImageManager.showExternal(function(e){var t=s,n=i.val(),r="!["+e.name+"]("+e.url+")";i.val(n.substring(0,t)+r+n.substring(t)),i.change()})})}}}]),e.directive("toolbox",[function(){return{restrict:"A",link:function(e,t,n){function r(e,n){i.removeClass("active"),o.hide(),i.filter('[tab-button="'+e+'"]').addClass("active"),o.filter('[tab-content="'+e+'"]').show(),n&&t.addClass("open")}var i=t.find("[tab-button]"),o=t.find("[tab-content]"),a=t.find("[toolbox-toggle]");a.click(function(e){t.toggleClass("open")}),r(o.first().attr("tab-content"),!1),i.click(function(e){var t=$(this).attr("tab-button");r(t,!0)})}}}]),e.directive("tagAutosuggestions",["$http",function(e){return{restrict:"A",link:function(t,n,r){function i(e,t){t[h].className="",h=e,t[h].className="active"}function o(e,t){if(0===t.length)return c.hide(),f=!1,void(m=t);if(f||(c.show(),f=!0),e!==d&&(c.detach(),e.after(c),d=e),m.join()===t.join())return void(m=t);c[0].innerHTML="";for(var n=0;np&&(c.hide(),f=!1)},200)}),n.on("focus","[autosuggest]",function(e){p=Date.now()}),n.on("keydown","[autosuggest]",function(e){if(f){var t=l.childNodes,n=t.length;if(40===e.keyCode){var r=h===n-1?0:h+1;i(r,t)}else if(38===e.keyCode){var r=0===h?n-1:h-1;i(r,t)}else if((13===e.keyCode||9===e.keyCode)&&!e.shiftKey){var o=t[h].textContent;if(d[0].value=o,d.focus(),c.hide(),f=!1,13===e.keyCode)return e.preventDefault(),!1}}});var m=[]}}}]),e.directive("entitySelector",["$http","$sce",function(e,t){return{restrict:"A",scope:!0,link:function(n,r,i){function o(e){var t=e.attr("data-entity-type"),n=e.attr("data-entity-id"),i=!e.hasClass("selected");r.find(".selected").removeClass("selected").removeClass("primary-background"),i&&e.addClass("selected").addClass("primary-background");var o=i?t+":"+n:"";s.val(o)}function a(){var e=i.entityTypes?encodeURIComponent(i.entityTypes):encodeURIComponent("page,book,chapter");return"/ajax/search/entities?types="+e}n.loading=!0,n.entityResults=!1,n.search="";var s=r.find("[entity-selector-input]").first();r.on("click",".entity-list a",function(e){e.preventDefault(),e.stopPropagation();var t=$(this).closest("[data-entity-type]");o(t)}),r.on("click","[data-entity-type]",function(e){o($(this))}),e.get(a()).then(function(e){n.entityResults=t.trustAsHtml(e.data),n.loading=!1}),n.searchEntities=function(){n.loading=!0,s.val("");var r=a()+"&term="+encodeURIComponent(n.search);e.get(r).then(function(e){n.entityResults=t.trustAsHtml(e.data),n.loading=!1})}}}}])}},{"./components/drop-zone.html":14,"./components/image-picker.html":15,"./components/toggle-switch.html":16,dropzone:10,marked:11}],19:[function(e,t,n){"use strict";var r=e("angular");e("angular-resource"),e("angular-animate"),e("angular-sanitize");e("angular-ui-sortable");var i=r.module("bookStack",["ngResource","ngAnimate","ngSanitize","ui.sortable"]),o={listeners:{},emit:function(e,t){if("undefined"==typeof this.listeners[e])return this;for(var n=this.listeners[e],r=0;r=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)}}})}}},{}],21:[function(e,t,n){"use strict";var r=e("zeroclipboard");r.config({swfPath:"/ZeroClipboard.swf"}),window.setupPageShow=t.exports=function(e){function t(e){var t=$(".page-content #"+e).first();0!==t.length?(t.smoothScrollTo(),t.css("background-color","rgba(244, 249, 54, 0.25)")):$(".page-content").find(':contains("'+e+'")').smoothScrollTo()}function n(){d.width(h.width()+15),d.addClass("fixed"),g=!0}function i(){d.css("width","auto"),d.removeClass("fixed"),g=!1}function o(e){var t=f.scrollTop()>m;!t||g&&!e?t||!g&&!e||i():n()}function a(){o(!1)}var s=$("#pointer").detach(),u=s.children("div.pointer").first(),l=!1;if(s.on("click","input",function(e){$(this).select(),e.stopPropagation()}),new r(s.find("button").first()[0]),$(document.body).find("*").on("click focus",function(e){l||s.detach()}),$('.page-content [id^="bkmrk"]').on("mouseup keyup",function(t){t.stopPropagation();var n=window.getSelection();if(0!==n.toString().length){var r=$(this),i=window.location.protocol+"//"+window.location.host+"/link/"+e+"#"+r.attr("id");s.find("input").val(i),s.find("button").first().attr("data-clipboard-text",i),r.before(s),s.show();var o=t.pageX-r.offset().left-u.width()/2;0>o&&(o=0);var a=o/r.width()*100;u.css("left",a+"%"),l=!0,setTimeout(function(){l=!1},100)}}),window.location.hash){var c=window.location.hash.replace(/\%20/g," ").substr(1);t(c)}var f=$(window),d=$(".book-tree"),h=d.parent(),p=$(document).height()>f.height()&&d.height()<$(".page-content").height(),m=$("#header").height()+$(".toolbar").height(),g=f.scrollTop()>m;p&&f.width()>1e3&&(f.on("scroll",a),o(!0)),f.on("resize",function(e){p&&f.width()>1e3?(f.on("scroll",a),o(!0)):(f.off("scroll",a),i())})}},{zeroclipboard:13}],22:[function(e,t,n){"use strict";t.exports=function(e,t){e.factory("imageManagerService",function(){return{show:!1,showExternal:!1}})}},{}]},{},[19]); \ No newline at end of file +!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 a(e,t){var n=e.indexOf(t);t>=0&&e.splice(n,1)}function s(e){if(e instanceof ne)switch(e.length){case 0:return e;case 1:if(e[0].nodeType===j)return e;break;default:return ne(u(e))}if(e.nodeType===j)return ne(e)}function u(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 G(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 T(e,t){var n=F,r=e+"s";return t?n+=ie: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 O(e,t,n){G(n,function(n){e[n]=Q(e[n])?e[n]:t.style.getPropertyValue(n)})}var F,I,N,P,j=1,L="-add",R="-remove",U="ng-",V="-active",z="-prepare",H="ng-animate",q="$$ngAnimateChildren",Y="";void 0===e.ontransitionend&&void 0!==e.onwebkittransitionend?(Y="-webkit-",F="WebkitTransition",I="webkitTransitionEnd transitionend"):(F="transition",I="transitionend"),void 0===e.onanimationend&&void 0!==e.onwebkitanimationend?(Y="-webkit-",N="WebkitAnimation",P="webkitAnimationEnd animationend"):(N="animation",P="animationend");var W,B,G,Z,Q,J,X,K,ee,te,ne,re,ie="Duration",oe="Property",ae="Delay",se="TimingFunction",ue="IterationCount",le="PlayState",ce=9999,fe=N+ae,de=N+ie,he=F+ae,pe=F+ie,me=t.$$minErr("ng"),ge=["$$rAF",function(e){function t(e){r=r.concat(e),n()}function n(){if(r.length){for(var t=r.shift(),o=0;o0&&(l=n.get(s),!l)){var c=o(a,"-stagger");r.addClass(i,c),l=E(e,i,u),l.animationDuration=Math.max(l.animationDuration,0),l.transitionDuration=Math.max(l.transitionDuration,0),r.removeClass(i,c),n.put(s,l)}return l||{}}function D(e){H.push(e),g.waitUntilQuiet(function(){t.flush(),n.flush();for(var e=l(),r=0;r=ne&&r>=ie&&(X=!0,g())}function H(){function t(){if(!Q){if(b(!1),G(le,function(e){var t=e[0],n=e[1];B.style[t]=n}),j(e,q),r.addClass(e,Se),Re.recalculateTimingStyles){if(Ce=B.className+" "+xe,De=y(B,Ce),je=M(B,Ce,De),Le=je.maxDelay,te=Math.max(Le,0),ie=je.maxDuration,0===ie)return void g();Re.hasTransitions=je.transitionDuration>0,Re.hasAnimations=je.animationDuration>0}if(Re.applyAnimationDelay&&(Le="boolean"!=typeof q.delay&&A(q.delay)?parseFloat(q.delay):Le,te=Math.max(Le,0),je.animationDelay=Le,Ue=_(Le,!0),le.push(Ue),B.style[Ue[0]]=Ue[1]),ne=te*ye,ae=ie*ye,q.easing){var t,i=q.easing;Re.hasTransitions&&(t=F+se,le.push([t,i]),B.style[t]=i),Re.hasAnimations&&(t=N+se,le.push([t,i]),B.style[t]=i)}je.transitionDuration&&he.push(I),je.animationDuration&&he.push(P),ue=Date.now();var o=ne+we*ae,a=ue+o,s=e.data($e)||[],l=!0;if(s.length){var c=s[0];l=a>c.expectedEndTime,l?u.cancel(c.timer):s.push(g)}if(l){var f=u(n,o,!1);s[0]={timer:f,expectedEndTime:a},s.push(g),e.data($e,s)}he.length&&e.on(he.join(" "),z),q.to&&(q.cleanupStyles&&O(Y,B,Object.keys(q.to)),m(e,q))}}function n(){var t=e.data($e);if(t){for(var n=1;n0&&(je.transitionDuration&&0===Ae.transitionDuration||je.animationDuration&&0===Ae.animationDuration)&&Math.max(Ae.animationDelay,Ae.transitionDelay);o?u(t,Math.floor(o*Ne*ye),!1):t(),ee.resume=function(){i(!0)},ee.pause=function(){i(!1)}}}var q=n||{};q.$$prepared||(q=d(W(q)));var Y={},B=$(e);if(!B||!B.parentNode||!v.enabled())return E();var Q,J,X,K,ee,te,ne,ie,ae,ue,le=[],fe=e.attr("class"),de=i(q),he=[];if(0===q.duration||!c.animations&&!c.transitions)return E();var pe=q.event&&Z(q.event)?q.event.join(" "):q.event,me=pe&&q.structural,ge="",ve="";me?ge=o(pe,U,!0):pe&&(ge=pe),q.addClass&&(ve+=o(q.addClass,L)),q.removeClass&&(ve.length&&(ve+=" "),ve+=o(q.removeClass,R)),q.applyClassesEarly&&ve.length&&j(e,q);var xe=[ge,ve].join(" ").trim(),Ce=fe+" "+xe,Se=o(xe,V),_e=de.to&&Object.keys(de.to).length>0,Ee=(q.keyframeStyle||"").length>0;if(!Ee&&!_e&&!xe)return E();var De,Ae;if(q.stagger>0){var Te=parseFloat(q.stagger);Ae={transitionDelay:Te,animationDelay:Te,transitionDuration:0,animationDuration:0}}else De=y(B,Ce),Ae=C(B,xe,De,ke);q.$$skipPreparationClasses||r.addClass(e,xe);var Me;if(q.transitionStyle){var Oe=[F,q.transitionStyle];k(B,Oe),le.push(Oe)}if(q.duration>=0){Me=B.style[F].length>0;var Fe=T(q.duration,Me);k(B,Fe),le.push(Fe)}if(q.keyframeStyle){var Ie=[N,q.keyframeStyle];k(B,Ie),le.push(Ie)}var Ne=Ae?q.staggerIndex>=0?q.staggerIndex:t.count(De):0,Pe=0===Ne;Pe&&!q.skipBlocking&&w(B,ce);var je=M(B,Ce,De),Le=je.maxDelay;te=Math.max(Le,0),ie=je.maxDuration;var Re={};if(Re.hasTransitions=je.transitionDuration>0,Re.hasAnimations=je.animationDuration>0,Re.hasTransitionAll=Re.hasTransitions&&"all"==je.transitionProperty,Re.applyTransitionDuration=_e&&(Re.hasTransitions&&!Re.hasTransitionAll||Re.hasAnimations&&!Re.hasTransitions),Re.applyAnimationDuration=q.duration&&Re.hasAnimations,Re.applyTransitionDelay=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,je.transitionDuration=ie,Me=B.style[F+oe].length>0,le.push(T(ie,Me))),Re.applyAnimationDuration&&(Re.hasAnimations=!0,je.animationDuration=ie,le.push(S(ie)))),0===ie&&!Re.recalculateTimingStyles)return E();if(null!=q.delay){var Ue;"boolean"!=typeof q.delay&&(Ue=parseFloat(q.delay),te=Math.max(Ue,0)),Re.applyTransitionDelay&&le.push(_(Ue)),Re.applyAnimationDelay&&le.push(_(Ue,!0))}return null==q.duration&&je.transitionDuration>0&&(Re.recalculateTimingStyles=Re.recalculateTimingStyles||Pe),ne=te*ye,ae=ie*ye,q.skipBlocking||(Re.blockTransition=je.transitionDuration>0,Re.blockKeyframeAnimation=je.animationDuration>0&&Ae.animationDelay>0&&0===Ae.animationDuration),q.from&&(q.cleanupStyles&&O(Y,B,Object.keys(q.from)),p(e,q)),Re.blockTransition||Re.blockKeyframeAnimation?b(ie):q.skipBlocking||w(B,!1),{$$willAnimate:!0,end:l,start:function(){if(!Q)return ee={end:l,cancel:f,resume:null,pause:null},K=new s(ee),D(H),K}}}}]}],Se=["$$animationProvider",function(e){function t(e){return e.parentNode&&11===e.parentNode.nodeType}e.drivers.push("$$animateCssDriver");var n="ng-animate-shim",r="ng-anchor",i="ng-anchor-out",o="ng-anchor-in";this.$get=["$animateCss","$rootScope","$$AnimateRunner","$rootElement","$sniffer","$$jqLite","$document",function(e,a,s,u,l,c,d){function h(e){return e.replace(/\bng-\S+\b/g,"")}function p(e,t){return ee(e)&&(e=e.split(" ")),ee(t)&&(t=t.split(" ")),e.filter(function(e){return t.indexOf(e)===-1}).join(" ")}function m(t,a,u){function l(e){var t={},n=$(e).getBoundingClientRect();return G(["width","height","top","left"],function(e){var r=n[e];switch(e){case"top":r+=y.scrollTop;break;case"left":r+=y.scrollLeft}t[e]=Math.floor(r)+"px"}),t}function c(){var t=e(g,{addClass:i,delay:!0,from:l(a)});return t.$$willAnimate?t:null}function f(e){return e.attr("class")||""}function d(){var t=h(f(u)),n=p(t,v),r=p(v,t),a=e(g,{to:l(u),addClass:o+" "+n,removeClass:i+" "+r,delay:!0});return a.$$willAnimate?a:null}function m(){g.remove(),a.removeClass(n),u.removeClass(n)}var g=ne($(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,re),o=v(t,re),a=[];if(G(r,function(e){var t=e.out,r=e["in"],i=m(n,t,r);i&&a.push(i)}),i||o||0!==a.length)return{start:function(){function e(){G(t,function(e){e.end()})}var t=[];i&&t.push(i.start()),o&&t.push(o.start()),G(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}}}function v(t){var n=t.element,r=t.options||{};t.structural&&(r.event=t.event,r.structural=!0,r.applyClassesEarly=!0,"leave"===t.event&&(r.onDone=r.domOperation)),r.preparationClasses&&(r.event=C(r.event,r.preparationClasses));var i=e(n,r);return i.$$willAnimate?i:null}if(!l.animations&&!l.transitions)return re;var y=d[0].body,b=$(u),w=ne(t(b)||y.contains(b)?b:y);f(c);return function(e){return e.from&&e.to?g(e.from,e.to,e.classes,e.anchors):v(e)}}]}],_e=["$animateProvider",function(e){this.$get=["$injector","$$AnimateRunner","$$jqLite",function(t,n,r){function i(n){n=Z(n)?n:n.split(" ");for(var r=[],i={},o=0;o0,r=(e.removeClass||"").length>0;return t?n&&r:n||r}var l=1,c=2,p=" ",m=this.rules={skip:[],cancel:[],join:[]};m.join.push(function(e,t,n){return!t.structural&&a(t)}),m.skip.push(function(e,t,n){return!t.structural&&!a(t)}),m.skip.push(function(e,t,n){return"leave"==n.event&&t.structural}),m.skip.push(function(e,t,n){return n.structural&&n.state===c&&!t.structural}),m.cancel.push(function(e,t,n){return n.structural&&t.structural}),m.cancel.push(function(e,t,n){return n.state===c&&t.structural}),m.cancel.push(function(e,t,n){if(n.structural)return!1;var r=t.addClass,o=t.removeClass,a=n.addClass,s=n.removeClass;return!(te(r)&&te(o)||te(a)&&te(s))&&(i(r,s)||i(o,a))}),this.$get=["$$rAF","$rootScope","$rootElement","$document","$$HashMap","$$animation","$$AnimateRunner","$templateRequest","$$jqLite","$$forceReflow",function(r,i,p,m,v,w,x,k,C,S){function _(){var e=!1;return function(t){e?t():i.$$postDigest(function(){e=!0,t()})}}function E(e,t){return g(e,t,{})}function D(e,t,n){var r=$(t),i=$(e),o=[],a=z[n];return a&&G(a,function(e){re.call(e.node,r)?o.push(e.callback):"leave"===n&&re.call(e.node,i)&&o.push(e.callback)}),o}function A(e,t,n){var r=u(t);return e.filter(function(e){var t=e.node===r&&(!n||e.callback===n);return!t})}function T(e,t){"close"!==e||t[0].parentNode||ie.off(t)}function M(e,t,n){function u(t,n,i,o){S(function(){var t=D(v,e,n);t.length?r(function(){G(t,function(t){t(e,i,o)}),T(i,e)}):T(i,e)}),t.progress(n,i,o)}function f(t){b(e,k),X(e,k),h(e,k),k.domOperation(),C.complete(!t)}var p,v,k=W(n);e=s(e),e&&(p=$(e),v=e.parent()),k=d(k);var C=new x,S=_();if(Z(k.addClass)&&(k.addClass=k.addClass.join(" ")),k.addClass&&!ee(k.addClass)&&(k.addClass=null),Z(k.removeClass)&&(k.removeClass=k.removeClass.join(" ")),k.removeClass&&!ee(k.removeClass)&&(k.removeClass=null),k.from&&!K(k.from)&&(k.from=null),k.to&&!K(k.to)&&(k.to=null),!p)return f(),C;var A=[p.className,k.addClass,k.removeClass].join(" ");if(!Y(A))return f(),C;var M=["enter","move","leave"].indexOf(t)>=0,I=m[0].hidden,j=!U||I||R.get(p),V=!j&&L.get(p)||{},z=!!V.state;if(j||z&&V.state==l||(j=!N(e,v,t)),j)return I&&u(C,t,"start"),f(),I&&u(C,t,"close"),C;M&&O(e);var H={structural:M,element:e,event:t,addClass:k.addClass,removeClass:k.removeClass,close:f,options:k,runner:C};if(z){var q=o("skip",e,H,V);if(q)return V.state===c?(f(),C):(g(e,V,H),V.runner);var B=o("cancel",e,H,V);if(B)if(V.state===c)V.runner.end();else{if(!V.structural)return g(e,V,H),V.runner;V.close()}else{var Q=o("join",e,H,V);if(Q){if(V.state!==c)return y(e,M?t:null,k),t=H.event=V.event,k=g(e,V,H),V.runner;E(e,H)}}}else E(e,H);var J=H.structural;if(J||(J="animate"===H.event&&Object.keys(H.options.to||{}).length>0||a(H)),!J)return f(),F(e),C;var te=(V.counter||0)+1;return H.counter=te,P(e,l,H),i.$$postDigest(function(){var n=L.get(p),r=!n;n=n||{};var i=e.parent()||[],o=i.length>0&&("animate"===n.event||n.structural||a(n));if(r||n.counter!==te||!o)return r&&(X(e,k),h(e,k)),(r||M&&n.event!==t)&&(k.domOperation(),C.end()),void(o||F(e));t=!n.structural&&a(n,!0)?"setClass":n.event,P(e,c);var s=w(e,t,n.options);C.setHost(s),u(C,t,"start",{}),s.done(function(n){f(!n);var r=L.get(p);r&&r.counter===te&&F($(e)),u(C,t,"close",{})})}),C}function O(e){var t=$(e),n=t.querySelectorAll("["+De+"]");G(n,function(e){var t=parseInt(e.getAttribute(De)),n=L.get(e);if(n)switch(t){case c:n.runner.end();case l:L.remove(e)}})}function F(e){var t=$(e);t.removeAttribute(De),L.remove(t)}function I(e,t){return $(e)===$(t)}function N(e,t,n){var r,i=ne(m[0].body),o=I(e,i)||"HTML"===e[0].nodeName,a=I(e,p),s=!1,u=R.get($(e)),l=ne.data(e[0],Ae);for(l&&(t=l),t=$(t);t&&(a||(a=I(t,p)),t.nodeType===j);){var c=L.get(t)||{};if(!s){var f=R.get(t);if(f===!0&&u!==!1){u=!0;break}f===!1&&(u=!1),s=c.structural}if(te(r)||r===!0){var d=ne.data(t,q);Q(d)&&(r=d)}if(s&&r===!1)break;if(o||(o=I(t,i)),o&&a)break;t=a||!(l=ne.data(t,Ae))?t.parentNode:$(l)}var h=(!s||r)&&u!==!0;return h&&a&&o}function P(e,t,n){n=n||{},n.state=t;var r=$(e);r.setAttribute(De,t);var i=L.get(r),o=i?B(i,n):n;L.put(r,o)}var L=new v,R=new v,U=null,V=i.$watch(function(){return 0===k.totalPendingRequests},function(e){e&&(V(),i.$$postDigest(function(){i.$$postDigest(function(){null===U&&(U=!0)})}))}),z=Object.create(null),H=t.classNameFilter(),Y=H?function(e){return H.test(e)}:function(){return!0},X=f(C),re=e.Node.prototype.contains||function(e){return this===e||!!(16&this.compareDocumentPosition(e))},ie={on:function(e,t,n){var r=u(t);z[e]=z[e]||[],z[e].push({node:r,callback:n}),ne(t).on("$destroy",function(){var i=L.get(r);i||ie.off(e,t,n)})},off:function(e,t,n){if(1!==arguments.length||ee(arguments[0])){var r=z[e];r&&(z[e]=1===arguments.length?null:A(r,t,n))}else{t=arguments[0];for(var i in z)z[i]=A(z[i],t)}},pin:function(e,t){n(J(e),"element","not an element"),n(J(t),"parentElement","not an element"),e.data(Ae,t)},push:function(e,t,n,r){return n=n||{},n.domOperation=r,M(e,t,n)},enabled:function(e,t){var n=arguments.length;if(0===n)t=!!U;else{var r=J(e);if(r){var i=$(e);1===n?t=!R.get(i):R.put(i,!t)}else t=U=!!e}return t}};return ie}]}],Me=["$animateProvider",function(e){function t(e,t){e.data(s,t)}function n(e){e.removeData(s)}function i(e){return e.data(s)}var o="ng-animate-ref",a=this.drivers=[],s="$$animationRunner";this.$get=["$$jqLite","$rootScope","$injector","$$AnimateRunner","$$HashMap","$$rAFScheduler",function(e,s,u,l,c,p){function m(e){function t(e){if(e.processed)return e;e.processed=!0;var n=e.domNode,r=n.parentNode;o.put(n,e);for(var a;r;){if(a=o.get(r)){a.processed||(a=t(a));break}r=r.parentNode}return(a||i).children.push(e),e}function n(e){var t,n=[],r=[];for(t=0;t=0,l=e.structural?b(a):[];if(l.length){var c=u?"to":"from";G(l,function(e){var t=e.getAttribute(o);n[t]=n[t]||{},n[t][c]={animationID:r,element:ne(e)}})}else t.push(e)});var r={},i={};return G(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],r=u.get(n),i=r(e);if(i)return i}}function C(){c.addClass(H),M&&e.addClass(c,M),O&&(e.removeClass(c,O),O=null)}function S(e,t){function n(e){var n=i(e);n&&n.setHost(t)}e.from&&e.to?(n(e.from.element),n(e.to.element)):n(e.element)}function _(){var e=i(c);!e||"leave"===f&&y.$$domOperationFired||e.end()}function E(t){c.off("$destroy",_),n(c),v(c,y),h(c,y),y.domOperation(),M&&e.removeClass(c,M),c.removeClass(H),A.complete(!t)}y=d(y);var D=["enter","move","leave"].indexOf(f)>=0,A=new l({end:function(){E()},cancel:function(){E(!0)}});if(!a.length)return E(),A;t(c,A);var T=r(c.attr("class"),r(y.addClass,y.removeClass)),M=y.tempClasses;M&&(T+=" "+M,y.tempClasses=null);var O;return D&&(O="ng-"+f+z,e.addClass(c,O)),g.push({element:c,classes:T,event:f,structural:D,options:y,beforeStart:C,close:E}),c.on("$destroy",_),g.length>1?A:(s.$$postDigest(function(){var e=[];G(g,function(t){i(t.element)?e.push(t):t.close()}),g.length=0;var t=w(e),n=[];G(t,function(e){n.push({domNode:$(e.from?e.from.element:e.element),fn:function(){e.beforeStart();var t,n=e.close,r=e.anchors?e.from.element||e.to.element:e.element;if(i(r)){var o=k(e);o&&(t=o.start)}if(t){var a=t();a.done(function(e){n(!e)}),S(e,a)}else n()}})}),p(m(n))}),A)}}]}],Oe=["$animate","$rootScope",function(e,t){return{restrict:"A",transclude:"element",terminal:!0,priority:600,link:function(t,n,r,i,o){var a,s;t.$watchCollection(r.ngAnimateSwap||r["for"],function(r){a&&e.leave(a),s&&(s.$destroy(),s=null),(r||0===r)&&(s=t.$new(),o(s,function(t){a=t,e.enter(t,null,n)}))})}}}];t.module("ngAnimate",[],function(){re=t.noop,W=t.copy,B=t.extend,ne=t.element,G=t.forEach,Z=t.isArray,ee=t.isString,K=t.isObject,te=t.isUndefined,Q=t.isDefined,X=t.isFunction,J=t.isElement}).directive("ngAnimateSwap",Oe).directive("ngAnimateChildren",ve).factory("$$rAFScheduler",ge).provider("$$animateQueue",Te).provider("$$animation",Me).provider("$animateCss",Ce).provider("$$animateCssDriver",Se).provider("$$animateJs",_e).provider("$$animateJsDriver",Ee)}(window,window.angular)},{}],2:[function(e,t,n){e("./angular-animate"),t.exports="ngAnimate"},{"./angular-animate":1}],3:[function(e,t,n){!function(e,t){"use strict";function n(e){return null!=e&&""!==e&&"hasOwnProperty"!==e&&a.test("."+e)}function r(e,r){if(!n(r))throw o("badmember",'Dotted member path "@{0}" is invalid.',r);for(var i=r.split("."),a=0,s=i.length;a/g,">")}function m(e,t){var n=!1,r=i(e,e.push);return{start:function(e,i){e=u(e),!n&&D[e]&&(n=e),n||A[e]!==!0||(r("<"),r(e),a(i,function(n,i){var o=u(i),a="img"===e&&"src"===o||"background"===o;F[o]!==!0||T[o]===!0&&!t(n,a)||(r(" "),r(i),r('="'),r(p(n)),r('"'))}),r(">"))},end:function(e){e=u(e),n||A[e]!==!0||w[e]===!0||(r("")),e==n&&(n=!1)},chars:function(e){n||r(p(e))}}}function g(t){if(t.nodeType===e.Node.ELEMENT_NODE)for(var n=t.attributes,r=0,i=n.length;r"\u201d\u2019]/i,i=/^mailto:/i,o=t.$$minErr("linky"),a=t.isDefined,s=t.isFunction,u=t.isObject,l=t.isString;return function(t,c,f){function d(e){e&&y.push(r(e))}function h(e,t){var n,r=v(e);y.push("'),d(t),y.push("")}if(null==t||""===t)return t;if(!l(t))throw o("notstring","Expected string but received: {0}",t);for(var p,m,g,v=s(f)?f:u(f)?function(){return f}:function(){return{}},$=t,y=[];p=$.match(n);)m=p[0],p[2]||p[4]||(m=(p[3]?"http://":"mailto:")+m),g=p.index,d($.substr(0,g)),h(m,p[0].replace(i,"")),$=$.substring(g+p[0].length);return d($),e(y.join(""))}}])}(window,window.angular)},{}],6:[function(e,t,n){e("./angular-sanitize"),t.exports="ngSanitize"},{"./angular-sanitize":5}],7:[function(e,t,n){angular.module("ui.sortable",[]).value("uiSortableConfig",{items:"> [ng-repeat],> [data-ng-repeat],> [x-ng-repeat]"}).directive("uiSortable",["uiSortableConfig","$timeout","$log",function(e,t,n){return{require:"?ngModel",scope:{ngModel:"=",uiSortable:"="},link:function(r,i,o,a){function s(e,t){var n=e&&"function"==typeof e,r=t&&"function"==typeof t;return n&&r?function(){e.apply(this,arguments),t.apply(this,arguments)}:r?t:e}function u(e){var t=e.data("ui-sortable");return t&&"object"==typeof t&&"ui-sortable"===t.widgetFullName?t:null}function l(t,n){return S[t]?("stop"===t&&(n=s(n,function(){r.$apply()}),n=s(n,v)),n=s(S[t],n)):_[t]&&(n=_[t](n)),n||("items"===t?n=e.items:"ui-model-items"===t&&(n=e.items)),n}function c(e,t,n){function r(e,t){t in k||(k[t]=null)}angular.forEach(S,r);var i=null;if(t){var o;angular.forEach(t,function(t,n){if(!(e&&n in e)){if(n in C)return void("ui-floating"===n?k[n]="auto":k[n]=l(n,void 0));o||(o=angular.element.ui.sortable().options);var r=o[n];r=l(n,r),i||(i={}),i[n]=r,k[n]=r}})}return angular.forEach(e,function(e,t){return t in C?("ui-floating"!==t||e!==!1&&e!==!0||!n||(n.floating=e),void(k[t]=l(t,e))):(e=l(t,e),i||(i={}),i[t]=e,void(k[t]=e))}),i}function f(e){var t=e.sortable("option","placeholder");if(t&&t.element&&"function"==typeof t.element){var n=t.element();return n=angular.element(n)}return null}function d(e,t){var n=k["ui-model-items"].replace(/[^,]*>/g,""),r=e.find('[class="'+t.attr("class")+'"]:not('+n+")");return r}function h(e,t){var n=e.sortable("option","helper");return"clone"===n||"function"==typeof n&&t.item.sortable.isCustomHelperUsed()}function p(e,t,n){var r=null;return h(e,t)&&"parent"===e.sortable("option","appendTo")&&(r=n.last()),r}function m(e){return/left|right/.test(e.css("float"))||/inline|table-cell/.test(e.css("display"))}function g(e,t){for(var n=null,r=0;r=0&&(t-1 in e||e instanceof Array)||"function"==typeof e.item)}function r(e,t,i){var o,a;if(e)if(C(e))for(o in e)"prototype"==o||"length"==o||"name"==o||e.hasOwnProperty&&!e.hasOwnProperty(o)||t.call(i,e[o],o,e);else if(Zr(e)||n(e)){var s="object"!=typeof e;for(o=0,a=e.length;o=0&&e.splice(n,1),n}function R(e,t){function n(e,t){var n,r=t.$$hashKey;if(Zr(e))for(var o=0,a=e.length;o2?z(arguments,2):[];return!C(t)||t instanceof RegExp?t:n.length?function(){return arguments.length?t.apply(e,V(n,arguments,0)):t.apply(e,n)}:function(){return arguments.length?t.apply(e,arguments):t.call(e)}}function q(t,n){var r=n;return"string"==typeof t&&"$"===t.charAt(0)&&"$"===t.charAt(1)?r=void 0:_(n)?r="$WINDOW":n&&e.document===n?r="$DOCUMENT":E(n)&&(r="$SCOPE"),r}function Y(e,t){if(!v(e))return x(t)||(t=t?2:null),JSON.stringify(e,q,t)}function W(e){return w(e)?JSON.parse(e):e}function B(e,t){e=e.replace(ti,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function G(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function Z(e,t,n){n=n?-1:1;var r=e.getTimezoneOffset(),i=B(t,r);return G(e,n*(i-r))}function Q(e){e=Lr(e).clone();try{e.empty()}catch(t){}var n=Lr("
    ").append(e).html();try{return e[0].nodeType===si?Fr(n):n.match(/^(<[^>]+>)/)[1].replace(/^<([\w\-]+)/,function(e,t){return"<"+Fr(t)})}catch(t){return Fr(n)}}function J(e){try{return decodeURIComponent(e)}catch(t){}}function X(e){var t={};return r((e||"").split("&"),function(e){var n,r,i;e&&(r=e=e.replace(/\+/g,"%20"),n=e.indexOf("="),n!==-1&&(r=e.substring(0,n),i=e.substring(n+1)),r=J(r),$(r)&&(i=!$(i)||J(i),Or.call(t,r)?Zr(t[r])?t[r].push(i):t[r]=[t[r],i]:t[r]=i))}),t}function K(e){var t=[];return r(e,function(e,n){Zr(e)?r(e,function(e){t.push(te(n,!0)+(e===!0?"":"="+te(e,!0)))}):t.push(te(n,!0)+(e===!0?"":"="+te(e,!0)))}),t.length?t.join("&"):""}function ee(e){return te(e,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function te(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 ne(e,t){var n,r,i=ni.length;for(r=0;r/,">"))}n=n||[],n.unshift(["$provide",function(e){e.value("$rootElement",t)}]),i.debugInfoEnabled&&n.push(["$compileProvider",function(e){e.debugInfoEnabled(!0)}]),n.unshift("ng");var o=rt(n,i.strictDi);return o.invoke(["$rootScope","$rootElement","$compile","$injector",function(e,t,n,r){e.$apply(function(){t.data("$injector",r),n(t)(e)})}]),o},s=/^NG_ENABLE_DEBUG_INFO!/,u=/^NG_DEFER_BOOTSTRAP!/;return e&&s.test(e.name)&&(i.debugInfoEnabled=!0,e.name=e.name.replace(s,"")),e&&!u.test(e.name)?a():(e.name=e.name.replace(u,""),Br.resumeBootstrap=function(e){return r(e,function(e){n.push(e)}),a()},void(C(Br.resumeDeferredBootstrap)&&Br.resumeDeferredBootstrap()))}function oe(){e.name="NG_ENABLE_DEBUG_INFO!"+e.name,e.location.reload()}function ae(e){var t=Br.element(e).injector();if(!t)throw Wr("test","no injector found for element argument to getTestability");return t.get("$$testability")}function se(e,t){return t=t||"_",e.replace(ri,function(e,n){return(n?t:"")+e.toLowerCase()})}function ue(){var t;if(!ii){var n=ei();Rr=v(n)?e.jQuery:n?e[n]:void 0,Rr&&Rr.fn.on?(Lr=Rr,l(Rr.fn,{scope:_i.scope,isolateScope:_i.isolateScope,controller:_i.controller,injector:_i.injector,inheritedData:_i.inheritedData}),t=Rr.cleanData,Rr.cleanData=function(e){for(var n,r,i=0;null!=(r=e[i]);i++)n=Rr._data(r,"events"),n&&n.$destroy&&Rr(r).triggerHandler("$destroy");t(e)}):Lr=Ae,Br.element=Lr,ii=!0}}function le(e,t,n){if(!e)throw Wr("areq","Argument '{0}' is {1}",t||"?",n||"required");return e}function ce(e,t,n){return n&&Zr(e)&&(e=e[e.length-1]),le(C(e),t,"not a function, got "+(e&&"object"==typeof e?e.constructor.name||"Object":typeof e)),e}function fe(e,t){if("hasOwnProperty"===e)throw Wr("badname","hasOwnProperty is not a valid {0} name",t)}function de(e,t,n){if(!t)return e;for(var r,i=t.split("."),o=e,a=i.length,s=0;s=0)return"...";t.push(n)}return n})}function $e(e){return"function"==typeof e?e.toString().replace(/ \{[\s\S]*$/,""):v(e)?"undefined":"string"!=typeof e?ve(e):e}function ye(n){l(n,{bootstrap:ie,copy:R,extend:l,merge:c,equals:U,element:Lr,forEach:r,injector:rt,noop:h,bind:H,toJson:Y,fromJson:W,identity:p,isUndefined:v,isDefined:$,isString:w,isFunction:C,isObject:y,isNumber:x,isElement:N,isArray:Zr,version:fi,isDate:k,lowercase:Fr,uppercase:Ir,callbacks:{$$counter:0},getTestability:ae,$$minErr:t,$$csp:Kr,reloadWithDebugInfo:oe}),(Ur=me(e))("ng",["ngLocale"],["$provide",function(e){e.provider({$$sanitizeUri:Sn}),e.provider("$compile",pt).directive({a:No,input:ea,textarea:ea,form:Uo,script:Za,select:Xa,style:es,option:Ka,ngBind:ra,ngBindHtml:oa,ngBindTemplate:ia,ngClass:sa,ngClassEven:la,ngClassOdd:ua,ngCloak:ca,ngController:fa,ngForm:Vo,ngHide:za,ngIf:pa,ngInclude:ma,ngInit:va,ngNonBindable:Fa,ngPluralize:ja,ngRepeat:La,ngShow:Va,ngStyle:Ha,ngSwitch:qa,ngSwitchWhen:Ya,ngSwitchDefault:Wa,ngOptions:Pa,ngTransclude:Ga,ngModel:Ta,ngList:$a,ngChange:aa,pattern:ns,ngPattern:ns,required:ts,ngRequired:ts,minlength:is,ngMinlength:is,maxlength:rs,ngMaxlength:rs,ngValue:na,ngModelOptions:Oa}).directive({ngInclude:ga}).directive(Po).directive(da),e.provider({$anchorScroll:it,$animate:zi,$animateCss:Yi,$$animateJs:Ui,$$animateQueue:Vi,$$AnimateRunner:qi,$$animateAsyncRun:Hi,$browser:ct,$cacheFactory:ft,$controller:bt,$document:wt,$exceptionHandler:xt,$filter:Rn,$$forceReflow:Ji,$interpolate:Pt,$interval:jt,$http:Ot,$httpParamSerializer:Ct,$httpParamSerializerJQLike:St,$httpBackend:It,$xhrFactory:Ft,$jsonpCallbacks:ao,$location:Xt,$log:Kt,$parse:yn,$rootScope:Cn,$q:bn,$$q:wn,$sce:An,$sceDelegate:Dn,$sniffer:Tn,$templateCache:dt,$templateRequest:Mn,$$testability:On,$timeout:Fn,$window:Pn,$$rAF:kn,$$jqLite:Qe,$$HashMap:Ti,$$cookieReader:Ln})}])}function be(){return++hi}function we(e){return e.replace(gi,function(e,t,n,r){return r?n.toUpperCase():n}).replace(vi,"Moz$1")}function xe(e){return!wi.test(e)}function ke(e){var t=e.nodeType;return t===oi||!t||t===li}function Ce(e){for(var t in di[e.ng339])return!0;return!1}function Se(e){for(var t=0,n=e.length;t")+o[2],a=o[0];a--;)n=n.lastChild;u=V(u,n.childNodes),n=s.firstChild,n.textContent=""}return s.textContent="",s.innerHTML="",r(u,function(e){s.appendChild(e)}),s}function Ee(t,n){n=n||e.document;var r;return(r=bi.exec(t))?[n.createElement(r[1])]:(r=_e(t,n))?r.childNodes:[]}function De(e,t){var n=e.parentNode;n&&n.replaceChild(t,e),t.appendChild(e)}function Ae(e){if(e instanceof Ae)return e;var t;if(w(e)&&(e=Jr(e),t=!0),!(this instanceof Ae)){if(t&&"<"!=e.charAt(0))throw yi("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new Ae(e)}t?Re(this,Ee(e)):Re(this,e)}function Te(e){return e.cloneNode(!0)}function Me(e,t){if(t||Fe(e),e.querySelectorAll)for(var n=e.querySelectorAll("*"),r=0,i=n.length;r0||(mi(e,t,s),delete a[t])};r(t.split(" "),function(e){u(e),$i[e]&&u($i[e])})}else for(t in a)"$destroy"!==t&&mi(e,t,s),delete a[t]}function Fe(e,t){var n=e.ng339,r=n&&di[n];if(r){if(t)return void delete r.data[t];r.handle&&(r.events.$destroy&&r.handle({},"$destroy"),Oe(e)),delete di[n],e.ng339=void 0}}function Ie(e,t){var n=e.ng339,r=n&&di[n];return t&&!r&&(e.ng339=n=be(),r=di[n]={events:{},data:{},handle:void 0}),r}function Ne(e,t,n){if(ke(e)){var r=$(n),i=!r&&t&&!y(t),o=!t,a=Ie(e,!i),s=a&&a.data;if(r)s[t]=n;else{if(o)return s;if(i)return s&&s[t];l(s,t)}}}function Pe(e,t){return!!e.getAttribute&&(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+t+" ")>-1}function je(e,t){t&&e.setAttribute&&r(t.split(" "),function(t){e.setAttribute("class",Jr((" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").replace(" "+Jr(t)+" "," ")))})}function Le(e,t){if(t&&e.setAttribute){var n=(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ");r(t.split(" "),function(e){e=Jr(e),n.indexOf(" "+e+" ")===-1&&(n+=e+" ")}),e.setAttribute("class",Jr(n))}}function Re(e,t){if(t)if(t.nodeType)e[e.length++]=t;else{var n=t.length;if("number"==typeof n&&t.window!==t){if(n)for(var r=0;r1&&(i=ge(i));for(var u=0;uc&&this.remove(h.key),t}},get:function(e){if(c";var r=we.firstChild.attributes,i=r[0];r.removeNamedItem(i.name),i.value=n,e.attributes.setNamedItem(i)}function P(e,t){try{e.addClass(t)}catch(n){}}function R(t,n,r,i,o){t instanceof Lr||(t=Lr(t));for(var a=/\S+/,s=0,u=t.length;s").append(t).html())):n?_i.clone.call(t):t,a)for(var l in a)u.data("$"+l+"Controller",a[l].instance);return R.$$addScopeInfo(u,e),n&&n(u,e),c&&c(e,u,u,i),u}}function V(e){var t=e&&e[0];return t&&"foreignobject"!==j(t)&&qr.call(t).match(/SVG/)?"svg":"html"}function q(e,t,n,r,i,o){function a(e,n,r,i){var o,a,s,u,l,c,f,d,m;if(h){var g=n.length;for(m=new Array(g),l=0;l0)}else r.push(e);return Lr(r)}function Z(e,t,n){return function(r,i,o,a,s){return i=G(i[0],t,n),e(r,i,o,a,s)}}function J(e,t,n,r,i,o){var a;return e?R(t,n,r,i,o):function(){return a||(a=R(t,n,r,i,o),t=n=o=null),a.apply(this,arguments)}}function X(e,t,n,o,a,s,u,c,f){function d(e,t,n,r){e&&(n&&(e=Z(e,n,r)),e.require=p.require,e.directiveName=m,(S===p||p.$$isolateScope)&&(e=ge(e,{isolateScope:!0})),u.push(e)),t&&(n&&(t=Z(t,n,r)),t.require=p.require,t.directiveName=m,(S===p||p.$$isolateScope)&&(t=ge(t,{isolateScope:!0})),c.push(t))}function h(e,o,a,s,f){function d(e,t,n,r){var i;if(E(e)||(r=n,n=t,t=e,e=void 0),M&&(i=b),n||(n=M?D.parent():D),!r)return f(e,t,i,n,L);var o=f.$$slots[r];if(o)return o(e,t,i,n,L);if(v(o))throw Wi("noslot",'No parent directive that requires a transclusion with slot name "{0}". Element: {1}',r,Q(D))}var h,p,m,g,$,b,w,D,A,T;t===a?(A=n,D=n.$$element):(D=Lr(a),A=new I(D,n)),$=o,S?g=o.$new(!0):x&&($=o.$parent),f&&(w=d,w.$$boundTransclude=f,w.isSlotFilled=function(e){return!!f.$$slots[e]}),k&&(b=ee(D,A,w,k,g,o,S)),S&&(R.$$addScopeInfo(D,g,!0,!(_&&(_===S||_===S.$$originalDirective))),R.$$addScopeClass(D,!0),g.$$isolateBindings=S.$$isolateBindings,T=$e(o,A,g,g.$$isolateBindings,S),T.removeWatches&&g.$on("$destroy",T.removeWatches));for(var O in b){var F=k[O],N=b[O],P=F.$$bindings.bindToController;N.identifier&&P?N.bindingInfo=$e($,A,N.instance,P,F):N.bindingInfo={};var j=N();j!==N.instance&&(N.instance=j,D.data("$"+F.name+"Controller",j),N.bindingInfo.removeWatches&&N.bindingInfo.removeWatches(),N.bindingInfo=$e($,A,N.instance,P,F))}for(r(k,function(e,t){var n=e.require;e.bindToController&&!Zr(n)&&y(n)&&l(b[t].instance,K(t,n,D,b))}),r(b,function(e){var t=e.instance;if(C(t.$onChanges))try{t.$onChanges(e.bindingInfo.initialChanges)}catch(n){i(n)}if(C(t.$onInit))try{t.$onInit()}catch(n){i(n)}C(t.$doCheck)&&($.$watch(function(){t.$doCheck()}),t.$doCheck()),C(t.$onDestroy)&&$.$on("$destroy",function(){t.$onDestroy()})}),h=0,p=u.length;h=0;h--)m=c[h],ve(m,m.isolateScope?g:o,D,A,m.require&&K(m.directiveName,m.require,D,b),w);r(b,function(e){var t=e.instance;C(t.$postLink)&&t.$postLink()})}f=f||{};for(var p,m,g,$,b,w=-Number.MAX_VALUE,x=f.newScopeDirective,k=f.controllerDirectives,S=f.newIsolateScopeDirective,_=f.templateDirective,D=f.nonTlbTranscludeDirective,A=!1,T=!1,M=f.hasElementTranscludeDirective,O=n.$$element=Lr(t),F=s,N=o,P=!1,L=!1,U=0,V=e.length;Up.priority)break;if((b=p.scope)&&(p.templateUrl||(y(b)?(ue("new/isolated scope",S||x,p,O),S=p):ue("new/isolated scope",S,p,O)),x=x||p),m=p.name,!P&&(p.replace&&(p.templateUrl||p.template)||p.transclude&&!p.$$tlb)){for(var B,X=U+1;B=e[X++];)if(B.transclude&&!B.$$tlb||B.replace&&(B.templateUrl||B.template)){L=!0;break}P=!0}if(!p.templateUrl&&p.controller&&(b=p.controller,k=k||pe(),ue("'"+m+"' controller",k[m],p,O),k[m]=p),b=p.transclude)if(A=!0,p.$$tlb||(ue("transclusion",D,p,O),D=p),"element"==b)M=!0,w=p.priority,g=O,O=n.$$element=Lr(R.$$createComment(m,n[m])),t=O[0],me(a,z(g),t),g[0].$$parentNode=g[0].parentNode,N=J(L,g,o,w,F&&F.name,{nonTlbTranscludeDirective:D});else{var ne=pe();if(g=Lr(Te(t)).contents(),y(b)){g=[];var re=pe(),ae=pe();r(b,function(e,t){var n="?"===e.charAt(0);e=n?e.substring(1):e,re[e]=t,ne[t]=null,ae[t]=n}),r(O.contents(),function(e){var t=re[gt(j(e))];t?(ae[t]=!0,ne[t]=ne[t]||[],ne[t].push(e)):g.push(e)}),r(ae,function(e,t){if(!e)throw Wi("reqslot","Required transclusion slot `{0}` was not filled.",t)});for(var se in ne)ne[se]&&(ne[se]=J(L,ne[se],o))}O.empty(),N=J(L,g,o,void 0,void 0,{needsNewScope:p.$$isolateScope||p.$$newScope}),N.$$slots=ne}if(p.template)if(T=!0,ue("template",_,p,O),_=p,b=C(p.template)?p.template(O,n):p.template,b=_e(b),p.replace){if(F=p,g=xe(b)?[]:$t(fe(p.templateNamespace,Jr(b))),t=g[0],1!=g.length||t.nodeType!==oi)throw Wi("tplrt","Template for directive '{0}' must have exactly one root element. {1}",m,"");me(a,O,t);var le={$attr:{}},ce=W(t,[],le),de=e.splice(U+1,e.length-(U+1));(S||x)&&te(ce,S,x),e=e.concat(ce).concat(de),ie(n,le),V=e.length}else O.html(b);if(p.templateUrl)T=!0,ue("template",_,p,O),_=p,p.replace&&(F=p),h=oe(e.splice(U,e.length-U),O,n,a,A&&N,u,c,{controllerDirectives:k,newScopeDirective:x!==p&&x,newIsolateScopeDirective:S,templateDirective:_,nonTlbTranscludeDirective:D}),V=e.length;else if(p.compile)try{$=p.compile(O,n,N);var he=p.$$originalDirective||p;C($)?d(null,H(he,$),q,Y):$&&d(H(he,$.pre),H(he,$.post),q,Y)}catch(ye){i(ye,Q(O))}p.terminal&&(h.terminal=!0,w=Math.max(w,p.priority))}return h.scope=x&&x.scope===!0,h.transcludeOnThisElement=A,h.templateOnThisElement=T,h.transclude=N,f.hasElementTranscludeDirective=M,h}function K(e,t,n,i){var o;if(w(t)){var a=t.match(k),s=t.substring(a[0].length),u=a[1]||a[3],l="?"===a[2];if("^^"===u?n=n.parent():(o=i&&i[s],o=o&&o.instance),!o){var c="$"+s+"Controller";o=u?n.inheritedData(c):n.data(c)}if(!o&&!l)throw Wi("ctreq","Controller '{0}', required by directive '{1}', can't be found!",s,e)}else if(Zr(t)){o=[];for(var f=0,d=t.length;fp.priority)&&p.restrict.indexOf(r)!=-1){if(u&&(p=d(p,{$$start:u,$$end:l})),!p.$$bindings){var b=p.$$bindings=a(p,p.name);y(b.isolateScope)&&(p.$$isolateBindings=b.isolateScope)}e.push(p),h=p}}catch(w){i(w)}return h}function re(e){if(c.hasOwnProperty(e))for(var n,r=t.get(e+f),i=0,o=r.length;i"+n+"",r.childNodes[0].childNodes;default:return n}}function de(e,t){if("srcdoc"==t)return _.HTML;var n=j(e);return"xlinkHref"==t||"form"==n&&"action"==t||"img"!=n&&("src"==t||"ngSrc"==t)?_.RESOURCE_URL:void 0}function he(e,t,r,i,o){var a=de(e,i);o=x[i]||o;var s=n(r,!0,a,o);if(s){if("multiple"===i&&"select"===j(e))throw Wi("selmulti","Binding to the 'multiple' attribute is not supported. Element: {0}",Q(e));t.push({priority:100,compile:function(){return{pre:function(e,t,u){var l=u.$$observers||(u.$$observers=pe());if(S.test(i))throw Wi("nodomevents","Interpolations for HTML DOM event attributes are disallowed. Please use the ng- versions (such as ng-click instead of onclick) instead.");var c=u[i];c!==r&&(s=c&&n(c,!0,a,o),r=c),s&&(u[i]=s(e),(l[i]||(l[i]=[])).$$inter=!0,(u.$$observers&&u.$$observers[i].$$scope||e).$watch(s,function(e,t){"class"===i&&e!=t?u.$updateClass(e,t):u.$set(i,e)}))}}}})}}function me(t,n,r){var i,o,a=n[0],s=n.length,u=a.parentNode;if(t)for(i=0,o=t.length;i0&&T.addClass(this.$$element,e)},$removeClass:function(e){e&&e.length>0&&T.removeClass(this.$$element,e)},$updateClass:function(e,t){var n=vt(e,t);n&&n.length&&T.addClass(this.$$element,n);var r=vt(t,e);r&&r.length&&T.removeClass(this.$$element,r)},$set:function(e,t,n,o){var a,s=this.$$element[0],u=Ye(s,e),l=We(e),c=e;if(u?(this.$$element.prop(e,t),o=u):l&&(this[l]=t,c=l),this[e]=t,o?this.$attr[e]=o:(o=this.$attr[e],o||(this.$attr[e]=o=se(e,"-"))),a=j(this.$$element),"a"===a&&("href"===e||"xlinkHref"===e)||"img"===a&&"src"===e)this[e]=t=O(t,"src"===e);else if("img"===a&&"srcset"===e&&$(t)){for(var f="",d=Jr(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),y=0;y0?" ":"")+a}return n}function $t(e){e=Lr(e);var t=e.length;if(t<=1)return e;for(;t--;){var n=e[t];n.nodeType===ui&&zr.call(e,t,1)}return e}function yt(e,t){if(t&&w(t))return t;if(w(e)){var n=Qi.exec(e);if(n)return n[3]}}function bt(){var e={},n=!1;this.has=function(t){return e.hasOwnProperty(t)},this.register=function(t,n){fe(t,"controller"),y(t)?l(e,t):e[t]=n},this.allowGlobals=function(){n=!0},this.$get=["$injector","$window",function(r,i){function o(e,n,r,i){if(!e||!y(e.$scope))throw t("$controller")("noscp","Cannot export controller '{0}' as '{1}'! No $scope object provided via `locals`.",i,n);e.$scope[n]=r}return function(t,a,s,u){var c,f,d,h;if(s=s===!0,u&&w(u)&&(h=u),w(t)){if(f=t.match(Qi),!f)throw Zi("ctrlfmt","Badly formed controller string '{0}'. Must match `__name__ as __id__` or `__name__`.",t);d=f[1],h=h||f[3],t=e.hasOwnProperty(d)?e[d]:de(a.$scope,d,!0)||(n?de(i,d,!0):void 0),ce(t,d,!0)}if(s){var p=(Zr(t)?t[t.length-1]:t).prototype;c=Object.create(p||null),h&&o(a,h,c,d||t.name);var m;return m=l(function(){var e=r.invoke(t,c,a,d);return e!==c&&(y(e)||C(e))&&(c=e,h&&o(a,h,c,d||t.name)),c},{instance:c,identifier:h})}return c=r.instantiate(t,a,d),h&&o(a,h,c,d||t.name),c}}]}function wt(){this.$get=["$window",function(e){return Lr(e.document)}]}function xt(){this.$get=["$log",function(e){return function(t,n){e.error.apply(e,arguments)}}]}function kt(e){return y(e)?k(e)?e.toISOString():Y(e):e}function Ct(){this.$get=function(){return function(e){if(!e)return"";var t=[];return i(e,function(e,n){null===e||v(e)||(Zr(e)?r(e,function(e){t.push(te(n)+"="+te(kt(e)))}):t.push(te(n)+"="+te(kt(e))))}),t.join("&")}}}function St(){this.$get=function(){return function(e){function t(e,o,a){null===e||v(e)||(Zr(e)?r(e,function(e,n){t(e,o+"["+(y(e)?n:"")+"]")}):y(e)&&!k(e)?i(e,function(e,n){t(e,o+(a?"":"[")+n+(a?"":"]"))}):n.push(te(o)+"="+te(kt(e))))}if(!e)return"";var n=[];return t(e,"",!0),n.join("&")}}}function _t(e,t){if(w(e)){var n=e.replace(no,"").trim();if(n){var r=t("Content-Type");(r&&0===r.indexOf(Xi)||Et(n))&&(e=W(n))}}return e}function Et(e){var t=e.match(eo);return t&&to[t[0]].test(e)}function Dt(e){function t(e,t){e&&(i[e]=i[e]?i[e]+", "+t:t)}var n,i=pe();return w(e)?r(e.split("\n"),function(e){n=e.indexOf(":"),t(Fr(Jr(e.substr(0,n))),Jr(e.substr(n+1)))}):y(e)&&r(e,function(e,n){t(Fr(n),Jr(e))}),i}function At(e){var t;return function(n){if(t||(t=Dt(e)),n){var r=t[Fr(n)];return void 0===r&&(r=null),r}return t}}function Tt(e,t,n,i){return C(i)?i(e,t,n):(r(i,function(r){e=r(e,t,n)}),e)}function Mt(e){return 200<=e&&e<300}function Ot(){var e=this.defaults={transformResponse:[_t],transformRequest:[function(e){return!y(e)||D(e)||T(e)||A(e)?e:Y(e)}],headers:{common:{Accept:"application/json, text/plain, */*"},post:ge(Ki),put:ge(Ki),patch:ge(Ki)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",paramSerializer:"$httpParamSerializer"},n=!1;this.useApplyAsync=function(e){return $(e)?(n=!!e,this):n};var i=!0;this.useLegacyPromiseExtensions=function(e){return $(e)?(i=!!e,this):i};var o=this.interceptors=[];this.$get=["$httpBackend","$$cookieReader","$cacheFactory","$rootScope","$q","$injector",function(a,s,u,c,f,d){function h(n){function o(e,t){for(var n=0,r=t.length;n=-1?n:0,(Mt(n)?w.resolve:w.reject)({data:e,status:n,headers:At(r),config:t,statusText:i})}function d(e){l(e.data,e.status,ge(e.headers()),e.statusText)}function p(){var e=h.pendingRequests.indexOf(t);e!==-1&&h.pendingRequests.splice(e,1)}var m,g,w=f.defer(),k=w.promise,C=t.headers,S=b(t.url,t.paramSerializer(t.params));if(h.pendingRequests.push(t),k.then(p,p),!t.cache&&!e.cache||t.cache===!1||"GET"!==t.method&&"JSONP"!==t.method||(m=y(t.cache)?t.cache:y(e.cache)?e.cache:x),m&&(g=m.get(S),$(g)?O(g)?g.then(d,d):Zr(g)?l(g[1],g[0],ge(g[2]),g[3]):l(g,200,{},"OK"):m.put(S,k)),v(g)){var _=Nn(t.url)?s()[t.xsrfCookieName||e.xsrfCookieName]:void 0;_&&(C[t.xsrfHeaderName||e.xsrfHeaderName]=_),a(t.method,S,i,u,C,t.timeout,t.withCredentials,t.responseType,o(t.eventHandlers),o(t.uploadEventHandlers))}return k}function b(e,t){return t.length>0&&(e+=(e.indexOf("?")==-1?"?":"&")+t),e}var x=u("$http");e.paramSerializer=w(e.paramSerializer)?d.get(e.paramSerializer):e.paramSerializer;var k=[];return r(o,function(e){k.unshift(w(e)?d.get(e):d.invoke(e))}),h.pendingRequests=[],p("get","delete","head","jsonp"),m("post","put","patch"),h.defaults=e,h}]}function Ft(){this.$get=function(){return function(){return new e.XMLHttpRequest}}}function It(){this.$get=["$browser","$jsonpCallbacks","$document","$xhrFactory",function(e,t,n,r){return Nt(e,r,e.defer,t,n[0])}]}function Nt(e,t,n,i,o){function a(e,t,n){e=e.replace("JSON_CALLBACK",t);var r=o.createElement("script"),a=null;return r.type="text/javascript",r.src=e,r.async=!0,a=function(e){mi(r,"load",a),mi(r,"error",a),o.body.removeChild(r),r=null;var s=-1,u="unknown";e&&("load"!==e.type||i.wasCalled(t)||(e={type:"error"}),u=e.type,s="error"===e.type?404:200),n&&n(s,u)},pi(r,"load",a),pi(r,"error",a),o.body.appendChild(r),a}return function(o,s,u,l,c,f,d,p,m,g){function y(){x&&x(),k&&k.abort()}function b(t,r,i,o,a){$(_)&&n.cancel(_),x=k=null,t(r,i,o,a),e.$$completeOutstandingRequest(h)}if(e.$$incOutstandingRequestCount(),s=s||e.url(),"jsonp"===Fr(o))var w=i.createCallback(s),x=a(s,w,function(e,t){var n=200===e&&i.getResponse(w);b(l,e,n,"",t),i.removeCallback(w)});else{var k=t(o,s);k.open(o,s,!0),r(c,function(e,t){$(e)&&k.setRequestHeader(t,e)}),k.onload=function(){var e=k.statusText||"",t="response"in k?k.response:k.responseText,n=1223===k.status?204:k.status; +0===n&&(n=t?200:"file"==In(s).protocol?404:0),b(l,n,t,k.getAllResponseHeaders(),e)};var C=function(){b(l,-1,null,null,"")};if(k.onerror=C,k.onabort=C,r(m,function(e,t){k.addEventListener(t,e)}),r(g,function(e,t){k.upload.addEventListener(t,e)}),d&&(k.withCredentials=!0),p)try{k.responseType=p}catch(S){if("json"!==p)throw S}k.send(v(u)?null:u)}if(f>0)var _=n(y,f);else O(f)&&f.then(y)}}function Pt(){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=Y(e)}return e}function u(e,t,n,r){var i;return i=e.$watch(function(e){return i(),r(e)},t,n)}function c(o,c,h,p){function g(e){try{return e=O(e),p&&!$(e)?e:s(e)}catch(t){r(oo.interr(o,t))}}if(!o.length||o.indexOf(e)===-1){var y;if(!c){var b=a(o);y=m(b),y.exp=o,y.expressions=[],y.$$watchDelegate=u}return y}p=!!p;for(var w,x,k,S=0,_=[],E=[],D=o.length,A=[],T=[];S1&&oo.throwNoconcat(o),!c||_.length){var M=function(e){for(var t=0,n=_.length;t4,d=f?z(arguments,4):[],h=t.setInterval,p=t.clearInterval,m=0,g=$(l)&&!l,v=(g?r:n).defer(),y=v.promise;return u=$(u)?u:0,y.$$intervalId=h(function(){g?i.defer(c):e.$evalAsync(c),v.notify(m++),u>0&&m>=u&&(v.resolve(m),p(y.$$intervalId),delete a[y.$$intervalId]),g||e.$apply()},s),a[y.$$intervalId]=v,y}var a={};return o.cancel=function(e){return!!(e&&e.$$intervalId in a)&&(a[e.$$intervalId].reject("canceled"),t.clearInterval(e.$$intervalId),delete a[e.$$intervalId],!0)},o}]}function Lt(e){for(var t=e.split("/"),n=t.length;n--;)t[n]=ee(t[n]);return t.join("/")}function Rt(e,t){var n=In(e);t.$$protocol=n.protocol,t.$$host=n.hostname,t.$$port=f(n.port)||uo[n.protocol]||null}function Ut(e,t){var n="/"!==e.charAt(0);n&&(e="/"+e);var r=In(e);t.$$path=decodeURIComponent(n&&"/"===r.pathname.charAt(0)?r.pathname.substring(1):r.pathname),t.$$search=X(r.search),t.$$hash=decodeURIComponent(r.hash),t.$$path&&"/"!=t.$$path.charAt(0)&&(t.$$path="/"+t.$$path)}function Vt(e,t){return 0===e.lastIndexOf(t,0)}function zt(e,t){if(Vt(t,e))return t.substr(e.length)}function Ht(e){var t=e.indexOf("#");return t==-1?e:e.substr(0,t)}function qt(e){return e.replace(/(#.+)|#$/,"$1")}function Yt(e){return e.substr(0,Ht(e).lastIndexOf("/")+1)}function Wt(e){return e.substring(0,e.indexOf("/",e.indexOf("//")+2))}function Bt(e,t,n){this.$$html5=!0,n=n||"",Rt(e,this),this.$$parse=function(e){var n=zt(t,e);if(!w(n))throw lo("ipthprfx",'Invalid url "{0}", missing path prefix "{1}".',e,t);Ut(n,this),this.$$path||(this.$$path="/"),this.$$compose()},this.$$compose=function(){var e=K(this.$$search),n=this.$$hash?"#"+ee(this.$$hash):"";this.$$url=Lt(this.$$path)+(e?"?"+e:"")+n,this.$$absUrl=t+this.$$url.substr(1)},this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;var o,a,s;return $(o=zt(e,r))?(a=o,s=$(o=zt(n,o))?t+(zt("/",o)||o):e+a):$(o=zt(t,r))?s=t+o:t==r+"/"&&(s=t),s&&this.$$parse(s),!!s}}function Gt(e,t,n){Rt(e,this),this.$$parse=function(r){function i(e,t,n){var r,i=/^\/[A-Z]:(\/.*)/;return Vt(t,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);v(a)||"#"!==a.charAt(0)?this.$$html5?o=a:(o="",v(a)&&(e=r,this.replace())):(o=zt(n,a),v(o)&&(o=a)),Ut(o,this),this.$$path=i(this.$$path,o,e),this.$$compose()},this.$$compose=function(){var t=K(this.$$search),r=this.$$hash?"#"+ee(this.$$hash):"";this.$$url=Lt(this.$$path)+(t?"?"+t:"")+r,this.$$absUrl=e+(this.$$url?n+this.$$url:"")},this.$$parseLinkUrl=function(t,n){return Ht(e)==Ht(t)&&(this.$$parse(t),!0)}}function Zt(e,t,n){this.$$html5=!0,Gt.apply(this,arguments),this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;var o,a;return e==Ht(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=K(this.$$search),r=this.$$hash?"#"+ee(this.$$hash):"";this.$$url=Lt(this.$$path)+(t?"?"+t:"")+r,this.$$absUrl=e+n+this.$$url}}function Qt(e){return function(){return this[e]}}function Jt(e,t){return function(n){return v(n)?this[e]:(this[e]=t(n),this.$$compose(),this)}}function Xt(){var e="",t={enabled:!1,requireBase:!0,rewriteLinks:!0};this.hashPrefix=function(t){return $(t)?(e=t,this):e},this.html5Mode=function(e){return M(e)?(t.enabled=e,this):y(e)?(M(e.enabled)&&(t.enabled=e.enabled),M(e.requireBase)&&(t.requireBase=e.requireBase),M(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 lo("nobase","$location in HTML5 mode requires a tag to be present!");f=Wt(h)+(d||"/"),c=i.history?Bt:Zt}else f=Ht(h),c=Gt;var p=Yt(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=Lr(e.target);"a"!==j(i[0]);)if(i[0]===o[0]||!(i=i.parent())[0])return;var s=i.prop("href"),u=i.attr("href")||i.attr("xlink:href");y(s)&&"[object SVGAnimatedString]"===s.toString()&&(s=In(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))}}),qt(l.absUrl())!=qt(h)&&r.url(l.absUrl(),!0);var g=!0;return r.onUrlChange(function(e,t){return v(zt(p,e))?void(a.location.href=e):(n.$evalAsync(function(){var r,i=l.absUrl(),o=l.$$state;e=qt(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=qt(r.url()),t=qt(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 Kt(){var e=!0,t=this;this.debugEnabled=function(t){return $(t)?(e=t,this):e},this.$get=["$window",function(n){function i(e){return e instanceof Error&&(e.stack?e=e.message&&e.stack.indexOf(e.message)===-1?"Error: "+e.message+"\n"+e.stack:e.stack:e.sourceURL&&(e=e.message+"\n"+e.sourceURL+":"+e.line)),e}function o(e){var t=n.console||{},o=t[e]||t.log||h,a=!1;try{a=!!o.apply}catch(s){}return a?function(){var e=[];return r(arguments,function(t){e.push(i(t))}),o.apply(t,e)}:function(e,t){o(e,null==t?"":t)}}return{log:o("log"),info:o("info"),warn:o("warn"),error:o("error"),debug:function(){var n=o("debug");return function(){e&&n.apply(t,arguments)}}()}}]}function en(e,t){if("__defineGetter__"===e||"__defineSetter__"===e||"__lookupGetter__"===e||"__lookupSetter__"===e||"__proto__"===e)throw fo("isecfld","Attempting to access a disallowed field in Angular expressions! Expression: {0}",t);return e}function tn(e){return e+""}function nn(e,t){if(e){if(e.constructor===e)throw fo("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",t);if(e.window===e)throw fo("isecwindow","Referencing the Window in Angular expressions is disallowed! Expression: {0}",t);if(e.children&&(e.nodeName||e.prop&&e.attr&&e.find))throw fo("isecdom","Referencing DOM nodes in Angular expressions is disallowed! Expression: {0}",t);if(e===Object)throw fo("isecobj","Referencing Object in Angular expressions is disallowed! Expression: {0}",t)}return e}function rn(e,t){if(e){if(e.constructor===e)throw fo("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",t);if(e===ho||e===po||e===mo)throw fo("isecff","Referencing call, apply or bind in Angular expressions is disallowed! Expression: {0}",t)}}function on(e,t){if(e&&(e===(0).constructor||e===(!1).constructor||e==="".constructor||e==={}.constructor||e===[].constructor||e===Function.constructor))throw fo("isecaf","Assigning to a constructor is disallowed! Expression: {0}",t)}function an(e,t){return"undefined"!=typeof e?e:t}function sn(e,t){return"undefined"==typeof e?t:"undefined"==typeof t?e:e+t}function un(e,t){var n=e(t);return!n.$stateful}function ln(e,t){var n,i;switch(e.type){case yo.Program:n=!0,r(e.body,function(e){ln(e.expression,t),n=n&&e.expression.constant}),e.constant=n;break;case yo.Literal:e.constant=!0,e.toWatch=[];break;case yo.UnaryExpression:ln(e.argument,t),e.constant=e.argument.constant,e.toWatch=e.argument.toWatch;break;case yo.BinaryExpression:ln(e.left,t),ln(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.left.toWatch.concat(e.right.toWatch);break;case yo.LogicalExpression:ln(e.left,t),ln(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.constant?[]:[e];break;case yo.ConditionalExpression:ln(e.test,t),ln(e.alternate,t),ln(e.consequent,t),e.constant=e.test.constant&&e.alternate.constant&&e.consequent.constant,e.toWatch=e.constant?[]:[e];break;case yo.Identifier:e.constant=!1,e.toWatch=[e];break;case yo.MemberExpression:ln(e.object,t),e.computed&&ln(e.property,t),e.constant=e.object.constant&&(!e.computed||e.property.constant),e.toWatch=[e];break;case yo.CallExpression:n=!!e.filter&&un(t,e.callee.name),i=[],r(e.arguments,function(e){ln(e,t),n=n&&e.constant,e.constant||i.push.apply(i,e.toWatch)}),e.constant=n,e.toWatch=e.filter&&un(t,e.callee.name)?i:[e];break;case yo.AssignmentExpression:ln(e.left,t),ln(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=[e];break;case yo.ArrayExpression:n=!0,i=[],r(e.elements,function(e){ln(e,t),n=n&&e.constant,e.constant||i.push.apply(i,e.toWatch)}),e.constant=n,e.toWatch=i;break;case yo.ObjectExpression:n=!0,i=[],r(e.properties,function(e){ln(e.value,t),n=n&&e.value.constant&&!e.computed,e.value.constant||i.push.apply(i,e.value.toWatch)}),e.constant=n,e.toWatch=i;break;case yo.ThisExpression:e.constant=!1,e.toWatch=[];break;case yo.LocalsExpression:e.constant=!1,e.toWatch=[]}}function cn(e){if(1==e.length){var t=e[0].expression,n=t.toWatch;return 1!==n.length?n:n[0]!==t?n:void 0}}function fn(e){return e.type===yo.Identifier||e.type===yo.MemberExpression}function dn(e){if(1===e.body.length&&fn(e.body[0].expression))return{type:yo.AssignmentExpression,left:e.body[0].expression,right:{type:yo.NGValueParameter},operator:"="}}function hn(e){return 0===e.body.length||1===e.body.length&&(e.body[0].expression.type===yo.Literal||e.body[0].expression.type===yo.ArrayExpression||e.body[0].expression.type===yo.ObjectExpression)}function pn(e){return e.constant}function mn(e,t){this.astBuilder=e,this.$filter=t}function gn(e,t){this.astBuilder=e,this.$filter=t}function vn(e){return"constructor"==e}function $n(e){return C(e.valueOf)?e.valueOf():wo.call(e)}function yn(){var e,t,n=pe(),i=pe(),o={"true":!0,"false":!1,"null":null,undefined:void 0};this.addLiteral=function(e,t){o[e]=t},this.setIdentifierFns=function(n,r){return e=n,t=r,this},this.$get=["$filter",function(a){function s(e,t,r){var o,s,l;switch(r=r||b,typeof e){case"string":e=e.trim(),l=e;var g=r?i:n;if(o=g[l],!o){":"===e.charAt(0)&&":"===e.charAt(1)&&(s=!0,e=e.substring(2));var $=r?y:v,w=new $o($),x=new bo(w,a,$);o=x.parse(e),o.constant?o.$$watchDelegate=p:s?o.$$watchDelegate=o.literal?d:f:o.inputs&&(o.$$watchDelegate=c),r&&(o=u(o)),g[l]=o}return m(o,t);case"function":return m(e,t);default:return m(h,t)}}function u(e){function t(t,n,r,i){var o=b;b=!0;try{return e(t,n,r,i)}finally{b=o}}if(!e)return e;t.$$watchDelegate=e.$$watchDelegate,t.assign=u(e.assign),t.constant=e.constant,t.literal=e.literal;for(var n=0;e.inputs&&n0&&s(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)}}),l(u.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 t(e){u||(u=!0,a.$$resolve(e))}function r(e){u||(u=!0,a.$$reject(e))}var i,a=this,u=!1;try{(y(e)||C(e))&&(i=e&&e.then),C(i)?(this.promise.$$state.status=-1,i.call(e,t,r,o(this,this.notify))):(this.promise.$$state.value=e,this.promise.$$state.status=1,s(this.promise.$$state))}catch(l){r(l),n(l)}},reject:function(e){this.promise.$$state.status||this.$$reject(e)},$$reject:function(e){this.promise.$$state.value=e,this.promise.$$state.status=2,s(this.promise.$$state)},notify:function(t){var r=this.promise.$$state.pending;this.promise.$$state.status<=0&&r&&r.length&&e(function(){for(var e,i,o=0,a=r.length;o=0&&$(o,-1),s=null}},$watchGroup:function(e,t){function n(){u=!1,l?(l=!1,t(o,o,s)):t(o,i,s)}var i=new Array(e.length),o=new Array(e.length),a=[],s=this,u=!1,l=!0;if(!e.length){var c=!0;return s.$evalAsync(function(){c&&t(o,o,s)}),function(){c=!1}}return 1===e.length?this.$watch(e[0],function(e,n,r){o[0]=e,i[0]=n,t(o,e===n?o:i,r)}):(r(e,function(e,t){var r=s.$watch(e,function(e,r){o[t]=e,i[t]=r,u||(u=!0,s.$evalAsync(n))});a.push(r)}),function(){for(;a.length;)a.shift()()})},$watchCollection:function(e,t){function r(e){o=e;var t,r,i,s,u;if(!v(o)){if(y(o))if(n(o)){a!==h&&(a=h,g=a.length=0,f++),t=o.length,g!==t&&(f++,a.length=g=t);for(var l=0;lt){f++;for(r in a)Or.call(o,r)||(g--,delete a[r])}}else a!==o&&(a=o,f++);return f}}function i(){if(m?(m=!1,t(o,o,u)):t(o,s,u),c)if(y(o))if(n(o)){s=new Array(o.length);for(var e=0;e1,f=0,d=l(e,r),h=[],p={},m=!0,g=0;return this.$watch(d,i)},$digest:function(){var e,n,r,a,l,f,d,h,p,v,$,y,b=i,k=this,D=[];m("$digest"),c.$$checkUrlChange(),this===S&&null!==u&&(c.defer.cancel(u),x()),s=null;do{h=!1,v=k;for(var T=0;T<_.length;T++){try{y=_[T],y.scope.$eval(y.expression,y.locals)}catch(M){t(M)}s=null}_.length=0;e:do{if(f=v.$$watchers)for(d=f.length;d--;)try{if(e=f[d])if(l=e.get,(n=l(v))===(r=e.last)||(e.eq?U(n,r):"number"==typeof n&&"number"==typeof r&&isNaN(n)&&isNaN(r))){if(e===s){h=!1;break e}}else h=!0,s=e,e.last=e.eq?R(n,null):n,a=e.fn,a(n,r===w?n:r,v),b<5&&($=4-b,D[$]||(D[$]=[]),D[$].push({msg:C(e.exp)?"fn: "+(e.exp.name||e.exp.toString()):e.exp,newVal:n,oldVal:r}))}catch(M){t(M)}if(!(p=v.$$watchersCount&&v.$$childHead||v!==k&&v.$$nextSibling))for(;v!==k&&!(p=v.$$nextSibling);)v=v.$parent}while(v=p);if((h||_.length)&&!b--)throw g(),o("infdig","{0} $digest() iterations reached. Aborting!\nWatchers fired in the last 5 iterations: {1}",i,D)}while(h||_.length);for(g();A-1)throw xo("iwcard","Illegal sequence *** in string matcher. String: {0}",e);return e=Xr(e).replace("\\*\\*",".*").replace("\\*","[^:/.?&;]*"),new RegExp("^"+e+"$")}if(S(e))return new RegExp("^"+e.source+"$");throw xo("imatcher",'Matchers may only be "self", string patterns or RegExp objects')}function En(e){var t=[];return $(e)&&r(e,function(e){t.push(_n(e))}),t}function Dn(){this.SCE_CONTEXTS=ko;var e=["self"],t=[];this.resourceUrlWhitelist=function(t){return arguments.length&&(e=En(t)),e},this.resourceUrlBlacklist=function(e){return arguments.length&&(t=En(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=In(n.toString()),s=!1;for(i=0,o=e.length;i to the top of your HTML document. See http://docs.angularjs.org/api/ng.$sce for more information.");var i=ge(ko);i.isEnabled=function(){return e},i.trustAs=n.trustAs,i.getTrusted=n.getTrusted,i.valueOf=n.valueOf,e||(i.trustAs=i.getTrusted=function(e,t){return t},i.valueOf=p),i.parseAs=function(e,n){var r=t(n);return r.literal&&r.constant?r:t(n,function(t){return i.getTrusted(e,t)})};var o=i.parseAs,a=i.getTrusted,s=i.trustAs;return r(ko,function(e,t){var n=Fr(t);i[we("parse_as_"+n)]=function(t){return o(e,t)},i[we("get_trusted_"+n)]=function(t){return a(e,t)},i[we("trust_as_"+n)]=function(t){return s(e,t)}}),i}]}function Tn(){this.$get=["$window","$document",function(e,t){var n,r,i={},o=e.chrome&&e.chrome.app&&e.chrome.app.runtime,a=!o&&e.history&&e.history.pushState,s=f((/android (\d+)/.exec(Fr((e.navigator||{}).userAgent))||[])[1]),u=/Boxee/i.test((e.navigator||{}).userAgent),l=t[0]||{},c=/^(Moz|webkit|ms)(?=[A-Z])/,d=l.body&&l.body.style,h=!1,p=!1;if(d){for(var m in d)if(r=c.exec(m)){n=r[0],n=n[0].toUpperCase()+n.substr(1);break}n||(n="WebkitOpacity"in d&&"webkit"),h=!!("transition"in d||n+"Transition"in d),p=!!("animation"in d||n+"Animation"in d),!s||h&&p||(h=w(d.webkitTransition),p=w(d.webkitAnimation))}return{history:!(!a||s<4||u),hasEvent:function(e){if("input"===e&&jr<=11)return!1;if(v(i[e])){var t=l.createElement("div");i[e]="on"+e in t}return i[e]},csp:Kr(),vendorPrefix:n,transitions:h,animations:p,android:s}}]}function Mn(){var e;this.httpOptions=function(t){return t?(e=t,this):e},this.$get=["$templateCache","$http","$q","$sce",function(t,n,r,i){function o(a,s){function u(e){if(!s)throw Co("tpload","Failed to load template: {0} (HTTP status: {1} {2})",a,e.status,e.statusText);return r.reject(e)}o.totalPendingRequests++,w(a)&&!v(t.get(a))||(a=i.getTrustedResourceUrl(a));var c=n.defaults&&n.defaults.transformResponse;return Zr(c)?c=c.filter(function(e){return e!==_t}):c===_t&&(c=null),n.get(a,l({cache:t,transformResponse:c},e))["finally"](function(){o.totalPendingRequests--}).then(function(e){return t.put(a,e.data),e.data},u)}return o.totalPendingRequests=0,o}]}function On(){this.$get=["$rootScope","$browser","$location",function(e,t,n){var i={};return i.findBindings=function(e,t,n){var i=e.getElementsByClassName("ng-binding"),o=[];return r(i,function(e){var i=Br.element(e).data("$binding");i&&r(i,function(r){if(n){var i=new RegExp("(^|\\s)"+Xr(t)+"(\\s|\\||$)");i.test(r)&&o.push(e)}else r.indexOf(t)!=-1&&o.push(e)})}),o},i.findModels=function(e,t,n){for(var r=["ng-","data-ng-","ng\\:"],i=0;i0&&(u=t(o.substring(0,s)),v(r[u])&&(r[u]=t(o.substring(s+1))));return r}}function Ln(){this.$get=jn}function Rn(e){function t(i,o){if(y(i)){var a={};return r(i,function(e,n){a[n]=t(n,e)}),a}return e.factory(i+n,o)}var n="Filter";this.register=t,this.$get=["$injector",function(e){return function(t){return e.get(t+n)}}],t("currency",qn),t("date",or),t("filter",Un), +t("json",ar),t("limitTo",sr),t("lowercase",Fo),t("number",Yn),t("orderBy",lr),t("uppercase",Io)}function Un(){return function(e,r,i,o){if(!n(e)){if(null==e)return e;throw t("filter")("notarray","Expected array but received: {0}",e)}o=o||"$";var a,s,u=Hn(r);switch(u){case"function":a=r;break;case"boolean":case"null":case"number":case"string":s=!0;case"object":a=Vn(r,i,o,s);break;default:return e}return Array.prototype.filter.call(e,a)}}function Vn(e,t,n,r){var i,o=y(e)&&n in e;return t===!0?t=U:C(t)||(t=function(e,t){return!v(e)&&(null===e||null===t?e===t:!(y(t)||y(e)&&!g(e))&&(e=Fr(""+e),t=Fr(""+t),e.indexOf(t)!==-1))}),i=function(i){return o&&!y(i)?zn(i,e[n],t,n,!1):zn(i,e,t,n,r)}}function zn(e,t,n,r,i,o){var a=Hn(e),s=Hn(t);if("string"===s&&"!"===t.charAt(0))return!zn(e,t.substring(1),n,r,i);if(Zr(e))return e.some(function(e){return zn(e,t,n,r,i)});switch(a){case"object":var u;if(i){for(u in e)if("$"!==u.charAt(0)&&zn(e[u],t,n,r,!0))return!0;return!o&&zn(e,t,n,r,!1)}if("object"===s){for(u in t){var l=t[u];if(!C(l)&&!v(l)){var c=u===r,f=c?e:e[u];if(!zn(f,l,n,r,c,c))return!1}}return!0}return n(e,t);case"function":return!1;default:return n(e,t)}}function Hn(e){return null===e?"null":typeof e}function qn(e){var t=e.NUMBER_FORMATS;return function(e,n,r){return v(n)&&(n=t.CURRENCY_SYM),v(r)&&(r=t.PATTERNS[1].maxFrac),null==e?e:Gn(e,t.PATTERNS[1],t.GROUP_SEP,t.DECIMAL_SEP,r).replace(/\u00A4/g,n)}}function Yn(e){var t=e.NUMBER_FORMATS;return function(e,n){return null==e?e:Gn(e,t.PATTERNS[0],t.GROUP_SEP,t.DECIMAL_SEP,n)}}function Wn(e){var t,n,r,i,o,a=0;for((n=e.indexOf(Do))>-1&&(e=e.replace(Do,"")),(r=e.search(/e/i))>0?(n<0&&(n=r),n+=+e.slice(r+1),e=e.substring(0,r)):n<0&&(n=e.length),r=0;e.charAt(r)==Ao;r++);if(r==(o=e.length))t=[0],n=1;else{for(o--;e.charAt(o)==Ao;)o--;for(n-=r,t=[],i=0;r<=o;r++,i++)t[i]=+e.charAt(r)}return n>Eo&&(t=t.splice(0,Eo-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=v(t)?Math.min(Math.max(n,o),r):+t;var a=t+e.i,s=i[a];if(a>0){i.splice(Math.max(e.i,a));for(var u=a;u=5)if(a-1<0){for(var c=0;c>a;c--)i.unshift(0),e.i++;i.unshift(1),e.i++}else i[a-1]++;for(;o0?h=c.splice(f,c.length):(h=c,c=[0]);var p=[];for(c.length>=t.lgSize&&p.unshift(c.splice(-t.lgSize,c.length).join(""));c.length>t.gSize;)p.unshift(c.splice(-t.gSize,c.length).join(""));c.length&&p.unshift(c.join("")),l=p.join(n),h.length&&(l+=r+h.join("")),d&&(l+="e+"+d)}return e<0&&!s?t.negPre+l+t.negSuf:t.posPre+l+t.posSuf}function Zn(e,t,n,r){var i="";for((e<0||r&&e<=0)&&(r?e=-e+1:(e=-e,i="-")),e=""+e;e.length0||a>-n)&&(a+=n),0===a&&n==-12&&(a=12),Zn(a,t,r,i)}}function Jn(e,t,n){return function(r,i){var o=r["get"+e](),a=(n?"STANDALONE":"")+(t?"SHORT":""),s=Ir(a+e);return i[s][o]}}function Xn(e,t,n){var r=-1*n,i=r>=0?"+":"";return i+=Zn(Math[r>0?"floor":"ceil"](r/60),2)+Zn(Math.abs(r%60),2)}function Kn(e){var t=new Date(e,0,1).getDay();return new Date(e,0,(t<=4?5:12)-t)}function er(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate()+(4-e.getDay()))}function tr(e){return function(t){var n=Kn(t.getFullYear()),r=er(t),i=+r-+n,o=1+Math.round(i/6048e5);return Zn(o,e)}}function nr(e,t){return e.getHours()<12?t.AMPMS[0]:t.AMPMS[1]}function rr(e,t){return e.getFullYear()<=0?t.ERAS[0]:t.ERAS[1]}function ir(e,t){return e.getFullYear()<=0?t.ERANAMES[0]:t.ERANAMES[1]}function or(e){function t(e){var t;if(t=e.match(n)){var r=new Date(0),i=0,o=0,a=t[8]?r.setUTCFullYear:r.setFullYear,s=t[8]?r.setUTCHours:r.setHours;t[9]&&(i=f(t[9]+t[10]),o=f(t[9]+t[11])),a.call(r,f(t[1]),f(t[2])-1,f(t[3]));var u=f(t[4]||0)-i,l=f(t[5]||0)-o,c=f(t[6]||0),d=Math.round(1e3*parseFloat("0."+(t[7]||0)));return s.call(r,u,l,c,d),r}return e}var n=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;return function(n,i,o){var a,s,u="",l=[];if(i=i||"mediumDate",i=e.DATETIME_FORMATS[i]||i,w(n)&&(n=Oo.test(n)?f(n):t(n)),x(n)&&(n=new Date(n)),!k(n)||!isFinite(n.getTime()))return n;for(;i;)s=Mo.exec(i),s?(l=V(l,s,1),i=l.pop()):(l.push(i),i=null);var c=n.getTimezoneOffset();return o&&(c=B(o,c),n=Z(n,o,!0)),r(l,function(t){a=To[t],u+=a?a(n,e.DATETIME_FORMATS,c):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}}function ar(){return function(e,t){return v(t)&&(t=2),Y(e,t)}}function sr(){return function(e,t,r){return t=Math.abs(Number(t))===1/0?Number(t):f(t),isNaN(t)?e:(x(e)&&(e=e.toString()),n(e)?(r=!r||isNaN(r)?0:f(r),r=r<0?Math.max(0,e.length+r):r,t>=0?ur(e,r,r+t):0===r?ur(e,t,e.length):ur(e,Math.max(0,r+t),r)):e)}}function ur(e,t,n){return w(e)?e.slice(t,n):Vr.call(e,t,n)}function lr(e){function r(t){return t.map(function(t){var n=1,r=p;if(C(t))r=t;else if(w(t)&&("+"!=t.charAt(0)&&"-"!=t.charAt(0)||(n="-"==t.charAt(0)?-1:1,t=t.substring(1)),""!==t&&(r=e(t),r.constant))){var i=r();r=function(e){return e[i]}}return{get:r,descending:n}})}function i(e){switch(typeof e){case"number":case"boolean":case"string":return!0;default:return!1}}function o(e){return C(e.valueOf)&&(e=e.valueOf(),i(e))?e:g(e)&&(e=e.toString(),i(e))?e:e}function a(e,t){var n=typeof e;return null===e?(n="string",e="null"):"object"===n&&(e=o(e)),{value:e,type:n,index:t}}function s(e,t){var n=0,r=e.type,i=t.type;if(r===i){var o=e.value,a=t.value;"string"===r?(o=o.toLowerCase(),a=a.toLowerCase()):"object"===r&&(y(o)&&(o=e.index),y(a)&&(a=t.index)),o!==a&&(n=o=m},a.$observe("min",function(e){m=d(e),s.$validate()})}if($(a.max)||a.ngMax){var g;s.$validators.max=function(e){return!f(e)||v(g)||n(e)<=g},a.$observe("max",function(e){g=d(e),s.$validate()})}}}function yr(e,t,n,r){var i=t[0],o=r.$$hasNativeValidators=y(i.validity);o&&r.$parsers.push(function(e){var n=t.prop(Mr)||{};return n.badInput||n.typeMismatch?void 0:e})}function br(e,t,n,r,i,o){if(yr(e,t,n,r),mr(e,t,n,r,i,o),r.$$parserName="number",r.$parsers.push(function(e){return r.$isEmpty(e)?null:Yo.test(e)?parseFloat(e):void 0}),r.$formatters.push(function(e){if(!r.$isEmpty(e)){if(!x(e))throw Da("numfmt","Expected `{0}` to be a number",e);e=e.toString()}return e}),$(n.min)||n.ngMin){var a;r.$validators.min=function(e){return r.$isEmpty(e)||v(a)||e>=a},n.$observe("min",function(e){$(e)&&!x(e)&&(e=parseFloat(e)),a=x(e)&&!isNaN(e)?e:void 0,r.$validate()})}if($(n.max)||n.ngMax){var s;r.$validators.max=function(e){return r.$isEmpty(e)||v(s)||e<=s},n.$observe("max",function(e){$(e)&&!x(e)&&(e=parseFloat(e)),s=x(e)&&!isNaN(e)?e:void 0,r.$validate()})}}function wr(e,t,n,r,i,o){mr(e,t,n,r,i,o),hr(r),r.$$parserName="url",r.$validators.url=function(e,t){var n=e||t;return r.$isEmpty(n)||Ho.test(n)}}function xr(e,t,n,r,i,o){mr(e,t,n,r,i,o),hr(r),r.$$parserName="email",r.$validators.email=function(e,t){var n=e||t;return r.$isEmpty(n)||qo.test(n)}}function kr(e,t,n,r){v(n.name)&&t.attr("name",a());var i=function(e){t[0].checked&&r.$setViewValue(n.value,e&&e.type)};t.on("click",i),r.$render=function(){var e=n.value;t[0].checked=e==r.$viewValue},n.$observe("value",r.$render)}function Cr(e,t,n,r,i){var o;if($(r)){if(o=e(r),!o.constant)throw Da("constexpr","Expected constant expression for `{0}`, but saw `{1}`.",n,r);return o(t)}return i}function Sr(e,t,n,r,i,o,a,s){var u=Cr(s,e,"ngTrueValue",n.ngTrueValue,!0),l=Cr(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 U(e,u)}),r.$parsers.push(function(e){return e?u:l})}function _r(e,t){return e="ngClass"+e,["$animate",function(n){function i(e,t){var n=[];e:for(var r=0;r0||n[e])&&(n[e]=(n[e]||0)+t,n[e]===+(t>0)&&i.push(e))}),s.data("$classCounts",n),i.join(" ")}function d(e,t){var r=i(t,e),o=i(e,t);r=f(r,1),o=f(o,-1),r&&r.length&&n.addClass(s,r),o&&o.length&&n.removeClass(s,o)}function h(e){if(t===!0||(1&a.$index)===t){var n=o(e||[]);if(p){if(!U(e,p)){var r=o(p);d(r,n)}}else l(n)}p=Zr(e)?e.map(function(e){return ge(e)}):ge(e)}var p;a.$watch(u[e],h,!0),u.$observe("class",function(t){h(a.$eval(u[e]))}),"ngClass"!==e&&a.$watch("$index",function(n,r){var i=1&n;if(i!==(1&r)){var s=o(a.$eval(u[e]));i===t?l(s):c(s)}})}}}]}function Er(e){function t(e,t,s){v(t)?n("$pending",e,s):r("$pending",e,s),M(t)?t?(c(a.$error,e,s),l(a.$$success,e,s)):(l(a.$error,e,s),c(a.$$success,e,s)):(c(a.$error,e,s),c(a.$$success,e,s)),a.$pending?(i(Sa,!0),a.$valid=a.$invalid=void 0,o("",null)):(i(Sa,!1),a.$valid=Dr(a.$error),a.$invalid=!a.$valid,o("",a.$valid));var u;u=a.$pending&&a.$pending[e]?void 0:!a.$error[e]&&(!!a.$$success[e]||null),o(e,u),a.$$parentForm.$setValidity(e,u,a)}function n(e,t,n){a[e]||(a[e]={}),l(a[e],t,n)}function r(e,t,n){a[e]&&c(a[e],t,n),Dr(a[e])&&(a[e]=void 0)}function i(e,t){t&&!u[e]?(f.addClass(s,e),u[e]=!0):!t&&u[e]&&(f.removeClass(s,e),u[e]=!1)}function o(e,t){e=e?"-"+se(e,"-"):"",i(ya+e,t===!0),i(ba+e,t===!1)}var a=e.ctrl,s=e.$element,u={},l=e.set,c=e.unset,f=e.$animate;u[ba]=!(u[ya]=s.hasClass(ya)),a.$setValidity=t}function Dr(e){if(e)for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}function Ar(e){e[0].hasAttribute("selected")&&(e[0].selected=!0)}var Tr=/^\/(.+)\/([a-z]*)$/,Mr="validity",Or=Object.prototype.hasOwnProperty,Fr=function(e){return w(e)?e.toLowerCase():e},Ir=function(e){return w(e)?e.toUpperCase():e},Nr=function(e){return w(e)?e.replace(/[A-Z]/g,function(e){return String.fromCharCode(32|e.charCodeAt(0))}):e},Pr=function(e){return w(e)?e.replace(/[a-z]/g,function(e){return String.fromCharCode(e.charCodeAt(0)&-33)}):e};"i"!=="I".toLowerCase()&&(Fr=Nr,Ir=Pr);var jr,Lr,Rr,Ur,Vr=[].slice,zr=[].splice,Hr=[].push,qr=Object.prototype.toString,Yr=Object.getPrototypeOf,Wr=t("ng"),Br=e.angular||(e.angular={}),Gr=0;jr=e.document.documentMode,h.$inject=[],p.$inject=[];var Zr=Array.isArray,Qr=/^\[object (?:Uint8|Uint8Clamped|Uint16|Uint32|Int8|Int16|Int32|Float32|Float64)Array\]$/,Jr=function(e){return w(e)?e.trim():e},Xr=function(e){return e.replace(/([-()\[\]{}+?*.$\^|,:#(?:<\/\1>|)$/,wi=/<|&#?\w+;/,xi=/<([\w:-]+)/,ki=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,Ci={option:[1,'"],thead:[1,"","
    "],col:[2,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],_default:[0,"",""]};Ci.optgroup=Ci.option,Ci.tbody=Ci.tfoot=Ci.colgroup=Ci.caption=Ci.thead,Ci.th=Ci.td;var Si=e.Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))},_i=Ae.prototype={ready:function(t){function n(){r||(r=!0,t())}var r=!1;"complete"===e.document.readyState?e.setTimeout(n):(this.on("DOMContentLoaded",n),Ae(e).on("load",n))},toString:function(){var e=[];return r(this,function(t){e.push(""+t)}),"["+e.join(", ")+"]"},eq:function(e){return Lr(e>=0?this[e]:this[this.length+e])},length:0,push:Hr,sort:[].sort,splice:[].splice},Ei={};r("multiple,selected,checked,disabled,readOnly,required,open".split(","),function(e){Ei[Fr(e)]=e});var Di={};r("input,select,option,textarea,button,form,details".split(","),function(e){Di[e]=!0});var Ai={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern"};r({data:Ne,removeData:Fe,hasData:Ce,cleanData:Se},function(e,t){Ae[t]=e}),r({data:Ne,inheritedData:Ve,scope:function(e){return Lr.data(e,"$scope")||Ve(e.parentNode||e,["$isolateScope","$scope"])},isolateScope:function(e){return Lr.data(e,"$isolateScope")||Lr.data(e,"$isolateScopeNoTemplate")},controller:Ue,injector:function(e){return Ve(e,"$injector")},removeAttr:function(e,t){e.removeAttribute(t)},hasClass:Pe,css:function(e,t,n){return t=we(t),$(n)?void(e.style[t]=n):e.style[t]},attr:function(e,t,n){var r=e.nodeType;if(r!==si&&r!==ai&&r!==ui){var i=Fr(t);if(Ei[i]){if(!$(n))return e[t]||(e.attributes.getNamedItem(t)||h).specified?i:void 0;n?(e[t]=!0,e.setAttribute(t,i)):(e[t]=!1,e.removeAttribute(i))}else if($(n))e.setAttribute(t,n);else if(e.getAttribute){var o=e.getAttribute(t,2);return null===o?void 0:o}}},prop:function(e,t,n){return $(n)?void(e[t]=n):e[t]},text:function(){function e(e,t){if(v(t)){var n=e.nodeType;return n===oi||n===si?e.textContent:""}e.textContent=t}return e.$dv="",e}(),val:function(e,t){if(v(t)){if(e.multiple&&"select"===j(e)){var n=[];return r(e.options,function(e){e.selected&&n.push(e.value||e.text)}),0===n.length?null:n}return e.value}e.value=t},html:function(e,t){return v(t)?e.innerHTML:(Me(e,!0),void(e.innerHTML=t))},empty:ze},function(e,t){Ae.prototype[t]=function(t,n){var r,i,o=this.length;if(e!==ze&&v(2==e.length&&e!==Pe&&e!==Ue?t:n)){if(y(t)){for(r=0;r=0?t.split(" "):[t],u=s.length,l=function(t,r,i){var s=o[t];s||(s=o[t]=[],s.specialHandlerWrapper=r,"$destroy"===t||i||pi(e,t,a)),s.push(n)};u--;)t=s[u],$i[t]?(l($i[t],Ze),l(t,void 0,!0)):l(t)}},off:Oe,one:function(e,t,n){e=Lr(e),e.on(t,function r(){e.off(t,n),e.off(t,r)}),e.on(t,n)},replaceWith:function(e,t){var n,i=e.parentNode;Me(e),r(new Ae(t),function(t){n?i.insertBefore(t,n.nextSibling):i.replaceChild(t,e),n=t})},children:function(e){var t=[];return r(e.childNodes,function(e){e.nodeType===oi&&t.push(e)}),t},contents:function(e){return e.contentDocument||e.childNodes||[]},append:function(e,t){var n=e.nodeType;if(n===oi||n===ci){t=new Ae(t);for(var r=0,i=t.length;r/,Oi=/^[^\(]*\(\s*([^\)]*)\)/m,Fi=/,/,Ii=/^\s*(_?)(\S+?)\1\s*$/,Ni=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,Pi=t("$injector");rt.$$annotate=nt;var ji=t("$animate"),Li=1,Ri="ng-animate",Ui=function(){this.$get=h},Vi=function(){var e=new Xe,t=[];this.$get=["$$AnimateRunner","$rootScope",function(n,i){function o(e,t,n){var i=!1;return t&&(t=w(t)?t.split(" "):Zr(t)?t:[],r(t,function(t){t&&(i=!0,e[t]=n)})),i}function a(){r(t,function(t){var n=e.get(t);if(n){var i=st(t.attr("class")),o="",a="";r(n,function(e,t){var n=!!i[t];e!==n&&(e?o+=(o.length?" ":"")+t:a+=(a.length?" ":"")+t)}),r(t,function(e){o&&Le(e,o),a&&je(e,a)}),e.remove(t)}}),t.length=0}function s(n,r,s){var u=e.get(n)||{},l=o(u,r,!0),c=o(u,s,!1);(l||c)&&(e.put(n,u),t.push(n),1===t.length&&i.$$postDigest(a))}return{enabled:h,on:h,off:h,pin:h,push:function(e,t,r,i){i&&i(),r=r||{},r.from&&e.css(r.from),r.to&&e.css(r.to),(r.addClass||r.removeClass)&&s(e,r.addClass,r.removeClass);var o=new n;return o.complete(),o}}}]},zi=["$provide",function(e){var t=this;this.$$registeredAnimations=Object.create(null),this.register=function(n,r){if(n&&"."!==n.charAt(0))throw ji("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+|\\/)"+Ri+"(\\s+|\\/)");if(t.test(this.$$classNameFilter.toString()))throw ji("nongcls",'$animateProvider.classNameFilter(regex) prohibits accepting a regex value which matches/contains the "{0}" CSS class.',Ri)}return this.$$classNameFilter},this.$get=["$$animateQueue",function(e){function t(e,t,n){if(n){var r=at(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&&Lr(r),i=i&&Lr(i),r=r||i.parent(),t(n,r,i),e.push(n,"enter",ut(o))},move:function(n,r,i,o){return r=r&&Lr(r),i=i&&Lr(i),r=r||i.parent(),t(n,r,i),e.push(n,"move",ut(o))},leave:function(t,n){return e.push(t,"leave",ut(n),function(){t.remove()})},addClass:function(t,n,r){return r=ut(r),r.addClass=ot(r.addclass,n),e.push(t,"addClass",r)},removeClass:function(t,n,r){return r=ut(r),r.removeClass=ot(r.removeClass,n),e.push(t,"removeClass",r)},setClass:function(t,n,r,i){return i=ut(i),i.addClass=ot(i.addClass,n),i.removeClass=ot(i.removeClass,r),e.push(t,"setClass",i)},animate:function(t,n,r,i,o){return o=ut(o),o.from=o.from?l(o.from,n):n,o.to=o.to?l(o.to,r):r,i=i||"ng-inline-animate",o.tempClasses=ot(o.tempClasses,i),e.push(t,"animate",o)}}}]}],Hi=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){go[e]=!0});var vo={n:"\n",f:"\f",r:"\r",t:"\t",v:"\x0B","'":"'",'"':'"'},$o=function(e){this.options=e};$o.prototype={constructor:$o,lex:function(e){for(this.text=e,this.index=0,this.tokens=[];this.index=55296&&n<=56319&&r>=56320&&r<=57343?e+t:e},isExpOperator:function(e){ +return"-"===e||"+"===e||this.isNumber(e)},throwError:function(e,t,n){n=n||this.index;var r=$(t)?"s "+t+"-"+this.index+" ["+this.text.substring(t,n)+"]":" "+n;throw fo("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:yo.Program,body:e}},expressionStatement:function(){return{type:yo.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:yo.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:yo.ConditionalExpression,test:n,alternate:e,consequent:t}):n},logicalOR:function(){for(var e=this.logicalAND();this.expect("||");)e={type:yo.LogicalExpression,operator:"||",left:e,right:this.logicalAND()};return e},logicalAND:function(){for(var e=this.equality();this.expect("&&");)e={type:yo.LogicalExpression,operator:"&&",left:e,right:this.equality()};return e},equality:function(){for(var e,t=this.relational();e=this.expect("==","!=","===","!==");)t={type:yo.BinaryExpression,operator:e.text,left:t,right:this.relational()};return t},relational:function(){for(var e,t=this.additive();e=this.expect("<",">","<=",">=");)t={type:yo.BinaryExpression,operator:e.text,left:t,right:this.additive()};return t},additive:function(){for(var e,t=this.multiplicative();e=this.expect("+","-");)t={type:yo.BinaryExpression,operator:e.text,left:t,right:this.multiplicative()};return t},multiplicative:function(){for(var e,t=this.unary();e=this.expect("*","/","%");)t={type:yo.BinaryExpression,operator:e.text,left:t,right:this.unary()};return t},unary:function(){var e;return(e=this.expect("+","-","!"))?{type:yo.UnaryExpression,operator:e.text,prefix:!0,argument:this.unary()}:this.primary()},primary:function(){var e;this.expect("(")?(e=this.filterChain(),this.consume(")")):this.expect("[")?e=this.arrayDeclaration():this.expect("{")?e=this.object():this.selfReferential.hasOwnProperty(this.peek().text)?e=R(this.selfReferential[this.consume().text]):this.options.literals.hasOwnProperty(this.peek().text)?e={type:yo.Literal,value:this.options.literals[this.consume().text]}:this.peek().identifier?e=this.identifier():this.peek().constant?e=this.constant():this.throwError("not a primary expression",this.peek());for(var t;t=this.expect("(","[",".");)"("===t.text?(e={type:yo.CallExpression,callee:e,arguments:this.parseArguments()},this.consume(")")):"["===t.text?(e={type:yo.MemberExpression,object:e,property:this.expression(),computed:!0},this.consume("]")):"."===t.text?e={type:yo.MemberExpression,object:e,property:this.identifier(),computed:!1}:this.throwError("IMPOSSIBLE");return e},filter:function(e){for(var t=[e],n={type:yo.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.filterChain());while(this.expect(","));return e},identifier:function(){var e=this.consume();return e.identifier||this.throwError("is not a valid identifier",e),{type:yo.Identifier,name:e.text}},constant:function(){return{type:yo.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:yo.ArrayExpression,elements:e}},object:function(){var e,t=[];if("}"!==this.peekToken().text)do{if(this.peek("}"))break;e={type:yo.Property,kind:"init"},this.peek().constant?(e.key=this.constant(),e.computed=!1,this.consume(":"),e.value=this.expression()):this.peek().identifier?(e.key=this.identifier(),e.computed=!1,this.peek(":")?(this.consume(":"),e.value=this.expression()):e.value=e.key):this.peek("[")?(this.consume("["),e.key=this.expression(),this.consume("]"),e.computed=!0,this.consume(":"),e.value=this.expression()):this.throwError("invalid key",this.peek()),t.push(e)}while(this.expect(","));return this.consume("}"),{type:yo.ObjectExpression,properties:t}},throwError:function(e,t){throw fo("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 fo("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 fo("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)},selfReferential:{"this":{type:yo.ThisExpression},$locals:{type:yo.LocalsExpression}}},mn.prototype={compile:function(e,t){var n=this,i=this.astBuilder.ast(e);this.state={nextId:0,filters:{},expensiveChecks:t,fn:{vars:[],body:[],own:{}},assign:{vars:[],body:[],own:{}},inputs:[]},ln(i,n.$filter);var o,a="";if(this.stage="assign",o=dn(i)){this.state.computing="assign";var s=this.nextId();this.recurse(o,s),this.return_(s),a="fn.assign="+this.generateFunction("assign","s,v,l")}var u=cn(i.body);n.stage="inputs",r(u,function(e,t){var r="fn"+t;n.state[r]={vars:[],body:[],own:{}},n.state.computing=r;var i=n.nextId();n.recurse(e,i),n.return_(i),n.state.inputs.push(r),e.watchId=t}),this.state.computing="fn",this.stage="main",this.recurse(i);var l='"'+this.USE+" "+this.STRICT+'";\n'+this.filterPrefix()+"var fn="+this.generateFunction("fn","s,l,a,i")+a+this.watchFns()+"return fn;",c=new Function("$filter","ensureSafeMemberName","ensureSafeObject","ensureSafeFunction","getStringValue","ensureSafeAssignContext","ifDefined","plus","text",l)(this.$filter,en,nn,rn,tn,on,an,sn,e);return this.state=this.stage=void 0,c.literal=hn(i),c.constant=pn(i),c},USE:"use",STRICT:"strict",watchFns:function(){var e=[],t=this.state.inputs,n=this;return r(t,function(t){e.push("var "+t+"="+n.generateFunction(t,"s"))}),t.length&&e.push("fn.inputs=["+t.join(",")+"];"),e.join("")},generateFunction:function(e,t){return"function("+t+"){"+this.varsPrefix(e)+this.body(e)+"};"},filterPrefix:function(){var e=[],t=this;return r(this.state.filters,function(n,r){e.push(n+"=$filter("+t.escape(r)+")")}),e.length?"var "+e.join(",")+";":""},varsPrefix:function(e){return this.state[e].vars.length?"var "+this.state[e].vars.join(",")+";":""},body:function(e){return this.state[e].body.join("")},recurse:function(e,t,n,i,o,a){var s,u,l,c,f,d=this;if(i=i||h,!a&&$(e.watchId))return t=t||this.nextId(),void this.if_("i",this.lazyAssign(t,this.computedMember("i",e.watchId)),this.lazyRecurse(e,t,n,i,o,!0));switch(e.type){case yo.Program:r(e.body,function(t,n){d.recurse(t.expression,void 0,void 0,function(e){u=e}),n!==e.body.length-1?d.current().body.push(u,";"):d.return_(u)});break;case yo.Literal:c=this.escape(e.value),this.assign(t,c),i(c);break;case yo.UnaryExpression:this.recurse(e.argument,void 0,void 0,function(e){u=e}),c=e.operator+"("+this.ifDefined(u,0)+")",this.assign(t,c),i(c);break;case yo.BinaryExpression:this.recurse(e.left,void 0,void 0,function(e){s=e}),this.recurse(e.right,void 0,void 0,function(e){u=e}),c="+"===e.operator?this.plus(s,u):"-"===e.operator?this.ifDefined(s,0)+e.operator+this.ifDefined(u,0):"("+s+")"+e.operator+"("+u+")",this.assign(t,c),i(c);break;case yo.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 yo.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 yo.Identifier:t=t||this.nextId(),n&&(n.context="inputs"===d.stage?"s":this.assign(this.nextId(),this.getHasOwnProperty("l",e.name)+"?l:s"),n.computed=!1,n.name=e.name),en(e.name),d.if_("inputs"===d.stage||d.not(d.getHasOwnProperty("l",e.name)),function(){d.if_("inputs"===d.stage||"s",function(){o&&1!==o&&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||vn(e.name))&&d.addEnsureSafeObject(t),i(t);break;case yo.MemberExpression:s=n&&(n.context=this.nextId())||this.nextId(),t=t||this.nextId(),d.recurse(e.object,s,void 0,function(){d.if_(d.notNull(s),function(){o&&1!==o&&d.addEnsureSafeAssignContext(s),e.computed?(u=d.nextId(),d.recurse(e.property,u),d.getStringValue(u),d.addEnsureSafeMemberName(u),o&&1!==o&&d.if_(d.not(d.computedMember(s,u)),d.lazyAssign(d.computedMember(s,u),"{}")),c=d.ensureSafeObject(d.computedMember(s,u)),d.assign(t,c),n&&(n.computed=!0,n.name=u)):(en(e.property.name),o&&1!==o&&d.if_(d.not(d.nonComputedMember(s,e.property.name)),d.lazyAssign(d.nonComputedMember(s,e.property.name),"{}")),c=d.nonComputedMember(s,e.property.name),(d.state.expensiveChecks||vn(e.property.name))&&(c=d.ensureSafeObject(c)),d.assign(t,c),n&&(n.computed=!1,n.name=e.property.name))},function(){d.assign(t,"undefined")}),i(t)},!!o);break;case yo.CallExpression:t=t||this.nextId(),e.filter?(u=d.filter(e.callee.name),l=[],r(e.arguments,function(e){var t=d.nextId();d.recurse(e,t),l.push(t)}),c=u+"("+l.join(",")+")",d.assign(t,c),i(t)):(u=d.nextId(),s={},l=[],d.recurse(e.callee,u,s,function(){d.if_(d.notNull(u),function(){d.addEnsureSafeFunction(u),r(e.arguments,function(e){d.recurse(e,d.nextId(),void 0,function(e){l.push(d.ensureSafeObject(e))})}),s.name?(d.state.expensiveChecks||d.addEnsureSafeObject(s.context),c=d.member(s.context,s.name,s.computed)+"("+l.join(",")+")"):c=u+"("+l.join(",")+")",c=d.ensureSafeObject(c),d.assign(t,c)},function(){d.assign(t,"undefined")}),i(t)}));break;case yo.AssignmentExpression:if(u=this.nextId(),s={},!fn(e.left))throw fo("lval","Trying to assign a value to a non l-value");this.recurse(e.left,void 0,s,function(){d.if_(d.notNull(s.context),function(){d.recurse(e.right,u),d.addEnsureSafeObject(d.member(s.context,s.name,s.computed)),d.addEnsureSafeAssignContext(s.context),c=d.member(s.context,s.name,s.computed)+e.operator+u,d.assign(t,c),i(t||c)})},1);break;case yo.ArrayExpression:l=[],r(e.elements,function(e){d.recurse(e,d.nextId(),void 0,function(e){l.push(e)})}),c="["+l.join(",")+"]",this.assign(t,c),i(c);break;case yo.ObjectExpression:l=[],f=!1,r(e.properties,function(e){e.computed&&(f=!0)}),f?(t=t||this.nextId(),this.assign(t,"{}"),r(e.properties,function(e){e.computed?(s=d.nextId(),d.recurse(e.key,s)):s=e.key.type===yo.Identifier?e.key.name:""+e.key.value,u=d.nextId(),d.recurse(e.value,u),d.assign(d.member(t,s,e.computed),u)})):(r(e.properties,function(t){d.recurse(t.value,e.constant?void 0:d.nextId(),void 0,function(e){l.push(d.escape(t.key.type===yo.Identifier?t.key.name:""+t.key.value)+":"+e)})}),c="{"+l.join(",")+"}",this.assign(t,c)),i(t||c);break;case yo.ThisExpression:this.assign(t,"s"),i("s");break;case yo.LocalsExpression:this.assign(t,"l"),i("l");break;case yo.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){if(e)return this.current().body.push(e,"=",t,";"),e},filter:function(e){return this.state.filters.hasOwnProperty(e)||(this.state.filters[e]=this.nextId(!0)),this.state.filters[e]},ifDefined:function(e,t){return"ifDefined("+e+","+this.escape(t)+")"},plus:function(e,t){return"plus("+e+","+t+")"},return_:function(e){this.current().body.push("return ",e,";")},if_:function(e,t,n){if(e===!0)t();else{var r=this.current().body;r.push("if(",e,"){"),t(),r.push("}"),n&&(r.push("else{"),n(),r.push("}"))}},not:function(e){return"!("+e+")"},notNull:function(e){return e+"!=null"},nonComputedMember:function(e,t){var n=/[$_a-zA-Z][$_a-zA-Z0-9]*/,r=/[^$_a-zA-Z0-9]/g;return n.test(t)?e+"."+t:e+'["'+t.replace(r,this.stringEscapeFn)+'"]'},computedMember:function(e,t){return e+"["+t+"]"},member:function(e,t,n){return n?this.computedMember(e,t):this.nonComputedMember(e,t)},addEnsureSafeObject:function(e){this.current().body.push(this.ensureSafeObject(e),";")},addEnsureSafeMemberName:function(e){this.current().body.push(this.ensureSafeMemberName(e),";")},addEnsureSafeFunction:function(e){this.current().body.push(this.ensureSafeFunction(e),";")},addEnsureSafeAssignContext:function(e){this.current().body.push(this.ensureSafeAssignContext(e),";")},ensureSafeObject:function(e){return"ensureSafeObject("+e+",text)"},ensureSafeMemberName:function(e){return"ensureSafeMemberName("+e+",text)"},ensureSafeFunction:function(e){return"ensureSafeFunction("+e+",text)"},getStringValue:function(e){this.assign(e,"getStringValue("+e+")")},ensureSafeAssignContext:function(e){return"ensureSafeAssignContext("+e+",text)"},lazyRecurse:function(e,t,n,r,i,o){var a=this;return function(){a.recurse(e,t,n,r,i,o)}},lazyAssign:function(e,t){var n=this;return function(){n.assign(e,t)}},stringEscapeRegex:/[^ a-zA-Z0-9]/g,stringEscapeFn:function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)},escape:function(e){if(w(e))return"'"+e.replace(this.stringEscapeRegex,this.stringEscapeFn)+"'";if(x(e))return e.toString();if(e===!0)return"true";if(e===!1)return"false";if(null===e)return"null";if("undefined"==typeof e)return"undefined";throw fo("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]}},gn.prototype={compile:function(e,t){var n=this,i=this.astBuilder.ast(e);this.expression=e,this.expensiveChecks=t,ln(i,n.$filter);var o,a;(o=dn(i))&&(a=this.recurse(o));var s,u=cn(i.body);u&&(s=[],r(u,function(e,t){var r=n.recurse(e);e.input=r,s.push(r),e.watchId=t}));var l=[];r(i.body,function(e){l.push(n.recurse(e.expression))});var c=0===i.body.length?h:1===i.body.length?l[0]:function(e,t){var n;return r(l,function(r){n=r(e,t)}),n};return a&&(c.assign=function(e,t,n){return a(e,n,t)}),s&&(c.inputs=s),c.literal=hn(i),c.constant=pn(i),c},recurse:function(e,t,n){var i,o,a,s=this;if(e.input)return this.inputs(e.input,e.watchId);switch(e.type){case yo.Literal:return this.value(e.value,t);case yo.UnaryExpression:return o=this.recurse(e.argument),this["unary"+e.operator](o,t);case yo.BinaryExpression:return i=this.recurse(e.left),o=this.recurse(e.right),this["binary"+e.operator](i,o,t);case yo.LogicalExpression:return i=this.recurse(e.left),o=this.recurse(e.right),this["binary"+e.operator](i,o,t);case yo.ConditionalExpression:return this["ternary?:"](this.recurse(e.test),this.recurse(e.alternate),this.recurse(e.consequent),t);case yo.Identifier:return en(e.name,s.expression),s.identifier(e.name,s.expensiveChecks||vn(e.name),t,n,s.expression);case yo.MemberExpression:return i=this.recurse(e.object,!1,!!n),e.computed||(en(e.property.name,s.expression),o=e.property.name),e.computed&&(o=this.recurse(e.property)),e.computed?this.computedMember(i,o,t,n,s.expression):this.nonComputedMember(i,o,s.expensiveChecks,t,n,s.expression);case yo.CallExpression:return a=[],r(e.arguments,function(e){a.push(s.recurse(e))}),e.filter&&(o=this.$filter(e.callee.name)),e.filter||(o=this.recurse(e.callee,!0)),e.filter?function(e,n,r,i){for(var s=[],u=0;u":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)>t(r,i,o,a);return n?{value:s}:s}},"binary<=":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)<=t(r,i,o,a);return n?{value:s}:s}},"binary>=":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)>=t(r,i,o,a);return n?{value:s}:s}},"binary&&":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)&&t(r,i,o,a);return n?{value:s}:s}},"binary||":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)||t(r,i,o,a);return n?{value:s}:s}},"ternary?:":function(e,t,n,r){return function(i,o,a,s){var u=e(i,o,a,s)?t(i,o,a,s):n(i,o,a,s);return r?{value:u}:u}},value:function(e,t){return function(){return t?{context:void 0,name:void 0,value:e}:e}},identifier:function(e,t,n,r,i){return function(o,a,s,u){var l=a&&e in a?a:o;r&&1!==r&&l&&!l[e]&&(l[e]={});var c=l?l[e]:void 0;return t&&nn(c,i),n?{context:l,name:e,value:c}:c}},computedMember:function(e,t,n,r,i){return function(o,a,s,u){var l,c,f=e(o,a,s,u);return null!=f&&(l=t(o,a,s,u),l=tn(l),en(l,i),r&&1!==r&&(on(f),f&&!f[l]&&(f[l]={})),c=f[l],nn(c,i)),n?{context:f,name:l,value:c}:c}},nonComputedMember:function(e,t,n,r,i,o){return function(a,s,u,l){var c=e(a,s,u,l);i&&1!==i&&(on(c),c&&!c[t]&&(c[t]={}));var f=null!=c?c[t]:void 0;return(n||vn(t))&&nn(f,o),r?{context:c,name:t,value:f}:f}},inputs:function(e,t){return function(n,r,i,o){return o?o[t]:e(n,r,i)}}};var bo=function(e,t,n){this.lexer=e,this.$filter=t,this.options=n,this.ast=new yo(e,n),this.astCompiler=n.csp?new gn(this.ast,t):new mn(this.ast,t)};bo.prototype={constructor:bo,parse:function(e){return this.astCompiler.compile(e,this.options.expensiveChecks)}};var wo=Object.prototype.valueOf,xo=t("$sce"),ko={HTML:"html",CSS:"css",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},Co=t("$compile"),So=e.document.createElement("a"),_o=In(e.location.href);jn.$inject=["$document"],Rn.$inject=["$provide"];var Eo=22,Do=".",Ao="0";qn.$inject=["$locale"],Yn.$inject=["$locale"];var To={yyyy:Qn("FullYear",4,0,!1,!0),yy:Qn("FullYear",2,0,!0,!0),y:Qn("FullYear",1,0,!1,!0),MMMM:Jn("Month"),MMM:Jn("Month",!0),MM:Qn("Month",2,1),M:Qn("Month",1,1),LLLL:Jn("Month",!1,!0),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:Jn("Day"),EEE:Jn("Day",!0),a:nr,Z:Xn,ww:tr(2),w:tr(1),G:rr,GG:rr,GGG:rr,GGGG:ir},Mo=/((?:[^yMLdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|m+|s+|a|Z|G+|w+))(.*)/,Oo=/^\-?\d+$/;or.$inject=["$locale"];var Fo=m(Fr),Io=m(Ir);lr.$inject=["$parse"];var No=m({restrict:"E",compile:function(e,t){if(!t.href&&!t.xlinkHref)return function(e,t){if("a"===t[0].nodeName.toLowerCase()){var n="[object SVGAnimatedString]"===qr.call(t.prop("href"))?"xlink:href":"href";t.on("click",function(e){t.attr(n)||e.preventDefault()})}}}}),Po={};r(Ei,function(e,t){function n(e,n,i){e.$watch(i[r],function(e){i.$set(t,!!e)})}if("multiple"!=e){var r=gt("ng-"+t),i=n;"checked"===e&&(i=function(e,t,i){i.ngModel!==i[r]&&n(e,t,i)}),Po[r]=function(){return{restrict:"A",priority:100,link:i}}}}),r(Ai,function(e,t){Po[t]=function(){return{priority:100,link:function(e,n,r){if("ngPattern"===t&&"/"==r.ngPattern.charAt(0)){var i=r.ngPattern.match(Tr);if(i)return void r.$set("ngPattern",new RegExp(i[1],i[2]))}e.$watch(r[t],function(e){r.$set(t,e)})}}}}),r(["src","srcset","href"],function(e){var t=gt("ng-"+e);Po[t]=function(){return{priority:99,link:function(n,r,i){var o=e,a=e;"href"===e&&"[object SVGAnimatedString]"===qr.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(jr&&o&&r.prop(o,i[a]))):void("href"===e&&i.$set(a,null))})}}}});var jo={$addControl:h,$$renameControl:fr,$removeControl:h,$setValidity:h,$setDirty:h,$setPristine:h,$setSubmitted:h},Lo="ng-submitted";dr.$inject=["$element","$attrs","$scope","$animate","$interpolate"];var Ro=function(e){return["$timeout","$parse",function(t,n){function r(e){return""===e?n('this[""]').assign:n(e).assign||h}var i={name:"form",restrict:e?"EAC":"E",require:["form","^^?form"],controller:dr,compile:function(n,i){n.addClass(wa).addClass(ya);var o=i.name?"name":!(!e||!i.ngForm)&&"ngForm";return{pre:function(e,n,i,a){var s=a[0];if(!("action"in i)){var u=function(t){e.$apply(function(){s.$commitViewValue(),s.$setSubmitted()}),t.preventDefault()};pi(n[0],"submit",u),n.on("$destroy",function(){t(function(){mi(n[0],"submit",u)},0,!1)})}var c=a[1]||s.$$parentForm;c.$addControl(s);var f=o?r(s.$name):h;o&&(f(e,s),i.$observe(o,function(t){s.$name!==t&&(f(e,void 0),s.$$parentForm.$$renameControl(s,t),(f=r(s.$name))(e,s))})),n.on("$destroy",function(){s.$$parentForm.$removeControl(s),f(e,void 0),l(s,jo)})}}}};return i}]},Uo=Ro(),Vo=Ro(!0),zo=/^\d{4,}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+(?:[+-][0-2]\d:[0-5]\d|Z)$/,Ho=/^[a-z][a-z\d.+-]*:\/*(?:[^:@]+(?::[^@]+)?@)?(?:[^\s:\/?#]+|\[[a-f\d:]+\])(?::\d+)?(?:\/[^?#]*)?(?:\?[^#]*)?(?:#.*)?$/i,qo=/^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+)*@[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*$/,Yo=/^\s*(\-|\+)?(\d+|(\d*(\.\d*)))([eE][+-]?\d+)?\s*$/,Wo=/^(\d{4,})-(\d{2})-(\d{2})$/,Bo=/^(\d{4,})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,Go=/^(\d{4,})-W(\d\d)$/,Zo=/^(\d{4,})-(\d\d)$/,Qo=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,Jo="keydown wheel mousedown",Xo=pe();r("date,datetime-local,month,time,week".split(","),function(e){Xo[e]=!0});var Ko={text:pr,date:$r("date",Wo,vr(Wo,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":$r("datetimelocal",Bo,vr(Bo,["yyyy","MM","dd","HH","mm","ss","sss"]),"yyyy-MM-ddTHH:mm:ss.sss"),time:$r("time",Qo,vr(Qo,["HH","mm","ss","sss"]),"HH:mm:ss.sss"),week:$r("week",Go,gr,"yyyy-Www"),month:$r("month",Zo,vr(Zo,["yyyy","MM"]),"yyyy-MM"),number:br,url:wr,email:xr,radio:kr,checkbox:Sr,hidden:h,button:h,submit:h,reset:h,file:h},ea=["$browser","$sniffer","$filter","$parse",function(e,t,n,r){return{restrict:"E",require:["?ngModel"],link:{pre:function(i,o,a,s){s[0]&&(Ko[Fr(a.type)]||Ko.text)(i,o,a,s[0],t,e,n,r)}}}}],ta=/^(true|false|\d+)$/,na=function(){return{restrict:"A",priority:100,compile:function(e,t){return ta.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)})}}}},ra=["$compile",function(e){return{restrict:"AC",compile:function(t){return e.$$addBindingClass(t),function(t,n,r){e.$$addBindingInfo(n,r.ngBind),n=n[0],t.$watch(r.ngBind,function(e){n.textContent=v(e)?"":e})}}}}],ia=["$interpolate","$compile",function(e,t){return{compile:function(n){return t.$$addBindingClass(n),function(n,r,i){var o=e(r.attr(i.$attr.ngBindTemplate));t.$$addBindingInfo(r,o.expressions),r=r[0],i.$observe("ngBindTemplate",function(e){r.textContent=v(e)?"":e})}}}}],oa=["$sce","$parse","$compile",function(e,t,n){return{restrict:"A",compile:function(r,i){var o=t(i.ngBindHtml),a=t(i.ngBindHtml,function(t){return e.valueOf(t)});return n.$$addBindingClass(r),function(t,r,i){n.$$addBindingInfo(r,i.ngBindHtml),t.$watch(a,function(){var n=o(t);r.html(e.getTrustedHtml(n)||"")})}}}}],aa=m({restrict:"A",require:"ngModel",link:function(e,t,n,r){r.$viewChangeListeners.push(function(){e.$eval(n.ngChange)})}}),sa=_r("",!0),ua=_r("Odd",0),la=_r("Even",1),ca=cr({compile:function(e,t){t.$set("ngCloak",void 0),e.removeClass("ng-cloak")}}),fa=[function(){return{restrict:"A",scope:!0,controller:"@",priority:500}}],da={},ha={blur:!0,focus:!0};r("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),function(e){var t=gt("ng-"+e);da[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})};ha[e]&&r.$$phase?t.$evalAsync(i):t.$apply(i)})}}}}]});var pa=["$animate","$compile",function(e,t){return{multiElement:!0,transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(n,r,i,o,a){var s,u,l;n.$watch(i.ngIf,function(n){n?u||a(function(n,o){u=o,n[n.length++]=t.$$createComment("end ngIf",i.ngIf),s={clone:n},e.enter(n,r.parent(),r)}):(l&&(l.remove(),l=null),u&&(u.$destroy(),u=null),s&&(l=he(s.clone),e.leave(l).then(function(){l=null}),s=null))})}}}],ma=["$templateRequest","$anchorScroll","$animate",function(e,t,n){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:Br.noop,compile:function(r,i){var o=i.ngInclude||i.src,a=i.onload||"",s=i.autoscroll;return function(r,i,u,l,c){var f,d,h,p=0,m=function(){d&&(d.remove(),d=null),f&&(f.$destroy(),f=null),h&&(n.leave(h).then(function(){d=null}),d=h,h=null)};r.$watch(o,function(o){var u=function(){!$(s)||s&&!r.$eval(s)||t()},d=++p;o?(e(o,!0).then(function(e){if(!r.$$destroyed&&d===p){var t=r.$new();l.template=e;var s=c(t,function(e){m(),n.enter(e,null,i).then(u)});f=t,h=s,f.$emit("$includeContentLoaded",o),r.$eval(a)}},function(){r.$$destroyed||d===p&&(m(),r.$emit("$includeContentError",o))}),r.$emit("$includeContentRequested",o)):(m(),l.template=null)})}}}}],ga=["$compile",function(t){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(n,r,i,o){return qr.call(r[0]).match(/SVG/)?(r.empty(),void t(_e(o.template,e.document).childNodes)(n,function(e){r.append(e)},{futureParentElement:r})):(r.html(o.template),void t(r.contents())(n))}}}],va=cr({priority:450,compile:function(){return{pre:function(e,t,n){e.$eval(n.ngInit)}}}}),$a=function(){return{restrict:"A",priority:100,require:"ngModel",link:function(e,t,n,i){var o=t.attr(n.$attr.ngList)||", ",a="false"!==n.ngTrim,s=a?Jr(o):o,u=function(e){if(!v(e)){var t=[];return e&&r(e.split(s),function(e){e&&t.push(a?Jr(e):e)}),t}};i.$parsers.push(u),i.$formatters.push(function(e){if(Zr(e))return e.join(o)}),i.$isEmpty=function(e){return!e||!e.length}}}},ya="ng-valid",ba="ng-invalid",wa="ng-pristine",xa="ng-dirty",ka="ng-untouched",Ca="ng-touched",Sa="ng-pending",_a="ng-empty",Ea="ng-not-empty",Da=t("ngModel"),Aa=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate","$timeout","$rootScope","$q","$interpolate",function(e,t,n,i,o,a,s,u,l,c){this.$viewValue=Number.NaN,this.$modelValue=Number.NaN,this.$$rawModelValue=void 0,this.$validators={},this.$asyncValidators={},this.$parsers=[],this.$formatters=[],this.$viewChangeListeners=[],this.$untouched=!0,this.$touched=!1,this.$pristine=!0,this.$dirty=!1,this.$valid=!0,this.$invalid=!1,this.$error={},this.$$success={},this.$pending=void 0,this.$name=c(n.name||"",!1)(e),this.$$parentForm=jo;var f,d=o(n.ngModel),p=d.assign,m=d,g=p,y=null,b=this;this.$$setOptions=function(e){if(b.$options=e,e&&e.getterSetter){var t=o(n.ngModel+"()"),r=o(n.ngModel+"($$$p)");m=function(e){var n=d(e);return C(n)&&(n=t(e)),n},g=function(e,t){C(d(e))?r(e,{$$$p:t}):p(e,t)}}else if(!d.assign)throw Da("nonassign","Expression '{0}' is non-assignable. Element: {1}",n.ngModel,Q(i))},this.$render=h,this.$isEmpty=function(e){return v(e)||""===e||null===e||e!==e},this.$$updateEmptyClasses=function(e){b.$isEmpty(e)?(a.removeClass(i,Ea),a.addClass(i,_a)):(a.removeClass(i,_a),a.addClass(i,Ea))};var w=0;Er({ctrl:this,$element:i,set:function(e,t){e[t]=!0; +},unset:function(e,t){delete e[t]},$animate:a}),this.$setPristine=function(){b.$dirty=!1,b.$pristine=!0,a.removeClass(i,xa),a.addClass(i,wa)},this.$setDirty=function(){b.$dirty=!0,b.$pristine=!1,a.removeClass(i,wa),a.addClass(i,xa),b.$$parentForm.$setDirty()},this.$setUntouched=function(){b.$touched=!1,b.$untouched=!0,a.setClass(i,ka,Ca)},this.$setTouched=function(){b.$touched=!0,b.$untouched=!1,a.setClass(i,Ca,ka)},this.$rollbackViewValue=function(){s.cancel(y),b.$viewValue=b.$$lastCommittedViewValue,b.$render()},this.$validate=function(){if(!x(b.$modelValue)||!isNaN(b.$modelValue)){var e=b.$$lastCommittedViewValue,t=b.$$rawModelValue,n=b.$valid,r=b.$modelValue,i=b.$options&&b.$options.allowInvalid;b.$$runValidators(t,e,function(e){i||n===e||(b.$modelValue=e?t:void 0,b.$modelValue!==r&&b.$$writeModelToScope())})}},this.$$runValidators=function(e,t,n){function i(){var e=b.$$parserName||"parse";return v(f)?(s(e,null),!0):(f||(r(b.$validators,function(e,t){s(t,null)}),r(b.$asyncValidators,function(e,t){s(t,null)})),s(e,f),f)}function o(){var n=!0;return r(b.$validators,function(r,i){var o=r(e,t);n=n&&o,s(i,o)}),!!n||(r(b.$asyncValidators,function(e,t){s(t,null)}),!1)}function a(){var n=[],i=!0;r(b.$asyncValidators,function(r,o){var a=r(e,t);if(!O(a))throw Da("nopromise","Expected asynchronous validator to return a promise but got '{0}' instead.",a);s(o,void 0),n.push(a.then(function(){s(o,!0)},function(){i=!1,s(o,!1)}))}),n.length?l.all(n).then(function(){u(i)},h):u(!0)}function s(e,t){c===w&&b.$setValidity(e,t)}function u(e){c===w&&n(e)}w++;var c=w;return i()&&o()?void a():void u(!1)},this.$commitViewValue=function(){var e=b.$viewValue;s.cancel(y),(b.$$lastCommittedViewValue!==e||""===e&&b.$$hasNativeValidators)&&(b.$$updateEmptyClasses(e),b.$$lastCommittedViewValue=e,b.$pristine&&this.$setDirty(),this.$$parseAndValidate())},this.$$parseAndValidate=function(){function t(){b.$modelValue!==o&&b.$$writeModelToScope()}var n=b.$$lastCommittedViewValue,r=n;if(f=!v(r)||void 0)for(var i=0;i=0;t--){var r=k.items[t];He($(r.group)?r.element.parentNode:r.element)}k=C.getOptions();var i={};if(w&&n.prepend(h),k.items.forEach(function(e){var t;$(e.group)?(t=i[e.group],t||(t=l.cloneNode(!1),S.appendChild(t),t.label=null===e.group?"null":e.group,i[e.group]=t),c(e,t)):c(e,S)}),n[0].appendChild(S),m.$render(),!m.$isEmpty(e)){var o=p.readValue(),a=C.trackBy||g;(a?U(e,o):e===o)||(m.$setViewValue(o),m.$render())}}for(var h,p=s[0],m=s[1],g=o.multiple,v=0,y=n.children(),b=y.length;v0&&(e=new RegExp("^"+e+"$")),e&&!e.test)throw t("ngPattern")("noregexp","Expected {0} to be a RegExp but was {1}. Element: {2}",a,e,Q(n));o=e||void 0,i.$validate()}),i.$validators.pattern=function(e,t){return i.$isEmpty(t)||v(o)||o.test(t)}}}}},rs=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i=-1;n.$observe("maxlength",function(e){var t=f(e);i=isNaN(t)?-1:t,r.$validate()}),r.$validators.maxlength=function(e,t){return i<0||r.$isEmpty(t)||t.length<=i}}}}},is=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i=0;n.$observe("minlength",function(e){i=f(e)||0,r.$validate()}),r.$validators.minlength=function(e,t){return r.$isEmpty(t)||t.length>=i}}}}};return e.angular.bootstrap?void(e.console&&console.log("WARNING: Tried to load angular more than once.")):(ue(),ye(Br),Br.module("ngLocale",[],["$provide",function(e){function t(e){e+="";var t=e.indexOf(".");return t==-1?0:e.length-t-1}function n(e,n){var r=n;void 0===r&&(r=Math.min(t(e),3));var i=Math.pow(10,r),o=(e*i|0)%i;return{v:r,f:o}}var r={ZERO:"zero",ONE:"one",TWO:"two",FEW:"few",MANY:"many",OTHER:"other"};e.value("$locale",{DATETIME_FORMATS:{AMPMS:["AM","PM"],DAY:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],ERANAMES:["Before Christ","Anno Domini"],ERAS:["BC","AD"],FIRSTDAYOFWEEK:6,MONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],SHORTDAY:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],SHORTMONTH:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],STANDALONEMONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],WEEKENDRANGE:[5,6],fullDate:"EEEE, MMMM d, y",longDate:"MMMM d, y",medium:"MMM d, y h:mm:ss a",mediumDate:"MMM d, y",mediumTime:"h:mm:ss a","short":"M/d/yy h:mm a",shortDate:"M/d/yy",shortTime:"h:mm a"},NUMBER_FORMATS:{CURRENCY_SYM:"$",DECIMAL_SEP:".",GROUP_SEP:",",PATTERNS:[{gSize:3,lgSize:3,maxFrac:3,minFrac:0,minInt:1,negPre:"-",negSuf:"",posPre:"",posSuf:""},{gSize:3,lgSize:3,maxFrac:2,minFrac:2,minInt:1,negPre:"-¤",negSuf:"",posPre:"¤",posSuf:""}]},id:"en-us",localeID:"en_US",pluralCat:function(e,t){var i=0|e,o=n(e,t);return 1==i&&0==o.v?r.ONE:r.OTHER}})}]),void Lr(e.document).ready(function(){re(e.document,ie)}))}(window),!window.angular.$$csp().noInlineStyle&&window.angular.element(document.head).prepend('')},{}],9:[function(e,t,n){e("./angular"),t.exports=angular},{"./angular":8}],10:[function(e,t,n){(function(){var e,n,r,i,o,a,s,u,l=[].slice,c={}.hasOwnProperty,f=function(e,t){function n(){this.constructor=e}for(var r in t)c.call(t,r)&&(e[r]=t[r]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e};s=function(){},n=function(){function e(){}return e.prototype.addEventListener=e.prototype.on,e.prototype.on=function(e,t){return this._callbacks=this._callbacks||{},this._callbacks[e]||(this._callbacks[e]=[]),this._callbacks[e].push(t),this},e.prototype.emit=function(){var e,t,n,r,i,o;if(r=arguments[0],e=2<=arguments.length?l.call(arguments,1):[],this._callbacks=this._callbacks||{},n=this._callbacks[r])for(i=0,o=n.length;i
    '),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;o'+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;s\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;o'+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;i',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;n0){for(a=["TB","GB","MB","KB","b"],n=s=0,u=a.length;s=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;n0){for(o=0,a=n.length;o1024*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;n=t)&&(r=this.getQueuedFiles(),r.length>0)){if(this.options.uploadMultiple)return this.processFiles(r.slice(0,t-n));for(;e=j;c=0<=j?++M:--M)o.append(this._getParamName(c),e[c],this._renameFilename(e[c].name));return this.submitRequest(x,o,e)},t.prototype.submitRequest=function(e,t,n){return e.send(t)},t.prototype._finished=function(e,n,r){var i,o,a;for(o=0,a=e.length;oc;)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){if("readystatechange"!==n.type||"complete"===r.readyState)return("load"===n.type?e:r)[u](s+n.type,o,!1),!i&&(i=!0)?t.call(e,n.type||n):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(){if(e.autoDiscover)return e.discover()},i(window,e._autoDiscoverFunction)}).call(this)},{}],11:[function(e,t,n){(function(e){(function(){function e(e){this.tokens=[],this.tokens.links={},this.options=e||f.defaults,this.rules=d.normal,this.options.gfm&&(this.options.tables?this.rules=d.tables:this.rules=d.gfm)}function r(e,t){if(this.options=t||f.defaults,this.links=e,this.rules=h.normal,this.renderer=this.options.renderer||new i,this.renderer.options=this.options,!this.links)throw new Error("Tokens array requires a `links` property.");this.options.gfm?this.options.breaks?this.rules=h.breaks:this.rules=h.gfm:this.options.pedantic&&(this.rules=h.pedantic)}function i(e){this.options=e||{}}function o(e){this.tokens=[],this.token=null,this.options=e||f.defaults,this.options.renderer=this.options.renderer||new i,this.renderer=this.options.renderer,this.renderer.options=this.options}function a(e,t){return e.replace(t?/&/g:/&(?!#?\w+;)/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function s(e){return e.replace(/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\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;c1&&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;i.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 vr)r=vr[n],i=t[r],g(i)||(e[r]=i);return e}function $(e){v(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),$r===!1&&($r=!0,n.updateOffset(this),$r=!1)}function y(e){return e instanceof $||null!=e&&null!=e._isAMomentObject}function b(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function w(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=b(t)),n}function x(e,t,n){var r,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(r=0;r0?"future":"past"];return _(n)?n(t):n.replace(/%s/i,t)}function P(e,t){var n=e.toLowerCase();Dr[n]=Dr[n+"s"]=Dr[t]=e}function j(e){return"string"==typeof e?Dr[e]||Dr[e.toLowerCase()]:void 0}function L(e){var t,n,r={};for(n in e)l(e,n)&&(t=j(n),t&&(r[t]=e[n]));return r}function R(e,t){Ar[e]=t}function U(e){var t=[];for(var n in e)t.push({unit:n,priority:Ar[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}function V(e,t){return function(r){return null!=r?(H(this,e,r),n.updateOffset(this,t),this):z(this,e)}}function z(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function H(e,t,n){e.isValid()&&e._d["set"+(e._isUTC?"UTC":"")+t](n)}function q(e){return e=j(e),_(this[e])?this[e]():this}function Y(e,t){if("object"==typeof e){e=L(e);for(var n=U(e),r=0;r=0;return(o?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}function B(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(Fr[e]=i),t&&(Fr[t[0]]=function(){return W(i.apply(this,arguments),t[1],t[2])}),n&&(Fr[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function G(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function Z(e){var t,n,r=e.match(Tr);for(t=0,n=r.length;t=0&&Mr.test(e);)e=e.replace(Mr,n),Mr.lastIndex=0,r-=1;return e}function X(e,t,n){Jr[e]=_(t)?t:function(e,r){return e&&n?n:t}}function K(e,t){return l(Jr,e)?Jr[e](t._strict,t._locale):new RegExp(ee(e))}function ee(e){return te(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i}))}function te(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function ne(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),"number"==typeof t&&(r=function(e,n){n[t]=w(e)}),n=0;n=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}function be(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function we(e,t,n){var r=7+t-n,i=(7+be(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 l<=0?(o=e-1,a=ge(o)+l):l>ge(e)?(o=e+1,a=l-ge(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 a<1?(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(ge(e)-r+i)/7}function Se(e){return ke(e,this._week.dow,this._week.doy).week}function _e(){return this._week.dow}function Ee(){return this._week.doy}function De(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Ae(e){var t=ke(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Te(e,t){return"string"!=typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"==typeof e?e:null):parseInt(e,10)}function Me(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Oe(e,t){return i(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]}function Fe(e){return this._weekdaysShort[e.day()]}function Ie(e){return this._weekdaysMin[e.day()]}function Ne(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=f([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?(i=wr.call(this._weekdaysParse,a),i!==-1?i:null):"ddd"===t?(i=wr.call(this._shortWeekdaysParse,a),i!==-1?i:null):(i=wr.call(this._minWeekdaysParse,a),i!==-1?i:null):"dddd"===t?(i=wr.call(this._weekdaysParse,a),i!==-1?i:(i=wr.call(this._shortWeekdaysParse,a),i!==-1?i:(i=wr.call(this._minWeekdaysParse,a),i!==-1?i:null))):"ddd"===t?(i=wr.call(this._shortWeekdaysParse,a),i!==-1?i:(i=wr.call(this._weekdaysParse,a),i!==-1?i:(i=wr.call(this._minWeekdaysParse,a),i!==-1?i:null))):(i=wr.call(this._minWeekdaysParse,a),i!==-1?i:(i=wr.call(this._weekdaysParse,a),i!==-1?i:(i=wr.call(this._shortWeekdaysParse,a),i!==-1?i:null)))}function Pe(e,t,n){var r,i,o;if(this._weekdaysParseExact)return Ne.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=f([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 je(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Te(e,this.localeData()),this.add(e-t,"d")):t}function Le(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 Re(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Me(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Ue(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||He.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(l(this,"_weekdaysRegex")||(this._weekdaysRegex=$i),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Ve(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||He.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(l(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=yi),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function ze(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||He.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(l(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=bi),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function He(){function e(e,t){return t.length-e.length}var t,n,r,i,o,a=[],s=[],u=[],l=[];for(t=0;t<7;t++)n=f([2e3,1]).day(t),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),o=this.weekdays(n,""),a.push(r),s.push(i),u.push(o),l.push(r),l.push(i),l.push(o);for(a.sort(e),s.sort(e),u.sort(e),l.sort(e),t=0;t<7;t++)s[t]=te(s[t]),u[t]=te(u[t]),l[t]=te(l[t]);this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function qe(){return this.hours()%12||12}function Ye(){return this.hours()||24}function We(e,t){B(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function Be(e,t){return t._meridiemParse}function Ge(e){return"p"===(e+"").toLowerCase().charAt(0)}function Ze(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}function Qe(e){return e?e.toLowerCase().replace("_","-"):e}function Je(e){for(var t,n,r,i,o=0;o0;){if(r=Xe(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&x(i,n,!0)>=t-1)break;t--}o++}return null}function Xe(n){var r=null;if(!Si[n]&&"undefined"!=typeof t&&t&&t.exports)try{r=wi._abbr,e("./locale/"+n),Ke(r)}catch(i){}return Si[n]}function Ke(e,t){var n;return e&&(n=g(t)?nt(e):et(e,t),n&&(wi=n)),wi._abbr}function et(e,t){if(null!==t){var n=Ci;return t.abbr=e,null!=Si[e]?(S("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=Si[e]._config):null!=t.parentLocale&&(null!=Si[t.parentLocale]?n=Si[t.parentLocale]._config:S("parentLocaleUndefined","specified parentLocale is not defined yet. See http://momentjs.com/guides/#/warnings/parent-locale/")),Si[e]=new A(D(n,t)),Ke(e),Si[e]}return delete Si[e],null}function tt(e,t){if(null!=t){var n,r=Ci;null!=Si[e]&&(r=Si[e]._config),t=D(r,t),n=new A(t),n.parentLocale=Si[e],Si[e]=n,Ke(e)}else null!=Si[e]&&(null!=Si[e].parentLocale?Si[e]=Si[e].parentLocale:null!=Si[e]&&delete Si[e]);return Si[e]}function nt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return wi;if(!i(e)){if(t=Xe(e))return t;e=[e]}return Je(e)}function rt(){return br(Si)}function it(e){var t,n=e._a;return n&&h(e).overflow===-2&&(t=n[ei]<0||n[ei]>11?ei:n[ti]<1||n[ti]>oe(n[Kr],n[ei])?ti:n[ni]<0||n[ni]>24||24===n[ni]&&(0!==n[ri]||0!==n[ii]||0!==n[oi])?ni:n[ri]<0||n[ri]>59?ri:n[ii]<0||n[ii]>59?ii:n[oi]<0||n[oi]>999?oi:-1,h(e)._overflowDayOfYear&&(tti)&&(t=ti),h(e)._overflowWeeks&&t===-1&&(t=ai),h(e)._overflowWeekday&&t===-1&&(t=si),h(e).overflow=t),e}function ot(e){var t,n,r,i,o,a,s=e._i,u=_i.exec(s)||Ei.exec(s);if(u){for(h(e).iso=!0,t=0,n=Ai.length;tge(i)&&(h(e)._overflowDayOfYear=!0),n=be(i,0,e._dayOfYear),e._a[ei]=n.getUTCMonth(),e._a[ti]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=o[t]=r[t];for(;t<7;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[ni]&&0===e._a[ri]&&0===e._a[ii]&&0===e._a[oi]&&(e._nextDay=!0,e._a[ni]=0),e._d=(e._useUTC?be:ye).apply(null,o),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[ni]=24)}}function ct(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=st(t.GG,e._a[Kr],ke(yt(),1,4).year),r=st(t.W,1),i=st(t.E,1),(i<1||i>7)&&(u=!0)):(o=e._locale._week.dow,a=e._locale._week.doy,n=st(t.gg,e._a[Kr],ke(yt(),o,a).year),r=st(t.w,1),null!=t.d?(i=t.d,(i<0||i>6)&&(u=!0)):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(u=!0)):i=o),r<1||r>Ce(n,o,a)?h(e)._overflowWeeks=!0:null!=u?h(e)._overflowWeekday=!0:(s=xe(n,r,i,o,a),e._a[Kr]=s.year,e._dayOfYear=s.dayOfYear)}function ft(e){if(e._f===n.ISO_8601)return void ot(e);e._a=[],h(e).empty=!0;var t,r,i,o,a,s=""+e._i,u=s.length,l=0;for(i=J(e._f,e._locale).match(Tr)||[],t=0;t0&&h(e).unusedInput.push(a),s=s.slice(s.indexOf(r)+r.length),l+=r.length),Fr[o]?(r?h(e).empty=!1:h(e).unusedTokens.push(o),ie(o,r,e)):e._strict&&!r&&h(e).unusedTokens.push(o);h(e).charsLeftOver=u-l,s.length>0&&h(e).unusedInput.push(s),e._a[ni]<=12&&h(e).bigHour===!0&&e._a[ni]>0&&(h(e).bigHour=void 0),h(e).parsedDateParts=e._a.slice(0),h(e).meridiem=e._meridiem,e._a[ni]=dt(e._locale,e._a[ni],e._meridiem),lt(e),it(e)}function dt(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(r=e.isPM(n),r&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function ht(e){var t,n,r,i,o;if(0===e._f.length)return h(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;ithis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Pt(){if(!g(this._isDSTShifted))return this._isDSTShifted;var e={};if(v(e,this),e=gt(e),e._a){var t=e._isUTC?f(e._a):yt(e._a);this._isDSTShifted=this.isValid()&&x(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function jt(){return!!this.isValid()&&!this._isUTC}function Lt(){return!!this.isValid()&&this._isUTC}function Rt(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function Ut(e,t){var n,r,i,o=e,a=null;return Ct(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:"number"==typeof e?(o={},t?o[t]=e:o.milliseconds=e):(a=Pi.exec(e))?(n="-"===a[1]?-1:1,o={y:0,d:w(a[ti])*n,h:w(a[ni])*n,m:w(a[ri])*n,s:w(a[ii])*n,ms:w(a[oi])*n}):(a=ji.exec(e))?(n="-"===a[1]?-1:1,o={y:Vt(a[2],n),M:Vt(a[3],n),w:Vt(a[4],n),d:Vt(a[5],n),h:Vt(a[6],n),m:Vt(a[7],n),s:Vt(a[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(i=Ht(yt(o.from),yt(o.to)),o={},o.ms=i.milliseconds,o.M=i.months),r=new kt(o),Ct(e)&&l(e,"_locale")&&(r._locale=e._locale),r}function Vt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function zt(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 Ht(e,t){var n;return e.isValid()&&t.isValid()?(t=Et(t,e),e.isBefore(t)?n=zt(e,t):(n=zt(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function qt(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function Yt(e,t){return function(n,r){var i,o;return null===r||isNaN(+r)||(S(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),n="string"==typeof n?+n:n,i=Ut(n,r),Wt(this,i,e),this}}function Wt(e,t,r,i){var o=t._milliseconds,a=qt(t._days),s=qt(t._months);e.isValid()&&(i=null==i||i,o&&e._d.setTime(e._d.valueOf()+o*r),a&&H(e,"Date",z(e,"Date")+a*r),s&&ce(e,z(e,"Month")+s*r),i&&n.updateOffset(e,a||s))}function Bt(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Gt(e,t){var r=e||yt(),i=Et(r,this).startOf("day"),o=n.calendarFormat(this,i)||"sameElse",a=t&&(_(t[o])?t[o].call(this,r):t[o]);return this.format(a||this.localeData().calendar(o,this,yt(r)))}function Zt(){return new $(this)}function Qt(e,t){var n=y(e)?e:yt(e);return!(!this.isValid()||!n.isValid())&&(t=j(g(t)?"millisecond":t),"millisecond"===t?this.valueOf()>n.valueOf():n.valueOf()o&&(t=o),On.call(this,e,t,n,r,i))}function On(e,t,n,r,i){var o=xe(e,t,n,r,i),a=be(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function Fn(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function In(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 Nn(e,t){t[oi]=w(1e3*("0."+e))}function Pn(){return this._isUTC?"UTC":""}function jn(){return this._isUTC?"Coordinated Universal Time":""}function Ln(e){return yt(1e3*e)}function Rn(){return yt.apply(null,arguments).parseZone()}function Un(e){return e}function Vn(e,t,n,r){var i=nt(),o=f().set(r,t);return i[n](o,e)}function zn(e,t,n){if("number"==typeof e&&(t=e,e=void 0),e=e||"",null!=t)return Vn(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=Vn(e,r,n,"month");return i}function Hn(e,t,n,r){"boolean"==typeof e?("number"==typeof t&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,"number"==typeof t&&(n=t,t=void 0),t=t||"");var i=nt(),o=e?i._week.dow:0;if(null!=n)return Vn(t,(n+o)%7,r,"day");var a,s=[];for(a=0;a<7;a++)s[a]=Vn(t,(a+o)%7,r,"day");return s}function qn(e,t){return zn(e,t,"months")}function Yn(e,t){return zn(e,t,"monthsShort")}function Wn(e,t,n){return Hn(e,t,n,"weekdays")}function Bn(e,t,n){return Hn(e,t,n,"weekdaysShort")}function Gn(e,t,n){return Hn(e,t,n,"weekdaysMin")}function Zn(){var e=this._data;return this._milliseconds=Zi(this._milliseconds),this._days=Zi(this._days),this._months=Zi(this._months),e.milliseconds=Zi(e.milliseconds),e.seconds=Zi(e.seconds),e.minutes=Zi(e.minutes),e.hours=Zi(e.hours),e.months=Zi(e.months),e.years=Zi(e.years),this}function Qn(e,t,n,r){var i=Ut(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function Jn(e,t){return Qn(this,e,t,1)}function Xn(e,t){return Qn(this,e,t,-1)}function Kn(e){return e<0?Math.floor(e):Math.ceil(e)}function er(){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||o<=0&&a<=0&&s<=0||(o+=864e5*Kn(nr(s)+a),a=0,s=0),u.milliseconds=o%1e3,e=b(o/1e3),u.seconds=e%60,t=b(e/60),u.minutes=t%60,n=b(t/60),u.hours=n%24,a+=b(n/24),i=b(tr(a)),s+=i,a-=Kn(nr(i)),r=b(s/12),s%=12,u.days=a,u.months=s,u.years=r,this}function tr(e){return 4800*e/146097}function nr(e){return 146097*e/4800}function rr(e){var t,n,r=this._milliseconds;if(e=j(e),"month"===e||"year"===e)return t=this._days+r/864e5,n=this._months+tr(t),"month"===e?n:n/12;switch(t=this._days+Math.round(nr(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 ir(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*w(this._months/12)}function or(e){return function(){return this.as(e)}}function ar(e){return e=j(e),this[e+"s"]()}function sr(e){return function(){return this._data[e]}}function ur(){return b(this.days()/7)}function lr(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function cr(e,t,n){var r=Ut(e).abs(),i=fo(r.as("s")),o=fo(r.as("m")),a=fo(r.as("h")),s=fo(r.as("d")),u=fo(r.as("M")),l=fo(r.as("y")),c=i0,c[4]=n,lr.apply(null,c)}function fr(e){return void 0===e?fo:"function"==typeof e&&(fo=e,!0)}function dr(e,t){return void 0!==ho[e]&&(void 0===t?ho[e]:(ho[e]=t,!0))}function hr(e){var t=this.localeData(),n=cr(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function pr(){var e,t,n,r=po(this._milliseconds)/1e3,i=po(this._days),o=po(this._months);e=b(r/60),t=b(e/60),r%=60,e%=60,n=b(o/12),o%=12;var a=n,s=o,u=i,l=t,c=e,f=r,d=this.asSeconds();return d?(d<0?"-":"")+"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 mr,gr;gr=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;r68?1900:2e3)};var hi=V("FullYear",!0);B("w",["ww",2],"wo","week"),B("W",["WW",2],"Wo","isoWeek"),P("week","w"),P("isoWeek","W"),R("week",5),R("isoWeek",5),X("w",Rr),X("ww",Rr,Nr),X("W",Rr),X("WW",Rr,Nr),re(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=w(e)});var pi={dow:0,doy:6};B("d",0,"do","day"),B("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),B("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),B("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),B("e",0,0,"weekday"),B("E",0,0,"isoWeekday"),P("day","d"),P("weekday","e"),P("isoWeekday","E"),R("day",11),R("weekday",11),R("isoWeekday",11),X("d",Rr),X("e",Rr),X("E",Rr),X("dd",function(e,t){return t.weekdaysMinRegex(e)}),X("ddd",function(e,t){return t.weekdaysShortRegex(e)}),X("dddd",function(e,t){return t.weekdaysRegex(e)}),re(["dd","ddd","dddd"],function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:h(n).invalidWeekday=e}),re(["d","e","E"],function(e,t,n,r){t[r]=w(e)});var mi="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),gi="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),vi="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),$i=Qr,yi=Qr,bi=Qr;B("H",["HH",2],0,"hour"),B("h",["hh",2],0,qe),B("k",["kk",2],0,Ye),B("hmm",0,0,function(){return""+qe.apply(this)+W(this.minutes(),2)}),B("hmmss",0,0,function(){return""+qe.apply(this)+W(this.minutes(),2)+W(this.seconds(),2)}),B("Hmm",0,0,function(){return""+this.hours()+W(this.minutes(),2)}),B("Hmmss",0,0,function(){return""+this.hours()+W(this.minutes(),2)+W(this.seconds(),2)}),We("a",!0),We("A",!1),P("hour","h"),R("hour",13),X("a",Be),X("A",Be),X("H",Rr),X("h",Rr),X("HH",Rr,Nr),X("hh",Rr,Nr),X("hmm",Ur),X("hmmss",Vr),X("Hmm",Ur),X("Hmmss",Vr),ne(["H","HH"],ni),ne(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ne(["h","hh"],function(e,t,n){t[ni]=w(e),h(n).bigHour=!0}),ne("hmm",function(e,t,n){var r=e.length-2;t[ni]=w(e.substr(0,r)),t[ri]=w(e.substr(r)),h(n).bigHour=!0}),ne("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[ni]=w(e.substr(0,r)),t[ri]=w(e.substr(r,2)),t[ii]=w(e.substr(i)),h(n).bigHour=!0}),ne("Hmm",function(e,t,n){var r=e.length-2;t[ni]=w(e.substr(0,r)),t[ri]=w(e.substr(r))}),ne("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[ni]=w(e.substr(0,r)),t[ri]=w(e.substr(r,2)),t[ii]=w(e.substr(i))});var wi,xi=/[ap]\.?m?\.?/i,ki=V("Hours",!0),Ci={calendar:xr,longDateFormat:kr,invalidDate:Cr,ordinal:Sr,ordinalParse:_r,relativeTime:Er,months:li,monthsShort:ci,week:pi,weekdays:mi,weekdaysMin:vi,weekdaysShort:gi,meridiemParse:xi},Si={},_i=/^\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)?)?/,Ei=/^\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)?)?/,Di=/Z|[+-]\d\d(?::?\d\d)?/,Ai=[["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}/]],Ti=[["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/]],Mi=/^\/?Date\((\-?\d+)/i;n.createFromInputFallback=C("moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),n.ISO_8601=function(){};var Oi=C("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=yt.apply(null,arguments);return this.isValid()&&e.isValid()?ethis?this:e:m()}),Ii=function(){return Date.now?Date.now():+new Date};St("Z",":"),St("ZZ",""),X("Z",Gr),X("ZZ",Gr),ne(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=_t(Gr,e)});var Ni=/([\+\-]|\d\d)/gi;n.updateOffset=function(){};var Pi=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?\d*)?$/,ji=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;Ut.fn=kt.prototype;var Li=Yt(1,"add"),Ri=Yt(-1,"subtract");n.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",n.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Ui=C("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)});B(0,["gg",2],0,function(){return this.weekYear()%100}),B(0,["GG",2],0,function(){return this.isoWeekYear()%100}),_n("gggg","weekYear"),_n("ggggg","weekYear"),_n("GGGG","isoWeekYear"),_n("GGGGG","isoWeekYear"),P("weekYear","gg"),P("isoWeekYear","GG"),R("weekYear",1),R("isoWeekYear",1),X("G",Wr),X("g",Wr),X("GG",Rr,Nr),X("gg",Rr,Nr),X("GGGG",Hr,jr),X("gggg",Hr,jr),X("GGGGG",qr,Lr),X("ggggg",qr,Lr),re(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=w(e)}),re(["gg","GG"],function(e,t,r,i){t[i]=n.parseTwoDigitYear(e)}),B("Q",0,"Qo","quarter"),P("quarter","Q"),R("quarter",7),X("Q",Ir),ne("Q",function(e,t){t[ei]=3*(w(e)-1)}),B("D",["DD",2],"Do","date"),P("date","D"),R("date",9),X("D",Rr),X("DD",Rr,Nr),X("Do",function(e,t){return e?t._ordinalParse:t._ordinalParseLenient}),ne(["D","DD"],ti),ne("Do",function(e,t){t[ti]=w(e.match(Rr)[0],10)});var Vi=V("Date",!0);B("DDD",["DDDD",3],"DDDo","dayOfYear"),P("dayOfYear","DDD"),R("dayOfYear",4),X("DDD",zr),X("DDDD",Pr),ne(["DDD","DDDD"],function(e,t,n){n._dayOfYear=w(e)}),B("m",["mm",2],0,"minute"),P("minute","m"),R("minute",14),X("m",Rr),X("mm",Rr,Nr),ne(["m","mm"],ri);var zi=V("Minutes",!1);B("s",["ss",2],0,"second"),P("second","s"),R("second",15),X("s",Rr),X("ss",Rr,Nr),ne(["s","ss"],ii);var Hi=V("Seconds",!1);B("S",0,0,function(){return~~(this.millisecond()/100)}),B(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),B(0,["SSS",3],0,"millisecond"),B(0,["SSSS",4],0,function(){return 10*this.millisecond()}),B(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),B(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),B(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),B(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),B(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),P("millisecond","ms"),R("millisecond",16),X("S",zr,Ir),X("SS",zr,Nr),X("SSS",zr,Pr);var qi;for(qi="SSSS";qi.length<=9;qi+="S")X(qi,Yr);for(qi="S";qi.length<=9;qi+="S")ne(qi,Nn);var Yi=V("Milliseconds",!1);B("z",0,0,"zoneAbbr"),B("zz",0,0,"zoneName");var Wi=$.prototype;Wi.add=Li,Wi.calendar=Gt,Wi.clone=Zt,Wi.diff=nn,Wi.endOf=mn,Wi.format=sn,Wi.from=un,Wi.fromNow=ln,Wi.to=cn,Wi.toNow=fn,Wi.get=q,Wi.invalidAt=Cn,Wi.isAfter=Qt,Wi.isBefore=Jt,Wi.isBetween=Xt,Wi.isSame=Kt,Wi.isSameOrAfter=en,Wi.isSameOrBefore=tn,Wi.isValid=xn,Wi.lang=Ui,Wi.locale=dn,Wi.localeData=hn,Wi.max=Fi,Wi.min=Oi,Wi.parsingFlags=kn,Wi.set=Y,Wi.startOf=pn,Wi.subtract=Ri,Wi.toArray=yn,Wi.toObject=bn,Wi.toDate=$n,Wi.toISOString=an,Wi.toJSON=wn,Wi.toString=on,Wi.unix=vn,Wi.valueOf=gn,Wi.creationData=Sn,Wi.year=hi,Wi.isLeapYear=$e,Wi.weekYear=En,Wi.isoWeekYear=Dn,Wi.quarter=Wi.quarters=Fn,Wi.month=fe,Wi.daysInMonth=de,Wi.week=Wi.weeks=De,Wi.isoWeek=Wi.isoWeeks=Ae,Wi.weeksInYear=Tn,Wi.isoWeeksInYear=An,Wi.date=Vi,Wi.day=Wi.days=je,Wi.weekday=Le,Wi.isoWeekday=Re,Wi.dayOfYear=In,Wi.hour=Wi.hours=ki,Wi.minute=Wi.minutes=zi,Wi.second=Wi.seconds=Hi,Wi.millisecond=Wi.milliseconds=Yi,Wi.utcOffset=At,Wi.utc=Mt,Wi.local=Ot,Wi.parseZone=Ft,Wi.hasAlignedHourOffset=It,Wi.isDST=Nt,Wi.isLocal=jt,Wi.isUtcOffset=Lt,Wi.isUtc=Rt,Wi.isUTC=Rt,Wi.zoneAbbr=Pn,Wi.zoneName=jn,Wi.dates=C("dates accessor is deprecated. Use date instead.",Vi),Wi.months=C("months accessor is deprecated. Use month instead",fe),Wi.years=C("years accessor is deprecated. Use year instead",hi),Wi.zone=C("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Tt),Wi.isDSTShifted=C("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Pt);var Bi=Wi,Gi=A.prototype;Gi.calendar=T,Gi.longDateFormat=M,Gi.invalidDate=O,Gi.ordinal=F,Gi.preparse=Un,Gi.postformat=Un,Gi.relativeTime=I,Gi.pastFuture=N,Gi.set=E,Gi.months=ae,Gi.monthsShort=se,Gi.monthsParse=le,Gi.monthsRegex=pe,Gi.monthsShortRegex=he,Gi.week=Se,Gi.firstDayOfYear=Ee,Gi.firstDayOfWeek=_e,Gi.weekdays=Oe,Gi.weekdaysMin=Ie,Gi.weekdaysShort=Fe,Gi.weekdaysParse=Pe,Gi.weekdaysRegex=Ue,Gi.weekdaysShortRegex=Ve,Gi.weekdaysMinRegex=ze,Gi.isPM=Ge,Gi.meridiem=Ze,Ke("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===w(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),n.lang=C("moment.lang is deprecated. Use moment.locale instead.",Ke),n.langData=C("moment.langData is deprecated. Use moment.localeData instead.",nt);var Zi=Math.abs,Qi=or("ms"),Ji=or("s"),Xi=or("m"),Ki=or("h"),eo=or("d"),to=or("w"),no=or("M"),ro=or("y"),io=sr("milliseconds"),oo=sr("seconds"),ao=sr("minutes"),so=sr("hours"),uo=sr("days"),lo=sr("months"),co=sr("years"),fo=Math.round,ho={s:45,m:45,h:22,d:26,M:11},po=Math.abs,mo=kt.prototype;mo.abs=Zn,mo.add=Jn,mo.subtract=Xn,mo.as=rr,mo.asMilliseconds=Qi,mo.asSeconds=Ji,mo.asMinutes=Xi,mo.asHours=Ki,mo.asDays=eo,mo.asWeeks=to,mo.asMonths=no,mo.asYears=ro,mo.valueOf=ir,mo._bubble=er,mo.get=ar,mo.milliseconds=io,mo.seconds=oo,mo.minutes=ao,mo.hours=so,mo.days=uo,mo.weeks=ur,mo.months=lo,mo.years=co,mo.humanize=hr,mo.toISOString=pr,mo.toString=pr,mo.toJSON=pr,mo.locale=dn,mo.localeData=hn,mo.toIsoString=C("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",pr),mo.lang=Ui,B("X",0,0,"unix"),B("x",0,0,"valueOf"),X("x",Wr),X("X",Zr),ne("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),ne("x",function(e,t,n){n._d=new Date(w(e))}),n.version="2.14.1",r(yt),n.fn=Bi,n.min=wt,n.max=xt,n.now=Ii,n.utc=f,n.unix=Ln,n.months=qn,n.isDate=s,n.locale=Ke,n.invalid=m,n.duration=Ut,n.isMoment=y,n.weekdays=Wn,n.parseZone=Rn,n.localeData=nt,n.isDuration=Ct,n.monthsShort=Yn,n.weekdaysMin=Gn,n.defineLocale=et,n.updateLocale=tt,n.locales=rt,n.weekdaysShort=Bn,n.normalizeUnits=j,n.relativeTimeRounding=fr,n.relativeTimeThreshold=dr,n.calendarFormat=Bt,n.prototype=Bi;var go=n;return go})},{}],13:[function(e,t,n){!function(e,n){"use strict";var r,i,o,a=e,s=a.document,u=a.navigator,l=a.setTimeout,c=a.clearTimeout,f=a.setInterval,d=a.clearInterval,h=a.getComputedStyle,p=a.encodeURIComponent,m=a.ActiveXObject,g=a.Error,v=a.Number.parseInt||a.parseInt,$=a.Number.parseFloat||a.parseFloat,y=a.Number.isNaN||a.isNaN,b=a.Date.now,w=a.Object.keys,x=a.Object.defineProperty,k=a.Object.prototype.hasOwnProperty,C=a.Array.prototype.slice,S=function(){var e=function(e){return e};if("function"==typeof a.wrap&&"function"==typeof a.unwrap)try{var t=s.createElement("div"),n=a.unwrap(t);1===t.nodeType&&n&&1===n.nodeType&&(e=a.unwrap)}catch(r){}return e}(),_=function(e){return C.call(e,0)},E=function(){var e,t,r,i,o,a,s=_(arguments),u=s[0]||{};for(e=1,t=s.length;e=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"),Ae(),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,X.activeClass),i!==e&&Le(i,X.hoverClass)),i=e,je(e,X.hoverClass);var t=e.getAttribute("title")||X.title;if("string"==typeof t&&t){var n=Ee(U.bridge);n&&n.setAttribute("title",t)}var r=X.forceHandCursor===!0||"pointer"===Re(e,"cursor");qe(r),He()}},de=function(){var e=Ee(U.bridge);e&&(e.removeAttribute("title"),e.style.left="0px",e.style.top="-9999px",e.style.width="1px",e.style.height="1px"),i&&(Le(i,X.hoverClass),Le(i,X.activeClass),i=null)},he=function(){return i||null},pe=function(e){return"string"==typeof e&&e&&/^[A-Za-z][A-Za-z0-9_:\-\.]*$/.test(e)},me=function(e){var t;if("string"==typeof e&&e?(t=e,e={}):"object"==typeof e&&e&&"string"==typeof e.type&&e.type&&(t=e.type),t){t=t.toLowerCase(),!e.target&&(/^(copy|aftercopy|_click)$/.test(t)||"error"===t&&"clipboard-error"===e.name)&&(e.target=o),E(e,{type:t,target:e.target||i||null,relatedTarget:e.relatedTarget||null,currentTarget:U&&U.bridge||null,timeStamp:e.timeStamp||b()||null});var n=B[e.type];return"error"===e.type&&e.name&&n&&(n=n[e.name]),n&&(e.message=n),"ready"===e.type&&E(e,{target:null,version:U.version}),"error"===e.type&&(Q.test(e.name)&&E(e,{target:null,minimumVersion:V}),J.test(e.name)&&E(e,{version:U.version})),"copy"===e.type&&(e.clipboardData={setData:Ge.setData,clearData:Ge.clearData}),"aftercopy"===e.type&&(e=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;o0){var t=D(e);E(t,{type:"error",name:"clipboard-error"}),delete t.success,l(function(){Ge.emit(t)},0)}},Ce=function(e){if(e&&"string"==typeof e.type&&e){var t,n=e.target||null,r=n&&n.ownerDocument||s,i={view:r.defaultView||a,canBubble:!0,cancelable:!0,detail:"click"===e.type?1:0,button:"number"==typeof e.which?e.which-1:"number"==typeof e.button?e.button:r.createEvent?0:1},o=E(i,e);n&&r.createEvent&&n.dispatchEvent&&(o=[o.type,o.canBubble,o.cancelable,o.view,o.detail,o.screenX,o.screenY,o.clientX,o.clientY,o.ctrlKey,o.altKey,o.shiftKey,o.metaKey,o.button,o.relatedTarget],t=r.createEvent("MouseEvents"),t.initMouseEvent&&(t.initMouseEvent.apply(t,o),t._source="js",n.dispatchEvent(t)))}},Se=function(){var e=X.flashLoadTimeout;if("number"==typeof e&&e>=0){var t=Math.min(1e3,e/10),n=X.swfObjectId+"_fallbackContent";W=f(function(){var e=s.getElementById(n);Ve(e)&&(ze(),U.deactivated=null,Ge.emit({type:"error",name:"swf-not-found"}))},t)}},_e=function(){var e=s.createElement("div");return e.id=X.containerId,e.className=X.containerClass,e.style.position="absolute",e.style.left="0px",e.style.top="-9999px",e.style.width="1px",e.style.height="1px",e.style.zIndex=""+Ye(X.zIndex),e},Ee=function(e){for(var t=e&&e.parentNode;t&&"OBJECT"===t.nodeName&&t.parentNode;)t=t.parentNode;return t||null},De=function(){var e,t=U.bridge,n=Ee(t);if(!t){var r=Ne(a.location.host,X),i="never"===r?"none":"all",o=Fe(E({jsVersion:Ge.version},X)),u=X.swfPath+Oe(X.swfPath,X);n=_e();var l=s.createElement("div");n.appendChild(l),s.body.appendChild(n);var c=s.createElement("div"),f="activex"===U.pluginType;c.innerHTML='"+(f?'':"")+'
     
    ',t=c.firstChild,c=null,S(t).ZeroClipboard=Ge,n.replaceChild(t,l),Se()}return t||(t=s[X.swfObjectId],t&&(e=t.length)&&(t=t[e-1]),!t&&n&&(t=n.firstChild)),U.bridge=t||null,t},Ae=function(){var e=U.bridge;if(e){var t=Ee(e);t&&("activex"===U.pluginType&&"readyState"in e?(e.style.display="none",function i(){if(4===e.readyState){for(var n in e)"function"==typeof e[n]&&(e[n]=null);e.parentNode&&e.parentNode.removeChild(e),t.parentNode&&t.parentNode.removeChild(t)}else l(i,10)}()):(e.parentNode&&e.parentNode.removeChild(e),t.parentNode&&t.parentNode.removeChild(t))),ze(),U.ready=null,U.bridge=null,U.deactivated=null,r=n}},Te=function(e){var t={},n={};if("object"==typeof e&&e){for(var r in e)if(r&&k.call(e,r)&&"string"==typeof e[r]&&e[r])switch(r.toLowerCase()){case"text/plain":case"text":case"air:text":case"flash:text":t.text=e[r],n.text=r;break;case"text/html":case"html":case"air:html":case"flash:html":t.html=e[r],n.html=r;break;case"application/rtf":case"text/rtf":case"rtf":case"richtext":case"air:rtf":case"flash:rtf":t.rtf=e[r],n.rtf=r}return{data:t,formatMap:n}}},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;i0){if(1===o&&"*"===i[0])return"always";if(i.indexOf(t)!==-1)return 1===o&&t===r?"sameDomain":"always"}return"never"}}(),Pe=function(){try{return s.activeElement}catch(e){return null}},je=function(e,t){var n,r,i,o=[];if("string"==typeof t&&t&&(o=t.split(/\s+/)),e&&1===e.nodeType&&o.length>0)if(e.classList)for(n=0,r=o.length;n0)if(e.classList&&e.classList.length>0)for(n=0,r=o.length;n0,r=$(t.width)>0,i=$(t.top)>=0,o=$(t.left)>=0,a=n&&r&&i&&o,s=a?null:Ue(e),u="none"!==t.display&&"collapse"!==t.visibility&&(a||!!s&&(n||s.height>0)&&(r||s.width>0)&&(i||s.top>=0)&&(o||s.left>=0));return u},ze=function(){c(Y),Y=0,d(W),W=0},He=function(){var e;if(i&&(e=Ee(U.bridge))){var t=Ue(i);E(e.style,{width:t.width+"px",height:t.height+"px",top:t.top+"px",left:t.left+"px",zIndex:""+Ye(X.zIndex)})}},qe=function(e){U.ready===!0&&(U.bridge&&"function"==typeof U.bridge.setHandCursor?U.bridge.setHandCursor(e):U.ready=!1)},Ye=function(e){if(/^(?:auto|inherit)$/.test(e))return e;var t;return"number"!=typeof e||y(e)?"string"==typeof e&&(t=Ye(v(e,10))):t=e,"number"==typeof t?t:"auto"},We=function(t){var n,r,i,o=U.sandboxed,a=null;if(t=t===!0,R===!1)a=!1;else{try{r=e.frameElement||null}catch(s){i={name:s.name,message:s.message}}if(r&&1===r.nodeType&&"IFRAME"===r.nodeName)try{a=r.hasAttribute("sandbox")}catch(s){a=null}else{try{n=document.domain||null}catch(s){n=null}(null===n||i&&"SecurityError"===i.name&&/(^|[\s\(\[@])sandbox(es|ed|ing|[\s\.,!\)\]@]|$)/.test(i.message.toLowerCase()))&&(a=!0)}}return U.sandboxed=a,o===a||t||Be(m),a},Be=function(e){function t(e){var t=e.match(/[\d]+/g);return t.length=3,t.join(".")}function n(e){return!!e&&(e=e.toLowerCase())&&(/^(pepflashplayer\.dll|libpepflashplayer\.so|pepperflashplayer\.plugin)$/.test(e)||"chrome.plugin"===e.slice(-13))}function r(e){e&&(s=!0,e.version&&(f=t(e.version)),!f&&e.description&&(f=t(e.description)),e.filename&&(c=n(e.filename)))}var i,o,a,s=!1,l=!1,c=!1,f="";if(u.plugins&&u.plugins.length)i=u.plugins["Shockwave Flash"],r(i),u.plugins["Shockwave Flash 2.0"]&&(s=!0,f="2.0.0.11");else if(u.mimeTypes&&u.mimeTypes.length)a=u.mimeTypes["application/x-shockwave-flash"],i=a&&a.enabledPlugin,r(i);else if("undefined"!=typeof e){l=!0;try{o=new e("ShockwaveFlash.ShockwaveFlash.7"),s=!0,f=t(o.GetVariable("$version"))}catch(d){try{o=new e("ShockwaveFlash.ShockwaveFlash.6"),s=!0,f="6.0.21"}catch(h){try{o=new e("ShockwaveFlash.ShockwaveFlash"),s=!0,f=t(o.GetVariable("$version"))}catch(p){l=!1}}}}U.disabled=s!==!0,U.outdated=f&&$(f)<$(V),U.version=f||"0.0.0",U.pluginType=c?"pepper":l?"activex":s?"netscape":"unknown"};Be(m),We(!0);var Ge=function(){return this instanceof Ge?void("function"==typeof Ge._createClient&&Ge._createClient.apply(this,_(arguments))):new Ge};x(Ge,"version",{value:"2.2.0",writable:!1,configurable:!0,enumerable:!0}),Ge.config=function(){return K.apply(this,_(arguments))},Ge.state=function(){return ee.apply(this,_(arguments))},Ge.isFlashUnusable=function(){return te.apply(this,_(arguments))},Ge.on=function(){return ne.apply(this,_(arguments))},Ge.off=function(){return re.apply(this,_(arguments))},Ge.handlers=function(){return ie.apply(this,_(arguments))},Ge.emit=function(){return oe.apply(this,_(arguments))},Ge.create=function(){return ae.apply(this,_(arguments))},Ge.destroy=function(){return se.apply(this,_(arguments))},Ge.setData=function(){return ue.apply(this,_(arguments))},Ge.clearData=function(){return le.apply(this,_(arguments))},Ge.getData=function(){return ce.apply(this,_(arguments))},Ge.focus=Ge.activate=function(){return fe.apply(this,_(arguments))},Ge.blur=Ge.deactivate=function(){return de.apply(this,_(arguments))},Ge.activeElement=function(){return he.apply(this,_(arguments))};var Ze=0,Qe={},Je=0,Xe={},Ke={};E(X,{autoActivate:!0});var et=function(e){var t=this;t.id=""+Ze++,Qe[t.id]={instance:t,elements:[],handlers:{}},e&&t.clip(e),Ge.on("*",function(e){return t.emit(e)}),Ge.on("destroy",function(){t.destroy()}),Ge.create()},tt=function(e,t){var i,o,a,s={},u=Qe[this.id],l=u&&u.handlers;if(!u)throw new Error("Attempted to add new listener(s) to a destroyed ZeroClipboard client instance");if("string"==typeof e&&e)a=e.toLowerCase().split(/\s+/);else if("object"==typeof e&&e&&"undefined"==typeof t)for(i in e)k.call(e,i)&&"string"==typeof i&&i&&"function"==typeof e[i]&&this.on(i,e[i]);if(a&&a.length){for(i=0,o=a.length;i0,i=!e.target||r&&n.indexOf(e.target)!==-1,o=e.relatedTarget&&r&&n.indexOf(e.relatedTarget)!==-1,a=e.client&&e.client===this;return!(!t||!(i||o||a))},ct=function(e){var t=Qe[this.id];if("object"==typeof e&&e&&e.type&&t){var n=$e(e),r=t&&t.handlers["*"]||[],i=t&&t.handlers[e.type]||[],o=r.concat(i);if(o&&o.length){var s,u,l,c,f,d=this;for(s=0,u=o.length;s\n Image Preview\n
    \n \n
    \n\n \n |\n \n\n \n
    '},{}],16:[function(e,t,n){t.exports='
    \n \n
    \n
    '},{}],17:[function(e,t,n){"use strict";var r=e("moment");t.exports=function(t,n){t.controller("ImageManagerController",["$scope","$attrs","$http","$timeout","imageManagerService",function(e,t,r,i,o){function a(){e.searching=!1,e.searchTerm="",e.images=m,e.hasMore=g}function s(t){p&&p(t),e.showing=!1}function u(t){p=t,e.showing=!0,h||(l(),h=!0)}function l(){var t=v+c+"?",n={};e.uploadedTo&&(n.page_id=e.uploadedTo),e.searching&&(n.term=e.searchTerm);var i=Object.keys(n).map(function(e){return e+"="+encodeURIComponent(n[e])}).join("&");t+=i,r.get(t).then(function(t){e.images=e.images.concat(t.data.images),e.hasMore=t.data.hasMore,c++})}e.images=[],e.imageType=t.imageType,e.selectedImage=!1,e.dependantPages=!1,e.showing=!1,e.hasMore=!1,e.imageUpdateSuccess=!1,e.imageDeleteSuccess=!1,e.uploadedTo=t.uploadedTo,e.view="all",e.searching=!1,e.searchTerm="";var c=0,f=0,d=0,h=!1,p=!1,m=[],g=!1;e.getUploadUrl=function(){return window.baseUrl("/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;i tr",containment:"parent",axis:"y"},e.addEmptyTag=i,o(),e.tagChange=function(t){var n=e.tags.indexOf(t);n===e.tags.length-1&&(""===t.name&&""===t.value||i())},e.tagBlur=function(t){var n=e.tags.length-1===e.tags.indexOf(t);if(""===t.name&&""===t.value&&!n){var r=e.tags.indexOf(t);e.tags.splice(r,1)}},e.saveTags=function(){a();var r={tags:e.tags},o=window.baseUrl("/ajax/tags/update/page/"+s);t.post(o,r).then(function(t){e.tags=t.data.tags,i(),n.emit("success",t.data.message)})},e.removeTag=function(t){var n=e.tags.indexOf(t);e.tags.splice(n,1)}}])}},{"./pages/page-form":20,moment:12}],18:[function(e,t,n){"use strict";var r=e("dropzone"),i=e("marked"),o=e("./components/toggle-switch.html"),a=e("./components/image-picker.html"),s=e("./components/drop-zone.html");t.exports=function(e,t){e.directive("toggleSwitch",function(){return{restrict:"A",template:o,scope:!0,link:function(e,t,n){e.name=n.name,e.value=n.value,e.isActive=1==e.value&&"false"!=e.value,e.value=1==e.value&&"false"!=e.value?"true":"false",e["switch"]=function(){e.isActive=!e.isActive,e.value=e.isActive?"true":"false"}}}}),e.directive("imagePicker",["$http","imageManagerService",function(e,t){return{restrict:"E",template:a,scope:{name:"@",resizeHeight:"@",resizeWidth:"@",resizeCrop:"@",showRemove:"=",currentImage:"@",currentId:"@",defaultImage:"@",imageClass:"@"},link:function(n,r,i){function o(e,t){n.image=t,n.value=a?e.id:t}var a="undefined"!=typeof n.currentId||"false"===n.currentId;n.image=n.currentImage,n.value=n.currentImage||"",a&&(n.value=n.currentId),n.reset=function(){o({id:0},n.defaultImage)},n.remove=function(){n.image="none",n.value="none"},n.showImageManager=function(){t.show(function(e){n.updateImageFromModel(e)})},n.updateImageFromModel=function(t){var r=n.resizeWidth&&n.resizeHeight;if(!r)return void n.$apply(function(){o(t,t.url)});var i=n.resizeCrop?"true":"false",a="/images/thumb/"+t.id+"/"+n.resizeWidth+"/"+n.resizeHeight+"/"+i;a=window.baseUrl(a),e.get(a).then(function(e){o(t,e.data.url)})}}}}]),e.directive("dropZone",[function(){return{restrict:"E",template:s,scope:{uploadUrl:"@",eventSuccess:"=",eventError:"=",uploadedTo:"@"},link:function(e,t,n){new r(t[0].querySelector(".dropzone-container"),{url:e.uploadUrl,init:function(){var t=this;t.on("sending",function(t,n,r){var i=window.document.querySelector("meta[name=token]").getAttribute("content");r.append("_token",i);var o="undefined"==typeof e.uploadedTo?0:e.uploadedTo;r.append("uploaded_to",o)}),"undefined"!=typeof e.eventSuccess&&t.on("success",e.eventSuccess),t.on("success",function(e,n){$(e.previewElement).fadeOut(400,function(){t.removeFile(e)})}),"undefined"!=typeof e.eventError&&t.on("error",e.eventError),t.on("error",function(e,t,n){function r(t){$(e.previewElement).find("[data-dz-errormessage]").text(t)}console.log(t),console.log(n),413===n.status&&r("The server does not allow uploads of this size. Please try a smaller file."),t.file&&r(t.file[0])})}})}}}]),e.directive("dropdown",[function(){return{restrict:"A",link:function(e,t,n){var r=t.find("ul");t.find("[dropdown-toggle]").on("click",function(){r.show().addClass("anim menuIn"),t.mouseleave(function(){r.hide(),r.removeClass("anim menuIn")})})}}}]),e.directive("tinymce",["$timeout",function(e){return{restrict:"A",scope:{tinymce:"=",mceModel:"=",mceChange:"="},link:function(t,n,r){function i(n){n.on("ExecCommand change NodeChange ObjectResized",function(r){var i=n.getContent();e(function(){t.mceModel=i}),t.mceChange(i)}),n.on("keydown",function(e){t.$emit("editor-keydown",e)}),n.on("init",function(e){t.mceModel=n.getContent()}),t.$on("html-update",function(e,r){n.setContent(r),n.selection.select(n.getBody(),!0),n.selection.collapse(!1),t.mceModel=n.getContent()})}t.tinymce.extraSetups.push(i),tinymce.PluginManager.add("customhr",function(e){e.addCommand("InsertHorizontalRule",function(){var t=document.createElement("hr"),n=e.selection.getNode(),r=n.parentNode;r.insertBefore(t,n)}),e.addButton("hr",{icon:"hr",tooltip:"Horizontal line",cmd:"InsertHorizontalRule"}),e.addMenuItem("hr",{icon:"hr",text:"Horizontal line",cmd:"InsertHorizontalRule",context:"insert"})}),tinymce.init(t.tinymce)}}}]),e.directive("markdownInput",["$timeout",function(e){return{restrict:"A",scope:{mdModel:"=",mdChange:"="},link:function(t,n,r){n=n.find("textarea").first();var o=n.val();t.mdModel=o,t.mdChange(i(o)),console.log("test"),n.on("change input",function(r){o=n.val(),e(function(){t.mdModel=o,t.mdChange(i(o))})}),t.$on("markdown-update",function(e,r){n.val(r),t.mdModel=r,t.mdChange(i(r))})}}}]),e.directive("markdownEditor",["$timeout",function(e){return{restrict:"A",link:function(e,t,n){function r(){u=i[0].scrollHeight,l=i.height(),c=o[0].scrollHeight,f=o.height()}var i=t.find("[markdown-input] textarea").first(),o=t.find(".markdown-display").first(),a=t.find('button[data-action="insertImage"]'),s=0;i.blur(function(e){s=i[0].selectionStart});var u=void 0,l=void 0,c=void 0,f=void 0;setTimeout(function(){r()},200),window.addEventListener("resize",r);var d=800,h=0;i.on("scroll",function(e){var t=Date.now();t-h>d&&r();var n=i.scrollTop()/(u-l),a=(c-f)*n;o.scrollTop(a),h=t}),i.keydown(function(t){if(73===t.which&&t.ctrlKey&&t.shiftKey){t.preventDefault();var n=i[0].selectionStart,r=i.val(),o="![](http://)";return i.val(r.substring(0,n)+o+r.substring(n)),i.focus(),i[0].selectionStart=n+"![](".length,void(i[0].selectionEnd=n+"![](http://".length)}e.$emit("editor-keydown",t)}),a.click(function(e){window.ImageManager.showExternal(function(e){var t=s,n=i.val(),r="!["+e.name+"]("+e.url+")";i.val(n.substring(0,t)+r+n.substring(t)),i.change()})})}}}]),e.directive("toolbox",[function(){return{restrict:"A",link:function(e,t,n){function r(e,n){i.removeClass("active"),o.hide(),i.filter('[tab-button="'+e+'"]').addClass("active"),o.filter('[tab-content="'+e+'"]').show(),n&&t.addClass("open")}var i=t.find("[tab-button]"),o=t.find("[tab-content]"),a=t.find("[toolbox-toggle]");a.click(function(e){t.toggleClass("open")}),r(o.first().attr("tab-content"),!1),i.click(function(e){var t=$(this).attr("tab-button");r(t,!0)})}}}]),e.directive("tagAutosuggestions",["$http",function(e){return{restrict:"A",link:function(t,n,r){function i(e,t){t[h].className="",h=e,t[h].className="active"}function o(e,t){if(0===t.length)return c.hide(),f=!1,void(m=t);if(f||(c.show(),f=!0),e!==d&&(c.detach(),e.after(c),d=e),m.join()===t.join())return void(m=t);c[0].innerHTML="";for(var n=0;n=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;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",window.baseUrl("/images/gallery/upload")),s.onload=function(){if(200===s.status||201===s.status){var t=JSON.parse(s.responseText);e.dom.setAttrib(l,"src",t.url)}else console.log("An error occured uploading the image"),console.log(s.responseText),e.dom.remove(l)},s.send(o)}}})}}},{}],21:[function(e,t,n){"use strict";var r=e("zeroclipboard");r.config({swfPath:window.baseUrl("/ZeroClipboard.swf")}),window.setupPageShow=t.exports=function(e){function t(e){var t=$(".page-content #"+e).first();0!==t.length?(t.smoothScrollTo(),t.css("background-color","rgba(244, 249, 54, 0.25)")):$(".page-content").find(':contains("'+e+'")').smoothScrollTo()}function n(){d.width(h.width()+15),d.addClass("fixed"),g=!0}function i(){d.css("width","auto"),d.removeClass("fixed"),g=!1}function o(e){var t=f.scrollTop()>m;!t||g&&!e?t||!g&&!e||i():n()}function a(){o(!1)}var s=$("#pointer").detach(),u=s.children("div.pointer").first(),l=!1;if(s.on("click","input",function(e){$(this).select(),e.stopPropagation()}),new r(s.find("button").first()[0]),$(document.body).find("*").on("click focus",function(e){l||s.detach()}),$('.page-content [id^="bkmrk"]').on("mouseup keyup",function(t){t.stopPropagation();var n=window.getSelection();if(0!==n.toString().length){var r=$(this),i=window.baseUrl("/link/"+e+"#"+r.attr("id"));0!==i.indexOf("http")&&(i=window.location.protocol+"//"+window.location.host+i),s.find("input").val(i),s.find("button").first().attr("data-clipboard-text",i),r.before(s),s.show();var o=t.pageX-r.offset().left-u.width()/2;o<0&&(o=0);var a=o/r.width()*100;u.css("left",a+"%"),l=!0,setTimeout(function(){l=!1},100)}}),window.location.hash){var c=window.location.hash.replace(/\%20/g," ").substr(1);t(c)}var f=$(window),d=$(".book-tree"),h=d.parent(),p=$(document).height()>f.height()&&d.height()<$(".page-content").height(),m=$("#header").height()+$(".toolbar").height(),g=f.scrollTop()>m;p&&f.width()>1e3&&(f.on("scroll",a),o(!0)),f.on("resize",function(e){p&&f.width()>1e3?(f.on("scroll",a),o(!0)):(f.off("scroll",a),i())})}},{zeroclipboard:13}],22:[function(e,t,n){"use strict";t.exports=function(e,t){e.factory("imageManagerService",function(){return{show:!1,showExternal:!1}})}},{}]},{},[19]); \ No newline at end of file From 45641d0754b83a139e4925a903116a4be1008f3c Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Sun, 21 Aug 2016 14:56:29 +0100 Subject: [PATCH 20/54] Updated assets for release v0.11.2 --- public/build/manifest.json | 6 +++--- public/css/export-styles.css | 2 +- public/css/styles.css | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/public/build/manifest.json b/public/build/manifest.json index 52d458f9cb7..8d8a337936d 100644 --- a/public/build/manifest.json +++ b/public/build/manifest.json @@ -1,5 +1,5 @@ { - "css/styles.css": "css/styles.css?version=8d97e9d", - "css/print-styles.css": "css/print-styles.css?version=8d97e9d", - "js/common.js": "js/common.js?version=8d97e9d" + "css/styles.css": "css/styles.css?version=d6312b2", + "css/print-styles.css": "css/print-styles.css?version=d6312b2", + "js/common.js": "js/common.js?version=d6312b2" } \ No newline at end of file diff --git a/public/css/export-styles.css b/public/css/export-styles.css index 82b8b2ae164..355888e2135 100644 --- a/public/css/export-styles.css +++ b/public/css/export-styles.css @@ -1 +1 @@ -*{box-sizing:border-box}html{background-color:#fff;height:100%;overflow-y:scroll}html.flexbox{overflow-y:hidden}body{font-family:Roboto,DejaVu Sans,Helvetica,Arial,sans-serif;font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}button{font-size:100%}table{min-width:100px}table td,table th{min-width:10px;padding:4px 6px;border:1px solid #ddd}.title-input input[type=text],h1{font-size:3.425em;line-height:1.22222222em;margin-top:.48888889em;margin-bottom:.48888889em}h2{font-size:2.8275em;line-height:1.294117647em;margin-top:.8627451em;margin-bottom:.43137255em}h3{font-size:1.75em;line-height:1.571428572em}h3,h4{margin-top:.78571429em;margin-bottom:.43137255em}h4{font-size:1em;line-height:1.375em}.title-input input[type=text],h1,h2,h3,h4{font-weight:400;position:relative;display:block;color:#555}.title-input input[type=text] .subheader,h1 .subheader,h2 .subheader,h3 .subheader,h4 .subheader{font-size:.5em;line-height:1em;color:#969696}.link,a{color:#0288d1;cursor:pointer;text-decoration:none;transition:color 80ms ease-in-out;font-family:Roboto,DejaVu Sans,Helvetica,Arial,sans-serif;line-height:1.6}.link:hover,a:hover{text-decoration:underline;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(90deg,#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;white-space:pre;font-size:.8em;overflow:hidden;border-radius:4px;box-shadow:0 1px 2px 0 hsla(0,0%,4%,.06);border:1px solid hsla(0,0%,87%,.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}pre code{background-color:transparent;border:0;font-size:1em}.text-pos,.text-pos:hover,p.pos,p .pos,p.pos:hover,p .pos:hover,span.pos,span.pos:hover{color:#52a256}.text-neg,.text-neg:hover,p.neg,p .neg,p.neg:hover,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,p.primary:hover,p .primary:hover,span.primary,span.primary:hover{color:#0288d1}.text-secondary,.text-secondary:hover,p.secondary,p .secondary,p.secondary:hover,p .secondary:hover,span.secondary,span.secondary:hover{color:#e27b41}.text-book,.text-book:hover{color:#009688}.text-page,.text-page:hover{color:#0288d1}.text-page.draft,.text-page.draft:hover{color:#9a60da}.text-chapter,.text-chapter:hover{color:#ef7c3c}.faded .text-book:hover{color:#009688!important}.faded .text-chapter:hover{color:#ef7c3c!important}.faded .text-page:hover{color:#0288d1!important}span.highlight{font-weight:700;padding:2px 4px}ul{list-style:disc}ol,ul{padding-left:20.8px;overflow:hidden}ol{list-style:decimal}.underlined{text-decoration:underline}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-bigger{font-size:1.1em}.text-large{font-size:1.6666em}.no-color{color:inherit}.header-group{margin:16px 0}.header-group .title-input input[type=text],.header-group h1,.header-group h2,.header-group h3,.header-group h4,.header-group h5,.header-group h6,.title-input .header-group input[type=text]{margin:0}span.sep{color:#bbb;padding:0 6px}.list>*{display:block}.action-header .title-input input[type=text],.action-header h1,.title-input .action-header input[type=text]{margin-top:16px}i{padding-right:6px}body.flexbox{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;height:100%;min-height:100%;max-height:100%;overflow:hidden}body.flexbox #content{-ms-flex:1;flex:1}.flex-fill,body.flexbox #content{display:-ms-flexbox;display:flex;min-height:0}.flex-fill{-ms-flex-align:stretch;align-items:stretch}.flex-fill.flex,.flex-fill .flex{min-height:0;-ms-flex:1;flex:1}div[class^=col-] img{max-width:100%}.container{max-width:1400px;margin-left:auto;margin-right:auto;padding-left:16px;padding-right:16px}.container.fluid{max-width:100%}.container.small{max-width:840px}.center-box{margin:32px auto 0;padding:16px 48px 64px;max-width:346px;display:inline-block;text-align:left;vertical-align:top}.center-box.login{background-color:#eee;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border:1px solid #ddd}.row{margin-left:-16px;margin-right:-16px}.float{float:left}.float.right{float:right}.block{display:block;position:relative}.inline{display:inline}.block.inline{display:inline-block}.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12,.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12,.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12,.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{position:relative;min-height:1px;padding-left:16px;padding-right:16px}.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{float:left}.col-xs-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-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12{float:left}.col-sm-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-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12{float:left}.col-md-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-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.row:after,.row:before{content:" ";display:table}.clearfix:after,.container-fluid:after,.container:after,.row:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.shaded{background-color:#f1f1f1}.shaded.pos{background-color:#d6ead7}.shaded.neg{background-color:#f4a9a9}.shaded.primary{background-color:#a1ddfe}.shaded.secondary{background-color:#f6d7c6}.bordered{border:1px solid #bbb}.bordered.pos{border-color:#52a256}.bordered.neg{border-color:#e84f4f}.bordered.primary{border-color:#0288d1}.bordered.secondary{border-color:#e27b41}.bordered.thick{border-width:2px}.rounded{border-radius:3px}.nopadding{padding:0}.padded{padding:24px}.padded.large{padding:32px}.padded>h1:first-child,.padded>h2:first-child,.padded>h3:first-child,.padded>h4:first-child,.title-input .padded>input[type=text]:first-child{margin-top:.1em}.padded-top,.padded-vertical{padding-top:16px}.padded-top.large,.padded-vertical.large{padding-top:32px}.padded-bottom,.padded-vertical{padding-bottom:16px}.padded-bottom.large,.padded-vertical.large{padding-bottom:32px}.padded-horizontal,.padded-left{padding-left:16px}.padded-horizontal.large,.padded-left.large{padding-left:32px}.padded-horizontal,.padded-right{padding-right:16px}.padded-horizontal.large,.padded-right.large{padding-right:32px}.margins{margin:24px}.margins.large{margin:32px}.margin-top,.margins-vertical{margin-top:16px}.margin-top.large,.margins-vertical.large{margin-top:32px}.margin-bottom,.margins-vertical{margin-bottom:16px}.margin-bottom.large,.margins-vertical.large{margin-bottom:32px}.margin-left,.margins-horizontal{margin-left:16px}.margin-left.large,.margins-horizontal.large{margin-left:32px}.margin-right,.margins-horizontal{margin-right:16px}.margin-right.large,.margins-horizontal.large{margin-right:32px}.callout{border-left:3px solid #bbb;background-color:#eee;padding:12px}.callout:before{font-family:Material-Design-Iconic-Font;padding-right:12px;display:inline-block}.callout.success{border-left-color:#52a256;background-color:#e7f3e7;color:#376c39}.callout.success:before{content:'\f269'}.callout.danger{border-left-color:#e84f4f;background-color:#fce8e8;color:#b91818}.callout.danger:before{content:'\f1f2'}.callout.info{border-left-color:#0288d1;background-color:#d3efff;color:#015380}.callout.info:before{content:'\f1f8'}.callout.warning{border-left-color:#e27b41;background-color:#faeae0;color:#b6531c}.callout.warning:before{content:'\f1f1'}.input-base,input[type=email],input[type=number],input[type=password],input[type=search],input[type=text],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=email],input.invalid[type=number],input.invalid[type=password],input.invalid[type=search],input.invalid[type=text],input.invalid[type=url],input.neg[type=email],input.neg[type=number],input.neg[type=password],input.neg[type=search],input.neg[type=text],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=email],input.pos[type=number],input.pos[type=password],input.pos[type=search],input.pos[type=text],input.pos[type=url],input.valid[type=email],input.valid[type=number],input.valid[type=password],input.valid[type=search],input.valid[type=text],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=email],input.disabled[type=number],input.disabled[type=password],input.disabled[type=search],input.disabled[type=text],input.disabled[type=url],input[disabled][type=email],input[disabled][type=number],input[disabled][type=password],input[disabled][type=search],input[disabled][type=text],input[disabled][type=url],select.disabled,select[disabled],textarea.disabled,textarea[disabled]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAMUlEQVQIW2NkwAGuXbv2nxGbHEhCS0uLEUMSJgHShCKJLIEiiS4Bl8QmAZbEJQGSBAC62BuJ+tt7zgAAAABJRU5ErkJggg==)}.input-base:focus,input[type=email]:focus,input[type=number]:focus,input[type=password]:focus,input[type=search]:focus,input[type=text]:focus,input[type=url]:focus,select:focus,textarea:focus{outline:0}#html-editor{display:none}#markdown-editor{position:relative;z-index:5}#markdown-editor textarea{font-family:Roboto Mono;font-style:normal;font-weight:400;padding:6px 16px;color:#444;border-radius:0;max-height:100%;-ms-flex:1;flex:1;border:0;width:100%}#markdown-editor textarea:focus{outline:0}#markdown-editor .markdown-display,#markdown-editor .markdown-editor-wrap{-ms-flex:1;flex:1;position:relative}#markdown-editor .markdown-editor-wrap{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;border:1px solid #ddd}#markdown-editor .markdown-display{padding:0 16px;margin-left:-1px;overflow-y:scroll}#markdown-editor .markdown-display .page-content{margin:0 auto}.editor-toolbar{width:100%;padding:6px 16px;font-family:Roboto Mono;font-size:11px;line-height:1.6;border-bottom:1px solid #ddd;background-color:#eee;-ms-flex:none;flex:none}.editor-toolbar:after{content:'';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}label.inline{display:inline-block}label.checkbox,label.radio{font-weight:400}label.checkbox input[type=checkbox],label.checkbox input[type=radio],label.radio input[type=checkbox],label.radio input[type=radio]{margin-right:6px}label+p.small{margin-bottom:.8em}.toggle-switch{display:inline-block;background-color:#bbb;width:36px;height:14px;border-radius:7px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.toggle-switch,.toggle-switch:after{position:relative;transition:all .12s ease-in-out}.toggle-switch:after{content:'';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 textarea{display:block;width:100%;min-height:64px}.form-group .text-neg,.form-group .text-pos{padding:6px 0}.description-input textarea,.inline-input-style,.title-input input[type=text]{border:2px dotted #bbb;display:block;width:100%;padding:6px 12px}.title-input .input{width:100%}.description-input label,.title-input label{margin-top:16px;color:#666}.title-input input[type=text]{margin-top:0;padding-right:0;width:100%;color:#444}.title-input.page-title{font-size:.8em}.title-input.page-title .input{border:0;margin-bottom:-1px}.title-input.page-title input[type=text]{max-width:840px;margin:0 auto;border:none}.page-title input{display:block;width:100%;font-size:1.4em}.description-input textarea{font-size:15px;color:#666;width:100%}.search-box,div[editor-type=markdown] .title-input.page-title input[type=text]{max-width:100%}.search-box{position:relative}.search-box button{background-color:transparent;border:none;color:#0288d1;padding:0;margin:0;cursor:pointer;margin-left:12px}.search-box button[type=submit]{margin-left:-24px}.search-box input{padding-right:24px;width:300px;max-width:100%}input.outline{border:0;border-bottom:2px solid #ddd;border-radius:0}input.outline:active,input.outline:focus{border:0;border-bottom:2px solid #aaa;outline:0}#login-form label[for=remember]{margin:0}#login-form label.toggle-switch{margin-left:32px}.image-picker img{background-color:#bbb}div[toggle-switch]{height:18px;width:150px}table.table{width:100%}table.table tr{border-bottom:1px solid #ddd}table.table td,table.table th{text-align:left;border:none;padding:6px;vertical-align:middle}table.table th{font-weight:700}table.table tr:hover{background-color:#eee}table{max-width:100%}table thead{background-color:#f8f8f8;font-weight:500}table.no-style td{border:0;padding:0}table.list-table{margin:-6px}table.list-table td{border:0;vertical-align:middle;padding:6px}header{display:block;z-index:2;top:0;background-color:#0288d1;color:#fff;border-bottom:1px solid #ddd}header .padded{padding:16px}header .links{display:inline-block;vertical-align:top;margin-right:32px}@media screen and (max-width:992px){header .links{margin-right:16px}}header .links a{display:inline-block;padding:24px;color:#fff}header .links a:last-child{padding-right:0}@media screen and (max-width:992px){header .links a{padding:24px 12px}}header .avatar,header .user-name{display:inline-block}header .avatar{width:30px;height:30px}header .user-name{padding-top:24px;display:inline-block;cursor:pointer}header .user-name,header .user-name>*{vertical-align:top}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}}@media screen and (max-width:992px){header{text-align:center}header .float.right{float:none}}@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;display:inline-block;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{vertical-align:top;margin-left:-24px;color:#fff;top:6px;right:4px;display:inline-block;position:absolute}form.search-box button:hover{color:#fff}.logo{display:inline-block}.logo:hover{color:#fff;text-decoration:none}.logo-text{display:inline-block;font-size:1.8em;color:#fff;font-weight:400;padding:24px 24px 24px 0;vertical-align:top;line-height:1}.logo-image{margin:16px 12px 16px 0;vertical-align:top;height:43px}.breadcrumbs span.sep{color:#aaa;padding:0 6px}.faded a,.faded button,.faded span,.faded span>div{color:#666}.faded .text-button{opacity:.5;transition:all .12s ease-in-out}.faded .text-button:hover{opacity:1;text-decoration:none}.faded span.faded-text{display:inline-block;padding:12px}.faded-small{color:#000;font-size:.9em;background-color:rgba(21,101,192,.15)}.action-buttons .text-button,.breadcrumbs .text-button{display:inline-block;padding:12px}.action-buttons .text-button:last-child,.breadcrumbs .text-button:last-child{padding-right:0}.action-buttons{text-align:right}.action-buttons.text-left{text-align:left}.action-buttons.text-left .text-button{padding-right:16px;padding-left:0}.action-buttons.text-center,.nav-tabs{text-align:center}.nav-tabs .tab-item,.nav-tabs a{padding:16px;display:inline-block;color:#666;cursor:pointer}.nav-tabs .tab-item.selected,.nav-tabs a.selected{border-bottom:2px solid #0288d1}.page-list h3{margin:24px 0 6px;font-size:1.666em}.page-list a.chapter{color:#ef7c3c}.page-list .inset-list{display:none;overflow:hidden;margin-bottom:24px}.page-list h4{display:block;margin:12px 0 0;border-left:5px solid #0288d1;padding:6px 0 6px 16px}.page-list h4.draft{border-left-color:#9a60da}.page-list hr{margin-top:0}.page-list .book,.page-list .chapter,.page-list .page{padding-left:24px}.page-list .page{border-left:5px solid #0288d1}.page-list .page.draft{border-left:5px solid #9a60da}.page-list .page.draft .text-page{color:#9a60da}.page-list .chapter{border-left:5px solid #ef7c3c}.page-list .book{border-left:5px solid #009688}.page-list .meta{margin-top:-16px;font-size:.95em}.page-list .meta span{margin-right:12px}.chapter-toggle{cursor:pointer;margin:0 0 24px;transition:all .18s ease-in-out;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.chapter-toggle i.zmdi-caret-right{transition:all .18s ease-in-out;transform:rotate(0deg);transform-origin:25% 50%}.chapter-toggle.open{margin-bottom:0}.chapter-toggle.open i.zmdi-caret-right{transform:rotate(90deg)}.page-nav-list{margin-left:2px;list-style:none}.page-nav-list li{padding-left:6px;border-left:2px solid #888;margin-bottom:4px}.page-nav-list li a{color:#555}.page-nav-list .nav-H2{margin-left:12px;font-size:.95em}.page-nav-list .nav-H3{margin-left:24px;font-size:.9em}.page-nav-list .nav-H4{margin-left:36px;font-size:.85em}.page-nav-list .nav-H5{margin-left:48px;font-size:.8em}.page-nav-list .nav-H6{margin-left:60px;font-size:.75em}.book-tree{padding:24px 0 0;position:relative;right:0;top:0;transition:.24s ease-in-out;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:hover{text-decoration:none}.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{float:left}.activity-list-item .left+.right{margin-left:42px}ul.pagination{display:inline-block;list-style:none;margin:16px 0;padding-left:1px}ul.pagination li{float:left}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}.compact ul.pagination{margin:0}.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>p.empty-text{display:block;font-size:15px}.entity-list.compact hr{margin:0}.dropdown-container{display:inline-block;vertical-align:top;position:relative}.dropdown-container ul{display:none;position:absolute;z-index:999;top:0;list-style:none;right:0;margin:16px 0;background-color:#fff;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border-radius:1px;border:1px solid #eee;min-width:180px;padding:6px 0;color:#555;text-align:left!important}.dropdown-container ul.wide{min-width:220px}.dropdown-container ul .text-muted{color:#999}.dropdown-container ul a{display:block;padding:6px 16px;color:#555}.dropdown-container ul a:hover{text-decoration:none;background-color:#eee}.dropdown-container ul a i{margin-right:16px;padding-right:0;display:inline;width:22px}.dropdown-container ul li.border-bottom{border-bottom:1px solid #ddd}#page-show>.row .col-md-9{z-index:2}#page-show>.row .col-md-3{z-index:1}.page-editor{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}.page-editor .faded-small{height:auto}.page-editor .edit-area{-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column}.page-style.editor{padding:0!important}.page-content{max-width:840px;overflow-wrap:break-word}.page-content .align-left{text-align:left}.page-content img.align-left,.page-content table.align-left{float:left!important;margin:6px 12px 6px 0}.page-content .align-right{float:right!important}.page-content img.align-right,.page-content table.align-right{text-align:right;margin:6px 0 6px 12px}.page-content .align-center{text-align:center}.page-content img{max-width:100%;height:auto}.page-content .title-input input[type=text],.page-content h1,.page-content h2,.page-content h3,.page-content h4,.page-content h5,.page-content h6,.page-content pre,.title-input .page-content input[type=text]{clear:left}.page-content hr{clear:both;margin:16px 0}.page-content table{word-break:break-all;word-break:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto}.pointer-container{position:relative;display:none;left:0;z-index:10}.pointer{border:1px solid #ccc;display:inline-block;padding:12px;border-radius:4px;box-shadow:0 0 8px 1px hsla(0,3%,83%,.35);top:-60px;width:272px;z-index:55}.pointer,.pointer:before{position:absolute;background-color:#fff}.pointer:before{left:50%;bottom:-9px;width:16px;height:16px;margin-left:-8px;content:'';display:block;transform:rotate(45deg);transform-origin:50% 50%;border-bottom:1px solid #ccc;border-right:1px solid #ccc;z-index:56}.pointer input{background-color:#fff;border:1px solid #ddd;color:#666;width:172px;z-index:40}.pointer button,.pointer input{position:relative;border-radius:0;height:28px;font-size:12px;vertical-align:top}.pointer>i{color:#888;font-size:18px;padding-top:4px}.pointer .button{line-height:1;margin:0 0 0 -4px;box-shadow:none}.floating-toolbox{background-color:#fff;border:1px solid #ddd;right:64px;z-index:99;width:48px;overflow:hidden;-ms-flex-align:stretch;align-items:stretch;-ms-flex-direction:row;flex-direction:row;display:-ms-flexbox;display:flex;transition:width .18s ease-in-out;margin-top:-1px;min-height:0}.floating-toolbox.open{width:480px}.floating-toolbox [toolbox-toggle] i{transition:transform .18s ease-in-out}.floating-toolbox [toolbox-toggle]{transition:background-color .18s ease-in-out}.floating-toolbox.open [toolbox-toggle]{background-color:rgba(255,0,0,.29)}.floating-toolbox.open [toolbox-toggle] i{transform:rotate(180deg)}.floating-toolbox>div{-ms-flex:1;flex:1;position:relative}.floating-toolbox .tabs{display:block;border-right:1px solid #ddd;width:48px;-ms-flex:0 1 auto;flex:0 1 auto}.floating-toolbox .tabs i{color:rgba(0,0,0,.5);padding:0;margin:0}.floating-toolbox .tabs>span{display:block;cursor:pointer;padding:12px 16px;font-size:13.5px;line-height:1.6;border-bottom:1px solid hsla(0,0%,100%,.3)}.floating-toolbox.open .tabs>span.active{color:#444;background-color:rgba(0,0,0,.1)}.floating-toolbox div[tab-content]{padding-bottom:45px;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;min-height:0;overflow-y:scroll}.floating-toolbox div[tab-content] .padded{-ms-flex:1;flex:1;padding-top:0}.floating-toolbox h4{font-size:24px;margin:16px 0 0;padding:0 24px 12px}.floating-toolbox .tags input{max-width:100%;width:100%;min-width:50px}.floating-toolbox .tags td{padding-right:12px;padding-top:12px;position:relative}.floating-toolbox button.pos{position:absolute;bottom:0;display:block;width:100%;padding:12px;height:45px;border:0;margin:0;box-shadow:none;border-radius:0}.floating-toolbox button.pos:hover{box-shadow:none}.floating-toolbox .handle{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:move;color:#999}.floating-toolbox form{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;overflow-y:scroll}[tab-content]{display:none}.tag-display{margin:32px 6px;border:1px solid #ddd;min-width:180px;max-width:320px;opacity:.7;z-index:5;position:relative}.tag-display table{width:100%;margin:0;padding:0}.tag-display span{color:#666;margin-left:12px}.tag-display .heading,.tag-display td{padding:6px 12px;color:#444}.tag-display td{border:0;border-bottom:1px solid #ddd}.tag-display .tag-value,.tag-display td i{color:#888}.tag-display tr:last-child td{border-bottom:none}.tag-display .tag{padding:12px}.suggestion-box{position:absolute;background-color:#fff;border:1px solid #bbb;box-shadow:0 0 4px 1px #ccc;list-style:none;z-index:100;padding:0;margin:0;border-radius:3px}.suggestion-box li{display:block;padding:6px 12px;border-bottom:1px solid #ddd}.suggestion-box li:last-child{border-bottom:0}.suggestion-box li.active{background-color:#eee}table{border-spacing:0;border-collapse:collapse} \ No newline at end of file +*{box-sizing:border-box}html{background-color:#fff;height:100%;overflow-y:scroll}html.flexbox{overflow-y:hidden}body{font-family:Roboto,DejaVu Sans,Helvetica,Arial,sans-serif;font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}button{font-size:100%}table{min-width:100px}table td,table th{min-width:10px;padding:4px 6px;border:1px solid #ddd}.title-input input[type=text],h1{font-size:3.425em;line-height:1.22222222em;margin-top:.48888889em;margin-bottom:.48888889em}h2{font-size:2.8275em;line-height:1.294117647em;margin-top:.8627451em;margin-bottom:.43137255em}h3{font-size:1.75em;line-height:1.571428572em}h3,h4{margin-top:.78571429em;margin-bottom:.43137255em}h4{font-size:1em;line-height:1.375em}.title-input input[type=text],h1,h2,h3,h4{font-weight:400;position:relative;display:block;color:#555}.title-input input[type=text] .subheader,h1 .subheader,h2 .subheader,h3 .subheader,h4 .subheader{font-size:.5em;line-height:1em;color:#969696}.link,a{color:#0288d1;cursor:pointer;text-decoration:none;transition:color 80ms ease-in-out;font-family:Roboto,DejaVu Sans,Helvetica,Arial,sans-serif;line-height:1.6}.link:hover,a:hover{text-decoration:underline;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(90deg,#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;white-space:pre;font-size:.8em;overflow:hidden;border-radius:4px;box-shadow:0 1px 2px 0 hsla(0,0%,4%,.06);border:1px solid hsla(0,0%,87%,.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}pre code{background-color:transparent;border:0;font-size:1em}.text-pos,.text-pos:hover,p.pos,p .pos,p.pos:hover,p .pos:hover,span.pos,span.pos:hover{color:#52a256}.text-neg,.text-neg:hover,p.neg,p .neg,p.neg:hover,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,p.primary:hover,p .primary:hover,span.primary,span.primary:hover{color:#0288d1}.text-secondary,.text-secondary:hover,p.secondary,p .secondary,p.secondary:hover,p .secondary:hover,span.secondary,span.secondary:hover{color:#e27b41}.text-book,.text-book:hover{color:#009688}.text-page,.text-page:hover{color:#0288d1}.text-page.draft,.text-page.draft:hover{color:#9a60da}.text-chapter,.text-chapter:hover{color:#ef7c3c}.faded .text-book:hover{color:#009688!important}.faded .text-chapter:hover{color:#ef7c3c!important}.faded .text-page:hover{color:#0288d1!important}span.highlight{font-weight:700;padding:2px 4px}ul{list-style:disc}ol,ul{padding-left:20.8px;overflow:hidden}ol{list-style:decimal}.underlined{text-decoration:underline}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-bigger{font-size:1.1em}.text-large{font-size:1.6666em}.no-color{color:inherit}.header-group{margin:16px 0}.header-group .title-input input[type=text],.header-group h1,.header-group h2,.header-group h3,.header-group h4,.header-group h5,.header-group h6,.title-input .header-group input[type=text]{margin:0}span.sep{color:#bbb;padding:0 6px}.list>*{display:block}.action-header .title-input input[type=text],.action-header h1,.title-input .action-header input[type=text]{margin-top:16px}i{padding-right:6px}body.flexbox{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;height:100%;min-height:100%;max-height:100%;overflow:hidden}body.flexbox #content{-ms-flex:1;flex:1}.flex-fill,body.flexbox #content{display:-ms-flexbox;display:flex;min-height:0}.flex-fill{-ms-flex-align:stretch;align-items:stretch}.flex-fill.flex,.flex-fill .flex{min-height:0;-ms-flex:1;flex:1}div[class^=col-] img{max-width:100%}.container{max-width:1400px;margin-left:auto;margin-right:auto;padding-left:16px;padding-right:16px}.container.fluid{max-width:100%}.container.small{max-width:840px}.center-box{margin:32px auto 0;padding:16px 48px 64px;max-width:346px;display:inline-block;text-align:left;vertical-align:top}.center-box.login{background-color:#eee;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border:1px solid #ddd}.row{margin-left:-16px;margin-right:-16px}.float{float:left}.float.right{float:right}.block{display:block;position:relative}.inline{display:inline}.block.inline{display:inline-block}.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12,.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12,.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12,.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{position:relative;min-height:1px;padding-left:16px;padding-right:16px}.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{float:left}.col-xs-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-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12{float:left}.col-sm-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-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12{float:left}.col-md-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-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.row:after,.row:before{content:" ";display:table}.clearfix:after,.container-fluid:after,.container:after,.row:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.shaded{background-color:#f1f1f1}.shaded.pos{background-color:#d6ead7}.shaded.neg{background-color:#f4a9a9}.shaded.primary{background-color:#a1ddfe}.shaded.secondary{background-color:#f6d7c6}.bordered{border:1px solid #bbb}.bordered.pos{border-color:#52a256}.bordered.neg{border-color:#e84f4f}.bordered.primary{border-color:#0288d1}.bordered.secondary{border-color:#e27b41}.bordered.thick{border-width:2px}.rounded{border-radius:3px}.nopadding{padding:0}.padded{padding:24px}.padded.large{padding:32px}.padded>h1:first-child,.padded>h2:first-child,.padded>h3:first-child,.padded>h4:first-child,.title-input .padded>input[type=text]:first-child{margin-top:.1em}.padded-top,.padded-vertical{padding-top:16px}.padded-top.large,.padded-vertical.large{padding-top:32px}.padded-bottom,.padded-vertical{padding-bottom:16px}.padded-bottom.large,.padded-vertical.large{padding-bottom:32px}.padded-horizontal,.padded-left{padding-left:16px}.padded-horizontal.large,.padded-left.large{padding-left:32px}.padded-horizontal,.padded-right{padding-right:16px}.padded-horizontal.large,.padded-right.large{padding-right:32px}.margins{margin:24px}.margins.large{margin:32px}.margin-top,.margins-vertical{margin-top:16px}.margin-top.large,.margins-vertical.large{margin-top:32px}.margin-bottom,.margins-vertical{margin-bottom:16px}.margin-bottom.large,.margins-vertical.large{margin-bottom:32px}.margin-left,.margins-horizontal{margin-left:16px}.margin-left.large,.margins-horizontal.large{margin-left:32px}.margin-right,.margins-horizontal{margin-right:16px}.margin-right.large,.margins-horizontal.large{margin-right:32px}.callout{border-left:3px solid #bbb;background-color:#eee;padding:12px}.callout:before{font-family:Material-Design-Iconic-Font;padding-right:12px;display:inline-block}.callout.success{border-left-color:#52a256;background-color:#e7f3e7;color:#376c39}.callout.success:before{content:'\f269'}.callout.danger{border-left-color:#e84f4f;background-color:#fce8e8;color:#b91818}.callout.danger:before{content:'\f1f2'}.callout.info{border-left-color:#0288d1;background-color:#d3efff;color:#015380}.callout.info:before{content:'\f1f8'}.callout.warning{border-left-color:#e27b41;background-color:#faeae0;color:#b6531c}.callout.warning:before{content:'\f1f1'}.input-base,input[type=email],input[type=number],input[type=password],input[type=search],input[type=text],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=email],input.invalid[type=number],input.invalid[type=password],input.invalid[type=search],input.invalid[type=text],input.invalid[type=url],input.neg[type=email],input.neg[type=number],input.neg[type=password],input.neg[type=search],input.neg[type=text],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=email],input.pos[type=number],input.pos[type=password],input.pos[type=search],input.pos[type=text],input.pos[type=url],input.valid[type=email],input.valid[type=number],input.valid[type=password],input.valid[type=search],input.valid[type=text],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=email],input.disabled[type=number],input.disabled[type=password],input.disabled[type=search],input.disabled[type=text],input.disabled[type=url],input[disabled][type=email],input[disabled][type=number],input[disabled][type=password],input[disabled][type=search],input[disabled][type=text],input[disabled][type=url],select.disabled,select[disabled],textarea.disabled,textarea[disabled]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAMUlEQVQIW2NkwAGuXbv2nxGbHEhCS0uLEUMSJgHShCKJLIEiiS4Bl8QmAZbEJQGSBAC62BuJ+tt7zgAAAABJRU5ErkJggg==)}.input-base:focus,input[type=email]:focus,input[type=number]:focus,input[type=password]:focus,input[type=search]:focus,input[type=text]:focus,input[type=url]:focus,select:focus,textarea:focus{outline:0}#html-editor{display:none}#markdown-editor{position:relative;z-index:5}#markdown-editor textarea{font-family:Roboto Mono;font-style:normal;font-weight:400;padding:6px 16px;color:#444;border-radius:0;max-height:100%;-ms-flex:1;flex:1;border:0;width:100%}#markdown-editor textarea:focus{outline:0}#markdown-editor .markdown-display,#markdown-editor .markdown-editor-wrap{-ms-flex:1;flex:1;position:relative}#markdown-editor .markdown-editor-wrap{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;border:1px solid #ddd}#markdown-editor .markdown-display{padding:0 16px;margin-left:-1px;overflow-y:scroll}#markdown-editor .markdown-display .page-content{margin:0 auto}.editor-toolbar{width:100%;padding:6px 16px;font-family:Roboto Mono;font-size:11px;line-height:1.6;border-bottom:1px solid #ddd;background-color:#eee;-ms-flex:none;flex:none}.editor-toolbar:after{content:'';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}label.inline{display:inline-block}label.checkbox,label.radio{font-weight:400}label.checkbox input[type=checkbox],label.checkbox input[type=radio],label.radio input[type=checkbox],label.radio input[type=radio]{margin-right:6px}label+p.small{margin-bottom:.8em}.toggle-switch{display:inline-block;background-color:#bbb;width:36px;height:14px;border-radius:7px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.toggle-switch,.toggle-switch:after{position:relative;transition:all .12s ease-in-out}.toggle-switch:after{content:'';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 textarea{display:block;width:100%;min-height:64px}.form-group .text-neg,.form-group .text-pos{padding:6px 0}.description-input textarea,.inline-input-style,.title-input input[type=text]{border:2px dotted #bbb;display:block;width:100%;padding:6px 12px}.title-input .input{width:100%}.description-input label,.title-input label{margin-top:16px;color:#666}.title-input input[type=text]{margin-top:0;padding-right:0;width:100%;color:#444}.title-input.page-title{font-size:.8em}.title-input.page-title .input{border:0;margin-bottom:-1px}.title-input.page-title input[type=text]{max-width:840px;margin:0 auto;border:none}.page-title input{display:block;width:100%;font-size:1.4em}.description-input textarea{font-size:15px;color:#666;width:100%}.search-box,div[editor-type=markdown] .title-input.page-title input[type=text]{max-width:100%}.search-box{position:relative}.search-box button{background-color:transparent;border:none;color:#0288d1;padding:0;margin:0;cursor:pointer;margin-left:12px}.search-box button[type=submit]{margin-left:-24px}.search-box input{padding-right:24px;width:300px;max-width:100%}input.outline{border:0;border-bottom:2px solid #ddd;border-radius:0}input.outline:active,input.outline:focus{border:0;border-bottom:2px solid #aaa;outline:0}#login-form label[for=remember]{margin:0}#login-form label.toggle-switch{margin-left:32px}.image-picker img{background-color:#bbb}div[toggle-switch]{height:18px;width:150px}table.table{width:100%}table.table tr{border-bottom:1px solid #ddd}table.table td,table.table th{text-align:left;border:none;padding:6px;vertical-align:middle}table.table th{font-weight:700}table.table tr:hover{background-color:#eee}table{max-width:100%}table thead{background-color:#f8f8f8;font-weight:500}table.no-style td{border:0;padding:0}table.list-table{margin:-6px}table.list-table td{border:0;vertical-align:middle;padding:6px}header{display:block;z-index:2;top:0;background-color:#0288d1;color:#fff;border-bottom:1px solid #ddd}header .padded{padding:16px}header .links{display:inline-block;vertical-align:top;margin-right:32px}@media screen and (max-width:992px){header .links{margin-right:16px}}header .links a{display:inline-block;padding:24px;color:#fff}header .links a:last-child{padding-right:0}@media screen and (max-width:992px){header .links a{padding:24px 12px}}header .avatar,header .user-name{display:inline-block}header .avatar{width:30px;height:30px}header .user-name{padding-top:24px;display:inline-block;cursor:pointer}header .user-name,header .user-name>*{vertical-align:top}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}}@media screen and (max-width:992px){header{text-align:center}header .float.right{float:none}}@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;display:inline-block;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{vertical-align:top;margin-left:-24px;color:#fff;top:6px;right:4px;display:inline-block;position:absolute}form.search-box button:hover{color:#fff}.logo{display:inline-block}.logo:hover{color:#fff;text-decoration:none}.logo-text{display:inline-block;font-size:1.8em;color:#fff;font-weight:400;padding:24px 24px 24px 0;vertical-align:top;line-height:1}.logo-image{margin:16px 12px 16px 0;vertical-align:top;height:43px}.breadcrumbs span.sep{color:#aaa;padding:0 6px}.faded a,.faded button,.faded span,.faded span>div{color:#666}.faded .text-button{opacity:.5;transition:all .12s ease-in-out}.faded .text-button:hover{opacity:1;text-decoration:none}.faded span.faded-text{display:inline-block;padding:12px}.faded-small{color:#000;font-size:.9em;background-color:rgba(21,101,192,.15)}.action-buttons .text-button,.breadcrumbs .text-button{display:inline-block;padding:12px}.action-buttons .text-button:last-child,.breadcrumbs .text-button:last-child{padding-right:0}.action-buttons{text-align:right}.action-buttons.text-left{text-align:left}.action-buttons.text-left .text-button{padding-right:16px;padding-left:0}.action-buttons.text-center,.nav-tabs{text-align:center}.nav-tabs .tab-item,.nav-tabs a{padding:16px;display:inline-block;color:#666;cursor:pointer}.nav-tabs .tab-item.selected,.nav-tabs a.selected{border-bottom:2px solid #0288d1}.page-list h3{margin:24px 0 6px;font-size:1.666em}.page-list a.chapter{color:#ef7c3c}.page-list .inset-list{display:none;overflow:hidden;margin-bottom:24px}.page-list h4{display:block;margin:12px 0 0;border-left:5px solid #0288d1;padding:6px 0 6px 16px}.page-list h4.draft{border-left-color:#9a60da}.page-list hr{margin-top:0}.page-list .book,.page-list .chapter,.page-list .page{padding-left:24px}.page-list .page{border-left:5px solid #0288d1}.page-list .page.draft{border-left:5px solid #9a60da}.page-list .page.draft .text-page{color:#9a60da}.page-list .chapter{border-left:5px solid #ef7c3c}.page-list .book{border-left:5px solid #009688}.page-list .meta{margin-top:-16px;font-size:.95em}.page-list .meta span{margin-right:12px}.chapter-toggle{cursor:pointer;margin:0 0 24px;transition:all .18s ease-in-out;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.chapter-toggle i.zmdi-caret-right{transition:all .18s ease-in-out;transform:rotate(0deg);transform-origin:25% 50%}.chapter-toggle.open{margin-bottom:0}.chapter-toggle.open i.zmdi-caret-right{transform:rotate(90deg)}.page-nav-list{margin-left:2px;list-style:none}.page-nav-list li{padding-left:6px;border-left:2px solid #888;margin-bottom:4px}.page-nav-list li a{color:#555}.page-nav-list .nav-H2{margin-left:12px;font-size:.95em}.page-nav-list .nav-H3{margin-left:24px;font-size:.9em}.page-nav-list .nav-H4{margin-left:36px;font-size:.85em}.page-nav-list .nav-H5{margin-left:48px;font-size:.8em}.page-nav-list .nav-H6{margin-left:60px;font-size:.75em}.book-tree{padding:24px 0 0;position:relative;right:0;top:0;transition:.24s ease-in-out;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:hover{text-decoration:none}.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{float:left}.activity-list-item .left+.right{margin-left:42px}ul.pagination{display:inline-block;list-style:none;margin:16px 0;padding-left:1px}ul.pagination li{float:left}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}.compact ul.pagination{margin:0}.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>p.empty-text{display:block;font-size:15px}.entity-list.compact hr{margin:0}.dropdown-container{display:inline-block;vertical-align:top;position:relative}.dropdown-container ul{display:none;position:absolute;z-index:999;top:0;list-style:none;right:0;margin:16px 0;background-color:#fff;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border-radius:1px;border:1px solid #eee;min-width:180px;padding:6px 0;color:#555;text-align:left!important}.dropdown-container ul.wide{min-width:220px}.dropdown-container ul .text-muted{color:#999}.dropdown-container ul a{display:block;padding:6px 16px;color:#555}.dropdown-container ul a:hover{text-decoration:none;background-color:#eee}.dropdown-container ul a i{margin-right:16px;padding-right:0;display:inline;width:22px}.dropdown-container ul li.border-bottom{border-bottom:1px solid #ddd}#page-show>.row .col-md-9{z-index:2}#page-show>.row .col-md-3{z-index:1}.page-editor{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}.page-editor .faded-small{height:auto}.page-editor .edit-area{-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column}.page-style.editor{padding:0!important}.page-content{max-width:840px;overflow-wrap:break-word}.page-content .align-left{text-align:left}.page-content img.align-left,.page-content table.align-left{float:left!important;margin:6px 12px 6px 0}.page-content .align-right{float:right!important}.page-content img.align-right,.page-content table.align-right{text-align:right;margin:6px 0 6px 12px}.page-content .align-center{text-align:center}.page-content img{max-width:100%;height:auto}.page-content .title-input input[type=text],.page-content h1,.page-content h2,.page-content h3,.page-content h4,.page-content h5,.page-content h6,.page-content pre,.title-input .page-content input[type=text]{clear:left}.page-content hr{clear:both;margin:16px 0}.page-content table{word-break:break-all;word-break:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto}.pointer-container{position:relative;display:none;left:0;z-index:10}.pointer{border:1px solid #ccc;display:inline-block;padding:12px;border-radius:4px;box-shadow:0 0 8px 1px hsla(0,3%,83%,.35);top:-60px;width:272px;z-index:55}.pointer,.pointer:before{position:absolute;background-color:#fff}.pointer:before{left:50%;bottom:-9px;width:16px;height:16px;margin-left:-8px;content:'';display:block;transform:rotate(45deg);transform-origin:50% 50%;border-bottom:1px solid #ccc;border-right:1px solid #ccc;z-index:56}.pointer input{background-color:#fff;border:1px solid #ddd;color:#666;width:172px;z-index:40}.pointer button,.pointer input{position:relative;border-radius:0;height:28px;font-size:12px;vertical-align:top}.pointer>i{color:#888;font-size:18px;padding-top:4px}.pointer .button{line-height:1;margin:0 0 0 -4px;box-shadow:none}.floating-toolbox{background-color:#fff;border:1px solid #ddd;right:64px;z-index:99;width:48px;overflow:hidden;-ms-flex-align:stretch;align-items:stretch;-ms-flex-direction:row;flex-direction:row;display:-ms-flexbox;display:flex;transition:width .18s ease-in-out;margin-top:-1px;min-height:0}.floating-toolbox.open{width:480px}.floating-toolbox [toolbox-toggle] i{transition:transform .18s ease-in-out}.floating-toolbox [toolbox-toggle]{transition:background-color .18s ease-in-out}.floating-toolbox.open [toolbox-toggle]{background-color:rgba(255,0,0,.29)}.floating-toolbox.open [toolbox-toggle] i{transform:rotate(180deg)}.floating-toolbox>div{-ms-flex:1;flex:1;position:relative}.floating-toolbox .tabs{display:block;border-right:1px solid #ddd;width:48px;-ms-flex:0 1 auto;flex:0 1 auto}.floating-toolbox .tabs i{color:rgba(0,0,0,.5);padding:0;margin:0}.floating-toolbox .tabs>span{display:block;cursor:pointer;padding:12px 16px;font-size:13.5px;line-height:1.6;border-bottom:1px solid hsla(0,0%,100%,.3)}.floating-toolbox.open .tabs>span.active{color:#444;background-color:rgba(0,0,0,.1)}.floating-toolbox div[tab-content]{padding-bottom:45px;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;min-height:0;overflow-y:scroll}.floating-toolbox div[tab-content] .padded{-ms-flex:1;flex:1;padding-top:0}.floating-toolbox h4{font-size:24px;margin:16px 0 0;padding:0 24px 12px}.floating-toolbox .tags input{max-width:100%;width:100%;min-width:50px}.floating-toolbox .tags td{padding-right:12px;padding-top:12px;position:relative}.floating-toolbox button.pos{position:absolute;bottom:0;display:block;width:100%;padding:12px;height:45px;border:0;margin:0;box-shadow:none;border-radius:0}.floating-toolbox button.pos:hover{box-shadow:none}.floating-toolbox .handle{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:move;color:#999}.floating-toolbox form{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;overflow-y:scroll}[tab-content]{display:none}.tag-display{margin:32px 6px;border:1px solid #ddd;min-width:180px;max-width:320px;opacity:.7;z-index:5;position:relative}.tag-display table{width:100%;margin:0;padding:0}.tag-display .heading th{padding:6px 12px;color:#333;font-weight:400}.tag-display td{border:0;border-bottom:1px solid #ddd;padding:6px 12px;color:#444}.tag-display .tag-value{color:#888}.tag-display tr:last-child td{border-bottom:none}.tag-display .tag{padding:12px}.suggestion-box{position:absolute;background-color:#fff;border:1px solid #bbb;box-shadow:0 0 4px 1px #ccc;list-style:none;z-index:100;padding:0;margin:0;border-radius:3px}.suggestion-box li{display:block;padding:6px 12px;border-bottom:1px solid #ddd}.suggestion-box li:last-child{border-bottom:0}.suggestion-box li.active{background-color:#eee}table{border-spacing:0;border-collapse:collapse} \ No newline at end of file diff --git a/public/css/styles.css b/public/css/styles.css index 13b67ecbc5c..c36e781f828 100644 --- a/public/css/styles.css +++ b/public/css/styles.css @@ -1 +1 @@ -.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-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:'';content:none}table{border-collapse:collapse;border-spacing:0}@font-face{font-family:Roboto;font-style:normal;font-weight:100;src:local("Roboto Thin"),local("Roboto-Thin"),url(../fonts/roboto-v15-cyrillic_latin-100.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-100.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:100;src:local("Roboto Thin Italic"),local("Roboto-ThinItalic"),url(../fonts/roboto-v15-cyrillic_latin-100italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-100italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:300;src:local("Roboto Light"),local("Roboto-Light"),url(../fonts/roboto-v15-cyrillic_latin-300.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-300.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:300;src:local("Roboto Light Italic"),local("Roboto-LightItalic"),url(../fonts/roboto-v15-cyrillic_latin-300italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-300italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:local("Roboto"),local("Roboto-Regular"),url(../fonts/roboto-v15-cyrillic_latin-regular.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-regular.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:400;src:local("Roboto Italic"),local("Roboto-Italic"),url(../fonts/roboto-v15-cyrillic_latin-italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:500;src:local("Roboto Medium"),local("Roboto-Medium"),url(../fonts/roboto-v15-cyrillic_latin-500.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-500.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:500;src:local("Roboto Medium Italic"),local("Roboto-MediumItalic"),url(../fonts/roboto-v15-cyrillic_latin-500italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-500italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:700;src:local("Roboto Bold"),local("Roboto-Bold"),url(../fonts/roboto-v15-cyrillic_latin-700.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-700.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:700;src:local("Roboto Bold Italic"),local("Roboto-BoldItalic"),url(../fonts/roboto-v15-cyrillic_latin-700italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-700italic.woff) format("woff")}@font-face{font-family:Roboto Mono;font-style:normal;font-weight:400;src:local("Roboto Mono"),local("RobotoMono-Regular"),url(../fonts/roboto-mono-v4-latin-regular.woff2) format("woff2"),url(../fonts/roboto-mono-v4-latin-regular.woff) format("woff")}*{box-sizing:border-box}html{background-color:#fff;height:100%;overflow-y:scroll}html.flexbox{overflow-y:hidden}body{font-family:Roboto,DejaVu Sans,Helvetica,Arial,sans-serif;font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}button{font-size:100%}table{min-width:100px}table td,table th{min-width:10px;padding:4px 6px;border:1px solid #ddd}.title-input input[type=text],h1{font-size:3.425em;line-height:1.22222222em;margin-top:.48888889em;margin-bottom:.48888889em}h2{font-size:2.8275em;line-height:1.294117647em;margin-top:.8627451em;margin-bottom:.43137255em}h3{font-size:1.75em;line-height:1.571428572em}h3,h4{margin-top:.78571429em;margin-bottom:.43137255em}h4{font-size:1em;line-height:1.375em}.title-input input[type=text],h1,h2,h3,h4{font-weight:400;position:relative;display:block;color:#555}.title-input input[type=text] .subheader,h1 .subheader,h2 .subheader,h3 .subheader,h4 .subheader{font-size:.5em;line-height:1em;color:#969696}.link,.text-button,a{color:#0288d1;cursor:pointer;text-decoration:none;transition:color 80ms ease-in-out;font-family:Roboto,DejaVu Sans,Helvetica,Arial,sans-serif;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(90deg,#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;white-space:pre;font-size:.8em;overflow:hidden;border-radius:4px;box-shadow:0 1px 2px 0 hsla(0,0%,4%,.06);border:1px solid hsla(0,0%,87%,.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}pre code{background-color:transparent;border:0;font-size:1em}.text-pos,.text-pos:hover,p.pos,p .pos,p.pos:hover,p .pos:hover,span.pos,span.pos:hover{color:#52a256}.text-neg,.text-neg:hover,p.neg,p .neg,p.neg:hover,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,p.primary:hover,p .primary:hover,span.primary,span.primary:hover{color:#0288d1}.text-secondary,.text-secondary:hover,p.secondary,p .secondary,p.secondary:hover,p .secondary:hover,span.secondary,span.secondary:hover{color:#e27b41}.text-book,.text-book:hover{color:#009688}.text-page,.text-page:hover{color:#0288d1}.text-page.draft,.text-page.draft:hover{color:#9a60da}.text-chapter,.text-chapter:hover{color:#ef7c3c}.faded .text-book:hover{color:#009688!important}.faded .text-chapter:hover{color:#ef7c3c!important}.faded .text-page:hover{color:#0288d1!important}span.highlight{font-weight:700;padding:2px 4px}ul{list-style:disc}ol,ul{padding-left:20.8px;overflow:hidden}ol{list-style:decimal}.underlined{text-decoration:underline}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-bigger{font-size:1.1em}.text-large{font-size:1.6666em}.no-color{color:inherit}.header-group{margin:16px 0}.header-group .title-input input[type=text],.header-group h1,.header-group h2,.header-group h3,.header-group h4,.header-group h5,.header-group h6,.title-input .header-group input[type=text]{margin:0}span.sep{color:#bbb;padding:0 6px}.list>*{display:block}.action-header .title-input input[type=text],.action-header h1,.title-input .action-header input[type=text]{margin-top:16px}i{padding-right:6px}body.flexbox{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;height:100%;min-height:100%;max-height:100%;overflow:hidden}body.flexbox #content{-ms-flex:1;flex:1}.flex-fill,body.flexbox #content{display:-ms-flexbox;display:flex;min-height:0}.flex-fill{-ms-flex-align:stretch;align-items:stretch}.flex-fill.flex,.flex-fill .flex{min-height:0;-ms-flex:1;flex:1}div[class^=col-] img{max-width:100%}.container{max-width:1400px;margin-left:auto;margin-right:auto;padding-left:16px;padding-right:16px}.container.fluid{max-width:100%}.container.small{max-width:840px}.center-box{margin:32px auto 0;padding:16px 48px 64px;max-width:346px;display:inline-block;text-align:left;vertical-align:top}.center-box.login{background-color:#eee;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border:1px solid #ddd}.row{margin-left:-16px;margin-right:-16px}.float{float:left}.float.right{float:right}.block{display:block;position:relative}.inline{display:inline}.block.inline{display:inline-block}.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12,.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12,.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12,.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{position:relative;min-height:1px;padding-left:16px;padding-right:16px}.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{float:left}.col-xs-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-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12{float:left}.col-sm-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-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12{float:left}.col-md-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-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.row:after,.row:before{content:" ";display:table}.clearfix:after,.container-fluid:after,.container:after,.row:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.shaded{background-color:#f1f1f1}.shaded.pos{background-color:#d6ead7}.shaded.neg{background-color:#f4a9a9}.shaded.primary{background-color:#a1ddfe}.shaded.secondary{background-color:#f6d7c6}.bordered{border:1px solid #bbb}.bordered.pos{border-color:#52a256}.bordered.neg{border-color:#e84f4f}.bordered.primary{border-color:#0288d1}.bordered.secondary{border-color:#e27b41}.bordered.thick{border-width:2px}.rounded{border-radius:3px}.nopadding{padding:0}.padded{padding:24px}.padded.large{padding:32px}.padded>h1:first-child,.padded>h2:first-child,.padded>h3:first-child,.padded>h4:first-child,.title-input .padded>input[type=text]:first-child{margin-top:.1em}.padded-top,.padded-vertical{padding-top:16px}.padded-top.large,.padded-vertical.large{padding-top:32px}.padded-bottom,.padded-vertical{padding-bottom:16px}.padded-bottom.large,.padded-vertical.large{padding-bottom:32px}.padded-horizontal,.padded-left{padding-left:16px}.padded-horizontal.large,.padded-left.large{padding-left:32px}.padded-horizontal,.padded-right{padding-right:16px}.padded-horizontal.large,.padded-right.large{padding-right:32px}.margins{margin:24px}.margins.large{margin:32px}.margin-top,.margins-vertical{margin-top:16px}.margin-top.large,.margins-vertical.large{margin-top:32px}.margin-bottom,.margins-vertical{margin-bottom:16px}.margin-bottom.large,.margins-vertical.large{margin-bottom:32px}.margin-left,.margins-horizontal{margin-left:16px}.margin-left.large,.margins-horizontal.large{margin-left:32px}.margin-right,.margins-horizontal{margin-right:16px}.margin-right.large,.margins-horizontal.large{margin-right:32px}.callout{border-left:3px solid #bbb;background-color:#eee;padding:12px}.callout:before{font-family:Material-Design-Iconic-Font;padding-right:12px;display:inline-block}.callout.success{border-left-color:#52a256;background-color:#e7f3e7;color:#376c39}.callout.success:before{content:'\f269'}.callout.danger{border-left-color:#e84f4f;background-color:#fce8e8;color:#b91818}.callout.danger:before{content:'\f1f2'}.callout.info{border-left-color:#0288d1;background-color:#d3efff;color:#015380}.callout.info:before{content:'\f1f8'}.callout.warning{border-left-color:#e27b41;background-color:#faeae0;color:#b6531c}.callout.warning:before{content:'\f1f1'}.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 .12s ease-in-out;box-shadow:0 .5px 1.5px 0 rgba(0,0,0,.21);background-color:#0288d1;color:#eee}.button-base:hover,.button:hover,input[type=button]:hover,input[type=submit]:hover{background-color:#02a2f9;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#eee}.button-base:active,.button:active,input[type=button]:active,input[type=submit]:active{background-color:#026ea9}.button-base:focus,.button:focus,input[type=button]:focus,input[type=submit]:focus{background-color:#0295e5;box-shadow:0 0 4px 1px #ccc;text-decoration:none;color:#eee}.button.pos,input[type=button].pos,input[type=submit].pos{background-color:#52a256;color:#eee}.button.pos:hover,input[type=button].pos:hover,input[type=submit].pos:hover{background-color:#69b36d;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#eee}.button.pos:active,input[type=button].pos:active,input[type=submit].pos:active{background-color:#448748}.button.pos:focus,input[type=button].pos:focus,input[type=submit].pos:focus{background-color:#5cac60;box-shadow:0 0 4px 1px #ccc;text-decoration:none;color:#eee}.button.neg,input[type=button].neg,input[type=submit].neg{background-color:#e84f4f;color:#eee}.button.neg:hover,input[type=button].neg:hover,input[type=submit].neg:hover{background-color:#ed7373;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#eee}.button.neg:active,input[type=button].neg:active,input[type=submit].neg:active{background-color:#e32b2b}.button.neg:focus,input[type=button].neg:focus,input[type=submit].neg:focus{background-color:#ea6161;box-shadow:0 0 4px 1px #ccc;text-decoration:none;color:#eee}.button.secondary,input[type=button].secondary,input[type=submit].secondary{background-color:#e27b41;color:#eee}.button.secondary:hover,input[type=button].secondary:hover,input[type=submit].secondary:hover{background-color:#e79464;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#eee}.button.secondary:active,input[type=button].secondary:active,input[type=submit].secondary:active{background-color:#d96321}.button.secondary:focus,input[type=button].secondary:focus,input[type=submit].secondary:focus{background-color:#e58753;box-shadow:0 0 4px 1px #ccc;text-decoration:none;color:#eee}.button.muted,input[type=button].muted,input[type=submit].muted{background-color:#888;color:#eee}.button.muted:hover,input[type=button].muted:hover,input[type=submit].muted:hover{background-color:#9c9c9c;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#eee}.button.muted:active,input[type=button].muted:active,input[type=submit].muted:active{background-color:#747474}.button.muted:focus,input[type=button].muted:focus,input[type=submit].muted:focus{background-color:#929292;box-shadow:0 0 4px 1px #ccc;text-decoration:none;color:#eee}.text-button{background-color:transparent;padding:0;margin:0;border:none}.text-button:active,.text-button:focus{outline:0}.text-button:hover{text-decoration:none}.text-button.neg{color:#e84f4f}.button-group:after{display:block;content:'';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=email],input[type=number],input[type=password],input[type=search],input[type=text],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=email],input.invalid[type=number],input.invalid[type=password],input.invalid[type=search],input.invalid[type=text],input.invalid[type=url],input.neg[type=email],input.neg[type=number],input.neg[type=password],input.neg[type=search],input.neg[type=text],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=email],input.pos[type=number],input.pos[type=password],input.pos[type=search],input.pos[type=text],input.pos[type=url],input.valid[type=email],input.valid[type=number],input.valid[type=password],input.valid[type=search],input.valid[type=text],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=email],input.disabled[type=number],input.disabled[type=password],input.disabled[type=search],input.disabled[type=text],input.disabled[type=url],input[disabled][type=email],input[disabled][type=number],input[disabled][type=password],input[disabled][type=search],input[disabled][type=text],input[disabled][type=url],select.disabled,select[disabled],textarea.disabled,textarea[disabled]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAMUlEQVQIW2NkwAGuXbv2nxGbHEhCS0uLEUMSJgHShCKJLIEiiS4Bl8QmAZbEJQGSBAC62BuJ+tt7zgAAAABJRU5ErkJggg==)}.input-base:focus,input[type=email]:focus,input[type=number]:focus,input[type=password]:focus,input[type=search]:focus,input[type=text]:focus,input[type=url]:focus,select:focus,textarea:focus{outline:0}#html-editor{display:none}#markdown-editor{position:relative;z-index:5}#markdown-editor textarea{font-family:Roboto Mono;font-style:normal;font-weight:400;padding:6px 16px;color:#444;border-radius:0;max-height:100%;-ms-flex:1;flex:1;border:0;width:100%}#markdown-editor textarea:focus{outline:0}#markdown-editor .markdown-display,#markdown-editor .markdown-editor-wrap{-ms-flex:1;flex:1;position:relative}#markdown-editor .markdown-editor-wrap{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;border:1px solid #ddd}#markdown-editor .markdown-display{padding:0 16px;margin-left:-1px;overflow-y:scroll}#markdown-editor .markdown-display .page-content{margin:0 auto}.editor-toolbar{width:100%;padding:6px 16px;font-family:Roboto Mono;font-size:11px;line-height:1.6;border-bottom:1px solid #ddd;background-color:#eee;-ms-flex:none;flex:none}.editor-toolbar:after{content:'';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}label.inline{display:inline-block}label.checkbox,label.radio{font-weight:400}label.checkbox input[type=checkbox],label.checkbox input[type=radio],label.radio input[type=checkbox],label.radio input[type=radio]{margin-right:6px}label+p.small{margin-bottom:.8em}.toggle-switch{display:inline-block;background-color:#bbb;width:36px;height:14px;border-radius:7px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.toggle-switch,.toggle-switch:after{position:relative;transition:all .12s ease-in-out}.toggle-switch:after{content:'';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 textarea{display:block;width:100%;min-height:64px}.form-group .text-neg,.form-group .text-pos{padding:6px 0}.description-input textarea,.inline-input-style,.title-input input[type=text]{border:2px dotted #bbb;display:block;width:100%;padding:6px 12px}.title-input .input{width:100%}.description-input label,.title-input label{margin-top:16px;color:#666}.title-input input[type=text]{margin-top:0;padding-right:0;width:100%;color:#444}.title-input.page-title{font-size:.8em}.title-input.page-title .input{border:0;margin-bottom:-1px}.title-input.page-title input[type=text]{max-width:840px;margin:0 auto;border:none}.page-title input{display:block;width:100%;font-size:1.4em}.description-input textarea{font-size:15px;color:#666;width:100%}.search-box,div[editor-type=markdown] .title-input.page-title input[type=text]{max-width:100%}.search-box{position:relative}.search-box button{background-color:transparent;border:none;color:#0288d1;padding:0;margin:0;cursor:pointer;margin-left:12px}.search-box button[type=submit]{margin-left:-24px}.search-box input{padding-right:24px;width:300px;max-width:100%}input.outline{border:0;border-bottom:2px solid #ddd;border-radius:0}input.outline:active,input.outline:focus{border:0;border-bottom:2px solid #aaa;outline:0}#login-form label[for=remember]{margin:0}#login-form label.toggle-switch{margin-left:32px}.image-picker img{background-color:#bbb}div[toggle-switch]{height:18px;width:150px}table.table{width:100%}table.table tr{border-bottom:1px solid #ddd}table.table td,table.table th{text-align:left;border:none;padding:6px;vertical-align:middle}table.table th{font-weight:700}table.table tr:hover{background-color:#eee}table{max-width:100%}table thead{background-color:#f8f8f8;font-weight:500}table.no-style td{border:0;padding:0}table.list-table{margin:-6px}table.list-table td{border:0;vertical-align:middle;padding:6px}.anim.fadeIn{opacity:0;animation-name:fadeIn;animation-duration:.16s;animation-timing-function:ease-in-out;animation-fill-mode:forwards}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.anim.searchResult{opacity:0;transform:translate3d(580px,0,0);animation-name:searchResult;animation-duration:.22s;animation-fill-mode:forwards;animation-timing-function:cubic-bezier(.62,.28,.23,.99)}@keyframes searchResult{0%{opacity:0;transform:translate3d(400px,0,0)}to{opacity:1;transform:translateZ(0)}}.anim.notification{transform:translate3d(580px,0,0);animation-name:notification;animation-duration:3s;animation-timing-function:ease-in-out;animation-fill-mode:forwards}.anim.notification.stopped{animation-name:notificationStopped}@keyframes notification{0%{transform:translate3d(580px,0,0)}10%{transform:translateZ(0)}90%{transform:translateZ(0)}to{transform:translate3d(580px,0,0)}}@keyframes notificationStopped{0%{transform:translate3d(580px,0,0)}10%{transform:translateZ(0)}to{transform:translateZ(0)}}@keyframes menuIn{0%{opacity:0;transform:scale3d(0,0,1)}to{opacity:1;transform:scaleX(1)}}.anim.menuIn{transform-origin:100% 0;animation-name:menuIn;animation-duration:.12s;animation-delay:0s;animation-timing-function:cubic-bezier(.62,.28,.23,.99)}@keyframes loadingBob{0%{transform:translateZ(0)}30%{transform:translateZ(0)}50%{transform:translate3d(0,-10px,0)}70%{transform:translateZ(0)}to{transform:translateZ(0)}}@keyframes pointer{0%{transform:translate3d(0,20px,0) scale3d(0,0,0)}to{transform:translateZ(0) scaleX(1)}}.anim.pointer{transform-origin:50% 100%;animation-name:pointer;animation-duration:.18s;animation-delay:0s;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>div>.mce-tinymce.mce-container.mce-panel{margin:0 -1px}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel,.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body{-ms-flex:1 1 auto;flex:1 1 auto;display:-ms-flexbox!important;display:flex!important;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-toolbar-grp{-ms-flex:0 1 auto;flex:0 1 auto}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-edit-area{-ms-flex:1 1 auto;flex:1 1 auto;display:-ms-flexbox!important;display:flex!important;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-edit-area iframe{-ms-flex:1;flex:1}.hljs{display:block;overflow-x:auto;padding:.5em;background:#fdf6e3;color:#657b83;-webkit-text-size-adjust:none}.diff .hljs-header,.hljs-comment,.hljs-doctype,.hljs-pi,.lisp .hljs-string{color:#93a1a1}.css .hljs-tag,.hljs-addition,.hljs-keyword,.hljs-request,.hljs-status,.hljs-winutils,.method,.nginx .hljs-title{color:#859900}.hljs-command,.hljs-doctag,.hljs-hexcolor,.hljs-link_url,.hljs-number,.hljs-regexp,.hljs-rule .hljs-value,.hljs-string,.hljs-tag .hljs-value,.tex .hljs-formula{color:#2aa198}.css .hljs-function,.hljs-built_in,.hljs-chunk,.hljs-decorator,.hljs-id,.hljs-identifier,.hljs-localvars,.hljs-name,.hljs-title,.vhdl .hljs-literal{color:#268bd2}.hljs-attribute,.hljs-class .hljs-title,.hljs-constant,.hljs-link_reference,.hljs-parent,.hljs-type,.hljs-variable,.lisp .hljs-body,.smalltalk .hljs-number{color:#b58900}.css .hljs-pseudo,.diff .hljs-change,.hljs-attr_selector,.hljs-cdata,.hljs-header,.hljs-pragma,.hljs-preprocessor,.hljs-preprocessor .hljs-keyword,.hljs-shebang,.hljs-special,.hljs-subst,.hljs-symbol,.hljs-symbol .hljs-string{color:#cb4b16}.hljs-deletion,.hljs-important{color:#dc322f}.hljs-link_label{color:#6c71c4}.tex .hljs-formula{background:#eee8d5}.overlay{background-color:rgba(0,0,0,.2);z-index:95536;width:100%;height:100%;min-width:100%;min-height:100%;right:0}.image-manager-body,.overlay{position:fixed;top:0;left: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;z-index:999;display:-ms-flexbox;display:flex}.image-manager-body .title-input input[type=text],.image-manager-body h1,.image-manager-body h2,.image-manager-body h3,.title-input .image-manager-body input[type=text]{font-weight:300}#image-manager .dropzone-container{position:relative;border:3px dashed #ddd}.image-manager-bottom{position:absolute;bottom:0;right:0}.image-manager-list .image{display:block;position:relative;border-radius:0;float:left;margin:0;cursor:pointer;width:16.6666666667%;height:auto;border:1px solid #ddd;box-shadow:0 0 0 0 transparent;transition:all .16s cubic-bezier(.4,0,1,1);overflow:hidden}.image-manager-list .image.selected{transform:scale3d(.92,.92,.92);border:1px solid #444;box-shadow:0 1px 2px 0 rgba(0,0,0,.2)}.image-manager-list .image img{width:100%;max-width:100%;display:block}.image-manager-list .image .image-meta{position:absolute;width:100%;bottom:0;left:0;color:#eee;background-color:rgba(0,0,0,.4);font-size:10px;padding:3px 4px}.image-manager-list .image .image-meta span{display:block}@media screen and (max-width:1100px){.image-manager-list .image{width:25%}}@media screen and (max-width:800px){.image-manager-list .image .image-meta{display:none}}#image-manager .load-more{display:block;text-align:center;background-color:#eee;padding:12px 16px;color:#aaa;clear:both;font-size:20px;cursor:pointer;font-style:italic}.image-manager-sidebar{width:300px;height:100%;margin-left:1px;padding:0 24px;border-left:1px solid #ddd}.image-manager-close{position:absolute;top:0;right:0;margin:0;border-radius:0}.image-manager-list{overflow-y:scroll;-ms-flex:1;flex:1}.image-manager-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;height:100%;-ms-flex:1;flex:1}.image-manager-content .container{width:100%}.dz-message,.image-manager-content .full-tab{text-align:center}.dz-message{font-size:1.4em;font-style:italic;color:#aaa;cursor:pointer;padding:32px 16px;transition:all .12s ease-in-out}.dz-drag-hover .dz-message{background-color:#107ed2;color:#eee}@keyframes passing-through{0%{opacity:0;transform:translateY(40px)}30%,70%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-40px)}}@keyframes slide-in{0%{opacity:0;transform:translateY(40px)}30%{opacity:1;transform:translateY(0)}}@keyframes pulse{0%{transform:scale(1)}10%{transform:scale(1.1)}20%{transform:scale(1)}}.dropzone,.dropzone *{box-sizing:border-box}.dz-preview{position:relative;display:inline-block;vertical-align:top;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(180deg,#eee,#ddd)}.dz-preview.dz-file-preview .dz-details{opacity:1}.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}.dz-preview:hover .dz-details{opacity:1}.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 hsla(0,0%,78%,.8);background-color:hsla(0,0%,100%,.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:hsla(0,0%,100%,.4);padding:0 .4em;border-radius:3px}.dz-preview:hover .dz-image img{-webkit-filter:blur(8px);filter:blur(8px)}.dz-preview .dz-image{border-radius:4px;overflow:hidden;width:80px;height:80px;position:relative;display:block;z-index:10}.dz-preview .dz-image img{display:block}.dz-preview.dz-success .dz-success-mark{animation:passing-through 3s cubic-bezier(.77,0,.175,1)}.dz-preview.dz-error .dz-error-mark{opacity:1;animation:slide-in 3s cubic-bezier(.77,0,.175,1)}.dz-preview .dz-error-mark,.dz-preview .dz-success-mark{pointer-events:none;opacity:0;z-index:500;position:absolute;display:block;top:50%;left:50%;margin-left:-27px;margin-top:-27px}.dz-preview .dz-error-mark svg,.dz-preview .dz-success-mark svg{display:block;width:54px;height:54px}.dz-preview.dz-processing .dz-progress{opacity:1;transition:all .2s linear}.dz-preview.dz-complete .dz-progress{opacity:0;transition:opacity .4s ease-in}.dz-preview:not(.dz-processing) .dz-progress{animation:pulse 6s ease infinite}.dz-preview .dz-progress{opacity:1;z-index:1000;pointer-events:none;position:absolute;height:16px;left:50%;top:50%;margin-top:-8px;width:80px;margin-left:-40px;background:hsla(0,0%,100%,.9);transform:scale(1);border-radius:8px;overflow:hidden}.dz-preview .dz-progress .dz-upload{background:#333;background:linear-gradient(180deg,#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{content:'';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 .padded{padding:16px}header .links{display:inline-block;vertical-align:top;margin-right:32px}@media screen and (max-width:992px){header .links{margin-right:16px}}header .links a{display:inline-block;padding:24px;color:#fff}header .links a:last-child{padding-right:0}@media screen and (max-width:992px){header .links a{padding:24px 12px}}header .avatar,header .user-name{display:inline-block}header .avatar{width:30px;height:30px}header .user-name{padding-top:24px;display:inline-block;cursor:pointer}header .user-name,header .user-name>*{vertical-align:top}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}}@media screen and (max-width:992px){header{text-align:center}header .float.right{float:none}}@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;display:inline-block;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{vertical-align:top;margin-left:-24px;color:#fff;top:6px;right:4px;display:inline-block;position:absolute}form.search-box button:hover{color:#fff}.logo{display:inline-block}.logo:hover{color:#fff;text-decoration:none}.logo-text{display:inline-block;font-size:1.8em;color:#fff;font-weight:400;padding:24px 24px 24px 0;vertical-align:top;line-height:1}.logo-image{margin:16px 12px 16px 0;vertical-align:top;height:43px}.breadcrumbs span.sep{color:#aaa;padding:0 6px}.faded a,.faded button,.faded span,.faded span>div{color:#666}.faded .text-button{opacity:.5;transition:all .12s ease-in-out}.faded .text-button:hover{opacity:1;text-decoration:none}.faded span.faded-text{display:inline-block;padding:12px}.faded-small{color:#000;font-size:.9em;background-color:rgba(21,101,192,.15)}.action-buttons .text-button,.breadcrumbs .text-button{display:inline-block;padding:12px}.action-buttons .text-button:last-child,.breadcrumbs .text-button:last-child{padding-right:0}.action-buttons{text-align:right}.action-buttons.text-left{text-align:left}.action-buttons.text-left .text-button{padding-right:16px;padding-left:0}.action-buttons.text-center,.nav-tabs{text-align:center}.nav-tabs .tab-item,.nav-tabs a{padding:16px;display:inline-block;color:#666;cursor:pointer}.nav-tabs .tab-item.selected,.nav-tabs a.selected{border-bottom:2px solid #0288d1}.page-list h3{margin:24px 0 6px;font-size:1.666em}.page-list a.chapter{color:#ef7c3c}.page-list .inset-list{display:none;overflow:hidden;margin-bottom:24px}.page-list h4{display:block;margin:12px 0 0;border-left:5px solid #0288d1;padding:6px 0 6px 16px}.page-list h4.draft{border-left-color:#9a60da}.page-list hr{margin-top:0}.page-list .book,.page-list .chapter,.page-list .page{padding-left:24px}.page-list .page{border-left:5px solid #0288d1}.page-list .page.draft{border-left:5px solid #9a60da}.page-list .page.draft .text-page{color:#9a60da}.page-list .chapter{border-left:5px solid #ef7c3c}.page-list .book{border-left:5px solid #009688}.page-list .meta{margin-top:-16px;font-size:.95em}.page-list .meta span{margin-right:12px}.chapter-toggle{cursor:pointer;margin:0 0 24px;transition:all .18s ease-in-out;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.chapter-toggle i.zmdi-caret-right{transition:all .18s ease-in-out;transform:rotate(0deg);transform-origin:25% 50%}.chapter-toggle.open{margin-bottom:0}.chapter-toggle.open i.zmdi-caret-right{transform:rotate(90deg)}.page-nav-list{margin-left:2px;list-style:none}.page-nav-list li{padding-left:6px;border-left:2px solid #888;margin-bottom:4px}.page-nav-list li a{color:#555}.page-nav-list .nav-H2{margin-left:12px;font-size:.95em}.page-nav-list .nav-H3{margin-left:24px;font-size:.9em}.page-nav-list .nav-H4{margin-left:36px;font-size:.85em}.page-nav-list .nav-H5{margin-left:48px;font-size:.8em}.page-nav-list .nav-H6{margin-left:60px;font-size:.75em}.book-tree{padding:24px 0 0;position:relative;right:0;top:0;transition:.24s ease-in-out;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:hover{text-decoration:none}.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{float:left}.activity-list-item .left+.right{margin-left:42px}ul.pagination{display:inline-block;list-style:none;margin:16px 0;padding-left:1px}ul.pagination li{float:left}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}.compact ul.pagination{margin:0}.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>p.empty-text{display:block;font-size:15px}.entity-list.compact hr{margin:0}.dropdown-container{display:inline-block;vertical-align:top;position:relative}.dropdown-container ul{display:none;position:absolute;z-index:999;top:0;list-style:none;right:0;margin:16px 0;background-color:#fff;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border-radius:1px;border:1px solid #eee;min-width:180px;padding:6px 0;color:#555;text-align:left!important}.dropdown-container ul.wide{min-width:220px}.dropdown-container ul .text-muted{color:#999}.dropdown-container ul a{display:block;padding:6px 16px;color:#555}.dropdown-container ul a:hover{text-decoration:none;background-color:#eee}.dropdown-container ul a i{margin-right:16px;padding-right:0;display:inline;width:22px}.dropdown-container ul li.border-bottom{border-bottom:1px solid #ddd}#page-show>.row .col-md-9{z-index:2}#page-show>.row .col-md-3{z-index:1}.page-editor{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}.page-editor .faded-small{height:auto}.page-editor .edit-area{-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column}.page-style.editor{padding:0!important}.page-content{max-width:840px;overflow-wrap:break-word}.page-content .align-left{text-align:left}.page-content img.align-left,.page-content table.align-left{float:left!important;margin:6px 12px 6px 0}.page-content .align-right{float:right!important}.page-content img.align-right,.page-content table.align-right{text-align:right;margin:6px 0 6px 12px}.page-content .align-center{text-align:center}.page-content img{max-width:100%;height:auto}.page-content .title-input input[type=text],.page-content h1,.page-content h2,.page-content h3,.page-content h4,.page-content h5,.page-content h6,.page-content pre,.title-input .page-content input[type=text]{clear:left}.page-content hr{clear:both;margin:16px 0}.page-content table{word-break:break-all;word-break:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto}.pointer-container{position:relative;display:none;left:0;z-index:10}.pointer{border:1px solid #ccc;display:inline-block;padding:12px;border-radius:4px;box-shadow:0 0 8px 1px hsla(0,3%,83%,.35);top:-60px;width:272px;z-index:55}.pointer,.pointer:before{position:absolute;background-color:#fff}.pointer:before{left:50%;bottom:-9px;width:16px;height:16px;margin-left:-8px;content:'';display:block;transform:rotate(45deg);transform-origin:50% 50%;border-bottom:1px solid #ccc;border-right:1px solid #ccc;z-index:56}.pointer input{background-color:#fff;border:1px solid #ddd;color:#666;width:172px;z-index:40}.pointer button,.pointer input{position:relative;border-radius:0;height:28px;font-size:12px;vertical-align:top}.pointer>i{color:#888;font-size:18px;padding-top:4px}.pointer .button{line-height:1;margin:0 0 0 -4px;box-shadow:none}.floating-toolbox{background-color:#fff;border:1px solid #ddd;right:64px;z-index:99;width:48px;overflow:hidden;-ms-flex-align:stretch;align-items:stretch;-ms-flex-direction:row;flex-direction:row;display:-ms-flexbox;display:flex;transition:width .18s ease-in-out;margin-top:-1px;min-height:0}.floating-toolbox.open{width:480px}.floating-toolbox [toolbox-toggle] i{transition:transform .18s ease-in-out}.floating-toolbox [toolbox-toggle]{transition:background-color .18s ease-in-out}.floating-toolbox.open [toolbox-toggle]{background-color:rgba(255,0,0,.29)}.floating-toolbox.open [toolbox-toggle] i{transform:rotate(180deg)}.floating-toolbox>div{-ms-flex:1;flex:1;position:relative}.floating-toolbox .tabs{display:block;border-right:1px solid #ddd;width:48px;-ms-flex:0 1 auto;flex:0 1 auto}.floating-toolbox .tabs i{color:rgba(0,0,0,.5);padding:0;margin:0}.floating-toolbox .tabs>span{display:block;cursor:pointer;padding:12px 16px;font-size:13.5px;line-height:1.6;border-bottom:1px solid hsla(0,0%,100%,.3)}.floating-toolbox.open .tabs>span.active{color:#444;background-color:rgba(0,0,0,.1)}.floating-toolbox div[tab-content]{padding-bottom:45px;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;min-height:0;overflow-y:scroll}.floating-toolbox div[tab-content] .padded{-ms-flex:1;flex:1;padding-top:0}.floating-toolbox h4{font-size:24px;margin:16px 0 0;padding:0 24px 12px}.floating-toolbox .tags input{max-width:100%;width:100%;min-width:50px}.floating-toolbox .tags td{padding-right:12px;padding-top:12px;position:relative}.floating-toolbox button.pos{position:absolute;bottom:0;display:block;width:100%;padding:12px;height:45px;border:0;margin:0;box-shadow:none;border-radius:0}.floating-toolbox button.pos:hover{box-shadow:none}.floating-toolbox .handle{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:move;color:#999}.floating-toolbox form{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;overflow-y:scroll}[tab-content]{display:none}.tag-display{margin:32px 6px;border:1px solid #ddd;min-width:180px;max-width:320px;opacity:.7;z-index:5;position:relative}.tag-display table{width:100%;margin:0;padding:0}.tag-display span{color:#666;margin-left:12px}.tag-display .heading,.tag-display td{padding:6px 12px;color:#444}.tag-display td{border:0;border-bottom:1px solid #ddd}.tag-display .tag-value,.tag-display td i{color:#888}.tag-display tr:last-child td{border-bottom:none}.tag-display .tag{padding:12px}.suggestion-box{position:absolute;background-color:#fff;border:1px solid #bbb;box-shadow:0 0 4px 1px #ccc;list-style:none;z-index:100;padding:0;margin:0;border-radius:3px}.suggestion-box li{display:block;padding:6px 12px;border-bottom:1px solid #ddd}.suggestion-box li:last-child{border-bottom:0}.suggestion-box li.active{background-color:#eee}[v-cloak],[v-show]{display:none}.ng-cloak,[ng-cloak],[ng\:cloak]{display:none!important;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}[ng-click]{cursor:pointer}.dragged{position:absolute;opacity:.5;z-index:2000}body.dragging,body.dragging *{cursor:move!important}.avatar{border-radius:100%;background-color:#eee;width:30px;height:30px}.avatar.med{width:40px;height:40px}.avatar.large{width:80px;height:80px}.avatar.huge{width:120px;height:120px}.avatar.square,.notification{border-radius:3px}.notification{position:fixed;top:0;right:0;margin:64px 32px;padding:24px 32px;background-color:#eee;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);z-index:999999;display:table;cursor:pointer;max-width:480px}.notification i,.notification span{display:table-cell}.notification i{font-size:2em;padding-right:24px}.notification span{vertical-align:middle}.notification.pos{background-color:#52a256;color:#eee}.notification.neg{background-color:#e84f4f;color:#eee}.notification.warning{background-color:#e27b41;color:#eee}.loading-container{position:relative;display:block;height:10px;margin:32px auto}.loading-container>div{width:10px;height:10px;border-radius:10px;display:inline-block;vertical-align:top;transform:translateZ(0);animation-name:loadingBob;animation-duration:1.4s;animation-iteration-count:infinite;animation-timing-function:cubic-bezier(.62,.28,.23,.99);margin-right:4px;background-color:#0288d1;animation-delay:.3s}.loading-container>div:first-child{left:-16px;background-color:#009688;animation-delay:0s}.loading-container>div:last-child{left:16px;background-color:#ef7c3c;animation-delay:.6s}.search-results>h3 a{font-size:.66em;color:#0288d1;padding-left:16px}.search-results>h3 a i{padding-right:12px}#back-to-top{background-color:#0288d1;position:fixed;bottom:16px;right:24px;padding:6px 12px;cursor:pointer;color:#fff;width:40px;height:40px;border-radius:40px;transition:all .18s ease-in-out;opacity:0;z-index:999;overflow:hidden}#back-to-top:hover{width:136px;opacity:1!important}#back-to-top:hover span{display:inline-block}#back-to-top .inner{width:136px}#back-to-top i{margin:0;font-size:28px;padding:0 12px 0 0}#back-to-top span{line-height:12px;position:relative;top:-5px}.contained-search-box{display:-ms-flexbox;display:flex}.contained-search-box button,.contained-search-box input{border-radius:0;border:1px solid #ddd;margin-left:-1px}.contained-search-box input{-ms-flex:5;flex:5}.contained-search-box input:active,.contained-search-box input:focus{outline:0}.contained-search-box button{width:60px}.contained-search-box button i{padding:0}.contained-search-box button.cancel.active{background-color:#e84f4f;color:#eee}.entity-selector{border:1px solid #ddd;border-radius:3px;overflow:hidden;font-size:.8em}.entity-selector input[type=text]{width:100%;display:block;border-radius:0;border:0;border-bottom:1px solid #ddd;font-size:16px;padding:12px 16px}.entity-selector .entity-list{overflow-y:scroll;height:400px;background-color:#eee}.entity-selector .loading{height:400px;padding-top:24px}.entity-selector .entity-list>p{text-align:center;padding-top:24px;font-size:1.333em}.entity-selector .entity-list>div{padding-left:16px;padding-right:16px;background-color:#fff;transition:all .12s ease-in-out;cursor:pointer}.entity-list-item.selected a,.entity-list-item.selected h3,.entity-list-item.selected i,.entity-list-item.selected p,.entity-list-item.selected span{color:#eee} \ No newline at end of file +.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-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:'';content:none}table{border-collapse:collapse;border-spacing:0}@font-face{font-family:Roboto;font-style:normal;font-weight:100;src:local("Roboto Thin"),local("Roboto-Thin"),url(../fonts/roboto-v15-cyrillic_latin-100.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-100.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:100;src:local("Roboto Thin Italic"),local("Roboto-ThinItalic"),url(../fonts/roboto-v15-cyrillic_latin-100italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-100italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:300;src:local("Roboto Light"),local("Roboto-Light"),url(../fonts/roboto-v15-cyrillic_latin-300.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-300.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:300;src:local("Roboto Light Italic"),local("Roboto-LightItalic"),url(../fonts/roboto-v15-cyrillic_latin-300italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-300italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:local("Roboto"),local("Roboto-Regular"),url(../fonts/roboto-v15-cyrillic_latin-regular.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-regular.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:400;src:local("Roboto Italic"),local("Roboto-Italic"),url(../fonts/roboto-v15-cyrillic_latin-italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:500;src:local("Roboto Medium"),local("Roboto-Medium"),url(../fonts/roboto-v15-cyrillic_latin-500.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-500.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:500;src:local("Roboto Medium Italic"),local("Roboto-MediumItalic"),url(../fonts/roboto-v15-cyrillic_latin-500italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-500italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:700;src:local("Roboto Bold"),local("Roboto-Bold"),url(../fonts/roboto-v15-cyrillic_latin-700.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-700.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:700;src:local("Roboto Bold Italic"),local("Roboto-BoldItalic"),url(../fonts/roboto-v15-cyrillic_latin-700italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-700italic.woff) format("woff")}@font-face{font-family:Roboto Mono;font-style:normal;font-weight:400;src:local("Roboto Mono"),local("RobotoMono-Regular"),url(../fonts/roboto-mono-v4-latin-regular.woff2) format("woff2"),url(../fonts/roboto-mono-v4-latin-regular.woff) format("woff")}*{box-sizing:border-box}html{background-color:#fff;height:100%;overflow-y:scroll}html.flexbox{overflow-y:hidden}body{font-family:Roboto,DejaVu Sans,Helvetica,Arial,sans-serif;font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}button{font-size:100%}table{min-width:100px}table td,table th{min-width:10px;padding:4px 6px;border:1px solid #ddd}.title-input input[type=text],h1{font-size:3.425em;line-height:1.22222222em;margin-top:.48888889em;margin-bottom:.48888889em}h2{font-size:2.8275em;line-height:1.294117647em;margin-top:.8627451em;margin-bottom:.43137255em}h3{font-size:1.75em;line-height:1.571428572em}h3,h4{margin-top:.78571429em;margin-bottom:.43137255em}h4{font-size:1em;line-height:1.375em}.title-input input[type=text],h1,h2,h3,h4{font-weight:400;position:relative;display:block;color:#555}.title-input input[type=text] .subheader,h1 .subheader,h2 .subheader,h3 .subheader,h4 .subheader{font-size:.5em;line-height:1em;color:#969696}.link,.text-button,a{color:#0288d1;cursor:pointer;text-decoration:none;transition:color 80ms ease-in-out;font-family:Roboto,DejaVu Sans,Helvetica,Arial,sans-serif;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(90deg,#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;white-space:pre;font-size:.8em;overflow:hidden;border-radius:4px;box-shadow:0 1px 2px 0 hsla(0,0%,4%,.06);border:1px solid hsla(0,0%,87%,.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}pre code{background-color:transparent;border:0;font-size:1em}.text-pos,.text-pos:hover,p.pos,p .pos,p.pos:hover,p .pos:hover,span.pos,span.pos:hover{color:#52a256}.text-neg,.text-neg:hover,p.neg,p .neg,p.neg:hover,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,p.primary:hover,p .primary:hover,span.primary,span.primary:hover{color:#0288d1}.text-secondary,.text-secondary:hover,p.secondary,p .secondary,p.secondary:hover,p .secondary:hover,span.secondary,span.secondary:hover{color:#e27b41}.text-book,.text-book:hover{color:#009688}.text-page,.text-page:hover{color:#0288d1}.text-page.draft,.text-page.draft:hover{color:#9a60da}.text-chapter,.text-chapter:hover{color:#ef7c3c}.faded .text-book:hover{color:#009688!important}.faded .text-chapter:hover{color:#ef7c3c!important}.faded .text-page:hover{color:#0288d1!important}span.highlight{font-weight:700;padding:2px 4px}ul{list-style:disc}ol,ul{padding-left:20.8px;overflow:hidden}ol{list-style:decimal}.underlined{text-decoration:underline}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-bigger{font-size:1.1em}.text-large{font-size:1.6666em}.no-color{color:inherit}.header-group{margin:16px 0}.header-group .title-input input[type=text],.header-group h1,.header-group h2,.header-group h3,.header-group h4,.header-group h5,.header-group h6,.title-input .header-group input[type=text]{margin:0}span.sep{color:#bbb;padding:0 6px}.list>*{display:block}.action-header .title-input input[type=text],.action-header h1,.title-input .action-header input[type=text]{margin-top:16px}i{padding-right:6px}body.flexbox{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;height:100%;min-height:100%;max-height:100%;overflow:hidden}body.flexbox #content{-ms-flex:1;flex:1}.flex-fill,body.flexbox #content{display:-ms-flexbox;display:flex;min-height:0}.flex-fill{-ms-flex-align:stretch;align-items:stretch}.flex-fill.flex,.flex-fill .flex{min-height:0;-ms-flex:1;flex:1}div[class^=col-] img{max-width:100%}.container{max-width:1400px;margin-left:auto;margin-right:auto;padding-left:16px;padding-right:16px}.container.fluid{max-width:100%}.container.small{max-width:840px}.center-box{margin:32px auto 0;padding:16px 48px 64px;max-width:346px;display:inline-block;text-align:left;vertical-align:top}.center-box.login{background-color:#eee;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border:1px solid #ddd}.row{margin-left:-16px;margin-right:-16px}.float{float:left}.float.right{float:right}.block{display:block;position:relative}.inline{display:inline}.block.inline{display:inline-block}.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12,.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12,.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12,.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{position:relative;min-height:1px;padding-left:16px;padding-right:16px}.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{float:left}.col-xs-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-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12{float:left}.col-sm-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-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12{float:left}.col-md-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-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.row:after,.row:before{content:" ";display:table}.clearfix:after,.container-fluid:after,.container:after,.row:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.shaded{background-color:#f1f1f1}.shaded.pos{background-color:#d6ead7}.shaded.neg{background-color:#f4a9a9}.shaded.primary{background-color:#a1ddfe}.shaded.secondary{background-color:#f6d7c6}.bordered{border:1px solid #bbb}.bordered.pos{border-color:#52a256}.bordered.neg{border-color:#e84f4f}.bordered.primary{border-color:#0288d1}.bordered.secondary{border-color:#e27b41}.bordered.thick{border-width:2px}.rounded{border-radius:3px}.nopadding{padding:0}.padded{padding:24px}.padded.large{padding:32px}.padded>h1:first-child,.padded>h2:first-child,.padded>h3:first-child,.padded>h4:first-child,.title-input .padded>input[type=text]:first-child{margin-top:.1em}.padded-top,.padded-vertical{padding-top:16px}.padded-top.large,.padded-vertical.large{padding-top:32px}.padded-bottom,.padded-vertical{padding-bottom:16px}.padded-bottom.large,.padded-vertical.large{padding-bottom:32px}.padded-horizontal,.padded-left{padding-left:16px}.padded-horizontal.large,.padded-left.large{padding-left:32px}.padded-horizontal,.padded-right{padding-right:16px}.padded-horizontal.large,.padded-right.large{padding-right:32px}.margins{margin:24px}.margins.large{margin:32px}.margin-top,.margins-vertical{margin-top:16px}.margin-top.large,.margins-vertical.large{margin-top:32px}.margin-bottom,.margins-vertical{margin-bottom:16px}.margin-bottom.large,.margins-vertical.large{margin-bottom:32px}.margin-left,.margins-horizontal{margin-left:16px}.margin-left.large,.margins-horizontal.large{margin-left:32px}.margin-right,.margins-horizontal{margin-right:16px}.margin-right.large,.margins-horizontal.large{margin-right:32px}.callout{border-left:3px solid #bbb;background-color:#eee;padding:12px}.callout:before{font-family:Material-Design-Iconic-Font;padding-right:12px;display:inline-block}.callout.success{border-left-color:#52a256;background-color:#e7f3e7;color:#376c39}.callout.success:before{content:'\f269'}.callout.danger{border-left-color:#e84f4f;background-color:#fce8e8;color:#b91818}.callout.danger:before{content:'\f1f2'}.callout.info{border-left-color:#0288d1;background-color:#d3efff;color:#015380}.callout.info:before{content:'\f1f8'}.callout.warning{border-left-color:#e27b41;background-color:#faeae0;color:#b6531c}.callout.warning:before{content:'\f1f1'}.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 .12s ease-in-out;box-shadow:0 .5px 1.5px 0 rgba(0,0,0,.21);background-color:#0288d1;color:#eee}.button-base:hover,.button:hover,input[type=button]:hover,input[type=submit]:hover{background-color:#02a2f9;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#eee}.button-base:active,.button:active,input[type=button]:active,input[type=submit]:active{background-color:#026ea9}.button-base:focus,.button:focus,input[type=button]:focus,input[type=submit]:focus{background-color:#0295e5;box-shadow:0 0 4px 1px #ccc;text-decoration:none;color:#eee}.button.pos,input[type=button].pos,input[type=submit].pos{background-color:#52a256;color:#eee}.button.pos:hover,input[type=button].pos:hover,input[type=submit].pos:hover{background-color:#69b36d;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#eee}.button.pos:active,input[type=button].pos:active,input[type=submit].pos:active{background-color:#448748}.button.pos:focus,input[type=button].pos:focus,input[type=submit].pos:focus{background-color:#5cac60;box-shadow:0 0 4px 1px #ccc;text-decoration:none;color:#eee}.button.neg,input[type=button].neg,input[type=submit].neg{background-color:#e84f4f;color:#eee}.button.neg:hover,input[type=button].neg:hover,input[type=submit].neg:hover{background-color:#ed7373;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#eee}.button.neg:active,input[type=button].neg:active,input[type=submit].neg:active{background-color:#e32b2b}.button.neg:focus,input[type=button].neg:focus,input[type=submit].neg:focus{background-color:#ea6161;box-shadow:0 0 4px 1px #ccc;text-decoration:none;color:#eee}.button.secondary,input[type=button].secondary,input[type=submit].secondary{background-color:#e27b41;color:#eee}.button.secondary:hover,input[type=button].secondary:hover,input[type=submit].secondary:hover{background-color:#e79464;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#eee}.button.secondary:active,input[type=button].secondary:active,input[type=submit].secondary:active{background-color:#d96321}.button.secondary:focus,input[type=button].secondary:focus,input[type=submit].secondary:focus{background-color:#e58753;box-shadow:0 0 4px 1px #ccc;text-decoration:none;color:#eee}.button.muted,input[type=button].muted,input[type=submit].muted{background-color:#888;color:#eee}.button.muted:hover,input[type=button].muted:hover,input[type=submit].muted:hover{background-color:#9c9c9c;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#eee}.button.muted:active,input[type=button].muted:active,input[type=submit].muted:active{background-color:#747474}.button.muted:focus,input[type=button].muted:focus,input[type=submit].muted:focus{background-color:#929292;box-shadow:0 0 4px 1px #ccc;text-decoration:none;color:#eee}.text-button{background-color:transparent;padding:0;margin:0;border:none}.text-button:active,.text-button:focus{outline:0}.text-button:hover{text-decoration:none}.text-button.neg{color:#e84f4f}.button-group:after{display:block;content:'';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=email],input[type=number],input[type=password],input[type=search],input[type=text],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=email],input.invalid[type=number],input.invalid[type=password],input.invalid[type=search],input.invalid[type=text],input.invalid[type=url],input.neg[type=email],input.neg[type=number],input.neg[type=password],input.neg[type=search],input.neg[type=text],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=email],input.pos[type=number],input.pos[type=password],input.pos[type=search],input.pos[type=text],input.pos[type=url],input.valid[type=email],input.valid[type=number],input.valid[type=password],input.valid[type=search],input.valid[type=text],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=email],input.disabled[type=number],input.disabled[type=password],input.disabled[type=search],input.disabled[type=text],input.disabled[type=url],input[disabled][type=email],input[disabled][type=number],input[disabled][type=password],input[disabled][type=search],input[disabled][type=text],input[disabled][type=url],select.disabled,select[disabled],textarea.disabled,textarea[disabled]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAMUlEQVQIW2NkwAGuXbv2nxGbHEhCS0uLEUMSJgHShCKJLIEiiS4Bl8QmAZbEJQGSBAC62BuJ+tt7zgAAAABJRU5ErkJggg==)}.input-base:focus,input[type=email]:focus,input[type=number]:focus,input[type=password]:focus,input[type=search]:focus,input[type=text]:focus,input[type=url]:focus,select:focus,textarea:focus{outline:0}#html-editor{display:none}#markdown-editor{position:relative;z-index:5}#markdown-editor textarea{font-family:Roboto Mono;font-style:normal;font-weight:400;padding:6px 16px;color:#444;border-radius:0;max-height:100%;-ms-flex:1;flex:1;border:0;width:100%}#markdown-editor textarea:focus{outline:0}#markdown-editor .markdown-display,#markdown-editor .markdown-editor-wrap{-ms-flex:1;flex:1;position:relative}#markdown-editor .markdown-editor-wrap{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;border:1px solid #ddd}#markdown-editor .markdown-display{padding:0 16px;margin-left:-1px;overflow-y:scroll}#markdown-editor .markdown-display .page-content{margin:0 auto}.editor-toolbar{width:100%;padding:6px 16px;font-family:Roboto Mono;font-size:11px;line-height:1.6;border-bottom:1px solid #ddd;background-color:#eee;-ms-flex:none;flex:none}.editor-toolbar:after{content:'';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}label.inline{display:inline-block}label.checkbox,label.radio{font-weight:400}label.checkbox input[type=checkbox],label.checkbox input[type=radio],label.radio input[type=checkbox],label.radio input[type=radio]{margin-right:6px}label+p.small{margin-bottom:.8em}.toggle-switch{display:inline-block;background-color:#bbb;width:36px;height:14px;border-radius:7px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.toggle-switch,.toggle-switch:after{position:relative;transition:all .12s ease-in-out}.toggle-switch:after{content:'';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 textarea{display:block;width:100%;min-height:64px}.form-group .text-neg,.form-group .text-pos{padding:6px 0}.description-input textarea,.inline-input-style,.title-input input[type=text]{border:2px dotted #bbb;display:block;width:100%;padding:6px 12px}.title-input .input{width:100%}.description-input label,.title-input label{margin-top:16px;color:#666}.title-input input[type=text]{margin-top:0;padding-right:0;width:100%;color:#444}.title-input.page-title{font-size:.8em}.title-input.page-title .input{border:0;margin-bottom:-1px}.title-input.page-title input[type=text]{max-width:840px;margin:0 auto;border:none}.page-title input{display:block;width:100%;font-size:1.4em}.description-input textarea{font-size:15px;color:#666;width:100%}.search-box,div[editor-type=markdown] .title-input.page-title input[type=text]{max-width:100%}.search-box{position:relative}.search-box button{background-color:transparent;border:none;color:#0288d1;padding:0;margin:0;cursor:pointer;margin-left:12px}.search-box button[type=submit]{margin-left:-24px}.search-box input{padding-right:24px;width:300px;max-width:100%}input.outline{border:0;border-bottom:2px solid #ddd;border-radius:0}input.outline:active,input.outline:focus{border:0;border-bottom:2px solid #aaa;outline:0}#login-form label[for=remember]{margin:0}#login-form label.toggle-switch{margin-left:32px}.image-picker img{background-color:#bbb}div[toggle-switch]{height:18px;width:150px}table.table{width:100%}table.table tr{border-bottom:1px solid #ddd}table.table td,table.table th{text-align:left;border:none;padding:6px;vertical-align:middle}table.table th{font-weight:700}table.table tr:hover{background-color:#eee}table{max-width:100%}table thead{background-color:#f8f8f8;font-weight:500}table.no-style td{border:0;padding:0}table.list-table{margin:-6px}table.list-table td{border:0;vertical-align:middle;padding:6px}.anim.fadeIn{opacity:0;animation-name:fadeIn;animation-duration:.16s;animation-timing-function:ease-in-out;animation-fill-mode:forwards}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.anim.searchResult{opacity:0;transform:translate3d(580px,0,0);animation-name:searchResult;animation-duration:.22s;animation-fill-mode:forwards;animation-timing-function:cubic-bezier(.62,.28,.23,.99)}@keyframes searchResult{0%{opacity:0;transform:translate3d(400px,0,0)}to{opacity:1;transform:translateZ(0)}}.anim.notification{transform:translate3d(580px,0,0);animation-name:notification;animation-duration:3s;animation-timing-function:ease-in-out;animation-fill-mode:forwards}.anim.notification.stopped{animation-name:notificationStopped}@keyframes notification{0%{transform:translate3d(580px,0,0)}10%{transform:translateZ(0)}90%{transform:translateZ(0)}to{transform:translate3d(580px,0,0)}}@keyframes notificationStopped{0%{transform:translate3d(580px,0,0)}10%{transform:translateZ(0)}to{transform:translateZ(0)}}@keyframes menuIn{0%{opacity:0;transform:scale3d(0,0,1)}to{opacity:1;transform:scaleX(1)}}.anim.menuIn{transform-origin:100% 0;animation-name:menuIn;animation-duration:.12s;animation-delay:0s;animation-timing-function:cubic-bezier(.62,.28,.23,.99)}@keyframes loadingBob{0%{transform:translateZ(0)}30%{transform:translateZ(0)}50%{transform:translate3d(0,-10px,0)}70%{transform:translateZ(0)}to{transform:translateZ(0)}}@keyframes pointer{0%{transform:translate3d(0,20px,0) scale3d(0,0,0)}to{transform:translateZ(0) scaleX(1)}}.anim.pointer{transform-origin:50% 100%;animation-name:pointer;animation-duration:.18s;animation-delay:0s;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>div>.mce-tinymce.mce-container.mce-panel{margin:0 -1px}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel,.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body{-ms-flex:1 1 auto;flex:1 1 auto;display:-ms-flexbox!important;display:flex!important;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-toolbar-grp{-ms-flex:0 1 auto;flex:0 1 auto}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-edit-area{-ms-flex:1 1 auto;flex:1 1 auto;display:-ms-flexbox!important;display:flex!important;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-edit-area iframe{-ms-flex:1;flex:1}.hljs{display:block;overflow-x:auto;padding:.5em;background:#fdf6e3;color:#657b83;-webkit-text-size-adjust:none}.diff .hljs-header,.hljs-comment,.hljs-doctype,.hljs-pi,.lisp .hljs-string{color:#93a1a1}.css .hljs-tag,.hljs-addition,.hljs-keyword,.hljs-request,.hljs-status,.hljs-winutils,.method,.nginx .hljs-title{color:#859900}.hljs-command,.hljs-doctag,.hljs-hexcolor,.hljs-link_url,.hljs-number,.hljs-regexp,.hljs-rule .hljs-value,.hljs-string,.hljs-tag .hljs-value,.tex .hljs-formula{color:#2aa198}.css .hljs-function,.hljs-built_in,.hljs-chunk,.hljs-decorator,.hljs-id,.hljs-identifier,.hljs-localvars,.hljs-name,.hljs-title,.vhdl .hljs-literal{color:#268bd2}.hljs-attribute,.hljs-class .hljs-title,.hljs-constant,.hljs-link_reference,.hljs-parent,.hljs-type,.hljs-variable,.lisp .hljs-body,.smalltalk .hljs-number{color:#b58900}.css .hljs-pseudo,.diff .hljs-change,.hljs-attr_selector,.hljs-cdata,.hljs-header,.hljs-pragma,.hljs-preprocessor,.hljs-preprocessor .hljs-keyword,.hljs-shebang,.hljs-special,.hljs-subst,.hljs-symbol,.hljs-symbol .hljs-string{color:#cb4b16}.hljs-deletion,.hljs-important{color:#dc322f}.hljs-link_label{color:#6c71c4}.tex .hljs-formula{background:#eee8d5}.overlay{background-color:rgba(0,0,0,.2);z-index:95536;width:100%;height:100%;min-width:100%;min-height:100%;right:0}.image-manager-body,.overlay{position:fixed;top:0;left: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;z-index:999;display:-ms-flexbox;display:flex}.image-manager-body .title-input input[type=text],.image-manager-body h1,.image-manager-body h2,.image-manager-body h3,.title-input .image-manager-body input[type=text]{font-weight:300}#image-manager .dropzone-container{position:relative;border:3px dashed #ddd}.image-manager-bottom{position:absolute;bottom:0;right:0}.image-manager-list .image{display:block;position:relative;border-radius:0;float:left;margin:0;cursor:pointer;width:16.6666666667%;height:auto;border:1px solid #ddd;box-shadow:0 0 0 0 transparent;transition:all .16s cubic-bezier(.4,0,1,1);overflow:hidden}.image-manager-list .image.selected{transform:scale3d(.92,.92,.92);border:1px solid #444;box-shadow:0 1px 2px 0 rgba(0,0,0,.2)}.image-manager-list .image img{width:100%;max-width:100%;display:block}.image-manager-list .image .image-meta{position:absolute;width:100%;bottom:0;left:0;color:#eee;background-color:rgba(0,0,0,.4);font-size:10px;padding:3px 4px}.image-manager-list .image .image-meta span{display:block}@media screen and (max-width:1100px){.image-manager-list .image{width:25%}}@media screen and (max-width:800px){.image-manager-list .image .image-meta{display:none}}#image-manager .load-more{display:block;text-align:center;background-color:#eee;padding:12px 16px;color:#aaa;clear:both;font-size:20px;cursor:pointer;font-style:italic}.image-manager-sidebar{width:300px;height:100%;margin-left:1px;padding:0 24px;border-left:1px solid #ddd}.image-manager-close{position:absolute;top:0;right:0;margin:0;border-radius:0}.image-manager-list{overflow-y:scroll;-ms-flex:1;flex:1}.image-manager-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;height:100%;-ms-flex:1;flex:1}.image-manager-content .container{width:100%}.dz-message,.image-manager-content .full-tab{text-align:center}.dz-message{font-size:1.4em;font-style:italic;color:#aaa;cursor:pointer;padding:32px 16px;transition:all .12s ease-in-out}.dz-drag-hover .dz-message{background-color:#107ed2;color:#eee}@keyframes passing-through{0%{opacity:0;transform:translateY(40px)}30%,70%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-40px)}}@keyframes slide-in{0%{opacity:0;transform:translateY(40px)}30%{opacity:1;transform:translateY(0)}}@keyframes pulse{0%{transform:scale(1)}10%{transform:scale(1.1)}20%{transform:scale(1)}}.dropzone,.dropzone *{box-sizing:border-box}.dz-preview{position:relative;display:inline-block;vertical-align:top;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(180deg,#eee,#ddd)}.dz-preview.dz-file-preview .dz-details{opacity:1}.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}.dz-preview:hover .dz-details{opacity:1}.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 hsla(0,0%,78%,.8);background-color:hsla(0,0%,100%,.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:hsla(0,0%,100%,.4);padding:0 .4em;border-radius:3px}.dz-preview:hover .dz-image img{-webkit-filter:blur(8px);filter:blur(8px)}.dz-preview .dz-image{border-radius:4px;overflow:hidden;width:80px;height:80px;position:relative;display:block;z-index:10}.dz-preview .dz-image img{display:block}.dz-preview.dz-success .dz-success-mark{animation:passing-through 3s cubic-bezier(.77,0,.175,1)}.dz-preview.dz-error .dz-error-mark{opacity:1;animation:slide-in 3s cubic-bezier(.77,0,.175,1)}.dz-preview .dz-error-mark,.dz-preview .dz-success-mark{pointer-events:none;opacity:0;z-index:500;position:absolute;display:block;top:50%;left:50%;margin-left:-27px;margin-top:-27px}.dz-preview .dz-error-mark svg,.dz-preview .dz-success-mark svg{display:block;width:54px;height:54px}.dz-preview.dz-processing .dz-progress{opacity:1;transition:all .2s linear}.dz-preview.dz-complete .dz-progress{opacity:0;transition:opacity .4s ease-in}.dz-preview:not(.dz-processing) .dz-progress{animation:pulse 6s ease infinite}.dz-preview .dz-progress{opacity:1;z-index:1000;pointer-events:none;position:absolute;height:16px;left:50%;top:50%;margin-top:-8px;width:80px;margin-left:-40px;background:hsla(0,0%,100%,.9);transform:scale(1);border-radius:8px;overflow:hidden}.dz-preview .dz-progress .dz-upload{background:#333;background:linear-gradient(180deg,#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{content:'';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 .padded{padding:16px}header .links{display:inline-block;vertical-align:top;margin-right:32px}@media screen and (max-width:992px){header .links{margin-right:16px}}header .links a{display:inline-block;padding:24px;color:#fff}header .links a:last-child{padding-right:0}@media screen and (max-width:992px){header .links a{padding:24px 12px}}header .avatar,header .user-name{display:inline-block}header .avatar{width:30px;height:30px}header .user-name{padding-top:24px;display:inline-block;cursor:pointer}header .user-name,header .user-name>*{vertical-align:top}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}}@media screen and (max-width:992px){header{text-align:center}header .float.right{float:none}}@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;display:inline-block;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{vertical-align:top;margin-left:-24px;color:#fff;top:6px;right:4px;display:inline-block;position:absolute}form.search-box button:hover{color:#fff}.logo{display:inline-block}.logo:hover{color:#fff;text-decoration:none}.logo-text{display:inline-block;font-size:1.8em;color:#fff;font-weight:400;padding:24px 24px 24px 0;vertical-align:top;line-height:1}.logo-image{margin:16px 12px 16px 0;vertical-align:top;height:43px}.breadcrumbs span.sep{color:#aaa;padding:0 6px}.faded a,.faded button,.faded span,.faded span>div{color:#666}.faded .text-button{opacity:.5;transition:all .12s ease-in-out}.faded .text-button:hover{opacity:1;text-decoration:none}.faded span.faded-text{display:inline-block;padding:12px}.faded-small{color:#000;font-size:.9em;background-color:rgba(21,101,192,.15)}.action-buttons .text-button,.breadcrumbs .text-button{display:inline-block;padding:12px}.action-buttons .text-button:last-child,.breadcrumbs .text-button:last-child{padding-right:0}.action-buttons{text-align:right}.action-buttons.text-left{text-align:left}.action-buttons.text-left .text-button{padding-right:16px;padding-left:0}.action-buttons.text-center,.nav-tabs{text-align:center}.nav-tabs .tab-item,.nav-tabs a{padding:16px;display:inline-block;color:#666;cursor:pointer}.nav-tabs .tab-item.selected,.nav-tabs a.selected{border-bottom:2px solid #0288d1}.page-list h3{margin:24px 0 6px;font-size:1.666em}.page-list a.chapter{color:#ef7c3c}.page-list .inset-list{display:none;overflow:hidden;margin-bottom:24px}.page-list h4{display:block;margin:12px 0 0;border-left:5px solid #0288d1;padding:6px 0 6px 16px}.page-list h4.draft{border-left-color:#9a60da}.page-list hr{margin-top:0}.page-list .book,.page-list .chapter,.page-list .page{padding-left:24px}.page-list .page{border-left:5px solid #0288d1}.page-list .page.draft{border-left:5px solid #9a60da}.page-list .page.draft .text-page{color:#9a60da}.page-list .chapter{border-left:5px solid #ef7c3c}.page-list .book{border-left:5px solid #009688}.page-list .meta{margin-top:-16px;font-size:.95em}.page-list .meta span{margin-right:12px}.chapter-toggle{cursor:pointer;margin:0 0 24px;transition:all .18s ease-in-out;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.chapter-toggle i.zmdi-caret-right{transition:all .18s ease-in-out;transform:rotate(0deg);transform-origin:25% 50%}.chapter-toggle.open{margin-bottom:0}.chapter-toggle.open i.zmdi-caret-right{transform:rotate(90deg)}.page-nav-list{margin-left:2px;list-style:none}.page-nav-list li{padding-left:6px;border-left:2px solid #888;margin-bottom:4px}.page-nav-list li a{color:#555}.page-nav-list .nav-H2{margin-left:12px;font-size:.95em}.page-nav-list .nav-H3{margin-left:24px;font-size:.9em}.page-nav-list .nav-H4{margin-left:36px;font-size:.85em}.page-nav-list .nav-H5{margin-left:48px;font-size:.8em}.page-nav-list .nav-H6{margin-left:60px;font-size:.75em}.book-tree{padding:24px 0 0;position:relative;right:0;top:0;transition:.24s ease-in-out;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:hover{text-decoration:none}.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{float:left}.activity-list-item .left+.right{margin-left:42px}ul.pagination{display:inline-block;list-style:none;margin:16px 0;padding-left:1px}ul.pagination li{float:left}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}.compact ul.pagination{margin:0}.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>p.empty-text{display:block;font-size:15px}.entity-list.compact hr{margin:0}.dropdown-container{display:inline-block;vertical-align:top;position:relative}.dropdown-container ul{display:none;position:absolute;z-index:999;top:0;list-style:none;right:0;margin:16px 0;background-color:#fff;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border-radius:1px;border:1px solid #eee;min-width:180px;padding:6px 0;color:#555;text-align:left!important}.dropdown-container ul.wide{min-width:220px}.dropdown-container ul .text-muted{color:#999}.dropdown-container ul a{display:block;padding:6px 16px;color:#555}.dropdown-container ul a:hover{text-decoration:none;background-color:#eee}.dropdown-container ul a i{margin-right:16px;padding-right:0;display:inline;width:22px}.dropdown-container ul li.border-bottom{border-bottom:1px solid #ddd}#page-show>.row .col-md-9{z-index:2}#page-show>.row .col-md-3{z-index:1}.page-editor{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}.page-editor .faded-small{height:auto}.page-editor .edit-area{-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column}.page-style.editor{padding:0!important}.page-content{max-width:840px;overflow-wrap:break-word}.page-content .align-left{text-align:left}.page-content img.align-left,.page-content table.align-left{float:left!important;margin:6px 12px 6px 0}.page-content .align-right{float:right!important}.page-content img.align-right,.page-content table.align-right{text-align:right;margin:6px 0 6px 12px}.page-content .align-center{text-align:center}.page-content img{max-width:100%;height:auto}.page-content .title-input input[type=text],.page-content h1,.page-content h2,.page-content h3,.page-content h4,.page-content h5,.page-content h6,.page-content pre,.title-input .page-content input[type=text]{clear:left}.page-content hr{clear:both;margin:16px 0}.page-content table{word-break:break-all;word-break:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto}.pointer-container{position:relative;display:none;left:0;z-index:10}.pointer{border:1px solid #ccc;display:inline-block;padding:12px;border-radius:4px;box-shadow:0 0 8px 1px hsla(0,3%,83%,.35);top:-60px;width:272px;z-index:55}.pointer,.pointer:before{position:absolute;background-color:#fff}.pointer:before{left:50%;bottom:-9px;width:16px;height:16px;margin-left:-8px;content:'';display:block;transform:rotate(45deg);transform-origin:50% 50%;border-bottom:1px solid #ccc;border-right:1px solid #ccc;z-index:56}.pointer input{background-color:#fff;border:1px solid #ddd;color:#666;width:172px;z-index:40}.pointer button,.pointer input{position:relative;border-radius:0;height:28px;font-size:12px;vertical-align:top}.pointer>i{color:#888;font-size:18px;padding-top:4px}.pointer .button{line-height:1;margin:0 0 0 -4px;box-shadow:none}.floating-toolbox{background-color:#fff;border:1px solid #ddd;right:64px;z-index:99;width:48px;overflow:hidden;-ms-flex-align:stretch;align-items:stretch;-ms-flex-direction:row;flex-direction:row;display:-ms-flexbox;display:flex;transition:width .18s ease-in-out;margin-top:-1px;min-height:0}.floating-toolbox.open{width:480px}.floating-toolbox [toolbox-toggle] i{transition:transform .18s ease-in-out}.floating-toolbox [toolbox-toggle]{transition:background-color .18s ease-in-out}.floating-toolbox.open [toolbox-toggle]{background-color:rgba(255,0,0,.29)}.floating-toolbox.open [toolbox-toggle] i{transform:rotate(180deg)}.floating-toolbox>div{-ms-flex:1;flex:1;position:relative}.floating-toolbox .tabs{display:block;border-right:1px solid #ddd;width:48px;-ms-flex:0 1 auto;flex:0 1 auto}.floating-toolbox .tabs i{color:rgba(0,0,0,.5);padding:0;margin:0}.floating-toolbox .tabs>span{display:block;cursor:pointer;padding:12px 16px;font-size:13.5px;line-height:1.6;border-bottom:1px solid hsla(0,0%,100%,.3)}.floating-toolbox.open .tabs>span.active{color:#444;background-color:rgba(0,0,0,.1)}.floating-toolbox div[tab-content]{padding-bottom:45px;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;min-height:0;overflow-y:scroll}.floating-toolbox div[tab-content] .padded{-ms-flex:1;flex:1;padding-top:0}.floating-toolbox h4{font-size:24px;margin:16px 0 0;padding:0 24px 12px}.floating-toolbox .tags input{max-width:100%;width:100%;min-width:50px}.floating-toolbox .tags td{padding-right:12px;padding-top:12px;position:relative}.floating-toolbox button.pos{position:absolute;bottom:0;display:block;width:100%;padding:12px;height:45px;border:0;margin:0;box-shadow:none;border-radius:0}.floating-toolbox button.pos:hover{box-shadow:none}.floating-toolbox .handle{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:move;color:#999}.floating-toolbox form{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;overflow-y:scroll}[tab-content]{display:none}.tag-display{margin:32px 6px;border:1px solid #ddd;min-width:180px;max-width:320px;opacity:.7;z-index:5;position:relative}.tag-display table{width:100%;margin:0;padding:0}.tag-display .heading th{padding:6px 12px;color:#333;font-weight:400}.tag-display td{border:0;border-bottom:1px solid #ddd;padding:6px 12px;color:#444}.tag-display .tag-value{color:#888}.tag-display tr:last-child td{border-bottom:none}.tag-display .tag{padding:12px}.suggestion-box{position:absolute;background-color:#fff;border:1px solid #bbb;box-shadow:0 0 4px 1px #ccc;list-style:none;z-index:100;padding:0;margin:0;border-radius:3px}.suggestion-box li{display:block;padding:6px 12px;border-bottom:1px solid #ddd}.suggestion-box li:last-child{border-bottom:0}.suggestion-box li.active{background-color:#eee}[v-cloak],[v-show]{display:none}.ng-cloak,[ng-cloak],[ng\:cloak]{display:none!important;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}[ng-click]{cursor:pointer}.dragged{position:absolute;opacity:.5;z-index:2000}body.dragging,body.dragging *{cursor:move!important}.avatar{border-radius:100%;background-color:#eee;width:30px;height:30px}.avatar.med{width:40px;height:40px}.avatar.large{width:80px;height:80px}.avatar.huge{width:120px;height:120px}.avatar.square,.notification{border-radius:3px}.notification{position:fixed;top:0;right:0;margin:64px 32px;padding:24px 32px;background-color:#eee;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);z-index:999999;display:table;cursor:pointer;max-width:480px}.notification i,.notification span{display:table-cell}.notification i{font-size:2em;padding-right:24px}.notification span{vertical-align:middle}.notification.pos{background-color:#52a256;color:#eee}.notification.neg{background-color:#e84f4f;color:#eee}.notification.warning{background-color:#e27b41;color:#eee}.loading-container{position:relative;display:block;height:10px;margin:32px auto}.loading-container>div{width:10px;height:10px;border-radius:10px;display:inline-block;vertical-align:top;transform:translateZ(0);animation-name:loadingBob;animation-duration:1.4s;animation-iteration-count:infinite;animation-timing-function:cubic-bezier(.62,.28,.23,.99);margin-right:4px;background-color:#0288d1;animation-delay:.3s}.loading-container>div:first-child{left:-16px;background-color:#009688;animation-delay:0s}.loading-container>div:last-child{left:16px;background-color:#ef7c3c;animation-delay:.6s}.search-results>h3 a{font-size:.66em;color:#0288d1;padding-left:16px}.search-results>h3 a i{padding-right:12px}#back-to-top{background-color:#0288d1;position:fixed;bottom:16px;right:24px;padding:6px 12px;cursor:pointer;color:#fff;width:40px;height:40px;border-radius:40px;transition:all .18s ease-in-out;opacity:0;z-index:999;overflow:hidden}#back-to-top:hover{width:136px;opacity:1!important}#back-to-top:hover span{display:inline-block}#back-to-top .inner{width:136px}#back-to-top i{margin:0;font-size:28px;padding:0 12px 0 0}#back-to-top span{line-height:12px;position:relative;top:-5px}.contained-search-box{display:-ms-flexbox;display:flex}.contained-search-box button,.contained-search-box input{border-radius:0;border:1px solid #ddd;margin-left:-1px}.contained-search-box input{-ms-flex:5;flex:5}.contained-search-box input:active,.contained-search-box input:focus{outline:0}.contained-search-box button{width:60px}.contained-search-box button i{padding:0}.contained-search-box button.cancel.active{background-color:#e84f4f;color:#eee}.entity-selector{border:1px solid #ddd;border-radius:3px;overflow:hidden;font-size:.8em}.entity-selector input[type=text]{width:100%;display:block;border-radius:0;border:0;border-bottom:1px solid #ddd;font-size:16px;padding:12px 16px}.entity-selector .entity-list{overflow-y:scroll;height:400px;background-color:#eee}.entity-selector .loading{height:400px;padding-top:24px}.entity-selector .entity-list>p{text-align:center;padding-top:24px;font-size:1.333em}.entity-selector .entity-list>div{padding-left:16px;padding-right:16px;background-color:#fff;transition:all .12s ease-in-out;cursor:pointer}.entity-list-item.selected a,.entity-list-item.selected h3,.entity-list-item.selected i,.entity-list-item.selected p,.entity-list-item.selected span{color:#eee} \ No newline at end of file From ef2ff5e093010d6d2c5475a90dcfa19231855c27 Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Mon, 5 Sep 2016 19:49:42 +0100 Subject: [PATCH 21/54] Updated assets for release v0.12 --- public/build/manifest.json | 6 +++--- public/css/export-styles.css | 2 +- public/css/styles.css | 2 +- public/js/common.js | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/public/build/manifest.json b/public/build/manifest.json index 8d8a337936d..dd7b28b5680 100644 --- a/public/build/manifest.json +++ b/public/build/manifest.json @@ -1,5 +1,5 @@ { - "css/styles.css": "css/styles.css?version=d6312b2", - "css/print-styles.css": "css/print-styles.css?version=d6312b2", - "js/common.js": "js/common.js?version=d6312b2" + "css/styles.css": "css/styles.css?version=ba2edb5", + "css/print-styles.css": "css/print-styles.css?version=ba2edb5", + "js/common.js": "js/common.js?version=ba2edb5" } \ No newline at end of file diff --git a/public/css/export-styles.css b/public/css/export-styles.css index 355888e2135..bd77318b3c3 100644 --- a/public/css/export-styles.css +++ b/public/css/export-styles.css @@ -1 +1 @@ -*{box-sizing:border-box}html{background-color:#fff;height:100%;overflow-y:scroll}html.flexbox{overflow-y:hidden}body{font-family:Roboto,DejaVu Sans,Helvetica,Arial,sans-serif;font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}button{font-size:100%}table{min-width:100px}table td,table th{min-width:10px;padding:4px 6px;border:1px solid #ddd}.title-input input[type=text],h1{font-size:3.425em;line-height:1.22222222em;margin-top:.48888889em;margin-bottom:.48888889em}h2{font-size:2.8275em;line-height:1.294117647em;margin-top:.8627451em;margin-bottom:.43137255em}h3{font-size:1.75em;line-height:1.571428572em}h3,h4{margin-top:.78571429em;margin-bottom:.43137255em}h4{font-size:1em;line-height:1.375em}.title-input input[type=text],h1,h2,h3,h4{font-weight:400;position:relative;display:block;color:#555}.title-input input[type=text] .subheader,h1 .subheader,h2 .subheader,h3 .subheader,h4 .subheader{font-size:.5em;line-height:1em;color:#969696}.link,a{color:#0288d1;cursor:pointer;text-decoration:none;transition:color 80ms ease-in-out;font-family:Roboto,DejaVu Sans,Helvetica,Arial,sans-serif;line-height:1.6}.link:hover,a:hover{text-decoration:underline;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(90deg,#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;white-space:pre;font-size:.8em;overflow:hidden;border-radius:4px;box-shadow:0 1px 2px 0 hsla(0,0%,4%,.06);border:1px solid hsla(0,0%,87%,.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}pre code{background-color:transparent;border:0;font-size:1em}.text-pos,.text-pos:hover,p.pos,p .pos,p.pos:hover,p .pos:hover,span.pos,span.pos:hover{color:#52a256}.text-neg,.text-neg:hover,p.neg,p .neg,p.neg:hover,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,p.primary:hover,p .primary:hover,span.primary,span.primary:hover{color:#0288d1}.text-secondary,.text-secondary:hover,p.secondary,p .secondary,p.secondary:hover,p .secondary:hover,span.secondary,span.secondary:hover{color:#e27b41}.text-book,.text-book:hover{color:#009688}.text-page,.text-page:hover{color:#0288d1}.text-page.draft,.text-page.draft:hover{color:#9a60da}.text-chapter,.text-chapter:hover{color:#ef7c3c}.faded .text-book:hover{color:#009688!important}.faded .text-chapter:hover{color:#ef7c3c!important}.faded .text-page:hover{color:#0288d1!important}span.highlight{font-weight:700;padding:2px 4px}ul{list-style:disc}ol,ul{padding-left:20.8px;overflow:hidden}ol{list-style:decimal}.underlined{text-decoration:underline}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-bigger{font-size:1.1em}.text-large{font-size:1.6666em}.no-color{color:inherit}.header-group{margin:16px 0}.header-group .title-input input[type=text],.header-group h1,.header-group h2,.header-group h3,.header-group h4,.header-group h5,.header-group h6,.title-input .header-group input[type=text]{margin:0}span.sep{color:#bbb;padding:0 6px}.list>*{display:block}.action-header .title-input input[type=text],.action-header h1,.title-input .action-header input[type=text]{margin-top:16px}i{padding-right:6px}body.flexbox{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;height:100%;min-height:100%;max-height:100%;overflow:hidden}body.flexbox #content{-ms-flex:1;flex:1}.flex-fill,body.flexbox #content{display:-ms-flexbox;display:flex;min-height:0}.flex-fill{-ms-flex-align:stretch;align-items:stretch}.flex-fill.flex,.flex-fill .flex{min-height:0;-ms-flex:1;flex:1}div[class^=col-] img{max-width:100%}.container{max-width:1400px;margin-left:auto;margin-right:auto;padding-left:16px;padding-right:16px}.container.fluid{max-width:100%}.container.small{max-width:840px}.center-box{margin:32px auto 0;padding:16px 48px 64px;max-width:346px;display:inline-block;text-align:left;vertical-align:top}.center-box.login{background-color:#eee;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border:1px solid #ddd}.row{margin-left:-16px;margin-right:-16px}.float{float:left}.float.right{float:right}.block{display:block;position:relative}.inline{display:inline}.block.inline{display:inline-block}.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12,.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12,.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12,.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{position:relative;min-height:1px;padding-left:16px;padding-right:16px}.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{float:left}.col-xs-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-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12{float:left}.col-sm-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-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12{float:left}.col-md-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-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.row:after,.row:before{content:" ";display:table}.clearfix:after,.container-fluid:after,.container:after,.row:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.shaded{background-color:#f1f1f1}.shaded.pos{background-color:#d6ead7}.shaded.neg{background-color:#f4a9a9}.shaded.primary{background-color:#a1ddfe}.shaded.secondary{background-color:#f6d7c6}.bordered{border:1px solid #bbb}.bordered.pos{border-color:#52a256}.bordered.neg{border-color:#e84f4f}.bordered.primary{border-color:#0288d1}.bordered.secondary{border-color:#e27b41}.bordered.thick{border-width:2px}.rounded{border-radius:3px}.nopadding{padding:0}.padded{padding:24px}.padded.large{padding:32px}.padded>h1:first-child,.padded>h2:first-child,.padded>h3:first-child,.padded>h4:first-child,.title-input .padded>input[type=text]:first-child{margin-top:.1em}.padded-top,.padded-vertical{padding-top:16px}.padded-top.large,.padded-vertical.large{padding-top:32px}.padded-bottom,.padded-vertical{padding-bottom:16px}.padded-bottom.large,.padded-vertical.large{padding-bottom:32px}.padded-horizontal,.padded-left{padding-left:16px}.padded-horizontal.large,.padded-left.large{padding-left:32px}.padded-horizontal,.padded-right{padding-right:16px}.padded-horizontal.large,.padded-right.large{padding-right:32px}.margins{margin:24px}.margins.large{margin:32px}.margin-top,.margins-vertical{margin-top:16px}.margin-top.large,.margins-vertical.large{margin-top:32px}.margin-bottom,.margins-vertical{margin-bottom:16px}.margin-bottom.large,.margins-vertical.large{margin-bottom:32px}.margin-left,.margins-horizontal{margin-left:16px}.margin-left.large,.margins-horizontal.large{margin-left:32px}.margin-right,.margins-horizontal{margin-right:16px}.margin-right.large,.margins-horizontal.large{margin-right:32px}.callout{border-left:3px solid #bbb;background-color:#eee;padding:12px}.callout:before{font-family:Material-Design-Iconic-Font;padding-right:12px;display:inline-block}.callout.success{border-left-color:#52a256;background-color:#e7f3e7;color:#376c39}.callout.success:before{content:'\f269'}.callout.danger{border-left-color:#e84f4f;background-color:#fce8e8;color:#b91818}.callout.danger:before{content:'\f1f2'}.callout.info{border-left-color:#0288d1;background-color:#d3efff;color:#015380}.callout.info:before{content:'\f1f8'}.callout.warning{border-left-color:#e27b41;background-color:#faeae0;color:#b6531c}.callout.warning:before{content:'\f1f1'}.input-base,input[type=email],input[type=number],input[type=password],input[type=search],input[type=text],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=email],input.invalid[type=number],input.invalid[type=password],input.invalid[type=search],input.invalid[type=text],input.invalid[type=url],input.neg[type=email],input.neg[type=number],input.neg[type=password],input.neg[type=search],input.neg[type=text],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=email],input.pos[type=number],input.pos[type=password],input.pos[type=search],input.pos[type=text],input.pos[type=url],input.valid[type=email],input.valid[type=number],input.valid[type=password],input.valid[type=search],input.valid[type=text],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=email],input.disabled[type=number],input.disabled[type=password],input.disabled[type=search],input.disabled[type=text],input.disabled[type=url],input[disabled][type=email],input[disabled][type=number],input[disabled][type=password],input[disabled][type=search],input[disabled][type=text],input[disabled][type=url],select.disabled,select[disabled],textarea.disabled,textarea[disabled]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAMUlEQVQIW2NkwAGuXbv2nxGbHEhCS0uLEUMSJgHShCKJLIEiiS4Bl8QmAZbEJQGSBAC62BuJ+tt7zgAAAABJRU5ErkJggg==)}.input-base:focus,input[type=email]:focus,input[type=number]:focus,input[type=password]:focus,input[type=search]:focus,input[type=text]:focus,input[type=url]:focus,select:focus,textarea:focus{outline:0}#html-editor{display:none}#markdown-editor{position:relative;z-index:5}#markdown-editor textarea{font-family:Roboto Mono;font-style:normal;font-weight:400;padding:6px 16px;color:#444;border-radius:0;max-height:100%;-ms-flex:1;flex:1;border:0;width:100%}#markdown-editor textarea:focus{outline:0}#markdown-editor .markdown-display,#markdown-editor .markdown-editor-wrap{-ms-flex:1;flex:1;position:relative}#markdown-editor .markdown-editor-wrap{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;border:1px solid #ddd}#markdown-editor .markdown-display{padding:0 16px;margin-left:-1px;overflow-y:scroll}#markdown-editor .markdown-display .page-content{margin:0 auto}.editor-toolbar{width:100%;padding:6px 16px;font-family:Roboto Mono;font-size:11px;line-height:1.6;border-bottom:1px solid #ddd;background-color:#eee;-ms-flex:none;flex:none}.editor-toolbar:after{content:'';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}label.inline{display:inline-block}label.checkbox,label.radio{font-weight:400}label.checkbox input[type=checkbox],label.checkbox input[type=radio],label.radio input[type=checkbox],label.radio input[type=radio]{margin-right:6px}label+p.small{margin-bottom:.8em}.toggle-switch{display:inline-block;background-color:#bbb;width:36px;height:14px;border-radius:7px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.toggle-switch,.toggle-switch:after{position:relative;transition:all .12s ease-in-out}.toggle-switch:after{content:'';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 textarea{display:block;width:100%;min-height:64px}.form-group .text-neg,.form-group .text-pos{padding:6px 0}.description-input textarea,.inline-input-style,.title-input input[type=text]{border:2px dotted #bbb;display:block;width:100%;padding:6px 12px}.title-input .input{width:100%}.description-input label,.title-input label{margin-top:16px;color:#666}.title-input input[type=text]{margin-top:0;padding-right:0;width:100%;color:#444}.title-input.page-title{font-size:.8em}.title-input.page-title .input{border:0;margin-bottom:-1px}.title-input.page-title input[type=text]{max-width:840px;margin:0 auto;border:none}.page-title input{display:block;width:100%;font-size:1.4em}.description-input textarea{font-size:15px;color:#666;width:100%}.search-box,div[editor-type=markdown] .title-input.page-title input[type=text]{max-width:100%}.search-box{position:relative}.search-box button{background-color:transparent;border:none;color:#0288d1;padding:0;margin:0;cursor:pointer;margin-left:12px}.search-box button[type=submit]{margin-left:-24px}.search-box input{padding-right:24px;width:300px;max-width:100%}input.outline{border:0;border-bottom:2px solid #ddd;border-radius:0}input.outline:active,input.outline:focus{border:0;border-bottom:2px solid #aaa;outline:0}#login-form label[for=remember]{margin:0}#login-form label.toggle-switch{margin-left:32px}.image-picker img{background-color:#bbb}div[toggle-switch]{height:18px;width:150px}table.table{width:100%}table.table tr{border-bottom:1px solid #ddd}table.table td,table.table th{text-align:left;border:none;padding:6px;vertical-align:middle}table.table th{font-weight:700}table.table tr:hover{background-color:#eee}table{max-width:100%}table thead{background-color:#f8f8f8;font-weight:500}table.no-style td{border:0;padding:0}table.list-table{margin:-6px}table.list-table td{border:0;vertical-align:middle;padding:6px}header{display:block;z-index:2;top:0;background-color:#0288d1;color:#fff;border-bottom:1px solid #ddd}header .padded{padding:16px}header .links{display:inline-block;vertical-align:top;margin-right:32px}@media screen and (max-width:992px){header .links{margin-right:16px}}header .links a{display:inline-block;padding:24px;color:#fff}header .links a:last-child{padding-right:0}@media screen and (max-width:992px){header .links a{padding:24px 12px}}header .avatar,header .user-name{display:inline-block}header .avatar{width:30px;height:30px}header .user-name{padding-top:24px;display:inline-block;cursor:pointer}header .user-name,header .user-name>*{vertical-align:top}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}}@media screen and (max-width:992px){header{text-align:center}header .float.right{float:none}}@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;display:inline-block;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{vertical-align:top;margin-left:-24px;color:#fff;top:6px;right:4px;display:inline-block;position:absolute}form.search-box button:hover{color:#fff}.logo{display:inline-block}.logo:hover{color:#fff;text-decoration:none}.logo-text{display:inline-block;font-size:1.8em;color:#fff;font-weight:400;padding:24px 24px 24px 0;vertical-align:top;line-height:1}.logo-image{margin:16px 12px 16px 0;vertical-align:top;height:43px}.breadcrumbs span.sep{color:#aaa;padding:0 6px}.faded a,.faded button,.faded span,.faded span>div{color:#666}.faded .text-button{opacity:.5;transition:all .12s ease-in-out}.faded .text-button:hover{opacity:1;text-decoration:none}.faded span.faded-text{display:inline-block;padding:12px}.faded-small{color:#000;font-size:.9em;background-color:rgba(21,101,192,.15)}.action-buttons .text-button,.breadcrumbs .text-button{display:inline-block;padding:12px}.action-buttons .text-button:last-child,.breadcrumbs .text-button:last-child{padding-right:0}.action-buttons{text-align:right}.action-buttons.text-left{text-align:left}.action-buttons.text-left .text-button{padding-right:16px;padding-left:0}.action-buttons.text-center,.nav-tabs{text-align:center}.nav-tabs .tab-item,.nav-tabs a{padding:16px;display:inline-block;color:#666;cursor:pointer}.nav-tabs .tab-item.selected,.nav-tabs a.selected{border-bottom:2px solid #0288d1}.page-list h3{margin:24px 0 6px;font-size:1.666em}.page-list a.chapter{color:#ef7c3c}.page-list .inset-list{display:none;overflow:hidden;margin-bottom:24px}.page-list h4{display:block;margin:12px 0 0;border-left:5px solid #0288d1;padding:6px 0 6px 16px}.page-list h4.draft{border-left-color:#9a60da}.page-list hr{margin-top:0}.page-list .book,.page-list .chapter,.page-list .page{padding-left:24px}.page-list .page{border-left:5px solid #0288d1}.page-list .page.draft{border-left:5px solid #9a60da}.page-list .page.draft .text-page{color:#9a60da}.page-list .chapter{border-left:5px solid #ef7c3c}.page-list .book{border-left:5px solid #009688}.page-list .meta{margin-top:-16px;font-size:.95em}.page-list .meta span{margin-right:12px}.chapter-toggle{cursor:pointer;margin:0 0 24px;transition:all .18s ease-in-out;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.chapter-toggle i.zmdi-caret-right{transition:all .18s ease-in-out;transform:rotate(0deg);transform-origin:25% 50%}.chapter-toggle.open{margin-bottom:0}.chapter-toggle.open i.zmdi-caret-right{transform:rotate(90deg)}.page-nav-list{margin-left:2px;list-style:none}.page-nav-list li{padding-left:6px;border-left:2px solid #888;margin-bottom:4px}.page-nav-list li a{color:#555}.page-nav-list .nav-H2{margin-left:12px;font-size:.95em}.page-nav-list .nav-H3{margin-left:24px;font-size:.9em}.page-nav-list .nav-H4{margin-left:36px;font-size:.85em}.page-nav-list .nav-H5{margin-left:48px;font-size:.8em}.page-nav-list .nav-H6{margin-left:60px;font-size:.75em}.book-tree{padding:24px 0 0;position:relative;right:0;top:0;transition:.24s ease-in-out;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:hover{text-decoration:none}.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{float:left}.activity-list-item .left+.right{margin-left:42px}ul.pagination{display:inline-block;list-style:none;margin:16px 0;padding-left:1px}ul.pagination li{float:left}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}.compact ul.pagination{margin:0}.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>p.empty-text{display:block;font-size:15px}.entity-list.compact hr{margin:0}.dropdown-container{display:inline-block;vertical-align:top;position:relative}.dropdown-container ul{display:none;position:absolute;z-index:999;top:0;list-style:none;right:0;margin:16px 0;background-color:#fff;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border-radius:1px;border:1px solid #eee;min-width:180px;padding:6px 0;color:#555;text-align:left!important}.dropdown-container ul.wide{min-width:220px}.dropdown-container ul .text-muted{color:#999}.dropdown-container ul a{display:block;padding:6px 16px;color:#555}.dropdown-container ul a:hover{text-decoration:none;background-color:#eee}.dropdown-container ul a i{margin-right:16px;padding-right:0;display:inline;width:22px}.dropdown-container ul li.border-bottom{border-bottom:1px solid #ddd}#page-show>.row .col-md-9{z-index:2}#page-show>.row .col-md-3{z-index:1}.page-editor{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}.page-editor .faded-small{height:auto}.page-editor .edit-area{-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column}.page-style.editor{padding:0!important}.page-content{max-width:840px;overflow-wrap:break-word}.page-content .align-left{text-align:left}.page-content img.align-left,.page-content table.align-left{float:left!important;margin:6px 12px 6px 0}.page-content .align-right{float:right!important}.page-content img.align-right,.page-content table.align-right{text-align:right;margin:6px 0 6px 12px}.page-content .align-center{text-align:center}.page-content img{max-width:100%;height:auto}.page-content .title-input input[type=text],.page-content h1,.page-content h2,.page-content h3,.page-content h4,.page-content h5,.page-content h6,.page-content pre,.title-input .page-content input[type=text]{clear:left}.page-content hr{clear:both;margin:16px 0}.page-content table{word-break:break-all;word-break:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto}.pointer-container{position:relative;display:none;left:0;z-index:10}.pointer{border:1px solid #ccc;display:inline-block;padding:12px;border-radius:4px;box-shadow:0 0 8px 1px hsla(0,3%,83%,.35);top:-60px;width:272px;z-index:55}.pointer,.pointer:before{position:absolute;background-color:#fff}.pointer:before{left:50%;bottom:-9px;width:16px;height:16px;margin-left:-8px;content:'';display:block;transform:rotate(45deg);transform-origin:50% 50%;border-bottom:1px solid #ccc;border-right:1px solid #ccc;z-index:56}.pointer input{background-color:#fff;border:1px solid #ddd;color:#666;width:172px;z-index:40}.pointer button,.pointer input{position:relative;border-radius:0;height:28px;font-size:12px;vertical-align:top}.pointer>i{color:#888;font-size:18px;padding-top:4px}.pointer .button{line-height:1;margin:0 0 0 -4px;box-shadow:none}.floating-toolbox{background-color:#fff;border:1px solid #ddd;right:64px;z-index:99;width:48px;overflow:hidden;-ms-flex-align:stretch;align-items:stretch;-ms-flex-direction:row;flex-direction:row;display:-ms-flexbox;display:flex;transition:width .18s ease-in-out;margin-top:-1px;min-height:0}.floating-toolbox.open{width:480px}.floating-toolbox [toolbox-toggle] i{transition:transform .18s ease-in-out}.floating-toolbox [toolbox-toggle]{transition:background-color .18s ease-in-out}.floating-toolbox.open [toolbox-toggle]{background-color:rgba(255,0,0,.29)}.floating-toolbox.open [toolbox-toggle] i{transform:rotate(180deg)}.floating-toolbox>div{-ms-flex:1;flex:1;position:relative}.floating-toolbox .tabs{display:block;border-right:1px solid #ddd;width:48px;-ms-flex:0 1 auto;flex:0 1 auto}.floating-toolbox .tabs i{color:rgba(0,0,0,.5);padding:0;margin:0}.floating-toolbox .tabs>span{display:block;cursor:pointer;padding:12px 16px;font-size:13.5px;line-height:1.6;border-bottom:1px solid hsla(0,0%,100%,.3)}.floating-toolbox.open .tabs>span.active{color:#444;background-color:rgba(0,0,0,.1)}.floating-toolbox div[tab-content]{padding-bottom:45px;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;min-height:0;overflow-y:scroll}.floating-toolbox div[tab-content] .padded{-ms-flex:1;flex:1;padding-top:0}.floating-toolbox h4{font-size:24px;margin:16px 0 0;padding:0 24px 12px}.floating-toolbox .tags input{max-width:100%;width:100%;min-width:50px}.floating-toolbox .tags td{padding-right:12px;padding-top:12px;position:relative}.floating-toolbox button.pos{position:absolute;bottom:0;display:block;width:100%;padding:12px;height:45px;border:0;margin:0;box-shadow:none;border-radius:0}.floating-toolbox button.pos:hover{box-shadow:none}.floating-toolbox .handle{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:move;color:#999}.floating-toolbox form{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;overflow-y:scroll}[tab-content]{display:none}.tag-display{margin:32px 6px;border:1px solid #ddd;min-width:180px;max-width:320px;opacity:.7;z-index:5;position:relative}.tag-display table{width:100%;margin:0;padding:0}.tag-display .heading th{padding:6px 12px;color:#333;font-weight:400}.tag-display td{border:0;border-bottom:1px solid #ddd;padding:6px 12px;color:#444}.tag-display .tag-value{color:#888}.tag-display tr:last-child td{border-bottom:none}.tag-display .tag{padding:12px}.suggestion-box{position:absolute;background-color:#fff;border:1px solid #bbb;box-shadow:0 0 4px 1px #ccc;list-style:none;z-index:100;padding:0;margin:0;border-radius:3px}.suggestion-box li{display:block;padding:6px 12px;border-bottom:1px solid #ddd}.suggestion-box li:last-child{border-bottom:0}.suggestion-box li.active{background-color:#eee}table{border-spacing:0;border-collapse:collapse} \ No newline at end of file +*{box-sizing:border-box}html{background-color:#fff;height:100%;overflow-y:scroll}html.flexbox{overflow-y:hidden}body{font-family:Roboto,DejaVu Sans,Helvetica,Arial,sans-serif;font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}button{font-size:100%}table{min-width:100px}table td,table th{min-width:10px;padding:4px 6px;border:1px solid #ddd}.title-input input[type=text],h1{font-size:3.425em;line-height:1.22222222em;margin-top:.48888889em;margin-bottom:.48888889em}h2{font-size:2.8275em;line-height:1.294117647em;margin-top:.8627451em;margin-bottom:.43137255em}h3{font-size:1.75em;line-height:1.571428572em}h3,h4{margin-top:.78571429em;margin-bottom:.43137255em}h4{font-size:1em;line-height:1.375em}.title-input input[type=text],h1,h2,h3,h4{font-weight:400;position:relative;display:block;color:#555}.title-input input[type=text] .subheader,h1 .subheader,h2 .subheader,h3 .subheader,h4 .subheader{font-size:.5em;line-height:1em;color:#969696}.link,a{color:#0288d1;cursor:pointer;text-decoration:none;transition:color 80ms ease-in-out;font-family:Roboto,DejaVu Sans,Helvetica,Arial,sans-serif;line-height:1.6}.link:hover,a:hover{text-decoration:underline;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(90deg,#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;white-space:pre;font-size:.8em;overflow:hidden;border-radius:4px;box-shadow:0 1px 2px 0 hsla(0,0%,4%,.06);border:1px solid hsla(0,0%,87%,.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}pre code{background-color:transparent;border:0;font-size:1em}.text-pos,.text-pos:hover,p.pos,p .pos,p.pos:hover,p .pos:hover,span.pos,span.pos:hover{color:#52a256}.text-neg,.text-neg:hover,p.neg,p .neg,p.neg:hover,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,p.primary:hover,p .primary:hover,span.primary,span.primary:hover{color:#0288d1}.text-secondary,.text-secondary:hover,p.secondary,p .secondary,p.secondary:hover,p .secondary:hover,span.secondary,span.secondary:hover{color:#e27b41}.text-book,.text-book:hover{color:#009688}.text-page,.text-page:hover{color:#0288d1}.text-page.draft,.text-page.draft:hover{color:#9a60da}.text-chapter,.text-chapter:hover{color:#ef7c3c}.faded .text-book:hover{color:#009688!important}.faded .text-chapter:hover{color:#ef7c3c!important}.faded .text-page:hover{color:#0288d1!important}span.highlight{font-weight:700;padding:2px 4px}ul{list-style:disc}ol,ul{padding-left:20.8px;overflow:hidden}ol{list-style:decimal}.underlined{text-decoration:underline}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-bigger{font-size:1.1em}.text-large{font-size:1.6666em}.no-color{color:inherit}.header-group{margin:16px 0}.header-group .title-input input[type=text],.header-group h1,.header-group h2,.header-group h3,.header-group h4,.header-group h5,.header-group h6,.title-input .header-group input[type=text]{margin:0}span.sep{color:#bbb;padding:0 6px}.list>*{display:block}.action-header .title-input input[type=text],.action-header h1,.title-input .action-header input[type=text]{margin-top:16px}i{padding-right:6px}body.flexbox{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;height:100%;min-height:100%;max-height:100%;overflow:hidden}body.flexbox #content{-ms-flex:1;flex:1}.flex-fill,body.flexbox #content{display:-ms-flexbox;display:flex;min-height:0}.flex-fill{-ms-flex-align:stretch;align-items:stretch}.flex-fill.flex,.flex-fill .flex{min-height:0;-ms-flex:1;flex:1}.flex-child>div{-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.medium{max-width:992px}.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-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12,.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12,.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12,.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{position:relative;min-height:1px;padding-left:16px;padding-right:16px}.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{float:left}.col-xs-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-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12{float:left}.col-sm-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-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12{float:left}.col-md-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-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.row:after,.row:before{content:" ";display:table}.clearfix:after,.container-fluid:after,.container:after,.row:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.shaded{background-color:#f1f1f1}.shaded.pos{background-color:#d6ead7}.shaded.neg{background-color:#f4a9a9}.shaded.primary{background-color:#a1ddfe}.shaded.secondary{background-color:#f6d7c6}.bordered{border:1px solid #bbb}.bordered.pos{border-color:#52a256}.bordered.neg{border-color:#e84f4f}.bordered.primary{border-color:#0288d1}.bordered.secondary{border-color:#e27b41}.bordered.thick{border-width:2px}.rounded{border-radius:3px}.nopadding{padding:0}.padded{padding:24px}.padded.large{padding:32px}.padded>h1:first-child,.padded>h2:first-child,.padded>h3:first-child,.padded>h4:first-child,.title-input .padded>input[type=text]:first-child{margin-top:.1em}.padded-top,.padded-vertical{padding-top:16px}.padded-top.large,.padded-vertical.large{padding-top:32px}.padded-bottom,.padded-vertical{padding-bottom:16px}.padded-bottom.large,.padded-vertical.large{padding-bottom:32px}.padded-horizontal,.padded-left{padding-left:16px}.padded-horizontal.large,.padded-left.large{padding-left:32px}.padded-horizontal,.padded-right{padding-right:16px}.padded-horizontal.large,.padded-right.large{padding-right:32px}.margins{margin:24px}.margins.large{margin:32px}.margin-top,.margins-vertical{margin-top:16px}.margin-top.large,.margins-vertical.large{margin-top:32px}.margin-bottom,.margins-vertical{margin-bottom:16px}.margin-bottom.large,.margins-vertical.large{margin-bottom:32px}.margin-left,.margins-horizontal{margin-left:16px}.margin-left.large,.margins-horizontal.large{margin-left:32px}.margin-right,.margins-horizontal{margin-right:16px}.margin-right.large,.margins-horizontal.large{margin-right:32px}.callout{border-left:3px solid #bbb;background-color:#eee;padding:12px}.callout:before{font-family:Material-Design-Iconic-Font;padding-right:12px;display:inline-block}.callout.success{border-left-color:#52a256;background-color:#e7f3e7;color:#376c39}.callout.success:before{content:'\f269'}.callout.danger{border-left-color:#e84f4f;background-color:#fce8e8;color:#b91818}.callout.danger:before{content:'\f1f2'}.callout.info{border-left-color:#0288d1;background-color:#d3efff;color:#015380}.callout.info:before{content:'\f1f8'}.callout.warning{border-left-color:#e27b41;background-color:#faeae0;color:#b6531c}.callout.warning:before{content:'\f1f1'}.input-base,input[type=email],input[type=number],input[type=password],input[type=search],input[type=text],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=email],input.invalid[type=number],input.invalid[type=password],input.invalid[type=search],input.invalid[type=text],input.invalid[type=url],input.neg[type=email],input.neg[type=number],input.neg[type=password],input.neg[type=search],input.neg[type=text],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=email],input.pos[type=number],input.pos[type=password],input.pos[type=search],input.pos[type=text],input.pos[type=url],input.valid[type=email],input.valid[type=number],input.valid[type=password],input.valid[type=search],input.valid[type=text],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=email],input.disabled[type=number],input.disabled[type=password],input.disabled[type=search],input.disabled[type=text],input.disabled[type=url],input[disabled][type=email],input[disabled][type=number],input[disabled][type=password],input[disabled][type=search],input[disabled][type=text],input[disabled][type=url],select.disabled,select[disabled],textarea.disabled,textarea[disabled]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAMUlEQVQIW2NkwAGuXbv2nxGbHEhCS0uLEUMSJgHShCKJLIEiiS4Bl8QmAZbEJQGSBAC62BuJ+tt7zgAAAABJRU5ErkJggg==)}.input-base:focus,input[type=email]:focus,input[type=number]:focus,input[type=password]:focus,input[type=search]:focus,input[type=text]:focus,input[type=url]:focus,select:focus,textarea:focus{outline:0}#html-editor{display:none}#markdown-editor{position:relative;z-index:5}#markdown-editor textarea{font-family:Roboto Mono;font-style:normal;font-weight:400;padding:6px 16px;color:#444;border-radius:0;max-height:100%;-ms-flex:1;flex:1;border:0;width:100%}#markdown-editor textarea:focus{outline:0}#markdown-editor .markdown-display,#markdown-editor .markdown-editor-wrap{-ms-flex:1;flex:1;position:relative}#markdown-editor .markdown-editor-wrap{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;border:1px solid #ddd}#markdown-editor .markdown-display{padding:0 16px;margin-left:-1px;overflow-y:scroll}#markdown-editor .markdown-display .page-content{margin:0 auto}.editor-toolbar{width:100%;padding:6px 16px;font-family:Roboto Mono;font-size:11px;line-height:1.6;border-bottom:1px solid #ddd;background-color:#eee;-ms-flex:none;flex:none}.editor-toolbar:after{content:'';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}label.inline{display:inline-block}label.checkbox,label.radio{font-weight:400}label.checkbox input[type=checkbox],label.checkbox input[type=radio],label.radio input[type=checkbox],label.radio input[type=radio]{margin-right:6px}label+p.small{margin-bottom:.8em}.toggle-switch{display:inline-block;background-color:#bbb;width:36px;height:14px;border-radius:7px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.toggle-switch,.toggle-switch:after{position:relative;transition:all .12s ease-in-out}.toggle-switch:after{content:'';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 textarea{display:block;width:100%;min-height:64px}.form-group .text-neg,.form-group .text-pos{padding:6px 0}.description-input textarea,.inline-input-style,.title-input input[type=text]{border:2px dotted #bbb;display:block;width:100%;padding:6px 12px}.title-input .input{width:100%}.description-input label,.title-input label{margin-top:16px;color:#666}.title-input input[type=text]{margin-top:0;padding-right:0;width:100%;color:#444}.title-input.page-title{font-size:.8em}.title-input.page-title .input{border:0;margin-bottom:-1px}.title-input.page-title input[type=text]{max-width:840px;margin:0 auto;border:none}.page-title input{display:block;width:100%;font-size:1.4em}.description-input textarea{font-size:15px;color:#666;width:100%}.search-box,div[editor-type=markdown] .title-input.page-title input[type=text]{max-width:100%}.search-box{position:relative}.search-box button{background-color:transparent;border:none;color:#0288d1;padding:0;margin:0;cursor:pointer;margin-left:12px}.search-box button[type=submit]{margin-left:-24px}.search-box input{padding-right:24px;width:300px;max-width:100%}input.outline{border:0;border-bottom:2px solid #ddd;border-radius:0}input.outline:active,input.outline:focus{border:0;border-bottom:2px solid #aaa;outline:0}#login-form label[for=remember]{margin:0}#login-form label.toggle-switch{margin-left:32px}.image-picker img{background-color:#bbb}div[toggle-switch]{height:18px;width:150px}table.table{width:100%}table.table tr{border-bottom:1px solid #ddd}table.table td,table.table th{text-align:left;border:none;padding:6px;vertical-align:middle}table.table th{font-weight:700}table.table tr:hover{background-color:#eee}table{max-width:100%}table thead{background-color:#f8f8f8;font-weight:500}table.no-style td{border:0;padding:0}table.list-table{margin:-6px}table.list-table td{border:0;vertical-align:middle;padding:6px}header{display:block;z-index:2;top:0;background-color:#0288d1;color:#fff;border-bottom:1px solid #ddd}header .padded{padding:16px}header .links{display:inline-block;vertical-align:top;margin-right:32px}@media screen and (max-width:992px){header .links{margin-right:16px}}header .links a{display:inline-block;padding:24px;color:#fff}header .links a:last-child{padding-right:0}@media screen and (max-width:992px){header .links a{padding:24px 12px}}header .avatar,header .user-name{display:inline-block}header .avatar{width:30px;height:30px}header .user-name{padding-top:24px;display:inline-block;cursor:pointer}header .user-name,header .user-name>*{vertical-align:top}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}}@media screen and (max-width:992px){header{text-align:center}header .float.right{float:none}}@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;display:inline-block;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{vertical-align:top;margin-left:-24px;color:#fff;top:6px;right:4px;display:inline-block;position:absolute}form.search-box button:hover{color:#fff}.logo{display:inline-block}.logo:hover{color:#fff;text-decoration:none}.logo-text{display:inline-block;font-size:1.8em;color:#fff;font-weight:400;padding:24px 24px 24px 0;vertical-align:top;line-height:1}.logo-image{margin:16px 12px 16px 0;vertical-align:top;height:43px}.breadcrumbs span.sep{color:#aaa;padding:0 6px}.faded a,.faded button,.faded span,.faded span>div{color:#666}.faded .text-button{opacity:.5;transition:all .12s ease-in-out}.faded .text-button:hover{opacity:1;text-decoration:none}.faded span.faded-text{display:inline-block;padding:12px}.faded-small{color:#000;font-size:.9em;background-color:rgba(21,101,192,.15)}.action-buttons .text-button,.breadcrumbs .text-button{display:inline-block;padding:12px}.action-buttons .text-button:last-child,.breadcrumbs .text-button:last-child{padding-right:0}.action-buttons{text-align:right}.action-buttons.text-left{text-align:left}.action-buttons.text-left .text-button{padding-right:16px;padding-left:0}.action-buttons.text-center,.nav-tabs{text-align:center}.nav-tabs .tab-item,.nav-tabs a{padding:16px;display:inline-block;color:#666;cursor:pointer}.nav-tabs .tab-item.selected,.nav-tabs a.selected{border-bottom:2px solid #0288d1}.page-list h3{margin:24px 0 6px;font-size:1.666em}.page-list a.chapter{color:#ef7c3c}.page-list .inset-list{display:none;overflow:hidden;margin-bottom:24px}.page-list h4{display:block;margin:12px 0 0;border-left:5px solid #0288d1;padding:6px 0 6px 16px}.page-list h4.draft{border-left-color:#9a60da}.page-list hr{margin-top:0}.page-list .book,.page-list .chapter,.page-list .page{padding-left:24px}.page-list .page{border-left:5px solid #0288d1}.page-list .page.draft{border-left:5px solid #9a60da}.page-list .page.draft .text-page{color:#9a60da}.page-list .chapter{border-left:5px solid #ef7c3c}.page-list .book{border-left:5px solid #009688}.page-list .meta{margin-top:-16px;font-size:.95em}.page-list .meta span{margin-right:12px}.chapter-toggle{cursor:pointer;margin:0 0 24px;transition:all .18s ease-in-out;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.chapter-toggle i.zmdi-caret-right{transition:all .18s ease-in-out;transform:rotate(0deg);transform-origin:25% 50%}.chapter-toggle.open{margin-bottom:0}.chapter-toggle.open i.zmdi-caret-right{transform:rotate(90deg)}.page-nav-list{margin-left:2px;list-style:none}.page-nav-list li{padding-left:6px;border-left:2px solid #888;margin-bottom:4px}.page-nav-list li a{color:#555}.page-nav-list .nav-H2{margin-left:12px;font-size:.95em}.page-nav-list .nav-H3{margin-left:24px;font-size:.9em}.page-nav-list .nav-H4{margin-left:36px;font-size:.85em}.page-nav-list .nav-H5{margin-left:48px;font-size:.8em}.page-nav-list .nav-H6{margin-left:60px;font-size:.75em}.book-tree{padding:24px 0 0;position:relative;right:0;top:0;transition:.24s ease-in-out;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:hover{text-decoration:none}.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{float:left}.activity-list-item .left+.right{margin-left:42px}ul.pagination{display:inline-block;list-style:none;margin:16px 0;padding-left:1px}ul.pagination li{float:left}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}.compact ul.pagination{margin:0}.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>p.empty-text{display:block;font-size:15px}.entity-list.compact hr{margin:0}.dropdown-container{display:inline-block;vertical-align:top;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 li.padded{padding:6px 16px}.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:12px;padding-right:0;display:inline-block;width:16px}.dropdown-container ul li.border-bottom{border-bottom:1px solid #ddd}#page-show>.row .col-md-9{z-index:2}#page-show>.row .col-md-3{z-index:1}.page-editor{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}.page-editor .faded-small{height:auto}.page-editor .edit-area{-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column}.draft-notification{pointer-events:none;transform:scale(0);transition:transform .12s ease-in-out;transform-origin:50% 50%}.draft-notification.visible{transform:scale(1)}.page-style.editor{padding:0!important}.page-content{max-width:840px;overflow-wrap:break-word}.page-content .align-left{text-align:left}.page-content img.align-left,.page-content table.align-left{float:left!important;margin:6px 12px 6px 0}.page-content .align-right{float:right!important}.page-content img.align-right,.page-content table.align-right{text-align:right;margin:6px 0 6px 12px}.page-content .align-center{text-align:center}.page-content img{max-width:100%;height:auto}.page-content .title-input input[type=text],.page-content h1,.page-content h2,.page-content h3,.page-content h4,.page-content h5,.page-content h6,.page-content pre,.title-input .page-content input[type=text]{clear:left}.page-content hr{clear:both;margin:16px 0}.page-content table{word-break:break-all;word-break:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto}.pointer-container{position:relative;display:none;left:0;z-index:10}.pointer{border:1px solid #ccc;display:inline-block;padding:12px;border-radius:4px;box-shadow:0 0 8px 1px hsla(0,3%,83%,.35);top:-60px;width:272px;z-index:55}.pointer,.pointer:before{position:absolute;background-color:#fff}.pointer:before{left:50%;bottom:-9px;width:16px;height:16px;margin-left:-8px;content:'';display:block;transform:rotate(45deg);transform-origin:50% 50%;border-bottom:1px solid #ccc;border-right:1px solid #ccc;z-index:56}.pointer input{background-color:#fff;border:1px solid #ddd;color:#666;width:172px;z-index:40}.pointer button,.pointer input{position:relative;border-radius:0;height:28px;font-size:12px;vertical-align:top}.pointer>i{color:#888;font-size:18px;padding-top:4px}.pointer .button{line-height:1;margin:0 0 0 -4px;box-shadow:none}.floating-toolbox{background-color:#fff;border:1px solid #ddd;right:64px;z-index:99;width:48px;overflow:hidden;-ms-flex-align:stretch;align-items:stretch;-ms-flex-direction:row;flex-direction:row;display:-ms-flexbox;display:flex;transition:width .18s ease-in-out;margin-top:-1px;min-height:0}.floating-toolbox.open{width:480px}.floating-toolbox [toolbox-toggle] i{transition:transform .18s ease-in-out}.floating-toolbox [toolbox-toggle]{transition:background-color .18s ease-in-out}.floating-toolbox.open [toolbox-toggle]{background-color:rgba(255,0,0,.29)}.floating-toolbox.open [toolbox-toggle] i{transform:rotate(180deg)}.floating-toolbox>div{-ms-flex:1;flex:1;position:relative}.floating-toolbox .tabs{display:block;border-right:1px solid #ddd;width:48px;-ms-flex:0 1 auto;flex:0 1 auto}.floating-toolbox .tabs i{color:rgba(0,0,0,.5);padding:0;margin:0}.floating-toolbox .tabs>span{display:block;cursor:pointer;padding:12px 16px;font-size:13.5px;line-height:1.6;border-bottom:1px solid hsla(0,0%,100%,.3)}.floating-toolbox.open .tabs>span.active{color:#444;background-color:rgba(0,0,0,.1)}.floating-toolbox div[tab-content]{padding-bottom:45px;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;min-height:0;overflow-y:scroll}.floating-toolbox div[tab-content] .padded{-ms-flex:1;flex:1;padding-top:0}.floating-toolbox h4{font-size:24px;margin:16px 0 0;padding:0 24px 12px}.floating-toolbox .tags input{max-width:100%;width:100%;min-width:50px}.floating-toolbox .tags td{padding-right:12px;padding-top:12px;position:relative}.floating-toolbox button.pos{position:absolute;bottom:0;display:block;width:100%;padding:12px;height:45px;border:0;margin:0;box-shadow:none;border-radius:0}.floating-toolbox button.pos:hover{box-shadow:none}.floating-toolbox .handle{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:move;color:#999}.floating-toolbox form{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;overflow-y:scroll}[tab-content]{display:none}.tag-display{margin:32px 16px;border:1px solid #ddd;min-width:180px;max-width:320px;opacity:.7;z-index:5;position:relative}.tag-display table{width:100%;margin:0;padding:0}.tag-display .heading th{padding:6px 12px;color:#333;font-weight:400}.tag-display td{border:0;border-bottom:1px solid #ddd;padding:6px 12px;color:#444}.tag-display .tag-value{color:#888}.tag-display tr:last-child td{border-bottom:none}.tag-display .tag{padding:12px}.suggestion-box{position:absolute;background-color:#fff;border:1px solid #bbb;box-shadow:0 0 4px 1px #ccc;list-style:none;z-index:100;padding:0;margin:0;border-radius:3px}.suggestion-box li{display:block;padding:6px 12px;border-bottom:1px solid #ddd}.suggestion-box li:last-child{border-bottom:0}.suggestion-box li.active{background-color:#eee}table{border-spacing:0;border-collapse:collapse} \ No newline at end of file diff --git a/public/css/styles.css b/public/css/styles.css index c36e781f828..5c0ee67c097 100644 --- a/public/css/styles.css +++ b/public/css/styles.css @@ -1 +1 @@ -.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-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:'';content:none}table{border-collapse:collapse;border-spacing:0}@font-face{font-family:Roboto;font-style:normal;font-weight:100;src:local("Roboto Thin"),local("Roboto-Thin"),url(../fonts/roboto-v15-cyrillic_latin-100.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-100.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:100;src:local("Roboto Thin Italic"),local("Roboto-ThinItalic"),url(../fonts/roboto-v15-cyrillic_latin-100italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-100italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:300;src:local("Roboto Light"),local("Roboto-Light"),url(../fonts/roboto-v15-cyrillic_latin-300.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-300.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:300;src:local("Roboto Light Italic"),local("Roboto-LightItalic"),url(../fonts/roboto-v15-cyrillic_latin-300italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-300italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:local("Roboto"),local("Roboto-Regular"),url(../fonts/roboto-v15-cyrillic_latin-regular.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-regular.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:400;src:local("Roboto Italic"),local("Roboto-Italic"),url(../fonts/roboto-v15-cyrillic_latin-italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:500;src:local("Roboto Medium"),local("Roboto-Medium"),url(../fonts/roboto-v15-cyrillic_latin-500.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-500.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:500;src:local("Roboto Medium Italic"),local("Roboto-MediumItalic"),url(../fonts/roboto-v15-cyrillic_latin-500italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-500italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:700;src:local("Roboto Bold"),local("Roboto-Bold"),url(../fonts/roboto-v15-cyrillic_latin-700.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-700.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:700;src:local("Roboto Bold Italic"),local("Roboto-BoldItalic"),url(../fonts/roboto-v15-cyrillic_latin-700italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-700italic.woff) format("woff")}@font-face{font-family:Roboto Mono;font-style:normal;font-weight:400;src:local("Roboto Mono"),local("RobotoMono-Regular"),url(../fonts/roboto-mono-v4-latin-regular.woff2) format("woff2"),url(../fonts/roboto-mono-v4-latin-regular.woff) format("woff")}*{box-sizing:border-box}html{background-color:#fff;height:100%;overflow-y:scroll}html.flexbox{overflow-y:hidden}body{font-family:Roboto,DejaVu Sans,Helvetica,Arial,sans-serif;font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}button{font-size:100%}table{min-width:100px}table td,table th{min-width:10px;padding:4px 6px;border:1px solid #ddd}.title-input input[type=text],h1{font-size:3.425em;line-height:1.22222222em;margin-top:.48888889em;margin-bottom:.48888889em}h2{font-size:2.8275em;line-height:1.294117647em;margin-top:.8627451em;margin-bottom:.43137255em}h3{font-size:1.75em;line-height:1.571428572em}h3,h4{margin-top:.78571429em;margin-bottom:.43137255em}h4{font-size:1em;line-height:1.375em}.title-input input[type=text],h1,h2,h3,h4{font-weight:400;position:relative;display:block;color:#555}.title-input input[type=text] .subheader,h1 .subheader,h2 .subheader,h3 .subheader,h4 .subheader{font-size:.5em;line-height:1em;color:#969696}.link,.text-button,a{color:#0288d1;cursor:pointer;text-decoration:none;transition:color 80ms ease-in-out;font-family:Roboto,DejaVu Sans,Helvetica,Arial,sans-serif;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(90deg,#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;white-space:pre;font-size:.8em;overflow:hidden;border-radius:4px;box-shadow:0 1px 2px 0 hsla(0,0%,4%,.06);border:1px solid hsla(0,0%,87%,.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}pre code{background-color:transparent;border:0;font-size:1em}.text-pos,.text-pos:hover,p.pos,p .pos,p.pos:hover,p .pos:hover,span.pos,span.pos:hover{color:#52a256}.text-neg,.text-neg:hover,p.neg,p .neg,p.neg:hover,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,p.primary:hover,p .primary:hover,span.primary,span.primary:hover{color:#0288d1}.text-secondary,.text-secondary:hover,p.secondary,p .secondary,p.secondary:hover,p .secondary:hover,span.secondary,span.secondary:hover{color:#e27b41}.text-book,.text-book:hover{color:#009688}.text-page,.text-page:hover{color:#0288d1}.text-page.draft,.text-page.draft:hover{color:#9a60da}.text-chapter,.text-chapter:hover{color:#ef7c3c}.faded .text-book:hover{color:#009688!important}.faded .text-chapter:hover{color:#ef7c3c!important}.faded .text-page:hover{color:#0288d1!important}span.highlight{font-weight:700;padding:2px 4px}ul{list-style:disc}ol,ul{padding-left:20.8px;overflow:hidden}ol{list-style:decimal}.underlined{text-decoration:underline}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-bigger{font-size:1.1em}.text-large{font-size:1.6666em}.no-color{color:inherit}.header-group{margin:16px 0}.header-group .title-input input[type=text],.header-group h1,.header-group h2,.header-group h3,.header-group h4,.header-group h5,.header-group h6,.title-input .header-group input[type=text]{margin:0}span.sep{color:#bbb;padding:0 6px}.list>*{display:block}.action-header .title-input input[type=text],.action-header h1,.title-input .action-header input[type=text]{margin-top:16px}i{padding-right:6px}body.flexbox{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;height:100%;min-height:100%;max-height:100%;overflow:hidden}body.flexbox #content{-ms-flex:1;flex:1}.flex-fill,body.flexbox #content{display:-ms-flexbox;display:flex;min-height:0}.flex-fill{-ms-flex-align:stretch;align-items:stretch}.flex-fill.flex,.flex-fill .flex{min-height:0;-ms-flex:1;flex:1}div[class^=col-] img{max-width:100%}.container{max-width:1400px;margin-left:auto;margin-right:auto;padding-left:16px;padding-right:16px}.container.fluid{max-width:100%}.container.small{max-width:840px}.center-box{margin:32px auto 0;padding:16px 48px 64px;max-width:346px;display:inline-block;text-align:left;vertical-align:top}.center-box.login{background-color:#eee;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border:1px solid #ddd}.row{margin-left:-16px;margin-right:-16px}.float{float:left}.float.right{float:right}.block{display:block;position:relative}.inline{display:inline}.block.inline{display:inline-block}.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12,.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12,.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12,.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{position:relative;min-height:1px;padding-left:16px;padding-right:16px}.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{float:left}.col-xs-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-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12{float:left}.col-sm-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-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12{float:left}.col-md-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-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.row:after,.row:before{content:" ";display:table}.clearfix:after,.container-fluid:after,.container:after,.row:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.shaded{background-color:#f1f1f1}.shaded.pos{background-color:#d6ead7}.shaded.neg{background-color:#f4a9a9}.shaded.primary{background-color:#a1ddfe}.shaded.secondary{background-color:#f6d7c6}.bordered{border:1px solid #bbb}.bordered.pos{border-color:#52a256}.bordered.neg{border-color:#e84f4f}.bordered.primary{border-color:#0288d1}.bordered.secondary{border-color:#e27b41}.bordered.thick{border-width:2px}.rounded{border-radius:3px}.nopadding{padding:0}.padded{padding:24px}.padded.large{padding:32px}.padded>h1:first-child,.padded>h2:first-child,.padded>h3:first-child,.padded>h4:first-child,.title-input .padded>input[type=text]:first-child{margin-top:.1em}.padded-top,.padded-vertical{padding-top:16px}.padded-top.large,.padded-vertical.large{padding-top:32px}.padded-bottom,.padded-vertical{padding-bottom:16px}.padded-bottom.large,.padded-vertical.large{padding-bottom:32px}.padded-horizontal,.padded-left{padding-left:16px}.padded-horizontal.large,.padded-left.large{padding-left:32px}.padded-horizontal,.padded-right{padding-right:16px}.padded-horizontal.large,.padded-right.large{padding-right:32px}.margins{margin:24px}.margins.large{margin:32px}.margin-top,.margins-vertical{margin-top:16px}.margin-top.large,.margins-vertical.large{margin-top:32px}.margin-bottom,.margins-vertical{margin-bottom:16px}.margin-bottom.large,.margins-vertical.large{margin-bottom:32px}.margin-left,.margins-horizontal{margin-left:16px}.margin-left.large,.margins-horizontal.large{margin-left:32px}.margin-right,.margins-horizontal{margin-right:16px}.margin-right.large,.margins-horizontal.large{margin-right:32px}.callout{border-left:3px solid #bbb;background-color:#eee;padding:12px}.callout:before{font-family:Material-Design-Iconic-Font;padding-right:12px;display:inline-block}.callout.success{border-left-color:#52a256;background-color:#e7f3e7;color:#376c39}.callout.success:before{content:'\f269'}.callout.danger{border-left-color:#e84f4f;background-color:#fce8e8;color:#b91818}.callout.danger:before{content:'\f1f2'}.callout.info{border-left-color:#0288d1;background-color:#d3efff;color:#015380}.callout.info:before{content:'\f1f8'}.callout.warning{border-left-color:#e27b41;background-color:#faeae0;color:#b6531c}.callout.warning:before{content:'\f1f1'}.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 .12s ease-in-out;box-shadow:0 .5px 1.5px 0 rgba(0,0,0,.21);background-color:#0288d1;color:#eee}.button-base:hover,.button:hover,input[type=button]:hover,input[type=submit]:hover{background-color:#02a2f9;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#eee}.button-base:active,.button:active,input[type=button]:active,input[type=submit]:active{background-color:#026ea9}.button-base:focus,.button:focus,input[type=button]:focus,input[type=submit]:focus{background-color:#0295e5;box-shadow:0 0 4px 1px #ccc;text-decoration:none;color:#eee}.button.pos,input[type=button].pos,input[type=submit].pos{background-color:#52a256;color:#eee}.button.pos:hover,input[type=button].pos:hover,input[type=submit].pos:hover{background-color:#69b36d;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#eee}.button.pos:active,input[type=button].pos:active,input[type=submit].pos:active{background-color:#448748}.button.pos:focus,input[type=button].pos:focus,input[type=submit].pos:focus{background-color:#5cac60;box-shadow:0 0 4px 1px #ccc;text-decoration:none;color:#eee}.button.neg,input[type=button].neg,input[type=submit].neg{background-color:#e84f4f;color:#eee}.button.neg:hover,input[type=button].neg:hover,input[type=submit].neg:hover{background-color:#ed7373;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#eee}.button.neg:active,input[type=button].neg:active,input[type=submit].neg:active{background-color:#e32b2b}.button.neg:focus,input[type=button].neg:focus,input[type=submit].neg:focus{background-color:#ea6161;box-shadow:0 0 4px 1px #ccc;text-decoration:none;color:#eee}.button.secondary,input[type=button].secondary,input[type=submit].secondary{background-color:#e27b41;color:#eee}.button.secondary:hover,input[type=button].secondary:hover,input[type=submit].secondary:hover{background-color:#e79464;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#eee}.button.secondary:active,input[type=button].secondary:active,input[type=submit].secondary:active{background-color:#d96321}.button.secondary:focus,input[type=button].secondary:focus,input[type=submit].secondary:focus{background-color:#e58753;box-shadow:0 0 4px 1px #ccc;text-decoration:none;color:#eee}.button.muted,input[type=button].muted,input[type=submit].muted{background-color:#888;color:#eee}.button.muted:hover,input[type=button].muted:hover,input[type=submit].muted:hover{background-color:#9c9c9c;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#eee}.button.muted:active,input[type=button].muted:active,input[type=submit].muted:active{background-color:#747474}.button.muted:focus,input[type=button].muted:focus,input[type=submit].muted:focus{background-color:#929292;box-shadow:0 0 4px 1px #ccc;text-decoration:none;color:#eee}.text-button{background-color:transparent;padding:0;margin:0;border:none}.text-button:active,.text-button:focus{outline:0}.text-button:hover{text-decoration:none}.text-button.neg{color:#e84f4f}.button-group:after{display:block;content:'';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=email],input[type=number],input[type=password],input[type=search],input[type=text],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=email],input.invalid[type=number],input.invalid[type=password],input.invalid[type=search],input.invalid[type=text],input.invalid[type=url],input.neg[type=email],input.neg[type=number],input.neg[type=password],input.neg[type=search],input.neg[type=text],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=email],input.pos[type=number],input.pos[type=password],input.pos[type=search],input.pos[type=text],input.pos[type=url],input.valid[type=email],input.valid[type=number],input.valid[type=password],input.valid[type=search],input.valid[type=text],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=email],input.disabled[type=number],input.disabled[type=password],input.disabled[type=search],input.disabled[type=text],input.disabled[type=url],input[disabled][type=email],input[disabled][type=number],input[disabled][type=password],input[disabled][type=search],input[disabled][type=text],input[disabled][type=url],select.disabled,select[disabled],textarea.disabled,textarea[disabled]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAMUlEQVQIW2NkwAGuXbv2nxGbHEhCS0uLEUMSJgHShCKJLIEiiS4Bl8QmAZbEJQGSBAC62BuJ+tt7zgAAAABJRU5ErkJggg==)}.input-base:focus,input[type=email]:focus,input[type=number]:focus,input[type=password]:focus,input[type=search]:focus,input[type=text]:focus,input[type=url]:focus,select:focus,textarea:focus{outline:0}#html-editor{display:none}#markdown-editor{position:relative;z-index:5}#markdown-editor textarea{font-family:Roboto Mono;font-style:normal;font-weight:400;padding:6px 16px;color:#444;border-radius:0;max-height:100%;-ms-flex:1;flex:1;border:0;width:100%}#markdown-editor textarea:focus{outline:0}#markdown-editor .markdown-display,#markdown-editor .markdown-editor-wrap{-ms-flex:1;flex:1;position:relative}#markdown-editor .markdown-editor-wrap{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;border:1px solid #ddd}#markdown-editor .markdown-display{padding:0 16px;margin-left:-1px;overflow-y:scroll}#markdown-editor .markdown-display .page-content{margin:0 auto}.editor-toolbar{width:100%;padding:6px 16px;font-family:Roboto Mono;font-size:11px;line-height:1.6;border-bottom:1px solid #ddd;background-color:#eee;-ms-flex:none;flex:none}.editor-toolbar:after{content:'';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}label.inline{display:inline-block}label.checkbox,label.radio{font-weight:400}label.checkbox input[type=checkbox],label.checkbox input[type=radio],label.radio input[type=checkbox],label.radio input[type=radio]{margin-right:6px}label+p.small{margin-bottom:.8em}.toggle-switch{display:inline-block;background-color:#bbb;width:36px;height:14px;border-radius:7px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.toggle-switch,.toggle-switch:after{position:relative;transition:all .12s ease-in-out}.toggle-switch:after{content:'';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 textarea{display:block;width:100%;min-height:64px}.form-group .text-neg,.form-group .text-pos{padding:6px 0}.description-input textarea,.inline-input-style,.title-input input[type=text]{border:2px dotted #bbb;display:block;width:100%;padding:6px 12px}.title-input .input{width:100%}.description-input label,.title-input label{margin-top:16px;color:#666}.title-input input[type=text]{margin-top:0;padding-right:0;width:100%;color:#444}.title-input.page-title{font-size:.8em}.title-input.page-title .input{border:0;margin-bottom:-1px}.title-input.page-title input[type=text]{max-width:840px;margin:0 auto;border:none}.page-title input{display:block;width:100%;font-size:1.4em}.description-input textarea{font-size:15px;color:#666;width:100%}.search-box,div[editor-type=markdown] .title-input.page-title input[type=text]{max-width:100%}.search-box{position:relative}.search-box button{background-color:transparent;border:none;color:#0288d1;padding:0;margin:0;cursor:pointer;margin-left:12px}.search-box button[type=submit]{margin-left:-24px}.search-box input{padding-right:24px;width:300px;max-width:100%}input.outline{border:0;border-bottom:2px solid #ddd;border-radius:0}input.outline:active,input.outline:focus{border:0;border-bottom:2px solid #aaa;outline:0}#login-form label[for=remember]{margin:0}#login-form label.toggle-switch{margin-left:32px}.image-picker img{background-color:#bbb}div[toggle-switch]{height:18px;width:150px}table.table{width:100%}table.table tr{border-bottom:1px solid #ddd}table.table td,table.table th{text-align:left;border:none;padding:6px;vertical-align:middle}table.table th{font-weight:700}table.table tr:hover{background-color:#eee}table{max-width:100%}table thead{background-color:#f8f8f8;font-weight:500}table.no-style td{border:0;padding:0}table.list-table{margin:-6px}table.list-table td{border:0;vertical-align:middle;padding:6px}.anim.fadeIn{opacity:0;animation-name:fadeIn;animation-duration:.16s;animation-timing-function:ease-in-out;animation-fill-mode:forwards}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.anim.searchResult{opacity:0;transform:translate3d(580px,0,0);animation-name:searchResult;animation-duration:.22s;animation-fill-mode:forwards;animation-timing-function:cubic-bezier(.62,.28,.23,.99)}@keyframes searchResult{0%{opacity:0;transform:translate3d(400px,0,0)}to{opacity:1;transform:translateZ(0)}}.anim.notification{transform:translate3d(580px,0,0);animation-name:notification;animation-duration:3s;animation-timing-function:ease-in-out;animation-fill-mode:forwards}.anim.notification.stopped{animation-name:notificationStopped}@keyframes notification{0%{transform:translate3d(580px,0,0)}10%{transform:translateZ(0)}90%{transform:translateZ(0)}to{transform:translate3d(580px,0,0)}}@keyframes notificationStopped{0%{transform:translate3d(580px,0,0)}10%{transform:translateZ(0)}to{transform:translateZ(0)}}@keyframes menuIn{0%{opacity:0;transform:scale3d(0,0,1)}to{opacity:1;transform:scaleX(1)}}.anim.menuIn{transform-origin:100% 0;animation-name:menuIn;animation-duration:.12s;animation-delay:0s;animation-timing-function:cubic-bezier(.62,.28,.23,.99)}@keyframes loadingBob{0%{transform:translateZ(0)}30%{transform:translateZ(0)}50%{transform:translate3d(0,-10px,0)}70%{transform:translateZ(0)}to{transform:translateZ(0)}}@keyframes pointer{0%{transform:translate3d(0,20px,0) scale3d(0,0,0)}to{transform:translateZ(0) scaleX(1)}}.anim.pointer{transform-origin:50% 100%;animation-name:pointer;animation-duration:.18s;animation-delay:0s;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>div>.mce-tinymce.mce-container.mce-panel{margin:0 -1px}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel,.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body{-ms-flex:1 1 auto;flex:1 1 auto;display:-ms-flexbox!important;display:flex!important;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-toolbar-grp{-ms-flex:0 1 auto;flex:0 1 auto}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-edit-area{-ms-flex:1 1 auto;flex:1 1 auto;display:-ms-flexbox!important;display:flex!important;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-edit-area iframe{-ms-flex:1;flex:1}.hljs{display:block;overflow-x:auto;padding:.5em;background:#fdf6e3;color:#657b83;-webkit-text-size-adjust:none}.diff .hljs-header,.hljs-comment,.hljs-doctype,.hljs-pi,.lisp .hljs-string{color:#93a1a1}.css .hljs-tag,.hljs-addition,.hljs-keyword,.hljs-request,.hljs-status,.hljs-winutils,.method,.nginx .hljs-title{color:#859900}.hljs-command,.hljs-doctag,.hljs-hexcolor,.hljs-link_url,.hljs-number,.hljs-regexp,.hljs-rule .hljs-value,.hljs-string,.hljs-tag .hljs-value,.tex .hljs-formula{color:#2aa198}.css .hljs-function,.hljs-built_in,.hljs-chunk,.hljs-decorator,.hljs-id,.hljs-identifier,.hljs-localvars,.hljs-name,.hljs-title,.vhdl .hljs-literal{color:#268bd2}.hljs-attribute,.hljs-class .hljs-title,.hljs-constant,.hljs-link_reference,.hljs-parent,.hljs-type,.hljs-variable,.lisp .hljs-body,.smalltalk .hljs-number{color:#b58900}.css .hljs-pseudo,.diff .hljs-change,.hljs-attr_selector,.hljs-cdata,.hljs-header,.hljs-pragma,.hljs-preprocessor,.hljs-preprocessor .hljs-keyword,.hljs-shebang,.hljs-special,.hljs-subst,.hljs-symbol,.hljs-symbol .hljs-string{color:#cb4b16}.hljs-deletion,.hljs-important{color:#dc322f}.hljs-link_label{color:#6c71c4}.tex .hljs-formula{background:#eee8d5}.overlay{background-color:rgba(0,0,0,.2);z-index:95536;width:100%;height:100%;min-width:100%;min-height:100%;right:0}.image-manager-body,.overlay{position:fixed;top:0;left: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;z-index:999;display:-ms-flexbox;display:flex}.image-manager-body .title-input input[type=text],.image-manager-body h1,.image-manager-body h2,.image-manager-body h3,.title-input .image-manager-body input[type=text]{font-weight:300}#image-manager .dropzone-container{position:relative;border:3px dashed #ddd}.image-manager-bottom{position:absolute;bottom:0;right:0}.image-manager-list .image{display:block;position:relative;border-radius:0;float:left;margin:0;cursor:pointer;width:16.6666666667%;height:auto;border:1px solid #ddd;box-shadow:0 0 0 0 transparent;transition:all .16s cubic-bezier(.4,0,1,1);overflow:hidden}.image-manager-list .image.selected{transform:scale3d(.92,.92,.92);border:1px solid #444;box-shadow:0 1px 2px 0 rgba(0,0,0,.2)}.image-manager-list .image img{width:100%;max-width:100%;display:block}.image-manager-list .image .image-meta{position:absolute;width:100%;bottom:0;left:0;color:#eee;background-color:rgba(0,0,0,.4);font-size:10px;padding:3px 4px}.image-manager-list .image .image-meta span{display:block}@media screen and (max-width:1100px){.image-manager-list .image{width:25%}}@media screen and (max-width:800px){.image-manager-list .image .image-meta{display:none}}#image-manager .load-more{display:block;text-align:center;background-color:#eee;padding:12px 16px;color:#aaa;clear:both;font-size:20px;cursor:pointer;font-style:italic}.image-manager-sidebar{width:300px;height:100%;margin-left:1px;padding:0 24px;border-left:1px solid #ddd}.image-manager-close{position:absolute;top:0;right:0;margin:0;border-radius:0}.image-manager-list{overflow-y:scroll;-ms-flex:1;flex:1}.image-manager-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;height:100%;-ms-flex:1;flex:1}.image-manager-content .container{width:100%}.dz-message,.image-manager-content .full-tab{text-align:center}.dz-message{font-size:1.4em;font-style:italic;color:#aaa;cursor:pointer;padding:32px 16px;transition:all .12s ease-in-out}.dz-drag-hover .dz-message{background-color:#107ed2;color:#eee}@keyframes passing-through{0%{opacity:0;transform:translateY(40px)}30%,70%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-40px)}}@keyframes slide-in{0%{opacity:0;transform:translateY(40px)}30%{opacity:1;transform:translateY(0)}}@keyframes pulse{0%{transform:scale(1)}10%{transform:scale(1.1)}20%{transform:scale(1)}}.dropzone,.dropzone *{box-sizing:border-box}.dz-preview{position:relative;display:inline-block;vertical-align:top;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(180deg,#eee,#ddd)}.dz-preview.dz-file-preview .dz-details{opacity:1}.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}.dz-preview:hover .dz-details{opacity:1}.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 hsla(0,0%,78%,.8);background-color:hsla(0,0%,100%,.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:hsla(0,0%,100%,.4);padding:0 .4em;border-radius:3px}.dz-preview:hover .dz-image img{-webkit-filter:blur(8px);filter:blur(8px)}.dz-preview .dz-image{border-radius:4px;overflow:hidden;width:80px;height:80px;position:relative;display:block;z-index:10}.dz-preview .dz-image img{display:block}.dz-preview.dz-success .dz-success-mark{animation:passing-through 3s cubic-bezier(.77,0,.175,1)}.dz-preview.dz-error .dz-error-mark{opacity:1;animation:slide-in 3s cubic-bezier(.77,0,.175,1)}.dz-preview .dz-error-mark,.dz-preview .dz-success-mark{pointer-events:none;opacity:0;z-index:500;position:absolute;display:block;top:50%;left:50%;margin-left:-27px;margin-top:-27px}.dz-preview .dz-error-mark svg,.dz-preview .dz-success-mark svg{display:block;width:54px;height:54px}.dz-preview.dz-processing .dz-progress{opacity:1;transition:all .2s linear}.dz-preview.dz-complete .dz-progress{opacity:0;transition:opacity .4s ease-in}.dz-preview:not(.dz-processing) .dz-progress{animation:pulse 6s ease infinite}.dz-preview .dz-progress{opacity:1;z-index:1000;pointer-events:none;position:absolute;height:16px;left:50%;top:50%;margin-top:-8px;width:80px;margin-left:-40px;background:hsla(0,0%,100%,.9);transform:scale(1);border-radius:8px;overflow:hidden}.dz-preview .dz-progress .dz-upload{background:#333;background:linear-gradient(180deg,#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{content:'';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 .padded{padding:16px}header .links{display:inline-block;vertical-align:top;margin-right:32px}@media screen and (max-width:992px){header .links{margin-right:16px}}header .links a{display:inline-block;padding:24px;color:#fff}header .links a:last-child{padding-right:0}@media screen and (max-width:992px){header .links a{padding:24px 12px}}header .avatar,header .user-name{display:inline-block}header .avatar{width:30px;height:30px}header .user-name{padding-top:24px;display:inline-block;cursor:pointer}header .user-name,header .user-name>*{vertical-align:top}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}}@media screen and (max-width:992px){header{text-align:center}header .float.right{float:none}}@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;display:inline-block;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{vertical-align:top;margin-left:-24px;color:#fff;top:6px;right:4px;display:inline-block;position:absolute}form.search-box button:hover{color:#fff}.logo{display:inline-block}.logo:hover{color:#fff;text-decoration:none}.logo-text{display:inline-block;font-size:1.8em;color:#fff;font-weight:400;padding:24px 24px 24px 0;vertical-align:top;line-height:1}.logo-image{margin:16px 12px 16px 0;vertical-align:top;height:43px}.breadcrumbs span.sep{color:#aaa;padding:0 6px}.faded a,.faded button,.faded span,.faded span>div{color:#666}.faded .text-button{opacity:.5;transition:all .12s ease-in-out}.faded .text-button:hover{opacity:1;text-decoration:none}.faded span.faded-text{display:inline-block;padding:12px}.faded-small{color:#000;font-size:.9em;background-color:rgba(21,101,192,.15)}.action-buttons .text-button,.breadcrumbs .text-button{display:inline-block;padding:12px}.action-buttons .text-button:last-child,.breadcrumbs .text-button:last-child{padding-right:0}.action-buttons{text-align:right}.action-buttons.text-left{text-align:left}.action-buttons.text-left .text-button{padding-right:16px;padding-left:0}.action-buttons.text-center,.nav-tabs{text-align:center}.nav-tabs .tab-item,.nav-tabs a{padding:16px;display:inline-block;color:#666;cursor:pointer}.nav-tabs .tab-item.selected,.nav-tabs a.selected{border-bottom:2px solid #0288d1}.page-list h3{margin:24px 0 6px;font-size:1.666em}.page-list a.chapter{color:#ef7c3c}.page-list .inset-list{display:none;overflow:hidden;margin-bottom:24px}.page-list h4{display:block;margin:12px 0 0;border-left:5px solid #0288d1;padding:6px 0 6px 16px}.page-list h4.draft{border-left-color:#9a60da}.page-list hr{margin-top:0}.page-list .book,.page-list .chapter,.page-list .page{padding-left:24px}.page-list .page{border-left:5px solid #0288d1}.page-list .page.draft{border-left:5px solid #9a60da}.page-list .page.draft .text-page{color:#9a60da}.page-list .chapter{border-left:5px solid #ef7c3c}.page-list .book{border-left:5px solid #009688}.page-list .meta{margin-top:-16px;font-size:.95em}.page-list .meta span{margin-right:12px}.chapter-toggle{cursor:pointer;margin:0 0 24px;transition:all .18s ease-in-out;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.chapter-toggle i.zmdi-caret-right{transition:all .18s ease-in-out;transform:rotate(0deg);transform-origin:25% 50%}.chapter-toggle.open{margin-bottom:0}.chapter-toggle.open i.zmdi-caret-right{transform:rotate(90deg)}.page-nav-list{margin-left:2px;list-style:none}.page-nav-list li{padding-left:6px;border-left:2px solid #888;margin-bottom:4px}.page-nav-list li a{color:#555}.page-nav-list .nav-H2{margin-left:12px;font-size:.95em}.page-nav-list .nav-H3{margin-left:24px;font-size:.9em}.page-nav-list .nav-H4{margin-left:36px;font-size:.85em}.page-nav-list .nav-H5{margin-left:48px;font-size:.8em}.page-nav-list .nav-H6{margin-left:60px;font-size:.75em}.book-tree{padding:24px 0 0;position:relative;right:0;top:0;transition:.24s ease-in-out;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:hover{text-decoration:none}.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{float:left}.activity-list-item .left+.right{margin-left:42px}ul.pagination{display:inline-block;list-style:none;margin:16px 0;padding-left:1px}ul.pagination li{float:left}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}.compact ul.pagination{margin:0}.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>p.empty-text{display:block;font-size:15px}.entity-list.compact hr{margin:0}.dropdown-container{display:inline-block;vertical-align:top;position:relative}.dropdown-container ul{display:none;position:absolute;z-index:999;top:0;list-style:none;right:0;margin:16px 0;background-color:#fff;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border-radius:1px;border:1px solid #eee;min-width:180px;padding:6px 0;color:#555;text-align:left!important}.dropdown-container ul.wide{min-width:220px}.dropdown-container ul .text-muted{color:#999}.dropdown-container ul a{display:block;padding:6px 16px;color:#555}.dropdown-container ul a:hover{text-decoration:none;background-color:#eee}.dropdown-container ul a i{margin-right:16px;padding-right:0;display:inline;width:22px}.dropdown-container ul li.border-bottom{border-bottom:1px solid #ddd}#page-show>.row .col-md-9{z-index:2}#page-show>.row .col-md-3{z-index:1}.page-editor{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}.page-editor .faded-small{height:auto}.page-editor .edit-area{-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column}.page-style.editor{padding:0!important}.page-content{max-width:840px;overflow-wrap:break-word}.page-content .align-left{text-align:left}.page-content img.align-left,.page-content table.align-left{float:left!important;margin:6px 12px 6px 0}.page-content .align-right{float:right!important}.page-content img.align-right,.page-content table.align-right{text-align:right;margin:6px 0 6px 12px}.page-content .align-center{text-align:center}.page-content img{max-width:100%;height:auto}.page-content .title-input input[type=text],.page-content h1,.page-content h2,.page-content h3,.page-content h4,.page-content h5,.page-content h6,.page-content pre,.title-input .page-content input[type=text]{clear:left}.page-content hr{clear:both;margin:16px 0}.page-content table{word-break:break-all;word-break:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto}.pointer-container{position:relative;display:none;left:0;z-index:10}.pointer{border:1px solid #ccc;display:inline-block;padding:12px;border-radius:4px;box-shadow:0 0 8px 1px hsla(0,3%,83%,.35);top:-60px;width:272px;z-index:55}.pointer,.pointer:before{position:absolute;background-color:#fff}.pointer:before{left:50%;bottom:-9px;width:16px;height:16px;margin-left:-8px;content:'';display:block;transform:rotate(45deg);transform-origin:50% 50%;border-bottom:1px solid #ccc;border-right:1px solid #ccc;z-index:56}.pointer input{background-color:#fff;border:1px solid #ddd;color:#666;width:172px;z-index:40}.pointer button,.pointer input{position:relative;border-radius:0;height:28px;font-size:12px;vertical-align:top}.pointer>i{color:#888;font-size:18px;padding-top:4px}.pointer .button{line-height:1;margin:0 0 0 -4px;box-shadow:none}.floating-toolbox{background-color:#fff;border:1px solid #ddd;right:64px;z-index:99;width:48px;overflow:hidden;-ms-flex-align:stretch;align-items:stretch;-ms-flex-direction:row;flex-direction:row;display:-ms-flexbox;display:flex;transition:width .18s ease-in-out;margin-top:-1px;min-height:0}.floating-toolbox.open{width:480px}.floating-toolbox [toolbox-toggle] i{transition:transform .18s ease-in-out}.floating-toolbox [toolbox-toggle]{transition:background-color .18s ease-in-out}.floating-toolbox.open [toolbox-toggle]{background-color:rgba(255,0,0,.29)}.floating-toolbox.open [toolbox-toggle] i{transform:rotate(180deg)}.floating-toolbox>div{-ms-flex:1;flex:1;position:relative}.floating-toolbox .tabs{display:block;border-right:1px solid #ddd;width:48px;-ms-flex:0 1 auto;flex:0 1 auto}.floating-toolbox .tabs i{color:rgba(0,0,0,.5);padding:0;margin:0}.floating-toolbox .tabs>span{display:block;cursor:pointer;padding:12px 16px;font-size:13.5px;line-height:1.6;border-bottom:1px solid hsla(0,0%,100%,.3)}.floating-toolbox.open .tabs>span.active{color:#444;background-color:rgba(0,0,0,.1)}.floating-toolbox div[tab-content]{padding-bottom:45px;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;min-height:0;overflow-y:scroll}.floating-toolbox div[tab-content] .padded{-ms-flex:1;flex:1;padding-top:0}.floating-toolbox h4{font-size:24px;margin:16px 0 0;padding:0 24px 12px}.floating-toolbox .tags input{max-width:100%;width:100%;min-width:50px}.floating-toolbox .tags td{padding-right:12px;padding-top:12px;position:relative}.floating-toolbox button.pos{position:absolute;bottom:0;display:block;width:100%;padding:12px;height:45px;border:0;margin:0;box-shadow:none;border-radius:0}.floating-toolbox button.pos:hover{box-shadow:none}.floating-toolbox .handle{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:move;color:#999}.floating-toolbox form{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;overflow-y:scroll}[tab-content]{display:none}.tag-display{margin:32px 6px;border:1px solid #ddd;min-width:180px;max-width:320px;opacity:.7;z-index:5;position:relative}.tag-display table{width:100%;margin:0;padding:0}.tag-display .heading th{padding:6px 12px;color:#333;font-weight:400}.tag-display td{border:0;border-bottom:1px solid #ddd;padding:6px 12px;color:#444}.tag-display .tag-value{color:#888}.tag-display tr:last-child td{border-bottom:none}.tag-display .tag{padding:12px}.suggestion-box{position:absolute;background-color:#fff;border:1px solid #bbb;box-shadow:0 0 4px 1px #ccc;list-style:none;z-index:100;padding:0;margin:0;border-radius:3px}.suggestion-box li{display:block;padding:6px 12px;border-bottom:1px solid #ddd}.suggestion-box li:last-child{border-bottom:0}.suggestion-box li.active{background-color:#eee}[v-cloak],[v-show]{display:none}.ng-cloak,[ng-cloak],[ng\:cloak]{display:none!important;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}[ng-click]{cursor:pointer}.dragged{position:absolute;opacity:.5;z-index:2000}body.dragging,body.dragging *{cursor:move!important}.avatar{border-radius:100%;background-color:#eee;width:30px;height:30px}.avatar.med{width:40px;height:40px}.avatar.large{width:80px;height:80px}.avatar.huge{width:120px;height:120px}.avatar.square,.notification{border-radius:3px}.notification{position:fixed;top:0;right:0;margin:64px 32px;padding:24px 32px;background-color:#eee;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);z-index:999999;display:table;cursor:pointer;max-width:480px}.notification i,.notification span{display:table-cell}.notification i{font-size:2em;padding-right:24px}.notification span{vertical-align:middle}.notification.pos{background-color:#52a256;color:#eee}.notification.neg{background-color:#e84f4f;color:#eee}.notification.warning{background-color:#e27b41;color:#eee}.loading-container{position:relative;display:block;height:10px;margin:32px auto}.loading-container>div{width:10px;height:10px;border-radius:10px;display:inline-block;vertical-align:top;transform:translateZ(0);animation-name:loadingBob;animation-duration:1.4s;animation-iteration-count:infinite;animation-timing-function:cubic-bezier(.62,.28,.23,.99);margin-right:4px;background-color:#0288d1;animation-delay:.3s}.loading-container>div:first-child{left:-16px;background-color:#009688;animation-delay:0s}.loading-container>div:last-child{left:16px;background-color:#ef7c3c;animation-delay:.6s}.search-results>h3 a{font-size:.66em;color:#0288d1;padding-left:16px}.search-results>h3 a i{padding-right:12px}#back-to-top{background-color:#0288d1;position:fixed;bottom:16px;right:24px;padding:6px 12px;cursor:pointer;color:#fff;width:40px;height:40px;border-radius:40px;transition:all .18s ease-in-out;opacity:0;z-index:999;overflow:hidden}#back-to-top:hover{width:136px;opacity:1!important}#back-to-top:hover span{display:inline-block}#back-to-top .inner{width:136px}#back-to-top i{margin:0;font-size:28px;padding:0 12px 0 0}#back-to-top span{line-height:12px;position:relative;top:-5px}.contained-search-box{display:-ms-flexbox;display:flex}.contained-search-box button,.contained-search-box input{border-radius:0;border:1px solid #ddd;margin-left:-1px}.contained-search-box input{-ms-flex:5;flex:5}.contained-search-box input:active,.contained-search-box input:focus{outline:0}.contained-search-box button{width:60px}.contained-search-box button i{padding:0}.contained-search-box button.cancel.active{background-color:#e84f4f;color:#eee}.entity-selector{border:1px solid #ddd;border-radius:3px;overflow:hidden;font-size:.8em}.entity-selector input[type=text]{width:100%;display:block;border-radius:0;border:0;border-bottom:1px solid #ddd;font-size:16px;padding:12px 16px}.entity-selector .entity-list{overflow-y:scroll;height:400px;background-color:#eee}.entity-selector .loading{height:400px;padding-top:24px}.entity-selector .entity-list>p{text-align:center;padding-top:24px;font-size:1.333em}.entity-selector .entity-list>div{padding-left:16px;padding-right:16px;background-color:#fff;transition:all .12s ease-in-out;cursor:pointer}.entity-list-item.selected a,.entity-list-item.selected h3,.entity-list-item.selected i,.entity-list-item.selected p,.entity-list-item.selected span{color:#eee} \ No newline at end of file +.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-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:'';content:none}table{border-collapse:collapse;border-spacing:0}@font-face{font-family:Roboto;font-style:normal;font-weight:100;src:local("Roboto Thin"),local("Roboto-Thin"),url(../fonts/roboto-v15-cyrillic_latin-100.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-100.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:100;src:local("Roboto Thin Italic"),local("Roboto-ThinItalic"),url(../fonts/roboto-v15-cyrillic_latin-100italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-100italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:300;src:local("Roboto Light"),local("Roboto-Light"),url(../fonts/roboto-v15-cyrillic_latin-300.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-300.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:300;src:local("Roboto Light Italic"),local("Roboto-LightItalic"),url(../fonts/roboto-v15-cyrillic_latin-300italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-300italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:local("Roboto"),local("Roboto-Regular"),url(../fonts/roboto-v15-cyrillic_latin-regular.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-regular.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:400;src:local("Roboto Italic"),local("Roboto-Italic"),url(../fonts/roboto-v15-cyrillic_latin-italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:500;src:local("Roboto Medium"),local("Roboto-Medium"),url(../fonts/roboto-v15-cyrillic_latin-500.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-500.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:500;src:local("Roboto Medium Italic"),local("Roboto-MediumItalic"),url(../fonts/roboto-v15-cyrillic_latin-500italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-500italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:700;src:local("Roboto Bold"),local("Roboto-Bold"),url(../fonts/roboto-v15-cyrillic_latin-700.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-700.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:700;src:local("Roboto Bold Italic"),local("Roboto-BoldItalic"),url(../fonts/roboto-v15-cyrillic_latin-700italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-700italic.woff) format("woff")}@font-face{font-family:Roboto Mono;font-style:normal;font-weight:400;src:local("Roboto Mono"),local("RobotoMono-Regular"),url(../fonts/roboto-mono-v4-latin-regular.woff2) format("woff2"),url(../fonts/roboto-mono-v4-latin-regular.woff) format("woff")}*{box-sizing:border-box}html{background-color:#fff;height:100%;overflow-y:scroll}html.flexbox{overflow-y:hidden}body{font-family:Roboto,DejaVu Sans,Helvetica,Arial,sans-serif;font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}button{font-size:100%}table{min-width:100px}table td,table th{min-width:10px;padding:4px 6px;border:1px solid #ddd}.title-input input[type=text],h1{font-size:3.425em;line-height:1.22222222em;margin-top:.48888889em;margin-bottom:.48888889em}h2{font-size:2.8275em;line-height:1.294117647em;margin-top:.8627451em;margin-bottom:.43137255em}h3{font-size:1.75em;line-height:1.571428572em}h3,h4{margin-top:.78571429em;margin-bottom:.43137255em}h4{font-size:1em;line-height:1.375em}.title-input input[type=text],h1,h2,h3,h4{font-weight:400;position:relative;display:block;color:#555}.title-input input[type=text] .subheader,h1 .subheader,h2 .subheader,h3 .subheader,h4 .subheader{font-size:.5em;line-height:1em;color:#969696}.link,.text-button,a{color:#0288d1;cursor:pointer;text-decoration:none;transition:color 80ms ease-in-out;font-family:Roboto,DejaVu Sans,Helvetica,Arial,sans-serif;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(90deg,#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;white-space:pre;font-size:.8em;overflow:hidden;border-radius:4px;box-shadow:0 1px 2px 0 hsla(0,0%,4%,.06);border:1px solid hsla(0,0%,87%,.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}pre code{background-color:transparent;border:0;font-size:1em}.text-pos,.text-pos:hover,p.pos,p .pos,p.pos:hover,p .pos:hover,span.pos,span.pos:hover{color:#52a256}.text-neg,.text-neg:hover,p.neg,p .neg,p.neg:hover,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,p.primary:hover,p .primary:hover,span.primary,span.primary:hover{color:#0288d1}.text-secondary,.text-secondary:hover,p.secondary,p .secondary,p.secondary:hover,p .secondary:hover,span.secondary,span.secondary:hover{color:#e27b41}.text-book,.text-book:hover{color:#009688}.text-page,.text-page:hover{color:#0288d1}.text-page.draft,.text-page.draft:hover{color:#9a60da}.text-chapter,.text-chapter:hover{color:#ef7c3c}.faded .text-book:hover{color:#009688!important}.faded .text-chapter:hover{color:#ef7c3c!important}.faded .text-page:hover{color:#0288d1!important}span.highlight{font-weight:700;padding:2px 4px}ul{list-style:disc}ol,ul{padding-left:20.8px;overflow:hidden}ol{list-style:decimal}.underlined{text-decoration:underline}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-bigger{font-size:1.1em}.text-large{font-size:1.6666em}.no-color{color:inherit}.header-group{margin:16px 0}.header-group .title-input input[type=text],.header-group h1,.header-group h2,.header-group h3,.header-group h4,.header-group h5,.header-group h6,.title-input .header-group input[type=text]{margin:0}span.sep{color:#bbb;padding:0 6px}.list>*{display:block}.action-header .title-input input[type=text],.action-header h1,.title-input .action-header input[type=text]{margin-top:16px}i{padding-right:6px}body.flexbox{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;height:100%;min-height:100%;max-height:100%;overflow:hidden}body.flexbox #content{-ms-flex:1;flex:1}.flex-fill,body.flexbox #content{display:-ms-flexbox;display:flex;min-height:0}.flex-fill{-ms-flex-align:stretch;align-items:stretch}.flex-fill.flex,.flex-fill .flex{min-height:0;-ms-flex:1;flex:1}.flex-child>div{-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.medium{max-width:992px}.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-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12,.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12,.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12,.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{position:relative;min-height:1px;padding-left:16px;padding-right:16px}.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{float:left}.col-xs-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-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12{float:left}.col-sm-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-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12{float:left}.col-md-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-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.row:after,.row:before{content:" ";display:table}.clearfix:after,.container-fluid:after,.container:after,.row:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.shaded{background-color:#f1f1f1}.shaded.pos{background-color:#d6ead7}.shaded.neg{background-color:#f4a9a9}.shaded.primary{background-color:#a1ddfe}.shaded.secondary{background-color:#f6d7c6}.bordered{border:1px solid #bbb}.bordered.pos{border-color:#52a256}.bordered.neg{border-color:#e84f4f}.bordered.primary{border-color:#0288d1}.bordered.secondary{border-color:#e27b41}.bordered.thick{border-width:2px}.rounded{border-radius:3px}.nopadding{padding:0}.padded{padding:24px}.padded.large{padding:32px}.padded>h1:first-child,.padded>h2:first-child,.padded>h3:first-child,.padded>h4:first-child,.title-input .padded>input[type=text]:first-child{margin-top:.1em}.padded-top,.padded-vertical{padding-top:16px}.padded-top.large,.padded-vertical.large{padding-top:32px}.padded-bottom,.padded-vertical{padding-bottom:16px}.padded-bottom.large,.padded-vertical.large{padding-bottom:32px}.padded-horizontal,.padded-left{padding-left:16px}.padded-horizontal.large,.padded-left.large{padding-left:32px}.padded-horizontal,.padded-right{padding-right:16px}.padded-horizontal.large,.padded-right.large{padding-right:32px}.margins{margin:24px}.margins.large{margin:32px}.margin-top,.margins-vertical{margin-top:16px}.margin-top.large,.margins-vertical.large{margin-top:32px}.margin-bottom,.margins-vertical{margin-bottom:16px}.margin-bottom.large,.margins-vertical.large{margin-bottom:32px}.margin-left,.margins-horizontal{margin-left:16px}.margin-left.large,.margins-horizontal.large{margin-left:32px}.margin-right,.margins-horizontal{margin-right:16px}.margin-right.large,.margins-horizontal.large{margin-right:32px}.callout{border-left:3px solid #bbb;background-color:#eee;padding:12px}.callout:before{font-family:Material-Design-Iconic-Font;padding-right:12px;display:inline-block}.callout.success{border-left-color:#52a256;background-color:#e7f3e7;color:#376c39}.callout.success:before{content:'\f269'}.callout.danger{border-left-color:#e84f4f;background-color:#fce8e8;color:#b91818}.callout.danger:before{content:'\f1f2'}.callout.info{border-left-color:#0288d1;background-color:#d3efff;color:#015380}.callout.info:before{content:'\f1f8'}.callout.warning{border-left-color:#e27b41;background-color:#faeae0;color:#b6531c}.callout.warning:before{content:'\f1f1'}.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 .12s ease-in-out;box-shadow:0 .5px 1.5px 0 rgba(0,0,0,.21);background-color:#0288d1;color:#eee}.button-base:hover,.button:hover,input[type=button]:hover,input[type=submit]:hover{background-color:#02a2f9;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#eee}.button-base:active,.button:active,input[type=button]:active,input[type=submit]:active{background-color:#026ea9}.button-base:focus,.button:focus,input[type=button]:focus,input[type=submit]:focus{background-color:#0295e5;box-shadow:0 0 4px 1px #ccc;text-decoration:none;color:#eee}.button.pos,input[type=button].pos,input[type=submit].pos{background-color:#52a256;color:#eee}.button.pos:hover,input[type=button].pos:hover,input[type=submit].pos:hover{background-color:#69b36d;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#eee}.button.pos:active,input[type=button].pos:active,input[type=submit].pos:active{background-color:#448748}.button.pos:focus,input[type=button].pos:focus,input[type=submit].pos:focus{background-color:#5cac60;box-shadow:0 0 4px 1px #ccc;text-decoration:none;color:#eee}.button.neg,input[type=button].neg,input[type=submit].neg{background-color:#e84f4f;color:#eee}.button.neg:hover,input[type=button].neg:hover,input[type=submit].neg:hover{background-color:#ed7373;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#eee}.button.neg:active,input[type=button].neg:active,input[type=submit].neg:active{background-color:#e32b2b}.button.neg:focus,input[type=button].neg:focus,input[type=submit].neg:focus{background-color:#ea6161;box-shadow:0 0 4px 1px #ccc;text-decoration:none;color:#eee}.button.secondary,input[type=button].secondary,input[type=submit].secondary{background-color:#e27b41;color:#eee}.button.secondary:hover,input[type=button].secondary:hover,input[type=submit].secondary:hover{background-color:#e79464;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#eee}.button.secondary:active,input[type=button].secondary:active,input[type=submit].secondary:active{background-color:#d96321}.button.secondary:focus,input[type=button].secondary:focus,input[type=submit].secondary:focus{background-color:#e58753;box-shadow:0 0 4px 1px #ccc;text-decoration:none;color:#eee}.button.muted,input[type=button].muted,input[type=submit].muted{background-color:#888;color:#eee}.button.muted:hover,input[type=button].muted:hover,input[type=submit].muted:hover{background-color:#9c9c9c;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#eee}.button.muted:active,input[type=button].muted:active,input[type=submit].muted:active{background-color:#747474}.button.muted:focus,input[type=button].muted:focus,input[type=submit].muted:focus{background-color:#929292;box-shadow:0 0 4px 1px #ccc;text-decoration:none;color:#eee}.text-button{background-color:transparent;padding:0;margin:0;border:none}.text-button:active,.text-button:focus{outline:0}.text-button:hover{text-decoration:none}.text-button.neg{color:#e84f4f}.button-group:after{display:block;content:'';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}.button[disabled],.button[disabled]:hover{background-color:#bbb;cursor:default}.button[disabled]:hover{box-shadow:none}.input-base,input[type=email],input[type=number],input[type=password],input[type=search],input[type=text],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=email],input.invalid[type=number],input.invalid[type=password],input.invalid[type=search],input.invalid[type=text],input.invalid[type=url],input.neg[type=email],input.neg[type=number],input.neg[type=password],input.neg[type=search],input.neg[type=text],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=email],input.pos[type=number],input.pos[type=password],input.pos[type=search],input.pos[type=text],input.pos[type=url],input.valid[type=email],input.valid[type=number],input.valid[type=password],input.valid[type=search],input.valid[type=text],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=email],input.disabled[type=number],input.disabled[type=password],input.disabled[type=search],input.disabled[type=text],input.disabled[type=url],input[disabled][type=email],input[disabled][type=number],input[disabled][type=password],input[disabled][type=search],input[disabled][type=text],input[disabled][type=url],select.disabled,select[disabled],textarea.disabled,textarea[disabled]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAMUlEQVQIW2NkwAGuXbv2nxGbHEhCS0uLEUMSJgHShCKJLIEiiS4Bl8QmAZbEJQGSBAC62BuJ+tt7zgAAAABJRU5ErkJggg==)}.input-base:focus,input[type=email]:focus,input[type=number]:focus,input[type=password]:focus,input[type=search]:focus,input[type=text]:focus,input[type=url]:focus,select:focus,textarea:focus{outline:0}#html-editor{display:none}#markdown-editor{position:relative;z-index:5}#markdown-editor textarea{font-family:Roboto Mono;font-style:normal;font-weight:400;padding:6px 16px;color:#444;border-radius:0;max-height:100%;-ms-flex:1;flex:1;border:0;width:100%}#markdown-editor textarea:focus{outline:0}#markdown-editor .markdown-display,#markdown-editor .markdown-editor-wrap{-ms-flex:1;flex:1;position:relative}#markdown-editor .markdown-editor-wrap{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;border:1px solid #ddd}#markdown-editor .markdown-display{padding:0 16px;margin-left:-1px;overflow-y:scroll}#markdown-editor .markdown-display .page-content{margin:0 auto}.editor-toolbar{width:100%;padding:6px 16px;font-family:Roboto Mono;font-size:11px;line-height:1.6;border-bottom:1px solid #ddd;background-color:#eee;-ms-flex:none;flex:none}.editor-toolbar:after{content:'';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}label.inline{display:inline-block}label.checkbox,label.radio{font-weight:400}label.checkbox input[type=checkbox],label.checkbox input[type=radio],label.radio input[type=checkbox],label.radio input[type=radio]{margin-right:6px}label+p.small{margin-bottom:.8em}.toggle-switch{display:inline-block;background-color:#bbb;width:36px;height:14px;border-radius:7px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.toggle-switch,.toggle-switch:after{position:relative;transition:all .12s ease-in-out}.toggle-switch:after{content:'';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 textarea{display:block;width:100%;min-height:64px}.form-group .text-neg,.form-group .text-pos{padding:6px 0}.description-input textarea,.inline-input-style,.title-input input[type=text]{border:2px dotted #bbb;display:block;width:100%;padding:6px 12px}.title-input .input{width:100%}.description-input label,.title-input label{margin-top:16px;color:#666}.title-input input[type=text]{margin-top:0;padding-right:0;width:100%;color:#444}.title-input.page-title{font-size:.8em}.title-input.page-title .input{border:0;margin-bottom:-1px}.title-input.page-title input[type=text]{max-width:840px;margin:0 auto;border:none}.page-title input{display:block;width:100%;font-size:1.4em}.description-input textarea{font-size:15px;color:#666;width:100%}.search-box,div[editor-type=markdown] .title-input.page-title input[type=text]{max-width:100%}.search-box{position:relative}.search-box button{background-color:transparent;border:none;color:#0288d1;padding:0;margin:0;cursor:pointer;margin-left:12px}.search-box button[type=submit]{margin-left:-24px}.search-box input{padding-right:24px;width:300px;max-width:100%}input.outline{border:0;border-bottom:2px solid #ddd;border-radius:0}input.outline:active,input.outline:focus{border:0;border-bottom:2px solid #aaa;outline:0}#login-form label[for=remember]{margin:0}#login-form label.toggle-switch{margin-left:32px}.image-picker img{background-color:#bbb}div[toggle-switch]{height:18px;width:150px}table.table{width:100%}table.table tr{border-bottom:1px solid #ddd}table.table td,table.table th{text-align:left;border:none;padding:6px;vertical-align:middle}table.table th{font-weight:700}table.table tr:hover{background-color:#eee}table{max-width:100%}table thead{background-color:#f8f8f8;font-weight:500}table.no-style td{border:0;padding:0}table.list-table{margin:-6px}table.list-table td{border:0;vertical-align:middle;padding:6px}.anim.fadeIn{opacity:0;animation-name:fadeIn;animation-duration:.16s;animation-timing-function:ease-in-out;animation-fill-mode:forwards}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.anim.searchResult{opacity:0;transform:translate3d(580px,0,0);animation-name:searchResult;animation-duration:.22s;animation-fill-mode:forwards;animation-timing-function:cubic-bezier(.62,.28,.23,.99)}@keyframes searchResult{0%{opacity:0;transform:translate3d(400px,0,0)}to{opacity:1;transform:translateZ(0)}}.anim.notification{transform:translate3d(580px,0,0);animation-name:notification;animation-duration:3s;animation-timing-function:ease-in-out;animation-fill-mode:forwards}.anim.notification.stopped{animation-name:notificationStopped}@keyframes notification{0%{transform:translate3d(580px,0,0)}10%{transform:translateZ(0)}90%{transform:translateZ(0)}to{transform:translate3d(580px,0,0)}}@keyframes notificationStopped{0%{transform:translate3d(580px,0,0)}10%{transform:translateZ(0)}to{transform:translateZ(0)}}@keyframes menuIn{0%{opacity:0;transform:scale3d(0,0,1)}to{opacity:1;transform:scaleX(1)}}.anim.menuIn{transform-origin:100% 0;animation-name:menuIn;animation-duration:.12s;animation-delay:0s;animation-timing-function:cubic-bezier(.62,.28,.23,.99)}@keyframes loadingBob{0%{transform:translateZ(0)}30%{transform:translateZ(0)}50%{transform:translate3d(0,-10px,0)}70%{transform:translateZ(0)}to{transform:translateZ(0)}}@keyframes pointer{0%{transform:translate3d(0,20px,0) scale3d(0,0,0)}to{transform:translateZ(0) scaleX(1)}}.anim.pointer{transform-origin:50% 100%;animation-name:pointer;animation-duration:.18s;animation-delay:0s;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>div>.mce-tinymce.mce-container.mce-panel{margin:0 -1px}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel,.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body{-ms-flex:1 1 auto;flex:1 1 auto;display:-ms-flexbox!important;display:flex!important;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-toolbar-grp{-ms-flex:0 1 auto;flex:0 1 auto}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-edit-area{-ms-flex:1 1 auto;flex:1 1 auto;display:-ms-flexbox!important;display:flex!important;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-edit-area iframe{-ms-flex:1;flex:1}.hljs{display:block;overflow-x:auto;padding:.5em;background:#fdf6e3;color:#657b83;-webkit-text-size-adjust:none}.diff .hljs-header,.hljs-comment,.hljs-doctype,.hljs-pi,.lisp .hljs-string{color:#93a1a1}.css .hljs-tag,.hljs-addition,.hljs-keyword,.hljs-request,.hljs-status,.hljs-winutils,.method,.nginx .hljs-title{color:#859900}.hljs-command,.hljs-doctag,.hljs-hexcolor,.hljs-link_url,.hljs-number,.hljs-regexp,.hljs-rule .hljs-value,.hljs-string,.hljs-tag .hljs-value,.tex .hljs-formula{color:#2aa198}.css .hljs-function,.hljs-built_in,.hljs-chunk,.hljs-decorator,.hljs-id,.hljs-identifier,.hljs-localvars,.hljs-name,.hljs-title,.vhdl .hljs-literal{color:#268bd2}.hljs-attribute,.hljs-class .hljs-title,.hljs-constant,.hljs-link_reference,.hljs-parent,.hljs-type,.hljs-variable,.lisp .hljs-body,.smalltalk .hljs-number{color:#b58900}.css .hljs-pseudo,.diff .hljs-change,.hljs-attr_selector,.hljs-cdata,.hljs-header,.hljs-pragma,.hljs-preprocessor,.hljs-preprocessor .hljs-keyword,.hljs-shebang,.hljs-special,.hljs-subst,.hljs-symbol,.hljs-symbol .hljs-string{color:#cb4b16}.hljs-deletion,.hljs-important{color:#dc322f}.hljs-link_label{color:#6c71c4}.tex .hljs-formula{background:#eee8d5}.overlay{background-color:rgba(0,0,0,.333);position:fixed;z-index:95536;width:100%;height:100%;min-width:100%;min-height:100%;top:0;left:0;right:0;bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;display:none}.popup-body,.popup-body-wrap{display:-ms-flexbox;display:flex}.popup-body{background-color:#fff;max-height:90%;width:1200px;height:auto;margin:2% 5%;border-radius:4px;box-shadow:0 0 15px 0 rgba(0,0,0,.3);overflow:hidden;z-index:999;-ms-flex-direction:column;flex-direction:column}.popup-body.small{margin:2% auto;width:800px;max-width:90%}.popup-body:before{display:-ms-flexbox;display:flex;-ms-flex-item-align:start;align-self:flex-start}.corner-button{position:absolute;top:0;right:0;margin:0;height:40px;border-radius:0;box-shadow:none}.popup-footer,.popup-header{display:block!important;position:relative;height:40px;-ms-flex:none!important;flex:none!important}.popup-footer .popup-title,.popup-header .popup-title{color:#fff;padding:8px 16px}body.flexbox-support #entity-selector-wrap .popup-body .form-group{height:444px;min-height:444px}#entity-selector-wrap .popup-body .form-group{margin:0}.image-manager-body{min-height:70vh}#image-manager .dropzone-container{position:relative;border:3px dashed #ddd}.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 .16s cubic-bezier(.4,0,1,1);overflow:hidden}.image-manager-list .image.selected{transform:scale3d(.92,.92,.92);border:1px solid #444;box-shadow:0 1px 2px 0 rgba(0,0,0,.2)}.image-manager-list .image img{width:100%;max-width:100%;display:block}.image-manager-list .image .image-meta{position:absolute;width:100%;bottom:0;left:0;color:#eee;background-color:rgba(0,0,0,.4);font-size:10px;padding:3px 4px}.image-manager-list .image .image-meta span{display:block}@media screen and (max-width:1100px){.image-manager-list .image{width:25%}}@media screen and (max-width:800px){.image-manager-list .image .image-meta{display:none}}#image-manager .load-more{display:block;text-align:center;background-color:#eee;padding:12px 16px;color:#aaa;clear:both;font-size:20px;cursor:pointer;font-style:italic}.image-manager-sidebar{width:300px;margin-left:1px;padding:16px 24px;overflow-y:auto;border-left:1px solid #ddd}.image-manager-sidebar .dropzone-container{margin-top:16px}.image-manager-list{overflow-y:scroll;-ms-flex:1;flex:1}.image-manager-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex:1;flex:1}.image-manager-content .container{width:100%}.dz-message,.image-manager-content .full-tab{text-align:center}.dz-message{font-size:1.2em;line-height:1.1;font-style:italic;color:#aaa;cursor:pointer;padding:24px 16px;transition:all .12s ease-in-out}.dz-drag-hover .dz-message{background-color:#107ed2;color:#eee}@keyframes passing-through{0%{opacity:0;transform:translateY(40px)}30%,70%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-40px)}}@keyframes slide-in{0%{opacity:0;transform:translateY(40px)}30%{opacity:1;transform:translateY(0)}}@keyframes pulse{0%{transform:scale(1)}10%{transform:scale(1.1)}20%{transform:scale(1)}}.dropzone,.dropzone *{box-sizing:border-box}.dz-preview{position:relative;display:inline-block;vertical-align:top;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(180deg,#eee,#ddd)}.dz-preview.dz-file-preview .dz-details{opacity:1}.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}.dz-preview:hover .dz-details{opacity:1}.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 hsla(0,0%,78%,.8);background-color:hsla(0,0%,100%,.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:hsla(0,0%,100%,.4);padding:0 .4em;border-radius:3px}.dz-preview:hover .dz-image img{-webkit-filter:blur(8px);filter:blur(8px)}.dz-preview .dz-image{border-radius:4px;overflow:hidden;width:80px;height:80px;position:relative;display:block;z-index:10}.dz-preview .dz-image img{display:block}.dz-preview.dz-success .dz-success-mark{animation:passing-through 3s cubic-bezier(.77,0,.175,1)}.dz-preview.dz-error .dz-error-mark{opacity:1;animation:slide-in 3s cubic-bezier(.77,0,.175,1)}.dz-preview .dz-error-mark,.dz-preview .dz-success-mark{pointer-events:none;opacity:0;z-index:500;position:absolute;display:block;top:50%;left:50%;margin-left:-27px;margin-top:-27px}.dz-preview .dz-error-mark svg,.dz-preview .dz-success-mark svg{display:block;width:54px;height:54px}.dz-preview.dz-processing .dz-progress{opacity:1;transition:all .2s linear}.dz-preview.dz-complete .dz-progress{opacity:0;transition:opacity .4s ease-in}.dz-preview:not(.dz-processing) .dz-progress{animation:pulse 6s ease infinite}.dz-preview .dz-progress{opacity:1;z-index:1000;pointer-events:none;position:absolute;height:16px;left:50%;top:50%;margin-top:-8px;width:80px;margin-left:-40px;background:hsla(0,0%,100%,.9);transform:scale(1);border-radius:8px;overflow:hidden}.dz-preview .dz-progress .dz-upload{background:#333;background:linear-gradient(180deg,#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{content:'';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 .padded{padding:16px}header .links{display:inline-block;vertical-align:top;margin-right:32px}@media screen and (max-width:992px){header .links{margin-right:16px}}header .links a{display:inline-block;padding:24px;color:#fff}header .links a:last-child{padding-right:0}@media screen and (max-width:992px){header .links a{padding:24px 12px}}header .avatar,header .user-name{display:inline-block}header .avatar{width:30px;height:30px}header .user-name{padding-top:24px;display:inline-block;cursor:pointer}header .user-name,header .user-name>*{vertical-align:top}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}}@media screen and (max-width:992px){header{text-align:center}header .float.right{float:none}}@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;display:inline-block;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{vertical-align:top;margin-left:-24px;color:#fff;top:6px;right:4px;display:inline-block;position:absolute}form.search-box button:hover{color:#fff}.logo{display:inline-block}.logo:hover{color:#fff;text-decoration:none}.logo-text{display:inline-block;font-size:1.8em;color:#fff;font-weight:400;padding:24px 24px 24px 0;vertical-align:top;line-height:1}.logo-image{margin:16px 12px 16px 0;vertical-align:top;height:43px}.breadcrumbs span.sep{color:#aaa;padding:0 6px}.faded a,.faded button,.faded span,.faded span>div{color:#666}.faded .text-button{opacity:.5;transition:all .12s ease-in-out}.faded .text-button:hover{opacity:1;text-decoration:none}.faded span.faded-text{display:inline-block;padding:12px}.faded-small{color:#000;font-size:.9em;background-color:rgba(21,101,192,.15)}.action-buttons .text-button,.breadcrumbs .text-button{display:inline-block;padding:12px}.action-buttons .text-button:last-child,.breadcrumbs .text-button:last-child{padding-right:0}.action-buttons{text-align:right}.action-buttons.text-left{text-align:left}.action-buttons.text-left .text-button{padding-right:16px;padding-left:0}.action-buttons.text-center,.nav-tabs{text-align:center}.nav-tabs .tab-item,.nav-tabs a{padding:16px;display:inline-block;color:#666;cursor:pointer}.nav-tabs .tab-item.selected,.nav-tabs a.selected{border-bottom:2px solid #0288d1}.page-list h3{margin:24px 0 6px;font-size:1.666em}.page-list a.chapter{color:#ef7c3c}.page-list .inset-list{display:none;overflow:hidden;margin-bottom:24px}.page-list h4{display:block;margin:12px 0 0;border-left:5px solid #0288d1;padding:6px 0 6px 16px}.page-list h4.draft{border-left-color:#9a60da}.page-list hr{margin-top:0}.page-list .book,.page-list .chapter,.page-list .page{padding-left:24px}.page-list .page{border-left:5px solid #0288d1}.page-list .page.draft{border-left:5px solid #9a60da}.page-list .page.draft .text-page{color:#9a60da}.page-list .chapter{border-left:5px solid #ef7c3c}.page-list .book{border-left:5px solid #009688}.page-list .meta{margin-top:-16px;font-size:.95em}.page-list .meta span{margin-right:12px}.chapter-toggle{cursor:pointer;margin:0 0 24px;transition:all .18s ease-in-out;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.chapter-toggle i.zmdi-caret-right{transition:all .18s ease-in-out;transform:rotate(0deg);transform-origin:25% 50%}.chapter-toggle.open{margin-bottom:0}.chapter-toggle.open i.zmdi-caret-right{transform:rotate(90deg)}.page-nav-list{margin-left:2px;list-style:none}.page-nav-list li{padding-left:6px;border-left:2px solid #888;margin-bottom:4px}.page-nav-list li a{color:#555}.page-nav-list .nav-H2{margin-left:12px;font-size:.95em}.page-nav-list .nav-H3{margin-left:24px;font-size:.9em}.page-nav-list .nav-H4{margin-left:36px;font-size:.85em}.page-nav-list .nav-H5{margin-left:48px;font-size:.8em}.page-nav-list .nav-H6{margin-left:60px;font-size:.75em}.book-tree{padding:24px 0 0;position:relative;right:0;top:0;transition:.24s ease-in-out;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:hover{text-decoration:none}.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{float:left}.activity-list-item .left+.right{margin-left:42px}ul.pagination{display:inline-block;list-style:none;margin:16px 0;padding-left:1px}ul.pagination li{float:left}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}.compact ul.pagination{margin:0}.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>p.empty-text{display:block;font-size:15px}.entity-list.compact hr{margin:0}.dropdown-container{display:inline-block;vertical-align:top;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 li.padded{padding:6px 16px}.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:12px;padding-right:0;display:inline-block;width:16px}.dropdown-container ul li.border-bottom{border-bottom:1px solid #ddd}#page-show>.row .col-md-9{z-index:2}#page-show>.row .col-md-3{z-index:1}.page-editor{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}.page-editor .faded-small{height:auto}.page-editor .edit-area{-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column}.draft-notification{pointer-events:none;transform:scale(0);transition:transform .12s ease-in-out;transform-origin:50% 50%}.draft-notification.visible{transform:scale(1)}.page-style.editor{padding:0!important}.page-content{max-width:840px;overflow-wrap:break-word}.page-content .align-left{text-align:left}.page-content img.align-left,.page-content table.align-left{float:left!important;margin:6px 12px 6px 0}.page-content .align-right{float:right!important}.page-content img.align-right,.page-content table.align-right{text-align:right;margin:6px 0 6px 12px}.page-content .align-center{text-align:center}.page-content img{max-width:100%;height:auto}.page-content .title-input input[type=text],.page-content h1,.page-content h2,.page-content h3,.page-content h4,.page-content h5,.page-content h6,.page-content pre,.title-input .page-content input[type=text]{clear:left}.page-content hr{clear:both;margin:16px 0}.page-content table{word-break:break-all;word-break:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto}.pointer-container{position:relative;display:none;left:0;z-index:10}.pointer{border:1px solid #ccc;display:inline-block;padding:12px;border-radius:4px;box-shadow:0 0 8px 1px hsla(0,3%,83%,.35);top:-60px;width:272px;z-index:55}.pointer,.pointer:before{position:absolute;background-color:#fff}.pointer:before{left:50%;bottom:-9px;width:16px;height:16px;margin-left:-8px;content:'';display:block;transform:rotate(45deg);transform-origin:50% 50%;border-bottom:1px solid #ccc;border-right:1px solid #ccc;z-index:56}.pointer input{background-color:#fff;border:1px solid #ddd;color:#666;width:172px;z-index:40}.pointer button,.pointer input{position:relative;border-radius:0;height:28px;font-size:12px;vertical-align:top}.pointer>i{color:#888;font-size:18px;padding-top:4px}.pointer .button{line-height:1;margin:0 0 0 -4px;box-shadow:none}.floating-toolbox{background-color:#fff;border:1px solid #ddd;right:64px;z-index:99;width:48px;overflow:hidden;-ms-flex-align:stretch;align-items:stretch;-ms-flex-direction:row;flex-direction:row;display:-ms-flexbox;display:flex;transition:width .18s ease-in-out;margin-top:-1px;min-height:0}.floating-toolbox.open{width:480px}.floating-toolbox [toolbox-toggle] i{transition:transform .18s ease-in-out}.floating-toolbox [toolbox-toggle]{transition:background-color .18s ease-in-out}.floating-toolbox.open [toolbox-toggle]{background-color:rgba(255,0,0,.29)}.floating-toolbox.open [toolbox-toggle] i{transform:rotate(180deg)}.floating-toolbox>div{-ms-flex:1;flex:1;position:relative}.floating-toolbox .tabs{display:block;border-right:1px solid #ddd;width:48px;-ms-flex:0 1 auto;flex:0 1 auto}.floating-toolbox .tabs i{color:rgba(0,0,0,.5);padding:0;margin:0}.floating-toolbox .tabs>span{display:block;cursor:pointer;padding:12px 16px;font-size:13.5px;line-height:1.6;border-bottom:1px solid hsla(0,0%,100%,.3)}.floating-toolbox.open .tabs>span.active{color:#444;background-color:rgba(0,0,0,.1)}.floating-toolbox div[tab-content]{padding-bottom:45px;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;min-height:0;overflow-y:scroll}.floating-toolbox div[tab-content] .padded{-ms-flex:1;flex:1;padding-top:0}.floating-toolbox h4{font-size:24px;margin:16px 0 0;padding:0 24px 12px}.floating-toolbox .tags input{max-width:100%;width:100%;min-width:50px}.floating-toolbox .tags td{padding-right:12px;padding-top:12px;position:relative}.floating-toolbox button.pos{position:absolute;bottom:0;display:block;width:100%;padding:12px;height:45px;border:0;margin:0;box-shadow:none;border-radius:0}.floating-toolbox button.pos:hover{box-shadow:none}.floating-toolbox .handle{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:move;color:#999}.floating-toolbox form{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;overflow-y:scroll}[tab-content]{display:none}.tag-display{margin:32px 16px;border:1px solid #ddd;min-width:180px;max-width:320px;opacity:.7;z-index:5;position:relative}.tag-display table{width:100%;margin:0;padding:0}.tag-display .heading th{padding:6px 12px;color:#333;font-weight:400}.tag-display td{border:0;border-bottom:1px solid #ddd;padding:6px 12px;color:#444}.tag-display .tag-value{color:#888}.tag-display tr:last-child td{border-bottom:none}.tag-display .tag{padding:12px}.suggestion-box{position:absolute;background-color:#fff;border:1px solid #bbb;box-shadow:0 0 4px 1px #ccc;list-style:none;z-index:100;padding:0;margin:0;border-radius:3px}.suggestion-box li{display:block;padding:6px 12px;border-bottom:1px solid #ddd}.suggestion-box li:last-child{border-bottom:0}.suggestion-box li.active{background-color:#eee}[v-cloak],[v-show]{display:none}.ng-cloak,[ng-cloak],[ng\:cloak]{display:none!important;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}[ng-click]{cursor:pointer}.dragged{position:absolute;opacity:.5;z-index:2000}body.dragging,body.dragging *{cursor:move!important}.avatar{border-radius:100%;background-color:#eee;width:30px;height:30px}.avatar.med{width:40px;height:40px}.avatar.large{width:80px;height:80px}.avatar.huge{width:120px;height:120px}.avatar.square,.notification{border-radius:3px}.notification{position:fixed;top:0;right:0;margin:64px 32px;padding:24px 32px;background-color:#eee;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);z-index:999999;display:block;cursor:pointer;max-width:480px}.notification i,.notification span{display:table-cell}.notification i{font-size:2em;padding-right:24px}.notification span{vertical-align:middle}.notification.pos{background-color:#52a256;color:#eee}.notification.neg{background-color:#e84f4f;color:#eee}.notification.warning{background-color:#e27b41;color:#eee}.loading-container{position:relative;display:block;height:10px;margin:32px auto}.loading-container>div{width:10px;height:10px;border-radius:10px;display:inline-block;vertical-align:top;transform:translateZ(0);animation-name:loadingBob;animation-duration:1.4s;animation-iteration-count:infinite;animation-timing-function:cubic-bezier(.62,.28,.23,.99);margin-right:4px;background-color:#0288d1;animation-delay:.3s}.loading-container>div:first-child{left:-16px;background-color:#009688;animation-delay:0s}.loading-container>div:last-child{left:16px;background-color:#ef7c3c;animation-delay:.6s}.search-results>h3 a{font-size:.66em;color:#0288d1;padding-left:16px}.search-results>h3 a i{padding-right:12px}#back-to-top{background-color:#0288d1;position:fixed;bottom:16px;right:24px;padding:6px 12px;cursor:pointer;color:#fff;width:40px;height:40px;border-radius:40px;transition:all .18s ease-in-out;opacity:0;z-index:999;overflow:hidden}#back-to-top:hover{width:136px;opacity:1!important}#back-to-top:hover span{display:inline-block}#back-to-top .inner{width:136px}#back-to-top i{margin:0;font-size:28px;padding:0 12px 0 0}#back-to-top span{line-height:12px;position:relative;top:-5px}.contained-search-box{display:-ms-flexbox;display:flex}.contained-search-box button,.contained-search-box input{border-radius:0;border:1px solid #ddd;margin-left:-1px}.contained-search-box input{-ms-flex:5;flex:5}.contained-search-box input:active,.contained-search-box input:focus{outline:0}.contained-search-box button{width:60px}.contained-search-box button i{padding:0}.contained-search-box button.cancel.active{background-color:#e84f4f;color:#eee}.entity-selector{border:1px solid #ddd;border-radius:3px;overflow:hidden;font-size:.8em}.entity-selector input[type=text]{width:100%;display:block;border-radius:0;border:0;border-bottom:1px solid #ddd;font-size:16px;padding:12px 16px}.entity-selector .entity-list{overflow-y:scroll;height:400px;background-color:#eee}.entity-selector .loading{height:400px;padding-top:24px}.entity-selector .entity-list>p{text-align:center;padding-top:24px;font-size:1.333em}.entity-selector .entity-list>div{padding-left:16px;padding-right:16px;background-color:#fff;transition:all .12s ease-in-out;cursor:pointer}.entity-list-item.selected a,.entity-list-item.selected h3,.entity-list-item.selected i,.entity-list-item.selected p,.entity-list-item.selected span{color:#eee} \ No newline at end of file diff --git a/public/js/common.js b/public/js/common.js index 53afcf8cafd..25dbfccbf9f 100644 --- a/public/js/common.js +++ b/public/js/common.js @@ -8,5 +8,5 @@ return"-"===e||"+"===e||this.isNumber(e)},throwError:function(e,t,n){n=n||this.i return i},t.prototype.getRejectedFiles=function(){var e,t,n,r,i;for(r=this.files,i=[],t=0,n=r.length;t'+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;i',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;n0){for(a=["TB","GB","MB","KB","b"],n=s=0,u=a.length;s=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;n0){for(o=0,a=n.length;o1024*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;n=t)&&(r=this.getQueuedFiles(),r.length>0)){if(this.options.uploadMultiple)return this.processFiles(r.slice(0,t-n));for(;e=j;c=0<=j?++M:--M)o.append(this._getParamName(c),e[c],this._renameFilename(e[c].name));return this.submitRequest(x,o,e)},t.prototype.submitRequest=function(e,t,n){return e.send(t)},t.prototype._finished=function(e,n,r){var i,o,a;for(o=0,a=e.length;oc;)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){if("readystatechange"!==n.type||"complete"===r.readyState)return("load"===n.type?e:r)[u](s+n.type,o,!1),!i&&(i=!0)?t.call(e,n.type||n):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(){if(e.autoDiscover)return e.discover()},i(window,e._autoDiscoverFunction)}).call(this)},{}],11:[function(e,t,n){(function(e){(function(){function e(e){this.tokens=[],this.tokens.links={},this.options=e||f.defaults,this.rules=d.normal,this.options.gfm&&(this.options.tables?this.rules=d.tables:this.rules=d.gfm)}function r(e,t){if(this.options=t||f.defaults,this.links=e,this.rules=h.normal,this.renderer=this.options.renderer||new i,this.renderer.options=this.options,!this.links)throw new Error("Tokens array requires a `links` property.");this.options.gfm?this.options.breaks?this.rules=h.breaks:this.rules=h.gfm:this.options.pedantic&&(this.rules=h.pedantic)}function i(e){this.options=e||{}}function o(e){this.tokens=[],this.token=null,this.options=e||f.defaults,this.options.renderer=this.options.renderer||new i,this.renderer=this.options.renderer,this.renderer.options=this.options}function a(e,t){return e.replace(t?/&/g:/&(?!#?\w+;)/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function s(e){return e.replace(/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\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;c1&&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;i.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 vr)r=vr[n],i=t[r],g(i)||(e[r]=i);return e}function $(e){v(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),$r===!1&&($r=!0,n.updateOffset(this),$r=!1)}function y(e){return e instanceof $||null!=e&&null!=e._isAMomentObject}function b(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function w(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=b(t)),n}function x(e,t,n){var r,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(r=0;r0?"future":"past"];return _(n)?n(t):n.replace(/%s/i,t)}function P(e,t){var n=e.toLowerCase();Dr[n]=Dr[n+"s"]=Dr[t]=e}function j(e){return"string"==typeof e?Dr[e]||Dr[e.toLowerCase()]:void 0}function L(e){var t,n,r={};for(n in e)l(e,n)&&(t=j(n),t&&(r[t]=e[n]));return r}function R(e,t){Ar[e]=t}function U(e){var t=[];for(var n in e)t.push({unit:n,priority:Ar[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}function V(e,t){return function(r){return null!=r?(H(this,e,r),n.updateOffset(this,t),this):z(this,e)}}function z(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function H(e,t,n){e.isValid()&&e._d["set"+(e._isUTC?"UTC":"")+t](n)}function q(e){return e=j(e),_(this[e])?this[e]():this}function Y(e,t){if("object"==typeof e){e=L(e);for(var n=U(e),r=0;r=0;return(o?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}function B(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(Fr[e]=i),t&&(Fr[t[0]]=function(){return W(i.apply(this,arguments),t[1],t[2])}),n&&(Fr[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function G(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function Z(e){var t,n,r=e.match(Tr);for(t=0,n=r.length;t=0&&Mr.test(e);)e=e.replace(Mr,n),Mr.lastIndex=0,r-=1;return e}function X(e,t,n){Jr[e]=_(t)?t:function(e,r){return e&&n?n:t}}function K(e,t){return l(Jr,e)?Jr[e](t._strict,t._locale):new RegExp(ee(e))}function ee(e){return te(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i}))}function te(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function ne(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),"number"==typeof t&&(r=function(e,n){n[t]=w(e)}),n=0;n=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}function be(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function we(e,t,n){var r=7+t-n,i=(7+be(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 l<=0?(o=e-1,a=ge(o)+l):l>ge(e)?(o=e+1,a=l-ge(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 a<1?(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(ge(e)-r+i)/7}function Se(e){return ke(e,this._week.dow,this._week.doy).week}function _e(){return this._week.dow}function Ee(){return this._week.doy}function De(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Ae(e){var t=ke(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Te(e,t){return"string"!=typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"==typeof e?e:null):parseInt(e,10)}function Me(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Oe(e,t){return i(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]}function Fe(e){return this._weekdaysShort[e.day()]}function Ie(e){return this._weekdaysMin[e.day()]}function Ne(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=f([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?(i=wr.call(this._weekdaysParse,a),i!==-1?i:null):"ddd"===t?(i=wr.call(this._shortWeekdaysParse,a),i!==-1?i:null):(i=wr.call(this._minWeekdaysParse,a),i!==-1?i:null):"dddd"===t?(i=wr.call(this._weekdaysParse,a),i!==-1?i:(i=wr.call(this._shortWeekdaysParse,a),i!==-1?i:(i=wr.call(this._minWeekdaysParse,a),i!==-1?i:null))):"ddd"===t?(i=wr.call(this._shortWeekdaysParse,a),i!==-1?i:(i=wr.call(this._weekdaysParse,a),i!==-1?i:(i=wr.call(this._minWeekdaysParse,a),i!==-1?i:null))):(i=wr.call(this._minWeekdaysParse,a),i!==-1?i:(i=wr.call(this._weekdaysParse,a),i!==-1?i:(i=wr.call(this._shortWeekdaysParse,a),i!==-1?i:null)))}function Pe(e,t,n){var r,i,o;if(this._weekdaysParseExact)return Ne.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=f([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 je(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Te(e,this.localeData()),this.add(e-t,"d")):t}function Le(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 Re(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Me(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Ue(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||He.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(l(this,"_weekdaysRegex")||(this._weekdaysRegex=$i),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Ve(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||He.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(l(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=yi),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function ze(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||He.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(l(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=bi),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function He(){function e(e,t){return t.length-e.length}var t,n,r,i,o,a=[],s=[],u=[],l=[];for(t=0;t<7;t++)n=f([2e3,1]).day(t),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),o=this.weekdays(n,""),a.push(r),s.push(i),u.push(o),l.push(r),l.push(i),l.push(o);for(a.sort(e),s.sort(e),u.sort(e),l.sort(e),t=0;t<7;t++)s[t]=te(s[t]),u[t]=te(u[t]),l[t]=te(l[t]);this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function qe(){return this.hours()%12||12}function Ye(){return this.hours()||24}function We(e,t){B(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function Be(e,t){return t._meridiemParse}function Ge(e){return"p"===(e+"").toLowerCase().charAt(0)}function Ze(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}function Qe(e){return e?e.toLowerCase().replace("_","-"):e}function Je(e){for(var t,n,r,i,o=0;o0;){if(r=Xe(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&x(i,n,!0)>=t-1)break;t--}o++}return null}function Xe(n){var r=null;if(!Si[n]&&"undefined"!=typeof t&&t&&t.exports)try{r=wi._abbr,e("./locale/"+n),Ke(r)}catch(i){}return Si[n]}function Ke(e,t){var n;return e&&(n=g(t)?nt(e):et(e,t),n&&(wi=n)),wi._abbr}function et(e,t){if(null!==t){var n=Ci;return t.abbr=e,null!=Si[e]?(S("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=Si[e]._config):null!=t.parentLocale&&(null!=Si[t.parentLocale]?n=Si[t.parentLocale]._config:S("parentLocaleUndefined","specified parentLocale is not defined yet. See http://momentjs.com/guides/#/warnings/parent-locale/")),Si[e]=new A(D(n,t)),Ke(e),Si[e]}return delete Si[e],null}function tt(e,t){if(null!=t){var n,r=Ci;null!=Si[e]&&(r=Si[e]._config),t=D(r,t),n=new A(t),n.parentLocale=Si[e],Si[e]=n,Ke(e)}else null!=Si[e]&&(null!=Si[e].parentLocale?Si[e]=Si[e].parentLocale:null!=Si[e]&&delete Si[e]);return Si[e]}function nt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return wi;if(!i(e)){if(t=Xe(e))return t;e=[e]}return Je(e)}function rt(){return br(Si)}function it(e){var t,n=e._a;return n&&h(e).overflow===-2&&(t=n[ei]<0||n[ei]>11?ei:n[ti]<1||n[ti]>oe(n[Kr],n[ei])?ti:n[ni]<0||n[ni]>24||24===n[ni]&&(0!==n[ri]||0!==n[ii]||0!==n[oi])?ni:n[ri]<0||n[ri]>59?ri:n[ii]<0||n[ii]>59?ii:n[oi]<0||n[oi]>999?oi:-1,h(e)._overflowDayOfYear&&(tti)&&(t=ti),h(e)._overflowWeeks&&t===-1&&(t=ai),h(e)._overflowWeekday&&t===-1&&(t=si),h(e).overflow=t),e}function ot(e){var t,n,r,i,o,a,s=e._i,u=_i.exec(s)||Ei.exec(s);if(u){for(h(e).iso=!0,t=0,n=Ai.length;tge(i)&&(h(e)._overflowDayOfYear=!0),n=be(i,0,e._dayOfYear),e._a[ei]=n.getUTCMonth(),e._a[ti]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=o[t]=r[t];for(;t<7;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[ni]&&0===e._a[ri]&&0===e._a[ii]&&0===e._a[oi]&&(e._nextDay=!0,e._a[ni]=0),e._d=(e._useUTC?be:ye).apply(null,o),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[ni]=24)}}function ct(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=st(t.GG,e._a[Kr],ke(yt(),1,4).year),r=st(t.W,1),i=st(t.E,1),(i<1||i>7)&&(u=!0)):(o=e._locale._week.dow,a=e._locale._week.doy,n=st(t.gg,e._a[Kr],ke(yt(),o,a).year),r=st(t.w,1),null!=t.d?(i=t.d,(i<0||i>6)&&(u=!0)):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(u=!0)):i=o),r<1||r>Ce(n,o,a)?h(e)._overflowWeeks=!0:null!=u?h(e)._overflowWeekday=!0:(s=xe(n,r,i,o,a),e._a[Kr]=s.year,e._dayOfYear=s.dayOfYear)}function ft(e){if(e._f===n.ISO_8601)return void ot(e);e._a=[],h(e).empty=!0;var t,r,i,o,a,s=""+e._i,u=s.length,l=0;for(i=J(e._f,e._locale).match(Tr)||[],t=0;t0&&h(e).unusedInput.push(a),s=s.slice(s.indexOf(r)+r.length),l+=r.length),Fr[o]?(r?h(e).empty=!1:h(e).unusedTokens.push(o),ie(o,r,e)):e._strict&&!r&&h(e).unusedTokens.push(o);h(e).charsLeftOver=u-l,s.length>0&&h(e).unusedInput.push(s),e._a[ni]<=12&&h(e).bigHour===!0&&e._a[ni]>0&&(h(e).bigHour=void 0),h(e).parsedDateParts=e._a.slice(0),h(e).meridiem=e._meridiem,e._a[ni]=dt(e._locale,e._a[ni],e._meridiem),lt(e),it(e)}function dt(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(r=e.isPM(n),r&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function ht(e){var t,n,r,i,o;if(0===e._f.length)return h(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;ithis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Pt(){if(!g(this._isDSTShifted))return this._isDSTShifted;var e={};if(v(e,this),e=gt(e),e._a){var t=e._isUTC?f(e._a):yt(e._a);this._isDSTShifted=this.isValid()&&x(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function jt(){return!!this.isValid()&&!this._isUTC}function Lt(){return!!this.isValid()&&this._isUTC}function Rt(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function Ut(e,t){var n,r,i,o=e,a=null;return Ct(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:"number"==typeof e?(o={},t?o[t]=e:o.milliseconds=e):(a=Pi.exec(e))?(n="-"===a[1]?-1:1,o={y:0,d:w(a[ti])*n,h:w(a[ni])*n,m:w(a[ri])*n,s:w(a[ii])*n,ms:w(a[oi])*n}):(a=ji.exec(e))?(n="-"===a[1]?-1:1,o={y:Vt(a[2],n),M:Vt(a[3],n),w:Vt(a[4],n),d:Vt(a[5],n),h:Vt(a[6],n),m:Vt(a[7],n),s:Vt(a[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(i=Ht(yt(o.from),yt(o.to)),o={},o.ms=i.milliseconds,o.M=i.months),r=new kt(o),Ct(e)&&l(e,"_locale")&&(r._locale=e._locale),r}function Vt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function zt(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 Ht(e,t){var n;return e.isValid()&&t.isValid()?(t=Et(t,e),e.isBefore(t)?n=zt(e,t):(n=zt(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function qt(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function Yt(e,t){return function(n,r){var i,o;return null===r||isNaN(+r)||(S(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),n="string"==typeof n?+n:n,i=Ut(n,r),Wt(this,i,e),this}}function Wt(e,t,r,i){var o=t._milliseconds,a=qt(t._days),s=qt(t._months);e.isValid()&&(i=null==i||i,o&&e._d.setTime(e._d.valueOf()+o*r),a&&H(e,"Date",z(e,"Date")+a*r),s&&ce(e,z(e,"Month")+s*r),i&&n.updateOffset(e,a||s))}function Bt(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Gt(e,t){var r=e||yt(),i=Et(r,this).startOf("day"),o=n.calendarFormat(this,i)||"sameElse",a=t&&(_(t[o])?t[o].call(this,r):t[o]);return this.format(a||this.localeData().calendar(o,this,yt(r)))}function Zt(){return new $(this)}function Qt(e,t){var n=y(e)?e:yt(e);return!(!this.isValid()||!n.isValid())&&(t=j(g(t)?"millisecond":t),"millisecond"===t?this.valueOf()>n.valueOf():n.valueOf()o&&(t=o),On.call(this,e,t,n,r,i))}function On(e,t,n,r,i){var o=xe(e,t,n,r,i),a=be(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function Fn(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function In(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 Nn(e,t){t[oi]=w(1e3*("0."+e))}function Pn(){return this._isUTC?"UTC":""}function jn(){return this._isUTC?"Coordinated Universal Time":""}function Ln(e){return yt(1e3*e)}function Rn(){return yt.apply(null,arguments).parseZone()}function Un(e){return e}function Vn(e,t,n,r){var i=nt(),o=f().set(r,t);return i[n](o,e)}function zn(e,t,n){if("number"==typeof e&&(t=e,e=void 0),e=e||"",null!=t)return Vn(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=Vn(e,r,n,"month");return i}function Hn(e,t,n,r){"boolean"==typeof e?("number"==typeof t&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,"number"==typeof t&&(n=t,t=void 0),t=t||"");var i=nt(),o=e?i._week.dow:0;if(null!=n)return Vn(t,(n+o)%7,r,"day");var a,s=[];for(a=0;a<7;a++)s[a]=Vn(t,(a+o)%7,r,"day");return s}function qn(e,t){return zn(e,t,"months")}function Yn(e,t){return zn(e,t,"monthsShort")}function Wn(e,t,n){return Hn(e,t,n,"weekdays")}function Bn(e,t,n){return Hn(e,t,n,"weekdaysShort")}function Gn(e,t,n){return Hn(e,t,n,"weekdaysMin")}function Zn(){var e=this._data;return this._milliseconds=Zi(this._milliseconds),this._days=Zi(this._days),this._months=Zi(this._months),e.milliseconds=Zi(e.milliseconds),e.seconds=Zi(e.seconds),e.minutes=Zi(e.minutes),e.hours=Zi(e.hours),e.months=Zi(e.months),e.years=Zi(e.years),this}function Qn(e,t,n,r){var i=Ut(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function Jn(e,t){return Qn(this,e,t,1)}function Xn(e,t){return Qn(this,e,t,-1)}function Kn(e){return e<0?Math.floor(e):Math.ceil(e)}function er(){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||o<=0&&a<=0&&s<=0||(o+=864e5*Kn(nr(s)+a),a=0,s=0),u.milliseconds=o%1e3,e=b(o/1e3),u.seconds=e%60,t=b(e/60),u.minutes=t%60,n=b(t/60),u.hours=n%24,a+=b(n/24),i=b(tr(a)),s+=i,a-=Kn(nr(i)),r=b(s/12),s%=12,u.days=a,u.months=s,u.years=r,this}function tr(e){return 4800*e/146097}function nr(e){return 146097*e/4800}function rr(e){var t,n,r=this._milliseconds;if(e=j(e),"month"===e||"year"===e)return t=this._days+r/864e5,n=this._months+tr(t),"month"===e?n:n/12;switch(t=this._days+Math.round(nr(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 ir(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*w(this._months/12)}function or(e){return function(){return this.as(e)}}function ar(e){return e=j(e),this[e+"s"]()}function sr(e){return function(){return this._data[e]}}function ur(){return b(this.days()/7)}function lr(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function cr(e,t,n){var r=Ut(e).abs(),i=fo(r.as("s")),o=fo(r.as("m")),a=fo(r.as("h")),s=fo(r.as("d")),u=fo(r.as("M")),l=fo(r.as("y")),c=i0,c[4]=n,lr.apply(null,c)}function fr(e){return void 0===e?fo:"function"==typeof e&&(fo=e,!0)}function dr(e,t){return void 0!==ho[e]&&(void 0===t?ho[e]:(ho[e]=t,!0))}function hr(e){var t=this.localeData(),n=cr(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function pr(){var e,t,n,r=po(this._milliseconds)/1e3,i=po(this._days),o=po(this._months);e=b(r/60),t=b(e/60),r%=60,e%=60,n=b(o/12),o%=12;var a=n,s=o,u=i,l=t,c=e,f=r,d=this.asSeconds();return d?(d<0?"-":"")+"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 mr,gr;gr=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;r68?1900:2e3)};var hi=V("FullYear",!0);B("w",["ww",2],"wo","week"),B("W",["WW",2],"Wo","isoWeek"),P("week","w"),P("isoWeek","W"),R("week",5),R("isoWeek",5),X("w",Rr),X("ww",Rr,Nr),X("W",Rr),X("WW",Rr,Nr),re(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=w(e)});var pi={dow:0,doy:6};B("d",0,"do","day"),B("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),B("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),B("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),B("e",0,0,"weekday"),B("E",0,0,"isoWeekday"),P("day","d"),P("weekday","e"),P("isoWeekday","E"),R("day",11),R("weekday",11),R("isoWeekday",11),X("d",Rr),X("e",Rr),X("E",Rr),X("dd",function(e,t){return t.weekdaysMinRegex(e)}),X("ddd",function(e,t){return t.weekdaysShortRegex(e)}),X("dddd",function(e,t){return t.weekdaysRegex(e)}),re(["dd","ddd","dddd"],function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:h(n).invalidWeekday=e}),re(["d","e","E"],function(e,t,n,r){t[r]=w(e)});var mi="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),gi="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),vi="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),$i=Qr,yi=Qr,bi=Qr;B("H",["HH",2],0,"hour"),B("h",["hh",2],0,qe),B("k",["kk",2],0,Ye),B("hmm",0,0,function(){return""+qe.apply(this)+W(this.minutes(),2)}),B("hmmss",0,0,function(){return""+qe.apply(this)+W(this.minutes(),2)+W(this.seconds(),2)}),B("Hmm",0,0,function(){return""+this.hours()+W(this.minutes(),2)}),B("Hmmss",0,0,function(){return""+this.hours()+W(this.minutes(),2)+W(this.seconds(),2)}),We("a",!0),We("A",!1),P("hour","h"),R("hour",13),X("a",Be),X("A",Be),X("H",Rr),X("h",Rr),X("HH",Rr,Nr),X("hh",Rr,Nr),X("hmm",Ur),X("hmmss",Vr),X("Hmm",Ur),X("Hmmss",Vr),ne(["H","HH"],ni),ne(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ne(["h","hh"],function(e,t,n){t[ni]=w(e),h(n).bigHour=!0}),ne("hmm",function(e,t,n){var r=e.length-2;t[ni]=w(e.substr(0,r)),t[ri]=w(e.substr(r)),h(n).bigHour=!0}),ne("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[ni]=w(e.substr(0,r)),t[ri]=w(e.substr(r,2)),t[ii]=w(e.substr(i)),h(n).bigHour=!0}),ne("Hmm",function(e,t,n){var r=e.length-2;t[ni]=w(e.substr(0,r)),t[ri]=w(e.substr(r))}),ne("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[ni]=w(e.substr(0,r)),t[ri]=w(e.substr(r,2)),t[ii]=w(e.substr(i))});var wi,xi=/[ap]\.?m?\.?/i,ki=V("Hours",!0),Ci={calendar:xr,longDateFormat:kr,invalidDate:Cr,ordinal:Sr,ordinalParse:_r,relativeTime:Er,months:li,monthsShort:ci,week:pi,weekdays:mi,weekdaysMin:vi,weekdaysShort:gi,meridiemParse:xi},Si={},_i=/^\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)?)?/,Ei=/^\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)?)?/,Di=/Z|[+-]\d\d(?::?\d\d)?/,Ai=[["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}/]],Ti=[["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/]],Mi=/^\/?Date\((\-?\d+)/i;n.createFromInputFallback=C("moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),n.ISO_8601=function(){};var Oi=C("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=yt.apply(null,arguments);return this.isValid()&&e.isValid()?ethis?this:e:m()}),Ii=function(){return Date.now?Date.now():+new Date};St("Z",":"),St("ZZ",""),X("Z",Gr),X("ZZ",Gr),ne(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=_t(Gr,e)});var Ni=/([\+\-]|\d\d)/gi;n.updateOffset=function(){};var Pi=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?\d*)?$/,ji=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;Ut.fn=kt.prototype;var Li=Yt(1,"add"),Ri=Yt(-1,"subtract");n.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",n.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Ui=C("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)});B(0,["gg",2],0,function(){return this.weekYear()%100}),B(0,["GG",2],0,function(){return this.isoWeekYear()%100}),_n("gggg","weekYear"),_n("ggggg","weekYear"),_n("GGGG","isoWeekYear"),_n("GGGGG","isoWeekYear"),P("weekYear","gg"),P("isoWeekYear","GG"),R("weekYear",1),R("isoWeekYear",1),X("G",Wr),X("g",Wr),X("GG",Rr,Nr),X("gg",Rr,Nr),X("GGGG",Hr,jr),X("gggg",Hr,jr),X("GGGGG",qr,Lr),X("ggggg",qr,Lr),re(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=w(e)}),re(["gg","GG"],function(e,t,r,i){t[i]=n.parseTwoDigitYear(e)}),B("Q",0,"Qo","quarter"),P("quarter","Q"),R("quarter",7),X("Q",Ir),ne("Q",function(e,t){t[ei]=3*(w(e)-1)}),B("D",["DD",2],"Do","date"),P("date","D"),R("date",9),X("D",Rr),X("DD",Rr,Nr),X("Do",function(e,t){return e?t._ordinalParse:t._ordinalParseLenient}),ne(["D","DD"],ti),ne("Do",function(e,t){t[ti]=w(e.match(Rr)[0],10)});var Vi=V("Date",!0);B("DDD",["DDDD",3],"DDDo","dayOfYear"),P("dayOfYear","DDD"),R("dayOfYear",4),X("DDD",zr),X("DDDD",Pr),ne(["DDD","DDDD"],function(e,t,n){n._dayOfYear=w(e)}),B("m",["mm",2],0,"minute"),P("minute","m"),R("minute",14),X("m",Rr),X("mm",Rr,Nr),ne(["m","mm"],ri);var zi=V("Minutes",!1);B("s",["ss",2],0,"second"),P("second","s"),R("second",15),X("s",Rr),X("ss",Rr,Nr),ne(["s","ss"],ii);var Hi=V("Seconds",!1);B("S",0,0,function(){return~~(this.millisecond()/100)}),B(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),B(0,["SSS",3],0,"millisecond"),B(0,["SSSS",4],0,function(){return 10*this.millisecond()}),B(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),B(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),B(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),B(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),B(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),P("millisecond","ms"),R("millisecond",16),X("S",zr,Ir),X("SS",zr,Nr),X("SSS",zr,Pr);var qi;for(qi="SSSS";qi.length<=9;qi+="S")X(qi,Yr);for(qi="S";qi.length<=9;qi+="S")ne(qi,Nn);var Yi=V("Milliseconds",!1);B("z",0,0,"zoneAbbr"),B("zz",0,0,"zoneName");var Wi=$.prototype;Wi.add=Li,Wi.calendar=Gt,Wi.clone=Zt,Wi.diff=nn,Wi.endOf=mn,Wi.format=sn,Wi.from=un,Wi.fromNow=ln,Wi.to=cn,Wi.toNow=fn,Wi.get=q,Wi.invalidAt=Cn,Wi.isAfter=Qt,Wi.isBefore=Jt,Wi.isBetween=Xt,Wi.isSame=Kt,Wi.isSameOrAfter=en,Wi.isSameOrBefore=tn,Wi.isValid=xn,Wi.lang=Ui,Wi.locale=dn,Wi.localeData=hn,Wi.max=Fi,Wi.min=Oi,Wi.parsingFlags=kn,Wi.set=Y,Wi.startOf=pn,Wi.subtract=Ri,Wi.toArray=yn,Wi.toObject=bn,Wi.toDate=$n,Wi.toISOString=an,Wi.toJSON=wn,Wi.toString=on,Wi.unix=vn,Wi.valueOf=gn,Wi.creationData=Sn,Wi.year=hi,Wi.isLeapYear=$e,Wi.weekYear=En,Wi.isoWeekYear=Dn,Wi.quarter=Wi.quarters=Fn,Wi.month=fe,Wi.daysInMonth=de,Wi.week=Wi.weeks=De,Wi.isoWeek=Wi.isoWeeks=Ae,Wi.weeksInYear=Tn,Wi.isoWeeksInYear=An,Wi.date=Vi,Wi.day=Wi.days=je,Wi.weekday=Le,Wi.isoWeekday=Re,Wi.dayOfYear=In,Wi.hour=Wi.hours=ki,Wi.minute=Wi.minutes=zi,Wi.second=Wi.seconds=Hi,Wi.millisecond=Wi.milliseconds=Yi,Wi.utcOffset=At,Wi.utc=Mt,Wi.local=Ot,Wi.parseZone=Ft,Wi.hasAlignedHourOffset=It,Wi.isDST=Nt,Wi.isLocal=jt,Wi.isUtcOffset=Lt,Wi.isUtc=Rt,Wi.isUTC=Rt,Wi.zoneAbbr=Pn,Wi.zoneName=jn,Wi.dates=C("dates accessor is deprecated. Use date instead.",Vi),Wi.months=C("months accessor is deprecated. Use month instead",fe),Wi.years=C("years accessor is deprecated. Use year instead",hi),Wi.zone=C("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Tt),Wi.isDSTShifted=C("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Pt);var Bi=Wi,Gi=A.prototype;Gi.calendar=T,Gi.longDateFormat=M,Gi.invalidDate=O,Gi.ordinal=F,Gi.preparse=Un,Gi.postformat=Un,Gi.relativeTime=I,Gi.pastFuture=N,Gi.set=E,Gi.months=ae,Gi.monthsShort=se,Gi.monthsParse=le,Gi.monthsRegex=pe,Gi.monthsShortRegex=he,Gi.week=Se,Gi.firstDayOfYear=Ee,Gi.firstDayOfWeek=_e,Gi.weekdays=Oe,Gi.weekdaysMin=Ie,Gi.weekdaysShort=Fe,Gi.weekdaysParse=Pe,Gi.weekdaysRegex=Ue,Gi.weekdaysShortRegex=Ve,Gi.weekdaysMinRegex=ze,Gi.isPM=Ge,Gi.meridiem=Ze,Ke("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===w(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),n.lang=C("moment.lang is deprecated. Use moment.locale instead.",Ke),n.langData=C("moment.langData is deprecated. Use moment.localeData instead.",nt);var Zi=Math.abs,Qi=or("ms"),Ji=or("s"),Xi=or("m"),Ki=or("h"),eo=or("d"),to=or("w"),no=or("M"),ro=or("y"),io=sr("milliseconds"),oo=sr("seconds"),ao=sr("minutes"),so=sr("hours"),uo=sr("days"),lo=sr("months"),co=sr("years"),fo=Math.round,ho={s:45,m:45,h:22,d:26,M:11},po=Math.abs,mo=kt.prototype;mo.abs=Zn,mo.add=Jn,mo.subtract=Xn,mo.as=rr,mo.asMilliseconds=Qi,mo.asSeconds=Ji,mo.asMinutes=Xi,mo.asHours=Ki,mo.asDays=eo,mo.asWeeks=to,mo.asMonths=no,mo.asYears=ro,mo.valueOf=ir,mo._bubble=er,mo.get=ar,mo.milliseconds=io,mo.seconds=oo,mo.minutes=ao,mo.hours=so,mo.days=uo,mo.weeks=ur,mo.months=lo,mo.years=co,mo.humanize=hr,mo.toISOString=pr,mo.toString=pr,mo.toJSON=pr,mo.locale=dn,mo.localeData=hn,mo.toIsoString=C("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",pr),mo.lang=Ui,B("X",0,0,"unix"),B("x",0,0,"valueOf"),X("x",Wr),X("X",Zr),ne("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),ne("x",function(e,t,n){n._d=new Date(w(e))}),n.version="2.14.1",r(yt),n.fn=Bi,n.min=wt,n.max=xt,n.now=Ii,n.utc=f,n.unix=Ln,n.months=qn,n.isDate=s,n.locale=Ke,n.invalid=m,n.duration=Ut,n.isMoment=y,n.weekdays=Wn,n.parseZone=Rn,n.localeData=nt,n.isDuration=Ct,n.monthsShort=Yn,n.weekdaysMin=Gn,n.defineLocale=et,n.updateLocale=tt,n.locales=rt,n.weekdaysShort=Bn,n.normalizeUnits=j,n.relativeTimeRounding=fr,n.relativeTimeThreshold=dr,n.calendarFormat=Bt,n.prototype=Bi;var go=n;return go})},{}],13:[function(e,t,n){!function(e,n){"use strict";var r,i,o,a=e,s=a.document,u=a.navigator,l=a.setTimeout,c=a.clearTimeout,f=a.setInterval,d=a.clearInterval,h=a.getComputedStyle,p=a.encodeURIComponent,m=a.ActiveXObject,g=a.Error,v=a.Number.parseInt||a.parseInt,$=a.Number.parseFloat||a.parseFloat,y=a.Number.isNaN||a.isNaN,b=a.Date.now,w=a.Object.keys,x=a.Object.defineProperty,k=a.Object.prototype.hasOwnProperty,C=a.Array.prototype.slice,S=function(){var e=function(e){return e};if("function"==typeof a.wrap&&"function"==typeof a.unwrap)try{var t=s.createElement("div"),n=a.unwrap(t);1===t.nodeType&&n&&1===n.nodeType&&(e=a.unwrap)}catch(r){}return e}(),_=function(e){return C.call(e,0)},E=function(){var e,t,r,i,o,a,s=_(arguments),u=s[0]||{};for(e=1,t=s.length;e=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"),Ae(),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,X.activeClass),i!==e&&Le(i,X.hoverClass)),i=e,je(e,X.hoverClass);var t=e.getAttribute("title")||X.title;if("string"==typeof t&&t){var n=Ee(U.bridge);n&&n.setAttribute("title",t)}var r=X.forceHandCursor===!0||"pointer"===Re(e,"cursor");qe(r),He()}},de=function(){var e=Ee(U.bridge);e&&(e.removeAttribute("title"),e.style.left="0px",e.style.top="-9999px",e.style.width="1px",e.style.height="1px"),i&&(Le(i,X.hoverClass),Le(i,X.activeClass),i=null)},he=function(){return i||null},pe=function(e){return"string"==typeof e&&e&&/^[A-Za-z][A-Za-z0-9_:\-\.]*$/.test(e)},me=function(e){var t;if("string"==typeof e&&e?(t=e,e={}):"object"==typeof e&&e&&"string"==typeof e.type&&e.type&&(t=e.type),t){t=t.toLowerCase(),!e.target&&(/^(copy|aftercopy|_click)$/.test(t)||"error"===t&&"clipboard-error"===e.name)&&(e.target=o),E(e,{type:t,target:e.target||i||null,relatedTarget:e.relatedTarget||null,currentTarget:U&&U.bridge||null,timeStamp:e.timeStamp||b()||null});var n=B[e.type];return"error"===e.type&&e.name&&n&&(n=n[e.name]),n&&(e.message=n),"ready"===e.type&&E(e,{target:null,version:U.version}),"error"===e.type&&(Q.test(e.name)&&E(e,{target:null,minimumVersion:V}),J.test(e.name)&&E(e,{version:U.version})),"copy"===e.type&&(e.clipboardData={setData:Ge.setData,clearData:Ge.clearData}),"aftercopy"===e.type&&(e=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;o0){var t=D(e);E(t,{type:"error",name:"clipboard-error"}),delete t.success,l(function(){Ge.emit(t)},0)}},Ce=function(e){if(e&&"string"==typeof e.type&&e){var t,n=e.target||null,r=n&&n.ownerDocument||s,i={view:r.defaultView||a,canBubble:!0,cancelable:!0,detail:"click"===e.type?1:0,button:"number"==typeof e.which?e.which-1:"number"==typeof e.button?e.button:r.createEvent?0:1},o=E(i,e);n&&r.createEvent&&n.dispatchEvent&&(o=[o.type,o.canBubble,o.cancelable,o.view,o.detail,o.screenX,o.screenY,o.clientX,o.clientY,o.ctrlKey,o.altKey,o.shiftKey,o.metaKey,o.button,o.relatedTarget],t=r.createEvent("MouseEvents"),t.initMouseEvent&&(t.initMouseEvent.apply(t,o),t._source="js",n.dispatchEvent(t)))}},Se=function(){var e=X.flashLoadTimeout;if("number"==typeof e&&e>=0){var t=Math.min(1e3,e/10),n=X.swfObjectId+"_fallbackContent";W=f(function(){var e=s.getElementById(n);Ve(e)&&(ze(),U.deactivated=null,Ge.emit({type:"error",name:"swf-not-found"}))},t)}},_e=function(){var e=s.createElement("div");return e.id=X.containerId,e.className=X.containerClass,e.style.position="absolute",e.style.left="0px",e.style.top="-9999px",e.style.width="1px",e.style.height="1px",e.style.zIndex=""+Ye(X.zIndex),e},Ee=function(e){for(var t=e&&e.parentNode;t&&"OBJECT"===t.nodeName&&t.parentNode;)t=t.parentNode;return t||null},De=function(){var e,t=U.bridge,n=Ee(t);if(!t){var r=Ne(a.location.host,X),i="never"===r?"none":"all",o=Fe(E({jsVersion:Ge.version},X)),u=X.swfPath+Oe(X.swfPath,X);n=_e();var l=s.createElement("div");n.appendChild(l),s.body.appendChild(n);var c=s.createElement("div"),f="activex"===U.pluginType;c.innerHTML='"+(f?'':"")+'
     
    ',t=c.firstChild,c=null,S(t).ZeroClipboard=Ge,n.replaceChild(t,l),Se()}return t||(t=s[X.swfObjectId],t&&(e=t.length)&&(t=t[e-1]),!t&&n&&(t=n.firstChild)),U.bridge=t||null,t},Ae=function(){var e=U.bridge;if(e){var t=Ee(e);t&&("activex"===U.pluginType&&"readyState"in e?(e.style.display="none",function i(){if(4===e.readyState){for(var n in e)"function"==typeof e[n]&&(e[n]=null);e.parentNode&&e.parentNode.removeChild(e),t.parentNode&&t.parentNode.removeChild(t)}else l(i,10)}()):(e.parentNode&&e.parentNode.removeChild(e),t.parentNode&&t.parentNode.removeChild(t))),ze(),U.ready=null,U.bridge=null,U.deactivated=null,r=n}},Te=function(e){var t={},n={};if("object"==typeof e&&e){for(var r in e)if(r&&k.call(e,r)&&"string"==typeof e[r]&&e[r])switch(r.toLowerCase()){case"text/plain":case"text":case"air:text":case"flash:text":t.text=e[r],n.text=r;break;case"text/html":case"html":case"air:html":case"flash:html":t.html=e[r],n.html=r;break;case"application/rtf":case"text/rtf":case"rtf":case"richtext":case"air:rtf":case"flash:rtf":t.rtf=e[r],n.rtf=r}return{data:t,formatMap:n}}},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;i0){if(1===o&&"*"===i[0])return"always";if(i.indexOf(t)!==-1)return 1===o&&t===r?"sameDomain":"always"}return"never"}}(),Pe=function(){try{return s.activeElement}catch(e){return null}},je=function(e,t){var n,r,i,o=[];if("string"==typeof t&&t&&(o=t.split(/\s+/)),e&&1===e.nodeType&&o.length>0)if(e.classList)for(n=0,r=o.length;n0)if(e.classList&&e.classList.length>0)for(n=0,r=o.length;n0,r=$(t.width)>0,i=$(t.top)>=0,o=$(t.left)>=0,a=n&&r&&i&&o,s=a?null:Ue(e),u="none"!==t.display&&"collapse"!==t.visibility&&(a||!!s&&(n||s.height>0)&&(r||s.width>0)&&(i||s.top>=0)&&(o||s.left>=0));return u},ze=function(){c(Y),Y=0,d(W),W=0},He=function(){var e;if(i&&(e=Ee(U.bridge))){var t=Ue(i);E(e.style,{width:t.width+"px",height:t.height+"px",top:t.top+"px",left:t.left+"px",zIndex:""+Ye(X.zIndex)})}},qe=function(e){U.ready===!0&&(U.bridge&&"function"==typeof U.bridge.setHandCursor?U.bridge.setHandCursor(e):U.ready=!1)},Ye=function(e){if(/^(?:auto|inherit)$/.test(e))return e;var t;return"number"!=typeof e||y(e)?"string"==typeof e&&(t=Ye(v(e,10))):t=e,"number"==typeof t?t:"auto"},We=function(t){var n,r,i,o=U.sandboxed,a=null;if(t=t===!0,R===!1)a=!1;else{try{r=e.frameElement||null}catch(s){i={name:s.name,message:s.message}}if(r&&1===r.nodeType&&"IFRAME"===r.nodeName)try{a=r.hasAttribute("sandbox")}catch(s){a=null}else{try{n=document.domain||null}catch(s){n=null}(null===n||i&&"SecurityError"===i.name&&/(^|[\s\(\[@])sandbox(es|ed|ing|[\s\.,!\)\]@]|$)/.test(i.message.toLowerCase()))&&(a=!0)}}return U.sandboxed=a,o===a||t||Be(m),a},Be=function(e){function t(e){var t=e.match(/[\d]+/g);return t.length=3,t.join(".")}function n(e){return!!e&&(e=e.toLowerCase())&&(/^(pepflashplayer\.dll|libpepflashplayer\.so|pepperflashplayer\.plugin)$/.test(e)||"chrome.plugin"===e.slice(-13))}function r(e){e&&(s=!0,e.version&&(f=t(e.version)),!f&&e.description&&(f=t(e.description)),e.filename&&(c=n(e.filename)))}var i,o,a,s=!1,l=!1,c=!1,f="";if(u.plugins&&u.plugins.length)i=u.plugins["Shockwave Flash"],r(i),u.plugins["Shockwave Flash 2.0"]&&(s=!0,f="2.0.0.11");else if(u.mimeTypes&&u.mimeTypes.length)a=u.mimeTypes["application/x-shockwave-flash"],i=a&&a.enabledPlugin,r(i);else if("undefined"!=typeof e){l=!0;try{o=new e("ShockwaveFlash.ShockwaveFlash.7"),s=!0,f=t(o.GetVariable("$version"))}catch(d){try{o=new e("ShockwaveFlash.ShockwaveFlash.6"),s=!0,f="6.0.21"}catch(h){try{o=new e("ShockwaveFlash.ShockwaveFlash"),s=!0,f=t(o.GetVariable("$version"))}catch(p){l=!1}}}}U.disabled=s!==!0,U.outdated=f&&$(f)<$(V),U.version=f||"0.0.0",U.pluginType=c?"pepper":l?"activex":s?"netscape":"unknown"};Be(m),We(!0);var Ge=function(){return this instanceof Ge?void("function"==typeof Ge._createClient&&Ge._createClient.apply(this,_(arguments))):new Ge};x(Ge,"version",{value:"2.2.0",writable:!1,configurable:!0,enumerable:!0}),Ge.config=function(){return K.apply(this,_(arguments))},Ge.state=function(){return ee.apply(this,_(arguments))},Ge.isFlashUnusable=function(){return te.apply(this,_(arguments))},Ge.on=function(){return ne.apply(this,_(arguments))},Ge.off=function(){return re.apply(this,_(arguments))},Ge.handlers=function(){return ie.apply(this,_(arguments))},Ge.emit=function(){return oe.apply(this,_(arguments))},Ge.create=function(){return ae.apply(this,_(arguments))},Ge.destroy=function(){return se.apply(this,_(arguments))},Ge.setData=function(){return ue.apply(this,_(arguments))},Ge.clearData=function(){return le.apply(this,_(arguments))},Ge.getData=function(){return ce.apply(this,_(arguments))},Ge.focus=Ge.activate=function(){return fe.apply(this,_(arguments))},Ge.blur=Ge.deactivate=function(){return de.apply(this,_(arguments))},Ge.activeElement=function(){return he.apply(this,_(arguments))};var Ze=0,Qe={},Je=0,Xe={},Ke={};E(X,{autoActivate:!0});var et=function(e){var t=this;t.id=""+Ze++,Qe[t.id]={instance:t,elements:[],handlers:{}},e&&t.clip(e),Ge.on("*",function(e){return t.emit(e)}),Ge.on("destroy",function(){t.destroy()}),Ge.create()},tt=function(e,t){var i,o,a,s={},u=Qe[this.id],l=u&&u.handlers;if(!u)throw new Error("Attempted to add new listener(s) to a destroyed ZeroClipboard client instance");if("string"==typeof e&&e)a=e.toLowerCase().split(/\s+/);else if("object"==typeof e&&e&&"undefined"==typeof t)for(i in e)k.call(e,i)&&"string"==typeof i&&i&&"function"==typeof e[i]&&this.on(i,e[i]);if(a&&a.length){for(i=0,o=a.length;i0,i=!e.target||r&&n.indexOf(e.target)!==-1,o=e.relatedTarget&&r&&n.indexOf(e.relatedTarget)!==-1,a=e.client&&e.client===this;return!(!t||!(i||o||a))},ct=function(e){var t=Qe[this.id];if("object"==typeof e&&e&&e.type&&t){var n=$e(e),r=t&&t.handlers["*"]||[],i=t&&t.handlers[e.type]||[],o=r.concat(i);if(o&&o.length){var s,u,l,c,f,d=this;for(s=0,u=o.length;s\n Image Preview\n
    \n \n
    \n\n \n |\n \n\n \n
    '},{}],16:[function(e,t,n){t.exports='
    \n \n
    \n
    '},{}],17:[function(e,t,n){"use strict";var r=e("moment");t.exports=function(t,n){t.controller("ImageManagerController",["$scope","$attrs","$http","$timeout","imageManagerService",function(e,t,r,i,o){function a(){e.searching=!1,e.searchTerm="",e.images=m,e.hasMore=g}function s(t){p&&p(t),e.showing=!1}function u(t){p=t,e.showing=!0,h||(l(),h=!0)}function l(){var t=v+c+"?",n={};e.uploadedTo&&(n.page_id=e.uploadedTo),e.searching&&(n.term=e.searchTerm);var i=Object.keys(n).map(function(e){return e+"="+encodeURIComponent(n[e])}).join("&");t+=i,r.get(t).then(function(t){e.images=e.images.concat(t.data.images),e.hasMore=t.data.hasMore,c++})}e.images=[],e.imageType=t.imageType,e.selectedImage=!1,e.dependantPages=!1,e.showing=!1,e.hasMore=!1,e.imageUpdateSuccess=!1,e.imageDeleteSuccess=!1,e.uploadedTo=t.uploadedTo,e.view="all",e.searching=!1,e.searchTerm="";var c=0,f=0,d=0,h=!1,p=!1,m=[],g=!1;e.getUploadUrl=function(){return window.baseUrl("/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;i tr",containment:"parent",axis:"y"},e.addEmptyTag=i,o(),e.tagChange=function(t){var n=e.tags.indexOf(t);n===e.tags.length-1&&(""===t.name&&""===t.value||i())},e.tagBlur=function(t){var n=e.tags.length-1===e.tags.indexOf(t);if(""===t.name&&""===t.value&&!n){var r=e.tags.indexOf(t);e.tags.splice(r,1)}},e.saveTags=function(){a();var r={tags:e.tags},o=window.baseUrl("/ajax/tags/update/page/"+s);t.post(o,r).then(function(t){e.tags=t.data.tags,i(),n.emit("success",t.data.message)})},e.removeTag=function(t){var n=e.tags.indexOf(t);e.tags.splice(n,1)}}])}},{"./pages/page-form":20,moment:12}],18:[function(e,t,n){"use strict";var r=e("dropzone"),i=e("marked"),o=e("./components/toggle-switch.html"),a=e("./components/image-picker.html"),s=e("./components/drop-zone.html");t.exports=function(e,t){e.directive("toggleSwitch",function(){return{restrict:"A",template:o,scope:!0,link:function(e,t,n){e.name=n.name,e.value=n.value,e.isActive=1==e.value&&"false"!=e.value,e.value=1==e.value&&"false"!=e.value?"true":"false",e["switch"]=function(){e.isActive=!e.isActive,e.value=e.isActive?"true":"false"}}}}),e.directive("imagePicker",["$http","imageManagerService",function(e,t){return{restrict:"E",template:a,scope:{name:"@",resizeHeight:"@",resizeWidth:"@",resizeCrop:"@",showRemove:"=",currentImage:"@",currentId:"@",defaultImage:"@",imageClass:"@"},link:function(n,r,i){function o(e,t){n.image=t,n.value=a?e.id:t}var a="undefined"!=typeof n.currentId||"false"===n.currentId;n.image=n.currentImage,n.value=n.currentImage||"",a&&(n.value=n.currentId),n.reset=function(){o({id:0},n.defaultImage)},n.remove=function(){n.image="none",n.value="none"},n.showImageManager=function(){t.show(function(e){n.updateImageFromModel(e)})},n.updateImageFromModel=function(t){var r=n.resizeWidth&&n.resizeHeight;if(!r)return void n.$apply(function(){o(t,t.url)});var i=n.resizeCrop?"true":"false",a="/images/thumb/"+t.id+"/"+n.resizeWidth+"/"+n.resizeHeight+"/"+i;a=window.baseUrl(a),e.get(a).then(function(e){o(t,e.data.url)})}}}}]),e.directive("dropZone",[function(){return{restrict:"E",template:s,scope:{uploadUrl:"@",eventSuccess:"=",eventError:"=",uploadedTo:"@"},link:function(e,t,n){new r(t[0].querySelector(".dropzone-container"),{url:e.uploadUrl,init:function(){var t=this;t.on("sending",function(t,n,r){var i=window.document.querySelector("meta[name=token]").getAttribute("content");r.append("_token",i);var o="undefined"==typeof e.uploadedTo?0:e.uploadedTo;r.append("uploaded_to",o)}),"undefined"!=typeof e.eventSuccess&&t.on("success",e.eventSuccess),t.on("success",function(e,n){$(e.previewElement).fadeOut(400,function(){t.removeFile(e)})}),"undefined"!=typeof e.eventError&&t.on("error",e.eventError),t.on("error",function(e,t,n){function r(t){$(e.previewElement).find("[data-dz-errormessage]").text(t)}console.log(t),console.log(n),413===n.status&&r("The server does not allow uploads of this size. Please try a smaller file."),t.file&&r(t.file[0])})}})}}}]),e.directive("dropdown",[function(){return{restrict:"A",link:function(e,t,n){var r=t.find("ul");t.find("[dropdown-toggle]").on("click",function(){r.show().addClass("anim menuIn"),t.mouseleave(function(){r.hide(),r.removeClass("anim menuIn")})})}}}]),e.directive("tinymce",["$timeout",function(e){return{restrict:"A",scope:{tinymce:"=",mceModel:"=",mceChange:"="},link:function(t,n,r){function i(n){n.on("ExecCommand change NodeChange ObjectResized",function(r){var i=n.getContent();e(function(){t.mceModel=i}),t.mceChange(i)}),n.on("keydown",function(e){t.$emit("editor-keydown",e)}),n.on("init",function(e){t.mceModel=n.getContent()}),t.$on("html-update",function(e,r){n.setContent(r),n.selection.select(n.getBody(),!0),n.selection.collapse(!1),t.mceModel=n.getContent()})}t.tinymce.extraSetups.push(i),tinymce.PluginManager.add("customhr",function(e){e.addCommand("InsertHorizontalRule",function(){var t=document.createElement("hr"),n=e.selection.getNode(),r=n.parentNode;r.insertBefore(t,n)}),e.addButton("hr",{icon:"hr",tooltip:"Horizontal line",cmd:"InsertHorizontalRule"}),e.addMenuItem("hr",{icon:"hr",text:"Horizontal line",cmd:"InsertHorizontalRule",context:"insert"})}),tinymce.init(t.tinymce)}}}]),e.directive("markdownInput",["$timeout",function(e){return{restrict:"A",scope:{mdModel:"=",mdChange:"="},link:function(t,n,r){n=n.find("textarea").first();var o=n.val();t.mdModel=o,t.mdChange(i(o)),console.log("test"),n.on("change input",function(r){o=n.val(),e(function(){t.mdModel=o,t.mdChange(i(o))})}),t.$on("markdown-update",function(e,r){n.val(r),t.mdModel=r,t.mdChange(i(r))})}}}]),e.directive("markdownEditor",["$timeout",function(e){return{restrict:"A",link:function(e,t,n){function r(){u=i[0].scrollHeight,l=i.height(),c=o[0].scrollHeight,f=o.height()}var i=t.find("[markdown-input] textarea").first(),o=t.find(".markdown-display").first(),a=t.find('button[data-action="insertImage"]'),s=0;i.blur(function(e){s=i[0].selectionStart});var u=void 0,l=void 0,c=void 0,f=void 0;setTimeout(function(){r()},200),window.addEventListener("resize",r);var d=800,h=0;i.on("scroll",function(e){var t=Date.now();t-h>d&&r();var n=i.scrollTop()/(u-l),a=(c-f)*n;o.scrollTop(a),h=t}),i.keydown(function(t){if(73===t.which&&t.ctrlKey&&t.shiftKey){t.preventDefault();var n=i[0].selectionStart,r=i.val(),o="![](http://)";return i.val(r.substring(0,n)+o+r.substring(n)),i.focus(),i[0].selectionStart=n+"![](".length,void(i[0].selectionEnd=n+"![](http://".length)}e.$emit("editor-keydown",t)}),a.click(function(e){window.ImageManager.showExternal(function(e){var t=s,n=i.val(),r="!["+e.name+"]("+e.url+")";i.val(n.substring(0,t)+r+n.substring(t)),i.change()})})}}}]),e.directive("toolbox",[function(){return{restrict:"A",link:function(e,t,n){function r(e,n){i.removeClass("active"),o.hide(),i.filter('[tab-button="'+e+'"]').addClass("active"),o.filter('[tab-content="'+e+'"]').show(),n&&t.addClass("open")}var i=t.find("[tab-button]"),o=t.find("[tab-content]"),a=t.find("[toolbox-toggle]");a.click(function(e){t.toggleClass("open")}),r(o.first().attr("tab-content"),!1),i.click(function(e){var t=$(this).attr("tab-button");r(t,!0)})}}}]),e.directive("tagAutosuggestions",["$http",function(e){return{restrict:"A",link:function(t,n,r){function i(e,t){t[h].className="",h=e,t[h].className="active"}function o(e,t){if(0===t.length)return c.hide(),f=!1,void(m=t);if(f||(c.show(),f=!0),e!==d&&(c.detach(),e.after(c),d=e),m.join()===t.join())return void(m=t);c[0].innerHTML="";for(var n=0;n=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;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",window.baseUrl("/images/gallery/upload")),s.onload=function(){if(200===s.status||201===s.status){var t=JSON.parse(s.responseText);e.dom.setAttrib(l,"src",t.url)}else console.log("An error occured uploading the image"),console.log(s.responseText),e.dom.remove(l)},s.send(o)}}})}}},{}],21:[function(e,t,n){"use strict";var r=e("zeroclipboard");r.config({swfPath:window.baseUrl("/ZeroClipboard.swf")}),window.setupPageShow=t.exports=function(e){function t(e){var t=$(".page-content #"+e).first();0!==t.length?(t.smoothScrollTo(),t.css("background-color","rgba(244, 249, 54, 0.25)")):$(".page-content").find(':contains("'+e+'")').smoothScrollTo()}function n(){d.width(h.width()+15),d.addClass("fixed"),g=!0}function i(){d.css("width","auto"),d.removeClass("fixed"),g=!1}function o(e){var t=f.scrollTop()>m;!t||g&&!e?t||!g&&!e||i():n()}function a(){o(!1)}var s=$("#pointer").detach(),u=s.children("div.pointer").first(),l=!1;if(s.on("click","input",function(e){$(this).select(),e.stopPropagation()}),new r(s.find("button").first()[0]),$(document.body).find("*").on("click focus",function(e){l||s.detach()}),$('.page-content [id^="bkmrk"]').on("mouseup keyup",function(t){t.stopPropagation();var n=window.getSelection();if(0!==n.toString().length){var r=$(this),i=window.baseUrl("/link/"+e+"#"+r.attr("id"));0!==i.indexOf("http")&&(i=window.location.protocol+"//"+window.location.host+i),s.find("input").val(i),s.find("button").first().attr("data-clipboard-text",i),r.before(s),s.show();var o=t.pageX-r.offset().left-u.width()/2;o<0&&(o=0);var a=o/r.width()*100;u.css("left",a+"%"),l=!0,setTimeout(function(){l=!1},100)}}),window.location.hash){var c=window.location.hash.replace(/\%20/g," ").substr(1);t(c)}var f=$(window),d=$(".book-tree"),h=d.parent(),p=$(document).height()>f.height()&&d.height()<$(".page-content").height(),m=$("#header").height()+$(".toolbar").height(),g=f.scrollTop()>m;p&&f.width()>1e3&&(f.on("scroll",a),o(!0)),f.on("resize",function(e){p&&f.width()>1e3?(f.on("scroll",a),o(!0)):(f.off("scroll",a),i())})}},{zeroclipboard:13}],22:[function(e,t,n){"use strict";t.exports=function(e,t){e.factory("imageManagerService",function(){return{show:!1,showExternal:!1}})}},{}]},{},[19]); \ No newline at end of file +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&&G.indexOf(e.name)!==-1)&&(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),Z.indexOf(e.name)!==-1?E(U,{disabled:"flash-disabled"===e.name,outdated:"flash-outdated"===e.name,unavailable:"flash-unavailable"===e.name,degraded:"flash-degraded"===e.name,deactivated:"flash-deactivated"===e.name,overdue:"flash-overdue"===e.name,ready:!1}):"version-mismatch"===e.name&&(r=e.swfVersion,E(U,{disabled:!1,outdated:!1,unavailable:!1,degraded:!1,deactivated:!1,overdue:!1,ready:!1})),ze();break;case"ready":r=e.swfVersion;var s=U.deactivated===!0;E(U,{disabled:!1,outdated:!1,sandboxed:!1,unavailable:!1,degraded:!1,deactivated:!1,overdue:s,ready:!s}),ze();break;case"beforecopy":o=t;break;case"copy":var u,l,c=e.relatedTarget;!H["text/html"]&&!H["text/plain"]&&c&&(l=c.value||c.outerHTML||c.innerHTML)&&(u=c.value||c.textContent||c.innerText)?(e.clipboardData.clearData(),e.clipboardData.setData("text/plain",u),l!==u&&e.clipboardData.setData("text/html",l)):!H["text/plain"]&&e.target&&(u=e.target.getAttribute("data-clipboard-text"))&&(e.clipboardData.clearData(),e.clipboardData.setData("text/plain",u));break;case"aftercopy":ke(e),Ge.clearData(),t&&t!==Pe()&&t.focus&&t.focus();break;case"_mouseover":Ge.focus(t),X.bubbleEvents===!0&&n&&(t&&t!==e.relatedTarget&&!O(e.relatedTarget,t)&&Ce(E({},e,{type:"mouseenter",bubbles:!1,cancelable:!1})),Ce(E({},e,{type:"mouseover"})));break;case"_mouseout":Ge.blur(),X.bubbleEvents===!0&&n&&(t&&t!==e.relatedTarget&&!O(e.relatedTarget,t)&&Ce(E({},e,{type:"mouseleave",bubbles:!1,cancelable:!1})),Ce(E({},e,{type:"mouseout"})));break;case"_mousedown":je(t,X.activeClass),X.bubbleEvents===!0&&n&&Ce(E({},e,{type:e.type.slice(1)}));break;case"_mouseup":Le(t,X.activeClass),X.bubbleEvents===!0&&n&&Ce(E({},e,{type:e.type.slice(1)}));break;case"_click":o=null,X.bubbleEvents===!0&&n&&Ce(E({},e,{type:e.type.slice(1)}));break;case"_mousemove":X.bubbleEvents===!0&&n&&Ce(E({},e,{type:e.type.slice(1)}))}if(/^_(?:click|mouse(?:over|out|down|up|move))$/.test(e.type))return!0},ke=function(e){if(e.errors&&e.errors.length>0){var t=D(e);E(t,{type:"error",name:"clipboard-error"}),delete t.success,l(function(){Ge.emit(t)},0)}},Ce=function(e){if(e&&"string"==typeof e.type&&e){var t,n=e.target||null,r=n&&n.ownerDocument||s,i={view:r.defaultView||a,canBubble:!0,cancelable:!0,detail:"click"===e.type?1:0,button:"number"==typeof e.which?e.which-1:"number"==typeof e.button?e.button:r.createEvent?0:1},o=E(i,e);n&&r.createEvent&&n.dispatchEvent&&(o=[o.type,o.canBubble,o.cancelable,o.view,o.detail,o.screenX,o.screenY,o.clientX,o.clientY,o.ctrlKey,o.altKey,o.shiftKey,o.metaKey,o.button,o.relatedTarget],t=r.createEvent("MouseEvents"),t.initMouseEvent&&(t.initMouseEvent.apply(t,o),t._source="js",n.dispatchEvent(t)))}},Se=function(){var e=X.flashLoadTimeout;if("number"==typeof e&&e>=0){var t=Math.min(1e3,e/10),n=X.swfObjectId+"_fallbackContent";W=f(function(){var e=s.getElementById(n);Ve(e)&&(ze(),U.deactivated=null,Ge.emit({type:"error",name:"swf-not-found"}))},t)}},_e=function(){var e=s.createElement("div");return e.id=X.containerId,e.className=X.containerClass,e.style.position="absolute",e.style.left="0px",e.style.top="-9999px",e.style.width="1px",e.style.height="1px",e.style.zIndex=""+Ye(X.zIndex),e},Ee=function(e){for(var t=e&&e.parentNode;t&&"OBJECT"===t.nodeName&&t.parentNode;)t=t.parentNode;return t||null},De=function(){var e,t=U.bridge,n=Ee(t);if(!t){var r=Ne(a.location.host,X),i="never"===r?"none":"all",o=Fe(E({jsVersion:Ge.version},X)),u=X.swfPath+Oe(X.swfPath,X);n=_e();var l=s.createElement("div");n.appendChild(l),s.body.appendChild(n);var c=s.createElement("div"),f="activex"===U.pluginType;c.innerHTML='"+(f?'':"")+'
     
    ',t=c.firstChild,c=null,S(t).ZeroClipboard=Ge,n.replaceChild(t,l),Se()}return t||(t=s[X.swfObjectId],t&&(e=t.length)&&(t=t[e-1]),!t&&n&&(t=n.firstChild)),U.bridge=t||null,t},Ae=function(){var e=U.bridge;if(e){var t=Ee(e);t&&("activex"===U.pluginType&&"readyState"in e?(e.style.display="none",function i(){if(4===e.readyState){for(var n in e)"function"==typeof e[n]&&(e[n]=null);e.parentNode&&e.parentNode.removeChild(e),t.parentNode&&t.parentNode.removeChild(t)}else l(i,10)}()):(e.parentNode&&e.parentNode.removeChild(e),t.parentNode&&t.parentNode.removeChild(t))),ze(),U.ready=null,U.bridge=null,U.deactivated=null,r=n}},Te=function(e){var t={},n={};if("object"==typeof e&&e){for(var r in e)if(r&&k.call(e,r)&&"string"==typeof e[r]&&e[r])switch(r.toLowerCase()){case"text/plain":case"text":case"air:text":case"flash:text":t.text=e[r],n.text=r;break;case"text/html":case"html":case"air:html":case"flash:html":t.html=e[r],n.html=r;break;case"application/rtf":case"text/rtf":case"rtf":case"richtext":case"air:rtf":case"flash:rtf":t.rtf=e[r],n.rtf=r}return{data:t,formatMap:n}}},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;i0){if(1===o&&"*"===i[0])return"always";if(i.indexOf(t)!==-1)return 1===o&&t===r?"sameDomain":"always"}return"never"}}(),Pe=function(){try{return s.activeElement}catch(e){return null}},je=function(e,t){var n,r,i,o=[];if("string"==typeof t&&t&&(o=t.split(/\s+/)),e&&1===e.nodeType&&o.length>0)if(e.classList)for(n=0,r=o.length;n0)if(e.classList&&e.classList.length>0)for(n=0,r=o.length;n0,r=$(t.width)>0,i=$(t.top)>=0,o=$(t.left)>=0,a=n&&r&&i&&o,s=a?null:Ue(e),u="none"!==t.display&&"collapse"!==t.visibility&&(a||!!s&&(n||s.height>0)&&(r||s.width>0)&&(i||s.top>=0)&&(o||s.left>=0));return u},ze=function(){c(Y),Y=0,d(W),W=0},He=function(){var e;if(i&&(e=Ee(U.bridge))){var t=Ue(i);E(e.style,{width:t.width+"px",height:t.height+"px",top:t.top+"px",left:t.left+"px",zIndex:""+Ye(X.zIndex)})}},qe=function(e){U.ready===!0&&(U.bridge&&"function"==typeof U.bridge.setHandCursor?U.bridge.setHandCursor(e):U.ready=!1)},Ye=function(e){if(/^(?:auto|inherit)$/.test(e))return e;var t;return"number"!=typeof e||y(e)?"string"==typeof e&&(t=Ye(v(e,10))):t=e,"number"==typeof t?t:"auto"},We=function(t){var n,r,i,o=U.sandboxed,a=null;if(t=t===!0,R===!1)a=!1;else{try{r=e.frameElement||null}catch(s){i={name:s.name,message:s.message}}if(r&&1===r.nodeType&&"IFRAME"===r.nodeName)try{a=r.hasAttribute("sandbox")}catch(s){a=null}else{try{n=document.domain||null}catch(s){n=null}(null===n||i&&"SecurityError"===i.name&&/(^|[\s\(\[@])sandbox(es|ed|ing|[\s\.,!\)\]@]|$)/.test(i.message.toLowerCase()))&&(a=!0)}}return U.sandboxed=a,o===a||t||Be(m),a},Be=function(e){function t(e){var t=e.match(/[\d]+/g);return t.length=3,t.join(".")}function n(e){return!!e&&(e=e.toLowerCase())&&(/^(pepflashplayer\.dll|libpepflashplayer\.so|pepperflashplayer\.plugin)$/.test(e)||"chrome.plugin"===e.slice(-13))}function r(e){e&&(s=!0,e.version&&(f=t(e.version)),!f&&e.description&&(f=t(e.description)),e.filename&&(c=n(e.filename)))}var i,o,a,s=!1,l=!1,c=!1,f="";if(u.plugins&&u.plugins.length)i=u.plugins["Shockwave Flash"],r(i),u.plugins["Shockwave Flash 2.0"]&&(s=!0,f="2.0.0.11");else if(u.mimeTypes&&u.mimeTypes.length)a=u.mimeTypes["application/x-shockwave-flash"],i=a&&a.enabledPlugin,r(i);else if("undefined"!=typeof e){l=!0;try{o=new e("ShockwaveFlash.ShockwaveFlash.7"),s=!0,f=t(o.GetVariable("$version"))}catch(d){try{o=new e("ShockwaveFlash.ShockwaveFlash.6"),s=!0,f="6.0.21"}catch(h){try{o=new e("ShockwaveFlash.ShockwaveFlash"),s=!0,f=t(o.GetVariable("$version"))}catch(p){l=!1}}}}U.disabled=s!==!0,U.outdated=f&&$(f)<$(V),U.version=f||"0.0.0",U.pluginType=c?"pepper":l?"activex":s?"netscape":"unknown"};Be(m),We(!0);var Ge=function(){return this instanceof Ge?void("function"==typeof Ge._createClient&&Ge._createClient.apply(this,_(arguments))):new Ge};x(Ge,"version",{value:"2.2.0",writable:!1,configurable:!0,enumerable:!0}),Ge.config=function(){return K.apply(this,_(arguments))},Ge.state=function(){return ee.apply(this,_(arguments))},Ge.isFlashUnusable=function(){return te.apply(this,_(arguments))},Ge.on=function(){return ne.apply(this,_(arguments))},Ge.off=function(){return re.apply(this,_(arguments))},Ge.handlers=function(){return ie.apply(this,_(arguments))},Ge.emit=function(){return oe.apply(this,_(arguments))},Ge.create=function(){return ae.apply(this,_(arguments))},Ge.destroy=function(){return se.apply(this,_(arguments))},Ge.setData=function(){return ue.apply(this,_(arguments))},Ge.clearData=function(){return le.apply(this,_(arguments))},Ge.getData=function(){return ce.apply(this,_(arguments))},Ge.focus=Ge.activate=function(){return fe.apply(this,_(arguments))},Ge.blur=Ge.deactivate=function(){return de.apply(this,_(arguments))},Ge.activeElement=function(){return he.apply(this,_(arguments))};var Ze=0,Qe={},Je=0,Xe={},Ke={};E(X,{autoActivate:!0});var et=function(e){var t=this;t.id=""+Ze++,Qe[t.id]={instance:t,elements:[],handlers:{}},e&&t.clip(e),Ge.on("*",function(e){return t.emit(e)}),Ge.on("destroy",function(){t.destroy()}),Ge.create()},tt=function(e,t){var i,o,a,s={},u=Qe[this.id],l=u&&u.handlers;if(!u)throw new Error("Attempted to add new listener(s) to a destroyed ZeroClipboard client instance");if("string"==typeof e&&e)a=e.toLowerCase().split(/\s+/);else if("object"==typeof e&&e&&"undefined"==typeof t)for(i in e)k.call(e,i)&&"string"==typeof i&&i&&"function"==typeof e[i]&&this.on(i,e[i]);if(a&&a.length){for(i=0,o=a.length;i0,i=!e.target||r&&n.indexOf(e.target)!==-1,o=e.relatedTarget&&r&&n.indexOf(e.relatedTarget)!==-1,a=e.client&&e.client===this;return!(!t||!(i||o||a))},ct=function(e){var t=Qe[this.id];if("object"==typeof e&&e&&e.type&&t){var n=$e(e),r=t&&t.handlers["*"]||[],i=t&&t.handlers[e.type]||[],o=r.concat(i);if(o&&o.length){var s,u,l,c,f,d=this;for(s=0,u=o.length;s\n Image Preview\n
    \n \n
    \n\n \n |\n \n\n \n
    '},{}],16:[function(e,t,n){t.exports='
    \n \n
    \n
    '},{}],17:[function(e,t,n){"use strict";var r=e("moment");t.exports=function(t,n){t.controller("ImageManagerController",["$scope","$attrs","$http","$timeout","imageManagerService",function(e,t,r,i,o){function a(){e.searching=!1,e.searchTerm="",e.images=m,e.hasMore=g}function s(t){p&&p(t),e.hide()}function u(t){p=t,e.showing=!0,$("#image-manager").find(".overlay").css("display","flex").hide().fadeIn(240),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 window.baseUrl("/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;i tr",containment:"parent",axis:"y"},e.addEmptyTag=i,o(),e.tagChange=function(t){var n=e.tags.indexOf(t);n===e.tags.length-1&&(""===t.name&&""===t.value||i())},e.tagBlur=function(t){var n=e.tags.length-1===e.tags.indexOf(t);if(""===t.name&&""===t.value&&!n){var r=e.tags.indexOf(t);e.tags.splice(r,1)}},e.saveTags=function(){a();var r={tags:e.tags},o=window.baseUrl("/ajax/tags/update/page/"+s);t.post(o,r).then(function(t){e.tags=t.data.tags,i(),n.emit("success",t.data.message)})},e.removeTag=function(t){var n=e.tags.indexOf(t);e.tags.splice(n,1)}}])}},{"./pages/page-form":20,moment:12}],18:[function(e,t,n){"use strict";var r=e("dropzone"),i=e("marked"),o=e("./components/toggle-switch.html"),a=e("./components/image-picker.html"),s=e("./components/drop-zone.html");t.exports=function(e,t){e.directive("toggleSwitch",function(){return{restrict:"A",template:o,scope:!0,link:function(e,t,n){e.name=n.name,e.value=n.value,e.isActive=1==e.value&&"false"!=e.value,e.value=1==e.value&&"false"!=e.value?"true":"false",e["switch"]=function(){e.isActive=!e.isActive,e.value=e.isActive?"true":"false"}}}}),e.directive("imagePicker",["$http","imageManagerService",function(e,t){return{restrict:"E",template:a,scope:{name:"@",resizeHeight:"@",resizeWidth:"@",resizeCrop:"@",showRemove:"=",currentImage:"@",currentId:"@",defaultImage:"@",imageClass:"@"},link:function(n,r,i){function o(e,t){n.image=t,n.value=a?e.id:t}var a="undefined"!=typeof n.currentId||"false"===n.currentId;n.image=n.currentImage,n.value=n.currentImage||"",a&&(n.value=n.currentId),n.reset=function(){o({id:0},n.defaultImage)},n.remove=function(){n.image="none",n.value="none"},n.showImageManager=function(){t.show(function(e){n.updateImageFromModel(e)})},n.updateImageFromModel=function(t){var r=n.resizeWidth&&n.resizeHeight;if(!r)return void n.$apply(function(){o(t,t.url)});var i=n.resizeCrop?"true":"false",a="/images/thumb/"+t.id+"/"+n.resizeWidth+"/"+n.resizeHeight+"/"+i;a=window.baseUrl(a),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");var e=r.find("input"),n=e.length>0;n&&(e.first().focus(),t.on("keypress","input",function(e){if(13===e.keyCode)return e.preventDefault(),r.hide(),r.removeClass("anim menuIn"),!1})),t.mouseleave(function(){r.hide(),r.removeClass("anim menuIn")})})}}}]),e.directive("tinymce",["$timeout",function(e){return{restrict:"A",scope:{tinymce:"=",mceModel:"=",mceChange:"="},link:function(t,n,r){function i(n){n.on("ExecCommand change NodeChange ObjectResized",function(r){var i=n.getContent();e(function(){t.mceModel=i}),t.mceChange(i)}),n.on("keydown",function(e){t.$emit("editor-keydown",e)}),n.on("init",function(e){t.mceModel=n.getContent()}),t.$on("html-update",function(e,r){n.setContent(r),n.selection.select(n.getBody(),!0),n.selection.collapse(!1),t.mceModel=n.getContent()})}t.tinymce.extraSetups.push(i),tinymce.PluginManager.add("customhr",function(e){e.addCommand("InsertHorizontalRule",function(){var t=document.createElement("hr"),n=e.selection.getNode(),r=n.parentNode;r.insertBefore(t,n)}),e.addButton("hr",{icon:"hr",tooltip:"Horizontal line",cmd:"InsertHorizontalRule"}),e.addMenuItem("hr",{icon:"hr",text:"Horizontal line",cmd:"InsertHorizontalRule",context:"insert"})}),tinymce.init(t.tinymce)}}}]),e.directive("markdownInput",["$timeout",function(e){return{restrict:"A",scope:{mdModel:"=",mdChange:"="},link:function(t,n,r){n=n.find("textarea").first();var o=n.val();t.mdModel=o,t.mdChange(i(o)),n.on("change input",function(r){o=n.val(),e(function(){t.mdModel=o,t.mdChange(i(o))})}),t.$on("markdown-update",function(e,r){n.val(r),t.mdModel=r,t.mdChange(i(r))})}}}]),e.directive("markdownEditor",["$timeout",function(e){return{restrict:"A",link:function(e,t,n){function r(){h=u[0].scrollHeight,p=u.height(),m=l[0].scrollHeight,g=l.height()}function i(){window.showEntityLinkSelector(function(e){var t=d,n=u[0].selectionEnd,r=n!==t,i=u.val();if(r){var o=i.substring(t,n),a="["+o+"]("+e.link+")";u.val(i.substring(0,t)+a+i.substring(n))}else{var s=" ["+e.name+"]("+e.link+") ";u.val(i.substring(0,t)+s+i.substring(t))}u.change()})}function o(e){if(e=e.originalEvent,e.clipboardData){var t=e.clipboardData.items;if(t)for(var n=0;na?"!["+c+"]":"![]")+("("+f+")");u[0].value=l.substring(0,a)+d+l.substring(s),u.focus(),u[0].selectionStart=a,u[0].selectionEnd=a;var h="image-"+Date.now()+"."+n;t.append("file",e,h),t.append("_token",document.querySelector('meta[name="token"]').getAttribute("content")),r.open("POST",window.baseUrl("/images/gallery/upload")),r.onload=function(){var e=u[0].selectionStart;if(200===r.status||201===r.status){var t=JSON.parse(r.responseText);u[0].value=u[0].value.replace(f,t.thumbs.display),u.change()}else console.log("An error occurred uploading the image"),console.log(r.responseText),u[0].value=u[0].value.replace(d,""),u.change();u.focus(),u[0].selectionStart=e,u[0].selectionEnd=e},r.send(t)}}var u=t.find("[markdown-input] textarea").first(),l=t.find(".markdown-display").first(),c=t.find('button[data-action="insertImage"]'),f=t.find('button[data-action="insertEntityLink"]'),d=0;u.blur(function(e){d=u[0].selectionStart});var h=void 0,p=void 0,m=void 0,g=void 0;setTimeout(function(){r()},200),window.addEventListener("resize",r);var v=800,$=0;u.on("scroll",function(e){ +var t=Date.now();t-$>v&&r();var n=u.scrollTop()/(h-p),i=(m-g)*n;l.scrollTop(i),$=t}),u.keydown(function(t){if(73===t.which&&t.ctrlKey&&t.shiftKey){t.preventDefault();var n=u[0].selectionStart,r=u.val(),o="![](http://)";return u.val(r.substring(0,n)+o+r.substring(n)),u.focus(),u[0].selectionStart=n+"![](".length,void(u[0].selectionEnd=n+"![](http://".length)}return 75===t.which&&t.ctrlKey&&t.shiftKey?void i():void e.$emit("editor-keydown",t)}),c.click(function(e){window.ImageManager.showExternal(function(e){var t=d,n=u.val(),r="!["+e.name+"]("+e.thumbs.display+")";u.val(n.substring(0,t)+r+n.substring(t)),u.change()})}),f.click(i),u.on("paste",o),u.on("drop",a)}}}]),e.directive("toolbox",[function(){return{restrict:"A",link:function(e,t,n){function r(e,n){i.removeClass("active"),o.hide(),i.filter('[tab-button="'+e+'"]').addClass("active"),o.filter('[tab-content="'+e+'"]').show(),n&&t.addClass("open")}var i=t.find("[tab-button]"),o=t.find("[tab-content]"),a=t.find("[toolbox-toggle]");a.click(function(e){t.toggleClass("open")}),r(o.first().attr("tab-content"),!1),i.click(function(e){var t=$(this).attr("tab-button");r(t,!0)})}}}]),e.directive("tagAutosuggestions",["$http",function(e){return{restrict:"A",link:function(t,n,r){function i(e,t){t[h].className="",h=e,t[h].className="active"}function o(e,t){if(0===t.length)return c.hide(),f=!1,void(m=t);if(f||(c.show(),f=!0),e!==d&&(c.detach(),e.after(c),d=e),m.join()===t.join())return void(m=t);c[0].innerHTML="";for(var n=0;n=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(){var e=document.documentElement.scrollTop||document.body.scrollTop||0;!i&&e>a?(o.style.display="block",i=!0,setTimeout(function(){o.style.opacity=.4},1)):i&&e0||navigator.userAgent.indexOf("Safari")!==-1)&&$("body").addClass("flexbox-support")}),e("./pages/page-show")},{"./controllers":17,"./directives":18,"./pages/page-show":21,"./services":22,angular:9,"angular-animate":2,"angular-resource":4,"angular-sanitize":6,"angular-ui-sortable":7}],20:[function(e,t,n){"use strict";function r(e,t){if(e.clipboardData){var n=e.clipboardData.items;if(n)for(var r=function(e){if(n[e].type.indexOf("image")===-1)return{v:void 0};var r=n[e].getAsFile(),i=new FormData,o="png",a=new XMLHttpRequest;if(r.name){var s=r.name.match(/\.(.+)$/);s&&(o=s[1])}var u="image-"+Math.random().toString(16).slice(2),l=window.baseUrl("/loading.gif");t.execCommand("mceInsertContent",!1,'');var c="image-"+Date.now()+"."+o;i.append("file",r,c),i.append("_token",document.querySelector('meta[name="token"]').getAttribute("content")),a.open("POST",window.baseUrl("/images/gallery/upload")),a.onload=function(){if(200===a.status||201===a.status){var e=JSON.parse(a.responseText);t.dom.setAttrib(u,"src",e.thumbs.display)}else console.log("An error occurred uploading the image",a.responseText),t.dom.remove(u)},a.send(i)},i=0;i';i+=''+t.name+'',i+="",r.tinyMCE.activeEditor.execCommand("mceInsertContent",!1,i)})},paste_preprocess:function(e,t){var n=t.content;n.indexOf('';n+=''+t.name+'',n+="",e.execCommand("mceInsertContent",!1,n)})}}),e.on("paste",function(t){r(t,e)})}}},{}],21:[function(e,t,n){"use strict";var r=e("zeroclipboard");r.config({swfPath:window.baseUrl("/ZeroClipboard.swf")}),window.setupPageShow=t.exports=function(e){function t(e){var t=$(".page-content #"+e).first();0!==t.length?(t.smoothScrollTo(),t.css("background-color","rgba(244, 249, 54, 0.25)")):$(".page-content").find(':contains("'+e+'")').smoothScrollTo()}function n(){d.width(h.width()+15),d.addClass("fixed"),g=!0}function i(){d.css("width","auto"),d.removeClass("fixed"),g=!1}function o(e){var t=f.scrollTop()>m;!t||g&&!e?t||!g&&!e||i():n()}function a(){o(!1)}var s=$("#pointer").detach(),u=s.children("div.pointer").first(),l=!1;if(s.on("click","input",function(e){$(this).select(),e.stopPropagation()}),new r(s.find("button").first()[0]),$(document.body).find("*").on("click focus",function(e){l||s.detach()}),$('.page-content [id^="bkmrk"]').on("mouseup keyup",function(t){t.stopPropagation();var n=window.getSelection();if(0!==n.toString().length){var r=$(this),i=window.baseUrl("/link/"+e+"#"+r.attr("id"));0!==i.indexOf("http")&&(i=window.location.protocol+"//"+window.location.host+i),s.find("input").val(i),s.find("button").first().attr("data-clipboard-text",i),r.before(s),s.show();var o=t.pageX-r.offset().left-u.width()/2;o<0&&(o=0);var a=o/r.width()*100;u.css("left",a+"%"),l=!0,setTimeout(function(){l=!1},100)}}),window.location.hash){var c=window.location.hash.replace(/\%20/g," ").substr(1);t(c)}var f=$(window),d=$(".book-tree"),h=d.parent(),p=$(document).height()>f.height()&&d.height()<$(".page-content").height(),m=$("#header").height()+$(".toolbar").height(),g=f.scrollTop()>m;p&&f.width()>1e3&&(f.on("scroll",a),o(!0)),f.on("resize",function(e){p&&f.width()>1e3?(f.on("scroll",a),o(!0)):(f.off("scroll",a),i())})}},{zeroclipboard:13}],22:[function(e,t,n){"use strict";t.exports=function(e,t){e.factory("imageManagerService",function(){return{show:!1,showExternal:!1}})}},{}]},{},[19]); \ No newline at end of file From f7b01ae53d85105170c45bb2564527c9b9c16cfb Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Tue, 6 Sep 2016 20:50:15 +0100 Subject: [PATCH 22/54] Updated assets for release v0.12.1 --- public/build/manifest.json | 6 +++--- public/css/export-styles.css | 2 +- public/css/styles.css | 2 +- public/js/common.js | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/public/build/manifest.json b/public/build/manifest.json index dd7b28b5680..225d30f493b 100644 --- a/public/build/manifest.json +++ b/public/build/manifest.json @@ -1,5 +1,5 @@ { - "css/styles.css": "css/styles.css?version=ba2edb5", - "css/print-styles.css": "css/print-styles.css?version=ba2edb5", - "js/common.js": "js/common.js?version=ba2edb5" + "css/styles.css": "css/styles.css?version=10caf1a", + "css/print-styles.css": "css/print-styles.css?version=10caf1a", + "js/common.js": "js/common.js?version=10caf1a" } \ No newline at end of file diff --git a/public/css/export-styles.css b/public/css/export-styles.css index bd77318b3c3..3f1ae664348 100644 --- a/public/css/export-styles.css +++ b/public/css/export-styles.css @@ -1 +1 @@ -*{box-sizing:border-box}html{background-color:#fff;height:100%;overflow-y:scroll}html.flexbox{overflow-y:hidden}body{font-family:Roboto,DejaVu Sans,Helvetica,Arial,sans-serif;font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}button{font-size:100%}table{min-width:100px}table td,table th{min-width:10px;padding:4px 6px;border:1px solid #ddd}.title-input input[type=text],h1{font-size:3.425em;line-height:1.22222222em;margin-top:.48888889em;margin-bottom:.48888889em}h2{font-size:2.8275em;line-height:1.294117647em;margin-top:.8627451em;margin-bottom:.43137255em}h3{font-size:1.75em;line-height:1.571428572em}h3,h4{margin-top:.78571429em;margin-bottom:.43137255em}h4{font-size:1em;line-height:1.375em}.title-input input[type=text],h1,h2,h3,h4{font-weight:400;position:relative;display:block;color:#555}.title-input input[type=text] .subheader,h1 .subheader,h2 .subheader,h3 .subheader,h4 .subheader{font-size:.5em;line-height:1em;color:#969696}.link,a{color:#0288d1;cursor:pointer;text-decoration:none;transition:color 80ms ease-in-out;font-family:Roboto,DejaVu Sans,Helvetica,Arial,sans-serif;line-height:1.6}.link:hover,a:hover{text-decoration:underline;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(90deg,#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;white-space:pre;font-size:.8em;overflow:hidden;border-radius:4px;box-shadow:0 1px 2px 0 hsla(0,0%,4%,.06);border:1px solid hsla(0,0%,87%,.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}pre code{background-color:transparent;border:0;font-size:1em}.text-pos,.text-pos:hover,p.pos,p .pos,p.pos:hover,p .pos:hover,span.pos,span.pos:hover{color:#52a256}.text-neg,.text-neg:hover,p.neg,p .neg,p.neg:hover,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,p.primary:hover,p .primary:hover,span.primary,span.primary:hover{color:#0288d1}.text-secondary,.text-secondary:hover,p.secondary,p .secondary,p.secondary:hover,p .secondary:hover,span.secondary,span.secondary:hover{color:#e27b41}.text-book,.text-book:hover{color:#009688}.text-page,.text-page:hover{color:#0288d1}.text-page.draft,.text-page.draft:hover{color:#9a60da}.text-chapter,.text-chapter:hover{color:#ef7c3c}.faded .text-book:hover{color:#009688!important}.faded .text-chapter:hover{color:#ef7c3c!important}.faded .text-page:hover{color:#0288d1!important}span.highlight{font-weight:700;padding:2px 4px}ul{list-style:disc}ol,ul{padding-left:20.8px;overflow:hidden}ol{list-style:decimal}.underlined{text-decoration:underline}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-bigger{font-size:1.1em}.text-large{font-size:1.6666em}.no-color{color:inherit}.header-group{margin:16px 0}.header-group .title-input input[type=text],.header-group h1,.header-group h2,.header-group h3,.header-group h4,.header-group h5,.header-group h6,.title-input .header-group input[type=text]{margin:0}span.sep{color:#bbb;padding:0 6px}.list>*{display:block}.action-header .title-input input[type=text],.action-header h1,.title-input .action-header input[type=text]{margin-top:16px}i{padding-right:6px}body.flexbox{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;height:100%;min-height:100%;max-height:100%;overflow:hidden}body.flexbox #content{-ms-flex:1;flex:1}.flex-fill,body.flexbox #content{display:-ms-flexbox;display:flex;min-height:0}.flex-fill{-ms-flex-align:stretch;align-items:stretch}.flex-fill.flex,.flex-fill .flex{min-height:0;-ms-flex:1;flex:1}.flex-child>div{-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.medium{max-width:992px}.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-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12,.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12,.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12,.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{position:relative;min-height:1px;padding-left:16px;padding-right:16px}.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{float:left}.col-xs-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-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12{float:left}.col-sm-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-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12{float:left}.col-md-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-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.row:after,.row:before{content:" ";display:table}.clearfix:after,.container-fluid:after,.container:after,.row:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.shaded{background-color:#f1f1f1}.shaded.pos{background-color:#d6ead7}.shaded.neg{background-color:#f4a9a9}.shaded.primary{background-color:#a1ddfe}.shaded.secondary{background-color:#f6d7c6}.bordered{border:1px solid #bbb}.bordered.pos{border-color:#52a256}.bordered.neg{border-color:#e84f4f}.bordered.primary{border-color:#0288d1}.bordered.secondary{border-color:#e27b41}.bordered.thick{border-width:2px}.rounded{border-radius:3px}.nopadding{padding:0}.padded{padding:24px}.padded.large{padding:32px}.padded>h1:first-child,.padded>h2:first-child,.padded>h3:first-child,.padded>h4:first-child,.title-input .padded>input[type=text]:first-child{margin-top:.1em}.padded-top,.padded-vertical{padding-top:16px}.padded-top.large,.padded-vertical.large{padding-top:32px}.padded-bottom,.padded-vertical{padding-bottom:16px}.padded-bottom.large,.padded-vertical.large{padding-bottom:32px}.padded-horizontal,.padded-left{padding-left:16px}.padded-horizontal.large,.padded-left.large{padding-left:32px}.padded-horizontal,.padded-right{padding-right:16px}.padded-horizontal.large,.padded-right.large{padding-right:32px}.margins{margin:24px}.margins.large{margin:32px}.margin-top,.margins-vertical{margin-top:16px}.margin-top.large,.margins-vertical.large{margin-top:32px}.margin-bottom,.margins-vertical{margin-bottom:16px}.margin-bottom.large,.margins-vertical.large{margin-bottom:32px}.margin-left,.margins-horizontal{margin-left:16px}.margin-left.large,.margins-horizontal.large{margin-left:32px}.margin-right,.margins-horizontal{margin-right:16px}.margin-right.large,.margins-horizontal.large{margin-right:32px}.callout{border-left:3px solid #bbb;background-color:#eee;padding:12px}.callout:before{font-family:Material-Design-Iconic-Font;padding-right:12px;display:inline-block}.callout.success{border-left-color:#52a256;background-color:#e7f3e7;color:#376c39}.callout.success:before{content:'\f269'}.callout.danger{border-left-color:#e84f4f;background-color:#fce8e8;color:#b91818}.callout.danger:before{content:'\f1f2'}.callout.info{border-left-color:#0288d1;background-color:#d3efff;color:#015380}.callout.info:before{content:'\f1f8'}.callout.warning{border-left-color:#e27b41;background-color:#faeae0;color:#b6531c}.callout.warning:before{content:'\f1f1'}.input-base,input[type=email],input[type=number],input[type=password],input[type=search],input[type=text],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=email],input.invalid[type=number],input.invalid[type=password],input.invalid[type=search],input.invalid[type=text],input.invalid[type=url],input.neg[type=email],input.neg[type=number],input.neg[type=password],input.neg[type=search],input.neg[type=text],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=email],input.pos[type=number],input.pos[type=password],input.pos[type=search],input.pos[type=text],input.pos[type=url],input.valid[type=email],input.valid[type=number],input.valid[type=password],input.valid[type=search],input.valid[type=text],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=email],input.disabled[type=number],input.disabled[type=password],input.disabled[type=search],input.disabled[type=text],input.disabled[type=url],input[disabled][type=email],input[disabled][type=number],input[disabled][type=password],input[disabled][type=search],input[disabled][type=text],input[disabled][type=url],select.disabled,select[disabled],textarea.disabled,textarea[disabled]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAMUlEQVQIW2NkwAGuXbv2nxGbHEhCS0uLEUMSJgHShCKJLIEiiS4Bl8QmAZbEJQGSBAC62BuJ+tt7zgAAAABJRU5ErkJggg==)}.input-base:focus,input[type=email]:focus,input[type=number]:focus,input[type=password]:focus,input[type=search]:focus,input[type=text]:focus,input[type=url]:focus,select:focus,textarea:focus{outline:0}#html-editor{display:none}#markdown-editor{position:relative;z-index:5}#markdown-editor textarea{font-family:Roboto Mono;font-style:normal;font-weight:400;padding:6px 16px;color:#444;border-radius:0;max-height:100%;-ms-flex:1;flex:1;border:0;width:100%}#markdown-editor textarea:focus{outline:0}#markdown-editor .markdown-display,#markdown-editor .markdown-editor-wrap{-ms-flex:1;flex:1;position:relative}#markdown-editor .markdown-editor-wrap{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;border:1px solid #ddd}#markdown-editor .markdown-display{padding:0 16px;margin-left:-1px;overflow-y:scroll}#markdown-editor .markdown-display .page-content{margin:0 auto}.editor-toolbar{width:100%;padding:6px 16px;font-family:Roboto Mono;font-size:11px;line-height:1.6;border-bottom:1px solid #ddd;background-color:#eee;-ms-flex:none;flex:none}.editor-toolbar:after{content:'';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}label.inline{display:inline-block}label.checkbox,label.radio{font-weight:400}label.checkbox input[type=checkbox],label.checkbox input[type=radio],label.radio input[type=checkbox],label.radio input[type=radio]{margin-right:6px}label+p.small{margin-bottom:.8em}.toggle-switch{display:inline-block;background-color:#bbb;width:36px;height:14px;border-radius:7px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.toggle-switch,.toggle-switch:after{position:relative;transition:all .12s ease-in-out}.toggle-switch:after{content:'';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 textarea{display:block;width:100%;min-height:64px}.form-group .text-neg,.form-group .text-pos{padding:6px 0}.description-input textarea,.inline-input-style,.title-input input[type=text]{border:2px dotted #bbb;display:block;width:100%;padding:6px 12px}.title-input .input{width:100%}.description-input label,.title-input label{margin-top:16px;color:#666}.title-input input[type=text]{margin-top:0;padding-right:0;width:100%;color:#444}.title-input.page-title{font-size:.8em}.title-input.page-title .input{border:0;margin-bottom:-1px}.title-input.page-title input[type=text]{max-width:840px;margin:0 auto;border:none}.page-title input{display:block;width:100%;font-size:1.4em}.description-input textarea{font-size:15px;color:#666;width:100%}.search-box,div[editor-type=markdown] .title-input.page-title input[type=text]{max-width:100%}.search-box{position:relative}.search-box button{background-color:transparent;border:none;color:#0288d1;padding:0;margin:0;cursor:pointer;margin-left:12px}.search-box button[type=submit]{margin-left:-24px}.search-box input{padding-right:24px;width:300px;max-width:100%}input.outline{border:0;border-bottom:2px solid #ddd;border-radius:0}input.outline:active,input.outline:focus{border:0;border-bottom:2px solid #aaa;outline:0}#login-form label[for=remember]{margin:0}#login-form label.toggle-switch{margin-left:32px}.image-picker img{background-color:#bbb}div[toggle-switch]{height:18px;width:150px}table.table{width:100%}table.table tr{border-bottom:1px solid #ddd}table.table td,table.table th{text-align:left;border:none;padding:6px;vertical-align:middle}table.table th{font-weight:700}table.table tr:hover{background-color:#eee}table{max-width:100%}table thead{background-color:#f8f8f8;font-weight:500}table.no-style td{border:0;padding:0}table.list-table{margin:-6px}table.list-table td{border:0;vertical-align:middle;padding:6px}header{display:block;z-index:2;top:0;background-color:#0288d1;color:#fff;border-bottom:1px solid #ddd}header .padded{padding:16px}header .links{display:inline-block;vertical-align:top;margin-right:32px}@media screen and (max-width:992px){header .links{margin-right:16px}}header .links a{display:inline-block;padding:24px;color:#fff}header .links a:last-child{padding-right:0}@media screen and (max-width:992px){header .links a{padding:24px 12px}}header .avatar,header .user-name{display:inline-block}header .avatar{width:30px;height:30px}header .user-name{padding-top:24px;display:inline-block;cursor:pointer}header .user-name,header .user-name>*{vertical-align:top}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}}@media screen and (max-width:992px){header{text-align:center}header .float.right{float:none}}@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;display:inline-block;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{vertical-align:top;margin-left:-24px;color:#fff;top:6px;right:4px;display:inline-block;position:absolute}form.search-box button:hover{color:#fff}.logo{display:inline-block}.logo:hover{color:#fff;text-decoration:none}.logo-text{display:inline-block;font-size:1.8em;color:#fff;font-weight:400;padding:24px 24px 24px 0;vertical-align:top;line-height:1}.logo-image{margin:16px 12px 16px 0;vertical-align:top;height:43px}.breadcrumbs span.sep{color:#aaa;padding:0 6px}.faded a,.faded button,.faded span,.faded span>div{color:#666}.faded .text-button{opacity:.5;transition:all .12s ease-in-out}.faded .text-button:hover{opacity:1;text-decoration:none}.faded span.faded-text{display:inline-block;padding:12px}.faded-small{color:#000;font-size:.9em;background-color:rgba(21,101,192,.15)}.action-buttons .text-button,.breadcrumbs .text-button{display:inline-block;padding:12px}.action-buttons .text-button:last-child,.breadcrumbs .text-button:last-child{padding-right:0}.action-buttons{text-align:right}.action-buttons.text-left{text-align:left}.action-buttons.text-left .text-button{padding-right:16px;padding-left:0}.action-buttons.text-center,.nav-tabs{text-align:center}.nav-tabs .tab-item,.nav-tabs a{padding:16px;display:inline-block;color:#666;cursor:pointer}.nav-tabs .tab-item.selected,.nav-tabs a.selected{border-bottom:2px solid #0288d1}.page-list h3{margin:24px 0 6px;font-size:1.666em}.page-list a.chapter{color:#ef7c3c}.page-list .inset-list{display:none;overflow:hidden;margin-bottom:24px}.page-list h4{display:block;margin:12px 0 0;border-left:5px solid #0288d1;padding:6px 0 6px 16px}.page-list h4.draft{border-left-color:#9a60da}.page-list hr{margin-top:0}.page-list .book,.page-list .chapter,.page-list .page{padding-left:24px}.page-list .page{border-left:5px solid #0288d1}.page-list .page.draft{border-left:5px solid #9a60da}.page-list .page.draft .text-page{color:#9a60da}.page-list .chapter{border-left:5px solid #ef7c3c}.page-list .book{border-left:5px solid #009688}.page-list .meta{margin-top:-16px;font-size:.95em}.page-list .meta span{margin-right:12px}.chapter-toggle{cursor:pointer;margin:0 0 24px;transition:all .18s ease-in-out;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.chapter-toggle i.zmdi-caret-right{transition:all .18s ease-in-out;transform:rotate(0deg);transform-origin:25% 50%}.chapter-toggle.open{margin-bottom:0}.chapter-toggle.open i.zmdi-caret-right{transform:rotate(90deg)}.page-nav-list{margin-left:2px;list-style:none}.page-nav-list li{padding-left:6px;border-left:2px solid #888;margin-bottom:4px}.page-nav-list li a{color:#555}.page-nav-list .nav-H2{margin-left:12px;font-size:.95em}.page-nav-list .nav-H3{margin-left:24px;font-size:.9em}.page-nav-list .nav-H4{margin-left:36px;font-size:.85em}.page-nav-list .nav-H5{margin-left:48px;font-size:.8em}.page-nav-list .nav-H6{margin-left:60px;font-size:.75em}.book-tree{padding:24px 0 0;position:relative;right:0;top:0;transition:.24s ease-in-out;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:hover{text-decoration:none}.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{float:left}.activity-list-item .left+.right{margin-left:42px}ul.pagination{display:inline-block;list-style:none;margin:16px 0;padding-left:1px}ul.pagination li{float:left}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}.compact ul.pagination{margin:0}.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>p.empty-text{display:block;font-size:15px}.entity-list.compact hr{margin:0}.dropdown-container{display:inline-block;vertical-align:top;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 li.padded{padding:6px 16px}.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:12px;padding-right:0;display:inline-block;width:16px}.dropdown-container ul li.border-bottom{border-bottom:1px solid #ddd}#page-show>.row .col-md-9{z-index:2}#page-show>.row .col-md-3{z-index:1}.page-editor{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}.page-editor .faded-small{height:auto}.page-editor .edit-area{-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column}.draft-notification{pointer-events:none;transform:scale(0);transition:transform .12s ease-in-out;transform-origin:50% 50%}.draft-notification.visible{transform:scale(1)}.page-style.editor{padding:0!important}.page-content{max-width:840px;overflow-wrap:break-word}.page-content .align-left{text-align:left}.page-content img.align-left,.page-content table.align-left{float:left!important;margin:6px 12px 6px 0}.page-content .align-right{float:right!important}.page-content img.align-right,.page-content table.align-right{text-align:right;margin:6px 0 6px 12px}.page-content .align-center{text-align:center}.page-content img{max-width:100%;height:auto}.page-content .title-input input[type=text],.page-content h1,.page-content h2,.page-content h3,.page-content h4,.page-content h5,.page-content h6,.page-content pre,.title-input .page-content input[type=text]{clear:left}.page-content hr{clear:both;margin:16px 0}.page-content table{word-break:break-all;word-break:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto}.pointer-container{position:relative;display:none;left:0;z-index:10}.pointer{border:1px solid #ccc;display:inline-block;padding:12px;border-radius:4px;box-shadow:0 0 8px 1px hsla(0,3%,83%,.35);top:-60px;width:272px;z-index:55}.pointer,.pointer:before{position:absolute;background-color:#fff}.pointer:before{left:50%;bottom:-9px;width:16px;height:16px;margin-left:-8px;content:'';display:block;transform:rotate(45deg);transform-origin:50% 50%;border-bottom:1px solid #ccc;border-right:1px solid #ccc;z-index:56}.pointer input{background-color:#fff;border:1px solid #ddd;color:#666;width:172px;z-index:40}.pointer button,.pointer input{position:relative;border-radius:0;height:28px;font-size:12px;vertical-align:top}.pointer>i{color:#888;font-size:18px;padding-top:4px}.pointer .button{line-height:1;margin:0 0 0 -4px;box-shadow:none}.floating-toolbox{background-color:#fff;border:1px solid #ddd;right:64px;z-index:99;width:48px;overflow:hidden;-ms-flex-align:stretch;align-items:stretch;-ms-flex-direction:row;flex-direction:row;display:-ms-flexbox;display:flex;transition:width .18s ease-in-out;margin-top:-1px;min-height:0}.floating-toolbox.open{width:480px}.floating-toolbox [toolbox-toggle] i{transition:transform .18s ease-in-out}.floating-toolbox [toolbox-toggle]{transition:background-color .18s ease-in-out}.floating-toolbox.open [toolbox-toggle]{background-color:rgba(255,0,0,.29)}.floating-toolbox.open [toolbox-toggle] i{transform:rotate(180deg)}.floating-toolbox>div{-ms-flex:1;flex:1;position:relative}.floating-toolbox .tabs{display:block;border-right:1px solid #ddd;width:48px;-ms-flex:0 1 auto;flex:0 1 auto}.floating-toolbox .tabs i{color:rgba(0,0,0,.5);padding:0;margin:0}.floating-toolbox .tabs>span{display:block;cursor:pointer;padding:12px 16px;font-size:13.5px;line-height:1.6;border-bottom:1px solid hsla(0,0%,100%,.3)}.floating-toolbox.open .tabs>span.active{color:#444;background-color:rgba(0,0,0,.1)}.floating-toolbox div[tab-content]{padding-bottom:45px;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;min-height:0;overflow-y:scroll}.floating-toolbox div[tab-content] .padded{-ms-flex:1;flex:1;padding-top:0}.floating-toolbox h4{font-size:24px;margin:16px 0 0;padding:0 24px 12px}.floating-toolbox .tags input{max-width:100%;width:100%;min-width:50px}.floating-toolbox .tags td{padding-right:12px;padding-top:12px;position:relative}.floating-toolbox button.pos{position:absolute;bottom:0;display:block;width:100%;padding:12px;height:45px;border:0;margin:0;box-shadow:none;border-radius:0}.floating-toolbox button.pos:hover{box-shadow:none}.floating-toolbox .handle{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:move;color:#999}.floating-toolbox form{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;overflow-y:scroll}[tab-content]{display:none}.tag-display{margin:32px 16px;border:1px solid #ddd;min-width:180px;max-width:320px;opacity:.7;z-index:5;position:relative}.tag-display table{width:100%;margin:0;padding:0}.tag-display .heading th{padding:6px 12px;color:#333;font-weight:400}.tag-display td{border:0;border-bottom:1px solid #ddd;padding:6px 12px;color:#444}.tag-display .tag-value{color:#888}.tag-display tr:last-child td{border-bottom:none}.tag-display .tag{padding:12px}.suggestion-box{position:absolute;background-color:#fff;border:1px solid #bbb;box-shadow:0 0 4px 1px #ccc;list-style:none;z-index:100;padding:0;margin:0;border-radius:3px}.suggestion-box li{display:block;padding:6px 12px;border-bottom:1px solid #ddd}.suggestion-box li:last-child{border-bottom:0}.suggestion-box li.active{background-color:#eee}table{border-spacing:0;border-collapse:collapse} \ No newline at end of file +*{box-sizing:border-box}html{background-color:#fff;height:100%;overflow-y:scroll}html.flexbox{overflow-y:hidden}body{font-family:Roboto,DejaVu Sans,Helvetica,Arial,sans-serif;font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}button{font-size:100%}.title-input input[type=text],h1{font-size:3.425em;line-height:1.22222222em;margin-top:.48888889em;margin-bottom:.48888889em}h2{font-size:2.8275em;line-height:1.294117647em;margin-top:.8627451em;margin-bottom:.43137255em}h3{font-size:1.75em;line-height:1.571428572em}h3,h4{margin-top:.78571429em;margin-bottom:.43137255em}h4{font-size:1em;line-height:1.375em}.title-input input[type=text],h1,h2,h3,h4{font-weight:400;position:relative;display:block;color:#555}.title-input input[type=text] .subheader,h1 .subheader,h2 .subheader,h3 .subheader,h4 .subheader{font-size:.5em;line-height:1em;color:#969696}.link,a{color:#0288d1;cursor:pointer;text-decoration:none;transition:color 80ms ease-in-out;font-family:Roboto,DejaVu Sans,Helvetica,Arial,sans-serif;line-height:1.6}.link:hover,a:hover{text-decoration:underline;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(90deg,#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;white-space:pre;font-size:.8em;overflow:hidden;border-radius:4px;box-shadow:0 1px 2px 0 hsla(0,0%,4%,.06);border:1px solid hsla(0,0%,87%,.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}pre code{background-color:transparent;border:0;font-size:1em}.text-pos,.text-pos:hover,p.pos,p .pos,p.pos:hover,p .pos:hover,span.pos,span.pos:hover{color:#52a256}.text-neg,.text-neg:hover,p.neg,p .neg,p.neg:hover,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,p.primary:hover,p .primary:hover,span.primary,span.primary:hover{color:#0288d1}.text-secondary,.text-secondary:hover,p.secondary,p .secondary,p.secondary:hover,p .secondary:hover,span.secondary,span.secondary:hover{color:#e27b41}.text-book,.text-book:hover{color:#009688}.text-page,.text-page:hover{color:#0288d1}.text-page.draft,.text-page.draft:hover{color:#9a60da}.text-chapter,.text-chapter:hover{color:#ef7c3c}.faded .text-book:hover{color:#009688!important}.faded .text-chapter:hover{color:#ef7c3c!important}.faded .text-page:hover{color:#0288d1!important}span.highlight{font-weight:700;padding:2px 4px}ul{list-style:disc}ol,ul{padding-left:20.8px;overflow:hidden}ol{list-style:decimal}.underlined{text-decoration:underline}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-bigger{font-size:1.1em}.text-large{font-size:1.6666em}.no-color{color:inherit}.header-group{margin:16px 0}.header-group .title-input input[type=text],.header-group h1,.header-group h2,.header-group h3,.header-group h4,.header-group h5,.header-group h6,.title-input .header-group input[type=text]{margin:0}span.sep{color:#bbb;padding:0 6px}.list>*{display:block}.action-header .title-input input[type=text],.action-header h1,.title-input .action-header input[type=text]{margin-top:16px}i{padding-right:6px}body.flexbox{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;height:100%;min-height:100%;max-height:100%;overflow:hidden}body.flexbox #content{-ms-flex:1;flex:1}.flex-fill,body.flexbox #content{display:-ms-flexbox;display:flex;min-height:0}.flex-fill{-ms-flex-align:stretch;align-items:stretch}.flex-fill.flex,.flex-fill .flex{min-height:0;-ms-flex:1;flex:1}.flex-child>div{-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.medium{max-width:992px}.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-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12,.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12,.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12,.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{position:relative;min-height:1px;padding-left:16px;padding-right:16px}.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{float:left}.col-xs-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-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12{float:left}.col-sm-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-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12{float:left}.col-md-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-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.row:after,.row:before{content:" ";display:table}.clearfix:after,.container-fluid:after,.container:after,.row:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.shaded{background-color:#f1f1f1}.shaded.pos{background-color:#d6ead7}.shaded.neg{background-color:#f4a9a9}.shaded.primary{background-color:#a1ddfe}.shaded.secondary{background-color:#f6d7c6}.bordered{border:1px solid #bbb}.bordered.pos{border-color:#52a256}.bordered.neg{border-color:#e84f4f}.bordered.primary{border-color:#0288d1}.bordered.secondary{border-color:#e27b41}.bordered.thick{border-width:2px}.rounded{border-radius:3px}.nopadding{padding:0}.padded{padding:24px}.padded.large{padding:32px}.padded>h1:first-child,.padded>h2:first-child,.padded>h3:first-child,.padded>h4:first-child,.title-input .padded>input[type=text]:first-child{margin-top:.1em}.padded-top,.padded-vertical{padding-top:16px}.padded-top.large,.padded-vertical.large{padding-top:32px}.padded-bottom,.padded-vertical{padding-bottom:16px}.padded-bottom.large,.padded-vertical.large{padding-bottom:32px}.padded-horizontal,.padded-left{padding-left:16px}.padded-horizontal.large,.padded-left.large{padding-left:32px}.padded-horizontal,.padded-right{padding-right:16px}.padded-horizontal.large,.padded-right.large{padding-right:32px}.margins{margin:24px}.margins.large{margin:32px}.margin-top,.margins-vertical{margin-top:16px}.margin-top.large,.margins-vertical.large{margin-top:32px}.margin-bottom,.margins-vertical{margin-bottom:16px}.margin-bottom.large,.margins-vertical.large{margin-bottom:32px}.margin-left,.margins-horizontal{margin-left:16px}.margin-left.large,.margins-horizontal.large{margin-left:32px}.margin-right,.margins-horizontal{margin-right:16px}.margin-right.large,.margins-horizontal.large{margin-right:32px}.callout{border-left:3px solid #bbb;background-color:#eee;padding:12px}.callout:before{font-family:Material-Design-Iconic-Font;padding-right:12px;display:inline-block}.callout.success{border-left-color:#52a256;background-color:#e7f3e7;color:#376c39}.callout.success:before{content:'\f269'}.callout.danger{border-left-color:#e84f4f;background-color:#fce8e8;color:#b91818}.callout.danger:before{content:'\f1f2'}.callout.info{border-left-color:#0288d1;background-color:#d3efff;color:#015380}.callout.info:before{content:'\f1f8'}.callout.warning{border-left-color:#e27b41;background-color:#faeae0;color:#b6531c}.callout.warning:before{content:'\f1f1'}.input-base,input[type=email],input[type=number],input[type=password],input[type=search],input[type=text],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=email],input.invalid[type=number],input.invalid[type=password],input.invalid[type=search],input.invalid[type=text],input.invalid[type=url],input.neg[type=email],input.neg[type=number],input.neg[type=password],input.neg[type=search],input.neg[type=text],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=email],input.pos[type=number],input.pos[type=password],input.pos[type=search],input.pos[type=text],input.pos[type=url],input.valid[type=email],input.valid[type=number],input.valid[type=password],input.valid[type=search],input.valid[type=text],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=email],input.disabled[type=number],input.disabled[type=password],input.disabled[type=search],input.disabled[type=text],input.disabled[type=url],input[disabled][type=email],input[disabled][type=number],input[disabled][type=password],input[disabled][type=search],input[disabled][type=text],input[disabled][type=url],select.disabled,select[disabled],textarea.disabled,textarea[disabled]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAMUlEQVQIW2NkwAGuXbv2nxGbHEhCS0uLEUMSJgHShCKJLIEiiS4Bl8QmAZbEJQGSBAC62BuJ+tt7zgAAAABJRU5ErkJggg==)}.input-base:focus,input[type=email]:focus,input[type=number]:focus,input[type=password]:focus,input[type=search]:focus,input[type=text]:focus,input[type=url]:focus,select:focus,textarea:focus{outline:0}#html-editor{display:none}#markdown-editor{position:relative;z-index:5}#markdown-editor textarea{font-family:Roboto Mono;font-style:normal;font-weight:400;padding:6px 16px;color:#444;border-radius:0;max-height:100%;-ms-flex:1;flex:1;border:0;width:100%}#markdown-editor textarea:focus{outline:0}#markdown-editor .markdown-display,#markdown-editor .markdown-editor-wrap{-ms-flex:1;flex:1;position:relative}#markdown-editor .markdown-editor-wrap{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;border:1px solid #ddd}#markdown-editor .markdown-display{padding:0 16px;margin-left:-1px;overflow-y:scroll}#markdown-editor .markdown-display .page-content{margin:0 auto}.editor-toolbar{width:100%;padding:6px 16px;font-family:Roboto Mono;font-size:11px;line-height:1.6;border-bottom:1px solid #ddd;background-color:#eee;-ms-flex:none;flex:none}.editor-toolbar:after{content:'';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}label.inline{display:inline-block}label.checkbox,label.radio{font-weight:400}label.checkbox input[type=checkbox],label.checkbox input[type=radio],label.radio input[type=checkbox],label.radio input[type=radio]{margin-right:6px}label+p.small{margin-bottom:.8em}.toggle-switch{display:inline-block;background-color:#bbb;width:36px;height:14px;border-radius:7px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.toggle-switch,.toggle-switch:after{position:relative;transition:all .12s ease-in-out}.toggle-switch:after{content:'';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 textarea{display:block;width:100%;min-height:64px}.form-group .text-neg,.form-group .text-pos{padding:6px 0}.description-input textarea,.inline-input-style,.title-input input[type=text]{border:2px dotted #bbb;display:block;width:100%;padding:6px 12px}.title-input .input{width:100%}.description-input label,.title-input label{margin-top:16px;color:#666}.title-input input[type=text]{margin-top:0;padding-right:0;width:100%;color:#444}.title-input.page-title{font-size:.8em}.title-input.page-title .input{border:0;margin-bottom:-1px}.title-input.page-title input[type=text]{max-width:840px;margin:0 auto;border:none}.page-title input{display:block;width:100%;font-size:1.4em}.description-input textarea{font-size:15px;color:#666;width:100%}.search-box,div[editor-type=markdown] .title-input.page-title input[type=text]{max-width:100%}.search-box{position:relative}.search-box button{background-color:transparent;border:none;color:#0288d1;padding:0;margin:0;cursor:pointer;margin-left:12px}.search-box button[type=submit]{margin-left:-24px}.search-box input{padding-right:24px;width:300px;max-width:100%}input.outline{border:0;border-bottom:2px solid #ddd;border-radius:0}input.outline:active,input.outline:focus{border:0;border-bottom:2px solid #aaa;outline:0}#login-form label[for=remember]{margin:0}#login-form label.toggle-switch{margin-left:32px}.image-picker img{background-color:#bbb}div[toggle-switch]{height:18px;width:150px}table{min-width:100px;max-width:100%}table thead{background-color:#f8f8f8;font-weight:500}table td,table th{min-width:10px;padding:6px 8px;border:1px solid #ddd;overflow:auto;line-height:1.2}table td p,table th p{margin:0}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;margin:0}table.table th{font-weight:700}table.table tr:hover{background-color:#eee}table.no-style td{border:0;padding:0}table.list-table{margin:-6px}table.list-table td{border:0;vertical-align:middle;padding:6px}header{display:block;z-index:2;top:0;background-color:#0288d1;color:#fff;border-bottom:1px solid #ddd}header .padded{padding:16px}header .links{display:inline-block;vertical-align:top;margin-right:32px}@media screen and (max-width:992px){header .links{margin-right:16px}}header .links a{display:inline-block;padding:24px;color:#fff}header .links a:last-child{padding-right:0}@media screen and (max-width:992px){header .links a{padding:24px 12px}}header .avatar,header .user-name{display:inline-block}header .avatar{width:30px;height:30px}header .user-name{padding-top:24px;display:inline-block;cursor:pointer}header .user-name,header .user-name>*{vertical-align:top}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}}@media screen and (max-width:992px){header{text-align:center}header .float.right{float:none}}@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;display:inline-block;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{vertical-align:top;margin-left:-24px;color:#fff;top:6px;right:4px;display:inline-block;position:absolute}form.search-box button:hover{color:#fff}.logo{display:inline-block}.logo:hover{color:#fff;text-decoration:none}.logo-text{display:inline-block;font-size:1.8em;color:#fff;font-weight:400;padding:24px 24px 24px 0;vertical-align:top;line-height:1}.logo-image{margin:16px 12px 16px 0;vertical-align:top;height:43px}.breadcrumbs span.sep{color:#aaa;padding:0 6px}.faded a,.faded button,.faded span,.faded span>div{color:#666}.faded .text-button{opacity:.5;transition:all .12s ease-in-out}.faded .text-button:hover{opacity:1;text-decoration:none}.faded span.faded-text{display:inline-block;padding:12px}.faded-small{color:#000;font-size:.9em;background-color:rgba(21,101,192,.15)}.action-buttons .text-button,.breadcrumbs .text-button{display:inline-block;padding:12px}.action-buttons .text-button:last-child,.breadcrumbs .text-button:last-child{padding-right:0}.action-buttons{text-align:right}.action-buttons.text-left{text-align:left}.action-buttons.text-left .text-button{padding-right:16px;padding-left:0}.action-buttons.text-center,.nav-tabs{text-align:center}.nav-tabs .tab-item,.nav-tabs a{padding:16px;display:inline-block;color:#666;cursor:pointer}.nav-tabs .tab-item.selected,.nav-tabs a.selected{border-bottom:2px solid #0288d1}.page-list h3{margin:24px 0 6px;font-size:1.666em}.page-list a.chapter{color:#ef7c3c}.page-list .inset-list{display:none;overflow:hidden;margin-bottom:24px}.page-list h4{display:block;margin:12px 0 0;border-left:5px solid #0288d1;padding:6px 0 6px 16px}.page-list h4.draft{border-left-color:#9a60da}.page-list hr{margin-top:0}.page-list .book,.page-list .chapter,.page-list .page{padding-left:24px}.page-list .page{border-left:5px solid #0288d1}.page-list .page.draft{border-left:5px solid #9a60da}.page-list .page.draft .text-page{color:#9a60da}.page-list .chapter{border-left:5px solid #ef7c3c}.page-list .book{border-left:5px solid #009688}.page-list .meta{margin-top:-16px;font-size:.95em}.page-list .meta span{margin-right:12px}.chapter-toggle{cursor:pointer;margin:0 0 24px;transition:all .18s ease-in-out;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.chapter-toggle i.zmdi-caret-right{transition:all .18s ease-in-out;transform:rotate(0deg);transform-origin:25% 50%}.chapter-toggle.open{margin-bottom:0}.chapter-toggle.open i.zmdi-caret-right{transform:rotate(90deg)}.page-nav-list{margin-left:2px;list-style:none}.page-nav-list li{padding-left:6px;border-left:2px solid #888;margin-bottom:4px}.page-nav-list li a{color:#555}.page-nav-list .nav-H2{margin-left:12px;font-size:.95em}.page-nav-list .nav-H3{margin-left:24px;font-size:.9em}.page-nav-list .nav-H4{margin-left:36px;font-size:.85em}.page-nav-list .nav-H5{margin-left:48px;font-size:.8em}.page-nav-list .nav-H6{margin-left:60px;font-size:.75em}.book-tree{padding:24px 0 0;position:relative;right:0;top:0;transition:.24s ease-in-out;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:hover{text-decoration:none}.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{float:left}.activity-list-item .left+.right{margin-left:42px}ul.pagination{display:inline-block;list-style:none;margin:16px 0;padding-left:1px}ul.pagination li{float:left}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}.compact ul.pagination{margin:0}.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>p.empty-text{display:block;font-size:15px}.entity-list.compact hr{margin:0}.dropdown-container{display:inline-block;vertical-align:top;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 li.padded{padding:6px 16px}.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:12px;padding-right:0;display:inline-block;width:16px}.dropdown-container ul li.border-bottom{border-bottom:1px solid #ddd}#page-show>.row .col-md-9{z-index:2}#page-show>.row .col-md-3{z-index:1}.page-editor{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}.page-editor .faded-small{height:auto}.page-editor .edit-area{-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column}.draft-notification{pointer-events:none;transform:scale(0);transition:transform .12s ease-in-out;transform-origin:50% 50%}.draft-notification.visible{transform:scale(1)}.page-style.editor{padding:0!important}.page-content{max-width:840px;overflow-wrap:break-word}.page-content .align-left{text-align:left}.page-content img.align-left,.page-content table.align-left{float:left!important;margin:6px 12px 6px 0}.page-content .align-right{float:right!important}.page-content img.align-right,.page-content table.align-right{text-align:right;margin:6px 0 6px 12px}.page-content .align-center{text-align:center}.page-content img{max-width:100%;height:auto}.page-content .title-input input[type=text],.page-content h1,.page-content h2,.page-content h3,.page-content h4,.page-content h5,.page-content h6,.page-content pre,.title-input .page-content input[type=text]{clear:left}.page-content hr{clear:both;margin:16px 0}.page-content table{-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;table-layout:fixed;max-width:100%;height:auto!important}.pointer-container{position:relative;display:none;left:0;z-index:10}.pointer{border:1px solid #ccc;display:inline-block;padding:12px;border-radius:4px;box-shadow:0 0 8px 1px hsla(0,3%,83%,.35);top:-60px;width:272px;z-index:55}.pointer,.pointer:before{position:absolute;background-color:#fff}.pointer:before{left:50%;bottom:-9px;width:16px;height:16px;margin-left:-8px;content:'';display:block;transform:rotate(45deg);transform-origin:50% 50%;border-bottom:1px solid #ccc;border-right:1px solid #ccc;z-index:56}.pointer input{background-color:#fff;border:1px solid #ddd;color:#666;width:172px;z-index:40}.pointer button,.pointer input{position:relative;border-radius:0;height:28px;font-size:12px;vertical-align:top}.pointer>i{color:#888;font-size:18px;padding-top:4px}.pointer .button{line-height:1;margin:0 0 0 -4px;box-shadow:none}.floating-toolbox{background-color:#fff;border:1px solid #ddd;right:64px;z-index:99;width:48px;overflow:hidden;-ms-flex-align:stretch;align-items:stretch;-ms-flex-direction:row;flex-direction:row;display:-ms-flexbox;display:flex;transition:width .18s ease-in-out;margin-top:-1px;min-height:0}.floating-toolbox.open{width:480px}.floating-toolbox [toolbox-toggle] i{transition:transform .18s ease-in-out}.floating-toolbox [toolbox-toggle]{transition:background-color .18s ease-in-out}.floating-toolbox.open [toolbox-toggle]{background-color:rgba(255,0,0,.29)}.floating-toolbox.open [toolbox-toggle] i{transform:rotate(180deg)}.floating-toolbox>div{-ms-flex:1;flex:1;position:relative}.floating-toolbox .tabs{display:block;border-right:1px solid #ddd;width:48px;-ms-flex:0 1 auto;flex:0 1 auto}.floating-toolbox .tabs i{color:rgba(0,0,0,.5);padding:0;margin:0}.floating-toolbox .tabs>span{display:block;cursor:pointer;padding:12px 16px;font-size:13.5px;line-height:1.6;border-bottom:1px solid hsla(0,0%,100%,.3)}.floating-toolbox.open .tabs>span.active{color:#444;background-color:rgba(0,0,0,.1)}.floating-toolbox div[tab-content]{padding-bottom:45px;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;min-height:0;overflow-y:scroll}.floating-toolbox div[tab-content] .padded{-ms-flex:1;flex:1;padding-top:0}.floating-toolbox h4{font-size:24px;margin:16px 0 0;padding:0 24px 12px}.floating-toolbox .tags input{max-width:100%;width:100%;min-width:50px}.floating-toolbox .tags td{padding-right:12px;padding-top:12px;position:relative}.floating-toolbox button.pos{position:absolute;bottom:0;display:block;width:100%;padding:12px;height:45px;border:0;margin:0;box-shadow:none;border-radius:0}.floating-toolbox button.pos:hover{box-shadow:none}.floating-toolbox .handle{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:move;color:#999}.floating-toolbox form{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;overflow-y:scroll}[tab-content]{display:none}.tag-display{margin:32px 16px;border:1px solid #ddd;min-width:180px;max-width:320px;opacity:.7;z-index:5;position:relative}.tag-display table{width:100%;margin:0;padding:0}.tag-display .heading th{padding:6px 12px;color:#333;font-weight:400}.tag-display td{border:0;border-bottom:1px solid #ddd;padding:6px 12px;color:#444}.tag-display .tag-value{color:#888}.tag-display tr:last-child td{border-bottom:none}.tag-display .tag{padding:12px}.suggestion-box{position:absolute;background-color:#fff;border:1px solid #bbb;box-shadow:0 0 4px 1px #ccc;list-style:none;z-index:100;padding:0;margin:0;border-radius:3px}.suggestion-box li{display:block;padding:6px 12px;border-bottom:1px solid #ddd}.suggestion-box li:last-child{border-bottom:0}.suggestion-box li.active{background-color:#eee}table{border-spacing:0;border-collapse:collapse} \ No newline at end of file diff --git a/public/css/styles.css b/public/css/styles.css index 5c0ee67c097..e435f68666f 100644 --- a/public/css/styles.css +++ b/public/css/styles.css @@ -1 +1 @@ -.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-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:'';content:none}table{border-collapse:collapse;border-spacing:0}@font-face{font-family:Roboto;font-style:normal;font-weight:100;src:local("Roboto Thin"),local("Roboto-Thin"),url(../fonts/roboto-v15-cyrillic_latin-100.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-100.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:100;src:local("Roboto Thin Italic"),local("Roboto-ThinItalic"),url(../fonts/roboto-v15-cyrillic_latin-100italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-100italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:300;src:local("Roboto Light"),local("Roboto-Light"),url(../fonts/roboto-v15-cyrillic_latin-300.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-300.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:300;src:local("Roboto Light Italic"),local("Roboto-LightItalic"),url(../fonts/roboto-v15-cyrillic_latin-300italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-300italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:local("Roboto"),local("Roboto-Regular"),url(../fonts/roboto-v15-cyrillic_latin-regular.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-regular.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:400;src:local("Roboto Italic"),local("Roboto-Italic"),url(../fonts/roboto-v15-cyrillic_latin-italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:500;src:local("Roboto Medium"),local("Roboto-Medium"),url(../fonts/roboto-v15-cyrillic_latin-500.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-500.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:500;src:local("Roboto Medium Italic"),local("Roboto-MediumItalic"),url(../fonts/roboto-v15-cyrillic_latin-500italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-500italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:700;src:local("Roboto Bold"),local("Roboto-Bold"),url(../fonts/roboto-v15-cyrillic_latin-700.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-700.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:700;src:local("Roboto Bold Italic"),local("Roboto-BoldItalic"),url(../fonts/roboto-v15-cyrillic_latin-700italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-700italic.woff) format("woff")}@font-face{font-family:Roboto Mono;font-style:normal;font-weight:400;src:local("Roboto Mono"),local("RobotoMono-Regular"),url(../fonts/roboto-mono-v4-latin-regular.woff2) format("woff2"),url(../fonts/roboto-mono-v4-latin-regular.woff) format("woff")}*{box-sizing:border-box}html{background-color:#fff;height:100%;overflow-y:scroll}html.flexbox{overflow-y:hidden}body{font-family:Roboto,DejaVu Sans,Helvetica,Arial,sans-serif;font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}button{font-size:100%}table{min-width:100px}table td,table th{min-width:10px;padding:4px 6px;border:1px solid #ddd}.title-input input[type=text],h1{font-size:3.425em;line-height:1.22222222em;margin-top:.48888889em;margin-bottom:.48888889em}h2{font-size:2.8275em;line-height:1.294117647em;margin-top:.8627451em;margin-bottom:.43137255em}h3{font-size:1.75em;line-height:1.571428572em}h3,h4{margin-top:.78571429em;margin-bottom:.43137255em}h4{font-size:1em;line-height:1.375em}.title-input input[type=text],h1,h2,h3,h4{font-weight:400;position:relative;display:block;color:#555}.title-input input[type=text] .subheader,h1 .subheader,h2 .subheader,h3 .subheader,h4 .subheader{font-size:.5em;line-height:1em;color:#969696}.link,.text-button,a{color:#0288d1;cursor:pointer;text-decoration:none;transition:color 80ms ease-in-out;font-family:Roboto,DejaVu Sans,Helvetica,Arial,sans-serif;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(90deg,#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;white-space:pre;font-size:.8em;overflow:hidden;border-radius:4px;box-shadow:0 1px 2px 0 hsla(0,0%,4%,.06);border:1px solid hsla(0,0%,87%,.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}pre code{background-color:transparent;border:0;font-size:1em}.text-pos,.text-pos:hover,p.pos,p .pos,p.pos:hover,p .pos:hover,span.pos,span.pos:hover{color:#52a256}.text-neg,.text-neg:hover,p.neg,p .neg,p.neg:hover,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,p.primary:hover,p .primary:hover,span.primary,span.primary:hover{color:#0288d1}.text-secondary,.text-secondary:hover,p.secondary,p .secondary,p.secondary:hover,p .secondary:hover,span.secondary,span.secondary:hover{color:#e27b41}.text-book,.text-book:hover{color:#009688}.text-page,.text-page:hover{color:#0288d1}.text-page.draft,.text-page.draft:hover{color:#9a60da}.text-chapter,.text-chapter:hover{color:#ef7c3c}.faded .text-book:hover{color:#009688!important}.faded .text-chapter:hover{color:#ef7c3c!important}.faded .text-page:hover{color:#0288d1!important}span.highlight{font-weight:700;padding:2px 4px}ul{list-style:disc}ol,ul{padding-left:20.8px;overflow:hidden}ol{list-style:decimal}.underlined{text-decoration:underline}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-bigger{font-size:1.1em}.text-large{font-size:1.6666em}.no-color{color:inherit}.header-group{margin:16px 0}.header-group .title-input input[type=text],.header-group h1,.header-group h2,.header-group h3,.header-group h4,.header-group h5,.header-group h6,.title-input .header-group input[type=text]{margin:0}span.sep{color:#bbb;padding:0 6px}.list>*{display:block}.action-header .title-input input[type=text],.action-header h1,.title-input .action-header input[type=text]{margin-top:16px}i{padding-right:6px}body.flexbox{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;height:100%;min-height:100%;max-height:100%;overflow:hidden}body.flexbox #content{-ms-flex:1;flex:1}.flex-fill,body.flexbox #content{display:-ms-flexbox;display:flex;min-height:0}.flex-fill{-ms-flex-align:stretch;align-items:stretch}.flex-fill.flex,.flex-fill .flex{min-height:0;-ms-flex:1;flex:1}.flex-child>div{-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.medium{max-width:992px}.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-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12,.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12,.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12,.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{position:relative;min-height:1px;padding-left:16px;padding-right:16px}.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{float:left}.col-xs-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-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12{float:left}.col-sm-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-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12{float:left}.col-md-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-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.row:after,.row:before{content:" ";display:table}.clearfix:after,.container-fluid:after,.container:after,.row:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.shaded{background-color:#f1f1f1}.shaded.pos{background-color:#d6ead7}.shaded.neg{background-color:#f4a9a9}.shaded.primary{background-color:#a1ddfe}.shaded.secondary{background-color:#f6d7c6}.bordered{border:1px solid #bbb}.bordered.pos{border-color:#52a256}.bordered.neg{border-color:#e84f4f}.bordered.primary{border-color:#0288d1}.bordered.secondary{border-color:#e27b41}.bordered.thick{border-width:2px}.rounded{border-radius:3px}.nopadding{padding:0}.padded{padding:24px}.padded.large{padding:32px}.padded>h1:first-child,.padded>h2:first-child,.padded>h3:first-child,.padded>h4:first-child,.title-input .padded>input[type=text]:first-child{margin-top:.1em}.padded-top,.padded-vertical{padding-top:16px}.padded-top.large,.padded-vertical.large{padding-top:32px}.padded-bottom,.padded-vertical{padding-bottom:16px}.padded-bottom.large,.padded-vertical.large{padding-bottom:32px}.padded-horizontal,.padded-left{padding-left:16px}.padded-horizontal.large,.padded-left.large{padding-left:32px}.padded-horizontal,.padded-right{padding-right:16px}.padded-horizontal.large,.padded-right.large{padding-right:32px}.margins{margin:24px}.margins.large{margin:32px}.margin-top,.margins-vertical{margin-top:16px}.margin-top.large,.margins-vertical.large{margin-top:32px}.margin-bottom,.margins-vertical{margin-bottom:16px}.margin-bottom.large,.margins-vertical.large{margin-bottom:32px}.margin-left,.margins-horizontal{margin-left:16px}.margin-left.large,.margins-horizontal.large{margin-left:32px}.margin-right,.margins-horizontal{margin-right:16px}.margin-right.large,.margins-horizontal.large{margin-right:32px}.callout{border-left:3px solid #bbb;background-color:#eee;padding:12px}.callout:before{font-family:Material-Design-Iconic-Font;padding-right:12px;display:inline-block}.callout.success{border-left-color:#52a256;background-color:#e7f3e7;color:#376c39}.callout.success:before{content:'\f269'}.callout.danger{border-left-color:#e84f4f;background-color:#fce8e8;color:#b91818}.callout.danger:before{content:'\f1f2'}.callout.info{border-left-color:#0288d1;background-color:#d3efff;color:#015380}.callout.info:before{content:'\f1f8'}.callout.warning{border-left-color:#e27b41;background-color:#faeae0;color:#b6531c}.callout.warning:before{content:'\f1f1'}.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 .12s ease-in-out;box-shadow:0 .5px 1.5px 0 rgba(0,0,0,.21);background-color:#0288d1;color:#eee}.button-base:hover,.button:hover,input[type=button]:hover,input[type=submit]:hover{background-color:#02a2f9;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#eee}.button-base:active,.button:active,input[type=button]:active,input[type=submit]:active{background-color:#026ea9}.button-base:focus,.button:focus,input[type=button]:focus,input[type=submit]:focus{background-color:#0295e5;box-shadow:0 0 4px 1px #ccc;text-decoration:none;color:#eee}.button.pos,input[type=button].pos,input[type=submit].pos{background-color:#52a256;color:#eee}.button.pos:hover,input[type=button].pos:hover,input[type=submit].pos:hover{background-color:#69b36d;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#eee}.button.pos:active,input[type=button].pos:active,input[type=submit].pos:active{background-color:#448748}.button.pos:focus,input[type=button].pos:focus,input[type=submit].pos:focus{background-color:#5cac60;box-shadow:0 0 4px 1px #ccc;text-decoration:none;color:#eee}.button.neg,input[type=button].neg,input[type=submit].neg{background-color:#e84f4f;color:#eee}.button.neg:hover,input[type=button].neg:hover,input[type=submit].neg:hover{background-color:#ed7373;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#eee}.button.neg:active,input[type=button].neg:active,input[type=submit].neg:active{background-color:#e32b2b}.button.neg:focus,input[type=button].neg:focus,input[type=submit].neg:focus{background-color:#ea6161;box-shadow:0 0 4px 1px #ccc;text-decoration:none;color:#eee}.button.secondary,input[type=button].secondary,input[type=submit].secondary{background-color:#e27b41;color:#eee}.button.secondary:hover,input[type=button].secondary:hover,input[type=submit].secondary:hover{background-color:#e79464;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#eee}.button.secondary:active,input[type=button].secondary:active,input[type=submit].secondary:active{background-color:#d96321}.button.secondary:focus,input[type=button].secondary:focus,input[type=submit].secondary:focus{background-color:#e58753;box-shadow:0 0 4px 1px #ccc;text-decoration:none;color:#eee}.button.muted,input[type=button].muted,input[type=submit].muted{background-color:#888;color:#eee}.button.muted:hover,input[type=button].muted:hover,input[type=submit].muted:hover{background-color:#9c9c9c;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#eee}.button.muted:active,input[type=button].muted:active,input[type=submit].muted:active{background-color:#747474}.button.muted:focus,input[type=button].muted:focus,input[type=submit].muted:focus{background-color:#929292;box-shadow:0 0 4px 1px #ccc;text-decoration:none;color:#eee}.text-button{background-color:transparent;padding:0;margin:0;border:none}.text-button:active,.text-button:focus{outline:0}.text-button:hover{text-decoration:none}.text-button.neg{color:#e84f4f}.button-group:after{display:block;content:'';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}.button[disabled],.button[disabled]:hover{background-color:#bbb;cursor:default}.button[disabled]:hover{box-shadow:none}.input-base,input[type=email],input[type=number],input[type=password],input[type=search],input[type=text],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=email],input.invalid[type=number],input.invalid[type=password],input.invalid[type=search],input.invalid[type=text],input.invalid[type=url],input.neg[type=email],input.neg[type=number],input.neg[type=password],input.neg[type=search],input.neg[type=text],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=email],input.pos[type=number],input.pos[type=password],input.pos[type=search],input.pos[type=text],input.pos[type=url],input.valid[type=email],input.valid[type=number],input.valid[type=password],input.valid[type=search],input.valid[type=text],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=email],input.disabled[type=number],input.disabled[type=password],input.disabled[type=search],input.disabled[type=text],input.disabled[type=url],input[disabled][type=email],input[disabled][type=number],input[disabled][type=password],input[disabled][type=search],input[disabled][type=text],input[disabled][type=url],select.disabled,select[disabled],textarea.disabled,textarea[disabled]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAMUlEQVQIW2NkwAGuXbv2nxGbHEhCS0uLEUMSJgHShCKJLIEiiS4Bl8QmAZbEJQGSBAC62BuJ+tt7zgAAAABJRU5ErkJggg==)}.input-base:focus,input[type=email]:focus,input[type=number]:focus,input[type=password]:focus,input[type=search]:focus,input[type=text]:focus,input[type=url]:focus,select:focus,textarea:focus{outline:0}#html-editor{display:none}#markdown-editor{position:relative;z-index:5}#markdown-editor textarea{font-family:Roboto Mono;font-style:normal;font-weight:400;padding:6px 16px;color:#444;border-radius:0;max-height:100%;-ms-flex:1;flex:1;border:0;width:100%}#markdown-editor textarea:focus{outline:0}#markdown-editor .markdown-display,#markdown-editor .markdown-editor-wrap{-ms-flex:1;flex:1;position:relative}#markdown-editor .markdown-editor-wrap{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;border:1px solid #ddd}#markdown-editor .markdown-display{padding:0 16px;margin-left:-1px;overflow-y:scroll}#markdown-editor .markdown-display .page-content{margin:0 auto}.editor-toolbar{width:100%;padding:6px 16px;font-family:Roboto Mono;font-size:11px;line-height:1.6;border-bottom:1px solid #ddd;background-color:#eee;-ms-flex:none;flex:none}.editor-toolbar:after{content:'';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}label.inline{display:inline-block}label.checkbox,label.radio{font-weight:400}label.checkbox input[type=checkbox],label.checkbox input[type=radio],label.radio input[type=checkbox],label.radio input[type=radio]{margin-right:6px}label+p.small{margin-bottom:.8em}.toggle-switch{display:inline-block;background-color:#bbb;width:36px;height:14px;border-radius:7px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.toggle-switch,.toggle-switch:after{position:relative;transition:all .12s ease-in-out}.toggle-switch:after{content:'';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 textarea{display:block;width:100%;min-height:64px}.form-group .text-neg,.form-group .text-pos{padding:6px 0}.description-input textarea,.inline-input-style,.title-input input[type=text]{border:2px dotted #bbb;display:block;width:100%;padding:6px 12px}.title-input .input{width:100%}.description-input label,.title-input label{margin-top:16px;color:#666}.title-input input[type=text]{margin-top:0;padding-right:0;width:100%;color:#444}.title-input.page-title{font-size:.8em}.title-input.page-title .input{border:0;margin-bottom:-1px}.title-input.page-title input[type=text]{max-width:840px;margin:0 auto;border:none}.page-title input{display:block;width:100%;font-size:1.4em}.description-input textarea{font-size:15px;color:#666;width:100%}.search-box,div[editor-type=markdown] .title-input.page-title input[type=text]{max-width:100%}.search-box{position:relative}.search-box button{background-color:transparent;border:none;color:#0288d1;padding:0;margin:0;cursor:pointer;margin-left:12px}.search-box button[type=submit]{margin-left:-24px}.search-box input{padding-right:24px;width:300px;max-width:100%}input.outline{border:0;border-bottom:2px solid #ddd;border-radius:0}input.outline:active,input.outline:focus{border:0;border-bottom:2px solid #aaa;outline:0}#login-form label[for=remember]{margin:0}#login-form label.toggle-switch{margin-left:32px}.image-picker img{background-color:#bbb}div[toggle-switch]{height:18px;width:150px}table.table{width:100%}table.table tr{border-bottom:1px solid #ddd}table.table td,table.table th{text-align:left;border:none;padding:6px;vertical-align:middle}table.table th{font-weight:700}table.table tr:hover{background-color:#eee}table{max-width:100%}table thead{background-color:#f8f8f8;font-weight:500}table.no-style td{border:0;padding:0}table.list-table{margin:-6px}table.list-table td{border:0;vertical-align:middle;padding:6px}.anim.fadeIn{opacity:0;animation-name:fadeIn;animation-duration:.16s;animation-timing-function:ease-in-out;animation-fill-mode:forwards}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.anim.searchResult{opacity:0;transform:translate3d(580px,0,0);animation-name:searchResult;animation-duration:.22s;animation-fill-mode:forwards;animation-timing-function:cubic-bezier(.62,.28,.23,.99)}@keyframes searchResult{0%{opacity:0;transform:translate3d(400px,0,0)}to{opacity:1;transform:translateZ(0)}}.anim.notification{transform:translate3d(580px,0,0);animation-name:notification;animation-duration:3s;animation-timing-function:ease-in-out;animation-fill-mode:forwards}.anim.notification.stopped{animation-name:notificationStopped}@keyframes notification{0%{transform:translate3d(580px,0,0)}10%{transform:translateZ(0)}90%{transform:translateZ(0)}to{transform:translate3d(580px,0,0)}}@keyframes notificationStopped{0%{transform:translate3d(580px,0,0)}10%{transform:translateZ(0)}to{transform:translateZ(0)}}@keyframes menuIn{0%{opacity:0;transform:scale3d(0,0,1)}to{opacity:1;transform:scaleX(1)}}.anim.menuIn{transform-origin:100% 0;animation-name:menuIn;animation-duration:.12s;animation-delay:0s;animation-timing-function:cubic-bezier(.62,.28,.23,.99)}@keyframes loadingBob{0%{transform:translateZ(0)}30%{transform:translateZ(0)}50%{transform:translate3d(0,-10px,0)}70%{transform:translateZ(0)}to{transform:translateZ(0)}}@keyframes pointer{0%{transform:translate3d(0,20px,0) scale3d(0,0,0)}to{transform:translateZ(0) scaleX(1)}}.anim.pointer{transform-origin:50% 100%;animation-name:pointer;animation-duration:.18s;animation-delay:0s;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>div>.mce-tinymce.mce-container.mce-panel{margin:0 -1px}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel,.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body{-ms-flex:1 1 auto;flex:1 1 auto;display:-ms-flexbox!important;display:flex!important;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-toolbar-grp{-ms-flex:0 1 auto;flex:0 1 auto}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-edit-area{-ms-flex:1 1 auto;flex:1 1 auto;display:-ms-flexbox!important;display:flex!important;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-edit-area iframe{-ms-flex:1;flex:1}.hljs{display:block;overflow-x:auto;padding:.5em;background:#fdf6e3;color:#657b83;-webkit-text-size-adjust:none}.diff .hljs-header,.hljs-comment,.hljs-doctype,.hljs-pi,.lisp .hljs-string{color:#93a1a1}.css .hljs-tag,.hljs-addition,.hljs-keyword,.hljs-request,.hljs-status,.hljs-winutils,.method,.nginx .hljs-title{color:#859900}.hljs-command,.hljs-doctag,.hljs-hexcolor,.hljs-link_url,.hljs-number,.hljs-regexp,.hljs-rule .hljs-value,.hljs-string,.hljs-tag .hljs-value,.tex .hljs-formula{color:#2aa198}.css .hljs-function,.hljs-built_in,.hljs-chunk,.hljs-decorator,.hljs-id,.hljs-identifier,.hljs-localvars,.hljs-name,.hljs-title,.vhdl .hljs-literal{color:#268bd2}.hljs-attribute,.hljs-class .hljs-title,.hljs-constant,.hljs-link_reference,.hljs-parent,.hljs-type,.hljs-variable,.lisp .hljs-body,.smalltalk .hljs-number{color:#b58900}.css .hljs-pseudo,.diff .hljs-change,.hljs-attr_selector,.hljs-cdata,.hljs-header,.hljs-pragma,.hljs-preprocessor,.hljs-preprocessor .hljs-keyword,.hljs-shebang,.hljs-special,.hljs-subst,.hljs-symbol,.hljs-symbol .hljs-string{color:#cb4b16}.hljs-deletion,.hljs-important{color:#dc322f}.hljs-link_label{color:#6c71c4}.tex .hljs-formula{background:#eee8d5}.overlay{background-color:rgba(0,0,0,.333);position:fixed;z-index:95536;width:100%;height:100%;min-width:100%;min-height:100%;top:0;left:0;right:0;bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;display:none}.popup-body,.popup-body-wrap{display:-ms-flexbox;display:flex}.popup-body{background-color:#fff;max-height:90%;width:1200px;height:auto;margin:2% 5%;border-radius:4px;box-shadow:0 0 15px 0 rgba(0,0,0,.3);overflow:hidden;z-index:999;-ms-flex-direction:column;flex-direction:column}.popup-body.small{margin:2% auto;width:800px;max-width:90%}.popup-body:before{display:-ms-flexbox;display:flex;-ms-flex-item-align:start;align-self:flex-start}.corner-button{position:absolute;top:0;right:0;margin:0;height:40px;border-radius:0;box-shadow:none}.popup-footer,.popup-header{display:block!important;position:relative;height:40px;-ms-flex:none!important;flex:none!important}.popup-footer .popup-title,.popup-header .popup-title{color:#fff;padding:8px 16px}body.flexbox-support #entity-selector-wrap .popup-body .form-group{height:444px;min-height:444px}#entity-selector-wrap .popup-body .form-group{margin:0}.image-manager-body{min-height:70vh}#image-manager .dropzone-container{position:relative;border:3px dashed #ddd}.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 .16s cubic-bezier(.4,0,1,1);overflow:hidden}.image-manager-list .image.selected{transform:scale3d(.92,.92,.92);border:1px solid #444;box-shadow:0 1px 2px 0 rgba(0,0,0,.2)}.image-manager-list .image img{width:100%;max-width:100%;display:block}.image-manager-list .image .image-meta{position:absolute;width:100%;bottom:0;left:0;color:#eee;background-color:rgba(0,0,0,.4);font-size:10px;padding:3px 4px}.image-manager-list .image .image-meta span{display:block}@media screen and (max-width:1100px){.image-manager-list .image{width:25%}}@media screen and (max-width:800px){.image-manager-list .image .image-meta{display:none}}#image-manager .load-more{display:block;text-align:center;background-color:#eee;padding:12px 16px;color:#aaa;clear:both;font-size:20px;cursor:pointer;font-style:italic}.image-manager-sidebar{width:300px;margin-left:1px;padding:16px 24px;overflow-y:auto;border-left:1px solid #ddd}.image-manager-sidebar .dropzone-container{margin-top:16px}.image-manager-list{overflow-y:scroll;-ms-flex:1;flex:1}.image-manager-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex:1;flex:1}.image-manager-content .container{width:100%}.dz-message,.image-manager-content .full-tab{text-align:center}.dz-message{font-size:1.2em;line-height:1.1;font-style:italic;color:#aaa;cursor:pointer;padding:24px 16px;transition:all .12s ease-in-out}.dz-drag-hover .dz-message{background-color:#107ed2;color:#eee}@keyframes passing-through{0%{opacity:0;transform:translateY(40px)}30%,70%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-40px)}}@keyframes slide-in{0%{opacity:0;transform:translateY(40px)}30%{opacity:1;transform:translateY(0)}}@keyframes pulse{0%{transform:scale(1)}10%{transform:scale(1.1)}20%{transform:scale(1)}}.dropzone,.dropzone *{box-sizing:border-box}.dz-preview{position:relative;display:inline-block;vertical-align:top;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(180deg,#eee,#ddd)}.dz-preview.dz-file-preview .dz-details{opacity:1}.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}.dz-preview:hover .dz-details{opacity:1}.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 hsla(0,0%,78%,.8);background-color:hsla(0,0%,100%,.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:hsla(0,0%,100%,.4);padding:0 .4em;border-radius:3px}.dz-preview:hover .dz-image img{-webkit-filter:blur(8px);filter:blur(8px)}.dz-preview .dz-image{border-radius:4px;overflow:hidden;width:80px;height:80px;position:relative;display:block;z-index:10}.dz-preview .dz-image img{display:block}.dz-preview.dz-success .dz-success-mark{animation:passing-through 3s cubic-bezier(.77,0,.175,1)}.dz-preview.dz-error .dz-error-mark{opacity:1;animation:slide-in 3s cubic-bezier(.77,0,.175,1)}.dz-preview .dz-error-mark,.dz-preview .dz-success-mark{pointer-events:none;opacity:0;z-index:500;position:absolute;display:block;top:50%;left:50%;margin-left:-27px;margin-top:-27px}.dz-preview .dz-error-mark svg,.dz-preview .dz-success-mark svg{display:block;width:54px;height:54px}.dz-preview.dz-processing .dz-progress{opacity:1;transition:all .2s linear}.dz-preview.dz-complete .dz-progress{opacity:0;transition:opacity .4s ease-in}.dz-preview:not(.dz-processing) .dz-progress{animation:pulse 6s ease infinite}.dz-preview .dz-progress{opacity:1;z-index:1000;pointer-events:none;position:absolute;height:16px;left:50%;top:50%;margin-top:-8px;width:80px;margin-left:-40px;background:hsla(0,0%,100%,.9);transform:scale(1);border-radius:8px;overflow:hidden}.dz-preview .dz-progress .dz-upload{background:#333;background:linear-gradient(180deg,#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{content:'';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 .padded{padding:16px}header .links{display:inline-block;vertical-align:top;margin-right:32px}@media screen and (max-width:992px){header .links{margin-right:16px}}header .links a{display:inline-block;padding:24px;color:#fff}header .links a:last-child{padding-right:0}@media screen and (max-width:992px){header .links a{padding:24px 12px}}header .avatar,header .user-name{display:inline-block}header .avatar{width:30px;height:30px}header .user-name{padding-top:24px;display:inline-block;cursor:pointer}header .user-name,header .user-name>*{vertical-align:top}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}}@media screen and (max-width:992px){header{text-align:center}header .float.right{float:none}}@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;display:inline-block;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{vertical-align:top;margin-left:-24px;color:#fff;top:6px;right:4px;display:inline-block;position:absolute}form.search-box button:hover{color:#fff}.logo{display:inline-block}.logo:hover{color:#fff;text-decoration:none}.logo-text{display:inline-block;font-size:1.8em;color:#fff;font-weight:400;padding:24px 24px 24px 0;vertical-align:top;line-height:1}.logo-image{margin:16px 12px 16px 0;vertical-align:top;height:43px}.breadcrumbs span.sep{color:#aaa;padding:0 6px}.faded a,.faded button,.faded span,.faded span>div{color:#666}.faded .text-button{opacity:.5;transition:all .12s ease-in-out}.faded .text-button:hover{opacity:1;text-decoration:none}.faded span.faded-text{display:inline-block;padding:12px}.faded-small{color:#000;font-size:.9em;background-color:rgba(21,101,192,.15)}.action-buttons .text-button,.breadcrumbs .text-button{display:inline-block;padding:12px}.action-buttons .text-button:last-child,.breadcrumbs .text-button:last-child{padding-right:0}.action-buttons{text-align:right}.action-buttons.text-left{text-align:left}.action-buttons.text-left .text-button{padding-right:16px;padding-left:0}.action-buttons.text-center,.nav-tabs{text-align:center}.nav-tabs .tab-item,.nav-tabs a{padding:16px;display:inline-block;color:#666;cursor:pointer}.nav-tabs .tab-item.selected,.nav-tabs a.selected{border-bottom:2px solid #0288d1}.page-list h3{margin:24px 0 6px;font-size:1.666em}.page-list a.chapter{color:#ef7c3c}.page-list .inset-list{display:none;overflow:hidden;margin-bottom:24px}.page-list h4{display:block;margin:12px 0 0;border-left:5px solid #0288d1;padding:6px 0 6px 16px}.page-list h4.draft{border-left-color:#9a60da}.page-list hr{margin-top:0}.page-list .book,.page-list .chapter,.page-list .page{padding-left:24px}.page-list .page{border-left:5px solid #0288d1}.page-list .page.draft{border-left:5px solid #9a60da}.page-list .page.draft .text-page{color:#9a60da}.page-list .chapter{border-left:5px solid #ef7c3c}.page-list .book{border-left:5px solid #009688}.page-list .meta{margin-top:-16px;font-size:.95em}.page-list .meta span{margin-right:12px}.chapter-toggle{cursor:pointer;margin:0 0 24px;transition:all .18s ease-in-out;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.chapter-toggle i.zmdi-caret-right{transition:all .18s ease-in-out;transform:rotate(0deg);transform-origin:25% 50%}.chapter-toggle.open{margin-bottom:0}.chapter-toggle.open i.zmdi-caret-right{transform:rotate(90deg)}.page-nav-list{margin-left:2px;list-style:none}.page-nav-list li{padding-left:6px;border-left:2px solid #888;margin-bottom:4px}.page-nav-list li a{color:#555}.page-nav-list .nav-H2{margin-left:12px;font-size:.95em}.page-nav-list .nav-H3{margin-left:24px;font-size:.9em}.page-nav-list .nav-H4{margin-left:36px;font-size:.85em}.page-nav-list .nav-H5{margin-left:48px;font-size:.8em}.page-nav-list .nav-H6{margin-left:60px;font-size:.75em}.book-tree{padding:24px 0 0;position:relative;right:0;top:0;transition:.24s ease-in-out;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:hover{text-decoration:none}.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{float:left}.activity-list-item .left+.right{margin-left:42px}ul.pagination{display:inline-block;list-style:none;margin:16px 0;padding-left:1px}ul.pagination li{float:left}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}.compact ul.pagination{margin:0}.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>p.empty-text{display:block;font-size:15px}.entity-list.compact hr{margin:0}.dropdown-container{display:inline-block;vertical-align:top;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 li.padded{padding:6px 16px}.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:12px;padding-right:0;display:inline-block;width:16px}.dropdown-container ul li.border-bottom{border-bottom:1px solid #ddd}#page-show>.row .col-md-9{z-index:2}#page-show>.row .col-md-3{z-index:1}.page-editor{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}.page-editor .faded-small{height:auto}.page-editor .edit-area{-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column}.draft-notification{pointer-events:none;transform:scale(0);transition:transform .12s ease-in-out;transform-origin:50% 50%}.draft-notification.visible{transform:scale(1)}.page-style.editor{padding:0!important}.page-content{max-width:840px;overflow-wrap:break-word}.page-content .align-left{text-align:left}.page-content img.align-left,.page-content table.align-left{float:left!important;margin:6px 12px 6px 0}.page-content .align-right{float:right!important}.page-content img.align-right,.page-content table.align-right{text-align:right;margin:6px 0 6px 12px}.page-content .align-center{text-align:center}.page-content img{max-width:100%;height:auto}.page-content .title-input input[type=text],.page-content h1,.page-content h2,.page-content h3,.page-content h4,.page-content h5,.page-content h6,.page-content pre,.title-input .page-content input[type=text]{clear:left}.page-content hr{clear:both;margin:16px 0}.page-content table{word-break:break-all;word-break:break-word;-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto}.pointer-container{position:relative;display:none;left:0;z-index:10}.pointer{border:1px solid #ccc;display:inline-block;padding:12px;border-radius:4px;box-shadow:0 0 8px 1px hsla(0,3%,83%,.35);top:-60px;width:272px;z-index:55}.pointer,.pointer:before{position:absolute;background-color:#fff}.pointer:before{left:50%;bottom:-9px;width:16px;height:16px;margin-left:-8px;content:'';display:block;transform:rotate(45deg);transform-origin:50% 50%;border-bottom:1px solid #ccc;border-right:1px solid #ccc;z-index:56}.pointer input{background-color:#fff;border:1px solid #ddd;color:#666;width:172px;z-index:40}.pointer button,.pointer input{position:relative;border-radius:0;height:28px;font-size:12px;vertical-align:top}.pointer>i{color:#888;font-size:18px;padding-top:4px}.pointer .button{line-height:1;margin:0 0 0 -4px;box-shadow:none}.floating-toolbox{background-color:#fff;border:1px solid #ddd;right:64px;z-index:99;width:48px;overflow:hidden;-ms-flex-align:stretch;align-items:stretch;-ms-flex-direction:row;flex-direction:row;display:-ms-flexbox;display:flex;transition:width .18s ease-in-out;margin-top:-1px;min-height:0}.floating-toolbox.open{width:480px}.floating-toolbox [toolbox-toggle] i{transition:transform .18s ease-in-out}.floating-toolbox [toolbox-toggle]{transition:background-color .18s ease-in-out}.floating-toolbox.open [toolbox-toggle]{background-color:rgba(255,0,0,.29)}.floating-toolbox.open [toolbox-toggle] i{transform:rotate(180deg)}.floating-toolbox>div{-ms-flex:1;flex:1;position:relative}.floating-toolbox .tabs{display:block;border-right:1px solid #ddd;width:48px;-ms-flex:0 1 auto;flex:0 1 auto}.floating-toolbox .tabs i{color:rgba(0,0,0,.5);padding:0;margin:0}.floating-toolbox .tabs>span{display:block;cursor:pointer;padding:12px 16px;font-size:13.5px;line-height:1.6;border-bottom:1px solid hsla(0,0%,100%,.3)}.floating-toolbox.open .tabs>span.active{color:#444;background-color:rgba(0,0,0,.1)}.floating-toolbox div[tab-content]{padding-bottom:45px;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;min-height:0;overflow-y:scroll}.floating-toolbox div[tab-content] .padded{-ms-flex:1;flex:1;padding-top:0}.floating-toolbox h4{font-size:24px;margin:16px 0 0;padding:0 24px 12px}.floating-toolbox .tags input{max-width:100%;width:100%;min-width:50px}.floating-toolbox .tags td{padding-right:12px;padding-top:12px;position:relative}.floating-toolbox button.pos{position:absolute;bottom:0;display:block;width:100%;padding:12px;height:45px;border:0;margin:0;box-shadow:none;border-radius:0}.floating-toolbox button.pos:hover{box-shadow:none}.floating-toolbox .handle{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:move;color:#999}.floating-toolbox form{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;overflow-y:scroll}[tab-content]{display:none}.tag-display{margin:32px 16px;border:1px solid #ddd;min-width:180px;max-width:320px;opacity:.7;z-index:5;position:relative}.tag-display table{width:100%;margin:0;padding:0}.tag-display .heading th{padding:6px 12px;color:#333;font-weight:400}.tag-display td{border:0;border-bottom:1px solid #ddd;padding:6px 12px;color:#444}.tag-display .tag-value{color:#888}.tag-display tr:last-child td{border-bottom:none}.tag-display .tag{padding:12px}.suggestion-box{position:absolute;background-color:#fff;border:1px solid #bbb;box-shadow:0 0 4px 1px #ccc;list-style:none;z-index:100;padding:0;margin:0;border-radius:3px}.suggestion-box li{display:block;padding:6px 12px;border-bottom:1px solid #ddd}.suggestion-box li:last-child{border-bottom:0}.suggestion-box li.active{background-color:#eee}[v-cloak],[v-show]{display:none}.ng-cloak,[ng-cloak],[ng\:cloak]{display:none!important;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}[ng-click]{cursor:pointer}.dragged{position:absolute;opacity:.5;z-index:2000}body.dragging,body.dragging *{cursor:move!important}.avatar{border-radius:100%;background-color:#eee;width:30px;height:30px}.avatar.med{width:40px;height:40px}.avatar.large{width:80px;height:80px}.avatar.huge{width:120px;height:120px}.avatar.square,.notification{border-radius:3px}.notification{position:fixed;top:0;right:0;margin:64px 32px;padding:24px 32px;background-color:#eee;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);z-index:999999;display:block;cursor:pointer;max-width:480px}.notification i,.notification span{display:table-cell}.notification i{font-size:2em;padding-right:24px}.notification span{vertical-align:middle}.notification.pos{background-color:#52a256;color:#eee}.notification.neg{background-color:#e84f4f;color:#eee}.notification.warning{background-color:#e27b41;color:#eee}.loading-container{position:relative;display:block;height:10px;margin:32px auto}.loading-container>div{width:10px;height:10px;border-radius:10px;display:inline-block;vertical-align:top;transform:translateZ(0);animation-name:loadingBob;animation-duration:1.4s;animation-iteration-count:infinite;animation-timing-function:cubic-bezier(.62,.28,.23,.99);margin-right:4px;background-color:#0288d1;animation-delay:.3s}.loading-container>div:first-child{left:-16px;background-color:#009688;animation-delay:0s}.loading-container>div:last-child{left:16px;background-color:#ef7c3c;animation-delay:.6s}.search-results>h3 a{font-size:.66em;color:#0288d1;padding-left:16px}.search-results>h3 a i{padding-right:12px}#back-to-top{background-color:#0288d1;position:fixed;bottom:16px;right:24px;padding:6px 12px;cursor:pointer;color:#fff;width:40px;height:40px;border-radius:40px;transition:all .18s ease-in-out;opacity:0;z-index:999;overflow:hidden}#back-to-top:hover{width:136px;opacity:1!important}#back-to-top:hover span{display:inline-block}#back-to-top .inner{width:136px}#back-to-top i{margin:0;font-size:28px;padding:0 12px 0 0}#back-to-top span{line-height:12px;position:relative;top:-5px}.contained-search-box{display:-ms-flexbox;display:flex}.contained-search-box button,.contained-search-box input{border-radius:0;border:1px solid #ddd;margin-left:-1px}.contained-search-box input{-ms-flex:5;flex:5}.contained-search-box input:active,.contained-search-box input:focus{outline:0}.contained-search-box button{width:60px}.contained-search-box button i{padding:0}.contained-search-box button.cancel.active{background-color:#e84f4f;color:#eee}.entity-selector{border:1px solid #ddd;border-radius:3px;overflow:hidden;font-size:.8em}.entity-selector input[type=text]{width:100%;display:block;border-radius:0;border:0;border-bottom:1px solid #ddd;font-size:16px;padding:12px 16px}.entity-selector .entity-list{overflow-y:scroll;height:400px;background-color:#eee}.entity-selector .loading{height:400px;padding-top:24px}.entity-selector .entity-list>p{text-align:center;padding-top:24px;font-size:1.333em}.entity-selector .entity-list>div{padding-left:16px;padding-right:16px;background-color:#fff;transition:all .12s ease-in-out;cursor:pointer}.entity-list-item.selected a,.entity-list-item.selected h3,.entity-list-item.selected i,.entity-list-item.selected p,.entity-list-item.selected span{color:#eee} \ No newline at end of file +.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-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:'';content:none}table{border-collapse:collapse;border-spacing:0}@font-face{font-family:Roboto;font-style:normal;font-weight:100;src:local("Roboto Thin"),local("Roboto-Thin"),url(../fonts/roboto-v15-cyrillic_latin-100.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-100.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:100;src:local("Roboto Thin Italic"),local("Roboto-ThinItalic"),url(../fonts/roboto-v15-cyrillic_latin-100italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-100italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:300;src:local("Roboto Light"),local("Roboto-Light"),url(../fonts/roboto-v15-cyrillic_latin-300.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-300.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:300;src:local("Roboto Light Italic"),local("Roboto-LightItalic"),url(../fonts/roboto-v15-cyrillic_latin-300italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-300italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:local("Roboto"),local("Roboto-Regular"),url(../fonts/roboto-v15-cyrillic_latin-regular.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-regular.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:400;src:local("Roboto Italic"),local("Roboto-Italic"),url(../fonts/roboto-v15-cyrillic_latin-italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:500;src:local("Roboto Medium"),local("Roboto-Medium"),url(../fonts/roboto-v15-cyrillic_latin-500.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-500.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:500;src:local("Roboto Medium Italic"),local("Roboto-MediumItalic"),url(../fonts/roboto-v15-cyrillic_latin-500italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-500italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:700;src:local("Roboto Bold"),local("Roboto-Bold"),url(../fonts/roboto-v15-cyrillic_latin-700.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-700.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:700;src:local("Roboto Bold Italic"),local("Roboto-BoldItalic"),url(../fonts/roboto-v15-cyrillic_latin-700italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-700italic.woff) format("woff")}@font-face{font-family:Roboto Mono;font-style:normal;font-weight:400;src:local("Roboto Mono"),local("RobotoMono-Regular"),url(../fonts/roboto-mono-v4-latin-regular.woff2) format("woff2"),url(../fonts/roboto-mono-v4-latin-regular.woff) format("woff")}*{box-sizing:border-box}html{background-color:#fff;height:100%;overflow-y:scroll}html.flexbox{overflow-y:hidden}body{font-family:Roboto,DejaVu Sans,Helvetica,Arial,sans-serif;font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}button{font-size:100%}.title-input input[type=text],h1{font-size:3.425em;line-height:1.22222222em;margin-top:.48888889em;margin-bottom:.48888889em}h2{font-size:2.8275em;line-height:1.294117647em;margin-top:.8627451em;margin-bottom:.43137255em}h3{font-size:1.75em;line-height:1.571428572em}h3,h4{margin-top:.78571429em;margin-bottom:.43137255em}h4{font-size:1em;line-height:1.375em}.title-input input[type=text],h1,h2,h3,h4{font-weight:400;position:relative;display:block;color:#555}.title-input input[type=text] .subheader,h1 .subheader,h2 .subheader,h3 .subheader,h4 .subheader{font-size:.5em;line-height:1em;color:#969696}.link,.text-button,a{color:#0288d1;cursor:pointer;text-decoration:none;transition:color 80ms ease-in-out;font-family:Roboto,DejaVu Sans,Helvetica,Arial,sans-serif;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(90deg,#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;white-space:pre;font-size:.8em;overflow:hidden;border-radius:4px;box-shadow:0 1px 2px 0 hsla(0,0%,4%,.06);border:1px solid hsla(0,0%,87%,.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}pre code{background-color:transparent;border:0;font-size:1em}.text-pos,.text-pos:hover,p.pos,p .pos,p.pos:hover,p .pos:hover,span.pos,span.pos:hover{color:#52a256}.text-neg,.text-neg:hover,p.neg,p .neg,p.neg:hover,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,p.primary:hover,p .primary:hover,span.primary,span.primary:hover{color:#0288d1}.text-secondary,.text-secondary:hover,p.secondary,p .secondary,p.secondary:hover,p .secondary:hover,span.secondary,span.secondary:hover{color:#e27b41}.text-book,.text-book:hover{color:#009688}.text-page,.text-page:hover{color:#0288d1}.text-page.draft,.text-page.draft:hover{color:#9a60da}.text-chapter,.text-chapter:hover{color:#ef7c3c}.faded .text-book:hover{color:#009688!important}.faded .text-chapter:hover{color:#ef7c3c!important}.faded .text-page:hover{color:#0288d1!important}span.highlight{font-weight:700;padding:2px 4px}ul{list-style:disc}ol,ul{padding-left:20.8px;overflow:hidden}ol{list-style:decimal}.underlined{text-decoration:underline}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-bigger{font-size:1.1em}.text-large{font-size:1.6666em}.no-color{color:inherit}.header-group{margin:16px 0}.header-group .title-input input[type=text],.header-group h1,.header-group h2,.header-group h3,.header-group h4,.header-group h5,.header-group h6,.title-input .header-group input[type=text]{margin:0}span.sep{color:#bbb;padding:0 6px}.list>*{display:block}.action-header .title-input input[type=text],.action-header h1,.title-input .action-header input[type=text]{margin-top:16px}i{padding-right:6px}body.flexbox{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;height:100%;min-height:100%;max-height:100%;overflow:hidden}body.flexbox #content{-ms-flex:1;flex:1}.flex-fill,body.flexbox #content{display:-ms-flexbox;display:flex;min-height:0}.flex-fill{-ms-flex-align:stretch;align-items:stretch}.flex-fill.flex,.flex-fill .flex{min-height:0;-ms-flex:1;flex:1}.flex-child>div{-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.medium{max-width:992px}.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-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12,.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12,.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12,.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{position:relative;min-height:1px;padding-left:16px;padding-right:16px}.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{float:left}.col-xs-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-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12{float:left}.col-sm-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-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12{float:left}.col-md-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-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.row:after,.row:before{content:" ";display:table}.clearfix:after,.container-fluid:after,.container:after,.row:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.shaded{background-color:#f1f1f1}.shaded.pos{background-color:#d6ead7}.shaded.neg{background-color:#f4a9a9}.shaded.primary{background-color:#a1ddfe}.shaded.secondary{background-color:#f6d7c6}.bordered{border:1px solid #bbb}.bordered.pos{border-color:#52a256}.bordered.neg{border-color:#e84f4f}.bordered.primary{border-color:#0288d1}.bordered.secondary{border-color:#e27b41}.bordered.thick{border-width:2px}.rounded{border-radius:3px}.nopadding{padding:0}.padded{padding:24px}.padded.large{padding:32px}.padded>h1:first-child,.padded>h2:first-child,.padded>h3:first-child,.padded>h4:first-child,.title-input .padded>input[type=text]:first-child{margin-top:.1em}.padded-top,.padded-vertical{padding-top:16px}.padded-top.large,.padded-vertical.large{padding-top:32px}.padded-bottom,.padded-vertical{padding-bottom:16px}.padded-bottom.large,.padded-vertical.large{padding-bottom:32px}.padded-horizontal,.padded-left{padding-left:16px}.padded-horizontal.large,.padded-left.large{padding-left:32px}.padded-horizontal,.padded-right{padding-right:16px}.padded-horizontal.large,.padded-right.large{padding-right:32px}.margins{margin:24px}.margins.large{margin:32px}.margin-top,.margins-vertical{margin-top:16px}.margin-top.large,.margins-vertical.large{margin-top:32px}.margin-bottom,.margins-vertical{margin-bottom:16px}.margin-bottom.large,.margins-vertical.large{margin-bottom:32px}.margin-left,.margins-horizontal{margin-left:16px}.margin-left.large,.margins-horizontal.large{margin-left:32px}.margin-right,.margins-horizontal{margin-right:16px}.margin-right.large,.margins-horizontal.large{margin-right:32px}.callout{border-left:3px solid #bbb;background-color:#eee;padding:12px}.callout:before{font-family:Material-Design-Iconic-Font;padding-right:12px;display:inline-block}.callout.success{border-left-color:#52a256;background-color:#e7f3e7;color:#376c39}.callout.success:before{content:'\f269'}.callout.danger{border-left-color:#e84f4f;background-color:#fce8e8;color:#b91818}.callout.danger:before{content:'\f1f2'}.callout.info{border-left-color:#0288d1;background-color:#d3efff;color:#015380}.callout.info:before{content:'\f1f8'}.callout.warning{border-left-color:#e27b41;background-color:#faeae0;color:#b6531c}.callout.warning:before{content:'\f1f1'}.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 .12s ease-in-out;box-shadow:0 .5px 1.5px 0 rgba(0,0,0,.21);background-color:#0288d1;color:#eee}.button-base:hover,.button:hover,input[type=button]:hover,input[type=submit]:hover{background-color:#02a2f9;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#eee}.button-base:active,.button:active,input[type=button]:active,input[type=submit]:active{background-color:#026ea9}.button-base:focus,.button:focus,input[type=button]:focus,input[type=submit]:focus{background-color:#0295e5;box-shadow:0 0 4px 1px #ccc;text-decoration:none;color:#eee}.button.pos,input[type=button].pos,input[type=submit].pos{background-color:#52a256;color:#eee}.button.pos:hover,input[type=button].pos:hover,input[type=submit].pos:hover{background-color:#69b36d;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#eee}.button.pos:active,input[type=button].pos:active,input[type=submit].pos:active{background-color:#448748}.button.pos:focus,input[type=button].pos:focus,input[type=submit].pos:focus{background-color:#5cac60;box-shadow:0 0 4px 1px #ccc;text-decoration:none;color:#eee}.button.neg,input[type=button].neg,input[type=submit].neg{background-color:#e84f4f;color:#eee}.button.neg:hover,input[type=button].neg:hover,input[type=submit].neg:hover{background-color:#ed7373;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#eee}.button.neg:active,input[type=button].neg:active,input[type=submit].neg:active{background-color:#e32b2b}.button.neg:focus,input[type=button].neg:focus,input[type=submit].neg:focus{background-color:#ea6161;box-shadow:0 0 4px 1px #ccc;text-decoration:none;color:#eee}.button.secondary,input[type=button].secondary,input[type=submit].secondary{background-color:#e27b41;color:#eee}.button.secondary:hover,input[type=button].secondary:hover,input[type=submit].secondary:hover{background-color:#e79464;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#eee}.button.secondary:active,input[type=button].secondary:active,input[type=submit].secondary:active{background-color:#d96321}.button.secondary:focus,input[type=button].secondary:focus,input[type=submit].secondary:focus{background-color:#e58753;box-shadow:0 0 4px 1px #ccc;text-decoration:none;color:#eee}.button.muted,input[type=button].muted,input[type=submit].muted{background-color:#888;color:#eee}.button.muted:hover,input[type=button].muted:hover,input[type=submit].muted:hover{background-color:#9c9c9c;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#eee}.button.muted:active,input[type=button].muted:active,input[type=submit].muted:active{background-color:#747474}.button.muted:focus,input[type=button].muted:focus,input[type=submit].muted:focus{background-color:#929292;box-shadow:0 0 4px 1px #ccc;text-decoration:none;color:#eee}.text-button{background-color:transparent;padding:0;margin:0;border:none}.text-button:active,.text-button:focus{outline:0}.text-button:hover{text-decoration:none}.text-button.neg{color:#e84f4f}.button-group:after{display:block;content:'';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}.button[disabled],.button[disabled]:hover{background-color:#bbb;cursor:default}.button[disabled]:hover{box-shadow:none}.input-base,input[type=email],input[type=number],input[type=password],input[type=search],input[type=text],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=email],input.invalid[type=number],input.invalid[type=password],input.invalid[type=search],input.invalid[type=text],input.invalid[type=url],input.neg[type=email],input.neg[type=number],input.neg[type=password],input.neg[type=search],input.neg[type=text],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=email],input.pos[type=number],input.pos[type=password],input.pos[type=search],input.pos[type=text],input.pos[type=url],input.valid[type=email],input.valid[type=number],input.valid[type=password],input.valid[type=search],input.valid[type=text],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=email],input.disabled[type=number],input.disabled[type=password],input.disabled[type=search],input.disabled[type=text],input.disabled[type=url],input[disabled][type=email],input[disabled][type=number],input[disabled][type=password],input[disabled][type=search],input[disabled][type=text],input[disabled][type=url],select.disabled,select[disabled],textarea.disabled,textarea[disabled]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAMUlEQVQIW2NkwAGuXbv2nxGbHEhCS0uLEUMSJgHShCKJLIEiiS4Bl8QmAZbEJQGSBAC62BuJ+tt7zgAAAABJRU5ErkJggg==)}.input-base:focus,input[type=email]:focus,input[type=number]:focus,input[type=password]:focus,input[type=search]:focus,input[type=text]:focus,input[type=url]:focus,select:focus,textarea:focus{outline:0}#html-editor{display:none}#markdown-editor{position:relative;z-index:5}#markdown-editor textarea{font-family:Roboto Mono;font-style:normal;font-weight:400;padding:6px 16px;color:#444;border-radius:0;max-height:100%;-ms-flex:1;flex:1;border:0;width:100%}#markdown-editor textarea:focus{outline:0}#markdown-editor .markdown-display,#markdown-editor .markdown-editor-wrap{-ms-flex:1;flex:1;position:relative}#markdown-editor .markdown-editor-wrap{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;border:1px solid #ddd}#markdown-editor .markdown-display{padding:0 16px;margin-left:-1px;overflow-y:scroll}#markdown-editor .markdown-display .page-content{margin:0 auto}.editor-toolbar{width:100%;padding:6px 16px;font-family:Roboto Mono;font-size:11px;line-height:1.6;border-bottom:1px solid #ddd;background-color:#eee;-ms-flex:none;flex:none}.editor-toolbar:after{content:'';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}label.inline{display:inline-block}label.checkbox,label.radio{font-weight:400}label.checkbox input[type=checkbox],label.checkbox input[type=radio],label.radio input[type=checkbox],label.radio input[type=radio]{margin-right:6px}label+p.small{margin-bottom:.8em}.toggle-switch{display:inline-block;background-color:#bbb;width:36px;height:14px;border-radius:7px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.toggle-switch,.toggle-switch:after{position:relative;transition:all .12s ease-in-out}.toggle-switch:after{content:'';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 textarea{display:block;width:100%;min-height:64px}.form-group .text-neg,.form-group .text-pos{padding:6px 0}.description-input textarea,.inline-input-style,.title-input input[type=text]{border:2px dotted #bbb;display:block;width:100%;padding:6px 12px}.title-input .input{width:100%}.description-input label,.title-input label{margin-top:16px;color:#666}.title-input input[type=text]{margin-top:0;padding-right:0;width:100%;color:#444}.title-input.page-title{font-size:.8em}.title-input.page-title .input{border:0;margin-bottom:-1px}.title-input.page-title input[type=text]{max-width:840px;margin:0 auto;border:none}.page-title input{display:block;width:100%;font-size:1.4em}.description-input textarea{font-size:15px;color:#666;width:100%}.search-box,div[editor-type=markdown] .title-input.page-title input[type=text]{max-width:100%}.search-box{position:relative}.search-box button{background-color:transparent;border:none;color:#0288d1;padding:0;margin:0;cursor:pointer;margin-left:12px}.search-box button[type=submit]{margin-left:-24px}.search-box input{padding-right:24px;width:300px;max-width:100%}input.outline{border:0;border-bottom:2px solid #ddd;border-radius:0}input.outline:active,input.outline:focus{border:0;border-bottom:2px solid #aaa;outline:0}#login-form label[for=remember]{margin:0}#login-form label.toggle-switch{margin-left:32px}.image-picker img{background-color:#bbb}div[toggle-switch]{height:18px;width:150px}table{min-width:100px;max-width:100%}table thead{background-color:#f8f8f8;font-weight:500}table td,table th{min-width:10px;padding:6px 8px;border:1px solid #ddd;overflow:auto;line-height:1.2}table td p,table th p{margin:0}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;margin:0}table.table th{font-weight:700}table.table tr:hover{background-color:#eee}table.no-style td{border:0;padding:0}table.list-table{margin:-6px}table.list-table td{border:0;vertical-align:middle;padding:6px}.anim.fadeIn{opacity:0;animation-name:fadeIn;animation-duration:.16s;animation-timing-function:ease-in-out;animation-fill-mode:forwards}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.anim.searchResult{opacity:0;transform:translate3d(580px,0,0);animation-name:searchResult;animation-duration:.22s;animation-fill-mode:forwards;animation-timing-function:cubic-bezier(.62,.28,.23,.99)}@keyframes searchResult{0%{opacity:0;transform:translate3d(400px,0,0)}to{opacity:1;transform:translateZ(0)}}.anim.notification{transform:translate3d(580px,0,0);animation-name:notification;animation-duration:3s;animation-timing-function:ease-in-out;animation-fill-mode:forwards}.anim.notification.stopped{animation-name:notificationStopped}@keyframes notification{0%{transform:translate3d(580px,0,0)}10%{transform:translateZ(0)}90%{transform:translateZ(0)}to{transform:translate3d(580px,0,0)}}@keyframes notificationStopped{0%{transform:translate3d(580px,0,0)}10%{transform:translateZ(0)}to{transform:translateZ(0)}}@keyframes menuIn{0%{opacity:0;transform:scale3d(0,0,1)}to{opacity:1;transform:scaleX(1)}}.anim.menuIn{transform-origin:100% 0;animation-name:menuIn;animation-duration:.12s;animation-delay:0s;animation-timing-function:cubic-bezier(.62,.28,.23,.99)}@keyframes loadingBob{0%{transform:translateZ(0)}30%{transform:translateZ(0)}50%{transform:translate3d(0,-10px,0)}70%{transform:translateZ(0)}to{transform:translateZ(0)}}@keyframes pointer{0%{transform:translate3d(0,20px,0) scale3d(0,0,0)}to{transform:translateZ(0) scaleX(1)}}.anim.pointer{transform-origin:50% 100%;animation-name:pointer;animation-duration:.18s;animation-delay:0s;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>div>.mce-tinymce.mce-container.mce-panel{margin:0 -1px}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel,.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body{-ms-flex:1 1 auto;flex:1 1 auto;display:-ms-flexbox!important;display:flex!important;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-toolbar-grp{-ms-flex:0 1 auto;flex:0 1 auto}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-edit-area{-ms-flex:1 1 auto;flex:1 1 auto;display:-ms-flexbox!important;display:flex!important;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-edit-area iframe{-ms-flex:1;flex:1}.hljs{display:block;overflow-x:auto;padding:.5em;background:#fdf6e3;color:#657b83;-webkit-text-size-adjust:none}.diff .hljs-header,.hljs-comment,.hljs-doctype,.hljs-pi,.lisp .hljs-string{color:#93a1a1}.css .hljs-tag,.hljs-addition,.hljs-keyword,.hljs-request,.hljs-status,.hljs-winutils,.method,.nginx .hljs-title{color:#859900}.hljs-command,.hljs-doctag,.hljs-hexcolor,.hljs-link_url,.hljs-number,.hljs-regexp,.hljs-rule .hljs-value,.hljs-string,.hljs-tag .hljs-value,.tex .hljs-formula{color:#2aa198}.css .hljs-function,.hljs-built_in,.hljs-chunk,.hljs-decorator,.hljs-id,.hljs-identifier,.hljs-localvars,.hljs-name,.hljs-title,.vhdl .hljs-literal{color:#268bd2}.hljs-attribute,.hljs-class .hljs-title,.hljs-constant,.hljs-link_reference,.hljs-parent,.hljs-type,.hljs-variable,.lisp .hljs-body,.smalltalk .hljs-number{color:#b58900}.css .hljs-pseudo,.diff .hljs-change,.hljs-attr_selector,.hljs-cdata,.hljs-header,.hljs-pragma,.hljs-preprocessor,.hljs-preprocessor .hljs-keyword,.hljs-shebang,.hljs-special,.hljs-subst,.hljs-symbol,.hljs-symbol .hljs-string{color:#cb4b16}.hljs-deletion,.hljs-important{color:#dc322f}.hljs-link_label{color:#6c71c4}.tex .hljs-formula{background:#eee8d5}.overlay{background-color:rgba(0,0,0,.333);position:fixed;z-index:95536;width:100%;height:100%;min-width:100%;min-height:100%;top:0;left:0;right:0;bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;display:none}.popup-body,.popup-body-wrap{display:-ms-flexbox;display:flex}.popup-body{background-color:#fff;max-height:90%;width:1200px;height:auto;margin:2% 5%;border-radius:4px;box-shadow:0 0 15px 0 rgba(0,0,0,.3);overflow:hidden;z-index:999;-ms-flex-direction:column;flex-direction:column}.popup-body.small{margin:2% auto;width:800px;max-width:90%}.popup-body:before{display:-ms-flexbox;display:flex;-ms-flex-item-align:start;align-self:flex-start}.corner-button{position:absolute;top:0;right:0;margin:0;height:40px;border-radius:0;box-shadow:none}.popup-footer,.popup-header{display:block!important;position:relative;height:40px;-ms-flex:none!important;flex:none!important}.popup-footer .popup-title,.popup-header .popup-title{color:#fff;padding:8px 16px}body.flexbox-support #entity-selector-wrap .popup-body .form-group{height:444px;min-height:444px}#entity-selector-wrap .popup-body .form-group{margin:0}.image-manager-body{min-height:70vh}#image-manager .dropzone-container{position:relative;border:3px dashed #ddd}.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 .16s cubic-bezier(.4,0,1,1);overflow:hidden}.image-manager-list .image.selected{transform:scale3d(.92,.92,.92);border:1px solid #444;box-shadow:0 1px 2px 0 rgba(0,0,0,.2)}.image-manager-list .image img{width:100%;max-width:100%;display:block}.image-manager-list .image .image-meta{position:absolute;width:100%;bottom:0;left:0;color:#eee;background-color:rgba(0,0,0,.4);font-size:10px;padding:3px 4px}.image-manager-list .image .image-meta span{display:block}@media screen and (max-width:1100px){.image-manager-list .image{width:25%}}@media screen and (max-width:800px){.image-manager-list .image .image-meta{display:none}}#image-manager .load-more{display:block;text-align:center;background-color:#eee;padding:12px 16px;color:#aaa;clear:both;font-size:20px;cursor:pointer;font-style:italic}.image-manager-sidebar{width:300px;margin-left:1px;padding:16px 24px;overflow-y:auto;border-left:1px solid #ddd}.image-manager-sidebar .dropzone-container{margin-top:16px}.image-manager-list{overflow-y:scroll;-ms-flex:1;flex:1}.image-manager-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex:1;flex:1}.image-manager-content .container{width:100%}.dz-message,.image-manager-content .full-tab{text-align:center}.dz-message{font-size:1.2em;line-height:1.1;font-style:italic;color:#aaa;cursor:pointer;padding:24px 16px;transition:all .12s ease-in-out}.dz-drag-hover .dz-message{background-color:#107ed2;color:#eee}@keyframes passing-through{0%{opacity:0;transform:translateY(40px)}30%,70%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-40px)}}@keyframes slide-in{0%{opacity:0;transform:translateY(40px)}30%{opacity:1;transform:translateY(0)}}@keyframes pulse{0%{transform:scale(1)}10%{transform:scale(1.1)}20%{transform:scale(1)}}.dropzone,.dropzone *{box-sizing:border-box}.dz-preview{position:relative;display:inline-block;vertical-align:top;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(180deg,#eee,#ddd)}.dz-preview.dz-file-preview .dz-details{opacity:1}.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}.dz-preview:hover .dz-details{opacity:1}.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 hsla(0,0%,78%,.8);background-color:hsla(0,0%,100%,.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:hsla(0,0%,100%,.4);padding:0 .4em;border-radius:3px}.dz-preview:hover .dz-image img{-webkit-filter:blur(8px);filter:blur(8px)}.dz-preview .dz-image{border-radius:4px;overflow:hidden;width:80px;height:80px;position:relative;display:block;z-index:10}.dz-preview .dz-image img{display:block}.dz-preview.dz-success .dz-success-mark{animation:passing-through 3s cubic-bezier(.77,0,.175,1)}.dz-preview.dz-error .dz-error-mark{opacity:1;animation:slide-in 3s cubic-bezier(.77,0,.175,1)}.dz-preview .dz-error-mark,.dz-preview .dz-success-mark{pointer-events:none;opacity:0;z-index:500;position:absolute;display:block;top:50%;left:50%;margin-left:-27px;margin-top:-27px}.dz-preview .dz-error-mark svg,.dz-preview .dz-success-mark svg{display:block;width:54px;height:54px}.dz-preview.dz-processing .dz-progress{opacity:1;transition:all .2s linear}.dz-preview.dz-complete .dz-progress{opacity:0;transition:opacity .4s ease-in}.dz-preview:not(.dz-processing) .dz-progress{animation:pulse 6s ease infinite}.dz-preview .dz-progress{opacity:1;z-index:1000;pointer-events:none;position:absolute;height:16px;left:50%;top:50%;margin-top:-8px;width:80px;margin-left:-40px;background:hsla(0,0%,100%,.9);transform:scale(1);border-radius:8px;overflow:hidden}.dz-preview .dz-progress .dz-upload{background:#333;background:linear-gradient(180deg,#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{content:'';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 .padded{padding:16px}header .links{display:inline-block;vertical-align:top;margin-right:32px}@media screen and (max-width:992px){header .links{margin-right:16px}}header .links a{display:inline-block;padding:24px;color:#fff}header .links a:last-child{padding-right:0}@media screen and (max-width:992px){header .links a{padding:24px 12px}}header .avatar,header .user-name{display:inline-block}header .avatar{width:30px;height:30px}header .user-name{padding-top:24px;display:inline-block;cursor:pointer}header .user-name,header .user-name>*{vertical-align:top}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}}@media screen and (max-width:992px){header{text-align:center}header .float.right{float:none}}@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;display:inline-block;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{vertical-align:top;margin-left:-24px;color:#fff;top:6px;right:4px;display:inline-block;position:absolute}form.search-box button:hover{color:#fff}.logo{display:inline-block}.logo:hover{color:#fff;text-decoration:none}.logo-text{display:inline-block;font-size:1.8em;color:#fff;font-weight:400;padding:24px 24px 24px 0;vertical-align:top;line-height:1}.logo-image{margin:16px 12px 16px 0;vertical-align:top;height:43px}.breadcrumbs span.sep{color:#aaa;padding:0 6px}.faded a,.faded button,.faded span,.faded span>div{color:#666}.faded .text-button{opacity:.5;transition:all .12s ease-in-out}.faded .text-button:hover{opacity:1;text-decoration:none}.faded span.faded-text{display:inline-block;padding:12px}.faded-small{color:#000;font-size:.9em;background-color:rgba(21,101,192,.15)}.action-buttons .text-button,.breadcrumbs .text-button{display:inline-block;padding:12px}.action-buttons .text-button:last-child,.breadcrumbs .text-button:last-child{padding-right:0}.action-buttons{text-align:right}.action-buttons.text-left{text-align:left}.action-buttons.text-left .text-button{padding-right:16px;padding-left:0}.action-buttons.text-center,.nav-tabs{text-align:center}.nav-tabs .tab-item,.nav-tabs a{padding:16px;display:inline-block;color:#666;cursor:pointer}.nav-tabs .tab-item.selected,.nav-tabs a.selected{border-bottom:2px solid #0288d1}.page-list h3{margin:24px 0 6px;font-size:1.666em}.page-list a.chapter{color:#ef7c3c}.page-list .inset-list{display:none;overflow:hidden;margin-bottom:24px}.page-list h4{display:block;margin:12px 0 0;border-left:5px solid #0288d1;padding:6px 0 6px 16px}.page-list h4.draft{border-left-color:#9a60da}.page-list hr{margin-top:0}.page-list .book,.page-list .chapter,.page-list .page{padding-left:24px}.page-list .page{border-left:5px solid #0288d1}.page-list .page.draft{border-left:5px solid #9a60da}.page-list .page.draft .text-page{color:#9a60da}.page-list .chapter{border-left:5px solid #ef7c3c}.page-list .book{border-left:5px solid #009688}.page-list .meta{margin-top:-16px;font-size:.95em}.page-list .meta span{margin-right:12px}.chapter-toggle{cursor:pointer;margin:0 0 24px;transition:all .18s ease-in-out;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.chapter-toggle i.zmdi-caret-right{transition:all .18s ease-in-out;transform:rotate(0deg);transform-origin:25% 50%}.chapter-toggle.open{margin-bottom:0}.chapter-toggle.open i.zmdi-caret-right{transform:rotate(90deg)}.page-nav-list{margin-left:2px;list-style:none}.page-nav-list li{padding-left:6px;border-left:2px solid #888;margin-bottom:4px}.page-nav-list li a{color:#555}.page-nav-list .nav-H2{margin-left:12px;font-size:.95em}.page-nav-list .nav-H3{margin-left:24px;font-size:.9em}.page-nav-list .nav-H4{margin-left:36px;font-size:.85em}.page-nav-list .nav-H5{margin-left:48px;font-size:.8em}.page-nav-list .nav-H6{margin-left:60px;font-size:.75em}.book-tree{padding:24px 0 0;position:relative;right:0;top:0;transition:.24s ease-in-out;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:hover{text-decoration:none}.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{float:left}.activity-list-item .left+.right{margin-left:42px}ul.pagination{display:inline-block;list-style:none;margin:16px 0;padding-left:1px}ul.pagination li{float:left}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}.compact ul.pagination{margin:0}.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>p.empty-text{display:block;font-size:15px}.entity-list.compact hr{margin:0}.dropdown-container{display:inline-block;vertical-align:top;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 li.padded{padding:6px 16px}.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:12px;padding-right:0;display:inline-block;width:16px}.dropdown-container ul li.border-bottom{border-bottom:1px solid #ddd}#page-show>.row .col-md-9{z-index:2}#page-show>.row .col-md-3{z-index:1}.page-editor{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}.page-editor .faded-small{height:auto}.page-editor .edit-area{-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column}.draft-notification{pointer-events:none;transform:scale(0);transition:transform .12s ease-in-out;transform-origin:50% 50%}.draft-notification.visible{transform:scale(1)}.page-style.editor{padding:0!important}.page-content{max-width:840px;overflow-wrap:break-word}.page-content .align-left{text-align:left}.page-content img.align-left,.page-content table.align-left{float:left!important;margin:6px 12px 6px 0}.page-content .align-right{float:right!important}.page-content img.align-right,.page-content table.align-right{text-align:right;margin:6px 0 6px 12px}.page-content .align-center{text-align:center}.page-content img{max-width:100%;height:auto}.page-content .title-input input[type=text],.page-content h1,.page-content h2,.page-content h3,.page-content h4,.page-content h5,.page-content h6,.page-content pre,.title-input .page-content input[type=text]{clear:left}.page-content hr{clear:both;margin:16px 0}.page-content table{-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;table-layout:fixed;max-width:100%;height:auto!important}.pointer-container{position:relative;display:none;left:0;z-index:10}.pointer{border:1px solid #ccc;display:inline-block;padding:12px;border-radius:4px;box-shadow:0 0 8px 1px hsla(0,3%,83%,.35);top:-60px;width:272px;z-index:55}.pointer,.pointer:before{position:absolute;background-color:#fff}.pointer:before{left:50%;bottom:-9px;width:16px;height:16px;margin-left:-8px;content:'';display:block;transform:rotate(45deg);transform-origin:50% 50%;border-bottom:1px solid #ccc;border-right:1px solid #ccc;z-index:56}.pointer input{background-color:#fff;border:1px solid #ddd;color:#666;width:172px;z-index:40}.pointer button,.pointer input{position:relative;border-radius:0;height:28px;font-size:12px;vertical-align:top}.pointer>i{color:#888;font-size:18px;padding-top:4px}.pointer .button{line-height:1;margin:0 0 0 -4px;box-shadow:none}.floating-toolbox{background-color:#fff;border:1px solid #ddd;right:64px;z-index:99;width:48px;overflow:hidden;-ms-flex-align:stretch;align-items:stretch;-ms-flex-direction:row;flex-direction:row;display:-ms-flexbox;display:flex;transition:width .18s ease-in-out;margin-top:-1px;min-height:0}.floating-toolbox.open{width:480px}.floating-toolbox [toolbox-toggle] i{transition:transform .18s ease-in-out}.floating-toolbox [toolbox-toggle]{transition:background-color .18s ease-in-out}.floating-toolbox.open [toolbox-toggle]{background-color:rgba(255,0,0,.29)}.floating-toolbox.open [toolbox-toggle] i{transform:rotate(180deg)}.floating-toolbox>div{-ms-flex:1;flex:1;position:relative}.floating-toolbox .tabs{display:block;border-right:1px solid #ddd;width:48px;-ms-flex:0 1 auto;flex:0 1 auto}.floating-toolbox .tabs i{color:rgba(0,0,0,.5);padding:0;margin:0}.floating-toolbox .tabs>span{display:block;cursor:pointer;padding:12px 16px;font-size:13.5px;line-height:1.6;border-bottom:1px solid hsla(0,0%,100%,.3)}.floating-toolbox.open .tabs>span.active{color:#444;background-color:rgba(0,0,0,.1)}.floating-toolbox div[tab-content]{padding-bottom:45px;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;min-height:0;overflow-y:scroll}.floating-toolbox div[tab-content] .padded{-ms-flex:1;flex:1;padding-top:0}.floating-toolbox h4{font-size:24px;margin:16px 0 0;padding:0 24px 12px}.floating-toolbox .tags input{max-width:100%;width:100%;min-width:50px}.floating-toolbox .tags td{padding-right:12px;padding-top:12px;position:relative}.floating-toolbox button.pos{position:absolute;bottom:0;display:block;width:100%;padding:12px;height:45px;border:0;margin:0;box-shadow:none;border-radius:0}.floating-toolbox button.pos:hover{box-shadow:none}.floating-toolbox .handle{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:move;color:#999}.floating-toolbox form{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;overflow-y:scroll}[tab-content]{display:none}.tag-display{margin:32px 16px;border:1px solid #ddd;min-width:180px;max-width:320px;opacity:.7;z-index:5;position:relative}.tag-display table{width:100%;margin:0;padding:0}.tag-display .heading th{padding:6px 12px;color:#333;font-weight:400}.tag-display td{border:0;border-bottom:1px solid #ddd;padding:6px 12px;color:#444}.tag-display .tag-value{color:#888}.tag-display tr:last-child td{border-bottom:none}.tag-display .tag{padding:12px}.suggestion-box{position:absolute;background-color:#fff;border:1px solid #bbb;box-shadow:0 0 4px 1px #ccc;list-style:none;z-index:100;padding:0;margin:0;border-radius:3px}.suggestion-box li{display:block;padding:6px 12px;border-bottom:1px solid #ddd}.suggestion-box li:last-child{border-bottom:0}.suggestion-box li.active{background-color:#eee}[v-cloak],[v-show]{display:none}.ng-cloak,[ng-cloak],[ng\:cloak]{display:none!important;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}[ng-click]{cursor:pointer}.dragged{position:absolute;opacity:.5;z-index:2000}body.dragging,body.dragging *{cursor:move!important}.avatar{border-radius:100%;background-color:#eee;width:30px;height:30px}.avatar.med{width:40px;height:40px}.avatar.large{width:80px;height:80px}.avatar.huge{width:120px;height:120px}.avatar.square,.notification{border-radius:3px}.notification{position:fixed;top:0;right:0;margin:64px 32px;padding:24px 32px;background-color:#eee;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);z-index:999999;display:block;cursor:pointer;max-width:480px}.notification i,.notification span{display:table-cell}.notification i{font-size:2em;padding-right:24px}.notification span{vertical-align:middle}.notification.pos{background-color:#52a256;color:#eee}.notification.neg{background-color:#e84f4f;color:#eee}.notification.warning{background-color:#e27b41;color:#eee}.loading-container{position:relative;display:block;height:10px;margin:32px auto}.loading-container>div{width:10px;height:10px;border-radius:10px;display:inline-block;vertical-align:top;transform:translateZ(0);animation-name:loadingBob;animation-duration:1.4s;animation-iteration-count:infinite;animation-timing-function:cubic-bezier(.62,.28,.23,.99);margin-right:4px;background-color:#0288d1;animation-delay:.3s}.loading-container>div:first-child{left:-16px;background-color:#009688;animation-delay:0s}.loading-container>div:last-child{left:16px;background-color:#ef7c3c;animation-delay:.6s}.search-results>h3 a{font-size:.66em;color:#0288d1;padding-left:16px}.search-results>h3 a i{padding-right:12px}#back-to-top{background-color:#0288d1;position:fixed;bottom:16px;right:24px;padding:6px 12px;cursor:pointer;color:#fff;width:40px;height:40px;border-radius:40px;transition:all .18s ease-in-out;opacity:0;z-index:999;overflow:hidden}#back-to-top:hover{width:136px;opacity:1!important}#back-to-top:hover span{display:inline-block}#back-to-top .inner{width:136px}#back-to-top i{margin:0;font-size:28px;padding:0 12px 0 0}#back-to-top span{line-height:12px;position:relative;top:-5px}.contained-search-box{display:-ms-flexbox;display:flex}.contained-search-box button,.contained-search-box input{border-radius:0;border:1px solid #ddd;margin-left:-1px}.contained-search-box input{-ms-flex:5;flex:5}.contained-search-box input:active,.contained-search-box input:focus{outline:0}.contained-search-box button{width:60px}.contained-search-box button i{padding:0}.contained-search-box button.cancel.active{background-color:#e84f4f;color:#eee}.entity-selector{border:1px solid #ddd;border-radius:3px;overflow:hidden;font-size:.8em}.entity-selector input[type=text]{width:100%;display:block;border-radius:0;border:0;border-bottom:1px solid #ddd;font-size:16px;padding:12px 16px}.entity-selector .entity-list{overflow-y:scroll;height:400px;background-color:#eee}.entity-selector .loading{height:400px;padding-top:24px}.entity-selector .entity-list>p{text-align:center;padding-top:24px;font-size:1.333em}.entity-selector .entity-list>div{padding-left:16px;padding-right:16px;background-color:#fff;transition:all .12s ease-in-out;cursor:pointer}.entity-list-item.selected a,.entity-list-item.selected h3,.entity-list-item.selected i,.entity-list-item.selected p,.entity-list-item.selected span{color:#eee} \ No newline at end of file diff --git a/public/js/common.js b/public/js/common.js index 25dbfccbf9f..da026db6a67 100644 --- a/public/js/common.js +++ b/public/js/common.js @@ -9,4 +9,4 @@ return i},t.prototype.getRejectedFiles=function(){var e,t,n,r,i;for(r=this.files 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;i.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 vr)r=vr[n],i=t[r],g(i)||(e[r]=i);return e}function $(e){v(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),$r===!1&&($r=!0,n.updateOffset(this),$r=!1)}function y(e){return e instanceof $||null!=e&&null!=e._isAMomentObject}function b(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function w(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=b(t)),n}function x(e,t,n){var r,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(r=0;r0?"future":"past"];return _(n)?n(t):n.replace(/%s/i,t)}function P(e,t){var n=e.toLowerCase();Dr[n]=Dr[n+"s"]=Dr[t]=e}function j(e){return"string"==typeof e?Dr[e]||Dr[e.toLowerCase()]:void 0}function L(e){var t,n,r={};for(n in e)l(e,n)&&(t=j(n),t&&(r[t]=e[n]));return r}function R(e,t){Ar[e]=t}function U(e){var t=[];for(var n in e)t.push({unit:n,priority:Ar[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}function V(e,t){return function(r){return null!=r?(H(this,e,r),n.updateOffset(this,t),this):z(this,e)}}function z(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function H(e,t,n){e.isValid()&&e._d["set"+(e._isUTC?"UTC":"")+t](n)}function q(e){return e=j(e),_(this[e])?this[e]():this}function Y(e,t){if("object"==typeof e){e=L(e);for(var n=U(e),r=0;r=0;return(o?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}function B(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(Fr[e]=i),t&&(Fr[t[0]]=function(){return W(i.apply(this,arguments),t[1],t[2])}),n&&(Fr[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function G(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function Z(e){var t,n,r=e.match(Tr);for(t=0,n=r.length;t=0&&Mr.test(e);)e=e.replace(Mr,n),Mr.lastIndex=0,r-=1;return e}function X(e,t,n){Jr[e]=_(t)?t:function(e,r){return e&&n?n:t}}function K(e,t){return l(Jr,e)?Jr[e](t._strict,t._locale):new RegExp(ee(e))}function ee(e){return te(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i}))}function te(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function ne(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),"number"==typeof t&&(r=function(e,n){n[t]=w(e)}),n=0;n=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}function be(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function we(e,t,n){var r=7+t-n,i=(7+be(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 l<=0?(o=e-1,a=ge(o)+l):l>ge(e)?(o=e+1,a=l-ge(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 a<1?(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(ge(e)-r+i)/7}function Se(e){return ke(e,this._week.dow,this._week.doy).week}function _e(){return this._week.dow}function Ee(){return this._week.doy}function De(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Ae(e){var t=ke(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Te(e,t){return"string"!=typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"==typeof e?e:null):parseInt(e,10)}function Me(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Oe(e,t){return i(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]}function Fe(e){return this._weekdaysShort[e.day()]}function Ie(e){return this._weekdaysMin[e.day()]}function Ne(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=f([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?(i=wr.call(this._weekdaysParse,a),i!==-1?i:null):"ddd"===t?(i=wr.call(this._shortWeekdaysParse,a),i!==-1?i:null):(i=wr.call(this._minWeekdaysParse,a),i!==-1?i:null):"dddd"===t?(i=wr.call(this._weekdaysParse,a),i!==-1?i:(i=wr.call(this._shortWeekdaysParse,a),i!==-1?i:(i=wr.call(this._minWeekdaysParse,a),i!==-1?i:null))):"ddd"===t?(i=wr.call(this._shortWeekdaysParse,a),i!==-1?i:(i=wr.call(this._weekdaysParse,a),i!==-1?i:(i=wr.call(this._minWeekdaysParse,a),i!==-1?i:null))):(i=wr.call(this._minWeekdaysParse,a),i!==-1?i:(i=wr.call(this._weekdaysParse,a),i!==-1?i:(i=wr.call(this._shortWeekdaysParse,a),i!==-1?i:null)))}function Pe(e,t,n){var r,i,o;if(this._weekdaysParseExact)return Ne.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=f([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 je(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Te(e,this.localeData()),this.add(e-t,"d")):t}function Le(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 Re(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Me(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Ue(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||He.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(l(this,"_weekdaysRegex")||(this._weekdaysRegex=$i),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Ve(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||He.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(l(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=yi),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function ze(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||He.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(l(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=bi),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function He(){function e(e,t){return t.length-e.length}var t,n,r,i,o,a=[],s=[],u=[],l=[];for(t=0;t<7;t++)n=f([2e3,1]).day(t),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),o=this.weekdays(n,""),a.push(r),s.push(i),u.push(o),l.push(r),l.push(i),l.push(o);for(a.sort(e),s.sort(e),u.sort(e),l.sort(e),t=0;t<7;t++)s[t]=te(s[t]),u[t]=te(u[t]),l[t]=te(l[t]);this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function qe(){return this.hours()%12||12}function Ye(){return this.hours()||24}function We(e,t){B(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function Be(e,t){return t._meridiemParse}function Ge(e){return"p"===(e+"").toLowerCase().charAt(0)}function Ze(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}function Qe(e){return e?e.toLowerCase().replace("_","-"):e}function Je(e){for(var t,n,r,i,o=0;o0;){if(r=Xe(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&x(i,n,!0)>=t-1)break;t--}o++}return null}function Xe(n){var r=null;if(!Si[n]&&"undefined"!=typeof t&&t&&t.exports)try{r=wi._abbr,e("./locale/"+n),Ke(r)}catch(i){}return Si[n]}function Ke(e,t){var n;return e&&(n=g(t)?nt(e):et(e,t),n&&(wi=n)),wi._abbr}function et(e,t){if(null!==t){var n=Ci;return t.abbr=e,null!=Si[e]?(S("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=Si[e]._config):null!=t.parentLocale&&(null!=Si[t.parentLocale]?n=Si[t.parentLocale]._config:S("parentLocaleUndefined","specified parentLocale is not defined yet. See http://momentjs.com/guides/#/warnings/parent-locale/")),Si[e]=new A(D(n,t)),Ke(e),Si[e]}return delete Si[e],null}function tt(e,t){if(null!=t){var n,r=Ci;null!=Si[e]&&(r=Si[e]._config),t=D(r,t),n=new A(t),n.parentLocale=Si[e],Si[e]=n,Ke(e)}else null!=Si[e]&&(null!=Si[e].parentLocale?Si[e]=Si[e].parentLocale:null!=Si[e]&&delete Si[e]);return Si[e]}function nt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return wi;if(!i(e)){if(t=Xe(e))return t;e=[e]}return Je(e)}function rt(){return br(Si)}function it(e){var t,n=e._a;return n&&h(e).overflow===-2&&(t=n[ei]<0||n[ei]>11?ei:n[ti]<1||n[ti]>oe(n[Kr],n[ei])?ti:n[ni]<0||n[ni]>24||24===n[ni]&&(0!==n[ri]||0!==n[ii]||0!==n[oi])?ni:n[ri]<0||n[ri]>59?ri:n[ii]<0||n[ii]>59?ii:n[oi]<0||n[oi]>999?oi:-1,h(e)._overflowDayOfYear&&(tti)&&(t=ti),h(e)._overflowWeeks&&t===-1&&(t=ai),h(e)._overflowWeekday&&t===-1&&(t=si),h(e).overflow=t),e}function ot(e){var t,n,r,i,o,a,s=e._i,u=_i.exec(s)||Ei.exec(s);if(u){for(h(e).iso=!0,t=0,n=Ai.length;tge(i)&&(h(e)._overflowDayOfYear=!0),n=be(i,0,e._dayOfYear),e._a[ei]=n.getUTCMonth(),e._a[ti]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=o[t]=r[t];for(;t<7;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[ni]&&0===e._a[ri]&&0===e._a[ii]&&0===e._a[oi]&&(e._nextDay=!0,e._a[ni]=0),e._d=(e._useUTC?be:ye).apply(null,o),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[ni]=24)}}function ct(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=st(t.GG,e._a[Kr],ke(yt(),1,4).year),r=st(t.W,1),i=st(t.E,1),(i<1||i>7)&&(u=!0)):(o=e._locale._week.dow,a=e._locale._week.doy,n=st(t.gg,e._a[Kr],ke(yt(),o,a).year),r=st(t.w,1),null!=t.d?(i=t.d,(i<0||i>6)&&(u=!0)):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(u=!0)):i=o),r<1||r>Ce(n,o,a)?h(e)._overflowWeeks=!0:null!=u?h(e)._overflowWeekday=!0:(s=xe(n,r,i,o,a),e._a[Kr]=s.year,e._dayOfYear=s.dayOfYear)}function ft(e){if(e._f===n.ISO_8601)return void ot(e);e._a=[],h(e).empty=!0;var t,r,i,o,a,s=""+e._i,u=s.length,l=0;for(i=J(e._f,e._locale).match(Tr)||[],t=0;t0&&h(e).unusedInput.push(a),s=s.slice(s.indexOf(r)+r.length),l+=r.length),Fr[o]?(r?h(e).empty=!1:h(e).unusedTokens.push(o),ie(o,r,e)):e._strict&&!r&&h(e).unusedTokens.push(o);h(e).charsLeftOver=u-l,s.length>0&&h(e).unusedInput.push(s),e._a[ni]<=12&&h(e).bigHour===!0&&e._a[ni]>0&&(h(e).bigHour=void 0),h(e).parsedDateParts=e._a.slice(0),h(e).meridiem=e._meridiem,e._a[ni]=dt(e._locale,e._a[ni],e._meridiem),lt(e),it(e)}function dt(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(r=e.isPM(n),r&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function ht(e){var t,n,r,i,o;if(0===e._f.length)return h(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;ithis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Pt(){if(!g(this._isDSTShifted))return this._isDSTShifted;var e={};if(v(e,this),e=gt(e),e._a){var t=e._isUTC?f(e._a):yt(e._a);this._isDSTShifted=this.isValid()&&x(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function jt(){return!!this.isValid()&&!this._isUTC}function Lt(){return!!this.isValid()&&this._isUTC}function Rt(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function Ut(e,t){var n,r,i,o=e,a=null;return Ct(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:"number"==typeof e?(o={},t?o[t]=e:o.milliseconds=e):(a=Pi.exec(e))?(n="-"===a[1]?-1:1,o={y:0,d:w(a[ti])*n,h:w(a[ni])*n,m:w(a[ri])*n,s:w(a[ii])*n,ms:w(a[oi])*n}):(a=ji.exec(e))?(n="-"===a[1]?-1:1,o={y:Vt(a[2],n),M:Vt(a[3],n),w:Vt(a[4],n),d:Vt(a[5],n),h:Vt(a[6],n),m:Vt(a[7],n),s:Vt(a[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(i=Ht(yt(o.from),yt(o.to)),o={},o.ms=i.milliseconds,o.M=i.months),r=new kt(o),Ct(e)&&l(e,"_locale")&&(r._locale=e._locale),r}function Vt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function zt(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 Ht(e,t){var n;return e.isValid()&&t.isValid()?(t=Et(t,e),e.isBefore(t)?n=zt(e,t):(n=zt(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function qt(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function Yt(e,t){return function(n,r){var i,o;return null===r||isNaN(+r)||(S(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),n="string"==typeof n?+n:n,i=Ut(n,r),Wt(this,i,e),this}}function Wt(e,t,r,i){var o=t._milliseconds,a=qt(t._days),s=qt(t._months);e.isValid()&&(i=null==i||i,o&&e._d.setTime(e._d.valueOf()+o*r),a&&H(e,"Date",z(e,"Date")+a*r),s&&ce(e,z(e,"Month")+s*r),i&&n.updateOffset(e,a||s))}function Bt(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Gt(e,t){var r=e||yt(),i=Et(r,this).startOf("day"),o=n.calendarFormat(this,i)||"sameElse",a=t&&(_(t[o])?t[o].call(this,r):t[o]);return this.format(a||this.localeData().calendar(o,this,yt(r)))}function Zt(){return new $(this)}function Qt(e,t){var n=y(e)?e:yt(e);return!(!this.isValid()||!n.isValid())&&(t=j(g(t)?"millisecond":t),"millisecond"===t?this.valueOf()>n.valueOf():n.valueOf()o&&(t=o),On.call(this,e,t,n,r,i))}function On(e,t,n,r,i){var o=xe(e,t,n,r,i),a=be(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function Fn(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function In(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 Nn(e,t){t[oi]=w(1e3*("0."+e))}function Pn(){return this._isUTC?"UTC":""}function jn(){return this._isUTC?"Coordinated Universal Time":""}function Ln(e){return yt(1e3*e)}function Rn(){return yt.apply(null,arguments).parseZone()}function Un(e){return e}function Vn(e,t,n,r){var i=nt(),o=f().set(r,t);return i[n](o,e)}function zn(e,t,n){if("number"==typeof e&&(t=e,e=void 0),e=e||"",null!=t)return Vn(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=Vn(e,r,n,"month");return i}function Hn(e,t,n,r){"boolean"==typeof e?("number"==typeof t&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,"number"==typeof t&&(n=t,t=void 0),t=t||"");var i=nt(),o=e?i._week.dow:0;if(null!=n)return Vn(t,(n+o)%7,r,"day");var a,s=[];for(a=0;a<7;a++)s[a]=Vn(t,(a+o)%7,r,"day");return s}function qn(e,t){return zn(e,t,"months")}function Yn(e,t){return zn(e,t,"monthsShort")}function Wn(e,t,n){return Hn(e,t,n,"weekdays")}function Bn(e,t,n){return Hn(e,t,n,"weekdaysShort")}function Gn(e,t,n){return Hn(e,t,n,"weekdaysMin")}function Zn(){var e=this._data;return this._milliseconds=Zi(this._milliseconds),this._days=Zi(this._days),this._months=Zi(this._months),e.milliseconds=Zi(e.milliseconds),e.seconds=Zi(e.seconds),e.minutes=Zi(e.minutes),e.hours=Zi(e.hours),e.months=Zi(e.months),e.years=Zi(e.years),this}function Qn(e,t,n,r){var i=Ut(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function Jn(e,t){return Qn(this,e,t,1)}function Xn(e,t){return Qn(this,e,t,-1)}function Kn(e){return e<0?Math.floor(e):Math.ceil(e)}function er(){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||o<=0&&a<=0&&s<=0||(o+=864e5*Kn(nr(s)+a),a=0,s=0),u.milliseconds=o%1e3,e=b(o/1e3),u.seconds=e%60,t=b(e/60),u.minutes=t%60,n=b(t/60),u.hours=n%24,a+=b(n/24),i=b(tr(a)),s+=i,a-=Kn(nr(i)),r=b(s/12),s%=12,u.days=a,u.months=s,u.years=r,this}function tr(e){return 4800*e/146097}function nr(e){return 146097*e/4800}function rr(e){var t,n,r=this._milliseconds;if(e=j(e),"month"===e||"year"===e)return t=this._days+r/864e5,n=this._months+tr(t),"month"===e?n:n/12;switch(t=this._days+Math.round(nr(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 ir(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*w(this._months/12)}function or(e){return function(){return this.as(e)}}function ar(e){return e=j(e),this[e+"s"]()}function sr(e){return function(){return this._data[e]}}function ur(){return b(this.days()/7)}function lr(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function cr(e,t,n){var r=Ut(e).abs(),i=fo(r.as("s")),o=fo(r.as("m")),a=fo(r.as("h")),s=fo(r.as("d")),u=fo(r.as("M")),l=fo(r.as("y")),c=i0,c[4]=n,lr.apply(null,c)}function fr(e){return void 0===e?fo:"function"==typeof e&&(fo=e,!0)}function dr(e,t){return void 0!==ho[e]&&(void 0===t?ho[e]:(ho[e]=t,!0))}function hr(e){var t=this.localeData(),n=cr(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function pr(){var e,t,n,r=po(this._milliseconds)/1e3,i=po(this._days),o=po(this._months);e=b(r/60),t=b(e/60),r%=60,e%=60,n=b(o/12),o%=12;var a=n,s=o,u=i,l=t,c=e,f=r,d=this.asSeconds();return d?(d<0?"-":"")+"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 mr,gr;gr=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;r68?1900:2e3)};var hi=V("FullYear",!0);B("w",["ww",2],"wo","week"),B("W",["WW",2],"Wo","isoWeek"),P("week","w"),P("isoWeek","W"),R("week",5),R("isoWeek",5),X("w",Rr),X("ww",Rr,Nr),X("W",Rr),X("WW",Rr,Nr),re(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=w(e)});var pi={dow:0,doy:6};B("d",0,"do","day"),B("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),B("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),B("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),B("e",0,0,"weekday"),B("E",0,0,"isoWeekday"),P("day","d"),P("weekday","e"),P("isoWeekday","E"),R("day",11),R("weekday",11),R("isoWeekday",11),X("d",Rr),X("e",Rr),X("E",Rr),X("dd",function(e,t){return t.weekdaysMinRegex(e)}),X("ddd",function(e,t){return t.weekdaysShortRegex(e)}),X("dddd",function(e,t){return t.weekdaysRegex(e)}),re(["dd","ddd","dddd"],function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:h(n).invalidWeekday=e}),re(["d","e","E"],function(e,t,n,r){t[r]=w(e)});var mi="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),gi="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),vi="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),$i=Qr,yi=Qr,bi=Qr;B("H",["HH",2],0,"hour"),B("h",["hh",2],0,qe),B("k",["kk",2],0,Ye),B("hmm",0,0,function(){return""+qe.apply(this)+W(this.minutes(),2)}),B("hmmss",0,0,function(){return""+qe.apply(this)+W(this.minutes(),2)+W(this.seconds(),2)}),B("Hmm",0,0,function(){return""+this.hours()+W(this.minutes(),2)}),B("Hmmss",0,0,function(){return""+this.hours()+W(this.minutes(),2)+W(this.seconds(),2)}),We("a",!0),We("A",!1),P("hour","h"),R("hour",13),X("a",Be),X("A",Be),X("H",Rr),X("h",Rr),X("HH",Rr,Nr),X("hh",Rr,Nr),X("hmm",Ur),X("hmmss",Vr),X("Hmm",Ur),X("Hmmss",Vr),ne(["H","HH"],ni),ne(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ne(["h","hh"],function(e,t,n){t[ni]=w(e),h(n).bigHour=!0}),ne("hmm",function(e,t,n){var r=e.length-2;t[ni]=w(e.substr(0,r)),t[ri]=w(e.substr(r)),h(n).bigHour=!0}),ne("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[ni]=w(e.substr(0,r)),t[ri]=w(e.substr(r,2)),t[ii]=w(e.substr(i)),h(n).bigHour=!0}),ne("Hmm",function(e,t,n){var r=e.length-2;t[ni]=w(e.substr(0,r)),t[ri]=w(e.substr(r))}),ne("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[ni]=w(e.substr(0,r)),t[ri]=w(e.substr(r,2)),t[ii]=w(e.substr(i))});var wi,xi=/[ap]\.?m?\.?/i,ki=V("Hours",!0),Ci={calendar:xr,longDateFormat:kr,invalidDate:Cr,ordinal:Sr,ordinalParse:_r,relativeTime:Er,months:li,monthsShort:ci,week:pi,weekdays:mi,weekdaysMin:vi,weekdaysShort:gi,meridiemParse:xi},Si={},_i=/^\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)?)?/,Ei=/^\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)?)?/,Di=/Z|[+-]\d\d(?::?\d\d)?/,Ai=[["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}/]],Ti=[["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/]],Mi=/^\/?Date\((\-?\d+)/i;n.createFromInputFallback=C("moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),n.ISO_8601=function(){};var Oi=C("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=yt.apply(null,arguments);return this.isValid()&&e.isValid()?ethis?this:e:m()}),Ii=function(){return Date.now?Date.now():+new Date};St("Z",":"),St("ZZ",""),X("Z",Gr),X("ZZ",Gr),ne(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=_t(Gr,e)});var Ni=/([\+\-]|\d\d)/gi;n.updateOffset=function(){};var Pi=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?\d*)?$/,ji=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;Ut.fn=kt.prototype;var Li=Yt(1,"add"),Ri=Yt(-1,"subtract");n.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",n.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Ui=C("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)});B(0,["gg",2],0,function(){return this.weekYear()%100}),B(0,["GG",2],0,function(){return this.isoWeekYear()%100}),_n("gggg","weekYear"),_n("ggggg","weekYear"),_n("GGGG","isoWeekYear"),_n("GGGGG","isoWeekYear"),P("weekYear","gg"),P("isoWeekYear","GG"),R("weekYear",1),R("isoWeekYear",1),X("G",Wr),X("g",Wr),X("GG",Rr,Nr),X("gg",Rr,Nr),X("GGGG",Hr,jr),X("gggg",Hr,jr),X("GGGGG",qr,Lr),X("ggggg",qr,Lr),re(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=w(e)}),re(["gg","GG"],function(e,t,r,i){t[i]=n.parseTwoDigitYear(e)}),B("Q",0,"Qo","quarter"),P("quarter","Q"),R("quarter",7),X("Q",Ir),ne("Q",function(e,t){t[ei]=3*(w(e)-1)}),B("D",["DD",2],"Do","date"),P("date","D"),R("date",9),X("D",Rr),X("DD",Rr,Nr),X("Do",function(e,t){return e?t._ordinalParse:t._ordinalParseLenient}),ne(["D","DD"],ti),ne("Do",function(e,t){t[ti]=w(e.match(Rr)[0],10)});var Vi=V("Date",!0);B("DDD",["DDDD",3],"DDDo","dayOfYear"),P("dayOfYear","DDD"),R("dayOfYear",4),X("DDD",zr),X("DDDD",Pr),ne(["DDD","DDDD"],function(e,t,n){n._dayOfYear=w(e)}),B("m",["mm",2],0,"minute"),P("minute","m"),R("minute",14),X("m",Rr),X("mm",Rr,Nr),ne(["m","mm"],ri);var zi=V("Minutes",!1);B("s",["ss",2],0,"second"),P("second","s"),R("second",15),X("s",Rr),X("ss",Rr,Nr),ne(["s","ss"],ii);var Hi=V("Seconds",!1);B("S",0,0,function(){return~~(this.millisecond()/100)}),B(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),B(0,["SSS",3],0,"millisecond"),B(0,["SSSS",4],0,function(){return 10*this.millisecond()}),B(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),B(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),B(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),B(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),B(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),P("millisecond","ms"),R("millisecond",16),X("S",zr,Ir),X("SS",zr,Nr),X("SSS",zr,Pr);var qi;for(qi="SSSS";qi.length<=9;qi+="S")X(qi,Yr);for(qi="S";qi.length<=9;qi+="S")ne(qi,Nn);var Yi=V("Milliseconds",!1);B("z",0,0,"zoneAbbr"),B("zz",0,0,"zoneName");var Wi=$.prototype;Wi.add=Li,Wi.calendar=Gt,Wi.clone=Zt,Wi.diff=nn,Wi.endOf=mn,Wi.format=sn,Wi.from=un,Wi.fromNow=ln,Wi.to=cn,Wi.toNow=fn,Wi.get=q,Wi.invalidAt=Cn,Wi.isAfter=Qt,Wi.isBefore=Jt,Wi.isBetween=Xt,Wi.isSame=Kt,Wi.isSameOrAfter=en,Wi.isSameOrBefore=tn,Wi.isValid=xn,Wi.lang=Ui,Wi.locale=dn,Wi.localeData=hn,Wi.max=Fi,Wi.min=Oi,Wi.parsingFlags=kn,Wi.set=Y,Wi.startOf=pn,Wi.subtract=Ri,Wi.toArray=yn,Wi.toObject=bn,Wi.toDate=$n,Wi.toISOString=an,Wi.toJSON=wn,Wi.toString=on,Wi.unix=vn,Wi.valueOf=gn,Wi.creationData=Sn,Wi.year=hi,Wi.isLeapYear=$e,Wi.weekYear=En,Wi.isoWeekYear=Dn,Wi.quarter=Wi.quarters=Fn,Wi.month=fe,Wi.daysInMonth=de,Wi.week=Wi.weeks=De,Wi.isoWeek=Wi.isoWeeks=Ae,Wi.weeksInYear=Tn,Wi.isoWeeksInYear=An,Wi.date=Vi,Wi.day=Wi.days=je,Wi.weekday=Le,Wi.isoWeekday=Re,Wi.dayOfYear=In,Wi.hour=Wi.hours=ki,Wi.minute=Wi.minutes=zi,Wi.second=Wi.seconds=Hi,Wi.millisecond=Wi.milliseconds=Yi,Wi.utcOffset=At,Wi.utc=Mt,Wi.local=Ot,Wi.parseZone=Ft,Wi.hasAlignedHourOffset=It,Wi.isDST=Nt,Wi.isLocal=jt,Wi.isUtcOffset=Lt,Wi.isUtc=Rt,Wi.isUTC=Rt,Wi.zoneAbbr=Pn,Wi.zoneName=jn,Wi.dates=C("dates accessor is deprecated. Use date instead.",Vi),Wi.months=C("months accessor is deprecated. Use month instead",fe),Wi.years=C("years accessor is deprecated. Use year instead",hi),Wi.zone=C("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Tt),Wi.isDSTShifted=C("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Pt);var Bi=Wi,Gi=A.prototype;Gi.calendar=T,Gi.longDateFormat=M,Gi.invalidDate=O,Gi.ordinal=F,Gi.preparse=Un,Gi.postformat=Un,Gi.relativeTime=I,Gi.pastFuture=N,Gi.set=E,Gi.months=ae,Gi.monthsShort=se,Gi.monthsParse=le,Gi.monthsRegex=pe,Gi.monthsShortRegex=he,Gi.week=Se,Gi.firstDayOfYear=Ee,Gi.firstDayOfWeek=_e,Gi.weekdays=Oe,Gi.weekdaysMin=Ie,Gi.weekdaysShort=Fe,Gi.weekdaysParse=Pe,Gi.weekdaysRegex=Ue,Gi.weekdaysShortRegex=Ve,Gi.weekdaysMinRegex=ze,Gi.isPM=Ge,Gi.meridiem=Ze,Ke("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===w(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),n.lang=C("moment.lang is deprecated. Use moment.locale instead.",Ke),n.langData=C("moment.langData is deprecated. Use moment.localeData instead.",nt);var Zi=Math.abs,Qi=or("ms"),Ji=or("s"),Xi=or("m"),Ki=or("h"),eo=or("d"),to=or("w"),no=or("M"),ro=or("y"),io=sr("milliseconds"),oo=sr("seconds"),ao=sr("minutes"),so=sr("hours"),uo=sr("days"),lo=sr("months"),co=sr("years"),fo=Math.round,ho={s:45,m:45,h:22,d:26,M:11},po=Math.abs,mo=kt.prototype;mo.abs=Zn,mo.add=Jn,mo.subtract=Xn,mo.as=rr,mo.asMilliseconds=Qi,mo.asSeconds=Ji,mo.asMinutes=Xi,mo.asHours=Ki,mo.asDays=eo,mo.asWeeks=to,mo.asMonths=no,mo.asYears=ro,mo.valueOf=ir,mo._bubble=er,mo.get=ar,mo.milliseconds=io,mo.seconds=oo,mo.minutes=ao,mo.hours=so,mo.days=uo,mo.weeks=ur,mo.months=lo,mo.years=co,mo.humanize=hr,mo.toISOString=pr,mo.toString=pr,mo.toJSON=pr,mo.locale=dn,mo.localeData=hn,mo.toIsoString=C("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",pr),mo.lang=Ui,B("X",0,0,"unix"),B("x",0,0,"valueOf"),X("x",Wr),X("X",Zr),ne("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),ne("x",function(e,t,n){n._d=new Date(w(e))}),n.version="2.14.1",r(yt),n.fn=Bi,n.min=wt,n.max=xt,n.now=Ii,n.utc=f,n.unix=Ln,n.months=qn,n.isDate=s,n.locale=Ke,n.invalid=m,n.duration=Ut,n.isMoment=y,n.weekdays=Wn,n.parseZone=Rn,n.localeData=nt,n.isDuration=Ct,n.monthsShort=Yn,n.weekdaysMin=Gn,n.defineLocale=et,n.updateLocale=tt,n.locales=rt,n.weekdaysShort=Bn,n.normalizeUnits=j,n.relativeTimeRounding=fr,n.relativeTimeThreshold=dr,n.calendarFormat=Bt,n.prototype=Bi;var go=n;return go})},{}],13:[function(e,t,n){!function(e,n){"use strict";var r,i,o,a=e,s=a.document,u=a.navigator,l=a.setTimeout,c=a.clearTimeout,f=a.setInterval,d=a.clearInterval,h=a.getComputedStyle,p=a.encodeURIComponent,m=a.ActiveXObject,g=a.Error,v=a.Number.parseInt||a.parseInt,$=a.Number.parseFloat||a.parseFloat,y=a.Number.isNaN||a.isNaN,b=a.Date.now,w=a.Object.keys,x=a.Object.defineProperty,k=a.Object.prototype.hasOwnProperty,C=a.Array.prototype.slice,S=function(){var e=function(e){return e};if("function"==typeof a.wrap&&"function"==typeof a.unwrap)try{var t=s.createElement("div"),n=a.unwrap(t);1===t.nodeType&&n&&1===n.nodeType&&(e=a.unwrap)}catch(r){}return e}(),_=function(e){return C.call(e,0)},E=function(){var e,t,r,i,o,a,s=_(arguments),u=s[0]||{};for(e=1,t=s.length;e=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"),Ae(),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,X.activeClass),i!==e&&Le(i,X.hoverClass)),i=e,je(e,X.hoverClass);var t=e.getAttribute("title")||X.title;if("string"==typeof t&&t){var n=Ee(U.bridge);n&&n.setAttribute("title",t)}var r=X.forceHandCursor===!0||"pointer"===Re(e,"cursor");qe(r),He()}},de=function(){var e=Ee(U.bridge);e&&(e.removeAttribute("title"),e.style.left="0px",e.style.top="-9999px",e.style.width="1px",e.style.height="1px"),i&&(Le(i,X.hoverClass),Le(i,X.activeClass),i=null)},he=function(){return i||null},pe=function(e){return"string"==typeof e&&e&&/^[A-Za-z][A-Za-z0-9_:\-\.]*$/.test(e)},me=function(e){var t;if("string"==typeof e&&e?(t=e,e={}):"object"==typeof e&&e&&"string"==typeof e.type&&e.type&&(t=e.type),t){t=t.toLowerCase(),!e.target&&(/^(copy|aftercopy|_click)$/.test(t)||"error"===t&&"clipboard-error"===e.name)&&(e.target=o),E(e,{type:t,target:e.target||i||null,relatedTarget:e.relatedTarget||null,currentTarget:U&&U.bridge||null,timeStamp:e.timeStamp||b()||null});var n=B[e.type];return"error"===e.type&&e.name&&n&&(n=n[e.name]),n&&(e.message=n),"ready"===e.type&&E(e,{target:null,version:U.version}),"error"===e.type&&(Q.test(e.name)&&E(e,{target:null,minimumVersion:V}),J.test(e.name)&&E(e,{version:U.version})),"copy"===e.type&&(e.clipboardData={setData:Ge.setData,clearData:Ge.clearData}),"aftercopy"===e.type&&(e=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;o0){var t=D(e);E(t,{type:"error",name:"clipboard-error"}),delete t.success,l(function(){Ge.emit(t)},0)}},Ce=function(e){if(e&&"string"==typeof e.type&&e){var t,n=e.target||null,r=n&&n.ownerDocument||s,i={view:r.defaultView||a,canBubble:!0,cancelable:!0,detail:"click"===e.type?1:0,button:"number"==typeof e.which?e.which-1:"number"==typeof e.button?e.button:r.createEvent?0:1},o=E(i,e);n&&r.createEvent&&n.dispatchEvent&&(o=[o.type,o.canBubble,o.cancelable,o.view,o.detail,o.screenX,o.screenY,o.clientX,o.clientY,o.ctrlKey,o.altKey,o.shiftKey,o.metaKey,o.button,o.relatedTarget],t=r.createEvent("MouseEvents"),t.initMouseEvent&&(t.initMouseEvent.apply(t,o),t._source="js",n.dispatchEvent(t)))}},Se=function(){var e=X.flashLoadTimeout;if("number"==typeof e&&e>=0){var t=Math.min(1e3,e/10),n=X.swfObjectId+"_fallbackContent";W=f(function(){var e=s.getElementById(n);Ve(e)&&(ze(),U.deactivated=null,Ge.emit({type:"error",name:"swf-not-found"}))},t)}},_e=function(){var e=s.createElement("div");return e.id=X.containerId,e.className=X.containerClass,e.style.position="absolute",e.style.left="0px",e.style.top="-9999px",e.style.width="1px",e.style.height="1px",e.style.zIndex=""+Ye(X.zIndex),e},Ee=function(e){for(var t=e&&e.parentNode;t&&"OBJECT"===t.nodeName&&t.parentNode;)t=t.parentNode;return t||null},De=function(){var e,t=U.bridge,n=Ee(t);if(!t){var r=Ne(a.location.host,X),i="never"===r?"none":"all",o=Fe(E({jsVersion:Ge.version},X)),u=X.swfPath+Oe(X.swfPath,X);n=_e();var l=s.createElement("div");n.appendChild(l),s.body.appendChild(n);var c=s.createElement("div"),f="activex"===U.pluginType;c.innerHTML='"+(f?'':"")+'
     
    ',t=c.firstChild,c=null,S(t).ZeroClipboard=Ge,n.replaceChild(t,l),Se()}return t||(t=s[X.swfObjectId],t&&(e=t.length)&&(t=t[e-1]),!t&&n&&(t=n.firstChild)),U.bridge=t||null,t},Ae=function(){var e=U.bridge;if(e){var t=Ee(e);t&&("activex"===U.pluginType&&"readyState"in e?(e.style.display="none",function i(){if(4===e.readyState){for(var n in e)"function"==typeof e[n]&&(e[n]=null);e.parentNode&&e.parentNode.removeChild(e),t.parentNode&&t.parentNode.removeChild(t)}else l(i,10)}()):(e.parentNode&&e.parentNode.removeChild(e),t.parentNode&&t.parentNode.removeChild(t))),ze(),U.ready=null,U.bridge=null,U.deactivated=null,r=n}},Te=function(e){var t={},n={};if("object"==typeof e&&e){for(var r in e)if(r&&k.call(e,r)&&"string"==typeof e[r]&&e[r])switch(r.toLowerCase()){case"text/plain":case"text":case"air:text":case"flash:text":t.text=e[r],n.text=r;break;case"text/html":case"html":case"air:html":case"flash:html":t.html=e[r],n.html=r;break;case"application/rtf":case"text/rtf":case"rtf":case"richtext":case"air:rtf":case"flash:rtf":t.rtf=e[r],n.rtf=r}return{data:t,formatMap:n}}},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;i0){if(1===o&&"*"===i[0])return"always";if(i.indexOf(t)!==-1)return 1===o&&t===r?"sameDomain":"always"}return"never"}}(),Pe=function(){try{return s.activeElement}catch(e){return null}},je=function(e,t){var n,r,i,o=[];if("string"==typeof t&&t&&(o=t.split(/\s+/)),e&&1===e.nodeType&&o.length>0)if(e.classList)for(n=0,r=o.length;n0)if(e.classList&&e.classList.length>0)for(n=0,r=o.length;n0,r=$(t.width)>0,i=$(t.top)>=0,o=$(t.left)>=0,a=n&&r&&i&&o,s=a?null:Ue(e),u="none"!==t.display&&"collapse"!==t.visibility&&(a||!!s&&(n||s.height>0)&&(r||s.width>0)&&(i||s.top>=0)&&(o||s.left>=0));return u},ze=function(){c(Y),Y=0,d(W),W=0},He=function(){var e;if(i&&(e=Ee(U.bridge))){var t=Ue(i);E(e.style,{width:t.width+"px",height:t.height+"px",top:t.top+"px",left:t.left+"px",zIndex:""+Ye(X.zIndex)})}},qe=function(e){U.ready===!0&&(U.bridge&&"function"==typeof U.bridge.setHandCursor?U.bridge.setHandCursor(e):U.ready=!1)},Ye=function(e){if(/^(?:auto|inherit)$/.test(e))return e;var t;return"number"!=typeof e||y(e)?"string"==typeof e&&(t=Ye(v(e,10))):t=e,"number"==typeof t?t:"auto"},We=function(t){var n,r,i,o=U.sandboxed,a=null;if(t=t===!0,R===!1)a=!1;else{try{r=e.frameElement||null}catch(s){i={name:s.name,message:s.message}}if(r&&1===r.nodeType&&"IFRAME"===r.nodeName)try{a=r.hasAttribute("sandbox")}catch(s){a=null}else{try{n=document.domain||null}catch(s){n=null}(null===n||i&&"SecurityError"===i.name&&/(^|[\s\(\[@])sandbox(es|ed|ing|[\s\.,!\)\]@]|$)/.test(i.message.toLowerCase()))&&(a=!0)}}return U.sandboxed=a,o===a||t||Be(m),a},Be=function(e){function t(e){var t=e.match(/[\d]+/g);return t.length=3,t.join(".")}function n(e){return!!e&&(e=e.toLowerCase())&&(/^(pepflashplayer\.dll|libpepflashplayer\.so|pepperflashplayer\.plugin)$/.test(e)||"chrome.plugin"===e.slice(-13))}function r(e){e&&(s=!0,e.version&&(f=t(e.version)),!f&&e.description&&(f=t(e.description)),e.filename&&(c=n(e.filename)))}var i,o,a,s=!1,l=!1,c=!1,f="";if(u.plugins&&u.plugins.length)i=u.plugins["Shockwave Flash"],r(i),u.plugins["Shockwave Flash 2.0"]&&(s=!0,f="2.0.0.11");else if(u.mimeTypes&&u.mimeTypes.length)a=u.mimeTypes["application/x-shockwave-flash"],i=a&&a.enabledPlugin,r(i);else if("undefined"!=typeof e){l=!0;try{o=new e("ShockwaveFlash.ShockwaveFlash.7"),s=!0,f=t(o.GetVariable("$version"))}catch(d){try{o=new e("ShockwaveFlash.ShockwaveFlash.6"),s=!0,f="6.0.21"}catch(h){try{o=new e("ShockwaveFlash.ShockwaveFlash"),s=!0,f=t(o.GetVariable("$version"))}catch(p){l=!1}}}}U.disabled=s!==!0,U.outdated=f&&$(f)<$(V),U.version=f||"0.0.0",U.pluginType=c?"pepper":l?"activex":s?"netscape":"unknown"};Be(m),We(!0);var Ge=function(){return this instanceof Ge?void("function"==typeof Ge._createClient&&Ge._createClient.apply(this,_(arguments))):new Ge};x(Ge,"version",{value:"2.2.0",writable:!1,configurable:!0,enumerable:!0}),Ge.config=function(){return K.apply(this,_(arguments))},Ge.state=function(){return ee.apply(this,_(arguments))},Ge.isFlashUnusable=function(){return te.apply(this,_(arguments))},Ge.on=function(){return ne.apply(this,_(arguments))},Ge.off=function(){return re.apply(this,_(arguments))},Ge.handlers=function(){return ie.apply(this,_(arguments))},Ge.emit=function(){return oe.apply(this,_(arguments))},Ge.create=function(){return ae.apply(this,_(arguments))},Ge.destroy=function(){return se.apply(this,_(arguments))},Ge.setData=function(){return ue.apply(this,_(arguments))},Ge.clearData=function(){return le.apply(this,_(arguments))},Ge.getData=function(){return ce.apply(this,_(arguments))},Ge.focus=Ge.activate=function(){return fe.apply(this,_(arguments))},Ge.blur=Ge.deactivate=function(){return de.apply(this,_(arguments))},Ge.activeElement=function(){return he.apply(this,_(arguments))};var Ze=0,Qe={},Je=0,Xe={},Ke={};E(X,{autoActivate:!0});var et=function(e){var t=this;t.id=""+Ze++,Qe[t.id]={instance:t,elements:[],handlers:{}},e&&t.clip(e),Ge.on("*",function(e){return t.emit(e)}),Ge.on("destroy",function(){t.destroy()}),Ge.create()},tt=function(e,t){var i,o,a,s={},u=Qe[this.id],l=u&&u.handlers;if(!u)throw new Error("Attempted to add new listener(s) to a destroyed ZeroClipboard client instance");if("string"==typeof e&&e)a=e.toLowerCase().split(/\s+/);else if("object"==typeof e&&e&&"undefined"==typeof t)for(i in e)k.call(e,i)&&"string"==typeof i&&i&&"function"==typeof e[i]&&this.on(i,e[i]);if(a&&a.length){for(i=0,o=a.length;i0,i=!e.target||r&&n.indexOf(e.target)!==-1,o=e.relatedTarget&&r&&n.indexOf(e.relatedTarget)!==-1,a=e.client&&e.client===this;return!(!t||!(i||o||a))},ct=function(e){var t=Qe[this.id];if("object"==typeof e&&e&&e.type&&t){var n=$e(e),r=t&&t.handlers["*"]||[],i=t&&t.handlers[e.type]||[],o=r.concat(i);if(o&&o.length){var s,u,l,c,f,d=this;for(s=0,u=o.length;s\n Image Preview\n
    \n \n
    \n\n \n |\n \n\n \n
    '},{}],16:[function(e,t,n){t.exports='
    \n \n
    \n
    '},{}],17:[function(e,t,n){"use strict";var r=e("moment");t.exports=function(t,n){t.controller("ImageManagerController",["$scope","$attrs","$http","$timeout","imageManagerService",function(e,t,r,i,o){function a(){e.searching=!1,e.searchTerm="",e.images=m,e.hasMore=g}function s(t){p&&p(t),e.hide()}function u(t){p=t,e.showing=!0,$("#image-manager").find(".overlay").css("display","flex").hide().fadeIn(240),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 window.baseUrl("/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;i tr",containment:"parent",axis:"y"},e.addEmptyTag=i,o(),e.tagChange=function(t){var n=e.tags.indexOf(t);n===e.tags.length-1&&(""===t.name&&""===t.value||i())},e.tagBlur=function(t){var n=e.tags.length-1===e.tags.indexOf(t);if(""===t.name&&""===t.value&&!n){var r=e.tags.indexOf(t);e.tags.splice(r,1)}},e.saveTags=function(){a();var r={tags:e.tags},o=window.baseUrl("/ajax/tags/update/page/"+s);t.post(o,r).then(function(t){e.tags=t.data.tags,i(),n.emit("success",t.data.message)})},e.removeTag=function(t){var n=e.tags.indexOf(t);e.tags.splice(n,1)}}])}},{"./pages/page-form":20,moment:12}],18:[function(e,t,n){"use strict";var r=e("dropzone"),i=e("marked"),o=e("./components/toggle-switch.html"),a=e("./components/image-picker.html"),s=e("./components/drop-zone.html");t.exports=function(e,t){e.directive("toggleSwitch",function(){return{restrict:"A",template:o,scope:!0,link:function(e,t,n){e.name=n.name,e.value=n.value,e.isActive=1==e.value&&"false"!=e.value,e.value=1==e.value&&"false"!=e.value?"true":"false",e["switch"]=function(){e.isActive=!e.isActive,e.value=e.isActive?"true":"false"}}}}),e.directive("imagePicker",["$http","imageManagerService",function(e,t){return{restrict:"E",template:a,scope:{name:"@",resizeHeight:"@",resizeWidth:"@",resizeCrop:"@",showRemove:"=",currentImage:"@",currentId:"@",defaultImage:"@",imageClass:"@"},link:function(n,r,i){function o(e,t){n.image=t,n.value=a?e.id:t}var a="undefined"!=typeof n.currentId||"false"===n.currentId;n.image=n.currentImage,n.value=n.currentImage||"",a&&(n.value=n.currentId),n.reset=function(){o({id:0},n.defaultImage)},n.remove=function(){n.image="none",n.value="none"},n.showImageManager=function(){t.show(function(e){n.updateImageFromModel(e)})},n.updateImageFromModel=function(t){var r=n.resizeWidth&&n.resizeHeight;if(!r)return void n.$apply(function(){o(t,t.url)});var i=n.resizeCrop?"true":"false",a="/images/thumb/"+t.id+"/"+n.resizeWidth+"/"+n.resizeHeight+"/"+i;a=window.baseUrl(a),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");var e=r.find("input"),n=e.length>0;n&&(e.first().focus(),t.on("keypress","input",function(e){if(13===e.keyCode)return e.preventDefault(),r.hide(),r.removeClass("anim menuIn"),!1})),t.mouseleave(function(){r.hide(),r.removeClass("anim menuIn")})})}}}]),e.directive("tinymce",["$timeout",function(e){return{restrict:"A",scope:{tinymce:"=",mceModel:"=",mceChange:"="},link:function(t,n,r){function i(n){n.on("ExecCommand change NodeChange ObjectResized",function(r){var i=n.getContent();e(function(){t.mceModel=i}),t.mceChange(i)}),n.on("keydown",function(e){t.$emit("editor-keydown",e)}),n.on("init",function(e){t.mceModel=n.getContent()}),t.$on("html-update",function(e,r){n.setContent(r),n.selection.select(n.getBody(),!0),n.selection.collapse(!1),t.mceModel=n.getContent()})}t.tinymce.extraSetups.push(i),tinymce.PluginManager.add("customhr",function(e){e.addCommand("InsertHorizontalRule",function(){var t=document.createElement("hr"),n=e.selection.getNode(),r=n.parentNode;r.insertBefore(t,n)}),e.addButton("hr",{icon:"hr",tooltip:"Horizontal line",cmd:"InsertHorizontalRule"}),e.addMenuItem("hr",{icon:"hr",text:"Horizontal line",cmd:"InsertHorizontalRule",context:"insert"})}),tinymce.init(t.tinymce)}}}]),e.directive("markdownInput",["$timeout",function(e){return{restrict:"A",scope:{mdModel:"=",mdChange:"="},link:function(t,n,r){n=n.find("textarea").first();var o=n.val();t.mdModel=o,t.mdChange(i(o)),n.on("change input",function(r){o=n.val(),e(function(){t.mdModel=o,t.mdChange(i(o))})}),t.$on("markdown-update",function(e,r){n.val(r),t.mdModel=r,t.mdChange(i(r))})}}}]),e.directive("markdownEditor",["$timeout",function(e){return{restrict:"A",link:function(e,t,n){function r(){h=u[0].scrollHeight,p=u.height(),m=l[0].scrollHeight,g=l.height()}function i(){window.showEntityLinkSelector(function(e){var t=d,n=u[0].selectionEnd,r=n!==t,i=u.val();if(r){var o=i.substring(t,n),a="["+o+"]("+e.link+")";u.val(i.substring(0,t)+a+i.substring(n))}else{var s=" ["+e.name+"]("+e.link+") ";u.val(i.substring(0,t)+s+i.substring(t))}u.change()})}function o(e){if(e=e.originalEvent,e.clipboardData){var t=e.clipboardData.items;if(t)for(var n=0;na?"!["+c+"]":"![]")+("("+f+")");u[0].value=l.substring(0,a)+d+l.substring(s),u.focus(),u[0].selectionStart=a,u[0].selectionEnd=a;var h="image-"+Date.now()+"."+n;t.append("file",e,h),t.append("_token",document.querySelector('meta[name="token"]').getAttribute("content")),r.open("POST",window.baseUrl("/images/gallery/upload")),r.onload=function(){var e=u[0].selectionStart;if(200===r.status||201===r.status){var t=JSON.parse(r.responseText);u[0].value=u[0].value.replace(f,t.thumbs.display),u.change()}else console.log("An error occurred uploading the image"),console.log(r.responseText),u[0].value=u[0].value.replace(d,""),u.change();u.focus(),u[0].selectionStart=e,u[0].selectionEnd=e},r.send(t)}}var u=t.find("[markdown-input] textarea").first(),l=t.find(".markdown-display").first(),c=t.find('button[data-action="insertImage"]'),f=t.find('button[data-action="insertEntityLink"]'),d=0;u.blur(function(e){d=u[0].selectionStart});var h=void 0,p=void 0,m=void 0,g=void 0;setTimeout(function(){r()},200),window.addEventListener("resize",r);var v=800,$=0;u.on("scroll",function(e){ -var t=Date.now();t-$>v&&r();var n=u.scrollTop()/(h-p),i=(m-g)*n;l.scrollTop(i),$=t}),u.keydown(function(t){if(73===t.which&&t.ctrlKey&&t.shiftKey){t.preventDefault();var n=u[0].selectionStart,r=u.val(),o="![](http://)";return u.val(r.substring(0,n)+o+r.substring(n)),u.focus(),u[0].selectionStart=n+"![](".length,void(u[0].selectionEnd=n+"![](http://".length)}return 75===t.which&&t.ctrlKey&&t.shiftKey?void i():void e.$emit("editor-keydown",t)}),c.click(function(e){window.ImageManager.showExternal(function(e){var t=d,n=u.val(),r="!["+e.name+"]("+e.thumbs.display+")";u.val(n.substring(0,t)+r+n.substring(t)),u.change()})}),f.click(i),u.on("paste",o),u.on("drop",a)}}}]),e.directive("toolbox",[function(){return{restrict:"A",link:function(e,t,n){function r(e,n){i.removeClass("active"),o.hide(),i.filter('[tab-button="'+e+'"]').addClass("active"),o.filter('[tab-content="'+e+'"]').show(),n&&t.addClass("open")}var i=t.find("[tab-button]"),o=t.find("[tab-content]"),a=t.find("[toolbox-toggle]");a.click(function(e){t.toggleClass("open")}),r(o.first().attr("tab-content"),!1),i.click(function(e){var t=$(this).attr("tab-button");r(t,!0)})}}}]),e.directive("tagAutosuggestions",["$http",function(e){return{restrict:"A",link:function(t,n,r){function i(e,t){t[h].className="",h=e,t[h].className="active"}function o(e,t){if(0===t.length)return c.hide(),f=!1,void(m=t);if(f||(c.show(),f=!0),e!==d&&(c.detach(),e.after(c),d=e),m.join()===t.join())return void(m=t);c[0].innerHTML="";for(var n=0;n=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(){var e=document.documentElement.scrollTop||document.body.scrollTop||0;!i&&e>a?(o.style.display="block",i=!0,setTimeout(function(){o.style.opacity=.4},1)):i&&e0||navigator.userAgent.indexOf("Safari")!==-1)&&$("body").addClass("flexbox-support")}),e("./pages/page-show")},{"./controllers":17,"./directives":18,"./pages/page-show":21,"./services":22,angular:9,"angular-animate":2,"angular-resource":4,"angular-sanitize":6,"angular-ui-sortable":7}],20:[function(e,t,n){"use strict";function r(e,t){if(e.clipboardData){var n=e.clipboardData.items;if(n)for(var r=function(e){if(n[e].type.indexOf("image")===-1)return{v:void 0};var r=n[e].getAsFile(),i=new FormData,o="png",a=new XMLHttpRequest;if(r.name){var s=r.name.match(/\.(.+)$/);s&&(o=s[1])}var u="image-"+Math.random().toString(16).slice(2),l=window.baseUrl("/loading.gif");t.execCommand("mceInsertContent",!1,'');var c="image-"+Date.now()+"."+o;i.append("file",r,c),i.append("_token",document.querySelector('meta[name="token"]').getAttribute("content")),a.open("POST",window.baseUrl("/images/gallery/upload")),a.onload=function(){if(200===a.status||201===a.status){var e=JSON.parse(a.responseText);t.dom.setAttrib(u,"src",e.thumbs.display)}else console.log("An error occurred uploading the image",a.responseText),t.dom.remove(u)},a.send(i)},i=0;i';i+=''+t.name+'',i+="
    ",r.tinyMCE.activeEditor.execCommand("mceInsertContent",!1,i)})},paste_preprocess:function(e,t){var n=t.content;n.indexOf('';n+=''+t.name+'',n+="",e.execCommand("mceInsertContent",!1,n)})}}),e.on("paste",function(t){r(t,e)})}}},{}],21:[function(e,t,n){"use strict";var r=e("zeroclipboard");r.config({swfPath:window.baseUrl("/ZeroClipboard.swf")}),window.setupPageShow=t.exports=function(e){function t(e){var t=$(".page-content #"+e).first();0!==t.length?(t.smoothScrollTo(),t.css("background-color","rgba(244, 249, 54, 0.25)")):$(".page-content").find(':contains("'+e+'")').smoothScrollTo()}function n(){d.width(h.width()+15),d.addClass("fixed"),g=!0}function i(){d.css("width","auto"),d.removeClass("fixed"),g=!1}function o(e){var t=f.scrollTop()>m;!t||g&&!e?t||!g&&!e||i():n()}function a(){o(!1)}var s=$("#pointer").detach(),u=s.children("div.pointer").first(),l=!1;if(s.on("click","input",function(e){$(this).select(),e.stopPropagation()}),new r(s.find("button").first()[0]),$(document.body).find("*").on("click focus",function(e){l||s.detach()}),$('.page-content [id^="bkmrk"]').on("mouseup keyup",function(t){t.stopPropagation();var n=window.getSelection();if(0!==n.toString().length){var r=$(this),i=window.baseUrl("/link/"+e+"#"+r.attr("id"));0!==i.indexOf("http")&&(i=window.location.protocol+"//"+window.location.host+i),s.find("input").val(i),s.find("button").first().attr("data-clipboard-text",i),r.before(s),s.show();var o=t.pageX-r.offset().left-u.width()/2;o<0&&(o=0);var a=o/r.width()*100;u.css("left",a+"%"),l=!0,setTimeout(function(){l=!1},100)}}),window.location.hash){var c=window.location.hash.replace(/\%20/g," ").substr(1);t(c)}var f=$(window),d=$(".book-tree"),h=d.parent(),p=$(document).height()>f.height()&&d.height()<$(".page-content").height(),m=$("#header").height()+$(".toolbar").height(),g=f.scrollTop()>m;p&&f.width()>1e3&&(f.on("scroll",a),o(!0)),f.on("resize",function(e){p&&f.width()>1e3?(f.on("scroll",a),o(!0)):(f.off("scroll",a),i())})}},{zeroclipboard:13}],22:[function(e,t,n){"use strict";t.exports=function(e,t){e.factory("imageManagerService",function(){return{show:!1,showExternal:!1}})}},{}]},{},[19]); \ No newline at end of file +var t=Date.now();t-$>v&&r();var n=u.scrollTop()/(h-p),i=(m-g)*n;l.scrollTop(i),$=t}),u.keydown(function(t){if(73===t.which&&t.ctrlKey&&t.shiftKey){t.preventDefault();var n=u[0].selectionStart,r=u.val(),o="![](http://)";return u.val(r.substring(0,n)+o+r.substring(n)),u.focus(),u[0].selectionStart=n+"![](".length,void(u[0].selectionEnd=n+"![](http://".length)}return 75===t.which&&t.ctrlKey&&t.shiftKey?void i():void e.$emit("editor-keydown",t)}),c.click(function(e){window.ImageManager.showExternal(function(e){var t=d,n=u.val(),r="!["+e.name+"]("+e.thumbs.display+")";u.val(n.substring(0,t)+r+n.substring(t)),u.change()})}),f.click(i),u.on("paste",o),u.on("drop",a)}}}]),e.directive("toolbox",[function(){return{restrict:"A",link:function(e,t,n){function r(e,n){i.removeClass("active"),o.hide(),i.filter('[tab-button="'+e+'"]').addClass("active"),o.filter('[tab-content="'+e+'"]').show(),n&&t.addClass("open")}var i=t.find("[tab-button]"),o=t.find("[tab-content]"),a=t.find("[toolbox-toggle]");a.click(function(e){t.toggleClass("open")}),r(o.first().attr("tab-content"),!1),i.click(function(e){var t=$(this).attr("tab-button");r(t,!0)})}}}]),e.directive("tagAutosuggestions",["$http",function(e){return{restrict:"A",link:function(t,n,r){function i(e,t){t[h].className="",h=e,t[h].className="active"}function o(e,t){if(0===t.length)return c.hide(),f=!1,void(m=t);if(f||(c.show(),f=!0),e!==d&&(c.detach(),e.after(c),d=e),m.join()===t.join())return void(m=t);c[0].innerHTML="";for(var n=0;n=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(){var e=document.documentElement.scrollTop||document.body.scrollTop||0;!i&&e>a?(o.style.display="block",i=!0,setTimeout(function(){o.style.opacity=.4},1)):i&&e0||navigator.userAgent.indexOf("Safari")!==-1)&&$("body").addClass("flexbox-support")}),e("./pages/page-show")},{"./controllers":17,"./directives":18,"./pages/page-show":21,"./services":22,angular:9,"angular-animate":2,"angular-resource":4,"angular-sanitize":6,"angular-ui-sortable":7}],20:[function(e,t,n){"use strict";function r(e,t){if(e.clipboardData){var n=e.clipboardData.items;if(n)for(var r=function(e){if(n[e].type.indexOf("image")===-1)return{v:void 0};var r=n[e].getAsFile(),i=new FormData,o="png",a=new XMLHttpRequest;if(r.name){var s=r.name.match(/\.(.+)$/);s&&(o=s[1])}var u="image-"+Math.random().toString(16).slice(2),l=window.baseUrl("/loading.gif");t.execCommand("mceInsertContent",!1,'');var c="image-"+Date.now()+"."+o;i.append("file",r,c),i.append("_token",document.querySelector('meta[name="token"]').getAttribute("content")),a.open("POST",window.baseUrl("/images/gallery/upload")),a.onload=function(){if(200===a.status||201===a.status){var e=JSON.parse(a.responseText);t.dom.setAttrib(u,"src",e.thumbs.display)}else console.log("An error occurred uploading the image",a.responseText),t.dom.remove(u)},a.send(i)},i=0;i';i+=''+t.name+'',i+="",r.tinyMCE.activeEditor.execCommand("mceInsertContent",!1,i)})},paste_preprocess:function(e,t){var n=t.content;n.indexOf('';n+=''+t.name+'',n+="",e.execCommand("mceInsertContent",!1,n)})}}),e.on("paste",function(t){r(t,e)})}}},{}],21:[function(e,t,n){"use strict";var r=e("zeroclipboard");r.config({swfPath:window.baseUrl("/ZeroClipboard.swf")}),window.setupPageShow=t.exports=function(e){function t(e){var t=$(".page-content #"+e).first();0!==t.length?(t.smoothScrollTo(),t.css("background-color","rgba(244, 249, 54, 0.25)")):$(".page-content").find(':contains("'+e+'")').smoothScrollTo()}function n(){d.width(h.width()+15),d.addClass("fixed"),g=!0}function i(){d.css("width","auto"),d.removeClass("fixed"),g=!1}function o(e){var t=f.scrollTop()>m;!t||g&&!e?t||!g&&!e||i():n()}function a(){o(!1)}var s=$("#pointer").detach(),u=s.children("div.pointer").first(),l=!1;if(s.on("click","input",function(e){$(this).select(),e.stopPropagation()}),new r(s.find("button").first()[0]),$(document.body).find("*").on("click focus",function(e){l||s.detach()}),$('.page-content [id^="bkmrk"]').on("mouseup keyup",function(t){t.stopPropagation();var n=window.getSelection();if(0!==n.toString().length){var r=$(this),i=window.baseUrl("/link/"+e+"#"+r.attr("id"));0!==i.indexOf("http")&&(i=window.location.protocol+"//"+window.location.host+i),s.find("input").val(i),s.find("button").first().attr("data-clipboard-text",i),r.before(s),s.show();var o=t.pageX-r.offset().left-u.width()/2;o<0&&(o=0);var a=o/r.width()*100;u.css("left",a+"%"),l=!0,setTimeout(function(){l=!1},100)}}),window.location.hash){var c=window.location.hash.replace(/\%20/g," ").substr(1);t(c)}var f=$(window),d=$(".book-tree"),h=d.parent(),p=$(document).height()>f.height()&&d.height()<$(".page-content").height(),m=$("#header").height()+$(".toolbar").height(),g=f.scrollTop()>m;p&&f.width()>1e3&&(f.on("scroll",a),o(!0)),f.on("resize",function(e){p&&f.width()>1e3?(f.on("scroll",a),o(!0)):(f.off("scroll",a),i())})}},{zeroclipboard:13}],22:[function(e,t,n){"use strict";t.exports=function(e,t){e.factory("imageManagerService",function(){return{show:!1,showExternal:!1}})}},{}]},{},[19]); \ No newline at end of file From c10d2a14938c2ee1598b524f6b92ac5d5acab138 Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Sun, 30 Oct 2016 13:19:19 +0000 Subject: [PATCH 23/54] Updated assets for release v0.12.2 --- public/build/manifest.json | 6 +++--- public/css/export-styles.css | 2 +- public/css/styles.css | 2 +- public/js/common.js | 8 ++++---- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/public/build/manifest.json b/public/build/manifest.json index 225d30f493b..6773949cd25 100644 --- a/public/build/manifest.json +++ b/public/build/manifest.json @@ -1,5 +1,5 @@ { - "css/styles.css": "css/styles.css?version=10caf1a", - "css/print-styles.css": "css/print-styles.css?version=10caf1a", - "js/common.js": "js/common.js?version=10caf1a" + "css/styles.css": "css/styles.css?version=5be13a8", + "css/print-styles.css": "css/print-styles.css?version=5be13a8", + "js/common.js": "js/common.js?version=5be13a8" } \ No newline at end of file diff --git a/public/css/export-styles.css b/public/css/export-styles.css index 3f1ae664348..a50f3d272bd 100644 --- a/public/css/export-styles.css +++ b/public/css/export-styles.css @@ -1 +1 @@ -*{box-sizing:border-box}html{background-color:#fff;height:100%;overflow-y:scroll}html.flexbox{overflow-y:hidden}body{font-family:Roboto,DejaVu Sans,Helvetica,Arial,sans-serif;font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}button{font-size:100%}.title-input input[type=text],h1{font-size:3.425em;line-height:1.22222222em;margin-top:.48888889em;margin-bottom:.48888889em}h2{font-size:2.8275em;line-height:1.294117647em;margin-top:.8627451em;margin-bottom:.43137255em}h3{font-size:1.75em;line-height:1.571428572em}h3,h4{margin-top:.78571429em;margin-bottom:.43137255em}h4{font-size:1em;line-height:1.375em}.title-input input[type=text],h1,h2,h3,h4{font-weight:400;position:relative;display:block;color:#555}.title-input input[type=text] .subheader,h1 .subheader,h2 .subheader,h3 .subheader,h4 .subheader{font-size:.5em;line-height:1em;color:#969696}.link,a{color:#0288d1;cursor:pointer;text-decoration:none;transition:color 80ms ease-in-out;font-family:Roboto,DejaVu Sans,Helvetica,Arial,sans-serif;line-height:1.6}.link:hover,a:hover{text-decoration:underline;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(90deg,#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;white-space:pre;font-size:.8em;overflow:hidden;border-radius:4px;box-shadow:0 1px 2px 0 hsla(0,0%,4%,.06);border:1px solid hsla(0,0%,87%,.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}pre code{background-color:transparent;border:0;font-size:1em}.text-pos,.text-pos:hover,p.pos,p .pos,p.pos:hover,p .pos:hover,span.pos,span.pos:hover{color:#52a256}.text-neg,.text-neg:hover,p.neg,p .neg,p.neg:hover,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,p.primary:hover,p .primary:hover,span.primary,span.primary:hover{color:#0288d1}.text-secondary,.text-secondary:hover,p.secondary,p .secondary,p.secondary:hover,p .secondary:hover,span.secondary,span.secondary:hover{color:#e27b41}.text-book,.text-book:hover{color:#009688}.text-page,.text-page:hover{color:#0288d1}.text-page.draft,.text-page.draft:hover{color:#9a60da}.text-chapter,.text-chapter:hover{color:#ef7c3c}.faded .text-book:hover{color:#009688!important}.faded .text-chapter:hover{color:#ef7c3c!important}.faded .text-page:hover{color:#0288d1!important}span.highlight{font-weight:700;padding:2px 4px}ul{list-style:disc}ol,ul{padding-left:20.8px;overflow:hidden}ol{list-style:decimal}.underlined{text-decoration:underline}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-bigger{font-size:1.1em}.text-large{font-size:1.6666em}.no-color{color:inherit}.header-group{margin:16px 0}.header-group .title-input input[type=text],.header-group h1,.header-group h2,.header-group h3,.header-group h4,.header-group h5,.header-group h6,.title-input .header-group input[type=text]{margin:0}span.sep{color:#bbb;padding:0 6px}.list>*{display:block}.action-header .title-input input[type=text],.action-header h1,.title-input .action-header input[type=text]{margin-top:16px}i{padding-right:6px}body.flexbox{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;height:100%;min-height:100%;max-height:100%;overflow:hidden}body.flexbox #content{-ms-flex:1;flex:1}.flex-fill,body.flexbox #content{display:-ms-flexbox;display:flex;min-height:0}.flex-fill{-ms-flex-align:stretch;align-items:stretch}.flex-fill.flex,.flex-fill .flex{min-height:0;-ms-flex:1;flex:1}.flex-child>div{-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.medium{max-width:992px}.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-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12,.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12,.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12,.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{position:relative;min-height:1px;padding-left:16px;padding-right:16px}.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{float:left}.col-xs-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-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12{float:left}.col-sm-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-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12{float:left}.col-md-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-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.row:after,.row:before{content:" ";display:table}.clearfix:after,.container-fluid:after,.container:after,.row:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.shaded{background-color:#f1f1f1}.shaded.pos{background-color:#d6ead7}.shaded.neg{background-color:#f4a9a9}.shaded.primary{background-color:#a1ddfe}.shaded.secondary{background-color:#f6d7c6}.bordered{border:1px solid #bbb}.bordered.pos{border-color:#52a256}.bordered.neg{border-color:#e84f4f}.bordered.primary{border-color:#0288d1}.bordered.secondary{border-color:#e27b41}.bordered.thick{border-width:2px}.rounded{border-radius:3px}.nopadding{padding:0}.padded{padding:24px}.padded.large{padding:32px}.padded>h1:first-child,.padded>h2:first-child,.padded>h3:first-child,.padded>h4:first-child,.title-input .padded>input[type=text]:first-child{margin-top:.1em}.padded-top,.padded-vertical{padding-top:16px}.padded-top.large,.padded-vertical.large{padding-top:32px}.padded-bottom,.padded-vertical{padding-bottom:16px}.padded-bottom.large,.padded-vertical.large{padding-bottom:32px}.padded-horizontal,.padded-left{padding-left:16px}.padded-horizontal.large,.padded-left.large{padding-left:32px}.padded-horizontal,.padded-right{padding-right:16px}.padded-horizontal.large,.padded-right.large{padding-right:32px}.margins{margin:24px}.margins.large{margin:32px}.margin-top,.margins-vertical{margin-top:16px}.margin-top.large,.margins-vertical.large{margin-top:32px}.margin-bottom,.margins-vertical{margin-bottom:16px}.margin-bottom.large,.margins-vertical.large{margin-bottom:32px}.margin-left,.margins-horizontal{margin-left:16px}.margin-left.large,.margins-horizontal.large{margin-left:32px}.margin-right,.margins-horizontal{margin-right:16px}.margin-right.large,.margins-horizontal.large{margin-right:32px}.callout{border-left:3px solid #bbb;background-color:#eee;padding:12px}.callout:before{font-family:Material-Design-Iconic-Font;padding-right:12px;display:inline-block}.callout.success{border-left-color:#52a256;background-color:#e7f3e7;color:#376c39}.callout.success:before{content:'\f269'}.callout.danger{border-left-color:#e84f4f;background-color:#fce8e8;color:#b91818}.callout.danger:before{content:'\f1f2'}.callout.info{border-left-color:#0288d1;background-color:#d3efff;color:#015380}.callout.info:before{content:'\f1f8'}.callout.warning{border-left-color:#e27b41;background-color:#faeae0;color:#b6531c}.callout.warning:before{content:'\f1f1'}.input-base,input[type=email],input[type=number],input[type=password],input[type=search],input[type=text],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=email],input.invalid[type=number],input.invalid[type=password],input.invalid[type=search],input.invalid[type=text],input.invalid[type=url],input.neg[type=email],input.neg[type=number],input.neg[type=password],input.neg[type=search],input.neg[type=text],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=email],input.pos[type=number],input.pos[type=password],input.pos[type=search],input.pos[type=text],input.pos[type=url],input.valid[type=email],input.valid[type=number],input.valid[type=password],input.valid[type=search],input.valid[type=text],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=email],input.disabled[type=number],input.disabled[type=password],input.disabled[type=search],input.disabled[type=text],input.disabled[type=url],input[disabled][type=email],input[disabled][type=number],input[disabled][type=password],input[disabled][type=search],input[disabled][type=text],input[disabled][type=url],select.disabled,select[disabled],textarea.disabled,textarea[disabled]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAMUlEQVQIW2NkwAGuXbv2nxGbHEhCS0uLEUMSJgHShCKJLIEiiS4Bl8QmAZbEJQGSBAC62BuJ+tt7zgAAAABJRU5ErkJggg==)}.input-base:focus,input[type=email]:focus,input[type=number]:focus,input[type=password]:focus,input[type=search]:focus,input[type=text]:focus,input[type=url]:focus,select:focus,textarea:focus{outline:0}#html-editor{display:none}#markdown-editor{position:relative;z-index:5}#markdown-editor textarea{font-family:Roboto Mono;font-style:normal;font-weight:400;padding:6px 16px;color:#444;border-radius:0;max-height:100%;-ms-flex:1;flex:1;border:0;width:100%}#markdown-editor textarea:focus{outline:0}#markdown-editor .markdown-display,#markdown-editor .markdown-editor-wrap{-ms-flex:1;flex:1;position:relative}#markdown-editor .markdown-editor-wrap{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;border:1px solid #ddd}#markdown-editor .markdown-display{padding:0 16px;margin-left:-1px;overflow-y:scroll}#markdown-editor .markdown-display .page-content{margin:0 auto}.editor-toolbar{width:100%;padding:6px 16px;font-family:Roboto Mono;font-size:11px;line-height:1.6;border-bottom:1px solid #ddd;background-color:#eee;-ms-flex:none;flex:none}.editor-toolbar:after{content:'';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}label.inline{display:inline-block}label.checkbox,label.radio{font-weight:400}label.checkbox input[type=checkbox],label.checkbox input[type=radio],label.radio input[type=checkbox],label.radio input[type=radio]{margin-right:6px}label+p.small{margin-bottom:.8em}.toggle-switch{display:inline-block;background-color:#bbb;width:36px;height:14px;border-radius:7px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.toggle-switch,.toggle-switch:after{position:relative;transition:all .12s ease-in-out}.toggle-switch:after{content:'';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 textarea{display:block;width:100%;min-height:64px}.form-group .text-neg,.form-group .text-pos{padding:6px 0}.description-input textarea,.inline-input-style,.title-input input[type=text]{border:2px dotted #bbb;display:block;width:100%;padding:6px 12px}.title-input .input{width:100%}.description-input label,.title-input label{margin-top:16px;color:#666}.title-input input[type=text]{margin-top:0;padding-right:0;width:100%;color:#444}.title-input.page-title{font-size:.8em}.title-input.page-title .input{border:0;margin-bottom:-1px}.title-input.page-title input[type=text]{max-width:840px;margin:0 auto;border:none}.page-title input{display:block;width:100%;font-size:1.4em}.description-input textarea{font-size:15px;color:#666;width:100%}.search-box,div[editor-type=markdown] .title-input.page-title input[type=text]{max-width:100%}.search-box{position:relative}.search-box button{background-color:transparent;border:none;color:#0288d1;padding:0;margin:0;cursor:pointer;margin-left:12px}.search-box button[type=submit]{margin-left:-24px}.search-box input{padding-right:24px;width:300px;max-width:100%}input.outline{border:0;border-bottom:2px solid #ddd;border-radius:0}input.outline:active,input.outline:focus{border:0;border-bottom:2px solid #aaa;outline:0}#login-form label[for=remember]{margin:0}#login-form label.toggle-switch{margin-left:32px}.image-picker img{background-color:#bbb}div[toggle-switch]{height:18px;width:150px}table{min-width:100px;max-width:100%}table thead{background-color:#f8f8f8;font-weight:500}table td,table th{min-width:10px;padding:6px 8px;border:1px solid #ddd;overflow:auto;line-height:1.2}table td p,table th p{margin:0}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;margin:0}table.table th{font-weight:700}table.table tr:hover{background-color:#eee}table.no-style td{border:0;padding:0}table.list-table{margin:-6px}table.list-table td{border:0;vertical-align:middle;padding:6px}header{display:block;z-index:2;top:0;background-color:#0288d1;color:#fff;border-bottom:1px solid #ddd}header .padded{padding:16px}header .links{display:inline-block;vertical-align:top;margin-right:32px}@media screen and (max-width:992px){header .links{margin-right:16px}}header .links a{display:inline-block;padding:24px;color:#fff}header .links a:last-child{padding-right:0}@media screen and (max-width:992px){header .links a{padding:24px 12px}}header .avatar,header .user-name{display:inline-block}header .avatar{width:30px;height:30px}header .user-name{padding-top:24px;display:inline-block;cursor:pointer}header .user-name,header .user-name>*{vertical-align:top}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}}@media screen and (max-width:992px){header{text-align:center}header .float.right{float:none}}@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;display:inline-block;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{vertical-align:top;margin-left:-24px;color:#fff;top:6px;right:4px;display:inline-block;position:absolute}form.search-box button:hover{color:#fff}.logo{display:inline-block}.logo:hover{color:#fff;text-decoration:none}.logo-text{display:inline-block;font-size:1.8em;color:#fff;font-weight:400;padding:24px 24px 24px 0;vertical-align:top;line-height:1}.logo-image{margin:16px 12px 16px 0;vertical-align:top;height:43px}.breadcrumbs span.sep{color:#aaa;padding:0 6px}.faded a,.faded button,.faded span,.faded span>div{color:#666}.faded .text-button{opacity:.5;transition:all .12s ease-in-out}.faded .text-button:hover{opacity:1;text-decoration:none}.faded span.faded-text{display:inline-block;padding:12px}.faded-small{color:#000;font-size:.9em;background-color:rgba(21,101,192,.15)}.action-buttons .text-button,.breadcrumbs .text-button{display:inline-block;padding:12px}.action-buttons .text-button:last-child,.breadcrumbs .text-button:last-child{padding-right:0}.action-buttons{text-align:right}.action-buttons.text-left{text-align:left}.action-buttons.text-left .text-button{padding-right:16px;padding-left:0}.action-buttons.text-center,.nav-tabs{text-align:center}.nav-tabs .tab-item,.nav-tabs a{padding:16px;display:inline-block;color:#666;cursor:pointer}.nav-tabs .tab-item.selected,.nav-tabs a.selected{border-bottom:2px solid #0288d1}.page-list h3{margin:24px 0 6px;font-size:1.666em}.page-list a.chapter{color:#ef7c3c}.page-list .inset-list{display:none;overflow:hidden;margin-bottom:24px}.page-list h4{display:block;margin:12px 0 0;border-left:5px solid #0288d1;padding:6px 0 6px 16px}.page-list h4.draft{border-left-color:#9a60da}.page-list hr{margin-top:0}.page-list .book,.page-list .chapter,.page-list .page{padding-left:24px}.page-list .page{border-left:5px solid #0288d1}.page-list .page.draft{border-left:5px solid #9a60da}.page-list .page.draft .text-page{color:#9a60da}.page-list .chapter{border-left:5px solid #ef7c3c}.page-list .book{border-left:5px solid #009688}.page-list .meta{margin-top:-16px;font-size:.95em}.page-list .meta span{margin-right:12px}.chapter-toggle{cursor:pointer;margin:0 0 24px;transition:all .18s ease-in-out;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.chapter-toggle i.zmdi-caret-right{transition:all .18s ease-in-out;transform:rotate(0deg);transform-origin:25% 50%}.chapter-toggle.open{margin-bottom:0}.chapter-toggle.open i.zmdi-caret-right{transform:rotate(90deg)}.page-nav-list{margin-left:2px;list-style:none}.page-nav-list li{padding-left:6px;border-left:2px solid #888;margin-bottom:4px}.page-nav-list li a{color:#555}.page-nav-list .nav-H2{margin-left:12px;font-size:.95em}.page-nav-list .nav-H3{margin-left:24px;font-size:.9em}.page-nav-list .nav-H4{margin-left:36px;font-size:.85em}.page-nav-list .nav-H5{margin-left:48px;font-size:.8em}.page-nav-list .nav-H6{margin-left:60px;font-size:.75em}.book-tree{padding:24px 0 0;position:relative;right:0;top:0;transition:.24s ease-in-out;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:hover{text-decoration:none}.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{float:left}.activity-list-item .left+.right{margin-left:42px}ul.pagination{display:inline-block;list-style:none;margin:16px 0;padding-left:1px}ul.pagination li{float:left}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}.compact ul.pagination{margin:0}.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>p.empty-text{display:block;font-size:15px}.entity-list.compact hr{margin:0}.dropdown-container{display:inline-block;vertical-align:top;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 li.padded{padding:6px 16px}.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:12px;padding-right:0;display:inline-block;width:16px}.dropdown-container ul li.border-bottom{border-bottom:1px solid #ddd}#page-show>.row .col-md-9{z-index:2}#page-show>.row .col-md-3{z-index:1}.page-editor{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}.page-editor .faded-small{height:auto}.page-editor .edit-area{-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column}.draft-notification{pointer-events:none;transform:scale(0);transition:transform .12s ease-in-out;transform-origin:50% 50%}.draft-notification.visible{transform:scale(1)}.page-style.editor{padding:0!important}.page-content{max-width:840px;overflow-wrap:break-word}.page-content .align-left{text-align:left}.page-content img.align-left,.page-content table.align-left{float:left!important;margin:6px 12px 6px 0}.page-content .align-right{float:right!important}.page-content img.align-right,.page-content table.align-right{text-align:right;margin:6px 0 6px 12px}.page-content .align-center{text-align:center}.page-content img{max-width:100%;height:auto}.page-content .title-input input[type=text],.page-content h1,.page-content h2,.page-content h3,.page-content h4,.page-content h5,.page-content h6,.page-content pre,.title-input .page-content input[type=text]{clear:left}.page-content hr{clear:both;margin:16px 0}.page-content table{-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;table-layout:fixed;max-width:100%;height:auto!important}.pointer-container{position:relative;display:none;left:0;z-index:10}.pointer{border:1px solid #ccc;display:inline-block;padding:12px;border-radius:4px;box-shadow:0 0 8px 1px hsla(0,3%,83%,.35);top:-60px;width:272px;z-index:55}.pointer,.pointer:before{position:absolute;background-color:#fff}.pointer:before{left:50%;bottom:-9px;width:16px;height:16px;margin-left:-8px;content:'';display:block;transform:rotate(45deg);transform-origin:50% 50%;border-bottom:1px solid #ccc;border-right:1px solid #ccc;z-index:56}.pointer input{background-color:#fff;border:1px solid #ddd;color:#666;width:172px;z-index:40}.pointer button,.pointer input{position:relative;border-radius:0;height:28px;font-size:12px;vertical-align:top}.pointer>i{color:#888;font-size:18px;padding-top:4px}.pointer .button{line-height:1;margin:0 0 0 -4px;box-shadow:none}.floating-toolbox{background-color:#fff;border:1px solid #ddd;right:64px;z-index:99;width:48px;overflow:hidden;-ms-flex-align:stretch;align-items:stretch;-ms-flex-direction:row;flex-direction:row;display:-ms-flexbox;display:flex;transition:width .18s ease-in-out;margin-top:-1px;min-height:0}.floating-toolbox.open{width:480px}.floating-toolbox [toolbox-toggle] i{transition:transform .18s ease-in-out}.floating-toolbox [toolbox-toggle]{transition:background-color .18s ease-in-out}.floating-toolbox.open [toolbox-toggle]{background-color:rgba(255,0,0,.29)}.floating-toolbox.open [toolbox-toggle] i{transform:rotate(180deg)}.floating-toolbox>div{-ms-flex:1;flex:1;position:relative}.floating-toolbox .tabs{display:block;border-right:1px solid #ddd;width:48px;-ms-flex:0 1 auto;flex:0 1 auto}.floating-toolbox .tabs i{color:rgba(0,0,0,.5);padding:0;margin:0}.floating-toolbox .tabs>span{display:block;cursor:pointer;padding:12px 16px;font-size:13.5px;line-height:1.6;border-bottom:1px solid hsla(0,0%,100%,.3)}.floating-toolbox.open .tabs>span.active{color:#444;background-color:rgba(0,0,0,.1)}.floating-toolbox div[tab-content]{padding-bottom:45px;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;min-height:0;overflow-y:scroll}.floating-toolbox div[tab-content] .padded{-ms-flex:1;flex:1;padding-top:0}.floating-toolbox h4{font-size:24px;margin:16px 0 0;padding:0 24px 12px}.floating-toolbox .tags input{max-width:100%;width:100%;min-width:50px}.floating-toolbox .tags td{padding-right:12px;padding-top:12px;position:relative}.floating-toolbox button.pos{position:absolute;bottom:0;display:block;width:100%;padding:12px;height:45px;border:0;margin:0;box-shadow:none;border-radius:0}.floating-toolbox button.pos:hover{box-shadow:none}.floating-toolbox .handle{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:move;color:#999}.floating-toolbox form{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;overflow-y:scroll}[tab-content]{display:none}.tag-display{margin:32px 16px;border:1px solid #ddd;min-width:180px;max-width:320px;opacity:.7;z-index:5;position:relative}.tag-display table{width:100%;margin:0;padding:0}.tag-display .heading th{padding:6px 12px;color:#333;font-weight:400}.tag-display td{border:0;border-bottom:1px solid #ddd;padding:6px 12px;color:#444}.tag-display .tag-value{color:#888}.tag-display tr:last-child td{border-bottom:none}.tag-display .tag{padding:12px}.suggestion-box{position:absolute;background-color:#fff;border:1px solid #bbb;box-shadow:0 0 4px 1px #ccc;list-style:none;z-index:100;padding:0;margin:0;border-radius:3px}.suggestion-box li{display:block;padding:6px 12px;border-bottom:1px solid #ddd}.suggestion-box li:last-child{border-bottom:0}.suggestion-box li.active{background-color:#eee}table{border-spacing:0;border-collapse:collapse} \ No newline at end of file +*{box-sizing:border-box}html{background-color:#fff;height:100%;overflow-y:scroll}html.flexbox{overflow-y:hidden}body{font-family:Roboto,DejaVu Sans,Helvetica,Arial,sans-serif;font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}button{font-size:100%}.title-input input[type=text],h1{font-size:3.425em;line-height:1.22222222em;margin-top:.48888889em;margin-bottom:.48888889em}h2{font-size:2.8275em;line-height:1.294117647em;margin-top:.8627451em;margin-bottom:.43137255em}h3{font-size:1.75em;line-height:1.571428572em}h3,h4{margin-top:.78571429em;margin-bottom:.43137255em}h4{font-size:1em;line-height:1.375em}.title-input input[type=text],h1,h2,h3,h4{font-weight:400;position:relative;display:block;color:#555}.title-input input[type=text] .subheader,h1 .subheader,h2 .subheader,h3 .subheader,h4 .subheader{font-size:.5em;line-height:1em;color:#969696}.link,a{color:#0288d1;cursor:pointer;text-decoration:none;transition:color 80ms ease-in-out;font-family:Roboto,DejaVu Sans,Helvetica,Arial,sans-serif;line-height:1.6}.link:hover,a:hover{text-decoration:underline;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(90deg,#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;white-space:pre;font-size:.8em;overflow:hidden;border-radius:4px;box-shadow:0 1px 2px 0 hsla(0,0%,4%,.06);border:1px solid hsla(0,0%,87%,.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}pre code{background-color:transparent;border:0;font-size:1em}.text-pos,.text-pos:hover,p.pos,p .pos,p.pos:hover,p .pos:hover,span.pos,span.pos:hover{color:#52a256}.text-neg,.text-neg:hover,p.neg,p .neg,p.neg:hover,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,p.primary:hover,p .primary:hover,span.primary,span.primary:hover{color:#0288d1}.text-secondary,.text-secondary:hover,p.secondary,p .secondary,p.secondary:hover,p .secondary:hover,span.secondary,span.secondary:hover{color:#e27b41}.text-book,.text-book:hover{color:#009688}.text-page,.text-page:hover{color:#0288d1}.text-page.draft,.text-page.draft:hover{color:#9a60da}.text-chapter,.text-chapter:hover{color:#ef7c3c}.faded .text-book:hover{color:#009688!important}.faded .text-chapter:hover{color:#ef7c3c!important}.faded .text-page:hover{color:#0288d1!important}span.highlight{font-weight:700;padding:2px 4px}ul{padding-left:20.8px;list-style:disc}ol,ul{overflow:hidden}ol{list-style:decimal;padding-left:32px}.underlined{text-decoration:underline}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-bigger{font-size:1.1em}.text-large{font-size:1.6666em}.no-color{color:inherit}.header-group{margin:16px 0}.header-group .title-input input[type=text],.header-group h1,.header-group h2,.header-group h3,.header-group h4,.header-group h5,.header-group h6,.title-input .header-group input[type=text]{margin:0}span.sep{color:#bbb;padding:0 6px}.list>*{display:block}.action-header .title-input input[type=text],.action-header h1,.title-input .action-header input[type=text]{margin-top:16px}i{padding-right:6px}body.flexbox{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;height:100%;min-height:100%;max-height:100%;overflow:hidden}body.flexbox #content{-ms-flex:1;flex:1}.flex-fill,body.flexbox #content{display:-ms-flexbox;display:flex;min-height:0}.flex-fill{-ms-flex-align:stretch;align-items:stretch}.flex-fill.flex,.flex-fill .flex{min-height:0;-ms-flex:1;flex:1}.flex-child>div{-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.medium{max-width:992px}.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-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12,.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12,.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12,.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{position:relative;min-height:1px;padding-left:16px;padding-right:16px}.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{float:left}.col-xs-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-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12{float:left}.col-sm-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-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12{float:left}.col-md-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-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.row:after,.row:before{content:" ";display:table}.clearfix:after,.container-fluid:after,.container:after,.row:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.shaded{background-color:#f1f1f1}.shaded.pos{background-color:#d6ead7}.shaded.neg{background-color:#f4a9a9}.shaded.primary{background-color:#a1ddfe}.shaded.secondary{background-color:#f6d7c6}.bordered{border:1px solid #bbb}.bordered.pos{border-color:#52a256}.bordered.neg{border-color:#e84f4f}.bordered.primary{border-color:#0288d1}.bordered.secondary{border-color:#e27b41}.bordered.thick{border-width:2px}.rounded{border-radius:3px}.nopadding{padding:0}.padded{padding:24px}.padded.large{padding:32px}.padded>h1:first-child,.padded>h2:first-child,.padded>h3:first-child,.padded>h4:first-child,.title-input .padded>input[type=text]:first-child{margin-top:.1em}.padded-top,.padded-vertical{padding-top:16px}.padded-top.large,.padded-vertical.large{padding-top:32px}.padded-bottom,.padded-vertical{padding-bottom:16px}.padded-bottom.large,.padded-vertical.large{padding-bottom:32px}.padded-horizontal,.padded-left{padding-left:16px}.padded-horizontal.large,.padded-left.large{padding-left:32px}.padded-horizontal,.padded-right{padding-right:16px}.padded-horizontal.large,.padded-right.large{padding-right:32px}.margins{margin:24px}.margins.large{margin:32px}.margin-top,.margins-vertical{margin-top:16px}.margin-top.large,.margins-vertical.large{margin-top:32px}.margin-bottom,.margins-vertical{margin-bottom:16px}.margin-bottom.large,.margins-vertical.large{margin-bottom:32px}.margin-left,.margins-horizontal{margin-left:16px}.margin-left.large,.margins-horizontal.large{margin-left:32px}.margin-right,.margins-horizontal{margin-right:16px}.margin-right.large,.margins-horizontal.large{margin-right:32px}.callout{border-left:3px solid #bbb;background-color:#eee;padding:12px;display:-ms-flexbox;display:flex}.callout:before{font-family:Material-Design-Iconic-Font;padding-right:12px;display:inline-block}.callout.success{border-left-color:#52a256;background-color:#e7f3e7;color:#376c39}.callout.success:before{content:'\f269'}.callout.danger{border-left-color:#e84f4f;background-color:#fce8e8;color:#b91818}.callout.danger:before{content:'\f1f2'}.callout.info{border-left-color:#0288d1;background-color:#d3efff;color:#015380}.callout.info:before{content:'\f1f8'}.callout.warning{border-left-color:#e27b41;background-color:#faeae0;color:#b6531c}.callout.warning:before{content:'\f1f1'}.input-base,input[type=email],input[type=number],input[type=password],input[type=search],input[type=text],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=email],input.invalid[type=number],input.invalid[type=password],input.invalid[type=search],input.invalid[type=text],input.invalid[type=url],input.neg[type=email],input.neg[type=number],input.neg[type=password],input.neg[type=search],input.neg[type=text],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=email],input.pos[type=number],input.pos[type=password],input.pos[type=search],input.pos[type=text],input.pos[type=url],input.valid[type=email],input.valid[type=number],input.valid[type=password],input.valid[type=search],input.valid[type=text],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=email],input.disabled[type=number],input.disabled[type=password],input.disabled[type=search],input.disabled[type=text],input.disabled[type=url],input[disabled][type=email],input[disabled][type=number],input[disabled][type=password],input[disabled][type=search],input[disabled][type=text],input[disabled][type=url],select.disabled,select[disabled],textarea.disabled,textarea[disabled]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAMUlEQVQIW2NkwAGuXbv2nxGbHEhCS0uLEUMSJgHShCKJLIEiiS4Bl8QmAZbEJQGSBAC62BuJ+tt7zgAAAABJRU5ErkJggg==)}.input-base:focus,input[type=email]:focus,input[type=number]:focus,input[type=password]:focus,input[type=search]:focus,input[type=text]:focus,input[type=url]:focus,select:focus,textarea:focus{outline:0}#html-editor{display:none}#markdown-editor{position:relative;z-index:5}#markdown-editor textarea{font-family:Roboto Mono;font-style:normal;font-weight:400;padding:6px 16px;color:#444;border-radius:0;max-height:100%;-ms-flex:1;flex:1;border:0;width:100%}#markdown-editor textarea:focus{outline:0}#markdown-editor .markdown-display,#markdown-editor .markdown-editor-wrap{-ms-flex:1;flex:1;position:relative}#markdown-editor .markdown-editor-wrap{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;border:1px solid #ddd}#markdown-editor .markdown-display{padding:0 16px;margin-left:-1px;overflow-y:scroll}#markdown-editor .markdown-display .page-content{margin:0 auto}.editor-toolbar{width:100%;padding:6px 16px;font-family:Roboto Mono;font-size:11px;line-height:1.6;border-bottom:1px solid #ddd;background-color:#eee;-ms-flex:none;flex:none}.editor-toolbar:after{content:'';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}label.inline{display:inline-block}label.checkbox,label.radio{font-weight:400}label.checkbox input[type=checkbox],label.checkbox input[type=radio],label.radio input[type=checkbox],label.radio input[type=radio]{margin-right:6px}label+p.small{margin-bottom:.8em}.toggle-switch{display:inline-block;background-color:#bbb;width:36px;height:14px;border-radius:7px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.toggle-switch,.toggle-switch:after{position:relative;transition:all .12s ease-in-out}.toggle-switch:after{content:'';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 textarea{display:block;width:100%;min-height:64px}.form-group .text-neg,.form-group .text-pos{padding:6px 0}.description-input textarea,.inline-input-style,.title-input input[type=text]{border:2px dotted #bbb;display:block;width:100%;padding:6px 12px}.title-input .input{width:100%}.description-input label,.title-input label{margin-top:16px;color:#666}.title-input input[type=text]{margin-top:0;padding-right:0;width:100%;color:#444}.title-input.page-title{font-size:.8em}.title-input.page-title .input{border:0;margin-bottom:-1px}.title-input.page-title input[type=text]{max-width:840px;margin:0 auto;border:none}.page-title input{display:block;width:100%;font-size:1.4em}.description-input textarea{font-size:15px;color:#666;width:100%}.search-box,div[editor-type=markdown] .title-input.page-title input[type=text]{max-width:100%}.search-box{position:relative}.search-box button{background-color:transparent;border:none;color:#0288d1;padding:0;margin:0;cursor:pointer;margin-left:12px}.search-box button[type=submit]{margin-left:-24px}.search-box input{padding-right:24px;width:300px;max-width:100%}input.outline{border:0;border-bottom:2px solid #ddd;border-radius:0}input.outline:active,input.outline:focus{border:0;border-bottom:2px solid #aaa;outline:0}#login-form label[for=remember]{margin:0}#login-form label.toggle-switch{margin-left:32px}.image-picker img{background-color:#bbb}div[toggle-switch]{height:18px;width:150px}table{min-width:100px;max-width:100%}table thead{background-color:#f8f8f8;font-weight:500}table td,table th{min-width:10px;padding:6px 8px;border:1px solid #ddd;overflow:auto;line-height:1.2}table td p,table th p{margin:0}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;margin:0}table.table th{font-weight:700}table.table tr:hover{background-color:#eee}table.no-style td{border:0;padding:0}table.list-table{margin:-6px}table.list-table td{border:0;vertical-align:middle;padding:6px}header{display:block;z-index:2;top:0;background-color:#0288d1;color:#fff;border-bottom:1px solid #ddd}header .padded{padding:16px}header .links{display:inline-block;vertical-align:top;margin-right:32px}@media screen and (max-width:992px){header .links{margin-right:16px}}header .links a{display:inline-block;padding:24px;color:#fff}header .links a:last-child{padding-right:0}@media screen and (max-width:992px){header .links a{padding:24px 12px}}header .avatar,header .user-name{display:inline-block}header .avatar{width:30px;height:30px}header .user-name{padding-top:24px;display:inline-block;cursor:pointer}header .user-name,header .user-name>*{vertical-align:top}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}}@media screen and (max-width:992px){header{text-align:center}header .float.right{float:none}}@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;display:inline-block;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{vertical-align:top;margin-left:-24px;color:#fff;top:6px;right:4px;display:inline-block;position:absolute}form.search-box button:hover{color:#fff}.logo{display:inline-block}.logo:hover{color:#fff;text-decoration:none}.logo-text{display:inline-block;font-size:1.8em;color:#fff;font-weight:400;padding:24px 24px 24px 0;vertical-align:top;line-height:1}.logo-image{margin:16px 12px 16px 0;vertical-align:top;height:43px}.breadcrumbs span.sep{color:#aaa;padding:0 6px}.faded a,.faded button,.faded span,.faded span>div{color:#666}.faded .text-button{opacity:.5;transition:all .12s ease-in-out}.faded .text-button:hover{opacity:1;text-decoration:none}.faded span.faded-text{display:inline-block;padding:12px}.faded-small{color:#000;font-size:.9em;background-color:rgba(21,101,192,.15)}.action-buttons .text-button,.breadcrumbs .text-button{display:inline-block;padding:12px}.action-buttons .text-button:last-child,.breadcrumbs .text-button:last-child{padding-right:0}.action-buttons{text-align:right}.action-buttons.text-left{text-align:left}.action-buttons.text-left .text-button{padding-right:16px;padding-left:0}.action-buttons.text-center,.nav-tabs{text-align:center}.nav-tabs .tab-item,.nav-tabs a{padding:16px;display:inline-block;color:#666;cursor:pointer}.nav-tabs .tab-item.selected,.nav-tabs a.selected{border-bottom:2px solid #0288d1}.page-list h3{margin:24px 0 6px;font-size:1.666em}.page-list a.chapter{color:#ef7c3c}.page-list .inset-list{display:none;overflow:hidden;margin-bottom:24px}.page-list h4{display:block;margin:12px 0 0;border-left:5px solid #0288d1;padding:6px 0 6px 16px}.page-list h4.draft{border-left-color:#9a60da}.page-list hr{margin-top:0}.page-list .book,.page-list .chapter,.page-list .page{padding-left:24px}.page-list .page{border-left:5px solid #0288d1}.page-list .page.draft{border-left:5px solid #9a60da}.page-list .page.draft .text-page{color:#9a60da}.page-list .chapter{border-left:5px solid #ef7c3c}.page-list .book{border-left:5px solid #009688}.page-list .meta{margin-top:-16px;font-size:.95em}.page-list .meta span{margin-right:12px}.chapter-toggle{cursor:pointer;margin:0 0 24px;transition:all .18s ease-in-out;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.chapter-toggle i.zmdi-caret-right{transition:all .18s ease-in-out;transform:rotate(0deg);transform-origin:25% 50%}.chapter-toggle.open{margin-bottom:0}.chapter-toggle.open i.zmdi-caret-right{transform:rotate(90deg)}.page-nav-list{margin-left:2px;list-style:none}.page-nav-list li{padding-left:6px;border-left:2px solid #888;margin-bottom:4px}.page-nav-list li a{color:#555}.page-nav-list .nav-H2{margin-left:12px;font-size:.95em}.page-nav-list .nav-H3{margin-left:24px;font-size:.9em}.page-nav-list .nav-H4{margin-left:36px;font-size:.85em}.page-nav-list .nav-H5{margin-left:48px;font-size:.8em}.page-nav-list .nav-H6{margin-left:60px;font-size:.75em}.book-tree{padding:24px 0 0;position:relative;right:0;top:0;transition:.24s ease-in-out;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:hover{text-decoration:none}.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{float:left}.activity-list-item .left+.right{margin-left:42px}ul.pagination{display:inline-block;list-style:none;margin:16px 0;padding-left:1px}ul.pagination li{float:left}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}.compact ul.pagination{margin:0}.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>p.empty-text{display:block;font-size:15px}.entity-list.compact hr{margin:0}.dropdown-container{display:inline-block;vertical-align:top;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 li.padded{padding:6px 16px}.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:12px;padding-right:0;display:inline-block;width:16px}.dropdown-container ul li.border-bottom{border-bottom:1px solid #ddd}#page-show>.row .col-md-9{z-index:2}#page-show>.row .col-md-3{z-index:1}.page-editor{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}.page-editor .faded-small{height:auto}.page-editor .edit-area{-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column}.draft-notification{pointer-events:none;transform:scale(0);transition:transform .12s ease-in-out;transform-origin:50% 50%}.draft-notification.visible{transform:scale(1)}.page-style.editor{padding:0!important}.page-content{max-width:840px;overflow-wrap:break-word}.page-content .align-left{text-align:left}.page-content img.align-left,.page-content table.align-left{float:left!important;margin:6px 12px 6px 0}.page-content .align-right{float:right!important}.page-content img.align-right,.page-content table.align-right{text-align:right;margin:6px 0 6px 12px}.page-content .align-center{text-align:center}.page-content img{max-width:100%;height:auto}.page-content .title-input input[type=text],.page-content h1,.page-content h2,.page-content h3,.page-content h4,.page-content h5,.page-content h6,.page-content pre,.title-input .page-content input[type=text]{clear:left}.page-content hr{clear:both;margin:16px 0}.page-content table{-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;table-layout:fixed;max-width:100%;height:auto!important}.pointer-container{position:relative;display:none;left:0;z-index:10}.pointer{border:1px solid #ccc;display:inline-block;padding:12px;border-radius:4px;box-shadow:0 0 8px 1px hsla(0,3%,83%,.35);top:-60px;width:272px;z-index:55}.pointer,.pointer:before{position:absolute;background-color:#fff}.pointer:before{left:50%;bottom:-9px;width:16px;height:16px;margin-left:-8px;content:'';display:block;transform:rotate(45deg);transform-origin:50% 50%;border-bottom:1px solid #ccc;border-right:1px solid #ccc;z-index:56}.pointer input{background-color:#fff;border:1px solid #ddd;color:#666;width:172px;z-index:40}.pointer button,.pointer input{position:relative;border-radius:0;height:28px;font-size:12px;vertical-align:top}.pointer>i{color:#888;font-size:18px;padding-top:4px}.pointer .button{line-height:1;margin:0 0 0 -4px;box-shadow:none}.floating-toolbox{background-color:#fff;border:1px solid #ddd;right:64px;z-index:99;width:48px;overflow:hidden;-ms-flex-align:stretch;align-items:stretch;-ms-flex-direction:row;flex-direction:row;display:-ms-flexbox;display:flex;transition:width .18s ease-in-out;margin-top:-1px;min-height:0}.floating-toolbox.open{width:480px}.floating-toolbox [toolbox-toggle] i{transition:transform .18s ease-in-out}.floating-toolbox [toolbox-toggle]{transition:background-color .18s ease-in-out}.floating-toolbox.open [toolbox-toggle]{background-color:rgba(255,0,0,.29)}.floating-toolbox.open [toolbox-toggle] i{transform:rotate(180deg)}.floating-toolbox>div{-ms-flex:1;flex:1;position:relative}.floating-toolbox .tabs{display:block;border-right:1px solid #ddd;width:48px;-ms-flex:0 1 auto;flex:0 1 auto}.floating-toolbox .tabs i{color:rgba(0,0,0,.5);padding:0;margin:0}.floating-toolbox .tabs>span{display:block;cursor:pointer;padding:12px 16px;font-size:13.5px;line-height:1.6;border-bottom:1px solid hsla(0,0%,100%,.3)}.floating-toolbox.open .tabs>span.active{color:#444;background-color:rgba(0,0,0,.1)}.floating-toolbox div[tab-content]{padding-bottom:45px;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;min-height:0;overflow-y:scroll}.floating-toolbox div[tab-content] .padded{-ms-flex:1;flex:1;padding-top:0}.floating-toolbox h4{font-size:24px;margin:16px 0 0;padding:0 24px 12px}.floating-toolbox .tags input{max-width:100%;width:100%;min-width:50px}.floating-toolbox .tags td{padding-right:12px;padding-top:12px;position:relative}.floating-toolbox button.pos{position:absolute;bottom:0;display:block;width:100%;padding:12px;height:45px;border:0;margin:0;box-shadow:none;border-radius:0}.floating-toolbox button.pos:hover{box-shadow:none}.floating-toolbox .handle{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:move;color:#999}.floating-toolbox form{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;overflow-y:scroll}[tab-content]{display:none}.tag-display{margin:32px 16px;border:1px solid #ddd;min-width:180px;max-width:320px;opacity:.7;z-index:5;position:relative}.tag-display table{width:100%;margin:0;padding:0}.tag-display .heading th{padding:6px 12px;color:#333;font-weight:400}.tag-display td{border:0;border-bottom:1px solid #ddd;padding:6px 12px;color:#444}.tag-display .tag-value{color:#888}.tag-display tr:last-child td{border-bottom:none}.tag-display .tag{padding:12px}.suggestion-box{position:absolute;background-color:#fff;border:1px solid #bbb;box-shadow:0 0 4px 1px #ccc;list-style:none;z-index:100;padding:0;margin:0;border-radius:3px}.suggestion-box li{display:block;padding:6px 12px;border-bottom:1px solid #ddd}.suggestion-box li:last-child{border-bottom:0}.suggestion-box li.active{background-color:#eee}table{border-spacing:0;border-collapse:collapse} \ No newline at end of file diff --git a/public/css/styles.css b/public/css/styles.css index e435f68666f..db93c51b4ee 100644 --- a/public/css/styles.css +++ b/public/css/styles.css @@ -1 +1 @@ -.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-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:'';content:none}table{border-collapse:collapse;border-spacing:0}@font-face{font-family:Roboto;font-style:normal;font-weight:100;src:local("Roboto Thin"),local("Roboto-Thin"),url(../fonts/roboto-v15-cyrillic_latin-100.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-100.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:100;src:local("Roboto Thin Italic"),local("Roboto-ThinItalic"),url(../fonts/roboto-v15-cyrillic_latin-100italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-100italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:300;src:local("Roboto Light"),local("Roboto-Light"),url(../fonts/roboto-v15-cyrillic_latin-300.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-300.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:300;src:local("Roboto Light Italic"),local("Roboto-LightItalic"),url(../fonts/roboto-v15-cyrillic_latin-300italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-300italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:local("Roboto"),local("Roboto-Regular"),url(../fonts/roboto-v15-cyrillic_latin-regular.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-regular.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:400;src:local("Roboto Italic"),local("Roboto-Italic"),url(../fonts/roboto-v15-cyrillic_latin-italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:500;src:local("Roboto Medium"),local("Roboto-Medium"),url(../fonts/roboto-v15-cyrillic_latin-500.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-500.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:500;src:local("Roboto Medium Italic"),local("Roboto-MediumItalic"),url(../fonts/roboto-v15-cyrillic_latin-500italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-500italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:700;src:local("Roboto Bold"),local("Roboto-Bold"),url(../fonts/roboto-v15-cyrillic_latin-700.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-700.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:700;src:local("Roboto Bold Italic"),local("Roboto-BoldItalic"),url(../fonts/roboto-v15-cyrillic_latin-700italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-700italic.woff) format("woff")}@font-face{font-family:Roboto Mono;font-style:normal;font-weight:400;src:local("Roboto Mono"),local("RobotoMono-Regular"),url(../fonts/roboto-mono-v4-latin-regular.woff2) format("woff2"),url(../fonts/roboto-mono-v4-latin-regular.woff) format("woff")}*{box-sizing:border-box}html{background-color:#fff;height:100%;overflow-y:scroll}html.flexbox{overflow-y:hidden}body{font-family:Roboto,DejaVu Sans,Helvetica,Arial,sans-serif;font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}button{font-size:100%}.title-input input[type=text],h1{font-size:3.425em;line-height:1.22222222em;margin-top:.48888889em;margin-bottom:.48888889em}h2{font-size:2.8275em;line-height:1.294117647em;margin-top:.8627451em;margin-bottom:.43137255em}h3{font-size:1.75em;line-height:1.571428572em}h3,h4{margin-top:.78571429em;margin-bottom:.43137255em}h4{font-size:1em;line-height:1.375em}.title-input input[type=text],h1,h2,h3,h4{font-weight:400;position:relative;display:block;color:#555}.title-input input[type=text] .subheader,h1 .subheader,h2 .subheader,h3 .subheader,h4 .subheader{font-size:.5em;line-height:1em;color:#969696}.link,.text-button,a{color:#0288d1;cursor:pointer;text-decoration:none;transition:color 80ms ease-in-out;font-family:Roboto,DejaVu Sans,Helvetica,Arial,sans-serif;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(90deg,#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;white-space:pre;font-size:.8em;overflow:hidden;border-radius:4px;box-shadow:0 1px 2px 0 hsla(0,0%,4%,.06);border:1px solid hsla(0,0%,87%,.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}pre code{background-color:transparent;border:0;font-size:1em}.text-pos,.text-pos:hover,p.pos,p .pos,p.pos:hover,p .pos:hover,span.pos,span.pos:hover{color:#52a256}.text-neg,.text-neg:hover,p.neg,p .neg,p.neg:hover,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,p.primary:hover,p .primary:hover,span.primary,span.primary:hover{color:#0288d1}.text-secondary,.text-secondary:hover,p.secondary,p .secondary,p.secondary:hover,p .secondary:hover,span.secondary,span.secondary:hover{color:#e27b41}.text-book,.text-book:hover{color:#009688}.text-page,.text-page:hover{color:#0288d1}.text-page.draft,.text-page.draft:hover{color:#9a60da}.text-chapter,.text-chapter:hover{color:#ef7c3c}.faded .text-book:hover{color:#009688!important}.faded .text-chapter:hover{color:#ef7c3c!important}.faded .text-page:hover{color:#0288d1!important}span.highlight{font-weight:700;padding:2px 4px}ul{list-style:disc}ol,ul{padding-left:20.8px;overflow:hidden}ol{list-style:decimal}.underlined{text-decoration:underline}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-bigger{font-size:1.1em}.text-large{font-size:1.6666em}.no-color{color:inherit}.header-group{margin:16px 0}.header-group .title-input input[type=text],.header-group h1,.header-group h2,.header-group h3,.header-group h4,.header-group h5,.header-group h6,.title-input .header-group input[type=text]{margin:0}span.sep{color:#bbb;padding:0 6px}.list>*{display:block}.action-header .title-input input[type=text],.action-header h1,.title-input .action-header input[type=text]{margin-top:16px}i{padding-right:6px}body.flexbox{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;height:100%;min-height:100%;max-height:100%;overflow:hidden}body.flexbox #content{-ms-flex:1;flex:1}.flex-fill,body.flexbox #content{display:-ms-flexbox;display:flex;min-height:0}.flex-fill{-ms-flex-align:stretch;align-items:stretch}.flex-fill.flex,.flex-fill .flex{min-height:0;-ms-flex:1;flex:1}.flex-child>div{-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.medium{max-width:992px}.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-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12,.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12,.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12,.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{position:relative;min-height:1px;padding-left:16px;padding-right:16px}.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{float:left}.col-xs-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-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12{float:left}.col-sm-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-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12{float:left}.col-md-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-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.row:after,.row:before{content:" ";display:table}.clearfix:after,.container-fluid:after,.container:after,.row:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.shaded{background-color:#f1f1f1}.shaded.pos{background-color:#d6ead7}.shaded.neg{background-color:#f4a9a9}.shaded.primary{background-color:#a1ddfe}.shaded.secondary{background-color:#f6d7c6}.bordered{border:1px solid #bbb}.bordered.pos{border-color:#52a256}.bordered.neg{border-color:#e84f4f}.bordered.primary{border-color:#0288d1}.bordered.secondary{border-color:#e27b41}.bordered.thick{border-width:2px}.rounded{border-radius:3px}.nopadding{padding:0}.padded{padding:24px}.padded.large{padding:32px}.padded>h1:first-child,.padded>h2:first-child,.padded>h3:first-child,.padded>h4:first-child,.title-input .padded>input[type=text]:first-child{margin-top:.1em}.padded-top,.padded-vertical{padding-top:16px}.padded-top.large,.padded-vertical.large{padding-top:32px}.padded-bottom,.padded-vertical{padding-bottom:16px}.padded-bottom.large,.padded-vertical.large{padding-bottom:32px}.padded-horizontal,.padded-left{padding-left:16px}.padded-horizontal.large,.padded-left.large{padding-left:32px}.padded-horizontal,.padded-right{padding-right:16px}.padded-horizontal.large,.padded-right.large{padding-right:32px}.margins{margin:24px}.margins.large{margin:32px}.margin-top,.margins-vertical{margin-top:16px}.margin-top.large,.margins-vertical.large{margin-top:32px}.margin-bottom,.margins-vertical{margin-bottom:16px}.margin-bottom.large,.margins-vertical.large{margin-bottom:32px}.margin-left,.margins-horizontal{margin-left:16px}.margin-left.large,.margins-horizontal.large{margin-left:32px}.margin-right,.margins-horizontal{margin-right:16px}.margin-right.large,.margins-horizontal.large{margin-right:32px}.callout{border-left:3px solid #bbb;background-color:#eee;padding:12px}.callout:before{font-family:Material-Design-Iconic-Font;padding-right:12px;display:inline-block}.callout.success{border-left-color:#52a256;background-color:#e7f3e7;color:#376c39}.callout.success:before{content:'\f269'}.callout.danger{border-left-color:#e84f4f;background-color:#fce8e8;color:#b91818}.callout.danger:before{content:'\f1f2'}.callout.info{border-left-color:#0288d1;background-color:#d3efff;color:#015380}.callout.info:before{content:'\f1f8'}.callout.warning{border-left-color:#e27b41;background-color:#faeae0;color:#b6531c}.callout.warning:before{content:'\f1f1'}.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 .12s ease-in-out;box-shadow:0 .5px 1.5px 0 rgba(0,0,0,.21);background-color:#0288d1;color:#eee}.button-base:hover,.button:hover,input[type=button]:hover,input[type=submit]:hover{background-color:#02a2f9;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#eee}.button-base:active,.button:active,input[type=button]:active,input[type=submit]:active{background-color:#026ea9}.button-base:focus,.button:focus,input[type=button]:focus,input[type=submit]:focus{background-color:#0295e5;box-shadow:0 0 4px 1px #ccc;text-decoration:none;color:#eee}.button.pos,input[type=button].pos,input[type=submit].pos{background-color:#52a256;color:#eee}.button.pos:hover,input[type=button].pos:hover,input[type=submit].pos:hover{background-color:#69b36d;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#eee}.button.pos:active,input[type=button].pos:active,input[type=submit].pos:active{background-color:#448748}.button.pos:focus,input[type=button].pos:focus,input[type=submit].pos:focus{background-color:#5cac60;box-shadow:0 0 4px 1px #ccc;text-decoration:none;color:#eee}.button.neg,input[type=button].neg,input[type=submit].neg{background-color:#e84f4f;color:#eee}.button.neg:hover,input[type=button].neg:hover,input[type=submit].neg:hover{background-color:#ed7373;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#eee}.button.neg:active,input[type=button].neg:active,input[type=submit].neg:active{background-color:#e32b2b}.button.neg:focus,input[type=button].neg:focus,input[type=submit].neg:focus{background-color:#ea6161;box-shadow:0 0 4px 1px #ccc;text-decoration:none;color:#eee}.button.secondary,input[type=button].secondary,input[type=submit].secondary{background-color:#e27b41;color:#eee}.button.secondary:hover,input[type=button].secondary:hover,input[type=submit].secondary:hover{background-color:#e79464;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#eee}.button.secondary:active,input[type=button].secondary:active,input[type=submit].secondary:active{background-color:#d96321}.button.secondary:focus,input[type=button].secondary:focus,input[type=submit].secondary:focus{background-color:#e58753;box-shadow:0 0 4px 1px #ccc;text-decoration:none;color:#eee}.button.muted,input[type=button].muted,input[type=submit].muted{background-color:#888;color:#eee}.button.muted:hover,input[type=button].muted:hover,input[type=submit].muted:hover{background-color:#9c9c9c;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#eee}.button.muted:active,input[type=button].muted:active,input[type=submit].muted:active{background-color:#747474}.button.muted:focus,input[type=button].muted:focus,input[type=submit].muted:focus{background-color:#929292;box-shadow:0 0 4px 1px #ccc;text-decoration:none;color:#eee}.text-button{background-color:transparent;padding:0;margin:0;border:none}.text-button:active,.text-button:focus{outline:0}.text-button:hover{text-decoration:none}.text-button.neg{color:#e84f4f}.button-group:after{display:block;content:'';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}.button[disabled],.button[disabled]:hover{background-color:#bbb;cursor:default}.button[disabled]:hover{box-shadow:none}.input-base,input[type=email],input[type=number],input[type=password],input[type=search],input[type=text],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=email],input.invalid[type=number],input.invalid[type=password],input.invalid[type=search],input.invalid[type=text],input.invalid[type=url],input.neg[type=email],input.neg[type=number],input.neg[type=password],input.neg[type=search],input.neg[type=text],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=email],input.pos[type=number],input.pos[type=password],input.pos[type=search],input.pos[type=text],input.pos[type=url],input.valid[type=email],input.valid[type=number],input.valid[type=password],input.valid[type=search],input.valid[type=text],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=email],input.disabled[type=number],input.disabled[type=password],input.disabled[type=search],input.disabled[type=text],input.disabled[type=url],input[disabled][type=email],input[disabled][type=number],input[disabled][type=password],input[disabled][type=search],input[disabled][type=text],input[disabled][type=url],select.disabled,select[disabled],textarea.disabled,textarea[disabled]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAMUlEQVQIW2NkwAGuXbv2nxGbHEhCS0uLEUMSJgHShCKJLIEiiS4Bl8QmAZbEJQGSBAC62BuJ+tt7zgAAAABJRU5ErkJggg==)}.input-base:focus,input[type=email]:focus,input[type=number]:focus,input[type=password]:focus,input[type=search]:focus,input[type=text]:focus,input[type=url]:focus,select:focus,textarea:focus{outline:0}#html-editor{display:none}#markdown-editor{position:relative;z-index:5}#markdown-editor textarea{font-family:Roboto Mono;font-style:normal;font-weight:400;padding:6px 16px;color:#444;border-radius:0;max-height:100%;-ms-flex:1;flex:1;border:0;width:100%}#markdown-editor textarea:focus{outline:0}#markdown-editor .markdown-display,#markdown-editor .markdown-editor-wrap{-ms-flex:1;flex:1;position:relative}#markdown-editor .markdown-editor-wrap{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;border:1px solid #ddd}#markdown-editor .markdown-display{padding:0 16px;margin-left:-1px;overflow-y:scroll}#markdown-editor .markdown-display .page-content{margin:0 auto}.editor-toolbar{width:100%;padding:6px 16px;font-family:Roboto Mono;font-size:11px;line-height:1.6;border-bottom:1px solid #ddd;background-color:#eee;-ms-flex:none;flex:none}.editor-toolbar:after{content:'';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}label.inline{display:inline-block}label.checkbox,label.radio{font-weight:400}label.checkbox input[type=checkbox],label.checkbox input[type=radio],label.radio input[type=checkbox],label.radio input[type=radio]{margin-right:6px}label+p.small{margin-bottom:.8em}.toggle-switch{display:inline-block;background-color:#bbb;width:36px;height:14px;border-radius:7px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.toggle-switch,.toggle-switch:after{position:relative;transition:all .12s ease-in-out}.toggle-switch:after{content:'';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 textarea{display:block;width:100%;min-height:64px}.form-group .text-neg,.form-group .text-pos{padding:6px 0}.description-input textarea,.inline-input-style,.title-input input[type=text]{border:2px dotted #bbb;display:block;width:100%;padding:6px 12px}.title-input .input{width:100%}.description-input label,.title-input label{margin-top:16px;color:#666}.title-input input[type=text]{margin-top:0;padding-right:0;width:100%;color:#444}.title-input.page-title{font-size:.8em}.title-input.page-title .input{border:0;margin-bottom:-1px}.title-input.page-title input[type=text]{max-width:840px;margin:0 auto;border:none}.page-title input{display:block;width:100%;font-size:1.4em}.description-input textarea{font-size:15px;color:#666;width:100%}.search-box,div[editor-type=markdown] .title-input.page-title input[type=text]{max-width:100%}.search-box{position:relative}.search-box button{background-color:transparent;border:none;color:#0288d1;padding:0;margin:0;cursor:pointer;margin-left:12px}.search-box button[type=submit]{margin-left:-24px}.search-box input{padding-right:24px;width:300px;max-width:100%}input.outline{border:0;border-bottom:2px solid #ddd;border-radius:0}input.outline:active,input.outline:focus{border:0;border-bottom:2px solid #aaa;outline:0}#login-form label[for=remember]{margin:0}#login-form label.toggle-switch{margin-left:32px}.image-picker img{background-color:#bbb}div[toggle-switch]{height:18px;width:150px}table{min-width:100px;max-width:100%}table thead{background-color:#f8f8f8;font-weight:500}table td,table th{min-width:10px;padding:6px 8px;border:1px solid #ddd;overflow:auto;line-height:1.2}table td p,table th p{margin:0}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;margin:0}table.table th{font-weight:700}table.table tr:hover{background-color:#eee}table.no-style td{border:0;padding:0}table.list-table{margin:-6px}table.list-table td{border:0;vertical-align:middle;padding:6px}.anim.fadeIn{opacity:0;animation-name:fadeIn;animation-duration:.16s;animation-timing-function:ease-in-out;animation-fill-mode:forwards}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.anim.searchResult{opacity:0;transform:translate3d(580px,0,0);animation-name:searchResult;animation-duration:.22s;animation-fill-mode:forwards;animation-timing-function:cubic-bezier(.62,.28,.23,.99)}@keyframes searchResult{0%{opacity:0;transform:translate3d(400px,0,0)}to{opacity:1;transform:translateZ(0)}}.anim.notification{transform:translate3d(580px,0,0);animation-name:notification;animation-duration:3s;animation-timing-function:ease-in-out;animation-fill-mode:forwards}.anim.notification.stopped{animation-name:notificationStopped}@keyframes notification{0%{transform:translate3d(580px,0,0)}10%{transform:translateZ(0)}90%{transform:translateZ(0)}to{transform:translate3d(580px,0,0)}}@keyframes notificationStopped{0%{transform:translate3d(580px,0,0)}10%{transform:translateZ(0)}to{transform:translateZ(0)}}@keyframes menuIn{0%{opacity:0;transform:scale3d(0,0,1)}to{opacity:1;transform:scaleX(1)}}.anim.menuIn{transform-origin:100% 0;animation-name:menuIn;animation-duration:.12s;animation-delay:0s;animation-timing-function:cubic-bezier(.62,.28,.23,.99)}@keyframes loadingBob{0%{transform:translateZ(0)}30%{transform:translateZ(0)}50%{transform:translate3d(0,-10px,0)}70%{transform:translateZ(0)}to{transform:translateZ(0)}}@keyframes pointer{0%{transform:translate3d(0,20px,0) scale3d(0,0,0)}to{transform:translateZ(0) scaleX(1)}}.anim.pointer{transform-origin:50% 100%;animation-name:pointer;animation-duration:.18s;animation-delay:0s;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>div>.mce-tinymce.mce-container.mce-panel{margin:0 -1px}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel,.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body{-ms-flex:1 1 auto;flex:1 1 auto;display:-ms-flexbox!important;display:flex!important;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-toolbar-grp{-ms-flex:0 1 auto;flex:0 1 auto}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-edit-area{-ms-flex:1 1 auto;flex:1 1 auto;display:-ms-flexbox!important;display:flex!important;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-edit-area iframe{-ms-flex:1;flex:1}.hljs{display:block;overflow-x:auto;padding:.5em;background:#fdf6e3;color:#657b83;-webkit-text-size-adjust:none}.diff .hljs-header,.hljs-comment,.hljs-doctype,.hljs-pi,.lisp .hljs-string{color:#93a1a1}.css .hljs-tag,.hljs-addition,.hljs-keyword,.hljs-request,.hljs-status,.hljs-winutils,.method,.nginx .hljs-title{color:#859900}.hljs-command,.hljs-doctag,.hljs-hexcolor,.hljs-link_url,.hljs-number,.hljs-regexp,.hljs-rule .hljs-value,.hljs-string,.hljs-tag .hljs-value,.tex .hljs-formula{color:#2aa198}.css .hljs-function,.hljs-built_in,.hljs-chunk,.hljs-decorator,.hljs-id,.hljs-identifier,.hljs-localvars,.hljs-name,.hljs-title,.vhdl .hljs-literal{color:#268bd2}.hljs-attribute,.hljs-class .hljs-title,.hljs-constant,.hljs-link_reference,.hljs-parent,.hljs-type,.hljs-variable,.lisp .hljs-body,.smalltalk .hljs-number{color:#b58900}.css .hljs-pseudo,.diff .hljs-change,.hljs-attr_selector,.hljs-cdata,.hljs-header,.hljs-pragma,.hljs-preprocessor,.hljs-preprocessor .hljs-keyword,.hljs-shebang,.hljs-special,.hljs-subst,.hljs-symbol,.hljs-symbol .hljs-string{color:#cb4b16}.hljs-deletion,.hljs-important{color:#dc322f}.hljs-link_label{color:#6c71c4}.tex .hljs-formula{background:#eee8d5}.overlay{background-color:rgba(0,0,0,.333);position:fixed;z-index:95536;width:100%;height:100%;min-width:100%;min-height:100%;top:0;left:0;right:0;bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;display:none}.popup-body,.popup-body-wrap{display:-ms-flexbox;display:flex}.popup-body{background-color:#fff;max-height:90%;width:1200px;height:auto;margin:2% 5%;border-radius:4px;box-shadow:0 0 15px 0 rgba(0,0,0,.3);overflow:hidden;z-index:999;-ms-flex-direction:column;flex-direction:column}.popup-body.small{margin:2% auto;width:800px;max-width:90%}.popup-body:before{display:-ms-flexbox;display:flex;-ms-flex-item-align:start;align-self:flex-start}.corner-button{position:absolute;top:0;right:0;margin:0;height:40px;border-radius:0;box-shadow:none}.popup-footer,.popup-header{display:block!important;position:relative;height:40px;-ms-flex:none!important;flex:none!important}.popup-footer .popup-title,.popup-header .popup-title{color:#fff;padding:8px 16px}body.flexbox-support #entity-selector-wrap .popup-body .form-group{height:444px;min-height:444px}#entity-selector-wrap .popup-body .form-group{margin:0}.image-manager-body{min-height:70vh}#image-manager .dropzone-container{position:relative;border:3px dashed #ddd}.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 .16s cubic-bezier(.4,0,1,1);overflow:hidden}.image-manager-list .image.selected{transform:scale3d(.92,.92,.92);border:1px solid #444;box-shadow:0 1px 2px 0 rgba(0,0,0,.2)}.image-manager-list .image img{width:100%;max-width:100%;display:block}.image-manager-list .image .image-meta{position:absolute;width:100%;bottom:0;left:0;color:#eee;background-color:rgba(0,0,0,.4);font-size:10px;padding:3px 4px}.image-manager-list .image .image-meta span{display:block}@media screen and (max-width:1100px){.image-manager-list .image{width:25%}}@media screen and (max-width:800px){.image-manager-list .image .image-meta{display:none}}#image-manager .load-more{display:block;text-align:center;background-color:#eee;padding:12px 16px;color:#aaa;clear:both;font-size:20px;cursor:pointer;font-style:italic}.image-manager-sidebar{width:300px;margin-left:1px;padding:16px 24px;overflow-y:auto;border-left:1px solid #ddd}.image-manager-sidebar .dropzone-container{margin-top:16px}.image-manager-list{overflow-y:scroll;-ms-flex:1;flex:1}.image-manager-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex:1;flex:1}.image-manager-content .container{width:100%}.dz-message,.image-manager-content .full-tab{text-align:center}.dz-message{font-size:1.2em;line-height:1.1;font-style:italic;color:#aaa;cursor:pointer;padding:24px 16px;transition:all .12s ease-in-out}.dz-drag-hover .dz-message{background-color:#107ed2;color:#eee}@keyframes passing-through{0%{opacity:0;transform:translateY(40px)}30%,70%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-40px)}}@keyframes slide-in{0%{opacity:0;transform:translateY(40px)}30%{opacity:1;transform:translateY(0)}}@keyframes pulse{0%{transform:scale(1)}10%{transform:scale(1.1)}20%{transform:scale(1)}}.dropzone,.dropzone *{box-sizing:border-box}.dz-preview{position:relative;display:inline-block;vertical-align:top;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(180deg,#eee,#ddd)}.dz-preview.dz-file-preview .dz-details{opacity:1}.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}.dz-preview:hover .dz-details{opacity:1}.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 hsla(0,0%,78%,.8);background-color:hsla(0,0%,100%,.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:hsla(0,0%,100%,.4);padding:0 .4em;border-radius:3px}.dz-preview:hover .dz-image img{-webkit-filter:blur(8px);filter:blur(8px)}.dz-preview .dz-image{border-radius:4px;overflow:hidden;width:80px;height:80px;position:relative;display:block;z-index:10}.dz-preview .dz-image img{display:block}.dz-preview.dz-success .dz-success-mark{animation:passing-through 3s cubic-bezier(.77,0,.175,1)}.dz-preview.dz-error .dz-error-mark{opacity:1;animation:slide-in 3s cubic-bezier(.77,0,.175,1)}.dz-preview .dz-error-mark,.dz-preview .dz-success-mark{pointer-events:none;opacity:0;z-index:500;position:absolute;display:block;top:50%;left:50%;margin-left:-27px;margin-top:-27px}.dz-preview .dz-error-mark svg,.dz-preview .dz-success-mark svg{display:block;width:54px;height:54px}.dz-preview.dz-processing .dz-progress{opacity:1;transition:all .2s linear}.dz-preview.dz-complete .dz-progress{opacity:0;transition:opacity .4s ease-in}.dz-preview:not(.dz-processing) .dz-progress{animation:pulse 6s ease infinite}.dz-preview .dz-progress{opacity:1;z-index:1000;pointer-events:none;position:absolute;height:16px;left:50%;top:50%;margin-top:-8px;width:80px;margin-left:-40px;background:hsla(0,0%,100%,.9);transform:scale(1);border-radius:8px;overflow:hidden}.dz-preview .dz-progress .dz-upload{background:#333;background:linear-gradient(180deg,#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{content:'';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 .padded{padding:16px}header .links{display:inline-block;vertical-align:top;margin-right:32px}@media screen and (max-width:992px){header .links{margin-right:16px}}header .links a{display:inline-block;padding:24px;color:#fff}header .links a:last-child{padding-right:0}@media screen and (max-width:992px){header .links a{padding:24px 12px}}header .avatar,header .user-name{display:inline-block}header .avatar{width:30px;height:30px}header .user-name{padding-top:24px;display:inline-block;cursor:pointer}header .user-name,header .user-name>*{vertical-align:top}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}}@media screen and (max-width:992px){header{text-align:center}header .float.right{float:none}}@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;display:inline-block;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{vertical-align:top;margin-left:-24px;color:#fff;top:6px;right:4px;display:inline-block;position:absolute}form.search-box button:hover{color:#fff}.logo{display:inline-block}.logo:hover{color:#fff;text-decoration:none}.logo-text{display:inline-block;font-size:1.8em;color:#fff;font-weight:400;padding:24px 24px 24px 0;vertical-align:top;line-height:1}.logo-image{margin:16px 12px 16px 0;vertical-align:top;height:43px}.breadcrumbs span.sep{color:#aaa;padding:0 6px}.faded a,.faded button,.faded span,.faded span>div{color:#666}.faded .text-button{opacity:.5;transition:all .12s ease-in-out}.faded .text-button:hover{opacity:1;text-decoration:none}.faded span.faded-text{display:inline-block;padding:12px}.faded-small{color:#000;font-size:.9em;background-color:rgba(21,101,192,.15)}.action-buttons .text-button,.breadcrumbs .text-button{display:inline-block;padding:12px}.action-buttons .text-button:last-child,.breadcrumbs .text-button:last-child{padding-right:0}.action-buttons{text-align:right}.action-buttons.text-left{text-align:left}.action-buttons.text-left .text-button{padding-right:16px;padding-left:0}.action-buttons.text-center,.nav-tabs{text-align:center}.nav-tabs .tab-item,.nav-tabs a{padding:16px;display:inline-block;color:#666;cursor:pointer}.nav-tabs .tab-item.selected,.nav-tabs a.selected{border-bottom:2px solid #0288d1}.page-list h3{margin:24px 0 6px;font-size:1.666em}.page-list a.chapter{color:#ef7c3c}.page-list .inset-list{display:none;overflow:hidden;margin-bottom:24px}.page-list h4{display:block;margin:12px 0 0;border-left:5px solid #0288d1;padding:6px 0 6px 16px}.page-list h4.draft{border-left-color:#9a60da}.page-list hr{margin-top:0}.page-list .book,.page-list .chapter,.page-list .page{padding-left:24px}.page-list .page{border-left:5px solid #0288d1}.page-list .page.draft{border-left:5px solid #9a60da}.page-list .page.draft .text-page{color:#9a60da}.page-list .chapter{border-left:5px solid #ef7c3c}.page-list .book{border-left:5px solid #009688}.page-list .meta{margin-top:-16px;font-size:.95em}.page-list .meta span{margin-right:12px}.chapter-toggle{cursor:pointer;margin:0 0 24px;transition:all .18s ease-in-out;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.chapter-toggle i.zmdi-caret-right{transition:all .18s ease-in-out;transform:rotate(0deg);transform-origin:25% 50%}.chapter-toggle.open{margin-bottom:0}.chapter-toggle.open i.zmdi-caret-right{transform:rotate(90deg)}.page-nav-list{margin-left:2px;list-style:none}.page-nav-list li{padding-left:6px;border-left:2px solid #888;margin-bottom:4px}.page-nav-list li a{color:#555}.page-nav-list .nav-H2{margin-left:12px;font-size:.95em}.page-nav-list .nav-H3{margin-left:24px;font-size:.9em}.page-nav-list .nav-H4{margin-left:36px;font-size:.85em}.page-nav-list .nav-H5{margin-left:48px;font-size:.8em}.page-nav-list .nav-H6{margin-left:60px;font-size:.75em}.book-tree{padding:24px 0 0;position:relative;right:0;top:0;transition:.24s ease-in-out;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:hover{text-decoration:none}.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{float:left}.activity-list-item .left+.right{margin-left:42px}ul.pagination{display:inline-block;list-style:none;margin:16px 0;padding-left:1px}ul.pagination li{float:left}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}.compact ul.pagination{margin:0}.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>p.empty-text{display:block;font-size:15px}.entity-list.compact hr{margin:0}.dropdown-container{display:inline-block;vertical-align:top;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 li.padded{padding:6px 16px}.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:12px;padding-right:0;display:inline-block;width:16px}.dropdown-container ul li.border-bottom{border-bottom:1px solid #ddd}#page-show>.row .col-md-9{z-index:2}#page-show>.row .col-md-3{z-index:1}.page-editor{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}.page-editor .faded-small{height:auto}.page-editor .edit-area{-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column}.draft-notification{pointer-events:none;transform:scale(0);transition:transform .12s ease-in-out;transform-origin:50% 50%}.draft-notification.visible{transform:scale(1)}.page-style.editor{padding:0!important}.page-content{max-width:840px;overflow-wrap:break-word}.page-content .align-left{text-align:left}.page-content img.align-left,.page-content table.align-left{float:left!important;margin:6px 12px 6px 0}.page-content .align-right{float:right!important}.page-content img.align-right,.page-content table.align-right{text-align:right;margin:6px 0 6px 12px}.page-content .align-center{text-align:center}.page-content img{max-width:100%;height:auto}.page-content .title-input input[type=text],.page-content h1,.page-content h2,.page-content h3,.page-content h4,.page-content h5,.page-content h6,.page-content pre,.title-input .page-content input[type=text]{clear:left}.page-content hr{clear:both;margin:16px 0}.page-content table{-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;table-layout:fixed;max-width:100%;height:auto!important}.pointer-container{position:relative;display:none;left:0;z-index:10}.pointer{border:1px solid #ccc;display:inline-block;padding:12px;border-radius:4px;box-shadow:0 0 8px 1px hsla(0,3%,83%,.35);top:-60px;width:272px;z-index:55}.pointer,.pointer:before{position:absolute;background-color:#fff}.pointer:before{left:50%;bottom:-9px;width:16px;height:16px;margin-left:-8px;content:'';display:block;transform:rotate(45deg);transform-origin:50% 50%;border-bottom:1px solid #ccc;border-right:1px solid #ccc;z-index:56}.pointer input{background-color:#fff;border:1px solid #ddd;color:#666;width:172px;z-index:40}.pointer button,.pointer input{position:relative;border-radius:0;height:28px;font-size:12px;vertical-align:top}.pointer>i{color:#888;font-size:18px;padding-top:4px}.pointer .button{line-height:1;margin:0 0 0 -4px;box-shadow:none}.floating-toolbox{background-color:#fff;border:1px solid #ddd;right:64px;z-index:99;width:48px;overflow:hidden;-ms-flex-align:stretch;align-items:stretch;-ms-flex-direction:row;flex-direction:row;display:-ms-flexbox;display:flex;transition:width .18s ease-in-out;margin-top:-1px;min-height:0}.floating-toolbox.open{width:480px}.floating-toolbox [toolbox-toggle] i{transition:transform .18s ease-in-out}.floating-toolbox [toolbox-toggle]{transition:background-color .18s ease-in-out}.floating-toolbox.open [toolbox-toggle]{background-color:rgba(255,0,0,.29)}.floating-toolbox.open [toolbox-toggle] i{transform:rotate(180deg)}.floating-toolbox>div{-ms-flex:1;flex:1;position:relative}.floating-toolbox .tabs{display:block;border-right:1px solid #ddd;width:48px;-ms-flex:0 1 auto;flex:0 1 auto}.floating-toolbox .tabs i{color:rgba(0,0,0,.5);padding:0;margin:0}.floating-toolbox .tabs>span{display:block;cursor:pointer;padding:12px 16px;font-size:13.5px;line-height:1.6;border-bottom:1px solid hsla(0,0%,100%,.3)}.floating-toolbox.open .tabs>span.active{color:#444;background-color:rgba(0,0,0,.1)}.floating-toolbox div[tab-content]{padding-bottom:45px;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;min-height:0;overflow-y:scroll}.floating-toolbox div[tab-content] .padded{-ms-flex:1;flex:1;padding-top:0}.floating-toolbox h4{font-size:24px;margin:16px 0 0;padding:0 24px 12px}.floating-toolbox .tags input{max-width:100%;width:100%;min-width:50px}.floating-toolbox .tags td{padding-right:12px;padding-top:12px;position:relative}.floating-toolbox button.pos{position:absolute;bottom:0;display:block;width:100%;padding:12px;height:45px;border:0;margin:0;box-shadow:none;border-radius:0}.floating-toolbox button.pos:hover{box-shadow:none}.floating-toolbox .handle{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:move;color:#999}.floating-toolbox form{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;overflow-y:scroll}[tab-content]{display:none}.tag-display{margin:32px 16px;border:1px solid #ddd;min-width:180px;max-width:320px;opacity:.7;z-index:5;position:relative}.tag-display table{width:100%;margin:0;padding:0}.tag-display .heading th{padding:6px 12px;color:#333;font-weight:400}.tag-display td{border:0;border-bottom:1px solid #ddd;padding:6px 12px;color:#444}.tag-display .tag-value{color:#888}.tag-display tr:last-child td{border-bottom:none}.tag-display .tag{padding:12px}.suggestion-box{position:absolute;background-color:#fff;border:1px solid #bbb;box-shadow:0 0 4px 1px #ccc;list-style:none;z-index:100;padding:0;margin:0;border-radius:3px}.suggestion-box li{display:block;padding:6px 12px;border-bottom:1px solid #ddd}.suggestion-box li:last-child{border-bottom:0}.suggestion-box li.active{background-color:#eee}[v-cloak],[v-show]{display:none}.ng-cloak,[ng-cloak],[ng\:cloak]{display:none!important;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}[ng-click]{cursor:pointer}.dragged{position:absolute;opacity:.5;z-index:2000}body.dragging,body.dragging *{cursor:move!important}.avatar{border-radius:100%;background-color:#eee;width:30px;height:30px}.avatar.med{width:40px;height:40px}.avatar.large{width:80px;height:80px}.avatar.huge{width:120px;height:120px}.avatar.square,.notification{border-radius:3px}.notification{position:fixed;top:0;right:0;margin:64px 32px;padding:24px 32px;background-color:#eee;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);z-index:999999;display:block;cursor:pointer;max-width:480px}.notification i,.notification span{display:table-cell}.notification i{font-size:2em;padding-right:24px}.notification span{vertical-align:middle}.notification.pos{background-color:#52a256;color:#eee}.notification.neg{background-color:#e84f4f;color:#eee}.notification.warning{background-color:#e27b41;color:#eee}.loading-container{position:relative;display:block;height:10px;margin:32px auto}.loading-container>div{width:10px;height:10px;border-radius:10px;display:inline-block;vertical-align:top;transform:translateZ(0);animation-name:loadingBob;animation-duration:1.4s;animation-iteration-count:infinite;animation-timing-function:cubic-bezier(.62,.28,.23,.99);margin-right:4px;background-color:#0288d1;animation-delay:.3s}.loading-container>div:first-child{left:-16px;background-color:#009688;animation-delay:0s}.loading-container>div:last-child{left:16px;background-color:#ef7c3c;animation-delay:.6s}.search-results>h3 a{font-size:.66em;color:#0288d1;padding-left:16px}.search-results>h3 a i{padding-right:12px}#back-to-top{background-color:#0288d1;position:fixed;bottom:16px;right:24px;padding:6px 12px;cursor:pointer;color:#fff;width:40px;height:40px;border-radius:40px;transition:all .18s ease-in-out;opacity:0;z-index:999;overflow:hidden}#back-to-top:hover{width:136px;opacity:1!important}#back-to-top:hover span{display:inline-block}#back-to-top .inner{width:136px}#back-to-top i{margin:0;font-size:28px;padding:0 12px 0 0}#back-to-top span{line-height:12px;position:relative;top:-5px}.contained-search-box{display:-ms-flexbox;display:flex}.contained-search-box button,.contained-search-box input{border-radius:0;border:1px solid #ddd;margin-left:-1px}.contained-search-box input{-ms-flex:5;flex:5}.contained-search-box input:active,.contained-search-box input:focus{outline:0}.contained-search-box button{width:60px}.contained-search-box button i{padding:0}.contained-search-box button.cancel.active{background-color:#e84f4f;color:#eee}.entity-selector{border:1px solid #ddd;border-radius:3px;overflow:hidden;font-size:.8em}.entity-selector input[type=text]{width:100%;display:block;border-radius:0;border:0;border-bottom:1px solid #ddd;font-size:16px;padding:12px 16px}.entity-selector .entity-list{overflow-y:scroll;height:400px;background-color:#eee}.entity-selector .loading{height:400px;padding-top:24px}.entity-selector .entity-list>p{text-align:center;padding-top:24px;font-size:1.333em}.entity-selector .entity-list>div{padding-left:16px;padding-right:16px;background-color:#fff;transition:all .12s ease-in-out;cursor:pointer}.entity-list-item.selected a,.entity-list-item.selected h3,.entity-list-item.selected i,.entity-list-item.selected p,.entity-list-item.selected span{color:#eee} \ No newline at end of file +.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-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:'';content:none}table{border-collapse:collapse;border-spacing:0}@font-face{font-family:Roboto;font-style:normal;font-weight:100;src:local("Roboto Thin"),local("Roboto-Thin"),url(../fonts/roboto-v15-cyrillic_latin-100.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-100.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:100;src:local("Roboto Thin Italic"),local("Roboto-ThinItalic"),url(../fonts/roboto-v15-cyrillic_latin-100italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-100italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:300;src:local("Roboto Light"),local("Roboto-Light"),url(../fonts/roboto-v15-cyrillic_latin-300.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-300.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:300;src:local("Roboto Light Italic"),local("Roboto-LightItalic"),url(../fonts/roboto-v15-cyrillic_latin-300italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-300italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:local("Roboto"),local("Roboto-Regular"),url(../fonts/roboto-v15-cyrillic_latin-regular.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-regular.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:400;src:local("Roboto Italic"),local("Roboto-Italic"),url(../fonts/roboto-v15-cyrillic_latin-italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:500;src:local("Roboto Medium"),local("Roboto-Medium"),url(../fonts/roboto-v15-cyrillic_latin-500.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-500.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:500;src:local("Roboto Medium Italic"),local("Roboto-MediumItalic"),url(../fonts/roboto-v15-cyrillic_latin-500italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-500italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:700;src:local("Roboto Bold"),local("Roboto-Bold"),url(../fonts/roboto-v15-cyrillic_latin-700.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-700.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:700;src:local("Roboto Bold Italic"),local("Roboto-BoldItalic"),url(../fonts/roboto-v15-cyrillic_latin-700italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-700italic.woff) format("woff")}@font-face{font-family:Roboto Mono;font-style:normal;font-weight:400;src:local("Roboto Mono"),local("RobotoMono-Regular"),url(../fonts/roboto-mono-v4-latin-regular.woff2) format("woff2"),url(../fonts/roboto-mono-v4-latin-regular.woff) format("woff")}*{box-sizing:border-box}html{background-color:#fff;height:100%;overflow-y:scroll}html.flexbox{overflow-y:hidden}body{font-family:Roboto,DejaVu Sans,Helvetica,Arial,sans-serif;font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}button{font-size:100%}.title-input input[type=text],h1{font-size:3.425em;line-height:1.22222222em;margin-top:.48888889em;margin-bottom:.48888889em}h2{font-size:2.8275em;line-height:1.294117647em;margin-top:.8627451em;margin-bottom:.43137255em}h3{font-size:1.75em;line-height:1.571428572em}h3,h4{margin-top:.78571429em;margin-bottom:.43137255em}h4{font-size:1em;line-height:1.375em}.title-input input[type=text],h1,h2,h3,h4{font-weight:400;position:relative;display:block;color:#555}.title-input input[type=text] .subheader,h1 .subheader,h2 .subheader,h3 .subheader,h4 .subheader{font-size:.5em;line-height:1em;color:#969696}.link,.text-button,a{color:#0288d1;cursor:pointer;text-decoration:none;transition:color 80ms ease-in-out;font-family:Roboto,DejaVu Sans,Helvetica,Arial,sans-serif;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(90deg,#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;white-space:pre;font-size:.8em;overflow:hidden;border-radius:4px;box-shadow:0 1px 2px 0 hsla(0,0%,4%,.06);border:1px solid hsla(0,0%,87%,.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}pre code{background-color:transparent;border:0;font-size:1em}.text-pos,.text-pos:hover,p.pos,p .pos,p.pos:hover,p .pos:hover,span.pos,span.pos:hover{color:#52a256}.text-neg,.text-neg:hover,p.neg,p .neg,p.neg:hover,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,p.primary:hover,p .primary:hover,span.primary,span.primary:hover{color:#0288d1}.text-secondary,.text-secondary:hover,p.secondary,p .secondary,p.secondary:hover,p .secondary:hover,span.secondary,span.secondary:hover{color:#e27b41}.text-book,.text-book:hover{color:#009688}.text-page,.text-page:hover{color:#0288d1}.text-page.draft,.text-page.draft:hover{color:#9a60da}.text-chapter,.text-chapter:hover{color:#ef7c3c}.faded .text-book:hover{color:#009688!important}.faded .text-chapter:hover{color:#ef7c3c!important}.faded .text-page:hover{color:#0288d1!important}span.highlight{font-weight:700;padding:2px 4px}ul{padding-left:20.8px;list-style:disc}ol,ul{overflow:hidden}ol{list-style:decimal;padding-left:32px}.underlined{text-decoration:underline}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-bigger{font-size:1.1em}.text-large{font-size:1.6666em}.no-color{color:inherit}.header-group{margin:16px 0}.header-group .title-input input[type=text],.header-group h1,.header-group h2,.header-group h3,.header-group h4,.header-group h5,.header-group h6,.title-input .header-group input[type=text]{margin:0}span.sep{color:#bbb;padding:0 6px}.list>*{display:block}.action-header .title-input input[type=text],.action-header h1,.title-input .action-header input[type=text]{margin-top:16px}i{padding-right:6px}body.flexbox{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;height:100%;min-height:100%;max-height:100%;overflow:hidden}body.flexbox #content{-ms-flex:1;flex:1}.flex-fill,body.flexbox #content{display:-ms-flexbox;display:flex;min-height:0}.flex-fill{-ms-flex-align:stretch;align-items:stretch}.flex-fill.flex,.flex-fill .flex{min-height:0;-ms-flex:1;flex:1}.flex-child>div{-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.medium{max-width:992px}.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-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12,.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12,.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12,.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{position:relative;min-height:1px;padding-left:16px;padding-right:16px}.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{float:left}.col-xs-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-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12{float:left}.col-sm-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-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12{float:left}.col-md-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-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.row:after,.row:before{content:" ";display:table}.clearfix:after,.container-fluid:after,.container:after,.row:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.shaded{background-color:#f1f1f1}.shaded.pos{background-color:#d6ead7}.shaded.neg{background-color:#f4a9a9}.shaded.primary{background-color:#a1ddfe}.shaded.secondary{background-color:#f6d7c6}.bordered{border:1px solid #bbb}.bordered.pos{border-color:#52a256}.bordered.neg{border-color:#e84f4f}.bordered.primary{border-color:#0288d1}.bordered.secondary{border-color:#e27b41}.bordered.thick{border-width:2px}.rounded{border-radius:3px}.nopadding{padding:0}.padded{padding:24px}.padded.large{padding:32px}.padded>h1:first-child,.padded>h2:first-child,.padded>h3:first-child,.padded>h4:first-child,.title-input .padded>input[type=text]:first-child{margin-top:.1em}.padded-top,.padded-vertical{padding-top:16px}.padded-top.large,.padded-vertical.large{padding-top:32px}.padded-bottom,.padded-vertical{padding-bottom:16px}.padded-bottom.large,.padded-vertical.large{padding-bottom:32px}.padded-horizontal,.padded-left{padding-left:16px}.padded-horizontal.large,.padded-left.large{padding-left:32px}.padded-horizontal,.padded-right{padding-right:16px}.padded-horizontal.large,.padded-right.large{padding-right:32px}.margins{margin:24px}.margins.large{margin:32px}.margin-top,.margins-vertical{margin-top:16px}.margin-top.large,.margins-vertical.large{margin-top:32px}.margin-bottom,.margins-vertical{margin-bottom:16px}.margin-bottom.large,.margins-vertical.large{margin-bottom:32px}.margin-left,.margins-horizontal{margin-left:16px}.margin-left.large,.margins-horizontal.large{margin-left:32px}.margin-right,.margins-horizontal{margin-right:16px}.margin-right.large,.margins-horizontal.large{margin-right:32px}.callout{border-left:3px solid #bbb;background-color:#eee;padding:12px;display:-ms-flexbox;display:flex}.callout:before{font-family:Material-Design-Iconic-Font;padding-right:12px;display:inline-block}.callout.success{border-left-color:#52a256;background-color:#e7f3e7;color:#376c39}.callout.success:before{content:'\f269'}.callout.danger{border-left-color:#e84f4f;background-color:#fce8e8;color:#b91818}.callout.danger:before{content:'\f1f2'}.callout.info{border-left-color:#0288d1;background-color:#d3efff;color:#015380}.callout.info:before{content:'\f1f8'}.callout.warning{border-left-color:#e27b41;background-color:#faeae0;color:#b6531c}.callout.warning:before{content:'\f1f1'}.button,.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 .12s ease-in-out;box-shadow:0 .5px 1.5px 0 rgba(0,0,0,.21);background-color:#0288d1;color:#eee}.button-base:hover,.button:hover,input[type=button]:hover,input[type=submit]:hover{background-color:#02a2f9;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#eee}.button-base:active,.button:active,input[type=button]:active,input[type=submit]:active{background-color:#026ea9}.button-base:focus,.button:focus,input[type=button]:focus,input[type=submit]:focus{background-color:#0295e5;box-shadow:0 0 4px 1px #ccc;text-decoration:none;color:#eee}.button.pos,input[type=button].pos,input[type=submit].pos{background-color:#52a256;color:#eee}.button.pos:hover,input[type=button].pos:hover,input[type=submit].pos:hover{background-color:#69b36d;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#eee}.button.pos:active,input[type=button].pos:active,input[type=submit].pos:active{background-color:#448748}.button.pos:focus,input[type=button].pos:focus,input[type=submit].pos:focus{background-color:#5cac60;box-shadow:0 0 4px 1px #ccc;text-decoration:none;color:#eee}.button.neg,input[type=button].neg,input[type=submit].neg{background-color:#e84f4f;color:#eee}.button.neg:hover,input[type=button].neg:hover,input[type=submit].neg:hover{background-color:#ed7373;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#eee}.button.neg:active,input[type=button].neg:active,input[type=submit].neg:active{background-color:#e32b2b}.button.neg:focus,input[type=button].neg:focus,input[type=submit].neg:focus{background-color:#ea6161;box-shadow:0 0 4px 1px #ccc;text-decoration:none;color:#eee}.button.secondary,input[type=button].secondary,input[type=submit].secondary{background-color:#e27b41;color:#eee}.button.secondary:hover,input[type=button].secondary:hover,input[type=submit].secondary:hover{background-color:#e79464;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#eee}.button.secondary:active,input[type=button].secondary:active,input[type=submit].secondary:active{background-color:#d96321}.button.secondary:focus,input[type=button].secondary:focus,input[type=submit].secondary:focus{background-color:#e58753;box-shadow:0 0 4px 1px #ccc;text-decoration:none;color:#eee}.button.muted,input[type=button].muted,input[type=submit].muted{background-color:#888;color:#eee}.button.muted:hover,input[type=button].muted:hover,input[type=submit].muted:hover{background-color:#9c9c9c;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#eee}.button.muted:active,input[type=button].muted:active,input[type=submit].muted:active{background-color:#747474}.button.muted:focus,input[type=button].muted:focus,input[type=submit].muted:focus{background-color:#929292;box-shadow:0 0 4px 1px #ccc;text-decoration:none;color:#eee}.text-button{background-color:transparent;padding:0;margin:0;border:none}.text-button:active,.text-button:focus{outline:0}.text-button:hover{text-decoration:none}.text-button.neg{color:#e84f4f}.button-group:after{display:block;content:'';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}.button[disabled],.button[disabled]:hover{background-color:#bbb;cursor:default}.button[disabled]:hover{box-shadow:none}.input-base,input[type=email],input[type=number],input[type=password],input[type=search],input[type=text],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=email],input.invalid[type=number],input.invalid[type=password],input.invalid[type=search],input.invalid[type=text],input.invalid[type=url],input.neg[type=email],input.neg[type=number],input.neg[type=password],input.neg[type=search],input.neg[type=text],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=email],input.pos[type=number],input.pos[type=password],input.pos[type=search],input.pos[type=text],input.pos[type=url],input.valid[type=email],input.valid[type=number],input.valid[type=password],input.valid[type=search],input.valid[type=text],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=email],input.disabled[type=number],input.disabled[type=password],input.disabled[type=search],input.disabled[type=text],input.disabled[type=url],input[disabled][type=email],input[disabled][type=number],input[disabled][type=password],input[disabled][type=search],input[disabled][type=text],input[disabled][type=url],select.disabled,select[disabled],textarea.disabled,textarea[disabled]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAMUlEQVQIW2NkwAGuXbv2nxGbHEhCS0uLEUMSJgHShCKJLIEiiS4Bl8QmAZbEJQGSBAC62BuJ+tt7zgAAAABJRU5ErkJggg==)}.input-base:focus,input[type=email]:focus,input[type=number]:focus,input[type=password]:focus,input[type=search]:focus,input[type=text]:focus,input[type=url]:focus,select:focus,textarea:focus{outline:0}#html-editor{display:none}#markdown-editor{position:relative;z-index:5}#markdown-editor textarea{font-family:Roboto Mono;font-style:normal;font-weight:400;padding:6px 16px;color:#444;border-radius:0;max-height:100%;-ms-flex:1;flex:1;border:0;width:100%}#markdown-editor textarea:focus{outline:0}#markdown-editor .markdown-display,#markdown-editor .markdown-editor-wrap{-ms-flex:1;flex:1;position:relative}#markdown-editor .markdown-editor-wrap{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;border:1px solid #ddd}#markdown-editor .markdown-display{padding:0 16px;margin-left:-1px;overflow-y:scroll}#markdown-editor .markdown-display .page-content{margin:0 auto}.editor-toolbar{width:100%;padding:6px 16px;font-family:Roboto Mono;font-size:11px;line-height:1.6;border-bottom:1px solid #ddd;background-color:#eee;-ms-flex:none;flex:none}.editor-toolbar:after{content:'';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}label.inline{display:inline-block}label.checkbox,label.radio{font-weight:400}label.checkbox input[type=checkbox],label.checkbox input[type=radio],label.radio input[type=checkbox],label.radio input[type=radio]{margin-right:6px}label+p.small{margin-bottom:.8em}.toggle-switch{display:inline-block;background-color:#bbb;width:36px;height:14px;border-radius:7px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.toggle-switch,.toggle-switch:after{position:relative;transition:all .12s ease-in-out}.toggle-switch:after{content:'';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 textarea{display:block;width:100%;min-height:64px}.form-group .text-neg,.form-group .text-pos{padding:6px 0}.description-input textarea,.inline-input-style,.title-input input[type=text]{border:2px dotted #bbb;display:block;width:100%;padding:6px 12px}.title-input .input{width:100%}.description-input label,.title-input label{margin-top:16px;color:#666}.title-input input[type=text]{margin-top:0;padding-right:0;width:100%;color:#444}.title-input.page-title{font-size:.8em}.title-input.page-title .input{border:0;margin-bottom:-1px}.title-input.page-title input[type=text]{max-width:840px;margin:0 auto;border:none}.page-title input{display:block;width:100%;font-size:1.4em}.description-input textarea{font-size:15px;color:#666;width:100%}.search-box,div[editor-type=markdown] .title-input.page-title input[type=text]{max-width:100%}.search-box{position:relative}.search-box button{background-color:transparent;border:none;color:#0288d1;padding:0;margin:0;cursor:pointer;margin-left:12px}.search-box button[type=submit]{margin-left:-24px}.search-box input{padding-right:24px;width:300px;max-width:100%}input.outline{border:0;border-bottom:2px solid #ddd;border-radius:0}input.outline:active,input.outline:focus{border:0;border-bottom:2px solid #aaa;outline:0}#login-form label[for=remember]{margin:0}#login-form label.toggle-switch{margin-left:32px}.image-picker img{background-color:#bbb}div[toggle-switch]{height:18px;width:150px}table{min-width:100px;max-width:100%}table thead{background-color:#f8f8f8;font-weight:500}table td,table th{min-width:10px;padding:6px 8px;border:1px solid #ddd;overflow:auto;line-height:1.2}table td p,table th p{margin:0}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;margin:0}table.table th{font-weight:700}table.table tr:hover{background-color:#eee}table.no-style td{border:0;padding:0}table.list-table{margin:-6px}table.list-table td{border:0;vertical-align:middle;padding:6px}.anim.fadeIn{opacity:0;animation-name:fadeIn;animation-duration:.16s;animation-timing-function:ease-in-out;animation-fill-mode:forwards}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.anim.searchResult{opacity:0;transform:translate3d(580px,0,0);animation-name:searchResult;animation-duration:.22s;animation-fill-mode:forwards;animation-timing-function:cubic-bezier(.62,.28,.23,.99)}@keyframes searchResult{0%{opacity:0;transform:translate3d(400px,0,0)}to{opacity:1;transform:translateZ(0)}}.anim.notification{transform:translate3d(580px,0,0);animation-name:notification;animation-duration:3s;animation-timing-function:ease-in-out;animation-fill-mode:forwards}.anim.notification.stopped{animation-name:notificationStopped}@keyframes notification{0%{transform:translate3d(580px,0,0)}10%{transform:translateZ(0)}90%{transform:translateZ(0)}to{transform:translate3d(580px,0,0)}}@keyframes notificationStopped{0%{transform:translate3d(580px,0,0)}10%{transform:translateZ(0)}to{transform:translateZ(0)}}@keyframes menuIn{0%{opacity:0;transform:scale3d(0,0,1)}to{opacity:1;transform:scaleX(1)}}.anim.menuIn{transform-origin:100% 0;animation-name:menuIn;animation-duration:.12s;animation-delay:0s;animation-timing-function:cubic-bezier(.62,.28,.23,.99)}@keyframes loadingBob{0%{transform:translateZ(0)}30%{transform:translateZ(0)}50%{transform:translate3d(0,-10px,0)}70%{transform:translateZ(0)}to{transform:translateZ(0)}}@keyframes pointer{0%{transform:translate3d(0,20px,0) scale3d(0,0,0)}to{transform:translateZ(0) scaleX(1)}}.anim.pointer{transform-origin:50% 100%;animation-name:pointer;animation-duration:.18s;animation-delay:0s;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>div>.mce-tinymce.mce-container.mce-panel{margin:0 -1px}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel,.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body{-ms-flex:1 1 auto;flex:1 1 auto;display:-ms-flexbox!important;display:flex!important;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-toolbar-grp{-ms-flex:0 1 auto;flex:0 1 auto}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-edit-area{-ms-flex:1 1 auto;flex:1 1 auto;display:-ms-flexbox!important;display:flex!important;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-edit-area iframe{-ms-flex:1;flex:1}.hljs{display:block;overflow-x:auto;padding:.5em;background:#fdf6e3;color:#657b83;-webkit-text-size-adjust:none}.diff .hljs-header,.hljs-comment,.hljs-doctype,.hljs-pi,.lisp .hljs-string{color:#93a1a1}.css .hljs-tag,.hljs-addition,.hljs-keyword,.hljs-request,.hljs-status,.hljs-winutils,.method,.nginx .hljs-title{color:#859900}.hljs-command,.hljs-doctag,.hljs-hexcolor,.hljs-link_url,.hljs-number,.hljs-regexp,.hljs-rule .hljs-value,.hljs-string,.hljs-tag .hljs-value,.tex .hljs-formula{color:#2aa198}.css .hljs-function,.hljs-built_in,.hljs-chunk,.hljs-decorator,.hljs-id,.hljs-identifier,.hljs-localvars,.hljs-name,.hljs-title,.vhdl .hljs-literal{color:#268bd2}.hljs-attribute,.hljs-class .hljs-title,.hljs-constant,.hljs-link_reference,.hljs-parent,.hljs-type,.hljs-variable,.lisp .hljs-body,.smalltalk .hljs-number{color:#b58900}.css .hljs-pseudo,.diff .hljs-change,.hljs-attr_selector,.hljs-cdata,.hljs-header,.hljs-pragma,.hljs-preprocessor,.hljs-preprocessor .hljs-keyword,.hljs-shebang,.hljs-special,.hljs-subst,.hljs-symbol,.hljs-symbol .hljs-string{color:#cb4b16}.hljs-deletion,.hljs-important{color:#dc322f}.hljs-link_label{color:#6c71c4}.tex .hljs-formula{background:#eee8d5}.overlay{background-color:rgba(0,0,0,.333);position:fixed;z-index:95536;width:100%;height:100%;min-width:100%;min-height:100%;top:0;left:0;right:0;bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;display:none}.popup-body,.popup-body-wrap{display:-ms-flexbox;display:flex}.popup-body{background-color:#fff;max-height:90%;width:1200px;height:auto;margin:2% 5%;border-radius:4px;box-shadow:0 0 15px 0 rgba(0,0,0,.3);overflow:hidden;z-index:999;-ms-flex-direction:column;flex-direction:column}.popup-body.small{margin:2% auto;width:800px;max-width:90%}.popup-body:before{display:-ms-flexbox;display:flex;-ms-flex-item-align:start;align-self:flex-start}.corner-button{position:absolute;top:0;right:0;margin:0;height:40px;border-radius:0;box-shadow:none}.popup-footer,.popup-header{display:block!important;position:relative;height:40px;-ms-flex:none!important;flex:none!important}.popup-footer .popup-title,.popup-header .popup-title{color:#fff;padding:8px 16px}body.flexbox-support #entity-selector-wrap .popup-body .form-group{height:444px;min-height:444px}#entity-selector-wrap .popup-body .form-group{margin:0}.image-manager-body{min-height:70vh}#image-manager .dropzone-container{position:relative;border:3px dashed #ddd}.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 .16s cubic-bezier(.4,0,1,1);overflow:hidden}.image-manager-list .image.selected{transform:scale3d(.92,.92,.92);border:1px solid #444;box-shadow:0 1px 2px 0 rgba(0,0,0,.2)}.image-manager-list .image img{width:100%;max-width:100%;display:block}.image-manager-list .image .image-meta{position:absolute;width:100%;bottom:0;left:0;color:#eee;background-color:rgba(0,0,0,.4);font-size:10px;padding:3px 4px}.image-manager-list .image .image-meta span{display:block}@media screen and (max-width:1100px){.image-manager-list .image{width:25%}}@media screen and (max-width:800px){.image-manager-list .image .image-meta{display:none}}#image-manager .load-more{display:block;text-align:center;background-color:#eee;padding:12px 16px;color:#aaa;clear:both;font-size:20px;cursor:pointer;font-style:italic}.image-manager-sidebar{width:300px;margin-left:1px;padding:16px 24px;overflow-y:auto;border-left:1px solid #ddd}.image-manager-sidebar .dropzone-container{margin-top:16px}.image-manager-list{overflow-y:scroll;-ms-flex:1;flex:1}.image-manager-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex:1;flex:1}.image-manager-content .container{width:100%}.dz-message,.image-manager-content .full-tab{text-align:center}.dz-message{font-size:1.2em;line-height:1.1;font-style:italic;color:#aaa;cursor:pointer;padding:24px 16px;transition:all .12s ease-in-out}.dz-drag-hover .dz-message{background-color:#107ed2;color:#eee}@keyframes passing-through{0%{opacity:0;transform:translateY(40px)}30%,70%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-40px)}}@keyframes slide-in{0%{opacity:0;transform:translateY(40px)}30%{opacity:1;transform:translateY(0)}}@keyframes pulse{0%{transform:scale(1)}10%{transform:scale(1.1)}20%{transform:scale(1)}}.dropzone,.dropzone *{box-sizing:border-box}.dz-preview{position:relative;display:inline-block;vertical-align:top;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(180deg,#eee,#ddd)}.dz-preview.dz-file-preview .dz-details{opacity:1}.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}.dz-preview:hover .dz-details{opacity:1}.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 hsla(0,0%,78%,.8);background-color:hsla(0,0%,100%,.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:hsla(0,0%,100%,.4);padding:0 .4em;border-radius:3px}.dz-preview:hover .dz-image img{filter:blur(8px)}.dz-preview .dz-image{border-radius:4px;overflow:hidden;width:80px;height:80px;position:relative;display:block;z-index:10}.dz-preview .dz-image img{display:block}.dz-preview.dz-success .dz-success-mark{animation:passing-through 3s cubic-bezier(.77,0,.175,1)}.dz-preview.dz-error .dz-error-mark{opacity:1;animation:slide-in 3s cubic-bezier(.77,0,.175,1)}.dz-preview .dz-error-mark,.dz-preview .dz-success-mark{pointer-events:none;opacity:0;z-index:500;position:absolute;display:block;top:50%;left:50%;margin-left:-27px;margin-top:-27px}.dz-preview .dz-error-mark svg,.dz-preview .dz-success-mark svg{display:block;width:54px;height:54px}.dz-preview.dz-processing .dz-progress{opacity:1;transition:all .2s linear}.dz-preview.dz-complete .dz-progress{opacity:0;transition:opacity .4s ease-in}.dz-preview:not(.dz-processing) .dz-progress{animation:pulse 6s ease infinite}.dz-preview .dz-progress{opacity:1;z-index:1000;pointer-events:none;position:absolute;height:16px;left:50%;top:50%;margin-top:-8px;width:80px;margin-left:-40px;background:hsla(0,0%,100%,.9);transform:scale(1);border-radius:8px;overflow:hidden}.dz-preview .dz-progress .dz-upload{background:#333;background:linear-gradient(180deg,#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{content:'';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 .padded{padding:16px}header .links{display:inline-block;vertical-align:top;margin-right:32px}@media screen and (max-width:992px){header .links{margin-right:16px}}header .links a{display:inline-block;padding:24px;color:#fff}header .links a:last-child{padding-right:0}@media screen and (max-width:992px){header .links a{padding:24px 12px}}header .avatar,header .user-name{display:inline-block}header .avatar{width:30px;height:30px}header .user-name{padding-top:24px;display:inline-block;cursor:pointer}header .user-name,header .user-name>*{vertical-align:top}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}}@media screen and (max-width:992px){header{text-align:center}header .float.right{float:none}}@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;display:inline-block;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{vertical-align:top;margin-left:-24px;color:#fff;top:6px;right:4px;display:inline-block;position:absolute}form.search-box button:hover{color:#fff}.logo{display:inline-block}.logo:hover{color:#fff;text-decoration:none}.logo-text{display:inline-block;font-size:1.8em;color:#fff;font-weight:400;padding:24px 24px 24px 0;vertical-align:top;line-height:1}.logo-image{margin:16px 12px 16px 0;vertical-align:top;height:43px}.breadcrumbs span.sep{color:#aaa;padding:0 6px}.faded a,.faded button,.faded span,.faded span>div{color:#666}.faded .text-button{opacity:.5;transition:all .12s ease-in-out}.faded .text-button:hover{opacity:1;text-decoration:none}.faded span.faded-text{display:inline-block;padding:12px}.faded-small{color:#000;font-size:.9em;background-color:rgba(21,101,192,.15)}.action-buttons .text-button,.breadcrumbs .text-button{display:inline-block;padding:12px}.action-buttons .text-button:last-child,.breadcrumbs .text-button:last-child{padding-right:0}.action-buttons{text-align:right}.action-buttons.text-left{text-align:left}.action-buttons.text-left .text-button{padding-right:16px;padding-left:0}.action-buttons.text-center,.nav-tabs{text-align:center}.nav-tabs .tab-item,.nav-tabs a{padding:16px;display:inline-block;color:#666;cursor:pointer}.nav-tabs .tab-item.selected,.nav-tabs a.selected{border-bottom:2px solid #0288d1}.page-list h3{margin:24px 0 6px;font-size:1.666em}.page-list a.chapter{color:#ef7c3c}.page-list .inset-list{display:none;overflow:hidden;margin-bottom:24px}.page-list h4{display:block;margin:12px 0 0;border-left:5px solid #0288d1;padding:6px 0 6px 16px}.page-list h4.draft{border-left-color:#9a60da}.page-list hr{margin-top:0}.page-list .book,.page-list .chapter,.page-list .page{padding-left:24px}.page-list .page{border-left:5px solid #0288d1}.page-list .page.draft{border-left:5px solid #9a60da}.page-list .page.draft .text-page{color:#9a60da}.page-list .chapter{border-left:5px solid #ef7c3c}.page-list .book{border-left:5px solid #009688}.page-list .meta{margin-top:-16px;font-size:.95em}.page-list .meta span{margin-right:12px}.chapter-toggle{cursor:pointer;margin:0 0 24px;transition:all .18s ease-in-out;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.chapter-toggle i.zmdi-caret-right{transition:all .18s ease-in-out;transform:rotate(0deg);transform-origin:25% 50%}.chapter-toggle.open{margin-bottom:0}.chapter-toggle.open i.zmdi-caret-right{transform:rotate(90deg)}.page-nav-list{margin-left:2px;list-style:none}.page-nav-list li{padding-left:6px;border-left:2px solid #888;margin-bottom:4px}.page-nav-list li a{color:#555}.page-nav-list .nav-H2{margin-left:12px;font-size:.95em}.page-nav-list .nav-H3{margin-left:24px;font-size:.9em}.page-nav-list .nav-H4{margin-left:36px;font-size:.85em}.page-nav-list .nav-H5{margin-left:48px;font-size:.8em}.page-nav-list .nav-H6{margin-left:60px;font-size:.75em}.book-tree{padding:24px 0 0;position:relative;right:0;top:0;transition:.24s ease-in-out;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:hover{text-decoration:none}.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{float:left}.activity-list-item .left+.right{margin-left:42px}ul.pagination{display:inline-block;list-style:none;margin:16px 0;padding-left:1px}ul.pagination li{float:left}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}.compact ul.pagination{margin:0}.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>p.empty-text{display:block;font-size:15px}.entity-list.compact hr{margin:0}.dropdown-container{display:inline-block;vertical-align:top;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 li.padded{padding:6px 16px}.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:12px;padding-right:0;display:inline-block;width:16px}.dropdown-container ul li.border-bottom{border-bottom:1px solid #ddd}#page-show>.row .col-md-9{z-index:2}#page-show>.row .col-md-3{z-index:1}.page-editor{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}.page-editor .faded-small{height:auto}.page-editor .edit-area{-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column}.draft-notification{pointer-events:none;transform:scale(0);transition:transform .12s ease-in-out;transform-origin:50% 50%}.draft-notification.visible{transform:scale(1)}.page-style.editor{padding:0!important}.page-content{max-width:840px;overflow-wrap:break-word}.page-content .align-left{text-align:left}.page-content img.align-left,.page-content table.align-left{float:left!important;margin:6px 12px 6px 0}.page-content .align-right{float:right!important}.page-content img.align-right,.page-content table.align-right{text-align:right;margin:6px 0 6px 12px}.page-content .align-center{text-align:center}.page-content img{max-width:100%;height:auto}.page-content .title-input input[type=text],.page-content h1,.page-content h2,.page-content h3,.page-content h4,.page-content h5,.page-content h6,.page-content pre,.title-input .page-content input[type=text]{clear:left}.page-content hr{clear:both;margin:16px 0}.page-content table{-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;table-layout:fixed;max-width:100%;height:auto!important}.pointer-container{position:relative;display:none;left:0;z-index:10}.pointer{border:1px solid #ccc;display:inline-block;padding:12px;border-radius:4px;box-shadow:0 0 8px 1px hsla(0,3%,83%,.35);top:-60px;width:272px;z-index:55}.pointer,.pointer:before{position:absolute;background-color:#fff}.pointer:before{left:50%;bottom:-9px;width:16px;height:16px;margin-left:-8px;content:'';display:block;transform:rotate(45deg);transform-origin:50% 50%;border-bottom:1px solid #ccc;border-right:1px solid #ccc;z-index:56}.pointer input{background-color:#fff;border:1px solid #ddd;color:#666;width:172px;z-index:40}.pointer button,.pointer input{position:relative;border-radius:0;height:28px;font-size:12px;vertical-align:top}.pointer>i{color:#888;font-size:18px;padding-top:4px}.pointer .button{line-height:1;margin:0 0 0 -4px;box-shadow:none}.floating-toolbox{background-color:#fff;border:1px solid #ddd;right:64px;z-index:99;width:48px;overflow:hidden;-ms-flex-align:stretch;align-items:stretch;-ms-flex-direction:row;flex-direction:row;display:-ms-flexbox;display:flex;transition:width .18s ease-in-out;margin-top:-1px;min-height:0}.floating-toolbox.open{width:480px}.floating-toolbox [toolbox-toggle] i{transition:transform .18s ease-in-out}.floating-toolbox [toolbox-toggle]{transition:background-color .18s ease-in-out}.floating-toolbox.open [toolbox-toggle]{background-color:rgba(255,0,0,.29)}.floating-toolbox.open [toolbox-toggle] i{transform:rotate(180deg)}.floating-toolbox>div{-ms-flex:1;flex:1;position:relative}.floating-toolbox .tabs{display:block;border-right:1px solid #ddd;width:48px;-ms-flex:0 1 auto;flex:0 1 auto}.floating-toolbox .tabs i{color:rgba(0,0,0,.5);padding:0;margin:0}.floating-toolbox .tabs>span{display:block;cursor:pointer;padding:12px 16px;font-size:13.5px;line-height:1.6;border-bottom:1px solid hsla(0,0%,100%,.3)}.floating-toolbox.open .tabs>span.active{color:#444;background-color:rgba(0,0,0,.1)}.floating-toolbox div[tab-content]{padding-bottom:45px;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;min-height:0;overflow-y:scroll}.floating-toolbox div[tab-content] .padded{-ms-flex:1;flex:1;padding-top:0}.floating-toolbox h4{font-size:24px;margin:16px 0 0;padding:0 24px 12px}.floating-toolbox .tags input{max-width:100%;width:100%;min-width:50px}.floating-toolbox .tags td{padding-right:12px;padding-top:12px;position:relative}.floating-toolbox button.pos{position:absolute;bottom:0;display:block;width:100%;padding:12px;height:45px;border:0;margin:0;box-shadow:none;border-radius:0}.floating-toolbox button.pos:hover{box-shadow:none}.floating-toolbox .handle{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:move;color:#999}.floating-toolbox form{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;overflow-y:scroll}[tab-content]{display:none}.tag-display{margin:32px 16px;border:1px solid #ddd;min-width:180px;max-width:320px;opacity:.7;z-index:5;position:relative}.tag-display table{width:100%;margin:0;padding:0}.tag-display .heading th{padding:6px 12px;color:#333;font-weight:400}.tag-display td{border:0;border-bottom:1px solid #ddd;padding:6px 12px;color:#444}.tag-display .tag-value{color:#888}.tag-display tr:last-child td{border-bottom:none}.tag-display .tag{padding:12px}.suggestion-box{position:absolute;background-color:#fff;border:1px solid #bbb;box-shadow:0 0 4px 1px #ccc;list-style:none;z-index:100;padding:0;margin:0;border-radius:3px}.suggestion-box li{display:block;padding:6px 12px;border-bottom:1px solid #ddd}.suggestion-box li:last-child{border-bottom:0}.suggestion-box li.active{background-color:#eee}[v-cloak],[v-show]{display:none}.ng-cloak,[ng-cloak],[ng\:cloak]{display:none!important;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}[ng-click]{cursor:pointer}.dragged{position:absolute;opacity:.5;z-index:2000}body.dragging,body.dragging *{cursor:move!important}.avatar{border-radius:100%;background-color:#eee;width:30px;height:30px}.avatar.med{width:40px;height:40px}.avatar.large{width:80px;height:80px}.avatar.huge{width:120px;height:120px}.avatar.square,.notification{border-radius:3px}.notification{position:fixed;top:0;right:0;margin:64px 32px;padding:24px 32px;background-color:#eee;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);z-index:999999;display:block;cursor:pointer;max-width:480px}.notification i,.notification span{display:table-cell}.notification i{font-size:2em;padding-right:24px}.notification span{vertical-align:middle}.notification.pos{background-color:#52a256;color:#eee}.notification.neg{background-color:#e84f4f;color:#eee}.notification.warning{background-color:#e27b41;color:#eee}.loading-container{position:relative;display:block;height:10px;margin:32px auto}.loading-container>div{width:10px;height:10px;border-radius:10px;display:inline-block;vertical-align:top;transform:translateZ(0);animation-name:loadingBob;animation-duration:1.4s;animation-iteration-count:infinite;animation-timing-function:cubic-bezier(.62,.28,.23,.99);margin-right:4px;background-color:#0288d1;animation-delay:.3s}.loading-container>div:first-child{left:-16px;background-color:#009688;animation-delay:0s}.loading-container>div:last-child{left:16px;background-color:#ef7c3c;animation-delay:.6s}.search-results>h3 a{font-size:.66em;color:#0288d1;padding-left:16px}.search-results>h3 a i{padding-right:12px}#back-to-top{background-color:#0288d1;position:fixed;bottom:16px;right:24px;padding:6px 12px;cursor:pointer;color:#fff;width:40px;height:40px;border-radius:40px;transition:all .18s ease-in-out;opacity:0;z-index:999;overflow:hidden}#back-to-top:hover{width:136px;opacity:1!important}#back-to-top:hover span{display:inline-block}#back-to-top .inner{width:136px}#back-to-top i{margin:0;font-size:28px;padding:0 12px 0 0}#back-to-top span{line-height:12px;position:relative;top:-5px}.contained-search-box{display:-ms-flexbox;display:flex}.contained-search-box button,.contained-search-box input{border-radius:0;border:1px solid #ddd;margin-left:-1px}.contained-search-box input{-ms-flex:5;flex:5}.contained-search-box input:active,.contained-search-box input:focus{outline:0}.contained-search-box button{width:60px}.contained-search-box button i{padding:0}.contained-search-box button.cancel.active{background-color:#e84f4f;color:#eee}.entity-selector{border:1px solid #ddd;border-radius:3px;overflow:hidden;font-size:.8em}.entity-selector input[type=text]{width:100%;display:block;border-radius:0;border:0;border-bottom:1px solid #ddd;font-size:16px;padding:12px 16px}.entity-selector .entity-list{overflow-y:scroll;height:400px;background-color:#eee}.entity-selector .loading{height:400px;padding-top:24px}.entity-selector .entity-list>p{text-align:center;padding-top:24px;font-size:1.333em}.entity-selector .entity-list>div{padding-left:16px;padding-right:16px;background-color:#fff;transition:all .12s ease-in-out;cursor:pointer}.entity-list-item.selected a,.entity-list-item.selected h3,.entity-list-item.selected i,.entity-list-item.selected p,.entity-list-item.selected span{color:#eee} \ No newline at end of file diff --git a/public/js/common.js b/public/js/common.js index da026db6a67..bab959a32ce 100644 --- a/public/js/common.js +++ b/public/js/common.js @@ -6,7 +6,7 @@ t("json",ar),t("limitTo",sr),t("lowercase",Fo),t("number",Yn),t("orderBy",lr),t( return"-"===e||"+"===e||this.isNumber(e)},throwError:function(e,t,n){n=n||this.index;var r=$(t)?"s "+t+"-"+this.index+" ["+this.text.substring(t,n)+"]":" "+n;throw fo("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:yo.Program,body:e}},expressionStatement:function(){return{type:yo.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:yo.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:yo.ConditionalExpression,test:n,alternate:e,consequent:t}):n},logicalOR:function(){for(var e=this.logicalAND();this.expect("||");)e={type:yo.LogicalExpression,operator:"||",left:e,right:this.logicalAND()};return e},logicalAND:function(){for(var e=this.equality();this.expect("&&");)e={type:yo.LogicalExpression,operator:"&&",left:e,right:this.equality()};return e},equality:function(){for(var e,t=this.relational();e=this.expect("==","!=","===","!==");)t={type:yo.BinaryExpression,operator:e.text,left:t,right:this.relational()};return t},relational:function(){for(var e,t=this.additive();e=this.expect("<",">","<=",">=");)t={type:yo.BinaryExpression,operator:e.text,left:t,right:this.additive()};return t},additive:function(){for(var e,t=this.multiplicative();e=this.expect("+","-");)t={type:yo.BinaryExpression,operator:e.text,left:t,right:this.multiplicative()};return t},multiplicative:function(){for(var e,t=this.unary();e=this.expect("*","/","%");)t={type:yo.BinaryExpression,operator:e.text,left:t,right:this.unary()};return t},unary:function(){var e;return(e=this.expect("+","-","!"))?{type:yo.UnaryExpression,operator:e.text,prefix:!0,argument:this.unary()}:this.primary()},primary:function(){var e;this.expect("(")?(e=this.filterChain(),this.consume(")")):this.expect("[")?e=this.arrayDeclaration():this.expect("{")?e=this.object():this.selfReferential.hasOwnProperty(this.peek().text)?e=R(this.selfReferential[this.consume().text]):this.options.literals.hasOwnProperty(this.peek().text)?e={type:yo.Literal,value:this.options.literals[this.consume().text]}:this.peek().identifier?e=this.identifier():this.peek().constant?e=this.constant():this.throwError("not a primary expression",this.peek());for(var t;t=this.expect("(","[",".");)"("===t.text?(e={type:yo.CallExpression,callee:e,arguments:this.parseArguments()},this.consume(")")):"["===t.text?(e={type:yo.MemberExpression,object:e,property:this.expression(),computed:!0},this.consume("]")):"."===t.text?e={type:yo.MemberExpression,object:e,property:this.identifier(),computed:!1}:this.throwError("IMPOSSIBLE");return e},filter:function(e){for(var t=[e],n={type:yo.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.filterChain());while(this.expect(","));return e},identifier:function(){var e=this.consume();return e.identifier||this.throwError("is not a valid identifier",e),{type:yo.Identifier,name:e.text}},constant:function(){return{type:yo.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:yo.ArrayExpression,elements:e}},object:function(){var e,t=[];if("}"!==this.peekToken().text)do{if(this.peek("}"))break;e={type:yo.Property,kind:"init"},this.peek().constant?(e.key=this.constant(),e.computed=!1,this.consume(":"),e.value=this.expression()):this.peek().identifier?(e.key=this.identifier(),e.computed=!1,this.peek(":")?(this.consume(":"),e.value=this.expression()):e.value=e.key):this.peek("[")?(this.consume("["),e.key=this.expression(),this.consume("]"),e.computed=!0,this.consume(":"),e.value=this.expression()):this.throwError("invalid key",this.peek()),t.push(e)}while(this.expect(","));return this.consume("}"),{type:yo.ObjectExpression,properties:t}},throwError:function(e,t){throw fo("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 fo("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 fo("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)},selfReferential:{"this":{type:yo.ThisExpression},$locals:{type:yo.LocalsExpression}}},mn.prototype={compile:function(e,t){var n=this,i=this.astBuilder.ast(e);this.state={nextId:0,filters:{},expensiveChecks:t,fn:{vars:[],body:[],own:{}},assign:{vars:[],body:[],own:{}},inputs:[]},ln(i,n.$filter);var o,a="";if(this.stage="assign",o=dn(i)){this.state.computing="assign";var s=this.nextId();this.recurse(o,s),this.return_(s),a="fn.assign="+this.generateFunction("assign","s,v,l")}var u=cn(i.body);n.stage="inputs",r(u,function(e,t){var r="fn"+t;n.state[r]={vars:[],body:[],own:{}},n.state.computing=r;var i=n.nextId();n.recurse(e,i),n.return_(i),n.state.inputs.push(r),e.watchId=t}),this.state.computing="fn",this.stage="main",this.recurse(i);var l='"'+this.USE+" "+this.STRICT+'";\n'+this.filterPrefix()+"var fn="+this.generateFunction("fn","s,l,a,i")+a+this.watchFns()+"return fn;",c=new Function("$filter","ensureSafeMemberName","ensureSafeObject","ensureSafeFunction","getStringValue","ensureSafeAssignContext","ifDefined","plus","text",l)(this.$filter,en,nn,rn,tn,on,an,sn,e);return this.state=this.stage=void 0,c.literal=hn(i),c.constant=pn(i),c},USE:"use",STRICT:"strict",watchFns:function(){var e=[],t=this.state.inputs,n=this;return r(t,function(t){e.push("var "+t+"="+n.generateFunction(t,"s"))}),t.length&&e.push("fn.inputs=["+t.join(",")+"];"),e.join("")},generateFunction:function(e,t){return"function("+t+"){"+this.varsPrefix(e)+this.body(e)+"};"},filterPrefix:function(){var e=[],t=this;return r(this.state.filters,function(n,r){e.push(n+"=$filter("+t.escape(r)+")")}),e.length?"var "+e.join(",")+";":""},varsPrefix:function(e){return this.state[e].vars.length?"var "+this.state[e].vars.join(",")+";":""},body:function(e){return this.state[e].body.join("")},recurse:function(e,t,n,i,o,a){var s,u,l,c,f,d=this;if(i=i||h,!a&&$(e.watchId))return t=t||this.nextId(),void this.if_("i",this.lazyAssign(t,this.computedMember("i",e.watchId)),this.lazyRecurse(e,t,n,i,o,!0));switch(e.type){case yo.Program:r(e.body,function(t,n){d.recurse(t.expression,void 0,void 0,function(e){u=e}),n!==e.body.length-1?d.current().body.push(u,";"):d.return_(u)});break;case yo.Literal:c=this.escape(e.value),this.assign(t,c),i(c);break;case yo.UnaryExpression:this.recurse(e.argument,void 0,void 0,function(e){u=e}),c=e.operator+"("+this.ifDefined(u,0)+")",this.assign(t,c),i(c);break;case yo.BinaryExpression:this.recurse(e.left,void 0,void 0,function(e){s=e}),this.recurse(e.right,void 0,void 0,function(e){u=e}),c="+"===e.operator?this.plus(s,u):"-"===e.operator?this.ifDefined(s,0)+e.operator+this.ifDefined(u,0):"("+s+")"+e.operator+"("+u+")",this.assign(t,c),i(c);break;case yo.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 yo.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 yo.Identifier:t=t||this.nextId(),n&&(n.context="inputs"===d.stage?"s":this.assign(this.nextId(),this.getHasOwnProperty("l",e.name)+"?l:s"),n.computed=!1,n.name=e.name),en(e.name),d.if_("inputs"===d.stage||d.not(d.getHasOwnProperty("l",e.name)),function(){d.if_("inputs"===d.stage||"s",function(){o&&1!==o&&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||vn(e.name))&&d.addEnsureSafeObject(t),i(t);break;case yo.MemberExpression:s=n&&(n.context=this.nextId())||this.nextId(),t=t||this.nextId(),d.recurse(e.object,s,void 0,function(){d.if_(d.notNull(s),function(){o&&1!==o&&d.addEnsureSafeAssignContext(s),e.computed?(u=d.nextId(),d.recurse(e.property,u),d.getStringValue(u),d.addEnsureSafeMemberName(u),o&&1!==o&&d.if_(d.not(d.computedMember(s,u)),d.lazyAssign(d.computedMember(s,u),"{}")),c=d.ensureSafeObject(d.computedMember(s,u)),d.assign(t,c),n&&(n.computed=!0,n.name=u)):(en(e.property.name),o&&1!==o&&d.if_(d.not(d.nonComputedMember(s,e.property.name)),d.lazyAssign(d.nonComputedMember(s,e.property.name),"{}")),c=d.nonComputedMember(s,e.property.name),(d.state.expensiveChecks||vn(e.property.name))&&(c=d.ensureSafeObject(c)),d.assign(t,c),n&&(n.computed=!1,n.name=e.property.name))},function(){d.assign(t,"undefined")}),i(t)},!!o);break;case yo.CallExpression:t=t||this.nextId(),e.filter?(u=d.filter(e.callee.name),l=[],r(e.arguments,function(e){var t=d.nextId();d.recurse(e,t),l.push(t)}),c=u+"("+l.join(",")+")",d.assign(t,c),i(t)):(u=d.nextId(),s={},l=[],d.recurse(e.callee,u,s,function(){d.if_(d.notNull(u),function(){d.addEnsureSafeFunction(u),r(e.arguments,function(e){d.recurse(e,d.nextId(),void 0,function(e){l.push(d.ensureSafeObject(e))})}),s.name?(d.state.expensiveChecks||d.addEnsureSafeObject(s.context),c=d.member(s.context,s.name,s.computed)+"("+l.join(",")+")"):c=u+"("+l.join(",")+")",c=d.ensureSafeObject(c),d.assign(t,c)},function(){d.assign(t,"undefined")}),i(t)}));break;case yo.AssignmentExpression:if(u=this.nextId(),s={},!fn(e.left))throw fo("lval","Trying to assign a value to a non l-value");this.recurse(e.left,void 0,s,function(){d.if_(d.notNull(s.context),function(){d.recurse(e.right,u),d.addEnsureSafeObject(d.member(s.context,s.name,s.computed)),d.addEnsureSafeAssignContext(s.context),c=d.member(s.context,s.name,s.computed)+e.operator+u,d.assign(t,c),i(t||c)})},1);break;case yo.ArrayExpression:l=[],r(e.elements,function(e){d.recurse(e,d.nextId(),void 0,function(e){l.push(e)})}),c="["+l.join(",")+"]",this.assign(t,c),i(c);break;case yo.ObjectExpression:l=[],f=!1,r(e.properties,function(e){e.computed&&(f=!0)}),f?(t=t||this.nextId(),this.assign(t,"{}"),r(e.properties,function(e){e.computed?(s=d.nextId(),d.recurse(e.key,s)):s=e.key.type===yo.Identifier?e.key.name:""+e.key.value,u=d.nextId(),d.recurse(e.value,u),d.assign(d.member(t,s,e.computed),u)})):(r(e.properties,function(t){d.recurse(t.value,e.constant?void 0:d.nextId(),void 0,function(e){l.push(d.escape(t.key.type===yo.Identifier?t.key.name:""+t.key.value)+":"+e)})}),c="{"+l.join(",")+"}",this.assign(t,c)),i(t||c);break;case yo.ThisExpression:this.assign(t,"s"),i("s");break;case yo.LocalsExpression:this.assign(t,"l"),i("l");break;case yo.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){if(e)return this.current().body.push(e,"=",t,";"),e},filter:function(e){return this.state.filters.hasOwnProperty(e)||(this.state.filters[e]=this.nextId(!0)),this.state.filters[e]},ifDefined:function(e,t){return"ifDefined("+e+","+this.escape(t)+")"},plus:function(e,t){return"plus("+e+","+t+")"},return_:function(e){this.current().body.push("return ",e,";")},if_:function(e,t,n){if(e===!0)t();else{var r=this.current().body;r.push("if(",e,"){"),t(),r.push("}"),n&&(r.push("else{"),n(),r.push("}"))}},not:function(e){return"!("+e+")"},notNull:function(e){return e+"!=null"},nonComputedMember:function(e,t){var n=/[$_a-zA-Z][$_a-zA-Z0-9]*/,r=/[^$_a-zA-Z0-9]/g;return n.test(t)?e+"."+t:e+'["'+t.replace(r,this.stringEscapeFn)+'"]'},computedMember:function(e,t){return e+"["+t+"]"},member:function(e,t,n){return n?this.computedMember(e,t):this.nonComputedMember(e,t)},addEnsureSafeObject:function(e){this.current().body.push(this.ensureSafeObject(e),";")},addEnsureSafeMemberName:function(e){this.current().body.push(this.ensureSafeMemberName(e),";")},addEnsureSafeFunction:function(e){this.current().body.push(this.ensureSafeFunction(e),";")},addEnsureSafeAssignContext:function(e){this.current().body.push(this.ensureSafeAssignContext(e),";")},ensureSafeObject:function(e){return"ensureSafeObject("+e+",text)"},ensureSafeMemberName:function(e){return"ensureSafeMemberName("+e+",text)"},ensureSafeFunction:function(e){return"ensureSafeFunction("+e+",text)"},getStringValue:function(e){this.assign(e,"getStringValue("+e+")")},ensureSafeAssignContext:function(e){return"ensureSafeAssignContext("+e+",text)"},lazyRecurse:function(e,t,n,r,i,o){var a=this;return function(){a.recurse(e,t,n,r,i,o)}},lazyAssign:function(e,t){var n=this;return function(){n.assign(e,t)}},stringEscapeRegex:/[^ a-zA-Z0-9]/g,stringEscapeFn:function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)},escape:function(e){if(w(e))return"'"+e.replace(this.stringEscapeRegex,this.stringEscapeFn)+"'";if(x(e))return e.toString();if(e===!0)return"true";if(e===!1)return"false";if(null===e)return"null";if("undefined"==typeof e)return"undefined";throw fo("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]}},gn.prototype={compile:function(e,t){var n=this,i=this.astBuilder.ast(e);this.expression=e,this.expensiveChecks=t,ln(i,n.$filter);var o,a;(o=dn(i))&&(a=this.recurse(o));var s,u=cn(i.body);u&&(s=[],r(u,function(e,t){var r=n.recurse(e);e.input=r,s.push(r),e.watchId=t}));var l=[];r(i.body,function(e){l.push(n.recurse(e.expression))});var c=0===i.body.length?h:1===i.body.length?l[0]:function(e,t){var n;return r(l,function(r){n=r(e,t)}),n};return a&&(c.assign=function(e,t,n){return a(e,n,t)}),s&&(c.inputs=s),c.literal=hn(i),c.constant=pn(i),c},recurse:function(e,t,n){var i,o,a,s=this;if(e.input)return this.inputs(e.input,e.watchId);switch(e.type){case yo.Literal:return this.value(e.value,t);case yo.UnaryExpression:return o=this.recurse(e.argument),this["unary"+e.operator](o,t);case yo.BinaryExpression:return i=this.recurse(e.left),o=this.recurse(e.right),this["binary"+e.operator](i,o,t);case yo.LogicalExpression:return i=this.recurse(e.left),o=this.recurse(e.right),this["binary"+e.operator](i,o,t);case yo.ConditionalExpression:return this["ternary?:"](this.recurse(e.test),this.recurse(e.alternate),this.recurse(e.consequent),t);case yo.Identifier:return en(e.name,s.expression),s.identifier(e.name,s.expensiveChecks||vn(e.name),t,n,s.expression);case yo.MemberExpression:return i=this.recurse(e.object,!1,!!n),e.computed||(en(e.property.name,s.expression),o=e.property.name),e.computed&&(o=this.recurse(e.property)),e.computed?this.computedMember(i,o,t,n,s.expression):this.nonComputedMember(i,o,s.expensiveChecks,t,n,s.expression);case yo.CallExpression:return a=[],r(e.arguments,function(e){a.push(s.recurse(e))}),e.filter&&(o=this.$filter(e.callee.name)),e.filter||(o=this.recurse(e.callee,!0)),e.filter?function(e,n,r,i){for(var s=[],u=0;u":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)>t(r,i,o,a);return n?{value:s}:s}},"binary<=":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)<=t(r,i,o,a);return n?{value:s}:s}},"binary>=":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)>=t(r,i,o,a);return n?{value:s}:s}},"binary&&":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)&&t(r,i,o,a);return n?{value:s}:s}},"binary||":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)||t(r,i,o,a);return n?{value:s}:s}},"ternary?:":function(e,t,n,r){return function(i,o,a,s){var u=e(i,o,a,s)?t(i,o,a,s):n(i,o,a,s);return r?{value:u}:u}},value:function(e,t){return function(){return t?{context:void 0,name:void 0,value:e}:e}},identifier:function(e,t,n,r,i){return function(o,a,s,u){var l=a&&e in a?a:o;r&&1!==r&&l&&!l[e]&&(l[e]={});var c=l?l[e]:void 0;return t&&nn(c,i),n?{context:l,name:e,value:c}:c}},computedMember:function(e,t,n,r,i){return function(o,a,s,u){var l,c,f=e(o,a,s,u);return null!=f&&(l=t(o,a,s,u),l=tn(l),en(l,i),r&&1!==r&&(on(f),f&&!f[l]&&(f[l]={})),c=f[l],nn(c,i)),n?{context:f,name:l,value:c}:c}},nonComputedMember:function(e,t,n,r,i,o){return function(a,s,u,l){var c=e(a,s,u,l);i&&1!==i&&(on(c),c&&!c[t]&&(c[t]={}));var f=null!=c?c[t]:void 0;return(n||vn(t))&&nn(f,o),r?{context:c,name:t,value:f}:f}},inputs:function(e,t){return function(n,r,i,o){return o?o[t]:e(n,r,i)}}};var bo=function(e,t,n){this.lexer=e,this.$filter=t,this.options=n,this.ast=new yo(e,n),this.astCompiler=n.csp?new gn(this.ast,t):new mn(this.ast,t)};bo.prototype={constructor:bo,parse:function(e){return this.astCompiler.compile(e,this.options.expensiveChecks)}};var wo=Object.prototype.valueOf,xo=t("$sce"),ko={HTML:"html",CSS:"css",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},Co=t("$compile"),So=e.document.createElement("a"),_o=In(e.location.href);jn.$inject=["$document"],Rn.$inject=["$provide"];var Eo=22,Do=".",Ao="0";qn.$inject=["$locale"],Yn.$inject=["$locale"];var To={yyyy:Qn("FullYear",4,0,!1,!0),yy:Qn("FullYear",2,0,!0,!0),y:Qn("FullYear",1,0,!1,!0),MMMM:Jn("Month"),MMM:Jn("Month",!0),MM:Qn("Month",2,1),M:Qn("Month",1,1),LLLL:Jn("Month",!1,!0),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:Jn("Day"),EEE:Jn("Day",!0),a:nr,Z:Xn,ww:tr(2),w:tr(1),G:rr,GG:rr,GGG:rr,GGGG:ir},Mo=/((?:[^yMLdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|m+|s+|a|Z|G+|w+))(.*)/,Oo=/^\-?\d+$/;or.$inject=["$locale"];var Fo=m(Fr),Io=m(Ir);lr.$inject=["$parse"];var No=m({restrict:"E",compile:function(e,t){if(!t.href&&!t.xlinkHref)return function(e,t){if("a"===t[0].nodeName.toLowerCase()){var n="[object SVGAnimatedString]"===qr.call(t.prop("href"))?"xlink:href":"href";t.on("click",function(e){t.attr(n)||e.preventDefault()})}}}}),Po={};r(Ei,function(e,t){function n(e,n,i){e.$watch(i[r],function(e){i.$set(t,!!e)})}if("multiple"!=e){var r=gt("ng-"+t),i=n;"checked"===e&&(i=function(e,t,i){i.ngModel!==i[r]&&n(e,t,i)}),Po[r]=function(){return{restrict:"A",priority:100,link:i}}}}),r(Ai,function(e,t){Po[t]=function(){return{priority:100,link:function(e,n,r){if("ngPattern"===t&&"/"==r.ngPattern.charAt(0)){var i=r.ngPattern.match(Tr);if(i)return void r.$set("ngPattern",new RegExp(i[1],i[2]))}e.$watch(r[t],function(e){r.$set(t,e)})}}}}),r(["src","srcset","href"],function(e){var t=gt("ng-"+e);Po[t]=function(){return{priority:99,link:function(n,r,i){var o=e,a=e;"href"===e&&"[object SVGAnimatedString]"===qr.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(jr&&o&&r.prop(o,i[a]))):void("href"===e&&i.$set(a,null))})}}}});var jo={$addControl:h,$$renameControl:fr,$removeControl:h,$setValidity:h,$setDirty:h,$setPristine:h,$setSubmitted:h},Lo="ng-submitted";dr.$inject=["$element","$attrs","$scope","$animate","$interpolate"];var Ro=function(e){return["$timeout","$parse",function(t,n){function r(e){return""===e?n('this[""]').assign:n(e).assign||h}var i={name:"form",restrict:e?"EAC":"E",require:["form","^^?form"],controller:dr,compile:function(n,i){n.addClass(wa).addClass(ya);var o=i.name?"name":!(!e||!i.ngForm)&&"ngForm";return{pre:function(e,n,i,a){var s=a[0];if(!("action"in i)){var u=function(t){e.$apply(function(){s.$commitViewValue(),s.$setSubmitted()}),t.preventDefault()};pi(n[0],"submit",u),n.on("$destroy",function(){t(function(){mi(n[0],"submit",u)},0,!1)})}var c=a[1]||s.$$parentForm;c.$addControl(s);var f=o?r(s.$name):h;o&&(f(e,s),i.$observe(o,function(t){s.$name!==t&&(f(e,void 0),s.$$parentForm.$$renameControl(s,t),(f=r(s.$name))(e,s))})),n.on("$destroy",function(){s.$$parentForm.$removeControl(s),f(e,void 0),l(s,jo)})}}}};return i}]},Uo=Ro(),Vo=Ro(!0),zo=/^\d{4,}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+(?:[+-][0-2]\d:[0-5]\d|Z)$/,Ho=/^[a-z][a-z\d.+-]*:\/*(?:[^:@]+(?::[^@]+)?@)?(?:[^\s:\/?#]+|\[[a-f\d:]+\])(?::\d+)?(?:\/[^?#]*)?(?:\?[^#]*)?(?:#.*)?$/i,qo=/^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+)*@[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*$/,Yo=/^\s*(\-|\+)?(\d+|(\d*(\.\d*)))([eE][+-]?\d+)?\s*$/,Wo=/^(\d{4,})-(\d{2})-(\d{2})$/,Bo=/^(\d{4,})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,Go=/^(\d{4,})-W(\d\d)$/,Zo=/^(\d{4,})-(\d\d)$/,Qo=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,Jo="keydown wheel mousedown",Xo=pe();r("date,datetime-local,month,time,week".split(","),function(e){Xo[e]=!0});var Ko={text:pr,date:$r("date",Wo,vr(Wo,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":$r("datetimelocal",Bo,vr(Bo,["yyyy","MM","dd","HH","mm","ss","sss"]),"yyyy-MM-ddTHH:mm:ss.sss"),time:$r("time",Qo,vr(Qo,["HH","mm","ss","sss"]),"HH:mm:ss.sss"),week:$r("week",Go,gr,"yyyy-Www"),month:$r("month",Zo,vr(Zo,["yyyy","MM"]),"yyyy-MM"),number:br,url:wr,email:xr,radio:kr,checkbox:Sr,hidden:h,button:h,submit:h,reset:h,file:h},ea=["$browser","$sniffer","$filter","$parse",function(e,t,n,r){return{restrict:"E",require:["?ngModel"],link:{pre:function(i,o,a,s){s[0]&&(Ko[Fr(a.type)]||Ko.text)(i,o,a,s[0],t,e,n,r)}}}}],ta=/^(true|false|\d+)$/,na=function(){return{restrict:"A",priority:100,compile:function(e,t){return ta.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)})}}}},ra=["$compile",function(e){return{restrict:"AC",compile:function(t){return e.$$addBindingClass(t),function(t,n,r){e.$$addBindingInfo(n,r.ngBind),n=n[0],t.$watch(r.ngBind,function(e){n.textContent=v(e)?"":e})}}}}],ia=["$interpolate","$compile",function(e,t){return{compile:function(n){return t.$$addBindingClass(n),function(n,r,i){var o=e(r.attr(i.$attr.ngBindTemplate));t.$$addBindingInfo(r,o.expressions),r=r[0],i.$observe("ngBindTemplate",function(e){r.textContent=v(e)?"":e})}}}}],oa=["$sce","$parse","$compile",function(e,t,n){return{restrict:"A",compile:function(r,i){var o=t(i.ngBindHtml),a=t(i.ngBindHtml,function(t){return e.valueOf(t)});return n.$$addBindingClass(r),function(t,r,i){n.$$addBindingInfo(r,i.ngBindHtml),t.$watch(a,function(){var n=o(t);r.html(e.getTrustedHtml(n)||"")})}}}}],aa=m({restrict:"A",require:"ngModel",link:function(e,t,n,r){r.$viewChangeListeners.push(function(){e.$eval(n.ngChange)})}}),sa=_r("",!0),ua=_r("Odd",0),la=_r("Even",1),ca=cr({compile:function(e,t){t.$set("ngCloak",void 0),e.removeClass("ng-cloak")}}),fa=[function(){return{restrict:"A",scope:!0,controller:"@",priority:500}}],da={},ha={blur:!0,focus:!0};r("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),function(e){var t=gt("ng-"+e);da[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})};ha[e]&&r.$$phase?t.$evalAsync(i):t.$apply(i)})}}}}]});var pa=["$animate","$compile",function(e,t){return{multiElement:!0,transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(n,r,i,o,a){var s,u,l;n.$watch(i.ngIf,function(n){n?u||a(function(n,o){u=o,n[n.length++]=t.$$createComment("end ngIf",i.ngIf),s={clone:n},e.enter(n,r.parent(),r)}):(l&&(l.remove(),l=null),u&&(u.$destroy(),u=null),s&&(l=he(s.clone),e.leave(l).then(function(){l=null}),s=null))})}}}],ma=["$templateRequest","$anchorScroll","$animate",function(e,t,n){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:Br.noop,compile:function(r,i){var o=i.ngInclude||i.src,a=i.onload||"",s=i.autoscroll;return function(r,i,u,l,c){var f,d,h,p=0,m=function(){d&&(d.remove(),d=null),f&&(f.$destroy(),f=null),h&&(n.leave(h).then(function(){d=null}),d=h,h=null)};r.$watch(o,function(o){var u=function(){!$(s)||s&&!r.$eval(s)||t()},d=++p;o?(e(o,!0).then(function(e){if(!r.$$destroyed&&d===p){var t=r.$new();l.template=e;var s=c(t,function(e){m(),n.enter(e,null,i).then(u)});f=t,h=s,f.$emit("$includeContentLoaded",o),r.$eval(a)}},function(){r.$$destroyed||d===p&&(m(),r.$emit("$includeContentError",o))}),r.$emit("$includeContentRequested",o)):(m(),l.template=null)})}}}}],ga=["$compile",function(t){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(n,r,i,o){return qr.call(r[0]).match(/SVG/)?(r.empty(),void t(_e(o.template,e.document).childNodes)(n,function(e){r.append(e)},{futureParentElement:r})):(r.html(o.template),void t(r.contents())(n))}}}],va=cr({priority:450,compile:function(){return{pre:function(e,t,n){e.$eval(n.ngInit)}}}}),$a=function(){return{restrict:"A",priority:100,require:"ngModel",link:function(e,t,n,i){var o=t.attr(n.$attr.ngList)||", ",a="false"!==n.ngTrim,s=a?Jr(o):o,u=function(e){if(!v(e)){var t=[];return e&&r(e.split(s),function(e){e&&t.push(a?Jr(e):e)}),t}};i.$parsers.push(u),i.$formatters.push(function(e){if(Zr(e))return e.join(o)}),i.$isEmpty=function(e){return!e||!e.length}}}},ya="ng-valid",ba="ng-invalid",wa="ng-pristine",xa="ng-dirty",ka="ng-untouched",Ca="ng-touched",Sa="ng-pending",_a="ng-empty",Ea="ng-not-empty",Da=t("ngModel"),Aa=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate","$timeout","$rootScope","$q","$interpolate",function(e,t,n,i,o,a,s,u,l,c){this.$viewValue=Number.NaN,this.$modelValue=Number.NaN,this.$$rawModelValue=void 0,this.$validators={},this.$asyncValidators={},this.$parsers=[],this.$formatters=[],this.$viewChangeListeners=[],this.$untouched=!0,this.$touched=!1,this.$pristine=!0,this.$dirty=!1,this.$valid=!0,this.$invalid=!1,this.$error={},this.$$success={},this.$pending=void 0,this.$name=c(n.name||"",!1)(e),this.$$parentForm=jo;var f,d=o(n.ngModel),p=d.assign,m=d,g=p,y=null,b=this;this.$$setOptions=function(e){if(b.$options=e,e&&e.getterSetter){var t=o(n.ngModel+"()"),r=o(n.ngModel+"($$$p)");m=function(e){var n=d(e);return C(n)&&(n=t(e)),n},g=function(e,t){C(d(e))?r(e,{$$$p:t}):p(e,t)}}else if(!d.assign)throw Da("nonassign","Expression '{0}' is non-assignable. Element: {1}",n.ngModel,Q(i))},this.$render=h,this.$isEmpty=function(e){return v(e)||""===e||null===e||e!==e},this.$$updateEmptyClasses=function(e){b.$isEmpty(e)?(a.removeClass(i,Ea),a.addClass(i,_a)):(a.removeClass(i,_a),a.addClass(i,Ea))};var w=0;Er({ctrl:this,$element:i,set:function(e,t){e[t]=!0; },unset:function(e,t){delete e[t]},$animate:a}),this.$setPristine=function(){b.$dirty=!1,b.$pristine=!0,a.removeClass(i,xa),a.addClass(i,wa)},this.$setDirty=function(){b.$dirty=!0,b.$pristine=!1,a.removeClass(i,wa),a.addClass(i,xa),b.$$parentForm.$setDirty()},this.$setUntouched=function(){b.$touched=!1,b.$untouched=!0,a.setClass(i,ka,Ca)},this.$setTouched=function(){b.$touched=!0,b.$untouched=!1,a.setClass(i,Ca,ka)},this.$rollbackViewValue=function(){s.cancel(y),b.$viewValue=b.$$lastCommittedViewValue,b.$render()},this.$validate=function(){if(!x(b.$modelValue)||!isNaN(b.$modelValue)){var e=b.$$lastCommittedViewValue,t=b.$$rawModelValue,n=b.$valid,r=b.$modelValue,i=b.$options&&b.$options.allowInvalid;b.$$runValidators(t,e,function(e){i||n===e||(b.$modelValue=e?t:void 0,b.$modelValue!==r&&b.$$writeModelToScope())})}},this.$$runValidators=function(e,t,n){function i(){var e=b.$$parserName||"parse";return v(f)?(s(e,null),!0):(f||(r(b.$validators,function(e,t){s(t,null)}),r(b.$asyncValidators,function(e,t){s(t,null)})),s(e,f),f)}function o(){var n=!0;return r(b.$validators,function(r,i){var o=r(e,t);n=n&&o,s(i,o)}),!!n||(r(b.$asyncValidators,function(e,t){s(t,null)}),!1)}function a(){var n=[],i=!0;r(b.$asyncValidators,function(r,o){var a=r(e,t);if(!O(a))throw Da("nopromise","Expected asynchronous validator to return a promise but got '{0}' instead.",a);s(o,void 0),n.push(a.then(function(){s(o,!0)},function(){i=!1,s(o,!1)}))}),n.length?l.all(n).then(function(){u(i)},h):u(!0)}function s(e,t){c===w&&b.$setValidity(e,t)}function u(e){c===w&&n(e)}w++;var c=w;return i()&&o()?void a():void u(!1)},this.$commitViewValue=function(){var e=b.$viewValue;s.cancel(y),(b.$$lastCommittedViewValue!==e||""===e&&b.$$hasNativeValidators)&&(b.$$updateEmptyClasses(e),b.$$lastCommittedViewValue=e,b.$pristine&&this.$setDirty(),this.$$parseAndValidate())},this.$$parseAndValidate=function(){function t(){b.$modelValue!==o&&b.$$writeModelToScope()}var n=b.$$lastCommittedViewValue,r=n;if(f=!v(r)||void 0)for(var i=0;i=0;t--){var r=k.items[t];He($(r.group)?r.element.parentNode:r.element)}k=C.getOptions();var i={};if(w&&n.prepend(h),k.items.forEach(function(e){var t;$(e.group)?(t=i[e.group],t||(t=l.cloneNode(!1),S.appendChild(t),t.label=null===e.group?"null":e.group,i[e.group]=t),c(e,t)):c(e,S)}),n[0].appendChild(S),m.$render(),!m.$isEmpty(e)){var o=p.readValue(),a=C.trackBy||g;(a?U(e,o):e===o)||(m.$setViewValue(o),m.$render())}}for(var h,p=s[0],m=s[1],g=o.multiple,v=0,y=n.children(),b=y.length;v0&&(e=new RegExp("^"+e+"$")),e&&!e.test)throw t("ngPattern")("noregexp","Expected {0} to be a RegExp but was {1}. Element: {2}",a,e,Q(n));o=e||void 0,i.$validate()}),i.$validators.pattern=function(e,t){return i.$isEmpty(t)||v(o)||o.test(t)}}}}},rs=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i=-1;n.$observe("maxlength",function(e){var t=f(e);i=isNaN(t)?-1:t,r.$validate()}),r.$validators.maxlength=function(e,t){return i<0||r.$isEmpty(t)||t.length<=i}}}}},is=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i=0;n.$observe("minlength",function(e){i=f(e)||0,r.$validate()}),r.$validators.minlength=function(e,t){return r.$isEmpty(t)||t.length>=i}}}}};return e.angular.bootstrap?void(e.console&&console.log("WARNING: Tried to load angular more than once.")):(ue(),ye(Br),Br.module("ngLocale",[],["$provide",function(e){function t(e){e+="";var t=e.indexOf(".");return t==-1?0:e.length-t-1}function n(e,n){var r=n;void 0===r&&(r=Math.min(t(e),3));var i=Math.pow(10,r),o=(e*i|0)%i;return{v:r,f:o}}var r={ZERO:"zero",ONE:"one",TWO:"two",FEW:"few",MANY:"many",OTHER:"other"};e.value("$locale",{DATETIME_FORMATS:{AMPMS:["AM","PM"],DAY:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],ERANAMES:["Before Christ","Anno Domini"],ERAS:["BC","AD"],FIRSTDAYOFWEEK:6,MONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],SHORTDAY:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],SHORTMONTH:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],STANDALONEMONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],WEEKENDRANGE:[5,6],fullDate:"EEEE, MMMM d, y",longDate:"MMMM d, y",medium:"MMM d, y h:mm:ss a",mediumDate:"MMM d, y",mediumTime:"h:mm:ss a","short":"M/d/yy h:mm a",shortDate:"M/d/yy",shortTime:"h:mm a"},NUMBER_FORMATS:{CURRENCY_SYM:"$",DECIMAL_SEP:".",GROUP_SEP:",",PATTERNS:[{gSize:3,lgSize:3,maxFrac:3,minFrac:0,minInt:1,negPre:"-",negSuf:"",posPre:"",posSuf:""},{gSize:3,lgSize:3,maxFrac:2,minFrac:2,minInt:1,negPre:"-¤",negSuf:"",posPre:"¤",posSuf:""}]},id:"en-us",localeID:"en_US",pluralCat:function(e,t){var i=0|e,o=n(e,t);return 1==i&&0==o.v?r.ONE:r.OTHER}})}]),void Lr(e.document).ready(function(){re(e.document,ie)}))}(window),!window.angular.$$csp().noInlineStyle&&window.angular.element(document.head).prepend('')},{}],9:[function(e,t,n){e("./angular"),t.exports=angular},{"./angular":8}],10:[function(e,t,n){(function(){var e,n,r,i,o,a,s,u,l=[].slice,c={}.hasOwnProperty,f=function(e,t){function n(){this.constructor=e}for(var r in t)c.call(t,r)&&(e[r]=t[r]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e};s=function(){},n=function(){function e(){}return e.prototype.addEventListener=e.prototype.on,e.prototype.on=function(e,t){return this._callbacks=this._callbacks||{},this._callbacks[e]||(this._callbacks[e]=[]),this._callbacks[e].push(t),this},e.prototype.emit=function(){var e,t,n,r,i,o;if(r=arguments[0],e=2<=arguments.length?l.call(arguments,1):[],this._callbacks=this._callbacks||{},n=this._callbacks[r])for(i=0,o=n.length;i
    '),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;o'+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;s\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;o'+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;i',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;n0){for(a=["TB","GB","MB","KB","b"],n=s=0,u=a.length;s=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;n0){for(o=0,a=n.length;o1024*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;n=t)&&(r=this.getQueuedFiles(),r.length>0)){if(this.options.uploadMultiple)return this.processFiles(r.slice(0,t-n));for(;e=j;c=0<=j?++M:--M)o.append(this._getParamName(c),e[c],this._renameFilename(e[c].name));return this.submitRequest(x,o,e)},t.prototype.submitRequest=function(e,t,n){return e.send(t)},t.prototype._finished=function(e,n,r){var i,o,a;for(o=0,a=e.length;oc;)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){if("readystatechange"!==n.type||"complete"===r.readyState)return("load"===n.type?e:r)[u](s+n.type,o,!1),!i&&(i=!0)?t.call(e,n.type||n):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(){if(e.autoDiscover)return e.discover()},i(window,e._autoDiscoverFunction)}).call(this)},{}],11:[function(e,t,n){(function(e){(function(){function e(e){this.tokens=[],this.tokens.links={},this.options=e||f.defaults,this.rules=d.normal,this.options.gfm&&(this.options.tables?this.rules=d.tables:this.rules=d.gfm)}function r(e,t){if(this.options=t||f.defaults,this.links=e,this.rules=h.normal,this.renderer=this.options.renderer||new i,this.renderer.options=this.options,!this.links)throw new Error("Tokens array requires a `links` property.");this.options.gfm?this.options.breaks?this.rules=h.breaks:this.rules=h.gfm:this.options.pedantic&&(this.rules=h.pedantic)}function i(e){this.options=e||{}}function o(e){this.tokens=[],this.token=null,this.options=e||f.defaults,this.options.renderer=this.options.renderer||new i,this.renderer=this.options.renderer,this.renderer.options=this.options}function a(e,t){return e.replace(t?/&/g:/&(?!#?\w+;)/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function s(e){return e.replace(/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\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;c1&&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;i.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 vr)r=vr[n],i=t[r],g(i)||(e[r]=i);return e}function $(e){v(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),$r===!1&&($r=!0,n.updateOffset(this),$r=!1)}function y(e){return e instanceof $||null!=e&&null!=e._isAMomentObject}function b(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function w(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=b(t)),n}function x(e,t,n){var r,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(r=0;r0?"future":"past"];return _(n)?n(t):n.replace(/%s/i,t)}function P(e,t){var n=e.toLowerCase();Dr[n]=Dr[n+"s"]=Dr[t]=e}function j(e){return"string"==typeof e?Dr[e]||Dr[e.toLowerCase()]:void 0}function L(e){var t,n,r={};for(n in e)l(e,n)&&(t=j(n),t&&(r[t]=e[n]));return r}function R(e,t){Ar[e]=t}function U(e){var t=[];for(var n in e)t.push({unit:n,priority:Ar[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}function V(e,t){return function(r){return null!=r?(H(this,e,r),n.updateOffset(this,t),this):z(this,e)}}function z(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function H(e,t,n){e.isValid()&&e._d["set"+(e._isUTC?"UTC":"")+t](n)}function q(e){return e=j(e),_(this[e])?this[e]():this}function Y(e,t){if("object"==typeof e){e=L(e);for(var n=U(e),r=0;r=0;return(o?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}function B(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(Fr[e]=i),t&&(Fr[t[0]]=function(){return W(i.apply(this,arguments),t[1],t[2])}),n&&(Fr[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function G(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function Z(e){var t,n,r=e.match(Tr);for(t=0,n=r.length;t=0&&Mr.test(e);)e=e.replace(Mr,n),Mr.lastIndex=0,r-=1;return e}function X(e,t,n){Jr[e]=_(t)?t:function(e,r){return e&&n?n:t}}function K(e,t){return l(Jr,e)?Jr[e](t._strict,t._locale):new RegExp(ee(e))}function ee(e){return te(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i}))}function te(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function ne(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),"number"==typeof t&&(r=function(e,n){n[t]=w(e)}),n=0;n=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}function be(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function we(e,t,n){var r=7+t-n,i=(7+be(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 l<=0?(o=e-1,a=ge(o)+l):l>ge(e)?(o=e+1,a=l-ge(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 a<1?(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(ge(e)-r+i)/7}function Se(e){return ke(e,this._week.dow,this._week.doy).week}function _e(){return this._week.dow}function Ee(){return this._week.doy}function De(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Ae(e){var t=ke(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Te(e,t){return"string"!=typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"==typeof e?e:null):parseInt(e,10)}function Me(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Oe(e,t){return i(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]}function Fe(e){return this._weekdaysShort[e.day()]}function Ie(e){return this._weekdaysMin[e.day()]}function Ne(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=f([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?(i=wr.call(this._weekdaysParse,a),i!==-1?i:null):"ddd"===t?(i=wr.call(this._shortWeekdaysParse,a),i!==-1?i:null):(i=wr.call(this._minWeekdaysParse,a),i!==-1?i:null):"dddd"===t?(i=wr.call(this._weekdaysParse,a),i!==-1?i:(i=wr.call(this._shortWeekdaysParse,a),i!==-1?i:(i=wr.call(this._minWeekdaysParse,a),i!==-1?i:null))):"ddd"===t?(i=wr.call(this._shortWeekdaysParse,a),i!==-1?i:(i=wr.call(this._weekdaysParse,a),i!==-1?i:(i=wr.call(this._minWeekdaysParse,a),i!==-1?i:null))):(i=wr.call(this._minWeekdaysParse,a),i!==-1?i:(i=wr.call(this._weekdaysParse,a),i!==-1?i:(i=wr.call(this._shortWeekdaysParse,a),i!==-1?i:null)))}function Pe(e,t,n){var r,i,o;if(this._weekdaysParseExact)return Ne.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=f([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 je(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Te(e,this.localeData()),this.add(e-t,"d")):t}function Le(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 Re(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Me(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Ue(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||He.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(l(this,"_weekdaysRegex")||(this._weekdaysRegex=$i),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Ve(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||He.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(l(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=yi),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function ze(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||He.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(l(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=bi),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function He(){function e(e,t){return t.length-e.length}var t,n,r,i,o,a=[],s=[],u=[],l=[];for(t=0;t<7;t++)n=f([2e3,1]).day(t),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),o=this.weekdays(n,""),a.push(r),s.push(i),u.push(o),l.push(r),l.push(i),l.push(o);for(a.sort(e),s.sort(e),u.sort(e),l.sort(e),t=0;t<7;t++)s[t]=te(s[t]),u[t]=te(u[t]),l[t]=te(l[t]);this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function qe(){return this.hours()%12||12}function Ye(){return this.hours()||24}function We(e,t){B(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function Be(e,t){return t._meridiemParse}function Ge(e){return"p"===(e+"").toLowerCase().charAt(0)}function Ze(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}function Qe(e){return e?e.toLowerCase().replace("_","-"):e}function Je(e){for(var t,n,r,i,o=0;o0;){if(r=Xe(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&x(i,n,!0)>=t-1)break;t--}o++}return null}function Xe(n){var r=null;if(!Si[n]&&"undefined"!=typeof t&&t&&t.exports)try{r=wi._abbr,e("./locale/"+n),Ke(r)}catch(i){}return Si[n]}function Ke(e,t){var n;return e&&(n=g(t)?nt(e):et(e,t),n&&(wi=n)),wi._abbr}function et(e,t){if(null!==t){var n=Ci;return t.abbr=e,null!=Si[e]?(S("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=Si[e]._config):null!=t.parentLocale&&(null!=Si[t.parentLocale]?n=Si[t.parentLocale]._config:S("parentLocaleUndefined","specified parentLocale is not defined yet. See http://momentjs.com/guides/#/warnings/parent-locale/")),Si[e]=new A(D(n,t)),Ke(e),Si[e]}return delete Si[e],null}function tt(e,t){if(null!=t){var n,r=Ci;null!=Si[e]&&(r=Si[e]._config),t=D(r,t),n=new A(t),n.parentLocale=Si[e],Si[e]=n,Ke(e)}else null!=Si[e]&&(null!=Si[e].parentLocale?Si[e]=Si[e].parentLocale:null!=Si[e]&&delete Si[e]);return Si[e]}function nt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return wi;if(!i(e)){if(t=Xe(e))return t;e=[e]}return Je(e)}function rt(){return br(Si)}function it(e){var t,n=e._a;return n&&h(e).overflow===-2&&(t=n[ei]<0||n[ei]>11?ei:n[ti]<1||n[ti]>oe(n[Kr],n[ei])?ti:n[ni]<0||n[ni]>24||24===n[ni]&&(0!==n[ri]||0!==n[ii]||0!==n[oi])?ni:n[ri]<0||n[ri]>59?ri:n[ii]<0||n[ii]>59?ii:n[oi]<0||n[oi]>999?oi:-1,h(e)._overflowDayOfYear&&(tti)&&(t=ti),h(e)._overflowWeeks&&t===-1&&(t=ai),h(e)._overflowWeekday&&t===-1&&(t=si),h(e).overflow=t),e}function ot(e){var t,n,r,i,o,a,s=e._i,u=_i.exec(s)||Ei.exec(s);if(u){for(h(e).iso=!0,t=0,n=Ai.length;tge(i)&&(h(e)._overflowDayOfYear=!0),n=be(i,0,e._dayOfYear),e._a[ei]=n.getUTCMonth(),e._a[ti]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=o[t]=r[t];for(;t<7;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[ni]&&0===e._a[ri]&&0===e._a[ii]&&0===e._a[oi]&&(e._nextDay=!0,e._a[ni]=0),e._d=(e._useUTC?be:ye).apply(null,o),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[ni]=24)}}function ct(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=st(t.GG,e._a[Kr],ke(yt(),1,4).year),r=st(t.W,1),i=st(t.E,1),(i<1||i>7)&&(u=!0)):(o=e._locale._week.dow,a=e._locale._week.doy,n=st(t.gg,e._a[Kr],ke(yt(),o,a).year),r=st(t.w,1),null!=t.d?(i=t.d,(i<0||i>6)&&(u=!0)):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(u=!0)):i=o),r<1||r>Ce(n,o,a)?h(e)._overflowWeeks=!0:null!=u?h(e)._overflowWeekday=!0:(s=xe(n,r,i,o,a),e._a[Kr]=s.year,e._dayOfYear=s.dayOfYear)}function ft(e){if(e._f===n.ISO_8601)return void ot(e);e._a=[],h(e).empty=!0;var t,r,i,o,a,s=""+e._i,u=s.length,l=0;for(i=J(e._f,e._locale).match(Tr)||[],t=0;t0&&h(e).unusedInput.push(a),s=s.slice(s.indexOf(r)+r.length),l+=r.length),Fr[o]?(r?h(e).empty=!1:h(e).unusedTokens.push(o),ie(o,r,e)):e._strict&&!r&&h(e).unusedTokens.push(o);h(e).charsLeftOver=u-l,s.length>0&&h(e).unusedInput.push(s),e._a[ni]<=12&&h(e).bigHour===!0&&e._a[ni]>0&&(h(e).bigHour=void 0),h(e).parsedDateParts=e._a.slice(0),h(e).meridiem=e._meridiem,e._a[ni]=dt(e._locale,e._a[ni],e._meridiem),lt(e),it(e)}function dt(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(r=e.isPM(n),r&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function ht(e){var t,n,r,i,o;if(0===e._f.length)return h(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;ithis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Pt(){if(!g(this._isDSTShifted))return this._isDSTShifted;var e={};if(v(e,this),e=gt(e),e._a){var t=e._isUTC?f(e._a):yt(e._a);this._isDSTShifted=this.isValid()&&x(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function jt(){return!!this.isValid()&&!this._isUTC}function Lt(){return!!this.isValid()&&this._isUTC}function Rt(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function Ut(e,t){var n,r,i,o=e,a=null;return Ct(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:"number"==typeof e?(o={},t?o[t]=e:o.milliseconds=e):(a=Pi.exec(e))?(n="-"===a[1]?-1:1,o={y:0,d:w(a[ti])*n,h:w(a[ni])*n,m:w(a[ri])*n,s:w(a[ii])*n,ms:w(a[oi])*n}):(a=ji.exec(e))?(n="-"===a[1]?-1:1,o={y:Vt(a[2],n),M:Vt(a[3],n),w:Vt(a[4],n),d:Vt(a[5],n),h:Vt(a[6],n),m:Vt(a[7],n),s:Vt(a[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(i=Ht(yt(o.from),yt(o.to)),o={},o.ms=i.milliseconds,o.M=i.months),r=new kt(o),Ct(e)&&l(e,"_locale")&&(r._locale=e._locale),r}function Vt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function zt(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 Ht(e,t){var n;return e.isValid()&&t.isValid()?(t=Et(t,e),e.isBefore(t)?n=zt(e,t):(n=zt(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function qt(e){return e<0?Math.round(-1*e)*-1:Math.round(e)}function Yt(e,t){return function(n,r){var i,o;return null===r||isNaN(+r)||(S(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),n="string"==typeof n?+n:n,i=Ut(n,r),Wt(this,i,e),this}}function Wt(e,t,r,i){var o=t._milliseconds,a=qt(t._days),s=qt(t._months);e.isValid()&&(i=null==i||i,o&&e._d.setTime(e._d.valueOf()+o*r),a&&H(e,"Date",z(e,"Date")+a*r),s&&ce(e,z(e,"Month")+s*r),i&&n.updateOffset(e,a||s))}function Bt(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Gt(e,t){var r=e||yt(),i=Et(r,this).startOf("day"),o=n.calendarFormat(this,i)||"sameElse",a=t&&(_(t[o])?t[o].call(this,r):t[o]);return this.format(a||this.localeData().calendar(o,this,yt(r)))}function Zt(){return new $(this)}function Qt(e,t){var n=y(e)?e:yt(e);return!(!this.isValid()||!n.isValid())&&(t=j(g(t)?"millisecond":t),"millisecond"===t?this.valueOf()>n.valueOf():n.valueOf()o&&(t=o),On.call(this,e,t,n,r,i))}function On(e,t,n,r,i){var o=xe(e,t,n,r,i),a=be(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function Fn(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function In(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 Nn(e,t){t[oi]=w(1e3*("0."+e))}function Pn(){return this._isUTC?"UTC":""}function jn(){return this._isUTC?"Coordinated Universal Time":""}function Ln(e){return yt(1e3*e)}function Rn(){return yt.apply(null,arguments).parseZone()}function Un(e){return e}function Vn(e,t,n,r){var i=nt(),o=f().set(r,t);return i[n](o,e)}function zn(e,t,n){if("number"==typeof e&&(t=e,e=void 0),e=e||"",null!=t)return Vn(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=Vn(e,r,n,"month");return i}function Hn(e,t,n,r){"boolean"==typeof e?("number"==typeof t&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,"number"==typeof t&&(n=t,t=void 0),t=t||"");var i=nt(),o=e?i._week.dow:0;if(null!=n)return Vn(t,(n+o)%7,r,"day");var a,s=[];for(a=0;a<7;a++)s[a]=Vn(t,(a+o)%7,r,"day");return s}function qn(e,t){return zn(e,t,"months")}function Yn(e,t){return zn(e,t,"monthsShort")}function Wn(e,t,n){return Hn(e,t,n,"weekdays")}function Bn(e,t,n){return Hn(e,t,n,"weekdaysShort")}function Gn(e,t,n){return Hn(e,t,n,"weekdaysMin")}function Zn(){var e=this._data;return this._milliseconds=Zi(this._milliseconds),this._days=Zi(this._days),this._months=Zi(this._months),e.milliseconds=Zi(e.milliseconds),e.seconds=Zi(e.seconds),e.minutes=Zi(e.minutes),e.hours=Zi(e.hours),e.months=Zi(e.months),e.years=Zi(e.years),this}function Qn(e,t,n,r){var i=Ut(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function Jn(e,t){return Qn(this,e,t,1)}function Xn(e,t){return Qn(this,e,t,-1)}function Kn(e){return e<0?Math.floor(e):Math.ceil(e)}function er(){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||o<=0&&a<=0&&s<=0||(o+=864e5*Kn(nr(s)+a),a=0,s=0),u.milliseconds=o%1e3,e=b(o/1e3),u.seconds=e%60,t=b(e/60),u.minutes=t%60,n=b(t/60),u.hours=n%24,a+=b(n/24),i=b(tr(a)),s+=i,a-=Kn(nr(i)),r=b(s/12),s%=12,u.days=a,u.months=s,u.years=r,this}function tr(e){return 4800*e/146097}function nr(e){return 146097*e/4800}function rr(e){var t,n,r=this._milliseconds;if(e=j(e),"month"===e||"year"===e)return t=this._days+r/864e5,n=this._months+tr(t),"month"===e?n:n/12;switch(t=this._days+Math.round(nr(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 ir(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*w(this._months/12)}function or(e){return function(){return this.as(e)}}function ar(e){return e=j(e),this[e+"s"]()}function sr(e){return function(){return this._data[e]}}function ur(){return b(this.days()/7)}function lr(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function cr(e,t,n){var r=Ut(e).abs(),i=fo(r.as("s")),o=fo(r.as("m")),a=fo(r.as("h")),s=fo(r.as("d")),u=fo(r.as("M")),l=fo(r.as("y")),c=i0,c[4]=n,lr.apply(null,c)}function fr(e){return void 0===e?fo:"function"==typeof e&&(fo=e,!0)}function dr(e,t){return void 0!==ho[e]&&(void 0===t?ho[e]:(ho[e]=t,!0))}function hr(e){var t=this.localeData(),n=cr(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function pr(){var e,t,n,r=po(this._milliseconds)/1e3,i=po(this._days),o=po(this._months);e=b(r/60),t=b(e/60),r%=60,e%=60,n=b(o/12),o%=12;var a=n,s=o,u=i,l=t,c=e,f=r,d=this.asSeconds();return d?(d<0?"-":"")+"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 mr,gr;gr=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;r68?1900:2e3)};var hi=V("FullYear",!0);B("w",["ww",2],"wo","week"),B("W",["WW",2],"Wo","isoWeek"),P("week","w"),P("isoWeek","W"),R("week",5),R("isoWeek",5),X("w",Rr),X("ww",Rr,Nr),X("W",Rr),X("WW",Rr,Nr),re(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=w(e)});var pi={dow:0,doy:6};B("d",0,"do","day"),B("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),B("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),B("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),B("e",0,0,"weekday"),B("E",0,0,"isoWeekday"),P("day","d"),P("weekday","e"),P("isoWeekday","E"),R("day",11),R("weekday",11),R("isoWeekday",11),X("d",Rr),X("e",Rr),X("E",Rr),X("dd",function(e,t){return t.weekdaysMinRegex(e)}),X("ddd",function(e,t){return t.weekdaysShortRegex(e)}),X("dddd",function(e,t){return t.weekdaysRegex(e)}),re(["dd","ddd","dddd"],function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:h(n).invalidWeekday=e}),re(["d","e","E"],function(e,t,n,r){t[r]=w(e)});var mi="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),gi="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),vi="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),$i=Qr,yi=Qr,bi=Qr;B("H",["HH",2],0,"hour"),B("h",["hh",2],0,qe),B("k",["kk",2],0,Ye),B("hmm",0,0,function(){return""+qe.apply(this)+W(this.minutes(),2)}),B("hmmss",0,0,function(){return""+qe.apply(this)+W(this.minutes(),2)+W(this.seconds(),2)}),B("Hmm",0,0,function(){return""+this.hours()+W(this.minutes(),2)}),B("Hmmss",0,0,function(){return""+this.hours()+W(this.minutes(),2)+W(this.seconds(),2)}),We("a",!0),We("A",!1),P("hour","h"),R("hour",13),X("a",Be),X("A",Be),X("H",Rr),X("h",Rr),X("HH",Rr,Nr),X("hh",Rr,Nr),X("hmm",Ur),X("hmmss",Vr),X("Hmm",Ur),X("Hmmss",Vr),ne(["H","HH"],ni),ne(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ne(["h","hh"],function(e,t,n){t[ni]=w(e),h(n).bigHour=!0}),ne("hmm",function(e,t,n){var r=e.length-2;t[ni]=w(e.substr(0,r)),t[ri]=w(e.substr(r)),h(n).bigHour=!0}),ne("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[ni]=w(e.substr(0,r)),t[ri]=w(e.substr(r,2)),t[ii]=w(e.substr(i)),h(n).bigHour=!0}),ne("Hmm",function(e,t,n){var r=e.length-2;t[ni]=w(e.substr(0,r)),t[ri]=w(e.substr(r))}),ne("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[ni]=w(e.substr(0,r)),t[ri]=w(e.substr(r,2)),t[ii]=w(e.substr(i))});var wi,xi=/[ap]\.?m?\.?/i,ki=V("Hours",!0),Ci={calendar:xr,longDateFormat:kr,invalidDate:Cr,ordinal:Sr,ordinalParse:_r,relativeTime:Er,months:li,monthsShort:ci,week:pi,weekdays:mi,weekdaysMin:vi,weekdaysShort:gi,meridiemParse:xi},Si={},_i=/^\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)?)?/,Ei=/^\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)?)?/,Di=/Z|[+-]\d\d(?::?\d\d)?/,Ai=[["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}/]],Ti=[["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/]],Mi=/^\/?Date\((\-?\d+)/i;n.createFromInputFallback=C("moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),n.ISO_8601=function(){};var Oi=C("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=yt.apply(null,arguments);return this.isValid()&&e.isValid()?ethis?this:e:m()}),Ii=function(){return Date.now?Date.now():+new Date};St("Z",":"),St("ZZ",""),X("Z",Gr),X("ZZ",Gr),ne(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=_t(Gr,e)});var Ni=/([\+\-]|\d\d)/gi;n.updateOffset=function(){};var Pi=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?\d*)?$/,ji=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;Ut.fn=kt.prototype;var Li=Yt(1,"add"),Ri=Yt(-1,"subtract");n.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",n.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Ui=C("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)});B(0,["gg",2],0,function(){return this.weekYear()%100}),B(0,["GG",2],0,function(){return this.isoWeekYear()%100}),_n("gggg","weekYear"),_n("ggggg","weekYear"),_n("GGGG","isoWeekYear"),_n("GGGGG","isoWeekYear"),P("weekYear","gg"),P("isoWeekYear","GG"),R("weekYear",1),R("isoWeekYear",1),X("G",Wr),X("g",Wr),X("GG",Rr,Nr),X("gg",Rr,Nr),X("GGGG",Hr,jr),X("gggg",Hr,jr),X("GGGGG",qr,Lr),X("ggggg",qr,Lr),re(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=w(e)}),re(["gg","GG"],function(e,t,r,i){t[i]=n.parseTwoDigitYear(e)}),B("Q",0,"Qo","quarter"),P("quarter","Q"),R("quarter",7),X("Q",Ir),ne("Q",function(e,t){t[ei]=3*(w(e)-1)}),B("D",["DD",2],"Do","date"),P("date","D"),R("date",9),X("D",Rr),X("DD",Rr,Nr),X("Do",function(e,t){return e?t._ordinalParse:t._ordinalParseLenient}),ne(["D","DD"],ti),ne("Do",function(e,t){t[ti]=w(e.match(Rr)[0],10)});var Vi=V("Date",!0);B("DDD",["DDDD",3],"DDDo","dayOfYear"),P("dayOfYear","DDD"),R("dayOfYear",4),X("DDD",zr),X("DDDD",Pr),ne(["DDD","DDDD"],function(e,t,n){n._dayOfYear=w(e)}),B("m",["mm",2],0,"minute"),P("minute","m"),R("minute",14),X("m",Rr),X("mm",Rr,Nr),ne(["m","mm"],ri);var zi=V("Minutes",!1);B("s",["ss",2],0,"second"),P("second","s"),R("second",15),X("s",Rr),X("ss",Rr,Nr),ne(["s","ss"],ii);var Hi=V("Seconds",!1);B("S",0,0,function(){return~~(this.millisecond()/100)}),B(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),B(0,["SSS",3],0,"millisecond"),B(0,["SSSS",4],0,function(){return 10*this.millisecond()}),B(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),B(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),B(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),B(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),B(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),P("millisecond","ms"),R("millisecond",16),X("S",zr,Ir),X("SS",zr,Nr),X("SSS",zr,Pr);var qi;for(qi="SSSS";qi.length<=9;qi+="S")X(qi,Yr);for(qi="S";qi.length<=9;qi+="S")ne(qi,Nn);var Yi=V("Milliseconds",!1);B("z",0,0,"zoneAbbr"),B("zz",0,0,"zoneName");var Wi=$.prototype;Wi.add=Li,Wi.calendar=Gt,Wi.clone=Zt,Wi.diff=nn,Wi.endOf=mn,Wi.format=sn,Wi.from=un,Wi.fromNow=ln,Wi.to=cn,Wi.toNow=fn,Wi.get=q,Wi.invalidAt=Cn,Wi.isAfter=Qt,Wi.isBefore=Jt,Wi.isBetween=Xt,Wi.isSame=Kt,Wi.isSameOrAfter=en,Wi.isSameOrBefore=tn,Wi.isValid=xn,Wi.lang=Ui,Wi.locale=dn,Wi.localeData=hn,Wi.max=Fi,Wi.min=Oi,Wi.parsingFlags=kn,Wi.set=Y,Wi.startOf=pn,Wi.subtract=Ri,Wi.toArray=yn,Wi.toObject=bn,Wi.toDate=$n,Wi.toISOString=an,Wi.toJSON=wn,Wi.toString=on,Wi.unix=vn,Wi.valueOf=gn,Wi.creationData=Sn,Wi.year=hi,Wi.isLeapYear=$e,Wi.weekYear=En,Wi.isoWeekYear=Dn,Wi.quarter=Wi.quarters=Fn,Wi.month=fe,Wi.daysInMonth=de,Wi.week=Wi.weeks=De,Wi.isoWeek=Wi.isoWeeks=Ae,Wi.weeksInYear=Tn,Wi.isoWeeksInYear=An,Wi.date=Vi,Wi.day=Wi.days=je,Wi.weekday=Le,Wi.isoWeekday=Re,Wi.dayOfYear=In,Wi.hour=Wi.hours=ki,Wi.minute=Wi.minutes=zi,Wi.second=Wi.seconds=Hi,Wi.millisecond=Wi.milliseconds=Yi,Wi.utcOffset=At,Wi.utc=Mt,Wi.local=Ot,Wi.parseZone=Ft,Wi.hasAlignedHourOffset=It,Wi.isDST=Nt,Wi.isLocal=jt,Wi.isUtcOffset=Lt,Wi.isUtc=Rt,Wi.isUTC=Rt,Wi.zoneAbbr=Pn,Wi.zoneName=jn,Wi.dates=C("dates accessor is deprecated. Use date instead.",Vi),Wi.months=C("months accessor is deprecated. Use month instead",fe),Wi.years=C("years accessor is deprecated. Use year instead",hi),Wi.zone=C("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Tt),Wi.isDSTShifted=C("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Pt);var Bi=Wi,Gi=A.prototype;Gi.calendar=T,Gi.longDateFormat=M,Gi.invalidDate=O,Gi.ordinal=F,Gi.preparse=Un,Gi.postformat=Un,Gi.relativeTime=I,Gi.pastFuture=N,Gi.set=E,Gi.months=ae,Gi.monthsShort=se,Gi.monthsParse=le,Gi.monthsRegex=pe,Gi.monthsShortRegex=he,Gi.week=Se,Gi.firstDayOfYear=Ee,Gi.firstDayOfWeek=_e,Gi.weekdays=Oe,Gi.weekdaysMin=Ie,Gi.weekdaysShort=Fe,Gi.weekdaysParse=Pe,Gi.weekdaysRegex=Ue,Gi.weekdaysShortRegex=Ve,Gi.weekdaysMinRegex=ze,Gi.isPM=Ge,Gi.meridiem=Ze,Ke("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===w(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),n.lang=C("moment.lang is deprecated. Use moment.locale instead.",Ke),n.langData=C("moment.langData is deprecated. Use moment.localeData instead.",nt);var Zi=Math.abs,Qi=or("ms"),Ji=or("s"),Xi=or("m"),Ki=or("h"),eo=or("d"),to=or("w"),no=or("M"),ro=or("y"),io=sr("milliseconds"),oo=sr("seconds"),ao=sr("minutes"),so=sr("hours"),uo=sr("days"),lo=sr("months"),co=sr("years"),fo=Math.round,ho={s:45,m:45,h:22,d:26,M:11},po=Math.abs,mo=kt.prototype;mo.abs=Zn,mo.add=Jn,mo.subtract=Xn,mo.as=rr,mo.asMilliseconds=Qi,mo.asSeconds=Ji,mo.asMinutes=Xi,mo.asHours=Ki,mo.asDays=eo,mo.asWeeks=to,mo.asMonths=no,mo.asYears=ro,mo.valueOf=ir,mo._bubble=er,mo.get=ar,mo.milliseconds=io,mo.seconds=oo,mo.minutes=ao,mo.hours=so,mo.days=uo,mo.weeks=ur,mo.months=lo,mo.years=co,mo.humanize=hr,mo.toISOString=pr,mo.toString=pr,mo.toJSON=pr,mo.locale=dn,mo.localeData=hn,mo.toIsoString=C("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",pr),mo.lang=Ui,B("X",0,0,"unix"),B("x",0,0,"valueOf"),X("x",Wr),X("X",Zr),ne("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),ne("x",function(e,t,n){n._d=new Date(w(e))}),n.version="2.14.1",r(yt),n.fn=Bi,n.min=wt,n.max=xt,n.now=Ii,n.utc=f,n.unix=Ln,n.months=qn,n.isDate=s,n.locale=Ke,n.invalid=m,n.duration=Ut,n.isMoment=y,n.weekdays=Wn,n.parseZone=Rn,n.localeData=nt,n.isDuration=Ct,n.monthsShort=Yn,n.weekdaysMin=Gn,n.defineLocale=et,n.updateLocale=tt,n.locales=rt,n.weekdaysShort=Bn,n.normalizeUnits=j,n.relativeTimeRounding=fr,n.relativeTimeThreshold=dr,n.calendarFormat=Bt,n.prototype=Bi;var go=n;return go})},{}],13:[function(e,t,n){!function(e,n){"use strict";var r,i,o,a=e,s=a.document,u=a.navigator,l=a.setTimeout,c=a.clearTimeout,f=a.setInterval,d=a.clearInterval,h=a.getComputedStyle,p=a.encodeURIComponent,m=a.ActiveXObject,g=a.Error,v=a.Number.parseInt||a.parseInt,$=a.Number.parseFloat||a.parseFloat,y=a.Number.isNaN||a.isNaN,b=a.Date.now,w=a.Object.keys,x=a.Object.defineProperty,k=a.Object.prototype.hasOwnProperty,C=a.Array.prototype.slice,S=function(){var e=function(e){return e};if("function"==typeof a.wrap&&"function"==typeof a.unwrap)try{var t=s.createElement("div"),n=a.unwrap(t);1===t.nodeType&&n&&1===n.nodeType&&(e=a.unwrap)}catch(r){}return e}(),_=function(e){return C.call(e,0)},E=function(){var e,t,r,i,o,a,s=_(arguments),u=s[0]||{};for(e=1,t=s.length;e=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"),Ae(),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,X.activeClass),i!==e&&Le(i,X.hoverClass)),i=e,je(e,X.hoverClass);var t=e.getAttribute("title")||X.title;if("string"==typeof t&&t){var n=Ee(U.bridge);n&&n.setAttribute("title",t)}var r=X.forceHandCursor===!0||"pointer"===Re(e,"cursor");qe(r),He()}},de=function(){var e=Ee(U.bridge);e&&(e.removeAttribute("title"),e.style.left="0px",e.style.top="-9999px",e.style.width="1px",e.style.height="1px"),i&&(Le(i,X.hoverClass),Le(i,X.activeClass),i=null)},he=function(){return i||null},pe=function(e){return"string"==typeof e&&e&&/^[A-Za-z][A-Za-z0-9_:\-\.]*$/.test(e)},me=function(e){var t;if("string"==typeof e&&e?(t=e,e={}):"object"==typeof e&&e&&"string"==typeof e.type&&e.type&&(t=e.type),t){t=t.toLowerCase(),!e.target&&(/^(copy|aftercopy|_click)$/.test(t)||"error"===t&&"clipboard-error"===e.name)&&(e.target=o),E(e,{type:t,target:e.target||i||null,relatedTarget:e.relatedTarget||null,currentTarget:U&&U.bridge||null,timeStamp:e.timeStamp||b()||null});var n=B[e.type];return"error"===e.type&&e.name&&n&&(n=n[e.name]),n&&(e.message=n),"ready"===e.type&&E(e,{target:null,version:U.version}),"error"===e.type&&(Q.test(e.name)&&E(e,{target:null,minimumVersion:V}),J.test(e.name)&&E(e,{version:U.version})),"copy"===e.type&&(e.clipboardData={setData:Ge.setData,clearData:Ge.clearData}),"aftercopy"===e.type&&(e=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;o0){var t=D(e);E(t,{type:"error",name:"clipboard-error"}),delete t.success,l(function(){Ge.emit(t)},0)}},Ce=function(e){if(e&&"string"==typeof e.type&&e){var t,n=e.target||null,r=n&&n.ownerDocument||s,i={view:r.defaultView||a,canBubble:!0,cancelable:!0,detail:"click"===e.type?1:0,button:"number"==typeof e.which?e.which-1:"number"==typeof e.button?e.button:r.createEvent?0:1},o=E(i,e);n&&r.createEvent&&n.dispatchEvent&&(o=[o.type,o.canBubble,o.cancelable,o.view,o.detail,o.screenX,o.screenY,o.clientX,o.clientY,o.ctrlKey,o.altKey,o.shiftKey,o.metaKey,o.button,o.relatedTarget],t=r.createEvent("MouseEvents"),t.initMouseEvent&&(t.initMouseEvent.apply(t,o),t._source="js",n.dispatchEvent(t)))}},Se=function(){var e=X.flashLoadTimeout;if("number"==typeof e&&e>=0){var t=Math.min(1e3,e/10),n=X.swfObjectId+"_fallbackContent";W=f(function(){var e=s.getElementById(n);Ve(e)&&(ze(),U.deactivated=null,Ge.emit({type:"error",name:"swf-not-found"}))},t)}},_e=function(){var e=s.createElement("div");return e.id=X.containerId,e.className=X.containerClass,e.style.position="absolute",e.style.left="0px",e.style.top="-9999px",e.style.width="1px",e.style.height="1px",e.style.zIndex=""+Ye(X.zIndex),e},Ee=function(e){for(var t=e&&e.parentNode;t&&"OBJECT"===t.nodeName&&t.parentNode;)t=t.parentNode;return t||null},De=function(){var e,t=U.bridge,n=Ee(t);if(!t){var r=Ne(a.location.host,X),i="never"===r?"none":"all",o=Fe(E({jsVersion:Ge.version},X)),u=X.swfPath+Oe(X.swfPath,X);n=_e();var l=s.createElement("div");n.appendChild(l),s.body.appendChild(n);var c=s.createElement("div"),f="activex"===U.pluginType;c.innerHTML='"+(f?'':"")+'
     
    ',t=c.firstChild,c=null,S(t).ZeroClipboard=Ge,n.replaceChild(t,l),Se()}return t||(t=s[X.swfObjectId],t&&(e=t.length)&&(t=t[e-1]),!t&&n&&(t=n.firstChild)),U.bridge=t||null,t},Ae=function(){var e=U.bridge;if(e){var t=Ee(e);t&&("activex"===U.pluginType&&"readyState"in e?(e.style.display="none",function i(){if(4===e.readyState){for(var n in e)"function"==typeof e[n]&&(e[n]=null);e.parentNode&&e.parentNode.removeChild(e),t.parentNode&&t.parentNode.removeChild(t)}else l(i,10)}()):(e.parentNode&&e.parentNode.removeChild(e),t.parentNode&&t.parentNode.removeChild(t))),ze(),U.ready=null,U.bridge=null,U.deactivated=null,r=n}},Te=function(e){var t={},n={};if("object"==typeof e&&e){for(var r in e)if(r&&k.call(e,r)&&"string"==typeof e[r]&&e[r])switch(r.toLowerCase()){case"text/plain":case"text":case"air:text":case"flash:text":t.text=e[r],n.text=r;break;case"text/html":case"html":case"air:html":case"flash:html":t.html=e[r],n.html=r;break;case"application/rtf":case"text/rtf":case"rtf":case"richtext":case"air:rtf":case"flash:rtf":t.rtf=e[r],n.rtf=r}return{data:t,formatMap:n}}},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;i0){if(1===o&&"*"===i[0])return"always";if(i.indexOf(t)!==-1)return 1===o&&t===r?"sameDomain":"always"}return"never"}}(),Pe=function(){try{return s.activeElement}catch(e){return null}},je=function(e,t){var n,r,i,o=[];if("string"==typeof t&&t&&(o=t.split(/\s+/)),e&&1===e.nodeType&&o.length>0)if(e.classList)for(n=0,r=o.length;n0)if(e.classList&&e.classList.length>0)for(n=0,r=o.length;n0,r=$(t.width)>0,i=$(t.top)>=0,o=$(t.left)>=0,a=n&&r&&i&&o,s=a?null:Ue(e),u="none"!==t.display&&"collapse"!==t.visibility&&(a||!!s&&(n||s.height>0)&&(r||s.width>0)&&(i||s.top>=0)&&(o||s.left>=0));return u},ze=function(){c(Y),Y=0,d(W),W=0},He=function(){var e;if(i&&(e=Ee(U.bridge))){var t=Ue(i);E(e.style,{width:t.width+"px",height:t.height+"px",top:t.top+"px",left:t.left+"px",zIndex:""+Ye(X.zIndex)})}},qe=function(e){U.ready===!0&&(U.bridge&&"function"==typeof U.bridge.setHandCursor?U.bridge.setHandCursor(e):U.ready=!1)},Ye=function(e){if(/^(?:auto|inherit)$/.test(e))return e;var t;return"number"!=typeof e||y(e)?"string"==typeof e&&(t=Ye(v(e,10))):t=e,"number"==typeof t?t:"auto"},We=function(t){var n,r,i,o=U.sandboxed,a=null;if(t=t===!0,R===!1)a=!1;else{try{r=e.frameElement||null}catch(s){i={name:s.name,message:s.message}}if(r&&1===r.nodeType&&"IFRAME"===r.nodeName)try{a=r.hasAttribute("sandbox")}catch(s){a=null}else{try{n=document.domain||null}catch(s){n=null}(null===n||i&&"SecurityError"===i.name&&/(^|[\s\(\[@])sandbox(es|ed|ing|[\s\.,!\)\]@]|$)/.test(i.message.toLowerCase()))&&(a=!0)}}return U.sandboxed=a,o===a||t||Be(m),a},Be=function(e){function t(e){var t=e.match(/[\d]+/g);return t.length=3,t.join(".")}function n(e){return!!e&&(e=e.toLowerCase())&&(/^(pepflashplayer\.dll|libpepflashplayer\.so|pepperflashplayer\.plugin)$/.test(e)||"chrome.plugin"===e.slice(-13))}function r(e){e&&(s=!0,e.version&&(f=t(e.version)),!f&&e.description&&(f=t(e.description)),e.filename&&(c=n(e.filename)))}var i,o,a,s=!1,l=!1,c=!1,f="";if(u.plugins&&u.plugins.length)i=u.plugins["Shockwave Flash"],r(i),u.plugins["Shockwave Flash 2.0"]&&(s=!0,f="2.0.0.11");else if(u.mimeTypes&&u.mimeTypes.length)a=u.mimeTypes["application/x-shockwave-flash"],i=a&&a.enabledPlugin,r(i);else if("undefined"!=typeof e){l=!0;try{o=new e("ShockwaveFlash.ShockwaveFlash.7"),s=!0,f=t(o.GetVariable("$version"))}catch(d){try{o=new e("ShockwaveFlash.ShockwaveFlash.6"),s=!0,f="6.0.21"}catch(h){try{o=new e("ShockwaveFlash.ShockwaveFlash"),s=!0,f=t(o.GetVariable("$version"))}catch(p){l=!1}}}}U.disabled=s!==!0,U.outdated=f&&$(f)<$(V),U.version=f||"0.0.0",U.pluginType=c?"pepper":l?"activex":s?"netscape":"unknown"};Be(m),We(!0);var Ge=function(){return this instanceof Ge?void("function"==typeof Ge._createClient&&Ge._createClient.apply(this,_(arguments))):new Ge};x(Ge,"version",{value:"2.2.0",writable:!1,configurable:!0,enumerable:!0}),Ge.config=function(){return K.apply(this,_(arguments))},Ge.state=function(){return ee.apply(this,_(arguments))},Ge.isFlashUnusable=function(){return te.apply(this,_(arguments))},Ge.on=function(){return ne.apply(this,_(arguments))},Ge.off=function(){return re.apply(this,_(arguments))},Ge.handlers=function(){return ie.apply(this,_(arguments))},Ge.emit=function(){return oe.apply(this,_(arguments))},Ge.create=function(){return ae.apply(this,_(arguments))},Ge.destroy=function(){return se.apply(this,_(arguments))},Ge.setData=function(){return ue.apply(this,_(arguments))},Ge.clearData=function(){return le.apply(this,_(arguments))},Ge.getData=function(){return ce.apply(this,_(arguments))},Ge.focus=Ge.activate=function(){return fe.apply(this,_(arguments))},Ge.blur=Ge.deactivate=function(){return de.apply(this,_(arguments))},Ge.activeElement=function(){return he.apply(this,_(arguments))};var Ze=0,Qe={},Je=0,Xe={},Ke={};E(X,{autoActivate:!0});var et=function(e){var t=this;t.id=""+Ze++,Qe[t.id]={instance:t,elements:[],handlers:{}},e&&t.clip(e),Ge.on("*",function(e){return t.emit(e)}),Ge.on("destroy",function(){t.destroy()}),Ge.create()},tt=function(e,t){var i,o,a,s={},u=Qe[this.id],l=u&&u.handlers;if(!u)throw new Error("Attempted to add new listener(s) to a destroyed ZeroClipboard client instance");if("string"==typeof e&&e)a=e.toLowerCase().split(/\s+/);else if("object"==typeof e&&e&&"undefined"==typeof t)for(i in e)k.call(e,i)&&"string"==typeof i&&i&&"function"==typeof e[i]&&this.on(i,e[i]);if(a&&a.length){for(i=0,o=a.length;i0,i=!e.target||r&&n.indexOf(e.target)!==-1,o=e.relatedTarget&&r&&n.indexOf(e.relatedTarget)!==-1,a=e.client&&e.client===this;return!(!t||!(i||o||a))},ct=function(e){var t=Qe[this.id];if("object"==typeof e&&e&&e.type&&t){var n=$e(e),r=t&&t.handlers["*"]||[],i=t&&t.handlers[e.type]||[],o=r.concat(i);if(o&&o.length){var s,u,l,c,f,d=this;for(s=0,u=o.length;s\n Image Preview\n
    \n \n
    \n\n \n |\n \n\n \n
    '},{}],16:[function(e,t,n){t.exports='
    \n \n
    \n
    '},{}],17:[function(e,t,n){"use strict";var r=e("moment");t.exports=function(t,n){t.controller("ImageManagerController",["$scope","$attrs","$http","$timeout","imageManagerService",function(e,t,r,i,o){function a(){e.searching=!1,e.searchTerm="",e.images=m,e.hasMore=g}function s(t){p&&p(t),e.hide()}function u(t){p=t,e.showing=!0,$("#image-manager").find(".overlay").css("display","flex").hide().fadeIn(240),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 window.baseUrl("/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;i tr",containment:"parent",axis:"y"},e.addEmptyTag=i,o(),e.tagChange=function(t){var n=e.tags.indexOf(t);n===e.tags.length-1&&(""===t.name&&""===t.value||i())},e.tagBlur=function(t){var n=e.tags.length-1===e.tags.indexOf(t);if(""===t.name&&""===t.value&&!n){var r=e.tags.indexOf(t);e.tags.splice(r,1)}},e.saveTags=function(){a();var r={tags:e.tags},o=window.baseUrl("/ajax/tags/update/page/"+s);t.post(o,r).then(function(t){e.tags=t.data.tags,i(),n.emit("success",t.data.message)})},e.removeTag=function(t){var n=e.tags.indexOf(t);e.tags.splice(n,1)}}])}},{"./pages/page-form":20,moment:12}],18:[function(e,t,n){"use strict";var r=e("dropzone"),i=e("marked"),o=e("./components/toggle-switch.html"),a=e("./components/image-picker.html"),s=e("./components/drop-zone.html");t.exports=function(e,t){e.directive("toggleSwitch",function(){return{restrict:"A",template:o,scope:!0,link:function(e,t,n){e.name=n.name,e.value=n.value,e.isActive=1==e.value&&"false"!=e.value,e.value=1==e.value&&"false"!=e.value?"true":"false",e["switch"]=function(){e.isActive=!e.isActive,e.value=e.isActive?"true":"false"}}}}),e.directive("imagePicker",["$http","imageManagerService",function(e,t){return{restrict:"E",template:a,scope:{name:"@",resizeHeight:"@",resizeWidth:"@",resizeCrop:"@",showRemove:"=",currentImage:"@",currentId:"@",defaultImage:"@",imageClass:"@"},link:function(n,r,i){function o(e,t){n.image=t,n.value=a?e.id:t}var a="undefined"!=typeof n.currentId||"false"===n.currentId;n.image=n.currentImage,n.value=n.currentImage||"",a&&(n.value=n.currentId),n.reset=function(){o({id:0},n.defaultImage)},n.remove=function(){n.image="none",n.value="none"},n.showImageManager=function(){t.show(function(e){n.updateImageFromModel(e)})},n.updateImageFromModel=function(t){var r=n.resizeWidth&&n.resizeHeight;if(!r)return void n.$apply(function(){o(t,t.url)});var i=n.resizeCrop?"true":"false",a="/images/thumb/"+t.id+"/"+n.resizeWidth+"/"+n.resizeHeight+"/"+i;a=window.baseUrl(a),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");var e=r.find("input"),n=e.length>0;n&&(e.first().focus(),t.on("keypress","input",function(e){if(13===e.keyCode)return e.preventDefault(),r.hide(),r.removeClass("anim menuIn"),!1})),t.mouseleave(function(){r.hide(),r.removeClass("anim menuIn")})})}}}]),e.directive("tinymce",["$timeout",function(e){return{restrict:"A",scope:{tinymce:"=",mceModel:"=",mceChange:"="},link:function(t,n,r){function i(n){n.on("ExecCommand change NodeChange ObjectResized",function(r){var i=n.getContent();e(function(){t.mceModel=i}),t.mceChange(i)}),n.on("keydown",function(e){t.$emit("editor-keydown",e)}),n.on("init",function(e){t.mceModel=n.getContent()}),t.$on("html-update",function(e,r){n.setContent(r),n.selection.select(n.getBody(),!0),n.selection.collapse(!1),t.mceModel=n.getContent()})}t.tinymce.extraSetups.push(i),tinymce.PluginManager.add("customhr",function(e){e.addCommand("InsertHorizontalRule",function(){var t=document.createElement("hr"),n=e.selection.getNode(),r=n.parentNode;r.insertBefore(t,n)}),e.addButton("hr",{icon:"hr",tooltip:"Horizontal line",cmd:"InsertHorizontalRule"}),e.addMenuItem("hr",{icon:"hr",text:"Horizontal line",cmd:"InsertHorizontalRule",context:"insert"})}),tinymce.init(t.tinymce)}}}]),e.directive("markdownInput",["$timeout",function(e){return{restrict:"A",scope:{mdModel:"=",mdChange:"="},link:function(t,n,r){n=n.find("textarea").first();var o=n.val();t.mdModel=o,t.mdChange(i(o)),n.on("change input",function(r){o=n.val(),e(function(){t.mdModel=o,t.mdChange(i(o))})}),t.$on("markdown-update",function(e,r){n.val(r),t.mdModel=r,t.mdChange(i(r))})}}}]),e.directive("markdownEditor",["$timeout",function(e){return{restrict:"A",link:function(e,t,n){function r(){h=u[0].scrollHeight,p=u.height(),m=l[0].scrollHeight,g=l.height()}function i(){window.showEntityLinkSelector(function(e){var t=d,n=u[0].selectionEnd,r=n!==t,i=u.val();if(r){var o=i.substring(t,n),a="["+o+"]("+e.link+")";u.val(i.substring(0,t)+a+i.substring(n))}else{var s=" ["+e.name+"]("+e.link+") ";u.val(i.substring(0,t)+s+i.substring(t))}u.change()})}function o(e){if(e=e.originalEvent,e.clipboardData){var t=e.clipboardData.items;if(t)for(var n=0;na?"!["+c+"]":"![]")+("("+f+")");u[0].value=l.substring(0,a)+d+l.substring(s),u.focus(),u[0].selectionStart=a,u[0].selectionEnd=a;var h="image-"+Date.now()+"."+n;t.append("file",e,h),t.append("_token",document.querySelector('meta[name="token"]').getAttribute("content")),r.open("POST",window.baseUrl("/images/gallery/upload")),r.onload=function(){var e=u[0].selectionStart;if(200===r.status||201===r.status){var t=JSON.parse(r.responseText);u[0].value=u[0].value.replace(f,t.thumbs.display),u.change()}else console.log("An error occurred uploading the image"),console.log(r.responseText),u[0].value=u[0].value.replace(d,""),u.change();u.focus(),u[0].selectionStart=e,u[0].selectionEnd=e},r.send(t)}}var u=t.find("[markdown-input] textarea").first(),l=t.find(".markdown-display").first(),c=t.find('button[data-action="insertImage"]'),f=t.find('button[data-action="insertEntityLink"]'),d=0;u.blur(function(e){d=u[0].selectionStart});var h=void 0,p=void 0,m=void 0,g=void 0;setTimeout(function(){r()},200),window.addEventListener("resize",r);var v=800,$=0;u.on("scroll",function(e){ -var t=Date.now();t-$>v&&r();var n=u.scrollTop()/(h-p),i=(m-g)*n;l.scrollTop(i),$=t}),u.keydown(function(t){if(73===t.which&&t.ctrlKey&&t.shiftKey){t.preventDefault();var n=u[0].selectionStart,r=u.val(),o="![](http://)";return u.val(r.substring(0,n)+o+r.substring(n)),u.focus(),u[0].selectionStart=n+"![](".length,void(u[0].selectionEnd=n+"![](http://".length)}return 75===t.which&&t.ctrlKey&&t.shiftKey?void i():void e.$emit("editor-keydown",t)}),c.click(function(e){window.ImageManager.showExternal(function(e){var t=d,n=u.val(),r="!["+e.name+"]("+e.thumbs.display+")";u.val(n.substring(0,t)+r+n.substring(t)),u.change()})}),f.click(i),u.on("paste",o),u.on("drop",a)}}}]),e.directive("toolbox",[function(){return{restrict:"A",link:function(e,t,n){function r(e,n){i.removeClass("active"),o.hide(),i.filter('[tab-button="'+e+'"]').addClass("active"),o.filter('[tab-content="'+e+'"]').show(),n&&t.addClass("open")}var i=t.find("[tab-button]"),o=t.find("[tab-content]"),a=t.find("[toolbox-toggle]");a.click(function(e){t.toggleClass("open")}),r(o.first().attr("tab-content"),!1),i.click(function(e){var t=$(this).attr("tab-button");r(t,!0)})}}}]),e.directive("tagAutosuggestions",["$http",function(e){return{restrict:"A",link:function(t,n,r){function i(e,t){t[h].className="",h=e,t[h].className="active"}function o(e,t){if(0===t.length)return c.hide(),f=!1,void(m=t);if(f||(c.show(),f=!0),e!==d&&(c.detach(),e.after(c),d=e),m.join()===t.join())return void(m=t);c[0].innerHTML="";for(var n=0;n=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(){var e=document.documentElement.scrollTop||document.body.scrollTop||0;!i&&e>a?(o.style.display="block",i=!0,setTimeout(function(){o.style.opacity=.4},1)):i&&e0||navigator.userAgent.indexOf("Safari")!==-1)&&$("body").addClass("flexbox-support")}),e("./pages/page-show")},{"./controllers":17,"./directives":18,"./pages/page-show":21,"./services":22,angular:9,"angular-animate":2,"angular-resource":4,"angular-sanitize":6,"angular-ui-sortable":7}],20:[function(e,t,n){"use strict";function r(e,t){if(e.clipboardData){var n=e.clipboardData.items;if(n)for(var r=function(e){if(n[e].type.indexOf("image")===-1)return{v:void 0};var r=n[e].getAsFile(),i=new FormData,o="png",a=new XMLHttpRequest;if(r.name){var s=r.name.match(/\.(.+)$/);s&&(o=s[1])}var u="image-"+Math.random().toString(16).slice(2),l=window.baseUrl("/loading.gif");t.execCommand("mceInsertContent",!1,'');var c="image-"+Date.now()+"."+o;i.append("file",r,c),i.append("_token",document.querySelector('meta[name="token"]').getAttribute("content")),a.open("POST",window.baseUrl("/images/gallery/upload")),a.onload=function(){if(200===a.status||201===a.status){var e=JSON.parse(a.responseText);t.dom.setAttrib(u,"src",e.thumbs.display)}else console.log("An error occurred uploading the image",a.responseText),t.dom.remove(u)},a.send(i)},i=0;i';i+=''+t.name+'',i+="
    ",r.tinyMCE.activeEditor.execCommand("mceInsertContent",!1,i)})},paste_preprocess:function(e,t){var n=t.content;n.indexOf('';n+=''+t.name+'',n+="",e.execCommand("mceInsertContent",!1,n)})}}),e.on("paste",function(t){r(t,e)})}}},{}],21:[function(e,t,n){"use strict";var r=e("zeroclipboard");r.config({swfPath:window.baseUrl("/ZeroClipboard.swf")}),window.setupPageShow=t.exports=function(e){function t(e){var t=$(".page-content #"+e).first();0!==t.length?(t.smoothScrollTo(),t.css("background-color","rgba(244, 249, 54, 0.25)")):$(".page-content").find(':contains("'+e+'")').smoothScrollTo()}function n(){d.width(h.width()+15),d.addClass("fixed"),g=!0}function i(){d.css("width","auto"),d.removeClass("fixed"),g=!1}function o(e){var t=f.scrollTop()>m;!t||g&&!e?t||!g&&!e||i():n()}function a(){o(!1)}var s=$("#pointer").detach(),u=s.children("div.pointer").first(),l=!1;if(s.on("click","input",function(e){$(this).select(),e.stopPropagation()}),new r(s.find("button").first()[0]),$(document.body).find("*").on("click focus",function(e){l||s.detach()}),$('.page-content [id^="bkmrk"]').on("mouseup keyup",function(t){t.stopPropagation();var n=window.getSelection();if(0!==n.toString().length){var r=$(this),i=window.baseUrl("/link/"+e+"#"+r.attr("id"));0!==i.indexOf("http")&&(i=window.location.protocol+"//"+window.location.host+i),s.find("input").val(i),s.find("button").first().attr("data-clipboard-text",i),r.before(s),s.show();var o=t.pageX-r.offset().left-u.width()/2;o<0&&(o=0);var a=o/r.width()*100;u.css("left",a+"%"),l=!0,setTimeout(function(){l=!1},100)}}),window.location.hash){var c=window.location.hash.replace(/\%20/g," ").substr(1);t(c)}var f=$(window),d=$(".book-tree"),h=d.parent(),p=$(document).height()>f.height()&&d.height()<$(".page-content").height(),m=$("#header").height()+$(".toolbar").height(),g=f.scrollTop()>m;p&&f.width()>1e3&&(f.on("scroll",a),o(!0)),f.on("resize",function(e){p&&f.width()>1e3?(f.on("scroll",a),o(!0)):(f.off("scroll",a),i())})}},{zeroclipboard:13}],22:[function(e,t,n){"use strict";t.exports=function(e,t){e.factory("imageManagerService",function(){return{show:!1,showExternal:!1}})}},{}]},{},[19]); \ No newline at end of file +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;i.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 vr)r=vr[n],i=t[r],g(i)||(e[r]=i);return e}function $(e){v(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),$r===!1&&($r=!0,n.updateOffset(this),$r=!1)}function y(e){return e instanceof $||null!=e&&null!=e._isAMomentObject}function b(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function w(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=b(t)),n}function x(e,t,n){var r,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(r=0;r0?"future":"past"];return _(n)?n(t):n.replace(/%s/i,t)}function P(e,t){var n=e.toLowerCase();Dr[n]=Dr[n+"s"]=Dr[t]=e}function j(e){return"string"==typeof e?Dr[e]||Dr[e.toLowerCase()]:void 0}function L(e){var t,n,r={};for(n in e)l(e,n)&&(t=j(n),t&&(r[t]=e[n]));return r}function R(e,t){Ar[e]=t}function U(e){var t=[];for(var n in e)t.push({unit:n,priority:Ar[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}function V(e,t){return function(r){return null!=r?(H(this,e,r),n.updateOffset(this,t),this):z(this,e)}}function z(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function H(e,t,n){e.isValid()&&e._d["set"+(e._isUTC?"UTC":"")+t](n)}function q(e){return e=j(e),_(this[e])?this[e]():this}function Y(e,t){if("object"==typeof e){e=L(e);for(var n=U(e),r=0;r=0;return(o?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}function B(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(Fr[e]=i),t&&(Fr[t[0]]=function(){return W(i.apply(this,arguments),t[1],t[2])}),n&&(Fr[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function G(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function Z(e){var t,n,r=e.match(Tr);for(t=0,n=r.length;t=0&&Mr.test(e);)e=e.replace(Mr,n),Mr.lastIndex=0,r-=1;return e}function X(e,t,n){Jr[e]=_(t)?t:function(e,r){return e&&n?n:t}}function K(e,t){return l(Jr,e)?Jr[e](t._strict,t._locale):new RegExp(ee(e))}function ee(e){return te(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i}))}function te(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function ne(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),"number"==typeof t&&(r=function(e,n){n[t]=w(e)}),n=0;n=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}function be(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function we(e,t,n){var r=7+t-n,i=(7+be(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 l<=0?(o=e-1,a=ge(o)+l):l>ge(e)?(o=e+1,a=l-ge(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 a<1?(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(ge(e)-r+i)/7}function Se(e){return ke(e,this._week.dow,this._week.doy).week}function _e(){return this._week.dow}function Ee(){return this._week.doy}function De(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Ae(e){var t=ke(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Te(e,t){return"string"!=typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"==typeof e?e:null):parseInt(e,10)}function Me(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Oe(e,t){return e?i(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:this._weekdays}function Fe(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Ie(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Ne(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=f([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?(i=wr.call(this._weekdaysParse,a),i!==-1?i:null):"ddd"===t?(i=wr.call(this._shortWeekdaysParse,a),i!==-1?i:null):(i=wr.call(this._minWeekdaysParse,a),i!==-1?i:null):"dddd"===t?(i=wr.call(this._weekdaysParse,a),i!==-1?i:(i=wr.call(this._shortWeekdaysParse,a),i!==-1?i:(i=wr.call(this._minWeekdaysParse,a),i!==-1?i:null))):"ddd"===t?(i=wr.call(this._shortWeekdaysParse,a),i!==-1?i:(i=wr.call(this._weekdaysParse,a),i!==-1?i:(i=wr.call(this._minWeekdaysParse,a),i!==-1?i:null))):(i=wr.call(this._minWeekdaysParse,a),i!==-1?i:(i=wr.call(this._weekdaysParse,a),i!==-1?i:(i=wr.call(this._shortWeekdaysParse,a),i!==-1?i:null)))}function Pe(e,t,n){var r,i,o;if(this._weekdaysParseExact)return Ne.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=f([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 je(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Te(e,this.localeData()),this.add(e-t,"d")):t}function Le(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 Re(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Me(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Ue(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||He.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(l(this,"_weekdaysRegex")||(this._weekdaysRegex=$i),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Ve(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||He.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(l(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=yi),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function ze(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||He.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(l(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=bi),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function He(){function e(e,t){return t.length-e.length}var t,n,r,i,o,a=[],s=[],u=[],l=[];for(t=0;t<7;t++)n=f([2e3,1]).day(t),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),o=this.weekdays(n,""),a.push(r),s.push(i),u.push(o),l.push(r),l.push(i),l.push(o);for(a.sort(e),s.sort(e),u.sort(e),l.sort(e),t=0;t<7;t++)s[t]=te(s[t]),u[t]=te(u[t]),l[t]=te(l[t]);this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function qe(){return this.hours()%12||12}function Ye(){return this.hours()||24}function We(e,t){B(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function Be(e,t){return t._meridiemParse}function Ge(e){return"p"===(e+"").toLowerCase().charAt(0)}function Ze(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}function Qe(e){return e?e.toLowerCase().replace("_","-"):e}function Je(e){for(var t,n,r,i,o=0;o0;){if(r=Xe(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&x(i,n,!0)>=t-1)break;t--}o++}return null}function Xe(n){var r=null;if(!Si[n]&&"undefined"!=typeof t&&t&&t.exports)try{r=wi._abbr,e("./locale/"+n),Ke(r)}catch(i){}return Si[n]}function Ke(e,t){var n;return e&&(n=g(t)?nt(e):et(e,t),n&&(wi=n)),wi._abbr}function et(e,t){if(null!==t){var n=Ci;return t.abbr=e,null!=Si[e]?(S("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=Si[e]._config):null!=t.parentLocale&&(null!=Si[t.parentLocale]?n=Si[t.parentLocale]._config:S("parentLocaleUndefined","specified parentLocale is not defined yet. See http://momentjs.com/guides/#/warnings/parent-locale/")),Si[e]=new A(D(n,t)),Ke(e),Si[e]}return delete Si[e],null}function tt(e,t){if(null!=t){var n,r=Ci;null!=Si[e]&&(r=Si[e]._config),t=D(r,t),n=new A(t),n.parentLocale=Si[e],Si[e]=n,Ke(e)}else null!=Si[e]&&(null!=Si[e].parentLocale?Si[e]=Si[e].parentLocale:null!=Si[e]&&delete Si[e]);return Si[e]}function nt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return wi;if(!i(e)){if(t=Xe(e))return t;e=[e]}return Je(e)}function rt(){return br(Si)}function it(e){var t,n=e._a;return n&&h(e).overflow===-2&&(t=n[ei]<0||n[ei]>11?ei:n[ti]<1||n[ti]>oe(n[Kr],n[ei])?ti:n[ni]<0||n[ni]>24||24===n[ni]&&(0!==n[ri]||0!==n[ii]||0!==n[oi])?ni:n[ri]<0||n[ri]>59?ri:n[ii]<0||n[ii]>59?ii:n[oi]<0||n[oi]>999?oi:-1,h(e)._overflowDayOfYear&&(tti)&&(t=ti),h(e)._overflowWeeks&&t===-1&&(t=ai),h(e)._overflowWeekday&&t===-1&&(t=si),h(e).overflow=t),e}function ot(e){var t,n,r,i,o,a,s=e._i,u=_i.exec(s)||Ei.exec(s);if(u){for(h(e).iso=!0,t=0,n=Ai.length;tge(i)&&(h(e)._overflowDayOfYear=!0),n=be(i,0,e._dayOfYear),e._a[ei]=n.getUTCMonth(),e._a[ti]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=o[t]=r[t];for(;t<7;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[ni]&&0===e._a[ri]&&0===e._a[ii]&&0===e._a[oi]&&(e._nextDay=!0,e._a[ni]=0),e._d=(e._useUTC?be:ye).apply(null,o),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[ni]=24)}}function ct(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=st(t.GG,e._a[Kr],ke(yt(),1,4).year),r=st(t.W,1),i=st(t.E,1),(i<1||i>7)&&(u=!0)):(o=e._locale._week.dow,a=e._locale._week.doy,n=st(t.gg,e._a[Kr],ke(yt(),o,a).year),r=st(t.w,1),null!=t.d?(i=t.d,(i<0||i>6)&&(u=!0)):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(u=!0)):i=o),r<1||r>Ce(n,o,a)?h(e)._overflowWeeks=!0:null!=u?h(e)._overflowWeekday=!0:(s=xe(n,r,i,o,a),e._a[Kr]=s.year,e._dayOfYear=s.dayOfYear)}function ft(e){if(e._f===n.ISO_8601)return void ot(e);e._a=[],h(e).empty=!0;var t,r,i,o,a,s=""+e._i,u=s.length,l=0;for(i=J(e._f,e._locale).match(Tr)||[],t=0;t0&&h(e).unusedInput.push(a),s=s.slice(s.indexOf(r)+r.length),l+=r.length),Fr[o]?(r?h(e).empty=!1:h(e).unusedTokens.push(o),ie(o,r,e)):e._strict&&!r&&h(e).unusedTokens.push(o);h(e).charsLeftOver=u-l,s.length>0&&h(e).unusedInput.push(s),e._a[ni]<=12&&h(e).bigHour===!0&&e._a[ni]>0&&(h(e).bigHour=void 0),h(e).parsedDateParts=e._a.slice(0),h(e).meridiem=e._meridiem,e._a[ni]=dt(e._locale,e._a[ni],e._meridiem),lt(e),it(e)}function dt(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(r=e.isPM(n),r&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function ht(e){var t,n,r,i,o;if(0===e._f.length)return h(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;ithis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function jt(){if(!g(this._isDSTShifted))return this._isDSTShifted;var e={};if(v(e,this),e=gt(e),e._a){var t=e._isUTC?f(e._a):yt(e._a);this._isDSTShifted=this.isValid()&&x(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function Lt(){return!!this.isValid()&&!this._isUTC}function Rt(){return!!this.isValid()&&this._isUTC}function Ut(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function Vt(e,t){var n,r,i,o=e,a=null;return Ct(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:"number"==typeof e?(o={},t?o[t]=e:o.milliseconds=e):(a=Pi.exec(e))?(n="-"===a[1]?-1:1,o={y:0,d:w(a[ti])*n,h:w(a[ni])*n,m:w(a[ri])*n,s:w(a[ii])*n,ms:w(St(1e3*a[oi]))*n}):(a=ji.exec(e))?(n="-"===a[1]?-1:1,o={y:zt(a[2],n),M:zt(a[3],n),w:zt(a[4],n),d:zt(a[5],n),h:zt(a[6],n),m:zt(a[7],n),s:zt(a[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(i=qt(yt(o.from),yt(o.to)),o={},o.ms=i.milliseconds,o.M=i.months),r=new kt(o),Ct(e)&&l(e,"_locale")&&(r._locale=e._locale),r}function zt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Ht(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 qt(e,t){var n;return e.isValid()&&t.isValid()?(t=Dt(t,e),e.isBefore(t)?n=Ht(e,t):(n=Ht(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Yt(e,t){return function(n,r){var i,o;return null===r||isNaN(+r)||(S(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),n="string"==typeof n?+n:n,i=Vt(n,r),Wt(this,i,e),this}}function Wt(e,t,r,i){var o=t._milliseconds,a=St(t._days),s=St(t._months);e.isValid()&&(i=null==i||i,o&&e._d.setTime(e._d.valueOf()+o*r),a&&H(e,"Date",z(e,"Date")+a*r),s&&ce(e,z(e,"Month")+s*r),i&&n.updateOffset(e,a||s))}function Bt(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Gt(e,t){var r=e||yt(),i=Dt(r,this).startOf("day"),o=n.calendarFormat(this,i)||"sameElse",a=t&&(_(t[o])?t[o].call(this,r):t[o]);return this.format(a||this.localeData().calendar(o,this,yt(r)))}function Zt(){return new $(this)}function Qt(e,t){var n=y(e)?e:yt(e);return!(!this.isValid()||!n.isValid())&&(t=j(g(t)?"millisecond":t),"millisecond"===t?this.valueOf()>n.valueOf():n.valueOf()o&&(t=o),On.call(this,e,t,n,r,i))}function On(e,t,n,r,i){var o=xe(e,t,n,r,i),a=be(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function Fn(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function In(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 Nn(e,t){t[oi]=w(1e3*("0."+e))}function Pn(){return this._isUTC?"UTC":""}function jn(){return this._isUTC?"Coordinated Universal Time":""}function Ln(e){return yt(1e3*e)}function Rn(){return yt.apply(null,arguments).parseZone()}function Un(e){return e}function Vn(e,t,n,r){var i=nt(),o=f().set(r,t);return i[n](o,e)}function zn(e,t,n){if("number"==typeof e&&(t=e,e=void 0),e=e||"",null!=t)return Vn(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=Vn(e,r,n,"month");return i}function Hn(e,t,n,r){"boolean"==typeof e?("number"==typeof t&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,"number"==typeof t&&(n=t,t=void 0),t=t||"");var i=nt(),o=e?i._week.dow:0;if(null!=n)return Vn(t,(n+o)%7,r,"day");var a,s=[];for(a=0;a<7;a++)s[a]=Vn(t,(a+o)%7,r,"day");return s}function qn(e,t){return zn(e,t,"months")}function Yn(e,t){return zn(e,t,"monthsShort")}function Wn(e,t,n){return Hn(e,t,n,"weekdays")}function Bn(e,t,n){return Hn(e,t,n,"weekdaysShort")}function Gn(e,t,n){return Hn(e,t,n,"weekdaysMin")}function Zn(){var e=this._data;return this._milliseconds=Zi(this._milliseconds),this._days=Zi(this._days),this._months=Zi(this._months),e.milliseconds=Zi(e.milliseconds),e.seconds=Zi(e.seconds),e.minutes=Zi(e.minutes),e.hours=Zi(e.hours),e.months=Zi(e.months),e.years=Zi(e.years),this}function Qn(e,t,n,r){var i=Vt(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function Jn(e,t){return Qn(this,e,t,1)}function Xn(e,t){return Qn(this,e,t,-1)}function Kn(e){return e<0?Math.floor(e):Math.ceil(e)}function er(){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||o<=0&&a<=0&&s<=0||(o+=864e5*Kn(nr(s)+a),a=0,s=0),u.milliseconds=o%1e3,e=b(o/1e3),u.seconds=e%60,t=b(e/60),u.minutes=t%60,n=b(t/60),u.hours=n%24,a+=b(n/24),i=b(tr(a)),s+=i,a-=Kn(nr(i)),r=b(s/12),s%=12,u.days=a,u.months=s,u.years=r,this}function tr(e){return 4800*e/146097}function nr(e){return 146097*e/4800}function rr(e){var t,n,r=this._milliseconds;if(e=j(e),"month"===e||"year"===e)return t=this._days+r/864e5,n=this._months+tr(t),"month"===e?n:n/12;switch(t=this._days+Math.round(nr(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 ir(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*w(this._months/12)}function or(e){return function(){return this.as(e)}}function ar(e){return e=j(e),this[e+"s"]()}function sr(e){return function(){return this._data[e]}}function ur(){return b(this.days()/7)}function lr(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function cr(e,t,n){var r=Vt(e).abs(),i=fo(r.as("s")),o=fo(r.as("m")),a=fo(r.as("h")),s=fo(r.as("d")),u=fo(r.as("M")),l=fo(r.as("y")),c=i0,c[4]=n,lr.apply(null,c)}function fr(e){return void 0===e?fo:"function"==typeof e&&(fo=e,!0)}function dr(e,t){return void 0!==ho[e]&&(void 0===t?ho[e]:(ho[e]=t,!0))}function hr(e){var t=this.localeData(),n=cr(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function pr(){var e,t,n,r=po(this._milliseconds)/1e3,i=po(this._days),o=po(this._months);e=b(r/60),t=b(e/60),r%=60,e%=60,n=b(o/12),o%=12;var a=n,s=o,u=i,l=t,c=e,f=r,d=this.asSeconds();return d?(d<0?"-":"")+"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 mr,gr;gr=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;r68?1900:2e3)};var hi=V("FullYear",!0);B("w",["ww",2],"wo","week"),B("W",["WW",2],"Wo","isoWeek"),P("week","w"),P("isoWeek","W"),R("week",5),R("isoWeek",5),X("w",Rr),X("ww",Rr,Nr),X("W",Rr),X("WW",Rr,Nr),re(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=w(e)});var pi={dow:0,doy:6};B("d",0,"do","day"),B("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),B("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),B("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),B("e",0,0,"weekday"),B("E",0,0,"isoWeekday"),P("day","d"),P("weekday","e"),P("isoWeekday","E"),R("day",11),R("weekday",11),R("isoWeekday",11),X("d",Rr),X("e",Rr),X("E",Rr),X("dd",function(e,t){return t.weekdaysMinRegex(e)}),X("ddd",function(e,t){return t.weekdaysShortRegex(e)}),X("dddd",function(e,t){return t.weekdaysRegex(e)}),re(["dd","ddd","dddd"],function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:h(n).invalidWeekday=e}),re(["d","e","E"],function(e,t,n,r){t[r]=w(e)});var mi="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),gi="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),vi="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),$i=Qr,yi=Qr,bi=Qr;B("H",["HH",2],0,"hour"),B("h",["hh",2],0,qe),B("k",["kk",2],0,Ye),B("hmm",0,0,function(){return""+qe.apply(this)+W(this.minutes(),2)}),B("hmmss",0,0,function(){return""+qe.apply(this)+W(this.minutes(),2)+W(this.seconds(),2)}),B("Hmm",0,0,function(){return""+this.hours()+W(this.minutes(),2)}),B("Hmmss",0,0,function(){return""+this.hours()+W(this.minutes(),2)+W(this.seconds(),2)}),We("a",!0),We("A",!1),P("hour","h"),R("hour",13),X("a",Be),X("A",Be),X("H",Rr),X("h",Rr),X("HH",Rr,Nr),X("hh",Rr,Nr),X("hmm",Ur),X("hmmss",Vr),X("Hmm",Ur),X("Hmmss",Vr),ne(["H","HH"],ni),ne(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ne(["h","hh"],function(e,t,n){t[ni]=w(e),h(n).bigHour=!0}),ne("hmm",function(e,t,n){var r=e.length-2;t[ni]=w(e.substr(0,r)),t[ri]=w(e.substr(r)),h(n).bigHour=!0}),ne("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[ni]=w(e.substr(0,r)),t[ri]=w(e.substr(r,2)),t[ii]=w(e.substr(i)),h(n).bigHour=!0}),ne("Hmm",function(e,t,n){var r=e.length-2;t[ni]=w(e.substr(0,r)),t[ri]=w(e.substr(r))}),ne("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[ni]=w(e.substr(0,r)),t[ri]=w(e.substr(r,2)),t[ii]=w(e.substr(i))});var wi,xi=/[ap]\.?m?\.?/i,ki=V("Hours",!0),Ci={calendar:xr,longDateFormat:kr,invalidDate:Cr,ordinal:Sr,ordinalParse:_r,relativeTime:Er,months:li,monthsShort:ci,week:pi,weekdays:mi,weekdaysMin:vi,weekdaysShort:gi,meridiemParse:xi},Si={},_i=/^\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)?)?/,Ei=/^\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)?)?/,Di=/Z|[+-]\d\d(?::?\d\d)?/,Ai=[["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}/]],Ti=[["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/]],Mi=/^\/?Date\((\-?\d+)/i;n.createFromInputFallback=C("value provided is not in a recognized ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),n.ISO_8601=function(){};var Oi=C("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=yt.apply(null,arguments);return this.isValid()&&e.isValid()?ethis?this:e:m()}),Ii=function(){return Date.now?Date.now():+new Date};_t("Z",":"),_t("ZZ",""),X("Z",Gr),X("ZZ",Gr),ne(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Et(Gr,e)});var Ni=/([\+\-]|\d\d)/gi;n.updateOffset=function(){};var Pi=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,ji=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;Vt.fn=kt.prototype;var Li=Yt(1,"add"),Ri=Yt(-1,"subtract");n.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",n.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Ui=C("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)});B(0,["gg",2],0,function(){return this.weekYear()%100}),B(0,["GG",2],0,function(){return this.isoWeekYear()%100}),_n("gggg","weekYear"),_n("ggggg","weekYear"),_n("GGGG","isoWeekYear"),_n("GGGGG","isoWeekYear"),P("weekYear","gg"),P("isoWeekYear","GG"),R("weekYear",1),R("isoWeekYear",1),X("G",Wr),X("g",Wr),X("GG",Rr,Nr),X("gg",Rr,Nr),X("GGGG",Hr,jr),X("gggg",Hr,jr),X("GGGGG",qr,Lr),X("ggggg",qr,Lr),re(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=w(e)}),re(["gg","GG"],function(e,t,r,i){t[i]=n.parseTwoDigitYear(e)}),B("Q",0,"Qo","quarter"),P("quarter","Q"),R("quarter",7),X("Q",Ir),ne("Q",function(e,t){t[ei]=3*(w(e)-1)}),B("D",["DD",2],"Do","date"),P("date","D"),R("date",9),X("D",Rr),X("DD",Rr,Nr),X("Do",function(e,t){return e?t._ordinalParse:t._ordinalParseLenient}),ne(["D","DD"],ti),ne("Do",function(e,t){t[ti]=w(e.match(Rr)[0],10)});var Vi=V("Date",!0);B("DDD",["DDDD",3],"DDDo","dayOfYear"),P("dayOfYear","DDD"),R("dayOfYear",4),X("DDD",zr),X("DDDD",Pr),ne(["DDD","DDDD"],function(e,t,n){n._dayOfYear=w(e)}),B("m",["mm",2],0,"minute"),P("minute","m"),R("minute",14),X("m",Rr),X("mm",Rr,Nr),ne(["m","mm"],ri);var zi=V("Minutes",!1);B("s",["ss",2],0,"second"),P("second","s"),R("second",15),X("s",Rr),X("ss",Rr,Nr),ne(["s","ss"],ii);var Hi=V("Seconds",!1);B("S",0,0,function(){return~~(this.millisecond()/100)}),B(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),B(0,["SSS",3],0,"millisecond"),B(0,["SSSS",4],0,function(){return 10*this.millisecond()}),B(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),B(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),B(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),B(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),B(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),P("millisecond","ms"),R("millisecond",16),X("S",zr,Ir),X("SS",zr,Nr),X("SSS",zr,Pr);var qi;for(qi="SSSS";qi.length<=9;qi+="S")X(qi,Yr);for(qi="S";qi.length<=9;qi+="S")ne(qi,Nn);var Yi=V("Milliseconds",!1);B("z",0,0,"zoneAbbr"),B("zz",0,0,"zoneName");var Wi=$.prototype;Wi.add=Li,Wi.calendar=Gt,Wi.clone=Zt,Wi.diff=nn,Wi.endOf=mn,Wi.format=sn,Wi.from=un,Wi.fromNow=ln,Wi.to=cn,Wi.toNow=fn,Wi.get=q,Wi.invalidAt=Cn,Wi.isAfter=Qt,Wi.isBefore=Jt,Wi.isBetween=Xt,Wi.isSame=Kt,Wi.isSameOrAfter=en,Wi.isSameOrBefore=tn,Wi.isValid=xn,Wi.lang=Ui,Wi.locale=dn,Wi.localeData=hn,Wi.max=Fi,Wi.min=Oi,Wi.parsingFlags=kn,Wi.set=Y,Wi.startOf=pn,Wi.subtract=Ri,Wi.toArray=yn,Wi.toObject=bn,Wi.toDate=$n,Wi.toISOString=an,Wi.toJSON=wn,Wi.toString=on,Wi.unix=vn,Wi.valueOf=gn,Wi.creationData=Sn,Wi.year=hi,Wi.isLeapYear=$e,Wi.weekYear=En,Wi.isoWeekYear=Dn,Wi.quarter=Wi.quarters=Fn,Wi.month=fe,Wi.daysInMonth=de,Wi.week=Wi.weeks=De,Wi.isoWeek=Wi.isoWeeks=Ae,Wi.weeksInYear=Tn,Wi.isoWeeksInYear=An,Wi.date=Vi,Wi.day=Wi.days=je,Wi.weekday=Le,Wi.isoWeekday=Re,Wi.dayOfYear=In,Wi.hour=Wi.hours=ki,Wi.minute=Wi.minutes=zi,Wi.second=Wi.seconds=Hi,Wi.millisecond=Wi.milliseconds=Yi,Wi.utcOffset=Tt,Wi.utc=Ot,Wi.local=Ft,Wi.parseZone=It,Wi.hasAlignedHourOffset=Nt,Wi.isDST=Pt,Wi.isLocal=Lt,Wi.isUtcOffset=Rt,Wi.isUtc=Ut,Wi.isUTC=Ut,Wi.zoneAbbr=Pn,Wi.zoneName=jn,Wi.dates=C("dates accessor is deprecated. Use date instead.",Vi),Wi.months=C("months accessor is deprecated. Use month instead",fe),Wi.years=C("years accessor is deprecated. Use year instead",hi),Wi.zone=C("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Mt),Wi.isDSTShifted=C("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",jt);var Bi=Wi,Gi=A.prototype;Gi.calendar=T,Gi.longDateFormat=M,Gi.invalidDate=O,Gi.ordinal=F,Gi.preparse=Un,Gi.postformat=Un,Gi.relativeTime=I,Gi.pastFuture=N,Gi.set=E,Gi.months=ae,Gi.monthsShort=se,Gi.monthsParse=le,Gi.monthsRegex=pe,Gi.monthsShortRegex=he,Gi.week=Se,Gi.firstDayOfYear=Ee,Gi.firstDayOfWeek=_e,Gi.weekdays=Oe,Gi.weekdaysMin=Ie,Gi.weekdaysShort=Fe,Gi.weekdaysParse=Pe,Gi.weekdaysRegex=Ue,Gi.weekdaysShortRegex=Ve,Gi.weekdaysMinRegex=ze,Gi.isPM=Ge,Gi.meridiem=Ze,Ke("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===w(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),n.lang=C("moment.lang is deprecated. Use moment.locale instead.",Ke),n.langData=C("moment.langData is deprecated. Use moment.localeData instead.",nt);var Zi=Math.abs,Qi=or("ms"),Ji=or("s"),Xi=or("m"),Ki=or("h"),eo=or("d"),to=or("w"),no=or("M"),ro=or("y"),io=sr("milliseconds"),oo=sr("seconds"),ao=sr("minutes"),so=sr("hours"),uo=sr("days"),lo=sr("months"),co=sr("years"),fo=Math.round,ho={s:45,m:45,h:22,d:26,M:11},po=Math.abs,mo=kt.prototype;mo.abs=Zn,mo.add=Jn,mo.subtract=Xn,mo.as=rr,mo.asMilliseconds=Qi,mo.asSeconds=Ji,mo.asMinutes=Xi,mo.asHours=Ki,mo.asDays=eo,mo.asWeeks=to,mo.asMonths=no,mo.asYears=ro,mo.valueOf=ir,mo._bubble=er,mo.get=ar,mo.milliseconds=io,mo.seconds=oo,mo.minutes=ao,mo.hours=so,mo.days=uo,mo.weeks=ur,mo.months=lo,mo.years=co,mo.humanize=hr,mo.toISOString=pr,mo.toString=pr,mo.toJSON=pr,mo.locale=dn,mo.localeData=hn,mo.toIsoString=C("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",pr),mo.lang=Ui,B("X",0,0,"unix"),B("x",0,0,"valueOf"),X("x",Wr),X("X",Zr),ne("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),ne("x",function(e,t,n){n._d=new Date(w(e))}),n.version="2.15.2",r(yt),n.fn=Bi,n.min=wt,n.max=xt,n.now=Ii,n.utc=f,n.unix=Ln,n.months=qn,n.isDate=s,n.locale=Ke,n.invalid=m,n.duration=Vt,n.isMoment=y,n.weekdays=Wn,n.parseZone=Rn,n.localeData=nt,n.isDuration=Ct,n.monthsShort=Yn,n.weekdaysMin=Gn,n.defineLocale=et,n.updateLocale=tt,n.locales=rt,n.weekdaysShort=Bn,n.normalizeUnits=j,n.relativeTimeRounding=fr,n.relativeTimeThreshold=dr,n.calendarFormat=Bt,n.prototype=Bi;var go=n;return go})},{}],13:[function(e,t,n){!function(e,n){"use strict";var r,i,o,a=e,s=a.document,u=a.navigator,l=a.setTimeout,c=a.clearTimeout,f=a.setInterval,d=a.clearInterval,h=a.getComputedStyle,p=a.encodeURIComponent,m=a.ActiveXObject,g=a.Error,v=a.Number.parseInt||a.parseInt,$=a.Number.parseFloat||a.parseFloat,y=a.Number.isNaN||a.isNaN,b=a.Date.now,w=a.Object.keys,x=a.Object.defineProperty,k=a.Object.prototype.hasOwnProperty,C=a.Array.prototype.slice,S=function(){var e=function(e){return e};if("function"==typeof a.wrap&&"function"==typeof a.unwrap)try{var t=s.createElement("div"),n=a.unwrap(t);1===t.nodeType&&n&&1===n.nodeType&&(e=a.unwrap)}catch(r){}return e}(),_=function(e){return C.call(e,0)},E=function(){var e,t,r,i,o,a,s=_(arguments),u=s[0]||{};for(e=1,t=s.length;e=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"),Ae(),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,X.activeClass),i!==e&&Le(i,X.hoverClass)),i=e,je(e,X.hoverClass);var t=e.getAttribute("title")||X.title;if("string"==typeof t&&t){var n=Ee(U.bridge);n&&n.setAttribute("title",t)}var r=X.forceHandCursor===!0||"pointer"===Re(e,"cursor");qe(r),He()}},de=function(){var e=Ee(U.bridge);e&&(e.removeAttribute("title"),e.style.left="0px",e.style.top="-9999px",e.style.width="1px",e.style.height="1px"),i&&(Le(i,X.hoverClass),Le(i,X.activeClass),i=null)},he=function(){return i||null},pe=function(e){return"string"==typeof e&&e&&/^[A-Za-z][A-Za-z0-9_:\-\.]*$/.test(e)},me=function(e){var t;if("string"==typeof e&&e?(t=e,e={}):"object"==typeof e&&e&&"string"==typeof e.type&&e.type&&(t=e.type),t){t=t.toLowerCase(),!e.target&&(/^(copy|aftercopy|_click)$/.test(t)||"error"===t&&"clipboard-error"===e.name)&&(e.target=o),E(e,{type:t,target:e.target||i||null,relatedTarget:e.relatedTarget||null,currentTarget:U&&U.bridge||null,timeStamp:e.timeStamp||b()||null});var n=B[e.type];return"error"===e.type&&e.name&&n&&(n=n[e.name]),n&&(e.message=n),"ready"===e.type&&E(e,{target:null,version:U.version}),"error"===e.type&&(Q.test(e.name)&&E(e,{target:null,minimumVersion:V}),J.test(e.name)&&E(e,{version:U.version})),"copy"===e.type&&(e.clipboardData={setData:Ge.setData,clearData:Ge.clearData}),"aftercopy"===e.type&&(e=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;o0){var t=D(e);E(t,{type:"error",name:"clipboard-error"}),delete t.success,l(function(){Ge.emit(t)},0)}},Ce=function(e){if(e&&"string"==typeof e.type&&e){var t,n=e.target||null,r=n&&n.ownerDocument||s,i={view:r.defaultView||a,canBubble:!0,cancelable:!0,detail:"click"===e.type?1:0,button:"number"==typeof e.which?e.which-1:"number"==typeof e.button?e.button:r.createEvent?0:1},o=E(i,e);n&&r.createEvent&&n.dispatchEvent&&(o=[o.type,o.canBubble,o.cancelable,o.view,o.detail,o.screenX,o.screenY,o.clientX,o.clientY,o.ctrlKey,o.altKey,o.shiftKey,o.metaKey,o.button,o.relatedTarget],t=r.createEvent("MouseEvents"),t.initMouseEvent&&(t.initMouseEvent.apply(t,o),t._source="js",n.dispatchEvent(t)))}},Se=function(){var e=X.flashLoadTimeout;if("number"==typeof e&&e>=0){var t=Math.min(1e3,e/10),n=X.swfObjectId+"_fallbackContent";W=f(function(){var e=s.getElementById(n);Ve(e)&&(ze(),U.deactivated=null,Ge.emit({type:"error",name:"swf-not-found"}))},t)}},_e=function(){var e=s.createElement("div");return e.id=X.containerId,e.className=X.containerClass,e.style.position="absolute",e.style.left="0px",e.style.top="-9999px",e.style.width="1px",e.style.height="1px",e.style.zIndex=""+Ye(X.zIndex),e},Ee=function(e){for(var t=e&&e.parentNode;t&&"OBJECT"===t.nodeName&&t.parentNode;)t=t.parentNode;return t||null},De=function(){var e,t=U.bridge,n=Ee(t);if(!t){var r=Ne(a.location.host,X),i="never"===r?"none":"all",o=Fe(E({jsVersion:Ge.version},X)),u=X.swfPath+Oe(X.swfPath,X);n=_e();var l=s.createElement("div");n.appendChild(l),s.body.appendChild(n);var c=s.createElement("div"),f="activex"===U.pluginType;c.innerHTML='"+(f?'':"")+'
     
    ',t=c.firstChild,c=null,S(t).ZeroClipboard=Ge,n.replaceChild(t,l),Se()}return t||(t=s[X.swfObjectId],t&&(e=t.length)&&(t=t[e-1]),!t&&n&&(t=n.firstChild)),U.bridge=t||null,t},Ae=function(){var e=U.bridge;if(e){var t=Ee(e);t&&("activex"===U.pluginType&&"readyState"in e?(e.style.display="none",function i(){if(4===e.readyState){for(var n in e)"function"==typeof e[n]&&(e[n]=null);e.parentNode&&e.parentNode.removeChild(e),t.parentNode&&t.parentNode.removeChild(t)}else l(i,10)}()):(e.parentNode&&e.parentNode.removeChild(e),t.parentNode&&t.parentNode.removeChild(t))),ze(),U.ready=null,U.bridge=null,U.deactivated=null,r=n}},Te=function(e){var t={},n={};if("object"==typeof e&&e){for(var r in e)if(r&&k.call(e,r)&&"string"==typeof e[r]&&e[r])switch(r.toLowerCase()){case"text/plain":case"text":case"air:text":case"flash:text":t.text=e[r],n.text=r;break;case"text/html":case"html":case"air:html":case"flash:html":t.html=e[r],n.html=r;break;case"application/rtf":case"text/rtf":case"rtf":case"richtext":case"air:rtf":case"flash:rtf":t.rtf=e[r],n.rtf=r}return{data:t,formatMap:n}}},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;i0){if(1===o&&"*"===i[0])return"always";if(i.indexOf(t)!==-1)return 1===o&&t===r?"sameDomain":"always"}return"never"}}(),Pe=function(){try{return s.activeElement}catch(e){return null}},je=function(e,t){var n,r,i,o=[];if("string"==typeof t&&t&&(o=t.split(/\s+/)),e&&1===e.nodeType&&o.length>0)if(e.classList)for(n=0,r=o.length;n0)if(e.classList&&e.classList.length>0)for(n=0,r=o.length;n0,r=$(t.width)>0,i=$(t.top)>=0,o=$(t.left)>=0,a=n&&r&&i&&o,s=a?null:Ue(e),u="none"!==t.display&&"collapse"!==t.visibility&&(a||!!s&&(n||s.height>0)&&(r||s.width>0)&&(i||s.top>=0)&&(o||s.left>=0));return u},ze=function(){c(Y),Y=0,d(W),W=0},He=function(){var e;if(i&&(e=Ee(U.bridge))){var t=Ue(i);E(e.style,{width:t.width+"px",height:t.height+"px",top:t.top+"px",left:t.left+"px",zIndex:""+Ye(X.zIndex)})}},qe=function(e){U.ready===!0&&(U.bridge&&"function"==typeof U.bridge.setHandCursor?U.bridge.setHandCursor(e):U.ready=!1)},Ye=function(e){if(/^(?:auto|inherit)$/.test(e))return e;var t;return"number"!=typeof e||y(e)?"string"==typeof e&&(t=Ye(v(e,10))):t=e,"number"==typeof t?t:"auto"},We=function(t){var n,r,i,o=U.sandboxed,a=null;if(t=t===!0,R===!1)a=!1;else{try{r=e.frameElement||null}catch(s){i={name:s.name,message:s.message}}if(r&&1===r.nodeType&&"IFRAME"===r.nodeName)try{a=r.hasAttribute("sandbox")}catch(s){a=null}else{try{n=document.domain||null}catch(s){n=null}(null===n||i&&"SecurityError"===i.name&&/(^|[\s\(\[@])sandbox(es|ed|ing|[\s\.,!\)\]@]|$)/.test(i.message.toLowerCase()))&&(a=!0)}}return U.sandboxed=a,o===a||t||Be(m),a},Be=function(e){function t(e){var t=e.match(/[\d]+/g);return t.length=3,t.join(".")}function n(e){return!!e&&(e=e.toLowerCase())&&(/^(pepflashplayer\.dll|libpepflashplayer\.so|pepperflashplayer\.plugin)$/.test(e)||"chrome.plugin"===e.slice(-13))}function r(e){e&&(s=!0,e.version&&(f=t(e.version)),!f&&e.description&&(f=t(e.description)),e.filename&&(c=n(e.filename)))}var i,o,a,s=!1,l=!1,c=!1,f="";if(u.plugins&&u.plugins.length)i=u.plugins["Shockwave Flash"],r(i),u.plugins["Shockwave Flash 2.0"]&&(s=!0,f="2.0.0.11");else if(u.mimeTypes&&u.mimeTypes.length)a=u.mimeTypes["application/x-shockwave-flash"],i=a&&a.enabledPlugin,r(i);else if("undefined"!=typeof e){l=!0;try{o=new e("ShockwaveFlash.ShockwaveFlash.7"),s=!0,f=t(o.GetVariable("$version"))}catch(d){try{o=new e("ShockwaveFlash.ShockwaveFlash.6"),s=!0,f="6.0.21"}catch(h){try{o=new e("ShockwaveFlash.ShockwaveFlash"),s=!0,f=t(o.GetVariable("$version"))}catch(p){l=!1}}}}U.disabled=s!==!0,U.outdated=f&&$(f)<$(V),U.version=f||"0.0.0",U.pluginType=c?"pepper":l?"activex":s?"netscape":"unknown"};Be(m),We(!0);var Ge=function(){return this instanceof Ge?void("function"==typeof Ge._createClient&&Ge._createClient.apply(this,_(arguments))):new Ge};x(Ge,"version",{value:"2.2.0",writable:!1,configurable:!0,enumerable:!0}),Ge.config=function(){return K.apply(this,_(arguments))},Ge.state=function(){return ee.apply(this,_(arguments))},Ge.isFlashUnusable=function(){return te.apply(this,_(arguments))},Ge.on=function(){return ne.apply(this,_(arguments))},Ge.off=function(){return re.apply(this,_(arguments))},Ge.handlers=function(){return ie.apply(this,_(arguments))},Ge.emit=function(){return oe.apply(this,_(arguments))},Ge.create=function(){return ae.apply(this,_(arguments))},Ge.destroy=function(){return se.apply(this,_(arguments))},Ge.setData=function(){return ue.apply(this,_(arguments))},Ge.clearData=function(){return le.apply(this,_(arguments))},Ge.getData=function(){return ce.apply(this,_(arguments))},Ge.focus=Ge.activate=function(){return fe.apply(this,_(arguments))},Ge.blur=Ge.deactivate=function(){return de.apply(this,_(arguments))},Ge.activeElement=function(){return he.apply(this,_(arguments))};var Ze=0,Qe={},Je=0,Xe={},Ke={};E(X,{autoActivate:!0});var et=function(e){var t=this;t.id=""+Ze++,Qe[t.id]={instance:t,elements:[],handlers:{}},e&&t.clip(e),Ge.on("*",function(e){return t.emit(e)}),Ge.on("destroy",function(){t.destroy()}),Ge.create()},tt=function(e,t){var i,o,a,s={},u=Qe[this.id],l=u&&u.handlers;if(!u)throw new Error("Attempted to add new listener(s) to a destroyed ZeroClipboard client instance");if("string"==typeof e&&e)a=e.toLowerCase().split(/\s+/);else if("object"==typeof e&&e&&"undefined"==typeof t)for(i in e)k.call(e,i)&&"string"==typeof i&&i&&"function"==typeof e[i]&&this.on(i,e[i]);if(a&&a.length){for(i=0,o=a.length;i0,i=!e.target||r&&n.indexOf(e.target)!==-1,o=e.relatedTarget&&r&&n.indexOf(e.relatedTarget)!==-1,a=e.client&&e.client===this;return!(!t||!(i||o||a))},ct=function(e){var t=Qe[this.id];if("object"==typeof e&&e&&e.type&&t){var n=$e(e),r=t&&t.handlers["*"]||[],i=t&&t.handlers[e.type]||[],o=r.concat(i);if(o&&o.length){var s,u,l,c,f,d=this;for(s=0,u=o.length;s\n Image Preview\n
    \n \n
    \n\n \n |\n \n\n \n
    '},{}],16:[function(e,t,n){t.exports='
    \n \n
    \n
    '},{}],17:[function(e,t,n){"use strict";var r=e("moment");t.exports=function(t,n){t.controller("ImageManagerController",["$scope","$attrs","$http","$timeout","imageManagerService",function(e,t,r,i,o){function a(){e.searching=!1,e.searchTerm="",e.images=m,e.hasMore=g}function s(t){p&&p(t),e.hide()}function u(t){p=t,e.showing=!0,$("#image-manager").find(".overlay").css("display","flex").hide().fadeIn(240),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 window.baseUrl("/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;i tr",containment:"parent",axis:"y"},e.addEmptyTag=i,o(),e.tagChange=function(t){var n=e.tags.indexOf(t);n===e.tags.length-1&&(""===t.name&&""===t.value||i())},e.tagBlur=function(t){var n=e.tags.length-1===e.tags.indexOf(t);if(""===t.name&&""===t.value&&!n){var r=e.tags.indexOf(t);e.tags.splice(r,1)}},e.saveTags=function(){a();var r={tags:e.tags},o=window.baseUrl("/ajax/tags/update/page/"+s);t.post(o,r).then(function(t){e.tags=t.data.tags,i(),n.emit("success",t.data.message)})},e.removeTag=function(t){var n=e.tags.indexOf(t);e.tags.splice(n,1)}}])}},{"./pages/page-form":20,moment:12}],18:[function(e,t,n){"use strict";var r=e("dropzone"),i=e("marked"),o=e("./components/toggle-switch.html"),a=e("./components/image-picker.html"),s=e("./components/drop-zone.html");t.exports=function(e,t){e.directive("toggleSwitch",function(){return{restrict:"A",template:o,scope:!0,link:function(e,t,n){e.name=n.name,e.value=n.value,e.isActive=1==e.value&&"false"!=e.value,e.value=1==e.value&&"false"!=e.value?"true":"false",e["switch"]=function(){e.isActive=!e.isActive,e.value=e.isActive?"true":"false"}}}}),e.directive("imagePicker",["$http","imageManagerService",function(e,t){return{restrict:"E",template:a,scope:{name:"@",resizeHeight:"@",resizeWidth:"@",resizeCrop:"@",showRemove:"=",currentImage:"@",currentId:"@",defaultImage:"@",imageClass:"@"},link:function(n,r,i){function o(e,t){n.image=t,n.value=a?e.id:t}var a="undefined"!=typeof n.currentId||"false"===n.currentId;n.image=n.currentImage,n.value=n.currentImage||"",a&&(n.value=n.currentId),n.reset=function(){o({id:0},n.defaultImage)},n.remove=function(){n.image="none",n.value="none"},n.showImageManager=function(){t.show(function(e){n.updateImageFromModel(e)})},n.updateImageFromModel=function(t){var r=n.resizeWidth&&n.resizeHeight;if(!r)return void n.$apply(function(){o(t,t.url)});var i=n.resizeCrop?"true":"false",a="/images/thumb/"+t.id+"/"+n.resizeWidth+"/"+n.resizeHeight+"/"+i;a=window.baseUrl(a),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");var e=r.find("input"),n=e.length>0;n&&(e.first().focus(),t.on("keypress","input",function(e){if(13===e.keyCode)return e.preventDefault(),r.hide(),r.removeClass("anim menuIn"),!1})),t.mouseleave(function(){r.hide(),r.removeClass("anim menuIn")})})}}}]),e.directive("tinymce",["$timeout",function(e){return{restrict:"A",scope:{tinymce:"=",mceModel:"=",mceChange:"="},link:function(t,n,r){function i(n){n.on("ExecCommand change NodeChange ObjectResized",function(r){var i=n.getContent();e(function(){t.mceModel=i}),t.mceChange(i)}),n.on("keydown",function(e){t.$emit("editor-keydown",e)}),n.on("init",function(e){t.mceModel=n.getContent()}),t.$on("html-update",function(e,r){n.setContent(r),n.selection.select(n.getBody(),!0),n.selection.collapse(!1),t.mceModel=n.getContent()})}t.tinymce.extraSetups.push(i),tinymce.PluginManager.add("customhr",function(e){e.addCommand("InsertHorizontalRule",function(){var t=document.createElement("hr"),n=e.selection.getNode(),r=n.parentNode;r.insertBefore(t,n)}),e.addButton("hr",{icon:"hr",tooltip:"Horizontal line",cmd:"InsertHorizontalRule"}),e.addMenuItem("hr",{icon:"hr",text:"Horizontal line",cmd:"InsertHorizontalRule",context:"insert"})}),tinymce.init(t.tinymce)}}}]),e.directive("markdownInput",["$timeout",function(e){return{restrict:"A",scope:{mdModel:"=",mdChange:"="},link:function(t,n,r){n=n.find("textarea").first();var o=n.val();t.mdModel=o,t.mdChange(i(o)),n.on("change input",function(r){o=n.val(),e(function(){t.mdModel=o,t.mdChange(i(o))})}),t.$on("markdown-update",function(e,r){n.val(r),t.mdModel=r,t.mdChange(i(r))})}}}]),e.directive("markdownEditor",["$timeout",function(e){return{restrict:"A",link:function(e,t,n){function r(){h=u[0].scrollHeight,p=u.height(),m=l[0].scrollHeight,g=l.height()}function i(){window.showEntityLinkSelector(function(e){var t=d,n=u[0].selectionEnd,r=n!==t,i=u.val();if(r){var o=i.substring(t,n),a="["+o+"]("+e.link+")";u.val(i.substring(0,t)+a+i.substring(n))}else{var s=" ["+e.name+"]("+e.link+") ";u.val(i.substring(0,t)+s+i.substring(t))}u.change()})}function o(e){if(e=e.originalEvent,e.clipboardData){var t=e.clipboardData.items;if(t)for(var n=0;na?"!["+c+"]":"![]")+("("+f+")");u[0].value=l.substring(0,a)+d+l.substring(s),u.focus(),u[0].selectionStart=a,u[0].selectionEnd=a;var h="image-"+Date.now()+"."+n;t.append("file",e,h),t.append("_token",document.querySelector('meta[name="token"]').getAttribute("content")),r.open("POST",window.baseUrl("/images/gallery/upload")),r.onload=function(){var e=u[0].selectionStart;if(200===r.status||201===r.status){var t=JSON.parse(r.responseText);u[0].value=u[0].value.replace(f,t.thumbs.display), +u.change()}else console.log("An error occurred uploading the image"),console.log(r.responseText),u[0].value=u[0].value.replace(d,""),u.change();u.focus(),u[0].selectionStart=e,u[0].selectionEnd=e},r.send(t)}}var u=t.find("[markdown-input] textarea").first(),l=t.find(".markdown-display").first(),c=t.find('button[data-action="insertImage"]'),f=t.find('button[data-action="insertEntityLink"]'),d=0;u.blur(function(e){d=u[0].selectionStart});var h=void 0,p=void 0,m=void 0,g=void 0;setTimeout(function(){r()},200),window.addEventListener("resize",r);var v=800,$=0;u.on("scroll",function(e){var t=Date.now();t-$>v&&r();var n=u.scrollTop()/(h-p),i=(m-g)*n;l.scrollTop(i),$=t}),u.keydown(function(t){if(73===t.which&&t.ctrlKey&&t.shiftKey){t.preventDefault();var n=u[0].selectionStart,r=u.val(),o="![](http://)";return u.val(r.substring(0,n)+o+r.substring(n)),u.focus(),u[0].selectionStart=n+"![](".length,void(u[0].selectionEnd=n+"![](http://".length)}return 75===t.which&&t.ctrlKey&&t.shiftKey?void i():void e.$emit("editor-keydown",t)}),c.click(function(e){window.ImageManager.showExternal(function(e){var t=d,n=u.val(),r="!["+e.name+"]("+e.thumbs.display+")";u.val(n.substring(0,t)+r+n.substring(t)),u.change()})}),f.click(i),u.on("paste",o),u.on("drop",a)}}}]),e.directive("toolbox",[function(){return{restrict:"A",link:function(e,t,n){function r(e,n){i.removeClass("active"),o.hide(),i.filter('[tab-button="'+e+'"]').addClass("active"),o.filter('[tab-content="'+e+'"]').show(),n&&t.addClass("open")}var i=t.find("[tab-button]"),o=t.find("[tab-content]"),a=t.find("[toolbox-toggle]");a.click(function(e){t.toggleClass("open")}),r(o.first().attr("tab-content"),!1),i.click(function(e){var t=$(this).attr("tab-button");r(t,!0)})}}}]),e.directive("tagAutosuggestions",["$http",function(e){return{restrict:"A",link:function(t,n,r){function i(e,t){t[h].className="",h=e,t[h].className="active"}function o(e,t){if(0===t.length)return c.hide(),f=!1,void(m=t);if(f||(c.show(),f=!0),e!==d&&(c.detach(),e.after(c),d=e),m.join()===t.join())return void(m=t);c[0].innerHTML="";for(var n=0;n=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(){var e=document.documentElement.scrollTop||document.body.scrollTop||0;!i&&e>a?(o.style.display="block",i=!0,setTimeout(function(){o.style.opacity=.4},1)):i&&e0||navigator.userAgent.indexOf("Safari")!==-1)&&$("body").addClass("flexbox-support")}),e("./pages/page-show")},{"./controllers":17,"./directives":18,"./pages/page-show":21,"./services":22,angular:9,"angular-animate":2,"angular-resource":4,"angular-sanitize":6,"angular-ui-sortable":7}],20:[function(e,t,n){"use strict";function r(e,t){if(e.clipboardData){var n=e.clipboardData.items;if(n)for(var r=function(e){if(n[e].type.indexOf("image")===-1)return{v:void 0};var r=n[e].getAsFile(),i=new FormData,o="png",a=new XMLHttpRequest;if(r.name){var s=r.name.match(/\.(.+)$/);s&&(o=s[1])}var u="image-"+Math.random().toString(16).slice(2),l=window.baseUrl("/loading.gif");t.execCommand("mceInsertContent",!1,'');var c="image-"+Date.now()+"."+o;i.append("file",r,c),i.append("_token",document.querySelector('meta[name="token"]').getAttribute("content")),a.open("POST",window.baseUrl("/images/gallery/upload")),a.onload=function(){if(200===a.status||201===a.status){var e=JSON.parse(a.responseText);t.dom.setAttrib(u,"src",e.thumbs.display)}else console.log("An error occurred uploading the image",a.responseText),t.dom.remove(u)},a.send(i)},i=0;i';i+=''+t.name+'',i+="
    ",r.tinyMCE.activeEditor.execCommand("mceInsertContent",!1,i)})},paste_preprocess:function(e,t){var n=t.content;n.indexOf('';n+=''+t.name+'',n+="",e.execCommand("mceInsertContent",!1,n)})}}),e.on("paste",function(t){r(t,e)})}}},{}],21:[function(e,t,n){"use strict";var r=e("zeroclipboard");r.config({swfPath:window.baseUrl("/ZeroClipboard.swf")}),window.setupPageShow=t.exports=function(e){function t(e){var t=$(".page-content #"+e).first();0!==t.length?(t.smoothScrollTo(),t.css("background-color","rgba(244, 249, 54, 0.25)")):$(".page-content").find(':contains("'+e+'")').smoothScrollTo()}function n(){d.width(h.width()+15),d.addClass("fixed"),g=!0}function i(){d.css("width","auto"),d.removeClass("fixed"),g=!1}function o(e){var t=f.scrollTop()>m;!t||g&&!e?t||!g&&!e||i():n()}function a(){o(!1)}var s=$("#pointer").detach(),u=s.children("div.pointer").first(),l=!1;if(s.on("click","input",function(e){$(this).select(),e.stopPropagation()}),new r(s.find("button").first()[0]),$(document.body).find("*").on("click focus",function(e){l||s.detach()}),$('.page-content [id^="bkmrk"]').on("mouseup keyup",function(t){t.stopPropagation();var n=window.getSelection();if(0!==n.toString().length){var r=$(this),i=window.baseUrl("/link/"+e+"#"+r.attr("id"));0!==i.indexOf("http")&&(i=window.location.protocol+"//"+window.location.host+i),s.find("input").val(i),s.find("button").first().attr("data-clipboard-text",i),r.before(s),s.show();var o=t.pageX-r.offset().left-u.width()/2;o<0&&(o=0);var a=o/r.width()*100;u.css("left",a+"%"),l=!0,setTimeout(function(){l=!1},100)}}),window.location.hash){var c=window.location.hash.replace(/\%20/g," ").substr(1);t(c)}var f=$(window),d=$(".book-tree"),h=d.parent(),p=$(document).height()>f.height()&&d.height()<$(".page-content").height(),m=$("#header").height()+$(".toolbar").height(),g=f.scrollTop()>m;p&&f.width()>1e3&&(f.on("scroll",a),o(!0)),f.on("resize",function(e){p&&f.width()>1e3?(f.on("scroll",a),o(!0)):(f.off("scroll",a),i())})}},{zeroclipboard:13}],22:[function(e,t,n){"use strict";t.exports=function(e,t){e.factory("imageManagerService",function(){return{show:!1,showExternal:!1}})}},{}]},{},[19]); \ No newline at end of file From 8d1419a12e92d0df40be13f14468973d03f31edc Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Sun, 13 Nov 2016 12:29:52 +0000 Subject: [PATCH 24/54] Update assets and version for release v0.13 --- public/build/manifest.json | 5 ----- public/css/export-styles.css | 2 +- public/css/print-styles.css | 2 +- public/css/styles.css | 2 +- public/js/common.js | 24 ++++++++++++------------ version | 2 +- 6 files changed, 16 insertions(+), 21 deletions(-) delete mode 100644 public/build/manifest.json diff --git a/public/build/manifest.json b/public/build/manifest.json deleted file mode 100644 index 6773949cd25..00000000000 --- a/public/build/manifest.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "css/styles.css": "css/styles.css?version=5be13a8", - "css/print-styles.css": "css/print-styles.css?version=5be13a8", - "js/common.js": "js/common.js?version=5be13a8" -} \ No newline at end of file diff --git a/public/css/export-styles.css b/public/css/export-styles.css index a50f3d272bd..d109300a0c7 100644 --- a/public/css/export-styles.css +++ b/public/css/export-styles.css @@ -1 +1 @@ -*{box-sizing:border-box}html{background-color:#fff;height:100%;overflow-y:scroll}html.flexbox{overflow-y:hidden}body{font-family:Roboto,DejaVu Sans,Helvetica,Arial,sans-serif;font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}button{font-size:100%}.title-input input[type=text],h1{font-size:3.425em;line-height:1.22222222em;margin-top:.48888889em;margin-bottom:.48888889em}h2{font-size:2.8275em;line-height:1.294117647em;margin-top:.8627451em;margin-bottom:.43137255em}h3{font-size:1.75em;line-height:1.571428572em}h3,h4{margin-top:.78571429em;margin-bottom:.43137255em}h4{font-size:1em;line-height:1.375em}.title-input input[type=text],h1,h2,h3,h4{font-weight:400;position:relative;display:block;color:#555}.title-input input[type=text] .subheader,h1 .subheader,h2 .subheader,h3 .subheader,h4 .subheader{font-size:.5em;line-height:1em;color:#969696}.link,a{color:#0288d1;cursor:pointer;text-decoration:none;transition:color 80ms ease-in-out;font-family:Roboto,DejaVu Sans,Helvetica,Arial,sans-serif;line-height:1.6}.link:hover,a:hover{text-decoration:underline;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(90deg,#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;white-space:pre;font-size:.8em;overflow:hidden;border-radius:4px;box-shadow:0 1px 2px 0 hsla(0,0%,4%,.06);border:1px solid hsla(0,0%,87%,.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}pre code{background-color:transparent;border:0;font-size:1em}.text-pos,.text-pos:hover,p.pos,p .pos,p.pos:hover,p .pos:hover,span.pos,span.pos:hover{color:#52a256}.text-neg,.text-neg:hover,p.neg,p .neg,p.neg:hover,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,p.primary:hover,p .primary:hover,span.primary,span.primary:hover{color:#0288d1}.text-secondary,.text-secondary:hover,p.secondary,p .secondary,p.secondary:hover,p .secondary:hover,span.secondary,span.secondary:hover{color:#e27b41}.text-book,.text-book:hover{color:#009688}.text-page,.text-page:hover{color:#0288d1}.text-page.draft,.text-page.draft:hover{color:#9a60da}.text-chapter,.text-chapter:hover{color:#ef7c3c}.faded .text-book:hover{color:#009688!important}.faded .text-chapter:hover{color:#ef7c3c!important}.faded .text-page:hover{color:#0288d1!important}span.highlight{font-weight:700;padding:2px 4px}ul{padding-left:20.8px;list-style:disc}ol,ul{overflow:hidden}ol{list-style:decimal;padding-left:32px}.underlined{text-decoration:underline}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-bigger{font-size:1.1em}.text-large{font-size:1.6666em}.no-color{color:inherit}.header-group{margin:16px 0}.header-group .title-input input[type=text],.header-group h1,.header-group h2,.header-group h3,.header-group h4,.header-group h5,.header-group h6,.title-input .header-group input[type=text]{margin:0}span.sep{color:#bbb;padding:0 6px}.list>*{display:block}.action-header .title-input input[type=text],.action-header h1,.title-input .action-header input[type=text]{margin-top:16px}i{padding-right:6px}body.flexbox{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;height:100%;min-height:100%;max-height:100%;overflow:hidden}body.flexbox #content{-ms-flex:1;flex:1}.flex-fill,body.flexbox #content{display:-ms-flexbox;display:flex;min-height:0}.flex-fill{-ms-flex-align:stretch;align-items:stretch}.flex-fill.flex,.flex-fill .flex{min-height:0;-ms-flex:1;flex:1}.flex-child>div{-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.medium{max-width:992px}.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-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12,.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12,.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12,.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{position:relative;min-height:1px;padding-left:16px;padding-right:16px}.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{float:left}.col-xs-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-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12{float:left}.col-sm-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-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12{float:left}.col-md-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-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.row:after,.row:before{content:" ";display:table}.clearfix:after,.container-fluid:after,.container:after,.row:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.shaded{background-color:#f1f1f1}.shaded.pos{background-color:#d6ead7}.shaded.neg{background-color:#f4a9a9}.shaded.primary{background-color:#a1ddfe}.shaded.secondary{background-color:#f6d7c6}.bordered{border:1px solid #bbb}.bordered.pos{border-color:#52a256}.bordered.neg{border-color:#e84f4f}.bordered.primary{border-color:#0288d1}.bordered.secondary{border-color:#e27b41}.bordered.thick{border-width:2px}.rounded{border-radius:3px}.nopadding{padding:0}.padded{padding:24px}.padded.large{padding:32px}.padded>h1:first-child,.padded>h2:first-child,.padded>h3:first-child,.padded>h4:first-child,.title-input .padded>input[type=text]:first-child{margin-top:.1em}.padded-top,.padded-vertical{padding-top:16px}.padded-top.large,.padded-vertical.large{padding-top:32px}.padded-bottom,.padded-vertical{padding-bottom:16px}.padded-bottom.large,.padded-vertical.large{padding-bottom:32px}.padded-horizontal,.padded-left{padding-left:16px}.padded-horizontal.large,.padded-left.large{padding-left:32px}.padded-horizontal,.padded-right{padding-right:16px}.padded-horizontal.large,.padded-right.large{padding-right:32px}.margins{margin:24px}.margins.large{margin:32px}.margin-top,.margins-vertical{margin-top:16px}.margin-top.large,.margins-vertical.large{margin-top:32px}.margin-bottom,.margins-vertical{margin-bottom:16px}.margin-bottom.large,.margins-vertical.large{margin-bottom:32px}.margin-left,.margins-horizontal{margin-left:16px}.margin-left.large,.margins-horizontal.large{margin-left:32px}.margin-right,.margins-horizontal{margin-right:16px}.margin-right.large,.margins-horizontal.large{margin-right:32px}.callout{border-left:3px solid #bbb;background-color:#eee;padding:12px;display:-ms-flexbox;display:flex}.callout:before{font-family:Material-Design-Iconic-Font;padding-right:12px;display:inline-block}.callout.success{border-left-color:#52a256;background-color:#e7f3e7;color:#376c39}.callout.success:before{content:'\f269'}.callout.danger{border-left-color:#e84f4f;background-color:#fce8e8;color:#b91818}.callout.danger:before{content:'\f1f2'}.callout.info{border-left-color:#0288d1;background-color:#d3efff;color:#015380}.callout.info:before{content:'\f1f8'}.callout.warning{border-left-color:#e27b41;background-color:#faeae0;color:#b6531c}.callout.warning:before{content:'\f1f1'}.input-base,input[type=email],input[type=number],input[type=password],input[type=search],input[type=text],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=email],input.invalid[type=number],input.invalid[type=password],input.invalid[type=search],input.invalid[type=text],input.invalid[type=url],input.neg[type=email],input.neg[type=number],input.neg[type=password],input.neg[type=search],input.neg[type=text],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=email],input.pos[type=number],input.pos[type=password],input.pos[type=search],input.pos[type=text],input.pos[type=url],input.valid[type=email],input.valid[type=number],input.valid[type=password],input.valid[type=search],input.valid[type=text],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=email],input.disabled[type=number],input.disabled[type=password],input.disabled[type=search],input.disabled[type=text],input.disabled[type=url],input[disabled][type=email],input[disabled][type=number],input[disabled][type=password],input[disabled][type=search],input[disabled][type=text],input[disabled][type=url],select.disabled,select[disabled],textarea.disabled,textarea[disabled]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAMUlEQVQIW2NkwAGuXbv2nxGbHEhCS0uLEUMSJgHShCKJLIEiiS4Bl8QmAZbEJQGSBAC62BuJ+tt7zgAAAABJRU5ErkJggg==)}.input-base:focus,input[type=email]:focus,input[type=number]:focus,input[type=password]:focus,input[type=search]:focus,input[type=text]:focus,input[type=url]:focus,select:focus,textarea:focus{outline:0}#html-editor{display:none}#markdown-editor{position:relative;z-index:5}#markdown-editor textarea{font-family:Roboto Mono;font-style:normal;font-weight:400;padding:6px 16px;color:#444;border-radius:0;max-height:100%;-ms-flex:1;flex:1;border:0;width:100%}#markdown-editor textarea:focus{outline:0}#markdown-editor .markdown-display,#markdown-editor .markdown-editor-wrap{-ms-flex:1;flex:1;position:relative}#markdown-editor .markdown-editor-wrap{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;border:1px solid #ddd}#markdown-editor .markdown-display{padding:0 16px;margin-left:-1px;overflow-y:scroll}#markdown-editor .markdown-display .page-content{margin:0 auto}.editor-toolbar{width:100%;padding:6px 16px;font-family:Roboto Mono;font-size:11px;line-height:1.6;border-bottom:1px solid #ddd;background-color:#eee;-ms-flex:none;flex:none}.editor-toolbar:after{content:'';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}label.inline{display:inline-block}label.checkbox,label.radio{font-weight:400}label.checkbox input[type=checkbox],label.checkbox input[type=radio],label.radio input[type=checkbox],label.radio input[type=radio]{margin-right:6px}label+p.small{margin-bottom:.8em}.toggle-switch{display:inline-block;background-color:#bbb;width:36px;height:14px;border-radius:7px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.toggle-switch,.toggle-switch:after{position:relative;transition:all .12s ease-in-out}.toggle-switch:after{content:'';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 textarea{display:block;width:100%;min-height:64px}.form-group .text-neg,.form-group .text-pos{padding:6px 0}.description-input textarea,.inline-input-style,.title-input input[type=text]{border:2px dotted #bbb;display:block;width:100%;padding:6px 12px}.title-input .input{width:100%}.description-input label,.title-input label{margin-top:16px;color:#666}.title-input input[type=text]{margin-top:0;padding-right:0;width:100%;color:#444}.title-input.page-title{font-size:.8em}.title-input.page-title .input{border:0;margin-bottom:-1px}.title-input.page-title input[type=text]{max-width:840px;margin:0 auto;border:none}.page-title input{display:block;width:100%;font-size:1.4em}.description-input textarea{font-size:15px;color:#666;width:100%}.search-box,div[editor-type=markdown] .title-input.page-title input[type=text]{max-width:100%}.search-box{position:relative}.search-box button{background-color:transparent;border:none;color:#0288d1;padding:0;margin:0;cursor:pointer;margin-left:12px}.search-box button[type=submit]{margin-left:-24px}.search-box input{padding-right:24px;width:300px;max-width:100%}input.outline{border:0;border-bottom:2px solid #ddd;border-radius:0}input.outline:active,input.outline:focus{border:0;border-bottom:2px solid #aaa;outline:0}#login-form label[for=remember]{margin:0}#login-form label.toggle-switch{margin-left:32px}.image-picker img{background-color:#bbb}div[toggle-switch]{height:18px;width:150px}table{min-width:100px;max-width:100%}table thead{background-color:#f8f8f8;font-weight:500}table td,table th{min-width:10px;padding:6px 8px;border:1px solid #ddd;overflow:auto;line-height:1.2}table td p,table th p{margin:0}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;margin:0}table.table th{font-weight:700}table.table tr:hover{background-color:#eee}table.no-style td{border:0;padding:0}table.list-table{margin:-6px}table.list-table td{border:0;vertical-align:middle;padding:6px}header{display:block;z-index:2;top:0;background-color:#0288d1;color:#fff;border-bottom:1px solid #ddd}header .padded{padding:16px}header .links{display:inline-block;vertical-align:top;margin-right:32px}@media screen and (max-width:992px){header .links{margin-right:16px}}header .links a{display:inline-block;padding:24px;color:#fff}header .links a:last-child{padding-right:0}@media screen and (max-width:992px){header .links a{padding:24px 12px}}header .avatar,header .user-name{display:inline-block}header .avatar{width:30px;height:30px}header .user-name{padding-top:24px;display:inline-block;cursor:pointer}header .user-name,header .user-name>*{vertical-align:top}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}}@media screen and (max-width:992px){header{text-align:center}header .float.right{float:none}}@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;display:inline-block;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{vertical-align:top;margin-left:-24px;color:#fff;top:6px;right:4px;display:inline-block;position:absolute}form.search-box button:hover{color:#fff}.logo{display:inline-block}.logo:hover{color:#fff;text-decoration:none}.logo-text{display:inline-block;font-size:1.8em;color:#fff;font-weight:400;padding:24px 24px 24px 0;vertical-align:top;line-height:1}.logo-image{margin:16px 12px 16px 0;vertical-align:top;height:43px}.breadcrumbs span.sep{color:#aaa;padding:0 6px}.faded a,.faded button,.faded span,.faded span>div{color:#666}.faded .text-button{opacity:.5;transition:all .12s ease-in-out}.faded .text-button:hover{opacity:1;text-decoration:none}.faded span.faded-text{display:inline-block;padding:12px}.faded-small{color:#000;font-size:.9em;background-color:rgba(21,101,192,.15)}.action-buttons .text-button,.breadcrumbs .text-button{display:inline-block;padding:12px}.action-buttons .text-button:last-child,.breadcrumbs .text-button:last-child{padding-right:0}.action-buttons{text-align:right}.action-buttons.text-left{text-align:left}.action-buttons.text-left .text-button{padding-right:16px;padding-left:0}.action-buttons.text-center,.nav-tabs{text-align:center}.nav-tabs .tab-item,.nav-tabs a{padding:16px;display:inline-block;color:#666;cursor:pointer}.nav-tabs .tab-item.selected,.nav-tabs a.selected{border-bottom:2px solid #0288d1}.page-list h3{margin:24px 0 6px;font-size:1.666em}.page-list a.chapter{color:#ef7c3c}.page-list .inset-list{display:none;overflow:hidden;margin-bottom:24px}.page-list h4{display:block;margin:12px 0 0;border-left:5px solid #0288d1;padding:6px 0 6px 16px}.page-list h4.draft{border-left-color:#9a60da}.page-list hr{margin-top:0}.page-list .book,.page-list .chapter,.page-list .page{padding-left:24px}.page-list .page{border-left:5px solid #0288d1}.page-list .page.draft{border-left:5px solid #9a60da}.page-list .page.draft .text-page{color:#9a60da}.page-list .chapter{border-left:5px solid #ef7c3c}.page-list .book{border-left:5px solid #009688}.page-list .meta{margin-top:-16px;font-size:.95em}.page-list .meta span{margin-right:12px}.chapter-toggle{cursor:pointer;margin:0 0 24px;transition:all .18s ease-in-out;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.chapter-toggle i.zmdi-caret-right{transition:all .18s ease-in-out;transform:rotate(0deg);transform-origin:25% 50%}.chapter-toggle.open{margin-bottom:0}.chapter-toggle.open i.zmdi-caret-right{transform:rotate(90deg)}.page-nav-list{margin-left:2px;list-style:none}.page-nav-list li{padding-left:6px;border-left:2px solid #888;margin-bottom:4px}.page-nav-list li a{color:#555}.page-nav-list .nav-H2{margin-left:12px;font-size:.95em}.page-nav-list .nav-H3{margin-left:24px;font-size:.9em}.page-nav-list .nav-H4{margin-left:36px;font-size:.85em}.page-nav-list .nav-H5{margin-left:48px;font-size:.8em}.page-nav-list .nav-H6{margin-left:60px;font-size:.75em}.book-tree{padding:24px 0 0;position:relative;right:0;top:0;transition:.24s ease-in-out;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:hover{text-decoration:none}.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{float:left}.activity-list-item .left+.right{margin-left:42px}ul.pagination{display:inline-block;list-style:none;margin:16px 0;padding-left:1px}ul.pagination li{float:left}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}.compact ul.pagination{margin:0}.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>p.empty-text{display:block;font-size:15px}.entity-list.compact hr{margin:0}.dropdown-container{display:inline-block;vertical-align:top;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 li.padded{padding:6px 16px}.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:12px;padding-right:0;display:inline-block;width:16px}.dropdown-container ul li.border-bottom{border-bottom:1px solid #ddd}#page-show>.row .col-md-9{z-index:2}#page-show>.row .col-md-3{z-index:1}.page-editor{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}.page-editor .faded-small{height:auto}.page-editor .edit-area{-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column}.draft-notification{pointer-events:none;transform:scale(0);transition:transform .12s ease-in-out;transform-origin:50% 50%}.draft-notification.visible{transform:scale(1)}.page-style.editor{padding:0!important}.page-content{max-width:840px;overflow-wrap:break-word}.page-content .align-left{text-align:left}.page-content img.align-left,.page-content table.align-left{float:left!important;margin:6px 12px 6px 0}.page-content .align-right{float:right!important}.page-content img.align-right,.page-content table.align-right{text-align:right;margin:6px 0 6px 12px}.page-content .align-center{text-align:center}.page-content img{max-width:100%;height:auto}.page-content .title-input input[type=text],.page-content h1,.page-content h2,.page-content h3,.page-content h4,.page-content h5,.page-content h6,.page-content pre,.title-input .page-content input[type=text]{clear:left}.page-content hr{clear:both;margin:16px 0}.page-content table{-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;table-layout:fixed;max-width:100%;height:auto!important}.pointer-container{position:relative;display:none;left:0;z-index:10}.pointer{border:1px solid #ccc;display:inline-block;padding:12px;border-radius:4px;box-shadow:0 0 8px 1px hsla(0,3%,83%,.35);top:-60px;width:272px;z-index:55}.pointer,.pointer:before{position:absolute;background-color:#fff}.pointer:before{left:50%;bottom:-9px;width:16px;height:16px;margin-left:-8px;content:'';display:block;transform:rotate(45deg);transform-origin:50% 50%;border-bottom:1px solid #ccc;border-right:1px solid #ccc;z-index:56}.pointer input{background-color:#fff;border:1px solid #ddd;color:#666;width:172px;z-index:40}.pointer button,.pointer input{position:relative;border-radius:0;height:28px;font-size:12px;vertical-align:top}.pointer>i{color:#888;font-size:18px;padding-top:4px}.pointer .button{line-height:1;margin:0 0 0 -4px;box-shadow:none}.floating-toolbox{background-color:#fff;border:1px solid #ddd;right:64px;z-index:99;width:48px;overflow:hidden;-ms-flex-align:stretch;align-items:stretch;-ms-flex-direction:row;flex-direction:row;display:-ms-flexbox;display:flex;transition:width .18s ease-in-out;margin-top:-1px;min-height:0}.floating-toolbox.open{width:480px}.floating-toolbox [toolbox-toggle] i{transition:transform .18s ease-in-out}.floating-toolbox [toolbox-toggle]{transition:background-color .18s ease-in-out}.floating-toolbox.open [toolbox-toggle]{background-color:rgba(255,0,0,.29)}.floating-toolbox.open [toolbox-toggle] i{transform:rotate(180deg)}.floating-toolbox>div{-ms-flex:1;flex:1;position:relative}.floating-toolbox .tabs{display:block;border-right:1px solid #ddd;width:48px;-ms-flex:0 1 auto;flex:0 1 auto}.floating-toolbox .tabs i{color:rgba(0,0,0,.5);padding:0;margin:0}.floating-toolbox .tabs>span{display:block;cursor:pointer;padding:12px 16px;font-size:13.5px;line-height:1.6;border-bottom:1px solid hsla(0,0%,100%,.3)}.floating-toolbox.open .tabs>span.active{color:#444;background-color:rgba(0,0,0,.1)}.floating-toolbox div[tab-content]{padding-bottom:45px;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;min-height:0;overflow-y:scroll}.floating-toolbox div[tab-content] .padded{-ms-flex:1;flex:1;padding-top:0}.floating-toolbox h4{font-size:24px;margin:16px 0 0;padding:0 24px 12px}.floating-toolbox .tags input{max-width:100%;width:100%;min-width:50px}.floating-toolbox .tags td{padding-right:12px;padding-top:12px;position:relative}.floating-toolbox button.pos{position:absolute;bottom:0;display:block;width:100%;padding:12px;height:45px;border:0;margin:0;box-shadow:none;border-radius:0}.floating-toolbox button.pos:hover{box-shadow:none}.floating-toolbox .handle{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:move;color:#999}.floating-toolbox form{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;overflow-y:scroll}[tab-content]{display:none}.tag-display{margin:32px 16px;border:1px solid #ddd;min-width:180px;max-width:320px;opacity:.7;z-index:5;position:relative}.tag-display table{width:100%;margin:0;padding:0}.tag-display .heading th{padding:6px 12px;color:#333;font-weight:400}.tag-display td{border:0;border-bottom:1px solid #ddd;padding:6px 12px;color:#444}.tag-display .tag-value{color:#888}.tag-display tr:last-child td{border-bottom:none}.tag-display .tag{padding:12px}.suggestion-box{position:absolute;background-color:#fff;border:1px solid #bbb;box-shadow:0 0 4px 1px #ccc;list-style:none;z-index:100;padding:0;margin:0;border-radius:3px}.suggestion-box li{display:block;padding:6px 12px;border-bottom:1px solid #ddd}.suggestion-box li:last-child{border-bottom:0}.suggestion-box li.active{background-color:#eee}table{border-spacing:0;border-collapse:collapse} \ 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;-ms-user-select:none}*{box-sizing:border-box}html{background-color:#FFF;height:100%;overflow-y:scroll}html.flexbox{overflow-y:hidden}body{font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}button{font-size:100%}.title-input input[type=text],h1{font-size:3.425em;line-height:1.22222222em;margin-top:.48888889em;margin-bottom:.48888889em}h3,h4,h5,h6{margin-top:.78571429em}h2,h3,h4{margin-bottom:.43137255em}h2{font-size:2.8275em;line-height:1.294117647em;margin-top:.8627451em}h3{font-size:2.333em;line-height:1.571428572em}h4{font-size:1.666em;line-height:1.375em}.title-input input[type=text],h1,h2,h3,h4,h5,h6{font-weight:400;position:relative;display:block;color:#555}.title-input input[type=text] .subheader,h1 .subheader,h2 .subheader,h3 .subheader,h4 .subheader,h5 .subheader,h6 .subheader{font-size:.5em;line-height:1em;color:#969696}h5{font-size:1.4em}h5,h6{font-weight:500;line-height:1.2em;margin-bottom:.66em}.link,a{color:#0288D1;cursor:pointer;text-decoration:none;-webkit-transition:color ease-in-out 80ms;transition:color ease-in-out 80ms;line-height:1.6}.link:hover,.underlined,a:hover{text-decoration:underline}.toggle-switch,.toggle-switch:after{-webkit-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:-webkit-linear-gradient(left,#fff,#e3e0e0 20%,#e3e0e0 80%,#fff);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}body.flexbox,ol,ul{overflow:hidden}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:#969696}.text-primary,.text-primary:hover,p .primary,p .primary:hover,p.primary,p.primary:hover,span.primary,span.primary:hover{color:#0288D1}.text-secondary,.text-secondary:hover,p .secondary,p .secondary:hover,p.secondary,p.secondary:hover,span.secondary,span.secondary:hover{color:#e27b41}.text-book,.text-book:hover{color:#009688}.text-page,.text-page:hover{color:#0288D1}.text-page.draft,.text-page.draft:hover{color:#9A60DA}.text-chapter,.text-chapter:hover{color:#ef7c3c}.faded .text-book:hover{color:#009688!important}.faded .text-chapter:hover{color:#ef7c3c!important}.faded .text-page:hover{color:#0288D1!important}span.highlight{font-weight:700;padding:2px 4px}ul{padding-left:20.8px;list-style:disc}ol{list-style:decimal;padding-left:32px}.book-tree .sidebar-page-list li a:hover,.faded .text-button:hover,.logo:hover,.page-content del,.page-content ins{text-decoration:none}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-bigger{font-size:1.1em}.text-large{font-size:1.6666em}.no-color{color:inherit}.header-group{margin:16px 0}.header-group .title-input input[type=text],.header-group h1,.header-group h2,.header-group h3,.header-group h4,.header-group h5,.header-group h6,.title-input .header-group input[type=text]{margin:0}span.sep{color:#BBB;padding:0 6px}.list>*{display:block}.action-header .title-input input[type=text],.action-header h1,.title-input .action-header input[type=text]{margin-top:16px}i{padding-right:6px}body.flexbox{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-align:stretch;align-items:stretch;height:100%;min-height:100%;max-height:100%}body.flexbox #content{-webkit-box-flex:1;flex:1;display:-webkit-box;display:flex;min-height:0}.flex-fill{display:-webkit-box;display:flex;-webkit-box-align:stretch;align-items:stretch;min-height:0}.flex-fill .flex,.flex-fill.flex{min-height:0;-webkit-box-flex:1;flex:1}.flex-child>div{-webkit-box-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.medium{max-width:992px}.container.small{max-width:840px}.center-box{margin:32px auto 0;padding:16px 48px 64px;max-width:346px;display:inline-block;text-align:left;vertical-align:top}.center-box.login{background-color:#EEE;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border:1px solid #DDD}.row{margin-left:-16px;margin-right:-16px}.float{float:left}.float.right{float:right}.block{display:block;position:relative}.inline{display:inline}.block.inline{display:inline-block}.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{position:relative;min-height:1px;padding-left:16px;padding-right:16px}.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.row:after,.row:before{content:" ";display:table}.clearfix:after,.container-fluid:after,.container:after,.row:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.shaded{background-color:#f1f1f1}.shaded.pos{background-color:#d6ead7}.shaded.neg{background-color:#f4a9a9}.shaded.primary{background-color:#a1ddfe}.shaded.secondary{background-color:#f6d7c6}.bordered{border:1px solid #BBB}.bordered.pos{border-color:#52A256}.bordered.neg{border-color:#E84F4F}.bordered.primary{border-color:#0288D1}.bordered.secondary{border-color:#e27b41}.bordered.thick{border-width:2px}.rounded{border-radius:3px}.nopadding{padding:0}.padded{padding:24px}.padded.large{padding:32px}.padded>h1:first-child,.padded>h2:first-child,.padded>h3:first-child,.padded>h4:first-child,.title-input .padded>input[type=text]:first-child{margin-top:.1em}.padded-top,.padded-vertical{padding-top:16px}.padded-top.large,.padded-vertical.large{padding-top:32px}.padded-bottom,.padded-vertical{padding-bottom:16px}.padded-bottom.large,.padded-vertical.large{padding-bottom:32px}.padded-horizontal,.padded-left{padding-left:16px}.padded-horizontal.large,.padded-left.large{padding-left:32px}.padded-horizontal,.padded-right{padding-right:16px}.padded-horizontal.large,.padded-right.large{padding-right:32px}.margins{margin:24px}.margins.large{margin:32px}.margin-top,.margins-vertical{margin-top:16px}.margin-top.large,.margins-vertical.large{margin-top:32px}.margin-bottom,.margins-vertical{margin-bottom:16px}.margin-bottom.large,.margins-vertical.large{margin-bottom:32px}.margin-left,.margins-horizontal{margin-left:16px}.margin-left.large,.margins-horizontal.large{margin-left:32px}.margin-right,.margins-horizontal{margin-right:16px}.margin-right.large,.margins-horizontal.large{margin-right:32px}.callout{border-left:3px solid #BBB;background-color:#EEE;padding:12px;display:-webkit-box;display:flex}.callout:before{font-family:Material-Design-Iconic-Font;padding-right:12px;display:inline-block}.callout.success{border-left-color:#52A256;background-color:#e7f3e7;color:#376c39}.callout.success:before{content:'\f269'}.callout.danger{border-left-color:#E84F4F;background-color:#fce8e8;color:#b91818}.callout.danger:before{content:'\f1f2'}.callout.info{border-left-color:#0288D1;background-color:#d3efff;color:#015380}.callout.info:before{content:'\f1f8'}.callout.warning{border-left-color:#e27b41;background-color:#faeae0;color:#b6531c}.callout.warning:before{content:'\f1f1'}.editor-toolbar:after,.pointer:before,.toggle-switch:after{content:''}.input-base,input[type=number],input[type=email],input[type=search],input[type=url],input[type=password],input[type=text],select,textarea{background-color:#FFF;border-radius:3px;border:1px solid #CCC;display:inline-block;font-size:14px;font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif;padding:6px;color:#222;width:250px;max-width:100%}#markdown-editor textarea,.editor-toolbar{width:100%;font-family:'Roboto Mono'}.input-base.invalid,.input-base.neg,input.invalid[type=number],input.invalid[type=email],input.invalid[type=search],input.invalid[type=url],input.invalid[type=password],input.invalid[type=text],input.neg[type=number],input.neg[type=email],input.neg[type=search],input.neg[type=url],input.neg[type=password],input.neg[type=text],select.invalid,select.neg,textarea.invalid,textarea.neg{border:1px solid #E84F4F}.input-base.pos,.input-base.valid,input.pos[type=number],input.pos[type=email],input.pos[type=search],input.pos[type=url],input.pos[type=password],input.pos[type=text],input.valid[type=number],input.valid[type=email],input.valid[type=search],input.valid[type=url],input.valid[type=password],input.valid[type=text],select.pos,select.valid,textarea.pos,textarea.valid{border:1px solid #52A256}.input-base.disabled,.input-base[disabled],input.disabled[type=number],input.disabled[type=email],input.disabled[type=search],input.disabled[type=url],input.disabled[type=password],input.disabled[type=text],input[disabled][type=number],input[disabled][type=email],input[disabled][type=search],input[disabled][type=url],input[disabled][type=password],input[disabled][type=text],select.disabled,select[disabled],textarea.disabled,textarea[disabled]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAMUlEQVQIW2NkwAGuXbv2nxGbHEhCS0uLEUMSJgHShCKJLIEiiS4Bl8QmAZbEJQGSBAC62BuJ+tt7zgAAAABJRU5ErkJggg==)}.input-base:focus,input[type=number]:focus,input[type=email]:focus,input[type=search]:focus,input[type=url]:focus,input[type=password]:focus,input[type=text]:focus,select:focus,textarea:focus{outline:0}#html-editor{display:none}#markdown-editor{position:relative;z-index:5}#markdown-editor textarea{font-style:normal;font-weight:400;padding:6px 16px;color:#444;border-radius:0;max-height:100%;-webkit-box-flex:1;flex:1;border:0}#markdown-editor textarea:focus{outline:0}#markdown-editor .markdown-display,#markdown-editor .markdown-editor-wrap{-webkit-box-flex:1;flex:1;position:relative}#markdown-editor .markdown-editor-wrap,.page-editor{flex-direction:column;-webkit-box-orient:vertical;-webkit-box-direction:normal}#markdown-editor .markdown-editor-wrap{display:-webkit-box;display:flex;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-box-flex:0;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;-webkit-user-select:none;-moz-user-select:none;user-select:none}.toggle-switch:after{display:block;position:relative;left:0;margin-top:-3px;width:20px;height:20px;border-radius:50%;background-color:#fafafa;border:1px solid #CCC;box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);transition:all ease-in-out 120ms}.toggle-switch.active{background-color:rgba(82,162,86,.4)}.toggle-switch.active:after{left:16px;background-color:#52A256;border:#305e32}.toggle-switch-checkbox{display:none}input:checked+.toggle-switch{background-color:rgba(82,162,86,.4)}input:checked+.toggle-switch:after{left:16px;background-color:#52A256;border:#305e32}.form-group{margin-bottom:12px}.form-group textarea{display:block;width:100%;min-height:64px}.form-group .text-neg,.form-group .text-pos{padding:6px 0}.description-input textarea,.inline-input-style,.title-input input[type=text]{border:2px dotted #BBB;display:block;width:100%;padding:6px 12px}.title-input .input{width:100%}.description-input label,.title-input label{margin-top:16px;color:#666}.title-input input[type=text]{margin-top:0;padding-right:0;width:100%;color:#444}.title-input.page-title{font-size:.8em}.title-input.page-title .input{border:0;margin-bottom:-1px}.title-input.page-title input[type=text]{max-width:840px;margin:0 auto;border:none}.search-box,div[editor-type=markdown] .title-input.page-title input[type=text],table{max-width:100%}.page-title input{display:block;width:100%;font-size:1.4em}.description-input textarea{font-size:15px;color:#666;width:100%}.search-box{position:relative}.search-box button{background-color:transparent;border:none;color:#0288D1;padding:0;margin:0 0 0 12px;cursor:pointer}.search-box button[type=submit]{margin-left:-24px}.search-box input{padding-right:24px;width:300px;max-width:100%}input.outline{border:0;border-bottom:2px solid #DDD;border-radius:0}input.outline:active,input.outline:focus{border:0;border-bottom:2px solid #AAA;outline:0}#login-form label[for=remember]{margin:0}#login-form label.toggle-switch{margin-left:32px}.image-picker img{background-color:#BBB}div[toggle-switch]{height:18px;width:150px}table{min-width:100px;border-spacing:0;border-collapse:collapse}table thead{background-color:#F8F8F8;font-weight:500}table td,table th{min-width:10px;padding:6px 8px;border:1px solid #DDD;overflow:auto;line-height:1.2}table td p,table th p{margin:0}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;margin:0}table.table th{font-weight:700}table.table tr:hover{background-color:#EEE}table.file-table td,table.no-style td{border:0;padding:0}table.list-table{margin:-6px}table.list-table td{border:0;vertical-align:middle;padding:6px}.dropdown-container,.logo-image,.logo-text,form.search-box button,header .links,header .user-name,header .user-name>*{vertical-align:top}table.file-table td{padding:6px}table.file-table .ui-sortable-helper{display:table}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;-webkit-transition:all ease-in-out 120ms;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 h4{margin:24px 0 6px;font-size:1.666em}.page-list a.chapter{color:#ef7c3c}.page-list .inset-list{display:none;overflow:hidden;margin-bottom:24px}.page-list h5{display:block;margin:12px 0 0;border-left:5px solid #0288D1;padding:6px 0 6px 16px;font-size:1.1em;font-weight:400}.page-list h5.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;-webkit-transition:all ease-in-out 180ms;transition:all ease-in-out 180ms;-webkit-user-select:none;-moz-user-select:none;user-select:none}.chapter-toggle i.zmdi-caret-right{-webkit-transition:all ease-in-out 180ms;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)}.sidebar-page-nav{list-style:none;margin:12px 0 16px 2px;border-left:2px dotted #BBB}.sidebar-page-nav li{padding-left:12px;margin-bottom:4px;font-size:.95em}.sidebar-page-nav .h1,.sidebar-page-nav .h2{margin-left:-2px}.sidebar-page-nav .h3{margin-left:12px}.sidebar-page-nav .h4{margin-left:24px}.sidebar-page-nav .h5{margin-left:36px}.sidebar-page-nav .h6{margin-left:48px}.book-tree{padding:6px 0 0;position:relative;right:0;top:0;-webkit-transition:ease-in-out 240ms;transition:ease-in-out 240ms;-webkit-transition-property:right,border;transition-property:right,border;border-left:0 solid #FFF;background-color:#FFF}.book-tree.fixed{position:fixed;top:0;padding-left:24px;padding-right:39px;width:30%;right:-15px;height:100%;overflow-y:scroll;-ms-overflow-style:none;border-left:1px solid #DDD}.book-tree.fixed::-webkit-scrollbar{width:0!important}.book-tree h4{padding:16px 12px 0}.book-tree h4 i{padding-right:12px}.book-tree .sidebar-page-list{list-style:none;margin:6px 0 0;padding-left:0;border-left:5px solid #009688}.book-tree .sidebar-page-list li a{display:block;border-bottom:none;padding:6px 0 6px 12px}.book-tree .sidebar-page-list li a i{padding-right:8px}.book-tree .sidebar-page-list a,.book-tree .sidebar-page-list li{display:block}.book-tree .sidebar-page-list a.bold{color:#EEE!important}.book-tree .sidebar-page-list ul{list-style:none;margin:0}.book-tree .sidebar-page-list .book{color:#009688!important}.book-tree .sidebar-page-list .book.selected{background-color:rgba(0,150,136,.29)}.book-tree .sidebar-page-list .chapter{color:#ef7c3c!important}.book-tree .sidebar-page-list .chapter.selected{background-color:rgba(239,124,60,.12)}.book-tree .sidebar-page-list .chapter-toggle{padding-left:12px}.book-tree .sidebar-page-list .list-item-chapter{border-left:5px solid #ef7c3c;margin:10px;display:block}.book-tree .sidebar-page-list .list-item-page{border-bottom:none;border-left:5px solid #0288D1;margin:10px}.book-tree .sidebar-page-list .page{color:#0288D1!important;border-bottom:none}.book-tree .sidebar-page-list .page.selected{background-color:rgba(2,136,209,.1)}.book-tree .sidebar-page-list .list-item-page.draft{border-left:5px solid #9A60DA}.book-tree .sidebar-page-list .list-item-page.draft a.page,.book-tree .sidebar-page-list .page.draft .page{color:#9A60DA!important}.book-tree .sidebar-page-list .sub-menu{display:none;padding-left:0}.book-tree .sidebar-page-list .sub-menu.open{display:block}.sortable-page-list,.sortable-page-list ul{list-style:none;background-color:#FFF}.sort-box{margin-bottom:16px;padding:0 24px;border-left:4px solid #009688}.sortable-page-list,.sortable-page-list>ul{margin-left:0}.sortable-page-list ul{margin-bottom:0;margin-top:0;box-shadow:0 0 1px 0 rgba(0,0,0,.1)}.sortable-page-list li{border:1px solid #DDD;padding:6px 12px;margin-top:-1px;min-height:38px}.sortable-page-list li.text-chapter{border-left:2px solid #ef7c3c}.sortable-page-list li.text-page{border-left:2px solid #0288D1}.sortable-page-list li:first-child{margin-top:6px}.sortable-page-list li.placeholder{position:relative}.sortable-page-list li.placeholder:before{position:absolute}.activity-list-item{padding:12px 0;color:#888;border-bottom:1px solid #EEE;font-size:.9em}.activity-list-item .left+.right{margin-left:42px}ul.pagination{display:inline-block;list-style:none;margin:16px 0;padding-left:1px}ul.pagination li:first-child a,ul.pagination li:first-child span{border-radius:3px 0 0 3px}ul.pagination li:last-child a,ul.pagination li:last-child span{border-radius:0 3px 3px 0}ul.pagination a,ul.pagination span{display:block;padding:3px 12px;border:1px solid #CCC;margin-left:-1px;color:#888;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.compact ul.pagination,.entity-list h4{margin:0}ul.pagination a.disabled,ul.pagination span.disabled{cursor:not-allowed}ul.pagination li.active span{background-color:rgba(2,136,209,.8);color:#EEE;border-color:rgba(2,136,209,.8)}ul.pagination a{color:#0288D1}.entity-list>div{padding:16px 0}.entity-list p{margin:6px 0 0}.entity-list hr{margin:0}.entity-list .text-small.text-muted{color:#AAA;font-size:.75em;margin-top:6px}.entity-list .page.draft .text-page{color:#9A60DA}.entity-list.compact{font-size:.6em}.entity-list.compact a,.entity-list.compact h4{line-height:1.2}.entity-list.compact p{display:none;font-size:12px;padding-top:6px;margin:0}.entity-list.compact>p.empty-text{display:block;font-size:15px}.entity-list.compact hr{margin:0}.dropdown-container{display:inline-block;position:relative}.dropdown-container ul{display:none;position:absolute;z-index:999;top:0;list-style:none;right:0;margin:16px 0;background-color:#FFF;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border-radius:1px;border:1px solid #EEE;min-width:180px;padding:6px 0;color:#555;text-align:left!important}.dropdown-container ul.wide{min-width:220px}.dropdown-container ul .text-muted{color:#999}.dropdown-container ul li.padded{padding:6px 16px}.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:12px;padding-right:0;display:inline-block;width:16px}.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-box;display:flex;-webkit-box-align:stretch;align-items:stretch}.page-editor .faded-small{height:auto}.page-editor .edit-area{-webkit-box-flex:1;flex:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}.draft-notification{pointer-events:none;-webkit-transform:scale(0);transform:scale(0);-webkit-transition:-webkit-transform ease-in-out 120ms;transition:-webkit-transform ease-in-out 120ms;transition:transform ease-in-out 120ms;transition:transform ease-in-out 120ms,-webkit-transform ease-in-out 120ms;-webkit-transform-origin:50% 50%;transform-origin:50% 50%}.draft-notification.visible{-webkit-transform:scale(1);transform:scale(1)}.page-style.editor{padding:0!important}.page-content{max-width:840px;overflow-wrap:break-word}.page-content .align-left{text-align:left}.page-content img.align-left,.page-content table.align-left{float:left!important;margin:6px 12px 6px 0}.page-content .align-right{float:right!important}.page-content img.align-right,.page-content table.align-right{text-align:right;margin:6px 0 6px 12px}.page-content .align-center{text-align:center}.page-content img{max-width:100%;height:auto}.page-content .title-input input[type=text],.page-content h1,.page-content h2,.page-content h3,.page-content h4,.page-content h5,.page-content h6,.page-content pre,.title-input .page-content input[type=text]{clear:left}.page-content hr{clear:both;margin:16px 0}.page-content table{-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;table-layout:fixed;max-width:100%;height:auto!important}.page-content ins{background:#dbffdb}.page-content del{background:#FFECEC}.pointer-container{position:relative;display:none;left:0;z-index:10}.pointer,.pointer:before{position:absolute;background-color:#FFF}.pointer{border:1px solid #CCC;display:inline-block;padding:12px;border-radius:4px;box-shadow:0 0 8px 1px rgba(212,209,209,.35);top:-60px;width:272px;z-index:55}.pointer:before{left:50%;bottom:-9px;width:16px;height:16px;margin-left:-8px;display:block;-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}.floating-toolbox{background-color:#FFF;border:1px solid #DDD;right:64px;width:48px;overflow:hidden;-webkit-box-align:stretch;align-items:stretch;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;display:-webkit-box;display:flex;-webkit-transition:width ease-in-out 180ms;transition:width ease-in-out 180ms;margin-top:-1px;min-height:0}.floating-toolbox div[toolbox-tab-content],.floating-toolbox form{-webkit-box-orient:vertical;-webkit-box-direction:normal;overflow-y:scroll}.floating-toolbox.open{width:480px}.floating-toolbox [toolbox-toggle] i{-webkit-transition:-webkit-transform ease-in-out 180ms;transition:-webkit-transform ease-in-out 180ms;transition:transform ease-in-out 180ms;transition:transform ease-in-out 180ms,-webkit-transform ease-in-out 180ms}.floating-toolbox [toolbox-toggle]{-webkit-transition:background-color ease-in-out 180ms;transition:background-color ease-in-out 180ms}.floating-toolbox.open [toolbox-toggle]{background-color:rgba(255,0,0,.29)}.floating-toolbox.open [toolbox-toggle] i{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.floating-toolbox>div{-webkit-box-flex:1;flex:1;position:relative}.floating-toolbox .tabs{display:block;border-right:1px solid #DDD;width:48px;-webkit-box-flex:0;flex:0 1 auto}.floating-toolbox .tabs i{color:rgba(0,0,0,.5);padding:0;margin:0}.floating-toolbox .tabs>span{display:block;cursor:pointer;padding:12px 16px;font-size:13.5px;line-height:1.6;border-bottom:1px solid rgba(255,255,255,.3)}.floating-toolbox.open .tabs>span.active{color:#444;background-color:rgba(0,0,0,.1)}.floating-toolbox div[toolbox-tab-content]{padding-bottom:45px;display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1;flex-direction:column;min-height:0}.floating-toolbox div[toolbox-tab-content] .padded{-webkit-box-flex:1;flex:1;padding-top:0}.floating-toolbox h4{font-size:24px;margin:16px 0 0;padding:0 24px 12px}.floating-toolbox .tags input{max-width:100%;width:100%;min-width:50px}.floating-toolbox .tags td{padding-right:12px;padding-top:12px;position:relative}.floating-toolbox .handle{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:move;color:#999}.floating-toolbox form{display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1;flex-direction:column}.floating-toolbox table td,.floating-toolbox table th{overflow:visible}[toolbox-tab-content]{display:none}.tag-display{margin:32px 16px;border:1px solid #DDD;min-width:180px;max-width:320px;opacity:.7;z-index:5;position:relative}.tag-display table{width:100%;margin:0;padding:0}.tag-display .heading th{padding:6px 12px;color:#333;font-weight:400}.tag-display td{border:0;border-bottom:1px solid #DDD;padding:6px 12px;color:#444}.tag-display .tag-value{color:#888}.tag-display tr:last-child td{border-bottom:none}.tag-display .tag{padding:12px}.suggestion-box{position:absolute;background-color:#FFF;border:1px solid #BBB;box-shadow:0 0 4px 1px #CCC;list-style:none;z-index:100;padding:0;margin:0;border-radius:3px}.suggestion-box li{display:block;padding:6px 12px;border-bottom:1px solid #DDD}.suggestion-box li:last-child{border-bottom:0}.suggestion-box li.active{background-color:#EEE} \ No newline at end of file diff --git a/public/css/print-styles.css b/public/css/print-styles.css index 881bd008600..0f8d8aaa3ce 100644 --- a/public/css/print-styles.css +++ b/public/css/print-styles.css @@ -1 +1 @@ -header{display:none}body{font-size:12px}.faded-small{display:none}.page-content{margin:0 auto}.print-hidden{display:none}.print-full-width{width:100%;float:none;display:block}h2{font-size:2em;line-height:1;margin-top:.6em;margin-bottom:.3em} \ No newline at end of file +.faded-small,.print-hidden,header{display:none}body{font-size:12px}.page-content{margin:0 auto}.print-full-width{width:100%;float:none;display:block}h2{font-size:2em;line-height:1;margin-top:.6em;margin-bottom:.3em} \ No newline at end of file diff --git a/public/css/styles.css b/public/css/styles.css index db93c51b4ee..215a92ca4d5 100644 --- a/public/css/styles.css +++ b/public/css/styles.css @@ -1 +1 @@ -.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-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:'';content:none}table{border-collapse:collapse;border-spacing:0}@font-face{font-family:Roboto;font-style:normal;font-weight:100;src:local("Roboto Thin"),local("Roboto-Thin"),url(../fonts/roboto-v15-cyrillic_latin-100.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-100.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:100;src:local("Roboto Thin Italic"),local("Roboto-ThinItalic"),url(../fonts/roboto-v15-cyrillic_latin-100italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-100italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:300;src:local("Roboto Light"),local("Roboto-Light"),url(../fonts/roboto-v15-cyrillic_latin-300.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-300.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:300;src:local("Roboto Light Italic"),local("Roboto-LightItalic"),url(../fonts/roboto-v15-cyrillic_latin-300italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-300italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:local("Roboto"),local("Roboto-Regular"),url(../fonts/roboto-v15-cyrillic_latin-regular.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-regular.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:400;src:local("Roboto Italic"),local("Roboto-Italic"),url(../fonts/roboto-v15-cyrillic_latin-italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:500;src:local("Roboto Medium"),local("Roboto-Medium"),url(../fonts/roboto-v15-cyrillic_latin-500.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-500.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:500;src:local("Roboto Medium Italic"),local("Roboto-MediumItalic"),url(../fonts/roboto-v15-cyrillic_latin-500italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-500italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:700;src:local("Roboto Bold"),local("Roboto-Bold"),url(../fonts/roboto-v15-cyrillic_latin-700.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-700.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:700;src:local("Roboto Bold Italic"),local("Roboto-BoldItalic"),url(../fonts/roboto-v15-cyrillic_latin-700italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-700italic.woff) format("woff")}@font-face{font-family:Roboto Mono;font-style:normal;font-weight:400;src:local("Roboto Mono"),local("RobotoMono-Regular"),url(../fonts/roboto-mono-v4-latin-regular.woff2) format("woff2"),url(../fonts/roboto-mono-v4-latin-regular.woff) format("woff")}*{box-sizing:border-box}html{background-color:#fff;height:100%;overflow-y:scroll}html.flexbox{overflow-y:hidden}body{font-family:Roboto,DejaVu Sans,Helvetica,Arial,sans-serif;font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}button{font-size:100%}.title-input input[type=text],h1{font-size:3.425em;line-height:1.22222222em;margin-top:.48888889em;margin-bottom:.48888889em}h2{font-size:2.8275em;line-height:1.294117647em;margin-top:.8627451em;margin-bottom:.43137255em}h3{font-size:1.75em;line-height:1.571428572em}h3,h4{margin-top:.78571429em;margin-bottom:.43137255em}h4{font-size:1em;line-height:1.375em}.title-input input[type=text],h1,h2,h3,h4{font-weight:400;position:relative;display:block;color:#555}.title-input input[type=text] .subheader,h1 .subheader,h2 .subheader,h3 .subheader,h4 .subheader{font-size:.5em;line-height:1em;color:#969696}.link,.text-button,a{color:#0288d1;cursor:pointer;text-decoration:none;transition:color 80ms ease-in-out;font-family:Roboto,DejaVu Sans,Helvetica,Arial,sans-serif;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(90deg,#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;white-space:pre;font-size:.8em;overflow:hidden;border-radius:4px;box-shadow:0 1px 2px 0 hsla(0,0%,4%,.06);border:1px solid hsla(0,0%,87%,.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}pre code{background-color:transparent;border:0;font-size:1em}.text-pos,.text-pos:hover,p.pos,p .pos,p.pos:hover,p .pos:hover,span.pos,span.pos:hover{color:#52a256}.text-neg,.text-neg:hover,p.neg,p .neg,p.neg:hover,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,p.primary:hover,p .primary:hover,span.primary,span.primary:hover{color:#0288d1}.text-secondary,.text-secondary:hover,p.secondary,p .secondary,p.secondary:hover,p .secondary:hover,span.secondary,span.secondary:hover{color:#e27b41}.text-book,.text-book:hover{color:#009688}.text-page,.text-page:hover{color:#0288d1}.text-page.draft,.text-page.draft:hover{color:#9a60da}.text-chapter,.text-chapter:hover{color:#ef7c3c}.faded .text-book:hover{color:#009688!important}.faded .text-chapter:hover{color:#ef7c3c!important}.faded .text-page:hover{color:#0288d1!important}span.highlight{font-weight:700;padding:2px 4px}ul{padding-left:20.8px;list-style:disc}ol,ul{overflow:hidden}ol{list-style:decimal;padding-left:32px}.underlined{text-decoration:underline}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-bigger{font-size:1.1em}.text-large{font-size:1.6666em}.no-color{color:inherit}.header-group{margin:16px 0}.header-group .title-input input[type=text],.header-group h1,.header-group h2,.header-group h3,.header-group h4,.header-group h5,.header-group h6,.title-input .header-group input[type=text]{margin:0}span.sep{color:#bbb;padding:0 6px}.list>*{display:block}.action-header .title-input input[type=text],.action-header h1,.title-input .action-header input[type=text]{margin-top:16px}i{padding-right:6px}body.flexbox{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;height:100%;min-height:100%;max-height:100%;overflow:hidden}body.flexbox #content{-ms-flex:1;flex:1}.flex-fill,body.flexbox #content{display:-ms-flexbox;display:flex;min-height:0}.flex-fill{-ms-flex-align:stretch;align-items:stretch}.flex-fill.flex,.flex-fill .flex{min-height:0;-ms-flex:1;flex:1}.flex-child>div{-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.medium{max-width:992px}.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-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12,.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12,.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12,.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{position:relative;min-height:1px;padding-left:16px;padding-right:16px}.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12{float:left}.col-xs-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-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12{float:left}.col-sm-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-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12{float:left}.col-md-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-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.row:after,.row:before{content:" ";display:table}.clearfix:after,.container-fluid:after,.container:after,.row:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.shaded{background-color:#f1f1f1}.shaded.pos{background-color:#d6ead7}.shaded.neg{background-color:#f4a9a9}.shaded.primary{background-color:#a1ddfe}.shaded.secondary{background-color:#f6d7c6}.bordered{border:1px solid #bbb}.bordered.pos{border-color:#52a256}.bordered.neg{border-color:#e84f4f}.bordered.primary{border-color:#0288d1}.bordered.secondary{border-color:#e27b41}.bordered.thick{border-width:2px}.rounded{border-radius:3px}.nopadding{padding:0}.padded{padding:24px}.padded.large{padding:32px}.padded>h1:first-child,.padded>h2:first-child,.padded>h3:first-child,.padded>h4:first-child,.title-input .padded>input[type=text]:first-child{margin-top:.1em}.padded-top,.padded-vertical{padding-top:16px}.padded-top.large,.padded-vertical.large{padding-top:32px}.padded-bottom,.padded-vertical{padding-bottom:16px}.padded-bottom.large,.padded-vertical.large{padding-bottom:32px}.padded-horizontal,.padded-left{padding-left:16px}.padded-horizontal.large,.padded-left.large{padding-left:32px}.padded-horizontal,.padded-right{padding-right:16px}.padded-horizontal.large,.padded-right.large{padding-right:32px}.margins{margin:24px}.margins.large{margin:32px}.margin-top,.margins-vertical{margin-top:16px}.margin-top.large,.margins-vertical.large{margin-top:32px}.margin-bottom,.margins-vertical{margin-bottom:16px}.margin-bottom.large,.margins-vertical.large{margin-bottom:32px}.margin-left,.margins-horizontal{margin-left:16px}.margin-left.large,.margins-horizontal.large{margin-left:32px}.margin-right,.margins-horizontal{margin-right:16px}.margin-right.large,.margins-horizontal.large{margin-right:32px}.callout{border-left:3px solid #bbb;background-color:#eee;padding:12px;display:-ms-flexbox;display:flex}.callout:before{font-family:Material-Design-Iconic-Font;padding-right:12px;display:inline-block}.callout.success{border-left-color:#52a256;background-color:#e7f3e7;color:#376c39}.callout.success:before{content:'\f269'}.callout.danger{border-left-color:#e84f4f;background-color:#fce8e8;color:#b91818}.callout.danger:before{content:'\f1f2'}.callout.info{border-left-color:#0288d1;background-color:#d3efff;color:#015380}.callout.info:before{content:'\f1f8'}.callout.warning{border-left-color:#e27b41;background-color:#faeae0;color:#b6531c}.callout.warning:before{content:'\f1f1'}.button,.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 .12s ease-in-out;box-shadow:0 .5px 1.5px 0 rgba(0,0,0,.21);background-color:#0288d1;color:#eee}.button-base:hover,.button:hover,input[type=button]:hover,input[type=submit]:hover{background-color:#02a2f9;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#eee}.button-base:active,.button:active,input[type=button]:active,input[type=submit]:active{background-color:#026ea9}.button-base:focus,.button:focus,input[type=button]:focus,input[type=submit]:focus{background-color:#0295e5;box-shadow:0 0 4px 1px #ccc;text-decoration:none;color:#eee}.button.pos,input[type=button].pos,input[type=submit].pos{background-color:#52a256;color:#eee}.button.pos:hover,input[type=button].pos:hover,input[type=submit].pos:hover{background-color:#69b36d;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#eee}.button.pos:active,input[type=button].pos:active,input[type=submit].pos:active{background-color:#448748}.button.pos:focus,input[type=button].pos:focus,input[type=submit].pos:focus{background-color:#5cac60;box-shadow:0 0 4px 1px #ccc;text-decoration:none;color:#eee}.button.neg,input[type=button].neg,input[type=submit].neg{background-color:#e84f4f;color:#eee}.button.neg:hover,input[type=button].neg:hover,input[type=submit].neg:hover{background-color:#ed7373;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#eee}.button.neg:active,input[type=button].neg:active,input[type=submit].neg:active{background-color:#e32b2b}.button.neg:focus,input[type=button].neg:focus,input[type=submit].neg:focus{background-color:#ea6161;box-shadow:0 0 4px 1px #ccc;text-decoration:none;color:#eee}.button.secondary,input[type=button].secondary,input[type=submit].secondary{background-color:#e27b41;color:#eee}.button.secondary:hover,input[type=button].secondary:hover,input[type=submit].secondary:hover{background-color:#e79464;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#eee}.button.secondary:active,input[type=button].secondary:active,input[type=submit].secondary:active{background-color:#d96321}.button.secondary:focus,input[type=button].secondary:focus,input[type=submit].secondary:focus{background-color:#e58753;box-shadow:0 0 4px 1px #ccc;text-decoration:none;color:#eee}.button.muted,input[type=button].muted,input[type=submit].muted{background-color:#888;color:#eee}.button.muted:hover,input[type=button].muted:hover,input[type=submit].muted:hover{background-color:#9c9c9c;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#eee}.button.muted:active,input[type=button].muted:active,input[type=submit].muted:active{background-color:#747474}.button.muted:focus,input[type=button].muted:focus,input[type=submit].muted:focus{background-color:#929292;box-shadow:0 0 4px 1px #ccc;text-decoration:none;color:#eee}.text-button{background-color:transparent;padding:0;margin:0;border:none}.text-button:active,.text-button:focus{outline:0}.text-button:hover{text-decoration:none}.text-button.neg{color:#e84f4f}.button-group:after{display:block;content:'';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}.button[disabled],.button[disabled]:hover{background-color:#bbb;cursor:default}.button[disabled]:hover{box-shadow:none}.input-base,input[type=email],input[type=number],input[type=password],input[type=search],input[type=text],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=email],input.invalid[type=number],input.invalid[type=password],input.invalid[type=search],input.invalid[type=text],input.invalid[type=url],input.neg[type=email],input.neg[type=number],input.neg[type=password],input.neg[type=search],input.neg[type=text],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=email],input.pos[type=number],input.pos[type=password],input.pos[type=search],input.pos[type=text],input.pos[type=url],input.valid[type=email],input.valid[type=number],input.valid[type=password],input.valid[type=search],input.valid[type=text],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=email],input.disabled[type=number],input.disabled[type=password],input.disabled[type=search],input.disabled[type=text],input.disabled[type=url],input[disabled][type=email],input[disabled][type=number],input[disabled][type=password],input[disabled][type=search],input[disabled][type=text],input[disabled][type=url],select.disabled,select[disabled],textarea.disabled,textarea[disabled]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAMUlEQVQIW2NkwAGuXbv2nxGbHEhCS0uLEUMSJgHShCKJLIEiiS4Bl8QmAZbEJQGSBAC62BuJ+tt7zgAAAABJRU5ErkJggg==)}.input-base:focus,input[type=email]:focus,input[type=number]:focus,input[type=password]:focus,input[type=search]:focus,input[type=text]:focus,input[type=url]:focus,select:focus,textarea:focus{outline:0}#html-editor{display:none}#markdown-editor{position:relative;z-index:5}#markdown-editor textarea{font-family:Roboto Mono;font-style:normal;font-weight:400;padding:6px 16px;color:#444;border-radius:0;max-height:100%;-ms-flex:1;flex:1;border:0;width:100%}#markdown-editor textarea:focus{outline:0}#markdown-editor .markdown-display,#markdown-editor .markdown-editor-wrap{-ms-flex:1;flex:1;position:relative}#markdown-editor .markdown-editor-wrap{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;border:1px solid #ddd}#markdown-editor .markdown-display{padding:0 16px;margin-left:-1px;overflow-y:scroll}#markdown-editor .markdown-display .page-content{margin:0 auto}.editor-toolbar{width:100%;padding:6px 16px;font-family:Roboto Mono;font-size:11px;line-height:1.6;border-bottom:1px solid #ddd;background-color:#eee;-ms-flex:none;flex:none}.editor-toolbar:after{content:'';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}label.inline{display:inline-block}label.checkbox,label.radio{font-weight:400}label.checkbox input[type=checkbox],label.checkbox input[type=radio],label.radio input[type=checkbox],label.radio input[type=radio]{margin-right:6px}label+p.small{margin-bottom:.8em}.toggle-switch{display:inline-block;background-color:#bbb;width:36px;height:14px;border-radius:7px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.toggle-switch,.toggle-switch:after{position:relative;transition:all .12s ease-in-out}.toggle-switch:after{content:'';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 textarea{display:block;width:100%;min-height:64px}.form-group .text-neg,.form-group .text-pos{padding:6px 0}.description-input textarea,.inline-input-style,.title-input input[type=text]{border:2px dotted #bbb;display:block;width:100%;padding:6px 12px}.title-input .input{width:100%}.description-input label,.title-input label{margin-top:16px;color:#666}.title-input input[type=text]{margin-top:0;padding-right:0;width:100%;color:#444}.title-input.page-title{font-size:.8em}.title-input.page-title .input{border:0;margin-bottom:-1px}.title-input.page-title input[type=text]{max-width:840px;margin:0 auto;border:none}.page-title input{display:block;width:100%;font-size:1.4em}.description-input textarea{font-size:15px;color:#666;width:100%}.search-box,div[editor-type=markdown] .title-input.page-title input[type=text]{max-width:100%}.search-box{position:relative}.search-box button{background-color:transparent;border:none;color:#0288d1;padding:0;margin:0;cursor:pointer;margin-left:12px}.search-box button[type=submit]{margin-left:-24px}.search-box input{padding-right:24px;width:300px;max-width:100%}input.outline{border:0;border-bottom:2px solid #ddd;border-radius:0}input.outline:active,input.outline:focus{border:0;border-bottom:2px solid #aaa;outline:0}#login-form label[for=remember]{margin:0}#login-form label.toggle-switch{margin-left:32px}.image-picker img{background-color:#bbb}div[toggle-switch]{height:18px;width:150px}table{min-width:100px;max-width:100%}table thead{background-color:#f8f8f8;font-weight:500}table td,table th{min-width:10px;padding:6px 8px;border:1px solid #ddd;overflow:auto;line-height:1.2}table td p,table th p{margin:0}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;margin:0}table.table th{font-weight:700}table.table tr:hover{background-color:#eee}table.no-style td{border:0;padding:0}table.list-table{margin:-6px}table.list-table td{border:0;vertical-align:middle;padding:6px}.anim.fadeIn{opacity:0;animation-name:fadeIn;animation-duration:.16s;animation-timing-function:ease-in-out;animation-fill-mode:forwards}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.anim.searchResult{opacity:0;transform:translate3d(580px,0,0);animation-name:searchResult;animation-duration:.22s;animation-fill-mode:forwards;animation-timing-function:cubic-bezier(.62,.28,.23,.99)}@keyframes searchResult{0%{opacity:0;transform:translate3d(400px,0,0)}to{opacity:1;transform:translateZ(0)}}.anim.notification{transform:translate3d(580px,0,0);animation-name:notification;animation-duration:3s;animation-timing-function:ease-in-out;animation-fill-mode:forwards}.anim.notification.stopped{animation-name:notificationStopped}@keyframes notification{0%{transform:translate3d(580px,0,0)}10%{transform:translateZ(0)}90%{transform:translateZ(0)}to{transform:translate3d(580px,0,0)}}@keyframes notificationStopped{0%{transform:translate3d(580px,0,0)}10%{transform:translateZ(0)}to{transform:translateZ(0)}}@keyframes menuIn{0%{opacity:0;transform:scale3d(0,0,1)}to{opacity:1;transform:scaleX(1)}}.anim.menuIn{transform-origin:100% 0;animation-name:menuIn;animation-duration:.12s;animation-delay:0s;animation-timing-function:cubic-bezier(.62,.28,.23,.99)}@keyframes loadingBob{0%{transform:translateZ(0)}30%{transform:translateZ(0)}50%{transform:translate3d(0,-10px,0)}70%{transform:translateZ(0)}to{transform:translateZ(0)}}@keyframes pointer{0%{transform:translate3d(0,20px,0) scale3d(0,0,0)}to{transform:translateZ(0) scaleX(1)}}.anim.pointer{transform-origin:50% 100%;animation-name:pointer;animation-duration:.18s;animation-delay:0s;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>div>.mce-tinymce.mce-container.mce-panel{margin:0 -1px}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel,.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body{-ms-flex:1 1 auto;flex:1 1 auto;display:-ms-flexbox!important;display:flex!important;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-toolbar-grp{-ms-flex:0 1 auto;flex:0 1 auto}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-edit-area{-ms-flex:1 1 auto;flex:1 1 auto;display:-ms-flexbox!important;display:flex!important;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-edit-area iframe{-ms-flex:1;flex:1}.hljs{display:block;overflow-x:auto;padding:.5em;background:#fdf6e3;color:#657b83;-webkit-text-size-adjust:none}.diff .hljs-header,.hljs-comment,.hljs-doctype,.hljs-pi,.lisp .hljs-string{color:#93a1a1}.css .hljs-tag,.hljs-addition,.hljs-keyword,.hljs-request,.hljs-status,.hljs-winutils,.method,.nginx .hljs-title{color:#859900}.hljs-command,.hljs-doctag,.hljs-hexcolor,.hljs-link_url,.hljs-number,.hljs-regexp,.hljs-rule .hljs-value,.hljs-string,.hljs-tag .hljs-value,.tex .hljs-formula{color:#2aa198}.css .hljs-function,.hljs-built_in,.hljs-chunk,.hljs-decorator,.hljs-id,.hljs-identifier,.hljs-localvars,.hljs-name,.hljs-title,.vhdl .hljs-literal{color:#268bd2}.hljs-attribute,.hljs-class .hljs-title,.hljs-constant,.hljs-link_reference,.hljs-parent,.hljs-type,.hljs-variable,.lisp .hljs-body,.smalltalk .hljs-number{color:#b58900}.css .hljs-pseudo,.diff .hljs-change,.hljs-attr_selector,.hljs-cdata,.hljs-header,.hljs-pragma,.hljs-preprocessor,.hljs-preprocessor .hljs-keyword,.hljs-shebang,.hljs-special,.hljs-subst,.hljs-symbol,.hljs-symbol .hljs-string{color:#cb4b16}.hljs-deletion,.hljs-important{color:#dc322f}.hljs-link_label{color:#6c71c4}.tex .hljs-formula{background:#eee8d5}.overlay{background-color:rgba(0,0,0,.333);position:fixed;z-index:95536;width:100%;height:100%;min-width:100%;min-height:100%;top:0;left:0;right:0;bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;display:none}.popup-body,.popup-body-wrap{display:-ms-flexbox;display:flex}.popup-body{background-color:#fff;max-height:90%;width:1200px;height:auto;margin:2% 5%;border-radius:4px;box-shadow:0 0 15px 0 rgba(0,0,0,.3);overflow:hidden;z-index:999;-ms-flex-direction:column;flex-direction:column}.popup-body.small{margin:2% auto;width:800px;max-width:90%}.popup-body:before{display:-ms-flexbox;display:flex;-ms-flex-item-align:start;align-self:flex-start}.corner-button{position:absolute;top:0;right:0;margin:0;height:40px;border-radius:0;box-shadow:none}.popup-footer,.popup-header{display:block!important;position:relative;height:40px;-ms-flex:none!important;flex:none!important}.popup-footer .popup-title,.popup-header .popup-title{color:#fff;padding:8px 16px}body.flexbox-support #entity-selector-wrap .popup-body .form-group{height:444px;min-height:444px}#entity-selector-wrap .popup-body .form-group{margin:0}.image-manager-body{min-height:70vh}#image-manager .dropzone-container{position:relative;border:3px dashed #ddd}.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 .16s cubic-bezier(.4,0,1,1);overflow:hidden}.image-manager-list .image.selected{transform:scale3d(.92,.92,.92);border:1px solid #444;box-shadow:0 1px 2px 0 rgba(0,0,0,.2)}.image-manager-list .image img{width:100%;max-width:100%;display:block}.image-manager-list .image .image-meta{position:absolute;width:100%;bottom:0;left:0;color:#eee;background-color:rgba(0,0,0,.4);font-size:10px;padding:3px 4px}.image-manager-list .image .image-meta span{display:block}@media screen and (max-width:1100px){.image-manager-list .image{width:25%}}@media screen and (max-width:800px){.image-manager-list .image .image-meta{display:none}}#image-manager .load-more{display:block;text-align:center;background-color:#eee;padding:12px 16px;color:#aaa;clear:both;font-size:20px;cursor:pointer;font-style:italic}.image-manager-sidebar{width:300px;margin-left:1px;padding:16px 24px;overflow-y:auto;border-left:1px solid #ddd}.image-manager-sidebar .dropzone-container{margin-top:16px}.image-manager-list{overflow-y:scroll;-ms-flex:1;flex:1}.image-manager-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex:1;flex:1}.image-manager-content .container{width:100%}.dz-message,.image-manager-content .full-tab{text-align:center}.dz-message{font-size:1.2em;line-height:1.1;font-style:italic;color:#aaa;cursor:pointer;padding:24px 16px;transition:all .12s ease-in-out}.dz-drag-hover .dz-message{background-color:#107ed2;color:#eee}@keyframes passing-through{0%{opacity:0;transform:translateY(40px)}30%,70%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-40px)}}@keyframes slide-in{0%{opacity:0;transform:translateY(40px)}30%{opacity:1;transform:translateY(0)}}@keyframes pulse{0%{transform:scale(1)}10%{transform:scale(1.1)}20%{transform:scale(1)}}.dropzone,.dropzone *{box-sizing:border-box}.dz-preview{position:relative;display:inline-block;vertical-align:top;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(180deg,#eee,#ddd)}.dz-preview.dz-file-preview .dz-details{opacity:1}.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}.dz-preview:hover .dz-details{opacity:1}.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 hsla(0,0%,78%,.8);background-color:hsla(0,0%,100%,.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:hsla(0,0%,100%,.4);padding:0 .4em;border-radius:3px}.dz-preview:hover .dz-image img{filter:blur(8px)}.dz-preview .dz-image{border-radius:4px;overflow:hidden;width:80px;height:80px;position:relative;display:block;z-index:10}.dz-preview .dz-image img{display:block}.dz-preview.dz-success .dz-success-mark{animation:passing-through 3s cubic-bezier(.77,0,.175,1)}.dz-preview.dz-error .dz-error-mark{opacity:1;animation:slide-in 3s cubic-bezier(.77,0,.175,1)}.dz-preview .dz-error-mark,.dz-preview .dz-success-mark{pointer-events:none;opacity:0;z-index:500;position:absolute;display:block;top:50%;left:50%;margin-left:-27px;margin-top:-27px}.dz-preview .dz-error-mark svg,.dz-preview .dz-success-mark svg{display:block;width:54px;height:54px}.dz-preview.dz-processing .dz-progress{opacity:1;transition:all .2s linear}.dz-preview.dz-complete .dz-progress{opacity:0;transition:opacity .4s ease-in}.dz-preview:not(.dz-processing) .dz-progress{animation:pulse 6s ease infinite}.dz-preview .dz-progress{opacity:1;z-index:1000;pointer-events:none;position:absolute;height:16px;left:50%;top:50%;margin-top:-8px;width:80px;margin-left:-40px;background:hsla(0,0%,100%,.9);transform:scale(1);border-radius:8px;overflow:hidden}.dz-preview .dz-progress .dz-upload{background:#333;background:linear-gradient(180deg,#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{content:'';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 .padded{padding:16px}header .links{display:inline-block;vertical-align:top;margin-right:32px}@media screen and (max-width:992px){header .links{margin-right:16px}}header .links a{display:inline-block;padding:24px;color:#fff}header .links a:last-child{padding-right:0}@media screen and (max-width:992px){header .links a{padding:24px 12px}}header .avatar,header .user-name{display:inline-block}header .avatar{width:30px;height:30px}header .user-name{padding-top:24px;display:inline-block;cursor:pointer}header .user-name,header .user-name>*{vertical-align:top}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}}@media screen and (max-width:992px){header{text-align:center}header .float.right{float:none}}@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;display:inline-block;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{vertical-align:top;margin-left:-24px;color:#fff;top:6px;right:4px;display:inline-block;position:absolute}form.search-box button:hover{color:#fff}.logo{display:inline-block}.logo:hover{color:#fff;text-decoration:none}.logo-text{display:inline-block;font-size:1.8em;color:#fff;font-weight:400;padding:24px 24px 24px 0;vertical-align:top;line-height:1}.logo-image{margin:16px 12px 16px 0;vertical-align:top;height:43px}.breadcrumbs span.sep{color:#aaa;padding:0 6px}.faded a,.faded button,.faded span,.faded span>div{color:#666}.faded .text-button{opacity:.5;transition:all .12s ease-in-out}.faded .text-button:hover{opacity:1;text-decoration:none}.faded span.faded-text{display:inline-block;padding:12px}.faded-small{color:#000;font-size:.9em;background-color:rgba(21,101,192,.15)}.action-buttons .text-button,.breadcrumbs .text-button{display:inline-block;padding:12px}.action-buttons .text-button:last-child,.breadcrumbs .text-button:last-child{padding-right:0}.action-buttons{text-align:right}.action-buttons.text-left{text-align:left}.action-buttons.text-left .text-button{padding-right:16px;padding-left:0}.action-buttons.text-center,.nav-tabs{text-align:center}.nav-tabs .tab-item,.nav-tabs a{padding:16px;display:inline-block;color:#666;cursor:pointer}.nav-tabs .tab-item.selected,.nav-tabs a.selected{border-bottom:2px solid #0288d1}.page-list h3{margin:24px 0 6px;font-size:1.666em}.page-list a.chapter{color:#ef7c3c}.page-list .inset-list{display:none;overflow:hidden;margin-bottom:24px}.page-list h4{display:block;margin:12px 0 0;border-left:5px solid #0288d1;padding:6px 0 6px 16px}.page-list h4.draft{border-left-color:#9a60da}.page-list hr{margin-top:0}.page-list .book,.page-list .chapter,.page-list .page{padding-left:24px}.page-list .page{border-left:5px solid #0288d1}.page-list .page.draft{border-left:5px solid #9a60da}.page-list .page.draft .text-page{color:#9a60da}.page-list .chapter{border-left:5px solid #ef7c3c}.page-list .book{border-left:5px solid #009688}.page-list .meta{margin-top:-16px;font-size:.95em}.page-list .meta span{margin-right:12px}.chapter-toggle{cursor:pointer;margin:0 0 24px;transition:all .18s ease-in-out;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.chapter-toggle i.zmdi-caret-right{transition:all .18s ease-in-out;transform:rotate(0deg);transform-origin:25% 50%}.chapter-toggle.open{margin-bottom:0}.chapter-toggle.open i.zmdi-caret-right{transform:rotate(90deg)}.page-nav-list{margin-left:2px;list-style:none}.page-nav-list li{padding-left:6px;border-left:2px solid #888;margin-bottom:4px}.page-nav-list li a{color:#555}.page-nav-list .nav-H2{margin-left:12px;font-size:.95em}.page-nav-list .nav-H3{margin-left:24px;font-size:.9em}.page-nav-list .nav-H4{margin-left:36px;font-size:.85em}.page-nav-list .nav-H5{margin-left:48px;font-size:.8em}.page-nav-list .nav-H6{margin-left:60px;font-size:.75em}.book-tree{padding:24px 0 0;position:relative;right:0;top:0;transition:.24s ease-in-out;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:hover{text-decoration:none}.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{float:left}.activity-list-item .left+.right{margin-left:42px}ul.pagination{display:inline-block;list-style:none;margin:16px 0;padding-left:1px}ul.pagination li{float:left}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}.compact ul.pagination{margin:0}.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>p.empty-text{display:block;font-size:15px}.entity-list.compact hr{margin:0}.dropdown-container{display:inline-block;vertical-align:top;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 li.padded{padding:6px 16px}.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:12px;padding-right:0;display:inline-block;width:16px}.dropdown-container ul li.border-bottom{border-bottom:1px solid #ddd}#page-show>.row .col-md-9{z-index:2}#page-show>.row .col-md-3{z-index:1}.page-editor{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}.page-editor .faded-small{height:auto}.page-editor .edit-area{-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column}.draft-notification{pointer-events:none;transform:scale(0);transition:transform .12s ease-in-out;transform-origin:50% 50%}.draft-notification.visible{transform:scale(1)}.page-style.editor{padding:0!important}.page-content{max-width:840px;overflow-wrap:break-word}.page-content .align-left{text-align:left}.page-content img.align-left,.page-content table.align-left{float:left!important;margin:6px 12px 6px 0}.page-content .align-right{float:right!important}.page-content img.align-right,.page-content table.align-right{text-align:right;margin:6px 0 6px 12px}.page-content .align-center{text-align:center}.page-content img{max-width:100%;height:auto}.page-content .title-input input[type=text],.page-content h1,.page-content h2,.page-content h3,.page-content h4,.page-content h5,.page-content h6,.page-content pre,.title-input .page-content input[type=text]{clear:left}.page-content hr{clear:both;margin:16px 0}.page-content table{-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;table-layout:fixed;max-width:100%;height:auto!important}.pointer-container{position:relative;display:none;left:0;z-index:10}.pointer{border:1px solid #ccc;display:inline-block;padding:12px;border-radius:4px;box-shadow:0 0 8px 1px hsla(0,3%,83%,.35);top:-60px;width:272px;z-index:55}.pointer,.pointer:before{position:absolute;background-color:#fff}.pointer:before{left:50%;bottom:-9px;width:16px;height:16px;margin-left:-8px;content:'';display:block;transform:rotate(45deg);transform-origin:50% 50%;border-bottom:1px solid #ccc;border-right:1px solid #ccc;z-index:56}.pointer input{background-color:#fff;border:1px solid #ddd;color:#666;width:172px;z-index:40}.pointer button,.pointer input{position:relative;border-radius:0;height:28px;font-size:12px;vertical-align:top}.pointer>i{color:#888;font-size:18px;padding-top:4px}.pointer .button{line-height:1;margin:0 0 0 -4px;box-shadow:none}.floating-toolbox{background-color:#fff;border:1px solid #ddd;right:64px;z-index:99;width:48px;overflow:hidden;-ms-flex-align:stretch;align-items:stretch;-ms-flex-direction:row;flex-direction:row;display:-ms-flexbox;display:flex;transition:width .18s ease-in-out;margin-top:-1px;min-height:0}.floating-toolbox.open{width:480px}.floating-toolbox [toolbox-toggle] i{transition:transform .18s ease-in-out}.floating-toolbox [toolbox-toggle]{transition:background-color .18s ease-in-out}.floating-toolbox.open [toolbox-toggle]{background-color:rgba(255,0,0,.29)}.floating-toolbox.open [toolbox-toggle] i{transform:rotate(180deg)}.floating-toolbox>div{-ms-flex:1;flex:1;position:relative}.floating-toolbox .tabs{display:block;border-right:1px solid #ddd;width:48px;-ms-flex:0 1 auto;flex:0 1 auto}.floating-toolbox .tabs i{color:rgba(0,0,0,.5);padding:0;margin:0}.floating-toolbox .tabs>span{display:block;cursor:pointer;padding:12px 16px;font-size:13.5px;line-height:1.6;border-bottom:1px solid hsla(0,0%,100%,.3)}.floating-toolbox.open .tabs>span.active{color:#444;background-color:rgba(0,0,0,.1)}.floating-toolbox div[tab-content]{padding-bottom:45px;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;min-height:0;overflow-y:scroll}.floating-toolbox div[tab-content] .padded{-ms-flex:1;flex:1;padding-top:0}.floating-toolbox h4{font-size:24px;margin:16px 0 0;padding:0 24px 12px}.floating-toolbox .tags input{max-width:100%;width:100%;min-width:50px}.floating-toolbox .tags td{padding-right:12px;padding-top:12px;position:relative}.floating-toolbox button.pos{position:absolute;bottom:0;display:block;width:100%;padding:12px;height:45px;border:0;margin:0;box-shadow:none;border-radius:0}.floating-toolbox button.pos:hover{box-shadow:none}.floating-toolbox .handle{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:move;color:#999}.floating-toolbox form{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;overflow-y:scroll}[tab-content]{display:none}.tag-display{margin:32px 16px;border:1px solid #ddd;min-width:180px;max-width:320px;opacity:.7;z-index:5;position:relative}.tag-display table{width:100%;margin:0;padding:0}.tag-display .heading th{padding:6px 12px;color:#333;font-weight:400}.tag-display td{border:0;border-bottom:1px solid #ddd;padding:6px 12px;color:#444}.tag-display .tag-value{color:#888}.tag-display tr:last-child td{border-bottom:none}.tag-display .tag{padding:12px}.suggestion-box{position:absolute;background-color:#fff;border:1px solid #bbb;box-shadow:0 0 4px 1px #ccc;list-style:none;z-index:100;padding:0;margin:0;border-radius:3px}.suggestion-box li{display:block;padding:6px 12px;border-bottom:1px solid #ddd}.suggestion-box li:last-child{border-bottom:0}.suggestion-box li.active{background-color:#eee}[v-cloak],[v-show]{display:none}.ng-cloak,[ng-cloak],[ng\:cloak]{display:none!important;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}[ng-click]{cursor:pointer}.dragged{position:absolute;opacity:.5;z-index:2000}body.dragging,body.dragging *{cursor:move!important}.avatar{border-radius:100%;background-color:#eee;width:30px;height:30px}.avatar.med{width:40px;height:40px}.avatar.large{width:80px;height:80px}.avatar.huge{width:120px;height:120px}.avatar.square,.notification{border-radius:3px}.notification{position:fixed;top:0;right:0;margin:64px 32px;padding:24px 32px;background-color:#eee;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);z-index:999999;display:block;cursor:pointer;max-width:480px}.notification i,.notification span{display:table-cell}.notification i{font-size:2em;padding-right:24px}.notification span{vertical-align:middle}.notification.pos{background-color:#52a256;color:#eee}.notification.neg{background-color:#e84f4f;color:#eee}.notification.warning{background-color:#e27b41;color:#eee}.loading-container{position:relative;display:block;height:10px;margin:32px auto}.loading-container>div{width:10px;height:10px;border-radius:10px;display:inline-block;vertical-align:top;transform:translateZ(0);animation-name:loadingBob;animation-duration:1.4s;animation-iteration-count:infinite;animation-timing-function:cubic-bezier(.62,.28,.23,.99);margin-right:4px;background-color:#0288d1;animation-delay:.3s}.loading-container>div:first-child{left:-16px;background-color:#009688;animation-delay:0s}.loading-container>div:last-child{left:16px;background-color:#ef7c3c;animation-delay:.6s}.search-results>h3 a{font-size:.66em;color:#0288d1;padding-left:16px}.search-results>h3 a i{padding-right:12px}#back-to-top{background-color:#0288d1;position:fixed;bottom:16px;right:24px;padding:6px 12px;cursor:pointer;color:#fff;width:40px;height:40px;border-radius:40px;transition:all .18s ease-in-out;opacity:0;z-index:999;overflow:hidden}#back-to-top:hover{width:136px;opacity:1!important}#back-to-top:hover span{display:inline-block}#back-to-top .inner{width:136px}#back-to-top i{margin:0;font-size:28px;padding:0 12px 0 0}#back-to-top span{line-height:12px;position:relative;top:-5px}.contained-search-box{display:-ms-flexbox;display:flex}.contained-search-box button,.contained-search-box input{border-radius:0;border:1px solid #ddd;margin-left:-1px}.contained-search-box input{-ms-flex:5;flex:5}.contained-search-box input:active,.contained-search-box input:focus{outline:0}.contained-search-box button{width:60px}.contained-search-box button i{padding:0}.contained-search-box button.cancel.active{background-color:#e84f4f;color:#eee}.entity-selector{border:1px solid #ddd;border-radius:3px;overflow:hidden;font-size:.8em}.entity-selector input[type=text]{width:100%;display:block;border-radius:0;border:0;border-bottom:1px solid #ddd;font-size:16px;padding:12px 16px}.entity-selector .entity-list{overflow-y:scroll;height:400px;background-color:#eee}.entity-selector .loading{height:400px;padding-top:24px}.entity-selector .entity-list>p{text-align:center;padding-top:24px;font-size:1.333em}.entity-selector .entity-list>div{padding-left:16px;padding-right:16px;background-color:#fff;transition:all .12s ease-in-out;cursor:pointer}.entity-list-item.selected a,.entity-list-item.selected h3,.entity-list-item.selected i,.entity-list-item.selected p,.entity-list-item.selected span{color:#eee} \ No newline at end of file +article,aside,blockquote,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}.chapter-toggle,.toggle-switch{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.anim.fadeIn,.anim.searchResult{-webkit-animation-fill-mode:forwards}#markdown-editor .markdown-editor-wrap,.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel,.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body,.popup-body,body.flexbox{-webkit-box-orient:vertical;-webkit-box-direction:normal}*,.dropzone,.dropzone *{box-sizing:border-box}.title-input input[type=text],a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{margin:0;padding:0;border:0;font:inherit;vertical-align:baseline}.link,.text-button,a,body{font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:'';content:none}@font-face{font-family:Roboto;font-style:normal;font-weight:100;src:local("Roboto Thin"),local("Roboto-Thin"),url(../fonts/roboto-v15-cyrillic_latin-100.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-100.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:100;src:local("Roboto Thin Italic"),local("Roboto-ThinItalic"),url(../fonts/roboto-v15-cyrillic_latin-100italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-100italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:300;src:local("Roboto Light"),local("Roboto-Light"),url(../fonts/roboto-v15-cyrillic_latin-300.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-300.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:300;src:local("Roboto Light Italic"),local("Roboto-LightItalic"),url(../fonts/roboto-v15-cyrillic_latin-300italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-300italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:local("Roboto"),local("Roboto-Regular"),url(../fonts/roboto-v15-cyrillic_latin-regular.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-regular.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:400;src:local("Roboto Italic"),local("Roboto-Italic"),url(../fonts/roboto-v15-cyrillic_latin-italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:500;src:local("Roboto Medium"),local("Roboto-Medium"),url(../fonts/roboto-v15-cyrillic_latin-500.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-500.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:500;src:local("Roboto Medium Italic"),local("Roboto-MediumItalic"),url(../fonts/roboto-v15-cyrillic_latin-500italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-500italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:700;src:local("Roboto Bold"),local("Roboto-Bold"),url(../fonts/roboto-v15-cyrillic_latin-700.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-700.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:700;src:local("Roboto Bold Italic"),local("Roboto-BoldItalic"),url(../fonts/roboto-v15-cyrillic_latin-700italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-700italic.woff) format("woff")}@font-face{font-family:'Roboto Mono';font-style:normal;font-weight:400;src:local("Roboto Mono"),local("RobotoMono-Regular"),url(../fonts/roboto-mono-v4-latin-regular.woff2) format("woff2"),url(../fonts/roboto-mono-v4-latin-regular.woff) format("woff")}html{background-color:#FFF;height:100%;overflow-y:scroll}html.flexbox{overflow-y:hidden}body{font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}button{font-size:100%}.title-input input[type=text],h1{font-size:3.425em;line-height:1.22222222em;margin-top:.48888889em;margin-bottom:.48888889em}h3,h4,h5,h6{margin-top:.78571429em}h2,h3,h4{margin-bottom:.43137255em}h2{font-size:2.8275em;line-height:1.294117647em;margin-top:.8627451em}h3{font-size:2.333em;line-height:1.571428572em}h4{font-size:1.666em;line-height:1.375em}.title-input input[type=text],h1,h2,h3,h4,h5,h6{font-weight:400;position:relative;display:block;color:#555}.title-input input[type=text] .subheader,h1 .subheader,h2 .subheader,h3 .subheader,h4 .subheader,h5 .subheader,h6 .subheader{font-size:.5em;line-height:1em;color:#969696}h5{font-size:1.4em}h5,h6{font-weight:500;line-height:1.2em;margin-bottom:.66em}.link,.text-button,a{color:#0288D1;cursor:pointer;text-decoration:none;-webkit-transition:color ease-in-out 80ms;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:-webkit-linear-gradient(left,#fff,#e3e0e0 20%,#e3e0e0 80%,#fff);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;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}body.flexbox,ol,ul{overflow:hidden}blockquote{position:relative;border-left:4px solid #0288D1;background-color:#F8F8F8;padding:12px 16px 12px 32px}blockquote:before{content:"\201C";font-size:2em;font-weight:700;position:absolute;top:12px;left:12px;color:#777}.code-base,code,span.code{background-color:#F8F8F8;font-family:monospace;font-size:.8em;border:1px solid #DDD;border-radius:3px}code{display:inline;padding:1px 3px;white-space:pre;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:#969696}.text-primary,.text-primary:hover,p .primary,p .primary:hover,p.primary,p.primary:hover,span.primary,span.primary:hover{color:#0288D1}.text-secondary,.text-secondary:hover,p .secondary,p .secondary:hover,p.secondary,p.secondary:hover,span.secondary,span.secondary:hover{color:#e27b41}.text-book,.text-book:hover{color:#009688}.text-page,.text-page:hover{color:#0288D1}.text-page.draft,.text-page.draft:hover{color:#9A60DA}.text-chapter,.text-chapter:hover{color:#ef7c3c}.faded .text-book:hover{color:#009688!important}.faded .text-chapter:hover{color:#ef7c3c!important}.faded .text-page:hover{color:#0288D1!important}span.highlight{font-weight:700;padding:2px 4px}ul{padding-left:20.8px;list-style:disc}ol{list-style:decimal;padding-left:32px}.underlined{text-decoration:underline}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-bigger{font-size:1.1em}.text-large{font-size:1.6666em}.no-color{color:inherit}.header-group{margin:16px 0}.header-group .title-input input[type=text],.header-group h1,.header-group h2,.header-group h3,.header-group h4,.header-group h5,.header-group h6,.title-input .header-group input[type=text]{margin:0}span.sep{color:#BBB;padding:0 6px}.list>*{display:block}.action-header .title-input input[type=text],.action-header h1,.title-input .action-header input[type=text]{margin-top:16px}i{padding-right:6px}body.flexbox{display:-webkit-box;display:flex;flex-direction:column;-webkit-box-align:stretch;align-items:stretch;height:100%;min-height:100%;max-height:100%}body.flexbox #content{-webkit-box-flex:1;flex:1;display:-webkit-box;display:flex;min-height:0}.flex-fill{display:-webkit-box;display:flex;-webkit-box-align:stretch;align-items:stretch;min-height:0}.flex-fill .flex,.flex-fill.flex{min-height:0;-webkit-box-flex:1;flex:1}.flex-child>div{-webkit-box-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.medium{max-width:992px}.container.small{max-width:840px}.center-box{margin:32px auto 0;padding:16px 48px 64px;max-width:346px;display:inline-block;text-align:left;vertical-align:top}.center-box.login{background-color:#EEE;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border:1px solid #DDD}.row{margin-left:-16px;margin-right:-16px}.float{float:left}.float.right{float:right}.block{display:block;position:relative}.inline{display:inline}.block.inline{display:inline-block}.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{position:relative;min-height:1px;padding-left:16px;padding-right:16px}.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.row:after,.row:before{content:" ";display:table}.clearfix:after,.container-fluid:after,.container:after,.row:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.shaded{background-color:#f1f1f1}.shaded.pos{background-color:#d6ead7}.shaded.neg{background-color:#f4a9a9}.shaded.primary{background-color:#a1ddfe}.shaded.secondary{background-color:#f6d7c6}.bordered{border:1px solid #BBB}.bordered.pos{border-color:#52A256}.bordered.neg{border-color:#E84F4F}.bordered.primary{border-color:#0288D1}.bordered.secondary{border-color:#e27b41}.bordered.thick{border-width:2px}.rounded{border-radius:3px}.nopadding{padding:0}.padded{padding:24px}.padded.large{padding:32px}.padded>h1:first-child,.padded>h2:first-child,.padded>h3:first-child,.padded>h4:first-child,.title-input .padded>input[type=text]:first-child{margin-top:.1em}.padded-top,.padded-vertical{padding-top:16px}.padded-top.large,.padded-vertical.large{padding-top:32px}.padded-bottom,.padded-vertical{padding-bottom:16px}.padded-bottom.large,.padded-vertical.large{padding-bottom:32px}.padded-horizontal,.padded-left{padding-left:16px}.padded-horizontal.large,.padded-left.large{padding-left:32px}.padded-horizontal,.padded-right{padding-right:16px}.padded-horizontal.large,.padded-right.large{padding-right:32px}.margins{margin:24px}.margins.large{margin:32px}.margin-top,.margins-vertical{margin-top:16px}.margin-top.large,.margins-vertical.large{margin-top:32px}.margin-bottom,.margins-vertical{margin-bottom:16px}.margin-bottom.large,.margins-vertical.large{margin-bottom:32px}.margin-left,.margins-horizontal{margin-left:16px}.margin-left.large,.margins-horizontal.large{margin-left:32px}.margin-right,.margins-horizontal{margin-right:16px}.margin-right.large,.margins-horizontal.large,header .links{margin-right:32px}.callout{border-left:3px solid #BBB;background-color:#EEE;padding:12px;display:-webkit-box;display:flex}.callout:before{font-family:Material-Design-Iconic-Font;padding-right:12px;display:inline-block}.callout.success{border-left-color:#52A256;background-color:#e7f3e7;color:#376c39}.callout.success:before{content:'\f269'}.callout.danger{border-left-color:#E84F4F;background-color:#fce8e8;color:#b91818}.callout.danger:before{content:'\f1f2'}.callout.info{border-left-color:#0288D1;background-color:#d3efff;color:#015380}.callout.info:before{content:'\f1f8'}.callout.warning{border-left-color:#e27b41;background-color:#faeae0;color:#b6531c}.callout.warning:before{content:'\f1f1'}.button-group:after,.dz-preview .dz-error-message:after,.editor-toolbar:after,.pointer:before,.toggle-switch:after{content:''}.button,.button-base,input[type=button],input[type=submit]{text-decoration:none;font-size:15px;line-height:1.4em;padding:6px 16px;margin:6px 6px 6px 0;display:inline-block;border:none;font-weight:500;font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif;outline:0;border-radius:2px;cursor:pointer;-webkit-transition:all ease-in-out 120ms;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}.button[disabled],.button[disabled]:hover{background-color:#BBB;cursor:default}.text-button:active,.text-button:focus{outline:0}.text-button:hover{text-decoration:none}.text-button.neg{color:#E84F4F}.button-group:after{display:block;font-size:0;clear:both;position:relative}.button-group .button,.button-group button[type=button]{margin:6px 0;float:left;border-radius:0}.button-group .button:first-child,.button-group button[type=button]:first-child{border-radius:2px 0 0 2px}.button-group .button:last-child,.button-group button[type=button]:last-child{border-radius:0 2px 2px 0}.button.block{width:100%;text-align:center;display:block}.button.icon i{padding-right:0}.button[disabled]:hover{box-shadow:none}.input-base,input[type=text],input[type=number],input[type=email],input[type=search],input[type=url],input[type=password],select,textarea{background-color:#FFF;border-radius:3px;border:1px solid #CCC;display:inline-block;font-size:14px;font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif;padding:6px;color:#222;width:250px;max-width:100%}#markdown-editor textarea,.editor-toolbar{width:100%;font-family:'Roboto Mono'}.input-base.invalid,.input-base.neg,input.invalid[type=text],input.invalid[type=number],input.invalid[type=email],input.invalid[type=search],input.invalid[type=url],input.invalid[type=password],input.neg[type=text],input.neg[type=number],input.neg[type=email],input.neg[type=search],input.neg[type=url],input.neg[type=password],select.invalid,select.neg,textarea.invalid,textarea.neg{border:1px solid #E84F4F}.input-base.pos,.input-base.valid,input.pos[type=text],input.pos[type=number],input.pos[type=email],input.pos[type=search],input.pos[type=url],input.pos[type=password],input.valid[type=text],input.valid[type=number],input.valid[type=email],input.valid[type=search],input.valid[type=url],input.valid[type=password],select.pos,select.valid,textarea.pos,textarea.valid{border:1px solid #52A256}.input-base.disabled,.input-base[disabled],input.disabled[type=text],input.disabled[type=number],input.disabled[type=email],input.disabled[type=search],input.disabled[type=url],input.disabled[type=password],input[disabled][type=text],input[disabled][type=number],input[disabled][type=email],input[disabled][type=search],input[disabled][type=url],input[disabled][type=password],select.disabled,select[disabled],textarea.disabled,textarea[disabled]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAMUlEQVQIW2NkwAGuXbv2nxGbHEhCS0uLEUMSJgHShCKJLIEiiS4Bl8QmAZbEJQGSBAC62BuJ+tt7zgAAAABJRU5ErkJggg==)}.input-base:focus,input[type=text]:focus,input[type=number]:focus,input[type=email]:focus,input[type=search]:focus,input[type=url]:focus,input[type=password]:focus,select:focus,textarea:focus{outline:0}#html-editor{display:none}#markdown-editor{position:relative;z-index:5}#markdown-editor textarea{font-style:normal;font-weight:400;padding:6px 16px;color:#444;border-radius:0;max-height:100%;-webkit-box-flex:1;flex:1;border:0}#markdown-editor textarea:focus{outline:0}#markdown-editor .markdown-display,#markdown-editor .markdown-editor-wrap{-webkit-box-flex:1;flex:1;position:relative}#markdown-editor .markdown-editor-wrap{display:-webkit-box;display:flex;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-box-flex:0;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}.logo-text,.page-list h5,label.checkbox,label.radio{font-weight:400}label.checkbox input[type=radio],label.checkbox input[type=checkbox],label.radio input[type=radio],label.radio input[type=checkbox]{margin-right:6px}label+p.small{margin-bottom:.8em}.toggle-switch{background-color:#BBB;width:36px;height:14px;border-radius:7px;position:relative;-webkit-transition:all ease-in-out 120ms;transition:all ease-in-out 120ms;cursor:pointer;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);-webkit-transition:all ease-in-out 120ms;transition:all ease-in-out 120ms}.toggle-switch.active{background-color:rgba(82,162,86,.4)}.toggle-switch.active:after{left:16px;background-color:#52A256;border:#305e32}.toggle-switch-checkbox{display:none}input:checked+.toggle-switch{background-color:rgba(82,162,86,.4)}input:checked+.toggle-switch:after{left:16px;background-color:#52A256;border:#305e32}.form-group{margin-bottom:12px}.form-group textarea{display:block;width:100%;min-height:64px}.form-group .text-neg,.form-group .text-pos{padding:6px 0}.description-input textarea,.inline-input-style,.title-input input[type=text]{border:2px dotted #BBB;display:block;width:100%;padding:6px 12px}.title-input .input{width:100%}.description-input label,.title-input label{margin-top:16px;color:#666}.title-input input[type=text]{margin-top:0;padding-right:0;width:100%;color:#444}.title-input.page-title{font-size:.8em}.title-input.page-title .input{border:0;margin-bottom:-1px}.title-input.page-title input[type=text]{max-width:840px;margin:0 auto;border:none}.search-box,.search-box input,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}input.outline{border:0;border-bottom:2px solid #DDD;border-radius:0}input.outline:active,input.outline:focus{border:0;border-bottom:2px solid #AAA;outline:0}#login-form label[for=remember]{margin:0}#login-form label.toggle-switch{margin-left:32px}.image-picker img{background-color:#BBB}div[toggle-switch]{height:18px;width:150px}table{border-collapse:collapse;border-spacing:0;min-width:100px}table thead{background-color:#F8F8F8;font-weight:500}table td,table th{min-width:10px;padding:6px 8px;border:1px solid #DDD;overflow:auto;line-height:1.2}table td p,table th p{margin:0}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;margin:0}.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.file-table td,table.no-style td{border:0;padding:0}table.list-table{margin:-6px}table.list-table td{border:0;vertical-align:middle;padding:6px}.dropdown-container,.dz-preview,.logo-image,.logo-text,form.search-box button,header .links,header .user-name,header .user-name>*{vertical-align:top}table.file-table td{padding:6px}table.file-table .ui-sortable-helper{display:table}.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)}.anim.pointer,.loading-container>div{-webkit-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;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>div>.mce-tinymce.mce-container.mce-panel{-webkit-box-flex:1;flex:1 1 auto;display:-webkit-box!important;display:flex!important;flex-direction:column;-webkit-box-align:stretch;align-items:stretch;margin:0 -1px}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body{-webkit-box-flex:1;flex:1 1 auto;display:-webkit-box!important;display:flex!important;flex-direction:column;-webkit-box-align:stretch;align-items:stretch}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-toolbar-grp{-webkit-box-flex:0;flex:0 1 auto}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-edit-area{-webkit-box-flex:1;flex:1 1 auto;display:-webkit-box!important;display:flex!important;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-align:stretch;align-items:stretch}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-edit-area iframe{-webkit-box-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,.333);position:fixed;z-index:95536;width:100%;height:100%;min-width:100%;min-height:100%;top:0;left:0;right:0;bottom:0;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;display:none}.popup-body-wrap{display:-webkit-box;display:flex}.popup-body{background-color:#FFF;max-height:90%;width:1200px;height:auto;margin:2% 5%;border-radius:4px;box-shadow:0 0 15px 0 rgba(0,0,0,.3);overflow:hidden;z-index:999;display:-webkit-box;display:flex;flex-direction:column}.popup-body.small{margin:2% auto;width:800px;max-width:90%}.popup-body:before{display:-webkit-box;display:flex;align-self:flex-start}.corner-button{position:absolute;top:0;right:0;margin:0;height:40px;border-radius:0;box-shadow:none}.popup-footer,.popup-header{display:block!important;position:relative;height:40px;-webkit-box-flex:0!important;flex:none!important}.popup-footer .popup-title,.popup-header .popup-title{color:#FFF;padding:8px 16px}body.flexbox-support #entity-selector-wrap .popup-body .form-group{height:444px;min-height:444px}#entity-selector-wrap .popup-body .form-group{margin:0}.image-manager-body{min-height:70vh}.dropzone-container{position:relative;border:3px dashed #DDD}.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;-webkit-transition:all cubic-bezier(.4,0,1,1) 160ms;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;margin-left:1px;padding:16px 24px;overflow-y:auto;border-left:1px solid #DDD}.image-manager-sidebar .dropzone-container{margin-top:16px}.image-manager-list{overflow-y:scroll;-webkit-box-flex:1;flex:1}.image-manager-content,.page-editor{flex-direction:column;-webkit-box-orient:vertical;-webkit-box-direction:normal}.image-manager-content{display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1}.image-manager-content .container{width:100%}.dz-message{font-size:1.2em;line-height:1.1;font-style:italic;color:#aaa;cursor:pointer;padding:24px 16px;-webkit-transition:all ease-in-out 120ms;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:-webkit-linear-gradient(top,#eee,#ddd);background:linear-gradient(to bottom,#eee,#ddd)}.dz-preview.dz-image-preview{background:#fff}.dz-preview.dz-image-preview .dz-details{-webkit-transition:opacity .2s linear;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,.page-content del,.page-content ins{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;-webkit-transition:all .2s linear;transition:all .2s linear}.dz-preview.dz-complete .dz-progress{opacity:0;-webkit-transition:opacity .4s ease-in;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:-webkit-linear-gradient(top,#666,#444);background:linear-gradient(to bottom,#666,#444);position:absolute;top:0;left:0;bottom:0;width:0;-webkit-transition:width .3s ease-in-out;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;-webkit-transition:opacity .3s ease;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}[tab-container] .nav-tabs{text-align:left;border-bottom:1px solid #DDD;margin-bottom:16px}[tab-container] .nav-tabs .tab-item{padding:12px;color:#666}[tab-container] .nav-tabs .tab-item.selected{border-bottom-width:3px}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;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;-webkit-transition:all ease-in-out 120ms;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 h4{margin:24px 0 6px;font-size:1.666em}.page-list a.chapter{color:#ef7c3c}.page-list .inset-list{display:none;overflow:hidden;margin-bottom:24px}.page-list h5{display:block;margin:12px 0 0;border-left:5px solid #0288D1;padding:6px 0 6px 16px;font-size:1.1em}.page-list h5.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{cursor:pointer;margin:0 0 24px;-webkit-transition:all ease-in-out 180ms;transition:all ease-in-out 180ms;user-select:none}.floating-toolbox .handle,ul.pagination a,ul.pagination span{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.chapter-toggle i.zmdi-caret-right{-webkit-transition:all ease-in-out 180ms;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)}.sidebar-page-nav{list-style:none;margin:12px 0 16px 2px;border-left:2px dotted #BBB}.sidebar-page-nav li{padding-left:12px;margin-bottom:4px;font-size:.95em}.sidebar-page-nav .h1,.sidebar-page-nav .h2{margin-left:-2px}.sidebar-page-nav .h3{margin-left:12px}.sidebar-page-nav .h4{margin-left:24px}.sidebar-page-nav .h5{margin-left:36px}.sidebar-page-nav .h6{margin-left:48px}.book-tree{padding:6px 0 0;position:relative;right:0;top:0;-webkit-transition:ease-in-out 240ms;transition:ease-in-out 240ms;-webkit-transition-property:right,border;transition-property:right,border;border-left:0 solid #FFF;background-color:#FFF}.book-tree.fixed{position:fixed;top:0;padding-left:24px;padding-right:39px;width:30%;right:-15px;height:100%;overflow-y:scroll;-ms-overflow-style:none;border-left:1px solid #DDD}.book-tree.fixed::-webkit-scrollbar{width:0!important}.book-tree h4{padding:16px 12px 0}.book-tree h4 i{padding-right:12px}.book-tree .sidebar-page-list{list-style:none;margin:6px 0 0;padding-left:0;border-left:5px solid #009688}.book-tree .sidebar-page-list li a{display:block;border-bottom:none;padding:6px 0 6px 12px}.book-tree .sidebar-page-list li a i{padding-right:8px}.book-tree .sidebar-page-list a,.book-tree .sidebar-page-list li{display:block}.book-tree .sidebar-page-list a.bold{color:#EEE!important}.book-tree .sidebar-page-list ul{list-style:none;margin:0}.book-tree .sidebar-page-list .book{color:#009688!important}.book-tree .sidebar-page-list .book.selected{background-color:rgba(0,150,136,.29)}.book-tree .sidebar-page-list .chapter{color:#ef7c3c!important}.book-tree .sidebar-page-list .chapter.selected{background-color:rgba(239,124,60,.12)}.book-tree .sidebar-page-list .chapter-toggle{padding-left:12px}.book-tree .sidebar-page-list .list-item-chapter{border-left:5px solid #ef7c3c;margin:10px;display:block}.book-tree .sidebar-page-list .list-item-page{border-bottom:none;border-left:5px solid #0288D1;margin:10px}.book-tree .sidebar-page-list .page{color:#0288D1!important;border-bottom:none}.book-tree .sidebar-page-list .page.selected{background-color:rgba(2,136,209,.1)}.book-tree .sidebar-page-list .list-item-page.draft{border-left:5px solid #9A60DA}.book-tree .sidebar-page-list .list-item-page.draft a.page,.book-tree .sidebar-page-list .page.draft .page{color:#9A60DA!important}.book-tree .sidebar-page-list .sub-menu{display:none;padding-left:0}.book-tree .sidebar-page-list .sub-menu.open{display:block}.sortable-page-list,.sortable-page-list ul{list-style:none;background-color:#FFF}.sort-box{margin-bottom:16px;padding:0 24px;border-left:4px solid #009688}.sortable-page-list,.sortable-page-list>ul{margin-left:0}.sortable-page-list ul{margin-bottom:0;margin-top:0;box-shadow:0 0 1px 0 rgba(0,0,0,.1)}.sortable-page-list li{border:1px solid #DDD;padding:6px 12px;margin-top:-1px;min-height:38px}.sortable-page-list li.text-chapter{border-left:2px solid #ef7c3c}.sortable-page-list li.text-page{border-left:2px solid #0288D1}.sortable-page-list li:first-child{margin-top:6px}.sortable-page-list li.placeholder{position:relative}.sortable-page-list li.placeholder:before{position:absolute}.activity-list-item{padding:12px 0;color:#888;border-bottom:1px solid #EEE;font-size:.9em}.activity-list-item .left+.right{margin-left:42px}ul.pagination{display:inline-block;list-style:none;margin:16px 0;padding-left:1px}ul.pagination li:first-child a,ul.pagination li:first-child span{border-radius:3px 0 0 3px}ul.pagination li:last-child a,ul.pagination li:last-child span{border-radius:0 3px 3px 0}ul.pagination a,ul.pagination span{display:block;padding:3px 12px;border:1px solid #CCC;margin-left:-1px;color:#888;user-select:none}.compact ul.pagination,.entity-list h4{margin:0}ul.pagination a.disabled,ul.pagination span.disabled{cursor:not-allowed}ul.pagination li.active span{background-color:rgba(2,136,209,.8);color:#EEE;border-color:rgba(2,136,209,.8)}ul.pagination a{color:#0288D1}.entity-list>div{padding:16px 0}.entity-list p{margin:6px 0 0}.entity-list hr{margin:0}.entity-list .text-small.text-muted{color:#AAA;font-size:.75em;margin-top:6px}.entity-list .page.draft .text-page{color:#9A60DA}.entity-list.compact{font-size:.6em}.entity-list.compact a,.entity-list.compact h4{line-height:1.2}.entity-list.compact p{display:none;font-size:12px;padding-top:6px;margin:0}.entity-list.compact>p.empty-text{display:block;font-size:15px}.entity-list.compact hr{margin:0}.dropdown-container{display:inline-block;position:relative}.dropdown-container ul{display:none;position:absolute;z-index:999;top:0;list-style:none;right:0;margin:16px 0;background-color:#FFF;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border-radius:1px;border:1px solid #EEE;min-width:180px;padding:6px 0;color:#555;text-align:left!important}.dropdown-container ul.wide{min-width:220px}.dropdown-container ul .text-muted{color:#999}.dropdown-container ul li.padded{padding:6px 16px}.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:12px;padding-right:0;display:inline-block;width:16px}.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-box;display:flex;-webkit-box-align:stretch;align-items:stretch}.page-editor .faded-small{height:auto}.page-editor .edit-area{-webkit-box-flex:1;flex:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}.draft-notification{pointer-events:none;-webkit-transform:scale(0);transform:scale(0);-webkit-transition:-webkit-transform ease-in-out 120ms;transition:-webkit-transform ease-in-out 120ms;transition:transform ease-in-out 120ms;transition:transform ease-in-out 120ms,-webkit-transform ease-in-out 120ms;-webkit-transform-origin:50% 50%;transform-origin:50% 50%}.draft-notification.visible{-webkit-transform:scale(1);transform:scale(1)}.page-style.editor{padding:0!important}.page-content{max-width:840px;overflow-wrap:break-word}.page-content .align-left{text-align:left}.page-content img.align-left,.page-content table.align-left{float:left!important;margin:6px 12px 6px 0}.page-content .align-right{float:right!important}.page-content img.align-right,.page-content table.align-right{text-align:right;margin:6px 0 6px 12px}.page-content .align-center{text-align:center}.page-content img{max-width:100%;height:auto}.page-content .title-input input[type=text],.page-content h1,.page-content h2,.page-content h3,.page-content h4,.page-content h5,.page-content h6,.page-content pre,.title-input .page-content input[type=text]{clear:left}.page-content hr{clear:both;margin:16px 0}.page-content table{-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;table-layout:fixed;max-width:100%;height:auto!important}.page-content ins{background:#dbffdb}.page-content del{background:#FFECEC}.pointer-container{position:relative;display:none;left:0;z-index:10}.pointer,.pointer:before{position:absolute;background-color:#FFF}.pointer{border:1px solid #CCC;display:inline-block;padding:12px;border-radius:4px;box-shadow:0 0 8px 1px rgba(212,209,209,.35);top:-60px;width:272px;z-index:55}.pointer:before{left:50%;bottom:-9px;width:16px;height:16px;margin-left:-8px;display:block;-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}.floating-toolbox{background-color:#FFF;border:1px solid #DDD;right:64px;width:48px;overflow:hidden;-webkit-box-align:stretch;align-items:stretch;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;display:-webkit-box;display:flex;-webkit-transition:width ease-in-out 180ms;transition:width ease-in-out 180ms;margin-top:-1px;min-height:0}.floating-toolbox div[toolbox-tab-content],.floating-toolbox form{-webkit-box-orient:vertical;-webkit-box-direction:normal;overflow-y:scroll}.floating-toolbox.open{width:480px}.floating-toolbox [toolbox-toggle] i{-webkit-transition:-webkit-transform ease-in-out 180ms;transition:-webkit-transform ease-in-out 180ms;transition:transform ease-in-out 180ms;transition:transform ease-in-out 180ms,-webkit-transform ease-in-out 180ms}.floating-toolbox [toolbox-toggle]{-webkit-transition:background-color ease-in-out 180ms;transition:background-color ease-in-out 180ms}.floating-toolbox.open [toolbox-toggle]{background-color:rgba(255,0,0,.29)}.floating-toolbox.open [toolbox-toggle] i{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.floating-toolbox>div{-webkit-box-flex:1;flex:1;position:relative}.floating-toolbox .tabs{display:block;border-right:1px solid #DDD;width:48px;-webkit-box-flex:0;flex:0 1 auto}.floating-toolbox .tabs i{color:rgba(0,0,0,.5);padding:0;margin:0}.floating-toolbox .tabs>span{display:block;cursor:pointer;padding:12px 16px;font-size:13.5px;line-height:1.6;border-bottom:1px solid rgba(255,255,255,.3)}.floating-toolbox.open .tabs>span.active{color:#444;background-color:rgba(0,0,0,.1)}.floating-toolbox div[toolbox-tab-content]{padding-bottom:45px;display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1;flex-direction:column;min-height:0}.floating-toolbox div[toolbox-tab-content] .padded{-webkit-box-flex:1;flex:1;padding-top:0}.floating-toolbox h4{font-size:24px;margin:16px 0 0;padding:0 24px 12px}.floating-toolbox .tags input{max-width:100%;width:100%;min-width:50px}.floating-toolbox .tags td{padding-right:12px;padding-top:12px;position:relative}.floating-toolbox .handle{user-select:none;cursor:move;color:#999}.floating-toolbox form{display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1;flex-direction:column}.floating-toolbox table td,.floating-toolbox table th{overflow:visible}[toolbox-tab-content]{display:none}.tag-display{margin:32px 16px;border:1px solid #DDD;min-width:180px;max-width:320px;opacity:.7;z-index:5;position:relative}.tag-display table{width:100%;margin:0;padding:0}.tag-display .heading th{padding:6px 12px;color:#333;font-weight:400}.tag-display td{border:0;border-bottom:1px solid #DDD;padding:6px 12px;color:#444}.tag-display .tag-value{color:#888}.tag-display tr:last-child td{border-bottom:none}.tag-display .tag{padding:12px}.suggestion-box{position:absolute;background-color:#FFF;border:1px solid #BBB;box-shadow:0 0 4px 1px #CCC;list-style:none;z-index:100;padding:0;margin:0;border-radius:3px}.avatar,.notification,.suggestion-box li.active{background-color:#EEE}.suggestion-box li{display:block;padding:6px 12px;border-bottom:1px solid #DDD}.suggestion-box li:last-child{border-bottom:0}[v-cloak],[v-show]{display:none}.ng-cloak,[ng-cloak],[ng\:cloak]{display:none!important;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}[ng-click]{cursor:pointer}.dragged{position:absolute;opacity:.5;z-index:2000}body.dragging,body.dragging *{cursor:move!important}.avatar{border-radius:100%;width:30px;height:30px}.avatar.square,.notification{border-radius:3px}.avatar.med{width:40px;height:40px}.avatar.large{width:80px;height:80px}.avatar.huge{width:120px;height:120px}.notification{position:fixed;top:0;right:0;margin:64px 32px;padding:24px 32px;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);z-index:999999;display:block;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;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;-webkit-transition:all ease-in-out 180ms;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-box;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-box-flex:5;flex:5}.contained-search-box input:active,.contained-search-box input:focus{outline:0}.contained-search-box button{width:60px}.contained-search-box button i{padding:0}.contained-search-box button.cancel.active{background-color:#E84F4F;color:#EEE}.entity-selector{border:1px solid #DDD;border-radius:3px;overflow:hidden;font-size:.8em}.entity-selector input[type=text]{width:100%;display:block;border-radius:0;border:0;border-bottom:1px solid #DDD;font-size:16px;padding:12px 16px}.entity-selector .entity-list{overflow-y:scroll;height:400px;background-color:#EEE}.entity-selector .loading{height:400px;padding-top:24px}.entity-selector .entity-list>p{text-align:center;padding-top:24px;font-size:1.333em}.entity-selector .entity-list>div{padding-left:16px;padding-right:16px;background-color:#FFF;-webkit-transition:all ease-in-out 120ms;transition:all ease-in-out 120ms;cursor:pointer}.entity-list-item.selected a,.entity-list-item.selected h3,.entity-list-item.selected i,.entity-list-item.selected p,.entity-list-item.selected span{color:#EEE} \ No newline at end of file diff --git a/public/js/common.js b/public/js/common.js index bab959a32ce..5eb1b40d6b8 100644 --- a/public/js/common.js +++ b/public/js/common.js @@ -1,12 +1,12 @@ -!function e(t,n,r){function i(a,s){if(!n[a]){if(!t[a]){var u="function"==typeof require&&require;if(!s&&u)return u(a,!0);if(o)return o(a,!0);var l=new Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}var c=n[a]={exports:{}};t[a][0].call(c.exports,function(e){var n=t[a][1][e];return i(n?n:e)},c,c.exports,e,t,n,r)}return n[a].exports}for(var o="function"==typeof require&&require,a=0;a0&&(r+=i>0?" ":"",r+=n?t+e:e+t)}),r}function a(e,t){var n=e.indexOf(t);t>=0&&e.splice(n,1)}function s(e){if(e instanceof ne)switch(e.length){case 0:return e;case 1:if(e[0].nodeType===j)return e;break;default:return ne(u(e))}if(e.nodeType===j)return ne(e)}function u(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 G(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 T(e,t){var n=F,r=e+"s";return t?n+=ie: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 O(e,t,n){G(n,function(n){e[n]=Q(e[n])?e[n]:t.style.getPropertyValue(n)})}var F,I,N,P,j=1,L="-add",R="-remove",U="ng-",V="-active",z="-prepare",H="ng-animate",q="$$ngAnimateChildren",Y="";void 0===e.ontransitionend&&void 0!==e.onwebkittransitionend?(Y="-webkit-",F="WebkitTransition",I="webkitTransitionEnd transitionend"):(F="transition",I="transitionend"),void 0===e.onanimationend&&void 0!==e.onwebkitanimationend?(Y="-webkit-",N="WebkitAnimation",P="webkitAnimationEnd animationend"):(N="animation",P="animationend");var W,B,G,Z,Q,J,X,K,ee,te,ne,re,ie="Duration",oe="Property",ae="Delay",se="TimingFunction",ue="IterationCount",le="PlayState",ce=9999,fe=N+ae,de=N+ie,he=F+ae,pe=F+ie,me=t.$$minErr("ng"),ge=["$$rAF",function(e){function t(e){r=r.concat(e),n()}function n(){if(r.length){for(var t=r.shift(),o=0;o0&&(l=n.get(s),!l)){var c=o(a,"-stagger");r.addClass(i,c),l=E(e,i,u),l.animationDuration=Math.max(l.animationDuration,0),l.transitionDuration=Math.max(l.transitionDuration,0),r.removeClass(i,c),n.put(s,l)}return l||{}}function D(e){H.push(e),g.waitUntilQuiet(function(){t.flush(),n.flush();for(var e=l(),r=0;r=ne&&r>=ie&&(X=!0,g())}function H(){function t(){if(!Q){if(b(!1),G(le,function(e){var t=e[0],n=e[1];B.style[t]=n}),j(e,q),r.addClass(e,Se),Re.recalculateTimingStyles){if(Ce=B.className+" "+xe,De=y(B,Ce),je=M(B,Ce,De),Le=je.maxDelay,te=Math.max(Le,0),ie=je.maxDuration,0===ie)return void g();Re.hasTransitions=je.transitionDuration>0,Re.hasAnimations=je.animationDuration>0}if(Re.applyAnimationDelay&&(Le="boolean"!=typeof q.delay&&A(q.delay)?parseFloat(q.delay):Le,te=Math.max(Le,0),je.animationDelay=Le,Ue=_(Le,!0),le.push(Ue),B.style[Ue[0]]=Ue[1]),ne=te*ye,ae=ie*ye,q.easing){var t,i=q.easing;Re.hasTransitions&&(t=F+se,le.push([t,i]),B.style[t]=i),Re.hasAnimations&&(t=N+se,le.push([t,i]),B.style[t]=i)}je.transitionDuration&&he.push(I),je.animationDuration&&he.push(P),ue=Date.now();var o=ne+we*ae,a=ue+o,s=e.data($e)||[],l=!0;if(s.length){var c=s[0];l=a>c.expectedEndTime,l?u.cancel(c.timer):s.push(g)}if(l){var f=u(n,o,!1);s[0]={timer:f,expectedEndTime:a},s.push(g),e.data($e,s)}he.length&&e.on(he.join(" "),z),q.to&&(q.cleanupStyles&&O(Y,B,Object.keys(q.to)),m(e,q))}}function n(){var t=e.data($e);if(t){for(var n=1;n0&&(je.transitionDuration&&0===Ae.transitionDuration||je.animationDuration&&0===Ae.animationDuration)&&Math.max(Ae.animationDelay,Ae.transitionDelay);o?u(t,Math.floor(o*Ne*ye),!1):t(),ee.resume=function(){i(!0)},ee.pause=function(){i(!1)}}}var q=n||{};q.$$prepared||(q=d(W(q)));var Y={},B=$(e);if(!B||!B.parentNode||!v.enabled())return E();var Q,J,X,K,ee,te,ne,ie,ae,ue,le=[],fe=e.attr("class"),de=i(q),he=[];if(0===q.duration||!c.animations&&!c.transitions)return E();var pe=q.event&&Z(q.event)?q.event.join(" "):q.event,me=pe&&q.structural,ge="",ve="";me?ge=o(pe,U,!0):pe&&(ge=pe),q.addClass&&(ve+=o(q.addClass,L)),q.removeClass&&(ve.length&&(ve+=" "),ve+=o(q.removeClass,R)),q.applyClassesEarly&&ve.length&&j(e,q);var xe=[ge,ve].join(" ").trim(),Ce=fe+" "+xe,Se=o(xe,V),_e=de.to&&Object.keys(de.to).length>0,Ee=(q.keyframeStyle||"").length>0;if(!Ee&&!_e&&!xe)return E();var De,Ae;if(q.stagger>0){var Te=parseFloat(q.stagger);Ae={transitionDelay:Te,animationDelay:Te,transitionDuration:0,animationDuration:0}}else De=y(B,Ce),Ae=C(B,xe,De,ke);q.$$skipPreparationClasses||r.addClass(e,xe);var Me;if(q.transitionStyle){var Oe=[F,q.transitionStyle];k(B,Oe),le.push(Oe)}if(q.duration>=0){Me=B.style[F].length>0;var Fe=T(q.duration,Me);k(B,Fe),le.push(Fe)}if(q.keyframeStyle){var Ie=[N,q.keyframeStyle];k(B,Ie),le.push(Ie)}var Ne=Ae?q.staggerIndex>=0?q.staggerIndex:t.count(De):0,Pe=0===Ne;Pe&&!q.skipBlocking&&w(B,ce);var je=M(B,Ce,De),Le=je.maxDelay;te=Math.max(Le,0),ie=je.maxDuration;var Re={};if(Re.hasTransitions=je.transitionDuration>0,Re.hasAnimations=je.animationDuration>0,Re.hasTransitionAll=Re.hasTransitions&&"all"==je.transitionProperty,Re.applyTransitionDuration=_e&&(Re.hasTransitions&&!Re.hasTransitionAll||Re.hasAnimations&&!Re.hasTransitions),Re.applyAnimationDuration=q.duration&&Re.hasAnimations,Re.applyTransitionDelay=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,je.transitionDuration=ie,Me=B.style[F+oe].length>0,le.push(T(ie,Me))),Re.applyAnimationDuration&&(Re.hasAnimations=!0,je.animationDuration=ie,le.push(S(ie)))),0===ie&&!Re.recalculateTimingStyles)return E();if(null!=q.delay){var Ue;"boolean"!=typeof q.delay&&(Ue=parseFloat(q.delay),te=Math.max(Ue,0)),Re.applyTransitionDelay&&le.push(_(Ue)),Re.applyAnimationDelay&&le.push(_(Ue,!0))}return null==q.duration&&je.transitionDuration>0&&(Re.recalculateTimingStyles=Re.recalculateTimingStyles||Pe),ne=te*ye,ae=ie*ye,q.skipBlocking||(Re.blockTransition=je.transitionDuration>0,Re.blockKeyframeAnimation=je.animationDuration>0&&Ae.animationDelay>0&&0===Ae.animationDuration),q.from&&(q.cleanupStyles&&O(Y,B,Object.keys(q.from)),p(e,q)),Re.blockTransition||Re.blockKeyframeAnimation?b(ie):q.skipBlocking||w(B,!1),{$$willAnimate:!0,end:l,start:function(){if(!Q)return ee={end:l,cancel:f,resume:null,pause:null},K=new s(ee),D(H),K}}}}]}],Se=["$$animationProvider",function(e){function t(e){return e.parentNode&&11===e.parentNode.nodeType}e.drivers.push("$$animateCssDriver");var n="ng-animate-shim",r="ng-anchor",i="ng-anchor-out",o="ng-anchor-in";this.$get=["$animateCss","$rootScope","$$AnimateRunner","$rootElement","$sniffer","$$jqLite","$document",function(e,a,s,u,l,c,d){function h(e){return e.replace(/\bng-\S+\b/g,"")}function p(e,t){return ee(e)&&(e=e.split(" ")),ee(t)&&(t=t.split(" ")),e.filter(function(e){return t.indexOf(e)===-1}).join(" ")}function m(t,a,u){function l(e){var t={},n=$(e).getBoundingClientRect();return G(["width","height","top","left"],function(e){var r=n[e];switch(e){case"top":r+=y.scrollTop;break;case"left":r+=y.scrollLeft}t[e]=Math.floor(r)+"px"}),t}function c(){var t=e(g,{addClass:i,delay:!0,from:l(a)});return t.$$willAnimate?t:null}function f(e){return e.attr("class")||""}function d(){var t=h(f(u)),n=p(t,v),r=p(v,t),a=e(g,{to:l(u),addClass:o+" "+n,removeClass:i+" "+r,delay:!0});return a.$$willAnimate?a:null}function m(){g.remove(),a.removeClass(n),u.removeClass(n)}var g=ne($(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,re),o=v(t,re),a=[];if(G(r,function(e){var t=e.out,r=e["in"],i=m(n,t,r);i&&a.push(i)}),i||o||0!==a.length)return{start:function(){function e(){G(t,function(e){e.end()})}var t=[];i&&t.push(i.start()),o&&t.push(o.start()),G(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}}}function v(t){var n=t.element,r=t.options||{};t.structural&&(r.event=t.event,r.structural=!0,r.applyClassesEarly=!0,"leave"===t.event&&(r.onDone=r.domOperation)),r.preparationClasses&&(r.event=C(r.event,r.preparationClasses));var i=e(n,r);return i.$$willAnimate?i:null}if(!l.animations&&!l.transitions)return re;var y=d[0].body,b=$(u),w=ne(t(b)||y.contains(b)?b:y);f(c);return function(e){return e.from&&e.to?g(e.from,e.to,e.classes,e.anchors):v(e)}}]}],_e=["$animateProvider",function(e){this.$get=["$injector","$$AnimateRunner","$$jqLite",function(t,n,r){function i(n){n=Z(n)?n:n.split(" ");for(var r=[],i={},o=0;o0,r=(e.removeClass||"").length>0;return t?n&&r:n||r}var l=1,c=2,p=" ",m=this.rules={skip:[],cancel:[],join:[]};m.join.push(function(e,t,n){return!t.structural&&a(t)}),m.skip.push(function(e,t,n){return!t.structural&&!a(t)}),m.skip.push(function(e,t,n){return"leave"==n.event&&t.structural}),m.skip.push(function(e,t,n){return n.structural&&n.state===c&&!t.structural}),m.cancel.push(function(e,t,n){return n.structural&&t.structural}),m.cancel.push(function(e,t,n){return n.state===c&&t.structural}),m.cancel.push(function(e,t,n){if(n.structural)return!1;var r=t.addClass,o=t.removeClass,a=n.addClass,s=n.removeClass;return!(te(r)&&te(o)||te(a)&&te(s))&&(i(r,s)||i(o,a))}),this.$get=["$$rAF","$rootScope","$rootElement","$document","$$HashMap","$$animation","$$AnimateRunner","$templateRequest","$$jqLite","$$forceReflow",function(r,i,p,m,v,w,x,k,C,S){function _(){var e=!1;return function(t){e?t():i.$$postDigest(function(){e=!0,t()})}}function E(e,t){return g(e,t,{})}function D(e,t,n){var r=$(t),i=$(e),o=[],a=z[n];return a&&G(a,function(e){re.call(e.node,r)?o.push(e.callback):"leave"===n&&re.call(e.node,i)&&o.push(e.callback)}),o}function A(e,t,n){var r=u(t);return e.filter(function(e){var t=e.node===r&&(!n||e.callback===n);return!t})}function T(e,t){"close"!==e||t[0].parentNode||ie.off(t)}function M(e,t,n){function u(t,n,i,o){S(function(){var t=D(v,e,n);t.length?r(function(){G(t,function(t){t(e,i,o)}),T(i,e)}):T(i,e)}),t.progress(n,i,o)}function f(t){b(e,k),X(e,k),h(e,k),k.domOperation(),C.complete(!t)}var p,v,k=W(n);e=s(e),e&&(p=$(e),v=e.parent()),k=d(k);var C=new x,S=_();if(Z(k.addClass)&&(k.addClass=k.addClass.join(" ")),k.addClass&&!ee(k.addClass)&&(k.addClass=null),Z(k.removeClass)&&(k.removeClass=k.removeClass.join(" ")),k.removeClass&&!ee(k.removeClass)&&(k.removeClass=null),k.from&&!K(k.from)&&(k.from=null),k.to&&!K(k.to)&&(k.to=null),!p)return f(),C;var A=[p.className,k.addClass,k.removeClass].join(" ");if(!Y(A))return f(),C;var M=["enter","move","leave"].indexOf(t)>=0,I=m[0].hidden,j=!U||I||R.get(p),V=!j&&L.get(p)||{},z=!!V.state;if(j||z&&V.state==l||(j=!N(e,v,t)),j)return I&&u(C,t,"start"),f(),I&&u(C,t,"close"),C;M&&O(e);var H={structural:M,element:e,event:t,addClass:k.addClass,removeClass:k.removeClass,close:f,options:k,runner:C};if(z){var q=o("skip",e,H,V);if(q)return V.state===c?(f(),C):(g(e,V,H),V.runner);var B=o("cancel",e,H,V);if(B)if(V.state===c)V.runner.end();else{if(!V.structural)return g(e,V,H),V.runner;V.close()}else{var Q=o("join",e,H,V);if(Q){if(V.state!==c)return y(e,M?t:null,k),t=H.event=V.event,k=g(e,V,H),V.runner;E(e,H)}}}else E(e,H);var J=H.structural;if(J||(J="animate"===H.event&&Object.keys(H.options.to||{}).length>0||a(H)),!J)return f(),F(e),C;var te=(V.counter||0)+1;return H.counter=te,P(e,l,H),i.$$postDigest(function(){var n=L.get(p),r=!n;n=n||{};var i=e.parent()||[],o=i.length>0&&("animate"===n.event||n.structural||a(n));if(r||n.counter!==te||!o)return r&&(X(e,k),h(e,k)),(r||M&&n.event!==t)&&(k.domOperation(),C.end()),void(o||F(e));t=!n.structural&&a(n,!0)?"setClass":n.event,P(e,c);var s=w(e,t,n.options);C.setHost(s),u(C,t,"start",{}),s.done(function(n){f(!n);var r=L.get(p);r&&r.counter===te&&F($(e)),u(C,t,"close",{})})}),C}function O(e){var t=$(e),n=t.querySelectorAll("["+De+"]");G(n,function(e){var t=parseInt(e.getAttribute(De)),n=L.get(e);if(n)switch(t){case c:n.runner.end();case l:L.remove(e)}})}function F(e){var t=$(e);t.removeAttribute(De),L.remove(t)}function I(e,t){return $(e)===$(t)}function N(e,t,n){var r,i=ne(m[0].body),o=I(e,i)||"HTML"===e[0].nodeName,a=I(e,p),s=!1,u=R.get($(e)),l=ne.data(e[0],Ae);for(l&&(t=l),t=$(t);t&&(a||(a=I(t,p)),t.nodeType===j);){var c=L.get(t)||{};if(!s){var f=R.get(t);if(f===!0&&u!==!1){u=!0;break}f===!1&&(u=!1),s=c.structural}if(te(r)||r===!0){var d=ne.data(t,q);Q(d)&&(r=d)}if(s&&r===!1)break;if(o||(o=I(t,i)),o&&a)break;t=a||!(l=ne.data(t,Ae))?t.parentNode:$(l)}var h=(!s||r)&&u!==!0;return h&&a&&o}function P(e,t,n){n=n||{},n.state=t;var r=$(e);r.setAttribute(De,t);var i=L.get(r),o=i?B(i,n):n;L.put(r,o)}var L=new v,R=new v,U=null,V=i.$watch(function(){return 0===k.totalPendingRequests},function(e){e&&(V(),i.$$postDigest(function(){i.$$postDigest(function(){null===U&&(U=!0)})}))}),z=Object.create(null),H=t.classNameFilter(),Y=H?function(e){return H.test(e)}:function(){return!0},X=f(C),re=e.Node.prototype.contains||function(e){return this===e||!!(16&this.compareDocumentPosition(e))},ie={on:function(e,t,n){var r=u(t);z[e]=z[e]||[],z[e].push({node:r,callback:n}),ne(t).on("$destroy",function(){var i=L.get(r);i||ie.off(e,t,n)})},off:function(e,t,n){if(1!==arguments.length||ee(arguments[0])){var r=z[e];r&&(z[e]=1===arguments.length?null:A(r,t,n))}else{t=arguments[0];for(var i in z)z[i]=A(z[i],t)}},pin:function(e,t){n(J(e),"element","not an element"),n(J(t),"parentElement","not an element"),e.data(Ae,t)},push:function(e,t,n,r){return n=n||{},n.domOperation=r,M(e,t,n)},enabled:function(e,t){var n=arguments.length;if(0===n)t=!!U;else{var r=J(e);if(r){var i=$(e);1===n?t=!R.get(i):R.put(i,!t)}else t=U=!!e}return t}};return ie}]}],Me=["$animateProvider",function(e){function t(e,t){e.data(s,t)}function n(e){e.removeData(s)}function i(e){return e.data(s)}var o="ng-animate-ref",a=this.drivers=[],s="$$animationRunner";this.$get=["$$jqLite","$rootScope","$injector","$$AnimateRunner","$$HashMap","$$rAFScheduler",function(e,s,u,l,c,p){function m(e){function t(e){if(e.processed)return e;e.processed=!0;var n=e.domNode,r=n.parentNode;o.put(n,e);for(var a;r;){if(a=o.get(r)){a.processed||(a=t(a));break}r=r.parentNode}return(a||i).children.push(e),e}function n(e){var t,n=[],r=[];for(t=0;t=0,l=e.structural?b(a):[];if(l.length){var c=u?"to":"from";G(l,function(e){var t=e.getAttribute(o);n[t]=n[t]||{},n[t][c]={animationID:r,element:ne(e)}})}else t.push(e)});var r={},i={};return G(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],r=u.get(n),i=r(e);if(i)return i}}function C(){c.addClass(H),M&&e.addClass(c,M),O&&(e.removeClass(c,O),O=null)}function S(e,t){function n(e){var n=i(e);n&&n.setHost(t)}e.from&&e.to?(n(e.from.element),n(e.to.element)):n(e.element)}function _(){var e=i(c);!e||"leave"===f&&y.$$domOperationFired||e.end()}function E(t){c.off("$destroy",_),n(c),v(c,y),h(c,y),y.domOperation(),M&&e.removeClass(c,M),c.removeClass(H),A.complete(!t)}y=d(y);var D=["enter","move","leave"].indexOf(f)>=0,A=new l({end:function(){E()},cancel:function(){E(!0)}});if(!a.length)return E(),A;t(c,A);var T=r(c.attr("class"),r(y.addClass,y.removeClass)),M=y.tempClasses;M&&(T+=" "+M,y.tempClasses=null);var O;return D&&(O="ng-"+f+z,e.addClass(c,O)),g.push({element:c,classes:T,event:f,structural:D,options:y,beforeStart:C,close:E}),c.on("$destroy",_),g.length>1?A:(s.$$postDigest(function(){var e=[];G(g,function(t){i(t.element)?e.push(t):t.close()}),g.length=0;var t=w(e),n=[];G(t,function(e){n.push({domNode:$(e.from?e.from.element:e.element),fn:function(){e.beforeStart();var t,n=e.close,r=e.anchors?e.from.element||e.to.element:e.element;if(i(r)){var o=k(e);o&&(t=o.start)}if(t){var a=t();a.done(function(e){n(!e)}),S(e,a)}else n()}})}),p(m(n))}),A)}}]}],Oe=["$animate","$rootScope",function(e,t){return{restrict:"A",transclude:"element",terminal:!0,priority:600,link:function(t,n,r,i,o){var a,s;t.$watchCollection(r.ngAnimateSwap||r["for"],function(r){a&&e.leave(a),s&&(s.$destroy(),s=null),(r||0===r)&&(s=t.$new(),o(s,function(t){a=t,e.enter(t,null,n)}))})}}}];t.module("ngAnimate",[],function(){re=t.noop,W=t.copy,B=t.extend,ne=t.element,G=t.forEach,Z=t.isArray,ee=t.isString,K=t.isObject,te=t.isUndefined,Q=t.isDefined,X=t.isFunction,J=t.isElement}).directive("ngAnimateSwap",Oe).directive("ngAnimateChildren",ve).factory("$$rAFScheduler",ge).provider("$$animateQueue",Te).provider("$$animation",Me).provider("$animateCss",Ce).provider("$$animateCssDriver",Se).provider("$$animateJs",_e).provider("$$animateJsDriver",Ee)}(window,window.angular)},{}],2:[function(e,t,n){e("./angular-animate"),t.exports="ngAnimate"},{"./angular-animate":1}],3:[function(e,t,n){!function(e,t){"use strict";function n(e){return null!=e&&""!==e&&"hasOwnProperty"!==e&&a.test("."+e)}function r(e,r){if(!n(r))throw o("badmember",'Dotted member path "@{0}" is invalid.',r);for(var i=r.split("."),a=0,s=i.length;a/g,">")}function m(e,t){var n=!1,r=i(e,e.push);return{start:function(e,i){e=u(e),!n&&D[e]&&(n=e),n||A[e]!==!0||(r("<"),r(e),a(i,function(n,i){var o=u(i),a="img"===e&&"src"===o||"background"===o;F[o]!==!0||T[o]===!0&&!t(n,a)||(r(" "),r(i),r('="'),r(p(n)),r('"'))}),r(">"))},end:function(e){e=u(e),n||A[e]!==!0||w[e]===!0||(r("")),e==n&&(n=!1)},chars:function(e){n||r(p(e))}}}function g(t){if(t.nodeType===e.Node.ELEMENT_NODE)for(var n=t.attributes,r=0,i=n.length;r"\u201d\u2019]/i,i=/^mailto:/i,o=t.$$minErr("linky"),a=t.isDefined,s=t.isFunction,u=t.isObject,l=t.isString;return function(t,c,f){function d(e){e&&y.push(r(e))}function h(e,t){var n,r=v(e);y.push("'),d(t),y.push("")}if(null==t||""===t)return t;if(!l(t))throw o("notstring","Expected string but received: {0}",t);for(var p,m,g,v=s(f)?f:u(f)?function(){return f}:function(){return{}},$=t,y=[];p=$.match(n);)m=p[0],p[2]||p[4]||(m=(p[3]?"http://":"mailto:")+m),g=p.index,d($.substr(0,g)),h(m,p[0].replace(i,"")),$=$.substring(g+p[0].length);return d($),e(y.join(""))}}])}(window,window.angular)},{}],6:[function(e,t,n){e("./angular-sanitize"),t.exports="ngSanitize"},{"./angular-sanitize":5}],7:[function(e,t,n){angular.module("ui.sortable",[]).value("uiSortableConfig",{items:"> [ng-repeat],> [data-ng-repeat],> [x-ng-repeat]"}).directive("uiSortable",["uiSortableConfig","$timeout","$log",function(e,t,n){return{require:"?ngModel",scope:{ngModel:"=",uiSortable:"="},link:function(r,i,o,a){function s(e,t){var n=e&&"function"==typeof e,r=t&&"function"==typeof t;return n&&r?function(){e.apply(this,arguments),t.apply(this,arguments)}:r?t:e}function u(e){var t=e.data("ui-sortable");return t&&"object"==typeof t&&"ui-sortable"===t.widgetFullName?t:null}function l(t,n){return S[t]?("stop"===t&&(n=s(n,function(){r.$apply()}),n=s(n,v)),n=s(S[t],n)):_[t]&&(n=_[t](n)),n||("items"===t?n=e.items:"ui-model-items"===t&&(n=e.items)),n}function c(e,t,n){function r(e,t){t in k||(k[t]=null)}angular.forEach(S,r);var i=null;if(t){var o;angular.forEach(t,function(t,n){if(!(e&&n in e)){if(n in C)return void("ui-floating"===n?k[n]="auto":k[n]=l(n,void 0));o||(o=angular.element.ui.sortable().options);var r=o[n];r=l(n,r),i||(i={}),i[n]=r,k[n]=r}})}return angular.forEach(e,function(e,t){return t in C?("ui-floating"!==t||e!==!1&&e!==!0||!n||(n.floating=e),void(k[t]=l(t,e))):(e=l(t,e),i||(i={}),i[t]=e,void(k[t]=e))}),i}function f(e){var t=e.sortable("option","placeholder");if(t&&t.element&&"function"==typeof t.element){var n=t.element();return n=angular.element(n)}return null}function d(e,t){var n=k["ui-model-items"].replace(/[^,]*>/g,""),r=e.find('[class="'+t.attr("class")+'"]:not('+n+")");return r}function h(e,t){var n=e.sortable("option","helper");return"clone"===n||"function"==typeof n&&t.item.sortable.isCustomHelperUsed()}function p(e,t,n){var r=null;return h(e,t)&&"parent"===e.sortable("option","appendTo")&&(r=n.last()),r}function m(e){return/left|right/.test(e.css("float"))||/inline|table-cell/.test(e.css("display"))}function g(e,t){for(var n=null,r=0;r=0&&(t-1 in e||e instanceof Array)||"function"==typeof e.item)}function r(e,t,i){var o,a;if(e)if(C(e))for(o in e)"prototype"==o||"length"==o||"name"==o||e.hasOwnProperty&&!e.hasOwnProperty(o)||t.call(i,e[o],o,e);else if(Zr(e)||n(e)){var s="object"!=typeof e;for(o=0,a=e.length;o=0&&e.splice(n,1),n}function R(e,t){function n(e,t){var n,r=t.$$hashKey;if(Zr(e))for(var o=0,a=e.length;o2?z(arguments,2):[];return!C(t)||t instanceof RegExp?t:n.length?function(){return arguments.length?t.apply(e,V(n,arguments,0)):t.apply(e,n)}:function(){return arguments.length?t.apply(e,arguments):t.call(e)}}function q(t,n){var r=n;return"string"==typeof t&&"$"===t.charAt(0)&&"$"===t.charAt(1)?r=void 0:_(n)?r="$WINDOW":n&&e.document===n?r="$DOCUMENT":E(n)&&(r="$SCOPE"),r}function Y(e,t){if(!v(e))return x(t)||(t=t?2:null),JSON.stringify(e,q,t)}function W(e){return w(e)?JSON.parse(e):e}function B(e,t){e=e.replace(ti,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function G(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function Z(e,t,n){n=n?-1:1;var r=e.getTimezoneOffset(),i=B(t,r);return G(e,n*(i-r))}function Q(e){e=Lr(e).clone();try{e.empty()}catch(t){}var n=Lr("
    ").append(e).html();try{return e[0].nodeType===si?Fr(n):n.match(/^(<[^>]+>)/)[1].replace(/^<([\w\-]+)/,function(e,t){return"<"+Fr(t)})}catch(t){return Fr(n)}}function J(e){try{return decodeURIComponent(e)}catch(t){}}function X(e){var t={};return r((e||"").split("&"),function(e){var n,r,i;e&&(r=e=e.replace(/\+/g,"%20"),n=e.indexOf("="),n!==-1&&(r=e.substring(0,n),i=e.substring(n+1)),r=J(r),$(r)&&(i=!$(i)||J(i),Or.call(t,r)?Zr(t[r])?t[r].push(i):t[r]=[t[r],i]:t[r]=i))}),t}function K(e){var t=[];return r(e,function(e,n){Zr(e)?r(e,function(e){t.push(te(n,!0)+(e===!0?"":"="+te(e,!0)))}):t.push(te(n,!0)+(e===!0?"":"="+te(e,!0)))}),t.length?t.join("&"):""}function ee(e){return te(e,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function te(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 ne(e,t){var n,r,i=ni.length;for(r=0;r/,">"))}n=n||[],n.unshift(["$provide",function(e){e.value("$rootElement",t)}]),i.debugInfoEnabled&&n.push(["$compileProvider",function(e){e.debugInfoEnabled(!0)}]),n.unshift("ng");var o=rt(n,i.strictDi);return o.invoke(["$rootScope","$rootElement","$compile","$injector",function(e,t,n,r){e.$apply(function(){t.data("$injector",r),n(t)(e)})}]),o},s=/^NG_ENABLE_DEBUG_INFO!/,u=/^NG_DEFER_BOOTSTRAP!/;return e&&s.test(e.name)&&(i.debugInfoEnabled=!0,e.name=e.name.replace(s,"")),e&&!u.test(e.name)?a():(e.name=e.name.replace(u,""),Br.resumeBootstrap=function(e){return r(e,function(e){n.push(e)}),a()},void(C(Br.resumeDeferredBootstrap)&&Br.resumeDeferredBootstrap()))}function oe(){e.name="NG_ENABLE_DEBUG_INFO!"+e.name,e.location.reload()}function ae(e){var t=Br.element(e).injector();if(!t)throw Wr("test","no injector found for element argument to getTestability");return t.get("$$testability")}function se(e,t){return t=t||"_",e.replace(ri,function(e,n){return(n?t:"")+e.toLowerCase()})}function ue(){var t;if(!ii){var n=ei();Rr=v(n)?e.jQuery:n?e[n]:void 0,Rr&&Rr.fn.on?(Lr=Rr,l(Rr.fn,{scope:_i.scope,isolateScope:_i.isolateScope,controller:_i.controller,injector:_i.injector,inheritedData:_i.inheritedData}),t=Rr.cleanData,Rr.cleanData=function(e){for(var n,r,i=0;null!=(r=e[i]);i++)n=Rr._data(r,"events"),n&&n.$destroy&&Rr(r).triggerHandler("$destroy");t(e)}):Lr=Ae,Br.element=Lr,ii=!0}}function le(e,t,n){if(!e)throw Wr("areq","Argument '{0}' is {1}",t||"?",n||"required");return e}function ce(e,t,n){return n&&Zr(e)&&(e=e[e.length-1]),le(C(e),t,"not a function, got "+(e&&"object"==typeof e?e.constructor.name||"Object":typeof e)),e}function fe(e,t){if("hasOwnProperty"===e)throw Wr("badname","hasOwnProperty is not a valid {0} name",t)}function de(e,t,n){if(!t)return e;for(var r,i=t.split("."),o=e,a=i.length,s=0;s=0)return"...";t.push(n)}return n})}function $e(e){return"function"==typeof e?e.toString().replace(/ \{[\s\S]*$/,""):v(e)?"undefined":"string"!=typeof e?ve(e):e}function ye(n){l(n,{bootstrap:ie,copy:R,extend:l,merge:c,equals:U,element:Lr,forEach:r,injector:rt,noop:h,bind:H,toJson:Y,fromJson:W,identity:p,isUndefined:v,isDefined:$,isString:w,isFunction:C,isObject:y,isNumber:x,isElement:N,isArray:Zr,version:fi,isDate:k,lowercase:Fr,uppercase:Ir,callbacks:{$$counter:0},getTestability:ae,$$minErr:t,$$csp:Kr,reloadWithDebugInfo:oe}),(Ur=me(e))("ng",["ngLocale"],["$provide",function(e){e.provider({$$sanitizeUri:Sn}),e.provider("$compile",pt).directive({a:No,input:ea,textarea:ea,form:Uo,script:Za,select:Xa,style:es,option:Ka,ngBind:ra,ngBindHtml:oa,ngBindTemplate:ia,ngClass:sa,ngClassEven:la,ngClassOdd:ua,ngCloak:ca,ngController:fa,ngForm:Vo,ngHide:za,ngIf:pa,ngInclude:ma,ngInit:va,ngNonBindable:Fa,ngPluralize:ja,ngRepeat:La,ngShow:Va,ngStyle:Ha,ngSwitch:qa,ngSwitchWhen:Ya,ngSwitchDefault:Wa,ngOptions:Pa,ngTransclude:Ga,ngModel:Ta,ngList:$a,ngChange:aa,pattern:ns,ngPattern:ns,required:ts,ngRequired:ts,minlength:is,ngMinlength:is,maxlength:rs,ngMaxlength:rs,ngValue:na,ngModelOptions:Oa}).directive({ngInclude:ga}).directive(Po).directive(da),e.provider({$anchorScroll:it,$animate:zi,$animateCss:Yi,$$animateJs:Ui,$$animateQueue:Vi,$$AnimateRunner:qi,$$animateAsyncRun:Hi,$browser:ct,$cacheFactory:ft,$controller:bt,$document:wt,$exceptionHandler:xt,$filter:Rn,$$forceReflow:Ji,$interpolate:Pt,$interval:jt,$http:Ot,$httpParamSerializer:Ct,$httpParamSerializerJQLike:St,$httpBackend:It,$xhrFactory:Ft,$jsonpCallbacks:ao,$location:Xt,$log:Kt,$parse:yn,$rootScope:Cn,$q:bn,$$q:wn,$sce:An,$sceDelegate:Dn,$sniffer:Tn,$templateCache:dt,$templateRequest:Mn,$$testability:On,$timeout:Fn,$window:Pn,$$rAF:kn,$$jqLite:Qe,$$HashMap:Ti,$$cookieReader:Ln})}])}function be(){return++hi}function we(e){return e.replace(gi,function(e,t,n,r){return r?n.toUpperCase():n}).replace(vi,"Moz$1")}function xe(e){return!wi.test(e)}function ke(e){var t=e.nodeType;return t===oi||!t||t===li}function Ce(e){for(var t in di[e.ng339])return!0;return!1}function Se(e){for(var t=0,n=e.length;t")+o[2],a=o[0];a--;)n=n.lastChild;u=V(u,n.childNodes),n=s.firstChild,n.textContent=""}return s.textContent="",s.innerHTML="",r(u,function(e){s.appendChild(e)}),s}function Ee(t,n){n=n||e.document;var r;return(r=bi.exec(t))?[n.createElement(r[1])]:(r=_e(t,n))?r.childNodes:[]}function De(e,t){var n=e.parentNode;n&&n.replaceChild(t,e),t.appendChild(e)}function Ae(e){if(e instanceof Ae)return e;var t;if(w(e)&&(e=Jr(e),t=!0),!(this instanceof Ae)){if(t&&"<"!=e.charAt(0))throw yi("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new Ae(e)}t?Re(this,Ee(e)):Re(this,e)}function Te(e){return e.cloneNode(!0)}function Me(e,t){if(t||Fe(e),e.querySelectorAll)for(var n=e.querySelectorAll("*"),r=0,i=n.length;r0||(mi(e,t,s),delete a[t])};r(t.split(" "),function(e){u(e),$i[e]&&u($i[e])})}else for(t in a)"$destroy"!==t&&mi(e,t,s),delete a[t]}function Fe(e,t){var n=e.ng339,r=n&&di[n];if(r){if(t)return void delete r.data[t];r.handle&&(r.events.$destroy&&r.handle({},"$destroy"),Oe(e)),delete di[n],e.ng339=void 0}}function Ie(e,t){var n=e.ng339,r=n&&di[n];return t&&!r&&(e.ng339=n=be(),r=di[n]={events:{},data:{},handle:void 0}),r}function Ne(e,t,n){if(ke(e)){var r=$(n),i=!r&&t&&!y(t),o=!t,a=Ie(e,!i),s=a&&a.data;if(r)s[t]=n;else{if(o)return s;if(i)return s&&s[t];l(s,t)}}}function Pe(e,t){return!!e.getAttribute&&(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+t+" ")>-1}function je(e,t){t&&e.setAttribute&&r(t.split(" "),function(t){e.setAttribute("class",Jr((" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").replace(" "+Jr(t)+" "," ")))})}function Le(e,t){if(t&&e.setAttribute){var n=(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ");r(t.split(" "),function(e){e=Jr(e),n.indexOf(" "+e+" ")===-1&&(n+=e+" ")}),e.setAttribute("class",Jr(n))}}function Re(e,t){if(t)if(t.nodeType)e[e.length++]=t;else{var n=t.length;if("number"==typeof n&&t.window!==t){if(n)for(var r=0;r1&&(i=ge(i));for(var u=0;uc&&this.remove(h.key),t}},get:function(e){if(c";var r=we.firstChild.attributes,i=r[0];r.removeNamedItem(i.name),i.value=n,e.attributes.setNamedItem(i)}function P(e,t){try{e.addClass(t)}catch(n){}}function R(t,n,r,i,o){t instanceof Lr||(t=Lr(t));for(var a=/\S+/,s=0,u=t.length;s").append(t).html())):n?_i.clone.call(t):t,a)for(var l in a)u.data("$"+l+"Controller",a[l].instance);return R.$$addScopeInfo(u,e),n&&n(u,e),c&&c(e,u,u,i),u}}function V(e){var t=e&&e[0];return t&&"foreignobject"!==j(t)&&qr.call(t).match(/SVG/)?"svg":"html"}function q(e,t,n,r,i,o){function a(e,n,r,i){var o,a,s,u,l,c,f,d,m;if(h){var g=n.length;for(m=new Array(g),l=0;l0)}else r.push(e);return Lr(r)}function Z(e,t,n){return function(r,i,o,a,s){return i=G(i[0],t,n),e(r,i,o,a,s)}}function J(e,t,n,r,i,o){var a;return e?R(t,n,r,i,o):function(){return a||(a=R(t,n,r,i,o),t=n=o=null),a.apply(this,arguments)}}function X(e,t,n,o,a,s,u,c,f){function d(e,t,n,r){e&&(n&&(e=Z(e,n,r)),e.require=p.require,e.directiveName=m,(S===p||p.$$isolateScope)&&(e=ge(e,{isolateScope:!0})),u.push(e)),t&&(n&&(t=Z(t,n,r)),t.require=p.require,t.directiveName=m,(S===p||p.$$isolateScope)&&(t=ge(t,{isolateScope:!0})),c.push(t))}function h(e,o,a,s,f){function d(e,t,n,r){var i;if(E(e)||(r=n,n=t,t=e,e=void 0),M&&(i=b),n||(n=M?D.parent():D),!r)return f(e,t,i,n,L);var o=f.$$slots[r];if(o)return o(e,t,i,n,L);if(v(o))throw Wi("noslot",'No parent directive that requires a transclusion with slot name "{0}". Element: {1}',r,Q(D))}var h,p,m,g,$,b,w,D,A,T;t===a?(A=n,D=n.$$element):(D=Lr(a),A=new I(D,n)),$=o,S?g=o.$new(!0):x&&($=o.$parent),f&&(w=d,w.$$boundTransclude=f,w.isSlotFilled=function(e){return!!f.$$slots[e]}),k&&(b=ee(D,A,w,k,g,o,S)),S&&(R.$$addScopeInfo(D,g,!0,!(_&&(_===S||_===S.$$originalDirective))),R.$$addScopeClass(D,!0),g.$$isolateBindings=S.$$isolateBindings,T=$e(o,A,g,g.$$isolateBindings,S),T.removeWatches&&g.$on("$destroy",T.removeWatches));for(var O in b){var F=k[O],N=b[O],P=F.$$bindings.bindToController;N.identifier&&P?N.bindingInfo=$e($,A,N.instance,P,F):N.bindingInfo={};var j=N();j!==N.instance&&(N.instance=j,D.data("$"+F.name+"Controller",j),N.bindingInfo.removeWatches&&N.bindingInfo.removeWatches(),N.bindingInfo=$e($,A,N.instance,P,F))}for(r(k,function(e,t){var n=e.require;e.bindToController&&!Zr(n)&&y(n)&&l(b[t].instance,K(t,n,D,b))}),r(b,function(e){var t=e.instance;if(C(t.$onChanges))try{t.$onChanges(e.bindingInfo.initialChanges)}catch(n){i(n)}if(C(t.$onInit))try{t.$onInit()}catch(n){i(n)}C(t.$doCheck)&&($.$watch(function(){t.$doCheck()}),t.$doCheck()),C(t.$onDestroy)&&$.$on("$destroy",function(){t.$onDestroy()})}),h=0,p=u.length;h=0;h--)m=c[h],ve(m,m.isolateScope?g:o,D,A,m.require&&K(m.directiveName,m.require,D,b),w);r(b,function(e){var t=e.instance;C(t.$postLink)&&t.$postLink()})}f=f||{};for(var p,m,g,$,b,w=-Number.MAX_VALUE,x=f.newScopeDirective,k=f.controllerDirectives,S=f.newIsolateScopeDirective,_=f.templateDirective,D=f.nonTlbTranscludeDirective,A=!1,T=!1,M=f.hasElementTranscludeDirective,O=n.$$element=Lr(t),F=s,N=o,P=!1,L=!1,U=0,V=e.length;Up.priority)break;if((b=p.scope)&&(p.templateUrl||(y(b)?(ue("new/isolated scope",S||x,p,O),S=p):ue("new/isolated scope",S,p,O)),x=x||p),m=p.name,!P&&(p.replace&&(p.templateUrl||p.template)||p.transclude&&!p.$$tlb)){for(var B,X=U+1;B=e[X++];)if(B.transclude&&!B.$$tlb||B.replace&&(B.templateUrl||B.template)){L=!0;break}P=!0}if(!p.templateUrl&&p.controller&&(b=p.controller,k=k||pe(),ue("'"+m+"' controller",k[m],p,O),k[m]=p),b=p.transclude)if(A=!0,p.$$tlb||(ue("transclusion",D,p,O),D=p),"element"==b)M=!0,w=p.priority,g=O,O=n.$$element=Lr(R.$$createComment(m,n[m])),t=O[0],me(a,z(g),t),g[0].$$parentNode=g[0].parentNode,N=J(L,g,o,w,F&&F.name,{nonTlbTranscludeDirective:D});else{var ne=pe();if(g=Lr(Te(t)).contents(),y(b)){g=[];var re=pe(),ae=pe();r(b,function(e,t){var n="?"===e.charAt(0);e=n?e.substring(1):e,re[e]=t,ne[t]=null,ae[t]=n}),r(O.contents(),function(e){var t=re[gt(j(e))];t?(ae[t]=!0,ne[t]=ne[t]||[],ne[t].push(e)):g.push(e)}),r(ae,function(e,t){if(!e)throw Wi("reqslot","Required transclusion slot `{0}` was not filled.",t)});for(var se in ne)ne[se]&&(ne[se]=J(L,ne[se],o))}O.empty(),N=J(L,g,o,void 0,void 0,{needsNewScope:p.$$isolateScope||p.$$newScope}),N.$$slots=ne}if(p.template)if(T=!0,ue("template",_,p,O),_=p,b=C(p.template)?p.template(O,n):p.template,b=_e(b),p.replace){if(F=p,g=xe(b)?[]:$t(fe(p.templateNamespace,Jr(b))),t=g[0],1!=g.length||t.nodeType!==oi)throw Wi("tplrt","Template for directive '{0}' must have exactly one root element. {1}",m,"");me(a,O,t);var le={$attr:{}},ce=W(t,[],le),de=e.splice(U+1,e.length-(U+1));(S||x)&&te(ce,S,x),e=e.concat(ce).concat(de),ie(n,le),V=e.length}else O.html(b);if(p.templateUrl)T=!0,ue("template",_,p,O),_=p,p.replace&&(F=p),h=oe(e.splice(U,e.length-U),O,n,a,A&&N,u,c,{controllerDirectives:k,newScopeDirective:x!==p&&x,newIsolateScopeDirective:S,templateDirective:_,nonTlbTranscludeDirective:D}),V=e.length;else if(p.compile)try{$=p.compile(O,n,N);var he=p.$$originalDirective||p;C($)?d(null,H(he,$),q,Y):$&&d(H(he,$.pre),H(he,$.post),q,Y)}catch(ye){i(ye,Q(O))}p.terminal&&(h.terminal=!0,w=Math.max(w,p.priority))}return h.scope=x&&x.scope===!0,h.transcludeOnThisElement=A,h.templateOnThisElement=T,h.transclude=N,f.hasElementTranscludeDirective=M,h}function K(e,t,n,i){var o;if(w(t)){var a=t.match(k),s=t.substring(a[0].length),u=a[1]||a[3],l="?"===a[2];if("^^"===u?n=n.parent():(o=i&&i[s],o=o&&o.instance),!o){var c="$"+s+"Controller";o=u?n.inheritedData(c):n.data(c)}if(!o&&!l)throw Wi("ctreq","Controller '{0}', required by directive '{1}', can't be found!",s,e)}else if(Zr(t)){o=[];for(var f=0,d=t.length;fp.priority)&&p.restrict.indexOf(r)!=-1){if(u&&(p=d(p,{$$start:u,$$end:l})),!p.$$bindings){var b=p.$$bindings=a(p,p.name);y(b.isolateScope)&&(p.$$isolateBindings=b.isolateScope)}e.push(p),h=p}}catch(w){i(w)}return h}function re(e){if(c.hasOwnProperty(e))for(var n,r=t.get(e+f),i=0,o=r.length;i"+n+"",r.childNodes[0].childNodes;default:return n}}function de(e,t){if("srcdoc"==t)return _.HTML;var n=j(e);return"xlinkHref"==t||"form"==n&&"action"==t||"img"!=n&&("src"==t||"ngSrc"==t)?_.RESOURCE_URL:void 0}function he(e,t,r,i,o){var a=de(e,i);o=x[i]||o;var s=n(r,!0,a,o);if(s){if("multiple"===i&&"select"===j(e))throw Wi("selmulti","Binding to the 'multiple' attribute is not supported. Element: {0}",Q(e));t.push({priority:100,compile:function(){return{pre:function(e,t,u){var l=u.$$observers||(u.$$observers=pe());if(S.test(i))throw Wi("nodomevents","Interpolations for HTML DOM event attributes are disallowed. Please use the ng- versions (such as ng-click instead of onclick) instead.");var c=u[i];c!==r&&(s=c&&n(c,!0,a,o),r=c),s&&(u[i]=s(e),(l[i]||(l[i]=[])).$$inter=!0,(u.$$observers&&u.$$observers[i].$$scope||e).$watch(s,function(e,t){"class"===i&&e!=t?u.$updateClass(e,t):u.$set(i,e)}))}}}})}}function me(t,n,r){var i,o,a=n[0],s=n.length,u=a.parentNode;if(t)for(i=0,o=t.length;i0&&T.addClass(this.$$element,e)},$removeClass:function(e){e&&e.length>0&&T.removeClass(this.$$element,e)},$updateClass:function(e,t){var n=vt(e,t);n&&n.length&&T.addClass(this.$$element,n);var r=vt(t,e);r&&r.length&&T.removeClass(this.$$element,r)},$set:function(e,t,n,o){var a,s=this.$$element[0],u=Ye(s,e),l=We(e),c=e;if(u?(this.$$element.prop(e,t),o=u):l&&(this[l]=t,c=l),this[e]=t,o?this.$attr[e]=o:(o=this.$attr[e],o||(this.$attr[e]=o=se(e,"-"))),a=j(this.$$element),"a"===a&&("href"===e||"xlinkHref"===e)||"img"===a&&"src"===e)this[e]=t=O(t,"src"===e);else if("img"===a&&"srcset"===e&&$(t)){for(var f="",d=Jr(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),y=0;y0?" ":"")+a}return n}function $t(e){e=Lr(e);var t=e.length;if(t<=1)return e;for(;t--;){var n=e[t];n.nodeType===ui&&zr.call(e,t,1)}return e}function yt(e,t){if(t&&w(t))return t;if(w(e)){var n=Qi.exec(e);if(n)return n[3]}}function bt(){var e={},n=!1;this.has=function(t){return e.hasOwnProperty(t)},this.register=function(t,n){fe(t,"controller"),y(t)?l(e,t):e[t]=n},this.allowGlobals=function(){n=!0},this.$get=["$injector","$window",function(r,i){function o(e,n,r,i){if(!e||!y(e.$scope))throw t("$controller")("noscp","Cannot export controller '{0}' as '{1}'! No $scope object provided via `locals`.",i,n);e.$scope[n]=r}return function(t,a,s,u){var c,f,d,h;if(s=s===!0,u&&w(u)&&(h=u),w(t)){if(f=t.match(Qi),!f)throw Zi("ctrlfmt","Badly formed controller string '{0}'. Must match `__name__ as __id__` or `__name__`.",t);d=f[1],h=h||f[3],t=e.hasOwnProperty(d)?e[d]:de(a.$scope,d,!0)||(n?de(i,d,!0):void 0),ce(t,d,!0)}if(s){var p=(Zr(t)?t[t.length-1]:t).prototype;c=Object.create(p||null),h&&o(a,h,c,d||t.name);var m;return m=l(function(){var e=r.invoke(t,c,a,d);return e!==c&&(y(e)||C(e))&&(c=e,h&&o(a,h,c,d||t.name)),c},{instance:c,identifier:h})}return c=r.instantiate(t,a,d),h&&o(a,h,c,d||t.name),c}}]}function wt(){this.$get=["$window",function(e){return Lr(e.document)}]}function xt(){this.$get=["$log",function(e){return function(t,n){e.error.apply(e,arguments)}}]}function kt(e){return y(e)?k(e)?e.toISOString():Y(e):e}function Ct(){this.$get=function(){return function(e){if(!e)return"";var t=[];return i(e,function(e,n){null===e||v(e)||(Zr(e)?r(e,function(e){t.push(te(n)+"="+te(kt(e)))}):t.push(te(n)+"="+te(kt(e))))}),t.join("&")}}}function St(){this.$get=function(){return function(e){function t(e,o,a){null===e||v(e)||(Zr(e)?r(e,function(e,n){t(e,o+"["+(y(e)?n:"")+"]")}):y(e)&&!k(e)?i(e,function(e,n){t(e,o+(a?"":"[")+n+(a?"":"]"))}):n.push(te(o)+"="+te(kt(e))))}if(!e)return"";var n=[];return t(e,"",!0),n.join("&")}}}function _t(e,t){if(w(e)){var n=e.replace(no,"").trim();if(n){var r=t("Content-Type");(r&&0===r.indexOf(Xi)||Et(n))&&(e=W(n))}}return e}function Et(e){var t=e.match(eo);return t&&to[t[0]].test(e)}function Dt(e){function t(e,t){e&&(i[e]=i[e]?i[e]+", "+t:t)}var n,i=pe();return w(e)?r(e.split("\n"),function(e){n=e.indexOf(":"),t(Fr(Jr(e.substr(0,n))),Jr(e.substr(n+1)))}):y(e)&&r(e,function(e,n){t(Fr(n),Jr(e))}),i}function At(e){var t;return function(n){if(t||(t=Dt(e)),n){var r=t[Fr(n)];return void 0===r&&(r=null),r}return t}}function Tt(e,t,n,i){return C(i)?i(e,t,n):(r(i,function(r){e=r(e,t,n)}),e)}function Mt(e){return 200<=e&&e<300}function Ot(){var e=this.defaults={transformResponse:[_t],transformRequest:[function(e){return!y(e)||D(e)||T(e)||A(e)?e:Y(e)}],headers:{common:{Accept:"application/json, text/plain, */*"},post:ge(Ki),put:ge(Ki),patch:ge(Ki)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",paramSerializer:"$httpParamSerializer"},n=!1;this.useApplyAsync=function(e){return $(e)?(n=!!e,this):n};var i=!0;this.useLegacyPromiseExtensions=function(e){return $(e)?(i=!!e,this):i};var o=this.interceptors=[];this.$get=["$httpBackend","$$cookieReader","$cacheFactory","$rootScope","$q","$injector",function(a,s,u,c,f,d){function h(n){function o(e,t){for(var n=0,r=t.length;n=-1?n:0,(Mt(n)?w.resolve:w.reject)({data:e,status:n,headers:At(r),config:t,statusText:i})}function d(e){l(e.data,e.status,ge(e.headers()),e.statusText)}function p(){var e=h.pendingRequests.indexOf(t);e!==-1&&h.pendingRequests.splice(e,1)}var m,g,w=f.defer(),k=w.promise,C=t.headers,S=b(t.url,t.paramSerializer(t.params));if(h.pendingRequests.push(t),k.then(p,p),!t.cache&&!e.cache||t.cache===!1||"GET"!==t.method&&"JSONP"!==t.method||(m=y(t.cache)?t.cache:y(e.cache)?e.cache:x),m&&(g=m.get(S),$(g)?O(g)?g.then(d,d):Zr(g)?l(g[1],g[0],ge(g[2]),g[3]):l(g,200,{},"OK"):m.put(S,k)),v(g)){var _=Nn(t.url)?s()[t.xsrfCookieName||e.xsrfCookieName]:void 0;_&&(C[t.xsrfHeaderName||e.xsrfHeaderName]=_),a(t.method,S,i,u,C,t.timeout,t.withCredentials,t.responseType,o(t.eventHandlers),o(t.uploadEventHandlers))}return k}function b(e,t){return t.length>0&&(e+=(e.indexOf("?")==-1?"?":"&")+t),e}var x=u("$http");e.paramSerializer=w(e.paramSerializer)?d.get(e.paramSerializer):e.paramSerializer;var k=[];return r(o,function(e){k.unshift(w(e)?d.get(e):d.invoke(e))}),h.pendingRequests=[],p("get","delete","head","jsonp"),m("post","put","patch"),h.defaults=e,h}]}function Ft(){this.$get=function(){return function(){return new e.XMLHttpRequest}}}function It(){this.$get=["$browser","$jsonpCallbacks","$document","$xhrFactory",function(e,t,n,r){return Nt(e,r,e.defer,t,n[0])}]}function Nt(e,t,n,i,o){function a(e,t,n){e=e.replace("JSON_CALLBACK",t);var r=o.createElement("script"),a=null;return r.type="text/javascript",r.src=e,r.async=!0,a=function(e){mi(r,"load",a),mi(r,"error",a),o.body.removeChild(r),r=null;var s=-1,u="unknown";e&&("load"!==e.type||i.wasCalled(t)||(e={type:"error"}),u=e.type,s="error"===e.type?404:200),n&&n(s,u)},pi(r,"load",a),pi(r,"error",a),o.body.appendChild(r),a}return function(o,s,u,l,c,f,d,p,m,g){function y(){x&&x(),k&&k.abort()}function b(t,r,i,o,a){$(_)&&n.cancel(_),x=k=null,t(r,i,o,a),e.$$completeOutstandingRequest(h)}if(e.$$incOutstandingRequestCount(),s=s||e.url(),"jsonp"===Fr(o))var w=i.createCallback(s),x=a(s,w,function(e,t){var n=200===e&&i.getResponse(w);b(l,e,n,"",t),i.removeCallback(w)});else{var k=t(o,s);k.open(o,s,!0),r(c,function(e,t){$(e)&&k.setRequestHeader(t,e)}),k.onload=function(){var e=k.statusText||"",t="response"in k?k.response:k.responseText,n=1223===k.status?204:k.status; -0===n&&(n=t?200:"file"==In(s).protocol?404:0),b(l,n,t,k.getAllResponseHeaders(),e)};var C=function(){b(l,-1,null,null,"")};if(k.onerror=C,k.onabort=C,r(m,function(e,t){k.addEventListener(t,e)}),r(g,function(e,t){k.upload.addEventListener(t,e)}),d&&(k.withCredentials=!0),p)try{k.responseType=p}catch(S){if("json"!==p)throw S}k.send(v(u)?null:u)}if(f>0)var _=n(y,f);else O(f)&&f.then(y)}}function Pt(){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=Y(e)}return e}function u(e,t,n,r){var i;return i=e.$watch(function(e){return i(),r(e)},t,n)}function c(o,c,h,p){function g(e){try{return e=O(e),p&&!$(e)?e:s(e)}catch(t){r(oo.interr(o,t))}}if(!o.length||o.indexOf(e)===-1){var y;if(!c){var b=a(o);y=m(b),y.exp=o,y.expressions=[],y.$$watchDelegate=u}return y}p=!!p;for(var w,x,k,S=0,_=[],E=[],D=o.length,A=[],T=[];S1&&oo.throwNoconcat(o),!c||_.length){var M=function(e){for(var t=0,n=_.length;t4,d=f?z(arguments,4):[],h=t.setInterval,p=t.clearInterval,m=0,g=$(l)&&!l,v=(g?r:n).defer(),y=v.promise;return u=$(u)?u:0,y.$$intervalId=h(function(){g?i.defer(c):e.$evalAsync(c),v.notify(m++),u>0&&m>=u&&(v.resolve(m),p(y.$$intervalId),delete a[y.$$intervalId]),g||e.$apply()},s),a[y.$$intervalId]=v,y}var a={};return o.cancel=function(e){return!!(e&&e.$$intervalId in a)&&(a[e.$$intervalId].reject("canceled"),t.clearInterval(e.$$intervalId),delete a[e.$$intervalId],!0)},o}]}function Lt(e){for(var t=e.split("/"),n=t.length;n--;)t[n]=ee(t[n]);return t.join("/")}function Rt(e,t){var n=In(e);t.$$protocol=n.protocol,t.$$host=n.hostname,t.$$port=f(n.port)||uo[n.protocol]||null}function Ut(e,t){var n="/"!==e.charAt(0);n&&(e="/"+e);var r=In(e);t.$$path=decodeURIComponent(n&&"/"===r.pathname.charAt(0)?r.pathname.substring(1):r.pathname),t.$$search=X(r.search),t.$$hash=decodeURIComponent(r.hash),t.$$path&&"/"!=t.$$path.charAt(0)&&(t.$$path="/"+t.$$path)}function Vt(e,t){return 0===e.lastIndexOf(t,0)}function zt(e,t){if(Vt(t,e))return t.substr(e.length)}function Ht(e){var t=e.indexOf("#");return t==-1?e:e.substr(0,t)}function qt(e){return e.replace(/(#.+)|#$/,"$1")}function Yt(e){return e.substr(0,Ht(e).lastIndexOf("/")+1)}function Wt(e){return e.substring(0,e.indexOf("/",e.indexOf("//")+2))}function Bt(e,t,n){this.$$html5=!0,n=n||"",Rt(e,this),this.$$parse=function(e){var n=zt(t,e);if(!w(n))throw lo("ipthprfx",'Invalid url "{0}", missing path prefix "{1}".',e,t);Ut(n,this),this.$$path||(this.$$path="/"),this.$$compose()},this.$$compose=function(){var e=K(this.$$search),n=this.$$hash?"#"+ee(this.$$hash):"";this.$$url=Lt(this.$$path)+(e?"?"+e:"")+n,this.$$absUrl=t+this.$$url.substr(1)},this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;var o,a,s;return $(o=zt(e,r))?(a=o,s=$(o=zt(n,o))?t+(zt("/",o)||o):e+a):$(o=zt(t,r))?s=t+o:t==r+"/"&&(s=t),s&&this.$$parse(s),!!s}}function Gt(e,t,n){Rt(e,this),this.$$parse=function(r){function i(e,t,n){var r,i=/^\/[A-Z]:(\/.*)/;return Vt(t,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);v(a)||"#"!==a.charAt(0)?this.$$html5?o=a:(o="",v(a)&&(e=r,this.replace())):(o=zt(n,a),v(o)&&(o=a)),Ut(o,this),this.$$path=i(this.$$path,o,e),this.$$compose()},this.$$compose=function(){var t=K(this.$$search),r=this.$$hash?"#"+ee(this.$$hash):"";this.$$url=Lt(this.$$path)+(t?"?"+t:"")+r,this.$$absUrl=e+(this.$$url?n+this.$$url:"")},this.$$parseLinkUrl=function(t,n){return Ht(e)==Ht(t)&&(this.$$parse(t),!0)}}function Zt(e,t,n){this.$$html5=!0,Gt.apply(this,arguments),this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;var o,a;return e==Ht(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=K(this.$$search),r=this.$$hash?"#"+ee(this.$$hash):"";this.$$url=Lt(this.$$path)+(t?"?"+t:"")+r,this.$$absUrl=e+n+this.$$url}}function Qt(e){return function(){return this[e]}}function Jt(e,t){return function(n){return v(n)?this[e]:(this[e]=t(n),this.$$compose(),this)}}function Xt(){var e="",t={enabled:!1,requireBase:!0,rewriteLinks:!0};this.hashPrefix=function(t){return $(t)?(e=t,this):e},this.html5Mode=function(e){return M(e)?(t.enabled=e,this):y(e)?(M(e.enabled)&&(t.enabled=e.enabled),M(e.requireBase)&&(t.requireBase=e.requireBase),M(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 lo("nobase","$location in HTML5 mode requires a tag to be present!");f=Wt(h)+(d||"/"),c=i.history?Bt:Zt}else f=Ht(h),c=Gt;var p=Yt(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=Lr(e.target);"a"!==j(i[0]);)if(i[0]===o[0]||!(i=i.parent())[0])return;var s=i.prop("href"),u=i.attr("href")||i.attr("xlink:href");y(s)&&"[object SVGAnimatedString]"===s.toString()&&(s=In(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))}}),qt(l.absUrl())!=qt(h)&&r.url(l.absUrl(),!0);var g=!0;return r.onUrlChange(function(e,t){return v(zt(p,e))?void(a.location.href=e):(n.$evalAsync(function(){var r,i=l.absUrl(),o=l.$$state;e=qt(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=qt(r.url()),t=qt(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 Kt(){var e=!0,t=this;this.debugEnabled=function(t){return $(t)?(e=t,this):e},this.$get=["$window",function(n){function i(e){return e instanceof Error&&(e.stack?e=e.message&&e.stack.indexOf(e.message)===-1?"Error: "+e.message+"\n"+e.stack:e.stack:e.sourceURL&&(e=e.message+"\n"+e.sourceURL+":"+e.line)),e}function o(e){var t=n.console||{},o=t[e]||t.log||h,a=!1;try{a=!!o.apply}catch(s){}return a?function(){var e=[];return r(arguments,function(t){e.push(i(t))}),o.apply(t,e)}:function(e,t){o(e,null==t?"":t)}}return{log:o("log"),info:o("info"),warn:o("warn"),error:o("error"),debug:function(){var n=o("debug");return function(){e&&n.apply(t,arguments)}}()}}]}function en(e,t){if("__defineGetter__"===e||"__defineSetter__"===e||"__lookupGetter__"===e||"__lookupSetter__"===e||"__proto__"===e)throw fo("isecfld","Attempting to access a disallowed field in Angular expressions! Expression: {0}",t);return e}function tn(e){return e+""}function nn(e,t){if(e){if(e.constructor===e)throw fo("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",t);if(e.window===e)throw fo("isecwindow","Referencing the Window in Angular expressions is disallowed! Expression: {0}",t);if(e.children&&(e.nodeName||e.prop&&e.attr&&e.find))throw fo("isecdom","Referencing DOM nodes in Angular expressions is disallowed! Expression: {0}",t);if(e===Object)throw fo("isecobj","Referencing Object in Angular expressions is disallowed! Expression: {0}",t)}return e}function rn(e,t){if(e){if(e.constructor===e)throw fo("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",t);if(e===ho||e===po||e===mo)throw fo("isecff","Referencing call, apply or bind in Angular expressions is disallowed! Expression: {0}",t)}}function on(e,t){if(e&&(e===(0).constructor||e===(!1).constructor||e==="".constructor||e==={}.constructor||e===[].constructor||e===Function.constructor))throw fo("isecaf","Assigning to a constructor is disallowed! Expression: {0}",t)}function an(e,t){return"undefined"!=typeof e?e:t}function sn(e,t){return"undefined"==typeof e?t:"undefined"==typeof t?e:e+t}function un(e,t){var n=e(t);return!n.$stateful}function ln(e,t){var n,i;switch(e.type){case yo.Program:n=!0,r(e.body,function(e){ln(e.expression,t),n=n&&e.expression.constant}),e.constant=n;break;case yo.Literal:e.constant=!0,e.toWatch=[];break;case yo.UnaryExpression:ln(e.argument,t),e.constant=e.argument.constant,e.toWatch=e.argument.toWatch;break;case yo.BinaryExpression:ln(e.left,t),ln(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.left.toWatch.concat(e.right.toWatch);break;case yo.LogicalExpression:ln(e.left,t),ln(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.constant?[]:[e];break;case yo.ConditionalExpression:ln(e.test,t),ln(e.alternate,t),ln(e.consequent,t),e.constant=e.test.constant&&e.alternate.constant&&e.consequent.constant,e.toWatch=e.constant?[]:[e];break;case yo.Identifier:e.constant=!1,e.toWatch=[e];break;case yo.MemberExpression:ln(e.object,t),e.computed&&ln(e.property,t),e.constant=e.object.constant&&(!e.computed||e.property.constant),e.toWatch=[e];break;case yo.CallExpression:n=!!e.filter&&un(t,e.callee.name),i=[],r(e.arguments,function(e){ln(e,t),n=n&&e.constant,e.constant||i.push.apply(i,e.toWatch)}),e.constant=n,e.toWatch=e.filter&&un(t,e.callee.name)?i:[e];break;case yo.AssignmentExpression:ln(e.left,t),ln(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=[e];break;case yo.ArrayExpression:n=!0,i=[],r(e.elements,function(e){ln(e,t),n=n&&e.constant,e.constant||i.push.apply(i,e.toWatch)}),e.constant=n,e.toWatch=i;break;case yo.ObjectExpression:n=!0,i=[],r(e.properties,function(e){ln(e.value,t),n=n&&e.value.constant&&!e.computed,e.value.constant||i.push.apply(i,e.value.toWatch)}),e.constant=n,e.toWatch=i;break;case yo.ThisExpression:e.constant=!1,e.toWatch=[];break;case yo.LocalsExpression:e.constant=!1,e.toWatch=[]}}function cn(e){if(1==e.length){var t=e[0].expression,n=t.toWatch;return 1!==n.length?n:n[0]!==t?n:void 0}}function fn(e){return e.type===yo.Identifier||e.type===yo.MemberExpression}function dn(e){if(1===e.body.length&&fn(e.body[0].expression))return{type:yo.AssignmentExpression,left:e.body[0].expression,right:{type:yo.NGValueParameter},operator:"="}}function hn(e){return 0===e.body.length||1===e.body.length&&(e.body[0].expression.type===yo.Literal||e.body[0].expression.type===yo.ArrayExpression||e.body[0].expression.type===yo.ObjectExpression)}function pn(e){return e.constant}function mn(e,t){this.astBuilder=e,this.$filter=t}function gn(e,t){this.astBuilder=e,this.$filter=t}function vn(e){return"constructor"==e}function $n(e){return C(e.valueOf)?e.valueOf():wo.call(e)}function yn(){var e,t,n=pe(),i=pe(),o={"true":!0,"false":!1,"null":null,undefined:void 0};this.addLiteral=function(e,t){o[e]=t},this.setIdentifierFns=function(n,r){return e=n,t=r,this},this.$get=["$filter",function(a){function s(e,t,r){var o,s,l;switch(r=r||b,typeof e){case"string":e=e.trim(),l=e;var g=r?i:n;if(o=g[l],!o){":"===e.charAt(0)&&":"===e.charAt(1)&&(s=!0,e=e.substring(2));var $=r?y:v,w=new $o($),x=new bo(w,a,$);o=x.parse(e),o.constant?o.$$watchDelegate=p:s?o.$$watchDelegate=o.literal?d:f:o.inputs&&(o.$$watchDelegate=c),r&&(o=u(o)),g[l]=o}return m(o,t);case"function":return m(e,t);default:return m(h,t)}}function u(e){function t(t,n,r,i){var o=b;b=!0;try{return e(t,n,r,i)}finally{b=o}}if(!e)return e;t.$$watchDelegate=e.$$watchDelegate,t.assign=u(e.assign),t.constant=e.constant,t.literal=e.literal;for(var n=0;e.inputs&&n0&&s(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)}}),l(u.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 t(e){u||(u=!0,a.$$resolve(e))}function r(e){u||(u=!0,a.$$reject(e))}var i,a=this,u=!1;try{(y(e)||C(e))&&(i=e&&e.then),C(i)?(this.promise.$$state.status=-1,i.call(e,t,r,o(this,this.notify))):(this.promise.$$state.value=e,this.promise.$$state.status=1,s(this.promise.$$state))}catch(l){r(l),n(l)}},reject:function(e){this.promise.$$state.status||this.$$reject(e)},$$reject:function(e){this.promise.$$state.value=e,this.promise.$$state.status=2,s(this.promise.$$state)},notify:function(t){var r=this.promise.$$state.pending;this.promise.$$state.status<=0&&r&&r.length&&e(function(){for(var e,i,o=0,a=r.length;o=0&&$(o,-1),s=null}},$watchGroup:function(e,t){function n(){u=!1,l?(l=!1,t(o,o,s)):t(o,i,s)}var i=new Array(e.length),o=new Array(e.length),a=[],s=this,u=!1,l=!0;if(!e.length){var c=!0;return s.$evalAsync(function(){c&&t(o,o,s)}),function(){c=!1}}return 1===e.length?this.$watch(e[0],function(e,n,r){o[0]=e,i[0]=n,t(o,e===n?o:i,r)}):(r(e,function(e,t){var r=s.$watch(e,function(e,r){o[t]=e,i[t]=r,u||(u=!0,s.$evalAsync(n))});a.push(r)}),function(){for(;a.length;)a.shift()()})},$watchCollection:function(e,t){function r(e){o=e;var t,r,i,s,u;if(!v(o)){if(y(o))if(n(o)){a!==h&&(a=h,g=a.length=0,f++),t=o.length,g!==t&&(f++,a.length=g=t);for(var l=0;lt){f++;for(r in a)Or.call(o,r)||(g--,delete a[r])}}else a!==o&&(a=o,f++);return f}}function i(){if(m?(m=!1,t(o,o,u)):t(o,s,u),c)if(y(o))if(n(o)){s=new Array(o.length);for(var e=0;e1,f=0,d=l(e,r),h=[],p={},m=!0,g=0;return this.$watch(d,i)},$digest:function(){var e,n,r,a,l,f,d,h,p,v,$,y,b=i,k=this,D=[];m("$digest"),c.$$checkUrlChange(),this===S&&null!==u&&(c.defer.cancel(u),x()),s=null;do{h=!1,v=k;for(var T=0;T<_.length;T++){try{y=_[T],y.scope.$eval(y.expression,y.locals)}catch(M){t(M)}s=null}_.length=0;e:do{if(f=v.$$watchers)for(d=f.length;d--;)try{if(e=f[d])if(l=e.get,(n=l(v))===(r=e.last)||(e.eq?U(n,r):"number"==typeof n&&"number"==typeof r&&isNaN(n)&&isNaN(r))){if(e===s){h=!1;break e}}else h=!0,s=e,e.last=e.eq?R(n,null):n,a=e.fn,a(n,r===w?n:r,v),b<5&&($=4-b,D[$]||(D[$]=[]),D[$].push({msg:C(e.exp)?"fn: "+(e.exp.name||e.exp.toString()):e.exp,newVal:n,oldVal:r}))}catch(M){t(M)}if(!(p=v.$$watchersCount&&v.$$childHead||v!==k&&v.$$nextSibling))for(;v!==k&&!(p=v.$$nextSibling);)v=v.$parent}while(v=p);if((h||_.length)&&!b--)throw g(),o("infdig","{0} $digest() iterations reached. Aborting!\nWatchers fired in the last 5 iterations: {1}",i,D)}while(h||_.length);for(g();A-1)throw xo("iwcard","Illegal sequence *** in string matcher. String: {0}",e);return e=Xr(e).replace("\\*\\*",".*").replace("\\*","[^:/.?&;]*"),new RegExp("^"+e+"$")}if(S(e))return new RegExp("^"+e.source+"$");throw xo("imatcher",'Matchers may only be "self", string patterns or RegExp objects')}function En(e){var t=[];return $(e)&&r(e,function(e){t.push(_n(e))}),t}function Dn(){this.SCE_CONTEXTS=ko;var e=["self"],t=[];this.resourceUrlWhitelist=function(t){return arguments.length&&(e=En(t)),e},this.resourceUrlBlacklist=function(e){return arguments.length&&(t=En(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=In(n.toString()),s=!1;for(i=0,o=e.length;i to the top of your HTML document. See http://docs.angularjs.org/api/ng.$sce for more information.");var i=ge(ko);i.isEnabled=function(){return e},i.trustAs=n.trustAs,i.getTrusted=n.getTrusted,i.valueOf=n.valueOf,e||(i.trustAs=i.getTrusted=function(e,t){return t},i.valueOf=p),i.parseAs=function(e,n){var r=t(n);return r.literal&&r.constant?r:t(n,function(t){return i.getTrusted(e,t)})};var o=i.parseAs,a=i.getTrusted,s=i.trustAs;return r(ko,function(e,t){var n=Fr(t);i[we("parse_as_"+n)]=function(t){return o(e,t)},i[we("get_trusted_"+n)]=function(t){return a(e,t)},i[we("trust_as_"+n)]=function(t){return s(e,t)}}),i}]}function Tn(){this.$get=["$window","$document",function(e,t){var n,r,i={},o=e.chrome&&e.chrome.app&&e.chrome.app.runtime,a=!o&&e.history&&e.history.pushState,s=f((/android (\d+)/.exec(Fr((e.navigator||{}).userAgent))||[])[1]),u=/Boxee/i.test((e.navigator||{}).userAgent),l=t[0]||{},c=/^(Moz|webkit|ms)(?=[A-Z])/,d=l.body&&l.body.style,h=!1,p=!1;if(d){for(var m in d)if(r=c.exec(m)){n=r[0],n=n[0].toUpperCase()+n.substr(1);break}n||(n="WebkitOpacity"in d&&"webkit"),h=!!("transition"in d||n+"Transition"in d),p=!!("animation"in d||n+"Animation"in d),!s||h&&p||(h=w(d.webkitTransition),p=w(d.webkitAnimation))}return{history:!(!a||s<4||u),hasEvent:function(e){if("input"===e&&jr<=11)return!1;if(v(i[e])){var t=l.createElement("div");i[e]="on"+e in t}return i[e]},csp:Kr(),vendorPrefix:n,transitions:h,animations:p,android:s}}]}function Mn(){var e;this.httpOptions=function(t){return t?(e=t,this):e},this.$get=["$templateCache","$http","$q","$sce",function(t,n,r,i){function o(a,s){function u(e){if(!s)throw Co("tpload","Failed to load template: {0} (HTTP status: {1} {2})",a,e.status,e.statusText);return r.reject(e)}o.totalPendingRequests++,w(a)&&!v(t.get(a))||(a=i.getTrustedResourceUrl(a));var c=n.defaults&&n.defaults.transformResponse;return Zr(c)?c=c.filter(function(e){return e!==_t}):c===_t&&(c=null),n.get(a,l({cache:t,transformResponse:c},e))["finally"](function(){o.totalPendingRequests--}).then(function(e){return t.put(a,e.data),e.data},u)}return o.totalPendingRequests=0,o}]}function On(){this.$get=["$rootScope","$browser","$location",function(e,t,n){var i={};return i.findBindings=function(e,t,n){var i=e.getElementsByClassName("ng-binding"),o=[];return r(i,function(e){var i=Br.element(e).data("$binding");i&&r(i,function(r){if(n){var i=new RegExp("(^|\\s)"+Xr(t)+"(\\s|\\||$)");i.test(r)&&o.push(e)}else r.indexOf(t)!=-1&&o.push(e)})}),o},i.findModels=function(e,t,n){for(var r=["ng-","data-ng-","ng\\:"],i=0;i0&&(u=t(o.substring(0,s)),v(r[u])&&(r[u]=t(o.substring(s+1))));return r}}function Ln(){this.$get=jn}function Rn(e){function t(i,o){if(y(i)){var a={};return r(i,function(e,n){a[n]=t(n,e)}),a}return e.factory(i+n,o)}var n="Filter";this.register=t,this.$get=["$injector",function(e){return function(t){return e.get(t+n)}}],t("currency",qn),t("date",or),t("filter",Un), -t("json",ar),t("limitTo",sr),t("lowercase",Fo),t("number",Yn),t("orderBy",lr),t("uppercase",Io)}function Un(){return function(e,r,i,o){if(!n(e)){if(null==e)return e;throw t("filter")("notarray","Expected array but received: {0}",e)}o=o||"$";var a,s,u=Hn(r);switch(u){case"function":a=r;break;case"boolean":case"null":case"number":case"string":s=!0;case"object":a=Vn(r,i,o,s);break;default:return e}return Array.prototype.filter.call(e,a)}}function Vn(e,t,n,r){var i,o=y(e)&&n in e;return t===!0?t=U:C(t)||(t=function(e,t){return!v(e)&&(null===e||null===t?e===t:!(y(t)||y(e)&&!g(e))&&(e=Fr(""+e),t=Fr(""+t),e.indexOf(t)!==-1))}),i=function(i){return o&&!y(i)?zn(i,e[n],t,n,!1):zn(i,e,t,n,r)}}function zn(e,t,n,r,i,o){var a=Hn(e),s=Hn(t);if("string"===s&&"!"===t.charAt(0))return!zn(e,t.substring(1),n,r,i);if(Zr(e))return e.some(function(e){return zn(e,t,n,r,i)});switch(a){case"object":var u;if(i){for(u in e)if("$"!==u.charAt(0)&&zn(e[u],t,n,r,!0))return!0;return!o&&zn(e,t,n,r,!1)}if("object"===s){for(u in t){var l=t[u];if(!C(l)&&!v(l)){var c=u===r,f=c?e:e[u];if(!zn(f,l,n,r,c,c))return!1}}return!0}return n(e,t);case"function":return!1;default:return n(e,t)}}function Hn(e){return null===e?"null":typeof e}function qn(e){var t=e.NUMBER_FORMATS;return function(e,n,r){return v(n)&&(n=t.CURRENCY_SYM),v(r)&&(r=t.PATTERNS[1].maxFrac),null==e?e:Gn(e,t.PATTERNS[1],t.GROUP_SEP,t.DECIMAL_SEP,r).replace(/\u00A4/g,n)}}function Yn(e){var t=e.NUMBER_FORMATS;return function(e,n){return null==e?e:Gn(e,t.PATTERNS[0],t.GROUP_SEP,t.DECIMAL_SEP,n)}}function Wn(e){var t,n,r,i,o,a=0;for((n=e.indexOf(Do))>-1&&(e=e.replace(Do,"")),(r=e.search(/e/i))>0?(n<0&&(n=r),n+=+e.slice(r+1),e=e.substring(0,r)):n<0&&(n=e.length),r=0;e.charAt(r)==Ao;r++);if(r==(o=e.length))t=[0],n=1;else{for(o--;e.charAt(o)==Ao;)o--;for(n-=r,t=[],i=0;r<=o;r++,i++)t[i]=+e.charAt(r)}return n>Eo&&(t=t.splice(0,Eo-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=v(t)?Math.min(Math.max(n,o),r):+t;var a=t+e.i,s=i[a];if(a>0){i.splice(Math.max(e.i,a));for(var u=a;u=5)if(a-1<0){for(var c=0;c>a;c--)i.unshift(0),e.i++;i.unshift(1),e.i++}else i[a-1]++;for(;o0?h=c.splice(f,c.length):(h=c,c=[0]);var p=[];for(c.length>=t.lgSize&&p.unshift(c.splice(-t.lgSize,c.length).join(""));c.length>t.gSize;)p.unshift(c.splice(-t.gSize,c.length).join(""));c.length&&p.unshift(c.join("")),l=p.join(n),h.length&&(l+=r+h.join("")),d&&(l+="e+"+d)}return e<0&&!s?t.negPre+l+t.negSuf:t.posPre+l+t.posSuf}function Zn(e,t,n,r){var i="";for((e<0||r&&e<=0)&&(r?e=-e+1:(e=-e,i="-")),e=""+e;e.length0||a>-n)&&(a+=n),0===a&&n==-12&&(a=12),Zn(a,t,r,i)}}function Jn(e,t,n){return function(r,i){var o=r["get"+e](),a=(n?"STANDALONE":"")+(t?"SHORT":""),s=Ir(a+e);return i[s][o]}}function Xn(e,t,n){var r=-1*n,i=r>=0?"+":"";return i+=Zn(Math[r>0?"floor":"ceil"](r/60),2)+Zn(Math.abs(r%60),2)}function Kn(e){var t=new Date(e,0,1).getDay();return new Date(e,0,(t<=4?5:12)-t)}function er(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate()+(4-e.getDay()))}function tr(e){return function(t){var n=Kn(t.getFullYear()),r=er(t),i=+r-+n,o=1+Math.round(i/6048e5);return Zn(o,e)}}function nr(e,t){return e.getHours()<12?t.AMPMS[0]:t.AMPMS[1]}function rr(e,t){return e.getFullYear()<=0?t.ERAS[0]:t.ERAS[1]}function ir(e,t){return e.getFullYear()<=0?t.ERANAMES[0]:t.ERANAMES[1]}function or(e){function t(e){var t;if(t=e.match(n)){var r=new Date(0),i=0,o=0,a=t[8]?r.setUTCFullYear:r.setFullYear,s=t[8]?r.setUTCHours:r.setHours;t[9]&&(i=f(t[9]+t[10]),o=f(t[9]+t[11])),a.call(r,f(t[1]),f(t[2])-1,f(t[3]));var u=f(t[4]||0)-i,l=f(t[5]||0)-o,c=f(t[6]||0),d=Math.round(1e3*parseFloat("0."+(t[7]||0)));return s.call(r,u,l,c,d),r}return e}var n=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;return function(n,i,o){var a,s,u="",l=[];if(i=i||"mediumDate",i=e.DATETIME_FORMATS[i]||i,w(n)&&(n=Oo.test(n)?f(n):t(n)),x(n)&&(n=new Date(n)),!k(n)||!isFinite(n.getTime()))return n;for(;i;)s=Mo.exec(i),s?(l=V(l,s,1),i=l.pop()):(l.push(i),i=null);var c=n.getTimezoneOffset();return o&&(c=B(o,c),n=Z(n,o,!0)),r(l,function(t){a=To[t],u+=a?a(n,e.DATETIME_FORMATS,c):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}}function ar(){return function(e,t){return v(t)&&(t=2),Y(e,t)}}function sr(){return function(e,t,r){return t=Math.abs(Number(t))===1/0?Number(t):f(t),isNaN(t)?e:(x(e)&&(e=e.toString()),n(e)?(r=!r||isNaN(r)?0:f(r),r=r<0?Math.max(0,e.length+r):r,t>=0?ur(e,r,r+t):0===r?ur(e,t,e.length):ur(e,Math.max(0,r+t),r)):e)}}function ur(e,t,n){return w(e)?e.slice(t,n):Vr.call(e,t,n)}function lr(e){function r(t){return t.map(function(t){var n=1,r=p;if(C(t))r=t;else if(w(t)&&("+"!=t.charAt(0)&&"-"!=t.charAt(0)||(n="-"==t.charAt(0)?-1:1,t=t.substring(1)),""!==t&&(r=e(t),r.constant))){var i=r();r=function(e){return e[i]}}return{get:r,descending:n}})}function i(e){switch(typeof e){case"number":case"boolean":case"string":return!0;default:return!1}}function o(e){return C(e.valueOf)&&(e=e.valueOf(),i(e))?e:g(e)&&(e=e.toString(),i(e))?e:e}function a(e,t){var n=typeof e;return null===e?(n="string",e="null"):"object"===n&&(e=o(e)),{value:e,type:n,index:t}}function s(e,t){var n=0,r=e.type,i=t.type;if(r===i){var o=e.value,a=t.value;"string"===r?(o=o.toLowerCase(),a=a.toLowerCase()):"object"===r&&(y(o)&&(o=e.index),y(a)&&(a=t.index)),o!==a&&(n=o=m},a.$observe("min",function(e){m=d(e),s.$validate()})}if($(a.max)||a.ngMax){var g;s.$validators.max=function(e){return!f(e)||v(g)||n(e)<=g},a.$observe("max",function(e){g=d(e),s.$validate()})}}}function yr(e,t,n,r){var i=t[0],o=r.$$hasNativeValidators=y(i.validity);o&&r.$parsers.push(function(e){var n=t.prop(Mr)||{};return n.badInput||n.typeMismatch?void 0:e})}function br(e,t,n,r,i,o){if(yr(e,t,n,r),mr(e,t,n,r,i,o),r.$$parserName="number",r.$parsers.push(function(e){return r.$isEmpty(e)?null:Yo.test(e)?parseFloat(e):void 0}),r.$formatters.push(function(e){if(!r.$isEmpty(e)){if(!x(e))throw Da("numfmt","Expected `{0}` to be a number",e);e=e.toString()}return e}),$(n.min)||n.ngMin){var a;r.$validators.min=function(e){return r.$isEmpty(e)||v(a)||e>=a},n.$observe("min",function(e){$(e)&&!x(e)&&(e=parseFloat(e)),a=x(e)&&!isNaN(e)?e:void 0,r.$validate()})}if($(n.max)||n.ngMax){var s;r.$validators.max=function(e){return r.$isEmpty(e)||v(s)||e<=s},n.$observe("max",function(e){$(e)&&!x(e)&&(e=parseFloat(e)),s=x(e)&&!isNaN(e)?e:void 0,r.$validate()})}}function wr(e,t,n,r,i,o){mr(e,t,n,r,i,o),hr(r),r.$$parserName="url",r.$validators.url=function(e,t){var n=e||t;return r.$isEmpty(n)||Ho.test(n)}}function xr(e,t,n,r,i,o){mr(e,t,n,r,i,o),hr(r),r.$$parserName="email",r.$validators.email=function(e,t){var n=e||t;return r.$isEmpty(n)||qo.test(n)}}function kr(e,t,n,r){v(n.name)&&t.attr("name",a());var i=function(e){t[0].checked&&r.$setViewValue(n.value,e&&e.type)};t.on("click",i),r.$render=function(){var e=n.value;t[0].checked=e==r.$viewValue},n.$observe("value",r.$render)}function Cr(e,t,n,r,i){var o;if($(r)){if(o=e(r),!o.constant)throw Da("constexpr","Expected constant expression for `{0}`, but saw `{1}`.",n,r);return o(t)}return i}function Sr(e,t,n,r,i,o,a,s){var u=Cr(s,e,"ngTrueValue",n.ngTrueValue,!0),l=Cr(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 U(e,u)}),r.$parsers.push(function(e){return e?u:l})}function _r(e,t){return e="ngClass"+e,["$animate",function(n){function i(e,t){var n=[];e:for(var r=0;r0||n[e])&&(n[e]=(n[e]||0)+t,n[e]===+(t>0)&&i.push(e))}),s.data("$classCounts",n),i.join(" ")}function d(e,t){var r=i(t,e),o=i(e,t);r=f(r,1),o=f(o,-1),r&&r.length&&n.addClass(s,r),o&&o.length&&n.removeClass(s,o)}function h(e){if(t===!0||(1&a.$index)===t){var n=o(e||[]);if(p){if(!U(e,p)){var r=o(p);d(r,n)}}else l(n)}p=Zr(e)?e.map(function(e){return ge(e)}):ge(e)}var p;a.$watch(u[e],h,!0),u.$observe("class",function(t){h(a.$eval(u[e]))}),"ngClass"!==e&&a.$watch("$index",function(n,r){var i=1&n;if(i!==(1&r)){var s=o(a.$eval(u[e]));i===t?l(s):c(s)}})}}}]}function Er(e){function t(e,t,s){v(t)?n("$pending",e,s):r("$pending",e,s),M(t)?t?(c(a.$error,e,s),l(a.$$success,e,s)):(l(a.$error,e,s),c(a.$$success,e,s)):(c(a.$error,e,s),c(a.$$success,e,s)),a.$pending?(i(Sa,!0),a.$valid=a.$invalid=void 0,o("",null)):(i(Sa,!1),a.$valid=Dr(a.$error),a.$invalid=!a.$valid,o("",a.$valid));var u;u=a.$pending&&a.$pending[e]?void 0:!a.$error[e]&&(!!a.$$success[e]||null),o(e,u),a.$$parentForm.$setValidity(e,u,a)}function n(e,t,n){a[e]||(a[e]={}),l(a[e],t,n)}function r(e,t,n){a[e]&&c(a[e],t,n),Dr(a[e])&&(a[e]=void 0)}function i(e,t){t&&!u[e]?(f.addClass(s,e),u[e]=!0):!t&&u[e]&&(f.removeClass(s,e),u[e]=!1)}function o(e,t){e=e?"-"+se(e,"-"):"",i(ya+e,t===!0),i(ba+e,t===!1)}var a=e.ctrl,s=e.$element,u={},l=e.set,c=e.unset,f=e.$animate;u[ba]=!(u[ya]=s.hasClass(ya)),a.$setValidity=t}function Dr(e){if(e)for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}function Ar(e){e[0].hasAttribute("selected")&&(e[0].selected=!0)}var Tr=/^\/(.+)\/([a-z]*)$/,Mr="validity",Or=Object.prototype.hasOwnProperty,Fr=function(e){return w(e)?e.toLowerCase():e},Ir=function(e){return w(e)?e.toUpperCase():e},Nr=function(e){return w(e)?e.replace(/[A-Z]/g,function(e){return String.fromCharCode(32|e.charCodeAt(0))}):e},Pr=function(e){return w(e)?e.replace(/[a-z]/g,function(e){return String.fromCharCode(e.charCodeAt(0)&-33)}):e};"i"!=="I".toLowerCase()&&(Fr=Nr,Ir=Pr);var jr,Lr,Rr,Ur,Vr=[].slice,zr=[].splice,Hr=[].push,qr=Object.prototype.toString,Yr=Object.getPrototypeOf,Wr=t("ng"),Br=e.angular||(e.angular={}),Gr=0;jr=e.document.documentMode,h.$inject=[],p.$inject=[];var Zr=Array.isArray,Qr=/^\[object (?:Uint8|Uint8Clamped|Uint16|Uint32|Int8|Int16|Int32|Float32|Float64)Array\]$/,Jr=function(e){return w(e)?e.trim():e},Xr=function(e){return e.replace(/([-()\[\]{}+?*.$\^|,:#(?:<\/\1>|)$/,wi=/<|&#?\w+;/,xi=/<([\w:-]+)/,ki=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,Ci={option:[1,'"],thead:[1,"","
    "],col:[2,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],_default:[0,"",""]};Ci.optgroup=Ci.option,Ci.tbody=Ci.tfoot=Ci.colgroup=Ci.caption=Ci.thead,Ci.th=Ci.td;var Si=e.Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))},_i=Ae.prototype={ready:function(t){function n(){r||(r=!0,t())}var r=!1;"complete"===e.document.readyState?e.setTimeout(n):(this.on("DOMContentLoaded",n),Ae(e).on("load",n))},toString:function(){var e=[];return r(this,function(t){e.push(""+t)}),"["+e.join(", ")+"]"},eq:function(e){return Lr(e>=0?this[e]:this[this.length+e])},length:0,push:Hr,sort:[].sort,splice:[].splice},Ei={};r("multiple,selected,checked,disabled,readOnly,required,open".split(","),function(e){Ei[Fr(e)]=e});var Di={};r("input,select,option,textarea,button,form,details".split(","),function(e){Di[e]=!0});var Ai={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern"};r({data:Ne,removeData:Fe,hasData:Ce,cleanData:Se},function(e,t){Ae[t]=e}),r({data:Ne,inheritedData:Ve,scope:function(e){return Lr.data(e,"$scope")||Ve(e.parentNode||e,["$isolateScope","$scope"])},isolateScope:function(e){return Lr.data(e,"$isolateScope")||Lr.data(e,"$isolateScopeNoTemplate")},controller:Ue,injector:function(e){return Ve(e,"$injector")},removeAttr:function(e,t){e.removeAttribute(t)},hasClass:Pe,css:function(e,t,n){return t=we(t),$(n)?void(e.style[t]=n):e.style[t]},attr:function(e,t,n){var r=e.nodeType;if(r!==si&&r!==ai&&r!==ui){var i=Fr(t);if(Ei[i]){if(!$(n))return e[t]||(e.attributes.getNamedItem(t)||h).specified?i:void 0;n?(e[t]=!0,e.setAttribute(t,i)):(e[t]=!1,e.removeAttribute(i))}else if($(n))e.setAttribute(t,n);else if(e.getAttribute){var o=e.getAttribute(t,2);return null===o?void 0:o}}},prop:function(e,t,n){return $(n)?void(e[t]=n):e[t]},text:function(){function e(e,t){if(v(t)){var n=e.nodeType;return n===oi||n===si?e.textContent:""}e.textContent=t}return e.$dv="",e}(),val:function(e,t){if(v(t)){if(e.multiple&&"select"===j(e)){var n=[];return r(e.options,function(e){e.selected&&n.push(e.value||e.text)}),0===n.length?null:n}return e.value}e.value=t},html:function(e,t){return v(t)?e.innerHTML:(Me(e,!0),void(e.innerHTML=t))},empty:ze},function(e,t){Ae.prototype[t]=function(t,n){var r,i,o=this.length;if(e!==ze&&v(2==e.length&&e!==Pe&&e!==Ue?t:n)){if(y(t)){for(r=0;r=0?t.split(" "):[t],u=s.length,l=function(t,r,i){var s=o[t];s||(s=o[t]=[],s.specialHandlerWrapper=r,"$destroy"===t||i||pi(e,t,a)),s.push(n)};u--;)t=s[u],$i[t]?(l($i[t],Ze),l(t,void 0,!0)):l(t)}},off:Oe,one:function(e,t,n){e=Lr(e),e.on(t,function r(){e.off(t,n),e.off(t,r)}),e.on(t,n)},replaceWith:function(e,t){var n,i=e.parentNode;Me(e),r(new Ae(t),function(t){n?i.insertBefore(t,n.nextSibling):i.replaceChild(t,e),n=t})},children:function(e){var t=[];return r(e.childNodes,function(e){e.nodeType===oi&&t.push(e)}),t},contents:function(e){return e.contentDocument||e.childNodes||[]},append:function(e,t){var n=e.nodeType;if(n===oi||n===ci){t=new Ae(t);for(var r=0,i=t.length;r/,Oi=/^[^\(]*\(\s*([^\)]*)\)/m,Fi=/,/,Ii=/^\s*(_?)(\S+?)\1\s*$/,Ni=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,Pi=t("$injector");rt.$$annotate=nt;var ji=t("$animate"),Li=1,Ri="ng-animate",Ui=function(){this.$get=h},Vi=function(){var e=new Xe,t=[];this.$get=["$$AnimateRunner","$rootScope",function(n,i){function o(e,t,n){var i=!1;return t&&(t=w(t)?t.split(" "):Zr(t)?t:[],r(t,function(t){t&&(i=!0,e[t]=n)})),i}function a(){r(t,function(t){var n=e.get(t);if(n){var i=st(t.attr("class")),o="",a="";r(n,function(e,t){var n=!!i[t];e!==n&&(e?o+=(o.length?" ":"")+t:a+=(a.length?" ":"")+t)}),r(t,function(e){o&&Le(e,o),a&&je(e,a)}),e.remove(t)}}),t.length=0}function s(n,r,s){var u=e.get(n)||{},l=o(u,r,!0),c=o(u,s,!1);(l||c)&&(e.put(n,u),t.push(n),1===t.length&&i.$$postDigest(a))}return{enabled:h,on:h,off:h,pin:h,push:function(e,t,r,i){i&&i(),r=r||{},r.from&&e.css(r.from),r.to&&e.css(r.to),(r.addClass||r.removeClass)&&s(e,r.addClass,r.removeClass);var o=new n;return o.complete(),o}}}]},zi=["$provide",function(e){var t=this;this.$$registeredAnimations=Object.create(null),this.register=function(n,r){if(n&&"."!==n.charAt(0))throw ji("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+|\\/)"+Ri+"(\\s+|\\/)");if(t.test(this.$$classNameFilter.toString()))throw ji("nongcls",'$animateProvider.classNameFilter(regex) prohibits accepting a regex value which matches/contains the "{0}" CSS class.',Ri)}return this.$$classNameFilter},this.$get=["$$animateQueue",function(e){function t(e,t,n){if(n){var r=at(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&&Lr(r),i=i&&Lr(i),r=r||i.parent(),t(n,r,i),e.push(n,"enter",ut(o))},move:function(n,r,i,o){return r=r&&Lr(r),i=i&&Lr(i),r=r||i.parent(),t(n,r,i),e.push(n,"move",ut(o))},leave:function(t,n){return e.push(t,"leave",ut(n),function(){t.remove()})},addClass:function(t,n,r){return r=ut(r),r.addClass=ot(r.addclass,n),e.push(t,"addClass",r)},removeClass:function(t,n,r){return r=ut(r),r.removeClass=ot(r.removeClass,n),e.push(t,"removeClass",r)},setClass:function(t,n,r,i){return i=ut(i),i.addClass=ot(i.addClass,n),i.removeClass=ot(i.removeClass,r),e.push(t,"setClass",i)},animate:function(t,n,r,i,o){return o=ut(o),o.from=o.from?l(o.from,n):n,o.to=o.to?l(o.to,r):r,i=i||"ng-inline-animate",o.tempClasses=ot(o.tempClasses,i),e.push(t,"animate",o)}}}]}],Hi=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){go[e]=!0});var vo={n:"\n",f:"\f",r:"\r",t:"\t",v:"\x0B","'":"'",'"':'"'},$o=function(e){this.options=e};$o.prototype={constructor:$o,lex:function(e){for(this.text=e,this.index=0,this.tokens=[];this.index=55296&&n<=56319&&r>=56320&&r<=57343?e+t:e},isExpOperator:function(e){ -return"-"===e||"+"===e||this.isNumber(e)},throwError:function(e,t,n){n=n||this.index;var r=$(t)?"s "+t+"-"+this.index+" ["+this.text.substring(t,n)+"]":" "+n;throw fo("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:yo.Program,body:e}},expressionStatement:function(){return{type:yo.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:yo.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:yo.ConditionalExpression,test:n,alternate:e,consequent:t}):n},logicalOR:function(){for(var e=this.logicalAND();this.expect("||");)e={type:yo.LogicalExpression,operator:"||",left:e,right:this.logicalAND()};return e},logicalAND:function(){for(var e=this.equality();this.expect("&&");)e={type:yo.LogicalExpression,operator:"&&",left:e,right:this.equality()};return e},equality:function(){for(var e,t=this.relational();e=this.expect("==","!=","===","!==");)t={type:yo.BinaryExpression,operator:e.text,left:t,right:this.relational()};return t},relational:function(){for(var e,t=this.additive();e=this.expect("<",">","<=",">=");)t={type:yo.BinaryExpression,operator:e.text,left:t,right:this.additive()};return t},additive:function(){for(var e,t=this.multiplicative();e=this.expect("+","-");)t={type:yo.BinaryExpression,operator:e.text,left:t,right:this.multiplicative()};return t},multiplicative:function(){for(var e,t=this.unary();e=this.expect("*","/","%");)t={type:yo.BinaryExpression,operator:e.text,left:t,right:this.unary()};return t},unary:function(){var e;return(e=this.expect("+","-","!"))?{type:yo.UnaryExpression,operator:e.text,prefix:!0,argument:this.unary()}:this.primary()},primary:function(){var e;this.expect("(")?(e=this.filterChain(),this.consume(")")):this.expect("[")?e=this.arrayDeclaration():this.expect("{")?e=this.object():this.selfReferential.hasOwnProperty(this.peek().text)?e=R(this.selfReferential[this.consume().text]):this.options.literals.hasOwnProperty(this.peek().text)?e={type:yo.Literal,value:this.options.literals[this.consume().text]}:this.peek().identifier?e=this.identifier():this.peek().constant?e=this.constant():this.throwError("not a primary expression",this.peek());for(var t;t=this.expect("(","[",".");)"("===t.text?(e={type:yo.CallExpression,callee:e,arguments:this.parseArguments()},this.consume(")")):"["===t.text?(e={type:yo.MemberExpression,object:e,property:this.expression(),computed:!0},this.consume("]")):"."===t.text?e={type:yo.MemberExpression,object:e,property:this.identifier(),computed:!1}:this.throwError("IMPOSSIBLE");return e},filter:function(e){for(var t=[e],n={type:yo.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.filterChain());while(this.expect(","));return e},identifier:function(){var e=this.consume();return e.identifier||this.throwError("is not a valid identifier",e),{type:yo.Identifier,name:e.text}},constant:function(){return{type:yo.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:yo.ArrayExpression,elements:e}},object:function(){var e,t=[];if("}"!==this.peekToken().text)do{if(this.peek("}"))break;e={type:yo.Property,kind:"init"},this.peek().constant?(e.key=this.constant(),e.computed=!1,this.consume(":"),e.value=this.expression()):this.peek().identifier?(e.key=this.identifier(),e.computed=!1,this.peek(":")?(this.consume(":"),e.value=this.expression()):e.value=e.key):this.peek("[")?(this.consume("["),e.key=this.expression(),this.consume("]"),e.computed=!0,this.consume(":"),e.value=this.expression()):this.throwError("invalid key",this.peek()),t.push(e)}while(this.expect(","));return this.consume("}"),{type:yo.ObjectExpression,properties:t}},throwError:function(e,t){throw fo("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 fo("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 fo("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)},selfReferential:{"this":{type:yo.ThisExpression},$locals:{type:yo.LocalsExpression}}},mn.prototype={compile:function(e,t){var n=this,i=this.astBuilder.ast(e);this.state={nextId:0,filters:{},expensiveChecks:t,fn:{vars:[],body:[],own:{}},assign:{vars:[],body:[],own:{}},inputs:[]},ln(i,n.$filter);var o,a="";if(this.stage="assign",o=dn(i)){this.state.computing="assign";var s=this.nextId();this.recurse(o,s),this.return_(s),a="fn.assign="+this.generateFunction("assign","s,v,l")}var u=cn(i.body);n.stage="inputs",r(u,function(e,t){var r="fn"+t;n.state[r]={vars:[],body:[],own:{}},n.state.computing=r;var i=n.nextId();n.recurse(e,i),n.return_(i),n.state.inputs.push(r),e.watchId=t}),this.state.computing="fn",this.stage="main",this.recurse(i);var l='"'+this.USE+" "+this.STRICT+'";\n'+this.filterPrefix()+"var fn="+this.generateFunction("fn","s,l,a,i")+a+this.watchFns()+"return fn;",c=new Function("$filter","ensureSafeMemberName","ensureSafeObject","ensureSafeFunction","getStringValue","ensureSafeAssignContext","ifDefined","plus","text",l)(this.$filter,en,nn,rn,tn,on,an,sn,e);return this.state=this.stage=void 0,c.literal=hn(i),c.constant=pn(i),c},USE:"use",STRICT:"strict",watchFns:function(){var e=[],t=this.state.inputs,n=this;return r(t,function(t){e.push("var "+t+"="+n.generateFunction(t,"s"))}),t.length&&e.push("fn.inputs=["+t.join(",")+"];"),e.join("")},generateFunction:function(e,t){return"function("+t+"){"+this.varsPrefix(e)+this.body(e)+"};"},filterPrefix:function(){var e=[],t=this;return r(this.state.filters,function(n,r){e.push(n+"=$filter("+t.escape(r)+")")}),e.length?"var "+e.join(",")+";":""},varsPrefix:function(e){return this.state[e].vars.length?"var "+this.state[e].vars.join(",")+";":""},body:function(e){return this.state[e].body.join("")},recurse:function(e,t,n,i,o,a){var s,u,l,c,f,d=this;if(i=i||h,!a&&$(e.watchId))return t=t||this.nextId(),void this.if_("i",this.lazyAssign(t,this.computedMember("i",e.watchId)),this.lazyRecurse(e,t,n,i,o,!0));switch(e.type){case yo.Program:r(e.body,function(t,n){d.recurse(t.expression,void 0,void 0,function(e){u=e}),n!==e.body.length-1?d.current().body.push(u,";"):d.return_(u)});break;case yo.Literal:c=this.escape(e.value),this.assign(t,c),i(c);break;case yo.UnaryExpression:this.recurse(e.argument,void 0,void 0,function(e){u=e}),c=e.operator+"("+this.ifDefined(u,0)+")",this.assign(t,c),i(c);break;case yo.BinaryExpression:this.recurse(e.left,void 0,void 0,function(e){s=e}),this.recurse(e.right,void 0,void 0,function(e){u=e}),c="+"===e.operator?this.plus(s,u):"-"===e.operator?this.ifDefined(s,0)+e.operator+this.ifDefined(u,0):"("+s+")"+e.operator+"("+u+")",this.assign(t,c),i(c);break;case yo.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 yo.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 yo.Identifier:t=t||this.nextId(),n&&(n.context="inputs"===d.stage?"s":this.assign(this.nextId(),this.getHasOwnProperty("l",e.name)+"?l:s"),n.computed=!1,n.name=e.name),en(e.name),d.if_("inputs"===d.stage||d.not(d.getHasOwnProperty("l",e.name)),function(){d.if_("inputs"===d.stage||"s",function(){o&&1!==o&&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||vn(e.name))&&d.addEnsureSafeObject(t),i(t);break;case yo.MemberExpression:s=n&&(n.context=this.nextId())||this.nextId(),t=t||this.nextId(),d.recurse(e.object,s,void 0,function(){d.if_(d.notNull(s),function(){o&&1!==o&&d.addEnsureSafeAssignContext(s),e.computed?(u=d.nextId(),d.recurse(e.property,u),d.getStringValue(u),d.addEnsureSafeMemberName(u),o&&1!==o&&d.if_(d.not(d.computedMember(s,u)),d.lazyAssign(d.computedMember(s,u),"{}")),c=d.ensureSafeObject(d.computedMember(s,u)),d.assign(t,c),n&&(n.computed=!0,n.name=u)):(en(e.property.name),o&&1!==o&&d.if_(d.not(d.nonComputedMember(s,e.property.name)),d.lazyAssign(d.nonComputedMember(s,e.property.name),"{}")),c=d.nonComputedMember(s,e.property.name),(d.state.expensiveChecks||vn(e.property.name))&&(c=d.ensureSafeObject(c)),d.assign(t,c),n&&(n.computed=!1,n.name=e.property.name))},function(){d.assign(t,"undefined")}),i(t)},!!o);break;case yo.CallExpression:t=t||this.nextId(),e.filter?(u=d.filter(e.callee.name),l=[],r(e.arguments,function(e){var t=d.nextId();d.recurse(e,t),l.push(t)}),c=u+"("+l.join(",")+")",d.assign(t,c),i(t)):(u=d.nextId(),s={},l=[],d.recurse(e.callee,u,s,function(){d.if_(d.notNull(u),function(){d.addEnsureSafeFunction(u),r(e.arguments,function(e){d.recurse(e,d.nextId(),void 0,function(e){l.push(d.ensureSafeObject(e))})}),s.name?(d.state.expensiveChecks||d.addEnsureSafeObject(s.context),c=d.member(s.context,s.name,s.computed)+"("+l.join(",")+")"):c=u+"("+l.join(",")+")",c=d.ensureSafeObject(c),d.assign(t,c)},function(){d.assign(t,"undefined")}),i(t)}));break;case yo.AssignmentExpression:if(u=this.nextId(),s={},!fn(e.left))throw fo("lval","Trying to assign a value to a non l-value");this.recurse(e.left,void 0,s,function(){d.if_(d.notNull(s.context),function(){d.recurse(e.right,u),d.addEnsureSafeObject(d.member(s.context,s.name,s.computed)),d.addEnsureSafeAssignContext(s.context),c=d.member(s.context,s.name,s.computed)+e.operator+u,d.assign(t,c),i(t||c)})},1);break;case yo.ArrayExpression:l=[],r(e.elements,function(e){d.recurse(e,d.nextId(),void 0,function(e){l.push(e)})}),c="["+l.join(",")+"]",this.assign(t,c),i(c);break;case yo.ObjectExpression:l=[],f=!1,r(e.properties,function(e){e.computed&&(f=!0)}),f?(t=t||this.nextId(),this.assign(t,"{}"),r(e.properties,function(e){e.computed?(s=d.nextId(),d.recurse(e.key,s)):s=e.key.type===yo.Identifier?e.key.name:""+e.key.value,u=d.nextId(),d.recurse(e.value,u),d.assign(d.member(t,s,e.computed),u)})):(r(e.properties,function(t){d.recurse(t.value,e.constant?void 0:d.nextId(),void 0,function(e){l.push(d.escape(t.key.type===yo.Identifier?t.key.name:""+t.key.value)+":"+e)})}),c="{"+l.join(",")+"}",this.assign(t,c)),i(t||c);break;case yo.ThisExpression:this.assign(t,"s"),i("s");break;case yo.LocalsExpression:this.assign(t,"l"),i("l");break;case yo.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){if(e)return this.current().body.push(e,"=",t,";"),e},filter:function(e){return this.state.filters.hasOwnProperty(e)||(this.state.filters[e]=this.nextId(!0)),this.state.filters[e]},ifDefined:function(e,t){return"ifDefined("+e+","+this.escape(t)+")"},plus:function(e,t){return"plus("+e+","+t+")"},return_:function(e){this.current().body.push("return ",e,";")},if_:function(e,t,n){if(e===!0)t();else{var r=this.current().body;r.push("if(",e,"){"),t(),r.push("}"),n&&(r.push("else{"),n(),r.push("}"))}},not:function(e){return"!("+e+")"},notNull:function(e){return e+"!=null"},nonComputedMember:function(e,t){var n=/[$_a-zA-Z][$_a-zA-Z0-9]*/,r=/[^$_a-zA-Z0-9]/g;return n.test(t)?e+"."+t:e+'["'+t.replace(r,this.stringEscapeFn)+'"]'},computedMember:function(e,t){return e+"["+t+"]"},member:function(e,t,n){return n?this.computedMember(e,t):this.nonComputedMember(e,t)},addEnsureSafeObject:function(e){this.current().body.push(this.ensureSafeObject(e),";")},addEnsureSafeMemberName:function(e){this.current().body.push(this.ensureSafeMemberName(e),";")},addEnsureSafeFunction:function(e){this.current().body.push(this.ensureSafeFunction(e),";")},addEnsureSafeAssignContext:function(e){this.current().body.push(this.ensureSafeAssignContext(e),";")},ensureSafeObject:function(e){return"ensureSafeObject("+e+",text)"},ensureSafeMemberName:function(e){return"ensureSafeMemberName("+e+",text)"},ensureSafeFunction:function(e){return"ensureSafeFunction("+e+",text)"},getStringValue:function(e){this.assign(e,"getStringValue("+e+")")},ensureSafeAssignContext:function(e){return"ensureSafeAssignContext("+e+",text)"},lazyRecurse:function(e,t,n,r,i,o){var a=this;return function(){a.recurse(e,t,n,r,i,o)}},lazyAssign:function(e,t){var n=this;return function(){n.assign(e,t)}},stringEscapeRegex:/[^ a-zA-Z0-9]/g,stringEscapeFn:function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)},escape:function(e){if(w(e))return"'"+e.replace(this.stringEscapeRegex,this.stringEscapeFn)+"'";if(x(e))return e.toString();if(e===!0)return"true";if(e===!1)return"false";if(null===e)return"null";if("undefined"==typeof e)return"undefined";throw fo("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]}},gn.prototype={compile:function(e,t){var n=this,i=this.astBuilder.ast(e);this.expression=e,this.expensiveChecks=t,ln(i,n.$filter);var o,a;(o=dn(i))&&(a=this.recurse(o));var s,u=cn(i.body);u&&(s=[],r(u,function(e,t){var r=n.recurse(e);e.input=r,s.push(r),e.watchId=t}));var l=[];r(i.body,function(e){l.push(n.recurse(e.expression))});var c=0===i.body.length?h:1===i.body.length?l[0]:function(e,t){var n;return r(l,function(r){n=r(e,t)}),n};return a&&(c.assign=function(e,t,n){return a(e,n,t)}),s&&(c.inputs=s),c.literal=hn(i),c.constant=pn(i),c},recurse:function(e,t,n){var i,o,a,s=this;if(e.input)return this.inputs(e.input,e.watchId);switch(e.type){case yo.Literal:return this.value(e.value,t);case yo.UnaryExpression:return o=this.recurse(e.argument),this["unary"+e.operator](o,t);case yo.BinaryExpression:return i=this.recurse(e.left),o=this.recurse(e.right),this["binary"+e.operator](i,o,t);case yo.LogicalExpression:return i=this.recurse(e.left),o=this.recurse(e.right),this["binary"+e.operator](i,o,t);case yo.ConditionalExpression:return this["ternary?:"](this.recurse(e.test),this.recurse(e.alternate),this.recurse(e.consequent),t);case yo.Identifier:return en(e.name,s.expression),s.identifier(e.name,s.expensiveChecks||vn(e.name),t,n,s.expression);case yo.MemberExpression:return i=this.recurse(e.object,!1,!!n),e.computed||(en(e.property.name,s.expression),o=e.property.name),e.computed&&(o=this.recurse(e.property)),e.computed?this.computedMember(i,o,t,n,s.expression):this.nonComputedMember(i,o,s.expensiveChecks,t,n,s.expression);case yo.CallExpression:return a=[],r(e.arguments,function(e){a.push(s.recurse(e))}),e.filter&&(o=this.$filter(e.callee.name)),e.filter||(o=this.recurse(e.callee,!0)),e.filter?function(e,n,r,i){for(var s=[],u=0;u":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)>t(r,i,o,a);return n?{value:s}:s}},"binary<=":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)<=t(r,i,o,a);return n?{value:s}:s}},"binary>=":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)>=t(r,i,o,a);return n?{value:s}:s}},"binary&&":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)&&t(r,i,o,a);return n?{value:s}:s}},"binary||":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)||t(r,i,o,a);return n?{value:s}:s}},"ternary?:":function(e,t,n,r){return function(i,o,a,s){var u=e(i,o,a,s)?t(i,o,a,s):n(i,o,a,s);return r?{value:u}:u}},value:function(e,t){return function(){return t?{context:void 0,name:void 0,value:e}:e}},identifier:function(e,t,n,r,i){return function(o,a,s,u){var l=a&&e in a?a:o;r&&1!==r&&l&&!l[e]&&(l[e]={});var c=l?l[e]:void 0;return t&&nn(c,i),n?{context:l,name:e,value:c}:c}},computedMember:function(e,t,n,r,i){return function(o,a,s,u){var l,c,f=e(o,a,s,u);return null!=f&&(l=t(o,a,s,u),l=tn(l),en(l,i),r&&1!==r&&(on(f),f&&!f[l]&&(f[l]={})),c=f[l],nn(c,i)),n?{context:f,name:l,value:c}:c}},nonComputedMember:function(e,t,n,r,i,o){return function(a,s,u,l){var c=e(a,s,u,l);i&&1!==i&&(on(c),c&&!c[t]&&(c[t]={}));var f=null!=c?c[t]:void 0;return(n||vn(t))&&nn(f,o),r?{context:c,name:t,value:f}:f}},inputs:function(e,t){return function(n,r,i,o){return o?o[t]:e(n,r,i)}}};var bo=function(e,t,n){this.lexer=e,this.$filter=t,this.options=n,this.ast=new yo(e,n),this.astCompiler=n.csp?new gn(this.ast,t):new mn(this.ast,t)};bo.prototype={constructor:bo,parse:function(e){return this.astCompiler.compile(e,this.options.expensiveChecks)}};var wo=Object.prototype.valueOf,xo=t("$sce"),ko={HTML:"html",CSS:"css",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},Co=t("$compile"),So=e.document.createElement("a"),_o=In(e.location.href);jn.$inject=["$document"],Rn.$inject=["$provide"];var Eo=22,Do=".",Ao="0";qn.$inject=["$locale"],Yn.$inject=["$locale"];var To={yyyy:Qn("FullYear",4,0,!1,!0),yy:Qn("FullYear",2,0,!0,!0),y:Qn("FullYear",1,0,!1,!0),MMMM:Jn("Month"),MMM:Jn("Month",!0),MM:Qn("Month",2,1),M:Qn("Month",1,1),LLLL:Jn("Month",!1,!0),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:Jn("Day"),EEE:Jn("Day",!0),a:nr,Z:Xn,ww:tr(2),w:tr(1),G:rr,GG:rr,GGG:rr,GGGG:ir},Mo=/((?:[^yMLdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|m+|s+|a|Z|G+|w+))(.*)/,Oo=/^\-?\d+$/;or.$inject=["$locale"];var Fo=m(Fr),Io=m(Ir);lr.$inject=["$parse"];var No=m({restrict:"E",compile:function(e,t){if(!t.href&&!t.xlinkHref)return function(e,t){if("a"===t[0].nodeName.toLowerCase()){var n="[object SVGAnimatedString]"===qr.call(t.prop("href"))?"xlink:href":"href";t.on("click",function(e){t.attr(n)||e.preventDefault()})}}}}),Po={};r(Ei,function(e,t){function n(e,n,i){e.$watch(i[r],function(e){i.$set(t,!!e)})}if("multiple"!=e){var r=gt("ng-"+t),i=n;"checked"===e&&(i=function(e,t,i){i.ngModel!==i[r]&&n(e,t,i)}),Po[r]=function(){return{restrict:"A",priority:100,link:i}}}}),r(Ai,function(e,t){Po[t]=function(){return{priority:100,link:function(e,n,r){if("ngPattern"===t&&"/"==r.ngPattern.charAt(0)){var i=r.ngPattern.match(Tr);if(i)return void r.$set("ngPattern",new RegExp(i[1],i[2]))}e.$watch(r[t],function(e){r.$set(t,e)})}}}}),r(["src","srcset","href"],function(e){var t=gt("ng-"+e);Po[t]=function(){return{priority:99,link:function(n,r,i){var o=e,a=e;"href"===e&&"[object SVGAnimatedString]"===qr.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(jr&&o&&r.prop(o,i[a]))):void("href"===e&&i.$set(a,null))})}}}});var jo={$addControl:h,$$renameControl:fr,$removeControl:h,$setValidity:h,$setDirty:h,$setPristine:h,$setSubmitted:h},Lo="ng-submitted";dr.$inject=["$element","$attrs","$scope","$animate","$interpolate"];var Ro=function(e){return["$timeout","$parse",function(t,n){function r(e){return""===e?n('this[""]').assign:n(e).assign||h}var i={name:"form",restrict:e?"EAC":"E",require:["form","^^?form"],controller:dr,compile:function(n,i){n.addClass(wa).addClass(ya);var o=i.name?"name":!(!e||!i.ngForm)&&"ngForm";return{pre:function(e,n,i,a){var s=a[0];if(!("action"in i)){var u=function(t){e.$apply(function(){s.$commitViewValue(),s.$setSubmitted()}),t.preventDefault()};pi(n[0],"submit",u),n.on("$destroy",function(){t(function(){mi(n[0],"submit",u)},0,!1)})}var c=a[1]||s.$$parentForm;c.$addControl(s);var f=o?r(s.$name):h;o&&(f(e,s),i.$observe(o,function(t){s.$name!==t&&(f(e,void 0),s.$$parentForm.$$renameControl(s,t),(f=r(s.$name))(e,s))})),n.on("$destroy",function(){s.$$parentForm.$removeControl(s),f(e,void 0),l(s,jo)})}}}};return i}]},Uo=Ro(),Vo=Ro(!0),zo=/^\d{4,}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+(?:[+-][0-2]\d:[0-5]\d|Z)$/,Ho=/^[a-z][a-z\d.+-]*:\/*(?:[^:@]+(?::[^@]+)?@)?(?:[^\s:\/?#]+|\[[a-f\d:]+\])(?::\d+)?(?:\/[^?#]*)?(?:\?[^#]*)?(?:#.*)?$/i,qo=/^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+)*@[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*$/,Yo=/^\s*(\-|\+)?(\d+|(\d*(\.\d*)))([eE][+-]?\d+)?\s*$/,Wo=/^(\d{4,})-(\d{2})-(\d{2})$/,Bo=/^(\d{4,})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,Go=/^(\d{4,})-W(\d\d)$/,Zo=/^(\d{4,})-(\d\d)$/,Qo=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,Jo="keydown wheel mousedown",Xo=pe();r("date,datetime-local,month,time,week".split(","),function(e){Xo[e]=!0});var Ko={text:pr,date:$r("date",Wo,vr(Wo,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":$r("datetimelocal",Bo,vr(Bo,["yyyy","MM","dd","HH","mm","ss","sss"]),"yyyy-MM-ddTHH:mm:ss.sss"),time:$r("time",Qo,vr(Qo,["HH","mm","ss","sss"]),"HH:mm:ss.sss"),week:$r("week",Go,gr,"yyyy-Www"),month:$r("month",Zo,vr(Zo,["yyyy","MM"]),"yyyy-MM"),number:br,url:wr,email:xr,radio:kr,checkbox:Sr,hidden:h,button:h,submit:h,reset:h,file:h},ea=["$browser","$sniffer","$filter","$parse",function(e,t,n,r){return{restrict:"E",require:["?ngModel"],link:{pre:function(i,o,a,s){s[0]&&(Ko[Fr(a.type)]||Ko.text)(i,o,a,s[0],t,e,n,r)}}}}],ta=/^(true|false|\d+)$/,na=function(){return{restrict:"A",priority:100,compile:function(e,t){return ta.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)})}}}},ra=["$compile",function(e){return{restrict:"AC",compile:function(t){return e.$$addBindingClass(t),function(t,n,r){e.$$addBindingInfo(n,r.ngBind),n=n[0],t.$watch(r.ngBind,function(e){n.textContent=v(e)?"":e})}}}}],ia=["$interpolate","$compile",function(e,t){return{compile:function(n){return t.$$addBindingClass(n),function(n,r,i){var o=e(r.attr(i.$attr.ngBindTemplate));t.$$addBindingInfo(r,o.expressions),r=r[0],i.$observe("ngBindTemplate",function(e){r.textContent=v(e)?"":e})}}}}],oa=["$sce","$parse","$compile",function(e,t,n){return{restrict:"A",compile:function(r,i){var o=t(i.ngBindHtml),a=t(i.ngBindHtml,function(t){return e.valueOf(t)});return n.$$addBindingClass(r),function(t,r,i){n.$$addBindingInfo(r,i.ngBindHtml),t.$watch(a,function(){var n=o(t);r.html(e.getTrustedHtml(n)||"")})}}}}],aa=m({restrict:"A",require:"ngModel",link:function(e,t,n,r){r.$viewChangeListeners.push(function(){e.$eval(n.ngChange)})}}),sa=_r("",!0),ua=_r("Odd",0),la=_r("Even",1),ca=cr({compile:function(e,t){t.$set("ngCloak",void 0),e.removeClass("ng-cloak")}}),fa=[function(){return{restrict:"A",scope:!0,controller:"@",priority:500}}],da={},ha={blur:!0,focus:!0};r("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),function(e){var t=gt("ng-"+e);da[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})};ha[e]&&r.$$phase?t.$evalAsync(i):t.$apply(i)})}}}}]});var pa=["$animate","$compile",function(e,t){return{multiElement:!0,transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(n,r,i,o,a){var s,u,l;n.$watch(i.ngIf,function(n){n?u||a(function(n,o){u=o,n[n.length++]=t.$$createComment("end ngIf",i.ngIf),s={clone:n},e.enter(n,r.parent(),r)}):(l&&(l.remove(),l=null),u&&(u.$destroy(),u=null),s&&(l=he(s.clone),e.leave(l).then(function(){l=null}),s=null))})}}}],ma=["$templateRequest","$anchorScroll","$animate",function(e,t,n){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:Br.noop,compile:function(r,i){var o=i.ngInclude||i.src,a=i.onload||"",s=i.autoscroll;return function(r,i,u,l,c){var f,d,h,p=0,m=function(){d&&(d.remove(),d=null),f&&(f.$destroy(),f=null),h&&(n.leave(h).then(function(){d=null}),d=h,h=null)};r.$watch(o,function(o){var u=function(){!$(s)||s&&!r.$eval(s)||t()},d=++p;o?(e(o,!0).then(function(e){if(!r.$$destroyed&&d===p){var t=r.$new();l.template=e;var s=c(t,function(e){m(),n.enter(e,null,i).then(u)});f=t,h=s,f.$emit("$includeContentLoaded",o),r.$eval(a)}},function(){r.$$destroyed||d===p&&(m(),r.$emit("$includeContentError",o))}),r.$emit("$includeContentRequested",o)):(m(),l.template=null)})}}}}],ga=["$compile",function(t){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(n,r,i,o){return qr.call(r[0]).match(/SVG/)?(r.empty(),void t(_e(o.template,e.document).childNodes)(n,function(e){r.append(e)},{futureParentElement:r})):(r.html(o.template),void t(r.contents())(n))}}}],va=cr({priority:450,compile:function(){return{pre:function(e,t,n){e.$eval(n.ngInit)}}}}),$a=function(){return{restrict:"A",priority:100,require:"ngModel",link:function(e,t,n,i){var o=t.attr(n.$attr.ngList)||", ",a="false"!==n.ngTrim,s=a?Jr(o):o,u=function(e){if(!v(e)){var t=[];return e&&r(e.split(s),function(e){e&&t.push(a?Jr(e):e)}),t}};i.$parsers.push(u),i.$formatters.push(function(e){if(Zr(e))return e.join(o)}),i.$isEmpty=function(e){return!e||!e.length}}}},ya="ng-valid",ba="ng-invalid",wa="ng-pristine",xa="ng-dirty",ka="ng-untouched",Ca="ng-touched",Sa="ng-pending",_a="ng-empty",Ea="ng-not-empty",Da=t("ngModel"),Aa=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate","$timeout","$rootScope","$q","$interpolate",function(e,t,n,i,o,a,s,u,l,c){this.$viewValue=Number.NaN,this.$modelValue=Number.NaN,this.$$rawModelValue=void 0,this.$validators={},this.$asyncValidators={},this.$parsers=[],this.$formatters=[],this.$viewChangeListeners=[],this.$untouched=!0,this.$touched=!1,this.$pristine=!0,this.$dirty=!1,this.$valid=!0,this.$invalid=!1,this.$error={},this.$$success={},this.$pending=void 0,this.$name=c(n.name||"",!1)(e),this.$$parentForm=jo;var f,d=o(n.ngModel),p=d.assign,m=d,g=p,y=null,b=this;this.$$setOptions=function(e){if(b.$options=e,e&&e.getterSetter){var t=o(n.ngModel+"()"),r=o(n.ngModel+"($$$p)");m=function(e){var n=d(e);return C(n)&&(n=t(e)),n},g=function(e,t){C(d(e))?r(e,{$$$p:t}):p(e,t)}}else if(!d.assign)throw Da("nonassign","Expression '{0}' is non-assignable. Element: {1}",n.ngModel,Q(i))},this.$render=h,this.$isEmpty=function(e){return v(e)||""===e||null===e||e!==e},this.$$updateEmptyClasses=function(e){b.$isEmpty(e)?(a.removeClass(i,Ea),a.addClass(i,_a)):(a.removeClass(i,_a),a.addClass(i,Ea))};var w=0;Er({ctrl:this,$element:i,set:function(e,t){e[t]=!0; -},unset:function(e,t){delete e[t]},$animate:a}),this.$setPristine=function(){b.$dirty=!1,b.$pristine=!0,a.removeClass(i,xa),a.addClass(i,wa)},this.$setDirty=function(){b.$dirty=!0,b.$pristine=!1,a.removeClass(i,wa),a.addClass(i,xa),b.$$parentForm.$setDirty()},this.$setUntouched=function(){b.$touched=!1,b.$untouched=!0,a.setClass(i,ka,Ca)},this.$setTouched=function(){b.$touched=!0,b.$untouched=!1,a.setClass(i,Ca,ka)},this.$rollbackViewValue=function(){s.cancel(y),b.$viewValue=b.$$lastCommittedViewValue,b.$render()},this.$validate=function(){if(!x(b.$modelValue)||!isNaN(b.$modelValue)){var e=b.$$lastCommittedViewValue,t=b.$$rawModelValue,n=b.$valid,r=b.$modelValue,i=b.$options&&b.$options.allowInvalid;b.$$runValidators(t,e,function(e){i||n===e||(b.$modelValue=e?t:void 0,b.$modelValue!==r&&b.$$writeModelToScope())})}},this.$$runValidators=function(e,t,n){function i(){var e=b.$$parserName||"parse";return v(f)?(s(e,null),!0):(f||(r(b.$validators,function(e,t){s(t,null)}),r(b.$asyncValidators,function(e,t){s(t,null)})),s(e,f),f)}function o(){var n=!0;return r(b.$validators,function(r,i){var o=r(e,t);n=n&&o,s(i,o)}),!!n||(r(b.$asyncValidators,function(e,t){s(t,null)}),!1)}function a(){var n=[],i=!0;r(b.$asyncValidators,function(r,o){var a=r(e,t);if(!O(a))throw Da("nopromise","Expected asynchronous validator to return a promise but got '{0}' instead.",a);s(o,void 0),n.push(a.then(function(){s(o,!0)},function(){i=!1,s(o,!1)}))}),n.length?l.all(n).then(function(){u(i)},h):u(!0)}function s(e,t){c===w&&b.$setValidity(e,t)}function u(e){c===w&&n(e)}w++;var c=w;return i()&&o()?void a():void u(!1)},this.$commitViewValue=function(){var e=b.$viewValue;s.cancel(y),(b.$$lastCommittedViewValue!==e||""===e&&b.$$hasNativeValidators)&&(b.$$updateEmptyClasses(e),b.$$lastCommittedViewValue=e,b.$pristine&&this.$setDirty(),this.$$parseAndValidate())},this.$$parseAndValidate=function(){function t(){b.$modelValue!==o&&b.$$writeModelToScope()}var n=b.$$lastCommittedViewValue,r=n;if(f=!v(r)||void 0)for(var i=0;i=0;t--){var r=k.items[t];He($(r.group)?r.element.parentNode:r.element)}k=C.getOptions();var i={};if(w&&n.prepend(h),k.items.forEach(function(e){var t;$(e.group)?(t=i[e.group],t||(t=l.cloneNode(!1),S.appendChild(t),t.label=null===e.group?"null":e.group,i[e.group]=t),c(e,t)):c(e,S)}),n[0].appendChild(S),m.$render(),!m.$isEmpty(e)){var o=p.readValue(),a=C.trackBy||g;(a?U(e,o):e===o)||(m.$setViewValue(o),m.$render())}}for(var h,p=s[0],m=s[1],g=o.multiple,v=0,y=n.children(),b=y.length;v0&&(e=new RegExp("^"+e+"$")),e&&!e.test)throw t("ngPattern")("noregexp","Expected {0} to be a RegExp but was {1}. Element: {2}",a,e,Q(n));o=e||void 0,i.$validate()}),i.$validators.pattern=function(e,t){return i.$isEmpty(t)||v(o)||o.test(t)}}}}},rs=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i=-1;n.$observe("maxlength",function(e){var t=f(e);i=isNaN(t)?-1:t,r.$validate()}),r.$validators.maxlength=function(e,t){return i<0||r.$isEmpty(t)||t.length<=i}}}}},is=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i=0;n.$observe("minlength",function(e){i=f(e)||0,r.$validate()}),r.$validators.minlength=function(e,t){return r.$isEmpty(t)||t.length>=i}}}}};return e.angular.bootstrap?void(e.console&&console.log("WARNING: Tried to load angular more than once.")):(ue(),ye(Br),Br.module("ngLocale",[],["$provide",function(e){function t(e){e+="";var t=e.indexOf(".");return t==-1?0:e.length-t-1}function n(e,n){var r=n;void 0===r&&(r=Math.min(t(e),3));var i=Math.pow(10,r),o=(e*i|0)%i;return{v:r,f:o}}var r={ZERO:"zero",ONE:"one",TWO:"two",FEW:"few",MANY:"many",OTHER:"other"};e.value("$locale",{DATETIME_FORMATS:{AMPMS:["AM","PM"],DAY:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],ERANAMES:["Before Christ","Anno Domini"],ERAS:["BC","AD"],FIRSTDAYOFWEEK:6,MONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],SHORTDAY:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],SHORTMONTH:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],STANDALONEMONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],WEEKENDRANGE:[5,6],fullDate:"EEEE, MMMM d, y",longDate:"MMMM d, y",medium:"MMM d, y h:mm:ss a",mediumDate:"MMM d, y",mediumTime:"h:mm:ss a","short":"M/d/yy h:mm a",shortDate:"M/d/yy",shortTime:"h:mm a"},NUMBER_FORMATS:{CURRENCY_SYM:"$",DECIMAL_SEP:".",GROUP_SEP:",",PATTERNS:[{gSize:3,lgSize:3,maxFrac:3,minFrac:0,minInt:1,negPre:"-",negSuf:"",posPre:"",posSuf:""},{gSize:3,lgSize:3,maxFrac:2,minFrac:2,minInt:1,negPre:"-¤",negSuf:"",posPre:"¤",posSuf:""}]},id:"en-us",localeID:"en_US",pluralCat:function(e,t){var i=0|e,o=n(e,t);return 1==i&&0==o.v?r.ONE:r.OTHER}})}]),void Lr(e.document).ready(function(){re(e.document,ie)}))}(window),!window.angular.$$csp().noInlineStyle&&window.angular.element(document.head).prepend('')},{}],9:[function(e,t,n){e("./angular"),t.exports=angular},{"./angular":8}],10:[function(e,t,n){(function(){var e,n,r,i,o,a,s,u,l=[].slice,c={}.hasOwnProperty,f=function(e,t){function n(){this.constructor=e}for(var r in t)c.call(t,r)&&(e[r]=t[r]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e};s=function(){},n=function(){function e(){}return e.prototype.addEventListener=e.prototype.on,e.prototype.on=function(e,t){return this._callbacks=this._callbacks||{},this._callbacks[e]||(this._callbacks[e]=[]),this._callbacks[e].push(t),this},e.prototype.emit=function(){var e,t,n,r,i,o;if(r=arguments[0],e=2<=arguments.length?l.call(arguments,1):[],this._callbacks=this._callbacks||{},n=this._callbacks[r])for(i=0,o=n.length;i
    '),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;o'+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;s\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;o'+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;i',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;n0){for(a=["TB","GB","MB","KB","b"],n=s=0,u=a.length;s=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;n0){for(o=0,a=n.length;o1024*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;n=t)&&(r=this.getQueuedFiles(),r.length>0)){if(this.options.uploadMultiple)return this.processFiles(r.slice(0,t-n));for(;e=j;c=0<=j?++M:--M)o.append(this._getParamName(c),e[c],this._renameFilename(e[c].name));return this.submitRequest(x,o,e)},t.prototype.submitRequest=function(e,t,n){return e.send(t)},t.prototype._finished=function(e,n,r){var i,o,a;for(o=0,a=e.length;oc;)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){if("readystatechange"!==n.type||"complete"===r.readyState)return("load"===n.type?e:r)[u](s+n.type,o,!1),!i&&(i=!0)?t.call(e,n.type||n):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(){if(e.autoDiscover)return e.discover()},i(window,e._autoDiscoverFunction)}).call(this)},{}],11:[function(e,t,n){(function(e){(function(){function e(e){this.tokens=[],this.tokens.links={},this.options=e||f.defaults,this.rules=d.normal,this.options.gfm&&(this.options.tables?this.rules=d.tables:this.rules=d.gfm)}function r(e,t){if(this.options=t||f.defaults,this.links=e,this.rules=h.normal,this.renderer=this.options.renderer||new i,this.renderer.options=this.options,!this.links)throw new Error("Tokens array requires a `links` property.");this.options.gfm?this.options.breaks?this.rules=h.breaks:this.rules=h.gfm:this.options.pedantic&&(this.rules=h.pedantic)}function i(e){this.options=e||{}}function o(e){this.tokens=[],this.token=null,this.options=e||f.defaults,this.options.renderer=this.options.renderer||new i,this.renderer=this.options.renderer,this.renderer.options=this.options}function a(e,t){return e.replace(t?/&/g:/&(?!#?\w+;)/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function s(e){return e.replace(/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\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;c1&&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;i.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 vr)r=vr[n],i=t[r],g(i)||(e[r]=i);return e}function $(e){v(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),$r===!1&&($r=!0,n.updateOffset(this),$r=!1)}function y(e){return e instanceof $||null!=e&&null!=e._isAMomentObject}function b(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function w(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=b(t)),n}function x(e,t,n){var r,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(r=0;r0?"future":"past"];return _(n)?n(t):n.replace(/%s/i,t)}function P(e,t){var n=e.toLowerCase();Dr[n]=Dr[n+"s"]=Dr[t]=e}function j(e){return"string"==typeof e?Dr[e]||Dr[e.toLowerCase()]:void 0}function L(e){var t,n,r={};for(n in e)l(e,n)&&(t=j(n),t&&(r[t]=e[n]));return r}function R(e,t){Ar[e]=t}function U(e){var t=[];for(var n in e)t.push({unit:n,priority:Ar[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}function V(e,t){return function(r){return null!=r?(H(this,e,r),n.updateOffset(this,t),this):z(this,e)}}function z(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function H(e,t,n){e.isValid()&&e._d["set"+(e._isUTC?"UTC":"")+t](n)}function q(e){return e=j(e),_(this[e])?this[e]():this}function Y(e,t){if("object"==typeof e){e=L(e);for(var n=U(e),r=0;r=0;return(o?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}function B(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(Fr[e]=i),t&&(Fr[t[0]]=function(){return W(i.apply(this,arguments),t[1],t[2])}),n&&(Fr[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function G(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function Z(e){var t,n,r=e.match(Tr);for(t=0,n=r.length;t=0&&Mr.test(e);)e=e.replace(Mr,n),Mr.lastIndex=0,r-=1;return e}function X(e,t,n){Jr[e]=_(t)?t:function(e,r){return e&&n?n:t}}function K(e,t){return l(Jr,e)?Jr[e](t._strict,t._locale):new RegExp(ee(e))}function ee(e){return te(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i}))}function te(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function ne(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),"number"==typeof t&&(r=function(e,n){n[t]=w(e)}),n=0;n=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}function be(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function we(e,t,n){var r=7+t-n,i=(7+be(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 l<=0?(o=e-1,a=ge(o)+l):l>ge(e)?(o=e+1,a=l-ge(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 a<1?(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(ge(e)-r+i)/7}function Se(e){return ke(e,this._week.dow,this._week.doy).week}function _e(){return this._week.dow}function Ee(){return this._week.doy}function De(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Ae(e){var t=ke(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Te(e,t){return"string"!=typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"==typeof e?e:null):parseInt(e,10)}function Me(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Oe(e,t){return e?i(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:this._weekdays}function Fe(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Ie(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Ne(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=f([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?(i=wr.call(this._weekdaysParse,a),i!==-1?i:null):"ddd"===t?(i=wr.call(this._shortWeekdaysParse,a),i!==-1?i:null):(i=wr.call(this._minWeekdaysParse,a),i!==-1?i:null):"dddd"===t?(i=wr.call(this._weekdaysParse,a),i!==-1?i:(i=wr.call(this._shortWeekdaysParse,a),i!==-1?i:(i=wr.call(this._minWeekdaysParse,a),i!==-1?i:null))):"ddd"===t?(i=wr.call(this._shortWeekdaysParse,a),i!==-1?i:(i=wr.call(this._weekdaysParse,a),i!==-1?i:(i=wr.call(this._minWeekdaysParse,a),i!==-1?i:null))):(i=wr.call(this._minWeekdaysParse,a),i!==-1?i:(i=wr.call(this._weekdaysParse,a),i!==-1?i:(i=wr.call(this._shortWeekdaysParse,a),i!==-1?i:null)))}function Pe(e,t,n){var r,i,o;if(this._weekdaysParseExact)return Ne.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=f([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 je(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Te(e,this.localeData()),this.add(e-t,"d")):t}function Le(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 Re(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Me(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Ue(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||He.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(l(this,"_weekdaysRegex")||(this._weekdaysRegex=$i),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Ve(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||He.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(l(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=yi),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function ze(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||He.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(l(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=bi),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function He(){function e(e,t){return t.length-e.length}var t,n,r,i,o,a=[],s=[],u=[],l=[];for(t=0;t<7;t++)n=f([2e3,1]).day(t),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),o=this.weekdays(n,""),a.push(r),s.push(i),u.push(o),l.push(r),l.push(i),l.push(o);for(a.sort(e),s.sort(e),u.sort(e),l.sort(e),t=0;t<7;t++)s[t]=te(s[t]),u[t]=te(u[t]),l[t]=te(l[t]);this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function qe(){return this.hours()%12||12}function Ye(){return this.hours()||24}function We(e,t){B(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function Be(e,t){return t._meridiemParse}function Ge(e){return"p"===(e+"").toLowerCase().charAt(0)}function Ze(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}function Qe(e){return e?e.toLowerCase().replace("_","-"):e}function Je(e){for(var t,n,r,i,o=0;o0;){if(r=Xe(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&x(i,n,!0)>=t-1)break;t--}o++}return null}function Xe(n){var r=null;if(!Si[n]&&"undefined"!=typeof t&&t&&t.exports)try{r=wi._abbr,e("./locale/"+n),Ke(r)}catch(i){}return Si[n]}function Ke(e,t){var n;return e&&(n=g(t)?nt(e):et(e,t),n&&(wi=n)),wi._abbr}function et(e,t){if(null!==t){var n=Ci;return t.abbr=e,null!=Si[e]?(S("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=Si[e]._config):null!=t.parentLocale&&(null!=Si[t.parentLocale]?n=Si[t.parentLocale]._config:S("parentLocaleUndefined","specified parentLocale is not defined yet. See http://momentjs.com/guides/#/warnings/parent-locale/")),Si[e]=new A(D(n,t)),Ke(e),Si[e]}return delete Si[e],null}function tt(e,t){if(null!=t){var n,r=Ci;null!=Si[e]&&(r=Si[e]._config),t=D(r,t),n=new A(t),n.parentLocale=Si[e],Si[e]=n,Ke(e)}else null!=Si[e]&&(null!=Si[e].parentLocale?Si[e]=Si[e].parentLocale:null!=Si[e]&&delete Si[e]);return Si[e]}function nt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return wi;if(!i(e)){if(t=Xe(e))return t;e=[e]}return Je(e)}function rt(){return br(Si)}function it(e){var t,n=e._a;return n&&h(e).overflow===-2&&(t=n[ei]<0||n[ei]>11?ei:n[ti]<1||n[ti]>oe(n[Kr],n[ei])?ti:n[ni]<0||n[ni]>24||24===n[ni]&&(0!==n[ri]||0!==n[ii]||0!==n[oi])?ni:n[ri]<0||n[ri]>59?ri:n[ii]<0||n[ii]>59?ii:n[oi]<0||n[oi]>999?oi:-1,h(e)._overflowDayOfYear&&(tti)&&(t=ti),h(e)._overflowWeeks&&t===-1&&(t=ai),h(e)._overflowWeekday&&t===-1&&(t=si),h(e).overflow=t),e}function ot(e){var t,n,r,i,o,a,s=e._i,u=_i.exec(s)||Ei.exec(s);if(u){for(h(e).iso=!0,t=0,n=Ai.length;tge(i)&&(h(e)._overflowDayOfYear=!0),n=be(i,0,e._dayOfYear),e._a[ei]=n.getUTCMonth(),e._a[ti]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=o[t]=r[t];for(;t<7;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[ni]&&0===e._a[ri]&&0===e._a[ii]&&0===e._a[oi]&&(e._nextDay=!0,e._a[ni]=0),e._d=(e._useUTC?be:ye).apply(null,o),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[ni]=24)}}function ct(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=st(t.GG,e._a[Kr],ke(yt(),1,4).year),r=st(t.W,1),i=st(t.E,1),(i<1||i>7)&&(u=!0)):(o=e._locale._week.dow,a=e._locale._week.doy,n=st(t.gg,e._a[Kr],ke(yt(),o,a).year),r=st(t.w,1),null!=t.d?(i=t.d,(i<0||i>6)&&(u=!0)):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(u=!0)):i=o),r<1||r>Ce(n,o,a)?h(e)._overflowWeeks=!0:null!=u?h(e)._overflowWeekday=!0:(s=xe(n,r,i,o,a),e._a[Kr]=s.year,e._dayOfYear=s.dayOfYear)}function ft(e){if(e._f===n.ISO_8601)return void ot(e);e._a=[],h(e).empty=!0;var t,r,i,o,a,s=""+e._i,u=s.length,l=0;for(i=J(e._f,e._locale).match(Tr)||[],t=0;t0&&h(e).unusedInput.push(a),s=s.slice(s.indexOf(r)+r.length),l+=r.length),Fr[o]?(r?h(e).empty=!1:h(e).unusedTokens.push(o),ie(o,r,e)):e._strict&&!r&&h(e).unusedTokens.push(o);h(e).charsLeftOver=u-l,s.length>0&&h(e).unusedInput.push(s),e._a[ni]<=12&&h(e).bigHour===!0&&e._a[ni]>0&&(h(e).bigHour=void 0),h(e).parsedDateParts=e._a.slice(0),h(e).meridiem=e._meridiem,e._a[ni]=dt(e._locale,e._a[ni],e._meridiem),lt(e),it(e)}function dt(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(r=e.isPM(n),r&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function ht(e){var t,n,r,i,o;if(0===e._f.length)return h(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;ithis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function jt(){if(!g(this._isDSTShifted))return this._isDSTShifted;var e={};if(v(e,this),e=gt(e),e._a){var t=e._isUTC?f(e._a):yt(e._a);this._isDSTShifted=this.isValid()&&x(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function Lt(){return!!this.isValid()&&!this._isUTC}function Rt(){return!!this.isValid()&&this._isUTC}function Ut(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function Vt(e,t){var n,r,i,o=e,a=null;return Ct(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:"number"==typeof e?(o={},t?o[t]=e:o.milliseconds=e):(a=Pi.exec(e))?(n="-"===a[1]?-1:1,o={y:0,d:w(a[ti])*n,h:w(a[ni])*n,m:w(a[ri])*n,s:w(a[ii])*n,ms:w(St(1e3*a[oi]))*n}):(a=ji.exec(e))?(n="-"===a[1]?-1:1,o={y:zt(a[2],n),M:zt(a[3],n),w:zt(a[4],n),d:zt(a[5],n),h:zt(a[6],n),m:zt(a[7],n),s:zt(a[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(i=qt(yt(o.from),yt(o.to)),o={},o.ms=i.milliseconds,o.M=i.months),r=new kt(o),Ct(e)&&l(e,"_locale")&&(r._locale=e._locale),r}function zt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Ht(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 qt(e,t){var n;return e.isValid()&&t.isValid()?(t=Dt(t,e),e.isBefore(t)?n=Ht(e,t):(n=Ht(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Yt(e,t){return function(n,r){var i,o;return null===r||isNaN(+r)||(S(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),n="string"==typeof n?+n:n,i=Vt(n,r),Wt(this,i,e),this}}function Wt(e,t,r,i){var o=t._milliseconds,a=St(t._days),s=St(t._months);e.isValid()&&(i=null==i||i,o&&e._d.setTime(e._d.valueOf()+o*r),a&&H(e,"Date",z(e,"Date")+a*r),s&&ce(e,z(e,"Month")+s*r),i&&n.updateOffset(e,a||s))}function Bt(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Gt(e,t){var r=e||yt(),i=Dt(r,this).startOf("day"),o=n.calendarFormat(this,i)||"sameElse",a=t&&(_(t[o])?t[o].call(this,r):t[o]);return this.format(a||this.localeData().calendar(o,this,yt(r)))}function Zt(){return new $(this)}function Qt(e,t){var n=y(e)?e:yt(e);return!(!this.isValid()||!n.isValid())&&(t=j(g(t)?"millisecond":t),"millisecond"===t?this.valueOf()>n.valueOf():n.valueOf()o&&(t=o),On.call(this,e,t,n,r,i))}function On(e,t,n,r,i){var o=xe(e,t,n,r,i),a=be(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function Fn(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function In(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 Nn(e,t){t[oi]=w(1e3*("0."+e))}function Pn(){return this._isUTC?"UTC":""}function jn(){return this._isUTC?"Coordinated Universal Time":""}function Ln(e){return yt(1e3*e)}function Rn(){return yt.apply(null,arguments).parseZone()}function Un(e){return e}function Vn(e,t,n,r){var i=nt(),o=f().set(r,t);return i[n](o,e)}function zn(e,t,n){if("number"==typeof e&&(t=e,e=void 0),e=e||"",null!=t)return Vn(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=Vn(e,r,n,"month");return i}function Hn(e,t,n,r){"boolean"==typeof e?("number"==typeof t&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,"number"==typeof t&&(n=t,t=void 0),t=t||"");var i=nt(),o=e?i._week.dow:0;if(null!=n)return Vn(t,(n+o)%7,r,"day");var a,s=[];for(a=0;a<7;a++)s[a]=Vn(t,(a+o)%7,r,"day");return s}function qn(e,t){return zn(e,t,"months")}function Yn(e,t){return zn(e,t,"monthsShort")}function Wn(e,t,n){return Hn(e,t,n,"weekdays")}function Bn(e,t,n){return Hn(e,t,n,"weekdaysShort")}function Gn(e,t,n){return Hn(e,t,n,"weekdaysMin")}function Zn(){var e=this._data;return this._milliseconds=Zi(this._milliseconds),this._days=Zi(this._days),this._months=Zi(this._months),e.milliseconds=Zi(e.milliseconds),e.seconds=Zi(e.seconds),e.minutes=Zi(e.minutes),e.hours=Zi(e.hours),e.months=Zi(e.months),e.years=Zi(e.years),this}function Qn(e,t,n,r){var i=Vt(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function Jn(e,t){return Qn(this,e,t,1)}function Xn(e,t){return Qn(this,e,t,-1)}function Kn(e){return e<0?Math.floor(e):Math.ceil(e)}function er(){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||o<=0&&a<=0&&s<=0||(o+=864e5*Kn(nr(s)+a),a=0,s=0),u.milliseconds=o%1e3,e=b(o/1e3),u.seconds=e%60,t=b(e/60),u.minutes=t%60,n=b(t/60),u.hours=n%24,a+=b(n/24),i=b(tr(a)),s+=i,a-=Kn(nr(i)),r=b(s/12),s%=12,u.days=a,u.months=s,u.years=r,this}function tr(e){return 4800*e/146097}function nr(e){return 146097*e/4800}function rr(e){var t,n,r=this._milliseconds;if(e=j(e),"month"===e||"year"===e)return t=this._days+r/864e5,n=this._months+tr(t),"month"===e?n:n/12;switch(t=this._days+Math.round(nr(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 ir(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*w(this._months/12)}function or(e){return function(){return this.as(e)}}function ar(e){return e=j(e),this[e+"s"]()}function sr(e){return function(){return this._data[e]}}function ur(){return b(this.days()/7)}function lr(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function cr(e,t,n){var r=Vt(e).abs(),i=fo(r.as("s")),o=fo(r.as("m")),a=fo(r.as("h")),s=fo(r.as("d")),u=fo(r.as("M")),l=fo(r.as("y")),c=i0,c[4]=n,lr.apply(null,c)}function fr(e){return void 0===e?fo:"function"==typeof e&&(fo=e,!0)}function dr(e,t){return void 0!==ho[e]&&(void 0===t?ho[e]:(ho[e]=t,!0))}function hr(e){var t=this.localeData(),n=cr(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function pr(){var e,t,n,r=po(this._milliseconds)/1e3,i=po(this._days),o=po(this._months);e=b(r/60),t=b(e/60),r%=60,e%=60,n=b(o/12),o%=12;var a=n,s=o,u=i,l=t,c=e,f=r,d=this.asSeconds();return d?(d<0?"-":"")+"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 mr,gr;gr=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;r68?1900:2e3)};var hi=V("FullYear",!0);B("w",["ww",2],"wo","week"),B("W",["WW",2],"Wo","isoWeek"),P("week","w"),P("isoWeek","W"),R("week",5),R("isoWeek",5),X("w",Rr),X("ww",Rr,Nr),X("W",Rr),X("WW",Rr,Nr),re(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=w(e)});var pi={dow:0,doy:6};B("d",0,"do","day"),B("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),B("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),B("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),B("e",0,0,"weekday"),B("E",0,0,"isoWeekday"),P("day","d"),P("weekday","e"),P("isoWeekday","E"),R("day",11),R("weekday",11),R("isoWeekday",11),X("d",Rr),X("e",Rr),X("E",Rr),X("dd",function(e,t){return t.weekdaysMinRegex(e)}),X("ddd",function(e,t){return t.weekdaysShortRegex(e)}),X("dddd",function(e,t){return t.weekdaysRegex(e)}),re(["dd","ddd","dddd"],function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:h(n).invalidWeekday=e}),re(["d","e","E"],function(e,t,n,r){t[r]=w(e)});var mi="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),gi="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),vi="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),$i=Qr,yi=Qr,bi=Qr;B("H",["HH",2],0,"hour"),B("h",["hh",2],0,qe),B("k",["kk",2],0,Ye),B("hmm",0,0,function(){return""+qe.apply(this)+W(this.minutes(),2)}),B("hmmss",0,0,function(){return""+qe.apply(this)+W(this.minutes(),2)+W(this.seconds(),2)}),B("Hmm",0,0,function(){return""+this.hours()+W(this.minutes(),2)}),B("Hmmss",0,0,function(){return""+this.hours()+W(this.minutes(),2)+W(this.seconds(),2)}),We("a",!0),We("A",!1),P("hour","h"),R("hour",13),X("a",Be),X("A",Be),X("H",Rr),X("h",Rr),X("HH",Rr,Nr),X("hh",Rr,Nr),X("hmm",Ur),X("hmmss",Vr),X("Hmm",Ur),X("Hmmss",Vr),ne(["H","HH"],ni),ne(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ne(["h","hh"],function(e,t,n){t[ni]=w(e),h(n).bigHour=!0}),ne("hmm",function(e,t,n){var r=e.length-2;t[ni]=w(e.substr(0,r)),t[ri]=w(e.substr(r)),h(n).bigHour=!0}),ne("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[ni]=w(e.substr(0,r)),t[ri]=w(e.substr(r,2)),t[ii]=w(e.substr(i)),h(n).bigHour=!0}),ne("Hmm",function(e,t,n){var r=e.length-2;t[ni]=w(e.substr(0,r)),t[ri]=w(e.substr(r))}),ne("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[ni]=w(e.substr(0,r)),t[ri]=w(e.substr(r,2)),t[ii]=w(e.substr(i))});var wi,xi=/[ap]\.?m?\.?/i,ki=V("Hours",!0),Ci={calendar:xr,longDateFormat:kr,invalidDate:Cr,ordinal:Sr,ordinalParse:_r,relativeTime:Er,months:li,monthsShort:ci,week:pi,weekdays:mi,weekdaysMin:vi,weekdaysShort:gi,meridiemParse:xi},Si={},_i=/^\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)?)?/,Ei=/^\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)?)?/,Di=/Z|[+-]\d\d(?::?\d\d)?/,Ai=[["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}/]],Ti=[["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/]],Mi=/^\/?Date\((\-?\d+)/i;n.createFromInputFallback=C("value provided is not in a recognized ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),n.ISO_8601=function(){};var Oi=C("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=yt.apply(null,arguments);return this.isValid()&&e.isValid()?ethis?this:e:m()}),Ii=function(){return Date.now?Date.now():+new Date};_t("Z",":"),_t("ZZ",""),X("Z",Gr),X("ZZ",Gr),ne(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Et(Gr,e)});var Ni=/([\+\-]|\d\d)/gi;n.updateOffset=function(){};var Pi=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,ji=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;Vt.fn=kt.prototype;var Li=Yt(1,"add"),Ri=Yt(-1,"subtract");n.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",n.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Ui=C("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)});B(0,["gg",2],0,function(){return this.weekYear()%100}),B(0,["GG",2],0,function(){return this.isoWeekYear()%100}),_n("gggg","weekYear"),_n("ggggg","weekYear"),_n("GGGG","isoWeekYear"),_n("GGGGG","isoWeekYear"),P("weekYear","gg"),P("isoWeekYear","GG"),R("weekYear",1),R("isoWeekYear",1),X("G",Wr),X("g",Wr),X("GG",Rr,Nr),X("gg",Rr,Nr),X("GGGG",Hr,jr),X("gggg",Hr,jr),X("GGGGG",qr,Lr),X("ggggg",qr,Lr),re(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=w(e)}),re(["gg","GG"],function(e,t,r,i){t[i]=n.parseTwoDigitYear(e)}),B("Q",0,"Qo","quarter"),P("quarter","Q"),R("quarter",7),X("Q",Ir),ne("Q",function(e,t){t[ei]=3*(w(e)-1)}),B("D",["DD",2],"Do","date"),P("date","D"),R("date",9),X("D",Rr),X("DD",Rr,Nr),X("Do",function(e,t){return e?t._ordinalParse:t._ordinalParseLenient}),ne(["D","DD"],ti),ne("Do",function(e,t){t[ti]=w(e.match(Rr)[0],10)});var Vi=V("Date",!0);B("DDD",["DDDD",3],"DDDo","dayOfYear"),P("dayOfYear","DDD"),R("dayOfYear",4),X("DDD",zr),X("DDDD",Pr),ne(["DDD","DDDD"],function(e,t,n){n._dayOfYear=w(e)}),B("m",["mm",2],0,"minute"),P("minute","m"),R("minute",14),X("m",Rr),X("mm",Rr,Nr),ne(["m","mm"],ri);var zi=V("Minutes",!1);B("s",["ss",2],0,"second"),P("second","s"),R("second",15),X("s",Rr),X("ss",Rr,Nr),ne(["s","ss"],ii);var Hi=V("Seconds",!1);B("S",0,0,function(){return~~(this.millisecond()/100)}),B(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),B(0,["SSS",3],0,"millisecond"),B(0,["SSSS",4],0,function(){return 10*this.millisecond()}),B(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),B(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),B(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),B(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),B(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),P("millisecond","ms"),R("millisecond",16),X("S",zr,Ir),X("SS",zr,Nr),X("SSS",zr,Pr);var qi;for(qi="SSSS";qi.length<=9;qi+="S")X(qi,Yr);for(qi="S";qi.length<=9;qi+="S")ne(qi,Nn);var Yi=V("Milliseconds",!1);B("z",0,0,"zoneAbbr"),B("zz",0,0,"zoneName");var Wi=$.prototype;Wi.add=Li,Wi.calendar=Gt,Wi.clone=Zt,Wi.diff=nn,Wi.endOf=mn,Wi.format=sn,Wi.from=un,Wi.fromNow=ln,Wi.to=cn,Wi.toNow=fn,Wi.get=q,Wi.invalidAt=Cn,Wi.isAfter=Qt,Wi.isBefore=Jt,Wi.isBetween=Xt,Wi.isSame=Kt,Wi.isSameOrAfter=en,Wi.isSameOrBefore=tn,Wi.isValid=xn,Wi.lang=Ui,Wi.locale=dn,Wi.localeData=hn,Wi.max=Fi,Wi.min=Oi,Wi.parsingFlags=kn,Wi.set=Y,Wi.startOf=pn,Wi.subtract=Ri,Wi.toArray=yn,Wi.toObject=bn,Wi.toDate=$n,Wi.toISOString=an,Wi.toJSON=wn,Wi.toString=on,Wi.unix=vn,Wi.valueOf=gn,Wi.creationData=Sn,Wi.year=hi,Wi.isLeapYear=$e,Wi.weekYear=En,Wi.isoWeekYear=Dn,Wi.quarter=Wi.quarters=Fn,Wi.month=fe,Wi.daysInMonth=de,Wi.week=Wi.weeks=De,Wi.isoWeek=Wi.isoWeeks=Ae,Wi.weeksInYear=Tn,Wi.isoWeeksInYear=An,Wi.date=Vi,Wi.day=Wi.days=je,Wi.weekday=Le,Wi.isoWeekday=Re,Wi.dayOfYear=In,Wi.hour=Wi.hours=ki,Wi.minute=Wi.minutes=zi,Wi.second=Wi.seconds=Hi,Wi.millisecond=Wi.milliseconds=Yi,Wi.utcOffset=Tt,Wi.utc=Ot,Wi.local=Ft,Wi.parseZone=It,Wi.hasAlignedHourOffset=Nt,Wi.isDST=Pt,Wi.isLocal=Lt,Wi.isUtcOffset=Rt,Wi.isUtc=Ut,Wi.isUTC=Ut,Wi.zoneAbbr=Pn,Wi.zoneName=jn,Wi.dates=C("dates accessor is deprecated. Use date instead.",Vi),Wi.months=C("months accessor is deprecated. Use month instead",fe),Wi.years=C("years accessor is deprecated. Use year instead",hi),Wi.zone=C("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Mt),Wi.isDSTShifted=C("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",jt);var Bi=Wi,Gi=A.prototype;Gi.calendar=T,Gi.longDateFormat=M,Gi.invalidDate=O,Gi.ordinal=F,Gi.preparse=Un,Gi.postformat=Un,Gi.relativeTime=I,Gi.pastFuture=N,Gi.set=E,Gi.months=ae,Gi.monthsShort=se,Gi.monthsParse=le,Gi.monthsRegex=pe,Gi.monthsShortRegex=he,Gi.week=Se,Gi.firstDayOfYear=Ee,Gi.firstDayOfWeek=_e,Gi.weekdays=Oe,Gi.weekdaysMin=Ie,Gi.weekdaysShort=Fe,Gi.weekdaysParse=Pe,Gi.weekdaysRegex=Ue,Gi.weekdaysShortRegex=Ve,Gi.weekdaysMinRegex=ze,Gi.isPM=Ge,Gi.meridiem=Ze,Ke("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===w(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),n.lang=C("moment.lang is deprecated. Use moment.locale instead.",Ke),n.langData=C("moment.langData is deprecated. Use moment.localeData instead.",nt);var Zi=Math.abs,Qi=or("ms"),Ji=or("s"),Xi=or("m"),Ki=or("h"),eo=or("d"),to=or("w"),no=or("M"),ro=or("y"),io=sr("milliseconds"),oo=sr("seconds"),ao=sr("minutes"),so=sr("hours"),uo=sr("days"),lo=sr("months"),co=sr("years"),fo=Math.round,ho={s:45,m:45,h:22,d:26,M:11},po=Math.abs,mo=kt.prototype;mo.abs=Zn,mo.add=Jn,mo.subtract=Xn,mo.as=rr,mo.asMilliseconds=Qi,mo.asSeconds=Ji,mo.asMinutes=Xi,mo.asHours=Ki,mo.asDays=eo,mo.asWeeks=to,mo.asMonths=no,mo.asYears=ro,mo.valueOf=ir,mo._bubble=er,mo.get=ar,mo.milliseconds=io,mo.seconds=oo,mo.minutes=ao,mo.hours=so,mo.days=uo,mo.weeks=ur,mo.months=lo,mo.years=co,mo.humanize=hr,mo.toISOString=pr,mo.toString=pr,mo.toJSON=pr,mo.locale=dn,mo.localeData=hn,mo.toIsoString=C("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",pr),mo.lang=Ui,B("X",0,0,"unix"),B("x",0,0,"valueOf"),X("x",Wr),X("X",Zr),ne("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),ne("x",function(e,t,n){n._d=new Date(w(e))}),n.version="2.15.2",r(yt),n.fn=Bi,n.min=wt,n.max=xt,n.now=Ii,n.utc=f,n.unix=Ln,n.months=qn,n.isDate=s,n.locale=Ke,n.invalid=m,n.duration=Vt,n.isMoment=y,n.weekdays=Wn,n.parseZone=Rn,n.localeData=nt,n.isDuration=Ct,n.monthsShort=Yn,n.weekdaysMin=Gn,n.defineLocale=et,n.updateLocale=tt,n.locales=rt,n.weekdaysShort=Bn,n.normalizeUnits=j,n.relativeTimeRounding=fr,n.relativeTimeThreshold=dr,n.calendarFormat=Bt,n.prototype=Bi;var go=n;return go})},{}],13:[function(e,t,n){!function(e,n){"use strict";var r,i,o,a=e,s=a.document,u=a.navigator,l=a.setTimeout,c=a.clearTimeout,f=a.setInterval,d=a.clearInterval,h=a.getComputedStyle,p=a.encodeURIComponent,m=a.ActiveXObject,g=a.Error,v=a.Number.parseInt||a.parseInt,$=a.Number.parseFloat||a.parseFloat,y=a.Number.isNaN||a.isNaN,b=a.Date.now,w=a.Object.keys,x=a.Object.defineProperty,k=a.Object.prototype.hasOwnProperty,C=a.Array.prototype.slice,S=function(){var e=function(e){return e};if("function"==typeof a.wrap&&"function"==typeof a.unwrap)try{var t=s.createElement("div"),n=a.unwrap(t);1===t.nodeType&&n&&1===n.nodeType&&(e=a.unwrap)}catch(r){}return e}(),_=function(e){return C.call(e,0)},E=function(){var e,t,r,i,o,a,s=_(arguments),u=s[0]||{};for(e=1,t=s.length;e=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"),Ae(),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,X.activeClass),i!==e&&Le(i,X.hoverClass)),i=e,je(e,X.hoverClass);var t=e.getAttribute("title")||X.title;if("string"==typeof t&&t){var n=Ee(U.bridge);n&&n.setAttribute("title",t)}var r=X.forceHandCursor===!0||"pointer"===Re(e,"cursor");qe(r),He()}},de=function(){var e=Ee(U.bridge);e&&(e.removeAttribute("title"),e.style.left="0px",e.style.top="-9999px",e.style.width="1px",e.style.height="1px"),i&&(Le(i,X.hoverClass),Le(i,X.activeClass),i=null)},he=function(){return i||null},pe=function(e){return"string"==typeof e&&e&&/^[A-Za-z][A-Za-z0-9_:\-\.]*$/.test(e)},me=function(e){var t;if("string"==typeof e&&e?(t=e,e={}):"object"==typeof e&&e&&"string"==typeof e.type&&e.type&&(t=e.type),t){t=t.toLowerCase(),!e.target&&(/^(copy|aftercopy|_click)$/.test(t)||"error"===t&&"clipboard-error"===e.name)&&(e.target=o),E(e,{type:t,target:e.target||i||null,relatedTarget:e.relatedTarget||null,currentTarget:U&&U.bridge||null,timeStamp:e.timeStamp||b()||null});var n=B[e.type];return"error"===e.type&&e.name&&n&&(n=n[e.name]),n&&(e.message=n),"ready"===e.type&&E(e,{target:null,version:U.version}),"error"===e.type&&(Q.test(e.name)&&E(e,{target:null,minimumVersion:V}),J.test(e.name)&&E(e,{version:U.version})),"copy"===e.type&&(e.clipboardData={setData:Ge.setData,clearData:Ge.clearData}),"aftercopy"===e.type&&(e=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;o0){var t=D(e);E(t,{type:"error",name:"clipboard-error"}),delete t.success,l(function(){Ge.emit(t)},0)}},Ce=function(e){if(e&&"string"==typeof e.type&&e){var t,n=e.target||null,r=n&&n.ownerDocument||s,i={view:r.defaultView||a,canBubble:!0,cancelable:!0,detail:"click"===e.type?1:0,button:"number"==typeof e.which?e.which-1:"number"==typeof e.button?e.button:r.createEvent?0:1},o=E(i,e);n&&r.createEvent&&n.dispatchEvent&&(o=[o.type,o.canBubble,o.cancelable,o.view,o.detail,o.screenX,o.screenY,o.clientX,o.clientY,o.ctrlKey,o.altKey,o.shiftKey,o.metaKey,o.button,o.relatedTarget],t=r.createEvent("MouseEvents"),t.initMouseEvent&&(t.initMouseEvent.apply(t,o),t._source="js",n.dispatchEvent(t)))}},Se=function(){var e=X.flashLoadTimeout;if("number"==typeof e&&e>=0){var t=Math.min(1e3,e/10),n=X.swfObjectId+"_fallbackContent";W=f(function(){var e=s.getElementById(n);Ve(e)&&(ze(),U.deactivated=null,Ge.emit({type:"error",name:"swf-not-found"}))},t)}},_e=function(){var e=s.createElement("div");return e.id=X.containerId,e.className=X.containerClass,e.style.position="absolute",e.style.left="0px",e.style.top="-9999px",e.style.width="1px",e.style.height="1px",e.style.zIndex=""+Ye(X.zIndex),e},Ee=function(e){for(var t=e&&e.parentNode;t&&"OBJECT"===t.nodeName&&t.parentNode;)t=t.parentNode;return t||null},De=function(){var e,t=U.bridge,n=Ee(t);if(!t){var r=Ne(a.location.host,X),i="never"===r?"none":"all",o=Fe(E({jsVersion:Ge.version},X)),u=X.swfPath+Oe(X.swfPath,X);n=_e();var l=s.createElement("div");n.appendChild(l),s.body.appendChild(n);var c=s.createElement("div"),f="activex"===U.pluginType;c.innerHTML='"+(f?'':"")+'
     
    ',t=c.firstChild,c=null,S(t).ZeroClipboard=Ge,n.replaceChild(t,l),Se()}return t||(t=s[X.swfObjectId],t&&(e=t.length)&&(t=t[e-1]),!t&&n&&(t=n.firstChild)),U.bridge=t||null,t},Ae=function(){var e=U.bridge;if(e){var t=Ee(e);t&&("activex"===U.pluginType&&"readyState"in e?(e.style.display="none",function i(){if(4===e.readyState){for(var n in e)"function"==typeof e[n]&&(e[n]=null);e.parentNode&&e.parentNode.removeChild(e),t.parentNode&&t.parentNode.removeChild(t)}else l(i,10)}()):(e.parentNode&&e.parentNode.removeChild(e),t.parentNode&&t.parentNode.removeChild(t))),ze(),U.ready=null,U.bridge=null,U.deactivated=null,r=n}},Te=function(e){var t={},n={};if("object"==typeof e&&e){for(var r in e)if(r&&k.call(e,r)&&"string"==typeof e[r]&&e[r])switch(r.toLowerCase()){case"text/plain":case"text":case"air:text":case"flash:text":t.text=e[r],n.text=r;break;case"text/html":case"html":case"air:html":case"flash:html":t.html=e[r],n.html=r;break;case"application/rtf":case"text/rtf":case"rtf":case"richtext":case"air:rtf":case"flash:rtf":t.rtf=e[r],n.rtf=r}return{data:t,formatMap:n}}},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;i0){if(1===o&&"*"===i[0])return"always";if(i.indexOf(t)!==-1)return 1===o&&t===r?"sameDomain":"always"}return"never"}}(),Pe=function(){try{return s.activeElement}catch(e){return null}},je=function(e,t){var n,r,i,o=[];if("string"==typeof t&&t&&(o=t.split(/\s+/)),e&&1===e.nodeType&&o.length>0)if(e.classList)for(n=0,r=o.length;n0)if(e.classList&&e.classList.length>0)for(n=0,r=o.length;n0,r=$(t.width)>0,i=$(t.top)>=0,o=$(t.left)>=0,a=n&&r&&i&&o,s=a?null:Ue(e),u="none"!==t.display&&"collapse"!==t.visibility&&(a||!!s&&(n||s.height>0)&&(r||s.width>0)&&(i||s.top>=0)&&(o||s.left>=0));return u},ze=function(){c(Y),Y=0,d(W),W=0},He=function(){var e;if(i&&(e=Ee(U.bridge))){var t=Ue(i);E(e.style,{width:t.width+"px",height:t.height+"px",top:t.top+"px",left:t.left+"px",zIndex:""+Ye(X.zIndex)})}},qe=function(e){U.ready===!0&&(U.bridge&&"function"==typeof U.bridge.setHandCursor?U.bridge.setHandCursor(e):U.ready=!1)},Ye=function(e){if(/^(?:auto|inherit)$/.test(e))return e;var t;return"number"!=typeof e||y(e)?"string"==typeof e&&(t=Ye(v(e,10))):t=e,"number"==typeof t?t:"auto"},We=function(t){var n,r,i,o=U.sandboxed,a=null;if(t=t===!0,R===!1)a=!1;else{try{r=e.frameElement||null}catch(s){i={name:s.name,message:s.message}}if(r&&1===r.nodeType&&"IFRAME"===r.nodeName)try{a=r.hasAttribute("sandbox")}catch(s){a=null}else{try{n=document.domain||null}catch(s){n=null}(null===n||i&&"SecurityError"===i.name&&/(^|[\s\(\[@])sandbox(es|ed|ing|[\s\.,!\)\]@]|$)/.test(i.message.toLowerCase()))&&(a=!0)}}return U.sandboxed=a,o===a||t||Be(m),a},Be=function(e){function t(e){var t=e.match(/[\d]+/g);return t.length=3,t.join(".")}function n(e){return!!e&&(e=e.toLowerCase())&&(/^(pepflashplayer\.dll|libpepflashplayer\.so|pepperflashplayer\.plugin)$/.test(e)||"chrome.plugin"===e.slice(-13))}function r(e){e&&(s=!0,e.version&&(f=t(e.version)),!f&&e.description&&(f=t(e.description)),e.filename&&(c=n(e.filename)))}var i,o,a,s=!1,l=!1,c=!1,f="";if(u.plugins&&u.plugins.length)i=u.plugins["Shockwave Flash"],r(i),u.plugins["Shockwave Flash 2.0"]&&(s=!0,f="2.0.0.11");else if(u.mimeTypes&&u.mimeTypes.length)a=u.mimeTypes["application/x-shockwave-flash"],i=a&&a.enabledPlugin,r(i);else if("undefined"!=typeof e){l=!0;try{o=new e("ShockwaveFlash.ShockwaveFlash.7"),s=!0,f=t(o.GetVariable("$version"))}catch(d){try{o=new e("ShockwaveFlash.ShockwaveFlash.6"),s=!0,f="6.0.21"}catch(h){try{o=new e("ShockwaveFlash.ShockwaveFlash"),s=!0,f=t(o.GetVariable("$version"))}catch(p){l=!1}}}}U.disabled=s!==!0,U.outdated=f&&$(f)<$(V),U.version=f||"0.0.0",U.pluginType=c?"pepper":l?"activex":s?"netscape":"unknown"};Be(m),We(!0);var Ge=function(){return this instanceof Ge?void("function"==typeof Ge._createClient&&Ge._createClient.apply(this,_(arguments))):new Ge};x(Ge,"version",{value:"2.2.0",writable:!1,configurable:!0,enumerable:!0}),Ge.config=function(){return K.apply(this,_(arguments))},Ge.state=function(){return ee.apply(this,_(arguments))},Ge.isFlashUnusable=function(){return te.apply(this,_(arguments))},Ge.on=function(){return ne.apply(this,_(arguments))},Ge.off=function(){return re.apply(this,_(arguments))},Ge.handlers=function(){return ie.apply(this,_(arguments))},Ge.emit=function(){return oe.apply(this,_(arguments))},Ge.create=function(){return ae.apply(this,_(arguments))},Ge.destroy=function(){return se.apply(this,_(arguments))},Ge.setData=function(){return ue.apply(this,_(arguments))},Ge.clearData=function(){return le.apply(this,_(arguments))},Ge.getData=function(){return ce.apply(this,_(arguments))},Ge.focus=Ge.activate=function(){return fe.apply(this,_(arguments))},Ge.blur=Ge.deactivate=function(){return de.apply(this,_(arguments))},Ge.activeElement=function(){return he.apply(this,_(arguments))};var Ze=0,Qe={},Je=0,Xe={},Ke={};E(X,{autoActivate:!0});var et=function(e){var t=this;t.id=""+Ze++,Qe[t.id]={instance:t,elements:[],handlers:{}},e&&t.clip(e),Ge.on("*",function(e){return t.emit(e)}),Ge.on("destroy",function(){t.destroy()}),Ge.create()},tt=function(e,t){var i,o,a,s={},u=Qe[this.id],l=u&&u.handlers;if(!u)throw new Error("Attempted to add new listener(s) to a destroyed ZeroClipboard client instance");if("string"==typeof e&&e)a=e.toLowerCase().split(/\s+/);else if("object"==typeof e&&e&&"undefined"==typeof t)for(i in e)k.call(e,i)&&"string"==typeof i&&i&&"function"==typeof e[i]&&this.on(i,e[i]);if(a&&a.length){for(i=0,o=a.length;i0,i=!e.target||r&&n.indexOf(e.target)!==-1,o=e.relatedTarget&&r&&n.indexOf(e.relatedTarget)!==-1,a=e.client&&e.client===this;return!(!t||!(i||o||a))},ct=function(e){var t=Qe[this.id];if("object"==typeof e&&e&&e.type&&t){var n=$e(e),r=t&&t.handlers["*"]||[],i=t&&t.handlers[e.type]||[],o=r.concat(i);if(o&&o.length){var s,u,l,c,f,d=this;for(s=0,u=o.length;s\n Image Preview\n
    \n \n
    \n\n \n |\n \n\n \n
    '},{}],16:[function(e,t,n){t.exports='
    \n \n
    \n
    '},{}],17:[function(e,t,n){"use strict";var r=e("moment");t.exports=function(t,n){t.controller("ImageManagerController",["$scope","$attrs","$http","$timeout","imageManagerService",function(e,t,r,i,o){function a(){e.searching=!1,e.searchTerm="",e.images=m,e.hasMore=g}function s(t){p&&p(t),e.hide()}function u(t){p=t,e.showing=!0,$("#image-manager").find(".overlay").css("display","flex").hide().fadeIn(240),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 window.baseUrl("/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;i tr",containment:"parent",axis:"y"},e.addEmptyTag=i,o(),e.tagChange=function(t){var n=e.tags.indexOf(t);n===e.tags.length-1&&(""===t.name&&""===t.value||i())},e.tagBlur=function(t){var n=e.tags.length-1===e.tags.indexOf(t);if(""===t.name&&""===t.value&&!n){var r=e.tags.indexOf(t);e.tags.splice(r,1)}},e.saveTags=function(){a();var r={tags:e.tags},o=window.baseUrl("/ajax/tags/update/page/"+s);t.post(o,r).then(function(t){e.tags=t.data.tags,i(),n.emit("success",t.data.message)})},e.removeTag=function(t){var n=e.tags.indexOf(t);e.tags.splice(n,1)}}])}},{"./pages/page-form":20,moment:12}],18:[function(e,t,n){"use strict";var r=e("dropzone"),i=e("marked"),o=e("./components/toggle-switch.html"),a=e("./components/image-picker.html"),s=e("./components/drop-zone.html");t.exports=function(e,t){e.directive("toggleSwitch",function(){return{restrict:"A",template:o,scope:!0,link:function(e,t,n){e.name=n.name,e.value=n.value,e.isActive=1==e.value&&"false"!=e.value,e.value=1==e.value&&"false"!=e.value?"true":"false",e["switch"]=function(){e.isActive=!e.isActive,e.value=e.isActive?"true":"false"}}}}),e.directive("imagePicker",["$http","imageManagerService",function(e,t){return{restrict:"E",template:a,scope:{name:"@",resizeHeight:"@",resizeWidth:"@",resizeCrop:"@",showRemove:"=",currentImage:"@",currentId:"@",defaultImage:"@",imageClass:"@"},link:function(n,r,i){function o(e,t){n.image=t,n.value=a?e.id:t}var a="undefined"!=typeof n.currentId||"false"===n.currentId;n.image=n.currentImage,n.value=n.currentImage||"",a&&(n.value=n.currentId),n.reset=function(){o({id:0},n.defaultImage)},n.remove=function(){n.image="none",n.value="none"},n.showImageManager=function(){t.show(function(e){n.updateImageFromModel(e)})},n.updateImageFromModel=function(t){var r=n.resizeWidth&&n.resizeHeight;if(!r)return void n.$apply(function(){o(t,t.url)});var i=n.resizeCrop?"true":"false",a="/images/thumb/"+t.id+"/"+n.resizeWidth+"/"+n.resizeHeight+"/"+i;a=window.baseUrl(a),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");var e=r.find("input"),n=e.length>0;n&&(e.first().focus(),t.on("keypress","input",function(e){if(13===e.keyCode)return e.preventDefault(),r.hide(),r.removeClass("anim menuIn"),!1})),t.mouseleave(function(){r.hide(),r.removeClass("anim menuIn")})})}}}]),e.directive("tinymce",["$timeout",function(e){return{restrict:"A",scope:{tinymce:"=",mceModel:"=",mceChange:"="},link:function(t,n,r){function i(n){n.on("ExecCommand change NodeChange ObjectResized",function(r){var i=n.getContent();e(function(){t.mceModel=i}),t.mceChange(i)}),n.on("keydown",function(e){t.$emit("editor-keydown",e)}),n.on("init",function(e){t.mceModel=n.getContent()}),t.$on("html-update",function(e,r){n.setContent(r),n.selection.select(n.getBody(),!0),n.selection.collapse(!1),t.mceModel=n.getContent()})}t.tinymce.extraSetups.push(i),tinymce.PluginManager.add("customhr",function(e){e.addCommand("InsertHorizontalRule",function(){var t=document.createElement("hr"),n=e.selection.getNode(),r=n.parentNode;r.insertBefore(t,n)}),e.addButton("hr",{icon:"hr",tooltip:"Horizontal line",cmd:"InsertHorizontalRule"}),e.addMenuItem("hr",{icon:"hr",text:"Horizontal line",cmd:"InsertHorizontalRule",context:"insert"})}),tinymce.init(t.tinymce)}}}]),e.directive("markdownInput",["$timeout",function(e){return{restrict:"A",scope:{mdModel:"=",mdChange:"="},link:function(t,n,r){n=n.find("textarea").first();var o=n.val();t.mdModel=o,t.mdChange(i(o)),n.on("change input",function(r){o=n.val(),e(function(){t.mdModel=o,t.mdChange(i(o))})}),t.$on("markdown-update",function(e,r){n.val(r),t.mdModel=r,t.mdChange(i(r))})}}}]),e.directive("markdownEditor",["$timeout",function(e){return{restrict:"A",link:function(e,t,n){function r(){h=u[0].scrollHeight,p=u.height(),m=l[0].scrollHeight,g=l.height()}function i(){window.showEntityLinkSelector(function(e){var t=d,n=u[0].selectionEnd,r=n!==t,i=u.val();if(r){var o=i.substring(t,n),a="["+o+"]("+e.link+")";u.val(i.substring(0,t)+a+i.substring(n))}else{var s=" ["+e.name+"]("+e.link+") ";u.val(i.substring(0,t)+s+i.substring(t))}u.change()})}function o(e){if(e=e.originalEvent,e.clipboardData){var t=e.clipboardData.items;if(t)for(var n=0;na?"!["+c+"]":"![]")+("("+f+")");u[0].value=l.substring(0,a)+d+l.substring(s),u.focus(),u[0].selectionStart=a,u[0].selectionEnd=a;var h="image-"+Date.now()+"."+n;t.append("file",e,h),t.append("_token",document.querySelector('meta[name="token"]').getAttribute("content")),r.open("POST",window.baseUrl("/images/gallery/upload")),r.onload=function(){var e=u[0].selectionStart;if(200===r.status||201===r.status){var t=JSON.parse(r.responseText);u[0].value=u[0].value.replace(f,t.thumbs.display), -u.change()}else console.log("An error occurred uploading the image"),console.log(r.responseText),u[0].value=u[0].value.replace(d,""),u.change();u.focus(),u[0].selectionStart=e,u[0].selectionEnd=e},r.send(t)}}var u=t.find("[markdown-input] textarea").first(),l=t.find(".markdown-display").first(),c=t.find('button[data-action="insertImage"]'),f=t.find('button[data-action="insertEntityLink"]'),d=0;u.blur(function(e){d=u[0].selectionStart});var h=void 0,p=void 0,m=void 0,g=void 0;setTimeout(function(){r()},200),window.addEventListener("resize",r);var v=800,$=0;u.on("scroll",function(e){var t=Date.now();t-$>v&&r();var n=u.scrollTop()/(h-p),i=(m-g)*n;l.scrollTop(i),$=t}),u.keydown(function(t){if(73===t.which&&t.ctrlKey&&t.shiftKey){t.preventDefault();var n=u[0].selectionStart,r=u.val(),o="![](http://)";return u.val(r.substring(0,n)+o+r.substring(n)),u.focus(),u[0].selectionStart=n+"![](".length,void(u[0].selectionEnd=n+"![](http://".length)}return 75===t.which&&t.ctrlKey&&t.shiftKey?void i():void e.$emit("editor-keydown",t)}),c.click(function(e){window.ImageManager.showExternal(function(e){var t=d,n=u.val(),r="!["+e.name+"]("+e.thumbs.display+")";u.val(n.substring(0,t)+r+n.substring(t)),u.change()})}),f.click(i),u.on("paste",o),u.on("drop",a)}}}]),e.directive("toolbox",[function(){return{restrict:"A",link:function(e,t,n){function r(e,n){i.removeClass("active"),o.hide(),i.filter('[tab-button="'+e+'"]').addClass("active"),o.filter('[tab-content="'+e+'"]').show(),n&&t.addClass("open")}var i=t.find("[tab-button]"),o=t.find("[tab-content]"),a=t.find("[toolbox-toggle]");a.click(function(e){t.toggleClass("open")}),r(o.first().attr("tab-content"),!1),i.click(function(e){var t=$(this).attr("tab-button");r(t,!0)})}}}]),e.directive("tagAutosuggestions",["$http",function(e){return{restrict:"A",link:function(t,n,r){function i(e,t){t[h].className="",h=e,t[h].className="active"}function o(e,t){if(0===t.length)return c.hide(),f=!1,void(m=t);if(f||(c.show(),f=!0),e!==d&&(c.detach(),e.after(c),d=e),m.join()===t.join())return void(m=t);c[0].innerHTML="";for(var n=0;n=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(){var e=document.documentElement.scrollTop||document.body.scrollTop||0;!i&&e>a?(o.style.display="block",i=!0,setTimeout(function(){o.style.opacity=.4},1)):i&&e0||navigator.userAgent.indexOf("Safari")!==-1)&&$("body").addClass("flexbox-support")}),e("./pages/page-show")},{"./controllers":17,"./directives":18,"./pages/page-show":21,"./services":22,angular:9,"angular-animate":2,"angular-resource":4,"angular-sanitize":6,"angular-ui-sortable":7}],20:[function(e,t,n){"use strict";function r(e,t){if(e.clipboardData){var n=e.clipboardData.items;if(n)for(var r=function(e){if(n[e].type.indexOf("image")===-1)return{v:void 0};var r=n[e].getAsFile(),i=new FormData,o="png",a=new XMLHttpRequest;if(r.name){var s=r.name.match(/\.(.+)$/);s&&(o=s[1])}var u="image-"+Math.random().toString(16).slice(2),l=window.baseUrl("/loading.gif");t.execCommand("mceInsertContent",!1,'');var c="image-"+Date.now()+"."+o;i.append("file",r,c),i.append("_token",document.querySelector('meta[name="token"]').getAttribute("content")),a.open("POST",window.baseUrl("/images/gallery/upload")),a.onload=function(){if(200===a.status||201===a.status){var e=JSON.parse(a.responseText);t.dom.setAttrib(u,"src",e.thumbs.display)}else console.log("An error occurred uploading the image",a.responseText),t.dom.remove(u)},a.send(i)},i=0;i';i+=''+t.name+'',i+="
    ",r.tinyMCE.activeEditor.execCommand("mceInsertContent",!1,i)})},paste_preprocess:function(e,t){var n=t.content;n.indexOf('';n+=''+t.name+'',n+="",e.execCommand("mceInsertContent",!1,n)})}}),e.on("paste",function(t){r(t,e)})}}},{}],21:[function(e,t,n){"use strict";var r=e("zeroclipboard");r.config({swfPath:window.baseUrl("/ZeroClipboard.swf")}),window.setupPageShow=t.exports=function(e){function t(e){var t=$(".page-content #"+e).first();0!==t.length?(t.smoothScrollTo(),t.css("background-color","rgba(244, 249, 54, 0.25)")):$(".page-content").find(':contains("'+e+'")').smoothScrollTo()}function n(){d.width(h.width()+15),d.addClass("fixed"),g=!0}function i(){d.css("width","auto"),d.removeClass("fixed"),g=!1}function o(e){var t=f.scrollTop()>m;!t||g&&!e?t||!g&&!e||i():n()}function a(){o(!1)}var s=$("#pointer").detach(),u=s.children("div.pointer").first(),l=!1;if(s.on("click","input",function(e){$(this).select(),e.stopPropagation()}),new r(s.find("button").first()[0]),$(document.body).find("*").on("click focus",function(e){l||s.detach()}),$('.page-content [id^="bkmrk"]').on("mouseup keyup",function(t){t.stopPropagation();var n=window.getSelection();if(0!==n.toString().length){var r=$(this),i=window.baseUrl("/link/"+e+"#"+r.attr("id"));0!==i.indexOf("http")&&(i=window.location.protocol+"//"+window.location.host+i),s.find("input").val(i),s.find("button").first().attr("data-clipboard-text",i),r.before(s),s.show();var o=t.pageX-r.offset().left-u.width()/2;o<0&&(o=0);var a=o/r.width()*100;u.css("left",a+"%"),l=!0,setTimeout(function(){l=!1},100)}}),window.location.hash){var c=window.location.hash.replace(/\%20/g," ").substr(1);t(c)}var f=$(window),d=$(".book-tree"),h=d.parent(),p=$(document).height()>f.height()&&d.height()<$(".page-content").height(),m=$("#header").height()+$(".toolbar").height(),g=f.scrollTop()>m;p&&f.width()>1e3&&(f.on("scroll",a),o(!0)),f.on("resize",function(e){p&&f.width()>1e3?(f.on("scroll",a),o(!0)):(f.off("scroll",a),i())})}},{zeroclipboard:13}],22:[function(e,t,n){"use strict";t.exports=function(e,t){e.factory("imageManagerService",function(){return{show:!1,showExternal:!1}})}},{}]},{},[19]); \ No newline at end of file +!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 a(e,t){var n=e.indexOf(t);t>=0&&e.splice(n,1)}function s(e){if(e instanceof ne)switch(e.length){case 0:return e;case 1:if(e[0].nodeType===L)return e;break;default:return ne(u(e))}if(e.nodeType===L)return ne(e)}function u(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 G(n,function(e){"s"==e.charAt(e.length-1)&&(e=e.substring(0,e.length-1)),e=parseFloat(e)||0,t=t?Math.max(e,t):e}),t}function M(e){return 0===e||null!=e}function T(e,t){var n=F,r=e+"s";return t?n+=ie:r+=" linear all",[n,r]}function A(){var e=Object.create(null);return{flush:function(){e=Object.create(null)},count:function(t){var n=e[t];return n?n.total:0},get:function(t){var n=e[t];return n&&n.value},put:function(t,n){e[t]?e[t].total++:e[t]={total:1,value:n}}}}function O(e,t,n){G(n,function(n){e[n]=Q(e[n])?e[n]:t.style.getPropertyValue(n)})}var F,I,N,P,L=1,j="-add",R="-remove",U="ng-",V="-active",z="-prepare",H="ng-animate",Y="$$ngAnimateChildren",q="";void 0===e.ontransitionend&&void 0!==e.onwebkittransitionend?(q="-webkit-",F="WebkitTransition",I="webkitTransitionEnd transitionend"):(F="transition",I="transitionend"),void 0===e.onanimationend&&void 0!==e.onwebkitanimationend?(q="-webkit-",N="WebkitAnimation",P="webkitAnimationEnd animationend"):(N="animation",P="animationend");var W,B,G,Z,Q,J,X,K,ee,te,ne,re,ie="Duration",oe="Property",ae="Delay",se="TimingFunction",ue="IterationCount",le="PlayState",ce=9999,fe=N+ae,de=N+ie,he=F+ae,pe=F+ie,me=t.$$minErr("ng"),ge=["$$rAF",function(e){function t(e){r=r.concat(e),n()}function n(){if(r.length){for(var t=r.shift(),o=0;o0&&(l=n.get(s),!l)){var c=o(a,"-stagger");r.addClass(i,c),l=E(e,i,u),l.animationDuration=Math.max(l.animationDuration,0),l.transitionDuration=Math.max(l.transitionDuration,0),r.removeClass(i,c),n.put(s,l)}return l||{}}function D(e){H.push(e),g.waitUntilQuiet(function(){t.flush(),n.flush();for(var e=l(),r=0;r=ne&&r>=ie&&(X=!0,g())}function H(){function t(){if(!Q){if(b(!1),G(le,function(e){var t=e[0],n=e[1];B.style[t]=n}),L(e,Y),r.addClass(e,Se),Re.recalculateTimingStyles){if(Ce=B.className+" "+xe,De=$(B,Ce),Le=A(B,Ce,De),je=Le.maxDelay,te=Math.max(je,0),ie=Le.maxDuration,0===ie)return void g();Re.hasTransitions=Le.transitionDuration>0,Re.hasAnimations=Le.animationDuration>0}if(Re.applyAnimationDelay&&(je="boolean"!=typeof Y.delay&&M(Y.delay)?parseFloat(Y.delay):je,te=Math.max(je,0),Le.animationDelay=je,Ue=_(je,!0),le.push(Ue),B.style[Ue[0]]=Ue[1]),ne=te*$e,ae=ie*$e,Y.easing){var t,i=Y.easing;Re.hasTransitions&&(t=F+se,le.push([t,i]),B.style[t]=i),Re.hasAnimations&&(t=N+se,le.push([t,i]),B.style[t]=i)}Le.transitionDuration&&he.push(I),Le.animationDuration&&he.push(P),ue=Date.now();var o=ne+we*ae,a=ue+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(g)}if(l){var f=u(n,o,!1);s[0]={timer:f,expectedEndTime:a},s.push(g),e.data(ye,s)}he.length&&e.on(he.join(" "),z),Y.to&&(Y.cleanupStyles&&O(q,B,Object.keys(Y.to)),m(e,Y))}}function n(){var t=e.data(ye);if(t){for(var n=1;n0&&(Le.transitionDuration&&0===Me.transitionDuration||Le.animationDuration&&0===Me.animationDuration)&&Math.max(Me.animationDelay,Me.transitionDelay);o?u(t,Math.floor(o*Ne*$e),!1):t(),ee.resume=function(){i(!0)},ee.pause=function(){i(!1)}}}var Y=n||{};Y.$$prepared||(Y=d(W(Y)));var q={},B=y(e);if(!B||!B.parentNode||!v.enabled())return E();var Q,J,X,K,ee,te,ne,ie,ae,ue,le=[],fe=e.attr("class"),de=i(Y),he=[];if(0===Y.duration||!c.animations&&!c.transitions)return E();var pe=Y.event&&Z(Y.event)?Y.event.join(" "):Y.event,me=pe&&Y.structural,ge="",ve="";me?ge=o(pe,U,!0):pe&&(ge=pe),Y.addClass&&(ve+=o(Y.addClass,j)),Y.removeClass&&(ve.length&&(ve+=" "),ve+=o(Y.removeClass,R)),Y.applyClassesEarly&&ve.length&&L(e,Y);var xe=[ge,ve].join(" ").trim(),Ce=fe+" "+xe,Se=o(xe,V),_e=de.to&&Object.keys(de.to).length>0,Ee=(Y.keyframeStyle||"").length>0;if(!Ee&&!_e&&!xe)return E();var De,Me;if(Y.stagger>0){var Te=parseFloat(Y.stagger);Me={transitionDelay:Te,animationDelay:Te,transitionDuration:0,animationDuration:0}}else De=$(B,Ce),Me=C(B,xe,De,ke);Y.$$skipPreparationClasses||r.addClass(e,xe);var Ae;if(Y.transitionStyle){var Oe=[F,Y.transitionStyle];k(B,Oe),le.push(Oe)}if(Y.duration>=0){Ae=B.style[F].length>0;var Fe=T(Y.duration,Ae);k(B,Fe),le.push(Fe)}if(Y.keyframeStyle){var Ie=[N,Y.keyframeStyle];k(B,Ie),le.push(Ie)}var Ne=Me?Y.staggerIndex>=0?Y.staggerIndex:t.count(De):0,Pe=0===Ne;Pe&&!Y.skipBlocking&&w(B,ce);var Le=A(B,Ce,De),je=Le.maxDelay;te=Math.max(je,0),ie=Le.maxDuration;var Re={};if(Re.hasTransitions=Le.transitionDuration>0,Re.hasAnimations=Le.animationDuration>0,Re.hasTransitionAll=Re.hasTransitions&&"all"==Le.transitionProperty,Re.applyTransitionDuration=_e&&(Re.hasTransitions&&!Re.hasTransitionAll||Re.hasAnimations&&!Re.hasTransitions),Re.applyAnimationDuration=Y.duration&&Re.hasAnimations,Re.applyTransitionDelay=M(Y.delay)&&(Re.applyTransitionDuration||Re.hasTransitions),Re.applyAnimationDelay=M(Y.delay)&&Re.hasAnimations,Re.recalculateTimingStyles=ve.length>0,(Re.applyTransitionDuration||Re.applyAnimationDuration)&&(ie=Y.duration?parseFloat(Y.duration):ie,Re.applyTransitionDuration&&(Re.hasTransitions=!0,Le.transitionDuration=ie,Ae=B.style[F+oe].length>0,le.push(T(ie,Ae))),Re.applyAnimationDuration&&(Re.hasAnimations=!0,Le.animationDuration=ie,le.push(S(ie)))),0===ie&&!Re.recalculateTimingStyles)return E();if(null!=Y.delay){var Ue;"boolean"!=typeof Y.delay&&(Ue=parseFloat(Y.delay),te=Math.max(Ue,0)),Re.applyTransitionDelay&&le.push(_(Ue)),Re.applyAnimationDelay&&le.push(_(Ue,!0))}return null==Y.duration&&Le.transitionDuration>0&&(Re.recalculateTimingStyles=Re.recalculateTimingStyles||Pe),ne=te*$e,ae=ie*$e,Y.skipBlocking||(Re.blockTransition=Le.transitionDuration>0,Re.blockKeyframeAnimation=Le.animationDuration>0&&Me.animationDelay>0&&0===Me.animationDuration),Y.from&&(Y.cleanupStyles&&O(q,B,Object.keys(Y.from)),p(e,Y)),Re.blockTransition||Re.blockKeyframeAnimation?b(ie):Y.skipBlocking||w(B,!1),{$$willAnimate:!0,end:l,start:function(){if(!Q)return ee={end:l,cancel:f,resume:null,pause:null},K=new s(ee),D(H),K}}}}]}],Se=["$$animationProvider",function(e){function t(e){return e.parentNode&&11===e.parentNode.nodeType}e.drivers.push("$$animateCssDriver");var n="ng-animate-shim",r="ng-anchor",i="ng-anchor-out",o="ng-anchor-in";this.$get=["$animateCss","$rootScope","$$AnimateRunner","$rootElement","$sniffer","$$jqLite","$document",function(e,a,s,u,l,c,d){function h(e){return e.replace(/\bng-\S+\b/g,"")}function p(e,t){return ee(e)&&(e=e.split(" ")),ee(t)&&(t=t.split(" ")),e.filter(function(e){return t.indexOf(e)===-1}).join(" ")}function m(t,a,u){function l(e){var t={},n=y(e).getBoundingClientRect();return G(["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=ne(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,re),o=v(t,re),a=[];if(G(r,function(e){var t=e.out,r=e["in"],i=m(n,t,r);i&&a.push(i)}),i||o||0!==a.length)return{start:function(){function e(){G(t,function(e){e.end()})}var t=[];i&&t.push(i.start()),o&&t.push(o.start()),G(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}}}function v(t){var n=t.element,r=t.options||{};t.structural&&(r.event=t.event,r.structural=!0,r.applyClassesEarly=!0,"leave"===t.event&&(r.onDone=r.domOperation)),r.preparationClasses&&(r.event=C(r.event,r.preparationClasses));var i=e(n,r);return i.$$willAnimate?i:null}if(!l.animations&&!l.transitions)return re;var $=d[0].body,b=y(u),w=ne(t(b)||$.contains(b)?b:$);f(c);return function(e){return e.from&&e.to?g(e.from,e.to,e.classes,e.anchors):v(e)}}]}],_e=["$animateProvider",function(e){this.$get=["$injector","$$AnimateRunner","$$jqLite",function(t,n,r){function i(n){n=Z(n)?n:n.split(" ");for(var r=[],i={},o=0;o0,r=(e.removeClass||"").length>0;return t?n&&r:n||r}var l=1,c=2,p=" ",m=this.rules={skip:[],cancel:[],join:[]};m.join.push(function(e,t,n){return!t.structural&&a(t)}),m.skip.push(function(e,t,n){return!t.structural&&!a(t)}),m.skip.push(function(e,t,n){return"leave"==n.event&&t.structural}),m.skip.push(function(e,t,n){return n.structural&&n.state===c&&!t.structural}),m.cancel.push(function(e,t,n){return n.structural&&t.structural}),m.cancel.push(function(e,t,n){return n.state===c&&t.structural}),m.cancel.push(function(e,t,n){if(n.structural)return!1;var r=t.addClass,o=t.removeClass,a=n.addClass,s=n.removeClass;return!(te(r)&&te(o)||te(a)&&te(s))&&(i(r,s)||i(o,a))}),this.$get=["$$rAF","$rootScope","$rootElement","$document","$$HashMap","$$animation","$$AnimateRunner","$templateRequest","$$jqLite","$$forceReflow",function(r,i,p,m,v,w,x,k,C,S){function _(){var e=!1;return function(t){e?t():i.$$postDigest(function(){e=!0,t()})}}function E(e,t){return g(e,t,{})}function D(e,t,n){var r=y(t),i=y(e),o=[],a=z[n];return a&&G(a,function(e){re.call(e.node,r)?o.push(e.callback):"leave"===n&&re.call(e.node,i)&&o.push(e.callback)}),o}function M(e,t,n){var r=u(t);return e.filter(function(e){var t=e.node===r&&(!n||e.callback===n);return!t})}function T(e,t){"close"!==e||t[0].parentNode||ie.off(t)}function A(e,t,n){function u(t,n,i,o){S(function(){var t=D(v,e,n);t.length?r(function(){G(t,function(t){t(e,i,o)}),T(i,e)}):T(i,e)}),t.progress(n,i,o)}function f(t){b(e,k),X(e,k),h(e,k),k.domOperation(),C.complete(!t)}var p,v,k=W(n);e=s(e),e&&(p=y(e),v=e.parent()),k=d(k);var C=new x,S=_();if(Z(k.addClass)&&(k.addClass=k.addClass.join(" ")),k.addClass&&!ee(k.addClass)&&(k.addClass=null),Z(k.removeClass)&&(k.removeClass=k.removeClass.join(" ")),k.removeClass&&!ee(k.removeClass)&&(k.removeClass=null),k.from&&!K(k.from)&&(k.from=null),k.to&&!K(k.to)&&(k.to=null),!p)return f(),C;var M=[p.className,k.addClass,k.removeClass].join(" ");if(!q(M))return f(),C;var A=["enter","move","leave"].indexOf(t)>=0,I=m[0].hidden,L=!U||I||R.get(p),V=!L&&j.get(p)||{},z=!!V.state;if(L||z&&V.state==l||(L=!N(e,v,t)),L)return I&&u(C,t,"start"),f(),I&&u(C,t,"close"),C;A&&O(e);var H={structural:A,element:e,event:t,addClass:k.addClass,removeClass:k.removeClass,close:f,options:k,runner:C};if(z){var Y=o("skip",e,H,V);if(Y)return V.state===c?(f(),C):(g(e,V,H),V.runner);var B=o("cancel",e,H,V);if(B)if(V.state===c)V.runner.end();else{if(!V.structural)return g(e,V,H),V.runner;V.close()}else{var Q=o("join",e,H,V);if(Q){if(V.state!==c)return $(e,A?t:null,k),t=H.event=V.event,k=g(e,V,H),V.runner;E(e,H)}}}else E(e,H);var J=H.structural;if(J||(J="animate"===H.event&&Object.keys(H.options.to||{}).length>0||a(H)),!J)return f(),F(e),C;var te=(V.counter||0)+1;return H.counter=te,P(e,l,H),i.$$postDigest(function(){var n=j.get(p),r=!n;n=n||{};var i=e.parent()||[],o=i.length>0&&("animate"===n.event||n.structural||a(n));if(r||n.counter!==te||!o)return r&&(X(e,k),h(e,k)),(r||A&&n.event!==t)&&(k.domOperation(),C.end()),void(o||F(e));t=!n.structural&&a(n,!0)?"setClass":n.event,P(e,c);var s=w(e,t,n.options);C.setHost(s),u(C,t,"start",{}),s.done(function(n){f(!n);var r=j.get(p);r&&r.counter===te&&F(y(e)),u(C,t,"close",{})})}),C}function O(e){var t=y(e),n=t.querySelectorAll("["+De+"]");G(n,function(e){var t=parseInt(e.getAttribute(De)),n=j.get(e);if(n)switch(t){case c:n.runner.end();case l:j.remove(e)}})}function F(e){var t=y(e);t.removeAttribute(De),j.remove(t)}function I(e,t){return y(e)===y(t)}function N(e,t,n){var r,i=ne(m[0].body),o=I(e,i)||"HTML"===e[0].nodeName,a=I(e,p),s=!1,u=R.get(y(e)),l=ne.data(e[0],Me);for(l&&(t=l),t=y(t);t&&(a||(a=I(t,p)),t.nodeType===L);){var c=j.get(t)||{};if(!s){var f=R.get(t);if(f===!0&&u!==!1){u=!0;break}f===!1&&(u=!1),s=c.structural}if(te(r)||r===!0){var d=ne.data(t,Y);Q(d)&&(r=d)}if(s&&r===!1)break;if(o||(o=I(t,i)),o&&a)break;t=a||!(l=ne.data(t,Me))?t.parentNode:y(l)}var h=(!s||r)&&u!==!0;return h&&a&&o}function P(e,t,n){n=n||{},n.state=t;var r=y(e);r.setAttribute(De,t);var i=j.get(r),o=i?B(i,n):n;j.put(r,o)}var j=new v,R=new v,U=null,V=i.$watch(function(){return 0===k.totalPendingRequests},function(e){e&&(V(),i.$$postDigest(function(){i.$$postDigest(function(){null===U&&(U=!0)})}))}),z=Object.create(null),H=t.classNameFilter(),q=H?function(e){return H.test(e)}:function(){return!0},X=f(C),re=e.Node.prototype.contains||function(e){return this===e||!!(16&this.compareDocumentPosition(e))},ie={on:function(e,t,n){var r=u(t);z[e]=z[e]||[],z[e].push({node:r,callback:n}),ne(t).on("$destroy",function(){var i=j.get(r);i||ie.off(e,t,n)})},off:function(e,t,n){if(1!==arguments.length||ee(arguments[0])){var r=z[e];r&&(z[e]=1===arguments.length?null:M(r,t,n))}else{t=arguments[0];for(var i in z)z[i]=M(z[i],t)}},pin:function(e,t){n(J(e),"element","not an element"),n(J(t),"parentElement","not an element"),e.data(Me,t)},push:function(e,t,n,r){return n=n||{},n.domOperation=r,A(e,t,n)},enabled:function(e,t){var n=arguments.length;if(0===n)t=!!U;else{var r=J(e);if(r){var i=y(e);1===n?t=!R.get(i):R.put(i,!t)}else t=U=!!e}return t}};return ie}]}],Ae=["$animateProvider",function(e){function t(e,t){e.data(s,t)}function n(e){e.removeData(s)}function i(e){return e.data(s)}var o="ng-animate-ref",a=this.drivers=[],s="$$animationRunner";this.$get=["$$jqLite","$rootScope","$injector","$$AnimateRunner","$$HashMap","$$rAFScheduler",function(e,s,u,l,c,p){function m(e){function t(e){if(e.processed)return e;e.processed=!0;var n=e.domNode,r=n.parentNode;o.put(n,e);for(var a;r;){if(a=o.get(r)){a.processed||(a=t(a));break}r=r.parentNode}return(a||i).children.push(e),e}function n(e){var t,n=[],r=[];for(t=0;t=0,l=e.structural?b(a):[];if(l.length){var c=u?"to":"from";G(l,function(e){var t=e.getAttribute(o);n[t]=n[t]||{},n[t][c]={animationID:r,element:ne(e)}})}else t.push(e)});var r={},i={};return G(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],r=u.get(n),i=r(e);if(i)return i}}function C(){c.addClass(H),A&&e.addClass(c,A),O&&(e.removeClass(c,O),O=null)}function S(e,t){function n(e){var n=i(e);n&&n.setHost(t)}e.from&&e.to?(n(e.from.element),n(e.to.element)):n(e.element)}function _(){var e=i(c);!e||"leave"===f&&$.$$domOperationFired||e.end()}function E(t){c.off("$destroy",_),n(c),v(c,$),h(c,$),$.domOperation(),A&&e.removeClass(c,A),c.removeClass(H),M.complete(!t)}$=d($);var D=["enter","move","leave"].indexOf(f)>=0,M=new l({end:function(){E()},cancel:function(){E(!0)}});if(!a.length)return E(),M;t(c,M);var T=r(c.attr("class"),r($.addClass,$.removeClass)),A=$.tempClasses;A&&(T+=" "+A,$.tempClasses=null);var O;return D&&(O="ng-"+f+z,e.addClass(c,O)),g.push({element:c,classes:T,event:f,structural:D,options:$,beforeStart:C,close:E}),c.on("$destroy",_),g.length>1?M:(s.$$postDigest(function(){var e=[];G(g,function(t){i(t.element)?e.push(t):t.close()}),g.length=0;var t=w(e),n=[];G(t,function(e){n.push({domNode:y(e.from?e.from.element:e.element),fn:function(){e.beforeStart();var t,n=e.close,r=e.anchors?e.from.element||e.to.element:e.element;if(i(r)){var o=k(e);o&&(t=o.start)}if(t){var a=t();a.done(function(e){n(!e)}),S(e,a)}else n()}})}),p(m(n))}),M)}}]}],Oe=["$animate","$rootScope",function(e,t){return{restrict:"A",transclude:"element",terminal:!0,priority:600,link:function(t,n,r,i,o){var a,s;t.$watchCollection(r.ngAnimateSwap||r["for"],function(r){a&&e.leave(a),s&&(s.$destroy(),s=null),(r||0===r)&&(s=t.$new(),o(s,function(t){a=t,e.enter(t,null,n)}))})}}}];t.module("ngAnimate",[],function(){re=t.noop,W=t.copy,B=t.extend,ne=t.element,G=t.forEach,Z=t.isArray,ee=t.isString,K=t.isObject,te=t.isUndefined,Q=t.isDefined,X=t.isFunction,J=t.isElement}).directive("ngAnimateSwap",Oe).directive("ngAnimateChildren",ve).factory("$$rAFScheduler",ge).provider("$$animateQueue",Te).provider("$$animation",Ae).provider("$animateCss",Ce).provider("$$animateCssDriver",Se).provider("$$animateJs",_e).provider("$$animateJsDriver",Ee)}(window,window.angular)},{}],2:[function(e,t,n){e("./angular-animate"),t.exports="ngAnimate"},{"./angular-animate":1}],3:[function(e,t,n){!function(e,t){"use strict";function n(e){return null!=e&&""!==e&&"hasOwnProperty"!==e&&a.test("."+e)}function r(e,r){if(!n(r))throw o("badmember",'Dotted member path "@{0}" is invalid.',r);for(var i=r.split("."),a=0,s=i.length;a/g,">")}function m(e,t){var n=!1,r=i(e,e.push);return{start:function(e,i){e=u(e),!n&&D[e]&&(n=e),n||M[e]!==!0||(r("<"),r(e),a(i,function(n,i){var o=u(i),a="img"===e&&"src"===o||"background"===o;F[o]!==!0||T[o]===!0&&!t(n,a)||(r(" "),r(i),r('="'),r(p(n)),r('"'))}),r(">"))},end:function(e){e=u(e),n||M[e]!==!0||w[e]===!0||(r("")),e==n&&(n=!1)},chars:function(e){n||r(p(e))}}}function g(t){if(t.nodeType===e.Node.ELEMENT_NODE)for(var n=t.attributes,r=0,i=n.length;r"\u201d\u2019]/i,i=/^mailto:/i,o=t.$$minErr("linky"),a=t.isDefined,s=t.isFunction,u=t.isObject,l=t.isString;return function(t,c,f){function d(e){e&&$.push(r(e))}function h(e,t){var n,r=v(e);$.push("'),d(t),$.push("")}if(null==t||""===t)return t;if(!l(t))throw o("notstring","Expected string but received: {0}",t);for(var p,m,g,v=s(f)?f:u(f)?function(){return f}:function(){return{}},y=t,$=[];p=y.match(n);)m=p[0],p[2]||p[4]||(m=(p[3]?"http://":"mailto:")+m),g=p.index,d(y.substr(0,g)),h(m,p[0].replace(i,"")),y=y.substring(g+p[0].length);return d(y),e($.join(""))}}])}(window,window.angular)},{}],6:[function(e,t,n){e("./angular-sanitize"),t.exports="ngSanitize"},{"./angular-sanitize":5}],7:[function(e,t,n){angular.module("ui.sortable",[]).value("uiSortableConfig",{items:"> [ng-repeat],> [data-ng-repeat],> [x-ng-repeat]"}).directive("uiSortable",["uiSortableConfig","$timeout","$log",function(e,t,n){return{require:"?ngModel",scope:{ngModel:"=",uiSortable:"="},link:function(r,i,o,a){function s(e,t){var n="function"==typeof e,r="function"==typeof t;return n&&r?function(){e.apply(this,arguments),t.apply(this,arguments)}:r?t:e}function u(e){var t=e.data("ui-sortable");return t&&"object"==typeof t&&"ui-sortable"===t.widgetFullName?t:null}function l(t,n){return S[t]?("stop"===t&&(n=s(n,function(){r.$apply()}),n=s(n,v)),n=s(S[t],n)):_[t]&&(n=_[t](n)),n||"items"!==t&&"ui-model-items"!==t||(n=e.items),n}function c(e,t,n){function r(e,t){t in k||(k[t]=null)}angular.forEach(S,r);var i=null;if(t){var o;angular.forEach(t,function(t,n){if(!(e&&n in e)){if(n in C)return void("ui-floating"===n?k[n]="auto":k[n]=l(n,void 0));o||(o=angular.element.ui.sortable().options);var r=o[n];r=l(n,r),i||(i={}),i[n]=r,k[n]=r}})}return angular.forEach(e,function(e,t){return t in C?("ui-floating"!==t||e!==!1&&e!==!0||!n||(n.floating=e),void(k[t]=l(t,e))):(e=l(t,e),i||(i={}),i[t]=e,void(k[t]=e))}),i}function f(e){var t=e.sortable("option","placeholder");if(t&&t.element&&"function"==typeof t.element){var n=t.element();return n=angular.element(n)}return null}function d(e,t){var n=k["ui-model-items"].replace(/[^,]*>/g,""),r=e.find('[class="'+t.attr("class")+'"]:not('+n+")");return r}function h(e,t){var n=e.sortable("option","helper");return"clone"===n||"function"==typeof n&&t.item.sortable.isCustomHelperUsed()}function p(e,t,n){var r=null;return h(e,t)&&"parent"===e.sortable("option","appendTo")&&(r=n.last()),r}function m(e){return/left|right/.test(e.css("float"))||/inline|table-cell/.test(e.css("display"))}function g(e,t){for(var n=null,r=0;r=0&&(t-1 in e||e instanceof Array)||"function"==typeof e.item)}function r(e,t,i){var o,a;if(e)if(C(e))for(o in e)"prototype"==o||"length"==o||"name"==o||e.hasOwnProperty&&!e.hasOwnProperty(o)||t.call(i,e[o],o,e);else if(Zr(e)||n(e)){var s="object"!=typeof e;for(o=0,a=e.length;o=0&&e.splice(n,1),n}function R(e,t){function n(e,t){var n,r=t.$$hashKey;if(Zr(e))for(var o=0,a=e.length;o2?z(arguments,2):[];return!C(t)||t instanceof RegExp?t:n.length?function(){return arguments.length?t.apply(e,V(n,arguments,0)):t.apply(e,n)}:function(){return arguments.length?t.apply(e,arguments):t.call(e)}}function Y(t,n){var r=n;return"string"==typeof t&&"$"===t.charAt(0)&&"$"===t.charAt(1)?r=void 0:_(n)?r="$WINDOW":n&&e.document===n?r="$DOCUMENT":E(n)&&(r="$SCOPE"),r}function q(e,t){if(!v(e))return x(t)||(t=t?2:null),JSON.stringify(e,Y,t)}function W(e){return w(e)?JSON.parse(e):e}function B(e,t){e=e.replace(ti,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function G(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function Z(e,t,n){n=n?-1:1;var r=e.getTimezoneOffset(),i=B(t,r);return G(e,n*(i-r))}function Q(e){e=jr(e).clone();try{e.empty()}catch(t){}var n=jr("
    ").append(e).html();try{return e[0].nodeType===si?Fr(n):n.match(/^(<[^>]+>)/)[1].replace(/^<([\w\-]+)/,function(e,t){return"<"+Fr(t)})}catch(t){return Fr(n)}}function J(e){try{return decodeURIComponent(e)}catch(t){}}function X(e){var t={};return r((e||"").split("&"),function(e){var n,r,i;e&&(r=e=e.replace(/\+/g,"%20"),n=e.indexOf("="),n!==-1&&(r=e.substring(0,n),i=e.substring(n+1)),r=J(r),y(r)&&(i=!y(i)||J(i),Or.call(t,r)?Zr(t[r])?t[r].push(i):t[r]=[t[r],i]:t[r]=i))}),t}function K(e){var t=[];return r(e,function(e,n){Zr(e)?r(e,function(e){t.push(te(n,!0)+(e===!0?"":"="+te(e,!0)))}):t.push(te(n,!0)+(e===!0?"":"="+te(e,!0)))}),t.length?t.join("&"):""}function ee(e){return te(e,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function te(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 ne(e,t){var n,r,i=ni.length;for(r=0;r/,">"))}n=n||[],n.unshift(["$provide",function(e){e.value("$rootElement",t)}]),i.debugInfoEnabled&&n.push(["$compileProvider",function(e){e.debugInfoEnabled(!0)}]),n.unshift("ng");var o=rt(n,i.strictDi);return o.invoke(["$rootScope","$rootElement","$compile","$injector",function(e,t,n,r){e.$apply(function(){t.data("$injector",r),n(t)(e)})}]),o},s=/^NG_ENABLE_DEBUG_INFO!/,u=/^NG_DEFER_BOOTSTRAP!/;return e&&s.test(e.name)&&(i.debugInfoEnabled=!0,e.name=e.name.replace(s,"")),e&&!u.test(e.name)?a():(e.name=e.name.replace(u,""),Br.resumeBootstrap=function(e){return r(e,function(e){n.push(e)}),a()},void(C(Br.resumeDeferredBootstrap)&&Br.resumeDeferredBootstrap()))}function oe(){e.name="NG_ENABLE_DEBUG_INFO!"+e.name,e.location.reload()}function ae(e){var t=Br.element(e).injector();if(!t)throw Wr("test","no injector found for element argument to getTestability");return t.get("$$testability")}function se(e,t){return t=t||"_",e.replace(ri,function(e,n){return(n?t:"")+e.toLowerCase()})}function ue(){var t;if(!ii){var n=ei();Rr=v(n)?e.jQuery:n?e[n]:void 0,Rr&&Rr.fn.on?(jr=Rr,l(Rr.fn,{scope:_i.scope,isolateScope:_i.isolateScope,controller:_i.controller,injector:_i.injector,inheritedData:_i.inheritedData}),t=Rr.cleanData,Rr.cleanData=function(e){for(var n,r,i=0;null!=(r=e[i]);i++)n=Rr._data(r,"events"),n&&n.$destroy&&Rr(r).triggerHandler("$destroy");t(e)}):jr=Me,Br.element=jr,ii=!0}}function le(e,t,n){if(!e)throw Wr("areq","Argument '{0}' is {1}",t||"?",n||"required");return e}function ce(e,t,n){return n&&Zr(e)&&(e=e[e.length-1]),le(C(e),t,"not a function, got "+(e&&"object"==typeof e?e.constructor.name||"Object":typeof e)),e}function fe(e,t){if("hasOwnProperty"===e)throw Wr("badname","hasOwnProperty is not a valid {0} name",t)}function de(e,t,n){if(!t)return e;for(var r,i=t.split("."),o=e,a=i.length,s=0;s=0)return"...";t.push(n)}return n})}function ye(e){return"function"==typeof e?e.toString().replace(/ \{[\s\S]*$/,""):v(e)?"undefined":"string"!=typeof e?ve(e):e}function $e(n){l(n,{bootstrap:ie,copy:R,extend:l,merge:c,equals:U,element:jr,forEach:r,injector:rt,noop:h,bind:H,toJson:q,fromJson:W,identity:p,isUndefined:v,isDefined:y,isString:w,isFunction:C,isObject:$,isNumber:x,isElement:N,isArray:Zr,version:fi,isDate:k,lowercase:Fr,uppercase:Ir,callbacks:{$$counter:0},getTestability:ae,$$minErr:t,$$csp:Kr,reloadWithDebugInfo:oe}),(Ur=me(e))("ng",["ngLocale"],["$provide",function(e){e.provider({$$sanitizeUri:Sn}),e.provider("$compile",pt).directive({a:No,input:ea,textarea:ea,form:Uo,script:Za,select:Xa,style:es,option:Ka,ngBind:ra,ngBindHtml:oa,ngBindTemplate:ia,ngClass:sa,ngClassEven:la,ngClassOdd:ua,ngCloak:ca,ngController:fa,ngForm:Vo,ngHide:za,ngIf:pa,ngInclude:ma,ngInit:va,ngNonBindable:Fa,ngPluralize:La,ngRepeat:ja,ngShow:Va,ngStyle:Ha,ngSwitch:Ya,ngSwitchWhen:qa,ngSwitchDefault:Wa,ngOptions:Pa,ngTransclude:Ga,ngModel:Ta,ngList:ya,ngChange:aa,pattern:ns,ngPattern:ns,required:ts,ngRequired:ts,minlength:is,ngMinlength:is,maxlength:rs,ngMaxlength:rs,ngValue:na,ngModelOptions:Oa}).directive({ngInclude:ga}).directive(Po).directive(da),e.provider({$anchorScroll:it,$animate:zi,$animateCss:qi,$$animateJs:Ui,$$animateQueue:Vi,$$AnimateRunner:Yi,$$animateAsyncRun:Hi,$browser:ct,$cacheFactory:ft,$controller:bt,$document:wt,$exceptionHandler:xt,$filter:Rn,$$forceReflow:Ji,$interpolate:Pt,$interval:Lt,$http:Ot,$httpParamSerializer:Ct,$httpParamSerializerJQLike:St,$httpBackend:It,$xhrFactory:Ft,$jsonpCallbacks:ao,$location:Xt,$log:Kt,$parse:$n,$rootScope:Cn,$q:bn,$$q:wn,$sce:Mn,$sceDelegate:Dn,$sniffer:Tn,$templateCache:dt,$templateRequest:An,$$testability:On,$timeout:Fn,$window:Pn,$$rAF:kn,$$jqLite:Qe,$$HashMap:Ti,$$cookieReader:jn})}])}function be(){return++hi}function we(e){return e.replace(gi,function(e,t,n,r){return r?n.toUpperCase():n}).replace(vi,"Moz$1")}function xe(e){return!wi.test(e)}function ke(e){var t=e.nodeType;return t===oi||!t||t===li}function Ce(e){for(var t in di[e.ng339])return!0;return!1}function Se(e){for(var t=0,n=e.length;t")+o[2],a=o[0];a--;)n=n.lastChild;u=V(u,n.childNodes),n=s.firstChild,n.textContent=""}return s.textContent="",s.innerHTML="",r(u,function(e){s.appendChild(e)}),s}function Ee(t,n){n=n||e.document;var r;return(r=bi.exec(t))?[n.createElement(r[1])]:(r=_e(t,n))?r.childNodes:[]}function De(e,t){var n=e.parentNode;n&&n.replaceChild(t,e),t.appendChild(e)}function Me(e){if(e instanceof Me)return e;var t;if(w(e)&&(e=Jr(e),t=!0),!(this instanceof Me)){if(t&&"<"!=e.charAt(0))throw $i("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new Me(e)}t?Re(this,Ee(e)):Re(this,e)}function Te(e){return e.cloneNode(!0)}function Ae(e,t){if(t||Fe(e),e.querySelectorAll)for(var n=e.querySelectorAll("*"),r=0,i=n.length;r0||(mi(e,t,s),delete a[t])};r(t.split(" "),function(e){u(e),yi[e]&&u(yi[e])})}else for(t in a)"$destroy"!==t&&mi(e,t,s),delete a[t]}function Fe(e,t){var n=e.ng339,r=n&&di[n];if(r){if(t)return void delete r.data[t];r.handle&&(r.events.$destroy&&r.handle({},"$destroy"),Oe(e)),delete di[n],e.ng339=void 0}}function Ie(e,t){var n=e.ng339,r=n&&di[n];return t&&!r&&(e.ng339=n=be(),r=di[n]={events:{},data:{},handle:void 0}),r}function Ne(e,t,n){if(ke(e)){var r=y(n),i=!r&&t&&!$(t),o=!t,a=Ie(e,!i),s=a&&a.data;if(r)s[t]=n;else{if(o)return s;if(i)return s&&s[t];l(s,t)}}}function Pe(e,t){return!!e.getAttribute&&(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+t+" ")>-1}function Le(e,t){t&&e.setAttribute&&r(t.split(" "),function(t){e.setAttribute("class",Jr((" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").replace(" "+Jr(t)+" "," ")))})}function je(e,t){if(t&&e.setAttribute){var n=(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ");r(t.split(" "),function(e){e=Jr(e),n.indexOf(" "+e+" ")===-1&&(n+=e+" ")}),e.setAttribute("class",Jr(n))}}function Re(e,t){if(t)if(t.nodeType)e[e.length++]=t;else{var n=t.length;if("number"==typeof n&&t.window!==t){if(n)for(var r=0;r1&&(i=ge(i));for(var u=0;uc&&this.remove(h.key),t}},get:function(e){if(c";var r=we.firstChild.attributes,i=r[0];r.removeNamedItem(i.name),i.value=n,e.attributes.setNamedItem(i)}function P(e,t){try{e.addClass(t)}catch(n){}}function R(t,n,r,i,o){t instanceof jr||(t=jr(t));for(var a=/\S+/,s=0,u=t.length;s").append(t).html())):n?_i.clone.call(t):t,a)for(var l in a)u.data("$"+l+"Controller",a[l].instance);return R.$$addScopeInfo(u,e),n&&n(u,e),c&&c(e,u,u,i),u}}function V(e){var t=e&&e[0];return t&&"foreignobject"!==L(t)&&Yr.call(t).match(/SVG/)?"svg":"html"}function Y(e,t,n,r,i,o){function a(e,n,r,i){var o,a,s,u,l,c,f,d,m;if(h){var g=n.length;for(m=new Array(g),l=0;l0)}else r.push(e);return jr(r)}function Z(e,t,n){return function(r,i,o,a,s){return i=G(i[0],t,n),e(r,i,o,a,s)}}function J(e,t,n,r,i,o){var a;return e?R(t,n,r,i,o):function(){return a||(a=R(t,n,r,i,o),t=n=o=null),a.apply(this,arguments)}}function X(e,t,n,o,a,s,u,c,f){function d(e,t,n,r){e&&(n&&(e=Z(e,n,r)),e.require=p.require,e.directiveName=m,(S===p||p.$$isolateScope)&&(e=ge(e,{isolateScope:!0})),u.push(e)),t&&(n&&(t=Z(t,n,r)),t.require=p.require,t.directiveName=m,(S===p||p.$$isolateScope)&&(t=ge(t,{isolateScope:!0})),c.push(t))}function h(e,o,a,s,f){function d(e,t,n,r){var i;if(E(e)||(r=n,n=t,t=e,e=void 0),A&&(i=b),n||(n=A?D.parent():D),!r)return f(e,t,i,n,j);var o=f.$$slots[r];if(o)return o(e,t,i,n,j);if(v(o))throw Wi("noslot",'No parent directive that requires a transclusion with slot name "{0}". Element: {1}',r,Q(D))}var h,p,m,g,y,b,w,D,M,T;t===a?(M=n,D=n.$$element):(D=jr(a),M=new I(D,n)),y=o,S?g=o.$new(!0):x&&(y=o.$parent),f&&(w=d,w.$$boundTransclude=f,w.isSlotFilled=function(e){return!!f.$$slots[e]}),k&&(b=ee(D,M,w,k,g,o,S)),S&&(R.$$addScopeInfo(D,g,!0,!(_&&(_===S||_===S.$$originalDirective))),R.$$addScopeClass(D,!0),g.$$isolateBindings=S.$$isolateBindings,T=ye(o,M,g,g.$$isolateBindings,S),T.removeWatches&&g.$on("$destroy",T.removeWatches));for(var O in b){var F=k[O],N=b[O],P=F.$$bindings.bindToController;N.identifier&&P?N.bindingInfo=ye(y,M,N.instance,P,F):N.bindingInfo={};var L=N();L!==N.instance&&(N.instance=L,D.data("$"+F.name+"Controller",L),N.bindingInfo.removeWatches&&N.bindingInfo.removeWatches(),N.bindingInfo=ye(y,M,N.instance,P,F))}for(r(k,function(e,t){var n=e.require;e.bindToController&&!Zr(n)&&$(n)&&l(b[t].instance,K(t,n,D,b))}),r(b,function(e){var t=e.instance;if(C(t.$onChanges))try{t.$onChanges(e.bindingInfo.initialChanges)}catch(n){i(n)}if(C(t.$onInit))try{t.$onInit()}catch(n){i(n)}C(t.$doCheck)&&(y.$watch(function(){t.$doCheck()}),t.$doCheck()),C(t.$onDestroy)&&y.$on("$destroy",function(){t.$onDestroy()})}),h=0,p=u.length;h=0;h--)m=c[h],ve(m,m.isolateScope?g:o,D,M,m.require&&K(m.directiveName,m.require,D,b),w);r(b,function(e){var t=e.instance;C(t.$postLink)&&t.$postLink()})}f=f||{};for(var p,m,g,y,b,w=-Number.MAX_VALUE,x=f.newScopeDirective,k=f.controllerDirectives,S=f.newIsolateScopeDirective,_=f.templateDirective,D=f.nonTlbTranscludeDirective,M=!1,T=!1,A=f.hasElementTranscludeDirective,O=n.$$element=jr(t),F=s,N=o,P=!1,j=!1,U=0,V=e.length;Up.priority)break;if((b=p.scope)&&(p.templateUrl||($(b)?(ue("new/isolated scope",S||x,p,O),S=p):ue("new/isolated scope",S,p,O)),x=x||p),m=p.name,!P&&(p.replace&&(p.templateUrl||p.template)||p.transclude&&!p.$$tlb)){for(var B,X=U+1;B=e[X++];)if(B.transclude&&!B.$$tlb||B.replace&&(B.templateUrl||B.template)){j=!0;break}P=!0}if(!p.templateUrl&&p.controller&&(b=p.controller,k=k||pe(),ue("'"+m+"' controller",k[m],p,O),k[m]=p),b=p.transclude)if(M=!0,p.$$tlb||(ue("transclusion",D,p,O),D=p),"element"==b)A=!0,w=p.priority,g=O,O=n.$$element=jr(R.$$createComment(m,n[m])),t=O[0],me(a,z(g),t),g[0].$$parentNode=g[0].parentNode,N=J(j,g,o,w,F&&F.name,{nonTlbTranscludeDirective:D});else{var ne=pe();if(g=jr(Te(t)).contents(),$(b)){g=[];var re=pe(),ae=pe();r(b,function(e,t){var n="?"===e.charAt(0);e=n?e.substring(1):e,re[e]=t,ne[t]=null,ae[t]=n}),r(O.contents(),function(e){var t=re[gt(L(e))];t?(ae[t]=!0,ne[t]=ne[t]||[],ne[t].push(e)):g.push(e)}),r(ae,function(e,t){if(!e)throw Wi("reqslot","Required transclusion slot `{0}` was not filled.",t)});for(var se in ne)ne[se]&&(ne[se]=J(j,ne[se],o))}O.empty(),N=J(j,g,o,void 0,void 0,{needsNewScope:p.$$isolateScope||p.$$newScope}),N.$$slots=ne}if(p.template)if(T=!0,ue("template",_,p,O),_=p,b=C(p.template)?p.template(O,n):p.template,b=_e(b),p.replace){if(F=p,g=xe(b)?[]:yt(fe(p.templateNamespace,Jr(b))),t=g[0],1!=g.length||t.nodeType!==oi)throw Wi("tplrt","Template for directive '{0}' must have exactly one root element. {1}",m,"");me(a,O,t);var le={$attr:{}},ce=W(t,[],le),de=e.splice(U+1,e.length-(U+1));(S||x)&&te(ce,S,x),e=e.concat(ce).concat(de),ie(n,le),V=e.length}else O.html(b);if(p.templateUrl)T=!0,ue("template",_,p,O),_=p,p.replace&&(F=p),h=oe(e.splice(U,e.length-U),O,n,a,M&&N,u,c,{controllerDirectives:k,newScopeDirective:x!==p&&x,newIsolateScopeDirective:S,templateDirective:_,nonTlbTranscludeDirective:D}),V=e.length;else if(p.compile)try{y=p.compile(O,n,N);var he=p.$$originalDirective||p;C(y)?d(null,H(he,y),Y,q):y&&d(H(he,y.pre),H(he,y.post),Y,q)}catch($e){i($e,Q(O))}p.terminal&&(h.terminal=!0,w=Math.max(w,p.priority))}return h.scope=x&&x.scope===!0,h.transcludeOnThisElement=M,h.templateOnThisElement=T,h.transclude=N,f.hasElementTranscludeDirective=A,h}function K(e,t,n,i){var o;if(w(t)){var a=t.match(k),s=t.substring(a[0].length),u=a[1]||a[3],l="?"===a[2];if("^^"===u?n=n.parent():(o=i&&i[s],o=o&&o.instance),!o){var c="$"+s+"Controller";o=u?n.inheritedData(c):n.data(c)}if(!o&&!l)throw Wi("ctreq","Controller '{0}', required by directive '{1}', can't be found!",s,e)}else if(Zr(t)){o=[];for(var f=0,d=t.length;fp.priority)&&p.restrict.indexOf(r)!=-1){if(u&&(p=d(p,{$$start:u,$$end:l})),!p.$$bindings){var b=p.$$bindings=a(p,p.name);$(b.isolateScope)&&(p.$$isolateBindings=b.isolateScope)}e.push(p),h=p}}catch(w){i(w)}return h}function re(e){if(c.hasOwnProperty(e))for(var n,r=t.get(e+f),i=0,o=r.length;i"+n+"",r.childNodes[0].childNodes;default:return n}}function de(e,t){if("srcdoc"==t)return _.HTML;var n=L(e);return"xlinkHref"==t||"form"==n&&"action"==t||"img"!=n&&("src"==t||"ngSrc"==t)?_.RESOURCE_URL:void 0}function he(e,t,r,i,o){var a=de(e,i);o=x[i]||o;var s=n(r,!0,a,o);if(s){if("multiple"===i&&"select"===L(e))throw Wi("selmulti","Binding to the 'multiple' attribute is not supported. Element: {0}",Q(e));t.push({priority:100,compile:function(){return{pre:function(e,t,u){var l=u.$$observers||(u.$$observers=pe());if(S.test(i))throw Wi("nodomevents","Interpolations for HTML DOM event attributes are disallowed. Please use the ng- versions (such as ng-click instead of onclick) instead.");var c=u[i];c!==r&&(s=c&&n(c,!0,a,o),r=c),s&&(u[i]=s(e),(l[i]||(l[i]=[])).$$inter=!0,(u.$$observers&&u.$$observers[i].$$scope||e).$watch(s,function(e,t){"class"===i&&e!=t?u.$updateClass(e,t):u.$set(i,e)}))}}}})}}function me(t,n,r){var i,o,a=n[0],s=n.length,u=a.parentNode;if(t)for(i=0,o=t.length;i0&&T.addClass(this.$$element,e)},$removeClass:function(e){e&&e.length>0&&T.removeClass(this.$$element,e)},$updateClass:function(e,t){var n=vt(e,t);n&&n.length&&T.addClass(this.$$element,n);var r=vt(t,e);r&&r.length&&T.removeClass(this.$$element,r)},$set:function(e,t,n,o){var a,s=this.$$element[0],u=qe(s,e),l=We(e),c=e;if(u?(this.$$element.prop(e,t),o=u):l&&(this[l]=t,c=l),this[e]=t,o?this.$attr[e]=o:(o=this.$attr[e],o||(this.$attr[e]=o=se(e,"-"))),a=L(this.$$element),"a"===a&&("href"===e||"xlinkHref"===e)||"img"===a&&"src"===e)this[e]=t=O(t,"src"===e);else if("img"===a&&"srcset"===e&&y(t)){for(var f="",d=Jr(t),h=/(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/,p=/\s/.test(d)?h:/(,)/,m=d.split(p),g=Math.floor(m.length/2),$=0;$0?" ":"")+a}return n}function yt(e){e=jr(e);var t=e.length;if(t<=1)return e;for(;t--;){var n=e[t];n.nodeType===ui&&zr.call(e,t,1)}return e}function $t(e,t){if(t&&w(t))return t;if(w(e)){var n=Qi.exec(e);if(n)return n[3]}}function bt(){var e={},n=!1;this.has=function(t){return e.hasOwnProperty(t)},this.register=function(t,n){fe(t,"controller"),$(t)?l(e,t):e[t]=n},this.allowGlobals=function(){n=!0},this.$get=["$injector","$window",function(r,i){function o(e,n,r,i){if(!e||!$(e.$scope))throw t("$controller")("noscp","Cannot export controller '{0}' as '{1}'! No $scope object provided via `locals`.",i,n);e.$scope[n]=r}return function(t,a,s,u){var c,f,d,h;if(s=s===!0,u&&w(u)&&(h=u),w(t)){if(f=t.match(Qi),!f)throw Zi("ctrlfmt","Badly formed controller string '{0}'. Must match `__name__ as __id__` or `__name__`.",t);d=f[1],h=h||f[3],t=e.hasOwnProperty(d)?e[d]:de(a.$scope,d,!0)||(n?de(i,d,!0):void 0),ce(t,d,!0)}if(s){var p=(Zr(t)?t[t.length-1]:t).prototype;c=Object.create(p||null),h&&o(a,h,c,d||t.name);var m;return m=l(function(){var e=r.invoke(t,c,a,d);return e!==c&&($(e)||C(e))&&(c=e,h&&o(a,h,c,d||t.name)),c},{instance:c,identifier:h})}return c=r.instantiate(t,a,d),h&&o(a,h,c,d||t.name),c}}]}function wt(){this.$get=["$window",function(e){return jr(e.document)}]}function xt(){this.$get=["$log",function(e){return function(t,n){e.error.apply(e,arguments)}}]}function kt(e){return $(e)?k(e)?e.toISOString():q(e):e}function Ct(){this.$get=function(){return function(e){if(!e)return"";var t=[];return i(e,function(e,n){null===e||v(e)||(Zr(e)?r(e,function(e){t.push(te(n)+"="+te(kt(e)))}):t.push(te(n)+"="+te(kt(e))))}),t.join("&")}}}function St(){this.$get=function(){return function(e){function t(e,o,a){null===e||v(e)||(Zr(e)?r(e,function(e,n){t(e,o+"["+($(e)?n:"")+"]")}):$(e)&&!k(e)?i(e,function(e,n){t(e,o+(a?"":"[")+n+(a?"":"]"))}):n.push(te(o)+"="+te(kt(e))))}if(!e)return"";var n=[];return t(e,"",!0),n.join("&")}}}function _t(e,t){if(w(e)){var n=e.replace(no,"").trim();if(n){var r=t("Content-Type");(r&&0===r.indexOf(Xi)||Et(n))&&(e=W(n))}}return e}function Et(e){var t=e.match(eo);return t&&to[t[0]].test(e)}function Dt(e){function t(e,t){e&&(i[e]=i[e]?i[e]+", "+t:t)}var n,i=pe();return w(e)?r(e.split("\n"),function(e){n=e.indexOf(":"),t(Fr(Jr(e.substr(0,n))),Jr(e.substr(n+1)))}):$(e)&&r(e,function(e,n){t(Fr(n),Jr(e))}),i}function Mt(e){var t;return function(n){if(t||(t=Dt(e)),n){var r=t[Fr(n)];return void 0===r&&(r=null),r}return t}}function Tt(e,t,n,i){return C(i)?i(e,t,n):(r(i,function(r){e=r(e,t,n)}),e)}function At(e){return 200<=e&&e<300}function Ot(){var e=this.defaults={transformResponse:[_t],transformRequest:[function(e){return!$(e)||D(e)||T(e)||M(e)?e:q(e)}],headers:{common:{Accept:"application/json, text/plain, */*"},post:ge(Ki),put:ge(Ki),patch:ge(Ki)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",paramSerializer:"$httpParamSerializer"},n=!1;this.useApplyAsync=function(e){return y(e)?(n=!!e,this):n};var i=!0;this.useLegacyPromiseExtensions=function(e){return y(e)?(i=!!e,this):i};var o=this.interceptors=[];this.$get=["$httpBackend","$$cookieReader","$cacheFactory","$rootScope","$q","$injector",function(a,s,u,c,f,d){function h(n){function o(e,t){for(var n=0,r=t.length;n=-1?n:0,(At(n)?w.resolve:w.reject)({data:e,status:n,headers:Mt(r),config:t,statusText:i})}function d(e){l(e.data,e.status,ge(e.headers()),e.statusText)}function p(){var e=h.pendingRequests.indexOf(t);e!==-1&&h.pendingRequests.splice(e,1)}var m,g,w=f.defer(),k=w.promise,C=t.headers,S=b(t.url,t.paramSerializer(t.params));if(h.pendingRequests.push(t),k.then(p,p),!t.cache&&!e.cache||t.cache===!1||"GET"!==t.method&&"JSONP"!==t.method||(m=$(t.cache)?t.cache:$(e.cache)?e.cache:x),m&&(g=m.get(S),y(g)?O(g)?g.then(d,d):Zr(g)?l(g[1],g[0],ge(g[2]),g[3]):l(g,200,{},"OK"):m.put(S,k)),v(g)){var _=Nn(t.url)?s()[t.xsrfCookieName||e.xsrfCookieName]:void 0;_&&(C[t.xsrfHeaderName||e.xsrfHeaderName]=_),a(t.method,S,i,u,C,t.timeout,t.withCredentials,t.responseType,o(t.eventHandlers),o(t.uploadEventHandlers))}return k}function b(e,t){return t.length>0&&(e+=(e.indexOf("?")==-1?"?":"&")+t),e}var x=u("$http");e.paramSerializer=w(e.paramSerializer)?d.get(e.paramSerializer):e.paramSerializer;var k=[];return r(o,function(e){k.unshift(w(e)?d.get(e):d.invoke(e))}),h.pendingRequests=[],p("get","delete","head","jsonp"),m("post","put","patch"),h.defaults=e,h}]}function Ft(){this.$get=function(){return function(){return new e.XMLHttpRequest}}}function It(){this.$get=["$browser","$jsonpCallbacks","$document","$xhrFactory",function(e,t,n,r){return Nt(e,r,e.defer,t,n[0])}]}function Nt(e,t,n,i,o){function a(e,t,n){e=e.replace("JSON_CALLBACK",t);var r=o.createElement("script"),a=null;return r.type="text/javascript",r.src=e,r.async=!0,a=function(e){mi(r,"load",a),mi(r,"error",a),o.body.removeChild(r),r=null;var s=-1,u="unknown";e&&("load"!==e.type||i.wasCalled(t)||(e={type:"error"}),u=e.type,s="error"===e.type?404:200),n&&n(s,u)},pi(r,"load",a),pi(r,"error",a),o.body.appendChild(r),a}return function(o,s,u,l,c,f,d,p,m,g){function $(){x&&x(),k&&k.abort()}function b(t,r,i,o,a){y(_)&&n.cancel(_),x=k=null,t(r,i,o,a),e.$$completeOutstandingRequest(h)}if(e.$$incOutstandingRequestCount(),s=s||e.url(),"jsonp"===Fr(o))var w=i.createCallback(s),x=a(s,w,function(e,t){var n=200===e&&i.getResponse(w);b(l,e,n,"",t),i.removeCallback(w)});else{var k=t(o,s);k.open(o,s,!0),r(c,function(e,t){y(e)&&k.setRequestHeader(t,e)}),k.onload=function(){var e=k.statusText||"",t="response"in k?k.response:k.responseText,n=1223===k.status?204:k.status; +0===n&&(n=t?200:"file"==In(s).protocol?404:0),b(l,n,t,k.getAllResponseHeaders(),e)};var C=function(){b(l,-1,null,null,"")};if(k.onerror=C,k.onabort=C,r(m,function(e,t){k.addEventListener(t,e)}),r(g,function(e,t){k.upload.addEventListener(t,e)}),d&&(k.withCredentials=!0),p)try{k.responseType=p}catch(S){if("json"!==p)throw S}k.send(v(u)?null:u)}if(f>0)var _=n($,f);else O(f)&&f.then($)}}function Pt(){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=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 c(o,c,h,p){function g(e){try{return e=O(e),p&&!y(e)?e:s(e)}catch(t){r(oo.interr(o,t))}}if(!o.length||o.indexOf(e)===-1){var $;if(!c){var b=a(o);$=m(b),$.exp=o,$.expressions=[],$.$$watchDelegate=u}return $}p=!!p;for(var w,x,k,S=0,_=[],E=[],D=o.length,M=[],T=[];S1&&oo.throwNoconcat(o),!c||_.length){var A=function(e){for(var t=0,n=_.length;t4,d=f?z(arguments,4):[],h=t.setInterval,p=t.clearInterval,m=0,g=y(l)&&!l,v=(g?r:n).defer(),$=v.promise;return u=y(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)},o}]}function jt(e){for(var t=e.split("/"),n=t.length;n--;)t[n]=ee(t[n]);return t.join("/")}function Rt(e,t){var n=In(e);t.$$protocol=n.protocol,t.$$host=n.hostname,t.$$port=f(n.port)||uo[n.protocol]||null}function Ut(e,t){var n="/"!==e.charAt(0);n&&(e="/"+e);var r=In(e);t.$$path=decodeURIComponent(n&&"/"===r.pathname.charAt(0)?r.pathname.substring(1):r.pathname),t.$$search=X(r.search),t.$$hash=decodeURIComponent(r.hash),t.$$path&&"/"!=t.$$path.charAt(0)&&(t.$$path="/"+t.$$path)}function Vt(e,t){return 0===e.lastIndexOf(t,0)}function zt(e,t){if(Vt(t,e))return t.substr(e.length)}function Ht(e){var t=e.indexOf("#");return t==-1?e:e.substr(0,t)}function Yt(e){return e.replace(/(#.+)|#$/,"$1")}function qt(e){return e.substr(0,Ht(e).lastIndexOf("/")+1)}function Wt(e){return e.substring(0,e.indexOf("/",e.indexOf("//")+2))}function Bt(e,t,n){this.$$html5=!0,n=n||"",Rt(e,this),this.$$parse=function(e){var n=zt(t,e);if(!w(n))throw lo("ipthprfx",'Invalid url "{0}", missing path prefix "{1}".',e,t);Ut(n,this),this.$$path||(this.$$path="/"),this.$$compose()},this.$$compose=function(){var e=K(this.$$search),n=this.$$hash?"#"+ee(this.$$hash):"";this.$$url=jt(this.$$path)+(e?"?"+e:"")+n,this.$$absUrl=t+this.$$url.substr(1)},this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;var o,a,s;return y(o=zt(e,r))?(a=o,s=y(o=zt(n,o))?t+(zt("/",o)||o):e+a):y(o=zt(t,r))?s=t+o:t==r+"/"&&(s=t),s&&this.$$parse(s),!!s}}function Gt(e,t,n){Rt(e,this),this.$$parse=function(r){function i(e,t,n){var r,i=/^\/[A-Z]:(\/.*)/;return Vt(t,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);v(a)||"#"!==a.charAt(0)?this.$$html5?o=a:(o="",v(a)&&(e=r,this.replace())):(o=zt(n,a),v(o)&&(o=a)),Ut(o,this),this.$$path=i(this.$$path,o,e),this.$$compose()},this.$$compose=function(){var t=K(this.$$search),r=this.$$hash?"#"+ee(this.$$hash):"";this.$$url=jt(this.$$path)+(t?"?"+t:"")+r,this.$$absUrl=e+(this.$$url?n+this.$$url:"")},this.$$parseLinkUrl=function(t,n){return Ht(e)==Ht(t)&&(this.$$parse(t),!0)}}function Zt(e,t,n){this.$$html5=!0,Gt.apply(this,arguments),this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;var o,a;return e==Ht(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=K(this.$$search),r=this.$$hash?"#"+ee(this.$$hash):"";this.$$url=jt(this.$$path)+(t?"?"+t:"")+r,this.$$absUrl=e+n+this.$$url}}function Qt(e){return function(){return this[e]}}function Jt(e,t){return function(n){return v(n)?this[e]:(this[e]=t(n),this.$$compose(),this)}}function Xt(){var e="",t={enabled:!1,requireBase:!0,rewriteLinks:!0};this.hashPrefix=function(t){return y(t)?(e=t,this):e},this.html5Mode=function(e){return A(e)?(t.enabled=e,this):$(e)?(A(e.enabled)&&(t.enabled=e.enabled),A(e.requireBase)&&(t.requireBase=e.requireBase),A(e.rewriteLinks)&&(t.rewriteLinks=e.rewriteLinks),this):t},this.$get=["$rootScope","$browser","$sniffer","$rootElement","$window",function(n,r,i,o,a){function s(e,t,n){var i=l.url(),o=l.$$state;try{r.url(e,t,n),l.$$state=r.state()}catch(a){throw l.url(i),l.$$state=o,a}}function u(e,t){n.$broadcast("$locationChangeSuccess",l.absUrl(),e,l.$$state,t)}var l,c,f,d=r.baseHref(),h=r.url();if(t.enabled){if(!d&&t.requireBase)throw lo("nobase","$location in HTML5 mode requires a tag to be present!");f=Wt(h)+(d||"/"),c=i.history?Bt:Zt}else f=Ht(h),c=Gt;var p=qt(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=jr(e.target);"a"!==L(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");$(s)&&"[object SVGAnimatedString]"===s.toString()&&(s=In(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))}}),Yt(l.absUrl())!=Yt(h)&&r.url(l.absUrl(),!0);var g=!0;return r.onUrlChange(function(e,t){return v(zt(p,e))?void(a.location.href=e):(n.$evalAsync(function(){var r,i=l.absUrl(),o=l.$$state;e=Yt(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=Yt(r.url()),t=Yt(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 Kt(){var e=!0,t=this;this.debugEnabled=function(t){return y(t)?(e=t,this):e},this.$get=["$window",function(n){function i(e){return e instanceof Error&&(e.stack?e=e.message&&e.stack.indexOf(e.message)===-1?"Error: "+e.message+"\n"+e.stack:e.stack:e.sourceURL&&(e=e.message+"\n"+e.sourceURL+":"+e.line)),e}function o(e){var t=n.console||{},o=t[e]||t.log||h,a=!1;try{a=!!o.apply}catch(s){}return a?function(){var e=[];return r(arguments,function(t){e.push(i(t))}),o.apply(t,e)}:function(e,t){o(e,null==t?"":t)}}return{log:o("log"),info:o("info"),warn:o("warn"),error:o("error"),debug:function(){var n=o("debug");return function(){e&&n.apply(t,arguments)}}()}}]}function en(e,t){if("__defineGetter__"===e||"__defineSetter__"===e||"__lookupGetter__"===e||"__lookupSetter__"===e||"__proto__"===e)throw fo("isecfld","Attempting to access a disallowed field in Angular expressions! Expression: {0}",t);return e}function tn(e){return e+""}function nn(e,t){if(e){if(e.constructor===e)throw fo("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",t);if(e.window===e)throw fo("isecwindow","Referencing the Window in Angular expressions is disallowed! Expression: {0}",t);if(e.children&&(e.nodeName||e.prop&&e.attr&&e.find))throw fo("isecdom","Referencing DOM nodes in Angular expressions is disallowed! Expression: {0}",t);if(e===Object)throw fo("isecobj","Referencing Object in Angular expressions is disallowed! Expression: {0}",t)}return e}function rn(e,t){if(e){if(e.constructor===e)throw fo("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",t);if(e===ho||e===po||e===mo)throw fo("isecff","Referencing call, apply or bind in Angular expressions is disallowed! Expression: {0}",t)}}function on(e,t){if(e&&(e===(0).constructor||e===(!1).constructor||e==="".constructor||e==={}.constructor||e===[].constructor||e===Function.constructor))throw fo("isecaf","Assigning to a constructor is disallowed! Expression: {0}",t)}function an(e,t){return"undefined"!=typeof e?e:t}function sn(e,t){return"undefined"==typeof e?t:"undefined"==typeof t?e:e+t}function un(e,t){var n=e(t);return!n.$stateful}function ln(e,t){var n,i;switch(e.type){case $o.Program:n=!0,r(e.body,function(e){ln(e.expression,t),n=n&&e.expression.constant}),e.constant=n;break;case $o.Literal:e.constant=!0,e.toWatch=[];break;case $o.UnaryExpression:ln(e.argument,t),e.constant=e.argument.constant,e.toWatch=e.argument.toWatch;break;case $o.BinaryExpression:ln(e.left,t),ln(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.left.toWatch.concat(e.right.toWatch);break;case $o.LogicalExpression:ln(e.left,t),ln(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.constant?[]:[e];break;case $o.ConditionalExpression:ln(e.test,t),ln(e.alternate,t),ln(e.consequent,t),e.constant=e.test.constant&&e.alternate.constant&&e.consequent.constant,e.toWatch=e.constant?[]:[e];break;case $o.Identifier:e.constant=!1,e.toWatch=[e];break;case $o.MemberExpression:ln(e.object,t),e.computed&&ln(e.property,t),e.constant=e.object.constant&&(!e.computed||e.property.constant),e.toWatch=[e];break;case $o.CallExpression:n=!!e.filter&&un(t,e.callee.name),i=[],r(e.arguments,function(e){ln(e,t),n=n&&e.constant,e.constant||i.push.apply(i,e.toWatch)}),e.constant=n,e.toWatch=e.filter&&un(t,e.callee.name)?i:[e];break;case $o.AssignmentExpression:ln(e.left,t),ln(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=[e];break;case $o.ArrayExpression:n=!0,i=[],r(e.elements,function(e){ln(e,t),n=n&&e.constant,e.constant||i.push.apply(i,e.toWatch)}),e.constant=n,e.toWatch=i;break;case $o.ObjectExpression:n=!0,i=[],r(e.properties,function(e){ln(e.value,t),n=n&&e.value.constant&&!e.computed,e.value.constant||i.push.apply(i,e.value.toWatch)}),e.constant=n,e.toWatch=i;break;case $o.ThisExpression:e.constant=!1,e.toWatch=[];break;case $o.LocalsExpression:e.constant=!1,e.toWatch=[]}}function cn(e){if(1==e.length){var t=e[0].expression,n=t.toWatch;return 1!==n.length?n:n[0]!==t?n:void 0}}function fn(e){return e.type===$o.Identifier||e.type===$o.MemberExpression}function dn(e){if(1===e.body.length&&fn(e.body[0].expression))return{type:$o.AssignmentExpression,left:e.body[0].expression,right:{type:$o.NGValueParameter},operator:"="}}function hn(e){return 0===e.body.length||1===e.body.length&&(e.body[0].expression.type===$o.Literal||e.body[0].expression.type===$o.ArrayExpression||e.body[0].expression.type===$o.ObjectExpression)}function pn(e){return e.constant}function mn(e,t){this.astBuilder=e,this.$filter=t}function gn(e,t){this.astBuilder=e,this.$filter=t}function vn(e){return"constructor"==e}function yn(e){return C(e.valueOf)?e.valueOf():wo.call(e)}function $n(){var e,t,n=pe(),i=pe(),o={"true":!0,"false":!1,"null":null,undefined:void 0};this.addLiteral=function(e,t){o[e]=t},this.setIdentifierFns=function(n,r){return e=n,t=r,this},this.$get=["$filter",function(a){function s(e,t,r){var o,s,l;switch(r=r||b,typeof e){case"string":e=e.trim(),l=e;var g=r?i:n;if(o=g[l],!o){":"===e.charAt(0)&&":"===e.charAt(1)&&(s=!0,e=e.substring(2));var y=r?$:v,w=new yo(y),x=new bo(w,a,y);o=x.parse(e),o.constant?o.$$watchDelegate=p:s?o.$$watchDelegate=o.literal?d:f:o.inputs&&(o.$$watchDelegate=c),r&&(o=u(o)),g[l]=o}return m(o,t);case"function":return m(e,t);default:return m(h,t)}}function u(e){function t(t,n,r,i){var o=b;b=!0;try{return e(t,n,r,i)}finally{b=o}}if(!e)return e;t.$$watchDelegate=e.$$watchDelegate,t.assign=u(e.assign),t.constant=e.constant,t.literal=e.literal;for(var n=0;e.inputs&&n0&&s(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)}}),l(u.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 t(e){u||(u=!0,a.$$resolve(e))}function r(e){u||(u=!0,a.$$reject(e))}var i,a=this,u=!1;try{($(e)||C(e))&&(i=e&&e.then),C(i)?(this.promise.$$state.status=-1,i.call(e,t,r,o(this,this.notify))):(this.promise.$$state.value=e,this.promise.$$state.status=1,s(this.promise.$$state))}catch(l){r(l),n(l)}},reject:function(e){this.promise.$$state.status||this.$$reject(e)},$$reject:function(e){this.promise.$$state.value=e,this.promise.$$state.status=2,s(this.promise.$$state)},notify:function(t){var r=this.promise.$$state.pending;this.promise.$$state.status<=0&&r&&r.length&&e(function(){for(var e,i,o=0,a=r.length;o=0&&y(o,-1),s=null}},$watchGroup:function(e,t){function n(){u=!1,l?(l=!1,t(o,o,s)):t(o,i,s)}var i=new Array(e.length),o=new Array(e.length),a=[],s=this,u=!1,l=!0;if(!e.length){var c=!0;return s.$evalAsync(function(){c&&t(o,o,s)}),function(){c=!1}}return 1===e.length?this.$watch(e[0],function(e,n,r){o[0]=e,i[0]=n,t(o,e===n?o:i,r)}):(r(e,function(e,t){var r=s.$watch(e,function(e,r){o[t]=e,i[t]=r,u||(u=!0,s.$evalAsync(n))});a.push(r)}),function(){for(;a.length;)a.shift()()})},$watchCollection:function(e,t){function r(e){o=e;var t,r,i,s,u;if(!v(o)){if($(o))if(n(o)){a!==h&&(a=h,g=a.length=0,f++),t=o.length,g!==t&&(f++,a.length=g=t);for(var l=0;lt){f++;for(r in a)Or.call(o,r)||(g--,delete a[r])}}else a!==o&&(a=o,f++);return f}}function i(){if(m?(m=!1,t(o,o,u)):t(o,s,u),c)if($(o))if(n(o)){s=new Array(o.length);for(var e=0;e1,f=0,d=l(e,r),h=[],p={},m=!0,g=0;return this.$watch(d,i)},$digest:function(){var e,n,r,a,l,f,d,h,p,v,y,$,b=i,k=this,D=[];m("$digest"),c.$$checkUrlChange(),this===S&&null!==u&&(c.defer.cancel(u),x()),s=null;do{h=!1,v=k;for(var T=0;T<_.length;T++){try{$=_[T],$.scope.$eval($.expression,$.locals)}catch(A){t(A)}s=null}_.length=0;e:do{if(f=v.$$watchers)for(d=f.length;d--;)try{if(e=f[d])if(l=e.get,(n=l(v))===(r=e.last)||(e.eq?U(n,r):"number"==typeof n&&"number"==typeof r&&isNaN(n)&&isNaN(r))){if(e===s){h=!1;break e}}else h=!0,s=e,e.last=e.eq?R(n,null):n,a=e.fn,a(n,r===w?n:r,v),b<5&&(y=4-b,D[y]||(D[y]=[]),D[y].push({msg:C(e.exp)?"fn: "+(e.exp.name||e.exp.toString()):e.exp,newVal:n,oldVal:r}))}catch(A){t(A)}if(!(p=v.$$watchersCount&&v.$$childHead||v!==k&&v.$$nextSibling))for(;v!==k&&!(p=v.$$nextSibling);)v=v.$parent}while(v=p);if((h||_.length)&&!b--)throw g(),o("infdig","{0} $digest() iterations reached. Aborting!\nWatchers fired in the last 5 iterations: {1}",i,D)}while(h||_.length);for(g();M-1)throw xo("iwcard","Illegal sequence *** in string matcher. String: {0}",e);return e=Xr(e).replace("\\*\\*",".*").replace("\\*","[^:/.?&;]*"),new RegExp("^"+e+"$")}if(S(e))return new RegExp("^"+e.source+"$");throw xo("imatcher",'Matchers may only be "self", string patterns or RegExp objects')}function En(e){var t=[];return y(e)&&r(e,function(e){t.push(_n(e))}),t}function Dn(){this.SCE_CONTEXTS=ko;var e=["self"],t=[];this.resourceUrlWhitelist=function(t){return arguments.length&&(e=En(t)),e},this.resourceUrlBlacklist=function(e){return arguments.length&&(t=En(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=In(n.toString()),s=!1;for(i=0,o=e.length;i to the top of your HTML document. See http://docs.angularjs.org/api/ng.$sce for more information.");var i=ge(ko);i.isEnabled=function(){return e},i.trustAs=n.trustAs,i.getTrusted=n.getTrusted,i.valueOf=n.valueOf,e||(i.trustAs=i.getTrusted=function(e,t){return t},i.valueOf=p),i.parseAs=function(e,n){var r=t(n);return r.literal&&r.constant?r:t(n,function(t){return i.getTrusted(e,t)})};var o=i.parseAs,a=i.getTrusted,s=i.trustAs;return r(ko,function(e,t){var n=Fr(t);i[we("parse_as_"+n)]=function(t){return o(e,t)},i[we("get_trusted_"+n)]=function(t){return a(e,t)},i[we("trust_as_"+n)]=function(t){return s(e,t)}}),i}]}function Tn(){this.$get=["$window","$document",function(e,t){var n,r,i={},o=e.chrome&&e.chrome.app&&e.chrome.app.runtime,a=!o&&e.history&&e.history.pushState,s=f((/android (\d+)/.exec(Fr((e.navigator||{}).userAgent))||[])[1]),u=/Boxee/i.test((e.navigator||{}).userAgent),l=t[0]||{},c=/^(Moz|webkit|ms)(?=[A-Z])/,d=l.body&&l.body.style,h=!1,p=!1;if(d){for(var m in d)if(r=c.exec(m)){n=r[0],n=n[0].toUpperCase()+n.substr(1);break}n||(n="WebkitOpacity"in d&&"webkit"),h=!!("transition"in d||n+"Transition"in d),p=!!("animation"in d||n+"Animation"in d),!s||h&&p||(h=w(d.webkitTransition),p=w(d.webkitAnimation))}return{history:!(!a||s<4||u),hasEvent:function(e){if("input"===e&&Lr<=11)return!1;if(v(i[e])){var t=l.createElement("div");i[e]="on"+e in t}return i[e]},csp:Kr(),vendorPrefix:n,transitions:h,animations:p,android:s}}]}function An(){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 Co("tpload","Failed to load template: {0} (HTTP status: {1} {2})",a,e.status,e.statusText);return r.reject(e)}o.totalPendingRequests++,w(a)&&!v(t.get(a))||(a=i.getTrustedResourceUrl(a));var c=n.defaults&&n.defaults.transformResponse;return Zr(c)?c=c.filter(function(e){return e!==_t}):c===_t&&(c=null),n.get(a,l({cache:t,transformResponse:c},e))["finally"](function(){o.totalPendingRequests--}).then(function(e){return t.put(a,e.data),e.data},u)}return o.totalPendingRequests=0,o}]}function On(){this.$get=["$rootScope","$browser","$location",function(e,t,n){var i={};return i.findBindings=function(e,t,n){var i=e.getElementsByClassName("ng-binding"),o=[];return r(i,function(e){var i=Br.element(e).data("$binding");i&&r(i,function(r){if(n){var i=new RegExp("(^|\\s)"+Xr(t)+"(\\s|\\||$)");i.test(r)&&o.push(e)}else r.indexOf(t)!=-1&&o.push(e)})}),o},i.findModels=function(e,t,n){for(var r=["ng-","data-ng-","ng\\:"],i=0;i0&&(u=t(o.substring(0,s)),v(r[u])&&(r[u]=t(o.substring(s+1))));return r}}function jn(){this.$get=Ln}function Rn(e){function t(i,o){if($(i)){var a={};return r(i,function(e,n){a[n]=t(n,e)}),a}return e.factory(i+n,o)}var n="Filter";this.register=t,this.$get=["$injector",function(e){return function(t){return e.get(t+n)}}],t("currency",Yn),t("date",or),t("filter",Un), +t("json",ar),t("limitTo",sr),t("lowercase",Fo),t("number",qn),t("orderBy",lr),t("uppercase",Io)}function Un(){return function(e,r,i,o){if(!n(e)){if(null==e)return e;throw t("filter")("notarray","Expected array but received: {0}",e)}o=o||"$";var a,s,u=Hn(r);switch(u){case"function":a=r;break;case"boolean":case"null":case"number":case"string":s=!0;case"object":a=Vn(r,i,o,s);break;default:return e}return Array.prototype.filter.call(e,a)}}function Vn(e,t,n,r){var i,o=$(e)&&n in e;return t===!0?t=U:C(t)||(t=function(e,t){return!v(e)&&(null===e||null===t?e===t:!($(t)||$(e)&&!g(e))&&(e=Fr(""+e),t=Fr(""+t),e.indexOf(t)!==-1))}),i=function(i){return o&&!$(i)?zn(i,e[n],t,n,!1):zn(i,e,t,n,r)}}function zn(e,t,n,r,i,o){var a=Hn(e),s=Hn(t);if("string"===s&&"!"===t.charAt(0))return!zn(e,t.substring(1),n,r,i);if(Zr(e))return e.some(function(e){return zn(e,t,n,r,i)});switch(a){case"object":var u;if(i){for(u in e)if("$"!==u.charAt(0)&&zn(e[u],t,n,r,!0))return!0;return!o&&zn(e,t,n,r,!1)}if("object"===s){for(u in t){var l=t[u];if(!C(l)&&!v(l)){var c=u===r,f=c?e:e[u];if(!zn(f,l,n,r,c,c))return!1}}return!0}return n(e,t);case"function":return!1;default:return n(e,t)}}function Hn(e){return null===e?"null":typeof e}function Yn(e){var t=e.NUMBER_FORMATS;return function(e,n,r){return v(n)&&(n=t.CURRENCY_SYM),v(r)&&(r=t.PATTERNS[1].maxFrac),null==e?e:Gn(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:Gn(e,t.PATTERNS[0],t.GROUP_SEP,t.DECIMAL_SEP,n)}}function Wn(e){var t,n,r,i,o,a=0;for((n=e.indexOf(Do))>-1&&(e=e.replace(Do,"")),(r=e.search(/e/i))>0?(n<0&&(n=r),n+=+e.slice(r+1),e=e.substring(0,r)):n<0&&(n=e.length),r=0;e.charAt(r)==Mo;r++);if(r==(o=e.length))t=[0],n=1;else{for(o--;e.charAt(o)==Mo;)o--;for(n-=r,t=[],i=0;r<=o;r++,i++)t[i]=+e.charAt(r)}return n>Eo&&(t=t.splice(0,Eo-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=v(t)?Math.min(Math.max(n,o),r):+t;var a=t+e.i,s=i[a];if(a>0){i.splice(Math.max(e.i,a));for(var u=a;u=5)if(a-1<0){for(var c=0;c>a;c--)i.unshift(0),e.i++;i.unshift(1),e.i++}else i[a-1]++;for(;o0?h=c.splice(f,c.length):(h=c,c=[0]);var p=[];for(c.length>=t.lgSize&&p.unshift(c.splice(-t.lgSize,c.length).join(""));c.length>t.gSize;)p.unshift(c.splice(-t.gSize,c.length).join(""));c.length&&p.unshift(c.join("")),l=p.join(n),h.length&&(l+=r+h.join("")),d&&(l+="e+"+d)}return e<0&&!s?t.negPre+l+t.negSuf:t.posPre+l+t.posSuf}function Zn(e,t,n,r){var i="";for((e<0||r&&e<=0)&&(r?e=-e+1:(e=-e,i="-")),e=""+e;e.length0||a>-n)&&(a+=n),0===a&&n==-12&&(a=12),Zn(a,t,r,i)}}function Jn(e,t,n){return function(r,i){var o=r["get"+e](),a=(n?"STANDALONE":"")+(t?"SHORT":""),s=Ir(a+e);return i[s][o]}}function Xn(e,t,n){var r=-1*n,i=r>=0?"+":"";return i+=Zn(Math[r>0?"floor":"ceil"](r/60),2)+Zn(Math.abs(r%60),2)}function Kn(e){var t=new Date(e,0,1).getDay();return new Date(e,0,(t<=4?5:12)-t)}function er(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate()+(4-e.getDay()))}function tr(e){return function(t){var n=Kn(t.getFullYear()),r=er(t),i=+r-+n,o=1+Math.round(i/6048e5);return Zn(o,e)}}function nr(e,t){return e.getHours()<12?t.AMPMS[0]:t.AMPMS[1]}function rr(e,t){return e.getFullYear()<=0?t.ERAS[0]:t.ERAS[1]}function ir(e,t){return e.getFullYear()<=0?t.ERANAMES[0]:t.ERANAMES[1]}function or(e){function t(e){var t;if(t=e.match(n)){var r=new Date(0),i=0,o=0,a=t[8]?r.setUTCFullYear:r.setFullYear,s=t[8]?r.setUTCHours:r.setHours;t[9]&&(i=f(t[9]+t[10]),o=f(t[9]+t[11])),a.call(r,f(t[1]),f(t[2])-1,f(t[3]));var u=f(t[4]||0)-i,l=f(t[5]||0)-o,c=f(t[6]||0),d=Math.round(1e3*parseFloat("0."+(t[7]||0)));return s.call(r,u,l,c,d),r}return e}var n=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;return function(n,i,o){var a,s,u="",l=[];if(i=i||"mediumDate",i=e.DATETIME_FORMATS[i]||i,w(n)&&(n=Oo.test(n)?f(n):t(n)),x(n)&&(n=new Date(n)),!k(n)||!isFinite(n.getTime()))return n;for(;i;)s=Ao.exec(i),s?(l=V(l,s,1),i=l.pop()):(l.push(i),i=null);var c=n.getTimezoneOffset();return o&&(c=B(o,c),n=Z(n,o,!0)),r(l,function(t){a=To[t],u+=a?a(n,e.DATETIME_FORMATS,c):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}}function ar(){return function(e,t){return v(t)&&(t=2),q(e,t)}}function sr(){return function(e,t,r){return t=Math.abs(Number(t))===1/0?Number(t):f(t),isNaN(t)?e:(x(e)&&(e=e.toString()),n(e)?(r=!r||isNaN(r)?0:f(r),r=r<0?Math.max(0,e.length+r):r,t>=0?ur(e,r,r+t):0===r?ur(e,t,e.length):ur(e,Math.max(0,r+t),r)):e)}}function ur(e,t,n){return w(e)?e.slice(t,n):Vr.call(e,t,n)}function lr(e){function r(t){return t.map(function(t){var n=1,r=p;if(C(t))r=t;else if(w(t)&&("+"!=t.charAt(0)&&"-"!=t.charAt(0)||(n="-"==t.charAt(0)?-1:1,t=t.substring(1)),""!==t&&(r=e(t),r.constant))){var i=r();r=function(e){return e[i]}}return{get:r,descending:n}})}function i(e){switch(typeof e){case"number":case"boolean":case"string":return!0;default:return!1}}function o(e){return C(e.valueOf)&&(e=e.valueOf(),i(e))?e:g(e)&&(e=e.toString(),i(e))?e:e}function a(e,t){var n=typeof e;return null===e?(n="string",e="null"):"object"===n&&(e=o(e)),{value:e,type:n,index:t}}function s(e,t){var n=0,r=e.type,i=t.type;if(r===i){var o=e.value,a=t.value;"string"===r?(o=o.toLowerCase(),a=a.toLowerCase()):"object"===r&&($(o)&&(o=e.index),$(a)&&(a=t.index)),o!==a&&(n=o=m},a.$observe("min",function(e){m=d(e),s.$validate()})}if(y(a.max)||a.ngMax){var g;s.$validators.max=function(e){return!f(e)||v(g)||n(e)<=g},a.$observe("max",function(e){g=d(e),s.$validate()})}}}function $r(e,t,n,r){var i=t[0],o=r.$$hasNativeValidators=$(i.validity);o&&r.$parsers.push(function(e){var n=t.prop(Ar)||{};return n.badInput||n.typeMismatch?void 0:e})}function br(e,t,n,r,i,o){if($r(e,t,n,r),mr(e,t,n,r,i,o),r.$$parserName="number",r.$parsers.push(function(e){return r.$isEmpty(e)?null:qo.test(e)?parseFloat(e):void 0}),r.$formatters.push(function(e){if(!r.$isEmpty(e)){if(!x(e))throw Da("numfmt","Expected `{0}` to be a number",e);e=e.toString()}return e}),y(n.min)||n.ngMin){var a;r.$validators.min=function(e){return r.$isEmpty(e)||v(a)||e>=a},n.$observe("min",function(e){y(e)&&!x(e)&&(e=parseFloat(e)),a=x(e)&&!isNaN(e)?e:void 0,r.$validate()})}if(y(n.max)||n.ngMax){var s;r.$validators.max=function(e){return r.$isEmpty(e)||v(s)||e<=s},n.$observe("max",function(e){y(e)&&!x(e)&&(e=parseFloat(e)),s=x(e)&&!isNaN(e)?e:void 0,r.$validate()})}}function wr(e,t,n,r,i,o){mr(e,t,n,r,i,o),hr(r),r.$$parserName="url",r.$validators.url=function(e,t){var n=e||t;return r.$isEmpty(n)||Ho.test(n)}}function xr(e,t,n,r,i,o){mr(e,t,n,r,i,o),hr(r),r.$$parserName="email",r.$validators.email=function(e,t){var n=e||t;return r.$isEmpty(n)||Yo.test(n)}}function kr(e,t,n,r){v(n.name)&&t.attr("name",a());var i=function(e){t[0].checked&&r.$setViewValue(n.value,e&&e.type)};t.on("click",i),r.$render=function(){var e=n.value;t[0].checked=e==r.$viewValue},n.$observe("value",r.$render)}function Cr(e,t,n,r,i){var o;if(y(r)){if(o=e(r),!o.constant)throw Da("constexpr","Expected constant expression for `{0}`, but saw `{1}`.",n,r);return o(t)}return i}function Sr(e,t,n,r,i,o,a,s){var u=Cr(s,e,"ngTrueValue",n.ngTrueValue,!0),l=Cr(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 U(e,u)}),r.$parsers.push(function(e){return e?u:l})}function _r(e,t){return e="ngClass"+e,["$animate",function(n){function i(e,t){var n=[];e:for(var r=0;r0||n[e])&&(n[e]=(n[e]||0)+t,n[e]===+(t>0)&&i.push(e))}),s.data("$classCounts",n),i.join(" ")}function d(e,t){var r=i(t,e),o=i(e,t);r=f(r,1),o=f(o,-1),r&&r.length&&n.addClass(s,r),o&&o.length&&n.removeClass(s,o)}function h(e){if(t===!0||(1&a.$index)===t){var n=o(e||[]);if(p){if(!U(e,p)){var r=o(p);d(r,n)}}else l(n)}p=Zr(e)?e.map(function(e){return ge(e)}):ge(e)}var p;a.$watch(u[e],h,!0),u.$observe("class",function(t){h(a.$eval(u[e]))}),"ngClass"!==e&&a.$watch("$index",function(n,r){var i=1&n;if(i!==(1&r)){var s=o(a.$eval(u[e]));i===t?l(s):c(s)}})}}}]}function Er(e){function t(e,t,s){v(t)?n("$pending",e,s):r("$pending",e,s),A(t)?t?(c(a.$error,e,s),l(a.$$success,e,s)):(l(a.$error,e,s),c(a.$$success,e,s)):(c(a.$error,e,s),c(a.$$success,e,s)),a.$pending?(i(Sa,!0),a.$valid=a.$invalid=void 0,o("",null)):(i(Sa,!1),a.$valid=Dr(a.$error),a.$invalid=!a.$valid,o("",a.$valid));var u;u=a.$pending&&a.$pending[e]?void 0:!a.$error[e]&&(!!a.$$success[e]||null),o(e,u),a.$$parentForm.$setValidity(e,u,a)}function n(e,t,n){a[e]||(a[e]={}),l(a[e],t,n)}function r(e,t,n){a[e]&&c(a[e],t,n),Dr(a[e])&&(a[e]=void 0)}function i(e,t){t&&!u[e]?(f.addClass(s,e),u[e]=!0):!t&&u[e]&&(f.removeClass(s,e),u[e]=!1)}function o(e,t){e=e?"-"+se(e,"-"):"",i($a+e,t===!0),i(ba+e,t===!1)}var a=e.ctrl,s=e.$element,u={},l=e.set,c=e.unset,f=e.$animate;u[ba]=!(u[$a]=s.hasClass($a)),a.$setValidity=t}function Dr(e){if(e)for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}function Mr(e){e[0].hasAttribute("selected")&&(e[0].selected=!0)}var Tr=/^\/(.+)\/([a-z]*)$/,Ar="validity",Or=Object.prototype.hasOwnProperty,Fr=function(e){return w(e)?e.toLowerCase():e},Ir=function(e){return w(e)?e.toUpperCase():e},Nr=function(e){return w(e)?e.replace(/[A-Z]/g,function(e){return String.fromCharCode(32|e.charCodeAt(0))}):e},Pr=function(e){return w(e)?e.replace(/[a-z]/g,function(e){return String.fromCharCode(e.charCodeAt(0)&-33)}):e};"i"!=="I".toLowerCase()&&(Fr=Nr,Ir=Pr);var Lr,jr,Rr,Ur,Vr=[].slice,zr=[].splice,Hr=[].push,Yr=Object.prototype.toString,qr=Object.getPrototypeOf,Wr=t("ng"),Br=e.angular||(e.angular={}),Gr=0;Lr=e.document.documentMode,h.$inject=[],p.$inject=[];var Zr=Array.isArray,Qr=/^\[object (?:Uint8|Uint8Clamped|Uint16|Uint32|Int8|Int16|Int32|Float32|Float64)Array\]$/,Jr=function(e){return w(e)?e.trim():e},Xr=function(e){return e.replace(/([-()\[\]{}+?*.$\^|,:#(?:<\/\1>|)$/,wi=/<|&#?\w+;/,xi=/<([\w:-]+)/,ki=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,Ci={option:[1,'"],thead:[1,"","
    "],col:[2,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],_default:[0,"",""]};Ci.optgroup=Ci.option,Ci.tbody=Ci.tfoot=Ci.colgroup=Ci.caption=Ci.thead,Ci.th=Ci.td;var Si=e.Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))},_i=Me.prototype={ready:function(t){function n(){r||(r=!0,t())}var r=!1;"complete"===e.document.readyState?e.setTimeout(n):(this.on("DOMContentLoaded",n),Me(e).on("load",n))},toString:function(){var e=[];return r(this,function(t){e.push(""+t)}),"["+e.join(", ")+"]"},eq:function(e){return jr(e>=0?this[e]:this[this.length+e])},length:0,push:Hr,sort:[].sort,splice:[].splice},Ei={};r("multiple,selected,checked,disabled,readOnly,required,open".split(","),function(e){Ei[Fr(e)]=e});var Di={};r("input,select,option,textarea,button,form,details".split(","),function(e){Di[e]=!0});var Mi={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern"};r({data:Ne,removeData:Fe,hasData:Ce,cleanData:Se},function(e,t){Me[t]=e}),r({data:Ne,inheritedData:Ve,scope:function(e){return jr.data(e,"$scope")||Ve(e.parentNode||e,["$isolateScope","$scope"])},isolateScope:function(e){return jr.data(e,"$isolateScope")||jr.data(e,"$isolateScopeNoTemplate")},controller:Ue,injector:function(e){return Ve(e,"$injector")},removeAttr:function(e,t){e.removeAttribute(t)},hasClass:Pe,css:function(e,t,n){return t=we(t),y(n)?void(e.style[t]=n):e.style[t]},attr:function(e,t,n){var r=e.nodeType;if(r!==si&&r!==ai&&r!==ui){var i=Fr(t);if(Ei[i]){if(!y(n))return e[t]||(e.attributes.getNamedItem(t)||h).specified?i:void 0;n?(e[t]=!0,e.setAttribute(t,i)):(e[t]=!1,e.removeAttribute(i))}else if(y(n))e.setAttribute(t,n);else if(e.getAttribute){var o=e.getAttribute(t,2);return null===o?void 0:o}}},prop:function(e,t,n){return y(n)?void(e[t]=n):e[t]},text:function(){function e(e,t){if(v(t)){var n=e.nodeType;return n===oi||n===si?e.textContent:""}e.textContent=t}return e.$dv="",e}(),val:function(e,t){if(v(t)){if(e.multiple&&"select"===L(e)){var n=[];return r(e.options,function(e){e.selected&&n.push(e.value||e.text)}),0===n.length?null:n}return e.value}e.value=t},html:function(e,t){return v(t)?e.innerHTML:(Ae(e,!0),void(e.innerHTML=t))},empty:ze},function(e,t){Me.prototype[t]=function(t,n){var r,i,o=this.length;if(e!==ze&&v(2==e.length&&e!==Pe&&e!==Ue?t:n)){if($(t)){for(r=0;r=0?t.split(" "):[t],u=s.length,l=function(t,r,i){var s=o[t];s||(s=o[t]=[],s.specialHandlerWrapper=r,"$destroy"===t||i||pi(e,t,a)),s.push(n)};u--;)t=s[u],yi[t]?(l(yi[t],Ze),l(t,void 0,!0)):l(t)}},off:Oe,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,i=e.parentNode;Ae(e),r(new Me(t),function(t){n?i.insertBefore(t,n.nextSibling):i.replaceChild(t,e),n=t})},children:function(e){var t=[];return r(e.childNodes,function(e){e.nodeType===oi&&t.push(e)}),t},contents:function(e){return e.contentDocument||e.childNodes||[]},append:function(e,t){var n=e.nodeType;if(n===oi||n===ci){t=new Me(t);for(var r=0,i=t.length;r/,Oi=/^[^\(]*\(\s*([^\)]*)\)/m,Fi=/,/,Ii=/^\s*(_?)(\S+?)\1\s*$/,Ni=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,Pi=t("$injector");rt.$$annotate=nt;var Li=t("$animate"),ji=1,Ri="ng-animate",Ui=function(){this.$get=h},Vi=function(){var e=new Xe,t=[];this.$get=["$$AnimateRunner","$rootScope",function(n,i){function o(e,t,n){var i=!1;return t&&(t=w(t)?t.split(" "):Zr(t)?t:[],r(t,function(t){t&&(i=!0,e[t]=n)})),i}function a(){r(t,function(t){var n=e.get(t);if(n){var i=st(t.attr("class")),o="",a="";r(n,function(e,t){var n=!!i[t];e!==n&&(e?o+=(o.length?" ":"")+t:a+=(a.length?" ":"")+t)}),r(t,function(e){o&&je(e,o),a&&Le(e,a)}),e.remove(t)}}),t.length=0}function s(n,r,s){var u=e.get(n)||{},l=o(u,r,!0),c=o(u,s,!1);(l||c)&&(e.put(n,u),t.push(n),1===t.length&&i.$$postDigest(a))}return{enabled:h,on:h,off:h,pin:h,push:function(e,t,r,i){i&&i(),r=r||{},r.from&&e.css(r.from),r.to&&e.css(r.to),(r.addClass||r.removeClass)&&s(e,r.addClass,r.removeClass);var o=new n;return o.complete(),o}}}]},zi=["$provide",function(e){var t=this;this.$$registeredAnimations=Object.create(null),this.register=function(n,r){if(n&&"."!==n.charAt(0))throw Li("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+|\\/)"+Ri+"(\\s+|\\/)");if(t.test(this.$$classNameFilter.toString()))throw Li("nongcls",'$animateProvider.classNameFilter(regex) prohibits accepting a regex value which matches/contains the "{0}" CSS class.',Ri)}return this.$$classNameFilter},this.$get=["$$animateQueue",function(e){function t(e,t,n){if(n){var r=at(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",ut(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",ut(o))},leave:function(t,n){return e.push(t,"leave",ut(n),function(){t.remove()})},addClass:function(t,n,r){return r=ut(r),r.addClass=ot(r.addclass,n),e.push(t,"addClass",r)},removeClass:function(t,n,r){return r=ut(r),r.removeClass=ot(r.removeClass,n),e.push(t,"removeClass",r)},setClass:function(t,n,r,i){return i=ut(i),i.addClass=ot(i.addClass,n),i.removeClass=ot(i.removeClass,r),e.push(t,"setClass",i)},animate:function(t,n,r,i,o){return o=ut(o),o.from=o.from?l(o.from,n):n,o.to=o.to?l(o.to,r):r,i=i||"ng-inline-animate",o.tempClasses=ot(o.tempClasses,i),e.push(t,"animate",o)}}}]}],Hi=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){go[e]=!0});var vo={n:"\n",f:"\f",r:"\r",t:"\t",v:"\x0B","'":"'",'"':'"'},yo=function(e){this.options=e};yo.prototype={constructor:yo,lex:function(e){for(this.text=e,this.index=0,this.tokens=[];this.index=55296&&n<=56319&&r>=56320&&r<=57343?e+t:e},isExpOperator:function(e){ +return"-"===e||"+"===e||this.isNumber(e)},throwError:function(e,t,n){n=n||this.index;var r=y(t)?"s "+t+"-"+this.index+" ["+this.text.substring(t,n)+"]":" "+n;throw fo("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:$o.Program,body:e}},expressionStatement:function(){return{type:$o.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:$o.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:$o.ConditionalExpression,test:n,alternate:e,consequent:t}):n},logicalOR:function(){for(var e=this.logicalAND();this.expect("||");)e={type:$o.LogicalExpression,operator:"||",left:e,right:this.logicalAND()};return e},logicalAND:function(){for(var e=this.equality();this.expect("&&");)e={type:$o.LogicalExpression,operator:"&&",left:e,right:this.equality()};return e},equality:function(){for(var e,t=this.relational();e=this.expect("==","!=","===","!==");)t={type:$o.BinaryExpression,operator:e.text,left:t,right:this.relational()};return t},relational:function(){for(var e,t=this.additive();e=this.expect("<",">","<=",">=");)t={type:$o.BinaryExpression,operator:e.text,left:t,right:this.additive()};return t},additive:function(){for(var e,t=this.multiplicative();e=this.expect("+","-");)t={type:$o.BinaryExpression,operator:e.text,left:t,right:this.multiplicative()};return t},multiplicative:function(){for(var e,t=this.unary();e=this.expect("*","/","%");)t={type:$o.BinaryExpression,operator:e.text,left:t,right:this.unary()};return t},unary:function(){var e;return(e=this.expect("+","-","!"))?{type:$o.UnaryExpression,operator:e.text,prefix:!0,argument:this.unary()}:this.primary()},primary:function(){var e;this.expect("(")?(e=this.filterChain(),this.consume(")")):this.expect("[")?e=this.arrayDeclaration():this.expect("{")?e=this.object():this.selfReferential.hasOwnProperty(this.peek().text)?e=R(this.selfReferential[this.consume().text]):this.options.literals.hasOwnProperty(this.peek().text)?e={type:$o.Literal,value:this.options.literals[this.consume().text]}:this.peek().identifier?e=this.identifier():this.peek().constant?e=this.constant():this.throwError("not a primary expression",this.peek());for(var t;t=this.expect("(","[",".");)"("===t.text?(e={type:$o.CallExpression,callee:e,arguments:this.parseArguments()},this.consume(")")):"["===t.text?(e={type:$o.MemberExpression,object:e,property:this.expression(),computed:!0},this.consume("]")):"."===t.text?e={type:$o.MemberExpression,object:e,property:this.identifier(),computed:!1}:this.throwError("IMPOSSIBLE");return e},filter:function(e){for(var t=[e],n={type:$o.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.filterChain());while(this.expect(","));return e},identifier:function(){var e=this.consume();return e.identifier||this.throwError("is not a valid identifier",e),{type:$o.Identifier,name:e.text}},constant:function(){return{type:$o.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:$o.ArrayExpression,elements:e}},object:function(){var e,t=[];if("}"!==this.peekToken().text)do{if(this.peek("}"))break;e={type:$o.Property,kind:"init"},this.peek().constant?(e.key=this.constant(),e.computed=!1,this.consume(":"),e.value=this.expression()):this.peek().identifier?(e.key=this.identifier(),e.computed=!1,this.peek(":")?(this.consume(":"),e.value=this.expression()):e.value=e.key):this.peek("[")?(this.consume("["),e.key=this.expression(),this.consume("]"),e.computed=!0,this.consume(":"),e.value=this.expression()):this.throwError("invalid key",this.peek()),t.push(e)}while(this.expect(","));return this.consume("}"),{type:$o.ObjectExpression,properties:t}},throwError:function(e,t){throw fo("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 fo("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 fo("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)},selfReferential:{"this":{type:$o.ThisExpression},$locals:{type:$o.LocalsExpression}}},mn.prototype={compile:function(e,t){var n=this,i=this.astBuilder.ast(e);this.state={nextId:0,filters:{},expensiveChecks:t,fn:{vars:[],body:[],own:{}},assign:{vars:[],body:[],own:{}},inputs:[]},ln(i,n.$filter);var o,a="";if(this.stage="assign",o=dn(i)){this.state.computing="assign";var s=this.nextId();this.recurse(o,s),this.return_(s),a="fn.assign="+this.generateFunction("assign","s,v,l")}var u=cn(i.body);n.stage="inputs",r(u,function(e,t){var r="fn"+t;n.state[r]={vars:[],body:[],own:{}},n.state.computing=r;var i=n.nextId();n.recurse(e,i),n.return_(i),n.state.inputs.push(r),e.watchId=t}),this.state.computing="fn",this.stage="main",this.recurse(i);var l='"'+this.USE+" "+this.STRICT+'";\n'+this.filterPrefix()+"var fn="+this.generateFunction("fn","s,l,a,i")+a+this.watchFns()+"return fn;",c=new Function("$filter","ensureSafeMemberName","ensureSafeObject","ensureSafeFunction","getStringValue","ensureSafeAssignContext","ifDefined","plus","text",l)(this.$filter,en,nn,rn,tn,on,an,sn,e);return this.state=this.stage=void 0,c.literal=hn(i),c.constant=pn(i),c},USE:"use",STRICT:"strict",watchFns:function(){var e=[],t=this.state.inputs,n=this;return r(t,function(t){e.push("var "+t+"="+n.generateFunction(t,"s"))}),t.length&&e.push("fn.inputs=["+t.join(",")+"];"),e.join("")},generateFunction:function(e,t){return"function("+t+"){"+this.varsPrefix(e)+this.body(e)+"};"},filterPrefix:function(){var e=[],t=this;return r(this.state.filters,function(n,r){e.push(n+"=$filter("+t.escape(r)+")")}),e.length?"var "+e.join(",")+";":""},varsPrefix:function(e){return this.state[e].vars.length?"var "+this.state[e].vars.join(",")+";":""},body:function(e){return this.state[e].body.join("")},recurse:function(e,t,n,i,o,a){var s,u,l,c,f,d=this;if(i=i||h,!a&&y(e.watchId))return t=t||this.nextId(),void this.if_("i",this.lazyAssign(t,this.computedMember("i",e.watchId)),this.lazyRecurse(e,t,n,i,o,!0));switch(e.type){case $o.Program:r(e.body,function(t,n){d.recurse(t.expression,void 0,void 0,function(e){u=e}),n!==e.body.length-1?d.current().body.push(u,";"):d.return_(u)});break;case $o.Literal:c=this.escape(e.value),this.assign(t,c),i(c);break;case $o.UnaryExpression:this.recurse(e.argument,void 0,void 0,function(e){u=e}),c=e.operator+"("+this.ifDefined(u,0)+")",this.assign(t,c),i(c);break;case $o.BinaryExpression:this.recurse(e.left,void 0,void 0,function(e){s=e}),this.recurse(e.right,void 0,void 0,function(e){u=e}),c="+"===e.operator?this.plus(s,u):"-"===e.operator?this.ifDefined(s,0)+e.operator+this.ifDefined(u,0):"("+s+")"+e.operator+"("+u+")",this.assign(t,c),i(c);break;case $o.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 $o.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 $o.Identifier:t=t||this.nextId(),n&&(n.context="inputs"===d.stage?"s":this.assign(this.nextId(),this.getHasOwnProperty("l",e.name)+"?l:s"),n.computed=!1,n.name=e.name),en(e.name),d.if_("inputs"===d.stage||d.not(d.getHasOwnProperty("l",e.name)),function(){d.if_("inputs"===d.stage||"s",function(){o&&1!==o&&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||vn(e.name))&&d.addEnsureSafeObject(t),i(t);break;case $o.MemberExpression:s=n&&(n.context=this.nextId())||this.nextId(),t=t||this.nextId(),d.recurse(e.object,s,void 0,function(){d.if_(d.notNull(s),function(){o&&1!==o&&d.addEnsureSafeAssignContext(s),e.computed?(u=d.nextId(),d.recurse(e.property,u),d.getStringValue(u),d.addEnsureSafeMemberName(u),o&&1!==o&&d.if_(d.not(d.computedMember(s,u)),d.lazyAssign(d.computedMember(s,u),"{}")),c=d.ensureSafeObject(d.computedMember(s,u)),d.assign(t,c),n&&(n.computed=!0,n.name=u)):(en(e.property.name),o&&1!==o&&d.if_(d.not(d.nonComputedMember(s,e.property.name)),d.lazyAssign(d.nonComputedMember(s,e.property.name),"{}")),c=d.nonComputedMember(s,e.property.name),(d.state.expensiveChecks||vn(e.property.name))&&(c=d.ensureSafeObject(c)),d.assign(t,c),n&&(n.computed=!1,n.name=e.property.name))},function(){d.assign(t,"undefined")}),i(t)},!!o);break;case $o.CallExpression:t=t||this.nextId(),e.filter?(u=d.filter(e.callee.name),l=[],r(e.arguments,function(e){var t=d.nextId();d.recurse(e,t),l.push(t)}),c=u+"("+l.join(",")+")",d.assign(t,c),i(t)):(u=d.nextId(),s={},l=[],d.recurse(e.callee,u,s,function(){d.if_(d.notNull(u),function(){d.addEnsureSafeFunction(u),r(e.arguments,function(e){d.recurse(e,d.nextId(),void 0,function(e){l.push(d.ensureSafeObject(e))})}),s.name?(d.state.expensiveChecks||d.addEnsureSafeObject(s.context),c=d.member(s.context,s.name,s.computed)+"("+l.join(",")+")"):c=u+"("+l.join(",")+")",c=d.ensureSafeObject(c),d.assign(t,c)},function(){d.assign(t,"undefined")}),i(t)}));break;case $o.AssignmentExpression:if(u=this.nextId(),s={},!fn(e.left))throw fo("lval","Trying to assign a value to a non l-value");this.recurse(e.left,void 0,s,function(){d.if_(d.notNull(s.context),function(){d.recurse(e.right,u),d.addEnsureSafeObject(d.member(s.context,s.name,s.computed)),d.addEnsureSafeAssignContext(s.context),c=d.member(s.context,s.name,s.computed)+e.operator+u,d.assign(t,c),i(t||c)})},1);break;case $o.ArrayExpression:l=[],r(e.elements,function(e){d.recurse(e,d.nextId(),void 0,function(e){l.push(e)})}),c="["+l.join(",")+"]",this.assign(t,c),i(c);break;case $o.ObjectExpression:l=[],f=!1,r(e.properties,function(e){e.computed&&(f=!0)}),f?(t=t||this.nextId(),this.assign(t,"{}"),r(e.properties,function(e){e.computed?(s=d.nextId(),d.recurse(e.key,s)):s=e.key.type===$o.Identifier?e.key.name:""+e.key.value,u=d.nextId(),d.recurse(e.value,u),d.assign(d.member(t,s,e.computed),u)})):(r(e.properties,function(t){d.recurse(t.value,e.constant?void 0:d.nextId(),void 0,function(e){l.push(d.escape(t.key.type===$o.Identifier?t.key.name:""+t.key.value)+":"+e)})}),c="{"+l.join(",")+"}",this.assign(t,c)),i(t||c);break;case $o.ThisExpression:this.assign(t,"s"),i("s");break;case $o.LocalsExpression:this.assign(t,"l"),i("l");break;case $o.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){if(e)return this.current().body.push(e,"=",t,";"),e},filter:function(e){return this.state.filters.hasOwnProperty(e)||(this.state.filters[e]=this.nextId(!0)),this.state.filters[e]},ifDefined:function(e,t){return"ifDefined("+e+","+this.escape(t)+")"},plus:function(e,t){return"plus("+e+","+t+")"},return_:function(e){this.current().body.push("return ",e,";")},if_:function(e,t,n){if(e===!0)t();else{var r=this.current().body;r.push("if(",e,"){"),t(),r.push("}"),n&&(r.push("else{"),n(),r.push("}"))}},not:function(e){return"!("+e+")"},notNull:function(e){return e+"!=null"},nonComputedMember:function(e,t){var n=/[$_a-zA-Z][$_a-zA-Z0-9]*/,r=/[^$_a-zA-Z0-9]/g;return n.test(t)?e+"."+t:e+'["'+t.replace(r,this.stringEscapeFn)+'"]'},computedMember:function(e,t){return e+"["+t+"]"},member:function(e,t,n){return n?this.computedMember(e,t):this.nonComputedMember(e,t)},addEnsureSafeObject:function(e){this.current().body.push(this.ensureSafeObject(e),";")},addEnsureSafeMemberName:function(e){this.current().body.push(this.ensureSafeMemberName(e),";")},addEnsureSafeFunction:function(e){this.current().body.push(this.ensureSafeFunction(e),";")},addEnsureSafeAssignContext:function(e){this.current().body.push(this.ensureSafeAssignContext(e),";")},ensureSafeObject:function(e){return"ensureSafeObject("+e+",text)"},ensureSafeMemberName:function(e){return"ensureSafeMemberName("+e+",text)"},ensureSafeFunction:function(e){return"ensureSafeFunction("+e+",text)"},getStringValue:function(e){this.assign(e,"getStringValue("+e+")")},ensureSafeAssignContext:function(e){return"ensureSafeAssignContext("+e+",text)"},lazyRecurse:function(e,t,n,r,i,o){var a=this;return function(){a.recurse(e,t,n,r,i,o)}},lazyAssign:function(e,t){var n=this;return function(){n.assign(e,t)}},stringEscapeRegex:/[^ a-zA-Z0-9]/g,stringEscapeFn:function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)},escape:function(e){if(w(e))return"'"+e.replace(this.stringEscapeRegex,this.stringEscapeFn)+"'";if(x(e))return e.toString();if(e===!0)return"true";if(e===!1)return"false";if(null===e)return"null";if("undefined"==typeof e)return"undefined";throw fo("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]}},gn.prototype={compile:function(e,t){var n=this,i=this.astBuilder.ast(e);this.expression=e,this.expensiveChecks=t,ln(i,n.$filter);var o,a;(o=dn(i))&&(a=this.recurse(o));var s,u=cn(i.body);u&&(s=[],r(u,function(e,t){var r=n.recurse(e);e.input=r,s.push(r),e.watchId=t}));var l=[];r(i.body,function(e){l.push(n.recurse(e.expression))});var c=0===i.body.length?h:1===i.body.length?l[0]:function(e,t){var n;return r(l,function(r){n=r(e,t)}),n};return a&&(c.assign=function(e,t,n){return a(e,n,t)}),s&&(c.inputs=s),c.literal=hn(i),c.constant=pn(i),c},recurse:function(e,t,n){var i,o,a,s=this;if(e.input)return this.inputs(e.input,e.watchId);switch(e.type){case $o.Literal:return this.value(e.value,t);case $o.UnaryExpression:return o=this.recurse(e.argument),this["unary"+e.operator](o,t);case $o.BinaryExpression:return i=this.recurse(e.left),o=this.recurse(e.right),this["binary"+e.operator](i,o,t);case $o.LogicalExpression:return i=this.recurse(e.left),o=this.recurse(e.right),this["binary"+e.operator](i,o,t);case $o.ConditionalExpression:return this["ternary?:"](this.recurse(e.test),this.recurse(e.alternate),this.recurse(e.consequent),t);case $o.Identifier:return en(e.name,s.expression),s.identifier(e.name,s.expensiveChecks||vn(e.name),t,n,s.expression);case $o.MemberExpression:return i=this.recurse(e.object,!1,!!n),e.computed||(en(e.property.name,s.expression),o=e.property.name),e.computed&&(o=this.recurse(e.property)),e.computed?this.computedMember(i,o,t,n,s.expression):this.nonComputedMember(i,o,s.expensiveChecks,t,n,s.expression);case $o.CallExpression:return a=[],r(e.arguments,function(e){a.push(s.recurse(e))}),e.filter&&(o=this.$filter(e.callee.name)),e.filter||(o=this.recurse(e.callee,!0)),e.filter?function(e,n,r,i){for(var s=[],u=0;u":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)>t(r,i,o,a);return n?{value:s}:s}},"binary<=":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)<=t(r,i,o,a);return n?{value:s}:s}},"binary>=":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)>=t(r,i,o,a);return n?{value:s}:s}},"binary&&":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)&&t(r,i,o,a);return n?{value:s}:s}},"binary||":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)||t(r,i,o,a);return n?{value:s}:s}},"ternary?:":function(e,t,n,r){return function(i,o,a,s){var u=e(i,o,a,s)?t(i,o,a,s):n(i,o,a,s);return r?{value:u}:u}},value:function(e,t){return function(){return t?{context:void 0,name:void 0,value:e}:e}},identifier:function(e,t,n,r,i){return function(o,a,s,u){var l=a&&e in a?a:o;r&&1!==r&&l&&!l[e]&&(l[e]={});var c=l?l[e]:void 0;return t&&nn(c,i),n?{context:l,name:e,value:c}:c}},computedMember:function(e,t,n,r,i){return function(o,a,s,u){var l,c,f=e(o,a,s,u);return null!=f&&(l=t(o,a,s,u),l=tn(l),en(l,i),r&&1!==r&&(on(f),f&&!f[l]&&(f[l]={})),c=f[l],nn(c,i)),n?{context:f,name:l,value:c}:c}},nonComputedMember:function(e,t,n,r,i,o){return function(a,s,u,l){var c=e(a,s,u,l);i&&1!==i&&(on(c),c&&!c[t]&&(c[t]={}));var f=null!=c?c[t]:void 0;return(n||vn(t))&&nn(f,o),r?{context:c,name:t,value:f}:f}},inputs:function(e,t){return function(n,r,i,o){return o?o[t]:e(n,r,i)}}};var bo=function(e,t,n){this.lexer=e,this.$filter=t,this.options=n,this.ast=new $o(e,n),this.astCompiler=n.csp?new gn(this.ast,t):new mn(this.ast,t)};bo.prototype={constructor:bo,parse:function(e){return this.astCompiler.compile(e,this.options.expensiveChecks)}};var wo=Object.prototype.valueOf,xo=t("$sce"),ko={HTML:"html",CSS:"css",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},Co=t("$compile"),So=e.document.createElement("a"),_o=In(e.location.href);Ln.$inject=["$document"],Rn.$inject=["$provide"];var Eo=22,Do=".",Mo="0";Yn.$inject=["$locale"],qn.$inject=["$locale"];var To={yyyy:Qn("FullYear",4,0,!1,!0),yy:Qn("FullYear",2,0,!0,!0),y:Qn("FullYear",1,0,!1,!0),MMMM:Jn("Month"),MMM:Jn("Month",!0),MM:Qn("Month",2,1),M:Qn("Month",1,1),LLLL:Jn("Month",!1,!0),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:Jn("Day"),EEE:Jn("Day",!0),a:nr,Z:Xn,ww:tr(2),w:tr(1),G:rr,GG:rr,GGG:rr,GGGG:ir},Ao=/((?:[^yMLdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|m+|s+|a|Z|G+|w+))(.*)/,Oo=/^\-?\d+$/;or.$inject=["$locale"];var Fo=m(Fr),Io=m(Ir);lr.$inject=["$parse"];var No=m({restrict:"E",compile:function(e,t){if(!t.href&&!t.xlinkHref)return function(e,t){if("a"===t[0].nodeName.toLowerCase()){var n="[object SVGAnimatedString]"===Yr.call(t.prop("href"))?"xlink:href":"href";t.on("click",function(e){t.attr(n)||e.preventDefault()})}}}}),Po={};r(Ei,function(e,t){function n(e,n,i){e.$watch(i[r],function(e){i.$set(t,!!e)})}if("multiple"!=e){var r=gt("ng-"+t),i=n;"checked"===e&&(i=function(e,t,i){i.ngModel!==i[r]&&n(e,t,i)}),Po[r]=function(){return{restrict:"A",priority:100,link:i}}}}),r(Mi,function(e,t){Po[t]=function(){return{priority:100,link:function(e,n,r){if("ngPattern"===t&&"/"==r.ngPattern.charAt(0)){var i=r.ngPattern.match(Tr);if(i)return void r.$set("ngPattern",new RegExp(i[1],i[2]))}e.$watch(r[t],function(e){r.$set(t,e)})}}}}),r(["src","srcset","href"],function(e){var t=gt("ng-"+e);Po[t]=function(){return{priority:99,link:function(n,r,i){var o=e,a=e;"href"===e&&"[object SVGAnimatedString]"===Yr.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(Lr&&o&&r.prop(o,i[a]))):void("href"===e&&i.$set(a,null))})}}}});var Lo={$addControl:h,$$renameControl:fr,$removeControl:h,$setValidity:h,$setDirty:h,$setPristine:h,$setSubmitted:h},jo="ng-submitted";dr.$inject=["$element","$attrs","$scope","$animate","$interpolate"];var Ro=function(e){return["$timeout","$parse",function(t,n){function r(e){return""===e?n('this[""]').assign:n(e).assign||h}var i={name:"form",restrict:e?"EAC":"E",require:["form","^^?form"],controller:dr,compile:function(n,i){n.addClass(wa).addClass($a);var o=i.name?"name":!(!e||!i.ngForm)&&"ngForm";return{pre:function(e,n,i,a){var s=a[0];if(!("action"in i)){var u=function(t){e.$apply(function(){s.$commitViewValue(),s.$setSubmitted()}),t.preventDefault()};pi(n[0],"submit",u),n.on("$destroy",function(){t(function(){mi(n[0],"submit",u)},0,!1)})}var c=a[1]||s.$$parentForm;c.$addControl(s);var f=o?r(s.$name):h;o&&(f(e,s),i.$observe(o,function(t){s.$name!==t&&(f(e,void 0),s.$$parentForm.$$renameControl(s,t),(f=r(s.$name))(e,s))})),n.on("$destroy",function(){s.$$parentForm.$removeControl(s),f(e,void 0),l(s,Lo)})}}}};return i}]},Uo=Ro(),Vo=Ro(!0),zo=/^\d{4,}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+(?:[+-][0-2]\d:[0-5]\d|Z)$/,Ho=/^[a-z][a-z\d.+-]*:\/*(?:[^:@]+(?::[^@]+)?@)?(?:[^\s:\/?#]+|\[[a-f\d:]+\])(?::\d+)?(?:\/[^?#]*)?(?:\?[^#]*)?(?:#.*)?$/i,Yo=/^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+)*@[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*$/,qo=/^\s*(\-|\+)?(\d+|(\d*(\.\d*)))([eE][+-]?\d+)?\s*$/,Wo=/^(\d{4,})-(\d{2})-(\d{2})$/,Bo=/^(\d{4,})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,Go=/^(\d{4,})-W(\d\d)$/,Zo=/^(\d{4,})-(\d\d)$/,Qo=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,Jo="keydown wheel mousedown",Xo=pe();r("date,datetime-local,month,time,week".split(","),function(e){Xo[e]=!0});var Ko={text:pr,date:yr("date",Wo,vr(Wo,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":yr("datetimelocal",Bo,vr(Bo,["yyyy","MM","dd","HH","mm","ss","sss"]),"yyyy-MM-ddTHH:mm:ss.sss"),time:yr("time",Qo,vr(Qo,["HH","mm","ss","sss"]),"HH:mm:ss.sss"),week:yr("week",Go,gr,"yyyy-Www"),month:yr("month",Zo,vr(Zo,["yyyy","MM"]),"yyyy-MM"),number:br,url:wr,email:xr,radio:kr,checkbox:Sr,hidden:h,button:h,submit:h,reset:h,file:h},ea=["$browser","$sniffer","$filter","$parse",function(e,t,n,r){return{restrict:"E",require:["?ngModel"],link:{pre:function(i,o,a,s){s[0]&&(Ko[Fr(a.type)]||Ko.text)(i,o,a,s[0],t,e,n,r)}}}}],ta=/^(true|false|\d+)$/,na=function(){return{restrict:"A",priority:100,compile:function(e,t){return ta.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)})}}}},ra=["$compile",function(e){return{restrict:"AC",compile:function(t){return e.$$addBindingClass(t),function(t,n,r){e.$$addBindingInfo(n,r.ngBind),n=n[0],t.$watch(r.ngBind,function(e){n.textContent=v(e)?"":e})}}}}],ia=["$interpolate","$compile",function(e,t){return{compile:function(n){return t.$$addBindingClass(n),function(n,r,i){var o=e(r.attr(i.$attr.ngBindTemplate));t.$$addBindingInfo(r,o.expressions),r=r[0],i.$observe("ngBindTemplate",function(e){r.textContent=v(e)?"":e})}}}}],oa=["$sce","$parse","$compile",function(e,t,n){return{restrict:"A",compile:function(r,i){var o=t(i.ngBindHtml),a=t(i.ngBindHtml,function(t){return e.valueOf(t)});return n.$$addBindingClass(r),function(t,r,i){n.$$addBindingInfo(r,i.ngBindHtml),t.$watch(a,function(){var n=o(t);r.html(e.getTrustedHtml(n)||"")})}}}}],aa=m({restrict:"A",require:"ngModel",link:function(e,t,n,r){r.$viewChangeListeners.push(function(){e.$eval(n.ngChange)})}}),sa=_r("",!0),ua=_r("Odd",0),la=_r("Even",1),ca=cr({compile:function(e,t){t.$set("ngCloak",void 0),e.removeClass("ng-cloak")}}),fa=[function(){return{restrict:"A",scope:!0,controller:"@",priority:500}}],da={},ha={blur:!0,focus:!0};r("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),function(e){var t=gt("ng-"+e);da[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})};ha[e]&&r.$$phase?t.$evalAsync(i):t.$apply(i)})}}}}]});var pa=["$animate","$compile",function(e,t){return{multiElement:!0,transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(n,r,i,o,a){var s,u,l;n.$watch(i.ngIf,function(n){n?u||a(function(n,o){u=o,n[n.length++]=t.$$createComment("end ngIf",i.ngIf),s={clone:n},e.enter(n,r.parent(),r)}):(l&&(l.remove(),l=null),u&&(u.$destroy(),u=null),s&&(l=he(s.clone),e.leave(l).then(function(){l=null}),s=null))})}}}],ma=["$templateRequest","$anchorScroll","$animate",function(e,t,n){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:Br.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(){!y(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)})}}}}],ga=["$compile",function(t){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(n,r,i,o){return Yr.call(r[0]).match(/SVG/)?(r.empty(),void t(_e(o.template,e.document).childNodes)(n,function(e){r.append(e)},{futureParentElement:r})):(r.html(o.template),void t(r.contents())(n))}}}],va=cr({priority:450,compile:function(){return{pre:function(e,t,n){e.$eval(n.ngInit)}}}}),ya=function(){return{restrict:"A",priority:100,require:"ngModel",link:function(e,t,n,i){var o=t.attr(n.$attr.ngList)||", ",a="false"!==n.ngTrim,s=a?Jr(o):o,u=function(e){if(!v(e)){var t=[];return e&&r(e.split(s),function(e){e&&t.push(a?Jr(e):e)}),t}};i.$parsers.push(u),i.$formatters.push(function(e){if(Zr(e))return e.join(o)}),i.$isEmpty=function(e){return!e||!e.length}}}},$a="ng-valid",ba="ng-invalid",wa="ng-pristine",xa="ng-dirty",ka="ng-untouched",Ca="ng-touched",Sa="ng-pending",_a="ng-empty",Ea="ng-not-empty",Da=t("ngModel"),Ma=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate","$timeout","$rootScope","$q","$interpolate",function(e,t,n,i,o,a,s,u,l,c){this.$viewValue=Number.NaN,this.$modelValue=Number.NaN,this.$$rawModelValue=void 0,this.$validators={},this.$asyncValidators={},this.$parsers=[],this.$formatters=[],this.$viewChangeListeners=[],this.$untouched=!0,this.$touched=!1,this.$pristine=!0,this.$dirty=!1,this.$valid=!0,this.$invalid=!1,this.$error={},this.$$success={},this.$pending=void 0,this.$name=c(n.name||"",!1)(e),this.$$parentForm=Lo;var f,d=o(n.ngModel),p=d.assign,m=d,g=p,$=null,b=this;this.$$setOptions=function(e){if(b.$options=e,e&&e.getterSetter){var t=o(n.ngModel+"()"),r=o(n.ngModel+"($$$p)");m=function(e){var n=d(e);return C(n)&&(n=t(e)),n},g=function(e,t){C(d(e))?r(e,{$$$p:t}):p(e,t)}}else if(!d.assign)throw Da("nonassign","Expression '{0}' is non-assignable. Element: {1}",n.ngModel,Q(i))},this.$render=h,this.$isEmpty=function(e){return v(e)||""===e||null===e||e!==e},this.$$updateEmptyClasses=function(e){b.$isEmpty(e)?(a.removeClass(i,Ea),a.addClass(i,_a)):(a.removeClass(i,_a),a.addClass(i,Ea))};var w=0;Er({ctrl:this,$element:i,set:function(e,t){e[t]=!0; +},unset:function(e,t){delete e[t]},$animate:a}),this.$setPristine=function(){b.$dirty=!1,b.$pristine=!0,a.removeClass(i,xa),a.addClass(i,wa)},this.$setDirty=function(){b.$dirty=!0,b.$pristine=!1,a.removeClass(i,wa),a.addClass(i,xa),b.$$parentForm.$setDirty()},this.$setUntouched=function(){b.$touched=!1,b.$untouched=!0,a.setClass(i,ka,Ca)},this.$setTouched=function(){b.$touched=!0,b.$untouched=!1,a.setClass(i,Ca,ka)},this.$rollbackViewValue=function(){s.cancel($),b.$viewValue=b.$$lastCommittedViewValue,b.$render()},this.$validate=function(){if(!x(b.$modelValue)||!isNaN(b.$modelValue)){var e=b.$$lastCommittedViewValue,t=b.$$rawModelValue,n=b.$valid,r=b.$modelValue,i=b.$options&&b.$options.allowInvalid;b.$$runValidators(t,e,function(e){i||n===e||(b.$modelValue=e?t:void 0,b.$modelValue!==r&&b.$$writeModelToScope())})}},this.$$runValidators=function(e,t,n){function i(){var e=b.$$parserName||"parse";return v(f)?(s(e,null),!0):(f||(r(b.$validators,function(e,t){s(t,null)}),r(b.$asyncValidators,function(e,t){s(t,null)})),s(e,f),f)}function o(){var n=!0;return r(b.$validators,function(r,i){var o=r(e,t);n=n&&o,s(i,o)}),!!n||(r(b.$asyncValidators,function(e,t){s(t,null)}),!1)}function a(){var n=[],i=!0;r(b.$asyncValidators,function(r,o){var a=r(e,t);if(!O(a))throw Da("nopromise","Expected asynchronous validator to return a promise but got '{0}' instead.",a);s(o,void 0),n.push(a.then(function(){s(o,!0)},function(){i=!1,s(o,!1)}))}),n.length?l.all(n).then(function(){u(i)},h):u(!0)}function s(e,t){c===w&&b.$setValidity(e,t)}function u(e){c===w&&n(e)}w++;var c=w;return i()&&o()?void a():void u(!1)},this.$commitViewValue=function(){var e=b.$viewValue;s.cancel($),(b.$$lastCommittedViewValue!==e||""===e&&b.$$hasNativeValidators)&&(b.$$updateEmptyClasses(e),b.$$lastCommittedViewValue=e,b.$pristine&&this.$setDirty(),this.$$parseAndValidate())},this.$$parseAndValidate=function(){function t(){b.$modelValue!==o&&b.$$writeModelToScope()}var n=b.$$lastCommittedViewValue,r=n;if(f=!v(r)||void 0)for(var i=0;i=0;t--){var r=k.items[t];He(y(r.group)?r.element.parentNode:r.element)}k=C.getOptions();var i={};if(w&&n.prepend(h),k.items.forEach(function(e){var t;y(e.group)?(t=i[e.group],t||(t=l.cloneNode(!1),S.appendChild(t),t.label=null===e.group?"null":e.group,i[e.group]=t),c(e,t)):c(e,S)}),n[0].appendChild(S),m.$render(),!m.$isEmpty(e)){var o=p.readValue(),a=C.trackBy||g;(a?U(e,o):e===o)||(m.$setViewValue(o),m.$render())}}for(var h,p=s[0],m=s[1],g=o.multiple,v=0,$=n.children(),b=$.length;v0&&(e=new RegExp("^"+e+"$")),e&&!e.test)throw t("ngPattern")("noregexp","Expected {0} to be a RegExp but was {1}. Element: {2}",a,e,Q(n));o=e||void 0,i.$validate()}),i.$validators.pattern=function(e,t){return i.$isEmpty(t)||v(o)||o.test(t)}}}}},rs=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i=-1;n.$observe("maxlength",function(e){var t=f(e);i=isNaN(t)?-1:t,r.$validate()}),r.$validators.maxlength=function(e,t){return i<0||r.$isEmpty(t)||t.length<=i}}}}},is=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i=0;n.$observe("minlength",function(e){i=f(e)||0,r.$validate()}),r.$validators.minlength=function(e,t){return r.$isEmpty(t)||t.length>=i}}}}};return e.angular.bootstrap?void e.console:(ue(),$e(Br),Br.module("ngLocale",[],["$provide",function(e){function t(e){e+="";var t=e.indexOf(".");return t==-1?0:e.length-t-1}function n(e,n){var r=n;void 0===r&&(r=Math.min(t(e),3));var i=Math.pow(10,r),o=(e*i|0)%i;return{v:r,f:o}}var r={ZERO:"zero",ONE:"one",TWO:"two",FEW:"few",MANY:"many",OTHER:"other"};e.value("$locale",{DATETIME_FORMATS:{AMPMS:["AM","PM"],DAY:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],ERANAMES:["Before Christ","Anno Domini"],ERAS:["BC","AD"],FIRSTDAYOFWEEK:6,MONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],SHORTDAY:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],SHORTMONTH:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],STANDALONEMONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],WEEKENDRANGE:[5,6],fullDate:"EEEE, MMMM d, y",longDate:"MMMM d, y",medium:"MMM d, y h:mm:ss a",mediumDate:"MMM d, y",mediumTime:"h:mm:ss a","short":"M/d/yy h:mm a",shortDate:"M/d/yy",shortTime:"h:mm a"},NUMBER_FORMATS:{CURRENCY_SYM:"$",DECIMAL_SEP:".",GROUP_SEP:",",PATTERNS:[{gSize:3,lgSize:3,maxFrac:3,minFrac:0,minInt:1,negPre:"-",negSuf:"",posPre:"",posSuf:""},{gSize:3,lgSize:3,maxFrac:2,minFrac:2,minInt:1,negPre:"-¤",negSuf:"",posPre:"¤",posSuf:""}]},id:"en-us",localeID:"en_US",pluralCat:function(e,t){var i=0|e,o=n(e,t);return 1==i&&0==o.v?r.ONE:r.OTHER}})}]),void jr(e.document).ready(function(){re(e.document,ie)}))}(window),!window.angular.$$csp().noInlineStyle&&window.angular.element(document.head).prepend('')},{}],9:[function(e,t,n){e("./angular"),t.exports=angular},{"./angular":8}],10:[function(e,t,n){(function(){var e,n,r,i,o,a,s,u,l=[].slice,c={}.hasOwnProperty,f=function(e,t){function n(){this.constructor=e}for(var r in t)c.call(t,r)&&(e[r]=t[r]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e};s=function(){},n=function(){function e(){}return e.prototype.addEventListener=e.prototype.on,e.prototype.on=function(e,t){return this._callbacks=this._callbacks||{},this._callbacks[e]||(this._callbacks[e]=[]),this._callbacks[e].push(t),this},e.prototype.emit=function(){var e,t,n,r,i,o;if(r=arguments[0],e=2<=arguments.length?l.call(arguments,1):[],this._callbacks=this._callbacks||{},n=this._callbacks[r])for(i=0,o=n.length;i
    '),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;o'+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;s\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;o'+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;i',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;n0){for(a=["TB","GB","MB","KB","b"],n=s=0,u=a.length;s=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;n0){for(o=0,a=n.length;o1024*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;n=t)&&(r=this.getQueuedFiles(),r.length>0)){if(this.options.uploadMultiple)return this.processFiles(r.slice(0,t-n));for(;e=L;c=0<=L?++A:--A)o.append(this._getParamName(c),e[c],this._renameFilename(e[c].name));return this.submitRequest(x,o,e)},t.prototype.submitRequest=function(e,t,n){return e.send(t)},t.prototype._finished=function(e,n,r){var i,o,a;for(o=0,a=e.length;oc;)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){if("readystatechange"!==n.type||"complete"===r.readyState)return("load"===n.type?e:r)[u](s+n.type,o,!1),!i&&(i=!0)?t.call(e,n.type||n):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(){if(e.autoDiscover)return e.discover()},i(window,e._autoDiscoverFunction)}).call(this)},{}],11:[function(e,t,n){(function(e){(function(){function e(e){this.tokens=[],this.tokens.links={},this.options=e||f.defaults,this.rules=d.normal,this.options.gfm&&(this.options.tables?this.rules=d.tables:this.rules=d.gfm)}function r(e,t){if(this.options=t||f.defaults,this.links=e,this.rules=h.normal,this.renderer=this.options.renderer||new i,this.renderer.options=this.options,!this.links)throw new Error("Tokens array requires a `links` property.");this.options.gfm?this.options.breaks?this.rules=h.breaks:this.rules=h.gfm:this.options.pedantic&&(this.rules=h.pedantic)}function i(e){this.options=e||{}}function o(e){this.tokens=[],this.token=null,this.options=e||f.defaults,this.options.renderer=this.options.renderer||new i,this.renderer=this.options.renderer,this.renderer.options=this.options}function a(e,t){return e.replace(t?/&/g:/&(?!#?\w+;)/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function s(e){return e.replace(/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\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;c1&&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;i.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 vr)r=vr[n],i=t[r],g(i)||(e[r]=i);return e}function y(e){v(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),yr===!1&&(yr=!0,n.updateOffset(this),yr=!1)}function $(e){return e instanceof y||null!=e&&null!=e._isAMomentObject}function b(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function w(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=b(t)),n}function x(e,t,n){var r,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(r=0;r0?"future":"past"];return _(n)?n(t):n.replace(/%s/i,t)}function P(e,t){var n=e.toLowerCase();Dr[n]=Dr[n+"s"]=Dr[t]=e}function L(e){return"string"==typeof e?Dr[e]||Dr[e.toLowerCase()]:void 0}function j(e){var t,n,r={};for(n in e)l(e,n)&&(t=L(n),t&&(r[t]=e[n]));return r}function R(e,t){Mr[e]=t}function U(e){var t=[];for(var n in e)t.push({unit:n,priority:Mr[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}function V(e,t){return function(r){return null!=r?(H(this,e,r),n.updateOffset(this,t),this):z(this,e)}}function z(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function H(e,t,n){e.isValid()&&e._d["set"+(e._isUTC?"UTC":"")+t](n)}function Y(e){return e=L(e),_(this[e])?this[e]():this}function q(e,t){if("object"==typeof e){e=j(e);for(var n=U(e),r=0;r=0;return(o?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}function B(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(Fr[e]=i),t&&(Fr[t[0]]=function(){return W(i.apply(this,arguments),t[1],t[2])}),n&&(Fr[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function G(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function Z(e){var t,n,r=e.match(Tr);for(t=0,n=r.length;t=0&&Ar.test(e);)e=e.replace(Ar,n),Ar.lastIndex=0,r-=1;return e}function X(e,t,n){Jr[e]=_(t)?t:function(e,r){return e&&n?n:t}}function K(e,t){return l(Jr,e)?Jr[e](t._strict,t._locale):new RegExp(ee(e))}function ee(e){return te(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i}))}function te(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function ne(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),"number"==typeof t&&(r=function(e,n){n[t]=w(e)}),n=0;n=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}function be(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function we(e,t,n){var r=7+t-n,i=(7+be(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 l<=0?(o=e-1,a=ge(o)+l):l>ge(e)?(o=e+1,a=l-ge(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 a<1?(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(ge(e)-r+i)/7}function Se(e){return ke(e,this._week.dow,this._week.doy).week}function _e(){return this._week.dow}function Ee(){return this._week.doy}function De(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Me(e){var t=ke(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Te(e,t){return"string"!=typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"==typeof e?e:null):parseInt(e,10)}function Ae(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Oe(e,t){return e?i(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:this._weekdays}function Fe(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Ie(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Ne(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=f([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?(i=wr.call(this._weekdaysParse,a),i!==-1?i:null):"ddd"===t?(i=wr.call(this._shortWeekdaysParse,a),i!==-1?i:null):(i=wr.call(this._minWeekdaysParse,a),i!==-1?i:null):"dddd"===t?(i=wr.call(this._weekdaysParse,a),i!==-1?i:(i=wr.call(this._shortWeekdaysParse,a),i!==-1?i:(i=wr.call(this._minWeekdaysParse,a),i!==-1?i:null))):"ddd"===t?(i=wr.call(this._shortWeekdaysParse,a),i!==-1?i:(i=wr.call(this._weekdaysParse,a),i!==-1?i:(i=wr.call(this._minWeekdaysParse,a),i!==-1?i:null))):(i=wr.call(this._minWeekdaysParse,a),i!==-1?i:(i=wr.call(this._weekdaysParse,a),i!==-1?i:(i=wr.call(this._shortWeekdaysParse,a),i!==-1?i:null)))}function Pe(e,t,n){var r,i,o;if(this._weekdaysParseExact)return Ne.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=f([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 Le(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Te(e,this.localeData()),this.add(e-t,"d")):t}function je(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 Re(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Ae(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Ue(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||He.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(l(this,"_weekdaysRegex")||(this._weekdaysRegex=yi),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Ve(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||He.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(l(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=$i),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function ze(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||He.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(l(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=bi),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function He(){function e(e,t){return t.length-e.length}var t,n,r,i,o,a=[],s=[],u=[],l=[];for(t=0;t<7;t++)n=f([2e3,1]).day(t),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),o=this.weekdays(n,""),a.push(r),s.push(i),u.push(o),l.push(r),l.push(i),l.push(o);for(a.sort(e),s.sort(e),u.sort(e),l.sort(e),t=0;t<7;t++)s[t]=te(s[t]),u[t]=te(u[t]),l[t]=te(l[t]);this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Ye(){return this.hours()%12||12}function qe(){return this.hours()||24}function We(e,t){B(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function Be(e,t){return t._meridiemParse}function Ge(e){return"p"===(e+"").toLowerCase().charAt(0)}function Ze(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}function Qe(e){return e?e.toLowerCase().replace("_","-"):e}function Je(e){for(var t,n,r,i,o=0;o0;){if(r=Xe(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&x(i,n,!0)>=t-1)break;t--}o++}return null}function Xe(n){var r=null;if(!Si[n]&&"undefined"!=typeof t&&t&&t.exports)try{r=wi._abbr,e("./locale/"+n),Ke(r)}catch(i){}return Si[n]}function Ke(e,t){var n;return e&&(n=g(t)?nt(e):et(e,t),n&&(wi=n)),wi._abbr}function et(e,t){if(null!==t){var n=Ci;return t.abbr=e,null!=Si[e]?(S("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=Si[e]._config):null!=t.parentLocale&&(null!=Si[t.parentLocale]?n=Si[t.parentLocale]._config:S("parentLocaleUndefined","specified parentLocale is not defined yet. See http://momentjs.com/guides/#/warnings/parent-locale/")),Si[e]=new M(D(n,t)),Ke(e),Si[e]}return delete Si[e],null}function tt(e,t){if(null!=t){var n,r=Ci;null!=Si[e]&&(r=Si[e]._config),t=D(r,t),n=new M(t),n.parentLocale=Si[e],Si[e]=n,Ke(e)}else null!=Si[e]&&(null!=Si[e].parentLocale?Si[e]=Si[e].parentLocale:null!=Si[e]&&delete Si[e]);return Si[e]}function nt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return wi;if(!i(e)){if(t=Xe(e))return t;e=[e]}return Je(e)}function rt(){return br(Si)}function it(e){var t,n=e._a;return n&&h(e).overflow===-2&&(t=n[ei]<0||n[ei]>11?ei:n[ti]<1||n[ti]>oe(n[Kr],n[ei])?ti:n[ni]<0||n[ni]>24||24===n[ni]&&(0!==n[ri]||0!==n[ii]||0!==n[oi])?ni:n[ri]<0||n[ri]>59?ri:n[ii]<0||n[ii]>59?ii:n[oi]<0||n[oi]>999?oi:-1,h(e)._overflowDayOfYear&&(tti)&&(t=ti),h(e)._overflowWeeks&&t===-1&&(t=ai),h(e)._overflowWeekday&&t===-1&&(t=si),h(e).overflow=t),e}function ot(e){var t,n,r,i,o,a,s=e._i,u=_i.exec(s)||Ei.exec(s);if(u){for(h(e).iso=!0,t=0,n=Mi.length;tge(i)&&(h(e)._overflowDayOfYear=!0),n=be(i,0,e._dayOfYear),e._a[ei]=n.getUTCMonth(),e._a[ti]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=o[t]=r[t];for(;t<7;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[ni]&&0===e._a[ri]&&0===e._a[ii]&&0===e._a[oi]&&(e._nextDay=!0,e._a[ni]=0),e._d=(e._useUTC?be:$e).apply(null,o),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[ni]=24)}}function ct(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=st(t.GG,e._a[Kr],ke($t(),1,4).year),r=st(t.W,1),i=st(t.E,1),(i<1||i>7)&&(u=!0)):(o=e._locale._week.dow,a=e._locale._week.doy,n=st(t.gg,e._a[Kr],ke($t(),o,a).year),r=st(t.w,1),null!=t.d?(i=t.d,(i<0||i>6)&&(u=!0)):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(u=!0)):i=o),r<1||r>Ce(n,o,a)?h(e)._overflowWeeks=!0:null!=u?h(e)._overflowWeekday=!0:(s=xe(n,r,i,o,a),e._a[Kr]=s.year,e._dayOfYear=s.dayOfYear)}function ft(e){if(e._f===n.ISO_8601)return void ot(e);e._a=[],h(e).empty=!0;var t,r,i,o,a,s=""+e._i,u=s.length,l=0;for(i=J(e._f,e._locale).match(Tr)||[],t=0;t0&&h(e).unusedInput.push(a),s=s.slice(s.indexOf(r)+r.length),l+=r.length),Fr[o]?(r?h(e).empty=!1:h(e).unusedTokens.push(o),ie(o,r,e)):e._strict&&!r&&h(e).unusedTokens.push(o);h(e).charsLeftOver=u-l,s.length>0&&h(e).unusedInput.push(s),e._a[ni]<=12&&h(e).bigHour===!0&&e._a[ni]>0&&(h(e).bigHour=void 0),h(e).parsedDateParts=e._a.slice(0),h(e).meridiem=e._meridiem,e._a[ni]=dt(e._locale,e._a[ni],e._meridiem),lt(e),it(e)}function dt(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(r=e.isPM(n),r&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function ht(e){var t,n,r,i,o;if(0===e._f.length)return h(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;ithis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Lt(){if(!g(this._isDSTShifted))return this._isDSTShifted;var e={};if(v(e,this),e=gt(e),e._a){var t=e._isUTC?f(e._a):$t(e._a);this._isDSTShifted=this.isValid()&&x(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function jt(){return!!this.isValid()&&!this._isUTC}function Rt(){return!!this.isValid()&&this._isUTC}function Ut(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function Vt(e,t){var n,r,i,o=e,a=null;return Ct(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:"number"==typeof e?(o={},t?o[t]=e:o.milliseconds=e):(a=Pi.exec(e))?(n="-"===a[1]?-1:1,o={y:0,d:w(a[ti])*n,h:w(a[ni])*n,m:w(a[ri])*n,s:w(a[ii])*n,ms:w(St(1e3*a[oi]))*n}):(a=Li.exec(e))?(n="-"===a[1]?-1:1,o={y:zt(a[2],n),M:zt(a[3],n),w:zt(a[4],n),d:zt(a[5],n),h:zt(a[6],n),m:zt(a[7],n),s:zt(a[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(i=Yt($t(o.from),$t(o.to)),o={},o.ms=i.milliseconds,o.M=i.months),r=new kt(o),Ct(e)&&l(e,"_locale")&&(r._locale=e._locale),r}function zt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Ht(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 Yt(e,t){var n;return e.isValid()&&t.isValid()?(t=Dt(t,e),e.isBefore(t)?n=Ht(e,t):(n=Ht(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function qt(e,t){return function(n,r){var i,o;return null===r||isNaN(+r)||(S(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),n="string"==typeof n?+n:n, +i=Vt(n,r),Wt(this,i,e),this}}function Wt(e,t,r,i){var o=t._milliseconds,a=St(t._days),s=St(t._months);e.isValid()&&(i=null==i||i,o&&e._d.setTime(e._d.valueOf()+o*r),a&&H(e,"Date",z(e,"Date")+a*r),s&&ce(e,z(e,"Month")+s*r),i&&n.updateOffset(e,a||s))}function Bt(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Gt(e,t){var r=e||$t(),i=Dt(r,this).startOf("day"),o=n.calendarFormat(this,i)||"sameElse",a=t&&(_(t[o])?t[o].call(this,r):t[o]);return this.format(a||this.localeData().calendar(o,this,$t(r)))}function Zt(){return new y(this)}function Qt(e,t){var n=$(e)?e:$t(e);return!(!this.isValid()||!n.isValid())&&(t=L(g(t)?"millisecond":t),"millisecond"===t?this.valueOf()>n.valueOf():n.valueOf()o&&(t=o),On.call(this,e,t,n,r,i))}function On(e,t,n,r,i){var o=xe(e,t,n,r,i),a=be(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function Fn(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function In(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 Nn(e,t){t[oi]=w(1e3*("0."+e))}function Pn(){return this._isUTC?"UTC":""}function Ln(){return this._isUTC?"Coordinated Universal Time":""}function jn(e){return $t(1e3*e)}function Rn(){return $t.apply(null,arguments).parseZone()}function Un(e){return e}function Vn(e,t,n,r){var i=nt(),o=f().set(r,t);return i[n](o,e)}function zn(e,t,n){if("number"==typeof e&&(t=e,e=void 0),e=e||"",null!=t)return Vn(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=Vn(e,r,n,"month");return i}function Hn(e,t,n,r){"boolean"==typeof e?("number"==typeof t&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,"number"==typeof t&&(n=t,t=void 0),t=t||"");var i=nt(),o=e?i._week.dow:0;if(null!=n)return Vn(t,(n+o)%7,r,"day");var a,s=[];for(a=0;a<7;a++)s[a]=Vn(t,(a+o)%7,r,"day");return s}function Yn(e,t){return zn(e,t,"months")}function qn(e,t){return zn(e,t,"monthsShort")}function Wn(e,t,n){return Hn(e,t,n,"weekdays")}function Bn(e,t,n){return Hn(e,t,n,"weekdaysShort")}function Gn(e,t,n){return Hn(e,t,n,"weekdaysMin")}function Zn(){var e=this._data;return this._milliseconds=Zi(this._milliseconds),this._days=Zi(this._days),this._months=Zi(this._months),e.milliseconds=Zi(e.milliseconds),e.seconds=Zi(e.seconds),e.minutes=Zi(e.minutes),e.hours=Zi(e.hours),e.months=Zi(e.months),e.years=Zi(e.years),this}function Qn(e,t,n,r){var i=Vt(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function Jn(e,t){return Qn(this,e,t,1)}function Xn(e,t){return Qn(this,e,t,-1)}function Kn(e){return e<0?Math.floor(e):Math.ceil(e)}function er(){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||o<=0&&a<=0&&s<=0||(o+=864e5*Kn(nr(s)+a),a=0,s=0),u.milliseconds=o%1e3,e=b(o/1e3),u.seconds=e%60,t=b(e/60),u.minutes=t%60,n=b(t/60),u.hours=n%24,a+=b(n/24),i=b(tr(a)),s+=i,a-=Kn(nr(i)),r=b(s/12),s%=12,u.days=a,u.months=s,u.years=r,this}function tr(e){return 4800*e/146097}function nr(e){return 146097*e/4800}function rr(e){var t,n,r=this._milliseconds;if(e=L(e),"month"===e||"year"===e)return t=this._days+r/864e5,n=this._months+tr(t),"month"===e?n:n/12;switch(t=this._days+Math.round(nr(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 ir(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*w(this._months/12)}function or(e){return function(){return this.as(e)}}function ar(e){return e=L(e),this[e+"s"]()}function sr(e){return function(){return this._data[e]}}function ur(){return b(this.days()/7)}function lr(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function cr(e,t,n){var r=Vt(e).abs(),i=fo(r.as("s")),o=fo(r.as("m")),a=fo(r.as("h")),s=fo(r.as("d")),u=fo(r.as("M")),l=fo(r.as("y")),c=i0,c[4]=n,lr.apply(null,c)}function fr(e){return void 0===e?fo:"function"==typeof e&&(fo=e,!0)}function dr(e,t){return void 0!==ho[e]&&(void 0===t?ho[e]:(ho[e]=t,!0))}function hr(e){var t=this.localeData(),n=cr(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function pr(){var e,t,n,r=po(this._milliseconds)/1e3,i=po(this._days),o=po(this._months);e=b(r/60),t=b(e/60),r%=60,e%=60,n=b(o/12),o%=12;var a=n,s=o,u=i,l=t,c=e,f=r,d=this.asSeconds();return d?(d<0?"-":"")+"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 mr,gr;gr=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;r68?1900:2e3)};var hi=V("FullYear",!0);B("w",["ww",2],"wo","week"),B("W",["WW",2],"Wo","isoWeek"),P("week","w"),P("isoWeek","W"),R("week",5),R("isoWeek",5),X("w",Rr),X("ww",Rr,Nr),X("W",Rr),X("WW",Rr,Nr),re(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=w(e)});var pi={dow:0,doy:6};B("d",0,"do","day"),B("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),B("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),B("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),B("e",0,0,"weekday"),B("E",0,0,"isoWeekday"),P("day","d"),P("weekday","e"),P("isoWeekday","E"),R("day",11),R("weekday",11),R("isoWeekday",11),X("d",Rr),X("e",Rr),X("E",Rr),X("dd",function(e,t){return t.weekdaysMinRegex(e)}),X("ddd",function(e,t){return t.weekdaysShortRegex(e)}),X("dddd",function(e,t){return t.weekdaysRegex(e)}),re(["dd","ddd","dddd"],function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:h(n).invalidWeekday=e}),re(["d","e","E"],function(e,t,n,r){t[r]=w(e)});var mi="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),gi="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),vi="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),yi=Qr,$i=Qr,bi=Qr;B("H",["HH",2],0,"hour"),B("h",["hh",2],0,Ye),B("k",["kk",2],0,qe),B("hmm",0,0,function(){return""+Ye.apply(this)+W(this.minutes(),2)}),B("hmmss",0,0,function(){return""+Ye.apply(this)+W(this.minutes(),2)+W(this.seconds(),2)}),B("Hmm",0,0,function(){return""+this.hours()+W(this.minutes(),2)}),B("Hmmss",0,0,function(){return""+this.hours()+W(this.minutes(),2)+W(this.seconds(),2)}),We("a",!0),We("A",!1),P("hour","h"),R("hour",13),X("a",Be),X("A",Be),X("H",Rr),X("h",Rr),X("HH",Rr,Nr),X("hh",Rr,Nr),X("hmm",Ur),X("hmmss",Vr),X("Hmm",Ur),X("Hmmss",Vr),ne(["H","HH"],ni),ne(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ne(["h","hh"],function(e,t,n){t[ni]=w(e),h(n).bigHour=!0}),ne("hmm",function(e,t,n){var r=e.length-2;t[ni]=w(e.substr(0,r)),t[ri]=w(e.substr(r)),h(n).bigHour=!0}),ne("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[ni]=w(e.substr(0,r)),t[ri]=w(e.substr(r,2)),t[ii]=w(e.substr(i)),h(n).bigHour=!0}),ne("Hmm",function(e,t,n){var r=e.length-2;t[ni]=w(e.substr(0,r)),t[ri]=w(e.substr(r))}),ne("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[ni]=w(e.substr(0,r)),t[ri]=w(e.substr(r,2)),t[ii]=w(e.substr(i))});var wi,xi=/[ap]\.?m?\.?/i,ki=V("Hours",!0),Ci={calendar:xr,longDateFormat:kr,invalidDate:Cr,ordinal:Sr,ordinalParse:_r,relativeTime:Er,months:li,monthsShort:ci,week:pi,weekdays:mi,weekdaysMin:vi,weekdaysShort:gi,meridiemParse:xi},Si={},_i=/^\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)?)?/,Ei=/^\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)?)?/,Di=/Z|[+-]\d\d(?::?\d\d)?/,Mi=[["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}/]],Ti=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Ai=/^\/?Date\((\-?\d+)/i;n.createFromInputFallback=C("value provided is not in a recognized ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),n.ISO_8601=function(){};var Oi=C("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=$t.apply(null,arguments);return this.isValid()&&e.isValid()?ethis?this:e:m()}),Ii=function(){return Date.now?Date.now():+new Date};_t("Z",":"),_t("ZZ",""),X("Z",Gr),X("ZZ",Gr),ne(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Et(Gr,e)});var Ni=/([\+\-]|\d\d)/gi;n.updateOffset=function(){};var Pi=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Li=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;Vt.fn=kt.prototype;var ji=qt(1,"add"),Ri=qt(-1,"subtract");n.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",n.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Ui=C("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)});B(0,["gg",2],0,function(){return this.weekYear()%100}),B(0,["GG",2],0,function(){return this.isoWeekYear()%100}),_n("gggg","weekYear"),_n("ggggg","weekYear"),_n("GGGG","isoWeekYear"),_n("GGGGG","isoWeekYear"),P("weekYear","gg"),P("isoWeekYear","GG"),R("weekYear",1),R("isoWeekYear",1),X("G",Wr),X("g",Wr),X("GG",Rr,Nr),X("gg",Rr,Nr),X("GGGG",Hr,Lr),X("gggg",Hr,Lr),X("GGGGG",Yr,jr),X("ggggg",Yr,jr),re(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=w(e)}),re(["gg","GG"],function(e,t,r,i){t[i]=n.parseTwoDigitYear(e)}),B("Q",0,"Qo","quarter"),P("quarter","Q"),R("quarter",7),X("Q",Ir),ne("Q",function(e,t){t[ei]=3*(w(e)-1)}),B("D",["DD",2],"Do","date"),P("date","D"),R("date",9),X("D",Rr),X("DD",Rr,Nr),X("Do",function(e,t){return e?t._ordinalParse:t._ordinalParseLenient}),ne(["D","DD"],ti),ne("Do",function(e,t){t[ti]=w(e.match(Rr)[0],10)});var Vi=V("Date",!0);B("DDD",["DDDD",3],"DDDo","dayOfYear"),P("dayOfYear","DDD"),R("dayOfYear",4),X("DDD",zr),X("DDDD",Pr),ne(["DDD","DDDD"],function(e,t,n){n._dayOfYear=w(e)}),B("m",["mm",2],0,"minute"),P("minute","m"),R("minute",14),X("m",Rr),X("mm",Rr,Nr),ne(["m","mm"],ri);var zi=V("Minutes",!1);B("s",["ss",2],0,"second"),P("second","s"),R("second",15),X("s",Rr),X("ss",Rr,Nr),ne(["s","ss"],ii);var Hi=V("Seconds",!1);B("S",0,0,function(){return~~(this.millisecond()/100)}),B(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),B(0,["SSS",3],0,"millisecond"),B(0,["SSSS",4],0,function(){return 10*this.millisecond()}),B(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),B(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),B(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),B(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),B(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),P("millisecond","ms"),R("millisecond",16),X("S",zr,Ir),X("SS",zr,Nr),X("SSS",zr,Pr);var Yi;for(Yi="SSSS";Yi.length<=9;Yi+="S")X(Yi,qr);for(Yi="S";Yi.length<=9;Yi+="S")ne(Yi,Nn);var qi=V("Milliseconds",!1);B("z",0,0,"zoneAbbr"),B("zz",0,0,"zoneName");var Wi=y.prototype;Wi.add=ji,Wi.calendar=Gt,Wi.clone=Zt,Wi.diff=nn,Wi.endOf=mn,Wi.format=sn,Wi.from=un,Wi.fromNow=ln,Wi.to=cn,Wi.toNow=fn,Wi.get=Y,Wi.invalidAt=Cn,Wi.isAfter=Qt,Wi.isBefore=Jt,Wi.isBetween=Xt,Wi.isSame=Kt,Wi.isSameOrAfter=en,Wi.isSameOrBefore=tn,Wi.isValid=xn,Wi.lang=Ui,Wi.locale=dn,Wi.localeData=hn,Wi.max=Fi,Wi.min=Oi,Wi.parsingFlags=kn,Wi.set=q,Wi.startOf=pn,Wi.subtract=Ri,Wi.toArray=$n,Wi.toObject=bn,Wi.toDate=yn,Wi.toISOString=an,Wi.toJSON=wn,Wi.toString=on,Wi.unix=vn,Wi.valueOf=gn,Wi.creationData=Sn,Wi.year=hi,Wi.isLeapYear=ye,Wi.weekYear=En,Wi.isoWeekYear=Dn,Wi.quarter=Wi.quarters=Fn,Wi.month=fe,Wi.daysInMonth=de,Wi.week=Wi.weeks=De,Wi.isoWeek=Wi.isoWeeks=Me,Wi.weeksInYear=Tn,Wi.isoWeeksInYear=Mn,Wi.date=Vi,Wi.day=Wi.days=Le,Wi.weekday=je,Wi.isoWeekday=Re,Wi.dayOfYear=In,Wi.hour=Wi.hours=ki,Wi.minute=Wi.minutes=zi,Wi.second=Wi.seconds=Hi,Wi.millisecond=Wi.milliseconds=qi,Wi.utcOffset=Tt,Wi.utc=Ot,Wi.local=Ft,Wi.parseZone=It,Wi.hasAlignedHourOffset=Nt,Wi.isDST=Pt,Wi.isLocal=jt,Wi.isUtcOffset=Rt,Wi.isUtc=Ut,Wi.isUTC=Ut,Wi.zoneAbbr=Pn,Wi.zoneName=Ln,Wi.dates=C("dates accessor is deprecated. Use date instead.",Vi),Wi.months=C("months accessor is deprecated. Use month instead",fe),Wi.years=C("years accessor is deprecated. Use year instead",hi),Wi.zone=C("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",At),Wi.isDSTShifted=C("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Lt);var Bi=Wi,Gi=M.prototype;Gi.calendar=T,Gi.longDateFormat=A,Gi.invalidDate=O,Gi.ordinal=F,Gi.preparse=Un,Gi.postformat=Un,Gi.relativeTime=I,Gi.pastFuture=N,Gi.set=E,Gi.months=ae,Gi.monthsShort=se,Gi.monthsParse=le,Gi.monthsRegex=pe,Gi.monthsShortRegex=he,Gi.week=Se,Gi.firstDayOfYear=Ee,Gi.firstDayOfWeek=_e,Gi.weekdays=Oe,Gi.weekdaysMin=Ie,Gi.weekdaysShort=Fe,Gi.weekdaysParse=Pe,Gi.weekdaysRegex=Ue,Gi.weekdaysShortRegex=Ve,Gi.weekdaysMinRegex=ze,Gi.isPM=Ge,Gi.meridiem=Ze,Ke("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===w(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),n.lang=C("moment.lang is deprecated. Use moment.locale instead.",Ke),n.langData=C("moment.langData is deprecated. Use moment.localeData instead.",nt);var Zi=Math.abs,Qi=or("ms"),Ji=or("s"),Xi=or("m"),Ki=or("h"),eo=or("d"),to=or("w"),no=or("M"),ro=or("y"),io=sr("milliseconds"),oo=sr("seconds"),ao=sr("minutes"),so=sr("hours"),uo=sr("days"),lo=sr("months"),co=sr("years"),fo=Math.round,ho={s:45,m:45,h:22,d:26,M:11},po=Math.abs,mo=kt.prototype;mo.abs=Zn,mo.add=Jn,mo.subtract=Xn,mo.as=rr,mo.asMilliseconds=Qi,mo.asSeconds=Ji,mo.asMinutes=Xi,mo.asHours=Ki,mo.asDays=eo,mo.asWeeks=to,mo.asMonths=no,mo.asYears=ro,mo.valueOf=ir,mo._bubble=er,mo.get=ar,mo.milliseconds=io,mo.seconds=oo,mo.minutes=ao,mo.hours=so,mo.days=uo,mo.weeks=ur,mo.months=lo,mo.years=co,mo.humanize=hr,mo.toISOString=pr,mo.toString=pr,mo.toJSON=pr,mo.locale=dn,mo.localeData=hn,mo.toIsoString=C("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",pr),mo.lang=Ui,B("X",0,0,"unix"),B("x",0,0,"valueOf"),X("x",Wr),X("X",Zr),ne("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),ne("x",function(e,t,n){n._d=new Date(w(e))}),n.version="2.15.2",r($t),n.fn=Bi,n.min=wt,n.max=xt,n.now=Ii,n.utc=f,n.unix=jn,n.months=Yn,n.isDate=s,n.locale=Ke,n.invalid=m,n.duration=Vt,n.isMoment=$,n.weekdays=Wn,n.parseZone=Rn,n.localeData=nt,n.isDuration=Ct,n.monthsShort=qn,n.weekdaysMin=Gn,n.defineLocale=et,n.updateLocale=tt,n.locales=rt,n.weekdaysShort=Bn,n.normalizeUnits=L,n.relativeTimeRounding=fr,n.relativeTimeThreshold=dr,n.calendarFormat=Bt,n.prototype=Bi;var go=n;return go})},{}],14:[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,y=a.Number.parseFloat||a.parseFloat,$=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;e=0&&(q=l(function(){"boolean"!=typeof U.deactivated&&(U.deactivated=!0),U.deactivated===!0&&Ge.emit({type:"error",name:"flash-deactivated"})},t)),U.overdue=!1,De()}},se=function(){Ge.clearData(),Ge.blur(),Ge.emit("destroy"),Me(),Ge.off()},ue=function(e,t){var n;if("object"==typeof e&&e&&"undefined"==typeof t)n=e,Ge.clearData();else{if("string"!=typeof e||!e)return;n={},n[e]=t}for(var r in n)"string"==typeof r&&r&&k.call(n,r)&&"string"==typeof n[r]&&n[r]&&(H[r]=n[r])},le=function(e){"undefined"==typeof e?(A(H),Y=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&&(je(i,X.activeClass),i!==e&&je(i,X.hoverClass)),i=e,Le(e,X.hoverClass);var t=e.getAttribute("title")||X.title;if("string"==typeof t&&t){var n=Ee(U.bridge);n&&n.setAttribute("title",t)}var r=X.forceHandCursor===!0||"pointer"===Re(e,"cursor");Ye(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&&(je(i,X.hoverClass),je(i,X.activeClass),i=null)},he=function(){return i||null},pe=function(e){return"string"==typeof e&&e&&/^[A-Za-z][A-Za-z0-9_:\-\.]*$/.test(e)},me=function(e){var t;if("string"==typeof e&&e?(t=e,e={}):"object"==typeof e&&e&&"string"==typeof e.type&&e.type&&(t=e.type),t){t=t.toLowerCase(),!e.target&&(/^(copy|aftercopy|_click)$/.test(t)||"error"===t&&"clipboard-error"===e.name)&&(e.target=o),E(e,{type:t,target:e.target||i||null,relatedTarget:e.relatedTarget||null,currentTarget:U&&U.bridge||null,timeStamp:e.timeStamp||b()||null});var n=B[e.type];return"error"===e.type&&e.name&&n&&(n=n[e.name]),n&&(e.message=n),"ready"===e.type&&E(e,{target:null,version:U.version}),"error"===e.type&&(Q.test(e.name)&&E(e,{target:null, +minimumVersion:V}),J.test(e.name)&&E(e,{version:U.version})),"copy"===e.type&&(e.clipboardData={setData:Ge.setData,clearData:Ge.clearData}),"aftercopy"===e.type&&(e=Ae(e,Y)),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,y="number"==typeof e.movementX?e.movementX:0,$="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:y,movementY:$,offsetX:0,offsetY:0,layerX:0,layerY:0})}return e},ye=function(e){var t=e&&"string"==typeof e.type&&e.type||"";return!/^(?:(?:before)?copy|destroy)$/.test(t)},$e=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=ye(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;o0){var t=D(e);E(t,{type:"error",name:"clipboard-error"}),delete t.success,l(function(){Ge.emit(t)},0)}},Ce=function(e){if(e&&"string"==typeof e.type&&e){var t,n=e.target||null,r=n&&n.ownerDocument||s,i={view:r.defaultView||a,canBubble:!0,cancelable:!0,detail:"click"===e.type?1:0,button:"number"==typeof e.which?e.which-1:"number"==typeof e.button?e.button:r.createEvent?0:1},o=E(i,e);n&&r.createEvent&&n.dispatchEvent&&(o=[o.type,o.canBubble,o.cancelable,o.view,o.detail,o.screenX,o.screenY,o.clientX,o.clientY,o.ctrlKey,o.altKey,o.shiftKey,o.metaKey,o.button,o.relatedTarget],t=r.createEvent("MouseEvents"),t.initMouseEvent&&(t.initMouseEvent.apply(t,o),t._source="js",n.dispatchEvent(t)))}},Se=function(){var e=X.flashLoadTimeout;if("number"==typeof e&&e>=0){var t=Math.min(1e3,e/10),n=X.swfObjectId+"_fallbackContent";W=f(function(){var e=s.getElementById(n);Ve(e)&&(ze(),U.deactivated=null,Ge.emit({type:"error",name:"swf-not-found"}))},t)}},_e=function(){var e=s.createElement("div");return e.id=X.containerId,e.className=X.containerClass,e.style.position="absolute",e.style.left="0px",e.style.top="-9999px",e.style.width="1px",e.style.height="1px",e.style.zIndex=""+qe(X.zIndex),e},Ee=function(e){for(var t=e&&e.parentNode;t&&"OBJECT"===t.nodeName&&t.parentNode;)t=t.parentNode;return t||null},De=function(){var e,t=U.bridge,n=Ee(t);if(!t){var r=Ne(a.location.host,X),i="never"===r?"none":"all",o=Fe(E({jsVersion:Ge.version},X)),u=X.swfPath+Oe(X.swfPath,X);n=_e();var l=s.createElement("div");n.appendChild(l),s.body.appendChild(n);var c=s.createElement("div"),f="activex"===U.pluginType;c.innerHTML='"+(f?'':"")+'
     
    ',t=c.firstChild,c=null,S(t).ZeroClipboard=Ge,n.replaceChild(t,l),Se()}return t||(t=s[X.swfObjectId],t&&(e=t.length)&&(t=t[e-1]),!t&&n&&(t=n.firstChild)),U.bridge=t||null,t},Me=function(){var e=U.bridge;if(e){var t=Ee(e);t&&("activex"===U.pluginType&&"readyState"in e?(e.style.display="none",function i(){if(4===e.readyState){for(var n in e)"function"==typeof e[n]&&(e[n]=null);e.parentNode&&e.parentNode.removeChild(e),t.parentNode&&t.parentNode.removeChild(t)}else l(i,10)}()):(e.parentNode&&e.parentNode.removeChild(e),t.parentNode&&t.parentNode.removeChild(t))),ze(),U.ready=null,U.bridge=null,U.deactivated=null,r=n}},Te=function(e){var t={},n={};if("object"==typeof e&&e){for(var r in e)if(r&&k.call(e,r)&&"string"==typeof e[r]&&e[r])switch(r.toLowerCase()){case"text/plain":case"text":case"air:text":case"flash:text":t.text=e[r],n.text=r;break;case"text/html":case"html":case"air:html":case"flash:html":t.html=e[r],n.html=r;break;case"application/rtf":case"text/rtf":case"rtf":case"richtext":case"air:rtf":case"flash:rtf":t.rtf=e[r],n.rtf=r}return{data:t,formatMap:n}}},Ae=function(e,t){if("object"!=typeof e||!e||"object"!=typeof t||!t)return e;var n={};for(var r in e)if(k.call(e,r))if("errors"===r){n[r]=e[r]?e[r].slice():[];for(var i=0,o=n[r].length;i0){if(1===o&&"*"===i[0])return"always";if(i.indexOf(t)!==-1)return 1===o&&t===r?"sameDomain":"always"}return"never"}}(),Pe=function(){try{return s.activeElement}catch(e){return null}},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)for(n=0,r=o.length;n0)if(e.classList&&e.classList.length>0)for(n=0,r=o.length;n0,r=y(t.width)>0,i=y(t.top)>=0,o=y(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(q),q=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:""+qe(X.zIndex)})}},Ye=function(e){U.ready===!0&&(U.bridge&&"function"==typeof U.bridge.setHandCursor?U.bridge.setHandCursor(e):U.ready=!1)},qe=function(e){if(/^(?:auto|inherit)$/.test(e))return e;var t;return"number"!=typeof e||$(e)?"string"==typeof e&&(t=qe(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&&y(f)0,i=!e.target||r&&n.indexOf(e.target)!==-1,o=e.relatedTarget&&r&&n.indexOf(e.relatedTarget)!==-1,a=e.client&&e.client===this;return!(!t||!(i||o||a))},ct=function(e){var t=Qe[this.id];if("object"==typeof e&&e&&e.type&&t){var n=ye(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;s tr",containment:"parent",axis:"y"},e.addEmptyTag=i,o(),e.tagChange=function(t){var n=e.tags.indexOf(t);n===e.tags.length-1&&(""===t.name&&""===t.value||i())},e.tagBlur=function(t){var n=e.tags.length-1===e.tags.indexOf(t);if(""===t.name&&""===t.value&&!n){var r=e.tags.indexOf(t);e.tags.splice(r,1)}},e.saveTags=function(){a();var r={tags:e.tags},o=window.baseUrl("/ajax/tags/update/page/"+s);t.post(o,r).then(function(t){e.tags=t.data.tags,i(),n.emit("success",t.data.message)})},e.removeTag=function(t){var n=e.tags.indexOf(t);e.tags.splice(n,1)}}]),t.controller("PageAttachmentController",["$scope","$http","$attrs",function(e,t,r){function i(){return{page_id:l}}function o(r,i){var o=e.files.map(function(e){return e.id}).join(":");o!==c&&(c=o,t.put(window.baseUrl("/attachments/sort/page/"+l),{files:e.files}).then(function(e){n.emit("success",e.data.message)},u("sort")))}function a(){var n=window.baseUrl("/attachments/get/page/"+l);t.get(n).then(function(t){e.files=t.data,c=t.data.map(function(e){return e.id}).join(":")},u("get"))}function s(t){for(var n=0;n tr",containment:"parent",axis:"y",stop:o},e.getUploadUrl=function(e){var t="undefined"!=typeof e?"/"+e.id:"";return window.baseUrl("/attachments/upload"+t)},a(),e.uploadSuccess=function(t,r){e.$apply(function(){e.files.push(r)}),n.emit("success","File uploaded")},e.uploadSuccessUpdate=function(t,r){e.$apply(function(){var t=s(r);t!==-1&&(e.files[t]=r),e.editFile&&(e.editFile=angular.copy(r),r.link="")}),n.emit("success","File updated")},e.deleteFile=function(r){return r.deleting?void t["delete"](window.baseUrl("/attachments/"+r.id)).then(function(t){n.emit("success",t.data.message),e.files.splice(e.files.indexOf(r),1)},u("delete")):void(r.deleting=!0)},e.attachLinkSubmit=function(r){r.uploaded_to=l,t.post(window.baseUrl("/attachments/link"),r).then(function(t){e.files.push(t.data),n.emit("success","Link attached"),e.file=i()},u("link"))},e.startEdit=function(t){e.editFile=angular.copy(t),e.editFile.link=t.external?t.path:""},e.cancelEdit=function(){e.editFile=!1},e.updateFile=function(r){t.put(window.baseUrl("/attachments/"+r.id),r).then(function(t){var i=s(t.data);i!==-1&&(e.files[i]=t.data),e.editFile&&!r.external&&(e.editFile.link=""),e.editFile=!1,n.emit("success","Attachment details updated")},u("edit"))},e.getFileUrl=function(e){return window.baseUrl("/attachments/"+e.id)}}])};var i=e("moment"),o=r(i);e("moment/locale/en-gb"),o["default"].locale("en-gb")},{"./pages/page-form":18,moment:13,"moment/locale/en-gb":12}],16:[function(e,t,n){"use strict";var r=e("dropzone"),i=e("marked");t.exports=function(e,t){e.directive("toggleSwitch",function(){return{restrict:"A",template:'\n
    \n \n
    \n
    \n ',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("tabContainer",function(){return{restrict:"A",link:function(e,t,n){var r=t.find("[tab-content]"),i=t.find("[tab-button]");if(n.tabContainer){var o=n.tabContainer;i.filter('[tab-button="'+o+'"]').addClass("selected"),r.hide().filter('[tab-content="'+o+'"]').show()}else r.hide().first().show(),i.first().addClass("selected");i.click(function(){var e=$(this);i.removeClass("selected"),r.hide();var t=e.addClass("selected").attr("tab-button");r.filter('[tab-content="'+t+'"]').show()})}}}),e.directive("subForm",function(){return{restrict:"A",link:function(e,t,n){function r(t){t.preventDefault(),n.subForm&&e.$eval(n.subForm)}t.on("keypress",function(e){13===e.keyCode&&r(e)}),t.find('button[type="submit"]').click(r)}}}),e.directive("imagePicker",["$http","imageManagerService",function(e,t){return{restrict:"E",template:'\n
    \n
    \n Image Preview\n Image Preview\n
    \n \n
    \n\n \n |\n \n\n \n
    \n ',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;a=window.baseUrl(a),e.get(a).then(function(e){o(t,e.data.url)})}}}}]),e.directive("dropZone",[function(){return{restrict:"E",template:'\n
    \n
    Drop files or click here to upload
    \n
    \n ',scope:{uploadUrl:"@",eventSuccess:"=",eventError:"=",uploadedTo:"@"},link:function(e,t,n){n.placeholder&&(t[0].querySelector(".dz-message").textContent=n.placeholder);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)}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");var e=r.find("input"),n=e.length>0;n&&(e.first().focus(),t.on("keypress","input",function(e){if(13===e.keyCode)return e.preventDefault(),r.hide(),r.removeClass("anim menuIn"),!1})),t.mouseleave(function(){r.hide(),r.removeClass("anim menuIn")})})}}}]),e.directive("tinymce",["$timeout",function(e){return{restrict:"A",scope:{tinymce:"=",mceModel:"=",mceChange:"="},link:function(t,n,r){function i(n){n.on("ExecCommand change NodeChange ObjectResized",function(r){var i=n.getContent();e(function(){t.mceModel=i}),t.mceChange(i)}),n.on("keydown",function(e){t.$emit("editor-keydown",e)}),n.on("init",function(e){t.mceModel=n.getContent()}),t.$on("html-update",function(e,r){n.setContent(r),n.selection.select(n.getBody(),!0),n.selection.collapse(!1),t.mceModel=n.getContent()})}t.tinymce.extraSetups.push(i),tinymce.PluginManager.add("customhr",function(e){e.addCommand("InsertHorizontalRule",function(){var t=document.createElement("hr"),n=e.selection.getNode(),r=n.parentNode;r.insertBefore(t,n)}),e.addButton("hr",{icon:"hr",tooltip:"Horizontal line",cmd:"InsertHorizontalRule"}),e.addMenuItem("hr",{icon:"hr",text:"Horizontal line",cmd:"InsertHorizontalRule",context:"insert"})}),tinymce.init(t.tinymce)}}}]),e.directive("markdownInput",["$timeout",function(e){return{restrict:"A",scope:{mdModel:"=",mdChange:"="},link:function(t,n,r){n=n.find("textarea").first();var o=n.val();t.mdModel=o,t.mdChange(i(o)),n.on("change input",function(r){o=n.val(),e(function(){t.mdModel=o,t.mdChange(i(o))})}),t.$on("markdown-update",function(e,r){n.val(r),t.mdModel=r,t.mdChange(i(r))})}}}]),e.directive("markdownEditor",["$timeout",function(e){return{restrict:"A",link:function(e,t,n){function r(){h=u[0].scrollHeight,p=u.height(),m=l[0].scrollHeight,g=l.height()}function i(){window.showEntityLinkSelector(function(e){var t=d,n=u[0].selectionEnd,r=n!==t,i=u.val();if(r){var o=i.substring(t,n),a="["+o+"]("+e.link+")";u.val(i.substring(0,t)+a+i.substring(n))}else{var s=" ["+e.name+"]("+e.link+") ";u.val(i.substring(0,t)+s+i.substring(t))}u.change()})}function o(e){if(e=e.originalEvent,e.clipboardData){var t=e.clipboardData.items;if(t)for(var n=0;na?"!["+c+"]":"![]")+("("+f+")");u[0].value=l.substring(0,a)+d+l.substring(s),u.focus(),u[0].selectionStart=a,u[0].selectionEnd=a;var h="image-"+Date.now()+"."+n;t.append("file",e,h),t.append("_token",document.querySelector('meta[name="token"]').getAttribute("content")),r.open("POST",window.baseUrl("/images/gallery/upload")),r.onload=function(){var e=u[0].selectionStart;if(200===r.status||201===r.status){var t=JSON.parse(r.responseText);u[0].value=u[0].value.replace(f,t.thumbs.display),u.change()}else u[0].value=u[0].value.replace(d,""),u.change();u.focus(),u[0].selectionStart=e,u[0].selectionEnd=e},r.send(t)}}var u=t.find("[markdown-input] textarea").first(),l=t.find(".markdown-display").first(),c=t.find('button[data-action="insertImage"]'),f=t.find('button[data-action="insertEntityLink"]'),d=0;u.blur(function(e){d=u[0].selectionStart});var h=void 0,p=void 0,m=void 0,g=void 0;setTimeout(function(){r()},200),window.addEventListener("resize",r);var v=800,y=0;u.on("scroll",function(e){var t=Date.now();t-y>v&&r();var n=u.scrollTop()/(h-p),i=(m-g)*n;l.scrollTop(i),y=t}),u.keydown(function(t){if(73===t.which&&t.ctrlKey&&t.shiftKey){t.preventDefault();var n=u[0].selectionStart,r=u.val(),o="![](http://)";return u.val(r.substring(0,n)+o+r.substring(n)),u.focus(),u[0].selectionStart=n+"![](".length,void(u[0].selectionEnd=n+"![](http://".length)}return 75===t.which&&t.ctrlKey&&t.shiftKey?void i():void e.$emit("editor-keydown",t)}),c.click(function(e){window.ImageManager.showExternal(function(e){var t=d,n=u.val(),r="!["+e.name+"]("+e.thumbs.display+")";u.val(n.substring(0,t)+r+n.substring(t)),u.change()})}),f.click(i),u.on("paste",o),u.on("drop",a)}}}]),e.directive("toolbox",[function(){return{restrict:"A",link:function(e,t,n){function r(e,n){i.removeClass("active"),o.hide(),i.filter('[toolbox-tab-button="'+e+'"]').addClass("active"),o.filter('[toolbox-tab-content="'+e+'"]').show(),n&&t.addClass("open")}var i=t.find("[toolbox-tab-button]"),o=t.find("[toolbox-tab-content]"),a=t.find("[toolbox-toggle]");a.click(function(e){t.toggleClass("open")}),r(o.first().attr("toolbox-tab-content"),!1),i.click(function(e){var t=$(this).attr("toolbox-tab-button");r(t,!0)})}}}]),e.directive("tagAutosuggestions",["$http",function(e){return{restrict:"A",link:function(t,n,r){function i(e,t){t[h].className="",h=e,t[h].className="active"}function o(e,t){if(0===t.length)return c.hide(),f=!1,void(m=t);if(f||(c.show(),f=!0),e!==d&&(c.detach(),e.after(c),d=e),m.join()===t.join())return void(m=t);c[0].innerHTML="";for(var n=0;n=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(){var e=document.documentElement.scrollTop||document.body.scrollTop||0;!i&&e>a?(o.style.display="block",i=!0,setTimeout(function(){o.style.opacity=.4},1)):i&&e0||navigator.userAgent.indexOf("Safari")!==-1)&&$("body").addClass("flexbox-support")}),e("./pages/page-show")},{"./controllers":15,"./directives":16,"./pages/page-show":19,"./services":20,angular:9,"angular-animate":2,"angular-resource":4,"angular-sanitize":6,"angular-ui-sortable":7}],18:[function(e,t,n){"use strict";function r(e,t){if(e.clipboardData){var n=e.clipboardData.items;if(n)for(var r=function(e){if(n[e].type.indexOf("image")===-1)return{v:void 0};var r=n[e].getAsFile(),i=new FormData,o="png",a=new XMLHttpRequest;if(r.name){var s=r.name.match(/\.(.+)$/);s&&(o=s[1])}var u="image-"+Math.random().toString(16).slice(2),l=window.baseUrl("/loading.gif");t.execCommand("mceInsertContent",!1,'');var c="image-"+Date.now()+"."+o;i.append("file",r,c),i.append("_token",document.querySelector('meta[name="token"]').getAttribute("content")),a.open("POST",window.baseUrl("/images/gallery/upload")),a.onload=function(){if(200===a.status||201===a.status){var e=JSON.parse(a.responseText);t.dom.setAttrib(u,"src",e.thumbs.display)}else t.dom.remove(u)},a.send(i)},i=0;i';i+=''+t.name+'',i+="
    ",r.tinyMCE.activeEditor.execCommand("mceInsertContent",!1,i)})},paste_preprocess:function(e,t){var n=t.content;n.indexOf('';n+=''+t.name+'',n+="",e.execCommand("mceInsertContent",!1,n)})}}),e.on("paste",function(t){r(t,e)})}}},{}],19:[function(e,t,n){"use strict";var r=e("zeroclipboard");r.config({swfPath:window.baseUrl("/ZeroClipboard.swf")}),window.setupPageShow=t.exports=function(e){function t(e){var t=$(".page-content #"+e).first();0!==t.length?(t.smoothScrollTo(),t.css("background-color","rgba(244, 249, 54, 0.25)")):$(".page-content").find(':contains("'+e+'")').smoothScrollTo()}function n(){d.width(h.width()+15),d.addClass("fixed"),g=!0}function i(){d.css("width","auto"),d.removeClass("fixed"),g=!1}function o(e){var t=f.scrollTop()>m;!t||g&&!e?t||!g&&!e||i():n()}function a(){o(!1)}var s=$("#pointer").detach(),u=s.children("div.pointer").first(),l=!1;if(s.on("click","input",function(e){$(this).select(),e.stopPropagation()}),new r(s.find("button").first()[0]),$(document.body).find("*").on("click focus",function(e){l||s.detach()}),$('.page-content [id^="bkmrk"]').on("mouseup keyup",function(t){t.stopPropagation();var n=window.getSelection();if(0!==n.toString().length){var r=$(this),i=window.baseUrl("/link/"+e+"#"+r.attr("id"));0!==i.indexOf("http")&&(i=window.location.protocol+"//"+window.location.host+i),s.find("input").val(i),s.find("button").first().attr("data-clipboard-text",i),r.before(s),s.show();var o=t.pageX-r.offset().left-u.width()/2;o<0&&(o=0);var a=o/r.width()*100;u.css("left",a+"%"),l=!0,setTimeout(function(){l=!1},100)}}),window.location.hash){var c=window.location.hash.replace(/\%20/g," ").substr(1);t(c)}var f=$(window),d=$(".book-tree"),h=d.parent(),p=$(document).height()>f.height()&&d.height()<$(".page-content").height(),m=$("#header").height()+$(".toolbar").height(),g=f.scrollTop()>m;p&&f.width()>1e3&&(f.on("scroll",a),o(!0)),f.on("resize",function(e){p&&f.width()>1e3?(f.on("scroll",a),o(!0)):(f.off("scroll",a),i())})}},{zeroclipboard:14}],20:[function(e,t,n){"use strict";t.exports=function(e,t){e.factory("imageManagerService",function(){return{show:!1,showExternal:!1}})}},{}]},{},[17]); \ No newline at end of file diff --git a/version b/version index 8287f2896ba..3c58828758c 100644 --- a/version +++ b/version @@ -1 +1 @@ -v0.13-dev +v0.13 From 65874d7b96e929a6d2b2d217eb2a69002fe8fda3 Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Sun, 27 Nov 2016 19:42:33 +0000 Subject: [PATCH 25/54] Updated assets for release v0.13.1 --- public/css/export-styles.css | 2 +- public/css/styles.css | 2 +- version | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/public/css/export-styles.css b/public/css/export-styles.css index d109300a0c7..151852fd2a8 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;-ms-user-select:none}*{box-sizing:border-box}html{background-color:#FFF;height:100%;overflow-y:scroll}html.flexbox{overflow-y:hidden}body{font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}button{font-size:100%}.title-input input[type=text],h1{font-size:3.425em;line-height:1.22222222em;margin-top:.48888889em;margin-bottom:.48888889em}h3,h4,h5,h6{margin-top:.78571429em}h2,h3,h4{margin-bottom:.43137255em}h2{font-size:2.8275em;line-height:1.294117647em;margin-top:.8627451em}h3{font-size:2.333em;line-height:1.571428572em}h4{font-size:1.666em;line-height:1.375em}.title-input input[type=text],h1,h2,h3,h4,h5,h6{font-weight:400;position:relative;display:block;color:#555}.title-input input[type=text] .subheader,h1 .subheader,h2 .subheader,h3 .subheader,h4 .subheader,h5 .subheader,h6 .subheader{font-size:.5em;line-height:1em;color:#969696}h5{font-size:1.4em}h5,h6{font-weight:500;line-height:1.2em;margin-bottom:.66em}.link,a{color:#0288D1;cursor:pointer;text-decoration:none;-webkit-transition:color ease-in-out 80ms;transition:color ease-in-out 80ms;line-height:1.6}.link:hover,.underlined,a:hover{text-decoration:underline}.toggle-switch,.toggle-switch:after{-webkit-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:-webkit-linear-gradient(left,#fff,#e3e0e0 20%,#e3e0e0 80%,#fff);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}body.flexbox,ol,ul{overflow:hidden}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:#969696}.text-primary,.text-primary:hover,p .primary,p .primary:hover,p.primary,p.primary:hover,span.primary,span.primary:hover{color:#0288D1}.text-secondary,.text-secondary:hover,p .secondary,p .secondary:hover,p.secondary,p.secondary:hover,span.secondary,span.secondary:hover{color:#e27b41}.text-book,.text-book:hover{color:#009688}.text-page,.text-page:hover{color:#0288D1}.text-page.draft,.text-page.draft:hover{color:#9A60DA}.text-chapter,.text-chapter:hover{color:#ef7c3c}.faded .text-book:hover{color:#009688!important}.faded .text-chapter:hover{color:#ef7c3c!important}.faded .text-page:hover{color:#0288D1!important}span.highlight{font-weight:700;padding:2px 4px}ul{padding-left:20.8px;list-style:disc}ol{list-style:decimal;padding-left:32px}.book-tree .sidebar-page-list li a:hover,.faded .text-button:hover,.logo:hover,.page-content del,.page-content ins{text-decoration:none}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-bigger{font-size:1.1em}.text-large{font-size:1.6666em}.no-color{color:inherit}.header-group{margin:16px 0}.header-group .title-input input[type=text],.header-group h1,.header-group h2,.header-group h3,.header-group h4,.header-group h5,.header-group h6,.title-input .header-group input[type=text]{margin:0}span.sep{color:#BBB;padding:0 6px}.list>*{display:block}.action-header .title-input input[type=text],.action-header h1,.title-input .action-header input[type=text]{margin-top:16px}i{padding-right:6px}body.flexbox{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-align:stretch;align-items:stretch;height:100%;min-height:100%;max-height:100%}body.flexbox #content{-webkit-box-flex:1;flex:1;display:-webkit-box;display:flex;min-height:0}.flex-fill{display:-webkit-box;display:flex;-webkit-box-align:stretch;align-items:stretch;min-height:0}.flex-fill .flex,.flex-fill.flex{min-height:0;-webkit-box-flex:1;flex:1}.flex-child>div{-webkit-box-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.medium{max-width:992px}.container.small{max-width:840px}.center-box{margin:32px auto 0;padding:16px 48px 64px;max-width:346px;display:inline-block;text-align:left;vertical-align:top}.center-box.login{background-color:#EEE;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border:1px solid #DDD}.row{margin-left:-16px;margin-right:-16px}.float{float:left}.float.right{float:right}.block{display:block;position:relative}.inline{display:inline}.block.inline{display:inline-block}.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{position:relative;min-height:1px;padding-left:16px;padding-right:16px}.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.row:after,.row:before{content:" ";display:table}.clearfix:after,.container-fluid:after,.container:after,.row:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.shaded{background-color:#f1f1f1}.shaded.pos{background-color:#d6ead7}.shaded.neg{background-color:#f4a9a9}.shaded.primary{background-color:#a1ddfe}.shaded.secondary{background-color:#f6d7c6}.bordered{border:1px solid #BBB}.bordered.pos{border-color:#52A256}.bordered.neg{border-color:#E84F4F}.bordered.primary{border-color:#0288D1}.bordered.secondary{border-color:#e27b41}.bordered.thick{border-width:2px}.rounded{border-radius:3px}.nopadding{padding:0}.padded{padding:24px}.padded.large{padding:32px}.padded>h1:first-child,.padded>h2:first-child,.padded>h3:first-child,.padded>h4:first-child,.title-input .padded>input[type=text]:first-child{margin-top:.1em}.padded-top,.padded-vertical{padding-top:16px}.padded-top.large,.padded-vertical.large{padding-top:32px}.padded-bottom,.padded-vertical{padding-bottom:16px}.padded-bottom.large,.padded-vertical.large{padding-bottom:32px}.padded-horizontal,.padded-left{padding-left:16px}.padded-horizontal.large,.padded-left.large{padding-left:32px}.padded-horizontal,.padded-right{padding-right:16px}.padded-horizontal.large,.padded-right.large{padding-right:32px}.margins{margin:24px}.margins.large{margin:32px}.margin-top,.margins-vertical{margin-top:16px}.margin-top.large,.margins-vertical.large{margin-top:32px}.margin-bottom,.margins-vertical{margin-bottom:16px}.margin-bottom.large,.margins-vertical.large{margin-bottom:32px}.margin-left,.margins-horizontal{margin-left:16px}.margin-left.large,.margins-horizontal.large{margin-left:32px}.margin-right,.margins-horizontal{margin-right:16px}.margin-right.large,.margins-horizontal.large{margin-right:32px}.callout{border-left:3px solid #BBB;background-color:#EEE;padding:12px;display:-webkit-box;display:flex}.callout:before{font-family:Material-Design-Iconic-Font;padding-right:12px;display:inline-block}.callout.success{border-left-color:#52A256;background-color:#e7f3e7;color:#376c39}.callout.success:before{content:'\f269'}.callout.danger{border-left-color:#E84F4F;background-color:#fce8e8;color:#b91818}.callout.danger:before{content:'\f1f2'}.callout.info{border-left-color:#0288D1;background-color:#d3efff;color:#015380}.callout.info:before{content:'\f1f8'}.callout.warning{border-left-color:#e27b41;background-color:#faeae0;color:#b6531c}.callout.warning:before{content:'\f1f1'}.editor-toolbar:after,.pointer:before,.toggle-switch:after{content:''}.input-base,input[type=number],input[type=email],input[type=search],input[type=url],input[type=password],input[type=text],select,textarea{background-color:#FFF;border-radius:3px;border:1px solid #CCC;display:inline-block;font-size:14px;font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif;padding:6px;color:#222;width:250px;max-width:100%}#markdown-editor textarea,.editor-toolbar{width:100%;font-family:'Roboto Mono'}.input-base.invalid,.input-base.neg,input.invalid[type=number],input.invalid[type=email],input.invalid[type=search],input.invalid[type=url],input.invalid[type=password],input.invalid[type=text],input.neg[type=number],input.neg[type=email],input.neg[type=search],input.neg[type=url],input.neg[type=password],input.neg[type=text],select.invalid,select.neg,textarea.invalid,textarea.neg{border:1px solid #E84F4F}.input-base.pos,.input-base.valid,input.pos[type=number],input.pos[type=email],input.pos[type=search],input.pos[type=url],input.pos[type=password],input.pos[type=text],input.valid[type=number],input.valid[type=email],input.valid[type=search],input.valid[type=url],input.valid[type=password],input.valid[type=text],select.pos,select.valid,textarea.pos,textarea.valid{border:1px solid #52A256}.input-base.disabled,.input-base[disabled],input.disabled[type=number],input.disabled[type=email],input.disabled[type=search],input.disabled[type=url],input.disabled[type=password],input.disabled[type=text],input[disabled][type=number],input[disabled][type=email],input[disabled][type=search],input[disabled][type=url],input[disabled][type=password],input[disabled][type=text],select.disabled,select[disabled],textarea.disabled,textarea[disabled]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAMUlEQVQIW2NkwAGuXbv2nxGbHEhCS0uLEUMSJgHShCKJLIEiiS4Bl8QmAZbEJQGSBAC62BuJ+tt7zgAAAABJRU5ErkJggg==)}.input-base:focus,input[type=number]:focus,input[type=email]:focus,input[type=search]:focus,input[type=url]:focus,input[type=password]:focus,input[type=text]:focus,select:focus,textarea:focus{outline:0}#html-editor{display:none}#markdown-editor{position:relative;z-index:5}#markdown-editor textarea{font-style:normal;font-weight:400;padding:6px 16px;color:#444;border-radius:0;max-height:100%;-webkit-box-flex:1;flex:1;border:0}#markdown-editor textarea:focus{outline:0}#markdown-editor .markdown-display,#markdown-editor .markdown-editor-wrap{-webkit-box-flex:1;flex:1;position:relative}#markdown-editor .markdown-editor-wrap,.page-editor{flex-direction:column;-webkit-box-orient:vertical;-webkit-box-direction:normal}#markdown-editor .markdown-editor-wrap{display:-webkit-box;display:flex;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-box-flex:0;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;-webkit-user-select:none;-moz-user-select:none;user-select:none}.toggle-switch:after{display:block;position:relative;left:0;margin-top:-3px;width:20px;height:20px;border-radius:50%;background-color:#fafafa;border:1px solid #CCC;box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);transition:all ease-in-out 120ms}.toggle-switch.active{background-color:rgba(82,162,86,.4)}.toggle-switch.active:after{left:16px;background-color:#52A256;border:#305e32}.toggle-switch-checkbox{display:none}input:checked+.toggle-switch{background-color:rgba(82,162,86,.4)}input:checked+.toggle-switch:after{left:16px;background-color:#52A256;border:#305e32}.form-group{margin-bottom:12px}.form-group textarea{display:block;width:100%;min-height:64px}.form-group .text-neg,.form-group .text-pos{padding:6px 0}.description-input textarea,.inline-input-style,.title-input input[type=text]{border:2px dotted #BBB;display:block;width:100%;padding:6px 12px}.title-input .input{width:100%}.description-input label,.title-input label{margin-top:16px;color:#666}.title-input input[type=text]{margin-top:0;padding-right:0;width:100%;color:#444}.title-input.page-title{font-size:.8em}.title-input.page-title .input{border:0;margin-bottom:-1px}.title-input.page-title input[type=text]{max-width:840px;margin:0 auto;border:none}.search-box,div[editor-type=markdown] .title-input.page-title input[type=text],table{max-width:100%}.page-title input{display:block;width:100%;font-size:1.4em}.description-input textarea{font-size:15px;color:#666;width:100%}.search-box{position:relative}.search-box button{background-color:transparent;border:none;color:#0288D1;padding:0;margin:0 0 0 12px;cursor:pointer}.search-box button[type=submit]{margin-left:-24px}.search-box input{padding-right:24px;width:300px;max-width:100%}input.outline{border:0;border-bottom:2px solid #DDD;border-radius:0}input.outline:active,input.outline:focus{border:0;border-bottom:2px solid #AAA;outline:0}#login-form label[for=remember]{margin:0}#login-form label.toggle-switch{margin-left:32px}.image-picker img{background-color:#BBB}div[toggle-switch]{height:18px;width:150px}table{min-width:100px;border-spacing:0;border-collapse:collapse}table thead{background-color:#F8F8F8;font-weight:500}table td,table th{min-width:10px;padding:6px 8px;border:1px solid #DDD;overflow:auto;line-height:1.2}table td p,table th p{margin:0}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;margin:0}table.table th{font-weight:700}table.table tr:hover{background-color:#EEE}table.file-table td,table.no-style td{border:0;padding:0}table.list-table{margin:-6px}table.list-table td{border:0;vertical-align:middle;padding:6px}.dropdown-container,.logo-image,.logo-text,form.search-box button,header .links,header .user-name,header .user-name>*{vertical-align:top}table.file-table td{padding:6px}table.file-table .ui-sortable-helper{display:table}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;-webkit-transition:all ease-in-out 120ms;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 h4{margin:24px 0 6px;font-size:1.666em}.page-list a.chapter{color:#ef7c3c}.page-list .inset-list{display:none;overflow:hidden;margin-bottom:24px}.page-list h5{display:block;margin:12px 0 0;border-left:5px solid #0288D1;padding:6px 0 6px 16px;font-size:1.1em;font-weight:400}.page-list h5.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;-webkit-transition:all ease-in-out 180ms;transition:all ease-in-out 180ms;-webkit-user-select:none;-moz-user-select:none;user-select:none}.chapter-toggle i.zmdi-caret-right{-webkit-transition:all ease-in-out 180ms;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)}.sidebar-page-nav{list-style:none;margin:12px 0 16px 2px;border-left:2px dotted #BBB}.sidebar-page-nav li{padding-left:12px;margin-bottom:4px;font-size:.95em}.sidebar-page-nav .h1,.sidebar-page-nav .h2{margin-left:-2px}.sidebar-page-nav .h3{margin-left:12px}.sidebar-page-nav .h4{margin-left:24px}.sidebar-page-nav .h5{margin-left:36px}.sidebar-page-nav .h6{margin-left:48px}.book-tree{padding:6px 0 0;position:relative;right:0;top:0;-webkit-transition:ease-in-out 240ms;transition:ease-in-out 240ms;-webkit-transition-property:right,border;transition-property:right,border;border-left:0 solid #FFF;background-color:#FFF}.book-tree.fixed{position:fixed;top:0;padding-left:24px;padding-right:39px;width:30%;right:-15px;height:100%;overflow-y:scroll;-ms-overflow-style:none;border-left:1px solid #DDD}.book-tree.fixed::-webkit-scrollbar{width:0!important}.book-tree h4{padding:16px 12px 0}.book-tree h4 i{padding-right:12px}.book-tree .sidebar-page-list{list-style:none;margin:6px 0 0;padding-left:0;border-left:5px solid #009688}.book-tree .sidebar-page-list li a{display:block;border-bottom:none;padding:6px 0 6px 12px}.book-tree .sidebar-page-list li a i{padding-right:8px}.book-tree .sidebar-page-list a,.book-tree .sidebar-page-list li{display:block}.book-tree .sidebar-page-list a.bold{color:#EEE!important}.book-tree .sidebar-page-list ul{list-style:none;margin:0}.book-tree .sidebar-page-list .book{color:#009688!important}.book-tree .sidebar-page-list .book.selected{background-color:rgba(0,150,136,.29)}.book-tree .sidebar-page-list .chapter{color:#ef7c3c!important}.book-tree .sidebar-page-list .chapter.selected{background-color:rgba(239,124,60,.12)}.book-tree .sidebar-page-list .chapter-toggle{padding-left:12px}.book-tree .sidebar-page-list .list-item-chapter{border-left:5px solid #ef7c3c;margin:10px;display:block}.book-tree .sidebar-page-list .list-item-page{border-bottom:none;border-left:5px solid #0288D1;margin:10px}.book-tree .sidebar-page-list .page{color:#0288D1!important;border-bottom:none}.book-tree .sidebar-page-list .page.selected{background-color:rgba(2,136,209,.1)}.book-tree .sidebar-page-list .list-item-page.draft{border-left:5px solid #9A60DA}.book-tree .sidebar-page-list .list-item-page.draft a.page,.book-tree .sidebar-page-list .page.draft .page{color:#9A60DA!important}.book-tree .sidebar-page-list .sub-menu{display:none;padding-left:0}.book-tree .sidebar-page-list .sub-menu.open{display:block}.sortable-page-list,.sortable-page-list ul{list-style:none;background-color:#FFF}.sort-box{margin-bottom:16px;padding:0 24px;border-left:4px solid #009688}.sortable-page-list,.sortable-page-list>ul{margin-left:0}.sortable-page-list ul{margin-bottom:0;margin-top:0;box-shadow:0 0 1px 0 rgba(0,0,0,.1)}.sortable-page-list li{border:1px solid #DDD;padding:6px 12px;margin-top:-1px;min-height:38px}.sortable-page-list li.text-chapter{border-left:2px solid #ef7c3c}.sortable-page-list li.text-page{border-left:2px solid #0288D1}.sortable-page-list li:first-child{margin-top:6px}.sortable-page-list li.placeholder{position:relative}.sortable-page-list li.placeholder:before{position:absolute}.activity-list-item{padding:12px 0;color:#888;border-bottom:1px solid #EEE;font-size:.9em}.activity-list-item .left+.right{margin-left:42px}ul.pagination{display:inline-block;list-style:none;margin:16px 0;padding-left:1px}ul.pagination li:first-child a,ul.pagination li:first-child span{border-radius:3px 0 0 3px}ul.pagination li:last-child a,ul.pagination li:last-child span{border-radius:0 3px 3px 0}ul.pagination a,ul.pagination span{display:block;padding:3px 12px;border:1px solid #CCC;margin-left:-1px;color:#888;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.compact ul.pagination,.entity-list h4{margin:0}ul.pagination a.disabled,ul.pagination span.disabled{cursor:not-allowed}ul.pagination li.active span{background-color:rgba(2,136,209,.8);color:#EEE;border-color:rgba(2,136,209,.8)}ul.pagination a{color:#0288D1}.entity-list>div{padding:16px 0}.entity-list p{margin:6px 0 0}.entity-list hr{margin:0}.entity-list .text-small.text-muted{color:#AAA;font-size:.75em;margin-top:6px}.entity-list .page.draft .text-page{color:#9A60DA}.entity-list.compact{font-size:.6em}.entity-list.compact a,.entity-list.compact h4{line-height:1.2}.entity-list.compact p{display:none;font-size:12px;padding-top:6px;margin:0}.entity-list.compact>p.empty-text{display:block;font-size:15px}.entity-list.compact hr{margin:0}.dropdown-container{display:inline-block;position:relative}.dropdown-container ul{display:none;position:absolute;z-index:999;top:0;list-style:none;right:0;margin:16px 0;background-color:#FFF;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border-radius:1px;border:1px solid #EEE;min-width:180px;padding:6px 0;color:#555;text-align:left!important}.dropdown-container ul.wide{min-width:220px}.dropdown-container ul .text-muted{color:#999}.dropdown-container ul li.padded{padding:6px 16px}.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:12px;padding-right:0;display:inline-block;width:16px}.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-box;display:flex;-webkit-box-align:stretch;align-items:stretch}.page-editor .faded-small{height:auto}.page-editor .edit-area{-webkit-box-flex:1;flex:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}.draft-notification{pointer-events:none;-webkit-transform:scale(0);transform:scale(0);-webkit-transition:-webkit-transform ease-in-out 120ms;transition:-webkit-transform ease-in-out 120ms;transition:transform ease-in-out 120ms;transition:transform ease-in-out 120ms,-webkit-transform ease-in-out 120ms;-webkit-transform-origin:50% 50%;transform-origin:50% 50%}.draft-notification.visible{-webkit-transform:scale(1);transform:scale(1)}.page-style.editor{padding:0!important}.page-content{max-width:840px;overflow-wrap:break-word}.page-content .align-left{text-align:left}.page-content img.align-left,.page-content table.align-left{float:left!important;margin:6px 12px 6px 0}.page-content .align-right{float:right!important}.page-content img.align-right,.page-content table.align-right{text-align:right;margin:6px 0 6px 12px}.page-content .align-center{text-align:center}.page-content img{max-width:100%;height:auto}.page-content .title-input input[type=text],.page-content h1,.page-content h2,.page-content h3,.page-content h4,.page-content h5,.page-content h6,.page-content pre,.title-input .page-content input[type=text]{clear:left}.page-content hr{clear:both;margin:16px 0}.page-content table{-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;table-layout:fixed;max-width:100%;height:auto!important}.page-content ins{background:#dbffdb}.page-content del{background:#FFECEC}.pointer-container{position:relative;display:none;left:0;z-index:10}.pointer,.pointer:before{position:absolute;background-color:#FFF}.pointer{border:1px solid #CCC;display:inline-block;padding:12px;border-radius:4px;box-shadow:0 0 8px 1px rgba(212,209,209,.35);top:-60px;width:272px;z-index:55}.pointer:before{left:50%;bottom:-9px;width:16px;height:16px;margin-left:-8px;display:block;-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}.floating-toolbox{background-color:#FFF;border:1px solid #DDD;right:64px;width:48px;overflow:hidden;-webkit-box-align:stretch;align-items:stretch;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;display:-webkit-box;display:flex;-webkit-transition:width ease-in-out 180ms;transition:width ease-in-out 180ms;margin-top:-1px;min-height:0}.floating-toolbox div[toolbox-tab-content],.floating-toolbox form{-webkit-box-orient:vertical;-webkit-box-direction:normal;overflow-y:scroll}.floating-toolbox.open{width:480px}.floating-toolbox [toolbox-toggle] i{-webkit-transition:-webkit-transform ease-in-out 180ms;transition:-webkit-transform ease-in-out 180ms;transition:transform ease-in-out 180ms;transition:transform ease-in-out 180ms,-webkit-transform ease-in-out 180ms}.floating-toolbox [toolbox-toggle]{-webkit-transition:background-color ease-in-out 180ms;transition:background-color ease-in-out 180ms}.floating-toolbox.open [toolbox-toggle]{background-color:rgba(255,0,0,.29)}.floating-toolbox.open [toolbox-toggle] i{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.floating-toolbox>div{-webkit-box-flex:1;flex:1;position:relative}.floating-toolbox .tabs{display:block;border-right:1px solid #DDD;width:48px;-webkit-box-flex:0;flex:0 1 auto}.floating-toolbox .tabs i{color:rgba(0,0,0,.5);padding:0;margin:0}.floating-toolbox .tabs>span{display:block;cursor:pointer;padding:12px 16px;font-size:13.5px;line-height:1.6;border-bottom:1px solid rgba(255,255,255,.3)}.floating-toolbox.open .tabs>span.active{color:#444;background-color:rgba(0,0,0,.1)}.floating-toolbox div[toolbox-tab-content]{padding-bottom:45px;display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1;flex-direction:column;min-height:0}.floating-toolbox div[toolbox-tab-content] .padded{-webkit-box-flex:1;flex:1;padding-top:0}.floating-toolbox h4{font-size:24px;margin:16px 0 0;padding:0 24px 12px}.floating-toolbox .tags input{max-width:100%;width:100%;min-width:50px}.floating-toolbox .tags td{padding-right:12px;padding-top:12px;position:relative}.floating-toolbox .handle{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:move;color:#999}.floating-toolbox form{display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1;flex-direction:column}.floating-toolbox table td,.floating-toolbox table th{overflow:visible}[toolbox-tab-content]{display:none}.tag-display{margin:32px 16px;border:1px solid #DDD;min-width:180px;max-width:320px;opacity:.7;z-index:5;position:relative}.tag-display table{width:100%;margin:0;padding:0}.tag-display .heading th{padding:6px 12px;color:#333;font-weight:400}.tag-display td{border:0;border-bottom:1px solid #DDD;padding:6px 12px;color:#444}.tag-display .tag-value{color:#888}.tag-display tr:last-child td{border-bottom:none}.tag-display .tag{padding:12px}.suggestion-box{position:absolute;background-color:#FFF;border:1px solid #BBB;box-shadow:0 0 4px 1px #CCC;list-style:none;z-index:100;padding:0;margin:0;border-radius:3px}.suggestion-box li{display:block;padding:6px 12px;border-bottom:1px solid #DDD}.suggestion-box li:last-child{border-bottom:0}.suggestion-box li.active{background-color:#EEE} \ No newline at end of file +.link,a,body{font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif}code,pre{white-space:pre}.chapter-toggle,.toggle-switch{cursor:pointer;-ms-user-select:none}*{box-sizing:border-box}html{background-color:#FFF;height:100%;overflow-y:scroll}html.flexbox{overflow-y:hidden}body{font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}button{font-size:100%}.title-input input[type=text],h1{font-size:3.425em;line-height:1.22222222em;margin-top:.48888889em;margin-bottom:.48888889em}h3,h4,h5,h6{margin-top:.78571429em}h2,h3,h4{margin-bottom:.43137255em}h2{font-size:2.8275em;line-height:1.294117647em;margin-top:.8627451em}h3{font-size:2.333em;line-height:1.571428572em}h4{font-size:1.666em;line-height:1.375em}.title-input input[type=text],h1,h2,h3,h4,h5,h6{font-weight:400;position:relative;display:block;color:#555}.title-input input[type=text] .subheader,h1 .subheader,h2 .subheader,h3 .subheader,h4 .subheader,h5 .subheader,h6 .subheader{font-size:.5em;line-height:1em;color:#969696}h5{font-size:1.4em}h5,h6{font-weight:500;line-height:1.2em;margin-bottom:.66em}.link,a{color:#0288D1;cursor:pointer;text-decoration:none;-webkit-transition:color ease-in-out 80ms;transition:color ease-in-out 80ms;line-height:1.6}.link:hover,.underlined,a:hover{text-decoration:underline}.toggle-switch,.toggle-switch:after{-webkit-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:-webkit-linear-gradient(left,#fff,#e3e0e0 20%,#e3e0e0 80%,#fff);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}body.flexbox,ol,ul{overflow:hidden}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:#969696}.text-primary,.text-primary:hover,p .primary,p .primary:hover,p.primary,p.primary:hover,span.primary,span.primary:hover{color:#0288D1}.text-secondary,.text-secondary:hover,p .secondary,p .secondary:hover,p.secondary,p.secondary:hover,span.secondary,span.secondary:hover{color:#e27b41}.text-book,.text-book:hover{color:#009688}.text-page,.text-page:hover{color:#0288D1}.text-page.draft,.text-page.draft:hover{color:#9A60DA}.text-chapter,.text-chapter:hover{color:#ef7c3c}.faded .text-book:hover{color:#009688!important}.faded .text-chapter:hover{color:#ef7c3c!important}.faded .text-page:hover{color:#0288D1!important}span.highlight{font-weight:700;padding:2px 4px}ul{padding-left:20.8px;list-style:disc}ol{list-style:decimal;padding-left:32px}.book-tree .sidebar-page-list li a:hover,.faded .text-button:hover,.logo:hover,.page-content del,.page-content ins{text-decoration:none}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-bigger{font-size:1.1em}.text-large{font-size:1.6666em}.no-color{color:inherit}.header-group{margin:16px 0}.header-group .title-input input[type=text],.header-group h1,.header-group h2,.header-group h3,.header-group h4,.header-group h5,.header-group h6,.title-input .header-group input[type=text]{margin:0}span.sep{color:#BBB;padding:0 6px}.list>*{display:block}.action-header .title-input input[type=text],.action-header h1,.title-input .action-header input[type=text]{margin-top:16px}i{padding-right:6px}body.flexbox{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-align:stretch;align-items:stretch;height:100%;min-height:100%;max-height:100%}body.flexbox #content{-webkit-box-flex:1;flex:1;display:-webkit-box;display:flex;min-height:0}.flex-fill{display:-webkit-box;display:flex;-webkit-box-align:stretch;align-items:stretch;min-height:0}.flex-fill .flex,.flex-fill.flex{min-height:0;-webkit-box-flex:1;flex:1}.flex-child>div{-webkit-box-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.medium{max-width:992px}.container.small{max-width:840px}.center-box{margin:32px auto 0;padding:16px 48px 64px;max-width:346px;display:inline-block;text-align:left;vertical-align:top}.center-box.login{background-color:#EEE;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border:1px solid #DDD}.row{margin-left:-16px;margin-right:-16px}.float{float:left}.float.right{float:right}.block{display:block;position:relative}.inline{display:inline}.block.inline{display:inline-block}.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{position:relative;min-height:1px;padding-left:16px;padding-right:16px}.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.row:after,.row:before{content:" ";display:table}.clearfix:after,.container-fluid:after,.container:after,.row:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.shaded{background-color:#f1f1f1}.shaded.pos{background-color:#d6ead7}.shaded.neg{background-color:#f4a9a9}.shaded.primary{background-color:#a1ddfe}.shaded.secondary{background-color:#f6d7c6}.bordered{border:1px solid #BBB}.bordered.pos{border-color:#52A256}.bordered.neg{border-color:#E84F4F}.bordered.primary{border-color:#0288D1}.bordered.secondary{border-color:#e27b41}.bordered.thick{border-width:2px}.rounded{border-radius:3px}.nopadding{padding:0}.padded{padding:24px}.padded.large{padding:32px}.padded>h1:first-child,.padded>h2:first-child,.padded>h3:first-child,.padded>h4:first-child,.title-input .padded>input[type=text]:first-child{margin-top:.1em}.padded-top,.padded-vertical{padding-top:16px}.padded-top.large,.padded-vertical.large{padding-top:32px}.padded-bottom,.padded-vertical{padding-bottom:16px}.padded-bottom.large,.padded-vertical.large{padding-bottom:32px}.padded-horizontal,.padded-left{padding-left:16px}.padded-horizontal.large,.padded-left.large{padding-left:32px}.padded-horizontal,.padded-right{padding-right:16px}.padded-horizontal.large,.padded-right.large{padding-right:32px}.margins{margin:24px}.margins.large{margin:32px}.margin-top,.margins-vertical{margin-top:16px}.margin-top.large,.margins-vertical.large{margin-top:32px}.margin-bottom,.margins-vertical{margin-bottom:16px}.margin-bottom.large,.margins-vertical.large{margin-bottom:32px}.margin-left,.margins-horizontal{margin-left:16px}.margin-left.large,.margins-horizontal.large{margin-left:32px}.margin-right,.margins-horizontal{margin-right:16px}.margin-right.large,.margins-horizontal.large{margin-right:32px}.callout{border-left:3px solid #BBB;background-color:#EEE;padding:12px;display:block}.callout:before,.callout>*{display:inline-block}.callout:before{font-family:Material-Design-Iconic-Font;padding-right:12px}.callout.success{border-left-color:#52A256;background-color:#e7f3e7;color:#376c39}.callout.success:before{content:'\f269'}.callout.danger{border-left-color:#E84F4F;background-color:#fce8e8;color:#b91818}.callout.danger:before{content:'\f1f2'}.callout.info{border-left-color:#0288D1;background-color:#d3efff;color:#015380}.callout.info:before{content:'\f1f8'}.callout.warning{border-left-color:#e27b41;background-color:#faeae0;color:#b6531c}.callout.warning:before{content:'\f1f1'}.editor-toolbar:after,.pointer:before,.toggle-switch:after{content:''}.input-base,input[type=number],input[type=email],input[type=search],input[type=url],input[type=password],input[type=text],select,textarea{background-color:#FFF;border-radius:3px;border:1px solid #CCC;display:inline-block;font-size:14px;font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif;padding:6px;color:#222;width:250px;max-width:100%}#markdown-editor textarea,.editor-toolbar{width:100%;font-family:'Roboto Mono'}.input-base.invalid,.input-base.neg,input.invalid[type=number],input.invalid[type=email],input.invalid[type=search],input.invalid[type=url],input.invalid[type=password],input.invalid[type=text],input.neg[type=number],input.neg[type=email],input.neg[type=search],input.neg[type=url],input.neg[type=password],input.neg[type=text],select.invalid,select.neg,textarea.invalid,textarea.neg{border:1px solid #E84F4F}.input-base.pos,.input-base.valid,input.pos[type=number],input.pos[type=email],input.pos[type=search],input.pos[type=url],input.pos[type=password],input.pos[type=text],input.valid[type=number],input.valid[type=email],input.valid[type=search],input.valid[type=url],input.valid[type=password],input.valid[type=text],select.pos,select.valid,textarea.pos,textarea.valid{border:1px solid #52A256}.input-base.disabled,.input-base[disabled],input.disabled[type=number],input.disabled[type=email],input.disabled[type=search],input.disabled[type=url],input.disabled[type=password],input.disabled[type=text],input[disabled][type=number],input[disabled][type=email],input[disabled][type=search],input[disabled][type=url],input[disabled][type=password],input[disabled][type=text],select.disabled,select[disabled],textarea.disabled,textarea[disabled]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAMUlEQVQIW2NkwAGuXbv2nxGbHEhCS0uLEUMSJgHShCKJLIEiiS4Bl8QmAZbEJQGSBAC62BuJ+tt7zgAAAABJRU5ErkJggg==)}.input-base:focus,input[type=number]:focus,input[type=email]:focus,input[type=search]:focus,input[type=url]:focus,input[type=password]:focus,input[type=text]:focus,select:focus,textarea:focus{outline:0}#html-editor{display:none}#markdown-editor{position:relative;z-index:5}#markdown-editor textarea{font-style:normal;font-weight:400;padding:6px 16px;color:#444;border-radius:0;max-height:100%;-webkit-box-flex:1;flex:1;border:0}#markdown-editor textarea:focus{outline:0}#markdown-editor .markdown-display,#markdown-editor .markdown-editor-wrap{-webkit-box-flex:1;flex:1;position:relative}#markdown-editor .markdown-editor-wrap,.page-editor{flex-direction:column;-webkit-box-orient:vertical;-webkit-box-direction:normal}#markdown-editor .markdown-editor-wrap{display:-webkit-box;display:flex;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-box-flex:0;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;-webkit-user-select:none;-moz-user-select:none;user-select:none}.toggle-switch:after{display:block;position:relative;left:0;margin-top:-3px;width:20px;height:20px;border-radius:50%;background-color:#fafafa;border:1px solid #CCC;box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);transition:all ease-in-out 120ms}.toggle-switch.active{background-color:rgba(82,162,86,.4)}.toggle-switch.active:after{left:16px;background-color:#52A256;border:#305e32}.toggle-switch-checkbox{display:none}input:checked+.toggle-switch{background-color:rgba(82,162,86,.4)}input:checked+.toggle-switch:after{left:16px;background-color:#52A256;border:#305e32}.form-group{margin-bottom:12px}.form-group textarea{display:block;width:100%;min-height:64px}.form-group .text-neg,.form-group .text-pos{padding:6px 0}.description-input textarea,.inline-input-style,.title-input input[type=text]{border:2px dotted #BBB;display:block;width:100%;padding:6px 12px}.title-input .input{width:100%}.description-input label,.title-input label{margin-top:16px;color:#666}.title-input input[type=text]{margin-top:0;padding-right:0;width:100%;color:#444}.title-input.page-title{font-size:.8em}.title-input.page-title .input{border:0;margin-bottom:-1px}.title-input.page-title input[type=text]{max-width:840px;margin:0 auto;border:none}.search-box,div[editor-type=markdown] .title-input.page-title input[type=text],table{max-width:100%}.page-title input{display:block;width:100%;font-size:1.4em}.description-input textarea{font-size:15px;color:#666;width:100%}.search-box{position:relative}.search-box button{background-color:transparent;border:none;color:#0288D1;padding:0;margin:0 0 0 12px;cursor:pointer}.search-box button[type=submit]{margin-left:-24px}.search-box input{padding-right:24px;width:300px;max-width:100%}input.outline{border:0;border-bottom:2px solid #DDD;border-radius:0}input.outline:active,input.outline:focus{border:0;border-bottom:2px solid #AAA;outline:0}#login-form label[for=remember]{margin:0}#login-form label.toggle-switch{margin-left:32px}.image-picker img{background-color:#BBB}div[toggle-switch]{height:18px;width:150px}table{min-width:100px;border-spacing:0;border-collapse:collapse}table thead{background-color:#F8F8F8;font-weight:500}table td,table th{min-width:10px;padding:6px 8px;border:1px solid #DDD;overflow:auto;line-height:1.2}table td p,table th p{margin:0}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;margin:0}table.table th{font-weight:700}table.table tr:hover{background-color:#EEE}table.file-table td,table.no-style td{border:0;padding:0}table.list-table{margin:-6px}table.list-table td{border:0;vertical-align:middle;padding:6px}.dropdown-container,.logo-image,.logo-text,form.search-box button,header .links,header .user-name,header .user-name>*{vertical-align:top}table.file-table td{padding:6px}table.file-table .ui-sortable-helper{display:table}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;-webkit-transition:all ease-in-out 120ms;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)}.book-tree,.book-tree.fixed{background-color:#FFF;top:0}.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 h4{margin:24px 0 6px;font-size:1.666em}.page-list a.chapter{color:#ef7c3c}.page-list .inset-list{display:none;overflow:hidden;margin-bottom:24px}.page-list h5{display:block;margin:12px 0 0;border-left:5px solid #0288D1;padding:6px 0 6px 16px;font-size:1.1em;font-weight:400}.page-list h5.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;-webkit-transition:all ease-in-out 180ms;transition:all ease-in-out 180ms;-webkit-user-select:none;-moz-user-select:none;user-select:none}.chapter-toggle i.zmdi-caret-right{-webkit-transition:all ease-in-out 180ms;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)}.sidebar-page-nav{list-style:none;margin:12px 0 16px 2px;border-left:2px dotted #BBB}.sidebar-page-nav li{padding-left:12px;margin-bottom:4px;font-size:.95em}.sidebar-page-nav .h1,.sidebar-page-nav .h2{margin-left:-2px}.sidebar-page-nav .h3{margin-left:12px}.sidebar-page-nav .h4{margin-left:24px}.sidebar-page-nav .h5{margin-left:36px}.sidebar-page-nav .h6{margin-left:48px}.book-tree{padding:6px 0 0;position:relative;right:0;-webkit-transition:ease-in-out 240ms;transition:ease-in-out 240ms;-webkit-transition-property:right,border;transition-property:right,border;border-left:0 solid #FFF}.book-tree.fixed{z-index:5;position:fixed;padding-left:24px;padding-right:39px;width:30%;right:-15px;height:100%;overflow-y:scroll;-ms-overflow-style:none;border-left:1px solid #DDD}.book-tree.fixed::-webkit-scrollbar{width:0!important}.book-tree h4{padding:16px 12px 0}.book-tree h4 i{padding-right:12px}.book-tree .sidebar-page-list{list-style:none;margin:6px 0 0;padding-left:0;border-left:5px solid #009688}.book-tree .sidebar-page-list li a{display:block;border-bottom:none;padding:6px 0 6px 12px}.book-tree .sidebar-page-list li a i{padding-right:8px}.book-tree .sidebar-page-list a,.book-tree .sidebar-page-list li{display:block}.book-tree .sidebar-page-list a.bold{color:#EEE!important}.book-tree .sidebar-page-list ul{list-style:none;margin:0}.book-tree .sidebar-page-list .book{color:#009688!important}.book-tree .sidebar-page-list .book.selected{background-color:rgba(0,150,136,.29)}.book-tree .sidebar-page-list .chapter{color:#ef7c3c!important}.book-tree .sidebar-page-list .chapter.selected{background-color:rgba(239,124,60,.12)}.book-tree .sidebar-page-list .chapter-toggle{padding-left:12px}.book-tree .sidebar-page-list .list-item-chapter{border-left:5px solid #ef7c3c;margin:10px;display:block}.book-tree .sidebar-page-list .list-item-page{border-bottom:none;border-left:5px solid #0288D1;margin:10px}.book-tree .sidebar-page-list .page{color:#0288D1!important;border-bottom:none}.book-tree .sidebar-page-list .page.selected{background-color:rgba(2,136,209,.1)}.book-tree .sidebar-page-list .list-item-page.draft{border-left:5px solid #9A60DA}.book-tree .sidebar-page-list .list-item-page.draft a.page,.book-tree .sidebar-page-list .page.draft .page{color:#9A60DA!important}.book-tree .sidebar-page-list .sub-menu{display:none;padding-left:0}.book-tree .sidebar-page-list .sub-menu.open{display:block}.sortable-page-list,.sortable-page-list ul{list-style:none;background-color:#FFF}.sort-box{margin-bottom:16px;padding:0 24px;border-left:4px solid #009688}.sortable-page-list,.sortable-page-list>ul{margin-left:0}.sortable-page-list ul{margin-bottom:0;margin-top:0;box-shadow:0 0 1px 0 rgba(0,0,0,.1)}.sortable-page-list li{border:1px solid #DDD;padding:6px 12px;margin-top:-1px;min-height:38px}.sortable-page-list li.text-chapter{border-left:2px solid #ef7c3c}.sortable-page-list li.text-page{border-left:2px solid #0288D1}.sortable-page-list li:first-child{margin-top:6px}.sortable-page-list li.placeholder{position:relative}.sortable-page-list li.placeholder:before{position:absolute}.activity-list-item{padding:12px 0;color:#888;border-bottom:1px solid #EEE;font-size:.9em}.activity-list-item .left+.right{margin-left:42px}ul.pagination{display:inline-block;list-style:none;margin:16px 0;padding-left:1px}ul.pagination li:first-child a,ul.pagination li:first-child span{border-radius:3px 0 0 3px}ul.pagination li:last-child a,ul.pagination li:last-child span{border-radius:0 3px 3px 0}ul.pagination a,ul.pagination span{display:block;padding:3px 12px;border:1px solid #CCC;margin-left:-1px;color:#888;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.compact ul.pagination,.entity-list h4{margin:0}ul.pagination a.disabled,ul.pagination span.disabled{cursor:not-allowed}ul.pagination li.active span{background-color:rgba(2,136,209,.8);color:#EEE;border-color:rgba(2,136,209,.8)}ul.pagination a{color:#0288D1}.entity-list>div{padding:16px 0}.entity-list p{margin:6px 0 0}.entity-list hr{margin:0}.entity-list .text-small.text-muted{color:#AAA;font-size:.75em;margin-top:6px}.entity-list .page.draft .text-page{color:#9A60DA}.entity-list.compact{font-size:.6em}.entity-list.compact a,.entity-list.compact h4{line-height:1.2}.entity-list.compact p{display:none;font-size:12px;padding-top:6px;margin:0}.entity-list.compact>p.empty-text{display:block;font-size:15px}.entity-list.compact hr{margin:0}.dropdown-container{display:inline-block;position:relative}.dropdown-container ul{display:none;position:absolute;z-index:999;top:0;list-style:none;right:0;margin:16px 0;background-color:#FFF;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border-radius:1px;border:1px solid #EEE;min-width:180px;padding:6px 0;color:#555;text-align:left!important}.dropdown-container ul.wide{min-width:220px}.dropdown-container ul .text-muted{color:#999}.dropdown-container ul li.padded{padding:6px 16px}.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:12px;padding-right:0;display:inline-block;width:16px}.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-box;display:flex;-webkit-box-align:stretch;align-items:stretch}.page-editor .faded-small{height:auto}.page-editor .edit-area{-webkit-box-flex:1;flex:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}.draft-notification{pointer-events:none;-webkit-transform:scale(0);transform:scale(0);-webkit-transition:-webkit-transform ease-in-out 120ms;transition:-webkit-transform ease-in-out 120ms;transition:transform ease-in-out 120ms;transition:transform ease-in-out 120ms,-webkit-transform ease-in-out 120ms;-webkit-transform-origin:50% 50%;transform-origin:50% 50%}.draft-notification.visible{-webkit-transform:scale(1);transform:scale(1)}.page-style.editor{padding:0!important}.page-content{max-width:840px;overflow-wrap:break-word}.page-content .align-left{text-align:left}.page-content img.align-left,.page-content table.align-left{float:left!important;margin:6px 12px 6px 0}.page-content .align-right{float:right!important}.page-content img.align-right,.page-content table.align-right{text-align:right;margin:6px 0 6px 12px}.page-content .align-center{text-align:center}.page-content img{max-width:100%;height:auto}.page-content .title-input input[type=text],.page-content h1,.page-content h2,.page-content h3,.page-content h4,.page-content h5,.page-content h6,.page-content pre,.title-input .page-content input[type=text]{clear:left}.page-content hr{clear:both;margin:16px 0}.page-content table{-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;table-layout:fixed;max-width:100%;height:auto!important}.page-content ins{background:#dbffdb}.page-content del{background:#FFECEC}.pointer-container{position:relative;display:none;left:0;z-index:10}.pointer,.pointer:before{position:absolute;background-color:#FFF}.pointer{border:1px solid #CCC;display:inline-block;padding:12px;border-radius:4px;box-shadow:0 0 8px 1px rgba(212,209,209,.35);top:-60px;width:272px;z-index:55}.pointer:before{left:50%;bottom:-9px;width:16px;height:16px;margin-left:-8px;display:block;-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}.floating-toolbox{background-color:#FFF;border:1px solid #DDD;right:64px;width:48px;overflow:hidden;-webkit-box-align:stretch;align-items:stretch;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;display:-webkit-box;display:flex;-webkit-transition:width ease-in-out 180ms;transition:width ease-in-out 180ms;margin-top:-1px;min-height:0}.floating-toolbox div[toolbox-tab-content],.floating-toolbox form{-webkit-box-orient:vertical;-webkit-box-direction:normal;overflow-y:scroll}.floating-toolbox.open{width:480px}.floating-toolbox [toolbox-toggle] i{-webkit-transition:-webkit-transform ease-in-out 180ms;transition:-webkit-transform ease-in-out 180ms;transition:transform ease-in-out 180ms;transition:transform ease-in-out 180ms,-webkit-transform ease-in-out 180ms}.floating-toolbox [toolbox-toggle]{-webkit-transition:background-color ease-in-out 180ms;transition:background-color ease-in-out 180ms}.floating-toolbox.open [toolbox-toggle]{background-color:rgba(255,0,0,.29)}.floating-toolbox.open [toolbox-toggle] i{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.floating-toolbox>div{-webkit-box-flex:1;flex:1;position:relative}.floating-toolbox .tabs{display:block;border-right:1px solid #DDD;width:48px;-webkit-box-flex:0;flex:0 1 auto}.floating-toolbox .tabs i{color:rgba(0,0,0,.5);padding:0;margin:0}.floating-toolbox .tabs>span{display:block;cursor:pointer;padding:12px 16px;font-size:13.5px;line-height:1.6;border-bottom:1px solid rgba(255,255,255,.3)}.floating-toolbox.open .tabs>span.active{color:#444;background-color:rgba(0,0,0,.1)}.floating-toolbox div[toolbox-tab-content]{padding-bottom:45px;display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1;flex-direction:column;min-height:0}.floating-toolbox div[toolbox-tab-content] .padded{-webkit-box-flex:1;flex:1;padding-top:0}.floating-toolbox h4{font-size:24px;margin:16px 0 0;padding:0 24px 12px}.floating-toolbox .tags input{max-width:100%;width:100%;min-width:50px}.floating-toolbox .tags td{padding-right:12px;padding-top:12px;position:relative}.floating-toolbox .handle{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:move;color:#999}.floating-toolbox form{display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1;flex-direction:column}.floating-toolbox table td,.floating-toolbox table th{overflow:visible}[toolbox-tab-content]{display:none}.tag-display{width:100%;position:relative}.tag-display table{width:100%;margin:0;padding:0}.tag-display tr:first-child td{padding-top:0}.tag-display .heading th{padding:6px 12px;color:rgba(100,100,100,.7);border:0;font-weight:400}.tag-display td{border:0;border-bottom:1px solid #EEE;padding:6px 12px;color:#444}.tag-display tr td:first-child{padding-left:0}.tag-display .tag-value{color:#888}.tag-display tr:last-child td{border-bottom:none}.tag-display .tag{padding:12px}.suggestion-box{position:absolute;background-color:#FFF;border:1px solid #BBB;box-shadow:0 0 4px 1px #CCC;list-style:none;z-index:100;padding:0;margin:0;border-radius:3px}.suggestion-box li{display:block;padding:6px 12px;border-bottom:1px solid #DDD}.suggestion-box li:last-child{border-bottom:0}.suggestion-box li.active{background-color:#EEE} \ No newline at end of file diff --git a/public/css/styles.css b/public/css/styles.css index 215a92ca4d5..83d0b88768f 100644 --- a/public/css/styles.css +++ b/public/css/styles.css @@ -1 +1 @@ -article,aside,blockquote,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}.chapter-toggle,.toggle-switch{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.anim.fadeIn,.anim.searchResult{-webkit-animation-fill-mode:forwards}#markdown-editor .markdown-editor-wrap,.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel,.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body,.popup-body,body.flexbox{-webkit-box-orient:vertical;-webkit-box-direction:normal}*,.dropzone,.dropzone *{box-sizing:border-box}.title-input input[type=text],a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{margin:0;padding:0;border:0;font:inherit;vertical-align:baseline}.link,.text-button,a,body{font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:'';content:none}@font-face{font-family:Roboto;font-style:normal;font-weight:100;src:local("Roboto Thin"),local("Roboto-Thin"),url(../fonts/roboto-v15-cyrillic_latin-100.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-100.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:100;src:local("Roboto Thin Italic"),local("Roboto-ThinItalic"),url(../fonts/roboto-v15-cyrillic_latin-100italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-100italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:300;src:local("Roboto Light"),local("Roboto-Light"),url(../fonts/roboto-v15-cyrillic_latin-300.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-300.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:300;src:local("Roboto Light Italic"),local("Roboto-LightItalic"),url(../fonts/roboto-v15-cyrillic_latin-300italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-300italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:local("Roboto"),local("Roboto-Regular"),url(../fonts/roboto-v15-cyrillic_latin-regular.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-regular.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:400;src:local("Roboto Italic"),local("Roboto-Italic"),url(../fonts/roboto-v15-cyrillic_latin-italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:500;src:local("Roboto Medium"),local("Roboto-Medium"),url(../fonts/roboto-v15-cyrillic_latin-500.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-500.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:500;src:local("Roboto Medium Italic"),local("Roboto-MediumItalic"),url(../fonts/roboto-v15-cyrillic_latin-500italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-500italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:700;src:local("Roboto Bold"),local("Roboto-Bold"),url(../fonts/roboto-v15-cyrillic_latin-700.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-700.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:700;src:local("Roboto Bold Italic"),local("Roboto-BoldItalic"),url(../fonts/roboto-v15-cyrillic_latin-700italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-700italic.woff) format("woff")}@font-face{font-family:'Roboto Mono';font-style:normal;font-weight:400;src:local("Roboto Mono"),local("RobotoMono-Regular"),url(../fonts/roboto-mono-v4-latin-regular.woff2) format("woff2"),url(../fonts/roboto-mono-v4-latin-regular.woff) format("woff")}html{background-color:#FFF;height:100%;overflow-y:scroll}html.flexbox{overflow-y:hidden}body{font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}button{font-size:100%}.title-input input[type=text],h1{font-size:3.425em;line-height:1.22222222em;margin-top:.48888889em;margin-bottom:.48888889em}h3,h4,h5,h6{margin-top:.78571429em}h2,h3,h4{margin-bottom:.43137255em}h2{font-size:2.8275em;line-height:1.294117647em;margin-top:.8627451em}h3{font-size:2.333em;line-height:1.571428572em}h4{font-size:1.666em;line-height:1.375em}.title-input input[type=text],h1,h2,h3,h4,h5,h6{font-weight:400;position:relative;display:block;color:#555}.title-input input[type=text] .subheader,h1 .subheader,h2 .subheader,h3 .subheader,h4 .subheader,h5 .subheader,h6 .subheader{font-size:.5em;line-height:1em;color:#969696}h5{font-size:1.4em}h5,h6{font-weight:500;line-height:1.2em;margin-bottom:.66em}.link,.text-button,a{color:#0288D1;cursor:pointer;text-decoration:none;-webkit-transition:color ease-in-out 80ms;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:-webkit-linear-gradient(left,#fff,#e3e0e0 20%,#e3e0e0 80%,#fff);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;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}body.flexbox,ol,ul{overflow:hidden}blockquote{position:relative;border-left:4px solid #0288D1;background-color:#F8F8F8;padding:12px 16px 12px 32px}blockquote:before{content:"\201C";font-size:2em;font-weight:700;position:absolute;top:12px;left:12px;color:#777}.code-base,code,span.code{background-color:#F8F8F8;font-family:monospace;font-size:.8em;border:1px solid #DDD;border-radius:3px}code{display:inline;padding:1px 3px;white-space:pre;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:#969696}.text-primary,.text-primary:hover,p .primary,p .primary:hover,p.primary,p.primary:hover,span.primary,span.primary:hover{color:#0288D1}.text-secondary,.text-secondary:hover,p .secondary,p .secondary:hover,p.secondary,p.secondary:hover,span.secondary,span.secondary:hover{color:#e27b41}.text-book,.text-book:hover{color:#009688}.text-page,.text-page:hover{color:#0288D1}.text-page.draft,.text-page.draft:hover{color:#9A60DA}.text-chapter,.text-chapter:hover{color:#ef7c3c}.faded .text-book:hover{color:#009688!important}.faded .text-chapter:hover{color:#ef7c3c!important}.faded .text-page:hover{color:#0288D1!important}span.highlight{font-weight:700;padding:2px 4px}ul{padding-left:20.8px;list-style:disc}ol{list-style:decimal;padding-left:32px}.underlined{text-decoration:underline}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-bigger{font-size:1.1em}.text-large{font-size:1.6666em}.no-color{color:inherit}.header-group{margin:16px 0}.header-group .title-input input[type=text],.header-group h1,.header-group h2,.header-group h3,.header-group h4,.header-group h5,.header-group h6,.title-input .header-group input[type=text]{margin:0}span.sep{color:#BBB;padding:0 6px}.list>*{display:block}.action-header .title-input input[type=text],.action-header h1,.title-input .action-header input[type=text]{margin-top:16px}i{padding-right:6px}body.flexbox{display:-webkit-box;display:flex;flex-direction:column;-webkit-box-align:stretch;align-items:stretch;height:100%;min-height:100%;max-height:100%}body.flexbox #content{-webkit-box-flex:1;flex:1;display:-webkit-box;display:flex;min-height:0}.flex-fill{display:-webkit-box;display:flex;-webkit-box-align:stretch;align-items:stretch;min-height:0}.flex-fill .flex,.flex-fill.flex{min-height:0;-webkit-box-flex:1;flex:1}.flex-child>div{-webkit-box-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.medium{max-width:992px}.container.small{max-width:840px}.center-box{margin:32px auto 0;padding:16px 48px 64px;max-width:346px;display:inline-block;text-align:left;vertical-align:top}.center-box.login{background-color:#EEE;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border:1px solid #DDD}.row{margin-left:-16px;margin-right:-16px}.float{float:left}.float.right{float:right}.block{display:block;position:relative}.inline{display:inline}.block.inline{display:inline-block}.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{position:relative;min-height:1px;padding-left:16px;padding-right:16px}.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.row:after,.row:before{content:" ";display:table}.clearfix:after,.container-fluid:after,.container:after,.row:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.shaded{background-color:#f1f1f1}.shaded.pos{background-color:#d6ead7}.shaded.neg{background-color:#f4a9a9}.shaded.primary{background-color:#a1ddfe}.shaded.secondary{background-color:#f6d7c6}.bordered{border:1px solid #BBB}.bordered.pos{border-color:#52A256}.bordered.neg{border-color:#E84F4F}.bordered.primary{border-color:#0288D1}.bordered.secondary{border-color:#e27b41}.bordered.thick{border-width:2px}.rounded{border-radius:3px}.nopadding{padding:0}.padded{padding:24px}.padded.large{padding:32px}.padded>h1:first-child,.padded>h2:first-child,.padded>h3:first-child,.padded>h4:first-child,.title-input .padded>input[type=text]:first-child{margin-top:.1em}.padded-top,.padded-vertical{padding-top:16px}.padded-top.large,.padded-vertical.large{padding-top:32px}.padded-bottom,.padded-vertical{padding-bottom:16px}.padded-bottom.large,.padded-vertical.large{padding-bottom:32px}.padded-horizontal,.padded-left{padding-left:16px}.padded-horizontal.large,.padded-left.large{padding-left:32px}.padded-horizontal,.padded-right{padding-right:16px}.padded-horizontal.large,.padded-right.large{padding-right:32px}.margins{margin:24px}.margins.large{margin:32px}.margin-top,.margins-vertical{margin-top:16px}.margin-top.large,.margins-vertical.large{margin-top:32px}.margin-bottom,.margins-vertical{margin-bottom:16px}.margin-bottom.large,.margins-vertical.large{margin-bottom:32px}.margin-left,.margins-horizontal{margin-left:16px}.margin-left.large,.margins-horizontal.large{margin-left:32px}.margin-right,.margins-horizontal{margin-right:16px}.margin-right.large,.margins-horizontal.large,header .links{margin-right:32px}.callout{border-left:3px solid #BBB;background-color:#EEE;padding:12px;display:-webkit-box;display:flex}.callout:before{font-family:Material-Design-Iconic-Font;padding-right:12px;display:inline-block}.callout.success{border-left-color:#52A256;background-color:#e7f3e7;color:#376c39}.callout.success:before{content:'\f269'}.callout.danger{border-left-color:#E84F4F;background-color:#fce8e8;color:#b91818}.callout.danger:before{content:'\f1f2'}.callout.info{border-left-color:#0288D1;background-color:#d3efff;color:#015380}.callout.info:before{content:'\f1f8'}.callout.warning{border-left-color:#e27b41;background-color:#faeae0;color:#b6531c}.callout.warning:before{content:'\f1f1'}.button-group:after,.dz-preview .dz-error-message:after,.editor-toolbar:after,.pointer:before,.toggle-switch:after{content:''}.button,.button-base,input[type=button],input[type=submit]{text-decoration:none;font-size:15px;line-height:1.4em;padding:6px 16px;margin:6px 6px 6px 0;display:inline-block;border:none;font-weight:500;font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif;outline:0;border-radius:2px;cursor:pointer;-webkit-transition:all ease-in-out 120ms;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}.button[disabled],.button[disabled]:hover{background-color:#BBB;cursor:default}.text-button:active,.text-button:focus{outline:0}.text-button:hover{text-decoration:none}.text-button.neg{color:#E84F4F}.button-group:after{display:block;font-size:0;clear:both;position:relative}.button-group .button,.button-group button[type=button]{margin:6px 0;float:left;border-radius:0}.button-group .button:first-child,.button-group button[type=button]:first-child{border-radius:2px 0 0 2px}.button-group .button:last-child,.button-group button[type=button]:last-child{border-radius:0 2px 2px 0}.button.block{width:100%;text-align:center;display:block}.button.icon i{padding-right:0}.button[disabled]:hover{box-shadow:none}.input-base,input[type=text],input[type=number],input[type=email],input[type=search],input[type=url],input[type=password],select,textarea{background-color:#FFF;border-radius:3px;border:1px solid #CCC;display:inline-block;font-size:14px;font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif;padding:6px;color:#222;width:250px;max-width:100%}#markdown-editor textarea,.editor-toolbar{width:100%;font-family:'Roboto Mono'}.input-base.invalid,.input-base.neg,input.invalid[type=text],input.invalid[type=number],input.invalid[type=email],input.invalid[type=search],input.invalid[type=url],input.invalid[type=password],input.neg[type=text],input.neg[type=number],input.neg[type=email],input.neg[type=search],input.neg[type=url],input.neg[type=password],select.invalid,select.neg,textarea.invalid,textarea.neg{border:1px solid #E84F4F}.input-base.pos,.input-base.valid,input.pos[type=text],input.pos[type=number],input.pos[type=email],input.pos[type=search],input.pos[type=url],input.pos[type=password],input.valid[type=text],input.valid[type=number],input.valid[type=email],input.valid[type=search],input.valid[type=url],input.valid[type=password],select.pos,select.valid,textarea.pos,textarea.valid{border:1px solid #52A256}.input-base.disabled,.input-base[disabled],input.disabled[type=text],input.disabled[type=number],input.disabled[type=email],input.disabled[type=search],input.disabled[type=url],input.disabled[type=password],input[disabled][type=text],input[disabled][type=number],input[disabled][type=email],input[disabled][type=search],input[disabled][type=url],input[disabled][type=password],select.disabled,select[disabled],textarea.disabled,textarea[disabled]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAMUlEQVQIW2NkwAGuXbv2nxGbHEhCS0uLEUMSJgHShCKJLIEiiS4Bl8QmAZbEJQGSBAC62BuJ+tt7zgAAAABJRU5ErkJggg==)}.input-base:focus,input[type=text]:focus,input[type=number]:focus,input[type=email]:focus,input[type=search]:focus,input[type=url]:focus,input[type=password]:focus,select:focus,textarea:focus{outline:0}#html-editor{display:none}#markdown-editor{position:relative;z-index:5}#markdown-editor textarea{font-style:normal;font-weight:400;padding:6px 16px;color:#444;border-radius:0;max-height:100%;-webkit-box-flex:1;flex:1;border:0}#markdown-editor textarea:focus{outline:0}#markdown-editor .markdown-display,#markdown-editor .markdown-editor-wrap{-webkit-box-flex:1;flex:1;position:relative}#markdown-editor .markdown-editor-wrap{display:-webkit-box;display:flex;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-box-flex:0;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}.logo-text,.page-list h5,label.checkbox,label.radio{font-weight:400}label.checkbox input[type=radio],label.checkbox input[type=checkbox],label.radio input[type=radio],label.radio input[type=checkbox]{margin-right:6px}label+p.small{margin-bottom:.8em}.toggle-switch{background-color:#BBB;width:36px;height:14px;border-radius:7px;position:relative;-webkit-transition:all ease-in-out 120ms;transition:all ease-in-out 120ms;cursor:pointer;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);-webkit-transition:all ease-in-out 120ms;transition:all ease-in-out 120ms}.toggle-switch.active{background-color:rgba(82,162,86,.4)}.toggle-switch.active:after{left:16px;background-color:#52A256;border:#305e32}.toggle-switch-checkbox{display:none}input:checked+.toggle-switch{background-color:rgba(82,162,86,.4)}input:checked+.toggle-switch:after{left:16px;background-color:#52A256;border:#305e32}.form-group{margin-bottom:12px}.form-group textarea{display:block;width:100%;min-height:64px}.form-group .text-neg,.form-group .text-pos{padding:6px 0}.description-input textarea,.inline-input-style,.title-input input[type=text]{border:2px dotted #BBB;display:block;width:100%;padding:6px 12px}.title-input .input{width:100%}.description-input label,.title-input label{margin-top:16px;color:#666}.title-input input[type=text]{margin-top:0;padding-right:0;width:100%;color:#444}.title-input.page-title{font-size:.8em}.title-input.page-title .input{border:0;margin-bottom:-1px}.title-input.page-title input[type=text]{max-width:840px;margin:0 auto;border:none}.search-box,.search-box input,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}input.outline{border:0;border-bottom:2px solid #DDD;border-radius:0}input.outline:active,input.outline:focus{border:0;border-bottom:2px solid #AAA;outline:0}#login-form label[for=remember]{margin:0}#login-form label.toggle-switch{margin-left:32px}.image-picker img{background-color:#BBB}div[toggle-switch]{height:18px;width:150px}table{border-collapse:collapse;border-spacing:0;min-width:100px}table thead{background-color:#F8F8F8;font-weight:500}table td,table th{min-width:10px;padding:6px 8px;border:1px solid #DDD;overflow:auto;line-height:1.2}table td p,table th p{margin:0}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;margin:0}.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.file-table td,table.no-style td{border:0;padding:0}table.list-table{margin:-6px}table.list-table td{border:0;vertical-align:middle;padding:6px}.dropdown-container,.dz-preview,.logo-image,.logo-text,form.search-box button,header .links,header .user-name,header .user-name>*{vertical-align:top}table.file-table td{padding:6px}table.file-table .ui-sortable-helper{display:table}.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)}.anim.pointer,.loading-container>div{-webkit-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;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>div>.mce-tinymce.mce-container.mce-panel{-webkit-box-flex:1;flex:1 1 auto;display:-webkit-box!important;display:flex!important;flex-direction:column;-webkit-box-align:stretch;align-items:stretch;margin:0 -1px}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body{-webkit-box-flex:1;flex:1 1 auto;display:-webkit-box!important;display:flex!important;flex-direction:column;-webkit-box-align:stretch;align-items:stretch}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-toolbar-grp{-webkit-box-flex:0;flex:0 1 auto}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-edit-area{-webkit-box-flex:1;flex:1 1 auto;display:-webkit-box!important;display:flex!important;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-align:stretch;align-items:stretch}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-edit-area iframe{-webkit-box-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,.333);position:fixed;z-index:95536;width:100%;height:100%;min-width:100%;min-height:100%;top:0;left:0;right:0;bottom:0;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;display:none}.popup-body-wrap{display:-webkit-box;display:flex}.popup-body{background-color:#FFF;max-height:90%;width:1200px;height:auto;margin:2% 5%;border-radius:4px;box-shadow:0 0 15px 0 rgba(0,0,0,.3);overflow:hidden;z-index:999;display:-webkit-box;display:flex;flex-direction:column}.popup-body.small{margin:2% auto;width:800px;max-width:90%}.popup-body:before{display:-webkit-box;display:flex;align-self:flex-start}.corner-button{position:absolute;top:0;right:0;margin:0;height:40px;border-radius:0;box-shadow:none}.popup-footer,.popup-header{display:block!important;position:relative;height:40px;-webkit-box-flex:0!important;flex:none!important}.popup-footer .popup-title,.popup-header .popup-title{color:#FFF;padding:8px 16px}body.flexbox-support #entity-selector-wrap .popup-body .form-group{height:444px;min-height:444px}#entity-selector-wrap .popup-body .form-group{margin:0}.image-manager-body{min-height:70vh}.dropzone-container{position:relative;border:3px dashed #DDD}.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;-webkit-transition:all cubic-bezier(.4,0,1,1) 160ms;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;margin-left:1px;padding:16px 24px;overflow-y:auto;border-left:1px solid #DDD}.image-manager-sidebar .dropzone-container{margin-top:16px}.image-manager-list{overflow-y:scroll;-webkit-box-flex:1;flex:1}.image-manager-content,.page-editor{flex-direction:column;-webkit-box-orient:vertical;-webkit-box-direction:normal}.image-manager-content{display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1}.image-manager-content .container{width:100%}.dz-message{font-size:1.2em;line-height:1.1;font-style:italic;color:#aaa;cursor:pointer;padding:24px 16px;-webkit-transition:all ease-in-out 120ms;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:-webkit-linear-gradient(top,#eee,#ddd);background:linear-gradient(to bottom,#eee,#ddd)}.dz-preview.dz-image-preview{background:#fff}.dz-preview.dz-image-preview .dz-details{-webkit-transition:opacity .2s linear;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,.page-content del,.page-content ins{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;-webkit-transition:all .2s linear;transition:all .2s linear}.dz-preview.dz-complete .dz-progress{opacity:0;-webkit-transition:opacity .4s ease-in;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:-webkit-linear-gradient(top,#666,#444);background:linear-gradient(to bottom,#666,#444);position:absolute;top:0;left:0;bottom:0;width:0;-webkit-transition:width .3s ease-in-out;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;-webkit-transition:opacity .3s ease;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}[tab-container] .nav-tabs{text-align:left;border-bottom:1px solid #DDD;margin-bottom:16px}[tab-container] .nav-tabs .tab-item{padding:12px;color:#666}[tab-container] .nav-tabs .tab-item.selected{border-bottom-width:3px}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;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;-webkit-transition:all ease-in-out 120ms;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 h4{margin:24px 0 6px;font-size:1.666em}.page-list a.chapter{color:#ef7c3c}.page-list .inset-list{display:none;overflow:hidden;margin-bottom:24px}.page-list h5{display:block;margin:12px 0 0;border-left:5px solid #0288D1;padding:6px 0 6px 16px;font-size:1.1em}.page-list h5.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{cursor:pointer;margin:0 0 24px;-webkit-transition:all ease-in-out 180ms;transition:all ease-in-out 180ms;user-select:none}.floating-toolbox .handle,ul.pagination a,ul.pagination span{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.chapter-toggle i.zmdi-caret-right{-webkit-transition:all ease-in-out 180ms;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)}.sidebar-page-nav{list-style:none;margin:12px 0 16px 2px;border-left:2px dotted #BBB}.sidebar-page-nav li{padding-left:12px;margin-bottom:4px;font-size:.95em}.sidebar-page-nav .h1,.sidebar-page-nav .h2{margin-left:-2px}.sidebar-page-nav .h3{margin-left:12px}.sidebar-page-nav .h4{margin-left:24px}.sidebar-page-nav .h5{margin-left:36px}.sidebar-page-nav .h6{margin-left:48px}.book-tree{padding:6px 0 0;position:relative;right:0;top:0;-webkit-transition:ease-in-out 240ms;transition:ease-in-out 240ms;-webkit-transition-property:right,border;transition-property:right,border;border-left:0 solid #FFF;background-color:#FFF}.book-tree.fixed{position:fixed;top:0;padding-left:24px;padding-right:39px;width:30%;right:-15px;height:100%;overflow-y:scroll;-ms-overflow-style:none;border-left:1px solid #DDD}.book-tree.fixed::-webkit-scrollbar{width:0!important}.book-tree h4{padding:16px 12px 0}.book-tree h4 i{padding-right:12px}.book-tree .sidebar-page-list{list-style:none;margin:6px 0 0;padding-left:0;border-left:5px solid #009688}.book-tree .sidebar-page-list li a{display:block;border-bottom:none;padding:6px 0 6px 12px}.book-tree .sidebar-page-list li a i{padding-right:8px}.book-tree .sidebar-page-list a,.book-tree .sidebar-page-list li{display:block}.book-tree .sidebar-page-list a.bold{color:#EEE!important}.book-tree .sidebar-page-list ul{list-style:none;margin:0}.book-tree .sidebar-page-list .book{color:#009688!important}.book-tree .sidebar-page-list .book.selected{background-color:rgba(0,150,136,.29)}.book-tree .sidebar-page-list .chapter{color:#ef7c3c!important}.book-tree .sidebar-page-list .chapter.selected{background-color:rgba(239,124,60,.12)}.book-tree .sidebar-page-list .chapter-toggle{padding-left:12px}.book-tree .sidebar-page-list .list-item-chapter{border-left:5px solid #ef7c3c;margin:10px;display:block}.book-tree .sidebar-page-list .list-item-page{border-bottom:none;border-left:5px solid #0288D1;margin:10px}.book-tree .sidebar-page-list .page{color:#0288D1!important;border-bottom:none}.book-tree .sidebar-page-list .page.selected{background-color:rgba(2,136,209,.1)}.book-tree .sidebar-page-list .list-item-page.draft{border-left:5px solid #9A60DA}.book-tree .sidebar-page-list .list-item-page.draft a.page,.book-tree .sidebar-page-list .page.draft .page{color:#9A60DA!important}.book-tree .sidebar-page-list .sub-menu{display:none;padding-left:0}.book-tree .sidebar-page-list .sub-menu.open{display:block}.sortable-page-list,.sortable-page-list ul{list-style:none;background-color:#FFF}.sort-box{margin-bottom:16px;padding:0 24px;border-left:4px solid #009688}.sortable-page-list,.sortable-page-list>ul{margin-left:0}.sortable-page-list ul{margin-bottom:0;margin-top:0;box-shadow:0 0 1px 0 rgba(0,0,0,.1)}.sortable-page-list li{border:1px solid #DDD;padding:6px 12px;margin-top:-1px;min-height:38px}.sortable-page-list li.text-chapter{border-left:2px solid #ef7c3c}.sortable-page-list li.text-page{border-left:2px solid #0288D1}.sortable-page-list li:first-child{margin-top:6px}.sortable-page-list li.placeholder{position:relative}.sortable-page-list li.placeholder:before{position:absolute}.activity-list-item{padding:12px 0;color:#888;border-bottom:1px solid #EEE;font-size:.9em}.activity-list-item .left+.right{margin-left:42px}ul.pagination{display:inline-block;list-style:none;margin:16px 0;padding-left:1px}ul.pagination li:first-child a,ul.pagination li:first-child span{border-radius:3px 0 0 3px}ul.pagination li:last-child a,ul.pagination li:last-child span{border-radius:0 3px 3px 0}ul.pagination a,ul.pagination span{display:block;padding:3px 12px;border:1px solid #CCC;margin-left:-1px;color:#888;user-select:none}.compact ul.pagination,.entity-list h4{margin:0}ul.pagination a.disabled,ul.pagination span.disabled{cursor:not-allowed}ul.pagination li.active span{background-color:rgba(2,136,209,.8);color:#EEE;border-color:rgba(2,136,209,.8)}ul.pagination a{color:#0288D1}.entity-list>div{padding:16px 0}.entity-list p{margin:6px 0 0}.entity-list hr{margin:0}.entity-list .text-small.text-muted{color:#AAA;font-size:.75em;margin-top:6px}.entity-list .page.draft .text-page{color:#9A60DA}.entity-list.compact{font-size:.6em}.entity-list.compact a,.entity-list.compact h4{line-height:1.2}.entity-list.compact p{display:none;font-size:12px;padding-top:6px;margin:0}.entity-list.compact>p.empty-text{display:block;font-size:15px}.entity-list.compact hr{margin:0}.dropdown-container{display:inline-block;position:relative}.dropdown-container ul{display:none;position:absolute;z-index:999;top:0;list-style:none;right:0;margin:16px 0;background-color:#FFF;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border-radius:1px;border:1px solid #EEE;min-width:180px;padding:6px 0;color:#555;text-align:left!important}.dropdown-container ul.wide{min-width:220px}.dropdown-container ul .text-muted{color:#999}.dropdown-container ul li.padded{padding:6px 16px}.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:12px;padding-right:0;display:inline-block;width:16px}.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-box;display:flex;-webkit-box-align:stretch;align-items:stretch}.page-editor .faded-small{height:auto}.page-editor .edit-area{-webkit-box-flex:1;flex:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}.draft-notification{pointer-events:none;-webkit-transform:scale(0);transform:scale(0);-webkit-transition:-webkit-transform ease-in-out 120ms;transition:-webkit-transform ease-in-out 120ms;transition:transform ease-in-out 120ms;transition:transform ease-in-out 120ms,-webkit-transform ease-in-out 120ms;-webkit-transform-origin:50% 50%;transform-origin:50% 50%}.draft-notification.visible{-webkit-transform:scale(1);transform:scale(1)}.page-style.editor{padding:0!important}.page-content{max-width:840px;overflow-wrap:break-word}.page-content .align-left{text-align:left}.page-content img.align-left,.page-content table.align-left{float:left!important;margin:6px 12px 6px 0}.page-content .align-right{float:right!important}.page-content img.align-right,.page-content table.align-right{text-align:right;margin:6px 0 6px 12px}.page-content .align-center{text-align:center}.page-content img{max-width:100%;height:auto}.page-content .title-input input[type=text],.page-content h1,.page-content h2,.page-content h3,.page-content h4,.page-content h5,.page-content h6,.page-content pre,.title-input .page-content input[type=text]{clear:left}.page-content hr{clear:both;margin:16px 0}.page-content table{-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;table-layout:fixed;max-width:100%;height:auto!important}.page-content ins{background:#dbffdb}.page-content del{background:#FFECEC}.pointer-container{position:relative;display:none;left:0;z-index:10}.pointer,.pointer:before{position:absolute;background-color:#FFF}.pointer{border:1px solid #CCC;display:inline-block;padding:12px;border-radius:4px;box-shadow:0 0 8px 1px rgba(212,209,209,.35);top:-60px;width:272px;z-index:55}.pointer:before{left:50%;bottom:-9px;width:16px;height:16px;margin-left:-8px;display:block;-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}.floating-toolbox{background-color:#FFF;border:1px solid #DDD;right:64px;width:48px;overflow:hidden;-webkit-box-align:stretch;align-items:stretch;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;display:-webkit-box;display:flex;-webkit-transition:width ease-in-out 180ms;transition:width ease-in-out 180ms;margin-top:-1px;min-height:0}.floating-toolbox div[toolbox-tab-content],.floating-toolbox form{-webkit-box-orient:vertical;-webkit-box-direction:normal;overflow-y:scroll}.floating-toolbox.open{width:480px}.floating-toolbox [toolbox-toggle] i{-webkit-transition:-webkit-transform ease-in-out 180ms;transition:-webkit-transform ease-in-out 180ms;transition:transform ease-in-out 180ms;transition:transform ease-in-out 180ms,-webkit-transform ease-in-out 180ms}.floating-toolbox [toolbox-toggle]{-webkit-transition:background-color ease-in-out 180ms;transition:background-color ease-in-out 180ms}.floating-toolbox.open [toolbox-toggle]{background-color:rgba(255,0,0,.29)}.floating-toolbox.open [toolbox-toggle] i{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.floating-toolbox>div{-webkit-box-flex:1;flex:1;position:relative}.floating-toolbox .tabs{display:block;border-right:1px solid #DDD;width:48px;-webkit-box-flex:0;flex:0 1 auto}.floating-toolbox .tabs i{color:rgba(0,0,0,.5);padding:0;margin:0}.floating-toolbox .tabs>span{display:block;cursor:pointer;padding:12px 16px;font-size:13.5px;line-height:1.6;border-bottom:1px solid rgba(255,255,255,.3)}.floating-toolbox.open .tabs>span.active{color:#444;background-color:rgba(0,0,0,.1)}.floating-toolbox div[toolbox-tab-content]{padding-bottom:45px;display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1;flex-direction:column;min-height:0}.floating-toolbox div[toolbox-tab-content] .padded{-webkit-box-flex:1;flex:1;padding-top:0}.floating-toolbox h4{font-size:24px;margin:16px 0 0;padding:0 24px 12px}.floating-toolbox .tags input{max-width:100%;width:100%;min-width:50px}.floating-toolbox .tags td{padding-right:12px;padding-top:12px;position:relative}.floating-toolbox .handle{user-select:none;cursor:move;color:#999}.floating-toolbox form{display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1;flex-direction:column}.floating-toolbox table td,.floating-toolbox table th{overflow:visible}[toolbox-tab-content]{display:none}.tag-display{margin:32px 16px;border:1px solid #DDD;min-width:180px;max-width:320px;opacity:.7;z-index:5;position:relative}.tag-display table{width:100%;margin:0;padding:0}.tag-display .heading th{padding:6px 12px;color:#333;font-weight:400}.tag-display td{border:0;border-bottom:1px solid #DDD;padding:6px 12px;color:#444}.tag-display .tag-value{color:#888}.tag-display tr:last-child td{border-bottom:none}.tag-display .tag{padding:12px}.suggestion-box{position:absolute;background-color:#FFF;border:1px solid #BBB;box-shadow:0 0 4px 1px #CCC;list-style:none;z-index:100;padding:0;margin:0;border-radius:3px}.avatar,.notification,.suggestion-box li.active{background-color:#EEE}.suggestion-box li{display:block;padding:6px 12px;border-bottom:1px solid #DDD}.suggestion-box li:last-child{border-bottom:0}[v-cloak],[v-show]{display:none}.ng-cloak,[ng-cloak],[ng\:cloak]{display:none!important;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}[ng-click]{cursor:pointer}.dragged{position:absolute;opacity:.5;z-index:2000}body.dragging,body.dragging *{cursor:move!important}.avatar{border-radius:100%;width:30px;height:30px}.avatar.square,.notification{border-radius:3px}.avatar.med{width:40px;height:40px}.avatar.large{width:80px;height:80px}.avatar.huge{width:120px;height:120px}.notification{position:fixed;top:0;right:0;margin:64px 32px;padding:24px 32px;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);z-index:999999;display:block;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;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;-webkit-transition:all ease-in-out 180ms;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-box;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-box-flex:5;flex:5}.contained-search-box input:active,.contained-search-box input:focus{outline:0}.contained-search-box button{width:60px}.contained-search-box button i{padding:0}.contained-search-box button.cancel.active{background-color:#E84F4F;color:#EEE}.entity-selector{border:1px solid #DDD;border-radius:3px;overflow:hidden;font-size:.8em}.entity-selector input[type=text]{width:100%;display:block;border-radius:0;border:0;border-bottom:1px solid #DDD;font-size:16px;padding:12px 16px}.entity-selector .entity-list{overflow-y:scroll;height:400px;background-color:#EEE}.entity-selector .loading{height:400px;padding-top:24px}.entity-selector .entity-list>p{text-align:center;padding-top:24px;font-size:1.333em}.entity-selector .entity-list>div{padding-left:16px;padding-right:16px;background-color:#FFF;-webkit-transition:all ease-in-out 120ms;transition:all ease-in-out 120ms;cursor:pointer}.entity-list-item.selected a,.entity-list-item.selected h3,.entity-list-item.selected i,.entity-list-item.selected p,.entity-list-item.selected span{color:#EEE} \ No newline at end of file +article,aside,blockquote,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}.chapter-toggle,.toggle-switch{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.anim.fadeIn,.anim.searchResult{-webkit-animation-fill-mode:forwards}#markdown-editor .markdown-editor-wrap,.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel,.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body,.popup-body,body.flexbox{-webkit-box-orient:vertical;-webkit-box-direction:normal}*,.dropzone,.dropzone *{box-sizing:border-box}.title-input input[type=text],a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{margin:0;padding:0;border:0;font:inherit;vertical-align:baseline}.link,.text-button,a,body{font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:'';content:none}@font-face{font-family:Roboto;font-style:normal;font-weight:100;src:local("Roboto Thin"),local("Roboto-Thin"),url(../fonts/roboto-v15-cyrillic_latin-100.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-100.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:100;src:local("Roboto Thin Italic"),local("Roboto-ThinItalic"),url(../fonts/roboto-v15-cyrillic_latin-100italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-100italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:300;src:local("Roboto Light"),local("Roboto-Light"),url(../fonts/roboto-v15-cyrillic_latin-300.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-300.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:300;src:local("Roboto Light Italic"),local("Roboto-LightItalic"),url(../fonts/roboto-v15-cyrillic_latin-300italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-300italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:local("Roboto"),local("Roboto-Regular"),url(../fonts/roboto-v15-cyrillic_latin-regular.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-regular.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:400;src:local("Roboto Italic"),local("Roboto-Italic"),url(../fonts/roboto-v15-cyrillic_latin-italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:500;src:local("Roboto Medium"),local("Roboto-Medium"),url(../fonts/roboto-v15-cyrillic_latin-500.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-500.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:500;src:local("Roboto Medium Italic"),local("Roboto-MediumItalic"),url(../fonts/roboto-v15-cyrillic_latin-500italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-500italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:700;src:local("Roboto Bold"),local("Roboto-Bold"),url(../fonts/roboto-v15-cyrillic_latin-700.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-700.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:700;src:local("Roboto Bold Italic"),local("Roboto-BoldItalic"),url(../fonts/roboto-v15-cyrillic_latin-700italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-700italic.woff) format("woff")}@font-face{font-family:'Roboto Mono';font-style:normal;font-weight:400;src:local("Roboto Mono"),local("RobotoMono-Regular"),url(../fonts/roboto-mono-v4-latin-regular.woff2) format("woff2"),url(../fonts/roboto-mono-v4-latin-regular.woff) format("woff")}html{background-color:#FFF;height:100%;overflow-y:scroll}html.flexbox{overflow-y:hidden}body{font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}button{font-size:100%}.title-input input[type=text],h1{font-size:3.425em;line-height:1.22222222em;margin-top:.48888889em;margin-bottom:.48888889em}h3,h4,h5,h6{margin-top:.78571429em}h2,h3,h4{margin-bottom:.43137255em}h2{font-size:2.8275em;line-height:1.294117647em;margin-top:.8627451em}h3{font-size:2.333em;line-height:1.571428572em}h4{font-size:1.666em;line-height:1.375em}.title-input input[type=text],h1,h2,h3,h4,h5,h6{font-weight:400;position:relative;display:block;color:#555}.title-input input[type=text] .subheader,h1 .subheader,h2 .subheader,h3 .subheader,h4 .subheader,h5 .subheader,h6 .subheader{font-size:.5em;line-height:1em;color:#969696}h5{font-size:1.4em}h5,h6{font-weight:500;line-height:1.2em;margin-bottom:.66em}.link,.text-button,a{color:#0288D1;cursor:pointer;text-decoration:none;-webkit-transition:color ease-in-out 80ms;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:-webkit-linear-gradient(left,#fff,#e3e0e0 20%,#e3e0e0 80%,#fff);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;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}body.flexbox,ol,ul{overflow:hidden}blockquote{position:relative;border-left:4px solid #0288D1;background-color:#F8F8F8;padding:12px 16px 12px 32px}blockquote:before{content:"\201C";font-size:2em;font-weight:700;position:absolute;top:12px;left:12px;color:#777}.code-base,code,span.code{background-color:#F8F8F8;font-family:monospace;font-size:.8em;border:1px solid #DDD;border-radius:3px}code{display:inline;padding:1px 3px;white-space:pre;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:#969696}.text-primary,.text-primary:hover,p .primary,p .primary:hover,p.primary,p.primary:hover,span.primary,span.primary:hover{color:#0288D1}.text-secondary,.text-secondary:hover,p .secondary,p .secondary:hover,p.secondary,p.secondary:hover,span.secondary,span.secondary:hover{color:#e27b41}.text-book,.text-book:hover{color:#009688}.text-page,.text-page:hover{color:#0288D1}.text-page.draft,.text-page.draft:hover{color:#9A60DA}.text-chapter,.text-chapter:hover{color:#ef7c3c}.faded .text-book:hover{color:#009688!important}.faded .text-chapter:hover{color:#ef7c3c!important}.faded .text-page:hover{color:#0288D1!important}span.highlight{font-weight:700;padding:2px 4px}ul{padding-left:20.8px;list-style:disc}ol{list-style:decimal;padding-left:32px}.underlined{text-decoration:underline}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-bigger{font-size:1.1em}.text-large{font-size:1.6666em}.no-color{color:inherit}.header-group{margin:16px 0}.header-group .title-input input[type=text],.header-group h1,.header-group h2,.header-group h3,.header-group h4,.header-group h5,.header-group h6,.title-input .header-group input[type=text]{margin:0}span.sep{color:#BBB;padding:0 6px}.list>*{display:block}.action-header .title-input input[type=text],.action-header h1,.title-input .action-header input[type=text]{margin-top:16px}i{padding-right:6px}body.flexbox{display:-webkit-box;display:flex;flex-direction:column;-webkit-box-align:stretch;align-items:stretch;height:100%;min-height:100%;max-height:100%}body.flexbox #content{-webkit-box-flex:1;flex:1;display:-webkit-box;display:flex;min-height:0}.flex-fill{display:-webkit-box;display:flex;-webkit-box-align:stretch;align-items:stretch;min-height:0}.flex-fill .flex,.flex-fill.flex{min-height:0;-webkit-box-flex:1;flex:1}.flex-child>div{-webkit-box-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.medium{max-width:992px}.container.small{max-width:840px}.center-box{margin:32px auto 0;padding:16px 48px 64px;max-width:346px;display:inline-block;text-align:left;vertical-align:top}.center-box.login{background-color:#EEE;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border:1px solid #DDD}.row{margin-left:-16px;margin-right:-16px}.float{float:left}.float.right{float:right}.block{display:block;position:relative}.inline{display:inline}.block.inline{display:inline-block}.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{position:relative;min-height:1px;padding-left:16px;padding-right:16px}.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.row:after,.row:before{content:" ";display:table}.clearfix:after,.container-fluid:after,.container:after,.row:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.shaded{background-color:#f1f1f1}.shaded.pos{background-color:#d6ead7}.shaded.neg{background-color:#f4a9a9}.shaded.primary{background-color:#a1ddfe}.shaded.secondary{background-color:#f6d7c6}.bordered{border:1px solid #BBB}.bordered.pos{border-color:#52A256}.bordered.neg{border-color:#E84F4F}.bordered.primary{border-color:#0288D1}.bordered.secondary{border-color:#e27b41}.bordered.thick{border-width:2px}.rounded{border-radius:3px}.nopadding{padding:0}.padded{padding:24px}.padded.large{padding:32px}.padded>h1:first-child,.padded>h2:first-child,.padded>h3:first-child,.padded>h4:first-child,.title-input .padded>input[type=text]:first-child{margin-top:.1em}.padded-top,.padded-vertical{padding-top:16px}.padded-top.large,.padded-vertical.large{padding-top:32px}.padded-bottom,.padded-vertical{padding-bottom:16px}.padded-bottom.large,.padded-vertical.large{padding-bottom:32px}.padded-horizontal,.padded-left{padding-left:16px}.padded-horizontal.large,.padded-left.large{padding-left:32px}.padded-horizontal,.padded-right{padding-right:16px}.padded-horizontal.large,.padded-right.large{padding-right:32px}.margins{margin:24px}.margins.large{margin:32px}.margin-top,.margins-vertical{margin-top:16px}.margin-top.large,.margins-vertical.large{margin-top:32px}.margin-bottom,.margins-vertical{margin-bottom:16px}.margin-bottom.large,.margins-vertical.large{margin-bottom:32px}.margin-left,.margins-horizontal{margin-left:16px}.margin-left.large,.margins-horizontal.large{margin-left:32px}.margin-right,.margins-horizontal{margin-right:16px}.margin-right.large,.margins-horizontal.large,header .links{margin-right:32px}.callout{border-left:3px solid #BBB;background-color:#EEE;padding:12px;display:block}.callout:before,.callout>*{display:inline-block}.callout:before{font-family:Material-Design-Iconic-Font;padding-right:12px}.callout.success{border-left-color:#52A256;background-color:#e7f3e7;color:#376c39}.callout.success:before{content:'\f269'}.callout.danger{border-left-color:#E84F4F;background-color:#fce8e8;color:#b91818}.callout.danger:before{content:'\f1f2'}.callout.info{border-left-color:#0288D1;background-color:#d3efff;color:#015380}.callout.info:before{content:'\f1f8'}.callout.warning{border-left-color:#e27b41;background-color:#faeae0;color:#b6531c}.callout.warning:before{content:'\f1f1'}.button-group:after,.dz-preview .dz-error-message:after,.editor-toolbar:after,.pointer:before,.toggle-switch:after{content:''}.button,.button-base,input[type=button],input[type=submit]{text-decoration:none;font-size:15px;line-height:1.4em;padding:6px 16px;margin:6px 6px 6px 0;display:inline-block;border:none;font-weight:500;font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif;outline:0;border-radius:2px;cursor:pointer;-webkit-transition:all ease-in-out 120ms;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}.button[disabled],.button[disabled]:hover{background-color:#BBB;cursor:default}.text-button:active,.text-button:focus{outline:0}.text-button:hover{text-decoration:none}.text-button.neg{color:#E84F4F}.button-group:after{display:block;font-size:0;clear:both;position:relative}.button-group .button,.button-group button[type=button]{margin:6px 0;float:left;border-radius:0}.button-group .button:first-child,.button-group button[type=button]:first-child{border-radius:2px 0 0 2px}.button-group .button:last-child,.button-group button[type=button]:last-child{border-radius:0 2px 2px 0}.button.block{width:100%;text-align:center;display:block}.button.icon i{padding-right:0}.button[disabled]:hover{box-shadow:none}.input-base,input[type=text],input[type=number],input[type=email],input[type=search],input[type=url],input[type=password],select,textarea{background-color:#FFF;border-radius:3px;border:1px solid #CCC;display:inline-block;font-size:14px;font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif;padding:6px;color:#222;width:250px;max-width:100%}#markdown-editor textarea,.editor-toolbar{width:100%;font-family:'Roboto Mono'}.input-base.invalid,.input-base.neg,input.invalid[type=text],input.invalid[type=number],input.invalid[type=email],input.invalid[type=search],input.invalid[type=url],input.invalid[type=password],input.neg[type=text],input.neg[type=number],input.neg[type=email],input.neg[type=search],input.neg[type=url],input.neg[type=password],select.invalid,select.neg,textarea.invalid,textarea.neg{border:1px solid #E84F4F}.input-base.pos,.input-base.valid,input.pos[type=text],input.pos[type=number],input.pos[type=email],input.pos[type=search],input.pos[type=url],input.pos[type=password],input.valid[type=text],input.valid[type=number],input.valid[type=email],input.valid[type=search],input.valid[type=url],input.valid[type=password],select.pos,select.valid,textarea.pos,textarea.valid{border:1px solid #52A256}.input-base.disabled,.input-base[disabled],input.disabled[type=text],input.disabled[type=number],input.disabled[type=email],input.disabled[type=search],input.disabled[type=url],input.disabled[type=password],input[disabled][type=text],input[disabled][type=number],input[disabled][type=email],input[disabled][type=search],input[disabled][type=url],input[disabled][type=password],select.disabled,select[disabled],textarea.disabled,textarea[disabled]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAMUlEQVQIW2NkwAGuXbv2nxGbHEhCS0uLEUMSJgHShCKJLIEiiS4Bl8QmAZbEJQGSBAC62BuJ+tt7zgAAAABJRU5ErkJggg==)}.input-base:focus,input[type=text]:focus,input[type=number]:focus,input[type=email]:focus,input[type=search]:focus,input[type=url]:focus,input[type=password]:focus,select:focus,textarea:focus{outline:0}#html-editor{display:none}#markdown-editor{position:relative;z-index:5}#markdown-editor textarea{font-style:normal;font-weight:400;padding:6px 16px;color:#444;border-radius:0;max-height:100%;-webkit-box-flex:1;flex:1;border:0}#markdown-editor textarea:focus{outline:0}#markdown-editor .markdown-display,#markdown-editor .markdown-editor-wrap{-webkit-box-flex:1;flex:1;position:relative}#markdown-editor .markdown-editor-wrap{display:-webkit-box;display:flex;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-box-flex:0;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}.logo-text,.page-list h5,label.checkbox,label.radio{font-weight:400}label.checkbox input[type=radio],label.checkbox input[type=checkbox],label.radio input[type=radio],label.radio input[type=checkbox]{margin-right:6px}label+p.small{margin-bottom:.8em}.toggle-switch{background-color:#BBB;width:36px;height:14px;border-radius:7px;position:relative;-webkit-transition:all ease-in-out 120ms;transition:all ease-in-out 120ms;cursor:pointer;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);-webkit-transition:all ease-in-out 120ms;transition:all ease-in-out 120ms}.toggle-switch.active{background-color:rgba(82,162,86,.4)}.toggle-switch.active:after{left:16px;background-color:#52A256;border:#305e32}.toggle-switch-checkbox{display:none}input:checked+.toggle-switch{background-color:rgba(82,162,86,.4)}input:checked+.toggle-switch:after{left:16px;background-color:#52A256;border:#305e32}.form-group{margin-bottom:12px}.form-group textarea{display:block;width:100%;min-height:64px}.form-group .text-neg,.form-group .text-pos{padding:6px 0}.description-input textarea,.inline-input-style,.title-input input[type=text]{border:2px dotted #BBB;display:block;width:100%;padding:6px 12px}.title-input .input{width:100%}.description-input label,.title-input label{margin-top:16px;color:#666}.title-input input[type=text]{margin-top:0;padding-right:0;width:100%;color:#444}.title-input.page-title{font-size:.8em}.title-input.page-title .input{border:0;margin-bottom:-1px}.title-input.page-title input[type=text]{max-width:840px;margin:0 auto;border:none}.search-box,.search-box input,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}input.outline{border:0;border-bottom:2px solid #DDD;border-radius:0}input.outline:active,input.outline:focus{border:0;border-bottom:2px solid #AAA;outline:0}#login-form label[for=remember]{margin:0}#login-form label.toggle-switch{margin-left:32px}.image-picker img{background-color:#BBB}div[toggle-switch]{height:18px;width:150px}table{border-collapse:collapse;border-spacing:0;min-width:100px}table thead{background-color:#F8F8F8;font-weight:500}table td,table th{min-width:10px;padding:6px 8px;border:1px solid #DDD;overflow:auto;line-height:1.2}table td p,table th p{margin:0}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;margin:0}.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.file-table td,table.no-style td{border:0;padding:0}table.list-table{margin:-6px}table.list-table td{border:0;vertical-align:middle;padding:6px}.dropdown-container,.dz-preview,.logo-image,.logo-text,form.search-box button,header .links,header .user-name,header .user-name>*{vertical-align:top}table.file-table td{padding:6px}table.file-table .ui-sortable-helper{display:table}.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)}.anim.pointer,.loading-container>div{-webkit-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;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>div>.mce-tinymce.mce-container.mce-panel{-webkit-box-flex:1;flex:1 1 auto;display:-webkit-box!important;display:flex!important;flex-direction:column;-webkit-box-align:stretch;align-items:stretch;margin:0 -1px}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body{-webkit-box-flex:1;flex:1 1 auto;display:-webkit-box!important;display:flex!important;flex-direction:column;-webkit-box-align:stretch;align-items:stretch}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-toolbar-grp{-webkit-box-flex:0;flex:0 1 auto}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-edit-area{-webkit-box-flex:1;flex:1 1 auto;display:-webkit-box!important;display:flex!important;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-align:stretch;align-items:stretch}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-edit-area iframe{-webkit-box-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,.333);position:fixed;z-index:95536;width:100%;height:100%;min-width:100%;min-height:100%;top:0;left:0;right:0;bottom:0;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;display:none}.popup-body-wrap{display:-webkit-box;display:flex}.popup-body{background-color:#FFF;max-height:90%;width:1200px;height:auto;margin:2% 5%;border-radius:4px;box-shadow:0 0 15px 0 rgba(0,0,0,.3);overflow:hidden;z-index:999;display:-webkit-box;display:flex;flex-direction:column}.popup-body.small{margin:2% auto;width:800px;max-width:90%}.popup-body:before{display:-webkit-box;display:flex;align-self:flex-start}.corner-button{position:absolute;top:0;right:0;margin:0;height:40px;border-radius:0;box-shadow:none}.popup-footer,.popup-header{display:block!important;position:relative;height:40px;-webkit-box-flex:0!important;flex:none!important}.popup-footer .popup-title,.popup-header .popup-title{color:#FFF;padding:8px 16px}body.flexbox-support #entity-selector-wrap .popup-body .form-group{height:444px;min-height:444px}#entity-selector-wrap .popup-body .form-group{margin:0}.image-manager-body{min-height:70vh}.dropzone-container{position:relative;border:3px dashed #DDD}.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;-webkit-transition:all cubic-bezier(.4,0,1,1) 160ms;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;margin-left:1px;padding:16px 24px;overflow-y:auto;border-left:1px solid #DDD}.image-manager-sidebar .dropzone-container{margin-top:16px}.image-manager-list{overflow-y:scroll;-webkit-box-flex:1;flex:1}.image-manager-content,.page-editor{flex-direction:column;-webkit-box-orient:vertical;-webkit-box-direction:normal}.image-manager-content{display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1}.image-manager-content .container{width:100%}.dz-message{font-size:1.2em;line-height:1.1;font-style:italic;color:#aaa;cursor:pointer;padding:24px 16px;-webkit-transition:all ease-in-out 120ms;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:-webkit-linear-gradient(top,#eee,#ddd);background:linear-gradient(to bottom,#eee,#ddd)}.dz-preview.dz-image-preview{background:#fff}.dz-preview.dz-image-preview .dz-details{-webkit-transition:opacity .2s linear;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,.page-content del,.page-content ins{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;-webkit-transition:all .2s linear;transition:all .2s linear}.dz-preview.dz-complete .dz-progress{opacity:0;-webkit-transition:opacity .4s ease-in;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:-webkit-linear-gradient(top,#666,#444);background:linear-gradient(to bottom,#666,#444);position:absolute;top:0;left:0;bottom:0;width:0;-webkit-transition:width .3s ease-in-out;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;-webkit-transition:opacity .3s ease;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}[tab-container] .nav-tabs{text-align:left;border-bottom:1px solid #DDD;margin-bottom:16px}[tab-container] .nav-tabs .tab-item{padding:12px;color:#666}[tab-container] .nav-tabs .tab-item.selected{border-bottom-width:3px}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;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;-webkit-transition:all ease-in-out 120ms;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)}.book-tree,.book-tree.fixed{background-color:#FFF;top:0}.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 h4{margin:24px 0 6px;font-size:1.666em}.page-list a.chapter{color:#ef7c3c}.page-list .inset-list{display:none;overflow:hidden;margin-bottom:24px}.page-list h5{display:block;margin:12px 0 0;border-left:5px solid #0288D1;padding:6px 0 6px 16px;font-size:1.1em}.page-list h5.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{cursor:pointer;margin:0 0 24px;-webkit-transition:all ease-in-out 180ms;transition:all ease-in-out 180ms;user-select:none}.floating-toolbox .handle,ul.pagination a,ul.pagination span{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.chapter-toggle i.zmdi-caret-right{-webkit-transition:all ease-in-out 180ms;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)}.sidebar-page-nav{list-style:none;margin:12px 0 16px 2px;border-left:2px dotted #BBB}.sidebar-page-nav li{padding-left:12px;margin-bottom:4px;font-size:.95em}.sidebar-page-nav .h1,.sidebar-page-nav .h2{margin-left:-2px}.sidebar-page-nav .h3{margin-left:12px}.sidebar-page-nav .h4{margin-left:24px}.sidebar-page-nav .h5{margin-left:36px}.sidebar-page-nav .h6{margin-left:48px}.book-tree{padding:6px 0 0;position:relative;right:0;-webkit-transition:ease-in-out 240ms;transition:ease-in-out 240ms;-webkit-transition-property:right,border;transition-property:right,border;border-left:0 solid #FFF}.book-tree.fixed{z-index:5;position:fixed;padding-left:24px;padding-right:39px;width:30%;right:-15px;height:100%;overflow-y:scroll;-ms-overflow-style:none;border-left:1px solid #DDD}.book-tree.fixed::-webkit-scrollbar{width:0!important}.book-tree h4{padding:16px 12px 0}.book-tree h4 i{padding-right:12px}.book-tree .sidebar-page-list{list-style:none;margin:6px 0 0;padding-left:0;border-left:5px solid #009688}.book-tree .sidebar-page-list li a{display:block;border-bottom:none;padding:6px 0 6px 12px}.book-tree .sidebar-page-list li a i{padding-right:8px}.book-tree .sidebar-page-list a,.book-tree .sidebar-page-list li{display:block}.book-tree .sidebar-page-list a.bold{color:#EEE!important}.book-tree .sidebar-page-list ul{list-style:none;margin:0}.book-tree .sidebar-page-list .book{color:#009688!important}.book-tree .sidebar-page-list .book.selected{background-color:rgba(0,150,136,.29)}.book-tree .sidebar-page-list .chapter{color:#ef7c3c!important}.book-tree .sidebar-page-list .chapter.selected{background-color:rgba(239,124,60,.12)}.book-tree .sidebar-page-list .chapter-toggle{padding-left:12px}.book-tree .sidebar-page-list .list-item-chapter{border-left:5px solid #ef7c3c;margin:10px;display:block}.book-tree .sidebar-page-list .list-item-page{border-bottom:none;border-left:5px solid #0288D1;margin:10px}.book-tree .sidebar-page-list .page{color:#0288D1!important;border-bottom:none}.book-tree .sidebar-page-list .page.selected{background-color:rgba(2,136,209,.1)}.book-tree .sidebar-page-list .list-item-page.draft{border-left:5px solid #9A60DA}.book-tree .sidebar-page-list .list-item-page.draft a.page,.book-tree .sidebar-page-list .page.draft .page{color:#9A60DA!important}.book-tree .sidebar-page-list .sub-menu{display:none;padding-left:0}.book-tree .sidebar-page-list .sub-menu.open{display:block}.sortable-page-list,.sortable-page-list ul{list-style:none;background-color:#FFF}.sort-box{margin-bottom:16px;padding:0 24px;border-left:4px solid #009688}.sortable-page-list,.sortable-page-list>ul{margin-left:0}.sortable-page-list ul{margin-bottom:0;margin-top:0;box-shadow:0 0 1px 0 rgba(0,0,0,.1)}.sortable-page-list li{border:1px solid #DDD;padding:6px 12px;margin-top:-1px;min-height:38px}.sortable-page-list li.text-chapter{border-left:2px solid #ef7c3c}.sortable-page-list li.text-page{border-left:2px solid #0288D1}.sortable-page-list li:first-child{margin-top:6px}.sortable-page-list li.placeholder{position:relative}.sortable-page-list li.placeholder:before{position:absolute}.activity-list-item{padding:12px 0;color:#888;border-bottom:1px solid #EEE;font-size:.9em}.activity-list-item .left+.right{margin-left:42px}ul.pagination{display:inline-block;list-style:none;margin:16px 0;padding-left:1px}ul.pagination li:first-child a,ul.pagination li:first-child span{border-radius:3px 0 0 3px}ul.pagination li:last-child a,ul.pagination li:last-child span{border-radius:0 3px 3px 0}ul.pagination a,ul.pagination span{display:block;padding:3px 12px;border:1px solid #CCC;margin-left:-1px;color:#888;user-select:none}.compact ul.pagination,.entity-list h4{margin:0}ul.pagination a.disabled,ul.pagination span.disabled{cursor:not-allowed}ul.pagination li.active span{background-color:rgba(2,136,209,.8);color:#EEE;border-color:rgba(2,136,209,.8)}ul.pagination a{color:#0288D1}.entity-list>div{padding:16px 0}.entity-list p{margin:6px 0 0}.entity-list hr{margin:0}.entity-list .text-small.text-muted{color:#AAA;font-size:.75em;margin-top:6px}.entity-list .page.draft .text-page{color:#9A60DA}.entity-list.compact{font-size:.6em}.entity-list.compact a,.entity-list.compact h4{line-height:1.2}.entity-list.compact p{display:none;font-size:12px;padding-top:6px;margin:0}.entity-list.compact>p.empty-text{display:block;font-size:15px}.entity-list.compact hr{margin:0}.dropdown-container{display:inline-block;position:relative}.dropdown-container ul{display:none;position:absolute;z-index:999;top:0;list-style:none;right:0;margin:16px 0;background-color:#FFF;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border-radius:1px;border:1px solid #EEE;min-width:180px;padding:6px 0;color:#555;text-align:left!important}.dropdown-container ul.wide{min-width:220px}.dropdown-container ul .text-muted{color:#999}.dropdown-container ul li.padded{padding:6px 16px}.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:12px;padding-right:0;display:inline-block;width:16px}.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-box;display:flex;-webkit-box-align:stretch;align-items:stretch}.page-editor .faded-small{height:auto}.page-editor .edit-area{-webkit-box-flex:1;flex:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}.draft-notification{pointer-events:none;-webkit-transform:scale(0);transform:scale(0);-webkit-transition:-webkit-transform ease-in-out 120ms;transition:-webkit-transform ease-in-out 120ms;transition:transform ease-in-out 120ms;transition:transform ease-in-out 120ms,-webkit-transform ease-in-out 120ms;-webkit-transform-origin:50% 50%;transform-origin:50% 50%}.draft-notification.visible{-webkit-transform:scale(1);transform:scale(1)}.page-style.editor{padding:0!important}.page-content{max-width:840px;overflow-wrap:break-word}.page-content .align-left{text-align:left}.page-content img.align-left,.page-content table.align-left{float:left!important;margin:6px 12px 6px 0}.page-content .align-right{float:right!important}.page-content img.align-right,.page-content table.align-right{text-align:right;margin:6px 0 6px 12px}.page-content .align-center{text-align:center}.page-content img{max-width:100%;height:auto}.page-content .title-input input[type=text],.page-content h1,.page-content h2,.page-content h3,.page-content h4,.page-content h5,.page-content h6,.page-content pre,.title-input .page-content input[type=text]{clear:left}.page-content hr{clear:both;margin:16px 0}.page-content table{-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;table-layout:fixed;max-width:100%;height:auto!important}.page-content ins{background:#dbffdb}.page-content del{background:#FFECEC}.pointer-container{position:relative;display:none;left:0;z-index:10}.pointer,.pointer:before{position:absolute;background-color:#FFF}.pointer{border:1px solid #CCC;display:inline-block;padding:12px;border-radius:4px;box-shadow:0 0 8px 1px rgba(212,209,209,.35);top:-60px;width:272px;z-index:55}.pointer:before{left:50%;bottom:-9px;width:16px;height:16px;margin-left:-8px;display:block;-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}.floating-toolbox{background-color:#FFF;border:1px solid #DDD;right:64px;width:48px;overflow:hidden;-webkit-box-align:stretch;align-items:stretch;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;display:-webkit-box;display:flex;-webkit-transition:width ease-in-out 180ms;transition:width ease-in-out 180ms;margin-top:-1px;min-height:0}.floating-toolbox div[toolbox-tab-content],.floating-toolbox form{-webkit-box-orient:vertical;-webkit-box-direction:normal;overflow-y:scroll}.floating-toolbox.open{width:480px}.floating-toolbox [toolbox-toggle] i{-webkit-transition:-webkit-transform ease-in-out 180ms;transition:-webkit-transform ease-in-out 180ms;transition:transform ease-in-out 180ms;transition:transform ease-in-out 180ms,-webkit-transform ease-in-out 180ms}.floating-toolbox [toolbox-toggle]{-webkit-transition:background-color ease-in-out 180ms;transition:background-color ease-in-out 180ms}.floating-toolbox.open [toolbox-toggle]{background-color:rgba(255,0,0,.29)}.floating-toolbox.open [toolbox-toggle] i{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.floating-toolbox>div{-webkit-box-flex:1;flex:1;position:relative}.floating-toolbox .tabs{display:block;border-right:1px solid #DDD;width:48px;-webkit-box-flex:0;flex:0 1 auto}.floating-toolbox .tabs i{color:rgba(0,0,0,.5);padding:0;margin:0}.floating-toolbox .tabs>span{display:block;cursor:pointer;padding:12px 16px;font-size:13.5px;line-height:1.6;border-bottom:1px solid rgba(255,255,255,.3)}.floating-toolbox.open .tabs>span.active{color:#444;background-color:rgba(0,0,0,.1)}.floating-toolbox div[toolbox-tab-content]{padding-bottom:45px;display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1;flex-direction:column;min-height:0}.floating-toolbox div[toolbox-tab-content] .padded{-webkit-box-flex:1;flex:1;padding-top:0}.floating-toolbox h4{font-size:24px;margin:16px 0 0;padding:0 24px 12px}.floating-toolbox .tags input{max-width:100%;width:100%;min-width:50px}.floating-toolbox .tags td{padding-right:12px;padding-top:12px;position:relative}.floating-toolbox .handle{user-select:none;cursor:move;color:#999}.floating-toolbox form{display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1;flex-direction:column}.floating-toolbox table td,.floating-toolbox table th{overflow:visible}[toolbox-tab-content]{display:none}.tag-display{width:100%;position:relative}.tag-display table{width:100%;margin:0;padding:0}.tag-display tr:first-child td{padding-top:0}.tag-display .heading th{padding:6px 12px;color:rgba(100,100,100,.7);border:0;font-weight:400}.tag-display td{border:0;border-bottom:1px solid #EEE;padding:6px 12px;color:#444}.tag-display tr td:first-child{padding-left:0}.tag-display .tag-value{color:#888}.tag-display tr:last-child td{border-bottom:none}.tag-display .tag{padding:12px}.suggestion-box{position:absolute;background-color:#FFF;border:1px solid #BBB;box-shadow:0 0 4px 1px #CCC;list-style:none;z-index:100;padding:0;margin:0;border-radius:3px}.avatar,.notification,.suggestion-box li.active{background-color:#EEE}.suggestion-box li{display:block;padding:6px 12px;border-bottom:1px solid #DDD}.suggestion-box li:last-child{border-bottom:0}[v-cloak],[v-show]{display:none}.ng-cloak,[ng-cloak],[ng\:cloak]{display:none!important;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}[ng-click]{cursor:pointer}.dragged{position:absolute;opacity:.5;z-index:2000}body.dragging,body.dragging *{cursor:move!important}.avatar{border-radius:100%;width:30px;height:30px}.avatar.square,.notification{border-radius:3px}.avatar.med{width:40px;height:40px}.avatar.large{width:80px;height:80px}.avatar.huge{width:120px;height:120px}.notification{position:fixed;top:0;right:0;margin:64px 32px;padding:24px 32px;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);z-index:999999;display:block;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;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;-webkit-transition:all ease-in-out 180ms;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-box;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-box-flex:5;flex:5}.contained-search-box input:active,.contained-search-box input:focus{outline:0}.contained-search-box button{width:60px}.contained-search-box button i{padding:0}.contained-search-box button.cancel.active{background-color:#E84F4F;color:#EEE}.entity-selector{border:1px solid #DDD;border-radius:3px;overflow:hidden;font-size:.8em}.entity-selector input[type=text]{width:100%;display:block;border-radius:0;border:0;border-bottom:1px solid #DDD;font-size:16px;padding:12px 16px}.entity-selector .entity-list{overflow-y:scroll;height:400px;background-color:#EEE}.entity-selector .loading{height:400px;padding-top:24px}.entity-selector .entity-list>p{text-align:center;padding-top:24px;font-size:1.333em}.entity-selector .entity-list>div{padding-left:16px;padding-right:16px;background-color:#FFF;-webkit-transition:all ease-in-out 120ms;transition:all ease-in-out 120ms;cursor:pointer}.entity-list-item.selected a,.entity-list-item.selected h3,.entity-list-item.selected i,.entity-list-item.selected p,.entity-list-item.selected span{color:#EEE} \ No newline at end of file diff --git a/version b/version index 3c58828758c..b561134c692 100644 --- a/version +++ b/version @@ -1 +1 @@ -v0.13 +v0.13.1 From cdfda508d8a06cd00a7487828a2e2cb2f6a1a056 Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Sun, 22 Jan 2017 12:36:10 +0000 Subject: [PATCH 26/54] Updated assets for release v0.14 --- public/css/export-styles.css | 2 +- public/css/styles.css | 2 +- public/js/common.js | 24 ++++++++++++------------ version | 2 +- 4 files changed, 15 insertions(+), 15 deletions(-) diff --git a/public/css/export-styles.css b/public/css/export-styles.css index 151852fd2a8..56a58457f78 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;-ms-user-select:none}*{box-sizing:border-box}html{background-color:#FFF;height:100%;overflow-y:scroll}html.flexbox{overflow-y:hidden}body{font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}button{font-size:100%}.title-input input[type=text],h1{font-size:3.425em;line-height:1.22222222em;margin-top:.48888889em;margin-bottom:.48888889em}h3,h4,h5,h6{margin-top:.78571429em}h2,h3,h4{margin-bottom:.43137255em}h2{font-size:2.8275em;line-height:1.294117647em;margin-top:.8627451em}h3{font-size:2.333em;line-height:1.571428572em}h4{font-size:1.666em;line-height:1.375em}.title-input input[type=text],h1,h2,h3,h4,h5,h6{font-weight:400;position:relative;display:block;color:#555}.title-input input[type=text] .subheader,h1 .subheader,h2 .subheader,h3 .subheader,h4 .subheader,h5 .subheader,h6 .subheader{font-size:.5em;line-height:1em;color:#969696}h5{font-size:1.4em}h5,h6{font-weight:500;line-height:1.2em;margin-bottom:.66em}.link,a{color:#0288D1;cursor:pointer;text-decoration:none;-webkit-transition:color ease-in-out 80ms;transition:color ease-in-out 80ms;line-height:1.6}.link:hover,.underlined,a:hover{text-decoration:underline}.toggle-switch,.toggle-switch:after{-webkit-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:-webkit-linear-gradient(left,#fff,#e3e0e0 20%,#e3e0e0 80%,#fff);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}body.flexbox,ol,ul{overflow:hidden}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:#969696}.text-primary,.text-primary:hover,p .primary,p .primary:hover,p.primary,p.primary:hover,span.primary,span.primary:hover{color:#0288D1}.text-secondary,.text-secondary:hover,p .secondary,p .secondary:hover,p.secondary,p.secondary:hover,span.secondary,span.secondary:hover{color:#e27b41}.text-book,.text-book:hover{color:#009688}.text-page,.text-page:hover{color:#0288D1}.text-page.draft,.text-page.draft:hover{color:#9A60DA}.text-chapter,.text-chapter:hover{color:#ef7c3c}.faded .text-book:hover{color:#009688!important}.faded .text-chapter:hover{color:#ef7c3c!important}.faded .text-page:hover{color:#0288D1!important}span.highlight{font-weight:700;padding:2px 4px}ul{padding-left:20.8px;list-style:disc}ol{list-style:decimal;padding-left:32px}.book-tree .sidebar-page-list li a:hover,.faded .text-button:hover,.logo:hover,.page-content del,.page-content ins{text-decoration:none}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-bigger{font-size:1.1em}.text-large{font-size:1.6666em}.no-color{color:inherit}.header-group{margin:16px 0}.header-group .title-input input[type=text],.header-group h1,.header-group h2,.header-group h3,.header-group h4,.header-group h5,.header-group h6,.title-input .header-group input[type=text]{margin:0}span.sep{color:#BBB;padding:0 6px}.list>*{display:block}.action-header .title-input input[type=text],.action-header h1,.title-input .action-header input[type=text]{margin-top:16px}i{padding-right:6px}body.flexbox{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-align:stretch;align-items:stretch;height:100%;min-height:100%;max-height:100%}body.flexbox #content{-webkit-box-flex:1;flex:1;display:-webkit-box;display:flex;min-height:0}.flex-fill{display:-webkit-box;display:flex;-webkit-box-align:stretch;align-items:stretch;min-height:0}.flex-fill .flex,.flex-fill.flex{min-height:0;-webkit-box-flex:1;flex:1}.flex-child>div{-webkit-box-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.medium{max-width:992px}.container.small{max-width:840px}.center-box{margin:32px auto 0;padding:16px 48px 64px;max-width:346px;display:inline-block;text-align:left;vertical-align:top}.center-box.login{background-color:#EEE;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border:1px solid #DDD}.row{margin-left:-16px;margin-right:-16px}.float{float:left}.float.right{float:right}.block{display:block;position:relative}.inline{display:inline}.block.inline{display:inline-block}.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{position:relative;min-height:1px;padding-left:16px;padding-right:16px}.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.row:after,.row:before{content:" ";display:table}.clearfix:after,.container-fluid:after,.container:after,.row:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.shaded{background-color:#f1f1f1}.shaded.pos{background-color:#d6ead7}.shaded.neg{background-color:#f4a9a9}.shaded.primary{background-color:#a1ddfe}.shaded.secondary{background-color:#f6d7c6}.bordered{border:1px solid #BBB}.bordered.pos{border-color:#52A256}.bordered.neg{border-color:#E84F4F}.bordered.primary{border-color:#0288D1}.bordered.secondary{border-color:#e27b41}.bordered.thick{border-width:2px}.rounded{border-radius:3px}.nopadding{padding:0}.padded{padding:24px}.padded.large{padding:32px}.padded>h1:first-child,.padded>h2:first-child,.padded>h3:first-child,.padded>h4:first-child,.title-input .padded>input[type=text]:first-child{margin-top:.1em}.padded-top,.padded-vertical{padding-top:16px}.padded-top.large,.padded-vertical.large{padding-top:32px}.padded-bottom,.padded-vertical{padding-bottom:16px}.padded-bottom.large,.padded-vertical.large{padding-bottom:32px}.padded-horizontal,.padded-left{padding-left:16px}.padded-horizontal.large,.padded-left.large{padding-left:32px}.padded-horizontal,.padded-right{padding-right:16px}.padded-horizontal.large,.padded-right.large{padding-right:32px}.margins{margin:24px}.margins.large{margin:32px}.margin-top,.margins-vertical{margin-top:16px}.margin-top.large,.margins-vertical.large{margin-top:32px}.margin-bottom,.margins-vertical{margin-bottom:16px}.margin-bottom.large,.margins-vertical.large{margin-bottom:32px}.margin-left,.margins-horizontal{margin-left:16px}.margin-left.large,.margins-horizontal.large{margin-left:32px}.margin-right,.margins-horizontal{margin-right:16px}.margin-right.large,.margins-horizontal.large{margin-right:32px}.callout{border-left:3px solid #BBB;background-color:#EEE;padding:12px;display:block}.callout:before,.callout>*{display:inline-block}.callout:before{font-family:Material-Design-Iconic-Font;padding-right:12px}.callout.success{border-left-color:#52A256;background-color:#e7f3e7;color:#376c39}.callout.success:before{content:'\f269'}.callout.danger{border-left-color:#E84F4F;background-color:#fce8e8;color:#b91818}.callout.danger:before{content:'\f1f2'}.callout.info{border-left-color:#0288D1;background-color:#d3efff;color:#015380}.callout.info:before{content:'\f1f8'}.callout.warning{border-left-color:#e27b41;background-color:#faeae0;color:#b6531c}.callout.warning:before{content:'\f1f1'}.editor-toolbar:after,.pointer:before,.toggle-switch:after{content:''}.input-base,input[type=number],input[type=email],input[type=search],input[type=url],input[type=password],input[type=text],select,textarea{background-color:#FFF;border-radius:3px;border:1px solid #CCC;display:inline-block;font-size:14px;font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif;padding:6px;color:#222;width:250px;max-width:100%}#markdown-editor textarea,.editor-toolbar{width:100%;font-family:'Roboto Mono'}.input-base.invalid,.input-base.neg,input.invalid[type=number],input.invalid[type=email],input.invalid[type=search],input.invalid[type=url],input.invalid[type=password],input.invalid[type=text],input.neg[type=number],input.neg[type=email],input.neg[type=search],input.neg[type=url],input.neg[type=password],input.neg[type=text],select.invalid,select.neg,textarea.invalid,textarea.neg{border:1px solid #E84F4F}.input-base.pos,.input-base.valid,input.pos[type=number],input.pos[type=email],input.pos[type=search],input.pos[type=url],input.pos[type=password],input.pos[type=text],input.valid[type=number],input.valid[type=email],input.valid[type=search],input.valid[type=url],input.valid[type=password],input.valid[type=text],select.pos,select.valid,textarea.pos,textarea.valid{border:1px solid #52A256}.input-base.disabled,.input-base[disabled],input.disabled[type=number],input.disabled[type=email],input.disabled[type=search],input.disabled[type=url],input.disabled[type=password],input.disabled[type=text],input[disabled][type=number],input[disabled][type=email],input[disabled][type=search],input[disabled][type=url],input[disabled][type=password],input[disabled][type=text],select.disabled,select[disabled],textarea.disabled,textarea[disabled]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAMUlEQVQIW2NkwAGuXbv2nxGbHEhCS0uLEUMSJgHShCKJLIEiiS4Bl8QmAZbEJQGSBAC62BuJ+tt7zgAAAABJRU5ErkJggg==)}.input-base:focus,input[type=number]:focus,input[type=email]:focus,input[type=search]:focus,input[type=url]:focus,input[type=password]:focus,input[type=text]:focus,select:focus,textarea:focus{outline:0}#html-editor{display:none}#markdown-editor{position:relative;z-index:5}#markdown-editor textarea{font-style:normal;font-weight:400;padding:6px 16px;color:#444;border-radius:0;max-height:100%;-webkit-box-flex:1;flex:1;border:0}#markdown-editor textarea:focus{outline:0}#markdown-editor .markdown-display,#markdown-editor .markdown-editor-wrap{-webkit-box-flex:1;flex:1;position:relative}#markdown-editor .markdown-editor-wrap,.page-editor{flex-direction:column;-webkit-box-orient:vertical;-webkit-box-direction:normal}#markdown-editor .markdown-editor-wrap{display:-webkit-box;display:flex;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-box-flex:0;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;-webkit-user-select:none;-moz-user-select:none;user-select:none}.toggle-switch:after{display:block;position:relative;left:0;margin-top:-3px;width:20px;height:20px;border-radius:50%;background-color:#fafafa;border:1px solid #CCC;box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);transition:all ease-in-out 120ms}.toggle-switch.active{background-color:rgba(82,162,86,.4)}.toggle-switch.active:after{left:16px;background-color:#52A256;border:#305e32}.toggle-switch-checkbox{display:none}input:checked+.toggle-switch{background-color:rgba(82,162,86,.4)}input:checked+.toggle-switch:after{left:16px;background-color:#52A256;border:#305e32}.form-group{margin-bottom:12px}.form-group textarea{display:block;width:100%;min-height:64px}.form-group .text-neg,.form-group .text-pos{padding:6px 0}.description-input textarea,.inline-input-style,.title-input input[type=text]{border:2px dotted #BBB;display:block;width:100%;padding:6px 12px}.title-input .input{width:100%}.description-input label,.title-input label{margin-top:16px;color:#666}.title-input input[type=text]{margin-top:0;padding-right:0;width:100%;color:#444}.title-input.page-title{font-size:.8em}.title-input.page-title .input{border:0;margin-bottom:-1px}.title-input.page-title input[type=text]{max-width:840px;margin:0 auto;border:none}.search-box,div[editor-type=markdown] .title-input.page-title input[type=text],table{max-width:100%}.page-title input{display:block;width:100%;font-size:1.4em}.description-input textarea{font-size:15px;color:#666;width:100%}.search-box{position:relative}.search-box button{background-color:transparent;border:none;color:#0288D1;padding:0;margin:0 0 0 12px;cursor:pointer}.search-box button[type=submit]{margin-left:-24px}.search-box input{padding-right:24px;width:300px;max-width:100%}input.outline{border:0;border-bottom:2px solid #DDD;border-radius:0}input.outline:active,input.outline:focus{border:0;border-bottom:2px solid #AAA;outline:0}#login-form label[for=remember]{margin:0}#login-form label.toggle-switch{margin-left:32px}.image-picker img{background-color:#BBB}div[toggle-switch]{height:18px;width:150px}table{min-width:100px;border-spacing:0;border-collapse:collapse}table thead{background-color:#F8F8F8;font-weight:500}table td,table th{min-width:10px;padding:6px 8px;border:1px solid #DDD;overflow:auto;line-height:1.2}table td p,table th p{margin:0}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;margin:0}table.table th{font-weight:700}table.table tr:hover{background-color:#EEE}table.file-table td,table.no-style td{border:0;padding:0}table.list-table{margin:-6px}table.list-table td{border:0;vertical-align:middle;padding:6px}.dropdown-container,.logo-image,.logo-text,form.search-box button,header .links,header .user-name,header .user-name>*{vertical-align:top}table.file-table td{padding:6px}table.file-table .ui-sortable-helper{display:table}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;-webkit-transition:all ease-in-out 120ms;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)}.book-tree,.book-tree.fixed{background-color:#FFF;top:0}.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 h4{margin:24px 0 6px;font-size:1.666em}.page-list a.chapter{color:#ef7c3c}.page-list .inset-list{display:none;overflow:hidden;margin-bottom:24px}.page-list h5{display:block;margin:12px 0 0;border-left:5px solid #0288D1;padding:6px 0 6px 16px;font-size:1.1em;font-weight:400}.page-list h5.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;-webkit-transition:all ease-in-out 180ms;transition:all ease-in-out 180ms;-webkit-user-select:none;-moz-user-select:none;user-select:none}.chapter-toggle i.zmdi-caret-right{-webkit-transition:all ease-in-out 180ms;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)}.sidebar-page-nav{list-style:none;margin:12px 0 16px 2px;border-left:2px dotted #BBB}.sidebar-page-nav li{padding-left:12px;margin-bottom:4px;font-size:.95em}.sidebar-page-nav .h1,.sidebar-page-nav .h2{margin-left:-2px}.sidebar-page-nav .h3{margin-left:12px}.sidebar-page-nav .h4{margin-left:24px}.sidebar-page-nav .h5{margin-left:36px}.sidebar-page-nav .h6{margin-left:48px}.book-tree{padding:6px 0 0;position:relative;right:0;-webkit-transition:ease-in-out 240ms;transition:ease-in-out 240ms;-webkit-transition-property:right,border;transition-property:right,border;border-left:0 solid #FFF}.book-tree.fixed{z-index:5;position:fixed;padding-left:24px;padding-right:39px;width:30%;right:-15px;height:100%;overflow-y:scroll;-ms-overflow-style:none;border-left:1px solid #DDD}.book-tree.fixed::-webkit-scrollbar{width:0!important}.book-tree h4{padding:16px 12px 0}.book-tree h4 i{padding-right:12px}.book-tree .sidebar-page-list{list-style:none;margin:6px 0 0;padding-left:0;border-left:5px solid #009688}.book-tree .sidebar-page-list li a{display:block;border-bottom:none;padding:6px 0 6px 12px}.book-tree .sidebar-page-list li a i{padding-right:8px}.book-tree .sidebar-page-list a,.book-tree .sidebar-page-list li{display:block}.book-tree .sidebar-page-list a.bold{color:#EEE!important}.book-tree .sidebar-page-list ul{list-style:none;margin:0}.book-tree .sidebar-page-list .book{color:#009688!important}.book-tree .sidebar-page-list .book.selected{background-color:rgba(0,150,136,.29)}.book-tree .sidebar-page-list .chapter{color:#ef7c3c!important}.book-tree .sidebar-page-list .chapter.selected{background-color:rgba(239,124,60,.12)}.book-tree .sidebar-page-list .chapter-toggle{padding-left:12px}.book-tree .sidebar-page-list .list-item-chapter{border-left:5px solid #ef7c3c;margin:10px;display:block}.book-tree .sidebar-page-list .list-item-page{border-bottom:none;border-left:5px solid #0288D1;margin:10px}.book-tree .sidebar-page-list .page{color:#0288D1!important;border-bottom:none}.book-tree .sidebar-page-list .page.selected{background-color:rgba(2,136,209,.1)}.book-tree .sidebar-page-list .list-item-page.draft{border-left:5px solid #9A60DA}.book-tree .sidebar-page-list .list-item-page.draft a.page,.book-tree .sidebar-page-list .page.draft .page{color:#9A60DA!important}.book-tree .sidebar-page-list .sub-menu{display:none;padding-left:0}.book-tree .sidebar-page-list .sub-menu.open{display:block}.sortable-page-list,.sortable-page-list ul{list-style:none;background-color:#FFF}.sort-box{margin-bottom:16px;padding:0 24px;border-left:4px solid #009688}.sortable-page-list,.sortable-page-list>ul{margin-left:0}.sortable-page-list ul{margin-bottom:0;margin-top:0;box-shadow:0 0 1px 0 rgba(0,0,0,.1)}.sortable-page-list li{border:1px solid #DDD;padding:6px 12px;margin-top:-1px;min-height:38px}.sortable-page-list li.text-chapter{border-left:2px solid #ef7c3c}.sortable-page-list li.text-page{border-left:2px solid #0288D1}.sortable-page-list li:first-child{margin-top:6px}.sortable-page-list li.placeholder{position:relative}.sortable-page-list li.placeholder:before{position:absolute}.activity-list-item{padding:12px 0;color:#888;border-bottom:1px solid #EEE;font-size:.9em}.activity-list-item .left+.right{margin-left:42px}ul.pagination{display:inline-block;list-style:none;margin:16px 0;padding-left:1px}ul.pagination li:first-child a,ul.pagination li:first-child span{border-radius:3px 0 0 3px}ul.pagination li:last-child a,ul.pagination li:last-child span{border-radius:0 3px 3px 0}ul.pagination a,ul.pagination span{display:block;padding:3px 12px;border:1px solid #CCC;margin-left:-1px;color:#888;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.compact ul.pagination,.entity-list h4{margin:0}ul.pagination a.disabled,ul.pagination span.disabled{cursor:not-allowed}ul.pagination li.active span{background-color:rgba(2,136,209,.8);color:#EEE;border-color:rgba(2,136,209,.8)}ul.pagination a{color:#0288D1}.entity-list>div{padding:16px 0}.entity-list p{margin:6px 0 0}.entity-list hr{margin:0}.entity-list .text-small.text-muted{color:#AAA;font-size:.75em;margin-top:6px}.entity-list .page.draft .text-page{color:#9A60DA}.entity-list.compact{font-size:.6em}.entity-list.compact a,.entity-list.compact h4{line-height:1.2}.entity-list.compact p{display:none;font-size:12px;padding-top:6px;margin:0}.entity-list.compact>p.empty-text{display:block;font-size:15px}.entity-list.compact hr{margin:0}.dropdown-container{display:inline-block;position:relative}.dropdown-container ul{display:none;position:absolute;z-index:999;top:0;list-style:none;right:0;margin:16px 0;background-color:#FFF;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border-radius:1px;border:1px solid #EEE;min-width:180px;padding:6px 0;color:#555;text-align:left!important}.dropdown-container ul.wide{min-width:220px}.dropdown-container ul .text-muted{color:#999}.dropdown-container ul li.padded{padding:6px 16px}.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:12px;padding-right:0;display:inline-block;width:16px}.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-box;display:flex;-webkit-box-align:stretch;align-items:stretch}.page-editor .faded-small{height:auto}.page-editor .edit-area{-webkit-box-flex:1;flex:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}.draft-notification{pointer-events:none;-webkit-transform:scale(0);transform:scale(0);-webkit-transition:-webkit-transform ease-in-out 120ms;transition:-webkit-transform ease-in-out 120ms;transition:transform ease-in-out 120ms;transition:transform ease-in-out 120ms,-webkit-transform ease-in-out 120ms;-webkit-transform-origin:50% 50%;transform-origin:50% 50%}.draft-notification.visible{-webkit-transform:scale(1);transform:scale(1)}.page-style.editor{padding:0!important}.page-content{max-width:840px;overflow-wrap:break-word}.page-content .align-left{text-align:left}.page-content img.align-left,.page-content table.align-left{float:left!important;margin:6px 12px 6px 0}.page-content .align-right{float:right!important}.page-content img.align-right,.page-content table.align-right{text-align:right;margin:6px 0 6px 12px}.page-content .align-center{text-align:center}.page-content img{max-width:100%;height:auto}.page-content .title-input input[type=text],.page-content h1,.page-content h2,.page-content h3,.page-content h4,.page-content h5,.page-content h6,.page-content pre,.title-input .page-content input[type=text]{clear:left}.page-content hr{clear:both;margin:16px 0}.page-content table{-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;table-layout:fixed;max-width:100%;height:auto!important}.page-content ins{background:#dbffdb}.page-content del{background:#FFECEC}.pointer-container{position:relative;display:none;left:0;z-index:10}.pointer,.pointer:before{position:absolute;background-color:#FFF}.pointer{border:1px solid #CCC;display:inline-block;padding:12px;border-radius:4px;box-shadow:0 0 8px 1px rgba(212,209,209,.35);top:-60px;width:272px;z-index:55}.pointer:before{left:50%;bottom:-9px;width:16px;height:16px;margin-left:-8px;display:block;-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}.floating-toolbox{background-color:#FFF;border:1px solid #DDD;right:64px;width:48px;overflow:hidden;-webkit-box-align:stretch;align-items:stretch;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;display:-webkit-box;display:flex;-webkit-transition:width ease-in-out 180ms;transition:width ease-in-out 180ms;margin-top:-1px;min-height:0}.floating-toolbox div[toolbox-tab-content],.floating-toolbox form{-webkit-box-orient:vertical;-webkit-box-direction:normal;overflow-y:scroll}.floating-toolbox.open{width:480px}.floating-toolbox [toolbox-toggle] i{-webkit-transition:-webkit-transform ease-in-out 180ms;transition:-webkit-transform ease-in-out 180ms;transition:transform ease-in-out 180ms;transition:transform ease-in-out 180ms,-webkit-transform ease-in-out 180ms}.floating-toolbox [toolbox-toggle]{-webkit-transition:background-color ease-in-out 180ms;transition:background-color ease-in-out 180ms}.floating-toolbox.open [toolbox-toggle]{background-color:rgba(255,0,0,.29)}.floating-toolbox.open [toolbox-toggle] i{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.floating-toolbox>div{-webkit-box-flex:1;flex:1;position:relative}.floating-toolbox .tabs{display:block;border-right:1px solid #DDD;width:48px;-webkit-box-flex:0;flex:0 1 auto}.floating-toolbox .tabs i{color:rgba(0,0,0,.5);padding:0;margin:0}.floating-toolbox .tabs>span{display:block;cursor:pointer;padding:12px 16px;font-size:13.5px;line-height:1.6;border-bottom:1px solid rgba(255,255,255,.3)}.floating-toolbox.open .tabs>span.active{color:#444;background-color:rgba(0,0,0,.1)}.floating-toolbox div[toolbox-tab-content]{padding-bottom:45px;display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1;flex-direction:column;min-height:0}.floating-toolbox div[toolbox-tab-content] .padded{-webkit-box-flex:1;flex:1;padding-top:0}.floating-toolbox h4{font-size:24px;margin:16px 0 0;padding:0 24px 12px}.floating-toolbox .tags input{max-width:100%;width:100%;min-width:50px}.floating-toolbox .tags td{padding-right:12px;padding-top:12px;position:relative}.floating-toolbox .handle{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:move;color:#999}.floating-toolbox form{display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1;flex-direction:column}.floating-toolbox table td,.floating-toolbox table th{overflow:visible}[toolbox-tab-content]{display:none}.tag-display{width:100%;position:relative}.tag-display table{width:100%;margin:0;padding:0}.tag-display tr:first-child td{padding-top:0}.tag-display .heading th{padding:6px 12px;color:rgba(100,100,100,.7);border:0;font-weight:400}.tag-display td{border:0;border-bottom:1px solid #EEE;padding:6px 12px;color:#444}.tag-display tr td:first-child{padding-left:0}.tag-display .tag-value{color:#888}.tag-display tr:last-child td{border-bottom:none}.tag-display .tag{padding:12px}.suggestion-box{position:absolute;background-color:#FFF;border:1px solid #BBB;box-shadow:0 0 4px 1px #CCC;list-style:none;z-index:100;padding:0;margin:0;border-radius:3px}.suggestion-box li{display:block;padding:6px 12px;border-bottom:1px solid #DDD}.suggestion-box li:last-child{border-bottom:0}.suggestion-box li.active{background-color:#EEE} \ No newline at end of file +article,aside,blockquote,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}.chapter-toggle,.toggle-switch{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.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,a,body{font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:'';content:none}*{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%}.title-input input[type=text],h1{font-size:3.425em;line-height:1.22222222em;margin-top:.48888889em;margin-bottom:.48888889em}h3,h4,h5,h6{margin-top:.78571429em}h2,h3,h4{margin-bottom:.43137255em}h2{font-size:2.8275em;line-height:1.294117647em;margin-top:.8627451em}h3{font-size:2.333em;line-height:1.571428572em}h4{font-size:1.666em;line-height:1.375em}.title-input input[type=text],h1,h2,h3,h4,h5,h6{font-weight:400;position:relative;display:block;color:#555}.title-input input[type=text] .subheader,h1 .subheader,h2 .subheader,h3 .subheader,h4 .subheader,h5 .subheader,h6 .subheader{font-size:.5em;line-height:1em;color:#969696}h5{font-size:1.4em}h5,h6{font-weight:500;line-height:1.2em;margin-bottom:.66em}.link,a{color:#0288D1;cursor:pointer;text-decoration:none;-webkit-transition:color ease-in-out 80ms;transition:color ease-in-out 80ms;line-height:1.6}.link:hover,.underlined,a:hover{text-decoration:underline}.toggle-switch,.toggle-switch:after{-webkit-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:-webkit-linear-gradient(left,#FFF,#e3e0e0 20%,#e3e0e0 80%,#FFF);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}.text-small .text-small,.text-small p.small,.text-small small,.text-small span.small,p.small .text-small,p.small p.small,p.small small,p.small span.small,small .text-small,small p.small,small small,small span.small,span.small .text-small,span.small p.small,span.small small,span.small span.small{font-size:1em}.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}body.flexbox,ol,ul{overflow:hidden}blockquote{position:relative;border-left:4px solid #0288D1;background-color:#F8F8F8;padding:12px 16px 12px 32px}blockquote:before{content:"\201C";font-size:2em;font-weight:700;position:absolute;top:12px;left:12px;color:#777}.code-base,code,span.code{background-color:#F8F8F8;font-family:monospace;font-size:.8em;border:1px solid #DDD;border-radius:3px}code{display:inline;padding:1px 3px;white-space:pre;line-height:1.2em;margin-bottom:1.2em}.list>*,pre code{display:block}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:#969696}.text-primary,.text-primary:hover,p .primary,p .primary:hover,p.primary,p.primary:hover,span.primary,span.primary:hover{color:#0288D1}.text-secondary,.text-secondary:hover,p .secondary,p .secondary:hover,p.secondary,p.secondary:hover,span.secondary,span.secondary:hover{color:#e27b41}.text-book,.text-book:hover{color:#009688}.text-page,.text-page:hover{color:#0288D1}.text-page.draft,.text-page.draft:hover{color:#9A60DA}.text-chapter,.text-chapter:hover{color:#ef7c3c}.faded .text-book:hover{color:#009688!important}.faded .text-chapter:hover{color:#ef7c3c!important}.faded .text-page:hover{color:#0288D1!important}span.highlight{font-weight:700;padding:2px 4px}ul{padding-left:20.8px;list-style:disc}ol{list-style:decimal;padding-left:32px}.book-tree .sidebar-page-list li a:hover,.faded .text-button:hover,.logo:hover,.page-content del,.page-content ins{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}.action-header .title-input input[type=text],.action-header h1,.title-input .action-header input[type=text]{margin-top:16px}i{padding-right:6px}body.flexbox{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-align:stretch;align-items:stretch;height:100%;min-height:100%;max-height:100%}body.flexbox #content{-webkit-box-flex:1;flex:1;display:-webkit-box;display:flex;min-height:0}.flex-fill{display:-webkit-box;display:flex;-webkit-box-align:stretch;align-items:stretch;min-height:0}.flex-fill .flex,.flex-fill.flex{min-height:0;-webkit-box-flex:1;flex:1}.flex-child>div{-webkit-box-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.medium{max-width:992px}.container.small{max-width:840px}.center-box{margin:32px auto 0;padding:16px 48px 64px;max-width:346px;display:inline-block;text-align:left;vertical-align:top}.center-box.login{background-color:#EEE;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border:1px solid #DDD}.row{margin-left:-16px;margin-right:-16px}.float{float:left}.float.right{float:right}.block{display:block;position:relative}.inline{display:inline}.block.inline{display:inline-block}.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{position:relative;min-height:1px;padding-left:16px;padding-right:16px}.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.row:after,.row:before{content:" ";display:table}.clearfix:after,.container-fluid:after,.container:after,.row:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.shaded{background-color:#f1f1f1}.shaded.pos{background-color:#d6ead7}.shaded.neg{background-color:#f4a9a9}.shaded.primary{background-color:#a1ddfe}.shaded.secondary{background-color:#f6d7c6}.bordered{border:1px solid #BBB}.bordered.pos{border-color:#52A256}.bordered.neg{border-color:#E84F4F}.bordered.primary{border-color:#0288D1}.bordered.secondary{border-color:#e27b41}.bordered.thick{border-width:2px}.rounded{border-radius:3px}.nopadding{padding:0}.padded{padding:24px}.padded.large{padding:32px}.padded>h1:first-child,.padded>h2:first-child,.padded>h3:first-child,.padded>h4:first-child,.title-input .padded>input[type=text]:first-child{margin-top:.1em}.padded-top,.padded-vertical{padding-top:16px}.padded-top.large,.padded-vertical.large{padding-top:32px}.padded-bottom,.padded-vertical{padding-bottom:16px}.padded-bottom.large,.padded-vertical.large{padding-bottom:32px}.padded-horizontal,.padded-left{padding-left:16px}.padded-horizontal.large,.padded-left.large{padding-left:32px}.padded-horizontal,.padded-right{padding-right:16px}.padded-horizontal.large,.padded-right.large{padding-right:32px}.margins{margin:24px}.margins.large{margin:32px}.margin-top,.margins-vertical{margin-top:16px}.margin-top.large,.margins-vertical.large{margin-top:32px}.margin-bottom,.margins-vertical{margin-bottom:16px}.margin-bottom.large,.margins-vertical.large{margin-bottom:32px}.margin-left,.margins-horizontal{margin-left:16px}.margin-left.large,.margins-horizontal.large{margin-left:32px}.margin-right,.margins-horizontal{margin-right:16px}.margin-right.large,.margins-horizontal.large{margin-right:32px}.callout{border-left:3px solid #BBB;background-color:#EEE;padding:12px;display:block}.callout:before{font-family:Material-Design-Iconic-Font;padding-right:12px;display:inline-block}.callout.success{border-left-color:#52A256;background-color:#e7f3e7;color:#376c39}.callout.success:before{content:'\f269'}.callout.danger{border-left-color:#E84F4F;background-color:#fce8e8;color:#b91818}.callout.danger:before{content:'\f1f2'}.callout.info{border-left-color:#0288D1;background-color:#d3efff;color:#015380}.callout.info:before{content:'\f1f8'}.callout.warning{border-left-color:#e27b41;background-color:#faeae0;color:#b6531c}.callout.warning:before{content:'\f1f1'}.editor-toolbar:after,.pointer:before,.toggle-switch:after{content:''}.input-base,input[type=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{font-family:'Roboto Mono',monospace}.input-base.invalid,.input-base.neg,input.invalid[type=text],input.invalid[type=number],input.invalid[type=email],input.invalid[type=search],input.invalid[type=url],input.invalid[type=password],input.neg[type=text],input.neg[type=number],input.neg[type=email],input.neg[type=search],input.neg[type=url],input.neg[type=password],select.invalid,select.neg,textarea.invalid,textarea.neg{border:1px solid #E84F4F}.input-base.pos,.input-base.valid,input.pos[type=text],input.pos[type=number],input.pos[type=email],input.pos[type=search],input.pos[type=url],input.pos[type=password],input.valid[type=text],input.valid[type=number],input.valid[type=email],input.valid[type=search],input.valid[type=url],input.valid[type=password],select.pos,select.valid,textarea.pos,textarea.valid{border:1px solid #52A256}.input-base.disabled,.input-base[disabled],input.disabled[type=text],input.disabled[type=number],input.disabled[type=email],input.disabled[type=search],input.disabled[type=url],input.disabled[type=password],input[disabled][type=text],input[disabled][type=number],input[disabled][type=email],input[disabled][type=search],input[disabled][type=url],input[disabled][type=password],select.disabled,select[disabled],textarea.disabled,textarea[disabled]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAMUlEQVQIW2NkwAGuXbv2nxGbHEhCS0uLEUMSJgHShCKJLIEiiS4Bl8QmAZbEJQGSBAC62BuJ+tt7zgAAAABJRU5ErkJggg==)}.input-base:focus,input[type=text]:focus,input[type=number]:focus,input[type=email]:focus,input[type=search]:focus,input[type=url]:focus,input[type=password]:focus,select:focus,textarea:focus{outline:0}#html-editor{display:none}#markdown-editor{position:relative;z-index:5}#markdown-editor textarea{font-style:normal;font-weight:400;padding:6px 16px;color:#444;border-radius:0;max-height:100%;-webkit-box-flex:1;flex:1;border:0;width:100%}#markdown-editor textarea:focus{outline:0}#markdown-editor .markdown-display,#markdown-editor .markdown-editor-wrap{-webkit-box-flex:1;flex:1;position:relative}#markdown-editor .markdown-editor-wrap,.page-editor{flex-direction:column;-webkit-box-orient:vertical;-webkit-box-direction:normal}#markdown-editor .markdown-editor-wrap{display:-webkit-box;display:flex;border:1px solid #DDD;width:50%}#markdown-editor .markdown-display{padding:0 16px;margin-left:-1px;overflow-y:scroll}#markdown-editor .markdown-display .page-content{margin:0 auto}.editor-toolbar{width:100%;padding:6px 16px;font-size:11px;line-height:1.6;border-bottom:1px solid #DDD;background-color:#EEE;-webkit-box-flex:0;flex:none}.editor-toolbar:after{display:block;clear:both}label{display:block;line-height:1.4em;font-size:.94em;font-weight:500;color:#666;padding-bottom:2px;margin-bottom:.2em}.toggle-switch,label.inline{display:inline-block}label.checkbox,label.radio{font-weight:400}label.checkbox input[type=radio],label.checkbox input[type=checkbox],label.radio input[type=radio],label.radio input[type=checkbox]{margin-right:6px}label+p.small{margin-bottom:.8em}.toggle-switch{background-color:#BBB;width:36px;height:14px;border-radius:7px;position:relative;transition:all ease-in-out 120ms;user-select:none}.toggle-switch:after{display:block;position:relative;left:0;margin-top:-3px;width:20px;height:20px;border-radius:50%;background-color:#fafafa;border:1px solid #CCC;box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);transition:all ease-in-out 120ms}.toggle-switch.active{background-color:rgba(82,162,86,.4)}.toggle-switch.active:after{left:16px;background-color:#52A256;border:#305e32}.toggle-switch-checkbox{display:none}input:checked+.toggle-switch{background-color:rgba(82,162,86,.4)}input:checked+.toggle-switch:after{left:16px;background-color:#52A256;border:#305e32}.form-group{margin-bottom:12px}.form-group textarea{display:block;width:100%;min-height:64px}.form-group .text-neg,.form-group .text-pos{padding:6px 0}.description-input textarea,.inline-input-style,.title-input input[type=text]{border:2px dotted #BBB;display:block;width:100%;padding:6px 12px}.title-input .input{width:100%}.description-input label,.title-input label{margin-top:16px;color:#666}.title-input input[type=text]{margin-top:0;padding-right:0;width:100%;color:#444}.title-input.page-title{font-size:.8em}.title-input.page-title .input{border:0;margin-bottom:-1px}.title-input.page-title input[type=text]{max-width:840px;margin:0 auto;border:none}.search-box,div[editor-type=markdown] .title-input.page-title input[type=text],table{max-width:100%}.page-title input{display:block;width:100%;font-size:1.4em}.description-input textarea{font-size:15px;color:#666;width:100%}.search-box{position:relative}.search-box button{background-color:transparent;border:none;color:#0288D1;padding:0;margin:0 0 0 12px;cursor:pointer}.search-box button[type=submit]{margin-left:-24px}.search-box input{padding-right:24px;width:300px;max-width:100%}input.outline{border:0;border-bottom:2px solid #DDD;border-radius:0}input.outline:active,input.outline:focus{border:0;border-bottom:2px solid #AAA;outline:0}#login-form label[for=remember]{margin:0}#login-form label.toggle-switch{margin-left:32px}.image-picker img{background-color:#BBB}table{min-width:100px;border-spacing:0;border-collapse:collapse}table thead{background-color:#F8F8F8;font-weight:500}table td,table th{min-width:10px;padding:6px 8px;border:1px solid #DDD;overflow:auto;line-height:1.2}table td p,table th p{margin:0}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;margin:0}table.table th{font-weight:700}table.table tr:hover{background-color:#EEE}table.table .text-right{text-align:right}table.table .text-center{text-align:center}table.file-table td,table.no-style td{border:0;padding:0}table.list-table{margin:-6px}table.list-table td{border:0;vertical-align:middle;padding:6px}.dropdown-container,.logo-image,.logo-text,form.search-box button,header .links,header .user-name,header .user-name>*{vertical-align:top}table.file-table td{padding:6px}table.file-table .ui-sortable-helper{display:table}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;-webkit-transition:all ease-in-out 120ms;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)}.book-tree,.book-tree.fixed{background-color:#FFF;top:0}.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 h4{margin:24px 0 6px;font-size:1.666em}.page-list a.chapter{color:#ef7c3c}.page-list .inset-list{display:none;overflow:hidden;margin-bottom:24px}.page-list h5{display:block;margin:12px 0 0;border-left:5px solid #0288D1;padding:6px 0 6px 16px;font-size:1.1em;font-weight:400}.page-list h5.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;-webkit-transition:all ease-in-out 180ms;transition:all ease-in-out 180ms;user-select:none}.pointer span.icon,ul.pagination a,ul.pagination span{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.chapter-toggle i.zmdi-caret-right{-webkit-transition:all ease-in-out 180ms;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)}.sidebar-page-nav{list-style:none;margin:12px 0 16px 2px;border-left:2px dotted #BBB}.sidebar-page-nav li{padding-left:12px;margin-bottom:4px;font-size:.95em}.sidebar-page-nav .h1,.sidebar-page-nav .h2{margin-left:-2px}.sidebar-page-nav .h3{margin-left:12px}.sidebar-page-nav .h4{margin-left:24px}.sidebar-page-nav .h5{margin-left:36px}.sidebar-page-nav .h6{margin-left:48px}.book-tree{padding:6px 0 0;position:relative;right:0;-webkit-transition:ease-in-out 240ms;transition:ease-in-out 240ms;-webkit-transition-property:right,border;transition-property:right,border;border-left:0 solid #FFF}.book-tree.fixed{z-index:5;position:fixed;padding-left:24px;padding-right:39px;width:30%;right:-15px;height:100%;overflow-y:scroll;-ms-overflow-style:none;border-left:1px solid #DDD}.book-tree.fixed::-webkit-scrollbar{width:0!important}.book-tree h4{padding:16px 12px 0}.book-tree h4 i{padding-right:12px}.book-tree .sidebar-page-list{list-style:none;margin:6px 0 0;padding-left:0;border-left:5px solid #009688}.book-tree .sidebar-page-list li a{display:block;border-bottom:none;padding:6px 0 6px 12px}.book-tree .sidebar-page-list li a i{padding-right:8px}.book-tree .sidebar-page-list a,.book-tree .sidebar-page-list li{display:block}.book-tree .sidebar-page-list a.bold{color:#EEE!important}.book-tree .sidebar-page-list ul{list-style:none;margin:0}.book-tree .sidebar-page-list .book{color:#009688!important}.book-tree .sidebar-page-list .book.selected{background-color:rgba(0,150,136,.29)}.book-tree .sidebar-page-list .chapter{color:#ef7c3c!important}.book-tree .sidebar-page-list .chapter.selected{background-color:rgba(239,124,60,.12)}.book-tree .sidebar-page-list .chapter-toggle{padding-left:12px}.book-tree .sidebar-page-list .list-item-chapter{border-left:5px solid #ef7c3c;margin:10px;display:block}.book-tree .sidebar-page-list .list-item-page{border-bottom:none;border-left:5px solid #0288D1;margin:10px}.book-tree .sidebar-page-list .page{color:#0288D1!important;border-bottom:none}.book-tree .sidebar-page-list .page.selected{background-color:rgba(2,136,209,.1)}.book-tree .sidebar-page-list .list-item-page.draft{border-left:5px solid #9A60DA}.book-tree .sidebar-page-list .list-item-page.draft a.page,.book-tree .sidebar-page-list .page.draft .page{color:#9A60DA!important}.book-tree .sidebar-page-list .sub-menu{display:none;padding-left:0}.book-tree .sidebar-page-list .sub-menu.open{display:block}.sortable-page-list,.sortable-page-list ul{list-style:none;background-color:#FFF}.sort-box{margin-bottom:16px;padding:0 24px;border-left:4px solid #009688}.sortable-page-list,.sortable-page-list>ul{margin-left:0}.sortable-page-list ul{margin-bottom:0;margin-top:0;box-shadow:0 0 1px 0 rgba(0,0,0,.1)}.sortable-page-list li{border:1px solid #DDD;padding:6px 12px;margin-top:-1px;min-height:38px}.sortable-page-list li.text-chapter{border-left:2px solid #ef7c3c}.sortable-page-list li.text-page{border-left:2px solid #0288D1}.sortable-page-list li:first-child{margin-top:6px}.sortable-page-list li.placeholder{position:relative}.sortable-page-list li.placeholder:before{position:absolute}.activity-list-item{padding:12px 0;color:#888;border-bottom:1px solid #EEE;font-size:.9em}.activity-list-item .left+.right{margin-left:42px}ul.pagination{display:inline-block;list-style:none;margin:16px 0;padding-left:1px}ul.pagination li:first-child a,ul.pagination li:first-child span{border-radius:3px 0 0 3px}ul.pagination li:last-child a,ul.pagination li:last-child span{border-radius:0 3px 3px 0}ul.pagination a,ul.pagination span{display:block;padding:3px 12px;border:1px solid #CCC;margin-left:-1px;color:#888;user-select:none}.compact ul.pagination,.entity-list h4{margin:0}ul.pagination a.disabled,ul.pagination span.disabled{cursor:not-allowed}ul.pagination li.active span{background-color:rgba(2,136,209,.8);color:#EEE;border-color:rgba(2,136,209,.8)}ul.pagination a{color:#0288D1}.entity-list>div{padding:16px 0}.entity-list p{margin:6px 0 0}.entity-list hr{margin:0}.entity-list .text-small.text-muted{color:#AAA;font-size:.75em;margin-top:6px}.entity-list .text-muted p.text-muted{margin-top:0}.entity-list .page.draft .text-page{color:#9A60DA}.entity-list.compact{font-size:.6em}.entity-list.compact a,.entity-list.compact h4{line-height:1.2}.entity-list.compact p{display:none;font-size:12px;padding-top:6px;margin:0}.entity-list.compact>p.empty-text{display:block;font-size:15px}.entity-list.compact hr{margin:0}.dropdown-container{display:inline-block;position:relative}.dropdown-container ul{display:none;position:absolute;z-index:999;top:0;list-style:none;right:0;margin:16px 0;background-color:#FFF;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border-radius:1px;border:1px solid #EEE;min-width:180px;padding:6px 0;color:#555;text-align:left!important}.dropdown-container ul.wide{min-width:220px}.dropdown-container ul .text-muted{color:#999}.dropdown-container ul li.padded{padding:6px 16px}.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:12px;padding-right:0;display:inline-block;width:16px}.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-box;display:flex;-webkit-box-align:stretch;align-items:stretch}.page-editor .faded-small{height:auto}.page-editor .edit-area{-webkit-box-flex:1;flex:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}.draft-notification{pointer-events:none;-webkit-transform:scale(0);transform:scale(0);-webkit-transition:-webkit-transform ease-in-out 120ms;transition:-webkit-transform ease-in-out 120ms;transition:transform ease-in-out 120ms;transition:transform ease-in-out 120ms,-webkit-transform ease-in-out 120ms;-webkit-transform-origin:50% 50%;transform-origin:50% 50%}.draft-notification.visible{-webkit-transform:scale(1);transform:scale(1)}.page-style.editor{padding:0!important}.page-content{max-width:840px;overflow-wrap:break-word}.page-content .align-left{text-align:left}.page-content img.align-left,.page-content table.align-left{float:left!important;margin:6px 12px 6px 0}.page-content .align-right{float:right!important}.page-content img.align-right,.page-content table.align-right{text-align:right;margin:6px 0 6px 12px}.page-content .align-center{text-align:center}.page-content img{max-width:100%;height:auto}.page-content .title-input input[type=text],.page-content h1,.page-content h2,.page-content h3,.page-content h4,.page-content h5,.page-content h6,.page-content pre,.title-input .page-content input[type=text]{clear:left}.page-content hr{clear:both;margin:16px 0}.page-content table{-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;table-layout:fixed;max-width:100%;height:auto!important}.page-content ins{background:#dbffdb}.page-content del{background:#FFECEC}.pointer-container{position:relative;display:none;left:0;z-index:10}.pointer,.pointer:before{position:absolute;background-color:#FFF}.pointer{border:1px solid #CCC;display:inline-block;padding:12px;border-radius:4px;box-shadow:0 0 8px 1px rgba(212,209,209,.35);top:-60px;width:272px;z-index:55}.pointer:before{left:50%;bottom:-9px;width:16px;height:16px;margin-left:-8px;display:block;-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 span.icon{cursor:pointer;user-select:none}.pointer .button{line-height:1;margin:0 0 0 -4px;box-shadow:none}.floating-toolbox{background-color:#FFF;border:1px solid #DDD;right:64px;width:48px;overflow:hidden;-webkit-box-align:stretch;align-items:stretch;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;display:-webkit-box;display:flex;-webkit-transition:width ease-in-out 180ms;transition:width ease-in-out 180ms;margin-top:-1px;min-height:0}.floating-toolbox div[toolbox-tab-content],.floating-toolbox form{-webkit-box-orient:vertical;-webkit-box-direction:normal;overflow-y:scroll}.floating-toolbox.open{width:480px}.floating-toolbox [toolbox-toggle] i{-webkit-transition:-webkit-transform ease-in-out 180ms;transition:-webkit-transform ease-in-out 180ms;transition:transform ease-in-out 180ms;transition:transform ease-in-out 180ms,-webkit-transform ease-in-out 180ms}.floating-toolbox [toolbox-toggle]{-webkit-transition:background-color ease-in-out 180ms;transition:background-color ease-in-out 180ms}.floating-toolbox.open [toolbox-toggle]{background-color:rgba(255,0,0,.29)}.floating-toolbox.open [toolbox-toggle] i{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.floating-toolbox>div{-webkit-box-flex:1;flex:1;position:relative}.floating-toolbox .tabs{display:block;border-right:1px solid #DDD;width:48px;-webkit-box-flex:0;flex:0 1 auto}.floating-toolbox .tabs i{color:rgba(0,0,0,.5);padding:0;margin:0}.floating-toolbox .tabs>span{display:block;cursor:pointer;padding:12px 16px;font-size:13.5px;line-height:1.6;border-bottom:1px solid rgba(255,255,255,.3)}.floating-toolbox.open .tabs>span.active{color:#444;background-color:rgba(0,0,0,.1)}.floating-toolbox div[toolbox-tab-content]{padding-bottom:45px;display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1;flex-direction:column;min-height:0}.floating-toolbox div[toolbox-tab-content] .padded{-webkit-box-flex:1;flex:1;padding-top:0}.floating-toolbox h4{font-size:24px;margin:16px 0 0;padding:0 24px 12px}.floating-toolbox .tags input{max-width:100%;width:100%;min-width:50px}.floating-toolbox .tags td{padding-right:12px;padding-top:12px;position:relative}.floating-toolbox .handle{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:move;color:#999}.floating-toolbox form{display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1;flex-direction:column}.floating-toolbox table td,.floating-toolbox table th{overflow:visible}[toolbox-tab-content]{display:none}.tag-display{width:100%;position:relative}.tag-display table{width:100%;margin:0;padding:0}.tag-display tr:first-child td{padding-top:0}.tag-display .heading th{padding:6px 12px;color:rgba(100,100,100,.7);border:0;font-weight:400}.tag-display td{border:0;border-bottom:1px solid #EEE;padding:6px 12px;color:#444}.tag-display tr td:first-child{padding-left:0}.tag-display .tag-value{color:#888}.tag-display tr:last-child td{border-bottom:none}.tag-display .tag{padding:12px}.suggestion-box{position:absolute;background-color:#FFF;border:1px solid #BBB;box-shadow:0 0 4px 1px #CCC;list-style:none;z-index:100;padding:0;margin:0;border-radius:3px}.suggestion-box li{display:block;padding:6px 12px;border-bottom:1px solid #DDD}.suggestion-box li:last-child{border-bottom:0}.suggestion-box li.active{background-color:#EEE} \ No newline at end of file diff --git a/public/css/styles.css b/public/css/styles.css index 83d0b88768f..140a68f0a4b 100644 --- a/public/css/styles.css +++ b/public/css/styles.css @@ -1 +1 @@ -article,aside,blockquote,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}.chapter-toggle,.toggle-switch{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.anim.fadeIn,.anim.searchResult{-webkit-animation-fill-mode:forwards}#markdown-editor .markdown-editor-wrap,.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel,.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body,.popup-body,body.flexbox{-webkit-box-orient:vertical;-webkit-box-direction:normal}*,.dropzone,.dropzone *{box-sizing:border-box}.title-input input[type=text],a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{margin:0;padding:0;border:0;font:inherit;vertical-align:baseline}.link,.text-button,a,body{font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:'';content:none}@font-face{font-family:Roboto;font-style:normal;font-weight:100;src:local("Roboto Thin"),local("Roboto-Thin"),url(../fonts/roboto-v15-cyrillic_latin-100.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-100.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:100;src:local("Roboto Thin Italic"),local("Roboto-ThinItalic"),url(../fonts/roboto-v15-cyrillic_latin-100italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-100italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:300;src:local("Roboto Light"),local("Roboto-Light"),url(../fonts/roboto-v15-cyrillic_latin-300.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-300.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:300;src:local("Roboto Light Italic"),local("Roboto-LightItalic"),url(../fonts/roboto-v15-cyrillic_latin-300italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-300italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:local("Roboto"),local("Roboto-Regular"),url(../fonts/roboto-v15-cyrillic_latin-regular.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-regular.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:400;src:local("Roboto Italic"),local("Roboto-Italic"),url(../fonts/roboto-v15-cyrillic_latin-italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:500;src:local("Roboto Medium"),local("Roboto-Medium"),url(../fonts/roboto-v15-cyrillic_latin-500.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-500.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:500;src:local("Roboto Medium Italic"),local("Roboto-MediumItalic"),url(../fonts/roboto-v15-cyrillic_latin-500italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-500italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:700;src:local("Roboto Bold"),local("Roboto-Bold"),url(../fonts/roboto-v15-cyrillic_latin-700.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-700.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:700;src:local("Roboto Bold Italic"),local("Roboto-BoldItalic"),url(../fonts/roboto-v15-cyrillic_latin-700italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-700italic.woff) format("woff")}@font-face{font-family:'Roboto Mono';font-style:normal;font-weight:400;src:local("Roboto Mono"),local("RobotoMono-Regular"),url(../fonts/roboto-mono-v4-latin-regular.woff2) format("woff2"),url(../fonts/roboto-mono-v4-latin-regular.woff) format("woff")}html{background-color:#FFF;height:100%;overflow-y:scroll}html.flexbox{overflow-y:hidden}body{font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}button{font-size:100%}.title-input input[type=text],h1{font-size:3.425em;line-height:1.22222222em;margin-top:.48888889em;margin-bottom:.48888889em}h3,h4,h5,h6{margin-top:.78571429em}h2,h3,h4{margin-bottom:.43137255em}h2{font-size:2.8275em;line-height:1.294117647em;margin-top:.8627451em}h3{font-size:2.333em;line-height:1.571428572em}h4{font-size:1.666em;line-height:1.375em}.title-input input[type=text],h1,h2,h3,h4,h5,h6{font-weight:400;position:relative;display:block;color:#555}.title-input input[type=text] .subheader,h1 .subheader,h2 .subheader,h3 .subheader,h4 .subheader,h5 .subheader,h6 .subheader{font-size:.5em;line-height:1em;color:#969696}h5{font-size:1.4em}h5,h6{font-weight:500;line-height:1.2em;margin-bottom:.66em}.link,.text-button,a{color:#0288D1;cursor:pointer;text-decoration:none;-webkit-transition:color ease-in-out 80ms;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:-webkit-linear-gradient(left,#fff,#e3e0e0 20%,#e3e0e0 80%,#fff);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;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}body.flexbox,ol,ul{overflow:hidden}blockquote{position:relative;border-left:4px solid #0288D1;background-color:#F8F8F8;padding:12px 16px 12px 32px}blockquote:before{content:"\201C";font-size:2em;font-weight:700;position:absolute;top:12px;left:12px;color:#777}.code-base,code,span.code{background-color:#F8F8F8;font-family:monospace;font-size:.8em;border:1px solid #DDD;border-radius:3px}code{display:inline;padding:1px 3px;white-space:pre;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:#969696}.text-primary,.text-primary:hover,p .primary,p .primary:hover,p.primary,p.primary:hover,span.primary,span.primary:hover{color:#0288D1}.text-secondary,.text-secondary:hover,p .secondary,p .secondary:hover,p.secondary,p.secondary:hover,span.secondary,span.secondary:hover{color:#e27b41}.text-book,.text-book:hover{color:#009688}.text-page,.text-page:hover{color:#0288D1}.text-page.draft,.text-page.draft:hover{color:#9A60DA}.text-chapter,.text-chapter:hover{color:#ef7c3c}.faded .text-book:hover{color:#009688!important}.faded .text-chapter:hover{color:#ef7c3c!important}.faded .text-page:hover{color:#0288D1!important}span.highlight{font-weight:700;padding:2px 4px}ul{padding-left:20.8px;list-style:disc}ol{list-style:decimal;padding-left:32px}.underlined{text-decoration:underline}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-bigger{font-size:1.1em}.text-large{font-size:1.6666em}.no-color{color:inherit}.header-group{margin:16px 0}.header-group .title-input input[type=text],.header-group h1,.header-group h2,.header-group h3,.header-group h4,.header-group h5,.header-group h6,.title-input .header-group input[type=text]{margin:0}span.sep{color:#BBB;padding:0 6px}.list>*{display:block}.action-header .title-input input[type=text],.action-header h1,.title-input .action-header input[type=text]{margin-top:16px}i{padding-right:6px}body.flexbox{display:-webkit-box;display:flex;flex-direction:column;-webkit-box-align:stretch;align-items:stretch;height:100%;min-height:100%;max-height:100%}body.flexbox #content{-webkit-box-flex:1;flex:1;display:-webkit-box;display:flex;min-height:0}.flex-fill{display:-webkit-box;display:flex;-webkit-box-align:stretch;align-items:stretch;min-height:0}.flex-fill .flex,.flex-fill.flex{min-height:0;-webkit-box-flex:1;flex:1}.flex-child>div{-webkit-box-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.medium{max-width:992px}.container.small{max-width:840px}.center-box{margin:32px auto 0;padding:16px 48px 64px;max-width:346px;display:inline-block;text-align:left;vertical-align:top}.center-box.login{background-color:#EEE;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border:1px solid #DDD}.row{margin-left:-16px;margin-right:-16px}.float{float:left}.float.right{float:right}.block{display:block;position:relative}.inline{display:inline}.block.inline{display:inline-block}.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{position:relative;min-height:1px;padding-left:16px;padding-right:16px}.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.row:after,.row:before{content:" ";display:table}.clearfix:after,.container-fluid:after,.container:after,.row:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.shaded{background-color:#f1f1f1}.shaded.pos{background-color:#d6ead7}.shaded.neg{background-color:#f4a9a9}.shaded.primary{background-color:#a1ddfe}.shaded.secondary{background-color:#f6d7c6}.bordered{border:1px solid #BBB}.bordered.pos{border-color:#52A256}.bordered.neg{border-color:#E84F4F}.bordered.primary{border-color:#0288D1}.bordered.secondary{border-color:#e27b41}.bordered.thick{border-width:2px}.rounded{border-radius:3px}.nopadding{padding:0}.padded{padding:24px}.padded.large{padding:32px}.padded>h1:first-child,.padded>h2:first-child,.padded>h3:first-child,.padded>h4:first-child,.title-input .padded>input[type=text]:first-child{margin-top:.1em}.padded-top,.padded-vertical{padding-top:16px}.padded-top.large,.padded-vertical.large{padding-top:32px}.padded-bottom,.padded-vertical{padding-bottom:16px}.padded-bottom.large,.padded-vertical.large{padding-bottom:32px}.padded-horizontal,.padded-left{padding-left:16px}.padded-horizontal.large,.padded-left.large{padding-left:32px}.padded-horizontal,.padded-right{padding-right:16px}.padded-horizontal.large,.padded-right.large{padding-right:32px}.margins{margin:24px}.margins.large{margin:32px}.margin-top,.margins-vertical{margin-top:16px}.margin-top.large,.margins-vertical.large{margin-top:32px}.margin-bottom,.margins-vertical{margin-bottom:16px}.margin-bottom.large,.margins-vertical.large{margin-bottom:32px}.margin-left,.margins-horizontal{margin-left:16px}.margin-left.large,.margins-horizontal.large{margin-left:32px}.margin-right,.margins-horizontal{margin-right:16px}.margin-right.large,.margins-horizontal.large,header .links{margin-right:32px}.callout{border-left:3px solid #BBB;background-color:#EEE;padding:12px;display:block}.callout:before,.callout>*{display:inline-block}.callout:before{font-family:Material-Design-Iconic-Font;padding-right:12px}.callout.success{border-left-color:#52A256;background-color:#e7f3e7;color:#376c39}.callout.success:before{content:'\f269'}.callout.danger{border-left-color:#E84F4F;background-color:#fce8e8;color:#b91818}.callout.danger:before{content:'\f1f2'}.callout.info{border-left-color:#0288D1;background-color:#d3efff;color:#015380}.callout.info:before{content:'\f1f8'}.callout.warning{border-left-color:#e27b41;background-color:#faeae0;color:#b6531c}.callout.warning:before{content:'\f1f1'}.button-group:after,.dz-preview .dz-error-message:after,.editor-toolbar:after,.pointer:before,.toggle-switch:after{content:''}.button,.button-base,input[type=button],input[type=submit]{text-decoration:none;font-size:15px;line-height:1.4em;padding:6px 16px;margin:6px 6px 6px 0;display:inline-block;border:none;font-weight:500;font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif;outline:0;border-radius:2px;cursor:pointer;-webkit-transition:all ease-in-out 120ms;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}.button[disabled],.button[disabled]:hover{background-color:#BBB;cursor:default}.text-button:active,.text-button:focus{outline:0}.text-button:hover{text-decoration:none}.text-button.neg{color:#E84F4F}.button-group:after{display:block;font-size:0;clear:both;position:relative}.button-group .button,.button-group button[type=button]{margin:6px 0;float:left;border-radius:0}.button-group .button:first-child,.button-group button[type=button]:first-child{border-radius:2px 0 0 2px}.button-group .button:last-child,.button-group button[type=button]:last-child{border-radius:0 2px 2px 0}.button.block{width:100%;text-align:center;display:block}.button.icon i{padding-right:0}.button[disabled]:hover{box-shadow:none}.input-base,input[type=text],input[type=number],input[type=email],input[type=search],input[type=url],input[type=password],select,textarea{background-color:#FFF;border-radius:3px;border:1px solid #CCC;display:inline-block;font-size:14px;font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif;padding:6px;color:#222;width:250px;max-width:100%}#markdown-editor textarea,.editor-toolbar{width:100%;font-family:'Roboto Mono'}.input-base.invalid,.input-base.neg,input.invalid[type=text],input.invalid[type=number],input.invalid[type=email],input.invalid[type=search],input.invalid[type=url],input.invalid[type=password],input.neg[type=text],input.neg[type=number],input.neg[type=email],input.neg[type=search],input.neg[type=url],input.neg[type=password],select.invalid,select.neg,textarea.invalid,textarea.neg{border:1px solid #E84F4F}.input-base.pos,.input-base.valid,input.pos[type=text],input.pos[type=number],input.pos[type=email],input.pos[type=search],input.pos[type=url],input.pos[type=password],input.valid[type=text],input.valid[type=number],input.valid[type=email],input.valid[type=search],input.valid[type=url],input.valid[type=password],select.pos,select.valid,textarea.pos,textarea.valid{border:1px solid #52A256}.input-base.disabled,.input-base[disabled],input.disabled[type=text],input.disabled[type=number],input.disabled[type=email],input.disabled[type=search],input.disabled[type=url],input.disabled[type=password],input[disabled][type=text],input[disabled][type=number],input[disabled][type=email],input[disabled][type=search],input[disabled][type=url],input[disabled][type=password],select.disabled,select[disabled],textarea.disabled,textarea[disabled]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAMUlEQVQIW2NkwAGuXbv2nxGbHEhCS0uLEUMSJgHShCKJLIEiiS4Bl8QmAZbEJQGSBAC62BuJ+tt7zgAAAABJRU5ErkJggg==)}.input-base:focus,input[type=text]:focus,input[type=number]:focus,input[type=email]:focus,input[type=search]:focus,input[type=url]:focus,input[type=password]:focus,select:focus,textarea:focus{outline:0}#html-editor{display:none}#markdown-editor{position:relative;z-index:5}#markdown-editor textarea{font-style:normal;font-weight:400;padding:6px 16px;color:#444;border-radius:0;max-height:100%;-webkit-box-flex:1;flex:1;border:0}#markdown-editor textarea:focus{outline:0}#markdown-editor .markdown-display,#markdown-editor .markdown-editor-wrap{-webkit-box-flex:1;flex:1;position:relative}#markdown-editor .markdown-editor-wrap{display:-webkit-box;display:flex;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-box-flex:0;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}.logo-text,.page-list h5,label.checkbox,label.radio{font-weight:400}label.checkbox input[type=radio],label.checkbox input[type=checkbox],label.radio input[type=radio],label.radio input[type=checkbox]{margin-right:6px}label+p.small{margin-bottom:.8em}.toggle-switch{background-color:#BBB;width:36px;height:14px;border-radius:7px;position:relative;-webkit-transition:all ease-in-out 120ms;transition:all ease-in-out 120ms;cursor:pointer;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);-webkit-transition:all ease-in-out 120ms;transition:all ease-in-out 120ms}.toggle-switch.active{background-color:rgba(82,162,86,.4)}.toggle-switch.active:after{left:16px;background-color:#52A256;border:#305e32}.toggle-switch-checkbox{display:none}input:checked+.toggle-switch{background-color:rgba(82,162,86,.4)}input:checked+.toggle-switch:after{left:16px;background-color:#52A256;border:#305e32}.form-group{margin-bottom:12px}.form-group textarea{display:block;width:100%;min-height:64px}.form-group .text-neg,.form-group .text-pos{padding:6px 0}.description-input textarea,.inline-input-style,.title-input input[type=text]{border:2px dotted #BBB;display:block;width:100%;padding:6px 12px}.title-input .input{width:100%}.description-input label,.title-input label{margin-top:16px;color:#666}.title-input input[type=text]{margin-top:0;padding-right:0;width:100%;color:#444}.title-input.page-title{font-size:.8em}.title-input.page-title .input{border:0;margin-bottom:-1px}.title-input.page-title input[type=text]{max-width:840px;margin:0 auto;border:none}.search-box,.search-box input,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}input.outline{border:0;border-bottom:2px solid #DDD;border-radius:0}input.outline:active,input.outline:focus{border:0;border-bottom:2px solid #AAA;outline:0}#login-form label[for=remember]{margin:0}#login-form label.toggle-switch{margin-left:32px}.image-picker img{background-color:#BBB}div[toggle-switch]{height:18px;width:150px}table{border-collapse:collapse;border-spacing:0;min-width:100px}table thead{background-color:#F8F8F8;font-weight:500}table td,table th{min-width:10px;padding:6px 8px;border:1px solid #DDD;overflow:auto;line-height:1.2}table td p,table th p{margin:0}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;margin:0}.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.file-table td,table.no-style td{border:0;padding:0}table.list-table{margin:-6px}table.list-table td{border:0;vertical-align:middle;padding:6px}.dropdown-container,.dz-preview,.logo-image,.logo-text,form.search-box button,header .links,header .user-name,header .user-name>*{vertical-align:top}table.file-table td{padding:6px}table.file-table .ui-sortable-helper{display:table}.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)}.anim.pointer,.loading-container>div{-webkit-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;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>div>.mce-tinymce.mce-container.mce-panel{-webkit-box-flex:1;flex:1 1 auto;display:-webkit-box!important;display:flex!important;flex-direction:column;-webkit-box-align:stretch;align-items:stretch;margin:0 -1px}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body{-webkit-box-flex:1;flex:1 1 auto;display:-webkit-box!important;display:flex!important;flex-direction:column;-webkit-box-align:stretch;align-items:stretch}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-toolbar-grp{-webkit-box-flex:0;flex:0 1 auto}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-edit-area{-webkit-box-flex:1;flex:1 1 auto;display:-webkit-box!important;display:flex!important;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-align:stretch;align-items:stretch}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-edit-area iframe{-webkit-box-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,.333);position:fixed;z-index:95536;width:100%;height:100%;min-width:100%;min-height:100%;top:0;left:0;right:0;bottom:0;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;display:none}.popup-body-wrap{display:-webkit-box;display:flex}.popup-body{background-color:#FFF;max-height:90%;width:1200px;height:auto;margin:2% 5%;border-radius:4px;box-shadow:0 0 15px 0 rgba(0,0,0,.3);overflow:hidden;z-index:999;display:-webkit-box;display:flex;flex-direction:column}.popup-body.small{margin:2% auto;width:800px;max-width:90%}.popup-body:before{display:-webkit-box;display:flex;align-self:flex-start}.corner-button{position:absolute;top:0;right:0;margin:0;height:40px;border-radius:0;box-shadow:none}.popup-footer,.popup-header{display:block!important;position:relative;height:40px;-webkit-box-flex:0!important;flex:none!important}.popup-footer .popup-title,.popup-header .popup-title{color:#FFF;padding:8px 16px}body.flexbox-support #entity-selector-wrap .popup-body .form-group{height:444px;min-height:444px}#entity-selector-wrap .popup-body .form-group{margin:0}.image-manager-body{min-height:70vh}.dropzone-container{position:relative;border:3px dashed #DDD}.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;-webkit-transition:all cubic-bezier(.4,0,1,1) 160ms;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;margin-left:1px;padding:16px 24px;overflow-y:auto;border-left:1px solid #DDD}.image-manager-sidebar .dropzone-container{margin-top:16px}.image-manager-list{overflow-y:scroll;-webkit-box-flex:1;flex:1}.image-manager-content,.page-editor{flex-direction:column;-webkit-box-orient:vertical;-webkit-box-direction:normal}.image-manager-content{display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1}.image-manager-content .container{width:100%}.dz-message{font-size:1.2em;line-height:1.1;font-style:italic;color:#aaa;cursor:pointer;padding:24px 16px;-webkit-transition:all ease-in-out 120ms;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:-webkit-linear-gradient(top,#eee,#ddd);background:linear-gradient(to bottom,#eee,#ddd)}.dz-preview.dz-image-preview{background:#fff}.dz-preview.dz-image-preview .dz-details{-webkit-transition:opacity .2s linear;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,.page-content del,.page-content ins{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;-webkit-transition:all .2s linear;transition:all .2s linear}.dz-preview.dz-complete .dz-progress{opacity:0;-webkit-transition:opacity .4s ease-in;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:-webkit-linear-gradient(top,#666,#444);background:linear-gradient(to bottom,#666,#444);position:absolute;top:0;left:0;bottom:0;width:0;-webkit-transition:width .3s ease-in-out;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;-webkit-transition:opacity .3s ease;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}[tab-container] .nav-tabs{text-align:left;border-bottom:1px solid #DDD;margin-bottom:16px}[tab-container] .nav-tabs .tab-item{padding:12px;color:#666}[tab-container] .nav-tabs .tab-item.selected{border-bottom-width:3px}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;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;-webkit-transition:all ease-in-out 120ms;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)}.book-tree,.book-tree.fixed{background-color:#FFF;top:0}.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 h4{margin:24px 0 6px;font-size:1.666em}.page-list a.chapter{color:#ef7c3c}.page-list .inset-list{display:none;overflow:hidden;margin-bottom:24px}.page-list h5{display:block;margin:12px 0 0;border-left:5px solid #0288D1;padding:6px 0 6px 16px;font-size:1.1em}.page-list h5.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{cursor:pointer;margin:0 0 24px;-webkit-transition:all ease-in-out 180ms;transition:all ease-in-out 180ms;user-select:none}.floating-toolbox .handle,ul.pagination a,ul.pagination span{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.chapter-toggle i.zmdi-caret-right{-webkit-transition:all ease-in-out 180ms;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)}.sidebar-page-nav{list-style:none;margin:12px 0 16px 2px;border-left:2px dotted #BBB}.sidebar-page-nav li{padding-left:12px;margin-bottom:4px;font-size:.95em}.sidebar-page-nav .h1,.sidebar-page-nav .h2{margin-left:-2px}.sidebar-page-nav .h3{margin-left:12px}.sidebar-page-nav .h4{margin-left:24px}.sidebar-page-nav .h5{margin-left:36px}.sidebar-page-nav .h6{margin-left:48px}.book-tree{padding:6px 0 0;position:relative;right:0;-webkit-transition:ease-in-out 240ms;transition:ease-in-out 240ms;-webkit-transition-property:right,border;transition-property:right,border;border-left:0 solid #FFF}.book-tree.fixed{z-index:5;position:fixed;padding-left:24px;padding-right:39px;width:30%;right:-15px;height:100%;overflow-y:scroll;-ms-overflow-style:none;border-left:1px solid #DDD}.book-tree.fixed::-webkit-scrollbar{width:0!important}.book-tree h4{padding:16px 12px 0}.book-tree h4 i{padding-right:12px}.book-tree .sidebar-page-list{list-style:none;margin:6px 0 0;padding-left:0;border-left:5px solid #009688}.book-tree .sidebar-page-list li a{display:block;border-bottom:none;padding:6px 0 6px 12px}.book-tree .sidebar-page-list li a i{padding-right:8px}.book-tree .sidebar-page-list a,.book-tree .sidebar-page-list li{display:block}.book-tree .sidebar-page-list a.bold{color:#EEE!important}.book-tree .sidebar-page-list ul{list-style:none;margin:0}.book-tree .sidebar-page-list .book{color:#009688!important}.book-tree .sidebar-page-list .book.selected{background-color:rgba(0,150,136,.29)}.book-tree .sidebar-page-list .chapter{color:#ef7c3c!important}.book-tree .sidebar-page-list .chapter.selected{background-color:rgba(239,124,60,.12)}.book-tree .sidebar-page-list .chapter-toggle{padding-left:12px}.book-tree .sidebar-page-list .list-item-chapter{border-left:5px solid #ef7c3c;margin:10px;display:block}.book-tree .sidebar-page-list .list-item-page{border-bottom:none;border-left:5px solid #0288D1;margin:10px}.book-tree .sidebar-page-list .page{color:#0288D1!important;border-bottom:none}.book-tree .sidebar-page-list .page.selected{background-color:rgba(2,136,209,.1)}.book-tree .sidebar-page-list .list-item-page.draft{border-left:5px solid #9A60DA}.book-tree .sidebar-page-list .list-item-page.draft a.page,.book-tree .sidebar-page-list .page.draft .page{color:#9A60DA!important}.book-tree .sidebar-page-list .sub-menu{display:none;padding-left:0}.book-tree .sidebar-page-list .sub-menu.open{display:block}.sortable-page-list,.sortable-page-list ul{list-style:none;background-color:#FFF}.sort-box{margin-bottom:16px;padding:0 24px;border-left:4px solid #009688}.sortable-page-list,.sortable-page-list>ul{margin-left:0}.sortable-page-list ul{margin-bottom:0;margin-top:0;box-shadow:0 0 1px 0 rgba(0,0,0,.1)}.sortable-page-list li{border:1px solid #DDD;padding:6px 12px;margin-top:-1px;min-height:38px}.sortable-page-list li.text-chapter{border-left:2px solid #ef7c3c}.sortable-page-list li.text-page{border-left:2px solid #0288D1}.sortable-page-list li:first-child{margin-top:6px}.sortable-page-list li.placeholder{position:relative}.sortable-page-list li.placeholder:before{position:absolute}.activity-list-item{padding:12px 0;color:#888;border-bottom:1px solid #EEE;font-size:.9em}.activity-list-item .left+.right{margin-left:42px}ul.pagination{display:inline-block;list-style:none;margin:16px 0;padding-left:1px}ul.pagination li:first-child a,ul.pagination li:first-child span{border-radius:3px 0 0 3px}ul.pagination li:last-child a,ul.pagination li:last-child span{border-radius:0 3px 3px 0}ul.pagination a,ul.pagination span{display:block;padding:3px 12px;border:1px solid #CCC;margin-left:-1px;color:#888;user-select:none}.compact ul.pagination,.entity-list h4{margin:0}ul.pagination a.disabled,ul.pagination span.disabled{cursor:not-allowed}ul.pagination li.active span{background-color:rgba(2,136,209,.8);color:#EEE;border-color:rgba(2,136,209,.8)}ul.pagination a{color:#0288D1}.entity-list>div{padding:16px 0}.entity-list p{margin:6px 0 0}.entity-list hr{margin:0}.entity-list .text-small.text-muted{color:#AAA;font-size:.75em;margin-top:6px}.entity-list .page.draft .text-page{color:#9A60DA}.entity-list.compact{font-size:.6em}.entity-list.compact a,.entity-list.compact h4{line-height:1.2}.entity-list.compact p{display:none;font-size:12px;padding-top:6px;margin:0}.entity-list.compact>p.empty-text{display:block;font-size:15px}.entity-list.compact hr{margin:0}.dropdown-container{display:inline-block;position:relative}.dropdown-container ul{display:none;position:absolute;z-index:999;top:0;list-style:none;right:0;margin:16px 0;background-color:#FFF;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border-radius:1px;border:1px solid #EEE;min-width:180px;padding:6px 0;color:#555;text-align:left!important}.dropdown-container ul.wide{min-width:220px}.dropdown-container ul .text-muted{color:#999}.dropdown-container ul li.padded{padding:6px 16px}.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:12px;padding-right:0;display:inline-block;width:16px}.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-box;display:flex;-webkit-box-align:stretch;align-items:stretch}.page-editor .faded-small{height:auto}.page-editor .edit-area{-webkit-box-flex:1;flex:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}.draft-notification{pointer-events:none;-webkit-transform:scale(0);transform:scale(0);-webkit-transition:-webkit-transform ease-in-out 120ms;transition:-webkit-transform ease-in-out 120ms;transition:transform ease-in-out 120ms;transition:transform ease-in-out 120ms,-webkit-transform ease-in-out 120ms;-webkit-transform-origin:50% 50%;transform-origin:50% 50%}.draft-notification.visible{-webkit-transform:scale(1);transform:scale(1)}.page-style.editor{padding:0!important}.page-content{max-width:840px;overflow-wrap:break-word}.page-content .align-left{text-align:left}.page-content img.align-left,.page-content table.align-left{float:left!important;margin:6px 12px 6px 0}.page-content .align-right{float:right!important}.page-content img.align-right,.page-content table.align-right{text-align:right;margin:6px 0 6px 12px}.page-content .align-center{text-align:center}.page-content img{max-width:100%;height:auto}.page-content .title-input input[type=text],.page-content h1,.page-content h2,.page-content h3,.page-content h4,.page-content h5,.page-content h6,.page-content pre,.title-input .page-content input[type=text]{clear:left}.page-content hr{clear:both;margin:16px 0}.page-content table{-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;table-layout:fixed;max-width:100%;height:auto!important}.page-content ins{background:#dbffdb}.page-content del{background:#FFECEC}.pointer-container{position:relative;display:none;left:0;z-index:10}.pointer,.pointer:before{position:absolute;background-color:#FFF}.pointer{border:1px solid #CCC;display:inline-block;padding:12px;border-radius:4px;box-shadow:0 0 8px 1px rgba(212,209,209,.35);top:-60px;width:272px;z-index:55}.pointer:before{left:50%;bottom:-9px;width:16px;height:16px;margin-left:-8px;display:block;-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}.floating-toolbox{background-color:#FFF;border:1px solid #DDD;right:64px;width:48px;overflow:hidden;-webkit-box-align:stretch;align-items:stretch;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;display:-webkit-box;display:flex;-webkit-transition:width ease-in-out 180ms;transition:width ease-in-out 180ms;margin-top:-1px;min-height:0}.floating-toolbox div[toolbox-tab-content],.floating-toolbox form{-webkit-box-orient:vertical;-webkit-box-direction:normal;overflow-y:scroll}.floating-toolbox.open{width:480px}.floating-toolbox [toolbox-toggle] i{-webkit-transition:-webkit-transform ease-in-out 180ms;transition:-webkit-transform ease-in-out 180ms;transition:transform ease-in-out 180ms;transition:transform ease-in-out 180ms,-webkit-transform ease-in-out 180ms}.floating-toolbox [toolbox-toggle]{-webkit-transition:background-color ease-in-out 180ms;transition:background-color ease-in-out 180ms}.floating-toolbox.open [toolbox-toggle]{background-color:rgba(255,0,0,.29)}.floating-toolbox.open [toolbox-toggle] i{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.floating-toolbox>div{-webkit-box-flex:1;flex:1;position:relative}.floating-toolbox .tabs{display:block;border-right:1px solid #DDD;width:48px;-webkit-box-flex:0;flex:0 1 auto}.floating-toolbox .tabs i{color:rgba(0,0,0,.5);padding:0;margin:0}.floating-toolbox .tabs>span{display:block;cursor:pointer;padding:12px 16px;font-size:13.5px;line-height:1.6;border-bottom:1px solid rgba(255,255,255,.3)}.floating-toolbox.open .tabs>span.active{color:#444;background-color:rgba(0,0,0,.1)}.floating-toolbox div[toolbox-tab-content]{padding-bottom:45px;display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1;flex-direction:column;min-height:0}.floating-toolbox div[toolbox-tab-content] .padded{-webkit-box-flex:1;flex:1;padding-top:0}.floating-toolbox h4{font-size:24px;margin:16px 0 0;padding:0 24px 12px}.floating-toolbox .tags input{max-width:100%;width:100%;min-width:50px}.floating-toolbox .tags td{padding-right:12px;padding-top:12px;position:relative}.floating-toolbox .handle{user-select:none;cursor:move;color:#999}.floating-toolbox form{display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1;flex-direction:column}.floating-toolbox table td,.floating-toolbox table th{overflow:visible}[toolbox-tab-content]{display:none}.tag-display{width:100%;position:relative}.tag-display table{width:100%;margin:0;padding:0}.tag-display tr:first-child td{padding-top:0}.tag-display .heading th{padding:6px 12px;color:rgba(100,100,100,.7);border:0;font-weight:400}.tag-display td{border:0;border-bottom:1px solid #EEE;padding:6px 12px;color:#444}.tag-display tr td:first-child{padding-left:0}.tag-display .tag-value{color:#888}.tag-display tr:last-child td{border-bottom:none}.tag-display .tag{padding:12px}.suggestion-box{position:absolute;background-color:#FFF;border:1px solid #BBB;box-shadow:0 0 4px 1px #CCC;list-style:none;z-index:100;padding:0;margin:0;border-radius:3px}.avatar,.notification,.suggestion-box li.active{background-color:#EEE}.suggestion-box li{display:block;padding:6px 12px;border-bottom:1px solid #DDD}.suggestion-box li:last-child{border-bottom:0}[v-cloak],[v-show]{display:none}.ng-cloak,[ng-cloak],[ng\:cloak]{display:none!important;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}[ng-click]{cursor:pointer}.dragged{position:absolute;opacity:.5;z-index:2000}body.dragging,body.dragging *{cursor:move!important}.avatar{border-radius:100%;width:30px;height:30px}.avatar.square,.notification{border-radius:3px}.avatar.med{width:40px;height:40px}.avatar.large{width:80px;height:80px}.avatar.huge{width:120px;height:120px}.notification{position:fixed;top:0;right:0;margin:64px 32px;padding:24px 32px;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);z-index:999999;display:block;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;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;-webkit-transition:all ease-in-out 180ms;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-box;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-box-flex:5;flex:5}.contained-search-box input:active,.contained-search-box input:focus{outline:0}.contained-search-box button{width:60px}.contained-search-box button i{padding:0}.contained-search-box button.cancel.active{background-color:#E84F4F;color:#EEE}.entity-selector{border:1px solid #DDD;border-radius:3px;overflow:hidden;font-size:.8em}.entity-selector input[type=text]{width:100%;display:block;border-radius:0;border:0;border-bottom:1px solid #DDD;font-size:16px;padding:12px 16px}.entity-selector .entity-list{overflow-y:scroll;height:400px;background-color:#EEE}.entity-selector .loading{height:400px;padding-top:24px}.entity-selector .entity-list>p{text-align:center;padding-top:24px;font-size:1.333em}.entity-selector .entity-list>div{padding-left:16px;padding-right:16px;background-color:#FFF;-webkit-transition:all ease-in-out 120ms;transition:all ease-in-out 120ms;cursor:pointer}.entity-list-item.selected a,.entity-list-item.selected h3,.entity-list-item.selected i,.entity-list-item.selected p,.entity-list-item.selected span{color:#EEE} \ No newline at end of file +article,aside,blockquote,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}.chapter-toggle,.toggle-switch{-moz-user-select:none;-webkit-user-select:none}.anim.fadeIn,.anim.searchResult{-webkit-animation-fill-mode:forwards}#markdown-editor .markdown-editor-wrap,.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel,.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body,.popup-body,body.flexbox{-webkit-box-orient:vertical;-webkit-box-direction:normal}*,.dropzone,.dropzone *{box-sizing:border-box}.title-input input[type=text],a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{margin:0;padding:0;border:0;font:inherit;vertical-align:baseline}.link,.text-button,a,body{font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:'';content:none}@font-face{font-family:Roboto;font-style:normal;font-weight:100;src:local("Roboto Thin"),local("Roboto-Thin"),url(../fonts/roboto-v15-cyrillic_latin-100.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-100.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:100;src:local("Roboto Thin Italic"),local("Roboto-ThinItalic"),url(../fonts/roboto-v15-cyrillic_latin-100italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-100italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:300;src:local("Roboto Light"),local("Roboto-Light"),url(../fonts/roboto-v15-cyrillic_latin-300.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-300.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:300;src:local("Roboto Light Italic"),local("Roboto-LightItalic"),url(../fonts/roboto-v15-cyrillic_latin-300italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-300italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:local("Roboto"),local("Roboto-Regular"),url(../fonts/roboto-v15-cyrillic_latin-regular.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-regular.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:400;src:local("Roboto Italic"),local("Roboto-Italic"),url(../fonts/roboto-v15-cyrillic_latin-italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:500;src:local("Roboto Medium"),local("Roboto-Medium"),url(../fonts/roboto-v15-cyrillic_latin-500.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-500.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:500;src:local("Roboto Medium Italic"),local("Roboto-MediumItalic"),url(../fonts/roboto-v15-cyrillic_latin-500italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-500italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:700;src:local("Roboto Bold"),local("Roboto-Bold"),url(../fonts/roboto-v15-cyrillic_latin-700.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-700.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:700;src:local("Roboto Bold Italic"),local("Roboto-BoldItalic"),url(../fonts/roboto-v15-cyrillic_latin-700italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-700italic.woff) format("woff")}@font-face{font-family:'Roboto Mono';font-style:normal;font-weight:400;src:local("Roboto Mono"),local("RobotoMono-Regular"),url(../fonts/roboto-mono-v4-latin-regular.woff2) format("woff2"),url(../fonts/roboto-mono-v4-latin-regular.woff) format("woff")}html{background-color:#FFF;height:100%;overflow-y:scroll}html.flexbox{overflow-y:hidden}body{font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}button{font-size:100%}.title-input input[type=text],h1{font-size:3.425em;line-height:1.22222222em;margin-top:.48888889em;margin-bottom:.48888889em}h3,h4,h5,h6{margin-top:.78571429em}h2,h3,h4{margin-bottom:.43137255em}h2{font-size:2.8275em;line-height:1.294117647em;margin-top:.8627451em}h3{font-size:2.333em;line-height:1.571428572em}h4{font-size:1.666em;line-height:1.375em}.title-input input[type=text],h1,h2,h3,h4,h5,h6{font-weight:400;position:relative;display:block;color:#555}.title-input input[type=text] .subheader,h1 .subheader,h2 .subheader,h3 .subheader,h4 .subheader,h5 .subheader,h6 .subheader{font-size:.5em;line-height:1em;color:#969696}h5{font-size:1.4em}h5,h6{font-weight:500;line-height:1.2em;margin-bottom:.66em}.link,.text-button,a{color:#0288D1;cursor:pointer;text-decoration:none;-webkit-transition:color ease-in-out 80ms;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:-webkit-linear-gradient(left,#FFF,#e3e0e0 20%,#e3e0e0 80%,#FFF);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}.text-small .text-small,.text-small p.small,.text-small small,.text-small span.small,p.small .text-small,p.small p.small,p.small small,p.small span.small,small .text-small,small p.small,small small,small span.small,span.small .text-small,span.small p.small,span.small small,span.small span.small{font-size:1em}.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}body.flexbox,ol,ul{overflow:hidden}blockquote{position:relative;border-left:4px solid #0288D1;background-color:#F8F8F8;padding:12px 16px 12px 32px}blockquote:before{content:"\201C";font-size:2em;font-weight:700;position:absolute;top:12px;left:12px;color:#777}.code-base,code,span.code{background-color:#F8F8F8;font-family:monospace;font-size:.8em;border:1px solid #DDD;border-radius:3px}code{display:inline;padding:1px 3px;white-space:pre;line-height:1.2em;margin-bottom:1.2em}.list>*,pre code{display:block}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:#969696}.text-primary,.text-primary:hover,p .primary,p .primary:hover,p.primary,p.primary:hover,span.primary,span.primary:hover{color:#0288D1}.text-secondary,.text-secondary:hover,p .secondary,p .secondary:hover,p.secondary,p.secondary:hover,span.secondary,span.secondary:hover{color:#e27b41}.text-book,.text-book:hover{color:#009688}.text-page,.text-page:hover{color:#0288D1}.text-page.draft,.text-page.draft:hover{color:#9A60DA}.text-chapter,.text-chapter:hover{color:#ef7c3c}.faded .text-book:hover{color:#009688!important}.faded .text-chapter:hover{color:#ef7c3c!important}.faded .text-page:hover{color:#0288D1!important}span.highlight{font-weight:700;padding:2px 4px}ul{padding-left:20.8px;list-style:disc}ol{list-style:decimal;padding-left:32px}.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}.action-header .title-input input[type=text],.action-header h1,.title-input .action-header input[type=text]{margin-top:16px}i{padding-right:6px}body.flexbox{display:-webkit-box;display:flex;flex-direction:column;-webkit-box-align:stretch;align-items:stretch;height:100%;min-height:100%;max-height:100%}body.flexbox #content{-webkit-box-flex:1;flex:1;display:-webkit-box;display:flex;min-height:0}.flex-fill{display:-webkit-box;display:flex;-webkit-box-align:stretch;align-items:stretch;min-height:0}.flex-fill .flex,.flex-fill.flex{min-height:0;-webkit-box-flex:1;flex:1}.flex-child>div{-webkit-box-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.medium{max-width:992px}.container.small{max-width:840px}.center-box{margin:32px auto 0;padding:16px 48px 64px;max-width:346px;display:inline-block;text-align:left;vertical-align:top}.center-box.login{background-color:#EEE;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border:1px solid #DDD}.row{margin-left:-16px;margin-right:-16px}.float{float:left}.float.right{float:right}.block{display:block;position:relative}.inline{display:inline}.block.inline{display:inline-block}.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{position:relative;min-height:1px;padding-left:16px;padding-right:16px}.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.row:after,.row:before{content:" ";display:table}.clearfix:after,.container-fluid:after,.container:after,.row:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.shaded{background-color:#f1f1f1}.shaded.pos{background-color:#d6ead7}.shaded.neg{background-color:#f4a9a9}.shaded.primary{background-color:#a1ddfe}.shaded.secondary{background-color:#f6d7c6}.bordered{border:1px solid #BBB}.bordered.pos{border-color:#52A256}.bordered.neg{border-color:#E84F4F}.bordered.primary{border-color:#0288D1}.bordered.secondary{border-color:#e27b41}.bordered.thick{border-width:2px}.rounded{border-radius:3px}.nopadding{padding:0}.padded{padding:24px}.padded.large{padding:32px}.padded>h1:first-child,.padded>h2:first-child,.padded>h3:first-child,.padded>h4:first-child,.title-input .padded>input[type=text]:first-child{margin-top:.1em}.padded-top,.padded-vertical{padding-top:16px}.padded-top.large,.padded-vertical.large{padding-top:32px}.padded-bottom,.padded-vertical{padding-bottom:16px}.padded-bottom.large,.padded-vertical.large{padding-bottom:32px}.padded-horizontal,.padded-left{padding-left:16px}.padded-horizontal.large,.padded-left.large{padding-left:32px}.padded-horizontal,.padded-right{padding-right:16px}.padded-horizontal.large,.padded-right.large{padding-right:32px}.margins{margin:24px}.margins.large{margin:32px}.margin-top,.margins-vertical{margin-top:16px}.margin-top.large,.margins-vertical.large{margin-top:32px}.margin-bottom,.margins-vertical{margin-bottom:16px}.margin-bottom.large,.margins-vertical.large{margin-bottom:32px}.margin-left,.margins-horizontal{margin-left:16px}.margin-left.large,.margins-horizontal.large{margin-left:32px}.margin-right,.margins-horizontal{margin-right:16px}.margin-right.large,.margins-horizontal.large,header .links{margin-right:32px}.callout{border-left:3px solid #BBB;background-color:#EEE;padding:12px;display:block}.callout:before{font-family:Material-Design-Iconic-Font;padding-right:12px;display:inline-block}.callout.success{border-left-color:#52A256;background-color:#e7f3e7;color:#376c39}.callout.success:before{content:'\f269'}.callout.danger{border-left-color:#E84F4F;background-color:#fce8e8;color:#b91818}.callout.danger:before{content:'\f1f2'}.callout.info{border-left-color:#0288D1;background-color:#d3efff;color:#015380}.callout.info:before{content:'\f1f8'}.callout.warning{border-left-color:#e27b41;background-color:#faeae0;color:#b6531c}.callout.warning:before{content:'\f1f1'}.button-group:after,.dz-preview .dz-error-message:after,.editor-toolbar:after,.pointer:before,.toggle-switch:after{content:''}.button,.button-base,input[type=button],input[type=submit]{text-decoration:none;font-size:15px;line-height:1.4em;padding:6px 16px;margin:6px 6px 6px 0;display:inline-block;border:none;font-weight:500;font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif;outline:0;border-radius:2px;cursor:pointer;-webkit-transition:all ease-in-out 120ms;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}.button[disabled],.button[disabled]:hover{background-color:#BBB;cursor:default}.text-button:active,.text-button:focus{outline:0}.text-button:hover{text-decoration:none}.text-button.neg{color:#E84F4F}.button-group:after{display:block;font-size:0;clear:both;position:relative}.button-group .button,.button-group button[type=button]{margin:6px 0;float:left;border-radius:0}.button-group .button:first-child,.button-group button[type=button]:first-child{border-radius:2px 0 0 2px}.button-group .button:last-child,.button-group button[type=button]:last-child{border-radius:0 2px 2px 0}.button.block{width:100%;text-align:center;display:block}.button.icon i{padding-right:0}.button[disabled]:hover{box-shadow:none}.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{font-family:'Roboto Mono',monospace}.input-base.invalid,.input-base.neg,input.invalid[type=text],input.invalid[type=number],input.invalid[type=email],input.invalid[type=search],input.invalid[type=url],input.invalid[type=password],input.neg[type=text],input.neg[type=number],input.neg[type=email],input.neg[type=search],input.neg[type=url],input.neg[type=password],select.invalid,select.neg,textarea.invalid,textarea.neg{border:1px solid #E84F4F}.input-base.pos,.input-base.valid,input.pos[type=text],input.pos[type=number],input.pos[type=email],input.pos[type=search],input.pos[type=url],input.pos[type=password],input.valid[type=text],input.valid[type=number],input.valid[type=email],input.valid[type=search],input.valid[type=url],input.valid[type=password],select.pos,select.valid,textarea.pos,textarea.valid{border:1px solid #52A256}.input-base.disabled,.input-base[disabled],input.disabled[type=text],input.disabled[type=number],input.disabled[type=email],input.disabled[type=search],input.disabled[type=url],input.disabled[type=password],input[disabled][type=text],input[disabled][type=number],input[disabled][type=email],input[disabled][type=search],input[disabled][type=url],input[disabled][type=password],select.disabled,select[disabled],textarea.disabled,textarea[disabled]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAMUlEQVQIW2NkwAGuXbv2nxGbHEhCS0uLEUMSJgHShCKJLIEiiS4Bl8QmAZbEJQGSBAC62BuJ+tt7zgAAAABJRU5ErkJggg==)}.input-base:focus,input[type=text]:focus,input[type=number]:focus,input[type=email]:focus,input[type=search]:focus,input[type=url]:focus,input[type=password]:focus,select:focus,textarea:focus{outline:0}#html-editor{display:none}#markdown-editor{position:relative;z-index:5}#markdown-editor textarea{font-style:normal;font-weight:400;padding:6px 16px;color:#444;border-radius:0;max-height:100%;-webkit-box-flex:1;flex:1;border:0;width:100%}#markdown-editor textarea:focus{outline:0}#markdown-editor .markdown-display,#markdown-editor .markdown-editor-wrap{-webkit-box-flex:1;flex:1;position:relative}#markdown-editor .markdown-editor-wrap{display:-webkit-box;display:flex;flex-direction:column;border:1px solid #DDD;width:50%}#markdown-editor .markdown-display{padding:0 16px;margin-left:-1px;overflow-y:scroll}#markdown-editor .markdown-display .page-content{margin:0 auto}.editor-toolbar{width:100%;padding:6px 16px;font-size:11px;line-height:1.6;border-bottom:1px solid #DDD;background-color:#EEE;-webkit-box-flex:0;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}.logo-text,.page-list h5,label.checkbox,label.radio{font-weight:400}label.checkbox input[type=radio],label.checkbox input[type=checkbox],label.radio input[type=radio],label.radio input[type=checkbox]{margin-right:6px}label+p.small{margin-bottom:.8em}.toggle-switch{background-color:#BBB;width:36px;height:14px;border-radius:7px;position:relative;-webkit-transition:all ease-in-out 120ms;transition:all ease-in-out 120ms;cursor:pointer;-ms-user-select:none;user-select:none}.toggle-switch:after{display:block;position:relative;left:0;margin-top:-3px;width:20px;height:20px;border-radius:50%;background-color:#fafafa;border:1px solid #CCC;box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);-webkit-transition:all ease-in-out 120ms;transition:all ease-in-out 120ms}.toggle-switch.active{background-color:rgba(82,162,86,.4)}.toggle-switch.active:after{left:16px;background-color:#52A256;border:#305e32}.toggle-switch-checkbox{display:none}input:checked+.toggle-switch{background-color:rgba(82,162,86,.4)}input:checked+.toggle-switch:after{left:16px;background-color:#52A256;border:#305e32}.form-group{margin-bottom:12px}.form-group textarea{display:block;width:100%;min-height:64px}.form-group .text-neg,.form-group .text-pos{padding:6px 0}.description-input textarea,.inline-input-style,.title-input input[type=text]{border:2px dotted #BBB;display:block;width:100%;padding:6px 12px}.title-input .input{width:100%}.description-input label,.title-input label{margin-top:16px;color:#666}.title-input input[type=text]{margin-top:0;padding-right:0;width:100%;color:#444}.title-input.page-title{font-size:.8em}.title-input.page-title .input{border:0;margin-bottom:-1px}.title-input.page-title input[type=text]{max-width:840px;margin:0 auto;border:none}.search-box,.search-box input,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}input.outline{border:0;border-bottom:2px solid #DDD;border-radius:0}input.outline:active,input.outline:focus{border:0;border-bottom:2px solid #AAA;outline:0}#login-form label[for=remember]{margin:0}#login-form label.toggle-switch{margin-left:32px}.image-picker img{background-color:#BBB}table{border-collapse:collapse;border-spacing:0;min-width:100px}table thead{background-color:#F8F8F8;font-weight:500}table td,table th{min-width:10px;padding:6px 8px;border:1px solid #DDD;overflow:auto;line-height:1.2}table td p,table th p{margin:0}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;margin:0}table.table th{font-weight:700}table.table tr:hover{background-color:#EEE}table.table .text-right{text-align:right}.dz-message,.dz-preview .dz-details,.dz-preview .dz-remove,.image-manager-content .full-tab,.mce-container-body.mce-flow-layout,table.table .text-center{text-align:center}table.file-table td,table.no-style td{border:0;padding:0}table.list-table{margin:-6px}table.list-table td{border:0;vertical-align:middle;padding:6px}.dropdown-container,.dz-preview,.logo-image,.logo-text,form.search-box button,header .links,header .user-name,header .user-name>*{vertical-align:top}table.file-table td{padding:6px}table.file-table .ui-sortable-helper{display:table}.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)}.anim.pointer,.loading-container>div{-webkit-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;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>div>.mce-tinymce.mce-container.mce-panel{-webkit-box-flex:1;flex:1 1 auto;display:-webkit-box!important;display:flex!important;flex-direction:column;-webkit-box-align:stretch;align-items:stretch;margin:0 -1px}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body{-webkit-box-flex:1;flex:1 1 auto;display:-webkit-box!important;display:flex!important;flex-direction:column;-webkit-box-align:stretch;align-items:stretch}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-toolbar-grp{-webkit-box-flex:0;flex:0 1 auto}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-edit-area{-webkit-box-flex:1;flex:1 1 auto;display:-webkit-box!important;display:flex!important;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-align:stretch;align-items:stretch}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-edit-area iframe{-webkit-box-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,.333);position:fixed;z-index:95536;width:100%;height:100%;min-width:100%;min-height:100%;top:0;left:0;right:0;bottom:0;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;display:none}.popup-body-wrap{display:-webkit-box;display:flex}.popup-body{background-color:#FFF;max-height:90%;width:1200px;height:auto;margin:2% 5%;border-radius:4px;box-shadow:0 0 15px 0 rgba(0,0,0,.3);overflow:hidden;z-index:999;display:-webkit-box;display:flex;flex-direction:column}.popup-body.small{margin:2% auto;width:800px;max-width:90%}.popup-body:before{display:-webkit-box;display:flex;align-self:flex-start}.corner-button{position:absolute;top:0;right:0;margin:0;height:40px;border-radius:0;box-shadow:none}.popup-footer,.popup-header{display:block!important;position:relative;height:40px;-webkit-box-flex:0!important;flex:none!important}.popup-footer .popup-title,.popup-header .popup-title{color:#FFF;padding:8px 16px}body.flexbox-support #entity-selector-wrap .popup-body .form-group{height:444px;min-height:444px}#entity-selector-wrap .popup-body .form-group{margin:0}.image-manager-body{min-height:70vh}.dropzone-container{position:relative;border:3px dashed #DDD}.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;-webkit-transition:all cubic-bezier(.4,0,1,1) 160ms;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;margin-left:1px;padding:16px 24px;overflow-y:auto;border-left:1px solid #DDD}.image-manager-sidebar .dropzone-container{margin-top:16px}.image-manager-list{overflow-y:scroll;-webkit-box-flex:1;flex:1}.image-manager-content,.page-editor{flex-direction:column;-webkit-box-orient:vertical;-webkit-box-direction:normal}.image-manager-content{display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1}.image-manager-content .container{width:100%}.dz-message{font-size:1.2em;line-height:1.1;font-style:italic;color:#aaa;cursor:pointer;padding:24px 16px;-webkit-transition:all ease-in-out 120ms;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:-webkit-linear-gradient(top,#eee,#ddd);background:linear-gradient(to bottom,#eee,#ddd)}.dz-preview.dz-image-preview{background:#fff}.dz-preview.dz-image-preview .dz-details{-webkit-transition:opacity .2s linear;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,.page-content del,.page-content ins{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;-webkit-transition:all .2s linear;transition:all .2s linear}.dz-preview.dz-complete .dz-progress{opacity:0;-webkit-transition:opacity .4s ease-in;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:-webkit-linear-gradient(top,#666,#444);background:linear-gradient(to bottom,#666,#444);position:absolute;top:0;left:0;bottom:0;width:0;-webkit-transition:width .3s ease-in-out;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;-webkit-transition:opacity .3s ease;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}[tab-container] .nav-tabs{text-align:left;border-bottom:1px solid #DDD;margin-bottom:16px}[tab-container] .nav-tabs .tab-item{padding:12px;color:#666}[tab-container] .nav-tabs .tab-item.selected{border-bottom-width:3px}.image-picker .none{display:none}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;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;-webkit-transition:all ease-in-out 120ms;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)}.book-tree,.book-tree.fixed{background-color:#FFF;top:0}.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 h4{margin:24px 0 6px;font-size:1.666em}.page-list a.chapter{color:#ef7c3c}.page-list .inset-list{display:none;overflow:hidden;margin-bottom:24px}.page-list h5{display:block;margin:12px 0 0;border-left:5px solid #0288D1;padding:6px 0 6px 16px;font-size:1.1em}.page-list h5.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{cursor:pointer;margin:0 0 24px;-webkit-transition:all ease-in-out 180ms;transition:all ease-in-out 180ms;-ms-user-select:none;user-select:none}.chapter-toggle i.zmdi-caret-right{-webkit-transition:all ease-in-out 180ms;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)}.sidebar-page-nav{list-style:none;margin:12px 0 16px 2px;border-left:2px dotted #BBB}.sidebar-page-nav li{padding-left:12px;margin-bottom:4px;font-size:.95em}.sidebar-page-nav .h1,.sidebar-page-nav .h2{margin-left:-2px}.sidebar-page-nav .h3{margin-left:12px}.sidebar-page-nav .h4{margin-left:24px}.sidebar-page-nav .h5{margin-left:36px}.sidebar-page-nav .h6{margin-left:48px}.book-tree{padding:6px 0 0;position:relative;right:0;-webkit-transition:ease-in-out 240ms;transition:ease-in-out 240ms;-webkit-transition-property:right,border;transition-property:right,border;border-left:0 solid #FFF}.book-tree.fixed{z-index:5;position:fixed;padding-left:24px;padding-right:39px;width:30%;right:-15px;height:100%;overflow-y:scroll;-ms-overflow-style:none;border-left:1px solid #DDD}.book-tree.fixed::-webkit-scrollbar{width:0!important}.book-tree h4{padding:16px 12px 0}.book-tree h4 i{padding-right:12px}.book-tree .sidebar-page-list{list-style:none;margin:6px 0 0;padding-left:0;border-left:5px solid #009688}.book-tree .sidebar-page-list li a{display:block;border-bottom:none;padding:6px 0 6px 12px}.book-tree .sidebar-page-list li a i{padding-right:8px}.book-tree .sidebar-page-list a,.book-tree .sidebar-page-list li{display:block}.book-tree .sidebar-page-list a.bold{color:#EEE!important}.book-tree .sidebar-page-list ul{list-style:none;margin:0}.book-tree .sidebar-page-list .book{color:#009688!important}.book-tree .sidebar-page-list .book.selected{background-color:rgba(0,150,136,.29)}.book-tree .sidebar-page-list .chapter{color:#ef7c3c!important}.book-tree .sidebar-page-list .chapter.selected{background-color:rgba(239,124,60,.12)}.book-tree .sidebar-page-list .chapter-toggle{padding-left:12px}.book-tree .sidebar-page-list .list-item-chapter{border-left:5px solid #ef7c3c;margin:10px;display:block}.book-tree .sidebar-page-list .list-item-page{border-bottom:none;border-left:5px solid #0288D1;margin:10px}.book-tree .sidebar-page-list .page{color:#0288D1!important;border-bottom:none}.book-tree .sidebar-page-list .page.selected{background-color:rgba(2,136,209,.1)}.book-tree .sidebar-page-list .list-item-page.draft{border-left:5px solid #9A60DA}.book-tree .sidebar-page-list .list-item-page.draft a.page,.book-tree .sidebar-page-list .page.draft .page{color:#9A60DA!important}.book-tree .sidebar-page-list .sub-menu{display:none;padding-left:0}.book-tree .sidebar-page-list .sub-menu.open{display:block}.sortable-page-list,.sortable-page-list ul{list-style:none;background-color:#FFF}.sort-box{margin-bottom:16px;padding:0 24px;border-left:4px solid #009688}.sortable-page-list,.sortable-page-list>ul{margin-left:0}.sortable-page-list ul{margin-bottom:0;margin-top:0;box-shadow:0 0 1px 0 rgba(0,0,0,.1)}.sortable-page-list li{border:1px solid #DDD;padding:6px 12px;margin-top:-1px;min-height:38px}.sortable-page-list li.text-chapter{border-left:2px solid #ef7c3c}.sortable-page-list li.text-page{border-left:2px solid #0288D1}.sortable-page-list li:first-child{margin-top:6px}.sortable-page-list li.placeholder{position:relative}.sortable-page-list li.placeholder:before{position:absolute}.activity-list-item{padding:12px 0;color:#888;border-bottom:1px solid #EEE;font-size:.9em}.activity-list-item .left+.right{margin-left:42px}ul.pagination{display:inline-block;list-style:none;margin:16px 0;padding-left:1px}ul.pagination li:first-child a,ul.pagination li:first-child span{border-radius:3px 0 0 3px}ul.pagination li:last-child a,ul.pagination li:last-child span{border-radius:0 3px 3px 0}ul.pagination a,ul.pagination span{display:block;padding:3px 12px;border:1px solid #CCC;margin-left:-1px;color:#888;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.compact ul.pagination,.entity-list h4{margin:0}.floating-toolbox .handle,.pointer span.icon{-webkit-user-select:none;-ms-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 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 .text-muted p.text-muted{margin-top:0}.entity-list .page.draft .text-page{color:#9A60DA}.entity-list.compact{font-size:.6em}.entity-list.compact a,.entity-list.compact h4{line-height:1.2}.entity-list.compact p{display:none;font-size:12px;padding-top:6px;margin:0}.entity-list.compact>p.empty-text{display:block;font-size:15px}.entity-list.compact hr{margin:0}.dropdown-container{display:inline-block;position:relative}.dropdown-container ul{display:none;position:absolute;z-index:999;top:0;list-style:none;right:0;margin:16px 0;background-color:#FFF;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border-radius:1px;border:1px solid #EEE;min-width:180px;padding:6px 0;color:#555;text-align:left!important}.dropdown-container ul.wide{min-width:220px}.dropdown-container ul .text-muted{color:#999}.dropdown-container ul li.padded{padding:6px 16px}.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:12px;padding-right:0;display:inline-block;width:16px}.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-box;display:flex;-webkit-box-align:stretch;align-items:stretch}.page-editor .faded-small{height:auto}.page-editor .edit-area{-webkit-box-flex:1;flex:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}.draft-notification{pointer-events:none;-webkit-transform:scale(0);transform:scale(0);-webkit-transition:-webkit-transform ease-in-out 120ms;transition:-webkit-transform ease-in-out 120ms;transition:transform ease-in-out 120ms;transition:transform ease-in-out 120ms,-webkit-transform ease-in-out 120ms;-webkit-transform-origin:50% 50%;transform-origin:50% 50%}.draft-notification.visible{-webkit-transform:scale(1);transform:scale(1)}.page-style.editor{padding:0!important}.page-content{max-width:840px;overflow-wrap:break-word}.page-content .align-left{text-align:left}.page-content img.align-left,.page-content table.align-left{float:left!important;margin:6px 12px 6px 0}.page-content .align-right{float:right!important}.page-content img.align-right,.page-content table.align-right{text-align:right;margin:6px 0 6px 12px}.page-content .align-center{text-align:center}.page-content img{max-width:100%;height:auto}.page-content .title-input input[type=text],.page-content h1,.page-content h2,.page-content h3,.page-content h4,.page-content h5,.page-content h6,.page-content pre,.title-input .page-content input[type=text]{clear:left}.page-content hr{clear:both;margin:16px 0}.page-content table{-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;table-layout:fixed;max-width:100%;height:auto!important}.page-content ins{background:#dbffdb}.page-content del{background:#FFECEC}.pointer-container{position:relative;display:none;left:0;z-index:10}.pointer,.pointer:before{position:absolute;background-color:#FFF}.pointer{border:1px solid #CCC;display:inline-block;padding:12px;border-radius:4px;box-shadow:0 0 8px 1px rgba(212,209,209,.35);top:-60px;width:272px;z-index:55}.pointer:before{left:50%;bottom:-9px;width:16px;height:16px;margin-left:-8px;display:block;-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 span.icon{cursor:pointer;-moz-user-select:none;user-select:none}.pointer .button{line-height:1;margin:0 0 0 -4px;box-shadow:none}.floating-toolbox{background-color:#FFF;border:1px solid #DDD;right:64px;width:48px;overflow:hidden;-webkit-box-align:stretch;align-items:stretch;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;display:-webkit-box;display:flex;-webkit-transition:width ease-in-out 180ms;transition:width ease-in-out 180ms;margin-top:-1px;min-height:0}.floating-toolbox div[toolbox-tab-content],.floating-toolbox form{-webkit-box-orient:vertical;-webkit-box-direction:normal;overflow-y:scroll}.floating-toolbox.open{width:480px}.floating-toolbox [toolbox-toggle] i{-webkit-transition:-webkit-transform ease-in-out 180ms;transition:-webkit-transform ease-in-out 180ms;transition:transform ease-in-out 180ms;transition:transform ease-in-out 180ms,-webkit-transform ease-in-out 180ms}.floating-toolbox [toolbox-toggle]{-webkit-transition:background-color ease-in-out 180ms;transition:background-color ease-in-out 180ms}.floating-toolbox.open [toolbox-toggle]{background-color:rgba(255,0,0,.29)}.floating-toolbox.open [toolbox-toggle] i{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.floating-toolbox>div{-webkit-box-flex:1;flex:1;position:relative}.floating-toolbox .tabs{display:block;border-right:1px solid #DDD;width:48px;-webkit-box-flex:0;flex:0 1 auto}.floating-toolbox .tabs i{color:rgba(0,0,0,.5);padding:0;margin:0}.floating-toolbox .tabs>span{display:block;cursor:pointer;padding:12px 16px;font-size:13.5px;line-height:1.6;border-bottom:1px solid rgba(255,255,255,.3)}.floating-toolbox.open .tabs>span.active{color:#444;background-color:rgba(0,0,0,.1)}.floating-toolbox div[toolbox-tab-content]{padding-bottom:45px;display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1;flex-direction:column;min-height:0}.floating-toolbox div[toolbox-tab-content] .padded{-webkit-box-flex:1;flex:1;padding-top:0}.floating-toolbox h4{font-size:24px;margin:16px 0 0;padding:0 24px 12px}.floating-toolbox .tags input{max-width:100%;width:100%;min-width:50px}.floating-toolbox .tags td{padding-right:12px;padding-top:12px;position:relative}.floating-toolbox .handle{-moz-user-select:none;user-select:none;cursor:move;color:#999}.floating-toolbox form{display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1;flex-direction:column}.floating-toolbox table td,.floating-toolbox table th{overflow:visible}[toolbox-tab-content]{display:none}.tag-display{width:100%;position:relative}.tag-display table{width:100%;margin:0;padding:0}.tag-display tr:first-child td{padding-top:0}.tag-display .heading th{padding:6px 12px;color:rgba(100,100,100,.7);border:0;font-weight:400}.tag-display td{border:0;border-bottom:1px solid #EEE;padding:6px 12px;color:#444}.tag-display tr td:first-child{padding-left:0}.tag-display .tag-value{color:#888}.tag-display tr:last-child td{border-bottom:none}.tag-display .tag{padding:12px}.suggestion-box{position:absolute;background-color:#FFF;border:1px solid #BBB;box-shadow:0 0 4px 1px #CCC;list-style:none;z-index:100;padding:0;margin:0;border-radius:3px}.avatar,.notification,.suggestion-box li.active{background-color:#EEE}.suggestion-box li{display:block;padding:6px 12px;border-bottom:1px solid #DDD}.suggestion-box li:last-child{border-bottom:0}[v-cloak],[v-show]{display:none}.ng-cloak,[ng-cloak],[ng\:cloak]{display:none!important;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}[ng-click]{cursor:pointer}.dragged{position:absolute;opacity:.5;z-index:2000}body.dragging,body.dragging *{cursor:move!important}.avatar{border-radius:100%;width:30px;height:30px}.avatar.square,.notification{border-radius:3px}.avatar.med{width:40px;height:40px}.avatar.large{width:80px;height:80px}.avatar.huge{width:120px;height:120px}.notification{position:fixed;top:0;right:0;margin:64px 32px;padding:24px 32px;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);z-index:999999;display:block;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;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;-webkit-transition:all ease-in-out 180ms;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-box;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-box-flex:5;flex:5}.contained-search-box input:active,.contained-search-box input:focus{outline:0}.contained-search-box button{width:60px}.contained-search-box button i{padding:0}.contained-search-box button.cancel.active{background-color:#E84F4F;color:#EEE}.entity-selector{border:1px solid #DDD;border-radius:3px;overflow:hidden;font-size:.8em}.entity-selector input[type=text]{width:100%;display:block;border-radius:0;border:0;border-bottom:1px solid #DDD;font-size:16px;padding:12px 16px}.entity-selector .entity-list{overflow-y:scroll;height:400px;background-color:#EEE}.entity-selector .loading{height:400px;padding-top:24px}.entity-selector .entity-list>p{text-align:center;padding-top:24px;font-size:1.333em}.entity-selector .entity-list>div{padding-left:16px;padding-right:16px;background-color:#FFF;-webkit-transition:all ease-in-out 120ms;transition:all ease-in-out 120ms;cursor:pointer}.entity-list-item.selected a,.entity-list-item.selected h3,.entity-list-item.selected i,.entity-list-item.selected p,.entity-list-item.selected span{color:#EEE} \ No newline at end of file diff --git a/public/js/common.js b/public/js/common.js index 5eb1b40d6b8..af0a5eb2592 100644 --- a/public/js/common.js +++ b/public/js/common.js @@ -1,12 +1,12 @@ -!function e(t,n,r){function i(a,s){if(!n[a]){if(!t[a]){var u="function"==typeof require&&require;if(!s&&u)return u(a,!0);if(o)return o(a,!0);var l=new Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}var c=n[a]={exports:{}};t[a][0].call(c.exports,function(e){var n=t[a][1][e];return i(n?n:e)},c,c.exports,e,t,n,r)}return n[a].exports}for(var o="function"==typeof require&&require,a=0;a0&&(r+=i>0?" ":"",r+=n?t+e:e+t)}),r}function a(e,t){var n=e.indexOf(t);t>=0&&e.splice(n,1)}function s(e){if(e instanceof ne)switch(e.length){case 0:return e;case 1:if(e[0].nodeType===L)return e;break;default:return ne(u(e))}if(e.nodeType===L)return ne(e)}function u(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 G(n,function(e){"s"==e.charAt(e.length-1)&&(e=e.substring(0,e.length-1)),e=parseFloat(e)||0,t=t?Math.max(e,t):e}),t}function M(e){return 0===e||null!=e}function T(e,t){var n=F,r=e+"s";return t?n+=ie:r+=" linear all",[n,r]}function A(){var e=Object.create(null);return{flush:function(){e=Object.create(null)},count:function(t){var n=e[t];return n?n.total:0},get:function(t){var n=e[t];return n&&n.value},put:function(t,n){e[t]?e[t].total++:e[t]={total:1,value:n}}}}function O(e,t,n){G(n,function(n){e[n]=Q(e[n])?e[n]:t.style.getPropertyValue(n)})}var F,I,N,P,L=1,j="-add",R="-remove",U="ng-",V="-active",z="-prepare",H="ng-animate",Y="$$ngAnimateChildren",q="";void 0===e.ontransitionend&&void 0!==e.onwebkittransitionend?(q="-webkit-",F="WebkitTransition",I="webkitTransitionEnd transitionend"):(F="transition",I="transitionend"),void 0===e.onanimationend&&void 0!==e.onwebkitanimationend?(q="-webkit-",N="WebkitAnimation",P="webkitAnimationEnd animationend"):(N="animation",P="animationend");var W,B,G,Z,Q,J,X,K,ee,te,ne,re,ie="Duration",oe="Property",ae="Delay",se="TimingFunction",ue="IterationCount",le="PlayState",ce=9999,fe=N+ae,de=N+ie,he=F+ae,pe=F+ie,me=t.$$minErr("ng"),ge=["$$rAF",function(e){function t(e){r=r.concat(e),n()}function n(){if(r.length){for(var t=r.shift(),o=0;o0&&(l=n.get(s),!l)){var c=o(a,"-stagger");r.addClass(i,c),l=E(e,i,u),l.animationDuration=Math.max(l.animationDuration,0),l.transitionDuration=Math.max(l.transitionDuration,0),r.removeClass(i,c),n.put(s,l)}return l||{}}function D(e){H.push(e),g.waitUntilQuiet(function(){t.flush(),n.flush();for(var e=l(),r=0;r=ne&&r>=ie&&(X=!0,g())}function H(){function t(){if(!Q){if(b(!1),G(le,function(e){var t=e[0],n=e[1];B.style[t]=n}),L(e,Y),r.addClass(e,Se),Re.recalculateTimingStyles){if(Ce=B.className+" "+xe,De=$(B,Ce),Le=A(B,Ce,De),je=Le.maxDelay,te=Math.max(je,0),ie=Le.maxDuration,0===ie)return void g();Re.hasTransitions=Le.transitionDuration>0,Re.hasAnimations=Le.animationDuration>0}if(Re.applyAnimationDelay&&(je="boolean"!=typeof Y.delay&&M(Y.delay)?parseFloat(Y.delay):je,te=Math.max(je,0),Le.animationDelay=je,Ue=_(je,!0),le.push(Ue),B.style[Ue[0]]=Ue[1]),ne=te*$e,ae=ie*$e,Y.easing){var t,i=Y.easing;Re.hasTransitions&&(t=F+se,le.push([t,i]),B.style[t]=i),Re.hasAnimations&&(t=N+se,le.push([t,i]),B.style[t]=i)}Le.transitionDuration&&he.push(I),Le.animationDuration&&he.push(P),ue=Date.now();var o=ne+we*ae,a=ue+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(g)}if(l){var f=u(n,o,!1);s[0]={timer:f,expectedEndTime:a},s.push(g),e.data(ye,s)}he.length&&e.on(he.join(" "),z),Y.to&&(Y.cleanupStyles&&O(q,B,Object.keys(Y.to)),m(e,Y))}}function n(){var t=e.data(ye);if(t){for(var n=1;n0&&(Le.transitionDuration&&0===Me.transitionDuration||Le.animationDuration&&0===Me.animationDuration)&&Math.max(Me.animationDelay,Me.transitionDelay);o?u(t,Math.floor(o*Ne*$e),!1):t(),ee.resume=function(){i(!0)},ee.pause=function(){i(!1)}}}var Y=n||{};Y.$$prepared||(Y=d(W(Y)));var q={},B=y(e);if(!B||!B.parentNode||!v.enabled())return E();var Q,J,X,K,ee,te,ne,ie,ae,ue,le=[],fe=e.attr("class"),de=i(Y),he=[];if(0===Y.duration||!c.animations&&!c.transitions)return E();var pe=Y.event&&Z(Y.event)?Y.event.join(" "):Y.event,me=pe&&Y.structural,ge="",ve="";me?ge=o(pe,U,!0):pe&&(ge=pe),Y.addClass&&(ve+=o(Y.addClass,j)),Y.removeClass&&(ve.length&&(ve+=" "),ve+=o(Y.removeClass,R)),Y.applyClassesEarly&&ve.length&&L(e,Y);var xe=[ge,ve].join(" ").trim(),Ce=fe+" "+xe,Se=o(xe,V),_e=de.to&&Object.keys(de.to).length>0,Ee=(Y.keyframeStyle||"").length>0;if(!Ee&&!_e&&!xe)return E();var De,Me;if(Y.stagger>0){var Te=parseFloat(Y.stagger);Me={transitionDelay:Te,animationDelay:Te,transitionDuration:0,animationDuration:0}}else De=$(B,Ce),Me=C(B,xe,De,ke);Y.$$skipPreparationClasses||r.addClass(e,xe);var Ae;if(Y.transitionStyle){var Oe=[F,Y.transitionStyle];k(B,Oe),le.push(Oe)}if(Y.duration>=0){Ae=B.style[F].length>0;var Fe=T(Y.duration,Ae);k(B,Fe),le.push(Fe)}if(Y.keyframeStyle){var Ie=[N,Y.keyframeStyle];k(B,Ie),le.push(Ie)}var Ne=Me?Y.staggerIndex>=0?Y.staggerIndex:t.count(De):0,Pe=0===Ne;Pe&&!Y.skipBlocking&&w(B,ce);var Le=A(B,Ce,De),je=Le.maxDelay;te=Math.max(je,0),ie=Le.maxDuration;var Re={};if(Re.hasTransitions=Le.transitionDuration>0,Re.hasAnimations=Le.animationDuration>0,Re.hasTransitionAll=Re.hasTransitions&&"all"==Le.transitionProperty,Re.applyTransitionDuration=_e&&(Re.hasTransitions&&!Re.hasTransitionAll||Re.hasAnimations&&!Re.hasTransitions),Re.applyAnimationDuration=Y.duration&&Re.hasAnimations,Re.applyTransitionDelay=M(Y.delay)&&(Re.applyTransitionDuration||Re.hasTransitions),Re.applyAnimationDelay=M(Y.delay)&&Re.hasAnimations,Re.recalculateTimingStyles=ve.length>0,(Re.applyTransitionDuration||Re.applyAnimationDuration)&&(ie=Y.duration?parseFloat(Y.duration):ie,Re.applyTransitionDuration&&(Re.hasTransitions=!0,Le.transitionDuration=ie,Ae=B.style[F+oe].length>0,le.push(T(ie,Ae))),Re.applyAnimationDuration&&(Re.hasAnimations=!0,Le.animationDuration=ie,le.push(S(ie)))),0===ie&&!Re.recalculateTimingStyles)return E();if(null!=Y.delay){var Ue;"boolean"!=typeof Y.delay&&(Ue=parseFloat(Y.delay),te=Math.max(Ue,0)),Re.applyTransitionDelay&&le.push(_(Ue)),Re.applyAnimationDelay&&le.push(_(Ue,!0))}return null==Y.duration&&Le.transitionDuration>0&&(Re.recalculateTimingStyles=Re.recalculateTimingStyles||Pe),ne=te*$e,ae=ie*$e,Y.skipBlocking||(Re.blockTransition=Le.transitionDuration>0,Re.blockKeyframeAnimation=Le.animationDuration>0&&Me.animationDelay>0&&0===Me.animationDuration),Y.from&&(Y.cleanupStyles&&O(q,B,Object.keys(Y.from)),p(e,Y)),Re.blockTransition||Re.blockKeyframeAnimation?b(ie):Y.skipBlocking||w(B,!1),{$$willAnimate:!0,end:l,start:function(){if(!Q)return ee={end:l,cancel:f,resume:null,pause:null},K=new s(ee),D(H),K}}}}]}],Se=["$$animationProvider",function(e){function t(e){return e.parentNode&&11===e.parentNode.nodeType}e.drivers.push("$$animateCssDriver");var n="ng-animate-shim",r="ng-anchor",i="ng-anchor-out",o="ng-anchor-in";this.$get=["$animateCss","$rootScope","$$AnimateRunner","$rootElement","$sniffer","$$jqLite","$document",function(e,a,s,u,l,c,d){function h(e){return e.replace(/\bng-\S+\b/g,"")}function p(e,t){return ee(e)&&(e=e.split(" ")),ee(t)&&(t=t.split(" ")),e.filter(function(e){return t.indexOf(e)===-1}).join(" ")}function m(t,a,u){function l(e){var t={},n=y(e).getBoundingClientRect();return G(["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=ne(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,re),o=v(t,re),a=[];if(G(r,function(e){var t=e.out,r=e["in"],i=m(n,t,r);i&&a.push(i)}),i||o||0!==a.length)return{start:function(){function e(){G(t,function(e){e.end()})}var t=[];i&&t.push(i.start()),o&&t.push(o.start()),G(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}}}function v(t){var n=t.element,r=t.options||{};t.structural&&(r.event=t.event,r.structural=!0,r.applyClassesEarly=!0,"leave"===t.event&&(r.onDone=r.domOperation)),r.preparationClasses&&(r.event=C(r.event,r.preparationClasses));var i=e(n,r);return i.$$willAnimate?i:null}if(!l.animations&&!l.transitions)return re;var $=d[0].body,b=y(u),w=ne(t(b)||$.contains(b)?b:$);f(c);return function(e){return e.from&&e.to?g(e.from,e.to,e.classes,e.anchors):v(e)}}]}],_e=["$animateProvider",function(e){this.$get=["$injector","$$AnimateRunner","$$jqLite",function(t,n,r){function i(n){n=Z(n)?n:n.split(" ");for(var r=[],i={},o=0;o0,r=(e.removeClass||"").length>0;return t?n&&r:n||r}var l=1,c=2,p=" ",m=this.rules={skip:[],cancel:[],join:[]};m.join.push(function(e,t,n){return!t.structural&&a(t)}),m.skip.push(function(e,t,n){return!t.structural&&!a(t)}),m.skip.push(function(e,t,n){return"leave"==n.event&&t.structural}),m.skip.push(function(e,t,n){return n.structural&&n.state===c&&!t.structural}),m.cancel.push(function(e,t,n){return n.structural&&t.structural}),m.cancel.push(function(e,t,n){return n.state===c&&t.structural}),m.cancel.push(function(e,t,n){if(n.structural)return!1;var r=t.addClass,o=t.removeClass,a=n.addClass,s=n.removeClass;return!(te(r)&&te(o)||te(a)&&te(s))&&(i(r,s)||i(o,a))}),this.$get=["$$rAF","$rootScope","$rootElement","$document","$$HashMap","$$animation","$$AnimateRunner","$templateRequest","$$jqLite","$$forceReflow",function(r,i,p,m,v,w,x,k,C,S){function _(){var e=!1;return function(t){e?t():i.$$postDigest(function(){e=!0,t()})}}function E(e,t){return g(e,t,{})}function D(e,t,n){var r=y(t),i=y(e),o=[],a=z[n];return a&&G(a,function(e){re.call(e.node,r)?o.push(e.callback):"leave"===n&&re.call(e.node,i)&&o.push(e.callback)}),o}function M(e,t,n){var r=u(t);return e.filter(function(e){var t=e.node===r&&(!n||e.callback===n);return!t})}function T(e,t){"close"!==e||t[0].parentNode||ie.off(t)}function A(e,t,n){function u(t,n,i,o){S(function(){var t=D(v,e,n);t.length?r(function(){G(t,function(t){t(e,i,o)}),T(i,e)}):T(i,e)}),t.progress(n,i,o)}function f(t){b(e,k),X(e,k),h(e,k),k.domOperation(),C.complete(!t)}var p,v,k=W(n);e=s(e),e&&(p=y(e),v=e.parent()),k=d(k);var C=new x,S=_();if(Z(k.addClass)&&(k.addClass=k.addClass.join(" ")),k.addClass&&!ee(k.addClass)&&(k.addClass=null),Z(k.removeClass)&&(k.removeClass=k.removeClass.join(" ")),k.removeClass&&!ee(k.removeClass)&&(k.removeClass=null),k.from&&!K(k.from)&&(k.from=null),k.to&&!K(k.to)&&(k.to=null),!p)return f(),C;var M=[p.className,k.addClass,k.removeClass].join(" ");if(!q(M))return f(),C;var A=["enter","move","leave"].indexOf(t)>=0,I=m[0].hidden,L=!U||I||R.get(p),V=!L&&j.get(p)||{},z=!!V.state;if(L||z&&V.state==l||(L=!N(e,v,t)),L)return I&&u(C,t,"start"),f(),I&&u(C,t,"close"),C;A&&O(e);var H={structural:A,element:e,event:t,addClass:k.addClass,removeClass:k.removeClass,close:f,options:k,runner:C};if(z){var Y=o("skip",e,H,V);if(Y)return V.state===c?(f(),C):(g(e,V,H),V.runner);var B=o("cancel",e,H,V);if(B)if(V.state===c)V.runner.end();else{if(!V.structural)return g(e,V,H),V.runner;V.close()}else{var Q=o("join",e,H,V);if(Q){if(V.state!==c)return $(e,A?t:null,k),t=H.event=V.event,k=g(e,V,H),V.runner;E(e,H)}}}else E(e,H);var J=H.structural;if(J||(J="animate"===H.event&&Object.keys(H.options.to||{}).length>0||a(H)),!J)return f(),F(e),C;var te=(V.counter||0)+1;return H.counter=te,P(e,l,H),i.$$postDigest(function(){var n=j.get(p),r=!n;n=n||{};var i=e.parent()||[],o=i.length>0&&("animate"===n.event||n.structural||a(n));if(r||n.counter!==te||!o)return r&&(X(e,k),h(e,k)),(r||A&&n.event!==t)&&(k.domOperation(),C.end()),void(o||F(e));t=!n.structural&&a(n,!0)?"setClass":n.event,P(e,c);var s=w(e,t,n.options);C.setHost(s),u(C,t,"start",{}),s.done(function(n){f(!n);var r=j.get(p);r&&r.counter===te&&F(y(e)),u(C,t,"close",{})})}),C}function O(e){var t=y(e),n=t.querySelectorAll("["+De+"]");G(n,function(e){var t=parseInt(e.getAttribute(De)),n=j.get(e);if(n)switch(t){case c:n.runner.end();case l:j.remove(e)}})}function F(e){var t=y(e);t.removeAttribute(De),j.remove(t)}function I(e,t){return y(e)===y(t)}function N(e,t,n){var r,i=ne(m[0].body),o=I(e,i)||"HTML"===e[0].nodeName,a=I(e,p),s=!1,u=R.get(y(e)),l=ne.data(e[0],Me);for(l&&(t=l),t=y(t);t&&(a||(a=I(t,p)),t.nodeType===L);){var c=j.get(t)||{};if(!s){var f=R.get(t);if(f===!0&&u!==!1){u=!0;break}f===!1&&(u=!1),s=c.structural}if(te(r)||r===!0){var d=ne.data(t,Y);Q(d)&&(r=d)}if(s&&r===!1)break;if(o||(o=I(t,i)),o&&a)break;t=a||!(l=ne.data(t,Me))?t.parentNode:y(l)}var h=(!s||r)&&u!==!0;return h&&a&&o}function P(e,t,n){n=n||{},n.state=t;var r=y(e);r.setAttribute(De,t);var i=j.get(r),o=i?B(i,n):n;j.put(r,o)}var j=new v,R=new v,U=null,V=i.$watch(function(){return 0===k.totalPendingRequests},function(e){e&&(V(),i.$$postDigest(function(){i.$$postDigest(function(){null===U&&(U=!0)})}))}),z=Object.create(null),H=t.classNameFilter(),q=H?function(e){return H.test(e)}:function(){return!0},X=f(C),re=e.Node.prototype.contains||function(e){return this===e||!!(16&this.compareDocumentPosition(e))},ie={on:function(e,t,n){var r=u(t);z[e]=z[e]||[],z[e].push({node:r,callback:n}),ne(t).on("$destroy",function(){var i=j.get(r);i||ie.off(e,t,n)})},off:function(e,t,n){if(1!==arguments.length||ee(arguments[0])){var r=z[e];r&&(z[e]=1===arguments.length?null:M(r,t,n))}else{t=arguments[0];for(var i in z)z[i]=M(z[i],t)}},pin:function(e,t){n(J(e),"element","not an element"),n(J(t),"parentElement","not an element"),e.data(Me,t)},push:function(e,t,n,r){return n=n||{},n.domOperation=r,A(e,t,n)},enabled:function(e,t){var n=arguments.length;if(0===n)t=!!U;else{var r=J(e);if(r){var i=y(e);1===n?t=!R.get(i):R.put(i,!t)}else t=U=!!e}return t}};return ie}]}],Ae=["$animateProvider",function(e){function t(e,t){e.data(s,t)}function n(e){e.removeData(s)}function i(e){return e.data(s)}var o="ng-animate-ref",a=this.drivers=[],s="$$animationRunner";this.$get=["$$jqLite","$rootScope","$injector","$$AnimateRunner","$$HashMap","$$rAFScheduler",function(e,s,u,l,c,p){function m(e){function t(e){if(e.processed)return e;e.processed=!0;var n=e.domNode,r=n.parentNode;o.put(n,e);for(var a;r;){if(a=o.get(r)){a.processed||(a=t(a));break}r=r.parentNode}return(a||i).children.push(e),e}function n(e){var t,n=[],r=[];for(t=0;t=0,l=e.structural?b(a):[];if(l.length){var c=u?"to":"from";G(l,function(e){var t=e.getAttribute(o);n[t]=n[t]||{},n[t][c]={animationID:r,element:ne(e)}})}else t.push(e)});var r={},i={};return G(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],r=u.get(n),i=r(e);if(i)return i}}function C(){c.addClass(H),A&&e.addClass(c,A),O&&(e.removeClass(c,O),O=null)}function S(e,t){function n(e){var n=i(e);n&&n.setHost(t)}e.from&&e.to?(n(e.from.element),n(e.to.element)):n(e.element)}function _(){var e=i(c);!e||"leave"===f&&$.$$domOperationFired||e.end()}function E(t){c.off("$destroy",_),n(c),v(c,$),h(c,$),$.domOperation(),A&&e.removeClass(c,A),c.removeClass(H),M.complete(!t)}$=d($);var D=["enter","move","leave"].indexOf(f)>=0,M=new l({end:function(){E()},cancel:function(){E(!0)}});if(!a.length)return E(),M;t(c,M);var T=r(c.attr("class"),r($.addClass,$.removeClass)),A=$.tempClasses;A&&(T+=" "+A,$.tempClasses=null);var O;return D&&(O="ng-"+f+z,e.addClass(c,O)),g.push({element:c,classes:T,event:f,structural:D,options:$,beforeStart:C,close:E}),c.on("$destroy",_),g.length>1?M:(s.$$postDigest(function(){var e=[];G(g,function(t){i(t.element)?e.push(t):t.close()}),g.length=0;var t=w(e),n=[];G(t,function(e){n.push({domNode:y(e.from?e.from.element:e.element),fn:function(){e.beforeStart();var t,n=e.close,r=e.anchors?e.from.element||e.to.element:e.element;if(i(r)){var o=k(e);o&&(t=o.start)}if(t){var a=t();a.done(function(e){n(!e)}),S(e,a)}else n()}})}),p(m(n))}),M)}}]}],Oe=["$animate","$rootScope",function(e,t){return{restrict:"A",transclude:"element",terminal:!0,priority:600,link:function(t,n,r,i,o){var a,s;t.$watchCollection(r.ngAnimateSwap||r["for"],function(r){a&&e.leave(a),s&&(s.$destroy(),s=null),(r||0===r)&&(s=t.$new(),o(s,function(t){a=t,e.enter(t,null,n)}))})}}}];t.module("ngAnimate",[],function(){re=t.noop,W=t.copy,B=t.extend,ne=t.element,G=t.forEach,Z=t.isArray,ee=t.isString,K=t.isObject,te=t.isUndefined,Q=t.isDefined,X=t.isFunction,J=t.isElement}).directive("ngAnimateSwap",Oe).directive("ngAnimateChildren",ve).factory("$$rAFScheduler",ge).provider("$$animateQueue",Te).provider("$$animation",Ae).provider("$animateCss",Ce).provider("$$animateCssDriver",Se).provider("$$animateJs",_e).provider("$$animateJsDriver",Ee)}(window,window.angular)},{}],2:[function(e,t,n){e("./angular-animate"),t.exports="ngAnimate"},{"./angular-animate":1}],3:[function(e,t,n){!function(e,t){"use strict";function n(e){return null!=e&&""!==e&&"hasOwnProperty"!==e&&a.test("."+e)}function r(e,r){if(!n(r))throw o("badmember",'Dotted member path "@{0}" is invalid.',r);for(var i=r.split("."),a=0,s=i.length;a/g,">")}function m(e,t){var n=!1,r=i(e,e.push);return{start:function(e,i){e=u(e),!n&&D[e]&&(n=e),n||M[e]!==!0||(r("<"),r(e),a(i,function(n,i){var o=u(i),a="img"===e&&"src"===o||"background"===o;F[o]!==!0||T[o]===!0&&!t(n,a)||(r(" "),r(i),r('="'),r(p(n)),r('"'))}),r(">"))},end:function(e){e=u(e),n||M[e]!==!0||w[e]===!0||(r("")),e==n&&(n=!1)},chars:function(e){n||r(p(e))}}}function g(t){if(t.nodeType===e.Node.ELEMENT_NODE)for(var n=t.attributes,r=0,i=n.length;r"\u201d\u2019]/i,i=/^mailto:/i,o=t.$$minErr("linky"),a=t.isDefined,s=t.isFunction,u=t.isObject,l=t.isString;return function(t,c,f){function d(e){e&&$.push(r(e))}function h(e,t){var n,r=v(e);$.push("'),d(t),$.push("")}if(null==t||""===t)return t;if(!l(t))throw o("notstring","Expected string but received: {0}",t);for(var p,m,g,v=s(f)?f:u(f)?function(){return f}:function(){return{}},y=t,$=[];p=y.match(n);)m=p[0],p[2]||p[4]||(m=(p[3]?"http://":"mailto:")+m),g=p.index,d(y.substr(0,g)),h(m,p[0].replace(i,"")),y=y.substring(g+p[0].length);return d(y),e($.join(""))}}])}(window,window.angular)},{}],6:[function(e,t,n){e("./angular-sanitize"),t.exports="ngSanitize"},{"./angular-sanitize":5}],7:[function(e,t,n){angular.module("ui.sortable",[]).value("uiSortableConfig",{items:"> [ng-repeat],> [data-ng-repeat],> [x-ng-repeat]"}).directive("uiSortable",["uiSortableConfig","$timeout","$log",function(e,t,n){return{require:"?ngModel",scope:{ngModel:"=",uiSortable:"="},link:function(r,i,o,a){function s(e,t){var n="function"==typeof e,r="function"==typeof t;return n&&r?function(){e.apply(this,arguments),t.apply(this,arguments)}:r?t:e}function u(e){var t=e.data("ui-sortable");return t&&"object"==typeof t&&"ui-sortable"===t.widgetFullName?t:null}function l(t,n){return S[t]?("stop"===t&&(n=s(n,function(){r.$apply()}),n=s(n,v)),n=s(S[t],n)):_[t]&&(n=_[t](n)),n||"items"!==t&&"ui-model-items"!==t||(n=e.items),n}function c(e,t,n){function r(e,t){t in k||(k[t]=null)}angular.forEach(S,r);var i=null;if(t){var o;angular.forEach(t,function(t,n){if(!(e&&n in e)){if(n in C)return void("ui-floating"===n?k[n]="auto":k[n]=l(n,void 0));o||(o=angular.element.ui.sortable().options);var r=o[n];r=l(n,r),i||(i={}),i[n]=r,k[n]=r}})}return angular.forEach(e,function(e,t){return t in C?("ui-floating"!==t||e!==!1&&e!==!0||!n||(n.floating=e),void(k[t]=l(t,e))):(e=l(t,e),i||(i={}),i[t]=e,void(k[t]=e))}),i}function f(e){var t=e.sortable("option","placeholder");if(t&&t.element&&"function"==typeof t.element){var n=t.element();return n=angular.element(n)}return null}function d(e,t){var n=k["ui-model-items"].replace(/[^,]*>/g,""),r=e.find('[class="'+t.attr("class")+'"]:not('+n+")");return r}function h(e,t){var n=e.sortable("option","helper");return"clone"===n||"function"==typeof n&&t.item.sortable.isCustomHelperUsed()}function p(e,t,n){var r=null;return h(e,t)&&"parent"===e.sortable("option","appendTo")&&(r=n.last()),r}function m(e){return/left|right/.test(e.css("float"))||/inline|table-cell/.test(e.css("display"))}function g(e,t){for(var n=null,r=0;r=0&&(t-1 in e||e instanceof Array)||"function"==typeof e.item)}function r(e,t,i){var o,a;if(e)if(C(e))for(o in e)"prototype"==o||"length"==o||"name"==o||e.hasOwnProperty&&!e.hasOwnProperty(o)||t.call(i,e[o],o,e);else if(Zr(e)||n(e)){var s="object"!=typeof e;for(o=0,a=e.length;o=0&&e.splice(n,1),n}function R(e,t){function n(e,t){var n,r=t.$$hashKey;if(Zr(e))for(var o=0,a=e.length;o2?z(arguments,2):[];return!C(t)||t instanceof RegExp?t:n.length?function(){return arguments.length?t.apply(e,V(n,arguments,0)):t.apply(e,n)}:function(){return arguments.length?t.apply(e,arguments):t.call(e)}}function Y(t,n){var r=n;return"string"==typeof t&&"$"===t.charAt(0)&&"$"===t.charAt(1)?r=void 0:_(n)?r="$WINDOW":n&&e.document===n?r="$DOCUMENT":E(n)&&(r="$SCOPE"),r}function q(e,t){if(!v(e))return x(t)||(t=t?2:null),JSON.stringify(e,Y,t)}function W(e){return w(e)?JSON.parse(e):e}function B(e,t){e=e.replace(ti,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function G(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function Z(e,t,n){n=n?-1:1;var r=e.getTimezoneOffset(),i=B(t,r);return G(e,n*(i-r))}function Q(e){e=jr(e).clone();try{e.empty()}catch(t){}var n=jr("
    ").append(e).html();try{return e[0].nodeType===si?Fr(n):n.match(/^(<[^>]+>)/)[1].replace(/^<([\w\-]+)/,function(e,t){return"<"+Fr(t)})}catch(t){return Fr(n)}}function J(e){try{return decodeURIComponent(e)}catch(t){}}function X(e){var t={};return r((e||"").split("&"),function(e){var n,r,i;e&&(r=e=e.replace(/\+/g,"%20"),n=e.indexOf("="),n!==-1&&(r=e.substring(0,n),i=e.substring(n+1)),r=J(r),y(r)&&(i=!y(i)||J(i),Or.call(t,r)?Zr(t[r])?t[r].push(i):t[r]=[t[r],i]:t[r]=i))}),t}function K(e){var t=[];return r(e,function(e,n){Zr(e)?r(e,function(e){t.push(te(n,!0)+(e===!0?"":"="+te(e,!0)))}):t.push(te(n,!0)+(e===!0?"":"="+te(e,!0)))}),t.length?t.join("&"):""}function ee(e){return te(e,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function te(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 ne(e,t){var n,r,i=ni.length;for(r=0;r/,">"))}n=n||[],n.unshift(["$provide",function(e){e.value("$rootElement",t)}]),i.debugInfoEnabled&&n.push(["$compileProvider",function(e){e.debugInfoEnabled(!0)}]),n.unshift("ng");var o=rt(n,i.strictDi);return o.invoke(["$rootScope","$rootElement","$compile","$injector",function(e,t,n,r){e.$apply(function(){t.data("$injector",r),n(t)(e)})}]),o},s=/^NG_ENABLE_DEBUG_INFO!/,u=/^NG_DEFER_BOOTSTRAP!/;return e&&s.test(e.name)&&(i.debugInfoEnabled=!0,e.name=e.name.replace(s,"")),e&&!u.test(e.name)?a():(e.name=e.name.replace(u,""),Br.resumeBootstrap=function(e){return r(e,function(e){n.push(e)}),a()},void(C(Br.resumeDeferredBootstrap)&&Br.resumeDeferredBootstrap()))}function oe(){e.name="NG_ENABLE_DEBUG_INFO!"+e.name,e.location.reload()}function ae(e){var t=Br.element(e).injector();if(!t)throw Wr("test","no injector found for element argument to getTestability");return t.get("$$testability")}function se(e,t){return t=t||"_",e.replace(ri,function(e,n){return(n?t:"")+e.toLowerCase()})}function ue(){var t;if(!ii){var n=ei();Rr=v(n)?e.jQuery:n?e[n]:void 0,Rr&&Rr.fn.on?(jr=Rr,l(Rr.fn,{scope:_i.scope,isolateScope:_i.isolateScope,controller:_i.controller,injector:_i.injector,inheritedData:_i.inheritedData}),t=Rr.cleanData,Rr.cleanData=function(e){for(var n,r,i=0;null!=(r=e[i]);i++)n=Rr._data(r,"events"),n&&n.$destroy&&Rr(r).triggerHandler("$destroy");t(e)}):jr=Me,Br.element=jr,ii=!0}}function le(e,t,n){if(!e)throw Wr("areq","Argument '{0}' is {1}",t||"?",n||"required");return e}function ce(e,t,n){return n&&Zr(e)&&(e=e[e.length-1]),le(C(e),t,"not a function, got "+(e&&"object"==typeof e?e.constructor.name||"Object":typeof e)),e}function fe(e,t){if("hasOwnProperty"===e)throw Wr("badname","hasOwnProperty is not a valid {0} name",t)}function de(e,t,n){if(!t)return e;for(var r,i=t.split("."),o=e,a=i.length,s=0;s=0)return"...";t.push(n)}return n})}function ye(e){return"function"==typeof e?e.toString().replace(/ \{[\s\S]*$/,""):v(e)?"undefined":"string"!=typeof e?ve(e):e}function $e(n){l(n,{bootstrap:ie,copy:R,extend:l,merge:c,equals:U,element:jr,forEach:r,injector:rt,noop:h,bind:H,toJson:q,fromJson:W,identity:p,isUndefined:v,isDefined:y,isString:w,isFunction:C,isObject:$,isNumber:x,isElement:N,isArray:Zr,version:fi,isDate:k,lowercase:Fr,uppercase:Ir,callbacks:{$$counter:0},getTestability:ae,$$minErr:t,$$csp:Kr,reloadWithDebugInfo:oe}),(Ur=me(e))("ng",["ngLocale"],["$provide",function(e){e.provider({$$sanitizeUri:Sn}),e.provider("$compile",pt).directive({a:No,input:ea,textarea:ea,form:Uo,script:Za,select:Xa,style:es,option:Ka,ngBind:ra,ngBindHtml:oa,ngBindTemplate:ia,ngClass:sa,ngClassEven:la,ngClassOdd:ua,ngCloak:ca,ngController:fa,ngForm:Vo,ngHide:za,ngIf:pa,ngInclude:ma,ngInit:va,ngNonBindable:Fa,ngPluralize:La,ngRepeat:ja,ngShow:Va,ngStyle:Ha,ngSwitch:Ya,ngSwitchWhen:qa,ngSwitchDefault:Wa,ngOptions:Pa,ngTransclude:Ga,ngModel:Ta,ngList:ya,ngChange:aa,pattern:ns,ngPattern:ns,required:ts,ngRequired:ts,minlength:is,ngMinlength:is,maxlength:rs,ngMaxlength:rs,ngValue:na,ngModelOptions:Oa}).directive({ngInclude:ga}).directive(Po).directive(da),e.provider({$anchorScroll:it,$animate:zi,$animateCss:qi,$$animateJs:Ui,$$animateQueue:Vi,$$AnimateRunner:Yi,$$animateAsyncRun:Hi,$browser:ct,$cacheFactory:ft,$controller:bt,$document:wt,$exceptionHandler:xt,$filter:Rn,$$forceReflow:Ji,$interpolate:Pt,$interval:Lt,$http:Ot,$httpParamSerializer:Ct,$httpParamSerializerJQLike:St,$httpBackend:It,$xhrFactory:Ft,$jsonpCallbacks:ao,$location:Xt,$log:Kt,$parse:$n,$rootScope:Cn,$q:bn,$$q:wn,$sce:Mn,$sceDelegate:Dn,$sniffer:Tn,$templateCache:dt,$templateRequest:An,$$testability:On,$timeout:Fn,$window:Pn,$$rAF:kn,$$jqLite:Qe,$$HashMap:Ti,$$cookieReader:jn})}])}function be(){return++hi}function we(e){return e.replace(gi,function(e,t,n,r){return r?n.toUpperCase():n}).replace(vi,"Moz$1")}function xe(e){return!wi.test(e)}function ke(e){var t=e.nodeType;return t===oi||!t||t===li}function Ce(e){for(var t in di[e.ng339])return!0;return!1}function Se(e){for(var t=0,n=e.length;t")+o[2],a=o[0];a--;)n=n.lastChild;u=V(u,n.childNodes),n=s.firstChild,n.textContent=""}return s.textContent="",s.innerHTML="",r(u,function(e){s.appendChild(e)}),s}function Ee(t,n){n=n||e.document;var r;return(r=bi.exec(t))?[n.createElement(r[1])]:(r=_e(t,n))?r.childNodes:[]}function De(e,t){var n=e.parentNode;n&&n.replaceChild(t,e),t.appendChild(e)}function Me(e){if(e instanceof Me)return e;var t;if(w(e)&&(e=Jr(e),t=!0),!(this instanceof Me)){if(t&&"<"!=e.charAt(0))throw $i("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new Me(e)}t?Re(this,Ee(e)):Re(this,e)}function Te(e){return e.cloneNode(!0)}function Ae(e,t){if(t||Fe(e),e.querySelectorAll)for(var n=e.querySelectorAll("*"),r=0,i=n.length;r0||(mi(e,t,s),delete a[t])};r(t.split(" "),function(e){u(e),yi[e]&&u(yi[e])})}else for(t in a)"$destroy"!==t&&mi(e,t,s),delete a[t]}function Fe(e,t){var n=e.ng339,r=n&&di[n];if(r){if(t)return void delete r.data[t];r.handle&&(r.events.$destroy&&r.handle({},"$destroy"),Oe(e)),delete di[n],e.ng339=void 0}}function Ie(e,t){var n=e.ng339,r=n&&di[n];return t&&!r&&(e.ng339=n=be(),r=di[n]={events:{},data:{},handle:void 0}),r}function Ne(e,t,n){if(ke(e)){var r=y(n),i=!r&&t&&!$(t),o=!t,a=Ie(e,!i),s=a&&a.data;if(r)s[t]=n;else{if(o)return s;if(i)return s&&s[t];l(s,t)}}}function Pe(e,t){return!!e.getAttribute&&(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+t+" ")>-1}function Le(e,t){t&&e.setAttribute&&r(t.split(" "),function(t){e.setAttribute("class",Jr((" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").replace(" "+Jr(t)+" "," ")))})}function je(e,t){if(t&&e.setAttribute){var n=(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ");r(t.split(" "),function(e){e=Jr(e),n.indexOf(" "+e+" ")===-1&&(n+=e+" ")}),e.setAttribute("class",Jr(n))}}function Re(e,t){if(t)if(t.nodeType)e[e.length++]=t;else{var n=t.length;if("number"==typeof n&&t.window!==t){if(n)for(var r=0;r1&&(i=ge(i));for(var u=0;uc&&this.remove(h.key),t}},get:function(e){if(c";var r=we.firstChild.attributes,i=r[0];r.removeNamedItem(i.name),i.value=n,e.attributes.setNamedItem(i)}function P(e,t){try{e.addClass(t)}catch(n){}}function R(t,n,r,i,o){t instanceof jr||(t=jr(t));for(var a=/\S+/,s=0,u=t.length;s").append(t).html())):n?_i.clone.call(t):t,a)for(var l in a)u.data("$"+l+"Controller",a[l].instance);return R.$$addScopeInfo(u,e),n&&n(u,e),c&&c(e,u,u,i),u}}function V(e){var t=e&&e[0];return t&&"foreignobject"!==L(t)&&Yr.call(t).match(/SVG/)?"svg":"html"}function Y(e,t,n,r,i,o){function a(e,n,r,i){var o,a,s,u,l,c,f,d,m;if(h){var g=n.length;for(m=new Array(g),l=0;l0)}else r.push(e);return jr(r)}function Z(e,t,n){return function(r,i,o,a,s){return i=G(i[0],t,n),e(r,i,o,a,s)}}function J(e,t,n,r,i,o){var a;return e?R(t,n,r,i,o):function(){return a||(a=R(t,n,r,i,o),t=n=o=null),a.apply(this,arguments)}}function X(e,t,n,o,a,s,u,c,f){function d(e,t,n,r){e&&(n&&(e=Z(e,n,r)),e.require=p.require,e.directiveName=m,(S===p||p.$$isolateScope)&&(e=ge(e,{isolateScope:!0})),u.push(e)),t&&(n&&(t=Z(t,n,r)),t.require=p.require,t.directiveName=m,(S===p||p.$$isolateScope)&&(t=ge(t,{isolateScope:!0})),c.push(t))}function h(e,o,a,s,f){function d(e,t,n,r){var i;if(E(e)||(r=n,n=t,t=e,e=void 0),A&&(i=b),n||(n=A?D.parent():D),!r)return f(e,t,i,n,j);var o=f.$$slots[r];if(o)return o(e,t,i,n,j);if(v(o))throw Wi("noslot",'No parent directive that requires a transclusion with slot name "{0}". Element: {1}',r,Q(D))}var h,p,m,g,y,b,w,D,M,T;t===a?(M=n,D=n.$$element):(D=jr(a),M=new I(D,n)),y=o,S?g=o.$new(!0):x&&(y=o.$parent),f&&(w=d,w.$$boundTransclude=f,w.isSlotFilled=function(e){return!!f.$$slots[e]}),k&&(b=ee(D,M,w,k,g,o,S)),S&&(R.$$addScopeInfo(D,g,!0,!(_&&(_===S||_===S.$$originalDirective))),R.$$addScopeClass(D,!0),g.$$isolateBindings=S.$$isolateBindings,T=ye(o,M,g,g.$$isolateBindings,S),T.removeWatches&&g.$on("$destroy",T.removeWatches));for(var O in b){var F=k[O],N=b[O],P=F.$$bindings.bindToController;N.identifier&&P?N.bindingInfo=ye(y,M,N.instance,P,F):N.bindingInfo={};var L=N();L!==N.instance&&(N.instance=L,D.data("$"+F.name+"Controller",L),N.bindingInfo.removeWatches&&N.bindingInfo.removeWatches(),N.bindingInfo=ye(y,M,N.instance,P,F))}for(r(k,function(e,t){var n=e.require;e.bindToController&&!Zr(n)&&$(n)&&l(b[t].instance,K(t,n,D,b))}),r(b,function(e){var t=e.instance;if(C(t.$onChanges))try{t.$onChanges(e.bindingInfo.initialChanges)}catch(n){i(n)}if(C(t.$onInit))try{t.$onInit()}catch(n){i(n)}C(t.$doCheck)&&(y.$watch(function(){t.$doCheck()}),t.$doCheck()),C(t.$onDestroy)&&y.$on("$destroy",function(){t.$onDestroy()})}),h=0,p=u.length;h=0;h--)m=c[h],ve(m,m.isolateScope?g:o,D,M,m.require&&K(m.directiveName,m.require,D,b),w);r(b,function(e){var t=e.instance;C(t.$postLink)&&t.$postLink()})}f=f||{};for(var p,m,g,y,b,w=-Number.MAX_VALUE,x=f.newScopeDirective,k=f.controllerDirectives,S=f.newIsolateScopeDirective,_=f.templateDirective,D=f.nonTlbTranscludeDirective,M=!1,T=!1,A=f.hasElementTranscludeDirective,O=n.$$element=jr(t),F=s,N=o,P=!1,j=!1,U=0,V=e.length;Up.priority)break;if((b=p.scope)&&(p.templateUrl||($(b)?(ue("new/isolated scope",S||x,p,O),S=p):ue("new/isolated scope",S,p,O)),x=x||p),m=p.name,!P&&(p.replace&&(p.templateUrl||p.template)||p.transclude&&!p.$$tlb)){for(var B,X=U+1;B=e[X++];)if(B.transclude&&!B.$$tlb||B.replace&&(B.templateUrl||B.template)){j=!0;break}P=!0}if(!p.templateUrl&&p.controller&&(b=p.controller,k=k||pe(),ue("'"+m+"' controller",k[m],p,O),k[m]=p),b=p.transclude)if(M=!0,p.$$tlb||(ue("transclusion",D,p,O),D=p),"element"==b)A=!0,w=p.priority,g=O,O=n.$$element=jr(R.$$createComment(m,n[m])),t=O[0],me(a,z(g),t),g[0].$$parentNode=g[0].parentNode,N=J(j,g,o,w,F&&F.name,{nonTlbTranscludeDirective:D});else{var ne=pe();if(g=jr(Te(t)).contents(),$(b)){g=[];var re=pe(),ae=pe();r(b,function(e,t){var n="?"===e.charAt(0);e=n?e.substring(1):e,re[e]=t,ne[t]=null,ae[t]=n}),r(O.contents(),function(e){var t=re[gt(L(e))];t?(ae[t]=!0,ne[t]=ne[t]||[],ne[t].push(e)):g.push(e)}),r(ae,function(e,t){if(!e)throw Wi("reqslot","Required transclusion slot `{0}` was not filled.",t)});for(var se in ne)ne[se]&&(ne[se]=J(j,ne[se],o))}O.empty(),N=J(j,g,o,void 0,void 0,{needsNewScope:p.$$isolateScope||p.$$newScope}),N.$$slots=ne}if(p.template)if(T=!0,ue("template",_,p,O),_=p,b=C(p.template)?p.template(O,n):p.template,b=_e(b),p.replace){if(F=p,g=xe(b)?[]:yt(fe(p.templateNamespace,Jr(b))),t=g[0],1!=g.length||t.nodeType!==oi)throw Wi("tplrt","Template for directive '{0}' must have exactly one root element. {1}",m,"");me(a,O,t);var le={$attr:{}},ce=W(t,[],le),de=e.splice(U+1,e.length-(U+1));(S||x)&&te(ce,S,x),e=e.concat(ce).concat(de),ie(n,le),V=e.length}else O.html(b);if(p.templateUrl)T=!0,ue("template",_,p,O),_=p,p.replace&&(F=p),h=oe(e.splice(U,e.length-U),O,n,a,M&&N,u,c,{controllerDirectives:k,newScopeDirective:x!==p&&x,newIsolateScopeDirective:S,templateDirective:_,nonTlbTranscludeDirective:D}),V=e.length;else if(p.compile)try{y=p.compile(O,n,N);var he=p.$$originalDirective||p;C(y)?d(null,H(he,y),Y,q):y&&d(H(he,y.pre),H(he,y.post),Y,q)}catch($e){i($e,Q(O))}p.terminal&&(h.terminal=!0,w=Math.max(w,p.priority))}return h.scope=x&&x.scope===!0,h.transcludeOnThisElement=M,h.templateOnThisElement=T,h.transclude=N,f.hasElementTranscludeDirective=A,h}function K(e,t,n,i){var o;if(w(t)){var a=t.match(k),s=t.substring(a[0].length),u=a[1]||a[3],l="?"===a[2];if("^^"===u?n=n.parent():(o=i&&i[s],o=o&&o.instance),!o){var c="$"+s+"Controller";o=u?n.inheritedData(c):n.data(c)}if(!o&&!l)throw Wi("ctreq","Controller '{0}', required by directive '{1}', can't be found!",s,e)}else if(Zr(t)){o=[];for(var f=0,d=t.length;fp.priority)&&p.restrict.indexOf(r)!=-1){if(u&&(p=d(p,{$$start:u,$$end:l})),!p.$$bindings){var b=p.$$bindings=a(p,p.name);$(b.isolateScope)&&(p.$$isolateBindings=b.isolateScope)}e.push(p),h=p}}catch(w){i(w)}return h}function re(e){if(c.hasOwnProperty(e))for(var n,r=t.get(e+f),i=0,o=r.length;i"+n+"",r.childNodes[0].childNodes;default:return n}}function de(e,t){if("srcdoc"==t)return _.HTML;var n=L(e);return"xlinkHref"==t||"form"==n&&"action"==t||"img"!=n&&("src"==t||"ngSrc"==t)?_.RESOURCE_URL:void 0}function he(e,t,r,i,o){var a=de(e,i);o=x[i]||o;var s=n(r,!0,a,o);if(s){if("multiple"===i&&"select"===L(e))throw Wi("selmulti","Binding to the 'multiple' attribute is not supported. Element: {0}",Q(e));t.push({priority:100,compile:function(){return{pre:function(e,t,u){var l=u.$$observers||(u.$$observers=pe());if(S.test(i))throw Wi("nodomevents","Interpolations for HTML DOM event attributes are disallowed. Please use the ng- versions (such as ng-click instead of onclick) instead.");var c=u[i];c!==r&&(s=c&&n(c,!0,a,o),r=c),s&&(u[i]=s(e),(l[i]||(l[i]=[])).$$inter=!0,(u.$$observers&&u.$$observers[i].$$scope||e).$watch(s,function(e,t){"class"===i&&e!=t?u.$updateClass(e,t):u.$set(i,e)}))}}}})}}function me(t,n,r){var i,o,a=n[0],s=n.length,u=a.parentNode;if(t)for(i=0,o=t.length;i0&&T.addClass(this.$$element,e)},$removeClass:function(e){e&&e.length>0&&T.removeClass(this.$$element,e)},$updateClass:function(e,t){var n=vt(e,t);n&&n.length&&T.addClass(this.$$element,n);var r=vt(t,e);r&&r.length&&T.removeClass(this.$$element,r)},$set:function(e,t,n,o){var a,s=this.$$element[0],u=qe(s,e),l=We(e),c=e;if(u?(this.$$element.prop(e,t),o=u):l&&(this[l]=t,c=l),this[e]=t,o?this.$attr[e]=o:(o=this.$attr[e],o||(this.$attr[e]=o=se(e,"-"))),a=L(this.$$element),"a"===a&&("href"===e||"xlinkHref"===e)||"img"===a&&"src"===e)this[e]=t=O(t,"src"===e);else if("img"===a&&"srcset"===e&&y(t)){for(var f="",d=Jr(t),h=/(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/,p=/\s/.test(d)?h:/(,)/,m=d.split(p),g=Math.floor(m.length/2),$=0;$0?" ":"")+a}return n}function yt(e){e=jr(e);var t=e.length;if(t<=1)return e;for(;t--;){var n=e[t];n.nodeType===ui&&zr.call(e,t,1)}return e}function $t(e,t){if(t&&w(t))return t;if(w(e)){var n=Qi.exec(e);if(n)return n[3]}}function bt(){var e={},n=!1;this.has=function(t){return e.hasOwnProperty(t)},this.register=function(t,n){fe(t,"controller"),$(t)?l(e,t):e[t]=n},this.allowGlobals=function(){n=!0},this.$get=["$injector","$window",function(r,i){function o(e,n,r,i){if(!e||!$(e.$scope))throw t("$controller")("noscp","Cannot export controller '{0}' as '{1}'! No $scope object provided via `locals`.",i,n);e.$scope[n]=r}return function(t,a,s,u){var c,f,d,h;if(s=s===!0,u&&w(u)&&(h=u),w(t)){if(f=t.match(Qi),!f)throw Zi("ctrlfmt","Badly formed controller string '{0}'. Must match `__name__ as __id__` or `__name__`.",t);d=f[1],h=h||f[3],t=e.hasOwnProperty(d)?e[d]:de(a.$scope,d,!0)||(n?de(i,d,!0):void 0),ce(t,d,!0)}if(s){var p=(Zr(t)?t[t.length-1]:t).prototype;c=Object.create(p||null),h&&o(a,h,c,d||t.name);var m;return m=l(function(){var e=r.invoke(t,c,a,d);return e!==c&&($(e)||C(e))&&(c=e,h&&o(a,h,c,d||t.name)),c},{instance:c,identifier:h})}return c=r.instantiate(t,a,d),h&&o(a,h,c,d||t.name),c}}]}function wt(){this.$get=["$window",function(e){return jr(e.document)}]}function xt(){this.$get=["$log",function(e){return function(t,n){e.error.apply(e,arguments)}}]}function kt(e){return $(e)?k(e)?e.toISOString():q(e):e}function Ct(){this.$get=function(){return function(e){if(!e)return"";var t=[];return i(e,function(e,n){null===e||v(e)||(Zr(e)?r(e,function(e){t.push(te(n)+"="+te(kt(e)))}):t.push(te(n)+"="+te(kt(e))))}),t.join("&")}}}function St(){this.$get=function(){return function(e){function t(e,o,a){null===e||v(e)||(Zr(e)?r(e,function(e,n){t(e,o+"["+($(e)?n:"")+"]")}):$(e)&&!k(e)?i(e,function(e,n){t(e,o+(a?"":"[")+n+(a?"":"]"))}):n.push(te(o)+"="+te(kt(e))))}if(!e)return"";var n=[];return t(e,"",!0),n.join("&")}}}function _t(e,t){if(w(e)){var n=e.replace(no,"").trim();if(n){var r=t("Content-Type");(r&&0===r.indexOf(Xi)||Et(n))&&(e=W(n))}}return e}function Et(e){var t=e.match(eo);return t&&to[t[0]].test(e)}function Dt(e){function t(e,t){e&&(i[e]=i[e]?i[e]+", "+t:t)}var n,i=pe();return w(e)?r(e.split("\n"),function(e){n=e.indexOf(":"),t(Fr(Jr(e.substr(0,n))),Jr(e.substr(n+1)))}):$(e)&&r(e,function(e,n){t(Fr(n),Jr(e))}),i}function Mt(e){var t;return function(n){if(t||(t=Dt(e)),n){var r=t[Fr(n)];return void 0===r&&(r=null),r}return t}}function Tt(e,t,n,i){return C(i)?i(e,t,n):(r(i,function(r){e=r(e,t,n)}),e)}function At(e){return 200<=e&&e<300}function Ot(){var e=this.defaults={transformResponse:[_t],transformRequest:[function(e){return!$(e)||D(e)||T(e)||M(e)?e:q(e)}],headers:{common:{Accept:"application/json, text/plain, */*"},post:ge(Ki),put:ge(Ki),patch:ge(Ki)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",paramSerializer:"$httpParamSerializer"},n=!1;this.useApplyAsync=function(e){return y(e)?(n=!!e,this):n};var i=!0;this.useLegacyPromiseExtensions=function(e){return y(e)?(i=!!e,this):i};var o=this.interceptors=[];this.$get=["$httpBackend","$$cookieReader","$cacheFactory","$rootScope","$q","$injector",function(a,s,u,c,f,d){function h(n){function o(e,t){for(var n=0,r=t.length;n=-1?n:0,(At(n)?w.resolve:w.reject)({data:e,status:n,headers:Mt(r),config:t,statusText:i})}function d(e){l(e.data,e.status,ge(e.headers()),e.statusText)}function p(){var e=h.pendingRequests.indexOf(t);e!==-1&&h.pendingRequests.splice(e,1)}var m,g,w=f.defer(),k=w.promise,C=t.headers,S=b(t.url,t.paramSerializer(t.params));if(h.pendingRequests.push(t),k.then(p,p),!t.cache&&!e.cache||t.cache===!1||"GET"!==t.method&&"JSONP"!==t.method||(m=$(t.cache)?t.cache:$(e.cache)?e.cache:x),m&&(g=m.get(S),y(g)?O(g)?g.then(d,d):Zr(g)?l(g[1],g[0],ge(g[2]),g[3]):l(g,200,{},"OK"):m.put(S,k)),v(g)){var _=Nn(t.url)?s()[t.xsrfCookieName||e.xsrfCookieName]:void 0;_&&(C[t.xsrfHeaderName||e.xsrfHeaderName]=_),a(t.method,S,i,u,C,t.timeout,t.withCredentials,t.responseType,o(t.eventHandlers),o(t.uploadEventHandlers))}return k}function b(e,t){return t.length>0&&(e+=(e.indexOf("?")==-1?"?":"&")+t),e}var x=u("$http");e.paramSerializer=w(e.paramSerializer)?d.get(e.paramSerializer):e.paramSerializer;var k=[];return r(o,function(e){k.unshift(w(e)?d.get(e):d.invoke(e))}),h.pendingRequests=[],p("get","delete","head","jsonp"),m("post","put","patch"),h.defaults=e,h}]}function Ft(){this.$get=function(){return function(){return new e.XMLHttpRequest}}}function It(){this.$get=["$browser","$jsonpCallbacks","$document","$xhrFactory",function(e,t,n,r){return Nt(e,r,e.defer,t,n[0])}]}function Nt(e,t,n,i,o){function a(e,t,n){e=e.replace("JSON_CALLBACK",t);var r=o.createElement("script"),a=null;return r.type="text/javascript",r.src=e,r.async=!0,a=function(e){mi(r,"load",a),mi(r,"error",a),o.body.removeChild(r),r=null;var s=-1,u="unknown";e&&("load"!==e.type||i.wasCalled(t)||(e={type:"error"}),u=e.type,s="error"===e.type?404:200),n&&n(s,u)},pi(r,"load",a),pi(r,"error",a),o.body.appendChild(r),a}return function(o,s,u,l,c,f,d,p,m,g){function $(){x&&x(),k&&k.abort()}function b(t,r,i,o,a){y(_)&&n.cancel(_),x=k=null,t(r,i,o,a),e.$$completeOutstandingRequest(h)}if(e.$$incOutstandingRequestCount(),s=s||e.url(),"jsonp"===Fr(o))var w=i.createCallback(s),x=a(s,w,function(e,t){var n=200===e&&i.getResponse(w);b(l,e,n,"",t),i.removeCallback(w)});else{var k=t(o,s);k.open(o,s,!0),r(c,function(e,t){y(e)&&k.setRequestHeader(t,e)}),k.onload=function(){var e=k.statusText||"",t="response"in k?k.response:k.responseText,n=1223===k.status?204:k.status; -0===n&&(n=t?200:"file"==In(s).protocol?404:0),b(l,n,t,k.getAllResponseHeaders(),e)};var C=function(){b(l,-1,null,null,"")};if(k.onerror=C,k.onabort=C,r(m,function(e,t){k.addEventListener(t,e)}),r(g,function(e,t){k.upload.addEventListener(t,e)}),d&&(k.withCredentials=!0),p)try{k.responseType=p}catch(S){if("json"!==p)throw S}k.send(v(u)?null:u)}if(f>0)var _=n($,f);else O(f)&&f.then($)}}function Pt(){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=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 c(o,c,h,p){function g(e){try{return e=O(e),p&&!y(e)?e:s(e)}catch(t){r(oo.interr(o,t))}}if(!o.length||o.indexOf(e)===-1){var $;if(!c){var b=a(o);$=m(b),$.exp=o,$.expressions=[],$.$$watchDelegate=u}return $}p=!!p;for(var w,x,k,S=0,_=[],E=[],D=o.length,M=[],T=[];S1&&oo.throwNoconcat(o),!c||_.length){var A=function(e){for(var t=0,n=_.length;t4,d=f?z(arguments,4):[],h=t.setInterval,p=t.clearInterval,m=0,g=y(l)&&!l,v=(g?r:n).defer(),$=v.promise;return u=y(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)},o}]}function jt(e){for(var t=e.split("/"),n=t.length;n--;)t[n]=ee(t[n]);return t.join("/")}function Rt(e,t){var n=In(e);t.$$protocol=n.protocol,t.$$host=n.hostname,t.$$port=f(n.port)||uo[n.protocol]||null}function Ut(e,t){var n="/"!==e.charAt(0);n&&(e="/"+e);var r=In(e);t.$$path=decodeURIComponent(n&&"/"===r.pathname.charAt(0)?r.pathname.substring(1):r.pathname),t.$$search=X(r.search),t.$$hash=decodeURIComponent(r.hash),t.$$path&&"/"!=t.$$path.charAt(0)&&(t.$$path="/"+t.$$path)}function Vt(e,t){return 0===e.lastIndexOf(t,0)}function zt(e,t){if(Vt(t,e))return t.substr(e.length)}function Ht(e){var t=e.indexOf("#");return t==-1?e:e.substr(0,t)}function Yt(e){return e.replace(/(#.+)|#$/,"$1")}function qt(e){return e.substr(0,Ht(e).lastIndexOf("/")+1)}function Wt(e){return e.substring(0,e.indexOf("/",e.indexOf("//")+2))}function Bt(e,t,n){this.$$html5=!0,n=n||"",Rt(e,this),this.$$parse=function(e){var n=zt(t,e);if(!w(n))throw lo("ipthprfx",'Invalid url "{0}", missing path prefix "{1}".',e,t);Ut(n,this),this.$$path||(this.$$path="/"),this.$$compose()},this.$$compose=function(){var e=K(this.$$search),n=this.$$hash?"#"+ee(this.$$hash):"";this.$$url=jt(this.$$path)+(e?"?"+e:"")+n,this.$$absUrl=t+this.$$url.substr(1)},this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;var o,a,s;return y(o=zt(e,r))?(a=o,s=y(o=zt(n,o))?t+(zt("/",o)||o):e+a):y(o=zt(t,r))?s=t+o:t==r+"/"&&(s=t),s&&this.$$parse(s),!!s}}function Gt(e,t,n){Rt(e,this),this.$$parse=function(r){function i(e,t,n){var r,i=/^\/[A-Z]:(\/.*)/;return Vt(t,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);v(a)||"#"!==a.charAt(0)?this.$$html5?o=a:(o="",v(a)&&(e=r,this.replace())):(o=zt(n,a),v(o)&&(o=a)),Ut(o,this),this.$$path=i(this.$$path,o,e),this.$$compose()},this.$$compose=function(){var t=K(this.$$search),r=this.$$hash?"#"+ee(this.$$hash):"";this.$$url=jt(this.$$path)+(t?"?"+t:"")+r,this.$$absUrl=e+(this.$$url?n+this.$$url:"")},this.$$parseLinkUrl=function(t,n){return Ht(e)==Ht(t)&&(this.$$parse(t),!0)}}function Zt(e,t,n){this.$$html5=!0,Gt.apply(this,arguments),this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;var o,a;return e==Ht(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=K(this.$$search),r=this.$$hash?"#"+ee(this.$$hash):"";this.$$url=jt(this.$$path)+(t?"?"+t:"")+r,this.$$absUrl=e+n+this.$$url}}function Qt(e){return function(){return this[e]}}function Jt(e,t){return function(n){return v(n)?this[e]:(this[e]=t(n),this.$$compose(),this)}}function Xt(){var e="",t={enabled:!1,requireBase:!0,rewriteLinks:!0};this.hashPrefix=function(t){return y(t)?(e=t,this):e},this.html5Mode=function(e){return A(e)?(t.enabled=e,this):$(e)?(A(e.enabled)&&(t.enabled=e.enabled),A(e.requireBase)&&(t.requireBase=e.requireBase),A(e.rewriteLinks)&&(t.rewriteLinks=e.rewriteLinks),this):t},this.$get=["$rootScope","$browser","$sniffer","$rootElement","$window",function(n,r,i,o,a){function s(e,t,n){var i=l.url(),o=l.$$state;try{r.url(e,t,n),l.$$state=r.state()}catch(a){throw l.url(i),l.$$state=o,a}}function u(e,t){n.$broadcast("$locationChangeSuccess",l.absUrl(),e,l.$$state,t)}var l,c,f,d=r.baseHref(),h=r.url();if(t.enabled){if(!d&&t.requireBase)throw lo("nobase","$location in HTML5 mode requires a tag to be present!");f=Wt(h)+(d||"/"),c=i.history?Bt:Zt}else f=Ht(h),c=Gt;var p=qt(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=jr(e.target);"a"!==L(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");$(s)&&"[object SVGAnimatedString]"===s.toString()&&(s=In(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))}}),Yt(l.absUrl())!=Yt(h)&&r.url(l.absUrl(),!0);var g=!0;return r.onUrlChange(function(e,t){return v(zt(p,e))?void(a.location.href=e):(n.$evalAsync(function(){var r,i=l.absUrl(),o=l.$$state;e=Yt(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=Yt(r.url()),t=Yt(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 Kt(){var e=!0,t=this;this.debugEnabled=function(t){return y(t)?(e=t,this):e},this.$get=["$window",function(n){function i(e){return e instanceof Error&&(e.stack?e=e.message&&e.stack.indexOf(e.message)===-1?"Error: "+e.message+"\n"+e.stack:e.stack:e.sourceURL&&(e=e.message+"\n"+e.sourceURL+":"+e.line)),e}function o(e){var t=n.console||{},o=t[e]||t.log||h,a=!1;try{a=!!o.apply}catch(s){}return a?function(){var e=[];return r(arguments,function(t){e.push(i(t))}),o.apply(t,e)}:function(e,t){o(e,null==t?"":t)}}return{log:o("log"),info:o("info"),warn:o("warn"),error:o("error"),debug:function(){var n=o("debug");return function(){e&&n.apply(t,arguments)}}()}}]}function en(e,t){if("__defineGetter__"===e||"__defineSetter__"===e||"__lookupGetter__"===e||"__lookupSetter__"===e||"__proto__"===e)throw fo("isecfld","Attempting to access a disallowed field in Angular expressions! Expression: {0}",t);return e}function tn(e){return e+""}function nn(e,t){if(e){if(e.constructor===e)throw fo("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",t);if(e.window===e)throw fo("isecwindow","Referencing the Window in Angular expressions is disallowed! Expression: {0}",t);if(e.children&&(e.nodeName||e.prop&&e.attr&&e.find))throw fo("isecdom","Referencing DOM nodes in Angular expressions is disallowed! Expression: {0}",t);if(e===Object)throw fo("isecobj","Referencing Object in Angular expressions is disallowed! Expression: {0}",t)}return e}function rn(e,t){if(e){if(e.constructor===e)throw fo("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",t);if(e===ho||e===po||e===mo)throw fo("isecff","Referencing call, apply or bind in Angular expressions is disallowed! Expression: {0}",t)}}function on(e,t){if(e&&(e===(0).constructor||e===(!1).constructor||e==="".constructor||e==={}.constructor||e===[].constructor||e===Function.constructor))throw fo("isecaf","Assigning to a constructor is disallowed! Expression: {0}",t)}function an(e,t){return"undefined"!=typeof e?e:t}function sn(e,t){return"undefined"==typeof e?t:"undefined"==typeof t?e:e+t}function un(e,t){var n=e(t);return!n.$stateful}function ln(e,t){var n,i;switch(e.type){case $o.Program:n=!0,r(e.body,function(e){ln(e.expression,t),n=n&&e.expression.constant}),e.constant=n;break;case $o.Literal:e.constant=!0,e.toWatch=[];break;case $o.UnaryExpression:ln(e.argument,t),e.constant=e.argument.constant,e.toWatch=e.argument.toWatch;break;case $o.BinaryExpression:ln(e.left,t),ln(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.left.toWatch.concat(e.right.toWatch);break;case $o.LogicalExpression:ln(e.left,t),ln(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.constant?[]:[e];break;case $o.ConditionalExpression:ln(e.test,t),ln(e.alternate,t),ln(e.consequent,t),e.constant=e.test.constant&&e.alternate.constant&&e.consequent.constant,e.toWatch=e.constant?[]:[e];break;case $o.Identifier:e.constant=!1,e.toWatch=[e];break;case $o.MemberExpression:ln(e.object,t),e.computed&&ln(e.property,t),e.constant=e.object.constant&&(!e.computed||e.property.constant),e.toWatch=[e];break;case $o.CallExpression:n=!!e.filter&&un(t,e.callee.name),i=[],r(e.arguments,function(e){ln(e,t),n=n&&e.constant,e.constant||i.push.apply(i,e.toWatch)}),e.constant=n,e.toWatch=e.filter&&un(t,e.callee.name)?i:[e];break;case $o.AssignmentExpression:ln(e.left,t),ln(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=[e];break;case $o.ArrayExpression:n=!0,i=[],r(e.elements,function(e){ln(e,t),n=n&&e.constant,e.constant||i.push.apply(i,e.toWatch)}),e.constant=n,e.toWatch=i;break;case $o.ObjectExpression:n=!0,i=[],r(e.properties,function(e){ln(e.value,t),n=n&&e.value.constant&&!e.computed,e.value.constant||i.push.apply(i,e.value.toWatch)}),e.constant=n,e.toWatch=i;break;case $o.ThisExpression:e.constant=!1,e.toWatch=[];break;case $o.LocalsExpression:e.constant=!1,e.toWatch=[]}}function cn(e){if(1==e.length){var t=e[0].expression,n=t.toWatch;return 1!==n.length?n:n[0]!==t?n:void 0}}function fn(e){return e.type===$o.Identifier||e.type===$o.MemberExpression}function dn(e){if(1===e.body.length&&fn(e.body[0].expression))return{type:$o.AssignmentExpression,left:e.body[0].expression,right:{type:$o.NGValueParameter},operator:"="}}function hn(e){return 0===e.body.length||1===e.body.length&&(e.body[0].expression.type===$o.Literal||e.body[0].expression.type===$o.ArrayExpression||e.body[0].expression.type===$o.ObjectExpression)}function pn(e){return e.constant}function mn(e,t){this.astBuilder=e,this.$filter=t}function gn(e,t){this.astBuilder=e,this.$filter=t}function vn(e){return"constructor"==e}function yn(e){return C(e.valueOf)?e.valueOf():wo.call(e)}function $n(){var e,t,n=pe(),i=pe(),o={"true":!0,"false":!1,"null":null,undefined:void 0};this.addLiteral=function(e,t){o[e]=t},this.setIdentifierFns=function(n,r){return e=n,t=r,this},this.$get=["$filter",function(a){function s(e,t,r){var o,s,l;switch(r=r||b,typeof e){case"string":e=e.trim(),l=e;var g=r?i:n;if(o=g[l],!o){":"===e.charAt(0)&&":"===e.charAt(1)&&(s=!0,e=e.substring(2));var y=r?$:v,w=new yo(y),x=new bo(w,a,y);o=x.parse(e),o.constant?o.$$watchDelegate=p:s?o.$$watchDelegate=o.literal?d:f:o.inputs&&(o.$$watchDelegate=c),r&&(o=u(o)),g[l]=o}return m(o,t);case"function":return m(e,t);default:return m(h,t)}}function u(e){function t(t,n,r,i){var o=b;b=!0;try{return e(t,n,r,i)}finally{b=o}}if(!e)return e;t.$$watchDelegate=e.$$watchDelegate,t.assign=u(e.assign),t.constant=e.constant,t.literal=e.literal;for(var n=0;e.inputs&&n0&&s(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)}}),l(u.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 t(e){u||(u=!0,a.$$resolve(e))}function r(e){u||(u=!0,a.$$reject(e))}var i,a=this,u=!1;try{($(e)||C(e))&&(i=e&&e.then),C(i)?(this.promise.$$state.status=-1,i.call(e,t,r,o(this,this.notify))):(this.promise.$$state.value=e,this.promise.$$state.status=1,s(this.promise.$$state))}catch(l){r(l),n(l)}},reject:function(e){this.promise.$$state.status||this.$$reject(e)},$$reject:function(e){this.promise.$$state.value=e,this.promise.$$state.status=2,s(this.promise.$$state)},notify:function(t){var r=this.promise.$$state.pending;this.promise.$$state.status<=0&&r&&r.length&&e(function(){for(var e,i,o=0,a=r.length;o=0&&y(o,-1),s=null}},$watchGroup:function(e,t){function n(){u=!1,l?(l=!1,t(o,o,s)):t(o,i,s)}var i=new Array(e.length),o=new Array(e.length),a=[],s=this,u=!1,l=!0;if(!e.length){var c=!0;return s.$evalAsync(function(){c&&t(o,o,s)}),function(){c=!1}}return 1===e.length?this.$watch(e[0],function(e,n,r){o[0]=e,i[0]=n,t(o,e===n?o:i,r)}):(r(e,function(e,t){var r=s.$watch(e,function(e,r){o[t]=e,i[t]=r,u||(u=!0,s.$evalAsync(n))});a.push(r)}),function(){for(;a.length;)a.shift()()})},$watchCollection:function(e,t){function r(e){o=e;var t,r,i,s,u;if(!v(o)){if($(o))if(n(o)){a!==h&&(a=h,g=a.length=0,f++),t=o.length,g!==t&&(f++,a.length=g=t);for(var l=0;lt){f++;for(r in a)Or.call(o,r)||(g--,delete a[r])}}else a!==o&&(a=o,f++);return f}}function i(){if(m?(m=!1,t(o,o,u)):t(o,s,u),c)if($(o))if(n(o)){s=new Array(o.length);for(var e=0;e1,f=0,d=l(e,r),h=[],p={},m=!0,g=0;return this.$watch(d,i)},$digest:function(){var e,n,r,a,l,f,d,h,p,v,y,$,b=i,k=this,D=[];m("$digest"),c.$$checkUrlChange(),this===S&&null!==u&&(c.defer.cancel(u),x()),s=null;do{h=!1,v=k;for(var T=0;T<_.length;T++){try{$=_[T],$.scope.$eval($.expression,$.locals)}catch(A){t(A)}s=null}_.length=0;e:do{if(f=v.$$watchers)for(d=f.length;d--;)try{if(e=f[d])if(l=e.get,(n=l(v))===(r=e.last)||(e.eq?U(n,r):"number"==typeof n&&"number"==typeof r&&isNaN(n)&&isNaN(r))){if(e===s){h=!1;break e}}else h=!0,s=e,e.last=e.eq?R(n,null):n,a=e.fn,a(n,r===w?n:r,v),b<5&&(y=4-b,D[y]||(D[y]=[]),D[y].push({msg:C(e.exp)?"fn: "+(e.exp.name||e.exp.toString()):e.exp,newVal:n,oldVal:r}))}catch(A){t(A)}if(!(p=v.$$watchersCount&&v.$$childHead||v!==k&&v.$$nextSibling))for(;v!==k&&!(p=v.$$nextSibling);)v=v.$parent}while(v=p);if((h||_.length)&&!b--)throw g(),o("infdig","{0} $digest() iterations reached. Aborting!\nWatchers fired in the last 5 iterations: {1}",i,D)}while(h||_.length);for(g();M-1)throw xo("iwcard","Illegal sequence *** in string matcher. String: {0}",e);return e=Xr(e).replace("\\*\\*",".*").replace("\\*","[^:/.?&;]*"),new RegExp("^"+e+"$")}if(S(e))return new RegExp("^"+e.source+"$");throw xo("imatcher",'Matchers may only be "self", string patterns or RegExp objects')}function En(e){var t=[];return y(e)&&r(e,function(e){t.push(_n(e))}),t}function Dn(){this.SCE_CONTEXTS=ko;var e=["self"],t=[];this.resourceUrlWhitelist=function(t){return arguments.length&&(e=En(t)),e},this.resourceUrlBlacklist=function(e){return arguments.length&&(t=En(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=In(n.toString()),s=!1;for(i=0,o=e.length;i to the top of your HTML document. See http://docs.angularjs.org/api/ng.$sce for more information.");var i=ge(ko);i.isEnabled=function(){return e},i.trustAs=n.trustAs,i.getTrusted=n.getTrusted,i.valueOf=n.valueOf,e||(i.trustAs=i.getTrusted=function(e,t){return t},i.valueOf=p),i.parseAs=function(e,n){var r=t(n);return r.literal&&r.constant?r:t(n,function(t){return i.getTrusted(e,t)})};var o=i.parseAs,a=i.getTrusted,s=i.trustAs;return r(ko,function(e,t){var n=Fr(t);i[we("parse_as_"+n)]=function(t){return o(e,t)},i[we("get_trusted_"+n)]=function(t){return a(e,t)},i[we("trust_as_"+n)]=function(t){return s(e,t)}}),i}]}function Tn(){this.$get=["$window","$document",function(e,t){var n,r,i={},o=e.chrome&&e.chrome.app&&e.chrome.app.runtime,a=!o&&e.history&&e.history.pushState,s=f((/android (\d+)/.exec(Fr((e.navigator||{}).userAgent))||[])[1]),u=/Boxee/i.test((e.navigator||{}).userAgent),l=t[0]||{},c=/^(Moz|webkit|ms)(?=[A-Z])/,d=l.body&&l.body.style,h=!1,p=!1;if(d){for(var m in d)if(r=c.exec(m)){n=r[0],n=n[0].toUpperCase()+n.substr(1);break}n||(n="WebkitOpacity"in d&&"webkit"),h=!!("transition"in d||n+"Transition"in d),p=!!("animation"in d||n+"Animation"in d),!s||h&&p||(h=w(d.webkitTransition),p=w(d.webkitAnimation))}return{history:!(!a||s<4||u),hasEvent:function(e){if("input"===e&&Lr<=11)return!1;if(v(i[e])){var t=l.createElement("div");i[e]="on"+e in t}return i[e]},csp:Kr(),vendorPrefix:n,transitions:h,animations:p,android:s}}]}function An(){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 Co("tpload","Failed to load template: {0} (HTTP status: {1} {2})",a,e.status,e.statusText);return r.reject(e)}o.totalPendingRequests++,w(a)&&!v(t.get(a))||(a=i.getTrustedResourceUrl(a));var c=n.defaults&&n.defaults.transformResponse;return Zr(c)?c=c.filter(function(e){return e!==_t}):c===_t&&(c=null),n.get(a,l({cache:t,transformResponse:c},e))["finally"](function(){o.totalPendingRequests--}).then(function(e){return t.put(a,e.data),e.data},u)}return o.totalPendingRequests=0,o}]}function On(){this.$get=["$rootScope","$browser","$location",function(e,t,n){var i={};return i.findBindings=function(e,t,n){var i=e.getElementsByClassName("ng-binding"),o=[];return r(i,function(e){var i=Br.element(e).data("$binding");i&&r(i,function(r){if(n){var i=new RegExp("(^|\\s)"+Xr(t)+"(\\s|\\||$)");i.test(r)&&o.push(e)}else r.indexOf(t)!=-1&&o.push(e)})}),o},i.findModels=function(e,t,n){for(var r=["ng-","data-ng-","ng\\:"],i=0;i0&&(u=t(o.substring(0,s)),v(r[u])&&(r[u]=t(o.substring(s+1))));return r}}function jn(){this.$get=Ln}function Rn(e){function t(i,o){if($(i)){var a={};return r(i,function(e,n){a[n]=t(n,e)}),a}return e.factory(i+n,o)}var n="Filter";this.register=t,this.$get=["$injector",function(e){return function(t){return e.get(t+n)}}],t("currency",Yn),t("date",or),t("filter",Un), -t("json",ar),t("limitTo",sr),t("lowercase",Fo),t("number",qn),t("orderBy",lr),t("uppercase",Io)}function Un(){return function(e,r,i,o){if(!n(e)){if(null==e)return e;throw t("filter")("notarray","Expected array but received: {0}",e)}o=o||"$";var a,s,u=Hn(r);switch(u){case"function":a=r;break;case"boolean":case"null":case"number":case"string":s=!0;case"object":a=Vn(r,i,o,s);break;default:return e}return Array.prototype.filter.call(e,a)}}function Vn(e,t,n,r){var i,o=$(e)&&n in e;return t===!0?t=U:C(t)||(t=function(e,t){return!v(e)&&(null===e||null===t?e===t:!($(t)||$(e)&&!g(e))&&(e=Fr(""+e),t=Fr(""+t),e.indexOf(t)!==-1))}),i=function(i){return o&&!$(i)?zn(i,e[n],t,n,!1):zn(i,e,t,n,r)}}function zn(e,t,n,r,i,o){var a=Hn(e),s=Hn(t);if("string"===s&&"!"===t.charAt(0))return!zn(e,t.substring(1),n,r,i);if(Zr(e))return e.some(function(e){return zn(e,t,n,r,i)});switch(a){case"object":var u;if(i){for(u in e)if("$"!==u.charAt(0)&&zn(e[u],t,n,r,!0))return!0;return!o&&zn(e,t,n,r,!1)}if("object"===s){for(u in t){var l=t[u];if(!C(l)&&!v(l)){var c=u===r,f=c?e:e[u];if(!zn(f,l,n,r,c,c))return!1}}return!0}return n(e,t);case"function":return!1;default:return n(e,t)}}function Hn(e){return null===e?"null":typeof e}function Yn(e){var t=e.NUMBER_FORMATS;return function(e,n,r){return v(n)&&(n=t.CURRENCY_SYM),v(r)&&(r=t.PATTERNS[1].maxFrac),null==e?e:Gn(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:Gn(e,t.PATTERNS[0],t.GROUP_SEP,t.DECIMAL_SEP,n)}}function Wn(e){var t,n,r,i,o,a=0;for((n=e.indexOf(Do))>-1&&(e=e.replace(Do,"")),(r=e.search(/e/i))>0?(n<0&&(n=r),n+=+e.slice(r+1),e=e.substring(0,r)):n<0&&(n=e.length),r=0;e.charAt(r)==Mo;r++);if(r==(o=e.length))t=[0],n=1;else{for(o--;e.charAt(o)==Mo;)o--;for(n-=r,t=[],i=0;r<=o;r++,i++)t[i]=+e.charAt(r)}return n>Eo&&(t=t.splice(0,Eo-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=v(t)?Math.min(Math.max(n,o),r):+t;var a=t+e.i,s=i[a];if(a>0){i.splice(Math.max(e.i,a));for(var u=a;u=5)if(a-1<0){for(var c=0;c>a;c--)i.unshift(0),e.i++;i.unshift(1),e.i++}else i[a-1]++;for(;o0?h=c.splice(f,c.length):(h=c,c=[0]);var p=[];for(c.length>=t.lgSize&&p.unshift(c.splice(-t.lgSize,c.length).join(""));c.length>t.gSize;)p.unshift(c.splice(-t.gSize,c.length).join(""));c.length&&p.unshift(c.join("")),l=p.join(n),h.length&&(l+=r+h.join("")),d&&(l+="e+"+d)}return e<0&&!s?t.negPre+l+t.negSuf:t.posPre+l+t.posSuf}function Zn(e,t,n,r){var i="";for((e<0||r&&e<=0)&&(r?e=-e+1:(e=-e,i="-")),e=""+e;e.length0||a>-n)&&(a+=n),0===a&&n==-12&&(a=12),Zn(a,t,r,i)}}function Jn(e,t,n){return function(r,i){var o=r["get"+e](),a=(n?"STANDALONE":"")+(t?"SHORT":""),s=Ir(a+e);return i[s][o]}}function Xn(e,t,n){var r=-1*n,i=r>=0?"+":"";return i+=Zn(Math[r>0?"floor":"ceil"](r/60),2)+Zn(Math.abs(r%60),2)}function Kn(e){var t=new Date(e,0,1).getDay();return new Date(e,0,(t<=4?5:12)-t)}function er(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate()+(4-e.getDay()))}function tr(e){return function(t){var n=Kn(t.getFullYear()),r=er(t),i=+r-+n,o=1+Math.round(i/6048e5);return Zn(o,e)}}function nr(e,t){return e.getHours()<12?t.AMPMS[0]:t.AMPMS[1]}function rr(e,t){return e.getFullYear()<=0?t.ERAS[0]:t.ERAS[1]}function ir(e,t){return e.getFullYear()<=0?t.ERANAMES[0]:t.ERANAMES[1]}function or(e){function t(e){var t;if(t=e.match(n)){var r=new Date(0),i=0,o=0,a=t[8]?r.setUTCFullYear:r.setFullYear,s=t[8]?r.setUTCHours:r.setHours;t[9]&&(i=f(t[9]+t[10]),o=f(t[9]+t[11])),a.call(r,f(t[1]),f(t[2])-1,f(t[3]));var u=f(t[4]||0)-i,l=f(t[5]||0)-o,c=f(t[6]||0),d=Math.round(1e3*parseFloat("0."+(t[7]||0)));return s.call(r,u,l,c,d),r}return e}var n=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;return function(n,i,o){var a,s,u="",l=[];if(i=i||"mediumDate",i=e.DATETIME_FORMATS[i]||i,w(n)&&(n=Oo.test(n)?f(n):t(n)),x(n)&&(n=new Date(n)),!k(n)||!isFinite(n.getTime()))return n;for(;i;)s=Ao.exec(i),s?(l=V(l,s,1),i=l.pop()):(l.push(i),i=null);var c=n.getTimezoneOffset();return o&&(c=B(o,c),n=Z(n,o,!0)),r(l,function(t){a=To[t],u+=a?a(n,e.DATETIME_FORMATS,c):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}}function ar(){return function(e,t){return v(t)&&(t=2),q(e,t)}}function sr(){return function(e,t,r){return t=Math.abs(Number(t))===1/0?Number(t):f(t),isNaN(t)?e:(x(e)&&(e=e.toString()),n(e)?(r=!r||isNaN(r)?0:f(r),r=r<0?Math.max(0,e.length+r):r,t>=0?ur(e,r,r+t):0===r?ur(e,t,e.length):ur(e,Math.max(0,r+t),r)):e)}}function ur(e,t,n){return w(e)?e.slice(t,n):Vr.call(e,t,n)}function lr(e){function r(t){return t.map(function(t){var n=1,r=p;if(C(t))r=t;else if(w(t)&&("+"!=t.charAt(0)&&"-"!=t.charAt(0)||(n="-"==t.charAt(0)?-1:1,t=t.substring(1)),""!==t&&(r=e(t),r.constant))){var i=r();r=function(e){return e[i]}}return{get:r,descending:n}})}function i(e){switch(typeof e){case"number":case"boolean":case"string":return!0;default:return!1}}function o(e){return C(e.valueOf)&&(e=e.valueOf(),i(e))?e:g(e)&&(e=e.toString(),i(e))?e:e}function a(e,t){var n=typeof e;return null===e?(n="string",e="null"):"object"===n&&(e=o(e)),{value:e,type:n,index:t}}function s(e,t){var n=0,r=e.type,i=t.type;if(r===i){var o=e.value,a=t.value;"string"===r?(o=o.toLowerCase(),a=a.toLowerCase()):"object"===r&&($(o)&&(o=e.index),$(a)&&(a=t.index)),o!==a&&(n=o=m},a.$observe("min",function(e){m=d(e),s.$validate()})}if(y(a.max)||a.ngMax){var g;s.$validators.max=function(e){return!f(e)||v(g)||n(e)<=g},a.$observe("max",function(e){g=d(e),s.$validate()})}}}function $r(e,t,n,r){var i=t[0],o=r.$$hasNativeValidators=$(i.validity);o&&r.$parsers.push(function(e){var n=t.prop(Ar)||{};return n.badInput||n.typeMismatch?void 0:e})}function br(e,t,n,r,i,o){if($r(e,t,n,r),mr(e,t,n,r,i,o),r.$$parserName="number",r.$parsers.push(function(e){return r.$isEmpty(e)?null:qo.test(e)?parseFloat(e):void 0}),r.$formatters.push(function(e){if(!r.$isEmpty(e)){if(!x(e))throw Da("numfmt","Expected `{0}` to be a number",e);e=e.toString()}return e}),y(n.min)||n.ngMin){var a;r.$validators.min=function(e){return r.$isEmpty(e)||v(a)||e>=a},n.$observe("min",function(e){y(e)&&!x(e)&&(e=parseFloat(e)),a=x(e)&&!isNaN(e)?e:void 0,r.$validate()})}if(y(n.max)||n.ngMax){var s;r.$validators.max=function(e){return r.$isEmpty(e)||v(s)||e<=s},n.$observe("max",function(e){y(e)&&!x(e)&&(e=parseFloat(e)),s=x(e)&&!isNaN(e)?e:void 0,r.$validate()})}}function wr(e,t,n,r,i,o){mr(e,t,n,r,i,o),hr(r),r.$$parserName="url",r.$validators.url=function(e,t){var n=e||t;return r.$isEmpty(n)||Ho.test(n)}}function xr(e,t,n,r,i,o){mr(e,t,n,r,i,o),hr(r),r.$$parserName="email",r.$validators.email=function(e,t){var n=e||t;return r.$isEmpty(n)||Yo.test(n)}}function kr(e,t,n,r){v(n.name)&&t.attr("name",a());var i=function(e){t[0].checked&&r.$setViewValue(n.value,e&&e.type)};t.on("click",i),r.$render=function(){var e=n.value;t[0].checked=e==r.$viewValue},n.$observe("value",r.$render)}function Cr(e,t,n,r,i){var o;if(y(r)){if(o=e(r),!o.constant)throw Da("constexpr","Expected constant expression for `{0}`, but saw `{1}`.",n,r);return o(t)}return i}function Sr(e,t,n,r,i,o,a,s){var u=Cr(s,e,"ngTrueValue",n.ngTrueValue,!0),l=Cr(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 U(e,u)}),r.$parsers.push(function(e){return e?u:l})}function _r(e,t){return e="ngClass"+e,["$animate",function(n){function i(e,t){var n=[];e:for(var r=0;r0||n[e])&&(n[e]=(n[e]||0)+t,n[e]===+(t>0)&&i.push(e))}),s.data("$classCounts",n),i.join(" ")}function d(e,t){var r=i(t,e),o=i(e,t);r=f(r,1),o=f(o,-1),r&&r.length&&n.addClass(s,r),o&&o.length&&n.removeClass(s,o)}function h(e){if(t===!0||(1&a.$index)===t){var n=o(e||[]);if(p){if(!U(e,p)){var r=o(p);d(r,n)}}else l(n)}p=Zr(e)?e.map(function(e){return ge(e)}):ge(e)}var p;a.$watch(u[e],h,!0),u.$observe("class",function(t){h(a.$eval(u[e]))}),"ngClass"!==e&&a.$watch("$index",function(n,r){var i=1&n;if(i!==(1&r)){var s=o(a.$eval(u[e]));i===t?l(s):c(s)}})}}}]}function Er(e){function t(e,t,s){v(t)?n("$pending",e,s):r("$pending",e,s),A(t)?t?(c(a.$error,e,s),l(a.$$success,e,s)):(l(a.$error,e,s),c(a.$$success,e,s)):(c(a.$error,e,s),c(a.$$success,e,s)),a.$pending?(i(Sa,!0),a.$valid=a.$invalid=void 0,o("",null)):(i(Sa,!1),a.$valid=Dr(a.$error),a.$invalid=!a.$valid,o("",a.$valid));var u;u=a.$pending&&a.$pending[e]?void 0:!a.$error[e]&&(!!a.$$success[e]||null),o(e,u),a.$$parentForm.$setValidity(e,u,a)}function n(e,t,n){a[e]||(a[e]={}),l(a[e],t,n)}function r(e,t,n){a[e]&&c(a[e],t,n),Dr(a[e])&&(a[e]=void 0)}function i(e,t){t&&!u[e]?(f.addClass(s,e),u[e]=!0):!t&&u[e]&&(f.removeClass(s,e),u[e]=!1)}function o(e,t){e=e?"-"+se(e,"-"):"",i($a+e,t===!0),i(ba+e,t===!1)}var a=e.ctrl,s=e.$element,u={},l=e.set,c=e.unset,f=e.$animate;u[ba]=!(u[$a]=s.hasClass($a)),a.$setValidity=t}function Dr(e){if(e)for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}function Mr(e){e[0].hasAttribute("selected")&&(e[0].selected=!0)}var Tr=/^\/(.+)\/([a-z]*)$/,Ar="validity",Or=Object.prototype.hasOwnProperty,Fr=function(e){return w(e)?e.toLowerCase():e},Ir=function(e){return w(e)?e.toUpperCase():e},Nr=function(e){return w(e)?e.replace(/[A-Z]/g,function(e){return String.fromCharCode(32|e.charCodeAt(0))}):e},Pr=function(e){return w(e)?e.replace(/[a-z]/g,function(e){return String.fromCharCode(e.charCodeAt(0)&-33)}):e};"i"!=="I".toLowerCase()&&(Fr=Nr,Ir=Pr);var Lr,jr,Rr,Ur,Vr=[].slice,zr=[].splice,Hr=[].push,Yr=Object.prototype.toString,qr=Object.getPrototypeOf,Wr=t("ng"),Br=e.angular||(e.angular={}),Gr=0;Lr=e.document.documentMode,h.$inject=[],p.$inject=[];var Zr=Array.isArray,Qr=/^\[object (?:Uint8|Uint8Clamped|Uint16|Uint32|Int8|Int16|Int32|Float32|Float64)Array\]$/,Jr=function(e){return w(e)?e.trim():e},Xr=function(e){return e.replace(/([-()\[\]{}+?*.$\^|,:#(?:<\/\1>|)$/,wi=/<|&#?\w+;/,xi=/<([\w:-]+)/,ki=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,Ci={option:[1,'"],thead:[1,"","
    "],col:[2,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],_default:[0,"",""]};Ci.optgroup=Ci.option,Ci.tbody=Ci.tfoot=Ci.colgroup=Ci.caption=Ci.thead,Ci.th=Ci.td;var Si=e.Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))},_i=Me.prototype={ready:function(t){function n(){r||(r=!0,t())}var r=!1;"complete"===e.document.readyState?e.setTimeout(n):(this.on("DOMContentLoaded",n),Me(e).on("load",n))},toString:function(){var e=[];return r(this,function(t){e.push(""+t)}),"["+e.join(", ")+"]"},eq:function(e){return jr(e>=0?this[e]:this[this.length+e])},length:0,push:Hr,sort:[].sort,splice:[].splice},Ei={};r("multiple,selected,checked,disabled,readOnly,required,open".split(","),function(e){Ei[Fr(e)]=e});var Di={};r("input,select,option,textarea,button,form,details".split(","),function(e){Di[e]=!0});var Mi={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern"};r({data:Ne,removeData:Fe,hasData:Ce,cleanData:Se},function(e,t){Me[t]=e}),r({data:Ne,inheritedData:Ve,scope:function(e){return jr.data(e,"$scope")||Ve(e.parentNode||e,["$isolateScope","$scope"])},isolateScope:function(e){return jr.data(e,"$isolateScope")||jr.data(e,"$isolateScopeNoTemplate")},controller:Ue,injector:function(e){return Ve(e,"$injector")},removeAttr:function(e,t){e.removeAttribute(t)},hasClass:Pe,css:function(e,t,n){return t=we(t),y(n)?void(e.style[t]=n):e.style[t]},attr:function(e,t,n){var r=e.nodeType;if(r!==si&&r!==ai&&r!==ui){var i=Fr(t);if(Ei[i]){if(!y(n))return e[t]||(e.attributes.getNamedItem(t)||h).specified?i:void 0;n?(e[t]=!0,e.setAttribute(t,i)):(e[t]=!1,e.removeAttribute(i))}else if(y(n))e.setAttribute(t,n);else if(e.getAttribute){var o=e.getAttribute(t,2);return null===o?void 0:o}}},prop:function(e,t,n){return y(n)?void(e[t]=n):e[t]},text:function(){function e(e,t){if(v(t)){var n=e.nodeType;return n===oi||n===si?e.textContent:""}e.textContent=t}return e.$dv="",e}(),val:function(e,t){if(v(t)){if(e.multiple&&"select"===L(e)){var n=[];return r(e.options,function(e){e.selected&&n.push(e.value||e.text)}),0===n.length?null:n}return e.value}e.value=t},html:function(e,t){return v(t)?e.innerHTML:(Ae(e,!0),void(e.innerHTML=t))},empty:ze},function(e,t){Me.prototype[t]=function(t,n){var r,i,o=this.length;if(e!==ze&&v(2==e.length&&e!==Pe&&e!==Ue?t:n)){if($(t)){for(r=0;r=0?t.split(" "):[t],u=s.length,l=function(t,r,i){var s=o[t];s||(s=o[t]=[],s.specialHandlerWrapper=r,"$destroy"===t||i||pi(e,t,a)),s.push(n)};u--;)t=s[u],yi[t]?(l(yi[t],Ze),l(t,void 0,!0)):l(t)}},off:Oe,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,i=e.parentNode;Ae(e),r(new Me(t),function(t){n?i.insertBefore(t,n.nextSibling):i.replaceChild(t,e),n=t})},children:function(e){var t=[];return r(e.childNodes,function(e){e.nodeType===oi&&t.push(e)}),t},contents:function(e){return e.contentDocument||e.childNodes||[]},append:function(e,t){var n=e.nodeType;if(n===oi||n===ci){t=new Me(t);for(var r=0,i=t.length;r/,Oi=/^[^\(]*\(\s*([^\)]*)\)/m,Fi=/,/,Ii=/^\s*(_?)(\S+?)\1\s*$/,Ni=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,Pi=t("$injector");rt.$$annotate=nt;var Li=t("$animate"),ji=1,Ri="ng-animate",Ui=function(){this.$get=h},Vi=function(){var e=new Xe,t=[];this.$get=["$$AnimateRunner","$rootScope",function(n,i){function o(e,t,n){var i=!1;return t&&(t=w(t)?t.split(" "):Zr(t)?t:[],r(t,function(t){t&&(i=!0,e[t]=n)})),i}function a(){r(t,function(t){var n=e.get(t);if(n){var i=st(t.attr("class")),o="",a="";r(n,function(e,t){var n=!!i[t];e!==n&&(e?o+=(o.length?" ":"")+t:a+=(a.length?" ":"")+t)}),r(t,function(e){o&&je(e,o),a&&Le(e,a)}),e.remove(t)}}),t.length=0}function s(n,r,s){var u=e.get(n)||{},l=o(u,r,!0),c=o(u,s,!1);(l||c)&&(e.put(n,u),t.push(n),1===t.length&&i.$$postDigest(a))}return{enabled:h,on:h,off:h,pin:h,push:function(e,t,r,i){i&&i(),r=r||{},r.from&&e.css(r.from),r.to&&e.css(r.to),(r.addClass||r.removeClass)&&s(e,r.addClass,r.removeClass);var o=new n;return o.complete(),o}}}]},zi=["$provide",function(e){var t=this;this.$$registeredAnimations=Object.create(null),this.register=function(n,r){if(n&&"."!==n.charAt(0))throw Li("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+|\\/)"+Ri+"(\\s+|\\/)");if(t.test(this.$$classNameFilter.toString()))throw Li("nongcls",'$animateProvider.classNameFilter(regex) prohibits accepting a regex value which matches/contains the "{0}" CSS class.',Ri)}return this.$$classNameFilter},this.$get=["$$animateQueue",function(e){function t(e,t,n){if(n){var r=at(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",ut(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",ut(o))},leave:function(t,n){return e.push(t,"leave",ut(n),function(){t.remove()})},addClass:function(t,n,r){return r=ut(r),r.addClass=ot(r.addclass,n),e.push(t,"addClass",r)},removeClass:function(t,n,r){return r=ut(r),r.removeClass=ot(r.removeClass,n),e.push(t,"removeClass",r)},setClass:function(t,n,r,i){return i=ut(i),i.addClass=ot(i.addClass,n),i.removeClass=ot(i.removeClass,r),e.push(t,"setClass",i)},animate:function(t,n,r,i,o){return o=ut(o),o.from=o.from?l(o.from,n):n,o.to=o.to?l(o.to,r):r,i=i||"ng-inline-animate",o.tempClasses=ot(o.tempClasses,i),e.push(t,"animate",o)}}}]}],Hi=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){go[e]=!0});var vo={n:"\n",f:"\f",r:"\r",t:"\t",v:"\x0B","'":"'",'"':'"'},yo=function(e){this.options=e};yo.prototype={constructor:yo,lex:function(e){for(this.text=e,this.index=0,this.tokens=[];this.index=55296&&n<=56319&&r>=56320&&r<=57343?e+t:e},isExpOperator:function(e){ -return"-"===e||"+"===e||this.isNumber(e)},throwError:function(e,t,n){n=n||this.index;var r=y(t)?"s "+t+"-"+this.index+" ["+this.text.substring(t,n)+"]":" "+n;throw fo("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:$o.Program,body:e}},expressionStatement:function(){return{type:$o.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:$o.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:$o.ConditionalExpression,test:n,alternate:e,consequent:t}):n},logicalOR:function(){for(var e=this.logicalAND();this.expect("||");)e={type:$o.LogicalExpression,operator:"||",left:e,right:this.logicalAND()};return e},logicalAND:function(){for(var e=this.equality();this.expect("&&");)e={type:$o.LogicalExpression,operator:"&&",left:e,right:this.equality()};return e},equality:function(){for(var e,t=this.relational();e=this.expect("==","!=","===","!==");)t={type:$o.BinaryExpression,operator:e.text,left:t,right:this.relational()};return t},relational:function(){for(var e,t=this.additive();e=this.expect("<",">","<=",">=");)t={type:$o.BinaryExpression,operator:e.text,left:t,right:this.additive()};return t},additive:function(){for(var e,t=this.multiplicative();e=this.expect("+","-");)t={type:$o.BinaryExpression,operator:e.text,left:t,right:this.multiplicative()};return t},multiplicative:function(){for(var e,t=this.unary();e=this.expect("*","/","%");)t={type:$o.BinaryExpression,operator:e.text,left:t,right:this.unary()};return t},unary:function(){var e;return(e=this.expect("+","-","!"))?{type:$o.UnaryExpression,operator:e.text,prefix:!0,argument:this.unary()}:this.primary()},primary:function(){var e;this.expect("(")?(e=this.filterChain(),this.consume(")")):this.expect("[")?e=this.arrayDeclaration():this.expect("{")?e=this.object():this.selfReferential.hasOwnProperty(this.peek().text)?e=R(this.selfReferential[this.consume().text]):this.options.literals.hasOwnProperty(this.peek().text)?e={type:$o.Literal,value:this.options.literals[this.consume().text]}:this.peek().identifier?e=this.identifier():this.peek().constant?e=this.constant():this.throwError("not a primary expression",this.peek());for(var t;t=this.expect("(","[",".");)"("===t.text?(e={type:$o.CallExpression,callee:e,arguments:this.parseArguments()},this.consume(")")):"["===t.text?(e={type:$o.MemberExpression,object:e,property:this.expression(),computed:!0},this.consume("]")):"."===t.text?e={type:$o.MemberExpression,object:e,property:this.identifier(),computed:!1}:this.throwError("IMPOSSIBLE");return e},filter:function(e){for(var t=[e],n={type:$o.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.filterChain());while(this.expect(","));return e},identifier:function(){var e=this.consume();return e.identifier||this.throwError("is not a valid identifier",e),{type:$o.Identifier,name:e.text}},constant:function(){return{type:$o.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:$o.ArrayExpression,elements:e}},object:function(){var e,t=[];if("}"!==this.peekToken().text)do{if(this.peek("}"))break;e={type:$o.Property,kind:"init"},this.peek().constant?(e.key=this.constant(),e.computed=!1,this.consume(":"),e.value=this.expression()):this.peek().identifier?(e.key=this.identifier(),e.computed=!1,this.peek(":")?(this.consume(":"),e.value=this.expression()):e.value=e.key):this.peek("[")?(this.consume("["),e.key=this.expression(),this.consume("]"),e.computed=!0,this.consume(":"),e.value=this.expression()):this.throwError("invalid key",this.peek()),t.push(e)}while(this.expect(","));return this.consume("}"),{type:$o.ObjectExpression,properties:t}},throwError:function(e,t){throw fo("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 fo("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 fo("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)},selfReferential:{"this":{type:$o.ThisExpression},$locals:{type:$o.LocalsExpression}}},mn.prototype={compile:function(e,t){var n=this,i=this.astBuilder.ast(e);this.state={nextId:0,filters:{},expensiveChecks:t,fn:{vars:[],body:[],own:{}},assign:{vars:[],body:[],own:{}},inputs:[]},ln(i,n.$filter);var o,a="";if(this.stage="assign",o=dn(i)){this.state.computing="assign";var s=this.nextId();this.recurse(o,s),this.return_(s),a="fn.assign="+this.generateFunction("assign","s,v,l")}var u=cn(i.body);n.stage="inputs",r(u,function(e,t){var r="fn"+t;n.state[r]={vars:[],body:[],own:{}},n.state.computing=r;var i=n.nextId();n.recurse(e,i),n.return_(i),n.state.inputs.push(r),e.watchId=t}),this.state.computing="fn",this.stage="main",this.recurse(i);var l='"'+this.USE+" "+this.STRICT+'";\n'+this.filterPrefix()+"var fn="+this.generateFunction("fn","s,l,a,i")+a+this.watchFns()+"return fn;",c=new Function("$filter","ensureSafeMemberName","ensureSafeObject","ensureSafeFunction","getStringValue","ensureSafeAssignContext","ifDefined","plus","text",l)(this.$filter,en,nn,rn,tn,on,an,sn,e);return this.state=this.stage=void 0,c.literal=hn(i),c.constant=pn(i),c},USE:"use",STRICT:"strict",watchFns:function(){var e=[],t=this.state.inputs,n=this;return r(t,function(t){e.push("var "+t+"="+n.generateFunction(t,"s"))}),t.length&&e.push("fn.inputs=["+t.join(",")+"];"),e.join("")},generateFunction:function(e,t){return"function("+t+"){"+this.varsPrefix(e)+this.body(e)+"};"},filterPrefix:function(){var e=[],t=this;return r(this.state.filters,function(n,r){e.push(n+"=$filter("+t.escape(r)+")")}),e.length?"var "+e.join(",")+";":""},varsPrefix:function(e){return this.state[e].vars.length?"var "+this.state[e].vars.join(",")+";":""},body:function(e){return this.state[e].body.join("")},recurse:function(e,t,n,i,o,a){var s,u,l,c,f,d=this;if(i=i||h,!a&&y(e.watchId))return t=t||this.nextId(),void this.if_("i",this.lazyAssign(t,this.computedMember("i",e.watchId)),this.lazyRecurse(e,t,n,i,o,!0));switch(e.type){case $o.Program:r(e.body,function(t,n){d.recurse(t.expression,void 0,void 0,function(e){u=e}),n!==e.body.length-1?d.current().body.push(u,";"):d.return_(u)});break;case $o.Literal:c=this.escape(e.value),this.assign(t,c),i(c);break;case $o.UnaryExpression:this.recurse(e.argument,void 0,void 0,function(e){u=e}),c=e.operator+"("+this.ifDefined(u,0)+")",this.assign(t,c),i(c);break;case $o.BinaryExpression:this.recurse(e.left,void 0,void 0,function(e){s=e}),this.recurse(e.right,void 0,void 0,function(e){u=e}),c="+"===e.operator?this.plus(s,u):"-"===e.operator?this.ifDefined(s,0)+e.operator+this.ifDefined(u,0):"("+s+")"+e.operator+"("+u+")",this.assign(t,c),i(c);break;case $o.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 $o.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 $o.Identifier:t=t||this.nextId(),n&&(n.context="inputs"===d.stage?"s":this.assign(this.nextId(),this.getHasOwnProperty("l",e.name)+"?l:s"),n.computed=!1,n.name=e.name),en(e.name),d.if_("inputs"===d.stage||d.not(d.getHasOwnProperty("l",e.name)),function(){d.if_("inputs"===d.stage||"s",function(){o&&1!==o&&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||vn(e.name))&&d.addEnsureSafeObject(t),i(t);break;case $o.MemberExpression:s=n&&(n.context=this.nextId())||this.nextId(),t=t||this.nextId(),d.recurse(e.object,s,void 0,function(){d.if_(d.notNull(s),function(){o&&1!==o&&d.addEnsureSafeAssignContext(s),e.computed?(u=d.nextId(),d.recurse(e.property,u),d.getStringValue(u),d.addEnsureSafeMemberName(u),o&&1!==o&&d.if_(d.not(d.computedMember(s,u)),d.lazyAssign(d.computedMember(s,u),"{}")),c=d.ensureSafeObject(d.computedMember(s,u)),d.assign(t,c),n&&(n.computed=!0,n.name=u)):(en(e.property.name),o&&1!==o&&d.if_(d.not(d.nonComputedMember(s,e.property.name)),d.lazyAssign(d.nonComputedMember(s,e.property.name),"{}")),c=d.nonComputedMember(s,e.property.name),(d.state.expensiveChecks||vn(e.property.name))&&(c=d.ensureSafeObject(c)),d.assign(t,c),n&&(n.computed=!1,n.name=e.property.name))},function(){d.assign(t,"undefined")}),i(t)},!!o);break;case $o.CallExpression:t=t||this.nextId(),e.filter?(u=d.filter(e.callee.name),l=[],r(e.arguments,function(e){var t=d.nextId();d.recurse(e,t),l.push(t)}),c=u+"("+l.join(",")+")",d.assign(t,c),i(t)):(u=d.nextId(),s={},l=[],d.recurse(e.callee,u,s,function(){d.if_(d.notNull(u),function(){d.addEnsureSafeFunction(u),r(e.arguments,function(e){d.recurse(e,d.nextId(),void 0,function(e){l.push(d.ensureSafeObject(e))})}),s.name?(d.state.expensiveChecks||d.addEnsureSafeObject(s.context),c=d.member(s.context,s.name,s.computed)+"("+l.join(",")+")"):c=u+"("+l.join(",")+")",c=d.ensureSafeObject(c),d.assign(t,c)},function(){d.assign(t,"undefined")}),i(t)}));break;case $o.AssignmentExpression:if(u=this.nextId(),s={},!fn(e.left))throw fo("lval","Trying to assign a value to a non l-value");this.recurse(e.left,void 0,s,function(){d.if_(d.notNull(s.context),function(){d.recurse(e.right,u),d.addEnsureSafeObject(d.member(s.context,s.name,s.computed)),d.addEnsureSafeAssignContext(s.context),c=d.member(s.context,s.name,s.computed)+e.operator+u,d.assign(t,c),i(t||c)})},1);break;case $o.ArrayExpression:l=[],r(e.elements,function(e){d.recurse(e,d.nextId(),void 0,function(e){l.push(e)})}),c="["+l.join(",")+"]",this.assign(t,c),i(c);break;case $o.ObjectExpression:l=[],f=!1,r(e.properties,function(e){e.computed&&(f=!0)}),f?(t=t||this.nextId(),this.assign(t,"{}"),r(e.properties,function(e){e.computed?(s=d.nextId(),d.recurse(e.key,s)):s=e.key.type===$o.Identifier?e.key.name:""+e.key.value,u=d.nextId(),d.recurse(e.value,u),d.assign(d.member(t,s,e.computed),u)})):(r(e.properties,function(t){d.recurse(t.value,e.constant?void 0:d.nextId(),void 0,function(e){l.push(d.escape(t.key.type===$o.Identifier?t.key.name:""+t.key.value)+":"+e)})}),c="{"+l.join(",")+"}",this.assign(t,c)),i(t||c);break;case $o.ThisExpression:this.assign(t,"s"),i("s");break;case $o.LocalsExpression:this.assign(t,"l"),i("l");break;case $o.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){if(e)return this.current().body.push(e,"=",t,";"),e},filter:function(e){return this.state.filters.hasOwnProperty(e)||(this.state.filters[e]=this.nextId(!0)),this.state.filters[e]},ifDefined:function(e,t){return"ifDefined("+e+","+this.escape(t)+")"},plus:function(e,t){return"plus("+e+","+t+")"},return_:function(e){this.current().body.push("return ",e,";")},if_:function(e,t,n){if(e===!0)t();else{var r=this.current().body;r.push("if(",e,"){"),t(),r.push("}"),n&&(r.push("else{"),n(),r.push("}"))}},not:function(e){return"!("+e+")"},notNull:function(e){return e+"!=null"},nonComputedMember:function(e,t){var n=/[$_a-zA-Z][$_a-zA-Z0-9]*/,r=/[^$_a-zA-Z0-9]/g;return n.test(t)?e+"."+t:e+'["'+t.replace(r,this.stringEscapeFn)+'"]'},computedMember:function(e,t){return e+"["+t+"]"},member:function(e,t,n){return n?this.computedMember(e,t):this.nonComputedMember(e,t)},addEnsureSafeObject:function(e){this.current().body.push(this.ensureSafeObject(e),";")},addEnsureSafeMemberName:function(e){this.current().body.push(this.ensureSafeMemberName(e),";")},addEnsureSafeFunction:function(e){this.current().body.push(this.ensureSafeFunction(e),";")},addEnsureSafeAssignContext:function(e){this.current().body.push(this.ensureSafeAssignContext(e),";")},ensureSafeObject:function(e){return"ensureSafeObject("+e+",text)"},ensureSafeMemberName:function(e){return"ensureSafeMemberName("+e+",text)"},ensureSafeFunction:function(e){return"ensureSafeFunction("+e+",text)"},getStringValue:function(e){this.assign(e,"getStringValue("+e+")")},ensureSafeAssignContext:function(e){return"ensureSafeAssignContext("+e+",text)"},lazyRecurse:function(e,t,n,r,i,o){var a=this;return function(){a.recurse(e,t,n,r,i,o)}},lazyAssign:function(e,t){var n=this;return function(){n.assign(e,t)}},stringEscapeRegex:/[^ a-zA-Z0-9]/g,stringEscapeFn:function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)},escape:function(e){if(w(e))return"'"+e.replace(this.stringEscapeRegex,this.stringEscapeFn)+"'";if(x(e))return e.toString();if(e===!0)return"true";if(e===!1)return"false";if(null===e)return"null";if("undefined"==typeof e)return"undefined";throw fo("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]}},gn.prototype={compile:function(e,t){var n=this,i=this.astBuilder.ast(e);this.expression=e,this.expensiveChecks=t,ln(i,n.$filter);var o,a;(o=dn(i))&&(a=this.recurse(o));var s,u=cn(i.body);u&&(s=[],r(u,function(e,t){var r=n.recurse(e);e.input=r,s.push(r),e.watchId=t}));var l=[];r(i.body,function(e){l.push(n.recurse(e.expression))});var c=0===i.body.length?h:1===i.body.length?l[0]:function(e,t){var n;return r(l,function(r){n=r(e,t)}),n};return a&&(c.assign=function(e,t,n){return a(e,n,t)}),s&&(c.inputs=s),c.literal=hn(i),c.constant=pn(i),c},recurse:function(e,t,n){var i,o,a,s=this;if(e.input)return this.inputs(e.input,e.watchId);switch(e.type){case $o.Literal:return this.value(e.value,t);case $o.UnaryExpression:return o=this.recurse(e.argument),this["unary"+e.operator](o,t);case $o.BinaryExpression:return i=this.recurse(e.left),o=this.recurse(e.right),this["binary"+e.operator](i,o,t);case $o.LogicalExpression:return i=this.recurse(e.left),o=this.recurse(e.right),this["binary"+e.operator](i,o,t);case $o.ConditionalExpression:return this["ternary?:"](this.recurse(e.test),this.recurse(e.alternate),this.recurse(e.consequent),t);case $o.Identifier:return en(e.name,s.expression),s.identifier(e.name,s.expensiveChecks||vn(e.name),t,n,s.expression);case $o.MemberExpression:return i=this.recurse(e.object,!1,!!n),e.computed||(en(e.property.name,s.expression),o=e.property.name),e.computed&&(o=this.recurse(e.property)),e.computed?this.computedMember(i,o,t,n,s.expression):this.nonComputedMember(i,o,s.expensiveChecks,t,n,s.expression);case $o.CallExpression:return a=[],r(e.arguments,function(e){a.push(s.recurse(e))}),e.filter&&(o=this.$filter(e.callee.name)),e.filter||(o=this.recurse(e.callee,!0)),e.filter?function(e,n,r,i){for(var s=[],u=0;u":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)>t(r,i,o,a);return n?{value:s}:s}},"binary<=":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)<=t(r,i,o,a);return n?{value:s}:s}},"binary>=":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)>=t(r,i,o,a);return n?{value:s}:s}},"binary&&":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)&&t(r,i,o,a);return n?{value:s}:s}},"binary||":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)||t(r,i,o,a);return n?{value:s}:s}},"ternary?:":function(e,t,n,r){return function(i,o,a,s){var u=e(i,o,a,s)?t(i,o,a,s):n(i,o,a,s);return r?{value:u}:u}},value:function(e,t){return function(){return t?{context:void 0,name:void 0,value:e}:e}},identifier:function(e,t,n,r,i){return function(o,a,s,u){var l=a&&e in a?a:o;r&&1!==r&&l&&!l[e]&&(l[e]={});var c=l?l[e]:void 0;return t&&nn(c,i),n?{context:l,name:e,value:c}:c}},computedMember:function(e,t,n,r,i){return function(o,a,s,u){var l,c,f=e(o,a,s,u);return null!=f&&(l=t(o,a,s,u),l=tn(l),en(l,i),r&&1!==r&&(on(f),f&&!f[l]&&(f[l]={})),c=f[l],nn(c,i)),n?{context:f,name:l,value:c}:c}},nonComputedMember:function(e,t,n,r,i,o){return function(a,s,u,l){var c=e(a,s,u,l);i&&1!==i&&(on(c),c&&!c[t]&&(c[t]={}));var f=null!=c?c[t]:void 0;return(n||vn(t))&&nn(f,o),r?{context:c,name:t,value:f}:f}},inputs:function(e,t){return function(n,r,i,o){return o?o[t]:e(n,r,i)}}};var bo=function(e,t,n){this.lexer=e,this.$filter=t,this.options=n,this.ast=new $o(e,n),this.astCompiler=n.csp?new gn(this.ast,t):new mn(this.ast,t)};bo.prototype={constructor:bo,parse:function(e){return this.astCompiler.compile(e,this.options.expensiveChecks)}};var wo=Object.prototype.valueOf,xo=t("$sce"),ko={HTML:"html",CSS:"css",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},Co=t("$compile"),So=e.document.createElement("a"),_o=In(e.location.href);Ln.$inject=["$document"],Rn.$inject=["$provide"];var Eo=22,Do=".",Mo="0";Yn.$inject=["$locale"],qn.$inject=["$locale"];var To={yyyy:Qn("FullYear",4,0,!1,!0),yy:Qn("FullYear",2,0,!0,!0),y:Qn("FullYear",1,0,!1,!0),MMMM:Jn("Month"),MMM:Jn("Month",!0),MM:Qn("Month",2,1),M:Qn("Month",1,1),LLLL:Jn("Month",!1,!0),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:Jn("Day"),EEE:Jn("Day",!0),a:nr,Z:Xn,ww:tr(2),w:tr(1),G:rr,GG:rr,GGG:rr,GGGG:ir},Ao=/((?:[^yMLdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|m+|s+|a|Z|G+|w+))(.*)/,Oo=/^\-?\d+$/;or.$inject=["$locale"];var Fo=m(Fr),Io=m(Ir);lr.$inject=["$parse"];var No=m({restrict:"E",compile:function(e,t){if(!t.href&&!t.xlinkHref)return function(e,t){if("a"===t[0].nodeName.toLowerCase()){var n="[object SVGAnimatedString]"===Yr.call(t.prop("href"))?"xlink:href":"href";t.on("click",function(e){t.attr(n)||e.preventDefault()})}}}}),Po={};r(Ei,function(e,t){function n(e,n,i){e.$watch(i[r],function(e){i.$set(t,!!e)})}if("multiple"!=e){var r=gt("ng-"+t),i=n;"checked"===e&&(i=function(e,t,i){i.ngModel!==i[r]&&n(e,t,i)}),Po[r]=function(){return{restrict:"A",priority:100,link:i}}}}),r(Mi,function(e,t){Po[t]=function(){return{priority:100,link:function(e,n,r){if("ngPattern"===t&&"/"==r.ngPattern.charAt(0)){var i=r.ngPattern.match(Tr);if(i)return void r.$set("ngPattern",new RegExp(i[1],i[2]))}e.$watch(r[t],function(e){r.$set(t,e)})}}}}),r(["src","srcset","href"],function(e){var t=gt("ng-"+e);Po[t]=function(){return{priority:99,link:function(n,r,i){var o=e,a=e;"href"===e&&"[object SVGAnimatedString]"===Yr.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(Lr&&o&&r.prop(o,i[a]))):void("href"===e&&i.$set(a,null))})}}}});var Lo={$addControl:h,$$renameControl:fr,$removeControl:h,$setValidity:h,$setDirty:h,$setPristine:h,$setSubmitted:h},jo="ng-submitted";dr.$inject=["$element","$attrs","$scope","$animate","$interpolate"];var Ro=function(e){return["$timeout","$parse",function(t,n){function r(e){return""===e?n('this[""]').assign:n(e).assign||h}var i={name:"form",restrict:e?"EAC":"E",require:["form","^^?form"],controller:dr,compile:function(n,i){n.addClass(wa).addClass($a);var o=i.name?"name":!(!e||!i.ngForm)&&"ngForm";return{pre:function(e,n,i,a){var s=a[0];if(!("action"in i)){var u=function(t){e.$apply(function(){s.$commitViewValue(),s.$setSubmitted()}),t.preventDefault()};pi(n[0],"submit",u),n.on("$destroy",function(){t(function(){mi(n[0],"submit",u)},0,!1)})}var c=a[1]||s.$$parentForm;c.$addControl(s);var f=o?r(s.$name):h;o&&(f(e,s),i.$observe(o,function(t){s.$name!==t&&(f(e,void 0),s.$$parentForm.$$renameControl(s,t),(f=r(s.$name))(e,s))})),n.on("$destroy",function(){s.$$parentForm.$removeControl(s),f(e,void 0),l(s,Lo)})}}}};return i}]},Uo=Ro(),Vo=Ro(!0),zo=/^\d{4,}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+(?:[+-][0-2]\d:[0-5]\d|Z)$/,Ho=/^[a-z][a-z\d.+-]*:\/*(?:[^:@]+(?::[^@]+)?@)?(?:[^\s:\/?#]+|\[[a-f\d:]+\])(?::\d+)?(?:\/[^?#]*)?(?:\?[^#]*)?(?:#.*)?$/i,Yo=/^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+)*@[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*$/,qo=/^\s*(\-|\+)?(\d+|(\d*(\.\d*)))([eE][+-]?\d+)?\s*$/,Wo=/^(\d{4,})-(\d{2})-(\d{2})$/,Bo=/^(\d{4,})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,Go=/^(\d{4,})-W(\d\d)$/,Zo=/^(\d{4,})-(\d\d)$/,Qo=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,Jo="keydown wheel mousedown",Xo=pe();r("date,datetime-local,month,time,week".split(","),function(e){Xo[e]=!0});var Ko={text:pr,date:yr("date",Wo,vr(Wo,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":yr("datetimelocal",Bo,vr(Bo,["yyyy","MM","dd","HH","mm","ss","sss"]),"yyyy-MM-ddTHH:mm:ss.sss"),time:yr("time",Qo,vr(Qo,["HH","mm","ss","sss"]),"HH:mm:ss.sss"),week:yr("week",Go,gr,"yyyy-Www"),month:yr("month",Zo,vr(Zo,["yyyy","MM"]),"yyyy-MM"),number:br,url:wr,email:xr,radio:kr,checkbox:Sr,hidden:h,button:h,submit:h,reset:h,file:h},ea=["$browser","$sniffer","$filter","$parse",function(e,t,n,r){return{restrict:"E",require:["?ngModel"],link:{pre:function(i,o,a,s){s[0]&&(Ko[Fr(a.type)]||Ko.text)(i,o,a,s[0],t,e,n,r)}}}}],ta=/^(true|false|\d+)$/,na=function(){return{restrict:"A",priority:100,compile:function(e,t){return ta.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)})}}}},ra=["$compile",function(e){return{restrict:"AC",compile:function(t){return e.$$addBindingClass(t),function(t,n,r){e.$$addBindingInfo(n,r.ngBind),n=n[0],t.$watch(r.ngBind,function(e){n.textContent=v(e)?"":e})}}}}],ia=["$interpolate","$compile",function(e,t){return{compile:function(n){return t.$$addBindingClass(n),function(n,r,i){var o=e(r.attr(i.$attr.ngBindTemplate));t.$$addBindingInfo(r,o.expressions),r=r[0],i.$observe("ngBindTemplate",function(e){r.textContent=v(e)?"":e})}}}}],oa=["$sce","$parse","$compile",function(e,t,n){return{restrict:"A",compile:function(r,i){var o=t(i.ngBindHtml),a=t(i.ngBindHtml,function(t){return e.valueOf(t)});return n.$$addBindingClass(r),function(t,r,i){n.$$addBindingInfo(r,i.ngBindHtml),t.$watch(a,function(){var n=o(t);r.html(e.getTrustedHtml(n)||"")})}}}}],aa=m({restrict:"A",require:"ngModel",link:function(e,t,n,r){r.$viewChangeListeners.push(function(){e.$eval(n.ngChange)})}}),sa=_r("",!0),ua=_r("Odd",0),la=_r("Even",1),ca=cr({compile:function(e,t){t.$set("ngCloak",void 0),e.removeClass("ng-cloak")}}),fa=[function(){return{restrict:"A",scope:!0,controller:"@",priority:500}}],da={},ha={blur:!0,focus:!0};r("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),function(e){var t=gt("ng-"+e);da[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})};ha[e]&&r.$$phase?t.$evalAsync(i):t.$apply(i)})}}}}]});var pa=["$animate","$compile",function(e,t){return{multiElement:!0,transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(n,r,i,o,a){var s,u,l;n.$watch(i.ngIf,function(n){n?u||a(function(n,o){u=o,n[n.length++]=t.$$createComment("end ngIf",i.ngIf),s={clone:n},e.enter(n,r.parent(),r)}):(l&&(l.remove(),l=null),u&&(u.$destroy(),u=null),s&&(l=he(s.clone),e.leave(l).then(function(){l=null}),s=null))})}}}],ma=["$templateRequest","$anchorScroll","$animate",function(e,t,n){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:Br.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(){!y(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)})}}}}],ga=["$compile",function(t){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(n,r,i,o){return Yr.call(r[0]).match(/SVG/)?(r.empty(),void t(_e(o.template,e.document).childNodes)(n,function(e){r.append(e)},{futureParentElement:r})):(r.html(o.template),void t(r.contents())(n))}}}],va=cr({priority:450,compile:function(){return{pre:function(e,t,n){e.$eval(n.ngInit)}}}}),ya=function(){return{restrict:"A",priority:100,require:"ngModel",link:function(e,t,n,i){var o=t.attr(n.$attr.ngList)||", ",a="false"!==n.ngTrim,s=a?Jr(o):o,u=function(e){if(!v(e)){var t=[];return e&&r(e.split(s),function(e){e&&t.push(a?Jr(e):e)}),t}};i.$parsers.push(u),i.$formatters.push(function(e){if(Zr(e))return e.join(o)}),i.$isEmpty=function(e){return!e||!e.length}}}},$a="ng-valid",ba="ng-invalid",wa="ng-pristine",xa="ng-dirty",ka="ng-untouched",Ca="ng-touched",Sa="ng-pending",_a="ng-empty",Ea="ng-not-empty",Da=t("ngModel"),Ma=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate","$timeout","$rootScope","$q","$interpolate",function(e,t,n,i,o,a,s,u,l,c){this.$viewValue=Number.NaN,this.$modelValue=Number.NaN,this.$$rawModelValue=void 0,this.$validators={},this.$asyncValidators={},this.$parsers=[],this.$formatters=[],this.$viewChangeListeners=[],this.$untouched=!0,this.$touched=!1,this.$pristine=!0,this.$dirty=!1,this.$valid=!0,this.$invalid=!1,this.$error={},this.$$success={},this.$pending=void 0,this.$name=c(n.name||"",!1)(e),this.$$parentForm=Lo;var f,d=o(n.ngModel),p=d.assign,m=d,g=p,$=null,b=this;this.$$setOptions=function(e){if(b.$options=e,e&&e.getterSetter){var t=o(n.ngModel+"()"),r=o(n.ngModel+"($$$p)");m=function(e){var n=d(e);return C(n)&&(n=t(e)),n},g=function(e,t){C(d(e))?r(e,{$$$p:t}):p(e,t)}}else if(!d.assign)throw Da("nonassign","Expression '{0}' is non-assignable. Element: {1}",n.ngModel,Q(i))},this.$render=h,this.$isEmpty=function(e){return v(e)||""===e||null===e||e!==e},this.$$updateEmptyClasses=function(e){b.$isEmpty(e)?(a.removeClass(i,Ea),a.addClass(i,_a)):(a.removeClass(i,_a),a.addClass(i,Ea))};var w=0;Er({ctrl:this,$element:i,set:function(e,t){e[t]=!0; -},unset:function(e,t){delete e[t]},$animate:a}),this.$setPristine=function(){b.$dirty=!1,b.$pristine=!0,a.removeClass(i,xa),a.addClass(i,wa)},this.$setDirty=function(){b.$dirty=!0,b.$pristine=!1,a.removeClass(i,wa),a.addClass(i,xa),b.$$parentForm.$setDirty()},this.$setUntouched=function(){b.$touched=!1,b.$untouched=!0,a.setClass(i,ka,Ca)},this.$setTouched=function(){b.$touched=!0,b.$untouched=!1,a.setClass(i,Ca,ka)},this.$rollbackViewValue=function(){s.cancel($),b.$viewValue=b.$$lastCommittedViewValue,b.$render()},this.$validate=function(){if(!x(b.$modelValue)||!isNaN(b.$modelValue)){var e=b.$$lastCommittedViewValue,t=b.$$rawModelValue,n=b.$valid,r=b.$modelValue,i=b.$options&&b.$options.allowInvalid;b.$$runValidators(t,e,function(e){i||n===e||(b.$modelValue=e?t:void 0,b.$modelValue!==r&&b.$$writeModelToScope())})}},this.$$runValidators=function(e,t,n){function i(){var e=b.$$parserName||"parse";return v(f)?(s(e,null),!0):(f||(r(b.$validators,function(e,t){s(t,null)}),r(b.$asyncValidators,function(e,t){s(t,null)})),s(e,f),f)}function o(){var n=!0;return r(b.$validators,function(r,i){var o=r(e,t);n=n&&o,s(i,o)}),!!n||(r(b.$asyncValidators,function(e,t){s(t,null)}),!1)}function a(){var n=[],i=!0;r(b.$asyncValidators,function(r,o){var a=r(e,t);if(!O(a))throw Da("nopromise","Expected asynchronous validator to return a promise but got '{0}' instead.",a);s(o,void 0),n.push(a.then(function(){s(o,!0)},function(){i=!1,s(o,!1)}))}),n.length?l.all(n).then(function(){u(i)},h):u(!0)}function s(e,t){c===w&&b.$setValidity(e,t)}function u(e){c===w&&n(e)}w++;var c=w;return i()&&o()?void a():void u(!1)},this.$commitViewValue=function(){var e=b.$viewValue;s.cancel($),(b.$$lastCommittedViewValue!==e||""===e&&b.$$hasNativeValidators)&&(b.$$updateEmptyClasses(e),b.$$lastCommittedViewValue=e,b.$pristine&&this.$setDirty(),this.$$parseAndValidate())},this.$$parseAndValidate=function(){function t(){b.$modelValue!==o&&b.$$writeModelToScope()}var n=b.$$lastCommittedViewValue,r=n;if(f=!v(r)||void 0)for(var i=0;i=0;t--){var r=k.items[t];He(y(r.group)?r.element.parentNode:r.element)}k=C.getOptions();var i={};if(w&&n.prepend(h),k.items.forEach(function(e){var t;y(e.group)?(t=i[e.group],t||(t=l.cloneNode(!1),S.appendChild(t),t.label=null===e.group?"null":e.group,i[e.group]=t),c(e,t)):c(e,S)}),n[0].appendChild(S),m.$render(),!m.$isEmpty(e)){var o=p.readValue(),a=C.trackBy||g;(a?U(e,o):e===o)||(m.$setViewValue(o),m.$render())}}for(var h,p=s[0],m=s[1],g=o.multiple,v=0,$=n.children(),b=$.length;v0&&(e=new RegExp("^"+e+"$")),e&&!e.test)throw t("ngPattern")("noregexp","Expected {0} to be a RegExp but was {1}. Element: {2}",a,e,Q(n));o=e||void 0,i.$validate()}),i.$validators.pattern=function(e,t){return i.$isEmpty(t)||v(o)||o.test(t)}}}}},rs=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i=-1;n.$observe("maxlength",function(e){var t=f(e);i=isNaN(t)?-1:t,r.$validate()}),r.$validators.maxlength=function(e,t){return i<0||r.$isEmpty(t)||t.length<=i}}}}},is=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i=0;n.$observe("minlength",function(e){i=f(e)||0,r.$validate()}),r.$validators.minlength=function(e,t){return r.$isEmpty(t)||t.length>=i}}}}};return e.angular.bootstrap?void e.console:(ue(),$e(Br),Br.module("ngLocale",[],["$provide",function(e){function t(e){e+="";var t=e.indexOf(".");return t==-1?0:e.length-t-1}function n(e,n){var r=n;void 0===r&&(r=Math.min(t(e),3));var i=Math.pow(10,r),o=(e*i|0)%i;return{v:r,f:o}}var r={ZERO:"zero",ONE:"one",TWO:"two",FEW:"few",MANY:"many",OTHER:"other"};e.value("$locale",{DATETIME_FORMATS:{AMPMS:["AM","PM"],DAY:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],ERANAMES:["Before Christ","Anno Domini"],ERAS:["BC","AD"],FIRSTDAYOFWEEK:6,MONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],SHORTDAY:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],SHORTMONTH:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],STANDALONEMONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],WEEKENDRANGE:[5,6],fullDate:"EEEE, MMMM d, y",longDate:"MMMM d, y",medium:"MMM d, y h:mm:ss a",mediumDate:"MMM d, y",mediumTime:"h:mm:ss a","short":"M/d/yy h:mm a",shortDate:"M/d/yy",shortTime:"h:mm a"},NUMBER_FORMATS:{CURRENCY_SYM:"$",DECIMAL_SEP:".",GROUP_SEP:",",PATTERNS:[{gSize:3,lgSize:3,maxFrac:3,minFrac:0,minInt:1,negPre:"-",negSuf:"",posPre:"",posSuf:""},{gSize:3,lgSize:3,maxFrac:2,minFrac:2,minInt:1,negPre:"-¤",negSuf:"",posPre:"¤",posSuf:""}]},id:"en-us",localeID:"en_US",pluralCat:function(e,t){var i=0|e,o=n(e,t);return 1==i&&0==o.v?r.ONE:r.OTHER}})}]),void jr(e.document).ready(function(){re(e.document,ie)}))}(window),!window.angular.$$csp().noInlineStyle&&window.angular.element(document.head).prepend('')},{}],9:[function(e,t,n){e("./angular"),t.exports=angular},{"./angular":8}],10:[function(e,t,n){(function(){var e,n,r,i,o,a,s,u,l=[].slice,c={}.hasOwnProperty,f=function(e,t){function n(){this.constructor=e}for(var r in t)c.call(t,r)&&(e[r]=t[r]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e};s=function(){},n=function(){function e(){}return e.prototype.addEventListener=e.prototype.on,e.prototype.on=function(e,t){return this._callbacks=this._callbacks||{},this._callbacks[e]||(this._callbacks[e]=[]),this._callbacks[e].push(t),this},e.prototype.emit=function(){var e,t,n,r,i,o;if(r=arguments[0],e=2<=arguments.length?l.call(arguments,1):[],this._callbacks=this._callbacks||{},n=this._callbacks[r])for(i=0,o=n.length;i
    '),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;o'+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;s\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;o'+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;i',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;n0){for(a=["TB","GB","MB","KB","b"],n=s=0,u=a.length;s=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;n0){for(o=0,a=n.length;o1024*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;n=t)&&(r=this.getQueuedFiles(),r.length>0)){if(this.options.uploadMultiple)return this.processFiles(r.slice(0,t-n));for(;e=L;c=0<=L?++A:--A)o.append(this._getParamName(c),e[c],this._renameFilename(e[c].name));return this.submitRequest(x,o,e)},t.prototype.submitRequest=function(e,t,n){return e.send(t)},t.prototype._finished=function(e,n,r){var i,o,a;for(o=0,a=e.length;oc;)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){if("readystatechange"!==n.type||"complete"===r.readyState)return("load"===n.type?e:r)[u](s+n.type,o,!1),!i&&(i=!0)?t.call(e,n.type||n):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(){if(e.autoDiscover)return e.discover()},i(window,e._autoDiscoverFunction)}).call(this)},{}],11:[function(e,t,n){(function(e){(function(){function e(e){this.tokens=[],this.tokens.links={},this.options=e||f.defaults,this.rules=d.normal,this.options.gfm&&(this.options.tables?this.rules=d.tables:this.rules=d.gfm)}function r(e,t){if(this.options=t||f.defaults,this.links=e,this.rules=h.normal,this.renderer=this.options.renderer||new i,this.renderer.options=this.options,!this.links)throw new Error("Tokens array requires a `links` property.");this.options.gfm?this.options.breaks?this.rules=h.breaks:this.rules=h.gfm:this.options.pedantic&&(this.rules=h.pedantic)}function i(e){this.options=e||{}}function o(e){this.tokens=[],this.token=null,this.options=e||f.defaults,this.options.renderer=this.options.renderer||new i,this.renderer=this.options.renderer,this.renderer.options=this.options}function a(e,t){return e.replace(t?/&/g:/&(?!#?\w+;)/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function s(e){return e.replace(/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\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;c1&&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;i.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 vr)r=vr[n],i=t[r],g(i)||(e[r]=i);return e}function y(e){v(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),yr===!1&&(yr=!0,n.updateOffset(this),yr=!1)}function $(e){return e instanceof y||null!=e&&null!=e._isAMomentObject}function b(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function w(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=b(t)),n}function x(e,t,n){var r,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(r=0;r0?"future":"past"];return _(n)?n(t):n.replace(/%s/i,t)}function P(e,t){var n=e.toLowerCase();Dr[n]=Dr[n+"s"]=Dr[t]=e}function L(e){return"string"==typeof e?Dr[e]||Dr[e.toLowerCase()]:void 0}function j(e){var t,n,r={};for(n in e)l(e,n)&&(t=L(n),t&&(r[t]=e[n]));return r}function R(e,t){Mr[e]=t}function U(e){var t=[];for(var n in e)t.push({unit:n,priority:Mr[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}function V(e,t){return function(r){return null!=r?(H(this,e,r),n.updateOffset(this,t),this):z(this,e)}}function z(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function H(e,t,n){e.isValid()&&e._d["set"+(e._isUTC?"UTC":"")+t](n)}function Y(e){return e=L(e),_(this[e])?this[e]():this}function q(e,t){if("object"==typeof e){e=j(e);for(var n=U(e),r=0;r=0;return(o?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}function B(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(Fr[e]=i),t&&(Fr[t[0]]=function(){return W(i.apply(this,arguments),t[1],t[2])}),n&&(Fr[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function G(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function Z(e){var t,n,r=e.match(Tr);for(t=0,n=r.length;t=0&&Ar.test(e);)e=e.replace(Ar,n),Ar.lastIndex=0,r-=1;return e}function X(e,t,n){Jr[e]=_(t)?t:function(e,r){return e&&n?n:t}}function K(e,t){return l(Jr,e)?Jr[e](t._strict,t._locale):new RegExp(ee(e))}function ee(e){return te(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i}))}function te(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function ne(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),"number"==typeof t&&(r=function(e,n){n[t]=w(e)}),n=0;n=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}function be(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function we(e,t,n){var r=7+t-n,i=(7+be(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 l<=0?(o=e-1,a=ge(o)+l):l>ge(e)?(o=e+1,a=l-ge(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 a<1?(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(ge(e)-r+i)/7}function Se(e){return ke(e,this._week.dow,this._week.doy).week}function _e(){return this._week.dow}function Ee(){return this._week.doy}function De(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Me(e){var t=ke(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Te(e,t){return"string"!=typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"==typeof e?e:null):parseInt(e,10)}function Ae(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Oe(e,t){return e?i(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:this._weekdays}function Fe(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Ie(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Ne(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=f([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?(i=wr.call(this._weekdaysParse,a),i!==-1?i:null):"ddd"===t?(i=wr.call(this._shortWeekdaysParse,a),i!==-1?i:null):(i=wr.call(this._minWeekdaysParse,a),i!==-1?i:null):"dddd"===t?(i=wr.call(this._weekdaysParse,a),i!==-1?i:(i=wr.call(this._shortWeekdaysParse,a),i!==-1?i:(i=wr.call(this._minWeekdaysParse,a),i!==-1?i:null))):"ddd"===t?(i=wr.call(this._shortWeekdaysParse,a),i!==-1?i:(i=wr.call(this._weekdaysParse,a),i!==-1?i:(i=wr.call(this._minWeekdaysParse,a),i!==-1?i:null))):(i=wr.call(this._minWeekdaysParse,a),i!==-1?i:(i=wr.call(this._weekdaysParse,a),i!==-1?i:(i=wr.call(this._shortWeekdaysParse,a),i!==-1?i:null)))}function Pe(e,t,n){var r,i,o;if(this._weekdaysParseExact)return Ne.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=f([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 Le(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Te(e,this.localeData()),this.add(e-t,"d")):t}function je(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 Re(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Ae(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Ue(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||He.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(l(this,"_weekdaysRegex")||(this._weekdaysRegex=yi),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Ve(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||He.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(l(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=$i),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function ze(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||He.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(l(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=bi),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function He(){function e(e,t){return t.length-e.length}var t,n,r,i,o,a=[],s=[],u=[],l=[];for(t=0;t<7;t++)n=f([2e3,1]).day(t),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),o=this.weekdays(n,""),a.push(r),s.push(i),u.push(o),l.push(r),l.push(i),l.push(o);for(a.sort(e),s.sort(e),u.sort(e),l.sort(e),t=0;t<7;t++)s[t]=te(s[t]),u[t]=te(u[t]),l[t]=te(l[t]);this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Ye(){return this.hours()%12||12}function qe(){return this.hours()||24}function We(e,t){B(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function Be(e,t){return t._meridiemParse}function Ge(e){return"p"===(e+"").toLowerCase().charAt(0)}function Ze(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}function Qe(e){return e?e.toLowerCase().replace("_","-"):e}function Je(e){for(var t,n,r,i,o=0;o0;){if(r=Xe(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&x(i,n,!0)>=t-1)break;t--}o++}return null}function Xe(n){var r=null;if(!Si[n]&&"undefined"!=typeof t&&t&&t.exports)try{r=wi._abbr,e("./locale/"+n),Ke(r)}catch(i){}return Si[n]}function Ke(e,t){var n;return e&&(n=g(t)?nt(e):et(e,t),n&&(wi=n)),wi._abbr}function et(e,t){if(null!==t){var n=Ci;return t.abbr=e,null!=Si[e]?(S("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=Si[e]._config):null!=t.parentLocale&&(null!=Si[t.parentLocale]?n=Si[t.parentLocale]._config:S("parentLocaleUndefined","specified parentLocale is not defined yet. See http://momentjs.com/guides/#/warnings/parent-locale/")),Si[e]=new M(D(n,t)),Ke(e),Si[e]}return delete Si[e],null}function tt(e,t){if(null!=t){var n,r=Ci;null!=Si[e]&&(r=Si[e]._config),t=D(r,t),n=new M(t),n.parentLocale=Si[e],Si[e]=n,Ke(e)}else null!=Si[e]&&(null!=Si[e].parentLocale?Si[e]=Si[e].parentLocale:null!=Si[e]&&delete Si[e]);return Si[e]}function nt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return wi;if(!i(e)){if(t=Xe(e))return t;e=[e]}return Je(e)}function rt(){return br(Si)}function it(e){var t,n=e._a;return n&&h(e).overflow===-2&&(t=n[ei]<0||n[ei]>11?ei:n[ti]<1||n[ti]>oe(n[Kr],n[ei])?ti:n[ni]<0||n[ni]>24||24===n[ni]&&(0!==n[ri]||0!==n[ii]||0!==n[oi])?ni:n[ri]<0||n[ri]>59?ri:n[ii]<0||n[ii]>59?ii:n[oi]<0||n[oi]>999?oi:-1,h(e)._overflowDayOfYear&&(tti)&&(t=ti),h(e)._overflowWeeks&&t===-1&&(t=ai),h(e)._overflowWeekday&&t===-1&&(t=si),h(e).overflow=t),e}function ot(e){var t,n,r,i,o,a,s=e._i,u=_i.exec(s)||Ei.exec(s);if(u){for(h(e).iso=!0,t=0,n=Mi.length;tge(i)&&(h(e)._overflowDayOfYear=!0),n=be(i,0,e._dayOfYear),e._a[ei]=n.getUTCMonth(),e._a[ti]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=o[t]=r[t];for(;t<7;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[ni]&&0===e._a[ri]&&0===e._a[ii]&&0===e._a[oi]&&(e._nextDay=!0,e._a[ni]=0),e._d=(e._useUTC?be:$e).apply(null,o),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[ni]=24)}}function ct(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=st(t.GG,e._a[Kr],ke($t(),1,4).year),r=st(t.W,1),i=st(t.E,1),(i<1||i>7)&&(u=!0)):(o=e._locale._week.dow,a=e._locale._week.doy,n=st(t.gg,e._a[Kr],ke($t(),o,a).year),r=st(t.w,1),null!=t.d?(i=t.d,(i<0||i>6)&&(u=!0)):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(u=!0)):i=o),r<1||r>Ce(n,o,a)?h(e)._overflowWeeks=!0:null!=u?h(e)._overflowWeekday=!0:(s=xe(n,r,i,o,a),e._a[Kr]=s.year,e._dayOfYear=s.dayOfYear)}function ft(e){if(e._f===n.ISO_8601)return void ot(e);e._a=[],h(e).empty=!0;var t,r,i,o,a,s=""+e._i,u=s.length,l=0;for(i=J(e._f,e._locale).match(Tr)||[],t=0;t0&&h(e).unusedInput.push(a),s=s.slice(s.indexOf(r)+r.length),l+=r.length),Fr[o]?(r?h(e).empty=!1:h(e).unusedTokens.push(o),ie(o,r,e)):e._strict&&!r&&h(e).unusedTokens.push(o);h(e).charsLeftOver=u-l,s.length>0&&h(e).unusedInput.push(s),e._a[ni]<=12&&h(e).bigHour===!0&&e._a[ni]>0&&(h(e).bigHour=void 0),h(e).parsedDateParts=e._a.slice(0),h(e).meridiem=e._meridiem,e._a[ni]=dt(e._locale,e._a[ni],e._meridiem),lt(e),it(e)}function dt(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(r=e.isPM(n),r&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function ht(e){var t,n,r,i,o;if(0===e._f.length)return h(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;ithis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Lt(){if(!g(this._isDSTShifted))return this._isDSTShifted;var e={};if(v(e,this),e=gt(e),e._a){var t=e._isUTC?f(e._a):$t(e._a);this._isDSTShifted=this.isValid()&&x(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function jt(){return!!this.isValid()&&!this._isUTC}function Rt(){return!!this.isValid()&&this._isUTC}function Ut(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function Vt(e,t){var n,r,i,o=e,a=null;return Ct(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:"number"==typeof e?(o={},t?o[t]=e:o.milliseconds=e):(a=Pi.exec(e))?(n="-"===a[1]?-1:1,o={y:0,d:w(a[ti])*n,h:w(a[ni])*n,m:w(a[ri])*n,s:w(a[ii])*n,ms:w(St(1e3*a[oi]))*n}):(a=Li.exec(e))?(n="-"===a[1]?-1:1,o={y:zt(a[2],n),M:zt(a[3],n),w:zt(a[4],n),d:zt(a[5],n),h:zt(a[6],n),m:zt(a[7],n),s:zt(a[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(i=Yt($t(o.from),$t(o.to)),o={},o.ms=i.milliseconds,o.M=i.months),r=new kt(o),Ct(e)&&l(e,"_locale")&&(r._locale=e._locale),r}function zt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Ht(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 Yt(e,t){var n;return e.isValid()&&t.isValid()?(t=Dt(t,e),e.isBefore(t)?n=Ht(e,t):(n=Ht(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function qt(e,t){return function(n,r){var i,o;return null===r||isNaN(+r)||(S(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),n="string"==typeof n?+n:n, -i=Vt(n,r),Wt(this,i,e),this}}function Wt(e,t,r,i){var o=t._milliseconds,a=St(t._days),s=St(t._months);e.isValid()&&(i=null==i||i,o&&e._d.setTime(e._d.valueOf()+o*r),a&&H(e,"Date",z(e,"Date")+a*r),s&&ce(e,z(e,"Month")+s*r),i&&n.updateOffset(e,a||s))}function Bt(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Gt(e,t){var r=e||$t(),i=Dt(r,this).startOf("day"),o=n.calendarFormat(this,i)||"sameElse",a=t&&(_(t[o])?t[o].call(this,r):t[o]);return this.format(a||this.localeData().calendar(o,this,$t(r)))}function Zt(){return new y(this)}function Qt(e,t){var n=$(e)?e:$t(e);return!(!this.isValid()||!n.isValid())&&(t=L(g(t)?"millisecond":t),"millisecond"===t?this.valueOf()>n.valueOf():n.valueOf()o&&(t=o),On.call(this,e,t,n,r,i))}function On(e,t,n,r,i){var o=xe(e,t,n,r,i),a=be(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function Fn(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function In(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 Nn(e,t){t[oi]=w(1e3*("0."+e))}function Pn(){return this._isUTC?"UTC":""}function Ln(){return this._isUTC?"Coordinated Universal Time":""}function jn(e){return $t(1e3*e)}function Rn(){return $t.apply(null,arguments).parseZone()}function Un(e){return e}function Vn(e,t,n,r){var i=nt(),o=f().set(r,t);return i[n](o,e)}function zn(e,t,n){if("number"==typeof e&&(t=e,e=void 0),e=e||"",null!=t)return Vn(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=Vn(e,r,n,"month");return i}function Hn(e,t,n,r){"boolean"==typeof e?("number"==typeof t&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,"number"==typeof t&&(n=t,t=void 0),t=t||"");var i=nt(),o=e?i._week.dow:0;if(null!=n)return Vn(t,(n+o)%7,r,"day");var a,s=[];for(a=0;a<7;a++)s[a]=Vn(t,(a+o)%7,r,"day");return s}function Yn(e,t){return zn(e,t,"months")}function qn(e,t){return zn(e,t,"monthsShort")}function Wn(e,t,n){return Hn(e,t,n,"weekdays")}function Bn(e,t,n){return Hn(e,t,n,"weekdaysShort")}function Gn(e,t,n){return Hn(e,t,n,"weekdaysMin")}function Zn(){var e=this._data;return this._milliseconds=Zi(this._milliseconds),this._days=Zi(this._days),this._months=Zi(this._months),e.milliseconds=Zi(e.milliseconds),e.seconds=Zi(e.seconds),e.minutes=Zi(e.minutes),e.hours=Zi(e.hours),e.months=Zi(e.months),e.years=Zi(e.years),this}function Qn(e,t,n,r){var i=Vt(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function Jn(e,t){return Qn(this,e,t,1)}function Xn(e,t){return Qn(this,e,t,-1)}function Kn(e){return e<0?Math.floor(e):Math.ceil(e)}function er(){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||o<=0&&a<=0&&s<=0||(o+=864e5*Kn(nr(s)+a),a=0,s=0),u.milliseconds=o%1e3,e=b(o/1e3),u.seconds=e%60,t=b(e/60),u.minutes=t%60,n=b(t/60),u.hours=n%24,a+=b(n/24),i=b(tr(a)),s+=i,a-=Kn(nr(i)),r=b(s/12),s%=12,u.days=a,u.months=s,u.years=r,this}function tr(e){return 4800*e/146097}function nr(e){return 146097*e/4800}function rr(e){var t,n,r=this._milliseconds;if(e=L(e),"month"===e||"year"===e)return t=this._days+r/864e5,n=this._months+tr(t),"month"===e?n:n/12;switch(t=this._days+Math.round(nr(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 ir(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*w(this._months/12)}function or(e){return function(){return this.as(e)}}function ar(e){return e=L(e),this[e+"s"]()}function sr(e){return function(){return this._data[e]}}function ur(){return b(this.days()/7)}function lr(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function cr(e,t,n){var r=Vt(e).abs(),i=fo(r.as("s")),o=fo(r.as("m")),a=fo(r.as("h")),s=fo(r.as("d")),u=fo(r.as("M")),l=fo(r.as("y")),c=i0,c[4]=n,lr.apply(null,c)}function fr(e){return void 0===e?fo:"function"==typeof e&&(fo=e,!0)}function dr(e,t){return void 0!==ho[e]&&(void 0===t?ho[e]:(ho[e]=t,!0))}function hr(e){var t=this.localeData(),n=cr(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function pr(){var e,t,n,r=po(this._milliseconds)/1e3,i=po(this._days),o=po(this._months);e=b(r/60),t=b(e/60),r%=60,e%=60,n=b(o/12),o%=12;var a=n,s=o,u=i,l=t,c=e,f=r,d=this.asSeconds();return d?(d<0?"-":"")+"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 mr,gr;gr=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;r68?1900:2e3)};var hi=V("FullYear",!0);B("w",["ww",2],"wo","week"),B("W",["WW",2],"Wo","isoWeek"),P("week","w"),P("isoWeek","W"),R("week",5),R("isoWeek",5),X("w",Rr),X("ww",Rr,Nr),X("W",Rr),X("WW",Rr,Nr),re(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=w(e)});var pi={dow:0,doy:6};B("d",0,"do","day"),B("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),B("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),B("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),B("e",0,0,"weekday"),B("E",0,0,"isoWeekday"),P("day","d"),P("weekday","e"),P("isoWeekday","E"),R("day",11),R("weekday",11),R("isoWeekday",11),X("d",Rr),X("e",Rr),X("E",Rr),X("dd",function(e,t){return t.weekdaysMinRegex(e)}),X("ddd",function(e,t){return t.weekdaysShortRegex(e)}),X("dddd",function(e,t){return t.weekdaysRegex(e)}),re(["dd","ddd","dddd"],function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:h(n).invalidWeekday=e}),re(["d","e","E"],function(e,t,n,r){t[r]=w(e)});var mi="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),gi="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),vi="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),yi=Qr,$i=Qr,bi=Qr;B("H",["HH",2],0,"hour"),B("h",["hh",2],0,Ye),B("k",["kk",2],0,qe),B("hmm",0,0,function(){return""+Ye.apply(this)+W(this.minutes(),2)}),B("hmmss",0,0,function(){return""+Ye.apply(this)+W(this.minutes(),2)+W(this.seconds(),2)}),B("Hmm",0,0,function(){return""+this.hours()+W(this.minutes(),2)}),B("Hmmss",0,0,function(){return""+this.hours()+W(this.minutes(),2)+W(this.seconds(),2)}),We("a",!0),We("A",!1),P("hour","h"),R("hour",13),X("a",Be),X("A",Be),X("H",Rr),X("h",Rr),X("HH",Rr,Nr),X("hh",Rr,Nr),X("hmm",Ur),X("hmmss",Vr),X("Hmm",Ur),X("Hmmss",Vr),ne(["H","HH"],ni),ne(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ne(["h","hh"],function(e,t,n){t[ni]=w(e),h(n).bigHour=!0}),ne("hmm",function(e,t,n){var r=e.length-2;t[ni]=w(e.substr(0,r)),t[ri]=w(e.substr(r)),h(n).bigHour=!0}),ne("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[ni]=w(e.substr(0,r)),t[ri]=w(e.substr(r,2)),t[ii]=w(e.substr(i)),h(n).bigHour=!0}),ne("Hmm",function(e,t,n){var r=e.length-2;t[ni]=w(e.substr(0,r)),t[ri]=w(e.substr(r))}),ne("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[ni]=w(e.substr(0,r)),t[ri]=w(e.substr(r,2)),t[ii]=w(e.substr(i))});var wi,xi=/[ap]\.?m?\.?/i,ki=V("Hours",!0),Ci={calendar:xr,longDateFormat:kr,invalidDate:Cr,ordinal:Sr,ordinalParse:_r,relativeTime:Er,months:li,monthsShort:ci,week:pi,weekdays:mi,weekdaysMin:vi,weekdaysShort:gi,meridiemParse:xi},Si={},_i=/^\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)?)?/,Ei=/^\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)?)?/,Di=/Z|[+-]\d\d(?::?\d\d)?/,Mi=[["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}/]],Ti=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Ai=/^\/?Date\((\-?\d+)/i;n.createFromInputFallback=C("value provided is not in a recognized ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),n.ISO_8601=function(){};var Oi=C("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=$t.apply(null,arguments);return this.isValid()&&e.isValid()?ethis?this:e:m()}),Ii=function(){return Date.now?Date.now():+new Date};_t("Z",":"),_t("ZZ",""),X("Z",Gr),X("ZZ",Gr),ne(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Et(Gr,e)});var Ni=/([\+\-]|\d\d)/gi;n.updateOffset=function(){};var Pi=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Li=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;Vt.fn=kt.prototype;var ji=qt(1,"add"),Ri=qt(-1,"subtract");n.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",n.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Ui=C("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)});B(0,["gg",2],0,function(){return this.weekYear()%100}),B(0,["GG",2],0,function(){return this.isoWeekYear()%100}),_n("gggg","weekYear"),_n("ggggg","weekYear"),_n("GGGG","isoWeekYear"),_n("GGGGG","isoWeekYear"),P("weekYear","gg"),P("isoWeekYear","GG"),R("weekYear",1),R("isoWeekYear",1),X("G",Wr),X("g",Wr),X("GG",Rr,Nr),X("gg",Rr,Nr),X("GGGG",Hr,Lr),X("gggg",Hr,Lr),X("GGGGG",Yr,jr),X("ggggg",Yr,jr),re(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=w(e)}),re(["gg","GG"],function(e,t,r,i){t[i]=n.parseTwoDigitYear(e)}),B("Q",0,"Qo","quarter"),P("quarter","Q"),R("quarter",7),X("Q",Ir),ne("Q",function(e,t){t[ei]=3*(w(e)-1)}),B("D",["DD",2],"Do","date"),P("date","D"),R("date",9),X("D",Rr),X("DD",Rr,Nr),X("Do",function(e,t){return e?t._ordinalParse:t._ordinalParseLenient}),ne(["D","DD"],ti),ne("Do",function(e,t){t[ti]=w(e.match(Rr)[0],10)});var Vi=V("Date",!0);B("DDD",["DDDD",3],"DDDo","dayOfYear"),P("dayOfYear","DDD"),R("dayOfYear",4),X("DDD",zr),X("DDDD",Pr),ne(["DDD","DDDD"],function(e,t,n){n._dayOfYear=w(e)}),B("m",["mm",2],0,"minute"),P("minute","m"),R("minute",14),X("m",Rr),X("mm",Rr,Nr),ne(["m","mm"],ri);var zi=V("Minutes",!1);B("s",["ss",2],0,"second"),P("second","s"),R("second",15),X("s",Rr),X("ss",Rr,Nr),ne(["s","ss"],ii);var Hi=V("Seconds",!1);B("S",0,0,function(){return~~(this.millisecond()/100)}),B(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),B(0,["SSS",3],0,"millisecond"),B(0,["SSSS",4],0,function(){return 10*this.millisecond()}),B(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),B(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),B(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),B(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),B(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),P("millisecond","ms"),R("millisecond",16),X("S",zr,Ir),X("SS",zr,Nr),X("SSS",zr,Pr);var Yi;for(Yi="SSSS";Yi.length<=9;Yi+="S")X(Yi,qr);for(Yi="S";Yi.length<=9;Yi+="S")ne(Yi,Nn);var qi=V("Milliseconds",!1);B("z",0,0,"zoneAbbr"),B("zz",0,0,"zoneName");var Wi=y.prototype;Wi.add=ji,Wi.calendar=Gt,Wi.clone=Zt,Wi.diff=nn,Wi.endOf=mn,Wi.format=sn,Wi.from=un,Wi.fromNow=ln,Wi.to=cn,Wi.toNow=fn,Wi.get=Y,Wi.invalidAt=Cn,Wi.isAfter=Qt,Wi.isBefore=Jt,Wi.isBetween=Xt,Wi.isSame=Kt,Wi.isSameOrAfter=en,Wi.isSameOrBefore=tn,Wi.isValid=xn,Wi.lang=Ui,Wi.locale=dn,Wi.localeData=hn,Wi.max=Fi,Wi.min=Oi,Wi.parsingFlags=kn,Wi.set=q,Wi.startOf=pn,Wi.subtract=Ri,Wi.toArray=$n,Wi.toObject=bn,Wi.toDate=yn,Wi.toISOString=an,Wi.toJSON=wn,Wi.toString=on,Wi.unix=vn,Wi.valueOf=gn,Wi.creationData=Sn,Wi.year=hi,Wi.isLeapYear=ye,Wi.weekYear=En,Wi.isoWeekYear=Dn,Wi.quarter=Wi.quarters=Fn,Wi.month=fe,Wi.daysInMonth=de,Wi.week=Wi.weeks=De,Wi.isoWeek=Wi.isoWeeks=Me,Wi.weeksInYear=Tn,Wi.isoWeeksInYear=Mn,Wi.date=Vi,Wi.day=Wi.days=Le,Wi.weekday=je,Wi.isoWeekday=Re,Wi.dayOfYear=In,Wi.hour=Wi.hours=ki,Wi.minute=Wi.minutes=zi,Wi.second=Wi.seconds=Hi,Wi.millisecond=Wi.milliseconds=qi,Wi.utcOffset=Tt,Wi.utc=Ot,Wi.local=Ft,Wi.parseZone=It,Wi.hasAlignedHourOffset=Nt,Wi.isDST=Pt,Wi.isLocal=jt,Wi.isUtcOffset=Rt,Wi.isUtc=Ut,Wi.isUTC=Ut,Wi.zoneAbbr=Pn,Wi.zoneName=Ln,Wi.dates=C("dates accessor is deprecated. Use date instead.",Vi),Wi.months=C("months accessor is deprecated. Use month instead",fe),Wi.years=C("years accessor is deprecated. Use year instead",hi),Wi.zone=C("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",At),Wi.isDSTShifted=C("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Lt);var Bi=Wi,Gi=M.prototype;Gi.calendar=T,Gi.longDateFormat=A,Gi.invalidDate=O,Gi.ordinal=F,Gi.preparse=Un,Gi.postformat=Un,Gi.relativeTime=I,Gi.pastFuture=N,Gi.set=E,Gi.months=ae,Gi.monthsShort=se,Gi.monthsParse=le,Gi.monthsRegex=pe,Gi.monthsShortRegex=he,Gi.week=Se,Gi.firstDayOfYear=Ee,Gi.firstDayOfWeek=_e,Gi.weekdays=Oe,Gi.weekdaysMin=Ie,Gi.weekdaysShort=Fe,Gi.weekdaysParse=Pe,Gi.weekdaysRegex=Ue,Gi.weekdaysShortRegex=Ve,Gi.weekdaysMinRegex=ze,Gi.isPM=Ge,Gi.meridiem=Ze,Ke("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===w(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),n.lang=C("moment.lang is deprecated. Use moment.locale instead.",Ke),n.langData=C("moment.langData is deprecated. Use moment.localeData instead.",nt);var Zi=Math.abs,Qi=or("ms"),Ji=or("s"),Xi=or("m"),Ki=or("h"),eo=or("d"),to=or("w"),no=or("M"),ro=or("y"),io=sr("milliseconds"),oo=sr("seconds"),ao=sr("minutes"),so=sr("hours"),uo=sr("days"),lo=sr("months"),co=sr("years"),fo=Math.round,ho={s:45,m:45,h:22,d:26,M:11},po=Math.abs,mo=kt.prototype;mo.abs=Zn,mo.add=Jn,mo.subtract=Xn,mo.as=rr,mo.asMilliseconds=Qi,mo.asSeconds=Ji,mo.asMinutes=Xi,mo.asHours=Ki,mo.asDays=eo,mo.asWeeks=to,mo.asMonths=no,mo.asYears=ro,mo.valueOf=ir,mo._bubble=er,mo.get=ar,mo.milliseconds=io,mo.seconds=oo,mo.minutes=ao,mo.hours=so,mo.days=uo,mo.weeks=ur,mo.months=lo,mo.years=co,mo.humanize=hr,mo.toISOString=pr,mo.toString=pr,mo.toJSON=pr,mo.locale=dn,mo.localeData=hn,mo.toIsoString=C("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",pr),mo.lang=Ui,B("X",0,0,"unix"),B("x",0,0,"valueOf"),X("x",Wr),X("X",Zr),ne("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),ne("x",function(e,t,n){n._d=new Date(w(e))}),n.version="2.15.2",r($t),n.fn=Bi,n.min=wt,n.max=xt,n.now=Ii,n.utc=f,n.unix=jn,n.months=Yn,n.isDate=s,n.locale=Ke,n.invalid=m,n.duration=Vt,n.isMoment=$,n.weekdays=Wn,n.parseZone=Rn,n.localeData=nt,n.isDuration=Ct,n.monthsShort=qn,n.weekdaysMin=Gn,n.defineLocale=et,n.updateLocale=tt,n.locales=rt,n.weekdaysShort=Bn,n.normalizeUnits=L,n.relativeTimeRounding=fr,n.relativeTimeThreshold=dr,n.calendarFormat=Bt,n.prototype=Bi;var go=n;return go})},{}],14:[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,y=a.Number.parseFloat||a.parseFloat,$=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;e=0&&(q=l(function(){"boolean"!=typeof U.deactivated&&(U.deactivated=!0),U.deactivated===!0&&Ge.emit({type:"error",name:"flash-deactivated"})},t)),U.overdue=!1,De()}},se=function(){Ge.clearData(),Ge.blur(),Ge.emit("destroy"),Me(),Ge.off()},ue=function(e,t){var n;if("object"==typeof e&&e&&"undefined"==typeof t)n=e,Ge.clearData();else{if("string"!=typeof e||!e)return;n={},n[e]=t}for(var r in n)"string"==typeof r&&r&&k.call(n,r)&&"string"==typeof n[r]&&n[r]&&(H[r]=n[r])},le=function(e){"undefined"==typeof e?(A(H),Y=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&&(je(i,X.activeClass),i!==e&&je(i,X.hoverClass)),i=e,Le(e,X.hoverClass);var t=e.getAttribute("title")||X.title;if("string"==typeof t&&t){var n=Ee(U.bridge);n&&n.setAttribute("title",t)}var r=X.forceHandCursor===!0||"pointer"===Re(e,"cursor");Ye(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&&(je(i,X.hoverClass),je(i,X.activeClass),i=null)},he=function(){return i||null},pe=function(e){return"string"==typeof e&&e&&/^[A-Za-z][A-Za-z0-9_:\-\.]*$/.test(e)},me=function(e){var t;if("string"==typeof e&&e?(t=e,e={}):"object"==typeof e&&e&&"string"==typeof e.type&&e.type&&(t=e.type),t){t=t.toLowerCase(),!e.target&&(/^(copy|aftercopy|_click)$/.test(t)||"error"===t&&"clipboard-error"===e.name)&&(e.target=o),E(e,{type:t,target:e.target||i||null,relatedTarget:e.relatedTarget||null,currentTarget:U&&U.bridge||null,timeStamp:e.timeStamp||b()||null});var n=B[e.type];return"error"===e.type&&e.name&&n&&(n=n[e.name]),n&&(e.message=n),"ready"===e.type&&E(e,{target:null,version:U.version}),"error"===e.type&&(Q.test(e.name)&&E(e,{target:null, -minimumVersion:V}),J.test(e.name)&&E(e,{version:U.version})),"copy"===e.type&&(e.clipboardData={setData:Ge.setData,clearData:Ge.clearData}),"aftercopy"===e.type&&(e=Ae(e,Y)),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,y="number"==typeof e.movementX?e.movementX:0,$="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:y,movementY:$,offsetX:0,offsetY:0,layerX:0,layerY:0})}return e},ye=function(e){var t=e&&"string"==typeof e.type&&e.type||"";return!/^(?:(?:before)?copy|destroy)$/.test(t)},$e=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=ye(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;o0){var t=D(e);E(t,{type:"error",name:"clipboard-error"}),delete t.success,l(function(){Ge.emit(t)},0)}},Ce=function(e){if(e&&"string"==typeof e.type&&e){var t,n=e.target||null,r=n&&n.ownerDocument||s,i={view:r.defaultView||a,canBubble:!0,cancelable:!0,detail:"click"===e.type?1:0,button:"number"==typeof e.which?e.which-1:"number"==typeof e.button?e.button:r.createEvent?0:1},o=E(i,e);n&&r.createEvent&&n.dispatchEvent&&(o=[o.type,o.canBubble,o.cancelable,o.view,o.detail,o.screenX,o.screenY,o.clientX,o.clientY,o.ctrlKey,o.altKey,o.shiftKey,o.metaKey,o.button,o.relatedTarget],t=r.createEvent("MouseEvents"),t.initMouseEvent&&(t.initMouseEvent.apply(t,o),t._source="js",n.dispatchEvent(t)))}},Se=function(){var e=X.flashLoadTimeout;if("number"==typeof e&&e>=0){var t=Math.min(1e3,e/10),n=X.swfObjectId+"_fallbackContent";W=f(function(){var e=s.getElementById(n);Ve(e)&&(ze(),U.deactivated=null,Ge.emit({type:"error",name:"swf-not-found"}))},t)}},_e=function(){var e=s.createElement("div");return e.id=X.containerId,e.className=X.containerClass,e.style.position="absolute",e.style.left="0px",e.style.top="-9999px",e.style.width="1px",e.style.height="1px",e.style.zIndex=""+qe(X.zIndex),e},Ee=function(e){for(var t=e&&e.parentNode;t&&"OBJECT"===t.nodeName&&t.parentNode;)t=t.parentNode;return t||null},De=function(){var e,t=U.bridge,n=Ee(t);if(!t){var r=Ne(a.location.host,X),i="never"===r?"none":"all",o=Fe(E({jsVersion:Ge.version},X)),u=X.swfPath+Oe(X.swfPath,X);n=_e();var l=s.createElement("div");n.appendChild(l),s.body.appendChild(n);var c=s.createElement("div"),f="activex"===U.pluginType;c.innerHTML='"+(f?'':"")+'
     
    ',t=c.firstChild,c=null,S(t).ZeroClipboard=Ge,n.replaceChild(t,l),Se()}return t||(t=s[X.swfObjectId],t&&(e=t.length)&&(t=t[e-1]),!t&&n&&(t=n.firstChild)),U.bridge=t||null,t},Me=function(){var e=U.bridge;if(e){var t=Ee(e);t&&("activex"===U.pluginType&&"readyState"in e?(e.style.display="none",function i(){if(4===e.readyState){for(var n in e)"function"==typeof e[n]&&(e[n]=null);e.parentNode&&e.parentNode.removeChild(e),t.parentNode&&t.parentNode.removeChild(t)}else l(i,10)}()):(e.parentNode&&e.parentNode.removeChild(e),t.parentNode&&t.parentNode.removeChild(t))),ze(),U.ready=null,U.bridge=null,U.deactivated=null,r=n}},Te=function(e){var t={},n={};if("object"==typeof e&&e){for(var r in e)if(r&&k.call(e,r)&&"string"==typeof e[r]&&e[r])switch(r.toLowerCase()){case"text/plain":case"text":case"air:text":case"flash:text":t.text=e[r],n.text=r;break;case"text/html":case"html":case"air:html":case"flash:html":t.html=e[r],n.html=r;break;case"application/rtf":case"text/rtf":case"rtf":case"richtext":case"air:rtf":case"flash:rtf":t.rtf=e[r],n.rtf=r}return{data:t,formatMap:n}}},Ae=function(e,t){if("object"!=typeof e||!e||"object"!=typeof t||!t)return e;var n={};for(var r in e)if(k.call(e,r))if("errors"===r){n[r]=e[r]?e[r].slice():[];for(var i=0,o=n[r].length;i0){if(1===o&&"*"===i[0])return"always";if(i.indexOf(t)!==-1)return 1===o&&t===r?"sameDomain":"always"}return"never"}}(),Pe=function(){try{return s.activeElement}catch(e){return null}},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)for(n=0,r=o.length;n0)if(e.classList&&e.classList.length>0)for(n=0,r=o.length;n0,r=y(t.width)>0,i=y(t.top)>=0,o=y(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(q),q=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:""+qe(X.zIndex)})}},Ye=function(e){U.ready===!0&&(U.bridge&&"function"==typeof U.bridge.setHandCursor?U.bridge.setHandCursor(e):U.ready=!1)},qe=function(e){if(/^(?:auto|inherit)$/.test(e))return e;var t;return"number"!=typeof e||$(e)?"string"==typeof e&&(t=qe(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&&y(f)0,i=!e.target||r&&n.indexOf(e.target)!==-1,o=e.relatedTarget&&r&&n.indexOf(e.relatedTarget)!==-1,a=e.client&&e.client===this;return!(!t||!(i||o||a))},ct=function(e){var t=Qe[this.id];if("object"==typeof e&&e&&e.type&&t){var n=ye(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;s tr",containment:"parent",axis:"y"},e.addEmptyTag=i,o(),e.tagChange=function(t){var n=e.tags.indexOf(t);n===e.tags.length-1&&(""===t.name&&""===t.value||i())},e.tagBlur=function(t){var n=e.tags.length-1===e.tags.indexOf(t);if(""===t.name&&""===t.value&&!n){var r=e.tags.indexOf(t);e.tags.splice(r,1)}},e.saveTags=function(){a();var r={tags:e.tags},o=window.baseUrl("/ajax/tags/update/page/"+s);t.post(o,r).then(function(t){e.tags=t.data.tags,i(),n.emit("success",t.data.message)})},e.removeTag=function(t){var n=e.tags.indexOf(t);e.tags.splice(n,1)}}]),t.controller("PageAttachmentController",["$scope","$http","$attrs",function(e,t,r){function i(){return{page_id:l}}function o(r,i){var o=e.files.map(function(e){return e.id}).join(":");o!==c&&(c=o,t.put(window.baseUrl("/attachments/sort/page/"+l),{files:e.files}).then(function(e){n.emit("success",e.data.message)},u("sort")))}function a(){var n=window.baseUrl("/attachments/get/page/"+l);t.get(n).then(function(t){e.files=t.data,c=t.data.map(function(e){return e.id}).join(":")},u("get"))}function s(t){for(var n=0;n tr",containment:"parent",axis:"y",stop:o},e.getUploadUrl=function(e){var t="undefined"!=typeof e?"/"+e.id:"";return window.baseUrl("/attachments/upload"+t)},a(),e.uploadSuccess=function(t,r){e.$apply(function(){e.files.push(r)}),n.emit("success","File uploaded")},e.uploadSuccessUpdate=function(t,r){e.$apply(function(){var t=s(r);t!==-1&&(e.files[t]=r),e.editFile&&(e.editFile=angular.copy(r),r.link="")}),n.emit("success","File updated")},e.deleteFile=function(r){return r.deleting?void t["delete"](window.baseUrl("/attachments/"+r.id)).then(function(t){n.emit("success",t.data.message),e.files.splice(e.files.indexOf(r),1)},u("delete")):void(r.deleting=!0)},e.attachLinkSubmit=function(r){r.uploaded_to=l,t.post(window.baseUrl("/attachments/link"),r).then(function(t){e.files.push(t.data),n.emit("success","Link attached"),e.file=i()},u("link"))},e.startEdit=function(t){e.editFile=angular.copy(t),e.editFile.link=t.external?t.path:""},e.cancelEdit=function(){e.editFile=!1},e.updateFile=function(r){t.put(window.baseUrl("/attachments/"+r.id),r).then(function(t){var i=s(t.data);i!==-1&&(e.files[i]=t.data),e.editFile&&!r.external&&(e.editFile.link=""),e.editFile=!1,n.emit("success","Attachment details updated")},u("edit"))},e.getFileUrl=function(e){return window.baseUrl("/attachments/"+e.id)}}])};var i=e("moment"),o=r(i);e("moment/locale/en-gb"),o["default"].locale("en-gb")},{"./pages/page-form":18,moment:13,"moment/locale/en-gb":12}],16:[function(e,t,n){"use strict";var r=e("dropzone"),i=e("marked");t.exports=function(e,t){e.directive("toggleSwitch",function(){return{restrict:"A",template:'\n
    \n \n
    \n
    \n ',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("tabContainer",function(){return{restrict:"A",link:function(e,t,n){var r=t.find("[tab-content]"),i=t.find("[tab-button]");if(n.tabContainer){var o=n.tabContainer;i.filter('[tab-button="'+o+'"]').addClass("selected"),r.hide().filter('[tab-content="'+o+'"]').show()}else r.hide().first().show(),i.first().addClass("selected");i.click(function(){var e=$(this);i.removeClass("selected"),r.hide();var t=e.addClass("selected").attr("tab-button");r.filter('[tab-content="'+t+'"]').show()})}}}),e.directive("subForm",function(){return{restrict:"A",link:function(e,t,n){function r(t){t.preventDefault(),n.subForm&&e.$eval(n.subForm)}t.on("keypress",function(e){13===e.keyCode&&r(e)}),t.find('button[type="submit"]').click(r)}}}),e.directive("imagePicker",["$http","imageManagerService",function(e,t){return{restrict:"E",template:'\n
    \n
    \n Image Preview\n Image Preview\n
    \n \n
    \n\n \n |\n \n\n \n
    \n ',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;a=window.baseUrl(a),e.get(a).then(function(e){o(t,e.data.url)})}}}}]),e.directive("dropZone",[function(){return{restrict:"E",template:'\n
    \n
    Drop files or click here to upload
    \n
    \n ',scope:{uploadUrl:"@",eventSuccess:"=",eventError:"=",uploadedTo:"@"},link:function(e,t,n){n.placeholder&&(t[0].querySelector(".dz-message").textContent=n.placeholder);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)}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");var e=r.find("input"),n=e.length>0;n&&(e.first().focus(),t.on("keypress","input",function(e){if(13===e.keyCode)return e.preventDefault(),r.hide(),r.removeClass("anim menuIn"),!1})),t.mouseleave(function(){r.hide(),r.removeClass("anim menuIn")})})}}}]),e.directive("tinymce",["$timeout",function(e){return{restrict:"A",scope:{tinymce:"=",mceModel:"=",mceChange:"="},link:function(t,n,r){function i(n){n.on("ExecCommand change NodeChange ObjectResized",function(r){var i=n.getContent();e(function(){t.mceModel=i}),t.mceChange(i)}),n.on("keydown",function(e){t.$emit("editor-keydown",e)}),n.on("init",function(e){t.mceModel=n.getContent()}),t.$on("html-update",function(e,r){n.setContent(r),n.selection.select(n.getBody(),!0),n.selection.collapse(!1),t.mceModel=n.getContent()})}t.tinymce.extraSetups.push(i),tinymce.PluginManager.add("customhr",function(e){e.addCommand("InsertHorizontalRule",function(){var t=document.createElement("hr"),n=e.selection.getNode(),r=n.parentNode;r.insertBefore(t,n)}),e.addButton("hr",{icon:"hr",tooltip:"Horizontal line",cmd:"InsertHorizontalRule"}),e.addMenuItem("hr",{icon:"hr",text:"Horizontal line",cmd:"InsertHorizontalRule",context:"insert"})}),tinymce.init(t.tinymce)}}}]),e.directive("markdownInput",["$timeout",function(e){return{restrict:"A",scope:{mdModel:"=",mdChange:"="},link:function(t,n,r){n=n.find("textarea").first();var o=n.val();t.mdModel=o,t.mdChange(i(o)),n.on("change input",function(r){o=n.val(),e(function(){t.mdModel=o,t.mdChange(i(o))})}),t.$on("markdown-update",function(e,r){n.val(r),t.mdModel=r,t.mdChange(i(r))})}}}]),e.directive("markdownEditor",["$timeout",function(e){return{restrict:"A",link:function(e,t,n){function r(){h=u[0].scrollHeight,p=u.height(),m=l[0].scrollHeight,g=l.height()}function i(){window.showEntityLinkSelector(function(e){var t=d,n=u[0].selectionEnd,r=n!==t,i=u.val();if(r){var o=i.substring(t,n),a="["+o+"]("+e.link+")";u.val(i.substring(0,t)+a+i.substring(n))}else{var s=" ["+e.name+"]("+e.link+") ";u.val(i.substring(0,t)+s+i.substring(t))}u.change()})}function o(e){if(e=e.originalEvent,e.clipboardData){var t=e.clipboardData.items;if(t)for(var n=0;na?"!["+c+"]":"![]")+("("+f+")");u[0].value=l.substring(0,a)+d+l.substring(s),u.focus(),u[0].selectionStart=a,u[0].selectionEnd=a;var h="image-"+Date.now()+"."+n;t.append("file",e,h),t.append("_token",document.querySelector('meta[name="token"]').getAttribute("content")),r.open("POST",window.baseUrl("/images/gallery/upload")),r.onload=function(){var e=u[0].selectionStart;if(200===r.status||201===r.status){var t=JSON.parse(r.responseText);u[0].value=u[0].value.replace(f,t.thumbs.display),u.change()}else u[0].value=u[0].value.replace(d,""),u.change();u.focus(),u[0].selectionStart=e,u[0].selectionEnd=e},r.send(t)}}var u=t.find("[markdown-input] textarea").first(),l=t.find(".markdown-display").first(),c=t.find('button[data-action="insertImage"]'),f=t.find('button[data-action="insertEntityLink"]'),d=0;u.blur(function(e){d=u[0].selectionStart});var h=void 0,p=void 0,m=void 0,g=void 0;setTimeout(function(){r()},200),window.addEventListener("resize",r);var v=800,y=0;u.on("scroll",function(e){var t=Date.now();t-y>v&&r();var n=u.scrollTop()/(h-p),i=(m-g)*n;l.scrollTop(i),y=t}),u.keydown(function(t){if(73===t.which&&t.ctrlKey&&t.shiftKey){t.preventDefault();var n=u[0].selectionStart,r=u.val(),o="![](http://)";return u.val(r.substring(0,n)+o+r.substring(n)),u.focus(),u[0].selectionStart=n+"![](".length,void(u[0].selectionEnd=n+"![](http://".length)}return 75===t.which&&t.ctrlKey&&t.shiftKey?void i():void e.$emit("editor-keydown",t)}),c.click(function(e){window.ImageManager.showExternal(function(e){var t=d,n=u.val(),r="!["+e.name+"]("+e.thumbs.display+")";u.val(n.substring(0,t)+r+n.substring(t)),u.change()})}),f.click(i),u.on("paste",o),u.on("drop",a)}}}]),e.directive("toolbox",[function(){return{restrict:"A",link:function(e,t,n){function r(e,n){i.removeClass("active"),o.hide(),i.filter('[toolbox-tab-button="'+e+'"]').addClass("active"),o.filter('[toolbox-tab-content="'+e+'"]').show(),n&&t.addClass("open")}var i=t.find("[toolbox-tab-button]"),o=t.find("[toolbox-tab-content]"),a=t.find("[toolbox-toggle]");a.click(function(e){t.toggleClass("open")}),r(o.first().attr("toolbox-tab-content"),!1),i.click(function(e){var t=$(this).attr("toolbox-tab-button");r(t,!0)})}}}]),e.directive("tagAutosuggestions",["$http",function(e){return{restrict:"A",link:function(t,n,r){function i(e,t){t[h].className="",h=e,t[h].className="active"}function o(e,t){if(0===t.length)return c.hide(),f=!1,void(m=t);if(f||(c.show(),f=!0),e!==d&&(c.detach(),e.after(c),d=e),m.join()===t.join())return void(m=t);c[0].innerHTML="";for(var n=0;n=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(){var e=document.documentElement.scrollTop||document.body.scrollTop||0;!i&&e>a?(o.style.display="block",i=!0,setTimeout(function(){o.style.opacity=.4},1)):i&&e0||navigator.userAgent.indexOf("Safari")!==-1)&&$("body").addClass("flexbox-support")}),e("./pages/page-show")},{"./controllers":15,"./directives":16,"./pages/page-show":19,"./services":20,angular:9,"angular-animate":2,"angular-resource":4,"angular-sanitize":6,"angular-ui-sortable":7}],18:[function(e,t,n){"use strict";function r(e,t){if(e.clipboardData){var n=e.clipboardData.items;if(n)for(var r=function(e){if(n[e].type.indexOf("image")===-1)return{v:void 0};var r=n[e].getAsFile(),i=new FormData,o="png",a=new XMLHttpRequest;if(r.name){var s=r.name.match(/\.(.+)$/);s&&(o=s[1])}var u="image-"+Math.random().toString(16).slice(2),l=window.baseUrl("/loading.gif");t.execCommand("mceInsertContent",!1,'');var c="image-"+Date.now()+"."+o;i.append("file",r,c),i.append("_token",document.querySelector('meta[name="token"]').getAttribute("content")),a.open("POST",window.baseUrl("/images/gallery/upload")),a.onload=function(){if(200===a.status||201===a.status){var e=JSON.parse(a.responseText);t.dom.setAttrib(u,"src",e.thumbs.display)}else t.dom.remove(u)},a.send(i)},i=0;i';i+=''+t.name+'',i+="
    ",r.tinyMCE.activeEditor.execCommand("mceInsertContent",!1,i)})},paste_preprocess:function(e,t){var n=t.content;n.indexOf('';n+=''+t.name+'',n+="",e.execCommand("mceInsertContent",!1,n)})}}),e.on("paste",function(t){r(t,e)})}}},{}],19:[function(e,t,n){"use strict";var r=e("zeroclipboard");r.config({swfPath:window.baseUrl("/ZeroClipboard.swf")}),window.setupPageShow=t.exports=function(e){function t(e){var t=$(".page-content #"+e).first();0!==t.length?(t.smoothScrollTo(),t.css("background-color","rgba(244, 249, 54, 0.25)")):$(".page-content").find(':contains("'+e+'")').smoothScrollTo()}function n(){d.width(h.width()+15),d.addClass("fixed"),g=!0}function i(){d.css("width","auto"),d.removeClass("fixed"),g=!1}function o(e){var t=f.scrollTop()>m;!t||g&&!e?t||!g&&!e||i():n()}function a(){o(!1)}var s=$("#pointer").detach(),u=s.children("div.pointer").first(),l=!1;if(s.on("click","input",function(e){$(this).select(),e.stopPropagation()}),new r(s.find("button").first()[0]),$(document.body).find("*").on("click focus",function(e){l||s.detach()}),$('.page-content [id^="bkmrk"]').on("mouseup keyup",function(t){t.stopPropagation();var n=window.getSelection();if(0!==n.toString().length){var r=$(this),i=window.baseUrl("/link/"+e+"#"+r.attr("id"));0!==i.indexOf("http")&&(i=window.location.protocol+"//"+window.location.host+i),s.find("input").val(i),s.find("button").first().attr("data-clipboard-text",i),r.before(s),s.show();var o=t.pageX-r.offset().left-u.width()/2;o<0&&(o=0);var a=o/r.width()*100;u.css("left",a+"%"),l=!0,setTimeout(function(){l=!1},100)}}),window.location.hash){var c=window.location.hash.replace(/\%20/g," ").substr(1);t(c)}var f=$(window),d=$(".book-tree"),h=d.parent(),p=$(document).height()>f.height()&&d.height()<$(".page-content").height(),m=$("#header").height()+$(".toolbar").height(),g=f.scrollTop()>m;p&&f.width()>1e3&&(f.on("scroll",a),o(!0)),f.on("resize",function(e){p&&f.width()>1e3?(f.on("scroll",a),o(!0)):(f.off("scroll",a),i())})}},{zeroclipboard:14}],20:[function(e,t,n){"use strict";t.exports=function(e,t){e.factory("imageManagerService",function(){return{show:!1,showExternal:!1}})}},{}]},{},[17]); \ 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 a(e,t){var n=e.indexOf(t);t>=0&&e.splice(n,1)}function s(e){if(e instanceof ne)switch(e.length){case 0:return e;case 1:if(e[0].nodeType===I)return e;break;default:return ne(u(e))}if(e.nodeType===I)return ne(e)}function u(e){if(!e[0])return e;for(var t=0;t=0)&&(n=M(n)),0===n&&(n=null),r[t]=n}}),r}function M(e){var t=0,n=e.split(/\s*,\s*/);return G(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 D(e,t){var n=F,r=e+"s";return t?n+=ie:r+=" linear all",[n,r]}function T(){var e=Object.create(null);return{flush:function(){e=Object.create(null)},count:function(t){var n=e[t];return n?n.total:0},get:function(t){var n=e[t];return n&&n.value},put:function(t,n){e[t]?e[t].total++:e[t]={total:1,value:n}}}}function O(e,t,n){G(n,function(n){e[n]=Q(e[n])?e[n]:t.style.getPropertyValue(n)})}var F,L,P,N,I=1,R="-add",U="-remove",j="ng-",V="-active",H="-prepare",z="ng-animate",q="$$ngAnimateChildren",Y="";void 0===e.ontransitionend&&void 0!==e.onwebkittransitionend?(Y="-webkit-",F="WebkitTransition",L="webkitTransitionEnd transitionend"):(F="transition",L="transitionend"),void 0===e.onanimationend&&void 0!==e.onwebkitanimationend?(Y="-webkit-",P="WebkitAnimation",N="webkitAnimationEnd animationend"):(P="animation",N="animationend");var W,B,G,Z,Q,J,K,X,ee,te,ne,re,ie="Duration",oe="Property",ae="Delay",se="TimingFunction",ue="IterationCount",le="PlayState",ce=9999,fe=P+ae,de=P+ie,he=F+ae,pe=F+ie,me=t.$$minErr("ng"),ge=["$$rAF",function(e){function t(e){r=r.concat(e),n()}function n(){if(r.length){for(var t=r.shift(),o=0;o0&&(l=n.get(s),!l)){var c=o(a,"-stagger");r.addClass(i,c),l=E(e,i,u),l.animationDuration=Math.max(l.animationDuration,0),l.transitionDuration=Math.max(l.transitionDuration,0),r.removeClass(i,c),n.put(s,l)}return l||{}}function M(e){z.push(e),g.waitUntilQuiet(function(){t.flush(),n.flush();for(var e=l(),r=0;r=ne&&r>=ie&&(K=!0,g())}function z(){function t(){if(!Q){if(b(!1),G(le,function(e){var t=e[0],n=e[1];B.style[t]=n}),I(e,q),r.addClass(e,Ce),Ue.recalculateTimingStyles){if(_e=B.getAttribute("class")+" "+xe,Me=y(B,_e),Ie=T(B,_e,Me),Re=Ie.maxDelay,te=Math.max(Re,0),ie=Ie.maxDuration,0===ie)return void g();Ue.hasTransitions=Ie.transitionDuration>0,Ue.hasAnimations=Ie.animationDuration>0}if(Ue.applyAnimationDelay&&(Re="boolean"!=typeof q.delay&&A(q.delay)?parseFloat(q.delay):Re,te=Math.max(Re,0),Ie.animationDelay=Re,je=S(Re,!0),le.push(je),B.style[je[0]]=je[1]),ne=te*ye,ae=ie*ye,q.easing){var t,i=q.easing;Ue.hasTransitions&&(t=F+se,le.push([t,i]),B.style[t]=i),Ue.hasAnimations&&(t=P+se,le.push([t,i]),B.style[t]=i)}Ie.transitionDuration&&he.push(L),Ie.animationDuration&&he.push(N),ue=Date.now();var o=ne+we*ae,a=ue+o,s=e.data($e)||[],l=!0;if(s.length){var c=s[0];l=a>c.expectedEndTime,l?u.cancel(c.timer):s.push(g)}if(l){var f=u(n,o,!1);s[0]={timer:f,expectedEndTime:a},s.push(g),e.data($e,s)}he.length&&e.on(he.join(" "),H),q.to&&(q.cleanupStyles&&O(Y,B,Object.keys(q.to)),m(e,q))}}function n(){var t=e.data($e);if(t){for(var n=1;n0&&(Ie.transitionDuration&&0===Ae.transitionDuration||Ie.animationDuration&&0===Ae.animationDuration)&&Math.max(Ae.animationDelay,Ae.transitionDelay);o?u(t,Math.floor(o*Pe*ye),!1):t(),ee.resume=function(){i(!0)},ee.pause=function(){i(!1)}}}var q=n||{};q.$$prepared||(q=d(W(q)));var Y={},B=$(e);if(!B||!B.parentNode||!v.enabled())return E();var Q,J,K,X,ee,te,ne,ie,ae,ue,le=[],fe=e.attr("class"),de=i(q),he=[];if(0===q.duration||!c.animations&&!c.transitions)return E();var pe=q.event&&Z(q.event)?q.event.join(" "):q.event,me=pe&&q.structural,ge="",ve="";me?ge=o(pe,j,!0):pe&&(ge=pe),q.addClass&&(ve+=o(q.addClass,R)),q.removeClass&&(ve.length&&(ve+=" "),ve+=o(q.removeClass,U)),q.applyClassesEarly&&ve.length&&I(e,q);var xe=[ge,ve].join(" ").trim(),_e=fe+" "+xe,Ce=o(xe,V),Se=de.to&&Object.keys(de.to).length>0,Ee=(q.keyframeStyle||"").length>0;if(!Ee&&!Se&&!xe)return E();var Me,Ae;if(q.stagger>0){var De=parseFloat(q.stagger);Ae={transitionDelay:De,animationDelay:De,transitionDuration:0,animationDuration:0}}else Me=y(B,_e),Ae=_(B,xe,Me,ke);q.$$skipPreparationClasses||r.addClass(e,xe);var Te;if(q.transitionStyle){var Oe=[F,q.transitionStyle];k(B,Oe),le.push(Oe)}if(q.duration>=0){Te=B.style[F].length>0;var Fe=D(q.duration,Te);k(B,Fe),le.push(Fe)}if(q.keyframeStyle){var Le=[P,q.keyframeStyle];k(B,Le),le.push(Le)}var Pe=Ae?q.staggerIndex>=0?q.staggerIndex:t.count(Me):0,Ne=0===Pe;Ne&&!q.skipBlocking&&w(B,ce);var Ie=T(B,_e,Me),Re=Ie.maxDelay;te=Math.max(Re,0),ie=Ie.maxDuration;var Ue={};if(Ue.hasTransitions=Ie.transitionDuration>0,Ue.hasAnimations=Ie.animationDuration>0,Ue.hasTransitionAll=Ue.hasTransitions&&"all"===Ie.transitionProperty,Ue.applyTransitionDuration=Se&&(Ue.hasTransitions&&!Ue.hasTransitionAll||Ue.hasAnimations&&!Ue.hasTransitions),Ue.applyAnimationDuration=q.duration&&Ue.hasAnimations,Ue.applyTransitionDelay=A(q.delay)&&(Ue.applyTransitionDuration||Ue.hasTransitions),Ue.applyAnimationDelay=A(q.delay)&&Ue.hasAnimations,Ue.recalculateTimingStyles=ve.length>0,(Ue.applyTransitionDuration||Ue.applyAnimationDuration)&&(ie=q.duration?parseFloat(q.duration):ie,Ue.applyTransitionDuration&&(Ue.hasTransitions=!0,Ie.transitionDuration=ie,Te=B.style[F+oe].length>0,le.push(D(ie,Te))),Ue.applyAnimationDuration&&(Ue.hasAnimations=!0,Ie.animationDuration=ie,le.push(C(ie)))),0===ie&&!Ue.recalculateTimingStyles)return E();if(null!=q.delay){var je;"boolean"!=typeof q.delay&&(je=parseFloat(q.delay),te=Math.max(je,0)),Ue.applyTransitionDelay&&le.push(S(je)),Ue.applyAnimationDelay&&le.push(S(je,!0))}return null==q.duration&&Ie.transitionDuration>0&&(Ue.recalculateTimingStyles=Ue.recalculateTimingStyles||Ne),ne=te*ye,ae=ie*ye,q.skipBlocking||(Ue.blockTransition=Ie.transitionDuration>0,Ue.blockKeyframeAnimation=Ie.animationDuration>0&&Ae.animationDelay>0&&0===Ae.animationDuration),q.from&&(q.cleanupStyles&&O(Y,B,Object.keys(q.from)),p(e,q)),Ue.blockTransition||Ue.blockKeyframeAnimation?b(ie):q.skipBlocking||w(B,!1),{$$willAnimate:!0,end:l,start:function(){if(!Q)return ee={end:l,cancel:f,resume:null,pause:null},X=new s(ee),M(z),X}}}}]}],Ce=["$$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 ee(e)&&(e=e.split(" ")),ee(t)&&(t=t.split(" ")),e.filter(function(e){return t.indexOf(e)===-1}).join(" ")}function p(t,a,u){function l(e){var t={},n=$(e).getBoundingClientRect();return G(["width","height","top","left"],function(e){var r=n[e];switch(e){case"top":r+=v.scrollTop;break;case"left":r+=v.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 p(){var t=d(f(u)),n=h(t,y),r=h(y,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=ne($(a).cloneNode(!0)),y=d(f(g));a.addClass(n),u.addClass(n),g.addClass(r),b.append(g);var w,x=c();if(!x&&(w=p(),!w))return m();var k=x||w;return{start:function(){function e(){n&&n.end()}var t,n=k.start();return n.done(function(){return n=null,!w&&(w=p())?(n=w.start(),n.done(function(){n=null,m(),t.complete()}),n):(m(),void t.complete())}),t=new s({end:e,cancel:e})}}}function m(e,t,n,r){var i=g(e,re),o=g(t,re),a=[];if(G(r,function(e){var t=e.out,r=e["in"],i=p(n,t,r);i&&a.push(i)}),i||o||0!==a.length)return{start:function(){function e(){G(t,function(e){e.end()})}var t=[];i&&t.push(i.start()),o&&t.push(o.start()),G(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}}}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=_(r.event,r.preparationClasses));var i=e(n,r);return i.$$willAnimate?i:null}if(!l.animations&&!l.transitions)return re;var v=f[0].body,y=$(u),b=ne(t(y)||v.contains(y)?y:v);return function(e){return e.from&&e.to?m(e.from,e.to,e.classes,e.anchors):g(e)}}]}],Se=["$animateProvider",function(e){this.$get=["$injector","$$AnimateRunner","$$jqLite",function(t,n,r){function i(n){n=Z(n)?n:n.split(" ");for(var r=[],i={},o=0;o0,r=(e.removeClass||"").length>0;return t?n&&r:n||r}var l=1,c=2,p=" ",m=this.rules={skip:[],cancel:[],join:[]};m.join.push(function(e,t,n){return!t.structural&&a(t)}),m.skip.push(function(e,t,n){return!t.structural&&!a(t)}),m.skip.push(function(e,t,n){return"leave"===n.event&&t.structural}),m.skip.push(function(e,t,n){return n.structural&&n.state===c&&!t.structural}),m.cancel.push(function(e,t,n){return n.structural&&t.structural}),m.cancel.push(function(e,t,n){return n.state===c&&t.structural}),m.cancel.push(function(e,t,n){if(n.structural)return!1;var r=t.addClass,o=t.removeClass,a=n.addClass,s=n.removeClass;return!(te(r)&&te(o)||te(a)&&te(s))&&(i(r,s)||i(o,a))}),this.$get=["$$rAF","$rootScope","$rootElement","$document","$$HashMap","$$animation","$$AnimateRunner","$templateRequest","$$jqLite","$$forceReflow","$$isDocumentHidden",function(r,i,p,m,v,w,x,k,_,C,S){function E(){var e=!1;return function(t){e?t():i.$$postDigest(function(){e=!0,t()})}}function M(e,t){return g(e,t,{})}function A(e,t,n){var r=$(t),i=$(e),o=[],a=z[n];return a&&G(a,function(e){ie.call(e.node,r)?o.push(e.callback):"leave"===n&&ie.call(e.node,i)&&o.push(e.callback)}),o}function D(e,t,n){var r=u(t);return e.filter(function(e){var t=e.node===r&&(!n||e.callback===n);return!t})}function T(e,t){"close"!==e||t[0].parentNode||oe.off(t)}function O(e,t,n){function u(t,n,i,o){_(function(){var t=A(m,e,n);t.length?r(function(){G(t,function(t){t(e,i,o)}),T(i,e)}):T(i,e)}),t.progress(n,i,o)}function f(t){b(e,v),re(e,v),h(e,v),v.domOperation(),k.complete(!t)}var p,m,v=W(n);e=s(e),e&&(p=$(e),m=e.parent()),v=d(v);var k=new x,_=E();if(Z(v.addClass)&&(v.addClass=v.addClass.join(" ")),v.addClass&&!ee(v.addClass)&&(v.addClass=null),Z(v.removeClass)&&(v.removeClass=v.removeClass.join(" ")),v.removeClass&&!ee(v.removeClass)&&(v.removeClass=null),v.from&&!X(v.from)&&(v.from=null),v.to&&!X(v.to)&&(v.to=null),!p)return f(),k;var C=[p.getAttribute("class"),v.addClass,v.removeClass].join(" ");if(!K(C))return f(),k;var D=["enter","move","leave"].indexOf(t)>=0,O=S(),P=!V||O||j.get(p),I=!P&&U.get(p)||{},H=!!I.state;if(P||H&&I.state===l||(P=!N(e,m,t)),P)return O&&u(k,t,"start"),f(),O&&u(k,t,"close"),k;D&&F(e);var z={structural:D,element:e,event:t,addClass:v.addClass,removeClass:v.removeClass,close:f,options:v,runner:k};if(H){var q=o("skip",e,z,I);if(q)return I.state===c?(f(),k):(g(e,I,z),I.runner);var Y=o("cancel",e,z,I);if(Y)if(I.state===c)I.runner.end();else{if(!I.structural)return g(e,I,z),I.runner;I.close()}else{var B=o("join",e,z,I);if(B){if(I.state!==c)return y(e,D?t:null,v),t=z.event=I.event,v=g(e,I,z),I.runner;M(e,z)}}}else M(e,z);var Q=z.structural;if(Q||(Q="animate"===z.event&&Object.keys(z.options.to||{}).length>0||a(z)),!Q)return f(),L(e),k;var J=(I.counter||0)+1;return z.counter=J,R(e,l,z),i.$$postDigest(function(){var n=U.get(p),r=!n;n=n||{};var i=e.parent()||[],o=i.length>0&&("animate"===n.event||n.structural||a(n));if(r||n.counter!==J||!o)return r&&(re(e,v),h(e,v)),(r||D&&n.event!==t)&&(v.domOperation(),k.end()),void(o||L(e));t=!n.structural&&a(n,!0)?"setClass":n.event,R(e,c);var s=w(e,t,n.options);k.setHost(s),u(k,t,"start",{}),s.done(function(n){f(!n);var r=U.get(p);r&&r.counter===J&&L($(e)),u(k,t,"close",{})})}),k}function F(e){var t=$(e),n=t.querySelectorAll("["+Me+"]");G(n,function(e){var t=parseInt(e.getAttribute(Me),10),n=U.get(e);if(n)switch(t){case c:n.runner.end();case l:U.remove(e)}})}function L(e){var t=$(e);t.removeAttribute(Me),U.remove(t)}function P(e,t){return $(e)===$(t)}function N(e,t,n){var r,i=ne(m[0].body),o=P(e,i)||"HTML"===e[0].nodeName,a=P(e,p),s=!1,u=j.get($(e)),l=ne.data(e[0],Ae);for(l&&(t=l),t=$(t);t&&(a||(a=P(t,p)),t.nodeType===I);){var c=U.get(t)||{};if(!s){var f=j.get(t);if(f===!0&&u!==!1){u=!0;break}f===!1&&(u=!1),s=c.structural}if(te(r)||r===!0){var d=ne.data(t,q);Q(d)&&(r=d)}if(s&&r===!1)break;if(o||(o=P(t,i)),o&&a)break;t=a||!(l=ne.data(t,Ae))?t.parentNode:$(l)}var h=(!s||r)&&u!==!0;return h&&a&&o}function R(e,t,n){n=n||{},n.state=t;var r=$(e);r.setAttribute(Me,t);var i=U.get(r),o=i?B(i,n):n;U.put(r,o)}var U=new v,j=new v,V=null,H=i.$watch(function(){return 0===k.totalPendingRequests},function(e){e&&(H(),i.$$postDigest(function(){i.$$postDigest(function(){null===V&&(V=!0)})}))}),z=Object.create(null),Y=t.classNameFilter(),K=Y?function(e){return Y.test(e)}:function(){return!0},re=f(_),ie=e.Node.prototype.contains||function(e){return this===e||!!(16&this.compareDocumentPosition(e))},oe={on:function(e,t,n){var r=u(t);z[e]=z[e]||[],z[e].push({node:r,callback:n}),ne(t).on("$destroy",function(){var i=U.get(r);i||oe.off(e,t,n)})},off:function(e,t,n){if(1!==arguments.length||ee(arguments[0])){var r=z[e];r&&(z[e]=1===arguments.length?null:D(r,t,n))}else{t=arguments[0];for(var i in z)z[i]=D(z[i],t)}},pin:function(e,t){n(J(e),"element","not an element"),n(J(t),"parentElement","not an element"),e.data(Ae,t)},push:function(e,t,n,r){return n=n||{},n.domOperation=r,O(e,t,n)},enabled:function(e,t){var n=arguments.length;if(0===n)t=!!V;else{var r=J(e);if(r){var i=$(e);1===n?t=!j.get(i):j.put(i,!t)}else t=V=!!e}return t}};return oe}]}],Te=["$animateProvider",function(e){function t(e,t){e.data(s,t)}function n(e){e.removeData(s)}function i(e){return e.data(s)}var o="ng-animate-ref",a=this.drivers=[],s="$$animationRunner";this.$get=["$$jqLite","$rootScope","$injector","$$AnimateRunner","$$HashMap","$$rAFScheduler",function(e,s,u,l,c,p){function m(e){function t(e){if(e.processed)return e;e.processed=!0;var n=e.domNode,r=n.parentNode;o.put(n,e);for(var a;r;){if(a=o.get(r)){a.processed||(a=t(a));break}r=r.parentNode}return(a||i).children.push(e),e}function n(e){var t,n=[],r=[];for(t=0;t=0,l=e.structural?b(a):[];if(l.length){var c=u?"to":"from";G(l,function(e){var t=e.getAttribute(o);n[t]=n[t]||{},n[t][c]={animationID:r,element:ne(e)}})}else t.push(e)});var r={},i={};return G(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],r=u.get(n),i=r(e);if(i)return i}}function _(){c.addClass(z),T&&e.addClass(c,T),O&&(e.removeClass(c,O),O=null)}function C(e,t){function n(e){var n=i(e);n&&n.setHost(t)}e.from&&e.to?(n(e.from.element),n(e.to.element)):n(e.element)}function S(){var e=i(c);!e||"leave"===f&&y.$$domOperationFired||e.end()}function E(t){c.off("$destroy",S),n(c),v(c,y),h(c,y),y.domOperation(),T&&e.removeClass(c,T),c.removeClass(z),A.complete(!t)}y=d(y);var M=["enter","move","leave"].indexOf(f)>=0,A=new l({end:function(){E()},cancel:function(){E(!0)}});if(!a.length)return E(),A;t(c,A);var D=r(c.attr("class"),r(y.addClass,y.removeClass)),T=y.tempClasses;T&&(D+=" "+T,y.tempClasses=null);var O;return M&&(O="ng-"+f+H,e.addClass(c,O)),g.push({element:c,classes:D,event:f,structural:M,options:y,beforeStart:_,close:E}),c.on("$destroy",S),g.length>1?A:(s.$$postDigest(function(){var e=[];G(g,function(t){i(t.element)?e.push(t):t.close()}),g.length=0;var t=w(e),n=[];G(t,function(e){n.push({domNode:$(e.from?e.from.element:e.element),fn:function(){e.beforeStart();var t,n=e.close,r=e.anchors?e.from.element||e.to.element:e.element;if(i(r)){var o=k(e);o&&(t=o.start)}if(t){var a=t();a.done(function(e){n(!e)}),C(e,a)}else n()}})}),p(m(n))}),A)}}]}],Oe=["$animate","$rootScope",function(e,t){return{restrict:"A",transclude:"element",terminal:!0,priority:600,link:function(t,n,r,i,o){var a,s;t.$watchCollection(r.ngAnimateSwap||r["for"],function(r){a&&e.leave(a),s&&(s.$destroy(),s=null),(r||0===r)&&(s=t.$new(),o(s,function(t){a=t,e.enter(t,null,n)}))})}}}];t.module("ngAnimate",[],function(){re=t.noop,W=t.copy,B=t.extend,ne=t.element,G=t.forEach,Z=t.isArray,ee=t.isString,X=t.isObject,te=t.isUndefined,Q=t.isDefined,K=t.isFunction,J=t.isElement}).directive("ngAnimateSwap",Oe).directive("ngAnimateChildren",ve).factory("$$rAFScheduler",ge).provider("$$animateQueue",De).provider("$$animation",Te).provider("$animateCss",_e).provider("$$animateCssDriver",Ce).provider("$$animateJs",Se).provider("$$animateJsDriver",Ee)}(window,window.angular)},{}],2:[function(e,t,n){e("./angular-animate"),t.exports="ngAnimate"},{"./angular-animate":1}],3:[function(e,t,n){!function(e,t){"use strict";function n(e){return null!=e&&""!==e&&"hasOwnProperty"!==e&&a.test("."+e)}function r(e,r){if(!n(r))throw o("badmember",'Dotted member path "@{0}" is invalid.',r);for(var i=r.split("."),a=0,s=i.length;a/g,">")}function m(e,t){var n=!1,r=i(e,e.push);return{start:function(e,i){e=u(e),!n&&M[e]&&(n=e),n||A[e]!==!0||(r("<"),r(e),a(i,function(n,i){var o=u(i),a="img"===e&&"src"===o||"background"===o;F[o]!==!0||D[o]===!0&&!t(n,a)||(r(" "),r(i),r('="'),r(p(n)),r('"'))}),r(">"))},end:function(e){e=u(e),n||A[e]!==!0||w[e]===!0||(r("")),e==n&&(n=!1)},chars:function(e){n||r(p(e))}}}function g(t){for(;t;){if(t.nodeType===e.Node.ELEMENT_NODE)for(var n=t.attributes,r=0,i=n.length;r"\u201d\u2019]/i,i=/^mailto:/i,o=t.$$minErr("linky"),a=t.isDefined,s=t.isFunction,u=t.isObject,l=t.isString;return function(t,c,f){function d(e){e&&y.push(r(e))}function h(e,t){var n,r=v(e);y.push("'),d(t),y.push("")}if(null==t||""===t)return t;if(!l(t))throw o("notstring","Expected string but received: {0}",t);for(var p,m,g,v=s(f)?f:u(f)?function(){return f}:function(){return{}},$=t,y=[];p=$.match(n);)m=p[0],p[2]||p[4]||(m=(p[3]?"http://":"mailto:")+m),g=p.index,d($.substr(0,g)),h(m,p[0].replace(i,"")),$=$.substring(g+p[0].length);return d($),e(y.join(""))}}])}(window,window.angular)},{}],6:[function(e,t,n){e("./angular-sanitize"),t.exports="ngSanitize"},{"./angular-sanitize":5}],7:[function(e,t,n){angular.module("ui.sortable",[]).value("uiSortableConfig",{items:"> [ng-repeat],> [data-ng-repeat],> [x-ng-repeat]"}).directive("uiSortable",["uiSortableConfig","$timeout","$log",function(e,t,n){return{require:"?ngModel",scope:{ngModel:"=",uiSortable:"="},link:function(r,i,o,a){function s(e,t){var n="function"==typeof e,r="function"==typeof t;return n&&r?function(){e.apply(this,arguments),t.apply(this,arguments)}:r?t:e}function u(e){var t=e.data("ui-sortable");return t&&"object"==typeof t&&"ui-sortable"===t.widgetFullName?t:null}function l(t,n){return C[t]?("stop"===t&&(n=s(n,function(){r.$apply()}),n=s(n,v)),n=s(C[t],n)):S[t]&&(n=S[t](n)),n||"items"!==t&&"ui-model-items"!==t||(n=e.items),n}function c(e,t,n){function r(e,t){t in k||(k[t]=null)}angular.forEach(C,r);var i=null;if(t){var o;angular.forEach(t,function(t,n){if(!(e&&n in e)){if(n in _)return void("ui-floating"===n?k[n]="auto":k[n]=l(n,void 0));o||(o=angular.element.ui.sortable().options);var r=o[n];r=l(n,r),i||(i={}),i[n]=r,k[n]=r}})}return angular.forEach(e,function(e,t){return t in _?("ui-floating"!==t||e!==!1&&e!==!0||!n||(n.floating=e),void(k[t]=l(t,e))):(e=l(t,e),i||(i={}),i[t]=e,void(k[t]=e))}),i}function f(e){var t=e.sortable("option","placeholder");if(t&&t.element&&"function"==typeof t.element){var n=t.element();return n=angular.element(n)}return null}function d(e,t){var n=k["ui-model-items"].replace(/[^,]*>/g,""),r=e.find('[class="'+t.attr("class")+'"]:not('+n+")");return r}function h(e,t){var n=e.sortable("option","helper");return"clone"===n||"function"==typeof n&&t.item.sortable.isCustomHelperUsed()}function p(e,t,n){var r=null;return h(e,t)&&"parent"===e.sortable("option","appendTo")&&(r=n.last()),r}function m(e){return/left|right/.test(e.css("float"))||/inline|table-cell/.test(e.css("display"))}function g(e,t){for(var n=null,r=0;r=0&&(t-1 in e||e instanceof Array)||"function"==typeof e.item)}function r(e,t,i){var o,a;if(e)if(_(e))for(o in e)"prototype"!==o&&"length"!==o&&"name"!==o&&e.hasOwnProperty(o)&&t.call(i,e[o],o,e);else if(li(e)||n(e)){var s="object"!=typeof e;for(o=0,a=e.length;o=0&&e.splice(n,1),n}function j(e,t){function n(e,t){var n,r=t.$$hashKey;if(li(e))for(var o=0,a=e.length;o2?z(arguments,2):[];return!_(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 Y(t,n){var r=n;return"string"==typeof t&&"$"===t.charAt(0)&&"$"===t.charAt(1)?r=void 0:S(n)?r="$WINDOW":n&&e.document===n?r="$DOCUMENT":E(n)&&(r="$SCOPE"),r}function W(e,t){if(!v(e))return x(t)||(t=t?2:null),JSON.stringify(e,Y,t)}function B(e){return w(e)?JSON.parse(e):e}function G(e,t){e=e.replace(mi,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return ui(n)?t:n}function Z(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function Q(e,t,n){n=n?-1:1;var r=e.getTimezoneOffset(),i=G(t,r);return Z(e,n*(i-r))}function J(e){e=Jr(e).clone();try{e.empty()}catch(t){}var n=Jr("
    ").append(e).html();try{return e[0].nodeType===xi?Wr(n):n.match(/^(<[^>]+>)/)[1].replace(/^<([\w-]+)/,function(e,t){return"<"+Wr(t)})}catch(t){return Wr(n)}}function K(e){try{return decodeURIComponent(e)}catch(t){}}function X(e){var t={};return r((e||"").split("&"),function(e){var n,r,i;e&&(r=e=e.replace(/\+/g,"%20"),n=e.indexOf("="),n!==-1&&(r=e.substring(0,n),i=e.substring(n+1)),r=K(r),$(r)&&(i=!$(i)||K(i),Yr.call(t,r)?li(t[r])?t[r].push(i):t[r]=[t[r],i]:t[r]=i))}),t}function ee(e){var t=[];return r(e,function(e,n){li(e)?r(e,function(e){t.push(ne(n,!0)+(e===!0?"":"="+ne(e,!0)))}):t.push(ne(n,!0)+(e===!0?"":"="+ne(e,!0)))}),t.length?t.join("&"):""}function te(e){return ne(e,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function ne(e,t){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%20/g,t?"%20":"+")}function re(e,t){var n,r,i=gi.length;for(r=0;r protocol indicates an extension, document.location.href does not match.");a.strictDi=null!==re(i,"strict-di"),n(i,o?[o]:[],a)}}function ae(t,n,i){y(i)||(i={});var o={strictDi:!1};i=l(o,i);var a=function(){if(t=Jr(t),t.injector()){var r=t[0]===e.document?"document":J(t);throw oi("btstrpd","App already bootstrapped with this element '{0}'",r.replace(//,">"))}n=n||[],n.unshift(["$provide",function(e){e.value("$rootElement",t)}]),i.debugInfoEnabled&&n.push(["$compileProvider",function(e){e.debugInfoEnabled(!0)}]),n.unshift("ng");var o=lt(n,i.strictDi);return o.invoke(["$rootScope","$rootElement","$compile","$injector",function(e,t,n,r){e.$apply(function(){t.data("$injector",r),n(t)(e)})}]),o},s=/^NG_ENABLE_DEBUG_INFO!/,u=/^NG_DEFER_BOOTSTRAP!/;return e&&s.test(e.name)&&(i.debugInfoEnabled=!0,e.name=e.name.replace(s,"")),e&&!u.test(e.name)?a():(e.name=e.name.replace(u,""),ai.resumeBootstrap=function(e){return r(e,function(e){n.push(e)}),a()},void(_(ai.resumeDeferredBootstrap)&&ai.resumeDeferredBootstrap()))}function se(){e.name="NG_ENABLE_DEBUG_INFO!"+e.name,e.location.reload()}function ue(e){var t=ai.element(e).injector();if(!t)throw oi("test","no injector found for element argument to getTestability");return t.get("$$testability")}function le(e,t){return t=t||"_",e.replace($i,function(e,n){return(n?t:"")+e.toLowerCase()})}function ce(){var t;if(!yi){var n=pi();Kr=v(n)?e.jQuery:n?e[n]:void 0,Kr&&Kr.fn.on?(Jr=Kr,l(Kr.fn,{scope:Ui.scope,isolateScope:Ui.isolateScope,controller:Ui.controller,injector:Ui.injector,inheritedData:Ui.inheritedData}),t=Kr.cleanData,Kr.cleanData=function(e){for(var n,r,i=0;null!=(r=e[i]);i++)n=Kr._data(r,"events"),n&&n.$destroy&&Kr(r).triggerHandler("$destroy");t(e)}):Jr=Le,ai.element=Jr,yi=!0}}function fe(e,t,n){if(!e)throw oi("areq","Argument '{0}' is {1}",t||"?",n||"required");return e}function de(e,t,n){return n&&li(e)&&(e=e[e.length-1]),fe(_(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 oi("badname","hasOwnProperty is not a valid {0} name",t)}function pe(e,t,n){if(!t)return e;for(var r,i=t.split("."),o=e,a=i.length,s=0;s=0)return"...";t.push(n)}return n})}function we(e){return"function"==typeof e?e.toString().replace(/ \{[\s\S]*$/,""):v(e)?"undefined":"string"!=typeof e?be(e):e}function xe(n){l(n,{bootstrap:ae,copy:j,extend:l,merge:c,equals:V,element:Jr,forEach:r,injector:lt,noop:h,bind:q,toJson:W,fromJson:B,identity:p,isUndefined:v,isDefined:$,isString:w,isFunction:_,isObject:y,isNumber:x,isElement:P,isArray:li,version:Si,isDate:k,lowercase:Wr,uppercase:Br,callbacks:{$$counter:0},getTestability:ue,reloadWithDebugInfo:se,$$minErr:t,$$csp:hi,$$encodeUriSegment:te,$$encodeUriQuery:ne,$$stringify:ve}),(Xr=$e(e))("ng",["ngLocale"],["$provide",function(e){e.provider({$$sanitizeUri:En}),e.provider("$compile",bt).directive({a:Bo,input:ha,textarea:ha,form:Xo,script:ss,select:cs,option:fs,ngBind:ga,ngBindHtml:$a,ngBindTemplate:va,ngClass:ba,ngClassEven:xa,ngClassOdd:wa,ngCloak:ka,ngController:_a,ngForm:ea,ngHide:es,ngIf:Ea,ngInclude:Ma,ngInit:Da,ngNonBindable:Ya,ngPluralize:Za,ngRepeat:Qa,ngShow:Xa,ngStyle:ts,ngSwitch:ns,ngSwitchWhen:rs,ngSwitchDefault:is,ngOptions:Ga,ngTransclude:as,ngModel:Ha,ngList:Ta,ngChange:ya,pattern:hs,ngPattern:hs,required:ds,ngRequired:ds,minlength:ms,ngMinlength:ms,maxlength:ps,ngMaxlength:ps,ngValue:ma,ngModelOptions:qa}).directive({ngInclude:Aa}).directive(Go).directive(Ca),e.provider({$anchorScroll:ct,$animate:to,$animateCss:io,$$animateJs:Xi,$$animateQueue:eo,$$AnimateRunner:ro,$$animateAsyncRun:no,$browser:gt,$cacheFactory:vt,$controller:St,$document:Et,$$isDocumentHidden:Mt,$exceptionHandler:At,$filter:Hn,$$forceReflow:fo,$interpolate:zt,$interval:qt,$http:Ut,$httpParamSerializer:Tt,$httpParamSerializerJQLike:Ot,$httpBackend:Vt,$xhrFactory:jt,$jsonpCallbacks:bo,$location:an,$log:sn,$parse:wn,$rootScope:Sn,$q:xn,$$q:kn,$sce:On,$sceDelegate:Tn,$sniffer:Fn,$templateCache:$t,$templateRequest:Ln,$$testability:Pn,$timeout:Nn,$window:Un,$$rAF:Cn,$$jqLite:nt,$$HashMap:zi,$$cookieReader:Vn})}])}function ke(){return++Mi}function _e(e){return Se(e.replace(Di,"ms-"))}function Ce(e,t){return t.toUpperCase()}function Se(e){return e.replace(Ai,Ce)}function Ee(e){return!Li.test(e)}function Me(e){var t=e.nodeType;return t===bi||!t||t===_i}function Ae(e){for(var t in Ei[e.ng339])return!0;return!1}function De(e){for(var t=0,n=e.length;t")+o[2],a=o[0];a--;)n=n.lastChild;u=H(u,n.childNodes),n=s.firstChild,n.textContent=""}return s.textContent="",s.innerHTML="",r(u,function(e){s.appendChild(e)}),s}function Oe(t,n){n=n||e.document;var r;return(r=Fi.exec(t))?[n.createElement(r[1])]:(r=Te(t,n))?r.childNodes:[]}function Fe(e,t){var n=e.parentNode;n&&n.replaceChild(t,e),t.appendChild(e)}function Le(e){if(e instanceof Le)return e;var t;if(w(e)&&(e=fi(e),t=!0),!(this instanceof Le)){if(t&&"<"!==e.charAt(0))throw Oi("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new Le(e)}t?qe(this,Oe(e)):_(e)?Qe(e):qe(this,e)}function Pe(e){return e.cloneNode(!0)}function Ne(e,t){if(t||Re(e),e.querySelectorAll)for(var n=e.querySelectorAll("*"),r=0,i=n.length;r0||(e.removeEventListener(t,s),delete a[t])};r(t.split(" "),function(e){u(e),Ti[e]&&u(Ti[e])})}else for(t in a)"$destroy"!==t&&e.removeEventListener(t,s),delete a[t]}function Re(e,t){var n=e.ng339,r=n&&Ei[n];if(r){if(t)return void delete r.data[t];r.handle&&(r.events.$destroy&&r.handle({},"$destroy"),Ie(e)),delete Ei[n],e.ng339=void 0}}function Ue(e,t){var n=e.ng339,r=n&&Ei[n];return t&&!r&&(e.ng339=n=ke(),r=Ei[n]={events:{},data:{},handle:void 0}),r}function je(e,t,n){if(Me(e)){var r,i=$(n),o=!i&&t&&!y(t),a=!t,s=Ue(e,!o),u=s&&s.data;if(i)u[Se(t)]=n;else{if(a)return u;if(o)return u&&u[Se(t)];for(r in t)u[Se(r)]=t[r]}}}function Ve(e,t){return!!e.getAttribute&&(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+t+" ")>-1}function He(e,t){t&&e.setAttribute&&r(t.split(" "),function(t){e.setAttribute("class",fi((" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").replace(" "+fi(t)+" "," ")))})}function ze(e,t){if(t&&e.setAttribute){var n=(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ");r(t.split(" "),function(e){e=fi(e),n.indexOf(" "+e+" ")===-1&&(n+=e+" ")}),e.setAttribute("class",fi(n))}}function qe(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;r1&&(i=ye(i));for(var u=0;uc&&this.remove(h.key),t}},get:function(e){if(c";var r=Ce.firstChild.attributes,i=r[0];r.removeNamedItem(i.name),i.value=n,e.attributes.setNamedItem(i)}function H(e,t){try{e.addClass(t)}catch(n){}}function Y(e,t,n,r,i){e instanceof Jr||(e=Jr(e));var o=B(e,t,e,n,r,i);Y.$$addScopeClass(e);var a=null;return function(t,n,r){if(!e)throw oo("multilink","This element has already been linked.");fe(t,"scope"),i&&i.needsNewScope&&(t=t.$parent.$new()),r=r||{};var s=r.parentBoundTranscludeFn,u=r.transcludeControllers,l=r.futureParentElement;s&&s.$$boundTransclude&&(s=s.$$boundTransclude),a||(a=W(l));var c;if(c="html"!==a?Jr(me(a,Jr("
    ").append(e).html())):n?Ui.clone.call(e):e,u)for(var f in u)c.data("$"+f+"Controller",u[f].instance);return Y.$$addScopeInfo(c,t),n&&n(c,t),o&&o(t,c,c,s),n||(e=o=null),c}}function W(e){var t=e&&e[0];return t&&"foreignobject"!==I(t)&&ri.call(t).match(/SVG/)?"svg":"html"}function B(e,t,n,r,i,o){function a(e,n,r,i){var o,a,s,u,l,c,f,d,m;if(h){var g=n.length;for(m=new Array(g),l=0;l0)}else r.push(e);return Jr(r)}function ee(e,t,n){return function(r,i,o,a,s){return i=X(i[0],t,n),e(r,i,o,a,s)}}function te(e,t,n,r,i,o){var a;return e?Y(t,n,r,i,o):function(){return a||(a=Y(t,n,r,i,o),t=n=o=null),a.apply(this,arguments)}}function ne(e,t,n,o,a,s,u,c,f){function d(e,t,n,r){e&&(n&&(e=ee(e,n,r)),e.require=p.require,e.directiveName=m,(C===p||p.$$isolateScope)&&(e=be(e,{isolateScope:!0})),u.push(e)),t&&(n&&(t=ee(t,n,r)),t.require=p.require,t.directiveName=m,(C===p||p.$$isolateScope)&&(t=be(t,{isolateScope:!0})),c.push(t))}function h(e,o,a,s,f){function d(e,t,n,r){var i;if(E(e)||(r=n,n=t,t=e,e=void 0),O&&(i=b),n||(n=O?M.parent():M),!r)return f(e,t,i,n,U);var o=f.$$slots[r];if(o)return o(e,t,i,n,U);if(v(o))throw oo("noslot",'No parent directive that requires a transclusion with slot name "{0}". Element: {1}',r,J(M))}var h,p,m,g,$,b,w,M,A,T;t===a?(A=n,M=n.$$element):(M=Jr(a),A=new R(M,n)),$=o,C?g=o.$new(!0):x&&($=o.$parent),f&&(w=d,w.$$boundTransclude=f,w.isSlotFilled=function(e){return!!f.$$slots[e]}),k&&(b=ie(M,A,w,k,g,o,C)),C&&(Y.$$addScopeInfo(M,g,!0,!(S&&(S===C||S===C.$$originalDirective))),Y.$$addScopeClass(M,!0),g.$$isolateBindings=C.$$isolateBindings,T=xe(o,A,g,g.$$isolateBindings,C),T.removeWatches&&g.$on("$destroy",T.removeWatches));for(var F in b){var L=k[F],P=b[F],N=L.$$bindings.bindToController;if(D){N?P.bindingInfo=xe($,A,P.instance,N,L):P.bindingInfo={};var I=P();I!==P.instance&&(P.instance=I,M.data("$"+L.name+"Controller",I),P.bindingInfo.removeWatches&&P.bindingInfo.removeWatches(),P.bindingInfo=xe($,A,P.instance,N,L))}else P.instance=P(),M.data("$"+L.name+"Controller",P.instance),P.bindingInfo=xe($,A,P.instance,N,L)}for(r(k,function(e,t){var n=e.require;e.bindToController&&!li(n)&&y(n)&&l(b[t].instance,re(t,n,M,b))}),r(b,function(e){var t=e.instance;if(_(t.$onChanges))try{t.$onChanges(e.bindingInfo.initialChanges)}catch(n){i(n)}if(_(t.$onInit))try{t.$onInit()}catch(n){i(n)}_(t.$doCheck)&&($.$watch(function(){t.$doCheck()}),t.$doCheck()),_(t.$onDestroy)&&$.$on("$destroy",function(){t.$onDestroy()})}),h=0,p=u.length;h=0;h--)m=c[h],we(m,m.isolateScope?g:o,M,A,m.require&&re(m.directiveName,m.require,M,b),w);r(b,function(e){var t=e.instance;_(t.$postLink)&&t.$postLink()})}f=f||{};for(var p,m,g,$,b,w=-Number.MAX_VALUE,x=f.newScopeDirective,k=f.controllerDirectives,C=f.newIsolateScopeDirective,S=f.templateDirective,M=f.nonTlbTranscludeDirective,A=!1,T=!1,O=f.hasElementTranscludeDirective,F=n.$$element=Jr(t),L=s,P=o,N=!1,U=!1,j=0,V=e.length;jp.priority)break;if(b=p.scope,b&&(p.templateUrl||(y(b)?(he("new/isolated scope",C||x,p,F),C=p):he("new/isolated scope",C,p,F)),x=x||p),m=p.name,!N&&(p.replace&&(p.templateUrl||p.template)||p.transclude&&!p.$$tlb)){for(var B,G=j+1;B=e[G++];)if(B.transclude&&!B.$$tlb||B.replace&&(B.templateUrl||B.template)){U=!0;break}N=!0}if(!p.templateUrl&&p.controller&&(k=k||ge(),he("'"+m+"' controller",k[m],p,F),k[m]=p),b=p.transclude)if(A=!0,p.$$tlb||(he("transclusion",M,p,F),M=p),"element"===b)O=!0,w=p.priority,g=F,F=n.$$element=Jr(Y.$$createComment(m,n[m])),t=F[0],ye(a,z(g),t),g[0].$$parentNode=g[0].parentNode,P=te(U,g,o,w,L&&L.name,{nonTlbTranscludeDirective:M});else{var Z=ge();if(y(b)){g=[];var K=ge(),ne=ge();r(b,function(e,t){var n="?"===e.charAt(0);e=n?e.substring(1):e,K[e]=t,Z[t]=null,ne[t]=n}),r(F.contents(),function(e){var t=K[xt(I(e))];t?(ne[t]=!0,Z[t]=Z[t]||[],Z[t].push(e)):g.push(e)}),r(ne,function(e,t){if(!e)throw oo("reqslot","Required transclusion slot `{0}` was not filled.",t)});for(var ae in Z)Z[ae]&&(Z[ae]=te(U,Z[ae],o))}else g=Jr(Pe(t)).contents();F.empty(),P=te(U,g,o,void 0,void 0,{needsNewScope:p.$$isolateScope||p.$$newScope}),P.$$slots=Z}if(p.template)if(T=!0,he("template",S,p,F),S=p,b=_(p.template)?p.template(F,n):p.template,b=Oe(b),p.replace){if(L=p,g=Ee(b)?[]:_t(me(p.templateNamespace,fi(b))),t=g[0],1!==g.length||t.nodeType!==bi)throw oo("tplrt","Template for directive '{0}' must have exactly one root element. {1}",m,"");ye(a,F,t);var se={$attr:{}},le=Q(t,[],se),fe=e.splice(j+1,e.length-(j+1));(C||x)&&oe(le,C,x),e=e.concat(le).concat(fe),ue(n,se),V=e.length}else F.html(b);if(p.templateUrl)T=!0,he("template",S,p,F),S=p,p.replace&&(L=p),h=ce(e.splice(j,e.length-j),F,n,a,A&&P,u,c,{controllerDirectives:k,newScopeDirective:x!==p&&x,newIsolateScopeDirective:C,templateDirective:S,nonTlbTranscludeDirective:M}),V=e.length;else if(p.compile)try{$=p.compile(F,n,P);var de=p.$$originalDirective||p;_($)?d(null,q(de,$),H,W):$&&d(q(de,$.pre),q(de,$.post),H,W)}catch(pe){i(pe,J(F))}p.terminal&&(h.terminal=!0,w=Math.max(w,p.priority))}return h.scope=x&&x.scope===!0,h.transcludeOnThisElement=A,h.templateOnThisElement=T,h.transclude=P,f.hasElementTranscludeDirective=O,h}function re(e,t,n,i){var o;if(w(t)){var a=t.match(C),s=t.substring(a[0].length),u=a[1]||a[3],l="?"===a[2];if("^^"===u?n=n.parent():(o=i&&i[s],o=o&&o.instance),!o){var c="$"+s+"Controller";o=u?n.inheritedData(c):n.data(c)}if(!o&&!l)throw oo("ctreq","Controller '{0}', required by directive '{1}', can't be found!",s,e)}else if(li(t)){o=[];for(var f=0,d=t.length;fc.priority)&&c.restrict.indexOf(r)!==-1){if(s&&(c=d(c,{$$start:s,$$end:u})),!c.$$bindings){var $=c.$$bindings=a(c,c.name);y($.isolateScope)&&(c.$$isolateBindings=$.isolateScope)}e.push(c),l=c}return l}function se(e){if(f.hasOwnProperty(e))for(var n,r=t.get(e+g),i=0,o=r.length;i"+n+"",r.childNodes[0].childNodes;default:return n}}function ve(e,t){if("srcdoc"===t)return m.HTML;var n=I(e);if("src"===t||"ngSrc"===t){if(["img","video","audio","source","track"].indexOf(n)===-1)return m.RESOURCE_URL}else if("xlinkHref"===t||"form"===n&&"action"===t||"link"===n&&"href"===t)return m.RESOURCE_URL}function $e(e,t,r,i,o){var a=ve(e,i),s=!o,u=k[i]||o,l=n(r,s,a,u);if(l){if("multiple"===i&&"select"===I(e))throw oo("selmulti","Binding to the 'multiple' attribute is not supported. Element: {0}",J(e));if(S.test(i))throw oo("nodomevents","Interpolations for HTML DOM event attributes are disallowed. Please use the ng- versions (such as ng-click instead of onclick) instead.");t.push({priority:100,compile:function(){return{pre:function(e,t,o){var s=o.$$observers||(o.$$observers=ge()),c=o[i];c!==r&&(l=c&&n(c,!0,a,u),r=c),l&&(o[i]=l(e),(s[i]||(s[i]=[])).$$inter=!0,(o.$$observers&&o.$$observers[i].$$scope||e).$watch(l,function(e,t){"class"===i&&e!==t?o.$updateClass(e,t):o.$set(i,e)}))}}}})}}function ye(t,n,r){var i,o,a=n[0],s=n.length,u=a.parentNode;if(t)for(i=0,o=t.length;i0&&M.addClass(this.$$element,e)},$removeClass:function(e){e&&e.length>0&&M.removeClass(this.$$element,e)},$updateClass:function(e,t){var n=kt(e,t);n&&n.length&&M.addClass(this.$$element,n);var r=kt(t,e);r&&r.length&&M.removeClass(this.$$element,r)},$set:function(e,t,n,o){var a,s=this.$$element[0],u=Je(s,e),l=Ke(e),c=e;if(u?(this.$$element.prop(e,t),o=u):l&&(this[l]=t,c=l),this[e]=t,o?this.$attr[e]=o:(o=this.$attr[e],o||(this.$attr[e]=o=le(e,"-"))),a=I(this.$$element),"a"===a&&("href"===e||"xlinkHref"===e)||"img"===a&&"src"===e)this[e]=t=P(t,"src"===e);else if("img"===a&&"srcset"===e&&$(t)){for(var f="",d=fi(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),y=0;y0?" ":"")+a}return n}function _t(e){e=Jr(e);var t=e.length;if(t<=1)return e;for(;t--;){var n=e[t];(n.nodeType===ki||n.nodeType===xi&&""===n.nodeValue.trim())&&ti.call(e,t,1)}return e}function Ct(e,t){if(t&&w(t))return t;if(w(e)){var n=co.exec(e);if(n)return n[3]}}function St(){var e={},n=!1;this.has=function(t){return e.hasOwnProperty(t)},this.register=function(t,n){he(t,"controller"),y(t)?l(e,t):e[t]=n},this.allowGlobals=function(){n=!0},this.$get=["$injector","$window",function(r,i){function o(e,n,r,i){if(!e||!y(e.$scope))throw t("$controller")("noscp","Cannot export controller '{0}' as '{1}'! No $scope object provided via `locals`.",i,n);e.$scope[n]=r}return function(t,a,s,u){var c,f,d,h;if(s=s===!0,u&&w(u)&&(h=u),w(t)){if(f=t.match(co),!f)throw lo("ctrlfmt","Badly formed controller string '{0}'. Must match `__name__ as __id__` or `__name__`.",t);if(d=f[1],h=h||f[3],t=e.hasOwnProperty(d)?e[d]:pe(a.$scope,d,!0)||(n?pe(i,d,!0):void 0),!t)throw lo("ctrlreg","The controller with the name '{0}' is not registered.",d);de(t,d,!0)}if(s){var p=(li(t)?t[t.length-1]:t).prototype;return c=Object.create(p||null),h&&o(a,h,c,d||t.name),l(function(){var e=r.invoke(t,c,a,d);return e!==c&&(y(e)||_(e))&&(c=e,h&&o(a,h,c,d||t.name)),c},{instance:c,identifier:h})}return c=r.instantiate(t,a,d),h&&o(a,h,c,d||t.name),c}}]}function Et(){this.$get=["$window",function(e){return Jr(e.document)}]}function Mt(){this.$get=["$document","$rootScope",function(e,t){function n(){i=r.hidden}var r=e[0],i=r&&r.hidden;return e.on("visibilitychange",n),t.$on("$destroy",function(){e.off("visibilitychange",n)}),function(){return i}}]}function At(){this.$get=["$log",function(e){return function(t,n){e.error.apply(e,arguments)}}]}function Dt(e){return y(e)?k(e)?e.toISOString():W(e):e}function Tt(){this.$get=function(){return function(e){if(!e)return"";var t=[];return i(e,function(e,n){null===e||v(e)||(li(e)?r(e,function(e){t.push(ne(n)+"="+ne(Dt(e)))}):t.push(ne(n)+"="+ne(Dt(e))))}),t.join("&")}}}function Ot(){this.$get=function(){return function(e){function t(e,o,a){null===e||v(e)||(li(e)?r(e,function(e,n){t(e,o+"["+(y(e)?n:"")+"]")}):y(e)&&!k(e)?i(e,function(e,n){t(e,o+(a?"":"[")+n+(a?"":"]"))}):n.push(ne(o)+"="+ne(Dt(e))))}if(!e)return"";var n=[];return t(e,"",!0),n.join("&")}}}function Ft(e,t){if(w(e)){var n=e.replace(vo,"").trim();if(n){var r=t("Content-Type");(r&&0===r.indexOf(ho)||Lt(n))&&(e=B(n))}}return e}function Lt(e){var t=e.match(mo);return t&&go[t[0]].test(e)}function Pt(e){function t(e,t){e&&(i[e]=i[e]?i[e]+", "+t:t)}var n,i=ge();return w(e)?r(e.split("\n"),function(e){n=e.indexOf(":"),t(Wr(fi(e.substr(0,n))),fi(e.substr(n+1)))}):y(e)&&r(e,function(e,n){t(Wr(n),fi(e))}),i}function Nt(e){var t;return function(n){if(t||(t=Pt(e)),n){var r=t[Wr(n)];return void 0===r&&(r=null),r}return t}}function It(e,t,n,i){return _(i)?i(e,t,n):(r(i,function(r){e=r(e,t,n)}),e)}function Rt(e){return 200<=e&&e<300}function Ut(){var e=this.defaults={transformResponse:[Ft],transformRequest:[function(e){return!y(e)||M(e)||D(e)||A(e)?e:W(e)}],headers:{common:{Accept:"application/json, text/plain, */*"},post:ye(po),put:ye(po),patch:ye(po)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",paramSerializer:"$httpParamSerializer",jsonpCallbackParam:"callback"},n=!1;this.useApplyAsync=function(e){return $(e)?(n=!!e,this):n};var i=this.interceptors=[];this.$get=["$browser","$httpBackend","$$cookieReader","$cacheFactory","$rootScope","$q","$injector","$sce",function(o,a,s,u,c,f,d,p){function m(n){function i(e,t){for(var n=0,r=t.length;n=-1?n:0,(Rt(n)?x.resolve:x.reject)({data:e,status:n,headers:Nt(r),config:t,statusText:i})}function d(e){l(e.data,e.status,ye(e.headers()),e.statusText)}function h(){var e=m.pendingRequests.indexOf(t);e!==-1&&m.pendingRequests.splice(e,1)}var g,b,x=f.defer(),_=x.promise,E=t.headers,M="jsonp"===Wr(t.method),A=t.url; +if(M?A=p.getTrustedResourceUrl(A):w(A)||(A=p.valueOf(A)),A=k(A,t.paramSerializer(t.params)),M&&(A=C(A,t.jsonpCallbackParam)),m.pendingRequests.push(t),_.then(h,h),!t.cache&&!e.cache||t.cache===!1||"GET"!==t.method&&"JSONP"!==t.method||(g=y(t.cache)?t.cache:y(e.cache)?e.cache:S),g&&(b=g.get(A),$(b)?O(b)?b.then(d,d):li(b)?l(b[1],b[0],ye(b[2]),b[3]):l(b,200,{},"OK"):g.put(A,_)),v(b)){var D=Rn(t.url)?s()[t.xsrfCookieName||e.xsrfCookieName]:void 0;D&&(E[t.xsrfHeaderName||e.xsrfHeaderName]=D),a(t.method,A,i,u,E,t.timeout,t.withCredentials,t.responseType,o(t.eventHandlers),o(t.uploadEventHandlers))}return _}function k(e,t){return t.length>0&&(e+=(e.indexOf("?")===-1?"?":"&")+t),e}function C(e,t){if(/[&?][^=]+=JSON_CALLBACK/.test(e))throw $o("badjsonp",'Illegal use of JSON_CALLBACK in url, "{0}"',e);var n=new RegExp("[&?]"+t+"=");if(n.test(e))throw $o("badjsonp",'Illegal use of callback param, "{0}", in url, "{1}"',t,e);return e+=(e.indexOf("?")===-1?"?":"&")+t+"=JSON_CALLBACK"}var S=u("$http");e.paramSerializer=w(e.paramSerializer)?d.get(e.paramSerializer):e.paramSerializer;var E=[];return r(i,function(e){E.unshift(w(e)?d.get(e):d.invoke(e))}),m.pendingRequests=[],g("get","delete","head","jsonp"),b("post","put","patch"),m.defaults=e,m}]}function jt(){this.$get=function(){return function(){return new e.XMLHttpRequest}}}function Vt(){this.$get=["$browser","$jsonpCallbacks","$document","$xhrFactory",function(e,t,n,r){return Ht(e,r,e.defer,t,n[0])}]}function Ht(e,t,n,i,o){function a(e,t,n){e=e.replace("JSON_CALLBACK",t);var r=o.createElement("script"),a=null;return r.type="text/javascript",r.src=e,r.async=!0,a=function(e){r.removeEventListener("load",a),r.removeEventListener("error",a),o.body.removeChild(r),r=null;var s=-1,u="unknown";e&&("load"!==e.type||i.wasCalled(t)||(e={type:"error"}),u=e.type,s="error"===e.type?404:200),n&&n(s,u)},r.addEventListener("load",a),r.addEventListener("error",a),o.body.appendChild(r),a}return function(o,s,u,l,c,f,d,h,p,m){function g(){w&&w(),x&&x.abort()}function y(e,t,r,i,o){$(C)&&n.cancel(C),w=x=null,e(t,r,i,o)}if(s=s||e.url(),"jsonp"===Wr(o))var b=i.createCallback(s),w=a(s,b,function(e,t){var n=200===e&&i.getResponse(b);y(l,e,n,"",t),i.removeCallback(b)});else{var x=t(o,s);x.open(o,s,!0),r(c,function(e,t){$(e)&&x.setRequestHeader(t,e)}),x.onload=function(){var e=x.statusText||"",t="response"in x?x.response:x.responseText,n=1223===x.status?204:x.status;0===n&&(n=t?200:"file"===In(s).protocol?404:0),y(l,n,t,x.getAllResponseHeaders(),e)};var k=function(){y(l,-1,null,null,"")};if(x.onerror=k,x.onabort=k,x.ontimeout=k,r(p,function(e,t){x.addEventListener(t,e)}),r(m,function(e,t){x.upload.addEventListener(t,e)}),d&&(x.withCredentials=!0),h)try{x.responseType=h}catch(_){if("json"!==h)throw _}x.send(v(u)?null:u)}if(f>0)var C=n(g,f);else O(f)&&f.then(g)}}function zt(){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,t,n,r){var i=e.$watch(function(e){return i(),r(e)},t,n);return i}function u(o,u,d,h){function p(e){try{return e=T(e),h&&!$(e)?e:ve(e)}catch(t){r(yo.interr(o,t))}}if(!o.length||o.indexOf(e)===-1){var g;if(!u){var y=a(o);g=m(y),g.exp=o,g.expressions=[],g.$$watchDelegate=s}return g}h=!!h;for(var b,w,x,k=0,C=[],S=[],E=o.length,M=[],A=[];k1&&yo.throwNoconcat(o),!u||C.length){var D=function(e){for(var t=0,n=C.length;t4,d=f?z(arguments,4):[],h=t.setInterval,p=t.clearInterval,m=0,g=$(l)&&!l,v=(g?r:n).defer(),y=v.promise;return u=$(u)?u:0,y.$$intervalId=h(function(){g?i.defer(c):e.$evalAsync(c),v.notify(m++),u>0&&m>=u&&(v.resolve(m),p(y.$$intervalId),delete a[y.$$intervalId]),g||e.$apply()},s),a[y.$$intervalId]=v,y}var a={};return o.cancel=function(e){return!!(e&&e.$$intervalId in a)&&(a[e.$$intervalId].promise["catch"](h),a[e.$$intervalId].reject("canceled"),t.clearInterval(e.$$intervalId),delete a[e.$$intervalId],!0)},o}]}function Yt(e){for(var t=e.split("/"),n=t.length;n--;)t[n]=te(t[n]);return t.join("/")}function Wt(e,t){var n=In(e);t.$$protocol=n.protocol,t.$$host=n.hostname,t.$$port=f(n.port)||xo[n.protocol]||null}function Bt(e,t){if(_o.test(e))throw ko("badpath",'Invalid url "{0}".',e);var n="/"!==e.charAt(0);n&&(e="/"+e);var r=In(e);t.$$path=decodeURIComponent(n&&"/"===r.pathname.charAt(0)?r.pathname.substring(1):r.pathname),t.$$search=X(r.search),t.$$hash=decodeURIComponent(r.hash),t.$$path&&"/"!==t.$$path.charAt(0)&&(t.$$path="/"+t.$$path)}function Gt(e,t){return e.slice(0,t.length)===t}function Zt(e,t){if(Gt(t,e))return t.substr(e.length)}function Qt(e){var t=e.indexOf("#");return t===-1?e:e.substr(0,t)}function Jt(e){return e.replace(/(#.+)|#$/,"$1")}function Kt(e){return e.substr(0,Qt(e).lastIndexOf("/")+1)}function Xt(e){return e.substring(0,e.indexOf("/",e.indexOf("//")+2))}function en(e,t,n){this.$$html5=!0,n=n||"",Wt(e,this),this.$$parse=function(e){var n=Zt(t,e);if(!w(n))throw ko("ipthprfx",'Invalid url "{0}", missing path prefix "{1}".',e,t);Bt(n,this),this.$$path||(this.$$path="/"),this.$$compose()},this.$$compose=function(){var e=ee(this.$$search),n=this.$$hash?"#"+te(this.$$hash):"";this.$$url=Yt(this.$$path)+(e?"?"+e:"")+n,this.$$absUrl=t+this.$$url.substr(1)},this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;var o,a,s;return $(o=Zt(e,r))?(a=o,s=n&&$(o=Zt(n,o))?t+(Zt("/",o)||o):e+a):$(o=Zt(t,r))?s=t+o:t===r+"/"&&(s=t),s&&this.$$parse(s),!!s}}function tn(e,t,n){Wt(e,this),this.$$parse=function(r){function i(e,t,n){var r,i=/^\/[A-Z]:(\/.*)/;return Gt(t,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);v(a)||"#"!==a.charAt(0)?this.$$html5?o=a:(o="",v(a)&&(e=r,this.replace())):(o=Zt(n,a),v(o)&&(o=a)),Bt(o,this),this.$$path=i(this.$$path,o,e),this.$$compose()},this.$$compose=function(){var t=ee(this.$$search),r=this.$$hash?"#"+te(this.$$hash):"";this.$$url=Yt(this.$$path)+(t?"?"+t:"")+r,this.$$absUrl=e+(this.$$url?n+this.$$url:"")},this.$$parseLinkUrl=function(t,n){return Qt(e)===Qt(t)&&(this.$$parse(t),!0)}}function nn(e,t,n){this.$$html5=!0,tn.apply(this,arguments),this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;var o,a;return e===Qt(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=ee(this.$$search),r=this.$$hash?"#"+te(this.$$hash):"";this.$$url=Yt(this.$$path)+(t?"?"+t:"")+r,this.$$absUrl=e+n+this.$$url}}function rn(e){return function(){return this[e]}}function on(e,t){return function(n){return v(n)?this[e]:(this[e]=t(n),this.$$compose(),this)}}function an(){var e="!",t={enabled:!1,requireBase:!0,rewriteLinks:!0};this.hashPrefix=function(t){return $(t)?(e=t,this):e},this.html5Mode=function(e){return T(e)?(t.enabled=e,this):y(e)?(T(e.enabled)&&(t.enabled=e.enabled),T(e.requireBase)&&(t.requireBase=e.requireBase),(T(e.rewriteLinks)||w(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 ko("nobase","$location in HTML5 mode requires a tag to be present!");f=Xt(h)+(d||"/"),c=i.history?en:nn}else f=Qt(h),c=tn;var p=Kt(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){var i=t.rewriteLinks;if(i&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey&&2!==e.which&&2!==e.button){for(var s=Jr(e.target);"a"!==I(s[0]);)if(s[0]===o[0]||!(s=s.parent())[0])return;if(!w(i)||!v(s.attr(i))){var u=s.prop("href"),c=s.attr("href")||s.attr("xlink:href");y(u)&&"[object SVGAnimatedString]"===u.toString()&&(u=In(u.animVal).href),m.test(u)||!u||s.attr("target")||e.isDefaultPrevented()||l.$$parseLinkUrl(u,c)&&(e.preventDefault(),l.absUrl()!==r.url()&&(n.$apply(),a.angular["ff-684208-preventDefault"]=!0))}}}),Jt(l.absUrl())!==Jt(h)&&r.url(l.absUrl(),!0);var g=!0;return r.onUrlChange(function(e,t){return Gt(e,p)?(n.$evalAsync(function(){var r,i=l.absUrl(),o=l.$$state;e=Jt(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())):void(a.location.href=e)}),n.$watch(function(){var e=Jt(r.url()),t=Jt(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 sn(){var e=!0,t=this;this.debugEnabled=function(t){return $(t)?(e=t,this):e},this.$get=["$window",function(n){function i(e){return e instanceof Error&&(e.stack?e=e.message&&e.stack.indexOf(e.message)===-1?"Error: "+e.message+"\n"+e.stack:e.stack:e.sourceURL&&(e=e.message+"\n"+e.sourceURL+":"+e.line)),e}function o(e){var t=n.console||{},o=t[e]||t.log||h,a=!1;try{a=!!o.apply}catch(s){}return a?function(){var e=[];return r(arguments,function(t){e.push(i(t))}),o.apply(t,e)}:function(e,t){o(e,null==t?"":t)}}return{log:o("log"),info:o("info"),warn:o("warn"),error:o("error"),debug:function(){var n=o("debug");return function(){e&&n.apply(t,arguments)}}()}}]}function un(e){return e+""}function ln(e,t){return"undefined"!=typeof e?e:t}function cn(e,t){return"undefined"==typeof e?t:"undefined"==typeof t?e:e+t}function fn(e,t){var n=e(t);return!n.$stateful}function dn(e,t){var n,i,o;switch(e.type){case To.Program:n=!0,r(e.body,function(e){dn(e.expression,t),n=n&&e.expression.constant}),e.constant=n;break;case To.Literal:e.constant=!0,e.toWatch=[];break;case To.UnaryExpression:dn(e.argument,t),e.constant=e.argument.constant,e.toWatch=e.argument.toWatch;break;case To.BinaryExpression:dn(e.left,t),dn(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.left.toWatch.concat(e.right.toWatch);break;case To.LogicalExpression:dn(e.left,t),dn(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.constant?[]:[e];break;case To.ConditionalExpression:dn(e.test,t),dn(e.alternate,t),dn(e.consequent,t),e.constant=e.test.constant&&e.alternate.constant&&e.consequent.constant,e.toWatch=e.constant?[]:[e];break;case To.Identifier:e.constant=!1,e.toWatch=[e];break;case To.MemberExpression:dn(e.object,t),e.computed&&dn(e.property,t),e.constant=e.object.constant&&(!e.computed||e.property.constant),e.toWatch=[e];break;case To.CallExpression:o=!!e.filter&&fn(t,e.callee.name),n=o,i=[],r(e.arguments,function(e){dn(e,t),n=n&&e.constant,e.constant||i.push.apply(i,e.toWatch)}),e.constant=n,e.toWatch=o?i:[e];break;case To.AssignmentExpression:dn(e.left,t),dn(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=[e];break;case To.ArrayExpression:n=!0,i=[],r(e.elements,function(e){dn(e,t),n=n&&e.constant,e.constant||i.push.apply(i,e.toWatch)}),e.constant=n,e.toWatch=i;break;case To.ObjectExpression:n=!0,i=[],r(e.properties,function(e){dn(e.value,t),n=n&&e.value.constant&&!e.computed,e.value.constant||i.push.apply(i,e.value.toWatch)}),e.constant=n,e.toWatch=i;break;case To.ThisExpression:e.constant=!1,e.toWatch=[];break;case To.LocalsExpression:e.constant=!1,e.toWatch=[]}}function hn(e){if(1===e.length){var t=e[0].expression,n=t.toWatch;return 1!==n.length?n:n[0]!==t?n:void 0}}function pn(e){return e.type===To.Identifier||e.type===To.MemberExpression}function mn(e){if(1===e.body.length&&pn(e.body[0].expression))return{type:To.AssignmentExpression,left:e.body[0].expression,right:{type:To.NGValueParameter},operator:"="}}function gn(e){return 0===e.body.length||1===e.body.length&&(e.body[0].expression.type===To.Literal||e.body[0].expression.type===To.ArrayExpression||e.body[0].expression.type===To.ObjectExpression)}function vn(e){return e.constant}function $n(e,t){this.astBuilder=e,this.$filter=t}function yn(e,t){this.astBuilder=e,this.$filter=t}function bn(e){return _(e.valueOf)?e.valueOf():Eo.call(e)}function wn(){var e,t,n=ge(),i={"true":!0,"false":!1,"null":null,undefined:void 0};this.addLiteral=function(e,t){i[e]=t},this.setIdentifierFns=function(n,r){return e=n,t=r,this},this.$get=["$filter",function(o){function a(e,t){var r,i,a;switch(typeof e){case"string":if(e=e.trim(),a=e,r=n[a],!r){":"===e.charAt(0)&&":"===e.charAt(1)&&(i=!0,e=e.substring(2));var s=new Do(m),p=new Oo(s,o,m);r=p.parse(e),r.constant?r.$$watchDelegate=f:i?r.$$watchDelegate=r.literal?c:l:r.inputs&&(r.$$watchDelegate=u),n[a]=r}return d(r,t);case"function":return d(e,t);default:return d(h,t)}}function s(e,t){return null==e||null==t?e===t:("object"!=typeof e||(e=bn(e),"object"!=typeof e))&&(e===t||e!==e&&t!==t)}function u(e,t,n,r,i){var o,a=r.inputs;if(1===a.length){var u=s;return a=a[0],e.$watch(function(e){var t=a(e);return s(t,u)||(o=r(e,void 0,void 0,[t]),u=t&&bn(t)),o},t,n,i)}for(var l=[],c=[],f=0,d=a.length;f0&&f(this.$$state),r},"catch":function(e){return this.then(null,e)},"finally":function(e,t){return this.then(function(t){return b(t,A,e)},function(t){return b(t,$,e)},t)}});var A=w;return C.prototype=s.prototype,C.defer=o,C.reject=$,C.when=w,C.resolve=A,C.all=x,C.race=k,C}function Cn(){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 Sn(){function e(e){function t(){this.$$watchers=this.$$nextSibling=this.$$childHead=this.$$childTail=null,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$id=a(),this.$$ChildScope=null}return t.prototype=e,t}var i=10,o=t("$rootScope"),s=null,u=null;this.digestTtl=function(e){return arguments.length&&(i=e),i},this.$get=["$exceptionHandler","$parse","$browser",function(t,l,c){function f(e){e.currentScope.$$destroyed=!0}function d(e){9===Qr&&(e.$$childHead&&d(e.$$childHead),e.$$nextSibling&&d(e.$$nextSibling)),e.$parent=e.$$nextSibling=e.$$prevSibling=e.$$childHead=e.$$childTail=e.$root=e.$$watchers=null}function p(){this.$id=a(),this.$$phase=this.$parent=this.$$watchers=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=null,this.$root=this,this.$$destroyed=!1,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$$isolateBindings=null}function m(e){if(C.$$phase)throw o("inprog","{0} already in progress",C.$$phase);C.$$phase=e}function g(){C.$$phase=null}function $(e,t){do e.$$watchersCount+=t;while(e=e.$parent)}function b(e,t,n){do e.$$listenerCount[n]-=t,0===e.$$listenerCount[n]&&delete e.$$listenerCount[n];while(e=e.$parent)}function w(){}function x(){for(;M.length;)try{M.shift()()}catch(e){t(e)}u=null}function k(){null===u&&(u=c.defer(function(){C.$apply(x)}))}p.prototype={constructor:p,$new:function(t,n){var r;return n=n||this,t?(r=new p,r.$root=this.$root):(this.$$ChildScope||(this.$$ChildScope=e(this)),r=new this.$$ChildScope),r.$parent=n,r.$$prevSibling=n.$$childTail,n.$$childHead?(n.$$childTail.$$nextSibling=r,n.$$childTail=r):n.$$childHead=n.$$childTail=r,(t||n!==this)&&r.$on("$destroy",f),r},$watch:function(e,t,n,r){var i=l(e);if(i.$$watchDelegate)return i.$$watchDelegate(this,t,n,i,e);var o=this,a=o.$$watchers,u={fn:t,last:w,get:i,exp:r||e,eq:!!n};return s=null,_(t)||(u.fn=h),a||(a=o.$$watchers=[],a.$$digestWatchIndex=-1),a.unshift(u),a.$$digestWatchIndex++,$(this,1),function(){var e=U(a,u);e>=0&&($(o,-1),et){f++;for(r in a)Yr.call(o,r)||(g--,delete a[r])}}else a!==o&&(a=o,f++);return f}}function i(){if(m?(m=!1,t(o,o,u)):t(o,s,u),c)if(y(o))if(n(o)){s=new Array(o.length);for(var e=0;e1,f=0,d=l(e,r),h=[],p={},m=!0,g=0;return this.$watch(d,i)},$digest:function(){var e,n,r,a,l,f,d,h,p,v,$,y=i,b=this,k=[];m("$digest"),c.$$checkUrlChange(),this===C&&null!==u&&(c.defer.cancel(u),x()),s=null;do{d=!1,p=b;for(var M=0;M-1)throw Fo("iwcard","Illegal sequence *** in string matcher. String: {0}",e);return e=di(e).replace(/\\\*\\\*/g,".*").replace(/\\\*/g,"[^:/.?&;]*"),new RegExp("^"+e+"$")}if(C(e))return new RegExp("^"+e.source+"$");throw Fo("imatcher",'Matchers may only be "self", string patterns or RegExp objects')}function Dn(e){var t=[];return $(e)&&r(e,function(e){t.push(An(e))}),t}function Tn(){this.SCE_CONTEXTS=Lo;var e=["self"],t=[];this.resourceUrlWhitelist=function(t){return arguments.length&&(e=Dn(t)),e},this.resourceUrlBlacklist=function(e){return arguments.length&&(t=Dn(e)),t},this.$get=["$injector",function(n){function r(e,t){return"self"===e?Rn(t):!!e.exec(t.href)}function i(n){var i,o,a=In(n.toString()),s=!1;for(i=0,o=e.length;i to the top of your HTML document. See http://docs.angularjs.org/api/ng.$sce for more information.");var i=ye(Lo);i.isEnabled=function(){return e},i.trustAs=n.trustAs,i.getTrusted=n.getTrusted,i.valueOf=n.valueOf,e||(i.trustAs=i.getTrusted=function(e,t){return t},i.valueOf=p),i.parseAs=function(e,n){var r=t(n);return r.literal&&r.constant?r:t(n,function(t){return i.getTrusted(e,t)})};var o=i.parseAs,a=i.getTrusted,s=i.trustAs;return r(Lo,function(e,t){var n=Wr(t);i[Mn("parse_as_"+n)]=function(t){return o(e,t)},i[Mn("get_trusted_"+n)]=function(t){return a(e,t)},i[Mn("trust_as_"+n)]=function(t){return s(e,t)}}),i}]}function Fn(){this.$get=["$window","$document",function(e,t){var n={},r=e.chrome&&(e.chrome.app&&e.chrome.app.runtime||!e.chrome.app&&e.chrome.runtime&&e.chrome.runtime.id),i=!r&&e.history&&e.history.pushState,o=f((/android (\d+)/.exec(Wr((e.navigator||{}).userAgent))||[])[1]),a=/Boxee/i.test((e.navigator||{}).userAgent),s=t[0]||{},u=s.body&&s.body.style,l=!1,c=!1;return u&&(l=!!("transition"in u||"webkitTransition"in u),c=!!("animation"in u||"webkitAnimation"in u)),{history:!(!i||o<4||a),hasEvent:function(e){if("input"===e&&Qr)return!1;if(v(n[e])){var t=s.createElement("div");n[e]="on"+e in t}return n[e]},csp:hi(),transitions:l,animations:c,android:o}}]}function Ln(){var e;this.httpOptions=function(t){return t?(e=t,this):e},this.$get=["$exceptionHandler","$templateCache","$http","$q","$sce",function(t,n,r,i,o){function a(s,u){function c(e){return u||(e=No("tpload","Failed to load template: {0} (HTTP status: {1} {2})",s,e.status,e.statusText),t(e)),i.reject(e)}a.totalPendingRequests++,w(s)&&!v(n.get(s))||(s=o.getTrustedResourceUrl(s));var f=r.defaults&&r.defaults.transformResponse;return li(f)?f=f.filter(function(e){return e!==Ft}):f===Ft&&(f=null),r.get(s,l({cache:n,transformResponse:f},e))["finally"](function(){a.totalPendingRequests--}).then(function(e){return n.put(s,e.data),e.data},c)}return a.totalPendingRequests=0,a}]}function Pn(){this.$get=["$rootScope","$browser","$location",function(e,t,n){var i={};return i.findBindings=function(e,t,n){var i=e.getElementsByClassName("ng-binding"),o=[];return r(i,function(e){var i=ai.element(e).data("$binding");i&&r(i,function(r){if(n){var i=new RegExp("(^|\\s)"+di(t)+"(\\s|\\||$)");i.test(r)&&o.push(e)}else r.indexOf(t)!==-1&&o.push(e)})}),o},i.findModels=function(e,t,n){for(var r=["ng-","data-ng-","ng\\:"],i=0;i0&&(l=n(a.substring(0,u)),v(i[l])&&(i[l]=n(a.substring(u+1))));return i}}function Vn(){this.$get=jn}function Hn(e){function t(i,o){if(y(i)){var a={};return r(i,function(e,n){a[n]=t(n,e)}),a}return e.factory(i+n,o)}var n="Filter";this.register=t,this.$get=["$injector",function(e){return function(t){return e.get(t+n)}}],t("currency",Bn),t("date",ur),t("filter",zn),t("json",lr),t("limitTo",cr),t("lowercase",Yo),t("number",Gn),t("orderBy",dr),t("uppercase",Wo)}function zn(){return function(e,r,i,o){if(!n(e)){if(null==e)return e;throw t("filter")("notarray","Expected array but received: {0}",e)}o=o||"$";var a,s,u=Wn(r);switch(u){case"function":a=r;break;case"boolean":case"null":case"number":case"string":s=!0;case"object":a=qn(r,i,o,s);break;default:return e}return Array.prototype.filter.call(e,a)}}function qn(e,t,n,r){var i,o=y(e)&&n in e;return t===!0?t=V:_(t)||(t=function(e,t){return!v(e)&&(null===e||null===t?e===t:!(y(t)||y(e)&&!g(e))&&(e=Wr(""+e),t=Wr(""+t),e.indexOf(t)!==-1))}),i=function(i){return o&&!y(i)?Yn(i,e[n],t,n,!1):Yn(i,e,t,n,r)}}function Yn(e,t,n,r,i,o){var a=Wn(e),s=Wn(t);if("string"===s&&"!"===t.charAt(0))return!Yn(e,t.substring(1),n,r,i);if(li(e))return e.some(function(e){return Yn(e,t,n,r,i)});switch(a){case"object":var u;if(i){for(u in e)if("$"!==u.charAt(0)&&Yn(e[u],t,n,r,!0))return!0;return!o&&Yn(e,t,n,r,!1)}if("object"===s){for(u in t){var l=t[u];if(!_(l)&&!v(l)){var c=u===r,f=c?e:e[u];if(!Yn(f,l,n,r,c,c))return!1}}return!0}return n(e,t);case"function":return!1;default:return n(e,t)}}function Wn(e){return null===e?"null":typeof e}function Bn(e){var t=e.NUMBER_FORMATS;return function(e,n,r){return v(n)&&(n=t.CURRENCY_SYM),v(r)&&(r=t.PATTERNS[1].maxFrac),null==e?e:Jn(e,t.PATTERNS[1],t.GROUP_SEP,t.DECIMAL_SEP,r).replace(/\u00A4/g,n)}}function Gn(e){var t=e.NUMBER_FORMATS;return function(e,n){return null==e?e:Jn(e,t.PATTERNS[0],t.GROUP_SEP,t.DECIMAL_SEP,n)}}function Zn(e){var t,n,r,i,o,a=0;for((n=e.indexOf(jo))>-1&&(e=e.replace(jo,"")),(r=e.search(/e/i))>0?(n<0&&(n=r),n+=+e.slice(r+1),e=e.substring(0,r)):n<0&&(n=e.length),r=0;e.charAt(r)===Vo;r++);if(r===(o=e.length))t=[0],n=1;else{for(o--;e.charAt(o)===Vo;)o--;for(n-=r,t=[],i=0;r<=o;r++,i++)t[i]=+e.charAt(r)}return n>Uo&&(t=t.splice(0,Uo-1),a=n-1,n=1),{d:t,e:a,i:n}}function Qn(e,t,n,r){var i=e.d,o=i.length-e.i;t=v(t)?Math.min(Math.max(n,o),r):+t;var a=t+e.i,s=i[a];if(a>0){i.splice(Math.max(e.i,a));for(var u=a;u=5)if(a-1<0){for(var c=0;c>a;c--)i.unshift(0),e.i++;i.unshift(1),e.i++}else i[a-1]++;for(;o0?h=c.splice(f,c.length):(h=c,c=[0]);var p=[];for(c.length>=t.lgSize&&p.unshift(c.splice(-t.lgSize,c.length).join(""));c.length>t.gSize;)p.unshift(c.splice(-t.gSize,c.length).join(""));c.length&&p.unshift(c.join("")),l=p.join(n),h.length&&(l+=r+h.join("")),d&&(l+="e+"+d)}return e<0&&!s?t.negPre+l+t.negSuf:t.posPre+l+t.posSuf}function Kn(e,t,n,r){var i="";for((e<0||r&&e<=0)&&(r?e=-e+1:(e=-e,i="-")),e=""+e;e.length0||a>-n)&&(a+=n),0===a&&n===-12&&(a=12),Kn(a,t,r,i)}}function er(e,t,n){return function(r,i){var o=r["get"+e](),a=(n?"STANDALONE":"")+(t?"SHORT":""),s=Br(a+e);return i[s][o]}}function tr(e,t,n){var r=-1*n,i=r>=0?"+":"";return i+=Kn(Math[r>0?"floor":"ceil"](r/60),2)+Kn(Math.abs(r%60),2)}function nr(e){var t=new Date(e,0,1).getDay();return new Date(e,0,(t<=4?5:12)-t)}function rr(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate()+(4-e.getDay()))}function ir(e){return function(t){var n=nr(t.getFullYear()),r=rr(t),i=+r-+n,o=1+Math.round(i/6048e5);return Kn(o,e)}}function or(e,t){return e.getHours()<12?t.AMPMS[0]:t.AMPMS[1]}function ar(e,t){return e.getFullYear()<=0?t.ERAS[0]:t.ERAS[1]}function sr(e,t){return e.getFullYear()<=0?t.ERANAMES[0]:t.ERANAMES[1]}function ur(e){function t(e){var t;if(t=e.match(n)){var r=new Date(0),i=0,o=0,a=t[8]?r.setUTCFullYear:r.setFullYear,s=t[8]?r.setUTCHours:r.setHours;t[9]&&(i=f(t[9]+t[10]),o=f(t[9]+t[11])),a.call(r,f(t[1]),f(t[2])-1,f(t[3]));var u=f(t[4]||0)-i,l=f(t[5]||0)-o,c=f(t[6]||0),d=Math.round(1e3*parseFloat("0."+(t[7]||0)));return s.call(r,u,l,c,d),r}return e}var n=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;return function(n,i,o){var a,s,u="",l=[];if(i=i||"mediumDate",i=e.DATETIME_FORMATS[i]||i,w(n)&&(n=qo.test(n)?f(n):t(n)),x(n)&&(n=new Date(n)),!k(n)||!isFinite(n.getTime()))return n;for(;i;)s=zo.exec(i),s?(l=H(l,s,1),i=l.pop()):(l.push(i),i=null);var c=n.getTimezoneOffset();return o&&(c=G(o,c),n=Q(n,o,!0)),r(l,function(t){a=Ho[t],u+=a?a(n,e.DATETIME_FORMATS,c):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}}function lr(){return function(e,t){return v(t)&&(t=2),W(e,t)}}function cr(){return function(e,t,r){return t=Math.abs(Number(t))===1/0?Number(t):f(t),ui(t)?e:(x(e)&&(e=e.toString()),n(e)?(r=!r||isNaN(r)?0:f(r),r=r<0?Math.max(0,e.length+r):r,t>=0?fr(e,r,r+t):0===r?fr(e,t,e.length):fr(e,Math.max(0,r+t),r)):e)}}function fr(e,t,n){return w(e)?e.slice(t,n):ei.call(e,t,n)}function dr(e){function r(t){return t.map(function(t){var n=1,r=p;if(_(t))r=t;else if(w(t)&&("+"!==t.charAt(0)&&"-"!==t.charAt(0)||(n="-"===t.charAt(0)?-1:1,t=t.substring(1)),""!==t&&(r=e(t),r.constant))){var i=r();r=function(e){return e[i]}}return{get:r,descending:n}})}function i(e){switch(typeof e){case"number":case"boolean":case"string":return!0;default:return!1}}function o(e){return _(e.valueOf)&&(e=e.valueOf(),i(e))?e:g(e)&&(e=e.toString(),i(e))?e:e}function a(e,t){var n=typeof e;return null===e?(n="string",e="null"):"object"===n&&(e=o(e)),{value:e,type:n,index:t}}function s(e,t){var n=0,r=e.type,i=t.type;if(r===i){var o=e.value,a=t.value;"string"===r?(o=o.toLowerCase(),a=a.toLowerCase()):"object"===r&&(y(o)&&(o=e.index),y(a)&&(a=t.index)),o!==a&&(n=o=m},a.$observe("min",function(e){m=d(e),s.$validate()})}if($(a.max)||a.ngMax){var g;s.$validators.max=function(e){return!f(e)||v(g)||n(e)<=g},a.$observe("max",function(e){g=d(e),s.$validate()})}}}function Cr(e,t,n,r){var i=t[0],o=r.$$hasNativeValidators=y(i.validity);o&&r.$parsers.push(function(e){var n=t.prop(qr)||{};return n.badInput||n.typeMismatch?void 0:e})}function Sr(e){e.$$parserName="number",e.$parsers.push(function(t){return e.$isEmpty(t)?null:ia.test(t)?parseFloat(t):void 0}),e.$formatters.push(function(t){if(!e.$isEmpty(t)){if(!x(t))throw ja("numfmt","Expected `{0}` to be a number",t);t=t.toString()}return t})}function Er(e){return $(e)&&!x(e)&&(e=parseFloat(e)),ui(e)?void 0:e}function Mr(e){return(0|e)===e}function Ar(e){var t=e.toString(),n=t.indexOf(".");if(n===-1){if(-1=a},n.$observe("min",function(e){a=Er(e),r.$validate()})),($(n.max)||n.ngMax)&&(r.$validators.max=function(e){return r.$isEmpty(e)||v(s)||e<=s},n.$observe("max",function(e){s=Er(e),r.$validate()})),$(n.step)||n.ngStep){var u;r.$validators.step=function(e,t){return r.$isEmpty(t)||v(u)||Dr(t,a||0,u)},n.$observe("step",function(e){u=Er(e),r.$validate()})}}function Or(e,t,n,r,i,o){function a(e,r){t.attr(e,n[e]),n.$observe(e,r)}function s(e){if(f=Er(e),!ui(r.$modelValue))if(c){var n=t.val();f>n&&(n=f,t.val(n)),r.$setViewValue(n)}else r.$validate()}function u(e){if(d=Er(e),!ui(r.$modelValue))if(c){var n=t.val();d=f},a("min",s)),g&&(r.$validators.max=c?function(){return!0}:function(e,t){return r.$isEmpty(t)||v(d)||t<=d},a("max",u)),y&&(r.$validators.step=c?function(){return!p.stepMismatch}:function(e,t){return r.$isEmpty(t)||v(h)||Dr(t,f||0,h)},a("step",l))}function Fr(e,t,n,r,i,o){wr(e,t,n,r,i,o),yr(r),r.$$parserName="url",r.$validators.url=function(e,t){var n=e||t;return r.$isEmpty(n)||na.test(n)}}function Lr(e,t,n,r,i,o){wr(e,t,n,r,i,o),yr(r),r.$$parserName="email",r.$validators.email=function(e,t){var n=e||t;return r.$isEmpty(n)||ra.test(n)}}function Pr(e,t,n,r){var i=!n.ngTrim||"false"!==fi(n.ngTrim);v(n.name)&&t.attr("name",a());var o=function(e){var o;t[0].checked&&(o=n.value,i&&(o=fi(o)),r.$setViewValue(o,e&&e.type))};t.on("click",o),r.$render=function(){var e=n.value;i&&(e=fi(e)),t[0].checked=e===r.$viewValue},n.$observe("value",r.$render)}function Nr(e,t,n,r,i){var o;if($(r)){if(o=e(r),!o.constant)throw ja("constexpr","Expected constant expression for `{0}`, but saw `{1}`.",n,r);return o(t)}return i}function Ir(e,t,n,r,i,o,a,s){var u=Nr(s,e,"ngTrueValue",n.ngTrueValue,!0),l=Nr(s,e,"ngFalseValue",n.ngFalseValue,!1),c=function(e){r.$setViewValue(t[0].checked,e&&e.type)};t.on("click",c),r.$render=function(){t[0].checked=r.$viewValue},r.$isEmpty=function(e){return e===!1},r.$formatters.push(function(e){return V(e,u)}),r.$parsers.push(function(e){return e?u:l})}function Rr(e,t){function n(e,t){if(!e||!e.length)return[];if(!t||!t.length)return e;var n=[];e:for(var r=0;r0||C[e])&&(C[e]=(C[e]||0)+t,C[e]===+(t>0)&&n.push(e))}),n.join(" ")}function g(e){e===t?d(y):h(y),S=e}function v(e){var t=o(e);t!==y&&$(t)}function $(e){S===t&&p(y,e),y=e}var y,b=f[e].trim(),w=":"===b.charAt(0)&&":"===b.charAt(1),x=w?a:o,k=u(b,x),_=w?v:$,C=c.data("$classCounts"),S=!0;C||(C=ge(),c.data("$classCounts",C)),"ngClass"!==e&&(s||(s=u("$index",function(e){return 1&e})),l.$watch(s,g)),l.$watch(k,_,w)}}}]}function Ur(e,t,n,r,i,o,a,s,u){this.$viewValue=Number.NaN,this.$modelValue=Number.NaN,this.$$rawModelValue=void 0,this.$validators={},this.$asyncValidators={},this.$parsers=[],this.$formatters=[],this.$viewChangeListeners=[],this.$untouched=!0,this.$touched=!1,this.$pristine=!0,this.$dirty=!1,this.$valid=!0,this.$invalid=!1,this.$error={},this.$$success={},this.$pending=void 0,this.$name=u(n.name||"",!1)(e),this.$$parentForm=Zo,this.$options=Va,this.$$parsedNgModel=i(n.ngModel),this.$$parsedNgModelAssign=this.$$parsedNgModel.assign,this.$$ngModelGet=this.$$parsedNgModel,this.$$ngModelSet=this.$$parsedNgModelAssign,this.$$pendingDebounce=null,this.$$parserValid=void 0,this.$$currentValidationRunId=0,this.$$scope=e,this.$$attr=n,this.$$element=r,this.$$animate=o,this.$$timeout=a,this.$$parse=i,this.$$q=s,this.$$exceptionHandler=t,gr(this),jr(this)}function jr(e){e.$$scope.$watch(function(){var t=e.$$ngModelGet(e.$$scope);if(t!==e.$modelValue&&(e.$modelValue===e.$modelValue||t===t)){e.$modelValue=e.$$rawModelValue=t,e.$$parserValid=void 0;for(var n=e.$formatters,r=n.length,i=t;r--;)i=n[r](i);e.$viewValue!==i&&(e.$$updateEmptyClasses(i),e.$viewValue=e.$$lastCommittedViewValue=i,e.$render(),e.$$runValidators(e.$modelValue,e.$viewValue,h))}return t})}function Vr(e){this.$$options=e}function Hr(e,t){r(t,function(t,n){$(e[n])||(e[n]=t)})}var zr=/^\/(.+)\/([a-z]*)$/,qr="validity",Yr=Object.prototype.hasOwnProperty,Wr=function(e){return w(e)?e.toLowerCase():e},Br=function(e){return w(e)?e.toUpperCase():e},Gr=function(e){return w(e)?e.replace(/[A-Z]/g,function(e){return String.fromCharCode(32|e.charCodeAt(0))}):e},Zr=function(e){return w(e)?e.replace(/[a-z]/g,function(e){return String.fromCharCode(e.charCodeAt(0)&-33)}):e};"i"!=="I".toLowerCase()&&(Wr=Gr,Br=Zr);var Qr,Jr,Kr,Xr,ei=[].slice,ti=[].splice,ni=[].push,ri=Object.prototype.toString,ii=Object.getPrototypeOf,oi=t("ng"),ai=e.angular||(e.angular={}),si=0;Qr=e.document.documentMode;var ui=Number.isNaN||function(e){return e!==e};h.$inject=[],p.$inject=[];var li=Array.isArray,ci=/^\[object (?:Uint8|Uint8Clamped|Uint16|Uint32|Int8|Int16|Int32|Float32|Float64)Array]$/,fi=function(e){return w(e)?e.trim():e},di=function(e){return e.replace(/([-()[\]{}+?*.$^|,:#(?:<\/\1>|)$/,Li=/<|&#?\w+;/,Pi=/<([\w:-]+)/,Ni=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,Ii={option:[1,'"],thead:[1,"","
    "],col:[2,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],_default:[0,"",""]};Ii.optgroup=Ii.option,Ii.tbody=Ii.tfoot=Ii.colgroup=Ii.caption=Ii.thead,Ii.th=Ii.td;var Ri=e.Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))},Ui=Le.prototype={ready:Qe,toString:function(){var e=[];return r(this,function(t){e.push(""+t)}),"["+e.join(", ")+"]"},eq:function(e){return Jr(e>=0?this[e]:this[this.length+e])},length:0,push:ni,sort:[].sort,splice:[].splice},ji={};r("multiple,selected,checked,disabled,readOnly,required,open".split(","),function(e){ji[Wr(e)]=e});var Vi={};r("input,select,option,textarea,button,form,details".split(","),function(e){Vi[e]=!0});var Hi={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern",ngStep:"step"};r({data:je,removeData:Re,hasData:Ae,cleanData:De},function(e,t){Le[t]=e}),r({data:je,inheritedData:We,scope:function(e){return Jr.data(e,"$scope")||We(e.parentNode||e,["$isolateScope","$scope"])},isolateScope:function(e){return Jr.data(e,"$isolateScope")||Jr.data(e,"$isolateScopeNoTemplate")},controller:Ye,injector:function(e){return We(e,"$injector")},removeAttr:function(e,t){e.removeAttribute(t)},hasClass:Ve,css:function(e,t,n){return t=_e(t),$(n)?void(e.style[t]=n):e.style[t]},attr:function(e,t,n){var r,i=e.nodeType;if(i!==xi&&i!==wi&&i!==ki&&e.getAttribute){var o=Wr(t),a=ji[o];return $(n)?void(null===n||n===!1&&a?e.removeAttribute(t):e.setAttribute(t,a?o:n)):(r=e.getAttribute(t),a&&null!==r&&(r=o),null===r?void 0:r)}},prop:function(e,t,n){return $(n)?void(e[t]=n):e[t]},text:function(){function e(e,t){if(v(t)){var n=e.nodeType;return n===bi||n===xi?e.textContent:""}e.textContent=t}return e.$dv="",e}(),val:function(e,t){if(v(t)){if(e.multiple&&"select"===I(e)){var n=[];return r(e.options,function(e){e.selected&&n.push(e.value||e.text)}),n}return e.value}e.value=t},html:function(e,t){return v(t)?e.innerHTML:(Ne(e,!0),void(e.innerHTML=t))},empty:Be},function(e,t){Le.prototype[t]=function(t,n){var r,i,o=this.length;if(e!==Be&&v(2===e.length&&e!==Ve&&e!==Ye?t:n)){if(y(t)){for(r=0;r=0?t.split(" "):[t],u=s.length,l=function(t,r,i){var s=o[t];s||(s=o[t]=[],s.specialHandlerWrapper=r,"$destroy"===t||i||e.addEventListener(t,a)),s.push(n)};u--;)t=s[u],Ti[t]?(l(Ti[t],tt),l(t,void 0,!0)):l(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,i=e.parentNode;Ne(e),r(new Le(t),function(t){n?i.insertBefore(t,n.nextSibling):i.replaceChild(t,e),n=t})},children:function(e){var t=[];return r(e.childNodes,function(e){e.nodeType===bi&&t.push(e)}),t},contents:function(e){return e.contentDocument||e.childNodes||[]},append:function(e,t){var n=e.nodeType;if(n===bi||n===Ci){t=new Le(t);for(var r=0,i=t.length;r/,Yi=/^[^(]*\(\s*([^)]*)\)/m,Wi=/,/,Bi=/^\s*(_?)(\S+?)\1\s*$/,Gi=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,Zi=t("$injector");lt.$$annotate=ut;var Qi=t("$animate"),Ji=1,Ki="ng-animate",Xi=function(){this.$get=h},eo=function(){var e=new it,t=[];this.$get=["$$AnimateRunner","$rootScope",function(n,i){function o(e,t,n){var i=!1;return t&&(t=w(t)?t.split(" "):li(t)?t:[],r(t,function(t){t&&(i=!0,e[t]=n)})),i}function a(){r(t,function(t){var n=e.get(t);if(n){var i=ht(t.attr("class")),o="",a="";r(n,function(e,t){var n=!!i[t];e!==n&&(e?o+=(o.length?" ":"")+t:a+=(a.length?" ":"")+t)}),r(t,function(e){o&&ze(e,o),a&&He(e,a)}),e.remove(t)}}),t.length=0}function s(n,r,s){var u=e.get(n)||{},l=o(u,r,!0),c=o(u,s,!1);(l||c)&&(e.put(n,u),t.push(n),1===t.length&&i.$$postDigest(a))}return{enabled:h,on:h,off:h,pin:h,push:function(e,t,r,i){i&&i(),r=r||{},r.from&&e.css(r.from),r.to&&e.css(r.to),(r.addClass||r.removeClass)&&s(e,r.addClass,r.removeClass);var o=new n;return o.complete(),o}}}]},to=["$provide",function(e){var t=this;this.$$registeredAnimations=Object.create(null),this.register=function(n,r){if(n&&"."!==n.charAt(0))throw Qi("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+|\\/)"+Ki+"(\\s+|\\/)");if(t.test(this.$$classNameFilter.toString()))throw Qi("nongcls",'$animateProvider.classNameFilter(regex) prohibits accepting a regex value which matches/contains the "{0}" CSS class.',Ki)}return this.$$classNameFilter},this.$get=["$$animateQueue",function(e){function t(e,t,n){if(n){var r=dt(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",pt(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",pt(o))},leave:function(t,n){return e.push(t,"leave",pt(n),function(){t.remove()})},addClass:function(t,n,r){return r=pt(r),r.addClass=ft(r.addclass,n),e.push(t,"addClass",r)},removeClass:function(t,n,r){return r=pt(r),r.removeClass=ft(r.removeClass,n),e.push(t,"removeClass",r)},setClass:function(t,n,r,i){return i=pt(i),i.addClass=ft(i.addClass,n),i.removeClass=ft(i.removeClass,r),e.push(t,"setClass",i)},animate:function(t,n,r,i,o){return o=pt(o),o.from=o.from?l(o.from,n):n,o.to=o.to?l(o.to,r):r,i=i||"ng-inline-animate",o.tempClasses=ft(o.tempClasses,i),e.push(t,"animate",o)}}}]}],no=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){Mo[e]=!0});var Ao={n:"\n",f:"\f",r:"\r",t:"\t",v:"\x0B","'":"'",'"':'"'},Do=function(e){this.options=e};Do.prototype={constructor:Do,lex:function(e){for(this.text=e,this.index=0,this.tokens=[];this.index=55296&&n<=56319&&r>=56320&&r<=57343?e+t:e},isExpOperator:function(e){return"-"===e||"+"===e||this.isNumber(e)},throwError:function(e,t,n){n=n||this.index;var r=$(t)?"s "+t+"-"+this.index+" ["+this.text.substring(t,n)+"]":" "+n;throw So("lexerr","Lexer Error: {0} at column{1} in expression [{2}].",e,r,this.text)},readNumber:function(){for(var e="",t=this.index;this.index0&&!this.peek("}",")",";","]")&&e.push(this.expressionStatement()),!this.expect(";"))return{type:To.Program,body:e}},expressionStatement:function(){return{type:To.ExpressionStatement,expression:this.filterChain()}},filterChain:function(){for(var e=this.expression();this.expect("|");)e=this.filter(e);return e},expression:function(){return this.assignment()},assignment:function(){var e=this.ternary();if(this.expect("=")){if(!pn(e))throw So("lval","Trying to assign a value to a non l-value");e={type:To.AssignmentExpression,left:e,right:this.assignment(),operator:"="}}return e},ternary:function(){var e,t,n=this.logicalOR();return this.expect("?")&&(e=this.expression(),this.consume(":"))?(t=this.expression(),{type:To.ConditionalExpression,test:n,alternate:e,consequent:t}):n},logicalOR:function(){for(var e=this.logicalAND();this.expect("||");)e={type:To.LogicalExpression,operator:"||",left:e,right:this.logicalAND()};return e},logicalAND:function(){for(var e=this.equality();this.expect("&&");)e={type:To.LogicalExpression,operator:"&&",left:e,right:this.equality()};return e},equality:function(){for(var e,t=this.relational();e=this.expect("==","!=","===","!==");)t={type:To.BinaryExpression,operator:e.text,left:t,right:this.relational()};return t},relational:function(){for(var e,t=this.additive();e=this.expect("<",">","<=",">=");)t={type:To.BinaryExpression,operator:e.text,left:t,right:this.additive()};return t},additive:function(){for(var e,t=this.multiplicative();e=this.expect("+","-");)t={type:To.BinaryExpression,operator:e.text,left:t,right:this.multiplicative()};return t},multiplicative:function(){for(var e,t=this.unary();e=this.expect("*","/","%");)t={type:To.BinaryExpression,operator:e.text,left:t,right:this.unary()};return t},unary:function(){var e;return(e=this.expect("+","-","!"))?{type:To.UnaryExpression,operator:e.text,prefix:!0,argument:this.unary()}:this.primary()},primary:function(){var e;this.expect("(")?(e=this.filterChain(),this.consume(")")):this.expect("[")?e=this.arrayDeclaration():this.expect("{")?e=this.object():this.selfReferential.hasOwnProperty(this.peek().text)?e=j(this.selfReferential[this.consume().text]):this.options.literals.hasOwnProperty(this.peek().text)?e={type:To.Literal,value:this.options.literals[this.consume().text]}:this.peek().identifier?e=this.identifier():this.peek().constant?e=this.constant():this.throwError("not a primary expression",this.peek());for(var t;t=this.expect("(","[",".");)"("===t.text?(e={type:To.CallExpression,callee:e,arguments:this.parseArguments()},this.consume(")")):"["===t.text?(e={type:To.MemberExpression,object:e,property:this.expression(),computed:!0},this.consume("]")):"."===t.text?e={type:To.MemberExpression,object:e,property:this.identifier(),computed:!1}:this.throwError("IMPOSSIBLE");return e},filter:function(e){for(var t=[e],n={type:To.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.filterChain());while(this.expect(","));return e},identifier:function(){var e=this.consume();return e.identifier||this.throwError("is not a valid identifier",e),{type:To.Identifier,name:e.text}},constant:function(){return{type:To.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:To.ArrayExpression,elements:e}},object:function(){var e,t=[];if("}"!==this.peekToken().text)do{if(this.peek("}"))break;e={type:To.Property,kind:"init"},this.peek().constant?(e.key=this.constant(),e.computed=!1,this.consume(":"),e.value=this.expression()):this.peek().identifier?(e.key=this.identifier(),e.computed=!1,this.peek(":")?(this.consume(":"),e.value=this.expression()):e.value=e.key):this.peek("[")?(this.consume("["),e.key=this.expression(),this.consume("]"),e.computed=!0,this.consume(":"),e.value=this.expression()):this.throwError("invalid key",this.peek()),t.push(e)}while(this.expect(","));return this.consume("}"),{type:To.ObjectExpression,properties:t}},throwError:function(e,t){throw So("syntax","Syntax Error: Token '{0}' {1} at column {2} of the expression [{3}] starting at [{4}].",t.text,e,t.index+1,this.text,this.text.substring(t.index))},consume:function(e){if(0===this.tokens.length)throw So("ueoe","Unexpected end of expression: {0}",this.text);var t=this.expect(e);return t||this.throwError("is unexpected, expecting ["+e+"]",this.peek()),t},peekToken:function(){if(0===this.tokens.length)throw So("ueoe","Unexpected end of expression: {0}",this.text);return this.tokens[0]},peek:function(e,t,n,r){return this.peekAhead(0,e,t,n,r)},peekAhead:function(e,t,n,r,i){if(this.tokens.length>e){var o=this.tokens[e],a=o.text;if(a===t||a===n||a===r||a===i||!t&&!n&&!r&&!i)return o}return!1},expect:function(e,t,n,r){var i=this.peek(e,t,n,r);return!!i&&(this.tokens.shift(),i)},selfReferential:{"this":{type:To.ThisExpression},$locals:{type:To.LocalsExpression}}},$n.prototype={compile:function(e){var t=this,n=this.astBuilder.ast(e);this.state={nextId:0,filters:{},fn:{vars:[],body:[],own:{}},assign:{vars:[],body:[],own:{}},inputs:[]},dn(n,t.$filter);var i,o="";if(this.stage="assign",i=mn(n)){this.state.computing="assign";var a=this.nextId();this.recurse(i,a),this.return_(a),o="fn.assign="+this.generateFunction("assign","s,v,l")}var s=hn(n.body);t.stage="inputs",r(s,function(e,n){var r="fn"+n;t.state[r]={vars:[],body:[],own:{}},t.state.computing=r;var i=t.nextId();t.recurse(e,i),t.return_(i),t.state.inputs.push(r),e.watchId=n}),this.state.computing="fn",this.stage="main",this.recurse(n);var u='"'+this.USE+" "+this.STRICT+'";\n'+this.filterPrefix()+"var fn="+this.generateFunction("fn","s,l,a,i")+o+this.watchFns()+"return fn;",l=new Function("$filter","getStringValue","ifDefined","plus",u)(this.$filter,un,ln,cn);return this.state=this.stage=void 0,l.literal=gn(n),l.constant=vn(n),l},USE:"use",STRICT:"strict",watchFns:function(){var e=[],t=this.state.inputs,n=this;return r(t,function(t){e.push("var "+t+"="+n.generateFunction(t,"s"))}),t.length&&e.push("fn.inputs=["+t.join(",")+"];"),e.join("")},generateFunction:function(e,t){return"function("+t+"){"+this.varsPrefix(e)+this.body(e)+"};"},filterPrefix:function(){var e=[],t=this;return r(this.state.filters,function(n,r){e.push(n+"=$filter("+t.escape(r)+")")}),e.length?"var "+e.join(",")+";":""},varsPrefix:function(e){return this.state[e].vars.length?"var "+this.state[e].vars.join(",")+";":""},body:function(e){return this.state[e].body.join("")},recurse:function(e,t,n,i,o,a){var s,u,l,c,f,d=this;if(i=i||h,!a&&$(e.watchId))return t=t||this.nextId(),void this.if_("i",this.lazyAssign(t,this.computedMember("i",e.watchId)),this.lazyRecurse(e,t,n,i,o,!0));switch(e.type){case To.Program:r(e.body,function(t,n){d.recurse(t.expression,void 0,void 0,function(e){u=e}),n!==e.body.length-1?d.current().body.push(u,";"):d.return_(u)});break;case To.Literal:c=this.escape(e.value),this.assign(t,c),i(t||c);break;case To.UnaryExpression:this.recurse(e.argument,void 0,void 0,function(e){u=e}),c=e.operator+"("+this.ifDefined(u,0)+")",this.assign(t,c),i(c);break;case To.BinaryExpression:this.recurse(e.left,void 0,void 0,function(e){s=e}),this.recurse(e.right,void 0,void 0,function(e){u=e}),c="+"===e.operator?this.plus(s,u):"-"===e.operator?this.ifDefined(s,0)+e.operator+this.ifDefined(u,0):"("+s+")"+e.operator+"("+u+")",this.assign(t,c),i(c);break;case To.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 To.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 To.Identifier:t=t||this.nextId(),n&&(n.context="inputs"===d.stage?"s":this.assign(this.nextId(),this.getHasOwnProperty("l",e.name)+"?l:s"),n.computed=!1,n.name=e.name),d.if_("inputs"===d.stage||d.not(d.getHasOwnProperty("l",e.name)),function(){d.if_("inputs"===d.stage||"s",function(){o&&1!==o&&d.if_(d.isNull(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))),i(t);break;case To.MemberExpression:s=n&&(n.context=this.nextId())||this.nextId(),t=t||this.nextId(),d.recurse(e.object,s,void 0,function(){d.if_(d.notNull(s),function(){e.computed?(u=d.nextId(),d.recurse(e.property,u),d.getStringValue(u),o&&1!==o&&d.if_(d.not(d.computedMember(s,u)),d.lazyAssign(d.computedMember(s,u),"{}")),c=d.computedMember(s,u),d.assign(t,c),n&&(n.computed=!0,n.name=u)):(o&&1!==o&&d.if_(d.isNull(d.nonComputedMember(s,e.property.name)),d.lazyAssign(d.nonComputedMember(s,e.property.name),"{}")),c=d.nonComputedMember(s,e.property.name),d.assign(t,c),n&&(n.computed=!1,n.name=e.property.name))},function(){d.assign(t,"undefined")}),i(t)},!!o);break;case To.CallExpression:t=t||this.nextId(),e.filter?(u=d.filter(e.callee.name),l=[],r(e.arguments,function(e){var t=d.nextId();d.recurse(e,t),l.push(t)}),c=u+"("+l.join(",")+")",d.assign(t,c),i(t)):(u=d.nextId(),s={},l=[],d.recurse(e.callee,u,s,function(){d.if_(d.notNull(u),function(){r(e.arguments,function(t){d.recurse(t,e.constant?void 0:d.nextId(),void 0,function(e){l.push(e)})}),c=s.name?d.member(s.context,s.name,s.computed)+"("+l.join(",")+")":u+"("+l.join(",")+")",d.assign(t,c)},function(){d.assign(t,"undefined")}),i(t)}));break;case To.AssignmentExpression:u=this.nextId(),s={},this.recurse(e.left,void 0,s,function(){d.if_(d.notNull(s.context),function(){d.recurse(e.right,u),c=d.member(s.context,s.name,s.computed)+e.operator+u,d.assign(t,c),i(t||c)})},1);break;case To.ArrayExpression:l=[],r(e.elements,function(t){d.recurse(t,e.constant?void 0:d.nextId(),void 0,function(e){l.push(e)})}),c="["+l.join(",")+"]",this.assign(t,c),i(t||c);break;case To.ObjectExpression:l=[],f=!1,r(e.properties,function(e){e.computed&&(f=!0)}),f?(t=t||this.nextId(),this.assign(t,"{}"),r(e.properties,function(e){e.computed?(s=d.nextId(),d.recurse(e.key,s)):s=e.key.type===To.Identifier?e.key.name:""+e.key.value,u=d.nextId(),d.recurse(e.value,u),d.assign(d.member(t,s,e.computed),u)})):(r(e.properties,function(t){d.recurse(t.value,e.constant?void 0:d.nextId(),void 0,function(e){l.push(d.escape(t.key.type===To.Identifier?t.key.name:""+t.key.value)+":"+e)})}),c="{"+l.join(",")+"}",this.assign(t,c)),i(t||c);break;case To.ThisExpression:this.assign(t,"s"),i(t||"s");break;case To.LocalsExpression:this.assign(t,"l"),i(t||"l");break;case To.NGValueParameter:this.assign(t,"v"),i(t||"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){if(e)return this.current().body.push(e,"=",t,";"),e},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+")"},isNull:function(e){return e+"==null"},notNull:function(e){return e+"!=null"},nonComputedMember:function(e,t){var n=/^[$_a-zA-Z][$_a-zA-Z0-9]*$/,r=/[^$_a-zA-Z0-9]/g;return n.test(t)?e+"."+t:e+'["'+t.replace(r,this.stringEscapeFn)+'"]'},computedMember:function(e,t){return e+"["+t+"]"},member:function(e,t,n){return n?this.computedMember(e,t):this.nonComputedMember(e,t)},getStringValue:function(e){this.assign(e,"getStringValue("+e+")")},lazyRecurse:function(e,t,n,r,i,o){var a=this;return function(){a.recurse(e,t,n,r,i,o)}},lazyAssign:function(e,t){var n=this;return function(){n.assign(e,t)}},stringEscapeRegex:/[^ a-zA-Z0-9]/g,stringEscapeFn:function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)},escape:function(e){if(w(e))return"'"+e.replace(this.stringEscapeRegex,this.stringEscapeFn)+"'";if(x(e))return e.toString();if(e===!0)return"true";if(e===!1)return"false";if(null===e)return"null";if("undefined"==typeof e)return"undefined";throw So("esc","IMPOSSIBLE")},nextId:function(e,t){var n="v"+this.state.nextId++;return e||this.current().vars.push(n+(t?"="+t:"")),n},current:function(){return this.state[this.state.computing]}},yn.prototype={compile:function(e){var t=this,n=this.astBuilder.ast(e);dn(n,t.$filter);var i,o;(i=mn(n))&&(o=this.recurse(i));var a,s=hn(n.body);s&&(a=[],r(s,function(e,n){var r=t.recurse(e);e.input=r,a.push(r),e.watchId=n}));var u=[];r(n.body,function(e){u.push(t.recurse(e.expression))});var l=0===n.body.length?h:1===n.body.length?u[0]:function(e,t){var n;return r(u,function(r){n=r(e,t)}),n};return o&&(l.assign=function(e,t,n){return o(e,n,t)}),a&&(l.inputs=a),l.literal=gn(n),l.constant=vn(n),l},recurse:function(e,t,n){var i,o,a,s=this;if(e.input)return this.inputs(e.input,e.watchId);switch(e.type){case To.Literal:return this.value(e.value,t);case To.UnaryExpression:return o=this.recurse(e.argument),this["unary"+e.operator](o,t);case To.BinaryExpression:return i=this.recurse(e.left),o=this.recurse(e.right),this["binary"+e.operator](i,o,t);case To.LogicalExpression:return i=this.recurse(e.left),o=this.recurse(e.right),this["binary"+e.operator](i,o,t);case To.ConditionalExpression:return this["ternary?:"](this.recurse(e.test),this.recurse(e.alternate),this.recurse(e.consequent),t);case To.Identifier:return s.identifier(e.name,t,n);case To.MemberExpression:return i=this.recurse(e.object,!1,!!n),e.computed||(o=e.property.name),e.computed&&(o=this.recurse(e.property)),e.computed?this.computedMember(i,o,t,n):this.nonComputedMember(i,o,t,n);case To.CallExpression:return a=[],r(e.arguments,function(e){a.push(s.recurse(e))}),e.filter&&(o=this.$filter(e.callee.name)),e.filter||(o=this.recurse(e.callee,!0)),e.filter?function(e,n,r,i){for(var s=[],u=0;u":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)>t(r,i,o,a);return n?{value:s}:s}},"binary<=":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)<=t(r,i,o,a);return n?{value:s}:s}},"binary>=":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)>=t(r,i,o,a);return n?{value:s}:s}},"binary&&":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)&&t(r,i,o,a);return n?{value:s}:s}},"binary||":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)||t(r,i,o,a);return n?{value:s}:s}},"ternary?:":function(e,t,n,r){return function(i,o,a,s){var u=e(i,o,a,s)?t(i,o,a,s):n(i,o,a,s);return r?{value:u}:u}},value:function(e,t){return function(){return t?{context:void 0,name:void 0,value:e}:e}},identifier:function(e,t,n){return function(r,i,o,a){var s=i&&e in i?i:r;n&&1!==n&&s&&null==s[e]&&(s[e]={});var u=s?s[e]:void 0;return t?{context:s,name:e,value:u}:u}},computedMember:function(e,t,n,r){return function(i,o,a,s){var u,l,c=e(i,o,a,s);return null!=c&&(u=t(i,o,a,s),u=un(u),r&&1!==r&&c&&!c[u]&&(c[u]={}),l=c[u]),n?{context:c,name:u,value:l}:l}},nonComputedMember:function(e,t,n,r){return function(i,o,a,s){var u=e(i,o,a,s);r&&1!==r&&u&&null==u[t]&&(u[t]={});var l=null!=u?u[t]:void 0;return n?{context:u,name:t,value:l}:l}},inputs:function(e,t){return function(n,r,i,o){return o?o[t]:e(n,r,i)}}};var Oo=function(e,t,n){this.lexer=e,this.$filter=t,this.options=n,this.ast=new To(e,n),this.astCompiler=n.csp?new yn(this.ast,t):new $n(this.ast,t)};Oo.prototype={constructor:Oo,parse:function(e){return this.astCompiler.compile(e)}};var Fo=t("$sce"),Lo={HTML:"html",CSS:"css",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},Po=/_([a-z])/g,No=t("$compile"),Io=e.document.createElement("a"),Ro=In(e.location.href);jn.$inject=["$document"],Hn.$inject=["$provide"];var Uo=22,jo=".",Vo="0";Bn.$inject=["$locale"],Gn.$inject=["$locale"];var Ho={yyyy:Xn("FullYear",4,0,!1,!0),yy:Xn("FullYear",2,0,!0,!0),y:Xn("FullYear",1,0,!1,!0),MMMM:er("Month"),MMM:er("Month",!0),MM:Xn("Month",2,1),M:Xn("Month",1,1),LLLL:er("Month",!1,!0),dd:Xn("Date",2),d:Xn("Date",1),HH:Xn("Hours",2),H:Xn("Hours",1),hh:Xn("Hours",2,-12),h:Xn("Hours",1,-12),mm:Xn("Minutes",2),m:Xn("Minutes",1),ss:Xn("Seconds",2),s:Xn("Seconds",1),sss:Xn("Milliseconds",3),EEEE:er("Day"),EEE:er("Day",!0),a:or,Z:tr,ww:ir(2),w:ir(1),G:ar,GG:ar,GGG:ar,GGGG:sr},zo=/((?:[^yMLdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|m+|s+|a|Z|G+|w+))(.*)/,qo=/^-?\d+$/;ur.$inject=["$locale"];var Yo=m(Wr),Wo=m(Br);dr.$inject=["$parse"];var Bo=m({restrict:"E",compile:function(e,t){if(!t.href&&!t.xlinkHref)return function(e,t){if("a"===t[0].nodeName.toLowerCase()){var n="[object SVGAnimatedString]"===ri.call(t.prop("href"))?"xlink:href":"href";t.on("click",function(e){t.attr(n)||e.preventDefault()})}}}}),Go={};r(ji,function(e,t){function n(e,n,i){e.$watch(i[r],function(e){i.$set(t,!!e)})}if("multiple"!==e){var r=xt("ng-"+t),i=n;"checked"===e&&(i=function(e,t,i){i.ngModel!==i[r]&&n(e,t,i)}),Go[r]=function(){return{restrict:"A",priority:100,link:i}}}}),r(Hi,function(e,t){Go[t]=function(){return{priority:100,link:function(e,n,r){if("ngPattern"===t&&"/"===r.ngPattern.charAt(0)){var i=r.ngPattern.match(zr);if(i)return void r.$set("ngPattern",new RegExp(i[1],i[2]))}e.$watch(r[t],function(e){r.$set(t,e)})}}}}),r(["src","srcset","href"],function(e){var t=xt("ng-"+e);Go[t]=function(){return{priority:99,link:function(n,r,i){var o=e,a=e;"href"===e&&"[object SVGAnimatedString]"===ri.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(Qr&&o&&r.prop(o,i[a]))):void("href"===e&&i.$set(a,null))})}}}});var Zo={$addControl:h,$$renameControl:pr,$removeControl:h,$setValidity:h,$setDirty:h,$setPristine:h,$setSubmitted:h},Qo="ng-pending",Jo="ng-submitted";mr.$inject=["$element","$attrs","$scope","$animate","$interpolate"],mr.prototype={$rollbackViewValue:function(){r(this.$$controls,function(e){e.$rollbackViewValue()})},$commitViewValue:function(){r(this.$$controls,function(e){e.$commitViewValue()})},$addControl:function(e){he(e.$name,"input"),this.$$controls.push(e),e.$name&&(this[e.$name]=e),e.$$parentForm=this},$$renameControl:function(e,t){var n=e.$name;this[n]===e&&delete this[n],this[t]=e,e.$name=t},$removeControl:function(e){e.$name&&this[e.$name]===e&&delete this[e.$name],r(this.$pending,function(t,n){this.$setValidity(n,null,e)},this),r(this.$error,function(t,n){this.$setValidity(n,null,e)},this),r(this.$$success,function(t,n){this.$setValidity(n,null,e)},this),U(this.$$controls,e),e.$$parentForm=Zo},$setDirty:function(){this.$$animate.removeClass(this.$$element,La),this.$$animate.addClass(this.$$element,Pa),this.$dirty=!0,this.$pristine=!1,this.$$parentForm.$setDirty()},$setPristine:function(){this.$$animate.setClass(this.$$element,La,Pa+" "+Jo),this.$dirty=!1,this.$pristine=!0,this.$submitted=!1,r(this.$$controls,function(e){e.$setPristine()})},$setUntouched:function(){r(this.$$controls,function(e){e.$setUntouched()})},$setSubmitted:function(){this.$$animate.addClass(this.$$element,Jo),this.$submitted=!0,this.$$parentForm.$setSubmitted()}},vr({clazz:mr,set:function(e,t,n){var r=e[t];if(r){var i=r.indexOf(n);i===-1&&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])}});var Ko=function(e){return["$timeout","$parse",function(t,n){function r(e){return""===e?n('this[""]').assign:n(e).assign||h}var i={name:"form",restrict:e?"EAC":"E",require:["form","^^?form"],controller:mr,compile:function(n,i){n.addClass(La).addClass(Oa);var o=i.name?"name":!(!e||!i.ngForm)&&"ngForm";return{pre:function(e,n,i,a){var s=a[0];if(!("action"in i)){var u=function(t){e.$apply(function(){s.$commitViewValue(),s.$setSubmitted()}),t.preventDefault()};n[0].addEventListener("submit",u),n.on("$destroy",function(){t(function(){n[0].removeEventListener("submit",u)},0,!1)})}var c=a[1]||s.$$parentForm;c.$addControl(s);var f=o?r(s.$name):h;o&&(f(e,s),i.$observe(o,function(t){s.$name!==t&&(f(e,void 0),s.$$parentForm.$$renameControl(s,t),(f=r(s.$name))(e,s))})),n.on("$destroy",function(){s.$$parentForm.$removeControl(s),f(e,void 0),l(s,Zo)})}}}};return i}]},Xo=Ko(),ea=Ko(!0),ta=/^\d{4,}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+(?:[+-][0-2]\d:[0-5]\d|Z)$/,na=/^[a-z][a-z\d.+-]*:\/*(?:[^:@]+(?::[^@]+)?@)?(?:[^\s:\/?#]+|\[[a-f\d:]+])(?::\d+)?(?:\/[^?#]*)?(?:\?[^#]*)?(?:#.*)?$/i,ra=/^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+)*@[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*$/,ia=/^\s*(-|\+)?(\d+|(\d*(\.\d*)))([eE][+-]?\d+)?\s*$/,oa=/^(\d{4,})-(\d{2})-(\d{2})$/,aa=/^(\d{4,})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,sa=/^(\d{4,})-W(\d\d)$/,ua=/^(\d{4,})-(\d\d)$/,la=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,ca="keydown wheel mousedown",fa=ge();r("date,datetime-local,month,time,week".split(","),function(e){fa[e]=!0});var da={text:br,date:_r("date",oa,kr(oa,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":_r("datetimelocal",aa,kr(aa,["yyyy","MM","dd","HH","mm","ss","sss"]),"yyyy-MM-ddTHH:mm:ss.sss"),time:_r("time",la,kr(la,["HH","mm","ss","sss"]),"HH:mm:ss.sss"),week:_r("week",sa,xr,"yyyy-Www"),month:_r("month",ua,kr(ua,["yyyy","MM"]),"yyyy-MM"),number:Tr,url:Fr,email:Lr,radio:Pr,range:Or,checkbox:Ir,hidden:h,button:h,submit:h,reset:h,file:h},ha=["$browser","$sniffer","$filter","$parse",function(e,t,n,r){return{restrict:"E",require:["?ngModel"],link:{pre:function(i,o,a,s){s[0]&&(da[Wr(a.type)]||da.text)(i,o,a,s[0],t,e,n,r)}}}}],pa=/^(true|false|\d+)$/,ma=function(){function e(e,t,n){e.prop("value",n),t.$set("value",n)}return{restrict:"A",priority:100,compile:function(t,n){return pa.test(n.ngValue)?function(t,n,r){var i=t.$eval(r.ngValue);e(n,r,i)}:function(t,n,r){t.$watch(r.ngValue,function(t){e(n,r,t)})}}}},ga=["$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=ve(e)})}}}}],va=["$interpolate","$compile",function(e,t){return{compile:function(n){return t.$$addBindingClass(n),function(n,r,i){var o=e(r.attr(i.$attr.ngBindTemplate));t.$$addBindingInfo(r,o.expressions),r=r[0],i.$observe("ngBindTemplate",function(e){r.textContent=v(e)?"":e})}}}}],$a=["$sce","$parse","$compile",function(e,t,n){return{restrict:"A",compile:function(r,i){var o=t(i.ngBindHtml),a=t(i.ngBindHtml,function(t){return e.valueOf(t)});return n.$$addBindingClass(r),function(t,r,i){n.$$addBindingInfo(r,i.ngBindHtml),t.$watch(a,function(){var n=o(t);r.html(e.getTrustedHtml(n)||"")})}}}}],ya=m({restrict:"A",require:"ngModel",link:function(e,t,n,r){r.$viewChangeListeners.push(function(){e.$eval(n.ngChange)})}}),ba=Rr("",!0),wa=Rr("Odd",0),xa=Rr("Even",1),ka=hr({compile:function(e,t){t.$set("ngCloak",void 0),e.removeClass("ng-cloak")}}),_a=[function(){return{restrict:"A",scope:!0,controller:"@",priority:500}}],Ca={},Sa={blur:!0,focus:!0};r("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),function(e){var t=xt("ng-"+e);Ca[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})};Sa[e]&&r.$$phase?t.$evalAsync(i):t.$apply(i)})}}}}]});var Ea=["$animate","$compile",function(e,t){return{multiElement:!0,transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(n,r,i,o,a){var s,u,l;n.$watch(i.ngIf,function(n){n?u||a(function(n,o){u=o,n[n.length++]=t.$$createComment("end ngIf",i.ngIf),s={clone:n},e.enter(n,r.parent(),r)}):(l&&(l.remove(),l=null),u&&(u.$destroy(),u=null),s&&(l=me(s.clone),e.leave(l).done(function(e){e!==!1&&(l=null)}),s=null))})}}}],Ma=["$templateRequest","$anchorScroll","$animate",function(e,t,n){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:ai.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).done(function(e){e!==!1&&(d=null)}),d=h,h=null)};r.$watch(o,function(o){var u=function(e){e===!1||!$(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).done(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)})}}}}],Aa=["$compile",function(t){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(n,r,i,o){return ri.call(r[0]).match(/SVG/)?(r.empty(),void t(Te(o.template,e.document).childNodes)(n,function(e){r.append(e)},{futureParentElement:r})):(r.html(o.template),void t(r.contents())(n))}}}],Da=hr({priority:450,compile:function(){return{pre:function(e,t,n){e.$eval(n.ngInit)}}}}),Ta=function(){return{restrict:"A",priority:100,require:"ngModel",link:function(e,t,n,i){var o=n.ngList||", ",a="false"!==n.ngTrim,s=a?fi(o):o,u=function(e){if(!v(e)){var t=[];return e&&r(e.split(s),function(e){e&&t.push(a?fi(e):e)}),t}};i.$parsers.push(u),i.$formatters.push(function(e){if(li(e))return e.join(o)}),i.$isEmpty=function(e){return!e||!e.length}}}},Oa="ng-valid",Fa="ng-invalid",La="ng-pristine",Pa="ng-dirty",Na="ng-untouched",Ia="ng-touched",Ra="ng-empty",Ua="ng-not-empty",ja=t("ngModel");Ur.$inject=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate","$timeout","$q","$interpolate"],Ur.prototype={$$initGetterSetters:function(){if(this.$options.getOption("getterSetter")){var e=this.$$parse(this.$$attr.ngModel+"()"),t=this.$$parse(this.$$attr.ngModel+"($$$p)");this.$$ngModelGet=function(t){var n=this.$$parsedNgModel(t);return _(n)&&(n=e(t)),n},this.$$ngModelSet=function(e,n){_(this.$$parsedNgModel(e))?t(e,{$$$p:n}):this.$$parsedNgModelAssign(e,n)}}else if(!this.$$parsedNgModel.assign)throw ja("nonassign","Expression '{0}' is non-assignable. Element: {1}",this.$$attr.ngModel,J(this.$$element))},$render:h,$isEmpty:function(e){return v(e)||""===e||null===e||e!==e},$$updateEmptyClasses:function(e){this.$isEmpty(e)?(this.$$animate.removeClass(this.$$element,Ua),this.$$animate.addClass(this.$$element,Ra)):(this.$$animate.removeClass(this.$$element,Ra),this.$$animate.addClass(this.$$element,Ua))},$setPristine:function(){this.$dirty=!1,this.$pristine=!0,this.$$animate.removeClass(this.$$element,Pa),this.$$animate.addClass(this.$$element,La)},$setDirty:function(){this.$dirty=!0,this.$pristine=!1,this.$$animate.removeClass(this.$$element,La),this.$$animate.addClass(this.$$element,Pa),this.$$parentForm.$setDirty()},$setUntouched:function(){this.$touched=!1,this.$untouched=!0,this.$$animate.setClass(this.$$element,Na,Ia)},$setTouched:function(){this.$touched=!0,this.$untouched=!1,this.$$animate.setClass(this.$$element,Ia,Na)},$rollbackViewValue:function(){this.$$timeout.cancel(this.$$pendingDebounce),this.$viewValue=this.$$lastCommittedViewValue,this.$render()},$validate:function(){if(!ui(this.$modelValue)){var e=this.$$lastCommittedViewValue,t=this.$$rawModelValue,n=this.$valid,r=this.$modelValue,i=this.$options.getOption("allowInvalid"),o=this;this.$$runValidators(t,e,function(e){i||n===e||(o.$modelValue=e?t:void 0,o.$modelValue!==r&&o.$$writeModelToScope())})}},$$runValidators:function(e,t,n){function i(){var e=c.$$parserName||"parse";return v(c.$$parserValid)?(s(e,null),!0):(c.$$parserValid||(r(c.$validators,function(e,t){s(t,null)}),r(c.$asyncValidators,function(e,t){s(t,null)})),s(e,c.$$parserValid),c.$$parserValid)}function o(){var n=!0;return r(c.$validators,function(r,i){var o=Boolean(r(e,t));n=n&&o,s(i,o)}),!!n||(r(c.$asyncValidators,function(e,t){s(t,null)}),!1)}function a(){var n=[],i=!0;r(c.$asyncValidators,function(r,o){var a=r(e,t);if(!O(a))throw ja("nopromise","Expected asynchronous validator to return a promise but got '{0}' instead.",a);s(o,void 0),n.push(a.then(function(){s(o,!0)},function(){i=!1,s(o,!1)}))}),n.length?c.$$q.all(n).then(function(){u(i)},h):u(!0)}function s(e,t){l===c.$$currentValidationRunId&&c.$setValidity(e,t)}function u(e){l===c.$$currentValidationRunId&&n(e)}this.$$currentValidationRunId++;var l=this.$$currentValidationRunId,c=this;return i()&&o()?void a():void u(!1)},$commitViewValue:function(){var e=this.$viewValue;this.$$timeout.cancel(this.$$pendingDebounce),(this.$$lastCommittedViewValue!==e||""===e&&this.$$hasNativeValidators)&&(this.$$updateEmptyClasses(e),this.$$lastCommittedViewValue=e,this.$pristine&&this.$setDirty(),this.$$parseAndValidate())},$$parseAndValidate:function(){function e(){r.$modelValue!==o&&r.$$writeModelToScope()}var t=this.$$lastCommittedViewValue,n=t,r=this;if(this.$$parserValid=!v(n)||void 0,this.$$parserValid)for(var i=0;i0?this.$$pendingDebounce=this.$$timeout(function(){n.$commitViewValue()},t):this.$$scope.$root.$$phase?this.$commitViewValue():this.$$scope.$apply(function(){n.$commitViewValue()})}},vr({clazz:Ur,set:function(e,t){e[t]=!0},unset:function(e,t){delete e[t]}});var Va,Ha=["$rootScope",function(e){return{restrict:"A",require:["ngModel","^?form","^?ngModelOptions"],controller:Ur,priority:1,compile:function(t){return t.addClass(La).addClass(Na).addClass(Oa),{pre:function(e,t,n,r){var i=r[0],o=r[1]||i.$$parentForm,a=r[2];a&&(i.$options=a.$options),i.$$initGetterSetters(),o.$addControl(i),n.$observe("name",function(e){i.$name!==e&&i.$$parentForm.$$renameControl(i,e)}),e.$on("$destroy",function(){i.$$parentForm.$removeControl(i)})},post:function(t,n,r,i){function o(){a.$setTouched()}var a=i[0];a.$options.getOption("updateOn")&&n.on(a.$options.getOption("updateOn"),function(e){a.$$debounceViewValueCommit(e&&e.type)}),n.on("blur",function(){a.$touched||(e.$$phase?t.$evalAsync(o):t.$apply(o))})}}}}}],za=/(\s+|^)default(\s+|$)/;Vr.prototype={getOption:function(e){return this.$$options[e]},createChild:function(e){var t=!1;return e=l({},e),r(e,function(n,r){"$inherit"===n?"*"===r?t=!0:(e[r]=this.$$options[r],"updateOn"===r&&(e.updateOnDefault=this.$$options.updateOnDefault)):"updateOn"===r&&(e.updateOnDefault=!1,e[r]=fi(n.replace(za,function(){return e.updateOnDefault=!0," "})))},this),t&&(delete e["*"],Hr(e,this.$$options)),Hr(e,Va.$$options),new Vr(e)}},Va=new Vr({updateOn:"",updateOnDefault:!0,debounce:0,getterSetter:!1,allowInvalid:!1,timezone:null});var qa=function(){function e(e,t){this.$$attrs=e,this.$$scope=t}return e.$inject=["$attrs","$scope"],e.prototype={$onInit:function(){var e=this.parentCtrl?this.parentCtrl.$options:Va,t=this.$$scope.$eval(this.$$attrs.ngModelOptions);this.$options=e.createChild(t)}},{restrict:"A",priority:10,require:{parentCtrl:"?^^ngModelOptions"},bindToController:!0,controller:e}},Ya=hr({terminal:!0,priority:1e3}),Wa=t("ngOptions"),Ba=/^\s*([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+group\s+by\s+([\s\S]+?))?(?:\s+disable\s+when\s+([\s\S]+?))?\s+for\s+(?:([$\w][$\w]*)|(?:\(\s*([$\w][$\w]*)\s*,\s*([$\w][$\w]*)\s*\)))\s+in\s+([\s\S]+?)(?:\s+track\s+by\s+([\s\S]+?))?$/,Ga=["$compile","$document","$parse",function(t,i,o){function a(e,t,r){function i(e,t,n,r,i){this.selectValue=e,this.viewValue=t,this.label=n,this.group=r,this.disabled=i}function a(e){var t;if(!l&&n(e))t=e;else{t=[];for(var r in e)e.hasOwnProperty(r)&&"$"!==r.charAt(0)&&t.push(r)}return t}var s=e.match(Ba);if(!s)throw Wa("iexp","Expected expression in form of '_select_ (as _label_)? for (_key_,)?_value_ in _collection_' but got '{0}'. Element: {1}",e,J(t));var u=s[5]||s[7],l=s[6],c=/ as /.test(s[0])&&s[1],f=s[9],d=o(s[2]?s[1]:u),h=c&&o(c),p=h||d,m=f&&o(f),g=f?function(e,t){return m(r,t)}:function(e){return rt(e)},v=function(e,t){return g(e,k(e,t))},$=o(s[2]||s[1]),y=o(s[3]||""),b=o(s[4]||""),w=o(s[8]),x={},k=l?function(e,t){return x[l]=t,x[u]=e,x}:function(e){return x[u]=e,x};return{trackBy:f,getTrackByValue:v,getWatchables:o(w,function(e){var t=[];e=e||[];for(var n=a(e),i=n.length,o=0;o=0;t--){var r=k.items[t];Ge($(r.group)?r.element.parentNode:r.element)}k=_.getOptions();var i={};if(w&&n.prepend(p.emptyOption),k.items.forEach(function(e){var t;$(e.group)?(t=i[e.group],t||(t=l.cloneNode(!1),C.appendChild(t),t.label=null===e.group?"null":e.group,i[e.group]=t),c(e,t)):c(e,C)}),n[0].appendChild(C),m.$render(),!m.$isEmpty(e)){var o=p.readValue(),a=_.trackBy||g;(a?V(e,o):e===o)||(m.$setViewValue(o),m.$render())}}for(var p=s[0],m=s[1],g=o.multiple,v=0,y=n.children(),b=y.length;v0&&(e=new RegExp("^"+e+"$")),e&&!e.test)throw t("ngPattern")("noregexp","Expected {0} to be a RegExp but was {1}. Element: {2}",a,e,J(n));o=e||void 0,i.$validate()}),i.$validators.pattern=function(e,t){return i.$isEmpty(t)||v(o)||o.test(t)}}}}},ps=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i=-1;n.$observe("maxlength",function(e){var t=f(e);i=ui(t)?-1:t,r.$validate()}),r.$validators.maxlength=function(e,t){return i<0||r.$isEmpty(t)||t.length<=i}}}}},ms=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i=0;n.$observe("minlength",function(e){i=f(e)||0,r.$validate()}),r.$validators.minlength=function(e,t){return r.$isEmpty(t)||t.length>=i}}}}};return e.angular.bootstrap?void e.console:(ce(),xe(ai),ai.module("ngLocale",[],["$provide",function(e){function t(e){e+="";var t=e.indexOf(".");return t==-1?0:e.length-t-1}function n(e,n){var r=n;void 0===r&&(r=Math.min(t(e),3));var i=Math.pow(10,r),o=(e*i|0)%i;return{v:r,f:o}}var r={ZERO:"zero",ONE:"one",TWO:"two",FEW:"few",MANY:"many",OTHER:"other"};e.value("$locale",{DATETIME_FORMATS:{AMPMS:["AM","PM"],DAY:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],ERANAMES:["Before Christ","Anno Domini"],ERAS:["BC","AD"],FIRSTDAYOFWEEK:6,MONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],SHORTDAY:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],SHORTMONTH:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],STANDALONEMONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],WEEKENDRANGE:[5,6],fullDate:"EEEE, MMMM d, y",longDate:"MMMM d, y",medium:"MMM d, y h:mm:ss a",mediumDate:"MMM d, y",mediumTime:"h:mm:ss a","short":"M/d/yy h:mm a",shortDate:"M/d/yy",shortTime:"h:mm a"},NUMBER_FORMATS:{CURRENCY_SYM:"$",DECIMAL_SEP:".",GROUP_SEP:",",PATTERNS:[{gSize:3,lgSize:3,maxFrac:3,minFrac:0,minInt:1,negPre:"-",negSuf:"",posPre:"",posSuf:""},{gSize:3,lgSize:3,maxFrac:2,minFrac:2,minInt:1,negPre:"-¤",negSuf:"",posPre:"¤",posSuf:""}]},id:"en-us",localeID:"en_US",pluralCat:function(e,t){var i=0|e,o=n(e,t);return 1==i&&0==o.v?r.ONE:r.OTHER}})}]),void Jr(function(){oe(e.document,ae)}))}(window),!window.angular.$$csp().noInlineStyle&&window.angular.element(document.head).prepend('')},{}],9:[function(e,t,n){e("./angular"),t.exports=angular},{"./angular":8}],10:[function(e,t,n){!function(r,i){if("function"==typeof define&&define.amd)define(["module","select"],i);else if("undefined"!=typeof n)i(t,e("select"));else{var o={exports:{}};i(o,r.select),r.clipboardAction=o.exports}}(this,function(e,t){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=n(t),o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};this.action=e.action,this.emitter=e.emitter,this.target=e.target,this.text=e.text,this.trigger=e.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var e=this,t="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return e.removeFake()},this.fakeHandler=document.body.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[t?"right":"left"]="-9999px";var n=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.addEventListener("focus",window.scrollTo(0,n)),this.fakeElem.style.top=n+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,document.body.appendChild(this.fakeElem),this.selectedText=(0,i["default"])(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(document.body.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(document.body.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=(0,i["default"])(this.target),this.copyText()}},{key:"copyText",value:function(){var e=void 0;try{e=document.execCommand(this.action)}catch(t){e=!1}this.handleResult(e)}},{key:"handleResult",value:function(e){this.emitter.emit(e?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.target&&this.target.blur(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=e,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(e){if(void 0!==e){if(!e||"object"!==("undefined"==typeof e?"undefined":o(e))||1!==e.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&e.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(e.hasAttribute("readonly")||e.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=e}},get:function(){return this._target}}]),e}();e.exports=s})},{select:20}],11:[function(e,t,n){!function(r,i){if("function"==typeof define&&define.amd)define(["module","./clipboard-action","tiny-emitter","good-listener"],i);else if("undefined"!=typeof n)i(t,e("./clipboard-action"),e("tiny-emitter"),e("good-listener"));else{var o={exports:{}};i(o,r.clipboardAction,r.tinyEmitter,r.goodListener),r.clipboard=o.exports}}(this,function(e,t,n,r){"use strict";function i(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function u(e,t){var n="data-clipboard-"+e;if(t.hasAttribute(n))return t.getAttribute(n)}var l=i(t),c=i(n),f=i(r),d=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof e.action?e.action:this.defaultAction,this.target="function"==typeof e.target?e.target:this.defaultTarget,this.text="function"==typeof e.text?e.text:this.defaultText}},{key:"listenClick",value:function(e){var t=this;this.listener=(0,f["default"])(e,"click",function(e){return t.onClick(e)})}},{key:"onClick",value:function(e){var t=e.delegateTarget||e.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new l["default"]({action:this.action(t),target:this.target(t),text:this.text(t),trigger:t,emitter:this})}},{key:"defaultAction",value:function(e){return u("action",e)}},{key:"defaultTarget",value:function(e){var t=u("target",e);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(e){return u("text",e)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}]),t}(c["default"]);e.exports=h})},{"./clipboard-action":10,"good-listener":16,"tiny-emitter":21}],12:[function(e,t,n){function r(e,t){for(;e&&e.nodeType!==i;){if(e.matches(t))return e;e=e.parentNode}}var i=9;if(Element&&!Element.prototype.matches){var o=Element.prototype;o.matches=o.matchesSelector||o.mozMatchesSelector||o.msMatchesSelector||o.oMatchesSelector||o.webkitMatchesSelector}t.exports=r},{}],13:[function(e,t,n){function r(e,t,n,r,o){var a=i.apply(this,arguments);return e.addEventListener(n,a,o),{destroy:function(){e.removeEventListener(n,a,o)}}}function i(e,t,n,r){return function(n){n.delegateTarget=o(n.target,t),n.delegateTarget&&r.call(e,n)}}var o=e("./closest");t.exports=r},{"./closest":12}],14:[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;i
    '),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;o'+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;s\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;o'+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;i',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;n0){for(a=["TB","GB","MB","KB","b"],n=s=0,u=a.length;s=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;n0){for(o=0,a=n.length;o1024*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;n=t)&&(r=this.getQueuedFiles(),r.length>0)){if(this.options.uploadMultiple)return this.processFiles(r.slice(0,t-n));for(;e=I;c=0<=I?++T:--T)o.append(this._getParamName(c),e[c],this._renameFilename(e[c].name));return this.submitRequest(x,o,e)},t.prototype.submitRequest=function(e,t,n){return e.send(t)},t.prototype._finished=function(e,n,r){var i,o,a;for(o=0,a=e.length;oc;)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){if("readystatechange"!==n.type||"complete"===r.readyState)return("load"===n.type?e:r)[u](s+n.type,o,!1),!i&&(i=!0)?t.call(e,n.type||n):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(){if(e.autoDiscover)return e.discover()},i(window,e._autoDiscoverFunction)}).call(this)},{}],15:[function(e,t,n){n.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},n.nodeList=function(e){var t=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===t||"[object HTMLCollection]"===t)&&"length"in e&&(0===e.length||n.node(e[0]))},n.string=function(e){return"string"==typeof e||e instanceof String},n.fn=function(e){var t=Object.prototype.toString.call(e);return"[object Function]"===t}},{}],16:[function(e,t,n){function r(e,t,n){if(!e&&!t&&!n)throw new Error("Missing required arguments");if(!s.string(t))throw new TypeError("Second argument must be a String");if(!s.fn(n))throw new TypeError("Third argument must be a Function");if(s.node(e))return i(e,t,n);if(s.nodeList(e))return o(e,t,n);if(s.string(e))return a(e,t,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function i(e,t,n){return e.addEventListener(t,n),{destroy:function(){e.removeEventListener(t,n)}}}function o(e,t,n){return Array.prototype.forEach.call(e,function(e){e.addEventListener(t,n)}),{destroy:function(){Array.prototype.forEach.call(e,function(e){e.removeEventListener(t,n)})}}}function a(e,t,n){return u(document.body,e,t,n)}var s=e("./is"),u=e("delegate");t.exports=r},{"./is":15,delegate:13}],17:[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(/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\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;c1&&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;i.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 br)r=br[n],i=t[r],v(i)||(e[r]=i);return e}function y(e){$(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),wr===!1&&(wr=!0,n.updateOffset(this),wr=!1)}function b(e){return e instanceof y||null!=e&&null!=e._isAMomentObject}function w(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function x(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=w(t)),n}function k(e,t,n){var r,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(r=0;r0?"future":"past"];return E(n)?n(t):n.replace(/%s/i,t)}function I(e,t){var n=e.toLowerCase();Or[n]=Or[n+"s"]=Or[t]=e}function R(e){return"string"==typeof e?Or[e]||Or[e.toLowerCase()]:void 0}function U(e){var t,n,r={};for(n in e)c(e,n)&&(t=R(n),t&&(r[t]=e[n]));return r}function j(e,t){Fr[e]=t}function V(e){var t=[];for(var n in e)t.push({unit:n,priority:Fr[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}function H(e,t){return function(r){return null!=r?(q(this,e,r),n.updateOffset(this,t),this):z(this,e)}}function z(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function q(e,t,n){e.isValid()&&e._d["set"+(e._isUTC?"UTC":"")+t](n)}function Y(e){return e=R(e),E(this[e])?this[e]():this}function W(e,t){if("object"==typeof e){e=U(e);for(var n=V(e),r=0;r=0;return(o?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}function G(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(Ir[e]=i),t&&(Ir[t[0]]=function(){return B(i.apply(this,arguments),t[1],t[2])}),n&&(Ir[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function Z(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function Q(e){var t,n,r=e.match(Lr);for(t=0,n=r.length;t=0&&Pr.test(e);)e=e.replace(Pr,n),Pr.lastIndex=0,r-=1;return e}function X(e,t,n){ti[e]=E(t)?t:function(e,r){return e&&n?n:t}}function ee(e,t){return c(ti,e)?ti[e](t._strict,t._locale):new RegExp(te(e))}function te(e){return ne(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i}))}function ne(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function re(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),s(t)&&(r=function(e,n){n[t]=x(e)}),n=0;n=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}function we(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function xe(e,t,n){var r=7+t-n,i=(7+we(e,0,r).getUTCDay()-t)%7;return-i+r-1}function ke(e,t,n,r,i){var o,a,s=(7+n-r)%7,u=xe(e,r,i),l=1+7*(t-1)+s+u;return l<=0?(o=e-1,a=ve(o)+l):l>ve(e)?(o=e+1,a=l-ve(e)):(o=e,a=l),{year:o,dayOfYear:a}}function _e(e,t,n){var r,i,o=xe(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return a<1?(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=xe(e,t,n),i=xe(e+1,t,n);return(ve(e)-r+i)/7}function Se(e){return _e(e,this._week.dow,this._week.doy).week}function Ee(){return this._week.dow}function Me(){return this._week.doy}function Ae(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function De(e){var t=_e(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Te(e,t){return"string"!=typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"==typeof e?e:null):parseInt(e,10)}function Oe(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Fe(e,t){return e?i(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:this._weekdays}function Le(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Pe(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Ne(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=d([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(), +this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?(i=di.call(this._weekdaysParse,a),i!==-1?i:null):"ddd"===t?(i=di.call(this._shortWeekdaysParse,a),i!==-1?i:null):(i=di.call(this._minWeekdaysParse,a),i!==-1?i:null):"dddd"===t?(i=di.call(this._weekdaysParse,a),i!==-1?i:(i=di.call(this._shortWeekdaysParse,a),i!==-1?i:(i=di.call(this._minWeekdaysParse,a),i!==-1?i:null))):"ddd"===t?(i=di.call(this._shortWeekdaysParse,a),i!==-1?i:(i=di.call(this._weekdaysParse,a),i!==-1?i:(i=di.call(this._minWeekdaysParse,a),i!==-1?i:null))):(i=di.call(this._minWeekdaysParse,a),i!==-1?i:(i=di.call(this._weekdaysParse,a),i!==-1?i:(i=di.call(this._shortWeekdaysParse,a),i!==-1?i:null)))}function Ie(e,t,n){var r,i,o;if(this._weekdaysParseExact)return Ne.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=d([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 Re(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Te(e,this.localeData()),this.add(e-t,"d")):t}function Ue(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 je(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Oe(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Ve(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||qe.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(c(this,"_weekdaysRegex")||(this._weekdaysRegex=ki),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function He(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||qe.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(c(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=_i),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function ze(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||qe.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(c(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ci),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function qe(){function e(e,t){return t.length-e.length}var t,n,r,i,o,a=[],s=[],u=[],l=[];for(t=0;t<7;t++)n=d([2e3,1]).day(t),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),o=this.weekdays(n,""),a.push(r),s.push(i),u.push(o),l.push(r),l.push(i),l.push(o);for(a.sort(e),s.sort(e),u.sort(e),l.sort(e),t=0;t<7;t++)s[t]=ne(s[t]),u[t]=ne(u[t]),l[t]=ne(l[t]);this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Ye(){return this.hours()%12||12}function We(){return this.hours()||24}function Be(e,t){G(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function Ge(e,t){return t._meridiemParse}function Ze(e){return"p"===(e+"").toLowerCase().charAt(0)}function Qe(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}function Je(e){return e?e.toLowerCase().replace("_","-"):e}function Ke(e){for(var t,n,r,i,o=0;o0;){if(r=Xe(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&k(i,n,!0)>=t-1)break;t--}o++}return null}function Xe(n){var r=null;if(!Di[n]&&"undefined"!=typeof t&&t&&t.exports)try{r=Si._abbr,e("./locale/"+n),et(r)}catch(i){}return Di[n]}function et(e,t){var n;return e&&(n=v(t)?rt(e):tt(e,t),n&&(Si=n)),Si._abbr}function tt(e,t){if(null!==t){var n=Ai;if(t.abbr=e,null!=Di[e])S("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=Di[e]._config;else if(null!=t.parentLocale){if(null==Di[t.parentLocale])return Ti[t.parentLocale]||(Ti[t.parentLocale]=[]),Ti[t.parentLocale].push({name:e,config:t}),null;n=Di[t.parentLocale]._config}return Di[e]=new D(A(n,t)),Ti[e]&&Ti[e].forEach(function(e){tt(e.name,e.config)}),et(e),Di[e]}return delete Di[e],null}function nt(e,t){if(null!=t){var n,r=Ai;null!=Di[e]&&(r=Di[e]._config),t=A(r,t),n=new D(t),n.parentLocale=Di[e],Di[e]=n,et(e)}else null!=Di[e]&&(null!=Di[e].parentLocale?Di[e]=Di[e].parentLocale:null!=Di[e]&&delete Di[e]);return Di[e]}function rt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Si;if(!i(e)){if(t=Xe(e))return t;e=[e]}return Ke(e)}function it(){return Cr(Di)}function ot(e){var t,n=e._a;return n&&p(e).overflow===-2&&(t=n[ii]<0||n[ii]>11?ii:n[oi]<1||n[oi]>ae(n[ri],n[ii])?oi:n[ai]<0||n[ai]>24||24===n[ai]&&(0!==n[si]||0!==n[ui]||0!==n[li])?ai:n[si]<0||n[si]>59?si:n[ui]<0||n[ui]>59?ui:n[li]<0||n[li]>999?li:-1,p(e)._overflowDayOfYear&&(toi)&&(t=oi),p(e)._overflowWeeks&&t===-1&&(t=ci),p(e)._overflowWeekday&&t===-1&&(t=fi),p(e).overflow=t),e}function at(e){var t,n,r,i,o,a,s=e._i,u=Oi.exec(s)||Fi.exec(s);if(u){for(p(e).iso=!0,t=0,n=Pi.length;tve(i)&&(p(e)._overflowDayOfYear=!0),n=we(i,0,e._dayOfYear),e._a[ii]=n.getUTCMonth(),e._a[oi]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=o[t]=r[t];for(;t<7;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[ai]&&0===e._a[si]&&0===e._a[ui]&&0===e._a[li]&&(e._nextDay=!0,e._a[ai]=0),e._d=(e._useUTC?we:be).apply(null,o),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[ai]=24)}}function ft(e){var t,n,r,i,o,a,s,u;if(t=e._w,null!=t.GG||null!=t.W||null!=t.E)o=1,a=4,n=ut(t.GG,e._a[ri],_e(bt(),1,4).year),r=ut(t.W,1),i=ut(t.E,1),(i<1||i>7)&&(u=!0);else{o=e._locale._week.dow,a=e._locale._week.doy;var l=_e(bt(),o,a);n=ut(t.gg,e._a[ri],l.year),r=ut(t.w,l.week),null!=t.d?(i=t.d,(i<0||i>6)&&(u=!0)):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(u=!0)):i=o}r<1||r>Ce(n,o,a)?p(e)._overflowWeeks=!0:null!=u?p(e)._overflowWeekday=!0:(s=ke(n,r,i,o,a),e._a[ri]=s.year,e._dayOfYear=s.dayOfYear)}function dt(e){if(e._f===n.ISO_8601)return void at(e);e._a=[],p(e).empty=!0;var t,r,i,o,a,s=""+e._i,u=s.length,l=0;for(i=K(e._f,e._locale).match(Lr)||[],t=0;t0&&p(e).unusedInput.push(a),s=s.slice(s.indexOf(r)+r.length),l+=r.length),Ir[o]?(r?p(e).empty=!1:p(e).unusedTokens.push(o),oe(o,r,e)):e._strict&&!r&&p(e).unusedTokens.push(o);p(e).charsLeftOver=u-l,s.length>0&&p(e).unusedInput.push(s),e._a[ai]<=12&&p(e).bigHour===!0&&e._a[ai]>0&&(p(e).bigHour=void 0),p(e).parsedDateParts=e._a.slice(0),p(e).meridiem=e._meridiem,e._a[ai]=ht(e._locale,e._a[ai],e._meridiem),ct(e),ot(e)}function ht(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(r=e.isPM(n),r&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function pt(e){var t,n,r,i,o;if(0===e._f.length)return p(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;ithis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Rt(){if(!v(this._isDSTShifted))return this._isDSTShifted;var e={};if($(e,this),e=vt(e),e._a){var t=e._isUTC?d(e._a):bt(e._a);this._isDSTShifted=this.isValid()&&k(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function Ut(){return!!this.isValid()&&!this._isUTC}function jt(){return!!this.isValid()&&this._isUTC}function Vt(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function Ht(e,t){var n,r,i,o=e,a=null;return Ct(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:s(e)?(o={},t?o[t]=e:o.milliseconds=e):(a=Hi.exec(e))?(n="-"===a[1]?-1:1,o={y:0,d:x(a[oi])*n,h:x(a[ai])*n,m:x(a[si])*n,s:x(a[ui])*n,ms:x(St(1e3*a[li]))*n}):(a=zi.exec(e))?(n="-"===a[1]?-1:1,o={y:zt(a[2],n),M:zt(a[3],n),w:zt(a[4],n),d:zt(a[5],n),h:zt(a[6],n),m:zt(a[7],n),s:zt(a[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(i=Yt(bt(o.from),bt(o.to)),o={},o.ms=i.milliseconds,o.M=i.months),r=new _t(o),Ct(e)&&c(e,"_locale")&&(r._locale=e._locale),r}function zt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function qt(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 Yt(e,t){var n;return e.isValid()&&t.isValid()?(t=At(t,e),e.isBefore(t)?n=qt(e,t):(n=qt(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Wt(e,t){return function(n,r){var i,o;return null===r||isNaN(+r)||(S(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),n="string"==typeof n?+n:n,i=Ht(n,r),Bt(this,i,e),this}}function Bt(e,t,r,i){var o=t._milliseconds,a=St(t._days),s=St(t._months);e.isValid()&&(i=null==i||i,o&&e._d.setTime(e._d.valueOf()+o*r),a&&q(e,"Date",z(e,"Date")+a*r),s&&fe(e,z(e,"Month")+s*r),i&&n.updateOffset(e,a||s))}function Gt(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Zt(e,t){var r=e||bt(),i=At(r,this).startOf("day"),o=n.calendarFormat(this,i)||"sameElse",a=t&&(E(t[o])?t[o].call(this,r):t[o]);return this.format(a||this.localeData().calendar(o,this,bt(r)))}function Qt(){return new y(this)}function Jt(e,t){var n=b(e)?e:bt(e);return!(!this.isValid()||!n.isValid())&&(t=R(v(t)?"millisecond":t),"millisecond"===t?this.valueOf()>n.valueOf():n.valueOf()o&&(t=o),Ln.call(this,e,t,n,r,i))}function Ln(e,t,n,r,i){var o=ke(e,t,n,r,i),a=we(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function Pn(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function Nn(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 In(e,t){t[li]=x(1e3*("0."+e))}function Rn(){return this._isUTC?"UTC":""}function Un(){return this._isUTC?"Coordinated Universal Time":""}function jn(e){return bt(1e3*e)}function Vn(){return bt.apply(null,arguments).parseZone()}function Hn(e){return e}function zn(e,t,n,r){var i=rt(),o=d().set(r,t);return i[n](o,e)}function qn(e,t,n){if(s(e)&&(t=e,e=void 0),e=e||"",null!=t)return zn(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=zn(e,r,n,"month");return i}function Yn(e,t,n,r){"boolean"==typeof e?(s(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,s(t)&&(n=t,t=void 0),t=t||"");var i=rt(),o=e?i._week.dow:0;if(null!=n)return zn(t,(n+o)%7,r,"day");var a,u=[];for(a=0;a<7;a++)u[a]=zn(t,(a+o)%7,r,"day");return u}function Wn(e,t){return qn(e,t,"months")}function Bn(e,t){return qn(e,t,"monthsShort")}function Gn(e,t,n){return Yn(e,t,n,"weekdays")}function Zn(e,t,n){return Yn(e,t,n,"weekdaysShort")}function Qn(e,t,n){return Yn(e,t,n,"weekdaysMin")}function Jn(){var e=this._data;return this._milliseconds=eo(this._milliseconds),this._days=eo(this._days),this._months=eo(this._months),e.milliseconds=eo(e.milliseconds),e.seconds=eo(e.seconds),e.minutes=eo(e.minutes),e.hours=eo(e.hours),e.months=eo(e.months),e.years=eo(e.years),this}function Kn(e,t,n,r){var i=Ht(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function Xn(e,t){return Kn(this,e,t,1)}function er(e,t){return Kn(this,e,t,-1)}function tr(e){return e<0?Math.floor(e):Math.ceil(e)}function nr(){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||o<=0&&a<=0&&s<=0||(o+=864e5*tr(ir(s)+a),a=0,s=0),u.milliseconds=o%1e3,e=w(o/1e3),u.seconds=e%60,t=w(e/60),u.minutes=t%60,n=w(t/60),u.hours=n%24,a+=w(n/24),i=w(rr(a)),s+=i,a-=tr(ir(i)),r=w(s/12),s%=12,u.days=a,u.months=s,u.years=r,this}function rr(e){return 4800*e/146097}function ir(e){return 146097*e/4800}function or(e){var t,n,r=this._milliseconds;if(e=R(e),"month"===e||"year"===e)return t=this._days+r/864e5,n=this._months+rr(t),"month"===e?n:n/12;switch(t=this._days+Math.round(ir(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 ar(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*x(this._months/12)}function sr(e){return function(){return this.as(e)}}function ur(e){return e=R(e),this[e+"s"]()}function lr(e){return function(){return this._data[e]}}function cr(){return w(this.days()/7)}function fr(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function dr(e,t,n){var r=Ht(e).abs(),i=vo(r.as("s")),o=vo(r.as("m")),a=vo(r.as("h")),s=vo(r.as("d")),u=vo(r.as("M")),l=vo(r.as("y")),c=i<$o.s&&["s",i]||o<=1&&["m"]||o<$o.m&&["mm",o]||a<=1&&["h"]||a<$o.h&&["hh",a]||s<=1&&["d"]||s<$o.d&&["dd",s]||u<=1&&["M"]||u<$o.M&&["MM",u]||l<=1&&["y"]||["yy",l];return c[2]=t,c[3]=+e>0,c[4]=n,fr.apply(null,c)}function hr(e){return void 0===e?vo:"function"==typeof e&&(vo=e,!0)}function pr(e,t){return void 0!==$o[e]&&(void 0===t?$o[e]:($o[e]=t,!0))}function mr(e){var t=this.localeData(),n=dr(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function gr(){var e,t,n,r=yo(this._milliseconds)/1e3,i=yo(this._days),o=yo(this._months);e=w(r/60),t=w(e/60),r%=60,e%=60,n=w(o/12),o%=12;var a=n,s=o,u=i,l=t,c=e,f=r,d=this.asSeconds();return d?(d<0?"-":"")+"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 vr,$r;$r=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;r68?1900:2e3)};var $i=H("FullYear",!0);G("w",["ww",2],"wo","week"),G("W",["WW",2],"Wo","isoWeek"),I("week","w"),I("isoWeek","W"),j("week",5),j("isoWeek",5),X("w",zr),X("ww",zr,Ur),X("W",zr),X("WW",zr,Ur),ie(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=x(e)});var yi={dow:0,doy:6};G("d",0,"do","day"),G("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),G("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),G("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),G("e",0,0,"weekday"),G("E",0,0,"isoWeekday"),I("day","d"),I("weekday","e"),I("isoWeekday","E"),j("day",11),j("weekday",11),j("isoWeekday",11),X("d",zr),X("e",zr),X("E",zr),X("dd",function(e,t){return t.weekdaysMinRegex(e)}),X("ddd",function(e,t){return t.weekdaysShortRegex(e)}),X("dddd",function(e,t){return t.weekdaysRegex(e)}),ie(["dd","ddd","dddd"],function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:p(n).invalidWeekday=e}),ie(["d","e","E"],function(e,t,n,r){t[r]=x(e)});var bi="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),wi="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),xi="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ki=ei,_i=ei,Ci=ei;G("H",["HH",2],0,"hour"),G("h",["hh",2],0,Ye),G("k",["kk",2],0,We),G("hmm",0,0,function(){return""+Ye.apply(this)+B(this.minutes(),2)}),G("hmmss",0,0,function(){return""+Ye.apply(this)+B(this.minutes(),2)+B(this.seconds(),2)}),G("Hmm",0,0,function(){return""+this.hours()+B(this.minutes(),2)}),G("Hmmss",0,0,function(){return""+this.hours()+B(this.minutes(),2)+B(this.seconds(),2)}),Be("a",!0),Be("A",!1),I("hour","h"),j("hour",13),X("a",Ge),X("A",Ge),X("H",zr),X("h",zr),X("HH",zr,Ur),X("hh",zr,Ur),X("hmm",qr),X("hmmss",Yr),X("Hmm",qr),X("Hmmss",Yr),re(["H","HH"],ai),re(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),re(["h","hh"],function(e,t,n){t[ai]=x(e),p(n).bigHour=!0}),re("hmm",function(e,t,n){var r=e.length-2;t[ai]=x(e.substr(0,r)),t[si]=x(e.substr(r)),p(n).bigHour=!0}),re("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[ai]=x(e.substr(0,r)),t[si]=x(e.substr(r,2)),t[ui]=x(e.substr(i)),p(n).bigHour=!0}),re("Hmm",function(e,t,n){var r=e.length-2;t[ai]=x(e.substr(0,r)),t[si]=x(e.substr(r))}),re("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[ai]=x(e.substr(0,r)),t[si]=x(e.substr(r,2)),t[ui]=x(e.substr(i))});var Si,Ei=/[ap]\.?m?\.?/i,Mi=H("Hours",!0),Ai={calendar:Sr,longDateFormat:Er,invalidDate:Mr,ordinal:Ar,ordinalParse:Dr,relativeTime:Tr,months:pi,monthsShort:mi,week:yi,weekdays:bi,weekdaysMin:xi,weekdaysShort:wi,meridiemParse:Ei},Di={},Ti={},Oi=/^\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)?)?$/,Fi=/^\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)?)?$/,Li=/Z|[+-]\d\d(?::?\d\d)?/,Pi=[["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}/]],Ni=[["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/]],Ii=/^\/?Date\((\-?\d+)/i;n.createFromInputFallback=C("value provided is not in a recognized ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),n.ISO_8601=function(){};var Ri=C("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=bt.apply(null,arguments);return this.isValid()&&e.isValid()?ethis?this:e:g()}),ji=function(){return Date.now?Date.now():+new Date};Et("Z",":"),Et("ZZ",""),X("Z",Kr),X("ZZ",Kr),re(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Mt(Kr,e)});var Vi=/([\+\-]|\d\d)/gi;n.updateOffset=function(){};var Hi=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,zi=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;Ht.fn=_t.prototype;var qi=Wt(1,"add"),Yi=Wt(-1,"subtract");n.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",n.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Wi=C("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)});G(0,["gg",2],0,function(){return this.weekYear()%100}),G(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Mn("gggg","weekYear"),Mn("ggggg","weekYear"),Mn("GGGG","isoWeekYear"),Mn("GGGGG","isoWeekYear"),I("weekYear","gg"),I("isoWeekYear","GG"),j("weekYear",1),j("isoWeekYear",1),X("G",Qr),X("g",Qr),X("GG",zr,Ur),X("gg",zr,Ur),X("GGGG",Br,Vr),X("gggg",Br,Vr),X("GGGGG",Gr,Hr),X("ggggg",Gr,Hr),ie(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=x(e)}),ie(["gg","GG"],function(e,t,r,i){t[i]=n.parseTwoDigitYear(e)}),G("Q",0,"Qo","quarter"),I("quarter","Q"),j("quarter",7),X("Q",Rr),re("Q",function(e,t){t[ii]=3*(x(e)-1)}),G("D",["DD",2],"Do","date"),I("date","D"),j("date",9),X("D",zr),X("DD",zr,Ur),X("Do",function(e,t){return e?t._ordinalParse:t._ordinalParseLenient; +}),re(["D","DD"],oi),re("Do",function(e,t){t[oi]=x(e.match(zr)[0],10)});var Bi=H("Date",!0);G("DDD",["DDDD",3],"DDDo","dayOfYear"),I("dayOfYear","DDD"),j("dayOfYear",4),X("DDD",Wr),X("DDDD",jr),re(["DDD","DDDD"],function(e,t,n){n._dayOfYear=x(e)}),G("m",["mm",2],0,"minute"),I("minute","m"),j("minute",14),X("m",zr),X("mm",zr,Ur),re(["m","mm"],si);var Gi=H("Minutes",!1);G("s",["ss",2],0,"second"),I("second","s"),j("second",15),X("s",zr),X("ss",zr,Ur),re(["s","ss"],ui);var Zi=H("Seconds",!1);G("S",0,0,function(){return~~(this.millisecond()/100)}),G(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),G(0,["SSS",3],0,"millisecond"),G(0,["SSSS",4],0,function(){return 10*this.millisecond()}),G(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),G(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),G(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),G(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),G(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),I("millisecond","ms"),j("millisecond",16),X("S",Wr,Rr),X("SS",Wr,Ur),X("SSS",Wr,jr);var Qi;for(Qi="SSSS";Qi.length<=9;Qi+="S")X(Qi,Zr);for(Qi="S";Qi.length<=9;Qi+="S")re(Qi,In);var Ji=H("Milliseconds",!1);G("z",0,0,"zoneAbbr"),G("zz",0,0,"zoneName");var Ki=y.prototype;Ki.add=qi,Ki.calendar=Zt,Ki.clone=Qt,Ki.diff=rn,Ki.endOf=vn,Ki.format=ln,Ki.from=cn,Ki.fromNow=fn,Ki.to=dn,Ki.toNow=hn,Ki.get=Y,Ki.invalidAt=Sn,Ki.isAfter=Jt,Ki.isBefore=Kt,Ki.isBetween=Xt,Ki.isSame=en,Ki.isSameOrAfter=tn,Ki.isSameOrBefore=nn,Ki.isValid=_n,Ki.lang=Wi,Ki.locale=pn,Ki.localeData=mn,Ki.max=Ui,Ki.min=Ri,Ki.parsingFlags=Cn,Ki.set=W,Ki.startOf=gn,Ki.subtract=Yi,Ki.toArray=wn,Ki.toObject=xn,Ki.toDate=bn,Ki.toISOString=sn,Ki.inspect=un,Ki.toJSON=kn,Ki.toString=an,Ki.unix=yn,Ki.valueOf=$n,Ki.creationData=En,Ki.year=$i,Ki.isLeapYear=ye,Ki.weekYear=An,Ki.isoWeekYear=Dn,Ki.quarter=Ki.quarters=Pn,Ki.month=de,Ki.daysInMonth=he,Ki.week=Ki.weeks=Ae,Ki.isoWeek=Ki.isoWeeks=De,Ki.weeksInYear=On,Ki.isoWeeksInYear=Tn,Ki.date=Bi,Ki.day=Ki.days=Re,Ki.weekday=Ue,Ki.isoWeekday=je,Ki.dayOfYear=Nn,Ki.hour=Ki.hours=Mi,Ki.minute=Ki.minutes=Gi,Ki.second=Ki.seconds=Zi,Ki.millisecond=Ki.milliseconds=Ji,Ki.utcOffset=Tt,Ki.utc=Ft,Ki.local=Lt,Ki.parseZone=Pt,Ki.hasAlignedHourOffset=Nt,Ki.isDST=It,Ki.isLocal=Ut,Ki.isUtcOffset=jt,Ki.isUtc=Vt,Ki.isUTC=Vt,Ki.zoneAbbr=Rn,Ki.zoneName=Un,Ki.dates=C("dates accessor is deprecated. Use date instead.",Bi),Ki.months=C("months accessor is deprecated. Use month instead",de),Ki.years=C("years accessor is deprecated. Use year instead",$i),Ki.zone=C("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Ot),Ki.isDSTShifted=C("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Rt);var Xi=D.prototype;Xi.calendar=T,Xi.longDateFormat=O,Xi.invalidDate=F,Xi.ordinal=L,Xi.preparse=Hn,Xi.postformat=Hn,Xi.relativeTime=P,Xi.pastFuture=N,Xi.set=M,Xi.months=se,Xi.monthsShort=ue,Xi.monthsParse=ce,Xi.monthsRegex=me,Xi.monthsShortRegex=pe,Xi.week=Se,Xi.firstDayOfYear=Me,Xi.firstDayOfWeek=Ee,Xi.weekdays=Fe,Xi.weekdaysMin=Pe,Xi.weekdaysShort=Le,Xi.weekdaysParse=Ie,Xi.weekdaysRegex=Ve,Xi.weekdaysShortRegex=He,Xi.weekdaysMinRegex=ze,Xi.isPM=Ze,Xi.meridiem=Qe,et("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===x(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),n.lang=C("moment.lang is deprecated. Use moment.locale instead.",et),n.langData=C("moment.langData is deprecated. Use moment.localeData instead.",rt);var eo=Math.abs,to=sr("ms"),no=sr("s"),ro=sr("m"),io=sr("h"),oo=sr("d"),ao=sr("w"),so=sr("M"),uo=sr("y"),lo=lr("milliseconds"),co=lr("seconds"),fo=lr("minutes"),ho=lr("hours"),po=lr("days"),mo=lr("months"),go=lr("years"),vo=Math.round,$o={s:45,m:45,h:22,d:26,M:11},yo=Math.abs,bo=_t.prototype;return bo.abs=Jn,bo.add=Xn,bo.subtract=er,bo.as=or,bo.asMilliseconds=to,bo.asSeconds=no,bo.asMinutes=ro,bo.asHours=io,bo.asDays=oo,bo.asWeeks=ao,bo.asMonths=so,bo.asYears=uo,bo.valueOf=ar,bo._bubble=nr,bo.get=ur,bo.milliseconds=lo,bo.seconds=co,bo.minutes=fo,bo.hours=ho,bo.days=po,bo.weeks=cr,bo.months=mo,bo.years=go,bo.humanize=mr,bo.toISOString=gr,bo.toString=gr,bo.toJSON=gr,bo.locale=pn,bo.localeData=mn,bo.toIsoString=C("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",gr),bo.lang=Wi,G("X",0,0,"unix"),G("x",0,0,"valueOf"),X("x",Qr),X("X",Xr),re("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),re("x",function(e,t,n){n._d=new Date(x(e))}),n.version="2.17.1",r(bt),n.fn=Ki,n.min=xt,n.max=kt,n.now=ji,n.utc=d,n.unix=jn,n.months=Wn,n.isDate=u,n.locale=et,n.invalid=g,n.duration=Ht,n.isMoment=b,n.weekdays=Gn,n.parseZone=Vn,n.localeData=rt,n.isDuration=Ct,n.monthsShort=Bn,n.weekdaysMin=Qn,n.defineLocale=tt,n.updateLocale=nt,n.locales=it,n.weekdaysShort=Zn,n.normalizeUnits=R,n.relativeTimeRounding=hr,n.relativeTimeThreshold=pr,n.calendarFormat=Gt,n.prototype=Ki,n})},{}],20:[function(e,t,n){function r(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName)e.focus(),e.setSelectionRange(0,e.value.length),t=e.value;else{e.hasAttribute("contenteditable")&&e.focus();var n=window.getSelection(),r=document.createRange();r.selectNodeContents(e),n.removeAllRanges(),n.addRange(r),t=n.toString()}return t}t.exports=r},{}],21:[function(e,t,n){function r(){}r.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){function r(){i.off(e,r),t.apply(n,arguments)}var i=this;return r._=t,this.on(e,r,n)},emit:function(e){var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,i=n.length;for(r;r tr",containment:"parent",axis:"y"},e.addEmptyTag=r,i(),e.tagChange=function(t){var n=e.tags.indexOf(t);n===e.tags.length-1&&(""===t.name&&""===t.value||r())},e.tagBlur=function(t){var n=e.tags.length-1===e.tags.indexOf(t);if(""===t.name&&""===t.value&&!n){var r=e.tags.indexOf(t);e.tags.splice(r,1)}},e.removeTag=function(t){var n=e.tags.indexOf(t);e.tags.splice(n,1)}}]),e.controller("PageAttachmentController",["$scope","$http","$attrs",function(e,n,r){function i(){return{page_id:l}}function o(r,i){var o=e.files.map(function(e){return e.id}).join(":");o!==c&&(c=o,n.put(window.baseUrl("/attachments/sort/page/"+l),{files:e.files}).then(function(e){t.emit("success",e.data.message)},u("sort")))}function a(){var t=window.baseUrl("/attachments/get/page/"+l);n.get(t).then(function(t){e.files=t.data,c=t.data.map(function(e){return e.id}).join(":")},u("get"))}function s(t){for(var n=0;n tr",containment:"parent",axis:"y",stop:o},e.getUploadUrl=function(e){var t="undefined"!=typeof e?"/"+e.id:"";return window.baseUrl("/attachments/upload"+t)},a(),e.uploadSuccess=function(n,r){e.$apply(function(){e.files.push(r)}),t.emit("success",trans("entities.attachments_file_uploaded"))},e.uploadSuccessUpdate=function(n,r){e.$apply(function(){var t=s(r);t!==-1&&(e.files[t]=r),e.editFile&&(e.editFile=angular.copy(r),r.link="")}),t.emit("success",trans("entities.attachments_file_updated"))},e.deleteFile=function(r){return r.deleting?void n["delete"](window.baseUrl("/attachments/"+r.id)).then(function(n){t.emit("success",n.data.message),e.files.splice(e.files.indexOf(r),1)},u("delete")):void(r.deleting=!0)},e.attachLinkSubmit=function(r){r.uploaded_to=l,n.post(window.baseUrl("/attachments/link"),r).then(function(n){e.files.push(n.data),t.emit("success",trans("entities.attachments_link_attached")),e.file=i()},u("link"))},e.startEdit=function(t){e.editFile=angular.copy(t),e.editFile.link=t.external?t.path:""},e.cancelEdit=function(){e.editFile=!1},e.updateFile=function(r){n.put(window.baseUrl("/attachments/"+r.id),r).then(function(n){var i=s(n.data);i!==-1&&(e.files[i]=n.data),e.editFile&&!r.external&&(e.editFile.link=""),e.editFile=!1,t.emit("success",trans("entities.attachments_updated_success"))},u("edit"))},e.getFileUrl=function(e){return window.baseUrl("/attachments/"+e.id)}}])};var i=e("moment"),o=r(i);e("moment/locale/en-gb");var a=e("./pages/page-form"),s=r(a);o["default"].locale("en-gb")},{"./pages/page-form":25,moment:19,"moment/locale/en-gb":18}],23:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(n,"__esModule",{value:!0}),n["default"]=function(e,t){e.directive("tabContainer",function(){return{restrict:"A",link:function(e,t,n){var r=t.find("[tab-content]"),i=t.find("[tab-button]");if(n.tabContainer){var o=n.tabContainer;i.filter('[tab-button="'+o+'"]').addClass("selected"),r.hide().filter('[tab-content="'+o+'"]').show()}else r.hide().first().show(),i.first().addClass("selected");i.click(function(){var e=$(this);i.removeClass("selected"),r.hide();var t=e.addClass("selected").attr("tab-button");r.filter('[tab-content="'+t+'"]').show()})}}}),e.directive("subForm",function(){return{restrict:"A",link:function(e,t,n){function r(t){t.preventDefault(),n.subForm&&e.$eval(n.subForm)}t.on("keypress",function(e){13===e.keyCode&&r(e)}),t.find('button[type="submit"]').click(r)}}}),e.directive("dropZone",[function(){return{restrict:"E",template:'\n
    \n
    {{message}}
    \n
    \n ',scope:{uploadUrl:"@",eventSuccess:"=",eventError:"=",uploadedTo:"@"},link:function(e,t,n){e.message=n.message,n.placeholder&&(t[0].querySelector(".dz-message").textContent=n.placeholder);new o["default"](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)}413===n.status&&r(trans("errors.server_upload_limit")),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");var e=r.find("input"),n=e.length>0;n&&(e.first().focus(),t.on("keypress","input",function(e){if(13===e.keyCode)return e.preventDefault(),r.hide(),r.removeClass("anim menuIn"),!1})),t.mouseleave(function(){r.hide(),r.removeClass("anim menuIn")})})}}}]),e.directive("tinymce",["$timeout",function(e){return{restrict:"A",scope:{tinymce:"=",mceModel:"=",mceChange:"="},link:function(t,n,r){function i(n){n.on("ExecCommand change NodeChange ObjectResized",function(r){var i=n.getContent();e(function(){t.mceModel=i}),t.mceChange(i)}),n.on("keydown",function(e){t.$emit("editor-keydown",e)}),n.on("init",function(e){t.mceModel=n.getContent()}),t.$on("html-update",function(e,r){n.setContent(r),n.selection.select(n.getBody(),!0),n.selection.collapse(!1),t.mceModel=n.getContent()})}t.tinymce.extraSetups.push(i),tinymce.PluginManager.add("customhr",function(e){e.addCommand("InsertHorizontalRule",function(){var t=document.createElement("hr"),n=e.selection.getNode(),r=n.parentNode;r.insertBefore(t,n)}),e.addButton("hr",{icon:"hr",tooltip:"Horizontal line",cmd:"InsertHorizontalRule"}),e.addMenuItem("hr",{icon:"hr",text:"Horizontal line",cmd:"InsertHorizontalRule",context:"insert"})}),tinymce.init(t.tinymce)}}}]),e.directive("markdownInput",["$timeout",function(e){return{restrict:"A",scope:{mdModel:"=",mdChange:"="},link:function(t,n,r){n=n.find("textarea").first();var i=n.val();t.mdModel=i,t.mdChange((0,s["default"])(i)),n.on("change input",function(r){i=n.val(),e(function(){t.mdModel=i,t.mdChange((0,s["default"])(i))})}),t.$on("markdown-update",function(e,r){n.val(r),t.mdModel=r,t.mdChange((0,s["default"])(r))})}}}]),e.directive("markdownEditor",["$timeout",function(e){return{restrict:"A",link:function(e,t,n){function r(){h=u[0].scrollHeight,p=u.height(),m=l[0].scrollHeight,g=l.height()}function i(){window.showEntityLinkSelector(function(e){var t=d,n=u[0].selectionEnd,r=n!==t,i=u.val();if(r){var o=i.substring(t,n),a="["+o+"]("+e.link+")";u.val(i.substring(0,t)+a+i.substring(n))}else{var s=" ["+e.name+"]("+e.link+") ";u.val(i.substring(0,t)+s+i.substring(t))}u.change()})}function o(e){if(e=e.originalEvent,e.clipboardData){var t=e.clipboardData.items;if(t)for(var n=0;na?"!["+c+"]":"![]")+("("+f+")");u[0].value=l.substring(0,a)+d+l.substring(s),u.focus(),u[0].selectionStart=a,u[0].selectionEnd=a;var h="image-"+Date.now()+"."+n;t.append("file",e,h),t.append("_token",document.querySelector('meta[name="token"]').getAttribute("content")),r.open("POST",window.baseUrl("/images/gallery/upload")),r.onload=function(){var e=u[0].selectionStart;if(200===r.status||201===r.status){var t=JSON.parse(r.responseText);u[0].value=u[0].value.replace(f,t.thumbs.display),u.change()}else u[0].value=u[0].value.replace(d,""),u.change();u.focus(),u[0].selectionStart=e,u[0].selectionEnd=e},r.send(t)}}var u=t.find("[markdown-input] textarea").first(),l=t.find(".markdown-display").first(),c=t.find('button[data-action="insertImage"]'),f=t.find('button[data-action="insertEntityLink"]');l.on("click","a",function(e){e.preventDefault(),window.open(this.getAttribute("href"))});var d=0;u.blur(function(e){d=u[0].selectionStart});var h=void 0,p=void 0,m=void 0,g=void 0;setTimeout(function(){r()},200),window.addEventListener("resize",r);var v=800,$=0;u.on("scroll",function(e){var t=Date.now();t-$>v&&r();var n=u.scrollTop()/(h-p),i=(m-g)*n;l.scrollTop(i),$=t}),u.keydown(function(t){if(73===t.which&&t.ctrlKey&&t.shiftKey){t.preventDefault();var n=u[0].selectionStart,r=u.val(),o="![](http://)";return u.val(r.substring(0,n)+o+r.substring(n)),u.focus(),u[0].selectionStart=n+"![](".length,void(u[0].selectionEnd=n+"![](http://".length)}return 75===t.which&&t.ctrlKey&&t.shiftKey?void i():void e.$emit("editor-keydown",t)}),c.click(function(e){window.ImageManager.showExternal(function(e){var t=d,n=u.val(),r="!["+e.name+"]("+e.thumbs.display+")";u.val(n.substring(0,t)+r+n.substring(t)),u.change()})}),f.click(i),u.on("paste",o),u.on("drop",a)}}}]),e.directive("toolbox",[function(){return{restrict:"A",link:function(e,t,n){function r(e,n){i.removeClass("active"),o.hide(),i.filter('[toolbox-tab-button="'+e+'"]').addClass("active"),o.filter('[toolbox-tab-content="'+e+'"]').show(),n&&t.addClass("open")}var i=t.find("[toolbox-tab-button]"),o=t.find("[toolbox-tab-content]"),a=t.find("[toolbox-toggle]");a.click(function(e){t.toggleClass("open")}),r(o.first().attr("toolbox-tab-content"),!1),i.click(function(e){var t=$(this).attr("toolbox-tab-button");r(t,!0)})}}}]),e.directive("tagAutosuggestions",["$http",function(e){return{restrict:"A",link:function(t,n,r){function i(e,t){t[h].className="",h=e,t[h].className="active"}function o(e,t){if(0===t.length)return c.hide(),f=!1,void(m=t);if(f||(c.show(),f=!0),e!==d&&(c.detach(),e.after(c),d=e),m.join()===t.join())return void(m=t);c[0].innerHTML="";for(var n=0;n=0}});var b=$(".notification"),w=b.filter(".pos"),x=b.filter(".neg"),k=b.filter(".warning");window.Events.listen("success",function(e){w.hide(),w.find("span").text(e),setTimeout(function(){w.show()},1)}),window.Events.listen("warning",function(e){k.find("span").text(e),k.show()}),window.Events.listen("error",function(e){x.find("span").text(e),x.show()}),b.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 _=!1,C=document.getElementById("back-to-top"),S=1200;window.addEventListener("scroll",function(){var e=document.documentElement.scrollTop||document.body.scrollTop||0;!_&&e>S?(C.style.display="block",_=!0,setTimeout(function(){C.style.opacity=.4},1)):_&&e0||navigator.userAgent.indexOf("Safari")!==-1)&&$("body").addClass("flexbox-support")},{"./controllers":22,"./directives":23,"./pages/page-show":26,"./services":27,"./translations":28,angular:9,"angular-animate":2,"angular-resource":4,"angular-sanitize":6,"angular-ui-sortable":7}],25:[function(e,t,n){"use strict";function r(e,t){if(e.clipboardData){var n=e.clipboardData.items;if(n)for(var r=function(e){if(n[e].type.indexOf("image")===-1)return{v:void 0};var r=n[e].getAsFile(),i=new FormData,o="png",a=new XMLHttpRequest;if(r.name){var s=r.name.match(/\.(.+)$/);s&&(o=s[1])}var u="image-"+Math.random().toString(16).slice(2),l=window.baseUrl("/loading.gif");t.execCommand("mceInsertContent",!1,'');var c="image-"+Date.now()+"."+o;i.append("file",r,c),i.append("_token",document.querySelector('meta[name="token"]').getAttribute("content")),a.open("POST",window.baseUrl("/images/gallery/upload")),a.onload=function(){if(200===a.status||201===a.status){var e=JSON.parse(a.responseText);t.dom.setAttrib(u,"src",e.thumbs.display)}else t.dom.remove(u)},a.send(i)},i=0;i';i+=''+t.name+'',i+="
    ",r.tinyMCE.activeEditor.execCommand("mceInsertContent",!1,i)})},paste_preprocess:function(e,t){var n=t.content;n.indexOf('';n+=''+e.name+'',n+="",t.execCommand("mceInsertContent",!1,n)})}}),t.on("paste",function(e){r(e,t)})}};return e}},{}],26:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(n,"__esModule",{value:!0});var i=e("clipboard"),o=r(i);n["default"]=window.setupPageShow=function(e){function t(){var t=d?window.baseUrl("/link/"+e+"#"+h):"{{@"+e+"#"+h+"}}";d&&0!==t.indexOf("http")&&(t=window.location.protocol+"//"+window.location.host+t),u.find("input").val(t)}function n(e){var t=document.getElementById(e);if($(".page-content [data-highlighted]").attr("data-highlighted","").css("background-color",""),null!==t){var n=$(t),r=$("#custom-styles").attr("data-color-light");n.css("background-color",r).attr("data-highlighted","true").smoothScrollTo()}else $(".page-content").find(':contains("'+e+'")').smoothScrollTo()}function r(){g.width(v.width()+15),g.addClass("fixed"),w=!0}function i(){g.css("width","auto"),g.removeClass("fixed"),w=!1}function a(e){var t=m.scrollTop()>b;!t||w&&!e?t||!w&&!e||i():r()}function s(){a(!1)}var u=$("#pointer").detach(),l=!1,c=u.children("div.pointer").first(),f=!1,d=!0,h="";u.on("click","input",function(e){$(this).select(),e.stopPropagation()}),u.on("click","span.icon",function(e){var n=$(e.currentTarget);d=!d,n.html(d?'':''),t()});new o["default"]("#pointer button");if($(document.body).find("*").on("click focus",function(e){if(l&&!f){var t=$(e.target);t.is(".zmdi")||1===$(e.target).closest("#pointer").length||(u.detach(),l=!1)}}),$('.page-content [id^="bkmrk"]').on("mouseup keyup",function(e){e.stopPropagation();var n=window.getSelection();if(0!==n.toString().length){var r=$(this);h=r.attr("id"),t(),r.before(u),u.show(),l=!0;var i=e.pageX-r.offset().left-c.width()/2;i<0&&(i=0);var o=i/r.width()*100;c.css("left",o+"%"),f=!0,setTimeout(function(){f=!1},100)}}),window.location.hash){var p=window.location.hash.replace(/\%20/g," ").substr(1);n(p)}$(".sidebar-page-nav").on("click","a",function(e){n(e.target.getAttribute("href").substr(1))});var m=$(window),g=$(".book-tree"),v=g.parent(),y=$(document).height()>m.height()&&g.height()<$(".page-content").height(),b=$("#header").height()+$(".toolbar").height(),w=m.scrollTop()>b;y&&m.width()>1e3&&(m.on("scroll",s),a(!0)),m.on("resize",function(e){y&&m.width()>1e3?(m.on("scroll",s),a(!0)):(m.off("scroll",s),i())})}},{clipboard:11}],27:[function(e,t,n){"use strict";t.exports=function(e,t){e.factory("imageManagerService",function(){return{show:!1,showExternal:!1}})}},{}],28:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n Date: Mon, 23 Jan 2017 22:28:31 +0000 Subject: [PATCH 27/54] Updated version number --- version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version b/version index 4a29f93bbe5..965905d4dc0 100644 --- a/version +++ b/version @@ -1 +1 @@ -v0.14.0 +v0.14.1 \ No newline at end of file From 5d3264bc6357733915282995b98639be1ce80e2e Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Wed, 1 Feb 2017 22:23:06 +0000 Subject: [PATCH 28/54] Updated assets for release v0.14.2 --- public/css/export-styles.css | 2 +- public/css/styles.css | 2 +- version | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/public/css/export-styles.css b/public/css/export-styles.css index 56a58457f78..82cdacad91c 100644 --- a/public/css/export-styles.css +++ b/public/css/export-styles.css @@ -1 +1 @@ -article,aside,blockquote,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}.chapter-toggle,.toggle-switch{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.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,a,body{font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:'';content:none}*{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%}.title-input input[type=text],h1{font-size:3.425em;line-height:1.22222222em;margin-top:.48888889em;margin-bottom:.48888889em}h3,h4,h5,h6{margin-top:.78571429em}h2,h3,h4{margin-bottom:.43137255em}h2{font-size:2.8275em;line-height:1.294117647em;margin-top:.8627451em}h3{font-size:2.333em;line-height:1.571428572em}h4{font-size:1.666em;line-height:1.375em}.title-input input[type=text],h1,h2,h3,h4,h5,h6{font-weight:400;position:relative;display:block;color:#555}.title-input input[type=text] .subheader,h1 .subheader,h2 .subheader,h3 .subheader,h4 .subheader,h5 .subheader,h6 .subheader{font-size:.5em;line-height:1em;color:#969696}h5{font-size:1.4em}h5,h6{font-weight:500;line-height:1.2em;margin-bottom:.66em}.link,a{color:#0288D1;cursor:pointer;text-decoration:none;-webkit-transition:color ease-in-out 80ms;transition:color ease-in-out 80ms;line-height:1.6}.link:hover,.underlined,a:hover{text-decoration:underline}.toggle-switch,.toggle-switch:after{-webkit-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:-webkit-linear-gradient(left,#FFF,#e3e0e0 20%,#e3e0e0 80%,#FFF);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}.text-small .text-small,.text-small p.small,.text-small small,.text-small span.small,p.small .text-small,p.small p.small,p.small small,p.small span.small,small .text-small,small p.small,small small,small span.small,span.small .text-small,span.small p.small,span.small small,span.small span.small{font-size:1em}.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}body.flexbox,ol,ul{overflow:hidden}blockquote{position:relative;border-left:4px solid #0288D1;background-color:#F8F8F8;padding:12px 16px 12px 32px}blockquote:before{content:"\201C";font-size:2em;font-weight:700;position:absolute;top:12px;left:12px;color:#777}.code-base,code,span.code{background-color:#F8F8F8;font-family:monospace;font-size:.8em;border:1px solid #DDD;border-radius:3px}code{display:inline;padding:1px 3px;white-space:pre;line-height:1.2em;margin-bottom:1.2em}.list>*,pre code{display:block}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:#969696}.text-primary,.text-primary:hover,p .primary,p .primary:hover,p.primary,p.primary:hover,span.primary,span.primary:hover{color:#0288D1}.text-secondary,.text-secondary:hover,p .secondary,p .secondary:hover,p.secondary,p.secondary:hover,span.secondary,span.secondary:hover{color:#e27b41}.text-book,.text-book:hover{color:#009688}.text-page,.text-page:hover{color:#0288D1}.text-page.draft,.text-page.draft:hover{color:#9A60DA}.text-chapter,.text-chapter:hover{color:#ef7c3c}.faded .text-book:hover{color:#009688!important}.faded .text-chapter:hover{color:#ef7c3c!important}.faded .text-page:hover{color:#0288D1!important}span.highlight{font-weight:700;padding:2px 4px}ul{padding-left:20.8px;list-style:disc}ol{list-style:decimal;padding-left:32px}.book-tree .sidebar-page-list li a:hover,.faded .text-button:hover,.logo:hover,.page-content del,.page-content ins{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}.action-header .title-input input[type=text],.action-header h1,.title-input .action-header input[type=text]{margin-top:16px}i{padding-right:6px}body.flexbox{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-align:stretch;align-items:stretch;height:100%;min-height:100%;max-height:100%}body.flexbox #content{-webkit-box-flex:1;flex:1;display:-webkit-box;display:flex;min-height:0}.flex-fill{display:-webkit-box;display:flex;-webkit-box-align:stretch;align-items:stretch;min-height:0}.flex-fill .flex,.flex-fill.flex{min-height:0;-webkit-box-flex:1;flex:1}.flex-child>div{-webkit-box-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.medium{max-width:992px}.container.small{max-width:840px}.center-box{margin:32px auto 0;padding:16px 48px 64px;max-width:346px;display:inline-block;text-align:left;vertical-align:top}.center-box.login{background-color:#EEE;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border:1px solid #DDD}.row{margin-left:-16px;margin-right:-16px}.float{float:left}.float.right{float:right}.block{display:block;position:relative}.inline{display:inline}.block.inline{display:inline-block}.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{position:relative;min-height:1px;padding-left:16px;padding-right:16px}.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.row:after,.row:before{content:" ";display:table}.clearfix:after,.container-fluid:after,.container:after,.row:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.shaded{background-color:#f1f1f1}.shaded.pos{background-color:#d6ead7}.shaded.neg{background-color:#f4a9a9}.shaded.primary{background-color:#a1ddfe}.shaded.secondary{background-color:#f6d7c6}.bordered{border:1px solid #BBB}.bordered.pos{border-color:#52A256}.bordered.neg{border-color:#E84F4F}.bordered.primary{border-color:#0288D1}.bordered.secondary{border-color:#e27b41}.bordered.thick{border-width:2px}.rounded{border-radius:3px}.nopadding{padding:0}.padded{padding:24px}.padded.large{padding:32px}.padded>h1:first-child,.padded>h2:first-child,.padded>h3:first-child,.padded>h4:first-child,.title-input .padded>input[type=text]:first-child{margin-top:.1em}.padded-top,.padded-vertical{padding-top:16px}.padded-top.large,.padded-vertical.large{padding-top:32px}.padded-bottom,.padded-vertical{padding-bottom:16px}.padded-bottom.large,.padded-vertical.large{padding-bottom:32px}.padded-horizontal,.padded-left{padding-left:16px}.padded-horizontal.large,.padded-left.large{padding-left:32px}.padded-horizontal,.padded-right{padding-right:16px}.padded-horizontal.large,.padded-right.large{padding-right:32px}.margins{margin:24px}.margins.large{margin:32px}.margin-top,.margins-vertical{margin-top:16px}.margin-top.large,.margins-vertical.large{margin-top:32px}.margin-bottom,.margins-vertical{margin-bottom:16px}.margin-bottom.large,.margins-vertical.large{margin-bottom:32px}.margin-left,.margins-horizontal{margin-left:16px}.margin-left.large,.margins-horizontal.large{margin-left:32px}.margin-right,.margins-horizontal{margin-right:16px}.margin-right.large,.margins-horizontal.large{margin-right:32px}.callout{border-left:3px solid #BBB;background-color:#EEE;padding:12px;display:block}.callout:before{font-family:Material-Design-Iconic-Font;padding-right:12px;display:inline-block}.callout.success{border-left-color:#52A256;background-color:#e7f3e7;color:#376c39}.callout.success:before{content:'\f269'}.callout.danger{border-left-color:#E84F4F;background-color:#fce8e8;color:#b91818}.callout.danger:before{content:'\f1f2'}.callout.info{border-left-color:#0288D1;background-color:#d3efff;color:#015380}.callout.info:before{content:'\f1f8'}.callout.warning{border-left-color:#e27b41;background-color:#faeae0;color:#b6531c}.callout.warning:before{content:'\f1f1'}.editor-toolbar:after,.pointer:before,.toggle-switch:after{content:''}.input-base,input[type=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{font-family:'Roboto Mono',monospace}.input-base.invalid,.input-base.neg,input.invalid[type=text],input.invalid[type=number],input.invalid[type=email],input.invalid[type=search],input.invalid[type=url],input.invalid[type=password],input.neg[type=text],input.neg[type=number],input.neg[type=email],input.neg[type=search],input.neg[type=url],input.neg[type=password],select.invalid,select.neg,textarea.invalid,textarea.neg{border:1px solid #E84F4F}.input-base.pos,.input-base.valid,input.pos[type=text],input.pos[type=number],input.pos[type=email],input.pos[type=search],input.pos[type=url],input.pos[type=password],input.valid[type=text],input.valid[type=number],input.valid[type=email],input.valid[type=search],input.valid[type=url],input.valid[type=password],select.pos,select.valid,textarea.pos,textarea.valid{border:1px solid #52A256}.input-base.disabled,.input-base[disabled],input.disabled[type=text],input.disabled[type=number],input.disabled[type=email],input.disabled[type=search],input.disabled[type=url],input.disabled[type=password],input[disabled][type=text],input[disabled][type=number],input[disabled][type=email],input[disabled][type=search],input[disabled][type=url],input[disabled][type=password],select.disabled,select[disabled],textarea.disabled,textarea[disabled]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAMUlEQVQIW2NkwAGuXbv2nxGbHEhCS0uLEUMSJgHShCKJLIEiiS4Bl8QmAZbEJQGSBAC62BuJ+tt7zgAAAABJRU5ErkJggg==)}.input-base:focus,input[type=text]:focus,input[type=number]:focus,input[type=email]:focus,input[type=search]:focus,input[type=url]:focus,input[type=password]:focus,select:focus,textarea:focus{outline:0}#html-editor{display:none}#markdown-editor{position:relative;z-index:5}#markdown-editor textarea{font-style:normal;font-weight:400;padding:6px 16px;color:#444;border-radius:0;max-height:100%;-webkit-box-flex:1;flex:1;border:0;width:100%}#markdown-editor textarea:focus{outline:0}#markdown-editor .markdown-display,#markdown-editor .markdown-editor-wrap{-webkit-box-flex:1;flex:1;position:relative}#markdown-editor .markdown-editor-wrap,.page-editor{flex-direction:column;-webkit-box-orient:vertical;-webkit-box-direction:normal}#markdown-editor .markdown-editor-wrap{display:-webkit-box;display:flex;border:1px solid #DDD;width:50%}#markdown-editor .markdown-display{padding:0 16px;margin-left:-1px;overflow-y:scroll}#markdown-editor .markdown-display .page-content{margin:0 auto}.editor-toolbar{width:100%;padding:6px 16px;font-size:11px;line-height:1.6;border-bottom:1px solid #DDD;background-color:#EEE;-webkit-box-flex:0;flex:none}.editor-toolbar:after{display:block;clear:both}label{display:block;line-height:1.4em;font-size:.94em;font-weight:500;color:#666;padding-bottom:2px;margin-bottom:.2em}.toggle-switch,label.inline{display:inline-block}label.checkbox,label.radio{font-weight:400}label.checkbox input[type=radio],label.checkbox input[type=checkbox],label.radio input[type=radio],label.radio input[type=checkbox]{margin-right:6px}label+p.small{margin-bottom:.8em}.toggle-switch{background-color:#BBB;width:36px;height:14px;border-radius:7px;position:relative;transition:all ease-in-out 120ms;user-select:none}.toggle-switch:after{display:block;position:relative;left:0;margin-top:-3px;width:20px;height:20px;border-radius:50%;background-color:#fafafa;border:1px solid #CCC;box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);transition:all ease-in-out 120ms}.toggle-switch.active{background-color:rgba(82,162,86,.4)}.toggle-switch.active:after{left:16px;background-color:#52A256;border:#305e32}.toggle-switch-checkbox{display:none}input:checked+.toggle-switch{background-color:rgba(82,162,86,.4)}input:checked+.toggle-switch:after{left:16px;background-color:#52A256;border:#305e32}.form-group{margin-bottom:12px}.form-group textarea{display:block;width:100%;min-height:64px}.form-group .text-neg,.form-group .text-pos{padding:6px 0}.description-input textarea,.inline-input-style,.title-input input[type=text]{border:2px dotted #BBB;display:block;width:100%;padding:6px 12px}.title-input .input{width:100%}.description-input label,.title-input label{margin-top:16px;color:#666}.title-input input[type=text]{margin-top:0;padding-right:0;width:100%;color:#444}.title-input.page-title{font-size:.8em}.title-input.page-title .input{border:0;margin-bottom:-1px}.title-input.page-title input[type=text]{max-width:840px;margin:0 auto;border:none}.search-box,div[editor-type=markdown] .title-input.page-title input[type=text],table{max-width:100%}.page-title input{display:block;width:100%;font-size:1.4em}.description-input textarea{font-size:15px;color:#666;width:100%}.search-box{position:relative}.search-box button{background-color:transparent;border:none;color:#0288D1;padding:0;margin:0 0 0 12px;cursor:pointer}.search-box button[type=submit]{margin-left:-24px}.search-box input{padding-right:24px;width:300px;max-width:100%}input.outline{border:0;border-bottom:2px solid #DDD;border-radius:0}input.outline:active,input.outline:focus{border:0;border-bottom:2px solid #AAA;outline:0}#login-form label[for=remember]{margin:0}#login-form label.toggle-switch{margin-left:32px}.image-picker img{background-color:#BBB}table{min-width:100px;border-spacing:0;border-collapse:collapse}table thead{background-color:#F8F8F8;font-weight:500}table td,table th{min-width:10px;padding:6px 8px;border:1px solid #DDD;overflow:auto;line-height:1.2}table td p,table th p{margin:0}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;margin:0}table.table th{font-weight:700}table.table tr:hover{background-color:#EEE}table.table .text-right{text-align:right}table.table .text-center{text-align:center}table.file-table td,table.no-style td{border:0;padding:0}table.list-table{margin:-6px}table.list-table td{border:0;vertical-align:middle;padding:6px}.dropdown-container,.logo-image,.logo-text,form.search-box button,header .links,header .user-name,header .user-name>*{vertical-align:top}table.file-table td{padding:6px}table.file-table .ui-sortable-helper{display:table}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;-webkit-transition:all ease-in-out 120ms;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)}.book-tree,.book-tree.fixed{background-color:#FFF;top:0}.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 h4{margin:24px 0 6px;font-size:1.666em}.page-list a.chapter{color:#ef7c3c}.page-list .inset-list{display:none;overflow:hidden;margin-bottom:24px}.page-list h5{display:block;margin:12px 0 0;border-left:5px solid #0288D1;padding:6px 0 6px 16px;font-size:1.1em;font-weight:400}.page-list h5.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;-webkit-transition:all ease-in-out 180ms;transition:all ease-in-out 180ms;user-select:none}.pointer span.icon,ul.pagination a,ul.pagination span{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.chapter-toggle i.zmdi-caret-right{-webkit-transition:all ease-in-out 180ms;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)}.sidebar-page-nav{list-style:none;margin:12px 0 16px 2px;border-left:2px dotted #BBB}.sidebar-page-nav li{padding-left:12px;margin-bottom:4px;font-size:.95em}.sidebar-page-nav .h1,.sidebar-page-nav .h2{margin-left:-2px}.sidebar-page-nav .h3{margin-left:12px}.sidebar-page-nav .h4{margin-left:24px}.sidebar-page-nav .h5{margin-left:36px}.sidebar-page-nav .h6{margin-left:48px}.book-tree{padding:6px 0 0;position:relative;right:0;-webkit-transition:ease-in-out 240ms;transition:ease-in-out 240ms;-webkit-transition-property:right,border;transition-property:right,border;border-left:0 solid #FFF}.book-tree.fixed{z-index:5;position:fixed;padding-left:24px;padding-right:39px;width:30%;right:-15px;height:100%;overflow-y:scroll;-ms-overflow-style:none;border-left:1px solid #DDD}.book-tree.fixed::-webkit-scrollbar{width:0!important}.book-tree h4{padding:16px 12px 0}.book-tree h4 i{padding-right:12px}.book-tree .sidebar-page-list{list-style:none;margin:6px 0 0;padding-left:0;border-left:5px solid #009688}.book-tree .sidebar-page-list li a{display:block;border-bottom:none;padding:6px 0 6px 12px}.book-tree .sidebar-page-list li a i{padding-right:8px}.book-tree .sidebar-page-list a,.book-tree .sidebar-page-list li{display:block}.book-tree .sidebar-page-list a.bold{color:#EEE!important}.book-tree .sidebar-page-list ul{list-style:none;margin:0}.book-tree .sidebar-page-list .book{color:#009688!important}.book-tree .sidebar-page-list .book.selected{background-color:rgba(0,150,136,.29)}.book-tree .sidebar-page-list .chapter{color:#ef7c3c!important}.book-tree .sidebar-page-list .chapter.selected{background-color:rgba(239,124,60,.12)}.book-tree .sidebar-page-list .chapter-toggle{padding-left:12px}.book-tree .sidebar-page-list .list-item-chapter{border-left:5px solid #ef7c3c;margin:10px;display:block}.book-tree .sidebar-page-list .list-item-page{border-bottom:none;border-left:5px solid #0288D1;margin:10px}.book-tree .sidebar-page-list .page{color:#0288D1!important;border-bottom:none}.book-tree .sidebar-page-list .page.selected{background-color:rgba(2,136,209,.1)}.book-tree .sidebar-page-list .list-item-page.draft{border-left:5px solid #9A60DA}.book-tree .sidebar-page-list .list-item-page.draft a.page,.book-tree .sidebar-page-list .page.draft .page{color:#9A60DA!important}.book-tree .sidebar-page-list .sub-menu{display:none;padding-left:0}.book-tree .sidebar-page-list .sub-menu.open{display:block}.sortable-page-list,.sortable-page-list ul{list-style:none;background-color:#FFF}.sort-box{margin-bottom:16px;padding:0 24px;border-left:4px solid #009688}.sortable-page-list,.sortable-page-list>ul{margin-left:0}.sortable-page-list ul{margin-bottom:0;margin-top:0;box-shadow:0 0 1px 0 rgba(0,0,0,.1)}.sortable-page-list li{border:1px solid #DDD;padding:6px 12px;margin-top:-1px;min-height:38px}.sortable-page-list li.text-chapter{border-left:2px solid #ef7c3c}.sortable-page-list li.text-page{border-left:2px solid #0288D1}.sortable-page-list li:first-child{margin-top:6px}.sortable-page-list li.placeholder{position:relative}.sortable-page-list li.placeholder:before{position:absolute}.activity-list-item{padding:12px 0;color:#888;border-bottom:1px solid #EEE;font-size:.9em}.activity-list-item .left+.right{margin-left:42px}ul.pagination{display:inline-block;list-style:none;margin:16px 0;padding-left:1px}ul.pagination li:first-child a,ul.pagination li:first-child span{border-radius:3px 0 0 3px}ul.pagination li:last-child a,ul.pagination li:last-child span{border-radius:0 3px 3px 0}ul.pagination a,ul.pagination span{display:block;padding:3px 12px;border:1px solid #CCC;margin-left:-1px;color:#888;user-select:none}.compact ul.pagination,.entity-list h4{margin:0}ul.pagination a.disabled,ul.pagination span.disabled{cursor:not-allowed}ul.pagination li.active span{background-color:rgba(2,136,209,.8);color:#EEE;border-color:rgba(2,136,209,.8)}ul.pagination a{color:#0288D1}.entity-list>div{padding:16px 0}.entity-list p{margin:6px 0 0}.entity-list hr{margin:0}.entity-list .text-small.text-muted{color:#AAA;font-size:.75em;margin-top:6px}.entity-list .text-muted p.text-muted{margin-top:0}.entity-list .page.draft .text-page{color:#9A60DA}.entity-list.compact{font-size:.6em}.entity-list.compact a,.entity-list.compact h4{line-height:1.2}.entity-list.compact p{display:none;font-size:12px;padding-top:6px;margin:0}.entity-list.compact>p.empty-text{display:block;font-size:15px}.entity-list.compact hr{margin:0}.dropdown-container{display:inline-block;position:relative}.dropdown-container ul{display:none;position:absolute;z-index:999;top:0;list-style:none;right:0;margin:16px 0;background-color:#FFF;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border-radius:1px;border:1px solid #EEE;min-width:180px;padding:6px 0;color:#555;text-align:left!important}.dropdown-container ul.wide{min-width:220px}.dropdown-container ul .text-muted{color:#999}.dropdown-container ul li.padded{padding:6px 16px}.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:12px;padding-right:0;display:inline-block;width:16px}.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-box;display:flex;-webkit-box-align:stretch;align-items:stretch}.page-editor .faded-small{height:auto}.page-editor .edit-area{-webkit-box-flex:1;flex:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}.draft-notification{pointer-events:none;-webkit-transform:scale(0);transform:scale(0);-webkit-transition:-webkit-transform ease-in-out 120ms;transition:-webkit-transform ease-in-out 120ms;transition:transform ease-in-out 120ms;transition:transform ease-in-out 120ms,-webkit-transform ease-in-out 120ms;-webkit-transform-origin:50% 50%;transform-origin:50% 50%}.draft-notification.visible{-webkit-transform:scale(1);transform:scale(1)}.page-style.editor{padding:0!important}.page-content{max-width:840px;overflow-wrap:break-word}.page-content .align-left{text-align:left}.page-content img.align-left,.page-content table.align-left{float:left!important;margin:6px 12px 6px 0}.page-content .align-right{float:right!important}.page-content img.align-right,.page-content table.align-right{text-align:right;margin:6px 0 6px 12px}.page-content .align-center{text-align:center}.page-content img{max-width:100%;height:auto}.page-content .title-input input[type=text],.page-content h1,.page-content h2,.page-content h3,.page-content h4,.page-content h5,.page-content h6,.page-content pre,.title-input .page-content input[type=text]{clear:left}.page-content hr{clear:both;margin:16px 0}.page-content table{-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;table-layout:fixed;max-width:100%;height:auto!important}.page-content ins{background:#dbffdb}.page-content del{background:#FFECEC}.pointer-container{position:relative;display:none;left:0;z-index:10}.pointer,.pointer:before{position:absolute;background-color:#FFF}.pointer{border:1px solid #CCC;display:inline-block;padding:12px;border-radius:4px;box-shadow:0 0 8px 1px rgba(212,209,209,.35);top:-60px;width:272px;z-index:55}.pointer:before{left:50%;bottom:-9px;width:16px;height:16px;margin-left:-8px;display:block;-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 span.icon{cursor:pointer;user-select:none}.pointer .button{line-height:1;margin:0 0 0 -4px;box-shadow:none}.floating-toolbox{background-color:#FFF;border:1px solid #DDD;right:64px;width:48px;overflow:hidden;-webkit-box-align:stretch;align-items:stretch;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;display:-webkit-box;display:flex;-webkit-transition:width ease-in-out 180ms;transition:width ease-in-out 180ms;margin-top:-1px;min-height:0}.floating-toolbox div[toolbox-tab-content],.floating-toolbox form{-webkit-box-orient:vertical;-webkit-box-direction:normal;overflow-y:scroll}.floating-toolbox.open{width:480px}.floating-toolbox [toolbox-toggle] i{-webkit-transition:-webkit-transform ease-in-out 180ms;transition:-webkit-transform ease-in-out 180ms;transition:transform ease-in-out 180ms;transition:transform ease-in-out 180ms,-webkit-transform ease-in-out 180ms}.floating-toolbox [toolbox-toggle]{-webkit-transition:background-color ease-in-out 180ms;transition:background-color ease-in-out 180ms}.floating-toolbox.open [toolbox-toggle]{background-color:rgba(255,0,0,.29)}.floating-toolbox.open [toolbox-toggle] i{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.floating-toolbox>div{-webkit-box-flex:1;flex:1;position:relative}.floating-toolbox .tabs{display:block;border-right:1px solid #DDD;width:48px;-webkit-box-flex:0;flex:0 1 auto}.floating-toolbox .tabs i{color:rgba(0,0,0,.5);padding:0;margin:0}.floating-toolbox .tabs>span{display:block;cursor:pointer;padding:12px 16px;font-size:13.5px;line-height:1.6;border-bottom:1px solid rgba(255,255,255,.3)}.floating-toolbox.open .tabs>span.active{color:#444;background-color:rgba(0,0,0,.1)}.floating-toolbox div[toolbox-tab-content]{padding-bottom:45px;display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1;flex-direction:column;min-height:0}.floating-toolbox div[toolbox-tab-content] .padded{-webkit-box-flex:1;flex:1;padding-top:0}.floating-toolbox h4{font-size:24px;margin:16px 0 0;padding:0 24px 12px}.floating-toolbox .tags input{max-width:100%;width:100%;min-width:50px}.floating-toolbox .tags td{padding-right:12px;padding-top:12px;position:relative}.floating-toolbox .handle{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:move;color:#999}.floating-toolbox form{display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1;flex-direction:column}.floating-toolbox table td,.floating-toolbox table th{overflow:visible}[toolbox-tab-content]{display:none}.tag-display{width:100%;position:relative}.tag-display table{width:100%;margin:0;padding:0}.tag-display tr:first-child td{padding-top:0}.tag-display .heading th{padding:6px 12px;color:rgba(100,100,100,.7);border:0;font-weight:400}.tag-display td{border:0;border-bottom:1px solid #EEE;padding:6px 12px;color:#444}.tag-display tr td:first-child{padding-left:0}.tag-display .tag-value{color:#888}.tag-display tr:last-child td{border-bottom:none}.tag-display .tag{padding:12px}.suggestion-box{position:absolute;background-color:#FFF;border:1px solid #BBB;box-shadow:0 0 4px 1px #CCC;list-style:none;z-index:100;padding:0;margin:0;border-radius:3px}.suggestion-box li{display:block;padding:6px 12px;border-bottom:1px solid #DDD}.suggestion-box li:last-child{border-bottom:0}.suggestion-box li.active{background-color:#EEE} \ No newline at end of file +article,aside,blockquote,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}.chapter-toggle,.toggle-switch{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.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,a,body{font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:'';content:none}*{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%}.title-input input[type=text],h1{font-size:3.425em;line-height:1.22222222em;margin-top:.48888889em;margin-bottom:.48888889em}h3,h4,h5,h6{margin-top:.78571429em}h2,h3,h4{margin-bottom:.43137255em}h2{font-size:2.8275em;line-height:1.294117647em;margin-top:.8627451em}h3{font-size:2.333em;line-height:1.571428572em}h4{font-size:1.666em;line-height:1.375em}.title-input input[type=text],h1,h2,h3,h4,h5,h6{font-weight:400;position:relative;display:block;color:#555}.title-input input[type=text] .subheader,h1 .subheader,h2 .subheader,h3 .subheader,h4 .subheader,h5 .subheader,h6 .subheader{font-size:.5em;line-height:1em;color:#969696}h5{font-size:1.4em}h5,h6{font-weight:500;line-height:1.2em;margin-bottom:.66em}.link,a{color:#0288D1;cursor:pointer;text-decoration:none;-webkit-transition:color ease-in-out 80ms;transition:color ease-in-out 80ms;line-height:1.6}.link:hover,.underlined,a:hover{text-decoration:underline}.toggle-switch,.toggle-switch:after{-webkit-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:-webkit-linear-gradient(left,#FFF,#e3e0e0 20%,#e3e0e0 80%,#FFF);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}.text-small .text-small,.text-small p.small,.text-small small,.text-small span.small,p.small .text-small,p.small p.small,p.small small,p.small span.small,small .text-small,small p.small,small small,small span.small,span.small .text-small,span.small p.small,span.small small,span.small span.small{font-size:1em}.superscript,sup{vertical-align:super;font-size:.8em}.subscript,sub{vertical-align:sub;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}body.flexbox,ol,ul{overflow:hidden}blockquote{position:relative;border-left:4px solid #0288D1;background-color:#F8F8F8;padding:12px 16px 12px 32px}blockquote:before{content:"\201C";font-size:2em;font-weight:700;position:absolute;top:12px;left:12px;color:#777}.code-base,code,span.code{background-color:#F8F8F8;font-family:monospace;font-size:.8em;border:1px solid #DDD;border-radius:3px}code{display:inline;padding:1px 3px;white-space:pre;line-height:1.2em;margin-bottom:1.2em}.list>*,pre code{display:block}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:#969696}.text-primary,.text-primary:hover,p .primary,p .primary:hover,p.primary,p.primary:hover,span.primary,span.primary:hover{color:#0288D1}.text-secondary,.text-secondary:hover,p .secondary,p .secondary:hover,p.secondary,p.secondary:hover,span.secondary,span.secondary:hover{color:#e27b41}.text-book,.text-book:hover{color:#009688}.text-page,.text-page:hover{color:#0288D1}.text-page.draft,.text-page.draft:hover{color:#9A60DA}.text-chapter,.text-chapter:hover{color:#ef7c3c}.faded .text-book:hover{color:#009688!important}.faded .text-chapter:hover{color:#ef7c3c!important}.faded .text-page:hover{color:#0288D1!important}span.highlight{font-weight:700;padding:2px 4px}ul{padding-left:20.8px;list-style:disc}ol{list-style:decimal;padding-left:32px}.book-tree .sidebar-page-list li a:hover,.faded .text-button:hover,.logo:hover,.page-content del,.page-content ins{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}.action-header .title-input input[type=text],.action-header h1,.title-input .action-header input[type=text]{margin-top:16px}i{padding-right:6px}body.flexbox{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-align:stretch;align-items:stretch;height:100%;min-height:100%;max-height:100%}body.flexbox #content{-webkit-box-flex:1;flex:1;display:-webkit-box;display:flex;min-height:0}.flex-fill{display:-webkit-box;display:flex;-webkit-box-align:stretch;align-items:stretch;min-height:0}.flex-fill .flex,.flex-fill.flex{min-height:0;-webkit-box-flex:1;flex:1}.flex-child>div{-webkit-box-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.medium{max-width:992px}.container.small{max-width:840px}.center-box{margin:32px auto 0;padding:16px 48px 64px;max-width:346px;display:inline-block;text-align:left;vertical-align:top}.center-box.login{background-color:#EEE;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border:1px solid #DDD}.row{margin-left:-16px;margin-right:-16px}.float{float:left}.float.right{float:right}.block{display:block;position:relative}.inline{display:inline}.block.inline{display:inline-block}.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{position:relative;min-height:1px;padding-left:16px;padding-right:16px}.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.row:after,.row:before{content:" ";display:table}.clearfix:after,.container-fluid:after,.container:after,.row:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.shaded{background-color:#f1f1f1}.shaded.pos{background-color:#d6ead7}.shaded.neg{background-color:#f4a9a9}.shaded.primary{background-color:#a1ddfe}.shaded.secondary{background-color:#f6d7c6}.bordered{border:1px solid #BBB}.bordered.pos{border-color:#52A256}.bordered.neg{border-color:#E84F4F}.bordered.primary{border-color:#0288D1}.bordered.secondary{border-color:#e27b41}.bordered.thick{border-width:2px}.rounded{border-radius:3px}.nopadding{padding:0}.padded{padding:24px}.padded.large{padding:32px}.padded>h1:first-child,.padded>h2:first-child,.padded>h3:first-child,.padded>h4:first-child,.title-input .padded>input[type=text]:first-child{margin-top:.1em}.padded-top,.padded-vertical{padding-top:16px}.padded-top.large,.padded-vertical.large{padding-top:32px}.padded-bottom,.padded-vertical{padding-bottom:16px}.padded-bottom.large,.padded-vertical.large{padding-bottom:32px}.padded-horizontal,.padded-left{padding-left:16px}.padded-horizontal.large,.padded-left.large{padding-left:32px}.padded-horizontal,.padded-right{padding-right:16px}.padded-horizontal.large,.padded-right.large{padding-right:32px}.margins{margin:24px}.margins.large{margin:32px}.margin-top,.margins-vertical{margin-top:16px}.margin-top.large,.margins-vertical.large{margin-top:32px}.margin-bottom,.margins-vertical{margin-bottom:16px}.margin-bottom.large,.margins-vertical.large{margin-bottom:32px}.margin-left,.margins-horizontal{margin-left:16px}.margin-left.large,.margins-horizontal.large{margin-left:32px}.margin-right,.margins-horizontal{margin-right:16px}.margin-right.large,.margins-horizontal.large{margin-right:32px}.callout{border-left:3px solid #BBB;background-color:#EEE;padding:12px;display:block}.callout:before{font-family:Material-Design-Iconic-Font;padding-right:12px;display:inline-block}.callout.success{border-left-color:#52A256;background-color:#e7f3e7;color:#376c39}.callout.success:before{content:'\f269'}.callout.danger{border-left-color:#E84F4F;background-color:#fce8e8;color:#b91818}.callout.danger:before{content:'\f1f2'}.callout.info{border-left-color:#0288D1;background-color:#d3efff;color:#015380}.callout.info:before{content:'\f1f8'}.callout.warning{border-left-color:#e27b41;background-color:#faeae0;color:#b6531c}.callout.warning:before{content:'\f1f1'}.editor-toolbar:after,.pointer:before,.toggle-switch:after{content:''}.input-base,input[type=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{font-family:'Roboto Mono',monospace}.input-base.invalid,.input-base.neg,input.invalid[type=text],input.invalid[type=number],input.invalid[type=email],input.invalid[type=search],input.invalid[type=url],input.invalid[type=password],input.neg[type=text],input.neg[type=number],input.neg[type=email],input.neg[type=search],input.neg[type=url],input.neg[type=password],select.invalid,select.neg,textarea.invalid,textarea.neg{border:1px solid #E84F4F}.input-base.pos,.input-base.valid,input.pos[type=text],input.pos[type=number],input.pos[type=email],input.pos[type=search],input.pos[type=url],input.pos[type=password],input.valid[type=text],input.valid[type=number],input.valid[type=email],input.valid[type=search],input.valid[type=url],input.valid[type=password],select.pos,select.valid,textarea.pos,textarea.valid{border:1px solid #52A256}.input-base.disabled,.input-base[disabled],input.disabled[type=text],input.disabled[type=number],input.disabled[type=email],input.disabled[type=search],input.disabled[type=url],input.disabled[type=password],input[disabled][type=text],input[disabled][type=number],input[disabled][type=email],input[disabled][type=search],input[disabled][type=url],input[disabled][type=password],select.disabled,select[disabled],textarea.disabled,textarea[disabled]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAMUlEQVQIW2NkwAGuXbv2nxGbHEhCS0uLEUMSJgHShCKJLIEiiS4Bl8QmAZbEJQGSBAC62BuJ+tt7zgAAAABJRU5ErkJggg==)}.input-base:focus,input[type=text]:focus,input[type=number]:focus,input[type=email]:focus,input[type=search]:focus,input[type=url]:focus,input[type=password]:focus,select:focus,textarea:focus{outline:0}#html-editor{display:none}#markdown-editor{position:relative;z-index:5}#markdown-editor textarea{font-style:normal;font-weight:400;padding:6px 16px;color:#444;border-radius:0;max-height:100%;-webkit-box-flex:1;flex:1;border:0;width:100%}#markdown-editor textarea:focus{outline:0}#markdown-editor .markdown-display,#markdown-editor .markdown-editor-wrap{-webkit-box-flex:1;flex:1;position:relative}#markdown-editor .markdown-editor-wrap,.page-editor{flex-direction:column;-webkit-box-orient:vertical;-webkit-box-direction:normal}#markdown-editor .markdown-editor-wrap{display:-webkit-box;display:flex;border:1px solid #DDD;width:50%}#markdown-editor .markdown-display{padding:0 16px;margin-left:-1px;overflow-y:scroll}#markdown-editor .markdown-display .page-content{margin:0 auto}.editor-toolbar{width:100%;padding:6px 16px;font-size:11px;line-height:1.6;border-bottom:1px solid #DDD;background-color:#EEE;-webkit-box-flex:0;flex:none}.editor-toolbar:after{display:block;clear:both}label{display:block;line-height:1.4em;font-size:.94em;font-weight:500;color:#666;padding-bottom:2px;margin-bottom:.2em}.toggle-switch,label.inline{display:inline-block}label.checkbox,label.radio{font-weight:400}label.checkbox input[type=radio],label.checkbox input[type=checkbox],label.radio input[type=radio],label.radio input[type=checkbox]{margin-right:6px}label+p.small{margin-bottom:.8em}.toggle-switch{background-color:#BBB;width:36px;height:14px;border-radius:7px;position:relative;transition:all ease-in-out 120ms;user-select:none}.toggle-switch:after{display:block;position:relative;left:0;margin-top:-3px;width:20px;height:20px;border-radius:50%;background-color:#fafafa;border:1px solid #CCC;box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);transition:all ease-in-out 120ms}.toggle-switch.active{background-color:rgba(82,162,86,.4)}.toggle-switch.active:after{left:16px;background-color:#52A256;border:#305e32}.toggle-switch-checkbox{display:none}input:checked+.toggle-switch{background-color:rgba(82,162,86,.4)}input:checked+.toggle-switch:after{left:16px;background-color:#52A256;border:#305e32}.form-group{margin-bottom:12px}.form-group textarea{display:block;width:100%;min-height:64px}.form-group .text-neg,.form-group .text-pos{padding:6px 0}.description-input textarea,.inline-input-style,.title-input input[type=text]{border:2px dotted #BBB;display:block;width:100%;padding:6px 12px}.title-input .input{width:100%}.description-input label,.title-input label{margin-top:16px;color:#666}.title-input input[type=text]{margin-top:0;padding-right:0;width:100%;color:#444}.title-input.page-title{font-size:.8em}.title-input.page-title .input{border:0;margin-bottom:-1px}.title-input.page-title input[type=text]{max-width:840px;margin:0 auto;border:none}.search-box,div[editor-type=markdown] .title-input.page-title input[type=text],table{max-width:100%}.page-title input{display:block;width:100%;font-size:1.4em}.description-input textarea{font-size:15px;color:#666;width:100%}.search-box{position:relative}.search-box button{background-color:transparent;border:none;color:#0288D1;padding:0;margin:0 0 0 12px;cursor:pointer}.search-box button[type=submit]{margin-left:-24px}.search-box input{padding-right:24px;width:300px;max-width:100%}input.outline{border:0;border-bottom:2px solid #DDD;border-radius:0}input.outline:active,input.outline:focus{border:0;border-bottom:2px solid #AAA;outline:0}#login-form label[for=remember]{margin:0}#login-form label.toggle-switch{margin-left:32px}.image-picker img{background-color:#BBB}table{min-width:100px;border-spacing:0;border-collapse:collapse}table thead{background-color:#F8F8F8;font-weight:500}table td,table th{min-width:10px;padding:6px 8px;border:1px solid #DDD;overflow:auto;line-height:1.2}table td p,table th p{margin:0}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;margin:0}table.table th{font-weight:700}table.table tr:hover{background-color:#EEE}table.table .text-right{text-align:right}table.table .text-center{text-align:center}table.file-table td,table.no-style td{border:0;padding:0}table.list-table{margin:-6px}table.list-table td{border:0;vertical-align:middle;padding:6px}.dropdown-container,.logo-image,.logo-text,form.search-box button,header .links,header .user-name,header .user-name>*{vertical-align:top}table.file-table td{padding:6px}table.file-table .ui-sortable-helper{display:table}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;-webkit-transition:all ease-in-out 120ms;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)}.book-tree,.book-tree.fixed{background-color:#FFF;top:0}.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 h4{margin:24px 0 6px;font-size:1.666em}.page-list a.chapter{color:#ef7c3c}.page-list .inset-list{display:none;overflow:hidden;margin-bottom:24px}.page-list h5{display:block;margin:12px 0 0;border-left:5px solid #0288D1;padding:6px 0 6px 16px;font-size:1.1em;font-weight:400}.page-list h5.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;-webkit-transition:all ease-in-out 180ms;transition:all ease-in-out 180ms;user-select:none}.pointer span.icon,ul.pagination a,ul.pagination span{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.chapter-toggle i.zmdi-caret-right{-webkit-transition:all ease-in-out 180ms;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)}.sidebar-page-nav{list-style:none;margin:12px 0 16px 2px;border-left:2px dotted #BBB}.sidebar-page-nav li{padding-left:12px;margin-bottom:4px;font-size:.95em}.sidebar-page-nav .h1,.sidebar-page-nav .h2{margin-left:-2px}.sidebar-page-nav .h3{margin-left:12px}.sidebar-page-nav .h4{margin-left:24px}.sidebar-page-nav .h5{margin-left:36px}.sidebar-page-nav .h6{margin-left:48px}.book-tree{padding:6px 0 0;position:relative;right:0;-webkit-transition:ease-in-out 240ms;transition:ease-in-out 240ms;-webkit-transition-property:right,border;transition-property:right,border;border-left:0 solid #FFF}.book-tree.fixed{z-index:5;position:fixed;padding-left:24px;padding-right:39px;width:30%;right:-15px;height:100%;overflow-y:scroll;-ms-overflow-style:none;border-left:1px solid #DDD}.book-tree.fixed::-webkit-scrollbar{width:0!important}.book-tree h4{padding:16px 12px 0}.book-tree h4 i{padding-right:12px}.book-tree .sidebar-page-list{list-style:none;margin:6px 0 0;padding-left:0;border-left:5px solid #009688}.book-tree .sidebar-page-list li a{display:block;border-bottom:none;padding:6px 0 6px 12px}.book-tree .sidebar-page-list li a i{padding-right:8px}.book-tree .sidebar-page-list a,.book-tree .sidebar-page-list li{display:block}.book-tree .sidebar-page-list a.bold{color:#EEE!important}.book-tree .sidebar-page-list ul{list-style:none;margin:0}.book-tree .sidebar-page-list .book{color:#009688!important}.book-tree .sidebar-page-list .book.selected{background-color:rgba(0,150,136,.29)}.book-tree .sidebar-page-list .chapter{color:#ef7c3c!important}.book-tree .sidebar-page-list .chapter.selected{background-color:rgba(239,124,60,.12)}.book-tree .sidebar-page-list .chapter-toggle{padding-left:12px}.book-tree .sidebar-page-list .list-item-chapter{border-left:5px solid #ef7c3c;margin:10px;display:block}.book-tree .sidebar-page-list .list-item-page{border-bottom:none;border-left:5px solid #0288D1;margin:10px}.book-tree .sidebar-page-list .page{color:#0288D1!important;border-bottom:none}.book-tree .sidebar-page-list .page.selected{background-color:rgba(2,136,209,.1)}.book-tree .sidebar-page-list .list-item-page.draft{border-left:5px solid #9A60DA}.book-tree .sidebar-page-list .list-item-page.draft a.page,.book-tree .sidebar-page-list .page.draft .page{color:#9A60DA!important}.book-tree .sidebar-page-list .sub-menu{display:none;padding-left:0}.book-tree .sidebar-page-list .sub-menu.open{display:block}.sortable-page-list,.sortable-page-list ul{list-style:none;background-color:#FFF}.sort-box{margin-bottom:16px;padding:0 24px;border-left:4px solid #009688}.sortable-page-list,.sortable-page-list>ul{margin-left:0}.sortable-page-list ul{margin-bottom:0;margin-top:0;box-shadow:0 0 1px 0 rgba(0,0,0,.1)}.sortable-page-list li{border:1px solid #DDD;padding:6px 12px;margin-top:-1px;min-height:38px}.sortable-page-list li.text-chapter{border-left:2px solid #ef7c3c}.sortable-page-list li.text-page{border-left:2px solid #0288D1}.sortable-page-list li:first-child{margin-top:6px}.sortable-page-list li.placeholder{position:relative}.sortable-page-list li.placeholder:before{position:absolute}.activity-list-item{padding:12px 0;color:#888;border-bottom:1px solid #EEE;font-size:.9em}.activity-list-item .left+.right{margin-left:42px}ul.pagination{display:inline-block;list-style:none;margin:16px 0;padding-left:1px}ul.pagination li:first-child a,ul.pagination li:first-child span{border-radius:3px 0 0 3px}ul.pagination li:last-child a,ul.pagination li:last-child span{border-radius:0 3px 3px 0}ul.pagination a,ul.pagination span{display:block;padding:3px 12px;border:1px solid #CCC;margin-left:-1px;color:#888;user-select:none}.compact ul.pagination,.entity-list h4{margin:0}ul.pagination a.disabled,ul.pagination span.disabled{cursor:not-allowed}ul.pagination li.active span{background-color:rgba(2,136,209,.8);color:#EEE;border-color:rgba(2,136,209,.8)}ul.pagination a{color:#0288D1}.entity-list>div{padding:16px 0}.entity-list p{margin:6px 0 0}.entity-list hr{margin:0}.entity-list .text-small.text-muted{color:#AAA;font-size:.75em;margin-top:6px}.entity-list .text-muted p.text-muted{margin-top:0}.entity-list .page.draft .text-page{color:#9A60DA}.entity-list.compact{font-size:.6em}.entity-list.compact a,.entity-list.compact h4{line-height:1.2}.entity-list.compact p{display:none;font-size:12px;padding-top:6px;margin:0}.entity-list.compact>p.empty-text{display:block;font-size:15px}.entity-list.compact hr{margin:0}.dropdown-container{display:inline-block;position:relative}.dropdown-container ul{display:none;position:absolute;z-index:999;top:0;list-style:none;right:0;margin:16px 0;background-color:#FFF;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border-radius:1px;border:1px solid #EEE;min-width:180px;padding:6px 0;color:#555;text-align:left!important}.dropdown-container ul.wide{min-width:220px}.dropdown-container ul .text-muted{color:#999}.dropdown-container ul li.padded{padding:6px 16px}.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:12px;padding-right:0;display:inline-block;width:16px}.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-box;display:flex;-webkit-box-align:stretch;align-items:stretch}.page-editor .faded-small{height:auto}.page-editor .edit-area{-webkit-box-flex:1;flex:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}.draft-notification{pointer-events:none;-webkit-transform:scale(0);transform:scale(0);-webkit-transition:-webkit-transform ease-in-out 120ms;transition:-webkit-transform ease-in-out 120ms;transition:transform ease-in-out 120ms;transition:transform ease-in-out 120ms,-webkit-transform ease-in-out 120ms;-webkit-transform-origin:50% 50%;transform-origin:50% 50%}.draft-notification.visible{-webkit-transform:scale(1);transform:scale(1)}.page-style.editor{padding:0!important}.page-content{max-width:840px;overflow-wrap:break-word}.page-content .align-left{text-align:left}.page-content img.align-left,.page-content table.align-left{float:left!important;margin:6px 12px 6px 0}.page-content .align-right{float:right!important}.page-content img.align-right,.page-content table.align-right{text-align:right;margin:6px 0 6px 12px}.page-content .align-center{text-align:center}.page-content img{max-width:100%;height:auto}.page-content .title-input input[type=text],.page-content h1,.page-content h2,.page-content h3,.page-content h4,.page-content h5,.page-content h6,.page-content pre,.title-input .page-content input[type=text]{clear:left}.page-content hr{clear:both;margin:16px 0}.page-content table{-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;table-layout:fixed;max-width:100%;height:auto!important}.page-content ins{background:#dbffdb}.page-content del{background:#FFECEC}.pointer-container{position:relative;display:none;left:0;z-index:10}.pointer,.pointer:before{position:absolute;background-color:#FFF}.pointer{border:1px solid #CCC;display:inline-block;padding:12px;border-radius:4px;box-shadow:0 0 8px 1px rgba(212,209,209,.35);top:-60px;width:272px;z-index:55}.pointer:before{left:50%;bottom:-9px;width:16px;height:16px;margin-left:-8px;display:block;-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 span.icon{cursor:pointer;user-select:none}.pointer .button{line-height:1;margin:0 0 0 -4px;box-shadow:none}.floating-toolbox{background-color:#FFF;border:1px solid #DDD;right:64px;width:48px;overflow:hidden;-webkit-box-align:stretch;align-items:stretch;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;display:-webkit-box;display:flex;-webkit-transition:width ease-in-out 180ms;transition:width ease-in-out 180ms;margin-top:-1px;min-height:0}.floating-toolbox div[toolbox-tab-content],.floating-toolbox form{-webkit-box-orient:vertical;-webkit-box-direction:normal;overflow-y:scroll}.floating-toolbox.open{width:480px}.floating-toolbox [toolbox-toggle] i{-webkit-transition:-webkit-transform ease-in-out 180ms;transition:-webkit-transform ease-in-out 180ms;transition:transform ease-in-out 180ms;transition:transform ease-in-out 180ms,-webkit-transform ease-in-out 180ms}.floating-toolbox [toolbox-toggle]{-webkit-transition:background-color ease-in-out 180ms;transition:background-color ease-in-out 180ms}.floating-toolbox.open [toolbox-toggle]{background-color:rgba(255,0,0,.29)}.floating-toolbox.open [toolbox-toggle] i{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.floating-toolbox>div{-webkit-box-flex:1;flex:1;position:relative}.floating-toolbox .tabs{display:block;border-right:1px solid #DDD;width:48px;-webkit-box-flex:0;flex:0 1 auto}.floating-toolbox .tabs i{color:rgba(0,0,0,.5);padding:0;margin:0}.floating-toolbox .tabs>span{display:block;cursor:pointer;padding:12px 16px;font-size:13.5px;line-height:1.6;border-bottom:1px solid rgba(255,255,255,.3)}.floating-toolbox.open .tabs>span.active{color:#444;background-color:rgba(0,0,0,.1)}.floating-toolbox div[toolbox-tab-content]{padding-bottom:45px;display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1;flex-direction:column;min-height:0}.floating-toolbox div[toolbox-tab-content] .padded{-webkit-box-flex:1;flex:1;padding-top:0}.floating-toolbox h4{font-size:24px;margin:16px 0 0;padding:0 24px 12px}.floating-toolbox .tags input{max-width:100%;width:100%;min-width:50px}.floating-toolbox .tags td{padding-right:12px;padding-top:12px;position:relative}.floating-toolbox .handle{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:move;color:#999}.floating-toolbox form{display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1;flex-direction:column}.floating-toolbox table td,.floating-toolbox table th{overflow:visible}[toolbox-tab-content]{display:none}.tag-display{width:100%;position:relative}.tag-display table{width:100%;margin:0;padding:0}.tag-display tr:first-child td{padding-top:0}.tag-display .heading th{padding:6px 12px;color:rgba(100,100,100,.7);border:0;font-weight:400}.tag-display td{border:0;border-bottom:1px solid #EEE;padding:6px 12px;color:#444}.tag-display tr td:first-child{padding-left:0}.tag-display .tag-value{color:#888}.tag-display tr:last-child td{border-bottom:none}.tag-display .tag{padding:12px}.suggestion-box{position:absolute;background-color:#FFF;border:1px solid #BBB;box-shadow:0 0 4px 1px #CCC;list-style:none;z-index:100;padding:0;margin:0;border-radius:3px}.suggestion-box li{display:block;padding:6px 12px;border-bottom:1px solid #DDD}.suggestion-box li:last-child{border-bottom:0}.suggestion-box li.active{background-color:#EEE} \ No newline at end of file diff --git a/public/css/styles.css b/public/css/styles.css index 140a68f0a4b..7b29705542e 100644 --- a/public/css/styles.css +++ b/public/css/styles.css @@ -1 +1 @@ -article,aside,blockquote,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}.chapter-toggle,.toggle-switch{-moz-user-select:none;-webkit-user-select:none}.anim.fadeIn,.anim.searchResult{-webkit-animation-fill-mode:forwards}#markdown-editor .markdown-editor-wrap,.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel,.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body,.popup-body,body.flexbox{-webkit-box-orient:vertical;-webkit-box-direction:normal}*,.dropzone,.dropzone *{box-sizing:border-box}.title-input input[type=text],a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{margin:0;padding:0;border:0;font:inherit;vertical-align:baseline}.link,.text-button,a,body{font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:'';content:none}@font-face{font-family:Roboto;font-style:normal;font-weight:100;src:local("Roboto Thin"),local("Roboto-Thin"),url(../fonts/roboto-v15-cyrillic_latin-100.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-100.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:100;src:local("Roboto Thin Italic"),local("Roboto-ThinItalic"),url(../fonts/roboto-v15-cyrillic_latin-100italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-100italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:300;src:local("Roboto Light"),local("Roboto-Light"),url(../fonts/roboto-v15-cyrillic_latin-300.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-300.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:300;src:local("Roboto Light Italic"),local("Roboto-LightItalic"),url(../fonts/roboto-v15-cyrillic_latin-300italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-300italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:local("Roboto"),local("Roboto-Regular"),url(../fonts/roboto-v15-cyrillic_latin-regular.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-regular.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:400;src:local("Roboto Italic"),local("Roboto-Italic"),url(../fonts/roboto-v15-cyrillic_latin-italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:500;src:local("Roboto Medium"),local("Roboto-Medium"),url(../fonts/roboto-v15-cyrillic_latin-500.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-500.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:500;src:local("Roboto Medium Italic"),local("Roboto-MediumItalic"),url(../fonts/roboto-v15-cyrillic_latin-500italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-500italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:700;src:local("Roboto Bold"),local("Roboto-Bold"),url(../fonts/roboto-v15-cyrillic_latin-700.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-700.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:700;src:local("Roboto Bold Italic"),local("Roboto-BoldItalic"),url(../fonts/roboto-v15-cyrillic_latin-700italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-700italic.woff) format("woff")}@font-face{font-family:'Roboto Mono';font-style:normal;font-weight:400;src:local("Roboto Mono"),local("RobotoMono-Regular"),url(../fonts/roboto-mono-v4-latin-regular.woff2) format("woff2"),url(../fonts/roboto-mono-v4-latin-regular.woff) format("woff")}html{background-color:#FFF;height:100%;overflow-y:scroll}html.flexbox{overflow-y:hidden}body{font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}button{font-size:100%}.title-input input[type=text],h1{font-size:3.425em;line-height:1.22222222em;margin-top:.48888889em;margin-bottom:.48888889em}h3,h4,h5,h6{margin-top:.78571429em}h2,h3,h4{margin-bottom:.43137255em}h2{font-size:2.8275em;line-height:1.294117647em;margin-top:.8627451em}h3{font-size:2.333em;line-height:1.571428572em}h4{font-size:1.666em;line-height:1.375em}.title-input input[type=text],h1,h2,h3,h4,h5,h6{font-weight:400;position:relative;display:block;color:#555}.title-input input[type=text] .subheader,h1 .subheader,h2 .subheader,h3 .subheader,h4 .subheader,h5 .subheader,h6 .subheader{font-size:.5em;line-height:1em;color:#969696}h5{font-size:1.4em}h5,h6{font-weight:500;line-height:1.2em;margin-bottom:.66em}.link,.text-button,a{color:#0288D1;cursor:pointer;text-decoration:none;-webkit-transition:color ease-in-out 80ms;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:-webkit-linear-gradient(left,#FFF,#e3e0e0 20%,#e3e0e0 80%,#FFF);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}.text-small .text-small,.text-small p.small,.text-small small,.text-small span.small,p.small .text-small,p.small p.small,p.small small,p.small span.small,small .text-small,small p.small,small small,small span.small,span.small .text-small,span.small p.small,span.small small,span.small span.small{font-size:1em}.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}body.flexbox,ol,ul{overflow:hidden}blockquote{position:relative;border-left:4px solid #0288D1;background-color:#F8F8F8;padding:12px 16px 12px 32px}blockquote:before{content:"\201C";font-size:2em;font-weight:700;position:absolute;top:12px;left:12px;color:#777}.code-base,code,span.code{background-color:#F8F8F8;font-family:monospace;font-size:.8em;border:1px solid #DDD;border-radius:3px}code{display:inline;padding:1px 3px;white-space:pre;line-height:1.2em;margin-bottom:1.2em}.list>*,pre code{display:block}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:#969696}.text-primary,.text-primary:hover,p .primary,p .primary:hover,p.primary,p.primary:hover,span.primary,span.primary:hover{color:#0288D1}.text-secondary,.text-secondary:hover,p .secondary,p .secondary:hover,p.secondary,p.secondary:hover,span.secondary,span.secondary:hover{color:#e27b41}.text-book,.text-book:hover{color:#009688}.text-page,.text-page:hover{color:#0288D1}.text-page.draft,.text-page.draft:hover{color:#9A60DA}.text-chapter,.text-chapter:hover{color:#ef7c3c}.faded .text-book:hover{color:#009688!important}.faded .text-chapter:hover{color:#ef7c3c!important}.faded .text-page:hover{color:#0288D1!important}span.highlight{font-weight:700;padding:2px 4px}ul{padding-left:20.8px;list-style:disc}ol{list-style:decimal;padding-left:32px}.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}.action-header .title-input input[type=text],.action-header h1,.title-input .action-header input[type=text]{margin-top:16px}i{padding-right:6px}body.flexbox{display:-webkit-box;display:flex;flex-direction:column;-webkit-box-align:stretch;align-items:stretch;height:100%;min-height:100%;max-height:100%}body.flexbox #content{-webkit-box-flex:1;flex:1;display:-webkit-box;display:flex;min-height:0}.flex-fill{display:-webkit-box;display:flex;-webkit-box-align:stretch;align-items:stretch;min-height:0}.flex-fill .flex,.flex-fill.flex{min-height:0;-webkit-box-flex:1;flex:1}.flex-child>div{-webkit-box-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.medium{max-width:992px}.container.small{max-width:840px}.center-box{margin:32px auto 0;padding:16px 48px 64px;max-width:346px;display:inline-block;text-align:left;vertical-align:top}.center-box.login{background-color:#EEE;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border:1px solid #DDD}.row{margin-left:-16px;margin-right:-16px}.float{float:left}.float.right{float:right}.block{display:block;position:relative}.inline{display:inline}.block.inline{display:inline-block}.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{position:relative;min-height:1px;padding-left:16px;padding-right:16px}.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.row:after,.row:before{content:" ";display:table}.clearfix:after,.container-fluid:after,.container:after,.row:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.shaded{background-color:#f1f1f1}.shaded.pos{background-color:#d6ead7}.shaded.neg{background-color:#f4a9a9}.shaded.primary{background-color:#a1ddfe}.shaded.secondary{background-color:#f6d7c6}.bordered{border:1px solid #BBB}.bordered.pos{border-color:#52A256}.bordered.neg{border-color:#E84F4F}.bordered.primary{border-color:#0288D1}.bordered.secondary{border-color:#e27b41}.bordered.thick{border-width:2px}.rounded{border-radius:3px}.nopadding{padding:0}.padded{padding:24px}.padded.large{padding:32px}.padded>h1:first-child,.padded>h2:first-child,.padded>h3:first-child,.padded>h4:first-child,.title-input .padded>input[type=text]:first-child{margin-top:.1em}.padded-top,.padded-vertical{padding-top:16px}.padded-top.large,.padded-vertical.large{padding-top:32px}.padded-bottom,.padded-vertical{padding-bottom:16px}.padded-bottom.large,.padded-vertical.large{padding-bottom:32px}.padded-horizontal,.padded-left{padding-left:16px}.padded-horizontal.large,.padded-left.large{padding-left:32px}.padded-horizontal,.padded-right{padding-right:16px}.padded-horizontal.large,.padded-right.large{padding-right:32px}.margins{margin:24px}.margins.large{margin:32px}.margin-top,.margins-vertical{margin-top:16px}.margin-top.large,.margins-vertical.large{margin-top:32px}.margin-bottom,.margins-vertical{margin-bottom:16px}.margin-bottom.large,.margins-vertical.large{margin-bottom:32px}.margin-left,.margins-horizontal{margin-left:16px}.margin-left.large,.margins-horizontal.large{margin-left:32px}.margin-right,.margins-horizontal{margin-right:16px}.margin-right.large,.margins-horizontal.large,header .links{margin-right:32px}.callout{border-left:3px solid #BBB;background-color:#EEE;padding:12px;display:block}.callout:before{font-family:Material-Design-Iconic-Font;padding-right:12px;display:inline-block}.callout.success{border-left-color:#52A256;background-color:#e7f3e7;color:#376c39}.callout.success:before{content:'\f269'}.callout.danger{border-left-color:#E84F4F;background-color:#fce8e8;color:#b91818}.callout.danger:before{content:'\f1f2'}.callout.info{border-left-color:#0288D1;background-color:#d3efff;color:#015380}.callout.info:before{content:'\f1f8'}.callout.warning{border-left-color:#e27b41;background-color:#faeae0;color:#b6531c}.callout.warning:before{content:'\f1f1'}.button-group:after,.dz-preview .dz-error-message:after,.editor-toolbar:after,.pointer:before,.toggle-switch:after{content:''}.button,.button-base,input[type=button],input[type=submit]{text-decoration:none;font-size:15px;line-height:1.4em;padding:6px 16px;margin:6px 6px 6px 0;display:inline-block;border:none;font-weight:500;font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif;outline:0;border-radius:2px;cursor:pointer;-webkit-transition:all ease-in-out 120ms;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}.button[disabled],.button[disabled]:hover{background-color:#BBB;cursor:default}.text-button:active,.text-button:focus{outline:0}.text-button:hover{text-decoration:none}.text-button.neg{color:#E84F4F}.button-group:after{display:block;font-size:0;clear:both;position:relative}.button-group .button,.button-group button[type=button]{margin:6px 0;float:left;border-radius:0}.button-group .button:first-child,.button-group button[type=button]:first-child{border-radius:2px 0 0 2px}.button-group .button:last-child,.button-group button[type=button]:last-child{border-radius:0 2px 2px 0}.button.block{width:100%;text-align:center;display:block}.button.icon i{padding-right:0}.button[disabled]:hover{box-shadow:none}.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{font-family:'Roboto Mono',monospace}.input-base.invalid,.input-base.neg,input.invalid[type=text],input.invalid[type=number],input.invalid[type=email],input.invalid[type=search],input.invalid[type=url],input.invalid[type=password],input.neg[type=text],input.neg[type=number],input.neg[type=email],input.neg[type=search],input.neg[type=url],input.neg[type=password],select.invalid,select.neg,textarea.invalid,textarea.neg{border:1px solid #E84F4F}.input-base.pos,.input-base.valid,input.pos[type=text],input.pos[type=number],input.pos[type=email],input.pos[type=search],input.pos[type=url],input.pos[type=password],input.valid[type=text],input.valid[type=number],input.valid[type=email],input.valid[type=search],input.valid[type=url],input.valid[type=password],select.pos,select.valid,textarea.pos,textarea.valid{border:1px solid #52A256}.input-base.disabled,.input-base[disabled],input.disabled[type=text],input.disabled[type=number],input.disabled[type=email],input.disabled[type=search],input.disabled[type=url],input.disabled[type=password],input[disabled][type=text],input[disabled][type=number],input[disabled][type=email],input[disabled][type=search],input[disabled][type=url],input[disabled][type=password],select.disabled,select[disabled],textarea.disabled,textarea[disabled]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAMUlEQVQIW2NkwAGuXbv2nxGbHEhCS0uLEUMSJgHShCKJLIEiiS4Bl8QmAZbEJQGSBAC62BuJ+tt7zgAAAABJRU5ErkJggg==)}.input-base:focus,input[type=text]:focus,input[type=number]:focus,input[type=email]:focus,input[type=search]:focus,input[type=url]:focus,input[type=password]:focus,select:focus,textarea:focus{outline:0}#html-editor{display:none}#markdown-editor{position:relative;z-index:5}#markdown-editor textarea{font-style:normal;font-weight:400;padding:6px 16px;color:#444;border-radius:0;max-height:100%;-webkit-box-flex:1;flex:1;border:0;width:100%}#markdown-editor textarea:focus{outline:0}#markdown-editor .markdown-display,#markdown-editor .markdown-editor-wrap{-webkit-box-flex:1;flex:1;position:relative}#markdown-editor .markdown-editor-wrap{display:-webkit-box;display:flex;flex-direction:column;border:1px solid #DDD;width:50%}#markdown-editor .markdown-display{padding:0 16px;margin-left:-1px;overflow-y:scroll}#markdown-editor .markdown-display .page-content{margin:0 auto}.editor-toolbar{width:100%;padding:6px 16px;font-size:11px;line-height:1.6;border-bottom:1px solid #DDD;background-color:#EEE;-webkit-box-flex:0;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}.logo-text,.page-list h5,label.checkbox,label.radio{font-weight:400}label.checkbox input[type=radio],label.checkbox input[type=checkbox],label.radio input[type=radio],label.radio input[type=checkbox]{margin-right:6px}label+p.small{margin-bottom:.8em}.toggle-switch{background-color:#BBB;width:36px;height:14px;border-radius:7px;position:relative;-webkit-transition:all ease-in-out 120ms;transition:all ease-in-out 120ms;cursor:pointer;-ms-user-select:none;user-select:none}.toggle-switch:after{display:block;position:relative;left:0;margin-top:-3px;width:20px;height:20px;border-radius:50%;background-color:#fafafa;border:1px solid #CCC;box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);-webkit-transition:all ease-in-out 120ms;transition:all ease-in-out 120ms}.toggle-switch.active{background-color:rgba(82,162,86,.4)}.toggle-switch.active:after{left:16px;background-color:#52A256;border:#305e32}.toggle-switch-checkbox{display:none}input:checked+.toggle-switch{background-color:rgba(82,162,86,.4)}input:checked+.toggle-switch:after{left:16px;background-color:#52A256;border:#305e32}.form-group{margin-bottom:12px}.form-group textarea{display:block;width:100%;min-height:64px}.form-group .text-neg,.form-group .text-pos{padding:6px 0}.description-input textarea,.inline-input-style,.title-input input[type=text]{border:2px dotted #BBB;display:block;width:100%;padding:6px 12px}.title-input .input{width:100%}.description-input label,.title-input label{margin-top:16px;color:#666}.title-input input[type=text]{margin-top:0;padding-right:0;width:100%;color:#444}.title-input.page-title{font-size:.8em}.title-input.page-title .input{border:0;margin-bottom:-1px}.title-input.page-title input[type=text]{max-width:840px;margin:0 auto;border:none}.search-box,.search-box input,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}input.outline{border:0;border-bottom:2px solid #DDD;border-radius:0}input.outline:active,input.outline:focus{border:0;border-bottom:2px solid #AAA;outline:0}#login-form label[for=remember]{margin:0}#login-form label.toggle-switch{margin-left:32px}.image-picker img{background-color:#BBB}table{border-collapse:collapse;border-spacing:0;min-width:100px}table thead{background-color:#F8F8F8;font-weight:500}table td,table th{min-width:10px;padding:6px 8px;border:1px solid #DDD;overflow:auto;line-height:1.2}table td p,table th p{margin:0}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;margin:0}table.table th{font-weight:700}table.table tr:hover{background-color:#EEE}table.table .text-right{text-align:right}.dz-message,.dz-preview .dz-details,.dz-preview .dz-remove,.image-manager-content .full-tab,.mce-container-body.mce-flow-layout,table.table .text-center{text-align:center}table.file-table td,table.no-style td{border:0;padding:0}table.list-table{margin:-6px}table.list-table td{border:0;vertical-align:middle;padding:6px}.dropdown-container,.dz-preview,.logo-image,.logo-text,form.search-box button,header .links,header .user-name,header .user-name>*{vertical-align:top}table.file-table td{padding:6px}table.file-table .ui-sortable-helper{display:table}.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)}.anim.pointer,.loading-container>div{-webkit-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;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>div>.mce-tinymce.mce-container.mce-panel{-webkit-box-flex:1;flex:1 1 auto;display:-webkit-box!important;display:flex!important;flex-direction:column;-webkit-box-align:stretch;align-items:stretch;margin:0 -1px}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body{-webkit-box-flex:1;flex:1 1 auto;display:-webkit-box!important;display:flex!important;flex-direction:column;-webkit-box-align:stretch;align-items:stretch}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-toolbar-grp{-webkit-box-flex:0;flex:0 1 auto}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-edit-area{-webkit-box-flex:1;flex:1 1 auto;display:-webkit-box!important;display:flex!important;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-align:stretch;align-items:stretch}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-edit-area iframe{-webkit-box-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,.333);position:fixed;z-index:95536;width:100%;height:100%;min-width:100%;min-height:100%;top:0;left:0;right:0;bottom:0;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;display:none}.popup-body-wrap{display:-webkit-box;display:flex}.popup-body{background-color:#FFF;max-height:90%;width:1200px;height:auto;margin:2% 5%;border-radius:4px;box-shadow:0 0 15px 0 rgba(0,0,0,.3);overflow:hidden;z-index:999;display:-webkit-box;display:flex;flex-direction:column}.popup-body.small{margin:2% auto;width:800px;max-width:90%}.popup-body:before{display:-webkit-box;display:flex;align-self:flex-start}.corner-button{position:absolute;top:0;right:0;margin:0;height:40px;border-radius:0;box-shadow:none}.popup-footer,.popup-header{display:block!important;position:relative;height:40px;-webkit-box-flex:0!important;flex:none!important}.popup-footer .popup-title,.popup-header .popup-title{color:#FFF;padding:8px 16px}body.flexbox-support #entity-selector-wrap .popup-body .form-group{height:444px;min-height:444px}#entity-selector-wrap .popup-body .form-group{margin:0}.image-manager-body{min-height:70vh}.dropzone-container{position:relative;border:3px dashed #DDD}.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;-webkit-transition:all cubic-bezier(.4,0,1,1) 160ms;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;margin-left:1px;padding:16px 24px;overflow-y:auto;border-left:1px solid #DDD}.image-manager-sidebar .dropzone-container{margin-top:16px}.image-manager-list{overflow-y:scroll;-webkit-box-flex:1;flex:1}.image-manager-content,.page-editor{flex-direction:column;-webkit-box-orient:vertical;-webkit-box-direction:normal}.image-manager-content{display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1}.image-manager-content .container{width:100%}.dz-message{font-size:1.2em;line-height:1.1;font-style:italic;color:#aaa;cursor:pointer;padding:24px 16px;-webkit-transition:all ease-in-out 120ms;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:-webkit-linear-gradient(top,#eee,#ddd);background:linear-gradient(to bottom,#eee,#ddd)}.dz-preview.dz-image-preview{background:#fff}.dz-preview.dz-image-preview .dz-details{-webkit-transition:opacity .2s linear;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,.page-content del,.page-content ins{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;-webkit-transition:all .2s linear;transition:all .2s linear}.dz-preview.dz-complete .dz-progress{opacity:0;-webkit-transition:opacity .4s ease-in;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:-webkit-linear-gradient(top,#666,#444);background:linear-gradient(to bottom,#666,#444);position:absolute;top:0;left:0;bottom:0;width:0;-webkit-transition:width .3s ease-in-out;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;-webkit-transition:opacity .3s ease;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}[tab-container] .nav-tabs{text-align:left;border-bottom:1px solid #DDD;margin-bottom:16px}[tab-container] .nav-tabs .tab-item{padding:12px;color:#666}[tab-container] .nav-tabs .tab-item.selected{border-bottom-width:3px}.image-picker .none{display:none}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;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;-webkit-transition:all ease-in-out 120ms;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)}.book-tree,.book-tree.fixed{background-color:#FFF;top:0}.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 h4{margin:24px 0 6px;font-size:1.666em}.page-list a.chapter{color:#ef7c3c}.page-list .inset-list{display:none;overflow:hidden;margin-bottom:24px}.page-list h5{display:block;margin:12px 0 0;border-left:5px solid #0288D1;padding:6px 0 6px 16px;font-size:1.1em}.page-list h5.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{cursor:pointer;margin:0 0 24px;-webkit-transition:all ease-in-out 180ms;transition:all ease-in-out 180ms;-ms-user-select:none;user-select:none}.chapter-toggle i.zmdi-caret-right{-webkit-transition:all ease-in-out 180ms;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)}.sidebar-page-nav{list-style:none;margin:12px 0 16px 2px;border-left:2px dotted #BBB}.sidebar-page-nav li{padding-left:12px;margin-bottom:4px;font-size:.95em}.sidebar-page-nav .h1,.sidebar-page-nav .h2{margin-left:-2px}.sidebar-page-nav .h3{margin-left:12px}.sidebar-page-nav .h4{margin-left:24px}.sidebar-page-nav .h5{margin-left:36px}.sidebar-page-nav .h6{margin-left:48px}.book-tree{padding:6px 0 0;position:relative;right:0;-webkit-transition:ease-in-out 240ms;transition:ease-in-out 240ms;-webkit-transition-property:right,border;transition-property:right,border;border-left:0 solid #FFF}.book-tree.fixed{z-index:5;position:fixed;padding-left:24px;padding-right:39px;width:30%;right:-15px;height:100%;overflow-y:scroll;-ms-overflow-style:none;border-left:1px solid #DDD}.book-tree.fixed::-webkit-scrollbar{width:0!important}.book-tree h4{padding:16px 12px 0}.book-tree h4 i{padding-right:12px}.book-tree .sidebar-page-list{list-style:none;margin:6px 0 0;padding-left:0;border-left:5px solid #009688}.book-tree .sidebar-page-list li a{display:block;border-bottom:none;padding:6px 0 6px 12px}.book-tree .sidebar-page-list li a i{padding-right:8px}.book-tree .sidebar-page-list a,.book-tree .sidebar-page-list li{display:block}.book-tree .sidebar-page-list a.bold{color:#EEE!important}.book-tree .sidebar-page-list ul{list-style:none;margin:0}.book-tree .sidebar-page-list .book{color:#009688!important}.book-tree .sidebar-page-list .book.selected{background-color:rgba(0,150,136,.29)}.book-tree .sidebar-page-list .chapter{color:#ef7c3c!important}.book-tree .sidebar-page-list .chapter.selected{background-color:rgba(239,124,60,.12)}.book-tree .sidebar-page-list .chapter-toggle{padding-left:12px}.book-tree .sidebar-page-list .list-item-chapter{border-left:5px solid #ef7c3c;margin:10px;display:block}.book-tree .sidebar-page-list .list-item-page{border-bottom:none;border-left:5px solid #0288D1;margin:10px}.book-tree .sidebar-page-list .page{color:#0288D1!important;border-bottom:none}.book-tree .sidebar-page-list .page.selected{background-color:rgba(2,136,209,.1)}.book-tree .sidebar-page-list .list-item-page.draft{border-left:5px solid #9A60DA}.book-tree .sidebar-page-list .list-item-page.draft a.page,.book-tree .sidebar-page-list .page.draft .page{color:#9A60DA!important}.book-tree .sidebar-page-list .sub-menu{display:none;padding-left:0}.book-tree .sidebar-page-list .sub-menu.open{display:block}.sortable-page-list,.sortable-page-list ul{list-style:none;background-color:#FFF}.sort-box{margin-bottom:16px;padding:0 24px;border-left:4px solid #009688}.sortable-page-list,.sortable-page-list>ul{margin-left:0}.sortable-page-list ul{margin-bottom:0;margin-top:0;box-shadow:0 0 1px 0 rgba(0,0,0,.1)}.sortable-page-list li{border:1px solid #DDD;padding:6px 12px;margin-top:-1px;min-height:38px}.sortable-page-list li.text-chapter{border-left:2px solid #ef7c3c}.sortable-page-list li.text-page{border-left:2px solid #0288D1}.sortable-page-list li:first-child{margin-top:6px}.sortable-page-list li.placeholder{position:relative}.sortable-page-list li.placeholder:before{position:absolute}.activity-list-item{padding:12px 0;color:#888;border-bottom:1px solid #EEE;font-size:.9em}.activity-list-item .left+.right{margin-left:42px}ul.pagination{display:inline-block;list-style:none;margin:16px 0;padding-left:1px}ul.pagination li:first-child a,ul.pagination li:first-child span{border-radius:3px 0 0 3px}ul.pagination li:last-child a,ul.pagination li:last-child span{border-radius:0 3px 3px 0}ul.pagination a,ul.pagination span{display:block;padding:3px 12px;border:1px solid #CCC;margin-left:-1px;color:#888;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.compact ul.pagination,.entity-list h4{margin:0}.floating-toolbox .handle,.pointer span.icon{-webkit-user-select:none;-ms-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 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 .text-muted p.text-muted{margin-top:0}.entity-list .page.draft .text-page{color:#9A60DA}.entity-list.compact{font-size:.6em}.entity-list.compact a,.entity-list.compact h4{line-height:1.2}.entity-list.compact p{display:none;font-size:12px;padding-top:6px;margin:0}.entity-list.compact>p.empty-text{display:block;font-size:15px}.entity-list.compact hr{margin:0}.dropdown-container{display:inline-block;position:relative}.dropdown-container ul{display:none;position:absolute;z-index:999;top:0;list-style:none;right:0;margin:16px 0;background-color:#FFF;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border-radius:1px;border:1px solid #EEE;min-width:180px;padding:6px 0;color:#555;text-align:left!important}.dropdown-container ul.wide{min-width:220px}.dropdown-container ul .text-muted{color:#999}.dropdown-container ul li.padded{padding:6px 16px}.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:12px;padding-right:0;display:inline-block;width:16px}.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-box;display:flex;-webkit-box-align:stretch;align-items:stretch}.page-editor .faded-small{height:auto}.page-editor .edit-area{-webkit-box-flex:1;flex:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}.draft-notification{pointer-events:none;-webkit-transform:scale(0);transform:scale(0);-webkit-transition:-webkit-transform ease-in-out 120ms;transition:-webkit-transform ease-in-out 120ms;transition:transform ease-in-out 120ms;transition:transform ease-in-out 120ms,-webkit-transform ease-in-out 120ms;-webkit-transform-origin:50% 50%;transform-origin:50% 50%}.draft-notification.visible{-webkit-transform:scale(1);transform:scale(1)}.page-style.editor{padding:0!important}.page-content{max-width:840px;overflow-wrap:break-word}.page-content .align-left{text-align:left}.page-content img.align-left,.page-content table.align-left{float:left!important;margin:6px 12px 6px 0}.page-content .align-right{float:right!important}.page-content img.align-right,.page-content table.align-right{text-align:right;margin:6px 0 6px 12px}.page-content .align-center{text-align:center}.page-content img{max-width:100%;height:auto}.page-content .title-input input[type=text],.page-content h1,.page-content h2,.page-content h3,.page-content h4,.page-content h5,.page-content h6,.page-content pre,.title-input .page-content input[type=text]{clear:left}.page-content hr{clear:both;margin:16px 0}.page-content table{-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;table-layout:fixed;max-width:100%;height:auto!important}.page-content ins{background:#dbffdb}.page-content del{background:#FFECEC}.pointer-container{position:relative;display:none;left:0;z-index:10}.pointer,.pointer:before{position:absolute;background-color:#FFF}.pointer{border:1px solid #CCC;display:inline-block;padding:12px;border-radius:4px;box-shadow:0 0 8px 1px rgba(212,209,209,.35);top:-60px;width:272px;z-index:55}.pointer:before{left:50%;bottom:-9px;width:16px;height:16px;margin-left:-8px;display:block;-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 span.icon{cursor:pointer;-moz-user-select:none;user-select:none}.pointer .button{line-height:1;margin:0 0 0 -4px;box-shadow:none}.floating-toolbox{background-color:#FFF;border:1px solid #DDD;right:64px;width:48px;overflow:hidden;-webkit-box-align:stretch;align-items:stretch;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;display:-webkit-box;display:flex;-webkit-transition:width ease-in-out 180ms;transition:width ease-in-out 180ms;margin-top:-1px;min-height:0}.floating-toolbox div[toolbox-tab-content],.floating-toolbox form{-webkit-box-orient:vertical;-webkit-box-direction:normal;overflow-y:scroll}.floating-toolbox.open{width:480px}.floating-toolbox [toolbox-toggle] i{-webkit-transition:-webkit-transform ease-in-out 180ms;transition:-webkit-transform ease-in-out 180ms;transition:transform ease-in-out 180ms;transition:transform ease-in-out 180ms,-webkit-transform ease-in-out 180ms}.floating-toolbox [toolbox-toggle]{-webkit-transition:background-color ease-in-out 180ms;transition:background-color ease-in-out 180ms}.floating-toolbox.open [toolbox-toggle]{background-color:rgba(255,0,0,.29)}.floating-toolbox.open [toolbox-toggle] i{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.floating-toolbox>div{-webkit-box-flex:1;flex:1;position:relative}.floating-toolbox .tabs{display:block;border-right:1px solid #DDD;width:48px;-webkit-box-flex:0;flex:0 1 auto}.floating-toolbox .tabs i{color:rgba(0,0,0,.5);padding:0;margin:0}.floating-toolbox .tabs>span{display:block;cursor:pointer;padding:12px 16px;font-size:13.5px;line-height:1.6;border-bottom:1px solid rgba(255,255,255,.3)}.floating-toolbox.open .tabs>span.active{color:#444;background-color:rgba(0,0,0,.1)}.floating-toolbox div[toolbox-tab-content]{padding-bottom:45px;display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1;flex-direction:column;min-height:0}.floating-toolbox div[toolbox-tab-content] .padded{-webkit-box-flex:1;flex:1;padding-top:0}.floating-toolbox h4{font-size:24px;margin:16px 0 0;padding:0 24px 12px}.floating-toolbox .tags input{max-width:100%;width:100%;min-width:50px}.floating-toolbox .tags td{padding-right:12px;padding-top:12px;position:relative}.floating-toolbox .handle{-moz-user-select:none;user-select:none;cursor:move;color:#999}.floating-toolbox form{display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1;flex-direction:column}.floating-toolbox table td,.floating-toolbox table th{overflow:visible}[toolbox-tab-content]{display:none}.tag-display{width:100%;position:relative}.tag-display table{width:100%;margin:0;padding:0}.tag-display tr:first-child td{padding-top:0}.tag-display .heading th{padding:6px 12px;color:rgba(100,100,100,.7);border:0;font-weight:400}.tag-display td{border:0;border-bottom:1px solid #EEE;padding:6px 12px;color:#444}.tag-display tr td:first-child{padding-left:0}.tag-display .tag-value{color:#888}.tag-display tr:last-child td{border-bottom:none}.tag-display .tag{padding:12px}.suggestion-box{position:absolute;background-color:#FFF;border:1px solid #BBB;box-shadow:0 0 4px 1px #CCC;list-style:none;z-index:100;padding:0;margin:0;border-radius:3px}.avatar,.notification,.suggestion-box li.active{background-color:#EEE}.suggestion-box li{display:block;padding:6px 12px;border-bottom:1px solid #DDD}.suggestion-box li:last-child{border-bottom:0}[v-cloak],[v-show]{display:none}.ng-cloak,[ng-cloak],[ng\:cloak]{display:none!important;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}[ng-click]{cursor:pointer}.dragged{position:absolute;opacity:.5;z-index:2000}body.dragging,body.dragging *{cursor:move!important}.avatar{border-radius:100%;width:30px;height:30px}.avatar.square,.notification{border-radius:3px}.avatar.med{width:40px;height:40px}.avatar.large{width:80px;height:80px}.avatar.huge{width:120px;height:120px}.notification{position:fixed;top:0;right:0;margin:64px 32px;padding:24px 32px;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);z-index:999999;display:block;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;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;-webkit-transition:all ease-in-out 180ms;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-box;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-box-flex:5;flex:5}.contained-search-box input:active,.contained-search-box input:focus{outline:0}.contained-search-box button{width:60px}.contained-search-box button i{padding:0}.contained-search-box button.cancel.active{background-color:#E84F4F;color:#EEE}.entity-selector{border:1px solid #DDD;border-radius:3px;overflow:hidden;font-size:.8em}.entity-selector input[type=text]{width:100%;display:block;border-radius:0;border:0;border-bottom:1px solid #DDD;font-size:16px;padding:12px 16px}.entity-selector .entity-list{overflow-y:scroll;height:400px;background-color:#EEE}.entity-selector .loading{height:400px;padding-top:24px}.entity-selector .entity-list>p{text-align:center;padding-top:24px;font-size:1.333em}.entity-selector .entity-list>div{padding-left:16px;padding-right:16px;background-color:#FFF;-webkit-transition:all ease-in-out 120ms;transition:all ease-in-out 120ms;cursor:pointer}.entity-list-item.selected a,.entity-list-item.selected h3,.entity-list-item.selected i,.entity-list-item.selected p,.entity-list-item.selected span{color:#EEE} \ No newline at end of file +article,aside,blockquote,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}.chapter-toggle,.toggle-switch{-moz-user-select:none;-webkit-user-select:none}.anim.fadeIn,.anim.searchResult{-webkit-animation-fill-mode:forwards}#markdown-editor .markdown-editor-wrap,.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel,.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body,.popup-body,body.flexbox{-webkit-box-orient:vertical;-webkit-box-direction:normal}*,.dropzone,.dropzone *{box-sizing:border-box}.title-input input[type=text],a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{margin:0;padding:0;border:0;font:inherit;vertical-align:baseline}.link,.text-button,a,body{font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:'';content:none}@font-face{font-family:Roboto;font-style:normal;font-weight:100;src:local("Roboto Thin"),local("Roboto-Thin"),url(../fonts/roboto-v15-cyrillic_latin-100.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-100.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:100;src:local("Roboto Thin Italic"),local("Roboto-ThinItalic"),url(../fonts/roboto-v15-cyrillic_latin-100italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-100italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:300;src:local("Roboto Light"),local("Roboto-Light"),url(../fonts/roboto-v15-cyrillic_latin-300.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-300.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:300;src:local("Roboto Light Italic"),local("Roboto-LightItalic"),url(../fonts/roboto-v15-cyrillic_latin-300italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-300italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:local("Roboto"),local("Roboto-Regular"),url(../fonts/roboto-v15-cyrillic_latin-regular.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-regular.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:400;src:local("Roboto Italic"),local("Roboto-Italic"),url(../fonts/roboto-v15-cyrillic_latin-italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:500;src:local("Roboto Medium"),local("Roboto-Medium"),url(../fonts/roboto-v15-cyrillic_latin-500.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-500.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:500;src:local("Roboto Medium Italic"),local("Roboto-MediumItalic"),url(../fonts/roboto-v15-cyrillic_latin-500italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-500italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:700;src:local("Roboto Bold"),local("Roboto-Bold"),url(../fonts/roboto-v15-cyrillic_latin-700.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-700.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:700;src:local("Roboto Bold Italic"),local("Roboto-BoldItalic"),url(../fonts/roboto-v15-cyrillic_latin-700italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-700italic.woff) format("woff")}@font-face{font-family:'Roboto Mono';font-style:normal;font-weight:400;src:local("Roboto Mono"),local("RobotoMono-Regular"),url(../fonts/roboto-mono-v4-latin-regular.woff2) format("woff2"),url(../fonts/roboto-mono-v4-latin-regular.woff) format("woff")}html{background-color:#FFF;height:100%;overflow-y:scroll}html.flexbox{overflow-y:hidden}body{font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}button{font-size:100%}.title-input input[type=text],h1{font-size:3.425em;line-height:1.22222222em;margin-top:.48888889em;margin-bottom:.48888889em}h3,h4,h5,h6{margin-top:.78571429em}h2,h3,h4{margin-bottom:.43137255em}h2{font-size:2.8275em;line-height:1.294117647em;margin-top:.8627451em}h3{font-size:2.333em;line-height:1.571428572em}h4{font-size:1.666em;line-height:1.375em}.title-input input[type=text],h1,h2,h3,h4,h5,h6{font-weight:400;position:relative;display:block;color:#555}.title-input input[type=text] .subheader,h1 .subheader,h2 .subheader,h3 .subheader,h4 .subheader,h5 .subheader,h6 .subheader{font-size:.5em;line-height:1em;color:#969696}h5{font-size:1.4em}h5,h6{font-weight:500;line-height:1.2em;margin-bottom:.66em}.link,.text-button,a{color:#0288D1;cursor:pointer;text-decoration:none;-webkit-transition:color ease-in-out 80ms;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:-webkit-linear-gradient(left,#FFF,#e3e0e0 20%,#e3e0e0 80%,#FFF);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}.text-small .text-small,.text-small p.small,.text-small small,.text-small span.small,p.small .text-small,p.small p.small,p.small small,p.small span.small,small .text-small,small p.small,small small,small span.small,span.small .text-small,span.small p.small,span.small small,span.small span.small{font-size:1em}.superscript,sup{vertical-align:super;font-size:.8em}.subscript,sub{vertical-align:sub;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}body.flexbox,ol,ul{overflow:hidden}blockquote{position:relative;border-left:4px solid #0288D1;background-color:#F8F8F8;padding:12px 16px 12px 32px}blockquote:before{content:"\201C";font-size:2em;font-weight:700;position:absolute;top:12px;left:12px;color:#777}.code-base,code,span.code{background-color:#F8F8F8;font-family:monospace;font-size:.8em;border:1px solid #DDD;border-radius:3px}code{display:inline;padding:1px 3px;white-space:pre;line-height:1.2em;margin-bottom:1.2em}.list>*,pre code{display:block}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:#969696}.text-primary,.text-primary:hover,p .primary,p .primary:hover,p.primary,p.primary:hover,span.primary,span.primary:hover{color:#0288D1}.text-secondary,.text-secondary:hover,p .secondary,p .secondary:hover,p.secondary,p.secondary:hover,span.secondary,span.secondary:hover{color:#e27b41}.text-book,.text-book:hover{color:#009688}.text-page,.text-page:hover{color:#0288D1}.text-page.draft,.text-page.draft:hover{color:#9A60DA}.text-chapter,.text-chapter:hover{color:#ef7c3c}.faded .text-book:hover{color:#009688!important}.faded .text-chapter:hover{color:#ef7c3c!important}.faded .text-page:hover{color:#0288D1!important}span.highlight{font-weight:700;padding:2px 4px}ul{padding-left:20.8px;list-style:disc}ol{list-style:decimal;padding-left:32px}.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}.action-header .title-input input[type=text],.action-header h1,.title-input .action-header input[type=text]{margin-top:16px}i{padding-right:6px}body.flexbox{display:-webkit-box;display:flex;flex-direction:column;-webkit-box-align:stretch;align-items:stretch;height:100%;min-height:100%;max-height:100%}body.flexbox #content{-webkit-box-flex:1;flex:1;display:-webkit-box;display:flex;min-height:0}.flex-fill{display:-webkit-box;display:flex;-webkit-box-align:stretch;align-items:stretch;min-height:0}.flex-fill .flex,.flex-fill.flex{min-height:0;-webkit-box-flex:1;flex:1}.flex-child>div{-webkit-box-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.medium{max-width:992px}.container.small{max-width:840px}.center-box{margin:32px auto 0;padding:16px 48px 64px;max-width:346px;display:inline-block;text-align:left;vertical-align:top}.center-box.login{background-color:#EEE;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border:1px solid #DDD}.row{margin-left:-16px;margin-right:-16px}.float{float:left}.float.right{float:right}.block{display:block;position:relative}.inline{display:inline}.block.inline{display:inline-block}.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{position:relative;min-height:1px;padding-left:16px;padding-right:16px}.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.row:after,.row:before{content:" ";display:table}.clearfix:after,.container-fluid:after,.container:after,.row:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.shaded{background-color:#f1f1f1}.shaded.pos{background-color:#d6ead7}.shaded.neg{background-color:#f4a9a9}.shaded.primary{background-color:#a1ddfe}.shaded.secondary{background-color:#f6d7c6}.bordered{border:1px solid #BBB}.bordered.pos{border-color:#52A256}.bordered.neg{border-color:#E84F4F}.bordered.primary{border-color:#0288D1}.bordered.secondary{border-color:#e27b41}.bordered.thick{border-width:2px}.rounded{border-radius:3px}.nopadding{padding:0}.padded{padding:24px}.padded.large{padding:32px}.padded>h1:first-child,.padded>h2:first-child,.padded>h3:first-child,.padded>h4:first-child,.title-input .padded>input[type=text]:first-child{margin-top:.1em}.padded-top,.padded-vertical{padding-top:16px}.padded-top.large,.padded-vertical.large{padding-top:32px}.padded-bottom,.padded-vertical{padding-bottom:16px}.padded-bottom.large,.padded-vertical.large{padding-bottom:32px}.padded-horizontal,.padded-left{padding-left:16px}.padded-horizontal.large,.padded-left.large{padding-left:32px}.padded-horizontal,.padded-right{padding-right:16px}.padded-horizontal.large,.padded-right.large{padding-right:32px}.margins{margin:24px}.margins.large{margin:32px}.margin-top,.margins-vertical{margin-top:16px}.margin-top.large,.margins-vertical.large{margin-top:32px}.margin-bottom,.margins-vertical{margin-bottom:16px}.margin-bottom.large,.margins-vertical.large{margin-bottom:32px}.margin-left,.margins-horizontal{margin-left:16px}.margin-left.large,.margins-horizontal.large{margin-left:32px}.margin-right,.margins-horizontal{margin-right:16px}.margin-right.large,.margins-horizontal.large,header .links{margin-right:32px}.callout{border-left:3px solid #BBB;background-color:#EEE;padding:12px;display:block}.callout:before{font-family:Material-Design-Iconic-Font;padding-right:12px;display:inline-block}.callout.success{border-left-color:#52A256;background-color:#e7f3e7;color:#376c39}.callout.success:before{content:'\f269'}.callout.danger{border-left-color:#E84F4F;background-color:#fce8e8;color:#b91818}.callout.danger:before{content:'\f1f2'}.callout.info{border-left-color:#0288D1;background-color:#d3efff;color:#015380}.callout.info:before{content:'\f1f8'}.callout.warning{border-left-color:#e27b41;background-color:#faeae0;color:#b6531c}.callout.warning:before{content:'\f1f1'}.button-group:after,.dz-preview .dz-error-message:after,.editor-toolbar:after,.pointer:before,.toggle-switch:after{content:''}.button,.button-base,input[type=button],input[type=submit]{text-decoration:none;font-size:15px;line-height:1.4em;padding:6px 16px;margin:6px 6px 6px 0;display:inline-block;border:none;font-weight:500;font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif;outline:0;border-radius:2px;cursor:pointer;-webkit-transition:all ease-in-out 120ms;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}.button[disabled],.button[disabled]:hover{background-color:#BBB;cursor:default}.text-button:active,.text-button:focus{outline:0}.text-button:hover{text-decoration:none}.text-button.neg{color:#E84F4F}.button-group:after{display:block;font-size:0;clear:both;position:relative}.button-group .button,.button-group button[type=button]{margin:6px 0;float:left;border-radius:0}.button-group .button:first-child,.button-group button[type=button]:first-child{border-radius:2px 0 0 2px}.button-group .button:last-child,.button-group button[type=button]:last-child{border-radius:0 2px 2px 0}.button.block{width:100%;text-align:center;display:block}.button.icon i{padding-right:0}.button[disabled]:hover{box-shadow:none}.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{font-family:'Roboto Mono',monospace}.input-base.invalid,.input-base.neg,input.invalid[type=text],input.invalid[type=number],input.invalid[type=email],input.invalid[type=search],input.invalid[type=url],input.invalid[type=password],input.neg[type=text],input.neg[type=number],input.neg[type=email],input.neg[type=search],input.neg[type=url],input.neg[type=password],select.invalid,select.neg,textarea.invalid,textarea.neg{border:1px solid #E84F4F}.input-base.pos,.input-base.valid,input.pos[type=text],input.pos[type=number],input.pos[type=email],input.pos[type=search],input.pos[type=url],input.pos[type=password],input.valid[type=text],input.valid[type=number],input.valid[type=email],input.valid[type=search],input.valid[type=url],input.valid[type=password],select.pos,select.valid,textarea.pos,textarea.valid{border:1px solid #52A256}.input-base.disabled,.input-base[disabled],input.disabled[type=text],input.disabled[type=number],input.disabled[type=email],input.disabled[type=search],input.disabled[type=url],input.disabled[type=password],input[disabled][type=text],input[disabled][type=number],input[disabled][type=email],input[disabled][type=search],input[disabled][type=url],input[disabled][type=password],select.disabled,select[disabled],textarea.disabled,textarea[disabled]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAMUlEQVQIW2NkwAGuXbv2nxGbHEhCS0uLEUMSJgHShCKJLIEiiS4Bl8QmAZbEJQGSBAC62BuJ+tt7zgAAAABJRU5ErkJggg==)}.input-base:focus,input[type=text]:focus,input[type=number]:focus,input[type=email]:focus,input[type=search]:focus,input[type=url]:focus,input[type=password]:focus,select:focus,textarea:focus{outline:0}#html-editor{display:none}#markdown-editor{position:relative;z-index:5}#markdown-editor textarea{font-style:normal;font-weight:400;padding:6px 16px;color:#444;border-radius:0;max-height:100%;-webkit-box-flex:1;flex:1;border:0;width:100%}#markdown-editor textarea:focus{outline:0}#markdown-editor .markdown-display,#markdown-editor .markdown-editor-wrap{-webkit-box-flex:1;flex:1;position:relative}#markdown-editor .markdown-editor-wrap{display:-webkit-box;display:flex;flex-direction:column;border:1px solid #DDD;width:50%}#markdown-editor .markdown-display{padding:0 16px;margin-left:-1px;overflow-y:scroll}#markdown-editor .markdown-display .page-content{margin:0 auto}.editor-toolbar{width:100%;padding:6px 16px;font-size:11px;line-height:1.6;border-bottom:1px solid #DDD;background-color:#EEE;-webkit-box-flex:0;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}.logo-text,.page-list h5,label.checkbox,label.radio{font-weight:400}label.checkbox input[type=radio],label.checkbox input[type=checkbox],label.radio input[type=radio],label.radio input[type=checkbox]{margin-right:6px}label+p.small{margin-bottom:.8em}.toggle-switch{background-color:#BBB;width:36px;height:14px;border-radius:7px;position:relative;-webkit-transition:all ease-in-out 120ms;transition:all ease-in-out 120ms;cursor:pointer;-ms-user-select:none;user-select:none}.toggle-switch:after{display:block;position:relative;left:0;margin-top:-3px;width:20px;height:20px;border-radius:50%;background-color:#fafafa;border:1px solid #CCC;box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);-webkit-transition:all ease-in-out 120ms;transition:all ease-in-out 120ms}.toggle-switch.active{background-color:rgba(82,162,86,.4)}.toggle-switch.active:after{left:16px;background-color:#52A256;border:#305e32}.toggle-switch-checkbox{display:none}input:checked+.toggle-switch{background-color:rgba(82,162,86,.4)}input:checked+.toggle-switch:after{left:16px;background-color:#52A256;border:#305e32}.form-group{margin-bottom:12px}.form-group textarea{display:block;width:100%;min-height:64px}.form-group .text-neg,.form-group .text-pos{padding:6px 0}.description-input textarea,.inline-input-style,.title-input input[type=text]{border:2px dotted #BBB;display:block;width:100%;padding:6px 12px}.title-input .input{width:100%}.description-input label,.title-input label{margin-top:16px;color:#666}.title-input input[type=text]{margin-top:0;padding-right:0;width:100%;color:#444}.title-input.page-title{font-size:.8em}.title-input.page-title .input{border:0;margin-bottom:-1px}.title-input.page-title input[type=text]{max-width:840px;margin:0 auto;border:none}.search-box,.search-box input,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}input.outline{border:0;border-bottom:2px solid #DDD;border-radius:0}input.outline:active,input.outline:focus{border:0;border-bottom:2px solid #AAA;outline:0}#login-form label[for=remember]{margin:0}#login-form label.toggle-switch{margin-left:32px}.image-picker img{background-color:#BBB}table{border-collapse:collapse;border-spacing:0;min-width:100px}table thead{background-color:#F8F8F8;font-weight:500}table td,table th{min-width:10px;padding:6px 8px;border:1px solid #DDD;overflow:auto;line-height:1.2}table td p,table th p{margin:0}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;margin:0}table.table th{font-weight:700}table.table tr:hover{background-color:#EEE}table.table .text-right{text-align:right}.dz-message,.dz-preview .dz-details,.dz-preview .dz-remove,.image-manager-content .full-tab,.mce-container-body.mce-flow-layout,table.table .text-center{text-align:center}table.file-table td,table.no-style td{border:0;padding:0}table.list-table{margin:-6px}table.list-table td{border:0;vertical-align:middle;padding:6px}.dropdown-container,.dz-preview,.logo-image,.logo-text,form.search-box button,header .links,header .user-name,header .user-name>*{vertical-align:top}table.file-table td{padding:6px}table.file-table .ui-sortable-helper{display:table}.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)}.anim.pointer,.loading-container>div{-webkit-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;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>div>.mce-tinymce.mce-container.mce-panel{-webkit-box-flex:1;flex:1 1 auto;display:-webkit-box!important;display:flex!important;flex-direction:column;-webkit-box-align:stretch;align-items:stretch;margin:0 -1px}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body{-webkit-box-flex:1;flex:1 1 auto;display:-webkit-box!important;display:flex!important;flex-direction:column;-webkit-box-align:stretch;align-items:stretch}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-toolbar-grp{-webkit-box-flex:0;flex:0 1 auto}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-edit-area{-webkit-box-flex:1;flex:1 1 auto;display:-webkit-box!important;display:flex!important;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-align:stretch;align-items:stretch}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-edit-area iframe{-webkit-box-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,.333);position:fixed;z-index:95536;width:100%;height:100%;min-width:100%;min-height:100%;top:0;left:0;right:0;bottom:0;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;display:none}.popup-body-wrap{display:-webkit-box;display:flex}.popup-body{background-color:#FFF;max-height:90%;width:1200px;height:auto;margin:2% 5%;border-radius:4px;box-shadow:0 0 15px 0 rgba(0,0,0,.3);overflow:hidden;z-index:999;display:-webkit-box;display:flex;flex-direction:column}.popup-body.small{margin:2% auto;width:800px;max-width:90%}.popup-body:before{display:-webkit-box;display:flex;align-self:flex-start}.corner-button{position:absolute;top:0;right:0;margin:0;height:40px;border-radius:0;box-shadow:none}.popup-footer,.popup-header{display:block!important;position:relative;height:40px;-webkit-box-flex:0!important;flex:none!important}.popup-footer .popup-title,.popup-header .popup-title{color:#FFF;padding:8px 16px}body.flexbox-support #entity-selector-wrap .popup-body .form-group{height:444px;min-height:444px}#entity-selector-wrap .popup-body .form-group{margin:0}.image-manager-body{min-height:70vh}.dropzone-container{position:relative;border:3px dashed #DDD}.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;-webkit-transition:all cubic-bezier(.4,0,1,1) 160ms;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;margin-left:1px;padding:16px 24px;overflow-y:auto;border-left:1px solid #DDD}.image-manager-sidebar .dropzone-container{margin-top:16px}.image-manager-list{overflow-y:scroll;-webkit-box-flex:1;flex:1}.image-manager-content,.page-editor{flex-direction:column;-webkit-box-orient:vertical;-webkit-box-direction:normal}.image-manager-content{display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1}.image-manager-content .container{width:100%}.dz-message{font-size:1.2em;line-height:1.1;font-style:italic;color:#aaa;cursor:pointer;padding:24px 16px;-webkit-transition:all ease-in-out 120ms;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:-webkit-linear-gradient(top,#eee,#ddd);background:linear-gradient(to bottom,#eee,#ddd)}.dz-preview.dz-image-preview{background:#fff}.dz-preview.dz-image-preview .dz-details{-webkit-transition:opacity .2s linear;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,.page-content del,.page-content ins{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;-webkit-transition:all .2s linear;transition:all .2s linear}.dz-preview.dz-complete .dz-progress{opacity:0;-webkit-transition:opacity .4s ease-in;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:-webkit-linear-gradient(top,#666,#444);background:linear-gradient(to bottom,#666,#444);position:absolute;top:0;left:0;bottom:0;width:0;-webkit-transition:width .3s ease-in-out;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;-webkit-transition:opacity .3s ease;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}[tab-container] .nav-tabs{text-align:left;border-bottom:1px solid #DDD;margin-bottom:16px}[tab-container] .nav-tabs .tab-item{padding:12px;color:#666}[tab-container] .nav-tabs .tab-item.selected{border-bottom-width:3px}.image-picker .none{display:none}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;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;-webkit-transition:all ease-in-out 120ms;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)}.book-tree,.book-tree.fixed{background-color:#FFF;top:0}.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 h4{margin:24px 0 6px;font-size:1.666em}.page-list a.chapter{color:#ef7c3c}.page-list .inset-list{display:none;overflow:hidden;margin-bottom:24px}.page-list h5{display:block;margin:12px 0 0;border-left:5px solid #0288D1;padding:6px 0 6px 16px;font-size:1.1em}.page-list h5.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{cursor:pointer;margin:0 0 24px;-webkit-transition:all ease-in-out 180ms;transition:all ease-in-out 180ms;-ms-user-select:none;user-select:none}.chapter-toggle i.zmdi-caret-right{-webkit-transition:all ease-in-out 180ms;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)}.sidebar-page-nav{list-style:none;margin:12px 0 16px 2px;border-left:2px dotted #BBB}.sidebar-page-nav li{padding-left:12px;margin-bottom:4px;font-size:.95em}.sidebar-page-nav .h1,.sidebar-page-nav .h2{margin-left:-2px}.sidebar-page-nav .h3{margin-left:12px}.sidebar-page-nav .h4{margin-left:24px}.sidebar-page-nav .h5{margin-left:36px}.sidebar-page-nav .h6{margin-left:48px}.book-tree{padding:6px 0 0;position:relative;right:0;-webkit-transition:ease-in-out 240ms;transition:ease-in-out 240ms;-webkit-transition-property:right,border;transition-property:right,border;border-left:0 solid #FFF}.book-tree.fixed{z-index:5;position:fixed;padding-left:24px;padding-right:39px;width:30%;right:-15px;height:100%;overflow-y:scroll;-ms-overflow-style:none;border-left:1px solid #DDD}.book-tree.fixed::-webkit-scrollbar{width:0!important}.book-tree h4{padding:16px 12px 0}.book-tree h4 i{padding-right:12px}.book-tree .sidebar-page-list{list-style:none;margin:6px 0 0;padding-left:0;border-left:5px solid #009688}.book-tree .sidebar-page-list li a{display:block;border-bottom:none;padding:6px 0 6px 12px}.book-tree .sidebar-page-list li a i{padding-right:8px}.book-tree .sidebar-page-list a,.book-tree .sidebar-page-list li{display:block}.book-tree .sidebar-page-list a.bold{color:#EEE!important}.book-tree .sidebar-page-list ul{list-style:none;margin:0}.book-tree .sidebar-page-list .book{color:#009688!important}.book-tree .sidebar-page-list .book.selected{background-color:rgba(0,150,136,.29)}.book-tree .sidebar-page-list .chapter{color:#ef7c3c!important}.book-tree .sidebar-page-list .chapter.selected{background-color:rgba(239,124,60,.12)}.book-tree .sidebar-page-list .chapter-toggle{padding-left:12px}.book-tree .sidebar-page-list .list-item-chapter{border-left:5px solid #ef7c3c;margin:10px;display:block}.book-tree .sidebar-page-list .list-item-page{border-bottom:none;border-left:5px solid #0288D1;margin:10px}.book-tree .sidebar-page-list .page{color:#0288D1!important;border-bottom:none}.book-tree .sidebar-page-list .page.selected{background-color:rgba(2,136,209,.1)}.book-tree .sidebar-page-list .list-item-page.draft{border-left:5px solid #9A60DA}.book-tree .sidebar-page-list .list-item-page.draft a.page,.book-tree .sidebar-page-list .page.draft .page{color:#9A60DA!important}.book-tree .sidebar-page-list .sub-menu{display:none;padding-left:0}.book-tree .sidebar-page-list .sub-menu.open{display:block}.sortable-page-list,.sortable-page-list ul{list-style:none;background-color:#FFF}.sort-box{margin-bottom:16px;padding:0 24px;border-left:4px solid #009688}.sortable-page-list,.sortable-page-list>ul{margin-left:0}.sortable-page-list ul{margin-bottom:0;margin-top:0;box-shadow:0 0 1px 0 rgba(0,0,0,.1)}.sortable-page-list li{border:1px solid #DDD;padding:6px 12px;margin-top:-1px;min-height:38px}.sortable-page-list li.text-chapter{border-left:2px solid #ef7c3c}.sortable-page-list li.text-page{border-left:2px solid #0288D1}.sortable-page-list li:first-child{margin-top:6px}.sortable-page-list li.placeholder{position:relative}.sortable-page-list li.placeholder:before{position:absolute}.activity-list-item{padding:12px 0;color:#888;border-bottom:1px solid #EEE;font-size:.9em}.activity-list-item .left+.right{margin-left:42px}ul.pagination{display:inline-block;list-style:none;margin:16px 0;padding-left:1px}ul.pagination li:first-child a,ul.pagination li:first-child span{border-radius:3px 0 0 3px}ul.pagination li:last-child a,ul.pagination li:last-child span{border-radius:0 3px 3px 0}ul.pagination a,ul.pagination span{display:block;padding:3px 12px;border:1px solid #CCC;margin-left:-1px;color:#888;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.compact ul.pagination,.entity-list h4{margin:0}.floating-toolbox .handle,.pointer span.icon{-webkit-user-select:none;-ms-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 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 .text-muted p.text-muted{margin-top:0}.entity-list .page.draft .text-page{color:#9A60DA}.entity-list.compact{font-size:.6em}.entity-list.compact a,.entity-list.compact h4{line-height:1.2}.entity-list.compact p{display:none;font-size:12px;padding-top:6px;margin:0}.entity-list.compact>p.empty-text{display:block;font-size:15px}.entity-list.compact hr{margin:0}.dropdown-container{display:inline-block;position:relative}.dropdown-container ul{display:none;position:absolute;z-index:999;top:0;list-style:none;right:0;margin:16px 0;background-color:#FFF;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border-radius:1px;border:1px solid #EEE;min-width:180px;padding:6px 0;color:#555;text-align:left!important}.dropdown-container ul.wide{min-width:220px}.dropdown-container ul .text-muted{color:#999}.dropdown-container ul li.padded{padding:6px 16px}.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:12px;padding-right:0;display:inline-block;width:16px}.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-box;display:flex;-webkit-box-align:stretch;align-items:stretch}.page-editor .faded-small{height:auto}.page-editor .edit-area{-webkit-box-flex:1;flex:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}.draft-notification{pointer-events:none;-webkit-transform:scale(0);transform:scale(0);-webkit-transition:-webkit-transform ease-in-out 120ms;transition:-webkit-transform ease-in-out 120ms;transition:transform ease-in-out 120ms;transition:transform ease-in-out 120ms,-webkit-transform ease-in-out 120ms;-webkit-transform-origin:50% 50%;transform-origin:50% 50%}.draft-notification.visible{-webkit-transform:scale(1);transform:scale(1)}.page-style.editor{padding:0!important}.page-content{max-width:840px;overflow-wrap:break-word}.page-content .align-left{text-align:left}.page-content img.align-left,.page-content table.align-left{float:left!important;margin:6px 12px 6px 0}.page-content .align-right{float:right!important}.page-content img.align-right,.page-content table.align-right{text-align:right;margin:6px 0 6px 12px}.page-content .align-center{text-align:center}.page-content img{max-width:100%;height:auto}.page-content .title-input input[type=text],.page-content h1,.page-content h2,.page-content h3,.page-content h4,.page-content h5,.page-content h6,.page-content pre,.title-input .page-content input[type=text]{clear:left}.page-content hr{clear:both;margin:16px 0}.page-content table{-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;table-layout:fixed;max-width:100%;height:auto!important}.page-content ins{background:#dbffdb}.page-content del{background:#FFECEC}.pointer-container{position:relative;display:none;left:0;z-index:10}.pointer,.pointer:before{position:absolute;background-color:#FFF}.pointer{border:1px solid #CCC;display:inline-block;padding:12px;border-radius:4px;box-shadow:0 0 8px 1px rgba(212,209,209,.35);top:-60px;width:272px;z-index:55}.pointer:before{left:50%;bottom:-9px;width:16px;height:16px;margin-left:-8px;display:block;-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 span.icon{cursor:pointer;-moz-user-select:none;user-select:none}.pointer .button{line-height:1;margin:0 0 0 -4px;box-shadow:none}.floating-toolbox{background-color:#FFF;border:1px solid #DDD;right:64px;width:48px;overflow:hidden;-webkit-box-align:stretch;align-items:stretch;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;display:-webkit-box;display:flex;-webkit-transition:width ease-in-out 180ms;transition:width ease-in-out 180ms;margin-top:-1px;min-height:0}.floating-toolbox div[toolbox-tab-content],.floating-toolbox form{-webkit-box-orient:vertical;-webkit-box-direction:normal;overflow-y:scroll}.floating-toolbox.open{width:480px}.floating-toolbox [toolbox-toggle] i{-webkit-transition:-webkit-transform ease-in-out 180ms;transition:-webkit-transform ease-in-out 180ms;transition:transform ease-in-out 180ms;transition:transform ease-in-out 180ms,-webkit-transform ease-in-out 180ms}.floating-toolbox [toolbox-toggle]{-webkit-transition:background-color ease-in-out 180ms;transition:background-color ease-in-out 180ms}.floating-toolbox.open [toolbox-toggle]{background-color:rgba(255,0,0,.29)}.floating-toolbox.open [toolbox-toggle] i{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.floating-toolbox>div{-webkit-box-flex:1;flex:1;position:relative}.floating-toolbox .tabs{display:block;border-right:1px solid #DDD;width:48px;-webkit-box-flex:0;flex:0 1 auto}.floating-toolbox .tabs i{color:rgba(0,0,0,.5);padding:0;margin:0}.floating-toolbox .tabs>span{display:block;cursor:pointer;padding:12px 16px;font-size:13.5px;line-height:1.6;border-bottom:1px solid rgba(255,255,255,.3)}.floating-toolbox.open .tabs>span.active{color:#444;background-color:rgba(0,0,0,.1)}.floating-toolbox div[toolbox-tab-content]{padding-bottom:45px;display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1;flex-direction:column;min-height:0}.floating-toolbox div[toolbox-tab-content] .padded{-webkit-box-flex:1;flex:1;padding-top:0}.floating-toolbox h4{font-size:24px;margin:16px 0 0;padding:0 24px 12px}.floating-toolbox .tags input{max-width:100%;width:100%;min-width:50px}.floating-toolbox .tags td{padding-right:12px;padding-top:12px;position:relative}.floating-toolbox .handle{-moz-user-select:none;user-select:none;cursor:move;color:#999}.floating-toolbox form{display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1;flex-direction:column}.floating-toolbox table td,.floating-toolbox table th{overflow:visible}[toolbox-tab-content]{display:none}.tag-display{width:100%;position:relative}.tag-display table{width:100%;margin:0;padding:0}.tag-display tr:first-child td{padding-top:0}.tag-display .heading th{padding:6px 12px;color:rgba(100,100,100,.7);border:0;font-weight:400}.tag-display td{border:0;border-bottom:1px solid #EEE;padding:6px 12px;color:#444}.tag-display tr td:first-child{padding-left:0}.tag-display .tag-value{color:#888}.tag-display tr:last-child td{border-bottom:none}.tag-display .tag{padding:12px}.suggestion-box{position:absolute;background-color:#FFF;border:1px solid #BBB;box-shadow:0 0 4px 1px #CCC;list-style:none;z-index:100;padding:0;margin:0;border-radius:3px}.avatar,.notification,.suggestion-box li.active{background-color:#EEE}.suggestion-box li{display:block;padding:6px 12px;border-bottom:1px solid #DDD}.suggestion-box li:last-child{border-bottom:0}[v-cloak],[v-show]{display:none}.ng-cloak,[ng-cloak],[ng\:cloak]{display:none!important;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}[ng-click]{cursor:pointer}.dragged{position:absolute;opacity:.5;z-index:2000}body.dragging,body.dragging *{cursor:move!important}.avatar{border-radius:100%;width:30px;height:30px}.avatar.square,.notification{border-radius:3px}.avatar.med{width:40px;height:40px}.avatar.large{width:80px;height:80px}.avatar.huge{width:120px;height:120px}.notification{position:fixed;top:0;right:0;margin:64px 32px;padding:24px 32px;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);z-index:999999;display:block;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;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;-webkit-transition:all ease-in-out 180ms;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-box;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-box-flex:5;flex:5}.contained-search-box input:active,.contained-search-box input:focus{outline:0}.contained-search-box button{width:60px}.contained-search-box button i{padding:0}.contained-search-box button.cancel.active{background-color:#E84F4F;color:#EEE}.entity-selector{border:1px solid #DDD;border-radius:3px;overflow:hidden;font-size:.8em}.entity-selector input[type=text]{width:100%;display:block;border-radius:0;border:0;border-bottom:1px solid #DDD;font-size:16px;padding:12px 16px}.entity-selector .entity-list{overflow-y:scroll;height:400px;background-color:#EEE}.entity-selector .loading{height:400px;padding-top:24px}.entity-selector .entity-list>p{text-align:center;padding-top:24px;font-size:1.333em}.entity-selector .entity-list>div{padding-left:16px;padding-right:16px;background-color:#FFF;-webkit-transition:all ease-in-out 120ms;transition:all ease-in-out 120ms;cursor:pointer}.entity-list-item.selected a,.entity-list-item.selected h3,.entity-list-item.selected i,.entity-list-item.selected p,.entity-list-item.selected span{color:#EEE} \ No newline at end of file diff --git a/version b/version index 965905d4dc0..1434a505013 100644 --- a/version +++ b/version @@ -1 +1 @@ -v0.14.1 \ No newline at end of file +v0.14.2 \ No newline at end of file From 598758b991310a7775791d013f6b89fe829e8b35 Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Sun, 5 Feb 2017 21:23:27 +0000 Subject: [PATCH 29/54] Updated version for v0.14.3 --- version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version b/version index 1434a505013..31b7b319869 100644 --- a/version +++ b/version @@ -1 +1 @@ -v0.14.2 \ No newline at end of file +v0.14.3 \ No newline at end of file From 15c3e5c96eb0aed4a2fed3dea69199eb51a047da Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Mon, 27 Feb 2017 14:58:02 +0000 Subject: [PATCH 30/54] Updated assets for release v0.15 --- public/css/export-styles.css | 2 +- public/css/styles.css | 2 +- public/js/common.js | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/public/css/export-styles.css b/public/css/export-styles.css index 82cdacad91c..c7348c319f2 100644 --- a/public/css/export-styles.css +++ b/public/css/export-styles.css @@ -1 +1 @@ -article,aside,blockquote,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}.chapter-toggle,.toggle-switch{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.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,a,body{font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:'';content:none}*{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%}.title-input input[type=text],h1{font-size:3.425em;line-height:1.22222222em;margin-top:.48888889em;margin-bottom:.48888889em}h3,h4,h5,h6{margin-top:.78571429em}h2,h3,h4{margin-bottom:.43137255em}h2{font-size:2.8275em;line-height:1.294117647em;margin-top:.8627451em}h3{font-size:2.333em;line-height:1.571428572em}h4{font-size:1.666em;line-height:1.375em}.title-input input[type=text],h1,h2,h3,h4,h5,h6{font-weight:400;position:relative;display:block;color:#555}.title-input input[type=text] .subheader,h1 .subheader,h2 .subheader,h3 .subheader,h4 .subheader,h5 .subheader,h6 .subheader{font-size:.5em;line-height:1em;color:#969696}h5{font-size:1.4em}h5,h6{font-weight:500;line-height:1.2em;margin-bottom:.66em}.link,a{color:#0288D1;cursor:pointer;text-decoration:none;-webkit-transition:color ease-in-out 80ms;transition:color ease-in-out 80ms;line-height:1.6}.link:hover,.underlined,a:hover{text-decoration:underline}.toggle-switch,.toggle-switch:after{-webkit-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:-webkit-linear-gradient(left,#FFF,#e3e0e0 20%,#e3e0e0 80%,#FFF);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}.text-small .text-small,.text-small p.small,.text-small small,.text-small span.small,p.small .text-small,p.small p.small,p.small small,p.small span.small,small .text-small,small p.small,small small,small span.small,span.small .text-small,span.small p.small,span.small small,span.small span.small{font-size:1em}.superscript,sup{vertical-align:super;font-size:.8em}.subscript,sub{vertical-align:sub;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}body.flexbox,ol,ul{overflow:hidden}blockquote{position:relative;border-left:4px solid #0288D1;background-color:#F8F8F8;padding:12px 16px 12px 32px}blockquote:before{content:"\201C";font-size:2em;font-weight:700;position:absolute;top:12px;left:12px;color:#777}.code-base,code,span.code{background-color:#F8F8F8;font-family:monospace;font-size:.8em;border:1px solid #DDD;border-radius:3px}code{display:inline;padding:1px 3px;white-space:pre;line-height:1.2em;margin-bottom:1.2em}.list>*,pre code{display:block}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:#969696}.text-primary,.text-primary:hover,p .primary,p .primary:hover,p.primary,p.primary:hover,span.primary,span.primary:hover{color:#0288D1}.text-secondary,.text-secondary:hover,p .secondary,p .secondary:hover,p.secondary,p.secondary:hover,span.secondary,span.secondary:hover{color:#e27b41}.text-book,.text-book:hover{color:#009688}.text-page,.text-page:hover{color:#0288D1}.text-page.draft,.text-page.draft:hover{color:#9A60DA}.text-chapter,.text-chapter:hover{color:#ef7c3c}.faded .text-book:hover{color:#009688!important}.faded .text-chapter:hover{color:#ef7c3c!important}.faded .text-page:hover{color:#0288D1!important}span.highlight{font-weight:700;padding:2px 4px}ul{padding-left:20.8px;list-style:disc}ol{list-style:decimal;padding-left:32px}.book-tree .sidebar-page-list li a:hover,.faded .text-button:hover,.logo:hover,.page-content del,.page-content ins{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}.action-header .title-input input[type=text],.action-header h1,.title-input .action-header input[type=text]{margin-top:16px}i{padding-right:6px}body.flexbox{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-align:stretch;align-items:stretch;height:100%;min-height:100%;max-height:100%}body.flexbox #content{-webkit-box-flex:1;flex:1;display:-webkit-box;display:flex;min-height:0}.flex-fill{display:-webkit-box;display:flex;-webkit-box-align:stretch;align-items:stretch;min-height:0}.flex-fill .flex,.flex-fill.flex{min-height:0;-webkit-box-flex:1;flex:1}.flex-child>div{-webkit-box-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.medium{max-width:992px}.container.small{max-width:840px}.center-box{margin:32px auto 0;padding:16px 48px 64px;max-width:346px;display:inline-block;text-align:left;vertical-align:top}.center-box.login{background-color:#EEE;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border:1px solid #DDD}.row{margin-left:-16px;margin-right:-16px}.float{float:left}.float.right{float:right}.block{display:block;position:relative}.inline{display:inline}.block.inline{display:inline-block}.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{position:relative;min-height:1px;padding-left:16px;padding-right:16px}.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.row:after,.row:before{content:" ";display:table}.clearfix:after,.container-fluid:after,.container:after,.row:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.shaded{background-color:#f1f1f1}.shaded.pos{background-color:#d6ead7}.shaded.neg{background-color:#f4a9a9}.shaded.primary{background-color:#a1ddfe}.shaded.secondary{background-color:#f6d7c6}.bordered{border:1px solid #BBB}.bordered.pos{border-color:#52A256}.bordered.neg{border-color:#E84F4F}.bordered.primary{border-color:#0288D1}.bordered.secondary{border-color:#e27b41}.bordered.thick{border-width:2px}.rounded{border-radius:3px}.nopadding{padding:0}.padded{padding:24px}.padded.large{padding:32px}.padded>h1:first-child,.padded>h2:first-child,.padded>h3:first-child,.padded>h4:first-child,.title-input .padded>input[type=text]:first-child{margin-top:.1em}.padded-top,.padded-vertical{padding-top:16px}.padded-top.large,.padded-vertical.large{padding-top:32px}.padded-bottom,.padded-vertical{padding-bottom:16px}.padded-bottom.large,.padded-vertical.large{padding-bottom:32px}.padded-horizontal,.padded-left{padding-left:16px}.padded-horizontal.large,.padded-left.large{padding-left:32px}.padded-horizontal,.padded-right{padding-right:16px}.padded-horizontal.large,.padded-right.large{padding-right:32px}.margins{margin:24px}.margins.large{margin:32px}.margin-top,.margins-vertical{margin-top:16px}.margin-top.large,.margins-vertical.large{margin-top:32px}.margin-bottom,.margins-vertical{margin-bottom:16px}.margin-bottom.large,.margins-vertical.large{margin-bottom:32px}.margin-left,.margins-horizontal{margin-left:16px}.margin-left.large,.margins-horizontal.large{margin-left:32px}.margin-right,.margins-horizontal{margin-right:16px}.margin-right.large,.margins-horizontal.large{margin-right:32px}.callout{border-left:3px solid #BBB;background-color:#EEE;padding:12px;display:block}.callout:before{font-family:Material-Design-Iconic-Font;padding-right:12px;display:inline-block}.callout.success{border-left-color:#52A256;background-color:#e7f3e7;color:#376c39}.callout.success:before{content:'\f269'}.callout.danger{border-left-color:#E84F4F;background-color:#fce8e8;color:#b91818}.callout.danger:before{content:'\f1f2'}.callout.info{border-left-color:#0288D1;background-color:#d3efff;color:#015380}.callout.info:before{content:'\f1f8'}.callout.warning{border-left-color:#e27b41;background-color:#faeae0;color:#b6531c}.callout.warning:before{content:'\f1f1'}.editor-toolbar:after,.pointer:before,.toggle-switch:after{content:''}.input-base,input[type=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{font-family:'Roboto Mono',monospace}.input-base.invalid,.input-base.neg,input.invalid[type=text],input.invalid[type=number],input.invalid[type=email],input.invalid[type=search],input.invalid[type=url],input.invalid[type=password],input.neg[type=text],input.neg[type=number],input.neg[type=email],input.neg[type=search],input.neg[type=url],input.neg[type=password],select.invalid,select.neg,textarea.invalid,textarea.neg{border:1px solid #E84F4F}.input-base.pos,.input-base.valid,input.pos[type=text],input.pos[type=number],input.pos[type=email],input.pos[type=search],input.pos[type=url],input.pos[type=password],input.valid[type=text],input.valid[type=number],input.valid[type=email],input.valid[type=search],input.valid[type=url],input.valid[type=password],select.pos,select.valid,textarea.pos,textarea.valid{border:1px solid #52A256}.input-base.disabled,.input-base[disabled],input.disabled[type=text],input.disabled[type=number],input.disabled[type=email],input.disabled[type=search],input.disabled[type=url],input.disabled[type=password],input[disabled][type=text],input[disabled][type=number],input[disabled][type=email],input[disabled][type=search],input[disabled][type=url],input[disabled][type=password],select.disabled,select[disabled],textarea.disabled,textarea[disabled]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAMUlEQVQIW2NkwAGuXbv2nxGbHEhCS0uLEUMSJgHShCKJLIEiiS4Bl8QmAZbEJQGSBAC62BuJ+tt7zgAAAABJRU5ErkJggg==)}.input-base:focus,input[type=text]:focus,input[type=number]:focus,input[type=email]:focus,input[type=search]:focus,input[type=url]:focus,input[type=password]:focus,select:focus,textarea:focus{outline:0}#html-editor{display:none}#markdown-editor{position:relative;z-index:5}#markdown-editor textarea{font-style:normal;font-weight:400;padding:6px 16px;color:#444;border-radius:0;max-height:100%;-webkit-box-flex:1;flex:1;border:0;width:100%}#markdown-editor textarea:focus{outline:0}#markdown-editor .markdown-display,#markdown-editor .markdown-editor-wrap{-webkit-box-flex:1;flex:1;position:relative}#markdown-editor .markdown-editor-wrap,.page-editor{flex-direction:column;-webkit-box-orient:vertical;-webkit-box-direction:normal}#markdown-editor .markdown-editor-wrap{display:-webkit-box;display:flex;border:1px solid #DDD;width:50%}#markdown-editor .markdown-display{padding:0 16px;margin-left:-1px;overflow-y:scroll}#markdown-editor .markdown-display .page-content{margin:0 auto}.editor-toolbar{width:100%;padding:6px 16px;font-size:11px;line-height:1.6;border-bottom:1px solid #DDD;background-color:#EEE;-webkit-box-flex:0;flex:none}.editor-toolbar:after{display:block;clear:both}label{display:block;line-height:1.4em;font-size:.94em;font-weight:500;color:#666;padding-bottom:2px;margin-bottom:.2em}.toggle-switch,label.inline{display:inline-block}label.checkbox,label.radio{font-weight:400}label.checkbox input[type=radio],label.checkbox input[type=checkbox],label.radio input[type=radio],label.radio input[type=checkbox]{margin-right:6px}label+p.small{margin-bottom:.8em}.toggle-switch{background-color:#BBB;width:36px;height:14px;border-radius:7px;position:relative;transition:all ease-in-out 120ms;user-select:none}.toggle-switch:after{display:block;position:relative;left:0;margin-top:-3px;width:20px;height:20px;border-radius:50%;background-color:#fafafa;border:1px solid #CCC;box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);transition:all ease-in-out 120ms}.toggle-switch.active{background-color:rgba(82,162,86,.4)}.toggle-switch.active:after{left:16px;background-color:#52A256;border:#305e32}.toggle-switch-checkbox{display:none}input:checked+.toggle-switch{background-color:rgba(82,162,86,.4)}input:checked+.toggle-switch:after{left:16px;background-color:#52A256;border:#305e32}.form-group{margin-bottom:12px}.form-group textarea{display:block;width:100%;min-height:64px}.form-group .text-neg,.form-group .text-pos{padding:6px 0}.description-input textarea,.inline-input-style,.title-input input[type=text]{border:2px dotted #BBB;display:block;width:100%;padding:6px 12px}.title-input .input{width:100%}.description-input label,.title-input label{margin-top:16px;color:#666}.title-input input[type=text]{margin-top:0;padding-right:0;width:100%;color:#444}.title-input.page-title{font-size:.8em}.title-input.page-title .input{border:0;margin-bottom:-1px}.title-input.page-title input[type=text]{max-width:840px;margin:0 auto;border:none}.search-box,div[editor-type=markdown] .title-input.page-title input[type=text],table{max-width:100%}.page-title input{display:block;width:100%;font-size:1.4em}.description-input textarea{font-size:15px;color:#666;width:100%}.search-box{position:relative}.search-box button{background-color:transparent;border:none;color:#0288D1;padding:0;margin:0 0 0 12px;cursor:pointer}.search-box button[type=submit]{margin-left:-24px}.search-box input{padding-right:24px;width:300px;max-width:100%}input.outline{border:0;border-bottom:2px solid #DDD;border-radius:0}input.outline:active,input.outline:focus{border:0;border-bottom:2px solid #AAA;outline:0}#login-form label[for=remember]{margin:0}#login-form label.toggle-switch{margin-left:32px}.image-picker img{background-color:#BBB}table{min-width:100px;border-spacing:0;border-collapse:collapse}table thead{background-color:#F8F8F8;font-weight:500}table td,table th{min-width:10px;padding:6px 8px;border:1px solid #DDD;overflow:auto;line-height:1.2}table td p,table th p{margin:0}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;margin:0}table.table th{font-weight:700}table.table tr:hover{background-color:#EEE}table.table .text-right{text-align:right}table.table .text-center{text-align:center}table.file-table td,table.no-style td{border:0;padding:0}table.list-table{margin:-6px}table.list-table td{border:0;vertical-align:middle;padding:6px}.dropdown-container,.logo-image,.logo-text,form.search-box button,header .links,header .user-name,header .user-name>*{vertical-align:top}table.file-table td{padding:6px}table.file-table .ui-sortable-helper{display:table}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;-webkit-transition:all ease-in-out 120ms;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)}.book-tree,.book-tree.fixed{background-color:#FFF;top:0}.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 h4{margin:24px 0 6px;font-size:1.666em}.page-list a.chapter{color:#ef7c3c}.page-list .inset-list{display:none;overflow:hidden;margin-bottom:24px}.page-list h5{display:block;margin:12px 0 0;border-left:5px solid #0288D1;padding:6px 0 6px 16px;font-size:1.1em;font-weight:400}.page-list h5.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;-webkit-transition:all ease-in-out 180ms;transition:all ease-in-out 180ms;user-select:none}.pointer span.icon,ul.pagination a,ul.pagination span{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.chapter-toggle i.zmdi-caret-right{-webkit-transition:all ease-in-out 180ms;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)}.sidebar-page-nav{list-style:none;margin:12px 0 16px 2px;border-left:2px dotted #BBB}.sidebar-page-nav li{padding-left:12px;margin-bottom:4px;font-size:.95em}.sidebar-page-nav .h1,.sidebar-page-nav .h2{margin-left:-2px}.sidebar-page-nav .h3{margin-left:12px}.sidebar-page-nav .h4{margin-left:24px}.sidebar-page-nav .h5{margin-left:36px}.sidebar-page-nav .h6{margin-left:48px}.book-tree{padding:6px 0 0;position:relative;right:0;-webkit-transition:ease-in-out 240ms;transition:ease-in-out 240ms;-webkit-transition-property:right,border;transition-property:right,border;border-left:0 solid #FFF}.book-tree.fixed{z-index:5;position:fixed;padding-left:24px;padding-right:39px;width:30%;right:-15px;height:100%;overflow-y:scroll;-ms-overflow-style:none;border-left:1px solid #DDD}.book-tree.fixed::-webkit-scrollbar{width:0!important}.book-tree h4{padding:16px 12px 0}.book-tree h4 i{padding-right:12px}.book-tree .sidebar-page-list{list-style:none;margin:6px 0 0;padding-left:0;border-left:5px solid #009688}.book-tree .sidebar-page-list li a{display:block;border-bottom:none;padding:6px 0 6px 12px}.book-tree .sidebar-page-list li a i{padding-right:8px}.book-tree .sidebar-page-list a,.book-tree .sidebar-page-list li{display:block}.book-tree .sidebar-page-list a.bold{color:#EEE!important}.book-tree .sidebar-page-list ul{list-style:none;margin:0}.book-tree .sidebar-page-list .book{color:#009688!important}.book-tree .sidebar-page-list .book.selected{background-color:rgba(0,150,136,.29)}.book-tree .sidebar-page-list .chapter{color:#ef7c3c!important}.book-tree .sidebar-page-list .chapter.selected{background-color:rgba(239,124,60,.12)}.book-tree .sidebar-page-list .chapter-toggle{padding-left:12px}.book-tree .sidebar-page-list .list-item-chapter{border-left:5px solid #ef7c3c;margin:10px;display:block}.book-tree .sidebar-page-list .list-item-page{border-bottom:none;border-left:5px solid #0288D1;margin:10px}.book-tree .sidebar-page-list .page{color:#0288D1!important;border-bottom:none}.book-tree .sidebar-page-list .page.selected{background-color:rgba(2,136,209,.1)}.book-tree .sidebar-page-list .list-item-page.draft{border-left:5px solid #9A60DA}.book-tree .sidebar-page-list .list-item-page.draft a.page,.book-tree .sidebar-page-list .page.draft .page{color:#9A60DA!important}.book-tree .sidebar-page-list .sub-menu{display:none;padding-left:0}.book-tree .sidebar-page-list .sub-menu.open{display:block}.sortable-page-list,.sortable-page-list ul{list-style:none;background-color:#FFF}.sort-box{margin-bottom:16px;padding:0 24px;border-left:4px solid #009688}.sortable-page-list,.sortable-page-list>ul{margin-left:0}.sortable-page-list ul{margin-bottom:0;margin-top:0;box-shadow:0 0 1px 0 rgba(0,0,0,.1)}.sortable-page-list li{border:1px solid #DDD;padding:6px 12px;margin-top:-1px;min-height:38px}.sortable-page-list li.text-chapter{border-left:2px solid #ef7c3c}.sortable-page-list li.text-page{border-left:2px solid #0288D1}.sortable-page-list li:first-child{margin-top:6px}.sortable-page-list li.placeholder{position:relative}.sortable-page-list li.placeholder:before{position:absolute}.activity-list-item{padding:12px 0;color:#888;border-bottom:1px solid #EEE;font-size:.9em}.activity-list-item .left+.right{margin-left:42px}ul.pagination{display:inline-block;list-style:none;margin:16px 0;padding-left:1px}ul.pagination li:first-child a,ul.pagination li:first-child span{border-radius:3px 0 0 3px}ul.pagination li:last-child a,ul.pagination li:last-child span{border-radius:0 3px 3px 0}ul.pagination a,ul.pagination span{display:block;padding:3px 12px;border:1px solid #CCC;margin-left:-1px;color:#888;user-select:none}.compact ul.pagination,.entity-list h4{margin:0}ul.pagination a.disabled,ul.pagination span.disabled{cursor:not-allowed}ul.pagination li.active span{background-color:rgba(2,136,209,.8);color:#EEE;border-color:rgba(2,136,209,.8)}ul.pagination a{color:#0288D1}.entity-list>div{padding:16px 0}.entity-list p{margin:6px 0 0}.entity-list hr{margin:0}.entity-list .text-small.text-muted{color:#AAA;font-size:.75em;margin-top:6px}.entity-list .text-muted p.text-muted{margin-top:0}.entity-list .page.draft .text-page{color:#9A60DA}.entity-list.compact{font-size:.6em}.entity-list.compact a,.entity-list.compact h4{line-height:1.2}.entity-list.compact p{display:none;font-size:12px;padding-top:6px;margin:0}.entity-list.compact>p.empty-text{display:block;font-size:15px}.entity-list.compact hr{margin:0}.dropdown-container{display:inline-block;position:relative}.dropdown-container ul{display:none;position:absolute;z-index:999;top:0;list-style:none;right:0;margin:16px 0;background-color:#FFF;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border-radius:1px;border:1px solid #EEE;min-width:180px;padding:6px 0;color:#555;text-align:left!important}.dropdown-container ul.wide{min-width:220px}.dropdown-container ul .text-muted{color:#999}.dropdown-container ul li.padded{padding:6px 16px}.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:12px;padding-right:0;display:inline-block;width:16px}.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-box;display:flex;-webkit-box-align:stretch;align-items:stretch}.page-editor .faded-small{height:auto}.page-editor .edit-area{-webkit-box-flex:1;flex:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}.draft-notification{pointer-events:none;-webkit-transform:scale(0);transform:scale(0);-webkit-transition:-webkit-transform ease-in-out 120ms;transition:-webkit-transform ease-in-out 120ms;transition:transform ease-in-out 120ms;transition:transform ease-in-out 120ms,-webkit-transform ease-in-out 120ms;-webkit-transform-origin:50% 50%;transform-origin:50% 50%}.draft-notification.visible{-webkit-transform:scale(1);transform:scale(1)}.page-style.editor{padding:0!important}.page-content{max-width:840px;overflow-wrap:break-word}.page-content .align-left{text-align:left}.page-content img.align-left,.page-content table.align-left{float:left!important;margin:6px 12px 6px 0}.page-content .align-right{float:right!important}.page-content img.align-right,.page-content table.align-right{text-align:right;margin:6px 0 6px 12px}.page-content .align-center{text-align:center}.page-content img{max-width:100%;height:auto}.page-content .title-input input[type=text],.page-content h1,.page-content h2,.page-content h3,.page-content h4,.page-content h5,.page-content h6,.page-content pre,.title-input .page-content input[type=text]{clear:left}.page-content hr{clear:both;margin:16px 0}.page-content table{-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;table-layout:fixed;max-width:100%;height:auto!important}.page-content ins{background:#dbffdb}.page-content del{background:#FFECEC}.pointer-container{position:relative;display:none;left:0;z-index:10}.pointer,.pointer:before{position:absolute;background-color:#FFF}.pointer{border:1px solid #CCC;display:inline-block;padding:12px;border-radius:4px;box-shadow:0 0 8px 1px rgba(212,209,209,.35);top:-60px;width:272px;z-index:55}.pointer:before{left:50%;bottom:-9px;width:16px;height:16px;margin-left:-8px;display:block;-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 span.icon{cursor:pointer;user-select:none}.pointer .button{line-height:1;margin:0 0 0 -4px;box-shadow:none}.floating-toolbox{background-color:#FFF;border:1px solid #DDD;right:64px;width:48px;overflow:hidden;-webkit-box-align:stretch;align-items:stretch;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;display:-webkit-box;display:flex;-webkit-transition:width ease-in-out 180ms;transition:width ease-in-out 180ms;margin-top:-1px;min-height:0}.floating-toolbox div[toolbox-tab-content],.floating-toolbox form{-webkit-box-orient:vertical;-webkit-box-direction:normal;overflow-y:scroll}.floating-toolbox.open{width:480px}.floating-toolbox [toolbox-toggle] i{-webkit-transition:-webkit-transform ease-in-out 180ms;transition:-webkit-transform ease-in-out 180ms;transition:transform ease-in-out 180ms;transition:transform ease-in-out 180ms,-webkit-transform ease-in-out 180ms}.floating-toolbox [toolbox-toggle]{-webkit-transition:background-color ease-in-out 180ms;transition:background-color ease-in-out 180ms}.floating-toolbox.open [toolbox-toggle]{background-color:rgba(255,0,0,.29)}.floating-toolbox.open [toolbox-toggle] i{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.floating-toolbox>div{-webkit-box-flex:1;flex:1;position:relative}.floating-toolbox .tabs{display:block;border-right:1px solid #DDD;width:48px;-webkit-box-flex:0;flex:0 1 auto}.floating-toolbox .tabs i{color:rgba(0,0,0,.5);padding:0;margin:0}.floating-toolbox .tabs>span{display:block;cursor:pointer;padding:12px 16px;font-size:13.5px;line-height:1.6;border-bottom:1px solid rgba(255,255,255,.3)}.floating-toolbox.open .tabs>span.active{color:#444;background-color:rgba(0,0,0,.1)}.floating-toolbox div[toolbox-tab-content]{padding-bottom:45px;display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1;flex-direction:column;min-height:0}.floating-toolbox div[toolbox-tab-content] .padded{-webkit-box-flex:1;flex:1;padding-top:0}.floating-toolbox h4{font-size:24px;margin:16px 0 0;padding:0 24px 12px}.floating-toolbox .tags input{max-width:100%;width:100%;min-width:50px}.floating-toolbox .tags td{padding-right:12px;padding-top:12px;position:relative}.floating-toolbox .handle{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:move;color:#999}.floating-toolbox form{display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1;flex-direction:column}.floating-toolbox table td,.floating-toolbox table th{overflow:visible}[toolbox-tab-content]{display:none}.tag-display{width:100%;position:relative}.tag-display table{width:100%;margin:0;padding:0}.tag-display tr:first-child td{padding-top:0}.tag-display .heading th{padding:6px 12px;color:rgba(100,100,100,.7);border:0;font-weight:400}.tag-display td{border:0;border-bottom:1px solid #EEE;padding:6px 12px;color:#444}.tag-display tr td:first-child{padding-left:0}.tag-display .tag-value{color:#888}.tag-display tr:last-child td{border-bottom:none}.tag-display .tag{padding:12px}.suggestion-box{position:absolute;background-color:#FFF;border:1px solid #BBB;box-shadow:0 0 4px 1px #CCC;list-style:none;z-index:100;padding:0;margin:0;border-radius:3px}.suggestion-box li{display:block;padding:6px 12px;border-bottom:1px solid #DDD}.suggestion-box li:last-child{border-bottom:0}.suggestion-box li.active{background-color:#EEE} \ No newline at end of file +.link,a,body{font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif}.link svg,a svg,blockquote{position:relative}code,pre{white-space:pre}.chapter-toggle,.toggle-switch{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}*{box-sizing:border-box}html{background-color:#FFF;height:100%;overflow-y:scroll}html.flexbox{overflow-y:hidden}body{font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}button{font-size:100%}.title-input input[type=text],h1{font-size:3.425em;line-height:1.22222222em;margin-top:.48888889em;margin-bottom:.48888889em}h3,h4,h5,h6{margin-top:.78571429em}h2,h3,h4{margin-bottom:.43137255em}h2{font-size:2.8275em;line-height:1.294117647em;margin-top:.8627451em}h3{font-size:2.333em;line-height:1.221428572em}h4{font-size:1.666em;line-height:1.375em}.title-input input[type=text],h1,h2,h3,h4,h5,h6{font-weight:400;position:relative;display:block;color:#555}.link svg,.link.icon,a svg,a.icon{display:inline-block}.title-input input[type=text] .subheader,h1 .subheader,h2 .subheader,h3 .subheader,h4 .subheader,h5 .subheader,h6 .subheader{font-size:.5em;line-height:1em;color:#969696}h5{font-size:1.4em}h5,h6{font-weight:500;line-height:1.2em;margin-bottom:.66em}.link,a{color:#0288D1;cursor:pointer;text-decoration:none;-webkit-transition:color ease-in-out 80ms;transition:color ease-in-out 80ms;line-height:1.6}.link:hover,.underlined,a:hover{text-decoration:underline}.toggle-switch,.toggle-switch:after{-webkit-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{border:0;height:1px;background:#EAEAEA;margin-bottom:24px}hr.faded{background-image:-webkit-linear-gradient(left,#FFF,#e3e0e0 20%,#e3e0e0 80%,#FFF);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}.text-small .text-small,.text-small p.small,.text-small small,.text-small span.small,p.small .text-small,p.small p.small,p.small small,p.small span.small,small .text-small,small p.small,small small,small span.small,span.small .text-small,span.small p.small,span.small small,span.small span.small{font-size:1em}.superscript,sup{vertical-align:super;font-size:.8em}.subscript,sub{vertical-align:sub;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}body.flexbox,ol,ul{overflow:hidden}blockquote{display:block;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,.callout{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}.list>*,pre code{display:block}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:#969696}.text-primary,.text-primary:hover,p .primary,p .primary:hover,p.primary,p.primary:hover,span.primary,span.primary:hover{color:#0288D1}.text-secondary,.text-secondary:hover,p .secondary,p .secondary:hover,p.secondary,p.secondary:hover,span.secondary,span.secondary:hover{color:#e27b41}.text-book,.text-book:hover{color:#009688}.text-page,.text-page:hover{color:#0288D1}.text-page.draft,.text-page.draft:hover{color:#9A60DA}.text-chapter,.text-chapter:hover{color:#ef7c3c}.faded .text-book:hover{color:#009688!important}.faded .text-chapter:hover{color:#ef7c3c!important}.faded .text-page:hover{color:#0288D1!important}span.highlight{font-weight:700;padding:2px 4px}ul{padding-left:20.8px;list-style:disc}ol{list-style:decimal;padding-left:32px}li.checkbox-item{list-style:none;margin-left:-20.8px}li.checkbox-item input[type=checkbox]{margin-right:6px}.book-tree .sidebar-page-list li a:hover,.faded .text-button:hover,.logo:hover,.page-content del,.page-content ins{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}.action-header .title-input input[type=text],.action-header h1,.title-input .action-header input[type=text]{margin-top:16px}i{padding-right:6px}body.flexbox{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-align:stretch;align-items:stretch;height:100%;min-height:100%;max-height:100%}body.flexbox #content{-webkit-box-flex:1;flex:1;display:-webkit-box;display:flex;min-height:0}.flex-fill{display:-webkit-box;display:flex;-webkit-box-align:stretch;align-items:stretch;min-height:0}.flex-fill .flex,.flex-fill.flex{min-height:0;-webkit-box-flex:1;flex:1}.flex-child>div{-webkit-box-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.medium{max-width:992px}.container.small{max-width:840px}.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}.clearfix:after,.container-fluid:after,.container:after,.row:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.shaded{background-color:#f1f1f1}.shaded.pos{background-color:#d6ead7}.shaded.neg{background-color:#f4a9a9}.shaded.primary{background-color:#a1ddfe}.shaded.secondary{background-color:#f6d7c6}.bordered{border:1px solid #BBB}.bordered.pos{border-color:#52A256}.bordered.neg{border-color:#E84F4F}.bordered.primary{border-color:#0288D1}.bordered.secondary{border-color:#e27b41}.bordered.thick{border-width:2px}.rounded{border-radius:3px}.nopadding{padding:0}.padded{padding:24px}.padded.large{padding:32px}.padded>h1:first-child,.padded>h2:first-child,.padded>h3:first-child,.padded>h4:first-child,.title-input .padded>input[type=text]:first-child{margin-top:.1em}.padded-top,.padded-vertical{padding-top:16px}.padded-top.large,.padded-vertical.large{padding-top:32px}.padded-bottom,.padded-vertical{padding-bottom:16px}.padded-bottom.large,.padded-vertical.large{padding-bottom:32px}.padded-horizontal,.padded-left{padding-left:16px}.padded-horizontal.large,.padded-left.large{padding-left:32px}.padded-horizontal,.padded-right{padding-right:16px}.padded-horizontal.large,.padded-right.large{padding-right:32px}.margins{margin:24px}.margins.large{margin:32px}.margin-top,.margins-vertical{margin-top:16px}.margin-top.large,.margins-vertical.large{margin-top:32px}.margin-bottom,.margins-vertical{margin-bottom:16px}.margin-bottom.large,.margins-vertical.large{margin-bottom:32px}.margin-left,.margins-horizontal{margin-left:16px}.margin-left.large,.margins-horizontal.large{margin-left:32px}.margin-right,.margins-horizontal{margin-right:16px}.margin-right.large,.margins-horizontal.large{margin-right:32px}.callout{border-left:3px solid #BBB;background-color:#EEE;padding:12px 12px 12px 32px;display:block}.callout:before{font-family:Material-Design-Iconic-Font;left:10px;top:50%;margin-top:-9px;display:inline-block;position:absolute;font-size:1.222em;line-height:1}#markdown-editor,.search-box,.toggle-switch,.toggle-switch:after,form.search-box{position:relative}.callout.success{border-left-color:#52A256;background-color:#e7f3e7;color:#376c39}.callout.success:before{content:'\f269'}.callout.danger{border-left-color:#E84F4F;background-color:#fce8e8;color:#b91818}.callout.danger:before{content:'\f1f2'}.callout.info{border-left-color:#0288D1;background-color:#d3efff;color:#015380}.callout.info:before{content:'\f1f8'}.callout.warning{border-left-color:#e27b41;background-color:#faeae0;color:#b6531c}.callout.warning:before{content:'\f1f1'}.editor-toolbar:after,.pointer:before,.toggle-switch:after{content:''}.input-base,input[type=number],input[type=email],input[type=search],input[type=url],input[type=password],input[type=text],select,textarea{background-color:#FFF;border-radius:3px;border:1px solid #CCC;display:inline-block;font-size:14px;font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif;padding:6px;color:#222;width:250px;max-width:100%}#markdown-editor textarea,.editor-toolbar{font-family:'Roboto Mono',monospace}.input-base.invalid,.input-base.neg,input.invalid[type=number],input.invalid[type=email],input.invalid[type=search],input.invalid[type=url],input.invalid[type=password],input.invalid[type=text],input.neg[type=number],input.neg[type=email],input.neg[type=search],input.neg[type=url],input.neg[type=password],input.neg[type=text],select.invalid,select.neg,textarea.invalid,textarea.neg{border:1px solid #E84F4F}.input-base.pos,.input-base.valid,input.pos[type=number],input.pos[type=email],input.pos[type=search],input.pos[type=url],input.pos[type=password],input.pos[type=text],input.valid[type=number],input.valid[type=email],input.valid[type=search],input.valid[type=url],input.valid[type=password],input.valid[type=text],select.pos,select.valid,textarea.pos,textarea.valid{border:1px solid #52A256}.input-base.disabled,.input-base[disabled],input.disabled[type=number],input.disabled[type=email],input.disabled[type=search],input.disabled[type=url],input.disabled[type=password],input.disabled[type=text],input[disabled][type=number],input[disabled][type=email],input[disabled][type=search],input[disabled][type=url],input[disabled][type=password],input[disabled][type=text],select.disabled,select[disabled],textarea.disabled,textarea[disabled]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAMUlEQVQIW2NkwAGuXbv2nxGbHEhCS0uLEUMSJgHShCKJLIEiiS4Bl8QmAZbEJQGSBAC62BuJ+tt7zgAAAABJRU5ErkJggg==)}.input-base:focus,input[type=number]:focus,input[type=email]:focus,input[type=search]:focus,input[type=url]:focus,input[type=password]:focus,input[type=text]:focus,select:focus,textarea:focus{outline:0}#html-editor{display:none}#markdown-editor{z-index:5}#markdown-editor textarea{font-style:normal;font-weight:400;padding:6px 16px;color:#444;border-radius:0;max-height:100%;-webkit-box-flex:1;flex:1;border:0;width:100%}#markdown-editor textarea:focus{outline:0}#markdown-editor .markdown-display,#markdown-editor .markdown-editor-wrap{-webkit-box-flex:1;flex:1;position:relative}#markdown-editor .markdown-editor-wrap,.page-editor{flex-direction:column;-webkit-box-orient:vertical;-webkit-box-direction:normal}#markdown-editor .markdown-editor-wrap{display:-webkit-box;display:flex;border:1px solid #DDD;width:50%}#markdown-editor .markdown-display{padding:0 16px;margin-left:-1px;overflow-y:scroll}#markdown-editor .markdown-display .page-content{margin:0 auto}.editor-toolbar{width:100%;padding:6px 16px;font-size:11px;line-height:1.6;border-bottom:1px solid #DDD;background-color:#EEE;-webkit-box-flex:0;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;transition:all ease-in-out 120ms;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);transition:all ease-in-out 120ms}.toggle-switch.active{background-color:rgba(82,162,86,.4)}.toggle-switch.active:after{left:16px;background-color:#52A256;border:#305e32}.toggle-switch-checkbox{display:none}input:checked+.toggle-switch{background-color:rgba(82,162,86,.4)}input:checked+.toggle-switch:after{left:16px;background-color:#52A256;border:#305e32}.form-group{margin-bottom:12px}.form-group textarea{display:block;width:100%;min-height:64px}.form-group .text-neg,.form-group .text-pos{padding:6px 0}.description-input textarea,.inline-input-style,.title-input input[type=text]{border:2px dotted #BBB;display:block;width:100%;padding:6px 12px}.title-input .input{width:100%}.description-input label,.title-input label{margin-top:16px;color:#666}.title-input input[type=text]{margin-top:0;padding-right:0;width:100%;color:#444}.title-input.page-title{font-size:.8em}.title-input.page-title .input{border:0;margin-bottom:-1px}.title-input.page-title input[type=text]{max-width:840px;margin:0 auto;border:none}.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 button{background-color:transparent;border:none;color:#0288D1;padding:0;margin:0 0 0 12px;cursor:pointer}.search-box button[type=submit]{margin-left:-24px}.search-box input{padding-right:24px;width:300px;max-width:100%}input.outline{border:0;border-bottom:2px solid #DDD;border-radius:0}input.outline:active,input.outline:focus{border:0;border-bottom:2px solid #AAA;outline:0}#login-form label[for=remember]{margin:0}#login-form label.toggle-switch{margin-left:32px}.image-picker img{background-color:#BBB}table{min-width:100px;border-spacing:0;border-collapse:collapse}table thead{background-color:#F8F8F8;font-weight:500}table td,table th{min-width:10px;padding:6px 8px;border:1px solid #DDD;overflow:auto;line-height:1.2}table td p,table th p{margin:0}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;margin:0}table.table th{font-weight:700}table.table tr:hover{background-color:#EEE}table.table .text-right{text-align:right}table.table .text-center{text-align:center}table.file-table td,table.no-style td{border:0;padding:0}table.list-table{margin:-6px}table.list-table td{border:0;vertical-align:middle;padding:6px}.dropdown-container,.logo-image,.logo-text,form.search-box button,header .links,header .user-name,header .user-name>*{vertical-align:top}table.file-table td{padding:6px}table.file-table .ui-sortable-helper{display:table}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;-webkit-transition:all ease-in-out 120ms;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)}.book-tree,.book-tree.fixed{background-color:#FFF;top:0}.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 h4{margin:24px 0 6px;font-size:1.666em}.page-list a.chapter{color:#ef7c3c}.page-list .inset-list{display:none;overflow:hidden;margin-bottom:24px}.page-list h5{display:block;margin:12px 0 0;border-left:5px solid #0288D1;padding:6px 0 6px 16px;font-size:1.1em;font-weight:400}.page-list h5.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;-webkit-transition:all ease-in-out 180ms;transition:all ease-in-out 180ms;user-select:none}.pointer span.icon,ul.pagination a,ul.pagination span{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.chapter-toggle i.zmdi-caret-right{-webkit-transition:all ease-in-out 180ms;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)}.sidebar-page-nav{list-style:none;margin:12px 0 16px 2px;border-left:2px dotted #BBB}.sidebar-page-nav li{padding-left:12px;margin-bottom:4px;font-size:.95em}.sidebar-page-nav .h1,.sidebar-page-nav .h2{margin-left:-2px}.sidebar-page-nav .h3{margin-left:12px}.sidebar-page-nav .h4{margin-left:24px}.sidebar-page-nav .h5{margin-left:36px}.sidebar-page-nav .h6{margin-left:48px}.book-tree{padding:6px 0 0;position:relative;right:0;-webkit-transition:ease-in-out 240ms;transition:ease-in-out 240ms;-webkit-transition-property:right,border;transition-property:right,border;border-left:0 solid #FFF}.book-tree.fixed{z-index:5;position:fixed;padding-left:24px;padding-right:39px;width:30%;right:-15px;height:100%;overflow-y:scroll;-ms-overflow-style:none;border-left:1px solid #DDD}.book-tree.fixed::-webkit-scrollbar{width:0!important}.book-tree h4{padding:16px 12px 0}.book-tree h4 i{padding-right:12px}.book-tree .sidebar-page-list{list-style:none;margin:6px 0 0;padding-left:0;border-left:5px solid #009688}.book-tree .sidebar-page-list li a{display:block;border-bottom:none;padding:6px 0 6px 12px}.book-tree .sidebar-page-list li a i{padding-right:8px}.book-tree .sidebar-page-list a,.book-tree .sidebar-page-list li{display:block}.book-tree .sidebar-page-list a.bold{color:#EEE!important}.book-tree .sidebar-page-list ul{list-style:none;margin:0}.book-tree .sidebar-page-list .book{color:#009688!important}.book-tree .sidebar-page-list .book.selected{background-color:rgba(0,150,136,.29)}.book-tree .sidebar-page-list .chapter{color:#ef7c3c!important}.book-tree .sidebar-page-list .chapter.selected{background-color:rgba(239,124,60,.12)}.book-tree .sidebar-page-list .chapter-toggle{padding-left:12px}.book-tree .sidebar-page-list .list-item-chapter{border-left:5px solid #ef7c3c;margin:10px;display:block}.book-tree .sidebar-page-list .list-item-page{border-bottom:none;border-left:5px solid #0288D1;margin:10px}.book-tree .sidebar-page-list .page{color:#0288D1!important;border-bottom:none}.book-tree .sidebar-page-list .page.selected{background-color:rgba(2,136,209,.1)}.book-tree .sidebar-page-list .list-item-page.draft{border-left:5px solid #9A60DA}.book-tree .sidebar-page-list .list-item-page.draft a.page,.book-tree .sidebar-page-list .page.draft .page{color:#9A60DA!important}.book-tree .sidebar-page-list .sub-menu{display:none;padding-left:0}.book-tree .sidebar-page-list .sub-menu.open{display:block}.sortable-page-list,.sortable-page-list ul{list-style:none;background-color:#FFF}.sort-box{margin-bottom:16px;padding:0 24px;border-left:4px solid #009688}.sortable-page-list,.sortable-page-list>ul{margin-left:0}.sortable-page-list ul{margin-bottom:0;margin-top:0;box-shadow:0 0 1px 0 rgba(0,0,0,.1)}.sortable-page-list li{border:1px solid #DDD;padding:6px 12px;margin-top:-1px;min-height:38px}.sortable-page-list li.text-chapter{border-left:2px solid #ef7c3c}.sortable-page-list li.text-page{border-left:2px solid #0288D1}.sortable-page-list li:first-child{margin-top:6px}.sortable-page-list li.placeholder{position:relative}.sortable-page-list li.placeholder:before{position:absolute}.activity-list-item{padding:12px 0;color:#888;border-bottom:1px solid #EEE;font-size:.9em}.activity-list-item .left+.right{margin-left:42px}ul.pagination{display:inline-block;list-style:none;margin:16px 0;padding-left:1px}ul.pagination li:first-child a,ul.pagination li:first-child span{border-radius:3px 0 0 3px}ul.pagination li:last-child a,ul.pagination li:last-child span{border-radius:0 3px 3px 0}ul.pagination a,ul.pagination span{display:block;padding:3px 12px;border:1px solid #CCC;margin-left:-1px;color:#888;user-select:none}.compact ul.pagination,.entity-list h4{margin:0}ul.pagination a.disabled,ul.pagination span.disabled{cursor:not-allowed}ul.pagination li.active span{background-color:rgba(2,136,209,.8);color:#EEE;border-color:rgba(2,136,209,.8)}ul.pagination a{color:#0288D1}.entity-list>div{padding:16px 0}.entity-list p{margin:6px 0 0}.entity-list hr{margin:0}.entity-list .text-small.text-muted{color:#AAA;font-size:.75em;margin-top:6px}.entity-list .text-muted p.text-muted{margin-top:0}.entity-list .page.draft .text-page{color:#9A60DA}.entity-list.compact{font-size:.6em}.entity-list.compact a,.entity-list.compact h4{line-height:1.2}.entity-list.compact p{display:none;font-size:12px;padding-top:6px;margin:0}.entity-list.compact>p.empty-text{display:block;font-size:15px}.entity-list.compact hr{margin:0}.dropdown-container{display:inline-block;position:relative}.dropdown-container ul{display:none;position:absolute;z-index:999;top:0;list-style:none;right:0;margin:16px 0;background-color:#FFF;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border-radius:1px;border:1px solid #EEE;min-width:180px;padding:6px 0;color:#555;text-align:left!important}.dropdown-container ul.wide{min-width:220px}.dropdown-container ul .text-muted{color:#999}.dropdown-container ul li.padded{padding:6px 16px}.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:12px;padding-right:0;display:inline-block;width:16px}.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-box;display:flex;-webkit-box-align:stretch;align-items:stretch}.page-editor .faded-small{height:auto}.page-editor .edit-area{-webkit-box-flex:1;flex:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}.draft-notification{pointer-events:none;-webkit-transform:scale(0);transform:scale(0);-webkit-transition:-webkit-transform ease-in-out 120ms;transition:-webkit-transform ease-in-out 120ms;transition:transform ease-in-out 120ms;transition:transform ease-in-out 120ms,-webkit-transform ease-in-out 120ms;-webkit-transform-origin:50% 50%;transform-origin:50% 50%}.draft-notification.visible{-webkit-transform:scale(1);transform:scale(1)}.page-style.editor{padding:0!important}.page-content{max-width:840px;overflow-wrap:break-word}.page-content .align-left{text-align:left}.page-content img.align-left,.page-content table.align-left{float:left!important;margin:6px 12px 6px 0}.page-content .align-right{float:right!important}.page-content img.align-right,.page-content table.align-right{text-align:right;margin:6px 0 6px 12px}.page-content .align-center{text-align:center}.page-content img{max-width:100%;height:auto}.page-content .title-input input[type=text],.page-content h1,.page-content h2,.page-content h3,.page-content h4,.page-content h5,.page-content h6,.page-content pre,.title-input .page-content input[type=text]{clear:left}.page-content hr{clear:both;margin:16px 0}.page-content table{-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;table-layout:fixed;max-width:100%;height:auto!important}.page-content ins{background:#dbffdb}.page-content del{background:#FFECEC}.pointer-container{position:relative;display:none;left:0;z-index:10}.pointer,.pointer:before{position:absolute;background-color:#FFF}.pointer{border:1px solid #CCC;display:inline-block;padding:12px;border-radius:4px;box-shadow:0 0 8px 1px rgba(212,209,209,.35);top:-60px;width:272px;z-index:55}.pointer:before{left:50%;bottom:-9px;width:16px;height:16px;margin-left:-8px;display:block;-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 span.icon{cursor:pointer;user-select:none}.pointer .button{line-height:1;margin:0 0 0 -4px;box-shadow:none}.floating-toolbox{background-color:#FFF;border:1px solid #DDD;right:64px;width:48px;overflow:hidden;-webkit-box-align:stretch;align-items:stretch;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;display:-webkit-box;display:flex;-webkit-transition:width ease-in-out 180ms;transition:width ease-in-out 180ms;margin-top:-1px;min-height:0}.floating-toolbox div[toolbox-tab-content],.floating-toolbox form{-webkit-box-orient:vertical;-webkit-box-direction:normal;overflow-y:scroll}.floating-toolbox.open{width:480px}.floating-toolbox [toolbox-toggle] i{-webkit-transition:-webkit-transform ease-in-out 180ms;transition:-webkit-transform ease-in-out 180ms;transition:transform ease-in-out 180ms;transition:transform ease-in-out 180ms,-webkit-transform ease-in-out 180ms}.floating-toolbox [toolbox-toggle]{-webkit-transition:background-color ease-in-out 180ms;transition:background-color ease-in-out 180ms}.floating-toolbox.open [toolbox-toggle]{background-color:rgba(255,0,0,.29)}.floating-toolbox.open [toolbox-toggle] i{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.floating-toolbox>div{-webkit-box-flex:1;flex:1;position:relative}.floating-toolbox .tabs{display:block;border-right:1px solid #DDD;width:48px;-webkit-box-flex:0;flex:0 1 auto}.floating-toolbox .tabs i{color:rgba(0,0,0,.5);padding:0;margin:0}.floating-toolbox .tabs>span{display:block;cursor:pointer;padding:12px 16px;font-size:13.5px;line-height:1.6;border-bottom:1px solid rgba(255,255,255,.3)}.floating-toolbox.open .tabs>span.active{color:#444;background-color:rgba(0,0,0,.1)}.floating-toolbox div[toolbox-tab-content]{padding-bottom:45px;display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1;flex-direction:column;min-height:0}.floating-toolbox div[toolbox-tab-content] .padded{-webkit-box-flex:1;flex:1;padding-top:0}.floating-toolbox h4{font-size:24px;margin:16px 0 0;padding:0 24px 12px}.floating-toolbox .tags input{max-width:100%;width:100%;min-width:50px}.floating-toolbox .tags td{padding-right:12px;padding-top:12px;position:relative}.floating-toolbox .handle{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:move;color:#999}.floating-toolbox form{display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1;flex-direction:column}.floating-toolbox table td,.floating-toolbox table th{overflow:visible}[toolbox-tab-content]{display:none}.tag-display{width:100%;position:relative}.tag-display table{width:100%;margin:0;padding:0}.tag-display tr:first-child td{padding-top:0}.tag-display .heading th{padding:6px 12px;color:rgba(100,100,100,.7);border:0;font-weight:400}.tag-display td{border:0;border-bottom:1px solid #EEE;padding:6px 12px;color:#444}.tag-display tr td:first-child{padding-left:0}.tag-display .tag-value{color:#888}.tag-display tr:last-child td{border-bottom:none}.tag-display .tag{padding:12px}.suggestion-box{position:absolute;background-color:#FFF;border:1px solid #BBB;box-shadow:0 0 4px 1px #CCC;list-style:none;z-index:100;padding:0;margin:0;border-radius:3px}.suggestion-box li{display:block;padding:6px 12px;border-bottom:1px solid #DDD}.suggestion-box li:last-child{border-bottom:0}.suggestion-box li.active{background-color:#EEE} \ No newline at end of file diff --git a/public/css/styles.css b/public/css/styles.css index 7b29705542e..f6d985e4eef 100644 --- a/public/css/styles.css +++ b/public/css/styles.css @@ -1 +1 @@ -article,aside,blockquote,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}.chapter-toggle,.toggle-switch{-moz-user-select:none;-webkit-user-select:none}.anim.fadeIn,.anim.searchResult{-webkit-animation-fill-mode:forwards}#markdown-editor .markdown-editor-wrap,.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel,.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body,.popup-body,body.flexbox{-webkit-box-orient:vertical;-webkit-box-direction:normal}*,.dropzone,.dropzone *{box-sizing:border-box}.title-input input[type=text],a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{margin:0;padding:0;border:0;font:inherit;vertical-align:baseline}.link,.text-button,a,body{font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:'';content:none}@font-face{font-family:Roboto;font-style:normal;font-weight:100;src:local("Roboto Thin"),local("Roboto-Thin"),url(../fonts/roboto-v15-cyrillic_latin-100.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-100.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:100;src:local("Roboto Thin Italic"),local("Roboto-ThinItalic"),url(../fonts/roboto-v15-cyrillic_latin-100italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-100italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:300;src:local("Roboto Light"),local("Roboto-Light"),url(../fonts/roboto-v15-cyrillic_latin-300.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-300.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:300;src:local("Roboto Light Italic"),local("Roboto-LightItalic"),url(../fonts/roboto-v15-cyrillic_latin-300italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-300italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:local("Roboto"),local("Roboto-Regular"),url(../fonts/roboto-v15-cyrillic_latin-regular.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-regular.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:400;src:local("Roboto Italic"),local("Roboto-Italic"),url(../fonts/roboto-v15-cyrillic_latin-italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:500;src:local("Roboto Medium"),local("Roboto-Medium"),url(../fonts/roboto-v15-cyrillic_latin-500.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-500.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:500;src:local("Roboto Medium Italic"),local("Roboto-MediumItalic"),url(../fonts/roboto-v15-cyrillic_latin-500italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-500italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:700;src:local("Roboto Bold"),local("Roboto-Bold"),url(../fonts/roboto-v15-cyrillic_latin-700.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-700.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:700;src:local("Roboto Bold Italic"),local("Roboto-BoldItalic"),url(../fonts/roboto-v15-cyrillic_latin-700italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-700italic.woff) format("woff")}@font-face{font-family:'Roboto Mono';font-style:normal;font-weight:400;src:local("Roboto Mono"),local("RobotoMono-Regular"),url(../fonts/roboto-mono-v4-latin-regular.woff2) format("woff2"),url(../fonts/roboto-mono-v4-latin-regular.woff) format("woff")}html{background-color:#FFF;height:100%;overflow-y:scroll}html.flexbox{overflow-y:hidden}body{font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}button{font-size:100%}.title-input input[type=text],h1{font-size:3.425em;line-height:1.22222222em;margin-top:.48888889em;margin-bottom:.48888889em}h3,h4,h5,h6{margin-top:.78571429em}h2,h3,h4{margin-bottom:.43137255em}h2{font-size:2.8275em;line-height:1.294117647em;margin-top:.8627451em}h3{font-size:2.333em;line-height:1.571428572em}h4{font-size:1.666em;line-height:1.375em}.title-input input[type=text],h1,h2,h3,h4,h5,h6{font-weight:400;position:relative;display:block;color:#555}.title-input input[type=text] .subheader,h1 .subheader,h2 .subheader,h3 .subheader,h4 .subheader,h5 .subheader,h6 .subheader{font-size:.5em;line-height:1em;color:#969696}h5{font-size:1.4em}h5,h6{font-weight:500;line-height:1.2em;margin-bottom:.66em}.link,.text-button,a{color:#0288D1;cursor:pointer;text-decoration:none;-webkit-transition:color ease-in-out 80ms;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:-webkit-linear-gradient(left,#FFF,#e3e0e0 20%,#e3e0e0 80%,#FFF);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}.text-small .text-small,.text-small p.small,.text-small small,.text-small span.small,p.small .text-small,p.small p.small,p.small small,p.small span.small,small .text-small,small p.small,small small,small span.small,span.small .text-small,span.small p.small,span.small small,span.small span.small{font-size:1em}.superscript,sup{vertical-align:super;font-size:.8em}.subscript,sub{vertical-align:sub;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}body.flexbox,ol,ul{overflow:hidden}blockquote{position:relative;border-left:4px solid #0288D1;background-color:#F8F8F8;padding:12px 16px 12px 32px}blockquote:before{content:"\201C";font-size:2em;font-weight:700;position:absolute;top:12px;left:12px;color:#777}.code-base,code,span.code{background-color:#F8F8F8;font-family:monospace;font-size:.8em;border:1px solid #DDD;border-radius:3px}code{display:inline;padding:1px 3px;white-space:pre;line-height:1.2em;margin-bottom:1.2em}.list>*,pre code{display:block}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:#969696}.text-primary,.text-primary:hover,p .primary,p .primary:hover,p.primary,p.primary:hover,span.primary,span.primary:hover{color:#0288D1}.text-secondary,.text-secondary:hover,p .secondary,p .secondary:hover,p.secondary,p.secondary:hover,span.secondary,span.secondary:hover{color:#e27b41}.text-book,.text-book:hover{color:#009688}.text-page,.text-page:hover{color:#0288D1}.text-page.draft,.text-page.draft:hover{color:#9A60DA}.text-chapter,.text-chapter:hover{color:#ef7c3c}.faded .text-book:hover{color:#009688!important}.faded .text-chapter:hover{color:#ef7c3c!important}.faded .text-page:hover{color:#0288D1!important}span.highlight{font-weight:700;padding:2px 4px}ul{padding-left:20.8px;list-style:disc}ol{list-style:decimal;padding-left:32px}.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}.action-header .title-input input[type=text],.action-header h1,.title-input .action-header input[type=text]{margin-top:16px}i{padding-right:6px}body.flexbox{display:-webkit-box;display:flex;flex-direction:column;-webkit-box-align:stretch;align-items:stretch;height:100%;min-height:100%;max-height:100%}body.flexbox #content{-webkit-box-flex:1;flex:1;display:-webkit-box;display:flex;min-height:0}.flex-fill{display:-webkit-box;display:flex;-webkit-box-align:stretch;align-items:stretch;min-height:0}.flex-fill .flex,.flex-fill.flex{min-height:0;-webkit-box-flex:1;flex:1}.flex-child>div{-webkit-box-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.medium{max-width:992px}.container.small{max-width:840px}.center-box{margin:32px auto 0;padding:16px 48px 64px;max-width:346px;display:inline-block;text-align:left;vertical-align:top}.center-box.login{background-color:#EEE;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border:1px solid #DDD}.row{margin-left:-16px;margin-right:-16px}.float{float:left}.float.right{float:right}.block{display:block;position:relative}.inline{display:inline}.block.inline{display:inline-block}.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{position:relative;min-height:1px;padding-left:16px;padding-right:16px}.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.row:after,.row:before{content:" ";display:table}.clearfix:after,.container-fluid:after,.container:after,.row:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.shaded{background-color:#f1f1f1}.shaded.pos{background-color:#d6ead7}.shaded.neg{background-color:#f4a9a9}.shaded.primary{background-color:#a1ddfe}.shaded.secondary{background-color:#f6d7c6}.bordered{border:1px solid #BBB}.bordered.pos{border-color:#52A256}.bordered.neg{border-color:#E84F4F}.bordered.primary{border-color:#0288D1}.bordered.secondary{border-color:#e27b41}.bordered.thick{border-width:2px}.rounded{border-radius:3px}.nopadding{padding:0}.padded{padding:24px}.padded.large{padding:32px}.padded>h1:first-child,.padded>h2:first-child,.padded>h3:first-child,.padded>h4:first-child,.title-input .padded>input[type=text]:first-child{margin-top:.1em}.padded-top,.padded-vertical{padding-top:16px}.padded-top.large,.padded-vertical.large{padding-top:32px}.padded-bottom,.padded-vertical{padding-bottom:16px}.padded-bottom.large,.padded-vertical.large{padding-bottom:32px}.padded-horizontal,.padded-left{padding-left:16px}.padded-horizontal.large,.padded-left.large{padding-left:32px}.padded-horizontal,.padded-right{padding-right:16px}.padded-horizontal.large,.padded-right.large{padding-right:32px}.margins{margin:24px}.margins.large{margin:32px}.margin-top,.margins-vertical{margin-top:16px}.margin-top.large,.margins-vertical.large{margin-top:32px}.margin-bottom,.margins-vertical{margin-bottom:16px}.margin-bottom.large,.margins-vertical.large{margin-bottom:32px}.margin-left,.margins-horizontal{margin-left:16px}.margin-left.large,.margins-horizontal.large{margin-left:32px}.margin-right,.margins-horizontal{margin-right:16px}.margin-right.large,.margins-horizontal.large,header .links{margin-right:32px}.callout{border-left:3px solid #BBB;background-color:#EEE;padding:12px;display:block}.callout:before{font-family:Material-Design-Iconic-Font;padding-right:12px;display:inline-block}.callout.success{border-left-color:#52A256;background-color:#e7f3e7;color:#376c39}.callout.success:before{content:'\f269'}.callout.danger{border-left-color:#E84F4F;background-color:#fce8e8;color:#b91818}.callout.danger:before{content:'\f1f2'}.callout.info{border-left-color:#0288D1;background-color:#d3efff;color:#015380}.callout.info:before{content:'\f1f8'}.callout.warning{border-left-color:#e27b41;background-color:#faeae0;color:#b6531c}.callout.warning:before{content:'\f1f1'}.button-group:after,.dz-preview .dz-error-message:after,.editor-toolbar:after,.pointer:before,.toggle-switch:after{content:''}.button,.button-base,input[type=button],input[type=submit]{text-decoration:none;font-size:15px;line-height:1.4em;padding:6px 16px;margin:6px 6px 6px 0;display:inline-block;border:none;font-weight:500;font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif;outline:0;border-radius:2px;cursor:pointer;-webkit-transition:all ease-in-out 120ms;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}.button[disabled],.button[disabled]:hover{background-color:#BBB;cursor:default}.text-button:active,.text-button:focus{outline:0}.text-button:hover{text-decoration:none}.text-button.neg{color:#E84F4F}.button-group:after{display:block;font-size:0;clear:both;position:relative}.button-group .button,.button-group button[type=button]{margin:6px 0;float:left;border-radius:0}.button-group .button:first-child,.button-group button[type=button]:first-child{border-radius:2px 0 0 2px}.button-group .button:last-child,.button-group button[type=button]:last-child{border-radius:0 2px 2px 0}.button.block{width:100%;text-align:center;display:block}.button.icon i{padding-right:0}.button[disabled]:hover{box-shadow:none}.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{font-family:'Roboto Mono',monospace}.input-base.invalid,.input-base.neg,input.invalid[type=text],input.invalid[type=number],input.invalid[type=email],input.invalid[type=search],input.invalid[type=url],input.invalid[type=password],input.neg[type=text],input.neg[type=number],input.neg[type=email],input.neg[type=search],input.neg[type=url],input.neg[type=password],select.invalid,select.neg,textarea.invalid,textarea.neg{border:1px solid #E84F4F}.input-base.pos,.input-base.valid,input.pos[type=text],input.pos[type=number],input.pos[type=email],input.pos[type=search],input.pos[type=url],input.pos[type=password],input.valid[type=text],input.valid[type=number],input.valid[type=email],input.valid[type=search],input.valid[type=url],input.valid[type=password],select.pos,select.valid,textarea.pos,textarea.valid{border:1px solid #52A256}.input-base.disabled,.input-base[disabled],input.disabled[type=text],input.disabled[type=number],input.disabled[type=email],input.disabled[type=search],input.disabled[type=url],input.disabled[type=password],input[disabled][type=text],input[disabled][type=number],input[disabled][type=email],input[disabled][type=search],input[disabled][type=url],input[disabled][type=password],select.disabled,select[disabled],textarea.disabled,textarea[disabled]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAMUlEQVQIW2NkwAGuXbv2nxGbHEhCS0uLEUMSJgHShCKJLIEiiS4Bl8QmAZbEJQGSBAC62BuJ+tt7zgAAAABJRU5ErkJggg==)}.input-base:focus,input[type=text]:focus,input[type=number]:focus,input[type=email]:focus,input[type=search]:focus,input[type=url]:focus,input[type=password]:focus,select:focus,textarea:focus{outline:0}#html-editor{display:none}#markdown-editor{position:relative;z-index:5}#markdown-editor textarea{font-style:normal;font-weight:400;padding:6px 16px;color:#444;border-radius:0;max-height:100%;-webkit-box-flex:1;flex:1;border:0;width:100%}#markdown-editor textarea:focus{outline:0}#markdown-editor .markdown-display,#markdown-editor .markdown-editor-wrap{-webkit-box-flex:1;flex:1;position:relative}#markdown-editor .markdown-editor-wrap{display:-webkit-box;display:flex;flex-direction:column;border:1px solid #DDD;width:50%}#markdown-editor .markdown-display{padding:0 16px;margin-left:-1px;overflow-y:scroll}#markdown-editor .markdown-display .page-content{margin:0 auto}.editor-toolbar{width:100%;padding:6px 16px;font-size:11px;line-height:1.6;border-bottom:1px solid #DDD;background-color:#EEE;-webkit-box-flex:0;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}.logo-text,.page-list h5,label.checkbox,label.radio{font-weight:400}label.checkbox input[type=radio],label.checkbox input[type=checkbox],label.radio input[type=radio],label.radio input[type=checkbox]{margin-right:6px}label+p.small{margin-bottom:.8em}.toggle-switch{background-color:#BBB;width:36px;height:14px;border-radius:7px;position:relative;-webkit-transition:all ease-in-out 120ms;transition:all ease-in-out 120ms;cursor:pointer;-ms-user-select:none;user-select:none}.toggle-switch:after{display:block;position:relative;left:0;margin-top:-3px;width:20px;height:20px;border-radius:50%;background-color:#fafafa;border:1px solid #CCC;box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);-webkit-transition:all ease-in-out 120ms;transition:all ease-in-out 120ms}.toggle-switch.active{background-color:rgba(82,162,86,.4)}.toggle-switch.active:after{left:16px;background-color:#52A256;border:#305e32}.toggle-switch-checkbox{display:none}input:checked+.toggle-switch{background-color:rgba(82,162,86,.4)}input:checked+.toggle-switch:after{left:16px;background-color:#52A256;border:#305e32}.form-group{margin-bottom:12px}.form-group textarea{display:block;width:100%;min-height:64px}.form-group .text-neg,.form-group .text-pos{padding:6px 0}.description-input textarea,.inline-input-style,.title-input input[type=text]{border:2px dotted #BBB;display:block;width:100%;padding:6px 12px}.title-input .input{width:100%}.description-input label,.title-input label{margin-top:16px;color:#666}.title-input input[type=text]{margin-top:0;padding-right:0;width:100%;color:#444}.title-input.page-title{font-size:.8em}.title-input.page-title .input{border:0;margin-bottom:-1px}.title-input.page-title input[type=text]{max-width:840px;margin:0 auto;border:none}.search-box,.search-box input,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}input.outline{border:0;border-bottom:2px solid #DDD;border-radius:0}input.outline:active,input.outline:focus{border:0;border-bottom:2px solid #AAA;outline:0}#login-form label[for=remember]{margin:0}#login-form label.toggle-switch{margin-left:32px}.image-picker img{background-color:#BBB}table{border-collapse:collapse;border-spacing:0;min-width:100px}table thead{background-color:#F8F8F8;font-weight:500}table td,table th{min-width:10px;padding:6px 8px;border:1px solid #DDD;overflow:auto;line-height:1.2}table td p,table th p{margin:0}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;margin:0}table.table th{font-weight:700}table.table tr:hover{background-color:#EEE}table.table .text-right{text-align:right}.dz-message,.dz-preview .dz-details,.dz-preview .dz-remove,.image-manager-content .full-tab,.mce-container-body.mce-flow-layout,table.table .text-center{text-align:center}table.file-table td,table.no-style td{border:0;padding:0}table.list-table{margin:-6px}table.list-table td{border:0;vertical-align:middle;padding:6px}.dropdown-container,.dz-preview,.logo-image,.logo-text,form.search-box button,header .links,header .user-name,header .user-name>*{vertical-align:top}table.file-table td{padding:6px}table.file-table .ui-sortable-helper{display:table}.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)}.anim.pointer,.loading-container>div{-webkit-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;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>div>.mce-tinymce.mce-container.mce-panel{-webkit-box-flex:1;flex:1 1 auto;display:-webkit-box!important;display:flex!important;flex-direction:column;-webkit-box-align:stretch;align-items:stretch;margin:0 -1px}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body{-webkit-box-flex:1;flex:1 1 auto;display:-webkit-box!important;display:flex!important;flex-direction:column;-webkit-box-align:stretch;align-items:stretch}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-toolbar-grp{-webkit-box-flex:0;flex:0 1 auto}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-edit-area{-webkit-box-flex:1;flex:1 1 auto;display:-webkit-box!important;display:flex!important;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-align:stretch;align-items:stretch}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-edit-area iframe{-webkit-box-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,.333);position:fixed;z-index:95536;width:100%;height:100%;min-width:100%;min-height:100%;top:0;left:0;right:0;bottom:0;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;display:none}.popup-body-wrap{display:-webkit-box;display:flex}.popup-body{background-color:#FFF;max-height:90%;width:1200px;height:auto;margin:2% 5%;border-radius:4px;box-shadow:0 0 15px 0 rgba(0,0,0,.3);overflow:hidden;z-index:999;display:-webkit-box;display:flex;flex-direction:column}.popup-body.small{margin:2% auto;width:800px;max-width:90%}.popup-body:before{display:-webkit-box;display:flex;align-self:flex-start}.corner-button{position:absolute;top:0;right:0;margin:0;height:40px;border-radius:0;box-shadow:none}.popup-footer,.popup-header{display:block!important;position:relative;height:40px;-webkit-box-flex:0!important;flex:none!important}.popup-footer .popup-title,.popup-header .popup-title{color:#FFF;padding:8px 16px}body.flexbox-support #entity-selector-wrap .popup-body .form-group{height:444px;min-height:444px}#entity-selector-wrap .popup-body .form-group{margin:0}.image-manager-body{min-height:70vh}.dropzone-container{position:relative;border:3px dashed #DDD}.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;-webkit-transition:all cubic-bezier(.4,0,1,1) 160ms;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;margin-left:1px;padding:16px 24px;overflow-y:auto;border-left:1px solid #DDD}.image-manager-sidebar .dropzone-container{margin-top:16px}.image-manager-list{overflow-y:scroll;-webkit-box-flex:1;flex:1}.image-manager-content,.page-editor{flex-direction:column;-webkit-box-orient:vertical;-webkit-box-direction:normal}.image-manager-content{display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1}.image-manager-content .container{width:100%}.dz-message{font-size:1.2em;line-height:1.1;font-style:italic;color:#aaa;cursor:pointer;padding:24px 16px;-webkit-transition:all ease-in-out 120ms;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:-webkit-linear-gradient(top,#eee,#ddd);background:linear-gradient(to bottom,#eee,#ddd)}.dz-preview.dz-image-preview{background:#fff}.dz-preview.dz-image-preview .dz-details{-webkit-transition:opacity .2s linear;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,.page-content del,.page-content ins{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;-webkit-transition:all .2s linear;transition:all .2s linear}.dz-preview.dz-complete .dz-progress{opacity:0;-webkit-transition:opacity .4s ease-in;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:-webkit-linear-gradient(top,#666,#444);background:linear-gradient(to bottom,#666,#444);position:absolute;top:0;left:0;bottom:0;width:0;-webkit-transition:width .3s ease-in-out;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;-webkit-transition:opacity .3s ease;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}[tab-container] .nav-tabs{text-align:left;border-bottom:1px solid #DDD;margin-bottom:16px}[tab-container] .nav-tabs .tab-item{padding:12px;color:#666}[tab-container] .nav-tabs .tab-item.selected{border-bottom-width:3px}.image-picker .none{display:none}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;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;-webkit-transition:all ease-in-out 120ms;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)}.book-tree,.book-tree.fixed{background-color:#FFF;top:0}.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 h4{margin:24px 0 6px;font-size:1.666em}.page-list a.chapter{color:#ef7c3c}.page-list .inset-list{display:none;overflow:hidden;margin-bottom:24px}.page-list h5{display:block;margin:12px 0 0;border-left:5px solid #0288D1;padding:6px 0 6px 16px;font-size:1.1em}.page-list h5.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{cursor:pointer;margin:0 0 24px;-webkit-transition:all ease-in-out 180ms;transition:all ease-in-out 180ms;-ms-user-select:none;user-select:none}.chapter-toggle i.zmdi-caret-right{-webkit-transition:all ease-in-out 180ms;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)}.sidebar-page-nav{list-style:none;margin:12px 0 16px 2px;border-left:2px dotted #BBB}.sidebar-page-nav li{padding-left:12px;margin-bottom:4px;font-size:.95em}.sidebar-page-nav .h1,.sidebar-page-nav .h2{margin-left:-2px}.sidebar-page-nav .h3{margin-left:12px}.sidebar-page-nav .h4{margin-left:24px}.sidebar-page-nav .h5{margin-left:36px}.sidebar-page-nav .h6{margin-left:48px}.book-tree{padding:6px 0 0;position:relative;right:0;-webkit-transition:ease-in-out 240ms;transition:ease-in-out 240ms;-webkit-transition-property:right,border;transition-property:right,border;border-left:0 solid #FFF}.book-tree.fixed{z-index:5;position:fixed;padding-left:24px;padding-right:39px;width:30%;right:-15px;height:100%;overflow-y:scroll;-ms-overflow-style:none;border-left:1px solid #DDD}.book-tree.fixed::-webkit-scrollbar{width:0!important}.book-tree h4{padding:16px 12px 0}.book-tree h4 i{padding-right:12px}.book-tree .sidebar-page-list{list-style:none;margin:6px 0 0;padding-left:0;border-left:5px solid #009688}.book-tree .sidebar-page-list li a{display:block;border-bottom:none;padding:6px 0 6px 12px}.book-tree .sidebar-page-list li a i{padding-right:8px}.book-tree .sidebar-page-list a,.book-tree .sidebar-page-list li{display:block}.book-tree .sidebar-page-list a.bold{color:#EEE!important}.book-tree .sidebar-page-list ul{list-style:none;margin:0}.book-tree .sidebar-page-list .book{color:#009688!important}.book-tree .sidebar-page-list .book.selected{background-color:rgba(0,150,136,.29)}.book-tree .sidebar-page-list .chapter{color:#ef7c3c!important}.book-tree .sidebar-page-list .chapter.selected{background-color:rgba(239,124,60,.12)}.book-tree .sidebar-page-list .chapter-toggle{padding-left:12px}.book-tree .sidebar-page-list .list-item-chapter{border-left:5px solid #ef7c3c;margin:10px;display:block}.book-tree .sidebar-page-list .list-item-page{border-bottom:none;border-left:5px solid #0288D1;margin:10px}.book-tree .sidebar-page-list .page{color:#0288D1!important;border-bottom:none}.book-tree .sidebar-page-list .page.selected{background-color:rgba(2,136,209,.1)}.book-tree .sidebar-page-list .list-item-page.draft{border-left:5px solid #9A60DA}.book-tree .sidebar-page-list .list-item-page.draft a.page,.book-tree .sidebar-page-list .page.draft .page{color:#9A60DA!important}.book-tree .sidebar-page-list .sub-menu{display:none;padding-left:0}.book-tree .sidebar-page-list .sub-menu.open{display:block}.sortable-page-list,.sortable-page-list ul{list-style:none;background-color:#FFF}.sort-box{margin-bottom:16px;padding:0 24px;border-left:4px solid #009688}.sortable-page-list,.sortable-page-list>ul{margin-left:0}.sortable-page-list ul{margin-bottom:0;margin-top:0;box-shadow:0 0 1px 0 rgba(0,0,0,.1)}.sortable-page-list li{border:1px solid #DDD;padding:6px 12px;margin-top:-1px;min-height:38px}.sortable-page-list li.text-chapter{border-left:2px solid #ef7c3c}.sortable-page-list li.text-page{border-left:2px solid #0288D1}.sortable-page-list li:first-child{margin-top:6px}.sortable-page-list li.placeholder{position:relative}.sortable-page-list li.placeholder:before{position:absolute}.activity-list-item{padding:12px 0;color:#888;border-bottom:1px solid #EEE;font-size:.9em}.activity-list-item .left+.right{margin-left:42px}ul.pagination{display:inline-block;list-style:none;margin:16px 0;padding-left:1px}ul.pagination li:first-child a,ul.pagination li:first-child span{border-radius:3px 0 0 3px}ul.pagination li:last-child a,ul.pagination li:last-child span{border-radius:0 3px 3px 0}ul.pagination a,ul.pagination span{display:block;padding:3px 12px;border:1px solid #CCC;margin-left:-1px;color:#888;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.compact ul.pagination,.entity-list h4{margin:0}.floating-toolbox .handle,.pointer span.icon{-webkit-user-select:none;-ms-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 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 .text-muted p.text-muted{margin-top:0}.entity-list .page.draft .text-page{color:#9A60DA}.entity-list.compact{font-size:.6em}.entity-list.compact a,.entity-list.compact h4{line-height:1.2}.entity-list.compact p{display:none;font-size:12px;padding-top:6px;margin:0}.entity-list.compact>p.empty-text{display:block;font-size:15px}.entity-list.compact hr{margin:0}.dropdown-container{display:inline-block;position:relative}.dropdown-container ul{display:none;position:absolute;z-index:999;top:0;list-style:none;right:0;margin:16px 0;background-color:#FFF;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border-radius:1px;border:1px solid #EEE;min-width:180px;padding:6px 0;color:#555;text-align:left!important}.dropdown-container ul.wide{min-width:220px}.dropdown-container ul .text-muted{color:#999}.dropdown-container ul li.padded{padding:6px 16px}.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:12px;padding-right:0;display:inline-block;width:16px}.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-box;display:flex;-webkit-box-align:stretch;align-items:stretch}.page-editor .faded-small{height:auto}.page-editor .edit-area{-webkit-box-flex:1;flex:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}.draft-notification{pointer-events:none;-webkit-transform:scale(0);transform:scale(0);-webkit-transition:-webkit-transform ease-in-out 120ms;transition:-webkit-transform ease-in-out 120ms;transition:transform ease-in-out 120ms;transition:transform ease-in-out 120ms,-webkit-transform ease-in-out 120ms;-webkit-transform-origin:50% 50%;transform-origin:50% 50%}.draft-notification.visible{-webkit-transform:scale(1);transform:scale(1)}.page-style.editor{padding:0!important}.page-content{max-width:840px;overflow-wrap:break-word}.page-content .align-left{text-align:left}.page-content img.align-left,.page-content table.align-left{float:left!important;margin:6px 12px 6px 0}.page-content .align-right{float:right!important}.page-content img.align-right,.page-content table.align-right{text-align:right;margin:6px 0 6px 12px}.page-content .align-center{text-align:center}.page-content img{max-width:100%;height:auto}.page-content .title-input input[type=text],.page-content h1,.page-content h2,.page-content h3,.page-content h4,.page-content h5,.page-content h6,.page-content pre,.title-input .page-content input[type=text]{clear:left}.page-content hr{clear:both;margin:16px 0}.page-content table{-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;table-layout:fixed;max-width:100%;height:auto!important}.page-content ins{background:#dbffdb}.page-content del{background:#FFECEC}.pointer-container{position:relative;display:none;left:0;z-index:10}.pointer,.pointer:before{position:absolute;background-color:#FFF}.pointer{border:1px solid #CCC;display:inline-block;padding:12px;border-radius:4px;box-shadow:0 0 8px 1px rgba(212,209,209,.35);top:-60px;width:272px;z-index:55}.pointer:before{left:50%;bottom:-9px;width:16px;height:16px;margin-left:-8px;display:block;-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 span.icon{cursor:pointer;-moz-user-select:none;user-select:none}.pointer .button{line-height:1;margin:0 0 0 -4px;box-shadow:none}.floating-toolbox{background-color:#FFF;border:1px solid #DDD;right:64px;width:48px;overflow:hidden;-webkit-box-align:stretch;align-items:stretch;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;display:-webkit-box;display:flex;-webkit-transition:width ease-in-out 180ms;transition:width ease-in-out 180ms;margin-top:-1px;min-height:0}.floating-toolbox div[toolbox-tab-content],.floating-toolbox form{-webkit-box-orient:vertical;-webkit-box-direction:normal;overflow-y:scroll}.floating-toolbox.open{width:480px}.floating-toolbox [toolbox-toggle] i{-webkit-transition:-webkit-transform ease-in-out 180ms;transition:-webkit-transform ease-in-out 180ms;transition:transform ease-in-out 180ms;transition:transform ease-in-out 180ms,-webkit-transform ease-in-out 180ms}.floating-toolbox [toolbox-toggle]{-webkit-transition:background-color ease-in-out 180ms;transition:background-color ease-in-out 180ms}.floating-toolbox.open [toolbox-toggle]{background-color:rgba(255,0,0,.29)}.floating-toolbox.open [toolbox-toggle] i{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.floating-toolbox>div{-webkit-box-flex:1;flex:1;position:relative}.floating-toolbox .tabs{display:block;border-right:1px solid #DDD;width:48px;-webkit-box-flex:0;flex:0 1 auto}.floating-toolbox .tabs i{color:rgba(0,0,0,.5);padding:0;margin:0}.floating-toolbox .tabs>span{display:block;cursor:pointer;padding:12px 16px;font-size:13.5px;line-height:1.6;border-bottom:1px solid rgba(255,255,255,.3)}.floating-toolbox.open .tabs>span.active{color:#444;background-color:rgba(0,0,0,.1)}.floating-toolbox div[toolbox-tab-content]{padding-bottom:45px;display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1;flex-direction:column;min-height:0}.floating-toolbox div[toolbox-tab-content] .padded{-webkit-box-flex:1;flex:1;padding-top:0}.floating-toolbox h4{font-size:24px;margin:16px 0 0;padding:0 24px 12px}.floating-toolbox .tags input{max-width:100%;width:100%;min-width:50px}.floating-toolbox .tags td{padding-right:12px;padding-top:12px;position:relative}.floating-toolbox .handle{-moz-user-select:none;user-select:none;cursor:move;color:#999}.floating-toolbox form{display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1;flex-direction:column}.floating-toolbox table td,.floating-toolbox table th{overflow:visible}[toolbox-tab-content]{display:none}.tag-display{width:100%;position:relative}.tag-display table{width:100%;margin:0;padding:0}.tag-display tr:first-child td{padding-top:0}.tag-display .heading th{padding:6px 12px;color:rgba(100,100,100,.7);border:0;font-weight:400}.tag-display td{border:0;border-bottom:1px solid #EEE;padding:6px 12px;color:#444}.tag-display tr td:first-child{padding-left:0}.tag-display .tag-value{color:#888}.tag-display tr:last-child td{border-bottom:none}.tag-display .tag{padding:12px}.suggestion-box{position:absolute;background-color:#FFF;border:1px solid #BBB;box-shadow:0 0 4px 1px #CCC;list-style:none;z-index:100;padding:0;margin:0;border-radius:3px}.avatar,.notification,.suggestion-box li.active{background-color:#EEE}.suggestion-box li{display:block;padding:6px 12px;border-bottom:1px solid #DDD}.suggestion-box li:last-child{border-bottom:0}[v-cloak],[v-show]{display:none}.ng-cloak,[ng-cloak],[ng\:cloak]{display:none!important;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}[ng-click]{cursor:pointer}.dragged{position:absolute;opacity:.5;z-index:2000}body.dragging,body.dragging *{cursor:move!important}.avatar{border-radius:100%;width:30px;height:30px}.avatar.square,.notification{border-radius:3px}.avatar.med{width:40px;height:40px}.avatar.large{width:80px;height:80px}.avatar.huge{width:120px;height:120px}.notification{position:fixed;top:0;right:0;margin:64px 32px;padding:24px 32px;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);z-index:999999;display:block;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;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;-webkit-transition:all ease-in-out 180ms;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-box;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-box-flex:5;flex:5}.contained-search-box input:active,.contained-search-box input:focus{outline:0}.contained-search-box button{width:60px}.contained-search-box button i{padding:0}.contained-search-box button.cancel.active{background-color:#E84F4F;color:#EEE}.entity-selector{border:1px solid #DDD;border-radius:3px;overflow:hidden;font-size:.8em}.entity-selector input[type=text]{width:100%;display:block;border-radius:0;border:0;border-bottom:1px solid #DDD;font-size:16px;padding:12px 16px}.entity-selector .entity-list{overflow-y:scroll;height:400px;background-color:#EEE}.entity-selector .loading{height:400px;padding-top:24px}.entity-selector .entity-list>p{text-align:center;padding-top:24px;font-size:1.333em}.entity-selector .entity-list>div{padding-left:16px;padding-right:16px;background-color:#FFF;-webkit-transition:all ease-in-out 120ms;transition:all ease-in-out 120ms;cursor:pointer}.entity-list-item.selected a,.entity-list-item.selected h3,.entity-list-item.selected i,.entity-list-item.selected p,.entity-list-item.selected span{color:#EEE} \ No newline at end of file +code,pre{white-space:pre}.anim.fadeIn,.anim.searchResult{-webkit-animation-fill-mode:forwards}#markdown-editor .markdown-editor-wrap,.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel,.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body,.popup-body,body.flexbox{-webkit-box-orient:vertical;-webkit-box-direction:normal}*,.dropzone,.dropzone *{box-sizing:border-box}.title-input input[type=text],a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{margin:0;padding:0;border:0;font:inherit;vertical-align:baseline}.link,.text-button,a,body{font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:'';content:none}@font-face{font-family:Roboto;font-style:normal;font-weight:100;src:local("Roboto Thin"),local("Roboto-Thin"),url(../fonts/roboto-v15-cyrillic_latin-100.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-100.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:100;src:local("Roboto Thin Italic"),local("Roboto-ThinItalic"),url(../fonts/roboto-v15-cyrillic_latin-100italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-100italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:300;src:local("Roboto Light"),local("Roboto-Light"),url(../fonts/roboto-v15-cyrillic_latin-300.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-300.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:300;src:local("Roboto Light Italic"),local("Roboto-LightItalic"),url(../fonts/roboto-v15-cyrillic_latin-300italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-300italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:local("Roboto"),local("Roboto-Regular"),url(../fonts/roboto-v15-cyrillic_latin-regular.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-regular.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:400;src:local("Roboto Italic"),local("Roboto-Italic"),url(../fonts/roboto-v15-cyrillic_latin-italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:500;src:local("Roboto Medium"),local("Roboto-Medium"),url(../fonts/roboto-v15-cyrillic_latin-500.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-500.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:500;src:local("Roboto Medium Italic"),local("Roboto-MediumItalic"),url(../fonts/roboto-v15-cyrillic_latin-500italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-500italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:700;src:local("Roboto Bold"),local("Roboto-Bold"),url(../fonts/roboto-v15-cyrillic_latin-700.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-700.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:700;src:local("Roboto Bold Italic"),local("Roboto-BoldItalic"),url(../fonts/roboto-v15-cyrillic_latin-700italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-700italic.woff) format("woff")}@font-face{font-family:'Roboto Mono';font-style:normal;font-weight:400;src:local("Roboto Mono"),local("RobotoMono-Regular"),url(../fonts/roboto-mono-v4-latin-regular.woff2) format("woff2"),url(../fonts/roboto-mono-v4-latin-regular.woff) format("woff")}html{background-color:#FFF;height:100%;overflow-y:scroll}html.flexbox{overflow-y:hidden}body{font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}button{font-size:100%}.title-input input[type=text],h1{font-size:3.425em;line-height:1.22222222em;margin-top:.48888889em;margin-bottom:.48888889em}h3,h4,h5,h6{margin-top:.78571429em}h2,h3,h4{margin-bottom:.43137255em}h2{font-size:2.8275em;line-height:1.294117647em;margin-top:.8627451em}h3{font-size:2.333em;line-height:1.221428572em}h4{font-size:1.666em;line-height:1.375em}.title-input input[type=text],h1,h2,h3,h4,h5,h6{font-weight:400;position:relative;display:block;color:#555}.title-input input[type=text] .subheader,h1 .subheader,h2 .subheader,h3 .subheader,h4 .subheader,h5 .subheader,h6 .subheader{font-size:.5em;line-height:1em;color:#969696}h5{font-size:1.4em}h5,h6{font-weight:500;line-height:1.2em;margin-bottom:.66em}.link,.text-button,a{color:#0288D1;cursor:pointer;text-decoration:none;-webkit-transition:color ease-in-out 80ms;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}.icon.text-button,.link.icon,a.icon{display:inline-block}.link svg,.text-button svg,a svg{position:relative;display:inline-block}blockquote,ol,p,pre,table,ul{margin-top:.3em;margin-bottom:1.375em}hr{border:0;height:1px;background:#EAEAEA;margin-bottom:24px}hr.faded{background-image:-webkit-linear-gradient(left,#FFF,#e3e0e0 20%,#e3e0e0 80%,#FFF);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}.text-small .text-small,.text-small p.small,.text-small small,.text-small span.small,p.small .text-small,p.small p.small,p.small small,p.small span.small,small .text-small,small p.small,small small,small span.small,span.small .text-small,span.small p.small,span.small small,span.small span.small{font-size:1em}.superscript,sup{vertical-align:super;font-size:.8em}.subscript,sub{vertical-align:sub;font-size:.8em}.notification span,table.list-table td{vertical-align:middle}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}body.flexbox,ol,ul{overflow:hidden}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,.callout{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}.list>*,pre code{display:block}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:#969696}.text-primary,.text-primary:hover,p .primary,p .primary:hover,p.primary,p.primary:hover,span.primary,span.primary:hover{color:#0288D1}.text-secondary,.text-secondary:hover,p .secondary,p .secondary:hover,p.secondary,p.secondary:hover,span.secondary,span.secondary:hover{color:#e27b41}.text-book,.text-book:hover{color:#009688}.text-page,.text-page:hover{color:#0288D1}.text-page.draft,.text-page.draft:hover{color:#9A60DA}.text-chapter,.text-chapter:hover{color:#ef7c3c}.faded .text-book:hover{color:#009688!important}.faded .text-chapter:hover{color:#ef7c3c!important}.faded .text-page:hover{color:#0288D1!important}span.highlight{font-weight:700;padding:2px 4px}ul{padding-left:20.8px;list-style:disc}ol{list-style:decimal;padding-left:32px}li.checkbox-item{list-style:none;margin-left:-20.8px}li.checkbox-item input[type=checkbox]{margin-right:6px}.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}.action-header .title-input input[type=text],.action-header h1,.title-input .action-header input[type=text]{margin-top:16px}i{padding-right:6px}body.flexbox{display:-webkit-box;display:flex;flex-direction:column;-webkit-box-align:stretch;align-items:stretch;height:100%;min-height:100%;max-height:100%}body.flexbox #content{-webkit-box-flex:1;flex:1;display:-webkit-box;display:flex;min-height:0}.flex-fill{display:-webkit-box;display:flex;-webkit-box-align:stretch;align-items:stretch;min-height:0}.flex-fill .flex,.flex-fill.flex{min-height:0;-webkit-box-flex:1;flex:1}.flex-child>div{-webkit-box-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.medium{max-width:992px}.container.small{max-width:840px}.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}.clearfix:after,.container-fluid:after,.container:after,.row:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.shaded{background-color:#f1f1f1}.shaded.pos{background-color:#d6ead7}.shaded.neg{background-color:#f4a9a9}.shaded.primary{background-color:#a1ddfe}.shaded.secondary{background-color:#f6d7c6}.bordered{border:1px solid #BBB}.bordered.pos{border-color:#52A256}.bordered.neg{border-color:#E84F4F}.bordered.primary{border-color:#0288D1}.bordered.secondary{border-color:#e27b41}.bordered.thick{border-width:2px}.rounded{border-radius:3px}.nopadding{padding:0}.padded{padding:24px}.padded.large{padding:32px}.padded>h1:first-child,.padded>h2:first-child,.padded>h3:first-child,.padded>h4:first-child,.title-input .padded>input[type=text]:first-child{margin-top:.1em}.padded-top,.padded-vertical{padding-top:16px}.padded-top.large,.padded-vertical.large{padding-top:32px}.padded-bottom,.padded-vertical{padding-bottom:16px}.padded-bottom.large,.padded-vertical.large{padding-bottom:32px}.padded-horizontal,.padded-left{padding-left:16px}.padded-horizontal.large,.padded-left.large{padding-left:32px}.padded-horizontal,.padded-right{padding-right:16px}.padded-horizontal.large,.padded-right.large{padding-right:32px}.margins{margin:24px}.margins.large{margin:32px}.margin-top,.margins-vertical{margin-top:16px}.margin-top.large,.margins-vertical.large{margin-top:32px}.margin-bottom,.margins-vertical{margin-bottom:16px}.margin-bottom.large,.margins-vertical.large{margin-bottom:32px}.margin-left,.margins-horizontal{margin-left:16px}.margin-left.large,.margins-horizontal.large{margin-left:32px}.margin-right,.margins-horizontal{margin-right:16px}.margin-right.large,.margins-horizontal.large{margin-right:32px}.callout{border-left:3px solid #BBB;background-color:#EEE;padding:12px 12px 12px 32px;display:block}.callout:before{font-family:Material-Design-Iconic-Font;left:10px;top:50%;margin-top:-9px;display:inline-block;position:absolute;font-size:1.222em;line-height:1}.callout.success{border-left-color:#52A256;background-color:#e7f3e7;color:#376c39}.callout.success:before{content:'\f269'}.callout.danger{border-left-color:#E84F4F;background-color:#fce8e8;color:#b91818}.callout.danger:before{content:'\f1f2'}.callout.info{border-left-color:#0288D1;background-color:#d3efff;color:#015380}.callout.info:before{content:'\f1f8'}.callout.warning{border-left-color:#e27b41;background-color:#faeae0;color:#b6531c}.callout.warning:before{content:'\f1f1'}.button-group:after,.dz-preview .dz-error-message:after,.editor-toolbar:after,.pointer:before,.toggle-switch:after{content:''}.button,.button-base,input[type=button],input[type=submit]{text-decoration:none;font-size:15px;line-height:1.4em;padding:6px 16px;margin:6px 6px 6px 0;display:inline-block;border:none;font-weight:500;font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif;outline:0;border-radius:2px;cursor:pointer;-webkit-transition:all ease-in-out 120ms;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}.button.muted-light,input[type=button].muted-light,input[type=submit].muted-light{background-color:#e4e4e4;color:#666}.button.muted-light:hover,input[type=button].muted-light:hover,input[type=submit].muted-light:hover{background-color:#f8f8f8;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#666}.button.muted-light:active,input[type=button].muted-light:active,input[type=submit].muted-light:active{background-color:#d0d0d0}.button.muted-light:focus,input[type=button].muted-light:focus,input[type=submit].muted-light:focus{background-color:#eee;box-shadow:0 0 4px 1px #CCC;text-decoration:none;color:#666}.text-button{background-color:transparent;padding:0;margin:0;border:none}.button[disabled],.button[disabled]:hover{background-color:#BBB;cursor:default}.text-button:active,.text-button:focus{outline:0}.text-button:hover{text-decoration:none}.text-button.neg{color:#E84F4F}.button-group:after{display:block;font-size:0;clear:both;position:relative}.button-group .button,.button-group button[type=button]{margin:6px 0;float:left;border-radius:0}.button-group .button:first-child,.button-group button[type=button]:first-child{border-radius:2px 0 0 2px}.button-group .button:last-child,.button-group button[type=button]:last-child{border-radius:0 2px 2px 0}.button.block{width:100%;text-align:center;display:block}.button.block.text-left{text-align:left}.button.icon i{padding-right:0}.button.svg{padding:12px 16px 10px 56px}.button.svg svg{display:inline-block;position:absolute;left:16px;top:10px;width:24px}#markdown-editor,.search-box,.toggle-switch,.toggle-switch:after{position:relative}.button[disabled]:hover{box-shadow:none}.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{font-family:'Roboto Mono',monospace}.input-base.invalid,.input-base.neg,input.invalid[type=text],input.invalid[type=number],input.invalid[type=email],input.invalid[type=search],input.invalid[type=url],input.invalid[type=password],input.neg[type=text],input.neg[type=number],input.neg[type=email],input.neg[type=search],input.neg[type=url],input.neg[type=password],select.invalid,select.neg,textarea.invalid,textarea.neg{border:1px solid #E84F4F}.input-base.pos,.input-base.valid,input.pos[type=text],input.pos[type=number],input.pos[type=email],input.pos[type=search],input.pos[type=url],input.pos[type=password],input.valid[type=text],input.valid[type=number],input.valid[type=email],input.valid[type=search],input.valid[type=url],input.valid[type=password],select.pos,select.valid,textarea.pos,textarea.valid{border:1px solid #52A256}.input-base.disabled,.input-base[disabled],input.disabled[type=text],input.disabled[type=number],input.disabled[type=email],input.disabled[type=search],input.disabled[type=url],input.disabled[type=password],input[disabled][type=text],input[disabled][type=number],input[disabled][type=email],input[disabled][type=search],input[disabled][type=url],input[disabled][type=password],select.disabled,select[disabled],textarea.disabled,textarea[disabled]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAMUlEQVQIW2NkwAGuXbv2nxGbHEhCS0uLEUMSJgHShCKJLIEiiS4Bl8QmAZbEJQGSBAC62BuJ+tt7zgAAAABJRU5ErkJggg==)}.input-base:focus,input[type=text]:focus,input[type=number]:focus,input[type=email]:focus,input[type=search]:focus,input[type=url]:focus,input[type=password]:focus,select:focus,textarea:focus{outline:0}#html-editor{display:none}#markdown-editor{z-index:5}#markdown-editor textarea{font-style:normal;font-weight:400;padding:6px 16px;color:#444;border-radius:0;max-height:100%;-webkit-box-flex:1;flex:1;border:0;width:100%}#markdown-editor textarea:focus{outline:0}#markdown-editor .markdown-display,#markdown-editor .markdown-editor-wrap{-webkit-box-flex:1;flex:1;position:relative}#markdown-editor .markdown-editor-wrap{display:-webkit-box;display:flex;flex-direction:column;border:1px solid #DDD;width:50%}#markdown-editor .markdown-display{padding:0 16px;margin-left:-1px;overflow-y:scroll}#markdown-editor .markdown-display .page-content{margin:0 auto}.editor-toolbar{width:100%;padding:6px 16px;font-size:11px;line-height:1.6;border-bottom:1px solid #DDD;background-color:#EEE;-webkit-box-flex:0;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}.logo-text,.page-list h5,label.checkbox,label.radio{font-weight:400}label.checkbox input[type=checkbox],label.checkbox input[type=radio],label.radio input[type=checkbox],label.radio input[type=radio]{margin-right:6px}label+p.small{margin-bottom:.8em}.toggle-switch{background-color:#BBB;width:36px;height:14px;border-radius:7px;-webkit-transition:all ease-in-out 120ms;transition:all ease-in-out 120ms;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;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);-webkit-transition:all ease-in-out 120ms;transition:all ease-in-out 120ms}.toggle-switch.active{background-color:rgba(82,162,86,.4)}.toggle-switch.active:after{left:16px;background-color:#52A256;border:#305e32}.toggle-switch-checkbox{display:none}input:checked+.toggle-switch{background-color:rgba(82,162,86,.4)}input:checked+.toggle-switch:after{left:16px;background-color:#52A256;border:#305e32}.form-group{margin-bottom:12px}.form-group textarea{display:block;width:100%;min-height:64px}.form-group .text-neg,.form-group .text-pos{padding:6px 0}.description-input textarea,.inline-input-style,.title-input input[type=text]{border:2px dotted #BBB;display:block;width:100%;padding:6px 12px}.title-input .input{width:100%}.description-input label,.title-input label{margin-top:16px;color:#666}.title-input input[type=text]{margin-top:0;padding-right:0;width:100%;color:#444}.title-input.page-title{font-size:.8em}.title-input.page-title .input{border:0;margin-bottom:-1px}.title-input.page-title input[type=text]{max-width:840px;margin:0 auto;border:none}.search-box,.search-box input,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 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}input.outline{border:0;border-bottom:2px solid #DDD;border-radius:0}input.outline:active,input.outline:focus{border:0;border-bottom:2px solid #AAA;outline:0}#login-form label[for=remember]{margin:0}#login-form label.toggle-switch{margin-left:32px}.image-picker img{background-color:#BBB}table{border-collapse:collapse;border-spacing:0;min-width:100px}table thead{background-color:#F8F8F8;font-weight:500}table td,table th{min-width:10px;padding:6px 8px;border:1px solid #DDD;overflow:auto;line-height:1.2}table td p,table th p{margin:0}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;margin:0}table.table th{font-weight:700}table.table tr:hover{background-color:#EEE}table.table .text-right{text-align:right}.dz-message,.dz-preview .dz-details,.dz-preview .dz-remove,.image-manager-content .full-tab,.mce-container-body.mce-flow-layout,table.table .text-center{text-align:center}table.file-table td,table.no-style td{border:0;padding:0}table.list-table{margin:-6px}table.list-table td{border:0;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}table.file-table td{padding:6px}table.file-table .ui-sortable-helper{display:table}.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>div>.mce-tinymce.mce-container.mce-panel{-webkit-box-flex:1;flex:1 1 auto;display:-webkit-box!important;display:flex!important;flex-direction:column;-webkit-box-align:stretch;align-items:stretch;margin:0 -1px}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body{-webkit-box-flex:1;flex:1 1 auto;display:-webkit-box!important;display:flex!important;flex-direction:column;-webkit-box-align:stretch;align-items:stretch}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-toolbar-grp{-webkit-box-flex:0;flex:0 1 auto}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-edit-area{-webkit-box-flex:1;flex:1 1 auto;display:-webkit-box!important;display:flex!important;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-align:stretch;align-items:stretch}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-edit-area iframe{-webkit-box-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,.333);position:fixed;z-index:95536;width:100%;height:100%;min-width:100%;min-height:100%;top:0;left:0;right:0;bottom:0;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;display:none}.popup-body-wrap{display:-webkit-box;display:flex}.popup-body{background-color:#FFF;max-height:90%;width:1200px;height:auto;margin:2% 5%;border-radius:4px;box-shadow:0 0 15px 0 rgba(0,0,0,.3);overflow:hidden;z-index:999;display:-webkit-box;display:flex;flex-direction:column}.popup-body.small{margin:2% auto;width:800px;max-width:90%}.popup-body:before{display:-webkit-box;display:flex;align-self:flex-start}.corner-button{position:absolute;top:0;right:0;margin:0;height:40px;border-radius:0;box-shadow:none}.popup-footer,.popup-header{display:block!important;position:relative;height:40px;-webkit-box-flex:0!important;flex:none!important}.popup-footer .popup-title,.popup-header .popup-title{color:#FFF;padding:8px 16px}body.flexbox-support #entity-selector-wrap .popup-body .form-group{height:444px;min-height:444px}#entity-selector-wrap .popup-body .form-group{margin:0}.image-manager-body{min-height:70vh}.dropzone-container{position:relative;border:3px dashed #DDD}.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;-webkit-transition:all cubic-bezier(.4,0,1,1) 160ms;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;margin-left:1px;padding:16px 24px;overflow-y:auto;border-left:1px solid #DDD}.image-manager-sidebar .dropzone-container{margin-top:16px}.image-manager-list{overflow-y:scroll;-webkit-box-flex:1;flex:1}.image-manager-content,.page-editor{flex-direction:column;-webkit-box-orient:vertical;-webkit-box-direction:normal}.image-manager-content{display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1}.image-manager-content .container{width:100%}.dz-message{font-size:1.2em;line-height:1.1;font-style:italic;color:#aaa;cursor:pointer;padding:24px 16px;-webkit-transition:all ease-in-out 120ms;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:-webkit-linear-gradient(top,#eee,#ddd);background:linear-gradient(to bottom,#eee,#ddd)}.dz-preview.dz-image-preview{background:#fff}.dz-preview.dz-image-preview .dz-details{-webkit-transition:opacity .2s linear;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}.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;-webkit-transition:all .2s linear;transition:all .2s linear}.dz-preview.dz-complete .dz-progress{opacity:0;-webkit-transition:opacity .4s ease-in;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:-webkit-linear-gradient(top,#666,#444);background:linear-gradient(to bottom,#666,#444);position:absolute;top:0;left:0;bottom:0;width:0;-webkit-transition:width .3s ease-in-out;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;-webkit-transition:opacity .3s ease;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}[tab-container] .nav-tabs{text-align:left;border-bottom:1px solid #DDD;margin-bottom:16px}[tab-container] .nav-tabs .tab-item{padding:12px;color:#666}[tab-container] .nav-tabs .tab-item.selected{border-bottom-width:3px}.image-picker .none{display:none}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;text-decoration:none}.logo-text{font-size:1.8em;color:#fff;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;-webkit-transition:all ease-in-out 120ms;transition:all ease-in-out 120ms}.faded .text-button:hover{opacity:1;text-decoration:none}.faded-small{color:#000;font-size:.9em;background-color:rgba(21,101,192,.15)}.book-tree,.book-tree.fixed{background-color:#FFF;top:0}.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 h4{margin:24px 0 6px;font-size:1.666em}.page-list a.chapter{color:#ef7c3c}.page-list .inset-list{display:none;overflow:hidden;margin-bottom:24px}.page-list h5{display:block;margin:12px 0 0;border-left:5px solid #0288D1;padding:6px 0 6px 16px;font-size:1.1em}.page-list h5.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{cursor:pointer;margin:0 0 24px;-webkit-transition:all ease-in-out 180ms;transition:all ease-in-out 180ms;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.chapter-toggle i.zmdi-caret-right{-webkit-transition:all ease-in-out 180ms;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)}.sidebar-page-nav{list-style:none;margin:12px 0 16px 2px;border-left:2px dotted #BBB}.sidebar-page-nav li{padding-left:12px;margin-bottom:4px;font-size:.95em}.sidebar-page-nav .h1,.sidebar-page-nav .h2{margin-left:-2px}.sidebar-page-nav .h3{margin-left:12px}.sidebar-page-nav .h4{margin-left:24px}.sidebar-page-nav .h5{margin-left:36px}.sidebar-page-nav .h6{margin-left:48px}.book-tree{padding:6px 0 0;position:relative;right:0;-webkit-transition:ease-in-out 240ms;transition:ease-in-out 240ms;-webkit-transition-property:right,border;transition-property:right,border;border-left:0 solid #FFF}.book-tree.fixed{z-index:5;position:fixed;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:hover{text-decoration:none}.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)}.dropdown-container ul,.sortable-page-list,.sortable-page-list ul{background-color:#FFF;list-style:none}.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}.sort-box{margin-bottom:16px;padding:0 24px;border-left:4px solid #009688}.sortable-page-list,.sortable-page-list>ul{margin-left:0}.sortable-page-list ul{margin-bottom:0;margin-top:0;box-shadow:0 0 1px 0 rgba(0,0,0,.1)}.sortable-page-list li{border:1px solid #DDD;padding:6px 12px;margin-top:-1px;min-height:38px}.sortable-page-list li.text-chapter{border-left:2px solid #ef7c3c}.sortable-page-list li.text-page{border-left:2px solid #0288D1}.sortable-page-list li:first-child{margin-top:6px}.sortable-page-list li.placeholder{position:relative}.sortable-page-list li.placeholder:before{position:absolute}.activity-list-item{padding:12px 0;color:#888;border-bottom:1px solid #EEE;font-size:.9em}.activity-list-item .left+.right{margin-left:42px}ul.pagination{display:inline-block;list-style:none;margin:16px 0;padding-left:1px}ul.pagination li:first-child a,ul.pagination li:first-child span{border-radius:3px 0 0 3px}ul.pagination li:last-child a,ul.pagination li:last-child span{border-radius:0 3px 3px 0}ul.pagination a,ul.pagination span{display:block;padding:3px 12px;border:1px solid #CCC;margin-left:-1px;color:#888;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.compact ul.pagination,.entity-list h4{margin:0}ul.pagination a.disabled,ul.pagination span.disabled{cursor:not-allowed}ul.pagination li.active span{background-color:rgba(2,136,209,.8);color:#EEE;border-color:rgba(2,136,209,.8)}ul.pagination a{color:#0288D1}.entity-list>div{padding:16px 0}.entity-list p{margin:6px 0 0}.entity-list hr{margin:0}.entity-list .text-small.text-muted{color:#AAA;font-size:.75em;margin-top:6px}.entity-list .text-muted p.text-muted{margin-top:0}.entity-list .page.draft .text-page{color:#9A60DA}.entity-list.compact{font-size:.6em}.entity-list.compact a,.entity-list.compact h4{line-height:1.2}.entity-list.compact p{display:none;font-size:12px;padding-top:6px;margin:0}.entity-list.compact>p.empty-text{display:block;font-size:15px}.entity-list.compact hr{margin:0}.dropdown-container{display:inline-block;position:relative}.dropdown-container ul{display:none;position:absolute;z-index:999;top:0;right:0;margin:16px 0;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 li.padded{padding:6px 16px}.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:12px;padding-right:0;display:inline-block;width:16px}.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-box;display:flex;-webkit-box-align:stretch;align-items:stretch}.page-editor .faded-small{height:auto}.page-editor .edit-area{-webkit-box-flex:1;flex:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}.draft-notification{pointer-events:none;-webkit-transform:scale(0);transform:scale(0);-webkit-transition:-webkit-transform ease-in-out 120ms;transition:-webkit-transform ease-in-out 120ms;transition:transform ease-in-out 120ms;transition:transform ease-in-out 120ms,-webkit-transform ease-in-out 120ms;-webkit-transform-origin:50% 50%;transform-origin:50% 50%}.draft-notification.visible{-webkit-transform:scale(1);transform:scale(1)}.page-style.editor{padding:0!important}.page-content{max-width:840px;overflow-wrap:break-word}.page-content .align-left{text-align:left}.page-content img.align-left,.page-content table.align-left{float:left!important;margin:6px 12px 6px 0}.page-content .align-right{float:right!important}.page-content img.align-right,.page-content table.align-right{text-align:right;margin:6px 0 6px 12px}.page-content .align-center{text-align:center}.page-content img{max-width:100%;height:auto}.page-content .title-input input[type=text],.page-content h1,.page-content h2,.page-content h3,.page-content h4,.page-content h5,.page-content h6,.page-content pre,.title-input .page-content input[type=text]{clear:left}.page-content hr{clear:both;margin:16px 0}.page-content table{-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;table-layout:fixed;max-width:100%;height:auto!important}.page-content del,.page-content ins{text-decoration:none}.page-content ins{background:#dbffdb}.page-content del{background:#FFECEC}.pointer-container{position:relative;display:none;left:0;z-index:10}.pointer,.pointer:before{position:absolute;background-color:#FFF}.pointer{border:1px solid #CCC;display:inline-block;padding:12px;border-radius:4px;box-shadow:0 0 8px 1px rgba(212,209,209,.35);top:-60px;width:272px;z-index:55}.pointer:before{left:50%;bottom:-9px;width:16px;height:16px;margin-left:-8px;display:block;-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 span.icon{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.pointer .button{line-height:1;margin:0 0 0 -4px;box-shadow:none}.floating-toolbox{background-color:#FFF;border:1px solid #DDD;right:64px;width:48px;overflow:hidden;-webkit-box-align:stretch;align-items:stretch;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;display:-webkit-box;display:flex;-webkit-transition:width ease-in-out 180ms;transition:width ease-in-out 180ms;margin-top:-1px;min-height:0}.floating-toolbox div[toolbox-tab-content],.floating-toolbox form{-webkit-box-orient:vertical;-webkit-box-direction:normal;overflow-y:scroll}.floating-toolbox.open{width:480px}.floating-toolbox [toolbox-toggle] i{-webkit-transition:-webkit-transform ease-in-out 180ms;transition:-webkit-transform ease-in-out 180ms;transition:transform ease-in-out 180ms;transition:transform ease-in-out 180ms,-webkit-transform ease-in-out 180ms}.floating-toolbox [toolbox-toggle]{-webkit-transition:background-color ease-in-out 180ms;transition:background-color ease-in-out 180ms}.floating-toolbox.open [toolbox-toggle]{background-color:rgba(255,0,0,.29)}.floating-toolbox.open [toolbox-toggle] i{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.floating-toolbox>div{-webkit-box-flex:1;flex:1;position:relative}.floating-toolbox .tabs{display:block;border-right:1px solid #DDD;width:48px;-webkit-box-flex:0;flex:0 1 auto}.floating-toolbox .tabs i{color:rgba(0,0,0,.5);padding:0;margin:0}.floating-toolbox .tabs>span{display:block;cursor:pointer;padding:12px 16px;font-size:13.5px;line-height:1.6;border-bottom:1px solid rgba(255,255,255,.3)}.floating-toolbox.open .tabs>span.active{color:#444;background-color:rgba(0,0,0,.1)}.floating-toolbox div[toolbox-tab-content]{padding-bottom:45px;display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1;flex-direction:column;min-height:0}.floating-toolbox div[toolbox-tab-content] .padded{-webkit-box-flex:1;flex:1;padding-top:0}.floating-toolbox h4{font-size:24px;margin:16px 0 0;padding:0 24px 12px}.floating-toolbox .tags input{max-width:100%;width:100%;min-width:50px}.floating-toolbox .tags td{padding-right:12px;padding-top:12px;position:relative}.floating-toolbox .handle{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:move;color:#999}.floating-toolbox form{display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1;flex-direction:column}.floating-toolbox table td,.floating-toolbox table th{overflow:visible}[toolbox-tab-content]{display:none}.tag-display{width:100%;position:relative}.tag-display table{width:100%;margin:0;padding:0}.tag-display tr:first-child td{padding-top:0}.tag-display .heading th{padding:6px 12px;color:rgba(100,100,100,.7);border:0;font-weight:400}.tag-display td{border:0;border-bottom:1px solid #EEE;padding:6px 12px;color:#444}.tag-display tr td:first-child{padding-left:0}.tag-display .tag-value{color:#888}.tag-display tr:last-child td{border-bottom:none}.tag-display .tag{padding:12px}.suggestion-box{position:absolute;background-color:#FFF;border:1px solid #BBB;box-shadow:0 0 4px 1px #CCC;list-style:none;z-index:100;padding:0;margin:0;border-radius:3px}.avatar,.notification,.suggestion-box li.active{background-color:#EEE}.suggestion-box li{display:block;padding:6px 12px;border-bottom:1px solid #DDD}.suggestion-box li:last-child{border-bottom:0}[v-cloak],[v-show]{display:none}.ng-cloak,[ng-cloak],[ng\:cloak]{display:none!important;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}[ng-click]{cursor:pointer}.dragged{position:absolute;opacity:.5;z-index:2000}body.dragging,body.dragging *{cursor:move!important}.avatar{border-radius:100%;width:30px;height:30px}.avatar.square,.notification{border-radius:3px}.avatar.med{width:40px;height:40px}.avatar.large{width:80px;height:80px}.avatar.huge{width:120px;height:120px}.notification{position:fixed;top:0;right:0;margin:64px 32px;padding:24px 32px;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);z-index:999999;display:block;cursor:pointer;max-width:480px}.notification i,.notification span{display:table-cell}.notification i{font-size:2em;padding-right:24px}.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;-webkit-transition:all ease-in-out 180ms;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-box;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-box-flex:5;flex:5}.contained-search-box input:active,.contained-search-box input:focus{outline:0}.contained-search-box button{width:60px}.contained-search-box button i{padding:0}.contained-search-box button.cancel.active{background-color:#E84F4F;color:#EEE}.entity-selector{border:1px solid #DDD;border-radius:3px;overflow:hidden;font-size:.8em}.entity-selector input[type=text]{width:100%;display:block;border-radius:0;border:0;border-bottom:1px solid #DDD;font-size:16px;padding:12px 16px}.entity-selector .entity-list{overflow-y:scroll;height:400px;background-color:#EEE}.entity-selector .loading{height:400px;padding-top:24px}.entity-selector .entity-list>p{text-align:center;padding-top:24px;font-size:1.333em}.entity-selector .entity-list>div{padding-left:16px;padding-right:16px;background-color:#FFF;-webkit-transition:all ease-in-out 120ms;transition:all ease-in-out 120ms;cursor:pointer}.entity-list-item.selected a,.entity-list-item.selected h3,.entity-list-item.selected i,.entity-list-item.selected p,.entity-list-item.selected span{color:#EEE}.center-box{margin:32px auto 0;padding:16px 48px 32px;width:420px;max-width:100%;display:inline-block;text-align:left;vertical-align:top}.center-box input{width:100%}.center-box.login{background-color:#EEE;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border:1px solid #DDD} \ No newline at end of file diff --git a/public/js/common.js b/public/js/common.js index af0a5eb2592..bc27838ad15 100644 --- a/public/js/common.js +++ b/public/js/common.js @@ -8,5 +8,5 @@ var t=r.$new();l.template=e;var s=c(t,function(e){m(),n.enter(e,null,i).done(u)} 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;i'),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;o'+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;s\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;o'+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;i',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;n0){for(a=["TB","GB","MB","KB","b"],n=s=0,u=a.length;s=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;n0){for(o=0,a=n.length;o1024*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;n=t)&&(r=this.getQueuedFiles(),r.length>0)){if(this.options.uploadMultiple)return this.processFiles(r.slice(0,t-n));for(;e=I;c=0<=I?++T:--T)o.append(this._getParamName(c),e[c],this._renameFilename(e[c].name));return this.submitRequest(x,o,e)},t.prototype.submitRequest=function(e,t,n){return e.send(t)},t.prototype._finished=function(e,n,r){var i,o,a;for(o=0,a=e.length;oc;)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){if("readystatechange"!==n.type||"complete"===r.readyState)return("load"===n.type?e:r)[u](s+n.type,o,!1),!i&&(i=!0)?t.call(e,n.type||n):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(){if(e.autoDiscover)return e.discover()},i(window,e._autoDiscoverFunction)}).call(this)},{}],15:[function(e,t,n){n.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},n.nodeList=function(e){var t=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===t||"[object HTMLCollection]"===t)&&"length"in e&&(0===e.length||n.node(e[0]))},n.string=function(e){return"string"==typeof e||e instanceof String},n.fn=function(e){var t=Object.prototype.toString.call(e);return"[object Function]"===t}},{}],16:[function(e,t,n){function r(e,t,n){if(!e&&!t&&!n)throw new Error("Missing required arguments");if(!s.string(t))throw new TypeError("Second argument must be a String");if(!s.fn(n))throw new TypeError("Third argument must be a Function");if(s.node(e))return i(e,t,n);if(s.nodeList(e))return o(e,t,n);if(s.string(e))return a(e,t,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function i(e,t,n){return e.addEventListener(t,n),{destroy:function(){e.removeEventListener(t,n)}}}function o(e,t,n){return Array.prototype.forEach.call(e,function(e){e.addEventListener(t,n)}),{destroy:function(){Array.prototype.forEach.call(e,function(e){e.removeEventListener(t,n)})}}}function a(e,t,n){return u(document.body,e,t,n)}var s=e("./is"),u=e("delegate");t.exports=r},{"./is":15,delegate:13}],17:[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(/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\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;c1&&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;i.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 br)r=br[n],i=t[r],v(i)||(e[r]=i);return e}function y(e){$(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),wr===!1&&(wr=!0,n.updateOffset(this),wr=!1)}function b(e){return e instanceof y||null!=e&&null!=e._isAMomentObject}function w(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function x(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=w(t)),n}function k(e,t,n){var r,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(r=0;r0?"future":"past"];return E(n)?n(t):n.replace(/%s/i,t)}function I(e,t){var n=e.toLowerCase();Or[n]=Or[n+"s"]=Or[t]=e}function R(e){return"string"==typeof e?Or[e]||Or[e.toLowerCase()]:void 0}function U(e){var t,n,r={};for(n in e)c(e,n)&&(t=R(n),t&&(r[t]=e[n]));return r}function j(e,t){Fr[e]=t}function V(e){var t=[];for(var n in e)t.push({unit:n,priority:Fr[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}function H(e,t){return function(r){return null!=r?(q(this,e,r),n.updateOffset(this,t),this):z(this,e)}}function z(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function q(e,t,n){e.isValid()&&e._d["set"+(e._isUTC?"UTC":"")+t](n)}function Y(e){return e=R(e),E(this[e])?this[e]():this}function W(e,t){if("object"==typeof e){e=U(e);for(var n=V(e),r=0;r=0;return(o?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}function G(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(Ir[e]=i),t&&(Ir[t[0]]=function(){return B(i.apply(this,arguments),t[1],t[2])}),n&&(Ir[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function Z(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function Q(e){var t,n,r=e.match(Lr);for(t=0,n=r.length;t=0&&Pr.test(e);)e=e.replace(Pr,n),Pr.lastIndex=0,r-=1;return e}function X(e,t,n){ti[e]=E(t)?t:function(e,r){return e&&n?n:t}}function ee(e,t){return c(ti,e)?ti[e](t._strict,t._locale):new RegExp(te(e))}function te(e){return ne(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i}))}function ne(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function re(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),s(t)&&(r=function(e,n){n[t]=x(e)}),n=0;n=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}function we(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function xe(e,t,n){var r=7+t-n,i=(7+we(e,0,r).getUTCDay()-t)%7;return-i+r-1}function ke(e,t,n,r,i){var o,a,s=(7+n-r)%7,u=xe(e,r,i),l=1+7*(t-1)+s+u;return l<=0?(o=e-1,a=ve(o)+l):l>ve(e)?(o=e+1,a=l-ve(e)):(o=e,a=l),{year:o,dayOfYear:a}}function _e(e,t,n){var r,i,o=xe(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return a<1?(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=xe(e,t,n),i=xe(e+1,t,n);return(ve(e)-r+i)/7}function Se(e){return _e(e,this._week.dow,this._week.doy).week}function Ee(){return this._week.dow}function Me(){return this._week.doy}function Ae(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function De(e){var t=_e(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Te(e,t){return"string"!=typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"==typeof e?e:null):parseInt(e,10)}function Oe(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Fe(e,t){return e?i(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:this._weekdays}function Le(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Pe(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Ne(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=d([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(), this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?(i=di.call(this._weekdaysParse,a),i!==-1?i:null):"ddd"===t?(i=di.call(this._shortWeekdaysParse,a),i!==-1?i:null):(i=di.call(this._minWeekdaysParse,a),i!==-1?i:null):"dddd"===t?(i=di.call(this._weekdaysParse,a),i!==-1?i:(i=di.call(this._shortWeekdaysParse,a),i!==-1?i:(i=di.call(this._minWeekdaysParse,a),i!==-1?i:null))):"ddd"===t?(i=di.call(this._shortWeekdaysParse,a),i!==-1?i:(i=di.call(this._weekdaysParse,a),i!==-1?i:(i=di.call(this._minWeekdaysParse,a),i!==-1?i:null))):(i=di.call(this._minWeekdaysParse,a),i!==-1?i:(i=di.call(this._weekdaysParse,a),i!==-1?i:(i=di.call(this._shortWeekdaysParse,a),i!==-1?i:null)))}function Ie(e,t,n){var r,i,o;if(this._weekdaysParseExact)return Ne.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=d([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 Re(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Te(e,this.localeData()),this.add(e-t,"d")):t}function Ue(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 je(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Oe(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Ve(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||qe.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(c(this,"_weekdaysRegex")||(this._weekdaysRegex=ki),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function He(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||qe.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(c(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=_i),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function ze(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||qe.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(c(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ci),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function qe(){function e(e,t){return t.length-e.length}var t,n,r,i,o,a=[],s=[],u=[],l=[];for(t=0;t<7;t++)n=d([2e3,1]).day(t),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),o=this.weekdays(n,""),a.push(r),s.push(i),u.push(o),l.push(r),l.push(i),l.push(o);for(a.sort(e),s.sort(e),u.sort(e),l.sort(e),t=0;t<7;t++)s[t]=ne(s[t]),u[t]=ne(u[t]),l[t]=ne(l[t]);this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Ye(){return this.hours()%12||12}function We(){return this.hours()||24}function Be(e,t){G(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function Ge(e,t){return t._meridiemParse}function Ze(e){return"p"===(e+"").toLowerCase().charAt(0)}function Qe(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}function Je(e){return e?e.toLowerCase().replace("_","-"):e}function Ke(e){for(var t,n,r,i,o=0;o0;){if(r=Xe(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&k(i,n,!0)>=t-1)break;t--}o++}return null}function Xe(n){var r=null;if(!Di[n]&&"undefined"!=typeof t&&t&&t.exports)try{r=Si._abbr,e("./locale/"+n),et(r)}catch(i){}return Di[n]}function et(e,t){var n;return e&&(n=v(t)?rt(e):tt(e,t),n&&(Si=n)),Si._abbr}function tt(e,t){if(null!==t){var n=Ai;if(t.abbr=e,null!=Di[e])S("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=Di[e]._config;else if(null!=t.parentLocale){if(null==Di[t.parentLocale])return Ti[t.parentLocale]||(Ti[t.parentLocale]=[]),Ti[t.parentLocale].push({name:e,config:t}),null;n=Di[t.parentLocale]._config}return Di[e]=new D(A(n,t)),Ti[e]&&Ti[e].forEach(function(e){tt(e.name,e.config)}),et(e),Di[e]}return delete Di[e],null}function nt(e,t){if(null!=t){var n,r=Ai;null!=Di[e]&&(r=Di[e]._config),t=A(r,t),n=new D(t),n.parentLocale=Di[e],Di[e]=n,et(e)}else null!=Di[e]&&(null!=Di[e].parentLocale?Di[e]=Di[e].parentLocale:null!=Di[e]&&delete Di[e]);return Di[e]}function rt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Si;if(!i(e)){if(t=Xe(e))return t;e=[e]}return Ke(e)}function it(){return Cr(Di)}function ot(e){var t,n=e._a;return n&&p(e).overflow===-2&&(t=n[ii]<0||n[ii]>11?ii:n[oi]<1||n[oi]>ae(n[ri],n[ii])?oi:n[ai]<0||n[ai]>24||24===n[ai]&&(0!==n[si]||0!==n[ui]||0!==n[li])?ai:n[si]<0||n[si]>59?si:n[ui]<0||n[ui]>59?ui:n[li]<0||n[li]>999?li:-1,p(e)._overflowDayOfYear&&(toi)&&(t=oi),p(e)._overflowWeeks&&t===-1&&(t=ci),p(e)._overflowWeekday&&t===-1&&(t=fi),p(e).overflow=t),e}function at(e){var t,n,r,i,o,a,s=e._i,u=Oi.exec(s)||Fi.exec(s);if(u){for(p(e).iso=!0,t=0,n=Pi.length;tve(i)&&(p(e)._overflowDayOfYear=!0),n=we(i,0,e._dayOfYear),e._a[ii]=n.getUTCMonth(),e._a[oi]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=o[t]=r[t];for(;t<7;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[ai]&&0===e._a[si]&&0===e._a[ui]&&0===e._a[li]&&(e._nextDay=!0,e._a[ai]=0),e._d=(e._useUTC?we:be).apply(null,o),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[ai]=24)}}function ft(e){var t,n,r,i,o,a,s,u;if(t=e._w,null!=t.GG||null!=t.W||null!=t.E)o=1,a=4,n=ut(t.GG,e._a[ri],_e(bt(),1,4).year),r=ut(t.W,1),i=ut(t.E,1),(i<1||i>7)&&(u=!0);else{o=e._locale._week.dow,a=e._locale._week.doy;var l=_e(bt(),o,a);n=ut(t.gg,e._a[ri],l.year),r=ut(t.w,l.week),null!=t.d?(i=t.d,(i<0||i>6)&&(u=!0)):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(u=!0)):i=o}r<1||r>Ce(n,o,a)?p(e)._overflowWeeks=!0:null!=u?p(e)._overflowWeekday=!0:(s=ke(n,r,i,o,a),e._a[ri]=s.year,e._dayOfYear=s.dayOfYear)}function dt(e){if(e._f===n.ISO_8601)return void at(e);e._a=[],p(e).empty=!0;var t,r,i,o,a,s=""+e._i,u=s.length,l=0;for(i=K(e._f,e._locale).match(Lr)||[],t=0;t0&&p(e).unusedInput.push(a),s=s.slice(s.indexOf(r)+r.length),l+=r.length),Ir[o]?(r?p(e).empty=!1:p(e).unusedTokens.push(o),oe(o,r,e)):e._strict&&!r&&p(e).unusedTokens.push(o);p(e).charsLeftOver=u-l,s.length>0&&p(e).unusedInput.push(s),e._a[ai]<=12&&p(e).bigHour===!0&&e._a[ai]>0&&(p(e).bigHour=void 0),p(e).parsedDateParts=e._a.slice(0),p(e).meridiem=e._meridiem,e._a[ai]=ht(e._locale,e._a[ai],e._meridiem),ct(e),ot(e)}function ht(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(r=e.isPM(n),r&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function pt(e){var t,n,r,i,o;if(0===e._f.length)return p(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;ithis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Rt(){if(!v(this._isDSTShifted))return this._isDSTShifted;var e={};if($(e,this),e=vt(e),e._a){var t=e._isUTC?d(e._a):bt(e._a);this._isDSTShifted=this.isValid()&&k(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function Ut(){return!!this.isValid()&&!this._isUTC}function jt(){return!!this.isValid()&&this._isUTC}function Vt(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function Ht(e,t){var n,r,i,o=e,a=null;return Ct(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:s(e)?(o={},t?o[t]=e:o.milliseconds=e):(a=Hi.exec(e))?(n="-"===a[1]?-1:1,o={y:0,d:x(a[oi])*n,h:x(a[ai])*n,m:x(a[si])*n,s:x(a[ui])*n,ms:x(St(1e3*a[li]))*n}):(a=zi.exec(e))?(n="-"===a[1]?-1:1,o={y:zt(a[2],n),M:zt(a[3],n),w:zt(a[4],n),d:zt(a[5],n),h:zt(a[6],n),m:zt(a[7],n),s:zt(a[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(i=Yt(bt(o.from),bt(o.to)),o={},o.ms=i.milliseconds,o.M=i.months),r=new _t(o),Ct(e)&&c(e,"_locale")&&(r._locale=e._locale),r}function zt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function qt(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 Yt(e,t){var n;return e.isValid()&&t.isValid()?(t=At(t,e),e.isBefore(t)?n=qt(e,t):(n=qt(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Wt(e,t){return function(n,r){var i,o;return null===r||isNaN(+r)||(S(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),n="string"==typeof n?+n:n,i=Ht(n,r),Bt(this,i,e),this}}function Bt(e,t,r,i){var o=t._milliseconds,a=St(t._days),s=St(t._months);e.isValid()&&(i=null==i||i,o&&e._d.setTime(e._d.valueOf()+o*r),a&&q(e,"Date",z(e,"Date")+a*r),s&&fe(e,z(e,"Month")+s*r),i&&n.updateOffset(e,a||s))}function Gt(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Zt(e,t){var r=e||bt(),i=At(r,this).startOf("day"),o=n.calendarFormat(this,i)||"sameElse",a=t&&(E(t[o])?t[o].call(this,r):t[o]);return this.format(a||this.localeData().calendar(o,this,bt(r)))}function Qt(){return new y(this)}function Jt(e,t){var n=b(e)?e:bt(e);return!(!this.isValid()||!n.isValid())&&(t=R(v(t)?"millisecond":t),"millisecond"===t?this.valueOf()>n.valueOf():n.valueOf()o&&(t=o),Ln.call(this,e,t,n,r,i))}function Ln(e,t,n,r,i){var o=ke(e,t,n,r,i),a=we(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function Pn(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function Nn(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 In(e,t){t[li]=x(1e3*("0."+e))}function Rn(){return this._isUTC?"UTC":""}function Un(){return this._isUTC?"Coordinated Universal Time":""}function jn(e){return bt(1e3*e)}function Vn(){return bt.apply(null,arguments).parseZone()}function Hn(e){return e}function zn(e,t,n,r){var i=rt(),o=d().set(r,t);return i[n](o,e)}function qn(e,t,n){if(s(e)&&(t=e,e=void 0),e=e||"",null!=t)return zn(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=zn(e,r,n,"month");return i}function Yn(e,t,n,r){"boolean"==typeof e?(s(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,s(t)&&(n=t,t=void 0),t=t||"");var i=rt(),o=e?i._week.dow:0;if(null!=n)return zn(t,(n+o)%7,r,"day");var a,u=[];for(a=0;a<7;a++)u[a]=zn(t,(a+o)%7,r,"day");return u}function Wn(e,t){return qn(e,t,"months")}function Bn(e,t){return qn(e,t,"monthsShort")}function Gn(e,t,n){return Yn(e,t,n,"weekdays")}function Zn(e,t,n){return Yn(e,t,n,"weekdaysShort")}function Qn(e,t,n){return Yn(e,t,n,"weekdaysMin")}function Jn(){var e=this._data;return this._milliseconds=eo(this._milliseconds),this._days=eo(this._days),this._months=eo(this._months),e.milliseconds=eo(e.milliseconds),e.seconds=eo(e.seconds),e.minutes=eo(e.minutes),e.hours=eo(e.hours),e.months=eo(e.months),e.years=eo(e.years),this}function Kn(e,t,n,r){var i=Ht(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function Xn(e,t){return Kn(this,e,t,1)}function er(e,t){return Kn(this,e,t,-1)}function tr(e){return e<0?Math.floor(e):Math.ceil(e)}function nr(){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||o<=0&&a<=0&&s<=0||(o+=864e5*tr(ir(s)+a),a=0,s=0),u.milliseconds=o%1e3,e=w(o/1e3),u.seconds=e%60,t=w(e/60),u.minutes=t%60,n=w(t/60),u.hours=n%24,a+=w(n/24),i=w(rr(a)),s+=i,a-=tr(ir(i)),r=w(s/12),s%=12,u.days=a,u.months=s,u.years=r,this}function rr(e){return 4800*e/146097}function ir(e){return 146097*e/4800}function or(e){var t,n,r=this._milliseconds;if(e=R(e),"month"===e||"year"===e)return t=this._days+r/864e5,n=this._months+rr(t),"month"===e?n:n/12;switch(t=this._days+Math.round(ir(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 ar(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*x(this._months/12)}function sr(e){return function(){return this.as(e)}}function ur(e){return e=R(e),this[e+"s"]()}function lr(e){return function(){return this._data[e]}}function cr(){return w(this.days()/7)}function fr(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function dr(e,t,n){var r=Ht(e).abs(),i=vo(r.as("s")),o=vo(r.as("m")),a=vo(r.as("h")),s=vo(r.as("d")),u=vo(r.as("M")),l=vo(r.as("y")),c=i<$o.s&&["s",i]||o<=1&&["m"]||o<$o.m&&["mm",o]||a<=1&&["h"]||a<$o.h&&["hh",a]||s<=1&&["d"]||s<$o.d&&["dd",s]||u<=1&&["M"]||u<$o.M&&["MM",u]||l<=1&&["y"]||["yy",l];return c[2]=t,c[3]=+e>0,c[4]=n,fr.apply(null,c)}function hr(e){return void 0===e?vo:"function"==typeof e&&(vo=e,!0)}function pr(e,t){return void 0!==$o[e]&&(void 0===t?$o[e]:($o[e]=t,!0))}function mr(e){var t=this.localeData(),n=dr(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function gr(){var e,t,n,r=yo(this._milliseconds)/1e3,i=yo(this._days),o=yo(this._months);e=w(r/60),t=w(e/60),r%=60,e%=60,n=w(o/12),o%=12;var a=n,s=o,u=i,l=t,c=e,f=r,d=this.asSeconds();return d?(d<0?"-":"")+"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 vr,$r;$r=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;r68?1900:2e3)};var $i=H("FullYear",!0);G("w",["ww",2],"wo","week"),G("W",["WW",2],"Wo","isoWeek"),I("week","w"),I("isoWeek","W"),j("week",5),j("isoWeek",5),X("w",zr),X("ww",zr,Ur),X("W",zr),X("WW",zr,Ur),ie(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=x(e)});var yi={dow:0,doy:6};G("d",0,"do","day"),G("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),G("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),G("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),G("e",0,0,"weekday"),G("E",0,0,"isoWeekday"),I("day","d"),I("weekday","e"),I("isoWeekday","E"),j("day",11),j("weekday",11),j("isoWeekday",11),X("d",zr),X("e",zr),X("E",zr),X("dd",function(e,t){return t.weekdaysMinRegex(e)}),X("ddd",function(e,t){return t.weekdaysShortRegex(e)}),X("dddd",function(e,t){return t.weekdaysRegex(e)}),ie(["dd","ddd","dddd"],function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:p(n).invalidWeekday=e}),ie(["d","e","E"],function(e,t,n,r){t[r]=x(e)});var bi="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),wi="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),xi="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ki=ei,_i=ei,Ci=ei;G("H",["HH",2],0,"hour"),G("h",["hh",2],0,Ye),G("k",["kk",2],0,We),G("hmm",0,0,function(){return""+Ye.apply(this)+B(this.minutes(),2)}),G("hmmss",0,0,function(){return""+Ye.apply(this)+B(this.minutes(),2)+B(this.seconds(),2)}),G("Hmm",0,0,function(){return""+this.hours()+B(this.minutes(),2)}),G("Hmmss",0,0,function(){return""+this.hours()+B(this.minutes(),2)+B(this.seconds(),2)}),Be("a",!0),Be("A",!1),I("hour","h"),j("hour",13),X("a",Ge),X("A",Ge),X("H",zr),X("h",zr),X("HH",zr,Ur),X("hh",zr,Ur),X("hmm",qr),X("hmmss",Yr),X("Hmm",qr),X("Hmmss",Yr),re(["H","HH"],ai),re(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),re(["h","hh"],function(e,t,n){t[ai]=x(e),p(n).bigHour=!0}),re("hmm",function(e,t,n){var r=e.length-2;t[ai]=x(e.substr(0,r)),t[si]=x(e.substr(r)),p(n).bigHour=!0}),re("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[ai]=x(e.substr(0,r)),t[si]=x(e.substr(r,2)),t[ui]=x(e.substr(i)),p(n).bigHour=!0}),re("Hmm",function(e,t,n){var r=e.length-2;t[ai]=x(e.substr(0,r)),t[si]=x(e.substr(r))}),re("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[ai]=x(e.substr(0,r)),t[si]=x(e.substr(r,2)),t[ui]=x(e.substr(i))});var Si,Ei=/[ap]\.?m?\.?/i,Mi=H("Hours",!0),Ai={calendar:Sr,longDateFormat:Er,invalidDate:Mr,ordinal:Ar,ordinalParse:Dr,relativeTime:Tr,months:pi,monthsShort:mi,week:yi,weekdays:bi,weekdaysMin:xi,weekdaysShort:wi,meridiemParse:Ei},Di={},Ti={},Oi=/^\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)?)?$/,Fi=/^\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)?)?$/,Li=/Z|[+-]\d\d(?::?\d\d)?/,Pi=[["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}/]],Ni=[["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/]],Ii=/^\/?Date\((\-?\d+)/i;n.createFromInputFallback=C("value provided is not in a recognized ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),n.ISO_8601=function(){};var Ri=C("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=bt.apply(null,arguments);return this.isValid()&&e.isValid()?ethis?this:e:g()}),ji=function(){return Date.now?Date.now():+new Date};Et("Z",":"),Et("ZZ",""),X("Z",Kr),X("ZZ",Kr),re(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Mt(Kr,e)});var Vi=/([\+\-]|\d\d)/gi;n.updateOffset=function(){};var Hi=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,zi=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;Ht.fn=_t.prototype;var qi=Wt(1,"add"),Yi=Wt(-1,"subtract");n.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",n.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Wi=C("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)});G(0,["gg",2],0,function(){return this.weekYear()%100}),G(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Mn("gggg","weekYear"),Mn("ggggg","weekYear"),Mn("GGGG","isoWeekYear"),Mn("GGGGG","isoWeekYear"),I("weekYear","gg"),I("isoWeekYear","GG"),j("weekYear",1),j("isoWeekYear",1),X("G",Qr),X("g",Qr),X("GG",zr,Ur),X("gg",zr,Ur),X("GGGG",Br,Vr),X("gggg",Br,Vr),X("GGGGG",Gr,Hr),X("ggggg",Gr,Hr),ie(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=x(e)}),ie(["gg","GG"],function(e,t,r,i){t[i]=n.parseTwoDigitYear(e)}),G("Q",0,"Qo","quarter"),I("quarter","Q"),j("quarter",7),X("Q",Rr),re("Q",function(e,t){t[ii]=3*(x(e)-1)}),G("D",["DD",2],"Do","date"),I("date","D"),j("date",9),X("D",zr),X("DD",zr,Ur),X("Do",function(e,t){return e?t._ordinalParse:t._ordinalParseLenient; -}),re(["D","DD"],oi),re("Do",function(e,t){t[oi]=x(e.match(zr)[0],10)});var Bi=H("Date",!0);G("DDD",["DDDD",3],"DDDo","dayOfYear"),I("dayOfYear","DDD"),j("dayOfYear",4),X("DDD",Wr),X("DDDD",jr),re(["DDD","DDDD"],function(e,t,n){n._dayOfYear=x(e)}),G("m",["mm",2],0,"minute"),I("minute","m"),j("minute",14),X("m",zr),X("mm",zr,Ur),re(["m","mm"],si);var Gi=H("Minutes",!1);G("s",["ss",2],0,"second"),I("second","s"),j("second",15),X("s",zr),X("ss",zr,Ur),re(["s","ss"],ui);var Zi=H("Seconds",!1);G("S",0,0,function(){return~~(this.millisecond()/100)}),G(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),G(0,["SSS",3],0,"millisecond"),G(0,["SSSS",4],0,function(){return 10*this.millisecond()}),G(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),G(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),G(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),G(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),G(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),I("millisecond","ms"),j("millisecond",16),X("S",Wr,Rr),X("SS",Wr,Ur),X("SSS",Wr,jr);var Qi;for(Qi="SSSS";Qi.length<=9;Qi+="S")X(Qi,Zr);for(Qi="S";Qi.length<=9;Qi+="S")re(Qi,In);var Ji=H("Milliseconds",!1);G("z",0,0,"zoneAbbr"),G("zz",0,0,"zoneName");var Ki=y.prototype;Ki.add=qi,Ki.calendar=Zt,Ki.clone=Qt,Ki.diff=rn,Ki.endOf=vn,Ki.format=ln,Ki.from=cn,Ki.fromNow=fn,Ki.to=dn,Ki.toNow=hn,Ki.get=Y,Ki.invalidAt=Sn,Ki.isAfter=Jt,Ki.isBefore=Kt,Ki.isBetween=Xt,Ki.isSame=en,Ki.isSameOrAfter=tn,Ki.isSameOrBefore=nn,Ki.isValid=_n,Ki.lang=Wi,Ki.locale=pn,Ki.localeData=mn,Ki.max=Ui,Ki.min=Ri,Ki.parsingFlags=Cn,Ki.set=W,Ki.startOf=gn,Ki.subtract=Yi,Ki.toArray=wn,Ki.toObject=xn,Ki.toDate=bn,Ki.toISOString=sn,Ki.inspect=un,Ki.toJSON=kn,Ki.toString=an,Ki.unix=yn,Ki.valueOf=$n,Ki.creationData=En,Ki.year=$i,Ki.isLeapYear=ye,Ki.weekYear=An,Ki.isoWeekYear=Dn,Ki.quarter=Ki.quarters=Pn,Ki.month=de,Ki.daysInMonth=he,Ki.week=Ki.weeks=Ae,Ki.isoWeek=Ki.isoWeeks=De,Ki.weeksInYear=On,Ki.isoWeeksInYear=Tn,Ki.date=Bi,Ki.day=Ki.days=Re,Ki.weekday=Ue,Ki.isoWeekday=je,Ki.dayOfYear=Nn,Ki.hour=Ki.hours=Mi,Ki.minute=Ki.minutes=Gi,Ki.second=Ki.seconds=Zi,Ki.millisecond=Ki.milliseconds=Ji,Ki.utcOffset=Tt,Ki.utc=Ft,Ki.local=Lt,Ki.parseZone=Pt,Ki.hasAlignedHourOffset=Nt,Ki.isDST=It,Ki.isLocal=Ut,Ki.isUtcOffset=jt,Ki.isUtc=Vt,Ki.isUTC=Vt,Ki.zoneAbbr=Rn,Ki.zoneName=Un,Ki.dates=C("dates accessor is deprecated. Use date instead.",Bi),Ki.months=C("months accessor is deprecated. Use month instead",de),Ki.years=C("years accessor is deprecated. Use year instead",$i),Ki.zone=C("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Ot),Ki.isDSTShifted=C("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Rt);var Xi=D.prototype;Xi.calendar=T,Xi.longDateFormat=O,Xi.invalidDate=F,Xi.ordinal=L,Xi.preparse=Hn,Xi.postformat=Hn,Xi.relativeTime=P,Xi.pastFuture=N,Xi.set=M,Xi.months=se,Xi.monthsShort=ue,Xi.monthsParse=ce,Xi.monthsRegex=me,Xi.monthsShortRegex=pe,Xi.week=Se,Xi.firstDayOfYear=Me,Xi.firstDayOfWeek=Ee,Xi.weekdays=Fe,Xi.weekdaysMin=Pe,Xi.weekdaysShort=Le,Xi.weekdaysParse=Ie,Xi.weekdaysRegex=Ve,Xi.weekdaysShortRegex=He,Xi.weekdaysMinRegex=ze,Xi.isPM=Ze,Xi.meridiem=Qe,et("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===x(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),n.lang=C("moment.lang is deprecated. Use moment.locale instead.",et),n.langData=C("moment.langData is deprecated. Use moment.localeData instead.",rt);var eo=Math.abs,to=sr("ms"),no=sr("s"),ro=sr("m"),io=sr("h"),oo=sr("d"),ao=sr("w"),so=sr("M"),uo=sr("y"),lo=lr("milliseconds"),co=lr("seconds"),fo=lr("minutes"),ho=lr("hours"),po=lr("days"),mo=lr("months"),go=lr("years"),vo=Math.round,$o={s:45,m:45,h:22,d:26,M:11},yo=Math.abs,bo=_t.prototype;return bo.abs=Jn,bo.add=Xn,bo.subtract=er,bo.as=or,bo.asMilliseconds=to,bo.asSeconds=no,bo.asMinutes=ro,bo.asHours=io,bo.asDays=oo,bo.asWeeks=ao,bo.asMonths=so,bo.asYears=uo,bo.valueOf=ar,bo._bubble=nr,bo.get=ur,bo.milliseconds=lo,bo.seconds=co,bo.minutes=fo,bo.hours=ho,bo.days=po,bo.weeks=cr,bo.months=mo,bo.years=go,bo.humanize=mr,bo.toISOString=gr,bo.toString=gr,bo.toJSON=gr,bo.locale=pn,bo.localeData=mn,bo.toIsoString=C("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",gr),bo.lang=Wi,G("X",0,0,"unix"),G("x",0,0,"valueOf"),X("x",Qr),X("X",Xr),re("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),re("x",function(e,t,n){n._d=new Date(x(e))}),n.version="2.17.1",r(bt),n.fn=Ki,n.min=xt,n.max=kt,n.now=ji,n.utc=d,n.unix=jn,n.months=Wn,n.isDate=u,n.locale=et,n.invalid=g,n.duration=Ht,n.isMoment=b,n.weekdays=Gn,n.parseZone=Vn,n.localeData=rt,n.isDuration=Ct,n.monthsShort=Bn,n.weekdaysMin=Qn,n.defineLocale=tt,n.updateLocale=nt,n.locales=it,n.weekdaysShort=Zn,n.normalizeUnits=R,n.relativeTimeRounding=hr,n.relativeTimeThreshold=pr,n.calendarFormat=Gt,n.prototype=Ki,n})},{}],20:[function(e,t,n){function r(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName)e.focus(),e.setSelectionRange(0,e.value.length),t=e.value;else{e.hasAttribute("contenteditable")&&e.focus();var n=window.getSelection(),r=document.createRange();r.selectNodeContents(e),n.removeAllRanges(),n.addRange(r),t=n.toString()}return t}t.exports=r},{}],21:[function(e,t,n){function r(){}r.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){function r(){i.off(e,r),t.apply(n,arguments)}var i=this;return r._=t,this.on(e,r,n)},emit:function(e){var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,i=n.length;for(r;r tr",containment:"parent",axis:"y"},e.addEmptyTag=r,i(),e.tagChange=function(t){var n=e.tags.indexOf(t);n===e.tags.length-1&&(""===t.name&&""===t.value||r())},e.tagBlur=function(t){var n=e.tags.length-1===e.tags.indexOf(t);if(""===t.name&&""===t.value&&!n){var r=e.tags.indexOf(t);e.tags.splice(r,1)}},e.removeTag=function(t){var n=e.tags.indexOf(t);e.tags.splice(n,1)}}]),e.controller("PageAttachmentController",["$scope","$http","$attrs",function(e,n,r){function i(){return{page_id:l}}function o(r,i){var o=e.files.map(function(e){return e.id}).join(":");o!==c&&(c=o,n.put(window.baseUrl("/attachments/sort/page/"+l),{files:e.files}).then(function(e){t.emit("success",e.data.message)},u("sort")))}function a(){var t=window.baseUrl("/attachments/get/page/"+l);n.get(t).then(function(t){e.files=t.data,c=t.data.map(function(e){return e.id}).join(":")},u("get"))}function s(t){for(var n=0;n tr",containment:"parent",axis:"y",stop:o},e.getUploadUrl=function(e){var t="undefined"!=typeof e?"/"+e.id:"";return window.baseUrl("/attachments/upload"+t)},a(),e.uploadSuccess=function(n,r){e.$apply(function(){e.files.push(r)}),t.emit("success",trans("entities.attachments_file_uploaded"))},e.uploadSuccessUpdate=function(n,r){e.$apply(function(){var t=s(r);t!==-1&&(e.files[t]=r),e.editFile&&(e.editFile=angular.copy(r),r.link="")}),t.emit("success",trans("entities.attachments_file_updated"))},e.deleteFile=function(r){return r.deleting?void n["delete"](window.baseUrl("/attachments/"+r.id)).then(function(n){t.emit("success",n.data.message),e.files.splice(e.files.indexOf(r),1)},u("delete")):void(r.deleting=!0)},e.attachLinkSubmit=function(r){r.uploaded_to=l,n.post(window.baseUrl("/attachments/link"),r).then(function(n){e.files.push(n.data),t.emit("success",trans("entities.attachments_link_attached")),e.file=i()},u("link"))},e.startEdit=function(t){e.editFile=angular.copy(t),e.editFile.link=t.external?t.path:""},e.cancelEdit=function(){e.editFile=!1},e.updateFile=function(r){n.put(window.baseUrl("/attachments/"+r.id),r).then(function(n){var i=s(n.data);i!==-1&&(e.files[i]=n.data),e.editFile&&!r.external&&(e.editFile.link=""),e.editFile=!1,t.emit("success",trans("entities.attachments_updated_success"))},u("edit"))},e.getFileUrl=function(e){return window.baseUrl("/attachments/"+e.id)}}])};var i=e("moment"),o=r(i);e("moment/locale/en-gb");var a=e("./pages/page-form"),s=r(a);o["default"].locale("en-gb")},{"./pages/page-form":25,moment:19,"moment/locale/en-gb":18}],23:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(n,"__esModule",{value:!0}),n["default"]=function(e,t){e.directive("tabContainer",function(){return{restrict:"A",link:function(e,t,n){var r=t.find("[tab-content]"),i=t.find("[tab-button]");if(n.tabContainer){var o=n.tabContainer;i.filter('[tab-button="'+o+'"]').addClass("selected"),r.hide().filter('[tab-content="'+o+'"]').show()}else r.hide().first().show(),i.first().addClass("selected");i.click(function(){var e=$(this);i.removeClass("selected"),r.hide();var t=e.addClass("selected").attr("tab-button");r.filter('[tab-content="'+t+'"]').show()})}}}),e.directive("subForm",function(){return{restrict:"A",link:function(e,t,n){function r(t){t.preventDefault(),n.subForm&&e.$eval(n.subForm)}t.on("keypress",function(e){13===e.keyCode&&r(e)}),t.find('button[type="submit"]').click(r)}}}),e.directive("dropZone",[function(){return{restrict:"E",template:'\n
    \n
    {{message}}
    \n
    \n ',scope:{uploadUrl:"@",eventSuccess:"=",eventError:"=",uploadedTo:"@"},link:function(e,t,n){e.message=n.message,n.placeholder&&(t[0].querySelector(".dz-message").textContent=n.placeholder);new o["default"](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)}413===n.status&&r(trans("errors.server_upload_limit")),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");var e=r.find("input"),n=e.length>0;n&&(e.first().focus(),t.on("keypress","input",function(e){if(13===e.keyCode)return e.preventDefault(),r.hide(),r.removeClass("anim menuIn"),!1})),t.mouseleave(function(){r.hide(),r.removeClass("anim menuIn")})})}}}]),e.directive("tinymce",["$timeout",function(e){return{restrict:"A",scope:{tinymce:"=",mceModel:"=",mceChange:"="},link:function(t,n,r){function i(n){n.on("ExecCommand change NodeChange ObjectResized",function(r){var i=n.getContent();e(function(){t.mceModel=i}),t.mceChange(i)}),n.on("keydown",function(e){t.$emit("editor-keydown",e)}),n.on("init",function(e){t.mceModel=n.getContent()}),t.$on("html-update",function(e,r){n.setContent(r),n.selection.select(n.getBody(),!0),n.selection.collapse(!1),t.mceModel=n.getContent()})}t.tinymce.extraSetups.push(i),tinymce.PluginManager.add("customhr",function(e){e.addCommand("InsertHorizontalRule",function(){var t=document.createElement("hr"),n=e.selection.getNode(),r=n.parentNode;r.insertBefore(t,n)}),e.addButton("hr",{icon:"hr",tooltip:"Horizontal line",cmd:"InsertHorizontalRule"}),e.addMenuItem("hr",{icon:"hr",text:"Horizontal line",cmd:"InsertHorizontalRule",context:"insert"})}),tinymce.init(t.tinymce)}}}]),e.directive("markdownInput",["$timeout",function(e){return{restrict:"A",scope:{mdModel:"=",mdChange:"="},link:function(t,n,r){n=n.find("textarea").first();var i=n.val();t.mdModel=i,t.mdChange((0,s["default"])(i)),n.on("change input",function(r){i=n.val(),e(function(){t.mdModel=i,t.mdChange((0,s["default"])(i))})}),t.$on("markdown-update",function(e,r){n.val(r),t.mdModel=r,t.mdChange((0,s["default"])(r))})}}}]),e.directive("markdownEditor",["$timeout",function(e){return{restrict:"A",link:function(e,t,n){function r(){h=u[0].scrollHeight,p=u.height(),m=l[0].scrollHeight,g=l.height()}function i(){window.showEntityLinkSelector(function(e){var t=d,n=u[0].selectionEnd,r=n!==t,i=u.val();if(r){var o=i.substring(t,n),a="["+o+"]("+e.link+")";u.val(i.substring(0,t)+a+i.substring(n))}else{var s=" ["+e.name+"]("+e.link+") ";u.val(i.substring(0,t)+s+i.substring(t))}u.change()})}function o(e){if(e=e.originalEvent,e.clipboardData){var t=e.clipboardData.items;if(t)for(var n=0;na?"!["+c+"]":"![]")+("("+f+")");u[0].value=l.substring(0,a)+d+l.substring(s),u.focus(),u[0].selectionStart=a,u[0].selectionEnd=a;var h="image-"+Date.now()+"."+n;t.append("file",e,h),t.append("_token",document.querySelector('meta[name="token"]').getAttribute("content")),r.open("POST",window.baseUrl("/images/gallery/upload")),r.onload=function(){var e=u[0].selectionStart;if(200===r.status||201===r.status){var t=JSON.parse(r.responseText);u[0].value=u[0].value.replace(f,t.thumbs.display),u.change()}else u[0].value=u[0].value.replace(d,""),u.change();u.focus(),u[0].selectionStart=e,u[0].selectionEnd=e},r.send(t)}}var u=t.find("[markdown-input] textarea").first(),l=t.find(".markdown-display").first(),c=t.find('button[data-action="insertImage"]'),f=t.find('button[data-action="insertEntityLink"]');l.on("click","a",function(e){e.preventDefault(),window.open(this.getAttribute("href"))});var d=0;u.blur(function(e){d=u[0].selectionStart});var h=void 0,p=void 0,m=void 0,g=void 0;setTimeout(function(){r()},200),window.addEventListener("resize",r);var v=800,$=0;u.on("scroll",function(e){var t=Date.now();t-$>v&&r();var n=u.scrollTop()/(h-p),i=(m-g)*n;l.scrollTop(i),$=t}),u.keydown(function(t){if(73===t.which&&t.ctrlKey&&t.shiftKey){t.preventDefault();var n=u[0].selectionStart,r=u.val(),o="![](http://)";return u.val(r.substring(0,n)+o+r.substring(n)),u.focus(),u[0].selectionStart=n+"![](".length,void(u[0].selectionEnd=n+"![](http://".length)}return 75===t.which&&t.ctrlKey&&t.shiftKey?void i():void e.$emit("editor-keydown",t)}),c.click(function(e){window.ImageManager.showExternal(function(e){var t=d,n=u.val(),r="!["+e.name+"]("+e.thumbs.display+")";u.val(n.substring(0,t)+r+n.substring(t)),u.change()})}),f.click(i),u.on("paste",o),u.on("drop",a)}}}]),e.directive("toolbox",[function(){return{restrict:"A",link:function(e,t,n){function r(e,n){i.removeClass("active"),o.hide(),i.filter('[toolbox-tab-button="'+e+'"]').addClass("active"),o.filter('[toolbox-tab-content="'+e+'"]').show(),n&&t.addClass("open")}var i=t.find("[toolbox-tab-button]"),o=t.find("[toolbox-tab-content]"),a=t.find("[toolbox-toggle]");a.click(function(e){t.toggleClass("open")}),r(o.first().attr("toolbox-tab-content"),!1),i.click(function(e){var t=$(this).attr("toolbox-tab-button");r(t,!0)})}}}]),e.directive("tagAutosuggestions",["$http",function(e){return{restrict:"A",link:function(t,n,r){function i(e,t){t[h].className="",h=e,t[h].className="active"}function o(e,t){if(0===t.length)return c.hide(),f=!1,void(m=t);if(f||(c.show(),f=!0),e!==d&&(c.detach(),e.after(c),d=e),m.join()===t.join())return void(m=t);c[0].innerHTML="";for(var n=0;n=0}});var b=$(".notification"),w=b.filter(".pos"),x=b.filter(".neg"),k=b.filter(".warning");window.Events.listen("success",function(e){w.hide(),w.find("span").text(e),setTimeout(function(){w.show()},1)}),window.Events.listen("warning",function(e){k.find("span").text(e),k.show()}),window.Events.listen("error",function(e){x.find("span").text(e),x.show()}),b.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 _=!1,C=document.getElementById("back-to-top"),S=1200;window.addEventListener("scroll",function(){var e=document.documentElement.scrollTop||document.body.scrollTop||0;!_&&e>S?(C.style.display="block",_=!0,setTimeout(function(){C.style.opacity=.4},1)):_&&e0||navigator.userAgent.indexOf("Safari")!==-1)&&$("body").addClass("flexbox-support")},{"./controllers":22,"./directives":23,"./pages/page-show":26,"./services":27,"./translations":28,angular:9,"angular-animate":2,"angular-resource":4,"angular-sanitize":6,"angular-ui-sortable":7}],25:[function(e,t,n){"use strict";function r(e,t){if(e.clipboardData){var n=e.clipboardData.items;if(n)for(var r=function(e){if(n[e].type.indexOf("image")===-1)return{v:void 0};var r=n[e].getAsFile(),i=new FormData,o="png",a=new XMLHttpRequest;if(r.name){var s=r.name.match(/\.(.+)$/);s&&(o=s[1])}var u="image-"+Math.random().toString(16).slice(2),l=window.baseUrl("/loading.gif");t.execCommand("mceInsertContent",!1,'');var c="image-"+Date.now()+"."+o;i.append("file",r,c),i.append("_token",document.querySelector('meta[name="token"]').getAttribute("content")),a.open("POST",window.baseUrl("/images/gallery/upload")),a.onload=function(){if(200===a.status||201===a.status){var e=JSON.parse(a.responseText);t.dom.setAttrib(u,"src",e.thumbs.display)}else t.dom.remove(u)},a.send(i)},i=0;i';i+=''+t.name+'',i+="
    ",r.tinyMCE.activeEditor.execCommand("mceInsertContent",!1,i)})},paste_preprocess:function(e,t){var n=t.content;n.indexOf('';n+=''+e.name+'',n+="",t.execCommand("mceInsertContent",!1,n)})}}),t.on("paste",function(e){r(e,t)})}};return e}},{}],26:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(n,"__esModule",{value:!0});var i=e("clipboard"),o=r(i);n["default"]=window.setupPageShow=function(e){function t(){var t=d?window.baseUrl("/link/"+e+"#"+h):"{{@"+e+"#"+h+"}}";d&&0!==t.indexOf("http")&&(t=window.location.protocol+"//"+window.location.host+t),u.find("input").val(t)}function n(e){var t=document.getElementById(e);if($(".page-content [data-highlighted]").attr("data-highlighted","").css("background-color",""),null!==t){var n=$(t),r=$("#custom-styles").attr("data-color-light");n.css("background-color",r).attr("data-highlighted","true").smoothScrollTo()}else $(".page-content").find(':contains("'+e+'")').smoothScrollTo()}function r(){g.width(v.width()+15),g.addClass("fixed"),w=!0}function i(){g.css("width","auto"),g.removeClass("fixed"),w=!1}function a(e){var t=m.scrollTop()>b;!t||w&&!e?t||!w&&!e||i():r()}function s(){a(!1)}var u=$("#pointer").detach(),l=!1,c=u.children("div.pointer").first(),f=!1,d=!0,h="";u.on("click","input",function(e){$(this).select(),e.stopPropagation()}),u.on("click","span.icon",function(e){var n=$(e.currentTarget);d=!d,n.html(d?'':''),t()});new o["default"]("#pointer button");if($(document.body).find("*").on("click focus",function(e){if(l&&!f){var t=$(e.target);t.is(".zmdi")||1===$(e.target).closest("#pointer").length||(u.detach(),l=!1)}}),$('.page-content [id^="bkmrk"]').on("mouseup keyup",function(e){e.stopPropagation();var n=window.getSelection();if(0!==n.toString().length){var r=$(this);h=r.attr("id"),t(),r.before(u),u.show(),l=!0;var i=e.pageX-r.offset().left-c.width()/2;i<0&&(i=0);var o=i/r.width()*100;c.css("left",o+"%"),f=!0,setTimeout(function(){f=!1},100)}}),window.location.hash){var p=window.location.hash.replace(/\%20/g," ").substr(1);n(p)}$(".sidebar-page-nav").on("click","a",function(e){n(e.target.getAttribute("href").substr(1))});var m=$(window),g=$(".book-tree"),v=g.parent(),y=$(document).height()>m.height()&&g.height()<$(".page-content").height(),b=$("#header").height()+$(".toolbar").height(),w=m.scrollTop()>b;y&&m.width()>1e3&&(m.on("scroll",s),a(!0)),m.on("resize",function(e){y&&m.width()>1e3?(m.on("scroll",s),a(!0)):(m.off("scroll",s),i())})}},{clipboard:11}],27:[function(e,t,n){"use strict";t.exports=function(e,t){e.factory("imageManagerService",function(){return{show:!1,showExternal:!1}})}},{}],28:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n tr",containment:"parent",axis:"y"},e.addEmptyTag=r,i(),e.tagChange=function(t){var n=e.tags.indexOf(t);n===e.tags.length-1&&(""===t.name&&""===t.value||r())},e.tagBlur=function(t){var n=e.tags.length-1===e.tags.indexOf(t);if(""===t.name&&""===t.value&&!n){var r=e.tags.indexOf(t);e.tags.splice(r,1)}},e.removeTag=function(t){var n=e.tags.indexOf(t);e.tags.splice(n,1)}}]),e.controller("PageAttachmentController",["$scope","$http","$attrs",function(e,n,r){function i(){return{page_id:l}}function o(r,i){var o=e.files.map(function(e){return e.id}).join(":");o!==c&&(c=o,n.put(window.baseUrl("/attachments/sort/page/"+l),{files:e.files}).then(function(e){t.emit("success",e.data.message)},u("sort")))}function a(){var t=window.baseUrl("/attachments/get/page/"+l);n.get(t).then(function(t){e.files=t.data,c=t.data.map(function(e){return e.id}).join(":")},u("get"))}function s(t){for(var n=0;n tr",containment:"parent",axis:"y",stop:o},e.getUploadUrl=function(e){var t="undefined"!=typeof e?"/"+e.id:"";return window.baseUrl("/attachments/upload"+t)},a(),e.uploadSuccess=function(n,r){e.$apply(function(){e.files.push(r)}),t.emit("success",trans("entities.attachments_file_uploaded"))},e.uploadSuccessUpdate=function(n,r){e.$apply(function(){var t=s(r);t!==-1&&(e.files[t]=r),e.editFile&&(e.editFile=angular.copy(r),r.link="")}),t.emit("success",trans("entities.attachments_file_updated"))},e.deleteFile=function(r){return r.deleting?void n["delete"](window.baseUrl("/attachments/"+r.id)).then(function(n){t.emit("success",n.data.message),e.files.splice(e.files.indexOf(r),1)},u("delete")):void(r.deleting=!0)},e.attachLinkSubmit=function(r){r.uploaded_to=l,n.post(window.baseUrl("/attachments/link"),r).then(function(n){e.files.push(n.data),t.emit("success",trans("entities.attachments_link_attached")),e.file=i()},u("link"))},e.startEdit=function(t){e.editFile=angular.copy(t),e.editFile.link=t.external?t.path:""},e.cancelEdit=function(){e.editFile=!1},e.updateFile=function(r){n.put(window.baseUrl("/attachments/"+r.id),r).then(function(n){var i=s(n.data);i!==-1&&(e.files[i]=n.data),e.editFile&&!r.external&&(e.editFile.link=""),e.editFile=!1,t.emit("success",trans("entities.attachments_updated_success"))},u("edit"))},e.getFileUrl=function(e){return window.baseUrl("/attachments/"+e.id)}}])};var i=e("moment"),o=r(i);e("moment/locale/en-gb");var a=e("./pages/page-form"),s=r(a);o["default"].locale("en-gb")},{"./pages/page-form":25,moment:19,"moment/locale/en-gb":18}],23:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(n,"__esModule",{value:!0}),n["default"]=function(e,t){e.directive("tabContainer",function(){return{restrict:"A",link:function(e,t,n){var r=t.find("[tab-content]"),i=t.find("[tab-button]");if(n.tabContainer){var o=n.tabContainer;i.filter('[tab-button="'+o+'"]').addClass("selected"),r.hide().filter('[tab-content="'+o+'"]').show()}else r.hide().first().show(),i.first().addClass("selected");i.click(function(){var e=$(this);i.removeClass("selected"),r.hide();var t=e.addClass("selected").attr("tab-button");r.filter('[tab-content="'+t+'"]').show()})}}}),e.directive("subForm",function(){return{restrict:"A",link:function(e,t,n){function r(t){t.preventDefault(),n.subForm&&e.$eval(n.subForm)}t.on("keypress",function(e){13===e.keyCode&&r(e)}),t.find('button[type="submit"]').click(r)}}}),e.directive("dropZone",[function(){return{restrict:"E",template:'\n
    \n
    {{message}}
    \n
    \n ',scope:{uploadUrl:"@",eventSuccess:"=",eventError:"=",uploadedTo:"@"},link:function(e,t,n){e.message=n.message,n.placeholder&&(t[0].querySelector(".dz-message").textContent=n.placeholder);new o["default"](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)}413===n.status&&r(trans("errors.server_upload_limit")),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");var e=r.find("input"),n=e.length>0;n&&(e.first().focus(),t.on("keypress","input",function(e){if(13===e.keyCode)return e.preventDefault(),r.hide(),r.removeClass("anim menuIn"),!1})),t.mouseleave(function(){r.hide(),r.removeClass("anim menuIn")})})}}}]),e.directive("tinymce",["$timeout",function(e){return{restrict:"A",scope:{tinymce:"=",mceModel:"=",mceChange:"="},link:function(t,n,r){function i(n){n.on("ExecCommand change NodeChange ObjectResized",function(r){var i=n.getContent();e(function(){t.mceModel=i}),t.mceChange(i)}),n.on("keydown",function(e){t.$emit("editor-keydown",e)}),n.on("init",function(e){t.mceModel=n.getContent()}),t.$on("html-update",function(e,r){n.setContent(r),n.selection.select(n.getBody(),!0),n.selection.collapse(!1),t.mceModel=n.getContent()})}t.tinymce.extraSetups.push(i),tinymce.PluginManager.add("customhr",function(e){e.addCommand("InsertHorizontalRule",function(){var t=document.createElement("hr"),n=e.selection.getNode(),r=n.parentNode;r.insertBefore(t,n)}),e.addButton("hr",{icon:"hr",tooltip:"Horizontal line",cmd:"InsertHorizontalRule"}),e.addMenuItem("hr",{icon:"hr",text:"Horizontal line",cmd:"InsertHorizontalRule",context:"insert"})}),tinymce.init(t.tinymce)}}}]);var n=new s["default"].Renderer;n.listitem=function(e){return/^\s*\[[x ]\]\s*/.test(e)?(e=e.replace(/^\s*\[ \]\s*/,'').replace(/^\s*\[x\]\s*/,''),'
  • '+e+"
  • "):"
  • "+e+"
  • "},e.directive("markdownInput",["$timeout",function(e){return{restrict:"A",scope:{mdModel:"=",mdChange:"="},link:function(t,r,i){r=r.find("textarea").first();var o=r.val();t.mdModel=o,t.mdChange((0,s["default"])(o,{renderer:n})),r.on("change input",function(i){o=r.val(),e(function(){t.mdModel=o,t.mdChange((0,s["default"])(o,{renderer:n}))})}),t.$on("markdown-update",function(e,n){r.val(n),t.mdModel=n,t.mdChange((0,s["default"])(n))})}}}]),e.directive("markdownEditor",["$timeout",function(e){return{restrict:"A",link:function(e,t,n){function r(){h=u[0].scrollHeight,p=u.height(),m=l[0].scrollHeight,g=l.height()}function i(){window.showEntityLinkSelector(function(e){var t=d,n=u[0].selectionEnd,r=n!==t,i=u.val();if(r){var o=i.substring(t,n),a="["+o+"]("+e.link+")";u.val(i.substring(0,t)+a+i.substring(n))}else{var s=" ["+e.name+"]("+e.link+") ";u.val(i.substring(0,t)+s+i.substring(t))}u.change()})}function o(e){if(e=e.originalEvent,e.clipboardData){var t=e.clipboardData.items;if(t)for(var n=0;na?"!["+c+"]":"![]")+("("+f+")");u[0].value=l.substring(0,a)+d+l.substring(s),u.focus(),u[0].selectionStart=a,u[0].selectionEnd=a;var h="image-"+Date.now()+"."+n;t.append("file",e,h),t.append("_token",document.querySelector('meta[name="token"]').getAttribute("content")),r.open("POST",window.baseUrl("/images/gallery/upload")),r.onload=function(){var e=u[0].selectionStart;if(200===r.status||201===r.status){var t=JSON.parse(r.responseText);u[0].value=u[0].value.replace(f,t.thumbs.display),u.change()}else u[0].value=u[0].value.replace(d,""),u.change();u.focus(),u[0].selectionStart=e,u[0].selectionEnd=e},r.send(t)}}var u=t.find("[markdown-input] textarea").first(),l=t.find(".markdown-display").first(),c=t.find('button[data-action="insertImage"]'),f=t.find('button[data-action="insertEntityLink"]');l.on("click","a",function(e){e.preventDefault(),window.open(this.getAttribute("href"))});var d=0;u.blur(function(e){d=u[0].selectionStart});var h=void 0,p=void 0,m=void 0,g=void 0;setTimeout(function(){r()},200),window.addEventListener("resize",r);var v=800,$=0;u.on("scroll",function(e){var t=Date.now();t-$>v&&r();var n=u.scrollTop()/(h-p),i=(m-g)*n;l.scrollTop(i),$=t}),u.keydown(function(t){if(73===t.which&&t.ctrlKey&&t.shiftKey){t.preventDefault();var n=u[0].selectionStart,r=u.val(),o="![](http://)";return u.val(r.substring(0,n)+o+r.substring(n)),u.focus(),u[0].selectionStart=n+"![](".length,void(u[0].selectionEnd=n+"![](http://".length)}return 75===t.which&&t.ctrlKey&&t.shiftKey?void i():void e.$emit("editor-keydown",t)}),c.click(function(e){window.ImageManager.showExternal(function(e){var t=d,n=u.val(),r="!["+e.name+"]("+e.thumbs.display+")";u.val(n.substring(0,t)+r+n.substring(t)),u.change()})}),f.click(i),u.on("paste",o),u.on("drop",a)}}}]),e.directive("toolbox",[function(){return{restrict:"A",link:function(e,t,n){function r(e,n){i.removeClass("active"),o.hide(),i.filter('[toolbox-tab-button="'+e+'"]').addClass("active"),o.filter('[toolbox-tab-content="'+e+'"]').show(),n&&t.addClass("open")}var i=t.find("[toolbox-tab-button]"),o=t.find("[toolbox-tab-content]"),a=t.find("[toolbox-toggle]");a.click(function(e){t.toggleClass("open")}),r(o.first().attr("toolbox-tab-content"),!1),i.click(function(e){var t=$(this).attr("toolbox-tab-button");r(t,!0)})}}}]),e.directive("tagAutosuggestions",["$http",function(e){return{restrict:"A",link:function(t,n,r){function i(e,t){t[h].className="",h=e,t[h].className="active"}function o(e,t){if(0===t.length)return c.hide(),f=!1,void(m=t);if(f||(c.show(),f=!0),e!==d&&(c.detach(),e.after(c),d=e),m.join()===t.join())return void(m=t);c[0].innerHTML="";for(var n=0;n=0}});var b=$(".notification"),w=b.filter(".pos"),x=b.filter(".neg"),k=b.filter(".warning");window.Events.listen("success",function(e){w.hide(),w.find("span").text(e),setTimeout(function(){w.show()},1)}),window.Events.listen("warning",function(e){k.find("span").text(e),k.show()}),window.Events.listen("error",function(e){x.find("span").text(e),x.show()}),b.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 _=!1,C=document.getElementById("back-to-top"),S=1200;window.addEventListener("scroll",function(){var e=document.documentElement.scrollTop||document.body.scrollTop||0;!_&&e>S?(C.style.display="block",_=!0,setTimeout(function(){C.style.opacity=.4},1)):_&&e0||navigator.userAgent.indexOf("Safari")!==-1)&&$("body").addClass("flexbox-support")},{"./controllers":22,"./directives":23,"./pages/page-show":26,"./services":27,"./translations":28,angular:9,"angular-animate":2,"angular-resource":4,"angular-sanitize":6,"angular-ui-sortable":7}],25:[function(e,t,n){"use strict";function r(e,t){if(e.clipboardData){var n=e.clipboardData.items;if(n)for(var r=function(e){if(n[e].type.indexOf("image")===-1)return{v:void 0};var r=n[e].getAsFile(),i=new FormData,o="png",a=new XMLHttpRequest;if(r.name){var s=r.name.match(/\.(.+)$/);s&&(o=s[1])}var u="image-"+Math.random().toString(16).slice(2),l=window.baseUrl("/loading.gif");t.execCommand("mceInsertContent",!1,'');var c="image-"+Date.now()+"."+o;i.append("file",r,c),i.append("_token",document.querySelector('meta[name="token"]').getAttribute("content")),a.open("POST",window.baseUrl("/images/gallery/upload")),a.onload=function(){if(200===a.status||201===a.status){var e=JSON.parse(a.responseText);t.dom.setAttrib(u,"src",e.thumbs.display)}else t.dom.remove(u)},a.send(i)},i=0;i';i+=''+t.name+'',i+="",r.tinyMCE.activeEditor.execCommand("mceInsertContent",!1,i)})},paste_preprocess:function(e,t){var n=t.content;n.indexOf('';n+=''+e.name+'',n+="",t.execCommand("mceInsertContent",!1,n)})}}),t.on("paste",function(e){r(e,t)})}};return e}},{}],26:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(n,"__esModule",{value:!0});var i=e("clipboard"),o=r(i);n["default"]=window.setupPageShow=function(e){function t(){var t=d?window.baseUrl("/link/"+e+"#"+h):"{{@"+e+"#"+h+"}}";d&&0!==t.indexOf("http")&&(t=window.location.protocol+"//"+window.location.host+t),u.find("input").val(t)}function n(e){var t=document.getElementById(e);if($(".page-content [data-highlighted]").attr("data-highlighted","").css("background-color",""),null!==t){var n=$(t),r=$("#custom-styles").attr("data-color-light");n.css("background-color",r).attr("data-highlighted","true").smoothScrollTo()}else $(".page-content").find(':contains("'+e+'")').smoothScrollTo()}function r(){g.width(v.width()+15),g.addClass("fixed"),w=!0}function i(){g.css("width","auto"),g.removeClass("fixed"),w=!1}function a(e){var t=m.scrollTop()>b;!t||w&&!e?t||!w&&!e||i():r()}function s(){a(!1)}var u=$("#pointer").detach(),l=!1,c=u.children("div.pointer").first(),f=!1,d=!0,h="";u.on("click","input",function(e){$(this).select(),e.stopPropagation()}),u.on("click","span.icon",function(e){var n=$(e.currentTarget);d=!d,n.html(d?'':''),t()});new o["default"]("#pointer button");if($(document.body).find("*").on("click focus",function(e){if(l&&!f){var t=$(e.target);t.is(".zmdi")||1===$(e.target).closest("#pointer").length||(u.detach(),l=!1)}}),$('.page-content [id^="bkmrk"]').on("mouseup keyup",function(e){e.stopPropagation();var n=window.getSelection();if(0!==n.toString().length){var r=$(this);h=r.attr("id"),t(),r.before(u),u.show(),l=!0;var i=e.pageX-r.offset().left-c.width()/2;i<0&&(i=0);var o=i/r.width()*100;c.css("left",o+"%"),f=!0,setTimeout(function(){f=!1},100)}}),window.location.hash){var p=window.location.hash.replace(/\%20/g," ").substr(1);n(p)}$(".sidebar-page-nav").on("click","a",function(e){n(e.target.getAttribute("href").substr(1))});var m=$(window),g=$(".book-tree"),v=g.parent(),y=$(document).height()>m.height()&&g.height()<$(".page-content").height(),b=$("#header").height()+$(".toolbar").height(),w=m.scrollTop()>b;y&&m.width()>1e3&&(m.on("scroll",s),a(!0)),m.on("resize",function(e){y&&m.width()>1e3?(m.on("scroll",s),a(!0)):(m.off("scroll",s),i())})}},{clipboard:11}],27:[function(e,t,n){"use strict";t.exports=function(e,t){e.factory("imageManagerService",function(){return{show:!1,showExternal:!1}})}},{}],28:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n Date: Mon, 27 Feb 2017 16:59:10 +0000 Subject: [PATCH 31/54] Updated to version v0.15.1 --- version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version b/version index c06eba1aa9e..5f1dd0af596 100644 --- a/version +++ b/version @@ -1 +1 @@ -v0.15.0 \ No newline at end of file +v0.15.1 From 6725ddcc413041b52c02c8ff2cfc71e3b77257a3 Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Sun, 5 Mar 2017 15:50:52 +0000 Subject: [PATCH 32/54] Updated version for release v0.15.2 --- version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version b/version index 5f1dd0af596..a240c92a4ac 100644 --- a/version +++ b/version @@ -1 +1 @@ -v0.15.1 +v0.15.2 From a74a8ee4831504e37dece96aa264d48c294d4f51 Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Thu, 23 Mar 2017 22:22:16 +0000 Subject: [PATCH 33/54] Updated version for v0.15.3 --- version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version b/version index a240c92a4ac..d5bd67d22fb 100644 --- a/version +++ b/version @@ -1 +1 @@ -v0.15.2 +v0.15.3 From f93280696d5e07eaa0d98aaf16e725e933e6f6b1 Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Sun, 23 Apr 2017 20:42:28 +0100 Subject: [PATCH 34/54] Updated assets for release v0.16 --- public/css/export-styles.css | 2 +- public/css/print-styles.css | 2 +- public/css/styles.css | 2 +- public/js/common.js | 30 ++++++++++++++++++------------ 4 files changed, 21 insertions(+), 15 deletions(-) diff --git a/public/css/export-styles.css b/public/css/export-styles.css index c7348c319f2..92963f928a0 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}.link svg,a svg,blockquote{position:relative}code,pre{white-space:pre}.chapter-toggle,.toggle-switch{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}*{box-sizing:border-box}html{background-color:#FFF;height:100%;overflow-y:scroll}html.flexbox{overflow-y:hidden}body{font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}button{font-size:100%}.title-input input[type=text],h1{font-size:3.425em;line-height:1.22222222em;margin-top:.48888889em;margin-bottom:.48888889em}h3,h4,h5,h6{margin-top:.78571429em}h2,h3,h4{margin-bottom:.43137255em}h2{font-size:2.8275em;line-height:1.294117647em;margin-top:.8627451em}h3{font-size:2.333em;line-height:1.221428572em}h4{font-size:1.666em;line-height:1.375em}.title-input input[type=text],h1,h2,h3,h4,h5,h6{font-weight:400;position:relative;display:block;color:#555}.link svg,.link.icon,a svg,a.icon{display:inline-block}.title-input input[type=text] .subheader,h1 .subheader,h2 .subheader,h3 .subheader,h4 .subheader,h5 .subheader,h6 .subheader{font-size:.5em;line-height:1em;color:#969696}h5{font-size:1.4em}h5,h6{font-weight:500;line-height:1.2em;margin-bottom:.66em}.link,a{color:#0288D1;cursor:pointer;text-decoration:none;-webkit-transition:color ease-in-out 80ms;transition:color ease-in-out 80ms;line-height:1.6}.link:hover,.underlined,a:hover{text-decoration:underline}.toggle-switch,.toggle-switch:after{-webkit-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{border:0;height:1px;background:#EAEAEA;margin-bottom:24px}hr.faded{background-image:-webkit-linear-gradient(left,#FFF,#e3e0e0 20%,#e3e0e0 80%,#FFF);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}.text-small .text-small,.text-small p.small,.text-small small,.text-small span.small,p.small .text-small,p.small p.small,p.small small,p.small span.small,small .text-small,small p.small,small small,small span.small,span.small .text-small,span.small p.small,span.small small,span.small span.small{font-size:1em}.superscript,sup{vertical-align:super;font-size:.8em}.subscript,sub{vertical-align:sub;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}body.flexbox,ol,ul{overflow:hidden}blockquote{display:block;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,.callout{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}.list>*,pre code{display:block}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:#969696}.text-primary,.text-primary:hover,p .primary,p .primary:hover,p.primary,p.primary:hover,span.primary,span.primary:hover{color:#0288D1}.text-secondary,.text-secondary:hover,p .secondary,p .secondary:hover,p.secondary,p.secondary:hover,span.secondary,span.secondary:hover{color:#e27b41}.text-book,.text-book:hover{color:#009688}.text-page,.text-page:hover{color:#0288D1}.text-page.draft,.text-page.draft:hover{color:#9A60DA}.text-chapter,.text-chapter:hover{color:#ef7c3c}.faded .text-book:hover{color:#009688!important}.faded .text-chapter:hover{color:#ef7c3c!important}.faded .text-page:hover{color:#0288D1!important}span.highlight{font-weight:700;padding:2px 4px}ul{padding-left:20.8px;list-style:disc}ol{list-style:decimal;padding-left:32px}li.checkbox-item{list-style:none;margin-left:-20.8px}li.checkbox-item input[type=checkbox]{margin-right:6px}.book-tree .sidebar-page-list li a:hover,.faded .text-button:hover,.logo:hover,.page-content del,.page-content ins{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}.action-header .title-input input[type=text],.action-header h1,.title-input .action-header input[type=text]{margin-top:16px}i{padding-right:6px}body.flexbox{display:-webkit-box;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-align:stretch;align-items:stretch;height:100%;min-height:100%;max-height:100%}body.flexbox #content{-webkit-box-flex:1;flex:1;display:-webkit-box;display:flex;min-height:0}.flex-fill{display:-webkit-box;display:flex;-webkit-box-align:stretch;align-items:stretch;min-height:0}.flex-fill .flex,.flex-fill.flex{min-height:0;-webkit-box-flex:1;flex:1}.flex-child>div{-webkit-box-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.medium{max-width:992px}.container.small{max-width:840px}.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}.clearfix:after,.container-fluid:after,.container:after,.row:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.shaded{background-color:#f1f1f1}.shaded.pos{background-color:#d6ead7}.shaded.neg{background-color:#f4a9a9}.shaded.primary{background-color:#a1ddfe}.shaded.secondary{background-color:#f6d7c6}.bordered{border:1px solid #BBB}.bordered.pos{border-color:#52A256}.bordered.neg{border-color:#E84F4F}.bordered.primary{border-color:#0288D1}.bordered.secondary{border-color:#e27b41}.bordered.thick{border-width:2px}.rounded{border-radius:3px}.nopadding{padding:0}.padded{padding:24px}.padded.large{padding:32px}.padded>h1:first-child,.padded>h2:first-child,.padded>h3:first-child,.padded>h4:first-child,.title-input .padded>input[type=text]:first-child{margin-top:.1em}.padded-top,.padded-vertical{padding-top:16px}.padded-top.large,.padded-vertical.large{padding-top:32px}.padded-bottom,.padded-vertical{padding-bottom:16px}.padded-bottom.large,.padded-vertical.large{padding-bottom:32px}.padded-horizontal,.padded-left{padding-left:16px}.padded-horizontal.large,.padded-left.large{padding-left:32px}.padded-horizontal,.padded-right{padding-right:16px}.padded-horizontal.large,.padded-right.large{padding-right:32px}.margins{margin:24px}.margins.large{margin:32px}.margin-top,.margins-vertical{margin-top:16px}.margin-top.large,.margins-vertical.large{margin-top:32px}.margin-bottom,.margins-vertical{margin-bottom:16px}.margin-bottom.large,.margins-vertical.large{margin-bottom:32px}.margin-left,.margins-horizontal{margin-left:16px}.margin-left.large,.margins-horizontal.large{margin-left:32px}.margin-right,.margins-horizontal{margin-right:16px}.margin-right.large,.margins-horizontal.large{margin-right:32px}.callout{border-left:3px solid #BBB;background-color:#EEE;padding:12px 12px 12px 32px;display:block}.callout:before{font-family:Material-Design-Iconic-Font;left:10px;top:50%;margin-top:-9px;display:inline-block;position:absolute;font-size:1.222em;line-height:1}#markdown-editor,.search-box,.toggle-switch,.toggle-switch:after,form.search-box{position:relative}.callout.success{border-left-color:#52A256;background-color:#e7f3e7;color:#376c39}.callout.success:before{content:'\f269'}.callout.danger{border-left-color:#E84F4F;background-color:#fce8e8;color:#b91818}.callout.danger:before{content:'\f1f2'}.callout.info{border-left-color:#0288D1;background-color:#d3efff;color:#015380}.callout.info:before{content:'\f1f8'}.callout.warning{border-left-color:#e27b41;background-color:#faeae0;color:#b6531c}.callout.warning:before{content:'\f1f1'}.editor-toolbar:after,.pointer:before,.toggle-switch:after{content:''}.input-base,input[type=number],input[type=email],input[type=search],input[type=url],input[type=password],input[type=text],select,textarea{background-color:#FFF;border-radius:3px;border:1px solid #CCC;display:inline-block;font-size:14px;font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif;padding:6px;color:#222;width:250px;max-width:100%}#markdown-editor textarea,.editor-toolbar{font-family:'Roboto Mono',monospace}.input-base.invalid,.input-base.neg,input.invalid[type=number],input.invalid[type=email],input.invalid[type=search],input.invalid[type=url],input.invalid[type=password],input.invalid[type=text],input.neg[type=number],input.neg[type=email],input.neg[type=search],input.neg[type=url],input.neg[type=password],input.neg[type=text],select.invalid,select.neg,textarea.invalid,textarea.neg{border:1px solid #E84F4F}.input-base.pos,.input-base.valid,input.pos[type=number],input.pos[type=email],input.pos[type=search],input.pos[type=url],input.pos[type=password],input.pos[type=text],input.valid[type=number],input.valid[type=email],input.valid[type=search],input.valid[type=url],input.valid[type=password],input.valid[type=text],select.pos,select.valid,textarea.pos,textarea.valid{border:1px solid #52A256}.input-base.disabled,.input-base[disabled],input.disabled[type=number],input.disabled[type=email],input.disabled[type=search],input.disabled[type=url],input.disabled[type=password],input.disabled[type=text],input[disabled][type=number],input[disabled][type=email],input[disabled][type=search],input[disabled][type=url],input[disabled][type=password],input[disabled][type=text],select.disabled,select[disabled],textarea.disabled,textarea[disabled]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAMUlEQVQIW2NkwAGuXbv2nxGbHEhCS0uLEUMSJgHShCKJLIEiiS4Bl8QmAZbEJQGSBAC62BuJ+tt7zgAAAABJRU5ErkJggg==)}.input-base:focus,input[type=number]:focus,input[type=email]:focus,input[type=search]:focus,input[type=url]:focus,input[type=password]:focus,input[type=text]:focus,select:focus,textarea:focus{outline:0}#html-editor{display:none}#markdown-editor{z-index:5}#markdown-editor textarea{font-style:normal;font-weight:400;padding:6px 16px;color:#444;border-radius:0;max-height:100%;-webkit-box-flex:1;flex:1;border:0;width:100%}#markdown-editor textarea:focus{outline:0}#markdown-editor .markdown-display,#markdown-editor .markdown-editor-wrap{-webkit-box-flex:1;flex:1;position:relative}#markdown-editor .markdown-editor-wrap,.page-editor{flex-direction:column;-webkit-box-orient:vertical;-webkit-box-direction:normal}#markdown-editor .markdown-editor-wrap{display:-webkit-box;display:flex;border:1px solid #DDD;width:50%}#markdown-editor .markdown-display{padding:0 16px;margin-left:-1px;overflow-y:scroll}#markdown-editor .markdown-display .page-content{margin:0 auto}.editor-toolbar{width:100%;padding:6px 16px;font-size:11px;line-height:1.6;border-bottom:1px solid #DDD;background-color:#EEE;-webkit-box-flex:0;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;transition:all ease-in-out 120ms;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);transition:all ease-in-out 120ms}.toggle-switch.active{background-color:rgba(82,162,86,.4)}.toggle-switch.active:after{left:16px;background-color:#52A256;border:#305e32}.toggle-switch-checkbox{display:none}input:checked+.toggle-switch{background-color:rgba(82,162,86,.4)}input:checked+.toggle-switch:after{left:16px;background-color:#52A256;border:#305e32}.form-group{margin-bottom:12px}.form-group textarea{display:block;width:100%;min-height:64px}.form-group .text-neg,.form-group .text-pos{padding:6px 0}.description-input textarea,.inline-input-style,.title-input input[type=text]{border:2px dotted #BBB;display:block;width:100%;padding:6px 12px}.title-input .input{width:100%}.description-input label,.title-input label{margin-top:16px;color:#666}.title-input input[type=text]{margin-top:0;padding-right:0;width:100%;color:#444}.title-input.page-title{font-size:.8em}.title-input.page-title .input{border:0;margin-bottom:-1px}.title-input.page-title input[type=text]{max-width:840px;margin:0 auto;border:none}.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 button{background-color:transparent;border:none;color:#0288D1;padding:0;margin:0 0 0 12px;cursor:pointer}.search-box button[type=submit]{margin-left:-24px}.search-box input{padding-right:24px;width:300px;max-width:100%}input.outline{border:0;border-bottom:2px solid #DDD;border-radius:0}input.outline:active,input.outline:focus{border:0;border-bottom:2px solid #AAA;outline:0}#login-form label[for=remember]{margin:0}#login-form label.toggle-switch{margin-left:32px}.image-picker img{background-color:#BBB}table{min-width:100px;border-spacing:0;border-collapse:collapse}table thead{background-color:#F8F8F8;font-weight:500}table td,table th{min-width:10px;padding:6px 8px;border:1px solid #DDD;overflow:auto;line-height:1.2}table td p,table th p{margin:0}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;margin:0}table.table th{font-weight:700}table.table tr:hover{background-color:#EEE}table.table .text-right{text-align:right}table.table .text-center{text-align:center}table.file-table td,table.no-style td{border:0;padding:0}table.list-table{margin:-6px}table.list-table td{border:0;vertical-align:middle;padding:6px}.dropdown-container,.logo-image,.logo-text,form.search-box button,header .links,header .user-name,header .user-name>*{vertical-align:top}table.file-table td{padding:6px}table.file-table .ui-sortable-helper{display:table}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;-webkit-transition:all ease-in-out 120ms;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)}.book-tree,.book-tree.fixed{background-color:#FFF;top:0}.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 h4{margin:24px 0 6px;font-size:1.666em}.page-list a.chapter{color:#ef7c3c}.page-list .inset-list{display:none;overflow:hidden;margin-bottom:24px}.page-list h5{display:block;margin:12px 0 0;border-left:5px solid #0288D1;padding:6px 0 6px 16px;font-size:1.1em;font-weight:400}.page-list h5.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;-webkit-transition:all ease-in-out 180ms;transition:all ease-in-out 180ms;user-select:none}.pointer span.icon,ul.pagination a,ul.pagination span{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none}.chapter-toggle i.zmdi-caret-right{-webkit-transition:all ease-in-out 180ms;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)}.sidebar-page-nav{list-style:none;margin:12px 0 16px 2px;border-left:2px dotted #BBB}.sidebar-page-nav li{padding-left:12px;margin-bottom:4px;font-size:.95em}.sidebar-page-nav .h1,.sidebar-page-nav .h2{margin-left:-2px}.sidebar-page-nav .h3{margin-left:12px}.sidebar-page-nav .h4{margin-left:24px}.sidebar-page-nav .h5{margin-left:36px}.sidebar-page-nav .h6{margin-left:48px}.book-tree{padding:6px 0 0;position:relative;right:0;-webkit-transition:ease-in-out 240ms;transition:ease-in-out 240ms;-webkit-transition-property:right,border;transition-property:right,border;border-left:0 solid #FFF}.book-tree.fixed{z-index:5;position:fixed;padding-left:24px;padding-right:39px;width:30%;right:-15px;height:100%;overflow-y:scroll;-ms-overflow-style:none;border-left:1px solid #DDD}.book-tree.fixed::-webkit-scrollbar{width:0!important}.book-tree h4{padding:16px 12px 0}.book-tree h4 i{padding-right:12px}.book-tree .sidebar-page-list{list-style:none;margin:6px 0 0;padding-left:0;border-left:5px solid #009688}.book-tree .sidebar-page-list li a{display:block;border-bottom:none;padding:6px 0 6px 12px}.book-tree .sidebar-page-list li a i{padding-right:8px}.book-tree .sidebar-page-list a,.book-tree .sidebar-page-list li{display:block}.book-tree .sidebar-page-list a.bold{color:#EEE!important}.book-tree .sidebar-page-list ul{list-style:none;margin:0}.book-tree .sidebar-page-list .book{color:#009688!important}.book-tree .sidebar-page-list .book.selected{background-color:rgba(0,150,136,.29)}.book-tree .sidebar-page-list .chapter{color:#ef7c3c!important}.book-tree .sidebar-page-list .chapter.selected{background-color:rgba(239,124,60,.12)}.book-tree .sidebar-page-list .chapter-toggle{padding-left:12px}.book-tree .sidebar-page-list .list-item-chapter{border-left:5px solid #ef7c3c;margin:10px;display:block}.book-tree .sidebar-page-list .list-item-page{border-bottom:none;border-left:5px solid #0288D1;margin:10px}.book-tree .sidebar-page-list .page{color:#0288D1!important;border-bottom:none}.book-tree .sidebar-page-list .page.selected{background-color:rgba(2,136,209,.1)}.book-tree .sidebar-page-list .list-item-page.draft{border-left:5px solid #9A60DA}.book-tree .sidebar-page-list .list-item-page.draft a.page,.book-tree .sidebar-page-list .page.draft .page{color:#9A60DA!important}.book-tree .sidebar-page-list .sub-menu{display:none;padding-left:0}.book-tree .sidebar-page-list .sub-menu.open{display:block}.sortable-page-list,.sortable-page-list ul{list-style:none;background-color:#FFF}.sort-box{margin-bottom:16px;padding:0 24px;border-left:4px solid #009688}.sortable-page-list,.sortable-page-list>ul{margin-left:0}.sortable-page-list ul{margin-bottom:0;margin-top:0;box-shadow:0 0 1px 0 rgba(0,0,0,.1)}.sortable-page-list li{border:1px solid #DDD;padding:6px 12px;margin-top:-1px;min-height:38px}.sortable-page-list li.text-chapter{border-left:2px solid #ef7c3c}.sortable-page-list li.text-page{border-left:2px solid #0288D1}.sortable-page-list li:first-child{margin-top:6px}.sortable-page-list li.placeholder{position:relative}.sortable-page-list li.placeholder:before{position:absolute}.activity-list-item{padding:12px 0;color:#888;border-bottom:1px solid #EEE;font-size:.9em}.activity-list-item .left+.right{margin-left:42px}ul.pagination{display:inline-block;list-style:none;margin:16px 0;padding-left:1px}ul.pagination li:first-child a,ul.pagination li:first-child span{border-radius:3px 0 0 3px}ul.pagination li:last-child a,ul.pagination li:last-child span{border-radius:0 3px 3px 0}ul.pagination a,ul.pagination span{display:block;padding:3px 12px;border:1px solid #CCC;margin-left:-1px;color:#888;user-select:none}.compact ul.pagination,.entity-list h4{margin:0}ul.pagination a.disabled,ul.pagination span.disabled{cursor:not-allowed}ul.pagination li.active span{background-color:rgba(2,136,209,.8);color:#EEE;border-color:rgba(2,136,209,.8)}ul.pagination a{color:#0288D1}.entity-list>div{padding:16px 0}.entity-list p{margin:6px 0 0}.entity-list hr{margin:0}.entity-list .text-small.text-muted{color:#AAA;font-size:.75em;margin-top:6px}.entity-list .text-muted p.text-muted{margin-top:0}.entity-list .page.draft .text-page{color:#9A60DA}.entity-list.compact{font-size:.6em}.entity-list.compact a,.entity-list.compact h4{line-height:1.2}.entity-list.compact p{display:none;font-size:12px;padding-top:6px;margin:0}.entity-list.compact>p.empty-text{display:block;font-size:15px}.entity-list.compact hr{margin:0}.dropdown-container{display:inline-block;position:relative}.dropdown-container ul{display:none;position:absolute;z-index:999;top:0;list-style:none;right:0;margin:16px 0;background-color:#FFF;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border-radius:1px;border:1px solid #EEE;min-width:180px;padding:6px 0;color:#555;text-align:left!important}.dropdown-container ul.wide{min-width:220px}.dropdown-container ul .text-muted{color:#999}.dropdown-container ul li.padded{padding:6px 16px}.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:12px;padding-right:0;display:inline-block;width:16px}.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-box;display:flex;-webkit-box-align:stretch;align-items:stretch}.page-editor .faded-small{height:auto}.page-editor .edit-area{-webkit-box-flex:1;flex:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}.draft-notification{pointer-events:none;-webkit-transform:scale(0);transform:scale(0);-webkit-transition:-webkit-transform ease-in-out 120ms;transition:-webkit-transform ease-in-out 120ms;transition:transform ease-in-out 120ms;transition:transform ease-in-out 120ms,-webkit-transform ease-in-out 120ms;-webkit-transform-origin:50% 50%;transform-origin:50% 50%}.draft-notification.visible{-webkit-transform:scale(1);transform:scale(1)}.page-style.editor{padding:0!important}.page-content{max-width:840px;overflow-wrap:break-word}.page-content .align-left{text-align:left}.page-content img.align-left,.page-content table.align-left{float:left!important;margin:6px 12px 6px 0}.page-content .align-right{float:right!important}.page-content img.align-right,.page-content table.align-right{text-align:right;margin:6px 0 6px 12px}.page-content .align-center{text-align:center}.page-content img{max-width:100%;height:auto}.page-content .title-input input[type=text],.page-content h1,.page-content h2,.page-content h3,.page-content h4,.page-content h5,.page-content h6,.page-content pre,.title-input .page-content input[type=text]{clear:left}.page-content hr{clear:both;margin:16px 0}.page-content table{-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;table-layout:fixed;max-width:100%;height:auto!important}.page-content ins{background:#dbffdb}.page-content del{background:#FFECEC}.pointer-container{position:relative;display:none;left:0;z-index:10}.pointer,.pointer:before{position:absolute;background-color:#FFF}.pointer{border:1px solid #CCC;display:inline-block;padding:12px;border-radius:4px;box-shadow:0 0 8px 1px rgba(212,209,209,.35);top:-60px;width:272px;z-index:55}.pointer:before{left:50%;bottom:-9px;width:16px;height:16px;margin-left:-8px;display:block;-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 span.icon{cursor:pointer;user-select:none}.pointer .button{line-height:1;margin:0 0 0 -4px;box-shadow:none}.floating-toolbox{background-color:#FFF;border:1px solid #DDD;right:64px;width:48px;overflow:hidden;-webkit-box-align:stretch;align-items:stretch;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;display:-webkit-box;display:flex;-webkit-transition:width ease-in-out 180ms;transition:width ease-in-out 180ms;margin-top:-1px;min-height:0}.floating-toolbox div[toolbox-tab-content],.floating-toolbox form{-webkit-box-orient:vertical;-webkit-box-direction:normal;overflow-y:scroll}.floating-toolbox.open{width:480px}.floating-toolbox [toolbox-toggle] i{-webkit-transition:-webkit-transform ease-in-out 180ms;transition:-webkit-transform ease-in-out 180ms;transition:transform ease-in-out 180ms;transition:transform ease-in-out 180ms,-webkit-transform ease-in-out 180ms}.floating-toolbox [toolbox-toggle]{-webkit-transition:background-color ease-in-out 180ms;transition:background-color ease-in-out 180ms}.floating-toolbox.open [toolbox-toggle]{background-color:rgba(255,0,0,.29)}.floating-toolbox.open [toolbox-toggle] i{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.floating-toolbox>div{-webkit-box-flex:1;flex:1;position:relative}.floating-toolbox .tabs{display:block;border-right:1px solid #DDD;width:48px;-webkit-box-flex:0;flex:0 1 auto}.floating-toolbox .tabs i{color:rgba(0,0,0,.5);padding:0;margin:0}.floating-toolbox .tabs>span{display:block;cursor:pointer;padding:12px 16px;font-size:13.5px;line-height:1.6;border-bottom:1px solid rgba(255,255,255,.3)}.floating-toolbox.open .tabs>span.active{color:#444;background-color:rgba(0,0,0,.1)}.floating-toolbox div[toolbox-tab-content]{padding-bottom:45px;display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1;flex-direction:column;min-height:0}.floating-toolbox div[toolbox-tab-content] .padded{-webkit-box-flex:1;flex:1;padding-top:0}.floating-toolbox h4{font-size:24px;margin:16px 0 0;padding:0 24px 12px}.floating-toolbox .tags input{max-width:100%;width:100%;min-width:50px}.floating-toolbox .tags td{padding-right:12px;padding-top:12px;position:relative}.floating-toolbox .handle{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:move;color:#999}.floating-toolbox form{display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1;flex-direction:column}.floating-toolbox table td,.floating-toolbox table th{overflow:visible}[toolbox-tab-content]{display:none}.tag-display{width:100%;position:relative}.tag-display table{width:100%;margin:0;padding:0}.tag-display tr:first-child td{padding-top:0}.tag-display .heading th{padding:6px 12px;color:rgba(100,100,100,.7);border:0;font-weight:400}.tag-display td{border:0;border-bottom:1px solid #EEE;padding:6px 12px;color:#444}.tag-display tr td:first-child{padding-left:0}.tag-display .tag-value{color:#888}.tag-display tr:last-child td{border-bottom:none}.tag-display .tag{padding:12px}.suggestion-box{position:absolute;background-color:#FFF;border:1px solid #BBB;box-shadow:0 0 4px 1px #CCC;list-style:none;z-index:100;padding:0;margin:0;border-radius:3px}.suggestion-box li{display:block;padding:6px 12px;border-bottom:1px solid #DDD}.suggestion-box li:last-child{border-bottom:0}.suggestion-box li.active{background-color:#EEE} \ No newline at end of file +*{box-sizing:border-box}html{background-color:#fff;height:100%;overflow-y:scroll}html.flexbox{overflow-y:hidden}body{font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif;font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}button{font-size:100%}.title-input input[type=text],h1{font-size:3.425em;line-height:1.22222222em;margin-top:.48888889em;margin-bottom:.48888889em}h2{font-size:2.8275em;line-height:1.294117647em;margin-top:.8627451em;margin-bottom:.43137255em}h3{font-size:2.333em;line-height:1.221428572em;margin-top:.78571429em;margin-bottom:.43137255em}h4{font-size:1.666em;line-height:1.375em;margin-top:.78571429em;margin-bottom:.43137255em}.title-input input[type=text],h1,h2,h3,h4,h5,h6{font-weight:400;position:relative;display:block;color:#555}.title-input input[type=text] .subheader,h1 .subheader,h2 .subheader,h3 .subheader,h4 .subheader,h5 .subheader,h6 .subheader{font-size:.5em;line-height:1em;color:#969696}h5{font-size:1.4em}h5,h6{font-weight:500;line-height:1.2em;margin-top:.78571429em;margin-bottom:.66em}.link,a{color:#0288d1;cursor:pointer;text-decoration:none;transition:color ease-in-out 80ms;font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif;line-height:1.6}.link:hover,a:hover{text-decoration:underline;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}.link.icon,a.icon{display:inline-block}.link svg,a svg{position:relative;display:inline-block}blockquote,ol,p,pre,table,ul{margin-top:.3em;margin-bottom:1.375em}hr{border:0;height:1px;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}.text-small .text-small,.text-small p.small,.text-small small,.text-small span.small,p.small .text-small,p.small p.small,p.small small,p.small span.small,small .text-small,small p.small,small small,small span.small,span.small .text-small,span.small p.small,span.small small,span.small span.small{font-size:1em}.superscript,sup{vertical-align:super;font-size:.8em}.subscript,sub{vertical-align:sub;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}pre code{background-color:transparent;border:0;font-size:1em;display:block}.text-pos,p .pos,p.pos,span.pos{color:#52a256}.text-pos:hover,p .pos:hover,p.pos:hover,span.pos:hover{color:#52a256}.text-neg,p .neg,p.neg,span.neg{color:#e84f4f}.text-neg:hover,p .neg:hover,p.neg:hover,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:#969696}.text-primary,p .primary,p.primary,span.primary{color:#0288d1}.text-primary:hover,p .primary:hover,p.primary:hover,span.primary:hover{color:#0288d1}.text-secondary,p .secondary,p.secondary,span.secondary{color:#e27b41}.text-secondary:hover,p .secondary:hover,p.secondary:hover,span.secondary:hover{color:#e27b41}.text-book{color:#009688}.text-book:hover{color:#009688}.text-page{color:#0288d1}.text-page:hover{color:#0288d1}.text-page.draft{color:#9a60da}.text-page.draft:hover{color:#9a60da}.text-chapter{color:#ef7c3c}.text-chapter:hover{color:#ef7c3c}.faded .text-book:hover{color:#009688!important}.faded .text-chapter:hover{color:#ef7c3c!important}.faded .text-page:hover{color:#0288d1!important}span.highlight{font-weight:700;padding:2px 4px}ol,ul{overflow:hidden}ol p,ul p{margin:0}ul{padding-left:20.8px;list-style:disc}ul ul{list-style:circle;margin-top:0;margin-bottom:0}ul label{margin:0}ol{list-style:decimal;padding-left:32px}li.checkbox-item,li.task-list-item{list-style:none;margin-left:-20.8px}li.checkbox-item input[type=checkbox],li.task-list-item input[type=checkbox]{margin-right:6px}.underlined{text-decoration:underline}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-bigger{font-size:1.1em}.text-large{font-size:1.6666em}.no-color{color:inherit}.header-group{margin:16px 0}.header-group .title-input input[type=text],.header-group h1,.header-group h2,.header-group h3,.header-group h4,.header-group h5,.header-group h6,.title-input .header-group input[type=text]{margin:0}span.sep{color:#bbb;padding:0 6px}.list>*{display:block}.action-header .title-input input[type=text],.action-header h1,.title-input .action-header input[type=text]{margin-top:16px}i{padding-right:6px}body.flexbox{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;height:100%;min-height:100%;max-height:100%;overflow:hidden}body.flexbox #content{-ms-flex:1;flex:1;display:-ms-flexbox;display:flex;min-height:0}.flex-fill{display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch;min-height:0}.flex-fill .flex,.flex-fill.flex{min-height:0;-ms-flex:1;flex:1}.flex-child>div{-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.medium{max-width:992px}.container.small{max-width:840px}.row{margin-left:-16px;margin-right:-16px}.float{float:left}.float.right{float:right}.block{display:block;position:relative}.inline{display:inline}.block.inline{display:inline-block}.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{position:relative;min-height:1px;padding-left:16px;padding-right:16px}.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.row:after,.row:before{content:" ";display:table}.clearfix:after,.container-fluid:after,.container:after,.row:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.shaded{background-color:#f1f1f1}.shaded.pos{background-color:#d6ead7}.shaded.neg{background-color:#f4a9a9}.shaded.primary{background-color:#a1ddfe}.shaded.secondary{background-color:#f6d7c6}.bordered{border:1px solid #bbb}.bordered.pos{border-color:#52a256}.bordered.neg{border-color:#e84f4f}.bordered.primary{border-color:#0288d1}.bordered.secondary{border-color:#e27b41}.bordered.thick{border-width:2px}.rounded{border-radius:3px}.nopadding{padding:0}.padded{padding:24px}.padded.large{padding:32px}.padded>h1:first-child,.padded>h2:first-child,.padded>h3:first-child,.padded>h4:first-child,.title-input .padded>input[type=text]:first-child{margin-top:.1em}.padded-top,.padded-vertical{padding-top:16px}.padded-top.large,.padded-vertical.large{padding-top:32px}.padded-bottom,.padded-vertical{padding-bottom:16px}.padded-bottom.large,.padded-vertical.large{padding-bottom:32px}.padded-horizontal,.padded-left{padding-left:16px}.padded-horizontal.large,.padded-left.large{padding-left:32px}.padded-horizontal,.padded-right{padding-right:16px}.padded-horizontal.large,.padded-right.large{padding-right:32px}.margins{margin:24px}.margins.large{margin:32px}.margin-top,.margins-vertical{margin-top:16px}.margin-top.large,.margins-vertical.large{margin-top:32px}.margin-bottom,.margins-vertical{margin-bottom:16px}.margin-bottom.large,.margins-vertical.large{margin-bottom:32px}.margin-left,.margins-horizontal{margin-left:16px}.margin-left.large,.margins-horizontal.large{margin-left:32px}.margin-right,.margins-horizontal{margin-right:16px}.margin-right.large,.margins-horizontal.large{margin-right:32px}.callout{border-left:3px solid #bbb;background-color:#eee;padding:12px;padding-left:32px;display:block;position:relative}.callout:before{font-family:Material-Design-Iconic-Font;left:10px;top:50%;margin-top:-9px;display:inline-block;position:absolute;font-size:1.222em;line-height:1}.callout.success{border-left-color:#52a256;background-color:#e7f3e7;color:#376c39}.callout.success:before{content:'\f269'}.callout.danger{border-left-color:#e84f4f;background-color:#fce8e8;color:#b91818}.callout.danger:before{content:'\f1f2'}.callout.info{border-left-color:#0288d1;background-color:#d3efff;color:#015380}.callout.info:before{content:'\f1f8'}.callout.warning{border-left-color:#e27b41;background-color:#faeae0;color:#b6531c}.callout.warning:before{content:'\f1f1'}.input-base,input[type=date],input[type=email],input[type=number],input[type=password],input[type=search],input[type=text],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=date],input.invalid[type=email],input.invalid[type=number],input.invalid[type=password],input.invalid[type=search],input.invalid[type=text],input.invalid[type=url],input.neg[type=date],input.neg[type=email],input.neg[type=number],input.neg[type=password],input.neg[type=search],input.neg[type=text],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=date],input.pos[type=email],input.pos[type=number],input.pos[type=password],input.pos[type=search],input.pos[type=text],input.pos[type=url],input.valid[type=date],input.valid[type=email],input.valid[type=number],input.valid[type=password],input.valid[type=search],input.valid[type=text],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=date],input.disabled[type=email],input.disabled[type=number],input.disabled[type=password],input.disabled[type=search],input.disabled[type=text],input.disabled[type=url],input[disabled][type=date],input[disabled][type=email],input[disabled][type=number],input[disabled][type=password],input[disabled][type=search],input[disabled][type=text],input[disabled][type=url],select.disabled,select[disabled],textarea.disabled,textarea[disabled]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAMUlEQVQIW2NkwAGuXbv2nxGbHEhCS0uLEUMSJgHShCKJLIEiiS4Bl8QmAZbEJQGSBAC62BuJ+tt7zgAAAABJRU5ErkJggg==)}.input-base:focus,input[type=date]:focus,input[type=email]:focus,input[type=number]:focus,input[type=password]:focus,input[type=search]:focus,input[type=text]:focus,input[type=url]:focus,select:focus,textarea:focus{outline:0}#html-editor{display:none}#markdown-editor{position:relative;z-index:5}#markdown-editor textarea{font-family:'Roboto Mono',monospace;font-style:normal;font-weight:400;padding:6px 16px;color:#444;border-radius:0;max-height:100%;-ms-flex:1;flex:1;border:0;width:100%}#markdown-editor textarea:focus{outline:0}#markdown-editor .markdown-display,#markdown-editor .markdown-editor-wrap{-ms-flex:1;flex:1;position:relative}#markdown-editor .markdown-editor-wrap{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;border:1px solid #ddd;width:50%}#markdown-editor .markdown-display{padding:0 16px 0;margin-left:-1px;overflow-y:scroll}#markdown-editor .markdown-display .page-content{margin:0 auto}.editor-toolbar{width:100%;padding:6px 16px;font-family:'Roboto Mono',monospace;font-size:11px;line-height:1.6;border-bottom:1px solid #ddd;background-color:#eee;-ms-flex:none;flex:none}.editor-toolbar:after{content:'';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}label.inline{display:inline-block}label.checkbox,label.radio{font-weight:400;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}label.checkbox input[type=checkbox],label.checkbox input[type=radio],label.radio input[type=checkbox],label.radio input[type=radio]{margin-right:6px}label.inline.checkbox{margin-right:16px}label+p.small{margin-bottom:.8em}table.form-table{max-width:100%}table.form-table td{overflow:hidden;padding:1.5px 0}input[type=date]{width:190px}.toggle-switch{display:inline-block;background-color:#bbb;width:36px;height:14px;border-radius:7px;position:relative;transition:all ease-in-out 120ms;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.toggle-switch:after{content:'';display:block;position:relative;left:0;margin-top:-3px;width:20px;height:20px;border-radius:50%;background-color:#fafafa;border:1px solid #ccc;box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);transition:all ease-in-out 120ms}.toggle-switch.active{background-color:rgba(82,162,86,.4)}.toggle-switch.active:after{left:16px;background-color:#52a256;border:#305e32}.toggle-switch-checkbox{display:none}input:checked+.toggle-switch{background-color:rgba(82,162,86,.4)}input:checked+.toggle-switch:after{left:16px;background-color:#52a256;border:#305e32}.form-group{margin-bottom:12px}.form-group textarea{display:block;width:100%;min-height:64px}.form-group .text-neg,.form-group .text-pos{padding:6px 0}.description-input textarea,.inline-input-style,.title-input input[type=text]{border:2px dotted #bbb;display:block;width:100%;padding:6px 12px}.title-input .input{width:100%}.description-input label,.title-input label{margin-top:16px;color:#666}.title-input input[type=text]{margin-top:0;padding-right:0;width:100%;color:#444}.title-input.page-title{font-size:.8em}.title-input.page-title .input{border:0;margin-bottom:-1px}.title-input.page-title input[type=text]{max-width:840px;margin:0 auto;border:none}.page-title input{display:block;width:100%;font-size:1.4em}.description-input textarea{font-size:15px;color:#666;width:100%}div[editor-type=markdown] .title-input.page-title input[type=text]{max-width:100%}.search-box{max-width:100%;position:relative}.search-box button{background-color:transparent;border:none;color:#0288d1;padding:0;margin:0;cursor:pointer;margin-left:12px}.search-box button[type=submit]{margin-left:-24px}.search-box input{padding-right:24px;width:300px;max-width:100%}input.outline{border:0;border-bottom:2px solid #ddd;border-radius:0}input.outline:active,input.outline:focus{border:0;border-bottom:2px solid #aaa;outline:0}#login-form label[for=remember]{margin:0}#login-form label.toggle-switch{margin-left:32px}.image-picker img{background-color:#bbb}table{min-width:100px;max-width:100%}table thead{background-color:#f8f8f8;font-weight:500}table td,table th{min-width:10px;padding:6px 8px;border:1px solid #ddd;overflow:auto;line-height:1.2}table td p,table th p{margin:0}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 6px;vertical-align:middle;margin:0}table.table th{font-weight:700}table.table tr:hover{background-color:#eee}table.table .text-right{text-align:right}table.table .text-center{text-align:center}table.file-table td,table.no-style td{border:0;padding:0}table.list-table{margin:-6px}table.list-table td{border:0;vertical-align:middle;padding:6px}table.file-table td{padding:6px}table.file-table .ui-sortable-helper{display:table}header{display:block;z-index:2;top:0;background-color:#0288d1;color:#fff;border-bottom:1px solid #ddd}header .padded{padding:16px}header .links{display:inline-block;vertical-align:top;margin-right:32px}@media screen and (max-width:992px){header .links{margin-right:16px}}header .links a{display:inline-block;padding:24px;color:#fff}header .links a:last-child{padding-right:0}@media screen and (max-width:992px){header .links a{padding:24px 12px}}header .avatar,header .user-name{display:inline-block}header .avatar{width:30px;height:30px}header .user-name{vertical-align:top;padding-top:24px;display:inline-block;cursor:pointer}header .user-name>*{vertical-align:top}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}}@media screen and (max-width:992px){header{text-align:center}header .float.right{float:none}}@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;display:inline-block;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{vertical-align:top;margin-left:-24px;color:#fff;top:6px;right:4px;display:inline-block;position:absolute}form.search-box button:hover{color:#fff}.logo{display:inline-block}.logo:hover{color:#fff;text-decoration:none}.logo-text{display:inline-block;font-size:1.8em;color:#fff;font-weight:400;padding:24px 24px 24px 0;vertical-align:top;line-height:1}.logo-image{margin:16px 12px 16px 0;vertical-align:top;height:43px}.breadcrumbs span.sep{color:#aaa;padding:0 6px}.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;text-decoration:none}.faded span.faded-text{display:inline-block;padding:12px}.faded-small{color:#000;font-size:.9em;background-color:rgba(21,101,192,.15)}.action-buttons .text-button,.breadcrumbs .text-button{display:inline-block;padding:12px}.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{text-align: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 h4{margin:24px 0 6px 0;font-size:1.666em}.page-list a.chapter{color:#ef7c3c}.page-list .inset-list{display:none;overflow:hidden;margin-bottom:24px}.page-list h5{display:block;margin:12px 0 0 0;border-left:5px solid #0288d1;padding:6px 0 6px 16px;font-size:1.1em;font-weight:400}.page-list h5.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{cursor:pointer;margin:0 0 24px 0;transition:all ease-in-out 180ms;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.chapter-toggle i.zmdi-caret-right{transition:all ease-in-out 180ms;transform:rotate(0);transform-origin:25% 50%}.chapter-toggle.open{margin-bottom:0}.chapter-toggle.open i.zmdi-caret-right{transform:rotate(90deg)}.sidebar-page-nav{list-style:none;margin:12px 0 16px 2px;border-left:2px dotted #bbb}.sidebar-page-nav li{padding-left:12px;margin-bottom:4px;font-size:.95em}.sidebar-page-nav .h1{margin-left:-2px}.sidebar-page-nav .h2{margin-left:-2px}.sidebar-page-nav .h3{margin-left:12px}.sidebar-page-nav .h4{margin-left:24px}.sidebar-page-nav .h5{margin-left:36px}.sidebar-page-nav .h6{margin-left:48px}.book-tree{padding:6px 0 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;max-width:320px}.book-tree.fixed{background-color:#fff;z-index:5;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 12px}.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:hover{text-decoration:none}.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 10px;display:block}.book-tree .sidebar-page-list .list-item-page{border-bottom:none;border-left:5px solid #0288d1;margin:10px 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 0 24px;border-left:4px solid #009688}.sortable-page-list{margin-left:0}.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{float:left}.activity-list-item .left+.right{margin-left:42px}ul.pagination{display:inline-block;list-style:none;margin:16px 0;padding-left:1px}ul.pagination li{float:left}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}.compact ul.pagination{margin:0}.entity-list>div{padding:16px 0}.entity-list h4{margin:0}.entity-list p{margin:6px 0 0 0}.entity-list hr{margin:0}.entity-list .text-small.text-muted{color:#aaa;font-size:.75em;margin-top:6px}.entity-list .text-muted p.text-muted{margin-top:0}.entity-list .page.draft .text-page{color:#9a60da}.entity-list.compact{font-size:.6em}.entity-list.compact a,.entity-list.compact h4{line-height:1.2}.entity-list.compact p{display:none;font-size:12px;padding-top:6px;margin:0}.entity-list.compact>p.empty-text{display:block;font-size:15px}.entity-list.compact hr{margin:0}.dropdown-container{display:inline-block;vertical-align:top;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 li.padded{padding:6px 16px}.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:12px;padding-right:0;display:inline-block;width:16px}.dropdown-container ul li.border-bottom{border-bottom:1px solid #ddd}#page-show>.row .col-md-9{z-index:2}#page-show>.row .col-md-3{z-index:1}.page-editor{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}.page-editor .faded-small{height:auto}.page-editor .edit-area{-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column}.draft-notification{pointer-events:none;transform:scale(0);transition:transform ease-in-out 120ms;transform-origin:50% 50%}.draft-notification.visible{transform:scale(1)}.page-style.editor{padding:0!important}.page-content{max-width:840px;overflow-wrap:break-word}.page-content .align-left{text-align:left}.page-content img.align-left,.page-content table.align-left{float:left!important;margin:6px 12px 6px 0}.page-content .align-right{float:right!important}.page-content img.align-right,.page-content table.align-right{text-align:right;margin:6px 0 6px 12px}.page-content .align-center{text-align:center}.page-content img{max-width:100%;height:auto}.page-content .title-input input[type=text],.page-content h1,.page-content h2,.page-content h3,.page-content h4,.page-content h5,.page-content h6,.page-content pre,.title-input .page-content input[type=text]{clear:left}.page-content hr{clear:both;margin:16px 0}.page-content table{-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;table-layout:fixed;max-width:100%;height:auto!important}.page-content del,.page-content ins{text-decoration:none}.page-content ins{background:#dbffdb}.page-content del{background:#ffecec}.pointer-container{position:relative;display:none;left:0;z-index:10}.pointer{border:1px solid #ccc;display:inline-block;padding:12px 12px;border-radius:4px;box-shadow:0 0 8px 1px rgba(212,209,209,.35);position:absolute;top:-60px;background-color:#fff;width:272px;z-index:55}.pointer:before{position:absolute;left:50%;bottom:-9px;width:16px;height:16px;margin-left:-8px;content:'';display:block;background-color:#fff;transform:rotate(45deg);transform-origin:50% 50%;border-bottom:1px solid #ccc;border-right:1px solid #ccc;z-index:56}.pointer input{background-color:#fff;border:1px solid #ddd;color:#666;width:172px;z-index:40}.pointer button,.pointer input{position:relative;border-radius:0;height:28px;font-size:12px;vertical-align:top}.pointer>i{color:#888;font-size:18px;padding-top:4px}.pointer span.icon{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.pointer .button{line-height:1;margin:0 0 0 -4px;box-shadow:none}.floating-toolbox{background-color:#fff;border:1px solid #ddd;right:64px;width:48px;overflow:hidden;-ms-flex-align:stretch;align-items:stretch;-ms-flex-direction:row;flex-direction:row;display:-ms-flexbox;display:flex;transition:width ease-in-out 180ms;margin-top:-1px;min-height:0}.floating-toolbox.open{width:480px}.floating-toolbox [toolbox-toggle] i{transition:transform ease-in-out 180ms}.floating-toolbox [toolbox-toggle]{transition:background-color ease-in-out 180ms}.floating-toolbox.open [toolbox-toggle]{background-color:rgba(255,0,0,.29)}.floating-toolbox.open [toolbox-toggle] i{transform:rotate(180deg)}.floating-toolbox>div{-ms-flex:1;flex:1;position:relative}.floating-toolbox .tabs{display:block;border-right:1px solid #ddd;width:48px;-ms-flex:0 1 auto;flex:0 1 auto}.floating-toolbox .tabs i{color:rgba(0,0,0,.5);padding:0;margin:0}.floating-toolbox .tabs>span{display:block;cursor:pointer;padding:12px 16px;font-size:13.5px;line-height:1.6;border-bottom:1px solid rgba(255,255,255,.3)}.floating-toolbox.open .tabs>span.active{color:#444;background-color:rgba(0,0,0,.1)}.floating-toolbox div[toolbox-tab-content]{padding-bottom:45px;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;min-height:0;overflow-y:scroll}.floating-toolbox div[toolbox-tab-content] .padded{-ms-flex:1;flex:1;padding-top:0}.floating-toolbox h4{font-size:24px;margin:16px 0 0 0;padding:0 24px 12px 24px}.floating-toolbox .tags input{max-width:100%;width:100%;min-width:50px}.floating-toolbox .tags td{padding-right:12px;padding-top:12px;position:relative}.floating-toolbox .handle{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:move;color:#999}.floating-toolbox form{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;overflow-y:scroll}.floating-toolbox table td,.floating-toolbox table th{overflow:visible}[toolbox-tab-content]{display:none}.tag-display{width:100%;position:relative}.tag-display table{width:100%;margin:0;padding:0}.tag-display tr:first-child td{padding-top:0}.tag-display .heading th{padding:6px 12px;color:rgba(100,100,100,.7);border:0;font-weight:400}.tag-display td{border:0;border-bottom:1px solid #eee;padding:6px 12px;color:#444}.tag-display tr td:first-child{padding-left:0}.tag-display .tag-value{color:#888}.tag-display tr:last-child td{border-bottom:none}.tag-display .tag{padding:12px}.suggestion-box{position:absolute;background-color:#fff;border:1px solid #bbb;box-shadow:0 0 4px 1px #ccc;list-style:none;z-index:100;padding:0;margin:0;border-radius:3px}.suggestion-box li{display:block;padding:6px 12px;border-bottom:1px solid #ddd}.suggestion-box li:last-child{border-bottom:0}.suggestion-box li.active{background-color:#eee}table{border-spacing:0;border-collapse:collapse} \ No newline at end of file diff --git a/public/css/print-styles.css b/public/css/print-styles.css index 0f8d8aaa3ce..881bd008600 100644 --- a/public/css/print-styles.css +++ b/public/css/print-styles.css @@ -1 +1 @@ -.faded-small,.print-hidden,header{display:none}body{font-size:12px}.page-content{margin:0 auto}.print-full-width{width:100%;float:none;display:block}h2{font-size:2em;line-height:1;margin-top:.6em;margin-bottom:.3em} \ No newline at end of file +header{display:none}body{font-size:12px}.faded-small{display:none}.page-content{margin:0 auto}.print-hidden{display:none}.print-full-width{width:100%;float:none;display:block}h2{font-size:2em;line-height:1;margin-top:.6em;margin-bottom:.3em} \ No newline at end of file diff --git a/public/css/styles.css b/public/css/styles.css index f6d985e4eef..894354f33ad 100644 --- a/public/css/styles.css +++ b/public/css/styles.css @@ -1 +1 @@ -code,pre{white-space:pre}.anim.fadeIn,.anim.searchResult{-webkit-animation-fill-mode:forwards}#markdown-editor .markdown-editor-wrap,.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel,.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body,.popup-body,body.flexbox{-webkit-box-orient:vertical;-webkit-box-direction:normal}*,.dropzone,.dropzone *{box-sizing:border-box}.title-input input[type=text],a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video{margin:0;padding:0;border:0;font:inherit;vertical-align:baseline}.link,.text-button,a,body{font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}blockquote,q{quotes:none}blockquote:after,blockquote:before,q:after,q:before{content:'';content:none}@font-face{font-family:Roboto;font-style:normal;font-weight:100;src:local("Roboto Thin"),local("Roboto-Thin"),url(../fonts/roboto-v15-cyrillic_latin-100.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-100.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:100;src:local("Roboto Thin Italic"),local("Roboto-ThinItalic"),url(../fonts/roboto-v15-cyrillic_latin-100italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-100italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:300;src:local("Roboto Light"),local("Roboto-Light"),url(../fonts/roboto-v15-cyrillic_latin-300.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-300.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:300;src:local("Roboto Light Italic"),local("Roboto-LightItalic"),url(../fonts/roboto-v15-cyrillic_latin-300italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-300italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:local("Roboto"),local("Roboto-Regular"),url(../fonts/roboto-v15-cyrillic_latin-regular.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-regular.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:400;src:local("Roboto Italic"),local("Roboto-Italic"),url(../fonts/roboto-v15-cyrillic_latin-italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:500;src:local("Roboto Medium"),local("Roboto-Medium"),url(../fonts/roboto-v15-cyrillic_latin-500.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-500.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:500;src:local("Roboto Medium Italic"),local("Roboto-MediumItalic"),url(../fonts/roboto-v15-cyrillic_latin-500italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-500italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:700;src:local("Roboto Bold"),local("Roboto-Bold"),url(../fonts/roboto-v15-cyrillic_latin-700.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-700.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:700;src:local("Roboto Bold Italic"),local("Roboto-BoldItalic"),url(../fonts/roboto-v15-cyrillic_latin-700italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-700italic.woff) format("woff")}@font-face{font-family:'Roboto Mono';font-style:normal;font-weight:400;src:local("Roboto Mono"),local("RobotoMono-Regular"),url(../fonts/roboto-mono-v4-latin-regular.woff2) format("woff2"),url(../fonts/roboto-mono-v4-latin-regular.woff) format("woff")}html{background-color:#FFF;height:100%;overflow-y:scroll}html.flexbox{overflow-y:hidden}body{font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}button{font-size:100%}.title-input input[type=text],h1{font-size:3.425em;line-height:1.22222222em;margin-top:.48888889em;margin-bottom:.48888889em}h3,h4,h5,h6{margin-top:.78571429em}h2,h3,h4{margin-bottom:.43137255em}h2{font-size:2.8275em;line-height:1.294117647em;margin-top:.8627451em}h3{font-size:2.333em;line-height:1.221428572em}h4{font-size:1.666em;line-height:1.375em}.title-input input[type=text],h1,h2,h3,h4,h5,h6{font-weight:400;position:relative;display:block;color:#555}.title-input input[type=text] .subheader,h1 .subheader,h2 .subheader,h3 .subheader,h4 .subheader,h5 .subheader,h6 .subheader{font-size:.5em;line-height:1em;color:#969696}h5{font-size:1.4em}h5,h6{font-weight:500;line-height:1.2em;margin-bottom:.66em}.link,.text-button,a{color:#0288D1;cursor:pointer;text-decoration:none;-webkit-transition:color ease-in-out 80ms;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}.icon.text-button,.link.icon,a.icon{display:inline-block}.link svg,.text-button svg,a svg{position:relative;display:inline-block}blockquote,ol,p,pre,table,ul{margin-top:.3em;margin-bottom:1.375em}hr{border:0;height:1px;background:#EAEAEA;margin-bottom:24px}hr.faded{background-image:-webkit-linear-gradient(left,#FFF,#e3e0e0 20%,#e3e0e0 80%,#FFF);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}.text-small .text-small,.text-small p.small,.text-small small,.text-small span.small,p.small .text-small,p.small p.small,p.small small,p.small span.small,small .text-small,small p.small,small small,small span.small,span.small .text-small,span.small p.small,span.small small,span.small span.small{font-size:1em}.superscript,sup{vertical-align:super;font-size:.8em}.subscript,sub{vertical-align:sub;font-size:.8em}.notification span,table.list-table td{vertical-align:middle}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}body.flexbox,ol,ul{overflow:hidden}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,.callout{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}.list>*,pre code{display:block}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:#969696}.text-primary,.text-primary:hover,p .primary,p .primary:hover,p.primary,p.primary:hover,span.primary,span.primary:hover{color:#0288D1}.text-secondary,.text-secondary:hover,p .secondary,p .secondary:hover,p.secondary,p.secondary:hover,span.secondary,span.secondary:hover{color:#e27b41}.text-book,.text-book:hover{color:#009688}.text-page,.text-page:hover{color:#0288D1}.text-page.draft,.text-page.draft:hover{color:#9A60DA}.text-chapter,.text-chapter:hover{color:#ef7c3c}.faded .text-book:hover{color:#009688!important}.faded .text-chapter:hover{color:#ef7c3c!important}.faded .text-page:hover{color:#0288D1!important}span.highlight{font-weight:700;padding:2px 4px}ul{padding-left:20.8px;list-style:disc}ol{list-style:decimal;padding-left:32px}li.checkbox-item{list-style:none;margin-left:-20.8px}li.checkbox-item input[type=checkbox]{margin-right:6px}.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}.action-header .title-input input[type=text],.action-header h1,.title-input .action-header input[type=text]{margin-top:16px}i{padding-right:6px}body.flexbox{display:-webkit-box;display:flex;flex-direction:column;-webkit-box-align:stretch;align-items:stretch;height:100%;min-height:100%;max-height:100%}body.flexbox #content{-webkit-box-flex:1;flex:1;display:-webkit-box;display:flex;min-height:0}.flex-fill{display:-webkit-box;display:flex;-webkit-box-align:stretch;align-items:stretch;min-height:0}.flex-fill .flex,.flex-fill.flex{min-height:0;-webkit-box-flex:1;flex:1}.flex-child>div{-webkit-box-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.medium{max-width:992px}.container.small{max-width:840px}.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}.clearfix:after,.container-fluid:after,.container:after,.row:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.shaded{background-color:#f1f1f1}.shaded.pos{background-color:#d6ead7}.shaded.neg{background-color:#f4a9a9}.shaded.primary{background-color:#a1ddfe}.shaded.secondary{background-color:#f6d7c6}.bordered{border:1px solid #BBB}.bordered.pos{border-color:#52A256}.bordered.neg{border-color:#E84F4F}.bordered.primary{border-color:#0288D1}.bordered.secondary{border-color:#e27b41}.bordered.thick{border-width:2px}.rounded{border-radius:3px}.nopadding{padding:0}.padded{padding:24px}.padded.large{padding:32px}.padded>h1:first-child,.padded>h2:first-child,.padded>h3:first-child,.padded>h4:first-child,.title-input .padded>input[type=text]:first-child{margin-top:.1em}.padded-top,.padded-vertical{padding-top:16px}.padded-top.large,.padded-vertical.large{padding-top:32px}.padded-bottom,.padded-vertical{padding-bottom:16px}.padded-bottom.large,.padded-vertical.large{padding-bottom:32px}.padded-horizontal,.padded-left{padding-left:16px}.padded-horizontal.large,.padded-left.large{padding-left:32px}.padded-horizontal,.padded-right{padding-right:16px}.padded-horizontal.large,.padded-right.large{padding-right:32px}.margins{margin:24px}.margins.large{margin:32px}.margin-top,.margins-vertical{margin-top:16px}.margin-top.large,.margins-vertical.large{margin-top:32px}.margin-bottom,.margins-vertical{margin-bottom:16px}.margin-bottom.large,.margins-vertical.large{margin-bottom:32px}.margin-left,.margins-horizontal{margin-left:16px}.margin-left.large,.margins-horizontal.large{margin-left:32px}.margin-right,.margins-horizontal{margin-right:16px}.margin-right.large,.margins-horizontal.large{margin-right:32px}.callout{border-left:3px solid #BBB;background-color:#EEE;padding:12px 12px 12px 32px;display:block}.callout:before{font-family:Material-Design-Iconic-Font;left:10px;top:50%;margin-top:-9px;display:inline-block;position:absolute;font-size:1.222em;line-height:1}.callout.success{border-left-color:#52A256;background-color:#e7f3e7;color:#376c39}.callout.success:before{content:'\f269'}.callout.danger{border-left-color:#E84F4F;background-color:#fce8e8;color:#b91818}.callout.danger:before{content:'\f1f2'}.callout.info{border-left-color:#0288D1;background-color:#d3efff;color:#015380}.callout.info:before{content:'\f1f8'}.callout.warning{border-left-color:#e27b41;background-color:#faeae0;color:#b6531c}.callout.warning:before{content:'\f1f1'}.button-group:after,.dz-preview .dz-error-message:after,.editor-toolbar:after,.pointer:before,.toggle-switch:after{content:''}.button,.button-base,input[type=button],input[type=submit]{text-decoration:none;font-size:15px;line-height:1.4em;padding:6px 16px;margin:6px 6px 6px 0;display:inline-block;border:none;font-weight:500;font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif;outline:0;border-radius:2px;cursor:pointer;-webkit-transition:all ease-in-out 120ms;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}.button.muted-light,input[type=button].muted-light,input[type=submit].muted-light{background-color:#e4e4e4;color:#666}.button.muted-light:hover,input[type=button].muted-light:hover,input[type=submit].muted-light:hover{background-color:#f8f8f8;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#666}.button.muted-light:active,input[type=button].muted-light:active,input[type=submit].muted-light:active{background-color:#d0d0d0}.button.muted-light:focus,input[type=button].muted-light:focus,input[type=submit].muted-light:focus{background-color:#eee;box-shadow:0 0 4px 1px #CCC;text-decoration:none;color:#666}.text-button{background-color:transparent;padding:0;margin:0;border:none}.button[disabled],.button[disabled]:hover{background-color:#BBB;cursor:default}.text-button:active,.text-button:focus{outline:0}.text-button:hover{text-decoration:none}.text-button.neg{color:#E84F4F}.button-group:after{display:block;font-size:0;clear:both;position:relative}.button-group .button,.button-group button[type=button]{margin:6px 0;float:left;border-radius:0}.button-group .button:first-child,.button-group button[type=button]:first-child{border-radius:2px 0 0 2px}.button-group .button:last-child,.button-group button[type=button]:last-child{border-radius:0 2px 2px 0}.button.block{width:100%;text-align:center;display:block}.button.block.text-left{text-align:left}.button.icon i{padding-right:0}.button.svg{padding:12px 16px 10px 56px}.button.svg svg{display:inline-block;position:absolute;left:16px;top:10px;width:24px}#markdown-editor,.search-box,.toggle-switch,.toggle-switch:after{position:relative}.button[disabled]:hover{box-shadow:none}.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{font-family:'Roboto Mono',monospace}.input-base.invalid,.input-base.neg,input.invalid[type=text],input.invalid[type=number],input.invalid[type=email],input.invalid[type=search],input.invalid[type=url],input.invalid[type=password],input.neg[type=text],input.neg[type=number],input.neg[type=email],input.neg[type=search],input.neg[type=url],input.neg[type=password],select.invalid,select.neg,textarea.invalid,textarea.neg{border:1px solid #E84F4F}.input-base.pos,.input-base.valid,input.pos[type=text],input.pos[type=number],input.pos[type=email],input.pos[type=search],input.pos[type=url],input.pos[type=password],input.valid[type=text],input.valid[type=number],input.valid[type=email],input.valid[type=search],input.valid[type=url],input.valid[type=password],select.pos,select.valid,textarea.pos,textarea.valid{border:1px solid #52A256}.input-base.disabled,.input-base[disabled],input.disabled[type=text],input.disabled[type=number],input.disabled[type=email],input.disabled[type=search],input.disabled[type=url],input.disabled[type=password],input[disabled][type=text],input[disabled][type=number],input[disabled][type=email],input[disabled][type=search],input[disabled][type=url],input[disabled][type=password],select.disabled,select[disabled],textarea.disabled,textarea[disabled]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAMUlEQVQIW2NkwAGuXbv2nxGbHEhCS0uLEUMSJgHShCKJLIEiiS4Bl8QmAZbEJQGSBAC62BuJ+tt7zgAAAABJRU5ErkJggg==)}.input-base:focus,input[type=text]:focus,input[type=number]:focus,input[type=email]:focus,input[type=search]:focus,input[type=url]:focus,input[type=password]:focus,select:focus,textarea:focus{outline:0}#html-editor{display:none}#markdown-editor{z-index:5}#markdown-editor textarea{font-style:normal;font-weight:400;padding:6px 16px;color:#444;border-radius:0;max-height:100%;-webkit-box-flex:1;flex:1;border:0;width:100%}#markdown-editor textarea:focus{outline:0}#markdown-editor .markdown-display,#markdown-editor .markdown-editor-wrap{-webkit-box-flex:1;flex:1;position:relative}#markdown-editor .markdown-editor-wrap{display:-webkit-box;display:flex;flex-direction:column;border:1px solid #DDD;width:50%}#markdown-editor .markdown-display{padding:0 16px;margin-left:-1px;overflow-y:scroll}#markdown-editor .markdown-display .page-content{margin:0 auto}.editor-toolbar{width:100%;padding:6px 16px;font-size:11px;line-height:1.6;border-bottom:1px solid #DDD;background-color:#EEE;-webkit-box-flex:0;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}.logo-text,.page-list h5,label.checkbox,label.radio{font-weight:400}label.checkbox input[type=checkbox],label.checkbox input[type=radio],label.radio input[type=checkbox],label.radio input[type=radio]{margin-right:6px}label+p.small{margin-bottom:.8em}.toggle-switch{background-color:#BBB;width:36px;height:14px;border-radius:7px;-webkit-transition:all ease-in-out 120ms;transition:all ease-in-out 120ms;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;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);-webkit-transition:all ease-in-out 120ms;transition:all ease-in-out 120ms}.toggle-switch.active{background-color:rgba(82,162,86,.4)}.toggle-switch.active:after{left:16px;background-color:#52A256;border:#305e32}.toggle-switch-checkbox{display:none}input:checked+.toggle-switch{background-color:rgba(82,162,86,.4)}input:checked+.toggle-switch:after{left:16px;background-color:#52A256;border:#305e32}.form-group{margin-bottom:12px}.form-group textarea{display:block;width:100%;min-height:64px}.form-group .text-neg,.form-group .text-pos{padding:6px 0}.description-input textarea,.inline-input-style,.title-input input[type=text]{border:2px dotted #BBB;display:block;width:100%;padding:6px 12px}.title-input .input{width:100%}.description-input label,.title-input label{margin-top:16px;color:#666}.title-input input[type=text]{margin-top:0;padding-right:0;width:100%;color:#444}.title-input.page-title{font-size:.8em}.title-input.page-title .input{border:0;margin-bottom:-1px}.title-input.page-title input[type=text]{max-width:840px;margin:0 auto;border:none}.search-box,.search-box input,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 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}input.outline{border:0;border-bottom:2px solid #DDD;border-radius:0}input.outline:active,input.outline:focus{border:0;border-bottom:2px solid #AAA;outline:0}#login-form label[for=remember]{margin:0}#login-form label.toggle-switch{margin-left:32px}.image-picker img{background-color:#BBB}table{border-collapse:collapse;border-spacing:0;min-width:100px}table thead{background-color:#F8F8F8;font-weight:500}table td,table th{min-width:10px;padding:6px 8px;border:1px solid #DDD;overflow:auto;line-height:1.2}table td p,table th p{margin:0}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;margin:0}table.table th{font-weight:700}table.table tr:hover{background-color:#EEE}table.table .text-right{text-align:right}.dz-message,.dz-preview .dz-details,.dz-preview .dz-remove,.image-manager-content .full-tab,.mce-container-body.mce-flow-layout,table.table .text-center{text-align:center}table.file-table td,table.no-style td{border:0;padding:0}table.list-table{margin:-6px}table.list-table td{border:0;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}table.file-table td{padding:6px}table.file-table .ui-sortable-helper{display:table}.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>div>.mce-tinymce.mce-container.mce-panel{-webkit-box-flex:1;flex:1 1 auto;display:-webkit-box!important;display:flex!important;flex-direction:column;-webkit-box-align:stretch;align-items:stretch;margin:0 -1px}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body{-webkit-box-flex:1;flex:1 1 auto;display:-webkit-box!important;display:flex!important;flex-direction:column;-webkit-box-align:stretch;align-items:stretch}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-toolbar-grp{-webkit-box-flex:0;flex:0 1 auto}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-edit-area{-webkit-box-flex:1;flex:1 1 auto;display:-webkit-box!important;display:flex!important;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column;-webkit-box-align:stretch;align-items:stretch}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-edit-area iframe{-webkit-box-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,.333);position:fixed;z-index:95536;width:100%;height:100%;min-width:100%;min-height:100%;top:0;left:0;right:0;bottom:0;-webkit-box-align:center;align-items:center;-webkit-box-pack:center;justify-content:center;display:none}.popup-body-wrap{display:-webkit-box;display:flex}.popup-body{background-color:#FFF;max-height:90%;width:1200px;height:auto;margin:2% 5%;border-radius:4px;box-shadow:0 0 15px 0 rgba(0,0,0,.3);overflow:hidden;z-index:999;display:-webkit-box;display:flex;flex-direction:column}.popup-body.small{margin:2% auto;width:800px;max-width:90%}.popup-body:before{display:-webkit-box;display:flex;align-self:flex-start}.corner-button{position:absolute;top:0;right:0;margin:0;height:40px;border-radius:0;box-shadow:none}.popup-footer,.popup-header{display:block!important;position:relative;height:40px;-webkit-box-flex:0!important;flex:none!important}.popup-footer .popup-title,.popup-header .popup-title{color:#FFF;padding:8px 16px}body.flexbox-support #entity-selector-wrap .popup-body .form-group{height:444px;min-height:444px}#entity-selector-wrap .popup-body .form-group{margin:0}.image-manager-body{min-height:70vh}.dropzone-container{position:relative;border:3px dashed #DDD}.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;-webkit-transition:all cubic-bezier(.4,0,1,1) 160ms;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;margin-left:1px;padding:16px 24px;overflow-y:auto;border-left:1px solid #DDD}.image-manager-sidebar .dropzone-container{margin-top:16px}.image-manager-list{overflow-y:scroll;-webkit-box-flex:1;flex:1}.image-manager-content,.page-editor{flex-direction:column;-webkit-box-orient:vertical;-webkit-box-direction:normal}.image-manager-content{display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1}.image-manager-content .container{width:100%}.dz-message{font-size:1.2em;line-height:1.1;font-style:italic;color:#aaa;cursor:pointer;padding:24px 16px;-webkit-transition:all ease-in-out 120ms;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:-webkit-linear-gradient(top,#eee,#ddd);background:linear-gradient(to bottom,#eee,#ddd)}.dz-preview.dz-image-preview{background:#fff}.dz-preview.dz-image-preview .dz-details{-webkit-transition:opacity .2s linear;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}.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;-webkit-transition:all .2s linear;transition:all .2s linear}.dz-preview.dz-complete .dz-progress{opacity:0;-webkit-transition:opacity .4s ease-in;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:-webkit-linear-gradient(top,#666,#444);background:linear-gradient(to bottom,#666,#444);position:absolute;top:0;left:0;bottom:0;width:0;-webkit-transition:width .3s ease-in-out;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;-webkit-transition:opacity .3s ease;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}[tab-container] .nav-tabs{text-align:left;border-bottom:1px solid #DDD;margin-bottom:16px}[tab-container] .nav-tabs .tab-item{padding:12px;color:#666}[tab-container] .nav-tabs .tab-item.selected{border-bottom-width:3px}.image-picker .none{display:none}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;text-decoration:none}.logo-text{font-size:1.8em;color:#fff;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;-webkit-transition:all ease-in-out 120ms;transition:all ease-in-out 120ms}.faded .text-button:hover{opacity:1;text-decoration:none}.faded-small{color:#000;font-size:.9em;background-color:rgba(21,101,192,.15)}.book-tree,.book-tree.fixed{background-color:#FFF;top:0}.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 h4{margin:24px 0 6px;font-size:1.666em}.page-list a.chapter{color:#ef7c3c}.page-list .inset-list{display:none;overflow:hidden;margin-bottom:24px}.page-list h5{display:block;margin:12px 0 0;border-left:5px solid #0288D1;padding:6px 0 6px 16px;font-size:1.1em}.page-list h5.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{cursor:pointer;margin:0 0 24px;-webkit-transition:all ease-in-out 180ms;transition:all ease-in-out 180ms;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.chapter-toggle i.zmdi-caret-right{-webkit-transition:all ease-in-out 180ms;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)}.sidebar-page-nav{list-style:none;margin:12px 0 16px 2px;border-left:2px dotted #BBB}.sidebar-page-nav li{padding-left:12px;margin-bottom:4px;font-size:.95em}.sidebar-page-nav .h1,.sidebar-page-nav .h2{margin-left:-2px}.sidebar-page-nav .h3{margin-left:12px}.sidebar-page-nav .h4{margin-left:24px}.sidebar-page-nav .h5{margin-left:36px}.sidebar-page-nav .h6{margin-left:48px}.book-tree{padding:6px 0 0;position:relative;right:0;-webkit-transition:ease-in-out 240ms;transition:ease-in-out 240ms;-webkit-transition-property:right,border;transition-property:right,border;border-left:0 solid #FFF}.book-tree.fixed{z-index:5;position:fixed;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:hover{text-decoration:none}.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)}.dropdown-container ul,.sortable-page-list,.sortable-page-list ul{background-color:#FFF;list-style:none}.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}.sort-box{margin-bottom:16px;padding:0 24px;border-left:4px solid #009688}.sortable-page-list,.sortable-page-list>ul{margin-left:0}.sortable-page-list ul{margin-bottom:0;margin-top:0;box-shadow:0 0 1px 0 rgba(0,0,0,.1)}.sortable-page-list li{border:1px solid #DDD;padding:6px 12px;margin-top:-1px;min-height:38px}.sortable-page-list li.text-chapter{border-left:2px solid #ef7c3c}.sortable-page-list li.text-page{border-left:2px solid #0288D1}.sortable-page-list li:first-child{margin-top:6px}.sortable-page-list li.placeholder{position:relative}.sortable-page-list li.placeholder:before{position:absolute}.activity-list-item{padding:12px 0;color:#888;border-bottom:1px solid #EEE;font-size:.9em}.activity-list-item .left+.right{margin-left:42px}ul.pagination{display:inline-block;list-style:none;margin:16px 0;padding-left:1px}ul.pagination li:first-child a,ul.pagination li:first-child span{border-radius:3px 0 0 3px}ul.pagination li:last-child a,ul.pagination li:last-child span{border-radius:0 3px 3px 0}ul.pagination a,ul.pagination span{display:block;padding:3px 12px;border:1px solid #CCC;margin-left:-1px;color:#888;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.compact ul.pagination,.entity-list h4{margin:0}ul.pagination a.disabled,ul.pagination span.disabled{cursor:not-allowed}ul.pagination li.active span{background-color:rgba(2,136,209,.8);color:#EEE;border-color:rgba(2,136,209,.8)}ul.pagination a{color:#0288D1}.entity-list>div{padding:16px 0}.entity-list p{margin:6px 0 0}.entity-list hr{margin:0}.entity-list .text-small.text-muted{color:#AAA;font-size:.75em;margin-top:6px}.entity-list .text-muted p.text-muted{margin-top:0}.entity-list .page.draft .text-page{color:#9A60DA}.entity-list.compact{font-size:.6em}.entity-list.compact a,.entity-list.compact h4{line-height:1.2}.entity-list.compact p{display:none;font-size:12px;padding-top:6px;margin:0}.entity-list.compact>p.empty-text{display:block;font-size:15px}.entity-list.compact hr{margin:0}.dropdown-container{display:inline-block;position:relative}.dropdown-container ul{display:none;position:absolute;z-index:999;top:0;right:0;margin:16px 0;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 li.padded{padding:6px 16px}.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:12px;padding-right:0;display:inline-block;width:16px}.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-box;display:flex;-webkit-box-align:stretch;align-items:stretch}.page-editor .faded-small{height:auto}.page-editor .edit-area{-webkit-box-flex:1;flex:1;-webkit-box-orient:vertical;-webkit-box-direction:normal;flex-direction:column}.draft-notification{pointer-events:none;-webkit-transform:scale(0);transform:scale(0);-webkit-transition:-webkit-transform ease-in-out 120ms;transition:-webkit-transform ease-in-out 120ms;transition:transform ease-in-out 120ms;transition:transform ease-in-out 120ms,-webkit-transform ease-in-out 120ms;-webkit-transform-origin:50% 50%;transform-origin:50% 50%}.draft-notification.visible{-webkit-transform:scale(1);transform:scale(1)}.page-style.editor{padding:0!important}.page-content{max-width:840px;overflow-wrap:break-word}.page-content .align-left{text-align:left}.page-content img.align-left,.page-content table.align-left{float:left!important;margin:6px 12px 6px 0}.page-content .align-right{float:right!important}.page-content img.align-right,.page-content table.align-right{text-align:right;margin:6px 0 6px 12px}.page-content .align-center{text-align:center}.page-content img{max-width:100%;height:auto}.page-content .title-input input[type=text],.page-content h1,.page-content h2,.page-content h3,.page-content h4,.page-content h5,.page-content h6,.page-content pre,.title-input .page-content input[type=text]{clear:left}.page-content hr{clear:both;margin:16px 0}.page-content table{-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;table-layout:fixed;max-width:100%;height:auto!important}.page-content del,.page-content ins{text-decoration:none}.page-content ins{background:#dbffdb}.page-content del{background:#FFECEC}.pointer-container{position:relative;display:none;left:0;z-index:10}.pointer,.pointer:before{position:absolute;background-color:#FFF}.pointer{border:1px solid #CCC;display:inline-block;padding:12px;border-radius:4px;box-shadow:0 0 8px 1px rgba(212,209,209,.35);top:-60px;width:272px;z-index:55}.pointer:before{left:50%;bottom:-9px;width:16px;height:16px;margin-left:-8px;display:block;-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 span.icon{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.pointer .button{line-height:1;margin:0 0 0 -4px;box-shadow:none}.floating-toolbox{background-color:#FFF;border:1px solid #DDD;right:64px;width:48px;overflow:hidden;-webkit-box-align:stretch;align-items:stretch;-webkit-box-orient:horizontal;-webkit-box-direction:normal;flex-direction:row;display:-webkit-box;display:flex;-webkit-transition:width ease-in-out 180ms;transition:width ease-in-out 180ms;margin-top:-1px;min-height:0}.floating-toolbox div[toolbox-tab-content],.floating-toolbox form{-webkit-box-orient:vertical;-webkit-box-direction:normal;overflow-y:scroll}.floating-toolbox.open{width:480px}.floating-toolbox [toolbox-toggle] i{-webkit-transition:-webkit-transform ease-in-out 180ms;transition:-webkit-transform ease-in-out 180ms;transition:transform ease-in-out 180ms;transition:transform ease-in-out 180ms,-webkit-transform ease-in-out 180ms}.floating-toolbox [toolbox-toggle]{-webkit-transition:background-color ease-in-out 180ms;transition:background-color ease-in-out 180ms}.floating-toolbox.open [toolbox-toggle]{background-color:rgba(255,0,0,.29)}.floating-toolbox.open [toolbox-toggle] i{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.floating-toolbox>div{-webkit-box-flex:1;flex:1;position:relative}.floating-toolbox .tabs{display:block;border-right:1px solid #DDD;width:48px;-webkit-box-flex:0;flex:0 1 auto}.floating-toolbox .tabs i{color:rgba(0,0,0,.5);padding:0;margin:0}.floating-toolbox .tabs>span{display:block;cursor:pointer;padding:12px 16px;font-size:13.5px;line-height:1.6;border-bottom:1px solid rgba(255,255,255,.3)}.floating-toolbox.open .tabs>span.active{color:#444;background-color:rgba(0,0,0,.1)}.floating-toolbox div[toolbox-tab-content]{padding-bottom:45px;display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1;flex-direction:column;min-height:0}.floating-toolbox div[toolbox-tab-content] .padded{-webkit-box-flex:1;flex:1;padding-top:0}.floating-toolbox h4{font-size:24px;margin:16px 0 0;padding:0 24px 12px}.floating-toolbox .tags input{max-width:100%;width:100%;min-width:50px}.floating-toolbox .tags td{padding-right:12px;padding-top:12px;position:relative}.floating-toolbox .handle{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:move;color:#999}.floating-toolbox form{display:-webkit-box;display:flex;-webkit-box-flex:1;flex:1;flex-direction:column}.floating-toolbox table td,.floating-toolbox table th{overflow:visible}[toolbox-tab-content]{display:none}.tag-display{width:100%;position:relative}.tag-display table{width:100%;margin:0;padding:0}.tag-display tr:first-child td{padding-top:0}.tag-display .heading th{padding:6px 12px;color:rgba(100,100,100,.7);border:0;font-weight:400}.tag-display td{border:0;border-bottom:1px solid #EEE;padding:6px 12px;color:#444}.tag-display tr td:first-child{padding-left:0}.tag-display .tag-value{color:#888}.tag-display tr:last-child td{border-bottom:none}.tag-display .tag{padding:12px}.suggestion-box{position:absolute;background-color:#FFF;border:1px solid #BBB;box-shadow:0 0 4px 1px #CCC;list-style:none;z-index:100;padding:0;margin:0;border-radius:3px}.avatar,.notification,.suggestion-box li.active{background-color:#EEE}.suggestion-box li{display:block;padding:6px 12px;border-bottom:1px solid #DDD}.suggestion-box li:last-child{border-bottom:0}[v-cloak],[v-show]{display:none}.ng-cloak,[ng-cloak],[ng\:cloak]{display:none!important;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}[ng-click]{cursor:pointer}.dragged{position:absolute;opacity:.5;z-index:2000}body.dragging,body.dragging *{cursor:move!important}.avatar{border-radius:100%;width:30px;height:30px}.avatar.square,.notification{border-radius:3px}.avatar.med{width:40px;height:40px}.avatar.large{width:80px;height:80px}.avatar.huge{width:120px;height:120px}.notification{position:fixed;top:0;right:0;margin:64px 32px;padding:24px 32px;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);z-index:999999;display:block;cursor:pointer;max-width:480px}.notification i,.notification span{display:table-cell}.notification i{font-size:2em;padding-right:24px}.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;-webkit-transition:all ease-in-out 180ms;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-box;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-box-flex:5;flex:5}.contained-search-box input:active,.contained-search-box input:focus{outline:0}.contained-search-box button{width:60px}.contained-search-box button i{padding:0}.contained-search-box button.cancel.active{background-color:#E84F4F;color:#EEE}.entity-selector{border:1px solid #DDD;border-radius:3px;overflow:hidden;font-size:.8em}.entity-selector input[type=text]{width:100%;display:block;border-radius:0;border:0;border-bottom:1px solid #DDD;font-size:16px;padding:12px 16px}.entity-selector .entity-list{overflow-y:scroll;height:400px;background-color:#EEE}.entity-selector .loading{height:400px;padding-top:24px}.entity-selector .entity-list>p{text-align:center;padding-top:24px;font-size:1.333em}.entity-selector .entity-list>div{padding-left:16px;padding-right:16px;background-color:#FFF;-webkit-transition:all ease-in-out 120ms;transition:all ease-in-out 120ms;cursor:pointer}.entity-list-item.selected a,.entity-list-item.selected h3,.entity-list-item.selected i,.entity-list-item.selected p,.entity-list-item.selected span{color:#EEE}.center-box{margin:32px auto 0;padding:16px 48px 32px;width:420px;max-width:100%;display:inline-block;text-align:left;vertical-align:top}.center-box input{width:100%}.center-box.login{background-color:#EEE;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border:1px solid #DDD} \ No newline at end of file +.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-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:after,blockquote:before{content:'';content:none}q:after,q:before{content:'';content:none}table{border-collapse:collapse;border-spacing:0}@font-face{font-family:Roboto;font-style:normal;font-weight:100;src:local("Roboto Thin"),local("Roboto-Thin"),url(../fonts/roboto-v15-cyrillic_latin-100.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-100.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:100;src:local("Roboto Thin Italic"),local("Roboto-ThinItalic"),url(../fonts/roboto-v15-cyrillic_latin-100italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-100italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:300;src:local("Roboto Light"),local("Roboto-Light"),url(../fonts/roboto-v15-cyrillic_latin-300.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-300.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:300;src:local("Roboto Light Italic"),local("Roboto-LightItalic"),url(../fonts/roboto-v15-cyrillic_latin-300italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-300italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:400;src:local("Roboto"),local("Roboto-Regular"),url(../fonts/roboto-v15-cyrillic_latin-regular.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-regular.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:400;src:local("Roboto Italic"),local("Roboto-Italic"),url(../fonts/roboto-v15-cyrillic_latin-italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:500;src:local("Roboto Medium"),local("Roboto-Medium"),url(../fonts/roboto-v15-cyrillic_latin-500.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-500.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:500;src:local("Roboto Medium Italic"),local("Roboto-MediumItalic"),url(../fonts/roboto-v15-cyrillic_latin-500italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-500italic.woff) format("woff")}@font-face{font-family:Roboto;font-style:normal;font-weight:700;src:local("Roboto Bold"),local("Roboto-Bold"),url(../fonts/roboto-v15-cyrillic_latin-700.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-700.woff) format("woff")}@font-face{font-family:Roboto;font-style:italic;font-weight:700;src:local("Roboto Bold Italic"),local("Roboto-BoldItalic"),url(../fonts/roboto-v15-cyrillic_latin-700italic.woff2) format("woff2"),url(../fonts/roboto-v15-cyrillic_latin-700italic.woff) format("woff")}@font-face{font-family:'Roboto Mono';font-style:normal;font-weight:400;src:local("Roboto Mono"),local("RobotoMono-Regular"),url(../fonts/roboto-mono-v4-latin-regular.woff2) format("woff2"),url(../fonts/roboto-mono-v4-latin-regular.woff) format("woff")}*{box-sizing:border-box}html{background-color:#fff;height:100%;overflow-y:scroll}html.flexbox{overflow-y:hidden}body{font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif;font-size:15px;line-height:1.6;color:#616161;-webkit-font-smoothing:antialiased}button{font-size:100%}.title-input input[type=text],h1{font-size:3.425em;line-height:1.22222222em;margin-top:.48888889em;margin-bottom:.48888889em}h2{font-size:2.8275em;line-height:1.294117647em;margin-top:.8627451em;margin-bottom:.43137255em}h3{font-size:2.333em;line-height:1.221428572em;margin-top:.78571429em;margin-bottom:.43137255em}h4{font-size:1.666em;line-height:1.375em;margin-top:.78571429em;margin-bottom:.43137255em}.title-input input[type=text],h1,h2,h3,h4,h5,h6{font-weight:400;position:relative;display:block;color:#555}.title-input input[type=text] .subheader,h1 .subheader,h2 .subheader,h3 .subheader,h4 .subheader,h5 .subheader,h6 .subheader{font-size:.5em;line-height:1em;color:#969696}h5{font-size:1.4em}h5,h6{font-weight:500;line-height:1.2em;margin-top:.78571429em;margin-bottom:.66em}.link,.text-button,a{color:#0288d1;cursor:pointer;text-decoration:none;transition:color ease-in-out 80ms;font-family:Roboto,"DejaVu Sans",Helvetica,Arial,sans-serif;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}.icon.text-button,.link.icon,a.icon{display:inline-block}.link svg,.text-button svg,a svg{position:relative;display:inline-block}blockquote,ol,p,pre,table,ul{margin-top:.3em;margin-bottom:1.375em}hr{border:0;height:1px;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}.text-small .text-small,.text-small p.small,.text-small small,.text-small span.small,p.small .text-small,p.small p.small,p.small small,p.small span.small,small .text-small,small p.small,small small,small span.small,span.small .text-small,span.small p.small,span.small small,span.small span.small{font-size:1em}.superscript,sup{vertical-align:super;font-size:.8em}.subscript,sub{vertical-align:sub;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}pre code{background-color:transparent;border:0;font-size:1em;display:block}.text-pos,p .pos,p.pos,span.pos{color:#52a256}.text-pos:hover,p .pos:hover,p.pos:hover,span.pos:hover{color:#52a256}.text-neg,p .neg,p.neg,span.neg{color:#e84f4f}.text-neg:hover,p .neg:hover,p.neg:hover,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:#969696}.text-primary,p .primary,p.primary,span.primary{color:#0288d1}.text-primary:hover,p .primary:hover,p.primary:hover,span.primary:hover{color:#0288d1}.text-secondary,p .secondary,p.secondary,span.secondary{color:#e27b41}.text-secondary:hover,p .secondary:hover,p.secondary:hover,span.secondary:hover{color:#e27b41}.text-book{color:#009688}.text-book:hover{color:#009688}.text-page{color:#0288d1}.text-page:hover{color:#0288d1}.text-page.draft{color:#9a60da}.text-page.draft:hover{color:#9a60da}.text-chapter{color:#ef7c3c}.text-chapter:hover{color:#ef7c3c}.faded .text-book:hover{color:#009688!important}.faded .text-chapter:hover{color:#ef7c3c!important}.faded .text-page:hover{color:#0288d1!important}span.highlight{font-weight:700;padding:2px 4px}ol,ul{overflow:hidden}ol p,ul p{margin:0}ul{padding-left:20.8px;list-style:disc}ul ul{list-style:circle;margin-top:0;margin-bottom:0}ul label{margin:0}ol{list-style:decimal;padding-left:32px}li.checkbox-item,li.task-list-item{list-style:none;margin-left:-20.8px}li.checkbox-item input[type=checkbox],li.task-list-item input[type=checkbox]{margin-right:6px}.underlined{text-decoration:underline}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-bigger{font-size:1.1em}.text-large{font-size:1.6666em}.no-color{color:inherit}.header-group{margin:16px 0}.header-group .title-input input[type=text],.header-group h1,.header-group h2,.header-group h3,.header-group h4,.header-group h5,.header-group h6,.title-input .header-group input[type=text]{margin:0}span.sep{color:#bbb;padding:0 6px}.list>*{display:block}.action-header .title-input input[type=text],.action-header h1,.title-input .action-header input[type=text]{margin-top:16px}i{padding-right:6px}body.flexbox{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;height:100%;min-height:100%;max-height:100%;overflow:hidden}body.flexbox #content{-ms-flex:1;flex:1;display:-ms-flexbox;display:flex;min-height:0}.flex-fill{display:-ms-flexbox;display:flex;-ms-flex-align:stretch;align-items:stretch;min-height:0}.flex-fill .flex,.flex-fill.flex{min-height:0;-ms-flex:1;flex:1}.flex-child>div{-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.medium{max-width:992px}.container.small{max-width:840px}.row{margin-left:-16px;margin-right:-16px}.float{float:left}.float.right{float:right}.block{display:block;position:relative}.inline{display:inline}.block.inline{display:inline-block}.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{position:relative;min-height:1px;padding-left:16px;padding-right:16px}.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width:992px){.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width:1200px){.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.row:after,.row:before{content:" ";display:table}.clearfix:after,.container-fluid:after,.container:after,.row:after{clear:both}.center-block{display:block;margin-left:auto;margin-right:auto}.shaded{background-color:#f1f1f1}.shaded.pos{background-color:#d6ead7}.shaded.neg{background-color:#f4a9a9}.shaded.primary{background-color:#a1ddfe}.shaded.secondary{background-color:#f6d7c6}.bordered{border:1px solid #bbb}.bordered.pos{border-color:#52a256}.bordered.neg{border-color:#e84f4f}.bordered.primary{border-color:#0288d1}.bordered.secondary{border-color:#e27b41}.bordered.thick{border-width:2px}.rounded{border-radius:3px}.nopadding{padding:0}.padded{padding:24px}.padded.large{padding:32px}.padded>h1:first-child,.padded>h2:first-child,.padded>h3:first-child,.padded>h4:first-child,.title-input .padded>input[type=text]:first-child{margin-top:.1em}.padded-top,.padded-vertical{padding-top:16px}.padded-top.large,.padded-vertical.large{padding-top:32px}.padded-bottom,.padded-vertical{padding-bottom:16px}.padded-bottom.large,.padded-vertical.large{padding-bottom:32px}.padded-horizontal,.padded-left{padding-left:16px}.padded-horizontal.large,.padded-left.large{padding-left:32px}.padded-horizontal,.padded-right{padding-right:16px}.padded-horizontal.large,.padded-right.large{padding-right:32px}.margins{margin:24px}.margins.large{margin:32px}.margin-top,.margins-vertical{margin-top:16px}.margin-top.large,.margins-vertical.large{margin-top:32px}.margin-bottom,.margins-vertical{margin-bottom:16px}.margin-bottom.large,.margins-vertical.large{margin-bottom:32px}.margin-left,.margins-horizontal{margin-left:16px}.margin-left.large,.margins-horizontal.large{margin-left:32px}.margin-right,.margins-horizontal{margin-right:16px}.margin-right.large,.margins-horizontal.large{margin-right:32px}.callout{border-left:3px solid #bbb;background-color:#eee;padding:12px;padding-left:32px;display:block;position:relative}.callout:before{font-family:Material-Design-Iconic-Font;left:10px;top:50%;margin-top:-9px;display:inline-block;position:absolute;font-size:1.222em;line-height:1}.callout.success{border-left-color:#52a256;background-color:#e7f3e7;color:#376c39}.callout.success:before{content:'\f269'}.callout.danger{border-left-color:#e84f4f;background-color:#fce8e8;color:#b91818}.callout.danger:before{content:'\f1f2'}.callout.info{border-left-color:#0288d1;background-color:#d3efff;color:#015380}.callout.info:before{content:'\f1f8'}.callout.warning{border-left-color:#e27b41;background-color:#faeae0;color:#b6531c}.callout.warning:before{content:'\f1f1'}.button,.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}.button.muted-light,input[type=button].muted-light,input[type=submit].muted-light{background-color:#e4e4e4;color:#666}.button.muted-light:hover,input[type=button].muted-light:hover,input[type=submit].muted-light:hover{background-color:#f8f8f8;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);text-decoration:none;color:#666}.button.muted-light:active,input[type=button].muted-light:active,input[type=submit].muted-light:active{background-color:#d0d0d0}.button.muted-light:focus,input[type=button].muted-light:focus,input[type=submit].muted-light:focus{background-color:#eee;box-shadow:0 0 4px 1px #ccc;text-decoration:none;color:#666}.text-button{background-color:transparent;padding:0;margin:0;border:none}.text-button:active,.text-button:focus{outline:0}.text-button:hover{text-decoration:none}.text-button.neg{color:#e84f4f}.button-group:after{display:block;content:'';font-size:0;clear:both;position:relative}.button-group .button,.button-group button[type=button]{margin:6px 0 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.block.text-left{text-align:left}.button.icon i{padding-right:0}.button.svg{padding:12px 16px;padding-bottom:10px;padding-left:56px}.button.svg svg{display:inline-block;position:absolute;left:16px;top:10px;width:24px}.button[disabled]{background-color:#bbb;cursor:default}.button[disabled]:hover{background-color:#bbb;cursor:default;box-shadow:none}table{min-width:100px;max-width:100%}table thead{background-color:#f8f8f8;font-weight:500}table td,table th{min-width:10px;padding:6px 8px;border:1px solid #ddd;overflow:auto;line-height:1.2}table td p,table th p{margin:0}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 6px;vertical-align:middle;margin:0}table.table th{font-weight:700}table.table tr:hover{background-color:#eee}table.table .text-right{text-align:right}table.table .text-center{text-align:center}table.file-table td,table.no-style td{border:0;padding:0}table.list-table{margin:-6px}table.list-table td{border:0;vertical-align:middle;padding:6px}table.file-table td{padding:6px}table.file-table .ui-sortable-helper{display:table}.input-base,input[type=date],input[type=email],input[type=number],input[type=password],input[type=search],input[type=text],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=date],input.invalid[type=email],input.invalid[type=number],input.invalid[type=password],input.invalid[type=search],input.invalid[type=text],input.invalid[type=url],input.neg[type=date],input.neg[type=email],input.neg[type=number],input.neg[type=password],input.neg[type=search],input.neg[type=text],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=date],input.pos[type=email],input.pos[type=number],input.pos[type=password],input.pos[type=search],input.pos[type=text],input.pos[type=url],input.valid[type=date],input.valid[type=email],input.valid[type=number],input.valid[type=password],input.valid[type=search],input.valid[type=text],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=date],input.disabled[type=email],input.disabled[type=number],input.disabled[type=password],input.disabled[type=search],input.disabled[type=text],input.disabled[type=url],input[disabled][type=date],input[disabled][type=email],input[disabled][type=number],input[disabled][type=password],input[disabled][type=search],input[disabled][type=text],input[disabled][type=url],select.disabled,select[disabled],textarea.disabled,textarea[disabled]{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAHCAYAAADEUlfTAAAAMUlEQVQIW2NkwAGuXbv2nxGbHEhCS0uLEUMSJgHShCKJLIEiiS4Bl8QmAZbEJQGSBAC62BuJ+tt7zgAAAABJRU5ErkJggg==)}.input-base:focus,input[type=date]:focus,input[type=email]:focus,input[type=number]:focus,input[type=password]:focus,input[type=search]:focus,input[type=text]:focus,input[type=url]:focus,select:focus,textarea:focus{outline:0}#html-editor{display:none}#markdown-editor{position:relative;z-index:5}#markdown-editor textarea{font-family:'Roboto Mono',monospace;font-style:normal;font-weight:400;padding:6px 16px;color:#444;border-radius:0;max-height:100%;-ms-flex:1;flex:1;border:0;width:100%}#markdown-editor textarea:focus{outline:0}#markdown-editor .markdown-display,#markdown-editor .markdown-editor-wrap{-ms-flex:1;flex:1;position:relative}#markdown-editor .markdown-editor-wrap{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;border:1px solid #ddd;width:50%}#markdown-editor .markdown-display{padding:0 16px 0;margin-left:-1px;overflow-y:scroll}#markdown-editor .markdown-display .page-content{margin:0 auto}.editor-toolbar{width:100%;padding:6px 16px;font-family:'Roboto Mono',monospace;font-size:11px;line-height:1.6;border-bottom:1px solid #ddd;background-color:#eee;-ms-flex:none;flex:none}.editor-toolbar:after{content:'';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}label.inline{display:inline-block}label.checkbox,label.radio{font-weight:400;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}label.checkbox input[type=checkbox],label.checkbox input[type=radio],label.radio input[type=checkbox],label.radio input[type=radio]{margin-right:6px}label.inline.checkbox{margin-right:16px}label+p.small{margin-bottom:.8em}table.form-table{max-width:100%}table.form-table td{overflow:hidden;padding:1.5px 0}input[type=date]{width:190px}.toggle-switch{display:inline-block;background-color:#bbb;width:36px;height:14px;border-radius:7px;position:relative;transition:all ease-in-out 120ms;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.toggle-switch:after{content:'';display:block;position:relative;left:0;margin-top:-3px;width:20px;height:20px;border-radius:50%;background-color:#fafafa;border:1px solid #ccc;box-shadow:0 2px 2px 0 rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.2),0 1px 5px 0 rgba(0,0,0,.12);transition:all ease-in-out 120ms}.toggle-switch.active{background-color:rgba(82,162,86,.4)}.toggle-switch.active:after{left:16px;background-color:#52a256;border:#305e32}.toggle-switch-checkbox{display:none}input:checked+.toggle-switch{background-color:rgba(82,162,86,.4)}input:checked+.toggle-switch:after{left:16px;background-color:#52a256;border:#305e32}.form-group{margin-bottom:12px}.form-group textarea{display:block;width:100%;min-height:64px}.form-group .text-neg,.form-group .text-pos{padding:6px 0}.description-input textarea,.inline-input-style,.title-input input[type=text]{border:2px dotted #bbb;display:block;width:100%;padding:6px 12px}.title-input .input{width:100%}.description-input label,.title-input label{margin-top:16px;color:#666}.title-input input[type=text]{margin-top:0;padding-right:0;width:100%;color:#444}.title-input.page-title{font-size:.8em}.title-input.page-title .input{border:0;margin-bottom:-1px}.title-input.page-title input[type=text]{max-width:840px;margin:0 auto;border:none}.page-title input{display:block;width:100%;font-size:1.4em}.description-input textarea{font-size:15px;color:#666;width:100%}div[editor-type=markdown] .title-input.page-title input[type=text]{max-width:100%}.search-box{max-width:100%;position:relative}.search-box button{background-color:transparent;border:none;color:#0288d1;padding:0;margin:0;cursor:pointer;margin-left:12px}.search-box button[type=submit]{margin-left:-24px}.search-box input{padding-right:24px;width:300px;max-width:100%}input.outline{border:0;border-bottom:2px solid #ddd;border-radius:0}input.outline:active,input.outline:focus{border:0;border-bottom:2px solid #aaa;outline:0}#login-form label[for=remember]{margin:0}#login-form label.toggle-switch{margin-left:32px}.image-picker img{background-color:#bbb}.anim.fadeIn{opacity:0;animation-name:fadeIn;animation-duration:180ms;animation-timing-function:ease-in-out;animation-fill-mode:forwards}@keyframes fadeIn{0%{opacity:0}100%{opacity:1}}.anim.searchResult{opacity:0;transform:translate3d(580px,0,0);animation-name:searchResult;animation-duration:220ms;animation-fill-mode:forwards;animation-timing-function:cubic-bezier(.62,.28,.23,.99)}@keyframes searchResult{0%{opacity:0;transform:translate3d(400px,0,0)}100%{opacity:1;transform:translate3d(0,0,0)}}.anim.notification{transform:translate3d(580px,0,0);animation-name:notification;animation-duration:3s;animation-timing-function:ease-in-out;animation-fill-mode:forwards}.anim.notification.stopped{animation-name:notificationStopped}@keyframes notification{0%{transform:translate3d(580px,0,0)}10%{transform:translate3d(0,0,0)}90%{transform:translate3d(0,0,0)}100%{transform:translate3d(580px,0,0)}}@keyframes notificationStopped{0%{transform:translate3d(580px,0,0)}10%{transform:translate3d(0,0,0)}100%{transform:translate3d(0,0,0)}}@keyframes menuIn{from{opacity:0;transform:scale3d(0,0,1)}to{opacity:1;transform:scale3d(1,1,1)}}.anim.menuIn{transform-origin:100% 0;animation-name:menuIn;animation-duration:120ms;animation-delay:0s;animation-timing-function:cubic-bezier(.62,.28,.23,.99)}@keyframes loadingBob{0%{transform:translate3d(0,0,0)}30%{transform:translate3d(0,0,0)}50%{transform:translate3d(0,-10px,0)}70%{transform:translate3d(0,0,0)}100%{transform:translate3d(0,0,0)}}@keyframes pointer{0%{transform:translate3d(0,20px,0) scale3d(0,0,0)}100%{transform:translate3d(0,0,0) scale3d(1,1,1)}}.anim.pointer{transform-origin:50% 100%;animation-name:pointer;animation-duration:180ms;animation-delay:0s;animation-timing-function:cubic-bezier(.62,.28,.23,.99)}.anim.selectFade{transition:background-color ease-in-out 3s}.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-panel{background-color:#fff}.mce-tinymce .mce-btn{background-color:#fff}.mce-container-body.mce-flow-layout{text-align:center}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel{-ms-flex:1 1 auto;flex:1 1 auto;display:-ms-flexbox!important;display:flex!important;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;margin:0 -1px}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body{-ms-flex:1 1 auto;flex:1 1 auto;display:-ms-flexbox!important;display:flex!important;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-toolbar-grp{-ms-flex:0 1 auto;flex:0 1 auto}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-edit-area{-ms-flex:1 1 auto;flex:1 1 auto;display:-ms-flexbox!important;display:flex!important;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}.edit-area.flex>div>.mce-tinymce.mce-container.mce-panel>.mce-container-body>.mce-edit-area iframe{-ms-flex:1;flex:1}.hljs{display:block;overflow-x:auto;padding:.5em;background:#fdf6e3;color:#657b83;-webkit-text-size-adjust:none}.diff .hljs-header,.hljs-comment,.hljs-doctype,.hljs-pi,.lisp .hljs-string{color:#93a1a1}.css .hljs-tag,.hljs-addition,.hljs-keyword,.hljs-request,.hljs-status,.hljs-winutils,.method,.nginx .hljs-title{color:#859900}.hljs-command,.hljs-doctag,.hljs-hexcolor,.hljs-link_url,.hljs-number,.hljs-regexp,.hljs-rule .hljs-value,.hljs-string,.hljs-tag .hljs-value,.tex .hljs-formula{color:#2aa198}.css .hljs-function,.hljs-built_in,.hljs-chunk,.hljs-decorator,.hljs-id,.hljs-identifier,.hljs-localvars,.hljs-name,.hljs-title,.vhdl .hljs-literal{color:#268bd2}.hljs-attribute,.hljs-class .hljs-title,.hljs-constant,.hljs-link_reference,.hljs-parent,.hljs-type,.hljs-variable,.lisp .hljs-body,.smalltalk .hljs-number{color:#b58900}.css .hljs-pseudo,.diff .hljs-change,.hljs-attr_selector,.hljs-cdata,.hljs-header,.hljs-pragma,.hljs-preprocessor,.hljs-preprocessor .hljs-keyword,.hljs-shebang,.hljs-special,.hljs-subst,.hljs-symbol,.hljs-symbol .hljs-string{color:#cb4b16}.hljs-deletion,.hljs-important{color:#dc322f}.hljs-link_label{color:#6c71c4}.tex .hljs-formula{background:#eee8d5}.overlay{background-color:rgba(0,0,0,.333);position:fixed;z-index:95536;width:100%;height:100%;min-width:100%;min-height:100%;top:0;left:0;right:0;bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;display:none}.popup-body-wrap{display:-ms-flexbox;display:flex}.popup-body{background-color:#fff;max-height:90%;width:1200px;height:auto;margin:2% 5%;border-radius:4px;box-shadow:0 0 15px 0 rgba(0,0,0,.3);overflow:hidden;z-index:999;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.popup-body.small{margin:2% auto;width:800px;max-width:90%}.popup-body:before{display:-ms-flexbox;display:flex;-ms-flex-item-align:start;align-self:flex-start}.corner-button{position:absolute;top:0;right:0;margin:0;height:40px;border-radius:0;box-shadow:none}.popup-footer,.popup-header{display:block!important;position:relative;height:40px;-ms-flex:none!important;flex:none!important}.popup-footer .popup-title,.popup-header .popup-title{color:#fff;padding:8px 16px}body.flexbox-support #entity-selector-wrap .popup-body .form-group{height:444px;min-height:444px}#entity-selector-wrap .popup-body .form-group{margin:0}.image-manager-body{min-height:70vh}.dropzone-container{position:relative;border:3px dashed #ddd}.image-manager-list .image{display:block;position:relative;border-radius:0;float:left;margin:0;cursor:pointer;width:16.66667%;height:auto;border:1px solid #ddd;box-shadow:0 0 0 0 transparent;transition:all cubic-bezier(.4,0,1,1) 160ms;overflow:hidden}.image-manager-list .image.selected{transform:scale3d(.92,.92,.92);border:1px solid #444;box-shadow:0 1px 2px 0 rgba(0,0,0,.2)}.image-manager-list .image img{width:100%;max-width:100%;display:block}.image-manager-list .image .image-meta{position:absolute;width:100%;bottom:0;left:0;color:#eee;background-color:rgba(0,0,0,.4);font-size:10px;padding:3px 4px}.image-manager-list .image .image-meta span{display:block}@media screen and (max-width:1100px){.image-manager-list .image{width:25%}}@media screen and (max-width:800px){.image-manager-list .image .image-meta{display:none}}#image-manager .load-more{display:block;text-align:center;background-color:#eee;padding:12px 16px;color:#aaa;clear:both;font-size:20px;cursor:pointer;font-style:italic}.image-manager-sidebar{width:300px;margin-left:1px;padding:16px 24px;overflow-y:auto;border-left:1px solid #ddd}.image-manager-sidebar .dropzone-container{margin-top:16px}.image-manager-list{overflow-y:scroll;-ms-flex:1;flex:1}.image-manager-content{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex:1;flex:1}.image-manager-content .container{width:100%}.image-manager-content .full-tab{text-align:center}.dz-message{font-size:1.2em;line-height:1.1;font-style:italic;color:#aaa;text-align:center;cursor:pointer;padding:24px 16px;transition:all ease-in-out 120ms}.dz-drag-hover .dz-message{background-color:#107ed2;color:#eee}@keyframes passing-through{0%{opacity:0;transform:translateY(40px)}30%,70%{opacity:1;transform:translateY(0)}100%{opacity:0;transform:translateY(-40px)}}@keyframes slide-in{0%{opacity:0;transform:translateY(40px)}30%{opacity:1;transform:translateY(0)}}@keyframes pulse{0%{transform:scale(1)}10%{transform:scale(1.1)}20%{transform:scale(1)}}.dropzone,.dropzone *{box-sizing:border-box}.dz-preview{position:relative;display:inline-block;vertical-align:top;margin:12px;min-height:80px}.dz-preview:hover{z-index:1000}.dz-preview:hover .dz-details{opacity:1}.dz-preview.dz-file-preview .dz-image{border-radius:4px;background:#999;background:linear-gradient(to bottom,#eee,#ddd)}.dz-preview.dz-file-preview .dz-details{opacity:1}.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}.dz-preview:hover .dz-details{opacity:1}.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{filter:blur(8px)}.dz-preview .dz-image{border-radius:4px;overflow:hidden;width:80px;height:80px;position:relative;display:block;z-index:10}.dz-preview .dz-image img{display:block}.dz-preview.dz-success .dz-success-mark{animation:passing-through 3s cubic-bezier(.77,0,.175,1)}.dz-preview.dz-error .dz-error-mark{opacity:1;animation:slide-in 3s cubic-bezier(.77,0,.175,1)}.dz-preview .dz-error-mark,.dz-preview .dz-success-mark{pointer-events:none;opacity:0;z-index:500;position:absolute;display:block;top:50%;left:50%;margin-left:-27px;margin-top:-27px}.dz-preview .dz-error-mark svg,.dz-preview .dz-success-mark svg{display:block;width:54px;height:54px}.dz-preview.dz-processing .dz-progress{opacity:1;transition:all .2s linear}.dz-preview.dz-complete .dz-progress{opacity:0;transition:opacity .4s ease-in}.dz-preview:not(.dz-processing) .dz-progress{animation:pulse 6s ease infinite}.dz-preview .dz-progress{opacity:1;z-index:1000;pointer-events:none;position:absolute;height:16px;left:50%;top:50%;margin-top:-8px;width:80px;margin-left:-40px;background:rgba(255,255,255,.9);transform:scale(1);border-radius:8px;overflow:hidden}.dz-preview .dz-progress .dz-upload{background:#333;background:linear-gradient(to bottom,#666,#444);position:absolute;top:0;left:0;bottom:0;width:0;transition:width .3s ease-in-out}.dz-preview.dz-error .dz-error-message{display:block}.dz-preview.dz-error:hover .dz-error-message{opacity:1;pointer-events:auto}.dz-preview .dz-error-message{pointer-events:none;z-index:1000;position:absolute;display:block;display:none;opacity:0;transition:opacity .3s ease;border-radius:4px;font-size:11.5px;line-height:1.2;top:88px;left:-26px;width:148px;background:#e84f4f;padding:6px;color:#fff}.dz-preview .dz-error-message:after{content:'';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}[tab-container] .nav-tabs{text-align:left;border-bottom:1px solid #ddd;margin-bottom:16px}[tab-container] .nav-tabs .tab-item{padding:12px;color:#666}[tab-container] .nav-tabs .tab-item.selected{border-bottom-width:3px}.image-picker .none{display:none}header{display:block;z-index:2;top:0;background-color:#0288d1;color:#fff;border-bottom:1px solid #ddd}header .padded{padding:16px}header .links{display:inline-block;vertical-align:top;margin-right:32px}@media screen and (max-width:992px){header .links{margin-right:16px}}header .links a{display:inline-block;padding:24px;color:#fff}header .links a:last-child{padding-right:0}@media screen and (max-width:992px){header .links a{padding:24px 12px}}header .avatar,header .user-name{display:inline-block}header .avatar{width:30px;height:30px}header .user-name{vertical-align:top;padding-top:24px;display:inline-block;cursor:pointer}header .user-name>*{vertical-align:top}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}}@media screen and (max-width:992px){header{text-align:center}header .float.right{float:none}}@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;display:inline-block;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{vertical-align:top;margin-left:-24px;color:#fff;top:6px;right:4px;display:inline-block;position:absolute}form.search-box button:hover{color:#fff}.logo{display:inline-block}.logo:hover{color:#fff;text-decoration:none}.logo-text{display:inline-block;font-size:1.8em;color:#fff;font-weight:400;padding:24px 24px 24px 0;vertical-align:top;line-height:1}.logo-image{margin:16px 12px 16px 0;vertical-align:top;height:43px}.breadcrumbs span.sep{color:#aaa;padding:0 6px}.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;text-decoration:none}.faded span.faded-text{display:inline-block;padding:12px}.faded-small{color:#000;font-size:.9em;background-color:rgba(21,101,192,.15)}.action-buttons .text-button,.breadcrumbs .text-button{display:inline-block;padding:12px}.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{text-align: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 h4{margin:24px 0 6px 0;font-size:1.666em}.page-list a.chapter{color:#ef7c3c}.page-list .inset-list{display:none;overflow:hidden;margin-bottom:24px}.page-list h5{display:block;margin:12px 0 0 0;border-left:5px solid #0288d1;padding:6px 0 6px 16px;font-size:1.1em;font-weight:400}.page-list h5.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{cursor:pointer;margin:0 0 24px 0;transition:all ease-in-out 180ms;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.chapter-toggle i.zmdi-caret-right{transition:all ease-in-out 180ms;transform:rotate(0);transform-origin:25% 50%}.chapter-toggle.open{margin-bottom:0}.chapter-toggle.open i.zmdi-caret-right{transform:rotate(90deg)}.sidebar-page-nav{list-style:none;margin:12px 0 16px 2px;border-left:2px dotted #bbb}.sidebar-page-nav li{padding-left:12px;margin-bottom:4px;font-size:.95em}.sidebar-page-nav .h1{margin-left:-2px}.sidebar-page-nav .h2{margin-left:-2px}.sidebar-page-nav .h3{margin-left:12px}.sidebar-page-nav .h4{margin-left:24px}.sidebar-page-nav .h5{margin-left:36px}.sidebar-page-nav .h6{margin-left:48px}.book-tree{padding:6px 0 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;max-width:320px}.book-tree.fixed{background-color:#fff;z-index:5;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 12px}.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:hover{text-decoration:none}.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 10px;display:block}.book-tree .sidebar-page-list .list-item-page{border-bottom:none;border-left:5px solid #0288d1;margin:10px 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 0 24px;border-left:4px solid #009688}.sortable-page-list{margin-left:0}.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{float:left}.activity-list-item .left+.right{margin-left:42px}ul.pagination{display:inline-block;list-style:none;margin:16px 0;padding-left:1px}ul.pagination li{float:left}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}.compact ul.pagination{margin:0}.entity-list>div{padding:16px 0}.entity-list h4{margin:0}.entity-list p{margin:6px 0 0 0}.entity-list hr{margin:0}.entity-list .text-small.text-muted{color:#aaa;font-size:.75em;margin-top:6px}.entity-list .text-muted p.text-muted{margin-top:0}.entity-list .page.draft .text-page{color:#9a60da}.entity-list.compact{font-size:.6em}.entity-list.compact a,.entity-list.compact h4{line-height:1.2}.entity-list.compact p{display:none;font-size:12px;padding-top:6px;margin:0}.entity-list.compact>p.empty-text{display:block;font-size:15px}.entity-list.compact hr{margin:0}.dropdown-container{display:inline-block;vertical-align:top;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 li.padded{padding:6px 16px}.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:12px;padding-right:0;display:inline-block;width:16px}.dropdown-container ul li.border-bottom{border-bottom:1px solid #ddd}#page-show>.row .col-md-9{z-index:2}#page-show>.row .col-md-3{z-index:1}.page-editor{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}.page-editor .faded-small{height:auto}.page-editor .edit-area{-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column}.draft-notification{pointer-events:none;transform:scale(0);transition:transform ease-in-out 120ms;transform-origin:50% 50%}.draft-notification.visible{transform:scale(1)}.page-style.editor{padding:0!important}.page-content{max-width:840px;overflow-wrap:break-word}.page-content .align-left{text-align:left}.page-content img.align-left,.page-content table.align-left{float:left!important;margin:6px 12px 6px 0}.page-content .align-right{float:right!important}.page-content img.align-right,.page-content table.align-right{text-align:right;margin:6px 0 6px 12px}.page-content .align-center{text-align:center}.page-content img{max-width:100%;height:auto}.page-content .title-input input[type=text],.page-content h1,.page-content h2,.page-content h3,.page-content h4,.page-content h5,.page-content h6,.page-content pre,.title-input .page-content input[type=text]{clear:left}.page-content hr{clear:both;margin:16px 0}.page-content table{-webkit-hyphens:auto;-ms-hyphens:auto;hyphens:auto;table-layout:fixed;max-width:100%;height:auto!important}.page-content del,.page-content ins{text-decoration:none}.page-content ins{background:#dbffdb}.page-content del{background:#ffecec}.pointer-container{position:relative;display:none;left:0;z-index:10}.pointer{border:1px solid #ccc;display:inline-block;padding:12px 12px;border-radius:4px;box-shadow:0 0 8px 1px rgba(212,209,209,.35);position:absolute;top:-60px;background-color:#fff;width:272px;z-index:55}.pointer:before{position:absolute;left:50%;bottom:-9px;width:16px;height:16px;margin-left:-8px;content:'';display:block;background-color:#fff;transform:rotate(45deg);transform-origin:50% 50%;border-bottom:1px solid #ccc;border-right:1px solid #ccc;z-index:56}.pointer input{background-color:#fff;border:1px solid #ddd;color:#666;width:172px;z-index:40}.pointer button,.pointer input{position:relative;border-radius:0;height:28px;font-size:12px;vertical-align:top}.pointer>i{color:#888;font-size:18px;padding-top:4px}.pointer span.icon{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.pointer .button{line-height:1;margin:0 0 0 -4px;box-shadow:none}.floating-toolbox{background-color:#fff;border:1px solid #ddd;right:64px;width:48px;overflow:hidden;-ms-flex-align:stretch;align-items:stretch;-ms-flex-direction:row;flex-direction:row;display:-ms-flexbox;display:flex;transition:width ease-in-out 180ms;margin-top:-1px;min-height:0}.floating-toolbox.open{width:480px}.floating-toolbox [toolbox-toggle] i{transition:transform ease-in-out 180ms}.floating-toolbox [toolbox-toggle]{transition:background-color ease-in-out 180ms}.floating-toolbox.open [toolbox-toggle]{background-color:rgba(255,0,0,.29)}.floating-toolbox.open [toolbox-toggle] i{transform:rotate(180deg)}.floating-toolbox>div{-ms-flex:1;flex:1;position:relative}.floating-toolbox .tabs{display:block;border-right:1px solid #ddd;width:48px;-ms-flex:0 1 auto;flex:0 1 auto}.floating-toolbox .tabs i{color:rgba(0,0,0,.5);padding:0;margin:0}.floating-toolbox .tabs>span{display:block;cursor:pointer;padding:12px 16px;font-size:13.5px;line-height:1.6;border-bottom:1px solid rgba(255,255,255,.3)}.floating-toolbox.open .tabs>span.active{color:#444;background-color:rgba(0,0,0,.1)}.floating-toolbox div[toolbox-tab-content]{padding-bottom:45px;display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;min-height:0;overflow-y:scroll}.floating-toolbox div[toolbox-tab-content] .padded{-ms-flex:1;flex:1;padding-top:0}.floating-toolbox h4{font-size:24px;margin:16px 0 0 0;padding:0 24px 12px 24px}.floating-toolbox .tags input{max-width:100%;width:100%;min-width:50px}.floating-toolbox .tags td{padding-right:12px;padding-top:12px;position:relative}.floating-toolbox .handle{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:move;color:#999}.floating-toolbox form{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;overflow-y:scroll}.floating-toolbox table td,.floating-toolbox table th{overflow:visible}[toolbox-tab-content]{display:none}.tag-display{width:100%;position:relative}.tag-display table{width:100%;margin:0;padding:0}.tag-display tr:first-child td{padding-top:0}.tag-display .heading th{padding:6px 12px;color:rgba(100,100,100,.7);border:0;font-weight:400}.tag-display td{border:0;border-bottom:1px solid #eee;padding:6px 12px;color:#444}.tag-display tr td:first-child{padding-left:0}.tag-display .tag-value{color:#888}.tag-display tr:last-child td{border-bottom:none}.tag-display .tag{padding:12px}.suggestion-box{position:absolute;background-color:#fff;border:1px solid #bbb;box-shadow:0 0 4px 1px #ccc;list-style:none;z-index:100;padding:0;margin:0;border-radius:3px}.suggestion-box li{display:block;padding:6px 12px;border-bottom:1px solid #ddd}.suggestion-box li:last-child{border-bottom:0}.suggestion-box li.active{background-color:#eee}[v-cloak],[v-show]{display:none;opacity:0;animation-name:none!important}.ng-cloak,[ng-cloak],[ng\:cloak]{display:none!important;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}[ng-click]{cursor:pointer}.dragged{position:absolute;opacity:.5;z-index:2000}body.dragging,body.dragging *{cursor:move!important}.avatar{border-radius:100%;background-color:#eee;width:30px;height:30px}.avatar.med{width:40px;height:40px}.avatar.large{width:80px;height:80px}.avatar.huge{width:120px;height:120px}.avatar.square{border-radius:3px}.notification{position:fixed;top:0;right:0;margin:64px 32px;padding:24px 32px;background-color:#eee;border-radius:3px;box-shadow:0 1px 3px 1px rgba(76,76,76,.26);z-index:999999;display:block;cursor:pointer;max-width:480px}.notification i,.notification span{display:table-cell}.notification i{font-size:2em;padding-right:24px}.notification span{vertical-align:middle}.notification.pos{background-color:#52a256;color:#eee}.notification.neg{background-color:#e84f4f;color:#eee}.notification.warning{background-color:#e27b41;color:#eee}.loading-container{position:relative;display:block;height:10px;margin:32px auto}.loading-container>div{width:10px;height:10px;border-radius:10px;display:inline-block;vertical-align:top;transform:translate3d(0,0,0);animation-name:loadingBob;animation-duration:1.4s;animation-iteration-count:infinite;animation-timing-function:cubic-bezier(.62,.28,.23,.99);margin-right:4px;background-color:#0288d1;animation-delay:.3s}.loading-container>div:first-child{left:-16px;background-color:#009688;animation-delay:0s}.loading-container>div:last-child{left:16px;background-color:#ef7c3c;animation-delay:.6s}.search-results>h3 a{font-size:.66em;color:#0288d1;padding-left:16px}.search-results>h3 a i{padding-right:12px}#back-to-top{background-color:#0288d1;position:fixed;bottom:16px;right:24px;padding:6px 12px;cursor:pointer;color:#fff;width:40px;height:40px;border-radius:40px;transition:all ease-in-out 180ms;opacity:0;z-index:999;overflow:hidden}#back-to-top:hover{width:136px;opacity:1!important}#back-to-top:hover span{display:inline-block}#back-to-top .inner{width:136px}#back-to-top i{margin:0;font-size:28px;padding:0 12px 0 0}#back-to-top span{line-height:12px;position:relative;top:-5px}.contained-search-box{display:-ms-flexbox;display:flex}.contained-search-box button,.contained-search-box input{border-radius:0;border:1px solid #ddd;margin-left:-1px}.contained-search-box input{-ms-flex:5;flex:5}.contained-search-box input:active,.contained-search-box input:focus{outline:0}.contained-search-box button{width:60px}.contained-search-box button i{padding:0}.contained-search-box button.cancel.active{background-color:#e84f4f;color:#eee}.entity-selector{border:1px solid #ddd;border-radius:3px;overflow:hidden;font-size:.8em}.entity-selector input[type=text]{width:100%;display:block;border-radius:0;border:0;border-bottom:1px solid #ddd;font-size:16px;padding:12px 16px}.entity-selector .entity-list{overflow-y:scroll;height:400px;background-color:#eee}.entity-selector .loading{height:400px;padding-top:24px}.entity-selector .entity-list>p{text-align:center;padding-top:24px;font-size:1.333em}.entity-selector .entity-list>div{padding-left:16px;padding-right:16px;background-color:#fff;transition:all ease-in-out 120ms;cursor:pointer}.entity-list-item.selected a,.entity-list-item.selected h3,.entity-list-item.selected i,.entity-list-item.selected p,.entity-list-item.selected span{color:#eee}.center-box{margin:32px auto 0 auto;padding:16px 48px 32px 48px;width:420px;max-width:100%;display:inline-block;text-align:left;vertical-align:top}.center-box input{width:100%}.center-box.login{background-color:#eee;box-shadow:0 0 2px 0 rgba(0,0,0,.1);border:1px solid #ddd} \ No newline at end of file diff --git a/public/js/common.js b/public/js/common.js index bc27838ad15..70db1025be0 100644 --- a/public/js/common.js +++ b/public/js/common.js @@ -1,12 +1,18 @@ -!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 a(e,t){var n=e.indexOf(t);t>=0&&e.splice(n,1)}function s(e){if(e instanceof ne)switch(e.length){case 0:return e;case 1:if(e[0].nodeType===I)return e;break;default:return ne(u(e))}if(e.nodeType===I)return ne(e)}function u(e){if(!e[0])return e;for(var t=0;t=0)&&(n=M(n)),0===n&&(n=null),r[t]=n}}),r}function M(e){var t=0,n=e.split(/\s*,\s*/);return G(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 D(e,t){var n=F,r=e+"s";return t?n+=ie:r+=" linear all",[n,r]}function T(){var e=Object.create(null);return{flush:function(){e=Object.create(null)},count:function(t){var n=e[t];return n?n.total:0},get:function(t){var n=e[t];return n&&n.value},put:function(t,n){e[t]?e[t].total++:e[t]={total:1,value:n}}}}function O(e,t,n){G(n,function(n){e[n]=Q(e[n])?e[n]:t.style.getPropertyValue(n)})}var F,L,P,N,I=1,R="-add",U="-remove",j="ng-",V="-active",H="-prepare",z="ng-animate",q="$$ngAnimateChildren",Y="";void 0===e.ontransitionend&&void 0!==e.onwebkittransitionend?(Y="-webkit-",F="WebkitTransition",L="webkitTransitionEnd transitionend"):(F="transition",L="transitionend"),void 0===e.onanimationend&&void 0!==e.onwebkitanimationend?(Y="-webkit-",P="WebkitAnimation",N="webkitAnimationEnd animationend"):(P="animation",N="animationend");var W,B,G,Z,Q,J,K,X,ee,te,ne,re,ie="Duration",oe="Property",ae="Delay",se="TimingFunction",ue="IterationCount",le="PlayState",ce=9999,fe=P+ae,de=P+ie,he=F+ae,pe=F+ie,me=t.$$minErr("ng"),ge=["$$rAF",function(e){function t(e){r=r.concat(e),n()}function n(){if(r.length){for(var t=r.shift(),o=0;o0&&(l=n.get(s),!l)){var c=o(a,"-stagger");r.addClass(i,c),l=E(e,i,u),l.animationDuration=Math.max(l.animationDuration,0),l.transitionDuration=Math.max(l.transitionDuration,0),r.removeClass(i,c),n.put(s,l)}return l||{}}function M(e){z.push(e),g.waitUntilQuiet(function(){t.flush(),n.flush();for(var e=l(),r=0;r=ne&&r>=ie&&(K=!0,g())}function z(){function t(){if(!Q){if(b(!1),G(le,function(e){var t=e[0],n=e[1];B.style[t]=n}),I(e,q),r.addClass(e,Ce),Ue.recalculateTimingStyles){if(_e=B.getAttribute("class")+" "+xe,Me=y(B,_e),Ie=T(B,_e,Me),Re=Ie.maxDelay,te=Math.max(Re,0),ie=Ie.maxDuration,0===ie)return void g();Ue.hasTransitions=Ie.transitionDuration>0,Ue.hasAnimations=Ie.animationDuration>0}if(Ue.applyAnimationDelay&&(Re="boolean"!=typeof q.delay&&A(q.delay)?parseFloat(q.delay):Re,te=Math.max(Re,0),Ie.animationDelay=Re,je=S(Re,!0),le.push(je),B.style[je[0]]=je[1]),ne=te*ye,ae=ie*ye,q.easing){var t,i=q.easing;Ue.hasTransitions&&(t=F+se,le.push([t,i]),B.style[t]=i),Ue.hasAnimations&&(t=P+se,le.push([t,i]),B.style[t]=i)}Ie.transitionDuration&&he.push(L),Ie.animationDuration&&he.push(N),ue=Date.now();var o=ne+we*ae,a=ue+o,s=e.data($e)||[],l=!0;if(s.length){var c=s[0];l=a>c.expectedEndTime,l?u.cancel(c.timer):s.push(g)}if(l){var f=u(n,o,!1);s[0]={timer:f,expectedEndTime:a},s.push(g),e.data($e,s)}he.length&&e.on(he.join(" "),H),q.to&&(q.cleanupStyles&&O(Y,B,Object.keys(q.to)),m(e,q))}}function n(){var t=e.data($e);if(t){for(var n=1;n0&&(Ie.transitionDuration&&0===Ae.transitionDuration||Ie.animationDuration&&0===Ae.animationDuration)&&Math.max(Ae.animationDelay,Ae.transitionDelay);o?u(t,Math.floor(o*Pe*ye),!1):t(),ee.resume=function(){i(!0)},ee.pause=function(){i(!1)}}}var q=n||{};q.$$prepared||(q=d(W(q)));var Y={},B=$(e);if(!B||!B.parentNode||!v.enabled())return E();var Q,J,K,X,ee,te,ne,ie,ae,ue,le=[],fe=e.attr("class"),de=i(q),he=[];if(0===q.duration||!c.animations&&!c.transitions)return E();var pe=q.event&&Z(q.event)?q.event.join(" "):q.event,me=pe&&q.structural,ge="",ve="";me?ge=o(pe,j,!0):pe&&(ge=pe),q.addClass&&(ve+=o(q.addClass,R)),q.removeClass&&(ve.length&&(ve+=" "),ve+=o(q.removeClass,U)),q.applyClassesEarly&&ve.length&&I(e,q);var xe=[ge,ve].join(" ").trim(),_e=fe+" "+xe,Ce=o(xe,V),Se=de.to&&Object.keys(de.to).length>0,Ee=(q.keyframeStyle||"").length>0;if(!Ee&&!Se&&!xe)return E();var Me,Ae;if(q.stagger>0){var De=parseFloat(q.stagger);Ae={transitionDelay:De,animationDelay:De,transitionDuration:0,animationDuration:0}}else Me=y(B,_e),Ae=_(B,xe,Me,ke);q.$$skipPreparationClasses||r.addClass(e,xe);var Te;if(q.transitionStyle){var Oe=[F,q.transitionStyle];k(B,Oe),le.push(Oe)}if(q.duration>=0){Te=B.style[F].length>0;var Fe=D(q.duration,Te);k(B,Fe),le.push(Fe)}if(q.keyframeStyle){var Le=[P,q.keyframeStyle];k(B,Le),le.push(Le)}var Pe=Ae?q.staggerIndex>=0?q.staggerIndex:t.count(Me):0,Ne=0===Pe;Ne&&!q.skipBlocking&&w(B,ce);var Ie=T(B,_e,Me),Re=Ie.maxDelay;te=Math.max(Re,0),ie=Ie.maxDuration;var Ue={};if(Ue.hasTransitions=Ie.transitionDuration>0,Ue.hasAnimations=Ie.animationDuration>0,Ue.hasTransitionAll=Ue.hasTransitions&&"all"===Ie.transitionProperty,Ue.applyTransitionDuration=Se&&(Ue.hasTransitions&&!Ue.hasTransitionAll||Ue.hasAnimations&&!Ue.hasTransitions),Ue.applyAnimationDuration=q.duration&&Ue.hasAnimations,Ue.applyTransitionDelay=A(q.delay)&&(Ue.applyTransitionDuration||Ue.hasTransitions),Ue.applyAnimationDelay=A(q.delay)&&Ue.hasAnimations,Ue.recalculateTimingStyles=ve.length>0,(Ue.applyTransitionDuration||Ue.applyAnimationDuration)&&(ie=q.duration?parseFloat(q.duration):ie,Ue.applyTransitionDuration&&(Ue.hasTransitions=!0,Ie.transitionDuration=ie,Te=B.style[F+oe].length>0,le.push(D(ie,Te))),Ue.applyAnimationDuration&&(Ue.hasAnimations=!0,Ie.animationDuration=ie,le.push(C(ie)))),0===ie&&!Ue.recalculateTimingStyles)return E();if(null!=q.delay){var je;"boolean"!=typeof q.delay&&(je=parseFloat(q.delay),te=Math.max(je,0)),Ue.applyTransitionDelay&&le.push(S(je)),Ue.applyAnimationDelay&&le.push(S(je,!0))}return null==q.duration&&Ie.transitionDuration>0&&(Ue.recalculateTimingStyles=Ue.recalculateTimingStyles||Ne),ne=te*ye,ae=ie*ye,q.skipBlocking||(Ue.blockTransition=Ie.transitionDuration>0,Ue.blockKeyframeAnimation=Ie.animationDuration>0&&Ae.animationDelay>0&&0===Ae.animationDuration),q.from&&(q.cleanupStyles&&O(Y,B,Object.keys(q.from)),p(e,q)),Ue.blockTransition||Ue.blockKeyframeAnimation?b(ie):q.skipBlocking||w(B,!1),{$$willAnimate:!0,end:l,start:function(){if(!Q)return ee={end:l,cancel:f,resume:null,pause:null},X=new s(ee),M(z),X}}}}]}],Ce=["$$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 ee(e)&&(e=e.split(" ")),ee(t)&&(t=t.split(" ")),e.filter(function(e){return t.indexOf(e)===-1}).join(" ")}function p(t,a,u){function l(e){var t={},n=$(e).getBoundingClientRect();return G(["width","height","top","left"],function(e){var r=n[e];switch(e){case"top":r+=v.scrollTop;break;case"left":r+=v.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 p(){var t=d(f(u)),n=h(t,y),r=h(y,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=ne($(a).cloneNode(!0)),y=d(f(g));a.addClass(n),u.addClass(n),g.addClass(r),b.append(g);var w,x=c();if(!x&&(w=p(),!w))return m();var k=x||w;return{start:function(){function e(){n&&n.end()}var t,n=k.start();return n.done(function(){return n=null,!w&&(w=p())?(n=w.start(),n.done(function(){n=null,m(),t.complete()}),n):(m(),void t.complete())}),t=new s({end:e,cancel:e})}}}function m(e,t,n,r){var i=g(e,re),o=g(t,re),a=[];if(G(r,function(e){var t=e.out,r=e["in"],i=p(n,t,r);i&&a.push(i)}),i||o||0!==a.length)return{start:function(){function e(){G(t,function(e){e.end()})}var t=[];i&&t.push(i.start()),o&&t.push(o.start()),G(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}}}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=_(r.event,r.preparationClasses));var i=e(n,r);return i.$$willAnimate?i:null}if(!l.animations&&!l.transitions)return re;var v=f[0].body,y=$(u),b=ne(t(y)||v.contains(y)?y:v);return function(e){return e.from&&e.to?m(e.from,e.to,e.classes,e.anchors):g(e)}}]}],Se=["$animateProvider",function(e){this.$get=["$injector","$$AnimateRunner","$$jqLite",function(t,n,r){function i(n){n=Z(n)?n:n.split(" ");for(var r=[],i={},o=0;o0,r=(e.removeClass||"").length>0;return t?n&&r:n||r}var l=1,c=2,p=" ",m=this.rules={skip:[],cancel:[],join:[]};m.join.push(function(e,t,n){return!t.structural&&a(t)}),m.skip.push(function(e,t,n){return!t.structural&&!a(t)}),m.skip.push(function(e,t,n){return"leave"===n.event&&t.structural}),m.skip.push(function(e,t,n){return n.structural&&n.state===c&&!t.structural}),m.cancel.push(function(e,t,n){return n.structural&&t.structural}),m.cancel.push(function(e,t,n){return n.state===c&&t.structural}),m.cancel.push(function(e,t,n){if(n.structural)return!1;var r=t.addClass,o=t.removeClass,a=n.addClass,s=n.removeClass;return!(te(r)&&te(o)||te(a)&&te(s))&&(i(r,s)||i(o,a))}),this.$get=["$$rAF","$rootScope","$rootElement","$document","$$HashMap","$$animation","$$AnimateRunner","$templateRequest","$$jqLite","$$forceReflow","$$isDocumentHidden",function(r,i,p,m,v,w,x,k,_,C,S){function E(){var e=!1;return function(t){e?t():i.$$postDigest(function(){e=!0,t()})}}function M(e,t){return g(e,t,{})}function A(e,t,n){var r=$(t),i=$(e),o=[],a=z[n];return a&&G(a,function(e){ie.call(e.node,r)?o.push(e.callback):"leave"===n&&ie.call(e.node,i)&&o.push(e.callback)}),o}function D(e,t,n){var r=u(t);return e.filter(function(e){var t=e.node===r&&(!n||e.callback===n);return!t})}function T(e,t){"close"!==e||t[0].parentNode||oe.off(t)}function O(e,t,n){function u(t,n,i,o){_(function(){var t=A(m,e,n);t.length?r(function(){G(t,function(t){t(e,i,o)}),T(i,e)}):T(i,e)}),t.progress(n,i,o)}function f(t){b(e,v),re(e,v),h(e,v),v.domOperation(),k.complete(!t)}var p,m,v=W(n);e=s(e),e&&(p=$(e),m=e.parent()),v=d(v);var k=new x,_=E();if(Z(v.addClass)&&(v.addClass=v.addClass.join(" ")),v.addClass&&!ee(v.addClass)&&(v.addClass=null),Z(v.removeClass)&&(v.removeClass=v.removeClass.join(" ")),v.removeClass&&!ee(v.removeClass)&&(v.removeClass=null),v.from&&!X(v.from)&&(v.from=null),v.to&&!X(v.to)&&(v.to=null),!p)return f(),k;var C=[p.getAttribute("class"),v.addClass,v.removeClass].join(" ");if(!K(C))return f(),k;var D=["enter","move","leave"].indexOf(t)>=0,O=S(),P=!V||O||j.get(p),I=!P&&U.get(p)||{},H=!!I.state;if(P||H&&I.state===l||(P=!N(e,m,t)),P)return O&&u(k,t,"start"),f(),O&&u(k,t,"close"),k;D&&F(e);var z={structural:D,element:e,event:t,addClass:v.addClass,removeClass:v.removeClass,close:f,options:v,runner:k};if(H){var q=o("skip",e,z,I);if(q)return I.state===c?(f(),k):(g(e,I,z),I.runner);var Y=o("cancel",e,z,I);if(Y)if(I.state===c)I.runner.end();else{if(!I.structural)return g(e,I,z),I.runner;I.close()}else{var B=o("join",e,z,I);if(B){if(I.state!==c)return y(e,D?t:null,v),t=z.event=I.event,v=g(e,I,z),I.runner;M(e,z)}}}else M(e,z);var Q=z.structural;if(Q||(Q="animate"===z.event&&Object.keys(z.options.to||{}).length>0||a(z)),!Q)return f(),L(e),k;var J=(I.counter||0)+1;return z.counter=J,R(e,l,z),i.$$postDigest(function(){var n=U.get(p),r=!n;n=n||{};var i=e.parent()||[],o=i.length>0&&("animate"===n.event||n.structural||a(n));if(r||n.counter!==J||!o)return r&&(re(e,v),h(e,v)),(r||D&&n.event!==t)&&(v.domOperation(),k.end()),void(o||L(e));t=!n.structural&&a(n,!0)?"setClass":n.event,R(e,c);var s=w(e,t,n.options);k.setHost(s),u(k,t,"start",{}),s.done(function(n){f(!n);var r=U.get(p);r&&r.counter===J&&L($(e)),u(k,t,"close",{})})}),k}function F(e){var t=$(e),n=t.querySelectorAll("["+Me+"]");G(n,function(e){var t=parseInt(e.getAttribute(Me),10),n=U.get(e);if(n)switch(t){case c:n.runner.end();case l:U.remove(e)}})}function L(e){var t=$(e);t.removeAttribute(Me),U.remove(t)}function P(e,t){return $(e)===$(t)}function N(e,t,n){var r,i=ne(m[0].body),o=P(e,i)||"HTML"===e[0].nodeName,a=P(e,p),s=!1,u=j.get($(e)),l=ne.data(e[0],Ae);for(l&&(t=l),t=$(t);t&&(a||(a=P(t,p)),t.nodeType===I);){var c=U.get(t)||{};if(!s){var f=j.get(t);if(f===!0&&u!==!1){u=!0;break}f===!1&&(u=!1),s=c.structural}if(te(r)||r===!0){var d=ne.data(t,q);Q(d)&&(r=d)}if(s&&r===!1)break;if(o||(o=P(t,i)),o&&a)break;t=a||!(l=ne.data(t,Ae))?t.parentNode:$(l)}var h=(!s||r)&&u!==!0;return h&&a&&o}function R(e,t,n){n=n||{},n.state=t;var r=$(e);r.setAttribute(Me,t);var i=U.get(r),o=i?B(i,n):n;U.put(r,o)}var U=new v,j=new v,V=null,H=i.$watch(function(){return 0===k.totalPendingRequests},function(e){e&&(H(),i.$$postDigest(function(){i.$$postDigest(function(){null===V&&(V=!0)})}))}),z=Object.create(null),Y=t.classNameFilter(),K=Y?function(e){return Y.test(e)}:function(){return!0},re=f(_),ie=e.Node.prototype.contains||function(e){return this===e||!!(16&this.compareDocumentPosition(e))},oe={on:function(e,t,n){var r=u(t);z[e]=z[e]||[],z[e].push({node:r,callback:n}),ne(t).on("$destroy",function(){var i=U.get(r);i||oe.off(e,t,n)})},off:function(e,t,n){if(1!==arguments.length||ee(arguments[0])){var r=z[e];r&&(z[e]=1===arguments.length?null:D(r,t,n))}else{t=arguments[0];for(var i in z)z[i]=D(z[i],t)}},pin:function(e,t){n(J(e),"element","not an element"),n(J(t),"parentElement","not an element"),e.data(Ae,t)},push:function(e,t,n,r){return n=n||{},n.domOperation=r,O(e,t,n)},enabled:function(e,t){var n=arguments.length;if(0===n)t=!!V;else{var r=J(e);if(r){var i=$(e);1===n?t=!j.get(i):j.put(i,!t)}else t=V=!!e}return t}};return oe}]}],Te=["$animateProvider",function(e){function t(e,t){e.data(s,t)}function n(e){e.removeData(s)}function i(e){return e.data(s)}var o="ng-animate-ref",a=this.drivers=[],s="$$animationRunner";this.$get=["$$jqLite","$rootScope","$injector","$$AnimateRunner","$$HashMap","$$rAFScheduler",function(e,s,u,l,c,p){function m(e){function t(e){if(e.processed)return e;e.processed=!0;var n=e.domNode,r=n.parentNode;o.put(n,e);for(var a;r;){if(a=o.get(r)){a.processed||(a=t(a));break}r=r.parentNode}return(a||i).children.push(e),e}function n(e){var t,n=[],r=[];for(t=0;t=0,l=e.structural?b(a):[];if(l.length){var c=u?"to":"from";G(l,function(e){var t=e.getAttribute(o);n[t]=n[t]||{},n[t][c]={animationID:r,element:ne(e)}})}else t.push(e)});var r={},i={};return G(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],r=u.get(n),i=r(e);if(i)return i}}function _(){c.addClass(z),T&&e.addClass(c,T),O&&(e.removeClass(c,O),O=null)}function C(e,t){function n(e){var n=i(e);n&&n.setHost(t)}e.from&&e.to?(n(e.from.element),n(e.to.element)):n(e.element)}function S(){var e=i(c);!e||"leave"===f&&y.$$domOperationFired||e.end()}function E(t){c.off("$destroy",S),n(c),v(c,y),h(c,y),y.domOperation(),T&&e.removeClass(c,T),c.removeClass(z),A.complete(!t)}y=d(y);var M=["enter","move","leave"].indexOf(f)>=0,A=new l({end:function(){E()},cancel:function(){E(!0)}});if(!a.length)return E(),A;t(c,A);var D=r(c.attr("class"),r(y.addClass,y.removeClass)),T=y.tempClasses;T&&(D+=" "+T,y.tempClasses=null);var O;return M&&(O="ng-"+f+H,e.addClass(c,O)),g.push({element:c,classes:D,event:f,structural:M,options:y,beforeStart:_,close:E}),c.on("$destroy",S),g.length>1?A:(s.$$postDigest(function(){var e=[];G(g,function(t){i(t.element)?e.push(t):t.close()}),g.length=0;var t=w(e),n=[];G(t,function(e){n.push({domNode:$(e.from?e.from.element:e.element),fn:function(){e.beforeStart();var t,n=e.close,r=e.anchors?e.from.element||e.to.element:e.element;if(i(r)){var o=k(e);o&&(t=o.start)}if(t){var a=t();a.done(function(e){n(!e)}),C(e,a)}else n()}})}),p(m(n))}),A)}}]}],Oe=["$animate","$rootScope",function(e,t){return{restrict:"A",transclude:"element",terminal:!0,priority:600,link:function(t,n,r,i,o){var a,s;t.$watchCollection(r.ngAnimateSwap||r["for"],function(r){a&&e.leave(a),s&&(s.$destroy(),s=null),(r||0===r)&&(s=t.$new(),o(s,function(t){a=t,e.enter(t,null,n)}))})}}}];t.module("ngAnimate",[],function(){re=t.noop,W=t.copy,B=t.extend,ne=t.element,G=t.forEach,Z=t.isArray,ee=t.isString,X=t.isObject,te=t.isUndefined,Q=t.isDefined,K=t.isFunction,J=t.isElement}).directive("ngAnimateSwap",Oe).directive("ngAnimateChildren",ve).factory("$$rAFScheduler",ge).provider("$$animateQueue",De).provider("$$animation",Te).provider("$animateCss",_e).provider("$$animateCssDriver",Ce).provider("$$animateJs",Se).provider("$$animateJsDriver",Ee)}(window,window.angular)},{}],2:[function(e,t,n){e("./angular-animate"),t.exports="ngAnimate"},{"./angular-animate":1}],3:[function(e,t,n){!function(e,t){"use strict";function n(e){return null!=e&&""!==e&&"hasOwnProperty"!==e&&a.test("."+e)}function r(e,r){if(!n(r))throw o("badmember",'Dotted member path "@{0}" is invalid.',r);for(var i=r.split("."),a=0,s=i.length;a/g,">")}function m(e,t){var n=!1,r=i(e,e.push);return{start:function(e,i){e=u(e),!n&&M[e]&&(n=e),n||A[e]!==!0||(r("<"),r(e),a(i,function(n,i){var o=u(i),a="img"===e&&"src"===o||"background"===o;F[o]!==!0||D[o]===!0&&!t(n,a)||(r(" "),r(i),r('="'),r(p(n)),r('"'))}),r(">"))},end:function(e){e=u(e),n||A[e]!==!0||w[e]===!0||(r("")),e==n&&(n=!1)},chars:function(e){n||r(p(e))}}}function g(t){for(;t;){if(t.nodeType===e.Node.ELEMENT_NODE)for(var n=t.attributes,r=0,i=n.length;r"\u201d\u2019]/i,i=/^mailto:/i,o=t.$$minErr("linky"),a=t.isDefined,s=t.isFunction,u=t.isObject,l=t.isString;return function(t,c,f){function d(e){e&&y.push(r(e))}function h(e,t){var n,r=v(e);y.push("'),d(t),y.push("")}if(null==t||""===t)return t;if(!l(t))throw o("notstring","Expected string but received: {0}",t);for(var p,m,g,v=s(f)?f:u(f)?function(){return f}:function(){return{}},$=t,y=[];p=$.match(n);)m=p[0],p[2]||p[4]||(m=(p[3]?"http://":"mailto:")+m),g=p.index,d($.substr(0,g)),h(m,p[0].replace(i,"")),$=$.substring(g+p[0].length);return d($),e(y.join(""))}}])}(window,window.angular)},{}],6:[function(e,t,n){e("./angular-sanitize"),t.exports="ngSanitize"},{"./angular-sanitize":5}],7:[function(e,t,n){angular.module("ui.sortable",[]).value("uiSortableConfig",{items:"> [ng-repeat],> [data-ng-repeat],> [x-ng-repeat]"}).directive("uiSortable",["uiSortableConfig","$timeout","$log",function(e,t,n){return{require:"?ngModel",scope:{ngModel:"=",uiSortable:"="},link:function(r,i,o,a){function s(e,t){var n="function"==typeof e,r="function"==typeof t;return n&&r?function(){e.apply(this,arguments),t.apply(this,arguments)}:r?t:e}function u(e){var t=e.data("ui-sortable");return t&&"object"==typeof t&&"ui-sortable"===t.widgetFullName?t:null}function l(t,n){return C[t]?("stop"===t&&(n=s(n,function(){r.$apply()}),n=s(n,v)),n=s(C[t],n)):S[t]&&(n=S[t](n)),n||"items"!==t&&"ui-model-items"!==t||(n=e.items),n}function c(e,t,n){function r(e,t){t in k||(k[t]=null)}angular.forEach(C,r);var i=null;if(t){var o;angular.forEach(t,function(t,n){if(!(e&&n in e)){if(n in _)return void("ui-floating"===n?k[n]="auto":k[n]=l(n,void 0));o||(o=angular.element.ui.sortable().options);var r=o[n];r=l(n,r),i||(i={}),i[n]=r,k[n]=r}})}return angular.forEach(e,function(e,t){return t in _?("ui-floating"!==t||e!==!1&&e!==!0||!n||(n.floating=e),void(k[t]=l(t,e))):(e=l(t,e),i||(i={}),i[t]=e,void(k[t]=e))}),i}function f(e){var t=e.sortable("option","placeholder");if(t&&t.element&&"function"==typeof t.element){var n=t.element();return n=angular.element(n)}return null}function d(e,t){var n=k["ui-model-items"].replace(/[^,]*>/g,""),r=e.find('[class="'+t.attr("class")+'"]:not('+n+")");return r}function h(e,t){var n=e.sortable("option","helper");return"clone"===n||"function"==typeof n&&t.item.sortable.isCustomHelperUsed()}function p(e,t,n){var r=null;return h(e,t)&&"parent"===e.sortable("option","appendTo")&&(r=n.last()),r}function m(e){return/left|right/.test(e.css("float"))||/inline|table-cell/.test(e.css("display"))}function g(e,t){for(var n=null,r=0;r=0&&(t-1 in e||e instanceof Array)||"function"==typeof e.item)}function r(e,t,i){var o,a;if(e)if(_(e))for(o in e)"prototype"!==o&&"length"!==o&&"name"!==o&&e.hasOwnProperty(o)&&t.call(i,e[o],o,e);else if(li(e)||n(e)){var s="object"!=typeof e;for(o=0,a=e.length;o=0&&e.splice(n,1),n}function j(e,t){function n(e,t){var n,r=t.$$hashKey;if(li(e))for(var o=0,a=e.length;o2?z(arguments,2):[];return!_(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 Y(t,n){var r=n;return"string"==typeof t&&"$"===t.charAt(0)&&"$"===t.charAt(1)?r=void 0:S(n)?r="$WINDOW":n&&e.document===n?r="$DOCUMENT":E(n)&&(r="$SCOPE"),r}function W(e,t){if(!v(e))return x(t)||(t=t?2:null),JSON.stringify(e,Y,t)}function B(e){return w(e)?JSON.parse(e):e}function G(e,t){e=e.replace(mi,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return ui(n)?t:n}function Z(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function Q(e,t,n){n=n?-1:1;var r=e.getTimezoneOffset(),i=G(t,r);return Z(e,n*(i-r))}function J(e){e=Jr(e).clone();try{e.empty()}catch(t){}var n=Jr("
    ").append(e).html();try{return e[0].nodeType===xi?Wr(n):n.match(/^(<[^>]+>)/)[1].replace(/^<([\w-]+)/,function(e,t){return"<"+Wr(t)})}catch(t){return Wr(n)}}function K(e){try{return decodeURIComponent(e)}catch(t){}}function X(e){var t={};return r((e||"").split("&"),function(e){var n,r,i;e&&(r=e=e.replace(/\+/g,"%20"),n=e.indexOf("="),n!==-1&&(r=e.substring(0,n),i=e.substring(n+1)),r=K(r),$(r)&&(i=!$(i)||K(i),Yr.call(t,r)?li(t[r])?t[r].push(i):t[r]=[t[r],i]:t[r]=i))}),t}function ee(e){var t=[];return r(e,function(e,n){li(e)?r(e,function(e){t.push(ne(n,!0)+(e===!0?"":"="+ne(e,!0)))}):t.push(ne(n,!0)+(e===!0?"":"="+ne(e,!0)))}),t.length?t.join("&"):""}function te(e){return ne(e,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function ne(e,t){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%20/g,t?"%20":"+")}function re(e,t){var n,r,i=gi.length;for(r=0;r protocol indicates an extension, document.location.href does not match.");a.strictDi=null!==re(i,"strict-di"),n(i,o?[o]:[],a)}}function ae(t,n,i){y(i)||(i={});var o={strictDi:!1};i=l(o,i);var a=function(){if(t=Jr(t),t.injector()){var r=t[0]===e.document?"document":J(t);throw oi("btstrpd","App already bootstrapped with this element '{0}'",r.replace(//,">"))}n=n||[],n.unshift(["$provide",function(e){e.value("$rootElement",t)}]),i.debugInfoEnabled&&n.push(["$compileProvider",function(e){e.debugInfoEnabled(!0)}]),n.unshift("ng");var o=lt(n,i.strictDi);return o.invoke(["$rootScope","$rootElement","$compile","$injector",function(e,t,n,r){e.$apply(function(){t.data("$injector",r),n(t)(e)})}]),o},s=/^NG_ENABLE_DEBUG_INFO!/,u=/^NG_DEFER_BOOTSTRAP!/;return e&&s.test(e.name)&&(i.debugInfoEnabled=!0,e.name=e.name.replace(s,"")),e&&!u.test(e.name)?a():(e.name=e.name.replace(u,""),ai.resumeBootstrap=function(e){return r(e,function(e){n.push(e)}),a()},void(_(ai.resumeDeferredBootstrap)&&ai.resumeDeferredBootstrap()))}function se(){e.name="NG_ENABLE_DEBUG_INFO!"+e.name,e.location.reload()}function ue(e){var t=ai.element(e).injector();if(!t)throw oi("test","no injector found for element argument to getTestability");return t.get("$$testability")}function le(e,t){return t=t||"_",e.replace($i,function(e,n){return(n?t:"")+e.toLowerCase()})}function ce(){var t;if(!yi){var n=pi();Kr=v(n)?e.jQuery:n?e[n]:void 0,Kr&&Kr.fn.on?(Jr=Kr,l(Kr.fn,{scope:Ui.scope,isolateScope:Ui.isolateScope,controller:Ui.controller,injector:Ui.injector,inheritedData:Ui.inheritedData}),t=Kr.cleanData,Kr.cleanData=function(e){for(var n,r,i=0;null!=(r=e[i]);i++)n=Kr._data(r,"events"),n&&n.$destroy&&Kr(r).triggerHandler("$destroy");t(e)}):Jr=Le,ai.element=Jr,yi=!0}}function fe(e,t,n){if(!e)throw oi("areq","Argument '{0}' is {1}",t||"?",n||"required");return e}function de(e,t,n){return n&&li(e)&&(e=e[e.length-1]),fe(_(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 oi("badname","hasOwnProperty is not a valid {0} name",t)}function pe(e,t,n){if(!t)return e;for(var r,i=t.split("."),o=e,a=i.length,s=0;s=0)return"...";t.push(n)}return n})}function we(e){return"function"==typeof e?e.toString().replace(/ \{[\s\S]*$/,""):v(e)?"undefined":"string"!=typeof e?be(e):e}function xe(n){l(n,{bootstrap:ae,copy:j,extend:l,merge:c,equals:V,element:Jr,forEach:r,injector:lt,noop:h,bind:q,toJson:W,fromJson:B,identity:p,isUndefined:v,isDefined:$,isString:w,isFunction:_,isObject:y,isNumber:x,isElement:P,isArray:li,version:Si,isDate:k,lowercase:Wr,uppercase:Br,callbacks:{$$counter:0},getTestability:ue,reloadWithDebugInfo:se,$$minErr:t,$$csp:hi,$$encodeUriSegment:te,$$encodeUriQuery:ne,$$stringify:ve}),(Xr=$e(e))("ng",["ngLocale"],["$provide",function(e){e.provider({$$sanitizeUri:En}),e.provider("$compile",bt).directive({a:Bo,input:ha,textarea:ha,form:Xo,script:ss,select:cs,option:fs,ngBind:ga,ngBindHtml:$a,ngBindTemplate:va,ngClass:ba,ngClassEven:xa,ngClassOdd:wa,ngCloak:ka,ngController:_a,ngForm:ea,ngHide:es,ngIf:Ea,ngInclude:Ma,ngInit:Da,ngNonBindable:Ya,ngPluralize:Za,ngRepeat:Qa,ngShow:Xa,ngStyle:ts,ngSwitch:ns,ngSwitchWhen:rs,ngSwitchDefault:is,ngOptions:Ga,ngTransclude:as,ngModel:Ha,ngList:Ta,ngChange:ya,pattern:hs,ngPattern:hs,required:ds,ngRequired:ds,minlength:ms,ngMinlength:ms,maxlength:ps,ngMaxlength:ps,ngValue:ma,ngModelOptions:qa}).directive({ngInclude:Aa}).directive(Go).directive(Ca),e.provider({$anchorScroll:ct,$animate:to,$animateCss:io,$$animateJs:Xi,$$animateQueue:eo,$$AnimateRunner:ro,$$animateAsyncRun:no,$browser:gt,$cacheFactory:vt,$controller:St,$document:Et,$$isDocumentHidden:Mt,$exceptionHandler:At,$filter:Hn,$$forceReflow:fo,$interpolate:zt,$interval:qt,$http:Ut,$httpParamSerializer:Tt,$httpParamSerializerJQLike:Ot,$httpBackend:Vt,$xhrFactory:jt,$jsonpCallbacks:bo,$location:an,$log:sn,$parse:wn,$rootScope:Sn,$q:xn,$$q:kn,$sce:On,$sceDelegate:Tn,$sniffer:Fn,$templateCache:$t,$templateRequest:Ln,$$testability:Pn,$timeout:Nn,$window:Un,$$rAF:Cn,$$jqLite:nt,$$HashMap:zi,$$cookieReader:Vn})}])}function ke(){return++Mi}function _e(e){return Se(e.replace(Di,"ms-"))}function Ce(e,t){return t.toUpperCase()}function Se(e){return e.replace(Ai,Ce)}function Ee(e){return!Li.test(e)}function Me(e){var t=e.nodeType;return t===bi||!t||t===_i}function Ae(e){for(var t in Ei[e.ng339])return!0;return!1}function De(e){for(var t=0,n=e.length;t")+o[2],a=o[0];a--;)n=n.lastChild;u=H(u,n.childNodes),n=s.firstChild,n.textContent=""}return s.textContent="",s.innerHTML="",r(u,function(e){s.appendChild(e)}),s}function Oe(t,n){n=n||e.document;var r;return(r=Fi.exec(t))?[n.createElement(r[1])]:(r=Te(t,n))?r.childNodes:[]}function Fe(e,t){var n=e.parentNode;n&&n.replaceChild(t,e),t.appendChild(e)}function Le(e){if(e instanceof Le)return e;var t;if(w(e)&&(e=fi(e),t=!0),!(this instanceof Le)){if(t&&"<"!==e.charAt(0))throw Oi("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new Le(e)}t?qe(this,Oe(e)):_(e)?Qe(e):qe(this,e)}function Pe(e){return e.cloneNode(!0)}function Ne(e,t){if(t||Re(e),e.querySelectorAll)for(var n=e.querySelectorAll("*"),r=0,i=n.length;r0||(e.removeEventListener(t,s),delete a[t])};r(t.split(" "),function(e){u(e),Ti[e]&&u(Ti[e])})}else for(t in a)"$destroy"!==t&&e.removeEventListener(t,s),delete a[t]}function Re(e,t){var n=e.ng339,r=n&&Ei[n];if(r){if(t)return void delete r.data[t];r.handle&&(r.events.$destroy&&r.handle({},"$destroy"),Ie(e)),delete Ei[n],e.ng339=void 0}}function Ue(e,t){var n=e.ng339,r=n&&Ei[n];return t&&!r&&(e.ng339=n=ke(),r=Ei[n]={events:{},data:{},handle:void 0}),r}function je(e,t,n){if(Me(e)){var r,i=$(n),o=!i&&t&&!y(t),a=!t,s=Ue(e,!o),u=s&&s.data;if(i)u[Se(t)]=n;else{if(a)return u;if(o)return u&&u[Se(t)];for(r in t)u[Se(r)]=t[r]}}}function Ve(e,t){return!!e.getAttribute&&(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+t+" ")>-1}function He(e,t){t&&e.setAttribute&&r(t.split(" "),function(t){e.setAttribute("class",fi((" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").replace(" "+fi(t)+" "," ")))})}function ze(e,t){if(t&&e.setAttribute){var n=(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ");r(t.split(" "),function(e){e=fi(e),n.indexOf(" "+e+" ")===-1&&(n+=e+" ")}),e.setAttribute("class",fi(n))}}function qe(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;r1&&(i=ye(i));for(var u=0;uc&&this.remove(h.key),t}},get:function(e){if(c";var r=Ce.firstChild.attributes,i=r[0];r.removeNamedItem(i.name),i.value=n,e.attributes.setNamedItem(i)}function H(e,t){try{e.addClass(t)}catch(n){}}function Y(e,t,n,r,i){e instanceof Jr||(e=Jr(e));var o=B(e,t,e,n,r,i);Y.$$addScopeClass(e);var a=null;return function(t,n,r){if(!e)throw oo("multilink","This element has already been linked.");fe(t,"scope"),i&&i.needsNewScope&&(t=t.$parent.$new()),r=r||{};var s=r.parentBoundTranscludeFn,u=r.transcludeControllers,l=r.futureParentElement;s&&s.$$boundTransclude&&(s=s.$$boundTransclude),a||(a=W(l));var c;if(c="html"!==a?Jr(me(a,Jr("
    ").append(e).html())):n?Ui.clone.call(e):e,u)for(var f in u)c.data("$"+f+"Controller",u[f].instance);return Y.$$addScopeInfo(c,t),n&&n(c,t),o&&o(t,c,c,s),n||(e=o=null),c}}function W(e){var t=e&&e[0];return t&&"foreignobject"!==I(t)&&ri.call(t).match(/SVG/)?"svg":"html"}function B(e,t,n,r,i,o){function a(e,n,r,i){var o,a,s,u,l,c,f,d,m;if(h){var g=n.length;for(m=new Array(g),l=0;l0)}else r.push(e);return Jr(r)}function ee(e,t,n){return function(r,i,o,a,s){return i=X(i[0],t,n),e(r,i,o,a,s)}}function te(e,t,n,r,i,o){var a;return e?Y(t,n,r,i,o):function(){return a||(a=Y(t,n,r,i,o),t=n=o=null),a.apply(this,arguments)}}function ne(e,t,n,o,a,s,u,c,f){function d(e,t,n,r){e&&(n&&(e=ee(e,n,r)),e.require=p.require,e.directiveName=m,(C===p||p.$$isolateScope)&&(e=be(e,{isolateScope:!0})),u.push(e)),t&&(n&&(t=ee(t,n,r)),t.require=p.require,t.directiveName=m,(C===p||p.$$isolateScope)&&(t=be(t,{isolateScope:!0})),c.push(t))}function h(e,o,a,s,f){function d(e,t,n,r){var i;if(E(e)||(r=n,n=t,t=e,e=void 0),O&&(i=b),n||(n=O?M.parent():M),!r)return f(e,t,i,n,U);var o=f.$$slots[r];if(o)return o(e,t,i,n,U);if(v(o))throw oo("noslot",'No parent directive that requires a transclusion with slot name "{0}". Element: {1}',r,J(M))}var h,p,m,g,$,b,w,M,A,T;t===a?(A=n,M=n.$$element):(M=Jr(a),A=new R(M,n)),$=o,C?g=o.$new(!0):x&&($=o.$parent),f&&(w=d,w.$$boundTransclude=f,w.isSlotFilled=function(e){return!!f.$$slots[e]}),k&&(b=ie(M,A,w,k,g,o,C)),C&&(Y.$$addScopeInfo(M,g,!0,!(S&&(S===C||S===C.$$originalDirective))),Y.$$addScopeClass(M,!0),g.$$isolateBindings=C.$$isolateBindings,T=xe(o,A,g,g.$$isolateBindings,C),T.removeWatches&&g.$on("$destroy",T.removeWatches));for(var F in b){var L=k[F],P=b[F],N=L.$$bindings.bindToController;if(D){N?P.bindingInfo=xe($,A,P.instance,N,L):P.bindingInfo={};var I=P();I!==P.instance&&(P.instance=I,M.data("$"+L.name+"Controller",I),P.bindingInfo.removeWatches&&P.bindingInfo.removeWatches(),P.bindingInfo=xe($,A,P.instance,N,L))}else P.instance=P(),M.data("$"+L.name+"Controller",P.instance),P.bindingInfo=xe($,A,P.instance,N,L)}for(r(k,function(e,t){var n=e.require;e.bindToController&&!li(n)&&y(n)&&l(b[t].instance,re(t,n,M,b))}),r(b,function(e){var t=e.instance;if(_(t.$onChanges))try{t.$onChanges(e.bindingInfo.initialChanges)}catch(n){i(n)}if(_(t.$onInit))try{t.$onInit()}catch(n){i(n)}_(t.$doCheck)&&($.$watch(function(){t.$doCheck()}),t.$doCheck()),_(t.$onDestroy)&&$.$on("$destroy",function(){t.$onDestroy()})}),h=0,p=u.length;h=0;h--)m=c[h],we(m,m.isolateScope?g:o,M,A,m.require&&re(m.directiveName,m.require,M,b),w);r(b,function(e){var t=e.instance;_(t.$postLink)&&t.$postLink()})}f=f||{};for(var p,m,g,$,b,w=-Number.MAX_VALUE,x=f.newScopeDirective,k=f.controllerDirectives,C=f.newIsolateScopeDirective,S=f.templateDirective,M=f.nonTlbTranscludeDirective,A=!1,T=!1,O=f.hasElementTranscludeDirective,F=n.$$element=Jr(t),L=s,P=o,N=!1,U=!1,j=0,V=e.length;jp.priority)break;if(b=p.scope,b&&(p.templateUrl||(y(b)?(he("new/isolated scope",C||x,p,F),C=p):he("new/isolated scope",C,p,F)),x=x||p),m=p.name,!N&&(p.replace&&(p.templateUrl||p.template)||p.transclude&&!p.$$tlb)){for(var B,G=j+1;B=e[G++];)if(B.transclude&&!B.$$tlb||B.replace&&(B.templateUrl||B.template)){U=!0;break}N=!0}if(!p.templateUrl&&p.controller&&(k=k||ge(),he("'"+m+"' controller",k[m],p,F),k[m]=p),b=p.transclude)if(A=!0,p.$$tlb||(he("transclusion",M,p,F),M=p),"element"===b)O=!0,w=p.priority,g=F,F=n.$$element=Jr(Y.$$createComment(m,n[m])),t=F[0],ye(a,z(g),t),g[0].$$parentNode=g[0].parentNode,P=te(U,g,o,w,L&&L.name,{nonTlbTranscludeDirective:M});else{var Z=ge();if(y(b)){g=[];var K=ge(),ne=ge();r(b,function(e,t){var n="?"===e.charAt(0);e=n?e.substring(1):e,K[e]=t,Z[t]=null,ne[t]=n}),r(F.contents(),function(e){var t=K[xt(I(e))];t?(ne[t]=!0,Z[t]=Z[t]||[],Z[t].push(e)):g.push(e)}),r(ne,function(e,t){if(!e)throw oo("reqslot","Required transclusion slot `{0}` was not filled.",t)});for(var ae in Z)Z[ae]&&(Z[ae]=te(U,Z[ae],o))}else g=Jr(Pe(t)).contents();F.empty(),P=te(U,g,o,void 0,void 0,{needsNewScope:p.$$isolateScope||p.$$newScope}),P.$$slots=Z}if(p.template)if(T=!0,he("template",S,p,F),S=p,b=_(p.template)?p.template(F,n):p.template,b=Oe(b),p.replace){if(L=p,g=Ee(b)?[]:_t(me(p.templateNamespace,fi(b))),t=g[0],1!==g.length||t.nodeType!==bi)throw oo("tplrt","Template for directive '{0}' must have exactly one root element. {1}",m,"");ye(a,F,t);var se={$attr:{}},le=Q(t,[],se),fe=e.splice(j+1,e.length-(j+1));(C||x)&&oe(le,C,x),e=e.concat(le).concat(fe),ue(n,se),V=e.length}else F.html(b);if(p.templateUrl)T=!0,he("template",S,p,F),S=p,p.replace&&(L=p),h=ce(e.splice(j,e.length-j),F,n,a,A&&P,u,c,{controllerDirectives:k,newScopeDirective:x!==p&&x,newIsolateScopeDirective:C,templateDirective:S,nonTlbTranscludeDirective:M}),V=e.length;else if(p.compile)try{$=p.compile(F,n,P);var de=p.$$originalDirective||p;_($)?d(null,q(de,$),H,W):$&&d(q(de,$.pre),q(de,$.post),H,W)}catch(pe){i(pe,J(F))}p.terminal&&(h.terminal=!0,w=Math.max(w,p.priority))}return h.scope=x&&x.scope===!0,h.transcludeOnThisElement=A,h.templateOnThisElement=T,h.transclude=P,f.hasElementTranscludeDirective=O,h}function re(e,t,n,i){var o;if(w(t)){var a=t.match(C),s=t.substring(a[0].length),u=a[1]||a[3],l="?"===a[2];if("^^"===u?n=n.parent():(o=i&&i[s],o=o&&o.instance),!o){var c="$"+s+"Controller";o=u?n.inheritedData(c):n.data(c)}if(!o&&!l)throw oo("ctreq","Controller '{0}', required by directive '{1}', can't be found!",s,e)}else if(li(t)){o=[];for(var f=0,d=t.length;fc.priority)&&c.restrict.indexOf(r)!==-1){if(s&&(c=d(c,{$$start:s,$$end:u})),!c.$$bindings){var $=c.$$bindings=a(c,c.name);y($.isolateScope)&&(c.$$isolateBindings=$.isolateScope)}e.push(c),l=c}return l}function se(e){if(f.hasOwnProperty(e))for(var n,r=t.get(e+g),i=0,o=r.length;i"+n+"",r.childNodes[0].childNodes;default:return n}}function ve(e,t){if("srcdoc"===t)return m.HTML;var n=I(e);if("src"===t||"ngSrc"===t){if(["img","video","audio","source","track"].indexOf(n)===-1)return m.RESOURCE_URL}else if("xlinkHref"===t||"form"===n&&"action"===t||"link"===n&&"href"===t)return m.RESOURCE_URL}function $e(e,t,r,i,o){var a=ve(e,i),s=!o,u=k[i]||o,l=n(r,s,a,u);if(l){if("multiple"===i&&"select"===I(e))throw oo("selmulti","Binding to the 'multiple' attribute is not supported. Element: {0}",J(e));if(S.test(i))throw oo("nodomevents","Interpolations for HTML DOM event attributes are disallowed. Please use the ng- versions (such as ng-click instead of onclick) instead.");t.push({priority:100,compile:function(){return{pre:function(e,t,o){var s=o.$$observers||(o.$$observers=ge()),c=o[i];c!==r&&(l=c&&n(c,!0,a,u),r=c),l&&(o[i]=l(e),(s[i]||(s[i]=[])).$$inter=!0,(o.$$observers&&o.$$observers[i].$$scope||e).$watch(l,function(e,t){"class"===i&&e!==t?o.$updateClass(e,t):o.$set(i,e)}))}}}})}}function ye(t,n,r){var i,o,a=n[0],s=n.length,u=a.parentNode;if(t)for(i=0,o=t.length;i0&&M.addClass(this.$$element,e)},$removeClass:function(e){e&&e.length>0&&M.removeClass(this.$$element,e)},$updateClass:function(e,t){var n=kt(e,t);n&&n.length&&M.addClass(this.$$element,n);var r=kt(t,e);r&&r.length&&M.removeClass(this.$$element,r)},$set:function(e,t,n,o){var a,s=this.$$element[0],u=Je(s,e),l=Ke(e),c=e;if(u?(this.$$element.prop(e,t),o=u):l&&(this[l]=t,c=l),this[e]=t,o?this.$attr[e]=o:(o=this.$attr[e],o||(this.$attr[e]=o=le(e,"-"))),a=I(this.$$element),"a"===a&&("href"===e||"xlinkHref"===e)||"img"===a&&"src"===e)this[e]=t=P(t,"src"===e);else if("img"===a&&"srcset"===e&&$(t)){for(var f="",d=fi(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),y=0;y0?" ":"")+a}return n}function _t(e){e=Jr(e);var t=e.length;if(t<=1)return e;for(;t--;){var n=e[t];(n.nodeType===ki||n.nodeType===xi&&""===n.nodeValue.trim())&&ti.call(e,t,1)}return e}function Ct(e,t){if(t&&w(t))return t;if(w(e)){var n=co.exec(e);if(n)return n[3]}}function St(){var e={},n=!1;this.has=function(t){return e.hasOwnProperty(t)},this.register=function(t,n){he(t,"controller"),y(t)?l(e,t):e[t]=n},this.allowGlobals=function(){n=!0},this.$get=["$injector","$window",function(r,i){function o(e,n,r,i){if(!e||!y(e.$scope))throw t("$controller")("noscp","Cannot export controller '{0}' as '{1}'! No $scope object provided via `locals`.",i,n);e.$scope[n]=r}return function(t,a,s,u){var c,f,d,h;if(s=s===!0,u&&w(u)&&(h=u),w(t)){if(f=t.match(co),!f)throw lo("ctrlfmt","Badly formed controller string '{0}'. Must match `__name__ as __id__` or `__name__`.",t);if(d=f[1],h=h||f[3],t=e.hasOwnProperty(d)?e[d]:pe(a.$scope,d,!0)||(n?pe(i,d,!0):void 0),!t)throw lo("ctrlreg","The controller with the name '{0}' is not registered.",d);de(t,d,!0)}if(s){var p=(li(t)?t[t.length-1]:t).prototype;return c=Object.create(p||null),h&&o(a,h,c,d||t.name),l(function(){var e=r.invoke(t,c,a,d);return e!==c&&(y(e)||_(e))&&(c=e,h&&o(a,h,c,d||t.name)),c},{instance:c,identifier:h})}return c=r.instantiate(t,a,d),h&&o(a,h,c,d||t.name),c}}]}function Et(){this.$get=["$window",function(e){return Jr(e.document)}]}function Mt(){this.$get=["$document","$rootScope",function(e,t){function n(){i=r.hidden}var r=e[0],i=r&&r.hidden;return e.on("visibilitychange",n),t.$on("$destroy",function(){e.off("visibilitychange",n)}),function(){return i}}]}function At(){this.$get=["$log",function(e){return function(t,n){e.error.apply(e,arguments)}}]}function Dt(e){return y(e)?k(e)?e.toISOString():W(e):e}function Tt(){this.$get=function(){return function(e){if(!e)return"";var t=[];return i(e,function(e,n){null===e||v(e)||(li(e)?r(e,function(e){t.push(ne(n)+"="+ne(Dt(e)))}):t.push(ne(n)+"="+ne(Dt(e))))}),t.join("&")}}}function Ot(){this.$get=function(){return function(e){function t(e,o,a){null===e||v(e)||(li(e)?r(e,function(e,n){t(e,o+"["+(y(e)?n:"")+"]")}):y(e)&&!k(e)?i(e,function(e,n){t(e,o+(a?"":"[")+n+(a?"":"]"))}):n.push(ne(o)+"="+ne(Dt(e))))}if(!e)return"";var n=[];return t(e,"",!0),n.join("&")}}}function Ft(e,t){if(w(e)){var n=e.replace(vo,"").trim();if(n){var r=t("Content-Type");(r&&0===r.indexOf(ho)||Lt(n))&&(e=B(n))}}return e}function Lt(e){var t=e.match(mo);return t&&go[t[0]].test(e)}function Pt(e){function t(e,t){e&&(i[e]=i[e]?i[e]+", "+t:t)}var n,i=ge();return w(e)?r(e.split("\n"),function(e){n=e.indexOf(":"),t(Wr(fi(e.substr(0,n))),fi(e.substr(n+1)))}):y(e)&&r(e,function(e,n){t(Wr(n),fi(e))}),i}function Nt(e){var t;return function(n){if(t||(t=Pt(e)),n){var r=t[Wr(n)];return void 0===r&&(r=null),r}return t}}function It(e,t,n,i){return _(i)?i(e,t,n):(r(i,function(r){e=r(e,t,n)}),e)}function Rt(e){return 200<=e&&e<300}function Ut(){var e=this.defaults={transformResponse:[Ft],transformRequest:[function(e){return!y(e)||M(e)||D(e)||A(e)?e:W(e)}],headers:{common:{Accept:"application/json, text/plain, */*"},post:ye(po),put:ye(po),patch:ye(po)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",paramSerializer:"$httpParamSerializer",jsonpCallbackParam:"callback"},n=!1;this.useApplyAsync=function(e){return $(e)?(n=!!e,this):n};var i=this.interceptors=[];this.$get=["$browser","$httpBackend","$$cookieReader","$cacheFactory","$rootScope","$q","$injector","$sce",function(o,a,s,u,c,f,d,p){function m(n){function i(e,t){for(var n=0,r=t.length;n=-1?n:0,(Rt(n)?x.resolve:x.reject)({data:e,status:n,headers:Nt(r),config:t,statusText:i})}function d(e){l(e.data,e.status,ye(e.headers()),e.statusText)}function h(){var e=m.pendingRequests.indexOf(t);e!==-1&&m.pendingRequests.splice(e,1)}var g,b,x=f.defer(),_=x.promise,E=t.headers,M="jsonp"===Wr(t.method),A=t.url; -if(M?A=p.getTrustedResourceUrl(A):w(A)||(A=p.valueOf(A)),A=k(A,t.paramSerializer(t.params)),M&&(A=C(A,t.jsonpCallbackParam)),m.pendingRequests.push(t),_.then(h,h),!t.cache&&!e.cache||t.cache===!1||"GET"!==t.method&&"JSONP"!==t.method||(g=y(t.cache)?t.cache:y(e.cache)?e.cache:S),g&&(b=g.get(A),$(b)?O(b)?b.then(d,d):li(b)?l(b[1],b[0],ye(b[2]),b[3]):l(b,200,{},"OK"):g.put(A,_)),v(b)){var D=Rn(t.url)?s()[t.xsrfCookieName||e.xsrfCookieName]:void 0;D&&(E[t.xsrfHeaderName||e.xsrfHeaderName]=D),a(t.method,A,i,u,E,t.timeout,t.withCredentials,t.responseType,o(t.eventHandlers),o(t.uploadEventHandlers))}return _}function k(e,t){return t.length>0&&(e+=(e.indexOf("?")===-1?"?":"&")+t),e}function C(e,t){if(/[&?][^=]+=JSON_CALLBACK/.test(e))throw $o("badjsonp",'Illegal use of JSON_CALLBACK in url, "{0}"',e);var n=new RegExp("[&?]"+t+"=");if(n.test(e))throw $o("badjsonp",'Illegal use of callback param, "{0}", in url, "{1}"',t,e);return e+=(e.indexOf("?")===-1?"?":"&")+t+"=JSON_CALLBACK"}var S=u("$http");e.paramSerializer=w(e.paramSerializer)?d.get(e.paramSerializer):e.paramSerializer;var E=[];return r(i,function(e){E.unshift(w(e)?d.get(e):d.invoke(e))}),m.pendingRequests=[],g("get","delete","head","jsonp"),b("post","put","patch"),m.defaults=e,m}]}function jt(){this.$get=function(){return function(){return new e.XMLHttpRequest}}}function Vt(){this.$get=["$browser","$jsonpCallbacks","$document","$xhrFactory",function(e,t,n,r){return Ht(e,r,e.defer,t,n[0])}]}function Ht(e,t,n,i,o){function a(e,t,n){e=e.replace("JSON_CALLBACK",t);var r=o.createElement("script"),a=null;return r.type="text/javascript",r.src=e,r.async=!0,a=function(e){r.removeEventListener("load",a),r.removeEventListener("error",a),o.body.removeChild(r),r=null;var s=-1,u="unknown";e&&("load"!==e.type||i.wasCalled(t)||(e={type:"error"}),u=e.type,s="error"===e.type?404:200),n&&n(s,u)},r.addEventListener("load",a),r.addEventListener("error",a),o.body.appendChild(r),a}return function(o,s,u,l,c,f,d,h,p,m){function g(){w&&w(),x&&x.abort()}function y(e,t,r,i,o){$(C)&&n.cancel(C),w=x=null,e(t,r,i,o)}if(s=s||e.url(),"jsonp"===Wr(o))var b=i.createCallback(s),w=a(s,b,function(e,t){var n=200===e&&i.getResponse(b);y(l,e,n,"",t),i.removeCallback(b)});else{var x=t(o,s);x.open(o,s,!0),r(c,function(e,t){$(e)&&x.setRequestHeader(t,e)}),x.onload=function(){var e=x.statusText||"",t="response"in x?x.response:x.responseText,n=1223===x.status?204:x.status;0===n&&(n=t?200:"file"===In(s).protocol?404:0),y(l,n,t,x.getAllResponseHeaders(),e)};var k=function(){y(l,-1,null,null,"")};if(x.onerror=k,x.onabort=k,x.ontimeout=k,r(p,function(e,t){x.addEventListener(t,e)}),r(m,function(e,t){x.upload.addEventListener(t,e)}),d&&(x.withCredentials=!0),h)try{x.responseType=h}catch(_){if("json"!==h)throw _}x.send(v(u)?null:u)}if(f>0)var C=n(g,f);else O(f)&&f.then(g)}}function zt(){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,t,n,r){var i=e.$watch(function(e){return i(),r(e)},t,n);return i}function u(o,u,d,h){function p(e){try{return e=T(e),h&&!$(e)?e:ve(e)}catch(t){r(yo.interr(o,t))}}if(!o.length||o.indexOf(e)===-1){var g;if(!u){var y=a(o);g=m(y),g.exp=o,g.expressions=[],g.$$watchDelegate=s}return g}h=!!h;for(var b,w,x,k=0,C=[],S=[],E=o.length,M=[],A=[];k1&&yo.throwNoconcat(o),!u||C.length){var D=function(e){for(var t=0,n=C.length;t4,d=f?z(arguments,4):[],h=t.setInterval,p=t.clearInterval,m=0,g=$(l)&&!l,v=(g?r:n).defer(),y=v.promise;return u=$(u)?u:0,y.$$intervalId=h(function(){g?i.defer(c):e.$evalAsync(c),v.notify(m++),u>0&&m>=u&&(v.resolve(m),p(y.$$intervalId),delete a[y.$$intervalId]),g||e.$apply()},s),a[y.$$intervalId]=v,y}var a={};return o.cancel=function(e){return!!(e&&e.$$intervalId in a)&&(a[e.$$intervalId].promise["catch"](h),a[e.$$intervalId].reject("canceled"),t.clearInterval(e.$$intervalId),delete a[e.$$intervalId],!0)},o}]}function Yt(e){for(var t=e.split("/"),n=t.length;n--;)t[n]=te(t[n]);return t.join("/")}function Wt(e,t){var n=In(e);t.$$protocol=n.protocol,t.$$host=n.hostname,t.$$port=f(n.port)||xo[n.protocol]||null}function Bt(e,t){if(_o.test(e))throw ko("badpath",'Invalid url "{0}".',e);var n="/"!==e.charAt(0);n&&(e="/"+e);var r=In(e);t.$$path=decodeURIComponent(n&&"/"===r.pathname.charAt(0)?r.pathname.substring(1):r.pathname),t.$$search=X(r.search),t.$$hash=decodeURIComponent(r.hash),t.$$path&&"/"!==t.$$path.charAt(0)&&(t.$$path="/"+t.$$path)}function Gt(e,t){return e.slice(0,t.length)===t}function Zt(e,t){if(Gt(t,e))return t.substr(e.length)}function Qt(e){var t=e.indexOf("#");return t===-1?e:e.substr(0,t)}function Jt(e){return e.replace(/(#.+)|#$/,"$1")}function Kt(e){return e.substr(0,Qt(e).lastIndexOf("/")+1)}function Xt(e){return e.substring(0,e.indexOf("/",e.indexOf("//")+2))}function en(e,t,n){this.$$html5=!0,n=n||"",Wt(e,this),this.$$parse=function(e){var n=Zt(t,e);if(!w(n))throw ko("ipthprfx",'Invalid url "{0}", missing path prefix "{1}".',e,t);Bt(n,this),this.$$path||(this.$$path="/"),this.$$compose()},this.$$compose=function(){var e=ee(this.$$search),n=this.$$hash?"#"+te(this.$$hash):"";this.$$url=Yt(this.$$path)+(e?"?"+e:"")+n,this.$$absUrl=t+this.$$url.substr(1)},this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;var o,a,s;return $(o=Zt(e,r))?(a=o,s=n&&$(o=Zt(n,o))?t+(Zt("/",o)||o):e+a):$(o=Zt(t,r))?s=t+o:t===r+"/"&&(s=t),s&&this.$$parse(s),!!s}}function tn(e,t,n){Wt(e,this),this.$$parse=function(r){function i(e,t,n){var r,i=/^\/[A-Z]:(\/.*)/;return Gt(t,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);v(a)||"#"!==a.charAt(0)?this.$$html5?o=a:(o="",v(a)&&(e=r,this.replace())):(o=Zt(n,a),v(o)&&(o=a)),Bt(o,this),this.$$path=i(this.$$path,o,e),this.$$compose()},this.$$compose=function(){var t=ee(this.$$search),r=this.$$hash?"#"+te(this.$$hash):"";this.$$url=Yt(this.$$path)+(t?"?"+t:"")+r,this.$$absUrl=e+(this.$$url?n+this.$$url:"")},this.$$parseLinkUrl=function(t,n){return Qt(e)===Qt(t)&&(this.$$parse(t),!0)}}function nn(e,t,n){this.$$html5=!0,tn.apply(this,arguments),this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;var o,a;return e===Qt(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=ee(this.$$search),r=this.$$hash?"#"+te(this.$$hash):"";this.$$url=Yt(this.$$path)+(t?"?"+t:"")+r,this.$$absUrl=e+n+this.$$url}}function rn(e){return function(){return this[e]}}function on(e,t){return function(n){return v(n)?this[e]:(this[e]=t(n),this.$$compose(),this)}}function an(){var e="!",t={enabled:!1,requireBase:!0,rewriteLinks:!0};this.hashPrefix=function(t){return $(t)?(e=t,this):e},this.html5Mode=function(e){return T(e)?(t.enabled=e,this):y(e)?(T(e.enabled)&&(t.enabled=e.enabled),T(e.requireBase)&&(t.requireBase=e.requireBase),(T(e.rewriteLinks)||w(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 ko("nobase","$location in HTML5 mode requires a tag to be present!");f=Xt(h)+(d||"/"),c=i.history?en:nn}else f=Qt(h),c=tn;var p=Kt(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){var i=t.rewriteLinks;if(i&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey&&2!==e.which&&2!==e.button){for(var s=Jr(e.target);"a"!==I(s[0]);)if(s[0]===o[0]||!(s=s.parent())[0])return;if(!w(i)||!v(s.attr(i))){var u=s.prop("href"),c=s.attr("href")||s.attr("xlink:href");y(u)&&"[object SVGAnimatedString]"===u.toString()&&(u=In(u.animVal).href),m.test(u)||!u||s.attr("target")||e.isDefaultPrevented()||l.$$parseLinkUrl(u,c)&&(e.preventDefault(),l.absUrl()!==r.url()&&(n.$apply(),a.angular["ff-684208-preventDefault"]=!0))}}}),Jt(l.absUrl())!==Jt(h)&&r.url(l.absUrl(),!0);var g=!0;return r.onUrlChange(function(e,t){return Gt(e,p)?(n.$evalAsync(function(){var r,i=l.absUrl(),o=l.$$state;e=Jt(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())):void(a.location.href=e)}),n.$watch(function(){var e=Jt(r.url()),t=Jt(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 sn(){var e=!0,t=this;this.debugEnabled=function(t){return $(t)?(e=t,this):e},this.$get=["$window",function(n){function i(e){return e instanceof Error&&(e.stack?e=e.message&&e.stack.indexOf(e.message)===-1?"Error: "+e.message+"\n"+e.stack:e.stack:e.sourceURL&&(e=e.message+"\n"+e.sourceURL+":"+e.line)),e}function o(e){var t=n.console||{},o=t[e]||t.log||h,a=!1;try{a=!!o.apply}catch(s){}return a?function(){var e=[];return r(arguments,function(t){e.push(i(t))}),o.apply(t,e)}:function(e,t){o(e,null==t?"":t)}}return{log:o("log"),info:o("info"),warn:o("warn"),error:o("error"),debug:function(){var n=o("debug");return function(){e&&n.apply(t,arguments)}}()}}]}function un(e){return e+""}function ln(e,t){return"undefined"!=typeof e?e:t}function cn(e,t){return"undefined"==typeof e?t:"undefined"==typeof t?e:e+t}function fn(e,t){var n=e(t);return!n.$stateful}function dn(e,t){var n,i,o;switch(e.type){case To.Program:n=!0,r(e.body,function(e){dn(e.expression,t),n=n&&e.expression.constant}),e.constant=n;break;case To.Literal:e.constant=!0,e.toWatch=[];break;case To.UnaryExpression:dn(e.argument,t),e.constant=e.argument.constant,e.toWatch=e.argument.toWatch;break;case To.BinaryExpression:dn(e.left,t),dn(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.left.toWatch.concat(e.right.toWatch);break;case To.LogicalExpression:dn(e.left,t),dn(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.constant?[]:[e];break;case To.ConditionalExpression:dn(e.test,t),dn(e.alternate,t),dn(e.consequent,t),e.constant=e.test.constant&&e.alternate.constant&&e.consequent.constant,e.toWatch=e.constant?[]:[e];break;case To.Identifier:e.constant=!1,e.toWatch=[e];break;case To.MemberExpression:dn(e.object,t),e.computed&&dn(e.property,t),e.constant=e.object.constant&&(!e.computed||e.property.constant),e.toWatch=[e];break;case To.CallExpression:o=!!e.filter&&fn(t,e.callee.name),n=o,i=[],r(e.arguments,function(e){dn(e,t),n=n&&e.constant,e.constant||i.push.apply(i,e.toWatch)}),e.constant=n,e.toWatch=o?i:[e];break;case To.AssignmentExpression:dn(e.left,t),dn(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=[e];break;case To.ArrayExpression:n=!0,i=[],r(e.elements,function(e){dn(e,t),n=n&&e.constant,e.constant||i.push.apply(i,e.toWatch)}),e.constant=n,e.toWatch=i;break;case To.ObjectExpression:n=!0,i=[],r(e.properties,function(e){dn(e.value,t),n=n&&e.value.constant&&!e.computed,e.value.constant||i.push.apply(i,e.value.toWatch)}),e.constant=n,e.toWatch=i;break;case To.ThisExpression:e.constant=!1,e.toWatch=[];break;case To.LocalsExpression:e.constant=!1,e.toWatch=[]}}function hn(e){if(1===e.length){var t=e[0].expression,n=t.toWatch;return 1!==n.length?n:n[0]!==t?n:void 0}}function pn(e){return e.type===To.Identifier||e.type===To.MemberExpression}function mn(e){if(1===e.body.length&&pn(e.body[0].expression))return{type:To.AssignmentExpression,left:e.body[0].expression,right:{type:To.NGValueParameter},operator:"="}}function gn(e){return 0===e.body.length||1===e.body.length&&(e.body[0].expression.type===To.Literal||e.body[0].expression.type===To.ArrayExpression||e.body[0].expression.type===To.ObjectExpression)}function vn(e){return e.constant}function $n(e,t){this.astBuilder=e,this.$filter=t}function yn(e,t){this.astBuilder=e,this.$filter=t}function bn(e){return _(e.valueOf)?e.valueOf():Eo.call(e)}function wn(){var e,t,n=ge(),i={"true":!0,"false":!1,"null":null,undefined:void 0};this.addLiteral=function(e,t){i[e]=t},this.setIdentifierFns=function(n,r){return e=n,t=r,this},this.$get=["$filter",function(o){function a(e,t){var r,i,a;switch(typeof e){case"string":if(e=e.trim(),a=e,r=n[a],!r){":"===e.charAt(0)&&":"===e.charAt(1)&&(i=!0,e=e.substring(2));var s=new Do(m),p=new Oo(s,o,m);r=p.parse(e),r.constant?r.$$watchDelegate=f:i?r.$$watchDelegate=r.literal?c:l:r.inputs&&(r.$$watchDelegate=u),n[a]=r}return d(r,t);case"function":return d(e,t);default:return d(h,t)}}function s(e,t){return null==e||null==t?e===t:("object"!=typeof e||(e=bn(e),"object"!=typeof e))&&(e===t||e!==e&&t!==t)}function u(e,t,n,r,i){var o,a=r.inputs;if(1===a.length){var u=s;return a=a[0],e.$watch(function(e){var t=a(e);return s(t,u)||(o=r(e,void 0,void 0,[t]),u=t&&bn(t)),o},t,n,i)}for(var l=[],c=[],f=0,d=a.length;f0&&f(this.$$state),r},"catch":function(e){return this.then(null,e)},"finally":function(e,t){return this.then(function(t){return b(t,A,e)},function(t){return b(t,$,e)},t)}});var A=w;return C.prototype=s.prototype,C.defer=o,C.reject=$,C.when=w,C.resolve=A,C.all=x,C.race=k,C}function Cn(){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 Sn(){function e(e){function t(){this.$$watchers=this.$$nextSibling=this.$$childHead=this.$$childTail=null,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$id=a(),this.$$ChildScope=null}return t.prototype=e,t}var i=10,o=t("$rootScope"),s=null,u=null;this.digestTtl=function(e){return arguments.length&&(i=e),i},this.$get=["$exceptionHandler","$parse","$browser",function(t,l,c){function f(e){e.currentScope.$$destroyed=!0}function d(e){9===Qr&&(e.$$childHead&&d(e.$$childHead),e.$$nextSibling&&d(e.$$nextSibling)),e.$parent=e.$$nextSibling=e.$$prevSibling=e.$$childHead=e.$$childTail=e.$root=e.$$watchers=null}function p(){this.$id=a(),this.$$phase=this.$parent=this.$$watchers=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=null,this.$root=this,this.$$destroyed=!1,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$$isolateBindings=null}function m(e){if(C.$$phase)throw o("inprog","{0} already in progress",C.$$phase);C.$$phase=e}function g(){C.$$phase=null}function $(e,t){do e.$$watchersCount+=t;while(e=e.$parent)}function b(e,t,n){do e.$$listenerCount[n]-=t,0===e.$$listenerCount[n]&&delete e.$$listenerCount[n];while(e=e.$parent)}function w(){}function x(){for(;M.length;)try{M.shift()()}catch(e){t(e)}u=null}function k(){null===u&&(u=c.defer(function(){C.$apply(x)}))}p.prototype={constructor:p,$new:function(t,n){var r;return n=n||this,t?(r=new p,r.$root=this.$root):(this.$$ChildScope||(this.$$ChildScope=e(this)),r=new this.$$ChildScope),r.$parent=n,r.$$prevSibling=n.$$childTail,n.$$childHead?(n.$$childTail.$$nextSibling=r,n.$$childTail=r):n.$$childHead=n.$$childTail=r,(t||n!==this)&&r.$on("$destroy",f),r},$watch:function(e,t,n,r){var i=l(e);if(i.$$watchDelegate)return i.$$watchDelegate(this,t,n,i,e);var o=this,a=o.$$watchers,u={fn:t,last:w,get:i,exp:r||e,eq:!!n};return s=null,_(t)||(u.fn=h),a||(a=o.$$watchers=[],a.$$digestWatchIndex=-1),a.unshift(u),a.$$digestWatchIndex++,$(this,1),function(){var e=U(a,u);e>=0&&($(o,-1),et){f++;for(r in a)Yr.call(o,r)||(g--,delete a[r])}}else a!==o&&(a=o,f++);return f}}function i(){if(m?(m=!1,t(o,o,u)):t(o,s,u),c)if(y(o))if(n(o)){s=new Array(o.length);for(var e=0;e1,f=0,d=l(e,r),h=[],p={},m=!0,g=0;return this.$watch(d,i)},$digest:function(){var e,n,r,a,l,f,d,h,p,v,$,y=i,b=this,k=[];m("$digest"),c.$$checkUrlChange(),this===C&&null!==u&&(c.defer.cancel(u),x()),s=null;do{d=!1,p=b;for(var M=0;M-1)throw Fo("iwcard","Illegal sequence *** in string matcher. String: {0}",e);return e=di(e).replace(/\\\*\\\*/g,".*").replace(/\\\*/g,"[^:/.?&;]*"),new RegExp("^"+e+"$")}if(C(e))return new RegExp("^"+e.source+"$");throw Fo("imatcher",'Matchers may only be "self", string patterns or RegExp objects')}function Dn(e){var t=[];return $(e)&&r(e,function(e){t.push(An(e))}),t}function Tn(){this.SCE_CONTEXTS=Lo;var e=["self"],t=[];this.resourceUrlWhitelist=function(t){return arguments.length&&(e=Dn(t)),e},this.resourceUrlBlacklist=function(e){return arguments.length&&(t=Dn(e)),t},this.$get=["$injector",function(n){function r(e,t){return"self"===e?Rn(t):!!e.exec(t.href)}function i(n){var i,o,a=In(n.toString()),s=!1;for(i=0,o=e.length;i to the top of your HTML document. See http://docs.angularjs.org/api/ng.$sce for more information.");var i=ye(Lo);i.isEnabled=function(){return e},i.trustAs=n.trustAs,i.getTrusted=n.getTrusted,i.valueOf=n.valueOf,e||(i.trustAs=i.getTrusted=function(e,t){return t},i.valueOf=p),i.parseAs=function(e,n){var r=t(n);return r.literal&&r.constant?r:t(n,function(t){return i.getTrusted(e,t)})};var o=i.parseAs,a=i.getTrusted,s=i.trustAs;return r(Lo,function(e,t){var n=Wr(t);i[Mn("parse_as_"+n)]=function(t){return o(e,t)},i[Mn("get_trusted_"+n)]=function(t){return a(e,t)},i[Mn("trust_as_"+n)]=function(t){return s(e,t)}}),i}]}function Fn(){this.$get=["$window","$document",function(e,t){var n={},r=e.chrome&&(e.chrome.app&&e.chrome.app.runtime||!e.chrome.app&&e.chrome.runtime&&e.chrome.runtime.id),i=!r&&e.history&&e.history.pushState,o=f((/android (\d+)/.exec(Wr((e.navigator||{}).userAgent))||[])[1]),a=/Boxee/i.test((e.navigator||{}).userAgent),s=t[0]||{},u=s.body&&s.body.style,l=!1,c=!1;return u&&(l=!!("transition"in u||"webkitTransition"in u),c=!!("animation"in u||"webkitAnimation"in u)),{history:!(!i||o<4||a),hasEvent:function(e){if("input"===e&&Qr)return!1;if(v(n[e])){var t=s.createElement("div");n[e]="on"+e in t}return n[e]},csp:hi(),transitions:l,animations:c,android:o}}]}function Ln(){var e;this.httpOptions=function(t){return t?(e=t,this):e},this.$get=["$exceptionHandler","$templateCache","$http","$q","$sce",function(t,n,r,i,o){function a(s,u){function c(e){return u||(e=No("tpload","Failed to load template: {0} (HTTP status: {1} {2})",s,e.status,e.statusText),t(e)),i.reject(e)}a.totalPendingRequests++,w(s)&&!v(n.get(s))||(s=o.getTrustedResourceUrl(s));var f=r.defaults&&r.defaults.transformResponse;return li(f)?f=f.filter(function(e){return e!==Ft}):f===Ft&&(f=null),r.get(s,l({cache:n,transformResponse:f},e))["finally"](function(){a.totalPendingRequests--}).then(function(e){return n.put(s,e.data),e.data},c)}return a.totalPendingRequests=0,a}]}function Pn(){this.$get=["$rootScope","$browser","$location",function(e,t,n){var i={};return i.findBindings=function(e,t,n){var i=e.getElementsByClassName("ng-binding"),o=[];return r(i,function(e){var i=ai.element(e).data("$binding");i&&r(i,function(r){if(n){var i=new RegExp("(^|\\s)"+di(t)+"(\\s|\\||$)");i.test(r)&&o.push(e)}else r.indexOf(t)!==-1&&o.push(e)})}),o},i.findModels=function(e,t,n){for(var r=["ng-","data-ng-","ng\\:"],i=0;i0&&(l=n(a.substring(0,u)),v(i[l])&&(i[l]=n(a.substring(u+1))));return i}}function Vn(){this.$get=jn}function Hn(e){function t(i,o){if(y(i)){var a={};return r(i,function(e,n){a[n]=t(n,e)}),a}return e.factory(i+n,o)}var n="Filter";this.register=t,this.$get=["$injector",function(e){return function(t){return e.get(t+n)}}],t("currency",Bn),t("date",ur),t("filter",zn),t("json",lr),t("limitTo",cr),t("lowercase",Yo),t("number",Gn),t("orderBy",dr),t("uppercase",Wo)}function zn(){return function(e,r,i,o){if(!n(e)){if(null==e)return e;throw t("filter")("notarray","Expected array but received: {0}",e)}o=o||"$";var a,s,u=Wn(r);switch(u){case"function":a=r;break;case"boolean":case"null":case"number":case"string":s=!0;case"object":a=qn(r,i,o,s);break;default:return e}return Array.prototype.filter.call(e,a)}}function qn(e,t,n,r){var i,o=y(e)&&n in e;return t===!0?t=V:_(t)||(t=function(e,t){return!v(e)&&(null===e||null===t?e===t:!(y(t)||y(e)&&!g(e))&&(e=Wr(""+e),t=Wr(""+t),e.indexOf(t)!==-1))}),i=function(i){return o&&!y(i)?Yn(i,e[n],t,n,!1):Yn(i,e,t,n,r)}}function Yn(e,t,n,r,i,o){var a=Wn(e),s=Wn(t);if("string"===s&&"!"===t.charAt(0))return!Yn(e,t.substring(1),n,r,i);if(li(e))return e.some(function(e){return Yn(e,t,n,r,i)});switch(a){case"object":var u;if(i){for(u in e)if("$"!==u.charAt(0)&&Yn(e[u],t,n,r,!0))return!0;return!o&&Yn(e,t,n,r,!1)}if("object"===s){for(u in t){var l=t[u];if(!_(l)&&!v(l)){var c=u===r,f=c?e:e[u];if(!Yn(f,l,n,r,c,c))return!1}}return!0}return n(e,t);case"function":return!1;default:return n(e,t)}}function Wn(e){return null===e?"null":typeof e}function Bn(e){var t=e.NUMBER_FORMATS;return function(e,n,r){return v(n)&&(n=t.CURRENCY_SYM),v(r)&&(r=t.PATTERNS[1].maxFrac),null==e?e:Jn(e,t.PATTERNS[1],t.GROUP_SEP,t.DECIMAL_SEP,r).replace(/\u00A4/g,n)}}function Gn(e){var t=e.NUMBER_FORMATS;return function(e,n){return null==e?e:Jn(e,t.PATTERNS[0],t.GROUP_SEP,t.DECIMAL_SEP,n)}}function Zn(e){var t,n,r,i,o,a=0;for((n=e.indexOf(jo))>-1&&(e=e.replace(jo,"")),(r=e.search(/e/i))>0?(n<0&&(n=r),n+=+e.slice(r+1),e=e.substring(0,r)):n<0&&(n=e.length),r=0;e.charAt(r)===Vo;r++);if(r===(o=e.length))t=[0],n=1;else{for(o--;e.charAt(o)===Vo;)o--;for(n-=r,t=[],i=0;r<=o;r++,i++)t[i]=+e.charAt(r)}return n>Uo&&(t=t.splice(0,Uo-1),a=n-1,n=1),{d:t,e:a,i:n}}function Qn(e,t,n,r){var i=e.d,o=i.length-e.i;t=v(t)?Math.min(Math.max(n,o),r):+t;var a=t+e.i,s=i[a];if(a>0){i.splice(Math.max(e.i,a));for(var u=a;u=5)if(a-1<0){for(var c=0;c>a;c--)i.unshift(0),e.i++;i.unshift(1),e.i++}else i[a-1]++;for(;o0?h=c.splice(f,c.length):(h=c,c=[0]);var p=[];for(c.length>=t.lgSize&&p.unshift(c.splice(-t.lgSize,c.length).join(""));c.length>t.gSize;)p.unshift(c.splice(-t.gSize,c.length).join(""));c.length&&p.unshift(c.join("")),l=p.join(n),h.length&&(l+=r+h.join("")),d&&(l+="e+"+d)}return e<0&&!s?t.negPre+l+t.negSuf:t.posPre+l+t.posSuf}function Kn(e,t,n,r){var i="";for((e<0||r&&e<=0)&&(r?e=-e+1:(e=-e,i="-")),e=""+e;e.length0||a>-n)&&(a+=n),0===a&&n===-12&&(a=12),Kn(a,t,r,i)}}function er(e,t,n){return function(r,i){var o=r["get"+e](),a=(n?"STANDALONE":"")+(t?"SHORT":""),s=Br(a+e);return i[s][o]}}function tr(e,t,n){var r=-1*n,i=r>=0?"+":"";return i+=Kn(Math[r>0?"floor":"ceil"](r/60),2)+Kn(Math.abs(r%60),2)}function nr(e){var t=new Date(e,0,1).getDay();return new Date(e,0,(t<=4?5:12)-t)}function rr(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate()+(4-e.getDay()))}function ir(e){return function(t){var n=nr(t.getFullYear()),r=rr(t),i=+r-+n,o=1+Math.round(i/6048e5);return Kn(o,e)}}function or(e,t){return e.getHours()<12?t.AMPMS[0]:t.AMPMS[1]}function ar(e,t){return e.getFullYear()<=0?t.ERAS[0]:t.ERAS[1]}function sr(e,t){return e.getFullYear()<=0?t.ERANAMES[0]:t.ERANAMES[1]}function ur(e){function t(e){var t;if(t=e.match(n)){var r=new Date(0),i=0,o=0,a=t[8]?r.setUTCFullYear:r.setFullYear,s=t[8]?r.setUTCHours:r.setHours;t[9]&&(i=f(t[9]+t[10]),o=f(t[9]+t[11])),a.call(r,f(t[1]),f(t[2])-1,f(t[3]));var u=f(t[4]||0)-i,l=f(t[5]||0)-o,c=f(t[6]||0),d=Math.round(1e3*parseFloat("0."+(t[7]||0)));return s.call(r,u,l,c,d),r}return e}var n=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;return function(n,i,o){var a,s,u="",l=[];if(i=i||"mediumDate",i=e.DATETIME_FORMATS[i]||i,w(n)&&(n=qo.test(n)?f(n):t(n)),x(n)&&(n=new Date(n)),!k(n)||!isFinite(n.getTime()))return n;for(;i;)s=zo.exec(i),s?(l=H(l,s,1),i=l.pop()):(l.push(i),i=null);var c=n.getTimezoneOffset();return o&&(c=G(o,c),n=Q(n,o,!0)),r(l,function(t){a=Ho[t],u+=a?a(n,e.DATETIME_FORMATS,c):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}}function lr(){return function(e,t){return v(t)&&(t=2),W(e,t)}}function cr(){return function(e,t,r){return t=Math.abs(Number(t))===1/0?Number(t):f(t),ui(t)?e:(x(e)&&(e=e.toString()),n(e)?(r=!r||isNaN(r)?0:f(r),r=r<0?Math.max(0,e.length+r):r,t>=0?fr(e,r,r+t):0===r?fr(e,t,e.length):fr(e,Math.max(0,r+t),r)):e)}}function fr(e,t,n){return w(e)?e.slice(t,n):ei.call(e,t,n)}function dr(e){function r(t){return t.map(function(t){var n=1,r=p;if(_(t))r=t;else if(w(t)&&("+"!==t.charAt(0)&&"-"!==t.charAt(0)||(n="-"===t.charAt(0)?-1:1,t=t.substring(1)),""!==t&&(r=e(t),r.constant))){var i=r();r=function(e){return e[i]}}return{get:r,descending:n}})}function i(e){switch(typeof e){case"number":case"boolean":case"string":return!0;default:return!1}}function o(e){return _(e.valueOf)&&(e=e.valueOf(),i(e))?e:g(e)&&(e=e.toString(),i(e))?e:e}function a(e,t){var n=typeof e;return null===e?(n="string",e="null"):"object"===n&&(e=o(e)),{value:e,type:n,index:t}}function s(e,t){var n=0,r=e.type,i=t.type;if(r===i){var o=e.value,a=t.value;"string"===r?(o=o.toLowerCase(),a=a.toLowerCase()):"object"===r&&(y(o)&&(o=e.index),y(a)&&(a=t.index)),o!==a&&(n=o=m},a.$observe("min",function(e){m=d(e),s.$validate()})}if($(a.max)||a.ngMax){var g;s.$validators.max=function(e){return!f(e)||v(g)||n(e)<=g},a.$observe("max",function(e){g=d(e),s.$validate()})}}}function Cr(e,t,n,r){var i=t[0],o=r.$$hasNativeValidators=y(i.validity);o&&r.$parsers.push(function(e){var n=t.prop(qr)||{};return n.badInput||n.typeMismatch?void 0:e})}function Sr(e){e.$$parserName="number",e.$parsers.push(function(t){return e.$isEmpty(t)?null:ia.test(t)?parseFloat(t):void 0}),e.$formatters.push(function(t){if(!e.$isEmpty(t)){if(!x(t))throw ja("numfmt","Expected `{0}` to be a number",t);t=t.toString()}return t})}function Er(e){return $(e)&&!x(e)&&(e=parseFloat(e)),ui(e)?void 0:e}function Mr(e){return(0|e)===e}function Ar(e){var t=e.toString(),n=t.indexOf(".");if(n===-1){if(-1=a},n.$observe("min",function(e){a=Er(e),r.$validate()})),($(n.max)||n.ngMax)&&(r.$validators.max=function(e){return r.$isEmpty(e)||v(s)||e<=s},n.$observe("max",function(e){s=Er(e),r.$validate()})),$(n.step)||n.ngStep){var u;r.$validators.step=function(e,t){return r.$isEmpty(t)||v(u)||Dr(t,a||0,u)},n.$observe("step",function(e){u=Er(e),r.$validate()})}}function Or(e,t,n,r,i,o){function a(e,r){t.attr(e,n[e]),n.$observe(e,r)}function s(e){if(f=Er(e),!ui(r.$modelValue))if(c){var n=t.val();f>n&&(n=f,t.val(n)),r.$setViewValue(n)}else r.$validate()}function u(e){if(d=Er(e),!ui(r.$modelValue))if(c){var n=t.val();d=f},a("min",s)),g&&(r.$validators.max=c?function(){return!0}:function(e,t){return r.$isEmpty(t)||v(d)||t<=d},a("max",u)),y&&(r.$validators.step=c?function(){return!p.stepMismatch}:function(e,t){return r.$isEmpty(t)||v(h)||Dr(t,f||0,h)},a("step",l))}function Fr(e,t,n,r,i,o){wr(e,t,n,r,i,o),yr(r),r.$$parserName="url",r.$validators.url=function(e,t){var n=e||t;return r.$isEmpty(n)||na.test(n)}}function Lr(e,t,n,r,i,o){wr(e,t,n,r,i,o),yr(r),r.$$parserName="email",r.$validators.email=function(e,t){var n=e||t;return r.$isEmpty(n)||ra.test(n)}}function Pr(e,t,n,r){var i=!n.ngTrim||"false"!==fi(n.ngTrim);v(n.name)&&t.attr("name",a());var o=function(e){var o;t[0].checked&&(o=n.value,i&&(o=fi(o)),r.$setViewValue(o,e&&e.type))};t.on("click",o),r.$render=function(){var e=n.value;i&&(e=fi(e)),t[0].checked=e===r.$viewValue},n.$observe("value",r.$render)}function Nr(e,t,n,r,i){var o;if($(r)){if(o=e(r),!o.constant)throw ja("constexpr","Expected constant expression for `{0}`, but saw `{1}`.",n,r);return o(t)}return i}function Ir(e,t,n,r,i,o,a,s){var u=Nr(s,e,"ngTrueValue",n.ngTrueValue,!0),l=Nr(s,e,"ngFalseValue",n.ngFalseValue,!1),c=function(e){r.$setViewValue(t[0].checked,e&&e.type)};t.on("click",c),r.$render=function(){t[0].checked=r.$viewValue},r.$isEmpty=function(e){return e===!1},r.$formatters.push(function(e){return V(e,u)}),r.$parsers.push(function(e){return e?u:l})}function Rr(e,t){function n(e,t){if(!e||!e.length)return[];if(!t||!t.length)return e;var n=[];e:for(var r=0;r0||C[e])&&(C[e]=(C[e]||0)+t,C[e]===+(t>0)&&n.push(e))}),n.join(" ")}function g(e){e===t?d(y):h(y),S=e}function v(e){var t=o(e);t!==y&&$(t)}function $(e){S===t&&p(y,e),y=e}var y,b=f[e].trim(),w=":"===b.charAt(0)&&":"===b.charAt(1),x=w?a:o,k=u(b,x),_=w?v:$,C=c.data("$classCounts"),S=!0;C||(C=ge(),c.data("$classCounts",C)),"ngClass"!==e&&(s||(s=u("$index",function(e){return 1&e})),l.$watch(s,g)),l.$watch(k,_,w)}}}]}function Ur(e,t,n,r,i,o,a,s,u){this.$viewValue=Number.NaN,this.$modelValue=Number.NaN,this.$$rawModelValue=void 0,this.$validators={},this.$asyncValidators={},this.$parsers=[],this.$formatters=[],this.$viewChangeListeners=[],this.$untouched=!0,this.$touched=!1,this.$pristine=!0,this.$dirty=!1,this.$valid=!0,this.$invalid=!1,this.$error={},this.$$success={},this.$pending=void 0,this.$name=u(n.name||"",!1)(e),this.$$parentForm=Zo,this.$options=Va,this.$$parsedNgModel=i(n.ngModel),this.$$parsedNgModelAssign=this.$$parsedNgModel.assign,this.$$ngModelGet=this.$$parsedNgModel,this.$$ngModelSet=this.$$parsedNgModelAssign,this.$$pendingDebounce=null,this.$$parserValid=void 0,this.$$currentValidationRunId=0,this.$$scope=e,this.$$attr=n,this.$$element=r,this.$$animate=o,this.$$timeout=a,this.$$parse=i,this.$$q=s,this.$$exceptionHandler=t,gr(this),jr(this)}function jr(e){e.$$scope.$watch(function(){var t=e.$$ngModelGet(e.$$scope);if(t!==e.$modelValue&&(e.$modelValue===e.$modelValue||t===t)){e.$modelValue=e.$$rawModelValue=t,e.$$parserValid=void 0;for(var n=e.$formatters,r=n.length,i=t;r--;)i=n[r](i);e.$viewValue!==i&&(e.$$updateEmptyClasses(i),e.$viewValue=e.$$lastCommittedViewValue=i,e.$render(),e.$$runValidators(e.$modelValue,e.$viewValue,h))}return t})}function Vr(e){this.$$options=e}function Hr(e,t){r(t,function(t,n){$(e[n])||(e[n]=t)})}var zr=/^\/(.+)\/([a-z]*)$/,qr="validity",Yr=Object.prototype.hasOwnProperty,Wr=function(e){return w(e)?e.toLowerCase():e},Br=function(e){return w(e)?e.toUpperCase():e},Gr=function(e){return w(e)?e.replace(/[A-Z]/g,function(e){return String.fromCharCode(32|e.charCodeAt(0))}):e},Zr=function(e){return w(e)?e.replace(/[a-z]/g,function(e){return String.fromCharCode(e.charCodeAt(0)&-33)}):e};"i"!=="I".toLowerCase()&&(Wr=Gr,Br=Zr);var Qr,Jr,Kr,Xr,ei=[].slice,ti=[].splice,ni=[].push,ri=Object.prototype.toString,ii=Object.getPrototypeOf,oi=t("ng"),ai=e.angular||(e.angular={}),si=0;Qr=e.document.documentMode;var ui=Number.isNaN||function(e){return e!==e};h.$inject=[],p.$inject=[];var li=Array.isArray,ci=/^\[object (?:Uint8|Uint8Clamped|Uint16|Uint32|Int8|Int16|Int32|Float32|Float64)Array]$/,fi=function(e){return w(e)?e.trim():e},di=function(e){return e.replace(/([-()[\]{}+?*.$^|,:#(?:<\/\1>|)$/,Li=/<|&#?\w+;/,Pi=/<([\w:-]+)/,Ni=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,Ii={option:[1,'"],thead:[1,"","
    "],col:[2,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],_default:[0,"",""]};Ii.optgroup=Ii.option,Ii.tbody=Ii.tfoot=Ii.colgroup=Ii.caption=Ii.thead,Ii.th=Ii.td;var Ri=e.Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))},Ui=Le.prototype={ready:Qe,toString:function(){var e=[];return r(this,function(t){e.push(""+t)}),"["+e.join(", ")+"]"},eq:function(e){return Jr(e>=0?this[e]:this[this.length+e])},length:0,push:ni,sort:[].sort,splice:[].splice},ji={};r("multiple,selected,checked,disabled,readOnly,required,open".split(","),function(e){ji[Wr(e)]=e});var Vi={};r("input,select,option,textarea,button,form,details".split(","),function(e){Vi[e]=!0});var Hi={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern",ngStep:"step"};r({data:je,removeData:Re,hasData:Ae,cleanData:De},function(e,t){Le[t]=e}),r({data:je,inheritedData:We,scope:function(e){return Jr.data(e,"$scope")||We(e.parentNode||e,["$isolateScope","$scope"])},isolateScope:function(e){return Jr.data(e,"$isolateScope")||Jr.data(e,"$isolateScopeNoTemplate")},controller:Ye,injector:function(e){return We(e,"$injector")},removeAttr:function(e,t){e.removeAttribute(t)},hasClass:Ve,css:function(e,t,n){return t=_e(t),$(n)?void(e.style[t]=n):e.style[t]},attr:function(e,t,n){var r,i=e.nodeType;if(i!==xi&&i!==wi&&i!==ki&&e.getAttribute){var o=Wr(t),a=ji[o];return $(n)?void(null===n||n===!1&&a?e.removeAttribute(t):e.setAttribute(t,a?o:n)):(r=e.getAttribute(t),a&&null!==r&&(r=o),null===r?void 0:r)}},prop:function(e,t,n){return $(n)?void(e[t]=n):e[t]},text:function(){function e(e,t){if(v(t)){var n=e.nodeType;return n===bi||n===xi?e.textContent:""}e.textContent=t}return e.$dv="",e}(),val:function(e,t){if(v(t)){if(e.multiple&&"select"===I(e)){var n=[];return r(e.options,function(e){e.selected&&n.push(e.value||e.text)}),n}return e.value}e.value=t},html:function(e,t){return v(t)?e.innerHTML:(Ne(e,!0),void(e.innerHTML=t))},empty:Be},function(e,t){Le.prototype[t]=function(t,n){var r,i,o=this.length;if(e!==Be&&v(2===e.length&&e!==Ve&&e!==Ye?t:n)){if(y(t)){for(r=0;r=0?t.split(" "):[t],u=s.length,l=function(t,r,i){var s=o[t];s||(s=o[t]=[],s.specialHandlerWrapper=r,"$destroy"===t||i||e.addEventListener(t,a)),s.push(n)};u--;)t=s[u],Ti[t]?(l(Ti[t],tt),l(t,void 0,!0)):l(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,i=e.parentNode;Ne(e),r(new Le(t),function(t){n?i.insertBefore(t,n.nextSibling):i.replaceChild(t,e),n=t})},children:function(e){var t=[];return r(e.childNodes,function(e){e.nodeType===bi&&t.push(e)}),t},contents:function(e){return e.contentDocument||e.childNodes||[]},append:function(e,t){var n=e.nodeType;if(n===bi||n===Ci){t=new Le(t);for(var r=0,i=t.length;r/,Yi=/^[^(]*\(\s*([^)]*)\)/m,Wi=/,/,Bi=/^\s*(_?)(\S+?)\1\s*$/,Gi=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,Zi=t("$injector");lt.$$annotate=ut;var Qi=t("$animate"),Ji=1,Ki="ng-animate",Xi=function(){this.$get=h},eo=function(){var e=new it,t=[];this.$get=["$$AnimateRunner","$rootScope",function(n,i){function o(e,t,n){var i=!1;return t&&(t=w(t)?t.split(" "):li(t)?t:[],r(t,function(t){t&&(i=!0,e[t]=n)})),i}function a(){r(t,function(t){var n=e.get(t);if(n){var i=ht(t.attr("class")),o="",a="";r(n,function(e,t){var n=!!i[t];e!==n&&(e?o+=(o.length?" ":"")+t:a+=(a.length?" ":"")+t)}),r(t,function(e){o&&ze(e,o),a&&He(e,a)}),e.remove(t)}}),t.length=0}function s(n,r,s){var u=e.get(n)||{},l=o(u,r,!0),c=o(u,s,!1);(l||c)&&(e.put(n,u),t.push(n),1===t.length&&i.$$postDigest(a))}return{enabled:h,on:h,off:h,pin:h,push:function(e,t,r,i){i&&i(),r=r||{},r.from&&e.css(r.from),r.to&&e.css(r.to),(r.addClass||r.removeClass)&&s(e,r.addClass,r.removeClass);var o=new n;return o.complete(),o}}}]},to=["$provide",function(e){var t=this;this.$$registeredAnimations=Object.create(null),this.register=function(n,r){if(n&&"."!==n.charAt(0))throw Qi("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+|\\/)"+Ki+"(\\s+|\\/)");if(t.test(this.$$classNameFilter.toString()))throw Qi("nongcls",'$animateProvider.classNameFilter(regex) prohibits accepting a regex value which matches/contains the "{0}" CSS class.',Ki)}return this.$$classNameFilter},this.$get=["$$animateQueue",function(e){function t(e,t,n){if(n){var r=dt(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",pt(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",pt(o))},leave:function(t,n){return e.push(t,"leave",pt(n),function(){t.remove()})},addClass:function(t,n,r){return r=pt(r),r.addClass=ft(r.addclass,n),e.push(t,"addClass",r)},removeClass:function(t,n,r){return r=pt(r),r.removeClass=ft(r.removeClass,n),e.push(t,"removeClass",r)},setClass:function(t,n,r,i){return i=pt(i),i.addClass=ft(i.addClass,n),i.removeClass=ft(i.removeClass,r),e.push(t,"setClass",i)},animate:function(t,n,r,i,o){return o=pt(o),o.from=o.from?l(o.from,n):n,o.to=o.to?l(o.to,r):r,i=i||"ng-inline-animate",o.tempClasses=ft(o.tempClasses,i),e.push(t,"animate",o)}}}]}],no=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){Mo[e]=!0});var Ao={n:"\n",f:"\f",r:"\r",t:"\t",v:"\x0B","'":"'",'"':'"'},Do=function(e){this.options=e};Do.prototype={constructor:Do,lex:function(e){for(this.text=e,this.index=0,this.tokens=[];this.index=55296&&n<=56319&&r>=56320&&r<=57343?e+t:e},isExpOperator:function(e){return"-"===e||"+"===e||this.isNumber(e)},throwError:function(e,t,n){n=n||this.index;var r=$(t)?"s "+t+"-"+this.index+" ["+this.text.substring(t,n)+"]":" "+n;throw So("lexerr","Lexer Error: {0} at column{1} in expression [{2}].",e,r,this.text)},readNumber:function(){for(var e="",t=this.index;this.index0&&!this.peek("}",")",";","]")&&e.push(this.expressionStatement()),!this.expect(";"))return{type:To.Program,body:e}},expressionStatement:function(){return{type:To.ExpressionStatement,expression:this.filterChain()}},filterChain:function(){for(var e=this.expression();this.expect("|");)e=this.filter(e);return e},expression:function(){return this.assignment()},assignment:function(){var e=this.ternary();if(this.expect("=")){if(!pn(e))throw So("lval","Trying to assign a value to a non l-value");e={type:To.AssignmentExpression,left:e,right:this.assignment(),operator:"="}}return e},ternary:function(){var e,t,n=this.logicalOR();return this.expect("?")&&(e=this.expression(),this.consume(":"))?(t=this.expression(),{type:To.ConditionalExpression,test:n,alternate:e,consequent:t}):n},logicalOR:function(){for(var e=this.logicalAND();this.expect("||");)e={type:To.LogicalExpression,operator:"||",left:e,right:this.logicalAND()};return e},logicalAND:function(){for(var e=this.equality();this.expect("&&");)e={type:To.LogicalExpression,operator:"&&",left:e,right:this.equality()};return e},equality:function(){for(var e,t=this.relational();e=this.expect("==","!=","===","!==");)t={type:To.BinaryExpression,operator:e.text,left:t,right:this.relational()};return t},relational:function(){for(var e,t=this.additive();e=this.expect("<",">","<=",">=");)t={type:To.BinaryExpression,operator:e.text,left:t,right:this.additive()};return t},additive:function(){for(var e,t=this.multiplicative();e=this.expect("+","-");)t={type:To.BinaryExpression,operator:e.text,left:t,right:this.multiplicative()};return t},multiplicative:function(){for(var e,t=this.unary();e=this.expect("*","/","%");)t={type:To.BinaryExpression,operator:e.text,left:t,right:this.unary()};return t},unary:function(){var e;return(e=this.expect("+","-","!"))?{type:To.UnaryExpression,operator:e.text,prefix:!0,argument:this.unary()}:this.primary()},primary:function(){var e;this.expect("(")?(e=this.filterChain(),this.consume(")")):this.expect("[")?e=this.arrayDeclaration():this.expect("{")?e=this.object():this.selfReferential.hasOwnProperty(this.peek().text)?e=j(this.selfReferential[this.consume().text]):this.options.literals.hasOwnProperty(this.peek().text)?e={type:To.Literal,value:this.options.literals[this.consume().text]}:this.peek().identifier?e=this.identifier():this.peek().constant?e=this.constant():this.throwError("not a primary expression",this.peek());for(var t;t=this.expect("(","[",".");)"("===t.text?(e={type:To.CallExpression,callee:e,arguments:this.parseArguments()},this.consume(")")):"["===t.text?(e={type:To.MemberExpression,object:e,property:this.expression(),computed:!0},this.consume("]")):"."===t.text?e={type:To.MemberExpression,object:e,property:this.identifier(),computed:!1}:this.throwError("IMPOSSIBLE");return e},filter:function(e){for(var t=[e],n={type:To.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.filterChain());while(this.expect(","));return e},identifier:function(){var e=this.consume();return e.identifier||this.throwError("is not a valid identifier",e),{type:To.Identifier,name:e.text}},constant:function(){return{type:To.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:To.ArrayExpression,elements:e}},object:function(){var e,t=[];if("}"!==this.peekToken().text)do{if(this.peek("}"))break;e={type:To.Property,kind:"init"},this.peek().constant?(e.key=this.constant(),e.computed=!1,this.consume(":"),e.value=this.expression()):this.peek().identifier?(e.key=this.identifier(),e.computed=!1,this.peek(":")?(this.consume(":"),e.value=this.expression()):e.value=e.key):this.peek("[")?(this.consume("["),e.key=this.expression(),this.consume("]"),e.computed=!0,this.consume(":"),e.value=this.expression()):this.throwError("invalid key",this.peek()),t.push(e)}while(this.expect(","));return this.consume("}"),{type:To.ObjectExpression,properties:t}},throwError:function(e,t){throw So("syntax","Syntax Error: Token '{0}' {1} at column {2} of the expression [{3}] starting at [{4}].",t.text,e,t.index+1,this.text,this.text.substring(t.index))},consume:function(e){if(0===this.tokens.length)throw So("ueoe","Unexpected end of expression: {0}",this.text);var t=this.expect(e);return t||this.throwError("is unexpected, expecting ["+e+"]",this.peek()),t},peekToken:function(){if(0===this.tokens.length)throw So("ueoe","Unexpected end of expression: {0}",this.text);return this.tokens[0]},peek:function(e,t,n,r){return this.peekAhead(0,e,t,n,r)},peekAhead:function(e,t,n,r,i){if(this.tokens.length>e){var o=this.tokens[e],a=o.text;if(a===t||a===n||a===r||a===i||!t&&!n&&!r&&!i)return o}return!1},expect:function(e,t,n,r){var i=this.peek(e,t,n,r);return!!i&&(this.tokens.shift(),i)},selfReferential:{"this":{type:To.ThisExpression},$locals:{type:To.LocalsExpression}}},$n.prototype={compile:function(e){var t=this,n=this.astBuilder.ast(e);this.state={nextId:0,filters:{},fn:{vars:[],body:[],own:{}},assign:{vars:[],body:[],own:{}},inputs:[]},dn(n,t.$filter);var i,o="";if(this.stage="assign",i=mn(n)){this.state.computing="assign";var a=this.nextId();this.recurse(i,a),this.return_(a),o="fn.assign="+this.generateFunction("assign","s,v,l")}var s=hn(n.body);t.stage="inputs",r(s,function(e,n){var r="fn"+n;t.state[r]={vars:[],body:[],own:{}},t.state.computing=r;var i=t.nextId();t.recurse(e,i),t.return_(i),t.state.inputs.push(r),e.watchId=n}),this.state.computing="fn",this.stage="main",this.recurse(n);var u='"'+this.USE+" "+this.STRICT+'";\n'+this.filterPrefix()+"var fn="+this.generateFunction("fn","s,l,a,i")+o+this.watchFns()+"return fn;",l=new Function("$filter","getStringValue","ifDefined","plus",u)(this.$filter,un,ln,cn);return this.state=this.stage=void 0,l.literal=gn(n),l.constant=vn(n),l},USE:"use",STRICT:"strict",watchFns:function(){var e=[],t=this.state.inputs,n=this;return r(t,function(t){e.push("var "+t+"="+n.generateFunction(t,"s"))}),t.length&&e.push("fn.inputs=["+t.join(",")+"];"),e.join("")},generateFunction:function(e,t){return"function("+t+"){"+this.varsPrefix(e)+this.body(e)+"};"},filterPrefix:function(){var e=[],t=this;return r(this.state.filters,function(n,r){e.push(n+"=$filter("+t.escape(r)+")")}),e.length?"var "+e.join(",")+";":""},varsPrefix:function(e){return this.state[e].vars.length?"var "+this.state[e].vars.join(",")+";":""},body:function(e){return this.state[e].body.join("")},recurse:function(e,t,n,i,o,a){var s,u,l,c,f,d=this;if(i=i||h,!a&&$(e.watchId))return t=t||this.nextId(),void this.if_("i",this.lazyAssign(t,this.computedMember("i",e.watchId)),this.lazyRecurse(e,t,n,i,o,!0));switch(e.type){case To.Program:r(e.body,function(t,n){d.recurse(t.expression,void 0,void 0,function(e){u=e}),n!==e.body.length-1?d.current().body.push(u,";"):d.return_(u)});break;case To.Literal:c=this.escape(e.value),this.assign(t,c),i(t||c);break;case To.UnaryExpression:this.recurse(e.argument,void 0,void 0,function(e){u=e}),c=e.operator+"("+this.ifDefined(u,0)+")",this.assign(t,c),i(c);break;case To.BinaryExpression:this.recurse(e.left,void 0,void 0,function(e){s=e}),this.recurse(e.right,void 0,void 0,function(e){u=e}),c="+"===e.operator?this.plus(s,u):"-"===e.operator?this.ifDefined(s,0)+e.operator+this.ifDefined(u,0):"("+s+")"+e.operator+"("+u+")",this.assign(t,c),i(c);break;case To.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 To.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 To.Identifier:t=t||this.nextId(),n&&(n.context="inputs"===d.stage?"s":this.assign(this.nextId(),this.getHasOwnProperty("l",e.name)+"?l:s"),n.computed=!1,n.name=e.name),d.if_("inputs"===d.stage||d.not(d.getHasOwnProperty("l",e.name)),function(){d.if_("inputs"===d.stage||"s",function(){o&&1!==o&&d.if_(d.isNull(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))),i(t);break;case To.MemberExpression:s=n&&(n.context=this.nextId())||this.nextId(),t=t||this.nextId(),d.recurse(e.object,s,void 0,function(){d.if_(d.notNull(s),function(){e.computed?(u=d.nextId(),d.recurse(e.property,u),d.getStringValue(u),o&&1!==o&&d.if_(d.not(d.computedMember(s,u)),d.lazyAssign(d.computedMember(s,u),"{}")),c=d.computedMember(s,u),d.assign(t,c),n&&(n.computed=!0,n.name=u)):(o&&1!==o&&d.if_(d.isNull(d.nonComputedMember(s,e.property.name)),d.lazyAssign(d.nonComputedMember(s,e.property.name),"{}")),c=d.nonComputedMember(s,e.property.name),d.assign(t,c),n&&(n.computed=!1,n.name=e.property.name))},function(){d.assign(t,"undefined")}),i(t)},!!o);break;case To.CallExpression:t=t||this.nextId(),e.filter?(u=d.filter(e.callee.name),l=[],r(e.arguments,function(e){var t=d.nextId();d.recurse(e,t),l.push(t)}),c=u+"("+l.join(",")+")",d.assign(t,c),i(t)):(u=d.nextId(),s={},l=[],d.recurse(e.callee,u,s,function(){d.if_(d.notNull(u),function(){r(e.arguments,function(t){d.recurse(t,e.constant?void 0:d.nextId(),void 0,function(e){l.push(e)})}),c=s.name?d.member(s.context,s.name,s.computed)+"("+l.join(",")+")":u+"("+l.join(",")+")",d.assign(t,c)},function(){d.assign(t,"undefined")}),i(t)}));break;case To.AssignmentExpression:u=this.nextId(),s={},this.recurse(e.left,void 0,s,function(){d.if_(d.notNull(s.context),function(){d.recurse(e.right,u),c=d.member(s.context,s.name,s.computed)+e.operator+u,d.assign(t,c),i(t||c)})},1);break;case To.ArrayExpression:l=[],r(e.elements,function(t){d.recurse(t,e.constant?void 0:d.nextId(),void 0,function(e){l.push(e)})}),c="["+l.join(",")+"]",this.assign(t,c),i(t||c);break;case To.ObjectExpression:l=[],f=!1,r(e.properties,function(e){e.computed&&(f=!0)}),f?(t=t||this.nextId(),this.assign(t,"{}"),r(e.properties,function(e){e.computed?(s=d.nextId(),d.recurse(e.key,s)):s=e.key.type===To.Identifier?e.key.name:""+e.key.value,u=d.nextId(),d.recurse(e.value,u),d.assign(d.member(t,s,e.computed),u)})):(r(e.properties,function(t){d.recurse(t.value,e.constant?void 0:d.nextId(),void 0,function(e){l.push(d.escape(t.key.type===To.Identifier?t.key.name:""+t.key.value)+":"+e)})}),c="{"+l.join(",")+"}",this.assign(t,c)),i(t||c);break;case To.ThisExpression:this.assign(t,"s"),i(t||"s");break;case To.LocalsExpression:this.assign(t,"l"),i(t||"l");break;case To.NGValueParameter:this.assign(t,"v"),i(t||"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){if(e)return this.current().body.push(e,"=",t,";"),e},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+")"},isNull:function(e){return e+"==null"},notNull:function(e){return e+"!=null"},nonComputedMember:function(e,t){var n=/^[$_a-zA-Z][$_a-zA-Z0-9]*$/,r=/[^$_a-zA-Z0-9]/g;return n.test(t)?e+"."+t:e+'["'+t.replace(r,this.stringEscapeFn)+'"]'},computedMember:function(e,t){return e+"["+t+"]"},member:function(e,t,n){return n?this.computedMember(e,t):this.nonComputedMember(e,t)},getStringValue:function(e){this.assign(e,"getStringValue("+e+")")},lazyRecurse:function(e,t,n,r,i,o){var a=this;return function(){a.recurse(e,t,n,r,i,o)}},lazyAssign:function(e,t){var n=this;return function(){n.assign(e,t)}},stringEscapeRegex:/[^ a-zA-Z0-9]/g,stringEscapeFn:function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)},escape:function(e){if(w(e))return"'"+e.replace(this.stringEscapeRegex,this.stringEscapeFn)+"'";if(x(e))return e.toString();if(e===!0)return"true";if(e===!1)return"false";if(null===e)return"null";if("undefined"==typeof e)return"undefined";throw So("esc","IMPOSSIBLE")},nextId:function(e,t){var n="v"+this.state.nextId++;return e||this.current().vars.push(n+(t?"="+t:"")),n},current:function(){return this.state[this.state.computing]}},yn.prototype={compile:function(e){var t=this,n=this.astBuilder.ast(e);dn(n,t.$filter);var i,o;(i=mn(n))&&(o=this.recurse(i));var a,s=hn(n.body);s&&(a=[],r(s,function(e,n){var r=t.recurse(e);e.input=r,a.push(r),e.watchId=n}));var u=[];r(n.body,function(e){u.push(t.recurse(e.expression))});var l=0===n.body.length?h:1===n.body.length?u[0]:function(e,t){var n;return r(u,function(r){n=r(e,t)}),n};return o&&(l.assign=function(e,t,n){return o(e,n,t)}),a&&(l.inputs=a),l.literal=gn(n),l.constant=vn(n),l},recurse:function(e,t,n){var i,o,a,s=this;if(e.input)return this.inputs(e.input,e.watchId);switch(e.type){case To.Literal:return this.value(e.value,t);case To.UnaryExpression:return o=this.recurse(e.argument),this["unary"+e.operator](o,t);case To.BinaryExpression:return i=this.recurse(e.left),o=this.recurse(e.right),this["binary"+e.operator](i,o,t);case To.LogicalExpression:return i=this.recurse(e.left),o=this.recurse(e.right),this["binary"+e.operator](i,o,t);case To.ConditionalExpression:return this["ternary?:"](this.recurse(e.test),this.recurse(e.alternate),this.recurse(e.consequent),t);case To.Identifier:return s.identifier(e.name,t,n);case To.MemberExpression:return i=this.recurse(e.object,!1,!!n),e.computed||(o=e.property.name),e.computed&&(o=this.recurse(e.property)),e.computed?this.computedMember(i,o,t,n):this.nonComputedMember(i,o,t,n);case To.CallExpression:return a=[],r(e.arguments,function(e){a.push(s.recurse(e))}),e.filter&&(o=this.$filter(e.callee.name)),e.filter||(o=this.recurse(e.callee,!0)),e.filter?function(e,n,r,i){for(var s=[],u=0;u":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)>t(r,i,o,a);return n?{value:s}:s}},"binary<=":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)<=t(r,i,o,a);return n?{value:s}:s}},"binary>=":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)>=t(r,i,o,a);return n?{value:s}:s}},"binary&&":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)&&t(r,i,o,a);return n?{value:s}:s}},"binary||":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)||t(r,i,o,a);return n?{value:s}:s}},"ternary?:":function(e,t,n,r){return function(i,o,a,s){var u=e(i,o,a,s)?t(i,o,a,s):n(i,o,a,s);return r?{value:u}:u}},value:function(e,t){return function(){return t?{context:void 0,name:void 0,value:e}:e}},identifier:function(e,t,n){return function(r,i,o,a){var s=i&&e in i?i:r;n&&1!==n&&s&&null==s[e]&&(s[e]={});var u=s?s[e]:void 0;return t?{context:s,name:e,value:u}:u}},computedMember:function(e,t,n,r){return function(i,o,a,s){var u,l,c=e(i,o,a,s);return null!=c&&(u=t(i,o,a,s),u=un(u),r&&1!==r&&c&&!c[u]&&(c[u]={}),l=c[u]),n?{context:c,name:u,value:l}:l}},nonComputedMember:function(e,t,n,r){return function(i,o,a,s){var u=e(i,o,a,s);r&&1!==r&&u&&null==u[t]&&(u[t]={});var l=null!=u?u[t]:void 0;return n?{context:u,name:t,value:l}:l}},inputs:function(e,t){return function(n,r,i,o){return o?o[t]:e(n,r,i)}}};var Oo=function(e,t,n){this.lexer=e,this.$filter=t,this.options=n,this.ast=new To(e,n),this.astCompiler=n.csp?new yn(this.ast,t):new $n(this.ast,t)};Oo.prototype={constructor:Oo,parse:function(e){return this.astCompiler.compile(e)}};var Fo=t("$sce"),Lo={HTML:"html",CSS:"css",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},Po=/_([a-z])/g,No=t("$compile"),Io=e.document.createElement("a"),Ro=In(e.location.href);jn.$inject=["$document"],Hn.$inject=["$provide"];var Uo=22,jo=".",Vo="0";Bn.$inject=["$locale"],Gn.$inject=["$locale"];var Ho={yyyy:Xn("FullYear",4,0,!1,!0),yy:Xn("FullYear",2,0,!0,!0),y:Xn("FullYear",1,0,!1,!0),MMMM:er("Month"),MMM:er("Month",!0),MM:Xn("Month",2,1),M:Xn("Month",1,1),LLLL:er("Month",!1,!0),dd:Xn("Date",2),d:Xn("Date",1),HH:Xn("Hours",2),H:Xn("Hours",1),hh:Xn("Hours",2,-12),h:Xn("Hours",1,-12),mm:Xn("Minutes",2),m:Xn("Minutes",1),ss:Xn("Seconds",2),s:Xn("Seconds",1),sss:Xn("Milliseconds",3),EEEE:er("Day"),EEE:er("Day",!0),a:or,Z:tr,ww:ir(2),w:ir(1),G:ar,GG:ar,GGG:ar,GGGG:sr},zo=/((?:[^yMLdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|m+|s+|a|Z|G+|w+))(.*)/,qo=/^-?\d+$/;ur.$inject=["$locale"];var Yo=m(Wr),Wo=m(Br);dr.$inject=["$parse"];var Bo=m({restrict:"E",compile:function(e,t){if(!t.href&&!t.xlinkHref)return function(e,t){if("a"===t[0].nodeName.toLowerCase()){var n="[object SVGAnimatedString]"===ri.call(t.prop("href"))?"xlink:href":"href";t.on("click",function(e){t.attr(n)||e.preventDefault()})}}}}),Go={};r(ji,function(e,t){function n(e,n,i){e.$watch(i[r],function(e){i.$set(t,!!e)})}if("multiple"!==e){var r=xt("ng-"+t),i=n;"checked"===e&&(i=function(e,t,i){i.ngModel!==i[r]&&n(e,t,i)}),Go[r]=function(){return{restrict:"A",priority:100,link:i}}}}),r(Hi,function(e,t){Go[t]=function(){return{priority:100,link:function(e,n,r){if("ngPattern"===t&&"/"===r.ngPattern.charAt(0)){var i=r.ngPattern.match(zr);if(i)return void r.$set("ngPattern",new RegExp(i[1],i[2]))}e.$watch(r[t],function(e){r.$set(t,e)})}}}}),r(["src","srcset","href"],function(e){var t=xt("ng-"+e);Go[t]=function(){return{priority:99,link:function(n,r,i){var o=e,a=e;"href"===e&&"[object SVGAnimatedString]"===ri.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(Qr&&o&&r.prop(o,i[a]))):void("href"===e&&i.$set(a,null))})}}}});var Zo={$addControl:h,$$renameControl:pr,$removeControl:h,$setValidity:h,$setDirty:h,$setPristine:h,$setSubmitted:h},Qo="ng-pending",Jo="ng-submitted";mr.$inject=["$element","$attrs","$scope","$animate","$interpolate"],mr.prototype={$rollbackViewValue:function(){r(this.$$controls,function(e){e.$rollbackViewValue()})},$commitViewValue:function(){r(this.$$controls,function(e){e.$commitViewValue()})},$addControl:function(e){he(e.$name,"input"),this.$$controls.push(e),e.$name&&(this[e.$name]=e),e.$$parentForm=this},$$renameControl:function(e,t){var n=e.$name;this[n]===e&&delete this[n],this[t]=e,e.$name=t},$removeControl:function(e){e.$name&&this[e.$name]===e&&delete this[e.$name],r(this.$pending,function(t,n){this.$setValidity(n,null,e)},this),r(this.$error,function(t,n){this.$setValidity(n,null,e)},this),r(this.$$success,function(t,n){this.$setValidity(n,null,e)},this),U(this.$$controls,e),e.$$parentForm=Zo},$setDirty:function(){this.$$animate.removeClass(this.$$element,La),this.$$animate.addClass(this.$$element,Pa),this.$dirty=!0,this.$pristine=!1,this.$$parentForm.$setDirty()},$setPristine:function(){this.$$animate.setClass(this.$$element,La,Pa+" "+Jo),this.$dirty=!1,this.$pristine=!0,this.$submitted=!1,r(this.$$controls,function(e){e.$setPristine()})},$setUntouched:function(){r(this.$$controls,function(e){e.$setUntouched()})},$setSubmitted:function(){this.$$animate.addClass(this.$$element,Jo),this.$submitted=!0,this.$$parentForm.$setSubmitted()}},vr({clazz:mr,set:function(e,t,n){var r=e[t];if(r){var i=r.indexOf(n);i===-1&&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])}});var Ko=function(e){return["$timeout","$parse",function(t,n){function r(e){return""===e?n('this[""]').assign:n(e).assign||h}var i={name:"form",restrict:e?"EAC":"E",require:["form","^^?form"],controller:mr,compile:function(n,i){n.addClass(La).addClass(Oa);var o=i.name?"name":!(!e||!i.ngForm)&&"ngForm";return{pre:function(e,n,i,a){var s=a[0];if(!("action"in i)){var u=function(t){e.$apply(function(){s.$commitViewValue(),s.$setSubmitted()}),t.preventDefault()};n[0].addEventListener("submit",u),n.on("$destroy",function(){t(function(){n[0].removeEventListener("submit",u)},0,!1)})}var c=a[1]||s.$$parentForm;c.$addControl(s);var f=o?r(s.$name):h;o&&(f(e,s),i.$observe(o,function(t){s.$name!==t&&(f(e,void 0),s.$$parentForm.$$renameControl(s,t),(f=r(s.$name))(e,s))})),n.on("$destroy",function(){s.$$parentForm.$removeControl(s),f(e,void 0),l(s,Zo)})}}}};return i}]},Xo=Ko(),ea=Ko(!0),ta=/^\d{4,}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+(?:[+-][0-2]\d:[0-5]\d|Z)$/,na=/^[a-z][a-z\d.+-]*:\/*(?:[^:@]+(?::[^@]+)?@)?(?:[^\s:\/?#]+|\[[a-f\d:]+])(?::\d+)?(?:\/[^?#]*)?(?:\?[^#]*)?(?:#.*)?$/i,ra=/^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+)*@[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*$/,ia=/^\s*(-|\+)?(\d+|(\d*(\.\d*)))([eE][+-]?\d+)?\s*$/,oa=/^(\d{4,})-(\d{2})-(\d{2})$/,aa=/^(\d{4,})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,sa=/^(\d{4,})-W(\d\d)$/,ua=/^(\d{4,})-(\d\d)$/,la=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,ca="keydown wheel mousedown",fa=ge();r("date,datetime-local,month,time,week".split(","),function(e){fa[e]=!0});var da={text:br,date:_r("date",oa,kr(oa,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":_r("datetimelocal",aa,kr(aa,["yyyy","MM","dd","HH","mm","ss","sss"]),"yyyy-MM-ddTHH:mm:ss.sss"),time:_r("time",la,kr(la,["HH","mm","ss","sss"]),"HH:mm:ss.sss"),week:_r("week",sa,xr,"yyyy-Www"),month:_r("month",ua,kr(ua,["yyyy","MM"]),"yyyy-MM"),number:Tr,url:Fr,email:Lr,radio:Pr,range:Or,checkbox:Ir,hidden:h,button:h,submit:h,reset:h,file:h},ha=["$browser","$sniffer","$filter","$parse",function(e,t,n,r){return{restrict:"E",require:["?ngModel"],link:{pre:function(i,o,a,s){s[0]&&(da[Wr(a.type)]||da.text)(i,o,a,s[0],t,e,n,r)}}}}],pa=/^(true|false|\d+)$/,ma=function(){function e(e,t,n){e.prop("value",n),t.$set("value",n)}return{restrict:"A",priority:100,compile:function(t,n){return pa.test(n.ngValue)?function(t,n,r){var i=t.$eval(r.ngValue);e(n,r,i)}:function(t,n,r){t.$watch(r.ngValue,function(t){e(n,r,t)})}}}},ga=["$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=ve(e)})}}}}],va=["$interpolate","$compile",function(e,t){return{compile:function(n){return t.$$addBindingClass(n),function(n,r,i){var o=e(r.attr(i.$attr.ngBindTemplate));t.$$addBindingInfo(r,o.expressions),r=r[0],i.$observe("ngBindTemplate",function(e){r.textContent=v(e)?"":e})}}}}],$a=["$sce","$parse","$compile",function(e,t,n){return{restrict:"A",compile:function(r,i){var o=t(i.ngBindHtml),a=t(i.ngBindHtml,function(t){return e.valueOf(t)});return n.$$addBindingClass(r),function(t,r,i){n.$$addBindingInfo(r,i.ngBindHtml),t.$watch(a,function(){var n=o(t);r.html(e.getTrustedHtml(n)||"")})}}}}],ya=m({restrict:"A",require:"ngModel",link:function(e,t,n,r){r.$viewChangeListeners.push(function(){e.$eval(n.ngChange)})}}),ba=Rr("",!0),wa=Rr("Odd",0),xa=Rr("Even",1),ka=hr({compile:function(e,t){t.$set("ngCloak",void 0),e.removeClass("ng-cloak")}}),_a=[function(){return{restrict:"A",scope:!0,controller:"@",priority:500}}],Ca={},Sa={blur:!0,focus:!0};r("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),function(e){var t=xt("ng-"+e);Ca[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})};Sa[e]&&r.$$phase?t.$evalAsync(i):t.$apply(i)})}}}}]});var Ea=["$animate","$compile",function(e,t){return{multiElement:!0,transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(n,r,i,o,a){var s,u,l;n.$watch(i.ngIf,function(n){n?u||a(function(n,o){u=o,n[n.length++]=t.$$createComment("end ngIf",i.ngIf),s={clone:n},e.enter(n,r.parent(),r)}):(l&&(l.remove(),l=null),u&&(u.$destroy(),u=null),s&&(l=me(s.clone),e.leave(l).done(function(e){e!==!1&&(l=null)}),s=null))})}}}],Ma=["$templateRequest","$anchorScroll","$animate",function(e,t,n){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:ai.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).done(function(e){e!==!1&&(d=null)}),d=h,h=null)};r.$watch(o,function(o){var u=function(e){e===!1||!$(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).done(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)})}}}}],Aa=["$compile",function(t){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(n,r,i,o){return ri.call(r[0]).match(/SVG/)?(r.empty(),void t(Te(o.template,e.document).childNodes)(n,function(e){r.append(e)},{futureParentElement:r})):(r.html(o.template),void t(r.contents())(n))}}}],Da=hr({priority:450,compile:function(){return{pre:function(e,t,n){e.$eval(n.ngInit)}}}}),Ta=function(){return{restrict:"A",priority:100,require:"ngModel",link:function(e,t,n,i){var o=n.ngList||", ",a="false"!==n.ngTrim,s=a?fi(o):o,u=function(e){if(!v(e)){var t=[];return e&&r(e.split(s),function(e){e&&t.push(a?fi(e):e)}),t}};i.$parsers.push(u),i.$formatters.push(function(e){if(li(e))return e.join(o)}),i.$isEmpty=function(e){return!e||!e.length}}}},Oa="ng-valid",Fa="ng-invalid",La="ng-pristine",Pa="ng-dirty",Na="ng-untouched",Ia="ng-touched",Ra="ng-empty",Ua="ng-not-empty",ja=t("ngModel");Ur.$inject=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate","$timeout","$q","$interpolate"],Ur.prototype={$$initGetterSetters:function(){if(this.$options.getOption("getterSetter")){var e=this.$$parse(this.$$attr.ngModel+"()"),t=this.$$parse(this.$$attr.ngModel+"($$$p)");this.$$ngModelGet=function(t){var n=this.$$parsedNgModel(t);return _(n)&&(n=e(t)),n},this.$$ngModelSet=function(e,n){_(this.$$parsedNgModel(e))?t(e,{$$$p:n}):this.$$parsedNgModelAssign(e,n)}}else if(!this.$$parsedNgModel.assign)throw ja("nonassign","Expression '{0}' is non-assignable. Element: {1}",this.$$attr.ngModel,J(this.$$element))},$render:h,$isEmpty:function(e){return v(e)||""===e||null===e||e!==e},$$updateEmptyClasses:function(e){this.$isEmpty(e)?(this.$$animate.removeClass(this.$$element,Ua),this.$$animate.addClass(this.$$element,Ra)):(this.$$animate.removeClass(this.$$element,Ra),this.$$animate.addClass(this.$$element,Ua))},$setPristine:function(){this.$dirty=!1,this.$pristine=!0,this.$$animate.removeClass(this.$$element,Pa),this.$$animate.addClass(this.$$element,La)},$setDirty:function(){this.$dirty=!0,this.$pristine=!1,this.$$animate.removeClass(this.$$element,La),this.$$animate.addClass(this.$$element,Pa),this.$$parentForm.$setDirty()},$setUntouched:function(){this.$touched=!1,this.$untouched=!0,this.$$animate.setClass(this.$$element,Na,Ia)},$setTouched:function(){this.$touched=!0,this.$untouched=!1,this.$$animate.setClass(this.$$element,Ia,Na)},$rollbackViewValue:function(){this.$$timeout.cancel(this.$$pendingDebounce),this.$viewValue=this.$$lastCommittedViewValue,this.$render()},$validate:function(){if(!ui(this.$modelValue)){var e=this.$$lastCommittedViewValue,t=this.$$rawModelValue,n=this.$valid,r=this.$modelValue,i=this.$options.getOption("allowInvalid"),o=this;this.$$runValidators(t,e,function(e){i||n===e||(o.$modelValue=e?t:void 0,o.$modelValue!==r&&o.$$writeModelToScope())})}},$$runValidators:function(e,t,n){function i(){var e=c.$$parserName||"parse";return v(c.$$parserValid)?(s(e,null),!0):(c.$$parserValid||(r(c.$validators,function(e,t){s(t,null)}),r(c.$asyncValidators,function(e,t){s(t,null)})),s(e,c.$$parserValid),c.$$parserValid)}function o(){var n=!0;return r(c.$validators,function(r,i){var o=Boolean(r(e,t));n=n&&o,s(i,o)}),!!n||(r(c.$asyncValidators,function(e,t){s(t,null)}),!1)}function a(){var n=[],i=!0;r(c.$asyncValidators,function(r,o){var a=r(e,t);if(!O(a))throw ja("nopromise","Expected asynchronous validator to return a promise but got '{0}' instead.",a);s(o,void 0),n.push(a.then(function(){s(o,!0)},function(){i=!1,s(o,!1)}))}),n.length?c.$$q.all(n).then(function(){u(i)},h):u(!0)}function s(e,t){l===c.$$currentValidationRunId&&c.$setValidity(e,t)}function u(e){l===c.$$currentValidationRunId&&n(e)}this.$$currentValidationRunId++;var l=this.$$currentValidationRunId,c=this;return i()&&o()?void a():void u(!1)},$commitViewValue:function(){var e=this.$viewValue;this.$$timeout.cancel(this.$$pendingDebounce),(this.$$lastCommittedViewValue!==e||""===e&&this.$$hasNativeValidators)&&(this.$$updateEmptyClasses(e),this.$$lastCommittedViewValue=e,this.$pristine&&this.$setDirty(),this.$$parseAndValidate())},$$parseAndValidate:function(){function e(){r.$modelValue!==o&&r.$$writeModelToScope()}var t=this.$$lastCommittedViewValue,n=t,r=this;if(this.$$parserValid=!v(n)||void 0,this.$$parserValid)for(var i=0;i0?this.$$pendingDebounce=this.$$timeout(function(){n.$commitViewValue()},t):this.$$scope.$root.$$phase?this.$commitViewValue():this.$$scope.$apply(function(){n.$commitViewValue()})}},vr({clazz:Ur,set:function(e,t){e[t]=!0},unset:function(e,t){delete e[t]}});var Va,Ha=["$rootScope",function(e){return{restrict:"A",require:["ngModel","^?form","^?ngModelOptions"],controller:Ur,priority:1,compile:function(t){return t.addClass(La).addClass(Na).addClass(Oa),{pre:function(e,t,n,r){var i=r[0],o=r[1]||i.$$parentForm,a=r[2];a&&(i.$options=a.$options),i.$$initGetterSetters(),o.$addControl(i),n.$observe("name",function(e){i.$name!==e&&i.$$parentForm.$$renameControl(i,e)}),e.$on("$destroy",function(){i.$$parentForm.$removeControl(i)})},post:function(t,n,r,i){function o(){a.$setTouched()}var a=i[0];a.$options.getOption("updateOn")&&n.on(a.$options.getOption("updateOn"),function(e){a.$$debounceViewValueCommit(e&&e.type)}),n.on("blur",function(){a.$touched||(e.$$phase?t.$evalAsync(o):t.$apply(o))})}}}}}],za=/(\s+|^)default(\s+|$)/;Vr.prototype={getOption:function(e){return this.$$options[e]},createChild:function(e){var t=!1;return e=l({},e),r(e,function(n,r){"$inherit"===n?"*"===r?t=!0:(e[r]=this.$$options[r],"updateOn"===r&&(e.updateOnDefault=this.$$options.updateOnDefault)):"updateOn"===r&&(e.updateOnDefault=!1,e[r]=fi(n.replace(za,function(){return e.updateOnDefault=!0," "})))},this),t&&(delete e["*"],Hr(e,this.$$options)),Hr(e,Va.$$options),new Vr(e)}},Va=new Vr({updateOn:"",updateOnDefault:!0,debounce:0,getterSetter:!1,allowInvalid:!1,timezone:null});var qa=function(){function e(e,t){this.$$attrs=e,this.$$scope=t}return e.$inject=["$attrs","$scope"],e.prototype={$onInit:function(){var e=this.parentCtrl?this.parentCtrl.$options:Va,t=this.$$scope.$eval(this.$$attrs.ngModelOptions);this.$options=e.createChild(t)}},{restrict:"A",priority:10,require:{parentCtrl:"?^^ngModelOptions"},bindToController:!0,controller:e}},Ya=hr({terminal:!0,priority:1e3}),Wa=t("ngOptions"),Ba=/^\s*([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+group\s+by\s+([\s\S]+?))?(?:\s+disable\s+when\s+([\s\S]+?))?\s+for\s+(?:([$\w][$\w]*)|(?:\(\s*([$\w][$\w]*)\s*,\s*([$\w][$\w]*)\s*\)))\s+in\s+([\s\S]+?)(?:\s+track\s+by\s+([\s\S]+?))?$/,Ga=["$compile","$document","$parse",function(t,i,o){function a(e,t,r){function i(e,t,n,r,i){this.selectValue=e,this.viewValue=t,this.label=n,this.group=r,this.disabled=i}function a(e){var t;if(!l&&n(e))t=e;else{t=[];for(var r in e)e.hasOwnProperty(r)&&"$"!==r.charAt(0)&&t.push(r)}return t}var s=e.match(Ba);if(!s)throw Wa("iexp","Expected expression in form of '_select_ (as _label_)? for (_key_,)?_value_ in _collection_' but got '{0}'. Element: {1}",e,J(t));var u=s[5]||s[7],l=s[6],c=/ as /.test(s[0])&&s[1],f=s[9],d=o(s[2]?s[1]:u),h=c&&o(c),p=h||d,m=f&&o(f),g=f?function(e,t){return m(r,t)}:function(e){return rt(e)},v=function(e,t){return g(e,k(e,t))},$=o(s[2]||s[1]),y=o(s[3]||""),b=o(s[4]||""),w=o(s[8]),x={},k=l?function(e,t){return x[l]=t,x[u]=e,x}:function(e){return x[u]=e,x};return{trackBy:f,getTrackByValue:v,getWatchables:o(w,function(e){var t=[];e=e||[];for(var n=a(e),i=n.length,o=0;o=0;t--){var r=k.items[t];Ge($(r.group)?r.element.parentNode:r.element)}k=_.getOptions();var i={};if(w&&n.prepend(p.emptyOption),k.items.forEach(function(e){var t;$(e.group)?(t=i[e.group],t||(t=l.cloneNode(!1),C.appendChild(t),t.label=null===e.group?"null":e.group,i[e.group]=t),c(e,t)):c(e,C)}),n[0].appendChild(C),m.$render(),!m.$isEmpty(e)){var o=p.readValue(),a=_.trackBy||g;(a?V(e,o):e===o)||(m.$setViewValue(o),m.$render())}}for(var p=s[0],m=s[1],g=o.multiple,v=0,y=n.children(),b=y.length;v0&&(e=new RegExp("^"+e+"$")),e&&!e.test)throw t("ngPattern")("noregexp","Expected {0} to be a RegExp but was {1}. Element: {2}",a,e,J(n));o=e||void 0,i.$validate()}),i.$validators.pattern=function(e,t){return i.$isEmpty(t)||v(o)||o.test(t)}}}}},ps=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i=-1;n.$observe("maxlength",function(e){var t=f(e);i=ui(t)?-1:t,r.$validate()}),r.$validators.maxlength=function(e,t){return i<0||r.$isEmpty(t)||t.length<=i}}}}},ms=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i=0;n.$observe("minlength",function(e){i=f(e)||0,r.$validate()}),r.$validators.minlength=function(e,t){return r.$isEmpty(t)||t.length>=i}}}}};return e.angular.bootstrap?void e.console:(ce(),xe(ai),ai.module("ngLocale",[],["$provide",function(e){function t(e){e+="";var t=e.indexOf(".");return t==-1?0:e.length-t-1}function n(e,n){var r=n;void 0===r&&(r=Math.min(t(e),3));var i=Math.pow(10,r),o=(e*i|0)%i;return{v:r,f:o}}var r={ZERO:"zero",ONE:"one",TWO:"two",FEW:"few",MANY:"many",OTHER:"other"};e.value("$locale",{DATETIME_FORMATS:{AMPMS:["AM","PM"],DAY:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],ERANAMES:["Before Christ","Anno Domini"],ERAS:["BC","AD"],FIRSTDAYOFWEEK:6,MONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],SHORTDAY:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],SHORTMONTH:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],STANDALONEMONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],WEEKENDRANGE:[5,6],fullDate:"EEEE, MMMM d, y",longDate:"MMMM d, y",medium:"MMM d, y h:mm:ss a",mediumDate:"MMM d, y",mediumTime:"h:mm:ss a","short":"M/d/yy h:mm a",shortDate:"M/d/yy",shortTime:"h:mm a"},NUMBER_FORMATS:{CURRENCY_SYM:"$",DECIMAL_SEP:".",GROUP_SEP:",",PATTERNS:[{gSize:3,lgSize:3,maxFrac:3,minFrac:0,minInt:1,negPre:"-",negSuf:"",posPre:"",posSuf:""},{gSize:3,lgSize:3,maxFrac:2,minFrac:2,minInt:1,negPre:"-¤",negSuf:"",posPre:"¤",posSuf:""}]},id:"en-us",localeID:"en_US",pluralCat:function(e,t){var i=0|e,o=n(e,t);return 1==i&&0==o.v?r.ONE:r.OTHER}})}]),void Jr(function(){oe(e.document,ae)}))}(window),!window.angular.$$csp().noInlineStyle&&window.angular.element(document.head).prepend('')},{}],9:[function(e,t,n){e("./angular"),t.exports=angular},{"./angular":8}],10:[function(e,t,n){!function(r,i){if("function"==typeof define&&define.amd)define(["module","select"],i);else if("undefined"!=typeof n)i(t,e("select"));else{var o={exports:{}};i(o,r.select),r.clipboardAction=o.exports}}(this,function(e,t){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=n(t),o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};this.action=e.action,this.emitter=e.emitter,this.target=e.target,this.text=e.text,this.trigger=e.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var e=this,t="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return e.removeFake()},this.fakeHandler=document.body.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[t?"right":"left"]="-9999px";var n=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.addEventListener("focus",window.scrollTo(0,n)),this.fakeElem.style.top=n+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,document.body.appendChild(this.fakeElem),this.selectedText=(0,i["default"])(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(document.body.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(document.body.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=(0,i["default"])(this.target),this.copyText()}},{key:"copyText",value:function(){var e=void 0;try{e=document.execCommand(this.action)}catch(t){e=!1}this.handleResult(e)}},{key:"handleResult",value:function(e){this.emitter.emit(e?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.target&&this.target.blur(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=e,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(e){if(void 0!==e){if(!e||"object"!==("undefined"==typeof e?"undefined":o(e))||1!==e.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&e.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(e.hasAttribute("readonly")||e.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=e}},get:function(){return this._target}}]),e}();e.exports=s})},{select:20}],11:[function(e,t,n){!function(r,i){if("function"==typeof define&&define.amd)define(["module","./clipboard-action","tiny-emitter","good-listener"],i);else if("undefined"!=typeof n)i(t,e("./clipboard-action"),e("tiny-emitter"),e("good-listener"));else{var o={exports:{}};i(o,r.clipboardAction,r.tinyEmitter,r.goodListener),r.clipboard=o.exports}}(this,function(e,t,n,r){"use strict";function i(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function u(e,t){var n="data-clipboard-"+e;if(t.hasAttribute(n))return t.getAttribute(n)}var l=i(t),c=i(n),f=i(r),d=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof e.action?e.action:this.defaultAction,this.target="function"==typeof e.target?e.target:this.defaultTarget,this.text="function"==typeof e.text?e.text:this.defaultText}},{key:"listenClick",value:function(e){var t=this;this.listener=(0,f["default"])(e,"click",function(e){return t.onClick(e)})}},{key:"onClick",value:function(e){var t=e.delegateTarget||e.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new l["default"]({action:this.action(t),target:this.target(t),text:this.text(t),trigger:t,emitter:this})}},{key:"defaultAction",value:function(e){return u("action",e)}},{key:"defaultTarget",value:function(e){var t=u("target",e);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(e){return u("text",e)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}]),t}(c["default"]);e.exports=h})},{"./clipboard-action":10,"good-listener":16,"tiny-emitter":21}],12:[function(e,t,n){function r(e,t){for(;e&&e.nodeType!==i;){if(e.matches(t))return e;e=e.parentNode}}var i=9;if(Element&&!Element.prototype.matches){var o=Element.prototype;o.matches=o.matchesSelector||o.mozMatchesSelector||o.msMatchesSelector||o.oMatchesSelector||o.webkitMatchesSelector}t.exports=r},{}],13:[function(e,t,n){function r(e,t,n,r,o){var a=i.apply(this,arguments);return e.addEventListener(n,a,o),{destroy:function(){e.removeEventListener(n,a,o)}}}function i(e,t,n,r){return function(n){n.delegateTarget=o(n.target,t),n.delegateTarget&&r.call(e,n)}}var o=e("./closest");t.exports=r},{"./closest":12}],14:[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;i
    '),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;o'+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;s\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;o'+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;i',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;n0){for(a=["TB","GB","MB","KB","b"],n=s=0,u=a.length;s=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;n0){for(o=0,a=n.length;o1024*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;n=t)&&(r=this.getQueuedFiles(),r.length>0)){if(this.options.uploadMultiple)return this.processFiles(r.slice(0,t-n));for(;e=I;c=0<=I?++T:--T)o.append(this._getParamName(c),e[c],this._renameFilename(e[c].name));return this.submitRequest(x,o,e)},t.prototype.submitRequest=function(e,t,n){return e.send(t)},t.prototype._finished=function(e,n,r){var i,o,a;for(o=0,a=e.length;oc;)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){if("readystatechange"!==n.type||"complete"===r.readyState)return("load"===n.type?e:r)[u](s+n.type,o,!1),!i&&(i=!0)?t.call(e,n.type||n):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(){if(e.autoDiscover)return e.discover()},i(window,e._autoDiscoverFunction)}).call(this)},{}],15:[function(e,t,n){n.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},n.nodeList=function(e){var t=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===t||"[object HTMLCollection]"===t)&&"length"in e&&(0===e.length||n.node(e[0]))},n.string=function(e){return"string"==typeof e||e instanceof String},n.fn=function(e){var t=Object.prototype.toString.call(e);return"[object Function]"===t}},{}],16:[function(e,t,n){function r(e,t,n){if(!e&&!t&&!n)throw new Error("Missing required arguments");if(!s.string(t))throw new TypeError("Second argument must be a String");if(!s.fn(n))throw new TypeError("Third argument must be a Function");if(s.node(e))return i(e,t,n);if(s.nodeList(e))return o(e,t,n);if(s.string(e))return a(e,t,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function i(e,t,n){return e.addEventListener(t,n),{destroy:function(){e.removeEventListener(t,n)}}}function o(e,t,n){return Array.prototype.forEach.call(e,function(e){e.addEventListener(t,n)}),{destroy:function(){Array.prototype.forEach.call(e,function(e){e.removeEventListener(t,n)})}}}function a(e,t,n){return u(document.body,e,t,n)}var s=e("./is"),u=e("delegate");t.exports=r},{"./is":15,delegate:13}],17:[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(/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\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;c1&&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;i.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 br)r=br[n],i=t[r],v(i)||(e[r]=i);return e}function y(e){$(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),wr===!1&&(wr=!0,n.updateOffset(this),wr=!1)}function b(e){return e instanceof y||null!=e&&null!=e._isAMomentObject}function w(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function x(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=w(t)),n}function k(e,t,n){var r,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(r=0;r0?"future":"past"];return E(n)?n(t):n.replace(/%s/i,t)}function I(e,t){var n=e.toLowerCase();Or[n]=Or[n+"s"]=Or[t]=e}function R(e){return"string"==typeof e?Or[e]||Or[e.toLowerCase()]:void 0}function U(e){var t,n,r={};for(n in e)c(e,n)&&(t=R(n),t&&(r[t]=e[n]));return r}function j(e,t){Fr[e]=t}function V(e){var t=[];for(var n in e)t.push({unit:n,priority:Fr[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}function H(e,t){return function(r){return null!=r?(q(this,e,r),n.updateOffset(this,t),this):z(this,e)}}function z(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function q(e,t,n){e.isValid()&&e._d["set"+(e._isUTC?"UTC":"")+t](n)}function Y(e){return e=R(e),E(this[e])?this[e]():this}function W(e,t){if("object"==typeof e){e=U(e);for(var n=V(e),r=0;r=0;return(o?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}function G(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(Ir[e]=i),t&&(Ir[t[0]]=function(){return B(i.apply(this,arguments),t[1],t[2])}),n&&(Ir[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function Z(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function Q(e){var t,n,r=e.match(Lr);for(t=0,n=r.length;t=0&&Pr.test(e);)e=e.replace(Pr,n),Pr.lastIndex=0,r-=1;return e}function X(e,t,n){ti[e]=E(t)?t:function(e,r){return e&&n?n:t}}function ee(e,t){return c(ti,e)?ti[e](t._strict,t._locale):new RegExp(te(e))}function te(e){return ne(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i}))}function ne(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function re(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),s(t)&&(r=function(e,n){n[t]=x(e)}),n=0;n=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}function we(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function xe(e,t,n){var r=7+t-n,i=(7+we(e,0,r).getUTCDay()-t)%7;return-i+r-1}function ke(e,t,n,r,i){var o,a,s=(7+n-r)%7,u=xe(e,r,i),l=1+7*(t-1)+s+u;return l<=0?(o=e-1,a=ve(o)+l):l>ve(e)?(o=e+1,a=l-ve(e)):(o=e,a=l),{year:o,dayOfYear:a}}function _e(e,t,n){var r,i,o=xe(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return a<1?(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=xe(e,t,n),i=xe(e+1,t,n);return(ve(e)-r+i)/7}function Se(e){return _e(e,this._week.dow,this._week.doy).week}function Ee(){return this._week.dow}function Me(){return this._week.doy}function Ae(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function De(e){var t=_e(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Te(e,t){return"string"!=typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"==typeof e?e:null):parseInt(e,10)}function Oe(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Fe(e,t){return e?i(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:this._weekdays}function Le(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Pe(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Ne(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=d([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(), -this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?(i=di.call(this._weekdaysParse,a),i!==-1?i:null):"ddd"===t?(i=di.call(this._shortWeekdaysParse,a),i!==-1?i:null):(i=di.call(this._minWeekdaysParse,a),i!==-1?i:null):"dddd"===t?(i=di.call(this._weekdaysParse,a),i!==-1?i:(i=di.call(this._shortWeekdaysParse,a),i!==-1?i:(i=di.call(this._minWeekdaysParse,a),i!==-1?i:null))):"ddd"===t?(i=di.call(this._shortWeekdaysParse,a),i!==-1?i:(i=di.call(this._weekdaysParse,a),i!==-1?i:(i=di.call(this._minWeekdaysParse,a),i!==-1?i:null))):(i=di.call(this._minWeekdaysParse,a),i!==-1?i:(i=di.call(this._weekdaysParse,a),i!==-1?i:(i=di.call(this._shortWeekdaysParse,a),i!==-1?i:null)))}function Ie(e,t,n){var r,i,o;if(this._weekdaysParseExact)return Ne.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=d([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 Re(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Te(e,this.localeData()),this.add(e-t,"d")):t}function Ue(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 je(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Oe(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Ve(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||qe.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(c(this,"_weekdaysRegex")||(this._weekdaysRegex=ki),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function He(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||qe.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(c(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=_i),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function ze(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||qe.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(c(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ci),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function qe(){function e(e,t){return t.length-e.length}var t,n,r,i,o,a=[],s=[],u=[],l=[];for(t=0;t<7;t++)n=d([2e3,1]).day(t),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),o=this.weekdays(n,""),a.push(r),s.push(i),u.push(o),l.push(r),l.push(i),l.push(o);for(a.sort(e),s.sort(e),u.sort(e),l.sort(e),t=0;t<7;t++)s[t]=ne(s[t]),u[t]=ne(u[t]),l[t]=ne(l[t]);this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Ye(){return this.hours()%12||12}function We(){return this.hours()||24}function Be(e,t){G(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function Ge(e,t){return t._meridiemParse}function Ze(e){return"p"===(e+"").toLowerCase().charAt(0)}function Qe(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}function Je(e){return e?e.toLowerCase().replace("_","-"):e}function Ke(e){for(var t,n,r,i,o=0;o0;){if(r=Xe(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&k(i,n,!0)>=t-1)break;t--}o++}return null}function Xe(n){var r=null;if(!Di[n]&&"undefined"!=typeof t&&t&&t.exports)try{r=Si._abbr,e("./locale/"+n),et(r)}catch(i){}return Di[n]}function et(e,t){var n;return e&&(n=v(t)?rt(e):tt(e,t),n&&(Si=n)),Si._abbr}function tt(e,t){if(null!==t){var n=Ai;if(t.abbr=e,null!=Di[e])S("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=Di[e]._config;else if(null!=t.parentLocale){if(null==Di[t.parentLocale])return Ti[t.parentLocale]||(Ti[t.parentLocale]=[]),Ti[t.parentLocale].push({name:e,config:t}),null;n=Di[t.parentLocale]._config}return Di[e]=new D(A(n,t)),Ti[e]&&Ti[e].forEach(function(e){tt(e.name,e.config)}),et(e),Di[e]}return delete Di[e],null}function nt(e,t){if(null!=t){var n,r=Ai;null!=Di[e]&&(r=Di[e]._config),t=A(r,t),n=new D(t),n.parentLocale=Di[e],Di[e]=n,et(e)}else null!=Di[e]&&(null!=Di[e].parentLocale?Di[e]=Di[e].parentLocale:null!=Di[e]&&delete Di[e]);return Di[e]}function rt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return Si;if(!i(e)){if(t=Xe(e))return t;e=[e]}return Ke(e)}function it(){return Cr(Di)}function ot(e){var t,n=e._a;return n&&p(e).overflow===-2&&(t=n[ii]<0||n[ii]>11?ii:n[oi]<1||n[oi]>ae(n[ri],n[ii])?oi:n[ai]<0||n[ai]>24||24===n[ai]&&(0!==n[si]||0!==n[ui]||0!==n[li])?ai:n[si]<0||n[si]>59?si:n[ui]<0||n[ui]>59?ui:n[li]<0||n[li]>999?li:-1,p(e)._overflowDayOfYear&&(toi)&&(t=oi),p(e)._overflowWeeks&&t===-1&&(t=ci),p(e)._overflowWeekday&&t===-1&&(t=fi),p(e).overflow=t),e}function at(e){var t,n,r,i,o,a,s=e._i,u=Oi.exec(s)||Fi.exec(s);if(u){for(p(e).iso=!0,t=0,n=Pi.length;tve(i)&&(p(e)._overflowDayOfYear=!0),n=we(i,0,e._dayOfYear),e._a[ii]=n.getUTCMonth(),e._a[oi]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=o[t]=r[t];for(;t<7;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[ai]&&0===e._a[si]&&0===e._a[ui]&&0===e._a[li]&&(e._nextDay=!0,e._a[ai]=0),e._d=(e._useUTC?we:be).apply(null,o),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[ai]=24)}}function ft(e){var t,n,r,i,o,a,s,u;if(t=e._w,null!=t.GG||null!=t.W||null!=t.E)o=1,a=4,n=ut(t.GG,e._a[ri],_e(bt(),1,4).year),r=ut(t.W,1),i=ut(t.E,1),(i<1||i>7)&&(u=!0);else{o=e._locale._week.dow,a=e._locale._week.doy;var l=_e(bt(),o,a);n=ut(t.gg,e._a[ri],l.year),r=ut(t.w,l.week),null!=t.d?(i=t.d,(i<0||i>6)&&(u=!0)):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(u=!0)):i=o}r<1||r>Ce(n,o,a)?p(e)._overflowWeeks=!0:null!=u?p(e)._overflowWeekday=!0:(s=ke(n,r,i,o,a),e._a[ri]=s.year,e._dayOfYear=s.dayOfYear)}function dt(e){if(e._f===n.ISO_8601)return void at(e);e._a=[],p(e).empty=!0;var t,r,i,o,a,s=""+e._i,u=s.length,l=0;for(i=K(e._f,e._locale).match(Lr)||[],t=0;t0&&p(e).unusedInput.push(a),s=s.slice(s.indexOf(r)+r.length),l+=r.length),Ir[o]?(r?p(e).empty=!1:p(e).unusedTokens.push(o),oe(o,r,e)):e._strict&&!r&&p(e).unusedTokens.push(o);p(e).charsLeftOver=u-l,s.length>0&&p(e).unusedInput.push(s),e._a[ai]<=12&&p(e).bigHour===!0&&e._a[ai]>0&&(p(e).bigHour=void 0),p(e).parsedDateParts=e._a.slice(0),p(e).meridiem=e._meridiem,e._a[ai]=ht(e._locale,e._a[ai],e._meridiem),ct(e),ot(e)}function ht(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(r=e.isPM(n),r&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function pt(e){var t,n,r,i,o;if(0===e._f.length)return p(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;ithis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Rt(){if(!v(this._isDSTShifted))return this._isDSTShifted;var e={};if($(e,this),e=vt(e),e._a){var t=e._isUTC?d(e._a):bt(e._a);this._isDSTShifted=this.isValid()&&k(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function Ut(){return!!this.isValid()&&!this._isUTC}function jt(){return!!this.isValid()&&this._isUTC}function Vt(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function Ht(e,t){var n,r,i,o=e,a=null;return Ct(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:s(e)?(o={},t?o[t]=e:o.milliseconds=e):(a=Hi.exec(e))?(n="-"===a[1]?-1:1,o={y:0,d:x(a[oi])*n,h:x(a[ai])*n,m:x(a[si])*n,s:x(a[ui])*n,ms:x(St(1e3*a[li]))*n}):(a=zi.exec(e))?(n="-"===a[1]?-1:1,o={y:zt(a[2],n),M:zt(a[3],n),w:zt(a[4],n),d:zt(a[5],n),h:zt(a[6],n),m:zt(a[7],n),s:zt(a[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(i=Yt(bt(o.from),bt(o.to)),o={},o.ms=i.milliseconds,o.M=i.months),r=new _t(o),Ct(e)&&c(e,"_locale")&&(r._locale=e._locale),r}function zt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function qt(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 Yt(e,t){var n;return e.isValid()&&t.isValid()?(t=At(t,e),e.isBefore(t)?n=qt(e,t):(n=qt(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Wt(e,t){return function(n,r){var i,o;return null===r||isNaN(+r)||(S(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),n="string"==typeof n?+n:n,i=Ht(n,r),Bt(this,i,e),this}}function Bt(e,t,r,i){var o=t._milliseconds,a=St(t._days),s=St(t._months);e.isValid()&&(i=null==i||i,o&&e._d.setTime(e._d.valueOf()+o*r),a&&q(e,"Date",z(e,"Date")+a*r),s&&fe(e,z(e,"Month")+s*r),i&&n.updateOffset(e,a||s))}function Gt(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Zt(e,t){var r=e||bt(),i=At(r,this).startOf("day"),o=n.calendarFormat(this,i)||"sameElse",a=t&&(E(t[o])?t[o].call(this,r):t[o]);return this.format(a||this.localeData().calendar(o,this,bt(r)))}function Qt(){return new y(this)}function Jt(e,t){var n=b(e)?e:bt(e);return!(!this.isValid()||!n.isValid())&&(t=R(v(t)?"millisecond":t),"millisecond"===t?this.valueOf()>n.valueOf():n.valueOf()o&&(t=o),Ln.call(this,e,t,n,r,i))}function Ln(e,t,n,r,i){var o=ke(e,t,n,r,i),a=we(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function Pn(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function Nn(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 In(e,t){t[li]=x(1e3*("0."+e))}function Rn(){return this._isUTC?"UTC":""}function Un(){return this._isUTC?"Coordinated Universal Time":""}function jn(e){return bt(1e3*e)}function Vn(){return bt.apply(null,arguments).parseZone()}function Hn(e){return e}function zn(e,t,n,r){var i=rt(),o=d().set(r,t);return i[n](o,e)}function qn(e,t,n){if(s(e)&&(t=e,e=void 0),e=e||"",null!=t)return zn(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=zn(e,r,n,"month");return i}function Yn(e,t,n,r){"boolean"==typeof e?(s(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,s(t)&&(n=t,t=void 0),t=t||"");var i=rt(),o=e?i._week.dow:0;if(null!=n)return zn(t,(n+o)%7,r,"day");var a,u=[];for(a=0;a<7;a++)u[a]=zn(t,(a+o)%7,r,"day");return u}function Wn(e,t){return qn(e,t,"months")}function Bn(e,t){return qn(e,t,"monthsShort")}function Gn(e,t,n){return Yn(e,t,n,"weekdays")}function Zn(e,t,n){return Yn(e,t,n,"weekdaysShort")}function Qn(e,t,n){return Yn(e,t,n,"weekdaysMin")}function Jn(){var e=this._data;return this._milliseconds=eo(this._milliseconds),this._days=eo(this._days),this._months=eo(this._months),e.milliseconds=eo(e.milliseconds),e.seconds=eo(e.seconds),e.minutes=eo(e.minutes),e.hours=eo(e.hours),e.months=eo(e.months),e.years=eo(e.years),this}function Kn(e,t,n,r){var i=Ht(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function Xn(e,t){return Kn(this,e,t,1)}function er(e,t){return Kn(this,e,t,-1)}function tr(e){return e<0?Math.floor(e):Math.ceil(e)}function nr(){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||o<=0&&a<=0&&s<=0||(o+=864e5*tr(ir(s)+a),a=0,s=0),u.milliseconds=o%1e3,e=w(o/1e3),u.seconds=e%60,t=w(e/60),u.minutes=t%60,n=w(t/60),u.hours=n%24,a+=w(n/24),i=w(rr(a)),s+=i,a-=tr(ir(i)),r=w(s/12),s%=12,u.days=a,u.months=s,u.years=r,this}function rr(e){return 4800*e/146097}function ir(e){return 146097*e/4800}function or(e){var t,n,r=this._milliseconds;if(e=R(e),"month"===e||"year"===e)return t=this._days+r/864e5,n=this._months+rr(t),"month"===e?n:n/12;switch(t=this._days+Math.round(ir(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 ar(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*x(this._months/12)}function sr(e){return function(){return this.as(e)}}function ur(e){return e=R(e),this[e+"s"]()}function lr(e){return function(){return this._data[e]}}function cr(){return w(this.days()/7)}function fr(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function dr(e,t,n){var r=Ht(e).abs(),i=vo(r.as("s")),o=vo(r.as("m")),a=vo(r.as("h")),s=vo(r.as("d")),u=vo(r.as("M")),l=vo(r.as("y")),c=i<$o.s&&["s",i]||o<=1&&["m"]||o<$o.m&&["mm",o]||a<=1&&["h"]||a<$o.h&&["hh",a]||s<=1&&["d"]||s<$o.d&&["dd",s]||u<=1&&["M"]||u<$o.M&&["MM",u]||l<=1&&["y"]||["yy",l];return c[2]=t,c[3]=+e>0,c[4]=n,fr.apply(null,c)}function hr(e){return void 0===e?vo:"function"==typeof e&&(vo=e,!0)}function pr(e,t){return void 0!==$o[e]&&(void 0===t?$o[e]:($o[e]=t,!0))}function mr(e){var t=this.localeData(),n=dr(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function gr(){var e,t,n,r=yo(this._milliseconds)/1e3,i=yo(this._days),o=yo(this._months);e=w(r/60),t=w(e/60),r%=60,e%=60,n=w(o/12),o%=12;var a=n,s=o,u=i,l=t,c=e,f=r,d=this.asSeconds();return d?(d<0?"-":"")+"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 vr,$r;$r=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;r68?1900:2e3)};var $i=H("FullYear",!0);G("w",["ww",2],"wo","week"),G("W",["WW",2],"Wo","isoWeek"),I("week","w"),I("isoWeek","W"),j("week",5),j("isoWeek",5),X("w",zr),X("ww",zr,Ur),X("W",zr),X("WW",zr,Ur),ie(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=x(e)});var yi={dow:0,doy:6};G("d",0,"do","day"),G("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),G("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),G("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),G("e",0,0,"weekday"),G("E",0,0,"isoWeekday"),I("day","d"),I("weekday","e"),I("isoWeekday","E"),j("day",11),j("weekday",11),j("isoWeekday",11),X("d",zr),X("e",zr),X("E",zr),X("dd",function(e,t){return t.weekdaysMinRegex(e)}),X("ddd",function(e,t){return t.weekdaysShortRegex(e)}),X("dddd",function(e,t){return t.weekdaysRegex(e)}),ie(["dd","ddd","dddd"],function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:p(n).invalidWeekday=e}),ie(["d","e","E"],function(e,t,n,r){t[r]=x(e)});var bi="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),wi="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),xi="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ki=ei,_i=ei,Ci=ei;G("H",["HH",2],0,"hour"),G("h",["hh",2],0,Ye),G("k",["kk",2],0,We),G("hmm",0,0,function(){return""+Ye.apply(this)+B(this.minutes(),2)}),G("hmmss",0,0,function(){return""+Ye.apply(this)+B(this.minutes(),2)+B(this.seconds(),2)}),G("Hmm",0,0,function(){return""+this.hours()+B(this.minutes(),2)}),G("Hmmss",0,0,function(){return""+this.hours()+B(this.minutes(),2)+B(this.seconds(),2)}),Be("a",!0),Be("A",!1),I("hour","h"),j("hour",13),X("a",Ge),X("A",Ge),X("H",zr),X("h",zr),X("HH",zr,Ur),X("hh",zr,Ur),X("hmm",qr),X("hmmss",Yr),X("Hmm",qr),X("Hmmss",Yr),re(["H","HH"],ai),re(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),re(["h","hh"],function(e,t,n){t[ai]=x(e),p(n).bigHour=!0}),re("hmm",function(e,t,n){var r=e.length-2;t[ai]=x(e.substr(0,r)),t[si]=x(e.substr(r)),p(n).bigHour=!0}),re("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[ai]=x(e.substr(0,r)),t[si]=x(e.substr(r,2)),t[ui]=x(e.substr(i)),p(n).bigHour=!0}),re("Hmm",function(e,t,n){var r=e.length-2;t[ai]=x(e.substr(0,r)),t[si]=x(e.substr(r))}),re("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[ai]=x(e.substr(0,r)),t[si]=x(e.substr(r,2)),t[ui]=x(e.substr(i))});var Si,Ei=/[ap]\.?m?\.?/i,Mi=H("Hours",!0),Ai={calendar:Sr,longDateFormat:Er,invalidDate:Mr,ordinal:Ar,ordinalParse:Dr,relativeTime:Tr,months:pi,monthsShort:mi,week:yi,weekdays:bi,weekdaysMin:xi,weekdaysShort:wi,meridiemParse:Ei},Di={},Ti={},Oi=/^\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)?)?$/,Fi=/^\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)?)?$/,Li=/Z|[+-]\d\d(?::?\d\d)?/,Pi=[["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}/]],Ni=[["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/]],Ii=/^\/?Date\((\-?\d+)/i;n.createFromInputFallback=C("value provided is not in a recognized ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),n.ISO_8601=function(){};var Ri=C("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=bt.apply(null,arguments);return this.isValid()&&e.isValid()?ethis?this:e:g()}),ji=function(){return Date.now?Date.now():+new Date};Et("Z",":"),Et("ZZ",""),X("Z",Kr),X("ZZ",Kr),re(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Mt(Kr,e)});var Vi=/([\+\-]|\d\d)/gi;n.updateOffset=function(){};var Hi=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,zi=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;Ht.fn=_t.prototype;var qi=Wt(1,"add"),Yi=Wt(-1,"subtract");n.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",n.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Wi=C("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)});G(0,["gg",2],0,function(){return this.weekYear()%100}),G(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Mn("gggg","weekYear"),Mn("ggggg","weekYear"),Mn("GGGG","isoWeekYear"),Mn("GGGGG","isoWeekYear"),I("weekYear","gg"),I("isoWeekYear","GG"),j("weekYear",1),j("isoWeekYear",1),X("G",Qr),X("g",Qr),X("GG",zr,Ur),X("gg",zr,Ur),X("GGGG",Br,Vr),X("gggg",Br,Vr),X("GGGGG",Gr,Hr),X("ggggg",Gr,Hr),ie(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=x(e)}),ie(["gg","GG"],function(e,t,r,i){t[i]=n.parseTwoDigitYear(e)}),G("Q",0,"Qo","quarter"),I("quarter","Q"),j("quarter",7),X("Q",Rr),re("Q",function(e,t){t[ii]=3*(x(e)-1)}),G("D",["DD",2],"Do","date"),I("date","D"),j("date",9),X("D",zr),X("DD",zr,Ur),X("Do",function(e,t){return e?t._ordinalParse:t._ordinalParseLenient; -}),re(["D","DD"],oi),re("Do",function(e,t){t[oi]=x(e.match(zr)[0],10)});var Bi=H("Date",!0);G("DDD",["DDDD",3],"DDDo","dayOfYear"),I("dayOfYear","DDD"),j("dayOfYear",4),X("DDD",Wr),X("DDDD",jr),re(["DDD","DDDD"],function(e,t,n){n._dayOfYear=x(e)}),G("m",["mm",2],0,"minute"),I("minute","m"),j("minute",14),X("m",zr),X("mm",zr,Ur),re(["m","mm"],si);var Gi=H("Minutes",!1);G("s",["ss",2],0,"second"),I("second","s"),j("second",15),X("s",zr),X("ss",zr,Ur),re(["s","ss"],ui);var Zi=H("Seconds",!1);G("S",0,0,function(){return~~(this.millisecond()/100)}),G(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),G(0,["SSS",3],0,"millisecond"),G(0,["SSSS",4],0,function(){return 10*this.millisecond()}),G(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),G(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),G(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),G(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),G(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),I("millisecond","ms"),j("millisecond",16),X("S",Wr,Rr),X("SS",Wr,Ur),X("SSS",Wr,jr);var Qi;for(Qi="SSSS";Qi.length<=9;Qi+="S")X(Qi,Zr);for(Qi="S";Qi.length<=9;Qi+="S")re(Qi,In);var Ji=H("Milliseconds",!1);G("z",0,0,"zoneAbbr"),G("zz",0,0,"zoneName");var Ki=y.prototype;Ki.add=qi,Ki.calendar=Zt,Ki.clone=Qt,Ki.diff=rn,Ki.endOf=vn,Ki.format=ln,Ki.from=cn,Ki.fromNow=fn,Ki.to=dn,Ki.toNow=hn,Ki.get=Y,Ki.invalidAt=Sn,Ki.isAfter=Jt,Ki.isBefore=Kt,Ki.isBetween=Xt,Ki.isSame=en,Ki.isSameOrAfter=tn,Ki.isSameOrBefore=nn,Ki.isValid=_n,Ki.lang=Wi,Ki.locale=pn,Ki.localeData=mn,Ki.max=Ui,Ki.min=Ri,Ki.parsingFlags=Cn,Ki.set=W,Ki.startOf=gn,Ki.subtract=Yi,Ki.toArray=wn,Ki.toObject=xn,Ki.toDate=bn,Ki.toISOString=sn,Ki.inspect=un,Ki.toJSON=kn,Ki.toString=an,Ki.unix=yn,Ki.valueOf=$n,Ki.creationData=En,Ki.year=$i,Ki.isLeapYear=ye,Ki.weekYear=An,Ki.isoWeekYear=Dn,Ki.quarter=Ki.quarters=Pn,Ki.month=de,Ki.daysInMonth=he,Ki.week=Ki.weeks=Ae,Ki.isoWeek=Ki.isoWeeks=De,Ki.weeksInYear=On,Ki.isoWeeksInYear=Tn,Ki.date=Bi,Ki.day=Ki.days=Re,Ki.weekday=Ue,Ki.isoWeekday=je,Ki.dayOfYear=Nn,Ki.hour=Ki.hours=Mi,Ki.minute=Ki.minutes=Gi,Ki.second=Ki.seconds=Zi,Ki.millisecond=Ki.milliseconds=Ji,Ki.utcOffset=Tt,Ki.utc=Ft,Ki.local=Lt,Ki.parseZone=Pt,Ki.hasAlignedHourOffset=Nt,Ki.isDST=It,Ki.isLocal=Ut,Ki.isUtcOffset=jt,Ki.isUtc=Vt,Ki.isUTC=Vt,Ki.zoneAbbr=Rn,Ki.zoneName=Un,Ki.dates=C("dates accessor is deprecated. Use date instead.",Bi),Ki.months=C("months accessor is deprecated. Use month instead",de),Ki.years=C("years accessor is deprecated. Use year instead",$i),Ki.zone=C("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Ot),Ki.isDSTShifted=C("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Rt);var Xi=D.prototype;Xi.calendar=T,Xi.longDateFormat=O,Xi.invalidDate=F,Xi.ordinal=L,Xi.preparse=Hn,Xi.postformat=Hn,Xi.relativeTime=P,Xi.pastFuture=N,Xi.set=M,Xi.months=se,Xi.monthsShort=ue,Xi.monthsParse=ce,Xi.monthsRegex=me,Xi.monthsShortRegex=pe,Xi.week=Se,Xi.firstDayOfYear=Me,Xi.firstDayOfWeek=Ee,Xi.weekdays=Fe,Xi.weekdaysMin=Pe,Xi.weekdaysShort=Le,Xi.weekdaysParse=Ie,Xi.weekdaysRegex=Ve,Xi.weekdaysShortRegex=He,Xi.weekdaysMinRegex=ze,Xi.isPM=Ze,Xi.meridiem=Qe,et("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===x(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n}}),n.lang=C("moment.lang is deprecated. Use moment.locale instead.",et),n.langData=C("moment.langData is deprecated. Use moment.localeData instead.",rt);var eo=Math.abs,to=sr("ms"),no=sr("s"),ro=sr("m"),io=sr("h"),oo=sr("d"),ao=sr("w"),so=sr("M"),uo=sr("y"),lo=lr("milliseconds"),co=lr("seconds"),fo=lr("minutes"),ho=lr("hours"),po=lr("days"),mo=lr("months"),go=lr("years"),vo=Math.round,$o={s:45,m:45,h:22,d:26,M:11},yo=Math.abs,bo=_t.prototype;return bo.abs=Jn,bo.add=Xn,bo.subtract=er,bo.as=or,bo.asMilliseconds=to,bo.asSeconds=no,bo.asMinutes=ro,bo.asHours=io,bo.asDays=oo,bo.asWeeks=ao,bo.asMonths=so,bo.asYears=uo,bo.valueOf=ar,bo._bubble=nr,bo.get=ur,bo.milliseconds=lo,bo.seconds=co,bo.minutes=fo,bo.hours=ho,bo.days=po,bo.weeks=cr,bo.months=mo,bo.years=go,bo.humanize=mr,bo.toISOString=gr,bo.toString=gr,bo.toJSON=gr,bo.locale=pn,bo.localeData=mn,bo.toIsoString=C("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",gr),bo.lang=Wi,G("X",0,0,"unix"),G("x",0,0,"valueOf"),X("x",Qr),X("X",Xr),re("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),re("x",function(e,t,n){n._d=new Date(x(e))}),n.version="2.17.1",r(bt),n.fn=Ki,n.min=xt,n.max=kt,n.now=ji,n.utc=d,n.unix=jn,n.months=Wn,n.isDate=u,n.locale=et,n.invalid=g,n.duration=Ht,n.isMoment=b,n.weekdays=Gn,n.parseZone=Vn,n.localeData=rt,n.isDuration=Ct,n.monthsShort=Bn,n.weekdaysMin=Qn,n.defineLocale=tt,n.updateLocale=nt,n.locales=it,n.weekdaysShort=Zn,n.normalizeUnits=R,n.relativeTimeRounding=hr,n.relativeTimeThreshold=pr,n.calendarFormat=Gt,n.prototype=Ki,n})},{}],20:[function(e,t,n){function r(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName)e.focus(),e.setSelectionRange(0,e.value.length),t=e.value;else{e.hasAttribute("contenteditable")&&e.focus();var n=window.getSelection(),r=document.createRange();r.selectNodeContents(e),n.removeAllRanges(),n.addRange(r),t=n.toString()}return t}t.exports=r},{}],21:[function(e,t,n){function r(){}r.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){function r(){i.off(e,r),t.apply(n,arguments)}var i=this;return r._=t,this.on(e,r,n)},emit:function(e){var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,i=n.length;for(r;r tr",containment:"parent",axis:"y"},e.addEmptyTag=r,i(),e.tagChange=function(t){var n=e.tags.indexOf(t);n===e.tags.length-1&&(""===t.name&&""===t.value||r())},e.tagBlur=function(t){var n=e.tags.length-1===e.tags.indexOf(t);if(""===t.name&&""===t.value&&!n){var r=e.tags.indexOf(t);e.tags.splice(r,1)}},e.removeTag=function(t){var n=e.tags.indexOf(t);e.tags.splice(n,1)}}]),e.controller("PageAttachmentController",["$scope","$http","$attrs",function(e,n,r){function i(){return{page_id:l}}function o(r,i){var o=e.files.map(function(e){return e.id}).join(":");o!==c&&(c=o,n.put(window.baseUrl("/attachments/sort/page/"+l),{files:e.files}).then(function(e){t.emit("success",e.data.message)},u("sort")))}function a(){var t=window.baseUrl("/attachments/get/page/"+l);n.get(t).then(function(t){e.files=t.data,c=t.data.map(function(e){return e.id}).join(":")},u("get"))}function s(t){for(var n=0;n tr",containment:"parent",axis:"y",stop:o},e.getUploadUrl=function(e){var t="undefined"!=typeof e?"/"+e.id:"";return window.baseUrl("/attachments/upload"+t)},a(),e.uploadSuccess=function(n,r){e.$apply(function(){e.files.push(r)}),t.emit("success",trans("entities.attachments_file_uploaded"))},e.uploadSuccessUpdate=function(n,r){e.$apply(function(){var t=s(r);t!==-1&&(e.files[t]=r),e.editFile&&(e.editFile=angular.copy(r),r.link="")}),t.emit("success",trans("entities.attachments_file_updated"))},e.deleteFile=function(r){return r.deleting?void n["delete"](window.baseUrl("/attachments/"+r.id)).then(function(n){t.emit("success",n.data.message),e.files.splice(e.files.indexOf(r),1)},u("delete")):void(r.deleting=!0)},e.attachLinkSubmit=function(r){r.uploaded_to=l,n.post(window.baseUrl("/attachments/link"),r).then(function(n){e.files.push(n.data),t.emit("success",trans("entities.attachments_link_attached")),e.file=i()},u("link"))},e.startEdit=function(t){e.editFile=angular.copy(t),e.editFile.link=t.external?t.path:""},e.cancelEdit=function(){e.editFile=!1},e.updateFile=function(r){n.put(window.baseUrl("/attachments/"+r.id),r).then(function(n){var i=s(n.data);i!==-1&&(e.files[i]=n.data),e.editFile&&!r.external&&(e.editFile.link=""),e.editFile=!1,t.emit("success",trans("entities.attachments_updated_success"))},u("edit"))},e.getFileUrl=function(e){return window.baseUrl("/attachments/"+e.id)}}])};var i=e("moment"),o=r(i);e("moment/locale/en-gb");var a=e("./pages/page-form"),s=r(a);o["default"].locale("en-gb")},{"./pages/page-form":25,moment:19,"moment/locale/en-gb":18}],23:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(n,"__esModule",{value:!0}),n["default"]=function(e,t){e.directive("tabContainer",function(){return{restrict:"A",link:function(e,t,n){var r=t.find("[tab-content]"),i=t.find("[tab-button]");if(n.tabContainer){var o=n.tabContainer;i.filter('[tab-button="'+o+'"]').addClass("selected"),r.hide().filter('[tab-content="'+o+'"]').show()}else r.hide().first().show(),i.first().addClass("selected");i.click(function(){var e=$(this);i.removeClass("selected"),r.hide();var t=e.addClass("selected").attr("tab-button");r.filter('[tab-content="'+t+'"]').show()})}}}),e.directive("subForm",function(){return{restrict:"A",link:function(e,t,n){function r(t){t.preventDefault(),n.subForm&&e.$eval(n.subForm)}t.on("keypress",function(e){13===e.keyCode&&r(e)}),t.find('button[type="submit"]').click(r)}}}),e.directive("dropZone",[function(){return{restrict:"E",template:'\n
    \n
    {{message}}
    \n
    \n ',scope:{uploadUrl:"@",eventSuccess:"=",eventError:"=",uploadedTo:"@"},link:function(e,t,n){e.message=n.message,n.placeholder&&(t[0].querySelector(".dz-message").textContent=n.placeholder);new o["default"](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)}413===n.status&&r(trans("errors.server_upload_limit")),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");var e=r.find("input"),n=e.length>0;n&&(e.first().focus(),t.on("keypress","input",function(e){if(13===e.keyCode)return e.preventDefault(),r.hide(),r.removeClass("anim menuIn"),!1})),t.mouseleave(function(){r.hide(),r.removeClass("anim menuIn")})})}}}]),e.directive("tinymce",["$timeout",function(e){return{restrict:"A",scope:{tinymce:"=",mceModel:"=",mceChange:"="},link:function(t,n,r){function i(n){n.on("ExecCommand change NodeChange ObjectResized",function(r){var i=n.getContent();e(function(){t.mceModel=i}),t.mceChange(i)}),n.on("keydown",function(e){t.$emit("editor-keydown",e)}),n.on("init",function(e){t.mceModel=n.getContent()}),t.$on("html-update",function(e,r){n.setContent(r),n.selection.select(n.getBody(),!0),n.selection.collapse(!1),t.mceModel=n.getContent()})}t.tinymce.extraSetups.push(i),tinymce.PluginManager.add("customhr",function(e){e.addCommand("InsertHorizontalRule",function(){var t=document.createElement("hr"),n=e.selection.getNode(),r=n.parentNode;r.insertBefore(t,n)}),e.addButton("hr",{icon:"hr",tooltip:"Horizontal line",cmd:"InsertHorizontalRule"}),e.addMenuItem("hr",{icon:"hr",text:"Horizontal line",cmd:"InsertHorizontalRule",context:"insert"})}),tinymce.init(t.tinymce)}}}]);var n=new s["default"].Renderer;n.listitem=function(e){return/^\s*\[[x ]\]\s*/.test(e)?(e=e.replace(/^\s*\[ \]\s*/,'').replace(/^\s*\[x\]\s*/,''),'
  • '+e+"
  • "):"
  • "+e+"
  • "},e.directive("markdownInput",["$timeout",function(e){return{restrict:"A",scope:{mdModel:"=",mdChange:"="},link:function(t,r,i){r=r.find("textarea").first();var o=r.val();t.mdModel=o,t.mdChange((0,s["default"])(o,{renderer:n})),r.on("change input",function(i){o=r.val(),e(function(){t.mdModel=o,t.mdChange((0,s["default"])(o,{renderer:n}))})}),t.$on("markdown-update",function(e,n){r.val(n),t.mdModel=n,t.mdChange((0,s["default"])(n))})}}}]),e.directive("markdownEditor",["$timeout",function(e){return{restrict:"A",link:function(e,t,n){function r(){h=u[0].scrollHeight,p=u.height(),m=l[0].scrollHeight,g=l.height()}function i(){window.showEntityLinkSelector(function(e){var t=d,n=u[0].selectionEnd,r=n!==t,i=u.val();if(r){var o=i.substring(t,n),a="["+o+"]("+e.link+")";u.val(i.substring(0,t)+a+i.substring(n))}else{var s=" ["+e.name+"]("+e.link+") ";u.val(i.substring(0,t)+s+i.substring(t))}u.change()})}function o(e){if(e=e.originalEvent,e.clipboardData){var t=e.clipboardData.items;if(t)for(var n=0;na?"!["+c+"]":"![]")+("("+f+")");u[0].value=l.substring(0,a)+d+l.substring(s),u.focus(),u[0].selectionStart=a,u[0].selectionEnd=a;var h="image-"+Date.now()+"."+n;t.append("file",e,h),t.append("_token",document.querySelector('meta[name="token"]').getAttribute("content")),r.open("POST",window.baseUrl("/images/gallery/upload")),r.onload=function(){var e=u[0].selectionStart;if(200===r.status||201===r.status){var t=JSON.parse(r.responseText);u[0].value=u[0].value.replace(f,t.thumbs.display),u.change()}else u[0].value=u[0].value.replace(d,""),u.change();u.focus(),u[0].selectionStart=e,u[0].selectionEnd=e},r.send(t)}}var u=t.find("[markdown-input] textarea").first(),l=t.find(".markdown-display").first(),c=t.find('button[data-action="insertImage"]'),f=t.find('button[data-action="insertEntityLink"]');l.on("click","a",function(e){e.preventDefault(),window.open(this.getAttribute("href"))});var d=0;u.blur(function(e){d=u[0].selectionStart});var h=void 0,p=void 0,m=void 0,g=void 0;setTimeout(function(){r()},200),window.addEventListener("resize",r);var v=800,$=0;u.on("scroll",function(e){var t=Date.now();t-$>v&&r();var n=u.scrollTop()/(h-p),i=(m-g)*n;l.scrollTop(i),$=t}),u.keydown(function(t){if(73===t.which&&t.ctrlKey&&t.shiftKey){t.preventDefault();var n=u[0].selectionStart,r=u.val(),o="![](http://)";return u.val(r.substring(0,n)+o+r.substring(n)),u.focus(),u[0].selectionStart=n+"![](".length,void(u[0].selectionEnd=n+"![](http://".length)}return 75===t.which&&t.ctrlKey&&t.shiftKey?void i():void e.$emit("editor-keydown",t)}),c.click(function(e){window.ImageManager.showExternal(function(e){var t=d,n=u.val(),r="!["+e.name+"]("+e.thumbs.display+")";u.val(n.substring(0,t)+r+n.substring(t)),u.change()})}),f.click(i),u.on("paste",o),u.on("drop",a)}}}]),e.directive("toolbox",[function(){return{restrict:"A",link:function(e,t,n){function r(e,n){i.removeClass("active"),o.hide(),i.filter('[toolbox-tab-button="'+e+'"]').addClass("active"),o.filter('[toolbox-tab-content="'+e+'"]').show(),n&&t.addClass("open")}var i=t.find("[toolbox-tab-button]"),o=t.find("[toolbox-tab-content]"),a=t.find("[toolbox-toggle]");a.click(function(e){t.toggleClass("open")}),r(o.first().attr("toolbox-tab-content"),!1),i.click(function(e){var t=$(this).attr("toolbox-tab-button");r(t,!0)})}}}]),e.directive("tagAutosuggestions",["$http",function(e){return{restrict:"A",link:function(t,n,r){function i(e,t){t[h].className="",h=e,t[h].className="active"}function o(e,t){if(0===t.length)return c.hide(),f=!1,void(m=t);if(f||(c.show(),f=!0),e!==d&&(c.detach(),e.after(c),d=e),m.join()===t.join())return void(m=t);c[0].innerHTML="";for(var n=0;n=0}});var b=$(".notification"),w=b.filter(".pos"),x=b.filter(".neg"),k=b.filter(".warning");window.Events.listen("success",function(e){w.hide(),w.find("span").text(e),setTimeout(function(){w.show()},1)}),window.Events.listen("warning",function(e){k.find("span").text(e),k.show()}),window.Events.listen("error",function(e){x.find("span").text(e),x.show()}),b.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 _=!1,C=document.getElementById("back-to-top"),S=1200;window.addEventListener("scroll",function(){var e=document.documentElement.scrollTop||document.body.scrollTop||0;!_&&e>S?(C.style.display="block",_=!0,setTimeout(function(){C.style.opacity=.4},1)):_&&e0||navigator.userAgent.indexOf("Safari")!==-1)&&$("body").addClass("flexbox-support")},{"./controllers":22,"./directives":23,"./pages/page-show":26,"./services":27,"./translations":28,angular:9,"angular-animate":2,"angular-resource":4,"angular-sanitize":6,"angular-ui-sortable":7}],25:[function(e,t,n){"use strict";function r(e,t){if(e.clipboardData){var n=e.clipboardData.items;if(n)for(var r=function(e){if(n[e].type.indexOf("image")===-1)return{v:void 0};var r=n[e].getAsFile(),i=new FormData,o="png",a=new XMLHttpRequest;if(r.name){var s=r.name.match(/\.(.+)$/);s&&(o=s[1])}var u="image-"+Math.random().toString(16).slice(2),l=window.baseUrl("/loading.gif");t.execCommand("mceInsertContent",!1,'');var c="image-"+Date.now()+"."+o;i.append("file",r,c),i.append("_token",document.querySelector('meta[name="token"]').getAttribute("content")),a.open("POST",window.baseUrl("/images/gallery/upload")),a.onload=function(){if(200===a.status||201===a.status){var e=JSON.parse(a.responseText);t.dom.setAttrib(u,"src",e.thumbs.display)}else t.dom.remove(u)},a.send(i)},i=0;i';i+=''+t.name+'',i+="
    ",r.tinyMCE.activeEditor.execCommand("mceInsertContent",!1,i)})},paste_preprocess:function(e,t){var n=t.content;n.indexOf('';n+=''+e.name+'',n+="",t.execCommand("mceInsertContent",!1,n)})}}),t.on("paste",function(e){r(e,t)})}};return e}},{}],26:[function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(n,"__esModule",{value:!0});var i=e("clipboard"),o=r(i);n["default"]=window.setupPageShow=function(e){function t(){var t=d?window.baseUrl("/link/"+e+"#"+h):"{{@"+e+"#"+h+"}}";d&&0!==t.indexOf("http")&&(t=window.location.protocol+"//"+window.location.host+t),u.find("input").val(t)}function n(e){var t=document.getElementById(e);if($(".page-content [data-highlighted]").attr("data-highlighted","").css("background-color",""),null!==t){var n=$(t),r=$("#custom-styles").attr("data-color-light");n.css("background-color",r).attr("data-highlighted","true").smoothScrollTo()}else $(".page-content").find(':contains("'+e+'")').smoothScrollTo()}function r(){g.width(v.width()+15),g.addClass("fixed"),w=!0}function i(){g.css("width","auto"),g.removeClass("fixed"),w=!1}function a(e){var t=m.scrollTop()>b;!t||w&&!e?t||!w&&!e||i():r()}function s(){a(!1)}var u=$("#pointer").detach(),l=!1,c=u.children("div.pointer").first(),f=!1,d=!0,h="";u.on("click","input",function(e){$(this).select(),e.stopPropagation()}),u.on("click","span.icon",function(e){var n=$(e.currentTarget);d=!d,n.html(d?'':''),t()});new o["default"]("#pointer button");if($(document.body).find("*").on("click focus",function(e){if(l&&!f){var t=$(e.target);t.is(".zmdi")||1===$(e.target).closest("#pointer").length||(u.detach(),l=!1)}}),$('.page-content [id^="bkmrk"]').on("mouseup keyup",function(e){e.stopPropagation();var n=window.getSelection();if(0!==n.toString().length){var r=$(this);h=r.attr("id"),t(),r.before(u),u.show(),l=!0;var i=e.pageX-r.offset().left-c.width()/2;i<0&&(i=0);var o=i/r.width()*100;c.css("left",o+"%"),f=!0,setTimeout(function(){f=!1},100)}}),window.location.hash){var p=window.location.hash.replace(/\%20/g," ").substr(1);n(p)}$(".sidebar-page-nav").on("click","a",function(e){n(e.target.getAttribute("href").substr(1))});var m=$(window),g=$(".book-tree"),v=g.parent(),y=$(document).height()>m.height()&&g.height()<$(".page-content").height(),b=$("#header").height()+$(".toolbar").height(),w=m.scrollTop()>b;y&&m.width()>1e3&&(m.on("scroll",s),a(!0)),m.on("resize",function(e){y&&m.width()>1e3?(m.on("scroll",s),a(!0)):(m.off("scroll",s),i())})}},{clipboard:11}],27:[function(e,t,n){"use strict";t.exports=function(e,t){e.factory("imageManagerService",function(){return{show:!1,showExternal:!1}})}},{}],28:[function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(n,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n0&&(r+=i>0?" ":"",r+=n?t+e:e+t)}),r}function a(e,t){var n=e.indexOf(t);t>=0&&e.splice(n,1)}function s(e){if(e instanceof X)switch(e.length){case 0:return e;case 1:if(e[0].nodeType===N)return e;break;default:return X(u(e))}if(e.nodeType===N)return X(e)}function u(e){if(!e[0])return e;for(var t=0;t=0)&&(n=A(n)),0===n&&(n=null),r[t]=n}}),r}function A(e){var t=0,n=e.split(/\s*,\s*/);return H(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 D(e){return 0===e||null!=e}function T(e,t){var n=F,r=e+"s";return t?n+=te: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 O(e,t,n){H(n,function(n){e[n]=W(e[n])?e[n]:t.style.getPropertyValue(n)})}var F,L,I,R,N=1,P="-add",q="-remove",j="ng-",U="ng-animate",z="$$ngAnimateChildren";void 0===e.ontransitionend&&void 0!==e.onwebkittransitionend?("-webkit-",F="WebkitTransition",L="webkitTransitionEnd transitionend"):(F="transition",L="transitionend"),void 0===e.onanimationend&&void 0!==e.onwebkitanimationend?("-webkit-",I="WebkitAnimation",R="webkitAnimationEnd animationend"):(I="animation",R="animationend");var V,B,H,Y,W,G,Z,J,Q,K,X,ee,te="Duration",ne="TimingFunction",re="PlayState",ie=I+"Delay",oe=I+te,ae=F+"Delay",se=F+te,ue=t.$$minErr("ng"),le=["$$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))){var c=o(a,"-stagger");r.addClass(i,c),l=E(e,i,u),l.animationDuration=Math.max(l.animationDuration,0),l.transitionDuration=Math.max(l.transitionDuration,0),r.removeClass(i,c),n.put(s,l)}return l||{}}function A(e){z.push(e),v.waitUntilQuiet(function(){t.flush(),n.flush();for(var e=l(),r=0;r=re&&r>=ie&&(Q=!0,v())}function z(){function t(){if(!Z){if(b(!1),H(se,function(e){var t=e[0],n=e[1];G.style[t]=n}),N(e,B),r.addClass(e,we),Ie.recalculateTimingStyles){if(_e=G.getAttribute("class")+" "+be,xe=$(G,_e),Fe=M(G,_e,xe),Le=Fe.maxDelay,te=Math.max(Le,0),0===(ie=Fe.maxDuration))return void v();Ie.hasTransitions=Fe.transitionDuration>0,Ie.hasAnimations=Fe.animationDuration>0}if(Ie.applyAnimationDelay&&(Le="boolean"!=typeof B.delay&&D(B.delay)?parseFloat(B.delay):Le,te=Math.max(Le,0),Fe.animationDelay=Le,Re=S(Le,!0),se.push(Re),G.style[Re[0]]=Re[1]),re=te*de,oe=ie*de,B.easing){var t,i=B.easing;Ie.hasTransitions&&(t=F+ne,se.push([t,i]),G.style[t]=i),Ie.hasAnimations&&(t=I+ne,se.push([t,i]),G.style[t]=i)}Fe.transitionDuration&&ce.push(L),Fe.animationDuration&&ce.push(R),ae=Date.now();var o=re+pe*oe,a=ae+o,s=e.data(fe)||[],l=!0;if(s.length){var c=s[0];l=a>c.expectedEndTime,l?u.cancel(c.timer):s.push(v)}if(l){var f=u(n,o,!1);s[0]={timer:f,expectedEndTime:a},s.push(v),e.data(fe,s)}ce.length&&e.on(ce.join(" "),U),B.to&&(B.cleanupStyles&&O(W,G,Object.keys(B.to)),m(e,B))}}function n(){var t=e.data(fe);if(t){for(var n=1;n0&&(Fe.transitionDuration&&0===Ce.transitionDuration||Fe.animationDuration&&0===Ce.animationDuration)&&Math.max(Ce.animationDelay,Ce.transitionDelay);o?u(t,Math.floor(o*Me*de),!1):t(),X.resume=function(){i(!0)},X.pause=function(){i(!1)}}}var B=n||{};B.$$prepared||(B=d(V(B)));var W={},G=y(e);if(!G||!G.parentNode||!g.enabled())return E();var Z,J,Q,K,X,te,re,ie,oe,ae,se=[],ue=e.attr("class"),le=i(B),ce=[];if(0===B.duration||!c.animations&&!c.transitions)return E();var me=B.event&&Y(B.event)?B.event.join(" "):B.event,ge=me&&B.structural,ye="",$e="";ge?ye=o(me,j,!0):me&&(ye=me),B.addClass&&($e+=o(B.addClass,P)),B.removeClass&&($e.length&&($e+=" "),$e+=o(B.removeClass,q)),B.applyClassesEarly&&$e.length&&N(e,B);var be=[ye,$e].join(" ").trim(),_e=ue+" "+be,we=o(be,"-active"),ke=le.to&&Object.keys(le.to).length>0;if(!((B.keyframeStyle||"").length>0||ke||be))return E();var xe,Ce;if(B.stagger>0){var Se=parseFloat(B.stagger);Ce={transitionDelay:Se,animationDelay:Se,transitionDuration:0,animationDuration:0}}else xe=$(G,_e),Ce=x(G,be,xe,ve);B.$$skipPreparationClasses||r.addClass(e,be);var Ee;if(B.transitionStyle){var Ae=[F,B.transitionStyle];k(G,Ae),se.push(Ae)}if(B.duration>=0){Ee=G.style[F].length>0;var De=T(B.duration,Ee);k(G,De),se.push(De)}if(B.keyframeStyle){var Te=[I,B.keyframeStyle];k(G,Te),se.push(Te)}var Me=Ce?B.staggerIndex>=0?B.staggerIndex:t.count(xe):0,Oe=0===Me;Oe&&!B.skipBlocking&&_(G,9999);var Fe=M(G,_e,xe),Le=Fe.maxDelay;te=Math.max(Le,0),ie=Fe.maxDuration;var Ie={};if(Ie.hasTransitions=Fe.transitionDuration>0,Ie.hasAnimations=Fe.animationDuration>0,Ie.hasTransitionAll=Ie.hasTransitions&&"all"===Fe.transitionProperty,Ie.applyTransitionDuration=ke&&(Ie.hasTransitions&&!Ie.hasTransitionAll||Ie.hasAnimations&&!Ie.hasTransitions),Ie.applyAnimationDuration=B.duration&&Ie.hasAnimations,Ie.applyTransitionDelay=D(B.delay)&&(Ie.applyTransitionDuration||Ie.hasTransitions),Ie.applyAnimationDelay=D(B.delay)&&Ie.hasAnimations,Ie.recalculateTimingStyles=$e.length>0,(Ie.applyTransitionDuration||Ie.applyAnimationDuration)&&(ie=B.duration?parseFloat(B.duration):ie,Ie.applyTransitionDuration&&(Ie.hasTransitions=!0,Fe.transitionDuration=ie,Ee=G.style[F+"Property"].length>0,se.push(T(ie,Ee))),Ie.applyAnimationDuration&&(Ie.hasAnimations=!0,Fe.animationDuration=ie,se.push(C(ie)))),0===ie&&!Ie.recalculateTimingStyles)return E();if(null!=B.delay){var Re;"boolean"!=typeof B.delay&&(Re=parseFloat(B.delay),te=Math.max(Re,0)),Ie.applyTransitionDelay&&se.push(S(Re)),Ie.applyAnimationDelay&&se.push(S(Re,!0))}return null==B.duration&&Fe.transitionDuration>0&&(Ie.recalculateTimingStyles=Ie.recalculateTimingStyles||Oe),re=te*de,oe=ie*de,B.skipBlocking||(Ie.blockTransition=Fe.transitionDuration>0,Ie.blockKeyframeAnimation=Fe.animationDuration>0&&Ce.animationDelay>0&&0===Ce.animationDuration),B.from&&(B.cleanupStyles&&O(W,G,Object.keys(B.from)),p(e,B)),Ie.blockTransition||Ie.blockKeyframeAnimation?b(ie):B.skipBlocking||_(G,!1),{$$willAnimate:!0,end:l,start:function(){if(!Z)return X={end:l,cancel:f,resume:null,pause:null},K=new s(X),A(z),K}}}}]}],ye=["$$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-out";this.$get=["$animateCss","$rootScope","$$AnimateRunner","$rootElement","$sniffer","$$jqLite","$document",function(e,i,o,a,s,u,l){function c(e){return e.replace(/\bng-\S+\b/g,"")}function f(e,t){return Q(e)&&(e=e.split(" ")),Q(t)&&(t=t.split(" ")),e.filter(function(e){return-1===t.indexOf(e)}).join(" ")}function d(t,i,a){function s(e){var t={},n=y(e).getBoundingClientRect();return H(["width","height","top","left"],function(e){var r=n[e];switch(e){case"top":r+=m.scrollTop;break;case"left":r+=m.scrollLeft}t[e]=Math.floor(r)+"px"}),t}function u(e){return e.attr("class")||""}function l(){var t=c(u(a)),n=f(t,p),i=f(p,t),o=e(h,{to:s(a),addClass:"ng-anchor-in "+n,removeClass:r+" "+i,delay:!0});return o.$$willAnimate?o:null}function d(){h.remove(),i.removeClass(n),a.removeClass(n)}var h=X(y(i).cloneNode(!0)),p=c(u(h));i.addClass(n),a.addClass(n),h.addClass("ng-anchor"),g.append(h);var v,$=function(){var t=e(h,{addClass:r,delay:!0,from:s(i)});return t.$$willAnimate?t:null}();if(!$&&!(v=l()))return d();var b=$||v;return{start:function(){function e(){n&&n.end()}var t,n=b.start();return n.done(function(){if(n=null,!v&&(v=l()))return n=v.start(),n.done(function(){n=null,d(),t.complete()}),n;d(),t.complete()}),t=new o({end:e,cancel:e})}}}function h(e,t,n,r){var i=p(e),a=p(t),s=[];if(H(r,function(e){var t=e.out,r=e.in,i=d(n,t,r);i&&s.push(i)}),i||a||0!==s.length)return{start:function(){function e(){H(t,function(e){e.end()})}var t=[];i&&t.push(i.start()),a&&t.push(a.start()),H(s,function(e){t.push(e.start())});var n=new o({end:e,cancel:e});return o.all(t,function(e){n.complete(e)}),n}}}function p(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=x(r.event,r.preparationClasses));var i=e(n,r);return i.$$willAnimate?i:null}if(!s.animations&&!s.transitions)return ee;var m=l[0].body,v=y(a),g=X(t(v)||m.contains(v)?v:m);return function(e){return e.from&&e.to?h(e.from,e.to,e.classes,e.anchors):p(e)}}]}],$e=["$animateProvider",function(e){this.$get=["$injector","$$AnimateRunner","$$jqLite",function(t,n,r){function i(n){n=Y(n)?n:n.split(" ");for(var r=[],i={},o=0;o0,r=(e.removeClass||"").length>0;return t?n&&r:n||r}var l=1,c=2,p=" ",m=this.rules={skip:[],cancel:[],join:[]};m.join.push(function(e,t,n){return!t.structural&&a(t)}),m.skip.push(function(e,t,n){return!t.structural&&!a(t)}),m.skip.push(function(e,t,n){return"leave"===n.event&&t.structural}),m.skip.push(function(e,t,n){return n.structural&&n.state===c&&!t.structural}),m.cancel.push(function(e,t,n){return n.structural&&t.structural}),m.cancel.push(function(e,t,n){return n.state===c&&t.structural}),m.cancel.push(function(e,t,n){if(n.structural)return!1;var r=t.addClass,o=t.removeClass,a=n.addClass,s=n.removeClass;return!(K(r)&&K(o)||K(a)&&K(s))&&(i(r,s)||i(o,a))}),this.$get=["$$rAF","$rootScope","$rootElement","$document","$$HashMap","$$animation","$$AnimateRunner","$templateRequest","$$jqLite","$$forceReflow","$$isDocumentHidden",function(r,i,p,m,g,_,w,k,x,C,S){function E(){var e=!1;return function(t){e?t():i.$$postDigest(function(){e=!0,t()})}}function A(e,t){return v(e,t,{})}function D(e,t,n){var r=y(t),i=y(e),o=[],a=ee[n];return a&&H(a,function(e){ie.call(e.node,r)?o.push(e.callback):"leave"===n&&ie.call(e.node,i)&&o.push(e.callback)}),o}function T(e,t,n){var r=u(t);return e.filter(function(e){return!(e.node===r&&(!n||e.callback===n))})}function M(e,t){"close"!==e||t[0].parentNode||oe.off(t)}function O(e,t,n){function u(t,n,i,o){x(function(){var t=D(m,e,n);t.length?r(function(){H(t,function(t){t(e,i,o)}),M(i,e)}):M(i,e)}),t.progress(n,i,o)}function f(t){b(e,g),re(e,g),h(e,g),g.domOperation(),k.complete(!t)}var p,m,g=V(n);e=s(e),e&&(p=y(e),m=e.parent()),g=d(g);var k=new w,x=E();if(Y(g.addClass)&&(g.addClass=g.addClass.join(" ")),g.addClass&&!Q(g.addClass)&&(g.addClass=null),Y(g.removeClass)&&(g.removeClass=g.removeClass.join(" ")),g.removeClass&&!Q(g.removeClass)&&(g.removeClass=null),g.from&&!J(g.from)&&(g.from=null),g.to&&!J(g.to)&&(g.to=null),!p)return f(),k;var C=[p.getAttribute("class"),g.addClass,g.removeClass].join(" ");if(!ne(C))return f(),k;var T=["enter","move","leave"].indexOf(t)>=0,O=S(),I=!U||O||j.get(p),N=!I&&q.get(p)||{},z=!!N.state;if(I||z&&N.state===l||(I=!R(e,m,t)),I)return O&&u(k,t,"start"),f(),O&&u(k,t,"close"),k;T&&F(e);var B={structural:T,element:e,event:t,addClass:g.addClass,removeClass:g.removeClass,close:f,options:g,runner:k};if(z){if(o("skip",e,B,N))return N.state===c?(f(),k):(v(e,N,B),N.runner);if(o("cancel",e,B,N))if(N.state===c)N.runner.end();else{if(!N.structural)return v(e,N,B),N.runner;N.close()}else{if(o("join",e,B,N)){if(N.state!==c)return $(e,T?t:null,g),t=B.event=N.event,g=v(e,N,B),N.runner;A(e,B)}}}else A(e,B);var W=B.structural;if(W||(W="animate"===B.event&&Object.keys(B.options.to||{}).length>0||a(B)),!W)return f(),L(e),k;var G=(N.counter||0)+1;return B.counter=G,P(e,l,B),i.$$postDigest(function(){var n=q.get(p),r=!n;n=n||{};var i=e.parent()||[],o=i.length>0&&("animate"===n.event||n.structural||a(n));if(r||n.counter!==G||!o)return r&&(re(e,g),h(e,g)),(r||T&&n.event!==t)&&(g.domOperation(),k.end()),void(o||L(e));t=!n.structural&&a(n,!0)?"setClass":n.event,P(e,c);var s=_(e,t,n.options);k.setHost(s),u(k,t,"start",{}),s.done(function(n){f(!n);var r=q.get(p);r&&r.counter===G&&L(y(e)),u(k,t,"close",{})})}),k}function F(e){var t=y(e),n=t.querySelectorAll("["+_e+"]");H(n,function(e){var t=parseInt(e.getAttribute(_e),10),n=q.get(e);if(n)switch(t){case c:n.runner.end();case l:q.remove(e)}})}function L(e){var t=y(e);t.removeAttribute(_e),q.remove(t)}function I(e,t){return y(e)===y(t)}function R(e,t,n){var r,i=X(m[0].body),o=I(e,i)||"HTML"===e[0].nodeName,a=I(e,p),s=!1,u=j.get(y(e)),l=X.data(e[0],we);for(l&&(t=l),t=y(t);t&&(a||(a=I(t,p)),t.nodeType===N);){var c=q.get(t)||{};if(!s){var f=j.get(t);if(!0===f&&!1!==u){u=!0;break}!1===f&&(u=!1),s=c.structural}if(K(r)||!0===r){var d=X.data(t,z);W(d)&&(r=d)}if(s&&!1===r)break;if(o||(o=I(t,i)),o&&a)break;t=a||!(l=X.data(t,we))?t.parentNode:y(l)}return(!s||r)&&!0!==u&&a&&o}function P(e,t,n){n=n||{},n.state=t;var r=y(e);r.setAttribute(_e,t);var i=q.get(r),o=i?B(i,n):n;q.put(r,o)}var q=new g,j=new g,U=null,Z=i.$watch(function(){return 0===k.totalPendingRequests},function(e){e&&(Z(),i.$$postDigest(function(){i.$$postDigest(function(){null===U&&(U=!0)})}))}),ee=Object.create(null),te=t.classNameFilter(),ne=te?function(e){return te.test(e)}:function(){return!0},re=f(x),ie=e.Node.prototype.contains||function(e){return this===e||!!(16&this.compareDocumentPosition(e))},oe={on:function(e,t,n){var r=u(t);ee[e]=ee[e]||[],ee[e].push({node:r,callback:n}),X(t).on("$destroy",function(){q.get(r)||oe.off(e,t,n)})},off:function(e,t,n){if(1!==arguments.length||Q(arguments[0])){var r=ee[e];r&&(ee[e]=1===arguments.length?null:T(r,t,n))}else{t=arguments[0];for(var i in ee)ee[i]=T(ee[i],t)}},pin:function(e,t){n(G(e),"element","not an element"),n(G(t),"parentElement","not an element"),e.data(we,t)},push:function(e,t,n,r){return n=n||{},n.domOperation=r,O(e,t,n)},enabled:function(e,t){var n=arguments.length;if(0===n)t=!!U;else{if(G(e)){var r=y(e);1===n?t=!j.get(r):j.put(r,!t)}else t=U=!!e}return t}};return oe}]}],xe=["$animateProvider",function(e){function t(e,t){e.data(s,t)}function n(e){e.removeData(s)}function i(e){return e.data(s)}var o="ng-animate-ref",a=this.drivers=[],s="$$animationRunner";this.$get=["$$jqLite","$rootScope","$injector","$$AnimateRunner","$$HashMap","$$rAFScheduler",function(e,s,u,l,c,p){function m(e){function t(e){if(e.processed)return e;e.processed=!0;var n=e.domNode,o=n.parentNode;i.put(n,e);for(var a;o;){if(a=i.get(o)){a.processed||(a=t(a));break}o=o.parentNode}return(a||r).children.push(e),e}var n,r={children:[]},i=new c;for(n=0;n=0,l=e.structural?b(a):[];if(l.length){var c=u?"to":"from";H(l,function(e){var t=e.getAttribute(o);n[t]=n[t]||{},n[t][c]={animationID:r,element:X(e)}})}else t.push(e)});var r={},i={};return H(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:w(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 w(e,t){e=e.split(" "),t=t.split(" ");for(var n=[],r=0;r=0;t--){var n=a[t],r=u.get(n),i=r(e);if(i)return i}}function x(){c.addClass(U),M&&e.addClass(c,M),O&&(e.removeClass(c,O),O=null)}function C(e,t){function n(e){var n=i(e);n&&n.setHost(t)}e.from&&e.to?(n(e.from.element),n(e.to.element)):n(e.element)}function S(){var e=i(c);!e||"leave"===f&&$.$$domOperationFired||e.end()}function E(t){c.off("$destroy",S),n(c),g(c,$),h(c,$),$.domOperation(),M&&e.removeClass(c,M),c.removeClass(U),D.complete(!t)}$=d($);var A=["enter","move","leave"].indexOf(f)>=0,D=new l({end:function(){E()},cancel:function(){E(!0)}});if(!a.length)return E(),D;t(c,D);var T=r(c.attr("class"),r($.addClass,$.removeClass)),M=$.tempClasses;M&&(T+=" "+M,$.tempClasses=null);var O;return A&&(O="ng-"+f+"-prepare",e.addClass(c,O)),v.push({element:c,classes:T,event:f,structural:A,options:$,beforeStart:x,close:E}),c.on("$destroy",S),v.length>1?D:(s.$$postDigest(function(){var e=[];H(v,function(t){i(t.element)?e.push(t):t.close()}),v.length=0;var t=_(e),n=[];H(t,function(e){n.push({domNode:y(e.from?e.from.element:e.element),fn:function(){e.beforeStart();var t,n=e.close;if(i(e.anchors?e.from.element||e.to.element:e.element)){var r=k(e);r&&(t=r.start)}if(t){var o=t();o.done(function(e){n(!e)}),C(e,o)}else n()}})}),p(m(n))}),D)}}]}],Ce=["$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",[],function(){ee=t.noop,V=t.copy,B=t.extend,X=t.element,H=t.forEach,Y=t.isArray,Q=t.isString,J=t.isObject,K=t.isUndefined,W=t.isDefined,Z=t.isFunction,G=t.isElement}).directive("ngAnimateSwap",Ce).directive("ngAnimateChildren",ce).factory("$$rAFScheduler",le).provider("$$animateQueue",ke).provider("$$animation",xe).provider("$animateCss",ge).provider("$$animateCssDriver",ye).provider("$$animateJs",$e).provider("$$animateJsDriver",be)}(window,window.angular)},{}],2:[function(e,t,n){e("./angular-animate"),t.exports="ngAnimate"},{"./angular-animate":1}],3:[function(e,t,n){!function(e,t){"use strict";function n(e){return null!=e&&""!==e&&"hasOwnProperty"!==e&&a.test("."+e)}function r(e,r){if(!n(r))throw o("badmember",'Dotted member path "@{0}" is invalid.',r);for(var i=r.split("."),a=0,s=i.length;a/g,">")}function m(e,t){var n=!1,r=i(e,e.push);return{start:function(e,i){e=u(e),!n&&A[e]&&(n=e),n||!0!==D[e]||(r("<"),r(e),a(i,function(n,i){var o=u(i),a="img"===e&&"src"===o||"background"===o;!0!==F[o]||!0===T[o]&&!t(n,a)||(r(" "),r(i),r('="'),r(p(n)),r('"'))}),r(">"))},end:function(e){e=u(e),n||!0!==D[e]||!0===_[e]||(r("")),e==n&&(n=!1)},chars:function(e){n||r(p(e))}}}function v(t){for(;t;){if(t.nodeType===e.Node.ELEMENT_NODE)for(var n=t.attributes,r=0,i=n.length;r"\u201d\u2019]/i);)d=f[0],f[2]||f[4]||(d=(f[3]?"http://":"mailto:")+d),h=f.index,c(m.substr(0,h)),function(e,t){var n,r=p(e);v.push("'),c(t),v.push("")}(d,f[0].replace(/^mailto:/i,"")),m=m.substring(h+f[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){angular.module("ui.sortable",[]).value("uiSortableConfig",{items:"> [ng-repeat],> [data-ng-repeat],> [x-ng-repeat]"}).directive("uiSortable",["uiSortableConfig","$timeout","$log",function(e,t,n){return{require:"?ngModel",scope:{ngModel:"=",uiSortable:"=",create:"&uiSortableCreate",start:"&uiSortableStart",activate:"&uiSortableActivate",beforeStop:"&uiSortableBeforeStop",update:"&uiSortableUpdate",remove:"&uiSortableRemove",receive:"&uiSortableReceive",deactivate:"&uiSortableDeactivate",stop:"&uiSortableStop"},link:function(r,i,o,a){function s(e,t){var n="function"==typeof e,r="function"==typeof t;return n&&r?function(){e.apply(this,arguments),t.apply(this,arguments)}:r?t:e}function u(e){var t=e.data("ui-sortable");return t&&"object"==typeof t&&"ui-sortable"===t.widgetFullName?t:null}function l(t,n){return C[t]?("stop"===t&&(n=s(n,function(){r.$apply()}),n=s(n,g)),n=s(C[t],n)):S[t]&&(n=S[t](n)),n||"items"!==t&&"ui-model-items"!==t||(n=e.items),n}function c(e,t,n){function r(e,t){t in k||(k[t]=null)}angular.forEach(C,r);var i=null;if(t){var o;angular.forEach(t,function(t,n){if(!(e&&n in e)){if(n in x)return void(k[n]="ui-floating"===n?"auto":l(n,void 0));o||(o=angular.element.ui.sortable().options);var r=o[n];r=l(n,r),i||(i={}),i[n]=r,k[n]=r}})}return angular.forEach(e,function(e,t){if(t in x)return"ui-floating"!==t||!1!==e&&!0!==e||!n||(n.floating=e),void(k[t]=l(t,e));e=l(t,e),i||(i={}),i[t]=e,k[t]=e}),i}function f(e){var t=e.sortable("option","placeholder");if(t&&t.element&&"function"==typeof t.element){var n=t.element();return n=angular.element(n)}return null}function d(e,t){var n=k["ui-model-items"].replace(/[^,]*>/g,"");return e.find('[class="'+t.attr("class")+'"]:not('+n+")")}function h(e,t){var n=e.sortable("option","helper");return"clone"===n||"function"==typeof n&&t.item.sortable.isCustomHelperUsed()}function p(e,t,n){var r=null;return h(e,t)&&"parent"===e.sortable("option","appendTo")&&(r=n.last()),r}function m(e){return/left|right/.test(e.css("float"))||/inline|table-cell/.test(e.css("display"))}function v(e,t){for(var n=0;n=0&&(t-1 in e||e instanceof Array)||"function"==typeof e.item)}function r(e,t,i){var o,a;if(e)if(x(e))for(o in e)"prototype"!==o&&"length"!==o&&"name"!==o&&e.hasOwnProperty(o)&&t.call(i,e[o],o,e);else if(oi(e)||n(e)){var s="object"!=typeof e;for(o=0,a=e.length;o=0&&e.splice(n,1),n}function j(e,t){function n(e,t){var n,r=t.$$hashKey;if(oi(e))for(var o=0,a=e.length;o2?V(arguments,2):[];return!x(t)||t instanceof RegExp?t:n.length?function(){return arguments.length?t.apply(e,z(n,arguments,0)):t.apply(e,n)}:function(){return arguments.length?t.apply(e,arguments):t.call(e)}}function H(t,n){var r=n;return"string"==typeof t&&"$"===t.charAt(0)&&"$"===t.charAt(1)?r=void 0:S(n)?r="$WINDOW":n&&e.document===n?r="$DOCUMENT":E(n)&&(r="$SCOPE"),r}function Y(e,t){if(!g(e))return w(t)||(t=t?2:null),JSON.stringify(e,H,t)}function W(e){return _(e)?JSON.parse(e):e}function G(e,t){e=e.replace(fi,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return ii(n)?t:n}function Z(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=e.getTimezoneOffset();return Z(e,n*(G(t,r)-r))}function Q(e){e=Wr(e).clone();try{e.empty()}catch(e){}var t=Wr("
    ").append(e).html();try{return e[0].nodeType===gi?zr(t):t.match(/^(<[^>]+>)/)[1].replace(/^<([\w-]+)/,function(e,t){return"<"+zr(t)})}catch(e){return zr(t)}}function K(e){try{return decodeURIComponent(e)}catch(e){}}function X(e){var t={};return r((e||"").split("&"),function(e){var n,r,i;e&&(r=e=e.replace(/\+/g,"%20"),n=e.indexOf("="),-1!==n&&(r=e.substring(0,n),i=e.substring(n+1)),r=K(r),y(r)&&(i=!y(i)||K(i),Ur.call(t,r)?oi(t[r])?t[r].push(i):t[r]=[t[r],i]:t[r]=i))}),t}function ee(e){var t=[];return r(e,function(e,n){oi(e)?r(e,function(e){t.push(ne(n,!0)+(!0===e?"":"="+ne(e,!0)))}):t.push(ne(n,!0)+(!0===e?"":"="+ne(e,!0)))}),t.length?t.join("&"):""}function te(e){return ne(e,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function ne(e,t){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%20/g,t?"%20":"+")}function re(e,t){var n,r,i=di.length;for(r=0;r protocol indicates an extension, document.location.href does not match.");a.strictDi=null!==re(i,"strict-di"),n(i,o?[o]:[],a)}}function oe(t,n,i){$(i)||(i={}),i=l({strictDi:!1},i);var o=function(){if(t=Wr(t),t.injector()){var r=t[0]===e.document?"document":Q(t);throw ti("btstrpd","App already bootstrapped with this element '{0}'",r.replace(//,">"))}n=n||[],n.unshift(["$provide",function(e){e.value("$rootElement",t)}]),i.debugInfoEnabled&&n.push(["$compileProvider",function(e){e.debugInfoEnabled(!0)}]),n.unshift("ng");var o=at(n,i.strictDi);return o.invoke(["$rootScope","$rootElement","$compile","$injector",function(e,t,n,r){e.$apply(function(){t.data("$injector",r),n(t)(e)})}]),o},a=/^NG_ENABLE_DEBUG_INFO!/,s=/^NG_DEFER_BOOTSTRAP!/;if(e&&a.test(e.name)&&(i.debugInfoEnabled=!0,e.name=e.name.replace(a,"")),e&&!s.test(e.name))return o();e.name=e.name.replace(s,""),ni.resumeBootstrap=function(e){return r(e,function(e){n.push(e)}),o()},x(ni.resumeDeferredBootstrap)&&ni.resumeDeferredBootstrap()}function ae(){e.name="NG_ENABLE_DEBUG_INFO!"+e.name,e.location.reload()}function se(e){var t=ni.element(e).injector();if(!t)throw ti("test","no injector found for element argument to getTestability");return t.get("$$testability")}function ue(e,t){return t=t||"_",e.replace(pi,function(e,n){return(n?t:"")+e.toLowerCase()})}function le(e,t,n){if(!e)throw ti("areq","Argument '{0}' is {1}",t||"?",n||"required");return e}function ce(e,t,n){return n&&oi(e)&&(e=e[e.length-1]),le(x(e),t,"not a function, got "+(e&&"object"==typeof e?e.constructor.name||"Object":typeof e)),e}function fe(e,t){if("hasOwnProperty"===e)throw ti("badname","hasOwnProperty is not a valid {0} name",t)}function de(e,t,n){if(!t)return e;for(var r,i=t.split("."),o=e,a=i.length,s=0;s=0)return"...";t.push(n)}return n})}function $e(e){return"function"==typeof e?e.toString().replace(/ \{[\s\S]*$/,""):g(e)?"undefined":"string"!=typeof e?ye(e):e}function be(){return++ki}function _e(e){return ke(e.replace(Ci,"ms-"))}function we(e,t){return t.toUpperCase()}function ke(e){return e.replace(xi,we)}function xe(e){return!Di.test(e)}function Ce(e){var t=e.nodeType;return t===vi||!t||t===$i}function Se(e){for(var t in wi[e.ng339])return!0;return!1}function Ee(e){for(var t=0,n=e.length;t")+o[2],a=o[0];a--;)n=n.lastChild;u=z(u,n.childNodes),n=s.firstChild,n.textContent=""}return s.textContent="",s.innerHTML="",r(u,function(e){s.appendChild(e)}),s}function De(t,n){n=n||e.document;var r;return(r=Ai.exec(t))?[n.createElement(r[1])]:(r=Ae(t,n))?r.childNodes:[]}function Te(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(_(e)&&(e=si(e),t=!0),!(this instanceof Me)){if(t&&"<"!==e.charAt(0))throw Ei("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new Me(e)}t?Ue(this,De(e)):x(e)?We(e):Ue(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;r0||(e.removeEventListener(t,s),delete a[t])};r(t.split(" "),function(e){u(e),Si[e]&&u(Si[e])})}else for(t in a)"$destroy"!==t&&e.removeEventListener(t,s),delete a[t]}function Ie(e,t){var n=e.ng339,r=n&&wi[n];if(r){if(t)return void delete r.data[t];r.handle&&(r.events.$destroy&&r.handle({},"$destroy"),Le(e)),delete wi[n],e.ng339=void 0}}function Re(e,t){var n=e.ng339,r=n&&wi[n];return t&&!r&&(e.ng339=n=be(),r=wi[n]={events:{},data:{},handle:void 0}),r}function Ne(e,t,n){if(Ce(e)){var r,i=y(n),o=!i&&t&&!$(t),a=!t,s=Re(e,!o),u=s&&s.data;if(i)u[ke(t)]=n;else{if(a)return u;if(o)return u&&u[ke(t)];for(r in t)u[ke(r)]=t[r]}}}function Pe(e,t){return!!e.getAttribute&&(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+t+" ")>-1}function qe(e,t){t&&e.setAttribute&&r(t.split(" "),function(t){e.setAttribute("class",si((" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").replace(" "+si(t)+" "," ")))})}function je(e,t){if(t&&e.setAttribute){var n=(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ");r(t.split(" "),function(e){e=si(e),-1===n.indexOf(" "+e+" ")&&(n+=e+" ")}),e.setAttribute("class",si(n))}}function Ue(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;r1&&(i=ge(i));for(var u=0;uc&&this.remove(h.key),t}},get:function(e){if(c";var r=Se.firstChild.attributes,i=r[0];r.removeNamedItem(i.name),i.value=n,e.attributes.setNamedItem(i)}function z(e,t){try{e.addClass(t)}catch(e){}}function H(e,t,n,r,i){e instanceof Wr||(e=Wr(e));var o=W(e,t,e,n,r,i);H.$$addScopeClass(e);var a=null;return function(t,n,r){if(!e)throw Xi("multilink","This element has already been linked.");le(t,"scope"),i&&i.needsNewScope&&(t=t.$parent.$new()),r=r||{};var s=r.parentBoundTranscludeFn,u=r.transcludeControllers,l=r.futureParentElement;s&&s.$$boundTransclude&&(s=s.$$boundTransclude),a||(a=Y(l));var c;if(c="html"!==a?Wr(ve(a,Wr("
    ").append(e).html())):n?Li.clone.call(e):e,u)for(var f in u)c.data("$"+f+"Controller",u[f].instance);return H.$$addScopeInfo(c,t),n&&n(c,t),o&&o(t,c,c,s),n||(e=o=null),c}}function Y(e){var t=e&&e[0];return t&&"foreignobject"!==N(t)&&Xr.call(t).match(/SVG/)?"svg":"html"}function W(e,t,n,r,i,o){function a(e,n,r,i){var o,a,s,u,l,c,f,d,m;if(h){var v=n.length;for(m=new Array(v),l=0;l0);else r.push(e);return Wr(r)}function ee(e,t,n){return function(r,i,o,a,s){return i=X(i[0],t,n),e(r,i,o,a,s)}}function te(e,t,n,r,i,o){var a;return e?H(t,n,r,i,o):function(){return a||(a=H(t,n,r,i,o),t=n=o=null),a.apply(this,arguments)}}function ne(e,t,n,o,a,s,u,c,f){function d(e,t,n,r){e&&(n&&(e=ee(e,n,r)),e.require=p.require,e.directiveName=m,(C===p||p.$$isolateScope)&&(e=be(e,{isolateScope:!0})),u.push(e)),t&&(n&&(t=ee(t,n,r)),t.require=p.require,t.directiveName=m,(C===p||p.$$isolateScope)&&(t=be(t,{isolateScope:!0})),c.push(t))}function h(e,o,a,s,f){function d(e,t,n,r){var i;if(E(e)||(r=n,n=t,t=e,e=void 0),O&&(i=b),n||(n=O?A.parent():A),!r)return f(e,t,i,n,q);var o=f.$$slots[r];if(o)return o(e,t,i,n,q);if(g(o))throw Xi("noslot",'No parent directive that requires a transclusion with slot name "{0}". Element: {1}',r,Q(A))}var h,p,m,v,y,b,_,A,D,M;t===a?(D=n,A=n.$$element):(A=Wr(a),D=new P(A,n)),y=o,C?v=o.$new(!0):w&&(y=o.$parent),f&&(_=d,_.$$boundTransclude=f,_.isSlotFilled=function(e){return!!f.$$slots[e]}),k&&(b=ie(A,D,_,k,v,o,C)),C&&(H.$$addScopeInfo(A,v,!0,!(S&&(S===C||S===C.$$originalDirective))),H.$$addScopeClass(A,!0),v.$$isolateBindings=C.$$isolateBindings,M=we(o,D,v,v.$$isolateBindings,C),M.removeWatches&&v.$on("$destroy",M.removeWatches));for(var F in b){var L=k[F],I=b[F],R=L.$$bindings.bindToController;if(T){I.bindingInfo=R?we(y,D,I.instance,R,L):{};var N=I();N!==I.instance&&(I.instance=N,A.data("$"+L.name+"Controller",N),I.bindingInfo.removeWatches&&I.bindingInfo.removeWatches(),I.bindingInfo=we(y,D,I.instance,R,L))}else I.instance=I(),A.data("$"+L.name+"Controller",I.instance),I.bindingInfo=we(y,D,I.instance,R,L)}for(r(k,function(e,t){var n=e.require;e.bindToController&&!oi(n)&&$(n)&&l(b[t].instance,re(t,n,A,b))}),r(b,function(e){var t=e.instance;if(x(t.$onChanges))try{t.$onChanges(e.bindingInfo.initialChanges)}catch(e){i(e)}if(x(t.$onInit))try{t.$onInit()}catch(e){i(e)}x(t.$doCheck)&&(y.$watch(function(){t.$doCheck()}),t.$doCheck()),x(t.$onDestroy)&&y.$on("$destroy",function(){t.$onDestroy()})}),h=0,p=u.length;h=0;h--)m=c[h],_e(m,m.isolateScope?v:o,A,D,m.require&&re(m.directiveName,m.require,A,b),_);r(b,function(e){var t=e.instance;x(t.$postLink)&&t.$postLink()})}f=f||{};for(var p,m,v,y,b,_=-Number.MAX_VALUE,w=f.newScopeDirective,k=f.controllerDirectives,C=f.newIsolateScopeDirective,S=f.templateDirective,A=f.nonTlbTranscludeDirective,D=!1,M=!1,O=f.hasElementTranscludeDirective,F=n.$$element=Wr(t),L=s,I=o,R=!1,q=!1,j=0,U=e.length;jp.priority)break;if(b=p.scope,b&&(p.templateUrl||($(b)?(he("new/isolated scope",C||w,p,F),C=p):he("new/isolated scope",C,p,F)),w=w||p),m=p.name,!R&&(p.replace&&(p.templateUrl||p.template)||p.transclude&&!p.$$tlb)){for(var W,G=j+1;W=e[G++];)if(W.transclude&&!W.$$tlb||W.replace&&(W.templateUrl||W.template)){q=!0;break}R=!0}if(!p.templateUrl&&p.controller&&(k=k||pe(),he("'"+m+"' controller",k[m],p,F),k[m]=p),b=p.transclude)if(D=!0,p.$$tlb||(he("transclusion",A,p,F),A=p),"element"===b)O=!0,_=p.priority,v=F,F=n.$$element=Wr(H.$$createComment(m,n[m])),t=F[0],$e(a,V(v),t),v[0].$$parentNode=v[0].parentNode,I=te(q,v,o,_,L&&L.name,{nonTlbTranscludeDirective:A});else{var Z=pe();if($(b)){v=[];var K=pe(),ne=pe();r(b,function(e,t){var n="?"===e.charAt(0);e=n?e.substring(1):e,K[e]=t,Z[t]=null,ne[t]=n}),r(F.contents(),function(e){var t=K[$t(N(e))];t?(ne[t]=!0,Z[t]=Z[t]||[],Z[t].push(e)):v.push(e)}),r(ne,function(e,t){if(!e)throw Xi("reqslot","Required transclusion slot `{0}` was not filled.",t)});for(var ae in Z)Z[ae]&&(Z[ae]=te(q,Z[ae],o))}else v=Wr(Oe(t)).contents();F.empty(),I=te(q,v,o,void 0,void 0,{needsNewScope:p.$$isolateScope||p.$$newScope}),I.$$slots=Z}if(p.template)if(M=!0,he("template",S,p,F),S=p,b=x(p.template)?p.template(F,n):p.template,b=Fe(b),p.replace){if(L=p,v=xe(b)?[]:_t(ve(p.templateNamespace,si(b))),t=v[0],1!==v.length||t.nodeType!==vi)throw Xi("tplrt","Template for directive '{0}' must have exactly one root element. {1}",m,"");$e(a,F,t);var se={$attr:{}},ue=J(t,[],se),le=e.splice(j+1,e.length-(j+1));(C||w)&&oe(ue,C,w),e=e.concat(ue).concat(le),ce(n,se),U=e.length}else F.html(b);if(p.templateUrl)M=!0,he("template",S,p,F),S=p,p.replace&&(L=p),h=fe(e.splice(j,e.length-j),F,n,a,D&&I,u,c,{controllerDirectives:k,newScopeDirective:w!==p&&w,newIsolateScopeDirective:C,templateDirective:S,nonTlbTranscludeDirective:A}),U=e.length;else if(p.compile)try{y=p.compile(F,n,I);var de=p.$$originalDirective||p;x(y)?d(null,B(de,y),z,Y):y&&d(B(de,y.pre),B(de,y.post),z,Y)}catch(e){i(e,Q(F))}p.terminal&&(h.terminal=!0,_=Math.max(_,p.priority))}return h.scope=w&&!0===w.scope,h.transcludeOnThisElement=D,h.templateOnThisElement=M,h.transclude=I,f.hasElementTranscludeDirective=O,h}function re(e,t,n,i){var o;if(_(t)){var a=t.match(C),s=t.substring(a[0].length),u=a[1]||a[3],l="?"===a[2];if("^^"===u?n=n.parent():(o=i&&i[s],o=o&&o.instance),!o){var c="$"+s+"Controller";o=u?n.inheritedData(c):n.data(c)}if(!o&&!l)throw Xi("ctreq","Controller '{0}', required by directive '{1}', can't be found!",s,e)}else if(oi(t)){o=[];for(var f=0,d=t.length;fc.priority)&&-1!==c.restrict.indexOf(r)){if(s&&(c=d(c,{$$start:s,$$end:u})),!c.$$bindings){var y=c.$$bindings=a(c,c.name);$(y.isolateScope)&&(c.$$isolateBindings=y.isolateScope)}e.push(c),l=c}return l}function se(e){if(f.hasOwnProperty(e))for(var n,r=t.get(e+v),i=0,o=r.length;i"+n+"",r.childNodes[0].childNodes;default:return n}}function ge(e,t){if("srcdoc"===t)return m.HTML;var n=N(e);if("src"===t||"ngSrc"===t){if(-1===["img","video","audio","source","track"].indexOf(n))return m.RESOURCE_URL}else if("xlinkHref"===t||"form"===n&&"action"===t||"link"===n&&"href"===t)return m.RESOURCE_URL}function ye(e,t,r,i,o){var a=ge(e,i),s=!o,u=k[i]||o,l=n(r,s,a,u);if(l){if("multiple"===i&&"select"===N(e))throw Xi("selmulti","Binding to the 'multiple' attribute is not supported. Element: {0}",Q(e));if(S.test(i))throw Xi("nodomevents","Interpolations for HTML DOM event attributes are disallowed. Please use the ng- versions (such as ng-click instead of onclick) instead.");t.push({priority:100,compile:function(){return{pre:function(e,t,o){var s=o.$$observers||(o.$$observers=pe()),c=o[i];c!==r&&(l=c&&n(c,!0,a,u),r=c),l&&(o[i]=l(e),(s[i]||(s[i]=[])).$$inter=!0,(o.$$observers&&o.$$observers[i].$$scope||e).$watch(l,function(e,t){"class"===i&&e!==t?o.$updateClass(e,t):o.$set(i,e)}))}}}})}}function $e(t,n,r){var i,o,a=n[0],s=n.length,u=a.parentNode;if(t)for(i=0,o=t.length;i0&&A.addClass(this.$$element,e)},$removeClass:function(e){e&&e.length>0&&A.removeClass(this.$$element,e)},$updateClass:function(e,t){var n=bt(e,t);n&&n.length&&A.addClass(this.$$element,n);var r=bt(t,e);r&&r.length&&A.removeClass(this.$$element,r)},$set:function(e,t,n,o){var a,s=this.$$element[0],u=Ge(s,e),l=Ze(e),c=e;if(u?(this.$$element.prop(e,t),o=u):l&&(this[l]=t,c=l),this[e]=t,o?this.$attr[e]=o:(o=this.$attr[e])||(this.$attr[e]=o=ue(e,"-")),"a"===(a=N(this.$$element))&&("href"===e||"xlinkHref"===e)||"img"===a&&"src"===e)this[e]=t=I(t,"src"===e);else if("img"===a&&"srcset"===e&&y(t)){for(var f="",d=si(t),h=/\s/.test(d)?/(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/:/(,)/,p=d.split(h),m=Math.floor(p.length/2),v=0;v0?" ":"")+a}return n}function _t(e){e=Wr(e);var t=e.length;if(t<=1)return e;for(;t--;){var n=e[t];(n.nodeType===yi||n.nodeType===gi&&""===n.nodeValue.trim())&&Qr.call(e,t,1)}return e}function wt(e,t){if(t&&_(t))return t;if(_(e)){var n=io.exec(e);if(n)return n[3]}}function kt(){var e={},n=!1;this.has=function(t){return e.hasOwnProperty(t)},this.register=function(t,n){fe(t,"controller"),$(t)?l(e,t):e[t]=n},this.allowGlobals=function(){n=!0},this.$get=["$injector","$window",function(r,i){function o(e,n,r,i){if(!e||!$(e.$scope))throw t("$controller")("noscp","Cannot export controller '{0}' as '{1}'! No $scope object provided via `locals`.",i,n);e.$scope[n]=r}return function(t,a,s,u){var c,f,d,h;if(s=!0===s,u&&_(u)&&(h=u),_(t)){if(!(f=t.match(io)))throw ro("ctrlfmt","Badly formed controller string '{0}'. Must match `__name__ as __id__` or `__name__`.",t);if(d=f[1],h=h||f[3],!(t=e.hasOwnProperty(d)?e[d]:de(a.$scope,d,!0)||(n?de(i,d,!0):void 0)))throw ro("ctrlreg","The controller with the name '{0}' is not registered.",d);ce(t,d,!0)}if(s){var p=(oi(t)?t[t.length-1]:t).prototype;return c=Object.create(p||null),h&&o(a,h,c,d||t.name),l(function(){var e=r.invoke(t,c,a,d);return e!==c&&($(e)||x(e))&&(c=e,h&&o(a,h,c,d||t.name)),c},{instance:c,identifier:h})}return c=r.instantiate(t,a,d),h&&o(a,h,c,d||t.name),c}}]}function xt(){this.$get=["$window",function(e){return Wr(e.document)}]}function Ct(){this.$get=["$document","$rootScope",function(e,t){function n(){i=r.hidden}var r=e[0],i=r&&r.hidden;return e.on("visibilitychange",n),t.$on("$destroy",function(){e.off("visibilitychange",n)}),function(){return i}}]}function St(){this.$get=["$log",function(e){return function(t,n){e.error.apply(e,arguments)}}]}function Et(e){return $(e)?k(e)?e.toISOString():Y(e):e}function At(){this.$get=function(){return function(e){if(!e)return"";var t=[];return i(e,function(e,n){null===e||g(e)||(oi(e)?r(e,function(e){t.push(ne(n)+"="+ne(Et(e)))}):t.push(ne(n)+"="+ne(Et(e))))}),t.join("&")}}}function Dt(){this.$get=function(){return function(e){function t(e,o,a){null===e||g(e)||(oi(e)?r(e,function(e,n){t(e,o+"["+($(e)?n:"")+"]")}):$(e)&&!k(e)?i(e,function(e,n){t(e,o+(a?"":"[")+n+(a?"":"]"))}):n.push(ne(o)+"="+ne(Et(e))))}if(!e)return"";var n=[];return t(e,"",!0),n.join("&")}}}function Tt(e,t){if(_(e)){var n=e.replace(co,"").trim();if(n){var r=t("Content-Type");(r&&0===r.indexOf(ao)||Mt(n))&&(e=W(n))}}return e}function Mt(e){var t=e.match(uo);return t&&lo[t[0]].test(e)}function Ot(e){function t(e,t){e&&(i[e]=i[e]?i[e]+", "+t:t)}var n,i=pe();return _(e)?r(e.split("\n"),function(e){n=e.indexOf(":"),t(zr(si(e.substr(0,n))),si(e.substr(n+1)))}):$(e)&&r(e,function(e,n){t(zr(n),si(e))}),i}function Ft(e){var t;return function(n){if(t||(t=Ot(e)),n){var r=t[zr(n)];return void 0===r&&(r=null),r}return t}}function Lt(e,t,n,i){return x(i)?i(e,t,n):(r(i,function(r){e=r(e,t,n)}),e)}function It(e){return 200<=e&&e<300}function Rt(){var e=this.defaults={transformResponse:[Tt],transformRequest:[function(e){return!$(e)||A(e)||T(e)||D(e)?e:Y(e)}],headers:{common:{Accept:"application/json, text/plain, */*"},post:ge(so),put:ge(so),patch:ge(so)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",paramSerializer:"$httpParamSerializer",jsonpCallbackParam:"callback"},n=!1;this.useApplyAsync=function(e){return y(e)?(n=!!e,this):n};var i=this.interceptors=[];this.$get=["$browser","$httpBackend","$$cookieReader","$cacheFactory","$rootScope","$q","$injector","$sce",function(o,a,s,u,c,f,d,p){function m(n){function i(e,t){for(var n=0,r=t.length;n=-1?n:0,(It(n)?C.resolve:C.reject)({data:e,status:n,headers:Ft(r),config:t,statusText:i})}function d(e){l(e.data,e.status,ge(e.headers()),e.statusText)}function h(){var e=m.pendingRequests.indexOf(t);-1!==e&&m.pendingRequests.splice(e,1)}var v,x,C=f.defer(),S=C.promise,E=t.headers,A="jsonp"===zr(t.method),D=t.url;if(A?D=p.getTrustedResourceUrl(D):_(D)||(D=p.valueOf(D)),D=b(D,t.paramSerializer(t.params)),A&&(D=w(D,t.jsonpCallbackParam)),m.pendingRequests.push(t),S.then(h,h),!t.cache&&!e.cache||!1===t.cache||"GET"!==t.method&&"JSONP"!==t.method||(v=$(t.cache)?t.cache:$(e.cache)?e.cache:k),v&&(x=v.get(D),y(x)?O(x)?x.then(d,d):oi(x)?l(x[1],x[0],ge(x[2]),x[3]):l(x,200,{},"OK"):v.put(D,S)),g(x)){var T=In(t.url)?s()[t.xsrfCookieName||e.xsrfCookieName]:void 0;T&&(E[t.xsrfHeaderName||e.xsrfHeaderName]=T),a(t.method,D,i,u,E,t.timeout,t.withCredentials,t.responseType,o(t.eventHandlers),o(t.uploadEventHandlers))}return S}function b(e,t){return t.length>0&&(e+=(-1===e.indexOf("?")?"?":"&")+t),e}function w(e,t){if(/[&?][^=]+=JSON_CALLBACK/.test(e))throw fo("badjsonp",'Illegal use of JSON_CALLBACK in url, "{0}"',e);if(new RegExp("[&?]"+t+"=").test(e))throw fo("badjsonp",'Illegal use of callback param, "{0}", in url, "{1}"',t,e);return e+=(-1===e.indexOf("?")?"?":"&")+t+"=JSON_CALLBACK"}var k=u("$http");e.paramSerializer=_(e.paramSerializer)?d.get(e.paramSerializer):e.paramSerializer;var C=[];return r(i,function(e){C.unshift(_(e)?d.get(e):d.invoke(e))}),m.pendingRequests=[],function(e){r(arguments,function(e){m[e]=function(t,n){return m(l({},n||{},{method:e,url:t}))}})}("get","delete","head","jsonp"),function(e){r(arguments,function(e){m[e]=function(t,n,r){return m(l({},r||{},{method:e,url:t,data:n}))}})}("post","put","patch"),m.defaults=e,m}]}function Nt(){this.$get=function(){return function(){return new e.XMLHttpRequest}}}function Pt(){this.$get=["$browser","$jsonpCallbacks","$document","$xhrFactory",function(e,t,n,r){return qt(e,r,e.defer,t,n[0])}]}function qt(e,t,n,i,o){function a(e,t,n){e=e.replace("JSON_CALLBACK",t);var r=o.createElement("script"),a=null;return r.type="text/javascript",r.src=e,r.async=!0,a=function(e){r.removeEventListener("load",a), +r.removeEventListener("error",a),o.body.removeChild(r),r=null;var s=-1,u="unknown";e&&("load"!==e.type||i.wasCalled(t)||(e={type:"error"}),u=e.type,s="error"===e.type?404:200),n&&n(s,u)},r.addEventListener("load",a),r.addEventListener("error",a),o.body.appendChild(r),a}return function(o,s,u,l,c,f,d,h,p,m){function v(){_&&_(),w&&w.abort()}function $(e,t,r,i,o){y(x)&&n.cancel(x),_=w=null,e(t,r,i,o)}if(s=s||e.url(),"jsonp"===zr(o))var b=i.createCallback(s),_=a(s,b,function(e,t){var n=200===e&&i.getResponse(b);$(l,e,n,"",t),i.removeCallback(b)});else{var w=t(o,s);w.open(o,s,!0),r(c,function(e,t){y(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"===Ln(s).protocol?404:0),$(l,n,t,w.getAllResponseHeaders(),e)};var k=function(){$(l,-1,null,null,"")};if(w.onerror=k,w.onabort=k,w.ontimeout=k,r(p,function(e,t){w.addEventListener(t,e)}),r(m,function(e,t){w.upload.addEventListener(t,e)}),d&&(w.withCredentials=!0),h)try{w.responseType=h}catch(e){if("json"!==h)throw e}w.send(g(u)?null:u)}if(f>0)var x=n(v,f);else O(f)&&f.then(v)}}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,t,n,r){var i=e.$watch(function(e){return i(),r(e)},t,n);return i}function u(o,u,d,h){function p(e){try{return e=T(e),h&&!y(e)?e:me(e)}catch(e){r(ho.interr(o,e))}}if(!o.length||-1===o.indexOf(e)){var v;if(!u){v=m(a(o)),v.exp=o,v.expressions=[],v.$$watchDelegate=s}return v}h=!!h;for(var $,b,_,w=0,k=[],C=[],S=o.length,E=[],A=[];w1&&ho.throwNoconcat(o),!u||k.length){var D=function(e){for(var t=0,n=k.length;t4,d=f?V(arguments,4):[],h=t.setInterval,p=t.clearInterval,m=0,v=y(l)&&!l,g=(v?r:n).defer(),$=g.promise;return u=y(u)?u:0,$.$$intervalId=h(function(){v?i.defer(c):e.$evalAsync(c),g.notify(m++),u>0&&m>=u&&(g.resolve(m),p($.$$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].promise.catch(h),a[e.$$intervalId].reject("canceled"),t.clearInterval(e.$$intervalId),delete a[e.$$intervalId],!0)},o}]}function zt(e){for(var t=e.split("/"),n=t.length;n--;)t[n]=te(t[n]);return t.join("/")}function Vt(e,t){var n=Ln(e);t.$$protocol=n.protocol,t.$$host=n.hostname,t.$$port=f(n.port)||vo[n.protocol]||null}function Bt(e,t){if(yo.test(e))throw go("badpath",'Invalid url "{0}".',e);var n="/"!==e.charAt(0);n&&(e="/"+e);var r=Ln(e);t.$$path=decodeURIComponent(n&&"/"===r.pathname.charAt(0)?r.pathname.substring(1):r.pathname),t.$$search=X(r.search),t.$$hash=decodeURIComponent(r.hash),t.$$path&&"/"!==t.$$path.charAt(0)&&(t.$$path="/"+t.$$path)}function Ht(e,t){return e.slice(0,t.length)===t}function Yt(e,t){if(Ht(t,e))return t.substr(e.length)}function Wt(e){var t=e.indexOf("#");return-1===t?e:e.substr(0,t)}function Gt(e){return e.replace(/(#.+)|#$/,"$1")}function Zt(e){return e.substr(0,Wt(e).lastIndexOf("/")+1)}function Jt(e){return e.substring(0,e.indexOf("/",e.indexOf("//")+2))}function Qt(e,t,n){this.$$html5=!0,n=n||"",Vt(e,this),this.$$parse=function(e){var n=Yt(t,e);if(!_(n))throw go("ipthprfx",'Invalid url "{0}", missing path prefix "{1}".',e,t);Bt(n,this),this.$$path||(this.$$path="/"),this.$$compose()},this.$$compose=function(){var e=ee(this.$$search),n=this.$$hash?"#"+te(this.$$hash):"";this.$$url=zt(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 y(o=Yt(e,r))?(a=o,s=n&&y(o=Yt(n,o))?t+(Yt("/",o)||o):e+a):y(o=Yt(t,r))?s=t+o:t===r+"/"&&(s=t),s&&this.$$parse(s),!!s}}function Kt(e,t,n){Vt(e,this),this.$$parse=function(r){var i,o=Yt(e,r)||Yt(t,r);g(o)||"#"!==o.charAt(0)?this.$$html5?i=o:(i="",g(o)&&(e=r,this.replace())):(i=Yt(n,o),g(i)&&(i=o)),Bt(i,this),this.$$path=function(e,t,n){var r,i=/^\/[A-Z]:(\/.*)/;return Ht(t,n)&&(t=t.replace(n,"")),i.exec(t)?e:(r=i.exec(e),r?r[1]:e)}(this.$$path,i,e),this.$$compose()},this.$$compose=function(){var t=ee(this.$$search),r=this.$$hash?"#"+te(this.$$hash):"";this.$$url=zt(this.$$path)+(t?"?"+t:"")+r,this.$$absUrl=e+(this.$$url?n+this.$$url:"")},this.$$parseLinkUrl=function(t,n){return Wt(e)===Wt(t)&&(this.$$parse(t),!0)}}function Xt(e,t,n){this.$$html5=!0,Kt.apply(this,arguments),this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;var o,a;return e===Wt(r)?o=r:(a=Yt(t,r))?o=e+n+a:t===r+"/"&&(o=t),o&&this.$$parse(o),!!o},this.$$compose=function(){var t=ee(this.$$search),r=this.$$hash?"#"+te(this.$$hash):"";this.$$url=zt(this.$$path)+(t?"?"+t:"")+r,this.$$absUrl=e+n+this.$$url}}function en(e){return function(){return this[e]}}function tn(e,t){return function(n){return g(n)?this[e]:(this[e]=t(n),this.$$compose(),this)}}function nn(){var e="!",t={enabled:!1,requireBase:!0,rewriteLinks:!0};this.hashPrefix=function(t){return y(t)?(e=t,this):e},this.html5Mode=function(e){return M(e)?(t.enabled=e,this):$(e)?(M(e.enabled)&&(t.enabled=e.enabled),M(e.requireBase)&&(t.requireBase=e.requireBase),(M(e.rewriteLinks)||_(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(e){throw l.url(i),l.$$state=o,e}}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 go("nobase","$location in HTML5 mode requires a tag to be present!");f=Jt(h)+(d||"/"),c=i.history?Qt:Xt}else f=Wt(h),c=Kt;var p=Zt(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){var i=t.rewriteLinks;if(i&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey&&2!==e.which&&2!==e.button){for(var s=Wr(e.target);"a"!==N(s[0]);)if(s[0]===o[0]||!(s=s.parent())[0])return;if(!_(i)||!g(s.attr(i))){var u=s.prop("href"),c=s.attr("href")||s.attr("xlink:href");$(u)&&"[object SVGAnimatedString]"===u.toString()&&(u=Ln(u.animVal).href),m.test(u)||!u||s.attr("target")||e.isDefaultPrevented()||l.$$parseLinkUrl(u,c)&&(e.preventDefault(),l.absUrl()!==r.url()&&(n.$apply(),a.angular["ff-684208-preventDefault"]=!0))}}}),Gt(l.absUrl())!==Gt(h)&&r.url(l.absUrl(),!0);var v=!0;return r.onUrlChange(function(e,t){if(!Ht(e,p))return void(a.location.href=e);n.$evalAsync(function(){var r,i=l.absUrl(),o=l.$$state;e=Gt(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)))}),n.$$phase||n.$digest()}),n.$watch(function(){var e=Gt(r.url()),t=Gt(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 rn(){var e=!0,t=this;this.debugEnabled=function(t){return y(t)?(e=t,this):e},this.$get=["$window",function(n){function i(e){return e instanceof Error&&(e.stack?e=e.message&&-1===e.stack.indexOf(e.message)?"Error: "+e.message+"\n"+e.stack:e.stack:e.sourceURL&&(e=e.message+"\n"+e.sourceURL+":"+e.line)),e}function o(e){var t=n.console||{},o=t[e]||t.log||h,a=!1;try{a=!!o.apply}catch(e){}return a?function(){var e=[];return r(arguments,function(t){e.push(i(t))}),o.apply(t,e)}:function(e,t){o(e,null==t?"":t)}}return{log:o("log"),info:o("info"),warn:o("warn"),error:o("error"),debug:function(){var n=o("debug");return function(){e&&n.apply(t,arguments)}}()}}]}function on(e){return e+""}function an(e,t){return void 0!==e?e:t}function sn(e,t){return void 0===e?t:void 0===t?e:e+t}function un(e,t){return!e(t).$stateful}function ln(e,t){var n,i,o;switch(e.type){case Co.Program:n=!0,r(e.body,function(e){ln(e.expression,t),n=n&&e.expression.constant}),e.constant=n;break;case Co.Literal:e.constant=!0,e.toWatch=[];break;case Co.UnaryExpression:ln(e.argument,t),e.constant=e.argument.constant,e.toWatch=e.argument.toWatch;break;case Co.BinaryExpression:ln(e.left,t),ln(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.left.toWatch.concat(e.right.toWatch);break;case Co.LogicalExpression:ln(e.left,t),ln(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.constant?[]:[e];break;case Co.ConditionalExpression:ln(e.test,t),ln(e.alternate,t),ln(e.consequent,t),e.constant=e.test.constant&&e.alternate.constant&&e.consequent.constant,e.toWatch=e.constant?[]:[e];break;case Co.Identifier:e.constant=!1,e.toWatch=[e];break;case Co.MemberExpression:ln(e.object,t),e.computed&&ln(e.property,t),e.constant=e.object.constant&&(!e.computed||e.property.constant),e.toWatch=[e];break;case Co.CallExpression:o=!!e.filter&&un(t,e.callee.name),n=o,i=[],r(e.arguments,function(e){ln(e,t),n=n&&e.constant,e.constant||i.push.apply(i,e.toWatch)}),e.constant=n,e.toWatch=o?i:[e];break;case Co.AssignmentExpression:ln(e.left,t),ln(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=[e];break;case Co.ArrayExpression:n=!0,i=[],r(e.elements,function(e){ln(e,t),n=n&&e.constant,e.constant||i.push.apply(i,e.toWatch)}),e.constant=n,e.toWatch=i;break;case Co.ObjectExpression:n=!0,i=[],r(e.properties,function(e){ln(e.value,t),n=n&&e.value.constant&&!e.computed,e.value.constant||i.push.apply(i,e.value.toWatch)}),e.constant=n,e.toWatch=i;break;case Co.ThisExpression:case Co.LocalsExpression:e.constant=!1,e.toWatch=[]}}function cn(e){if(1===e.length){var t=e[0].expression,n=t.toWatch;return 1!==n.length?n:n[0]!==t?n:void 0}}function fn(e){return e.type===Co.Identifier||e.type===Co.MemberExpression}function dn(e){if(1===e.body.length&&fn(e.body[0].expression))return{type:Co.AssignmentExpression,left:e.body[0].expression,right:{type:Co.NGValueParameter},operator:"="}}function hn(e){return 0===e.body.length||1===e.body.length&&(e.body[0].expression.type===Co.Literal||e.body[0].expression.type===Co.ArrayExpression||e.body[0].expression.type===Co.ObjectExpression)}function pn(e){return e.constant}function mn(e,t){this.astBuilder=e,this.$filter=t}function vn(e,t){this.astBuilder=e,this.$filter=t}function gn(e){return x(e.valueOf)?e.valueOf():_o.call(e)}function yn(){var e,t,n=pe(),i={true:!0,false:!1,null:null,undefined:void 0};this.addLiteral=function(e,t){i[e]=t},this.setIdentifierFns=function(n,r){return e=n,t=r,this},this.$get=["$filter",function(o){function a(e,t){var r,i,a;switch(typeof e){case"string":if(e=e.trim(),a=e,!(r=n[a])){":"===e.charAt(0)&&":"===e.charAt(1)&&(i=!0,e=e.substring(2));var s=new xo(m);r=new So(s,o,m).parse(e),r.constant?r.$$watchDelegate=f:i?r.$$watchDelegate=r.literal?c:l:r.inputs&&(r.$$watchDelegate=u),n[a]=r}return d(r,t);case"function":return d(e,t);default:return d(h,t)}}function s(e,t){return null==e||null==t?e===t:("object"!=typeof e||"object"!=typeof(e=gn(e)))&&(e===t||e!==e&&t!==t)}function u(e,t,n,r,i){var o,a=r.inputs;if(1===a.length){var u=s;return a=a[0],e.$watch(function(e){var t=a(e);return s(t,u)||(o=r(e,void 0,void 0,[t]),u=t&&gn(t)),o},t,n,i)}for(var l=[],c=[],f=0,d=a.length;f0&&f(this.$$state),r},catch:function(e){return this.then(null,e)},finally:function(e,t){return this.then(function(t){return b(t,D,e)},function(t){return b(t,y,e)},t)}});var D=_;return C.prototype=s.prototype,C.defer=o,C.reject=y,C.when=_,C.resolve=D,C.all=w,C.race=k,C}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 kn(){function e(e){function t(){this.$$watchers=this.$$nextSibling=this.$$childHead=this.$$childTail=null,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$id=a(),this.$$ChildScope=null}return t.prototype=e,t}var i=10,o=t("$rootScope"),s=null,u=null;this.digestTtl=function(e){return arguments.length&&(i=e),i},this.$get=["$exceptionHandler","$parse","$browser",function(t,l,c){function f(e){e.currentScope.$$destroyed=!0}function d(e){9===Yr&&(e.$$childHead&&d(e.$$childHead),e.$$nextSibling&&d(e.$$nextSibling)),e.$parent=e.$$nextSibling=e.$$prevSibling=e.$$childHead=e.$$childTail=e.$root=e.$$watchers=null}function p(){this.$id=a(),this.$$phase=this.$parent=this.$$watchers=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=null,this.$root=this,this.$$destroyed=!1,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$$isolateBindings=null}function m(e){if(C.$$phase)throw o("inprog","{0} already in progress",C.$$phase);C.$$phase=e}function v(){C.$$phase=null}function y(e,t){do{e.$$watchersCount+=t}while(e=e.$parent)}function b(e,t,n){do{e.$$listenerCount[n]-=t,0===e.$$listenerCount[n]&&delete e.$$listenerCount[n]}while(e=e.$parent)}function _(){}function w(){for(;A.length;)try{A.shift()()}catch(e){t(e)}u=null}function k(){null===u&&(u=c.defer(function(){C.$apply(w)}))}p.prototype={constructor:p,$new:function(t,n){var r;return n=n||this,t?(r=new p,r.$root=this.$root):(this.$$ChildScope||(this.$$ChildScope=e(this)),r=new this.$$ChildScope),r.$parent=n,r.$$prevSibling=n.$$childTail,n.$$childHead?(n.$$childTail.$$nextSibling=r,n.$$childTail=r):n.$$childHead=n.$$childTail=r,(t||n!==this)&&r.$on("$destroy",f),r},$watch:function(e,t,n,r){var i=l(e);if(i.$$watchDelegate)return i.$$watchDelegate(this,t,n,i,e);var o=this,a=o.$$watchers,u={fn:t,last:_,get:i,exp:r||e,eq:!!n};return s=null,x(t)||(u.fn=h),a||(a=o.$$watchers=[],a.$$digestWatchIndex=-1),a.unshift(u),a.$$digestWatchIndex++,y(this,1),function(){var e=q(a,u);e>=0&&(y(o,-1),et){f++;for(r in a)Ur.call(o,r)||(v--,delete a[r])}}else a!==o&&(a=o,f++);return f}}function i(){if(m?(m=!1,t(o,o,u)):t(o,s,u),c)if($(o))if(n(o)){s=new Array(o.length);for(var e=0;e1,f=0,d=l(e,r),h=[],p={},m=!0,v=0;return this.$watch(d,i)},$digest:function(){var e,n,r,a,l,f,d,h,p,g,y,$=i,b=this,k=[];m("$digest"),c.$$checkUrlChange(),this===C&&null!==u&&(c.defer.cancel(u),w()),s=null;do{d=!1,p=b;for(var A=0;A-1)throw Eo("iwcard","Illegal sequence *** in string matcher. String: {0}",e);return e=ui(e).replace(/\\\*\\\*/g,".*").replace(/\\\*/g,"[^:/.?&;]*"),new RegExp("^"+e+"$")}if(C(e))return new RegExp("^"+e.source+"$");throw Eo("imatcher",'Matchers may only be "self", string patterns or RegExp objects')}function En(e){var t=[];return y(e)&&r(e,function(e){t.push(Sn(e))}),t}function An(){this.SCE_CONTEXTS=Ao;var e=["self"],t=[];this.resourceUrlWhitelist=function(t){return arguments.length&&(e=En(t)),e},this.resourceUrlBlacklist=function(e){return arguments.length&&(t=En(e)),t},this.$get=["$injector",function(n){function r(e,t){return"self"===e?In(t):!!e.exec(t.href)}function i(n){var i,o,a=Ln(n.toString()),s=!1;for(i=0,o=e.length;i to the top of your HTML document. See http://docs.angularjs.org/api/ng.$sce for more information.");var i=ge(Ao);i.isEnabled=function(){return e},i.trustAs=n.trustAs,i.getTrusted=n.getTrusted,i.valueOf=n.valueOf,e||(i.trustAs=i.getTrusted=function(e,t){return t},i.valueOf=p),i.parseAs=function(e,n){var r=t(n);return r.literal&&r.constant?r:t(n,function(t){return i.getTrusted(e,t)})};var o=i.parseAs,a=i.getTrusted,s=i.trustAs;return r(Ao,function(e,t){var n=zr(t);i[Cn("parse_as_"+n)]=function(t){return o(e,t)},i[Cn("get_trusted_"+n)]=function(t){return a(e,t)},i[Cn("trust_as_"+n)]=function(t){return s(e,t)}}),i}]}function Tn(){this.$get=["$window","$document",function(e,t){var n={},r=e.chrome&&(e.chrome.app&&e.chrome.app.runtime||!e.chrome.app&&e.chrome.runtime&&e.chrome.runtime.id),i=!r&&e.history&&e.history.pushState,o=f((/android (\d+)/.exec(zr((e.navigator||{}).userAgent))||[])[1]),a=/Boxee/i.test((e.navigator||{}).userAgent),s=t[0]||{},u=s.body&&s.body.style,l=!1,c=!1;return u&&(l=!!("transition"in u||"webkitTransition"in u),c=!!("animation"in u||"webkitAnimation"in u)),{history:!(!i||o<4||a),hasEvent:function(e){if("input"===e&&Yr)return!1;if(g(n[e])){var t=s.createElement("div");n[e]="on"+e in t}return n[e]},csp:li(),transitions:l,animations:c,android:o}}]}function Mn(){var e;this.httpOptions=function(t){return t?(e=t,this):e},this.$get=["$exceptionHandler","$templateCache","$http","$q","$sce",function(t,n,r,i,o){function a(s,u){function c(e){return u||(e=To("tpload","Failed to load template: {0} (HTTP status: {1} {2})",s,e.status,e.statusText),t(e)),i.reject(e)}a.totalPendingRequests++,_(s)&&!g(n.get(s))||(s=o.getTrustedResourceUrl(s));var f=r.defaults&&r.defaults.transformResponse;return oi(f)?f=f.filter(function(e){return e!==Tt}):f===Tt&&(f=null),r.get(s,l({cache:n,transformResponse:f},e)).finally(function(){a.totalPendingRequests--}).then(function(e){return n.put(s,e.data),e.data},c)}return a.totalPendingRequests=0,a}]}function On(){this.$get=["$rootScope","$browser","$location",function(e,t,n){var i={};return i.findBindings=function(e,t,n){var i=e.getElementsByClassName("ng-binding"),o=[];return r(i,function(e){var i=ni.element(e).data("$binding");i&&r(i,function(r){if(n){new RegExp("(^|\\s)"+ui(t)+"(\\s|\\||$)").test(r)&&o.push(e)}else-1!==r.indexOf(t)&&o.push(e)})}),o},i.findModels=function(e,t,n){for(var r=["ng-","data-ng-","ng\\:"],i=0;i0&&(l=n(a.substring(0,u)),g(i[l])&&(i[l]=n(a.substring(u+1))));return i}}function Pn(){this.$get=Nn}function qn(e){function t(i,o){if($(i)){var a={};return r(i,function(e,n){a[n]=t(n,e)}),a}return e.factory(i+n,o)}var n="Filter";this.register=t,this.$get=["$injector",function(e){return function(t){return e.get(t+n)}}],t("currency",Bn),t("date",or),t("filter",jn),t("json",ar),t("limitTo",sr),t("lowercase",qo),t("number",Hn),t("orderBy",lr),t("uppercase",jo)}function jn(){return function(e,r,i,o){if(!n(e)){if(null==e)return e;throw t("filter")("notarray","Expected array but received: {0}",e)}o=o||"$";var a,s,u=Vn(r);switch(u){case"function":a=r;break;case"boolean":case"null":case"number":case"string":s=!0;case"object":a=Un(r,i,o,s);break;default:return e}return Array.prototype.filter.call(e,a)}}function Un(e,t,n,r){var i=$(e)&&n in e;return!0===t?t=U:x(t)||(t=function(e,t){return!g(e)&&(null===e||null===t?e===t:!($(t)||$(e)&&!v(e))&&(e=zr(""+e),t=zr(""+t),-1!==e.indexOf(t)))}),function(o){return i&&!$(o)?zn(o,e[n],t,n,!1):zn(o,e,t,n,r)}}function zn(e,t,n,r,i,o){var a=Vn(e),s=Vn(t);if("string"===s&&"!"===t.charAt(0))return!zn(e,t.substring(1),n,r,i);if(oi(e))return e.some(function(e){return zn(e,t,n,r,i)});switch(a){case"object":var u;if(i){for(u in e)if("$"!==u.charAt(0)&&zn(e[u],t,n,r,!0))return!0;return!o&&zn(e,t,n,r,!1)}if("object"===s){for(u in t){var l=t[u];if(!x(l)&&!g(l)){var c=u===r;if(!zn(c?e:e[u],l,n,r,c,c))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 Bn(e){var t=e.NUMBER_FORMATS;return function(e,n,r){return g(n)&&(n=t.CURRENCY_SYM),g(r)&&(r=t.PATTERNS[1].maxFrac),null==e?e:Gn(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:Gn(e,t.PATTERNS[0],t.GROUP_SEP,t.DECIMAL_SEP,n)}}function Yn(e){var t,n,r,i,o,a=0;for((n=e.indexOf(Lo))>-1&&(e=e.replace(Lo,"")),(r=e.search(/e/i))>0?(n<0&&(n=r),n+=+e.slice(r+1),e=e.substring(0,r)):n<0&&(n=e.length),r=0;e.charAt(r)===Io;r++);if(r===(o=e.length))t=[0],n=1;else{for(o--;e.charAt(o)===Io;)o--;for(n-=r,t=[],i=0;r<=o;r++,i++)t[i]=+e.charAt(r)}return n>Fo&&(t=t.splice(0,Fo-1),a=n-1,n=1),{d:t,e:a,i:n}}function Wn(e,t,n,r){var i=e.d,o=i.length-e.i;t=g(t)?Math.min(Math.max(n,o),r):+t;var a=t+e.i,s=i[a];if(a>0){i.splice(Math.max(e.i,a));for(var u=a;u=5)if(a-1<0){for(var c=0;c>a;c--)i.unshift(0),e.i++;i.unshift(1),e.i++}else i[a-1]++;for(;o0?h=c.splice(f,c.length):(h=c,c=[0]);var p=[];for(c.length>=t.lgSize&&p.unshift(c.splice(-t.lgSize,c.length).join(""));c.length>t.gSize;)p.unshift(c.splice(-t.gSize,c.length).join(""));c.length&&p.unshift(c.join("")),l=p.join(n),h.length&&(l+=r+h.join("")),d&&(l+="e+"+d)}return e<0&&!s?t.negPre+l+t.negSuf:t.posPre+l+t.posSuf}function Zn(e,t,n,r){var i="";for((e<0||r&&e<=0)&&(r?e=1-e:(e=-e,i="-")),e=""+e;e.length0||a>-n)&&(a+=n),0===a&&-12===n&&(a=12),Zn(a,t,r,i)}}function Qn(e,t,n){return function(r,i){var o=r["get"+e]();return i[Vr((n?"STANDALONE":"")+(t?"SHORT":"")+e)][o]}}function Kn(e,t,n){var r=-1*n,i=r>=0?"+":"";return i+=Zn(Math[r>0?"floor":"ceil"](r/60),2)+Zn(Math.abs(r%60),2)}function Xn(e){var t=new Date(e,0,1).getDay();return new Date(e,0,(t<=4?5:12)-t)}function er(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate()+(4-e.getDay()))}function tr(e){return function(t){var n=Xn(t.getFullYear()),r=er(t),i=+r-+n;return Zn(1+Math.round(i/6048e5),e)}}function nr(e,t){return e.getHours()<12?t.AMPMS[0]:t.AMPMS[1]}function rr(e,t){return e.getFullYear()<=0?t.ERAS[0]:t.ERAS[1]}function ir(e,t){return e.getFullYear()<=0?t.ERANAMES[0]:t.ERANAMES[1]}function or(e){function t(e){var t;if(t=e.match(n)){var r=new Date(0),i=0,o=0,a=t[8]?r.setUTCFullYear:r.setFullYear,s=t[8]?r.setUTCHours:r.setHours;t[9]&&(i=f(t[9]+t[10]),o=f(t[9]+t[11])),a.call(r,f(t[1]),f(t[2])-1,f(t[3]));var u=f(t[4]||0)-i,l=f(t[5]||0)-o,c=f(t[6]||0),d=Math.round(1e3*parseFloat("0."+(t[7]||0)));return s.call(r,u,l,c,d),r}return e}var n=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;return function(n,i,o){var a,s,u="",l=[];if(i=i||"mediumDate",i=e.DATETIME_FORMATS[i]||i,_(n)&&(n=Po.test(n)?f(n):t(n)),w(n)&&(n=new Date(n)),!k(n)||!isFinite(n.getTime()))return n;for(;i;)s=No.exec(i),s?(l=z(l,s,1),i=l.pop()):(l.push(i),i=null);var c=n.getTimezoneOffset();return o&&(c=G(o,c),n=J(n,o,!0)),r(l,function(t){a=Ro[t],u+=a?a(n,e.DATETIME_FORMATS,c):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}}function ar(){return function(e,t){return g(t)&&(t=2),Y(e,t)}}function sr(){return function(e,t,r){return t=Math.abs(Number(t))===1/0?Number(t):f(t),ii(t)?e:(w(e)&&(e=e.toString()),n(e)?(r=!r||isNaN(r)?0:f(r),r=r<0?Math.max(0,e.length+r):r,t>=0?ur(e,r,r+t):0===r?ur(e,t,e.length):ur(e,Math.max(0,r+t),r)):e)}}function ur(e,t,n){return _(e)?e.slice(t,n):Jr.call(e,t,n)}function lr(e){function r(t){return t.map(function(t){var n=1,r=p;if(x(t))r=t;else if(_(t)&&("+"!==t.charAt(0)&&"-"!==t.charAt(0)||(n="-"===t.charAt(0)?-1:1,t=t.substring(1)),""!==t&&(r=e(t),r.constant))){var i=r();r=function(e){return e[i]}}return{get:r,descending:n}})}function i(e){switch(typeof e){case"number":case"boolean":case"string":return!0;default:return!1}}function o(e){return x(e.valueOf)&&(e=e.valueOf(),i(e))?e:(v(e)&&(e=e.toString(),i(e)),e)}function a(e,t){var n=typeof e;return null===e?(n="string",e="null"):"object"===n&&(e=o(e)),{value:e,type:n,index:t}}function s(e,t){var n=0,r=e.type,i=t.type;if(r===i){var o=e.value,a=t.value;"string"===r?(o=o.toLowerCase(),a=a.toLowerCase()):"object"===r&&($(o)&&(o=e.index),$(a)&&(a=t.index)),o!==a&&(n=o=m},a.$observe("min",function(e){m=d(e),s.$validate()})}if(y(a.max)||a.ngMax){var v;s.$validators.max=function(e){return!f(e)||g(v)||n(e)<=v},a.$observe("max",function(e){v=d(e),s.$validate()})}}}function wr(e,t,n,r){var i=t[0];(r.$$hasNativeValidators=$(i.validity))&&r.$parsers.push(function(e){var n=t.prop(jr)||{};return n.badInput||n.typeMismatch?void 0:e})}function kr(e){e.$$parserName="number",e.$parsers.push(function(t){return e.$isEmpty(t)?null:Qo.test(t)?parseFloat(t):void 0}),e.$formatters.push(function(t){if(!e.$isEmpty(t)){if(!w(t))throw Ea("numfmt","Expected `{0}` to be a number",t);t=t.toString()}return t})}function xr(e){return y(e)&&!w(e)&&(e=parseFloat(e)),ii(e)?void 0:e}function Cr(e){return(0|e)===e}function Sr(e){var t=e.toString(),n=t.indexOf(".");if(-1===n){if(-1=a},n.$observe("min",function(e){a=xr(e),r.$validate()})),(y(n.max)||n.ngMax)&&(r.$validators.max=function(e){return r.$isEmpty(e)||g(s)||e<=s},n.$observe("max",function(e){s=xr(e),r.$validate()})),y(n.step)||n.ngStep){var u;r.$validators.step=function(e,t){return r.$isEmpty(t)||g(u)||Er(t,a||0,u)},n.$observe("step",function(e){u=xr(e),r.$validate()})}}function Dr(e,t,n,r,i,o){function a(e,r){t.attr(e,n[e]),n.$observe(e,r)}function s(e){if(f=xr(e),!ii(r.$modelValue))if(c){var n=t.val();f>n&&(n=f,t.val(n)),r.$setViewValue(n)}else r.$validate()}function u(e){if(d=xr(e),!ii(r.$modelValue))if(c){var n=t.val();d=f},a("min",s)),v&&(r.$validators.max=c?function(){return!0}:function(e,t){return r.$isEmpty(t)||g(d)||t<=d},a("max",u)),$&&(r.$validators.step=c?function(){return!p.stepMismatch}:function(e,t){return r.$isEmpty(t)||g(h)||Er(t,f||0,h)},a("step",l))}function Tr(e,t,n,r,i,o){yr(e,t,n,r,i,o),vr(r),r.$$parserName="url",r.$validators.url=function(e,t){var n=e||t;return r.$isEmpty(n)||Zo.test(n)}}function Mr(e,t,n,r,i,o){yr(e,t,n,r,i,o),vr(r),r.$$parserName="email",r.$validators.email=function(e,t){var n=e||t;return r.$isEmpty(n)||Jo.test(n)}}function Or(e,t,n,r){var i=!n.ngTrim||"false"!==si(n.ngTrim);g(n.name)&&t.attr("name",a());var o=function(e){var o;t[0].checked&&(o=n.value,i&&(o=si(o)),r.$setViewValue(o,e&&e.type))};t.on("click",o),r.$render=function(){var e=n.value;i&&(e=si(e)),t[0].checked=e===r.$viewValue},n.$observe("value",r.$render)}function Fr(e,t,n,r,i){var o;if(y(r)){if(o=e(r),!o.constant)throw Ea("constexpr","Expected constant expression for `{0}`, but saw `{1}`.",n,r);return o(t)}return i}function Lr(e,t,n,r,i,o,a,s){var u=Fr(s,e,"ngTrueValue",n.ngTrueValue,!0),l=Fr(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!1===e},r.$formatters.push(function(e){return U(e,u)}),r.$parsers.push(function(e){return e?u:l})}function Ir(e,t){function n(e,t){if(!e||!e.length)return[];if(!t||!t.length)return e;var n=[];e:for(var r=0;r0||C[e])&&(C[e]=(C[e]||0)+t,C[e]===+(t>0)&&n.push(e))}),n.join(" ")}function v(e){e===t?d($):h($),S=e}function g(e){var t=o(e);t!==$&&y(t)}function y(e){S===t&&p($,e),$=e}var $,b=f[e].trim(),_=":"===b.charAt(0)&&":"===b.charAt(1),w=_?a:o,k=u(b,w),x=_?g:y,C=c.data("$classCounts"),S=!0;C||(C=pe(),c.data("$classCounts",C)),"ngClass"!==e&&(s||(s=u("$index",function(e){return 1&e})),l.$watch(s,v)),l.$watch(k,x,_)}}}]}function Rr(e,t,n,r,i,o,a,s,u){this.$viewValue=Number.NaN,this.$modelValue=Number.NaN,this.$$rawModelValue=void 0,this.$validators={},this.$asyncValidators={},this.$parsers=[],this.$formatters=[],this.$viewChangeListeners=[],this.$untouched=!0,this.$touched=!1,this.$pristine=!0,this.$dirty=!1,this.$valid=!0,this.$invalid=!1,this.$error={},this.$$success={},this.$pending=void 0,this.$name=u(n.name||"",!1)(e),this.$$parentForm=Vo,this.$options=Aa,this.$$parsedNgModel=i(n.ngModel),this.$$parsedNgModelAssign=this.$$parsedNgModel.assign,this.$$ngModelGet=this.$$parsedNgModel,this.$$ngModelSet=this.$$parsedNgModelAssign,this.$$pendingDebounce=null,this.$$parserValid=void 0,this.$$currentValidationRunId=0,this.$$scope=e,this.$$attr=n,this.$$element=r,this.$$animate=o,this.$$timeout=a,this.$$parse=i,this.$$q=s,this.$$exceptionHandler=t,hr(this),Nr(this)}function Nr(e){e.$$scope.$watch(function(){var t=e.$$ngModelGet(e.$$scope);if(t!==e.$modelValue&&(e.$modelValue===e.$modelValue||t===t)){e.$modelValue=e.$$rawModelValue=t,e.$$parserValid=void 0;for(var n=e.$formatters,r=n.length,i=t;r--;)i=n[r](i);e.$viewValue!==i&&(e.$$updateEmptyClasses(i),e.$viewValue=e.$$lastCommittedViewValue=i,e.$render(),e.$$runValidators(e.$modelValue,e.$viewValue,h))}return t})}function Pr(e){this.$$options=e}function qr(e,t){r(t,function(t,n){y(e[n])||(e[n]=t)})}var jr="validity",Ur=Object.prototype.hasOwnProperty,zr=function(e){return _(e)?e.toLowerCase():e},Vr=function(e){return _(e)?e.toUpperCase():e},Br=function(e){return _(e)?e.replace(/[A-Z]/g,function(e){return String.fromCharCode(32|e.charCodeAt(0))}):e},Hr=function(e){return _(e)?e.replace(/[a-z]/g,function(e){return String.fromCharCode(-33&e.charCodeAt(0))}):e};"i"!=="I".toLowerCase()&&(zr=Br,Vr=Hr);var Yr,Wr,Gr,Zr,Jr=[].slice,Qr=[].splice,Kr=[].push,Xr=Object.prototype.toString,ei=Object.getPrototypeOf,ti=t("ng"),ni=e.angular||(e.angular={}),ri=0;Yr=e.document.documentMode;var ii=Number.isNaN||function(e){return e!==e};h.$inject=[],p.$inject=[];var oi=Array.isArray,ai=/^\[object (?:Uint8|Uint8Clamped|Uint16|Uint32|Int8|Int16|Int32|Float32|Float64)Array]$/,si=function(e){return _(e)?e.trim():e},ui=function(e){return e.replace(/([-()[\]{}+?*.$^|,:#(?:<\/\1>|)$/,Di=/<|&#?\w+;/,Ti=/<([\w:-]+)/,Mi=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,Oi={option:[1,'"],thead:[1,"","
    "],col:[2,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],_default:[0,"",""]};Oi.optgroup=Oi.option,Oi.tbody=Oi.tfoot=Oi.colgroup=Oi.caption=Oi.thead,Oi.th=Oi.td;var Fi=e.Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))},Li=Me.prototype={ready:We,toString:function(){var e=[];return r(this,function(t){e.push(""+t)}),"["+e.join(", ")+"]"},eq:function(e){return Wr(e>=0?this[e]:this[this.length+e])},length:0,push:Kr,sort:[].sort,splice:[].splice},Ii={};r("multiple,selected,checked,disabled,readOnly,required,open".split(","),function(e){Ii[zr(e)]=e});var Ri={};r("input,select,option,textarea,button,form,details".split(","),function(e){Ri[e]=!0});var Ni={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern",ngStep:"step"};r({data:Ne,removeData:Ie,hasData:Se,cleanData:Ee},function(e,t){Me[t]=e}),r({data:Ne,inheritedData:Ve,scope:function(e){return Wr.data(e,"$scope")||Ve(e.parentNode||e,["$isolateScope","$scope"])},isolateScope:function(e){return Wr.data(e,"$isolateScope")||Wr.data(e,"$isolateScopeNoTemplate")},controller:ze,injector:function(e){return Ve(e,"$injector")},removeAttr:function(e,t){e.removeAttribute(t)},hasClass:Pe,css:function(e,t,n){if(t=_e(t),!y(n))return e.style[t];e.style[t]=n},attr:function(e,t,n){var r,i=e.nodeType;if(i!==gi&&2!==i&&i!==yi&&e.getAttribute){var o=zr(t),a=Ii[o];if(!y(n))return r=e.getAttribute(t),a&&null!==r&&(r=o),null===r?void 0:r;null===n||!1===n&&a?e.removeAttribute(t):e.setAttribute(t,a?o:n)}},prop:function(e,t,n){if(!y(n))return e[t];e[t]=n},text:function(){function e(e,t){if(g(t)){var n=e.nodeType;return n===vi||n===gi?e.textContent:""}e.textContent=t}return e.$dv="",e}(),val:function(e,t){if(g(t)){if(e.multiple&&"select"===N(e)){var n=[];return r(e.options,function(e){e.selected&&n.push(e.value||e.text)}),n}return e.value}e.value=t},html:function(e,t){if(g(t))return e.innerHTML;Fe(e,!0),e.innerHTML=t},empty:Be},function(e,t){Me.prototype[t]=function(t,n){var r,i,o=this.length;if(e!==Be&&g(2===e.length&&e!==Pe&&e!==ze?t:n)){if($(t)){for(r=0;r=0?t.split(" "):[t],u=s.length,l=function(t,r,i){var s=o[t];s||(s=o[t]=[],s.specialHandlerWrapper=r,"$destroy"===t||i||e.addEventListener(t,a)),s.push(n)};u--;)t=s[u],Si[t]?(l(Si[t],Ke),l(t,void 0,!0)):l(t)}},off:Le,one:function(e,t,n){e=Wr(e),e.on(t,function r(){e.off(t,n),e.off(t,r)}),e.on(t,n)},replaceWith:function(e,t){var n,i=e.parentNode;Fe(e),r(new Me(t),function(t){n?i.insertBefore(t,n.nextSibling):i.replaceChild(t,e),n=t})},children:function(e){var t=[];return r(e.childNodes,function(e){e.nodeType===vi&&t.push(e)}),t},contents:function(e){return e.contentDocument||e.childNodes||[]},append:function(e,t){var n=e.nodeType;if(n===vi||n===bi){t=new Me(t);for(var r=0,i=t.length;r/,ji=/^[^(]*\(\s*([^)]*)\)/m,Ui=/,/,zi=/^\s*(_?)(\S+?)\1\s*$/,Vi=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,Bi=t("$injector");at.$$annotate=ot;var Hi=t("$animate"),Yi=1,Wi=function(){this.$get=h},Gi=function(){var e=new tt,t=[];this.$get=["$$AnimateRunner","$rootScope",function(n,i){function o(e,t,n){var i=!1;return t&&(t=_(t)?t.split(" "):oi(t)?t:[],r(t,function(t){t&&(i=!0,e[t]=n)})),i}function a(){r(t,function(t){var n=e.get(t);if(n){var i=ct(t.attr("class")),o="",a="";r(n,function(e,t){e!==!!i[t]&&(e?o+=(o.length?" ":"")+t:a+=(a.length?" ":"")+t)}),r(t,function(e){o&&je(e,o),a&&qe(e,a)}),e.remove(t)}}),t.length=0}function s(n,r,s){var u=e.get(n)||{},l=o(u,r,!0),c=o(u,s,!1);(l||c)&&(e.put(n,u),t.push(n),1===t.length&&i.$$postDigest(a))}return{enabled:h,on:h,off:h,pin:h,push:function(e,t,r,i){i&&i(),r=r||{},r.from&&e.css(r.from),r.to&&e.css(r.to),(r.addClass||r.removeClass)&&s(e,r.addClass,r.removeClass);var o=new n;return o.complete(),o}}}]},Zi=["$provide",function(e){var t=this;this.$$registeredAnimations=Object.create(null),this.register=function(n,r){if(n&&"."!==n.charAt(0))throw Hi("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)){if(new RegExp("(\\s+|\\/)ng-animate(\\s+|\\/)").test(this.$$classNameFilter.toString()))throw Hi("nongcls",'$animateProvider.classNameFilter(regex) prohibits accepting a regex value which matches/contains the "{0}" CSS class.',"ng-animate")}return this.$$classNameFilter},this.$get=["$$animateQueue",function(e){function t(e,t,n){if(n){var r=lt(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&&Wr(r),i=i&&Wr(i),r=r||i.parent(),t(n,r,i),e.push(n,"enter",ft(o))},move:function(n,r,i,o){return r=r&&Wr(r),i=i&&Wr(i),r=r||i.parent(),t(n,r,i),e.push(n,"move",ft(o))},leave:function(t,n){return e.push(t,"leave",ft(n),function(){t.remove()})},addClass:function(t,n,r){return r=ft(r),r.addClass=ut(r.addclass,n),e.push(t,"addClass",r)},removeClass:function(t,n,r){return r=ft(r),r.removeClass=ut(r.removeClass,n),e.push(t,"removeClass",r)},setClass:function(t,n,r,i){return i=ft(i),i.addClass=ut(i.addClass,n),i.removeClass=ut(i.removeClass,r),e.push(t,"setClass",i)},animate:function(t,n,r,i,o){return o=ft(o),o.from=o.from?l(o.from,n):n,o.to=o.to?l(o.to,r):r,i=i||"ng-inline-animate",o.tempClasses=ut(o.tempClasses,i),e.push(t,"animate",o)}}}]}],Ji=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){wo[e]=!0});var ko={n:"\n",f:"\f",r:"\r",t:"\t",v:"\v","'":"'",'"':'"'},xo=function(e){this.options=e};xo.prototype={constructor:xo,lex:function(e){for(this.text=e,this.index=0,this.tokens=[];this.index=55296&&n<=56319&&r>=56320&&r<=57343?e+t:e},isExpOperator:function(e){return"-"===e||"+"===e||this.isNumber(e)},throwError:function(e,t,n){n=n||this.index;var r=y(t)?"s "+t+"-"+this.index+" ["+this.text.substring(t,n)+"]":" "+n;throw bo("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:Co.Program,body:e}},expressionStatement:function(){return{type:Co.ExpressionStatement,expression:this.filterChain()}},filterChain:function(){for(var e=this.expression();this.expect("|");)e=this.filter(e);return e},expression:function(){return this.assignment()},assignment:function(){var e=this.ternary();if(this.expect("=")){if(!fn(e))throw bo("lval","Trying to assign a value to a non l-value");e={type:Co.AssignmentExpression,left:e,right:this.assignment(),operator:"="}}return e},ternary:function(){var e,t,n=this.logicalOR();return this.expect("?")&&(e=this.expression(),this.consume(":"))?(t=this.expression(),{type:Co.ConditionalExpression,test:n,alternate:e,consequent:t}):n},logicalOR:function(){for(var e=this.logicalAND();this.expect("||");)e={type:Co.LogicalExpression,operator:"||",left:e,right:this.logicalAND()};return e},logicalAND:function(){for(var e=this.equality();this.expect("&&");)e={type:Co.LogicalExpression,operator:"&&",left:e,right:this.equality()};return e},equality:function(){for(var e,t=this.relational();e=this.expect("==","!=","===","!==");)t={type:Co.BinaryExpression,operator:e.text,left:t,right:this.relational()};return t},relational:function(){for(var e,t=this.additive();e=this.expect("<",">","<=",">=");)t={type:Co.BinaryExpression,operator:e.text,left:t,right:this.additive()};return t},additive:function(){for(var e,t=this.multiplicative();e=this.expect("+","-");)t={type:Co.BinaryExpression,operator:e.text,left:t,right:this.multiplicative()};return t},multiplicative:function(){for(var e,t=this.unary();e=this.expect("*","/","%");)t={type:Co.BinaryExpression,operator:e.text,left:t,right:this.unary()};return t},unary:function(){var e;return(e=this.expect("+","-","!"))?{type:Co.UnaryExpression,operator:e.text,prefix:!0,argument:this.unary()}:this.primary()},primary:function(){var e;this.expect("(")?(e=this.filterChain(),this.consume(")")):this.expect("[")?e=this.arrayDeclaration():this.expect("{")?e=this.object():this.selfReferential.hasOwnProperty(this.peek().text)?e=j(this.selfReferential[this.consume().text]):this.options.literals.hasOwnProperty(this.peek().text)?e={type:Co.Literal,value:this.options.literals[this.consume().text]}:this.peek().identifier?e=this.identifier():this.peek().constant?e=this.constant():this.throwError("not a primary expression",this.peek());for(var t;t=this.expect("(","[",".");)"("===t.text?(e={type:Co.CallExpression,callee:e,arguments:this.parseArguments()},this.consume(")")):"["===t.text?(e={type:Co.MemberExpression,object:e,property:this.expression(),computed:!0},this.consume("]")):"."===t.text?e={type:Co.MemberExpression,object:e,property:this.identifier(),computed:!1}:this.throwError("IMPOSSIBLE");return e},filter:function(e){for(var t=[e],n={type:Co.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.filterChain())}while(this.expect(","));return e},identifier:function(){var e=this.consume();return e.identifier||this.throwError("is not a valid identifier",e),{type:Co.Identifier,name:e.text}},constant:function(){return{type:Co.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:Co.ArrayExpression,elements:e}},object:function(){var e,t=[];if("}"!==this.peekToken().text)do{if(this.peek("}"))break;e={type:Co.Property,kind:"init"},this.peek().constant?(e.key=this.constant(),e.computed=!1,this.consume(":"),e.value=this.expression()):this.peek().identifier?(e.key=this.identifier(),e.computed=!1,this.peek(":")?(this.consume(":"),e.value=this.expression()):e.value=e.key):this.peek("[")?(this.consume("["),e.key=this.expression(),this.consume("]"),e.computed=!0,this.consume(":"),e.value=this.expression()):this.throwError("invalid key",this.peek()),t.push(e)}while(this.expect(","));return this.consume("}"),{type:Co.ObjectExpression,properties:t}},throwError:function(e,t){throw bo("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 bo("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 bo("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)},selfReferential:{this:{type:Co.ThisExpression},$locals:{type:Co.LocalsExpression}}},mn.prototype={compile:function(e){var t=this,n=this.astBuilder.ast(e);this.state={nextId:0,filters:{},fn:{vars:[],body:[],own:{}},assign:{vars:[],body:[],own:{}},inputs:[]},ln(n,t.$filter);var i,o="";if(this.stage="assign",i=dn(n)){this.state.computing="assign";var a=this.nextId();this.recurse(i,a),this.return_(a),o="fn.assign="+this.generateFunction("assign","s,v,l")}var s=cn(n.body);t.stage="inputs",r(s,function(e,n){var r="fn"+n;t.state[r]={vars:[],body:[],own:{}},t.state.computing=r;var i=t.nextId();t.recurse(e,i),t.return_(i),t.state.inputs.push(r),e.watchId=n}),this.state.computing="fn",this.stage="main",this.recurse(n);var u='"'+this.USE+" "+this.STRICT+'";\n'+this.filterPrefix()+"var fn="+this.generateFunction("fn","s,l,a,i")+o+this.watchFns()+"return fn;",l=new Function("$filter","getStringValue","ifDefined","plus",u)(this.$filter,on,an,sn);return this.state=this.stage=void 0,l.literal=hn(n),l.constant=pn(n),l},USE:"use",STRICT:"strict",watchFns:function(){var e=[],t=this.state.inputs,n=this;return r(t,function(t){e.push("var "+t+"="+n.generateFunction(t,"s"))}),t.length&&e.push("fn.inputs=["+t.join(",")+"];"),e.join("")},generateFunction:function(e,t){return"function("+t+"){"+this.varsPrefix(e)+this.body(e)+"};"},filterPrefix:function(){var e=[],t=this;return r(this.state.filters,function(n,r){e.push(n+"=$filter("+t.escape(r)+")")}),e.length?"var "+e.join(",")+";":""},varsPrefix:function(e){return this.state[e].vars.length?"var "+this.state[e].vars.join(",")+";":""},body:function(e){return this.state[e].body.join("")},recurse:function(e,t,n,i,o,a){var s,u,l,c,f,d=this;if(i=i||h,!a&&y(e.watchId))return t=t||this.nextId(),void this.if_("i",this.lazyAssign(t,this.computedMember("i",e.watchId)),this.lazyRecurse(e,t,n,i,o,!0));switch(e.type){case Co.Program:r(e.body,function(t,n){d.recurse(t.expression,void 0,void 0,function(e){u=e}),n!==e.body.length-1?d.current().body.push(u,";"):d.return_(u)});break;case Co.Literal:c=this.escape(e.value),this.assign(t,c),i(t||c);break;case Co.UnaryExpression:this.recurse(e.argument,void 0,void 0,function(e){u=e}),c=e.operator+"("+this.ifDefined(u,0)+")",this.assign(t,c),i(c);break;case Co.BinaryExpression:this.recurse(e.left,void 0,void 0,function(e){s=e}),this.recurse(e.right,void 0,void 0,function(e){u=e}),c="+"===e.operator?this.plus(s,u):"-"===e.operator?this.ifDefined(s,0)+e.operator+this.ifDefined(u,0):"("+s+")"+e.operator+"("+u+")",this.assign(t,c),i(c);break;case Co.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 Co.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 Co.Identifier:t=t||this.nextId(),n&&(n.context="inputs"===d.stage?"s":this.assign(this.nextId(),this.getHasOwnProperty("l",e.name)+"?l:s"),n.computed=!1,n.name=e.name),d.if_("inputs"===d.stage||d.not(d.getHasOwnProperty("l",e.name)),function(){d.if_("inputs"===d.stage||"s",function(){o&&1!==o&&d.if_(d.isNull(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))),i(t);break;case Co.MemberExpression:s=n&&(n.context=this.nextId())||this.nextId(),t=t||this.nextId(),d.recurse(e.object,s,void 0,function(){d.if_(d.notNull(s),function(){e.computed?(u=d.nextId(),d.recurse(e.property,u),d.getStringValue(u),o&&1!==o&&d.if_(d.not(d.computedMember(s,u)),d.lazyAssign(d.computedMember(s,u),"{}")),c=d.computedMember(s,u),d.assign(t,c),n&&(n.computed=!0,n.name=u)):(o&&1!==o&&d.if_(d.isNull(d.nonComputedMember(s,e.property.name)),d.lazyAssign(d.nonComputedMember(s,e.property.name),"{}")),c=d.nonComputedMember(s,e.property.name),d.assign(t,c),n&&(n.computed=!1,n.name=e.property.name))},function(){d.assign(t,"undefined")}),i(t)},!!o);break;case Co.CallExpression:t=t||this.nextId(),e.filter?(u=d.filter(e.callee.name),l=[],r(e.arguments,function(e){var t=d.nextId();d.recurse(e,t),l.push(t)}),c=u+"("+l.join(",")+")",d.assign(t,c),i(t)):(u=d.nextId(),s={},l=[],d.recurse(e.callee,u,s,function(){d.if_(d.notNull(u),function(){r(e.arguments,function(t){d.recurse(t,e.constant?void 0:d.nextId(),void 0,function(e){l.push(e)})}),c=s.name?d.member(s.context,s.name,s.computed)+"("+l.join(",")+")":u+"("+l.join(",")+")",d.assign(t,c)},function(){d.assign(t,"undefined")}),i(t)}));break;case Co.AssignmentExpression:u=this.nextId(),s={},this.recurse(e.left,void 0,s,function(){d.if_(d.notNull(s.context),function(){d.recurse(e.right,u),c=d.member(s.context,s.name,s.computed)+e.operator+u,d.assign(t,c),i(t||c)})},1);break;case Co.ArrayExpression:l=[],r(e.elements,function(t){d.recurse(t,e.constant?void 0:d.nextId(),void 0,function(e){l.push(e)})}),c="["+l.join(",")+"]",this.assign(t,c),i(t||c);break;case Co.ObjectExpression:l=[],f=!1,r(e.properties,function(e){e.computed&&(f=!0)}),f?(t=t||this.nextId(),this.assign(t,"{}"),r(e.properties,function(e){e.computed?(s=d.nextId(),d.recurse(e.key,s)):s=e.key.type===Co.Identifier?e.key.name:""+e.key.value,u=d.nextId(),d.recurse(e.value,u),d.assign(d.member(t,s,e.computed),u)})):(r(e.properties,function(t){d.recurse(t.value,e.constant?void 0:d.nextId(),void 0,function(e){l.push(d.escape(t.key.type===Co.Identifier?t.key.name:""+t.key.value)+":"+e)})}),c="{"+l.join(",")+"}",this.assign(t,c)),i(t||c);break;case Co.ThisExpression:this.assign(t,"s"),i(t||"s");break;case Co.LocalsExpression:this.assign(t,"l"),i(t||"l");break;case Co.NGValueParameter:this.assign(t,"v"),i(t||"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){if(e)return this.current().body.push(e,"=",t,";"),e},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(!0===e)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+")"},isNull:function(e){return e+"==null"},notNull:function(e){return e+"!=null"},nonComputedMember:function(e,t){var n=/^[$_a-zA-Z][$_a-zA-Z0-9]*$/;return n.test(t)?e+"."+t:e+'["'+t.replace(/[^$_a-zA-Z0-9]/g,this.stringEscapeFn)+'"]'},computedMember:function(e,t){return e+"["+t+"]"},member:function(e,t,n){return n?this.computedMember(e,t):this.nonComputedMember(e,t)},getStringValue:function(e){this.assign(e,"getStringValue("+e+")")},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(_(e))return"'"+e.replace(this.stringEscapeRegex,this.stringEscapeFn)+"'";if(w(e))return e.toString();if(!0===e)return"true";if(!1===e)return"false";if(null===e)return"null";if(void 0===e)return"undefined";throw bo("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]}},vn.prototype={compile:function(e){var t=this,n=this.astBuilder.ast(e);ln(n,t.$filter);var i,o;(i=dn(n))&&(o=this.recurse(i));var a,s=cn(n.body);s&&(a=[],r(s,function(e,n){var r=t.recurse(e);e.input=r,a.push(r),e.watchId=n}));var u=[];r(n.body,function(e){u.push(t.recurse(e.expression))});var l=0===n.body.length?h:1===n.body.length?u[0]:function(e,t){var n;return r(u,function(r){n=r(e,t)}),n};return o&&(l.assign=function(e,t,n){return o(e,n,t)}),a&&(l.inputs=a),l.literal=hn(n),l.constant=pn(n),l},recurse:function(e,t,n){var i,o,a,s=this;if(e.input)return this.inputs(e.input,e.watchId);switch(e.type){case Co.Literal:return this.value(e.value,t);case Co.UnaryExpression:return o=this.recurse(e.argument),this["unary"+e.operator](o,t);case Co.BinaryExpression:case Co.LogicalExpression:return i=this.recurse(e.left),o=this.recurse(e.right),this["binary"+e.operator](i,o,t);case Co.ConditionalExpression:return this["ternary?:"](this.recurse(e.test),this.recurse(e.alternate),this.recurse(e.consequent),t);case Co.Identifier:return s.identifier(e.name,t,n);case Co.MemberExpression:return i=this.recurse(e.object,!1,!!n),e.computed||(o=e.property.name),e.computed&&(o=this.recurse(e.property)),e.computed?this.computedMember(i,o,t,n):this.nonComputedMember(i,o,t,n);case Co.CallExpression:return a=[],r(e.arguments,function(e){a.push(s.recurse(e))}),e.filter&&(o=this.$filter(e.callee.name)),e.filter||(o=this.recurse(e.callee,!0)),e.filter?function(e,n,r,i){for(var s=[],u=0;u":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)>t(r,i,o,a);return n?{value:s}:s}},"binary<=":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)<=t(r,i,o,a);return n?{value:s}:s}},"binary>=":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)>=t(r,i,o,a);return n?{value:s}:s}},"binary&&":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)&&t(r,i,o,a);return n?{value:s}:s}},"binary||":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)||t(r,i,o,a);return n?{value:s}:s}},"ternary?:":function(e,t,n,r){return function(i,o,a,s){var u=e(i,o,a,s)?t(i,o,a,s):n(i,o,a,s);return r?{value:u}:u}},value:function(e,t){return function(){return t?{context:void 0,name:void 0,value:e}:e}},identifier:function(e,t,n){return function(r,i,o,a){var s=i&&e in i?i:r;n&&1!==n&&s&&null==s[e]&&(s[e]={});var u=s?s[e]:void 0;return t?{context:s,name:e,value:u}:u}},computedMember:function(e,t,n,r){return function(i,o,a,s){var u,l,c=e(i,o,a,s);return null!=c&&(u=t(i,o,a,s),u=on(u),r&&1!==r&&c&&!c[u]&&(c[u]={}),l=c[u]),n?{context:c,name:u,value:l}:l}},nonComputedMember:function(e,t,n,r){return function(i,o,a,s){var u=e(i,o,a,s);r&&1!==r&&u&&null==u[t]&&(u[t]={});var l=null!=u?u[t]:void 0;return n?{context:u,name:t,value:l}:l}},inputs:function(e,t){return function(n,r,i,o){return o?o[t]:e(n,r,i)}}};var So=function(e,t,n){this.lexer=e,this.$filter=t,this.options=n,this.ast=new Co(e,n),this.astCompiler=n.csp?new vn(this.ast,t):new mn(this.ast,t)};So.prototype={constructor:So,parse:function(e){return this.astCompiler.compile(e)}};var Eo=t("$sce"),Ao={HTML:"html",CSS:"css",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},Do=/_([a-z])/g,To=t("$compile"),Mo=e.document.createElement("a"),Oo=Ln(e.location.href);Nn.$inject=["$document"],qn.$inject=["$provide"];var Fo=22,Lo=".",Io="0";Bn.$inject=["$locale"],Hn.$inject=["$locale"];var Ro={yyyy:Jn("FullYear",4,0,!1,!0),yy:Jn("FullYear",2,0,!0,!0),y:Jn("FullYear",1,0,!1,!0),MMMM:Qn("Month"),MMM:Qn("Month",!0),MM:Jn("Month",2,1),M:Jn("Month",1,1),LLLL:Qn("Month",!1,!0),dd:Jn("Date",2),d:Jn("Date",1),HH:Jn("Hours",2),H:Jn("Hours",1),hh:Jn("Hours",2,-12),h:Jn("Hours",1,-12),mm:Jn("Minutes",2),m:Jn("Minutes",1),ss:Jn("Seconds",2),s:Jn("Seconds",1),sss:Jn("Milliseconds",3),EEEE:Qn("Day"),EEE:Qn("Day",!0),a:nr,Z:Kn,ww:tr(2),w:tr(1),G:rr,GG:rr,GGG:rr,GGGG:ir},No=/((?:[^yMLdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|m+|s+|a|Z|G+|w+))(.*)/,Po=/^-?\d+$/;or.$inject=["$locale"];var qo=m(zr),jo=m(Vr);lr.$inject=["$parse"];var Uo=m({restrict:"E",compile:function(e,t){if(!t.href&&!t.xlinkHref)return function(e,t){if("a"===t[0].nodeName.toLowerCase()){var n="[object SVGAnimatedString]"===Xr.call(t.prop("href"))?"xlink:href":"href";t.on("click",function(e){t.attr(n)||e.preventDefault()})}}}}),zo={};r(Ii,function(e,t){function n(e,n,i){e.$watch(i[r],function(e){i.$set(t,!!e)})}if("multiple"!==e){var r=$t("ng-"+t),i=n;"checked"===e&&(i=function(e,t,i){i.ngModel!==i[r]&&n(e,t,i)}),zo[r]=function(){return{restrict:"A",priority:100,link:i}}}}),r(Ni,function(e,t){zo[t]=function(){return{priority:100,link:function(e,n,r){if("ngPattern"===t&&"/"===r.ngPattern.charAt(0)){var i=r.ngPattern.match(/^\/(.+)\/([a-z]*)$/);if(i)return void r.$set("ngPattern",new RegExp(i[1],i[2]))}e.$watch(r[t],function(e){r.$set(t,e)})}}}}),r(["src","srcset","href"],function(e){var t=$t("ng-"+e);zo[t]=function(){return{priority:99,link:function(n,r,i){var o=e,a=e;"href"===e&&"[object SVGAnimatedString]"===Xr.call(r.prop("href"))&&(a="xlinkHref",i.$attr[a]="xlink:href",o=null),i.$observe(t,function(t){if(!t)return void("href"===e&&i.$set(a,null));i.$set(a,t),Yr&&o&&r.prop(o,i[a])})}}}});var Vo={$addControl:h,$$renameControl:fr,$removeControl:h,$setValidity:h,$setDirty:h,$setPristine:h,$setSubmitted:h},Bo="ng-pending";dr.$inject=["$element","$attrs","$scope","$animate","$interpolate"],dr.prototype={$rollbackViewValue:function(){r(this.$$controls,function(e){e.$rollbackViewValue()})},$commitViewValue:function(){r(this.$$controls,function(e){e.$commitViewValue()})},$addControl:function(e){fe(e.$name,"input"),this.$$controls.push(e),e.$name&&(this[e.$name]=e),e.$$parentForm=this},$$renameControl:function(e,t){var n=e.$name;this[n]===e&&delete this[n],this[t]=e,e.$name=t},$removeControl:function(e){e.$name&&this[e.$name]===e&&delete this[e.$name],r(this.$pending,function(t,n){this.$setValidity(n,null,e)},this),r(this.$error,function(t,n){this.$setValidity(n,null,e)},this),r(this.$$success,function(t,n){this.$setValidity(n,null,e)},this),q(this.$$controls,e),e.$$parentForm=Vo},$setDirty:function(){this.$$animate.removeClass(this.$$element,Ca),this.$$animate.addClass(this.$$element,Sa),this.$dirty=!0,this.$pristine=!1,this.$$parentForm.$setDirty()},$setPristine:function(){this.$$animate.setClass(this.$$element,Ca,Sa+" ng-submitted"),this.$dirty=!1,this.$pristine=!0,this.$submitted=!1,r(this.$$controls,function(e){e.$setPristine()})},$setUntouched:function(){r(this.$$controls,function(e){e.$setUntouched()})},$setSubmitted:function(){this.$$animate.addClass(this.$$element,"ng-submitted"),this.$submitted=!0,this.$$parentForm.$setSubmitted()}},pr({clazz:dr,set:function(e,t,n){var r=e[t];if(r){-1===r.indexOf(n)&&r.push(n)}else e[t]=[n]},unset:function(e,t,n){var r=e[t];r&&(q(r,n),0===r.length&&delete e[t])}});var Ho=function(e){return["$timeout","$parse",function(t,n){function r(e){return""===e?n('this[""]').assign:n(e).assign||h}return{name:"form",restrict:e?"EAC":"E",require:["form","^^?form"],controller:dr,compile:function(n,i){n.addClass(Ca).addClass(ka);var o=i.name?"name":!(!e||!i.ngForm)&&"ngForm";return{pre:function(e,n,i,a){var s=a[0];if(!("action"in i)){var u=function(t){e.$apply(function(){s.$commitViewValue(),s.$setSubmitted()}),t.preventDefault()};n[0].addEventListener("submit",u),n.on("$destroy",function(){t(function(){n[0].removeEventListener("submit",u)},0,!1)})}(a[1]||s.$$parentForm).$addControl(s);var c=o?r(s.$name):h;o&&(c(e,s),i.$observe(o,function(t){s.$name!==t&&(c(e,void 0),s.$$parentForm.$$renameControl(s,t),(c=r(s.$name))(e,s))})),n.on("$destroy",function(){s.$$parentForm.$removeControl(s),c(e,void 0),l(s,Vo)})}}}}}]},Yo=Ho(),Wo=Ho(!0),Go=/^\d{4,}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+(?:[+-][0-2]\d:[0-5]\d|Z)$/,Zo=/^[a-z][a-z\d.+-]*:\/*(?:[^:@]+(?::[^@]+)?@)?(?:[^\s:\/?#]+|\[[a-f\d:]+])(?::\d+)?(?:\/[^?#]*)?(?:\?[^#]*)?(?:#.*)?$/i,Jo=/^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+)*@[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*$/,Qo=/^\s*(-|\+)?(\d+|(\d*(\.\d*)))([eE][+-]?\d+)?\s*$/,Ko=/^(\d{4,})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,Xo=/^(\d{4,})-W(\d\d)$/,ea=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,ta="keydown wheel mousedown",na=pe();r("date,datetime-local,month,time,week".split(","),function(e){na[e]=!0});var ra={text:gr,date:_r("date",/^(\d{4,})-(\d{2})-(\d{2})$/,br(/^(\d{4,})-(\d{2})-(\d{2})$/,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":_r("datetimelocal",Ko,br(Ko,["yyyy","MM","dd","HH","mm","ss","sss"]),"yyyy-MM-ddTHH:mm:ss.sss"),time:_r("time",ea,br(ea,["HH","mm","ss","sss"]),"HH:mm:ss.sss"),week:_r("week",Xo,$r,"yyyy-Www"),month:_r("month",/^(\d{4,})-(\d\d)$/,br(/^(\d{4,})-(\d\d)$/,["yyyy","MM"]),"yyyy-MM"),number:Ar,url:Tr,email:Mr,radio:Or,range:Dr,checkbox:Lr,hidden:h,button:h,submit:h,reset:h,file:h},ia=["$browser","$sniffer","$filter","$parse",function(e,t,n,r){return{restrict:"E",require:["?ngModel"],link:{pre:function(i,o,a,s){s[0]&&(ra[zr(a.type)]||ra.text)(i,o,a,s[0],t,e,n,r)}}}}],oa=/^(true|false|\d+)$/,aa=function(){function e(e,t,n){e.prop("value",n),t.$set("value",n)}return{restrict:"A",priority:100,compile:function(t,n){return oa.test(n.ngValue)?function(t,n,r){e(n,r,t.$eval(r.ngValue))}:function(t,n,r){t.$watch(r.ngValue,function(t){e(n,r,t)})}}}},sa=["$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=me(e)})}}}}],ua=["$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=g(e)?"":e})}}}}],la=["$sce","$parse","$compile",function(e,t,n){return{restrict:"A",compile:function(r,i){var o=t(i.ngBindHtml),a=t(i.ngBindHtml,function(t){return e.valueOf(t)});return n.$$addBindingClass(r),function(t,r,i){n.$$addBindingInfo(r,i.ngBindHtml),t.$watch(a,function(){var n=o(t);r.html(e.getTrustedHtml(n)||"")})}}}}],ca=m({restrict:"A",require:"ngModel",link:function(e,t,n,r){r.$viewChangeListeners.push(function(){e.$eval(n.ngChange)})}}),fa=Ir("",!0),da=Ir("Odd",0),ha=Ir("Even",1),pa=cr({compile:function(e,t){t.$set("ngCloak",void 0),e.removeClass("ng-cloak")}}),ma=[function(){return{restrict:"A",scope:!0,controller:"@",priority:500}}],va={},ga={blur:!0,focus:!0};r("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),function(e){var t=$t("ng-"+e);va[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})};ga[e]&&r.$$phase?t.$evalAsync(i):t.$apply(i)})}}}}]});var ya=["$animate","$compile",function(e,t){return{multiElement:!0,transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(n,r,i,o,a){var s,u,l;n.$watch(i.ngIf,function(n){n?u||a(function(n,o){u=o,n[n.length++]=t.$$createComment("end ngIf",i.ngIf),s={clone:n},e.enter(n,r.parent(),r)}):(l&&(l.remove(),l=null),u&&(u.$destroy(),u=null),s&&(l=he(s.clone),e.leave(l).done(function(e){!1!==e&&(l=null)}),s=null))})}}}],$a=["$templateRequest","$anchorScroll","$animate",function(e,t,n){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:ni.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).done(function(e){!1!==e&&(d=null)}),d=h,h=null)};r.$watch(o,function(o){var u=function(e){!1===e||!y(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).done(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)})}}}}],ba=["$compile",function(t){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(n,r,i,o){if(Xr.call(r[0]).match(/SVG/))return r.empty(),void t(Ae(o.template,e.document).childNodes)(n,function(e){r.append(e)},{futureParentElement:r});r.html(o.template),t(r.contents())(n)}}}],_a=cr({priority:450,compile:function(){return{pre:function(e,t,n){e.$eval(n.ngInit)}}}}),wa=function(){return{restrict:"A",priority:100,require:"ngModel",link:function(e,t,n,i){var o=n.ngList||", ",a="false"!==n.ngTrim,s=a?si(o):o,u=function(e){if(!g(e)){var t=[];return e&&r(e.split(s),function(e){e&&t.push(a?si(e):e)}),t}};i.$parsers.push(u),i.$formatters.push(function(e){if(oi(e))return e.join(o)}),i.$isEmpty=function(e){return!e||!e.length}}}},ka="ng-valid",xa="ng-invalid",Ca="ng-pristine",Sa="ng-dirty",Ea=t("ngModel");Rr.$inject=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate","$timeout","$q","$interpolate"],Rr.prototype={$$initGetterSetters:function(){if(this.$options.getOption("getterSetter")){var e=this.$$parse(this.$$attr.ngModel+"()"),t=this.$$parse(this.$$attr.ngModel+"($$$p)");this.$$ngModelGet=function(t){var n=this.$$parsedNgModel(t);return x(n)&&(n=e(t)),n},this.$$ngModelSet=function(e,n){x(this.$$parsedNgModel(e))?t(e,{$$$p:n}):this.$$parsedNgModelAssign(e,n)} +}else if(!this.$$parsedNgModel.assign)throw Ea("nonassign","Expression '{0}' is non-assignable. Element: {1}",this.$$attr.ngModel,Q(this.$$element))},$render:h,$isEmpty:function(e){return g(e)||""===e||null===e||e!==e},$$updateEmptyClasses:function(e){this.$isEmpty(e)?(this.$$animate.removeClass(this.$$element,"ng-not-empty"),this.$$animate.addClass(this.$$element,"ng-empty")):(this.$$animate.removeClass(this.$$element,"ng-empty"),this.$$animate.addClass(this.$$element,"ng-not-empty"))},$setPristine:function(){this.$dirty=!1,this.$pristine=!0,this.$$animate.removeClass(this.$$element,Sa),this.$$animate.addClass(this.$$element,Ca)},$setDirty:function(){this.$dirty=!0,this.$pristine=!1,this.$$animate.removeClass(this.$$element,Ca),this.$$animate.addClass(this.$$element,Sa),this.$$parentForm.$setDirty()},$setUntouched:function(){this.$touched=!1,this.$untouched=!0,this.$$animate.setClass(this.$$element,"ng-untouched","ng-touched")},$setTouched:function(){this.$touched=!0,this.$untouched=!1,this.$$animate.setClass(this.$$element,"ng-touched","ng-untouched")},$rollbackViewValue:function(){this.$$timeout.cancel(this.$$pendingDebounce),this.$viewValue=this.$$lastCommittedViewValue,this.$render()},$validate:function(){if(!ii(this.$modelValue)){var e=this.$$lastCommittedViewValue,t=this.$$rawModelValue,n=this.$valid,r=this.$modelValue,i=this.$options.getOption("allowInvalid"),o=this;this.$$runValidators(t,e,function(e){i||n===e||(o.$modelValue=e?t:void 0,o.$modelValue!==r&&o.$$writeModelToScope())})}},$$runValidators:function(e,t,n){function i(e,t){a===s.$$currentValidationRunId&&s.$setValidity(e,t)}function o(e){a===s.$$currentValidationRunId&&n(e)}this.$$currentValidationRunId++;var a=this.$$currentValidationRunId,s=this;return function(){var e=s.$$parserName||"parse";return g(s.$$parserValid)?(i(e,null),!0):(s.$$parserValid||(r(s.$validators,function(e,t){i(t,null)}),r(s.$asyncValidators,function(e,t){i(t,null)})),i(e,s.$$parserValid),s.$$parserValid)}()&&function(){var n=!0;return r(s.$validators,function(r,o){var a=Boolean(r(e,t));n=n&&a,i(o,a)}),!!n||(r(s.$asyncValidators,function(e,t){i(t,null)}),!1)}()?void function(){var n=[],a=!0;r(s.$asyncValidators,function(r,o){var s=r(e,t);if(!O(s))throw Ea("nopromise","Expected asynchronous validator to return a promise but got '{0}' instead.",s);i(o,void 0),n.push(s.then(function(){i(o,!0)},function(){a=!1,i(o,!1)}))}),n.length?s.$$q.all(n).then(function(){o(a)},h):o(!0)}():void o(!1)},$commitViewValue:function(){var e=this.$viewValue;this.$$timeout.cancel(this.$$pendingDebounce),(this.$$lastCommittedViewValue!==e||""===e&&this.$$hasNativeValidators)&&(this.$$updateEmptyClasses(e),this.$$lastCommittedViewValue=e,this.$pristine&&this.$setDirty(),this.$$parseAndValidate())},$$parseAndValidate:function(){function e(){r.$modelValue!==o&&r.$$writeModelToScope()}var t=this.$$lastCommittedViewValue,n=t,r=this;if(this.$$parserValid=!g(n)||void 0,this.$$parserValid)for(var i=0;i0?this.$$pendingDebounce=this.$$timeout(function(){n.$commitViewValue()},t):this.$$scope.$root.$$phase?this.$commitViewValue():this.$$scope.$apply(function(){n.$commitViewValue()})}},pr({clazz:Rr,set:function(e,t){e[t]=!0},unset:function(e,t){delete e[t]}});var Aa,Da=["$rootScope",function(e){return{restrict:"A",require:["ngModel","^?form","^?ngModelOptions"],controller:Rr,priority:1,compile:function(t){return t.addClass(Ca).addClass("ng-untouched").addClass(ka),{pre:function(e,t,n,r){var i=r[0],o=r[1]||i.$$parentForm,a=r[2];a&&(i.$options=a.$options),i.$$initGetterSetters(),o.$addControl(i),n.$observe("name",function(e){i.$name!==e&&i.$$parentForm.$$renameControl(i,e)}),e.$on("$destroy",function(){i.$$parentForm.$removeControl(i)})},post:function(t,n,r,i){function o(){a.$setTouched()}var a=i[0];a.$options.getOption("updateOn")&&n.on(a.$options.getOption("updateOn"),function(e){a.$$debounceViewValueCommit(e&&e.type)}),n.on("blur",function(){a.$touched||(e.$$phase?t.$evalAsync(o):t.$apply(o))})}}}}}];Pr.prototype={getOption:function(e){return this.$$options[e]},createChild:function(e){var t=!1;return e=l({},e),r(e,function(n,r){"$inherit"===n?"*"===r?t=!0:(e[r]=this.$$options[r],"updateOn"===r&&(e.updateOnDefault=this.$$options.updateOnDefault)):"updateOn"===r&&(e.updateOnDefault=!1,e[r]=si(n.replace(/(\s+|^)default(\s+|$)/,function(){return e.updateOnDefault=!0," "})))},this),t&&(delete e["*"],qr(e,this.$$options)),qr(e,Aa.$$options),new Pr(e)}},Aa=new Pr({updateOn:"",updateOnDefault:!0,debounce:0,getterSetter:!1,allowInvalid:!1,timezone:null});var Ta=function(){function e(e,t){this.$$attrs=e,this.$$scope=t}return e.$inject=["$attrs","$scope"],e.prototype={$onInit:function(){var e=this.parentCtrl?this.parentCtrl.$options:Aa,t=this.$$scope.$eval(this.$$attrs.ngModelOptions);this.$options=e.createChild(t)}},{restrict:"A",priority:10,require:{parentCtrl:"?^^ngModelOptions"},bindToController:!0,controller:e}},Ma=cr({terminal:!0,priority:1e3}),Oa=t("ngOptions"),Fa=/^\s*([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+group\s+by\s+([\s\S]+?))?(?:\s+disable\s+when\s+([\s\S]+?))?\s+for\s+(?:([$\w][$\w]*)|(?:\(\s*([$\w][$\w]*)\s*,\s*([$\w][$\w]*)\s*\)))\s+in\s+([\s\S]+?)(?:\s+track\s+by\s+([\s\S]+?))?$/,La=["$compile","$document","$parse",function(t,i,o){function a(e,t,r){function i(e,t,n,r,i){this.selectValue=e,this.viewValue=t,this.label=n,this.group=r,this.disabled=i}function a(e){var t;if(!l&&n(e))t=e;else{t=[];for(var r in e)e.hasOwnProperty(r)&&"$"!==r.charAt(0)&&t.push(r)}return t}var s=e.match(Fa);if(!s)throw Oa("iexp","Expected expression in form of '_select_ (as _label_)? for (_key_,)?_value_ in _collection_' but got '{0}'. Element: {1}",e,Q(t));var u=s[5]||s[7],l=s[6],c=/ as /.test(s[0])&&s[1],f=s[9],d=o(s[2]?s[1]:u),h=c&&o(c),p=h||d,m=f&&o(f),v=f?function(e,t){return m(r,t)}:function(e){return et(e)},g=function(e,t){return v(e,k(e,t))},y=o(s[2]||s[1]),$=o(s[3]||""),b=o(s[4]||""),_=o(s[8]),w={},k=l?function(e,t){return w[l]=t,w[u]=e,w}:function(e){return w[u]=e,w};return{trackBy:f,getTrackByValue:g,getWatchables:o(_,function(e){var t=[];e=e||[];for(var n=a(e),i=n.length,o=0;o=0;t--){var r=w.items[t];He(y(r.group)?r.element.parentNode:r.element)}w=k.getOptions();var i={};if(_&&n.prepend(p.emptyOption),w.items.forEach(function(e){var t;y(e.group)?(t=i[e.group],t||(t=l.cloneNode(!1),x.appendChild(t),t.label=null===e.group?"null":e.group,i[e.group]=t),c(e,t)):c(e,x)}),n[0].appendChild(x),m.$render(),!m.$isEmpty(e)){var o=p.readValue();(k.trackBy||v?U(e,o):e===o)||(m.$setViewValue(o),m.$render())}}for(var p=s[0],m=s[1],v=o.multiple,g=0,$=n.children(),b=$.length;g0&&(e=new RegExp("^"+e+"$")),e&&!e.test)throw t("ngPattern")("noregexp","Expected {0} to be a RegExp but was {1}. Element: {2}",a,e,Q(n));o=e||void 0,i.$validate()}),i.$validators.pattern=function(e,t){return i.$isEmpty(t)||g(o)||o.test(t)}}}}},Ka=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i=-1;n.$observe("maxlength",function(e){var t=f(e);i=ii(t)?-1:t,r.$validate()}),r.$validators.maxlength=function(e,t){return i<0||r.$isEmpty(t)||t.length<=i}}}}},Xa=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i=0;n.$observe("minlength",function(e){i=f(e)||0,r.$validate()}),r.$validators.minlength=function(e,t){return r.$isEmpty(t)||t.length>=i}}}}};if(e.angular.bootstrap)return void(e.console&&console.log("WARNING: Tried to load angular more than once."));!function(){var t;if(!mi){var n=ci();Gr=g(n)?e.jQuery:n?e[n]:void 0,Gr&&Gr.fn.on?(Wr=Gr,l(Gr.fn,{scope:Li.scope,isolateScope:Li.isolateScope,controller:Li.controller,injector:Li.injector,inheritedData:Li.inheritedData}),t=Gr.cleanData,Gr.cleanData=function(e){for(var n,r,i=0;null!=(r=e[i]);i++)(n=Gr._data(r,"events"))&&n.$destroy&&Gr(r).triggerHandler("$destroy");t(e)}):Wr=Me,ni.element=Wr,mi=!0}}(),function(n){l(n,{bootstrap:oe,copy:j,extend:l,merge:c,equals:U,element:Wr,forEach:r,injector:at,noop:h,bind:B,toJson:Y,fromJson:W,identity:p,isUndefined:g,isDefined:y,isString:_,isFunction:x,isObject:$,isNumber:w,isElement:I,isArray:oi,version:_i,isDate:k,lowercase:zr,uppercase:Vr,callbacks:{$$counter:0},getTestability:se,reloadWithDebugInfo:ae,$$minErr:t,$$csp:li,$$encodeUriSegment:te,$$encodeUriQuery:ne,$$stringify:me}),(Zr=ve(e))("ng",["ngLocale"],["$provide",function(e){e.provider({$$sanitizeUri:xn}),e.provider("$compile",gt).directive({a:Uo,input:ia,textarea:ia,form:Yo,script:Ha,select:Ga,option:Za,ngBind:sa,ngBindHtml:la,ngBindTemplate:ua,ngClass:fa,ngClassEven:ha,ngClassOdd:da,ngCloak:pa,ngController:ma,ngForm:Wo,ngHide:Pa,ngIf:ya,ngInclude:$a,ngInit:_a,ngNonBindable:Ma,ngPluralize:Ia,ngRepeat:Ra,ngShow:Na,ngStyle:qa,ngSwitch:ja,ngSwitchWhen:Ua,ngSwitchDefault:za,ngOptions:La,ngTransclude:Ba,ngModel:Da,ngList:wa,ngChange:ca,pattern:Qa,ngPattern:Qa,required:Ja,ngRequired:Ja,minlength:Xa,ngMinlength:Xa,maxlength:Ka,ngMaxlength:Ka,ngValue:aa,ngModelOptions:Ta}).directive({ngInclude:ba}).directive(zo).directive(va),e.provider({$anchorScroll:st,$animate:Zi,$animateCss:Ki,$$animateJs:Wi,$$animateQueue:Gi,$$AnimateRunner:Qi,$$animateAsyncRun:Ji,$browser:ht,$cacheFactory:pt,$controller:kt,$document:xt,$$isDocumentHidden:Ct,$exceptionHandler:St,$filter:qn,$$forceReflow:oo,$interpolate:jt,$interval:Ut,$http:Rt,$httpParamSerializer:At,$httpParamSerializerJQLike:Dt,$httpBackend:Pt,$xhrFactory:Nt,$jsonpCallbacks:po,$location:nn,$log:rn,$parse:yn,$rootScope:kn,$q:$n,$$q:bn,$sce:Dn,$sceDelegate:An,$sniffer:Tn,$templateCache:mt,$templateRequest:Mn,$$testability:On,$timeout:Fn,$window:Rn,$$rAF:wn,$$jqLite:Xe,$$HashMap:Pi,$$cookieReader:Pn})}])}(ni),ni.module("ngLocale",[],["$provide",function(e){function t(e){e+="";var t=e.indexOf(".");return-1==t?0:e.length-t-1}function n(e,n){var r=n;void 0===r&&(r=Math.min(t(e),3));var i=Math.pow(10,r);return{v:r,f:(e*i|0)%i}}var r={ZERO:"zero",ONE:"one",TWO:"two",FEW:"few",MANY:"many",OTHER:"other"};e.value("$locale",{DATETIME_FORMATS:{AMPMS:["AM","PM"],DAY:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],ERANAMES:["Before Christ","Anno Domini"],ERAS:["BC","AD"],FIRSTDAYOFWEEK:6,MONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],SHORTDAY:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],SHORTMONTH:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],STANDALONEMONTH:["January","February","March","April","May","June","July","August","September","October","November","December"],WEEKENDRANGE:[5,6],fullDate:"EEEE, MMMM d, y",longDate:"MMMM d, y",medium:"MMM d, y h:mm:ss a",mediumDate:"MMM d, y",mediumTime:"h:mm:ss a",short:"M/d/yy h:mm a",shortDate:"M/d/yy",shortTime:"h:mm a"},NUMBER_FORMATS:{CURRENCY_SYM:"$",DECIMAL_SEP:".",GROUP_SEP:",",PATTERNS:[{gSize:3,lgSize:3,maxFrac:3,minFrac:0,minInt:1,negPre:"-",negSuf:"",posPre:"",posSuf:""},{gSize:3,lgSize:3,maxFrac:2,minFrac:2,minInt:1,negPre:"-¤",negSuf:"",posPre:"¤",posSuf:""}]},id:"en-us",localeID:"en_US",pluralCat:function(e,t){var i=0|e,o=n(e,t);return 1==i&&0==o.v?r.ONE:r.OTHER}})}]),Wr(function(){ie(e.document,oe)})}(window),!window.angular.$$csp().noInlineStyle&&window.angular.element(document.head).prepend('')},{}],9:[function(e,t,n){e("./angular"),t.exports=angular},{"./angular":8}],10:[function(e,t,n){t.exports=e("./lib/axios")},{"./lib/axios":12}],11:[function(e,t,n){"use strict";var r=e("./../utils"),i=e("./../core/settle"),o=e("./../helpers/buildURL"),a=e("./../helpers/parseHeaders"),s=e("./../helpers/isURLSameOrigin"),u=e("../core/createError"),l="undefined"!=typeof window&&window.btoa&&window.btoa.bind(window)||e("./../helpers/btoa");t.exports=function(t){return new Promise(function(n,c){var f=t.data,d=t.headers;r.isFormData(f)&&delete d["Content-Type"];var h=new XMLHttpRequest,p="onreadystatechange",m=!1;if("undefined"==typeof window||!window.XDomainRequest||"withCredentials"in h||s(t.url)||(h=new window.XDomainRequest,p="onload",m=!0,h.onprogress=function(){},h.ontimeout=function(){}),t.auth){var v=t.auth.username||"",g=t.auth.password||"";d.Authorization="Basic "+l(v+":"+g)}if(h.open(t.method.toUpperCase(),o(t.url,t.params,t.paramsSerializer),!0),h.timeout=t.timeout,h[p]=function(){if(h&&(4===h.readyState||m)&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))){var e="getAllResponseHeaders"in h?a(h.getAllResponseHeaders()):null,r=t.responseType&&"text"!==t.responseType?h.response:h.responseText,o={data:r,status:1223===h.status?204:h.status,statusText:1223===h.status?"No Content":h.statusText,headers:e,config:t,request:h};i(n,c,o),h=null}},h.onerror=function(){c(u("Network Error",t)),h=null},h.ontimeout=function(){c(u("timeout of "+t.timeout+"ms exceeded",t,"ECONNABORTED")),h=null},r.isStandardBrowserEnv()){var y=e("./../helpers/cookies"),$=(t.withCredentials||s(t.url))&&t.xsrfCookieName?y.read(t.xsrfCookieName):void 0;$&&(d[t.xsrfHeaderName]=$)}if("setRequestHeader"in h&&r.forEach(d,function(e,t){void 0===f&&"content-type"===t.toLowerCase()?delete d[t]:h.setRequestHeader(t,e)}),t.withCredentials&&(h.withCredentials=!0),t.responseType)try{h.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&h.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then(function(e){h&&(h.abort(),c(e),h=null)}),void 0===f&&(f=null),h.send(f)})}},{"../core/createError":18,"./../core/settle":21,"./../helpers/btoa":25,"./../helpers/buildURL":26,"./../helpers/cookies":28,"./../helpers/isURLSameOrigin":30,"./../helpers/parseHeaders":32,"./../utils":34}],12:[function(e,t,n){"use strict";function r(e){var t=new a(e),n=o(a.prototype.request,t);return i.extend(n,a.prototype,t),i.extend(n,t),n}var i=e("./utils"),o=e("./helpers/bind"),a=e("./core/Axios"),s=e("./defaults"),u=r(s);u.Axios=a,u.create=function(e){return r(i.merge(s,e))},u.Cancel=e("./cancel/Cancel"),u.CancelToken=e("./cancel/CancelToken"),u.isCancel=e("./cancel/isCancel"),u.all=function(e){return Promise.all(e)},u.spread=e("./helpers/spread"),t.exports=u,t.exports.default=u},{"./cancel/Cancel":13,"./cancel/CancelToken":14,"./cancel/isCancel":15,"./core/Axios":16,"./defaults":23,"./helpers/bind":24,"./helpers/spread":33,"./utils":34}],13:[function(e,t,n){"use strict";function r(e){this.message=e}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,t.exports=r},{}],14:[function(e,t,n){"use strict";function r(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(e){t=e});var n=this;e(function(e){n.reason||(n.reason=new i(e),t(n.reason))})}var i=e("./Cancel");r.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},r.source=function(){var e;return{token:new r(function(t){e=t}),cancel:e}},t.exports=r},{"./Cancel":13}],15:[function(e,t,n){"use strict";t.exports=function(e){return!(!e||!e.__CANCEL__)}},{}],16:[function(e,t,n){"use strict";function r(e){this.defaults=e,this.interceptors={request:new a,response:new a}}var i=e("./../defaults"),o=e("./../utils"),a=e("./InterceptorManager"),s=e("./dispatchRequest"),u=e("./../helpers/isAbsoluteURL"),l=e("./../helpers/combineURLs");r.prototype.request=function(e){"string"==typeof e&&(e=o.merge({url:arguments[0]},arguments[1])),e=o.merge(i,this.defaults,{method:"get"},e),e.baseURL&&!u(e.url)&&(e.url=l(e.baseURL,e.url));var t=[s,void 0],n=Promise.resolve(e);for(this.interceptors.request.forEach(function(e){t.unshift(e.fulfilled,e.rejected)}),this.interceptors.response.forEach(function(e){t.push(e.fulfilled,e.rejected)});t.length;)n=n.then(t.shift(),t.shift());return n},o.forEach(["delete","get","head","options"],function(e){r.prototype[e]=function(t,n){return this.request(o.merge(n||{},{method:e,url:t}))}}),o.forEach(["post","put","patch"],function(e){r.prototype[e]=function(t,n,r){return this.request(o.merge(r||{},{method:e,url:t,data:n}))}}),t.exports=r},{"./../defaults":23,"./../helpers/combineURLs":27,"./../helpers/isAbsoluteURL":29,"./../utils":34,"./InterceptorManager":17,"./dispatchRequest":19}],17:[function(e,t,n){"use strict";function r(){this.handlers=[]}var i=e("./../utils");r.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},r.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},r.prototype.forEach=function(e){i.forEach(this.handlers,function(t){null!==t&&e(t)})},t.exports=r},{"./../utils":34}],18:[function(e,t,n){"use strict";var r=e("./enhanceError");t.exports=function(e,t,n,i){var o=new Error(e);return r(o,t,n,i)}},{"./enhanceError":20}],19:[function(e,t,n){"use strict";function r(e){e.cancelToken&&e.cancelToken.throwIfRequested()}var i=e("./../utils"),o=e("./transformData"),a=e("../cancel/isCancel"),s=e("../defaults");t.exports=function(e){return r(e),e.headers=e.headers||{},e.data=o(e.data,e.headers,e.transformRequest),e.headers=i.merge(e.headers.common||{},e.headers[e.method]||{},e.headers||{}),i.forEach(["delete","get","head","post","put","patch","common"],function(t){delete e.headers[t]}),(e.adapter||s.adapter)(e).then(function(t){return r(e),t.data=o(t.data,t.headers,e.transformResponse),t},function(t){return a(t)||(r(e),t&&t.response&&(t.response.data=o(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)})}},{"../cancel/isCancel":15,"../defaults":23,"./../utils":34,"./transformData":22}],20:[function(e,t,n){"use strict";t.exports=function(e,t,n,r){return e.config=t,n&&(e.code=n),e.response=r,e}},{}],21:[function(e,t,n){"use strict";var r=e("./createError");t.exports=function(e,t,n){var i=n.config.validateStatus;n.status&&i&&!i(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n)):e(n)}},{"./createError":18}],22:[function(e,t,n){"use strict";var r=e("./../utils");t.exports=function(e,t,n){return r.forEach(n,function(n){e=n(e,t)}),e}},{"./../utils":34}],23:[function(e,t,n){ +(function(n){"use strict";function r(e,t){!i.isUndefined(e)&&i.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var i=e("./utils"),o=e("./helpers/normalizeHeaderName"),a={"Content-Type":"application/x-www-form-urlencoded"},s={adapter:function(){var t;return"undefined"!=typeof XMLHttpRequest?t=e("./adapters/xhr"):void 0!==n&&(t=e("./adapters/http")),t}(),transformRequest:[function(e,t){return o(t,"Content-Type"),i.isFormData(e)||i.isArrayBuffer(e)||i.isBuffer(e)||i.isStream(e)||i.isFile(e)||i.isBlob(e)?e:i.isArrayBufferView(e)?e.buffer:i.isURLSearchParams(e)?(r(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):i.isObject(e)?(r(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(e){return e>=200&&e<300}};s.headers={common:{Accept:"application/json, text/plain, */*"}},i.forEach(["delete","get","head"],function(e){s.headers[e]={}}),i.forEach(["post","put","patch"],function(e){s.headers[e]=i.merge(a)}),t.exports=s}).call(this,e("_process"))},{"./adapters/http":11,"./adapters/xhr":11,"./helpers/normalizeHeaderName":31,"./utils":34,_process:108}],24:[function(e,t,n){"use strict";t.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r>8-s%1*8)){if((n=i.charCodeAt(s+=.75))>255)throw new r;t=t<<8|n}return a}var o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";r.prototype=new Error,r.prototype.code=5,r.prototype.name="InvalidCharacterError",t.exports=i},{}],26:[function(e,t,n){"use strict";function r(e){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var i=e("./../utils");t.exports=function(e,t,n){if(!t)return e;var o;if(n)o=n(t);else if(i.isURLSearchParams(t))o=t.toString();else{var a=[];i.forEach(t,function(e,t){null!==e&&void 0!==e&&(i.isArray(e)&&(t+="[]"),i.isArray(e)||(e=[e]),i.forEach(e,function(e){i.isDate(e)?e=e.toISOString():i.isObject(e)&&(e=JSON.stringify(e)),a.push(r(t)+"="+r(e))}))}),o=a.join("&")}return o&&(e+=(-1===e.indexOf("?")?"?":"&")+o),e}},{"./../utils":34}],27:[function(e,t,n){"use strict";t.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},{}],28:[function(e,t,n){"use strict";var r=e("./../utils");t.exports=r.isStandardBrowserEnv()?function(){return{write:function(e,t,n,i,o,a){var s=[];s.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(i)&&s.push("path="+i),r.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}()},{"./../utils":34}],29:[function(e,t,n){"use strict";t.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},{}],30:[function(e,t,n){"use strict";var r=e("./../utils");t.exports=r.isStandardBrowserEnv()?function(){function e(e){var t=e;return n&&(i.setAttribute("href",t),t=i.href),i.setAttribute("href",t),{href:i.href,protocol:i.protocol?i.protocol.replace(/:$/,""):"",host:i.host,search:i.search?i.search.replace(/^\?/,""):"",hash:i.hash?i.hash.replace(/^#/,""):"",hostname:i.hostname,port:i.port,pathname:"/"===i.pathname.charAt(0)?i.pathname:"/"+i.pathname}}var t,n=/(msie|trident)/i.test(navigator.userAgent),i=document.createElement("a");return t=e(window.location.href),function(n){var i=r.isString(n)?e(n):n;return i.protocol===t.protocol&&i.host===t.host}}():function(){return function(){return!0}}()},{"./../utils":34}],31:[function(e,t,n){"use strict";var r=e("../utils");t.exports=function(e,t){r.forEach(e,function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])})}},{"../utils":34}],32:[function(e,t,n){"use strict";var r=e("./../utils");t.exports=function(e){var t,n,i,o={};return e?(r.forEach(e.split("\n"),function(e){i=e.indexOf(":"),t=r.trim(e.substr(0,i)).toLowerCase(),n=r.trim(e.substr(i+1)),t&&(o[t]=o[t]?o[t]+", "+n:n)}),o):o}},{"./../utils":34}],33:[function(e,t,n){"use strict";t.exports=function(e){return function(t){return e.apply(null,t)}}},{}],34:[function(e,t,n){(function(n){"use strict";function r(e){return"[object Array]"===x.call(e)}function i(e){return void 0!==n&&n.isBuffer&&n.isBuffer(e)}function o(e){return"[object ArrayBuffer]"===x.call(e)}function a(e){return"undefined"!=typeof FormData&&e instanceof FormData}function s(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer}function u(e){return"string"==typeof e}function l(e){return"number"==typeof e}function c(e){return void 0===e}function f(e){return null!==e&&"object"==typeof e}function d(e){return"[object Date]"===x.call(e)}function h(e){return"[object File]"===x.call(e)}function p(e){return"[object Blob]"===x.call(e)}function m(e){return"[object Function]"===x.call(e)}function v(e){return f(e)&&m(e.pipe)}function g(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams}function y(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")}function $(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)}function b(e,t){if(null!==e&&void 0!==e)if("object"==typeof e||r(e)||(e=[e]),r(e))for(var n=0,i=e.length;n0)throw new Error("Invalid string. Length must be a multiple of 4");return"="===e[t-2]?2:"="===e[t-1]?1:0}function i(e){return 3*e.length/4-r(e)}function o(e){var t,n,i,o,a,s,u=e.length;a=r(e),s=new f(3*u/4-a),i=a>0?u-4:u;var l=0;for(t=0,n=0;t>16&255,s[l++]=o>>8&255,s[l++]=255&o;return 2===a?(o=c[e.charCodeAt(t)]<<2|c[e.charCodeAt(t+1)]>>4,s[l++]=255&o):1===a&&(o=c[e.charCodeAt(t)]<<10|c[e.charCodeAt(t+1)]<<4|c[e.charCodeAt(t+2)]>>2,s[l++]=o>>8&255,s[l++]=255&o),s}function a(e){return l[e>>18&63]+l[e>>12&63]+l[e>>6&63]+l[63&e]}function s(e,t,n){for(var r,i=[],o=t;ou?u:a+16383));return 1===r?(t=e[n-1],i+=l[t>>2],i+=l[t<<4&63],i+="=="):2===r&&(t=(e[n-2]<<8)+e[n-1],i+=l[t>>10],i+=l[t>>4&63],i+=l[t<<2&63],i+="="),o.push(i),o.join("")}n.byteLength=i,n.toByteArray=o,n.fromByteArray=u;for(var l=[],c=[],f="undefined"!=typeof Uint8Array?Uint8Array:Array,d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",h=0,p=d.length;hZ)throw new RangeError("Invalid typed array length");var t=new Uint8Array(e);return t.__proto__=i.prototype,t}function i(e,t,n){if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return u(e)}return o(e,t,n)}function o(e,t,n){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return e instanceof ArrayBuffer?f(e,t,n):"string"==typeof e?l(e,t):d(e)}function a(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function s(e,t,n){return a(e),e<=0?r(e):void 0!==t?"string"==typeof n?r(e).fill(t,n):r(e).fill(t):r(e)}function u(e){return a(e),r(e<0?0:0|h(e))}function l(e,t){if("string"==typeof t&&""!==t||(t="utf8"),!i.isEncoding(t))throw new TypeError('"encoding" must be a valid string encoding');var n=0|m(e,t),o=r(n),a=o.write(e,t);return a!==n&&(o=o.slice(0,a)),o}function c(e){for(var t=e.length<0?0:0|h(e.length),n=r(t),i=0;i=Z)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Z.toString(16)+" bytes");return 0|e}function p(e){return+e!=e&&(e=0),i.alloc(+e)}function m(e,t){if(i.isBuffer(e))return e.length;if(H(e)||e instanceof ArrayBuffer)return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return j(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return V(e).length;default:if(r)return j(e).length;t=(""+t).toLowerCase(),r=!0}}function v(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if(n>>>=0,t>>>=0,n<=t)return"";for(e||(e="utf8");;)switch(e){case"hex":return M(this,t,n);case"utf8":case"utf-8":return E(this,t,n);case"ascii":return D(this,t,n);case"latin1":case"binary":return T(this,t,n);case"base64":return S(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function g(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function y(e,t,n,r,o){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,Y(n)&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return-1;n=e.length-1}else if(n<0){if(!o)return-1;n=0}if("string"==typeof t&&(t=i.from(t,r)),i.isBuffer(t))return 0===t.length?-1:$(e,t,n,r,o);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):$(e,[t],n,r,o);throw new TypeError("val must be string, number or Buffer")}function $(e,t,n,r,i){function o(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}var a=1,s=e.length,u=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,u/=2,n/=2}var l;if(i){var c=-1;for(l=n;ls&&(n=s-u),l=n;l>=0;l--){for(var f=!0,d=0;di&&(r=i):r=i;var o=t.length;if(o%2!=0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a239?4:o>223?3:o>191?2:1;if(i+s<=n){var u,l,c,f;switch(s){case 1:o<128&&(a=o);break;case 2:u=e[i+1],128==(192&u)&&(f=(31&o)<<6|63&u)>127&&(a=f);break;case 3:u=e[i+1],l=e[i+2],128==(192&u)&&128==(192&l)&&(f=(15&o)<<12|(63&u)<<6|63&l)>2047&&(f<55296||f>57343)&&(a=f);break;case 4:u=e[i+1],l=e[i+2],c=e[i+3],128==(192&u)&&128==(192&l)&&128==(192&c)&&(f=(15&o)<<18|(63&u)<<12|(63&l)<<6|63&c)>65535&&f<1114112&&(a=f)}}null===a?(a=65533,s=1):a>65535&&(a-=65536,r.push(a>>>10&1023|55296),a=56320|1023&a),r.push(a),i+=s}return A(r)}function A(e){var t=e.length;if(t<=J)return String.fromCharCode.apply(String,e);for(var n="",r=0;rr)&&(n=r);for(var i="",o=t;on)throw new RangeError("Trying to access beyond buffer length")}function L(e,t,n,r,o,a){if(!i.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||te.length)throw new RangeError("Index out of range")}function I(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function R(e,t,n,r,i){return t=+t,n>>>=0,i||I(e,t,n,4,3.4028234663852886e38,-3.4028234663852886e38),G.write(e,t,n,r,23,4),n+4}function N(e,t,n,r,i){return t=+t,n>>>=0,i||I(e,t,n,8,1.7976931348623157e308,-1.7976931348623157e308),G.write(e,t,n,r,52,8),n+8}function P(e){if(e=e.trim().replace(Q,""),e.length<2)return"";for(;e.length%4!=0;)e+="=";return e}function q(e){return e<16?"0"+e.toString(16):e.toString(16)}function j(e,t){t=t||1/0;for(var n,r=e.length,i=null,o=[],a=0;a55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function U(e){for(var t=[],n=0;n>8,i=n%256,o.push(i),o.push(r);return o}function V(e){return W.toByteArray(P(e))}function B(e,t,n,r){for(var i=0;i=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function H(e){return"function"==typeof ArrayBuffer.isView&&ArrayBuffer.isView(e)}function Y(e){return e!==e}var W=e("base64-js"),G=e("ieee754");n.Buffer=i,n.SlowBuffer=p,n.INSPECT_MAX_BYTES=50;var Z=2147483647;n.kMaxLength=Z,i.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()}catch(e){return!1}}(),i.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),"undefined"!=typeof Symbol&&Symbol.species&&i[Symbol.species]===i&&Object.defineProperty(i,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),i.poolSize=8192,i.from=function(e,t,n){return o(e,t,n)},i.prototype.__proto__=Uint8Array.prototype,i.__proto__=Uint8Array,i.alloc=function(e,t,n){return s(e,t,n)},i.allocUnsafe=function(e){return u(e)},i.allocUnsafeSlow=function(e){return u(e)},i.isBuffer=function(e){return null!=e&&!0===e._isBuffer},i.compare=function(e,t){if(!i.isBuffer(e)||!i.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var n=e.length,r=t.length,o=0,a=Math.min(n,r);o0&&(e=this.toString("hex",0,t).match(/.{2}/g).join(" "),this.length>t&&(e+=" ... ")),""},i.prototype.compare=function(e,t,n,r,o){if(!i.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),t<0||n>e.length||r<0||o>this.length)throw new RangeError("out of range index");if(r>=o&&t>=n)return 0;if(r>=o)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,o>>>=0,this===e)return 0;for(var a=o-r,s=n-t,u=Math.min(a,s),l=this.slice(r,o),c=e.slice(t,n),f=0;f>>=0,isFinite(n)?(n>>>=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return b(this,e,t,n);case"utf8":case"utf-8":return _(this,e,t,n);case"ascii":return w(this,e,t,n);case"latin1":case"binary":return k(this,e,t,n);case"base64":return x(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return C(this,e,t,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},i.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var J=4096;i.prototype.slice=function(e,t){var n=this.length;e=~~e,t=void 0===t?n:~~t,e<0?(e+=n)<0&&(e=0):e>n&&(e=n),t<0?(t+=n)<0&&(t=0):t>n&&(t=n),t>>=0,t>>>=0,n||F(e,t,this.length);for(var r=this[e],i=1,o=0;++o>>=0,t>>>=0,n||F(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},i.prototype.readUInt8=function(e,t){return e>>>=0,t||F(e,1,this.length),this[e]},i.prototype.readUInt16LE=function(e,t){return e>>>=0,t||F(e,2,this.length),this[e]|this[e+1]<<8},i.prototype.readUInt16BE=function(e,t){return e>>>=0,t||F(e,2,this.length),this[e]<<8|this[e+1]},i.prototype.readUInt32LE=function(e,t){return e>>>=0,t||F(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},i.prototype.readUInt32BE=function(e,t){return e>>>=0,t||F(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},i.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||F(e,t,this.length);for(var r=this[e],i=1,o=0;++o=i&&(r-=Math.pow(2,8*t)),r},i.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||F(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*t)),o},i.prototype.readInt8=function(e,t){return e>>>=0,t||F(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},i.prototype.readInt16LE=function(e,t){e>>>=0,t||F(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},i.prototype.readInt16BE=function(e,t){e>>>=0,t||F(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},i.prototype.readInt32LE=function(e,t){return e>>>=0,t||F(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},i.prototype.readInt32BE=function(e,t){return e>>>=0,t||F(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},i.prototype.readFloatLE=function(e,t){return e>>>=0,t||F(e,4,this.length),G.read(this,e,!0,23,4)},i.prototype.readFloatBE=function(e,t){return e>>>=0,t||F(e,4,this.length),G.read(this,e,!1,23,4)},i.prototype.readDoubleLE=function(e,t){return e>>>=0,t||F(e,8,this.length),G.read(this,e,!0,52,8)},i.prototype.readDoubleBE=function(e,t){return e>>>=0,t||F(e,8,this.length),G.read(this,e,!1,52,8)},i.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){L(this,e,t,n,Math.pow(2,8*n)-1,0)}var i=1,o=0;for(this[t]=255&e;++o>>=0,n>>>=0,!r){L(this,e,t,n,Math.pow(2,8*n)-1,0)}var i=n-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+n},i.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,1,255,0),this[t]=255&e,t+1},i.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},i.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},i.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},i.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},i.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var i=Math.pow(2,8*n-1);L(this,e,t,n,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o>0)-s&255;return t+n},i.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){var i=Math.pow(2,8*n-1);L(this,e,t,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},i.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},i.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},i.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},i.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},i.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||L(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},i.prototype.writeFloatLE=function(e,t,n){return R(this,e,t,!0,n)},i.prototype.writeFloatBE=function(e,t,n){return R(this,e,t,!1,n)},i.prototype.writeDoubleLE=function(e,t,n){return N(this,e,t,!0,n)},i.prototype.writeDoubleBE=function(e,t,n){return N(this,e,t,!1,n)},i.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t=0;--i)e[i+t]=this[i+n];else if(o<1e3)for(i=0;i>>=0,n=void 0===n?this.length:n>>>0,e||(e=0);var a;if("number"==typeof e)for(a=t;a0&&void 0!==arguments[0]?arguments[0]:{};this.action=e.action,this.emitter=e.emitter,this.target=e.target,this.text=e.text,this.trigger=e.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var e=this,t="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return e.removeFake()},this.fakeHandler=document.body.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[t?"right":"left"]="-9999px";var n=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.addEventListener("focus",window.scrollTo(0,n)),this.fakeElem.style.top=n+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,document.body.appendChild(this.fakeElem),this.selectedText=(0,r.default)(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(document.body.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(document.body.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=(0,r.default)(this.target),this.copyText()}},{key:"copyText",value:function(){var e=void 0;try{e=document.execCommand(this.action)}catch(t){e=!1}this.handleResult(e)}},{key:"handleResult",value:function(e){this.emitter.emit(e?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.target&&this.target.blur(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=e,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(e){if(void 0!==e){if(!e||"object"!==(void 0===e?"undefined":i(e))||1!==e.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&e.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(e.hasAttribute("readonly")||e.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=e}},get:function(){return this._target}}]),e}();e.exports=a})},{select:110}],38:[function(e,t,n){!function(r,i){if("function"==typeof define&&define.amd)define(["module","./clipboard-action","tiny-emitter","good-listener"],i);else if(void 0!==n)i(t,e("./clipboard-action"),e("tiny-emitter"),e("good-listener"));else{var o={exports:{}};i(o,r.clipboardAction,r.tinyEmitter,r.goodListener),r.clipboard=o.exports}}(this,function(e,t,n,r){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function u(e,t){var n="data-clipboard-"+e;if(t.hasAttribute(n))return t.getAttribute(n)}var l=i(t),c=i(n),f=i(r),d=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof e.action?e.action:this.defaultAction,this.target="function"==typeof e.target?e.target:this.defaultTarget,this.text="function"==typeof e.text?e.text:this.defaultText}},{key:"listenClick",value:function(e){var t=this;this.listener=(0,f.default)(e,"click",function(e){return t.onClick(e)})}},{key:"onClick",value:function(e){var t=e.delegateTarget||e.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new l.default({action:this.action(t),target:this.target(t),text:this.text(t),trigger:t,emitter:this})}},{key:"defaultAction",value:function(e){return u("action",e)}},{key:"defaultTarget",value:function(e){var t=u("target",e);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(e){return u("text",e)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}]),t}(c.default);e.exports=h})},{"./clipboard-action":37,"good-listener":44,"tiny-emitter":111}],39:[function(e,t,n){function r(e,t){for(;e&&e.nodeType!==i;){if(e.matches(t))return e;e=e.parentNode}}var i=9;if(Element&&!Element.prototype.matches){var o=Element.prototype;o.matches=o.matchesSelector||o.mozMatchesSelector||o.msMatchesSelector||o.oMatchesSelector||o.webkitMatchesSelector}t.exports=r},{}],40:[function(e,t,n){function r(e,t,n,r,o){var a=i.apply(this,arguments);return e.addEventListener(n,a,o),{destroy:function(){e.removeEventListener(n,a,o)}}}function i(e,t,n,r){return function(n){n.delegateTarget=o(n.target,t),n.delegateTarget&&r.call(e,n)}}var o=e("./closest");t.exports=r},{"./closest":39}],41:[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;i
    '),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;o'+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;s\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;o'+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;i',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;n0){for(a=["TB","GB","MB","KB","b"],n=s=0,u=a.length;s=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;n0){for(o=0,a=n.length;o1024*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;n=t)&&(r=this.getQueuedFiles(),r.length>0)){if(this.options.uploadMultiple)return this.processFiles(r.slice(0,t-n));for(;e=N;c=0<=N?++M:--M)o.append(this._getParamName(c),e[c],this._renameFilename(e[c].name));return this.submitRequest(w,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;ol;)t=i[4*(s-1)+3],0===t?o=s:l=s,s=o+l>>1;return u=s/a,0===u?1:u},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){if("readystatechange"!==n.type||"complete"===r.readyState)return("load"===n.type?e:r)[u](s+n.type,o,!1),!i&&(i=!0)?t.call(e,n.type||n):void 0},a=function(){try{l.doScroll("left")}catch(e){return e,void setTimeout(a,50)}return o("poll")},"complete"!==r.readyState){if(r.createEventObject&&l.doScroll){try{c=!e.frameElement}catch(e){}c&&a()}return r[n](s+"DOMContentLoaded",o,!1),r[n](s+"readystatechange",o,!1),e[n](s+"load",o,!1)}},e._autoDiscoverFunction=function(){if(e.autoDiscover)return e.discover()},i(window,e._autoDiscoverFunction)}).call(this)},{}],42:[function(e,t,n){t.exports={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"}},{}],43:[function(e,t,n){n.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},n.nodeList=function(e){var t=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===t||"[object HTMLCollection]"===t)&&"length"in e&&(0===e.length||n.node(e[0]))},n.string=function(e){return"string"==typeof e||e instanceof String},n.fn=function(e){return"[object Function]"===Object.prototype.toString.call(e)}},{}],44:[function(e,t,n){function r(e,t,n){if(!e&&!t&&!n)throw new Error("Missing required arguments");if(!s.string(t))throw new TypeError("Second argument must be a String");if(!s.fn(n))throw new TypeError("Third argument must be a Function");if(s.node(e))return i(e,t,n);if(s.nodeList(e))return o(e,t,n);if(s.string(e))return a(e,t,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function i(e,t,n){return e.addEventListener(t,n),{destroy:function(){e.removeEventListener(t,n)}}}function o(e,t,n){return Array.prototype.forEach.call(e,function(e){e.addEventListener(t,n)}),{destroy:function(){Array.prototype.forEach.call(e,function(e){e.removeEventListener(t,n)})}}}function a(e,t,n){return u(document.body,e,t,n)}var s=e("./is"),u=e("delegate");t.exports=r},{"./is":43,delegate:40}],45:[function(e,t,n){n.read=function(e,t,n,r,i){var o,a,s=8*i-r-1,u=(1<>1,c=-7,f=n?i-1:0,d=n?-1:1,h=e[t+f];for(f+=d,o=h&(1<<-c)-1,h>>=-c,c+=s;c>0;o=256*o+e[t+f],f+=d,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=r;c>0;a=256*a+e[t+f],f+=d,c-=8);if(0===o)o=1-l;else{if(o===u)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,r),o-=l}return(h?-1:1)*a*Math.pow(2,o-r)},n.write=function(e,t,n,r,i,o){var a,s,u,l=8*o-i-1,c=(1<>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:o-1,p=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),t+=a+f>=1?d/u:d*Math.pow(2,1-f),t*u>=2&&(a++,u/=2),a+f>=c?(s=0,a=c):a+f>=1?(s=(t*u-1)*Math.pow(2,i),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;e[n+h]=255&s,h+=p,s/=256,i-=8);for(a=a<0;e[n+h]=255&a,h+=p,a/=256,l-=8);e[n+h-p]|=128*m}},{}],46:[function(e,t,n){"use strict";function r(e){return Array.prototype.slice.call(arguments,1).forEach(function(t){t&&Object.keys(t).forEach(function(n){e[n]=t[n]})}),e}function i(e){return Object.prototype.toString.call(e)}function o(e){return"[object String]"===i(e)}function a(e){return"[object Object]"===i(e)}function s(e){return"[object RegExp]"===i(e)}function u(e){return"[object Function]"===i(e)}function l(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}function c(e){return Object.keys(e||{}).reduce(function(e,t){return e||y.hasOwnProperty(t)},!1)}function f(e){e.__index__=-1,e.__text_cache__=""}function d(e){return function(t,n){var r=t.slice(n);return e.test(r)?r.match(e)[0].length:0}}function h(){return function(e,t){t.normalize(e)}}function p(t){function n(e){return e.replace("%TLDS%",i.src_tlds)}function r(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}var i=t.re=e("./lib/re")(t.__opts__),c=t.__tlds__.slice();t.onCompile(),t.__tlds_replaced__||c.push(b),c.push(i.src_xn),i.src_tlds=c.join("|"),i.email_fuzzy=RegExp(n(i.tpl_email_fuzzy),"i"),i.link_fuzzy=RegExp(n(i.tpl_link_fuzzy),"i"),i.link_no_ip_fuzzy=RegExp(n(i.tpl_link_no_ip_fuzzy),"i"),i.host_fuzzy_test=RegExp(n(i.tpl_host_fuzzy_test),"i");var p=[];t.__compiled__={},Object.keys(t.__schemas__).forEach(function(e){var n=t.__schemas__[e];if(null!==n){var i={ +validate:null,link:null};return t.__compiled__[e]=i,a(n)?(s(n.validate)?i.validate=d(n.validate):u(n.validate)?i.validate=n.validate:r(e,n),void(u(n.normalize)?i.normalize=n.normalize:n.normalize?r(e,n):i.normalize=h())):o(n)?void p.push(e):void r(e,n)}}),p.forEach(function(e){t.__compiled__[t.__schemas__[e]]&&(t.__compiled__[e].validate=t.__compiled__[t.__schemas__[e]].validate,t.__compiled__[e].normalize=t.__compiled__[t.__schemas__[e]].normalize)}),t.__compiled__[""]={validate:null,normalize:h()};var m=Object.keys(t.__compiled__).filter(function(e){return e.length>0&&t.__compiled__[e]}).map(l).join("|");t.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+i.src_ZPCc+"))("+m+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+i.src_ZPCc+"))("+m+")","ig"),t.re.pretest=RegExp("("+t.re.schema_test.source+")|("+t.re.host_fuzzy_test.source+")|@","i"),f(t)}function m(e,t){var n=e.__index__,r=e.__last_index__,i=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=i,this.text=i,this.url=i}function v(e,t){var n=new m(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function g(e,t){if(!(this instanceof g))return new g(e,t);t||c(e)&&(t=e,e={}),this.__opts__=r({},y,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=r({},$,e),this.__compiled__={},this.__tlds__=_,this.__tlds_replaced__=!1,this.re={},p(this)}var y={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1},$={"http:":{validate:function(e,t,n){var r=e.slice(t);return n.re.http||(n.re.http=new RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r)?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){var r=e.slice(t);return n.re.no_http||(n.re.no_http=new RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r)?t>=3&&":"===e[t-3]?0:t>=3&&"/"===e[t-3]?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){var r=e.slice(t);return n.re.mailto||(n.re.mailto=new RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r)?r.match(n.re.mailto)[0].length:0}}},b="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",_="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");g.prototype.add=function(e,t){return this.__schemas__[e]=t,p(this),this},g.prototype.set=function(e){return this.__opts__=r(this.__opts__,e),this},g.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,n,r,i,o,a,s,u;if(this.re.schema_test.test(e))for(s=this.re.schema_search,s.lastIndex=0;null!==(t=s.exec(e));)if(i=this.testSchemaAt(e,t[2],s.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+i;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(u=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||u=0&&null!==(r=e.match(this.re.email_fuzzy))&&(o=r.index+r[1].length,a=r.index+r[0].length,(this.__index__<0||othis.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=a)),this.__index__>=0},g.prototype.pretest=function(e){return this.re.pretest.test(e)},g.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},g.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(v(this,t)),t=this.__last_index__);for(var r=t?e.slice(t):e;this.test(r);)n.push(v(this,t)),r=r.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},g.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(e,t,n){return e!==n[t-1]}).reverse(),p(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,p(this),this)},g.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},g.prototype.onCompile=function(){},t.exports=g},{"./lib/re":47}],47:[function(e,t,n){"use strict";t.exports=function(t){var n={};n.src_Any=e("uc.micro/properties/Any/regex").source,n.src_Cc=e("uc.micro/categories/Cc/regex").source,n.src_Z=e("uc.micro/categories/Z/regex").source,n.src_P=e("uc.micro/categories/P/regex").source,n.src_ZPCc=[n.src_Z,n.src_P,n.src_Cc].join("|"),n.src_ZCc=[n.src_Z,n.src_Cc].join("|");return n.src_pseudo_letter="(?:(?![><|]|"+n.src_ZPCc+")"+n.src_Any+")",n.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",n.src_auth="(?:(?:(?!"+n.src_ZCc+"|[@/\\[\\]()]).)+@)?",n.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",n.src_host_terminator="(?=$|[><|]|"+n.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+n.src_ZPCc+"))",n.src_path="(?:[/?#](?:(?!"+n.src_ZCc+"|[><|]|[()[\\]{}.,\"'?!\\-]).|\\[(?:(?!"+n.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+n.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+n.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+n.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+n.src_ZCc+"|[']).)+\\'|\\'(?="+n.src_pseudo_letter+"|[-]).|\\.{2,3}[a-zA-Z0-9%/]|\\.(?!"+n.src_ZCc+"|[.]).|"+(t&&t["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+n.src_ZCc+").|\\!(?!"+n.src_ZCc+"|[!]).|\\?(?!"+n.src_ZCc+"|[?]).)+|\\/)?",n.src_email_name='[\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]+',n.src_xn="xn--[a-z0-9\\-]{1,59}",n.src_domain_root="(?:"+n.src_xn+"|"+n.src_pseudo_letter+"{1,63})",n.src_domain="(?:"+n.src_xn+"|(?:"+n.src_pseudo_letter+")|(?:"+n.src_pseudo_letter+"(?:-(?!-)|"+n.src_pseudo_letter+"){0,61}"+n.src_pseudo_letter+"))",n.src_host="(?:(?:(?:(?:"+n.src_domain+")\\.)*"+n.src_domain+"))",n.tpl_host_fuzzy="(?:"+n.src_ip4+"|(?:(?:(?:"+n.src_domain+")\\.)+(?:%TLDS%)))",n.tpl_host_no_ip_fuzzy="(?:(?:(?:"+n.src_domain+")\\.)+(?:%TLDS%))",n.src_host_strict=n.src_host+n.src_host_terminator,n.tpl_host_fuzzy_strict=n.tpl_host_fuzzy+n.src_host_terminator,n.src_host_port_strict=n.src_host+n.src_port+n.src_host_terminator,n.tpl_host_port_fuzzy_strict=n.tpl_host_fuzzy+n.src_port+n.src_host_terminator,n.tpl_host_port_no_ip_fuzzy_strict=n.tpl_host_no_ip_fuzzy+n.src_port+n.src_host_terminator,n.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+n.src_ZPCc+"|>|$))",n.tpl_email_fuzzy="(^|[><|]|\\(|"+n.src_ZCc+")("+n.src_email_name+"@"+n.tpl_host_fuzzy_strict+")",n.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+n.src_ZPCc+"))((?![$+<=>^`||])"+n.tpl_host_port_fuzzy_strict+n.src_path+")",n.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+n.src_ZPCc+"))((?![$+<=>^`||])"+n.tpl_host_port_no_ip_fuzzy_strict+n.src_path+")",n}},{"uc.micro/categories/Cc/regex":112,"uc.micro/categories/P/regex":114,"uc.micro/categories/Z/regex":115,"uc.micro/properties/Any/regex":117}],48:[function(e,t,n){function r(e,t,n){var r=e.attrIndex(t),i=[t,n];r<0?e.attrPush(i):e.attrs[r]=i}function i(e,t){for(var n=e[t].level-1,r=t-1;r>=0;r--)if(e[r].level===n)return r;return-1}function o(e,t){return c(e[t])&&f(e[t-1])&&d(e[t-2])&&h(e[t])}function a(e,t){e.children.unshift(s(e,t)),e.children[1].content=e.children[1].content.slice(3),e.content=e.content.slice(3),m&&(e.children.unshift(u(t)),e.children.push(l(t)))}function s(e,t){var n=new t("html_inline","",0),r=p?' disabled="" ':"";return 0===e.content.indexOf("[ ] ")?n.content='':0!==e.content.indexOf("[x] ")&&0!==e.content.indexOf("[X] ")||(n.content=''),n}function u(e){var t=new e("html_inline","",0);return t.content="",t}function c(e){return"inline"===e.type}function f(e){return"paragraph_open"===e.type}function d(e){return"list_item_open"===e.type}function h(e){return 0===e.content.indexOf("[ ] ")||0===e.content.indexOf("[x] ")||0===e.content.indexOf("[X] ")}var p=!0,m=!1;t.exports=function(e,t){t&&(p=!t.enabled,m=!!t.label),e.core.ruler.after("inline","github-task-lists",function(e){for(var t=e.tokens,n=2;n`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",i="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",o=new RegExp("^(?:"+r+"|"+i+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?].*?[?]>|]*>|)"),a=new RegExp("^(?:"+r+"|"+i+")");t.exports.HTML_TAG_RE=o,t.exports.HTML_OPEN_CLOSE_TAG_RE=a},{}],53:[function(e,t,n){"use strict";function r(e){return Object.prototype.toString.call(e)}function i(e){return"[object String]"===r(e)}function o(e,t){return _.call(e,t)}function a(e){return Array.prototype.slice.call(arguments,1).forEach(function(t){if(t){if("object"!=typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach(function(n){e[n]=t[n]})}}),e}function s(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))}function u(e){return!(e>=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(65535!=(65535&e)&&65534!=(65535&e)&&(!(e>=0&&e<=8)&&(11!==e&&(!(e>=14&&e<=31)&&(!(e>=127&&e<=159)&&!(e>1114111)))))))}function l(e){if(e>65535){e-=65536;var t=55296+(e>>10),n=56320+(1023&e);return String.fromCharCode(t,n)}return String.fromCharCode(e)}function c(e,t){var n=0;return o(C,t)?C[t]:35===t.charCodeAt(0)&&x.test(t)&&(n="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10),u(n))?l(n):e}function f(e){return e.indexOf("\\")<0?e:e.replace(w,"$1")}function d(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(k,function(e,t,n){return t||c(e,n)})}function h(e){return A[e]}function p(e){return S.test(e)?e.replace(E,h):e}function m(e){return e.replace(D,"\\$&")}function v(e){switch(e){case 9:case 32:return!0}return!1}function g(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function y(e){return T.test(e)}function $(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function b(e){return e.trim().replace(/\s+/g," ").toUpperCase()}var _=Object.prototype.hasOwnProperty,w=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,k=new RegExp(w.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),x=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,C=e("./entities"),S=/[&<>"]/,E=/[&<>"]/g,A={"&":"&","<":"<",">":">",'"':"""},D=/[.?*+^$[\]\\(){}|-]/g,T=e("uc.micro/categories/P/regex");n.lib={},n.lib.mdurl=e("mdurl"),n.lib.ucmicro=e("uc.micro"),n.assign=a,n.isString=i,n.has=o,n.unescapeMd=f,n.unescapeAll=d,n.isValidEntityCode=u,n.fromCodePoint=l,n.escapeHtml=p,n.arrayReplaceAt=s,n.isSpace=v,n.isWhiteSpace=g,n.isMdAsciiPunct=$,n.isPunctChar=y,n.escapeRE=m,n.normalizeReference=b},{"./entities":50,mdurl:104,"uc.micro":116,"uc.micro/categories/P/regex":114}],54:[function(e,t,n){"use strict";n.parseLinkLabel=e("./parse_link_label"),n.parseLinkDestination=e("./parse_link_destination"),n.parseLinkTitle=e("./parse_link_title")},{"./parse_link_destination":55,"./parse_link_label":56,"./parse_link_title":57}],55:[function(e,t,n){"use strict";var r=e("../common/utils").isSpace,i=e("../common/utils").unescapeAll;t.exports=function(e,t,n){var o,a,s=t,u={ok:!1,pos:0,lines:0,str:""};if(60===e.charCodeAt(t)){for(t++;t1)break;if(41===o&&--a<0)break;t++}return s===t?u:(u.str=i(e.slice(s,t)),u.lines=0,u.pos=t,u.ok=!0,u)}},{"../common/utils":53}],56:[function(e,t,n){"use strict";t.exports=function(e,t,n){var r,i,o,a,s=-1,u=e.posMax,l=e.pos;for(e.pos=t+1,r=1;e.pos=n)return u;if(34!==(o=e.charCodeAt(t))&&39!==o&&40!==o)return u;for(t++,40===o&&(o=41);t=0))try{t.hostname=m.toASCII(t.hostname)}catch(e){}return p.encode(p.format(t))}function o(e){var t=p.parse(e,!0);if(t.hostname&&(!t.protocol||$.indexOf(t.protocol)>=0))try{t.hostname=m.toUnicode(t.hostname)}catch(e){}return p.decode(p.format(t))}function a(e,t){if(!(this instanceof a))return new a(e,t);t||s.isString(e)||(t=e||{},e="default"),this.inline=new d,this.block=new f,this.core=new c,this.renderer=new l,this.linkify=new h,this.validateLink=r,this.normalizeLink=i,this.normalizeLinkText=o,this.utils=s,this.helpers=s.assign({},u),this.options={},this.configure(e),t&&this.set(t)}var s=e("./common/utils"),u=e("./helpers"),l=e("./renderer"),c=e("./parser_core"),f=e("./parser_block"),d=e("./parser_inline"),h=e("linkify-it"),p=e("mdurl"),m=e("punycode"),v={default:e("./presets/default"),zero:e("./presets/zero"),commonmark:e("./presets/commonmark")},g=/^(vbscript|javascript|file|data):/,y=/^data:image\/(gif|png|jpeg|webp);/,$=["http:","https:","mailto:"];a.prototype.set=function(e){return s.assign(this.options,e),this},a.prototype.configure=function(e){var t,n=this;if(s.isString(e)&&(t=e,!(e=v[t])))throw new Error('Wrong `markdown-it` preset "'+t+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&n.set(e.options),e.components&&Object.keys(e.components).forEach(function(t){e.components[t].rules&&n[t].ruler.enableOnly(e.components[t].rules),e.components[t].rules2&&n[t].ruler2.enableOnly(e.components[t].rules2)}),this},a.prototype.enable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){n=n.concat(this[t].ruler.enable(e,!0))},this),n=n.concat(this.inline.ruler2.enable(e,!0));var r=e.filter(function(e){return n.indexOf(e)<0});if(r.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+r);return this},a.prototype.disable=function(e,t){var n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(t){n=n.concat(this[t].ruler.disable(e,!0))},this),n=n.concat(this.inline.ruler2.disable(e,!0));var r=e.filter(function(e){return n.indexOf(e)<0});if(r.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+r);return this},a.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},a.prototype.parse=function(e,t){if("string"!=typeof e)throw new Error("Input data should be a String");var n=new this.core.State(e,this,t);return this.core.process(n),n.tokens},a.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},a.prototype.parseInline=function(e,t){var n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens},a.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)},t.exports=a},{"./common/utils":53,"./helpers":54,"./parser_block":59,"./parser_core":60,"./parser_inline":61,"./presets/commonmark":62,"./presets/default":63,"./presets/zero":64,"./renderer":65,"linkify-it":46,mdurl:104,punycode:109}],59:[function(e,t,n){"use strict";function r(){this.ruler=new i;for(var e=0;e=n))&&!(e.sCount[a]=u){e.line=n;break}for(r=0;r=o)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},r.prototype.parse=function(e,t,n,r){var i,o,a,s=new this.State(e,t,n,r);for(this.tokenize(s),o=this.ruler2.getRules(""),a=o.length,i=0;i"+a(e[t].content)+""},s.code_block=function(e,t,n,r,i){var o=e[t];return""+a(e[t].content)+"\n"},s.fence=function(e,t,n,r,i){var s,u,l,c,f=e[t],d=f.info?o(f.info).trim():"",h="";return d&&(h=d.split(/\s+/g)[0]),s=n.highlight?n.highlight(f.content,h)||a(f.content):a(f.content),0===s.indexOf(""+s+"\n"):"
    "+s+"
    \n"},s.image=function(e,t,n,r,i){var o=e[t];return o.attrs[o.attrIndex("alt")][1]=i.renderInlineAsText(o.children,n,r),i.renderToken(e,t,n)},s.hardbreak=function(e,t,n){return n.xhtmlOut?"
    \n":"
    \n"},s.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?"
    \n":"
    \n":"\n"},s.text=function(e,t){return a(e[t].content)},s.html_block=function(e,t){return e[t].content},s.html_inline=function(e,t){return e[t].content},r.prototype.renderAttrs=function(e){var t,n,r;if(!e.attrs)return"";for(r="",t=0,n=e.attrs.length;t\n":">")},r.prototype.renderInline=function(e,t,n){for(var r,i="",o=this.rules,a=0,s=e.length;a=4)return!1;if(62!==e.src.charCodeAt(S++))return!1;if(i)return!0;for(u=p=e.sCount[t]+S-(e.bMarks[t]+e.tShift[t]),32===e.src.charCodeAt(S)?(S++,u++,p++,o=!1,_=!0):9===e.src.charCodeAt(S)?(_=!0,(e.bsCount[t]+p)%4==3?(S++,u++,p++,o=!1):o=!0):_=!1,m=[e.bMarks[t]],e.bMarks[t]=S;S=E,$=[e.sCount[t]],e.sCount[t]=p-u,b=[e.tShift[t]],e.tShift[t]=S-e.bMarks[t],k=e.md.block.ruler.getRules("blockquote"),y=e.parentType,e.parentType="blockquote",h=t+1;h=E));h++)if(62!==e.src.charCodeAt(S++)||l){if(f)break;for(w=!1,s=0,c=k.length;s=E,v.push(e.bsCount[h]),e.bsCount[h]=e.sCount[h]+1+(_?1:0),$.push(e.sCount[h]),e.sCount[h]=p-u,b.push(e.tShift[h]),e.tShift[h]=S-e.bMarks[h]}for(g=e.blkIndent,e.blkIndent=0,x=e.push("blockquote_open","blockquote",1),x.markup=">",x.map=d=[t,0],e.md.block.tokenize(e,t,h),x=e.push("blockquote_close","blockquote",-1),x.markup=">",e.lineMax=C,e.parentType=y,d[1]=e.line,s=0;s=4))break;r++,i=r}return e.line=i,o=e.push("code_block","code",0),o.content=e.getLines(t,i,4+e.blkIndent,!0),o.map=[t,e.line],!0}},{}],69:[function(e,t,n){"use strict";t.exports=function(e,t,n,r){var i,o,a,s,u,l,c,f=!1,d=e.bMarks[t]+e.tShift[t],h=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(d+3>h)return!1;if(126!==(i=e.src.charCodeAt(d))&&96!==i)return!1;if(u=d,d=e.skipChars(d,i),(o=d-u)<3)return!1;if(c=e.src.slice(u,d),a=e.src.slice(d,h),a.indexOf(String.fromCharCode(i))>=0)return!1;if(r)return!0;for(s=t;!(++s>=n)&&(d=u=e.bMarks[s]+e.tShift[s],h=e.eMarks[s],!(d=4||(d=e.skipChars(d,i))-u=4)return!1;if(35!==(o=e.src.charCodeAt(l))||l>=c)return!1;for(a=1,o=e.src.charCodeAt(++l);35===o&&l6||ll&&r(e.src.charCodeAt(s-1))&&(c=s),e.line=t+1,u=e.push("heading_open","h"+String(a),1),u.markup="########".slice(0,a),u.map=[t,e.line],u=e.push("inline","",0),u.content=e.src.slice(l,c).trim(),u.map=[t,e.line],u.children=[],u=e.push("heading_close","h"+String(a),-1),u.markup="########".slice(0,a),!0))}},{"../common/utils":53}],71:[function(e,t,n){"use strict";var r=e("../common/utils").isSpace;t.exports=function(e,t,n,i){var o,a,s,u,l=e.bMarks[t]+e.tShift[t],c=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(42!==(o=e.src.charCodeAt(l++))&&45!==o&&95!==o)return!1;for(a=1;l|$))/i,/<\/(script|pre|style)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(i.source+"\\s*$"),/^$/,!1]];t.exports=function(e,t,n,r){var i,a,s,u,l=e.bMarks[t]+e.tShift[t],c=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(l))return!1;for(u=e.src.slice(l,c),i=0;i=4)return!1;for(d=e.parentType,e.parentType="paragraph";h3)){if(e.sCount[h]>=e.blkIndent&&(u=e.bMarks[h]+e.tShift[h],l=e.eMarks[h],u=l))){c=61===f?1:2;break}if(!(e.sCount[h]<0)){for(i=!1,o=0,a=p.length;o=o)return-1;if((n=e.src.charCodeAt(i++))<48||n>57)return-1;for(;;){if(i>=o)return-1;n=e.src.charCodeAt(i++);{if(!(n>=48&&n<=57)){if(41===n||46===n)break;return-1}if(i-r>=10)return-1}}return i=4)return!1;if(s&&"paragraph"===e.parentType&&e.tShift[t]>=e.blkIndent&&(R=!0),(T=i(e,t))>=0){if(p=!0,O=e.bMarks[t]+e.tShift[t],b=Number(e.src.substr(O,T-O-1)),R&&1!==b)return!1}else{if(!((T=r(e,t))>=0))return!1;p=!1}if(R&&e.skipSpaces(T)>=e.eMarks[t])return!1;if($=e.src.charCodeAt(T-1),s)return!0;for(y=e.tokens.length,p?(I=e.push("ordered_list_open","ol",1),1!==b&&(I.attrs=[["start",b]])):I=e.push("bullet_list_open","ul",1),I.map=g=[t,0],I.markup=String.fromCharCode($),w=t,M=!1,L=e.md.block.ruler.getRules("list"),S=e.parentType,e.parentType="list";w=_?1:k-h,d>4&&(d=1),f=h+d,I=e.push("list_item_open","li",1),I.markup=String.fromCharCode($),I.map=m=[t,0],x=e.blkIndent,A=e.tight,E=e.tShift[t],C=e.sCount[t],e.blkIndent=f,e.tight=!0,e.tShift[t]=l-e.bMarks[t],e.sCount[t]=k,l>=_&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,t,n,!0),e.tight&&!M||(N=!1),M=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=x,e.tShift[t]=E,e.sCount[t]=C,e.tight=A,I=e.push("list_item_close","li",-1),I.markup=String.fromCharCode($),w=t=e.line,m[1]=w,l=e.bMarks[t],w>=n)break;if(e.sCount[w]3||e.sCount[u]<0)){for(r=!1,i=0,o=l.length;i=4)return!1;if(91!==e.src.charCodeAt(k))return!1;for(;++k3||e.sCount[C]<0)){for($=!1,f=0,d=b.length;f0&&this.level++,this.tokens.push(r),r},r.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},r.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;et;)if(!o(this.src.charCodeAt(--e)))return e+1;return e},r.prototype.skipChars=function(e,t){for(var n=this.src.length;en;)if(t!==this.src.charCodeAt(--e))return e+1;return e},r.prototype.getLines=function(e,t,n,r){var i,a,s,u,l,c,f,d=e;if(e>=t)return"";for(c=new Array(t-e),i=0;dn?new Array(a-n+1).join(" ")+this.src.slice(u,l):this.src.slice(u,l)}return c.join("")},r.prototype.Token=i,t.exports=r},{"../common/utils":53,"../token":100}],78:[function(e,t,n){"use strict";function r(e,t){var n=e.bMarks[t]+e.blkIndent,r=e.eMarks[t];return e.src.substr(n,r-n)}function i(e){var t,n=[],r=0,i=e.length,o=0,a=0,s=!1,u=0;for(t=e.charCodeAt(r);rn)return!1;if(f=t+1,e.sCount[f]=4)return!1;if((l=e.bMarks[f]+e.tShift[f])>=e.eMarks[f])return!1;if(124!==(s=e.src.charCodeAt(l++))&&45!==s&&58!==s)return!1;for(;l=4)return!1;if(d=i(u.replace(/^\||\|$/g,"")),(h=d.length)>m.length)return!1;if(a)return!0;for(p=e.push("table_open","table",1),p.map=g=[t,0],p=e.push("thead_open","thead",1),p.map=[t,t+1],p=e.push("tr_open","tr",1),p.map=[t,t+1],c=0;c=4);f++){for(d=i(u.replace(/^\||\|$/g,"")),p=e.push("tr_open","tr",1),c=0;c\s]/i.test(e)}function i(e){return/^<\/a\s*>/i.test(e)}var o=e("../common/utils").arrayReplaceAt;t.exports=function(e){var t,n,a,s,u,l,c,f,d,h,p,m,v,g,y,$,b,_=e.tokens;if(e.md.options.linkify)for(n=0,a=_.length;n=0;t--)if(l=s[t],"link_close"!==l.type){if("html_inline"===l.type&&(r(l.content)&&v>0&&v--,i(l.content)&&v++),!(v>0)&&"text"===l.type&&e.md.linkify.test(l.content)){for(d=l.content,b=e.md.linkify.match(d),c=[],m=l.level,p=0,f=0;fp&&(u=new e.Token("text","",0),u.content=d.slice(p,h),u.level=m,c.push(u)),u=new e.Token("link_open","a",1),u.attrs=[["href",y]],u.level=m++,u.markup="linkify",u.info="auto",c.push(u),u=new e.Token("text","",0),u.content=$,u.level=m,c.push(u),u=new e.Token("link_close","a",-1),u.level=--m,u.markup="linkify",u.info="auto",c.push(u),p=b[f].lastIndex);p=0;t--)n=e[t],"text"!==n.type||i||(n.content=n.content.replace(u,r)),"link_open"===n.type&&"auto"===n.info&&i--,"link_close"===n.type&&"auto"===n.info&&i++}function o(e){var t,n,r=0;for(t=e.length-1;t>=0;t--)n=e[t],"text"!==n.type||r||a.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/gm,"$1—$2").replace(/(^|\s)--(\s|$)/gm,"$1–$2").replace(/(^|[^-\s])--([^-\s]|$)/gm,"$1–$2")),"link_open"===n.type&&"auto"===n.info&&r--,"link_close"===n.type&&"auto"===n.info&&r++}var a=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,s=/\((c|tm|r|p)\)/i,u=/\((c|tm|r|p)\)/gi,l={c:"©",r:"®",p:"§",tm:"™"};t.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&(s.test(e.tokens[t].content)&&i(e.tokens[t].children),a.test(e.tokens[t].content)&&o(e.tokens[t].children))}},{}],84:[function(e,t,n){"use strict";function r(e,t,n){return e.substr(0,t)+n+e.substr(t+1)}function i(e,t){var n,i,u,f,d,h,p,m,v,g,y,$,b,_,w,k,x,C,S,E,A;for(S=[],n=0;n=0&&!(S[x].level<=p);x--);if(S.length=x+1,"text"===i.type){u=i.content,d=0,h=u.length;e:for(;d=0)v=u.charCodeAt(f.index-1);else for(x=n-1;x>=0;x--)if("text"===e[x].type){v=e[x].content.charCodeAt(e[x].content.length-1);break}if(g=32,d=48&&v<=57&&(k=w=!1),w&&k&&(w=!1,k=$),w||k){if(k)for(x=S.length-1;x>=0&&(m=S[x],!(S[x].level=0;t--)"inline"===e.tokens[t].type&&u.test(e.tokens[t].content)&&i(e.tokens[t].children,e)}},{"../common/utils":53}],85:[function(e,t,n){"use strict";function r(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}var i=e("../token");r.prototype.Token=i,t.exports=r},{"../token":100}],86:[function(e,t,n){"use strict";var r=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,i=/^<([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)>/;t.exports=function(e,t){var n,o,a,s,u,l,c=e.pos;return 60===e.src.charCodeAt(c)&&(n=e.src.slice(c),!(n.indexOf(">")<0)&&(i.test(n)?(o=n.match(i),s=o[0].slice(1,-1),u=e.md.normalizeLink(s),!!e.md.validateLink(u)&&(t||(l=e.push("link_open","a",1),l.attrs=[["href",u]],l.markup="autolink",l.info="auto",l=e.push("text","",0),l.content=e.md.normalizeLinkText(s),l=e.push("link_close","a",-1),l.markup="autolink",l.info="auto"),e.pos+=o[0].length,!0)):!!r.test(n)&&(a=n.match(r),s=a[0].slice(1,-1),u=e.md.normalizeLink("mailto:"+s),!!e.md.validateLink(u)&&(t||(l=e.push("link_open","a",1),l.attrs=[["href",u]],l.markup="autolink",l.info="auto",l=e.push("text","",0),l.content=e.md.normalizeLinkText(s),l=e.push("link_close","a",-1),l.markup="autolink",l.info="auto"),e.pos+=a[0].length,!0))))}},{}],87:[function(e,t,n){"use strict";t.exports=function(e,t){var n,r,i,o,a,s,u=e.pos;if(96!==e.src.charCodeAt(u))return!1;for(n=u,u++,r=e.posMax;u=0;){if(i=o[n],i.open&&i.marker===r.marker&&i.end<0&&i.level===r.level){var s=(i.close||r.open)&&void 0!==i.length&&void 0!==r.length&&(i.length+r.length)%3==0;if(!s){r.jump=t-n,r.open=!1,i.end=t,i.jump=0;break}}n-=i.jump+1}}},{}],89:[function(e,t,n){"use strict";t.exports.tokenize=function(e,t){var n,r,i,o=e.pos,a=e.src.charCodeAt(o);if(t)return!1;if(95!==a&&42!==a)return!1;for(r=e.scanDelims(e.pos,42===a),n=0;n?@[]^_`{|}~-".split("").forEach(function(e){i[e.charCodeAt(0)]=1}),t.exports=function(e,t){var n,o=e.pos,a=e.posMax;if(92!==e.src.charCodeAt(o))return!1;if(++o=97&&t<=122}var i=e("../common/html_re").HTML_TAG_RE;t.exports=function(e,t){var n,o,a,s,u=e.pos;return!!e.md.options.html&&(a=e.posMax,!(60!==e.src.charCodeAt(u)||u+2>=a)&&(!(33!==(n=e.src.charCodeAt(u+1))&&63!==n&&47!==n&&!r(n))&&(!!(o=e.src.slice(u).match(i))&&(t||(s=e.push("html_inline","",0),s.content=e.src.slice(u,u+o[0].length)),e.pos+=o[0].length,!0))))}},{"../common/html_re":52}],93:[function(e,t,n){"use strict";var r=e("../common/utils").normalizeReference,i=e("../common/utils").isSpace;t.exports=function(e,t){var n,o,a,s,u,l,c,f,d,h,p,m,v,g="",y=e.pos,$=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(l=e.pos+2,(u=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((c=u+1)<$&&40===e.src.charCodeAt(c)){for(c++;c<$&&(o=e.src.charCodeAt(c),i(o)||10===o);c++);if(c>=$)return!1;for(v=c,d=e.md.helpers.parseLinkDestination(e.src,c,e.posMax),d.ok&&(g=e.md.normalizeLink(d.str),e.md.validateLink(g)?c=d.pos:g=""),v=c;c<$&&(o=e.src.charCodeAt(c),i(o)||10===o);c++);if(d=e.md.helpers.parseLinkTitle(e.src,c,e.posMax),c<$&&v!==c&&d.ok)for(h=d.str,c=d.pos;c<$&&(o=e.src.charCodeAt(c),i(o)||10===o);c++);else h="";if(c>=$||41!==e.src.charCodeAt(c))return e.pos=y,!1;c++}else{if(void 0===e.env.references)return!1;if(c<$&&91===e.src.charCodeAt(c)?(v=c+1,c=e.md.helpers.parseLinkLabel(e,c),c>=0?s=e.src.slice(v,c++):c=u+1):c=u+1,s||(s=e.src.slice(l,u)),!(f=e.env.references[r(s)]))return e.pos=y,!1;g=f.href,h=f.title}return t||(a=e.src.slice(l,u),e.md.inline.parse(a,e.md,e.env,m=[]),p=e.push("image","img",0),p.attrs=n=[["src",g],["alt",""]],p.children=m,p.content=a,h&&n.push(["title",h])),e.pos=c,e.posMax=$,!0}},{"../common/utils":53}],94:[function(e,t,n){"use strict";var r=e("../common/utils").normalizeReference,i=e("../common/utils").isSpace;t.exports=function(e,t){var n,o,a,s,u,l,c,f,d,h,p="",m=e.pos,v=e.posMax,g=e.pos,y=!0;if(91!==e.src.charCodeAt(e.pos))return!1;if(u=e.pos+1,(s=e.md.helpers.parseLinkLabel(e,e.pos,!0))<0)return!1;if((l=s+1)=v)return!1;for(g=l,c=e.md.helpers.parseLinkDestination(e.src,l,e.posMax),c.ok&&(p=e.md.normalizeLink(c.str),e.md.validateLink(p)?l=c.pos:p=""),g=l;l=v||41!==e.src.charCodeAt(l))&&(y=!0),l++}if(y){if(void 0===e.env.references)return!1;if(l=0?a=e.src.slice(g,l++):l=s+1):l=s+1,a||(a=e.src.slice(u,s)),!(f=e.env.references[r(a)]))return e.pos=m,!1;p=f.href,d=f.title}return t||(e.pos=u,e.posMax=s,h=e.push("link_open","a",1),h.attrs=n=[["href",p]],d&&n.push(["title",d]),e.md.inline.tokenize(e),h=e.push("link_close","a",-1)),e.pos=l,e.posMax=v,!0}},{"../common/utils":53}],95:[function(e,t,n){"use strict";var r=e("../common/utils").isSpace;t.exports=function(e,t){var n,i,o=e.pos;if(10!==e.src.charCodeAt(o))return!1;for(n=e.pending.length-1,i=e.posMax,t||(n>=0&&32===e.pending.charCodeAt(n)?n>=1&&32===e.pending.charCodeAt(n-1)?(e.pending=e.pending.replace(/ +$/,""),e.push("hardbreak","br",0)):(e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0)):e.push("softbreak","br",0)),o++;o0&&this.level++,this.pendingLevel=this.level,this.tokens.push(r),r},r.prototype.scanDelims=function(e,t){var n,r,i,u,l,c,f,d,h,p=e,m=!0,v=!0,g=this.posMax,y=this.src.charCodeAt(e);for(n=e>0?this.src.charCodeAt(e-1):32;p=0&&(n=this.attrs[t][1]),n},r.prototype.attrJoin=function(e,t){var n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=this.attrs[n][1]+" "+t},t.exports=r},{}],101:[function(e,t,n){"use strict";function r(e){var t,n,r=o[e];if(r)return r;for(r=o[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),r.push(n);for(t=0;t=55296&&u<=57343?"���":String.fromCharCode(u),t+=6):240==(248&i)&&t+91114111?l+="����":(u-=65536,l+=String.fromCharCode(55296+(u>>10),56320+(1023&u))),t+=9):l+="�";return l})}var o={};i.defaultChars=";/?:@&=+$,#",i.componentChars="",t.exports=i},{}],102:[function(e,t,n){"use strict";function r(e){var t,n,r=o[e];if(r)return r;for(r=o[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),/^[0-9a-z]$/i.test(n)?r.push(n):r.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t=55296&&s<=57343){if(s>=55296&&s<=56319&&o+1=56320&&u<=57343){c+=encodeURIComponent(e[o]+e[o+1]),o++;continue}c+="%EF%BF%BD"}else c+=encodeURIComponent(e[o]);return c}var o={};i.defaultChars=";/?:@&=+$,-_.!~*'()#",i.componentChars="-_.!~*'()",t.exports=i},{}],103:[function(e,t,n){"use strict";t.exports=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""}},{}],104:[function(e,t,n){"use strict";t.exports.encode=e("./encode"),t.exports.decode=e("./decode"),t.exports.format=e("./format"),t.exports.parse=e("./parse")},{"./decode":101,"./encode":102,"./format":103,"./parse":105}],105:[function(e,t,n){"use strict";function r(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}function i(e,t){if(e&&e instanceof r)return e;var n=new r;return n.parse(e,t),n}var o=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,s=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,u=["<",">",'"',"`"," ","\r","\n","\t"],l=["{","}","|","\\","^","`"].concat(u),c=["'"].concat(l),f=["%","/","?",";","#"].concat(c),d=["/","?","#"],h={javascript:!0,"javascript:":!0},p={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};r.prototype.parse=function(e,t){var n,r,i,a,u,l=e;if(l=l.trim(),!t&&1===e.split("#").length){var c=s.exec(l);if(c)return this.pathname=c[1],c[2]&&(this.search=c[2]),this}var m=o.exec(l);if(m&&(m=m[0],i=m.toLowerCase(),this.protocol=m,l=l.substr(m.length)),(t||m||l.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(u="//"===l.substr(0,2))||m&&h[m]||(l=l.substr(2),this.slashes=!0)),!h[m]&&(u||m&&!p[m])){var v=-1;for(n=0;n127?k+="x":k+=w[x];if(!k.match(/^[+a-z0-9A-Z_-]{0,63}$/)){var S=_.slice(0,n),E=_.slice(n+1),A=w.match(/^([+a-z0-9A-Z_-]{0,63})(.*)$/);A&&(S.push(A[1]),E.unshift(A[2])),E.length&&(l=E.join(".")+l),this.hostname=S.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),b&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var D=l.indexOf("#");-1!==D&&(this.hash=l.substr(D),l=l.slice(0,D));var T=l.indexOf("?");return-1!==T&&(this.search=l.substr(T),l=l.slice(0,T)),l&&(this.pathname=l),p[i]&&this.hostname&&!this.pathname&&(this.pathname=""),this}, +r.prototype.parseHost=function(e){var t=a.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},t.exports=i},{}],106:[function(e,t,n){!function(r,i){"object"==typeof n&&void 0!==t&&"function"==typeof e?i(e("../moment")):"function"==typeof define&&define.amd?define(["../moment"],i):i(r.moment)}(this,function(e){"use strict";return e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{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"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})})},{"../moment":107}],107:[function(e,t,n){!function(e,r){"object"==typeof n&&void 0!==t?t.exports=r():"function"==typeof define&&define.amd?define(r):e.moment=r()}(this,function(){"use strict";function n(){return vr.apply(null,arguments)}function r(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function i(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function o(e){var t;for(t in e)return!1;return!0}function a(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function s(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function u(e,t){var n,r=[];for(n=0;n0)for(n in $r)r=$r[n],i=t[r],v(i)||(e[r]=i);return e}function y(e){g(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===br&&(br=!0,n.updateOffset(this),br=!1)}function $(e){return e instanceof y||null!=e&&null!=e._isAMomentObject}function b(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function _(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=b(t)),n}function w(e,t,n){var r,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(r=0;r0?"future":"past"];return S(n)?n(t):n.replace(/%s/i,t)}function R(e,t){var n=e.toLowerCase();Ar[n]=Ar[n+"s"]=Ar[t]=e}function N(e){return"string"==typeof e?Ar[e]||Ar[e.toLowerCase()]:void 0}function P(e){var t,n,r={};for(n in e)l(e,n)&&(t=N(n))&&(r[t]=e[n]);return r}function q(e,t){Dr[e]=t}function j(e){var t=[];for(var n in e)t.push({unit:n,priority:Dr[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}function U(e,t){return function(r){return null!=r?(V(this,e,r),n.updateOffset(this,t),this):z(this,e)}}function z(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function V(e,t,n){e.isValid()&&e._d["set"+(e._isUTC?"UTC":"")+t](n)}function B(e){return e=N(e),S(this[e])?this[e]():this}function H(e,t){if("object"==typeof e){e=P(e);for(var n=j(e),r=0;r=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}function W(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(Fr[e]=i),t&&(Fr[t[0]]=function(){return Y(i.apply(this,arguments),t[1],t[2])}),n&&(Fr[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function G(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function Z(e){var t,n,r=e.match(Tr);for(t=0,n=r.length;t=0&&Mr.test(e);)e=e.replace(Mr,n),Mr.lastIndex=0,r-=1;return e}function K(e,t,n){Pr[e]=S(t)?t:function(e,r){return e&&n?n:t}}function X(e,t){return l(Pr,e)?Pr[e](t._strict,t._locale):new RegExp(ee(e))}function ee(e){return te(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i}))}function te(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function ne(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),a(t)&&(r=function(e,n){n[t]=_(e)}),n=0;n=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}function be(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function _e(e,t,n){var r=7+t-n;return-(7+be(e,0,r).getUTCDay()-t)%7+r-1}function we(e,t,n,r,i){var o,a,s=(7+n-r)%7,u=_e(e,r,i),l=1+7*(t-1)+s+u;return l<=0?(o=e-1,a=ve(o)+l):l>ve(e)?(o=e+1,a=l-ve(e)):(o=e,a=l),{year:o,dayOfYear:a}}function ke(e,t,n){var r,i,o=_e(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return a<1?(i=e.year()-1,r=a+xe(i,t,n)):a>xe(e.year(),t,n)?(r=a-xe(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function xe(e,t,n){var r=_e(e,t,n),i=_e(e+1,t,n);return(ve(e)-r+i)/7}function Ce(e){return ke(e,this._week.dow,this._week.doy).week}function Se(){return this._week.dow}function Ee(){return this._week.doy}function Ae(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function De(e){var t=ke(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Te(e,t){return"string"!=typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"==typeof e?e:null):parseInt(e,10)}function Me(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Oe(e,t){return e?r(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:this._weekdays}function Fe(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Le(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Ie(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=f([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?(i=Zr.call(this._weekdaysParse,a),-1!==i?i:null):"ddd"===t?(i=Zr.call(this._shortWeekdaysParse,a),-1!==i?i:null):(i=Zr.call(this._minWeekdaysParse,a),-1!==i?i:null):"dddd"===t?-1!==(i=Zr.call(this._weekdaysParse,a))?i:-1!==(i=Zr.call(this._shortWeekdaysParse,a))?i:(i=Zr.call(this._minWeekdaysParse,a),-1!==i?i:null):"ddd"===t?-1!==(i=Zr.call(this._shortWeekdaysParse,a))?i:-1!==(i=Zr.call(this._weekdaysParse,a))?i:(i=Zr.call(this._minWeekdaysParse,a),-1!==i?i:null):-1!==(i=Zr.call(this._minWeekdaysParse,a))?i:-1!==(i=Zr.call(this._weekdaysParse,a))?i:(i=Zr.call(this._shortWeekdaysParse,a),-1!==i?i:null)}function Re(e,t,n){var r,i,o;if(this._weekdaysParseExact)return Ie.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=f([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 Ne(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Te(e,this.localeData()),this.add(e-t,"d")):t}function Pe(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 qe(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=Me(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function je(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Ve.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(l(this,"_weekdaysRegex")||(this._weekdaysRegex=ai),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Ue(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Ve.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(l(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=si),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function ze(e){return this._weekdaysParseExact?(l(this,"_weekdaysRegex")||Ve.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(l(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=ui),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Ve(){function e(e,t){return t.length-e.length}var t,n,r,i,o,a=[],s=[],u=[],l=[];for(t=0;t<7;t++)n=f([2e3,1]).day(t),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),o=this.weekdays(n,""),a.push(r),s.push(i),u.push(o),l.push(r),l.push(i),l.push(o);for(a.sort(e),s.sort(e),u.sort(e),l.sort(e),t=0;t<7;t++)s[t]=te(s[t]),u[t]=te(u[t]),l[t]=te(l[t]);this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Be(){return this.hours()%12||12}function He(){return this.hours()||24}function Ye(e,t){W(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function We(e,t){return t._meridiemParse}function Ge(e){return"p"===(e+"").toLowerCase().charAt(0)}function Ze(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}function Je(e){return e?e.toLowerCase().replace("_","-"):e}function Qe(e){for(var t,n,r,i,o=0;o0;){if(r=Ke(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&w(i,n,!0)>=t-1)break;t--}o++}return null}function Ke(n){var r=null;if(!di[n]&&void 0!==t&&t&&t.exports)try{r=li._abbr,e("./locale/"+n),Xe(r)}catch(e){}return di[n]}function Xe(e,t){var n;return e&&(n=v(t)?nt(e):et(e,t))&&(li=n),li._abbr}function et(e,t){if(null!==t){var n=fi;if(t.abbr=e,null!=di[e])C("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=di[e]._config;else if(null!=t.parentLocale){if(null==di[t.parentLocale])return hi[t.parentLocale]||(hi[t.parentLocale]=[]),hi[t.parentLocale].push({name:e,config:t}),null;n=di[t.parentLocale]._config}return di[e]=new D(A(n,t)),hi[e]&&hi[e].forEach(function(e){et(e.name,e.config)}),Xe(e),di[e]}return delete di[e],null}function tt(e,t){if(null!=t){var n,r=fi;null!=di[e]&&(r=di[e]._config),t=A(r,t),n=new D(t),n.parentLocale=di[e],di[e]=n,Xe(e)}else null!=di[e]&&(null!=di[e].parentLocale?di[e]=di[e].parentLocale:null!=di[e]&&delete di[e]);return di[e]}function nt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return li;if(!r(e)){if(t=Ke(e))return t;e=[e]}return Qe(e)}function rt(){return xr(di)}function it(e){var t,n=e._a;return n&&-2===h(e).overflow&&(t=n[Ur]<0||n[Ur]>11?Ur:n[zr]<1||n[zr]>oe(n[jr],n[Ur])?zr:n[Vr]<0||n[Vr]>24||24===n[Vr]&&(0!==n[Br]||0!==n[Hr]||0!==n[Yr])?Vr:n[Br]<0||n[Br]>59?Br:n[Hr]<0||n[Hr]>59?Hr:n[Yr]<0||n[Yr]>999?Yr:-1,h(e)._overflowDayOfYear&&(tzr)&&(t=zr),h(e)._overflowWeeks&&-1===t&&(t=Wr),h(e)._overflowWeekday&&-1===t&&(t=Gr),h(e).overflow=t),e}function ot(e){var t,n,r,i,o,a,s=e._i,u=pi.exec(s)||mi.exec(s);if(u){for(h(e).iso=!0,t=0,n=gi.length;tve(i)&&(h(e)._overflowDayOfYear=!0),n=be(i,0,e._dayOfYear),e._a[Ur]=n.getUTCMonth(),e._a[zr]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=o[t]=r[t];for(;t<7;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Vr]&&0===e._a[Br]&&0===e._a[Hr]&&0===e._a[Yr]&&(e._nextDay=!0,e._a[Vr]=0),e._d=(e._useUTC?be:$e).apply(null,o),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Vr]=24)}}function ct(e){var t,n,r,i,o,a,s,u;if(t=e._w,null!=t.GG||null!=t.W||null!=t.E)o=1,a=4,n=st(t.GG,e._a[jr],ke($t(),1,4).year),r=st(t.W,1),((i=st(t.E,1))<1||i>7)&&(u=!0);else{o=e._locale._week.dow,a=e._locale._week.doy;var l=ke($t(),o,a);n=st(t.gg,e._a[jr],l.year),r=st(t.w,l.week),null!=t.d?((i=t.d)<0||i>6)&&(u=!0):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(u=!0)):i=o}r<1||r>xe(n,o,a)?h(e)._overflowWeeks=!0:null!=u?h(e)._overflowWeekday=!0:(s=we(n,r,i,o,a),e._a[jr]=s.year,e._dayOfYear=s.dayOfYear)}function ft(e){if(e._f===n.ISO_8601)return void ot(e);e._a=[],h(e).empty=!0;var t,r,i,o,a,s=""+e._i,u=s.length,l=0;for(i=Q(e._f,e._locale).match(Tr)||[],t=0;t0&&h(e).unusedInput.push(a),s=s.slice(s.indexOf(r)+r.length),l+=r.length),Fr[o]?(r?h(e).empty=!1:h(e).unusedTokens.push(o),ie(o,r,e)):e._strict&&!r&&h(e).unusedTokens.push(o);h(e).charsLeftOver=u-l,s.length>0&&h(e).unusedInput.push(s),e._a[Vr]<=12&&!0===h(e).bigHour&&e._a[Vr]>0&&(h(e).bigHour=void 0),h(e).parsedDateParts=e._a.slice(0),h(e).meridiem=e._meridiem,e._a[Vr]=dt(e._locale,e._a[Vr],e._meridiem),lt(e),it(e)}function dt(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(r=e.isPM(n),r&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function ht(e){var t,n,r,i,o;if(0===e._f.length)return h(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;ithis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Nt(){if(!v(this._isDSTShifted))return this._isDSTShifted;var e={};if(g(e,this),e=vt(e),e._a){var t=e._isUTC?f(e._a):$t(e._a);this._isDSTShifted=this.isValid()&&w(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function Pt(){return!!this.isValid()&&!this._isUTC}function qt(){return!!this.isValid()&&this._isUTC}function jt(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function Ut(e,t){var n,r,i,o=e,s=null;return xt(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:a(e)?(o={},t?o[t]=e:o.milliseconds=e):(s=xi.exec(e))?(n="-"===s[1]?-1:1,o={y:0,d:_(s[zr])*n,h:_(s[Vr])*n,m:_(s[Br])*n,s:_(s[Hr])*n,ms:_(Ct(1e3*s[Yr]))*n}):(s=Ci.exec(e))?(n="-"===s[1]?-1:1,o={y:zt(s[2],n),M:zt(s[3],n),w:zt(s[4],n),d:zt(s[5],n),h:zt(s[6],n),m:zt(s[7],n),s:zt(s[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(i=Bt($t(o.from),$t(o.to)),o={},o.ms=i.milliseconds,o.M=i.months),r=new kt(o),xt(e)&&l(e,"_locale")&&(r._locale=e._locale),r}function zt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Vt(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 Bt(e,t){var n;return e.isValid()&&t.isValid()?(t=At(t,e),e.isBefore(t)?n=Vt(e,t):(n=Vt(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Ht(e,t){return function(n,r){var i,o;return null===r||isNaN(+r)||(C(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),n="string"==typeof n?+n:n,i=Ut(n,r),Yt(this,i,e),this}}function Yt(e,t,r,i){var o=t._milliseconds,a=Ct(t._days),s=Ct(t._months);e.isValid()&&(i=null==i||i,o&&e._d.setTime(e._d.valueOf()+o*r),a&&V(e,"Date",z(e,"Date")+a*r),s&&ce(e,z(e,"Month")+s*r),i&&n.updateOffset(e,a||s))}function Wt(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Gt(e,t){var r=e||$t(),i=At(r,this).startOf("day"),o=n.calendarFormat(this,i)||"sameElse",a=t&&(S(t[o])?t[o].call(this,r):t[o]);return this.format(a||this.localeData().calendar(o,this,$t(r)))}function Zt(){return new y(this)}function Jt(e,t){var n=$(e)?e:$t(e);return!(!this.isValid()||!n.isValid())&&(t=N(v(t)?"millisecond":t),"millisecond"===t?this.valueOf()>n.valueOf():n.valueOf()o&&(t=o),Fn.call(this,e,t,n,r,i))}function Fn(e,t,n,r,i){var o=we(e,t,n,r,i),a=be(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function Ln(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function In(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 Rn(e,t){t[Yr]=_(1e3*("0."+e))}function Nn(){return this._isUTC?"UTC":""}function Pn(){return this._isUTC?"Coordinated Universal Time":""}function qn(e){return $t(1e3*e)}function jn(){return $t.apply(null,arguments).parseZone()}function Un(e){return e}function zn(e,t,n,r){var i=nt(),o=f().set(r,t);return i[n](o,e)}function Vn(e,t,n){if(a(e)&&(t=e,e=void 0),e=e||"",null!=t)return zn(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=zn(e,r,n,"month");return i}function Bn(e,t,n,r){"boolean"==typeof e?(a(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,a(t)&&(n=t,t=void 0),t=t||"");var i=nt(),o=e?i._week.dow:0;if(null!=n)return zn(t,(n+o)%7,r,"day");var s,u=[];for(s=0;s<7;s++)u[s]=zn(t,(s+o)%7,r,"day");return u}function Hn(e,t){return Vn(e,t,"months")}function Yn(e,t){return Vn(e,t,"monthsShort")}function Wn(e,t,n){return Bn(e,t,n,"weekdays")}function Gn(e,t,n){return Bn(e,t,n,"weekdaysShort")}function Zn(e,t,n){return Bn(e,t,n,"weekdaysMin")}function Jn(){var e=this._data;return this._milliseconds=Ri(this._milliseconds),this._days=Ri(this._days),this._months=Ri(this._months),e.milliseconds=Ri(e.milliseconds),e.seconds=Ri(e.seconds),e.minutes=Ri(e.minutes),e.hours=Ri(e.hours),e.months=Ri(e.months),e.years=Ri(e.years),this}function Qn(e,t,n,r){var i=Ut(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function Kn(e,t){return Qn(this,e,t,1)}function Xn(e,t){return Qn(this,e,t,-1)}function er(e){return e<0?Math.floor(e):Math.ceil(e)}function tr(){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||o<=0&&a<=0&&s<=0||(o+=864e5*er(rr(s)+a),a=0,s=0),u.milliseconds=o%1e3,e=b(o/1e3),u.seconds=e%60,t=b(e/60),u.minutes=t%60,n=b(t/60),u.hours=n%24,a+=b(n/24),i=b(nr(a)),s+=i,a-=er(rr(i)),r=b(s/12),s%=12,u.days=a,u.months=s,u.years=r,this}function nr(e){return 4800*e/146097}function rr(e){return 146097*e/4800}function ir(e){var t,n,r=this._milliseconds;if("month"===(e=N(e))||"year"===e)return t=this._days+r/864e5,n=this._months+nr(t),"month"===e?n:n/12;switch(t=this._days+Math.round(rr(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 or(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*_(this._months/12)}function ar(e){return function(){return this.as(e)}}function sr(e){return e=N(e),this[e+"s"]()}function ur(e){return function(){return this._data[e]}}function lr(){return b(this.days()/7)}function cr(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function fr(e,t,n){var r=Ut(e).abs(),i=Ki(r.as("s")),o=Ki(r.as("m")),a=Ki(r.as("h")),s=Ki(r.as("d")),u=Ki(r.as("M")),l=Ki(r.as("y")),c=i0,c[4]=n,cr.apply(null,c)}function dr(e){return void 0===e?Ki:"function"==typeof e&&(Ki=e,!0)}function hr(e,t){return void 0!==Xi[e]&&(void 0===t?Xi[e]:(Xi[e]=t,!0))}function pr(e){var t=this.localeData(),n=fr(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function mr(){var e,t,n,r=eo(this._milliseconds)/1e3,i=eo(this._days),o=eo(this._months);e=b(r/60),t=b(e/60),r%=60,e%=60,n=b(o/12),o%=12;var a=n,s=o,u=i,l=t,c=e,f=r,d=this.asSeconds();return d?(d<0?"-":"")+"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 vr,gr;gr=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;r68?1900:2e3)};var ti=U("FullYear",!0);W("w",["ww",2],"wo","week"),W("W",["WW",2],"Wo","isoWeek"),R("week","w"),R("isoWeek","W"),q("week",5),q("isoWeek",5),K("w",/\d\d?/),K("ww",/\d\d?/,/\d\d/),K("W",/\d\d?/),K("WW",/\d\d?/,/\d\d/),re(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=_(e)});var ni={dow:0,doy:6};W("d",0,"do","day"),W("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),W("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),W("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),W("e",0,0,"weekday"),W("E",0,0,"isoWeekday"),R("day","d"),R("weekday","e"),R("isoWeekday","E"),q("day",11),q("weekday",11),q("isoWeekday",11),K("d",/\d\d?/),K("e",/\d\d?/),K("E",/\d\d?/),K("dd",function(e,t){return t.weekdaysMinRegex(e)}),K("ddd",function(e,t){return t.weekdaysShortRegex(e)}),K("dddd",function(e,t){return t.weekdaysRegex(e)}),re(["dd","ddd","dddd"],function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:h(n).invalidWeekday=e}),re(["d","e","E"],function(e,t,n,r){t[r]=_(e)});var ri="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),ii="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),oi="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ai=Nr,si=Nr,ui=Nr;W("H",["HH",2],0,"hour"),W("h",["hh",2],0,Be),W("k",["kk",2],0,He),W("hmm",0,0,function(){return""+Be.apply(this)+Y(this.minutes(),2)}),W("hmmss",0,0,function(){return""+Be.apply(this)+Y(this.minutes(),2)+Y(this.seconds(),2)}),W("Hmm",0,0,function(){return""+this.hours()+Y(this.minutes(),2)}),W("Hmmss",0,0,function(){return""+this.hours()+Y(this.minutes(),2)+Y(this.seconds(),2)}),Ye("a",!0),Ye("A",!1),R("hour","h"),q("hour",13),K("a",We),K("A",We),K("H",/\d\d?/),K("h",/\d\d?/),K("HH",/\d\d?/,/\d\d/),K("hh",/\d\d?/,/\d\d/),K("hmm",/\d\d\d\d?/),K("hmmss",/\d\d\d\d\d\d?/),K("Hmm",/\d\d\d\d?/),K("Hmmss",/\d\d\d\d\d\d?/),ne(["H","HH"],Vr),ne(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ne(["h","hh"],function(e,t,n){t[Vr]=_(e),h(n).bigHour=!0}),ne("hmm",function(e,t,n){var r=e.length-2;t[Vr]=_(e.substr(0,r)),t[Br]=_(e.substr(r)),h(n).bigHour=!0}),ne("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[Vr]=_(e.substr(0,r)),t[Br]=_(e.substr(r,2)),t[Hr]=_(e.substr(i)),h(n).bigHour=!0}),ne("Hmm",function(e,t,n){var r=e.length-2;t[Vr]=_(e.substr(0,r)),t[Br]=_(e.substr(r))}),ne("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[Vr]=_(e.substr(0,r)),t[Br]=_(e.substr(r,2)),t[Hr]=_(e.substr(i))});var li,ci=U("Hours",!0),fi={calendar:Cr,longDateFormat:Sr,invalidDate:"Invalid date",ordinal:"%d",ordinalParse:/\d{1,2}/,relativeTime:Er,months:Qr,monthsShort:Kr,week:ni,weekdays:ri,weekdaysMin:oi,weekdaysShort:ii,meridiemParse:/[ap]\.?m?\.?/i},di={},hi={},pi=/^\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)?)?$/,mi=/^\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)?)?$/,vi=/Z|[+-]\d\d(?::?\d\d)?/,gi=[["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}/]],yi=[["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/]],$i=/^\/?Date\((\-?\d+)/i;n.createFromInputFallback=x("value provided is not in a recognized ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),n.ISO_8601=function(){};var bi=x("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=$t.apply(null,arguments);return this.isValid()&&e.isValid()?ethis?this:e:m()}),wi=function(){return Date.now?Date.now():+new Date};St("Z",":"),St("ZZ",""),K("Z",Rr),K("ZZ",Rr),ne(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Et(Rr,e)});var ki=/([\+\-]|\d\d)/gi;n.updateOffset=function(){};var xi=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Ci=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;Ut.fn=kt.prototype;var Si=Ht(1,"add"),Ei=Ht(-1,"subtract");n.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",n.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Ai=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)});W(0,["gg",2],0,function(){return this.weekYear()%100}),W(0,["GG",2],0,function(){return this.isoWeekYear()%100}),En("gggg","weekYear"),En("ggggg","weekYear"),En("GGGG","isoWeekYear"),En("GGGGG","isoWeekYear"),R("weekYear","gg"),R("isoWeekYear","GG"),q("weekYear",1),q("isoWeekYear",1),K("G",/[+-]?\d+/),K("g",/[+-]?\d+/),K("GG",/\d\d?/,/\d\d/),K("gg",/\d\d?/,/\d\d/),K("GGGG",/\d{1,4}/,/\d{4}/),K("gggg",/\d{1,4}/,/\d{4}/),K("GGGGG",/[+-]?\d{1,6}/,Lr),K("ggggg",/[+-]?\d{1,6}/,Lr),re(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=_(e)}),re(["gg","GG"],function(e,t,r,i){t[i]=n.parseTwoDigitYear(e)}),W("Q",0,"Qo","quarter"),R("quarter","Q"),q("quarter",7),K("Q",/\d/),ne("Q",function(e,t){t[Ur]=3*(_(e)-1)}),W("D",["DD",2],"Do","date"),R("date","D"),q("date",9),K("D",/\d\d?/),K("DD",/\d\d?/,/\d\d/),K("Do",function(e,t){return e?t._ordinalParse:t._ordinalParseLenient}),ne(["D","DD"],zr),ne("Do",function(e,t){t[zr]=_(e.match(/\d\d?/)[0],10)});var Di=U("Date",!0);W("DDD",["DDDD",3],"DDDo","dayOfYear"),R("dayOfYear","DDD"),q("dayOfYear",4),K("DDD",/\d{1,3}/),K("DDDD",/\d{3}/),ne(["DDD","DDDD"],function(e,t,n){n._dayOfYear=_(e)}),W("m",["mm",2],0,"minute"),R("minute","m"),q("minute",14),K("m",/\d\d?/),K("mm",/\d\d?/,/\d\d/),ne(["m","mm"],Br);var Ti=U("Minutes",!1);W("s",["ss",2],0,"second"),R("second","s"),q("second",15),K("s",/\d\d?/),K("ss",/\d\d?/,/\d\d/),ne(["s","ss"],Hr);var Mi=U("Seconds",!1);W("S",0,0,function(){return~~(this.millisecond()/100)}),W(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),W(0,["SSS",3],0,"millisecond"),W(0,["SSSS",4],0,function(){return 10*this.millisecond()}),W(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),W(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),W(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),W(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),W(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),R("millisecond","ms"),q("millisecond",16),K("S",/\d{1,3}/,/\d/),K("SS",/\d{1,3}/,/\d\d/),K("SSS",/\d{1,3}/,/\d{3}/);var Oi;for(Oi="SSSS";Oi.length<=9;Oi+="S")K(Oi,/\d+/);for(Oi="S";Oi.length<=9;Oi+="S")ne(Oi,Rn);var Fi=U("Milliseconds",!1);W("z",0,0,"zoneAbbr"),W("zz",0,0,"zoneName");var Li=y.prototype;Li.add=Si,Li.calendar=Gt,Li.clone=Zt,Li.diff=nn,Li.endOf=vn,Li.format=un,Li.from=ln,Li.fromNow=cn,Li.to=fn,Li.toNow=dn,Li.get=B,Li.invalidAt=Cn,Li.isAfter=Jt,Li.isBefore=Qt,Li.isBetween=Kt,Li.isSame=Xt,Li.isSameOrAfter=en,Li.isSameOrBefore=tn,Li.isValid=kn,Li.lang=Ai,Li.locale=hn,Li.localeData=pn,Li.max=_i,Li.min=bi,Li.parsingFlags=xn,Li.set=H,Li.startOf=mn,Li.subtract=Ei,Li.toArray=bn,Li.toObject=_n,Li.toDate=$n,Li.toISOString=an,Li.inspect=sn,Li.toJSON=wn,Li.toString=on,Li.unix=yn,Li.valueOf=gn,Li.creationData=Sn,Li.year=ti,Li.isLeapYear=ye,Li.weekYear=An,Li.isoWeekYear=Dn,Li.quarter=Li.quarters=Ln,Li.month=fe,Li.daysInMonth=de,Li.week=Li.weeks=Ae,Li.isoWeek=Li.isoWeeks=De,Li.weeksInYear=Mn,Li.isoWeeksInYear=Tn,Li.date=Di,Li.day=Li.days=Ne,Li.weekday=Pe,Li.isoWeekday=qe,Li.dayOfYear=In,Li.hour=Li.hours=ci,Li.minute=Li.minutes=Ti,Li.second=Li.seconds=Mi,Li.millisecond=Li.milliseconds=Fi,Li.utcOffset=Tt,Li.utc=Ot,Li.local=Ft,Li.parseZone=Lt,Li.hasAlignedHourOffset=It,Li.isDST=Rt,Li.isLocal=Pt,Li.isUtcOffset=qt,Li.isUtc=jt,Li.isUTC=jt,Li.zoneAbbr=Nn,Li.zoneName=Pn,Li.dates=x("dates accessor is deprecated. Use date instead.",Di),Li.months=x("months accessor is deprecated. Use month instead",fe),Li.years=x("years accessor is deprecated. Use year instead",ti),Li.zone=x("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Mt),Li.isDSTShifted=x("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Nt);var Ii=D.prototype;Ii.calendar=T,Ii.longDateFormat=M,Ii.invalidDate=O,Ii.ordinal=F,Ii.preparse=Un,Ii.postformat=Un,Ii.relativeTime=L,Ii.pastFuture=I,Ii.set=E,Ii.months=ae,Ii.monthsShort=se,Ii.monthsParse=le,Ii.monthsRegex=pe,Ii.monthsShortRegex=he,Ii.week=Ce,Ii.firstDayOfYear=Ee,Ii.firstDayOfWeek=Se,Ii.weekdays=Oe,Ii.weekdaysMin=Le,Ii.weekdaysShort=Fe,Ii.weekdaysParse=Re,Ii.weekdaysRegex=je,Ii.weekdaysShortRegex=Ue,Ii.weekdaysMinRegex=ze,Ii.isPM=Ge,Ii.meridiem=Ze,Xe("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===_(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),n.lang=x("moment.lang is deprecated. Use moment.locale instead.",Xe),n.langData=x("moment.langData is deprecated. Use moment.localeData instead.",nt);var Ri=Math.abs,Ni=ar("ms"),Pi=ar("s"),qi=ar("m"),ji=ar("h"),Ui=ar("d"),zi=ar("w"),Vi=ar("M"),Bi=ar("y"),Hi=ur("milliseconds"),Yi=ur("seconds"),Wi=ur("minutes"),Gi=ur("hours"),Zi=ur("days"),Ji=ur("months"),Qi=ur("years"),Ki=Math.round,Xi={s:45,m:45,h:22,d:26,M:11},eo=Math.abs,to=kt.prototype;return to.abs=Jn,to.add=Kn,to.subtract=Xn,to.as=ir,to.asMilliseconds=Ni,to.asSeconds=Pi,to.asMinutes=qi,to.asHours=ji,to.asDays=Ui,to.asWeeks=zi,to.asMonths=Vi,to.asYears=Bi,to.valueOf=or,to._bubble=tr,to.get=sr,to.milliseconds=Hi,to.seconds=Yi,to.minutes=Wi,to.hours=Gi,to.days=Zi,to.weeks=lr,to.months=Ji,to.years=Qi,to.humanize=pr,to.toISOString=mr,to.toString=mr,to.toJSON=mr,to.locale=hn,to.localeData=pn,to.toIsoString=x("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",mr),to.lang=Ai,W("X",0,0,"unix"),W("x",0,0,"valueOf"),K("x",/[+-]?\d+/),K("X",/[+-]?\d+(\.\d{1,3})?/),ne("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),ne("x",function(e,t,n){n._d=new Date(_(e))}),n.version="2.17.1",function(e){vr=e}($t),n.fn=Li,n.min=_t,n.max=wt,n.now=wi,n.utc=f,n.unix=qn,n.months=Hn,n.isDate=s,n.locale=Xe,n.invalid=m,n.duration=Ut,n.isMoment=$,n.weekdays=Wn,n.parseZone=jn,n.localeData=nt,n.isDuration=xt,n.monthsShort=Yn,n.weekdaysMin=Zn,n.defineLocale=et,n.updateLocale=tt,n.locales=rt,n.weekdaysShort=Gn,n.normalizeUnits=N,n.relativeTimeRounding=dr,n.relativeTimeThreshold=hr,n.calendarFormat=Wt,n.prototype=Li,n})},{}],108:[function(e,t,n){function r(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function o(e){if(f===setTimeout)return setTimeout(e,0);if((f===r||!f)&&setTimeout)return f=setTimeout,setTimeout(e,0);try{return f(e,0)}catch(t){try{return f.call(null,e,0)}catch(t){return f.call(this,e,0)}}}function a(e){if(d===clearTimeout)return clearTimeout(e);if((d===i||!d)&&clearTimeout)return d=clearTimeout,clearTimeout(e);try{return d(e)}catch(t){try{return d.call(null,e)}catch(t){return d.call(this,e)}}}function s(){v&&p&&(v=!1,p.length?m=p.concat(m):g=-1,m.length&&u())}function u(){if(!v){var e=o(s);v=!0;for(var t=m.length;t;){for(p=m,m=[];++g1)for(var n=1;n1&&(r=n[0]+"@",e=n[1]),e=e.replace(O,"."),r+o(e.split("."),t).join(".")}function s(e){for(var t,n,r=[],i=0,o=e.length;i=55296&&t<=56319&&i65535&&(e-=65536,t+=R(e>>>10&1023|55296),e=56320|1023&e),t+=R(e)}).join("")}function l(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:w}function c(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function f(e,t,n){var r=0;for(e=n?I(e/S):e>>1,e+=I(e/t);e>L*x>>1;r+=w)e=I(e/L);return I(r+(L+1)*e/(e+C))}function d(e){var t,n,r,o,a,s,c,d,h,p,m=[],v=e.length,g=0,y=A,$=E;for(n=e.lastIndexOf(D),n<0&&(n=0),r=0;r=128&&i("not-basic"),m.push(e.charCodeAt(r));for(o=n>0?n+1:0;o=v&&i("invalid-input"),d=l(e.charCodeAt(o++)),(d>=w||d>I((_-g)/s))&&i("overflow"),g+=d*s,h=c<=$?k:c>=$+x?x:c-$,!(dI(_/p)&&i("overflow"),s*=p;t=m.length+1,$=f(g-a,t,0==a),I(g/t)>_-y&&i("overflow"),y+=I(g/t),g%=t,m.splice(g++,0,y)}return u(m)}function h(e){var t,n,r,o,a,u,l,d,h,p,m,v,g,y,$,b=[];for(e=s(e),v=e.length,t=A,n=0,a=E,u=0;u=t&&mI((_-n)/g)&&i("overflow"),n+=(l-t)*g,t=l,u=0;u_&&i("overflow"),m==t){for(d=n,h=w;p=h<=a?k:h>=a+x?x:h-a,!(d= 0x80 (not a basic code point)","invalid-input":"Invalid input"},L=w-k,I=Math.floor,R=String.fromCharCode;if($={version:"1.4.1",ucs2:{decode:s,encode:u},decode:d,encode:h,toASCII:m,toUnicode:p},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",function(){return $});else if(v&&g)if(t.exports==v)g.exports=$;else for(b in $)$.hasOwnProperty(b)&&(v[b]=$[b]);else r.punycode=$}(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],110:[function(e,t,n){function r(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName)e.focus(),e.setSelectionRange(0,e.value.length),t=e.value;else{e.hasAttribute("contenteditable")&&e.focus();var n=window.getSelection(),r=document.createRange();r.selectNodeContents(e),n.removeAllRanges(),n.addRange(r),t=n.toString()}return t}t.exports=r},{}],111:[function(e,t,n){function r(){}r.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){function r(){i.off(e,r),t.apply(n,arguments)}var i=this;return r._=t,this.on(e,r,n)},emit:function(e){var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,i=n.length;for(r;r-1)return e.splice(n,1)}}function a(e,t){return ki.call(e,t)}function s(e){return"string"==typeof e||"number"==typeof e}function u(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}function l(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n}function c(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function f(e,t){for(var n in t)e[n]=t[n];return e}function d(e){return null!==e&&"object"==typeof e}function h(e){return Ei.call(e)===Ai}function p(e){for(var t={},n=0;n=0&&co[n].id>e.id;)n--;co.splice(Math.max(n,mo)+1,0,e)}else co.push(e);ho||(ho=!0,Yi(me))}}function ge(e){yo.clear(),ye(e,yo)}function ye(e,t){var n,r,i=Array.isArray(e);if((i||d(e))&&Object.isExtensible(e)){if(e.__ob__){var o=e.__ob__.dep.id;if(t.has(o))return;t.add(o)}if(i)for(n=e.length;n--;)ye(e[n],t);else for(r=Object.keys(e),n=r.length;n--;)ye(e[r[n]],t)}}function $e(e,t,n){$o.get=function(){return this[t][n]},$o.set=function(e){this[t][n]=e},Object.defineProperty(e,n,$o)}function be(e){e._watchers=[];var t=e.$options;t.props&&_e(e,t.props),t.methods&&Ee(e,t.methods),t.data?we(e):E(e._data={},!0),t.computed&&xe(e,t.computed),t.watch&&Ae(e,t.watch)}function _e(e,t){var n=e.$options.propsData||{},r=e._props={},i=e.$options._propKeys=[],o=!e.$parent;eo.shouldConvert=o;for(var a in t)!function(o){i.push(o);var a=q(o,t,n,e);A(r,o,a),o in e||$e(e,"_props",o)}(a);eo.shouldConvert=!0}function we(e){var t=e.$options.data;t=e._data="function"==typeof t?ke(t,e):t||{},h(t)||(t={});for(var n=Object.keys(t),r=e.$options.props,i=n.length;i--;)r&&a(r,n[i])||$(n[i])||$e(e,"_data",n[i]);E(t,!0)}function ke(e,t){try{return e.call(t)}catch(e){return V(e,t,"data()"),{}}}function xe(e,t){var n=e._computedWatchers=Object.create(null);for(var r in t){var i=t[r],o="function"==typeof i?i:i.get;n[r]=new go(e,o,m,bo),r in e||Ce(e,r,i)}}function Ce(e,t,n){"function"==typeof n?($o.get=Se(t),$o.set=m):($o.get=n.get?!1!==n.cache?Se(t):n.get:m,$o.set=n.set?n.set:m),Object.defineProperty(e,t,$o)}function Se(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),Zi.target&&t.depend(),t.value}}function Ee(e,t){e.$options.props;for(var n in t)e[n]=null==t[n]?m:l(t[n],e)}function Ae(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var i=0;i-1:e instanceof RegExp&&e.test(t)}function ht(e,t){for(var n in e){var r=e[n];if(r){var i=ft(r.componentOptions);i&&!t(i)&&(pt(r),e[n]=null)}}}function pt(e){e&&(e.componentInstance._inactive||he(e.componentInstance,"deactivated"),e.componentInstance.$destroy())}function mt(e){for(var t=e.data,n=e,r=e;r.componentInstance;)r=r.componentInstance._vnode,r.data&&(t=vt(r.data,t));for(;n=n.parent;)n.data&&(t=vt(t,n.data));return gt(t)}function vt(e,t){return{staticClass:yt(e.staticClass,t.staticClass),class:e.class?[e.class,t.class]:t.class}}function gt(e){var t=e.class,n=e.staticClass;return n||t?yt(n,$t(t)):""}function yt(e,t){return e?t?e+" "+t:e:t||""}function $t(e){var t="";if(!e)return t;if("string"==typeof e)return e;if(Array.isArray(e)){for(var n,r=0,i=e.length;r-1?Qo[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Qo[e]=/HTMLUnknownElement/.test(t.toString())}function wt(e){if("string"==typeof e){var t=document.querySelector(e);return t||document.createElement("div")}return e}function kt(e,t){var n=document.createElement(e);return"select"!==e?n:(t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)}function xt(e,t){return document.createElementNS(Yo[e],t)}function Ct(e){return document.createTextNode(e)}function St(e){return document.createComment(e)}function Et(e,t,n){e.insertBefore(t,n)}function At(e,t){e.removeChild(t)}function Dt(e,t){e.appendChild(t)}function Tt(e){return e.parentNode}function Mt(e){return e.nextSibling}function Ot(e){return e.tagName}function Ft(e,t){e.textContent=t}function Lt(e,t,n){e.setAttribute(t,n)}function It(e,t){var n=e.data.ref;if(n){var r=e.context,i=e.componentInstance||e.elm,a=r.$refs;t?Array.isArray(a[n])?o(a[n],i):a[n]===i&&(a[n]=void 0):e.data.refInFor?Array.isArray(a[n])&&a[n].indexOf(i)<0?a[n].push(i):a[n]=[i]:a[n]=i}}function Rt(e){return void 0===e||null===e}function Nt(e){return void 0!==e&&null!==e}function Pt(e){return!0===e}function qt(e,t){return e.key===t.key&&e.tag===t.tag&&e.isComment===t.isComment&&Nt(e.data)===Nt(t.data)&&jt(e,t)}function jt(e,t){if("input"!==e.tag)return!0;var n;return(Nt(n=e.data)&&Nt(n=n.attrs)&&n.type)===(Nt(n=t.data)&&Nt(n=n.attrs)&&n.type)}function Ut(e,t,n){var r,i,o={};for(r=t;r<=n;++r)i=e[r].key,Nt(i)&&(o[i]=r);return o}function zt(e,t){(e.data.directives||t.data.directives)&&Vt(e,t)}function Vt(e,t){var n,r,i,o=e===ea,a=t===ea,s=Bt(e.data.directives,e.context),u=Bt(t.data.directives,t.context),l=[],c=[];for(n in u)r=s[n],i=u[n],r?(i.oldValue=r.value,Yt(i,"update",t,e),i.def&&i.def.componentUpdated&&c.push(i)):(Yt(i,"bind",t,e),i.def&&i.def.inserted&&l.push(i));if(l.length){var f=function(){for(var n=0;n=0&&" "===(v=e.charAt(m));m--);v&&sa.test(v)||(c=!0)}}else void 0===o?(p=i+1,o=e.slice(0,i).trim()):t();if(void 0===o?o=e.slice(0,i).trim():0!==p&&t(),a)for(i=0;i=Do}function dn(e){return 34===e||39===e}function hn(e){var t=1;for(Fo=Oo;!fn();)if(e=cn(),dn(e))pn(e);else if(91===e&&t++,93===e&&t--,0===t){Lo=Oo;break}}function pn(e){for(var t=e;!fn()&&(e=cn())!==t;);}function mn(e,t,n){Io=n;var r=t.value,i=t.modifiers,o=e.tag,a=e.attrsMap.type;if("select"===o)yn(e,r,i);else if("input"===o&&"checkbox"===a)vn(e,r,i);else if("input"===o&&"radio"===a)gn(e,r,i);else if("input"===o||"textarea"===o)$n(e,r,i);else if(!Mi.isReservedTag(o))return sn(e,r,i),!1;return!0}function vn(e,t,n){var r=n&&n.number,i=on(e,"value")||"null",o=on(e,"true-value")||"true",a=on(e,"false-value")||"false";en(e,"checked","Array.isArray("+t+")?_i("+t+","+i+")>-1"+("true"===o?":("+t+")":":_q("+t+","+o+")")),rn(e,la,"var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+a+");if(Array.isArray($$a)){var $$v="+(r?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$c){$$i<0&&("+t+"=$$a.concat($$v))}else{$$i>-1&&("+t+"=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{"+t+"=$$c}",null,!0)}function gn(e,t,n){var r=n&&n.number,i=on(e,"value")||"null";i=r?"_n("+i+")":i,en(e,"checked","_q("+t+","+i+")"),rn(e,la,un(t,i),null,!0)}function yn(e,t,n){var r=n&&n.number,i='Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(r?"_n(val)":"val")+"})",o="var $$selectedVal = "+i+";";o=o+" "+un(t,"$event.target.multiple ? $$selectedVal : $$selectedVal[0]"),rn(e,"change",o,null,!0)}function $n(e,t,n){var r=e.attrsMap.type,i=n||{},o=i.lazy,a=i.number,s=i.trim,u=!o&&"range"!==r,l=o?"change":"range"===r?ua:"input",c="$event.target.value";s&&(c="$event.target.value.trim()"),a&&(c="_n("+c+")");var f=un(t,c);u&&(f="if($event.target.composing)return;"+f),en(e,"value","("+t+")"),rn(e,l,f,null,!0),(s||a||"number"===r)&&rn(e,"blur","$forceUpdate()")}function bn(e){var t;e[ua]&&(t=Ni?"change":"input",e[t]=[].concat(e[ua],e[t]||[]),delete e[ua]),e[la]&&(t=zi?"click":"change",e[t]=[].concat(e[la],e[t]||[]),delete e[la])}function _n(e,t,n,r){if(n){var i=t,o=Ro;t=function(n){null!==(1===arguments.length?i(n):i.apply(null,arguments))&&wn(e,t,r,o)}}Ro.addEventListener(e,t,r)}function wn(e,t,n,r){(r||Ro).removeEventListener(e,t,n)}function kn(e,t){if(e.data.on||t.data.on){var n=t.data.on||{},r=e.data.on||{};Ro=t.elm,bn(n),G(n,r,_n,wn,t.context)}}function xn(e,t){if(e.data.domProps||t.data.domProps){var n,r,i=t.elm,o=e.data.domProps||{},a=t.data.domProps||{};a.__ob__&&(a=t.data.domProps=f({},a));for(n in o)null==a[n]&&(i[n]="");for(n in a)if(r=a[n],"textContent"!==n&&"innerHTML"!==n||(t.children&&(t.children.length=0),r!==o[n]))if("value"===n){i._value=r;var s=null==r?"":String(r);Cn(i,t,s)&&(i.value=s)}else i[n]=r}}function Cn(e,t,n){return!e.composing&&("option"===t.tag||Sn(e,n)||En(e,n))}function Sn(e,t){return document.activeElement!==e&&e.value!==t}function En(e,t){var n=e.value,i=e._vModifiers;return i&&i.number||"number"===e.type?r(n)!==r(t):i&&i.trim?n.trim()!==t.trim():n!==t}function An(e){var t=Dn(e.style);return e.staticStyle?f(e.staticStyle,t):t}function Dn(e){return Array.isArray(e)?p(e):"string"==typeof e?da(e):e}function Tn(e,t){var n,r={};if(t)for(var i=e;i.componentInstance;)i=i.componentInstance._vnode,i.data&&(n=An(i.data))&&f(r,n);(n=An(e.data))&&f(r,n);for(var o=e;o=o.parent;)o.data&&(n=An(o.data))&&f(r,n);return r}function Mn(e,t){var n=t.data,r=e.data;if(n.staticStyle||n.style||r.staticStyle||r.style){var i,o,a=t.elm,s=e.data.staticStyle,u=e.data.style||{},l=s||u,c=Dn(t.data.style)||{};t.data.style=c.__ob__?f({},c):c;var d=Tn(t,!0);for(o in l)null==d[o]&&ma(a,o,"");for(o in d)(i=d[o])!==l[o]&&ma(a,o,null==i?"":i)}}function On(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(/\s+/).forEach(function(t){return e.classList.add(t)}):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function Fn(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(/\s+/).forEach(function(t){return e.classList.remove(t)}):e.classList.remove(t);else{for(var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");e.setAttribute("class",n.trim())}}function Ln(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&f(t,$a(e.name||"v")),f(t,e),t}return"string"==typeof e?$a(e):void 0}}function In(e){Ea(function(){Ea(e)})}function Rn(e,t){(e._transitionClasses||(e._transitionClasses=[])).push(t),On(e,t)}function Nn(e,t){e._transitionClasses&&o(e._transitionClasses,t),Fn(e,t)}function Pn(e,t,n){var r=qn(e,t),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===_a?xa:Sa,u=0,l=function(){e.removeEventListener(s,c),n()},c=function(t){t.target===e&&++u>=a&&l()};setTimeout(function(){u0&&(n=_a,c=a,f=o.length):t===wa?l>0&&(n=wa,c=l,f=u.length):(c=Math.max(a,l),n=c>0?a>l?_a:wa:null,f=n?n===_a?o.length:u.length:0),{type:n,timeout:c,propCount:f,hasTransform:n===_a&&Aa.test(r[ka+"Property"])}}function jn(e,t){for(;e.length1}function Yn(e,t){t.data.show||zn(t)}function Wn(e,t,n){var r=t.value,i=e.multiple;if(!i||Array.isArray(r)){for(var o,a,s=0,u=e.options.length;s-1,a.selected!==o&&(a.selected=o);else if(v(Zn(a),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));i||(e.selectedIndex=-1)}}function Gn(e,t){for(var n=0,r=t.length;n=0&&a[i].lowerCasedTag!==s;i--);else i=0;if(i>=0){for(var u=a.length-1;u>=i;u--)t.end&&t.end(a[u].tag,n,r);a.length=i,o=i&&a[i-1].tag}else"br"===s?t.start&&t.start(e,[],!0,n,r):"p"===s&&(t.start&&t.start(e,[],!1,n,r),t.end&&t.end(e,n,r))}for(var i,o,a=[],s=t.expectHTML,u=t.isUnaryTag||Di,l=t.canBeLeftOpenTag||Di,c=0;e;){if(i=e,o&&bs(o)){var f=o.toLowerCase(),d=_s[f]||(_s[f]=new RegExp("([\\s\\S]*?)(]*>)","i")),h=0,p=e.replace(d,function(e,n,r){return h=r.length,bs(f)||"noscript"===f||(n=n.replace(//g,"$1").replace(//g,"$1")),t.chars&&t.chars(n),""});c+=e.length-p.length,e=p,r(f,c-h,c)}else{var m=e.indexOf("<");if(0===m){if(Xa.test(e)){var v=e.indexOf("--\x3e");if(v>=0){n(v+3);continue}}if(es.test(e)){var g=e.indexOf("]>");if(g>=0){n(g+2);continue}}var y=e.match(Ka);if(y){n(y[0].length);continue}var $=e.match(Qa);if($){var b=c;n($[0].length),r($[1],b,c);continue}var _=function(){var t=e.match(Za);if(t){var r={tagName:t[1],attrs:[],start:c};n(t[0].length);for(var i,o;!(i=e.match(Ja))&&(o=e.match(Wa));)n(o[0].length),r.attrs.push(o);if(i)return r.unarySlash=i[1],n(i[0].length),r.end=c,r}}();if(_){!function(e){var n=e.tagName,i=e.unarySlash;s&&("p"===o&&Ha(n)&&r(o),l(n)&&o===n&&r(n));for(var c=u(n)||"html"===n&&"head"===o||!!i,f=e.attrs.length,d=new Array(f),h=0;h=0){for(k=e.slice(m);!(Qa.test(k)||Za.test(k)||Xa.test(k)||es.test(k)||(x=k.indexOf("<",1))<0);)m+=x,k=e.slice(m);w=e.substring(0,m),n(m)}m<0&&(w=e,e=""),t.chars&&w&&t.chars(w)}if(e===i){t.chars&&t.chars(e);break}}r()}function fr(e,t){var n=t?Ss(t):Cs;if(n.test(e)){for(var r,i,o=[],a=n.lastIndex=0;r=n.exec(e);){i=r.index,i>a&&o.push(JSON.stringify(e.slice(a,i)));var s=Jt(r[1].trim());o.push("_s("+s+")"),a=i+r[0].length}return a0,qi=Ri&&Ri.indexOf("edge/")>0,ji=Ri&&Ri.indexOf("android")>0,Ui=Ri&&/iphone|ipad|ipod|ios/.test(Ri),zi=Ri&&/chrome\/\d+/.test(Ri)&&!qi,Vi=function(){return void 0===bi&&(bi=!Ii&&void 0!==e&&"server"===e.process.env.VUE_ENV),bi},Bi=Ii&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,Hi="undefined"!=typeof Symbol&&w(Symbol)&&"undefined"!=typeof Reflect&&w(Reflect.ownKeys),Yi=function(){function e(){r=!1;var e=n.slice(0);n.length=0;for(var t=0;t1?c(n):n;for(var r=c(arguments,1),i=0,o=n.length;i1&&(t[n[0].trim()]=n[1].trim())}}),t}),ha=/^--/,pa=/\s*!important$/,ma=function(e,t,n){ha.test(t)?e.style.setProperty(t,n):pa.test(n)?e.style.setProperty(t,n.replace(pa,""),"important"):e.style[ga(t)]=n},va=["Webkit","Moz","ms"],ga=u(function(e){if(No=No||document.createElement("div"),"filter"!==(e=xi(e))&&e in No.style)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=0;nd?(l=Rt(n[v+1])?null:n[v+1].elm,m(e,l,n,f,v,r)):f>v&&g(e,t,c,d)}function b(e,t,n,r){if(e!==t){if(Pt(t.isStatic)&&Pt(e.isStatic)&&t.key===e.key&&(Pt(t.isCloned)||Pt(t.isOnce)))return t.elm=e.elm,void(t.componentInstance=e.componentInstance);var i,o=t.data;Nt(o)&&Nt(i=o.hook)&&Nt(i=i.prepatch)&&i(e,t);var a=t.elm=e.elm,s=e.children,u=t.children;if(Nt(o)&&d(t)){for(i=0;i',n.innerHTML.indexOf(t)>0}("\n"," "),Va=i("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),Ba=i("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),Ha=i("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),Ya=[/"([^"]*)"+/.source,/'([^']*)'+/.source,/([^\s"'=<>`]+)/.source],Wa=new RegExp("^\\s*"+/([^\s"'<>\/=]+)/.source+"(?:\\s*("+/(?:=)/.source+")\\s*(?:"+Ya.join("|")+"))?"),Ga="[a-zA-Z_][\\w\\-\\.]*",Za=new RegExp("^<((?:"+Ga+"\\:)?"+Ga+")"),Ja=/^\s*(\/?)>/,Qa=new RegExp("^<\\/((?:"+Ga+"\\:)?"+Ga+")[^>]*>"),Ka=/^]+>/i,Xa=/^/g,"$1").replace(//g,"$1")),t.chars&&t.chars(n),""});c+=e.length-p.length,e=p,r(f,c-h,c)}else{var m=e.indexOf("<");if(0===m){if(Xa.test(e)){var v=e.indexOf("--\x3e");if(v>=0){n(v+3);continue}}if(es.test(e)){var g=e.indexOf("]>");if(g>=0){n(g+2);continue}}var y=e.match(Ka);if(y){n(y[0].length);continue}var $=e.match(Qa);if($){var b=c;n($[0].length),r($[1],b,c);continue}var _=function(){var t=e.match(Za);if(t){var r={tagName:t[1],attrs:[],start:c};n(t[0].length);for(var i,o;!(i=e.match(Ja))&&(o=e.match(Wa));)n(o[0].length),r.attrs.push(o);if(i)return r.unarySlash=i[1],n(i[0].length),r.end=c,r}}();if(_){!function(e){var n=e.tagName,i=e.unarySlash;s&&("p"===o&&Ha(n)&&r(o),l(n)&&o===n&&r(n));for(var c=u(n)||"html"===n&&"head"===o||!!i,f=e.attrs.length,d=new Array(f),h=0;h=0){for(k=e.slice(m);!(Qa.test(k)||Za.test(k)||Xa.test(k)||es.test(k)||(x=k.indexOf("<",1))<0);)m+=x,k=e.slice(m);w=e.substring(0,m),n(m)}m<0&&(w=e,e=""),t.chars&&w&&t.chars(w)}if(e===i){t.chars&&t.chars(e);break}}r()}function fr(e,t){var n=t?Ss(t):Cs;if(n.test(e)){for(var r,i,o=[],a=n.lastIndex=0;r=n.exec(e);){i=r.index,i>a&&o.push(JSON.stringify(e.slice(a,i)));var s=Jt(r[1].trim());o.push("_s("+s+")"),a=i+r[0].length}return a0,qi=Ri&&Ri.indexOf("edge/")>0,ji=Ri&&Ri.indexOf("android")>0,Ui=Ri&&/iphone|ipad|ipod|ios/.test(Ri),zi=Ri&&/chrome\/\d+/.test(Ri)&&!qi,Vi=function(){return void 0===bi&&(bi=!Ii&&void 0!==e&&"server"===e.process.env.VUE_ENV),bi},Bi=Ii&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,Hi="undefined"!=typeof Symbol&&w(Symbol)&&"undefined"!=typeof Reflect&&w(Reflect.ownKeys),Yi=function(){function e(){r=!1;var e=n.slice(0);n.length=0;for(var t=0;t1?c(n):n;for(var r=c(arguments,1),i=0,o=n.length;i1&&(t[n[0].trim()]=n[1].trim())}}),t}),ha=/^--/,pa=/\s*!important$/,ma=function(e,t,n){ha.test(t)?e.style.setProperty(t,n):pa.test(n)?e.style.setProperty(t,n.replace(pa,""),"important"):e.style[ga(t)]=n},va=["Webkit","Moz","ms"],ga=u(function(e){if(No=No||document.createElement("div"),"filter"!==(e=xi(e))&&e in No.style)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=0;nd?(l=Rt(n[v+1])?null:n[v+1].elm,m(e,l,n,f,v,r)):f>v&&g(e,t,c,d)}function b(e,t,n,r){if(e!==t){if(Pt(t.isStatic)&&Pt(e.isStatic)&&t.key===e.key&&(Pt(t.isCloned)||Pt(t.isOnce)))return t.elm=e.elm,void(t.componentInstance=e.componentInstance);var i,o=t.data;Nt(o)&&Nt(i=o.hook)&&Nt(i=i.prepatch)&&i(e,t);var a=t.elm=e.elm,s=e.children,u=t.children;if(Nt(o)&&d(t)){for(i=0;i',n.innerHTML.indexOf(t)>0}("\n"," "),Va=i("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),Ba=i("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),Ha=i("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),Ya=[/"([^"]*)"+/.source,/'([^']*)'+/.source,/([^\s"'=<>`]+)/.source],Wa=new RegExp("^\\s*"+/([^\s"'<>\/=]+)/.source+"(?:\\s*("+/(?:=)/.source+")\\s*(?:"+Ya.join("|")+"))?"),Ga="[a-zA-Z_][\\w\\-\\.]*",Za=new RegExp("^<((?:"+Ga+"\\:)?"+Ga+")"),Ja=/^\s*(\/?)>/,Qa=new RegExp("^<\\/((?:"+Ga+"\\:)?"+Ga+")[^>]*>"),Ka=/^]+>/i,Xa=/^/g,"$1").replace(//g,"$1")),t.chars&&t.chars(n),""});c+=e.length-h.length,e=h,r(f,c-p,c)}else{var m=e.indexOf("<");if(0===m){if(Xa.test(e)){var g=e.indexOf("--\x3e");if(g>=0){n(g+3);continue}}if(es.test(e)){var v=e.indexOf("]>");if(v>=0){n(v+2);continue}}var y=e.match(Qa);if(y){n(y[0].length);continue}var b=e.match(Ja);if(b){var _=c;n(b[0].length),r(b[1],_,c);continue}var x=function(){var t=e.match(Za);if(t){var r={tagName:t[1],attrs:[],start:c};n(t[0].length);for(var i,o;!(i=e.match(Ka))&&(o=e.match(Ya));)n(o[0].length),r.attrs.push(o);if(i)return r.unarySlash=i[1],n(i[0].length),r.end=c,r}}();if(x){!function(e){var n=e.tagName,i=e.unarySlash;s&&("p"===o&&Wa(n)&&r(o),u(n)&&o===n&&r(n));for(var c=l(n)||"html"===n&&"head"===o||!!i,f=e.attrs.length,d=new Array(f),p=0;p=0){for(k=e.slice(m);!(Ja.test(k)||Za.test(k)||Xa.test(k)||es.test(k)||($=k.indexOf("<",1))<0);)m+=$,k=e.slice(m);w=e.substring(0,m),n(m)}m<0&&(w=e,e=""),t.chars&&w&&t.chars(w)}if(e===i){t.chars&&t.chars(e);break}}r()}function fr(e,t){var n=t?Ss(t):Cs;if(n.test(e)){for(var r,i,o=[],a=n.lastIndex=0;r=n.exec(e);){i=r.index,i>a&&o.push(JSON.stringify(e.slice(a,i)));var s=Kt(r[1].trim());o.push("_s("+s+")"),a=i+r[0].length}return a0,Pi=zi&&zi.indexOf("edge/")>0,ji=zi&&zi.indexOf("android")>0,Ri=zi&&/iphone|ipad|ipod|ios/.test(zi),Ui=zi&&/chrome\/\d+/.test(zi)&&!Pi,Hi=function(){return void 0===_i&&(_i=!Ni&&void 0!==e&&"server"===e.process.env.VUE_ENV),_i},Bi=Ni&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,Wi="undefined"!=typeof Symbol&&w(Symbol)&&"undefined"!=typeof Reflect&&w(Reflect.ownKeys),Vi=function(){function e(){r=!1;var e=n.slice(0);n.length=0;for(var t=0;t1?c(n):n;for(var r=c(arguments,1),i=0,o=n.length;i1&&(t[n[0].trim()]=n[1].trim())}}),t}),pa=/^--/,ha=/\s*!important$/,ma=function(e,t,n){pa.test(t)?e.style.setProperty(t,n):ha.test(n)?e.style.setProperty(t,n.replace(ha,""),"important"):e.style[va(t)]=n},ga=["Webkit","Moz","ms"],va=l(function(e){if(qo=qo||document.createElement("div"),"filter"!==(e=$i(e))&&e in qo.style)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=0;nd?(u=zt(n[g+1])?null:n[g+1].elm,m(e,u,n,f,g,r)):f>g&&v(e,t,c,d)}function _(e,t,n,r){if(e!==t){if(It(t.isStatic)&&It(e.isStatic)&&t.key===e.key&&(It(t.isCloned)||It(t.isOnce)))return t.elm=e.elm,void(t.componentInstance=e.componentInstance);var i,o=t.data;qt(o)&&qt(i=o.hook)&&qt(i=i.prepatch)&&i(e,t);var a=t.elm=e.elm,s=e.children,l=t.children;if(qt(o)&&d(t)){for(i=0;i',n.innerHTML.indexOf(t)>0}("\n"," "),Ha=i("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),Ba=i("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),Wa=i("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),Va=[/"([^"]*)"+/.source,/'([^']*)'+/.source,/([^\s"'=<>`]+)/.source],Ya=new RegExp("^\\s*"+/([^\s"'<>\/=]+)/.source+"(?:\\s*("+/(?:=)/.source+")\\s*(?:"+Va.join("|")+"))?"),Ga="[a-zA-Z_][\\w\\-\\.]*",Za=new RegExp("^<((?:"+Ga+"\\:)?"+Ga+")"),Ka=/^\s*(\/?)>/,Ja=new RegExp("^<\\/((?:"+Ga+"\\:)?"+Ga+")[^>]*>"),Qa=/^]+>/i,Xa=/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(i.source+"\\s*$"),/^$/,!1]];t.exports=function(e,t,n,r){var i,a,s,l,u=e.bMarks[t]+e.tShift[t],c=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(u))return!1;for(l=e.src.slice(u,c),i=0;i=4)return!1;for(d=e.parentType,e.parentType="paragraph";p3)){if(e.sCount[p]>=e.blkIndent&&(l=e.bMarks[p]+e.tShift[p],u=e.eMarks[p],l=u))){c=61===f?1:2;break}if(!(e.sCount[p]<0)){for(i=!1,o=0,a=h.length;o=o)return-1;if((n=e.src.charCodeAt(i++))<48||n>57)return-1;for(;;){if(i>=o)return-1;n=e.src.charCodeAt(i++);{if(!(n>=48&&n<=57)){if(41===n||46===n)break;return-1}if(i-r>=10)return-1}}return i=4)return!1;if(s&&"paragraph"===e.parentType&&e.tShift[t]>=e.blkIndent&&(z=!0),(M=i(e,t))>=0){if(h=!0,L=e.bMarks[t]+e.tShift[t],_=Number(e.src.substr(L,M-L-1)),z&&1!==_)return!1}else{if(!((M=r(e,t))>=0))return!1;h=!1}if(z&&e.skipSpaces(M)>=e.eMarks[t])return!1;if(b=e.src.charCodeAt(M-1),s)return!0;for(y=e.tokens.length,h?(N=e.push("ordered_list_open","ol",1),1!==_&&(N.attrs=[["start",_]])):N=e.push("bullet_list_open","ul",1),N.map=v=[t,0],N.markup=String.fromCharCode(b),w=t,D=!1,F=e.md.block.ruler.getRules("list"),S=e.parentType,e.parentType="list";w=x?1:k-p,d>4&&(d=1),f=p+d,N=e.push("list_item_open","li",1),N.markup=String.fromCharCode(b),N.map=m=[t,0],$=e.blkIndent,A=e.tight,E=e.tShift[t],C=e.sCount[t],e.blkIndent=f,e.tight=!0,e.tShift[t]=u-e.bMarks[t],e.sCount[t]=k,u>=x&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,t,n,!0),e.tight&&!D||(q=!1),D=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=$,e.tShift[t]=E,e.sCount[t]=C,e.tight=A,N=e.push("list_item_close","li",-1),N.markup=String.fromCharCode(b),w=t=e.line,m[1]=w,u=e.bMarks[t],w>=n)break;if(e.sCount[w]3||e.sCount[l]<0)){for(r=!1,i=0,o=u.length;i=4)return!1;if(91!==e.src.charCodeAt(k))return!1;for(;++k<$;)if(93===e.src.charCodeAt(k)&&92!==e.src.charCodeAt(k-1)){if(k+1===$)return!1;if(58!==e.src.charCodeAt(k+1))return!1;break}for(u=e.lineMax,_=e.md.block.ruler.getRules("reference"),m=e.parentType,e.parentType="reference";C3||e.sCount[C]<0)){for(b=!1,f=0,d=_.length;f0&&this.level++,this.tokens.push(r),r},r.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},r.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;et;)if(!o(this.src.charCodeAt(--e)))return e+1;return e},r.prototype.skipChars=function(e,t){for(var n=this.src.length;en;)if(t!==this.src.charCodeAt(--e))return e+1;return e},r.prototype.getLines=function(e,t,n,r){var i,a,s,l,u,c,f,d=e;if(e>=t)return"";for(c=new Array(t-e),i=0;dn?new Array(a-n+1).join(" ")+this.src.slice(l,u):this.src.slice(l,u)}return c.join("")},r.prototype.Token=i,t.exports=r},{"../common/utils":72,"../token":119}],97:[function(e,t,n){"use strict";function r(e,t){var n=e.bMarks[t]+e.blkIndent,r=e.eMarks[t];return e.src.substr(n,r-n)}function i(e){var t,n=[],r=0,i=e.length,o=0,a=0,s=!1,l=0;for(t=e.charCodeAt(r);rn)return!1;if(f=t+1,e.sCount[f]=4)return!1;if((u=e.bMarks[f]+e.tShift[f])>=e.eMarks[f])return!1;if(124!==(s=e.src.charCodeAt(u++))&&45!==s&&58!==s)return!1;for(;u=4)return!1;if(d=i(l.replace(/^\||\|$/g,"")),(p=d.length)>m.length)return!1;if(a)return!0;for(h=e.push("table_open","table",1),h.map=v=[t,0],h=e.push("thead_open","thead",1),h.map=[t,t+1],h=e.push("tr_open","tr",1),h.map=[t,t+1],c=0;c=4);f++){for(d=i(l.replace(/^\||\|$/g,"")),h=e.push("tr_open","tr",1),c=0;c\s]/i.test(e)}function i(e){return/^<\/a\s*>/i.test(e)}var o=e("../common/utils").arrayReplaceAt;t.exports=function(e){var t,n,a,s,l,u,c,f,d,p,h,m,g,v,y,b,_,x=e.tokens;if(e.md.options.linkify)for(n=0,a=x.length;n=0;t--)if(u=s[t],"link_close"!==u.type){if("html_inline"===u.type&&(r(u.content)&&g>0&&g--,i(u.content)&&g++),!(g>0)&&"text"===u.type&&e.md.linkify.test(u.content)){for(d=u.content,_=e.md.linkify.match(d),c=[],m=u.level,h=0,f=0;f<_.length;f++)v=_[f].url,y=e.md.normalizeLink(v),e.md.validateLink(y)&&(b=_[f].text,b=_[f].schema?"mailto:"!==_[f].schema||/^mailto:/i.test(b)?e.md.normalizeLinkText(b):e.md.normalizeLinkText("mailto:"+b).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+b).replace(/^http:\/\//,""),p=_[f].index,p>h&&(l=new e.Token("text","",0),l.content=d.slice(h,p),l.level=m,c.push(l)),l=new e.Token("link_open","a",1),l.attrs=[["href",y]],l.level=m++,l.markup="linkify",l.info="auto",c.push(l),l=new e.Token("text","",0),l.content=b,l.level=m,c.push(l),l=new e.Token("link_close","a",-1),l.level=--m,l.markup="linkify",l.info="auto",c.push(l),h=_[f].lastIndex);h=0;t--)n=e[t],"text"!==n.type||i||(n.content=n.content.replace(l,r)),"link_open"===n.type&&"auto"===n.info&&i--,"link_close"===n.type&&"auto"===n.info&&i++}function o(e){var t,n,r=0;for(t=e.length-1;t>=0;t--)n=e[t],"text"!==n.type||r||a.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/gm,"$1—$2").replace(/(^|\s)--(\s|$)/gm,"$1–$2").replace(/(^|[^-\s])--([^-\s]|$)/gm,"$1–$2")),"link_open"===n.type&&"auto"===n.info&&r--,"link_close"===n.type&&"auto"===n.info&&r++}var a=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,s=/\((c|tm|r|p)\)/i,l=/\((c|tm|r|p)\)/gi,u={c:"©",r:"®",p:"§",tm:"™"};t.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&(s.test(e.tokens[t].content)&&i(e.tokens[t].children),a.test(e.tokens[t].content)&&o(e.tokens[t].children))}},{}],103:[function(e,t,n){"use strict";function r(e,t,n){return e.substr(0,t)+n+e.substr(t+1)}function i(e,t){var n,i,l,f,d,p,h,m,g,v,y,b,_,x,w,k,$,C,S,E,A;for(S=[],n=0;n=0&&!(S[$].level<=h);$--);if(S.length=$+1,"text"===i.type){l=i.content,d=0,p=l.length;e:for(;d=0)g=l.charCodeAt(f.index-1);else for($=n-1;$>=0;$--)if("text"===e[$].type){g=e[$].content.charCodeAt(e[$].content.length-1);break}if(v=32,d=48&&g<=57&&(k=w=!1),w&&k&&(w=!1,k=b),w||k){if(k)for($=S.length-1;$>=0&&(m=S[$],!(S[$].level=0;t--)"inline"===e.tokens[t].type&&l.test(e.tokens[t].content)&&i(e.tokens[t].children,e)}},{"../common/utils":72}],104:[function(e,t,n){"use strict";function r(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}var i=e("../token");r.prototype.Token=i,t.exports=r},{"../token":119}],105:[function(e,t,n){"use strict";var r=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,i=/^<([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)>/;t.exports=function(e,t){var n,o,a,s,l,u,c=e.pos;return 60===e.src.charCodeAt(c)&&(n=e.src.slice(c),!(n.indexOf(">")<0)&&(i.test(n)?(o=n.match(i),s=o[0].slice(1,-1),l=e.md.normalizeLink(s),!!e.md.validateLink(l)&&(t||(u=e.push("link_open","a",1),u.attrs=[["href",l]],u.markup="autolink",u.info="auto",u=e.push("text","",0),u.content=e.md.normalizeLinkText(s),u=e.push("link_close","a",-1),u.markup="autolink",u.info="auto"),e.pos+=o[0].length,!0)):!!r.test(n)&&(a=n.match(r),s=a[0].slice(1,-1),l=e.md.normalizeLink("mailto:"+s),!!e.md.validateLink(l)&&(t||(u=e.push("link_open","a",1),u.attrs=[["href",l]],u.markup="autolink",u.info="auto",u=e.push("text","",0),u.content=e.md.normalizeLinkText(s),u=e.push("link_close","a",-1),u.markup="autolink",u.info="auto"),e.pos+=a[0].length,!0))))}},{}],106:[function(e,t,n){"use strict";t.exports=function(e,t){var n,r,i,o,a,s,l=e.pos;if(96!==e.src.charCodeAt(l))return!1;for(n=l,l++,r=e.posMax;l=0;){if(i=o[n],i.open&&i.marker===r.marker&&i.end<0&&i.level===r.level){var s=(i.close||r.open)&&void 0!==i.length&&void 0!==r.length&&(i.length+r.length)%3==0;if(!s){r.jump=t-n,r.open=!1,i.end=t,i.jump=0;break}}n-=i.jump+1}}},{}],108:[function(e,t,n){"use strict";t.exports.tokenize=function(e,t){var n,r,i,o=e.pos,a=e.src.charCodeAt(o);if(t)return!1;if(95!==a&&42!==a)return!1;for(r=e.scanDelims(e.pos,42===a),n=0;n?@[]^_`{|}~-".split("").forEach(function(e){i[e.charCodeAt(0)]=1}),t.exports=function(e,t){var n,o=e.pos,a=e.posMax;if(92!==e.src.charCodeAt(o))return!1;if(++o=97&&t<=122}var i=e("../common/html_re").HTML_TAG_RE;t.exports=function(e,t){var n,o,a,s,l=e.pos;return!!e.md.options.html&&(a=e.posMax,!(60!==e.src.charCodeAt(l)||l+2>=a)&&(!(33!==(n=e.src.charCodeAt(l+1))&&63!==n&&47!==n&&!r(n))&&(!!(o=e.src.slice(l).match(i))&&(t||(s=e.push("html_inline","",0),s.content=e.src.slice(l,l+o[0].length)),e.pos+=o[0].length,!0))))}},{"../common/html_re":71}],112:[function(e,t,n){"use strict";var r=e("../common/utils").normalizeReference,i=e("../common/utils").isSpace;t.exports=function(e,t){var n,o,a,s,l,u,c,f,d,p,h,m,g,v="",y=e.pos,b=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(u=e.pos+2,(l=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((c=l+1)=b)return!1;for(g=c,d=e.md.helpers.parseLinkDestination(e.src,c,e.posMax),d.ok&&(v=e.md.normalizeLink(d.str),e.md.validateLink(v)?c=d.pos:v=""),g=c;c=b||41!==e.src.charCodeAt(c))return e.pos=y,!1;c++}else{if(void 0===e.env.references)return!1;if(c=0?s=e.src.slice(g,c++):c=l+1):c=l+1,s||(s=e.src.slice(u,l)),!(f=e.env.references[r(s)]))return e.pos=y,!1;v=f.href,p=f.title}return t||(a=e.src.slice(u,l),e.md.inline.parse(a,e.md,e.env,m=[]),h=e.push("image","img",0),h.attrs=n=[["src",v],["alt",""]],h.children=m,h.content=a,p&&n.push(["title",p])),e.pos=c,e.posMax=b,!0}},{"../common/utils":72}],113:[function(e,t,n){"use strict";var r=e("../common/utils").normalizeReference,i=e("../common/utils").isSpace;t.exports=function(e,t){var n,o,a,s,l,u,c,f,d,p,h="",m=e.pos,g=e.posMax,v=e.pos,y=!0;if(91!==e.src.charCodeAt(e.pos))return!1;if(l=e.pos+1,(s=e.md.helpers.parseLinkLabel(e,e.pos,!0))<0)return!1;if((u=s+1)=g)return!1;for(v=u,c=e.md.helpers.parseLinkDestination(e.src,u,e.posMax),c.ok&&(h=e.md.normalizeLink(c.str),e.md.validateLink(h)?u=c.pos:h=""),v=u;u=g||41!==e.src.charCodeAt(u))&&(y=!0),u++}if(y){if(void 0===e.env.references)return!1;if(u=0?a=e.src.slice(v,u++):u=s+1):u=s+1,a||(a=e.src.slice(l,s)),!(f=e.env.references[r(a)]))return e.pos=m,!1;h=f.href,d=f.title}return t||(e.pos=l,e.posMax=s,p=e.push("link_open","a",1),p.attrs=n=[["href",h]],d&&n.push(["title",d]),e.md.inline.tokenize(e),p=e.push("link_close","a",-1)),e.pos=u,e.posMax=g,!0}},{"../common/utils":72}],114:[function(e,t,n){"use strict";var r=e("../common/utils").isSpace;t.exports=function(e,t){var n,i,o=e.pos;if(10!==e.src.charCodeAt(o))return!1;for(n=e.pending.length-1,i=e.posMax,t||(n>=0&&32===e.pending.charCodeAt(n)?n>=1&&32===e.pending.charCodeAt(n-1)?(e.pending=e.pending.replace(/ +$/,""),e.push("hardbreak","br",0)):(e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0)):e.push("softbreak","br",0)),o++;o0&&this.level++,this.pendingLevel=this.level,this.tokens.push(r),r},r.prototype.scanDelims=function(e,t){var n,r,i,l,u,c,f,d,p,h=e,m=!0,g=!0,v=this.posMax,y=this.src.charCodeAt(e);for(n=e>0?this.src.charCodeAt(e-1):32;h=0&&(n=this.attrs[t][1]),n},r.prototype.attrJoin=function(e,t){var n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=this.attrs[n][1]+" "+t},t.exports=r},{}],120:[function(e,t,n){"use strict";function r(e){var t,n,r=o[e];if(r)return r;for(r=o[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),r.push(n);for(t=0;t=55296&&l<=57343?"���":String.fromCharCode(l),t+=6):240==(248&i)&&t+91114111?u+="����":(l-=65536,u+=String.fromCharCode(55296+(l>>10),56320+(1023&l))),t+=9):u+="�";return u})}var o={};i.defaultChars=";/?:@&=+$,#",i.componentChars="",t.exports=i},{}],121:[function(e,t,n){"use strict";function r(e){var t,n,r=o[e];if(r)return r;for(r=o[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),/^[0-9a-z]$/i.test(n)?r.push(n):r.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t=55296&&s<=57343){if(s>=55296&&s<=56319&&o+1=56320&&l<=57343){c+=encodeURIComponent(e[o]+e[o+1]),o++;continue}c+="%EF%BF%BD"}else c+=encodeURIComponent(e[o]);return c}var o={};i.defaultChars=";/?:@&=+$,-_.!~*'()#",i.componentChars="-_.!~*'()",t.exports=i},{}],122:[function(e,t,n){"use strict";t.exports=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""}},{}],123:[function(e,t,n){"use strict";t.exports.encode=e("./encode"),t.exports.decode=e("./decode"),t.exports.format=e("./format"),t.exports.parse=e("./parse")},{"./decode":120,"./encode":121,"./format":122,"./parse":124}],124:[function(e,t,n){"use strict";function r(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}function i(e,t){if(e&&e instanceof r)return e;var n=new r;return n.parse(e,t),n}var o=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,s=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,l=["<",">",'"',"`"," ","\r","\n","\t"],u=["{","}","|","\\","^","`"].concat(l),c=["'"].concat(u),f=["%","/","?",";","#"].concat(c),d=["/","?","#"],p={javascript:!0,"javascript:":!0},h={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};r.prototype.parse=function(e,t){var n,r,i,a,l,u=e;if(u=u.trim(),!t&&1===e.split("#").length){var c=s.exec(u);if(c)return this.pathname=c[1],c[2]&&(this.search=c[2]),this}var m=o.exec(u);if(m&&(m=m[0],i=m.toLowerCase(),this.protocol=m,u=u.substr(m.length)),(t||m||u.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(l="//"===u.substr(0,2))||m&&p[m]||(u=u.substr(2),this.slashes=!0)),!p[m]&&(l||m&&!h[m])){var g=-1;for(n=0;n127?k+="x":k+=w[$];if(!k.match(/^[+a-z0-9A-Z_-]{0,63}$/)){var S=x.slice(0,n),E=x.slice(n+1),A=w.match(/^([+a-z0-9A-Z_-]{0,63})(.*)$/);A&&(S.push(A[1]),E.unshift(A[2])),E.length&&(u=E.join(".")+u),this.hostname=S.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),_&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var T=u.indexOf("#");-1!==T&&(this.hash=u.substr(T),u=u.slice(0,T));var M=u.indexOf("?");return-1!==M&&(this.search=u.substr(M),u=u.slice(0,M)),u&&(this.pathname=u),h[i]&&this.hostname&&!this.pathname&&(this.pathname=""),this},r.prototype.parseHost=function(e){var t=a.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},t.exports=i},{}],125:[function(e,t,n){!function(r,i){"object"==typeof n&&void 0!==t&&"function"==typeof e?i(e("../moment")):"function"==typeof define&&define.amd?define(["../moment"],i):i(r.moment)}(this,function(e){"use strict";return e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{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"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})})},{"../moment":126}],126:[function(e,t,n){!function(e,r){"object"==typeof n&&void 0!==t?t.exports=r():"function"==typeof define&&define.amd?define(r):e.moment=r()}(this,function(){"use strict";function n(){return gr.apply(null,arguments)}function r(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function i(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function o(e){var t;for(t in e)return!1;return!0}function a(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function s(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function l(e,t){var n,r=[];for(n=0;n0)for(n in br)r=br[n],i=t[r],g(i)||(e[r]=i);return e}function y(e){v(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===_r&&(_r=!0,n.updateOffset(this),_r=!1)}function b(e){return e instanceof y||null!=e&&null!=e._isAMomentObject}function _(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function x(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=_(t)),n}function w(e,t,n){var r,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(r=0;r0?"future":"past"];return S(n)?n(t):n.replace(/%s/i,t)}function z(e,t){var n=e.toLowerCase();Ar[n]=Ar[n+"s"]=Ar[t]=e}function q(e){return"string"==typeof e?Ar[e]||Ar[e.toLowerCase()]:void 0}function I(e){var t,n,r={};for(n in e)u(e,n)&&(t=q(n))&&(r[t]=e[n]);return r}function P(e,t){Tr[e]=t}function j(e){var t=[];for(var n in e)t.push({unit:n,priority:Tr[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}function R(e,t){return function(r){return null!=r?(H(this,e,r),n.updateOffset(this,t),this):U(this,e)}}function U(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function H(e,t,n){e.isValid()&&e._d["set"+(e._isUTC?"UTC":"")+t](n)}function B(e){return e=q(e),S(this[e])?this[e]():this}function W(e,t){if("object"==typeof e){e=I(e);for(var n=j(e),r=0;r=0?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&&(Or[e]=i),t&&(Or[t[0]]=function(){return V(i.apply(this,arguments),t[1],t[2])}),n&&(Or[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function G(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function Z(e){var t,n,r=e.match(Mr);for(t=0,n=r.length;t=0&&Dr.test(e);)e=e.replace(Dr,n),Dr.lastIndex=0,r-=1;return e}function Q(e,t,n){Ir[e]=S(t)?t:function(e,r){return e&&n?n:t}}function X(e,t){return u(Ir,e)?Ir[e](t._strict,t._locale):new RegExp(ee(e))}function ee(e){return te(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i}))}function te(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function ne(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),a(t)&&(r=function(e,n){n[t]=x(e)}),n=0;n=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}function _e(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function xe(e,t,n){var r=7+t-n;return-(7+_e(e,0,r).getUTCDay()-t)%7+r-1}function we(e,t,n,r,i){var o,a,s=(7+n-r)%7,l=xe(e,r,i),u=1+7*(t-1)+s+l;return u<=0?(o=e-1,a=ge(o)+u):u>ge(e)?(o=e+1,a=u-ge(e)):(o=e,a=u),{year:o,dayOfYear:a}}function ke(e,t,n){var r,i,o=xe(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return a<1?(i=e.year()-1,r=a+$e(i,t,n)):a>$e(e.year(),t,n)?(r=a-$e(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function $e(e,t,n){var r=xe(e,t,n),i=xe(e+1,t,n);return(ge(e)-r+i)/7}function Ce(e){return ke(e,this._week.dow,this._week.doy).week}function Se(){return this._week.dow}function Ee(){return this._week.doy}function Ae(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Te(e){var t=ke(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Me(e,t){return"string"!=typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"==typeof e?e:null):parseInt(e,10)}function De(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Le(e,t){return e?r(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:this._weekdays}function Oe(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Fe(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Ne(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=f([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?(i=Zr.call(this._weekdaysParse,a),-1!==i?i:null):"ddd"===t?(i=Zr.call(this._shortWeekdaysParse,a),-1!==i?i:null):(i=Zr.call(this._minWeekdaysParse,a),-1!==i?i:null):"dddd"===t?-1!==(i=Zr.call(this._weekdaysParse,a))?i:-1!==(i=Zr.call(this._shortWeekdaysParse,a))?i:(i=Zr.call(this._minWeekdaysParse,a),-1!==i?i:null):"ddd"===t?-1!==(i=Zr.call(this._shortWeekdaysParse,a))?i:-1!==(i=Zr.call(this._weekdaysParse,a))?i:(i=Zr.call(this._minWeekdaysParse,a),-1!==i?i:null):-1!==(i=Zr.call(this._minWeekdaysParse,a))?i:-1!==(i=Zr.call(this._weekdaysParse,a))?i:(i=Zr.call(this._shortWeekdaysParse,a),-1!==i?i:null)}function ze(e,t,n){var r,i,o;if(this._weekdaysParseExact)return Ne.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=f([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 qe(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Me(e,this.localeData()),this.add(e-t,"d")):t}function Ie(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 Pe(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=De(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function je(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||He.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(u(this,"_weekdaysRegex")||(this._weekdaysRegex=ai),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Re(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||He.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(u(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=si),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Ue(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||He.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(u(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=li),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function He(){function e(e,t){return t.length-e.length}var t,n,r,i,o,a=[],s=[],l=[],u=[];for(t=0;t<7;t++)n=f([2e3,1]).day(t),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),o=this.weekdays(n,""),a.push(r),s.push(i),l.push(o),u.push(r),u.push(i),u.push(o);for(a.sort(e),s.sort(e),l.sort(e),u.sort(e),t=0;t<7;t++)s[t]=te(s[t]),l[t]=te(l[t]),u[t]=te(u[t]);this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Be(){return this.hours()%12||12}function We(){ -return this.hours()||24}function Ve(e,t){Y(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function Ye(e,t){return t._meridiemParse}function Ge(e){return"p"===(e+"").toLowerCase().charAt(0)}function Ze(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}function Ke(e){return e?e.toLowerCase().replace("_","-"):e}function Je(e){for(var t,n,r,i,o=0;o0;){if(r=Qe(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&w(i,n,!0)>=t-1)break;t--}o++}return null}function Qe(n){var r=null;if(!di[n]&&void 0!==t&&t&&t.exports)try{r=ui._abbr,e("./locale/"+n),Xe(r)}catch(e){}return di[n]}function Xe(e,t){var n;return e&&(n=g(t)?nt(e):et(e,t))&&(ui=n),ui._abbr}function et(e,t){if(null!==t){var n=fi;if(t.abbr=e,null!=di[e])C("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=di[e]._config;else if(null!=t.parentLocale){if(null==di[t.parentLocale])return pi[t.parentLocale]||(pi[t.parentLocale]=[]),pi[t.parentLocale].push({name:e,config:t}),null;n=di[t.parentLocale]._config}return di[e]=new T(A(n,t)),pi[e]&&pi[e].forEach(function(e){et(e.name,e.config)}),Xe(e),di[e]}return delete di[e],null}function tt(e,t){if(null!=t){var n,r=fi;null!=di[e]&&(r=di[e]._config),t=A(r,t),n=new T(t),n.parentLocale=di[e],di[e]=n,Xe(e)}else null!=di[e]&&(null!=di[e].parentLocale?di[e]=di[e].parentLocale:null!=di[e]&&delete di[e]);return di[e]}function nt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return ui;if(!r(e)){if(t=Qe(e))return t;e=[e]}return Je(e)}function rt(){return $r(di)}function it(e){var t,n=e._a;return n&&-2===p(e).overflow&&(t=n[Rr]<0||n[Rr]>11?Rr:n[Ur]<1||n[Ur]>oe(n[jr],n[Rr])?Ur:n[Hr]<0||n[Hr]>24||24===n[Hr]&&(0!==n[Br]||0!==n[Wr]||0!==n[Vr])?Hr:n[Br]<0||n[Br]>59?Br:n[Wr]<0||n[Wr]>59?Wr:n[Vr]<0||n[Vr]>999?Vr:-1,p(e)._overflowDayOfYear&&(tUr)&&(t=Ur),p(e)._overflowWeeks&&-1===t&&(t=Yr),p(e)._overflowWeekday&&-1===t&&(t=Gr),p(e).overflow=t),e}function ot(e){var t,n,r,i,o,a,s=e._i,l=hi.exec(s)||mi.exec(s);if(l){for(p(e).iso=!0,t=0,n=vi.length;tge(i)&&(p(e)._overflowDayOfYear=!0),n=_e(i,0,e._dayOfYear),e._a[Rr]=n.getUTCMonth(),e._a[Ur]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=o[t]=r[t];for(;t<7;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Hr]&&0===e._a[Br]&&0===e._a[Wr]&&0===e._a[Vr]&&(e._nextDay=!0,e._a[Hr]=0),e._d=(e._useUTC?_e:be).apply(null,o),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Hr]=24)}}function ct(e){var t,n,r,i,o,a,s,l;if(t=e._w,null!=t.GG||null!=t.W||null!=t.E)o=1,a=4,n=st(t.GG,e._a[jr],ke(bt(),1,4).year),r=st(t.W,1),((i=st(t.E,1))<1||i>7)&&(l=!0);else{o=e._locale._week.dow,a=e._locale._week.doy;var u=ke(bt(),o,a);n=st(t.gg,e._a[jr],u.year),r=st(t.w,u.week),null!=t.d?((i=t.d)<0||i>6)&&(l=!0):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(l=!0)):i=o}r<1||r>$e(n,o,a)?p(e)._overflowWeeks=!0:null!=l?p(e)._overflowWeekday=!0:(s=we(n,r,i,o,a),e._a[jr]=s.year,e._dayOfYear=s.dayOfYear)}function ft(e){if(e._f===n.ISO_8601)return void ot(e);e._a=[],p(e).empty=!0;var t,r,i,o,a,s=""+e._i,l=s.length,u=0;for(i=J(e._f,e._locale).match(Mr)||[],t=0;t0&&p(e).unusedInput.push(a),s=s.slice(s.indexOf(r)+r.length),u+=r.length),Or[o]?(r?p(e).empty=!1:p(e).unusedTokens.push(o),ie(o,r,e)):e._strict&&!r&&p(e).unusedTokens.push(o);p(e).charsLeftOver=l-u,s.length>0&&p(e).unusedInput.push(s),e._a[Hr]<=12&&!0===p(e).bigHour&&e._a[Hr]>0&&(p(e).bigHour=void 0),p(e).parsedDateParts=e._a.slice(0),p(e).meridiem=e._meridiem,e._a[Hr]=dt(e._locale,e._a[Hr],e._meridiem),ut(e),it(e)}function dt(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(r=e.isPM(n),r&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function pt(e){var t,n,r,i,o;if(0===e._f.length)return p(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;ithis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function qt(){if(!g(this._isDSTShifted))return this._isDSTShifted;var e={};if(v(e,this),e=gt(e),e._a){var t=e._isUTC?f(e._a):bt(e._a);this._isDSTShifted=this.isValid()&&w(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function It(){return!!this.isValid()&&!this._isUTC}function Pt(){return!!this.isValid()&&this._isUTC}function jt(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function Rt(e,t){var n,r,i,o=e,s=null;return $t(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:a(e)?(o={},t?o[t]=e:o.milliseconds=e):(s=$i.exec(e))?(n="-"===s[1]?-1:1,o={y:0,d:x(s[Ur])*n,h:x(s[Hr])*n,m:x(s[Br])*n,s:x(s[Wr])*n,ms:x(Ct(1e3*s[Vr]))*n}):(s=Ci.exec(e))?(n="-"===s[1]?-1:1,o={y:Ut(s[2],n),M:Ut(s[3],n),w:Ut(s[4],n),d:Ut(s[5],n),h:Ut(s[6],n),m:Ut(s[7],n),s:Ut(s[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(i=Bt(bt(o.from),bt(o.to)),o={},o.ms=i.milliseconds,o.M=i.months),r=new kt(o),$t(e)&&u(e,"_locale")&&(r._locale=e._locale),r}function Ut(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Ht(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 Bt(e,t){var n;return e.isValid()&&t.isValid()?(t=At(t,e),e.isBefore(t)?n=Ht(e,t):(n=Ht(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Wt(e,t){return function(n,r){var i,o;return null===r||isNaN(+r)||(C(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),n="string"==typeof n?+n:n,i=Rt(n,r),Vt(this,i,e),this}}function Vt(e,t,r,i){var o=t._milliseconds,a=Ct(t._days),s=Ct(t._months);e.isValid()&&(i=null==i||i,o&&e._d.setTime(e._d.valueOf()+o*r),a&&H(e,"Date",U(e,"Date")+a*r),s&&ce(e,U(e,"Month")+s*r),i&&n.updateOffset(e,a||s))}function Yt(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Gt(e,t){var r=e||bt(),i=At(r,this).startOf("day"),o=n.calendarFormat(this,i)||"sameElse",a=t&&(S(t[o])?t[o].call(this,r):t[o]);return this.format(a||this.localeData().calendar(o,this,bt(r)))}function Zt(){return new y(this)}function Kt(e,t){var n=b(e)?e:bt(e);return!(!this.isValid()||!n.isValid())&&(t=q(g(t)?"millisecond":t),"millisecond"===t?this.valueOf()>n.valueOf():n.valueOf()o&&(t=o),On.call(this,e,t,n,r,i))}function On(e,t,n,r,i){var o=we(e,t,n,r,i),a=_e(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function Fn(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function Nn(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 zn(e,t){t[Vr]=x(1e3*("0."+e))}function qn(){return this._isUTC?"UTC":""}function In(){return this._isUTC?"Coordinated Universal Time":""}function Pn(e){return bt(1e3*e)}function jn(){return bt.apply(null,arguments).parseZone()}function Rn(e){return e}function Un(e,t,n,r){var i=nt(),o=f().set(r,t);return i[n](o,e)}function Hn(e,t,n){if(a(e)&&(t=e,e=void 0),e=e||"",null!=t)return Un(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=Un(e,r,n,"month");return i}function Bn(e,t,n,r){"boolean"==typeof e?(a(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,a(t)&&(n=t,t=void 0),t=t||"");var i=nt(),o=e?i._week.dow:0;if(null!=n)return Un(t,(n+o)%7,r,"day");var s,l=[];for(s=0;s<7;s++)l[s]=Un(t,(s+o)%7,r,"day");return l}function Wn(e,t){return Hn(e,t,"months")}function Vn(e,t){return Hn(e,t,"monthsShort")}function Yn(e,t,n){return Bn(e,t,n,"weekdays")}function Gn(e,t,n){return Bn(e,t,n,"weekdaysShort")}function Zn(e,t,n){return Bn(e,t,n,"weekdaysMin")}function Kn(){var e=this._data;return this._milliseconds=zi(this._milliseconds),this._days=zi(this._days),this._months=zi(this._months),e.milliseconds=zi(e.milliseconds),e.seconds=zi(e.seconds),e.minutes=zi(e.minutes),e.hours=zi(e.hours),e.months=zi(e.months),e.years=zi(e.years),this}function Jn(e,t,n,r){var i=Rt(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function Qn(e,t){return Jn(this,e,t,1)}function Xn(e,t){return Jn(this,e,t,-1)}function er(e){return e<0?Math.floor(e):Math.ceil(e)}function tr(){var e,t,n,r,i,o=this._milliseconds,a=this._days,s=this._months,l=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*er(rr(s)+a),a=0,s=0),l.milliseconds=o%1e3,e=_(o/1e3),l.seconds=e%60,t=_(e/60),l.minutes=t%60,n=_(t/60),l.hours=n%24,a+=_(n/24),i=_(nr(a)),s+=i,a-=er(rr(i)),r=_(s/12),s%=12,l.days=a,l.months=s,l.years=r,this}function nr(e){return 4800*e/146097}function rr(e){return 146097*e/4800}function ir(e){var t,n,r=this._milliseconds;if("month"===(e=q(e))||"year"===e)return t=this._days+r/864e5,n=this._months+nr(t),"month"===e?n:n/12;switch(t=this._days+Math.round(rr(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 or(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*x(this._months/12)}function ar(e){return function(){return this.as(e)}}function sr(e){return e=q(e),this[e+"s"]()}function lr(e){return function(){return this._data[e]}}function ur(){return _(this.days()/7)}function cr(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function fr(e,t,n){var r=Rt(e).abs(),i=Qi(r.as("s")),o=Qi(r.as("m")),a=Qi(r.as("h")),s=Qi(r.as("d")),l=Qi(r.as("M")),u=Qi(r.as("y")),c=i0,c[4]=n,cr.apply(null,c)}function dr(e){return void 0===e?Qi:"function"==typeof e&&(Qi=e,!0)}function pr(e,t){return void 0!==Xi[e]&&(void 0===t?Xi[e]:(Xi[e]=t,!0))}function hr(e){var t=this.localeData(),n=fr(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function mr(){var e,t,n,r=eo(this._milliseconds)/1e3,i=eo(this._days),o=eo(this._months);e=_(r/60),t=_(e/60),r%=60,e%=60,n=_(o/12),o%=12;var a=n,s=o,l=i,u=t,c=e,f=r,d=this.asSeconds();return d?(d<0?"-":"")+"P"+(a?a+"Y":"")+(s?s+"M":"")+(l?l+"D":"")+(u||c||f?"T":"")+(u?u+"H":"")+(c?c+"M":"")+(f?f+"S":""):"P0D"}var gr,vr;vr=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;r68?1900:2e3)};var ti=R("FullYear",!0);Y("w",["ww",2],"wo","week"),Y("W",["WW",2],"Wo","isoWeek"),z("week","w"),z("isoWeek","W"),P("week",5),P("isoWeek",5),Q("w",/\d\d?/),Q("ww",/\d\d?/,/\d\d/),Q("W",/\d\d?/),Q("WW",/\d\d?/,/\d\d/),re(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=x(e)});var ni={dow:0,doy:6};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"),z("day","d"),z("weekday","e"),z("isoWeekday","E"),P("day",11),P("weekday",11),P("isoWeekday",11),Q("d",/\d\d?/),Q("e",/\d\d?/),Q("E",/\d\d?/),Q("dd",function(e,t){return t.weekdaysMinRegex(e)}),Q("ddd",function(e,t){return t.weekdaysShortRegex(e)}),Q("dddd",function(e,t){return t.weekdaysRegex(e)}),re(["dd","ddd","dddd"],function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:p(n).invalidWeekday=e}),re(["d","e","E"],function(e,t,n,r){t[r]=x(e)});var ri="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),ii="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),oi="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ai=qr,si=qr,li=qr;Y("H",["HH",2],0,"hour"),Y("h",["hh",2],0,Be),Y("k",["kk",2],0,We),Y("hmm",0,0,function(){return""+Be.apply(this)+V(this.minutes(),2)}),Y("hmmss",0,0,function(){return""+Be.apply(this)+V(this.minutes(),2)+V(this.seconds(),2)}),Y("Hmm",0,0,function(){return""+this.hours()+V(this.minutes(),2)}),Y("Hmmss",0,0,function(){return""+this.hours()+V(this.minutes(),2)+V(this.seconds(),2)}),Ve("a",!0),Ve("A",!1),z("hour","h"),P("hour",13),Q("a",Ye),Q("A",Ye),Q("H",/\d\d?/),Q("h",/\d\d?/),Q("HH",/\d\d?/,/\d\d/),Q("hh",/\d\d?/,/\d\d/),Q("hmm",/\d\d\d\d?/),Q("hmmss",/\d\d\d\d\d\d?/),Q("Hmm",/\d\d\d\d?/),Q("Hmmss",/\d\d\d\d\d\d?/),ne(["H","HH"],Hr),ne(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ne(["h","hh"],function(e,t,n){t[Hr]=x(e),p(n).bigHour=!0}),ne("hmm",function(e,t,n){var r=e.length-2;t[Hr]=x(e.substr(0,r)),t[Br]=x(e.substr(r)),p(n).bigHour=!0}),ne("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[Hr]=x(e.substr(0,r)),t[Br]=x(e.substr(r,2)),t[Wr]=x(e.substr(i)),p(n).bigHour=!0}),ne("Hmm",function(e,t,n){var r=e.length-2;t[Hr]=x(e.substr(0,r)),t[Br]=x(e.substr(r))}),ne("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[Hr]=x(e.substr(0,r)),t[Br]=x(e.substr(r,2)),t[Wr]=x(e.substr(i))});var ui,ci=R("Hours",!0),fi={calendar:Cr,longDateFormat:Sr,invalidDate:"Invalid date",ordinal:"%d",ordinalParse:/\d{1,2}/,relativeTime:Er,months:Jr,monthsShort:Qr,week:ni,weekdays:ri,weekdaysMin:oi,weekdaysShort:ii,meridiemParse:/[ap]\.?m?\.?/i},di={},pi={},hi=/^\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)?)?$/,mi=/^\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)?)?$/,gi=/Z|[+-]\d\d(?::?\d\d)?/,vi=[["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}/]],yi=[["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/]],bi=/^\/?Date\((\-?\d+)/i;n.createFromInputFallback=$("value provided is not in a recognized ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),n.ISO_8601=function(){};var _i=$("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=bt.apply(null,arguments);return this.isValid()&&e.isValid()?ethis?this:e:m()}),wi=function(){return Date.now?Date.now():+new Date};St("Z",":"),St("ZZ",""),Q("Z",zr),Q("ZZ",zr),ne(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Et(zr,e)});var ki=/([\+\-]|\d\d)/gi;n.updateOffset=function(){};var $i=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Ci=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;Rt.fn=kt.prototype;var Si=Wt(1,"add"),Ei=Wt(-1,"subtract");n.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",n.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Ai=$("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}),En("gggg","weekYear"),En("ggggg","weekYear"),En("GGGG","isoWeekYear"),En("GGGGG","isoWeekYear"),z("weekYear","gg"),z("isoWeekYear","GG"),P("weekYear",1),P("isoWeekYear",1),Q("G",/[+-]?\d+/),Q("g",/[+-]?\d+/),Q("GG",/\d\d?/,/\d\d/),Q("gg",/\d\d?/,/\d\d/),Q("GGGG",/\d{1,4}/,/\d{4}/),Q("gggg",/\d{1,4}/,/\d{4}/),Q("GGGGG",/[+-]?\d{1,6}/,Fr),Q("ggggg",/[+-]?\d{1,6}/,Fr),re(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=x(e)}),re(["gg","GG"],function(e,t,r,i){t[i]=n.parseTwoDigitYear(e)}),Y("Q",0,"Qo","quarter"),z("quarter","Q"),P("quarter",7),Q("Q",/\d/),ne("Q",function(e,t){t[Rr]=3*(x(e)-1)}),Y("D",["DD",2],"Do","date"),z("date","D"),P("date",9),Q("D",/\d\d?/),Q("DD",/\d\d?/,/\d\d/),Q("Do",function(e,t){return e?t._ordinalParse:t._ordinalParseLenient}),ne(["D","DD"],Ur),ne("Do",function(e,t){t[Ur]=x(e.match(/\d\d?/)[0],10)});var Ti=R("Date",!0);Y("DDD",["DDDD",3],"DDDo","dayOfYear"),z("dayOfYear","DDD"),P("dayOfYear",4),Q("DDD",/\d{1,3}/),Q("DDDD",/\d{3}/),ne(["DDD","DDDD"],function(e,t,n){n._dayOfYear=x(e)}),Y("m",["mm",2],0,"minute"),z("minute","m"),P("minute",14),Q("m",/\d\d?/),Q("mm",/\d\d?/,/\d\d/),ne(["m","mm"],Br);var Mi=R("Minutes",!1);Y("s",["ss",2],0,"second"),z("second","s"),P("second",15),Q("s",/\d\d?/),Q("ss",/\d\d?/,/\d\d/),ne(["s","ss"],Wr);var Di=R("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()}),z("millisecond","ms"),P("millisecond",16),Q("S",/\d{1,3}/,/\d/),Q("SS",/\d{1,3}/,/\d\d/),Q("SSS",/\d{1,3}/,/\d{3}/);var Li;for(Li="SSSS";Li.length<=9;Li+="S")Q(Li,/\d+/);for(Li="S";Li.length<=9;Li+="S")ne(Li,zn);var Oi=R("Milliseconds",!1);Y("z",0,0,"zoneAbbr"),Y("zz",0,0,"zoneName");var Fi=y.prototype;Fi.add=Si,Fi.calendar=Gt,Fi.clone=Zt,Fi.diff=nn,Fi.endOf=gn,Fi.format=ln,Fi.from=un,Fi.fromNow=cn,Fi.to=fn,Fi.toNow=dn,Fi.get=B,Fi.invalidAt=Cn,Fi.isAfter=Kt,Fi.isBefore=Jt,Fi.isBetween=Qt,Fi.isSame=Xt,Fi.isSameOrAfter=en,Fi.isSameOrBefore=tn,Fi.isValid=kn,Fi.lang=Ai,Fi.locale=pn,Fi.localeData=hn,Fi.max=xi,Fi.min=_i,Fi.parsingFlags=$n,Fi.set=W,Fi.startOf=mn,Fi.subtract=Ei,Fi.toArray=_n,Fi.toObject=xn,Fi.toDate=bn,Fi.toISOString=an,Fi.inspect=sn,Fi.toJSON=wn,Fi.toString=on,Fi.unix=yn,Fi.valueOf=vn,Fi.creationData=Sn,Fi.year=ti,Fi.isLeapYear=ye,Fi.weekYear=An,Fi.isoWeekYear=Tn,Fi.quarter=Fi.quarters=Fn,Fi.month=fe,Fi.daysInMonth=de,Fi.week=Fi.weeks=Ae,Fi.isoWeek=Fi.isoWeeks=Te,Fi.weeksInYear=Dn,Fi.isoWeeksInYear=Mn,Fi.date=Ti,Fi.day=Fi.days=qe,Fi.weekday=Ie,Fi.isoWeekday=Pe,Fi.dayOfYear=Nn,Fi.hour=Fi.hours=ci,Fi.minute=Fi.minutes=Mi,Fi.second=Fi.seconds=Di,Fi.millisecond=Fi.milliseconds=Oi,Fi.utcOffset=Mt,Fi.utc=Lt,Fi.local=Ot,Fi.parseZone=Ft,Fi.hasAlignedHourOffset=Nt,Fi.isDST=zt,Fi.isLocal=It,Fi.isUtcOffset=Pt,Fi.isUtc=jt,Fi.isUTC=jt,Fi.zoneAbbr=qn,Fi.zoneName=In,Fi.dates=$("dates accessor is deprecated. Use date instead.",Ti),Fi.months=$("months accessor is deprecated. Use month instead",fe),Fi.years=$("years accessor is deprecated. Use year instead",ti),Fi.zone=$("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Dt),Fi.isDSTShifted=$("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",qt);var Ni=T.prototype;Ni.calendar=M,Ni.longDateFormat=D,Ni.invalidDate=L,Ni.ordinal=O,Ni.preparse=Rn,Ni.postformat=Rn,Ni.relativeTime=F,Ni.pastFuture=N,Ni.set=E,Ni.months=ae,Ni.monthsShort=se,Ni.monthsParse=ue,Ni.monthsRegex=he,Ni.monthsShortRegex=pe,Ni.week=Ce,Ni.firstDayOfYear=Ee,Ni.firstDayOfWeek=Se,Ni.weekdays=Le,Ni.weekdaysMin=Fe,Ni.weekdaysShort=Oe,Ni.weekdaysParse=ze,Ni.weekdaysRegex=je,Ni.weekdaysShortRegex=Re,Ni.weekdaysMinRegex=Ue,Ni.isPM=Ge,Ni.meridiem=Ze,Xe("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===x(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),n.lang=$("moment.lang is deprecated. Use moment.locale instead.",Xe),n.langData=$("moment.langData is deprecated. Use moment.localeData instead.",nt) -;var zi=Math.abs,qi=ar("ms"),Ii=ar("s"),Pi=ar("m"),ji=ar("h"),Ri=ar("d"),Ui=ar("w"),Hi=ar("M"),Bi=ar("y"),Wi=lr("milliseconds"),Vi=lr("seconds"),Yi=lr("minutes"),Gi=lr("hours"),Zi=lr("days"),Ki=lr("months"),Ji=lr("years"),Qi=Math.round,Xi={s:45,m:45,h:22,d:26,M:11},eo=Math.abs,to=kt.prototype;return to.abs=Kn,to.add=Qn,to.subtract=Xn,to.as=ir,to.asMilliseconds=qi,to.asSeconds=Ii,to.asMinutes=Pi,to.asHours=ji,to.asDays=Ri,to.asWeeks=Ui,to.asMonths=Hi,to.asYears=Bi,to.valueOf=or,to._bubble=tr,to.get=sr,to.milliseconds=Wi,to.seconds=Vi,to.minutes=Yi,to.hours=Gi,to.days=Zi,to.weeks=ur,to.months=Ki,to.years=Ji,to.humanize=hr,to.toISOString=mr,to.toString=mr,to.toJSON=mr,to.locale=pn,to.localeData=hn,to.toIsoString=$("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",mr),to.lang=Ai,Y("X",0,0,"unix"),Y("x",0,0,"valueOf"),Q("x",/[+-]?\d+/),Q("X",/[+-]?\d+(\.\d{1,3})?/),ne("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),ne("x",function(e,t,n){n._d=new Date(x(e))}),n.version="2.17.1",function(e){gr=e}(bt),n.fn=Fi,n.min=xt,n.max=wt,n.now=wi,n.utc=f,n.unix=Pn,n.months=Wn,n.isDate=s,n.locale=Xe,n.invalid=m,n.duration=Rt,n.isMoment=b,n.weekdays=Yn,n.parseZone=jn,n.localeData=nt,n.isDuration=$t,n.monthsShort=Vn,n.weekdaysMin=Zn,n.defineLocale=et,n.updateLocale=tt,n.locales=rt,n.weekdaysShort=Gn,n.normalizeUnits=q,n.relativeTimeRounding=dr,n.relativeTimeThreshold=pr,n.calendarFormat=Yt,n.prototype=Fi,n})},{}],127:[function(e,t,n){function r(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function o(e){if(f===setTimeout)return setTimeout(e,0);if((f===r||!f)&&setTimeout)return f=setTimeout,setTimeout(e,0);try{return f(e,0)}catch(t){try{return f.call(null,e,0)}catch(t){return f.call(this,e,0)}}}function a(e){if(d===clearTimeout)return clearTimeout(e);if((d===i||!d)&&clearTimeout)return d=clearTimeout,clearTimeout(e);try{return d(e)}catch(t){try{return d.call(null,e)}catch(t){return d.call(this,e)}}}function s(){g&&h&&(g=!1,h.length?m=h.concat(m):v=-1,m.length&&l())}function l(){if(!g){var e=o(s);g=!0;for(var t=m.length;t;){for(h=m,m=[];++v1)for(var n=1;n1&&(r=n[0]+"@",e=n[1]),e=e.replace(L,"."),r+o(e.split("."),t).join(".")}function s(e){for(var t,n,r=[],i=0,o=e.length;i=55296&&t<=56319&&i65535&&(e-=65536,t+=z(e>>>10&1023|55296),e=56320|1023&e),t+=z(e)}).join("")}function u(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:w}function c(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function f(e,t,n){var r=0;for(e=n?N(e/S):e>>1,e+=N(e/t);e>F*$>>1;r+=w)e=N(e/F);return N(r+(F+1)*e/(e+C))}function d(e){var t,n,r,o,a,s,c,d,p,h,m=[],g=e.length,v=0,y=A,b=E;for(n=e.lastIndexOf(T),n<0&&(n=0),r=0;r=128&&i("not-basic"),m.push(e.charCodeAt(r));for(o=n>0?n+1:0;o=g&&i("invalid-input"),d=u(e.charCodeAt(o++)),(d>=w||d>N((x-v)/s))&&i("overflow"),v+=d*s,p=c<=b?k:c>=b+$?$:c-b,!(dN(x/h)&&i("overflow"),s*=h;t=m.length+1,b=f(v-a,t,0==a),N(v/t)>x-y&&i("overflow"),y+=N(v/t),v%=t,m.splice(v++,0,y)}return l(m)}function p(e){var t,n,r,o,a,l,u,d,p,h,m,g,v,y,b,_=[];for(e=s(e),g=e.length,t=A,n=0,a=E,l=0;l=t&&mN((x-n)/v)&&i("overflow"),n+=(u-t)*v,t=u,l=0;lx&&i("overflow"),m==t){for(d=n,p=w;h=p<=a?k:p>=a+$?$:p-a,!(d= 0x80 (not a basic code point)","invalid-input":"Invalid input"},F=w-k,N=Math.floor,z=String.fromCharCode;if(b={version:"1.4.1",ucs2:{decode:s,encode:l},decode:d,encode:p,toASCII:m,toUnicode:h},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",function(){return b});else if(g&&v)if(t.exports==g)v.exports=b;else for(_ in b)b.hasOwnProperty(_)&&(g[_]=b[_]);else r.punycode=b}(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],129:[function(e,t,n){function r(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName)e.focus(),e.setSelectionRange(0,e.value.length),t=e.value;else{e.hasAttribute("contenteditable")&&e.focus();var n=window.getSelection(),r=document.createRange();r.selectNodeContents(e),n.removeAllRanges(),n.addRange(r),t=n.toString()}return t}t.exports=r},{}],130:[function(e,t,n){function r(){}r.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){function r(){i.off(e,r),t.apply(n,arguments)}var i=this;return r._=t,this.on(e,r,n)},emit:function(e){var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,i=n.length;for(r;r-1)return e.splice(n,1)}}function a(e,t){return ki.call(e,t)}function s(e){return"string"==typeof e||"number"==typeof e}function l(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}function u(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n}function c(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function f(e,t){for(var n in t)e[n]=t[n];return e}function d(e){return null!==e&&"object"==typeof e}function p(e){return Ei.call(e)===Ai}function h(e){for(var t={},n=0;n=0&&co[n].id>e.id;)n--;co.splice(Math.max(n,mo)+1,0,e)}else co.push(e);po||(po=!0,Vi(me))}}function ve(e){yo.clear(),ye(e,yo)}function ye(e,t){var n,r,i=Array.isArray(e);if((i||d(e))&&Object.isExtensible(e)){if(e.__ob__){var o=e.__ob__.dep.id;if(t.has(o))return;t.add(o)}if(i)for(n=e.length;n--;)ye(e[n],t);else for(r=Object.keys(e),n=r.length;n--;)ye(e[r[n]],t)}}function be(e,t,n){bo.get=function(){return this[t][n]},bo.set=function(e){this[t][n]=e},Object.defineProperty(e,n,bo)}function _e(e){e._watchers=[];var t=e.$options;t.props&&xe(e,t.props),t.methods&&Ee(e,t.methods),t.data?we(e):E(e._data={},!0),t.computed&&$e(e,t.computed),t.watch&&Ae(e,t.watch)}function xe(e,t){var n=e.$options.propsData||{},r=e._props={},i=e.$options._propKeys=[],o=!e.$parent;eo.shouldConvert=o;for(var a in t)!function(o){i.push(o);var a=P(o,t,n,e);A(r,o,a),o in e||be(e,"_props",o)}(a);eo.shouldConvert=!0}function we(e){var t=e.$options.data;t=e._data="function"==typeof t?ke(t,e):t||{},p(t)||(t={});for(var n=Object.keys(t),r=e.$options.props,i=n.length;i--;)r&&a(r,n[i])||b(n[i])||be(e,"_data",n[i]);E(t,!0)}function ke(e,t){try{return e.call(t)}catch(e){return H(e,t,"data()"),{}}}function $e(e,t){var n=e._computedWatchers=Object.create(null);for(var r in t){var i=t[r],o="function"==typeof i?i:i.get;n[r]=new vo(e,o,m,_o),r in e||Ce(e,r,i)}}function Ce(e,t,n){"function"==typeof n?(bo.get=Se(t),bo.set=m):(bo.get=n.get?!1!==n.cache?Se(t):n.get:m,bo.set=n.set?n.set:m),Object.defineProperty(e,t,bo)}function Se(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),Zi.target&&t.depend(),t.value}}function Ee(e,t){e.$options.props;for(var n in t)e[n]=null==t[n]?m:u(t[n],e)}function Ae(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var i=0;i-1:e instanceof RegExp&&e.test(t)}function pt(e,t){for(var n in e){var r=e[n];if(r){var i=ft(r.componentOptions);i&&!t(i)&&(ht(r),e[n]=null)}}}function ht(e){e&&(e.componentInstance._inactive||pe(e.componentInstance,"deactivated"),e.componentInstance.$destroy())}function mt(e){for(var t=e.data,n=e,r=e;r.componentInstance;)r=r.componentInstance._vnode,r.data&&(t=gt(r.data,t));for(;n=n.parent;)n.data&&(t=gt(t,n.data));return vt(t)}function gt(e,t){return{staticClass:yt(e.staticClass,t.staticClass),class:e.class?[e.class,t.class]:t.class}}function vt(e){var t=e.class,n=e.staticClass;return n||t?yt(n,bt(t)):""}function yt(e,t){return e?t?e+" "+t:e:t||""}function bt(e){var t="";if(!e)return t;if("string"==typeof e)return e;if(Array.isArray(e)){for(var n,r=0,i=e.length;r-1?Jo[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Jo[e]=/HTMLUnknownElement/.test(t.toString())}function wt(e){if("string"==typeof e){var t=document.querySelector(e);return t||document.createElement("div")}return e}function kt(e,t){var n=document.createElement(e);return"select"!==e?n:(t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)}function $t(e,t){return document.createElementNS(Vo[e],t)}function Ct(e){return document.createTextNode(e)}function St(e){return document.createComment(e)}function Et(e,t,n){e.insertBefore(t,n)}function At(e,t){e.removeChild(t)}function Tt(e,t){e.appendChild(t)}function Mt(e){return e.parentNode}function Dt(e){return e.nextSibling}function Lt(e){return e.tagName}function Ot(e,t){e.textContent=t}function Ft(e,t,n){e.setAttribute(t,n)}function Nt(e,t){var n=e.data.ref;if(n){var r=e.context,i=e.componentInstance||e.elm,a=r.$refs;t?Array.isArray(a[n])?o(a[n],i):a[n]===i&&(a[n]=void 0):e.data.refInFor?Array.isArray(a[n])&&a[n].indexOf(i)<0?a[n].push(i):a[n]=[i]:a[n]=i}}function zt(e){return void 0===e||null===e}function qt(e){return void 0!==e&&null!==e}function It(e){return!0===e}function Pt(e,t){return e.key===t.key&&e.tag===t.tag&&e.isComment===t.isComment&&qt(e.data)===qt(t.data)&&jt(e,t)}function jt(e,t){if("input"!==e.tag)return!0;var n;return(qt(n=e.data)&&qt(n=n.attrs)&&n.type)===(qt(n=t.data)&&qt(n=n.attrs)&&n.type)}function Rt(e,t,n){var r,i,o={};for(r=t;r<=n;++r)i=e[r].key,qt(i)&&(o[i]=r);return o}function Ut(e,t){(e.data.directives||t.data.directives)&&Ht(e,t)}function Ht(e,t){var n,r,i,o=e===ea,a=t===ea,s=Bt(e.data.directives,e.context),l=Bt(t.data.directives,t.context),u=[],c=[];for(n in l)r=s[n],i=l[n],r?(i.oldValue=r.value,Vt(i,"update",t,e),i.def&&i.def.componentUpdated&&c.push(i)):(Vt(i,"bind",t,e),i.def&&i.def.inserted&&u.push(i));if(u.length){var f=function(){for(var n=0;n=0&&" "===(g=e.charAt(m));m--);g&&sa.test(g)||(c=!0)}}else void 0===o?(h=i+1,o=e.slice(0,i).trim()):t();if(void 0===o?o=e.slice(0,i).trim():0!==h&&t(),a)for(i=0;i=To}function dn(e){return 34===e||39===e}function pn(e){var t=1;for(Oo=Lo;!fn();)if(e=cn(),dn(e))hn(e);else if(91===e&&t++,93===e&&t--,0===t){Fo=Lo;break}}function hn(e){for(var t=e;!fn()&&(e=cn())!==t;);}function mn(e,t,n){No=n;var r=t.value,i=t.modifiers,o=e.tag,a=e.attrsMap.type;if("select"===o)yn(e,r,i);else if("input"===o&&"checkbox"===a)gn(e,r,i);else if("input"===o&&"radio"===a)vn(e,r,i);else if("input"===o||"textarea"===o)bn(e,r,i);else if(!Di.isReservedTag(o))return sn(e,r,i),!1;return!0}function gn(e,t,n){var r=n&&n.number,i=on(e,"value")||"null",o=on(e,"true-value")||"true",a=on(e,"false-value")||"false";en(e,"checked","Array.isArray("+t+")?_i("+t+","+i+")>-1"+("true"===o?":("+t+")":":_q("+t+","+o+")")),rn(e,ua,"var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+a+");if(Array.isArray($$a)){var $$v="+(r?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$c){$$i<0&&("+t+"=$$a.concat($$v))}else{$$i>-1&&("+t+"=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{"+t+"=$$c}",null,!0)}function vn(e,t,n){var r=n&&n.number,i=on(e,"value")||"null";i=r?"_n("+i+")":i,en(e,"checked","_q("+t+","+i+")"),rn(e,ua,ln(t,i),null,!0)}function yn(e,t,n){var r=n&&n.number,i='Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(r?"_n(val)":"val")+"})",o="var $$selectedVal = "+i+";";o=o+" "+ln(t,"$event.target.multiple ? $$selectedVal : $$selectedVal[0]"),rn(e,"change",o,null,!0)}function bn(e,t,n){var r=e.attrsMap.type,i=n||{},o=i.lazy,a=i.number,s=i.trim,l=!o&&"range"!==r,u=o?"change":"range"===r?la:"input",c="$event.target.value";s&&(c="$event.target.value.trim()"),a&&(c="_n("+c+")");var f=ln(t,c);l&&(f="if($event.target.composing)return;"+f),en(e,"value","("+t+")"),rn(e,u,f,null,!0),(s||a||"number"===r)&&rn(e,"blur","$forceUpdate()")}function _n(e){var t;e[la]&&(t=qi?"change":"input",e[t]=[].concat(e[la],e[t]||[]),delete e[la]),e[ua]&&(t=Ui?"click":"change",e[t]=[].concat(e[ua],e[t]||[]),delete e[ua])}function xn(e,t,n,r){if(n){var i=t,o=zo;t=function(n){null!==(1===arguments.length?i(n):i.apply(null,arguments))&&wn(e,t,r,o)}}zo.addEventListener(e,t,r)}function wn(e,t,n,r){(r||zo).removeEventListener(e,t,n)}function kn(e,t){if(e.data.on||t.data.on){var n=t.data.on||{},r=e.data.on||{};zo=t.elm,_n(n),G(n,r,xn,wn,t.context)}}function $n(e,t){if(e.data.domProps||t.data.domProps){var n,r,i=t.elm,o=e.data.domProps||{},a=t.data.domProps||{};a.__ob__&&(a=t.data.domProps=f({},a));for(n in o)null==a[n]&&(i[n]="");for(n in a)if(r=a[n],"textContent"!==n&&"innerHTML"!==n||(t.children&&(t.children.length=0),r!==o[n]))if("value"===n){i._value=r;var s=null==r?"":String(r);Cn(i,t,s)&&(i.value=s)}else i[n]=r}}function Cn(e,t,n){return!e.composing&&("option"===t.tag||Sn(e,n)||En(e,n))}function Sn(e,t){return document.activeElement!==e&&e.value!==t}function En(e,t){var n=e.value,i=e._vModifiers;return i&&i.number||"number"===e.type?r(n)!==r(t):i&&i.trim?n.trim()!==t.trim():n!==t}function An(e){var t=Tn(e.style);return e.staticStyle?f(e.staticStyle,t):t}function Tn(e){return Array.isArray(e)?h(e):"string"==typeof e?da(e):e}function Mn(e,t){var n,r={};if(t)for(var i=e;i.componentInstance;)i=i.componentInstance._vnode,i.data&&(n=An(i.data))&&f(r,n);(n=An(e.data))&&f(r,n);for(var o=e;o=o.parent;)o.data&&(n=An(o.data))&&f(r,n);return r}function Dn(e,t){var n=t.data,r=e.data;if(n.staticStyle||n.style||r.staticStyle||r.style){var i,o,a=t.elm,s=e.data.staticStyle,l=e.data.style||{},u=s||l,c=Tn(t.data.style)||{};t.data.style=c.__ob__?f({},c):c;var d=Mn(t,!0);for(o in u)null==d[o]&&ma(a,o,"");for(o in d)(i=d[o])!==u[o]&&ma(a,o,null==i?"":i)}}function Ln(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(/\s+/).forEach(function(t){return e.classList.add(t)}):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function On(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(/\s+/).forEach(function(t){return e.classList.remove(t)}):e.classList.remove(t);else{for(var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");e.setAttribute("class",n.trim())}}function Fn(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&f(t,ba(e.name||"v")),f(t,e),t}return"string"==typeof e?ba(e):void 0}}function Nn(e){Ea(function(){Ea(e)})}function zn(e,t){(e._transitionClasses||(e._transitionClasses=[])).push(t),Ln(e,t)}function qn(e,t){e._transitionClasses&&o(e._transitionClasses,t),On(e,t)}function In(e,t,n){var r=Pn(e,t),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===xa?$a:Sa,l=0,u=function(){e.removeEventListener(s,c),n()},c=function(t){t.target===e&&++l>=a&&u()};setTimeout(function(){l0&&(n=xa,c=a,f=o.length):t===wa?u>0&&(n=wa,c=u,f=l.length):(c=Math.max(a,u),n=c>0?a>u?xa:wa:null,f=n?n===xa?o.length:l.length:0),{type:n,timeout:c,propCount:f,hasTransform:n===xa&&Aa.test(r[ka+"Property"])}}function jn(e,t){for(;e.length1}function Vn(e,t){t.data.show||Un(t)}function Yn(e,t,n){var r=t.value,i=e.multiple;if(!i||Array.isArray(r)){for(var o,a,s=0,l=e.options.length;s-1,a.selected!==o&&(a.selected=o);else if(g(Zn(a),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));i||(e.selectedIndex=-1)}}function Gn(e,t){for(var n=0,r=t.length;n=0&&a[i].lowerCasedTag!==s;i--);else i=0;if(i>=0){for(var l=a.length-1;l>=i;l--)t.end&&t.end(a[l].tag,n,r);a.length=i,o=i&&a[i-1].tag}else"br"===s?t.start&&t.start(e,[],!0,n,r):"p"===s&&(t.start&&t.start(e,[],!1,n,r),t.end&&t.end(e,n,r))}for(var i,o,a=[],s=t.expectHTML,l=t.isUnaryTag||Ti,u=t.canBeLeftOpenTag||Ti,c=0;e;){if(i=e,o&&_s(o)){var f=o.toLowerCase(),d=xs[f]||(xs[f]=new RegExp("([\\s\\S]*?)(]*>)","i")),p=0,h=e.replace(d,function(e,n,r){return p=r.length,_s(f)||"noscript"===f||(n=n.replace(//g,"$1").replace(//g,"$1")),t.chars&&t.chars(n),""});c+=e.length-h.length,e=h,r(f,c-p,c)}else{var m=e.indexOf("<");if(0===m){if(Xa.test(e)){var g=e.indexOf("--\x3e");if(g>=0){n(g+3);continue}}if(es.test(e)){var v=e.indexOf("]>");if(v>=0){n(v+2);continue}}var y=e.match(Qa);if(y){n(y[0].length);continue}var b=e.match(Ja);if(b){var _=c;n(b[0].length),r(b[1],_,c);continue}var x=function(){var t=e.match(Za);if(t){var r={tagName:t[1],attrs:[],start:c};n(t[0].length);for(var i,o;!(i=e.match(Ka))&&(o=e.match(Ya));)n(o[0].length),r.attrs.push(o);if(i)return r.unarySlash=i[1],n(i[0].length),r.end=c,r}}();if(x){!function(e){var n=e.tagName,i=e.unarySlash;s&&("p"===o&&Wa(n)&&r(o),u(n)&&o===n&&r(n));for(var c=l(n)||"html"===n&&"head"===o||!!i,f=e.attrs.length,d=new Array(f),p=0;p=0){for(k=e.slice(m);!(Ja.test(k)||Za.test(k)||Xa.test(k)||es.test(k)||($=k.indexOf("<",1))<0);)m+=$,k=e.slice(m);w=e.substring(0,m),n(m)}m<0&&(w=e,e=""),t.chars&&w&&t.chars(w)}if(e===i){t.chars&&t.chars(e);break}}r()}function fr(e,t){var n=t?Ss(t):Cs;if(n.test(e)){for(var r,i,o=[],a=n.lastIndex=0;r=n.exec(e);){i=r.index,i>a&&o.push(JSON.stringify(e.slice(a,i)));var s=Kt(r[1].trim());o.push("_s("+s+")"),a=i+r[0].length}return a0,Pi=zi&&zi.indexOf("edge/")>0,ji=zi&&zi.indexOf("android")>0,Ri=zi&&/iphone|ipad|ipod|ios/.test(zi),Ui=zi&&/chrome\/\d+/.test(zi)&&!Pi,Hi=function(){return void 0===_i&&(_i=!Ni&&void 0!==e&&"server"===e.process.env.VUE_ENV),_i},Bi=Ni&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,Wi="undefined"!=typeof Symbol&&w(Symbol)&&"undefined"!=typeof Reflect&&w(Reflect.ownKeys),Vi=function(){function e(){r=!1;var e=n.slice(0);n.length=0;for(var t=0;t1?c(n):n;for(var r=c(arguments,1),i=0,o=n.length;i1&&(t[n[0].trim()]=n[1].trim())}}),t}),pa=/^--/,ha=/\s*!important$/,ma=function(e,t,n){pa.test(t)?e.style.setProperty(t,n):ha.test(n)?e.style.setProperty(t,n.replace(ha,""),"important"):e.style[va(t)]=n},ga=["Webkit","Moz","ms"],va=l(function(e){if(qo=qo||document.createElement("div"),"filter"!==(e=$i(e))&&e in qo.style)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=0;nd?(u=zt(n[g+1])?null:n[g+1].elm,m(e,u,n,f,g,r)):f>g&&v(e,t,c,d)}function _(e,t,n,r){if(e!==t){if(It(t.isStatic)&&It(e.isStatic)&&t.key===e.key&&(It(t.isCloned)||It(t.isOnce)))return t.elm=e.elm,void(t.componentInstance=e.componentInstance);var i,o=t.data;qt(o)&&qt(i=o.hook)&&qt(i=i.prepatch)&&i(e,t);var a=t.elm=e.elm,s=e.children,l=t.children;if(qt(o)&&d(t)){for(i=0;i',n.innerHTML.indexOf(t)>0}("\n"," "),Ha=i("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),Ba=i("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),Wa=i("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),Va=[/"([^"]*)"+/.source,/'([^']*)'+/.source,/([^\s"'=<>`]+)/.source],Ya=new RegExp("^\\s*"+/([^\s"'<>\/=]+)/.source+"(?:\\s*("+/(?:=)/.source+")\\s*(?:"+Va.join("|")+"))?"),Ga="[a-zA-Z_][\\w\\-\\.]*",Za=new RegExp("^<((?:"+Ga+"\\:)?"+Ga+")"),Ka=/^\s*(\/?)>/,Ja=new RegExp("^<\\/((?:"+Ga+"\\:)?"+Ga+")[^>]*>"),Qa=/^]+>/i,Xa=/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(i.source+"\\s*$"),/^$/,!1]];t.exports=function(e,t,n,r){var i,a,s,l,c=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(c))return!1;for(l=e.src.slice(c,u),i=0;i=4)return!1;for(d=e.parentType,e.parentType="paragraph";p3)){if(e.sCount[p]>=e.blkIndent&&(l=e.bMarks[p]+e.tShift[p],c=e.eMarks[p],l=c))){u=61===f?1:2;break}if(!(e.sCount[p]<0)){for(i=!1,o=0,a=h.length;o=o)return-1;if((n=e.src.charCodeAt(i++))<48||n>57)return-1;for(;;){if(i>=o)return-1;n=e.src.charCodeAt(i++);{if(!(n>=48&&n<=57)){if(41===n||46===n)break;return-1}if(i-r>=10)return-1}}return i=4)return!1;if(s&&"paragraph"===e.parentType&&e.tShift[t]>=e.blkIndent&&(q=!0),(M=i(e,t))>=0){if(h=!0,L=e.bMarks[t]+e.tShift[t],_=Number(e.src.substr(L,M-L-1)),q&&1!==_)return!1}else{if(!((M=r(e,t))>=0))return!1;h=!1}if(q&&e.skipSpaces(M)>=e.eMarks[t])return!1;if(b=e.src.charCodeAt(M-1),s)return!0;for(y=e.tokens.length,h?(N=e.push("ordered_list_open","ol",1),1!==_&&(N.attrs=[["start",_]])):N=e.push("bullet_list_open","ul",1),N.map=v=[t,0],N.markup=String.fromCharCode(b),w=t,D=!1,F=e.md.block.ruler.getRules("list"),S=e.parentType,e.parentType="list";w=x?1:k-p,d>4&&(d=1),f=p+d,N=e.push("list_item_open","li",1),N.markup=String.fromCharCode(b),N.map=m=[t,0],$=e.blkIndent,A=e.tight,E=e.tShift[t],C=e.sCount[t],e.blkIndent=f,e.tight=!0,e.tShift[t]=c-e.bMarks[t],e.sCount[t]=k,c>=x&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,t,n,!0),e.tight&&!D||(z=!1),D=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=$,e.tShift[t]=E,e.sCount[t]=C,e.tight=A,N=e.push("list_item_close","li",-1),N.markup=String.fromCharCode(b),w=t=e.line,m[1]=w,c=e.bMarks[t],w>=n)break;if(e.sCount[w]3||e.sCount[l]<0)){for(r=!1,i=0,o=c.length;i=4)return!1;if(91!==e.src.charCodeAt(k))return!1;for(;++k<$;)if(93===e.src.charCodeAt(k)&&92!==e.src.charCodeAt(k-1)){if(k+1===$)return!1;if(58!==e.src.charCodeAt(k+1))return!1;break}for(c=e.lineMax,_=e.md.block.ruler.getRules("reference"),m=e.parentType,e.parentType="reference";C3||e.sCount[C]<0)){for(b=!1,f=0,d=_.length;f0&&this.level++,this.tokens.push(r),r},r.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},r.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;et;)if(!o(this.src.charCodeAt(--e)))return e+1;return e},r.prototype.skipChars=function(e,t){for(var n=this.src.length;en;)if(t!==this.src.charCodeAt(--e))return e+1;return e},r.prototype.getLines=function(e,t,n,r){var i,a,s,l,c,u,f,d=e;if(e>=t)return"";for(u=new Array(t-e),i=0;dn?new Array(a-n+1).join(" ")+this.src.slice(l,c):this.src.slice(l,c)}return u.join("")},r.prototype.Token=i,t.exports=r},{"../common/utils":72,"../token":119}],97:[function(e,t,n){"use strict";function r(e,t){var n=e.bMarks[t]+e.blkIndent,r=e.eMarks[t];return e.src.substr(n,r-n)}function i(e){var t,n=[],r=0,i=e.length,o=0,a=0,s=!1,l=0;for(t=e.charCodeAt(r);rn)return!1;if(f=t+1,e.sCount[f]=4)return!1;if((c=e.bMarks[f]+e.tShift[f])>=e.eMarks[f])return!1;if(124!==(s=e.src.charCodeAt(c++))&&45!==s&&58!==s)return!1;for(;c=4)return!1;if(d=i(l.replace(/^\||\|$/g,"")),(p=d.length)>m.length)return!1;if(a)return!0;for(h=e.push("table_open","table",1),h.map=v=[t,0],h=e.push("thead_open","thead",1),h.map=[t,t+1],h=e.push("tr_open","tr",1),h.map=[t,t+1],u=0;u=4);f++){for(d=i(l.replace(/^\||\|$/g,"")),h=e.push("tr_open","tr",1),u=0;u\s]/i.test(e)}function i(e){return/^<\/a\s*>/i.test(e)}var o=e("../common/utils").arrayReplaceAt;t.exports=function(e){var t,n,a,s,l,c,u,f,d,p,h,m,g,v,y,b,_,x=e.tokens;if(e.md.options.linkify)for(n=0,a=x.length;n=0;t--)if(c=s[t],"link_close"!==c.type){if("html_inline"===c.type&&(r(c.content)&&g>0&&g--,i(c.content)&&g++),!(g>0)&&"text"===c.type&&e.md.linkify.test(c.content)){for(d=c.content,_=e.md.linkify.match(d),u=[],m=c.level,h=0,f=0;f<_.length;f++)v=_[f].url,y=e.md.normalizeLink(v),e.md.validateLink(y)&&(b=_[f].text,b=_[f].schema?"mailto:"!==_[f].schema||/^mailto:/i.test(b)?e.md.normalizeLinkText(b):e.md.normalizeLinkText("mailto:"+b).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+b).replace(/^http:\/\//,""),p=_[f].index,p>h&&(l=new e.Token("text","",0),l.content=d.slice(h,p),l.level=m,u.push(l)),l=new e.Token("link_open","a",1),l.attrs=[["href",y]],l.level=m++,l.markup="linkify",l.info="auto",u.push(l),l=new e.Token("text","",0),l.content=b,l.level=m,u.push(l),l=new e.Token("link_close","a",-1),l.level=--m,l.markup="linkify",l.info="auto",u.push(l),h=_[f].lastIndex);h=0;t--)n=e[t],"text"!==n.type||i||(n.content=n.content.replace(l,r)),"link_open"===n.type&&"auto"===n.info&&i--,"link_close"===n.type&&"auto"===n.info&&i++}function o(e){var t,n,r=0;for(t=e.length-1;t>=0;t--)n=e[t],"text"!==n.type||r||a.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/gm,"$1—$2").replace(/(^|\s)--(\s|$)/gm,"$1–$2").replace(/(^|[^-\s])--([^-\s]|$)/gm,"$1–$2")),"link_open"===n.type&&"auto"===n.info&&r--,"link_close"===n.type&&"auto"===n.info&&r++}var a=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,s=/\((c|tm|r|p)\)/i,l=/\((c|tm|r|p)\)/gi,c={c:"©",r:"®",p:"§",tm:"™"};t.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&(s.test(e.tokens[t].content)&&i(e.tokens[t].children),a.test(e.tokens[t].content)&&o(e.tokens[t].children))}},{}],103:[function(e,t,n){"use strict";function r(e,t,n){return e.substr(0,t)+n+e.substr(t+1)}function i(e,t){var n,i,l,f,d,p,h,m,g,v,y,b,_,x,w,k,$,C,S,E,A;for(S=[],n=0;n=0&&!(S[$].level<=h);$--);if(S.length=$+1,"text"===i.type){l=i.content,d=0,p=l.length;e:for(;d=0)g=l.charCodeAt(f.index-1);else for($=n-1;$>=0;$--)if("text"===e[$].type){g=e[$].content.charCodeAt(e[$].content.length-1);break}if(v=32,d=48&&g<=57&&(k=w=!1),w&&k&&(w=!1,k=b),w||k){if(k)for($=S.length-1;$>=0&&(m=S[$],!(S[$].level=0;t--)"inline"===e.tokens[t].type&&l.test(e.tokens[t].content)&&i(e.tokens[t].children,e)}},{"../common/utils":72}],104:[function(e,t,n){"use strict";function r(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}var i=e("../token");r.prototype.Token=i,t.exports=r},{"../token":119}],105:[function(e,t,n){"use strict";var r=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,i=/^<([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)>/;t.exports=function(e,t){var n,o,a,s,l,c,u=e.pos;return 60===e.src.charCodeAt(u)&&(n=e.src.slice(u),!(n.indexOf(">")<0)&&(i.test(n)?(o=n.match(i),s=o[0].slice(1,-1),l=e.md.normalizeLink(s),!!e.md.validateLink(l)&&(t||(c=e.push("link_open","a",1),c.attrs=[["href",l]],c.markup="autolink",c.info="auto",c=e.push("text","",0),c.content=e.md.normalizeLinkText(s),c=e.push("link_close","a",-1),c.markup="autolink",c.info="auto"),e.pos+=o[0].length,!0)):!!r.test(n)&&(a=n.match(r),s=a[0].slice(1,-1),l=e.md.normalizeLink("mailto:"+s),!!e.md.validateLink(l)&&(t||(c=e.push("link_open","a",1),c.attrs=[["href",l]],c.markup="autolink",c.info="auto",c=e.push("text","",0),c.content=e.md.normalizeLinkText(s),c=e.push("link_close","a",-1),c.markup="autolink",c.info="auto"),e.pos+=a[0].length,!0))))}},{}],106:[function(e,t,n){"use strict";t.exports=function(e,t){var n,r,i,o,a,s,l=e.pos;if(96!==e.src.charCodeAt(l))return!1;for(n=l,l++,r=e.posMax;l=0;){if(i=o[n],i.open&&i.marker===r.marker&&i.end<0&&i.level===r.level){var s=(i.close||r.open)&&void 0!==i.length&&void 0!==r.length&&(i.length+r.length)%3==0;if(!s){r.jump=t-n,r.open=!1,i.end=t,i.jump=0;break}}n-=i.jump+1}}},{}],108:[function(e,t,n){"use strict";t.exports.tokenize=function(e,t){var n,r,i,o=e.pos,a=e.src.charCodeAt(o);if(t)return!1;if(95!==a&&42!==a)return!1;for(r=e.scanDelims(e.pos,42===a),n=0;n?@[]^_`{|}~-".split("").forEach(function(e){i[e.charCodeAt(0)]=1}),t.exports=function(e,t){var n,o=e.pos,a=e.posMax;if(92!==e.src.charCodeAt(o))return!1;if(++o=97&&t<=122}var i=e("../common/html_re").HTML_TAG_RE;t.exports=function(e,t){var n,o,a,s,l=e.pos;return!!e.md.options.html&&(a=e.posMax,!(60!==e.src.charCodeAt(l)||l+2>=a)&&(!(33!==(n=e.src.charCodeAt(l+1))&&63!==n&&47!==n&&!r(n))&&(!!(o=e.src.slice(l).match(i))&&(t||(s=e.push("html_inline","",0),s.content=e.src.slice(l,l+o[0].length)),e.pos+=o[0].length,!0))))}},{"../common/html_re":71}],112:[function(e,t,n){"use strict";var r=e("../common/utils").normalizeReference,i=e("../common/utils").isSpace;t.exports=function(e,t){var n,o,a,s,l,c,u,f,d,p,h,m,g,v="",y=e.pos,b=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(c=e.pos+2,(l=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((u=l+1)=b)return!1;for(g=u,d=e.md.helpers.parseLinkDestination(e.src,u,e.posMax),d.ok&&(v=e.md.normalizeLink(d.str),e.md.validateLink(v)?u=d.pos:v=""),g=u;u=b||41!==e.src.charCodeAt(u))return e.pos=y,!1;u++}else{if(void 0===e.env.references)return!1;if(u=0?s=e.src.slice(g,u++):u=l+1):u=l+1,s||(s=e.src.slice(c,l)),!(f=e.env.references[r(s)]))return e.pos=y,!1;v=f.href,p=f.title}return t||(a=e.src.slice(c,l),e.md.inline.parse(a,e.md,e.env,m=[]),h=e.push("image","img",0),h.attrs=n=[["src",v],["alt",""]],h.children=m,h.content=a,p&&n.push(["title",p])),e.pos=u,e.posMax=b,!0}},{"../common/utils":72}],113:[function(e,t,n){"use strict";var r=e("../common/utils").normalizeReference,i=e("../common/utils").isSpace;t.exports=function(e,t){var n,o,a,s,l,c,u,f,d,p,h="",m=e.pos,g=e.posMax,v=e.pos,y=!0;if(91!==e.src.charCodeAt(e.pos))return!1;if(l=e.pos+1,(s=e.md.helpers.parseLinkLabel(e,e.pos,!0))<0)return!1;if((c=s+1)=g)return!1;for(v=c,u=e.md.helpers.parseLinkDestination(e.src,c,e.posMax),u.ok&&(h=e.md.normalizeLink(u.str),e.md.validateLink(h)?c=u.pos:h=""),v=c;c=g||41!==e.src.charCodeAt(c))&&(y=!0),c++}if(y){if(void 0===e.env.references)return!1;if(c=0?a=e.src.slice(v,c++):c=s+1):c=s+1,a||(a=e.src.slice(l,s)),!(f=e.env.references[r(a)]))return e.pos=m,!1;h=f.href,d=f.title}return t||(e.pos=l,e.posMax=s,p=e.push("link_open","a",1),p.attrs=n=[["href",h]],d&&n.push(["title",d]),e.md.inline.tokenize(e),p=e.push("link_close","a",-1)),e.pos=c,e.posMax=g,!0}},{"../common/utils":72}],114:[function(e,t,n){"use strict";var r=e("../common/utils").isSpace;t.exports=function(e,t){var n,i,o=e.pos;if(10!==e.src.charCodeAt(o))return!1;for(n=e.pending.length-1,i=e.posMax,t||(n>=0&&32===e.pending.charCodeAt(n)?n>=1&&32===e.pending.charCodeAt(n-1)?(e.pending=e.pending.replace(/ +$/,""),e.push("hardbreak","br",0)):(e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0)):e.push("softbreak","br",0)),o++;o0&&this.level++,this.pendingLevel=this.level,this.tokens.push(r),r},r.prototype.scanDelims=function(e,t){var n,r,i,l,c,u,f,d,p,h=e,m=!0,g=!0,v=this.posMax,y=this.src.charCodeAt(e);for(n=e>0?this.src.charCodeAt(e-1):32;h=0&&(n=this.attrs[t][1]),n},r.prototype.attrJoin=function(e,t){var n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=this.attrs[n][1]+" "+t},t.exports=r},{}],120:[function(e,t,n){"use strict";function r(e){var t,n,r=o[e];if(r)return r;for(r=o[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),r.push(n);for(t=0;t=55296&&l<=57343?"���":String.fromCharCode(l),t+=6):240==(248&i)&&t+91114111?c+="����":(l-=65536,c+=String.fromCharCode(55296+(l>>10),56320+(1023&l))),t+=9):c+="�";return c})}var o={};i.defaultChars=";/?:@&=+$,#",i.componentChars="",t.exports=i},{}],121:[function(e,t,n){"use strict";function r(e){var t,n,r=o[e];if(r)return r;for(r=o[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),/^[0-9a-z]$/i.test(n)?r.push(n):r.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t=55296&&s<=57343){if(s>=55296&&s<=56319&&o+1=56320&&l<=57343){u+=encodeURIComponent(e[o]+e[o+1]),o++;continue}u+="%EF%BF%BD"}else u+=encodeURIComponent(e[o]);return u}var o={};i.defaultChars=";/?:@&=+$,-_.!~*'()#",i.componentChars="-_.!~*'()",t.exports=i},{}],122:[function(e,t,n){"use strict";t.exports=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""}},{}],123:[function(e,t,n){"use strict";t.exports.encode=e("./encode"),t.exports.decode=e("./decode"),t.exports.format=e("./format"),t.exports.parse=e("./parse")},{"./decode":120,"./encode":121,"./format":122,"./parse":124}],124:[function(e,t,n){"use strict";function r(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}function i(e,t){if(e&&e instanceof r)return e;var n=new r;return n.parse(e,t),n}var o=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,s=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,l=["<",">",'"',"`"," ","\r","\n","\t"],c=["{","}","|","\\","^","`"].concat(l),u=["'"].concat(c),f=["%","/","?",";","#"].concat(u),d=["/","?","#"],p={javascript:!0,"javascript:":!0},h={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};r.prototype.parse=function(e,t){var n,r,i,a,l,c=e;if(c=c.trim(),!t&&1===e.split("#").length){var u=s.exec(c);if(u)return this.pathname=u[1],u[2]&&(this.search=u[2]),this}var m=o.exec(c);if(m&&(m=m[0],i=m.toLowerCase(),this.protocol=m,c=c.substr(m.length)),(t||m||c.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(l="//"===c.substr(0,2))||m&&p[m]||(c=c.substr(2),this.slashes=!0)),!p[m]&&(l||m&&!h[m])){var g=-1;for(n=0;n127?k+="x":k+=w[$];if(!k.match(/^[+a-z0-9A-Z_-]{0,63}$/)){var S=x.slice(0,n),E=x.slice(n+1),A=w.match(/^([+a-z0-9A-Z_-]{0,63})(.*)$/);A&&(S.push(A[1]),E.unshift(A[2])),E.length&&(c=E.join(".")+c),this.hostname=S.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),_&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var T=c.indexOf("#");-1!==T&&(this.hash=c.substr(T),c=c.slice(0,T));var M=c.indexOf("?");return-1!==M&&(this.search=c.substr(M),c=c.slice(0,M)),c&&(this.pathname=c),h[i]&&this.hostname&&!this.pathname&&(this.pathname=""),this},r.prototype.parseHost=function(e){var t=a.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},t.exports=i},{}],125:[function(e,t,n){!function(r,i){"object"==typeof n&&void 0!==t&&"function"==typeof e?i(e("../moment")):"function"==typeof define&&define.amd?define(["../moment"],i):i(r.moment)}(this,function(e){"use strict";return e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{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"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})})},{"../moment":126}],126:[function(e,t,n){!function(e,r){"object"==typeof n&&void 0!==t?t.exports=r():"function"==typeof define&&define.amd?define(r):e.moment=r()}(this,function(){"use strict";function n(){return gr.apply(null,arguments)}function r(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function i(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function o(e){var t;for(t in e)return!1;return!0}function a(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function s(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function l(e,t){var n,r=[];for(n=0;n0)for(n in br)r=br[n],i=t[r],g(i)||(e[r]=i);return e}function y(e){v(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===_r&&(_r=!0,n.updateOffset(this),_r=!1)}function b(e){return e instanceof y||null!=e&&null!=e._isAMomentObject}function _(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function x(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=_(t)),n}function w(e,t,n){var r,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(r=0;r0?"future":"past"];return S(n)?n(t):n.replace(/%s/i,t)}function q(e,t){var n=e.toLowerCase();Ar[n]=Ar[n+"s"]=Ar[t]=e}function z(e){return"string"==typeof e?Ar[e]||Ar[e.toLowerCase()]:void 0}function I(e){var t,n,r={};for(n in e)c(e,n)&&(t=z(n))&&(r[t]=e[n]);return r}function P(e,t){Tr[e]=t}function j(e){var t=[];for(var n in e)t.push({unit:n,priority:Tr[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}function R(e,t){return function(r){return null!=r?(H(this,e,r),n.updateOffset(this,t),this):U(this,e)}}function U(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function H(e,t,n){e.isValid()&&e._d["set"+(e._isUTC?"UTC":"")+t](n)}function B(e){return e=z(e),S(this[e])?this[e]():this}function W(e,t){if("object"==typeof e){e=I(e);for(var n=j(e),r=0;r=0?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&&(Or[e]=i),t&&(Or[t[0]]=function(){return V(i.apply(this,arguments),t[1],t[2])}),n&&(Or[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function G(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function Z(e){var t,n,r=e.match(Mr);for(t=0,n=r.length;t=0&&Dr.test(e);)e=e.replace(Dr,n),Dr.lastIndex=0,r-=1;return e}function Q(e,t,n){Ir[e]=S(t)?t:function(e,r){return e&&n?n:t}}function X(e,t){return c(Ir,e)?Ir[e](t._strict,t._locale):new RegExp(ee(e))}function ee(e){return te(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i}))}function te(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function ne(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),a(t)&&(r=function(e,n){n[t]=x(e)}),n=0;n=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}function _e(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function xe(e,t,n){var r=7+t-n;return-(7+_e(e,0,r).getUTCDay()-t)%7+r-1}function we(e,t,n,r,i){var o,a,s=(7+n-r)%7,l=xe(e,r,i),c=1+7*(t-1)+s+l;return c<=0?(o=e-1,a=ge(o)+c):c>ge(e)?(o=e+1,a=c-ge(e)):(o=e,a=c),{year:o,dayOfYear:a}}function ke(e,t,n){var r,i,o=xe(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return a<1?(i=e.year()-1,r=a+$e(i,t,n)):a>$e(e.year(),t,n)?(r=a-$e(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function $e(e,t,n){var r=xe(e,t,n),i=xe(e+1,t,n);return(ge(e)-r+i)/7}function Ce(e){return ke(e,this._week.dow,this._week.doy).week}function Se(){return this._week.dow}function Ee(){return this._week.doy}function Ae(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Te(e){var t=ke(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Me(e,t){return"string"!=typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"==typeof e?e:null):parseInt(e,10)}function De(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Le(e,t){return e?r(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:this._weekdays}function Oe(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Fe(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Ne(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=f([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?(i=Zr.call(this._weekdaysParse,a),-1!==i?i:null):"ddd"===t?(i=Zr.call(this._shortWeekdaysParse,a),-1!==i?i:null):(i=Zr.call(this._minWeekdaysParse,a),-1!==i?i:null):"dddd"===t?-1!==(i=Zr.call(this._weekdaysParse,a))?i:-1!==(i=Zr.call(this._shortWeekdaysParse,a))?i:(i=Zr.call(this._minWeekdaysParse,a),-1!==i?i:null):"ddd"===t?-1!==(i=Zr.call(this._shortWeekdaysParse,a))?i:-1!==(i=Zr.call(this._weekdaysParse,a))?i:(i=Zr.call(this._minWeekdaysParse,a),-1!==i?i:null):-1!==(i=Zr.call(this._minWeekdaysParse,a))?i:-1!==(i=Zr.call(this._weekdaysParse,a))?i:(i=Zr.call(this._shortWeekdaysParse,a),-1!==i?i:null)}function qe(e,t,n){var r,i,o;if(this._weekdaysParseExact)return Ne.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=f([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 ze(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Me(e,this.localeData()),this.add(e-t,"d")):t}function Ie(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 Pe(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=De(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function je(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||He.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(c(this,"_weekdaysRegex")||(this._weekdaysRegex=ai),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Re(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||He.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(c(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=si),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Ue(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||He.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(c(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=li),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function He(){function e(e,t){return t.length-e.length}var t,n,r,i,o,a=[],s=[],l=[],c=[];for(t=0;t<7;t++)n=f([2e3,1]).day(t),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),o=this.weekdays(n,""),a.push(r),s.push(i),l.push(o),c.push(r),c.push(i),c.push(o);for(a.sort(e),s.sort(e),l.sort(e),c.sort(e),t=0;t<7;t++)s[t]=te(s[t]),l[t]=te(l[t]),c[t]=te(c[t]);this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Be(){return this.hours()%12||12}function We(){ +return this.hours()||24}function Ve(e,t){Y(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function Ye(e,t){return t._meridiemParse}function Ge(e){return"p"===(e+"").toLowerCase().charAt(0)}function Ze(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}function Ke(e){return e?e.toLowerCase().replace("_","-"):e}function Je(e){for(var t,n,r,i,o=0;o0;){if(r=Qe(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&w(i,n,!0)>=t-1)break;t--}o++}return null}function Qe(n){var r=null;if(!di[n]&&void 0!==t&&t&&t.exports)try{r=ci._abbr,e("./locale/"+n),Xe(r)}catch(e){}return di[n]}function Xe(e,t){var n;return e&&(n=g(t)?nt(e):et(e,t))&&(ci=n),ci._abbr}function et(e,t){if(null!==t){var n=fi;if(t.abbr=e,null!=di[e])C("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=di[e]._config;else if(null!=t.parentLocale){if(null==di[t.parentLocale])return pi[t.parentLocale]||(pi[t.parentLocale]=[]),pi[t.parentLocale].push({name:e,config:t}),null;n=di[t.parentLocale]._config}return di[e]=new T(A(n,t)),pi[e]&&pi[e].forEach(function(e){et(e.name,e.config)}),Xe(e),di[e]}return delete di[e],null}function tt(e,t){if(null!=t){var n,r=fi;null!=di[e]&&(r=di[e]._config),t=A(r,t),n=new T(t),n.parentLocale=di[e],di[e]=n,Xe(e)}else null!=di[e]&&(null!=di[e].parentLocale?di[e]=di[e].parentLocale:null!=di[e]&&delete di[e]);return di[e]}function nt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return ci;if(!r(e)){if(t=Qe(e))return t;e=[e]}return Je(e)}function rt(){return $r(di)}function it(e){var t,n=e._a;return n&&-2===p(e).overflow&&(t=n[Rr]<0||n[Rr]>11?Rr:n[Ur]<1||n[Ur]>oe(n[jr],n[Rr])?Ur:n[Hr]<0||n[Hr]>24||24===n[Hr]&&(0!==n[Br]||0!==n[Wr]||0!==n[Vr])?Hr:n[Br]<0||n[Br]>59?Br:n[Wr]<0||n[Wr]>59?Wr:n[Vr]<0||n[Vr]>999?Vr:-1,p(e)._overflowDayOfYear&&(tUr)&&(t=Ur),p(e)._overflowWeeks&&-1===t&&(t=Yr),p(e)._overflowWeekday&&-1===t&&(t=Gr),p(e).overflow=t),e}function ot(e){var t,n,r,i,o,a,s=e._i,l=hi.exec(s)||mi.exec(s);if(l){for(p(e).iso=!0,t=0,n=vi.length;tge(i)&&(p(e)._overflowDayOfYear=!0),n=_e(i,0,e._dayOfYear),e._a[Rr]=n.getUTCMonth(),e._a[Ur]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=o[t]=r[t];for(;t<7;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Hr]&&0===e._a[Br]&&0===e._a[Wr]&&0===e._a[Vr]&&(e._nextDay=!0,e._a[Hr]=0),e._d=(e._useUTC?_e:be).apply(null,o),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Hr]=24)}}function ut(e){var t,n,r,i,o,a,s,l;if(t=e._w,null!=t.GG||null!=t.W||null!=t.E)o=1,a=4,n=st(t.GG,e._a[jr],ke(bt(),1,4).year),r=st(t.W,1),((i=st(t.E,1))<1||i>7)&&(l=!0);else{o=e._locale._week.dow,a=e._locale._week.doy;var c=ke(bt(),o,a);n=st(t.gg,e._a[jr],c.year),r=st(t.w,c.week),null!=t.d?((i=t.d)<0||i>6)&&(l=!0):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(l=!0)):i=o}r<1||r>$e(n,o,a)?p(e)._overflowWeeks=!0:null!=l?p(e)._overflowWeekday=!0:(s=we(n,r,i,o,a),e._a[jr]=s.year,e._dayOfYear=s.dayOfYear)}function ft(e){if(e._f===n.ISO_8601)return void ot(e);e._a=[],p(e).empty=!0;var t,r,i,o,a,s=""+e._i,l=s.length,c=0;for(i=J(e._f,e._locale).match(Mr)||[],t=0;t0&&p(e).unusedInput.push(a),s=s.slice(s.indexOf(r)+r.length),c+=r.length),Or[o]?(r?p(e).empty=!1:p(e).unusedTokens.push(o),ie(o,r,e)):e._strict&&!r&&p(e).unusedTokens.push(o);p(e).charsLeftOver=l-c,s.length>0&&p(e).unusedInput.push(s),e._a[Hr]<=12&&!0===p(e).bigHour&&e._a[Hr]>0&&(p(e).bigHour=void 0),p(e).parsedDateParts=e._a.slice(0),p(e).meridiem=e._meridiem,e._a[Hr]=dt(e._locale,e._a[Hr],e._meridiem),ct(e),it(e)}function dt(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(r=e.isPM(n),r&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function pt(e){var t,n,r,i,o;if(0===e._f.length)return p(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;ithis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function zt(){if(!g(this._isDSTShifted))return this._isDSTShifted;var e={};if(v(e,this),e=gt(e),e._a){var t=e._isUTC?f(e._a):bt(e._a);this._isDSTShifted=this.isValid()&&w(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function It(){return!!this.isValid()&&!this._isUTC}function Pt(){return!!this.isValid()&&this._isUTC}function jt(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function Rt(e,t){var n,r,i,o=e,s=null;return $t(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:a(e)?(o={},t?o[t]=e:o.milliseconds=e):(s=$i.exec(e))?(n="-"===s[1]?-1:1,o={y:0,d:x(s[Ur])*n,h:x(s[Hr])*n,m:x(s[Br])*n,s:x(s[Wr])*n,ms:x(Ct(1e3*s[Vr]))*n}):(s=Ci.exec(e))?(n="-"===s[1]?-1:1,o={y:Ut(s[2],n),M:Ut(s[3],n),w:Ut(s[4],n),d:Ut(s[5],n),h:Ut(s[6],n),m:Ut(s[7],n),s:Ut(s[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(i=Bt(bt(o.from),bt(o.to)),o={},o.ms=i.milliseconds,o.M=i.months),r=new kt(o),$t(e)&&c(e,"_locale")&&(r._locale=e._locale),r}function Ut(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Ht(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 Bt(e,t){var n;return e.isValid()&&t.isValid()?(t=At(t,e),e.isBefore(t)?n=Ht(e,t):(n=Ht(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Wt(e,t){return function(n,r){var i,o;return null===r||isNaN(+r)||(C(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),n="string"==typeof n?+n:n,i=Rt(n,r),Vt(this,i,e),this}}function Vt(e,t,r,i){var o=t._milliseconds,a=Ct(t._days),s=Ct(t._months);e.isValid()&&(i=null==i||i,o&&e._d.setTime(e._d.valueOf()+o*r),a&&H(e,"Date",U(e,"Date")+a*r),s&&ue(e,U(e,"Month")+s*r),i&&n.updateOffset(e,a||s))}function Yt(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Gt(e,t){var r=e||bt(),i=At(r,this).startOf("day"),o=n.calendarFormat(this,i)||"sameElse",a=t&&(S(t[o])?t[o].call(this,r):t[o]);return this.format(a||this.localeData().calendar(o,this,bt(r)))}function Zt(){return new y(this)}function Kt(e,t){var n=b(e)?e:bt(e);return!(!this.isValid()||!n.isValid())&&(t=z(g(t)?"millisecond":t),"millisecond"===t?this.valueOf()>n.valueOf():n.valueOf()o&&(t=o),On.call(this,e,t,n,r,i))}function On(e,t,n,r,i){var o=we(e,t,n,r,i),a=_e(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function Fn(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function Nn(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 qn(e,t){t[Vr]=x(1e3*("0."+e))}function zn(){return this._isUTC?"UTC":""}function In(){return this._isUTC?"Coordinated Universal Time":""}function Pn(e){return bt(1e3*e)}function jn(){return bt.apply(null,arguments).parseZone()}function Rn(e){return e}function Un(e,t,n,r){var i=nt(),o=f().set(r,t);return i[n](o,e)}function Hn(e,t,n){if(a(e)&&(t=e,e=void 0),e=e||"",null!=t)return Un(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=Un(e,r,n,"month");return i}function Bn(e,t,n,r){"boolean"==typeof e?(a(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,a(t)&&(n=t,t=void 0),t=t||"");var i=nt(),o=e?i._week.dow:0;if(null!=n)return Un(t,(n+o)%7,r,"day");var s,l=[];for(s=0;s<7;s++)l[s]=Un(t,(s+o)%7,r,"day");return l}function Wn(e,t){return Hn(e,t,"months")}function Vn(e,t){return Hn(e,t,"monthsShort")}function Yn(e,t,n){return Bn(e,t,n,"weekdays")}function Gn(e,t,n){return Bn(e,t,n,"weekdaysShort")}function Zn(e,t,n){return Bn(e,t,n,"weekdaysMin")}function Kn(){var e=this._data;return this._milliseconds=qi(this._milliseconds),this._days=qi(this._days),this._months=qi(this._months),e.milliseconds=qi(e.milliseconds),e.seconds=qi(e.seconds),e.minutes=qi(e.minutes),e.hours=qi(e.hours),e.months=qi(e.months),e.years=qi(e.years),this}function Jn(e,t,n,r){var i=Rt(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function Qn(e,t){return Jn(this,e,t,1)}function Xn(e,t){return Jn(this,e,t,-1)}function er(e){return e<0?Math.floor(e):Math.ceil(e)}function tr(){var e,t,n,r,i,o=this._milliseconds,a=this._days,s=this._months,l=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*er(rr(s)+a),a=0,s=0),l.milliseconds=o%1e3,e=_(o/1e3),l.seconds=e%60,t=_(e/60),l.minutes=t%60,n=_(t/60),l.hours=n%24,a+=_(n/24),i=_(nr(a)),s+=i,a-=er(rr(i)),r=_(s/12),s%=12,l.days=a,l.months=s,l.years=r,this}function nr(e){return 4800*e/146097}function rr(e){return 146097*e/4800}function ir(e){var t,n,r=this._milliseconds;if("month"===(e=z(e))||"year"===e)return t=this._days+r/864e5,n=this._months+nr(t),"month"===e?n:n/12;switch(t=this._days+Math.round(rr(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 or(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*x(this._months/12)}function ar(e){return function(){return this.as(e)}}function sr(e){return e=z(e),this[e+"s"]()}function lr(e){return function(){return this._data[e]}}function cr(){return _(this.days()/7)}function ur(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function fr(e,t,n){var r=Rt(e).abs(),i=Qi(r.as("s")),o=Qi(r.as("m")),a=Qi(r.as("h")),s=Qi(r.as("d")),l=Qi(r.as("M")),c=Qi(r.as("y")),u=i0,u[4]=n,ur.apply(null,u)}function dr(e){return void 0===e?Qi:"function"==typeof e&&(Qi=e,!0)}function pr(e,t){return void 0!==Xi[e]&&(void 0===t?Xi[e]:(Xi[e]=t,!0))}function hr(e){var t=this.localeData(),n=fr(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function mr(){var e,t,n,r=eo(this._milliseconds)/1e3,i=eo(this._days),o=eo(this._months);e=_(r/60),t=_(e/60),r%=60,e%=60,n=_(o/12),o%=12;var a=n,s=o,l=i,c=t,u=e,f=r,d=this.asSeconds();return d?(d<0?"-":"")+"P"+(a?a+"Y":"")+(s?s+"M":"")+(l?l+"D":"")+(c||u||f?"T":"")+(c?c+"H":"")+(u?u+"M":"")+(f?f+"S":""):"P0D"}var gr,vr;vr=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;r68?1900:2e3)};var ti=R("FullYear",!0);Y("w",["ww",2],"wo","week"),Y("W",["WW",2],"Wo","isoWeek"),q("week","w"),q("isoWeek","W"),P("week",5),P("isoWeek",5),Q("w",/\d\d?/),Q("ww",/\d\d?/,/\d\d/),Q("W",/\d\d?/),Q("WW",/\d\d?/,/\d\d/),re(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=x(e)});var ni={dow:0,doy:6};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"),q("day","d"),q("weekday","e"),q("isoWeekday","E"),P("day",11),P("weekday",11),P("isoWeekday",11),Q("d",/\d\d?/),Q("e",/\d\d?/),Q("E",/\d\d?/),Q("dd",function(e,t){return t.weekdaysMinRegex(e)}),Q("ddd",function(e,t){return t.weekdaysShortRegex(e)}),Q("dddd",function(e,t){return t.weekdaysRegex(e)}),re(["dd","ddd","dddd"],function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:p(n).invalidWeekday=e}),re(["d","e","E"],function(e,t,n,r){t[r]=x(e)});var ri="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),ii="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),oi="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ai=zr,si=zr,li=zr;Y("H",["HH",2],0,"hour"),Y("h",["hh",2],0,Be),Y("k",["kk",2],0,We),Y("hmm",0,0,function(){return""+Be.apply(this)+V(this.minutes(),2)}),Y("hmmss",0,0,function(){return""+Be.apply(this)+V(this.minutes(),2)+V(this.seconds(),2)}),Y("Hmm",0,0,function(){return""+this.hours()+V(this.minutes(),2)}),Y("Hmmss",0,0,function(){return""+this.hours()+V(this.minutes(),2)+V(this.seconds(),2)}),Ve("a",!0),Ve("A",!1),q("hour","h"),P("hour",13),Q("a",Ye),Q("A",Ye),Q("H",/\d\d?/),Q("h",/\d\d?/),Q("HH",/\d\d?/,/\d\d/),Q("hh",/\d\d?/,/\d\d/),Q("hmm",/\d\d\d\d?/),Q("hmmss",/\d\d\d\d\d\d?/),Q("Hmm",/\d\d\d\d?/),Q("Hmmss",/\d\d\d\d\d\d?/),ne(["H","HH"],Hr),ne(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ne(["h","hh"],function(e,t,n){t[Hr]=x(e),p(n).bigHour=!0}),ne("hmm",function(e,t,n){var r=e.length-2;t[Hr]=x(e.substr(0,r)),t[Br]=x(e.substr(r)),p(n).bigHour=!0}),ne("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[Hr]=x(e.substr(0,r)),t[Br]=x(e.substr(r,2)),t[Wr]=x(e.substr(i)),p(n).bigHour=!0}),ne("Hmm",function(e,t,n){var r=e.length-2;t[Hr]=x(e.substr(0,r)),t[Br]=x(e.substr(r))}),ne("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[Hr]=x(e.substr(0,r)),t[Br]=x(e.substr(r,2)),t[Wr]=x(e.substr(i))});var ci,ui=R("Hours",!0),fi={calendar:Cr,longDateFormat:Sr,invalidDate:"Invalid date",ordinal:"%d",ordinalParse:/\d{1,2}/,relativeTime:Er,months:Jr,monthsShort:Qr,week:ni,weekdays:ri,weekdaysMin:oi,weekdaysShort:ii,meridiemParse:/[ap]\.?m?\.?/i},di={},pi={},hi=/^\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)?)?$/,mi=/^\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)?)?$/,gi=/Z|[+-]\d\d(?::?\d\d)?/,vi=[["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}/]],yi=[["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/]],bi=/^\/?Date\((\-?\d+)/i;n.createFromInputFallback=$("value provided is not in a recognized ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),n.ISO_8601=function(){};var _i=$("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=bt.apply(null,arguments);return this.isValid()&&e.isValid()?ethis?this:e:m()}),wi=function(){return Date.now?Date.now():+new Date};St("Z",":"),St("ZZ",""),Q("Z",qr),Q("ZZ",qr),ne(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Et(qr,e)});var ki=/([\+\-]|\d\d)/gi;n.updateOffset=function(){};var $i=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Ci=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;Rt.fn=kt.prototype;var Si=Wt(1,"add"),Ei=Wt(-1,"subtract");n.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",n.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Ai=$("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}),En("gggg","weekYear"),En("ggggg","weekYear"),En("GGGG","isoWeekYear"),En("GGGGG","isoWeekYear"),q("weekYear","gg"),q("isoWeekYear","GG"),P("weekYear",1),P("isoWeekYear",1),Q("G",/[+-]?\d+/),Q("g",/[+-]?\d+/),Q("GG",/\d\d?/,/\d\d/),Q("gg",/\d\d?/,/\d\d/),Q("GGGG",/\d{1,4}/,/\d{4}/),Q("gggg",/\d{1,4}/,/\d{4}/),Q("GGGGG",/[+-]?\d{1,6}/,Fr),Q("ggggg",/[+-]?\d{1,6}/,Fr),re(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=x(e)}),re(["gg","GG"],function(e,t,r,i){t[i]=n.parseTwoDigitYear(e)}),Y("Q",0,"Qo","quarter"),q("quarter","Q"),P("quarter",7),Q("Q",/\d/),ne("Q",function(e,t){t[Rr]=3*(x(e)-1)}),Y("D",["DD",2],"Do","date"),q("date","D"),P("date",9),Q("D",/\d\d?/),Q("DD",/\d\d?/,/\d\d/),Q("Do",function(e,t){return e?t._ordinalParse:t._ordinalParseLenient}),ne(["D","DD"],Ur),ne("Do",function(e,t){t[Ur]=x(e.match(/\d\d?/)[0],10)});var Ti=R("Date",!0);Y("DDD",["DDDD",3],"DDDo","dayOfYear"),q("dayOfYear","DDD"),P("dayOfYear",4),Q("DDD",/\d{1,3}/),Q("DDDD",/\d{3}/),ne(["DDD","DDDD"],function(e,t,n){n._dayOfYear=x(e)}),Y("m",["mm",2],0,"minute"),q("minute","m"),P("minute",14),Q("m",/\d\d?/),Q("mm",/\d\d?/,/\d\d/),ne(["m","mm"],Br);var Mi=R("Minutes",!1);Y("s",["ss",2],0,"second"),q("second","s"),P("second",15),Q("s",/\d\d?/),Q("ss",/\d\d?/,/\d\d/),ne(["s","ss"],Wr);var Di=R("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()}),q("millisecond","ms"),P("millisecond",16),Q("S",/\d{1,3}/,/\d/),Q("SS",/\d{1,3}/,/\d\d/),Q("SSS",/\d{1,3}/,/\d{3}/);var Li;for(Li="SSSS";Li.length<=9;Li+="S")Q(Li,/\d+/);for(Li="S";Li.length<=9;Li+="S")ne(Li,qn);var Oi=R("Milliseconds",!1);Y("z",0,0,"zoneAbbr"),Y("zz",0,0,"zoneName");var Fi=y.prototype;Fi.add=Si,Fi.calendar=Gt,Fi.clone=Zt,Fi.diff=nn,Fi.endOf=gn,Fi.format=ln,Fi.from=cn,Fi.fromNow=un,Fi.to=fn,Fi.toNow=dn,Fi.get=B,Fi.invalidAt=Cn,Fi.isAfter=Kt,Fi.isBefore=Jt,Fi.isBetween=Qt,Fi.isSame=Xt,Fi.isSameOrAfter=en,Fi.isSameOrBefore=tn,Fi.isValid=kn,Fi.lang=Ai,Fi.locale=pn,Fi.localeData=hn,Fi.max=xi,Fi.min=_i,Fi.parsingFlags=$n,Fi.set=W,Fi.startOf=mn,Fi.subtract=Ei,Fi.toArray=_n,Fi.toObject=xn,Fi.toDate=bn,Fi.toISOString=an,Fi.inspect=sn,Fi.toJSON=wn,Fi.toString=on,Fi.unix=yn,Fi.valueOf=vn,Fi.creationData=Sn,Fi.year=ti,Fi.isLeapYear=ye,Fi.weekYear=An,Fi.isoWeekYear=Tn,Fi.quarter=Fi.quarters=Fn,Fi.month=fe,Fi.daysInMonth=de,Fi.week=Fi.weeks=Ae,Fi.isoWeek=Fi.isoWeeks=Te,Fi.weeksInYear=Dn,Fi.isoWeeksInYear=Mn,Fi.date=Ti,Fi.day=Fi.days=ze,Fi.weekday=Ie,Fi.isoWeekday=Pe,Fi.dayOfYear=Nn,Fi.hour=Fi.hours=ui,Fi.minute=Fi.minutes=Mi,Fi.second=Fi.seconds=Di,Fi.millisecond=Fi.milliseconds=Oi,Fi.utcOffset=Mt,Fi.utc=Lt,Fi.local=Ot,Fi.parseZone=Ft,Fi.hasAlignedHourOffset=Nt,Fi.isDST=qt,Fi.isLocal=It,Fi.isUtcOffset=Pt,Fi.isUtc=jt,Fi.isUTC=jt,Fi.zoneAbbr=zn,Fi.zoneName=In,Fi.dates=$("dates accessor is deprecated. Use date instead.",Ti),Fi.months=$("months accessor is deprecated. Use month instead",fe),Fi.years=$("years accessor is deprecated. Use year instead",ti),Fi.zone=$("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Dt),Fi.isDSTShifted=$("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",zt);var Ni=T.prototype;Ni.calendar=M,Ni.longDateFormat=D,Ni.invalidDate=L,Ni.ordinal=O,Ni.preparse=Rn,Ni.postformat=Rn,Ni.relativeTime=F,Ni.pastFuture=N,Ni.set=E,Ni.months=ae,Ni.monthsShort=se,Ni.monthsParse=ce,Ni.monthsRegex=he,Ni.monthsShortRegex=pe,Ni.week=Ce,Ni.firstDayOfYear=Ee,Ni.firstDayOfWeek=Se,Ni.weekdays=Le,Ni.weekdaysMin=Fe,Ni.weekdaysShort=Oe,Ni.weekdaysParse=qe,Ni.weekdaysRegex=je,Ni.weekdaysShortRegex=Re,Ni.weekdaysMinRegex=Ue,Ni.isPM=Ge,Ni.meridiem=Ze,Xe("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===x(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),n.lang=$("moment.lang is deprecated. Use moment.locale instead.",Xe),n.langData=$("moment.langData is deprecated. Use moment.localeData instead.",nt) +;var qi=Math.abs,zi=ar("ms"),Ii=ar("s"),Pi=ar("m"),ji=ar("h"),Ri=ar("d"),Ui=ar("w"),Hi=ar("M"),Bi=ar("y"),Wi=lr("milliseconds"),Vi=lr("seconds"),Yi=lr("minutes"),Gi=lr("hours"),Zi=lr("days"),Ki=lr("months"),Ji=lr("years"),Qi=Math.round,Xi={s:45,m:45,h:22,d:26,M:11},eo=Math.abs,to=kt.prototype;return to.abs=Kn,to.add=Qn,to.subtract=Xn,to.as=ir,to.asMilliseconds=zi,to.asSeconds=Ii,to.asMinutes=Pi,to.asHours=ji,to.asDays=Ri,to.asWeeks=Ui,to.asMonths=Hi,to.asYears=Bi,to.valueOf=or,to._bubble=tr,to.get=sr,to.milliseconds=Wi,to.seconds=Vi,to.minutes=Yi,to.hours=Gi,to.days=Zi,to.weeks=cr,to.months=Ki,to.years=Ji,to.humanize=hr,to.toISOString=mr,to.toString=mr,to.toJSON=mr,to.locale=pn,to.localeData=hn,to.toIsoString=$("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",mr),to.lang=Ai,Y("X",0,0,"unix"),Y("x",0,0,"valueOf"),Q("x",/[+-]?\d+/),Q("X",/[+-]?\d+(\.\d{1,3})?/),ne("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),ne("x",function(e,t,n){n._d=new Date(x(e))}),n.version="2.17.1",function(e){gr=e}(bt),n.fn=Fi,n.min=xt,n.max=wt,n.now=wi,n.utc=f,n.unix=Pn,n.months=Wn,n.isDate=s,n.locale=Xe,n.invalid=m,n.duration=Rt,n.isMoment=b,n.weekdays=Yn,n.parseZone=jn,n.localeData=nt,n.isDuration=$t,n.monthsShort=Vn,n.weekdaysMin=Zn,n.defineLocale=et,n.updateLocale=tt,n.locales=rt,n.weekdaysShort=Gn,n.normalizeUnits=z,n.relativeTimeRounding=dr,n.relativeTimeThreshold=pr,n.calendarFormat=Yt,n.prototype=Fi,n})},{}],127:[function(e,t,n){function r(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function o(e){if(f===setTimeout)return setTimeout(e,0);if((f===r||!f)&&setTimeout)return f=setTimeout,setTimeout(e,0);try{return f(e,0)}catch(t){try{return f.call(null,e,0)}catch(t){return f.call(this,e,0)}}}function a(e){if(d===clearTimeout)return clearTimeout(e);if((d===i||!d)&&clearTimeout)return d=clearTimeout,clearTimeout(e);try{return d(e)}catch(t){try{return d.call(null,e)}catch(t){return d.call(this,e)}}}function s(){g&&h&&(g=!1,h.length?m=h.concat(m):v=-1,m.length&&l())}function l(){if(!g){var e=o(s);g=!0;for(var t=m.length;t;){for(h=m,m=[];++v1)for(var n=1;n1&&(r=n[0]+"@",e=n[1]),e=e.replace(L,"."),r+o(e.split("."),t).join(".")}function s(e){for(var t,n,r=[],i=0,o=e.length;i=55296&&t<=56319&&i65535&&(e-=65536,t+=q(e>>>10&1023|55296),e=56320|1023&e),t+=q(e)}).join("")}function c(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:w}function u(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function f(e,t,n){var r=0;for(e=n?N(e/S):e>>1,e+=N(e/t);e>F*$>>1;r+=w)e=N(e/F);return N(r+(F+1)*e/(e+C))}function d(e){var t,n,r,o,a,s,u,d,p,h,m=[],g=e.length,v=0,y=A,b=E;for(n=e.lastIndexOf(T),n<0&&(n=0),r=0;r=128&&i("not-basic"),m.push(e.charCodeAt(r));for(o=n>0?n+1:0;o=g&&i("invalid-input"),d=c(e.charCodeAt(o++)),(d>=w||d>N((x-v)/s))&&i("overflow"),v+=d*s,p=u<=b?k:u>=b+$?$:u-b,!(dN(x/h)&&i("overflow"),s*=h;t=m.length+1,b=f(v-a,t,0==a),N(v/t)>x-y&&i("overflow"),y+=N(v/t),v%=t,m.splice(v++,0,y)}return l(m)}function p(e){var t,n,r,o,a,l,c,d,p,h,m,g,v,y,b,_=[];for(e=s(e),g=e.length,t=A,n=0,a=E,l=0;l=t&&mN((x-n)/v)&&i("overflow"),n+=(c-t)*v,t=c,l=0;lx&&i("overflow"),m==t){for(d=n,p=w;h=p<=a?k:p>=a+$?$:p-a,!(d= 0x80 (not a basic code point)","invalid-input":"Invalid input"},F=w-k,N=Math.floor,q=String.fromCharCode;if(b={version:"1.4.1",ucs2:{decode:s,encode:l},decode:d,encode:p,toASCII:m,toUnicode:h},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",function(){return b});else if(g&&v)if(t.exports==g)v.exports=b;else for(_ in b)b.hasOwnProperty(_)&&(g[_]=b[_]);else r.punycode=b}(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],129:[function(e,t,n){function r(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName)e.focus(),e.setSelectionRange(0,e.value.length),t=e.value;else{e.hasAttribute("contenteditable")&&e.focus();var n=window.getSelection(),r=document.createRange();r.selectNodeContents(e),n.removeAllRanges(),n.addRange(r),t=n.toString()}return t}t.exports=r},{}],130:[function(e,t,n){function r(){}r.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){function r(){i.off(e,r),t.apply(n,arguments)}var i=this;return r._=t,this.on(e,r,n)},emit:function(e){var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,i=n.length;for(r;r-1)return e.splice(n,1)}}function a(e,t){return ki.call(e,t)}function s(e){return"string"==typeof e||"number"==typeof e}function l(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}function c(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n}function u(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function f(e,t){for(var n in t)e[n]=t[n];return e}function d(e){return null!==e&&"object"==typeof e}function p(e){return Ei.call(e)===Ai}function h(e){for(var t={},n=0;n=0&&uo[n].id>e.id;)n--;uo.splice(Math.max(n,mo)+1,0,e)}else uo.push(e);po||(po=!0,Vi(me))}}function ve(e){yo.clear(),ye(e,yo)}function ye(e,t){var n,r,i=Array.isArray(e);if((i||d(e))&&Object.isExtensible(e)){if(e.__ob__){var o=e.__ob__.dep.id;if(t.has(o))return;t.add(o)}if(i)for(n=e.length;n--;)ye(e[n],t);else for(r=Object.keys(e),n=r.length;n--;)ye(e[r[n]],t)}}function be(e,t,n){bo.get=function(){return this[t][n]},bo.set=function(e){this[t][n]=e},Object.defineProperty(e,n,bo)}function _e(e){e._watchers=[];var t=e.$options;t.props&&xe(e,t.props),t.methods&&Ee(e,t.methods),t.data?we(e):E(e._data={},!0),t.computed&&$e(e,t.computed),t.watch&&Ae(e,t.watch)}function xe(e,t){var n=e.$options.propsData||{},r=e._props={},i=e.$options._propKeys=[],o=!e.$parent;eo.shouldConvert=o;for(var a in t)!function(o){i.push(o);var a=P(o,t,n,e);A(r,o,a),o in e||be(e,"_props",o)}(a);eo.shouldConvert=!0}function we(e){var t=e.$options.data;t=e._data="function"==typeof t?ke(t,e):t||{},p(t)||(t={});for(var n=Object.keys(t),r=e.$options.props,i=n.length;i--;)r&&a(r,n[i])||b(n[i])||be(e,"_data",n[i]);E(t,!0)}function ke(e,t){try{return e.call(t)}catch(e){return H(e,t,"data()"),{}}}function $e(e,t){var n=e._computedWatchers=Object.create(null);for(var r in t){var i=t[r],o="function"==typeof i?i:i.get;n[r]=new vo(e,o,m,_o),r in e||Ce(e,r,i)}}function Ce(e,t,n){"function"==typeof n?(bo.get=Se(t),bo.set=m):(bo.get=n.get?!1!==n.cache?Se(t):n.get:m,bo.set=n.set?n.set:m),Object.defineProperty(e,t,bo)}function Se(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),Zi.target&&t.depend(),t.value}}function Ee(e,t){e.$options.props;for(var n in t)e[n]=null==t[n]?m:c(t[n],e)}function Ae(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var i=0;i-1:e instanceof RegExp&&e.test(t)}function pt(e,t){for(var n in e){var r=e[n];if(r){var i=ft(r.componentOptions);i&&!t(i)&&(ht(r),e[n]=null)}}}function ht(e){e&&(e.componentInstance._inactive||pe(e.componentInstance,"deactivated"),e.componentInstance.$destroy())}function mt(e){for(var t=e.data,n=e,r=e;r.componentInstance;)r=r.componentInstance._vnode,r.data&&(t=gt(r.data,t));for(;n=n.parent;)n.data&&(t=gt(t,n.data));return vt(t)}function gt(e,t){return{staticClass:yt(e.staticClass,t.staticClass),class:e.class?[e.class,t.class]:t.class}}function vt(e){var t=e.class,n=e.staticClass;return n||t?yt(n,bt(t)):""}function yt(e,t){return e?t?e+" "+t:e:t||""}function bt(e){var t="";if(!e)return t;if("string"==typeof e)return e;if(Array.isArray(e)){for(var n,r=0,i=e.length;r-1?Jo[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Jo[e]=/HTMLUnknownElement/.test(t.toString())}function wt(e){if("string"==typeof e){var t=document.querySelector(e);return t||document.createElement("div")}return e}function kt(e,t){var n=document.createElement(e);return"select"!==e?n:(t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)}function $t(e,t){return document.createElementNS(Vo[e],t)}function Ct(e){return document.createTextNode(e)}function St(e){return document.createComment(e)}function Et(e,t,n){e.insertBefore(t,n)}function At(e,t){e.removeChild(t)}function Tt(e,t){e.appendChild(t)}function Mt(e){return e.parentNode}function Dt(e){return e.nextSibling}function Lt(e){return e.tagName}function Ot(e,t){e.textContent=t}function Ft(e,t,n){e.setAttribute(t,n)}function Nt(e,t){var n=e.data.ref;if(n){var r=e.context,i=e.componentInstance||e.elm,a=r.$refs;t?Array.isArray(a[n])?o(a[n],i):a[n]===i&&(a[n]=void 0):e.data.refInFor?Array.isArray(a[n])&&a[n].indexOf(i)<0?a[n].push(i):a[n]=[i]:a[n]=i}}function qt(e){return void 0===e||null===e}function zt(e){return void 0!==e&&null!==e}function It(e){return!0===e}function Pt(e,t){return e.key===t.key&&e.tag===t.tag&&e.isComment===t.isComment&&zt(e.data)===zt(t.data)&&jt(e,t)}function jt(e,t){if("input"!==e.tag)return!0;var n;return(zt(n=e.data)&&zt(n=n.attrs)&&n.type)===(zt(n=t.data)&&zt(n=n.attrs)&&n.type)}function Rt(e,t,n){var r,i,o={};for(r=t;r<=n;++r)i=e[r].key,zt(i)&&(o[i]=r);return o}function Ut(e,t){(e.data.directives||t.data.directives)&&Ht(e,t)}function Ht(e,t){var n,r,i,o=e===ea,a=t===ea,s=Bt(e.data.directives,e.context),l=Bt(t.data.directives,t.context),c=[],u=[];for(n in l)r=s[n],i=l[n],r?(i.oldValue=r.value,Vt(i,"update",t,e),i.def&&i.def.componentUpdated&&u.push(i)):(Vt(i,"bind",t,e),i.def&&i.def.inserted&&c.push(i));if(c.length){var f=function(){for(var n=0;n=0&&" "===(g=e.charAt(m));m--);g&&sa.test(g)||(u=!0)}}else void 0===o?(h=i+1,o=e.slice(0,i).trim()):t();if(void 0===o?o=e.slice(0,i).trim():0!==h&&t(),a)for(i=0;i=To}function dn(e){return 34===e||39===e}function pn(e){var t=1;for(Oo=Lo;!fn();)if(e=un(),dn(e))hn(e);else if(91===e&&t++,93===e&&t--,0===t){Fo=Lo;break}}function hn(e){for(var t=e;!fn()&&(e=un())!==t;);}function mn(e,t,n){No=n;var r=t.value,i=t.modifiers,o=e.tag,a=e.attrsMap.type;if("select"===o)yn(e,r,i);else if("input"===o&&"checkbox"===a)gn(e,r,i);else if("input"===o&&"radio"===a)vn(e,r,i);else if("input"===o||"textarea"===o)bn(e,r,i);else if(!Di.isReservedTag(o))return sn(e,r,i),!1;return!0}function gn(e,t,n){var r=n&&n.number,i=on(e,"value")||"null",o=on(e,"true-value")||"true",a=on(e,"false-value")||"false";en(e,"checked","Array.isArray("+t+")?_i("+t+","+i+")>-1"+("true"===o?":("+t+")":":_q("+t+","+o+")")),rn(e,ca,"var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+a+");if(Array.isArray($$a)){var $$v="+(r?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$c){$$i<0&&("+t+"=$$a.concat($$v))}else{$$i>-1&&("+t+"=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{"+t+"=$$c}",null,!0)}function vn(e,t,n){var r=n&&n.number,i=on(e,"value")||"null";i=r?"_n("+i+")":i,en(e,"checked","_q("+t+","+i+")"),rn(e,ca,ln(t,i),null,!0)}function yn(e,t,n){var r=n&&n.number,i='Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(r?"_n(val)":"val")+"})",o="var $$selectedVal = "+i+";";o=o+" "+ln(t,"$event.target.multiple ? $$selectedVal : $$selectedVal[0]"),rn(e,"change",o,null,!0)}function bn(e,t,n){var r=e.attrsMap.type,i=n||{},o=i.lazy,a=i.number,s=i.trim,l=!o&&"range"!==r,c=o?"change":"range"===r?la:"input",u="$event.target.value";s&&(u="$event.target.value.trim()"),a&&(u="_n("+u+")");var f=ln(t,u);l&&(f="if($event.target.composing)return;"+f),en(e,"value","("+t+")"),rn(e,c,f,null,!0),(s||a||"number"===r)&&rn(e,"blur","$forceUpdate()")}function _n(e){var t;e[la]&&(t=zi?"change":"input",e[t]=[].concat(e[la],e[t]||[]),delete e[la]),e[ca]&&(t=Ui?"click":"change",e[t]=[].concat(e[ca],e[t]||[]),delete e[ca])}function xn(e,t,n,r){if(n){var i=t,o=qo;t=function(n){null!==(1===arguments.length?i(n):i.apply(null,arguments))&&wn(e,t,r,o)}}qo.addEventListener(e,t,r)}function wn(e,t,n,r){(r||qo).removeEventListener(e,t,n)}function kn(e,t){if(e.data.on||t.data.on){var n=t.data.on||{},r=e.data.on||{};qo=t.elm,_n(n),G(n,r,xn,wn,t.context)}}function $n(e,t){if(e.data.domProps||t.data.domProps){var n,r,i=t.elm,o=e.data.domProps||{},a=t.data.domProps||{};a.__ob__&&(a=t.data.domProps=f({},a));for(n in o)null==a[n]&&(i[n]="");for(n in a)if(r=a[n],"textContent"!==n&&"innerHTML"!==n||(t.children&&(t.children.length=0),r!==o[n]))if("value"===n){i._value=r;var s=null==r?"":String(r);Cn(i,t,s)&&(i.value=s)}else i[n]=r}}function Cn(e,t,n){return!e.composing&&("option"===t.tag||Sn(e,n)||En(e,n))}function Sn(e,t){return document.activeElement!==e&&e.value!==t}function En(e,t){var n=e.value,i=e._vModifiers;return i&&i.number||"number"===e.type?r(n)!==r(t):i&&i.trim?n.trim()!==t.trim():n!==t}function An(e){var t=Tn(e.style);return e.staticStyle?f(e.staticStyle,t):t}function Tn(e){return Array.isArray(e)?h(e):"string"==typeof e?da(e):e}function Mn(e,t){var n,r={};if(t)for(var i=e;i.componentInstance;)i=i.componentInstance._vnode,i.data&&(n=An(i.data))&&f(r,n);(n=An(e.data))&&f(r,n);for(var o=e;o=o.parent;)o.data&&(n=An(o.data))&&f(r,n);return r}function Dn(e,t){var n=t.data,r=e.data;if(n.staticStyle||n.style||r.staticStyle||r.style){var i,o,a=t.elm,s=e.data.staticStyle,l=e.data.style||{},c=s||l,u=Tn(t.data.style)||{};t.data.style=u.__ob__?f({},u):u;var d=Mn(t,!0);for(o in c)null==d[o]&&ma(a,o,"");for(o in d)(i=d[o])!==c[o]&&ma(a,o,null==i?"":i)}}function Ln(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(/\s+/).forEach(function(t){return e.classList.add(t)}):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function On(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(/\s+/).forEach(function(t){return e.classList.remove(t)}):e.classList.remove(t);else{for(var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");e.setAttribute("class",n.trim())}}function Fn(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&f(t,ba(e.name||"v")),f(t,e),t}return"string"==typeof e?ba(e):void 0}}function Nn(e){Ea(function(){Ea(e)})}function qn(e,t){(e._transitionClasses||(e._transitionClasses=[])).push(t),Ln(e,t)}function zn(e,t){e._transitionClasses&&o(e._transitionClasses,t),On(e,t)}function In(e,t,n){var r=Pn(e,t),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===xa?$a:Sa,l=0,c=function(){e.removeEventListener(s,u),n()},u=function(t){t.target===e&&++l>=a&&c()};setTimeout(function(){l0&&(n=xa,u=a,f=o.length):t===wa?c>0&&(n=wa,u=c,f=l.length):(u=Math.max(a,c),n=u>0?a>c?xa:wa:null,f=n?n===xa?o.length:l.length:0),{type:n,timeout:u,propCount:f,hasTransform:n===xa&&Aa.test(r[ka+"Property"])}}function jn(e,t){for(;e.length1}function Vn(e,t){t.data.show||Un(t)}function Yn(e,t,n){var r=t.value,i=e.multiple;if(!i||Array.isArray(r)){for(var o,a,s=0,l=e.options.length;s-1,a.selected!==o&&(a.selected=o);else if(g(Zn(a),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));i||(e.selectedIndex=-1)}}function Gn(e,t){for(var n=0,r=t.length;n=0&&a[i].lowerCasedTag!==s;i--);else i=0;if(i>=0){for(var l=a.length-1;l>=i;l--)t.end&&t.end(a[l].tag,n,r);a.length=i,o=i&&a[i-1].tag}else"br"===s?t.start&&t.start(e,[],!0,n,r):"p"===s&&(t.start&&t.start(e,[],!1,n,r),t.end&&t.end(e,n,r))}for(var i,o,a=[],s=t.expectHTML,l=t.isUnaryTag||Ti,c=t.canBeLeftOpenTag||Ti,u=0;e;){if(i=e,o&&_s(o)){var f=o.toLowerCase(),d=xs[f]||(xs[f]=new RegExp("([\\s\\S]*?)(]*>)","i")),p=0,h=e.replace(d,function(e,n,r){return p=r.length,_s(f)||"noscript"===f||(n=n.replace(//g,"$1").replace(//g,"$1")),t.chars&&t.chars(n),""});u+=e.length-h.length,e=h,r(f,u-p,u)}else{var m=e.indexOf("<");if(0===m){if(Xa.test(e)){var g=e.indexOf("--\x3e");if(g>=0){n(g+3);continue}}if(es.test(e)){var v=e.indexOf("]>");if(v>=0){n(v+2);continue}}var y=e.match(Qa);if(y){n(y[0].length);continue}var b=e.match(Ja);if(b){var _=u;n(b[0].length),r(b[1],_,u);continue}var x=function(){var t=e.match(Za);if(t){var r={tagName:t[1],attrs:[],start:u};n(t[0].length);for(var i,o;!(i=e.match(Ka))&&(o=e.match(Ya));)n(o[0].length),r.attrs.push(o);if(i)return r.unarySlash=i[1],n(i[0].length),r.end=u,r}}();if(x){!function(e){var n=e.tagName,i=e.unarySlash;s&&("p"===o&&Wa(n)&&r(o),c(n)&&o===n&&r(n));for(var u=l(n)||"html"===n&&"head"===o||!!i,f=e.attrs.length,d=new Array(f),p=0;p=0){for(k=e.slice(m);!(Ja.test(k)||Za.test(k)||Xa.test(k)||es.test(k)||($=k.indexOf("<",1))<0);)m+=$,k=e.slice(m);w=e.substring(0,m),n(m)}m<0&&(w=e,e=""),t.chars&&w&&t.chars(w)}if(e===i){t.chars&&t.chars(e);break}}r()}function fr(e,t){var n=t?Ss(t):Cs;if(n.test(e)){for(var r,i,o=[],a=n.lastIndex=0;r=n.exec(e);){i=r.index,i>a&&o.push(JSON.stringify(e.slice(a,i)));var s=Kt(r[1].trim());o.push("_s("+s+")"),a=i+r[0].length}return a0,Pi=qi&&qi.indexOf("edge/")>0,ji=qi&&qi.indexOf("android")>0,Ri=qi&&/iphone|ipad|ipod|ios/.test(qi),Ui=qi&&/chrome\/\d+/.test(qi)&&!Pi,Hi=function(){return void 0===_i&&(_i=!Ni&&void 0!==e&&"server"===e.process.env.VUE_ENV),_i},Bi=Ni&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,Wi="undefined"!=typeof Symbol&&w(Symbol)&&"undefined"!=typeof Reflect&&w(Reflect.ownKeys),Vi=function(){function e(){r=!1;var e=n.slice(0);n.length=0;for(var t=0;t1?u(n):n;for(var r=u(arguments,1),i=0,o=n.length;i1&&(t[n[0].trim()]=n[1].trim())}}),t}),pa=/^--/,ha=/\s*!important$/,ma=function(e,t,n){pa.test(t)?e.style.setProperty(t,n):ha.test(n)?e.style.setProperty(t,n.replace(ha,""),"important"):e.style[va(t)]=n},ga=["Webkit","Moz","ms"],va=l(function(e){if(zo=zo||document.createElement("div"),"filter"!==(e=$i(e))&&e in zo.style)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=0;nd?(c=qt(n[g+1])?null:n[g+1].elm,m(e,c,n,f,g,r)):f>g&&v(e,t,u,d)}function _(e,t,n,r){if(e!==t){if(It(t.isStatic)&&It(e.isStatic)&&t.key===e.key&&(It(t.isCloned)||It(t.isOnce)))return t.elm=e.elm,void(t.componentInstance=e.componentInstance);var i,o=t.data;zt(o)&&zt(i=o.hook)&&zt(i=i.prepatch)&&i(e,t);var a=t.elm=e.elm,s=e.children,l=t.children;if(zt(o)&&d(t)){for(i=0;i',n.innerHTML.indexOf(t)>0}("\n"," "),Ha=i("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),Ba=i("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),Wa=i("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),Va=[/"([^"]*)"+/.source,/'([^']*)'+/.source,/([^\s"'=<>`]+)/.source],Ya=new RegExp("^\\s*"+/([^\s"'<>\/=]+)/.source+"(?:\\s*("+/(?:=)/.source+")\\s*(?:"+Va.join("|")+"))?"),Ga="[a-zA-Z_][\\w\\-\\.]*",Za=new RegExp("^<((?:"+Ga+"\\:)?"+Ga+")"),Ka=/^\s*(\/?)>/,Ja=new RegExp("^<\\/((?:"+Ga+"\\:)?"+Ga+")[^>]*>"),Qa=/^]+>/i,Xa=/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(i.source+"\\s*$"),/^$/,!1]];t.exports=function(e,t,n,r){var i,a,s,l,c=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(c))return!1;for(l=e.src.slice(c,u),i=0;i=4)return!1;for(d=e.parentType,e.parentType="paragraph";p3)){if(e.sCount[p]>=e.blkIndent&&(l=e.bMarks[p]+e.tShift[p],c=e.eMarks[p],l=c))){u=61===f?1:2;break}if(!(e.sCount[p]<0)){for(i=!1,o=0,a=h.length;o=o)return-1;if((n=e.src.charCodeAt(i++))<48||n>57)return-1;for(;;){if(i>=o)return-1;n=e.src.charCodeAt(i++);{if(!(n>=48&&n<=57)){if(41===n||46===n)break;return-1}if(i-r>=10)return-1}}return i=4)return!1;if(s&&"paragraph"===e.parentType&&e.tShift[t]>=e.blkIndent&&(q=!0),(M=i(e,t))>=0){if(h=!0,L=e.bMarks[t]+e.tShift[t],_=Number(e.src.substr(L,M-L-1)),q&&1!==_)return!1}else{if(!((M=r(e,t))>=0))return!1;h=!1}if(q&&e.skipSpaces(M)>=e.eMarks[t])return!1;if(b=e.src.charCodeAt(M-1),s)return!0;for(y=e.tokens.length,h?(N=e.push("ordered_list_open","ol",1),1!==_&&(N.attrs=[["start",_]])):N=e.push("bullet_list_open","ul",1),N.map=v=[t,0],N.markup=String.fromCharCode(b),w=t,D=!1,F=e.md.block.ruler.getRules("list"),S=e.parentType,e.parentType="list";w=x?1:k-p,d>4&&(d=1),f=p+d,N=e.push("list_item_open","li",1),N.markup=String.fromCharCode(b),N.map=m=[t,0],$=e.blkIndent,A=e.tight,E=e.tShift[t],C=e.sCount[t],e.blkIndent=f,e.tight=!0,e.tShift[t]=c-e.bMarks[t],e.sCount[t]=k,c>=x&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,t,n,!0),e.tight&&!D||(z=!1),D=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=$,e.tShift[t]=E,e.sCount[t]=C,e.tight=A,N=e.push("list_item_close","li",-1),N.markup=String.fromCharCode(b),w=t=e.line,m[1]=w,c=e.bMarks[t],w>=n)break;if(e.sCount[w]3||e.sCount[l]<0)){for(r=!1,i=0,o=c.length;i=4)return!1;if(91!==e.src.charCodeAt(k))return!1;for(;++k<$;)if(93===e.src.charCodeAt(k)&&92!==e.src.charCodeAt(k-1)){if(k+1===$)return!1;if(58!==e.src.charCodeAt(k+1))return!1;break}for(c=e.lineMax,_=e.md.block.ruler.getRules("reference"),m=e.parentType,e.parentType="reference";C3||e.sCount[C]<0)){for(b=!1,f=0,d=_.length;f0&&this.level++,this.tokens.push(r),r},r.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},r.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;et;)if(!o(this.src.charCodeAt(--e)))return e+1;return e},r.prototype.skipChars=function(e,t){for(var n=this.src.length;en;)if(t!==this.src.charCodeAt(--e))return e+1;return e},r.prototype.getLines=function(e,t,n,r){var i,a,s,l,c,u,f,d=e;if(e>=t)return"";for(u=new Array(t-e),i=0;dn?new Array(a-n+1).join(" ")+this.src.slice(l,c):this.src.slice(l,c)}return u.join("")},r.prototype.Token=i,t.exports=r},{"../common/utils":72,"../token":119}],97:[function(e,t,n){"use strict";function r(e,t){var n=e.bMarks[t]+e.blkIndent,r=e.eMarks[t];return e.src.substr(n,r-n)}function i(e){var t,n=[],r=0,i=e.length,o=0,a=0,s=!1,l=0;for(t=e.charCodeAt(r);rn)return!1;if(f=t+1,e.sCount[f]=4)return!1;if((c=e.bMarks[f]+e.tShift[f])>=e.eMarks[f])return!1;if(124!==(s=e.src.charCodeAt(c++))&&45!==s&&58!==s)return!1;for(;c=4)return!1;if(d=i(l.replace(/^\||\|$/g,"")),(p=d.length)>m.length)return!1;if(a)return!0;for(h=e.push("table_open","table",1),h.map=v=[t,0],h=e.push("thead_open","thead",1),h.map=[t,t+1],h=e.push("tr_open","tr",1),h.map=[t,t+1],u=0;u=4);f++){for(d=i(l.replace(/^\||\|$/g,"")),h=e.push("tr_open","tr",1),u=0;u\s]/i.test(e)}function i(e){return/^<\/a\s*>/i.test(e)}var o=e("../common/utils").arrayReplaceAt;t.exports=function(e){var t,n,a,s,l,c,u,f,d,p,h,m,g,v,y,b,_,x=e.tokens;if(e.md.options.linkify)for(n=0,a=x.length;n=0;t--)if(c=s[t],"link_close"!==c.type){if("html_inline"===c.type&&(r(c.content)&&g>0&&g--,i(c.content)&&g++),!(g>0)&&"text"===c.type&&e.md.linkify.test(c.content)){for(d=c.content,_=e.md.linkify.match(d),u=[],m=c.level,h=0,f=0;f<_.length;f++)v=_[f].url,y=e.md.normalizeLink(v),e.md.validateLink(y)&&(b=_[f].text,b=_[f].schema?"mailto:"!==_[f].schema||/^mailto:/i.test(b)?e.md.normalizeLinkText(b):e.md.normalizeLinkText("mailto:"+b).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+b).replace(/^http:\/\//,""),p=_[f].index,p>h&&(l=new e.Token("text","",0),l.content=d.slice(h,p),l.level=m,u.push(l)),l=new e.Token("link_open","a",1),l.attrs=[["href",y]],l.level=m++,l.markup="linkify",l.info="auto",u.push(l),l=new e.Token("text","",0),l.content=b,l.level=m,u.push(l),l=new e.Token("link_close","a",-1),l.level=--m,l.markup="linkify",l.info="auto",u.push(l),h=_[f].lastIndex);h=0;t--)n=e[t],"text"!==n.type||i||(n.content=n.content.replace(l,r)),"link_open"===n.type&&"auto"===n.info&&i--,"link_close"===n.type&&"auto"===n.info&&i++}function o(e){var t,n,r=0;for(t=e.length-1;t>=0;t--)n=e[t],"text"!==n.type||r||a.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/gm,"$1—$2").replace(/(^|\s)--(\s|$)/gm,"$1–$2").replace(/(^|[^-\s])--([^-\s]|$)/gm,"$1–$2")),"link_open"===n.type&&"auto"===n.info&&r--,"link_close"===n.type&&"auto"===n.info&&r++}var a=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,s=/\((c|tm|r|p)\)/i,l=/\((c|tm|r|p)\)/gi,c={c:"©",r:"®",p:"§",tm:"™"};t.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&(s.test(e.tokens[t].content)&&i(e.tokens[t].children),a.test(e.tokens[t].content)&&o(e.tokens[t].children))}},{}],103:[function(e,t,n){"use strict";function r(e,t,n){return e.substr(0,t)+n+e.substr(t+1)}function i(e,t){var n,i,l,f,d,p,h,m,g,v,y,b,_,x,w,k,$,C,S,E,A;for(S=[],n=0;n=0&&!(S[$].level<=h);$--);if(S.length=$+1,"text"===i.type){l=i.content,d=0,p=l.length;e:for(;d=0)g=l.charCodeAt(f.index-1);else for($=n-1;$>=0;$--)if("text"===e[$].type){g=e[$].content.charCodeAt(e[$].content.length-1);break}if(v=32,d=48&&g<=57&&(k=w=!1),w&&k&&(w=!1,k=b),w||k){if(k)for($=S.length-1;$>=0&&(m=S[$],!(S[$].level=0;t--)"inline"===e.tokens[t].type&&l.test(e.tokens[t].content)&&i(e.tokens[t].children,e)}},{"../common/utils":72}],104:[function(e,t,n){"use strict";function r(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}var i=e("../token");r.prototype.Token=i,t.exports=r},{"../token":119}],105:[function(e,t,n){"use strict";var r=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,i=/^<([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)>/;t.exports=function(e,t){var n,o,a,s,l,c,u=e.pos;return 60===e.src.charCodeAt(u)&&(n=e.src.slice(u),!(n.indexOf(">")<0)&&(i.test(n)?(o=n.match(i),s=o[0].slice(1,-1),l=e.md.normalizeLink(s),!!e.md.validateLink(l)&&(t||(c=e.push("link_open","a",1),c.attrs=[["href",l]],c.markup="autolink",c.info="auto",c=e.push("text","",0),c.content=e.md.normalizeLinkText(s),c=e.push("link_close","a",-1),c.markup="autolink",c.info="auto"),e.pos+=o[0].length,!0)):!!r.test(n)&&(a=n.match(r),s=a[0].slice(1,-1),l=e.md.normalizeLink("mailto:"+s),!!e.md.validateLink(l)&&(t||(c=e.push("link_open","a",1),c.attrs=[["href",l]],c.markup="autolink",c.info="auto",c=e.push("text","",0),c.content=e.md.normalizeLinkText(s),c=e.push("link_close","a",-1),c.markup="autolink",c.info="auto"),e.pos+=a[0].length,!0))))}},{}],106:[function(e,t,n){"use strict";t.exports=function(e,t){var n,r,i,o,a,s,l=e.pos;if(96!==e.src.charCodeAt(l))return!1;for(n=l,l++,r=e.posMax;l=0;){if(i=o[n],i.open&&i.marker===r.marker&&i.end<0&&i.level===r.level){var s=(i.close||r.open)&&void 0!==i.length&&void 0!==r.length&&(i.length+r.length)%3==0;if(!s){r.jump=t-n,r.open=!1,i.end=t,i.jump=0;break}}n-=i.jump+1}}},{}],108:[function(e,t,n){"use strict";t.exports.tokenize=function(e,t){var n,r,i,o=e.pos,a=e.src.charCodeAt(o);if(t)return!1;if(95!==a&&42!==a)return!1;for(r=e.scanDelims(e.pos,42===a),n=0;n?@[]^_`{|}~-".split("").forEach(function(e){i[e.charCodeAt(0)]=1}),t.exports=function(e,t){var n,o=e.pos,a=e.posMax;if(92!==e.src.charCodeAt(o))return!1;if(++o=97&&t<=122}var i=e("../common/html_re").HTML_TAG_RE;t.exports=function(e,t){var n,o,a,s,l=e.pos;return!!e.md.options.html&&(a=e.posMax,!(60!==e.src.charCodeAt(l)||l+2>=a)&&(!(33!==(n=e.src.charCodeAt(l+1))&&63!==n&&47!==n&&!r(n))&&(!!(o=e.src.slice(l).match(i))&&(t||(s=e.push("html_inline","",0),s.content=e.src.slice(l,l+o[0].length)),e.pos+=o[0].length,!0))))}},{"../common/html_re":71}],112:[function(e,t,n){"use strict";var r=e("../common/utils").normalizeReference,i=e("../common/utils").isSpace;t.exports=function(e,t){var n,o,a,s,l,c,u,f,d,p,h,m,g,v="",y=e.pos,b=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(c=e.pos+2,(l=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((u=l+1)=b)return!1;for(g=u,d=e.md.helpers.parseLinkDestination(e.src,u,e.posMax),d.ok&&(v=e.md.normalizeLink(d.str),e.md.validateLink(v)?u=d.pos:v=""),g=u;u=b||41!==e.src.charCodeAt(u))return e.pos=y,!1;u++}else{if(void 0===e.env.references)return!1;if(u=0?s=e.src.slice(g,u++):u=l+1):u=l+1,s||(s=e.src.slice(c,l)),!(f=e.env.references[r(s)]))return e.pos=y,!1;v=f.href,p=f.title}return t||(a=e.src.slice(c,l),e.md.inline.parse(a,e.md,e.env,m=[]),h=e.push("image","img",0),h.attrs=n=[["src",v],["alt",""]],h.children=m,h.content=a,p&&n.push(["title",p])),e.pos=u,e.posMax=b,!0}},{"../common/utils":72}],113:[function(e,t,n){"use strict";var r=e("../common/utils").normalizeReference,i=e("../common/utils").isSpace;t.exports=function(e,t){var n,o,a,s,l,c,u,f,d,p,h="",m=e.pos,g=e.posMax,v=e.pos,y=!0;if(91!==e.src.charCodeAt(e.pos))return!1;if(l=e.pos+1,(s=e.md.helpers.parseLinkLabel(e,e.pos,!0))<0)return!1;if((c=s+1)=g)return!1;for(v=c,u=e.md.helpers.parseLinkDestination(e.src,c,e.posMax),u.ok&&(h=e.md.normalizeLink(u.str),e.md.validateLink(h)?c=u.pos:h=""),v=c;c=g||41!==e.src.charCodeAt(c))&&(y=!0),c++}if(y){if(void 0===e.env.references)return!1;if(c=0?a=e.src.slice(v,c++):c=s+1):c=s+1,a||(a=e.src.slice(l,s)),!(f=e.env.references[r(a)]))return e.pos=m,!1;h=f.href,d=f.title}return t||(e.pos=l,e.posMax=s,p=e.push("link_open","a",1),p.attrs=n=[["href",h]],d&&n.push(["title",d]),e.md.inline.tokenize(e),p=e.push("link_close","a",-1)),e.pos=c,e.posMax=g,!0}},{"../common/utils":72}],114:[function(e,t,n){"use strict";var r=e("../common/utils").isSpace;t.exports=function(e,t){var n,i,o=e.pos;if(10!==e.src.charCodeAt(o))return!1;for(n=e.pending.length-1,i=e.posMax,t||(n>=0&&32===e.pending.charCodeAt(n)?n>=1&&32===e.pending.charCodeAt(n-1)?(e.pending=e.pending.replace(/ +$/,""),e.push("hardbreak","br",0)):(e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0)):e.push("softbreak","br",0)),o++;o0&&this.level++,this.pendingLevel=this.level,this.tokens.push(r),r},r.prototype.scanDelims=function(e,t){var n,r,i,l,c,u,f,d,p,h=e,m=!0,g=!0,v=this.posMax,y=this.src.charCodeAt(e);for(n=e>0?this.src.charCodeAt(e-1):32;h=0&&(n=this.attrs[t][1]),n},r.prototype.attrJoin=function(e,t){var n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=this.attrs[n][1]+" "+t},t.exports=r},{}],120:[function(e,t,n){"use strict";function r(e){var t,n,r=o[e];if(r)return r;for(r=o[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),r.push(n);for(t=0;t=55296&&l<=57343?"���":String.fromCharCode(l),t+=6):240==(248&i)&&t+91114111?c+="����":(l-=65536,c+=String.fromCharCode(55296+(l>>10),56320+(1023&l))),t+=9):c+="�";return c})}var o={};i.defaultChars=";/?:@&=+$,#",i.componentChars="",t.exports=i},{}],121:[function(e,t,n){"use strict";function r(e){var t,n,r=o[e];if(r)return r;for(r=o[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),/^[0-9a-z]$/i.test(n)?r.push(n):r.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t=55296&&s<=57343){if(s>=55296&&s<=56319&&o+1=56320&&l<=57343){u+=encodeURIComponent(e[o]+e[o+1]),o++;continue}u+="%EF%BF%BD"}else u+=encodeURIComponent(e[o]);return u}var o={};i.defaultChars=";/?:@&=+$,-_.!~*'()#",i.componentChars="-_.!~*'()",t.exports=i},{}],122:[function(e,t,n){"use strict";t.exports=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""}},{}],123:[function(e,t,n){"use strict";t.exports.encode=e("./encode"),t.exports.decode=e("./decode"),t.exports.format=e("./format"),t.exports.parse=e("./parse")},{"./decode":120,"./encode":121,"./format":122,"./parse":124}],124:[function(e,t,n){"use strict";function r(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}function i(e,t){if(e&&e instanceof r)return e;var n=new r;return n.parse(e,t),n}var o=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,s=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,l=["<",">",'"',"`"," ","\r","\n","\t"],c=["{","}","|","\\","^","`"].concat(l),u=["'"].concat(c),f=["%","/","?",";","#"].concat(u),d=["/","?","#"],p={javascript:!0,"javascript:":!0},h={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};r.prototype.parse=function(e,t){var n,r,i,a,l,c=e;if(c=c.trim(),!t&&1===e.split("#").length){var u=s.exec(c);if(u)return this.pathname=u[1],u[2]&&(this.search=u[2]),this}var m=o.exec(c);if(m&&(m=m[0],i=m.toLowerCase(),this.protocol=m,c=c.substr(m.length)),(t||m||c.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(l="//"===c.substr(0,2))||m&&p[m]||(c=c.substr(2),this.slashes=!0)),!p[m]&&(l||m&&!h[m])){var g=-1;for(n=0;n127?k+="x":k+=w[$];if(!k.match(/^[+a-z0-9A-Z_-]{0,63}$/)){var S=x.slice(0,n),E=x.slice(n+1),A=w.match(/^([+a-z0-9A-Z_-]{0,63})(.*)$/);A&&(S.push(A[1]),E.unshift(A[2])),E.length&&(c=E.join(".")+c),this.hostname=S.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),_&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var T=c.indexOf("#");-1!==T&&(this.hash=c.substr(T),c=c.slice(0,T));var M=c.indexOf("?");return-1!==M&&(this.search=c.substr(M),c=c.slice(0,M)),c&&(this.pathname=c),h[i]&&this.hostname&&!this.pathname&&(this.pathname=""),this},r.prototype.parseHost=function(e){var t=a.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},t.exports=i},{}],125:[function(e,t,n){!function(r,i){"object"==typeof n&&void 0!==t&&"function"==typeof e?i(e("../moment")):"function"==typeof define&&define.amd?define(["../moment"],i):i(r.moment)}(this,function(e){"use strict";return e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{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"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})})},{"../moment":126}],126:[function(e,t,n){!function(e,r){"object"==typeof n&&void 0!==t?t.exports=r():"function"==typeof define&&define.amd?define(r):e.moment=r()}(this,function(){"use strict";function n(){return gr.apply(null,arguments)}function r(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function i(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function o(e){var t;for(t in e)return!1;return!0}function a(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function s(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function l(e,t){var n,r=[];for(n=0;n0)for(n in br)r=br[n],i=t[r],g(i)||(e[r]=i);return e}function y(e){v(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===_r&&(_r=!0,n.updateOffset(this),_r=!1)}function b(e){return e instanceof y||null!=e&&null!=e._isAMomentObject}function _(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function x(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=_(t)),n}function w(e,t,n){var r,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(r=0;r0?"future":"past"];return S(n)?n(t):n.replace(/%s/i,t)}function q(e,t){var n=e.toLowerCase();Ar[n]=Ar[n+"s"]=Ar[t]=e}function z(e){return"string"==typeof e?Ar[e]||Ar[e.toLowerCase()]:void 0}function I(e){var t,n,r={};for(n in e)c(e,n)&&(t=z(n))&&(r[t]=e[n]);return r}function P(e,t){Tr[e]=t}function j(e){var t=[];for(var n in e)t.push({unit:n,priority:Tr[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}function R(e,t){return function(r){return null!=r?(H(this,e,r),n.updateOffset(this,t),this):U(this,e)}}function U(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function H(e,t,n){e.isValid()&&e._d["set"+(e._isUTC?"UTC":"")+t](n)}function B(e){return e=z(e),S(this[e])?this[e]():this}function W(e,t){if("object"==typeof e){e=I(e);for(var n=j(e),r=0;r=0?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&&(Or[e]=i),t&&(Or[t[0]]=function(){return V(i.apply(this,arguments),t[1],t[2])}),n&&(Or[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function G(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function Z(e){var t,n,r=e.match(Mr);for(t=0,n=r.length;t=0&&Dr.test(e);)e=e.replace(Dr,n),Dr.lastIndex=0,r-=1;return e}function Q(e,t,n){Ir[e]=S(t)?t:function(e,r){return e&&n?n:t}}function X(e,t){return c(Ir,e)?Ir[e](t._strict,t._locale):new RegExp(ee(e))}function ee(e){return te(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i}))}function te(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function ne(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),a(t)&&(r=function(e,n){n[t]=x(e)}),n=0;n=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}function _e(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function xe(e,t,n){var r=7+t-n;return-(7+_e(e,0,r).getUTCDay()-t)%7+r-1}function we(e,t,n,r,i){var o,a,s=(7+n-r)%7,l=xe(e,r,i),c=1+7*(t-1)+s+l;return c<=0?(o=e-1,a=ge(o)+c):c>ge(e)?(o=e+1,a=c-ge(e)):(o=e,a=c),{year:o,dayOfYear:a}}function ke(e,t,n){var r,i,o=xe(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return a<1?(i=e.year()-1,r=a+$e(i,t,n)):a>$e(e.year(),t,n)?(r=a-$e(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function $e(e,t,n){var r=xe(e,t,n),i=xe(e+1,t,n);return(ge(e)-r+i)/7}function Ce(e){return ke(e,this._week.dow,this._week.doy).week}function Se(){return this._week.dow}function Ee(){return this._week.doy}function Ae(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Te(e){var t=ke(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Me(e,t){return"string"!=typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"==typeof e?e:null):parseInt(e,10)}function De(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Le(e,t){return e?r(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:this._weekdays}function Oe(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Fe(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Ne(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=f([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?(i=Zr.call(this._weekdaysParse,a),-1!==i?i:null):"ddd"===t?(i=Zr.call(this._shortWeekdaysParse,a),-1!==i?i:null):(i=Zr.call(this._minWeekdaysParse,a),-1!==i?i:null):"dddd"===t?-1!==(i=Zr.call(this._weekdaysParse,a))?i:-1!==(i=Zr.call(this._shortWeekdaysParse,a))?i:(i=Zr.call(this._minWeekdaysParse,a),-1!==i?i:null):"ddd"===t?-1!==(i=Zr.call(this._shortWeekdaysParse,a))?i:-1!==(i=Zr.call(this._weekdaysParse,a))?i:(i=Zr.call(this._minWeekdaysParse,a),-1!==i?i:null):-1!==(i=Zr.call(this._minWeekdaysParse,a))?i:-1!==(i=Zr.call(this._weekdaysParse,a))?i:(i=Zr.call(this._shortWeekdaysParse,a),-1!==i?i:null)}function qe(e,t,n){var r,i,o;if(this._weekdaysParseExact)return Ne.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=f([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 ze(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Me(e,this.localeData()),this.add(e-t,"d")):t}function Ie(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 Pe(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=De(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function je(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||He.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(c(this,"_weekdaysRegex")||(this._weekdaysRegex=ai),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Re(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||He.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(c(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=si),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Ue(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||He.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(c(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=li),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function He(){function e(e,t){return t.length-e.length}var t,n,r,i,o,a=[],s=[],l=[],c=[];for(t=0;t<7;t++)n=f([2e3,1]).day(t),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),o=this.weekdays(n,""),a.push(r),s.push(i),l.push(o),c.push(r),c.push(i),c.push(o);for(a.sort(e),s.sort(e),l.sort(e),c.sort(e),t=0;t<7;t++)s[t]=te(s[t]),l[t]=te(l[t]),c[t]=te(c[t]);this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Be(){return this.hours()%12||12}function We(){ -return this.hours()||24}function Ve(e,t){Y(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function Ye(e,t){return t._meridiemParse}function Ge(e){return"p"===(e+"").toLowerCase().charAt(0)}function Ze(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}function Ke(e){return e?e.toLowerCase().replace("_","-"):e}function Je(e){for(var t,n,r,i,o=0;o0;){if(r=Qe(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&w(i,n,!0)>=t-1)break;t--}o++}return null}function Qe(n){var r=null;if(!di[n]&&void 0!==t&&t&&t.exports)try{r=ci._abbr,e("./locale/"+n),Xe(r)}catch(e){}return di[n]}function Xe(e,t){var n;return e&&(n=g(t)?nt(e):et(e,t))&&(ci=n),ci._abbr}function et(e,t){if(null!==t){var n=fi;if(t.abbr=e,null!=di[e])C("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=di[e]._config;else if(null!=t.parentLocale){if(null==di[t.parentLocale])return pi[t.parentLocale]||(pi[t.parentLocale]=[]),pi[t.parentLocale].push({name:e,config:t}),null;n=di[t.parentLocale]._config}return di[e]=new T(A(n,t)),pi[e]&&pi[e].forEach(function(e){et(e.name,e.config)}),Xe(e),di[e]}return delete di[e],null}function tt(e,t){if(null!=t){var n,r=fi;null!=di[e]&&(r=di[e]._config),t=A(r,t),n=new T(t),n.parentLocale=di[e],di[e]=n,Xe(e)}else null!=di[e]&&(null!=di[e].parentLocale?di[e]=di[e].parentLocale:null!=di[e]&&delete di[e]);return di[e]}function nt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return ci;if(!r(e)){if(t=Qe(e))return t;e=[e]}return Je(e)}function rt(){return $r(di)}function it(e){var t,n=e._a;return n&&-2===p(e).overflow&&(t=n[Rr]<0||n[Rr]>11?Rr:n[Ur]<1||n[Ur]>oe(n[jr],n[Rr])?Ur:n[Hr]<0||n[Hr]>24||24===n[Hr]&&(0!==n[Br]||0!==n[Wr]||0!==n[Vr])?Hr:n[Br]<0||n[Br]>59?Br:n[Wr]<0||n[Wr]>59?Wr:n[Vr]<0||n[Vr]>999?Vr:-1,p(e)._overflowDayOfYear&&(tUr)&&(t=Ur),p(e)._overflowWeeks&&-1===t&&(t=Yr),p(e)._overflowWeekday&&-1===t&&(t=Gr),p(e).overflow=t),e}function ot(e){var t,n,r,i,o,a,s=e._i,l=hi.exec(s)||mi.exec(s);if(l){for(p(e).iso=!0,t=0,n=vi.length;tge(i)&&(p(e)._overflowDayOfYear=!0),n=_e(i,0,e._dayOfYear),e._a[Rr]=n.getUTCMonth(),e._a[Ur]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=o[t]=r[t];for(;t<7;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Hr]&&0===e._a[Br]&&0===e._a[Wr]&&0===e._a[Vr]&&(e._nextDay=!0,e._a[Hr]=0),e._d=(e._useUTC?_e:be).apply(null,o),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Hr]=24)}}function ut(e){var t,n,r,i,o,a,s,l;if(t=e._w,null!=t.GG||null!=t.W||null!=t.E)o=1,a=4,n=st(t.GG,e._a[jr],ke(bt(),1,4).year),r=st(t.W,1),((i=st(t.E,1))<1||i>7)&&(l=!0);else{o=e._locale._week.dow,a=e._locale._week.doy;var c=ke(bt(),o,a);n=st(t.gg,e._a[jr],c.year),r=st(t.w,c.week),null!=t.d?((i=t.d)<0||i>6)&&(l=!0):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(l=!0)):i=o}r<1||r>$e(n,o,a)?p(e)._overflowWeeks=!0:null!=l?p(e)._overflowWeekday=!0:(s=we(n,r,i,o,a),e._a[jr]=s.year,e._dayOfYear=s.dayOfYear)}function ft(e){if(e._f===n.ISO_8601)return void ot(e);e._a=[],p(e).empty=!0;var t,r,i,o,a,s=""+e._i,l=s.length,c=0;for(i=J(e._f,e._locale).match(Mr)||[],t=0;t0&&p(e).unusedInput.push(a),s=s.slice(s.indexOf(r)+r.length),c+=r.length),Or[o]?(r?p(e).empty=!1:p(e).unusedTokens.push(o),ie(o,r,e)):e._strict&&!r&&p(e).unusedTokens.push(o);p(e).charsLeftOver=l-c,s.length>0&&p(e).unusedInput.push(s),e._a[Hr]<=12&&!0===p(e).bigHour&&e._a[Hr]>0&&(p(e).bigHour=void 0),p(e).parsedDateParts=e._a.slice(0),p(e).meridiem=e._meridiem,e._a[Hr]=dt(e._locale,e._a[Hr],e._meridiem),ct(e),it(e)}function dt(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(r=e.isPM(n),r&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function pt(e){var t,n,r,i,o;if(0===e._f.length)return p(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;ithis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function zt(){if(!g(this._isDSTShifted))return this._isDSTShifted;var e={};if(v(e,this),e=gt(e),e._a){var t=e._isUTC?f(e._a):bt(e._a);this._isDSTShifted=this.isValid()&&w(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function It(){return!!this.isValid()&&!this._isUTC}function Pt(){return!!this.isValid()&&this._isUTC}function jt(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function Rt(e,t){var n,r,i,o=e,s=null;return $t(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:a(e)?(o={},t?o[t]=e:o.milliseconds=e):(s=$i.exec(e))?(n="-"===s[1]?-1:1,o={y:0,d:x(s[Ur])*n,h:x(s[Hr])*n,m:x(s[Br])*n,s:x(s[Wr])*n,ms:x(Ct(1e3*s[Vr]))*n}):(s=Ci.exec(e))?(n="-"===s[1]?-1:1,o={y:Ut(s[2],n),M:Ut(s[3],n),w:Ut(s[4],n),d:Ut(s[5],n),h:Ut(s[6],n),m:Ut(s[7],n),s:Ut(s[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(i=Bt(bt(o.from),bt(o.to)),o={},o.ms=i.milliseconds,o.M=i.months),r=new kt(o),$t(e)&&c(e,"_locale")&&(r._locale=e._locale),r}function Ut(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Ht(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 Bt(e,t){var n;return e.isValid()&&t.isValid()?(t=At(t,e),e.isBefore(t)?n=Ht(e,t):(n=Ht(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Wt(e,t){return function(n,r){var i,o;return null===r||isNaN(+r)||(C(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),n="string"==typeof n?+n:n,i=Rt(n,r),Vt(this,i,e),this}}function Vt(e,t,r,i){var o=t._milliseconds,a=Ct(t._days),s=Ct(t._months);e.isValid()&&(i=null==i||i,o&&e._d.setTime(e._d.valueOf()+o*r),a&&H(e,"Date",U(e,"Date")+a*r),s&&ue(e,U(e,"Month")+s*r),i&&n.updateOffset(e,a||s))}function Yt(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Gt(e,t){var r=e||bt(),i=At(r,this).startOf("day"),o=n.calendarFormat(this,i)||"sameElse",a=t&&(S(t[o])?t[o].call(this,r):t[o]);return this.format(a||this.localeData().calendar(o,this,bt(r)))}function Zt(){return new y(this)}function Kt(e,t){var n=b(e)?e:bt(e);return!(!this.isValid()||!n.isValid())&&(t=z(g(t)?"millisecond":t),"millisecond"===t?this.valueOf()>n.valueOf():n.valueOf()o&&(t=o),On.call(this,e,t,n,r,i))}function On(e,t,n,r,i){var o=we(e,t,n,r,i),a=_e(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function Fn(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function Nn(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 qn(e,t){t[Vr]=x(1e3*("0."+e))}function zn(){return this._isUTC?"UTC":""}function In(){return this._isUTC?"Coordinated Universal Time":""}function Pn(e){return bt(1e3*e)}function jn(){return bt.apply(null,arguments).parseZone()}function Rn(e){return e}function Un(e,t,n,r){var i=nt(),o=f().set(r,t);return i[n](o,e)}function Hn(e,t,n){if(a(e)&&(t=e,e=void 0),e=e||"",null!=t)return Un(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=Un(e,r,n,"month");return i}function Bn(e,t,n,r){"boolean"==typeof e?(a(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,a(t)&&(n=t,t=void 0),t=t||"");var i=nt(),o=e?i._week.dow:0;if(null!=n)return Un(t,(n+o)%7,r,"day");var s,l=[];for(s=0;s<7;s++)l[s]=Un(t,(s+o)%7,r,"day");return l}function Wn(e,t){return Hn(e,t,"months")}function Vn(e,t){return Hn(e,t,"monthsShort")}function Yn(e,t,n){return Bn(e,t,n,"weekdays")}function Gn(e,t,n){return Bn(e,t,n,"weekdaysShort")}function Zn(e,t,n){return Bn(e,t,n,"weekdaysMin")}function Kn(){var e=this._data;return this._milliseconds=qi(this._milliseconds),this._days=qi(this._days),this._months=qi(this._months),e.milliseconds=qi(e.milliseconds),e.seconds=qi(e.seconds),e.minutes=qi(e.minutes),e.hours=qi(e.hours),e.months=qi(e.months),e.years=qi(e.years),this}function Jn(e,t,n,r){var i=Rt(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function Qn(e,t){return Jn(this,e,t,1)}function Xn(e,t){return Jn(this,e,t,-1)}function er(e){return e<0?Math.floor(e):Math.ceil(e)}function tr(){var e,t,n,r,i,o=this._milliseconds,a=this._days,s=this._months,l=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*er(rr(s)+a),a=0,s=0),l.milliseconds=o%1e3,e=_(o/1e3),l.seconds=e%60,t=_(e/60),l.minutes=t%60,n=_(t/60),l.hours=n%24,a+=_(n/24),i=_(nr(a)),s+=i,a-=er(rr(i)),r=_(s/12),s%=12,l.days=a,l.months=s,l.years=r,this}function nr(e){return 4800*e/146097}function rr(e){return 146097*e/4800}function ir(e){var t,n,r=this._milliseconds;if("month"===(e=z(e))||"year"===e)return t=this._days+r/864e5,n=this._months+nr(t),"month"===e?n:n/12;switch(t=this._days+Math.round(rr(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 or(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*x(this._months/12)}function ar(e){return function(){return this.as(e)}}function sr(e){return e=z(e),this[e+"s"]()}function lr(e){return function(){return this._data[e]}}function cr(){return _(this.days()/7)}function ur(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function fr(e,t,n){var r=Rt(e).abs(),i=Qi(r.as("s")),o=Qi(r.as("m")),a=Qi(r.as("h")),s=Qi(r.as("d")),l=Qi(r.as("M")),c=Qi(r.as("y")),u=i0,u[4]=n,ur.apply(null,u)}function dr(e){return void 0===e?Qi:"function"==typeof e&&(Qi=e,!0)}function pr(e,t){return void 0!==Xi[e]&&(void 0===t?Xi[e]:(Xi[e]=t,!0))}function hr(e){var t=this.localeData(),n=fr(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function mr(){var e,t,n,r=eo(this._milliseconds)/1e3,i=eo(this._days),o=eo(this._months);e=_(r/60),t=_(e/60),r%=60,e%=60,n=_(o/12),o%=12;var a=n,s=o,l=i,c=t,u=e,f=r,d=this.asSeconds();return d?(d<0?"-":"")+"P"+(a?a+"Y":"")+(s?s+"M":"")+(l?l+"D":"")+(c||u||f?"T":"")+(c?c+"H":"")+(u?u+"M":"")+(f?f+"S":""):"P0D"}var gr,vr;vr=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;r68?1900:2e3)};var ti=R("FullYear",!0);Y("w",["ww",2],"wo","week"),Y("W",["WW",2],"Wo","isoWeek"),q("week","w"),q("isoWeek","W"),P("week",5),P("isoWeek",5),Q("w",/\d\d?/),Q("ww",/\d\d?/,/\d\d/),Q("W",/\d\d?/),Q("WW",/\d\d?/,/\d\d/),re(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=x(e)});var ni={dow:0,doy:6};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"),q("day","d"),q("weekday","e"),q("isoWeekday","E"),P("day",11),P("weekday",11),P("isoWeekday",11),Q("d",/\d\d?/),Q("e",/\d\d?/),Q("E",/\d\d?/),Q("dd",function(e,t){return t.weekdaysMinRegex(e)}),Q("ddd",function(e,t){return t.weekdaysShortRegex(e)}),Q("dddd",function(e,t){return t.weekdaysRegex(e)}),re(["dd","ddd","dddd"],function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:p(n).invalidWeekday=e}),re(["d","e","E"],function(e,t,n,r){t[r]=x(e)});var ri="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),ii="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),oi="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ai=zr,si=zr,li=zr;Y("H",["HH",2],0,"hour"),Y("h",["hh",2],0,Be),Y("k",["kk",2],0,We),Y("hmm",0,0,function(){return""+Be.apply(this)+V(this.minutes(),2)}),Y("hmmss",0,0,function(){return""+Be.apply(this)+V(this.minutes(),2)+V(this.seconds(),2)}),Y("Hmm",0,0,function(){return""+this.hours()+V(this.minutes(),2)}),Y("Hmmss",0,0,function(){return""+this.hours()+V(this.minutes(),2)+V(this.seconds(),2)}),Ve("a",!0),Ve("A",!1),q("hour","h"),P("hour",13),Q("a",Ye),Q("A",Ye),Q("H",/\d\d?/),Q("h",/\d\d?/),Q("HH",/\d\d?/,/\d\d/),Q("hh",/\d\d?/,/\d\d/),Q("hmm",/\d\d\d\d?/),Q("hmmss",/\d\d\d\d\d\d?/),Q("Hmm",/\d\d\d\d?/),Q("Hmmss",/\d\d\d\d\d\d?/),ne(["H","HH"],Hr),ne(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ne(["h","hh"],function(e,t,n){t[Hr]=x(e),p(n).bigHour=!0}),ne("hmm",function(e,t,n){var r=e.length-2;t[Hr]=x(e.substr(0,r)),t[Br]=x(e.substr(r)),p(n).bigHour=!0}),ne("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[Hr]=x(e.substr(0,r)),t[Br]=x(e.substr(r,2)),t[Wr]=x(e.substr(i)),p(n).bigHour=!0}),ne("Hmm",function(e,t,n){var r=e.length-2;t[Hr]=x(e.substr(0,r)),t[Br]=x(e.substr(r))}),ne("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[Hr]=x(e.substr(0,r)),t[Br]=x(e.substr(r,2)),t[Wr]=x(e.substr(i))});var ci,ui=R("Hours",!0),fi={calendar:Cr,longDateFormat:Sr,invalidDate:"Invalid date",ordinal:"%d",ordinalParse:/\d{1,2}/,relativeTime:Er,months:Jr,monthsShort:Qr,week:ni,weekdays:ri,weekdaysMin:oi,weekdaysShort:ii,meridiemParse:/[ap]\.?m?\.?/i},di={},pi={},hi=/^\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)?)?$/,mi=/^\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)?)?$/,gi=/Z|[+-]\d\d(?::?\d\d)?/,vi=[["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}/]],yi=[["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/]],bi=/^\/?Date\((\-?\d+)/i;n.createFromInputFallback=$("value provided is not in a recognized ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),n.ISO_8601=function(){};var _i=$("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=bt.apply(null,arguments);return this.isValid()&&e.isValid()?ethis?this:e:m()}),wi=function(){return Date.now?Date.now():+new Date};St("Z",":"),St("ZZ",""),Q("Z",qr),Q("ZZ",qr),ne(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Et(qr,e)});var ki=/([\+\-]|\d\d)/gi;n.updateOffset=function(){};var $i=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Ci=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;Rt.fn=kt.prototype;var Si=Wt(1,"add"),Ei=Wt(-1,"subtract");n.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",n.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Ai=$("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}),En("gggg","weekYear"),En("ggggg","weekYear"),En("GGGG","isoWeekYear"),En("GGGGG","isoWeekYear"),q("weekYear","gg"),q("isoWeekYear","GG"),P("weekYear",1),P("isoWeekYear",1),Q("G",/[+-]?\d+/),Q("g",/[+-]?\d+/),Q("GG",/\d\d?/,/\d\d/),Q("gg",/\d\d?/,/\d\d/),Q("GGGG",/\d{1,4}/,/\d{4}/),Q("gggg",/\d{1,4}/,/\d{4}/),Q("GGGGG",/[+-]?\d{1,6}/,Fr),Q("ggggg",/[+-]?\d{1,6}/,Fr),re(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=x(e)}),re(["gg","GG"],function(e,t,r,i){t[i]=n.parseTwoDigitYear(e)}),Y("Q",0,"Qo","quarter"),q("quarter","Q"),P("quarter",7),Q("Q",/\d/),ne("Q",function(e,t){t[Rr]=3*(x(e)-1)}),Y("D",["DD",2],"Do","date"),q("date","D"),P("date",9),Q("D",/\d\d?/),Q("DD",/\d\d?/,/\d\d/),Q("Do",function(e,t){return e?t._ordinalParse:t._ordinalParseLenient}),ne(["D","DD"],Ur),ne("Do",function(e,t){t[Ur]=x(e.match(/\d\d?/)[0],10)});var Ti=R("Date",!0);Y("DDD",["DDDD",3],"DDDo","dayOfYear"),q("dayOfYear","DDD"),P("dayOfYear",4),Q("DDD",/\d{1,3}/),Q("DDDD",/\d{3}/),ne(["DDD","DDDD"],function(e,t,n){n._dayOfYear=x(e)}),Y("m",["mm",2],0,"minute"),q("minute","m"),P("minute",14),Q("m",/\d\d?/),Q("mm",/\d\d?/,/\d\d/),ne(["m","mm"],Br);var Mi=R("Minutes",!1);Y("s",["ss",2],0,"second"),q("second","s"),P("second",15),Q("s",/\d\d?/),Q("ss",/\d\d?/,/\d\d/),ne(["s","ss"],Wr);var Di=R("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()}),q("millisecond","ms"),P("millisecond",16),Q("S",/\d{1,3}/,/\d/),Q("SS",/\d{1,3}/,/\d\d/),Q("SSS",/\d{1,3}/,/\d{3}/);var Li;for(Li="SSSS";Li.length<=9;Li+="S")Q(Li,/\d+/);for(Li="S";Li.length<=9;Li+="S")ne(Li,qn);var Oi=R("Milliseconds",!1);Y("z",0,0,"zoneAbbr"),Y("zz",0,0,"zoneName");var Fi=y.prototype;Fi.add=Si,Fi.calendar=Gt,Fi.clone=Zt,Fi.diff=nn,Fi.endOf=gn,Fi.format=ln,Fi.from=cn,Fi.fromNow=un,Fi.to=fn,Fi.toNow=dn,Fi.get=B,Fi.invalidAt=Cn,Fi.isAfter=Kt,Fi.isBefore=Jt,Fi.isBetween=Qt,Fi.isSame=Xt,Fi.isSameOrAfter=en,Fi.isSameOrBefore=tn,Fi.isValid=kn,Fi.lang=Ai,Fi.locale=pn,Fi.localeData=hn,Fi.max=xi,Fi.min=_i,Fi.parsingFlags=$n,Fi.set=W,Fi.startOf=mn,Fi.subtract=Ei,Fi.toArray=_n,Fi.toObject=xn,Fi.toDate=bn,Fi.toISOString=an,Fi.inspect=sn,Fi.toJSON=wn,Fi.toString=on,Fi.unix=yn,Fi.valueOf=vn,Fi.creationData=Sn,Fi.year=ti,Fi.isLeapYear=ye,Fi.weekYear=An,Fi.isoWeekYear=Tn,Fi.quarter=Fi.quarters=Fn,Fi.month=fe,Fi.daysInMonth=de,Fi.week=Fi.weeks=Ae,Fi.isoWeek=Fi.isoWeeks=Te,Fi.weeksInYear=Dn,Fi.isoWeeksInYear=Mn,Fi.date=Ti,Fi.day=Fi.days=ze,Fi.weekday=Ie,Fi.isoWeekday=Pe,Fi.dayOfYear=Nn,Fi.hour=Fi.hours=ui,Fi.minute=Fi.minutes=Mi,Fi.second=Fi.seconds=Di,Fi.millisecond=Fi.milliseconds=Oi,Fi.utcOffset=Mt,Fi.utc=Lt,Fi.local=Ot,Fi.parseZone=Ft,Fi.hasAlignedHourOffset=Nt,Fi.isDST=qt,Fi.isLocal=It,Fi.isUtcOffset=Pt,Fi.isUtc=jt,Fi.isUTC=jt,Fi.zoneAbbr=zn,Fi.zoneName=In,Fi.dates=$("dates accessor is deprecated. Use date instead.",Ti),Fi.months=$("months accessor is deprecated. Use month instead",fe),Fi.years=$("years accessor is deprecated. Use year instead",ti),Fi.zone=$("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Dt),Fi.isDSTShifted=$("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",zt);var Ni=T.prototype;Ni.calendar=M,Ni.longDateFormat=D,Ni.invalidDate=L,Ni.ordinal=O,Ni.preparse=Rn,Ni.postformat=Rn,Ni.relativeTime=F,Ni.pastFuture=N,Ni.set=E,Ni.months=ae,Ni.monthsShort=se,Ni.monthsParse=ce,Ni.monthsRegex=he,Ni.monthsShortRegex=pe,Ni.week=Ce,Ni.firstDayOfYear=Ee,Ni.firstDayOfWeek=Se,Ni.weekdays=Le,Ni.weekdaysMin=Fe,Ni.weekdaysShort=Oe,Ni.weekdaysParse=qe,Ni.weekdaysRegex=je,Ni.weekdaysShortRegex=Re,Ni.weekdaysMinRegex=Ue,Ni.isPM=Ge,Ni.meridiem=Ze,Xe("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===x(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),n.lang=$("moment.lang is deprecated. Use moment.locale instead.",Xe),n.langData=$("moment.langData is deprecated. Use moment.localeData instead.",nt) -;var qi=Math.abs,zi=ar("ms"),Ii=ar("s"),Pi=ar("m"),ji=ar("h"),Ri=ar("d"),Ui=ar("w"),Hi=ar("M"),Bi=ar("y"),Wi=lr("milliseconds"),Vi=lr("seconds"),Yi=lr("minutes"),Gi=lr("hours"),Zi=lr("days"),Ki=lr("months"),Ji=lr("years"),Qi=Math.round,Xi={s:45,m:45,h:22,d:26,M:11},eo=Math.abs,to=kt.prototype;return to.abs=Kn,to.add=Qn,to.subtract=Xn,to.as=ir,to.asMilliseconds=zi,to.asSeconds=Ii,to.asMinutes=Pi,to.asHours=ji,to.asDays=Ri,to.asWeeks=Ui,to.asMonths=Hi,to.asYears=Bi,to.valueOf=or,to._bubble=tr,to.get=sr,to.milliseconds=Wi,to.seconds=Vi,to.minutes=Yi,to.hours=Gi,to.days=Zi,to.weeks=cr,to.months=Ki,to.years=Ji,to.humanize=hr,to.toISOString=mr,to.toString=mr,to.toJSON=mr,to.locale=pn,to.localeData=hn,to.toIsoString=$("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",mr),to.lang=Ai,Y("X",0,0,"unix"),Y("x",0,0,"valueOf"),Q("x",/[+-]?\d+/),Q("X",/[+-]?\d+(\.\d{1,3})?/),ne("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),ne("x",function(e,t,n){n._d=new Date(x(e))}),n.version="2.17.1",function(e){gr=e}(bt),n.fn=Fi,n.min=xt,n.max=wt,n.now=wi,n.utc=f,n.unix=Pn,n.months=Wn,n.isDate=s,n.locale=Xe,n.invalid=m,n.duration=Rt,n.isMoment=b,n.weekdays=Yn,n.parseZone=jn,n.localeData=nt,n.isDuration=$t,n.monthsShort=Vn,n.weekdaysMin=Zn,n.defineLocale=et,n.updateLocale=tt,n.locales=rt,n.weekdaysShort=Gn,n.normalizeUnits=z,n.relativeTimeRounding=dr,n.relativeTimeThreshold=pr,n.calendarFormat=Yt,n.prototype=Fi,n})},{}],127:[function(e,t,n){function r(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function o(e){if(f===setTimeout)return setTimeout(e,0);if((f===r||!f)&&setTimeout)return f=setTimeout,setTimeout(e,0);try{return f(e,0)}catch(t){try{return f.call(null,e,0)}catch(t){return f.call(this,e,0)}}}function a(e){if(d===clearTimeout)return clearTimeout(e);if((d===i||!d)&&clearTimeout)return d=clearTimeout,clearTimeout(e);try{return d(e)}catch(t){try{return d.call(null,e)}catch(t){return d.call(this,e)}}}function s(){g&&h&&(g=!1,h.length?m=h.concat(m):v=-1,m.length&&l())}function l(){if(!g){var e=o(s);g=!0;for(var t=m.length;t;){for(h=m,m=[];++v1)for(var n=1;n1&&(r=n[0]+"@",e=n[1]),e=e.replace(L,"."),r+o(e.split("."),t).join(".")}function s(e){for(var t,n,r=[],i=0,o=e.length;i=55296&&t<=56319&&i65535&&(e-=65536,t+=q(e>>>10&1023|55296),e=56320|1023&e),t+=q(e)}).join("")}function c(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:w}function u(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function f(e,t,n){var r=0;for(e=n?N(e/S):e>>1,e+=N(e/t);e>F*$>>1;r+=w)e=N(e/F);return N(r+(F+1)*e/(e+C))}function d(e){var t,n,r,o,a,s,u,d,p,h,m=[],g=e.length,v=0,y=A,b=E;for(n=e.lastIndexOf(T),n<0&&(n=0),r=0;r=128&&i("not-basic"),m.push(e.charCodeAt(r));for(o=n>0?n+1:0;o=g&&i("invalid-input"),d=c(e.charCodeAt(o++)),(d>=w||d>N((x-v)/s))&&i("overflow"),v+=d*s,p=u<=b?k:u>=b+$?$:u-b,!(dN(x/h)&&i("overflow"),s*=h;t=m.length+1,b=f(v-a,t,0==a),N(v/t)>x-y&&i("overflow"),y+=N(v/t),v%=t,m.splice(v++,0,y)}return l(m)}function p(e){var t,n,r,o,a,l,c,d,p,h,m,g,v,y,b,_=[];for(e=s(e),g=e.length,t=A,n=0,a=E,l=0;l=t&&mN((x-n)/v)&&i("overflow"),n+=(c-t)*v,t=c,l=0;lx&&i("overflow"),m==t){for(d=n,p=w;h=p<=a?k:p>=a+$?$:p-a,!(d= 0x80 (not a basic code point)","invalid-input":"Invalid input"},F=w-k,N=Math.floor,q=String.fromCharCode;if(b={version:"1.4.1",ucs2:{decode:s,encode:l},decode:d,encode:p,toASCII:m,toUnicode:h},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",function(){return b});else if(g&&v)if(t.exports==g)v.exports=b;else for(_ in b)b.hasOwnProperty(_)&&(g[_]=b[_]);else r.punycode=b}(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],129:[function(e,t,n){function r(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName)e.focus(),e.setSelectionRange(0,e.value.length),t=e.value;else{e.hasAttribute("contenteditable")&&e.focus();var n=window.getSelection(),r=document.createRange();r.selectNodeContents(e),n.removeAllRanges(),n.addRange(r),t=n.toString()}return t}t.exports=r},{}],130:[function(e,t,n){function r(){}r.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){function r(){i.off(e,r),t.apply(n,arguments)}var i=this;return r._=t,this.on(e,r,n)},emit:function(e){var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,i=n.length;for(r;r-1)return e.splice(n,1)}}function a(e,t){return ki.call(e,t)}function s(e){return"string"==typeof e||"number"==typeof e}function l(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}function c(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n}function u(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function f(e,t){for(var n in t)e[n]=t[n];return e}function d(e){return null!==e&&"object"==typeof e}function p(e){return Ei.call(e)===Ai}function h(e){for(var t={},n=0;n=0&&uo[n].id>e.id;)n--;uo.splice(Math.max(n,mo)+1,0,e)}else uo.push(e);po||(po=!0,Vi(me))}}function ve(e){yo.clear(),ye(e,yo)}function ye(e,t){var n,r,i=Array.isArray(e);if((i||d(e))&&Object.isExtensible(e)){if(e.__ob__){var o=e.__ob__.dep.id;if(t.has(o))return;t.add(o)}if(i)for(n=e.length;n--;)ye(e[n],t);else for(r=Object.keys(e),n=r.length;n--;)ye(e[r[n]],t)}}function be(e,t,n){bo.get=function(){return this[t][n]},bo.set=function(e){this[t][n]=e},Object.defineProperty(e,n,bo)}function _e(e){e._watchers=[];var t=e.$options;t.props&&xe(e,t.props),t.methods&&Ee(e,t.methods),t.data?we(e):E(e._data={},!0),t.computed&&$e(e,t.computed),t.watch&&Ae(e,t.watch)}function xe(e,t){var n=e.$options.propsData||{},r=e._props={},i=e.$options._propKeys=[],o=!e.$parent;eo.shouldConvert=o;for(var a in t)!function(o){i.push(o);var a=P(o,t,n,e);A(r,o,a),o in e||be(e,"_props",o)}(a);eo.shouldConvert=!0}function we(e){var t=e.$options.data;t=e._data="function"==typeof t?ke(t,e):t||{},p(t)||(t={});for(var n=Object.keys(t),r=e.$options.props,i=n.length;i--;)r&&a(r,n[i])||b(n[i])||be(e,"_data",n[i]);E(t,!0)}function ke(e,t){try{return e.call(t)}catch(e){return H(e,t,"data()"),{}}}function $e(e,t){var n=e._computedWatchers=Object.create(null);for(var r in t){var i=t[r],o="function"==typeof i?i:i.get;n[r]=new vo(e,o,m,_o),r in e||Ce(e,r,i)}}function Ce(e,t,n){"function"==typeof n?(bo.get=Se(t),bo.set=m):(bo.get=n.get?!1!==n.cache?Se(t):n.get:m,bo.set=n.set?n.set:m),Object.defineProperty(e,t,bo)}function Se(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),Zi.target&&t.depend(),t.value}}function Ee(e,t){e.$options.props;for(var n in t)e[n]=null==t[n]?m:c(t[n],e)}function Ae(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var i=0;i-1:e instanceof RegExp&&e.test(t)}function pt(e,t){for(var n in e){var r=e[n];if(r){var i=ft(r.componentOptions);i&&!t(i)&&(ht(r),e[n]=null)}}}function ht(e){e&&(e.componentInstance._inactive||pe(e.componentInstance,"deactivated"),e.componentInstance.$destroy())}function mt(e){for(var t=e.data,n=e,r=e;r.componentInstance;)r=r.componentInstance._vnode,r.data&&(t=gt(r.data,t));for(;n=n.parent;)n.data&&(t=gt(t,n.data));return vt(t)}function gt(e,t){return{staticClass:yt(e.staticClass,t.staticClass),class:e.class?[e.class,t.class]:t.class}}function vt(e){var t=e.class,n=e.staticClass;return n||t?yt(n,bt(t)):""}function yt(e,t){return e?t?e+" "+t:e:t||""}function bt(e){var t="";if(!e)return t;if("string"==typeof e)return e;if(Array.isArray(e)){for(var n,r=0,i=e.length;r-1?Jo[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Jo[e]=/HTMLUnknownElement/.test(t.toString())}function wt(e){if("string"==typeof e){var t=document.querySelector(e);return t||document.createElement("div")}return e}function kt(e,t){var n=document.createElement(e);return"select"!==e?n:(t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)}function $t(e,t){return document.createElementNS(Vo[e],t)}function Ct(e){return document.createTextNode(e)}function St(e){return document.createComment(e)}function Et(e,t,n){e.insertBefore(t,n)}function At(e,t){e.removeChild(t)}function Tt(e,t){e.appendChild(t)}function Mt(e){return e.parentNode}function Dt(e){return e.nextSibling}function Lt(e){return e.tagName}function Ot(e,t){e.textContent=t}function Ft(e,t,n){e.setAttribute(t,n)}function Nt(e,t){var n=e.data.ref;if(n){var r=e.context,i=e.componentInstance||e.elm,a=r.$refs;t?Array.isArray(a[n])?o(a[n],i):a[n]===i&&(a[n]=void 0):e.data.refInFor?Array.isArray(a[n])&&a[n].indexOf(i)<0?a[n].push(i):a[n]=[i]:a[n]=i}}function qt(e){return void 0===e||null===e}function zt(e){return void 0!==e&&null!==e}function It(e){return!0===e}function Pt(e,t){return e.key===t.key&&e.tag===t.tag&&e.isComment===t.isComment&&zt(e.data)===zt(t.data)&&jt(e,t)}function jt(e,t){if("input"!==e.tag)return!0;var n;return(zt(n=e.data)&&zt(n=n.attrs)&&n.type)===(zt(n=t.data)&&zt(n=n.attrs)&&n.type)}function Rt(e,t,n){var r,i,o={};for(r=t;r<=n;++r)i=e[r].key,zt(i)&&(o[i]=r);return o}function Ut(e,t){(e.data.directives||t.data.directives)&&Ht(e,t)}function Ht(e,t){var n,r,i,o=e===ea,a=t===ea,s=Bt(e.data.directives,e.context),l=Bt(t.data.directives,t.context),c=[],u=[];for(n in l)r=s[n],i=l[n],r?(i.oldValue=r.value,Vt(i,"update",t,e),i.def&&i.def.componentUpdated&&u.push(i)):(Vt(i,"bind",t,e),i.def&&i.def.inserted&&c.push(i));if(c.length){var f=function(){for(var n=0;n=0&&" "===(g=e.charAt(m));m--);g&&sa.test(g)||(u=!0)}}else void 0===o?(h=i+1,o=e.slice(0,i).trim()):t();if(void 0===o?o=e.slice(0,i).trim():0!==h&&t(),a)for(i=0;i=To}function dn(e){return 34===e||39===e}function pn(e){var t=1;for(Oo=Lo;!fn();)if(e=un(),dn(e))hn(e);else if(91===e&&t++,93===e&&t--,0===t){Fo=Lo;break}}function hn(e){for(var t=e;!fn()&&(e=un())!==t;);}function mn(e,t,n){No=n;var r=t.value,i=t.modifiers,o=e.tag,a=e.attrsMap.type;if("select"===o)yn(e,r,i);else if("input"===o&&"checkbox"===a)gn(e,r,i);else if("input"===o&&"radio"===a)vn(e,r,i);else if("input"===o||"textarea"===o)bn(e,r,i);else if(!Di.isReservedTag(o))return sn(e,r,i),!1;return!0}function gn(e,t,n){var r=n&&n.number,i=on(e,"value")||"null",o=on(e,"true-value")||"true",a=on(e,"false-value")||"false";en(e,"checked","Array.isArray("+t+")?_i("+t+","+i+")>-1"+("true"===o?":("+t+")":":_q("+t+","+o+")")),rn(e,ca,"var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+a+");if(Array.isArray($$a)){var $$v="+(r?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$c){$$i<0&&("+t+"=$$a.concat($$v))}else{$$i>-1&&("+t+"=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{"+t+"=$$c}",null,!0)}function vn(e,t,n){var r=n&&n.number,i=on(e,"value")||"null";i=r?"_n("+i+")":i,en(e,"checked","_q("+t+","+i+")"),rn(e,ca,ln(t,i),null,!0)}function yn(e,t,n){var r=n&&n.number,i='Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(r?"_n(val)":"val")+"})",o="var $$selectedVal = "+i+";";o=o+" "+ln(t,"$event.target.multiple ? $$selectedVal : $$selectedVal[0]"),rn(e,"change",o,null,!0)}function bn(e,t,n){var r=e.attrsMap.type,i=n||{},o=i.lazy,a=i.number,s=i.trim,l=!o&&"range"!==r,c=o?"change":"range"===r?la:"input",u="$event.target.value";s&&(u="$event.target.value.trim()"),a&&(u="_n("+u+")");var f=ln(t,u);l&&(f="if($event.target.composing)return;"+f),en(e,"value","("+t+")"),rn(e,c,f,null,!0),(s||a||"number"===r)&&rn(e,"blur","$forceUpdate()")}function _n(e){var t;e[la]&&(t=zi?"change":"input",e[t]=[].concat(e[la],e[t]||[]),delete e[la]),e[ca]&&(t=Ui?"click":"change",e[t]=[].concat(e[ca],e[t]||[]),delete e[ca])}function xn(e,t,n,r){if(n){var i=t,o=qo;t=function(n){null!==(1===arguments.length?i(n):i.apply(null,arguments))&&wn(e,t,r,o)}}qo.addEventListener(e,t,r)}function wn(e,t,n,r){(r||qo).removeEventListener(e,t,n)}function kn(e,t){if(e.data.on||t.data.on){var n=t.data.on||{},r=e.data.on||{};qo=t.elm,_n(n),G(n,r,xn,wn,t.context)}}function $n(e,t){if(e.data.domProps||t.data.domProps){var n,r,i=t.elm,o=e.data.domProps||{},a=t.data.domProps||{};a.__ob__&&(a=t.data.domProps=f({},a));for(n in o)null==a[n]&&(i[n]="");for(n in a)if(r=a[n],"textContent"!==n&&"innerHTML"!==n||(t.children&&(t.children.length=0),r!==o[n]))if("value"===n){i._value=r;var s=null==r?"":String(r);Cn(i,t,s)&&(i.value=s)}else i[n]=r}}function Cn(e,t,n){return!e.composing&&("option"===t.tag||Sn(e,n)||En(e,n))}function Sn(e,t){return document.activeElement!==e&&e.value!==t}function En(e,t){var n=e.value,i=e._vModifiers;return i&&i.number||"number"===e.type?r(n)!==r(t):i&&i.trim?n.trim()!==t.trim():n!==t}function An(e){var t=Tn(e.style);return e.staticStyle?f(e.staticStyle,t):t}function Tn(e){return Array.isArray(e)?h(e):"string"==typeof e?da(e):e}function Mn(e,t){var n,r={};if(t)for(var i=e;i.componentInstance;)i=i.componentInstance._vnode,i.data&&(n=An(i.data))&&f(r,n);(n=An(e.data))&&f(r,n);for(var o=e;o=o.parent;)o.data&&(n=An(o.data))&&f(r,n);return r}function Dn(e,t){var n=t.data,r=e.data;if(n.staticStyle||n.style||r.staticStyle||r.style){var i,o,a=t.elm,s=e.data.staticStyle,l=e.data.style||{},c=s||l,u=Tn(t.data.style)||{};t.data.style=u.__ob__?f({},u):u;var d=Mn(t,!0);for(o in c)null==d[o]&&ma(a,o,"");for(o in d)(i=d[o])!==c[o]&&ma(a,o,null==i?"":i)}}function Ln(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(/\s+/).forEach(function(t){return e.classList.add(t)}):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function On(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(/\s+/).forEach(function(t){return e.classList.remove(t)}):e.classList.remove(t);else{for(var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");e.setAttribute("class",n.trim())}}function Fn(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&f(t,ba(e.name||"v")),f(t,e),t}return"string"==typeof e?ba(e):void 0}}function Nn(e){Ea(function(){Ea(e)})}function qn(e,t){(e._transitionClasses||(e._transitionClasses=[])).push(t),Ln(e,t)}function zn(e,t){e._transitionClasses&&o(e._transitionClasses,t),On(e,t)}function In(e,t,n){var r=Pn(e,t),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===xa?$a:Sa,l=0,c=function(){e.removeEventListener(s,u),n()},u=function(t){t.target===e&&++l>=a&&c()};setTimeout(function(){l0&&(n=xa,u=a,f=o.length):t===wa?c>0&&(n=wa,u=c,f=l.length):(u=Math.max(a,c),n=u>0?a>c?xa:wa:null,f=n?n===xa?o.length:l.length:0),{type:n,timeout:u,propCount:f,hasTransform:n===xa&&Aa.test(r[ka+"Property"])}}function jn(e,t){for(;e.length1}function Vn(e,t){t.data.show||Un(t)}function Yn(e,t,n){var r=t.value,i=e.multiple;if(!i||Array.isArray(r)){for(var o,a,s=0,l=e.options.length;s-1,a.selected!==o&&(a.selected=o);else if(g(Zn(a),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));i||(e.selectedIndex=-1)}}function Gn(e,t){for(var n=0,r=t.length;n=0&&a[i].lowerCasedTag!==s;i--);else i=0;if(i>=0){for(var l=a.length-1;l>=i;l--)t.end&&t.end(a[l].tag,n,r);a.length=i,o=i&&a[i-1].tag}else"br"===s?t.start&&t.start(e,[],!0,n,r):"p"===s&&(t.start&&t.start(e,[],!1,n,r),t.end&&t.end(e,n,r))}for(var i,o,a=[],s=t.expectHTML,l=t.isUnaryTag||Ti,c=t.canBeLeftOpenTag||Ti,u=0;e;){if(i=e,o&&_s(o)){var f=o.toLowerCase(),d=xs[f]||(xs[f]=new RegExp("([\\s\\S]*?)(]*>)","i")),p=0,h=e.replace(d,function(e,n,r){return p=r.length,_s(f)||"noscript"===f||(n=n.replace(//g,"$1").replace(//g,"$1")),t.chars&&t.chars(n),""});u+=e.length-h.length,e=h,r(f,u-p,u)}else{var m=e.indexOf("<");if(0===m){if(Xa.test(e)){var g=e.indexOf("--\x3e");if(g>=0){n(g+3);continue}}if(es.test(e)){var v=e.indexOf("]>");if(v>=0){n(v+2);continue}}var y=e.match(Qa);if(y){n(y[0].length);continue}var b=e.match(Ja);if(b){var _=u;n(b[0].length),r(b[1],_,u);continue}var x=function(){var t=e.match(Za);if(t){var r={tagName:t[1],attrs:[],start:u};n(t[0].length);for(var i,o;!(i=e.match(Ka))&&(o=e.match(Ya));)n(o[0].length),r.attrs.push(o);if(i)return r.unarySlash=i[1],n(i[0].length),r.end=u,r}}();if(x){!function(e){var n=e.tagName,i=e.unarySlash;s&&("p"===o&&Wa(n)&&r(o),c(n)&&o===n&&r(n));for(var u=l(n)||"html"===n&&"head"===o||!!i,f=e.attrs.length,d=new Array(f),p=0;p=0){for(k=e.slice(m);!(Ja.test(k)||Za.test(k)||Xa.test(k)||es.test(k)||($=k.indexOf("<",1))<0);)m+=$,k=e.slice(m);w=e.substring(0,m),n(m)}m<0&&(w=e,e=""),t.chars&&w&&t.chars(w)}if(e===i){t.chars&&t.chars(e);break}}r()}function fr(e,t){var n=t?Ss(t):Cs;if(n.test(e)){for(var r,i,o=[],a=n.lastIndex=0;r=n.exec(e);){i=r.index,i>a&&o.push(JSON.stringify(e.slice(a,i)));var s=Kt(r[1].trim());o.push("_s("+s+")"),a=i+r[0].length}return a0,Pi=qi&&qi.indexOf("edge/")>0,ji=qi&&qi.indexOf("android")>0,Ri=qi&&/iphone|ipad|ipod|ios/.test(qi),Ui=qi&&/chrome\/\d+/.test(qi)&&!Pi,Hi=function(){return void 0===_i&&(_i=!Ni&&void 0!==e&&"server"===e.process.env.VUE_ENV),_i},Bi=Ni&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,Wi="undefined"!=typeof Symbol&&w(Symbol)&&"undefined"!=typeof Reflect&&w(Reflect.ownKeys),Vi=function(){function e(){r=!1;var e=n.slice(0);n.length=0;for(var t=0;t1?u(n):n;for(var r=u(arguments,1),i=0,o=n.length;i1&&(t[n[0].trim()]=n[1].trim())}}),t}),pa=/^--/,ha=/\s*!important$/,ma=function(e,t,n){pa.test(t)?e.style.setProperty(t,n):ha.test(n)?e.style.setProperty(t,n.replace(ha,""),"important"):e.style[va(t)]=n},ga=["Webkit","Moz","ms"],va=l(function(e){if(zo=zo||document.createElement("div"),"filter"!==(e=$i(e))&&e in zo.style)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=0;nd?(c=qt(n[g+1])?null:n[g+1].elm,m(e,c,n,f,g,r)):f>g&&v(e,t,u,d)}function _(e,t,n,r){if(e!==t){if(It(t.isStatic)&&It(e.isStatic)&&t.key===e.key&&(It(t.isCloned)||It(t.isOnce)))return t.elm=e.elm,void(t.componentInstance=e.componentInstance);var i,o=t.data;zt(o)&&zt(i=o.hook)&&zt(i=i.prepatch)&&i(e,t);var a=t.elm=e.elm,s=e.children,l=t.children;if(zt(o)&&d(t)){for(i=0;i',n.innerHTML.indexOf(t)>0}("\n"," "),Ha=i("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),Ba=i("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),Wa=i("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),Va=[/"([^"]*)"+/.source,/'([^']*)'+/.source,/([^\s"'=<>`]+)/.source],Ya=new RegExp("^\\s*"+/([^\s"'<>\/=]+)/.source+"(?:\\s*("+/(?:=)/.source+")\\s*(?:"+Va.join("|")+"))?"),Ga="[a-zA-Z_][\\w\\-\\.]*",Za=new RegExp("^<((?:"+Ga+"\\:)?"+Ga+")"),Ka=/^\s*(\/?)>/,Ja=new RegExp("^<\\/((?:"+Ga+"\\:)?"+Ga+")[^>]*>"),Qa=/^]+>/i,Xa=/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(i.source+"\\s*$"),/^$/,!1]];t.exports=function(e,t,n,r){var i,a,s,l,c=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(c))return!1;for(l=e.src.slice(c,u),i=0;i=4)return!1;for(d=e.parentType,e.parentType="paragraph";p3)){if(e.sCount[p]>=e.blkIndent&&(l=e.bMarks[p]+e.tShift[p],c=e.eMarks[p],l=c))){u=61===f?1:2;break}if(!(e.sCount[p]<0)){for(i=!1,o=0,a=h.length;o=o)return-1;if((n=e.src.charCodeAt(i++))<48||n>57)return-1;for(;;){if(i>=o)return-1;n=e.src.charCodeAt(i++);{if(!(n>=48&&n<=57)){if(41===n||46===n)break;return-1}if(i-r>=10)return-1}}return i=4)return!1;if(s&&"paragraph"===e.parentType&&e.tShift[t]>=e.blkIndent&&(P=!0),(M=i(e,t))>=0){if(h=!0,L=e.bMarks[t]+e.tShift[t],b=Number(e.src.substr(L,M-L-1)),P&&1!==b)return!1}else{if(!((M=r(e,t))>=0))return!1;h=!1}if(P&&e.skipSpaces(M)>=e.eMarks[t])return!1;if(_=e.src.charCodeAt(M-1),s)return!0;for(y=e.tokens.length,h?(F=e.push("ordered_list_open","ol",1),1!==b&&(F.attrs=[["start",b]])):F=e.push("bullet_list_open","ul",1),F.map=v=[t,0],F.markup=String.fromCharCode(_),w=t,D=!1,j=e.md.block.ruler.getRules("list"),S=e.parentType,e.parentType="list";w=x?1:k-p,d>4&&(d=1),f=p+d,F=e.push("list_item_open","li",1),F.markup=String.fromCharCode(_),F.map=m=[t,0],$=e.blkIndent,T=e.tight,E=e.tShift[t],C=e.sCount[t],e.blkIndent=f,e.tight=!0,e.tShift[t]=c-e.bMarks[t],e.sCount[t]=k,c>=x&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,t,n,!0),e.tight&&!D||(N=!1),D=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=$,e.tShift[t]=E,e.sCount[t]=C,e.tight=T,F=e.push("list_item_close","li",-1),F.markup=String.fromCharCode(_),w=t=e.line,m[1]=w,c=e.bMarks[t],w>=n)break;if(e.sCount[w]3||e.sCount[l]<0)){for(r=!1,i=0,o=c.length;i=4)return!1;if(91!==e.src.charCodeAt(k))return!1;for(;++k<$;)if(93===e.src.charCodeAt(k)&&92!==e.src.charCodeAt(k-1)){if(k+1===$)return!1;if(58!==e.src.charCodeAt(k+1))return!1;break}for(c=e.lineMax,b=e.md.block.ruler.getRules("reference"),m=e.parentType,e.parentType="reference";C3||e.sCount[C]<0)){for(_=!1,f=0,d=b.length;f0&&this.level++,this.tokens.push(r),r},r.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},r.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;et;)if(!o(this.src.charCodeAt(--e)))return e+1;return e},r.prototype.skipChars=function(e,t){for(var n=this.src.length;en;)if(t!==this.src.charCodeAt(--e))return e+1;return e},r.prototype.getLines=function(e,t,n,r){var i,a,s,l,c,u,f,d=e;if(e>=t)return"";for(u=new Array(t-e),i=0;dn?new Array(a-n+1).join(" ")+this.src.slice(l,c):this.src.slice(l,c)}return u.join("")},r.prototype.Token=i,t.exports=r},{"../common/utils":367,"../token":414}],392:[function(e,t,n){"use strict";function r(e,t){var n=e.bMarks[t]+e.blkIndent,r=e.eMarks[t];return e.src.substr(n,r-n)}function i(e){var t,n=[],r=0,i=e.length,o=0,a=0,s=!1,l=0;for(t=e.charCodeAt(r);rn)return!1;if(f=t+1,e.sCount[f]=4)return!1;if((c=e.bMarks[f]+e.tShift[f])>=e.eMarks[f])return!1;if(124!==(s=e.src.charCodeAt(c++))&&45!==s&&58!==s)return!1;for(;c=4)return!1;if(d=i(l.replace(/^\||\|$/g,"")),(p=d.length)>m.length)return!1;if(a)return!0;for(h=e.push("table_open","table",1),h.map=v=[t,0],h=e.push("thead_open","thead",1),h.map=[t,t+1],h=e.push("tr_open","tr",1),h.map=[t,t+1],u=0;u=4);f++){for(d=i(l.replace(/^\||\|$/g,"")),h=e.push("tr_open","tr",1),u=0;u\s]/i.test(e)}function i(e){return/^<\/a\s*>/i.test(e)}var o=e("../common/utils").arrayReplaceAt;t.exports=function(e){var t,n,a,s,l,c,u,f,d,p,h,m,g,v,y,_,b,x=e.tokens;if(e.md.options.linkify)for(n=0,a=x.length;n=0;t--)if(c=s[t],"link_close"!==c.type){if("html_inline"===c.type&&(r(c.content)&&g>0&&g--,i(c.content)&&g++),!(g>0)&&"text"===c.type&&e.md.linkify.test(c.content)){for(d=c.content,b=e.md.linkify.match(d),u=[],m=c.level,h=0,f=0;fh&&(l=new e.Token("text","",0),l.content=d.slice(h,p),l.level=m,u.push(l)),l=new e.Token("link_open","a",1),l.attrs=[["href",y]],l.level=m++,l.markup="linkify",l.info="auto",u.push(l),l=new e.Token("text","",0),l.content=_,l.level=m,u.push(l),l=new e.Token("link_close","a",-1),l.level=--m,l.markup="linkify",l.info="auto",u.push(l),h=b[f].lastIndex);h=0;t--)n=e[t],"text"!==n.type||i||(n.content=n.content.replace(l,r)),"link_open"===n.type&&"auto"===n.info&&i--,"link_close"===n.type&&"auto"===n.info&&i++}function o(e){var t,n,r=0;for(t=e.length-1;t>=0;t--)n=e[t],"text"!==n.type||r||a.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/gm,"$1—$2").replace(/(^|\s)--(\s|$)/gm,"$1–$2").replace(/(^|[^-\s])--([^-\s]|$)/gm,"$1–$2")),"link_open"===n.type&&"auto"===n.info&&r--,"link_close"===n.type&&"auto"===n.info&&r++}var a=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,s=/\((c|tm|r|p)\)/i,l=/\((c|tm|r|p)\)/gi,c={c:"©",r:"®",p:"§",tm:"™"};t.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&(s.test(e.tokens[t].content)&&i(e.tokens[t].children),a.test(e.tokens[t].content)&&o(e.tokens[t].children))}},{}],398:[function(e,t,n){"use strict";function r(e,t,n){return e.substr(0,t)+n+e.substr(t+1)}function i(e,t){var n,i,l,f,d,p,h,m,g,v,y,_,b,x,w,k,$,C,S,E,T;for(S=[],n=0;n=0&&!(S[$].level<=h);$--);if(S.length=$+1,"text"===i.type){l=i.content,d=0,p=l.length;e:for(;d=0)g=l.charCodeAt(f.index-1);else for($=n-1;$>=0;$--)if("text"===e[$].type){g=e[$].content.charCodeAt(e[$].content.length-1);break}if(v=32,d=48&&g<=57&&(k=w=!1),w&&k&&(w=!1,k=_),w||k){if(k)for($=S.length-1;$>=0&&(m=S[$],!(S[$].level=0;t--)"inline"===e.tokens[t].type&&l.test(e.tokens[t].content)&&i(e.tokens[t].children,e)}},{"../common/utils":367}],399:[function(e,t,n){"use strict";function r(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}var i=e("../token");r.prototype.Token=i,t.exports=r},{"../token":414}],400:[function(e,t,n){"use strict";var r=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,i=/^<([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)>/;t.exports=function(e,t){var n,o,a,s,l,c,u=e.pos;return 60===e.src.charCodeAt(u)&&(n=e.src.slice(u),!(n.indexOf(">")<0)&&(i.test(n)?(o=n.match(i),s=o[0].slice(1,-1),l=e.md.normalizeLink(s),!!e.md.validateLink(l)&&(t||(c=e.push("link_open","a",1),c.attrs=[["href",l]],c.markup="autolink",c.info="auto",c=e.push("text","",0),c.content=e.md.normalizeLinkText(s),c=e.push("link_close","a",-1),c.markup="autolink",c.info="auto"),e.pos+=o[0].length,!0)):!!r.test(n)&&(a=n.match(r),s=a[0].slice(1,-1),l=e.md.normalizeLink("mailto:"+s),!!e.md.validateLink(l)&&(t||(c=e.push("link_open","a",1),c.attrs=[["href",l]],c.markup="autolink",c.info="auto",c=e.push("text","",0),c.content=e.md.normalizeLinkText(s),c=e.push("link_close","a",-1),c.markup="autolink",c.info="auto"),e.pos+=a[0].length,!0))))}},{}],401:[function(e,t,n){"use strict";t.exports=function(e,t){var n,r,i,o,a,s,l=e.pos;if(96!==e.src.charCodeAt(l))return!1;for(n=l,l++,r=e.posMax;l=0;){if(i=o[n],i.open&&i.marker===r.marker&&i.end<0&&i.level===r.level){var s=(i.close||r.open)&&void 0!==i.length&&void 0!==r.length&&(i.length+r.length)%3==0;if(!s){r.jump=t-n,r.open=!1,i.end=t,i.jump=0;break}}n-=i.jump+1}}},{}],403:[function(e,t,n){"use strict";t.exports.tokenize=function(e,t){var n,r,i,o=e.pos,a=e.src.charCodeAt(o);if(t)return!1;if(95!==a&&42!==a)return!1;for(r=e.scanDelims(e.pos,42===a),n=0;n?@[]^_`{|}~-".split("").forEach(function(e){i[e.charCodeAt(0)]=1}),t.exports=function(e,t){var n,o=e.pos,a=e.posMax;if(92!==e.src.charCodeAt(o))return!1;if(++o=97&&t<=122}var i=e("../common/html_re").HTML_TAG_RE;t.exports=function(e,t){var n,o,a,s,l=e.pos;return!!e.md.options.html&&(a=e.posMax,!(60!==e.src.charCodeAt(l)||l+2>=a)&&(!(33!==(n=e.src.charCodeAt(l+1))&&63!==n&&47!==n&&!r(n))&&(!!(o=e.src.slice(l).match(i))&&(t||(s=e.push("html_inline","",0),s.content=e.src.slice(l,l+o[0].length)),e.pos+=o[0].length,!0))))}},{"../common/html_re":366}],407:[function(e,t,n){"use strict";var r=e("../common/utils").normalizeReference,i=e("../common/utils").isSpace;t.exports=function(e,t){var n,o,a,s,l,c,u,f,d,p,h,m,g,v="",y=e.pos,_=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(c=e.pos+2,(l=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((u=l+1)<_&&40===e.src.charCodeAt(u)){for(u++;u<_&&(o=e.src.charCodeAt(u),i(o)||10===o);u++);if(u>=_)return!1;for(g=u,d=e.md.helpers.parseLinkDestination(e.src,u,e.posMax),d.ok&&(v=e.md.normalizeLink(d.str),e.md.validateLink(v)?u=d.pos:v=""),g=u;u<_&&(o=e.src.charCodeAt(u),i(o)||10===o);u++);if(d=e.md.helpers.parseLinkTitle(e.src,u,e.posMax),u<_&&g!==u&&d.ok)for(p=d.str,u=d.pos;u<_&&(o=e.src.charCodeAt(u),i(o)||10===o);u++);else p="";if(u>=_||41!==e.src.charCodeAt(u))return e.pos=y,!1;u++}else{if(void 0===e.env.references)return!1;if(u<_&&91===e.src.charCodeAt(u)?(g=u+1,u=e.md.helpers.parseLinkLabel(e,u),u>=0?s=e.src.slice(g,u++):u=l+1):u=l+1,s||(s=e.src.slice(c,l)),!(f=e.env.references[r(s)]))return e.pos=y,!1;v=f.href,p=f.title}return t||(a=e.src.slice(c,l),e.md.inline.parse(a,e.md,e.env,m=[]),h=e.push("image","img",0),h.attrs=n=[["src",v],["alt",""]],h.children=m,h.content=a,p&&n.push(["title",p])),e.pos=u,e.posMax=_,!0}},{"../common/utils":367}],408:[function(e,t,n){"use strict";var r=e("../common/utils").normalizeReference,i=e("../common/utils").isSpace;t.exports=function(e,t){var n,o,a,s,l,c,u,f,d,p,h="",m=e.pos,g=e.posMax,v=e.pos,y=!0;if(91!==e.src.charCodeAt(e.pos))return!1;if(l=e.pos+1,(s=e.md.helpers.parseLinkLabel(e,e.pos,!0))<0)return!1;if((c=s+1)=g)return!1;for(v=c,u=e.md.helpers.parseLinkDestination(e.src,c,e.posMax),u.ok&&(h=e.md.normalizeLink(u.str),e.md.validateLink(h)?c=u.pos:h=""),v=c;c=g||41!==e.src.charCodeAt(c))&&(y=!0),c++}if(y){if(void 0===e.env.references)return!1;if(c=0?a=e.src.slice(v,c++):c=s+1):c=s+1,a||(a=e.src.slice(l,s)),!(f=e.env.references[r(a)]))return e.pos=m,!1;h=f.href,d=f.title}return t||(e.pos=l,e.posMax=s,p=e.push("link_open","a",1),p.attrs=n=[["href",h]],d&&n.push(["title",d]),e.md.inline.tokenize(e),p=e.push("link_close","a",-1)),e.pos=c,e.posMax=g,!0}},{"../common/utils":367}],409:[function(e,t,n){"use strict";var r=e("../common/utils").isSpace;t.exports=function(e,t){var n,i,o=e.pos;if(10!==e.src.charCodeAt(o))return!1;for(n=e.pending.length-1,i=e.posMax,t||(n>=0&&32===e.pending.charCodeAt(n)?n>=1&&32===e.pending.charCodeAt(n-1)?(e.pending=e.pending.replace(/ +$/,""),e.push("hardbreak","br",0)):(e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0)):e.push("softbreak","br",0)),o++;o0&&this.level++,this.pendingLevel=this.level,this.tokens.push(r),r},r.prototype.scanDelims=function(e,t){var n,r,i,l,c,u,f,d,p,h=e,m=!0,g=!0,v=this.posMax,y=this.src.charCodeAt(e);for(n=e>0?this.src.charCodeAt(e-1):32;h=0&&(n=this.attrs[t][1]),n}, +r.prototype.attrJoin=function(e,t){var n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=this.attrs[n][1]+" "+t},t.exports=r},{}],415:[function(e,t,n){"use strict";function r(e){var t,n,r=o[e];if(r)return r;for(r=o[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),r.push(n);for(t=0;t=55296&&l<=57343?"���":String.fromCharCode(l),t+=6):240==(248&i)&&t+91114111?c+="����":(l-=65536,c+=String.fromCharCode(55296+(l>>10),56320+(1023&l))),t+=9):c+="�";return c})}var o={};i.defaultChars=";/?:@&=+$,#",i.componentChars="",t.exports=i},{}],416:[function(e,t,n){"use strict";function r(e){var t,n,r=o[e];if(r)return r;for(r=o[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),/^[0-9a-z]$/i.test(n)?r.push(n):r.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t=55296&&s<=57343){if(s>=55296&&s<=56319&&o+1=56320&&l<=57343){u+=encodeURIComponent(e[o]+e[o+1]),o++;continue}u+="%EF%BF%BD"}else u+=encodeURIComponent(e[o]);return u}var o={};i.defaultChars=";/?:@&=+$,-_.!~*'()#",i.componentChars="-_.!~*'()",t.exports=i},{}],417:[function(e,t,n){"use strict";t.exports=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""}},{}],418:[function(e,t,n){"use strict";t.exports.encode=e("./encode"),t.exports.decode=e("./decode"),t.exports.format=e("./format"),t.exports.parse=e("./parse")},{"./decode":415,"./encode":416,"./format":417,"./parse":419}],419:[function(e,t,n){"use strict";function r(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}function i(e,t){if(e&&e instanceof r)return e;var n=new r;return n.parse(e,t),n}var o=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,s=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,l=["<",">",'"',"`"," ","\r","\n","\t"],c=["{","}","|","\\","^","`"].concat(l),u=["'"].concat(c),f=["%","/","?",";","#"].concat(u),d=["/","?","#"],p={javascript:!0,"javascript:":!0},h={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};r.prototype.parse=function(e,t){var n,r,i,a,l,c=e;if(c=c.trim(),!t&&1===e.split("#").length){var u=s.exec(c);if(u)return this.pathname=u[1],u[2]&&(this.search=u[2]),this}var m=o.exec(c);if(m&&(m=m[0],i=m.toLowerCase(),this.protocol=m,c=c.substr(m.length)),(t||m||c.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(l="//"===c.substr(0,2))||m&&p[m]||(c=c.substr(2),this.slashes=!0)),!p[m]&&(l||m&&!h[m])){var g=-1;for(n=0;n127?k+="x":k+=w[$];if(!k.match(/^[+a-z0-9A-Z_-]{0,63}$/)){var S=x.slice(0,n),E=x.slice(n+1),T=w.match(/^([+a-z0-9A-Z_-]{0,63})(.*)$/);T&&(S.push(T[1]),E.unshift(T[2])),E.length&&(c=E.join(".")+c),this.hostname=S.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),b&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var A=c.indexOf("#");-1!==A&&(this.hash=c.substr(A),c=c.slice(0,A));var M=c.indexOf("?");return-1!==M&&(this.search=c.substr(M),c=c.slice(0,M)),c&&(this.pathname=c),h[i]&&this.hostname&&!this.pathname&&(this.pathname=""),this},r.prototype.parseHost=function(e){var t=a.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},t.exports=i},{}],420:[function(e,t,n){!function(r,i){"object"==typeof n&&void 0!==t&&"function"==typeof e?i(e("../moment")):"function"==typeof define&&define.amd?define(["../moment"],i):i(r.moment)}(this,function(e){"use strict";return e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{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"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})})},{"../moment":421}],421:[function(e,t,n){!function(e,r){"object"==typeof n&&void 0!==t?t.exports=r():"function"==typeof define&&define.amd?define(r):e.moment=r()}(this,function(){"use strict";function n(){return gr.apply(null,arguments)}function r(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function i(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function o(e){var t;for(t in e)return!1;return!0}function a(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function s(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function l(e,t){var n,r=[];for(n=0;n0)for(n in _r)r=_r[n],i=t[r],g(i)||(e[r]=i);return e}function y(e){v(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===br&&(br=!0,n.updateOffset(this),br=!1)}function _(e){return e instanceof y||null!=e&&null!=e._isAMomentObject}function b(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function x(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=b(t)),n}function w(e,t,n){var r,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(r=0;r0?"future":"past"];return S(n)?n(t):n.replace(/%s/i,t)}function P(e,t){var n=e.toLowerCase();Tr[n]=Tr[n+"s"]=Tr[t]=e}function N(e){return"string"==typeof e?Tr[e]||Tr[e.toLowerCase()]:void 0}function I(e){var t,n,r={};for(n in e)c(e,n)&&(t=N(n))&&(r[t]=e[n]);return r}function q(e,t){Ar[e]=t}function z(e){var t=[];for(var n in e)t.push({unit:n,priority:Ar[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}function R(e,t){return function(r){return null!=r?(B(this,e,r),n.updateOffset(this,t),this):U(this,e)}}function U(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function B(e,t,n){e.isValid()&&e._d["set"+(e._isUTC?"UTC":"")+t](n)}function H(e){return e=N(e),S(this[e])?this[e]():this}function W(e,t){if("object"==typeof e){e=I(e);for(var n=z(e),r=0;r=0?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&&(Or[e]=i),t&&(Or[t[0]]=function(){return V(i.apply(this,arguments),t[1],t[2])}),n&&(Or[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function G(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function Z(e){var t,n,r=e.match(Mr);for(t=0,n=r.length;t=0&&Dr.test(e);)e=e.replace(Dr,n),Dr.lastIndex=0,r-=1;return e}function X(e,t,n){Ir[e]=S(t)?t:function(e,r){return e&&n?n:t}}function Q(e,t){return c(Ir,e)?Ir[e](t._strict,t._locale):new RegExp(ee(e))}function ee(e){return te(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i}))}function te(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function ne(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),a(t)&&(r=function(e,n){n[t]=x(e)}),n=0;n=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}function be(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function xe(e,t,n){var r=7+t-n;return-(7+be(e,0,r).getUTCDay()-t)%7+r-1}function we(e,t,n,r,i){var o,a,s=(7+n-r)%7,l=xe(e,r,i),c=1+7*(t-1)+s+l;return c<=0?(o=e-1,a=ge(o)+c):c>ge(e)?(o=e+1,a=c-ge(e)):(o=e,a=c),{year:o,dayOfYear:a}}function ke(e,t,n){var r,i,o=xe(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return a<1?(i=e.year()-1,r=a+$e(i,t,n)):a>$e(e.year(),t,n)?(r=a-$e(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function $e(e,t,n){var r=xe(e,t,n),i=xe(e+1,t,n);return(ge(e)-r+i)/7}function Ce(e){return ke(e,this._week.dow,this._week.doy).week}function Se(){return this._week.dow}function Ee(){return this._week.doy}function Te(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Ae(e){var t=ke(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Me(e,t){return"string"!=typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"==typeof e?e:null):parseInt(e,10)}function De(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Le(e,t){return e?r(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:this._weekdays}function Oe(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort}function je(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Fe(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=f([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?(i=Zr.call(this._weekdaysParse,a),-1!==i?i:null):"ddd"===t?(i=Zr.call(this._shortWeekdaysParse,a),-1!==i?i:null):(i=Zr.call(this._minWeekdaysParse,a),-1!==i?i:null):"dddd"===t?-1!==(i=Zr.call(this._weekdaysParse,a))?i:-1!==(i=Zr.call(this._shortWeekdaysParse,a))?i:(i=Zr.call(this._minWeekdaysParse,a),-1!==i?i:null):"ddd"===t?-1!==(i=Zr.call(this._shortWeekdaysParse,a))?i:-1!==(i=Zr.call(this._weekdaysParse,a))?i:(i=Zr.call(this._minWeekdaysParse,a),-1!==i?i:null):-1!==(i=Zr.call(this._minWeekdaysParse,a))?i:-1!==(i=Zr.call(this._weekdaysParse,a))?i:(i=Zr.call(this._shortWeekdaysParse,a),-1!==i?i:null)}function Pe(e,t,n){var r,i,o;if(this._weekdaysParseExact)return Fe.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=f([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 Ne(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Me(e,this.localeData()),this.add(e-t,"d")):t}function Ie(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 qe(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=De(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function ze(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Be.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(c(this,"_weekdaysRegex")||(this._weekdaysRegex=ai),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Re(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Be.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(c(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=si),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Ue(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Be.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(c(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=li),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Be(){function e(e,t){return t.length-e.length}var t,n,r,i,o,a=[],s=[],l=[],c=[];for(t=0;t<7;t++)n=f([2e3,1]).day(t),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),o=this.weekdays(n,""),a.push(r),s.push(i),l.push(o),c.push(r),c.push(i),c.push(o);for(a.sort(e),s.sort(e),l.sort(e),c.sort(e),t=0;t<7;t++)s[t]=te(s[t]),l[t]=te(l[t]),c[t]=te(c[t]);this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function He(){return this.hours()%12||12}function We(){return this.hours()||24}function Ve(e,t){Y(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function Ye(e,t){return t._meridiemParse}function Ge(e){return"p"===(e+"").toLowerCase().charAt(0)}function Ze(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}function Ke(e){return e?e.toLowerCase().replace("_","-"):e}function Je(e){for(var t,n,r,i,o=0;o0;){if(r=Xe(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&w(i,n,!0)>=t-1)break;t--}o++}return null}function Xe(n){var r=null;if(!di[n]&&void 0!==t&&t&&t.exports)try{r=ci._abbr,e("./locale/"+n),Qe(r)}catch(e){}return di[n]}function Qe(e,t){var n;return e&&(n=g(t)?nt(e):et(e,t))&&(ci=n),ci._abbr}function et(e,t){if(null!==t){var n=fi;if(t.abbr=e,null!=di[e])C("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=di[e]._config;else if(null!=t.parentLocale){if(null==di[t.parentLocale])return pi[t.parentLocale]||(pi[t.parentLocale]=[]),pi[t.parentLocale].push({name:e,config:t}),null;n=di[t.parentLocale]._config}return di[e]=new A(T(n,t)),pi[e]&&pi[e].forEach(function(e){et(e.name,e.config)}),Qe(e),di[e]}return delete di[e],null}function tt(e,t){if(null!=t){var n,r=fi;null!=di[e]&&(r=di[e]._config),t=T(r,t),n=new A(t),n.parentLocale=di[e],di[e]=n,Qe(e)}else null!=di[e]&&(null!=di[e].parentLocale?di[e]=di[e].parentLocale:null!=di[e]&&delete di[e]);return di[e]}function nt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return ci;if(!r(e)){if(t=Xe(e))return t;e=[e]}return Je(e)}function rt(){return $r(di)}function it(e){var t,n=e._a;return n&&-2===p(e).overflow&&(t=n[Rr]<0||n[Rr]>11?Rr:n[Ur]<1||n[Ur]>oe(n[zr],n[Rr])?Ur:n[Br]<0||n[Br]>24||24===n[Br]&&(0!==n[Hr]||0!==n[Wr]||0!==n[Vr])?Br:n[Hr]<0||n[Hr]>59?Hr:n[Wr]<0||n[Wr]>59?Wr:n[Vr]<0||n[Vr]>999?Vr:-1,p(e)._overflowDayOfYear&&(tUr)&&(t=Ur),p(e)._overflowWeeks&&-1===t&&(t=Yr),p(e)._overflowWeekday&&-1===t&&(t=Gr),p(e).overflow=t),e}function ot(e){var t,n,r,i,o,a,s=e._i,l=hi.exec(s)||mi.exec(s);if(l){for(p(e).iso=!0,t=0,n=vi.length;tge(i)&&(p(e)._overflowDayOfYear=!0),n=be(i,0,e._dayOfYear),e._a[Rr]=n.getUTCMonth(),e._a[Ur]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=o[t]=r[t];for(;t<7;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Br]&&0===e._a[Hr]&&0===e._a[Wr]&&0===e._a[Vr]&&(e._nextDay=!0,e._a[Br]=0),e._d=(e._useUTC?be:_e).apply(null,o),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Br]=24)}}function ut(e){var t,n,r,i,o,a,s,l;if(t=e._w,null!=t.GG||null!=t.W||null!=t.E)o=1,a=4,n=st(t.GG,e._a[zr],ke(_t(),1,4).year),r=st(t.W,1),((i=st(t.E,1))<1||i>7)&&(l=!0);else{o=e._locale._week.dow,a=e._locale._week.doy;var c=ke(_t(),o,a);n=st(t.gg,e._a[zr],c.year),r=st(t.w,c.week),null!=t.d?((i=t.d)<0||i>6)&&(l=!0):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(l=!0)):i=o}r<1||r>$e(n,o,a)?p(e)._overflowWeeks=!0:null!=l?p(e)._overflowWeekday=!0:(s=we(n,r,i,o,a),e._a[zr]=s.year,e._dayOfYear=s.dayOfYear)}function ft(e){if(e._f===n.ISO_8601)return void ot(e);e._a=[],p(e).empty=!0;var t,r,i,o,a,s=""+e._i,l=s.length,c=0;for(i=J(e._f,e._locale).match(Mr)||[],t=0;t0&&p(e).unusedInput.push(a),s=s.slice(s.indexOf(r)+r.length),c+=r.length),Or[o]?(r?p(e).empty=!1:p(e).unusedTokens.push(o),ie(o,r,e)):e._strict&&!r&&p(e).unusedTokens.push(o);p(e).charsLeftOver=l-c,s.length>0&&p(e).unusedInput.push(s),e._a[Br]<=12&&!0===p(e).bigHour&&e._a[Br]>0&&(p(e).bigHour=void 0),p(e).parsedDateParts=e._a.slice(0),p(e).meridiem=e._meridiem,e._a[Br]=dt(e._locale,e._a[Br],e._meridiem),ct(e),it(e)}function dt(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(r=e.isPM(n),r&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function pt(e){var t,n,r,i,o;if(0===e._f.length)return p(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;ithis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Nt(){if(!g(this._isDSTShifted))return this._isDSTShifted;var e={};if(v(e,this),e=gt(e),e._a){var t=e._isUTC?f(e._a):_t(e._a);this._isDSTShifted=this.isValid()&&w(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function It(){return!!this.isValid()&&!this._isUTC}function qt(){return!!this.isValid()&&this._isUTC}function zt(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function Rt(e,t){var n,r,i,o=e,s=null;return $t(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:a(e)?(o={},t?o[t]=e:o.milliseconds=e):(s=$i.exec(e))?(n="-"===s[1]?-1:1,o={y:0,d:x(s[Ur])*n,h:x(s[Br])*n,m:x(s[Hr])*n,s:x(s[Wr])*n,ms:x(Ct(1e3*s[Vr]))*n}):(s=Ci.exec(e))?(n="-"===s[1]?-1:1,o={y:Ut(s[2],n),M:Ut(s[3],n),w:Ut(s[4],n),d:Ut(s[5],n),h:Ut(s[6],n),m:Ut(s[7],n),s:Ut(s[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(i=Ht(_t(o.from),_t(o.to)),o={},o.ms=i.milliseconds,o.M=i.months),r=new kt(o),$t(e)&&c(e,"_locale")&&(r._locale=e._locale),r}function Ut(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Bt(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 Ht(e,t){var n;return e.isValid()&&t.isValid()?(t=Tt(t,e),e.isBefore(t)?n=Bt(e,t):(n=Bt(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0, +months:0}}function Wt(e,t){return function(n,r){var i,o;return null===r||isNaN(+r)||(C(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),n="string"==typeof n?+n:n,i=Rt(n,r),Vt(this,i,e),this}}function Vt(e,t,r,i){var o=t._milliseconds,a=Ct(t._days),s=Ct(t._months);e.isValid()&&(i=null==i||i,o&&e._d.setTime(e._d.valueOf()+o*r),a&&B(e,"Date",U(e,"Date")+a*r),s&&ue(e,U(e,"Month")+s*r),i&&n.updateOffset(e,a||s))}function Yt(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Gt(e,t){var r=e||_t(),i=Tt(r,this).startOf("day"),o=n.calendarFormat(this,i)||"sameElse",a=t&&(S(t[o])?t[o].call(this,r):t[o]);return this.format(a||this.localeData().calendar(o,this,_t(r)))}function Zt(){return new y(this)}function Kt(e,t){var n=_(e)?e:_t(e);return!(!this.isValid()||!n.isValid())&&(t=N(g(t)?"millisecond":t),"millisecond"===t?this.valueOf()>n.valueOf():n.valueOf()o&&(t=o),On.call(this,e,t,n,r,i))}function On(e,t,n,r,i){var o=we(e,t,n,r,i),a=be(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function jn(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function Fn(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 Pn(e,t){t[Vr]=x(1e3*("0."+e))}function Nn(){return this._isUTC?"UTC":""}function In(){return this._isUTC?"Coordinated Universal Time":""}function qn(e){return _t(1e3*e)}function zn(){return _t.apply(null,arguments).parseZone()}function Rn(e){return e}function Un(e,t,n,r){var i=nt(),o=f().set(r,t);return i[n](o,e)}function Bn(e,t,n){if(a(e)&&(t=e,e=void 0),e=e||"",null!=t)return Un(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=Un(e,r,n,"month");return i}function Hn(e,t,n,r){"boolean"==typeof e?(a(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,a(t)&&(n=t,t=void 0),t=t||"");var i=nt(),o=e?i._week.dow:0;if(null!=n)return Un(t,(n+o)%7,r,"day");var s,l=[];for(s=0;s<7;s++)l[s]=Un(t,(s+o)%7,r,"day");return l}function Wn(e,t){return Bn(e,t,"months")}function Vn(e,t){return Bn(e,t,"monthsShort")}function Yn(e,t,n){return Hn(e,t,n,"weekdays")}function Gn(e,t,n){return Hn(e,t,n,"weekdaysShort")}function Zn(e,t,n){return Hn(e,t,n,"weekdaysMin")}function Kn(){var e=this._data;return this._milliseconds=Pi(this._milliseconds),this._days=Pi(this._days),this._months=Pi(this._months),e.milliseconds=Pi(e.milliseconds),e.seconds=Pi(e.seconds),e.minutes=Pi(e.minutes),e.hours=Pi(e.hours),e.months=Pi(e.months),e.years=Pi(e.years),this}function Jn(e,t,n,r){var i=Rt(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function Xn(e,t){return Jn(this,e,t,1)}function Qn(e,t){return Jn(this,e,t,-1)}function er(e){return e<0?Math.floor(e):Math.ceil(e)}function tr(){var e,t,n,r,i,o=this._milliseconds,a=this._days,s=this._months,l=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*er(rr(s)+a),a=0,s=0),l.milliseconds=o%1e3,e=b(o/1e3),l.seconds=e%60,t=b(e/60),l.minutes=t%60,n=b(t/60),l.hours=n%24,a+=b(n/24),i=b(nr(a)),s+=i,a-=er(rr(i)),r=b(s/12),s%=12,l.days=a,l.months=s,l.years=r,this}function nr(e){return 4800*e/146097}function rr(e){return 146097*e/4800}function ir(e){var t,n,r=this._milliseconds;if("month"===(e=N(e))||"year"===e)return t=this._days+r/864e5,n=this._months+nr(t),"month"===e?n:n/12;switch(t=this._days+Math.round(rr(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 or(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*x(this._months/12)}function ar(e){return function(){return this.as(e)}}function sr(e){return e=N(e),this[e+"s"]()}function lr(e){return function(){return this._data[e]}}function cr(){return b(this.days()/7)}function ur(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function fr(e,t,n){var r=Rt(e).abs(),i=Xi(r.as("s")),o=Xi(r.as("m")),a=Xi(r.as("h")),s=Xi(r.as("d")),l=Xi(r.as("M")),c=Xi(r.as("y")),u=i0,u[4]=n,ur.apply(null,u)}function dr(e){return void 0===e?Xi:"function"==typeof e&&(Xi=e,!0)}function pr(e,t){return void 0!==Qi[e]&&(void 0===t?Qi[e]:(Qi[e]=t,!0))}function hr(e){var t=this.localeData(),n=fr(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function mr(){var e,t,n,r=eo(this._milliseconds)/1e3,i=eo(this._days),o=eo(this._months);e=b(r/60),t=b(e/60),r%=60,e%=60,n=b(o/12),o%=12;var a=n,s=o,l=i,c=t,u=e,f=r,d=this.asSeconds();return d?(d<0?"-":"")+"P"+(a?a+"Y":"")+(s?s+"M":"")+(l?l+"D":"")+(c||u||f?"T":"")+(c?c+"H":"")+(u?u+"M":"")+(f?f+"S":""):"P0D"}var gr,vr;vr=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;r68?1900:2e3)};var ti=R("FullYear",!0);Y("w",["ww",2],"wo","week"),Y("W",["WW",2],"Wo","isoWeek"),P("week","w"),P("isoWeek","W"),q("week",5),q("isoWeek",5),X("w",/\d\d?/),X("ww",/\d\d?/,/\d\d/),X("W",/\d\d?/),X("WW",/\d\d?/,/\d\d/),re(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=x(e)});var ni={dow:0,doy:6};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("day",11),q("weekday",11),q("isoWeekday",11),X("d",/\d\d?/),X("e",/\d\d?/),X("E",/\d\d?/),X("dd",function(e,t){return t.weekdaysMinRegex(e)}),X("ddd",function(e,t){return t.weekdaysShortRegex(e)}),X("dddd",function(e,t){return t.weekdaysRegex(e)}),re(["dd","ddd","dddd"],function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:p(n).invalidWeekday=e}),re(["d","e","E"],function(e,t,n,r){t[r]=x(e)});var ri="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),ii="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),oi="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ai=Nr,si=Nr,li=Nr;Y("H",["HH",2],0,"hour"),Y("h",["hh",2],0,He),Y("k",["kk",2],0,We),Y("hmm",0,0,function(){return""+He.apply(this)+V(this.minutes(),2)}),Y("hmmss",0,0,function(){return""+He.apply(this)+V(this.minutes(),2)+V(this.seconds(),2)}),Y("Hmm",0,0,function(){return""+this.hours()+V(this.minutes(),2)}),Y("Hmmss",0,0,function(){return""+this.hours()+V(this.minutes(),2)+V(this.seconds(),2)}),Ve("a",!0),Ve("A",!1),P("hour","h"),q("hour",13),X("a",Ye),X("A",Ye),X("H",/\d\d?/),X("h",/\d\d?/),X("HH",/\d\d?/,/\d\d/),X("hh",/\d\d?/,/\d\d/),X("hmm",/\d\d\d\d?/),X("hmmss",/\d\d\d\d\d\d?/),X("Hmm",/\d\d\d\d?/),X("Hmmss",/\d\d\d\d\d\d?/),ne(["H","HH"],Br),ne(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ne(["h","hh"],function(e,t,n){t[Br]=x(e),p(n).bigHour=!0}),ne("hmm",function(e,t,n){var r=e.length-2;t[Br]=x(e.substr(0,r)),t[Hr]=x(e.substr(r)),p(n).bigHour=!0}),ne("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[Br]=x(e.substr(0,r)),t[Hr]=x(e.substr(r,2)),t[Wr]=x(e.substr(i)),p(n).bigHour=!0}),ne("Hmm",function(e,t,n){var r=e.length-2;t[Br]=x(e.substr(0,r)),t[Hr]=x(e.substr(r))}),ne("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[Br]=x(e.substr(0,r)),t[Hr]=x(e.substr(r,2)),t[Wr]=x(e.substr(i))});var ci,ui=R("Hours",!0),fi={calendar:Cr,longDateFormat:Sr,invalidDate:"Invalid date",ordinal:"%d",ordinalParse:/\d{1,2}/,relativeTime:Er,months:Jr,monthsShort:Xr,week:ni,weekdays:ri,weekdaysMin:oi,weekdaysShort:ii,meridiemParse:/[ap]\.?m?\.?/i},di={},pi={},hi=/^\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)?)?$/,mi=/^\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)?)?$/,gi=/Z|[+-]\d\d(?::?\d\d)?/,vi=[["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}/]],yi=[["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/]],_i=/^\/?Date\((\-?\d+)/i;n.createFromInputFallback=$("value provided is not in a recognized ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),n.ISO_8601=function(){};var bi=$("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=_t.apply(null,arguments);return this.isValid()&&e.isValid()?ethis?this:e:m()}),wi=function(){return Date.now?Date.now():+new Date};St("Z",":"),St("ZZ",""),X("Z",Pr),X("ZZ",Pr),ne(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Et(Pr,e)});var ki=/([\+\-]|\d\d)/gi;n.updateOffset=function(){};var $i=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Ci=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;Rt.fn=kt.prototype;var Si=Wt(1,"add"),Ei=Wt(-1,"subtract");n.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",n.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Ti=$("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}),En("gggg","weekYear"),En("ggggg","weekYear"),En("GGGG","isoWeekYear"),En("GGGGG","isoWeekYear"),P("weekYear","gg"),P("isoWeekYear","GG"),q("weekYear",1),q("isoWeekYear",1),X("G",/[+-]?\d+/),X("g",/[+-]?\d+/),X("GG",/\d\d?/,/\d\d/),X("gg",/\d\d?/,/\d\d/),X("GGGG",/\d{1,4}/,/\d{4}/),X("gggg",/\d{1,4}/,/\d{4}/),X("GGGGG",/[+-]?\d{1,6}/,jr),X("ggggg",/[+-]?\d{1,6}/,jr),re(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=x(e)}),re(["gg","GG"],function(e,t,r,i){t[i]=n.parseTwoDigitYear(e)}),Y("Q",0,"Qo","quarter"),P("quarter","Q"),q("quarter",7),X("Q",/\d/),ne("Q",function(e,t){t[Rr]=3*(x(e)-1)}),Y("D",["DD",2],"Do","date"),P("date","D"),q("date",9),X("D",/\d\d?/),X("DD",/\d\d?/,/\d\d/),X("Do",function(e,t){return e?t._ordinalParse:t._ordinalParseLenient}),ne(["D","DD"],Ur),ne("Do",function(e,t){t[Ur]=x(e.match(/\d\d?/)[0],10)});var Ai=R("Date",!0);Y("DDD",["DDDD",3],"DDDo","dayOfYear"),P("dayOfYear","DDD"),q("dayOfYear",4),X("DDD",/\d{1,3}/),X("DDDD",/\d{3}/),ne(["DDD","DDDD"],function(e,t,n){n._dayOfYear=x(e)}),Y("m",["mm",2],0,"minute"),P("minute","m"),q("minute",14),X("m",/\d\d?/),X("mm",/\d\d?/,/\d\d/),ne(["m","mm"],Hr);var Mi=R("Minutes",!1);Y("s",["ss",2],0,"second"),P("second","s"),q("second",15),X("s",/\d\d?/),X("ss",/\d\d?/,/\d\d/),ne(["s","ss"],Wr);var Di=R("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("millisecond",16),X("S",/\d{1,3}/,/\d/),X("SS",/\d{1,3}/,/\d\d/),X("SSS",/\d{1,3}/,/\d{3}/);var Li;for(Li="SSSS";Li.length<=9;Li+="S")X(Li,/\d+/);for(Li="S";Li.length<=9;Li+="S")ne(Li,Pn);var Oi=R("Milliseconds",!1);Y("z",0,0,"zoneAbbr"),Y("zz",0,0,"zoneName");var ji=y.prototype;ji.add=Si,ji.calendar=Gt,ji.clone=Zt,ji.diff=nn,ji.endOf=gn,ji.format=ln,ji.from=cn,ji.fromNow=un,ji.to=fn,ji.toNow=dn,ji.get=H,ji.invalidAt=Cn,ji.isAfter=Kt,ji.isBefore=Jt,ji.isBetween=Xt,ji.isSame=Qt,ji.isSameOrAfter=en,ji.isSameOrBefore=tn,ji.isValid=kn,ji.lang=Ti,ji.locale=pn,ji.localeData=hn,ji.max=xi,ji.min=bi,ji.parsingFlags=$n,ji.set=W,ji.startOf=mn,ji.subtract=Ei,ji.toArray=bn,ji.toObject=xn,ji.toDate=_n,ji.toISOString=an,ji.inspect=sn,ji.toJSON=wn,ji.toString=on,ji.unix=yn,ji.valueOf=vn,ji.creationData=Sn,ji.year=ti,ji.isLeapYear=ye,ji.weekYear=Tn,ji.isoWeekYear=An,ji.quarter=ji.quarters=jn,ji.month=fe,ji.daysInMonth=de,ji.week=ji.weeks=Te,ji.isoWeek=ji.isoWeeks=Ae,ji.weeksInYear=Dn,ji.isoWeeksInYear=Mn,ji.date=Ai,ji.day=ji.days=Ne,ji.weekday=Ie,ji.isoWeekday=qe,ji.dayOfYear=Fn,ji.hour=ji.hours=ui,ji.minute=ji.minutes=Mi,ji.second=ji.seconds=Di,ji.millisecond=ji.milliseconds=Oi,ji.utcOffset=Mt,ji.utc=Lt,ji.local=Ot,ji.parseZone=jt,ji.hasAlignedHourOffset=Ft,ji.isDST=Pt,ji.isLocal=It,ji.isUtcOffset=qt,ji.isUtc=zt,ji.isUTC=zt,ji.zoneAbbr=Nn,ji.zoneName=In,ji.dates=$("dates accessor is deprecated. Use date instead.",Ai),ji.months=$("months accessor is deprecated. Use month instead",fe),ji.years=$("years accessor is deprecated. Use year instead",ti),ji.zone=$("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Dt),ji.isDSTShifted=$("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Nt);var Fi=A.prototype;Fi.calendar=M,Fi.longDateFormat=D,Fi.invalidDate=L,Fi.ordinal=O,Fi.preparse=Rn,Fi.postformat=Rn,Fi.relativeTime=j,Fi.pastFuture=F,Fi.set=E,Fi.months=ae,Fi.monthsShort=se,Fi.monthsParse=ce,Fi.monthsRegex=he,Fi.monthsShortRegex=pe,Fi.week=Ce,Fi.firstDayOfYear=Ee,Fi.firstDayOfWeek=Se,Fi.weekdays=Le,Fi.weekdaysMin=je,Fi.weekdaysShort=Oe,Fi.weekdaysParse=Pe,Fi.weekdaysRegex=ze,Fi.weekdaysShortRegex=Re,Fi.weekdaysMinRegex=Ue,Fi.isPM=Ge,Fi.meridiem=Ze,Qe("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===x(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),n.lang=$("moment.lang is deprecated. Use moment.locale instead.",Qe),n.langData=$("moment.langData is deprecated. Use moment.localeData instead.",nt);var Pi=Math.abs,Ni=ar("ms"),Ii=ar("s"),qi=ar("m"),zi=ar("h"),Ri=ar("d"),Ui=ar("w"),Bi=ar("M"),Hi=ar("y"),Wi=lr("milliseconds"),Vi=lr("seconds"),Yi=lr("minutes"),Gi=lr("hours"),Zi=lr("days"),Ki=lr("months"),Ji=lr("years"),Xi=Math.round,Qi={s:45,m:45,h:22,d:26,M:11},eo=Math.abs,to=kt.prototype;return to.abs=Kn,to.add=Xn,to.subtract=Qn,to.as=ir,to.asMilliseconds=Ni,to.asSeconds=Ii,to.asMinutes=qi,to.asHours=zi,to.asDays=Ri,to.asWeeks=Ui,to.asMonths=Bi,to.asYears=Hi,to.valueOf=or,to._bubble=tr,to.get=sr,to.milliseconds=Wi,to.seconds=Vi,to.minutes=Yi,to.hours=Gi,to.days=Zi,to.weeks=cr,to.months=Ki,to.years=Ji,to.humanize=hr,to.toISOString=mr,to.toString=mr,to.toJSON=mr,to.locale=pn,to.localeData=hn,to.toIsoString=$("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",mr),to.lang=Ti,Y("X",0,0,"unix"),Y("x",0,0,"valueOf"),X("x",/[+-]?\d+/),X("X",/[+-]?\d+(\.\d{1,3})?/),ne("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),ne("x",function(e,t,n){n._d=new Date(x(e))}),n.version="2.17.1",function(e){gr=e}(_t),n.fn=ji,n.min=xt,n.max=wt,n.now=wi,n.utc=f,n.unix=qn,n.months=Wn,n.isDate=s,n.locale=Qe,n.invalid=m,n.duration=Rt,n.isMoment=_,n.weekdays=Yn,n.parseZone=zn,n.localeData=nt,n.isDuration=$t,n.monthsShort=Vn,n.weekdaysMin=Zn,n.defineLocale=et,n.updateLocale=tt,n.locales=rt,n.weekdaysShort=Gn,n.normalizeUnits=N,n.relativeTimeRounding=dr,n.relativeTimeThreshold=pr,n.calendarFormat=Yt,n.prototype=ji,n})},{}],422:[function(e,t,n){function r(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function o(e){if(f===setTimeout)return setTimeout(e,0);if((f===r||!f)&&setTimeout)return f=setTimeout,setTimeout(e,0);try{return f(e,0)}catch(t){try{return f.call(null,e,0)}catch(t){return f.call(this,e,0)}}}function a(e){if(d===clearTimeout)return clearTimeout(e);if((d===i||!d)&&clearTimeout)return d=clearTimeout,clearTimeout(e);try{return d(e)}catch(t){try{return d.call(null,e)}catch(t){return d.call(this,e)}}}function s(){g&&h&&(g=!1,h.length?m=h.concat(m):v=-1,m.length&&l())}function l(){if(!g){var e=o(s);g=!0;for(var t=m.length;t;){for(h=m,m=[];++v1)for(var n=1;n1&&(r=n[0]+"@",e=n[1]),e=e.replace(L,"."),r+o(e.split("."),t).join(".")}function s(e){for(var t,n,r=[],i=0,o=e.length;i=55296&&t<=56319&&i65535&&(e-=65536,t+=P(e>>>10&1023|55296),e=56320|1023&e),t+=P(e)}).join("")}function c(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:w}function u(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function f(e,t,n){var r=0;for(e=n?F(e/S):e>>1,e+=F(e/t);e>j*$>>1;r+=w)e=F(e/j);return F(r+(j+1)*e/(e+C))}function d(e){var t,n,r,o,a,s,u,d,p,h,m=[],g=e.length,v=0,y=T,_=E;for(n=e.lastIndexOf(A),n<0&&(n=0),r=0;r=128&&i("not-basic"),m.push(e.charCodeAt(r));for(o=n>0?n+1:0;o=g&&i("invalid-input"),d=c(e.charCodeAt(o++)),(d>=w||d>F((x-v)/s))&&i("overflow"),v+=d*s,p=u<=_?k:u>=_+$?$:u-_,!(dF(x/h)&&i("overflow"),s*=h;t=m.length+1,_=f(v-a,t,0==a),F(v/t)>x-y&&i("overflow"),y+=F(v/t),v%=t,m.splice(v++,0,y)}return l(m)}function p(e){var t,n,r,o,a,l,c,d,p,h,m,g,v,y,_,b=[];for(e=s(e),g=e.length,t=T,n=0,a=E,l=0;l=t&&mF((x-n)/v)&&i("overflow"),n+=(c-t)*v,t=c,l=0;lx&&i("overflow"),m==t){for(d=n,p=w;h=p<=a?k:p>=a+$?$:p-a,!(d= 0x80 (not a basic code point)","invalid-input":"Invalid input"},j=w-k,F=Math.floor,P=String.fromCharCode;if(_={version:"1.4.1",ucs2:{decode:s,encode:l},decode:d,encode:p,toASCII:m,toUnicode:h},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",function(){return _});else if(g&&v)if(t.exports==g)v.exports=_;else for(b in _)_.hasOwnProperty(b)&&(g[b]=_[b]);else r.punycode=_}(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],424:[function(e,t,n){(function(e,n){!function(n){"use strict";function r(e,t,n,r){var i=t&&t.prototype instanceof o?t:o,a=Object.create(i.prototype),s=new p(r||[]);return a._invoke=u(e,n,s),a}function i(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function o(){}function a(){}function s(){}function l(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function c(t){function n(e,r,o,a){var s=i(t[e],t,r);if("throw"!==s.type){var l=s.arg,c=l.value;return c&&"object"==typeof c&&y.call(c,"__await")?Promise.resolve(c.__await).then(function(e){n("next",e,o,a)},function(e){n("throw",e,o,a)}):Promise.resolve(c).then(function(e){l.value=e,o(l)},a)}a(s.arg)}function r(e,t){function r(){return new Promise(function(r,i){n(e,t,r,i)})}return o=o?o.then(r,r):r()}"object"==typeof e&&e.domain&&(n=e.domain.bind(n));var o;this._invoke=r}function u(e,t,n){var r=$;return function(o,a){if(r===S)throw new Error("Generator is already running");if(r===E){if("throw"===o)throw a;return m()}for(;;){var s=n.delegate;if(s){if("return"===o||"throw"===o&&s.iterator[o]===g){n.delegate=null;var l=s.iterator.return;if(l){var c=i(l,s.iterator,a);if("throw"===c.type){o="throw",a=c.arg;continue}}if("return"===o)continue}var c=i(s.iterator[o],s.iterator,a);if("throw"===c.type){n.delegate=null,o="throw",a=c.arg;continue}o="next",a=g;var u=c.arg;if(!u.done)return r=C,u;n[s.resultName]=u.value,n.next=s.nextLoc,n.delegate=null}if("next"===o)n.sent=n._sent=a;else if("throw"===o){if(r===$)throw r=E,a;n.dispatchException(a)&&(o="next",a=g)}else"return"===o&&n.abrupt("return",a);r=S;var c=i(e,t,n);if("normal"===c.type){r=n.done?E:C;var u={value:c.arg,done:n.done};if(c.arg!==T)return u;n.delegate&&"next"===o&&(a=g)}else"throw"===c.type&&(r=E,o="throw",a=c.arg)}}}function f(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function d(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function p(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(f,this),this.reset(!0)}function h(e){if(e){var t=e[b];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n=0;--r){var i=this.tryEntries[r],o=i.completion;if("root"===i.tryLoc)return t("end");if(i.tryLoc<=this.prev){var a=y.call(i,"catchLoc"),s=y.call(i,"finallyLoc");if(a&&s){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&y.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),d(n),T}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;d(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:h(e),resultName:t,nextLoc:n},T}}}("object"==typeof n?n:"object"==typeof window?window:"object"==typeof self?self:this)}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{_process:422}],425:[function(e,t,n){function r(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName){var n=e.hasAttribute("readonly");n||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),n||e.removeAttribute("readonly"),t=e.value}else{e.hasAttribute("contenteditable")&&e.focus();var r=window.getSelection(),i=document.createRange();i.selectNodeContents(e),r.removeAllRanges(),r.addRange(i),t=r.toString()}return t}t.exports=r},{}],426:[function(e,t,n){!function(e){"use strict";"function"==typeof define&&define.amd?define(e):void 0!==t&&void 0!==t.exports?t.exports=e():window.Sortable=e()}(function(){"use strict";function e(e,t){if(!e||!e.nodeType||1!==e.nodeType)throw"Sortable: `el` must be HTMLElement, and not "+{}.toString.call(e);this.el=e,this.options=t=_({},t),e[W]=this;var n={group:Math.random(),sort:!0,disabled:!1,store:null,handle:null,scroll:!0,scrollSensitivity:30,scrollSpeed:10,draggable:/[uo]l/i.test(e.nodeName)?"li":">*",ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,setData:function(e,t){e.setData("Text",t.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0}};for(var r in n)!(r in t)&&(t[r]=n[r]);ae(t);for(var i in this)"_"===i.charAt(0)&&"function"==typeof this[i]&&(this[i]=this[i].bind(this));this.nativeDraggable=!t.forceFallback&&X,o(e,"mousedown",this._onTapStart),o(e,"touchstart",this._onTapStart),o(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(o(e,"dragover",this),o(e,"dragenter",this)),ie.push(this._onDragOver),t.store&&this.sort(t.store.get(this))}function t(e,t){"clone"!==e.lastPullMode&&(t=!0),C&&C.state!==t&&(l(C,"display",t?"none":""),t||C.state&&(e.options.group.revertClone?(S.insertBefore(C,E),e._animate(w,C)):S.insertBefore(C,w)),C.state=t)}function n(e,t,n){if(e){n=n||Y;do{if(">*"===t&&e.parentNode===n||v(e,t))return e}while(e=r(e))}return null}function r(e){var t=e.host;return t&&t.nodeType?t:e.parentNode}function i(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.preventDefault()}function o(e,t,n){e.addEventListener(t,n,J)}function a(e,t,n){e.removeEventListener(t,n,J)}function s(e,t,n){if(e)if(e.classList)e.classList[n?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(B," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(B," ")}}function l(e,t,n){var r=e&&e.style;if(r){if(void 0===n)return Y.defaultView&&Y.defaultView.getComputedStyle?n=Y.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),void 0===t?n:n[t];t in r||(t="-webkit-"+t),r[t]=n+("string"==typeof n?"":"px")}}function c(e,t,n){if(e){var r=e.getElementsByTagName(t),i=0,o=r.length;if(n)for(;i5||t.clientX-(r.left+r.width)>5}function m(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,r=0;n--;)r+=t.charCodeAt(n);return r.toString(36)}function g(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e&&(e=e.previousElementSibling);)"TEMPLATE"===e.nodeName.toUpperCase()||">*"!==t&&!v(e,t)||n++;return n}function v(e,t){if(e){t=t.split(".");var n=t.shift().toUpperCase(),r=new RegExp("\\s("+t.join("|")+")(?=\\s)","g");return!(""!==n&&e.nodeName.toUpperCase()!=n||t.length&&((" "+e.className+" ").match(r)||[]).length!=t.length)}return!1}function y(e,t){var n,r;return function(){void 0===n&&(n=arguments,r=this,setTimeout(function(){1===n.length?e.call(r,n[0]):e.apply(r,n),n=void 0},t))}}function _(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function b(e){return Z?Z(e).clone(!0)[0]:K&&K.dom?K.dom(e).cloneNode(!0):e.cloneNode(!0)}function x(e){for(var t=e.getElementsByTagName("input"),n=t.length;n--;){var r=t[n];r.checked&&re.push(r)}}if("undefined"==typeof window||!window.document)return function(){throw new Error("Sortable.js requires a window with a document")};var w,k,$,C,S,E,T,A,M,D,L,O,j,F,P,N,I,q,z,R,U={},B=/\s+/g,H=/left|right|inline/,W="Sortable"+(new Date).getTime(),V=window,Y=V.document,G=V.parseInt,Z=V.jQuery||V.Zepto,K=V.Polymer,J=!1,X=!!("draggable"in Y.createElement("div")),Q=function(e){return!navigator.userAgent.match(/Trident.*rv[ :]?11\./)&&(e=Y.createElement("x"),e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents)}(),ee=!1,te=Math.abs,ne=Math.min,re=[],ie=[],oe=y(function(e,t,n){if(n&&t.scroll){var r,i,o,a,s,l,c=n[W],u=t.scrollSensitivity,f=t.scrollSpeed,d=e.clientX,p=e.clientY,h=window.innerWidth,m=window.innerHeight;if(M!==n&&(A=t.scroll,M=n,D=t.scrollFn,!0===A)){A=n;do{if(A.offsetWidth-1:i==e)}}var n={},r=e.group;r&&"object"==typeof r||(r={name:r}),n.name=r.name,n.checkPull=t(r.pull,!0),n.checkPut=t(r.put),n.revertClone=r.revertClone,e.group=n};e.prototype={constructor:e,_onTapStart:function(e){var t,r=this,i=this.el,o=this.options,a=o.preventOnFilter,s=e.type,l=e.touches&&e.touches[0],c=(l||e).target,f=e.target.shadowRoot&&e.path[0]||c,d=o.filter;if(x(i),!w&&!("mousedown"===s&&0!==e.button||o.disabled)&&(c=n(c,o.draggable,i))&&T!==c){if(t=g(c,o.draggable),"function"==typeof d){if(d.call(this,e,c,this))return u(r,f,"filter",c,i,t),void(a&&e.preventDefault())}else if(d&&(d=d.split(",").some(function(e){if(e=n(f,e.trim(),i))return u(r,e,"filter",c,i,t),!0})))return void(a&&e.preventDefault());o.handle&&!n(f,o.handle,i)||this._prepareDragStart(e,l,c,t)}},_prepareDragStart:function(e,t,n,r){var i,a=this,l=a.el,f=a.options,p=l.ownerDocument;n&&!w&&n.parentNode===l&&(q=e,S=l,w=n,k=w.parentNode,E=w.nextSibling,T=n,N=f.group,F=r,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,w.style["will-change"]="transform",i=function(){a._disableDelayedDrag(),w.draggable=a.nativeDraggable,s(w,f.chosenClass,!0),a._triggerDragStart(e,t),u(a,S,"choose",w,S,F)},f.ignore.split(",").forEach(function(e){c(w,e.trim(),d)}),o(p,"mouseup",a._onDrop),o(p,"touchend",a._onDrop),o(p,"touchcancel",a._onDrop),o(p,"pointercancel",a._onDrop),o(p,"selectstart",a),f.delay?(o(p,"mouseup",a._disableDelayedDrag),o(p,"touchend",a._disableDelayedDrag),o(p,"touchcancel",a._disableDelayedDrag),o(p,"mousemove",a._disableDelayedDrag),o(p,"touchmove",a._disableDelayedDrag),o(p,"pointermove",a._disableDelayedDrag),a._dragStartTimer=setTimeout(i,f.delay)):i())},_disableDelayedDrag:function(){var e=this.el.ownerDocument;clearTimeout(this._dragStartTimer),a(e,"mouseup",this._disableDelayedDrag),a(e,"touchend",this._disableDelayedDrag),a(e,"touchcancel",this._disableDelayedDrag),a(e,"mousemove",this._disableDelayedDrag),a(e,"touchmove",this._disableDelayedDrag),a(e,"pointermove",this._disableDelayedDrag)},_triggerDragStart:function(e,t){t=t||("touch"==e.pointerType?e:null),t?(q={target:w,clientX:t.clientX,clientY:t.clientY},this._onDragStart(q,"touch")):this.nativeDraggable?(o(w,"dragend",this),o(S,"dragstart",this._onDragStart)):this._onDragStart(q,!0);try{Y.selection?setTimeout(function(){Y.selection.empty()}):window.getSelection().removeAllRanges()}catch(e){}},_dragStarted:function(){if(S&&w){var t=this.options;s(w,t.ghostClass,!0),s(w,t.dragClass,!1),e.active=this,u(this,S,"start",w,S,F)}else this._nulling()},_emulateDragOver:function(){if(z){if(this._lastX===z.clientX&&this._lastY===z.clientY)return;this._lastX=z.clientX,this._lastY=z.clientY,Q||l($,"display","none");var e=Y.elementFromPoint(z.clientX,z.clientY),t=e,n=ie.length;if(t)do{if(t[W]){for(;n--;)ie[n]({clientX:z.clientX,clientY:z.clientY,target:e,rootEl:t});break}e=t}while(t=t.parentNode);Q||l($,"display","")}},_onTouchMove:function(t){if(q){var n=this.options,r=n.fallbackTolerance,i=n.fallbackOffset,o=t.touches?t.touches[0]:t,a=o.clientX-q.clientX+i.x,s=o.clientY-q.clientY+i.y,c=t.touches?"translate3d("+a+"px,"+s+"px,0)":"translate("+a+"px,"+s+"px)";if(!e.active){if(r&&ne(te(o.clientX-this._lastX),te(o.clientY-this._lastY))w.offsetWidth,A=i.offsetHeight>w.offsetHeight,M=(x?(r.clientX-a.left)/_:(r.clientY-a.top)/b)>.5,D=i.nextElementSibling,F=!1;if(x){var P=w.offsetTop,q=i.offsetTop;F=P===q?i.previousElementSibling===w&&!T||M&&T:i.previousElementSibling===w||w.previousElementSibling===i?(r.clientY-a.top)/b>.5:q>P}else v||(F=D!==w&&!A||M&&A);var z=f(S,c,w,o,i,a,r,F);!1!==z&&(1!==z&&-1!==z||(F=1===z),ee=!0,setTimeout(p,30),t(m,g),w.contains(c)||(F&&!D?c.appendChild(w):i.parentNode.insertBefore(w,F?D:i)),k=w.parentNode,this._animate(o,w),this._animate(a,i))}}},_animate:function(e,t){var n=this.options.animation;if(n){var r=t.getBoundingClientRect();1===e.nodeType&&(e=e.getBoundingClientRect()),l(t,"transition","none"),l(t,"transform","translate3d("+(e.left-r.left)+"px,"+(e.top-r.top)+"px,0)"),t.offsetWidth,l(t,"transition","all "+n+"ms"),l(t,"transform","translate3d(0,0,0)"),clearTimeout(t.animated),t.animated=setTimeout(function(){l(t,"transition",""),l(t,"transform",""),t.animated=!1},n)}},_offUpEvents:function(){var e=this.el.ownerDocument;a(Y,"touchmove",this._onTouchMove),a(Y,"pointermove",this._onTouchMove),a(e,"mouseup",this._onDrop),a(e,"touchend",this._onDrop),a(e,"pointerup",this._onDrop),a(e,"touchcancel",this._onDrop),a(e,"pointercancel",this._onDrop),a(e,"selectstart",this)},_onDrop:function(t){var n=this.el,r=this.options;clearInterval(this._loopId),clearInterval(U.pid),clearTimeout(this._dragStartTimer),a(Y,"mousemove",this._onTouchMove),this.nativeDraggable&&(a(Y,"drop",this),a(n,"dragstart",this._onDragStart)),this._offUpEvents(),t&&(R&&(t.preventDefault(),!r.dropBubble&&t.stopPropagation()),$&&$.parentNode&&$.parentNode.removeChild($),S!==k&&"clone"===e.active.lastPullMode||C&&C.parentNode&&C.parentNode.removeChild(C),w&&(this.nativeDraggable&&a(w,"dragend",this),d(w),w.style["will-change"]="",s(w,this.options.ghostClass,!1),s(w,this.options.chosenClass,!1),u(this,S,"unchoose",w,S,F),S!==k?(P=g(w,r.draggable))>=0&&(u(null,k,"add",w,S,F,P),u(this,S,"remove",w,S,F,P),u(null,k,"sort",w,S,F,P),u(this,S,"sort",w,S,F,P)):w.nextSibling!==E&&(P=g(w,r.draggable))>=0&&(u(this,S,"update",w,S,F,P),u(this,S,"sort",w,S,F,P)),e.active&&(null!=P&&-1!==P||(P=F),u(this,S,"end",w,S,F,P),this.save()))),this._nulling()},_nulling:function(){S=w=k=$=E=C=T=A=M=q=z=R=P=L=O=I=N=e.active=null,re.forEach(function(e){e.checked=!0}),re.length=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragover":case"dragenter":w&&(this._onDragOver(e),i(e));break;case"selectstart":e.preventDefault()}},toArray:function(){for(var e,t=[],r=this.el.children,i=0,o=r.length,a=this.options;i-1)return e.splice(n,1)}}function a(e,t){return ki.call(e,t)}function s(e){return"string"==typeof e||"number"==typeof e}function l(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}function c(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n}function u(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function f(e,t){for(var n in t)e[n]=t[n];return e}function d(e){return null!==e&&"object"==typeof e}function p(e){return Ei.call(e)===Ti}function h(e){for(var t={},n=0;n=0&&uo[n].id>e.id;)n--;uo.splice(Math.max(n,mo)+1,0,e)}else uo.push(e);po||(po=!0,Vi(me))}}function ve(e){yo.clear(),ye(e,yo)}function ye(e,t){var n,r,i=Array.isArray(e);if((i||d(e))&&Object.isExtensible(e)){if(e.__ob__){var o=e.__ob__.dep.id;if(t.has(o))return;t.add(o)}if(i)for(n=e.length;n--;)ye(e[n],t);else for(r=Object.keys(e),n=r.length;n--;)ye(e[r[n]],t)}}function _e(e,t,n){_o.get=function(){return this[t][n]},_o.set=function(e){this[t][n]=e},Object.defineProperty(e,n,_o)}function be(e){e._watchers=[];var t=e.$options;t.props&&xe(e,t.props),t.methods&&Ee(e,t.methods),t.data?we(e):E(e._data={},!0),t.computed&&$e(e,t.computed),t.watch&&Te(e,t.watch)}function xe(e,t){var n=e.$options.propsData||{},r=e._props={},i=e.$options._propKeys=[],o=!e.$parent;eo.shouldConvert=o;for(var a in t)!function(o){i.push(o);var a=q(o,t,n,e);T(r,o,a),o in e||_e(e,"_props",o)}(a);eo.shouldConvert=!0}function we(e){var t=e.$options.data;t=e._data="function"==typeof t?ke(t,e):t||{},p(t)||(t={});for(var n=Object.keys(t),r=e.$options.props,i=n.length;i--;)r&&a(r,n[i])||_(n[i])||_e(e,"_data",n[i]);E(t,!0)}function ke(e,t){try{return e.call(t)}catch(e){return B(e,t,"data()"),{}}}function $e(e,t){var n=e._computedWatchers=Object.create(null);for(var r in t){var i=t[r],o="function"==typeof i?i:i.get;n[r]=new vo(e,o,m,bo),r in e||Ce(e,r,i)}}function Ce(e,t,n){"function"==typeof n?(_o.get=Se(t),_o.set=m):(_o.get=n.get?!1!==n.cache?Se(t):n.get:m,_o.set=n.set?n.set:m),Object.defineProperty(e,t,_o)}function Se(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),Zi.target&&t.depend(),t.value}}function Ee(e,t){e.$options.props;for(var n in t)e[n]=null==t[n]?m:c(t[n],e)}function Te(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var i=0;i-1:e instanceof RegExp&&e.test(t)}function pt(e,t){for(var n in e){var r=e[n];if(r){var i=ft(r.componentOptions);i&&!t(i)&&(ht(r),e[n]=null)}}}function ht(e){e&&(e.componentInstance._inactive||pe(e.componentInstance,"deactivated"),e.componentInstance.$destroy())}function mt(e){for(var t=e.data,n=e,r=e;r.componentInstance;)r=r.componentInstance._vnode,r.data&&(t=gt(r.data,t));for(;n=n.parent;)n.data&&(t=gt(t,n.data));return vt(t)}function gt(e,t){return{staticClass:yt(e.staticClass,t.staticClass),class:e.class?[e.class,t.class]:t.class}}function vt(e){var t=e.class,n=e.staticClass;return n||t?yt(n,_t(t)):""}function yt(e,t){return e?t?e+" "+t:e:t||""}function _t(e){var t="";if(!e)return t;if("string"==typeof e)return e;if(Array.isArray(e)){for(var n,r=0,i=e.length;r-1?Jo[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Jo[e]=/HTMLUnknownElement/.test(t.toString())}function wt(e){if("string"==typeof e){var t=document.querySelector(e);return t||document.createElement("div")}return e}function kt(e,t){var n=document.createElement(e);return"select"!==e?n:(t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)}function $t(e,t){return document.createElementNS(Vo[e],t)}function Ct(e){return document.createTextNode(e)}function St(e){return document.createComment(e)}function Et(e,t,n){e.insertBefore(t,n)}function Tt(e,t){e.removeChild(t)}function At(e,t){e.appendChild(t)}function Mt(e){return e.parentNode}function Dt(e){return e.nextSibling}function Lt(e){return e.tagName}function Ot(e,t){e.textContent=t}function jt(e,t,n){e.setAttribute(t,n)}function Ft(e,t){var n=e.data.ref;if(n){var r=e.context,i=e.componentInstance||e.elm,a=r.$refs;t?Array.isArray(a[n])?o(a[n],i):a[n]===i&&(a[n]=void 0):e.data.refInFor?Array.isArray(a[n])&&a[n].indexOf(i)<0?a[n].push(i):a[n]=[i]:a[n]=i}}function Pt(e){return void 0===e||null===e}function Nt(e){return void 0!==e&&null!==e}function It(e){return!0===e}function qt(e,t){return e.key===t.key&&e.tag===t.tag&&e.isComment===t.isComment&&Nt(e.data)===Nt(t.data)&&zt(e,t)}function zt(e,t){if("input"!==e.tag)return!0;var n;return(Nt(n=e.data)&&Nt(n=n.attrs)&&n.type)===(Nt(n=t.data)&&Nt(n=n.attrs)&&n.type)}function Rt(e,t,n){var r,i,o={};for(r=t;r<=n;++r)i=e[r].key,Nt(i)&&(o[i]=r);return o}function Ut(e,t){(e.data.directives||t.data.directives)&&Bt(e,t)}function Bt(e,t){var n,r,i,o=e===ea,a=t===ea,s=Ht(e.data.directives,e.context),l=Ht(t.data.directives,t.context),c=[],u=[];for(n in l)r=s[n],i=l[n],r?(i.oldValue=r.value,Vt(i,"update",t,e),i.def&&i.def.componentUpdated&&u.push(i)):(Vt(i,"bind",t,e),i.def&&i.def.inserted&&c.push(i));if(c.length){var f=function(){for(var n=0;n=0&&" "===(g=e.charAt(m));m--);g&&sa.test(g)||(u=!0)}}else void 0===o?(h=i+1,o=e.slice(0,i).trim()):t();if(void 0===o?o=e.slice(0,i).trim():0!==h&&t(),a)for(i=0;i=Ao}function dn(e){return 34===e||39===e}function pn(e){var t=1;for(Oo=Lo;!fn();)if(e=un(),dn(e))hn(e);else if(91===e&&t++,93===e&&t--,0===t){jo=Lo;break}}function hn(e){for(var t=e;!fn()&&(e=un())!==t;);}function mn(e,t,n){Fo=n;var r=t.value,i=t.modifiers,o=e.tag,a=e.attrsMap.type;if("select"===o)yn(e,r,i);else if("input"===o&&"checkbox"===a)gn(e,r,i);else if("input"===o&&"radio"===a)vn(e,r,i);else if("input"===o||"textarea"===o)_n(e,r,i);else if(!Di.isReservedTag(o))return sn(e,r,i),!1;return!0}function gn(e,t,n){var r=n&&n.number,i=on(e,"value")||"null",o=on(e,"true-value")||"true",a=on(e,"false-value")||"false";en(e,"checked","Array.isArray("+t+")?_i("+t+","+i+")>-1"+("true"===o?":("+t+")":":_q("+t+","+o+")")),rn(e,ca,"var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+a+");if(Array.isArray($$a)){var $$v="+(r?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$c){$$i<0&&("+t+"=$$a.concat($$v))}else{$$i>-1&&("+t+"=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{"+t+"=$$c}",null,!0)}function vn(e,t,n){var r=n&&n.number,i=on(e,"value")||"null";i=r?"_n("+i+")":i,en(e,"checked","_q("+t+","+i+")"),rn(e,ca,ln(t,i),null,!0)}function yn(e,t,n){var r=n&&n.number,i='Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(r?"_n(val)":"val")+"})",o="var $$selectedVal = "+i+";";o=o+" "+ln(t,"$event.target.multiple ? $$selectedVal : $$selectedVal[0]"),rn(e,"change",o,null,!0)}function _n(e,t,n){var r=e.attrsMap.type,i=n||{},o=i.lazy,a=i.number,s=i.trim,l=!o&&"range"!==r,c=o?"change":"range"===r?la:"input",u="$event.target.value";s&&(u="$event.target.value.trim()"),a&&(u="_n("+u+")");var f=ln(t,u);l&&(f="if($event.target.composing)return;"+f),en(e,"value","("+t+")"),rn(e,c,f,null,!0),(s||a||"number"===r)&&rn(e,"blur","$forceUpdate()")}function bn(e){var t;e[la]&&(t=Ni?"change":"input",e[t]=[].concat(e[la],e[t]||[]),delete e[la]),e[ca]&&(t=Ui?"click":"change",e[t]=[].concat(e[ca],e[t]||[]),delete e[ca])}function xn(e,t,n,r){if(n){var i=t,o=Po;t=function(n){null!==(1===arguments.length?i(n):i.apply(null,arguments))&&wn(e,t,r,o)}}Po.addEventListener(e,t,r)}function wn(e,t,n,r){(r||Po).removeEventListener(e,t,n)}function kn(e,t){if(e.data.on||t.data.on){var n=t.data.on||{},r=e.data.on||{};Po=t.elm,bn(n),G(n,r,xn,wn,t.context)}}function $n(e,t){if(e.data.domProps||t.data.domProps){var n,r,i=t.elm,o=e.data.domProps||{},a=t.data.domProps||{};a.__ob__&&(a=t.data.domProps=f({},a));for(n in o)null==a[n]&&(i[n]="");for(n in a)if(r=a[n],"textContent"!==n&&"innerHTML"!==n||(t.children&&(t.children.length=0),r!==o[n]))if("value"===n){i._value=r;var s=null==r?"":String(r);Cn(i,t,s)&&(i.value=s)}else i[n]=r}}function Cn(e,t,n){return!e.composing&&("option"===t.tag||Sn(e,n)||En(e,n))}function Sn(e,t){return document.activeElement!==e&&e.value!==t}function En(e,t){var n=e.value,i=e._vModifiers;return i&&i.number||"number"===e.type?r(n)!==r(t):i&&i.trim?n.trim()!==t.trim():n!==t}function Tn(e){var t=An(e.style);return e.staticStyle?f(e.staticStyle,t):t}function An(e){return Array.isArray(e)?h(e):"string"==typeof e?da(e):e}function Mn(e,t){var n,r={};if(t)for(var i=e;i.componentInstance;)i=i.componentInstance._vnode,i.data&&(n=Tn(i.data))&&f(r,n);(n=Tn(e.data))&&f(r,n);for(var o=e;o=o.parent;)o.data&&(n=Tn(o.data))&&f(r,n);return r}function Dn(e,t){var n=t.data,r=e.data;if(n.staticStyle||n.style||r.staticStyle||r.style){var i,o,a=t.elm,s=e.data.staticStyle,l=e.data.style||{},c=s||l,u=An(t.data.style)||{};t.data.style=u.__ob__?f({},u):u;var d=Mn(t,!0);for(o in c)null==d[o]&&ma(a,o,"");for(o in d)(i=d[o])!==c[o]&&ma(a,o,null==i?"":i)}}function Ln(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(/\s+/).forEach(function(t){return e.classList.add(t)}):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function On(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(/\s+/).forEach(function(t){return e.classList.remove(t)}):e.classList.remove(t);else{for(var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");e.setAttribute("class",n.trim())}}function jn(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&f(t,_a(e.name||"v")),f(t,e),t}return"string"==typeof e?_a(e):void 0}}function Fn(e){Ea(function(){Ea(e)})}function Pn(e,t){(e._transitionClasses||(e._transitionClasses=[])).push(t),Ln(e,t)}function Nn(e,t){e._transitionClasses&&o(e._transitionClasses,t),On(e,t)}function In(e,t,n){var r=qn(e,t),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===xa?$a:Sa,l=0,c=function(){e.removeEventListener(s,u),n()},u=function(t){t.target===e&&++l>=a&&c()};setTimeout(function(){l0&&(n=xa,u=a,f=o.length):t===wa?c>0&&(n=wa,u=c,f=l.length):(u=Math.max(a,c),n=u>0?a>c?xa:wa:null,f=n?n===xa?o.length:l.length:0),{type:n,timeout:u,propCount:f,hasTransform:n===xa&&Ta.test(r[ka+"Property"])}}function zn(e,t){for(;e.length1}function Vn(e,t){t.data.show||Un(t)}function Yn(e,t,n){var r=t.value,i=e.multiple;if(!i||Array.isArray(r)){for(var o,a,s=0,l=e.options.length;s-1,a.selected!==o&&(a.selected=o);else if(g(Zn(a),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));i||(e.selectedIndex=-1)}}function Gn(e,t){for(var n=0,r=t.length;n=0&&a[i].lowerCasedTag!==s;i--);else i=0;if(i>=0){for(var l=a.length-1;l>=i;l--)t.end&&t.end(a[l].tag,n,r);a.length=i,o=i&&a[i-1].tag}else"br"===s?t.start&&t.start(e,[],!0,n,r):"p"===s&&(t.start&&t.start(e,[],!1,n,r),t.end&&t.end(e,n,r))}for(var i,o,a=[],s=t.expectHTML,l=t.isUnaryTag||Ai,c=t.canBeLeftOpenTag||Ai,u=0;e;){if(i=e,o&&bs(o)){var f=o.toLowerCase(),d=xs[f]||(xs[f]=new RegExp("([\\s\\S]*?)(]*>)","i")),p=0,h=e.replace(d,function(e,n,r){return p=r.length,bs(f)||"noscript"===f||(n=n.replace(//g,"$1").replace(//g,"$1")),t.chars&&t.chars(n),""});u+=e.length-h.length,e=h,r(f,u-p,u)}else{var m=e.indexOf("<");if(0===m){if(Qa.test(e)){var g=e.indexOf("--\x3e");if(g>=0){n(g+3);continue}}if(es.test(e)){var v=e.indexOf("]>");if(v>=0){n(v+2);continue}}var y=e.match(Xa);if(y){n(y[0].length);continue}var _=e.match(Ja);if(_){var b=u;n(_[0].length),r(_[1],b,u);continue}var x=function(){var t=e.match(Za);if(t){var r={tagName:t[1],attrs:[],start:u};n(t[0].length);for(var i,o;!(i=e.match(Ka))&&(o=e.match(Ya));)n(o[0].length),r.attrs.push(o);if(i)return r.unarySlash=i[1],n(i[0].length),r.end=u,r}}();if(x){!function(e){var n=e.tagName,i=e.unarySlash;s&&("p"===o&&Wa(n)&&r(o),c(n)&&o===n&&r(n));for(var u=l(n)||"html"===n&&"head"===o||!!i,f=e.attrs.length,d=new Array(f),p=0;p=0){for(k=e.slice(m);!(Ja.test(k)||Za.test(k)||Qa.test(k)||es.test(k)||($=k.indexOf("<",1))<0);)m+=$,k=e.slice(m);w=e.substring(0,m),n(m)}m<0&&(w=e,e=""),t.chars&&w&&t.chars(w)}if(e===i){t.chars&&t.chars(e);break}}r()}function fr(e,t){var n=t?Ss(t):Cs;if(n.test(e)){for(var r,i,o=[],a=n.lastIndex=0;r=n.exec(e);){i=r.index,i>a&&o.push(JSON.stringify(e.slice(a,i)));var s=Kt(r[1].trim());o.push("_s("+s+")"),a=i+r[0].length}return a0,qi=Pi&&Pi.indexOf("edge/")>0,zi=Pi&&Pi.indexOf("android")>0,Ri=Pi&&/iphone|ipad|ipod|ios/.test(Pi),Ui=Pi&&/chrome\/\d+/.test(Pi)&&!qi,Bi=function(){return void 0===bi&&(bi=!Fi&&void 0!==e&&"server"===e.process.env.VUE_ENV),bi},Hi=Fi&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,Wi="undefined"!=typeof Symbol&&w(Symbol)&&"undefined"!=typeof Reflect&&w(Reflect.ownKeys),Vi=function(){function e(){r=!1;var e=n.slice(0);n.length=0;for(var t=0;t1?u(n):n;for(var r=u(arguments,1),i=0,o=n.length;i1&&(t[n[0].trim()]=n[1].trim())}}),t}),pa=/^--/,ha=/\s*!important$/,ma=function(e,t,n){pa.test(t)?e.style.setProperty(t,n):ha.test(n)?e.style.setProperty(t,n.replace(ha,""),"important"):e.style[va(t)]=n},ga=["Webkit","Moz","ms"],va=l(function(e){if(No=No||document.createElement("div"),"filter"!==(e=$i(e))&&e in No.style)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=0;nd?(c=Pt(n[g+1])?null:n[g+1].elm,m(e,c,n,f,g,r)):f>g&&v(e,t,u,d)}function b(e,t,n,r){if(e!==t){if(It(t.isStatic)&&It(e.isStatic)&&t.key===e.key&&(It(t.isCloned)||It(t.isOnce)))return t.elm=e.elm,void(t.componentInstance=e.componentInstance);var i,o=t.data;Nt(o)&&Nt(i=o.hook)&&Nt(i=i.prepatch)&&i(e,t);var a=t.elm=e.elm,s=e.children,l=t.children;if(Nt(o)&&d(t)){for(i=0;i',n.innerHTML.indexOf(t)>0}("\n"," "),Ba=i("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),Ha=i("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),Wa=i("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),Va=[/"([^"]*)"+/.source,/'([^']*)'+/.source,/([^\s"'=<>`]+)/.source],Ya=new RegExp("^\\s*"+/([^\s"'<>\/=]+)/.source+"(?:\\s*("+/(?:=)/.source+")\\s*(?:"+Va.join("|")+"))?"),Ga="[a-zA-Z_][\\w\\-\\.]*",Za=new RegExp("^<((?:"+Ga+"\\:)?"+Ga+")"),Ka=/^\s*(\/?)>/,Ja=new RegExp("^<\\/((?:"+Ga+"\\:)?"+Ga+")[^>]*>"),Xa=/^]+>/i,Qa=/^/g,"$1").replace(//g,"$1")),t.chars&&t.chars(n),""});u+=e.length-h.length,e=h,r(f,u-p,u)}else{var m=e.indexOf("<");if(0===m){if(Qa.test(e)){var g=e.indexOf("--\x3e");if(g>=0){n(g+3);continue}}if(es.test(e)){var v=e.indexOf("]>");if(v>=0){n(v+2);continue}}var y=e.match(Xa);if(y){n(y[0].length);continue}var _=e.match(Ja);if(_){var b=u;n(_[0].length),r(_[1],b,u);continue}var x=function(){var t=e.match(Za);if(t){var r={tagName:t[1],attrs:[],start:u};n(t[0].length);for(var i,o;!(i=e.match(Ka))&&(o=e.match(Ya));)n(o[0].length),r.attrs.push(o);if(i)return r.unarySlash=i[1],n(i[0].length),r.end=u,r}}();if(x){!function(e){var n=e.tagName,i=e.unarySlash;s&&("p"===o&&Wa(n)&&r(o),c(n)&&o===n&&r(n));for(var u=l(n)||"html"===n&&"head"===o||!!i,f=e.attrs.length,d=new Array(f),p=0;p=0){for(k=e.slice(m);!(Ja.test(k)||Za.test(k)||Qa.test(k)||es.test(k)||($=k.indexOf("<",1))<0);)m+=$,k=e.slice(m);w=e.substring(0,m),n(m)}m<0&&(w=e,e=""),t.chars&&w&&t.chars(w)}if(e===i){t.chars&&t.chars(e);break}}r()}function fr(e,t){var n=t?Ss(t):Cs;if(n.test(e)){for(var r,i,o=[],a=n.lastIndex=0;r=n.exec(e);){i=r.index,i>a&&o.push(JSON.stringify(e.slice(a,i)));var s=Kt(r[1].trim());o.push("_s("+s+")"),a=i+r[0].length}return a0,qi=Pi&&Pi.indexOf("edge/")>0,zi=Pi&&Pi.indexOf("android")>0,Ri=Pi&&/iphone|ipad|ipod|ios/.test(Pi),Ui=Pi&&/chrome\/\d+/.test(Pi)&&!qi,Bi=function(){return void 0===bi&&(bi=!Fi&&void 0!==e&&"server"===e.process.env.VUE_ENV),bi},Hi=Fi&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,Wi="undefined"!=typeof Symbol&&w(Symbol)&&"undefined"!=typeof Reflect&&w(Reflect.ownKeys),Vi=function(){function e(){r=!1;var e=n.slice(0);n.length=0;for(var t=0;t1?u(n):n;for(var r=u(arguments,1),i=0,o=n.length;i1&&(t[n[0].trim()]=n[1].trim())}}),t}),pa=/^--/,ha=/\s*!important$/,ma=function(e,t,n){pa.test(t)?e.style.setProperty(t,n):ha.test(n)?e.style.setProperty(t,n.replace(ha,""),"important"):e.style[va(t)]=n},ga=["Webkit","Moz","ms"],va=l(function(e){if(No=No||document.createElement("div"),"filter"!==(e=$i(e))&&e in No.style)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=0;nd?(c=Pt(n[g+1])?null:n[g+1].elm,m(e,c,n,f,g,r)):f>g&&v(e,t,u,d)}function b(e,t,n,r){if(e!==t){if(It(t.isStatic)&&It(e.isStatic)&&t.key===e.key&&(It(t.isCloned)||It(t.isOnce)))return t.elm=e.elm,void(t.componentInstance=e.componentInstance);var i,o=t.data;Nt(o)&&Nt(i=o.hook)&&Nt(i=i.prepatch)&&i(e,t);var a=t.elm=e.elm,s=e.children,l=t.children;if(Nt(o)&&d(t)){for(i=0;i',n.innerHTML.indexOf(t)>0}("\n"," "),Ba=i("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),Ha=i("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),Wa=i("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),Va=[/"([^"]*)"+/.source,/'([^']*)'+/.source,/([^\s"'=<>`]+)/.source],Ya=new RegExp("^\\s*"+/([^\s"'<>\/=]+)/.source+"(?:\\s*("+/(?:=)/.source+")\\s*(?:"+Va.join("|")+"))?"),Ga="[a-zA-Z_][\\w\\-\\.]*",Za=new RegExp("^<((?:"+Ga+"\\:)?"+Ga+")"),Ka=/^\s*(\/?)>/,Ja=new RegExp("^<\\/((?:"+Ga+"\\:)?"+Ga+")[^>]*>"),Xa=/^]+>/i,Qa=/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(i.source+"\\s*$"),/^$/,!1]];t.exports=function(e,t,n,r){var i,a,s,l,c=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(c))return!1;for(l=e.src.slice(c,u),i=0;i=4)return!1;for(d=e.parentType,e.parentType="paragraph";p3)){if(e.sCount[p]>=e.blkIndent&&(l=e.bMarks[p]+e.tShift[p],c=e.eMarks[p],l=c))){u=61===f?1:2;break}if(!(e.sCount[p]<0)){for(i=!1,o=0,a=h.length;o=o)return-1;if((n=e.src.charCodeAt(i++))<48||n>57)return-1;for(;;){if(i>=o)return-1;n=e.src.charCodeAt(i++);{if(!(n>=48&&n<=57)){if(41===n||46===n)break;return-1}if(i-r>=10)return-1}}return i=4)return!1;if(s&&"paragraph"===e.parentType&&e.tShift[t]>=e.blkIndent&&(P=!0),(M=i(e,t))>=0){if(h=!0,L=e.bMarks[t]+e.tShift[t],b=Number(e.src.substr(L,M-L-1)),P&&1!==b)return!1}else{if(!((M=r(e,t))>=0))return!1;h=!1}if(P&&e.skipSpaces(M)>=e.eMarks[t])return!1;if(_=e.src.charCodeAt(M-1),s)return!0;for(y=e.tokens.length,h?(F=e.push("ordered_list_open","ol",1),1!==b&&(F.attrs=[["start",b]])):F=e.push("bullet_list_open","ul",1),F.map=v=[t,0],F.markup=String.fromCharCode(_),w=t,D=!1,j=e.md.block.ruler.getRules("list"),S=e.parentType,e.parentType="list";w=x?1:k-p,d>4&&(d=1),f=p+d,F=e.push("list_item_open","li",1),F.markup=String.fromCharCode(_),F.map=m=[t,0],$=e.blkIndent,T=e.tight,E=e.tShift[t],C=e.sCount[t],e.blkIndent=f,e.tight=!0,e.tShift[t]=c-e.bMarks[t],e.sCount[t]=k,c>=x&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,t,n,!0),e.tight&&!D||(N=!1),D=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=$,e.tShift[t]=E,e.sCount[t]=C,e.tight=T,F=e.push("list_item_close","li",-1),F.markup=String.fromCharCode(_),w=t=e.line,m[1]=w,c=e.bMarks[t],w>=n)break;if(e.sCount[w]3||e.sCount[l]<0)){for(r=!1,i=0,o=c.length;i=4)return!1;if(91!==e.src.charCodeAt(k))return!1;for(;++k<$;)if(93===e.src.charCodeAt(k)&&92!==e.src.charCodeAt(k-1)){if(k+1===$)return!1;if(58!==e.src.charCodeAt(k+1))return!1;break}for(c=e.lineMax,b=e.md.block.ruler.getRules("reference"),m=e.parentType,e.parentType="reference";C3||e.sCount[C]<0)){for(_=!1,f=0,d=b.length;f0&&this.level++,this.tokens.push(r),r},r.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},r.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;et;)if(!o(this.src.charCodeAt(--e)))return e+1;return e},r.prototype.skipChars=function(e,t){for(var n=this.src.length;en;)if(t!==this.src.charCodeAt(--e))return e+1;return e},r.prototype.getLines=function(e,t,n,r){var i,a,s,l,c,u,f,d=e;if(e>=t)return"";for(u=new Array(t-e),i=0;dn?new Array(a-n+1).join(" ")+this.src.slice(l,c):this.src.slice(l,c)}return u.join("")},r.prototype.Token=i,t.exports=r},{"../common/utils":367,"../token":414}],392:[function(e,t,n){"use strict";function r(e,t){var n=e.bMarks[t]+e.blkIndent,r=e.eMarks[t];return e.src.substr(n,r-n)}function i(e){var t,n=[],r=0,i=e.length,o=0,a=0,s=!1,l=0;for(t=e.charCodeAt(r);rn)return!1;if(f=t+1,e.sCount[f]=4)return!1;if((c=e.bMarks[f]+e.tShift[f])>=e.eMarks[f])return!1;if(124!==(s=e.src.charCodeAt(c++))&&45!==s&&58!==s)return!1;for(;c=4)return!1;if(d=i(l.replace(/^\||\|$/g,"")),(p=d.length)>m.length)return!1;if(a)return!0;for(h=e.push("table_open","table",1),h.map=v=[t,0],h=e.push("thead_open","thead",1),h.map=[t,t+1],h=e.push("tr_open","tr",1),h.map=[t,t+1],u=0;u=4);f++){for(d=i(l.replace(/^\||\|$/g,"")),h=e.push("tr_open","tr",1),u=0;u\s]/i.test(e)}function i(e){return/^<\/a\s*>/i.test(e)}var o=e("../common/utils").arrayReplaceAt;t.exports=function(e){var t,n,a,s,l,c,u,f,d,p,h,m,g,v,y,_,b,x=e.tokens;if(e.md.options.linkify)for(n=0,a=x.length;n=0;t--)if(c=s[t],"link_close"!==c.type){if("html_inline"===c.type&&(r(c.content)&&g>0&&g--,i(c.content)&&g++),!(g>0)&&"text"===c.type&&e.md.linkify.test(c.content)){for(d=c.content,b=e.md.linkify.match(d),u=[],m=c.level,h=0,f=0;fh&&(l=new e.Token("text","",0),l.content=d.slice(h,p),l.level=m,u.push(l)),l=new e.Token("link_open","a",1),l.attrs=[["href",y]],l.level=m++,l.markup="linkify",l.info="auto",u.push(l),l=new e.Token("text","",0),l.content=_,l.level=m,u.push(l),l=new e.Token("link_close","a",-1),l.level=--m,l.markup="linkify",l.info="auto",u.push(l),h=b[f].lastIndex);h=0;t--)n=e[t],"text"!==n.type||i||(n.content=n.content.replace(l,r)),"link_open"===n.type&&"auto"===n.info&&i--,"link_close"===n.type&&"auto"===n.info&&i++}function o(e){var t,n,r=0;for(t=e.length-1;t>=0;t--)n=e[t],"text"!==n.type||r||a.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/gm,"$1—$2").replace(/(^|\s)--(\s|$)/gm,"$1–$2").replace(/(^|[^-\s])--([^-\s]|$)/gm,"$1–$2")),"link_open"===n.type&&"auto"===n.info&&r--,"link_close"===n.type&&"auto"===n.info&&r++}var a=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,s=/\((c|tm|r|p)\)/i,l=/\((c|tm|r|p)\)/gi,c={c:"©",r:"®",p:"§",tm:"™"};t.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&(s.test(e.tokens[t].content)&&i(e.tokens[t].children),a.test(e.tokens[t].content)&&o(e.tokens[t].children))}},{}],398:[function(e,t,n){"use strict";function r(e,t,n){return e.substr(0,t)+n+e.substr(t+1)}function i(e,t){var n,i,l,f,d,p,h,m,g,v,y,_,b,x,w,k,$,C,S,E,T;for(S=[],n=0;n=0&&!(S[$].level<=h);$--);if(S.length=$+1,"text"===i.type){l=i.content,d=0,p=l.length;e:for(;d=0)g=l.charCodeAt(f.index-1);else for($=n-1;$>=0;$--)if("text"===e[$].type){g=e[$].content.charCodeAt(e[$].content.length-1);break}if(v=32,d=48&&g<=57&&(k=w=!1),w&&k&&(w=!1,k=_),w||k){if(k)for($=S.length-1;$>=0&&(m=S[$],!(S[$].level=0;t--)"inline"===e.tokens[t].type&&l.test(e.tokens[t].content)&&i(e.tokens[t].children,e)}},{"../common/utils":367}],399:[function(e,t,n){"use strict";function r(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}var i=e("../token");r.prototype.Token=i,t.exports=r},{"../token":414}],400:[function(e,t,n){"use strict";var r=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,i=/^<([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)>/;t.exports=function(e,t){var n,o,a,s,l,c,u=e.pos;return 60===e.src.charCodeAt(u)&&(n=e.src.slice(u),!(n.indexOf(">")<0)&&(i.test(n)?(o=n.match(i),s=o[0].slice(1,-1),l=e.md.normalizeLink(s),!!e.md.validateLink(l)&&(t||(c=e.push("link_open","a",1),c.attrs=[["href",l]],c.markup="autolink",c.info="auto",c=e.push("text","",0),c.content=e.md.normalizeLinkText(s),c=e.push("link_close","a",-1),c.markup="autolink",c.info="auto"),e.pos+=o[0].length,!0)):!!r.test(n)&&(a=n.match(r),s=a[0].slice(1,-1),l=e.md.normalizeLink("mailto:"+s),!!e.md.validateLink(l)&&(t||(c=e.push("link_open","a",1),c.attrs=[["href",l]],c.markup="autolink",c.info="auto",c=e.push("text","",0),c.content=e.md.normalizeLinkText(s),c=e.push("link_close","a",-1),c.markup="autolink",c.info="auto"),e.pos+=a[0].length,!0))))}},{}],401:[function(e,t,n){"use strict";t.exports=function(e,t){var n,r,i,o,a,s,l=e.pos;if(96!==e.src.charCodeAt(l))return!1;for(n=l,l++,r=e.posMax;l=0;){if(i=o[n],i.open&&i.marker===r.marker&&i.end<0&&i.level===r.level){var s=(i.close||r.open)&&void 0!==i.length&&void 0!==r.length&&(i.length+r.length)%3==0;if(!s){r.jump=t-n,r.open=!1,i.end=t,i.jump=0;break}}n-=i.jump+1}}},{}],403:[function(e,t,n){"use strict";t.exports.tokenize=function(e,t){var n,r,i,o=e.pos,a=e.src.charCodeAt(o);if(t)return!1;if(95!==a&&42!==a)return!1;for(r=e.scanDelims(e.pos,42===a),n=0;n?@[]^_`{|}~-".split("").forEach(function(e){i[e.charCodeAt(0)]=1}),t.exports=function(e,t){var n,o=e.pos,a=e.posMax;if(92!==e.src.charCodeAt(o))return!1;if(++o=97&&t<=122}var i=e("../common/html_re").HTML_TAG_RE;t.exports=function(e,t){var n,o,a,s,l=e.pos;return!!e.md.options.html&&(a=e.posMax,!(60!==e.src.charCodeAt(l)||l+2>=a)&&(!(33!==(n=e.src.charCodeAt(l+1))&&63!==n&&47!==n&&!r(n))&&(!!(o=e.src.slice(l).match(i))&&(t||(s=e.push("html_inline","",0),s.content=e.src.slice(l,l+o[0].length)),e.pos+=o[0].length,!0))))}},{"../common/html_re":366}],407:[function(e,t,n){"use strict";var r=e("../common/utils").normalizeReference,i=e("../common/utils").isSpace;t.exports=function(e,t){var n,o,a,s,l,c,u,f,d,p,h,m,g,v="",y=e.pos,_=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(c=e.pos+2,(l=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((u=l+1)<_&&40===e.src.charCodeAt(u)){for(u++;u<_&&(o=e.src.charCodeAt(u),i(o)||10===o);u++);if(u>=_)return!1;for(g=u,d=e.md.helpers.parseLinkDestination(e.src,u,e.posMax),d.ok&&(v=e.md.normalizeLink(d.str),e.md.validateLink(v)?u=d.pos:v=""),g=u;u<_&&(o=e.src.charCodeAt(u),i(o)||10===o);u++);if(d=e.md.helpers.parseLinkTitle(e.src,u,e.posMax),u<_&&g!==u&&d.ok)for(p=d.str,u=d.pos;u<_&&(o=e.src.charCodeAt(u),i(o)||10===o);u++);else p="";if(u>=_||41!==e.src.charCodeAt(u))return e.pos=y,!1;u++}else{if(void 0===e.env.references)return!1;if(u<_&&91===e.src.charCodeAt(u)?(g=u+1,u=e.md.helpers.parseLinkLabel(e,u),u>=0?s=e.src.slice(g,u++):u=l+1):u=l+1,s||(s=e.src.slice(c,l)),!(f=e.env.references[r(s)]))return e.pos=y,!1;v=f.href,p=f.title}return t||(a=e.src.slice(c,l),e.md.inline.parse(a,e.md,e.env,m=[]),h=e.push("image","img",0),h.attrs=n=[["src",v],["alt",""]],h.children=m,h.content=a,p&&n.push(["title",p])),e.pos=u,e.posMax=_,!0}},{"../common/utils":367}],408:[function(e,t,n){"use strict";var r=e("../common/utils").normalizeReference,i=e("../common/utils").isSpace;t.exports=function(e,t){var n,o,a,s,l,c,u,f,d,p,h="",m=e.pos,g=e.posMax,v=e.pos,y=!0;if(91!==e.src.charCodeAt(e.pos))return!1;if(l=e.pos+1,(s=e.md.helpers.parseLinkLabel(e,e.pos,!0))<0)return!1;if((c=s+1)=g)return!1;for(v=c,u=e.md.helpers.parseLinkDestination(e.src,c,e.posMax),u.ok&&(h=e.md.normalizeLink(u.str),e.md.validateLink(h)?c=u.pos:h=""),v=c;c=g||41!==e.src.charCodeAt(c))&&(y=!0),c++}if(y){if(void 0===e.env.references)return!1;if(c=0?a=e.src.slice(v,c++):c=s+1):c=s+1,a||(a=e.src.slice(l,s)),!(f=e.env.references[r(a)]))return e.pos=m,!1;h=f.href,d=f.title}return t||(e.pos=l,e.posMax=s,p=e.push("link_open","a",1),p.attrs=n=[["href",h]],d&&n.push(["title",d]),e.md.inline.tokenize(e),p=e.push("link_close","a",-1)),e.pos=c,e.posMax=g,!0}},{"../common/utils":367}],409:[function(e,t,n){"use strict";var r=e("../common/utils").isSpace;t.exports=function(e,t){var n,i,o=e.pos;if(10!==e.src.charCodeAt(o))return!1;for(n=e.pending.length-1,i=e.posMax,t||(n>=0&&32===e.pending.charCodeAt(n)?n>=1&&32===e.pending.charCodeAt(n-1)?(e.pending=e.pending.replace(/ +$/,""),e.push("hardbreak","br",0)):(e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0)):e.push("softbreak","br",0)),o++;o0&&this.level++,this.pendingLevel=this.level,this.tokens.push(r),r},r.prototype.scanDelims=function(e,t){var n,r,i,l,c,u,f,d,p,h=e,m=!0,g=!0,v=this.posMax,y=this.src.charCodeAt(e);for(n=e>0?this.src.charCodeAt(e-1):32;h=0&&(n=this.attrs[t][1]),n}, -r.prototype.attrJoin=function(e,t){var n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=this.attrs[n][1]+" "+t},t.exports=r},{}],415:[function(e,t,n){"use strict";function r(e){var t,n,r=o[e];if(r)return r;for(r=o[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),r.push(n);for(t=0;t=55296&&l<=57343?"���":String.fromCharCode(l),t+=6):240==(248&i)&&t+91114111?c+="����":(l-=65536,c+=String.fromCharCode(55296+(l>>10),56320+(1023&l))),t+=9):c+="�";return c})}var o={};i.defaultChars=";/?:@&=+$,#",i.componentChars="",t.exports=i},{}],416:[function(e,t,n){"use strict";function r(e){var t,n,r=o[e];if(r)return r;for(r=o[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),/^[0-9a-z]$/i.test(n)?r.push(n):r.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t=55296&&s<=57343){if(s>=55296&&s<=56319&&o+1=56320&&l<=57343){u+=encodeURIComponent(e[o]+e[o+1]),o++;continue}u+="%EF%BF%BD"}else u+=encodeURIComponent(e[o]);return u}var o={};i.defaultChars=";/?:@&=+$,-_.!~*'()#",i.componentChars="-_.!~*'()",t.exports=i},{}],417:[function(e,t,n){"use strict";t.exports=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""}},{}],418:[function(e,t,n){"use strict";t.exports.encode=e("./encode"),t.exports.decode=e("./decode"),t.exports.format=e("./format"),t.exports.parse=e("./parse")},{"./decode":415,"./encode":416,"./format":417,"./parse":419}],419:[function(e,t,n){"use strict";function r(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}function i(e,t){if(e&&e instanceof r)return e;var n=new r;return n.parse(e,t),n}var o=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,s=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,l=["<",">",'"',"`"," ","\r","\n","\t"],c=["{","}","|","\\","^","`"].concat(l),u=["'"].concat(c),f=["%","/","?",";","#"].concat(u),d=["/","?","#"],p={javascript:!0,"javascript:":!0},h={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};r.prototype.parse=function(e,t){var n,r,i,a,l,c=e;if(c=c.trim(),!t&&1===e.split("#").length){var u=s.exec(c);if(u)return this.pathname=u[1],u[2]&&(this.search=u[2]),this}var m=o.exec(c);if(m&&(m=m[0],i=m.toLowerCase(),this.protocol=m,c=c.substr(m.length)),(t||m||c.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(l="//"===c.substr(0,2))||m&&p[m]||(c=c.substr(2),this.slashes=!0)),!p[m]&&(l||m&&!h[m])){var g=-1;for(n=0;n127?k+="x":k+=w[$];if(!k.match(/^[+a-z0-9A-Z_-]{0,63}$/)){var S=x.slice(0,n),E=x.slice(n+1),T=w.match(/^([+a-z0-9A-Z_-]{0,63})(.*)$/);T&&(S.push(T[1]),E.unshift(T[2])),E.length&&(c=E.join(".")+c),this.hostname=S.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),b&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var A=c.indexOf("#");-1!==A&&(this.hash=c.substr(A),c=c.slice(0,A));var M=c.indexOf("?");return-1!==M&&(this.search=c.substr(M),c=c.slice(0,M)),c&&(this.pathname=c),h[i]&&this.hostname&&!this.pathname&&(this.pathname=""),this},r.prototype.parseHost=function(e){var t=a.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},t.exports=i},{}],420:[function(e,t,n){!function(r,i){"object"==typeof n&&void 0!==t&&"function"==typeof e?i(e("../moment")):"function"==typeof define&&define.amd?define(["../moment"],i):i(r.moment)}(this,function(e){"use strict";return e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{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"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})})},{"../moment":421}],421:[function(e,t,n){!function(e,r){"object"==typeof n&&void 0!==t?t.exports=r():"function"==typeof define&&define.amd?define(r):e.moment=r()}(this,function(){"use strict";function n(){return gr.apply(null,arguments)}function r(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function i(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function o(e){var t;for(t in e)return!1;return!0}function a(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function s(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function l(e,t){var n,r=[];for(n=0;n0)for(n in _r)r=_r[n],i=t[r],g(i)||(e[r]=i);return e}function y(e){v(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===br&&(br=!0,n.updateOffset(this),br=!1)}function _(e){return e instanceof y||null!=e&&null!=e._isAMomentObject}function b(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function x(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=b(t)),n}function w(e,t,n){var r,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(r=0;r0?"future":"past"];return S(n)?n(t):n.replace(/%s/i,t)}function P(e,t){var n=e.toLowerCase();Tr[n]=Tr[n+"s"]=Tr[t]=e}function N(e){return"string"==typeof e?Tr[e]||Tr[e.toLowerCase()]:void 0}function I(e){var t,n,r={};for(n in e)c(e,n)&&(t=N(n))&&(r[t]=e[n]);return r}function q(e,t){Ar[e]=t}function z(e){var t=[];for(var n in e)t.push({unit:n,priority:Ar[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}function R(e,t){return function(r){return null!=r?(B(this,e,r),n.updateOffset(this,t),this):U(this,e)}}function U(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function B(e,t,n){e.isValid()&&e._d["set"+(e._isUTC?"UTC":"")+t](n)}function H(e){return e=N(e),S(this[e])?this[e]():this}function W(e,t){if("object"==typeof e){e=I(e);for(var n=z(e),r=0;r=0?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&&(Or[e]=i),t&&(Or[t[0]]=function(){return V(i.apply(this,arguments),t[1],t[2])}),n&&(Or[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function G(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function Z(e){var t,n,r=e.match(Mr);for(t=0,n=r.length;t=0&&Dr.test(e);)e=e.replace(Dr,n),Dr.lastIndex=0,r-=1;return e}function X(e,t,n){Ir[e]=S(t)?t:function(e,r){return e&&n?n:t}}function Q(e,t){return c(Ir,e)?Ir[e](t._strict,t._locale):new RegExp(ee(e))}function ee(e){return te(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i}))}function te(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function ne(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),a(t)&&(r=function(e,n){n[t]=x(e)}),n=0;n=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}function be(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function xe(e,t,n){var r=7+t-n;return-(7+be(e,0,r).getUTCDay()-t)%7+r-1}function we(e,t,n,r,i){var o,a,s=(7+n-r)%7,l=xe(e,r,i),c=1+7*(t-1)+s+l;return c<=0?(o=e-1,a=ge(o)+c):c>ge(e)?(o=e+1,a=c-ge(e)):(o=e,a=c),{year:o,dayOfYear:a}}function ke(e,t,n){var r,i,o=xe(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return a<1?(i=e.year()-1,r=a+$e(i,t,n)):a>$e(e.year(),t,n)?(r=a-$e(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function $e(e,t,n){var r=xe(e,t,n),i=xe(e+1,t,n);return(ge(e)-r+i)/7}function Ce(e){return ke(e,this._week.dow,this._week.doy).week}function Se(){return this._week.dow}function Ee(){return this._week.doy}function Te(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Ae(e){var t=ke(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Me(e,t){return"string"!=typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"==typeof e?e:null):parseInt(e,10)}function De(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Le(e,t){return e?r(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:this._weekdays}function Oe(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort}function je(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Fe(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=f([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?(i=Zr.call(this._weekdaysParse,a),-1!==i?i:null):"ddd"===t?(i=Zr.call(this._shortWeekdaysParse,a),-1!==i?i:null):(i=Zr.call(this._minWeekdaysParse,a),-1!==i?i:null):"dddd"===t?-1!==(i=Zr.call(this._weekdaysParse,a))?i:-1!==(i=Zr.call(this._shortWeekdaysParse,a))?i:(i=Zr.call(this._minWeekdaysParse,a),-1!==i?i:null):"ddd"===t?-1!==(i=Zr.call(this._shortWeekdaysParse,a))?i:-1!==(i=Zr.call(this._weekdaysParse,a))?i:(i=Zr.call(this._minWeekdaysParse,a),-1!==i?i:null):-1!==(i=Zr.call(this._minWeekdaysParse,a))?i:-1!==(i=Zr.call(this._weekdaysParse,a))?i:(i=Zr.call(this._shortWeekdaysParse,a),-1!==i?i:null)}function Pe(e,t,n){var r,i,o;if(this._weekdaysParseExact)return Fe.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=f([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 Ne(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Me(e,this.localeData()),this.add(e-t,"d")):t}function Ie(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 qe(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=De(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function ze(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Be.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(c(this,"_weekdaysRegex")||(this._weekdaysRegex=ai),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Re(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Be.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(c(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=si),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Ue(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Be.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(c(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=li),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Be(){function e(e,t){return t.length-e.length}var t,n,r,i,o,a=[],s=[],l=[],c=[];for(t=0;t<7;t++)n=f([2e3,1]).day(t),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),o=this.weekdays(n,""),a.push(r),s.push(i),l.push(o),c.push(r),c.push(i),c.push(o);for(a.sort(e),s.sort(e),l.sort(e),c.sort(e),t=0;t<7;t++)s[t]=te(s[t]),l[t]=te(l[t]),c[t]=te(c[t]);this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function He(){return this.hours()%12||12}function We(){return this.hours()||24}function Ve(e,t){Y(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function Ye(e,t){return t._meridiemParse}function Ge(e){return"p"===(e+"").toLowerCase().charAt(0)}function Ze(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}function Ke(e){return e?e.toLowerCase().replace("_","-"):e}function Je(e){for(var t,n,r,i,o=0;o0;){if(r=Xe(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&w(i,n,!0)>=t-1)break;t--}o++}return null}function Xe(n){var r=null;if(!di[n]&&void 0!==t&&t&&t.exports)try{r=ci._abbr,e("./locale/"+n),Qe(r)}catch(e){}return di[n]}function Qe(e,t){var n;return e&&(n=g(t)?nt(e):et(e,t))&&(ci=n),ci._abbr}function et(e,t){if(null!==t){var n=fi;if(t.abbr=e,null!=di[e])C("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=di[e]._config;else if(null!=t.parentLocale){if(null==di[t.parentLocale])return pi[t.parentLocale]||(pi[t.parentLocale]=[]),pi[t.parentLocale].push({name:e,config:t}),null;n=di[t.parentLocale]._config}return di[e]=new A(T(n,t)),pi[e]&&pi[e].forEach(function(e){et(e.name,e.config)}),Qe(e),di[e]}return delete di[e],null}function tt(e,t){if(null!=t){var n,r=fi;null!=di[e]&&(r=di[e]._config),t=T(r,t),n=new A(t),n.parentLocale=di[e],di[e]=n,Qe(e)}else null!=di[e]&&(null!=di[e].parentLocale?di[e]=di[e].parentLocale:null!=di[e]&&delete di[e]);return di[e]}function nt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return ci;if(!r(e)){if(t=Xe(e))return t;e=[e]}return Je(e)}function rt(){return $r(di)}function it(e){var t,n=e._a;return n&&-2===p(e).overflow&&(t=n[Rr]<0||n[Rr]>11?Rr:n[Ur]<1||n[Ur]>oe(n[zr],n[Rr])?Ur:n[Br]<0||n[Br]>24||24===n[Br]&&(0!==n[Hr]||0!==n[Wr]||0!==n[Vr])?Br:n[Hr]<0||n[Hr]>59?Hr:n[Wr]<0||n[Wr]>59?Wr:n[Vr]<0||n[Vr]>999?Vr:-1,p(e)._overflowDayOfYear&&(tUr)&&(t=Ur),p(e)._overflowWeeks&&-1===t&&(t=Yr),p(e)._overflowWeekday&&-1===t&&(t=Gr),p(e).overflow=t),e}function ot(e){var t,n,r,i,o,a,s=e._i,l=hi.exec(s)||mi.exec(s);if(l){for(p(e).iso=!0,t=0,n=vi.length;tge(i)&&(p(e)._overflowDayOfYear=!0),n=be(i,0,e._dayOfYear),e._a[Rr]=n.getUTCMonth(),e._a[Ur]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=o[t]=r[t];for(;t<7;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Br]&&0===e._a[Hr]&&0===e._a[Wr]&&0===e._a[Vr]&&(e._nextDay=!0,e._a[Br]=0),e._d=(e._useUTC?be:_e).apply(null,o),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Br]=24)}}function ut(e){var t,n,r,i,o,a,s,l;if(t=e._w,null!=t.GG||null!=t.W||null!=t.E)o=1,a=4,n=st(t.GG,e._a[zr],ke(_t(),1,4).year),r=st(t.W,1),((i=st(t.E,1))<1||i>7)&&(l=!0);else{o=e._locale._week.dow,a=e._locale._week.doy;var c=ke(_t(),o,a);n=st(t.gg,e._a[zr],c.year),r=st(t.w,c.week),null!=t.d?((i=t.d)<0||i>6)&&(l=!0):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(l=!0)):i=o}r<1||r>$e(n,o,a)?p(e)._overflowWeeks=!0:null!=l?p(e)._overflowWeekday=!0:(s=we(n,r,i,o,a),e._a[zr]=s.year,e._dayOfYear=s.dayOfYear)}function ft(e){if(e._f===n.ISO_8601)return void ot(e);e._a=[],p(e).empty=!0;var t,r,i,o,a,s=""+e._i,l=s.length,c=0;for(i=J(e._f,e._locale).match(Mr)||[],t=0;t0&&p(e).unusedInput.push(a),s=s.slice(s.indexOf(r)+r.length),c+=r.length),Or[o]?(r?p(e).empty=!1:p(e).unusedTokens.push(o),ie(o,r,e)):e._strict&&!r&&p(e).unusedTokens.push(o);p(e).charsLeftOver=l-c,s.length>0&&p(e).unusedInput.push(s),e._a[Br]<=12&&!0===p(e).bigHour&&e._a[Br]>0&&(p(e).bigHour=void 0),p(e).parsedDateParts=e._a.slice(0),p(e).meridiem=e._meridiem,e._a[Br]=dt(e._locale,e._a[Br],e._meridiem),ct(e),it(e)}function dt(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(r=e.isPM(n),r&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function pt(e){var t,n,r,i,o;if(0===e._f.length)return p(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;ithis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Nt(){if(!g(this._isDSTShifted))return this._isDSTShifted;var e={};if(v(e,this),e=gt(e),e._a){var t=e._isUTC?f(e._a):_t(e._a);this._isDSTShifted=this.isValid()&&w(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function It(){return!!this.isValid()&&!this._isUTC}function qt(){return!!this.isValid()&&this._isUTC}function zt(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function Rt(e,t){var n,r,i,o=e,s=null;return $t(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:a(e)?(o={},t?o[t]=e:o.milliseconds=e):(s=$i.exec(e))?(n="-"===s[1]?-1:1,o={y:0,d:x(s[Ur])*n,h:x(s[Br])*n,m:x(s[Hr])*n,s:x(s[Wr])*n,ms:x(Ct(1e3*s[Vr]))*n}):(s=Ci.exec(e))?(n="-"===s[1]?-1:1,o={y:Ut(s[2],n),M:Ut(s[3],n),w:Ut(s[4],n),d:Ut(s[5],n),h:Ut(s[6],n),m:Ut(s[7],n),s:Ut(s[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(i=Ht(_t(o.from),_t(o.to)),o={},o.ms=i.milliseconds,o.M=i.months),r=new kt(o),$t(e)&&c(e,"_locale")&&(r._locale=e._locale),r}function Ut(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Bt(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 Ht(e,t){var n;return e.isValid()&&t.isValid()?(t=Tt(t,e),e.isBefore(t)?n=Bt(e,t):(n=Bt(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0, -months:0}}function Wt(e,t){return function(n,r){var i,o;return null===r||isNaN(+r)||(C(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),n="string"==typeof n?+n:n,i=Rt(n,r),Vt(this,i,e),this}}function Vt(e,t,r,i){var o=t._milliseconds,a=Ct(t._days),s=Ct(t._months);e.isValid()&&(i=null==i||i,o&&e._d.setTime(e._d.valueOf()+o*r),a&&B(e,"Date",U(e,"Date")+a*r),s&&ue(e,U(e,"Month")+s*r),i&&n.updateOffset(e,a||s))}function Yt(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Gt(e,t){var r=e||_t(),i=Tt(r,this).startOf("day"),o=n.calendarFormat(this,i)||"sameElse",a=t&&(S(t[o])?t[o].call(this,r):t[o]);return this.format(a||this.localeData().calendar(o,this,_t(r)))}function Zt(){return new y(this)}function Kt(e,t){var n=_(e)?e:_t(e);return!(!this.isValid()||!n.isValid())&&(t=N(g(t)?"millisecond":t),"millisecond"===t?this.valueOf()>n.valueOf():n.valueOf()o&&(t=o),On.call(this,e,t,n,r,i))}function On(e,t,n,r,i){var o=we(e,t,n,r,i),a=be(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function jn(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function Fn(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 Pn(e,t){t[Vr]=x(1e3*("0."+e))}function Nn(){return this._isUTC?"UTC":""}function In(){return this._isUTC?"Coordinated Universal Time":""}function qn(e){return _t(1e3*e)}function zn(){return _t.apply(null,arguments).parseZone()}function Rn(e){return e}function Un(e,t,n,r){var i=nt(),o=f().set(r,t);return i[n](o,e)}function Bn(e,t,n){if(a(e)&&(t=e,e=void 0),e=e||"",null!=t)return Un(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=Un(e,r,n,"month");return i}function Hn(e,t,n,r){"boolean"==typeof e?(a(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,a(t)&&(n=t,t=void 0),t=t||"");var i=nt(),o=e?i._week.dow:0;if(null!=n)return Un(t,(n+o)%7,r,"day");var s,l=[];for(s=0;s<7;s++)l[s]=Un(t,(s+o)%7,r,"day");return l}function Wn(e,t){return Bn(e,t,"months")}function Vn(e,t){return Bn(e,t,"monthsShort")}function Yn(e,t,n){return Hn(e,t,n,"weekdays")}function Gn(e,t,n){return Hn(e,t,n,"weekdaysShort")}function Zn(e,t,n){return Hn(e,t,n,"weekdaysMin")}function Kn(){var e=this._data;return this._milliseconds=Pi(this._milliseconds),this._days=Pi(this._days),this._months=Pi(this._months),e.milliseconds=Pi(e.milliseconds),e.seconds=Pi(e.seconds),e.minutes=Pi(e.minutes),e.hours=Pi(e.hours),e.months=Pi(e.months),e.years=Pi(e.years),this}function Jn(e,t,n,r){var i=Rt(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function Xn(e,t){return Jn(this,e,t,1)}function Qn(e,t){return Jn(this,e,t,-1)}function er(e){return e<0?Math.floor(e):Math.ceil(e)}function tr(){var e,t,n,r,i,o=this._milliseconds,a=this._days,s=this._months,l=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*er(rr(s)+a),a=0,s=0),l.milliseconds=o%1e3,e=b(o/1e3),l.seconds=e%60,t=b(e/60),l.minutes=t%60,n=b(t/60),l.hours=n%24,a+=b(n/24),i=b(nr(a)),s+=i,a-=er(rr(i)),r=b(s/12),s%=12,l.days=a,l.months=s,l.years=r,this}function nr(e){return 4800*e/146097}function rr(e){return 146097*e/4800}function ir(e){var t,n,r=this._milliseconds;if("month"===(e=N(e))||"year"===e)return t=this._days+r/864e5,n=this._months+nr(t),"month"===e?n:n/12;switch(t=this._days+Math.round(rr(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 or(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*x(this._months/12)}function ar(e){return function(){return this.as(e)}}function sr(e){return e=N(e),this[e+"s"]()}function lr(e){return function(){return this._data[e]}}function cr(){return b(this.days()/7)}function ur(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function fr(e,t,n){var r=Rt(e).abs(),i=Xi(r.as("s")),o=Xi(r.as("m")),a=Xi(r.as("h")),s=Xi(r.as("d")),l=Xi(r.as("M")),c=Xi(r.as("y")),u=i0,u[4]=n,ur.apply(null,u)}function dr(e){return void 0===e?Xi:"function"==typeof e&&(Xi=e,!0)}function pr(e,t){return void 0!==Qi[e]&&(void 0===t?Qi[e]:(Qi[e]=t,!0))}function hr(e){var t=this.localeData(),n=fr(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function mr(){var e,t,n,r=eo(this._milliseconds)/1e3,i=eo(this._days),o=eo(this._months);e=b(r/60),t=b(e/60),r%=60,e%=60,n=b(o/12),o%=12;var a=n,s=o,l=i,c=t,u=e,f=r,d=this.asSeconds();return d?(d<0?"-":"")+"P"+(a?a+"Y":"")+(s?s+"M":"")+(l?l+"D":"")+(c||u||f?"T":"")+(c?c+"H":"")+(u?u+"M":"")+(f?f+"S":""):"P0D"}var gr,vr;vr=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;r68?1900:2e3)};var ti=R("FullYear",!0);Y("w",["ww",2],"wo","week"),Y("W",["WW",2],"Wo","isoWeek"),P("week","w"),P("isoWeek","W"),q("week",5),q("isoWeek",5),X("w",/\d\d?/),X("ww",/\d\d?/,/\d\d/),X("W",/\d\d?/),X("WW",/\d\d?/,/\d\d/),re(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=x(e)});var ni={dow:0,doy:6};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("day",11),q("weekday",11),q("isoWeekday",11),X("d",/\d\d?/),X("e",/\d\d?/),X("E",/\d\d?/),X("dd",function(e,t){return t.weekdaysMinRegex(e)}),X("ddd",function(e,t){return t.weekdaysShortRegex(e)}),X("dddd",function(e,t){return t.weekdaysRegex(e)}),re(["dd","ddd","dddd"],function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:p(n).invalidWeekday=e}),re(["d","e","E"],function(e,t,n,r){t[r]=x(e)});var ri="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),ii="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),oi="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ai=Nr,si=Nr,li=Nr;Y("H",["HH",2],0,"hour"),Y("h",["hh",2],0,He),Y("k",["kk",2],0,We),Y("hmm",0,0,function(){return""+He.apply(this)+V(this.minutes(),2)}),Y("hmmss",0,0,function(){return""+He.apply(this)+V(this.minutes(),2)+V(this.seconds(),2)}),Y("Hmm",0,0,function(){return""+this.hours()+V(this.minutes(),2)}),Y("Hmmss",0,0,function(){return""+this.hours()+V(this.minutes(),2)+V(this.seconds(),2)}),Ve("a",!0),Ve("A",!1),P("hour","h"),q("hour",13),X("a",Ye),X("A",Ye),X("H",/\d\d?/),X("h",/\d\d?/),X("HH",/\d\d?/,/\d\d/),X("hh",/\d\d?/,/\d\d/),X("hmm",/\d\d\d\d?/),X("hmmss",/\d\d\d\d\d\d?/),X("Hmm",/\d\d\d\d?/),X("Hmmss",/\d\d\d\d\d\d?/),ne(["H","HH"],Br),ne(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ne(["h","hh"],function(e,t,n){t[Br]=x(e),p(n).bigHour=!0}),ne("hmm",function(e,t,n){var r=e.length-2;t[Br]=x(e.substr(0,r)),t[Hr]=x(e.substr(r)),p(n).bigHour=!0}),ne("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[Br]=x(e.substr(0,r)),t[Hr]=x(e.substr(r,2)),t[Wr]=x(e.substr(i)),p(n).bigHour=!0}),ne("Hmm",function(e,t,n){var r=e.length-2;t[Br]=x(e.substr(0,r)),t[Hr]=x(e.substr(r))}),ne("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[Br]=x(e.substr(0,r)),t[Hr]=x(e.substr(r,2)),t[Wr]=x(e.substr(i))});var ci,ui=R("Hours",!0),fi={calendar:Cr,longDateFormat:Sr,invalidDate:"Invalid date",ordinal:"%d",ordinalParse:/\d{1,2}/,relativeTime:Er,months:Jr,monthsShort:Xr,week:ni,weekdays:ri,weekdaysMin:oi,weekdaysShort:ii,meridiemParse:/[ap]\.?m?\.?/i},di={},pi={},hi=/^\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)?)?$/,mi=/^\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)?)?$/,gi=/Z|[+-]\d\d(?::?\d\d)?/,vi=[["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}/]],yi=[["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/]],_i=/^\/?Date\((\-?\d+)/i;n.createFromInputFallback=$("value provided is not in a recognized ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),n.ISO_8601=function(){};var bi=$("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=_t.apply(null,arguments);return this.isValid()&&e.isValid()?ethis?this:e:m()}),wi=function(){return Date.now?Date.now():+new Date};St("Z",":"),St("ZZ",""),X("Z",Pr),X("ZZ",Pr),ne(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Et(Pr,e)});var ki=/([\+\-]|\d\d)/gi;n.updateOffset=function(){};var $i=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Ci=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;Rt.fn=kt.prototype;var Si=Wt(1,"add"),Ei=Wt(-1,"subtract");n.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",n.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Ti=$("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}),En("gggg","weekYear"),En("ggggg","weekYear"),En("GGGG","isoWeekYear"),En("GGGGG","isoWeekYear"),P("weekYear","gg"),P("isoWeekYear","GG"),q("weekYear",1),q("isoWeekYear",1),X("G",/[+-]?\d+/),X("g",/[+-]?\d+/),X("GG",/\d\d?/,/\d\d/),X("gg",/\d\d?/,/\d\d/),X("GGGG",/\d{1,4}/,/\d{4}/),X("gggg",/\d{1,4}/,/\d{4}/),X("GGGGG",/[+-]?\d{1,6}/,jr),X("ggggg",/[+-]?\d{1,6}/,jr),re(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=x(e)}),re(["gg","GG"],function(e,t,r,i){t[i]=n.parseTwoDigitYear(e)}),Y("Q",0,"Qo","quarter"),P("quarter","Q"),q("quarter",7),X("Q",/\d/),ne("Q",function(e,t){t[Rr]=3*(x(e)-1)}),Y("D",["DD",2],"Do","date"),P("date","D"),q("date",9),X("D",/\d\d?/),X("DD",/\d\d?/,/\d\d/),X("Do",function(e,t){return e?t._ordinalParse:t._ordinalParseLenient}),ne(["D","DD"],Ur),ne("Do",function(e,t){t[Ur]=x(e.match(/\d\d?/)[0],10)});var Ai=R("Date",!0);Y("DDD",["DDDD",3],"DDDo","dayOfYear"),P("dayOfYear","DDD"),q("dayOfYear",4),X("DDD",/\d{1,3}/),X("DDDD",/\d{3}/),ne(["DDD","DDDD"],function(e,t,n){n._dayOfYear=x(e)}),Y("m",["mm",2],0,"minute"),P("minute","m"),q("minute",14),X("m",/\d\d?/),X("mm",/\d\d?/,/\d\d/),ne(["m","mm"],Hr);var Mi=R("Minutes",!1);Y("s",["ss",2],0,"second"),P("second","s"),q("second",15),X("s",/\d\d?/),X("ss",/\d\d?/,/\d\d/),ne(["s","ss"],Wr);var Di=R("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("millisecond",16),X("S",/\d{1,3}/,/\d/),X("SS",/\d{1,3}/,/\d\d/),X("SSS",/\d{1,3}/,/\d{3}/);var Li;for(Li="SSSS";Li.length<=9;Li+="S")X(Li,/\d+/);for(Li="S";Li.length<=9;Li+="S")ne(Li,Pn);var Oi=R("Milliseconds",!1);Y("z",0,0,"zoneAbbr"),Y("zz",0,0,"zoneName");var ji=y.prototype;ji.add=Si,ji.calendar=Gt,ji.clone=Zt,ji.diff=nn,ji.endOf=gn,ji.format=ln,ji.from=cn,ji.fromNow=un,ji.to=fn,ji.toNow=dn,ji.get=H,ji.invalidAt=Cn,ji.isAfter=Kt,ji.isBefore=Jt,ji.isBetween=Xt,ji.isSame=Qt,ji.isSameOrAfter=en,ji.isSameOrBefore=tn,ji.isValid=kn,ji.lang=Ti,ji.locale=pn,ji.localeData=hn,ji.max=xi,ji.min=bi,ji.parsingFlags=$n,ji.set=W,ji.startOf=mn,ji.subtract=Ei,ji.toArray=bn,ji.toObject=xn,ji.toDate=_n,ji.toISOString=an,ji.inspect=sn,ji.toJSON=wn,ji.toString=on,ji.unix=yn,ji.valueOf=vn,ji.creationData=Sn,ji.year=ti,ji.isLeapYear=ye,ji.weekYear=Tn,ji.isoWeekYear=An,ji.quarter=ji.quarters=jn,ji.month=fe,ji.daysInMonth=de,ji.week=ji.weeks=Te,ji.isoWeek=ji.isoWeeks=Ae,ji.weeksInYear=Dn,ji.isoWeeksInYear=Mn,ji.date=Ai,ji.day=ji.days=Ne,ji.weekday=Ie,ji.isoWeekday=qe,ji.dayOfYear=Fn,ji.hour=ji.hours=ui,ji.minute=ji.minutes=Mi,ji.second=ji.seconds=Di,ji.millisecond=ji.milliseconds=Oi,ji.utcOffset=Mt,ji.utc=Lt,ji.local=Ot,ji.parseZone=jt,ji.hasAlignedHourOffset=Ft,ji.isDST=Pt,ji.isLocal=It,ji.isUtcOffset=qt,ji.isUtc=zt,ji.isUTC=zt,ji.zoneAbbr=Nn,ji.zoneName=In,ji.dates=$("dates accessor is deprecated. Use date instead.",Ai),ji.months=$("months accessor is deprecated. Use month instead",fe),ji.years=$("years accessor is deprecated. Use year instead",ti),ji.zone=$("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Dt),ji.isDSTShifted=$("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Nt);var Fi=A.prototype;Fi.calendar=M,Fi.longDateFormat=D,Fi.invalidDate=L,Fi.ordinal=O,Fi.preparse=Rn,Fi.postformat=Rn,Fi.relativeTime=j,Fi.pastFuture=F,Fi.set=E,Fi.months=ae,Fi.monthsShort=se,Fi.monthsParse=ce,Fi.monthsRegex=he,Fi.monthsShortRegex=pe,Fi.week=Ce,Fi.firstDayOfYear=Ee,Fi.firstDayOfWeek=Se,Fi.weekdays=Le,Fi.weekdaysMin=je,Fi.weekdaysShort=Oe,Fi.weekdaysParse=Pe,Fi.weekdaysRegex=ze,Fi.weekdaysShortRegex=Re,Fi.weekdaysMinRegex=Ue,Fi.isPM=Ge,Fi.meridiem=Ze,Qe("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===x(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),n.lang=$("moment.lang is deprecated. Use moment.locale instead.",Qe),n.langData=$("moment.langData is deprecated. Use moment.localeData instead.",nt);var Pi=Math.abs,Ni=ar("ms"),Ii=ar("s"),qi=ar("m"),zi=ar("h"),Ri=ar("d"),Ui=ar("w"),Bi=ar("M"),Hi=ar("y"),Wi=lr("milliseconds"),Vi=lr("seconds"),Yi=lr("minutes"),Gi=lr("hours"),Zi=lr("days"),Ki=lr("months"),Ji=lr("years"),Xi=Math.round,Qi={s:45,m:45,h:22,d:26,M:11},eo=Math.abs,to=kt.prototype;return to.abs=Kn,to.add=Xn,to.subtract=Qn,to.as=ir,to.asMilliseconds=Ni,to.asSeconds=Ii,to.asMinutes=qi,to.asHours=zi,to.asDays=Ri,to.asWeeks=Ui,to.asMonths=Bi,to.asYears=Hi,to.valueOf=or,to._bubble=tr,to.get=sr,to.milliseconds=Wi,to.seconds=Vi,to.minutes=Yi,to.hours=Gi,to.days=Zi,to.weeks=cr,to.months=Ki,to.years=Ji,to.humanize=hr,to.toISOString=mr,to.toString=mr,to.toJSON=mr,to.locale=pn,to.localeData=hn,to.toIsoString=$("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",mr),to.lang=Ti,Y("X",0,0,"unix"),Y("x",0,0,"valueOf"),X("x",/[+-]?\d+/),X("X",/[+-]?\d+(\.\d{1,3})?/),ne("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),ne("x",function(e,t,n){n._d=new Date(x(e))}),n.version="2.17.1",function(e){gr=e}(_t),n.fn=ji,n.min=xt,n.max=wt,n.now=wi,n.utc=f,n.unix=qn,n.months=Wn,n.isDate=s,n.locale=Qe,n.invalid=m,n.duration=Rt,n.isMoment=_,n.weekdays=Yn,n.parseZone=zn,n.localeData=nt,n.isDuration=$t,n.monthsShort=Vn,n.weekdaysMin=Zn,n.defineLocale=et,n.updateLocale=tt,n.locales=rt,n.weekdaysShort=Gn,n.normalizeUnits=N,n.relativeTimeRounding=dr,n.relativeTimeThreshold=pr,n.calendarFormat=Yt,n.prototype=ji,n})},{}],422:[function(e,t,n){function r(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function o(e){if(f===setTimeout)return setTimeout(e,0);if((f===r||!f)&&setTimeout)return f=setTimeout,setTimeout(e,0);try{return f(e,0)}catch(t){try{return f.call(null,e,0)}catch(t){return f.call(this,e,0)}}}function a(e){if(d===clearTimeout)return clearTimeout(e);if((d===i||!d)&&clearTimeout)return d=clearTimeout,clearTimeout(e);try{return d(e)}catch(t){try{return d.call(null,e)}catch(t){return d.call(this,e)}}}function s(){g&&h&&(g=!1,h.length?m=h.concat(m):v=-1,m.length&&l())}function l(){if(!g){var e=o(s);g=!0;for(var t=m.length;t;){for(h=m,m=[];++v1)for(var n=1;n1&&(r=n[0]+"@",e=n[1]),e=e.replace(L,"."),r+o(e.split("."),t).join(".")}function s(e){for(var t,n,r=[],i=0,o=e.length;i=55296&&t<=56319&&i65535&&(e-=65536,t+=P(e>>>10&1023|55296),e=56320|1023&e),t+=P(e)}).join("")}function c(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:w}function u(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function f(e,t,n){var r=0;for(e=n?F(e/S):e>>1,e+=F(e/t);e>j*$>>1;r+=w)e=F(e/j);return F(r+(j+1)*e/(e+C))}function d(e){var t,n,r,o,a,s,u,d,p,h,m=[],g=e.length,v=0,y=T,_=E;for(n=e.lastIndexOf(A),n<0&&(n=0),r=0;r=128&&i("not-basic"),m.push(e.charCodeAt(r));for(o=n>0?n+1:0;o=g&&i("invalid-input"),d=c(e.charCodeAt(o++)),(d>=w||d>F((x-v)/s))&&i("overflow"),v+=d*s,p=u<=_?k:u>=_+$?$:u-_,!(dF(x/h)&&i("overflow"),s*=h;t=m.length+1,_=f(v-a,t,0==a),F(v/t)>x-y&&i("overflow"),y+=F(v/t),v%=t,m.splice(v++,0,y)}return l(m)}function p(e){var t,n,r,o,a,l,c,d,p,h,m,g,v,y,_,b=[];for(e=s(e),g=e.length,t=T,n=0,a=E,l=0;l=t&&mF((x-n)/v)&&i("overflow"),n+=(c-t)*v,t=c,l=0;lx&&i("overflow"),m==t){for(d=n,p=w;h=p<=a?k:p>=a+$?$:p-a,!(d= 0x80 (not a basic code point)","invalid-input":"Invalid input"},j=w-k,F=Math.floor,P=String.fromCharCode;if(_={version:"1.4.1",ucs2:{decode:s,encode:l},decode:d,encode:p,toASCII:m,toUnicode:h},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",function(){return _});else if(g&&v)if(t.exports==g)v.exports=_;else for(b in _)_.hasOwnProperty(b)&&(g[b]=_[b]);else r.punycode=_}(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],424:[function(e,t,n){(function(e,n){!function(n){"use strict";function r(e,t,n,r){var i=t&&t.prototype instanceof o?t:o,a=Object.create(i.prototype),s=new p(r||[]);return a._invoke=u(e,n,s),a}function i(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function o(){}function a(){}function s(){}function l(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function c(t){function n(e,r,o,a){var s=i(t[e],t,r);if("throw"!==s.type){var l=s.arg,c=l.value;return c&&"object"==typeof c&&y.call(c,"__await")?Promise.resolve(c.__await).then(function(e){n("next",e,o,a)},function(e){n("throw",e,o,a)}):Promise.resolve(c).then(function(e){l.value=e,o(l)},a)}a(s.arg)}function r(e,t){function r(){return new Promise(function(r,i){n(e,t,r,i)})}return o=o?o.then(r,r):r()}"object"==typeof e&&e.domain&&(n=e.domain.bind(n));var o;this._invoke=r}function u(e,t,n){var r=$;return function(o,a){if(r===S)throw new Error("Generator is already running");if(r===E){if("throw"===o)throw a;return m()}for(;;){var s=n.delegate;if(s){if("return"===o||"throw"===o&&s.iterator[o]===g){n.delegate=null;var l=s.iterator.return;if(l){var c=i(l,s.iterator,a);if("throw"===c.type){o="throw",a=c.arg;continue}}if("return"===o)continue}var c=i(s.iterator[o],s.iterator,a);if("throw"===c.type){n.delegate=null,o="throw",a=c.arg;continue}o="next",a=g;var u=c.arg;if(!u.done)return r=C,u;n[s.resultName]=u.value,n.next=s.nextLoc,n.delegate=null}if("next"===o)n.sent=n._sent=a;else if("throw"===o){if(r===$)throw r=E,a;n.dispatchException(a)&&(o="next",a=g)}else"return"===o&&n.abrupt("return",a);r=S;var c=i(e,t,n);if("normal"===c.type){r=n.done?E:C;var u={value:c.arg,done:n.done};if(c.arg!==T)return u;n.delegate&&"next"===o&&(a=g)}else"throw"===c.type&&(r=E,o="throw",a=c.arg)}}}function f(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function d(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function p(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(f,this),this.reset(!0)}function h(e){if(e){var t=e[b];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n=0;--r){var i=this.tryEntries[r],o=i.completion;if("root"===i.tryLoc)return t("end");if(i.tryLoc<=this.prev){var a=y.call(i,"catchLoc"),s=y.call(i,"finallyLoc");if(a&&s){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&y.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),d(n),T}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;d(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:h(e),resultName:t,nextLoc:n},T}}}("object"==typeof n?n:"object"==typeof window?window:"object"==typeof self?self:this)}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{_process:422}],425:[function(e,t,n){function r(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName){var n=e.hasAttribute("readonly");n||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),n||e.removeAttribute("readonly"),t=e.value}else{e.hasAttribute("contenteditable")&&e.focus();var r=window.getSelection(),i=document.createRange();i.selectNodeContents(e),r.removeAllRanges(),r.addRange(i),t=r.toString()}return t}t.exports=r},{}],426:[function(e,t,n){!function(e){"use strict";"function"==typeof define&&define.amd?define(e):void 0!==t&&void 0!==t.exports?t.exports=e():window.Sortable=e()}(function(){"use strict";function e(e,t){if(!e||!e.nodeType||1!==e.nodeType)throw"Sortable: `el` must be HTMLElement, and not "+{}.toString.call(e);this.el=e,this.options=t=_({},t),e[W]=this;var n={group:Math.random(),sort:!0,disabled:!1,store:null,handle:null,scroll:!0,scrollSensitivity:30,scrollSpeed:10,draggable:/[uo]l/i.test(e.nodeName)?"li":">*",ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,setData:function(e,t){e.setData("Text",t.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0}};for(var r in n)!(r in t)&&(t[r]=n[r]);ae(t);for(var i in this)"_"===i.charAt(0)&&"function"==typeof this[i]&&(this[i]=this[i].bind(this));this.nativeDraggable=!t.forceFallback&&X,o(e,"mousedown",this._onTapStart),o(e,"touchstart",this._onTapStart),o(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(o(e,"dragover",this),o(e,"dragenter",this)),ie.push(this._onDragOver),t.store&&this.sort(t.store.get(this))}function t(e,t){"clone"!==e.lastPullMode&&(t=!0),C&&C.state!==t&&(l(C,"display",t?"none":""),t||C.state&&(e.options.group.revertClone?(S.insertBefore(C,E),e._animate(w,C)):S.insertBefore(C,w)),C.state=t)}function n(e,t,n){if(e){n=n||Y;do{if(">*"===t&&e.parentNode===n||v(e,t))return e}while(e=r(e))}return null}function r(e){var t=e.host;return t&&t.nodeType?t:e.parentNode}function i(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.preventDefault()}function o(e,t,n){e.addEventListener(t,n,J)}function a(e,t,n){e.removeEventListener(t,n,J)}function s(e,t,n){if(e)if(e.classList)e.classList[n?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(B," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(B," ")}}function l(e,t,n){var r=e&&e.style;if(r){if(void 0===n)return Y.defaultView&&Y.defaultView.getComputedStyle?n=Y.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),void 0===t?n:n[t];t in r||(t="-webkit-"+t),r[t]=n+("string"==typeof n?"":"px")}}function c(e,t,n){if(e){var r=e.getElementsByTagName(t),i=0,o=r.length;if(n)for(;i5||t.clientX-(r.left+r.width)>5}function m(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,r=0;n--;)r+=t.charCodeAt(n);return r.toString(36)}function g(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e&&(e=e.previousElementSibling);)"TEMPLATE"===e.nodeName.toUpperCase()||">*"!==t&&!v(e,t)||n++;return n}function v(e,t){if(e){t=t.split(".");var n=t.shift().toUpperCase(),r=new RegExp("\\s("+t.join("|")+")(?=\\s)","g");return!(""!==n&&e.nodeName.toUpperCase()!=n||t.length&&((" "+e.className+" ").match(r)||[]).length!=t.length)}return!1}function y(e,t){var n,r;return function(){void 0===n&&(n=arguments,r=this,setTimeout(function(){1===n.length?e.call(r,n[0]):e.apply(r,n),n=void 0},t))}}function _(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function b(e){return Z?Z(e).clone(!0)[0]:K&&K.dom?K.dom(e).cloneNode(!0):e.cloneNode(!0)}function x(e){for(var t=e.getElementsByTagName("input"),n=t.length;n--;){var r=t[n];r.checked&&re.push(r)}}if("undefined"==typeof window||!window.document)return function(){throw new Error("Sortable.js requires a window with a document")};var w,k,$,C,S,E,T,A,M,D,L,O,j,F,P,N,I,q,z,R,U={},B=/\s+/g,H=/left|right|inline/,W="Sortable"+(new Date).getTime(),V=window,Y=V.document,G=V.parseInt,Z=V.jQuery||V.Zepto,K=V.Polymer,J=!1,X=!!("draggable"in Y.createElement("div")),Q=function(e){return!navigator.userAgent.match(/Trident.*rv[ :]?11\./)&&(e=Y.createElement("x"),e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents)}(),ee=!1,te=Math.abs,ne=Math.min,re=[],ie=[],oe=y(function(e,t,n){if(n&&t.scroll){var r,i,o,a,s,l,c=n[W],u=t.scrollSensitivity,f=t.scrollSpeed,d=e.clientX,p=e.clientY,h=window.innerWidth,m=window.innerHeight;if(M!==n&&(A=t.scroll,M=n,D=t.scrollFn,!0===A)){A=n;do{if(A.offsetWidth-1:i==e)}}var n={},r=e.group;r&&"object"==typeof r||(r={name:r}),n.name=r.name,n.checkPull=t(r.pull,!0),n.checkPut=t(r.put),n.revertClone=r.revertClone,e.group=n};e.prototype={constructor:e,_onTapStart:function(e){var t,r=this,i=this.el,o=this.options,a=o.preventOnFilter,s=e.type,l=e.touches&&e.touches[0],c=(l||e).target,f=e.target.shadowRoot&&e.path[0]||c,d=o.filter;if(x(i),!w&&!("mousedown"===s&&0!==e.button||o.disabled)&&(c=n(c,o.draggable,i))&&T!==c){if(t=g(c,o.draggable),"function"==typeof d){if(d.call(this,e,c,this))return u(r,f,"filter",c,i,t),void(a&&e.preventDefault())}else if(d&&(d=d.split(",").some(function(e){if(e=n(f,e.trim(),i))return u(r,e,"filter",c,i,t),!0})))return void(a&&e.preventDefault());o.handle&&!n(f,o.handle,i)||this._prepareDragStart(e,l,c,t)}},_prepareDragStart:function(e,t,n,r){var i,a=this,l=a.el,f=a.options,p=l.ownerDocument;n&&!w&&n.parentNode===l&&(q=e,S=l,w=n,k=w.parentNode,E=w.nextSibling,T=n,N=f.group,F=r,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,w.style["will-change"]="transform",i=function(){a._disableDelayedDrag(),w.draggable=a.nativeDraggable,s(w,f.chosenClass,!0),a._triggerDragStart(e,t),u(a,S,"choose",w,S,F)},f.ignore.split(",").forEach(function(e){c(w,e.trim(),d)}),o(p,"mouseup",a._onDrop),o(p,"touchend",a._onDrop),o(p,"touchcancel",a._onDrop),o(p,"pointercancel",a._onDrop),o(p,"selectstart",a),f.delay?(o(p,"mouseup",a._disableDelayedDrag),o(p,"touchend",a._disableDelayedDrag),o(p,"touchcancel",a._disableDelayedDrag),o(p,"mousemove",a._disableDelayedDrag),o(p,"touchmove",a._disableDelayedDrag),o(p,"pointermove",a._disableDelayedDrag),a._dragStartTimer=setTimeout(i,f.delay)):i())},_disableDelayedDrag:function(){var e=this.el.ownerDocument;clearTimeout(this._dragStartTimer),a(e,"mouseup",this._disableDelayedDrag),a(e,"touchend",this._disableDelayedDrag),a(e,"touchcancel",this._disableDelayedDrag),a(e,"mousemove",this._disableDelayedDrag),a(e,"touchmove",this._disableDelayedDrag),a(e,"pointermove",this._disableDelayedDrag)},_triggerDragStart:function(e,t){t=t||("touch"==e.pointerType?e:null),t?(q={target:w,clientX:t.clientX,clientY:t.clientY},this._onDragStart(q,"touch")):this.nativeDraggable?(o(w,"dragend",this),o(S,"dragstart",this._onDragStart)):this._onDragStart(q,!0);try{Y.selection?setTimeout(function(){Y.selection.empty()}):window.getSelection().removeAllRanges()}catch(e){}},_dragStarted:function(){if(S&&w){var t=this.options;s(w,t.ghostClass,!0),s(w,t.dragClass,!1),e.active=this,u(this,S,"start",w,S,F)}else this._nulling()},_emulateDragOver:function(){if(z){if(this._lastX===z.clientX&&this._lastY===z.clientY)return;this._lastX=z.clientX,this._lastY=z.clientY,Q||l($,"display","none");var e=Y.elementFromPoint(z.clientX,z.clientY),t=e,n=ie.length;if(t)do{if(t[W]){for(;n--;)ie[n]({clientX:z.clientX,clientY:z.clientY,target:e,rootEl:t});break}e=t}while(t=t.parentNode);Q||l($,"display","")}},_onTouchMove:function(t){if(q){var n=this.options,r=n.fallbackTolerance,i=n.fallbackOffset,o=t.touches?t.touches[0]:t,a=o.clientX-q.clientX+i.x,s=o.clientY-q.clientY+i.y,c=t.touches?"translate3d("+a+"px,"+s+"px,0)":"translate("+a+"px,"+s+"px)";if(!e.active){if(r&&ne(te(o.clientX-this._lastX),te(o.clientY-this._lastY))w.offsetWidth,A=i.offsetHeight>w.offsetHeight,M=(x?(r.clientX-a.left)/_:(r.clientY-a.top)/b)>.5,D=i.nextElementSibling,F=!1;if(x){var P=w.offsetTop,q=i.offsetTop;F=P===q?i.previousElementSibling===w&&!T||M&&T:i.previousElementSibling===w||w.previousElementSibling===i?(r.clientY-a.top)/b>.5:q>P}else v||(F=D!==w&&!A||M&&A);var z=f(S,c,w,o,i,a,r,F);!1!==z&&(1!==z&&-1!==z||(F=1===z),ee=!0,setTimeout(p,30),t(m,g),w.contains(c)||(F&&!D?c.appendChild(w):i.parentNode.insertBefore(w,F?D:i)),k=w.parentNode,this._animate(o,w),this._animate(a,i))}}},_animate:function(e,t){var n=this.options.animation;if(n){var r=t.getBoundingClientRect();1===e.nodeType&&(e=e.getBoundingClientRect()),l(t,"transition","none"),l(t,"transform","translate3d("+(e.left-r.left)+"px,"+(e.top-r.top)+"px,0)"),t.offsetWidth,l(t,"transition","all "+n+"ms"),l(t,"transform","translate3d(0,0,0)"),clearTimeout(t.animated),t.animated=setTimeout(function(){l(t,"transition",""),l(t,"transform",""),t.animated=!1},n)}},_offUpEvents:function(){var e=this.el.ownerDocument;a(Y,"touchmove",this._onTouchMove),a(Y,"pointermove",this._onTouchMove),a(e,"mouseup",this._onDrop),a(e,"touchend",this._onDrop),a(e,"pointerup",this._onDrop),a(e,"touchcancel",this._onDrop),a(e,"pointercancel",this._onDrop),a(e,"selectstart",this)},_onDrop:function(t){var n=this.el,r=this.options;clearInterval(this._loopId),clearInterval(U.pid),clearTimeout(this._dragStartTimer),a(Y,"mousemove",this._onTouchMove),this.nativeDraggable&&(a(Y,"drop",this),a(n,"dragstart",this._onDragStart)),this._offUpEvents(),t&&(R&&(t.preventDefault(),!r.dropBubble&&t.stopPropagation()),$&&$.parentNode&&$.parentNode.removeChild($),S!==k&&"clone"===e.active.lastPullMode||C&&C.parentNode&&C.parentNode.removeChild(C),w&&(this.nativeDraggable&&a(w,"dragend",this),d(w),w.style["will-change"]="",s(w,this.options.ghostClass,!1),s(w,this.options.chosenClass,!1),u(this,S,"unchoose",w,S,F),S!==k?(P=g(w,r.draggable))>=0&&(u(null,k,"add",w,S,F,P),u(this,S,"remove",w,S,F,P),u(null,k,"sort",w,S,F,P),u(this,S,"sort",w,S,F,P)):w.nextSibling!==E&&(P=g(w,r.draggable))>=0&&(u(this,S,"update",w,S,F,P),u(this,S,"sort",w,S,F,P)),e.active&&(null!=P&&-1!==P||(P=F),u(this,S,"end",w,S,F,P),this.save()))),this._nulling()},_nulling:function(){S=w=k=$=E=C=T=A=M=q=z=R=P=L=O=I=N=e.active=null,re.forEach(function(e){e.checked=!0}),re.length=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragover":case"dragenter":w&&(this._onDragOver(e),i(e));break;case"selectstart":e.preventDefault()}},toArray:function(){for(var e,t=[],r=this.el.children,i=0,o=r.length,a=this.options;i-1)return e.splice(n,1)}}function a(e,t){return ki.call(e,t)}function s(e){return"string"==typeof e||"number"==typeof e}function l(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}function c(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n}function u(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function f(e,t){for(var n in t)e[n]=t[n];return e}function d(e){return null!==e&&"object"==typeof e}function p(e){return Ei.call(e)===Ti}function h(e){for(var t={},n=0;n=0&&uo[n].id>e.id;)n--;uo.splice(Math.max(n,mo)+1,0,e)}else uo.push(e);po||(po=!0,Vi(me))}}function ve(e){yo.clear(),ye(e,yo)}function ye(e,t){var n,r,i=Array.isArray(e);if((i||d(e))&&Object.isExtensible(e)){if(e.__ob__){var o=e.__ob__.dep.id;if(t.has(o))return;t.add(o)}if(i)for(n=e.length;n--;)ye(e[n],t);else for(r=Object.keys(e),n=r.length;n--;)ye(e[r[n]],t)}}function _e(e,t,n){_o.get=function(){return this[t][n]},_o.set=function(e){this[t][n]=e},Object.defineProperty(e,n,_o)}function be(e){e._watchers=[];var t=e.$options;t.props&&xe(e,t.props),t.methods&&Ee(e,t.methods),t.data?we(e):E(e._data={},!0),t.computed&&$e(e,t.computed),t.watch&&Te(e,t.watch)}function xe(e,t){var n=e.$options.propsData||{},r=e._props={},i=e.$options._propKeys=[],o=!e.$parent;eo.shouldConvert=o;for(var a in t)!function(o){i.push(o);var a=q(o,t,n,e);T(r,o,a),o in e||_e(e,"_props",o)}(a);eo.shouldConvert=!0}function we(e){var t=e.$options.data;t=e._data="function"==typeof t?ke(t,e):t||{},p(t)||(t={});for(var n=Object.keys(t),r=e.$options.props,i=n.length;i--;)r&&a(r,n[i])||_(n[i])||_e(e,"_data",n[i]);E(t,!0)}function ke(e,t){try{return e.call(t)}catch(e){return B(e,t,"data()"),{}}}function $e(e,t){var n=e._computedWatchers=Object.create(null);for(var r in t){var i=t[r],o="function"==typeof i?i:i.get;n[r]=new vo(e,o,m,bo),r in e||Ce(e,r,i)}}function Ce(e,t,n){"function"==typeof n?(_o.get=Se(t),_o.set=m):(_o.get=n.get?!1!==n.cache?Se(t):n.get:m,_o.set=n.set?n.set:m),Object.defineProperty(e,t,_o)}function Se(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),Zi.target&&t.depend(),t.value}}function Ee(e,t){e.$options.props;for(var n in t)e[n]=null==t[n]?m:c(t[n],e)}function Te(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var i=0;i-1:e instanceof RegExp&&e.test(t)}function pt(e,t){for(var n in e){var r=e[n];if(r){var i=ft(r.componentOptions);i&&!t(i)&&(ht(r),e[n]=null)}}}function ht(e){e&&(e.componentInstance._inactive||pe(e.componentInstance,"deactivated"),e.componentInstance.$destroy())}function mt(e){for(var t=e.data,n=e,r=e;r.componentInstance;)r=r.componentInstance._vnode,r.data&&(t=gt(r.data,t));for(;n=n.parent;)n.data&&(t=gt(t,n.data));return vt(t)}function gt(e,t){return{staticClass:yt(e.staticClass,t.staticClass),class:e.class?[e.class,t.class]:t.class}}function vt(e){var t=e.class,n=e.staticClass;return n||t?yt(n,_t(t)):""}function yt(e,t){return e?t?e+" "+t:e:t||""}function _t(e){var t="";if(!e)return t;if("string"==typeof e)return e;if(Array.isArray(e)){for(var n,r=0,i=e.length;r-1?Jo[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Jo[e]=/HTMLUnknownElement/.test(t.toString())}function wt(e){if("string"==typeof e){var t=document.querySelector(e);return t||document.createElement("div")}return e}function kt(e,t){var n=document.createElement(e);return"select"!==e?n:(t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)}function $t(e,t){return document.createElementNS(Vo[e],t)}function Ct(e){return document.createTextNode(e)}function St(e){return document.createComment(e)}function Et(e,t,n){e.insertBefore(t,n)}function Tt(e,t){e.removeChild(t)}function At(e,t){e.appendChild(t)}function Mt(e){return e.parentNode}function Dt(e){return e.nextSibling}function Lt(e){return e.tagName}function Ot(e,t){e.textContent=t}function jt(e,t,n){e.setAttribute(t,n)}function Ft(e,t){var n=e.data.ref;if(n){var r=e.context,i=e.componentInstance||e.elm,a=r.$refs;t?Array.isArray(a[n])?o(a[n],i):a[n]===i&&(a[n]=void 0):e.data.refInFor?Array.isArray(a[n])&&a[n].indexOf(i)<0?a[n].push(i):a[n]=[i]:a[n]=i}}function Pt(e){return void 0===e||null===e}function Nt(e){return void 0!==e&&null!==e}function It(e){return!0===e}function qt(e,t){return e.key===t.key&&e.tag===t.tag&&e.isComment===t.isComment&&Nt(e.data)===Nt(t.data)&&zt(e,t)}function zt(e,t){if("input"!==e.tag)return!0;var n;return(Nt(n=e.data)&&Nt(n=n.attrs)&&n.type)===(Nt(n=t.data)&&Nt(n=n.attrs)&&n.type)}function Rt(e,t,n){var r,i,o={};for(r=t;r<=n;++r)i=e[r].key,Nt(i)&&(o[i]=r);return o}function Ut(e,t){(e.data.directives||t.data.directives)&&Bt(e,t)}function Bt(e,t){var n,r,i,o=e===ea,a=t===ea,s=Ht(e.data.directives,e.context),l=Ht(t.data.directives,t.context),c=[],u=[];for(n in l)r=s[n],i=l[n],r?(i.oldValue=r.value,Vt(i,"update",t,e),i.def&&i.def.componentUpdated&&u.push(i)):(Vt(i,"bind",t,e),i.def&&i.def.inserted&&c.push(i));if(c.length){var f=function(){for(var n=0;n=0&&" "===(g=e.charAt(m));m--);g&&sa.test(g)||(u=!0)}}else void 0===o?(h=i+1,o=e.slice(0,i).trim()):t();if(void 0===o?o=e.slice(0,i).trim():0!==h&&t(),a)for(i=0;i=Ao}function dn(e){return 34===e||39===e}function pn(e){var t=1;for(Oo=Lo;!fn();)if(e=un(),dn(e))hn(e);else if(91===e&&t++,93===e&&t--,0===t){jo=Lo;break}}function hn(e){for(var t=e;!fn()&&(e=un())!==t;);}function mn(e,t,n){Fo=n;var r=t.value,i=t.modifiers,o=e.tag,a=e.attrsMap.type;if("select"===o)yn(e,r,i);else if("input"===o&&"checkbox"===a)gn(e,r,i);else if("input"===o&&"radio"===a)vn(e,r,i);else if("input"===o||"textarea"===o)_n(e,r,i);else if(!Di.isReservedTag(o))return sn(e,r,i),!1;return!0}function gn(e,t,n){var r=n&&n.number,i=on(e,"value")||"null",o=on(e,"true-value")||"true",a=on(e,"false-value")||"false";en(e,"checked","Array.isArray("+t+")?_i("+t+","+i+")>-1"+("true"===o?":("+t+")":":_q("+t+","+o+")")),rn(e,ca,"var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+a+");if(Array.isArray($$a)){var $$v="+(r?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$c){$$i<0&&("+t+"=$$a.concat($$v))}else{$$i>-1&&("+t+"=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{"+t+"=$$c}",null,!0)}function vn(e,t,n){var r=n&&n.number,i=on(e,"value")||"null";i=r?"_n("+i+")":i,en(e,"checked","_q("+t+","+i+")"),rn(e,ca,ln(t,i),null,!0)}function yn(e,t,n){var r=n&&n.number,i='Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(r?"_n(val)":"val")+"})",o="var $$selectedVal = "+i+";";o=o+" "+ln(t,"$event.target.multiple ? $$selectedVal : $$selectedVal[0]"),rn(e,"change",o,null,!0)}function _n(e,t,n){var r=e.attrsMap.type,i=n||{},o=i.lazy,a=i.number,s=i.trim,l=!o&&"range"!==r,c=o?"change":"range"===r?la:"input",u="$event.target.value";s&&(u="$event.target.value.trim()"),a&&(u="_n("+u+")");var f=ln(t,u);l&&(f="if($event.target.composing)return;"+f),en(e,"value","("+t+")"),rn(e,c,f,null,!0),(s||a||"number"===r)&&rn(e,"blur","$forceUpdate()")}function bn(e){var t;e[la]&&(t=Ni?"change":"input",e[t]=[].concat(e[la],e[t]||[]),delete e[la]),e[ca]&&(t=Ui?"click":"change",e[t]=[].concat(e[ca],e[t]||[]),delete e[ca])}function xn(e,t,n,r){if(n){var i=t,o=Po;t=function(n){null!==(1===arguments.length?i(n):i.apply(null,arguments))&&wn(e,t,r,o)}}Po.addEventListener(e,t,r)}function wn(e,t,n,r){(r||Po).removeEventListener(e,t,n)}function kn(e,t){if(e.data.on||t.data.on){var n=t.data.on||{},r=e.data.on||{};Po=t.elm,bn(n),G(n,r,xn,wn,t.context)}}function $n(e,t){if(e.data.domProps||t.data.domProps){var n,r,i=t.elm,o=e.data.domProps||{},a=t.data.domProps||{};a.__ob__&&(a=t.data.domProps=f({},a));for(n in o)null==a[n]&&(i[n]="");for(n in a)if(r=a[n],"textContent"!==n&&"innerHTML"!==n||(t.children&&(t.children.length=0),r!==o[n]))if("value"===n){i._value=r;var s=null==r?"":String(r);Cn(i,t,s)&&(i.value=s)}else i[n]=r}}function Cn(e,t,n){return!e.composing&&("option"===t.tag||Sn(e,n)||En(e,n))}function Sn(e,t){return document.activeElement!==e&&e.value!==t}function En(e,t){var n=e.value,i=e._vModifiers;return i&&i.number||"number"===e.type?r(n)!==r(t):i&&i.trim?n.trim()!==t.trim():n!==t}function Tn(e){var t=An(e.style);return e.staticStyle?f(e.staticStyle,t):t}function An(e){return Array.isArray(e)?h(e):"string"==typeof e?da(e):e}function Mn(e,t){var n,r={};if(t)for(var i=e;i.componentInstance;)i=i.componentInstance._vnode,i.data&&(n=Tn(i.data))&&f(r,n);(n=Tn(e.data))&&f(r,n);for(var o=e;o=o.parent;)o.data&&(n=Tn(o.data))&&f(r,n);return r}function Dn(e,t){var n=t.data,r=e.data;if(n.staticStyle||n.style||r.staticStyle||r.style){var i,o,a=t.elm,s=e.data.staticStyle,l=e.data.style||{},c=s||l,u=An(t.data.style)||{};t.data.style=u.__ob__?f({},u):u;var d=Mn(t,!0);for(o in c)null==d[o]&&ma(a,o,"");for(o in d)(i=d[o])!==c[o]&&ma(a,o,null==i?"":i)}}function Ln(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(/\s+/).forEach(function(t){return e.classList.add(t)}):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function On(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(/\s+/).forEach(function(t){return e.classList.remove(t)}):e.classList.remove(t);else{for(var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");e.setAttribute("class",n.trim())}}function jn(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&f(t,_a(e.name||"v")),f(t,e),t}return"string"==typeof e?_a(e):void 0}}function Fn(e){Ea(function(){Ea(e)})}function Pn(e,t){(e._transitionClasses||(e._transitionClasses=[])).push(t),Ln(e,t)}function Nn(e,t){e._transitionClasses&&o(e._transitionClasses,t),On(e,t)}function In(e,t,n){var r=qn(e,t),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===xa?$a:Sa,l=0,c=function(){e.removeEventListener(s,u),n()},u=function(t){t.target===e&&++l>=a&&c()};setTimeout(function(){l0&&(n=xa,u=a,f=o.length):t===wa?c>0&&(n=wa,u=c,f=l.length):(u=Math.max(a,c),n=u>0?a>c?xa:wa:null,f=n?n===xa?o.length:l.length:0),{type:n,timeout:u,propCount:f,hasTransform:n===xa&&Ta.test(r[ka+"Property"])}}function zn(e,t){for(;e.length1}function Vn(e,t){t.data.show||Un(t)}function Yn(e,t,n){var r=t.value,i=e.multiple;if(!i||Array.isArray(r)){for(var o,a,s=0,l=e.options.length;s-1,a.selected!==o&&(a.selected=o);else if(g(Zn(a),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));i||(e.selectedIndex=-1)}}function Gn(e,t){for(var n=0,r=t.length;n=0&&a[i].lowerCasedTag!==s;i--);else i=0;if(i>=0){for(var l=a.length-1;l>=i;l--)t.end&&t.end(a[l].tag,n,r);a.length=i,o=i&&a[i-1].tag}else"br"===s?t.start&&t.start(e,[],!0,n,r):"p"===s&&(t.start&&t.start(e,[],!1,n,r),t.end&&t.end(e,n,r))}for(var i,o,a=[],s=t.expectHTML,l=t.isUnaryTag||Ai,c=t.canBeLeftOpenTag||Ai,u=0;e;){if(i=e,o&&bs(o)){var f=o.toLowerCase(),d=xs[f]||(xs[f]=new RegExp("([\\s\\S]*?)(]*>)","i")),p=0,h=e.replace(d,function(e,n,r){return p=r.length,bs(f)||"noscript"===f||(n=n.replace(//g,"$1").replace(//g,"$1")),t.chars&&t.chars(n),""});u+=e.length-h.length,e=h,r(f,u-p,u)}else{var m=e.indexOf("<");if(0===m){if(Qa.test(e)){var g=e.indexOf("--\x3e");if(g>=0){n(g+3);continue}}if(es.test(e)){var v=e.indexOf("]>");if(v>=0){n(v+2);continue}}var y=e.match(Xa);if(y){n(y[0].length);continue}var _=e.match(Ja);if(_){var b=u;n(_[0].length),r(_[1],b,u);continue}var x=function(){var t=e.match(Za);if(t){var r={tagName:t[1],attrs:[],start:u};n(t[0].length);for(var i,o;!(i=e.match(Ka))&&(o=e.match(Ya));)n(o[0].length),r.attrs.push(o);if(i)return r.unarySlash=i[1],n(i[0].length),r.end=u,r}}();if(x){!function(e){var n=e.tagName,i=e.unarySlash;s&&("p"===o&&Wa(n)&&r(o),c(n)&&o===n&&r(n));for(var u=l(n)||"html"===n&&"head"===o||!!i,f=e.attrs.length,d=new Array(f),p=0;p=0){for(k=e.slice(m);!(Ja.test(k)||Za.test(k)||Qa.test(k)||es.test(k)||($=k.indexOf("<",1))<0);)m+=$,k=e.slice(m);w=e.substring(0,m),n(m)}m<0&&(w=e,e=""),t.chars&&w&&t.chars(w)}if(e===i){t.chars&&t.chars(e);break}}r()}function fr(e,t){var n=t?Ss(t):Cs;if(n.test(e)){for(var r,i,o=[],a=n.lastIndex=0;r=n.exec(e);){i=r.index,i>a&&o.push(JSON.stringify(e.slice(a,i)));var s=Kt(r[1].trim());o.push("_s("+s+")"),a=i+r[0].length}return a0,qi=Pi&&Pi.indexOf("edge/")>0,zi=Pi&&Pi.indexOf("android")>0,Ri=Pi&&/iphone|ipad|ipod|ios/.test(Pi),Ui=Pi&&/chrome\/\d+/.test(Pi)&&!qi,Bi=function(){return void 0===bi&&(bi=!Fi&&void 0!==e&&"server"===e.process.env.VUE_ENV),bi},Hi=Fi&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,Wi="undefined"!=typeof Symbol&&w(Symbol)&&"undefined"!=typeof Reflect&&w(Reflect.ownKeys),Vi=function(){function e(){r=!1;var e=n.slice(0);n.length=0;for(var t=0;t1?u(n):n;for(var r=u(arguments,1),i=0,o=n.length;i1&&(t[n[0].trim()]=n[1].trim())}}),t}),pa=/^--/,ha=/\s*!important$/,ma=function(e,t,n){pa.test(t)?e.style.setProperty(t,n):ha.test(n)?e.style.setProperty(t,n.replace(ha,""),"important"):e.style[va(t)]=n},ga=["Webkit","Moz","ms"],va=l(function(e){if(No=No||document.createElement("div"),"filter"!==(e=$i(e))&&e in No.style)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=0;nd?(c=Pt(n[g+1])?null:n[g+1].elm,m(e,c,n,f,g,r)):f>g&&v(e,t,u,d)}function b(e,t,n,r){if(e!==t){if(It(t.isStatic)&&It(e.isStatic)&&t.key===e.key&&(It(t.isCloned)||It(t.isOnce)))return t.elm=e.elm,void(t.componentInstance=e.componentInstance);var i,o=t.data;Nt(o)&&Nt(i=o.hook)&&Nt(i=i.prepatch)&&i(e,t);var a=t.elm=e.elm,s=e.children,l=t.children;if(Nt(o)&&d(t)){for(i=0;i',n.innerHTML.indexOf(t)>0}("\n"," "),Ba=i("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),Ha=i("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),Wa=i("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),Va=[/"([^"]*)"+/.source,/'([^']*)'+/.source,/([^\s"'=<>`]+)/.source],Ya=new RegExp("^\\s*"+/([^\s"'<>\/=]+)/.source+"(?:\\s*("+/(?:=)/.source+")\\s*(?:"+Va.join("|")+"))?"),Ga="[a-zA-Z_][\\w\\-\\.]*",Za=new RegExp("^<((?:"+Ga+"\\:)?"+Ga+")"),Ka=/^\s*(\/?)>/,Ja=new RegExp("^<\\/((?:"+Ga+"\\:)?"+Ga+")[^>]*>"),Xa=/^]+>/i,Qa=/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(i.source+"\\s*$"),/^$/,!1]];t.exports=function(e,t,n,r){var i,a,s,l,c=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(c))return!1;for(l=e.src.slice(c,u),i=0;i=4)return!1;for(f=e.parentType,e.parentType="paragraph";p3)){if(e.sCount[p]>=e.blkIndent&&(l=e.bMarks[p]+e.tShift[p],c=e.eMarks[p],l=c))){u=61===d?1:2;break}if(!(e.sCount[p]<0)){for(i=!1,o=0,a=h.length;o=o)return-1;if((n=e.src.charCodeAt(i++))<48||n>57)return-1;for(;;){if(i>=o)return-1;n=e.src.charCodeAt(i++);{if(!(n>=48&&n<=57)){if(41===n||46===n)break;return-1}if(i-r>=10)return-1}}return i=4)return!1;if(s&&"paragraph"===e.parentType&&e.tShift[t]>=e.blkIndent&&(I=!0),(L=i(e,t))>=0){if(h=!0,j=e.bMarks[t]+e.tShift[t],b=Number(e.src.substr(j,L-j-1)),I&&1!==b)return!1}else{if(!((L=r(e,t))>=0))return!1;h=!1}if(I&&e.skipSpaces(L)>=e.eMarks[t])return!1;if(y=e.src.charCodeAt(L-1),s)return!0;for(_=e.tokens.length,h?(P=e.push("ordered_list_open","ol",1),1!==b&&(P.attrs=[["start",b]])):P=e.push("bullet_list_open","ul",1),P.map=v=[t,0],P.markup=String.fromCharCode(y),w=t,D=!1,F=e.md.block.ruler.getRules("list"),T=e.parentType,e.parentType="list";w=x?1:k-p,f>4&&(f=1),d=p+f,P=e.push("list_item_open","li",1),P.markup=String.fromCharCode(y),P.map=m=[t,0],S=e.blkIndent,M=e.tight,E=e.tShift[t],C=e.sCount[t],e.blkIndent=d,e.tight=!0,e.tShift[t]=c-e.bMarks[t],e.sCount[t]=k,c>=x&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,t,n,!0),e.tight&&!D||(z=!1),D=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=S,e.tShift[t]=E,e.sCount[t]=C,e.tight=M,P=e.push("list_item_close","li",-1),P.markup=String.fromCharCode(y),w=t=e.line,m[1]=w,c=e.bMarks[t],w>=n)break;if(e.sCount[w]3||e.sCount[l]<0)){for(r=!1,i=0,o=c.length;i=4)return!1;if(91!==e.src.charCodeAt(k))return!1;for(;++k3||e.sCount[C]<0)){for(y=!1,d=0,f=b.length;d0&&this.level++,this.tokens.push(r),r},r.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},r.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;et;)if(!o(this.src.charCodeAt(--e)))return e+1;return e},r.prototype.skipChars=function(e,t){for(var n=this.src.length;en;)if(t!==this.src.charCodeAt(--e))return e+1;return e},r.prototype.getLines=function(e,t,n,r){var i,a,s,l,c,u,d,f=e;if(e>=t)return"";for(u=new Array(t-e),i=0;fn?new Array(a-n+1).join(" ")+this.src.slice(l,c):this.src.slice(l,c)}return u.join("")},r.prototype.Token=i,t.exports=r},{"../common/utils":358,"../token":405}],383:[function(e,t,n){"use strict";function r(e,t){var n=e.bMarks[t]+e.blkIndent,r=e.eMarks[t];return e.src.substr(n,r-n)}function i(e){var t,n=[],r=0,i=e.length,o=0,a=0,s=!1,l=0;for(t=e.charCodeAt(r);rn)return!1;if(d=t+1,e.sCount[d]=4)return!1;if((c=e.bMarks[d]+e.tShift[d])>=e.eMarks[d])return!1;if(124!==(s=e.src.charCodeAt(c++))&&45!==s&&58!==s)return!1;for(;c=4)return!1;if(f=i(l.replace(/^\||\|$/g,"")),(p=f.length)>m.length)return!1;if(a)return!0;for(h=e.push("table_open","table",1),h.map=v=[t,0],h=e.push("thead_open","thead",1),h.map=[t,t+1],h=e.push("tr_open","tr",1),h.map=[t,t+1],u=0;u=4);d++){for(f=i(l.replace(/^\||\|$/g,"")),h=e.push("tr_open","tr",1),u=0;u\s]/i.test(e)}function i(e){return/^<\/a\s*>/i.test(e)}var o=e("../common/utils").arrayReplaceAt;t.exports=function(e){var t,n,a,s,l,c,u,d,f,p,h,m,g,v,_,y,b,x=e.tokens;if(e.md.options.linkify)for(n=0,a=x.length;n=0;t--)if(c=s[t],"link_close"!==c.type){if("html_inline"===c.type&&(r(c.content)&&g>0&&g--,i(c.content)&&g++),!(g>0)&&"text"===c.type&&e.md.linkify.test(c.content)){for(f=c.content,b=e.md.linkify.match(f),u=[],m=c.level,h=0,d=0;dh&&(l=new e.Token("text","",0),l.content=f.slice(h,p),l.level=m,u.push(l)),l=new e.Token("link_open","a",1),l.attrs=[["href",_]],l.level=m++,l.markup="linkify",l.info="auto",u.push(l),l=new e.Token("text","",0),l.content=y,l.level=m,u.push(l),l=new e.Token("link_close","a",-1),l.level=--m,l.markup="linkify",l.info="auto",u.push(l),h=b[d].lastIndex);h=0;t--)n=e[t],"text"!==n.type||i||(n.content=n.content.replace(l,r)),"link_open"===n.type&&"auto"===n.info&&i--,"link_close"===n.type&&"auto"===n.info&&i++}function o(e){var t,n,r=0;for(t=e.length-1;t>=0;t--)n=e[t],"text"!==n.type||r||a.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/gm,"$1—$2").replace(/(^|\s)--(\s|$)/gm,"$1–$2").replace(/(^|[^-\s])--([^-\s]|$)/gm,"$1–$2")),"link_open"===n.type&&"auto"===n.info&&r--,"link_close"===n.type&&"auto"===n.info&&r++}var a=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,s=/\((c|tm|r|p)\)/i,l=/\((c|tm|r|p)\)/gi,c={c:"©",r:"®",p:"§",tm:"™"};t.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&(s.test(e.tokens[t].content)&&i(e.tokens[t].children),a.test(e.tokens[t].content)&&o(e.tokens[t].children))}},{}],389:[function(e,t,n){"use strict";function r(e,t,n){return e.substr(0,t)+n+e.substr(t+1)}function i(e,t){var n,i,l,d,f,p,h,m,g,v,_,y,b,x,w,k,S,C,T,E,M;for(T=[],n=0;n=0&&!(T[S].level<=h);S--);if(T.length=S+1,"text"===i.type){l=i.content,f=0,p=l.length;e:for(;f=0)g=l.charCodeAt(d.index-1);else for(S=n-1;S>=0;S--)if("text"===e[S].type){g=e[S].content.charCodeAt(e[S].content.length-1);break}if(v=32,f=48&&g<=57&&(k=w=!1),w&&k&&(w=!1,k=y),w||k){if(k)for(S=T.length-1;S>=0&&(m=T[S],!(T[S].level=0;t--)"inline"===e.tokens[t].type&&l.test(e.tokens[t].content)&&i(e.tokens[t].children,e)}},{"../common/utils":358}],390:[function(e,t,n){"use strict";function r(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}var i=e("../token");r.prototype.Token=i,t.exports=r},{"../token":405}],391:[function(e,t,n){"use strict";var r=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,i=/^<([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)>/;t.exports=function(e,t){var n,o,a,s,l,c,u=e.pos;return 60===e.src.charCodeAt(u)&&(n=e.src.slice(u),!(n.indexOf(">")<0)&&(i.test(n)?(o=n.match(i),s=o[0].slice(1,-1),l=e.md.normalizeLink(s),!!e.md.validateLink(l)&&(t||(c=e.push("link_open","a",1),c.attrs=[["href",l]],c.markup="autolink",c.info="auto",c=e.push("text","",0),c.content=e.md.normalizeLinkText(s),c=e.push("link_close","a",-1),c.markup="autolink",c.info="auto"),e.pos+=o[0].length,!0)):!!r.test(n)&&(a=n.match(r),s=a[0].slice(1,-1),l=e.md.normalizeLink("mailto:"+s),!!e.md.validateLink(l)&&(t||(c=e.push("link_open","a",1),c.attrs=[["href",l]],c.markup="autolink",c.info="auto",c=e.push("text","",0),c.content=e.md.normalizeLinkText(s),c=e.push("link_close","a",-1),c.markup="autolink",c.info="auto"),e.pos+=a[0].length,!0))))}},{}],392:[function(e,t,n){"use strict";t.exports=function(e,t){var n,r,i,o,a,s,l=e.pos;if(96!==e.src.charCodeAt(l))return!1;for(n=l,l++,r=e.posMax;l=0;){if(i=o[n],i.open&&i.marker===r.marker&&i.end<0&&i.level===r.level){var s=(i.close||r.open)&&void 0!==i.length&&void 0!==r.length&&(i.length+r.length)%3==0;if(!s){r.jump=t-n,r.open=!1,i.end=t,i.jump=0;break}}n-=i.jump+1}}},{}],394:[function(e,t,n){"use strict";t.exports.tokenize=function(e,t){var n,r,i,o=e.pos,a=e.src.charCodeAt(o);if(t)return!1;if(95!==a&&42!==a)return!1;for(r=e.scanDelims(e.pos,42===a),n=0;n?@[]^_`{|}~-".split("").forEach(function(e){i[e.charCodeAt(0)]=1}),t.exports=function(e,t){ +var n,o=e.pos,a=e.posMax;if(92!==e.src.charCodeAt(o))return!1;if(++o=97&&t<=122}var i=e("../common/html_re").HTML_TAG_RE;t.exports=function(e,t){var n,o,a,s,l=e.pos;return!!e.md.options.html&&(a=e.posMax,!(60!==e.src.charCodeAt(l)||l+2>=a)&&(!(33!==(n=e.src.charCodeAt(l+1))&&63!==n&&47!==n&&!r(n))&&(!!(o=e.src.slice(l).match(i))&&(t||(s=e.push("html_inline","",0),s.content=e.src.slice(l,l+o[0].length)),e.pos+=o[0].length,!0))))}},{"../common/html_re":357}],398:[function(e,t,n){"use strict";var r=e("../common/utils").normalizeReference,i=e("../common/utils").isSpace;t.exports=function(e,t){var n,o,a,s,l,c,u,d,f,p,h,m,g,v="",_=e.pos,y=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(c=e.pos+2,(l=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((u=l+1)=y)return!1;for(g=u,f=e.md.helpers.parseLinkDestination(e.src,u,e.posMax),f.ok&&(v=e.md.normalizeLink(f.str),e.md.validateLink(v)?u=f.pos:v=""),g=u;u=y||41!==e.src.charCodeAt(u))return e.pos=_,!1;u++}else{if(void 0===e.env.references)return!1;if(u=0?s=e.src.slice(g,u++):u=l+1):u=l+1,s||(s=e.src.slice(c,l)),!(d=e.env.references[r(s)]))return e.pos=_,!1;v=d.href,p=d.title}return t||(a=e.src.slice(c,l),e.md.inline.parse(a,e.md,e.env,m=[]),h=e.push("image","img",0),h.attrs=n=[["src",v],["alt",""]],h.children=m,h.content=a,p&&n.push(["title",p])),e.pos=u,e.posMax=y,!0}},{"../common/utils":358}],399:[function(e,t,n){"use strict";var r=e("../common/utils").normalizeReference,i=e("../common/utils").isSpace;t.exports=function(e,t){var n,o,a,s,l,c,u,d,f,p,h="",m=e.pos,g=e.posMax,v=e.pos,_=!0;if(91!==e.src.charCodeAt(e.pos))return!1;if(l=e.pos+1,(s=e.md.helpers.parseLinkLabel(e,e.pos,!0))<0)return!1;if((c=s+1)=g)return!1;for(v=c,u=e.md.helpers.parseLinkDestination(e.src,c,e.posMax),u.ok&&(h=e.md.normalizeLink(u.str),e.md.validateLink(h)?c=u.pos:h=""),v=c;c=g||41!==e.src.charCodeAt(c))&&(_=!0),c++}if(_){if(void 0===e.env.references)return!1;if(c=0?a=e.src.slice(v,c++):c=s+1):c=s+1,a||(a=e.src.slice(l,s)),!(d=e.env.references[r(a)]))return e.pos=m,!1;h=d.href,f=d.title}return t||(e.pos=l,e.posMax=s,p=e.push("link_open","a",1),p.attrs=n=[["href",h]],f&&n.push(["title",f]),e.md.inline.tokenize(e),p=e.push("link_close","a",-1)),e.pos=c,e.posMax=g,!0}},{"../common/utils":358}],400:[function(e,t,n){"use strict";var r=e("../common/utils").isSpace;t.exports=function(e,t){var n,i,o=e.pos;if(10!==e.src.charCodeAt(o))return!1;for(n=e.pending.length-1,i=e.posMax,t||(n>=0&&32===e.pending.charCodeAt(n)?n>=1&&32===e.pending.charCodeAt(n-1)?(e.pending=e.pending.replace(/ +$/,""),e.push("hardbreak","br",0)):(e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0)):e.push("softbreak","br",0)),o++;o0&&this.level++,this.pendingLevel=this.level,this.tokens.push(r),r},r.prototype.scanDelims=function(e,t){var n,r,i,l,c,u,d,f,p,h=e,m=!0,g=!0,v=this.posMax,_=this.src.charCodeAt(e);for(n=e>0?this.src.charCodeAt(e-1):32;h=0&&(n=this.attrs[t][1]),n},r.prototype.attrJoin=function(e,t){var n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=this.attrs[n][1]+" "+t},t.exports=r},{}],406:[function(e,t,n){"use strict";function r(e){var t,n,r=o[e];if(r)return r;for(r=o[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),r.push(n);for(t=0;t=55296&&l<=57343?"���":String.fromCharCode(l),t+=6):240==(248&i)&&t+91114111?c+="����":(l-=65536,c+=String.fromCharCode(55296+(l>>10),56320+(1023&l))),t+=9):c+="�";return c})}var o={};i.defaultChars=";/?:@&=+$,#",i.componentChars="",t.exports=i},{}],407:[function(e,t,n){"use strict";function r(e){var t,n,r=o[e];if(r)return r;for(r=o[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),/^[0-9a-z]$/i.test(n)?r.push(n):r.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t=55296&&s<=57343){if(s>=55296&&s<=56319&&o+1=56320&&l<=57343){u+=encodeURIComponent(e[o]+e[o+1]),o++;continue}u+="%EF%BF%BD"}else u+=encodeURIComponent(e[o]);return u}var o={};i.defaultChars=";/?:@&=+$,-_.!~*'()#",i.componentChars="-_.!~*'()",t.exports=i},{}],408:[function(e,t,n){"use strict";t.exports=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""}},{}],409:[function(e,t,n){"use strict";t.exports.encode=e("./encode"),t.exports.decode=e("./decode"),t.exports.format=e("./format"),t.exports.parse=e("./parse")},{"./decode":406,"./encode":407,"./format":408,"./parse":410}],410:[function(e,t,n){"use strict";function r(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}function i(e,t){if(e&&e instanceof r)return e;var n=new r;return n.parse(e,t),n}var o=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,s=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,l=["<",">",'"',"`"," ","\r","\n","\t"],c=["{","}","|","\\","^","`"].concat(l),u=["'"].concat(c),d=["%","/","?",";","#"].concat(u),f=["/","?","#"],p={javascript:!0,"javascript:":!0},h={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};r.prototype.parse=function(e,t){var n,r,i,a,l,c=e;if(c=c.trim(),!t&&1===e.split("#").length){var u=s.exec(c);if(u)return this.pathname=u[1],u[2]&&(this.search=u[2]),this}var m=o.exec(c);if(m&&(m=m[0],i=m.toLowerCase(),this.protocol=m,c=c.substr(m.length)),(t||m||c.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(l="//"===c.substr(0,2))||m&&p[m]||(c=c.substr(2),this.slashes=!0)),!p[m]&&(l||m&&!h[m])){var g=-1;for(n=0;n127?k+="x":k+=w[S];if(!k.match(/^[+a-z0-9A-Z_-]{0,63}$/)){var T=x.slice(0,n),E=x.slice(n+1),M=w.match(/^([+a-z0-9A-Z_-]{0,63})(.*)$/);M&&(T.push(M[1]),E.unshift(M[2])),E.length&&(c=E.join(".")+c),this.hostname=T.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),b&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var A=c.indexOf("#");-1!==A&&(this.hash=c.substr(A),c=c.slice(0,A));var L=c.indexOf("?");return-1!==L&&(this.search=c.substr(L),c=c.slice(0,L)),c&&(this.pathname=c),h[i]&&this.hostname&&!this.pathname&&(this.pathname=""),this},r.prototype.parseHost=function(e){var t=a.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},t.exports=i},{}],411:[function(e,t,n){!function(r,i){"object"==typeof n&&void 0!==t&&"function"==typeof e?i(e("../moment")):"function"==typeof define&&define.amd?define(["../moment"],i):i(r.moment)}(this,function(e){"use strict";return e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{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"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})})},{"../moment":412}],412:[function(e,t,n){!function(e,r){"object"==typeof n&&void 0!==t?t.exports=r():"function"==typeof define&&define.amd?define(r):e.moment=r()}(this,function(){"use strict";function n(){return gr.apply(null,arguments)}function r(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function i(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function o(e){var t;for(t in e)return!1;return!0}function a(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function s(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function l(e,t){var n,r=[];for(n=0;n0)for(n in yr)r=yr[n],i=t[r],g(i)||(e[r]=i);return e}function _(e){v(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===br&&(br=!0,n.updateOffset(this),br=!1)}function y(e){return e instanceof _||null!=e&&null!=e._isAMomentObject}function b(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function x(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=b(t)),n}function w(e,t,n){var r,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(r=0;r0?"future":"past"];return T(n)?n(t):n.replace(/%s/i,t)}function I(e,t){var n=e.toLowerCase();Mr[n]=Mr[n+"s"]=Mr[t]=e}function z(e){return"string"==typeof e?Mr[e]||Mr[e.toLowerCase()]:void 0}function N(e){var t,n,r={};for(n in e)c(e,n)&&(t=z(n))&&(r[t]=e[n]);return r}function q(e,t){Ar[e]=t}function R(e){var t=[];for(var n in e)t.push({unit:n,priority:Ar[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}function $(e,t){return function(r){return null!=r?(U(this,e,r),n.updateOffset(this,t),this):B(this,e)}}function B(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function U(e,t,n){e.isValid()&&e._d["set"+(e._isUTC?"UTC":"")+t](n)}function W(e){return e=z(e),T(this[e])?this[e]():this}function H(e,t){if("object"==typeof e){e=N(e);for(var n=R(e),r=0;r=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}function V(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(Or[e]=i),t&&(Or[t[0]]=function(){return Y(i.apply(this,arguments),t[1],t[2])}),n&&(Or[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function G(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function Z(e){var t,n,r=e.match(Lr);for(t=0,n=r.length;t=0&&Dr.test(e);)e=e.replace(Dr,n),Dr.lastIndex=0,r-=1;return e}function J(e,t,n){Nr[e]=T(t)?t:function(e,r){return e&&n?n:t}}function Q(e,t){return c(Nr,e)?Nr[e](t._strict,t._locale):new RegExp(ee(e))}function ee(e){return te(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i}))}function te(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function ne(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),a(t)&&(r=function(e,n){n[t]=x(e)}),n=0;n=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}function be(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function xe(e,t,n){var r=7+t-n;return-(7+be(e,0,r).getUTCDay()-t)%7+r-1}function we(e,t,n,r,i){var o,a,s=(7+n-r)%7,l=xe(e,r,i),c=1+7*(t-1)+s+l;return c<=0?(o=e-1,a=ge(o)+c):c>ge(e)?(o=e+1,a=c-ge(e)):(o=e,a=c),{year:o,dayOfYear:a}}function ke(e,t,n){var r,i,o=xe(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return a<1?(i=e.year()-1,r=a+Se(i,t,n)):a>Se(e.year(),t,n)?(r=a-Se(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function Se(e,t,n){var r=xe(e,t,n),i=xe(e+1,t,n);return(ge(e)-r+i)/7}function Ce(e){return ke(e,this._week.dow,this._week.doy).week}function Te(){return this._week.dow}function Ee(){return this._week.doy}function Me(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Ae(e){var t=ke(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Le(e,t){return"string"!=typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"==typeof e?e:null):parseInt(e,10)}function De(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function je(e,t){return e?r(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:this._weekdays}function Oe(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Fe(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Pe(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=d([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?(i=Zr.call(this._weekdaysParse,a),-1!==i?i:null):"ddd"===t?(i=Zr.call(this._shortWeekdaysParse,a),-1!==i?i:null):(i=Zr.call(this._minWeekdaysParse,a),-1!==i?i:null):"dddd"===t?-1!==(i=Zr.call(this._weekdaysParse,a))?i:-1!==(i=Zr.call(this._shortWeekdaysParse,a))?i:(i=Zr.call(this._minWeekdaysParse,a),-1!==i?i:null):"ddd"===t?-1!==(i=Zr.call(this._shortWeekdaysParse,a))?i:-1!==(i=Zr.call(this._weekdaysParse,a))?i:(i=Zr.call(this._minWeekdaysParse,a),-1!==i?i:null):-1!==(i=Zr.call(this._minWeekdaysParse,a))?i:-1!==(i=Zr.call(this._weekdaysParse,a))?i:(i=Zr.call(this._shortWeekdaysParse,a),-1!==i?i:null)}function Ie(e,t,n){var r,i,o;if(this._weekdaysParseExact)return Pe.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=d([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 ze(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Le(e,this.localeData()),this.add(e-t,"d")):t}function Ne(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 qe(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=De(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Re(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Ue.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(c(this,"_weekdaysRegex")||(this._weekdaysRegex=ai),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function $e(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Ue.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(c(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=si),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Be(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Ue.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(c(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=li),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Ue(){function e(e,t){return t.length-e.length}var t,n,r,i,o,a=[],s=[],l=[],c=[];for(t=0;t<7;t++)n=d([2e3,1]).day(t),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),o=this.weekdays(n,""),a.push(r),s.push(i),l.push(o),c.push(r),c.push(i),c.push(o);for(a.sort(e),s.sort(e),l.sort(e),c.sort(e),t=0;t<7;t++)s[t]=te(s[t]),l[t]=te(l[t]),c[t]=te(c[t]);this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function We(){return this.hours()%12||12}function He(){return this.hours()||24}function Ye(e,t){V(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function Ve(e,t){return t._meridiemParse}function Ge(e){return"p"===(e+"").toLowerCase().charAt(0)}function Ze(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}function Ke(e){return e?e.toLowerCase().replace("_","-"):e}function Xe(e){for(var t,n,r,i,o=0;o0;){if(r=Je(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&w(i,n,!0)>=t-1)break;t--}o++}return null}function Je(n){var r=null;if(!fi[n]&&void 0!==t&&t&&t.exports)try{r=ci._abbr,e("./locale/"+n),Qe(r)}catch(e){}return fi[n]}function Qe(e,t){var n;return e&&(n=g(t)?nt(e):et(e,t))&&(ci=n),ci._abbr}function et(e,t){if(null!==t){var n=di;if(t.abbr=e,null!=fi[e])C("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=fi[e]._config;else if(null!=t.parentLocale){if(null==fi[t.parentLocale])return pi[t.parentLocale]||(pi[t.parentLocale]=[]),pi[t.parentLocale].push({name:e,config:t}),null;n=fi[t.parentLocale]._config}return fi[e]=new A(M(n,t)),pi[e]&&pi[e].forEach(function(e){et(e.name,e.config)}),Qe(e),fi[e]}return delete fi[e],null}function tt(e,t){if(null!=t){var n,r=di;null!=fi[e]&&(r=fi[e]._config),t=M(r,t),n=new A(t),n.parentLocale=fi[e],fi[e]=n,Qe(e)}else null!=fi[e]&&(null!=fi[e].parentLocale?fi[e]=fi[e].parentLocale:null!=fi[e]&&delete fi[e]);return fi[e]}function nt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return ci;if(!r(e)){if(t=Je(e))return t;e=[e]}return Xe(e)}function rt(){return Sr(fi)}function it(e){var t,n=e._a;return n&&-2===p(e).overflow&&(t=n[$r]<0||n[$r]>11?$r:n[Br]<1||n[Br]>oe(n[Rr],n[$r])?Br:n[Ur]<0||n[Ur]>24||24===n[Ur]&&(0!==n[Wr]||0!==n[Hr]||0!==n[Yr])?Ur:n[Wr]<0||n[Wr]>59?Wr:n[Hr]<0||n[Hr]>59?Hr:n[Yr]<0||n[Yr]>999?Yr:-1,p(e)._overflowDayOfYear&&(tBr)&&(t=Br),p(e)._overflowWeeks&&-1===t&&(t=Vr),p(e)._overflowWeekday&&-1===t&&(t=Gr),p(e).overflow=t),e}function ot(e){var t,n,r,i,o,a,s=e._i,l=hi.exec(s)||mi.exec(s);if(l){for(p(e).iso=!0,t=0,n=vi.length;tge(i)&&(p(e)._overflowDayOfYear=!0),n=be(i,0,e._dayOfYear),e._a[$r]=n.getUTCMonth(),e._a[Br]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=o[t]=r[t];for(;t<7;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Ur]&&0===e._a[Wr]&&0===e._a[Hr]&&0===e._a[Yr]&&(e._nextDay=!0,e._a[Ur]=0),e._d=(e._useUTC?be:ye).apply(null,o),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Ur]=24)}}function ut(e){var t,n,r,i,o,a,s,l;if(t=e._w,null!=t.GG||null!=t.W||null!=t.E)o=1,a=4,n=st(t.GG,e._a[Rr],ke(yt(),1,4).year),r=st(t.W,1),((i=st(t.E,1))<1||i>7)&&(l=!0);else{o=e._locale._week.dow,a=e._locale._week.doy;var c=ke(yt(),o,a);n=st(t.gg,e._a[Rr],c.year),r=st(t.w,c.week),null!=t.d?((i=t.d)<0||i>6)&&(l=!0):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(l=!0)):i=o}r<1||r>Se(n,o,a)?p(e)._overflowWeeks=!0:null!=l?p(e)._overflowWeekday=!0:(s=we(n,r,i,o,a),e._a[Rr]=s.year,e._dayOfYear=s.dayOfYear)}function dt(e){if(e._f===n.ISO_8601)return void ot(e);e._a=[],p(e).empty=!0;var t,r,i,o,a,s=""+e._i,l=s.length,c=0;for(i=X(e._f,e._locale).match(Lr)||[],t=0;t0&&p(e).unusedInput.push(a),s=s.slice(s.indexOf(r)+r.length),c+=r.length),Or[o]?(r?p(e).empty=!1:p(e).unusedTokens.push(o),ie(o,r,e)):e._strict&&!r&&p(e).unusedTokens.push(o);p(e).charsLeftOver=l-c,s.length>0&&p(e).unusedInput.push(s),e._a[Ur]<=12&&!0===p(e).bigHour&&e._a[Ur]>0&&(p(e).bigHour=void 0),p(e).parsedDateParts=e._a.slice(0),p(e).meridiem=e._meridiem,e._a[Ur]=ft(e._locale,e._a[Ur],e._meridiem),ct(e),it(e)}function ft(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(r=e.isPM(n),r&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function pt(e){var t,n,r,i,o;if(0===e._f.length)return p(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;ithis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function zt(){if(!g(this._isDSTShifted))return this._isDSTShifted;var e={};if(v(e,this),e=gt(e),e._a){var t=e._isUTC?d(e._a):yt(e._a);this._isDSTShifted=this.isValid()&&w(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function Nt(){return!!this.isValid()&&!this._isUTC}function qt(){return!!this.isValid()&&this._isUTC}function Rt(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function $t(e,t){var n,r,i,o=e,s=null;return St(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:a(e)?(o={},t?o[t]=e:o.milliseconds=e):(s=Si.exec(e))?(n="-"===s[1]?-1:1,o={y:0,d:x(s[Br])*n,h:x(s[Ur])*n,m:x(s[Wr])*n,s:x(s[Hr])*n,ms:x(Ct(1e3*s[Yr]))*n}):(s=Ci.exec(e))?(n="-"===s[1]?-1:1,o={y:Bt(s[2],n),M:Bt(s[3],n),w:Bt(s[4],n),d:Bt(s[5],n),h:Bt(s[6],n),m:Bt(s[7],n),s:Bt(s[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(i=Wt(yt(o.from),yt(o.to)),o={},o.ms=i.milliseconds,o.M=i.months),r=new kt(o),St(e)&&c(e,"_locale")&&(r._locale=e._locale),r}function Bt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Ut(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 Wt(e,t){var n;return e.isValid()&&t.isValid()?(t=Mt(t,e),e.isBefore(t)?n=Ut(e,t):(n=Ut(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Ht(e,t){return function(n,r){var i,o;return null===r||isNaN(+r)||(C(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),n="string"==typeof n?+n:n,i=$t(n,r),Yt(this,i,e),this}}function Yt(e,t,r,i){var o=t._milliseconds,a=Ct(t._days),s=Ct(t._months);e.isValid()&&(i=null==i||i,o&&e._d.setTime(e._d.valueOf()+o*r),a&&U(e,"Date",B(e,"Date")+a*r),s&&ue(e,B(e,"Month")+s*r),i&&n.updateOffset(e,a||s))}function Vt(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Gt(e,t){var r=e||yt(),i=Mt(r,this).startOf("day"),o=n.calendarFormat(this,i)||"sameElse",a=t&&(T(t[o])?t[o].call(this,r):t[o]);return this.format(a||this.localeData().calendar(o,this,yt(r)))}function Zt(){return new _(this)}function Kt(e,t){var n=y(e)?e:yt(e);return!(!this.isValid()||!n.isValid())&&(t=z(g(t)?"millisecond":t),"millisecond"===t?this.valueOf()>n.valueOf():n.valueOf()o&&(t=o),On.call(this,e,t,n,r,i))}function On(e,t,n,r,i){var o=we(e,t,n,r,i),a=be(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function Fn(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function Pn(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 In(e,t){t[Yr]=x(1e3*("0."+e))}function zn(){return this._isUTC?"UTC":""}function Nn(){return this._isUTC?"Coordinated Universal Time":""}function qn(e){return yt(1e3*e)}function Rn(){return yt.apply(null,arguments).parseZone()}function $n(e){return e}function Bn(e,t,n,r){var i=nt(),o=d().set(r,t);return i[n](o,e)}function Un(e,t,n){if(a(e)&&(t=e,e=void 0),e=e||"",null!=t)return Bn(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=Bn(e,r,n,"month");return i}function Wn(e,t,n,r){"boolean"==typeof e?(a(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,a(t)&&(n=t,t=void 0),t=t||"");var i=nt(),o=e?i._week.dow:0;if(null!=n)return Bn(t,(n+o)%7,r,"day");var s,l=[];for(s=0;s<7;s++)l[s]=Bn(t,(s+o)%7,r,"day");return l}function Hn(e,t){return Un(e,t,"months")}function Yn(e,t){return Un(e,t,"monthsShort")}function Vn(e,t,n){return Wn(e,t,n,"weekdays")}function Gn(e,t,n){return Wn(e,t,n,"weekdaysShort")}function Zn(e,t,n){return Wn(e,t,n,"weekdaysMin")}function Kn(){var e=this._data;return this._milliseconds=Ii(this._milliseconds),this._days=Ii(this._days),this._months=Ii(this._months),e.milliseconds=Ii(e.milliseconds),e.seconds=Ii(e.seconds),e.minutes=Ii(e.minutes),e.hours=Ii(e.hours),e.months=Ii(e.months),e.years=Ii(e.years),this}function Xn(e,t,n,r){var i=$t(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function Jn(e,t){return Xn(this,e,t,1)}function Qn(e,t){return Xn(this,e,t,-1)}function er(e){return e<0?Math.floor(e):Math.ceil(e)}function tr(){var e,t,n,r,i,o=this._milliseconds,a=this._days,s=this._months,l=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*er(rr(s)+a),a=0,s=0),l.milliseconds=o%1e3,e=b(o/1e3),l.seconds=e%60,t=b(e/60),l.minutes=t%60,n=b(t/60),l.hours=n%24,a+=b(n/24),i=b(nr(a)),s+=i,a-=er(rr(i)),r=b(s/12),s%=12,l.days=a,l.months=s,l.years=r,this}function nr(e){return 4800*e/146097}function rr(e){return 146097*e/4800}function ir(e){var t,n,r=this._milliseconds;if("month"===(e=z(e))||"year"===e)return t=this._days+r/864e5,n=this._months+nr(t),"month"===e?n:n/12;switch(t=this._days+Math.round(rr(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 or(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*x(this._months/12)}function ar(e){return function(){return this.as(e)}}function sr(e){return e=z(e),this[e+"s"]()}function lr(e){return function(){return this._data[e]}}function cr(){return b(this.days()/7)}function ur(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function dr(e,t,n){var r=$t(e).abs(),i=Ji(r.as("s")),o=Ji(r.as("m")),a=Ji(r.as("h")),s=Ji(r.as("d")),l=Ji(r.as("M")),c=Ji(r.as("y")),u=i0,u[4]=n,ur.apply(null,u)}function fr(e){return void 0===e?Ji:"function"==typeof e&&(Ji=e,!0)}function pr(e,t){return void 0!==Qi[e]&&(void 0===t?Qi[e]:(Qi[e]=t,!0))}function hr(e){var t=this.localeData(),n=dr(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function mr(){var e,t,n,r=eo(this._milliseconds)/1e3,i=eo(this._days),o=eo(this._months);e=b(r/60),t=b(e/60),r%=60,e%=60,n=b(o/12),o%=12;var a=n,s=o,l=i,c=t,u=e,d=r,f=this.asSeconds();return f?(f<0?"-":"")+"P"+(a?a+"Y":"")+(s?s+"M":"")+(l?l+"D":"")+(c||u||d?"T":"")+(c?c+"H":"")+(u?u+"M":"")+(d?d+"S":""):"P0D"}var gr,vr;vr=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;r68?1900:2e3)};var ti=$("FullYear",!0);V("w",["ww",2],"wo","week"),V("W",["WW",2],"Wo","isoWeek"),I("week","w"),I("isoWeek","W"),q("week",5),q("isoWeek",5),J("w",/\d\d?/),J("ww",/\d\d?/,/\d\d/),J("W",/\d\d?/),J("WW",/\d\d?/,/\d\d/),re(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=x(e)});var ni={dow:0,doy:6};V("d",0,"do","day"),V("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),V("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),V("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),V("e",0,0,"weekday"),V("E",0,0,"isoWeekday"),I("day","d"),I("weekday","e"),I("isoWeekday","E"),q("day",11),q("weekday",11),q("isoWeekday",11),J("d",/\d\d?/),J("e",/\d\d?/),J("E",/\d\d?/),J("dd",function(e,t){return t.weekdaysMinRegex(e)}),J("ddd",function(e,t){return t.weekdaysShortRegex(e)}),J("dddd",function(e,t){return t.weekdaysRegex(e)}),re(["dd","ddd","dddd"],function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:p(n).invalidWeekday=e}),re(["d","e","E"],function(e,t,n,r){t[r]=x(e)});var ri="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),ii="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),oi="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ai=zr,si=zr,li=zr;V("H",["HH",2],0,"hour"),V("h",["hh",2],0,We),V("k",["kk",2],0,He),V("hmm",0,0,function(){return""+We.apply(this)+Y(this.minutes(),2)}),V("hmmss",0,0,function(){return""+We.apply(this)+Y(this.minutes(),2)+Y(this.seconds(),2)}),V("Hmm",0,0,function(){return""+this.hours()+Y(this.minutes(),2)}),V("Hmmss",0,0,function(){return""+this.hours()+Y(this.minutes(),2)+Y(this.seconds(),2)}),Ye("a",!0),Ye("A",!1),I("hour","h"),q("hour",13),J("a",Ve),J("A",Ve),J("H",/\d\d?/),J("h",/\d\d?/),J("HH",/\d\d?/,/\d\d/),J("hh",/\d\d?/,/\d\d/),J("hmm",/\d\d\d\d?/),J("hmmss",/\d\d\d\d\d\d?/),J("Hmm",/\d\d\d\d?/),J("Hmmss",/\d\d\d\d\d\d?/),ne(["H","HH"],Ur),ne(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ne(["h","hh"],function(e,t,n){t[Ur]=x(e),p(n).bigHour=!0}),ne("hmm",function(e,t,n){var r=e.length-2;t[Ur]=x(e.substr(0,r)),t[Wr]=x(e.substr(r)),p(n).bigHour=!0}),ne("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[Ur]=x(e.substr(0,r)),t[Wr]=x(e.substr(r,2)),t[Hr]=x(e.substr(i)),p(n).bigHour=!0}),ne("Hmm",function(e,t,n){var r=e.length-2;t[Ur]=x(e.substr(0,r)),t[Wr]=x(e.substr(r))}),ne("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[Ur]=x(e.substr(0,r)),t[Wr]=x(e.substr(r,2)),t[Hr]=x(e.substr(i))});var ci,ui=$("Hours",!0),di={calendar:Cr,longDateFormat:Tr,invalidDate:"Invalid date",ordinal:"%d",ordinalParse:/\d{1,2}/,relativeTime:Er,months:Xr,monthsShort:Jr,week:ni,weekdays:ri,weekdaysMin:oi,weekdaysShort:ii,meridiemParse:/[ap]\.?m?\.?/i},fi={},pi={},hi=/^\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)?)?$/,mi=/^\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)?)?$/,gi=/Z|[+-]\d\d(?::?\d\d)?/,vi=[["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}/]],_i=[["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/]],yi=/^\/?Date\((\-?\d+)/i;n.createFromInputFallback=S("value provided is not in a recognized ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),n.ISO_8601=function(){};var bi=S("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=yt.apply(null,arguments);return this.isValid()&&e.isValid()?ethis?this:e:m()}),wi=function(){return Date.now?Date.now():+new Date};Tt("Z",":"),Tt("ZZ",""),J("Z",Ir),J("ZZ",Ir),ne(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Et(Ir,e)});var ki=/([\+\-]|\d\d)/gi;n.updateOffset=function(){};var Si=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Ci=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;$t.fn=kt.prototype;var Ti=Ht(1,"add"),Ei=Ht(-1,"subtract");n.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",n.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Mi=S("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)});V(0,["gg",2],0,function(){return this.weekYear()%100}),V(0,["GG",2],0,function(){return this.isoWeekYear()%100}),En("gggg","weekYear"),En("ggggg","weekYear"),En("GGGG","isoWeekYear"),En("GGGGG","isoWeekYear"),I("weekYear","gg"),I("isoWeekYear","GG"),q("weekYear",1),q("isoWeekYear",1),J("G",/[+-]?\d+/),J("g",/[+-]?\d+/),J("GG",/\d\d?/,/\d\d/),J("gg",/\d\d?/,/\d\d/),J("GGGG",/\d{1,4}/,/\d{4}/),J("gggg",/\d{1,4}/,/\d{4}/),J("GGGGG",/[+-]?\d{1,6}/,Fr),J("ggggg",/[+-]?\d{1,6}/,Fr),re(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=x(e)}),re(["gg","GG"],function(e,t,r,i){t[i]=n.parseTwoDigitYear(e)}),V("Q",0,"Qo","quarter"),I("quarter","Q"),q("quarter",7),J("Q",/\d/),ne("Q",function(e,t){t[$r]=3*(x(e)-1)}),V("D",["DD",2],"Do","date"),I("date","D"),q("date",9),J("D",/\d\d?/),J("DD",/\d\d?/,/\d\d/),J("Do",function(e,t){return e?t._ordinalParse:t._ordinalParseLenient}),ne(["D","DD"],Br),ne("Do",function(e,t){t[Br]=x(e.match(/\d\d?/)[0],10)});var Ai=$("Date",!0);V("DDD",["DDDD",3],"DDDo","dayOfYear"),I("dayOfYear","DDD"),q("dayOfYear",4),J("DDD",/\d{1,3}/),J("DDDD",/\d{3}/),ne(["DDD","DDDD"],function(e,t,n){n._dayOfYear=x(e)}),V("m",["mm",2],0,"minute"),I("minute","m"),q("minute",14),J("m",/\d\d?/),J("mm",/\d\d?/,/\d\d/),ne(["m","mm"],Wr);var Li=$("Minutes",!1);V("s",["ss",2],0,"second"),I("second","s"),q("second",15),J("s",/\d\d?/),J("ss",/\d\d?/,/\d\d/),ne(["s","ss"],Hr);var Di=$("Seconds",!1);V("S",0,0,function(){return~~(this.millisecond()/100)}),V(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),V(0,["SSS",3],0,"millisecond"),V(0,["SSSS",4],0,function(){return 10*this.millisecond()}),V(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),V(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),V(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),V(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),V(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),I("millisecond","ms"),q("millisecond",16),J("S",/\d{1,3}/,/\d/),J("SS",/\d{1,3}/,/\d\d/),J("SSS",/\d{1,3}/,/\d{3}/);var ji;for(ji="SSSS";ji.length<=9;ji+="S")J(ji,/\d+/);for(ji="S";ji.length<=9;ji+="S")ne(ji,In);var Oi=$("Milliseconds",!1);V("z",0,0,"zoneAbbr"),V("zz",0,0,"zoneName");var Fi=_.prototype;Fi.add=Ti,Fi.calendar=Gt,Fi.clone=Zt,Fi.diff=nn,Fi.endOf=gn,Fi.format=ln,Fi.from=cn,Fi.fromNow=un,Fi.to=dn,Fi.toNow=fn,Fi.get=W,Fi.invalidAt=Cn,Fi.isAfter=Kt,Fi.isBefore=Xt,Fi.isBetween=Jt,Fi.isSame=Qt,Fi.isSameOrAfter=en,Fi.isSameOrBefore=tn,Fi.isValid=kn,Fi.lang=Mi,Fi.locale=pn,Fi.localeData=hn,Fi.max=xi,Fi.min=bi,Fi.parsingFlags=Sn,Fi.set=H,Fi.startOf=mn,Fi.subtract=Ei,Fi.toArray=bn,Fi.toObject=xn,Fi.toDate=yn,Fi.toISOString=an,Fi.inspect=sn,Fi.toJSON=wn,Fi.toString=on,Fi.unix=_n,Fi.valueOf=vn,Fi.creationData=Tn,Fi.year=ti,Fi.isLeapYear=_e,Fi.weekYear=Mn,Fi.isoWeekYear=An,Fi.quarter=Fi.quarters=Fn,Fi.month=de,Fi.daysInMonth=fe,Fi.week=Fi.weeks=Me,Fi.isoWeek=Fi.isoWeeks=Ae,Fi.weeksInYear=Dn,Fi.isoWeeksInYear=Ln,Fi.date=Ai,Fi.day=Fi.days=ze,Fi.weekday=Ne,Fi.isoWeekday=qe,Fi.dayOfYear=Pn,Fi.hour=Fi.hours=ui,Fi.minute=Fi.minutes=Li,Fi.second=Fi.seconds=Di,Fi.millisecond=Fi.milliseconds=Oi,Fi.utcOffset=Lt,Fi.utc=jt,Fi.local=Ot,Fi.parseZone=Ft,Fi.hasAlignedHourOffset=Pt,Fi.isDST=It,Fi.isLocal=Nt,Fi.isUtcOffset=qt,Fi.isUtc=Rt,Fi.isUTC=Rt,Fi.zoneAbbr=zn,Fi.zoneName=Nn,Fi.dates=S("dates accessor is deprecated. Use date instead.",Ai),Fi.months=S("months accessor is deprecated. Use month instead",de),Fi.years=S("years accessor is deprecated. Use year instead",ti),Fi.zone=S("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Dt),Fi.isDSTShifted=S("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",zt);var Pi=A.prototype;Pi.calendar=L,Pi.longDateFormat=D,Pi.invalidDate=j,Pi.ordinal=O,Pi.preparse=$n,Pi.postformat=$n,Pi.relativeTime=F,Pi.pastFuture=P,Pi.set=E,Pi.months=ae,Pi.monthsShort=se,Pi.monthsParse=ce,Pi.monthsRegex=he,Pi.monthsShortRegex=pe,Pi.week=Ce,Pi.firstDayOfYear=Ee,Pi.firstDayOfWeek=Te,Pi.weekdays=je,Pi.weekdaysMin=Fe,Pi.weekdaysShort=Oe,Pi.weekdaysParse=Ie,Pi.weekdaysRegex=Re,Pi.weekdaysShortRegex=$e,Pi.weekdaysMinRegex=Be,Pi.isPM=Ge,Pi.meridiem=Ze,Qe("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===x(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),n.lang=S("moment.lang is deprecated. Use moment.locale instead.",Qe),n.langData=S("moment.langData is deprecated. Use moment.localeData instead.",nt);var Ii=Math.abs,zi=ar("ms"),Ni=ar("s"),qi=ar("m"),Ri=ar("h"),$i=ar("d"),Bi=ar("w"),Ui=ar("M"),Wi=ar("y"),Hi=lr("milliseconds"),Yi=lr("seconds"),Vi=lr("minutes"),Gi=lr("hours"),Zi=lr("days"),Ki=lr("months"),Xi=lr("years"),Ji=Math.round,Qi={s:45,m:45,h:22,d:26,M:11},eo=Math.abs,to=kt.prototype;return to.abs=Kn,to.add=Jn,to.subtract=Qn,to.as=ir,to.asMilliseconds=zi,to.asSeconds=Ni,to.asMinutes=qi,to.asHours=Ri,to.asDays=$i,to.asWeeks=Bi,to.asMonths=Ui,to.asYears=Wi,to.valueOf=or,to._bubble=tr,to.get=sr,to.milliseconds=Hi,to.seconds=Yi,to.minutes=Vi,to.hours=Gi,to.days=Zi,to.weeks=cr,to.months=Ki,to.years=Xi,to.humanize=hr,to.toISOString=mr,to.toString=mr,to.toJSON=mr,to.locale=pn,to.localeData=hn,to.toIsoString=S("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",mr),to.lang=Mi,V("X",0,0,"unix"),V("x",0,0,"valueOf"),J("x",/[+-]?\d+/),J("X",/[+-]?\d+(\.\d{1,3})?/),ne("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),ne("x",function(e,t,n){n._d=new Date(x(e))}),n.version="2.17.1",function(e){gr=e}(yt),n.fn=Fi,n.min=xt,n.max=wt,n.now=wi,n.utc=d,n.unix=qn,n.months=Hn,n.isDate=s,n.locale=Qe,n.invalid=m,n.duration=$t,n.isMoment=y,n.weekdays=Vn,n.parseZone=Rn,n.localeData=nt,n.isDuration=St,n.monthsShort=Yn,n.weekdaysMin=Zn,n.defineLocale=et,n.updateLocale=tt,n.locales=rt,n.weekdaysShort=Gn,n.normalizeUnits=z,n.relativeTimeRounding=fr,n.relativeTimeThreshold=pr,n.calendarFormat=Vt,n.prototype=Fi,n})},{}],413:[function(e,t,n){function r(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function o(e){if(d===setTimeout)return setTimeout(e,0);if((d===r||!d)&&setTimeout)return d=setTimeout,setTimeout(e,0);try{return d(e,0)}catch(t){try{return d.call(null,e,0)}catch(t){return d.call(this,e,0)}}}function a(e){if(f===clearTimeout)return clearTimeout(e);if((f===i||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(e);try{return f(e)}catch(t){try{return f.call(null,e)}catch(t){return f.call(this,e)}}}function s(){g&&h&&(g=!1,h.length?m=h.concat(m):v=-1,m.length&&l())}function l(){if(!g){var e=o(s);g=!0;for(var t=m.length;t;){for(h=m,m=[];++v1)for(var n=1;n1&&(r=n[0]+"@",e=n[1]),e=e.replace(j,"."),r+o(e.split("."),t).join(".")}function s(e){for(var t,n,r=[],i=0,o=e.length;i=55296&&t<=56319&&i65535&&(e-=65536,t+=I(e>>>10&1023|55296),e=56320|1023&e),t+=I(e)}).join("")}function c(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:w}function u(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function d(e,t,n){var r=0;for(e=n?P(e/T):e>>1,e+=P(e/t);e>F*S>>1;r+=w)e=P(e/F);return P(r+(F+1)*e/(e+C))}function f(e){var t,n,r,o,a,s,u,f,p,h,m=[],g=e.length,v=0,_=M,y=E;for(n=e.lastIndexOf(A),n<0&&(n=0),r=0;r=128&&i("not-basic"),m.push(e.charCodeAt(r));for(o=n>0?n+1:0;o=g&&i("invalid-input"),f=c(e.charCodeAt(o++)),(f>=w||f>P((x-v)/s))&&i("overflow"),v+=f*s,p=u<=y?k:u>=y+S?S:u-y,!(fP(x/h)&&i("overflow"),s*=h;t=m.length+1,y=d(v-a,t,0==a),P(v/t)>x-_&&i("overflow"),_+=P(v/t),v%=t,m.splice(v++,0,_)}return l(m)}function p(e){var t,n,r,o,a,l,c,f,p,h,m,g,v,_,y,b=[];for(e=s(e),g=e.length,t=M,n=0,a=E,l=0;l=t&&mP((x-n)/v)&&i("overflow"),n+=(c-t)*v,t=c,l=0;lx&&i("overflow"),m==t){for(f=n,p=w;h=p<=a?k:p>=a+S?S:p-a,!(f= 0x80 (not a basic code point)","invalid-input":"Invalid input"},F=w-k,P=Math.floor,I=String.fromCharCode;if(y={version:"1.4.1",ucs2:{decode:s,encode:l},decode:f,encode:p,toASCII:m,toUnicode:h},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",function(){return y});else if(g&&v)if(t.exports==g)v.exports=y;else for(b in y)y.hasOwnProperty(b)&&(g[b]=y[b]);else r.punycode=y}(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],415:[function(e,t,n){(function(e,n){!function(n){"use strict";function r(e,t,n,r){var i=t&&t.prototype instanceof o?t:o,a=Object.create(i.prototype),s=new p(r||[]);return a._invoke=u(e,n,s),a}function i(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function o(){}function a(){}function s(){}function l(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function c(t){function n(e,r,o,a){var s=i(t[e],t,r);if("throw"!==s.type){var l=s.arg,c=l.value;return c&&"object"==typeof c&&_.call(c,"__await")?Promise.resolve(c.__await).then(function(e){n("next",e,o,a)},function(e){n("throw",e,o,a)}):Promise.resolve(c).then(function(e){l.value=e,o(l)},a)}a(s.arg)}function r(e,t){function r(){return new Promise(function(r,i){n(e,t,r,i)})}return o=o?o.then(r,r):r()}"object"==typeof e&&e.domain&&(n=e.domain.bind(n));var o;this._invoke=r}function u(e,t,n){var r=S;return function(o,a){if(r===T)throw new Error("Generator is already running");if(r===E){if("throw"===o)throw a;return m()}for(;;){var s=n.delegate;if(s){if("return"===o||"throw"===o&&s.iterator[o]===g){n.delegate=null;var l=s.iterator.return;if(l){var c=i(l,s.iterator,a);if("throw"===c.type){o="throw",a=c.arg;continue}}if("return"===o)continue}var c=i(s.iterator[o],s.iterator,a);if("throw"===c.type){n.delegate=null,o="throw",a=c.arg;continue}o="next",a=g;var u=c.arg;if(!u.done)return r=C,u;n[s.resultName]=u.value,n.next=s.nextLoc,n.delegate=null}if("next"===o)n.sent=n._sent=a;else if("throw"===o){if(r===S)throw r=E,a;n.dispatchException(a)&&(o="next",a=g)}else"return"===o&&n.abrupt("return",a);r=T;var c=i(e,t,n);if("normal"===c.type){r=n.done?E:C;var u={value:c.arg,done:n.done};if(c.arg!==M)return u;n.delegate&&"next"===o&&(a=g)}else"throw"===c.type&&(r=E,o="throw",a=c.arg)}}}function d(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function f(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function p(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(d,this),this.reset(!0)}function h(e){if(e){var t=e[b];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n=0;--r){var i=this.tryEntries[r],o=i.completion;if("root"===i.tryLoc)return t("end");if(i.tryLoc<=this.prev){var a=_.call(i,"catchLoc"),s=_.call(i,"finallyLoc");if(a&&s){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&_.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),f(n),M}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;f(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:h(e),resultName:t,nextLoc:n},M}}}("object"==typeof n?n:"object"==typeof window?window:"object"==typeof self?self:this)}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{_process:413}],416:[function(e,t,n){function r(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName){var n=e.hasAttribute("readonly");n||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),n||e.removeAttribute("readonly"),t=e.value}else{e.hasAttribute("contenteditable")&&e.focus();var r=window.getSelection(),i=document.createRange();i.selectNodeContents(e),r.removeAllRanges(),r.addRange(i),t=r.toString()}return t}t.exports=r},{}],417:[function(e,t,n){!function(e){"use strict";"function"==typeof define&&define.amd?define(e):void 0!==t&&void 0!==t.exports?t.exports=e():window.Sortable=e()}(function(){"use strict";function e(e,t){if(!e||!e.nodeType||1!==e.nodeType)throw"Sortable: `el` must be HTMLElement, and not "+{}.toString.call(e);this.el=e,this.options=t=y({},t),e[H]=this;var n={group:Math.random(),sort:!0,disabled:!1,store:null,handle:null,scroll:!0,scrollSensitivity:30,scrollSpeed:10,draggable:/[uo]l/i.test(e.nodeName)?"li":">*",ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,setData:function(e,t){e.setData("Text",t.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0}};for(var r in n)!(r in t)&&(t[r]=n[r]);ae(t);for(var i in this)"_"===i.charAt(0)&&"function"==typeof this[i]&&(this[i]=this[i].bind(this));this.nativeDraggable=!t.forceFallback&&J,o(e,"mousedown",this._onTapStart),o(e,"touchstart",this._onTapStart),o(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(o(e,"dragover",this),o(e,"dragenter",this)),ie.push(this._onDragOver),t.store&&this.sort(t.store.get(this))}function t(e,t){"clone"!==e.lastPullMode&&(t=!0),C&&C.state!==t&&(l(C,"display",t?"none":""),t||C.state&&(e.options.group.revertClone?(T.insertBefore(C,E),e._animate(w,C)):T.insertBefore(C,w)),C.state=t)}function n(e,t,n){if(e){n=n||V;do{if(">*"===t&&e.parentNode===n||v(e,t))return e}while(e=r(e))}return null}function r(e){var t=e.host;return t&&t.nodeType?t:e.parentNode}function i(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.preventDefault()}function o(e,t,n){e.addEventListener(t,n,X)}function a(e,t,n){e.removeEventListener(t,n,X)}function s(e,t,n){if(e)if(e.classList)e.classList[n?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(U," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(U," ")}}function l(e,t,n){var r=e&&e.style;if(r){if(void 0===n)return V.defaultView&&V.defaultView.getComputedStyle?n=V.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),void 0===t?n:n[t];t in r||(t="-webkit-"+t),r[t]=n+("string"==typeof n?"":"px")}}function c(e,t,n){if(e){var r=e.getElementsByTagName(t),i=0,o=r.length;if(n)for(;i5||t.clientX-(r.left+r.width)>5}function m(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,r=0;n--;)r+=t.charCodeAt(n);return r.toString(36)}function g(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e&&(e=e.previousElementSibling);)"TEMPLATE"===e.nodeName.toUpperCase()||">*"!==t&&!v(e,t)||n++;return n}function v(e,t){if(e){t=t.split(".");var n=t.shift().toUpperCase(),r=new RegExp("\\s("+t.join("|")+")(?=\\s)","g");return!(""!==n&&e.nodeName.toUpperCase()!=n||t.length&&((" "+e.className+" ").match(r)||[]).length!=t.length)}return!1}function _(e,t){var n,r;return function(){void 0===n&&(n=arguments,r=this,setTimeout(function(){1===n.length?e.call(r,n[0]):e.apply(r,n),n=void 0},t))}}function y(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function b(e){return Z?Z(e).clone(!0)[0]:K&&K.dom?K.dom(e).cloneNode(!0):e.cloneNode(!0)}function x(e){for(var t=e.getElementsByTagName("input"),n=t.length;n--;){var r=t[n];r.checked&&re.push(r)}}if("undefined"==typeof window||!window.document)return function(){throw new Error("Sortable.js requires a window with a document")};var w,k,S,C,T,E,M,A,L,D,j,O,F,P,I,z,N,q,R,$,B={},U=/\s+/g,W=/left|right|inline/,H="Sortable"+(new Date).getTime(),Y=window,V=Y.document,G=Y.parseInt,Z=Y.jQuery||Y.Zepto,K=Y.Polymer,X=!1,J=!!("draggable"in V.createElement("div")),Q=function(e){return!navigator.userAgent.match(/Trident.*rv[ :]?11\./)&&(e=V.createElement("x"),e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents)}(),ee=!1,te=Math.abs,ne=Math.min,re=[],ie=[],oe=_(function(e,t,n){if(n&&t.scroll){var r,i,o,a,s,l,c=n[H],u=t.scrollSensitivity,d=t.scrollSpeed,f=e.clientX,p=e.clientY,h=window.innerWidth,m=window.innerHeight;if(L!==n&&(A=t.scroll,L=n,D=t.scrollFn,!0===A)){A=n;do{if(A.offsetWidth-1:i==e)}}var n={},r=e.group;r&&"object"==typeof r||(r={name:r}),n.name=r.name,n.checkPull=t(r.pull,!0),n.checkPut=t(r.put),n.revertClone=r.revertClone,e.group=n};e.prototype={constructor:e,_onTapStart:function(e){var t,r=this,i=this.el,o=this.options,a=o.preventOnFilter,s=e.type,l=e.touches&&e.touches[0],c=(l||e).target,d=e.target.shadowRoot&&e.path[0]||c,f=o.filter;if(x(i),!w&&!("mousedown"===s&&0!==e.button||o.disabled)&&(c=n(c,o.draggable,i))&&M!==c){if(t=g(c,o.draggable),"function"==typeof f){if(f.call(this,e,c,this))return u(r,d,"filter",c,i,t),void(a&&e.preventDefault())}else if(f&&(f=f.split(",").some(function(e){if(e=n(d,e.trim(),i))return u(r,e,"filter",c,i,t),!0})))return void(a&&e.preventDefault());o.handle&&!n(d,o.handle,i)||this._prepareDragStart(e,l,c,t)}},_prepareDragStart:function(e,t,n,r){var i,a=this,l=a.el,d=a.options,p=l.ownerDocument;n&&!w&&n.parentNode===l&&(q=e,T=l,w=n,k=w.parentNode,E=w.nextSibling,M=n,z=d.group,P=r,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,w.style["will-change"]="transform",i=function(){a._disableDelayedDrag(),w.draggable=a.nativeDraggable,s(w,d.chosenClass,!0),a._triggerDragStart(e,t),u(a,T,"choose",w,T,P)},d.ignore.split(",").forEach(function(e){c(w,e.trim(),f)}),o(p,"mouseup",a._onDrop),o(p,"touchend",a._onDrop),o(p,"touchcancel",a._onDrop),o(p,"pointercancel",a._onDrop),o(p,"selectstart",a),d.delay?(o(p,"mouseup",a._disableDelayedDrag),o(p,"touchend",a._disableDelayedDrag),o(p,"touchcancel",a._disableDelayedDrag),o(p,"mousemove",a._disableDelayedDrag),o(p,"touchmove",a._disableDelayedDrag),o(p,"pointermove",a._disableDelayedDrag),a._dragStartTimer=setTimeout(i,d.delay)):i())},_disableDelayedDrag:function(){var e=this.el.ownerDocument;clearTimeout(this._dragStartTimer),a(e,"mouseup",this._disableDelayedDrag),a(e,"touchend",this._disableDelayedDrag),a(e,"touchcancel",this._disableDelayedDrag),a(e,"mousemove",this._disableDelayedDrag),a(e,"touchmove",this._disableDelayedDrag),a(e,"pointermove",this._disableDelayedDrag)},_triggerDragStart:function(e,t){t=t||("touch"==e.pointerType?e:null),t?(q={target:w,clientX:t.clientX,clientY:t.clientY},this._onDragStart(q,"touch")):this.nativeDraggable?(o(w,"dragend",this),o(T,"dragstart",this._onDragStart)):this._onDragStart(q,!0);try{V.selection?setTimeout(function(){V.selection.empty()}):window.getSelection().removeAllRanges()}catch(e){}},_dragStarted:function(){if(T&&w){var t=this.options;s(w,t.ghostClass,!0),s(w,t.dragClass,!1),e.active=this,u(this,T,"start",w,T,P)}else this._nulling()},_emulateDragOver:function(){if(R){if(this._lastX===R.clientX&&this._lastY===R.clientY)return;this._lastX=R.clientX,this._lastY=R.clientY,Q||l(S,"display","none");var e=V.elementFromPoint(R.clientX,R.clientY),t=e,n=ie.length;if(t)do{if(t[H]){for(;n--;)ie[n]({clientX:R.clientX,clientY:R.clientY,target:e,rootEl:t});break}e=t}while(t=t.parentNode);Q||l(S,"display","")}},_onTouchMove:function(t){if(q){var n=this.options,r=n.fallbackTolerance,i=n.fallbackOffset,o=t.touches?t.touches[0]:t,a=o.clientX-q.clientX+i.x,s=o.clientY-q.clientY+i.y,c=t.touches?"translate3d("+a+"px,"+s+"px,0)":"translate("+a+"px,"+s+"px)";if(!e.active){if(r&&ne(te(o.clientX-this._lastX),te(o.clientY-this._lastY))w.offsetWidth,A=i.offsetHeight>w.offsetHeight,L=(x?(r.clientX-a.left)/y:(r.clientY-a.top)/b)>.5,D=i.nextElementSibling,P=!1;if(x){var I=w.offsetTop,q=i.offsetTop;P=I===q?i.previousElementSibling===w&&!M||L&&M:i.previousElementSibling===w||w.previousElementSibling===i?(r.clientY-a.top)/b>.5:q>I}else v||(P=D!==w&&!A||L&&A);var R=d(T,c,w,o,i,a,r,P);!1!==R&&(1!==R&&-1!==R||(P=1===R),ee=!0,setTimeout(p,30),t(m,g),w.contains(c)||(P&&!D?c.appendChild(w):i.parentNode.insertBefore(w,P?D:i)),k=w.parentNode,this._animate(o,w),this._animate(a,i))}}},_animate:function(e,t){var n=this.options.animation;if(n){var r=t.getBoundingClientRect();1===e.nodeType&&(e=e.getBoundingClientRect()),l(t,"transition","none"),l(t,"transform","translate3d("+(e.left-r.left)+"px,"+(e.top-r.top)+"px,0)"),t.offsetWidth,l(t,"transition","all "+n+"ms"),l(t,"transform","translate3d(0,0,0)"),clearTimeout(t.animated),t.animated=setTimeout(function(){l(t,"transition",""),l(t,"transform",""),t.animated=!1},n)}},_offUpEvents:function(){var e=this.el.ownerDocument;a(V,"touchmove",this._onTouchMove),a(V,"pointermove",this._onTouchMove),a(e,"mouseup",this._onDrop),a(e,"touchend",this._onDrop),a(e,"pointerup",this._onDrop),a(e,"touchcancel",this._onDrop),a(e,"pointercancel",this._onDrop),a(e,"selectstart",this)},_onDrop:function(t){var n=this.el,r=this.options;clearInterval(this._loopId),clearInterval(B.pid),clearTimeout(this._dragStartTimer),a(V,"mousemove",this._onTouchMove),this.nativeDraggable&&(a(V,"drop",this),a(n,"dragstart",this._onDragStart)),this._offUpEvents(),t&&($&&(t.preventDefault(),!r.dropBubble&&t.stopPropagation()),S&&S.parentNode&&S.parentNode.removeChild(S),T!==k&&"clone"===e.active.lastPullMode||C&&C.parentNode&&C.parentNode.removeChild(C),w&&(this.nativeDraggable&&a(w,"dragend",this),f(w),w.style["will-change"]="",s(w,this.options.ghostClass,!1),s(w,this.options.chosenClass,!1),u(this,T,"unchoose",w,T,P),T!==k?(I=g(w,r.draggable))>=0&&(u(null,k,"add",w,T,P,I),u(this,T,"remove",w,T,P,I),u(null,k,"sort",w,T,P,I),u(this,T,"sort",w,T,P,I)):w.nextSibling!==E&&(I=g(w,r.draggable))>=0&&(u(this,T,"update",w,T,P,I),u(this,T,"sort",w,T,P,I)),e.active&&(null!=I&&-1!==I||(I=P),u(this,T,"end",w,T,P,I),this.save()))),this._nulling()},_nulling:function(){T=w=k=S=E=C=M=A=L=q=R=$=I=j=O=N=z=e.active=null,re.forEach(function(e){e.checked=!0}),re.length=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragover":case"dragenter":w&&(this._onDragOver(e),i(e));break;case"selectstart":e.preventDefault()}},toArray:function(){for(var e,t=[],r=this.el.children,i=0,o=r.length,a=this.options;i-1)return e.splice(n,1)}}function a(e,t){return ki.call(e,t)}function s(e){return"string"==typeof e||"number"==typeof e}function l(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}function c(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n}function u(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function d(e,t){for(var n in t)e[n]=t[n];return e}function f(e){return null!==e&&"object"==typeof e}function p(e){return Ei.call(e)===Mi}function h(e){for(var t={},n=0;n=0&&uo[n].id>e.id;)n--;uo.splice(Math.max(n,mo)+1,0,e)}else uo.push(e);po||(po=!0,Yi(me))}}function ve(e){_o.clear(),_e(e,_o)}function _e(e,t){var n,r,i=Array.isArray(e);if((i||f(e))&&Object.isExtensible(e)){if(e.__ob__){var o=e.__ob__.dep.id;if(t.has(o))return;t.add(o)}if(i)for(n=e.length;n--;)_e(e[n],t);else for(r=Object.keys(e),n=r.length;n--;)_e(e[r[n]],t)}}function ye(e,t,n){yo.get=function(){return this[t][n]},yo.set=function(e){this[t][n]=e},Object.defineProperty(e,n,yo)}function be(e){e._watchers=[];var t=e.$options;t.props&&xe(e,t.props),t.methods&&Ee(e,t.methods),t.data?we(e):E(e._data={},!0),t.computed&&Se(e,t.computed),t.watch&&Me(e,t.watch)}function xe(e,t){var n=e.$options.propsData||{},r=e._props={},i=e.$options._propKeys=[],o=!e.$parent;eo.shouldConvert=o;for(var a in t)!function(o){i.push(o);var a=q(o,t,n,e);M(r,o,a),o in e||ye(e,"_props",o)}(a);eo.shouldConvert=!0}function we(e){var t=e.$options.data;t=e._data="function"==typeof t?ke(t,e):t||{},p(t)||(t={});for(var n=Object.keys(t),r=e.$options.props,i=n.length;i--;)r&&a(r,n[i])||y(n[i])||ye(e,"_data",n[i]);E(t,!0)}function ke(e,t){try{return e.call(t)}catch(e){return U(e,t,"data()"),{}}}function Se(e,t){var n=e._computedWatchers=Object.create(null);for(var r in t){var i=t[r],o="function"==typeof i?i:i.get;n[r]=new vo(e,o,m,bo),r in e||Ce(e,r,i)}}function Ce(e,t,n){"function"==typeof n?(yo.get=Te(t),yo.set=m):(yo.get=n.get?!1!==n.cache?Te(t):n.get:m,yo.set=n.set?n.set:m),Object.defineProperty(e,t,yo)}function Te(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),Zi.target&&t.depend(),t.value}}function Ee(e,t){e.$options.props;for(var n in t)e[n]=null==t[n]?m:c(t[n],e)}function Me(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var i=0;i-1:e instanceof RegExp&&e.test(t)}function pt(e,t){for(var n in e){var r=e[n];if(r){var i=dt(r.componentOptions);i&&!t(i)&&(ht(r),e[n]=null)}}}function ht(e){e&&(e.componentInstance._inactive||pe(e.componentInstance,"deactivated"),e.componentInstance.$destroy())}function mt(e){for(var t=e.data,n=e,r=e;r.componentInstance;)r=r.componentInstance._vnode,r.data&&(t=gt(r.data,t));for(;n=n.parent;)n.data&&(t=gt(t,n.data));return vt(t)}function gt(e,t){return{staticClass:_t(e.staticClass,t.staticClass),class:e.class?[e.class,t.class]:t.class}}function vt(e){var t=e.class,n=e.staticClass;return n||t?_t(n,yt(t)):""}function _t(e,t){return e?t?e+" "+t:e:t||""}function yt(e){var t="";if(!e)return t;if("string"==typeof e)return e;if(Array.isArray(e)){for(var n,r=0,i=e.length;r-1?Xo[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Xo[e]=/HTMLUnknownElement/.test(t.toString())}function wt(e){if("string"==typeof e){var t=document.querySelector(e);return t||document.createElement("div")}return e}function kt(e,t){var n=document.createElement(e);return"select"!==e?n:(t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)}function St(e,t){return document.createElementNS(Yo[e],t)}function Ct(e){return document.createTextNode(e)}function Tt(e){return document.createComment(e)}function Et(e,t,n){e.insertBefore(t,n)}function Mt(e,t){e.removeChild(t)}function At(e,t){e.appendChild(t)}function Lt(e){return e.parentNode}function Dt(e){return e.nextSibling}function jt(e){return e.tagName}function Ot(e,t){e.textContent=t}function Ft(e,t,n){e.setAttribute(t,n)}function Pt(e,t){var n=e.data.ref;if(n){var r=e.context,i=e.componentInstance||e.elm,a=r.$refs;t?Array.isArray(a[n])?o(a[n],i):a[n]===i&&(a[n]=void 0):e.data.refInFor?Array.isArray(a[n])&&a[n].indexOf(i)<0?a[n].push(i):a[n]=[i]:a[n]=i}}function It(e){return void 0===e||null===e}function zt(e){return void 0!==e&&null!==e}function Nt(e){return!0===e}function qt(e,t){return e.key===t.key&&e.tag===t.tag&&e.isComment===t.isComment&&zt(e.data)===zt(t.data)&&Rt(e,t)}function Rt(e,t){if("input"!==e.tag)return!0;var n;return(zt(n=e.data)&&zt(n=n.attrs)&&n.type)===(zt(n=t.data)&&zt(n=n.attrs)&&n.type)}function $t(e,t,n){var r,i,o={};for(r=t;r<=n;++r)i=e[r].key,zt(i)&&(o[i]=r);return o}function Bt(e,t){(e.data.directives||t.data.directives)&&Ut(e,t)}function Ut(e,t){var n,r,i,o=e===ea,a=t===ea,s=Wt(e.data.directives,e.context),l=Wt(t.data.directives,t.context),c=[],u=[];for(n in l)r=s[n],i=l[n],r?(i.oldValue=r.value,Yt(i,"update",t,e),i.def&&i.def.componentUpdated&&u.push(i)):(Yt(i,"bind",t,e),i.def&&i.def.inserted&&c.push(i));if(c.length){var d=function(){for(var n=0;n=0&&" "===(g=e.charAt(m));m--);g&&sa.test(g)||(u=!0)}}else void 0===o?(h=i+1,o=e.slice(0,i).trim()):t();if(void 0===o?o=e.slice(0,i).trim():0!==h&&t(),a)for(i=0;i=Ao}function fn(e){return 34===e||39===e}function pn(e){var t=1;for(Oo=jo;!dn();)if(e=un(),fn(e))hn(e);else if(91===e&&t++,93===e&&t--,0===t){Fo=jo;break}}function hn(e){for(var t=e;!dn()&&(e=un())!==t;);}function mn(e,t,n){Po=n;var r=t.value,i=t.modifiers,o=e.tag,a=e.attrsMap.type;if("select"===o)_n(e,r,i);else if("input"===o&&"checkbox"===a)gn(e,r,i);else if("input"===o&&"radio"===a)vn(e,r,i);else if("input"===o||"textarea"===o)yn(e,r,i);else if(!Di.isReservedTag(o))return sn(e,r,i),!1;return!0}function gn(e,t,n){var r=n&&n.number,i=on(e,"value")||"null",o=on(e,"true-value")||"true",a=on(e,"false-value")||"false";en(e,"checked","Array.isArray("+t+")?_i("+t+","+i+")>-1"+("true"===o?":("+t+")":":_q("+t+","+o+")")),rn(e,ca,"var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+a+");if(Array.isArray($$a)){var $$v="+(r?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$c){$$i<0&&("+t+"=$$a.concat($$v))}else{$$i>-1&&("+t+"=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{"+t+"=$$c}",null,!0)}function vn(e,t,n){var r=n&&n.number,i=on(e,"value")||"null";i=r?"_n("+i+")":i,en(e,"checked","_q("+t+","+i+")"),rn(e,ca,ln(t,i),null,!0)}function _n(e,t,n){var r=n&&n.number,i='Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(r?"_n(val)":"val")+"})",o="var $$selectedVal = "+i+";";o=o+" "+ln(t,"$event.target.multiple ? $$selectedVal : $$selectedVal[0]"),rn(e,"change",o,null,!0)}function yn(e,t,n){var r=e.attrsMap.type,i=n||{},o=i.lazy,a=i.number,s=i.trim,l=!o&&"range"!==r,c=o?"change":"range"===r?la:"input",u="$event.target.value";s&&(u="$event.target.value.trim()"),a&&(u="_n("+u+")");var d=ln(t,u);l&&(d="if($event.target.composing)return;"+d),en(e,"value","("+t+")"),rn(e,c,d,null,!0),(s||a||"number"===r)&&rn(e,"blur","$forceUpdate()")}function bn(e){var t;e[la]&&(t=zi?"change":"input",e[t]=[].concat(e[la],e[t]||[]),delete e[la]),e[ca]&&(t=Bi?"click":"change",e[t]=[].concat(e[ca],e[t]||[]),delete e[ca])}function xn(e,t,n,r){if(n){var i=t,o=Io;t=function(n){null!==(1===arguments.length?i(n):i.apply(null,arguments))&&wn(e,t,r,o)}}Io.addEventListener(e,t,r)}function wn(e,t,n,r){(r||Io).removeEventListener(e,t,n)}function kn(e,t){if(e.data.on||t.data.on){var n=t.data.on||{},r=e.data.on||{};Io=t.elm,bn(n),G(n,r,xn,wn,t.context)}}function Sn(e,t){if(e.data.domProps||t.data.domProps){var n,r,i=t.elm,o=e.data.domProps||{},a=t.data.domProps||{};a.__ob__&&(a=t.data.domProps=d({},a));for(n in o)null==a[n]&&(i[n]="");for(n in a)if(r=a[n],"textContent"!==n&&"innerHTML"!==n||(t.children&&(t.children.length=0),r!==o[n]))if("value"===n){i._value=r;var s=null==r?"":String(r);Cn(i,t,s)&&(i.value=s)}else i[n]=r}}function Cn(e,t,n){return!e.composing&&("option"===t.tag||Tn(e,n)||En(e,n))}function Tn(e,t){return document.activeElement!==e&&e.value!==t}function En(e,t){var n=e.value,i=e._vModifiers;return i&&i.number||"number"===e.type?r(n)!==r(t):i&&i.trim?n.trim()!==t.trim():n!==t}function Mn(e){var t=An(e.style);return e.staticStyle?d(e.staticStyle,t):t}function An(e){return Array.isArray(e)?h(e):"string"==typeof e?fa(e):e}function Ln(e,t){var n,r={};if(t)for(var i=e;i.componentInstance;)i=i.componentInstance._vnode,i.data&&(n=Mn(i.data))&&d(r,n);(n=Mn(e.data))&&d(r,n);for(var o=e;o=o.parent;)o.data&&(n=Mn(o.data))&&d(r,n);return r}function Dn(e,t){var n=t.data,r=e.data;if(n.staticStyle||n.style||r.staticStyle||r.style){var i,o,a=t.elm,s=e.data.staticStyle,l=e.data.style||{},c=s||l,u=An(t.data.style)||{};t.data.style=u.__ob__?d({},u):u;var f=Ln(t,!0);for(o in c)null==f[o]&&ma(a,o,"");for(o in f)(i=f[o])!==c[o]&&ma(a,o,null==i?"":i)}}function jn(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(/\s+/).forEach(function(t){return e.classList.add(t)}):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function On(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(/\s+/).forEach(function(t){return e.classList.remove(t)}):e.classList.remove(t);else{for(var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");e.setAttribute("class",n.trim())}}function Fn(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&d(t,ya(e.name||"v")),d(t,e),t}return"string"==typeof e?ya(e):void 0}}function Pn(e){Ea(function(){Ea(e)})}function In(e,t){(e._transitionClasses||(e._transitionClasses=[])).push(t),jn(e,t)}function zn(e,t){e._transitionClasses&&o(e._transitionClasses,t),On(e,t)}function Nn(e,t,n){var r=qn(e,t),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===xa?Sa:Ta,l=0,c=function(){e.removeEventListener(s,u),n()},u=function(t){t.target===e&&++l>=a&&c()};setTimeout(function(){l0&&(n=xa,u=a,d=o.length):t===wa?c>0&&(n=wa,u=c,d=l.length):(u=Math.max(a,c),n=u>0?a>c?xa:wa:null,d=n?n===xa?o.length:l.length:0),{type:n,timeout:u,propCount:d,hasTransform:n===xa&&Ma.test(r[ka+"Property"])}}function Rn(e,t){for(;e.length1}function Yn(e,t){t.data.show||Bn(t)}function Vn(e,t,n){var r=t.value,i=e.multiple;if(!i||Array.isArray(r)){for(var o,a,s=0,l=e.options.length;s-1,a.selected!==o&&(a.selected=o);else if(g(Zn(a),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));i||(e.selectedIndex=-1)}}function Gn(e,t){for(var n=0,r=t.length;n=0&&a[i].lowerCasedTag!==s;i--);else i=0;if(i>=0){for(var l=a.length-1;l>=i;l--)t.end&&t.end(a[l].tag,n,r);a.length=i,o=i&&a[i-1].tag}else"br"===s?t.start&&t.start(e,[],!0,n,r):"p"===s&&(t.start&&t.start(e,[],!1,n,r),t.end&&t.end(e,n,r))}for(var i,o,a=[],s=t.expectHTML,l=t.isUnaryTag||Ai,c=t.canBeLeftOpenTag||Ai,u=0;e;){if(i=e,o&&bs(o)){var d=o.toLowerCase(),f=xs[d]||(xs[d]=new RegExp("([\\s\\S]*?)(]*>)","i")),p=0,h=e.replace(f,function(e,n,r){return p=r.length,bs(d)||"noscript"===d||(n=n.replace(//g,"$1").replace(//g,"$1")),t.chars&&t.chars(n),""});u+=e.length-h.length,e=h,r(d,u-p,u)}else{var m=e.indexOf("<");if(0===m){if(Qa.test(e)){var g=e.indexOf("--\x3e");if(g>=0){n(g+3);continue}}if(es.test(e)){var v=e.indexOf("]>");if(v>=0){n(v+2);continue}}var _=e.match(Ja);if(_){n(_[0].length);continue}var y=e.match(Xa);if(y){var b=u;n(y[0].length),r(y[1],b,u);continue}var x=function(){var t=e.match(Za);if(t){var r={tagName:t[1],attrs:[],start:u};n(t[0].length);for(var i,o;!(i=e.match(Ka))&&(o=e.match(Va));)n(o[0].length),r.attrs.push(o);if(i)return r.unarySlash=i[1],n(i[0].length),r.end=u,r}}();if(x){!function(e){var n=e.tagName,i=e.unarySlash;s&&("p"===o&&Ha(n)&&r(o),c(n)&&o===n&&r(n)) +;for(var u=l(n)||"html"===n&&"head"===o||!!i,d=e.attrs.length,f=new Array(d),p=0;p=0){for(k=e.slice(m);!(Xa.test(k)||Za.test(k)||Qa.test(k)||es.test(k)||(S=k.indexOf("<",1))<0);)m+=S,k=e.slice(m);w=e.substring(0,m),n(m)}m<0&&(w=e,e=""),t.chars&&w&&t.chars(w)}if(e===i){t.chars&&t.chars(e);break}}r()}function dr(e,t){var n=t?Ts(t):Cs;if(n.test(e)){for(var r,i,o=[],a=n.lastIndex=0;r=n.exec(e);){i=r.index,i>a&&o.push(JSON.stringify(e.slice(a,i)));var s=Kt(r[1].trim());o.push("_s("+s+")"),a=i+r[0].length}return a0,qi=Ii&&Ii.indexOf("edge/")>0,Ri=Ii&&Ii.indexOf("android")>0,$i=Ii&&/iphone|ipad|ipod|ios/.test(Ii),Bi=Ii&&/chrome\/\d+/.test(Ii)&&!qi,Ui=function(){return void 0===bi&&(bi=!Pi&&void 0!==e&&"server"===e.process.env.VUE_ENV),bi},Wi=Pi&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,Hi="undefined"!=typeof Symbol&&w(Symbol)&&"undefined"!=typeof Reflect&&w(Reflect.ownKeys),Yi=function(){function e(){r=!1;var e=n.slice(0);n.length=0;for(var t=0;t1?u(n):n;for(var r=u(arguments,1),i=0,o=n.length;i1&&(t[n[0].trim()]=n[1].trim())}}),t}),pa=/^--/,ha=/\s*!important$/,ma=function(e,t,n){pa.test(t)?e.style.setProperty(t,n):ha.test(n)?e.style.setProperty(t,n.replace(ha,""),"important"):e.style[va(t)]=n},ga=["Webkit","Moz","ms"],va=l(function(e){if(zo=zo||document.createElement("div"),"filter"!==(e=Si(e))&&e in zo.style)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=0;nf?(c=It(n[g+1])?null:n[g+1].elm,m(e,c,n,d,g,r)):d>g&&v(e,t,u,f)}function b(e,t,n,r){if(e!==t){if(Nt(t.isStatic)&&Nt(e.isStatic)&&t.key===e.key&&(Nt(t.isCloned)||Nt(t.isOnce)))return t.elm=e.elm,void(t.componentInstance=e.componentInstance);var i,o=t.data;zt(o)&&zt(i=o.hook)&&zt(i=i.prepatch)&&i(e,t);var a=t.elm=e.elm,s=e.children,l=t.children;if(zt(o)&&f(t)){for(i=0;i',n.innerHTML.indexOf(t)>0}("\n"," "),Ua=i("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),Wa=i("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),Ha=i("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),Ya=[/"([^"]*)"+/.source,/'([^']*)'+/.source,/([^\s"'=<>`]+)/.source],Va=new RegExp("^\\s*"+/([^\s"'<>\/=]+)/.source+"(?:\\s*("+/(?:=)/.source+")\\s*(?:"+Ya.join("|")+"))?"),Ga="[a-zA-Z_][\\w\\-\\.]*",Za=new RegExp("^<((?:"+Ga+"\\:)?"+Ga+")"),Ka=/^\s*(\/?)>/,Xa=new RegExp("^<\\/((?:"+Ga+"\\:)?"+Ga+")[^>]*>"),Ja=/^]+>/i,Qa=/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(i.source+"\\s*$"),/^$/,!1]];t.exports=function(e,t,n,r){var i,a,s,l,c=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(c))return!1;for(l=e.src.slice(c,u),i=0;i=4)return!1;for(f=e.parentType,e.parentType="paragraph";p3)){if(e.sCount[p]>=e.blkIndent&&(l=e.bMarks[p]+e.tShift[p],c=e.eMarks[p],l=c))){u=61===d?1:2;break}if(!(e.sCount[p]<0)){for(i=!1,o=0,a=h.length;o=o)return-1;if((n=e.src.charCodeAt(i++))<48||n>57)return-1;for(;;){if(i>=o)return-1;n=e.src.charCodeAt(i++);{if(!(n>=48&&n<=57)){if(41===n||46===n)break;return-1}if(i-r>=10)return-1}}return i=4)return!1;if(s&&"paragraph"===e.parentType&&e.tShift[t]>=e.blkIndent&&(I=!0),(L=i(e,t))>=0){if(h=!0,j=e.bMarks[t]+e.tShift[t],b=Number(e.src.substr(j,L-j-1)),I&&1!==b)return!1}else{if(!((L=r(e,t))>=0))return!1;h=!1}if(I&&e.skipSpaces(L)>=e.eMarks[t])return!1;if(y=e.src.charCodeAt(L-1),s)return!0;for(_=e.tokens.length,h?(P=e.push("ordered_list_open","ol",1),1!==b&&(P.attrs=[["start",b]])):P=e.push("bullet_list_open","ul",1),P.map=v=[t,0],P.markup=String.fromCharCode(y),w=t,D=!1,F=e.md.block.ruler.getRules("list"),T=e.parentType,e.parentType="list";w=x?1:k-p,f>4&&(f=1),d=p+f,P=e.push("list_item_open","li",1),P.markup=String.fromCharCode(y),P.map=m=[t,0],S=e.blkIndent,M=e.tight,E=e.tShift[t],C=e.sCount[t],e.blkIndent=d,e.tight=!0,e.tShift[t]=c-e.bMarks[t],e.sCount[t]=k,c>=x&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,t,n,!0),e.tight&&!D||(z=!1),D=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=S,e.tShift[t]=E,e.sCount[t]=C,e.tight=M,P=e.push("list_item_close","li",-1),P.markup=String.fromCharCode(y),w=t=e.line,m[1]=w,c=e.bMarks[t],w>=n)break;if(e.sCount[w]3||e.sCount[l]<0)){for(r=!1,i=0,o=c.length;i=4)return!1;if(91!==e.src.charCodeAt(k))return!1;for(;++k3||e.sCount[C]<0)){for(y=!1,d=0,f=b.length;d0&&this.level++,this.tokens.push(r),r},r.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},r.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;et;)if(!o(this.src.charCodeAt(--e)))return e+1;return e},r.prototype.skipChars=function(e,t){for(var n=this.src.length;en;)if(t!==this.src.charCodeAt(--e))return e+1;return e},r.prototype.getLines=function(e,t,n,r){var i,a,s,l,c,u,d,f=e;if(e>=t)return"";for(u=new Array(t-e),i=0;fn?new Array(a-n+1).join(" ")+this.src.slice(l,c):this.src.slice(l,c)}return u.join("")},r.prototype.Token=i,t.exports=r},{"../common/utils":358,"../token":405}],383:[function(e,t,n){"use strict";function r(e,t){var n=e.bMarks[t]+e.blkIndent,r=e.eMarks[t];return e.src.substr(n,r-n)}function i(e){var t,n=[],r=0,i=e.length,o=0,a=0,s=!1,l=0;for(t=e.charCodeAt(r);rn)return!1;if(d=t+1,e.sCount[d]=4)return!1;if((c=e.bMarks[d]+e.tShift[d])>=e.eMarks[d])return!1;if(124!==(s=e.src.charCodeAt(c++))&&45!==s&&58!==s)return!1;for(;c=4)return!1;if(f=i(l.replace(/^\||\|$/g,"")),(p=f.length)>m.length)return!1;if(a)return!0;for(h=e.push("table_open","table",1),h.map=v=[t,0],h=e.push("thead_open","thead",1),h.map=[t,t+1],h=e.push("tr_open","tr",1),h.map=[t,t+1],u=0;u=4);d++){for(f=i(l.replace(/^\||\|$/g,"")),h=e.push("tr_open","tr",1),u=0;u\s]/i.test(e)}function i(e){return/^<\/a\s*>/i.test(e)}var o=e("../common/utils").arrayReplaceAt;t.exports=function(e){var t,n,a,s,l,c,u,d,f,p,h,m,g,v,_,y,b,x=e.tokens;if(e.md.options.linkify)for(n=0,a=x.length;n=0;t--)if(c=s[t],"link_close"!==c.type){if("html_inline"===c.type&&(r(c.content)&&g>0&&g--,i(c.content)&&g++),!(g>0)&&"text"===c.type&&e.md.linkify.test(c.content)){for(f=c.content,b=e.md.linkify.match(f),u=[],m=c.level,h=0,d=0;dh&&(l=new e.Token("text","",0),l.content=f.slice(h,p),l.level=m,u.push(l)),l=new e.Token("link_open","a",1),l.attrs=[["href",_]],l.level=m++,l.markup="linkify",l.info="auto",u.push(l),l=new e.Token("text","",0),l.content=y,l.level=m,u.push(l),l=new e.Token("link_close","a",-1),l.level=--m,l.markup="linkify",l.info="auto",u.push(l),h=b[d].lastIndex);h=0;t--)n=e[t],"text"!==n.type||i||(n.content=n.content.replace(l,r)),"link_open"===n.type&&"auto"===n.info&&i--,"link_close"===n.type&&"auto"===n.info&&i++}function o(e){var t,n,r=0;for(t=e.length-1;t>=0;t--)n=e[t],"text"!==n.type||r||a.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/gm,"$1—$2").replace(/(^|\s)--(\s|$)/gm,"$1–$2").replace(/(^|[^-\s])--([^-\s]|$)/gm,"$1–$2")),"link_open"===n.type&&"auto"===n.info&&r--,"link_close"===n.type&&"auto"===n.info&&r++}var a=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,s=/\((c|tm|r|p)\)/i,l=/\((c|tm|r|p)\)/gi,c={c:"©",r:"®",p:"§",tm:"™"};t.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&(s.test(e.tokens[t].content)&&i(e.tokens[t].children),a.test(e.tokens[t].content)&&o(e.tokens[t].children))}},{}],389:[function(e,t,n){"use strict";function r(e,t,n){return e.substr(0,t)+n+e.substr(t+1)}function i(e,t){var n,i,l,d,f,p,h,m,g,v,_,y,b,x,w,k,S,C,T,E,M;for(T=[],n=0;n=0&&!(T[S].level<=h);S--);if(T.length=S+1,"text"===i.type){l=i.content,f=0,p=l.length;e:for(;f=0)g=l.charCodeAt(d.index-1);else for(S=n-1;S>=0;S--)if("text"===e[S].type){g=e[S].content.charCodeAt(e[S].content.length-1);break}if(v=32,f=48&&g<=57&&(k=w=!1),w&&k&&(w=!1,k=y),w||k){if(k)for(S=T.length-1;S>=0&&(m=T[S],!(T[S].level=0;t--)"inline"===e.tokens[t].type&&l.test(e.tokens[t].content)&&i(e.tokens[t].children,e)}},{"../common/utils":358}],390:[function(e,t,n){"use strict";function r(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}var i=e("../token");r.prototype.Token=i,t.exports=r},{"../token":405}],391:[function(e,t,n){"use strict";var r=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,i=/^<([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)>/;t.exports=function(e,t){var n,o,a,s,l,c,u=e.pos;return 60===e.src.charCodeAt(u)&&(n=e.src.slice(u),!(n.indexOf(">")<0)&&(i.test(n)?(o=n.match(i),s=o[0].slice(1,-1),l=e.md.normalizeLink(s),!!e.md.validateLink(l)&&(t||(c=e.push("link_open","a",1),c.attrs=[["href",l]],c.markup="autolink",c.info="auto",c=e.push("text","",0),c.content=e.md.normalizeLinkText(s),c=e.push("link_close","a",-1),c.markup="autolink",c.info="auto"),e.pos+=o[0].length,!0)):!!r.test(n)&&(a=n.match(r),s=a[0].slice(1,-1),l=e.md.normalizeLink("mailto:"+s),!!e.md.validateLink(l)&&(t||(c=e.push("link_open","a",1),c.attrs=[["href",l]],c.markup="autolink",c.info="auto",c=e.push("text","",0),c.content=e.md.normalizeLinkText(s),c=e.push("link_close","a",-1),c.markup="autolink",c.info="auto"),e.pos+=a[0].length,!0))))}},{}],392:[function(e,t,n){"use strict";t.exports=function(e,t){var n,r,i,o,a,s,l=e.pos;if(96!==e.src.charCodeAt(l))return!1;for(n=l,l++,r=e.posMax;l=0;){if(i=o[n],i.open&&i.marker===r.marker&&i.end<0&&i.level===r.level){var s=(i.close||r.open)&&void 0!==i.length&&void 0!==r.length&&(i.length+r.length)%3==0;if(!s){r.jump=t-n,r.open=!1,i.end=t,i.jump=0;break}}n-=i.jump+1}}},{}],394:[function(e,t,n){"use strict";t.exports.tokenize=function(e,t){var n,r,i,o=e.pos,a=e.src.charCodeAt(o);if(t)return!1;if(95!==a&&42!==a)return!1;for(r=e.scanDelims(e.pos,42===a),n=0;n?@[]^_`{|}~-".split("").forEach(function(e){i[e.charCodeAt(0)]=1}),t.exports=function(e,t){ -var n,o=e.pos,a=e.posMax;if(92!==e.src.charCodeAt(o))return!1;if(++o=97&&t<=122}var i=e("../common/html_re").HTML_TAG_RE;t.exports=function(e,t){var n,o,a,s,l=e.pos;return!!e.md.options.html&&(a=e.posMax,!(60!==e.src.charCodeAt(l)||l+2>=a)&&(!(33!==(n=e.src.charCodeAt(l+1))&&63!==n&&47!==n&&!r(n))&&(!!(o=e.src.slice(l).match(i))&&(t||(s=e.push("html_inline","",0),s.content=e.src.slice(l,l+o[0].length)),e.pos+=o[0].length,!0))))}},{"../common/html_re":357}],398:[function(e,t,n){"use strict";var r=e("../common/utils").normalizeReference,i=e("../common/utils").isSpace;t.exports=function(e,t){var n,o,a,s,l,c,u,d,f,p,h,m,g,v="",_=e.pos,y=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(c=e.pos+2,(l=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((u=l+1)=y)return!1;for(g=u,f=e.md.helpers.parseLinkDestination(e.src,u,e.posMax),f.ok&&(v=e.md.normalizeLink(f.str),e.md.validateLink(v)?u=f.pos:v=""),g=u;u=y||41!==e.src.charCodeAt(u))return e.pos=_,!1;u++}else{if(void 0===e.env.references)return!1;if(u=0?s=e.src.slice(g,u++):u=l+1):u=l+1,s||(s=e.src.slice(c,l)),!(d=e.env.references[r(s)]))return e.pos=_,!1;v=d.href,p=d.title}return t||(a=e.src.slice(c,l),e.md.inline.parse(a,e.md,e.env,m=[]),h=e.push("image","img",0),h.attrs=n=[["src",v],["alt",""]],h.children=m,h.content=a,p&&n.push(["title",p])),e.pos=u,e.posMax=y,!0}},{"../common/utils":358}],399:[function(e,t,n){"use strict";var r=e("../common/utils").normalizeReference,i=e("../common/utils").isSpace;t.exports=function(e,t){var n,o,a,s,l,c,u,d,f,p,h="",m=e.pos,g=e.posMax,v=e.pos,_=!0;if(91!==e.src.charCodeAt(e.pos))return!1;if(l=e.pos+1,(s=e.md.helpers.parseLinkLabel(e,e.pos,!0))<0)return!1;if((c=s+1)=g)return!1;for(v=c,u=e.md.helpers.parseLinkDestination(e.src,c,e.posMax),u.ok&&(h=e.md.normalizeLink(u.str),e.md.validateLink(h)?c=u.pos:h=""),v=c;c=g||41!==e.src.charCodeAt(c))&&(_=!0),c++}if(_){if(void 0===e.env.references)return!1;if(c=0?a=e.src.slice(v,c++):c=s+1):c=s+1,a||(a=e.src.slice(l,s)),!(d=e.env.references[r(a)]))return e.pos=m,!1;h=d.href,f=d.title}return t||(e.pos=l,e.posMax=s,p=e.push("link_open","a",1),p.attrs=n=[["href",h]],f&&n.push(["title",f]),e.md.inline.tokenize(e),p=e.push("link_close","a",-1)),e.pos=c,e.posMax=g,!0}},{"../common/utils":358}],400:[function(e,t,n){"use strict";var r=e("../common/utils").isSpace;t.exports=function(e,t){var n,i,o=e.pos;if(10!==e.src.charCodeAt(o))return!1;for(n=e.pending.length-1,i=e.posMax,t||(n>=0&&32===e.pending.charCodeAt(n)?n>=1&&32===e.pending.charCodeAt(n-1)?(e.pending=e.pending.replace(/ +$/,""),e.push("hardbreak","br",0)):(e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0)):e.push("softbreak","br",0)),o++;o0&&this.level++,this.pendingLevel=this.level,this.tokens.push(r),r},r.prototype.scanDelims=function(e,t){var n,r,i,l,c,u,d,f,p,h=e,m=!0,g=!0,v=this.posMax,_=this.src.charCodeAt(e);for(n=e>0?this.src.charCodeAt(e-1):32;h=0&&(n=this.attrs[t][1]),n},r.prototype.attrJoin=function(e,t){var n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=this.attrs[n][1]+" "+t},t.exports=r},{}],406:[function(e,t,n){"use strict";function r(e){var t,n,r=o[e];if(r)return r;for(r=o[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),r.push(n);for(t=0;t=55296&&l<=57343?"���":String.fromCharCode(l),t+=6):240==(248&i)&&t+91114111?c+="����":(l-=65536,c+=String.fromCharCode(55296+(l>>10),56320+(1023&l))),t+=9):c+="�";return c})}var o={};i.defaultChars=";/?:@&=+$,#",i.componentChars="",t.exports=i},{}],407:[function(e,t,n){"use strict";function r(e){var t,n,r=o[e];if(r)return r;for(r=o[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),/^[0-9a-z]$/i.test(n)?r.push(n):r.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t=55296&&s<=57343){if(s>=55296&&s<=56319&&o+1=56320&&l<=57343){u+=encodeURIComponent(e[o]+e[o+1]),o++;continue}u+="%EF%BF%BD"}else u+=encodeURIComponent(e[o]);return u}var o={};i.defaultChars=";/?:@&=+$,-_.!~*'()#",i.componentChars="-_.!~*'()",t.exports=i},{}],408:[function(e,t,n){"use strict";t.exports=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""}},{}],409:[function(e,t,n){"use strict";t.exports.encode=e("./encode"),t.exports.decode=e("./decode"),t.exports.format=e("./format"),t.exports.parse=e("./parse")},{"./decode":406,"./encode":407,"./format":408,"./parse":410}],410:[function(e,t,n){"use strict";function r(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}function i(e,t){if(e&&e instanceof r)return e;var n=new r;return n.parse(e,t),n}var o=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,s=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,l=["<",">",'"',"`"," ","\r","\n","\t"],c=["{","}","|","\\","^","`"].concat(l),u=["'"].concat(c),d=["%","/","?",";","#"].concat(u),f=["/","?","#"],p={javascript:!0,"javascript:":!0},h={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};r.prototype.parse=function(e,t){var n,r,i,a,l,c=e;if(c=c.trim(),!t&&1===e.split("#").length){var u=s.exec(c);if(u)return this.pathname=u[1],u[2]&&(this.search=u[2]),this}var m=o.exec(c);if(m&&(m=m[0],i=m.toLowerCase(),this.protocol=m,c=c.substr(m.length)),(t||m||c.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(l="//"===c.substr(0,2))||m&&p[m]||(c=c.substr(2),this.slashes=!0)),!p[m]&&(l||m&&!h[m])){var g=-1;for(n=0;n127?k+="x":k+=w[S];if(!k.match(/^[+a-z0-9A-Z_-]{0,63}$/)){var T=x.slice(0,n),E=x.slice(n+1),M=w.match(/^([+a-z0-9A-Z_-]{0,63})(.*)$/);M&&(T.push(M[1]),E.unshift(M[2])),E.length&&(c=E.join(".")+c),this.hostname=T.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),b&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var A=c.indexOf("#");-1!==A&&(this.hash=c.substr(A),c=c.slice(0,A));var L=c.indexOf("?");return-1!==L&&(this.search=c.substr(L),c=c.slice(0,L)),c&&(this.pathname=c),h[i]&&this.hostname&&!this.pathname&&(this.pathname=""),this},r.prototype.parseHost=function(e){var t=a.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},t.exports=i},{}],411:[function(e,t,n){!function(r,i){"object"==typeof n&&void 0!==t&&"function"==typeof e?i(e("../moment")):"function"==typeof define&&define.amd?define(["../moment"],i):i(r.moment)}(this,function(e){"use strict";return e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{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"},ordinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})})},{"../moment":412}],412:[function(e,t,n){!function(e,r){"object"==typeof n&&void 0!==t?t.exports=r():"function"==typeof define&&define.amd?define(r):e.moment=r()}(this,function(){"use strict";function n(){return gr.apply(null,arguments)}function r(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function i(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function o(e){var t;for(t in e)return!1;return!0}function a(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function s(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function l(e,t){var n,r=[];for(n=0;n0)for(n in yr)r=yr[n],i=t[r],g(i)||(e[r]=i);return e}function _(e){v(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===br&&(br=!0,n.updateOffset(this),br=!1)}function y(e){return e instanceof _||null!=e&&null!=e._isAMomentObject}function b(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function x(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=b(t)),n}function w(e,t,n){var r,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),a=0;for(r=0;r0?"future":"past"];return T(n)?n(t):n.replace(/%s/i,t)}function I(e,t){var n=e.toLowerCase();Mr[n]=Mr[n+"s"]=Mr[t]=e}function z(e){return"string"==typeof e?Mr[e]||Mr[e.toLowerCase()]:void 0}function N(e){var t,n,r={};for(n in e)c(e,n)&&(t=z(n))&&(r[t]=e[n]);return r}function q(e,t){Ar[e]=t}function R(e){var t=[];for(var n in e)t.push({unit:n,priority:Ar[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}function $(e,t){return function(r){return null!=r?(U(this,e,r),n.updateOffset(this,t),this):B(this,e)}}function B(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function U(e,t,n){e.isValid()&&e._d["set"+(e._isUTC?"UTC":"")+t](n)}function W(e){return e=z(e),T(this[e])?this[e]():this}function H(e,t){if("object"==typeof e){e=N(e);for(var n=R(e),r=0;r=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}function V(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(Or[e]=i),t&&(Or[t[0]]=function(){return Y(i.apply(this,arguments),t[1],t[2])}),n&&(Or[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function G(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function Z(e){var t,n,r=e.match(Lr);for(t=0,n=r.length;t=0&&Dr.test(e);)e=e.replace(Dr,n),Dr.lastIndex=0,r-=1;return e}function J(e,t,n){Nr[e]=T(t)?t:function(e,r){return e&&n?n:t}}function Q(e,t){return c(Nr,e)?Nr[e](t._strict,t._locale):new RegExp(ee(e))}function ee(e){return te(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,r,i){return t||n||r||i}))}function te(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function ne(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),a(t)&&(r=function(e,n){n[t]=x(e)}),n=0;n=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}function be(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function xe(e,t,n){var r=7+t-n;return-(7+be(e,0,r).getUTCDay()-t)%7+r-1}function we(e,t,n,r,i){var o,a,s=(7+n-r)%7,l=xe(e,r,i),c=1+7*(t-1)+s+l;return c<=0?(o=e-1,a=ge(o)+c):c>ge(e)?(o=e+1,a=c-ge(e)):(o=e,a=c),{year:o,dayOfYear:a}}function ke(e,t,n){var r,i,o=xe(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return a<1?(i=e.year()-1,r=a+Se(i,t,n)):a>Se(e.year(),t,n)?(r=a-Se(e.year(),t,n),i=e.year()+1):(i=e.year(),r=a),{week:r,year:i}}function Se(e,t,n){var r=xe(e,t,n),i=xe(e+1,t,n);return(ge(e)-r+i)/7}function Ce(e){return ke(e,this._week.dow,this._week.doy).week}function Te(){return this._week.dow}function Ee(){return this._week.doy}function Me(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Ae(e){var t=ke(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function Le(e,t){return"string"!=typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"==typeof e?e:null):parseInt(e,10)}function De(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function je(e,t){return e?r(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:this._weekdays}function Oe(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Fe(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Pe(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=d([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?(i=Zr.call(this._weekdaysParse,a),-1!==i?i:null):"ddd"===t?(i=Zr.call(this._shortWeekdaysParse,a),-1!==i?i:null):(i=Zr.call(this._minWeekdaysParse,a),-1!==i?i:null):"dddd"===t?-1!==(i=Zr.call(this._weekdaysParse,a))?i:-1!==(i=Zr.call(this._shortWeekdaysParse,a))?i:(i=Zr.call(this._minWeekdaysParse,a),-1!==i?i:null):"ddd"===t?-1!==(i=Zr.call(this._shortWeekdaysParse,a))?i:-1!==(i=Zr.call(this._weekdaysParse,a))?i:(i=Zr.call(this._minWeekdaysParse,a),-1!==i?i:null):-1!==(i=Zr.call(this._minWeekdaysParse,a))?i:-1!==(i=Zr.call(this._weekdaysParse,a))?i:(i=Zr.call(this._shortWeekdaysParse,a),-1!==i?i:null)}function Ie(e,t,n){var r,i,o;if(this._weekdaysParseExact)return Pe.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=d([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 ze(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Le(e,this.localeData()),this.add(e-t,"d")):t}function Ne(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 qe(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=De(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Re(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Ue.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(c(this,"_weekdaysRegex")||(this._weekdaysRegex=ai),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function $e(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Ue.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(c(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=si),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Be(e){return this._weekdaysParseExact?(c(this,"_weekdaysRegex")||Ue.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(c(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=li),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Ue(){function e(e,t){return t.length-e.length}var t,n,r,i,o,a=[],s=[],l=[],c=[];for(t=0;t<7;t++)n=d([2e3,1]).day(t),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),o=this.weekdays(n,""),a.push(r),s.push(i),l.push(o),c.push(r),c.push(i),c.push(o);for(a.sort(e),s.sort(e),l.sort(e),c.sort(e),t=0;t<7;t++)s[t]=te(s[t]),l[t]=te(l[t]),c[t]=te(c[t]);this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function We(){return this.hours()%12||12}function He(){return this.hours()||24}function Ye(e,t){V(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function Ve(e,t){return t._meridiemParse}function Ge(e){return"p"===(e+"").toLowerCase().charAt(0)}function Ze(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}function Ke(e){return e?e.toLowerCase().replace("_","-"):e}function Xe(e){for(var t,n,r,i,o=0;o0;){if(r=Je(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&w(i,n,!0)>=t-1)break;t--}o++}return null}function Je(n){var r=null;if(!fi[n]&&void 0!==t&&t&&t.exports)try{r=ci._abbr,e("./locale/"+n),Qe(r)}catch(e){}return fi[n]}function Qe(e,t){var n;return e&&(n=g(t)?nt(e):et(e,t))&&(ci=n),ci._abbr}function et(e,t){if(null!==t){var n=di;if(t.abbr=e,null!=fi[e])C("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=fi[e]._config;else if(null!=t.parentLocale){if(null==fi[t.parentLocale])return pi[t.parentLocale]||(pi[t.parentLocale]=[]),pi[t.parentLocale].push({name:e,config:t}),null;n=fi[t.parentLocale]._config}return fi[e]=new A(M(n,t)),pi[e]&&pi[e].forEach(function(e){et(e.name,e.config)}),Qe(e),fi[e]}return delete fi[e],null}function tt(e,t){if(null!=t){var n,r=di;null!=fi[e]&&(r=fi[e]._config),t=M(r,t),n=new A(t),n.parentLocale=fi[e],fi[e]=n,Qe(e)}else null!=fi[e]&&(null!=fi[e].parentLocale?fi[e]=fi[e].parentLocale:null!=fi[e]&&delete fi[e]);return fi[e]}function nt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return ci;if(!r(e)){if(t=Je(e))return t;e=[e]}return Xe(e)}function rt(){return Sr(fi)}function it(e){var t,n=e._a;return n&&-2===p(e).overflow&&(t=n[$r]<0||n[$r]>11?$r:n[Br]<1||n[Br]>oe(n[Rr],n[$r])?Br:n[Ur]<0||n[Ur]>24||24===n[Ur]&&(0!==n[Wr]||0!==n[Hr]||0!==n[Yr])?Ur:n[Wr]<0||n[Wr]>59?Wr:n[Hr]<0||n[Hr]>59?Hr:n[Yr]<0||n[Yr]>999?Yr:-1,p(e)._overflowDayOfYear&&(tBr)&&(t=Br),p(e)._overflowWeeks&&-1===t&&(t=Vr),p(e)._overflowWeekday&&-1===t&&(t=Gr),p(e).overflow=t),e}function ot(e){var t,n,r,i,o,a,s=e._i,l=hi.exec(s)||mi.exec(s);if(l){for(p(e).iso=!0,t=0,n=vi.length;tge(i)&&(p(e)._overflowDayOfYear=!0),n=be(i,0,e._dayOfYear),e._a[$r]=n.getUTCMonth(),e._a[Br]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=o[t]=r[t];for(;t<7;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[Ur]&&0===e._a[Wr]&&0===e._a[Hr]&&0===e._a[Yr]&&(e._nextDay=!0,e._a[Ur]=0),e._d=(e._useUTC?be:ye).apply(null,o),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[Ur]=24)}}function ut(e){var t,n,r,i,o,a,s,l;if(t=e._w,null!=t.GG||null!=t.W||null!=t.E)o=1,a=4,n=st(t.GG,e._a[Rr],ke(yt(),1,4).year),r=st(t.W,1),((i=st(t.E,1))<1||i>7)&&(l=!0);else{o=e._locale._week.dow,a=e._locale._week.doy;var c=ke(yt(),o,a);n=st(t.gg,e._a[Rr],c.year),r=st(t.w,c.week),null!=t.d?((i=t.d)<0||i>6)&&(l=!0):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(l=!0)):i=o}r<1||r>Se(n,o,a)?p(e)._overflowWeeks=!0:null!=l?p(e)._overflowWeekday=!0:(s=we(n,r,i,o,a),e._a[Rr]=s.year,e._dayOfYear=s.dayOfYear)}function dt(e){if(e._f===n.ISO_8601)return void ot(e);e._a=[],p(e).empty=!0;var t,r,i,o,a,s=""+e._i,l=s.length,c=0;for(i=X(e._f,e._locale).match(Lr)||[],t=0;t0&&p(e).unusedInput.push(a),s=s.slice(s.indexOf(r)+r.length),c+=r.length),Or[o]?(r?p(e).empty=!1:p(e).unusedTokens.push(o),ie(o,r,e)):e._strict&&!r&&p(e).unusedTokens.push(o);p(e).charsLeftOver=l-c,s.length>0&&p(e).unusedInput.push(s),e._a[Ur]<=12&&!0===p(e).bigHour&&e._a[Ur]>0&&(p(e).bigHour=void 0),p(e).parsedDateParts=e._a.slice(0),p(e).meridiem=e._meridiem,e._a[Ur]=ft(e._locale,e._a[Ur],e._meridiem),ct(e),it(e)}function ft(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(r=e.isPM(n),r&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function pt(e){var t,n,r,i,o;if(0===e._f.length)return p(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;ithis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function zt(){if(!g(this._isDSTShifted))return this._isDSTShifted;var e={};if(v(e,this),e=gt(e),e._a){var t=e._isUTC?d(e._a):yt(e._a);this._isDSTShifted=this.isValid()&&w(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function Nt(){return!!this.isValid()&&!this._isUTC}function qt(){return!!this.isValid()&&this._isUTC}function Rt(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function $t(e,t){var n,r,i,o=e,s=null;return St(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:a(e)?(o={},t?o[t]=e:o.milliseconds=e):(s=Si.exec(e))?(n="-"===s[1]?-1:1,o={y:0,d:x(s[Br])*n,h:x(s[Ur])*n,m:x(s[Wr])*n,s:x(s[Hr])*n,ms:x(Ct(1e3*s[Yr]))*n}):(s=Ci.exec(e))?(n="-"===s[1]?-1:1,o={y:Bt(s[2],n),M:Bt(s[3],n),w:Bt(s[4],n),d:Bt(s[5],n),h:Bt(s[6],n),m:Bt(s[7],n),s:Bt(s[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(i=Wt(yt(o.from),yt(o.to)),o={},o.ms=i.milliseconds,o.M=i.months),r=new kt(o),St(e)&&c(e,"_locale")&&(r._locale=e._locale),r}function Bt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Ut(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 Wt(e,t){var n;return e.isValid()&&t.isValid()?(t=Mt(t,e),e.isBefore(t)?n=Ut(e,t):(n=Ut(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function Ht(e,t){return function(n,r){var i,o;return null===r||isNaN(+r)||(C(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),n="string"==typeof n?+n:n,i=$t(n,r),Yt(this,i,e),this}}function Yt(e,t,r,i){var o=t._milliseconds,a=Ct(t._days),s=Ct(t._months);e.isValid()&&(i=null==i||i,o&&e._d.setTime(e._d.valueOf()+o*r),a&&U(e,"Date",B(e,"Date")+a*r),s&&ue(e,B(e,"Month")+s*r),i&&n.updateOffset(e,a||s))}function Vt(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Gt(e,t){var r=e||yt(),i=Mt(r,this).startOf("day"),o=n.calendarFormat(this,i)||"sameElse",a=t&&(T(t[o])?t[o].call(this,r):t[o]);return this.format(a||this.localeData().calendar(o,this,yt(r)))}function Zt(){return new _(this)}function Kt(e,t){var n=y(e)?e:yt(e);return!(!this.isValid()||!n.isValid())&&(t=z(g(t)?"millisecond":t),"millisecond"===t?this.valueOf()>n.valueOf():n.valueOf()o&&(t=o),On.call(this,e,t,n,r,i))}function On(e,t,n,r,i){var o=we(e,t,n,r,i),a=be(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function Fn(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function Pn(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 In(e,t){t[Yr]=x(1e3*("0."+e))}function zn(){return this._isUTC?"UTC":""}function Nn(){return this._isUTC?"Coordinated Universal Time":""}function qn(e){return yt(1e3*e)}function Rn(){return yt.apply(null,arguments).parseZone()}function $n(e){return e}function Bn(e,t,n,r){var i=nt(),o=d().set(r,t);return i[n](o,e)}function Un(e,t,n){if(a(e)&&(t=e,e=void 0),e=e||"",null!=t)return Bn(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=Bn(e,r,n,"month");return i}function Wn(e,t,n,r){"boolean"==typeof e?(a(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,a(t)&&(n=t,t=void 0),t=t||"");var i=nt(),o=e?i._week.dow:0;if(null!=n)return Bn(t,(n+o)%7,r,"day");var s,l=[];for(s=0;s<7;s++)l[s]=Bn(t,(s+o)%7,r,"day");return l}function Hn(e,t){return Un(e,t,"months")}function Yn(e,t){return Un(e,t,"monthsShort")}function Vn(e,t,n){return Wn(e,t,n,"weekdays")}function Gn(e,t,n){return Wn(e,t,n,"weekdaysShort")}function Zn(e,t,n){return Wn(e,t,n,"weekdaysMin")}function Kn(){var e=this._data;return this._milliseconds=Ii(this._milliseconds),this._days=Ii(this._days),this._months=Ii(this._months),e.milliseconds=Ii(e.milliseconds),e.seconds=Ii(e.seconds),e.minutes=Ii(e.minutes),e.hours=Ii(e.hours),e.months=Ii(e.months),e.years=Ii(e.years),this}function Xn(e,t,n,r){var i=$t(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function Jn(e,t){return Xn(this,e,t,1)}function Qn(e,t){return Xn(this,e,t,-1)}function er(e){return e<0?Math.floor(e):Math.ceil(e)}function tr(){var e,t,n,r,i,o=this._milliseconds,a=this._days,s=this._months,l=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*er(rr(s)+a),a=0,s=0),l.milliseconds=o%1e3,e=b(o/1e3),l.seconds=e%60,t=b(e/60),l.minutes=t%60,n=b(t/60),l.hours=n%24,a+=b(n/24),i=b(nr(a)),s+=i,a-=er(rr(i)),r=b(s/12),s%=12,l.days=a,l.months=s,l.years=r,this}function nr(e){return 4800*e/146097}function rr(e){return 146097*e/4800}function ir(e){var t,n,r=this._milliseconds;if("month"===(e=z(e))||"year"===e)return t=this._days+r/864e5,n=this._months+nr(t),"month"===e?n:n/12;switch(t=this._days+Math.round(rr(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 or(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*x(this._months/12)}function ar(e){return function(){return this.as(e)}}function sr(e){return e=z(e),this[e+"s"]()}function lr(e){return function(){return this._data[e]}}function cr(){return b(this.days()/7)}function ur(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function dr(e,t,n){var r=$t(e).abs(),i=Ji(r.as("s")),o=Ji(r.as("m")),a=Ji(r.as("h")),s=Ji(r.as("d")),l=Ji(r.as("M")),c=Ji(r.as("y")),u=i0,u[4]=n,ur.apply(null,u)}function fr(e){return void 0===e?Ji:"function"==typeof e&&(Ji=e,!0)}function pr(e,t){return void 0!==Qi[e]&&(void 0===t?Qi[e]:(Qi[e]=t,!0))}function hr(e){var t=this.localeData(),n=dr(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function mr(){var e,t,n,r=eo(this._milliseconds)/1e3,i=eo(this._days),o=eo(this._months);e=b(r/60),t=b(e/60),r%=60,e%=60,n=b(o/12),o%=12;var a=n,s=o,l=i,c=t,u=e,d=r,f=this.asSeconds();return f?(f<0?"-":"")+"P"+(a?a+"Y":"")+(s?s+"M":"")+(l?l+"D":"")+(c||u||d?"T":"")+(c?c+"H":"")+(u?u+"M":"")+(d?d+"S":""):"P0D"}var gr,vr;vr=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;r68?1900:2e3)};var ti=$("FullYear",!0);V("w",["ww",2],"wo","week"),V("W",["WW",2],"Wo","isoWeek"),I("week","w"),I("isoWeek","W"),q("week",5),q("isoWeek",5),J("w",/\d\d?/),J("ww",/\d\d?/,/\d\d/),J("W",/\d\d?/),J("WW",/\d\d?/,/\d\d/),re(["w","ww","W","WW"],function(e,t,n,r){t[r.substr(0,1)]=x(e)});var ni={dow:0,doy:6};V("d",0,"do","day"),V("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),V("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),V("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),V("e",0,0,"weekday"),V("E",0,0,"isoWeekday"),I("day","d"),I("weekday","e"),I("isoWeekday","E"),q("day",11),q("weekday",11),q("isoWeekday",11),J("d",/\d\d?/),J("e",/\d\d?/),J("E",/\d\d?/),J("dd",function(e,t){return t.weekdaysMinRegex(e)}),J("ddd",function(e,t){return t.weekdaysShortRegex(e)}),J("dddd",function(e,t){return t.weekdaysRegex(e)}),re(["dd","ddd","dddd"],function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);null!=i?t.d=i:p(n).invalidWeekday=e}),re(["d","e","E"],function(e,t,n,r){t[r]=x(e)});var ri="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),ii="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),oi="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),ai=zr,si=zr,li=zr;V("H",["HH",2],0,"hour"),V("h",["hh",2],0,We),V("k",["kk",2],0,He),V("hmm",0,0,function(){return""+We.apply(this)+Y(this.minutes(),2)}),V("hmmss",0,0,function(){return""+We.apply(this)+Y(this.minutes(),2)+Y(this.seconds(),2)}),V("Hmm",0,0,function(){return""+this.hours()+Y(this.minutes(),2)}),V("Hmmss",0,0,function(){return""+this.hours()+Y(this.minutes(),2)+Y(this.seconds(),2)}),Ye("a",!0),Ye("A",!1),I("hour","h"),q("hour",13),J("a",Ve),J("A",Ve),J("H",/\d\d?/),J("h",/\d\d?/),J("HH",/\d\d?/,/\d\d/),J("hh",/\d\d?/,/\d\d/),J("hmm",/\d\d\d\d?/),J("hmmss",/\d\d\d\d\d\d?/),J("Hmm",/\d\d\d\d?/),J("Hmmss",/\d\d\d\d\d\d?/),ne(["H","HH"],Ur),ne(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),ne(["h","hh"],function(e,t,n){t[Ur]=x(e),p(n).bigHour=!0}),ne("hmm",function(e,t,n){var r=e.length-2;t[Ur]=x(e.substr(0,r)),t[Wr]=x(e.substr(r)),p(n).bigHour=!0}),ne("hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[Ur]=x(e.substr(0,r)),t[Wr]=x(e.substr(r,2)),t[Hr]=x(e.substr(i)),p(n).bigHour=!0}),ne("Hmm",function(e,t,n){var r=e.length-2;t[Ur]=x(e.substr(0,r)),t[Wr]=x(e.substr(r))}),ne("Hmmss",function(e,t,n){var r=e.length-4,i=e.length-2;t[Ur]=x(e.substr(0,r)),t[Wr]=x(e.substr(r,2)),t[Hr]=x(e.substr(i))});var ci,ui=$("Hours",!0),di={calendar:Cr,longDateFormat:Tr,invalidDate:"Invalid date",ordinal:"%d",ordinalParse:/\d{1,2}/,relativeTime:Er,months:Xr,monthsShort:Jr,week:ni,weekdays:ri,weekdaysMin:oi,weekdaysShort:ii,meridiemParse:/[ap]\.?m?\.?/i},fi={},pi={},hi=/^\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)?)?$/,mi=/^\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)?)?$/,gi=/Z|[+-]\d\d(?::?\d\d)?/,vi=[["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}/]],_i=[["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/]],yi=/^\/?Date\((\-?\d+)/i;n.createFromInputFallback=S("value provided is not in a recognized ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),n.ISO_8601=function(){};var bi=S("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=yt.apply(null,arguments);return this.isValid()&&e.isValid()?ethis?this:e:m()}),wi=function(){return Date.now?Date.now():+new Date};Tt("Z",":"),Tt("ZZ",""),J("Z",Ir),J("ZZ",Ir),ne(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Et(Ir,e)});var ki=/([\+\-]|\d\d)/gi;n.updateOffset=function(){};var Si=/^(\-)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Ci=/^(-)?P(?:(-?[0-9,.]*)Y)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)W)?(?:(-?[0-9,.]*)D)?(?:T(?:(-?[0-9,.]*)H)?(?:(-?[0-9,.]*)M)?(?:(-?[0-9,.]*)S)?)?$/;$t.fn=kt.prototype;var Ti=Ht(1,"add"),Ei=Ht(-1,"subtract");n.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",n.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Mi=S("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)});V(0,["gg",2],0,function(){return this.weekYear()%100}),V(0,["GG",2],0,function(){return this.isoWeekYear()%100}),En("gggg","weekYear"),En("ggggg","weekYear"),En("GGGG","isoWeekYear"),En("GGGGG","isoWeekYear"),I("weekYear","gg"),I("isoWeekYear","GG"),q("weekYear",1),q("isoWeekYear",1),J("G",/[+-]?\d+/),J("g",/[+-]?\d+/),J("GG",/\d\d?/,/\d\d/),J("gg",/\d\d?/,/\d\d/),J("GGGG",/\d{1,4}/,/\d{4}/),J("gggg",/\d{1,4}/,/\d{4}/),J("GGGGG",/[+-]?\d{1,6}/,Fr),J("ggggg",/[+-]?\d{1,6}/,Fr),re(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=x(e)}),re(["gg","GG"],function(e,t,r,i){t[i]=n.parseTwoDigitYear(e)}),V("Q",0,"Qo","quarter"),I("quarter","Q"),q("quarter",7),J("Q",/\d/),ne("Q",function(e,t){t[$r]=3*(x(e)-1)}),V("D",["DD",2],"Do","date"),I("date","D"),q("date",9),J("D",/\d\d?/),J("DD",/\d\d?/,/\d\d/),J("Do",function(e,t){return e?t._ordinalParse:t._ordinalParseLenient}),ne(["D","DD"],Br),ne("Do",function(e,t){t[Br]=x(e.match(/\d\d?/)[0],10)});var Ai=$("Date",!0);V("DDD",["DDDD",3],"DDDo","dayOfYear"),I("dayOfYear","DDD"),q("dayOfYear",4),J("DDD",/\d{1,3}/),J("DDDD",/\d{3}/),ne(["DDD","DDDD"],function(e,t,n){n._dayOfYear=x(e)}),V("m",["mm",2],0,"minute"),I("minute","m"),q("minute",14),J("m",/\d\d?/),J("mm",/\d\d?/,/\d\d/),ne(["m","mm"],Wr);var Li=$("Minutes",!1);V("s",["ss",2],0,"second"),I("second","s"),q("second",15),J("s",/\d\d?/),J("ss",/\d\d?/,/\d\d/),ne(["s","ss"],Hr);var Di=$("Seconds",!1);V("S",0,0,function(){return~~(this.millisecond()/100)}),V(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),V(0,["SSS",3],0,"millisecond"),V(0,["SSSS",4],0,function(){return 10*this.millisecond()}),V(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),V(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),V(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),V(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),V(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),I("millisecond","ms"),q("millisecond",16),J("S",/\d{1,3}/,/\d/),J("SS",/\d{1,3}/,/\d\d/),J("SSS",/\d{1,3}/,/\d{3}/);var ji;for(ji="SSSS";ji.length<=9;ji+="S")J(ji,/\d+/);for(ji="S";ji.length<=9;ji+="S")ne(ji,In);var Oi=$("Milliseconds",!1);V("z",0,0,"zoneAbbr"),V("zz",0,0,"zoneName");var Fi=_.prototype;Fi.add=Ti,Fi.calendar=Gt,Fi.clone=Zt,Fi.diff=nn,Fi.endOf=gn,Fi.format=ln,Fi.from=cn,Fi.fromNow=un,Fi.to=dn,Fi.toNow=fn,Fi.get=W,Fi.invalidAt=Cn,Fi.isAfter=Kt,Fi.isBefore=Xt,Fi.isBetween=Jt,Fi.isSame=Qt,Fi.isSameOrAfter=en,Fi.isSameOrBefore=tn,Fi.isValid=kn,Fi.lang=Mi,Fi.locale=pn,Fi.localeData=hn,Fi.max=xi,Fi.min=bi,Fi.parsingFlags=Sn,Fi.set=H,Fi.startOf=mn,Fi.subtract=Ei,Fi.toArray=bn,Fi.toObject=xn,Fi.toDate=yn,Fi.toISOString=an,Fi.inspect=sn,Fi.toJSON=wn,Fi.toString=on,Fi.unix=_n,Fi.valueOf=vn,Fi.creationData=Tn,Fi.year=ti,Fi.isLeapYear=_e,Fi.weekYear=Mn,Fi.isoWeekYear=An,Fi.quarter=Fi.quarters=Fn,Fi.month=de,Fi.daysInMonth=fe,Fi.week=Fi.weeks=Me,Fi.isoWeek=Fi.isoWeeks=Ae,Fi.weeksInYear=Dn,Fi.isoWeeksInYear=Ln,Fi.date=Ai,Fi.day=Fi.days=ze,Fi.weekday=Ne,Fi.isoWeekday=qe,Fi.dayOfYear=Pn,Fi.hour=Fi.hours=ui,Fi.minute=Fi.minutes=Li,Fi.second=Fi.seconds=Di,Fi.millisecond=Fi.milliseconds=Oi,Fi.utcOffset=Lt,Fi.utc=jt,Fi.local=Ot,Fi.parseZone=Ft,Fi.hasAlignedHourOffset=Pt,Fi.isDST=It,Fi.isLocal=Nt,Fi.isUtcOffset=qt,Fi.isUtc=Rt,Fi.isUTC=Rt,Fi.zoneAbbr=zn,Fi.zoneName=Nn,Fi.dates=S("dates accessor is deprecated. Use date instead.",Ai),Fi.months=S("months accessor is deprecated. Use month instead",de),Fi.years=S("years accessor is deprecated. Use year instead",ti),Fi.zone=S("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Dt),Fi.isDSTShifted=S("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",zt);var Pi=A.prototype;Pi.calendar=L,Pi.longDateFormat=D,Pi.invalidDate=j,Pi.ordinal=O,Pi.preparse=$n,Pi.postformat=$n,Pi.relativeTime=F,Pi.pastFuture=P,Pi.set=E,Pi.months=ae,Pi.monthsShort=se,Pi.monthsParse=ce,Pi.monthsRegex=he,Pi.monthsShortRegex=pe,Pi.week=Ce,Pi.firstDayOfYear=Ee,Pi.firstDayOfWeek=Te,Pi.weekdays=je,Pi.weekdaysMin=Fe,Pi.weekdaysShort=Oe,Pi.weekdaysParse=Ie,Pi.weekdaysRegex=Re,Pi.weekdaysShortRegex=$e,Pi.weekdaysMinRegex=Be,Pi.isPM=Ge,Pi.meridiem=Ze,Qe("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===x(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),n.lang=S("moment.lang is deprecated. Use moment.locale instead.",Qe),n.langData=S("moment.langData is deprecated. Use moment.localeData instead.",nt);var Ii=Math.abs,zi=ar("ms"),Ni=ar("s"),qi=ar("m"),Ri=ar("h"),$i=ar("d"),Bi=ar("w"),Ui=ar("M"),Wi=ar("y"),Hi=lr("milliseconds"),Yi=lr("seconds"),Vi=lr("minutes"),Gi=lr("hours"),Zi=lr("days"),Ki=lr("months"),Xi=lr("years"),Ji=Math.round,Qi={s:45,m:45,h:22,d:26,M:11},eo=Math.abs,to=kt.prototype;return to.abs=Kn,to.add=Jn,to.subtract=Qn,to.as=ir,to.asMilliseconds=zi,to.asSeconds=Ni,to.asMinutes=qi,to.asHours=Ri,to.asDays=$i,to.asWeeks=Bi,to.asMonths=Ui,to.asYears=Wi,to.valueOf=or,to._bubble=tr,to.get=sr,to.milliseconds=Hi,to.seconds=Yi,to.minutes=Vi,to.hours=Gi,to.days=Zi,to.weeks=cr,to.months=Ki,to.years=Xi,to.humanize=hr,to.toISOString=mr,to.toString=mr,to.toJSON=mr,to.locale=pn,to.localeData=hn,to.toIsoString=S("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",mr),to.lang=Mi,V("X",0,0,"unix"),V("x",0,0,"valueOf"),J("x",/[+-]?\d+/),J("X",/[+-]?\d+(\.\d{1,3})?/),ne("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),ne("x",function(e,t,n){n._d=new Date(x(e))}),n.version="2.17.1",function(e){gr=e}(yt),n.fn=Fi,n.min=xt,n.max=wt,n.now=wi,n.utc=d,n.unix=qn,n.months=Hn,n.isDate=s,n.locale=Qe,n.invalid=m,n.duration=$t,n.isMoment=y,n.weekdays=Vn,n.parseZone=Rn,n.localeData=nt,n.isDuration=St,n.monthsShort=Yn,n.weekdaysMin=Zn,n.defineLocale=et,n.updateLocale=tt,n.locales=rt,n.weekdaysShort=Gn,n.normalizeUnits=z,n.relativeTimeRounding=fr,n.relativeTimeThreshold=pr,n.calendarFormat=Vt,n.prototype=Fi,n})},{}],413:[function(e,t,n){function r(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function o(e){if(d===setTimeout)return setTimeout(e,0);if((d===r||!d)&&setTimeout)return d=setTimeout,setTimeout(e,0);try{return d(e,0)}catch(t){try{return d.call(null,e,0)}catch(t){return d.call(this,e,0)}}}function a(e){if(f===clearTimeout)return clearTimeout(e);if((f===i||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(e);try{return f(e)}catch(t){try{return f.call(null,e)}catch(t){return f.call(this,e)}}}function s(){g&&h&&(g=!1,h.length?m=h.concat(m):v=-1,m.length&&l())}function l(){if(!g){var e=o(s);g=!0;for(var t=m.length;t;){for(h=m,m=[];++v1)for(var n=1;n1&&(r=n[0]+"@",e=n[1]),e=e.replace(j,"."),r+o(e.split("."),t).join(".")}function s(e){for(var t,n,r=[],i=0,o=e.length;i=55296&&t<=56319&&i65535&&(e-=65536,t+=I(e>>>10&1023|55296),e=56320|1023&e),t+=I(e)}).join("")}function c(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:w}function u(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function d(e,t,n){var r=0;for(e=n?P(e/T):e>>1,e+=P(e/t);e>F*S>>1;r+=w)e=P(e/F);return P(r+(F+1)*e/(e+C))}function f(e){var t,n,r,o,a,s,u,f,p,h,m=[],g=e.length,v=0,_=M,y=E;for(n=e.lastIndexOf(A),n<0&&(n=0),r=0;r=128&&i("not-basic"),m.push(e.charCodeAt(r));for(o=n>0?n+1:0;o=g&&i("invalid-input"),f=c(e.charCodeAt(o++)),(f>=w||f>P((x-v)/s))&&i("overflow"),v+=f*s,p=u<=y?k:u>=y+S?S:u-y,!(fP(x/h)&&i("overflow"),s*=h;t=m.length+1,y=d(v-a,t,0==a),P(v/t)>x-_&&i("overflow"),_+=P(v/t),v%=t,m.splice(v++,0,_)}return l(m)}function p(e){var t,n,r,o,a,l,c,f,p,h,m,g,v,_,y,b=[];for(e=s(e),g=e.length,t=M,n=0,a=E,l=0;l=t&&mP((x-n)/v)&&i("overflow"),n+=(c-t)*v,t=c,l=0;lx&&i("overflow"),m==t){for(f=n,p=w;h=p<=a?k:p>=a+S?S:p-a,!(f= 0x80 (not a basic code point)","invalid-input":"Invalid input"},F=w-k,P=Math.floor,I=String.fromCharCode;if(y={version:"1.4.1",ucs2:{decode:s,encode:l},decode:f,encode:p,toASCII:m,toUnicode:h},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",function(){return y});else if(g&&v)if(t.exports==g)v.exports=y;else for(b in y)y.hasOwnProperty(b)&&(g[b]=y[b]);else r.punycode=y}(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],415:[function(e,t,n){(function(e,n){!function(n){"use strict";function r(e,t,n,r){var i=t&&t.prototype instanceof o?t:o,a=Object.create(i.prototype),s=new p(r||[]);return a._invoke=u(e,n,s),a}function i(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function o(){}function a(){}function s(){}function l(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function c(t){function n(e,r,o,a){var s=i(t[e],t,r);if("throw"!==s.type){var l=s.arg,c=l.value;return c&&"object"==typeof c&&_.call(c,"__await")?Promise.resolve(c.__await).then(function(e){n("next",e,o,a)},function(e){n("throw",e,o,a)}):Promise.resolve(c).then(function(e){l.value=e,o(l)},a)}a(s.arg)}function r(e,t){function r(){return new Promise(function(r,i){n(e,t,r,i)})}return o=o?o.then(r,r):r()}"object"==typeof e&&e.domain&&(n=e.domain.bind(n));var o;this._invoke=r}function u(e,t,n){var r=S;return function(o,a){if(r===T)throw new Error("Generator is already running");if(r===E){if("throw"===o)throw a;return m()}for(;;){var s=n.delegate;if(s){if("return"===o||"throw"===o&&s.iterator[o]===g){n.delegate=null;var l=s.iterator.return;if(l){var c=i(l,s.iterator,a);if("throw"===c.type){o="throw",a=c.arg;continue}}if("return"===o)continue}var c=i(s.iterator[o],s.iterator,a);if("throw"===c.type){n.delegate=null,o="throw",a=c.arg;continue}o="next",a=g;var u=c.arg;if(!u.done)return r=C,u;n[s.resultName]=u.value,n.next=s.nextLoc,n.delegate=null}if("next"===o)n.sent=n._sent=a;else if("throw"===o){if(r===S)throw r=E,a;n.dispatchException(a)&&(o="next",a=g)}else"return"===o&&n.abrupt("return",a);r=T;var c=i(e,t,n);if("normal"===c.type){r=n.done?E:C;var u={value:c.arg,done:n.done};if(c.arg!==M)return u;n.delegate&&"next"===o&&(a=g)}else"throw"===c.type&&(r=E,o="throw",a=c.arg)}}}function d(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function f(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function p(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(d,this),this.reset(!0)}function h(e){if(e){var t=e[b];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n=0;--r){var i=this.tryEntries[r],o=i.completion;if("root"===i.tryLoc)return t("end");if(i.tryLoc<=this.prev){var a=_.call(i,"catchLoc"),s=_.call(i,"finallyLoc");if(a&&s){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&_.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),f(n),M}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;f(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:h(e),resultName:t,nextLoc:n},M}}}("object"==typeof n?n:"object"==typeof window?window:"object"==typeof self?self:this)}).call(this,e("_process"),"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{_process:413}],416:[function(e,t,n){function r(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName){var n=e.hasAttribute("readonly");n||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),n||e.removeAttribute("readonly"),t=e.value}else{e.hasAttribute("contenteditable")&&e.focus();var r=window.getSelection(),i=document.createRange();i.selectNodeContents(e),r.removeAllRanges(),r.addRange(i),t=r.toString()}return t}t.exports=r},{}],417:[function(e,t,n){!function(e){"use strict";"function"==typeof define&&define.amd?define(e):void 0!==t&&void 0!==t.exports?t.exports=e():window.Sortable=e()}(function(){"use strict";function e(e,t){if(!e||!e.nodeType||1!==e.nodeType)throw"Sortable: `el` must be HTMLElement, and not "+{}.toString.call(e);this.el=e,this.options=t=y({},t),e[H]=this;var n={group:Math.random(),sort:!0,disabled:!1,store:null,handle:null,scroll:!0,scrollSensitivity:30,scrollSpeed:10,draggable:/[uo]l/i.test(e.nodeName)?"li":">*",ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,setData:function(e,t){e.setData("Text",t.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0}};for(var r in n)!(r in t)&&(t[r]=n[r]);ae(t);for(var i in this)"_"===i.charAt(0)&&"function"==typeof this[i]&&(this[i]=this[i].bind(this));this.nativeDraggable=!t.forceFallback&&J,o(e,"mousedown",this._onTapStart),o(e,"touchstart",this._onTapStart),o(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(o(e,"dragover",this),o(e,"dragenter",this)),ie.push(this._onDragOver),t.store&&this.sort(t.store.get(this))}function t(e,t){"clone"!==e.lastPullMode&&(t=!0),C&&C.state!==t&&(l(C,"display",t?"none":""),t||C.state&&(e.options.group.revertClone?(T.insertBefore(C,E),e._animate(w,C)):T.insertBefore(C,w)),C.state=t)}function n(e,t,n){if(e){n=n||V;do{if(">*"===t&&e.parentNode===n||v(e,t))return e}while(e=r(e))}return null}function r(e){var t=e.host;return t&&t.nodeType?t:e.parentNode}function i(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.preventDefault()}function o(e,t,n){e.addEventListener(t,n,X)}function a(e,t,n){e.removeEventListener(t,n,X)}function s(e,t,n){if(e)if(e.classList)e.classList[n?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(U," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(U," ")}}function l(e,t,n){var r=e&&e.style;if(r){if(void 0===n)return V.defaultView&&V.defaultView.getComputedStyle?n=V.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),void 0===t?n:n[t];t in r||(t="-webkit-"+t),r[t]=n+("string"==typeof n?"":"px")}}function c(e,t,n){if(e){var r=e.getElementsByTagName(t),i=0,o=r.length;if(n)for(;i5||t.clientX-(r.left+r.width)>5}function m(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,r=0;n--;)r+=t.charCodeAt(n);return r.toString(36)}function g(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e&&(e=e.previousElementSibling);)"TEMPLATE"===e.nodeName.toUpperCase()||">*"!==t&&!v(e,t)||n++;return n}function v(e,t){if(e){t=t.split(".");var n=t.shift().toUpperCase(),r=new RegExp("\\s("+t.join("|")+")(?=\\s)","g");return!(""!==n&&e.nodeName.toUpperCase()!=n||t.length&&((" "+e.className+" ").match(r)||[]).length!=t.length)}return!1}function _(e,t){var n,r;return function(){void 0===n&&(n=arguments,r=this,setTimeout(function(){1===n.length?e.call(r,n[0]):e.apply(r,n),n=void 0},t))}}function y(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function b(e){return Z?Z(e).clone(!0)[0]:K&&K.dom?K.dom(e).cloneNode(!0):e.cloneNode(!0)}function x(e){for(var t=e.getElementsByTagName("input"),n=t.length;n--;){var r=t[n];r.checked&&re.push(r)}}if("undefined"==typeof window||!window.document)return function(){throw new Error("Sortable.js requires a window with a document")};var w,k,S,C,T,E,M,A,L,D,j,O,F,P,I,z,N,q,R,$,B={},U=/\s+/g,W=/left|right|inline/,H="Sortable"+(new Date).getTime(),Y=window,V=Y.document,G=Y.parseInt,Z=Y.jQuery||Y.Zepto,K=Y.Polymer,X=!1,J=!!("draggable"in V.createElement("div")),Q=function(e){return!navigator.userAgent.match(/Trident.*rv[ :]?11\./)&&(e=V.createElement("x"),e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents)}(),ee=!1,te=Math.abs,ne=Math.min,re=[],ie=[],oe=_(function(e,t,n){if(n&&t.scroll){var r,i,o,a,s,l,c=n[H],u=t.scrollSensitivity,d=t.scrollSpeed,f=e.clientX,p=e.clientY,h=window.innerWidth,m=window.innerHeight;if(L!==n&&(A=t.scroll,L=n,D=t.scrollFn,!0===A)){A=n;do{if(A.offsetWidth-1:i==e)}}var n={},r=e.group;r&&"object"==typeof r||(r={name:r}),n.name=r.name,n.checkPull=t(r.pull,!0),n.checkPut=t(r.put),n.revertClone=r.revertClone,e.group=n};e.prototype={constructor:e,_onTapStart:function(e){var t,r=this,i=this.el,o=this.options,a=o.preventOnFilter,s=e.type,l=e.touches&&e.touches[0],c=(l||e).target,d=e.target.shadowRoot&&e.path[0]||c,f=o.filter;if(x(i),!w&&!("mousedown"===s&&0!==e.button||o.disabled)&&(c=n(c,o.draggable,i))&&M!==c){if(t=g(c,o.draggable),"function"==typeof f){if(f.call(this,e,c,this))return u(r,d,"filter",c,i,t),void(a&&e.preventDefault())}else if(f&&(f=f.split(",").some(function(e){if(e=n(d,e.trim(),i))return u(r,e,"filter",c,i,t),!0})))return void(a&&e.preventDefault());o.handle&&!n(d,o.handle,i)||this._prepareDragStart(e,l,c,t)}},_prepareDragStart:function(e,t,n,r){var i,a=this,l=a.el,d=a.options,p=l.ownerDocument;n&&!w&&n.parentNode===l&&(q=e,T=l,w=n,k=w.parentNode,E=w.nextSibling,M=n,z=d.group,P=r,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,w.style["will-change"]="transform",i=function(){a._disableDelayedDrag(),w.draggable=a.nativeDraggable,s(w,d.chosenClass,!0),a._triggerDragStart(e,t),u(a,T,"choose",w,T,P)},d.ignore.split(",").forEach(function(e){c(w,e.trim(),f)}),o(p,"mouseup",a._onDrop),o(p,"touchend",a._onDrop),o(p,"touchcancel",a._onDrop),o(p,"pointercancel",a._onDrop),o(p,"selectstart",a),d.delay?(o(p,"mouseup",a._disableDelayedDrag),o(p,"touchend",a._disableDelayedDrag),o(p,"touchcancel",a._disableDelayedDrag),o(p,"mousemove",a._disableDelayedDrag),o(p,"touchmove",a._disableDelayedDrag),o(p,"pointermove",a._disableDelayedDrag),a._dragStartTimer=setTimeout(i,d.delay)):i())},_disableDelayedDrag:function(){var e=this.el.ownerDocument;clearTimeout(this._dragStartTimer),a(e,"mouseup",this._disableDelayedDrag),a(e,"touchend",this._disableDelayedDrag),a(e,"touchcancel",this._disableDelayedDrag),a(e,"mousemove",this._disableDelayedDrag),a(e,"touchmove",this._disableDelayedDrag),a(e,"pointermove",this._disableDelayedDrag)},_triggerDragStart:function(e,t){t=t||("touch"==e.pointerType?e:null),t?(q={target:w,clientX:t.clientX,clientY:t.clientY},this._onDragStart(q,"touch")):this.nativeDraggable?(o(w,"dragend",this),o(T,"dragstart",this._onDragStart)):this._onDragStart(q,!0);try{V.selection?setTimeout(function(){V.selection.empty()}):window.getSelection().removeAllRanges()}catch(e){}},_dragStarted:function(){if(T&&w){var t=this.options;s(w,t.ghostClass,!0),s(w,t.dragClass,!1),e.active=this,u(this,T,"start",w,T,P)}else this._nulling()},_emulateDragOver:function(){if(R){if(this._lastX===R.clientX&&this._lastY===R.clientY)return;this._lastX=R.clientX,this._lastY=R.clientY,Q||l(S,"display","none");var e=V.elementFromPoint(R.clientX,R.clientY),t=e,n=ie.length;if(t)do{if(t[H]){for(;n--;)ie[n]({clientX:R.clientX,clientY:R.clientY,target:e,rootEl:t});break}e=t}while(t=t.parentNode);Q||l(S,"display","")}},_onTouchMove:function(t){if(q){var n=this.options,r=n.fallbackTolerance,i=n.fallbackOffset,o=t.touches?t.touches[0]:t,a=o.clientX-q.clientX+i.x,s=o.clientY-q.clientY+i.y,c=t.touches?"translate3d("+a+"px,"+s+"px,0)":"translate("+a+"px,"+s+"px)";if(!e.active){if(r&&ne(te(o.clientX-this._lastX),te(o.clientY-this._lastY))w.offsetWidth,A=i.offsetHeight>w.offsetHeight,L=(x?(r.clientX-a.left)/y:(r.clientY-a.top)/b)>.5,D=i.nextElementSibling,P=!1;if(x){var I=w.offsetTop,q=i.offsetTop;P=I===q?i.previousElementSibling===w&&!M||L&&M:i.previousElementSibling===w||w.previousElementSibling===i?(r.clientY-a.top)/b>.5:q>I}else v||(P=D!==w&&!A||L&&A);var R=d(T,c,w,o,i,a,r,P);!1!==R&&(1!==R&&-1!==R||(P=1===R),ee=!0,setTimeout(p,30),t(m,g),w.contains(c)||(P&&!D?c.appendChild(w):i.parentNode.insertBefore(w,P?D:i)),k=w.parentNode,this._animate(o,w),this._animate(a,i))}}},_animate:function(e,t){var n=this.options.animation;if(n){var r=t.getBoundingClientRect();1===e.nodeType&&(e=e.getBoundingClientRect()),l(t,"transition","none"),l(t,"transform","translate3d("+(e.left-r.left)+"px,"+(e.top-r.top)+"px,0)"),t.offsetWidth,l(t,"transition","all "+n+"ms"),l(t,"transform","translate3d(0,0,0)"),clearTimeout(t.animated),t.animated=setTimeout(function(){l(t,"transition",""),l(t,"transform",""),t.animated=!1},n)}},_offUpEvents:function(){var e=this.el.ownerDocument;a(V,"touchmove",this._onTouchMove),a(V,"pointermove",this._onTouchMove),a(e,"mouseup",this._onDrop),a(e,"touchend",this._onDrop),a(e,"pointerup",this._onDrop),a(e,"touchcancel",this._onDrop),a(e,"pointercancel",this._onDrop),a(e,"selectstart",this)},_onDrop:function(t){var n=this.el,r=this.options;clearInterval(this._loopId),clearInterval(B.pid),clearTimeout(this._dragStartTimer),a(V,"mousemove",this._onTouchMove),this.nativeDraggable&&(a(V,"drop",this),a(n,"dragstart",this._onDragStart)),this._offUpEvents(),t&&($&&(t.preventDefault(),!r.dropBubble&&t.stopPropagation()),S&&S.parentNode&&S.parentNode.removeChild(S),T!==k&&"clone"===e.active.lastPullMode||C&&C.parentNode&&C.parentNode.removeChild(C),w&&(this.nativeDraggable&&a(w,"dragend",this),f(w),w.style["will-change"]="",s(w,this.options.ghostClass,!1),s(w,this.options.chosenClass,!1),u(this,T,"unchoose",w,T,P),T!==k?(I=g(w,r.draggable))>=0&&(u(null,k,"add",w,T,P,I),u(this,T,"remove",w,T,P,I),u(null,k,"sort",w,T,P,I),u(this,T,"sort",w,T,P,I)):w.nextSibling!==E&&(I=g(w,r.draggable))>=0&&(u(this,T,"update",w,T,P,I),u(this,T,"sort",w,T,P,I)),e.active&&(null!=I&&-1!==I||(I=P),u(this,T,"end",w,T,P,I),this.save()))),this._nulling()},_nulling:function(){T=w=k=S=E=C=M=A=L=q=R=$=I=j=O=N=z=e.active=null,re.forEach(function(e){e.checked=!0}),re.length=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragover":case"dragenter":w&&(this._onDragOver(e),i(e));break;case"selectstart":e.preventDefault()}},toArray:function(){for(var e,t=[],r=this.el.children,i=0,o=r.length,a=this.options;i-1)return e.splice(n,1)}}function a(e,t){return ki.call(e,t)}function s(e){return"string"==typeof e||"number"==typeof e}function l(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}function c(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n}function u(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function d(e,t){for(var n in t)e[n]=t[n];return e}function f(e){return null!==e&&"object"==typeof e}function p(e){return Ei.call(e)===Mi}function h(e){for(var t={},n=0;n=0&&uo[n].id>e.id;)n--;uo.splice(Math.max(n,mo)+1,0,e)}else uo.push(e);po||(po=!0,Yi(me))}}function ve(e){_o.clear(),_e(e,_o)}function _e(e,t){var n,r,i=Array.isArray(e);if((i||f(e))&&Object.isExtensible(e)){if(e.__ob__){var o=e.__ob__.dep.id;if(t.has(o))return;t.add(o)}if(i)for(n=e.length;n--;)_e(e[n],t);else for(r=Object.keys(e),n=r.length;n--;)_e(e[r[n]],t)}}function ye(e,t,n){yo.get=function(){return this[t][n]},yo.set=function(e){this[t][n]=e},Object.defineProperty(e,n,yo)}function be(e){e._watchers=[];var t=e.$options;t.props&&xe(e,t.props),t.methods&&Ee(e,t.methods),t.data?we(e):E(e._data={},!0),t.computed&&Se(e,t.computed),t.watch&&Me(e,t.watch)}function xe(e,t){var n=e.$options.propsData||{},r=e._props={},i=e.$options._propKeys=[],o=!e.$parent;eo.shouldConvert=o;for(var a in t)!function(o){i.push(o);var a=q(o,t,n,e);M(r,o,a),o in e||ye(e,"_props",o)}(a);eo.shouldConvert=!0}function we(e){var t=e.$options.data;t=e._data="function"==typeof t?ke(t,e):t||{},p(t)||(t={});for(var n=Object.keys(t),r=e.$options.props,i=n.length;i--;)r&&a(r,n[i])||y(n[i])||ye(e,"_data",n[i]);E(t,!0)}function ke(e,t){try{return e.call(t)}catch(e){return U(e,t,"data()"),{}}}function Se(e,t){var n=e._computedWatchers=Object.create(null);for(var r in t){var i=t[r],o="function"==typeof i?i:i.get;n[r]=new vo(e,o,m,bo),r in e||Ce(e,r,i)}}function Ce(e,t,n){"function"==typeof n?(yo.get=Te(t),yo.set=m):(yo.get=n.get?!1!==n.cache?Te(t):n.get:m,yo.set=n.set?n.set:m),Object.defineProperty(e,t,yo)}function Te(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),Zi.target&&t.depend(),t.value}}function Ee(e,t){e.$options.props;for(var n in t)e[n]=null==t[n]?m:c(t[n],e)}function Me(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var i=0;i-1:e instanceof RegExp&&e.test(t)}function pt(e,t){for(var n in e){var r=e[n];if(r){var i=dt(r.componentOptions);i&&!t(i)&&(ht(r),e[n]=null)}}}function ht(e){e&&(e.componentInstance._inactive||pe(e.componentInstance,"deactivated"),e.componentInstance.$destroy())}function mt(e){for(var t=e.data,n=e,r=e;r.componentInstance;)r=r.componentInstance._vnode,r.data&&(t=gt(r.data,t));for(;n=n.parent;)n.data&&(t=gt(t,n.data));return vt(t)}function gt(e,t){return{staticClass:_t(e.staticClass,t.staticClass),class:e.class?[e.class,t.class]:t.class}}function vt(e){var t=e.class,n=e.staticClass;return n||t?_t(n,yt(t)):""}function _t(e,t){return e?t?e+" "+t:e:t||""}function yt(e){var t="";if(!e)return t;if("string"==typeof e)return e;if(Array.isArray(e)){for(var n,r=0,i=e.length;r-1?Xo[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Xo[e]=/HTMLUnknownElement/.test(t.toString())}function wt(e){if("string"==typeof e){var t=document.querySelector(e);return t||document.createElement("div")}return e}function kt(e,t){var n=document.createElement(e);return"select"!==e?n:(t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)}function St(e,t){return document.createElementNS(Yo[e],t)}function Ct(e){return document.createTextNode(e)}function Tt(e){return document.createComment(e)}function Et(e,t,n){e.insertBefore(t,n)}function Mt(e,t){e.removeChild(t)}function At(e,t){e.appendChild(t)}function Lt(e){return e.parentNode}function Dt(e){return e.nextSibling}function jt(e){return e.tagName}function Ot(e,t){e.textContent=t}function Ft(e,t,n){e.setAttribute(t,n)}function Pt(e,t){var n=e.data.ref;if(n){var r=e.context,i=e.componentInstance||e.elm,a=r.$refs;t?Array.isArray(a[n])?o(a[n],i):a[n]===i&&(a[n]=void 0):e.data.refInFor?Array.isArray(a[n])&&a[n].indexOf(i)<0?a[n].push(i):a[n]=[i]:a[n]=i}}function It(e){return void 0===e||null===e}function zt(e){return void 0!==e&&null!==e}function Nt(e){return!0===e}function qt(e,t){return e.key===t.key&&e.tag===t.tag&&e.isComment===t.isComment&&zt(e.data)===zt(t.data)&&Rt(e,t)}function Rt(e,t){if("input"!==e.tag)return!0;var n;return(zt(n=e.data)&&zt(n=n.attrs)&&n.type)===(zt(n=t.data)&&zt(n=n.attrs)&&n.type)}function $t(e,t,n){var r,i,o={};for(r=t;r<=n;++r)i=e[r].key,zt(i)&&(o[i]=r);return o}function Bt(e,t){(e.data.directives||t.data.directives)&&Ut(e,t)}function Ut(e,t){var n,r,i,o=e===ea,a=t===ea,s=Wt(e.data.directives,e.context),l=Wt(t.data.directives,t.context),c=[],u=[];for(n in l)r=s[n],i=l[n],r?(i.oldValue=r.value,Yt(i,"update",t,e),i.def&&i.def.componentUpdated&&u.push(i)):(Yt(i,"bind",t,e),i.def&&i.def.inserted&&c.push(i));if(c.length){var d=function(){for(var n=0;n=0&&" "===(g=e.charAt(m));m--);g&&sa.test(g)||(u=!0)}}else void 0===o?(h=i+1,o=e.slice(0,i).trim()):t();if(void 0===o?o=e.slice(0,i).trim():0!==h&&t(),a)for(i=0;i=Ao}function fn(e){return 34===e||39===e}function pn(e){var t=1;for(Oo=jo;!dn();)if(e=un(),fn(e))hn(e);else if(91===e&&t++,93===e&&t--,0===t){Fo=jo;break}}function hn(e){for(var t=e;!dn()&&(e=un())!==t;);}function mn(e,t,n){Po=n;var r=t.value,i=t.modifiers,o=e.tag,a=e.attrsMap.type;if("select"===o)_n(e,r,i);else if("input"===o&&"checkbox"===a)gn(e,r,i);else if("input"===o&&"radio"===a)vn(e,r,i);else if("input"===o||"textarea"===o)yn(e,r,i);else if(!Di.isReservedTag(o))return sn(e,r,i),!1;return!0}function gn(e,t,n){var r=n&&n.number,i=on(e,"value")||"null",o=on(e,"true-value")||"true",a=on(e,"false-value")||"false";en(e,"checked","Array.isArray("+t+")?_i("+t+","+i+")>-1"+("true"===o?":("+t+")":":_q("+t+","+o+")")),rn(e,ca,"var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+a+");if(Array.isArray($$a)){var $$v="+(r?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$c){$$i<0&&("+t+"=$$a.concat($$v))}else{$$i>-1&&("+t+"=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{"+t+"=$$c}",null,!0)}function vn(e,t,n){var r=n&&n.number,i=on(e,"value")||"null";i=r?"_n("+i+")":i,en(e,"checked","_q("+t+","+i+")"),rn(e,ca,ln(t,i),null,!0)}function _n(e,t,n){var r=n&&n.number,i='Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(r?"_n(val)":"val")+"})",o="var $$selectedVal = "+i+";";o=o+" "+ln(t,"$event.target.multiple ? $$selectedVal : $$selectedVal[0]"),rn(e,"change",o,null,!0)}function yn(e,t,n){var r=e.attrsMap.type,i=n||{},o=i.lazy,a=i.number,s=i.trim,l=!o&&"range"!==r,c=o?"change":"range"===r?la:"input",u="$event.target.value";s&&(u="$event.target.value.trim()"),a&&(u="_n("+u+")");var d=ln(t,u);l&&(d="if($event.target.composing)return;"+d),en(e,"value","("+t+")"),rn(e,c,d,null,!0),(s||a||"number"===r)&&rn(e,"blur","$forceUpdate()")}function bn(e){var t;e[la]&&(t=zi?"change":"input",e[t]=[].concat(e[la],e[t]||[]),delete e[la]),e[ca]&&(t=Bi?"click":"change",e[t]=[].concat(e[ca],e[t]||[]),delete e[ca])}function xn(e,t,n,r){if(n){var i=t,o=Io;t=function(n){null!==(1===arguments.length?i(n):i.apply(null,arguments))&&wn(e,t,r,o)}}Io.addEventListener(e,t,r)}function wn(e,t,n,r){(r||Io).removeEventListener(e,t,n)}function kn(e,t){if(e.data.on||t.data.on){var n=t.data.on||{},r=e.data.on||{};Io=t.elm,bn(n),G(n,r,xn,wn,t.context)}}function Sn(e,t){if(e.data.domProps||t.data.domProps){var n,r,i=t.elm,o=e.data.domProps||{},a=t.data.domProps||{};a.__ob__&&(a=t.data.domProps=d({},a));for(n in o)null==a[n]&&(i[n]="");for(n in a)if(r=a[n],"textContent"!==n&&"innerHTML"!==n||(t.children&&(t.children.length=0),r!==o[n]))if("value"===n){i._value=r;var s=null==r?"":String(r);Cn(i,t,s)&&(i.value=s)}else i[n]=r}}function Cn(e,t,n){return!e.composing&&("option"===t.tag||Tn(e,n)||En(e,n))}function Tn(e,t){return document.activeElement!==e&&e.value!==t}function En(e,t){var n=e.value,i=e._vModifiers;return i&&i.number||"number"===e.type?r(n)!==r(t):i&&i.trim?n.trim()!==t.trim():n!==t}function Mn(e){var t=An(e.style);return e.staticStyle?d(e.staticStyle,t):t}function An(e){return Array.isArray(e)?h(e):"string"==typeof e?fa(e):e}function Ln(e,t){var n,r={};if(t)for(var i=e;i.componentInstance;)i=i.componentInstance._vnode,i.data&&(n=Mn(i.data))&&d(r,n);(n=Mn(e.data))&&d(r,n);for(var o=e;o=o.parent;)o.data&&(n=Mn(o.data))&&d(r,n);return r}function Dn(e,t){var n=t.data,r=e.data;if(n.staticStyle||n.style||r.staticStyle||r.style){var i,o,a=t.elm,s=e.data.staticStyle,l=e.data.style||{},c=s||l,u=An(t.data.style)||{};t.data.style=u.__ob__?d({},u):u;var f=Ln(t,!0);for(o in c)null==f[o]&&ma(a,o,"");for(o in f)(i=f[o])!==c[o]&&ma(a,o,null==i?"":i)}}function jn(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(/\s+/).forEach(function(t){return e.classList.add(t)}):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function On(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(/\s+/).forEach(function(t){return e.classList.remove(t)}):e.classList.remove(t);else{for(var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");e.setAttribute("class",n.trim())}}function Fn(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&d(t,ya(e.name||"v")),d(t,e),t}return"string"==typeof e?ya(e):void 0}}function Pn(e){Ea(function(){Ea(e)})}function In(e,t){(e._transitionClasses||(e._transitionClasses=[])).push(t),jn(e,t)}function zn(e,t){e._transitionClasses&&o(e._transitionClasses,t),On(e,t)}function Nn(e,t,n){var r=qn(e,t),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===xa?Sa:Ta,l=0,c=function(){e.removeEventListener(s,u),n()},u=function(t){t.target===e&&++l>=a&&c()};setTimeout(function(){l0&&(n=xa,u=a,d=o.length):t===wa?c>0&&(n=wa,u=c,d=l.length):(u=Math.max(a,c),n=u>0?a>c?xa:wa:null,d=n?n===xa?o.length:l.length:0),{type:n,timeout:u,propCount:d,hasTransform:n===xa&&Ma.test(r[ka+"Property"])}}function Rn(e,t){for(;e.length1}function Yn(e,t){t.data.show||Bn(t)}function Vn(e,t,n){var r=t.value,i=e.multiple;if(!i||Array.isArray(r)){for(var o,a,s=0,l=e.options.length;s-1,a.selected!==o&&(a.selected=o);else if(g(Zn(a),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));i||(e.selectedIndex=-1)}}function Gn(e,t){for(var n=0,r=t.length;n=0&&a[i].lowerCasedTag!==s;i--);else i=0;if(i>=0){for(var l=a.length-1;l>=i;l--)t.end&&t.end(a[l].tag,n,r);a.length=i,o=i&&a[i-1].tag}else"br"===s?t.start&&t.start(e,[],!0,n,r):"p"===s&&(t.start&&t.start(e,[],!1,n,r),t.end&&t.end(e,n,r))}for(var i,o,a=[],s=t.expectHTML,l=t.isUnaryTag||Ai,c=t.canBeLeftOpenTag||Ai,u=0;e;){if(i=e,o&&bs(o)){var d=o.toLowerCase(),f=xs[d]||(xs[d]=new RegExp("([\\s\\S]*?)(]*>)","i")),p=0,h=e.replace(f,function(e,n,r){return p=r.length,bs(d)||"noscript"===d||(n=n.replace(//g,"$1").replace(//g,"$1")),t.chars&&t.chars(n),""});u+=e.length-h.length,e=h,r(d,u-p,u)}else{var m=e.indexOf("<");if(0===m){if(Qa.test(e)){var g=e.indexOf("--\x3e");if(g>=0){n(g+3);continue}}if(es.test(e)){var v=e.indexOf("]>");if(v>=0){n(v+2);continue}}var _=e.match(Ja);if(_){n(_[0].length);continue}var y=e.match(Xa);if(y){var b=u;n(y[0].length),r(y[1],b,u);continue}var x=function(){var t=e.match(Za);if(t){var r={tagName:t[1],attrs:[],start:u};n(t[0].length);for(var i,o;!(i=e.match(Ka))&&(o=e.match(Va));)n(o[0].length),r.attrs.push(o);if(i)return r.unarySlash=i[1],n(i[0].length),r.end=u,r}}();if(x){!function(e){var n=e.tagName,i=e.unarySlash;s&&("p"===o&&Ha(n)&&r(o),c(n)&&o===n&&r(n)) -;for(var u=l(n)||"html"===n&&"head"===o||!!i,d=e.attrs.length,f=new Array(d),p=0;p=0){for(k=e.slice(m);!(Xa.test(k)||Za.test(k)||Qa.test(k)||es.test(k)||(S=k.indexOf("<",1))<0);)m+=S,k=e.slice(m);w=e.substring(0,m),n(m)}m<0&&(w=e,e=""),t.chars&&w&&t.chars(w)}if(e===i){t.chars&&t.chars(e);break}}r()}function dr(e,t){var n=t?Ts(t):Cs;if(n.test(e)){for(var r,i,o=[],a=n.lastIndex=0;r=n.exec(e);){i=r.index,i>a&&o.push(JSON.stringify(e.slice(a,i)));var s=Kt(r[1].trim());o.push("_s("+s+")"),a=i+r[0].length}return a0,qi=Ii&&Ii.indexOf("edge/")>0,Ri=Ii&&Ii.indexOf("android")>0,$i=Ii&&/iphone|ipad|ipod|ios/.test(Ii),Bi=Ii&&/chrome\/\d+/.test(Ii)&&!qi,Ui=function(){return void 0===bi&&(bi=!Pi&&void 0!==e&&"server"===e.process.env.VUE_ENV),bi},Wi=Pi&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,Hi="undefined"!=typeof Symbol&&w(Symbol)&&"undefined"!=typeof Reflect&&w(Reflect.ownKeys),Yi=function(){function e(){r=!1;var e=n.slice(0);n.length=0;for(var t=0;t1?u(n):n;for(var r=u(arguments,1),i=0,o=n.length;i1&&(t[n[0].trim()]=n[1].trim())}}),t}),pa=/^--/,ha=/\s*!important$/,ma=function(e,t,n){pa.test(t)?e.style.setProperty(t,n):ha.test(n)?e.style.setProperty(t,n.replace(ha,""),"important"):e.style[va(t)]=n},ga=["Webkit","Moz","ms"],va=l(function(e){if(zo=zo||document.createElement("div"),"filter"!==(e=Si(e))&&e in zo.style)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=0;nf?(c=It(n[g+1])?null:n[g+1].elm,m(e,c,n,d,g,r)):d>g&&v(e,t,u,f)}function b(e,t,n,r){if(e!==t){if(Nt(t.isStatic)&&Nt(e.isStatic)&&t.key===e.key&&(Nt(t.isCloned)||Nt(t.isOnce)))return t.elm=e.elm,void(t.componentInstance=e.componentInstance);var i,o=t.data;zt(o)&&zt(i=o.hook)&&zt(i=i.prepatch)&&i(e,t);var a=t.elm=e.elm,s=e.children,l=t.children;if(zt(o)&&f(t)){for(i=0;i',n.innerHTML.indexOf(t)>0}("\n"," "),Ua=i("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),Wa=i("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),Ha=i("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),Ya=[/"([^"]*)"+/.source,/'([^']*)'+/.source,/([^\s"'=<>`]+)/.source],Va=new RegExp("^\\s*"+/([^\s"'<>\/=]+)/.source+"(?:\\s*("+/(?:=)/.source+")\\s*(?:"+Ya.join("|")+"))?"),Ga="[a-zA-Z_][\\w\\-\\.]*",Za=new RegExp("^<((?:"+Ga+"\\:)?"+Ga+")"),Ka=/^\s*(\/?)>/,Xa=new RegExp("^<\\/((?:"+Ga+"\\:)?"+Ga+")[^>]*>"),Ja=/^]+>/i,Qa=/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(i.source+"\\s*$"),/^$/,!1]];t.exports=function(e,t,n,r){var i,a,s,l,c=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(c))return!1;for(l=e.src.slice(c,u),i=0;i=4)return!1;for(f=e.parentType,e.parentType="paragraph";p3)){if(e.sCount[p]>=e.blkIndent&&(l=e.bMarks[p]+e.tShift[p],c=e.eMarks[p],l=c))){u=61===d?1:2;break}if(!(e.sCount[p]<0)){for(i=!1,o=0,a=h.length;o=o)return-1;if((n=e.src.charCodeAt(i++))<48||n>57)return-1;for(;;){if(i>=o)return-1;n=e.src.charCodeAt(i++);{if(!(n>=48&&n<=57)){if(41===n||46===n)break;return-1}if(i-r>=10)return-1}}return i=4)return!1;if(a&&"paragraph"===e.parentType&&e.tShift[t]>=e.blkIndent&&(P=!0),(A=i(e,t))>=0){if(p=!0,D=e.bMarks[t]+e.tShift[t],y=Number(e.src.substr(D,A-D-1)),P&&1!==y)return!1}else{if(!((A=r(e,t))>=0))return!1;p=!1}if(P&&e.skipSpaces(A)>=e.eMarks[t])return!1;if(_=e.src.charCodeAt(A-1),a)return!0;for(v=e.tokens.length,p?(F=e.push("ordered_list_open","ol",1),1!==y&&(F.attrs=[["start",y]])):F=e.push("bullet_list_open","ul",1),F.map=g=[t,0],F.markup=String.fromCharCode(_),x=t,L=!1,O=e.md.block.ruler.getRules("list"),C=e.parentType,e.parentType="list";x=b?1:w-f,d>4&&(d=1),u=f+d,F=e.push("list_item_open","li",1),F.markup=String.fromCharCode(_),F.map=h=[t,0],k=e.blkIndent,M=e.tight,T=e.tShift[t],S=e.sCount[t],e.blkIndent=u,e.tight=!0,e.tShift[t]=l-e.bMarks[t],e.sCount[t]=w,l>=b&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,t,n,!0),e.tight&&!L||(N=!1),L=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=k,e.tShift[t]=T,e.sCount[t]=S,e.tight=M,F=e.push("list_item_close","li",-1),F.markup=String.fromCharCode(_),x=t=e.line,h[1]=x,l=e.bMarks[t],x>=n)break;if(e.sCount[x]3||e.sCount[l]<0)){for(r=!1,i=0,o=c.length;i=4)return!1;if(91!==e.src.charCodeAt(k))return!1;for(;++k3||e.sCount[C]<0)){for(y=!1,d=0,f=b.length;d0&&this.level++,this.tokens.push(r),r},r.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},r.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;et;)if(!o(this.src.charCodeAt(--e)))return e+1;return e},r.prototype.skipChars=function(e,t){for(var n=this.src.length;en;)if(t!==this.src.charCodeAt(--e))return e+1;return e},r.prototype.getLines=function(e,t,n,r){var i,a,s,l,c,u,d,f=e;if(e>=t)return"";for(u=new Array(t-e),i=0;fn?new Array(a-n+1).join(" ")+this.src.slice(l,c):this.src.slice(l,c)}return u.join("")},r.prototype.Token=i,t.exports=r},{"../common/utils":385,"../token":432}],410:[function(e,t,n){"use strict";function r(e,t){var n=e.bMarks[t]+e.blkIndent,r=e.eMarks[t];return e.src.substr(n,r-n)}function i(e){var t,n=[],r=0,i=e.length,o=0,a=0,s=!1,l=0;for(t=e.charCodeAt(r);rn)return!1;if(d=t+1,e.sCount[d]=4)return!1;if((c=e.bMarks[d]+e.tShift[d])>=e.eMarks[d])return!1;if(124!==(s=e.src.charCodeAt(c++))&&45!==s&&58!==s)return!1;for(;c=4)return!1;if(f=i(l.replace(/^\||\|$/g,"")),(p=f.length)>m.length)return!1;if(a)return!0;for(h=e.push("table_open","table",1),h.map=v=[t,0],h=e.push("thead_open","thead",1),h.map=[t,t+1],h=e.push("tr_open","tr",1),h.map=[t,t+1],u=0;u=4);d++){for(f=i(l.replace(/^\||\|$/g,"")),h=e.push("tr_open","tr",1),u=0;u\s]/i.test(e)}function i(e){return/^<\/a\s*>/i.test(e)}var o=e("../common/utils").arrayReplaceAt;t.exports=function(e){var t,n,a,s,l,c,u,d,f,p,h,m,g,v,_,y,b,x=e.tokens;if(e.md.options.linkify)for(n=0,a=x.length;n=0;t--)if(c=s[t],"link_close"!==c.type){if("html_inline"===c.type&&(r(c.content)&&g>0&&g--,i(c.content)&&g++),!(g>0)&&"text"===c.type&&e.md.linkify.test(c.content)){for(f=c.content,b=e.md.linkify.match(f),u=[],m=c.level,h=0,d=0;dh&&(l=new e.Token("text","",0),l.content=f.slice(h,p),l.level=m,u.push(l)),l=new e.Token("link_open","a",1),l.attrs=[["href",_]],l.level=m++,l.markup="linkify",l.info="auto",u.push(l),l=new e.Token("text","",0),l.content=y,l.level=m,u.push(l),l=new e.Token("link_close","a",-1),l.level=--m,l.markup="linkify",l.info="auto",u.push(l),h=b[d].lastIndex);h=0;t--)n=e[t],"text"!==n.type||i||(n.content=n.content.replace(l,r)),"link_open"===n.type&&"auto"===n.info&&i--,"link_close"===n.type&&"auto"===n.info&&i++}function o(e){var t,n,r=0;for(t=e.length-1;t>=0;t--)n=e[t],"text"!==n.type||r||a.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/gm,"$1—$2").replace(/(^|\s)--(\s|$)/gm,"$1–$2").replace(/(^|[^-\s])--([^-\s]|$)/gm,"$1–$2")),"link_open"===n.type&&"auto"===n.info&&r--,"link_close"===n.type&&"auto"===n.info&&r++}var a=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,s=/\((c|tm|r|p)\)/i,l=/\((c|tm|r|p)\)/gi,c={c:"©",r:"®",p:"§",tm:"™"};t.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&(s.test(e.tokens[t].content)&&i(e.tokens[t].children),a.test(e.tokens[t].content)&&o(e.tokens[t].children))}},{}],416:[function(e,t,n){"use strict";function r(e,t,n){return e.substr(0,t)+n+e.substr(t+1)}function i(e,t){var n,i,l,d,f,p,h,m,g,v,_,y,b,x,w,k,S,C,T,M,E;for(T=[],n=0;n=0&&!(T[S].level<=h);S--);if(T.length=S+1,"text"===i.type){l=i.content,f=0,p=l.length;e:for(;f=0)g=l.charCodeAt(d.index-1);else for(S=n-1;S>=0;S--)if("text"===e[S].type){g=e[S].content.charCodeAt(e[S].content.length-1);break}if(v=32,f=48&&g<=57&&(k=w=!1),w&&k&&(w=!1,k=y),w||k){if(k)for(S=T.length-1;S>=0&&(m=T[S],!(T[S].level=0;t--)"inline"===e.tokens[t].type&&l.test(e.tokens[t].content)&&i(e.tokens[t].children,e)}},{"../common/utils":385}],417:[function(e,t,n){"use strict";function r(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}var i=e("../token");r.prototype.Token=i,t.exports=r},{"../token":432}],418:[function(e,t,n){"use strict";var r=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,i=/^<([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)>/;t.exports=function(e,t){var n,o,a,s,l,c,u=e.pos;return 60===e.src.charCodeAt(u)&&(n=e.src.slice(u),!(n.indexOf(">")<0)&&(i.test(n)?(o=n.match(i),s=o[0].slice(1,-1),l=e.md.normalizeLink(s),!!e.md.validateLink(l)&&(t||(c=e.push("link_open","a",1),c.attrs=[["href",l]],c.markup="autolink",c.info="auto",c=e.push("text","",0),c.content=e.md.normalizeLinkText(s),c=e.push("link_close","a",-1),c.markup="autolink",c.info="auto"),e.pos+=o[0].length,!0)):!!r.test(n)&&(a=n.match(r),s=a[0].slice(1,-1),l=e.md.normalizeLink("mailto:"+s),!!e.md.validateLink(l)&&(t||(c=e.push("link_open","a",1),c.attrs=[["href",l]],c.markup="autolink",c.info="auto",c=e.push("text","",0),c.content=e.md.normalizeLinkText(s),c=e.push("link_close","a",-1),c.markup="autolink",c.info="auto"),e.pos+=a[0].length,!0))))}},{}],419:[function(e,t,n){"use strict";t.exports=function(e,t){var n,r,i,o,a,s,l=e.pos;if(96!==e.src.charCodeAt(l))return!1;for(n=l,l++,r=e.posMax;l=0;){if(i=o[n],i.open&&i.marker===r.marker&&i.end<0&&i.level===r.level){var s=(i.close||r.open)&&void 0!==i.length&&void 0!==r.length&&(i.length+r.length)%3==0;if(!s){r.jump=t-n,r.open=!1,i.end=t,i.jump=0;break}}n-=i.jump+1}}},{}],421:[function(e,t,n){"use strict";t.exports.tokenize=function(e,t){var n,r,i,o=e.pos,a=e.src.charCodeAt(o);if(t)return!1;if(95!==a&&42!==a)return!1;for(r=e.scanDelims(e.pos,42===a),n=0;n=0;t--)n=s[t],95!==n.marker&&42!==n.marker||-1!==n.end&&(r=s[n.end],a=t>0&&s[t-1].end===n.end+1&&s[t-1].token===n.token-1&&s[n.end+1].token===r.token+1&&s[t-1].marker===n.marker,o=String.fromCharCode(n.marker),i=e.tokens[n.token],i.type=a?"strong_open":"em_open",i.tag=a?"strong":"em",i.nesting=1,i.markup=a?o+o:o,i.content="",i=e.tokens[r.token],i.type=a?"strong_close":"em_close",i.tag=a?"strong":"em",i.nesting=-1,i.markup=a?o+o:o,i.content="",a&&(e.tokens[s[t-1].token].content="",e.tokens[s[n.end+1].token].content="",t--))}},{}],422:[function(e,t,n){"use strict";var r=e("../common/entities"),i=e("../common/utils").has,o=e("../common/utils").isValidEntityCode,a=e("../common/utils").fromCodePoint,s=/^&#((?:x[a-f0-9]{1,8}|[0-9]{1,8}));/i,l=/^&([a-z][a-z0-9]{1,31});/i;t.exports=function(e,t){var n,c,u=e.pos,d=e.posMax;if(38!==e.src.charCodeAt(u))return!1;if(u+1?@[]^_`{|}~-".split("").forEach(function(e){i[e.charCodeAt(0)]=1}),t.exports=function(e,t){var n,o=e.pos,a=e.posMax;if(92!==e.src.charCodeAt(o))return!1;if(++o=97&&t<=122}var i=e("../common/html_re").HTML_TAG_RE;t.exports=function(e,t){var n,o,a,s,l=e.pos;return!!e.md.options.html&&(a=e.posMax,!(60!==e.src.charCodeAt(l)||l+2>=a)&&(!(33!==(n=e.src.charCodeAt(l+1))&&63!==n&&47!==n&&!r(n))&&(!!(o=e.src.slice(l).match(i))&&(t||(s=e.push("html_inline","",0),s.content=e.src.slice(l,l+o[0].length)),e.pos+=o[0].length,!0))))}},{"../common/html_re":384}],425:[function(e,t,n){"use strict";var r=e("../common/utils").normalizeReference,i=e("../common/utils").isSpace;t.exports=function(e,t){var n,o,a,s,l,c,u,d,f,p,h,m,g,v="",_=e.pos,y=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(c=e.pos+2,(l=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((u=l+1)=y)return!1;for(g=u,f=e.md.helpers.parseLinkDestination(e.src,u,e.posMax),f.ok&&(v=e.md.normalizeLink(f.str),e.md.validateLink(v)?u=f.pos:v=""),g=u;u=y||41!==e.src.charCodeAt(u))return e.pos=_,!1;u++}else{if(void 0===e.env.references)return!1;if(u=0?s=e.src.slice(g,u++):u=l+1):u=l+1,s||(s=e.src.slice(c,l)),!(d=e.env.references[r(s)]))return e.pos=_,!1;v=d.href,p=d.title}return t||(a=e.src.slice(c,l),e.md.inline.parse(a,e.md,e.env,m=[]),h=e.push("image","img",0),h.attrs=n=[["src",v],["alt",""]],h.children=m,h.content=a,p&&n.push(["title",p])),e.pos=u,e.posMax=y,!0}},{"../common/utils":385}],426:[function(e,t,n){"use strict";var r=e("../common/utils").normalizeReference,i=e("../common/utils").isSpace;t.exports=function(e,t){var n,o,a,s,l,c,u,d,f,p,h="",m=e.pos,g=e.posMax,v=e.pos,_=!0;if(91!==e.src.charCodeAt(e.pos))return!1;if(l=e.pos+1,(s=e.md.helpers.parseLinkLabel(e,e.pos,!0))<0)return!1;if((c=s+1)=g)return!1;for(v=c,u=e.md.helpers.parseLinkDestination(e.src,c,e.posMax),u.ok&&(h=e.md.normalizeLink(u.str),e.md.validateLink(h)?c=u.pos:h=""),v=c;c=g||41!==e.src.charCodeAt(c))&&(_=!0),c++}if(_){if(void 0===e.env.references)return!1;if(c=0?a=e.src.slice(v,c++):c=s+1):c=s+1,a||(a=e.src.slice(l,s)),!(d=e.env.references[r(a)]))return e.pos=m,!1;h=d.href,f=d.title}return t||(e.pos=l,e.posMax=s,p=e.push("link_open","a",1),p.attrs=n=[["href",h]],f&&n.push(["title",f]),e.md.inline.tokenize(e),p=e.push("link_close","a",-1)),e.pos=c,e.posMax=g,!0}},{"../common/utils":385}],427:[function(e,t,n){"use strict";var r=e("../common/utils").isSpace;t.exports=function(e,t){var n,i,o=e.pos;if(10!==e.src.charCodeAt(o))return!1;for(n=e.pending.length-1,i=e.posMax,t||(n>=0&&32===e.pending.charCodeAt(n)?n>=1&&32===e.pending.charCodeAt(n-1)?(e.pending=e.pending.replace(/ +$/,""),e.push("hardbreak","br",0)):(e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0)):e.push("softbreak","br",0)),o++;o0&&this.level++,this.pendingLevel=this.level,this.tokens.push(r),r},r.prototype.scanDelims=function(e,t){var n,r,i,l,c,u,d,f,p,h=e,m=!0,g=!0,v=this.posMax,_=this.src.charCodeAt(e);for(n=e>0?this.src.charCodeAt(e-1):32;h=0&&(n=this.attrs[t][1]),n},r.prototype.attrJoin=function(e,t){var n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=this.attrs[n][1]+" "+t},t.exports=r},{}],433:[function(e,t,n){"use strict";function r(e){var t,n,r=o[e];if(r)return r;for(r=o[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),r.push(n);for(t=0;t=55296&&l<=57343?"���":String.fromCharCode(l),t+=6):240==(248&i)&&t+91114111?c+="����":(l-=65536,c+=String.fromCharCode(55296+(l>>10),56320+(1023&l))),t+=9):c+="�";return c})}var o={};i.defaultChars=";/?:@&=+$,#",i.componentChars="",t.exports=i},{}],434:[function(e,t,n){"use strict";function r(e){var t,n,r=o[e];if(r)return r;for(r=o[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),/^[0-9a-z]$/i.test(n)?r.push(n):r.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t=55296&&s<=57343){if(s>=55296&&s<=56319&&o+1=56320&&l<=57343){u+=encodeURIComponent(e[o]+e[o+1]),o++;continue}u+="%EF%BF%BD"}else u+=encodeURIComponent(e[o]);return u}var o={};i.defaultChars=";/?:@&=+$,-_.!~*'()#",i.componentChars="-_.!~*'()",t.exports=i},{}],435:[function(e,t,n){"use strict";t.exports=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""}},{}],436:[function(e,t,n){"use strict";t.exports.encode=e("./encode"),t.exports.decode=e("./decode"),t.exports.format=e("./format"),t.exports.parse=e("./parse")},{"./decode":433,"./encode":434,"./format":435,"./parse":437}],437:[function(e,t,n){"use strict";function r(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}function i(e,t){if(e&&e instanceof r)return e;var n=new r;return n.parse(e,t),n}var o=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,s=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,l=["<",">",'"',"`"," ","\r","\n","\t"],c=["{","}","|","\\","^","`"].concat(l),u=["'"].concat(c),d=["%","/","?",";","#"].concat(u),f=["/","?","#"],p=/^[+a-z0-9A-Z_-]{0,63}$/,h=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,m={javascript:!0,"javascript:":!0},g={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};r.prototype.parse=function(e,t){var n,r,i,a,l,c=e;if(c=c.trim(),!t&&1===e.split("#").length){var u=s.exec(c);if(u)return this.pathname=u[1],u[2]&&(this.search=u[2]),this}var v=o.exec(c);if(v&&(v=v[0],i=v.toLowerCase(),this.protocol=v,c=c.substr(v.length)),(t||v||c.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(l="//"===c.substr(0,2))||v&&m[v]||(c=c.substr(2),this.slashes=!0)),!m[v]&&(l||v&&!g[v])){var _=-1;for(n=0;n127?C+="x":C+=S[T];if(!C.match(p)){var E=k.slice(0,n),A=k.slice(n+1),L=S.match(h);L&&(E.push(L[1]),A.unshift(L[2])),A.length&&(c=A.join(".")+c),this.hostname=E.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),w&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var D=c.indexOf("#");-1!==D&&(this.hash=c.substr(D),c=c.slice(0,D));var j=c.indexOf("?");return-1!==j&&(this.search=c.substr(j),c=c.slice(0,j)),c&&(this.pathname=c),g[i]&&this.hostname&&!this.pathname&&(this.pathname=""),this},r.prototype.parseHost=function(e){var t=a.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},t.exports=i},{}],438:[function(e,t,n){!function(r,i){"object"==typeof n&&void 0!==t&&"function"==typeof e?i(e("../moment")):"function"==typeof define&&define.amd?define(["../moment"],i):i(r.moment)}(this,function(e){"use strict";return e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{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"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})})},{"../moment":439}],439:[function(e,t,n){!function(e,r){"object"==typeof n&&void 0!==t?t.exports=r():"function"==typeof define&&define.amd?define(r):e.moment=r()}(this,function(){"use strict";function n(){return Er.apply(null,arguments)}function r(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function i(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function o(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(e.hasOwnProperty(t))return!1;return!0}function a(e){return void 0===e}function s(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function l(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function c(e,t){var n,r=[];for(n=0;n0)for(n=0;n0?"future":"past"];return T(n)?n(t):n.replace(/%s/i,t)}function N(e,t){var n=e.toLowerCase();Ir[n]=Ir[n+"s"]=Ir[t]=e}function z(e){return"string"==typeof e?Ir[e]||Ir[e.toLowerCase()]:void 0}function I(e){var t,n,r={};for(n in e)u(e,n)&&(t=z(n))&&(r[t]=e[n]);return r}function q(e,t){qr[e]=t}function R(e){var t=[];for(var n in e)t.push({unit:n,priority:qr[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}function $(e,t,n){var r=""+Math.abs(e),i=t-r.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}function W(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(Br[e]=i),t&&(Br[t[0]]=function(){return $(i.apply(this,arguments),t[1],t[2])}),n&&(Br[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function B(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function H(e){var t,n,r=e.match(Rr);for(t=0,n=r.length;t=0&&$r.test(e);)e=e.replace($r,n),$r.lastIndex=0,r-=1;return e}function Y(e,t,n){si[e]=T(t)?t:function(e,r){return e&&n?n:t}}function G(e,t){return u(si,e)?si[e](t._strict,t._locale):new RegExp(Z(e))}function Z(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 X(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),s(t)&&(r=function(e,n){n[t]=x(e)}),n=0;n=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}function xe(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function we(e,t,n){var r=7+t-n;return-(7+xe(e,0,r).getUTCDay()-t)%7+r-1}function ke(e,t,n,r,i){var o,a,s=(7+n-r)%7,l=we(e,r,i),c=1+7*(t-1)+s+l;return c<=0?(o=e-1,a=ee(o)+c):c>ee(e)?(o=e+1,a=c-ee(e)):(o=e,a=c),{year:o,dayOfYear:a}}function Se(e,t,n){var r,i,o=we(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return a<1?(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(ee(e)-r+i)/7}function Te(e){return Se(e,this._week.dow,this._week.doy).week}function Me(){return this._week.dow}function Ee(){return this._week.doy}function Ae(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Le(e){var t=Se(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function De(e,t){return"string"!=typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"==typeof e?e:null):parseInt(e,10)}function je(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Oe(e,t){return e?r(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:r(this._weekdays)?this._weekdays:this._weekdays.standalone}function Fe(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Pe(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Ne(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=f([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?(i=_i.call(this._weekdaysParse,a),-1!==i?i:null):"ddd"===t?(i=_i.call(this._shortWeekdaysParse,a),-1!==i?i:null):(i=_i.call(this._minWeekdaysParse,a),-1!==i?i:null):"dddd"===t?-1!==(i=_i.call(this._weekdaysParse,a))?i:-1!==(i=_i.call(this._shortWeekdaysParse,a))?i:(i=_i.call(this._minWeekdaysParse,a),-1!==i?i:null):"ddd"===t?-1!==(i=_i.call(this._shortWeekdaysParse,a))?i:-1!==(i=_i.call(this._weekdaysParse,a))?i:(i=_i.call(this._minWeekdaysParse,a),-1!==i?i:null):-1!==(i=_i.call(this._minWeekdaysParse,a))?i:-1!==(i=_i.call(this._weekdaysParse,a))?i:(i=_i.call(this._shortWeekdaysParse,a),-1!==i?i:null)}function ze(e,t,n){var r,i,o;if(this._weekdaysParseExact)return Ne.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=f([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 Ie(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=De(e,this.localeData()),this.add(e-t,"d")):t}function qe(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 Re(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=je(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function $e(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||He.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(u(this,"_weekdaysRegex")||(this._weekdaysRegex=Ai),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function We(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||He.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(u(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Li),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Be(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||He.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(u(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Di),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function He(){function e(e,t){return t.length-e.length}var t,n,r,i,o,a=[],s=[],l=[],c=[];for(t=0;t<7;t++)n=f([2e3,1]).day(t),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),o=this.weekdays(n,""),a.push(r),s.push(i),l.push(o),c.push(r),c.push(i),c.push(o);for(a.sort(e),s.sort(e),l.sort(e),c.sort(e),t=0;t<7;t++)s[t]=K(s[t]),l[t]=K(l[t]),c[t]=K(c[t]);this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Ue(){return this.hours()%12||12}function Ve(){return this.hours()||24}function Ye(e,t){W(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function Ge(e,t){return t._meridiemParse}function Ze(e){return"p"===(e+"").toLowerCase().charAt(0)}function Ke(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}function Xe(e){return e?e.toLowerCase().replace("_","-"):e}function Qe(e){for(var t,n,r,i,o=0;o0;){if(r=Je(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&w(i,n,!0)>=t-1)break;t--}o++}return null}function Je(n){var r=null;if(!Ni[n]&&void 0!==t&&t&&t.exports)try{r=ji._abbr;e("./locale/"+n),et(r)}catch(e){}return Ni[n]}function et(e,t){var n;return e&&(n=a(t)?rt(e):tt(e,t))&&(ji=n),ji._abbr}function tt(e,t){if(null!==t){var n=Pi;if(t.abbr=e,null!=Ni[e])C("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=Ni[e]._config;else if(null!=t.parentLocale){if(null==Ni[t.parentLocale])return zi[t.parentLocale]||(zi[t.parentLocale]=[]),zi[t.parentLocale].push({name:e,config:t}),null;n=Ni[t.parentLocale]._config}return Ni[e]=new A(E(n,t)),zi[e]&&zi[e].forEach(function(e){tt(e.name,e.config)}),et(e),Ni[e]}return delete Ni[e],null}function nt(e,t){if(null!=t){var n,r=Pi;null!=Ni[e]&&(r=Ni[e]._config),t=E(r,t),n=new A(t),n.parentLocale=Ni[e],Ni[e]=n,et(e)}else null!=Ni[e]&&(null!=Ni[e].parentLocale?Ni[e]=Ni[e].parentLocale:null!=Ni[e]&&delete Ni[e]);return Ni[e]}function rt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return ji;if(!r(e)){if(t=Je(e))return t;e=[e]}return Qe(e)}function it(){return Or(Ni)}function ot(e){var t,n=e._a;return n&&-2===h(e).overflow&&(t=n[ui]<0||n[ui]>11?ui:n[di]<1||n[di]>ce(n[ci],n[ui])?di:n[fi]<0||n[fi]>24||24===n[fi]&&(0!==n[pi]||0!==n[hi]||0!==n[mi])?fi:n[pi]<0||n[pi]>59?pi:n[hi]<0||n[hi]>59?hi:n[mi]<0||n[mi]>999?mi:-1,h(e)._overflowDayOfYear&&(tdi)&&(t=di),h(e)._overflowWeeks&&-1===t&&(t=gi),h(e)._overflowWeekday&&-1===t&&(t=vi),h(e).overflow=t),e}function at(e,t,n){return null!=e?e:null!=t?t:n}function st(e){var t=new Date(n.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function lt(e){var t,n,r,i,o=[];if(!e._d){for(r=st(e),e._w&&null==e._a[di]&&null==e._a[ui]&&ct(e),null!=e._dayOfYear&&(i=at(e._a[ci],r[ci]),(e._dayOfYear>ee(i)||0===e._dayOfYear)&&(h(e)._overflowDayOfYear=!0),n=xe(i,0,e._dayOfYear),e._a[ui]=n.getUTCMonth(),e._a[di]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=o[t]=r[t];for(;t<7;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[fi]&&0===e._a[pi]&&0===e._a[hi]&&0===e._a[mi]&&(e._nextDay=!0,e._a[fi]=0),e._d=(e._useUTC?xe:be).apply(null,o),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[fi]=24),e._w&&void 0!==e._w.d&&e._w.d!==e._d.getDay()&&(h(e).weekdayMismatch=!0)}}function ct(e){var t,n,r,i,o,a,s,l;if(t=e._w,null!=t.GG||null!=t.W||null!=t.E)o=1,a=4,n=at(t.GG,e._a[ci],Se(Tt(),1,4).year),r=at(t.W,1),((i=at(t.E,1))<1||i>7)&&(l=!0);else{o=e._locale._week.dow,a=e._locale._week.doy;var c=Se(Tt(),o,a);n=at(t.gg,e._a[ci],c.year),r=at(t.w,c.week),null!=t.d?((i=t.d)<0||i>6)&&(l=!0):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(l=!0)):i=o}r<1||r>Ce(n,o,a)?h(e)._overflowWeeks=!0:null!=l?h(e)._overflowWeekday=!0:(s=ke(n,r,i,o,a),e._a[ci]=s.year,e._dayOfYear=s.dayOfYear)}function ut(e){var t,n,r,i,o,a,s=e._i,l=Ii.exec(s)||qi.exec(s);if(l){for(h(e).iso=!0,t=0,n=$i.length;t0&&h(e).unusedInput.push(a),s=s.slice(s.indexOf(r)+r.length),c+=r.length),Br[o]?(r?h(e).empty=!1:h(e).unusedTokens.push(o),J(o,r,e)):e._strict&&!r&&h(e).unusedTokens.push(o);h(e).charsLeftOver=l-c,s.length>0&&h(e).unusedInput.push(s),e._a[fi]<=12&&!0===h(e).bigHour&&e._a[fi]>0&&(h(e).bigHour=void 0),h(e).parsedDateParts=e._a.slice(0),h(e).meridiem=e._meridiem,e._a[fi]=yt(e._locale,e._a[fi],e._meridiem),lt(e),ot(e)}function yt(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(r=e.isPM(n),r&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function bt(e){var t,n,r,i,o;if(0===e._f.length)return h(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;ithis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Yt(){if(!a(this._isDSTShifted))return this._isDSTShifted;var e={};if(v(e,this),e=kt(e),e._a){var t=e._isUTC?f(e._a):Tt(e._a);this._isDSTShifted=this.isValid()&&w(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function Gt(){return!!this.isValid()&&!this._isUTC}function Zt(){return!!this.isValid()&&this._isUTC}function Kt(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function Xt(e,t){var n,r,i,o=e,a=null;return Ft(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:s(e)?(o={},t?o[t]=e:o.milliseconds=e):(a=Xi.exec(e))?(n="-"===a[1]?-1:1,o={y:0,d:x(a[di])*n,h:x(a[fi])*n,m:x(a[pi])*n,s:x(a[hi])*n,ms:x(Pt(1e3*a[mi]))*n}):(a=Qi.exec(e))?(n="-"===a[1]?-1:(a[1],1),o={y:Qt(a[2],n),M:Qt(a[3],n),w:Qt(a[4],n),d:Qt(a[5],n),h:Qt(a[6],n),m:Qt(a[7],n),s:Qt(a[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(i=en(Tt(o.from),Tt(o.to)),o={},o.ms=i.milliseconds,o.M=i.months),r=new Ot(o),Ft(e)&&u(e,"_locale")&&(r._locale=e._locale),r}function Qt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Jt(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 en(e,t){var n;return e.isValid()&&t.isValid()?(t=It(t,e),e.isBefore(t)?n=Jt(e,t):(n=Jt(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function tn(e,t){return function(n,r){var i,o;return null===r||isNaN(+r)||(C(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),n="string"==typeof n?+n:n,i=Xt(n,r),nn(this,i,e),this}}function nn(e,t,r,i){var o=t._milliseconds,a=Pt(t._days),s=Pt(t._months);e.isValid()&&(i=null==i||i,s&&he(e,ie(e,"Month")+s*r),a&&oe(e,"Date",ie(e,"Date")+a*r),o&&e._d.setTime(e._d.valueOf()+o*r),i&&n.updateOffset(e,a||s))}function rn(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function on(e,t){var r=e||Tt(),i=It(r,this).startOf("day"),o=n.calendarFormat(this,i)||"sameElse",a=t&&(T(t[o])?t[o].call(this,r):t[o]);return this.format(a||this.localeData().calendar(o,this,Tt(r)))}function an(){return new _(this)}function sn(e,t){var n=y(e)?e:Tt(e);return!(!this.isValid()||!n.isValid())&&(t=z(a(t)?"millisecond":t),"millisecond"===t?this.valueOf()>n.valueOf():n.valueOf()9999?U(e,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):T(Date.prototype.toISOString)?this.toDate().toISOString():U(e,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}function vn(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="";this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z");var n="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i=t+'[")]';return this.format(n+r+"-MM-DD[T]HH:mm:ss.SSS"+i)}function _n(e){e||(e=this.isUtc()?n.defaultFormatUtc:n.defaultFormat);var t=U(this,e);return this.localeData().postformat(t)}function yn(e,t){return this.isValid()&&(y(e)&&e.isValid()||Tt(e).isValid())?Xt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function bn(e){return this.from(Tt(),e)}function xn(e,t){return this.isValid()&&(y(e)&&e.isValid()||Tt(e).isValid())?Xt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function wn(e){return this.to(Tt(),e)}function kn(e){var t;return void 0===e?this._locale._abbr:(t=rt(e),null!=t&&(this._locale=t),this)}function Sn(){return this._locale}function Cn(e){switch(e=z(e)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===e&&this.weekday(0),"isoWeek"===e&&this.isoWeekday(1),"quarter"===e&&this.month(3*Math.floor(this.month()/3)),this}function Tn(e){return void 0===(e=z(e))||"millisecond"===e?this:("date"===e&&(e="day"),this.startOf(e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms"))}function Mn(){return this._d.valueOf()-6e4*(this._offset||0)}function En(){return Math.floor(this.valueOf()/1e3)}function An(){return new Date(this.valueOf())}function Ln(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Dn(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function jn(){return this.isValid()?this.toISOString():null}function On(){return m(this)}function Fn(){return d({},h(this))}function Pn(){return h(this).overflow}function Nn(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function zn(e,t){W(0,[e,e.length],0,t)}function In(e){return Wn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function qn(e){return Wn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Rn(){return Ce(this.year(),1,4)}function $n(){var e=this.localeData()._week;return Ce(this.year(),e.dow,e.doy)}function Wn(e,t,n,r,i){var o;return null==e?Se(this,r,i).year:(o=Ce(e,r,i),t>o&&(t=o),Bn.call(this,e,t,n,r,i))}function Bn(e,t,n,r,i){var o=ke(e,t,n,r,i),a=xe(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function Hn(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function Un(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}function Vn(e,t){t[mi]=x(1e3*("0."+e))}function Yn(){return this._isUTC?"UTC":""}function Gn(){return this._isUTC?"Coordinated Universal Time":""}function Zn(e){return Tt(1e3*e)}function Kn(){return Tt.apply(null,arguments).parseZone()}function Xn(e){return e}function Qn(e,t,n,r){var i=rt(),o=f().set(r,t);return i[n](o,e)}function Jn(e,t,n){if(s(e)&&(t=e,e=void 0),e=e||"",null!=t)return Qn(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=Qn(e,r,n,"month");return i}function er(e,t,n,r){"boolean"==typeof e?(s(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,s(t)&&(n=t,t=void 0),t=t||"");var i=rt(),o=e?i._week.dow:0;if(null!=n)return Qn(t,(n+o)%7,r,"day");var a,l=[];for(a=0;a<7;a++)l[a]=Qn(t,(a+o)%7,r,"day");return l}function tr(e,t){return Jn(e,t,"months")}function nr(e,t){return Jn(e,t,"monthsShort")}function rr(e,t,n){return er(e,t,n,"weekdays")}function ir(e,t,n){return er(e,t,n,"weekdaysShort")}function or(e,t,n){return er(e,t,n,"weekdaysMin")}function ar(){var e=this._data;return this._milliseconds=co(this._milliseconds),this._days=co(this._days),this._months=co(this._months),e.milliseconds=co(e.milliseconds),e.seconds=co(e.seconds),e.minutes=co(e.minutes),e.hours=co(e.hours),e.months=co(e.months),e.years=co(e.years),this}function sr(e,t,n,r){var i=Xt(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function lr(e,t){return sr(this,e,t,1)}function cr(e,t){return sr(this,e,t,-1)}function ur(e){return e<0?Math.floor(e):Math.ceil(e)}function dr(){var e,t,n,r,i,o=this._milliseconds,a=this._days,s=this._months,l=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*ur(pr(s)+a),a=0,s=0),l.milliseconds=o%1e3,e=b(o/1e3),l.seconds=e%60,t=b(e/60),l.minutes=t%60,n=b(t/60),l.hours=n%24,a+=b(n/24),i=b(fr(a)),s+=i,a-=ur(pr(i)),r=b(s/12),s%=12,l.days=a,l.months=s,l.years=r,this}function fr(e){return 4800*e/146097}function pr(e){return 146097*e/4800}function hr(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=z(e))||"year"===e)return t=this._days+r/864e5,n=this._months+fr(t),"month"===e?n:n/12;switch(t=this._days+Math.round(pr(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 mr(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*x(this._months/12):NaN}function gr(e){return function(){return this.as(e)}}function vr(){return Xt(this)}function _r(e){return e=z(e),this.isValid()?this[e+"s"]():NaN}function yr(e){return function(){return this.isValid()?this._data[e]:NaN}}function br(){return b(this.days()/7)}function xr(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function wr(e,t,n){var r=Xt(e).abs(),i=To(r.as("s")),o=To(r.as("m")),a=To(r.as("h")),s=To(r.as("d")),l=To(r.as("M")),c=To(r.as("y")),u=i<=Mo.ss&&["s",i]||i0,u[4]=n,xr.apply(null,u)}function kr(e){return void 0===e?To:"function"==typeof e&&(To=e,!0)}function Sr(e,t){return void 0!==Mo[e]&&(void 0===t?Mo[e]:(Mo[e]=t,"s"===e&&(Mo.ss=t-1),!0))}function Cr(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),n=wr(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function Tr(e){return(e>0)-(e<0)||+e}function Mr(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r=Eo(this._milliseconds)/1e3,i=Eo(this._days),o=Eo(this._months);e=b(r/60),t=b(e/60),r%=60,e%=60,n=b(o/12),o%=12;var a=n,s=o,l=i,c=t,u=e,d=r?r.toFixed(3).replace(/\.?0+$/,""):"",f=this.asSeconds();if(!f)return"P0D";var p=f<0?"-":"",h=Tr(this._months)!==Tr(f)?"-":"",m=Tr(this._days)!==Tr(f)?"-":"",g=Tr(this._milliseconds)!==Tr(f)?"-":"";return p+"P"+(a?h+a+"Y":"")+(s?h+s+"M":"")+(l?m+l+"D":"")+(c||u||d?"T":"")+(c?g+c+"H":"")+(u?g+u+"M":"")+(d?g+d+"S":"")}var Er,Ar;Ar=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;r68?1900:2e3)};var _i,yi=re("FullYear",!0);_i=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;tthis?this:e:g()}),Gi=function(){return Date.now?Date.now():+new Date},Zi=["year","quarter","month","week","day","hour","minute","second","millisecond"];Nt("Z",":"),Nt("ZZ",""),Y("Z",ii),Y("ZZ",ii),X(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=zt(ii,e)});var Ki=/([\+\-]|\d\d)/gi;n.updateOffset=function(){};var Xi=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Qi=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;Xt.fn=Ot.prototype,Xt.invalid=jt;var Ji=tn(1,"add"),eo=tn(-1,"subtract");n.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",n.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var to=S("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)});W(0,["gg",2],0,function(){return this.weekYear()%100}),W(0,["GG",2],0,function(){return this.isoWeekYear()%100}),zn("gggg","weekYear"),zn("ggggg","weekYear"),zn("GGGG","isoWeekYear"),zn("GGGGG","isoWeekYear"),N("weekYear","gg"),N("isoWeekYear","GG"),q("weekYear",1),q("isoWeekYear",1),Y("G",ni),Y("g",ni),Y("GG",Zr,Ur),Y("gg",Zr,Ur),Y("GGGG",Jr,Yr),Y("gggg",Jr,Yr),Y("GGGGG",ei,Gr),Y("ggggg",ei,Gr),Q(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=x(e)}),Q(["gg","GG"],function(e,t,r,i){t[i]=n.parseTwoDigitYear(e)}),W("Q",0,"Qo","quarter"),N("quarter","Q"),q("quarter",7),Y("Q",Hr),X("Q",function(e,t){t[ui]=3*(x(e)-1)}),W("D",["DD",2],"Do","date"),N("date","D"),q("date",9),Y("D",Zr),Y("DD",Zr,Ur),Y("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),X(["D","DD"],di),X("Do",function(e,t){t[di]=x(e.match(Zr)[0],10)});var no=re("Date",!0);W("DDD",["DDDD",3],"DDDo","dayOfYear"),N("dayOfYear","DDD"),q("dayOfYear",4),Y("DDD",Qr),Y("DDDD",Vr),X(["DDD","DDDD"],function(e,t,n){n._dayOfYear=x(e)}),W("m",["mm",2],0,"minute"),N("minute","m"),q("minute",14),Y("m",Zr),Y("mm",Zr,Ur),X(["m","mm"],pi);var ro=re("Minutes",!1);W("s",["ss",2],0,"second"),N("second","s"),q("second",15),Y("s",Zr),Y("ss",Zr,Ur),X(["s","ss"],hi);var io=re("Seconds",!1);W("S",0,0,function(){return~~(this.millisecond()/100)}),W(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),W(0,["SSS",3],0,"millisecond"),W(0,["SSSS",4],0,function(){return 10*this.millisecond()}),W(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),W(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),W(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),W(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),W(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),N("millisecond","ms"),q("millisecond",16),Y("S",Qr,Hr),Y("SS",Qr,Ur),Y("SSS",Qr,Vr);var oo;for(oo="SSSS";oo.length<=9;oo+="S")Y(oo,ti);for(oo="S";oo.length<=9;oo+="S")X(oo,Vn);var ao=re("Milliseconds",!1);W("z",0,0,"zoneAbbr"),W("zz",0,0,"zoneName");var so=_.prototype;so.add=Ji,so.calendar=on,so.clone=an,so.diff=pn,so.endOf=Tn,so.format=_n,so.from=yn,so.fromNow=bn,so.to=xn,so.toNow=wn,so.get=ae,so.invalidAt=Pn,so.isAfter=sn,so.isBefore=ln,so.isBetween=cn,so.isSame=un,so.isSameOrAfter=dn,so.isSameOrBefore=fn,so.isValid=On,so.lang=to,so.locale=kn,so.localeData=Sn,so.max=Yi,so.min=Vi,so.parsingFlags=Fn,so.set=se,so.startOf=Cn,so.subtract=eo,so.toArray=Ln,so.toObject=Dn,so.toDate=An,so.toISOString=gn,so.inspect=vn,so.toJSON=jn,so.toString=mn,so.unix=En,so.valueOf=Mn,so.creationData=Nn,so.year=yi,so.isLeapYear=ne,so.weekYear=In,so.isoWeekYear=qn,so.quarter=so.quarters=Hn,so.month=me,so.daysInMonth=ge,so.week=so.weeks=Ae,so.isoWeek=so.isoWeeks=Le,so.weeksInYear=$n,so.isoWeeksInYear=Rn,so.date=no,so.day=so.days=Ie,so.weekday=qe,so.isoWeekday=Re,so.dayOfYear=Un,so.hour=so.hours=Fi,so.minute=so.minutes=ro,so.second=so.seconds=io,so.millisecond=so.milliseconds=ao,so.utcOffset=Rt,so.utc=Wt,so.local=Bt,so.parseZone=Ht,so.hasAlignedHourOffset=Ut,so.isDST=Vt,so.isLocal=Gt,so.isUtcOffset=Zt,so.isUtc=Kt,so.isUTC=Kt,so.zoneAbbr=Yn,so.zoneName=Gn,so.dates=S("dates accessor is deprecated. Use date instead.",no),so.months=S("months accessor is deprecated. Use month instead",me),so.years=S("years accessor is deprecated. Use year instead",yi),so.zone=S("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",$t),so.isDSTShifted=S("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Yt);var lo=A.prototype;lo.calendar=L,lo.longDateFormat=D,lo.invalidDate=j,lo.ordinal=O,lo.preparse=Xn,lo.postformat=Xn,lo.relativeTime=F,lo.pastFuture=P,lo.set=M,lo.months=ue,lo.monthsShort=de,lo.monthsParse=pe,lo.monthsRegex=_e,lo.monthsShortRegex=ve,lo.week=Te,lo.firstDayOfYear=Ee,lo.firstDayOfWeek=Me,lo.weekdays=Oe,lo.weekdaysMin=Pe,lo.weekdaysShort=Fe,lo.weekdaysParse=ze,lo.weekdaysRegex=$e,lo.weekdaysShortRegex=We,lo.weekdaysMinRegex=Be,lo.isPM=Ze,lo.meridiem=Ke,et("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===x(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),n.lang=S("moment.lang is deprecated. Use moment.locale instead.",et),n.langData=S("moment.langData is deprecated. Use moment.localeData instead.",rt);var co=Math.abs,uo=gr("ms"),fo=gr("s"),po=gr("m"),ho=gr("h"),mo=gr("d"),go=gr("w"),vo=gr("M"),_o=gr("y"),yo=yr("milliseconds"),bo=yr("seconds"),xo=yr("minutes"),wo=yr("hours"),ko=yr("days"),So=yr("months"),Co=yr("years"),To=Math.round,Mo={ss:44,s:45,m:45,h:22,d:26,M:11},Eo=Math.abs,Ao=Ot.prototype;return Ao.isValid=Dt,Ao.abs=ar,Ao.add=lr,Ao.subtract=cr,Ao.as=hr,Ao.asMilliseconds=uo,Ao.asSeconds=fo,Ao.asMinutes=po,Ao.asHours=ho,Ao.asDays=mo,Ao.asWeeks=go,Ao.asMonths=vo,Ao.asYears=_o,Ao.valueOf=mr,Ao._bubble=dr,Ao.clone=vr,Ao.get=_r,Ao.milliseconds=yo,Ao.seconds=bo,Ao.minutes=xo,Ao.hours=wo,Ao.days=ko,Ao.weeks=br,Ao.months=So,Ao.years=Co,Ao.humanize=Cr,Ao.toISOString=Mr,Ao.toString=Mr,Ao.toJSON=Mr,Ao.locale=kn,Ao.localeData=Sn,Ao.toIsoString=S("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Mr),Ao.lang=to,W("X",0,0,"unix"),W("x",0,0,"valueOf"),Y("x",ni),Y("X",oi),X("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),X("x",function(e,t,n){n._d=new Date(x(e))}),n.version="2.19.1",function(e){Er=e}(Tt),n.fn=so,n.min=Et,n.max=At,n.now=Gi,n.utc=f,n.unix=Zn,n.months=tr,n.isDate=l,n.locale=et,n.invalid=g,n.duration=Xt,n.isMoment=y,n.weekdays=rr,n.parseZone=Kn,n.localeData=rt,n.isDuration=Ft,n.monthsShort=nr,n.weekdaysMin=or,n.defineLocale=tt,n.updateLocale=nt,n.locales=it,n.weekdaysShort=ir,n.normalizeUnits=z,n.relativeTimeRounding=kr,n.relativeTimeThreshold=Sr,n.calendarFormat=rn,n.prototype=so,n})},{}],440:[function(e,t,n){function r(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function o(e){if(d===setTimeout)return setTimeout(e,0);if((d===r||!d)&&setTimeout)return d=setTimeout,setTimeout(e,0);try{return d(e,0)}catch(t){try{return d.call(null,e,0)}catch(t){return d.call(this,e,0)}}}function a(e){if(f===clearTimeout)return clearTimeout(e);if((f===i||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(e);try{return f(e)}catch(t){try{return f.call(null,e)}catch(t){return f.call(this,e)}}}function s(){g&&h&&(g=!1,h.length?m=h.concat(m):v=-1,m.length&&l())}function l(){if(!g){var e=o(s);g=!0;for(var t=m.length;t;){for(h=m,m=[];++v1)for(var n=1;n1&&(r=n[0]+"@",e=n[1]),e=e.replace(j,"."),r+o(e.split("."),t).join(".")}function s(e){for(var t,n,r=[],i=0,o=e.length;i=55296&&t<=56319&&i65535&&(e-=65536,t+=N(e>>>10&1023|55296),e=56320|1023&e),t+=N(e)}).join("")}function c(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:w}function u(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function d(e,t,n){var r=0;for(e=n?P(e/T):e>>1,e+=P(e/t);e>F*S>>1;r+=w)e=P(e/F);return P(r+(F+1)*e/(e+C))}function f(e){var t,n,r,o,a,s,u,f,p,h,m=[],g=e.length,v=0,_=E,y=M;for(n=e.lastIndexOf(A),n<0&&(n=0),r=0;r=128&&i("not-basic"),m.push(e.charCodeAt(r));for(o=n>0?n+1:0;o=g&&i("invalid-input"),f=c(e.charCodeAt(o++)),(f>=w||f>P((x-v)/s))&&i("overflow"),v+=f*s,p=u<=y?k:u>=y+S?S:u-y,!(fP(x/h)&&i("overflow"),s*=h;t=m.length+1,y=d(v-a,t,0==a),P(v/t)>x-_&&i("overflow"),_+=P(v/t),v%=t,m.splice(v++,0,_)}return l(m)}function p(e){var t,n,r,o,a,l,c,f,p,h,m,g,v,_,y,b=[];for(e=s(e),g=e.length,t=E,n=0,a=M,l=0;l=t&&mP((x-n)/v)&&i("overflow"),n+=(c-t)*v,t=c,l=0;lx&&i("overflow"),m==t){for(f=n,p=w;h=p<=a?k:p>=a+S?S:p-a,!(f= 0x80 (not a basic code point)","invalid-input":"Invalid input"},F=w-k,P=Math.floor,N=String.fromCharCode;if(y={version:"1.4.1",ucs2:{decode:s,encode:l},decode:f,encode:p,toASCII:m,toUnicode:h},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",function(){return y});else if(g&&v)if(t.exports==g)v.exports=y;else for(b in y)y.hasOwnProperty(b)&&(g[b]=y[b]);else r.punycode=y}(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],442:[function(e,t,n){(function(e){!function(e){"use strict";function n(e,t,n,r){var o=t&&t.prototype instanceof i?t:i,a=Object.create(o.prototype),s=new p(r||[]);return a._invoke=c(e,n,s),a}function r(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function i(){}function o(){}function a(){}function s(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function l(t){function n(e,i,o,a){var s=r(t[e],t,i);if("throw"!==s.type){var l=s.arg,c=l.value;return c&&"object"==typeof c&&_.call(c,"__await")?Promise.resolve(c.__await).then(function(e){n("next",e,o,a)},function(e){n("throw",e,o,a)}):Promise.resolve(c).then(function(e){l.value=e,o(l)},a)}a(s.arg)}function i(e,t){function r(){return new Promise(function(r,i){n(e,t,r,i)})}return o=o?o.then(r,r):r()}"object"==typeof e.process&&e.process.domain&&(n=e.process.domain.bind(n));var o;this._invoke=i}function c(e,t,n){var i=C;return function(o,a){if(i===M)throw new Error("Generator is already running");if(i===E){if("throw"===o)throw a;return m()}for(n.method=o,n.arg=a;;){var s=n.delegate;if(s){var l=u(s,n);if(l){if(l===A)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===C)throw i=E,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=M;var c=r(e,t,n);if("normal"===c.type){if(i=n.done?E:T,c.arg===A)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(i=E,n.method="throw",n.arg=c.arg)}}}function u(e,t){var n=e.iterator[t.method];if(n===g){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=g,u(e,t),"throw"===t.method))return A;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return A}var i=r(n,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,A;var o=i.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=g),t.delegate=null,A):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,A)}function d(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function f(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function p(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(d,this),this.reset(!0)}function h(e){if(e){var t=e[b];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n=0;--r){var i=this.tryEntries[r],o=i.completion;if("root"===i.tryLoc)return t("end");if(i.tryLoc<=this.prev){var a=_.call(i,"catchLoc"),s=_.call(i,"finallyLoc");if(a&&s){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&_.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),f(n),A}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;f(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:h(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=g),A}}}("object"==typeof e?e:"object"==typeof window?window:"object"==typeof self?self:this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],443:[function(e,t,n){function r(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName){var n=e.hasAttribute("readonly");n||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),n||e.removeAttribute("readonly"),t=e.value}else{e.hasAttribute("contenteditable")&&e.focus();var r=window.getSelection(),i=document.createRange();i.selectNodeContents(e),r.removeAllRanges(),r.addRange(i),t=r.toString()}return t}t.exports=r},{}],444:[function(e,t,n){!function(e){"use strict";"function"==typeof define&&define.amd?define(e):void 0!==t&&void 0!==t.exports?t.exports=e():window.Sortable=e()}(function(){"use strict";function e(t,n){if(!t||!t.nodeType||1!==t.nodeType)throw"Sortable: `el` must be HTMLElement, and not "+{}.toString.call(t);this.el=t,this.options=n=y({},n),t[Y]=this;var r={group:Math.random(),sort:!0,disabled:!1,store:null,handle:null,scroll:!0,scrollSensitivity:30,scrollSpeed:10,draggable:/[uo]l/i.test(t.nodeName)?"li":">*",ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,setData:function(e,t){e.setData("Text",t.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==e.supportPointer};for(var i in r)!(i in n)&&(n[i]=r[i]);ue(n);for(var a in this)"_"===a.charAt(0)&&"function"==typeof this[a]&&(this[a]=this[a].bind(this));this.nativeDraggable=!n.forceFallback&&ne,o(t,"mousedown",this._onTapStart),o(t,"touchstart",this._onTapStart),n.supportPointer&&o(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(o(t,"dragover",this),o(t,"dragenter",this)),le.push(this._onDragOver),n.store&&this.sort(n.store.get(this))}function t(e,t){"clone"!==e.lastPullMode&&(t=!0),M&&M.state!==t&&(l(M,"display",t?"none":""),t||M.state&&(e.options.group.revertClone?(E.insertBefore(M,A),e._animate(S,M)):E.insertBefore(M,S)),M.state=t)}function n(e,t,n){if(e){n=n||Z;do{if(">*"===t&&e.parentNode===n||v(e,t))return e}while(e=r(e))}return null}function r(e){var t=e.host;return t&&t.nodeType?t:e.parentNode}function i(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.preventDefault()}function o(e,t,n){e.addEventListener(t,n,ee)}function a(e,t,n){e.removeEventListener(t,n,ee)}function s(e,t,n){if(e)if(e.classList)e.classList[n?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(U," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(U," ")}}function l(e,t,n){var r=e&&e.style;if(r){if(void 0===n)return Z.defaultView&&Z.defaultView.getComputedStyle?n=Z.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),void 0===t?n:n[t];t in r||(t="-webkit-"+t),r[t]=n+("string"==typeof n?"":"px")}}function c(e,t,n){if(e){var r=e.getElementsByTagName(t),i=0,o=r.length;if(n)for(;i5||t.clientX-(r.left+r.width)>5}function m(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,r=0;n--;)r+=t.charCodeAt(n);return r.toString(36)}function g(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e&&(e=e.previousElementSibling);)"TEMPLATE"===e.nodeName.toUpperCase()||">*"!==t&&!v(e,t)||n++;return n}function v(e,t){if(e){t=t.split(".");var n=t.shift().toUpperCase(),r=new RegExp("\\s("+t.join("|")+")(?=\\s)","g");return!(""!==n&&e.nodeName.toUpperCase()!=n||t.length&&((" "+e.className+" ").match(r)||[]).length!=t.length)}return!1}function _(e,t){var n,r;return function(){void 0===n&&(n=arguments,r=this,X(function(){1===n.length?e.call(r,n[0]):e.apply(r,n),n=void 0},t))}}function y(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function b(e){return J&&J.dom?J.dom(e).cloneNode(!0):Q?Q(e).clone(!0)[0]:e.cloneNode(!0)}function x(e){for(var t=e.getElementsByTagName("input"),n=t.length;n--;){var r=t[n];r.checked&&se.push(r)}}function w(e){return X(e,0)}function k(e){return clearTimeout(e)}if("undefined"==typeof window||!window.document)return function(){throw new Error("Sortable.js requires a window with a document")};var S,C,T,M,E,A,L,D,j,O,F,P,N,z,I,q,R,$,W,B,H={},U=/\s+/g,V=/left|right|inline/,Y="Sortable"+(new Date).getTime(),G=window,Z=G.document,K=G.parseInt,X=G.setTimeout,Q=G.jQuery||G.Zepto,J=G.Polymer,ee=!1,te=!1,ne="draggable"in Z.createElement("div"),re=function(e){return!navigator.userAgent.match(/(?:Trident.*rv[ :]?11\.|msie)/i)&&(e=Z.createElement("x"),e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents)}(),ie=!1,oe=Math.abs,ae=Math.min,se=[],le=[],ce=_(function(e,t,n){if(n&&t.scroll){var r,i,o,a,s,l,c=n[Y],u=t.scrollSensitivity,d=t.scrollSpeed,f=e.clientX,p=e.clientY,h=window.innerWidth,m=window.innerHeight;if(j!==n&&(D=t.scroll,j=n,O=t.scrollFn,!0===D)){D=n;do{if(D.offsetWidth-1:i==e)}}var n={},r=e.group;r&&"object"==typeof r||(r={name:r}),n.name=r.name,n.checkPull=t(r.pull,!0),n.checkPut=t(r.put),n.revertClone=r.revertClone,e.group=n};try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){te=!1,ee={capture:!1,passive:te}}}))}catch(e){}return e.prototype={constructor:e,_onTapStart:function(e){var t,r=this,i=this.el,o=this.options,a=o.preventOnFilter,s=e.type,l=e.touches&&e.touches[0],c=(l||e).target,d=e.target.shadowRoot&&e.path&&e.path[0]||c,f=o.filter;if(x(i),!S&&!(/mousedown|pointerdown/.test(s)&&0!==e.button||o.disabled)&&!d.isContentEditable&&(c=n(c,o.draggable,i))&&L!==c){if(t=g(c,o.draggable),"function"==typeof f){if(f.call(this,e,c,this))return u(r,d,"filter",c,i,i,t),void(a&&e.preventDefault())}else if(f&&(f=f.split(",").some(function(e){if(e=n(d,e.trim(),i))return u(r,e,"filter",c,i,i,t),!0})))return void(a&&e.preventDefault());o.handle&&!n(d,o.handle,i)||this._prepareDragStart(e,l,c,t)}},_prepareDragStart:function(e,t,n,r){var i,a=this,l=a.el,d=a.options,p=l.ownerDocument;n&&!S&&n.parentNode===l&&($=e,E=l,S=n,C=S.parentNode,A=S.nextSibling,L=n,q=d.group,z=r,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,S.style["will-change"]="all",i=function(){a._disableDelayedDrag(),S.draggable=a.nativeDraggable,s(S,d.chosenClass,!0),a._triggerDragStart(e,t),u(a,E,"choose",S,E,E,z)},d.ignore.split(",").forEach(function(e){c(S,e.trim(),f)}),o(p,"mouseup",a._onDrop),o(p,"touchend",a._onDrop),o(p,"touchcancel",a._onDrop),o(p,"selectstart",a),d.supportPointer&&o(p,"pointercancel",a._onDrop),d.delay?(o(p,"mouseup",a._disableDelayedDrag),o(p,"touchend",a._disableDelayedDrag),o(p,"touchcancel",a._disableDelayedDrag),o(p,"mousemove",a._disableDelayedDrag),o(p,"touchmove",a._disableDelayedDrag),d.supportPointer&&o(p,"pointermove",a._disableDelayedDrag),a._dragStartTimer=X(i,d.delay)):i())},_disableDelayedDrag:function(){var e=this.el.ownerDocument;clearTimeout(this._dragStartTimer),a(e,"mouseup",this._disableDelayedDrag),a(e,"touchend",this._disableDelayedDrag),a(e,"touchcancel",this._disableDelayedDrag),a(e,"mousemove",this._disableDelayedDrag),a(e,"touchmove",this._disableDelayedDrag),a(e,"pointermove",this._disableDelayedDrag)},_triggerDragStart:function(e,t){t=t||("touch"==e.pointerType?e:null),t?($={target:S,clientX:t.clientX,clientY:t.clientY},this._onDragStart($,"touch")):this.nativeDraggable?(o(S,"dragend",this),o(E,"dragstart",this._onDragStart)):this._onDragStart($,!0);try{Z.selection?w(function(){Z.selection.empty()}):window.getSelection().removeAllRanges()}catch(e){}},_dragStarted:function(){if(E&&S){var t=this.options;s(S,t.ghostClass,!0),s(S,t.dragClass,!1),e.active=this,u(this,E,"start",S,E,E,z)}else this._nulling()},_emulateDragOver:function(){if(W){if(this._lastX===W.clientX&&this._lastY===W.clientY)return;this._lastX=W.clientX,this._lastY=W.clientY,re||l(T,"display","none");var e=Z.elementFromPoint(W.clientX,W.clientY),t=e,n=le.length;if(e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(W.clientX,W.clientY),t=e),t)do{if(t[Y]){for(;n--;)le[n]({clientX:W.clientX,clientY:W.clientY,target:e,rootEl:t});break}e=t}while(t=t.parentNode);re||l(T,"display","")}},_onTouchMove:function(t){if($){var n=this.options,r=n.fallbackTolerance,i=n.fallbackOffset,o=t.touches?t.touches[0]:t,a=o.clientX-$.clientX+i.x,s=o.clientY-$.clientY+i.y,c=t.touches?"translate3d("+a+"px,"+s+"px,0)":"translate("+a+"px,"+s+"px)";if(!e.active){if(r&&ae(oe(o.clientX-this._lastX),oe(o.clientY-this._lastY))S.offsetWidth,k=i.offsetHeight>S.offsetHeight,L=(x?(r.clientX-a.left)/y:(r.clientY-a.top)/b)>.5,D=i.nextElementSibling,j=!1;if(x){var O=S.offsetTop,z=i.offsetTop;j=O===z?i.previousElementSibling===S&&!w||L&&w:i.previousElementSibling===S||S.previousElementSibling===i?(r.clientY-a.top)/b>.5:z>O}else v||(j=D!==S&&!k||L&&k);var I=d(E,c,S,o,i,a,r,j);!1!==I&&(1!==I&&-1!==I||(j=1===I),ie=!0,X(p,30),t(m,g),S.contains(c)||(j&&!D?c.appendChild(S):i.parentNode.insertBefore(S,j?D:i)),C=S.parentNode,this._animate(o,S),this._animate(a,i))}}},_animate:function(e,t){var n=this.options.animation;if(n){var r=t.getBoundingClientRect();1===e.nodeType&&(e=e.getBoundingClientRect()),l(t,"transition","none"),l(t,"transform","translate3d("+(e.left-r.left)+"px,"+(e.top-r.top)+"px,0)"),t.offsetWidth,l(t,"transition","all "+n+"ms"),l(t,"transform","translate3d(0,0,0)"),clearTimeout(t.animated),t.animated=X(function(){l(t,"transition",""),l(t,"transform",""),t.animated=!1},n)}},_offUpEvents:function(){var e=this.el.ownerDocument;a(Z,"touchmove",this._onTouchMove),a(Z,"pointermove",this._onTouchMove),a(e,"mouseup",this._onDrop),a(e,"touchend",this._onDrop),a(e,"pointerup",this._onDrop),a(e,"touchcancel",this._onDrop),a(e,"pointercancel",this._onDrop),a(e,"selectstart",this)},_onDrop:function(t){var n=this.el,r=this.options;clearInterval(this._loopId),clearInterval(H.pid),clearTimeout(this._dragStartTimer),k(this._cloneId),k(this._dragStartId),a(Z,"mouseover",this),a(Z,"mousemove",this._onTouchMove),this.nativeDraggable&&(a(Z,"drop",this),a(n,"dragstart",this._onDragStart)),this._offUpEvents(),t&&(B&&(t.preventDefault(),!r.dropBubble&&t.stopPropagation()),T&&T.parentNode&&T.parentNode.removeChild(T),E!==C&&"clone"===e.active.lastPullMode||M&&M.parentNode&&M.parentNode.removeChild(M),S&&(this.nativeDraggable&&a(S,"dragend",this),f(S),S.style["will-change"]="",s(S,this.options.ghostClass,!1),s(S,this.options.chosenClass,!1),u(this,E,"unchoose",S,C,E,z),E!==C?(I=g(S,r.draggable))>=0&&(u(null,C,"add",S,C,E,z,I),u(this,E,"remove",S,C,E,z,I),u(null,C,"sort",S,C,E,z,I),u(this,E,"sort",S,C,E,z,I)):S.nextSibling!==A&&(I=g(S,r.draggable))>=0&&(u(this,E,"update",S,C,E,z,I),u(this,E,"sort",S,C,E,z,I)),e.active&&(null!=I&&-1!==I||(I=z),u(this,E,"end",S,C,E,z,I),this.save()))),this._nulling()},_nulling:function(){E=S=C=T=A=M=L=D=j=$=W=B=I=F=P=R=q=e.active=null,se.forEach(function(e){e.checked=!0}),se.length=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragover":case"dragenter":S&&(this._onDragOver(e),i(e));break;case"mouseover":this._onDrop(e);break;case"selectstart":e.preventDefault()}},toArray:function(){for(var e,t=[],r=this.el.children,i=0,o=r.length,a=this.options;i=0&&Math.floor(t)===t&&isFinite(e)}function d(e){return null==e?"":"object"==typeof e?JSON.stringify(e,null,2):String(e)}function f(e){var t=parseFloat(e);return isNaN(t)?e:t}function p(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i-1)return e.splice(n,1)}}function m(e,t){return no.call(e,t)}function g(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}function v(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n}function _(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function y(e,t){for(var n in t)e[n]=t[n];return e}function b(e){for(var t={},n=0;n0&&(s=he(s,(t||"")+"_"+o),pe(s[0])&&pe(c)&&(u[l]=D(c.text+s[0].text),s.shift()),u.push.apply(u,s)):a(s)?pe(c)?u[l]=D(c.text+s):""!==s&&u.push(D(s)):pe(s)&&pe(c)?u[l]=D(c.text+s.text):(i(e._isVList)&&r(s.tag)&&n(s.key)&&r(t)&&(s.key="__vlist"+t+"_"+o+"__"),u.push(s)));return u}function me(e,t){return(e.__esModule||jo&&"Module"===e[Symbol.toStringTag])&&(e=e.default),s(e)?t.extend(e):e}function ge(e,t,n,r,i){var o=qo();return o.asyncFactory=e,o.asyncMeta={data:t,context:n,children:r,tag:i},o}function ve(e,t,o){if(i(e.error)&&r(e.errorComp))return e.errorComp;if(r(e.resolved))return e.resolved;if(i(e.loading)&&r(e.loadingComp))return e.loadingComp;if(!r(e.contexts)){var a=e.contexts=[o],l=!0,c=function(){for(var e=0,t=a.length;eca&&ia[n].id>e.id;)n--;ia.splice(n+1,0,e)}else ia.push(e);sa||(sa=!0,oe(Pe))}}function Re(e){fa.clear(),$e(e,fa)}function $e(e,t){var n,r,i=Array.isArray(e);if((i||s(e))&&Object.isExtensible(e)){if(e.__ob__){var o=e.__ob__.dep.id;if(t.has(o))return;t.add(o)}if(i)for(n=e.length;n--;)$e(e[n],t);else for(r=Object.keys(e),n=r.length;n--;)$e(e[r[n]],t)}}function We(e,t,n){pa.get=function(){return this[t][n]},pa.set=function(e){this[t][n]=e},Object.defineProperty(e,n,pa)}function Be(e){e._watchers=[];var t=e.$options;t.props&&He(e,t.props),t.methods&&Ke(e,t.methods),t.data?Ue(e):N(e._data={},!0),t.computed&&Ye(e,t.computed),t.watch&&t.watch!==Co&&Xe(e,t.watch)}function He(e,t){var n=e.$options.propsData||{},r=e._props={},i=e.$options._propKeys=[],o=!e.$parent;Bo.shouldConvert=o;for(var a in t)!function(o){i.push(o);var a=K(o,t,n,e);z(r,o,a),o in e||We(e,"_props",o)}(a);Bo.shouldConvert=!0}function Ue(e){var t=e.$options.data;t=e._data="function"==typeof t?Ve(t,e):t||{},l(t)||(t={});for(var n=Object.keys(t),r=e.$options.props,i=(e.$options.methods,n.length);i--;){var o=n[i];r&&m(r,o)||C(o)||We(e,"_data",o)}N(t,!0)}function Ve(e,t){try{return e.call(t,t)}catch(e){return ee(e,t,"data()"),{}}}function Ye(e,t){var n=e._computedWatchers=Object.create(null),r=Lo();for(var i in t){var o=t[i],a="function"==typeof o?o:o.get;r||(n[i]=new da(e,a||x,x,ha)),i in e||Ge(e,i,o)}}function Ge(e,t,n){var r=!Lo();"function"==typeof n?(pa.get=r?Ze(t):n,pa.set=x):(pa.get=n.get?r&&!1!==n.cache?Ze(t):n.get:x,pa.set=n.set?n.set:x),Object.defineProperty(e,t,pa)}function Ze(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),Po.target&&t.depend(),t.value}}function Ke(e,t){e.$options.props;for(var n in t)e[n]=null==t[n]?x:v(t[n],e)}function Xe(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var i=0;i=0||n.indexOf(e[i])<0)&&r.push(e[i]);return r}return e}function At(e){this._init(e)}function Lt(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=_(arguments,1);return n.unshift(this),"function"==typeof e.install?e.install.apply(e,n):"function"==typeof e&&e.apply(null,n),t.push(e),this}}function Dt(e){e.mixin=function(e){return this.options=G(this.options,e),this}}function jt(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,r=n.cid,i=e._Ctor||(e._Ctor={});if(i[r])return i[r];var o=e.name||n.options.name,a=function(e){this._init(e)};return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=t++,a.options=G(n.options,e),a.super=n,a.options.props&&Ot(a),a.options.computed&&Ft(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,fo.forEach(function(e){a[e]=n[e]}),o&&(a.options.components[o]=a), +a.superOptions=n.options,a.extendOptions=e,a.sealedOptions=y({},a.options),i[r]=a,a}}function Ot(e){var t=e.options.props;for(var n in t)We(e.prototype,"_props",n)}function Ft(e){var t=e.options.computed;for(var n in t)Ge(e.prototype,n,t[n])}function Pt(e){fo.forEach(function(t){e[t]=function(e,n){return n?("component"===t&&l(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"==typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}})}function Nt(e){return e&&(e.Ctor.options.name||e.tag)}function zt(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"==typeof e?e.split(",").indexOf(t)>-1:!!c(e)&&e.test(t)}function It(e,t){var n=e.cache,r=e.keys,i=e._vnode;for(var o in n){var a=n[o];if(a){var s=Nt(a.componentOptions);s&&!t(s)&&qt(n,o,r,i)}}}function qt(e,t,n,r){var i=e[t];i&&i!==r&&i.componentInstance.$destroy(),e[t]=null,h(n,t)}function Rt(e){for(var t=e.data,n=e,i=e;r(i.componentInstance);)i=i.componentInstance._vnode,i.data&&(t=$t(i.data,t));for(;r(n=n.parent);)n.data&&(t=$t(t,n.data));return Wt(t.staticClass,t.class)}function $t(e,t){return{staticClass:Bt(e.staticClass,t.staticClass),class:r(e.class)?[e.class,t.class]:t.class}}function Wt(e,t){return r(e)||r(t)?Bt(e,Ht(t)):""}function Bt(e,t){return e?t?e+" "+t:e:t||""}function Ht(e){return Array.isArray(e)?Ut(e):s(e)?Vt(e):"string"==typeof e?e:""}function Ut(e){for(var t,n="",i=0,o=e.length;i-1?Va[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Va[e]=/HTMLUnknownElement/.test(t.toString())}function Zt(e){if("string"==typeof e){var t=document.querySelector(e);return t||document.createElement("div")}return e}function Kt(e,t){var n=document.createElement(e);return"select"!==e?n:(t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)}function Xt(e,t){return document.createElementNS($a[e],t)}function Qt(e){return document.createTextNode(e)}function Jt(e){return document.createComment(e)}function en(e,t,n){e.insertBefore(t,n)}function tn(e,t){e.removeChild(t)}function nn(e,t){e.appendChild(t)}function rn(e){return e.parentNode}function on(e){return e.nextSibling}function an(e){return e.tagName}function sn(e,t){e.textContent=t}function ln(e,t,n){e.setAttribute(t,n)}function cn(e,t){var n=e.data.ref;if(n){var r=e.context,i=e.componentInstance||e.elm,o=r.$refs;t?Array.isArray(o[n])?h(o[n],i):o[n]===i&&(o[n]=void 0):e.data.refInFor?Array.isArray(o[n])?o[n].indexOf(i)<0&&o[n].push(i):o[n]=[i]:o[n]=i}}function un(e,t){return e.key===t.key&&(e.tag===t.tag&&e.isComment===t.isComment&&r(e.data)===r(t.data)&&dn(e,t)||i(e.isAsyncPlaceholder)&&e.asyncFactory===t.asyncFactory&&n(t.asyncFactory.error))}function dn(e,t){if("input"!==e.tag)return!0;var n,i=r(n=e.data)&&r(n=n.attrs)&&n.type,o=r(n=t.data)&&r(n=n.attrs)&&n.type;return i===o||Ya(i)&&Ya(o)}function fn(e,t,n){var i,o,a={};for(i=t;i<=n;++i)o=e[i].key,r(o)&&(a[o]=i);return a}function pn(e,t){(e.data.directives||t.data.directives)&&hn(e,t)}function hn(e,t){var n,r,i,o=e===Ka,a=t===Ka,s=mn(e.data.directives,e.context),l=mn(t.data.directives,t.context),c=[],u=[];for(n in l)r=s[n],i=l[n],r?(i.oldValue=r.value,vn(i,"update",t,e),i.def&&i.def.componentUpdated&&u.push(i)):(vn(i,"bind",t,e),i.def&&i.def.inserted&&c.push(i));if(c.length){var d=function(){for(var n=0;n=0&&" "===(g=e.charAt(m));m--);g&&rs.test(g)||(u=!0)}}else void 0===o?(h=i+1,o=e.slice(0,i).trim()):t();if(void 0===o?o=e.slice(0,i).trim():0!==h&&t(),a)for(i=0;i-1?{exp:e.slice(0,Ta),key:'"'+e.slice(Ta+1)+'"'}:{exp:e,key:null};for(Sa=e,Ta=Ma=Ea=0;!Pn();)Ca=Fn(),Nn(Ca)?In(Ca):91===Ca&&zn(Ca);return{exp:e.slice(0,Ma),key:e.slice(Ma+1,Ea)}}function Fn(){return Sa.charCodeAt(++Ta)}function Pn(){return Ta>=ka}function Nn(e){return 34===e||39===e}function zn(e){var t=1;for(Ma=Ta;!Pn();)if(e=Fn(),Nn(e))In(e);else if(91===e&&t++,93===e&&t--,0===t){Ea=Ta;break}}function In(e){for(var t=e;!Pn()&&(e=Fn())!==t;);}function qn(e,t,n){Aa=n;var r=t.value,i=t.modifiers,o=e.tag,a=e.attrsMap.type;if(e.component)return Dn(e,r,i),!1;if("select"===o)Wn(e,r,i);else if("input"===o&&"checkbox"===a)Rn(e,r,i);else if("input"===o&&"radio"===a)$n(e,r,i);else if("input"===o||"textarea"===o)Bn(e,r,i);else if(!ho.isReservedTag(o))return Dn(e,r,i),!1;return!0}function Rn(e,t,n){var r=n&&n.number,i=An(e,"value")||"null",o=An(e,"true-value")||"true",a=An(e,"false-value")||"false";Cn(e,"checked","Array.isArray("+t+")?_i("+t+","+i+")>-1"+("true"===o?":("+t+")":":_q("+t+","+o+")")),En(e,"change","var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+a+");if(Array.isArray($$a)){var $$v="+(r?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+t+"=$$a.concat([$$v]))}else{$$i>-1&&("+t+"=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{"+jn(t,"$$c")+"}",null,!0)}function $n(e,t,n){var r=n&&n.number,i=An(e,"value")||"null";i=r?"_n("+i+")":i,Cn(e,"checked","_q("+t+","+i+")"),En(e,"change",jn(t,i),null,!0)}function Wn(e,t,n){var r=n&&n.number,i='Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(r?"_n(val)":"val")+"})",o="var $$selectedVal = "+i+";";o=o+" "+jn(t,"$event.target.multiple ? $$selectedVal : $$selectedVal[0]"),En(e,"change",o,null,!0)}function Bn(e,t,n){var r=e.attrsMap.type,i=n||{},o=i.lazy,a=i.number,s=i.trim,l=!o&&"range"!==r,c=o?"change":"range"===r?is:"input",u="$event.target.value";s&&(u="$event.target.value.trim()"),a&&(u="_n("+u+")");var d=jn(t,u);l&&(d="if($event.target.composing)return;"+d),Cn(e,"value","("+t+")"),En(e,c,d,null,!0),(s||a)&&En(e,"blur","$forceUpdate()")}function Hn(e){if(r(e[is])){var t=bo?"change":"input";e[t]=[].concat(e[is],e[t]||[]),delete e[is]}r(e[os])&&(e.change=[].concat(e[os],e.change||[]),delete e[os])}function Un(e,t,n){var r=La;return function i(){null!==e.apply(null,arguments)&&Yn(t,i,n,r)}}function Vn(e,t,n,r,i){t=ie(t),n&&(t=Un(t,e,r)),La.addEventListener(e,t,To?{capture:r,passive:i}:r)}function Yn(e,t,n,r){(r||La).removeEventListener(e,t._withTask||t,n)}function Gn(e,t){if(!n(e.data.on)||!n(t.data.on)){var r=t.data.on||{},i=e.data.on||{};La=t.elm,Hn(r),se(r,i,Vn,Yn,t.context),La=void 0}}function Zn(e,t){if(!n(e.data.domProps)||!n(t.data.domProps)){var i,o,a=t.elm,s=e.data.domProps||{},l=t.data.domProps||{};r(l.__ob__)&&(l=t.data.domProps=y({},l));for(i in s)n(l[i])&&(a[i]="");for(i in l){if(o=l[i],"textContent"===i||"innerHTML"===i){if(t.children&&(t.children.length=0),o===s[i])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===i){a._value=o;var c=n(o)?"":String(o);Kn(a,c)&&(a.value=c)}else a[i]=o}}}function Kn(e,t){return!e.composing&&("OPTION"===e.tagName||Xn(e,t)||Qn(e,t))}function Xn(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}function Qn(e,t){var n=e.value,i=e._vModifiers;return r(i)&&i.number?f(n)!==f(t):r(i)&&i.trim?n.trim()!==t.trim():n!==t}function Jn(e){var t=er(e.style);return e.staticStyle?y(e.staticStyle,t):t}function er(e){return Array.isArray(e)?b(e):"string"==typeof e?ls(e):e}function tr(e,t){var n,r={};if(t)for(var i=e;i.componentInstance;)i=i.componentInstance._vnode,i.data&&(n=Jn(i.data))&&y(r,n);(n=Jn(e.data))&&y(r,n);for(var o=e;o=o.parent;)o.data&&(n=Jn(o.data))&&y(r,n);return r}function nr(e,t){var i=t.data,o=e.data;if(!(n(i.staticStyle)&&n(i.style)&&n(o.staticStyle)&&n(o.style))){var a,s,l=t.elm,c=o.staticStyle,u=o.normalizedStyle||o.style||{},d=c||u,f=er(t.data.style)||{};t.data.normalizedStyle=r(f.__ob__)?y({},f):f;var p=tr(t,!0);for(s in d)n(p[s])&&ds(l,s,"");for(s in p)(a=p[s])!==d[s]&&ds(l,s,null==a?"":a)}}function rr(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(/\s+/).forEach(function(t){return e.classList.add(t)}):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function ir(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(/\s+/).forEach(function(t){return e.classList.remove(t)}):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");n=n.trim(),n?e.setAttribute("class",n):e.removeAttribute("class")}}function or(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&y(t,ms(e.name||"v")),y(t,e),t}return"string"==typeof e?ms(e):void 0}}function ar(e){ks(function(){ks(e)})}function sr(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),rr(e,t))}function lr(e,t){e._transitionClasses&&h(e._transitionClasses,t),ir(e,t)}function cr(e,t,n){var r=ur(e,t),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===vs?bs:ws,l=0,c=function(){e.removeEventListener(s,u),n()},u=function(t){t.target===e&&++l>=a&&c()};setTimeout(function(){l0&&(n=vs,u=a,d=o.length):t===_s?c>0&&(n=_s,u=c,d=l.length):(u=Math.max(a,c),n=u>0?a>c?vs:_s:null,d=n?n===vs?o.length:l.length:0),{type:n,timeout:u,propCount:d,hasTransform:n===vs&&Ss.test(r[ys+"Property"])}}function dr(e,t){for(;e.length1}function vr(e,t){!0!==t.data.show&&pr(t)}function _r(e,t,n){yr(e,t,n),(bo||wo)&&setTimeout(function(){yr(e,t,n)},0)}function yr(e,t,n){var r=t.value,i=e.multiple;if(!i||Array.isArray(r)){for(var o,a,s=0,l=e.options.length;s-1,a.selected!==o&&(a.selected=o);else if(w(xr(a),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));i||(e.selectedIndex=-1)}}function br(e,t){return t.every(function(t){return!w(t,e)})}function xr(e){return"_value"in e?e._value:e.value}function wr(e){e.target.composing=!0}function kr(e){e.target.composing&&(e.target.composing=!1,Sr(e.target,"input"))}function Sr(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function Cr(e){return!e.componentInstance||e.data&&e.data.transition?e:Cr(e.componentInstance._vnode)}function Tr(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?Tr(ye(t.children)):e}function Mr(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var i=n._parentListeners;for(var o in i)t[io(o)]=i[o];return t}function Er(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}function Ar(e){for(;e=e.parent;)if(e.data.transition)return!0}function Lr(e,t){return t.key===e.key&&t.tag===e.tag}function Dr(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function jr(e){e.data.newPos=e.elm.getBoundingClientRect()}function Or(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,i=t.top-n.top;if(r||i){e.data.moved=!0;var o=e.elm.style;o.transform=o.WebkitTransform="translate("+r+"px,"+i+"px)",o.transitionDuration="0s"}}function Fr(e,t){var n=t?Rs(t):Is;if(n.test(e)){for(var r,i,o=[],a=n.lastIndex=0;r=n.exec(e);){i=r.index,i>a&&o.push(JSON.stringify(e.slice(a,i)));var s=xn(r[1].trim());o.push("_s("+s+")"),a=i+r[0].length}return a=0&&a[i].lowerCasedTag!==s;i--);else i=0;if(i>=0){for(var l=a.length-1;l>=i;l--)t.end&&t.end(a[l].tag,n,r);a.length=i,o=i&&a[i-1].tag}else"br"===s?t.start&&t.start(e,[],!0,n,r):"p"===s&&(t.start&&t.start(e,[],!1,n,r),t.end&&t.end(e,n,r))}for(var i,o,a=[],s=t.expectHTML,l=t.isUnaryTag||lo,c=t.canBeLeftOpenTag||lo,u=0;e;){if(i=e,o&&hl(o)){var d=0,f=o.toLowerCase(),p=ml[f]||(ml[f]=new RegExp("([\\s\\S]*?)(]*>)","i")),h=e.replace(p,function(e,n,r){return d=r.length,hl(f)||"noscript"===f||(n=n.replace(//g,"$1").replace(//g,"$1")),bl(f,n)&&(n=n.slice(1)),t.chars&&t.chars(n),""});u+=e.length-h.length,e=h,r(f,u-d,u)}else{var m=e.indexOf("<");if(0===m){if(el.test(e)){var g=e.indexOf("--\x3e");if(g>=0){t.shouldKeepComment&&t.comment(e.substring(4,g)),n(g+3);continue}}if(tl.test(e)){var v=e.indexOf("]>");if(v>=0){n(v+2);continue}}var _=e.match(Js);if(_){n(_[0].length);continue}var y=e.match(Qs);if(y){var b=u;n(y[0].length),r(y[1],b,u);continue}var x=function(){var t=e.match(Ks);if(t){var r={tagName:t[1],attrs:[],start:u};n(t[0].length);for(var i,o;!(i=e.match(Xs))&&(o=e.match(Ys));)n(o[0].length),r.attrs.push(o);if(i)return r.unarySlash=i[1],n(i[0].length),r.end=u,r}}();if(x){!function(e){var n=e.tagName,i=e.unarySlash;s&&("p"===o&&Vs(n)&&r(o),c(n)&&o===n&&r(n));for(var u=l(n)||!!i,d=e.attrs.length,f=new Array(d),p=0;p=0){for(k=e.slice(m);!(Qs.test(k)||Ks.test(k)||el.test(k)||tl.test(k)||(S=k.indexOf("<",1))<0);)m+=S,k=e.slice(m);w=e.substring(0,m),n(m)}m<0&&(w=e,e=""),t.chars&&w&&t.chars(w)}if(e===i){t.chars&&t.chars(e);break}}r()}function $r(e,t,n){return{type:1,tag:e,attrsList:t,attrsMap:oi(t),parent:n,children:[]}}function Wr(e,t){function n(e){e.pre&&(s=!1),ll(e.tag)&&(l=!1)}rl=t.warn||kn,ll=t.isPreTag||lo,cl=t.mustUseProp||lo,ul=t.getTagNamespace||lo,ol=Sn(t.modules,"transformNode"),al=Sn(t.modules,"preTransformNode"),sl=Sn(t.modules,"postTransformNode"),il=t.delimiters;var r,i,o=[],a=!1!==t.preserveWhitespace,s=!1,l=!1;return Rr(e,{warn:rl,expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,canBeLeftOpenTag:t.canBeLeftOpenTag,shouldDecodeNewlines:t.shouldDecodeNewlines,shouldDecodeNewlinesForHref:t.shouldDecodeNewlinesForHref,shouldKeepComment:t.comments,start:function(e,a,c){var u=i&&i.ns||ul(e);bo&&"svg"===u&&(a=li(a));var d=$r(e,a,i);u&&(d.ns=u),si(d)&&!Lo()&&(d.forbidden=!0);for(var f=0;f':'
    ',pl.innerHTML.indexOf(" ")>0}function Qi(e){if(e.outerHTML)return e.outerHTML;var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}var Ji=Object.prototype.toString,eo=p("slot,component",!0),to=p("key,ref,slot,slot-scope,is"),no=Object.prototype.hasOwnProperty,ro=/-(\w)/g,io=g(function(e){return e.replace(ro,function(e,t){return t?t.toUpperCase():""})}),oo=g(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),ao=/\B([A-Z])/g,so=g(function(e){return e.replace(ao,"-$1").toLowerCase()}),lo=function(e,t,n){return!1},co=function(e){return e},uo="data-server-rendered",fo=["component","directive","filter"],po=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured"],ho={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:lo,isReservedAttr:lo,isUnknownElement:lo,getTagNamespace:x,parsePlatformTagName:co,mustUseProp:lo,_lifecycleHooks:po},mo=Object.freeze({}),go=/[^\w.$]/,vo="__proto__"in{},_o="undefined"!=typeof window,yo=_o&&window.navigator.userAgent.toLowerCase(),bo=yo&&/msie|trident/.test(yo),xo=yo&&yo.indexOf("msie 9.0")>0,wo=yo&&yo.indexOf("edge/")>0,ko=yo&&yo.indexOf("android")>0,So=yo&&/iphone|ipad|ipod|ios/.test(yo),Co=(yo&&/chrome\/\d+/.test(yo),{}.watch),To=!1;if(_o)try{var Mo={};Object.defineProperty(Mo,"passive",{get:function(){To=!0}}),window.addEventListener("test-passive",null,Mo)}catch(e){}var Eo,Ao,Lo=function(){return void 0===Eo&&(Eo=!_o&&void 0!==e&&"server"===e.process.env.VUE_ENV),Eo},Do=_o&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,jo="undefined"!=typeof Symbol&&E(Symbol)&&"undefined"!=typeof Reflect&&E(Reflect.ownKeys);Ao="undefined"!=typeof Set&&E(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var Oo=x,Fo=0,Po=function(){this.id=Fo++,this.subs=[]};Po.prototype.addSub=function(e){this.subs.push(e)},Po.prototype.removeSub=function(e){h(this.subs,e)},Po.prototype.depend=function(){Po.target&&Po.target.addDep(this)},Po.prototype.notify=function(){for(var e=this.subs.slice(),t=0,n=e.length;t1?_(n):n;for(var r=_(arguments,1),i=0,o=n.length;iparseInt(this.max)&&qt(i,o[0],o,this._vnode)),e.data.keepAlive=!0}return e}},wa={KeepAlive:xa};!function(e){var t={};t.get=function(){return ho},Object.defineProperty(e,"config",t),e.util={warn:Oo,extend:y,mergeOptions:G,defineReactive:z},e.set=I,e.delete=q,e.nextTick=oe,e.options=Object.create(null),fo.forEach(function(t){e.options[t+"s"]=Object.create(null)}),e.options._base=e,y(e.options.components,wa),Lt(e),Dt(e),jt(e),Pt(e)}(At),Object.defineProperty(At.prototype,"$isServer",{get:Lo}),Object.defineProperty(At.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),At.version="2.5.3";var ka,Sa,Ca,Ta,Ma,Ea,Aa,La,Da,ja=p("style,class"),Oa=p("input,textarea,option,select,progress"),Fa=function(e,t,n){return"value"===n&&Oa(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},Pa=p("contenteditable,draggable,spellcheck"),Na=p("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),za="http://www.w3.org/1999/xlink",Ia=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},qa=function(e){return Ia(e)?e.slice(6,e.length):""},Ra=function(e){return null==e||!1===e},$a={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Wa=p("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),Ba=p("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Ha=function(e){return"pre"===e},Ua=function(e){return Wa(e)||Ba(e)},Va=Object.create(null),Ya=p("text,number,password,search,email,tel,url"),Ga=Object.freeze({createElement:Kt,createElementNS:Xt,createTextNode:Qt,createComment:Jt,insertBefore:en,removeChild:tn,appendChild:nn,parentNode:rn,nextSibling:on,tagName:an,setTextContent:sn,setAttribute:ln}),Za={create:function(e,t){cn(t)},update:function(e,t){e.data.ref!==t.data.ref&&(cn(e,!0),cn(t))},destroy:function(e){cn(e,!0)}},Ka=new zo("",{},[]),Xa=["create","activate","update","remove","destroy"],Qa={create:pn,update:pn,destroy:function(e){pn(e,Ka)}},Ja=Object.create(null),es=[Za,Qa],ts={create:_n,update:_n},ns={create:bn,update:bn},rs=/[\w).+\-_$\]]/,is="__r",os="__c",as={create:Gn,update:Gn},ss={create:Zn,update:Zn},ls=g(function(e){var t={},n=/;(?![^(]*\))/g,r=/:(.+)/;return e.split(n).forEach(function(e){if(e){var n=e.split(r);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}),cs=/^--/,us=/\s*!important$/,ds=function(e,t,n){if(cs.test(t))e.style.setProperty(t,n);else if(us.test(n))e.style.setProperty(t,n.replace(us,""),"important");else{var r=ps(t);if(Array.isArray(n))for(var i=0,o=n.length;ih?(d=n(i[v+1])?null:i[v+1].elm,_(e,d,i,p,v,o)):p>v&&b(e,t,f,h)}function k(e,t,n,i){for(var o=n;o\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Gs="[a-zA-Z_][\\w\\-\\.]*",Zs="((?:"+Gs+"\\:)?"+Gs+")",Ks=new RegExp("^<"+Zs),Xs=/^\s*(\/?)>/,Qs=new RegExp("^<\\/"+Zs+"[^>]*>"),Js=/^]+>/i,el=/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(i.source+"\\s*$"),/^$/,!1]];t.exports=function(e,t,n,r){var i,a,s,l,c=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(c))return!1;for(l=e.src.slice(c,u),i=0;i=4)return!1;for(f=e.parentType,e.parentType="paragraph";p3)){if(e.sCount[p]>=e.blkIndent&&(l=e.bMarks[p]+e.tShift[p],c=e.eMarks[p],l=c))){u=61===d?1:2;break}if(!(e.sCount[p]<0)){for(i=!1,o=0,a=h.length;o=o)return-1;if((n=e.src.charCodeAt(i++))<48||n>57)return-1;for(;;){if(i>=o)return-1;n=e.src.charCodeAt(i++);{if(!(n>=48&&n<=57)){if(41===n||46===n)break;return-1}if(i-r>=10)return-1}}return i=4)return!1;if(a&&"paragraph"===e.parentType&&e.tShift[t]>=e.blkIndent&&(P=!0),(A=i(e,t))>=0){if(p=!0,D=e.bMarks[t]+e.tShift[t],y=Number(e.src.substr(D,A-D-1)),P&&1!==y)return!1}else{if(!((A=r(e,t))>=0))return!1;p=!1}if(P&&e.skipSpaces(A)>=e.eMarks[t])return!1;if(_=e.src.charCodeAt(A-1),a)return!0;for(v=e.tokens.length,p?(F=e.push("ordered_list_open","ol",1),1!==y&&(F.attrs=[["start",y]])):F=e.push("bullet_list_open","ul",1),F.map=g=[t,0],F.markup=String.fromCharCode(_),x=t,L=!1,O=e.md.block.ruler.getRules("list"),C=e.parentType,e.parentType="list";x=b?1:w-f,d>4&&(d=1),u=f+d,F=e.push("list_item_open","li",1),F.markup=String.fromCharCode(_),F.map=h=[t,0],k=e.blkIndent,M=e.tight,T=e.tShift[t],S=e.sCount[t],e.blkIndent=u,e.tight=!0,e.tShift[t]=l-e.bMarks[t],e.sCount[t]=w,l>=b&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,t,n,!0),e.tight&&!L||(N=!1),L=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=k,e.tShift[t]=T,e.sCount[t]=S,e.tight=M,F=e.push("list_item_close","li",-1),F.markup=String.fromCharCode(_),x=t=e.line,h[1]=x,l=e.bMarks[t],x>=n)break;if(e.sCount[x]3||e.sCount[l]<0)){for(r=!1,i=0,o=c.length;i=4)return!1;if(91!==e.src.charCodeAt(k))return!1;for(;++k3||e.sCount[C]<0)){for(y=!1,d=0,f=b.length;d0&&this.level++,this.tokens.push(r),r},r.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},r.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;et;)if(!o(this.src.charCodeAt(--e)))return e+1;return e},r.prototype.skipChars=function(e,t){for(var n=this.src.length;en;)if(t!==this.src.charCodeAt(--e))return e+1;return e},r.prototype.getLines=function(e,t,n,r){var i,a,s,l,c,u,d,f=e;if(e>=t)return"";for(u=new Array(t-e),i=0;fn?new Array(a-n+1).join(" ")+this.src.slice(l,c):this.src.slice(l,c)}return u.join("")},r.prototype.Token=i,t.exports=r},{"../common/utils":385,"../token":432}],410:[function(e,t,n){"use strict";function r(e,t){var n=e.bMarks[t]+e.blkIndent,r=e.eMarks[t];return e.src.substr(n,r-n)}function i(e){var t,n=[],r=0,i=e.length,o=0,a=0,s=!1,l=0;for(t=e.charCodeAt(r);rn)return!1;if(d=t+1,e.sCount[d]=4)return!1;if((c=e.bMarks[d]+e.tShift[d])>=e.eMarks[d])return!1;if(124!==(s=e.src.charCodeAt(c++))&&45!==s&&58!==s)return!1;for(;c=4)return!1;if(f=i(l.replace(/^\||\|$/g,"")),(p=f.length)>m.length)return!1;if(a)return!0;for(h=e.push("table_open","table",1),h.map=v=[t,0],h=e.push("thead_open","thead",1),h.map=[t,t+1],h=e.push("tr_open","tr",1),h.map=[t,t+1],u=0;u=4);d++){for(f=i(l.replace(/^\||\|$/g,"")),h=e.push("tr_open","tr",1),u=0;u\s]/i.test(e)}function i(e){return/^<\/a\s*>/i.test(e)}var o=e("../common/utils").arrayReplaceAt;t.exports=function(e){var t,n,a,s,l,c,u,d,f,p,h,m,g,v,_,y,b,x=e.tokens;if(e.md.options.linkify)for(n=0,a=x.length;n=0;t--)if(c=s[t],"link_close"!==c.type){if("html_inline"===c.type&&(r(c.content)&&g>0&&g--,i(c.content)&&g++),!(g>0)&&"text"===c.type&&e.md.linkify.test(c.content)){for(f=c.content,b=e.md.linkify.match(f),u=[],m=c.level,h=0,d=0;dh&&(l=new e.Token("text","",0),l.content=f.slice(h,p),l.level=m,u.push(l)),l=new e.Token("link_open","a",1),l.attrs=[["href",_]],l.level=m++,l.markup="linkify",l.info="auto",u.push(l),l=new e.Token("text","",0),l.content=y,l.level=m,u.push(l),l=new e.Token("link_close","a",-1),l.level=--m,l.markup="linkify",l.info="auto",u.push(l),h=b[d].lastIndex);h=0;t--)n=e[t],"text"!==n.type||i||(n.content=n.content.replace(l,r)),"link_open"===n.type&&"auto"===n.info&&i--,"link_close"===n.type&&"auto"===n.info&&i++}function o(e){var t,n,r=0;for(t=e.length-1;t>=0;t--)n=e[t],"text"!==n.type||r||a.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/gm,"$1—$2").replace(/(^|\s)--(\s|$)/gm,"$1–$2").replace(/(^|[^-\s])--([^-\s]|$)/gm,"$1–$2")),"link_open"===n.type&&"auto"===n.info&&r--,"link_close"===n.type&&"auto"===n.info&&r++}var a=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,s=/\((c|tm|r|p)\)/i,l=/\((c|tm|r|p)\)/gi,c={c:"©",r:"®",p:"§",tm:"™"};t.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&(s.test(e.tokens[t].content)&&i(e.tokens[t].children),a.test(e.tokens[t].content)&&o(e.tokens[t].children))}},{}],416:[function(e,t,n){"use strict";function r(e,t,n){return e.substr(0,t)+n+e.substr(t+1)}function i(e,t){var n,i,l,d,f,p,h,m,g,v,_,y,b,x,w,k,S,C,T,M,E;for(T=[],n=0;n=0&&!(T[S].level<=h);S--);if(T.length=S+1,"text"===i.type){l=i.content,f=0,p=l.length;e:for(;f=0)g=l.charCodeAt(d.index-1);else for(S=n-1;S>=0;S--)if("text"===e[S].type){g=e[S].content.charCodeAt(e[S].content.length-1);break}if(v=32,f=48&&g<=57&&(k=w=!1),w&&k&&(w=!1,k=y),w||k){if(k)for(S=T.length-1;S>=0&&(m=T[S],!(T[S].level=0;t--)"inline"===e.tokens[t].type&&l.test(e.tokens[t].content)&&i(e.tokens[t].children,e)}},{"../common/utils":385}],417:[function(e,t,n){"use strict";function r(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}var i=e("../token");r.prototype.Token=i,t.exports=r},{"../token":432}],418:[function(e,t,n){"use strict";var r=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,i=/^<([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)>/;t.exports=function(e,t){var n,o,a,s,l,c,u=e.pos;return 60===e.src.charCodeAt(u)&&(n=e.src.slice(u),!(n.indexOf(">")<0)&&(i.test(n)?(o=n.match(i),s=o[0].slice(1,-1),l=e.md.normalizeLink(s),!!e.md.validateLink(l)&&(t||(c=e.push("link_open","a",1),c.attrs=[["href",l]],c.markup="autolink",c.info="auto",c=e.push("text","",0),c.content=e.md.normalizeLinkText(s),c=e.push("link_close","a",-1),c.markup="autolink",c.info="auto"),e.pos+=o[0].length,!0)):!!r.test(n)&&(a=n.match(r),s=a[0].slice(1,-1),l=e.md.normalizeLink("mailto:"+s),!!e.md.validateLink(l)&&(t||(c=e.push("link_open","a",1),c.attrs=[["href",l]],c.markup="autolink",c.info="auto",c=e.push("text","",0),c.content=e.md.normalizeLinkText(s),c=e.push("link_close","a",-1),c.markup="autolink",c.info="auto"),e.pos+=a[0].length,!0))))}},{}],419:[function(e,t,n){"use strict";t.exports=function(e,t){var n,r,i,o,a,s,l=e.pos;if(96!==e.src.charCodeAt(l))return!1;for(n=l,l++,r=e.posMax;l=0;){if(i=o[n],i.open&&i.marker===r.marker&&i.end<0&&i.level===r.level){var s=(i.close||r.open)&&void 0!==i.length&&void 0!==r.length&&(i.length+r.length)%3==0;if(!s){r.jump=t-n,r.open=!1,i.end=t,i.jump=0;break}}n-=i.jump+1}}},{}],421:[function(e,t,n){"use strict";t.exports.tokenize=function(e,t){var n,r,i,o=e.pos,a=e.src.charCodeAt(o);if(t)return!1;if(95!==a&&42!==a)return!1;for(r=e.scanDelims(e.pos,42===a),n=0;n=0;t--)n=s[t],95!==n.marker&&42!==n.marker||-1!==n.end&&(r=s[n.end],a=t>0&&s[t-1].end===n.end+1&&s[t-1].token===n.token-1&&s[n.end+1].token===r.token+1&&s[t-1].marker===n.marker,o=String.fromCharCode(n.marker),i=e.tokens[n.token],i.type=a?"strong_open":"em_open",i.tag=a?"strong":"em",i.nesting=1,i.markup=a?o+o:o,i.content="",i=e.tokens[r.token],i.type=a?"strong_close":"em_close",i.tag=a?"strong":"em",i.nesting=-1,i.markup=a?o+o:o,i.content="",a&&(e.tokens[s[t-1].token].content="",e.tokens[s[n.end+1].token].content="",t--))}},{}],422:[function(e,t,n){"use strict";var r=e("../common/entities"),i=e("../common/utils").has,o=e("../common/utils").isValidEntityCode,a=e("../common/utils").fromCodePoint,s=/^&#((?:x[a-f0-9]{1,8}|[0-9]{1,8}));/i,l=/^&([a-z][a-z0-9]{1,31});/i;t.exports=function(e,t){var n,c,u=e.pos,d=e.posMax;if(38!==e.src.charCodeAt(u))return!1;if(u+1?@[]^_`{|}~-".split("").forEach(function(e){i[e.charCodeAt(0)]=1}),t.exports=function(e,t){var n,o=e.pos,a=e.posMax;if(92!==e.src.charCodeAt(o))return!1;if(++o=97&&t<=122}var i=e("../common/html_re").HTML_TAG_RE;t.exports=function(e,t){var n,o,a,s,l=e.pos;return!!e.md.options.html&&(a=e.posMax,!(60!==e.src.charCodeAt(l)||l+2>=a)&&(!(33!==(n=e.src.charCodeAt(l+1))&&63!==n&&47!==n&&!r(n))&&(!!(o=e.src.slice(l).match(i))&&(t||(s=e.push("html_inline","",0),s.content=e.src.slice(l,l+o[0].length)),e.pos+=o[0].length,!0))))}},{"../common/html_re":384}],425:[function(e,t,n){"use strict";var r=e("../common/utils").normalizeReference,i=e("../common/utils").isSpace;t.exports=function(e,t){var n,o,a,s,l,c,u,d,f,p,h,m,g,v="",_=e.pos,y=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(c=e.pos+2,(l=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((u=l+1)=y)return!1;for(g=u,f=e.md.helpers.parseLinkDestination(e.src,u,e.posMax),f.ok&&(v=e.md.normalizeLink(f.str),e.md.validateLink(v)?u=f.pos:v=""),g=u;u=y||41!==e.src.charCodeAt(u))return e.pos=_,!1;u++}else{if(void 0===e.env.references)return!1;if(u=0?s=e.src.slice(g,u++):u=l+1):u=l+1,s||(s=e.src.slice(c,l)),!(d=e.env.references[r(s)]))return e.pos=_,!1;v=d.href,p=d.title}return t||(a=e.src.slice(c,l),e.md.inline.parse(a,e.md,e.env,m=[]),h=e.push("image","img",0),h.attrs=n=[["src",v],["alt",""]],h.children=m,h.content=a,p&&n.push(["title",p])),e.pos=u,e.posMax=y,!0}},{"../common/utils":385}],426:[function(e,t,n){"use strict";var r=e("../common/utils").normalizeReference,i=e("../common/utils").isSpace;t.exports=function(e,t){var n,o,a,s,l,c,u,d,f,p,h="",m=e.pos,g=e.posMax,v=e.pos,_=!0;if(91!==e.src.charCodeAt(e.pos))return!1;if(l=e.pos+1,(s=e.md.helpers.parseLinkLabel(e,e.pos,!0))<0)return!1;if((c=s+1)=g)return!1;for(v=c,u=e.md.helpers.parseLinkDestination(e.src,c,e.posMax),u.ok&&(h=e.md.normalizeLink(u.str),e.md.validateLink(h)?c=u.pos:h=""),v=c;c=g||41!==e.src.charCodeAt(c))&&(_=!0),c++}if(_){if(void 0===e.env.references)return!1;if(c=0?a=e.src.slice(v,c++):c=s+1):c=s+1,a||(a=e.src.slice(l,s)),!(d=e.env.references[r(a)]))return e.pos=m,!1;h=d.href,f=d.title}return t||(e.pos=l,e.posMax=s,p=e.push("link_open","a",1),p.attrs=n=[["href",h]],f&&n.push(["title",f]),e.md.inline.tokenize(e),p=e.push("link_close","a",-1)),e.pos=c,e.posMax=g,!0}},{"../common/utils":385}],427:[function(e,t,n){"use strict";var r=e("../common/utils").isSpace;t.exports=function(e,t){var n,i,o=e.pos;if(10!==e.src.charCodeAt(o))return!1;for(n=e.pending.length-1,i=e.posMax,t||(n>=0&&32===e.pending.charCodeAt(n)?n>=1&&32===e.pending.charCodeAt(n-1)?(e.pending=e.pending.replace(/ +$/,""),e.push("hardbreak","br",0)):(e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0)):e.push("softbreak","br",0)),o++;o0&&this.level++,this.pendingLevel=this.level,this.tokens.push(r),r},r.prototype.scanDelims=function(e,t){var n,r,i,l,c,u,d,f,p,h=e,m=!0,g=!0,v=this.posMax,_=this.src.charCodeAt(e);for(n=e>0?this.src.charCodeAt(e-1):32;h=0&&(n=this.attrs[t][1]),n},r.prototype.attrJoin=function(e,t){var n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=this.attrs[n][1]+" "+t},t.exports=r},{}],433:[function(e,t,n){"use strict";function r(e){var t,n,r=o[e];if(r)return r;for(r=o[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),r.push(n);for(t=0;t=55296&&l<=57343?"���":String.fromCharCode(l),t+=6):240==(248&i)&&t+91114111?c+="����":(l-=65536,c+=String.fromCharCode(55296+(l>>10),56320+(1023&l))),t+=9):c+="�";return c})}var o={};i.defaultChars=";/?:@&=+$,#",i.componentChars="",t.exports=i},{}],434:[function(e,t,n){"use strict";function r(e){var t,n,r=o[e];if(r)return r;for(r=o[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),/^[0-9a-z]$/i.test(n)?r.push(n):r.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t=55296&&s<=57343){if(s>=55296&&s<=56319&&o+1=56320&&l<=57343){u+=encodeURIComponent(e[o]+e[o+1]),o++;continue}u+="%EF%BF%BD"}else u+=encodeURIComponent(e[o]);return u}var o={};i.defaultChars=";/?:@&=+$,-_.!~*'()#",i.componentChars="-_.!~*'()",t.exports=i},{}],435:[function(e,t,n){"use strict";t.exports=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""}},{}],436:[function(e,t,n){"use strict";t.exports.encode=e("./encode"),t.exports.decode=e("./decode"),t.exports.format=e("./format"),t.exports.parse=e("./parse")},{"./decode":433,"./encode":434,"./format":435,"./parse":437}],437:[function(e,t,n){"use strict";function r(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}function i(e,t){if(e&&e instanceof r)return e;var n=new r;return n.parse(e,t),n}var o=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,s=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,l=["<",">",'"',"`"," ","\r","\n","\t"],c=["{","}","|","\\","^","`"].concat(l),u=["'"].concat(c),d=["%","/","?",";","#"].concat(u),f=["/","?","#"],p=/^[+a-z0-9A-Z_-]{0,63}$/,h=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,m={javascript:!0,"javascript:":!0},g={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};r.prototype.parse=function(e,t){var n,r,i,a,l,c=e;if(c=c.trim(),!t&&1===e.split("#").length){var u=s.exec(c);if(u)return this.pathname=u[1],u[2]&&(this.search=u[2]),this}var v=o.exec(c);if(v&&(v=v[0],i=v.toLowerCase(),this.protocol=v,c=c.substr(v.length)),(t||v||c.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(l="//"===c.substr(0,2))||v&&m[v]||(c=c.substr(2),this.slashes=!0)),!m[v]&&(l||v&&!g[v])){var _=-1;for(n=0;n127?C+="x":C+=S[T];if(!C.match(p)){var E=k.slice(0,n),A=k.slice(n+1),L=S.match(h);L&&(E.push(L[1]),A.unshift(L[2])),A.length&&(c=A.join(".")+c),this.hostname=E.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),w&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var D=c.indexOf("#");-1!==D&&(this.hash=c.substr(D),c=c.slice(0,D));var j=c.indexOf("?");return-1!==j&&(this.search=c.substr(j),c=c.slice(0,j)),c&&(this.pathname=c),g[i]&&this.hostname&&!this.pathname&&(this.pathname=""),this},r.prototype.parseHost=function(e){var t=a.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},t.exports=i},{}],438:[function(e,t,n){!function(r,i){"object"==typeof n&&void 0!==t&&"function"==typeof e?i(e("../moment")):"function"==typeof define&&define.amd?define(["../moment"],i):i(r.moment)}(this,function(e){"use strict";return e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{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"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})})},{"../moment":439}],439:[function(e,t,n){!function(e,r){"object"==typeof n&&void 0!==t?t.exports=r():"function"==typeof define&&define.amd?define(r):e.moment=r()}(this,function(){"use strict";function n(){return Er.apply(null,arguments)}function r(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function i(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function o(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(e.hasOwnProperty(t))return!1;return!0}function a(e){return void 0===e}function s(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function l(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function c(e,t){var n,r=[];for(n=0;n0)for(n=0;n0?"future":"past"];return T(n)?n(t):n.replace(/%s/i,t)}function N(e,t){var n=e.toLowerCase();Ir[n]=Ir[n+"s"]=Ir[t]=e}function z(e){return"string"==typeof e?Ir[e]||Ir[e.toLowerCase()]:void 0}function I(e){var t,n,r={};for(n in e)u(e,n)&&(t=z(n))&&(r[t]=e[n]);return r}function q(e,t){qr[e]=t}function R(e){var t=[];for(var n in e)t.push({unit:n,priority:qr[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}function $(e,t,n){var r=""+Math.abs(e),i=t-r.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}function W(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(Br[e]=i),t&&(Br[t[0]]=function(){return $(i.apply(this,arguments),t[1],t[2])}),n&&(Br[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function B(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function H(e){var t,n,r=e.match(Rr);for(t=0,n=r.length;t=0&&$r.test(e);)e=e.replace($r,n),$r.lastIndex=0,r-=1;return e}function Y(e,t,n){si[e]=T(t)?t:function(e,r){return e&&n?n:t}}function G(e,t){return u(si,e)?si[e](t._strict,t._locale):new RegExp(Z(e))}function Z(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 X(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),s(t)&&(r=function(e,n){n[t]=x(e)}),n=0;n=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}function xe(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function we(e,t,n){var r=7+t-n;return-(7+xe(e,0,r).getUTCDay()-t)%7+r-1}function ke(e,t,n,r,i){var o,a,s=(7+n-r)%7,l=we(e,r,i),c=1+7*(t-1)+s+l;return c<=0?(o=e-1,a=ee(o)+c):c>ee(e)?(o=e+1,a=c-ee(e)):(o=e,a=c),{year:o,dayOfYear:a}}function Se(e,t,n){var r,i,o=we(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return a<1?(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(ee(e)-r+i)/7}function Te(e){return Se(e,this._week.dow,this._week.doy).week}function Me(){return this._week.dow}function Ee(){return this._week.doy}function Ae(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Le(e){var t=Se(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function De(e,t){return"string"!=typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"==typeof e?e:null):parseInt(e,10)}function je(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Oe(e,t){return e?r(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:r(this._weekdays)?this._weekdays:this._weekdays.standalone}function Fe(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Pe(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Ne(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=f([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?(i=_i.call(this._weekdaysParse,a),-1!==i?i:null):"ddd"===t?(i=_i.call(this._shortWeekdaysParse,a),-1!==i?i:null):(i=_i.call(this._minWeekdaysParse,a),-1!==i?i:null):"dddd"===t?-1!==(i=_i.call(this._weekdaysParse,a))?i:-1!==(i=_i.call(this._shortWeekdaysParse,a))?i:(i=_i.call(this._minWeekdaysParse,a),-1!==i?i:null):"ddd"===t?-1!==(i=_i.call(this._shortWeekdaysParse,a))?i:-1!==(i=_i.call(this._weekdaysParse,a))?i:(i=_i.call(this._minWeekdaysParse,a),-1!==i?i:null):-1!==(i=_i.call(this._minWeekdaysParse,a))?i:-1!==(i=_i.call(this._weekdaysParse,a))?i:(i=_i.call(this._shortWeekdaysParse,a),-1!==i?i:null)}function ze(e,t,n){var r,i,o;if(this._weekdaysParseExact)return Ne.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=f([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 Ie(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=De(e,this.localeData()),this.add(e-t,"d")):t}function qe(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 Re(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=je(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function $e(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||He.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(u(this,"_weekdaysRegex")||(this._weekdaysRegex=Ai),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function We(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||He.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(u(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Li),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Be(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||He.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(u(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Di),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function He(){function e(e,t){return t.length-e.length}var t,n,r,i,o,a=[],s=[],l=[],c=[];for(t=0;t<7;t++)n=f([2e3,1]).day(t),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),o=this.weekdays(n,""),a.push(r),s.push(i),l.push(o),c.push(r),c.push(i),c.push(o);for(a.sort(e),s.sort(e),l.sort(e),c.sort(e),t=0;t<7;t++)s[t]=K(s[t]),l[t]=K(l[t]),c[t]=K(c[t]);this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Ue(){return this.hours()%12||12}function Ve(){return this.hours()||24}function Ye(e,t){W(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function Ge(e,t){return t._meridiemParse}function Ze(e){return"p"===(e+"").toLowerCase().charAt(0)}function Ke(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}function Xe(e){return e?e.toLowerCase().replace("_","-"):e}function Qe(e){for(var t,n,r,i,o=0;o0;){if(r=Je(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&w(i,n,!0)>=t-1)break;t--}o++}return null}function Je(n){var r=null;if(!Ni[n]&&void 0!==t&&t&&t.exports)try{r=ji._abbr;e("./locale/"+n),et(r)}catch(e){}return Ni[n]}function et(e,t){var n;return e&&(n=a(t)?rt(e):tt(e,t))&&(ji=n),ji._abbr}function tt(e,t){if(null!==t){var n=Pi;if(t.abbr=e,null!=Ni[e])C("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=Ni[e]._config;else if(null!=t.parentLocale){if(null==Ni[t.parentLocale])return zi[t.parentLocale]||(zi[t.parentLocale]=[]),zi[t.parentLocale].push({name:e,config:t}),null;n=Ni[t.parentLocale]._config}return Ni[e]=new A(E(n,t)),zi[e]&&zi[e].forEach(function(e){tt(e.name,e.config)}),et(e),Ni[e]}return delete Ni[e],null}function nt(e,t){if(null!=t){var n,r=Pi;null!=Ni[e]&&(r=Ni[e]._config),t=E(r,t),n=new A(t),n.parentLocale=Ni[e],Ni[e]=n,et(e)}else null!=Ni[e]&&(null!=Ni[e].parentLocale?Ni[e]=Ni[e].parentLocale:null!=Ni[e]&&delete Ni[e]);return Ni[e]}function rt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return ji;if(!r(e)){if(t=Je(e))return t;e=[e]}return Qe(e)}function it(){return Or(Ni)}function ot(e){var t,n=e._a;return n&&-2===h(e).overflow&&(t=n[ui]<0||n[ui]>11?ui:n[di]<1||n[di]>ce(n[ci],n[ui])?di:n[fi]<0||n[fi]>24||24===n[fi]&&(0!==n[pi]||0!==n[hi]||0!==n[mi])?fi:n[pi]<0||n[pi]>59?pi:n[hi]<0||n[hi]>59?hi:n[mi]<0||n[mi]>999?mi:-1,h(e)._overflowDayOfYear&&(tdi)&&(t=di),h(e)._overflowWeeks&&-1===t&&(t=gi),h(e)._overflowWeekday&&-1===t&&(t=vi),h(e).overflow=t),e}function at(e,t,n){return null!=e?e:null!=t?t:n}function st(e){var t=new Date(n.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function lt(e){var t,n,r,i,o=[];if(!e._d){for(r=st(e),e._w&&null==e._a[di]&&null==e._a[ui]&&ct(e),null!=e._dayOfYear&&(i=at(e._a[ci],r[ci]),(e._dayOfYear>ee(i)||0===e._dayOfYear)&&(h(e)._overflowDayOfYear=!0),n=xe(i,0,e._dayOfYear),e._a[ui]=n.getUTCMonth(),e._a[di]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=o[t]=r[t];for(;t<7;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[fi]&&0===e._a[pi]&&0===e._a[hi]&&0===e._a[mi]&&(e._nextDay=!0,e._a[fi]=0),e._d=(e._useUTC?xe:be).apply(null,o),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[fi]=24),e._w&&void 0!==e._w.d&&e._w.d!==e._d.getDay()&&(h(e).weekdayMismatch=!0)}}function ct(e){var t,n,r,i,o,a,s,l;if(t=e._w,null!=t.GG||null!=t.W||null!=t.E)o=1,a=4,n=at(t.GG,e._a[ci],Se(Tt(),1,4).year),r=at(t.W,1),((i=at(t.E,1))<1||i>7)&&(l=!0);else{o=e._locale._week.dow,a=e._locale._week.doy;var c=Se(Tt(),o,a);n=at(t.gg,e._a[ci],c.year),r=at(t.w,c.week),null!=t.d?((i=t.d)<0||i>6)&&(l=!0):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(l=!0)):i=o}r<1||r>Ce(n,o,a)?h(e)._overflowWeeks=!0:null!=l?h(e)._overflowWeekday=!0:(s=ke(n,r,i,o,a),e._a[ci]=s.year,e._dayOfYear=s.dayOfYear)}function ut(e){var t,n,r,i,o,a,s=e._i,l=Ii.exec(s)||qi.exec(s);if(l){for(h(e).iso=!0,t=0,n=$i.length;t0&&h(e).unusedInput.push(a),s=s.slice(s.indexOf(r)+r.length),c+=r.length),Br[o]?(r?h(e).empty=!1:h(e).unusedTokens.push(o),J(o,r,e)):e._strict&&!r&&h(e).unusedTokens.push(o);h(e).charsLeftOver=l-c,s.length>0&&h(e).unusedInput.push(s),e._a[fi]<=12&&!0===h(e).bigHour&&e._a[fi]>0&&(h(e).bigHour=void 0),h(e).parsedDateParts=e._a.slice(0),h(e).meridiem=e._meridiem,e._a[fi]=yt(e._locale,e._a[fi],e._meridiem),lt(e),ot(e)}function yt(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(r=e.isPM(n),r&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function bt(e){var t,n,r,i,o;if(0===e._f.length)return h(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;ithis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Yt(){if(!a(this._isDSTShifted))return this._isDSTShifted;var e={};if(v(e,this),e=kt(e),e._a){var t=e._isUTC?f(e._a):Tt(e._a);this._isDSTShifted=this.isValid()&&w(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function Gt(){return!!this.isValid()&&!this._isUTC}function Zt(){return!!this.isValid()&&this._isUTC}function Kt(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function Xt(e,t){var n,r,i,o=e,a=null;return Ft(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:s(e)?(o={},t?o[t]=e:o.milliseconds=e):(a=Xi.exec(e))?(n="-"===a[1]?-1:1,o={y:0,d:x(a[di])*n,h:x(a[fi])*n,m:x(a[pi])*n,s:x(a[hi])*n,ms:x(Pt(1e3*a[mi]))*n}):(a=Qi.exec(e))?(n="-"===a[1]?-1:(a[1],1),o={y:Qt(a[2],n),M:Qt(a[3],n),w:Qt(a[4],n),d:Qt(a[5],n),h:Qt(a[6],n),m:Qt(a[7],n),s:Qt(a[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(i=en(Tt(o.from),Tt(o.to)),o={},o.ms=i.milliseconds,o.M=i.months),r=new Ot(o),Ft(e)&&u(e,"_locale")&&(r._locale=e._locale),r}function Qt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Jt(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 en(e,t){var n;return e.isValid()&&t.isValid()?(t=It(t,e),e.isBefore(t)?n=Jt(e,t):(n=Jt(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function tn(e,t){return function(n,r){var i,o;return null===r||isNaN(+r)||(C(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),n="string"==typeof n?+n:n,i=Xt(n,r),nn(this,i,e),this}}function nn(e,t,r,i){var o=t._milliseconds,a=Pt(t._days),s=Pt(t._months);e.isValid()&&(i=null==i||i,s&&he(e,ie(e,"Month")+s*r),a&&oe(e,"Date",ie(e,"Date")+a*r),o&&e._d.setTime(e._d.valueOf()+o*r),i&&n.updateOffset(e,a||s))}function rn(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function on(e,t){var r=e||Tt(),i=It(r,this).startOf("day"),o=n.calendarFormat(this,i)||"sameElse",a=t&&(T(t[o])?t[o].call(this,r):t[o]);return this.format(a||this.localeData().calendar(o,this,Tt(r)))}function an(){return new _(this)}function sn(e,t){var n=y(e)?e:Tt(e);return!(!this.isValid()||!n.isValid())&&(t=z(a(t)?"millisecond":t),"millisecond"===t?this.valueOf()>n.valueOf():n.valueOf()9999?U(e,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):T(Date.prototype.toISOString)?this.toDate().toISOString():U(e,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}function vn(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="";this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z");var n="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i=t+'[")]';return this.format(n+r+"-MM-DD[T]HH:mm:ss.SSS"+i)}function _n(e){e||(e=this.isUtc()?n.defaultFormatUtc:n.defaultFormat);var t=U(this,e);return this.localeData().postformat(t)}function yn(e,t){return this.isValid()&&(y(e)&&e.isValid()||Tt(e).isValid())?Xt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function bn(e){return this.from(Tt(),e)}function xn(e,t){return this.isValid()&&(y(e)&&e.isValid()||Tt(e).isValid())?Xt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function wn(e){return this.to(Tt(),e)}function kn(e){var t;return void 0===e?this._locale._abbr:(t=rt(e),null!=t&&(this._locale=t),this)}function Sn(){return this._locale}function Cn(e){switch(e=z(e)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===e&&this.weekday(0),"isoWeek"===e&&this.isoWeekday(1),"quarter"===e&&this.month(3*Math.floor(this.month()/3)),this}function Tn(e){return void 0===(e=z(e))||"millisecond"===e?this:("date"===e&&(e="day"),this.startOf(e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms"))}function Mn(){return this._d.valueOf()-6e4*(this._offset||0)}function En(){return Math.floor(this.valueOf()/1e3)}function An(){return new Date(this.valueOf())}function Ln(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Dn(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function jn(){return this.isValid()?this.toISOString():null}function On(){return m(this)}function Fn(){return d({},h(this))}function Pn(){return h(this).overflow}function Nn(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function zn(e,t){W(0,[e,e.length],0,t)}function In(e){return Wn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function qn(e){return Wn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Rn(){return Ce(this.year(),1,4)}function $n(){var e=this.localeData()._week;return Ce(this.year(),e.dow,e.doy)}function Wn(e,t,n,r,i){var o;return null==e?Se(this,r,i).year:(o=Ce(e,r,i),t>o&&(t=o),Bn.call(this,e,t,n,r,i))}function Bn(e,t,n,r,i){var o=ke(e,t,n,r,i),a=xe(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function Hn(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function Un(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}function Vn(e,t){t[mi]=x(1e3*("0."+e))}function Yn(){return this._isUTC?"UTC":""}function Gn(){return this._isUTC?"Coordinated Universal Time":""}function Zn(e){return Tt(1e3*e)}function Kn(){return Tt.apply(null,arguments).parseZone()}function Xn(e){return e}function Qn(e,t,n,r){var i=rt(),o=f().set(r,t);return i[n](o,e)}function Jn(e,t,n){if(s(e)&&(t=e,e=void 0),e=e||"",null!=t)return Qn(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=Qn(e,r,n,"month");return i}function er(e,t,n,r){"boolean"==typeof e?(s(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,s(t)&&(n=t,t=void 0),t=t||"");var i=rt(),o=e?i._week.dow:0;if(null!=n)return Qn(t,(n+o)%7,r,"day");var a,l=[];for(a=0;a<7;a++)l[a]=Qn(t,(a+o)%7,r,"day");return l}function tr(e,t){return Jn(e,t,"months")}function nr(e,t){return Jn(e,t,"monthsShort")}function rr(e,t,n){return er(e,t,n,"weekdays")}function ir(e,t,n){return er(e,t,n,"weekdaysShort")}function or(e,t,n){return er(e,t,n,"weekdaysMin")}function ar(){var e=this._data;return this._milliseconds=co(this._milliseconds),this._days=co(this._days),this._months=co(this._months),e.milliseconds=co(e.milliseconds),e.seconds=co(e.seconds),e.minutes=co(e.minutes),e.hours=co(e.hours),e.months=co(e.months),e.years=co(e.years),this}function sr(e,t,n,r){var i=Xt(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function lr(e,t){return sr(this,e,t,1)}function cr(e,t){return sr(this,e,t,-1)}function ur(e){return e<0?Math.floor(e):Math.ceil(e)}function dr(){var e,t,n,r,i,o=this._milliseconds,a=this._days,s=this._months,l=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*ur(pr(s)+a),a=0,s=0),l.milliseconds=o%1e3,e=b(o/1e3),l.seconds=e%60,t=b(e/60),l.minutes=t%60,n=b(t/60),l.hours=n%24,a+=b(n/24),i=b(fr(a)),s+=i,a-=ur(pr(i)),r=b(s/12),s%=12,l.days=a,l.months=s,l.years=r,this}function fr(e){return 4800*e/146097}function pr(e){return 146097*e/4800}function hr(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=z(e))||"year"===e)return t=this._days+r/864e5,n=this._months+fr(t),"month"===e?n:n/12;switch(t=this._days+Math.round(pr(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 mr(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*x(this._months/12):NaN}function gr(e){return function(){return this.as(e)}}function vr(){return Xt(this)}function _r(e){return e=z(e),this.isValid()?this[e+"s"]():NaN}function yr(e){return function(){return this.isValid()?this._data[e]:NaN}}function br(){return b(this.days()/7)}function xr(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function wr(e,t,n){var r=Xt(e).abs(),i=To(r.as("s")),o=To(r.as("m")),a=To(r.as("h")),s=To(r.as("d")),l=To(r.as("M")),c=To(r.as("y")),u=i<=Mo.ss&&["s",i]||i0,u[4]=n,xr.apply(null,u)}function kr(e){return void 0===e?To:"function"==typeof e&&(To=e,!0)}function Sr(e,t){return void 0!==Mo[e]&&(void 0===t?Mo[e]:(Mo[e]=t,"s"===e&&(Mo.ss=t-1),!0))}function Cr(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),n=wr(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function Tr(e){return(e>0)-(e<0)||+e}function Mr(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r=Eo(this._milliseconds)/1e3,i=Eo(this._days),o=Eo(this._months);e=b(r/60),t=b(e/60),r%=60,e%=60,n=b(o/12),o%=12;var a=n,s=o,l=i,c=t,u=e,d=r?r.toFixed(3).replace(/\.?0+$/,""):"",f=this.asSeconds();if(!f)return"P0D";var p=f<0?"-":"",h=Tr(this._months)!==Tr(f)?"-":"",m=Tr(this._days)!==Tr(f)?"-":"",g=Tr(this._milliseconds)!==Tr(f)?"-":"";return p+"P"+(a?h+a+"Y":"")+(s?h+s+"M":"")+(l?m+l+"D":"")+(c||u||d?"T":"")+(c?g+c+"H":"")+(u?g+u+"M":"")+(d?g+d+"S":"")}var Er,Ar;Ar=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;r68?1900:2e3)};var _i,yi=re("FullYear",!0);_i=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;tthis?this:e:g()}),Gi=function(){return Date.now?Date.now():+new Date},Zi=["year","quarter","month","week","day","hour","minute","second","millisecond"];Nt("Z",":"),Nt("ZZ",""),Y("Z",ii),Y("ZZ",ii),X(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=zt(ii,e)});var Ki=/([\+\-]|\d\d)/gi;n.updateOffset=function(){};var Xi=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Qi=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;Xt.fn=Ot.prototype,Xt.invalid=jt;var Ji=tn(1,"add"),eo=tn(-1,"subtract");n.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",n.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var to=S("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)});W(0,["gg",2],0,function(){return this.weekYear()%100}),W(0,["GG",2],0,function(){return this.isoWeekYear()%100}),zn("gggg","weekYear"),zn("ggggg","weekYear"),zn("GGGG","isoWeekYear"),zn("GGGGG","isoWeekYear"),N("weekYear","gg"),N("isoWeekYear","GG"),q("weekYear",1),q("isoWeekYear",1),Y("G",ni),Y("g",ni),Y("GG",Zr,Ur),Y("gg",Zr,Ur),Y("GGGG",Jr,Yr),Y("gggg",Jr,Yr),Y("GGGGG",ei,Gr),Y("ggggg",ei,Gr),Q(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=x(e)}),Q(["gg","GG"],function(e,t,r,i){t[i]=n.parseTwoDigitYear(e)}),W("Q",0,"Qo","quarter"),N("quarter","Q"),q("quarter",7),Y("Q",Hr),X("Q",function(e,t){t[ui]=3*(x(e)-1)}),W("D",["DD",2],"Do","date"),N("date","D"),q("date",9),Y("D",Zr),Y("DD",Zr,Ur),Y("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),X(["D","DD"],di),X("Do",function(e,t){t[di]=x(e.match(Zr)[0],10)});var no=re("Date",!0);W("DDD",["DDDD",3],"DDDo","dayOfYear"),N("dayOfYear","DDD"),q("dayOfYear",4),Y("DDD",Qr),Y("DDDD",Vr),X(["DDD","DDDD"],function(e,t,n){n._dayOfYear=x(e)}),W("m",["mm",2],0,"minute"),N("minute","m"),q("minute",14),Y("m",Zr),Y("mm",Zr,Ur),X(["m","mm"],pi);var ro=re("Minutes",!1);W("s",["ss",2],0,"second"),N("second","s"),q("second",15),Y("s",Zr),Y("ss",Zr,Ur),X(["s","ss"],hi);var io=re("Seconds",!1);W("S",0,0,function(){return~~(this.millisecond()/100)}),W(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),W(0,["SSS",3],0,"millisecond"),W(0,["SSSS",4],0,function(){return 10*this.millisecond()}),W(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),W(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),W(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),W(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),W(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),N("millisecond","ms"),q("millisecond",16),Y("S",Qr,Hr),Y("SS",Qr,Ur),Y("SSS",Qr,Vr);var oo;for(oo="SSSS";oo.length<=9;oo+="S")Y(oo,ti);for(oo="S";oo.length<=9;oo+="S")X(oo,Vn);var ao=re("Milliseconds",!1);W("z",0,0,"zoneAbbr"),W("zz",0,0,"zoneName");var so=_.prototype;so.add=Ji,so.calendar=on,so.clone=an,so.diff=pn,so.endOf=Tn,so.format=_n,so.from=yn,so.fromNow=bn,so.to=xn,so.toNow=wn,so.get=ae,so.invalidAt=Pn,so.isAfter=sn,so.isBefore=ln,so.isBetween=cn,so.isSame=un,so.isSameOrAfter=dn,so.isSameOrBefore=fn,so.isValid=On,so.lang=to,so.locale=kn,so.localeData=Sn,so.max=Yi,so.min=Vi,so.parsingFlags=Fn,so.set=se,so.startOf=Cn,so.subtract=eo,so.toArray=Ln,so.toObject=Dn,so.toDate=An,so.toISOString=gn,so.inspect=vn,so.toJSON=jn,so.toString=mn,so.unix=En,so.valueOf=Mn,so.creationData=Nn,so.year=yi,so.isLeapYear=ne,so.weekYear=In,so.isoWeekYear=qn,so.quarter=so.quarters=Hn,so.month=me,so.daysInMonth=ge,so.week=so.weeks=Ae,so.isoWeek=so.isoWeeks=Le,so.weeksInYear=$n,so.isoWeeksInYear=Rn,so.date=no,so.day=so.days=Ie,so.weekday=qe,so.isoWeekday=Re,so.dayOfYear=Un,so.hour=so.hours=Fi,so.minute=so.minutes=ro,so.second=so.seconds=io,so.millisecond=so.milliseconds=ao,so.utcOffset=Rt,so.utc=Wt,so.local=Bt,so.parseZone=Ht,so.hasAlignedHourOffset=Ut,so.isDST=Vt,so.isLocal=Gt,so.isUtcOffset=Zt,so.isUtc=Kt,so.isUTC=Kt,so.zoneAbbr=Yn,so.zoneName=Gn,so.dates=S("dates accessor is deprecated. Use date instead.",no),so.months=S("months accessor is deprecated. Use month instead",me),so.years=S("years accessor is deprecated. Use year instead",yi),so.zone=S("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",$t),so.isDSTShifted=S("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Yt);var lo=A.prototype;lo.calendar=L,lo.longDateFormat=D,lo.invalidDate=j,lo.ordinal=O,lo.preparse=Xn,lo.postformat=Xn,lo.relativeTime=F,lo.pastFuture=P,lo.set=M,lo.months=ue,lo.monthsShort=de,lo.monthsParse=pe,lo.monthsRegex=_e,lo.monthsShortRegex=ve,lo.week=Te,lo.firstDayOfYear=Ee,lo.firstDayOfWeek=Me,lo.weekdays=Oe,lo.weekdaysMin=Pe,lo.weekdaysShort=Fe,lo.weekdaysParse=ze,lo.weekdaysRegex=$e,lo.weekdaysShortRegex=We,lo.weekdaysMinRegex=Be,lo.isPM=Ze,lo.meridiem=Ke,et("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===x(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),n.lang=S("moment.lang is deprecated. Use moment.locale instead.",et),n.langData=S("moment.langData is deprecated. Use moment.localeData instead.",rt);var co=Math.abs,uo=gr("ms"),fo=gr("s"),po=gr("m"),ho=gr("h"),mo=gr("d"),go=gr("w"),vo=gr("M"),_o=gr("y"),yo=yr("milliseconds"),bo=yr("seconds"),xo=yr("minutes"),wo=yr("hours"),ko=yr("days"),So=yr("months"),Co=yr("years"),To=Math.round,Mo={ss:44,s:45,m:45,h:22,d:26,M:11},Eo=Math.abs,Ao=Ot.prototype;return Ao.isValid=Dt,Ao.abs=ar,Ao.add=lr,Ao.subtract=cr,Ao.as=hr,Ao.asMilliseconds=uo,Ao.asSeconds=fo,Ao.asMinutes=po,Ao.asHours=ho,Ao.asDays=mo,Ao.asWeeks=go,Ao.asMonths=vo,Ao.asYears=_o,Ao.valueOf=mr,Ao._bubble=dr,Ao.clone=vr,Ao.get=_r,Ao.milliseconds=yo,Ao.seconds=bo,Ao.minutes=xo,Ao.hours=wo,Ao.days=ko,Ao.weeks=br,Ao.months=So,Ao.years=Co,Ao.humanize=Cr,Ao.toISOString=Mr,Ao.toString=Mr,Ao.toJSON=Mr,Ao.locale=kn,Ao.localeData=Sn,Ao.toIsoString=S("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Mr),Ao.lang=to,W("X",0,0,"unix"),W("x",0,0,"valueOf"),Y("x",ni),Y("X",oi),X("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),X("x",function(e,t,n){n._d=new Date(x(e))}),n.version="2.19.1",function(e){Er=e}(Tt),n.fn=so,n.min=Et,n.max=At,n.now=Gi,n.utc=f,n.unix=Zn,n.months=tr,n.isDate=l,n.locale=et,n.invalid=g,n.duration=Xt,n.isMoment=y,n.weekdays=rr,n.parseZone=Kn,n.localeData=rt,n.isDuration=Ft,n.monthsShort=nr,n.weekdaysMin=or,n.defineLocale=tt,n.updateLocale=nt,n.locales=it,n.weekdaysShort=ir,n.normalizeUnits=z,n.relativeTimeRounding=kr,n.relativeTimeThreshold=Sr,n.calendarFormat=rn,n.prototype=so,n})},{}],440:[function(e,t,n){function r(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function o(e){if(d===setTimeout)return setTimeout(e,0);if((d===r||!d)&&setTimeout)return d=setTimeout,setTimeout(e,0);try{return d(e,0)}catch(t){try{return d.call(null,e,0)}catch(t){return d.call(this,e,0)}}}function a(e){if(f===clearTimeout)return clearTimeout(e);if((f===i||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(e);try{return f(e)}catch(t){try{return f.call(null,e)}catch(t){return f.call(this,e)}}}function s(){g&&h&&(g=!1,h.length?m=h.concat(m):v=-1,m.length&&l())}function l(){if(!g){var e=o(s);g=!0;for(var t=m.length;t;){for(h=m,m=[];++v1)for(var n=1;n1&&(r=n[0]+"@",e=n[1]),e=e.replace(j,"."),r+o(e.split("."),t).join(".")}function s(e){for(var t,n,r=[],i=0,o=e.length;i=55296&&t<=56319&&i65535&&(e-=65536,t+=N(e>>>10&1023|55296),e=56320|1023&e),t+=N(e)}).join("")}function c(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:w}function u(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function d(e,t,n){var r=0;for(e=n?P(e/T):e>>1,e+=P(e/t);e>F*S>>1;r+=w)e=P(e/F);return P(r+(F+1)*e/(e+C))}function f(e){var t,n,r,o,a,s,u,f,p,h,m=[],g=e.length,v=0,_=E,y=M;for(n=e.lastIndexOf(A),n<0&&(n=0),r=0;r=128&&i("not-basic"),m.push(e.charCodeAt(r));for(o=n>0?n+1:0;o=g&&i("invalid-input"),f=c(e.charCodeAt(o++)),(f>=w||f>P((x-v)/s))&&i("overflow"),v+=f*s,p=u<=y?k:u>=y+S?S:u-y,!(fP(x/h)&&i("overflow"),s*=h;t=m.length+1,y=d(v-a,t,0==a),P(v/t)>x-_&&i("overflow"),_+=P(v/t),v%=t,m.splice(v++,0,_)}return l(m)}function p(e){var t,n,r,o,a,l,c,f,p,h,m,g,v,_,y,b=[];for(e=s(e),g=e.length,t=E,n=0,a=M,l=0;l=t&&mP((x-n)/v)&&i("overflow"),n+=(c-t)*v,t=c,l=0;lx&&i("overflow"),m==t){for(f=n,p=w;h=p<=a?k:p>=a+S?S:p-a,!(f= 0x80 (not a basic code point)","invalid-input":"Invalid input"},F=w-k,P=Math.floor,N=String.fromCharCode;if(y={version:"1.4.1",ucs2:{decode:s,encode:l},decode:f,encode:p,toASCII:m,toUnicode:h},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",function(){return y});else if(g&&v)if(t.exports==g)v.exports=y;else for(b in y)y.hasOwnProperty(b)&&(g[b]=y[b]);else r.punycode=y}(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],442:[function(e,t,n){(function(e){!function(e){"use strict";function n(e,t,n,r){var o=t&&t.prototype instanceof i?t:i,a=Object.create(o.prototype),s=new p(r||[]);return a._invoke=c(e,n,s),a}function r(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function i(){}function o(){}function a(){}function s(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function l(t){function n(e,i,o,a){var s=r(t[e],t,i);if("throw"!==s.type){var l=s.arg,c=l.value;return c&&"object"==typeof c&&_.call(c,"__await")?Promise.resolve(c.__await).then(function(e){n("next",e,o,a)},function(e){n("throw",e,o,a)}):Promise.resolve(c).then(function(e){l.value=e,o(l)},a)}a(s.arg)}function i(e,t){function r(){return new Promise(function(r,i){n(e,t,r,i)})}return o=o?o.then(r,r):r()}"object"==typeof e.process&&e.process.domain&&(n=e.process.domain.bind(n));var o;this._invoke=i}function c(e,t,n){var i=C;return function(o,a){if(i===M)throw new Error("Generator is already running");if(i===E){if("throw"===o)throw a;return m()}for(n.method=o,n.arg=a;;){var s=n.delegate;if(s){var l=u(s,n);if(l){if(l===A)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===C)throw i=E,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=M;var c=r(e,t,n);if("normal"===c.type){if(i=n.done?E:T,c.arg===A)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(i=E,n.method="throw",n.arg=c.arg)}}}function u(e,t){var n=e.iterator[t.method];if(n===g){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=g,u(e,t),"throw"===t.method))return A;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return A}var i=r(n,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,A;var o=i.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=g),t.delegate=null,A):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,A)}function d(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function f(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function p(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(d,this),this.reset(!0)}function h(e){if(e){var t=e[b];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n=0;--r){var i=this.tryEntries[r],o=i.completion;if("root"===i.tryLoc)return t("end");if(i.tryLoc<=this.prev){var a=_.call(i,"catchLoc"),s=_.call(i,"finallyLoc");if(a&&s){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&_.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),f(n),A}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;f(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:h(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=g),A}}}("object"==typeof e?e:"object"==typeof window?window:"object"==typeof self?self:this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],443:[function(e,t,n){function r(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName){var n=e.hasAttribute("readonly");n||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),n||e.removeAttribute("readonly"),t=e.value}else{e.hasAttribute("contenteditable")&&e.focus();var r=window.getSelection(),i=document.createRange();i.selectNodeContents(e),r.removeAllRanges(),r.addRange(i),t=r.toString()}return t}t.exports=r},{}],444:[function(e,t,n){!function(e){"use strict";"function"==typeof define&&define.amd?define(e):void 0!==t&&void 0!==t.exports?t.exports=e():window.Sortable=e()}(function(){"use strict";function e(t,n){if(!t||!t.nodeType||1!==t.nodeType)throw"Sortable: `el` must be HTMLElement, and not "+{}.toString.call(t);this.el=t,this.options=n=y({},n),t[Y]=this;var r={group:Math.random(),sort:!0,disabled:!1,store:null,handle:null,scroll:!0,scrollSensitivity:30,scrollSpeed:10,draggable:/[uo]l/i.test(t.nodeName)?"li":">*",ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,setData:function(e,t){e.setData("Text",t.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==e.supportPointer};for(var i in r)!(i in n)&&(n[i]=r[i]);ue(n);for(var a in this)"_"===a.charAt(0)&&"function"==typeof this[a]&&(this[a]=this[a].bind(this));this.nativeDraggable=!n.forceFallback&&ne,o(t,"mousedown",this._onTapStart),o(t,"touchstart",this._onTapStart),n.supportPointer&&o(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(o(t,"dragover",this),o(t,"dragenter",this)),le.push(this._onDragOver),n.store&&this.sort(n.store.get(this))}function t(e,t){"clone"!==e.lastPullMode&&(t=!0),M&&M.state!==t&&(l(M,"display",t?"none":""),t||M.state&&(e.options.group.revertClone?(E.insertBefore(M,A),e._animate(S,M)):E.insertBefore(M,S)),M.state=t)}function n(e,t,n){if(e){n=n||Z;do{if(">*"===t&&e.parentNode===n||v(e,t))return e}while(e=r(e))}return null}function r(e){var t=e.host;return t&&t.nodeType?t:e.parentNode}function i(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.preventDefault()}function o(e,t,n){e.addEventListener(t,n,ee)}function a(e,t,n){e.removeEventListener(t,n,ee)}function s(e,t,n){if(e)if(e.classList)e.classList[n?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(U," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(U," ")}}function l(e,t,n){var r=e&&e.style;if(r){if(void 0===n)return Z.defaultView&&Z.defaultView.getComputedStyle?n=Z.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),void 0===t?n:n[t];t in r||(t="-webkit-"+t),r[t]=n+("string"==typeof n?"":"px")}}function c(e,t,n){if(e){var r=e.getElementsByTagName(t),i=0,o=r.length;if(n)for(;i5||t.clientX-(r.left+r.width)>5}function m(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,r=0;n--;)r+=t.charCodeAt(n);return r.toString(36)}function g(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e&&(e=e.previousElementSibling);)"TEMPLATE"===e.nodeName.toUpperCase()||">*"!==t&&!v(e,t)||n++;return n}function v(e,t){if(e){t=t.split(".");var n=t.shift().toUpperCase(),r=new RegExp("\\s("+t.join("|")+")(?=\\s)","g");return!(""!==n&&e.nodeName.toUpperCase()!=n||t.length&&((" "+e.className+" ").match(r)||[]).length!=t.length)}return!1}function _(e,t){var n,r;return function(){void 0===n&&(n=arguments,r=this,X(function(){1===n.length?e.call(r,n[0]):e.apply(r,n),n=void 0},t))}}function y(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function b(e){return J&&J.dom?J.dom(e).cloneNode(!0):Q?Q(e).clone(!0)[0]:e.cloneNode(!0)}function x(e){for(var t=e.getElementsByTagName("input"),n=t.length;n--;){var r=t[n];r.checked&&se.push(r)}}function w(e){return X(e,0)}function k(e){return clearTimeout(e)}if("undefined"==typeof window||!window.document)return function(){throw new Error("Sortable.js requires a window with a document")};var S,C,T,M,E,A,L,D,j,O,F,P,N,z,I,q,R,$,W,B,H={},U=/\s+/g,V=/left|right|inline/,Y="Sortable"+(new Date).getTime(),G=window,Z=G.document,K=G.parseInt,X=G.setTimeout,Q=G.jQuery||G.Zepto,J=G.Polymer,ee=!1,te=!1,ne="draggable"in Z.createElement("div"),re=function(e){return!navigator.userAgent.match(/(?:Trident.*rv[ :]?11\.|msie)/i)&&(e=Z.createElement("x"),e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents)}(),ie=!1,oe=Math.abs,ae=Math.min,se=[],le=[],ce=_(function(e,t,n){if(n&&t.scroll){var r,i,o,a,s,l,c=n[Y],u=t.scrollSensitivity,d=t.scrollSpeed,f=e.clientX,p=e.clientY,h=window.innerWidth,m=window.innerHeight;if(j!==n&&(D=t.scroll,j=n,O=t.scrollFn,!0===D)){D=n;do{if(D.offsetWidth-1:i==e)}}var n={},r=e.group;r&&"object"==typeof r||(r={name:r}),n.name=r.name,n.checkPull=t(r.pull,!0),n.checkPut=t(r.put),n.revertClone=r.revertClone,e.group=n};try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){te=!1,ee={capture:!1,passive:te}}}))}catch(e){}return e.prototype={constructor:e,_onTapStart:function(e){var t,r=this,i=this.el,o=this.options,a=o.preventOnFilter,s=e.type,l=e.touches&&e.touches[0],c=(l||e).target,d=e.target.shadowRoot&&e.path&&e.path[0]||c,f=o.filter;if(x(i),!S&&!(/mousedown|pointerdown/.test(s)&&0!==e.button||o.disabled)&&!d.isContentEditable&&(c=n(c,o.draggable,i))&&L!==c){if(t=g(c,o.draggable),"function"==typeof f){if(f.call(this,e,c,this))return u(r,d,"filter",c,i,i,t),void(a&&e.preventDefault())}else if(f&&(f=f.split(",").some(function(e){if(e=n(d,e.trim(),i))return u(r,e,"filter",c,i,i,t),!0})))return void(a&&e.preventDefault());o.handle&&!n(d,o.handle,i)||this._prepareDragStart(e,l,c,t)}},_prepareDragStart:function(e,t,n,r){var i,a=this,l=a.el,d=a.options,p=l.ownerDocument;n&&!S&&n.parentNode===l&&($=e,E=l,S=n,C=S.parentNode,A=S.nextSibling,L=n,q=d.group,z=r,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,S.style["will-change"]="all",i=function(){a._disableDelayedDrag(),S.draggable=a.nativeDraggable,s(S,d.chosenClass,!0),a._triggerDragStart(e,t),u(a,E,"choose",S,E,E,z)},d.ignore.split(",").forEach(function(e){c(S,e.trim(),f)}),o(p,"mouseup",a._onDrop),o(p,"touchend",a._onDrop),o(p,"touchcancel",a._onDrop),o(p,"selectstart",a),d.supportPointer&&o(p,"pointercancel",a._onDrop),d.delay?(o(p,"mouseup",a._disableDelayedDrag),o(p,"touchend",a._disableDelayedDrag),o(p,"touchcancel",a._disableDelayedDrag),o(p,"mousemove",a._disableDelayedDrag),o(p,"touchmove",a._disableDelayedDrag),d.supportPointer&&o(p,"pointermove",a._disableDelayedDrag),a._dragStartTimer=X(i,d.delay)):i())},_disableDelayedDrag:function(){var e=this.el.ownerDocument;clearTimeout(this._dragStartTimer),a(e,"mouseup",this._disableDelayedDrag),a(e,"touchend",this._disableDelayedDrag),a(e,"touchcancel",this._disableDelayedDrag),a(e,"mousemove",this._disableDelayedDrag),a(e,"touchmove",this._disableDelayedDrag),a(e,"pointermove",this._disableDelayedDrag)},_triggerDragStart:function(e,t){t=t||("touch"==e.pointerType?e:null),t?($={target:S,clientX:t.clientX,clientY:t.clientY},this._onDragStart($,"touch")):this.nativeDraggable?(o(S,"dragend",this),o(E,"dragstart",this._onDragStart)):this._onDragStart($,!0);try{Z.selection?w(function(){Z.selection.empty()}):window.getSelection().removeAllRanges()}catch(e){}},_dragStarted:function(){if(E&&S){var t=this.options;s(S,t.ghostClass,!0),s(S,t.dragClass,!1),e.active=this,u(this,E,"start",S,E,E,z)}else this._nulling()},_emulateDragOver:function(){if(W){if(this._lastX===W.clientX&&this._lastY===W.clientY)return;this._lastX=W.clientX,this._lastY=W.clientY,re||l(T,"display","none");var e=Z.elementFromPoint(W.clientX,W.clientY),t=e,n=le.length;if(e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(W.clientX,W.clientY),t=e),t)do{if(t[Y]){for(;n--;)le[n]({clientX:W.clientX,clientY:W.clientY,target:e,rootEl:t});break}e=t}while(t=t.parentNode);re||l(T,"display","")}},_onTouchMove:function(t){if($){var n=this.options,r=n.fallbackTolerance,i=n.fallbackOffset,o=t.touches?t.touches[0]:t,a=o.clientX-$.clientX+i.x,s=o.clientY-$.clientY+i.y,c=t.touches?"translate3d("+a+"px,"+s+"px,0)":"translate("+a+"px,"+s+"px)";if(!e.active){if(r&&ae(oe(o.clientX-this._lastX),oe(o.clientY-this._lastY))S.offsetWidth,k=i.offsetHeight>S.offsetHeight,L=(x?(r.clientX-a.left)/y:(r.clientY-a.top)/b)>.5,D=i.nextElementSibling,j=!1;if(x){var O=S.offsetTop,z=i.offsetTop;j=O===z?i.previousElementSibling===S&&!w||L&&w:i.previousElementSibling===S||S.previousElementSibling===i?(r.clientY-a.top)/b>.5:z>O}else v||(j=D!==S&&!k||L&&k);var I=d(E,c,S,o,i,a,r,j);!1!==I&&(1!==I&&-1!==I||(j=1===I),ie=!0,X(p,30),t(m,g),S.contains(c)||(j&&!D?c.appendChild(S):i.parentNode.insertBefore(S,j?D:i)),C=S.parentNode,this._animate(o,S),this._animate(a,i))}}},_animate:function(e,t){var n=this.options.animation;if(n){var r=t.getBoundingClientRect();1===e.nodeType&&(e=e.getBoundingClientRect()),l(t,"transition","none"),l(t,"transform","translate3d("+(e.left-r.left)+"px,"+(e.top-r.top)+"px,0)"),t.offsetWidth,l(t,"transition","all "+n+"ms"),l(t,"transform","translate3d(0,0,0)"),clearTimeout(t.animated),t.animated=X(function(){l(t,"transition",""),l(t,"transform",""),t.animated=!1},n)}},_offUpEvents:function(){var e=this.el.ownerDocument;a(Z,"touchmove",this._onTouchMove),a(Z,"pointermove",this._onTouchMove),a(e,"mouseup",this._onDrop),a(e,"touchend",this._onDrop),a(e,"pointerup",this._onDrop),a(e,"touchcancel",this._onDrop),a(e,"pointercancel",this._onDrop),a(e,"selectstart",this)},_onDrop:function(t){var n=this.el,r=this.options;clearInterval(this._loopId),clearInterval(H.pid),clearTimeout(this._dragStartTimer),k(this._cloneId),k(this._dragStartId),a(Z,"mouseover",this),a(Z,"mousemove",this._onTouchMove),this.nativeDraggable&&(a(Z,"drop",this),a(n,"dragstart",this._onDragStart)),this._offUpEvents(),t&&(B&&(t.preventDefault(),!r.dropBubble&&t.stopPropagation()),T&&T.parentNode&&T.parentNode.removeChild(T),E!==C&&"clone"===e.active.lastPullMode||M&&M.parentNode&&M.parentNode.removeChild(M),S&&(this.nativeDraggable&&a(S,"dragend",this),f(S),S.style["will-change"]="",s(S,this.options.ghostClass,!1),s(S,this.options.chosenClass,!1),u(this,E,"unchoose",S,C,E,z),E!==C?(I=g(S,r.draggable))>=0&&(u(null,C,"add",S,C,E,z,I),u(this,E,"remove",S,C,E,z,I),u(null,C,"sort",S,C,E,z,I),u(this,E,"sort",S,C,E,z,I)):S.nextSibling!==A&&(I=g(S,r.draggable))>=0&&(u(this,E,"update",S,C,E,z,I),u(this,E,"sort",S,C,E,z,I)),e.active&&(null!=I&&-1!==I||(I=z),u(this,E,"end",S,C,E,z,I),this.save()))),this._nulling()},_nulling:function(){E=S=C=T=A=M=L=D=j=$=W=B=I=F=P=R=q=e.active=null,se.forEach(function(e){e.checked=!0}),se.length=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragover":case"dragenter":S&&(this._onDragOver(e),i(e));break;case"mouseover":this._onDrop(e);break;case"selectstart":e.preventDefault()}},toArray:function(){for(var e,t=[],r=this.el.children,i=0,o=r.length,a=this.options;i=0&&Math.floor(t)===t&&isFinite(e)}function d(e){return null==e?"":"object"==typeof e?JSON.stringify(e,null,2):String(e)}function f(e){var t=parseFloat(e);return isNaN(t)?e:t}function p(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i-1)return e.splice(n,1)}}function m(e,t){return no.call(e,t)}function g(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}function v(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n}function _(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function y(e,t){for(var n in t)e[n]=t[n];return e}function b(e){for(var t={},n=0;n0&&(s=he(s,(t||"")+"_"+o),pe(s[0])&&pe(c)&&(u[l]=D(c.text+s[0].text),s.shift()),u.push.apply(u,s)):a(s)?pe(c)?u[l]=D(c.text+s):""!==s&&u.push(D(s)):pe(s)&&pe(c)?u[l]=D(c.text+s.text):(i(e._isVList)&&r(s.tag)&&n(s.key)&&r(t)&&(s.key="__vlist"+t+"_"+o+"__"),u.push(s)));return u}function me(e,t){return(e.__esModule||jo&&"Module"===e[Symbol.toStringTag])&&(e=e.default),s(e)?t.extend(e):e}function ge(e,t,n,r,i){var o=qo();return o.asyncFactory=e,o.asyncMeta={data:t,context:n,children:r,tag:i},o}function ve(e,t,o){if(i(e.error)&&r(e.errorComp))return e.errorComp;if(r(e.resolved))return e.resolved;if(i(e.loading)&&r(e.loadingComp))return e.loadingComp;if(!r(e.contexts)){var a=e.contexts=[o],l=!0,c=function(){for(var e=0,t=a.length;eca&&ia[n].id>e.id;)n--;ia.splice(n+1,0,e)}else ia.push(e);sa||(sa=!0,oe(Pe))}}function Re(e){fa.clear(),$e(e,fa)}function $e(e,t){var n,r,i=Array.isArray(e);if((i||s(e))&&Object.isExtensible(e)){if(e.__ob__){var o=e.__ob__.dep.id;if(t.has(o))return;t.add(o)}if(i)for(n=e.length;n--;)$e(e[n],t);else for(r=Object.keys(e),n=r.length;n--;)$e(e[r[n]],t)}}function We(e,t,n){pa.get=function(){return this[t][n]},pa.set=function(e){this[t][n]=e},Object.defineProperty(e,n,pa)}function Be(e){e._watchers=[];var t=e.$options;t.props&&He(e,t.props),t.methods&&Ke(e,t.methods),t.data?Ue(e):N(e._data={},!0),t.computed&&Ye(e,t.computed),t.watch&&t.watch!==Co&&Xe(e,t.watch)}function He(e,t){var n=e.$options.propsData||{},r=e._props={},i=e.$options._propKeys=[],o=!e.$parent;Bo.shouldConvert=o;for(var a in t)!function(o){i.push(o);var a=K(o,t,n,e);z(r,o,a),o in e||We(e,"_props",o)}(a);Bo.shouldConvert=!0}function Ue(e){var t=e.$options.data;t=e._data="function"==typeof t?Ve(t,e):t||{},l(t)||(t={});for(var n=Object.keys(t),r=e.$options.props,i=(e.$options.methods,n.length);i--;){var o=n[i];r&&m(r,o)||C(o)||We(e,"_data",o)}N(t,!0)}function Ve(e,t){try{return e.call(t,t)}catch(e){return ee(e,t,"data()"),{}}}function Ye(e,t){var n=e._computedWatchers=Object.create(null),r=Lo();for(var i in t){var o=t[i],a="function"==typeof o?o:o.get;r||(n[i]=new da(e,a||x,x,ha)),i in e||Ge(e,i,o)}}function Ge(e,t,n){var r=!Lo();"function"==typeof n?(pa.get=r?Ze(t):n,pa.set=x):(pa.get=n.get?r&&!1!==n.cache?Ze(t):n.get:x,pa.set=n.set?n.set:x),Object.defineProperty(e,t,pa)}function Ze(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),Po.target&&t.depend(),t.value}}function Ke(e,t){e.$options.props;for(var n in t)e[n]=null==t[n]?x:v(t[n],e)}function Xe(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var i=0;i=0||n.indexOf(e[i])<0)&&r.push(e[i]);return r}return e}function At(e){this._init(e)}function Lt(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=_(arguments,1);return n.unshift(this),"function"==typeof e.install?e.install.apply(e,n):"function"==typeof e&&e.apply(null,n),t.push(e),this}}function Dt(e){e.mixin=function(e){return this.options=G(this.options,e),this}}function jt(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,r=n.cid,i=e._Ctor||(e._Ctor={});if(i[r])return i[r];var o=e.name||n.options.name,a=function(e){this._init(e)};return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=t++,a.options=G(n.options,e),a.super=n,a.options.props&&Ot(a),a.options.computed&&Ft(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,fo.forEach(function(e){a[e]=n[e]}),o&&(a.options.components[o]=a), -a.superOptions=n.options,a.extendOptions=e,a.sealedOptions=y({},a.options),i[r]=a,a}}function Ot(e){var t=e.options.props;for(var n in t)We(e.prototype,"_props",n)}function Ft(e){var t=e.options.computed;for(var n in t)Ge(e.prototype,n,t[n])}function Pt(e){fo.forEach(function(t){e[t]=function(e,n){return n?("component"===t&&l(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"==typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}})}function Nt(e){return e&&(e.Ctor.options.name||e.tag)}function zt(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"==typeof e?e.split(",").indexOf(t)>-1:!!c(e)&&e.test(t)}function It(e,t){var n=e.cache,r=e.keys,i=e._vnode;for(var o in n){var a=n[o];if(a){var s=Nt(a.componentOptions);s&&!t(s)&&qt(n,o,r,i)}}}function qt(e,t,n,r){var i=e[t];i&&i!==r&&i.componentInstance.$destroy(),e[t]=null,h(n,t)}function Rt(e){for(var t=e.data,n=e,i=e;r(i.componentInstance);)i=i.componentInstance._vnode,i.data&&(t=$t(i.data,t));for(;r(n=n.parent);)n.data&&(t=$t(t,n.data));return Wt(t.staticClass,t.class)}function $t(e,t){return{staticClass:Bt(e.staticClass,t.staticClass),class:r(e.class)?[e.class,t.class]:t.class}}function Wt(e,t){return r(e)||r(t)?Bt(e,Ht(t)):""}function Bt(e,t){return e?t?e+" "+t:e:t||""}function Ht(e){return Array.isArray(e)?Ut(e):s(e)?Vt(e):"string"==typeof e?e:""}function Ut(e){for(var t,n="",i=0,o=e.length;i-1?Va[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Va[e]=/HTMLUnknownElement/.test(t.toString())}function Zt(e){if("string"==typeof e){var t=document.querySelector(e);return t||document.createElement("div")}return e}function Kt(e,t){var n=document.createElement(e);return"select"!==e?n:(t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)}function Xt(e,t){return document.createElementNS($a[e],t)}function Qt(e){return document.createTextNode(e)}function Jt(e){return document.createComment(e)}function en(e,t,n){e.insertBefore(t,n)}function tn(e,t){e.removeChild(t)}function nn(e,t){e.appendChild(t)}function rn(e){return e.parentNode}function on(e){return e.nextSibling}function an(e){return e.tagName}function sn(e,t){e.textContent=t}function ln(e,t,n){e.setAttribute(t,n)}function cn(e,t){var n=e.data.ref;if(n){var r=e.context,i=e.componentInstance||e.elm,o=r.$refs;t?Array.isArray(o[n])?h(o[n],i):o[n]===i&&(o[n]=void 0):e.data.refInFor?Array.isArray(o[n])?o[n].indexOf(i)<0&&o[n].push(i):o[n]=[i]:o[n]=i}}function un(e,t){return e.key===t.key&&(e.tag===t.tag&&e.isComment===t.isComment&&r(e.data)===r(t.data)&&dn(e,t)||i(e.isAsyncPlaceholder)&&e.asyncFactory===t.asyncFactory&&n(t.asyncFactory.error))}function dn(e,t){if("input"!==e.tag)return!0;var n,i=r(n=e.data)&&r(n=n.attrs)&&n.type,o=r(n=t.data)&&r(n=n.attrs)&&n.type;return i===o||Ya(i)&&Ya(o)}function fn(e,t,n){var i,o,a={};for(i=t;i<=n;++i)o=e[i].key,r(o)&&(a[o]=i);return a}function pn(e,t){(e.data.directives||t.data.directives)&&hn(e,t)}function hn(e,t){var n,r,i,o=e===Ka,a=t===Ka,s=mn(e.data.directives,e.context),l=mn(t.data.directives,t.context),c=[],u=[];for(n in l)r=s[n],i=l[n],r?(i.oldValue=r.value,vn(i,"update",t,e),i.def&&i.def.componentUpdated&&u.push(i)):(vn(i,"bind",t,e),i.def&&i.def.inserted&&c.push(i));if(c.length){var d=function(){for(var n=0;n=0&&" "===(g=e.charAt(m));m--);g&&rs.test(g)||(u=!0)}}else void 0===o?(h=i+1,o=e.slice(0,i).trim()):t();if(void 0===o?o=e.slice(0,i).trim():0!==h&&t(),a)for(i=0;i-1?{exp:e.slice(0,Ta),key:'"'+e.slice(Ta+1)+'"'}:{exp:e,key:null};for(Sa=e,Ta=Ma=Ea=0;!Pn();)Ca=Fn(),Nn(Ca)?In(Ca):91===Ca&&zn(Ca);return{exp:e.slice(0,Ma),key:e.slice(Ma+1,Ea)}}function Fn(){return Sa.charCodeAt(++Ta)}function Pn(){return Ta>=ka}function Nn(e){return 34===e||39===e}function zn(e){var t=1;for(Ma=Ta;!Pn();)if(e=Fn(),Nn(e))In(e);else if(91===e&&t++,93===e&&t--,0===t){Ea=Ta;break}}function In(e){for(var t=e;!Pn()&&(e=Fn())!==t;);}function qn(e,t,n){Aa=n;var r=t.value,i=t.modifiers,o=e.tag,a=e.attrsMap.type;if(e.component)return Dn(e,r,i),!1;if("select"===o)Wn(e,r,i);else if("input"===o&&"checkbox"===a)Rn(e,r,i);else if("input"===o&&"radio"===a)$n(e,r,i);else if("input"===o||"textarea"===o)Bn(e,r,i);else if(!ho.isReservedTag(o))return Dn(e,r,i),!1;return!0}function Rn(e,t,n){var r=n&&n.number,i=An(e,"value")||"null",o=An(e,"true-value")||"true",a=An(e,"false-value")||"false";Cn(e,"checked","Array.isArray("+t+")?_i("+t+","+i+")>-1"+("true"===o?":("+t+")":":_q("+t+","+o+")")),En(e,"change","var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+a+");if(Array.isArray($$a)){var $$v="+(r?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+t+"=$$a.concat([$$v]))}else{$$i>-1&&("+t+"=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{"+jn(t,"$$c")+"}",null,!0)}function $n(e,t,n){var r=n&&n.number,i=An(e,"value")||"null";i=r?"_n("+i+")":i,Cn(e,"checked","_q("+t+","+i+")"),En(e,"change",jn(t,i),null,!0)}function Wn(e,t,n){var r=n&&n.number,i='Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(r?"_n(val)":"val")+"})",o="var $$selectedVal = "+i+";";o=o+" "+jn(t,"$event.target.multiple ? $$selectedVal : $$selectedVal[0]"),En(e,"change",o,null,!0)}function Bn(e,t,n){var r=e.attrsMap.type,i=n||{},o=i.lazy,a=i.number,s=i.trim,l=!o&&"range"!==r,c=o?"change":"range"===r?is:"input",u="$event.target.value";s&&(u="$event.target.value.trim()"),a&&(u="_n("+u+")");var d=jn(t,u);l&&(d="if($event.target.composing)return;"+d),Cn(e,"value","("+t+")"),En(e,c,d,null,!0),(s||a)&&En(e,"blur","$forceUpdate()")}function Hn(e){if(r(e[is])){var t=bo?"change":"input";e[t]=[].concat(e[is],e[t]||[]),delete e[is]}r(e[os])&&(e.change=[].concat(e[os],e.change||[]),delete e[os])}function Un(e,t,n){var r=La;return function i(){null!==e.apply(null,arguments)&&Yn(t,i,n,r)}}function Vn(e,t,n,r,i){t=ie(t),n&&(t=Un(t,e,r)),La.addEventListener(e,t,To?{capture:r,passive:i}:r)}function Yn(e,t,n,r){(r||La).removeEventListener(e,t._withTask||t,n)}function Gn(e,t){if(!n(e.data.on)||!n(t.data.on)){var r=t.data.on||{},i=e.data.on||{};La=t.elm,Hn(r),se(r,i,Vn,Yn,t.context),La=void 0}}function Zn(e,t){if(!n(e.data.domProps)||!n(t.data.domProps)){var i,o,a=t.elm,s=e.data.domProps||{},l=t.data.domProps||{};r(l.__ob__)&&(l=t.data.domProps=y({},l));for(i in s)n(l[i])&&(a[i]="");for(i in l){if(o=l[i],"textContent"===i||"innerHTML"===i){if(t.children&&(t.children.length=0),o===s[i])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===i){a._value=o;var c=n(o)?"":String(o);Kn(a,c)&&(a.value=c)}else a[i]=o}}}function Kn(e,t){return!e.composing&&("OPTION"===e.tagName||Xn(e,t)||Qn(e,t))}function Xn(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}function Qn(e,t){var n=e.value,i=e._vModifiers;return r(i)&&i.number?f(n)!==f(t):r(i)&&i.trim?n.trim()!==t.trim():n!==t}function Jn(e){var t=er(e.style);return e.staticStyle?y(e.staticStyle,t):t}function er(e){return Array.isArray(e)?b(e):"string"==typeof e?ls(e):e}function tr(e,t){var n,r={};if(t)for(var i=e;i.componentInstance;)i=i.componentInstance._vnode,i.data&&(n=Jn(i.data))&&y(r,n);(n=Jn(e.data))&&y(r,n);for(var o=e;o=o.parent;)o.data&&(n=Jn(o.data))&&y(r,n);return r}function nr(e,t){var i=t.data,o=e.data;if(!(n(i.staticStyle)&&n(i.style)&&n(o.staticStyle)&&n(o.style))){var a,s,l=t.elm,c=o.staticStyle,u=o.normalizedStyle||o.style||{},d=c||u,f=er(t.data.style)||{};t.data.normalizedStyle=r(f.__ob__)?y({},f):f;var p=tr(t,!0);for(s in d)n(p[s])&&ds(l,s,"");for(s in p)(a=p[s])!==d[s]&&ds(l,s,null==a?"":a)}}function rr(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(/\s+/).forEach(function(t){return e.classList.add(t)}):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function ir(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(/\s+/).forEach(function(t){return e.classList.remove(t)}):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");n=n.trim(),n?e.setAttribute("class",n):e.removeAttribute("class")}}function or(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&y(t,ms(e.name||"v")),y(t,e),t}return"string"==typeof e?ms(e):void 0}}function ar(e){ks(function(){ks(e)})}function sr(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),rr(e,t))}function lr(e,t){e._transitionClasses&&h(e._transitionClasses,t),ir(e,t)}function cr(e,t,n){var r=ur(e,t),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===vs?bs:ws,l=0,c=function(){e.removeEventListener(s,u),n()},u=function(t){t.target===e&&++l>=a&&c()};setTimeout(function(){l0&&(n=vs,u=a,d=o.length):t===_s?c>0&&(n=_s,u=c,d=l.length):(u=Math.max(a,c),n=u>0?a>c?vs:_s:null,d=n?n===vs?o.length:l.length:0),{type:n,timeout:u,propCount:d,hasTransform:n===vs&&Ss.test(r[ys+"Property"])}}function dr(e,t){for(;e.length1}function vr(e,t){!0!==t.data.show&&pr(t)}function _r(e,t,n){yr(e,t,n),(bo||wo)&&setTimeout(function(){yr(e,t,n)},0)}function yr(e,t,n){var r=t.value,i=e.multiple;if(!i||Array.isArray(r)){for(var o,a,s=0,l=e.options.length;s-1,a.selected!==o&&(a.selected=o);else if(w(xr(a),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));i||(e.selectedIndex=-1)}}function br(e,t){return t.every(function(t){return!w(t,e)})}function xr(e){return"_value"in e?e._value:e.value}function wr(e){e.target.composing=!0}function kr(e){e.target.composing&&(e.target.composing=!1,Sr(e.target,"input"))}function Sr(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function Cr(e){return!e.componentInstance||e.data&&e.data.transition?e:Cr(e.componentInstance._vnode)}function Tr(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?Tr(ye(t.children)):e}function Mr(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var i=n._parentListeners;for(var o in i)t[io(o)]=i[o];return t}function Er(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}function Ar(e){for(;e=e.parent;)if(e.data.transition)return!0}function Lr(e,t){return t.key===e.key&&t.tag===e.tag}function Dr(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function jr(e){e.data.newPos=e.elm.getBoundingClientRect()}function Or(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,i=t.top-n.top;if(r||i){e.data.moved=!0;var o=e.elm.style;o.transform=o.WebkitTransform="translate("+r+"px,"+i+"px)",o.transitionDuration="0s"}}function Fr(e,t){var n=t?Rs(t):Is;if(n.test(e)){for(var r,i,o=[],a=n.lastIndex=0;r=n.exec(e);){i=r.index,i>a&&o.push(JSON.stringify(e.slice(a,i)));var s=xn(r[1].trim());o.push("_s("+s+")"),a=i+r[0].length}return a=0&&a[i].lowerCasedTag!==s;i--);else i=0;if(i>=0){for(var l=a.length-1;l>=i;l--)t.end&&t.end(a[l].tag,n,r);a.length=i,o=i&&a[i-1].tag}else"br"===s?t.start&&t.start(e,[],!0,n,r):"p"===s&&(t.start&&t.start(e,[],!1,n,r),t.end&&t.end(e,n,r))}for(var i,o,a=[],s=t.expectHTML,l=t.isUnaryTag||lo,c=t.canBeLeftOpenTag||lo,u=0;e;){if(i=e,o&&hl(o)){var d=0,f=o.toLowerCase(),p=ml[f]||(ml[f]=new RegExp("([\\s\\S]*?)(]*>)","i")),h=e.replace(p,function(e,n,r){return d=r.length,hl(f)||"noscript"===f||(n=n.replace(//g,"$1").replace(//g,"$1")),bl(f,n)&&(n=n.slice(1)),t.chars&&t.chars(n),""});u+=e.length-h.length,e=h,r(f,u-d,u)}else{var m=e.indexOf("<");if(0===m){if(el.test(e)){var g=e.indexOf("--\x3e");if(g>=0){t.shouldKeepComment&&t.comment(e.substring(4,g)),n(g+3);continue}}if(tl.test(e)){var v=e.indexOf("]>");if(v>=0){n(v+2);continue}}var _=e.match(Js);if(_){n(_[0].length);continue}var y=e.match(Qs);if(y){var b=u;n(y[0].length),r(y[1],b,u);continue}var x=function(){var t=e.match(Ks);if(t){var r={tagName:t[1],attrs:[],start:u};n(t[0].length);for(var i,o;!(i=e.match(Xs))&&(o=e.match(Ys));)n(o[0].length),r.attrs.push(o);if(i)return r.unarySlash=i[1],n(i[0].length),r.end=u,r}}();if(x){!function(e){var n=e.tagName,i=e.unarySlash;s&&("p"===o&&Vs(n)&&r(o),c(n)&&o===n&&r(n));for(var u=l(n)||!!i,d=e.attrs.length,f=new Array(d),p=0;p=0){for(k=e.slice(m);!(Qs.test(k)||Ks.test(k)||el.test(k)||tl.test(k)||(S=k.indexOf("<",1))<0);)m+=S,k=e.slice(m);w=e.substring(0,m),n(m)}m<0&&(w=e,e=""),t.chars&&w&&t.chars(w)}if(e===i){t.chars&&t.chars(e);break}}r()}function $r(e,t,n){return{type:1,tag:e,attrsList:t,attrsMap:oi(t),parent:n,children:[]}}function Wr(e,t){function n(e){e.pre&&(s=!1),ll(e.tag)&&(l=!1)}rl=t.warn||kn,ll=t.isPreTag||lo,cl=t.mustUseProp||lo,ul=t.getTagNamespace||lo,ol=Sn(t.modules,"transformNode"),al=Sn(t.modules,"preTransformNode"),sl=Sn(t.modules,"postTransformNode"),il=t.delimiters;var r,i,o=[],a=!1!==t.preserveWhitespace,s=!1,l=!1;return Rr(e,{warn:rl,expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,canBeLeftOpenTag:t.canBeLeftOpenTag,shouldDecodeNewlines:t.shouldDecodeNewlines,shouldDecodeNewlinesForHref:t.shouldDecodeNewlinesForHref,shouldKeepComment:t.comments,start:function(e,a,c){var u=i&&i.ns||ul(e);bo&&"svg"===u&&(a=li(a));var d=$r(e,a,i);u&&(d.ns=u),si(d)&&!Lo()&&(d.forbidden=!0);for(var f=0;f':'
    ',pl.innerHTML.indexOf(" ")>0}function Qi(e){if(e.outerHTML)return e.outerHTML;var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}var Ji=Object.prototype.toString,eo=p("slot,component",!0),to=p("key,ref,slot,slot-scope,is"),no=Object.prototype.hasOwnProperty,ro=/-(\w)/g,io=g(function(e){return e.replace(ro,function(e,t){return t?t.toUpperCase():""})}),oo=g(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),ao=/\B([A-Z])/g,so=g(function(e){return e.replace(ao,"-$1").toLowerCase()}),lo=function(e,t,n){return!1},co=function(e){return e},uo="data-server-rendered",fo=["component","directive","filter"],po=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured"],ho={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:lo,isReservedAttr:lo,isUnknownElement:lo,getTagNamespace:x,parsePlatformTagName:co,mustUseProp:lo,_lifecycleHooks:po},mo=Object.freeze({}),go=/[^\w.$]/,vo="__proto__"in{},_o="undefined"!=typeof window,yo=_o&&window.navigator.userAgent.toLowerCase(),bo=yo&&/msie|trident/.test(yo),xo=yo&&yo.indexOf("msie 9.0")>0,wo=yo&&yo.indexOf("edge/")>0,ko=yo&&yo.indexOf("android")>0,So=yo&&/iphone|ipad|ipod|ios/.test(yo),Co=(yo&&/chrome\/\d+/.test(yo),{}.watch),To=!1;if(_o)try{var Mo={};Object.defineProperty(Mo,"passive",{get:function(){To=!0}}),window.addEventListener("test-passive",null,Mo)}catch(e){}var Eo,Ao,Lo=function(){return void 0===Eo&&(Eo=!_o&&void 0!==e&&"server"===e.process.env.VUE_ENV),Eo},Do=_o&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,jo="undefined"!=typeof Symbol&&E(Symbol)&&"undefined"!=typeof Reflect&&E(Reflect.ownKeys);Ao="undefined"!=typeof Set&&E(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var Oo=x,Fo=0,Po=function(){this.id=Fo++,this.subs=[]};Po.prototype.addSub=function(e){this.subs.push(e)},Po.prototype.removeSub=function(e){h(this.subs,e)},Po.prototype.depend=function(){Po.target&&Po.target.addDep(this)},Po.prototype.notify=function(){for(var e=this.subs.slice(),t=0,n=e.length;t1?_(n):n;for(var r=_(arguments,1),i=0,o=n.length;iparseInt(this.max)&&qt(i,o[0],o,this._vnode)),e.data.keepAlive=!0}return e}},wa={KeepAlive:xa};!function(e){var t={};t.get=function(){return ho},Object.defineProperty(e,"config",t),e.util={warn:Oo,extend:y,mergeOptions:G,defineReactive:z},e.set=I,e.delete=q,e.nextTick=oe,e.options=Object.create(null),fo.forEach(function(t){e.options[t+"s"]=Object.create(null)}),e.options._base=e,y(e.options.components,wa),Lt(e),Dt(e),jt(e),Pt(e)}(At),Object.defineProperty(At.prototype,"$isServer",{get:Lo}),Object.defineProperty(At.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),At.version="2.5.3";var ka,Sa,Ca,Ta,Ma,Ea,Aa,La,Da,ja=p("style,class"),Oa=p("input,textarea,option,select,progress"),Fa=function(e,t,n){return"value"===n&&Oa(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},Pa=p("contenteditable,draggable,spellcheck"),Na=p("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),za="http://www.w3.org/1999/xlink",Ia=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},qa=function(e){return Ia(e)?e.slice(6,e.length):""},Ra=function(e){return null==e||!1===e},$a={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Wa=p("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),Ba=p("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Ha=function(e){return"pre"===e},Ua=function(e){return Wa(e)||Ba(e)},Va=Object.create(null),Ya=p("text,number,password,search,email,tel,url"),Ga=Object.freeze({createElement:Kt,createElementNS:Xt,createTextNode:Qt,createComment:Jt,insertBefore:en,removeChild:tn,appendChild:nn,parentNode:rn,nextSibling:on,tagName:an,setTextContent:sn,setAttribute:ln}),Za={create:function(e,t){cn(t)},update:function(e,t){e.data.ref!==t.data.ref&&(cn(e,!0),cn(t))},destroy:function(e){cn(e,!0)}},Ka=new zo("",{},[]),Xa=["create","activate","update","remove","destroy"],Qa={create:pn,update:pn,destroy:function(e){pn(e,Ka)}},Ja=Object.create(null),es=[Za,Qa],ts={create:_n,update:_n},ns={create:bn,update:bn},rs=/[\w).+\-_$\]]/,is="__r",os="__c",as={create:Gn,update:Gn},ss={create:Zn,update:Zn},ls=g(function(e){var t={},n=/;(?![^(]*\))/g,r=/:(.+)/;return e.split(n).forEach(function(e){if(e){var n=e.split(r);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}),cs=/^--/,us=/\s*!important$/,ds=function(e,t,n){if(cs.test(t))e.style.setProperty(t,n);else if(us.test(n))e.style.setProperty(t,n.replace(us,""),"important");else{var r=ps(t);if(Array.isArray(n))for(var i=0,o=n.length;ih?(d=n(i[v+1])?null:i[v+1].elm,_(e,d,i,p,v,o)):p>v&&b(e,t,f,h)}function k(e,t,n,i){for(var o=n;o\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Gs="[a-zA-Z_][\\w\\-\\.]*",Zs="((?:"+Gs+"\\:)?"+Gs+")",Ks=new RegExp("^<"+Zs),Xs=/^\s*(\/?)>/,Qs=new RegExp("^<\\/"+Zs+"[^>]*>"),Js=/^]+>/i,el=/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(i.source+"\\s*$"),/^$/,!1]];t.exports=function(e,t,n,r){var i,a,s,l,c=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(c))return!1;for(l=e.src.slice(c,u),i=0;i=4)return!1;for(f=e.parentType,e.parentType="paragraph";p3)){if(e.sCount[p]>=e.blkIndent&&(l=e.bMarks[p]+e.tShift[p],c=e.eMarks[p],l=c))){u=61===d?1:2;break}if(!(e.sCount[p]<0)){for(i=!1,o=0,a=h.length;o=o)return-1;if((n=e.src.charCodeAt(i++))<48||n>57)return-1;for(;;){if(i>=o)return-1;n=e.src.charCodeAt(i++);{if(!(n>=48&&n<=57)){if(41===n||46===n)break;return-1}if(i-r>=10)return-1}}return i=4)return!1;if(a&&"paragraph"===e.parentType&&e.tShift[t]>=e.blkIndent&&(P=!0),(A=i(e,t))>=0){if(p=!0,D=e.bMarks[t]+e.tShift[t],y=Number(e.src.substr(D,A-D-1)),P&&1!==y)return!1}else{if(!((A=r(e,t))>=0))return!1;p=!1}if(P&&e.skipSpaces(A)>=e.eMarks[t])return!1;if(_=e.src.charCodeAt(A-1),a)return!0;for(v=e.tokens.length,p?(F=e.push("ordered_list_open","ol",1),1!==y&&(F.attrs=[["start",y]])):F=e.push("bullet_list_open","ul",1),F.map=g=[t,0],F.markup=String.fromCharCode(_),x=t,L=!1,O=e.md.block.ruler.getRules("list"),C=e.parentType,e.parentType="list";x=b?1:w-f,d>4&&(d=1),u=f+d,F=e.push("list_item_open","li",1),F.markup=String.fromCharCode(_),F.map=h=[t,0],k=e.blkIndent,M=e.tight,T=e.tShift[t],S=e.sCount[t],e.blkIndent=u,e.tight=!0,e.tShift[t]=l-e.bMarks[t],e.sCount[t]=w,l>=b&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,t,n,!0),e.tight&&!L||(z=!1),L=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=k,e.tShift[t]=T,e.sCount[t]=S,e.tight=M,F=e.push("list_item_close","li",-1),F.markup=String.fromCharCode(_),x=t=e.line,h[1]=x,l=e.bMarks[t],x>=n)break;if(e.sCount[x]3||e.sCount[l]<0)){for(r=!1,i=0,o=c.length;i=4)return!1;if(91!==e.src.charCodeAt(k))return!1;for(;++k3||e.sCount[C]<0)){for(y=!1,d=0,f=b.length;d0&&this.level++,this.tokens.push(r),r},r.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},r.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;et;)if(!o(this.src.charCodeAt(--e)))return e+1;return e},r.prototype.skipChars=function(e,t){for(var n=this.src.length;en;)if(t!==this.src.charCodeAt(--e))return e+1;return e},r.prototype.getLines=function(e,t,n,r){var i,a,s,l,c,u,d,f=e;if(e>=t)return"";for(u=new Array(t-e),i=0;fn?new Array(a-n+1).join(" ")+this.src.slice(l,c):this.src.slice(l,c)}return u.join("")},r.prototype.Token=i,t.exports=r},{"../common/utils":385,"../token":432}],410:[function(e,t,n){"use strict";function r(e,t){var n=e.bMarks[t]+e.blkIndent,r=e.eMarks[t];return e.src.substr(n,r-n)}function i(e){var t,n=[],r=0,i=e.length,o=0,a=0,s=!1,l=0;for(t=e.charCodeAt(r);rn)return!1;if(d=t+1,e.sCount[d]=4)return!1;if((c=e.bMarks[d]+e.tShift[d])>=e.eMarks[d])return!1;if(124!==(s=e.src.charCodeAt(c++))&&45!==s&&58!==s)return!1;for(;c=4)return!1;if(f=i(l.replace(/^\||\|$/g,"")),(p=f.length)>m.length)return!1;if(a)return!0;for(h=e.push("table_open","table",1),h.map=v=[t,0],h=e.push("thead_open","thead",1),h.map=[t,t+1],h=e.push("tr_open","tr",1),h.map=[t,t+1],u=0;u=4);d++){for(f=i(l.replace(/^\||\|$/g,"")),h=e.push("tr_open","tr",1),u=0;u\s]/i.test(e)}function i(e){return/^<\/a\s*>/i.test(e)}var o=e("../common/utils").arrayReplaceAt;t.exports=function(e){var t,n,a,s,l,c,u,d,f,p,h,m,g,v,_,y,b,x=e.tokens;if(e.md.options.linkify)for(n=0,a=x.length;n=0;t--)if(c=s[t],"link_close"!==c.type){if("html_inline"===c.type&&(r(c.content)&&g>0&&g--,i(c.content)&&g++),!(g>0)&&"text"===c.type&&e.md.linkify.test(c.content)){for(f=c.content,b=e.md.linkify.match(f),u=[],m=c.level,h=0,d=0;dh&&(l=new e.Token("text","",0),l.content=f.slice(h,p),l.level=m,u.push(l)),l=new e.Token("link_open","a",1),l.attrs=[["href",_]],l.level=m++,l.markup="linkify",l.info="auto",u.push(l),l=new e.Token("text","",0),l.content=y,l.level=m,u.push(l),l=new e.Token("link_close","a",-1),l.level=--m,l.markup="linkify",l.info="auto",u.push(l),h=b[d].lastIndex);h=0;t--)n=e[t],"text"!==n.type||i||(n.content=n.content.replace(l,r)),"link_open"===n.type&&"auto"===n.info&&i--,"link_close"===n.type&&"auto"===n.info&&i++}function o(e){var t,n,r=0;for(t=e.length-1;t>=0;t--)n=e[t],"text"!==n.type||r||a.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/gm,"$1—$2").replace(/(^|\s)--(\s|$)/gm,"$1–$2").replace(/(^|[^-\s])--([^-\s]|$)/gm,"$1–$2")),"link_open"===n.type&&"auto"===n.info&&r--,"link_close"===n.type&&"auto"===n.info&&r++}var a=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,s=/\((c|tm|r|p)\)/i,l=/\((c|tm|r|p)\)/gi,c={c:"©",r:"®",p:"§",tm:"™"};t.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&(s.test(e.tokens[t].content)&&i(e.tokens[t].children),a.test(e.tokens[t].content)&&o(e.tokens[t].children))}},{}],416:[function(e,t,n){"use strict";function r(e,t,n){return e.substr(0,t)+n+e.substr(t+1)}function i(e,t){var n,i,l,d,f,p,h,m,g,v,_,y,b,x,w,k,S,C,T,M,E;for(T=[],n=0;n=0&&!(T[S].level<=h);S--);if(T.length=S+1,"text"===i.type){l=i.content,f=0,p=l.length;e:for(;f=0)g=l.charCodeAt(d.index-1);else for(S=n-1;S>=0;S--)if("text"===e[S].type){g=e[S].content.charCodeAt(e[S].content.length-1);break}if(v=32,f=48&&g<=57&&(k=w=!1),w&&k&&(w=!1,k=y),w||k){if(k)for(S=T.length-1;S>=0&&(m=T[S],!(T[S].level=0;t--)"inline"===e.tokens[t].type&&l.test(e.tokens[t].content)&&i(e.tokens[t].children,e)}},{"../common/utils":385}],417:[function(e,t,n){"use strict";function r(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}var i=e("../token");r.prototype.Token=i,t.exports=r},{"../token":432}],418:[function(e,t,n){"use strict";var r=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,i=/^<([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)>/;t.exports=function(e,t){var n,o,a,s,l,c,u=e.pos;return 60===e.src.charCodeAt(u)&&(n=e.src.slice(u),!(n.indexOf(">")<0)&&(i.test(n)?(o=n.match(i),s=o[0].slice(1,-1),l=e.md.normalizeLink(s),!!e.md.validateLink(l)&&(t||(c=e.push("link_open","a",1),c.attrs=[["href",l]],c.markup="autolink",c.info="auto",c=e.push("text","",0),c.content=e.md.normalizeLinkText(s),c=e.push("link_close","a",-1),c.markup="autolink",c.info="auto"),e.pos+=o[0].length,!0)):!!r.test(n)&&(a=n.match(r),s=a[0].slice(1,-1),l=e.md.normalizeLink("mailto:"+s),!!e.md.validateLink(l)&&(t||(c=e.push("link_open","a",1),c.attrs=[["href",l]],c.markup="autolink",c.info="auto",c=e.push("text","",0),c.content=e.md.normalizeLinkText(s),c=e.push("link_close","a",-1),c.markup="autolink",c.info="auto"),e.pos+=a[0].length,!0))))}},{}],419:[function(e,t,n){"use strict";t.exports=function(e,t){var n,r,i,o,a,s,l=e.pos;if(96!==e.src.charCodeAt(l))return!1;for(n=l,l++,r=e.posMax;l=0;){if(i=o[n],i.open&&i.marker===r.marker&&i.end<0&&i.level===r.level){var s=(i.close||r.open)&&void 0!==i.length&&void 0!==r.length&&(i.length+r.length)%3==0;if(!s){r.jump=t-n,r.open=!1,i.end=t,i.jump=0;break}}n-=i.jump+1}}},{}],421:[function(e,t,n){"use strict";t.exports.tokenize=function(e,t){var n,r,i,o=e.pos,a=e.src.charCodeAt(o);if(t)return!1;if(95!==a&&42!==a)return!1;for(r=e.scanDelims(e.pos,42===a),n=0;n=0;t--)n=s[t],95!==n.marker&&42!==n.marker||-1!==n.end&&(r=s[n.end],a=t>0&&s[t-1].end===n.end+1&&s[t-1].token===n.token-1&&s[n.end+1].token===r.token+1&&s[t-1].marker===n.marker,o=String.fromCharCode(n.marker),i=e.tokens[n.token],i.type=a?"strong_open":"em_open",i.tag=a?"strong":"em",i.nesting=1,i.markup=a?o+o:o,i.content="",i=e.tokens[r.token],i.type=a?"strong_close":"em_close",i.tag=a?"strong":"em",i.nesting=-1,i.markup=a?o+o:o,i.content="",a&&(e.tokens[s[t-1].token].content="",e.tokens[s[n.end+1].token].content="",t--))}},{}],422:[function(e,t,n){"use strict";var r=e("../common/entities"),i=e("../common/utils").has,o=e("../common/utils").isValidEntityCode,a=e("../common/utils").fromCodePoint,s=/^&#((?:x[a-f0-9]{1,8}|[0-9]{1,8}));/i,l=/^&([a-z][a-z0-9]{1,31});/i;t.exports=function(e,t){var n,c,u=e.pos,d=e.posMax;if(38!==e.src.charCodeAt(u))return!1;if(u+1?@[]^_`{|}~-".split("").forEach(function(e){i[e.charCodeAt(0)]=1}),t.exports=function(e,t){var n,o=e.pos,a=e.posMax;if(92!==e.src.charCodeAt(o))return!1;if(++o=97&&t<=122}var i=e("../common/html_re").HTML_TAG_RE;t.exports=function(e,t){var n,o,a,s,l=e.pos;return!!e.md.options.html&&(a=e.posMax,!(60!==e.src.charCodeAt(l)||l+2>=a)&&(!(33!==(n=e.src.charCodeAt(l+1))&&63!==n&&47!==n&&!r(n))&&(!!(o=e.src.slice(l).match(i))&&(t||(s=e.push("html_inline","",0),s.content=e.src.slice(l,l+o[0].length)),e.pos+=o[0].length,!0))))}},{"../common/html_re":384}],425:[function(e,t,n){"use strict";var r=e("../common/utils").normalizeReference,i=e("../common/utils").isSpace;t.exports=function(e,t){var n,o,a,s,l,c,u,d,f,p,h,m,g,v="",_=e.pos,y=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(c=e.pos+2,(l=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((u=l+1)=y)return!1;for(g=u,f=e.md.helpers.parseLinkDestination(e.src,u,e.posMax),f.ok&&(v=e.md.normalizeLink(f.str),e.md.validateLink(v)?u=f.pos:v=""),g=u;u=y||41!==e.src.charCodeAt(u))return e.pos=_,!1;u++}else{if(void 0===e.env.references)return!1;if(u=0?s=e.src.slice(g,u++):u=l+1):u=l+1,s||(s=e.src.slice(c,l)),!(d=e.env.references[r(s)]))return e.pos=_,!1;v=d.href,p=d.title}return t||(a=e.src.slice(c,l),e.md.inline.parse(a,e.md,e.env,m=[]),h=e.push("image","img",0),h.attrs=n=[["src",v],["alt",""]],h.children=m,h.content=a,p&&n.push(["title",p])),e.pos=u,e.posMax=y,!0}},{"../common/utils":385}],426:[function(e,t,n){"use strict";var r=e("../common/utils").normalizeReference,i=e("../common/utils").isSpace;t.exports=function(e,t){var n,o,a,s,l,c,u,d,f,p,h="",m=e.pos,g=e.posMax,v=e.pos,_=!0;if(91!==e.src.charCodeAt(e.pos))return!1;if(l=e.pos+1,(s=e.md.helpers.parseLinkLabel(e,e.pos,!0))<0)return!1;if((c=s+1)=g)return!1;for(v=c,u=e.md.helpers.parseLinkDestination(e.src,c,e.posMax),u.ok&&(h=e.md.normalizeLink(u.str),e.md.validateLink(h)?c=u.pos:h=""),v=c;c=g||41!==e.src.charCodeAt(c))&&(_=!0),c++}if(_){if(void 0===e.env.references)return!1;if(c=0?a=e.src.slice(v,c++):c=s+1):c=s+1,a||(a=e.src.slice(l,s)),!(d=e.env.references[r(a)]))return e.pos=m,!1;h=d.href,f=d.title}return t||(e.pos=l,e.posMax=s,p=e.push("link_open","a",1),p.attrs=n=[["href",h]],f&&n.push(["title",f]),e.md.inline.tokenize(e),p=e.push("link_close","a",-1)),e.pos=c,e.posMax=g,!0}},{"../common/utils":385}],427:[function(e,t,n){"use strict";var r=e("../common/utils").isSpace;t.exports=function(e,t){var n,i,o=e.pos;if(10!==e.src.charCodeAt(o))return!1;for(n=e.pending.length-1,i=e.posMax,t||(n>=0&&32===e.pending.charCodeAt(n)?n>=1&&32===e.pending.charCodeAt(n-1)?(e.pending=e.pending.replace(/ +$/,""),e.push("hardbreak","br",0)):(e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0)):e.push("softbreak","br",0)),o++;o0&&this.level++,this.pendingLevel=this.level,this.tokens.push(r),r},r.prototype.scanDelims=function(e,t){var n,r,i,l,c,u,d,f,p,h=e,m=!0,g=!0,v=this.posMax,_=this.src.charCodeAt(e);for(n=e>0?this.src.charCodeAt(e-1):32;h=0&&(n=this.attrs[t][1]),n},r.prototype.attrJoin=function(e,t){var n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=this.attrs[n][1]+" "+t},t.exports=r},{}],433:[function(e,t,n){"use strict";function r(e){var t,n,r=o[e];if(r)return r;for(r=o[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),r.push(n);for(t=0;t=55296&&l<=57343?"���":String.fromCharCode(l),t+=6):240==(248&i)&&t+91114111?c+="����":(l-=65536,c+=String.fromCharCode(55296+(l>>10),56320+(1023&l))),t+=9):c+="�";return c})}var o={};i.defaultChars=";/?:@&=+$,#",i.componentChars="",t.exports=i},{}],434:[function(e,t,n){"use strict";function r(e){var t,n,r=o[e];if(r)return r;for(r=o[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),/^[0-9a-z]$/i.test(n)?r.push(n):r.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t=55296&&s<=57343){if(s>=55296&&s<=56319&&o+1=56320&&l<=57343){u+=encodeURIComponent(e[o]+e[o+1]),o++;continue}u+="%EF%BF%BD"}else u+=encodeURIComponent(e[o]);return u}var o={};i.defaultChars=";/?:@&=+$,-_.!~*'()#",i.componentChars="-_.!~*'()",t.exports=i},{}],435:[function(e,t,n){"use strict";t.exports=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""}},{}],436:[function(e,t,n){"use strict";t.exports.encode=e("./encode"),t.exports.decode=e("./decode"),t.exports.format=e("./format"),t.exports.parse=e("./parse")},{"./decode":433,"./encode":434,"./format":435,"./parse":437}],437:[function(e,t,n){"use strict";function r(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}function i(e,t){if(e&&e instanceof r)return e;var n=new r;return n.parse(e,t),n}var o=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,s=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,l=["<",">",'"',"`"," ","\r","\n","\t"],c=["{","}","|","\\","^","`"].concat(l),u=["'"].concat(c),d=["%","/","?",";","#"].concat(u),f=["/","?","#"],p=/^[+a-z0-9A-Z_-]{0,63}$/,h=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,m={javascript:!0,"javascript:":!0},g={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};r.prototype.parse=function(e,t){var n,r,i,a,l,c=e;if(c=c.trim(),!t&&1===e.split("#").length){var u=s.exec(c);if(u)return this.pathname=u[1],u[2]&&(this.search=u[2]),this}var v=o.exec(c);if(v&&(v=v[0],i=v.toLowerCase(),this.protocol=v,c=c.substr(v.length)),(t||v||c.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(l="//"===c.substr(0,2))||v&&m[v]||(c=c.substr(2),this.slashes=!0)),!m[v]&&(l||v&&!g[v])){var _=-1;for(n=0;n127?C+="x":C+=S[T];if(!C.match(p)){var E=k.slice(0,n),A=k.slice(n+1),L=S.match(h);L&&(E.push(L[1]),A.unshift(L[2])),A.length&&(c=A.join(".")+c),this.hostname=E.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),w&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var D=c.indexOf("#");-1!==D&&(this.hash=c.substr(D),c=c.slice(0,D));var j=c.indexOf("?");return-1!==j&&(this.search=c.substr(j),c=c.slice(0,j)),c&&(this.pathname=c),g[i]&&this.hostname&&!this.pathname&&(this.pathname=""),this},r.prototype.parseHost=function(e){var t=a.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},t.exports=i},{}],438:[function(e,t,n){!function(r,i){"object"==typeof n&&void 0!==t&&"function"==typeof e?i(e("../moment")):"function"==typeof define&&define.amd?define(["../moment"],i):i(r.moment)}(this,function(e){"use strict";return e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{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"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})})},{"../moment":439}],439:[function(e,t,n){!function(e,r){"object"==typeof n&&void 0!==t?t.exports=r():"function"==typeof define&&define.amd?define(r):e.moment=r()}(this,function(){"use strict";function n(){return Er.apply(null,arguments)}function r(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function i(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function o(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(e.hasOwnProperty(t))return!1;return!0}function a(e){return void 0===e}function s(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function l(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function c(e,t){var n,r=[];for(n=0;n0)for(n=0;n0?"future":"past"];return T(n)?n(t):n.replace(/%s/i,t)}function z(e,t){var n=e.toLowerCase();Ir[n]=Ir[n+"s"]=Ir[t]=e}function N(e){return"string"==typeof e?Ir[e]||Ir[e.toLowerCase()]:void 0}function I(e){var t,n,r={};for(n in e)u(e,n)&&(t=N(n))&&(r[t]=e[n]);return r}function q(e,t){qr[e]=t}function R(e){var t=[];for(var n in e)t.push({unit:n,priority:qr[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}function $(e,t,n){var r=""+Math.abs(e),i=t-r.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}function W(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(Br[e]=i),t&&(Br[t[0]]=function(){return $(i.apply(this,arguments),t[1],t[2])}),n&&(Br[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function B(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function H(e){var t,n,r=e.match(Rr);for(t=0,n=r.length;t=0&&$r.test(e);)e=e.replace($r,n),$r.lastIndex=0,r-=1;return e}function Y(e,t,n){si[e]=T(t)?t:function(e,r){return e&&n?n:t}}function G(e,t){return u(si,e)?si[e](t._strict,t._locale):new RegExp(Z(e))}function Z(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 X(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),s(t)&&(r=function(e,n){n[t]=x(e)}),n=0;n=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}function xe(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function we(e,t,n){var r=7+t-n;return-(7+xe(e,0,r).getUTCDay()-t)%7+r-1}function ke(e,t,n,r,i){var o,a,s=(7+n-r)%7,l=we(e,r,i),c=1+7*(t-1)+s+l;return c<=0?(o=e-1,a=ee(o)+c):c>ee(e)?(o=e+1,a=c-ee(e)):(o=e,a=c),{year:o,dayOfYear:a}}function Se(e,t,n){var r,i,o=we(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return a<1?(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(ee(e)-r+i)/7}function Te(e){return Se(e,this._week.dow,this._week.doy).week}function Me(){return this._week.dow}function Ee(){return this._week.doy}function Ae(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Le(e){var t=Se(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function De(e,t){return"string"!=typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"==typeof e?e:null):parseInt(e,10)}function je(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Oe(e,t){return e?r(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:r(this._weekdays)?this._weekdays:this._weekdays.standalone}function Fe(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Pe(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin}function ze(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=f([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?(i=_i.call(this._weekdaysParse,a),-1!==i?i:null):"ddd"===t?(i=_i.call(this._shortWeekdaysParse,a),-1!==i?i:null):(i=_i.call(this._minWeekdaysParse,a),-1!==i?i:null):"dddd"===t?-1!==(i=_i.call(this._weekdaysParse,a))?i:-1!==(i=_i.call(this._shortWeekdaysParse,a))?i:(i=_i.call(this._minWeekdaysParse,a),-1!==i?i:null):"ddd"===t?-1!==(i=_i.call(this._shortWeekdaysParse,a))?i:-1!==(i=_i.call(this._weekdaysParse,a))?i:(i=_i.call(this._minWeekdaysParse,a),-1!==i?i:null):-1!==(i=_i.call(this._minWeekdaysParse,a))?i:-1!==(i=_i.call(this._weekdaysParse,a))?i:(i=_i.call(this._shortWeekdaysParse,a),-1!==i?i:null)}function Ne(e,t,n){var r,i,o;if(this._weekdaysParseExact)return ze.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=f([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 Ie(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=De(e,this.localeData()),this.add(e-t,"d")):t}function qe(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 Re(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=je(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function $e(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||He.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(u(this,"_weekdaysRegex")||(this._weekdaysRegex=Ai),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function We(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||He.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(u(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Li),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Be(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||He.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(u(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Di),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function He(){function e(e,t){return t.length-e.length}var t,n,r,i,o,a=[],s=[],l=[],c=[];for(t=0;t<7;t++)n=f([2e3,1]).day(t),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),o=this.weekdays(n,""),a.push(r),s.push(i),l.push(o),c.push(r),c.push(i),c.push(o);for(a.sort(e),s.sort(e),l.sort(e),c.sort(e),t=0;t<7;t++)s[t]=K(s[t]),l[t]=K(l[t]),c[t]=K(c[t]);this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Ue(){return this.hours()%12||12}function Ve(){return this.hours()||24}function Ye(e,t){W(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function Ge(e,t){return t._meridiemParse}function Ze(e){return"p"===(e+"").toLowerCase().charAt(0)}function Ke(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}function Xe(e){return e?e.toLowerCase().replace("_","-"):e}function Qe(e){for(var t,n,r,i,o=0;o0;){if(r=Je(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&w(i,n,!0)>=t-1)break;t--}o++}return null}function Je(n){var r=null;if(!zi[n]&&void 0!==t&&t&&t.exports)try{r=ji._abbr;e("./locale/"+n),et(r)}catch(e){}return zi[n]}function et(e,t){var n;return e&&(n=a(t)?rt(e):tt(e,t))&&(ji=n),ji._abbr}function tt(e,t){if(null!==t){var n=Pi;if(t.abbr=e,null!=zi[e])C("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=zi[e]._config;else if(null!=t.parentLocale){if(null==zi[t.parentLocale])return Ni[t.parentLocale]||(Ni[t.parentLocale]=[]),Ni[t.parentLocale].push({name:e,config:t}),null;n=zi[t.parentLocale]._config}return zi[e]=new A(E(n,t)),Ni[e]&&Ni[e].forEach(function(e){tt(e.name,e.config)}),et(e),zi[e]}return delete zi[e],null}function nt(e,t){if(null!=t){var n,r=Pi;null!=zi[e]&&(r=zi[e]._config),t=E(r,t),n=new A(t),n.parentLocale=zi[e],zi[e]=n,et(e)}else null!=zi[e]&&(null!=zi[e].parentLocale?zi[e]=zi[e].parentLocale:null!=zi[e]&&delete zi[e]);return zi[e]}function rt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return ji;if(!r(e)){if(t=Je(e))return t;e=[e]}return Qe(e)}function it(){return Or(zi)}function ot(e){var t,n=e._a;return n&&-2===h(e).overflow&&(t=n[ui]<0||n[ui]>11?ui:n[di]<1||n[di]>ce(n[ci],n[ui])?di:n[fi]<0||n[fi]>24||24===n[fi]&&(0!==n[pi]||0!==n[hi]||0!==n[mi])?fi:n[pi]<0||n[pi]>59?pi:n[hi]<0||n[hi]>59?hi:n[mi]<0||n[mi]>999?mi:-1,h(e)._overflowDayOfYear&&(tdi)&&(t=di),h(e)._overflowWeeks&&-1===t&&(t=gi),h(e)._overflowWeekday&&-1===t&&(t=vi),h(e).overflow=t),e}function at(e,t,n){return null!=e?e:null!=t?t:n}function st(e){var t=new Date(n.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function lt(e){var t,n,r,i,o=[];if(!e._d){for(r=st(e),e._w&&null==e._a[di]&&null==e._a[ui]&&ct(e),null!=e._dayOfYear&&(i=at(e._a[ci],r[ci]),(e._dayOfYear>ee(i)||0===e._dayOfYear)&&(h(e)._overflowDayOfYear=!0),n=xe(i,0,e._dayOfYear),e._a[ui]=n.getUTCMonth(),e._a[di]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=o[t]=r[t];for(;t<7;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[fi]&&0===e._a[pi]&&0===e._a[hi]&&0===e._a[mi]&&(e._nextDay=!0,e._a[fi]=0),e._d=(e._useUTC?xe:be).apply(null,o),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[fi]=24),e._w&&void 0!==e._w.d&&e._w.d!==e._d.getDay()&&(h(e).weekdayMismatch=!0)}}function ct(e){var t,n,r,i,o,a,s,l;if(t=e._w,null!=t.GG||null!=t.W||null!=t.E)o=1,a=4,n=at(t.GG,e._a[ci],Se(Tt(),1,4).year),r=at(t.W,1),((i=at(t.E,1))<1||i>7)&&(l=!0);else{o=e._locale._week.dow,a=e._locale._week.doy;var c=Se(Tt(),o,a);n=at(t.gg,e._a[ci],c.year),r=at(t.w,c.week),null!=t.d?((i=t.d)<0||i>6)&&(l=!0):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(l=!0)):i=o}r<1||r>Ce(n,o,a)?h(e)._overflowWeeks=!0:null!=l?h(e)._overflowWeekday=!0:(s=ke(n,r,i,o,a),e._a[ci]=s.year,e._dayOfYear=s.dayOfYear)}function ut(e){var t,n,r,i,o,a,s=e._i,l=Ii.exec(s)||qi.exec(s);if(l){for(h(e).iso=!0,t=0,n=$i.length;t0&&h(e).unusedInput.push(a),s=s.slice(s.indexOf(r)+r.length),c+=r.length),Br[o]?(r?h(e).empty=!1:h(e).unusedTokens.push(o),J(o,r,e)):e._strict&&!r&&h(e).unusedTokens.push(o);h(e).charsLeftOver=l-c,s.length>0&&h(e).unusedInput.push(s),e._a[fi]<=12&&!0===h(e).bigHour&&e._a[fi]>0&&(h(e).bigHour=void 0),h(e).parsedDateParts=e._a.slice(0),h(e).meridiem=e._meridiem,e._a[fi]=yt(e._locale,e._a[fi],e._meridiem),lt(e),ot(e)}function yt(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(r=e.isPM(n),r&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function bt(e){var t,n,r,i,o;if(0===e._f.length)return h(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;ithis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Yt(){if(!a(this._isDSTShifted))return this._isDSTShifted;var e={};if(v(e,this),e=kt(e),e._a){var t=e._isUTC?f(e._a):Tt(e._a);this._isDSTShifted=this.isValid()&&w(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function Gt(){return!!this.isValid()&&!this._isUTC}function Zt(){return!!this.isValid()&&this._isUTC}function Kt(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function Xt(e,t){var n,r,i,o=e,a=null;return Ft(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:s(e)?(o={},t?o[t]=e:o.milliseconds=e):(a=Xi.exec(e))?(n="-"===a[1]?-1:1,o={y:0,d:x(a[di])*n,h:x(a[fi])*n,m:x(a[pi])*n,s:x(a[hi])*n,ms:x(Pt(1e3*a[mi]))*n}):(a=Qi.exec(e))?(n="-"===a[1]?-1:(a[1],1),o={y:Qt(a[2],n),M:Qt(a[3],n),w:Qt(a[4],n),d:Qt(a[5],n),h:Qt(a[6],n),m:Qt(a[7],n),s:Qt(a[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(i=en(Tt(o.from),Tt(o.to)),o={},o.ms=i.milliseconds,o.M=i.months),r=new Ot(o),Ft(e)&&u(e,"_locale")&&(r._locale=e._locale),r}function Qt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Jt(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 en(e,t){var n;return e.isValid()&&t.isValid()?(t=It(t,e),e.isBefore(t)?n=Jt(e,t):(n=Jt(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function tn(e,t){return function(n,r){var i,o;return null===r||isNaN(+r)||(C(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),n="string"==typeof n?+n:n,i=Xt(n,r),nn(this,i,e),this}}function nn(e,t,r,i){var o=t._milliseconds,a=Pt(t._days),s=Pt(t._months);e.isValid()&&(i=null==i||i,s&&he(e,ie(e,"Month")+s*r),a&&oe(e,"Date",ie(e,"Date")+a*r),o&&e._d.setTime(e._d.valueOf()+o*r),i&&n.updateOffset(e,a||s))}function rn(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function on(e,t){var r=e||Tt(),i=It(r,this).startOf("day"),o=n.calendarFormat(this,i)||"sameElse",a=t&&(T(t[o])?t[o].call(this,r):t[o]);return this.format(a||this.localeData().calendar(o,this,Tt(r)))}function an(){return new _(this)}function sn(e,t){var n=y(e)?e:Tt(e);return!(!this.isValid()||!n.isValid())&&(t=N(a(t)?"millisecond":t),"millisecond"===t?this.valueOf()>n.valueOf():n.valueOf()9999?U(e,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):T(Date.prototype.toISOString)?this.toDate().toISOString():U(e,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}function vn(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="";this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z");var n="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i=t+'[")]';return this.format(n+r+"-MM-DD[T]HH:mm:ss.SSS"+i)}function _n(e){e||(e=this.isUtc()?n.defaultFormatUtc:n.defaultFormat);var t=U(this,e);return this.localeData().postformat(t)}function yn(e,t){return this.isValid()&&(y(e)&&e.isValid()||Tt(e).isValid())?Xt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function bn(e){return this.from(Tt(),e)}function xn(e,t){return this.isValid()&&(y(e)&&e.isValid()||Tt(e).isValid())?Xt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function wn(e){return this.to(Tt(),e)}function kn(e){var t;return void 0===e?this._locale._abbr:(t=rt(e),null!=t&&(this._locale=t),this)}function Sn(){return this._locale}function Cn(e){switch(e=N(e)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===e&&this.weekday(0),"isoWeek"===e&&this.isoWeekday(1),"quarter"===e&&this.month(3*Math.floor(this.month()/3)),this}function Tn(e){return void 0===(e=N(e))||"millisecond"===e?this:("date"===e&&(e="day"),this.startOf(e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms"))}function Mn(){return this._d.valueOf()-6e4*(this._offset||0)}function En(){return Math.floor(this.valueOf()/1e3)}function An(){return new Date(this.valueOf())}function Ln(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Dn(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function jn(){return this.isValid()?this.toISOString():null}function On(){return m(this)}function Fn(){return d({},h(this))}function Pn(){return h(this).overflow}function zn(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Nn(e,t){W(0,[e,e.length],0,t)}function In(e){return Wn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function qn(e){return Wn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Rn(){return Ce(this.year(),1,4)}function $n(){var e=this.localeData()._week;return Ce(this.year(),e.dow,e.doy)}function Wn(e,t,n,r,i){var o;return null==e?Se(this,r,i).year:(o=Ce(e,r,i),t>o&&(t=o),Bn.call(this,e,t,n,r,i))}function Bn(e,t,n,r,i){var o=ke(e,t,n,r,i),a=xe(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function Hn(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function Un(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}function Vn(e,t){t[mi]=x(1e3*("0."+e))}function Yn(){return this._isUTC?"UTC":""}function Gn(){return this._isUTC?"Coordinated Universal Time":""}function Zn(e){return Tt(1e3*e)}function Kn(){return Tt.apply(null,arguments).parseZone()}function Xn(e){return e}function Qn(e,t,n,r){var i=rt(),o=f().set(r,t);return i[n](o,e)}function Jn(e,t,n){if(s(e)&&(t=e,e=void 0),e=e||"",null!=t)return Qn(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=Qn(e,r,n,"month");return i}function er(e,t,n,r){"boolean"==typeof e?(s(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,s(t)&&(n=t,t=void 0),t=t||"");var i=rt(),o=e?i._week.dow:0;if(null!=n)return Qn(t,(n+o)%7,r,"day");var a,l=[];for(a=0;a<7;a++)l[a]=Qn(t,(a+o)%7,r,"day");return l}function tr(e,t){return Jn(e,t,"months")}function nr(e,t){return Jn(e,t,"monthsShort")}function rr(e,t,n){return er(e,t,n,"weekdays")}function ir(e,t,n){return er(e,t,n,"weekdaysShort")}function or(e,t,n){return er(e,t,n,"weekdaysMin")}function ar(){var e=this._data;return this._milliseconds=co(this._milliseconds),this._days=co(this._days),this._months=co(this._months),e.milliseconds=co(e.milliseconds),e.seconds=co(e.seconds),e.minutes=co(e.minutes),e.hours=co(e.hours),e.months=co(e.months),e.years=co(e.years),this}function sr(e,t,n,r){var i=Xt(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function lr(e,t){return sr(this,e,t,1)}function cr(e,t){return sr(this,e,t,-1)}function ur(e){return e<0?Math.floor(e):Math.ceil(e)}function dr(){var e,t,n,r,i,o=this._milliseconds,a=this._days,s=this._months,l=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*ur(pr(s)+a),a=0,s=0),l.milliseconds=o%1e3,e=b(o/1e3),l.seconds=e%60,t=b(e/60),l.minutes=t%60,n=b(t/60),l.hours=n%24,a+=b(n/24),i=b(fr(a)),s+=i,a-=ur(pr(i)),r=b(s/12),s%=12,l.days=a,l.months=s,l.years=r,this}function fr(e){return 4800*e/146097}function pr(e){return 146097*e/4800}function hr(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=N(e))||"year"===e)return t=this._days+r/864e5,n=this._months+fr(t),"month"===e?n:n/12;switch(t=this._days+Math.round(pr(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 mr(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*x(this._months/12):NaN}function gr(e){return function(){return this.as(e)}}function vr(){return Xt(this)}function _r(e){return e=N(e),this.isValid()?this[e+"s"]():NaN}function yr(e){return function(){return this.isValid()?this._data[e]:NaN}}function br(){return b(this.days()/7)}function xr(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function wr(e,t,n){var r=Xt(e).abs(),i=To(r.as("s")),o=To(r.as("m")),a=To(r.as("h")),s=To(r.as("d")),l=To(r.as("M")),c=To(r.as("y")),u=i<=Mo.ss&&["s",i]||i0,u[4]=n,xr.apply(null,u)}function kr(e){return void 0===e?To:"function"==typeof e&&(To=e,!0)}function Sr(e,t){return void 0!==Mo[e]&&(void 0===t?Mo[e]:(Mo[e]=t,"s"===e&&(Mo.ss=t-1),!0))}function Cr(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),n=wr(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function Tr(e){return(e>0)-(e<0)||+e}function Mr(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r=Eo(this._milliseconds)/1e3,i=Eo(this._days),o=Eo(this._months);e=b(r/60),t=b(e/60),r%=60,e%=60,n=b(o/12),o%=12;var a=n,s=o,l=i,c=t,u=e,d=r?r.toFixed(3).replace(/\.?0+$/,""):"",f=this.asSeconds();if(!f)return"P0D";var p=f<0?"-":"",h=Tr(this._months)!==Tr(f)?"-":"",m=Tr(this._days)!==Tr(f)?"-":"",g=Tr(this._milliseconds)!==Tr(f)?"-":"";return p+"P"+(a?h+a+"Y":"")+(s?h+s+"M":"")+(l?m+l+"D":"")+(c||u||d?"T":"")+(c?g+c+"H":"")+(u?g+u+"M":"")+(d?g+d+"S":"")}var Er,Ar;Ar=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;r68?1900:2e3)};var _i,yi=re("FullYear",!0);_i=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;tthis?this:e:g()}),Gi=function(){return Date.now?Date.now():+new Date},Zi=["year","quarter","month","week","day","hour","minute","second","millisecond"];zt("Z",":"),zt("ZZ",""),Y("Z",ii),Y("ZZ",ii),X(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Nt(ii,e)});var Ki=/([\+\-]|\d\d)/gi;n.updateOffset=function(){};var Xi=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Qi=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;Xt.fn=Ot.prototype,Xt.invalid=jt;var Ji=tn(1,"add"),eo=tn(-1,"subtract");n.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",n.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var to=S("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)});W(0,["gg",2],0,function(){return this.weekYear()%100}),W(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Nn("gggg","weekYear"),Nn("ggggg","weekYear"),Nn("GGGG","isoWeekYear"),Nn("GGGGG","isoWeekYear"),z("weekYear","gg"),z("isoWeekYear","GG"),q("weekYear",1),q("isoWeekYear",1),Y("G",ni),Y("g",ni),Y("GG",Zr,Ur),Y("gg",Zr,Ur),Y("GGGG",Jr,Yr),Y("gggg",Jr,Yr),Y("GGGGG",ei,Gr),Y("ggggg",ei,Gr),Q(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=x(e)}),Q(["gg","GG"],function(e,t,r,i){t[i]=n.parseTwoDigitYear(e)}),W("Q",0,"Qo","quarter"),z("quarter","Q"),q("quarter",7),Y("Q",Hr),X("Q",function(e,t){t[ui]=3*(x(e)-1)}),W("D",["DD",2],"Do","date"),z("date","D"),q("date",9),Y("D",Zr),Y("DD",Zr,Ur),Y("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),X(["D","DD"],di),X("Do",function(e,t){t[di]=x(e.match(Zr)[0],10)});var no=re("Date",!0);W("DDD",["DDDD",3],"DDDo","dayOfYear"),z("dayOfYear","DDD"),q("dayOfYear",4),Y("DDD",Qr),Y("DDDD",Vr),X(["DDD","DDDD"],function(e,t,n){n._dayOfYear=x(e)}),W("m",["mm",2],0,"minute"),z("minute","m"),q("minute",14),Y("m",Zr),Y("mm",Zr,Ur),X(["m","mm"],pi);var ro=re("Minutes",!1);W("s",["ss",2],0,"second"),z("second","s"),q("second",15),Y("s",Zr),Y("ss",Zr,Ur),X(["s","ss"],hi);var io=re("Seconds",!1);W("S",0,0,function(){return~~(this.millisecond()/100)}),W(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),W(0,["SSS",3],0,"millisecond"),W(0,["SSSS",4],0,function(){return 10*this.millisecond()}),W(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),W(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),W(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),W(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),W(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),z("millisecond","ms"),q("millisecond",16),Y("S",Qr,Hr),Y("SS",Qr,Ur),Y("SSS",Qr,Vr);var oo;for(oo="SSSS";oo.length<=9;oo+="S")Y(oo,ti);for(oo="S";oo.length<=9;oo+="S")X(oo,Vn);var ao=re("Milliseconds",!1);W("z",0,0,"zoneAbbr"),W("zz",0,0,"zoneName");var so=_.prototype;so.add=Ji,so.calendar=on,so.clone=an,so.diff=pn,so.endOf=Tn,so.format=_n,so.from=yn,so.fromNow=bn,so.to=xn,so.toNow=wn,so.get=ae,so.invalidAt=Pn,so.isAfter=sn,so.isBefore=ln,so.isBetween=cn,so.isSame=un,so.isSameOrAfter=dn,so.isSameOrBefore=fn,so.isValid=On,so.lang=to,so.locale=kn,so.localeData=Sn,so.max=Yi,so.min=Vi,so.parsingFlags=Fn,so.set=se,so.startOf=Cn,so.subtract=eo,so.toArray=Ln,so.toObject=Dn,so.toDate=An,so.toISOString=gn,so.inspect=vn,so.toJSON=jn,so.toString=mn,so.unix=En,so.valueOf=Mn,so.creationData=zn,so.year=yi,so.isLeapYear=ne,so.weekYear=In,so.isoWeekYear=qn,so.quarter=so.quarters=Hn,so.month=me,so.daysInMonth=ge,so.week=so.weeks=Ae,so.isoWeek=so.isoWeeks=Le,so.weeksInYear=$n,so.isoWeeksInYear=Rn,so.date=no,so.day=so.days=Ie,so.weekday=qe,so.isoWeekday=Re,so.dayOfYear=Un,so.hour=so.hours=Fi,so.minute=so.minutes=ro,so.second=so.seconds=io,so.millisecond=so.milliseconds=ao,so.utcOffset=Rt,so.utc=Wt,so.local=Bt,so.parseZone=Ht,so.hasAlignedHourOffset=Ut,so.isDST=Vt,so.isLocal=Gt,so.isUtcOffset=Zt,so.isUtc=Kt,so.isUTC=Kt,so.zoneAbbr=Yn,so.zoneName=Gn,so.dates=S("dates accessor is deprecated. Use date instead.",no),so.months=S("months accessor is deprecated. Use month instead",me),so.years=S("years accessor is deprecated. Use year instead",yi),so.zone=S("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",$t),so.isDSTShifted=S("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Yt);var lo=A.prototype;lo.calendar=L,lo.longDateFormat=D,lo.invalidDate=j,lo.ordinal=O,lo.preparse=Xn,lo.postformat=Xn,lo.relativeTime=F,lo.pastFuture=P,lo.set=M,lo.months=ue,lo.monthsShort=de,lo.monthsParse=pe,lo.monthsRegex=_e,lo.monthsShortRegex=ve,lo.week=Te,lo.firstDayOfYear=Ee,lo.firstDayOfWeek=Me,lo.weekdays=Oe,lo.weekdaysMin=Pe,lo.weekdaysShort=Fe,lo.weekdaysParse=Ne,lo.weekdaysRegex=$e,lo.weekdaysShortRegex=We,lo.weekdaysMinRegex=Be,lo.isPM=Ze,lo.meridiem=Ke,et("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===x(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),n.lang=S("moment.lang is deprecated. Use moment.locale instead.",et),n.langData=S("moment.langData is deprecated. Use moment.localeData instead.",rt);var co=Math.abs,uo=gr("ms"),fo=gr("s"),po=gr("m"),ho=gr("h"),mo=gr("d"),go=gr("w"),vo=gr("M"),_o=gr("y"),yo=yr("milliseconds"),bo=yr("seconds"),xo=yr("minutes"),wo=yr("hours"),ko=yr("days"),So=yr("months"),Co=yr("years"),To=Math.round,Mo={ss:44,s:45,m:45,h:22,d:26,M:11},Eo=Math.abs,Ao=Ot.prototype;return Ao.isValid=Dt,Ao.abs=ar,Ao.add=lr,Ao.subtract=cr,Ao.as=hr,Ao.asMilliseconds=uo,Ao.asSeconds=fo,Ao.asMinutes=po,Ao.asHours=ho,Ao.asDays=mo,Ao.asWeeks=go,Ao.asMonths=vo,Ao.asYears=_o,Ao.valueOf=mr,Ao._bubble=dr,Ao.clone=vr,Ao.get=_r,Ao.milliseconds=yo,Ao.seconds=bo,Ao.minutes=xo,Ao.hours=wo,Ao.days=ko,Ao.weeks=br,Ao.months=So,Ao.years=Co,Ao.humanize=Cr,Ao.toISOString=Mr,Ao.toString=Mr,Ao.toJSON=Mr,Ao.locale=kn,Ao.localeData=Sn,Ao.toIsoString=S("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Mr),Ao.lang=to,W("X",0,0,"unix"),W("x",0,0,"valueOf"),Y("x",ni),Y("X",oi),X("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),X("x",function(e,t,n){n._d=new Date(x(e))}),n.version="2.19.1",function(e){Er=e}(Tt),n.fn=so,n.min=Et,n.max=At,n.now=Gi,n.utc=f,n.unix=Zn,n.months=tr,n.isDate=l,n.locale=et,n.invalid=g,n.duration=Xt,n.isMoment=y,n.weekdays=rr,n.parseZone=Kn,n.localeData=rt,n.isDuration=Ft,n.monthsShort=nr,n.weekdaysMin=or,n.defineLocale=tt,n.updateLocale=nt,n.locales=it,n.weekdaysShort=ir,n.normalizeUnits=N,n.relativeTimeRounding=kr,n.relativeTimeThreshold=Sr,n.calendarFormat=rn,n.prototype=so,n})},{}],440:[function(e,t,n){function r(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function o(e){if(d===setTimeout)return setTimeout(e,0);if((d===r||!d)&&setTimeout)return d=setTimeout,setTimeout(e,0);try{return d(e,0)}catch(t){try{return d.call(null,e,0)}catch(t){return d.call(this,e,0)}}}function a(e){if(f===clearTimeout)return clearTimeout(e);if((f===i||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(e);try{return f(e)}catch(t){try{return f.call(null,e)}catch(t){return f.call(this,e)}}}function s(){g&&h&&(g=!1,h.length?m=h.concat(m):v=-1,m.length&&l())}function l(){if(!g){var e=o(s);g=!0;for(var t=m.length;t;){for(h=m,m=[];++v1)for(var n=1;n1&&(r=n[0]+"@",e=n[1]),e=e.replace(j,"."),r+o(e.split("."),t).join(".")}function s(e){for(var t,n,r=[],i=0,o=e.length;i=55296&&t<=56319&&i65535&&(e-=65536,t+=z(e>>>10&1023|55296),e=56320|1023&e),t+=z(e)}).join("")}function c(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:w}function u(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function d(e,t,n){var r=0;for(e=n?P(e/T):e>>1,e+=P(e/t);e>F*S>>1;r+=w)e=P(e/F);return P(r+(F+1)*e/(e+C))}function f(e){var t,n,r,o,a,s,u,f,p,h,m=[],g=e.length,v=0,_=E,y=M;for(n=e.lastIndexOf(A),n<0&&(n=0),r=0;r=128&&i("not-basic"),m.push(e.charCodeAt(r));for(o=n>0?n+1:0;o=g&&i("invalid-input"),f=c(e.charCodeAt(o++)),(f>=w||f>P((x-v)/s))&&i("overflow"),v+=f*s,p=u<=y?k:u>=y+S?S:u-y,!(fP(x/h)&&i("overflow"),s*=h;t=m.length+1,y=d(v-a,t,0==a),P(v/t)>x-_&&i("overflow"),_+=P(v/t),v%=t,m.splice(v++,0,_)}return l(m)}function p(e){var t,n,r,o,a,l,c,f,p,h,m,g,v,_,y,b=[];for(e=s(e),g=e.length,t=E,n=0,a=M,l=0;l=t&&mP((x-n)/v)&&i("overflow"),n+=(c-t)*v,t=c,l=0;lx&&i("overflow"),m==t){for(f=n,p=w;h=p<=a?k:p>=a+S?S:p-a,!(f= 0x80 (not a basic code point)","invalid-input":"Invalid input"},F=w-k,P=Math.floor,z=String.fromCharCode;if(y={version:"1.4.1",ucs2:{decode:s,encode:l},decode:f,encode:p,toASCII:m,toUnicode:h},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",function(){return y});else if(g&&v)if(t.exports==g)v.exports=y;else for(b in y)y.hasOwnProperty(b)&&(g[b]=y[b]);else r.punycode=y}(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],442:[function(e,t,n){(function(e){!function(e){"use strict";function n(e,t,n,r){var o=t&&t.prototype instanceof i?t:i,a=Object.create(o.prototype),s=new p(r||[]);return a._invoke=c(e,n,s),a}function r(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function i(){}function o(){}function a(){}function s(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function l(t){function n(e,i,o,a){var s=r(t[e],t,i);if("throw"!==s.type){var l=s.arg,c=l.value;return c&&"object"==typeof c&&_.call(c,"__await")?Promise.resolve(c.__await).then(function(e){n("next",e,o,a)},function(e){n("throw",e,o,a)}):Promise.resolve(c).then(function(e){l.value=e,o(l)},a)}a(s.arg)}function i(e,t){function r(){return new Promise(function(r,i){n(e,t,r,i)})}return o=o?o.then(r,r):r()}"object"==typeof e.process&&e.process.domain&&(n=e.process.domain.bind(n));var o;this._invoke=i}function c(e,t,n){var i=C;return function(o,a){if(i===M)throw new Error("Generator is already running");if(i===E){if("throw"===o)throw a;return m()}for(n.method=o,n.arg=a;;){var s=n.delegate;if(s){var l=u(s,n);if(l){if(l===A)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===C)throw i=E,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=M;var c=r(e,t,n);if("normal"===c.type){if(i=n.done?E:T,c.arg===A)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(i=E,n.method="throw",n.arg=c.arg)}}}function u(e,t){var n=e.iterator[t.method];if(n===g){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=g,u(e,t),"throw"===t.method))return A;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return A}var i=r(n,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,A;var o=i.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=g),t.delegate=null,A):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,A)}function d(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function f(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function p(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(d,this),this.reset(!0)}function h(e){if(e){var t=e[b];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n=0;--r){var i=this.tryEntries[r],o=i.completion;if("root"===i.tryLoc)return t("end");if(i.tryLoc<=this.prev){var a=_.call(i,"catchLoc"),s=_.call(i,"finallyLoc");if(a&&s){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&_.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),f(n),A}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;f(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:h(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=g),A}}}("object"==typeof e?e:"object"==typeof window?window:"object"==typeof self?self:this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],443:[function(e,t,n){function r(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName){var n=e.hasAttribute("readonly");n||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),n||e.removeAttribute("readonly"),t=e.value}else{e.hasAttribute("contenteditable")&&e.focus();var r=window.getSelection(),i=document.createRange();i.selectNodeContents(e),r.removeAllRanges(),r.addRange(i),t=r.toString()}return t}t.exports=r},{}],444:[function(e,t,n){!function(e){"use strict";"function"==typeof define&&define.amd?define(e):void 0!==t&&void 0!==t.exports?t.exports=e():window.Sortable=e()}(function(){"use strict";function e(t,n){if(!t||!t.nodeType||1!==t.nodeType)throw"Sortable: `el` must be HTMLElement, and not "+{}.toString.call(t);this.el=t,this.options=n=y({},n),t[Y]=this;var r={group:Math.random(),sort:!0,disabled:!1,store:null,handle:null,scroll:!0,scrollSensitivity:30,scrollSpeed:10,draggable:/[uo]l/i.test(t.nodeName)?"li":">*",ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,setData:function(e,t){e.setData("Text",t.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==e.supportPointer};for(var i in r)!(i in n)&&(n[i]=r[i]);ue(n);for(var a in this)"_"===a.charAt(0)&&"function"==typeof this[a]&&(this[a]=this[a].bind(this));this.nativeDraggable=!n.forceFallback&&ne,o(t,"mousedown",this._onTapStart),o(t,"touchstart",this._onTapStart),n.supportPointer&&o(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(o(t,"dragover",this),o(t,"dragenter",this)),le.push(this._onDragOver),n.store&&this.sort(n.store.get(this))}function t(e,t){"clone"!==e.lastPullMode&&(t=!0),M&&M.state!==t&&(l(M,"display",t?"none":""),t||M.state&&(e.options.group.revertClone?(E.insertBefore(M,A),e._animate(S,M)):E.insertBefore(M,S)),M.state=t)}function n(e,t,n){if(e){n=n||Z;do{if(">*"===t&&e.parentNode===n||v(e,t))return e}while(e=r(e))}return null}function r(e){var t=e.host;return t&&t.nodeType?t:e.parentNode}function i(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.preventDefault()}function o(e,t,n){e.addEventListener(t,n,ee)}function a(e,t,n){e.removeEventListener(t,n,ee)}function s(e,t,n){if(e)if(e.classList)e.classList[n?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(U," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(U," ")}}function l(e,t,n){var r=e&&e.style;if(r){if(void 0===n)return Z.defaultView&&Z.defaultView.getComputedStyle?n=Z.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),void 0===t?n:n[t];t in r||(t="-webkit-"+t),r[t]=n+("string"==typeof n?"":"px")}}function c(e,t,n){if(e){var r=e.getElementsByTagName(t),i=0,o=r.length;if(n)for(;i5||t.clientX-(r.left+r.width)>5}function m(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,r=0;n--;)r+=t.charCodeAt(n);return r.toString(36)}function g(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e&&(e=e.previousElementSibling);)"TEMPLATE"===e.nodeName.toUpperCase()||">*"!==t&&!v(e,t)||n++;return n}function v(e,t){if(e){t=t.split(".");var n=t.shift().toUpperCase(),r=new RegExp("\\s("+t.join("|")+")(?=\\s)","g");return!(""!==n&&e.nodeName.toUpperCase()!=n||t.length&&((" "+e.className+" ").match(r)||[]).length!=t.length)}return!1}function _(e,t){var n,r;return function(){void 0===n&&(n=arguments,r=this,X(function(){1===n.length?e.call(r,n[0]):e.apply(r,n),n=void 0},t))}}function y(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function b(e){return J&&J.dom?J.dom(e).cloneNode(!0):Q?Q(e).clone(!0)[0]:e.cloneNode(!0)}function x(e){for(var t=e.getElementsByTagName("input"),n=t.length;n--;){var r=t[n];r.checked&&se.push(r)}}function w(e){return X(e,0)}function k(e){return clearTimeout(e)}if("undefined"==typeof window||!window.document)return function(){throw new Error("Sortable.js requires a window with a document")};var S,C,T,M,E,A,L,D,j,O,F,P,z,N,I,q,R,$,W,B,H={},U=/\s+/g,V=/left|right|inline/,Y="Sortable"+(new Date).getTime(),G=window,Z=G.document,K=G.parseInt,X=G.setTimeout,Q=G.jQuery||G.Zepto,J=G.Polymer,ee=!1,te=!1,ne="draggable"in Z.createElement("div"),re=function(e){return!navigator.userAgent.match(/(?:Trident.*rv[ :]?11\.|msie)/i)&&(e=Z.createElement("x"),e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents)}(),ie=!1,oe=Math.abs,ae=Math.min,se=[],le=[],ce=_(function(e,t,n){if(n&&t.scroll){var r,i,o,a,s,l,c=n[Y],u=t.scrollSensitivity,d=t.scrollSpeed,f=e.clientX,p=e.clientY,h=window.innerWidth,m=window.innerHeight;if(j!==n&&(D=t.scroll,j=n,O=t.scrollFn,!0===D)){D=n;do{if(D.offsetWidth-1:i==e)}}var n={},r=e.group;r&&"object"==typeof r||(r={name:r}),n.name=r.name,n.checkPull=t(r.pull,!0),n.checkPut=t(r.put),n.revertClone=r.revertClone,e.group=n};try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){te=!1,ee={capture:!1,passive:te}}}))}catch(e){}return e.prototype={constructor:e,_onTapStart:function(e){var t,r=this,i=this.el,o=this.options,a=o.preventOnFilter,s=e.type,l=e.touches&&e.touches[0],c=(l||e).target,d=e.target.shadowRoot&&e.path&&e.path[0]||c,f=o.filter;if(x(i),!S&&!(/mousedown|pointerdown/.test(s)&&0!==e.button||o.disabled)&&!d.isContentEditable&&(c=n(c,o.draggable,i))&&L!==c){if(t=g(c,o.draggable),"function"==typeof f){if(f.call(this,e,c,this))return u(r,d,"filter",c,i,i,t),void(a&&e.preventDefault())}else if(f&&(f=f.split(",").some(function(e){if(e=n(d,e.trim(),i))return u(r,e,"filter",c,i,i,t),!0})))return void(a&&e.preventDefault());o.handle&&!n(d,o.handle,i)||this._prepareDragStart(e,l,c,t)}},_prepareDragStart:function(e,t,n,r){var i,a=this,l=a.el,d=a.options,p=l.ownerDocument;n&&!S&&n.parentNode===l&&($=e,E=l,S=n,C=S.parentNode,A=S.nextSibling,L=n,q=d.group,N=r,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,S.style["will-change"]="all",i=function(){a._disableDelayedDrag(),S.draggable=a.nativeDraggable,s(S,d.chosenClass,!0),a._triggerDragStart(e,t),u(a,E,"choose",S,E,E,N)},d.ignore.split(",").forEach(function(e){c(S,e.trim(),f)}),o(p,"mouseup",a._onDrop),o(p,"touchend",a._onDrop),o(p,"touchcancel",a._onDrop),o(p,"selectstart",a),d.supportPointer&&o(p,"pointercancel",a._onDrop),d.delay?(o(p,"mouseup",a._disableDelayedDrag),o(p,"touchend",a._disableDelayedDrag),o(p,"touchcancel",a._disableDelayedDrag),o(p,"mousemove",a._disableDelayedDrag),o(p,"touchmove",a._disableDelayedDrag),d.supportPointer&&o(p,"pointermove",a._disableDelayedDrag),a._dragStartTimer=X(i,d.delay)):i())},_disableDelayedDrag:function(){var e=this.el.ownerDocument;clearTimeout(this._dragStartTimer),a(e,"mouseup",this._disableDelayedDrag),a(e,"touchend",this._disableDelayedDrag),a(e,"touchcancel",this._disableDelayedDrag),a(e,"mousemove",this._disableDelayedDrag),a(e,"touchmove",this._disableDelayedDrag),a(e,"pointermove",this._disableDelayedDrag)},_triggerDragStart:function(e,t){t=t||("touch"==e.pointerType?e:null),t?($={target:S,clientX:t.clientX,clientY:t.clientY},this._onDragStart($,"touch")):this.nativeDraggable?(o(S,"dragend",this),o(E,"dragstart",this._onDragStart)):this._onDragStart($,!0);try{Z.selection?w(function(){Z.selection.empty()}):window.getSelection().removeAllRanges()}catch(e){}},_dragStarted:function(){if(E&&S){var t=this.options;s(S,t.ghostClass,!0),s(S,t.dragClass,!1),e.active=this,u(this,E,"start",S,E,E,N)}else this._nulling()},_emulateDragOver:function(){if(W){if(this._lastX===W.clientX&&this._lastY===W.clientY)return;this._lastX=W.clientX,this._lastY=W.clientY,re||l(T,"display","none");var e=Z.elementFromPoint(W.clientX,W.clientY),t=e,n=le.length;if(e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(W.clientX,W.clientY),t=e),t)do{if(t[Y]){for(;n--;)le[n]({clientX:W.clientX,clientY:W.clientY,target:e,rootEl:t});break}e=t}while(t=t.parentNode);re||l(T,"display","")}},_onTouchMove:function(t){if($){var n=this.options,r=n.fallbackTolerance,i=n.fallbackOffset,o=t.touches?t.touches[0]:t,a=o.clientX-$.clientX+i.x,s=o.clientY-$.clientY+i.y,c=t.touches?"translate3d("+a+"px,"+s+"px,0)":"translate("+a+"px,"+s+"px)";if(!e.active){if(r&&ae(oe(o.clientX-this._lastX),oe(o.clientY-this._lastY))S.offsetWidth,k=i.offsetHeight>S.offsetHeight,L=(x?(r.clientX-a.left)/y:(r.clientY-a.top)/b)>.5,D=i.nextElementSibling,j=!1;if(x){var O=S.offsetTop,N=i.offsetTop;j=O===N?i.previousElementSibling===S&&!w||L&&w:i.previousElementSibling===S||S.previousElementSibling===i?(r.clientY-a.top)/b>.5:N>O}else v||(j=D!==S&&!k||L&&k);var I=d(E,c,S,o,i,a,r,j);!1!==I&&(1!==I&&-1!==I||(j=1===I),ie=!0,X(p,30),t(m,g),S.contains(c)||(j&&!D?c.appendChild(S):i.parentNode.insertBefore(S,j?D:i)),C=S.parentNode,this._animate(o,S),this._animate(a,i))}}},_animate:function(e,t){var n=this.options.animation;if(n){var r=t.getBoundingClientRect();1===e.nodeType&&(e=e.getBoundingClientRect()),l(t,"transition","none"),l(t,"transform","translate3d("+(e.left-r.left)+"px,"+(e.top-r.top)+"px,0)"),t.offsetWidth,l(t,"transition","all "+n+"ms"),l(t,"transform","translate3d(0,0,0)"),clearTimeout(t.animated),t.animated=X(function(){l(t,"transition",""),l(t,"transform",""),t.animated=!1},n)}},_offUpEvents:function(){var e=this.el.ownerDocument;a(Z,"touchmove",this._onTouchMove),a(Z,"pointermove",this._onTouchMove),a(e,"mouseup",this._onDrop),a(e,"touchend",this._onDrop),a(e,"pointerup",this._onDrop),a(e,"touchcancel",this._onDrop),a(e,"pointercancel",this._onDrop),a(e,"selectstart",this)},_onDrop:function(t){var n=this.el,r=this.options;clearInterval(this._loopId),clearInterval(H.pid),clearTimeout(this._dragStartTimer),k(this._cloneId),k(this._dragStartId),a(Z,"mouseover",this),a(Z,"mousemove",this._onTouchMove),this.nativeDraggable&&(a(Z,"drop",this),a(n,"dragstart",this._onDragStart)),this._offUpEvents(),t&&(B&&(t.preventDefault(),!r.dropBubble&&t.stopPropagation()),T&&T.parentNode&&T.parentNode.removeChild(T),E!==C&&"clone"===e.active.lastPullMode||M&&M.parentNode&&M.parentNode.removeChild(M),S&&(this.nativeDraggable&&a(S,"dragend",this),f(S),S.style["will-change"]="",s(S,this.options.ghostClass,!1),s(S,this.options.chosenClass,!1),u(this,E,"unchoose",S,C,E,N),E!==C?(I=g(S,r.draggable))>=0&&(u(null,C,"add",S,C,E,N,I),u(this,E,"remove",S,C,E,N,I),u(null,C,"sort",S,C,E,N,I),u(this,E,"sort",S,C,E,N,I)):S.nextSibling!==A&&(I=g(S,r.draggable))>=0&&(u(this,E,"update",S,C,E,N,I),u(this,E,"sort",S,C,E,N,I)),e.active&&(null!=I&&-1!==I||(I=N),u(this,E,"end",S,C,E,N,I),this.save()))),this._nulling()},_nulling:function(){E=S=C=T=A=M=L=D=j=$=W=B=I=F=P=R=q=e.active=null,se.forEach(function(e){e.checked=!0}),se.length=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragover":case"dragenter":S&&(this._onDragOver(e),i(e));break;case"mouseover":this._onDrop(e);break;case"selectstart":e.preventDefault()}},toArray:function(){for(var e,t=[],r=this.el.children,i=0,o=r.length,a=this.options;i=0&&Math.floor(t)===t&&isFinite(e)}function d(e){return null==e?"":"object"==typeof e?JSON.stringify(e,null,2):String(e)}function f(e){var t=parseFloat(e);return isNaN(t)?e:t}function p(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i-1)return e.splice(n,1)}}function m(e,t){return no.call(e,t)}function g(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}function v(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n}function _(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function y(e,t){for(var n in t)e[n]=t[n];return e}function b(e){for(var t={},n=0;n0&&(s=he(s,(t||"")+"_"+o),pe(s[0])&&pe(c)&&(u[l]=D(c.text+s[0].text),s.shift()),u.push.apply(u,s)):a(s)?pe(c)?u[l]=D(c.text+s):""!==s&&u.push(D(s)):pe(s)&&pe(c)?u[l]=D(c.text+s.text):(i(e._isVList)&&r(s.tag)&&n(s.key)&&r(t)&&(s.key="__vlist"+t+"_"+o+"__"),u.push(s)));return u}function me(e,t){return(e.__esModule||jo&&"Module"===e[Symbol.toStringTag])&&(e=e.default),s(e)?t.extend(e):e}function ge(e,t,n,r,i){var o=qo();return o.asyncFactory=e,o.asyncMeta={data:t,context:n,children:r,tag:i},o}function ve(e,t,o){if(i(e.error)&&r(e.errorComp))return e.errorComp;if(r(e.resolved))return e.resolved;if(i(e.loading)&&r(e.loadingComp))return e.loadingComp;if(!r(e.contexts)){var a=e.contexts=[o],l=!0,c=function(){for(var e=0,t=a.length;eca&&ia[n].id>e.id;)n--;ia.splice(n+1,0,e)}else ia.push(e);sa||(sa=!0,oe(Pe))}}function Re(e){fa.clear(),$e(e,fa)}function $e(e,t){var n,r,i=Array.isArray(e);if((i||s(e))&&Object.isExtensible(e)){if(e.__ob__){var o=e.__ob__.dep.id;if(t.has(o))return;t.add(o)}if(i)for(n=e.length;n--;)$e(e[n],t);else for(r=Object.keys(e),n=r.length;n--;)$e(e[r[n]],t)}}function We(e,t,n){pa.get=function(){return this[t][n]},pa.set=function(e){this[t][n]=e},Object.defineProperty(e,n,pa)}function Be(e){e._watchers=[];var t=e.$options;t.props&&He(e,t.props),t.methods&&Ke(e,t.methods),t.data?Ue(e):z(e._data={},!0),t.computed&&Ye(e,t.computed),t.watch&&t.watch!==Co&&Xe(e,t.watch)}function He(e,t){var n=e.$options.propsData||{},r=e._props={},i=e.$options._propKeys=[],o=!e.$parent;Bo.shouldConvert=o;for(var a in t)!function(o){i.push(o);var a=K(o,t,n,e);N(r,o,a),o in e||We(e,"_props",o)}(a);Bo.shouldConvert=!0}function Ue(e){var t=e.$options.data;t=e._data="function"==typeof t?Ve(t,e):t||{},l(t)||(t={});for(var n=Object.keys(t),r=e.$options.props,i=(e.$options.methods,n.length);i--;){var o=n[i];r&&m(r,o)||C(o)||We(e,"_data",o)}z(t,!0)}function Ve(e,t){try{return e.call(t,t)}catch(e){return ee(e,t,"data()"),{}}}function Ye(e,t){var n=e._computedWatchers=Object.create(null),r=Lo();for(var i in t){var o=t[i],a="function"==typeof o?o:o.get;r||(n[i]=new da(e,a||x,x,ha)),i in e||Ge(e,i,o)}}function Ge(e,t,n){var r=!Lo();"function"==typeof n?(pa.get=r?Ze(t):n,pa.set=x):(pa.get=n.get?r&&!1!==n.cache?Ze(t):n.get:x,pa.set=n.set?n.set:x),Object.defineProperty(e,t,pa)}function Ze(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),Po.target&&t.depend(),t.value}}function Ke(e,t){e.$options.props;for(var n in t)e[n]=null==t[n]?x:v(t[n],e)}function Xe(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var i=0;i=0||n.indexOf(e[i])<0)&&r.push(e[i]);return r}return e}function At(e){this._init(e)}function Lt(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=_(arguments,1);return n.unshift(this),"function"==typeof e.install?e.install.apply(e,n):"function"==typeof e&&e.apply(null,n),t.push(e),this}}function Dt(e){e.mixin=function(e){return this.options=G(this.options,e),this}}function jt(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,r=n.cid,i=e._Ctor||(e._Ctor={});if(i[r])return i[r];var o=e.name||n.options.name,a=function(e){this._init(e)};return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=t++,a.options=G(n.options,e),a.super=n,a.options.props&&Ot(a),a.options.computed&&Ft(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,fo.forEach(function(e){a[e]=n[e]}),o&&(a.options.components[o]=a), +a.superOptions=n.options,a.extendOptions=e,a.sealedOptions=y({},a.options),i[r]=a,a}}function Ot(e){var t=e.options.props;for(var n in t)We(e.prototype,"_props",n)}function Ft(e){var t=e.options.computed;for(var n in t)Ge(e.prototype,n,t[n])}function Pt(e){fo.forEach(function(t){e[t]=function(e,n){return n?("component"===t&&l(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"==typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}})}function zt(e){return e&&(e.Ctor.options.name||e.tag)}function Nt(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"==typeof e?e.split(",").indexOf(t)>-1:!!c(e)&&e.test(t)}function It(e,t){var n=e.cache,r=e.keys,i=e._vnode;for(var o in n){var a=n[o];if(a){var s=zt(a.componentOptions);s&&!t(s)&&qt(n,o,r,i)}}}function qt(e,t,n,r){var i=e[t];i&&i!==r&&i.componentInstance.$destroy(),e[t]=null,h(n,t)}function Rt(e){for(var t=e.data,n=e,i=e;r(i.componentInstance);)i=i.componentInstance._vnode,i.data&&(t=$t(i.data,t));for(;r(n=n.parent);)n.data&&(t=$t(t,n.data));return Wt(t.staticClass,t.class)}function $t(e,t){return{staticClass:Bt(e.staticClass,t.staticClass),class:r(e.class)?[e.class,t.class]:t.class}}function Wt(e,t){return r(e)||r(t)?Bt(e,Ht(t)):""}function Bt(e,t){return e?t?e+" "+t:e:t||""}function Ht(e){return Array.isArray(e)?Ut(e):s(e)?Vt(e):"string"==typeof e?e:""}function Ut(e){for(var t,n="",i=0,o=e.length;i-1?Va[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Va[e]=/HTMLUnknownElement/.test(t.toString())}function Zt(e){if("string"==typeof e){var t=document.querySelector(e);return t||document.createElement("div")}return e}function Kt(e,t){var n=document.createElement(e);return"select"!==e?n:(t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)}function Xt(e,t){return document.createElementNS($a[e],t)}function Qt(e){return document.createTextNode(e)}function Jt(e){return document.createComment(e)}function en(e,t,n){e.insertBefore(t,n)}function tn(e,t){e.removeChild(t)}function nn(e,t){e.appendChild(t)}function rn(e){return e.parentNode}function on(e){return e.nextSibling}function an(e){return e.tagName}function sn(e,t){e.textContent=t}function ln(e,t,n){e.setAttribute(t,n)}function cn(e,t){var n=e.data.ref;if(n){var r=e.context,i=e.componentInstance||e.elm,o=r.$refs;t?Array.isArray(o[n])?h(o[n],i):o[n]===i&&(o[n]=void 0):e.data.refInFor?Array.isArray(o[n])?o[n].indexOf(i)<0&&o[n].push(i):o[n]=[i]:o[n]=i}}function un(e,t){return e.key===t.key&&(e.tag===t.tag&&e.isComment===t.isComment&&r(e.data)===r(t.data)&&dn(e,t)||i(e.isAsyncPlaceholder)&&e.asyncFactory===t.asyncFactory&&n(t.asyncFactory.error))}function dn(e,t){if("input"!==e.tag)return!0;var n,i=r(n=e.data)&&r(n=n.attrs)&&n.type,o=r(n=t.data)&&r(n=n.attrs)&&n.type;return i===o||Ya(i)&&Ya(o)}function fn(e,t,n){var i,o,a={};for(i=t;i<=n;++i)o=e[i].key,r(o)&&(a[o]=i);return a}function pn(e,t){(e.data.directives||t.data.directives)&&hn(e,t)}function hn(e,t){var n,r,i,o=e===Ka,a=t===Ka,s=mn(e.data.directives,e.context),l=mn(t.data.directives,t.context),c=[],u=[];for(n in l)r=s[n],i=l[n],r?(i.oldValue=r.value,vn(i,"update",t,e),i.def&&i.def.componentUpdated&&u.push(i)):(vn(i,"bind",t,e),i.def&&i.def.inserted&&c.push(i));if(c.length){var d=function(){for(var n=0;n=0&&" "===(g=e.charAt(m));m--);g&&rs.test(g)||(u=!0)}}else void 0===o?(h=i+1,o=e.slice(0,i).trim()):t();if(void 0===o?o=e.slice(0,i).trim():0!==h&&t(),a)for(i=0;i-1?{exp:e.slice(0,Ta),key:'"'+e.slice(Ta+1)+'"'}:{exp:e,key:null};for(Sa=e,Ta=Ma=Ea=0;!Pn();)Ca=Fn(),zn(Ca)?In(Ca):91===Ca&&Nn(Ca);return{exp:e.slice(0,Ma),key:e.slice(Ma+1,Ea)}}function Fn(){return Sa.charCodeAt(++Ta)}function Pn(){return Ta>=ka}function zn(e){return 34===e||39===e}function Nn(e){var t=1;for(Ma=Ta;!Pn();)if(e=Fn(),zn(e))In(e);else if(91===e&&t++,93===e&&t--,0===t){Ea=Ta;break}}function In(e){for(var t=e;!Pn()&&(e=Fn())!==t;);}function qn(e,t,n){Aa=n;var r=t.value,i=t.modifiers,o=e.tag,a=e.attrsMap.type;if(e.component)return Dn(e,r,i),!1;if("select"===o)Wn(e,r,i);else if("input"===o&&"checkbox"===a)Rn(e,r,i);else if("input"===o&&"radio"===a)$n(e,r,i);else if("input"===o||"textarea"===o)Bn(e,r,i);else if(!ho.isReservedTag(o))return Dn(e,r,i),!1;return!0}function Rn(e,t,n){var r=n&&n.number,i=An(e,"value")||"null",o=An(e,"true-value")||"true",a=An(e,"false-value")||"false";Cn(e,"checked","Array.isArray("+t+")?_i("+t+","+i+")>-1"+("true"===o?":("+t+")":":_q("+t+","+o+")")),En(e,"change","var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+a+");if(Array.isArray($$a)){var $$v="+(r?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+t+"=$$a.concat([$$v]))}else{$$i>-1&&("+t+"=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{"+jn(t,"$$c")+"}",null,!0)}function $n(e,t,n){var r=n&&n.number,i=An(e,"value")||"null";i=r?"_n("+i+")":i,Cn(e,"checked","_q("+t+","+i+")"),En(e,"change",jn(t,i),null,!0)}function Wn(e,t,n){var r=n&&n.number,i='Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(r?"_n(val)":"val")+"})",o="var $$selectedVal = "+i+";";o=o+" "+jn(t,"$event.target.multiple ? $$selectedVal : $$selectedVal[0]"),En(e,"change",o,null,!0)}function Bn(e,t,n){var r=e.attrsMap.type,i=n||{},o=i.lazy,a=i.number,s=i.trim,l=!o&&"range"!==r,c=o?"change":"range"===r?is:"input",u="$event.target.value";s&&(u="$event.target.value.trim()"),a&&(u="_n("+u+")");var d=jn(t,u);l&&(d="if($event.target.composing)return;"+d),Cn(e,"value","("+t+")"),En(e,c,d,null,!0),(s||a)&&En(e,"blur","$forceUpdate()")}function Hn(e){if(r(e[is])){var t=bo?"change":"input";e[t]=[].concat(e[is],e[t]||[]),delete e[is]}r(e[os])&&(e.change=[].concat(e[os],e.change||[]),delete e[os])}function Un(e,t,n){var r=La;return function i(){null!==e.apply(null,arguments)&&Yn(t,i,n,r)}}function Vn(e,t,n,r,i){t=ie(t),n&&(t=Un(t,e,r)),La.addEventListener(e,t,To?{capture:r,passive:i}:r)}function Yn(e,t,n,r){(r||La).removeEventListener(e,t._withTask||t,n)}function Gn(e,t){if(!n(e.data.on)||!n(t.data.on)){var r=t.data.on||{},i=e.data.on||{};La=t.elm,Hn(r),se(r,i,Vn,Yn,t.context),La=void 0}}function Zn(e,t){if(!n(e.data.domProps)||!n(t.data.domProps)){var i,o,a=t.elm,s=e.data.domProps||{},l=t.data.domProps||{};r(l.__ob__)&&(l=t.data.domProps=y({},l));for(i in s)n(l[i])&&(a[i]="");for(i in l){if(o=l[i],"textContent"===i||"innerHTML"===i){if(t.children&&(t.children.length=0),o===s[i])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===i){a._value=o;var c=n(o)?"":String(o);Kn(a,c)&&(a.value=c)}else a[i]=o}}}function Kn(e,t){return!e.composing&&("OPTION"===e.tagName||Xn(e,t)||Qn(e,t))}function Xn(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}function Qn(e,t){var n=e.value,i=e._vModifiers;return r(i)&&i.number?f(n)!==f(t):r(i)&&i.trim?n.trim()!==t.trim():n!==t}function Jn(e){var t=er(e.style);return e.staticStyle?y(e.staticStyle,t):t}function er(e){return Array.isArray(e)?b(e):"string"==typeof e?ls(e):e}function tr(e,t){var n,r={};if(t)for(var i=e;i.componentInstance;)i=i.componentInstance._vnode,i.data&&(n=Jn(i.data))&&y(r,n);(n=Jn(e.data))&&y(r,n);for(var o=e;o=o.parent;)o.data&&(n=Jn(o.data))&&y(r,n);return r}function nr(e,t){var i=t.data,o=e.data;if(!(n(i.staticStyle)&&n(i.style)&&n(o.staticStyle)&&n(o.style))){var a,s,l=t.elm,c=o.staticStyle,u=o.normalizedStyle||o.style||{},d=c||u,f=er(t.data.style)||{};t.data.normalizedStyle=r(f.__ob__)?y({},f):f;var p=tr(t,!0);for(s in d)n(p[s])&&ds(l,s,"");for(s in p)(a=p[s])!==d[s]&&ds(l,s,null==a?"":a)}}function rr(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(/\s+/).forEach(function(t){return e.classList.add(t)}):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function ir(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(/\s+/).forEach(function(t){return e.classList.remove(t)}):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");n=n.trim(),n?e.setAttribute("class",n):e.removeAttribute("class")}}function or(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&y(t,ms(e.name||"v")),y(t,e),t}return"string"==typeof e?ms(e):void 0}}function ar(e){ks(function(){ks(e)})}function sr(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),rr(e,t))}function lr(e,t){e._transitionClasses&&h(e._transitionClasses,t),ir(e,t)}function cr(e,t,n){var r=ur(e,t),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===vs?bs:ws,l=0,c=function(){e.removeEventListener(s,u),n()},u=function(t){t.target===e&&++l>=a&&c()};setTimeout(function(){l0&&(n=vs,u=a,d=o.length):t===_s?c>0&&(n=_s,u=c,d=l.length):(u=Math.max(a,c),n=u>0?a>c?vs:_s:null,d=n?n===vs?o.length:l.length:0),{type:n,timeout:u,propCount:d,hasTransform:n===vs&&Ss.test(r[ys+"Property"])}}function dr(e,t){for(;e.length1}function vr(e,t){!0!==t.data.show&&pr(t)}function _r(e,t,n){yr(e,t,n),(bo||wo)&&setTimeout(function(){yr(e,t,n)},0)}function yr(e,t,n){var r=t.value,i=e.multiple;if(!i||Array.isArray(r)){for(var o,a,s=0,l=e.options.length;s-1,a.selected!==o&&(a.selected=o);else if(w(xr(a),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));i||(e.selectedIndex=-1)}}function br(e,t){return t.every(function(t){return!w(t,e)})}function xr(e){return"_value"in e?e._value:e.value}function wr(e){e.target.composing=!0}function kr(e){e.target.composing&&(e.target.composing=!1,Sr(e.target,"input"))}function Sr(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function Cr(e){return!e.componentInstance||e.data&&e.data.transition?e:Cr(e.componentInstance._vnode)}function Tr(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?Tr(ye(t.children)):e}function Mr(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var i=n._parentListeners;for(var o in i)t[io(o)]=i[o];return t}function Er(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}function Ar(e){for(;e=e.parent;)if(e.data.transition)return!0}function Lr(e,t){return t.key===e.key&&t.tag===e.tag}function Dr(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function jr(e){e.data.newPos=e.elm.getBoundingClientRect()}function Or(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,i=t.top-n.top;if(r||i){e.data.moved=!0;var o=e.elm.style;o.transform=o.WebkitTransform="translate("+r+"px,"+i+"px)",o.transitionDuration="0s"}}function Fr(e,t){var n=t?Rs(t):Is;if(n.test(e)){for(var r,i,o=[],a=n.lastIndex=0;r=n.exec(e);){i=r.index,i>a&&o.push(JSON.stringify(e.slice(a,i)));var s=xn(r[1].trim());o.push("_s("+s+")"),a=i+r[0].length}return a=0&&a[i].lowerCasedTag!==s;i--);else i=0;if(i>=0){for(var l=a.length-1;l>=i;l--)t.end&&t.end(a[l].tag,n,r);a.length=i,o=i&&a[i-1].tag}else"br"===s?t.start&&t.start(e,[],!0,n,r):"p"===s&&(t.start&&t.start(e,[],!1,n,r),t.end&&t.end(e,n,r))}for(var i,o,a=[],s=t.expectHTML,l=t.isUnaryTag||lo,c=t.canBeLeftOpenTag||lo,u=0;e;){if(i=e,o&&hl(o)){var d=0,f=o.toLowerCase(),p=ml[f]||(ml[f]=new RegExp("([\\s\\S]*?)(]*>)","i")),h=e.replace(p,function(e,n,r){return d=r.length,hl(f)||"noscript"===f||(n=n.replace(//g,"$1").replace(//g,"$1")),bl(f,n)&&(n=n.slice(1)),t.chars&&t.chars(n),""});u+=e.length-h.length,e=h,r(f,u-d,u)}else{var m=e.indexOf("<");if(0===m){if(el.test(e)){var g=e.indexOf("--\x3e");if(g>=0){t.shouldKeepComment&&t.comment(e.substring(4,g)),n(g+3);continue}}if(tl.test(e)){var v=e.indexOf("]>");if(v>=0){n(v+2);continue}}var _=e.match(Js);if(_){n(_[0].length);continue}var y=e.match(Qs);if(y){var b=u;n(y[0].length),r(y[1],b,u);continue}var x=function(){var t=e.match(Ks);if(t){var r={tagName:t[1],attrs:[],start:u};n(t[0].length);for(var i,o;!(i=e.match(Xs))&&(o=e.match(Ys));)n(o[0].length),r.attrs.push(o);if(i)return r.unarySlash=i[1],n(i[0].length),r.end=u,r}}();if(x){!function(e){var n=e.tagName,i=e.unarySlash;s&&("p"===o&&Vs(n)&&r(o),c(n)&&o===n&&r(n));for(var u=l(n)||!!i,d=e.attrs.length,f=new Array(d),p=0;p=0){for(k=e.slice(m);!(Qs.test(k)||Ks.test(k)||el.test(k)||tl.test(k)||(S=k.indexOf("<",1))<0);)m+=S,k=e.slice(m);w=e.substring(0,m),n(m)}m<0&&(w=e,e=""),t.chars&&w&&t.chars(w)}if(e===i){t.chars&&t.chars(e);break}}r()}function $r(e,t,n){return{type:1,tag:e,attrsList:t,attrsMap:oi(t),parent:n,children:[]}}function Wr(e,t){function n(e){e.pre&&(s=!1),ll(e.tag)&&(l=!1)}rl=t.warn||kn,ll=t.isPreTag||lo,cl=t.mustUseProp||lo,ul=t.getTagNamespace||lo,ol=Sn(t.modules,"transformNode"),al=Sn(t.modules,"preTransformNode"),sl=Sn(t.modules,"postTransformNode"),il=t.delimiters;var r,i,o=[],a=!1!==t.preserveWhitespace,s=!1,l=!1;return Rr(e,{warn:rl,expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,canBeLeftOpenTag:t.canBeLeftOpenTag,shouldDecodeNewlines:t.shouldDecodeNewlines,shouldDecodeNewlinesForHref:t.shouldDecodeNewlinesForHref,shouldKeepComment:t.comments,start:function(e,a,c){var u=i&&i.ns||ul(e);bo&&"svg"===u&&(a=li(a));var d=$r(e,a,i);u&&(d.ns=u),si(d)&&!Lo()&&(d.forbidden=!0);for(var f=0;f':'
    ',pl.innerHTML.indexOf(" ")>0}function Qi(e){if(e.outerHTML)return e.outerHTML;var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}var Ji=Object.prototype.toString,eo=p("slot,component",!0),to=p("key,ref,slot,slot-scope,is"),no=Object.prototype.hasOwnProperty,ro=/-(\w)/g,io=g(function(e){return e.replace(ro,function(e,t){return t?t.toUpperCase():""})}),oo=g(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),ao=/\B([A-Z])/g,so=g(function(e){return e.replace(ao,"-$1").toLowerCase()}),lo=function(e,t,n){return!1},co=function(e){return e},uo="data-server-rendered",fo=["component","directive","filter"],po=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured"],ho={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:lo,isReservedAttr:lo,isUnknownElement:lo,getTagNamespace:x,parsePlatformTagName:co,mustUseProp:lo,_lifecycleHooks:po},mo=Object.freeze({}),go=/[^\w.$]/,vo="__proto__"in{},_o="undefined"!=typeof window,yo=_o&&window.navigator.userAgent.toLowerCase(),bo=yo&&/msie|trident/.test(yo),xo=yo&&yo.indexOf("msie 9.0")>0,wo=yo&&yo.indexOf("edge/")>0,ko=yo&&yo.indexOf("android")>0,So=yo&&/iphone|ipad|ipod|ios/.test(yo),Co=(yo&&/chrome\/\d+/.test(yo),{}.watch),To=!1;if(_o)try{var Mo={};Object.defineProperty(Mo,"passive",{get:function(){To=!0}}),window.addEventListener("test-passive",null,Mo)}catch(e){}var Eo,Ao,Lo=function(){return void 0===Eo&&(Eo=!_o&&void 0!==e&&"server"===e.process.env.VUE_ENV),Eo},Do=_o&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,jo="undefined"!=typeof Symbol&&E(Symbol)&&"undefined"!=typeof Reflect&&E(Reflect.ownKeys);Ao="undefined"!=typeof Set&&E(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var Oo=x,Fo=0,Po=function(){this.id=Fo++,this.subs=[]};Po.prototype.addSub=function(e){this.subs.push(e)},Po.prototype.removeSub=function(e){h(this.subs,e)},Po.prototype.depend=function(){Po.target&&Po.target.addDep(this)},Po.prototype.notify=function(){for(var e=this.subs.slice(),t=0,n=e.length;t1?_(n):n;for(var r=_(arguments,1),i=0,o=n.length;iparseInt(this.max)&&qt(i,o[0],o,this._vnode)),e.data.keepAlive=!0}return e}},wa={KeepAlive:xa};!function(e){var t={};t.get=function(){return ho},Object.defineProperty(e,"config",t),e.util={warn:Oo,extend:y,mergeOptions:G,defineReactive:N},e.set=I,e.delete=q,e.nextTick=oe,e.options=Object.create(null),fo.forEach(function(t){e.options[t+"s"]=Object.create(null)}),e.options._base=e,y(e.options.components,wa),Lt(e),Dt(e),jt(e),Pt(e)}(At),Object.defineProperty(At.prototype,"$isServer",{get:Lo}),Object.defineProperty(At.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),At.version="2.5.3";var ka,Sa,Ca,Ta,Ma,Ea,Aa,La,Da,ja=p("style,class"),Oa=p("input,textarea,option,select,progress"),Fa=function(e,t,n){return"value"===n&&Oa(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},Pa=p("contenteditable,draggable,spellcheck"),za=p("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Na="http://www.w3.org/1999/xlink",Ia=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},qa=function(e){return Ia(e)?e.slice(6,e.length):""},Ra=function(e){return null==e||!1===e},$a={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Wa=p("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),Ba=p("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Ha=function(e){return"pre"===e},Ua=function(e){return Wa(e)||Ba(e)},Va=Object.create(null),Ya=p("text,number,password,search,email,tel,url"),Ga=Object.freeze({createElement:Kt,createElementNS:Xt,createTextNode:Qt,createComment:Jt,insertBefore:en,removeChild:tn,appendChild:nn,parentNode:rn,nextSibling:on,tagName:an,setTextContent:sn,setAttribute:ln}),Za={create:function(e,t){cn(t)},update:function(e,t){e.data.ref!==t.data.ref&&(cn(e,!0),cn(t))},destroy:function(e){cn(e,!0)}},Ka=new No("",{},[]),Xa=["create","activate","update","remove","destroy"],Qa={create:pn,update:pn,destroy:function(e){pn(e,Ka)}},Ja=Object.create(null),es=[Za,Qa],ts={create:_n,update:_n},ns={create:bn,update:bn},rs=/[\w).+\-_$\]]/,is="__r",os="__c",as={create:Gn,update:Gn},ss={create:Zn,update:Zn},ls=g(function(e){var t={},n=/;(?![^(]*\))/g,r=/:(.+)/;return e.split(n).forEach(function(e){if(e){var n=e.split(r);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}),cs=/^--/,us=/\s*!important$/,ds=function(e,t,n){if(cs.test(t))e.style.setProperty(t,n);else if(us.test(n))e.style.setProperty(t,n.replace(us,""),"important");else{var r=ps(t);if(Array.isArray(n))for(var i=0,o=n.length;ih?(d=n(i[v+1])?null:i[v+1].elm,_(e,d,i,p,v,o)):p>v&&b(e,t,f,h)}function k(e,t,n,i){for(var o=n;o\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Gs="[a-zA-Z_][\\w\\-\\.]*",Zs="((?:"+Gs+"\\:)?"+Gs+")",Ks=new RegExp("^<"+Zs),Xs=/^\s*(\/?)>/,Qs=new RegExp("^<\\/"+Zs+"[^>]*>"),Js=/^]+>/i,el=/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(i.source+"\\s*$"),/^$/,!1]];t.exports=function(e,t,n,r){var i,a,s,l,c=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(c))return!1;for(l=e.src.slice(c,u),i=0;i=4)return!1;for(f=e.parentType,e.parentType="paragraph";p3)){if(e.sCount[p]>=e.blkIndent&&(l=e.bMarks[p]+e.tShift[p],c=e.eMarks[p],l=c))){u=61===d?1:2;break}if(!(e.sCount[p]<0)){for(i=!1,o=0,a=h.length;o=o)return-1;if((n=e.src.charCodeAt(i++))<48||n>57)return-1;for(;;){if(i>=o)return-1;n=e.src.charCodeAt(i++);{if(!(n>=48&&n<=57)){if(41===n||46===n)break;return-1}if(i-r>=10)return-1}}return i=4)return!1;if(a&&"paragraph"===e.parentType&&e.tShift[t]>=e.blkIndent&&(P=!0),(A=i(e,t))>=0){if(p=!0,D=e.bMarks[t]+e.tShift[t],y=Number(e.src.substr(D,A-D-1)),P&&1!==y)return!1}else{if(!((A=r(e,t))>=0))return!1;p=!1}if(P&&e.skipSpaces(A)>=e.eMarks[t])return!1;if(_=e.src.charCodeAt(A-1),a)return!0;for(v=e.tokens.length,p?(F=e.push("ordered_list_open","ol",1),1!==y&&(F.attrs=[["start",y]])):F=e.push("bullet_list_open","ul",1),F.map=g=[t,0],F.markup=String.fromCharCode(_),x=t,L=!1,O=e.md.block.ruler.getRules("list"),C=e.parentType,e.parentType="list";x=b?1:w-f,d>4&&(d=1),u=f+d,F=e.push("list_item_open","li",1),F.markup=String.fromCharCode(_),F.map=h=[t,0],k=e.blkIndent,M=e.tight,T=e.tShift[t],S=e.sCount[t],e.blkIndent=u,e.tight=!0,e.tShift[t]=l-e.bMarks[t],e.sCount[t]=w,l>=b&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,t,n,!0),e.tight&&!L||(z=!1),L=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=k,e.tShift[t]=T,e.sCount[t]=S,e.tight=M,F=e.push("list_item_close","li",-1),F.markup=String.fromCharCode(_),x=t=e.line,h[1]=x,l=e.bMarks[t],x>=n)break;if(e.sCount[x]3||e.sCount[l]<0)){for(r=!1,i=0,o=c.length;i=4)return!1;if(91!==e.src.charCodeAt(k))return!1;for(;++k3||e.sCount[C]<0)){for(y=!1,d=0,f=b.length;d0&&this.level++,this.tokens.push(r),r},r.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},r.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;et;)if(!o(this.src.charCodeAt(--e)))return e+1;return e},r.prototype.skipChars=function(e,t){for(var n=this.src.length;en;)if(t!==this.src.charCodeAt(--e))return e+1;return e},r.prototype.getLines=function(e,t,n,r){var i,a,s,l,c,u,d,f=e;if(e>=t)return"";for(u=new Array(t-e),i=0;fn?new Array(a-n+1).join(" ")+this.src.slice(l,c):this.src.slice(l,c)}return u.join("")},r.prototype.Token=i,t.exports=r},{"../common/utils":385,"../token":432}],410:[function(e,t,n){"use strict";function r(e,t){var n=e.bMarks[t]+e.blkIndent,r=e.eMarks[t];return e.src.substr(n,r-n)}function i(e){var t,n=[],r=0,i=e.length,o=0,a=0,s=!1,l=0;for(t=e.charCodeAt(r);rn)return!1;if(d=t+1,e.sCount[d]=4)return!1;if((c=e.bMarks[d]+e.tShift[d])>=e.eMarks[d])return!1;if(124!==(s=e.src.charCodeAt(c++))&&45!==s&&58!==s)return!1;for(;c=4)return!1;if(f=i(l.replace(/^\||\|$/g,"")),(p=f.length)>m.length)return!1;if(a)return!0;for(h=e.push("table_open","table",1),h.map=v=[t,0],h=e.push("thead_open","thead",1),h.map=[t,t+1],h=e.push("tr_open","tr",1),h.map=[t,t+1],u=0;u=4);d++){for(f=i(l.replace(/^\||\|$/g,"")),h=e.push("tr_open","tr",1),u=0;u\s]/i.test(e)}function i(e){return/^<\/a\s*>/i.test(e)}var o=e("../common/utils").arrayReplaceAt;t.exports=function(e){var t,n,a,s,l,c,u,d,f,p,h,m,g,v,_,y,b,x=e.tokens;if(e.md.options.linkify)for(n=0,a=x.length;n=0;t--)if(c=s[t],"link_close"!==c.type){if("html_inline"===c.type&&(r(c.content)&&g>0&&g--,i(c.content)&&g++),!(g>0)&&"text"===c.type&&e.md.linkify.test(c.content)){for(f=c.content,b=e.md.linkify.match(f),u=[],m=c.level,h=0,d=0;dh&&(l=new e.Token("text","",0),l.content=f.slice(h,p),l.level=m,u.push(l)),l=new e.Token("link_open","a",1),l.attrs=[["href",_]],l.level=m++,l.markup="linkify",l.info="auto",u.push(l),l=new e.Token("text","",0),l.content=y,l.level=m,u.push(l),l=new e.Token("link_close","a",-1),l.level=--m,l.markup="linkify",l.info="auto",u.push(l),h=b[d].lastIndex);h=0;t--)n=e[t],"text"!==n.type||i||(n.content=n.content.replace(l,r)),"link_open"===n.type&&"auto"===n.info&&i--,"link_close"===n.type&&"auto"===n.info&&i++}function o(e){var t,n,r=0;for(t=e.length-1;t>=0;t--)n=e[t],"text"!==n.type||r||a.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/gm,"$1—$2").replace(/(^|\s)--(\s|$)/gm,"$1–$2").replace(/(^|[^-\s])--([^-\s]|$)/gm,"$1–$2")),"link_open"===n.type&&"auto"===n.info&&r--,"link_close"===n.type&&"auto"===n.info&&r++}var a=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,s=/\((c|tm|r|p)\)/i,l=/\((c|tm|r|p)\)/gi,c={c:"©",r:"®",p:"§",tm:"™"};t.exports=function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&(s.test(e.tokens[t].content)&&i(e.tokens[t].children),a.test(e.tokens[t].content)&&o(e.tokens[t].children))}},{}],416:[function(e,t,n){"use strict";function r(e,t,n){return e.substr(0,t)+n+e.substr(t+1)}function i(e,t){var n,i,l,d,f,p,h,m,g,v,_,y,b,x,w,k,S,C,T,M,E;for(T=[],n=0;n=0&&!(T[S].level<=h);S--);if(T.length=S+1,"text"===i.type){l=i.content,f=0,p=l.length;e:for(;f=0)g=l.charCodeAt(d.index-1);else for(S=n-1;S>=0;S--)if("text"===e[S].type){g=e[S].content.charCodeAt(e[S].content.length-1);break}if(v=32,f=48&&g<=57&&(k=w=!1),w&&k&&(w=!1,k=y),w||k){if(k)for(S=T.length-1;S>=0&&(m=T[S],!(T[S].level=0;t--)"inline"===e.tokens[t].type&&l.test(e.tokens[t].content)&&i(e.tokens[t].children,e)}},{"../common/utils":385}],417:[function(e,t,n){"use strict";function r(e,t,n){this.src=e,this.env=n,this.tokens=[],this.inlineMode=!1,this.md=t}var i=e("../token");r.prototype.Token=i,t.exports=r},{"../token":432}],418:[function(e,t,n){"use strict";var r=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,i=/^<([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)>/;t.exports=function(e,t){var n,o,a,s,l,c,u=e.pos;return 60===e.src.charCodeAt(u)&&(n=e.src.slice(u),!(n.indexOf(">")<0)&&(i.test(n)?(o=n.match(i),s=o[0].slice(1,-1),l=e.md.normalizeLink(s),!!e.md.validateLink(l)&&(t||(c=e.push("link_open","a",1),c.attrs=[["href",l]],c.markup="autolink",c.info="auto",c=e.push("text","",0),c.content=e.md.normalizeLinkText(s),c=e.push("link_close","a",-1),c.markup="autolink",c.info="auto"),e.pos+=o[0].length,!0)):!!r.test(n)&&(a=n.match(r),s=a[0].slice(1,-1),l=e.md.normalizeLink("mailto:"+s),!!e.md.validateLink(l)&&(t||(c=e.push("link_open","a",1),c.attrs=[["href",l]],c.markup="autolink",c.info="auto",c=e.push("text","",0),c.content=e.md.normalizeLinkText(s),c=e.push("link_close","a",-1),c.markup="autolink",c.info="auto"),e.pos+=a[0].length,!0))))}},{}],419:[function(e,t,n){"use strict";t.exports=function(e,t){var n,r,i,o,a,s,l=e.pos;if(96!==e.src.charCodeAt(l))return!1;for(n=l,l++,r=e.posMax;l=0;){if(i=o[n],i.open&&i.marker===r.marker&&i.end<0&&i.level===r.level){var s=(i.close||r.open)&&void 0!==i.length&&void 0!==r.length&&(i.length+r.length)%3==0;if(!s){r.jump=t-n,r.open=!1,i.end=t,i.jump=0;break}}n-=i.jump+1}}},{}],421:[function(e,t,n){"use strict";t.exports.tokenize=function(e,t){var n,r,i,o=e.pos,a=e.src.charCodeAt(o);if(t)return!1;if(95!==a&&42!==a)return!1;for(r=e.scanDelims(e.pos,42===a),n=0;n=0;t--)n=s[t],95!==n.marker&&42!==n.marker||-1!==n.end&&(r=s[n.end],a=t>0&&s[t-1].end===n.end+1&&s[t-1].token===n.token-1&&s[n.end+1].token===r.token+1&&s[t-1].marker===n.marker,o=String.fromCharCode(n.marker),i=e.tokens[n.token],i.type=a?"strong_open":"em_open",i.tag=a?"strong":"em",i.nesting=1,i.markup=a?o+o:o,i.content="",i=e.tokens[r.token],i.type=a?"strong_close":"em_close",i.tag=a?"strong":"em",i.nesting=-1,i.markup=a?o+o:o,i.content="",a&&(e.tokens[s[t-1].token].content="",e.tokens[s[n.end+1].token].content="",t--))}},{}],422:[function(e,t,n){"use strict";var r=e("../common/entities"),i=e("../common/utils").has,o=e("../common/utils").isValidEntityCode,a=e("../common/utils").fromCodePoint,s=/^&#((?:x[a-f0-9]{1,8}|[0-9]{1,8}));/i,l=/^&([a-z][a-z0-9]{1,31});/i;t.exports=function(e,t){var n,c,u=e.pos,d=e.posMax;if(38!==e.src.charCodeAt(u))return!1;if(u+1?@[]^_`{|}~-".split("").forEach(function(e){i[e.charCodeAt(0)]=1}),t.exports=function(e,t){var n,o=e.pos,a=e.posMax;if(92!==e.src.charCodeAt(o))return!1;if(++o=97&&t<=122}var i=e("../common/html_re").HTML_TAG_RE;t.exports=function(e,t){var n,o,a,s,l=e.pos;return!!e.md.options.html&&(a=e.posMax,!(60!==e.src.charCodeAt(l)||l+2>=a)&&(!(33!==(n=e.src.charCodeAt(l+1))&&63!==n&&47!==n&&!r(n))&&(!!(o=e.src.slice(l).match(i))&&(t||(s=e.push("html_inline","",0),s.content=e.src.slice(l,l+o[0].length)),e.pos+=o[0].length,!0))))}},{"../common/html_re":384}],425:[function(e,t,n){"use strict";var r=e("../common/utils").normalizeReference,i=e("../common/utils").isSpace;t.exports=function(e,t){var n,o,a,s,l,c,u,d,f,p,h,m,g,v="",_=e.pos,y=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(c=e.pos+2,(l=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((u=l+1)=y)return!1;for(g=u,f=e.md.helpers.parseLinkDestination(e.src,u,e.posMax),f.ok&&(v=e.md.normalizeLink(f.str),e.md.validateLink(v)?u=f.pos:v=""),g=u;u=y||41!==e.src.charCodeAt(u))return e.pos=_,!1;u++}else{if(void 0===e.env.references)return!1;if(u=0?s=e.src.slice(g,u++):u=l+1):u=l+1,s||(s=e.src.slice(c,l)),!(d=e.env.references[r(s)]))return e.pos=_,!1;v=d.href,p=d.title}return t||(a=e.src.slice(c,l),e.md.inline.parse(a,e.md,e.env,m=[]),h=e.push("image","img",0),h.attrs=n=[["src",v],["alt",""]],h.children=m,h.content=a,p&&n.push(["title",p])),e.pos=u,e.posMax=y,!0}},{"../common/utils":385}],426:[function(e,t,n){"use strict";var r=e("../common/utils").normalizeReference,i=e("../common/utils").isSpace;t.exports=function(e,t){var n,o,a,s,l,c,u,d,f,p,h="",m=e.pos,g=e.posMax,v=e.pos,_=!0;if(91!==e.src.charCodeAt(e.pos))return!1;if(l=e.pos+1,(s=e.md.helpers.parseLinkLabel(e,e.pos,!0))<0)return!1;if((c=s+1)=g)return!1;for(v=c,u=e.md.helpers.parseLinkDestination(e.src,c,e.posMax),u.ok&&(h=e.md.normalizeLink(u.str),e.md.validateLink(h)?c=u.pos:h=""),v=c;c=g||41!==e.src.charCodeAt(c))&&(_=!0),c++}if(_){if(void 0===e.env.references)return!1;if(c=0?a=e.src.slice(v,c++):c=s+1):c=s+1,a||(a=e.src.slice(l,s)),!(d=e.env.references[r(a)]))return e.pos=m,!1;h=d.href,f=d.title}return t||(e.pos=l,e.posMax=s,p=e.push("link_open","a",1),p.attrs=n=[["href",h]],f&&n.push(["title",f]),e.md.inline.tokenize(e),p=e.push("link_close","a",-1)),e.pos=c,e.posMax=g,!0}},{"../common/utils":385}],427:[function(e,t,n){"use strict";var r=e("../common/utils").isSpace;t.exports=function(e,t){var n,i,o=e.pos;if(10!==e.src.charCodeAt(o))return!1;for(n=e.pending.length-1,i=e.posMax,t||(n>=0&&32===e.pending.charCodeAt(n)?n>=1&&32===e.pending.charCodeAt(n-1)?(e.pending=e.pending.replace(/ +$/,""),e.push("hardbreak","br",0)):(e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0)):e.push("softbreak","br",0)),o++;o0&&this.level++,this.pendingLevel=this.level,this.tokens.push(r),r},r.prototype.scanDelims=function(e,t){var n,r,i,l,c,u,d,f,p,h=e,m=!0,g=!0,v=this.posMax,_=this.src.charCodeAt(e);for(n=e>0?this.src.charCodeAt(e-1):32;h=0&&(n=this.attrs[t][1]),n},r.prototype.attrJoin=function(e,t){var n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=this.attrs[n][1]+" "+t},t.exports=r},{}],433:[function(e,t,n){"use strict";function r(e){var t,n,r=o[e];if(r)return r;for(r=o[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),r.push(n);for(t=0;t=55296&&l<=57343?"���":String.fromCharCode(l),t+=6):240==(248&i)&&t+91114111?c+="����":(l-=65536,c+=String.fromCharCode(55296+(l>>10),56320+(1023&l))),t+=9):c+="�";return c})}var o={};i.defaultChars=";/?:@&=+$,#",i.componentChars="",t.exports=i},{}],434:[function(e,t,n){"use strict";function r(e){var t,n,r=o[e];if(r)return r;for(r=o[e]=[],t=0;t<128;t++)n=String.fromCharCode(t),/^[0-9a-z]$/i.test(n)?r.push(n):r.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t=55296&&s<=57343){if(s>=55296&&s<=56319&&o+1=56320&&l<=57343){u+=encodeURIComponent(e[o]+e[o+1]),o++;continue}u+="%EF%BF%BD"}else u+=encodeURIComponent(e[o]);return u}var o={};i.defaultChars=";/?:@&=+$,-_.!~*'()#",i.componentChars="-_.!~*'()",t.exports=i},{}],435:[function(e,t,n){"use strict";t.exports=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""}},{}],436:[function(e,t,n){"use strict";t.exports.encode=e("./encode"),t.exports.decode=e("./decode"),t.exports.format=e("./format"),t.exports.parse=e("./parse")},{"./decode":433,"./encode":434,"./format":435,"./parse":437}],437:[function(e,t,n){"use strict";function r(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}function i(e,t){if(e&&e instanceof r)return e;var n=new r;return n.parse(e,t),n}var o=/^([a-z0-9.+-]+:)/i,a=/:[0-9]*$/,s=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,l=["<",">",'"',"`"," ","\r","\n","\t"],c=["{","}","|","\\","^","`"].concat(l),u=["'"].concat(c),d=["%","/","?",";","#"].concat(u),f=["/","?","#"],p=/^[+a-z0-9A-Z_-]{0,63}$/,h=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,m={javascript:!0,"javascript:":!0},g={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};r.prototype.parse=function(e,t){var n,r,i,a,l,c=e;if(c=c.trim(),!t&&1===e.split("#").length){var u=s.exec(c);if(u)return this.pathname=u[1],u[2]&&(this.search=u[2]),this}var v=o.exec(c);if(v&&(v=v[0],i=v.toLowerCase(),this.protocol=v,c=c.substr(v.length)),(t||v||c.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(l="//"===c.substr(0,2))||v&&m[v]||(c=c.substr(2),this.slashes=!0)),!m[v]&&(l||v&&!g[v])){var _=-1;for(n=0;n127?C+="x":C+=S[T];if(!C.match(p)){var E=k.slice(0,n),A=k.slice(n+1),L=S.match(h);L&&(E.push(L[1]),A.unshift(L[2])),A.length&&(c=A.join(".")+c),this.hostname=E.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),w&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var D=c.indexOf("#");-1!==D&&(this.hash=c.substr(D),c=c.slice(0,D));var j=c.indexOf("?");return-1!==j&&(this.search=c.substr(j),c=c.slice(0,j)),c&&(this.pathname=c),g[i]&&this.hostname&&!this.pathname&&(this.pathname=""),this},r.prototype.parseHost=function(e){var t=a.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},t.exports=i},{}],438:[function(e,t,n){!function(r,i){"object"==typeof n&&void 0!==t&&"function"==typeof e?i(e("../moment")):"function"==typeof define&&define.amd?define(["../moment"],i):i(r.moment)}(this,function(e){"use strict";return e.defineLocale("en-gb",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},relativeTime:{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"},dayOfMonthOrdinalParse:/\d{1,2}(st|nd|rd|th)/,ordinal:function(e){var t=e%10;return e+(1==~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")},week:{dow:1,doy:4}})})},{"../moment":439}],439:[function(e,t,n){!function(e,r){"object"==typeof n&&void 0!==t?t.exports=r():"function"==typeof define&&define.amd?define(r):e.moment=r()}(this,function(){"use strict";function n(){return Er.apply(null,arguments)}function r(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function i(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function o(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(e.hasOwnProperty(t))return!1;return!0}function a(e){return void 0===e}function s(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function l(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function c(e,t){var n,r=[];for(n=0;n0)for(n=0;n0?"future":"past"];return T(n)?n(t):n.replace(/%s/i,t)}function z(e,t){var n=e.toLowerCase();Ir[n]=Ir[n+"s"]=Ir[t]=e}function N(e){return"string"==typeof e?Ir[e]||Ir[e.toLowerCase()]:void 0}function I(e){var t,n,r={};for(n in e)u(e,n)&&(t=N(n))&&(r[t]=e[n]);return r}function q(e,t){qr[e]=t}function R(e){var t=[];for(var n in e)t.push({unit:n,priority:qr[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}function $(e,t,n){var r=""+Math.abs(e),i=t-r.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}function W(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(Br[e]=i),t&&(Br[t[0]]=function(){return $(i.apply(this,arguments),t[1],t[2])}),n&&(Br[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function B(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function H(e){var t,n,r=e.match(Rr);for(t=0,n=r.length;t=0&&$r.test(e);)e=e.replace($r,n),$r.lastIndex=0,r-=1;return e}function Y(e,t,n){si[e]=T(t)?t:function(e,r){return e&&n?n:t}}function G(e,t){return u(si,e)?si[e](t._strict,t._locale):new RegExp(Z(e))}function Z(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 X(e,t){var n,r=t;for("string"==typeof e&&(e=[e]),s(t)&&(r=function(e,n){n[t]=x(e)}),n=0;n=0&&isFinite(s.getFullYear())&&s.setFullYear(e),s}function xe(e){var t=new Date(Date.UTC.apply(null,arguments));return e<100&&e>=0&&isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e),t}function we(e,t,n){var r=7+t-n;return-(7+xe(e,0,r).getUTCDay()-t)%7+r-1}function ke(e,t,n,r,i){var o,a,s=(7+n-r)%7,l=we(e,r,i),c=1+7*(t-1)+s+l;return c<=0?(o=e-1,a=ee(o)+c):c>ee(e)?(o=e+1,a=c-ee(e)):(o=e,a=c),{year:o,dayOfYear:a}}function Se(e,t,n){var r,i,o=we(e.year(),t,n),a=Math.floor((e.dayOfYear()-o-1)/7)+1;return a<1?(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(ee(e)-r+i)/7}function Te(e){return Se(e,this._week.dow,this._week.doy).week}function Me(){return this._week.dow}function Ee(){return this._week.doy}function Ae(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Le(e){var t=Se(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}function De(e,t){return"string"!=typeof e?e:isNaN(e)?(e=t.weekdaysParse(e),"number"==typeof e?e:null):parseInt(e,10)}function je(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function Oe(e,t){return e?r(this._weekdays)?this._weekdays[e.day()]:this._weekdays[this._weekdays.isFormat.test(t)?"format":"standalone"][e.day()]:r(this._weekdays)?this._weekdays:this._weekdays.standalone}function Fe(e){return e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Pe(e){return e?this._weekdaysMin[e.day()]:this._weekdaysMin}function ze(e,t,n){var r,i,o,a=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=f([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?(i=_i.call(this._weekdaysParse,a),-1!==i?i:null):"ddd"===t?(i=_i.call(this._shortWeekdaysParse,a),-1!==i?i:null):(i=_i.call(this._minWeekdaysParse,a),-1!==i?i:null):"dddd"===t?-1!==(i=_i.call(this._weekdaysParse,a))?i:-1!==(i=_i.call(this._shortWeekdaysParse,a))?i:(i=_i.call(this._minWeekdaysParse,a),-1!==i?i:null):"ddd"===t?-1!==(i=_i.call(this._shortWeekdaysParse,a))?i:-1!==(i=_i.call(this._weekdaysParse,a))?i:(i=_i.call(this._minWeekdaysParse,a),-1!==i?i:null):-1!==(i=_i.call(this._minWeekdaysParse,a))?i:-1!==(i=_i.call(this._weekdaysParse,a))?i:(i=_i.call(this._shortWeekdaysParse,a),-1!==i?i:null)}function Ne(e,t,n){var r,i,o;if(this._weekdaysParseExact)return ze.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){if(i=f([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 Ie(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=De(e,this.localeData()),this.add(e-t,"d")):t}function qe(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 Re(e){if(!this.isValid())return null!=e?this:NaN;if(null!=e){var t=je(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function $e(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||He.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(u(this,"_weekdaysRegex")||(this._weekdaysRegex=Ai),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function We(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||He.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(u(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Li),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Be(e){return this._weekdaysParseExact?(u(this,"_weekdaysRegex")||He.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(u(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Di),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function He(){function e(e,t){return t.length-e.length}var t,n,r,i,o,a=[],s=[],l=[],c=[];for(t=0;t<7;t++)n=f([2e3,1]).day(t),r=this.weekdaysMin(n,""),i=this.weekdaysShort(n,""),o=this.weekdays(n,""),a.push(r),s.push(i),l.push(o),c.push(r),c.push(i),c.push(o);for(a.sort(e),s.sort(e),l.sort(e),c.sort(e),t=0;t<7;t++)s[t]=K(s[t]),l[t]=K(l[t]),c[t]=K(c[t]);this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+a.join("|")+")","i")}function Ue(){return this.hours()%12||12}function Ve(){return this.hours()||24}function Ye(e,t){W(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function Ge(e,t){return t._meridiemParse}function Ze(e){return"p"===(e+"").toLowerCase().charAt(0)}function Ke(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}function Xe(e){return e?e.toLowerCase().replace("_","-"):e}function Qe(e){for(var t,n,r,i,o=0;o0;){if(r=Je(i.slice(0,t).join("-")))return r;if(n&&n.length>=t&&w(i,n,!0)>=t-1)break;t--}o++}return null}function Je(n){var r=null;if(!zi[n]&&void 0!==t&&t&&t.exports)try{r=ji._abbr;e("./locale/"+n),et(r)}catch(e){}return zi[n]}function et(e,t){var n;return e&&(n=a(t)?rt(e):tt(e,t))&&(ji=n),ji._abbr}function tt(e,t){if(null!==t){var n=Pi;if(t.abbr=e,null!=zi[e])C("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=zi[e]._config;else if(null!=t.parentLocale){if(null==zi[t.parentLocale])return Ni[t.parentLocale]||(Ni[t.parentLocale]=[]),Ni[t.parentLocale].push({name:e,config:t}),null;n=zi[t.parentLocale]._config}return zi[e]=new A(E(n,t)),Ni[e]&&Ni[e].forEach(function(e){tt(e.name,e.config)}),et(e),zi[e]}return delete zi[e],null}function nt(e,t){if(null!=t){var n,r=Pi;null!=zi[e]&&(r=zi[e]._config),t=E(r,t),n=new A(t),n.parentLocale=zi[e],zi[e]=n,et(e)}else null!=zi[e]&&(null!=zi[e].parentLocale?zi[e]=zi[e].parentLocale:null!=zi[e]&&delete zi[e]);return zi[e]}function rt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return ji;if(!r(e)){if(t=Je(e))return t;e=[e]}return Qe(e)}function it(){return Or(zi)}function ot(e){var t,n=e._a;return n&&-2===h(e).overflow&&(t=n[ui]<0||n[ui]>11?ui:n[di]<1||n[di]>ce(n[ci],n[ui])?di:n[fi]<0||n[fi]>24||24===n[fi]&&(0!==n[pi]||0!==n[hi]||0!==n[mi])?fi:n[pi]<0||n[pi]>59?pi:n[hi]<0||n[hi]>59?hi:n[mi]<0||n[mi]>999?mi:-1,h(e)._overflowDayOfYear&&(tdi)&&(t=di),h(e)._overflowWeeks&&-1===t&&(t=gi),h(e)._overflowWeekday&&-1===t&&(t=vi),h(e).overflow=t),e}function at(e,t,n){return null!=e?e:null!=t?t:n}function st(e){var t=new Date(n.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}function lt(e){var t,n,r,i,o=[];if(!e._d){for(r=st(e),e._w&&null==e._a[di]&&null==e._a[ui]&&ct(e),null!=e._dayOfYear&&(i=at(e._a[ci],r[ci]),(e._dayOfYear>ee(i)||0===e._dayOfYear)&&(h(e)._overflowDayOfYear=!0),n=xe(i,0,e._dayOfYear),e._a[ui]=n.getUTCMonth(),e._a[di]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=o[t]=r[t];for(;t<7;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[fi]&&0===e._a[pi]&&0===e._a[hi]&&0===e._a[mi]&&(e._nextDay=!0,e._a[fi]=0),e._d=(e._useUTC?xe:be).apply(null,o),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[fi]=24),e._w&&void 0!==e._w.d&&e._w.d!==e._d.getDay()&&(h(e).weekdayMismatch=!0)}}function ct(e){var t,n,r,i,o,a,s,l;if(t=e._w,null!=t.GG||null!=t.W||null!=t.E)o=1,a=4,n=at(t.GG,e._a[ci],Se(Tt(),1,4).year),r=at(t.W,1),((i=at(t.E,1))<1||i>7)&&(l=!0);else{o=e._locale._week.dow,a=e._locale._week.doy;var c=Se(Tt(),o,a);n=at(t.gg,e._a[ci],c.year),r=at(t.w,c.week),null!=t.d?((i=t.d)<0||i>6)&&(l=!0):null!=t.e?(i=t.e+o,(t.e<0||t.e>6)&&(l=!0)):i=o}r<1||r>Ce(n,o,a)?h(e)._overflowWeeks=!0:null!=l?h(e)._overflowWeekday=!0:(s=ke(n,r,i,o,a),e._a[ci]=s.year,e._dayOfYear=s.dayOfYear)}function ut(e){var t,n,r,i,o,a,s=e._i,l=Ii.exec(s)||qi.exec(s);if(l){for(h(e).iso=!0,t=0,n=$i.length;t0&&h(e).unusedInput.push(a),s=s.slice(s.indexOf(r)+r.length),c+=r.length),Br[o]?(r?h(e).empty=!1:h(e).unusedTokens.push(o),J(o,r,e)):e._strict&&!r&&h(e).unusedTokens.push(o);h(e).charsLeftOver=l-c,s.length>0&&h(e).unusedInput.push(s),e._a[fi]<=12&&!0===h(e).bigHour&&e._a[fi]>0&&(h(e).bigHour=void 0),h(e).parsedDateParts=e._a.slice(0),h(e).meridiem=e._meridiem,e._a[fi]=yt(e._locale,e._a[fi],e._meridiem),lt(e),ot(e)}function yt(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(r=e.isPM(n),r&&t<12&&(t+=12),r||12!==t||(t=0),t):t}function bt(e){var t,n,r,i,o;if(0===e._f.length)return h(e).invalidFormat=!0,void(e._d=new Date(NaN));for(i=0;ithis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Yt(){if(!a(this._isDSTShifted))return this._isDSTShifted;var e={};if(v(e,this),e=kt(e),e._a){var t=e._isUTC?f(e._a):Tt(e._a);this._isDSTShifted=this.isValid()&&w(e._a,t.toArray())>0}else this._isDSTShifted=!1;return this._isDSTShifted}function Gt(){return!!this.isValid()&&!this._isUTC}function Zt(){return!!this.isValid()&&this._isUTC}function Kt(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}function Xt(e,t){var n,r,i,o=e,a=null;return Ft(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:s(e)?(o={},t?o[t]=e:o.milliseconds=e):(a=Xi.exec(e))?(n="-"===a[1]?-1:1,o={y:0,d:x(a[di])*n,h:x(a[fi])*n,m:x(a[pi])*n,s:x(a[hi])*n,ms:x(Pt(1e3*a[mi]))*n}):(a=Qi.exec(e))?(n="-"===a[1]?-1:(a[1],1),o={y:Qt(a[2],n),M:Qt(a[3],n),w:Qt(a[4],n),d:Qt(a[5],n),h:Qt(a[6],n),m:Qt(a[7],n),s:Qt(a[8],n)}):null==o?o={}:"object"==typeof o&&("from"in o||"to"in o)&&(i=en(Tt(o.from),Tt(o.to)),o={},o.ms=i.milliseconds,o.M=i.months),r=new Ot(o),Ft(e)&&u(e,"_locale")&&(r._locale=e._locale),r}function Qt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Jt(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 en(e,t){var n;return e.isValid()&&t.isValid()?(t=It(t,e),e.isBefore(t)?n=Jt(e,t):(n=Jt(t,e),n.milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}function tn(e,t){return function(n,r){var i,o;return null===r||isNaN(+r)||(C(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),o=n,n=r,r=o),n="string"==typeof n?+n:n,i=Xt(n,r),nn(this,i,e),this}}function nn(e,t,r,i){var o=t._milliseconds,a=Pt(t._days),s=Pt(t._months);e.isValid()&&(i=null==i||i,s&&he(e,ie(e,"Month")+s*r),a&&oe(e,"Date",ie(e,"Date")+a*r),o&&e._d.setTime(e._d.valueOf()+o*r),i&&n.updateOffset(e,a||s))}function rn(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function on(e,t){var r=e||Tt(),i=It(r,this).startOf("day"),o=n.calendarFormat(this,i)||"sameElse",a=t&&(T(t[o])?t[o].call(this,r):t[o]);return this.format(a||this.localeData().calendar(o,this,Tt(r)))}function an(){return new _(this)}function sn(e,t){var n=y(e)?e:Tt(e);return!(!this.isValid()||!n.isValid())&&(t=N(a(t)?"millisecond":t),"millisecond"===t?this.valueOf()>n.valueOf():n.valueOf()9999?U(e,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):T(Date.prototype.toISOString)?this.toDate().toISOString():U(e,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}function vn(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="";this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z");var n="["+e+'("]',r=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i=t+'[")]';return this.format(n+r+"-MM-DD[T]HH:mm:ss.SSS"+i)}function _n(e){e||(e=this.isUtc()?n.defaultFormatUtc:n.defaultFormat);var t=U(this,e);return this.localeData().postformat(t)}function yn(e,t){return this.isValid()&&(y(e)&&e.isValid()||Tt(e).isValid())?Xt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function bn(e){return this.from(Tt(),e)}function xn(e,t){return this.isValid()&&(y(e)&&e.isValid()||Tt(e).isValid())?Xt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function wn(e){return this.to(Tt(),e)}function kn(e){var t;return void 0===e?this._locale._abbr:(t=rt(e),null!=t&&(this._locale=t),this)}function Sn(){return this._locale}function Cn(e){switch(e=N(e)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":case"date":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===e&&this.weekday(0),"isoWeek"===e&&this.isoWeekday(1),"quarter"===e&&this.month(3*Math.floor(this.month()/3)),this}function Tn(e){return void 0===(e=N(e))||"millisecond"===e?this:("date"===e&&(e="day"),this.startOf(e).add(1,"isoWeek"===e?"week":e).subtract(1,"ms"))}function Mn(){return this._d.valueOf()-6e4*(this._offset||0)}function En(){return Math.floor(this.valueOf()/1e3)}function An(){return new Date(this.valueOf())}function Ln(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Dn(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function jn(){return this.isValid()?this.toISOString():null}function On(){return m(this)}function Fn(){return d({},h(this))}function Pn(){return h(this).overflow}function zn(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Nn(e,t){W(0,[e,e.length],0,t)}function In(e){return Wn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function qn(e){return Wn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Rn(){return Ce(this.year(),1,4)}function $n(){var e=this.localeData()._week;return Ce(this.year(),e.dow,e.doy)}function Wn(e,t,n,r,i){var o;return null==e?Se(this,r,i).year:(o=Ce(e,r,i),t>o&&(t=o),Bn.call(this,e,t,n,r,i))}function Bn(e,t,n,r,i){var o=ke(e,t,n,r,i),a=xe(o.year,0,o.dayOfYear);return this.year(a.getUTCFullYear()),this.month(a.getUTCMonth()),this.date(a.getUTCDate()),this}function Hn(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}function Un(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}function Vn(e,t){t[mi]=x(1e3*("0."+e))}function Yn(){return this._isUTC?"UTC":""}function Gn(){return this._isUTC?"Coordinated Universal Time":""}function Zn(e){return Tt(1e3*e)}function Kn(){return Tt.apply(null,arguments).parseZone()}function Xn(e){return e}function Qn(e,t,n,r){var i=rt(),o=f().set(r,t);return i[n](o,e)}function Jn(e,t,n){if(s(e)&&(t=e,e=void 0),e=e||"",null!=t)return Qn(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=Qn(e,r,n,"month");return i}function er(e,t,n,r){"boolean"==typeof e?(s(t)&&(n=t,t=void 0),t=t||""):(t=e,n=t,e=!1,s(t)&&(n=t,t=void 0),t=t||"");var i=rt(),o=e?i._week.dow:0;if(null!=n)return Qn(t,(n+o)%7,r,"day");var a,l=[];for(a=0;a<7;a++)l[a]=Qn(t,(a+o)%7,r,"day");return l}function tr(e,t){return Jn(e,t,"months")}function nr(e,t){return Jn(e,t,"monthsShort")}function rr(e,t,n){return er(e,t,n,"weekdays")}function ir(e,t,n){return er(e,t,n,"weekdaysShort")}function or(e,t,n){return er(e,t,n,"weekdaysMin")}function ar(){var e=this._data;return this._milliseconds=co(this._milliseconds),this._days=co(this._days),this._months=co(this._months),e.milliseconds=co(e.milliseconds),e.seconds=co(e.seconds),e.minutes=co(e.minutes),e.hours=co(e.hours),e.months=co(e.months),e.years=co(e.years),this}function sr(e,t,n,r){var i=Xt(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}function lr(e,t){return sr(this,e,t,1)}function cr(e,t){return sr(this,e,t,-1)}function ur(e){return e<0?Math.floor(e):Math.ceil(e)}function dr(){var e,t,n,r,i,o=this._milliseconds,a=this._days,s=this._months,l=this._data;return o>=0&&a>=0&&s>=0||o<=0&&a<=0&&s<=0||(o+=864e5*ur(pr(s)+a),a=0,s=0),l.milliseconds=o%1e3,e=b(o/1e3),l.seconds=e%60,t=b(e/60),l.minutes=t%60,n=b(t/60),l.hours=n%24,a+=b(n/24),i=b(fr(a)),s+=i,a-=ur(pr(i)),r=b(s/12),s%=12,l.days=a,l.months=s,l.years=r,this}function fr(e){return 4800*e/146097}function pr(e){return 146097*e/4800}function hr(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=N(e))||"year"===e)return t=this._days+r/864e5,n=this._months+fr(t),"month"===e?n:n/12;switch(t=this._days+Math.round(pr(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 mr(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*x(this._months/12):NaN}function gr(e){return function(){return this.as(e)}}function vr(){return Xt(this)}function _r(e){return e=N(e),this.isValid()?this[e+"s"]():NaN}function yr(e){return function(){return this.isValid()?this._data[e]:NaN}}function br(){return b(this.days()/7)}function xr(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function wr(e,t,n){var r=Xt(e).abs(),i=To(r.as("s")),o=To(r.as("m")),a=To(r.as("h")),s=To(r.as("d")),l=To(r.as("M")),c=To(r.as("y")),u=i<=Mo.ss&&["s",i]||i0,u[4]=n,xr.apply(null,u)}function kr(e){return void 0===e?To:"function"==typeof e&&(To=e,!0)}function Sr(e,t){return void 0!==Mo[e]&&(void 0===t?Mo[e]:(Mo[e]=t,"s"===e&&(Mo.ss=t-1),!0))}function Cr(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),n=wr(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)}function Tr(e){return(e>0)-(e<0)||+e}function Mr(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n,r=Eo(this._milliseconds)/1e3,i=Eo(this._days),o=Eo(this._months);e=b(r/60),t=b(e/60),r%=60,e%=60,n=b(o/12),o%=12;var a=n,s=o,l=i,c=t,u=e,d=r?r.toFixed(3).replace(/\.?0+$/,""):"",f=this.asSeconds();if(!f)return"P0D";var p=f<0?"-":"",h=Tr(this._months)!==Tr(f)?"-":"",m=Tr(this._days)!==Tr(f)?"-":"",g=Tr(this._milliseconds)!==Tr(f)?"-":"";return p+"P"+(a?h+a+"Y":"")+(s?h+s+"M":"")+(l?m+l+"D":"")+(c||u||d?"T":"")+(c?g+c+"H":"")+(u?g+u+"M":"")+(d?g+d+"S":"")}var Er,Ar;Ar=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,r=0;r68?1900:2e3)};var _i,yi=re("FullYear",!0);_i=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;tthis?this:e:g()}),Gi=function(){return Date.now?Date.now():+new Date},Zi=["year","quarter","month","week","day","hour","minute","second","millisecond"];zt("Z",":"),zt("ZZ",""),Y("Z",ii),Y("ZZ",ii),X(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Nt(ii,e)});var Ki=/([\+\-]|\d\d)/gi;n.updateOffset=function(){};var Xi=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,Qi=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;Xt.fn=Ot.prototype,Xt.invalid=jt;var Ji=tn(1,"add"),eo=tn(-1,"subtract");n.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",n.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var to=S("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)});W(0,["gg",2],0,function(){return this.weekYear()%100}),W(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Nn("gggg","weekYear"),Nn("ggggg","weekYear"),Nn("GGGG","isoWeekYear"),Nn("GGGGG","isoWeekYear"),z("weekYear","gg"),z("isoWeekYear","GG"),q("weekYear",1),q("isoWeekYear",1),Y("G",ni),Y("g",ni),Y("GG",Zr,Ur),Y("gg",Zr,Ur),Y("GGGG",Jr,Yr),Y("gggg",Jr,Yr),Y("GGGGG",ei,Gr),Y("ggggg",ei,Gr),Q(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,r){t[r.substr(0,2)]=x(e)}),Q(["gg","GG"],function(e,t,r,i){t[i]=n.parseTwoDigitYear(e)}),W("Q",0,"Qo","quarter"),z("quarter","Q"),q("quarter",7),Y("Q",Hr),X("Q",function(e,t){t[ui]=3*(x(e)-1)}),W("D",["DD",2],"Do","date"),z("date","D"),q("date",9),Y("D",Zr),Y("DD",Zr,Ur),Y("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),X(["D","DD"],di),X("Do",function(e,t){t[di]=x(e.match(Zr)[0],10)});var no=re("Date",!0);W("DDD",["DDDD",3],"DDDo","dayOfYear"),z("dayOfYear","DDD"),q("dayOfYear",4),Y("DDD",Qr),Y("DDDD",Vr),X(["DDD","DDDD"],function(e,t,n){n._dayOfYear=x(e)}),W("m",["mm",2],0,"minute"),z("minute","m"),q("minute",14),Y("m",Zr),Y("mm",Zr,Ur),X(["m","mm"],pi);var ro=re("Minutes",!1);W("s",["ss",2],0,"second"),z("second","s"),q("second",15),Y("s",Zr),Y("ss",Zr,Ur),X(["s","ss"],hi);var io=re("Seconds",!1);W("S",0,0,function(){return~~(this.millisecond()/100)}),W(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),W(0,["SSS",3],0,"millisecond"),W(0,["SSSS",4],0,function(){return 10*this.millisecond()}),W(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),W(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),W(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),W(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),W(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),z("millisecond","ms"),q("millisecond",16),Y("S",Qr,Hr),Y("SS",Qr,Ur),Y("SSS",Qr,Vr);var oo;for(oo="SSSS";oo.length<=9;oo+="S")Y(oo,ti);for(oo="S";oo.length<=9;oo+="S")X(oo,Vn);var ao=re("Milliseconds",!1);W("z",0,0,"zoneAbbr"),W("zz",0,0,"zoneName");var so=_.prototype;so.add=Ji,so.calendar=on,so.clone=an,so.diff=pn,so.endOf=Tn,so.format=_n,so.from=yn,so.fromNow=bn,so.to=xn,so.toNow=wn,so.get=ae,so.invalidAt=Pn,so.isAfter=sn,so.isBefore=ln,so.isBetween=cn,so.isSame=un,so.isSameOrAfter=dn,so.isSameOrBefore=fn,so.isValid=On,so.lang=to,so.locale=kn,so.localeData=Sn,so.max=Yi,so.min=Vi,so.parsingFlags=Fn,so.set=se,so.startOf=Cn,so.subtract=eo,so.toArray=Ln,so.toObject=Dn,so.toDate=An,so.toISOString=gn,so.inspect=vn,so.toJSON=jn,so.toString=mn,so.unix=En,so.valueOf=Mn,so.creationData=zn,so.year=yi,so.isLeapYear=ne,so.weekYear=In,so.isoWeekYear=qn,so.quarter=so.quarters=Hn,so.month=me,so.daysInMonth=ge,so.week=so.weeks=Ae,so.isoWeek=so.isoWeeks=Le,so.weeksInYear=$n,so.isoWeeksInYear=Rn,so.date=no,so.day=so.days=Ie,so.weekday=qe,so.isoWeekday=Re,so.dayOfYear=Un,so.hour=so.hours=Fi,so.minute=so.minutes=ro,so.second=so.seconds=io,so.millisecond=so.milliseconds=ao,so.utcOffset=Rt,so.utc=Wt,so.local=Bt,so.parseZone=Ht,so.hasAlignedHourOffset=Ut,so.isDST=Vt,so.isLocal=Gt,so.isUtcOffset=Zt,so.isUtc=Kt,so.isUTC=Kt,so.zoneAbbr=Yn,so.zoneName=Gn,so.dates=S("dates accessor is deprecated. Use date instead.",no),so.months=S("months accessor is deprecated. Use month instead",me),so.years=S("years accessor is deprecated. Use year instead",yi),so.zone=S("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",$t),so.isDSTShifted=S("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Yt);var lo=A.prototype;lo.calendar=L,lo.longDateFormat=D,lo.invalidDate=j,lo.ordinal=O,lo.preparse=Xn,lo.postformat=Xn,lo.relativeTime=F,lo.pastFuture=P,lo.set=M,lo.months=ue,lo.monthsShort=de,lo.monthsParse=pe,lo.monthsRegex=_e,lo.monthsShortRegex=ve,lo.week=Te,lo.firstDayOfYear=Ee,lo.firstDayOfWeek=Me,lo.weekdays=Oe,lo.weekdaysMin=Pe,lo.weekdaysShort=Fe,lo.weekdaysParse=Ne,lo.weekdaysRegex=$e,lo.weekdaysShortRegex=We,lo.weekdaysMinRegex=Be,lo.isPM=Ze,lo.meridiem=Ke,et("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===x(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),n.lang=S("moment.lang is deprecated. Use moment.locale instead.",et),n.langData=S("moment.langData is deprecated. Use moment.localeData instead.",rt);var co=Math.abs,uo=gr("ms"),fo=gr("s"),po=gr("m"),ho=gr("h"),mo=gr("d"),go=gr("w"),vo=gr("M"),_o=gr("y"),yo=yr("milliseconds"),bo=yr("seconds"),xo=yr("minutes"),wo=yr("hours"),ko=yr("days"),So=yr("months"),Co=yr("years"),To=Math.round,Mo={ss:44,s:45,m:45,h:22,d:26,M:11},Eo=Math.abs,Ao=Ot.prototype;return Ao.isValid=Dt,Ao.abs=ar,Ao.add=lr,Ao.subtract=cr,Ao.as=hr,Ao.asMilliseconds=uo,Ao.asSeconds=fo,Ao.asMinutes=po,Ao.asHours=ho,Ao.asDays=mo,Ao.asWeeks=go,Ao.asMonths=vo,Ao.asYears=_o,Ao.valueOf=mr,Ao._bubble=dr,Ao.clone=vr,Ao.get=_r,Ao.milliseconds=yo,Ao.seconds=bo,Ao.minutes=xo,Ao.hours=wo,Ao.days=ko,Ao.weeks=br,Ao.months=So,Ao.years=Co,Ao.humanize=Cr,Ao.toISOString=Mr,Ao.toString=Mr,Ao.toJSON=Mr,Ao.locale=kn,Ao.localeData=Sn,Ao.toIsoString=S("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Mr),Ao.lang=to,W("X",0,0,"unix"),W("x",0,0,"valueOf"),Y("x",ni),Y("X",oi),X("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),X("x",function(e,t,n){n._d=new Date(x(e))}),n.version="2.19.1",function(e){Er=e}(Tt),n.fn=so,n.min=Et,n.max=At,n.now=Gi,n.utc=f,n.unix=Zn,n.months=tr,n.isDate=l,n.locale=et,n.invalid=g,n.duration=Xt,n.isMoment=y,n.weekdays=rr,n.parseZone=Kn,n.localeData=rt,n.isDuration=Ft,n.monthsShort=nr,n.weekdaysMin=or,n.defineLocale=tt,n.updateLocale=nt,n.locales=it,n.weekdaysShort=ir,n.normalizeUnits=N,n.relativeTimeRounding=kr,n.relativeTimeThreshold=Sr,n.calendarFormat=rn,n.prototype=so,n})},{}],440:[function(e,t,n){function r(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function o(e){if(d===setTimeout)return setTimeout(e,0);if((d===r||!d)&&setTimeout)return d=setTimeout,setTimeout(e,0);try{return d(e,0)}catch(t){try{return d.call(null,e,0)}catch(t){return d.call(this,e,0)}}}function a(e){if(f===clearTimeout)return clearTimeout(e);if((f===i||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(e);try{return f(e)}catch(t){try{return f.call(null,e)}catch(t){return f.call(this,e)}}}function s(){g&&h&&(g=!1,h.length?m=h.concat(m):v=-1,m.length&&l())}function l(){if(!g){var e=o(s);g=!0;for(var t=m.length;t;){for(h=m,m=[];++v1)for(var n=1;n1&&(r=n[0]+"@",e=n[1]),e=e.replace(j,"."),r+o(e.split("."),t).join(".")}function s(e){for(var t,n,r=[],i=0,o=e.length;i=55296&&t<=56319&&i65535&&(e-=65536,t+=z(e>>>10&1023|55296),e=56320|1023&e),t+=z(e)}).join("")}function c(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:w}function u(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function d(e,t,n){var r=0;for(e=n?P(e/T):e>>1,e+=P(e/t);e>F*S>>1;r+=w)e=P(e/F);return P(r+(F+1)*e/(e+C))}function f(e){var t,n,r,o,a,s,u,f,p,h,m=[],g=e.length,v=0,_=E,y=M;for(n=e.lastIndexOf(A),n<0&&(n=0),r=0;r=128&&i("not-basic"),m.push(e.charCodeAt(r));for(o=n>0?n+1:0;o=g&&i("invalid-input"),f=c(e.charCodeAt(o++)),(f>=w||f>P((x-v)/s))&&i("overflow"),v+=f*s,p=u<=y?k:u>=y+S?S:u-y,!(fP(x/h)&&i("overflow"),s*=h;t=m.length+1,y=d(v-a,t,0==a),P(v/t)>x-_&&i("overflow"),_+=P(v/t),v%=t,m.splice(v++,0,_)}return l(m)}function p(e){var t,n,r,o,a,l,c,f,p,h,m,g,v,_,y,b=[];for(e=s(e),g=e.length,t=E,n=0,a=M,l=0;l=t&&mP((x-n)/v)&&i("overflow"),n+=(c-t)*v,t=c,l=0;lx&&i("overflow"),m==t){for(f=n,p=w;h=p<=a?k:p>=a+S?S:p-a,!(f= 0x80 (not a basic code point)","invalid-input":"Invalid input"},F=w-k,P=Math.floor,z=String.fromCharCode;if(y={version:"1.4.1",ucs2:{decode:s,encode:l},decode:f,encode:p,toASCII:m,toUnicode:h},"function"==typeof define&&"object"==typeof define.amd&&define.amd)define("punycode",function(){return y});else if(g&&v)if(t.exports==g)v.exports=y;else for(b in y)y.hasOwnProperty(b)&&(g[b]=y[b]);else r.punycode=y}(this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],442:[function(e,t,n){(function(e){!function(e){"use strict";function n(e,t,n,r){var o=t&&t.prototype instanceof i?t:i,a=Object.create(o.prototype),s=new p(r||[]);return a._invoke=c(e,n,s),a}function r(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function i(){}function o(){}function a(){}function s(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function l(t){function n(e,i,o,a){var s=r(t[e],t,i);if("throw"!==s.type){var l=s.arg,c=l.value;return c&&"object"==typeof c&&_.call(c,"__await")?Promise.resolve(c.__await).then(function(e){n("next",e,o,a)},function(e){n("throw",e,o,a)}):Promise.resolve(c).then(function(e){l.value=e,o(l)},a)}a(s.arg)}function i(e,t){function r(){return new Promise(function(r,i){n(e,t,r,i)})}return o=o?o.then(r,r):r()}"object"==typeof e.process&&e.process.domain&&(n=e.process.domain.bind(n));var o;this._invoke=i}function c(e,t,n){var i=C;return function(o,a){if(i===M)throw new Error("Generator is already running");if(i===E){if("throw"===o)throw a;return m()}for(n.method=o,n.arg=a;;){var s=n.delegate;if(s){var l=u(s,n);if(l){if(l===A)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===C)throw i=E,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=M;var c=r(e,t,n);if("normal"===c.type){if(i=n.done?E:T,c.arg===A)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(i=E,n.method="throw",n.arg=c.arg)}}}function u(e,t){var n=e.iterator[t.method];if(n===g){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=g,u(e,t),"throw"===t.method))return A;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return A}var i=r(n,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,A;var o=i.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=g),t.delegate=null,A):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,A)}function d(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function f(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function p(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(d,this),this.reset(!0)}function h(e){if(e){var t=e[b];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n=0;--r){var i=this.tryEntries[r],o=i.completion;if("root"===i.tryLoc)return t("end");if(i.tryLoc<=this.prev){var a=_.call(i,"catchLoc"),s=_.call(i,"finallyLoc");if(a&&s){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&_.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),f(n),A}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;f(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:h(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=g),A}}}("object"==typeof e?e:"object"==typeof window?window:"object"==typeof self?self:this)}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],443:[function(e,t,n){function r(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName){var n=e.hasAttribute("readonly");n||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),n||e.removeAttribute("readonly"),t=e.value}else{e.hasAttribute("contenteditable")&&e.focus();var r=window.getSelection(),i=document.createRange();i.selectNodeContents(e),r.removeAllRanges(),r.addRange(i),t=r.toString()}return t}t.exports=r},{}],444:[function(e,t,n){!function(e){"use strict";"function"==typeof define&&define.amd?define(e):void 0!==t&&void 0!==t.exports?t.exports=e():window.Sortable=e()}(function(){"use strict";function e(t,n){if(!t||!t.nodeType||1!==t.nodeType)throw"Sortable: `el` must be HTMLElement, and not "+{}.toString.call(t);this.el=t,this.options=n=y({},n),t[Y]=this;var r={group:Math.random(),sort:!0,disabled:!1,store:null,handle:null,scroll:!0,scrollSensitivity:30,scrollSpeed:10,draggable:/[uo]l/i.test(t.nodeName)?"li":">*",ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,setData:function(e,t){e.setData("Text",t.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==e.supportPointer};for(var i in r)!(i in n)&&(n[i]=r[i]);ue(n);for(var a in this)"_"===a.charAt(0)&&"function"==typeof this[a]&&(this[a]=this[a].bind(this));this.nativeDraggable=!n.forceFallback&&ne,o(t,"mousedown",this._onTapStart),o(t,"touchstart",this._onTapStart),n.supportPointer&&o(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(o(t,"dragover",this),o(t,"dragenter",this)),le.push(this._onDragOver),n.store&&this.sort(n.store.get(this))}function t(e,t){"clone"!==e.lastPullMode&&(t=!0),M&&M.state!==t&&(l(M,"display",t?"none":""),t||M.state&&(e.options.group.revertClone?(E.insertBefore(M,A),e._animate(S,M)):E.insertBefore(M,S)),M.state=t)}function n(e,t,n){if(e){n=n||Z;do{if(">*"===t&&e.parentNode===n||v(e,t))return e}while(e=r(e))}return null}function r(e){var t=e.host;return t&&t.nodeType?t:e.parentNode}function i(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.preventDefault()}function o(e,t,n){e.addEventListener(t,n,ee)}function a(e,t,n){e.removeEventListener(t,n,ee)}function s(e,t,n){if(e)if(e.classList)e.classList[n?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(U," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(U," ")}}function l(e,t,n){var r=e&&e.style;if(r){if(void 0===n)return Z.defaultView&&Z.defaultView.getComputedStyle?n=Z.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),void 0===t?n:n[t];t in r||(t="-webkit-"+t),r[t]=n+("string"==typeof n?"":"px")}}function c(e,t,n){if(e){var r=e.getElementsByTagName(t),i=0,o=r.length;if(n)for(;i5||t.clientX-(r.left+r.width)>5}function m(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,r=0;n--;)r+=t.charCodeAt(n);return r.toString(36)}function g(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e&&(e=e.previousElementSibling);)"TEMPLATE"===e.nodeName.toUpperCase()||">*"!==t&&!v(e,t)||n++;return n}function v(e,t){if(e){t=t.split(".");var n=t.shift().toUpperCase(),r=new RegExp("\\s("+t.join("|")+")(?=\\s)","g");return!(""!==n&&e.nodeName.toUpperCase()!=n||t.length&&((" "+e.className+" ").match(r)||[]).length!=t.length)}return!1}function _(e,t){var n,r;return function(){void 0===n&&(n=arguments,r=this,X(function(){1===n.length?e.call(r,n[0]):e.apply(r,n),n=void 0},t))}}function y(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function b(e){return J&&J.dom?J.dom(e).cloneNode(!0):Q?Q(e).clone(!0)[0]:e.cloneNode(!0)}function x(e){for(var t=e.getElementsByTagName("input"),n=t.length;n--;){var r=t[n];r.checked&&se.push(r)}}function w(e){return X(e,0)}function k(e){return clearTimeout(e)}if("undefined"==typeof window||!window.document)return function(){throw new Error("Sortable.js requires a window with a document")};var S,C,T,M,E,A,L,D,j,O,F,P,z,N,I,q,R,$,W,B,H={},U=/\s+/g,V=/left|right|inline/,Y="Sortable"+(new Date).getTime(),G=window,Z=G.document,K=G.parseInt,X=G.setTimeout,Q=G.jQuery||G.Zepto,J=G.Polymer,ee=!1,te=!1,ne="draggable"in Z.createElement("div"),re=function(e){return!navigator.userAgent.match(/(?:Trident.*rv[ :]?11\.|msie)/i)&&(e=Z.createElement("x"),e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents)}(),ie=!1,oe=Math.abs,ae=Math.min,se=[],le=[],ce=_(function(e,t,n){if(n&&t.scroll){var r,i,o,a,s,l,c=n[Y],u=t.scrollSensitivity,d=t.scrollSpeed,f=e.clientX,p=e.clientY,h=window.innerWidth,m=window.innerHeight;if(j!==n&&(D=t.scroll,j=n,O=t.scrollFn,!0===D)){D=n;do{if(D.offsetWidth-1:i==e)}}var n={},r=e.group;r&&"object"==typeof r||(r={name:r}),n.name=r.name,n.checkPull=t(r.pull,!0),n.checkPut=t(r.put),n.revertClone=r.revertClone,e.group=n};try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){te=!1,ee={capture:!1,passive:te}}}))}catch(e){}return e.prototype={constructor:e,_onTapStart:function(e){var t,r=this,i=this.el,o=this.options,a=o.preventOnFilter,s=e.type,l=e.touches&&e.touches[0],c=(l||e).target,d=e.target.shadowRoot&&e.path&&e.path[0]||c,f=o.filter;if(x(i),!S&&!(/mousedown|pointerdown/.test(s)&&0!==e.button||o.disabled)&&!d.isContentEditable&&(c=n(c,o.draggable,i))&&L!==c){if(t=g(c,o.draggable),"function"==typeof f){if(f.call(this,e,c,this))return u(r,d,"filter",c,i,i,t),void(a&&e.preventDefault())}else if(f&&(f=f.split(",").some(function(e){if(e=n(d,e.trim(),i))return u(r,e,"filter",c,i,i,t),!0})))return void(a&&e.preventDefault());o.handle&&!n(d,o.handle,i)||this._prepareDragStart(e,l,c,t)}},_prepareDragStart:function(e,t,n,r){var i,a=this,l=a.el,d=a.options,p=l.ownerDocument;n&&!S&&n.parentNode===l&&($=e,E=l,S=n,C=S.parentNode,A=S.nextSibling,L=n,q=d.group,N=r,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,S.style["will-change"]="all",i=function(){a._disableDelayedDrag(),S.draggable=a.nativeDraggable,s(S,d.chosenClass,!0),a._triggerDragStart(e,t),u(a,E,"choose",S,E,E,N)},d.ignore.split(",").forEach(function(e){c(S,e.trim(),f)}),o(p,"mouseup",a._onDrop),o(p,"touchend",a._onDrop),o(p,"touchcancel",a._onDrop),o(p,"selectstart",a),d.supportPointer&&o(p,"pointercancel",a._onDrop),d.delay?(o(p,"mouseup",a._disableDelayedDrag),o(p,"touchend",a._disableDelayedDrag),o(p,"touchcancel",a._disableDelayedDrag),o(p,"mousemove",a._disableDelayedDrag),o(p,"touchmove",a._disableDelayedDrag),d.supportPointer&&o(p,"pointermove",a._disableDelayedDrag),a._dragStartTimer=X(i,d.delay)):i())},_disableDelayedDrag:function(){var e=this.el.ownerDocument;clearTimeout(this._dragStartTimer),a(e,"mouseup",this._disableDelayedDrag),a(e,"touchend",this._disableDelayedDrag),a(e,"touchcancel",this._disableDelayedDrag),a(e,"mousemove",this._disableDelayedDrag),a(e,"touchmove",this._disableDelayedDrag),a(e,"pointermove",this._disableDelayedDrag)},_triggerDragStart:function(e,t){t=t||("touch"==e.pointerType?e:null),t?($={target:S,clientX:t.clientX,clientY:t.clientY},this._onDragStart($,"touch")):this.nativeDraggable?(o(S,"dragend",this),o(E,"dragstart",this._onDragStart)):this._onDragStart($,!0);try{Z.selection?w(function(){Z.selection.empty()}):window.getSelection().removeAllRanges()}catch(e){}},_dragStarted:function(){if(E&&S){var t=this.options;s(S,t.ghostClass,!0),s(S,t.dragClass,!1),e.active=this,u(this,E,"start",S,E,E,N)}else this._nulling()},_emulateDragOver:function(){if(W){if(this._lastX===W.clientX&&this._lastY===W.clientY)return;this._lastX=W.clientX,this._lastY=W.clientY,re||l(T,"display","none");var e=Z.elementFromPoint(W.clientX,W.clientY),t=e,n=le.length;if(e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(W.clientX,W.clientY),t=e),t)do{if(t[Y]){for(;n--;)le[n]({clientX:W.clientX,clientY:W.clientY,target:e,rootEl:t});break}e=t}while(t=t.parentNode);re||l(T,"display","")}},_onTouchMove:function(t){if($){var n=this.options,r=n.fallbackTolerance,i=n.fallbackOffset,o=t.touches?t.touches[0]:t,a=o.clientX-$.clientX+i.x,s=o.clientY-$.clientY+i.y,c=t.touches?"translate3d("+a+"px,"+s+"px,0)":"translate("+a+"px,"+s+"px)";if(!e.active){if(r&&ae(oe(o.clientX-this._lastX),oe(o.clientY-this._lastY))S.offsetWidth,k=i.offsetHeight>S.offsetHeight,L=(x?(r.clientX-a.left)/y:(r.clientY-a.top)/b)>.5,D=i.nextElementSibling,j=!1;if(x){var O=S.offsetTop,N=i.offsetTop;j=O===N?i.previousElementSibling===S&&!w||L&&w:i.previousElementSibling===S||S.previousElementSibling===i?(r.clientY-a.top)/b>.5:N>O}else v||(j=D!==S&&!k||L&&k);var I=d(E,c,S,o,i,a,r,j);!1!==I&&(1!==I&&-1!==I||(j=1===I),ie=!0,X(p,30),t(m,g),S.contains(c)||(j&&!D?c.appendChild(S):i.parentNode.insertBefore(S,j?D:i)),C=S.parentNode,this._animate(o,S),this._animate(a,i))}}},_animate:function(e,t){var n=this.options.animation;if(n){var r=t.getBoundingClientRect();1===e.nodeType&&(e=e.getBoundingClientRect()),l(t,"transition","none"),l(t,"transform","translate3d("+(e.left-r.left)+"px,"+(e.top-r.top)+"px,0)"),t.offsetWidth,l(t,"transition","all "+n+"ms"),l(t,"transform","translate3d(0,0,0)"),clearTimeout(t.animated),t.animated=X(function(){l(t,"transition",""),l(t,"transform",""),t.animated=!1},n)}},_offUpEvents:function(){var e=this.el.ownerDocument;a(Z,"touchmove",this._onTouchMove),a(Z,"pointermove",this._onTouchMove),a(e,"mouseup",this._onDrop),a(e,"touchend",this._onDrop),a(e,"pointerup",this._onDrop),a(e,"touchcancel",this._onDrop),a(e,"pointercancel",this._onDrop),a(e,"selectstart",this)},_onDrop:function(t){var n=this.el,r=this.options;clearInterval(this._loopId),clearInterval(H.pid),clearTimeout(this._dragStartTimer),k(this._cloneId),k(this._dragStartId),a(Z,"mouseover",this),a(Z,"mousemove",this._onTouchMove),this.nativeDraggable&&(a(Z,"drop",this),a(n,"dragstart",this._onDragStart)),this._offUpEvents(),t&&(B&&(t.preventDefault(),!r.dropBubble&&t.stopPropagation()),T&&T.parentNode&&T.parentNode.removeChild(T),E!==C&&"clone"===e.active.lastPullMode||M&&M.parentNode&&M.parentNode.removeChild(M),S&&(this.nativeDraggable&&a(S,"dragend",this),f(S),S.style["will-change"]="",s(S,this.options.ghostClass,!1),s(S,this.options.chosenClass,!1),u(this,E,"unchoose",S,C,E,N),E!==C?(I=g(S,r.draggable))>=0&&(u(null,C,"add",S,C,E,N,I),u(this,E,"remove",S,C,E,N,I),u(null,C,"sort",S,C,E,N,I),u(this,E,"sort",S,C,E,N,I)):S.nextSibling!==A&&(I=g(S,r.draggable))>=0&&(u(this,E,"update",S,C,E,N,I),u(this,E,"sort",S,C,E,N,I)),e.active&&(null!=I&&-1!==I||(I=N),u(this,E,"end",S,C,E,N,I),this.save()))),this._nulling()},_nulling:function(){E=S=C=T=A=M=L=D=j=$=W=B=I=F=P=R=q=e.active=null,se.forEach(function(e){e.checked=!0}),se.length=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragover":case"dragenter":S&&(this._onDragOver(e),i(e));break;case"mouseover":this._onDrop(e);break;case"selectstart":e.preventDefault()}},toArray:function(){for(var e,t=[],r=this.el.children,i=0,o=r.length,a=this.options;i=0&&Math.floor(t)===t&&isFinite(e)}function d(e){return null==e?"":"object"==typeof e?JSON.stringify(e,null,2):String(e)}function f(e){var t=parseFloat(e);return isNaN(t)?e:t}function p(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i-1)return e.splice(n,1)}}function m(e,t){return no.call(e,t)}function g(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}function v(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n}function _(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function y(e,t){for(var n in t)e[n]=t[n];return e}function b(e){for(var t={},n=0;n0&&(s=he(s,(t||"")+"_"+o),pe(s[0])&&pe(c)&&(u[l]=D(c.text+s[0].text),s.shift()),u.push.apply(u,s)):a(s)?pe(c)?u[l]=D(c.text+s):""!==s&&u.push(D(s)):pe(s)&&pe(c)?u[l]=D(c.text+s.text):(i(e._isVList)&&r(s.tag)&&n(s.key)&&r(t)&&(s.key="__vlist"+t+"_"+o+"__"),u.push(s)));return u}function me(e,t){return(e.__esModule||jo&&"Module"===e[Symbol.toStringTag])&&(e=e.default),s(e)?t.extend(e):e}function ge(e,t,n,r,i){var o=qo();return o.asyncFactory=e,o.asyncMeta={data:t,context:n,children:r,tag:i},o}function ve(e,t,o){if(i(e.error)&&r(e.errorComp))return e.errorComp;if(r(e.resolved))return e.resolved;if(i(e.loading)&&r(e.loadingComp))return e.loadingComp;if(!r(e.contexts)){var a=e.contexts=[o],l=!0,c=function(){for(var e=0,t=a.length;eca&&ia[n].id>e.id;)n--;ia.splice(n+1,0,e)}else ia.push(e);sa||(sa=!0,oe(Pe))}}function Re(e){fa.clear(),$e(e,fa)}function $e(e,t){var n,r,i=Array.isArray(e);if((i||s(e))&&Object.isExtensible(e)){if(e.__ob__){var o=e.__ob__.dep.id;if(t.has(o))return;t.add(o)}if(i)for(n=e.length;n--;)$e(e[n],t);else for(r=Object.keys(e),n=r.length;n--;)$e(e[r[n]],t)}}function We(e,t,n){pa.get=function(){return this[t][n]},pa.set=function(e){this[t][n]=e},Object.defineProperty(e,n,pa)}function Be(e){e._watchers=[];var t=e.$options;t.props&&He(e,t.props),t.methods&&Ke(e,t.methods),t.data?Ue(e):z(e._data={},!0),t.computed&&Ye(e,t.computed),t.watch&&t.watch!==Co&&Xe(e,t.watch)}function He(e,t){var n=e.$options.propsData||{},r=e._props={},i=e.$options._propKeys=[],o=!e.$parent;Bo.shouldConvert=o;for(var a in t)!function(o){i.push(o);var a=K(o,t,n,e);N(r,o,a),o in e||We(e,"_props",o)}(a);Bo.shouldConvert=!0}function Ue(e){var t=e.$options.data;t=e._data="function"==typeof t?Ve(t,e):t||{},l(t)||(t={});for(var n=Object.keys(t),r=e.$options.props,i=(e.$options.methods,n.length);i--;){var o=n[i];r&&m(r,o)||C(o)||We(e,"_data",o)}z(t,!0)}function Ve(e,t){try{return e.call(t,t)}catch(e){return ee(e,t,"data()"),{}}}function Ye(e,t){var n=e._computedWatchers=Object.create(null),r=Lo();for(var i in t){var o=t[i],a="function"==typeof o?o:o.get;r||(n[i]=new da(e,a||x,x,ha)),i in e||Ge(e,i,o)}}function Ge(e,t,n){var r=!Lo();"function"==typeof n?(pa.get=r?Ze(t):n,pa.set=x):(pa.get=n.get?r&&!1!==n.cache?Ze(t):n.get:x,pa.set=n.set?n.set:x),Object.defineProperty(e,t,pa)}function Ze(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),Po.target&&t.depend(),t.value}}function Ke(e,t){e.$options.props;for(var n in t)e[n]=null==t[n]?x:v(t[n],e)}function Xe(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var i=0;i=0||n.indexOf(e[i])<0)&&r.push(e[i]);return r}return e}function At(e){this._init(e)}function Lt(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=_(arguments,1);return n.unshift(this),"function"==typeof e.install?e.install.apply(e,n):"function"==typeof e&&e.apply(null,n),t.push(e),this}}function Dt(e){e.mixin=function(e){return this.options=G(this.options,e),this}}function jt(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,r=n.cid,i=e._Ctor||(e._Ctor={});if(i[r])return i[r];var o=e.name||n.options.name,a=function(e){this._init(e)};return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=t++,a.options=G(n.options,e),a.super=n,a.options.props&&Ot(a),a.options.computed&&Ft(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,fo.forEach(function(e){a[e]=n[e]}),o&&(a.options.components[o]=a), -a.superOptions=n.options,a.extendOptions=e,a.sealedOptions=y({},a.options),i[r]=a,a}}function Ot(e){var t=e.options.props;for(var n in t)We(e.prototype,"_props",n)}function Ft(e){var t=e.options.computed;for(var n in t)Ge(e.prototype,n,t[n])}function Pt(e){fo.forEach(function(t){e[t]=function(e,n){return n?("component"===t&&l(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"==typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}})}function zt(e){return e&&(e.Ctor.options.name||e.tag)}function Nt(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"==typeof e?e.split(",").indexOf(t)>-1:!!c(e)&&e.test(t)}function It(e,t){var n=e.cache,r=e.keys,i=e._vnode;for(var o in n){var a=n[o];if(a){var s=zt(a.componentOptions);s&&!t(s)&&qt(n,o,r,i)}}}function qt(e,t,n,r){var i=e[t];i&&i!==r&&i.componentInstance.$destroy(),e[t]=null,h(n,t)}function Rt(e){for(var t=e.data,n=e,i=e;r(i.componentInstance);)i=i.componentInstance._vnode,i.data&&(t=$t(i.data,t));for(;r(n=n.parent);)n.data&&(t=$t(t,n.data));return Wt(t.staticClass,t.class)}function $t(e,t){return{staticClass:Bt(e.staticClass,t.staticClass),class:r(e.class)?[e.class,t.class]:t.class}}function Wt(e,t){return r(e)||r(t)?Bt(e,Ht(t)):""}function Bt(e,t){return e?t?e+" "+t:e:t||""}function Ht(e){return Array.isArray(e)?Ut(e):s(e)?Vt(e):"string"==typeof e?e:""}function Ut(e){for(var t,n="",i=0,o=e.length;i-1?Va[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Va[e]=/HTMLUnknownElement/.test(t.toString())}function Zt(e){if("string"==typeof e){var t=document.querySelector(e);return t||document.createElement("div")}return e}function Kt(e,t){var n=document.createElement(e);return"select"!==e?n:(t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)}function Xt(e,t){return document.createElementNS($a[e],t)}function Qt(e){return document.createTextNode(e)}function Jt(e){return document.createComment(e)}function en(e,t,n){e.insertBefore(t,n)}function tn(e,t){e.removeChild(t)}function nn(e,t){e.appendChild(t)}function rn(e){return e.parentNode}function on(e){return e.nextSibling}function an(e){return e.tagName}function sn(e,t){e.textContent=t}function ln(e,t,n){e.setAttribute(t,n)}function cn(e,t){var n=e.data.ref;if(n){var r=e.context,i=e.componentInstance||e.elm,o=r.$refs;t?Array.isArray(o[n])?h(o[n],i):o[n]===i&&(o[n]=void 0):e.data.refInFor?Array.isArray(o[n])?o[n].indexOf(i)<0&&o[n].push(i):o[n]=[i]:o[n]=i}}function un(e,t){return e.key===t.key&&(e.tag===t.tag&&e.isComment===t.isComment&&r(e.data)===r(t.data)&&dn(e,t)||i(e.isAsyncPlaceholder)&&e.asyncFactory===t.asyncFactory&&n(t.asyncFactory.error))}function dn(e,t){if("input"!==e.tag)return!0;var n,i=r(n=e.data)&&r(n=n.attrs)&&n.type,o=r(n=t.data)&&r(n=n.attrs)&&n.type;return i===o||Ya(i)&&Ya(o)}function fn(e,t,n){var i,o,a={};for(i=t;i<=n;++i)o=e[i].key,r(o)&&(a[o]=i);return a}function pn(e,t){(e.data.directives||t.data.directives)&&hn(e,t)}function hn(e,t){var n,r,i,o=e===Ka,a=t===Ka,s=mn(e.data.directives,e.context),l=mn(t.data.directives,t.context),c=[],u=[];for(n in l)r=s[n],i=l[n],r?(i.oldValue=r.value,vn(i,"update",t,e),i.def&&i.def.componentUpdated&&u.push(i)):(vn(i,"bind",t,e),i.def&&i.def.inserted&&c.push(i));if(c.length){var d=function(){for(var n=0;n=0&&" "===(g=e.charAt(m));m--);g&&rs.test(g)||(u=!0)}}else void 0===o?(h=i+1,o=e.slice(0,i).trim()):t();if(void 0===o?o=e.slice(0,i).trim():0!==h&&t(),a)for(i=0;i-1?{exp:e.slice(0,Ta),key:'"'+e.slice(Ta+1)+'"'}:{exp:e,key:null};for(Sa=e,Ta=Ma=Ea=0;!Pn();)Ca=Fn(),zn(Ca)?In(Ca):91===Ca&&Nn(Ca);return{exp:e.slice(0,Ma),key:e.slice(Ma+1,Ea)}}function Fn(){return Sa.charCodeAt(++Ta)}function Pn(){return Ta>=ka}function zn(e){return 34===e||39===e}function Nn(e){var t=1;for(Ma=Ta;!Pn();)if(e=Fn(),zn(e))In(e);else if(91===e&&t++,93===e&&t--,0===t){Ea=Ta;break}}function In(e){for(var t=e;!Pn()&&(e=Fn())!==t;);}function qn(e,t,n){Aa=n;var r=t.value,i=t.modifiers,o=e.tag,a=e.attrsMap.type;if(e.component)return Dn(e,r,i),!1;if("select"===o)Wn(e,r,i);else if("input"===o&&"checkbox"===a)Rn(e,r,i);else if("input"===o&&"radio"===a)$n(e,r,i);else if("input"===o||"textarea"===o)Bn(e,r,i);else if(!ho.isReservedTag(o))return Dn(e,r,i),!1;return!0}function Rn(e,t,n){var r=n&&n.number,i=An(e,"value")||"null",o=An(e,"true-value")||"true",a=An(e,"false-value")||"false";Cn(e,"checked","Array.isArray("+t+")?_i("+t+","+i+")>-1"+("true"===o?":("+t+")":":_q("+t+","+o+")")),En(e,"change","var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+a+");if(Array.isArray($$a)){var $$v="+(r?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+t+"=$$a.concat([$$v]))}else{$$i>-1&&("+t+"=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{"+jn(t,"$$c")+"}",null,!0)}function $n(e,t,n){var r=n&&n.number,i=An(e,"value")||"null";i=r?"_n("+i+")":i,Cn(e,"checked","_q("+t+","+i+")"),En(e,"change",jn(t,i),null,!0)}function Wn(e,t,n){var r=n&&n.number,i='Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(r?"_n(val)":"val")+"})",o="var $$selectedVal = "+i+";";o=o+" "+jn(t,"$event.target.multiple ? $$selectedVal : $$selectedVal[0]"),En(e,"change",o,null,!0)}function Bn(e,t,n){var r=e.attrsMap.type,i=n||{},o=i.lazy,a=i.number,s=i.trim,l=!o&&"range"!==r,c=o?"change":"range"===r?is:"input",u="$event.target.value";s&&(u="$event.target.value.trim()"),a&&(u="_n("+u+")");var d=jn(t,u);l&&(d="if($event.target.composing)return;"+d),Cn(e,"value","("+t+")"),En(e,c,d,null,!0),(s||a)&&En(e,"blur","$forceUpdate()")}function Hn(e){if(r(e[is])){var t=bo?"change":"input";e[t]=[].concat(e[is],e[t]||[]),delete e[is]}r(e[os])&&(e.change=[].concat(e[os],e.change||[]),delete e[os])}function Un(e,t,n){var r=La;return function i(){null!==e.apply(null,arguments)&&Yn(t,i,n,r)}}function Vn(e,t,n,r,i){t=ie(t),n&&(t=Un(t,e,r)),La.addEventListener(e,t,To?{capture:r,passive:i}:r)}function Yn(e,t,n,r){(r||La).removeEventListener(e,t._withTask||t,n)}function Gn(e,t){if(!n(e.data.on)||!n(t.data.on)){var r=t.data.on||{},i=e.data.on||{};La=t.elm,Hn(r),se(r,i,Vn,Yn,t.context),La=void 0}}function Zn(e,t){if(!n(e.data.domProps)||!n(t.data.domProps)){var i,o,a=t.elm,s=e.data.domProps||{},l=t.data.domProps||{};r(l.__ob__)&&(l=t.data.domProps=y({},l));for(i in s)n(l[i])&&(a[i]="");for(i in l){if(o=l[i],"textContent"===i||"innerHTML"===i){if(t.children&&(t.children.length=0),o===s[i])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===i){a._value=o;var c=n(o)?"":String(o);Kn(a,c)&&(a.value=c)}else a[i]=o}}}function Kn(e,t){return!e.composing&&("OPTION"===e.tagName||Xn(e,t)||Qn(e,t))}function Xn(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}function Qn(e,t){var n=e.value,i=e._vModifiers;return r(i)&&i.number?f(n)!==f(t):r(i)&&i.trim?n.trim()!==t.trim():n!==t}function Jn(e){var t=er(e.style);return e.staticStyle?y(e.staticStyle,t):t}function er(e){return Array.isArray(e)?b(e):"string"==typeof e?ls(e):e}function tr(e,t){var n,r={};if(t)for(var i=e;i.componentInstance;)i=i.componentInstance._vnode,i.data&&(n=Jn(i.data))&&y(r,n);(n=Jn(e.data))&&y(r,n);for(var o=e;o=o.parent;)o.data&&(n=Jn(o.data))&&y(r,n);return r}function nr(e,t){var i=t.data,o=e.data;if(!(n(i.staticStyle)&&n(i.style)&&n(o.staticStyle)&&n(o.style))){var a,s,l=t.elm,c=o.staticStyle,u=o.normalizedStyle||o.style||{},d=c||u,f=er(t.data.style)||{};t.data.normalizedStyle=r(f.__ob__)?y({},f):f;var p=tr(t,!0);for(s in d)n(p[s])&&ds(l,s,"");for(s in p)(a=p[s])!==d[s]&&ds(l,s,null==a?"":a)}}function rr(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(/\s+/).forEach(function(t){return e.classList.add(t)}):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function ir(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(/\s+/).forEach(function(t){return e.classList.remove(t)}):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");n=n.trim(),n?e.setAttribute("class",n):e.removeAttribute("class")}}function or(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&y(t,ms(e.name||"v")),y(t,e),t}return"string"==typeof e?ms(e):void 0}}function ar(e){ks(function(){ks(e)})}function sr(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),rr(e,t))}function lr(e,t){e._transitionClasses&&h(e._transitionClasses,t),ir(e,t)}function cr(e,t,n){var r=ur(e,t),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===vs?bs:ws,l=0,c=function(){e.removeEventListener(s,u),n()},u=function(t){t.target===e&&++l>=a&&c()};setTimeout(function(){l0&&(n=vs,u=a,d=o.length):t===_s?c>0&&(n=_s,u=c,d=l.length):(u=Math.max(a,c),n=u>0?a>c?vs:_s:null,d=n?n===vs?o.length:l.length:0),{type:n,timeout:u,propCount:d,hasTransform:n===vs&&Ss.test(r[ys+"Property"])}}function dr(e,t){for(;e.length1}function vr(e,t){!0!==t.data.show&&pr(t)}function _r(e,t,n){yr(e,t,n),(bo||wo)&&setTimeout(function(){yr(e,t,n)},0)}function yr(e,t,n){var r=t.value,i=e.multiple;if(!i||Array.isArray(r)){for(var o,a,s=0,l=e.options.length;s-1,a.selected!==o&&(a.selected=o);else if(w(xr(a),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));i||(e.selectedIndex=-1)}}function br(e,t){return t.every(function(t){return!w(t,e)})}function xr(e){return"_value"in e?e._value:e.value}function wr(e){e.target.composing=!0}function kr(e){e.target.composing&&(e.target.composing=!1,Sr(e.target,"input"))}function Sr(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function Cr(e){return!e.componentInstance||e.data&&e.data.transition?e:Cr(e.componentInstance._vnode)}function Tr(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?Tr(ye(t.children)):e}function Mr(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var i=n._parentListeners;for(var o in i)t[io(o)]=i[o];return t}function Er(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}function Ar(e){for(;e=e.parent;)if(e.data.transition)return!0}function Lr(e,t){return t.key===e.key&&t.tag===e.tag}function Dr(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function jr(e){e.data.newPos=e.elm.getBoundingClientRect()}function Or(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,i=t.top-n.top;if(r||i){e.data.moved=!0;var o=e.elm.style;o.transform=o.WebkitTransform="translate("+r+"px,"+i+"px)",o.transitionDuration="0s"}}function Fr(e,t){var n=t?Rs(t):Is;if(n.test(e)){for(var r,i,o=[],a=n.lastIndex=0;r=n.exec(e);){i=r.index,i>a&&o.push(JSON.stringify(e.slice(a,i)));var s=xn(r[1].trim());o.push("_s("+s+")"),a=i+r[0].length}return a=0&&a[i].lowerCasedTag!==s;i--);else i=0;if(i>=0){for(var l=a.length-1;l>=i;l--)t.end&&t.end(a[l].tag,n,r);a.length=i,o=i&&a[i-1].tag}else"br"===s?t.start&&t.start(e,[],!0,n,r):"p"===s&&(t.start&&t.start(e,[],!1,n,r),t.end&&t.end(e,n,r))}for(var i,o,a=[],s=t.expectHTML,l=t.isUnaryTag||lo,c=t.canBeLeftOpenTag||lo,u=0;e;){if(i=e,o&&hl(o)){var d=0,f=o.toLowerCase(),p=ml[f]||(ml[f]=new RegExp("([\\s\\S]*?)(]*>)","i")),h=e.replace(p,function(e,n,r){return d=r.length,hl(f)||"noscript"===f||(n=n.replace(//g,"$1").replace(//g,"$1")),bl(f,n)&&(n=n.slice(1)),t.chars&&t.chars(n),""});u+=e.length-h.length,e=h,r(f,u-d,u)}else{var m=e.indexOf("<");if(0===m){if(el.test(e)){var g=e.indexOf("--\x3e");if(g>=0){t.shouldKeepComment&&t.comment(e.substring(4,g)),n(g+3);continue}}if(tl.test(e)){var v=e.indexOf("]>");if(v>=0){n(v+2);continue}}var _=e.match(Js);if(_){n(_[0].length);continue}var y=e.match(Qs);if(y){var b=u;n(y[0].length),r(y[1],b,u);continue}var x=function(){var t=e.match(Ks);if(t){var r={tagName:t[1],attrs:[],start:u};n(t[0].length);for(var i,o;!(i=e.match(Xs))&&(o=e.match(Ys));)n(o[0].length),r.attrs.push(o);if(i)return r.unarySlash=i[1],n(i[0].length),r.end=u,r}}();if(x){!function(e){var n=e.tagName,i=e.unarySlash;s&&("p"===o&&Vs(n)&&r(o),c(n)&&o===n&&r(n));for(var u=l(n)||!!i,d=e.attrs.length,f=new Array(d),p=0;p=0){for(k=e.slice(m);!(Qs.test(k)||Ks.test(k)||el.test(k)||tl.test(k)||(S=k.indexOf("<",1))<0);)m+=S,k=e.slice(m);w=e.substring(0,m),n(m)}m<0&&(w=e,e=""),t.chars&&w&&t.chars(w)}if(e===i){t.chars&&t.chars(e);break}}r()}function $r(e,t,n){return{type:1,tag:e,attrsList:t,attrsMap:oi(t),parent:n,children:[]}}function Wr(e,t){function n(e){e.pre&&(s=!1),ll(e.tag)&&(l=!1)}rl=t.warn||kn,ll=t.isPreTag||lo,cl=t.mustUseProp||lo,ul=t.getTagNamespace||lo,ol=Sn(t.modules,"transformNode"),al=Sn(t.modules,"preTransformNode"),sl=Sn(t.modules,"postTransformNode"),il=t.delimiters;var r,i,o=[],a=!1!==t.preserveWhitespace,s=!1,l=!1;return Rr(e,{warn:rl,expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,canBeLeftOpenTag:t.canBeLeftOpenTag,shouldDecodeNewlines:t.shouldDecodeNewlines,shouldDecodeNewlinesForHref:t.shouldDecodeNewlinesForHref,shouldKeepComment:t.comments,start:function(e,a,c){var u=i&&i.ns||ul(e);bo&&"svg"===u&&(a=li(a));var d=$r(e,a,i);u&&(d.ns=u),si(d)&&!Lo()&&(d.forbidden=!0);for(var f=0;f':'
    ',pl.innerHTML.indexOf(" ")>0}function Qi(e){if(e.outerHTML)return e.outerHTML;var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}var Ji=Object.prototype.toString,eo=p("slot,component",!0),to=p("key,ref,slot,slot-scope,is"),no=Object.prototype.hasOwnProperty,ro=/-(\w)/g,io=g(function(e){return e.replace(ro,function(e,t){return t?t.toUpperCase():""})}),oo=g(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),ao=/\B([A-Z])/g,so=g(function(e){return e.replace(ao,"-$1").toLowerCase()}),lo=function(e,t,n){return!1},co=function(e){return e},uo="data-server-rendered",fo=["component","directive","filter"],po=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured"],ho={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:lo,isReservedAttr:lo,isUnknownElement:lo,getTagNamespace:x,parsePlatformTagName:co,mustUseProp:lo,_lifecycleHooks:po},mo=Object.freeze({}),go=/[^\w.$]/,vo="__proto__"in{},_o="undefined"!=typeof window,yo=_o&&window.navigator.userAgent.toLowerCase(),bo=yo&&/msie|trident/.test(yo),xo=yo&&yo.indexOf("msie 9.0")>0,wo=yo&&yo.indexOf("edge/")>0,ko=yo&&yo.indexOf("android")>0,So=yo&&/iphone|ipad|ipod|ios/.test(yo),Co=(yo&&/chrome\/\d+/.test(yo),{}.watch),To=!1;if(_o)try{var Mo={};Object.defineProperty(Mo,"passive",{get:function(){To=!0}}),window.addEventListener("test-passive",null,Mo)}catch(e){}var Eo,Ao,Lo=function(){return void 0===Eo&&(Eo=!_o&&void 0!==e&&"server"===e.process.env.VUE_ENV),Eo},Do=_o&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,jo="undefined"!=typeof Symbol&&E(Symbol)&&"undefined"!=typeof Reflect&&E(Reflect.ownKeys);Ao="undefined"!=typeof Set&&E(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var Oo=x,Fo=0,Po=function(){this.id=Fo++,this.subs=[]};Po.prototype.addSub=function(e){this.subs.push(e)},Po.prototype.removeSub=function(e){h(this.subs,e)},Po.prototype.depend=function(){Po.target&&Po.target.addDep(this)},Po.prototype.notify=function(){for(var e=this.subs.slice(),t=0,n=e.length;t1?_(n):n;for(var r=_(arguments,1),i=0,o=n.length;iparseInt(this.max)&&qt(i,o[0],o,this._vnode)),e.data.keepAlive=!0}return e}},wa={KeepAlive:xa};!function(e){var t={};t.get=function(){return ho},Object.defineProperty(e,"config",t),e.util={warn:Oo,extend:y,mergeOptions:G,defineReactive:N},e.set=I,e.delete=q,e.nextTick=oe,e.options=Object.create(null),fo.forEach(function(t){e.options[t+"s"]=Object.create(null)}),e.options._base=e,y(e.options.components,wa),Lt(e),Dt(e),jt(e),Pt(e)}(At),Object.defineProperty(At.prototype,"$isServer",{get:Lo}),Object.defineProperty(At.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),At.version="2.5.3";var ka,Sa,Ca,Ta,Ma,Ea,Aa,La,Da,ja=p("style,class"),Oa=p("input,textarea,option,select,progress"),Fa=function(e,t,n){return"value"===n&&Oa(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},Pa=p("contenteditable,draggable,spellcheck"),za=p("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Na="http://www.w3.org/1999/xlink",Ia=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},qa=function(e){return Ia(e)?e.slice(6,e.length):""},Ra=function(e){return null==e||!1===e},$a={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Wa=p("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),Ba=p("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Ha=function(e){return"pre"===e},Ua=function(e){return Wa(e)||Ba(e)},Va=Object.create(null),Ya=p("text,number,password,search,email,tel,url"),Ga=Object.freeze({createElement:Kt,createElementNS:Xt,createTextNode:Qt,createComment:Jt,insertBefore:en,removeChild:tn,appendChild:nn,parentNode:rn,nextSibling:on,tagName:an,setTextContent:sn,setAttribute:ln}),Za={create:function(e,t){cn(t)},update:function(e,t){e.data.ref!==t.data.ref&&(cn(e,!0),cn(t))},destroy:function(e){cn(e,!0)}},Ka=new No("",{},[]),Xa=["create","activate","update","remove","destroy"],Qa={create:pn,update:pn,destroy:function(e){pn(e,Ka)}},Ja=Object.create(null),es=[Za,Qa],ts={create:_n,update:_n},ns={create:bn,update:bn},rs=/[\w).+\-_$\]]/,is="__r",os="__c",as={create:Gn,update:Gn},ss={create:Zn,update:Zn},ls=g(function(e){var t={},n=/;(?![^(]*\))/g,r=/:(.+)/;return e.split(n).forEach(function(e){if(e){var n=e.split(r);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}),cs=/^--/,us=/\s*!important$/,ds=function(e,t,n){if(cs.test(t))e.style.setProperty(t,n);else if(us.test(n))e.style.setProperty(t,n.replace(us,""),"important");else{var r=ps(t);if(Array.isArray(n))for(var i=0,o=n.length;ih?(d=n(i[v+1])?null:i[v+1].elm,_(e,d,i,p,v,o)):p>v&&b(e,t,f,h)}function k(e,t,n,i){for(var o=n;o\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Gs="[a-zA-Z_][\\w\\-\\.]*",Zs="((?:"+Gs+"\\:)?"+Gs+")",Ks=new RegExp("^<"+Zs),Xs=/^\s*(\/?)>/,Qs=new RegExp("^<\\/"+Zs+"[^>]*>"),Js=/^]+>/i,el=/^