diff --git a/package.json b/package.json index c440e37fa..c449b3e8f 100644 --- a/package.json +++ b/package.json @@ -12,19 +12,19 @@ "package-update": "ncu -u -x pnotify,tinymce" }, "devDependencies": { - "axios": "^1.3.4", + "axios": "^1.3.6", "cross-env": "^7.0.3", "jquery": "3.6.4", "laravel-mix": "^6.0.49", "lodash": "^4.17.21", "popper.js": "^1.16.1", - "prettier": "^2.8.6", + "prettier": "^2.8.8", "resolve-url-loader": "^5.0.0", "vue": "^3.2.47" }, "dependencies": { "@fancyapps/fancybox": "^3.5.7", - "@fortawesome/fontawesome-free": "^6.3.0", + "@fortawesome/fontawesome-free": "^6.4.0", "animate.css": "^4.1.1", "autosize": "^6.0.1", "bootstrap": "^5.2.3", @@ -39,7 +39,7 @@ "jquery-migrate": "3.4.1", "nonblockjs": "^1.0.8", "normalize.css": "^8.0.1", - "npm-check-updates": "^16.7.13", + "npm-check-updates": "^16.10.9", "pace-js": "^1.2.4", "pnotify": "4.0.1", "tinymce": "5.10.7" diff --git a/public/assets/css/all-css.css b/public/assets/css/all-css.css index d4bb02adf..1515ddfe2 100644 --- a/public/assets/css/all-css.css +++ b/public/assets/css/all-css.css @@ -19,10 +19,10 @@ * * Licensed under the Apache License v2.0 (http://www.apache.org/licenses/LICENSE-2.0) */.datepicker{padding:4px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;direction:ltr}.datepicker-inline{width:220px}.datepicker-rtl{direction:rtl}.datepicker-rtl.dropdown-menu{left:auto}.datepicker-rtl table tr td span{float:right}.datepicker-dropdown{top:0;left:0}.datepicker-dropdown:before{content:'';display:inline-block;border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid #999;border-top:0;border-bottom-color:rgba(0,0,0,.2);position:absolute}.datepicker-dropdown:after{content:'';display:inline-block;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #fff;border-top:0;position:absolute}.datepicker-dropdown.datepicker-orient-left:before{left:6px}.datepicker-dropdown.datepicker-orient-left:after{left:7px}.datepicker-dropdown.datepicker-orient-right:before{right:6px}.datepicker-dropdown.datepicker-orient-right:after{right:7px}.datepicker-dropdown.datepicker-orient-bottom:before{top:-7px}.datepicker-dropdown.datepicker-orient-bottom:after{top:-6px}.datepicker-dropdown.datepicker-orient-top:before{bottom:-7px;border-bottom:0;border-top:7px solid #999}.datepicker-dropdown.datepicker-orient-top:after{bottom:-6px;border-bottom:0;border-top:6px solid #fff}.datepicker table{margin:0;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.datepicker td,.datepicker th{text-align:center;width:20px;height:20px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;border:none}.table-striped .datepicker table tr td,.table-striped .datepicker table tr th{background-color:transparent}.datepicker table tr td.day.focused,.datepicker table tr td.day:hover{background:#eee;cursor:pointer}.datepicker table tr td.new,.datepicker table tr td.old{color:#999}.datepicker table tr td.disabled,.datepicker table tr td.disabled:hover{background:0 0;color:#999;cursor:default}.datepicker table tr td.highlighted{background:#d9edf7;border-radius:0}.datepicker table tr td.today,.datepicker table tr td.today.disabled,.datepicker table tr td.today.disabled:hover,.datepicker table tr td.today:hover{background-color:#fde19a;background-image:-moz-linear-gradient(to bottom,#fdd49a,#fdf59a);background-image:-ms-linear-gradient(to bottom,#fdd49a,#fdf59a);background-image:-webkit-gradient(linear,0 0,0 100%,from(#fdd49a),to(#fdf59a));background-image:-webkit-linear-gradient(to bottom,#fdd49a,#fdf59a);background-image:-o-linear-gradient(to bottom,#fdd49a,#fdf59a);background-image:linear-gradient(to bottom,#fdd49a,#fdf59a);background-repeat:repeat-x;border-color:#fdf59a #fdf59a #fbed50;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);color:#000}.datepicker table tr td.today.active,.datepicker table tr td.today.disabled,.datepicker table tr td.today.disabled.active,.datepicker table tr td.today.disabled.disabled,.datepicker table tr td.today.disabled:active,.datepicker table tr td.today.disabled:hover,.datepicker table tr td.today.disabled:hover.active,.datepicker table tr td.today.disabled:hover.disabled,.datepicker table tr td.today.disabled:hover:active,.datepicker table tr td.today.disabled:hover:hover,.datepicker table tr td.today.disabled:hover[disabled],.datepicker table tr td.today.disabled[disabled],.datepicker table tr td.today:active,.datepicker table tr td.today:hover,.datepicker table tr td.today:hover.active,.datepicker table tr td.today:hover.disabled,.datepicker table tr td.today:hover:active,.datepicker table tr td.today:hover:hover,.datepicker table tr td.today:hover[disabled],.datepicker table tr td.today[disabled]{background-color:#fdf59a}.datepicker table tr td.today:hover:hover{color:#000}.datepicker table tr td.today.active:hover{color:#fff}.datepicker table tr td.range,.datepicker table tr td.range.disabled,.datepicker table tr td.range.disabled:hover,.datepicker table tr td.range:hover{background:#eee;-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.datepicker table tr td.range.today,.datepicker table tr td.range.today.disabled,.datepicker table tr td.range.today.disabled:hover,.datepicker table tr td.range.today:hover{background-color:#f3d17a;background-image:-moz-linear-gradient(to bottom,#f3c17a,#f3e97a);background-image:-ms-linear-gradient(to bottom,#f3c17a,#f3e97a);background-image:-webkit-gradient(linear,0 0,0 100%,from(#f3c17a),to(#f3e97a));background-image:-webkit-linear-gradient(to bottom,#f3c17a,#f3e97a);background-image:-o-linear-gradient(to bottom,#f3c17a,#f3e97a);background-image:linear-gradient(to bottom,#f3c17a,#f3e97a);background-repeat:repeat-x;border-color:#f3e97a #f3e97a #edde34;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.datepicker table tr td.range.today.active,.datepicker table tr td.range.today.disabled,.datepicker table tr td.range.today.disabled.active,.datepicker table tr td.range.today.disabled.disabled,.datepicker table tr td.range.today.disabled:active,.datepicker table tr td.range.today.disabled:hover,.datepicker table tr td.range.today.disabled:hover.active,.datepicker table tr td.range.today.disabled:hover.disabled,.datepicker table tr td.range.today.disabled:hover:active,.datepicker table tr td.range.today.disabled:hover:hover,.datepicker table tr td.range.today.disabled:hover[disabled],.datepicker table tr td.range.today.disabled[disabled],.datepicker table tr td.range.today:active,.datepicker table tr td.range.today:hover,.datepicker table tr td.range.today:hover.active,.datepicker table tr td.range.today:hover.disabled,.datepicker table tr td.range.today:hover:active,.datepicker table tr td.range.today:hover:hover,.datepicker table tr td.range.today:hover[disabled],.datepicker table tr td.range.today[disabled]{background-color:#f3e97a}.datepicker table tr td.selected,.datepicker table tr td.selected.disabled,.datepicker table tr td.selected.disabled:hover,.datepicker table tr td.selected:hover{background-color:#9e9e9e;background-image:-moz-linear-gradient(to bottom,#b3b3b3,grey);background-image:-ms-linear-gradient(to bottom,#b3b3b3,grey);background-image:-webkit-gradient(linear,0 0,0 100%,from(#b3b3b3),to(grey));background-image:-webkit-linear-gradient(to bottom,#b3b3b3,grey);background-image:-o-linear-gradient(to bottom,#b3b3b3,grey);background-image:linear-gradient(to bottom,#b3b3b3,grey);background-repeat:repeat-x;border-color:grey grey #595959;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25)}.datepicker table tr td.selected.active,.datepicker table tr td.selected.disabled,.datepicker table tr td.selected.disabled.active,.datepicker table tr td.selected.disabled.disabled,.datepicker table tr td.selected.disabled:active,.datepicker table tr td.selected.disabled:hover,.datepicker table tr td.selected.disabled:hover.active,.datepicker table tr td.selected.disabled:hover.disabled,.datepicker table tr td.selected.disabled:hover:active,.datepicker table tr td.selected.disabled:hover:hover,.datepicker table tr td.selected.disabled:hover[disabled],.datepicker table tr td.selected.disabled[disabled],.datepicker table tr td.selected:active,.datepicker table tr td.selected:hover,.datepicker table tr td.selected:hover.active,.datepicker table tr td.selected:hover.disabled,.datepicker table tr td.selected:hover:active,.datepicker table tr td.selected:hover:hover,.datepicker table tr td.selected:hover[disabled],.datepicker table tr td.selected[disabled]{background-color:grey}.datepicker table tr td.active,.datepicker table tr td.active.disabled,.datepicker table tr td.active.disabled:hover,.datepicker table tr td.active:hover{background-color:#006dcc;background-image:-moz-linear-gradient(to bottom,#08c,#04c);background-image:-ms-linear-gradient(to bottom,#08c,#04c);background-image:-webkit-gradient(linear,0 0,0 100%,from(#08c),to(#04c));background-image:-webkit-linear-gradient(to bottom,#08c,#04c);background-image:-o-linear-gradient(to bottom,#08c,#04c);background-image:linear-gradient(to bottom,#08c,#04c);background-repeat:repeat-x;border-color:#04c #04c #002a80;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25)}.datepicker table tr td.active.active,.datepicker table tr td.active.disabled,.datepicker table tr td.active.disabled.active,.datepicker table tr td.active.disabled.disabled,.datepicker table tr td.active.disabled:active,.datepicker table tr td.active.disabled:hover,.datepicker table tr td.active.disabled:hover.active,.datepicker table tr td.active.disabled:hover.disabled,.datepicker table tr td.active.disabled:hover:active,.datepicker table tr td.active.disabled:hover:hover,.datepicker table tr td.active.disabled:hover[disabled],.datepicker table tr td.active.disabled[disabled],.datepicker table tr td.active:active,.datepicker table tr td.active:hover,.datepicker table tr td.active:hover.active,.datepicker table tr td.active:hover.disabled,.datepicker table tr td.active:hover:active,.datepicker table tr td.active:hover:hover,.datepicker table tr td.active:hover[disabled],.datepicker table tr td.active[disabled]{background-color:#04c}.datepicker table tr td span{display:block;width:23%;height:54px;line-height:54px;float:left;margin:1%;cursor:pointer;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.datepicker table tr td span.focused,.datepicker table tr td span:hover{background:#eee}.datepicker table tr td span.disabled,.datepicker table tr td span.disabled:hover{background:0 0;color:#999;cursor:default}.datepicker table tr td span.active,.datepicker table tr td span.active.disabled,.datepicker table tr td span.active.disabled:hover,.datepicker table tr td span.active:hover{background-color:#006dcc;background-image:-moz-linear-gradient(to bottom,#08c,#04c);background-image:-ms-linear-gradient(to bottom,#08c,#04c);background-image:-webkit-gradient(linear,0 0,0 100%,from(#08c),to(#04c));background-image:-webkit-linear-gradient(to bottom,#08c,#04c);background-image:-o-linear-gradient(to bottom,#08c,#04c);background-image:linear-gradient(to bottom,#08c,#04c);background-repeat:repeat-x;border-color:#04c #04c #002a80;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,.25)}.datepicker table tr td span.active.active,.datepicker table tr td span.active.disabled,.datepicker table tr td span.active.disabled.active,.datepicker table tr td span.active.disabled.disabled,.datepicker table tr td span.active.disabled:active,.datepicker table tr td span.active.disabled:hover,.datepicker table tr td span.active.disabled:hover.active,.datepicker table tr td span.active.disabled:hover.disabled,.datepicker table tr td span.active.disabled:hover:active,.datepicker table tr td span.active.disabled:hover:hover,.datepicker table tr td span.active.disabled:hover[disabled],.datepicker table tr td span.active.disabled[disabled],.datepicker table tr td span.active:active,.datepicker table tr td span.active:hover,.datepicker table tr td span.active:hover.active,.datepicker table tr td span.active:hover.disabled,.datepicker table tr td span.active:hover:active,.datepicker table tr td span.active:hover:hover,.datepicker table tr td span.active:hover[disabled],.datepicker table tr td span.active[disabled]{background-color:#04c}.datepicker table tr td span.new,.datepicker table tr td span.old{color:#999}.datepicker .datepicker-switch{width:145px}.datepicker .datepicker-switch,.datepicker .next,.datepicker .prev,.datepicker tfoot tr th{cursor:pointer}.datepicker .datepicker-switch:hover,.datepicker .next:hover,.datepicker .prev:hover,.datepicker tfoot tr th:hover{background:#eee}.datepicker .next.disabled,.datepicker .prev.disabled{visibility:hidden}.datepicker .cw{font-size:10px;width:12px;padding:0 2px 0 5px;vertical-align:middle}.input-append.date .add-on,.input-prepend.date .add-on{cursor:pointer}.input-append.date .add-on i,.input-prepend.date .add-on i{margin-top:3px}.input-daterange input{text-align:center}.input-daterange input:first-child{-webkit-border-radius:3px 0 0 3px;-moz-border-radius:3px 0 0 3px;border-radius:3px 0 0 3px}.input-daterange input:last-child{-webkit-border-radius:0 3px 3px 0;-moz-border-radius:0 3px 3px 0;border-radius:0 3px 3px 0}.input-daterange .add-on{display:inline-block;width:auto;min-width:16px;height:20px;padding:4px 5px;font-weight:400;line-height:20px;text-align:center;text-shadow:0 1px 0 #fff;vertical-align:middle;background-color:#eee;border:1px solid #ccc;margin-left:-5px;margin-right:-5px}.datepicker.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;float:left;display:none;min-width:160px;list-style:none;background-color:#fff;border:1px solid #ccc;border:1px solid rgba(0,0,0,.2);-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,.2);-moz-box-shadow:0 5px 10px rgba(0,0,0,.2);box-shadow:0 5px 10px rgba(0,0,0,.2);-webkit-background-clip:padding-box;-moz-background-clip:padding;background-clip:padding-box;color:#333;font-size:13px;line-height:20px}.datepicker.datepicker-inline td,.datepicker.datepicker-inline th,.datepicker.dropdown-menu td,.datepicker.dropdown-menu th{padding:4px 5px}/*! bootstrap-progressbar v0.9.0 | Copyright (c) 2012-2015 Stephan Groß | MIT license | http://www.minddust.com */@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.progress{overflow:hidden;height:20px;margin-bottom:20px;background-color:#f5f5f5;border-radius:4px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.1)}.progress-bar{float:left;width:0;height:100%;font-size:12px;line-height:20px;color:#fff;text-align:center;background-color:#337ab7;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);-webkit-transition:width .6s ease;-o-transition:width .6s ease;transition:width .6s ease}.progress-bar-striped,.progress-striped .progress-bar{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-size:40px 40px}.progress-bar.active,.progress.active .progress-bar{-webkit-animation:progress-bar-stripes 2s linear infinite;-o-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.progress-bar-success{background-color:#5cb85c}.progress-striped .progress-bar-success{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-info{background-color:#5bc0de}.progress-striped .progress-bar-info{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-warning{background-color:#f0ad4e}.progress-striped .progress-bar-warning{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-danger{background-color:#d9534f}.progress-striped .progress-bar-danger{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress{position:relative}.progress .progress-bar{position:absolute;overflow:hidden;line-height:20px}.progress .progressbar-back-text{position:absolute;width:100%;height:100%;font-size:12px;line-height:20px;text-align:center}.progress .progressbar-front-text{display:block;width:100%;font-size:12px;line-height:20px;text-align:center}.progress.right .progress-bar{right:0}.progress.right .progressbar-front-text{position:absolute;right:0}.progress.vertical{width:20px;height:100%;float:left;margin-right:20px}.progress.vertical.bottom{position:relative}.progress.vertical.bottom .progressbar-front-text{position:absolute;bottom:0}.progress.vertical .progress-bar{width:100%;height:0;-webkit-transition:height .6s ease;-o-transition:height .6s ease;transition:height .6s ease}.progress.vertical.bottom .progress-bar{position:absolute;bottom:0}/*! - * Font Awesome Free 6.3.0 by @fontawesome - https://fontawesome.com + * Font Awesome Free 6.4.0 by @fontawesome - https://fontawesome.com * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) * Copyright 2023 Fonticons, Inc. - */:host,:root{--fa-font-solid:normal 900 1em/1 "Font Awesome 6 Solid";--fa-font-regular:normal 400 1em/1 "Font Awesome 6 Regular";--fa-font-light:normal 300 1em/1 "Font Awesome 6 Light";--fa-font-thin:normal 100 1em/1 "Font Awesome 6 Thin";--fa-font-duotone:normal 900 1em/1 "Font Awesome 6 Duotone";--fa-font-sharp-solid:normal 900 1em/1 "Font Awesome 6 Sharp";--fa-font-sharp-regular:normal 400 1em/1 "Font Awesome 6 Sharp";--fa-font-brands:normal 400 1em/1 "Font Awesome 6 Brands"}svg:not(:host).svg-inline--fa,svg:not(:root).svg-inline--fa{overflow:visible;box-sizing:content-box}.svg-inline--fa{display:var(--fa-display,inline-block);height:1em;overflow:visible;vertical-align:-.125em}.svg-inline--fa.fa-2xs{vertical-align:.1em}.svg-inline--fa.fa-xs{vertical-align:0}.svg-inline--fa.fa-sm{vertical-align:-.07143em}.svg-inline--fa.fa-lg{vertical-align:-.2em}.svg-inline--fa.fa-xl{vertical-align:-.25em}.svg-inline--fa.fa-2xl{vertical-align:-.3125em}.svg-inline--fa.fa-pull-left{margin-right:var(--fa-pull-margin,.3em);width:auto}.svg-inline--fa.fa-pull-right{margin-left:var(--fa-pull-margin,.3em);width:auto}.svg-inline--fa.fa-li{width:var(--fa-li-width,2em);top:.25em}.svg-inline--fa.fa-fw{width:var(--fa-fw-width,1.25em)}.fa-layers svg.svg-inline--fa{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0}.fa-layers-counter,.fa-layers-text{display:inline-block;position:absolute;text-align:center}.fa-layers{display:inline-block;height:1em;position:relative;text-align:center;vertical-align:-.125em;width:1em}.fa-layers svg.svg-inline--fa{-webkit-transform-origin:center center;transform-origin:center center}.fa-layers-text{left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);-webkit-transform-origin:center center;transform-origin:center center}.fa-layers-counter{background-color:var(--fa-counter-background-color,#ff253a);border-radius:var(--fa-counter-border-radius,1em);box-sizing:border-box;color:var(--fa-inverse,#fff);line-height:var(--fa-counter-line-height,1);max-width:var(--fa-counter-max-width,5em);min-width:var(--fa-counter-min-width,1.5em);overflow:hidden;padding:var(--fa-counter-padding,.25em .5em);right:var(--fa-right,0);text-overflow:ellipsis;top:var(--fa-top,0);-webkit-transform:scale(var(--fa-counter-scale,.25));transform:scale(var(--fa-counter-scale,.25));-webkit-transform-origin:top right;transform-origin:top right}.fa-layers-bottom-right{bottom:var(--fa-bottom,0);right:var(--fa-right,0);top:auto;-webkit-transform:scale(var(--fa-layers-scale,.25));transform:scale(var(--fa-layers-scale,.25));-webkit-transform-origin:bottom right;transform-origin:bottom right}.fa-layers-bottom-left{bottom:var(--fa-bottom,0);left:var(--fa-left,0);right:auto;top:auto;-webkit-transform:scale(var(--fa-layers-scale,.25));transform:scale(var(--fa-layers-scale,.25));-webkit-transform-origin:bottom left;transform-origin:bottom left}.fa-layers-top-right{top:var(--fa-top,0);right:var(--fa-right,0);-webkit-transform:scale(var(--fa-layers-scale,.25));transform:scale(var(--fa-layers-scale,.25));-webkit-transform-origin:top right;transform-origin:top right}.fa-layers-top-left{left:var(--fa-left,0);right:auto;top:var(--fa-top,0);-webkit-transform:scale(var(--fa-layers-scale,.25));transform:scale(var(--fa-layers-scale,.25));-webkit-transform-origin:top left;transform-origin:top left}.fa-1x{font-size:1em}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-6x{font-size:6em}.fa-7x{font-size:7em}.fa-8x{font-size:8em}.fa-9x{font-size:9em}.fa-10x{font-size:10em}.fa-2xs{font-size:.625em;line-height:.1em;vertical-align:.225em}.fa-xs{font-size:.75em;line-height:.08333em;vertical-align:.125em}.fa-sm{font-size:.875em;line-height:.07143em;vertical-align:.05357em}.fa-lg{font-size:1.25em;line-height:.05em;vertical-align:-.075em}.fa-xl{font-size:1.5em;line-height:.04167em;vertical-align:-.125em}.fa-2xl{font-size:2em;line-height:.03125em;vertical-align:-.1875em}.fa-fw{text-align:center;width:1.25em}.fa-ul{list-style-type:none;margin-left:var(--fa-li-margin,2.5em);padding-left:0}.fa-ul>li{position:relative}.fa-li{left:calc(var(--fa-li-width,2em)*-1);position:absolute;text-align:center;width:var(--fa-li-width,2em);line-height:inherit}.fa-border{border-radius:var(--fa-border-radius,.1em);border:var(--fa-border-width,.08em) var(--fa-border-style,solid) var(--fa-border-color,#eee);padding:var(--fa-border-padding,.2em .25em .15em)}.fa-pull-left{float:left;margin-right:var(--fa-pull-margin,.3em)}.fa-pull-right{float:right;margin-left:var(--fa-pull-margin,.3em)}.fa-beat{-webkit-animation-name:fa-beat;animation-name:fa-beat;-webkit-animation-delay:var(--fa-animation-delay,0s);animation-delay:var(--fa-animation-delay,0s);-webkit-animation-direction:var(--fa-animation-direction,normal);animation-direction:var(--fa-animation-direction,normal);-webkit-animation-duration:var(--fa-animation-duration,1s);animation-duration:var(--fa-animation-duration,1s);-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,ease-in-out);animation-timing-function:var(--fa-animation-timing,ease-in-out)}.fa-bounce{-webkit-animation-name:fa-bounce;animation-name:fa-bounce;-webkit-animation-delay:var(--fa-animation-delay,0s);animation-delay:var(--fa-animation-delay,0s);-webkit-animation-direction:var(--fa-animation-direction,normal);animation-direction:var(--fa-animation-direction,normal);-webkit-animation-duration:var(--fa-animation-duration,1s);animation-duration:var(--fa-animation-duration,1s);-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,cubic-bezier(.28,.84,.42,1));animation-timing-function:var(--fa-animation-timing,cubic-bezier(.28,.84,.42,1))}.fa-fade{-webkit-animation-name:fa-fade;animation-name:fa-fade;-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,cubic-bezier(.4,0,.6,1));animation-timing-function:var(--fa-animation-timing,cubic-bezier(.4,0,.6,1))}.fa-beat-fade,.fa-fade{-webkit-animation-delay:var(--fa-animation-delay,0s);animation-delay:var(--fa-animation-delay,0s);-webkit-animation-direction:var(--fa-animation-direction,normal);animation-direction:var(--fa-animation-direction,normal);-webkit-animation-duration:var(--fa-animation-duration,1s);animation-duration:var(--fa-animation-duration,1s)}.fa-beat-fade{-webkit-animation-name:fa-beat-fade;animation-name:fa-beat-fade;-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,cubic-bezier(.4,0,.6,1));animation-timing-function:var(--fa-animation-timing,cubic-bezier(.4,0,.6,1))}.fa-flip{-webkit-animation-name:fa-flip;animation-name:fa-flip;-webkit-animation-delay:var(--fa-animation-delay,0s);animation-delay:var(--fa-animation-delay,0s);-webkit-animation-direction:var(--fa-animation-direction,normal);animation-direction:var(--fa-animation-direction,normal);-webkit-animation-duration:var(--fa-animation-duration,1s);animation-duration:var(--fa-animation-duration,1s);-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,ease-in-out);animation-timing-function:var(--fa-animation-timing,ease-in-out)}.fa-shake{-webkit-animation-name:fa-shake;animation-name:fa-shake;-webkit-animation-duration:var(--fa-animation-duration,1s);animation-duration:var(--fa-animation-duration,1s);-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,linear);animation-timing-function:var(--fa-animation-timing,linear)}.fa-shake,.fa-spin{-webkit-animation-delay:var(--fa-animation-delay,0s);animation-delay:var(--fa-animation-delay,0s);-webkit-animation-direction:var(--fa-animation-direction,normal);animation-direction:var(--fa-animation-direction,normal)}.fa-spin{-webkit-animation-name:fa-spin;animation-name:fa-spin;-webkit-animation-duration:var(--fa-animation-duration,2s);animation-duration:var(--fa-animation-duration,2s);-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,linear);animation-timing-function:var(--fa-animation-timing,linear)}.fa-spin-reverse{--fa-animation-direction:reverse}.fa-pulse,.fa-spin-pulse{-webkit-animation-name:fa-spin;animation-name:fa-spin;-webkit-animation-direction:var(--fa-animation-direction,normal);animation-direction:var(--fa-animation-direction,normal);-webkit-animation-duration:var(--fa-animation-duration,1s);animation-duration:var(--fa-animation-duration,1s);-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,steps(8));animation-timing-function:var(--fa-animation-timing,steps(8))}@media (prefers-reduced-motion:reduce){.fa-beat,.fa-beat-fade,.fa-bounce,.fa-fade,.fa-flip,.fa-pulse,.fa-shake,.fa-spin,.fa-spin-pulse{-webkit-animation-delay:-1ms;animation-delay:-1ms;-webkit-animation-duration:1ms;animation-duration:1ms;-webkit-animation-iteration-count:1;animation-iteration-count:1;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s}}@-webkit-keyframes fa-beat{0%,90%{-webkit-transform:scale(1);transform:scale(1)}45%{-webkit-transform:scale(var(--fa-beat-scale,1.25));transform:scale(var(--fa-beat-scale,1.25))}}@keyframes fa-beat{0%,90%{-webkit-transform:scale(1);transform:scale(1)}45%{-webkit-transform:scale(var(--fa-beat-scale,1.25));transform:scale(var(--fa-beat-scale,1.25))}}@-webkit-keyframes fa-bounce{0%{-webkit-transform:scale(1) translateY(0);transform:scale(1) translateY(0)}10%{-webkit-transform:scale(var(--fa-bounce-start-scale-x,1.1),var(--fa-bounce-start-scale-y,.9)) translateY(0);transform:scale(var(--fa-bounce-start-scale-x,1.1),var(--fa-bounce-start-scale-y,.9)) translateY(0)}30%{-webkit-transform:scale(var(--fa-bounce-jump-scale-x,.9),var(--fa-bounce-jump-scale-y,1.1)) translateY(var(--fa-bounce-height,-.5em));transform:scale(var(--fa-bounce-jump-scale-x,.9),var(--fa-bounce-jump-scale-y,1.1)) translateY(var(--fa-bounce-height,-.5em))}50%{-webkit-transform:scale(var(--fa-bounce-land-scale-x,1.05),var(--fa-bounce-land-scale-y,.95)) translateY(0);transform:scale(var(--fa-bounce-land-scale-x,1.05),var(--fa-bounce-land-scale-y,.95)) translateY(0)}57%{-webkit-transform:scale(1) translateY(var(--fa-bounce-rebound,-.125em));transform:scale(1) translateY(var(--fa-bounce-rebound,-.125em))}64%{-webkit-transform:scale(1) translateY(0);transform:scale(1) translateY(0)}to{-webkit-transform:scale(1) translateY(0);transform:scale(1) translateY(0)}}@keyframes fa-bounce{0%{-webkit-transform:scale(1) translateY(0);transform:scale(1) translateY(0)}10%{-webkit-transform:scale(var(--fa-bounce-start-scale-x,1.1),var(--fa-bounce-start-scale-y,.9)) translateY(0);transform:scale(var(--fa-bounce-start-scale-x,1.1),var(--fa-bounce-start-scale-y,.9)) translateY(0)}30%{-webkit-transform:scale(var(--fa-bounce-jump-scale-x,.9),var(--fa-bounce-jump-scale-y,1.1)) translateY(var(--fa-bounce-height,-.5em));transform:scale(var(--fa-bounce-jump-scale-x,.9),var(--fa-bounce-jump-scale-y,1.1)) translateY(var(--fa-bounce-height,-.5em))}50%{-webkit-transform:scale(var(--fa-bounce-land-scale-x,1.05),var(--fa-bounce-land-scale-y,.95)) translateY(0);transform:scale(var(--fa-bounce-land-scale-x,1.05),var(--fa-bounce-land-scale-y,.95)) translateY(0)}57%{-webkit-transform:scale(1) translateY(var(--fa-bounce-rebound,-.125em));transform:scale(1) translateY(var(--fa-bounce-rebound,-.125em))}64%{-webkit-transform:scale(1) translateY(0);transform:scale(1) translateY(0)}to{-webkit-transform:scale(1) translateY(0);transform:scale(1) translateY(0)}}@-webkit-keyframes fa-fade{50%{opacity:var(--fa-fade-opacity,.4)}}@keyframes fa-fade{50%{opacity:var(--fa-fade-opacity,.4)}}@-webkit-keyframes fa-beat-fade{0%,to{opacity:var(--fa-beat-fade-opacity,.4);-webkit-transform:scale(1);transform:scale(1)}50%{opacity:1;-webkit-transform:scale(var(--fa-beat-fade-scale,1.125));transform:scale(var(--fa-beat-fade-scale,1.125))}}@keyframes fa-beat-fade{0%,to{opacity:var(--fa-beat-fade-opacity,.4);-webkit-transform:scale(1);transform:scale(1)}50%{opacity:1;-webkit-transform:scale(var(--fa-beat-fade-scale,1.125));transform:scale(var(--fa-beat-fade-scale,1.125))}}@-webkit-keyframes fa-flip{50%{-webkit-transform:rotate3d(var(--fa-flip-x,0),var(--fa-flip-y,1),var(--fa-flip-z,0),var(--fa-flip-angle,-180deg));transform:rotate3d(var(--fa-flip-x,0),var(--fa-flip-y,1),var(--fa-flip-z,0),var(--fa-flip-angle,-180deg))}}@keyframes fa-flip{50%{-webkit-transform:rotate3d(var(--fa-flip-x,0),var(--fa-flip-y,1),var(--fa-flip-z,0),var(--fa-flip-angle,-180deg));transform:rotate3d(var(--fa-flip-x,0),var(--fa-flip-y,1),var(--fa-flip-z,0),var(--fa-flip-angle,-180deg))}}@-webkit-keyframes fa-shake{0%{-webkit-transform:rotate(-15deg);transform:rotate(-15deg)}4%{-webkit-transform:rotate(15deg);transform:rotate(15deg)}24%,8%{-webkit-transform:rotate(-18deg);transform:rotate(-18deg)}12%,28%{-webkit-transform:rotate(18deg);transform:rotate(18deg)}16%{-webkit-transform:rotate(-22deg);transform:rotate(-22deg)}20%{-webkit-transform:rotate(22deg);transform:rotate(22deg)}32%{-webkit-transform:rotate(-12deg);transform:rotate(-12deg)}36%{-webkit-transform:rotate(12deg);transform:rotate(12deg)}40%,to{-webkit-transform:rotate(0);transform:rotate(0)}}@keyframes fa-shake{0%{-webkit-transform:rotate(-15deg);transform:rotate(-15deg)}4%{-webkit-transform:rotate(15deg);transform:rotate(15deg)}24%,8%{-webkit-transform:rotate(-18deg);transform:rotate(-18deg)}12%,28%{-webkit-transform:rotate(18deg);transform:rotate(18deg)}16%{-webkit-transform:rotate(-22deg);transform:rotate(-22deg)}20%{-webkit-transform:rotate(22deg);transform:rotate(22deg)}32%{-webkit-transform:rotate(-12deg);transform:rotate(-12deg)}36%{-webkit-transform:rotate(12deg);transform:rotate(12deg)}40%,to{-webkit-transform:rotate(0);transform:rotate(0)}}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.fa-rotate-90{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-webkit-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-webkit-transform:scaleX(-1);transform:scaleX(-1)}.fa-flip-vertical{-webkit-transform:scaleY(-1);transform:scaleY(-1)}.fa-flip-both,.fa-flip-horizontal.fa-flip-vertical{-webkit-transform:scale(-1);transform:scale(-1)}.fa-rotate-by{-webkit-transform:rotate(var(--fa-rotate-angle,none));transform:rotate(var(--fa-rotate-angle,none))}.fa-stack{display:inline-block;vertical-align:middle;height:2em;position:relative;width:2.5em}.fa-stack-1x,.fa-stack-2x{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;z-index:var(--fa-stack-z-index,auto)}.svg-inline--fa.fa-stack-1x{height:1em;width:1.25em}.svg-inline--fa.fa-stack-2x{height:2em;width:2.5em}.fa-inverse{color:var(--fa-inverse,#fff)}.fa-sr-only,.fa-sr-only-focusable:not(:focus),.sr-only,.sr-only-focusable:not(:focus){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.svg-inline--fa .fa-primary{fill:var(--fa-primary-color,currentColor);opacity:var(--fa-primary-opacity,1)}.svg-inline--fa .fa-secondary{fill:var(--fa-secondary-color,currentColor)}.svg-inline--fa .fa-secondary,.svg-inline--fa.fa-swap-opacity .fa-primary{opacity:var(--fa-secondary-opacity,.4)}.svg-inline--fa.fa-swap-opacity .fa-secondary{opacity:var(--fa-primary-opacity,1)}.svg-inline--fa mask .fa-primary,.svg-inline--fa mask .fa-secondary{fill:#000}.fa-duotone.fa-inverse,.fad.fa-inverse{color:var(--fa-inverse,#fff)}body.compensate-for-scrollbar{overflow:hidden}.fancybox-active{height:auto}.fancybox-is-hidden{left:-9999px;margin:0;position:absolute!important;top:-9999px;visibility:hidden}.fancybox-container{-webkit-backface-visibility:hidden;height:100%;left:0;outline:0;position:fixed;-webkit-tap-highlight-color:transparent;top:0;-ms-touch-action:manipulation;touch-action:manipulation;transform:translateZ(0);width:100%;z-index:99992}.fancybox-container *{box-sizing:border-box}.fancybox-bg,.fancybox-inner,.fancybox-outer,.fancybox-stage{bottom:0;left:0;position:absolute;right:0;top:0}.fancybox-outer{-webkit-overflow-scrolling:touch;overflow-y:auto}.fancybox-bg{background:#1e1e1e;opacity:0;transition-duration:inherit;transition-property:opacity;transition-timing-function:cubic-bezier(.47,0,.74,.71)}.fancybox-is-open .fancybox-bg{opacity:.9;transition-timing-function:cubic-bezier(.22,.61,.36,1)}.fancybox-caption,.fancybox-infobar,.fancybox-navigation .fancybox-button,.fancybox-toolbar{direction:ltr;opacity:0;position:absolute;transition:opacity .25s ease,visibility 0s ease .25s;visibility:hidden;z-index:99997}.fancybox-show-caption .fancybox-caption,.fancybox-show-infobar .fancybox-infobar,.fancybox-show-nav .fancybox-navigation .fancybox-button,.fancybox-show-toolbar .fancybox-toolbar{opacity:1;transition:opacity .25s ease 0s,visibility 0s ease 0s;visibility:visible}.fancybox-infobar{color:#ccc;font-size:13px;-webkit-font-smoothing:subpixel-antialiased;height:44px;left:0;line-height:44px;min-width:44px;mix-blend-mode:difference;padding:0 10px;pointer-events:none;top:0;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.fancybox-toolbar{right:0;top:0}.fancybox-stage{direction:ltr;overflow:visible;transform:translateZ(0);z-index:99994}.fancybox-is-open .fancybox-stage{overflow:hidden}.fancybox-slide{-webkit-backface-visibility:hidden;display:none;height:100%;left:0;outline:0;overflow:auto;-webkit-overflow-scrolling:touch;padding:44px;position:absolute;text-align:center;top:0;transition-property:transform,opacity;white-space:normal;width:100%;z-index:99994}.fancybox-slide:before{content:"";display:inline-block;font-size:0;height:100%;vertical-align:middle;width:0}.fancybox-is-sliding .fancybox-slide,.fancybox-slide--current,.fancybox-slide--next,.fancybox-slide--previous{display:block}.fancybox-slide--image{overflow:hidden;padding:44px 0}.fancybox-slide--image:before{display:none}.fancybox-slide--html{padding:6px}.fancybox-content{background:#fff;display:inline-block;margin:0;max-width:100%;overflow:auto;-webkit-overflow-scrolling:touch;padding:44px;position:relative;text-align:left;vertical-align:middle}.fancybox-slide--image .fancybox-content{animation-timing-function:cubic-bezier(.5,0,.14,1);-webkit-backface-visibility:hidden;background:0 0;background-repeat:no-repeat;background-size:100% 100%;left:0;max-width:none;overflow:visible;padding:0;position:absolute;top:0;transform-origin:top left;transition-property:transform,opacity;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:99995}.fancybox-can-zoomOut .fancybox-content{cursor:zoom-out}.fancybox-can-zoomIn .fancybox-content{cursor:zoom-in}.fancybox-can-pan .fancybox-content,.fancybox-can-swipe .fancybox-content{cursor:grab}.fancybox-is-grabbing .fancybox-content{cursor:grabbing}.fancybox-container [data-selectable=true]{cursor:text}.fancybox-image,.fancybox-spaceball{background:0 0;border:0;height:100%;left:0;margin:0;max-height:none;max-width:none;padding:0;position:absolute;top:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:100%}.fancybox-spaceball{z-index:1}.fancybox-slide--iframe .fancybox-content,.fancybox-slide--map .fancybox-content,.fancybox-slide--pdf .fancybox-content,.fancybox-slide--video .fancybox-content{height:100%;overflow:visible;padding:0;width:100%}.fancybox-slide--video .fancybox-content{background:#000}.fancybox-slide--map .fancybox-content{background:#e5e3df}.fancybox-slide--iframe .fancybox-content{background:#fff}.fancybox-iframe,.fancybox-video{background:0 0;border:0;display:block;height:100%;margin:0;overflow:hidden;padding:0;width:100%}.fancybox-iframe{left:0;position:absolute;top:0}.fancybox-error{background:#fff;cursor:default;max-width:400px;padding:40px;width:100%}.fancybox-error p{color:#444;font-size:16px;line-height:20px;margin:0;padding:0}.fancybox-button{background:rgba(30,30,30,.6);border:0;border-radius:0;box-shadow:none;cursor:pointer;display:inline-block;height:44px;margin:0;padding:10px;position:relative;transition:color .2s;vertical-align:top;visibility:inherit;width:44px}.fancybox-button,.fancybox-button:link,.fancybox-button:visited{color:#ccc}.fancybox-button:hover{color:#fff}.fancybox-button:focus{outline:0}.fancybox-button.fancybox-focus{outline:1px dotted}.fancybox-button[disabled],.fancybox-button[disabled]:hover{color:#888;cursor:default;outline:0}.fancybox-button div{height:100%}.fancybox-button svg{display:block;height:100%;overflow:visible;position:relative;width:100%}.fancybox-button svg path{fill:currentColor;stroke-width:0}.fancybox-button--fsenter svg:nth-child(2),.fancybox-button--fsexit svg:first-child,.fancybox-button--pause svg:first-child,.fancybox-button--play svg:nth-child(2){display:none}.fancybox-progress{background:#ff5268;height:2px;left:0;position:absolute;right:0;top:0;transform:scaleX(0);transform-origin:0;transition-property:transform;transition-timing-function:linear;z-index:99998}.fancybox-close-small{background:0 0;border:0;border-radius:0;color:#ccc;cursor:pointer;opacity:.8;padding:8px;position:absolute;right:-12px;top:-44px;z-index:401}.fancybox-close-small:hover{color:#fff;opacity:1}.fancybox-slide--html .fancybox-close-small{color:currentColor;padding:10px;right:0;top:0}.fancybox-slide--image.fancybox-is-scaling .fancybox-content{overflow:hidden}.fancybox-is-scaling .fancybox-close-small,.fancybox-is-zoomable.fancybox-can-pan .fancybox-close-small{display:none}.fancybox-navigation .fancybox-button{background-clip:content-box;height:100px;opacity:0;position:absolute;top:calc(50% - 50px);width:70px}.fancybox-navigation .fancybox-button div{padding:7px}.fancybox-navigation .fancybox-button--arrow_left{left:0;left:env(safe-area-inset-left);padding:31px 26px 31px 6px}.fancybox-navigation .fancybox-button--arrow_right{padding:31px 6px 31px 26px;right:0;right:env(safe-area-inset-right)}.fancybox-caption{background:linear-gradient(0deg,rgba(0,0,0,.85) 0,rgba(0,0,0,.3) 50%,rgba(0,0,0,.15) 65%,rgba(0,0,0,.075) 75.5%,rgba(0,0,0,.037) 82.85%,rgba(0,0,0,.019) 88%,transparent);bottom:0;color:#eee;font-size:14px;font-weight:400;left:0;line-height:1.5;padding:75px 44px 25px;pointer-events:none;right:0;text-align:center;z-index:99996}@supports (padding:max(0px)){.fancybox-caption{padding:75px max(44px,env(safe-area-inset-right)) max(25px,env(safe-area-inset-bottom)) max(44px,env(safe-area-inset-left))}}.fancybox-caption--separate{margin-top:-50px}.fancybox-caption__body{max-height:50vh;overflow:auto;pointer-events:all}.fancybox-caption a,.fancybox-caption a:link,.fancybox-caption a:visited{color:#ccc;text-decoration:none}.fancybox-caption a:hover{color:#fff;text-decoration:underline}.fancybox-loading{animation:a 1s linear infinite;background:0 0;border:4px solid #888;border-bottom-color:#fff;border-radius:50%;height:50px;left:50%;margin:-25px 0 0 -25px;opacity:.7;padding:0;position:absolute;top:50%;width:50px;z-index:99999}@keyframes a{to{transform:rotate(1turn)}}.fancybox-animated{transition-timing-function:cubic-bezier(0,0,.25,1)}.fancybox-fx-slide.fancybox-slide--previous{opacity:0;transform:translate3d(-100%,0,0)}.fancybox-fx-slide.fancybox-slide--next{opacity:0;transform:translate3d(100%,0,0)}.fancybox-fx-slide.fancybox-slide--current{opacity:1;transform:translateZ(0)}.fancybox-fx-fade.fancybox-slide--next,.fancybox-fx-fade.fancybox-slide--previous{opacity:0;transition-timing-function:cubic-bezier(.19,1,.22,1)}.fancybox-fx-fade.fancybox-slide--current{opacity:1}.fancybox-fx-zoom-in-out.fancybox-slide--previous{opacity:0;transform:scale3d(1.5,1.5,1.5)}.fancybox-fx-zoom-in-out.fancybox-slide--next{opacity:0;transform:scale3d(.5,.5,.5)}.fancybox-fx-zoom-in-out.fancybox-slide--current{opacity:1;transform:scaleX(1)}.fancybox-fx-rotate.fancybox-slide--previous{opacity:0;transform:rotate(-1turn)}.fancybox-fx-rotate.fancybox-slide--next{opacity:0;transform:rotate(1turn)}.fancybox-fx-rotate.fancybox-slide--current{opacity:1;transform:rotate(0)}.fancybox-fx-circular.fancybox-slide--previous{opacity:0;transform:scale3d(0,0,0) translate3d(-100%,0,0)}.fancybox-fx-circular.fancybox-slide--next{opacity:0;transform:scale3d(0,0,0) translate3d(100%,0,0)}.fancybox-fx-circular.fancybox-slide--current{opacity:1;transform:scaleX(1) translateZ(0)}.fancybox-fx-tube.fancybox-slide--previous{transform:translate3d(-100%,0,0) scale(.1) skew(-10deg)}.fancybox-fx-tube.fancybox-slide--next{transform:translate3d(100%,0,0) scale(.1) skew(10deg)}.fancybox-fx-tube.fancybox-slide--current{transform:translateZ(0) scale(1)}@media (max-height:576px){.fancybox-slide{padding-left:6px;padding-right:6px}.fancybox-slide--image{padding:6px 0}.fancybox-close-small{right:-6px}.fancybox-slide--image .fancybox-close-small{background:#4e4e4e;color:#f2f4f6;height:36px;opacity:1;padding:6px;right:0;top:0;width:36px}.fancybox-caption{padding-left:12px;padding-right:12px}@supports (padding:max(0px)){.fancybox-caption{padding-left:max(12px,env(safe-area-inset-left));padding-right:max(12px,env(safe-area-inset-right))}}}.fancybox-share{background:#f4f4f4;border-radius:3px;max-width:90%;padding:30px;text-align:center}.fancybox-share h1{color:#222;font-size:35px;font-weight:700;margin:0 0 20px}.fancybox-share p{margin:0;padding:0}.fancybox-share__button{border:0;border-radius:3px;display:inline-block;font-size:14px;font-weight:700;line-height:40px;margin:0 5px 10px;min-width:130px;padding:0 15px;text-decoration:none;transition:all .2s;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap}.fancybox-share__button:link,.fancybox-share__button:visited{color:#fff}.fancybox-share__button:hover{text-decoration:none}.fancybox-share__button--fb{background:#3b5998}.fancybox-share__button--fb:hover{background:#344e86}.fancybox-share__button--pt{background:#bd081d}.fancybox-share__button--pt:hover{background:#aa0719}.fancybox-share__button--tw{background:#1da1f2}.fancybox-share__button--tw:hover{background:#0d95e8}.fancybox-share__button svg{height:25px;margin-right:7px;position:relative;top:-1px;vertical-align:middle;width:25px}.fancybox-share__button svg path{fill:#fff}.fancybox-share__input{background:0 0;border:0;border-bottom:1px solid #d7d7d7;border-radius:0;color:#5d5b5b;font-size:14px;margin:10px 0 0;outline:0;padding:10px 15px;width:100%}.fancybox-thumbs{background:#ddd;bottom:0;display:none;margin:0;-webkit-overflow-scrolling:touch;-ms-overflow-style:-ms-autohiding-scrollbar;padding:2px 2px 4px;position:absolute;right:0;-webkit-tap-highlight-color:transparent;top:0;width:212px;z-index:99995}.fancybox-thumbs-x{overflow-x:auto;overflow-y:hidden}.fancybox-show-thumbs .fancybox-thumbs{display:block}.fancybox-show-thumbs .fancybox-inner{right:212px}.fancybox-thumbs__list{font-size:0;height:100%;list-style:none;margin:0;overflow-x:hidden;overflow-y:auto;padding:0;position:absolute;position:relative;white-space:nowrap;width:100%}.fancybox-thumbs-x .fancybox-thumbs__list{overflow:hidden}.fancybox-thumbs-y .fancybox-thumbs__list::-webkit-scrollbar{width:7px}.fancybox-thumbs-y .fancybox-thumbs__list::-webkit-scrollbar-track{background:#fff;border-radius:10px;box-shadow:inset 0 0 6px rgba(0,0,0,.3)}.fancybox-thumbs-y .fancybox-thumbs__list::-webkit-scrollbar-thumb{background:#2a2a2a;border-radius:10px}.fancybox-thumbs__list a{-webkit-backface-visibility:hidden;backface-visibility:hidden;background-color:rgba(0,0,0,.1);background-position:50%;background-repeat:no-repeat;background-size:cover;cursor:pointer;float:left;height:75px;margin:2px;max-height:calc(100% - 8px);max-width:calc(50% - 4px);outline:0;overflow:hidden;padding:0;position:relative;-webkit-tap-highlight-color:transparent;width:100px}.fancybox-thumbs__list a:before{border:6px solid #ff5268;bottom:0;content:"";left:0;opacity:0;position:absolute;right:0;top:0;transition:all .2s cubic-bezier(.25,.46,.45,.94);z-index:99991}.fancybox-thumbs__list a:focus:before{opacity:.5}.fancybox-thumbs__list a.fancybox-thumbs-active:before{opacity:1}@media (max-width:576px){.fancybox-thumbs{width:110px}.fancybox-show-thumbs .fancybox-inner{right:110px}.fancybox-thumbs__list a{max-width:calc(100% - 10px)}}[ui-pnotify].ui-pnotify .brighttheme{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}[ui-pnotify].ui-pnotify .brighttheme.ui-pnotify-container{padding:1.3rem}[ui-pnotify].ui-pnotify-with-icon .brighttheme .ui-pnotify-confirm,[ui-pnotify].ui-pnotify-with-icon .brighttheme .ui-pnotify-text,[ui-pnotify].ui-pnotify-with-icon .brighttheme .ui-pnotify-title{margin-left:1.8rem}[dir=rtl] [ui-pnotify].ui-pnotify-with-icon .brighttheme .ui-pnotify-confirm,[dir=rtl] [ui-pnotify].ui-pnotify-with-icon .brighttheme .ui-pnotify-text,[dir=rtl] [ui-pnotify].ui-pnotify-with-icon .brighttheme .ui-pnotify-title{margin-right:1.8rem;margin-left:0}[ui-pnotify].ui-pnotify .brighttheme .ui-pnotify-title{font-size:1.2rem;line-height:1.4rem;margin-top:-.2rem;margin-bottom:1rem}[ui-pnotify].ui-pnotify .brighttheme .ui-pnotify-text{font-size:1rem;line-height:1.2rem;margin-top:0}[ui-pnotify].ui-pnotify .brighttheme .ui-pnotify-icon{line-height:1}[ui-pnotify].ui-pnotify .brighttheme-notice{background-color:#ffffa2;border:0 solid #ff0}[ui-pnotify].ui-pnotify .brighttheme-notice div,[ui-pnotify].ui-pnotify .brighttheme-notice h4{color:#4f4f00}[ui-pnotify].ui-pnotify .brighttheme-info{background-color:#8fcedd;border:0 solid #0286a5}[ui-pnotify].ui-pnotify .brighttheme-info div,[ui-pnotify].ui-pnotify .brighttheme-info h4{color:#012831}[ui-pnotify].ui-pnotify .brighttheme-success{background-color:#aff29a;border:0 solid #35db00}[ui-pnotify].ui-pnotify .brighttheme-success div,[ui-pnotify].ui-pnotify .brighttheme-success h4{color:#104300}[ui-pnotify].ui-pnotify .brighttheme-error{background-color:#ffaba2;background-image:repeating-linear-gradient(135deg,transparent,transparent 35px,rgba(255,255,255,.3) 35px,rgba(255,255,255,.3) 70px);border:0 solid #ff1800}[ui-pnotify].ui-pnotify .brighttheme-error div,[ui-pnotify].ui-pnotify .brighttheme-error h4{color:#4f0800}[ui-pnotify].ui-pnotify .brighttheme .ui-pnotify-closer,[ui-pnotify].ui-pnotify .brighttheme .ui-pnotify-sticker{font-size:1rem;line-height:1.2rem}[ui-pnotify].ui-pnotify .brighttheme-icon-closer,[ui-pnotify].ui-pnotify .brighttheme-icon-error,[ui-pnotify].ui-pnotify .brighttheme-icon-info,[ui-pnotify].ui-pnotify .brighttheme-icon-notice,[ui-pnotify].ui-pnotify .brighttheme-icon-sticker,[ui-pnotify].ui-pnotify .brighttheme-icon-success{position:relative;width:1rem;height:1rem;font-size:1rem;font-weight:700;line-height:1rem;font-family:"Courier New",Courier,monospace;border-radius:50%}[ui-pnotify].ui-pnotify .brighttheme-icon-closer:after,[ui-pnotify].ui-pnotify .brighttheme-icon-info:after,[ui-pnotify].ui-pnotify .brighttheme-icon-notice:after,[ui-pnotify].ui-pnotify .brighttheme-icon-sticker:after,[ui-pnotify].ui-pnotify .brighttheme-icon-success:after{position:absolute;top:0;left:.2rem}[ui-pnotify].ui-pnotify .brighttheme-icon-notice{background-color:#2e2e00;color:#ffffa2}[ui-pnotify].ui-pnotify .brighttheme-icon-notice:after{content:"!"}[ui-pnotify].ui-pnotify .brighttheme-icon-info{background-color:#012831;color:#8fcedd}[ui-pnotify].ui-pnotify .brighttheme-icon-info:after{content:"i"}[ui-pnotify].ui-pnotify .brighttheme-icon-success{background-color:#104300;color:#aff29a}[ui-pnotify].ui-pnotify .brighttheme-icon-success:after{content:"\002713"}[ui-pnotify].ui-pnotify .brighttheme-icon-error{width:0;height:0;font-size:0;line-height:0;border-radius:0;border-left:.6rem solid transparent;border-right:.6rem solid transparent;border-bottom:1.2rem solid #2e0400;color:#ffaba2}[ui-pnotify].ui-pnotify .brighttheme-icon-error:after{position:absolute;top:.1rem;left:-.25rem;font-size:.9rem;font-weight:700;line-height:1.4rem;font-family:"Courier New",Courier,monospace;content:"!"}[ui-pnotify].ui-pnotify .brighttheme-icon-closer,[ui-pnotify].ui-pnotify .brighttheme-icon-sticker{display:inline-block}[ui-pnotify].ui-pnotify .brighttheme-icon-closer:after{content:"\002715"}[ui-pnotify].ui-pnotify .brighttheme-icon-sticker:after{top:-1px;content:"\002016"}[ui-pnotify].ui-pnotify .brighttheme-icon-sticker.brighttheme-icon-stuck:after{content:"\00003E"}[ui-pnotify].ui-pnotify .brighttheme .ui-pnotify-confirm{margin-top:1rem}[ui-pnotify].ui-pnotify .brighttheme .ui-pnotify-prompt-bar{margin-bottom:1rem}[ui-pnotify].ui-pnotify .brighttheme .ui-pnotify-action-button{text-transform:uppercase;font-weight:700;padding:.4rem 1rem;border:none;background:0 0;cursor:pointer}[ui-pnotify].ui-pnotify .brighttheme-notice .ui-pnotify-action-button.brighttheme-primary{background-color:#ff0;color:#4f4f00}[ui-pnotify].ui-pnotify .brighttheme-info .ui-pnotify-action-button.brighttheme-primary{background-color:#0286a5;color:#012831}[ui-pnotify].ui-pnotify .brighttheme-success .ui-pnotify-action-button.brighttheme-primary{background-color:#35db00;color:#104300}[ui-pnotify].ui-pnotify .brighttheme-error .ui-pnotify-action-button.brighttheme-primary{background-color:#ff1800;color:#4f0800}.container{box-sizing:border-box;margin-left:auto;margin-right:auto;padding-right:8px;padding-left:8px}.container-fluid{padding-right:16px;padding-left:16px}@media only screen and (min-width:576px){.container{width:560px;max-width:100%}}@media only screen and (min-width:768px){.container{width:752px;max-width:100%}}@media only screen and (min-width:992px){.container{width:976px;max-width:100%}}@media only screen and (min-width:1200px){.container{width:1184px;max-width:100%}}.row{box-sizing:border-box;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-right:-8px;margin-left:-8px}.row.reverse{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.col.reverse{-webkit-box-orient:vertical;-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.col-lg,.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-lg-offset-0,.col-lg-offset-1,.col-lg-offset-10,.col-lg-offset-11,.col-lg-offset-12,.col-lg-offset-2,.col-lg-offset-3,.col-lg-offset-4,.col-lg-offset-5,.col-lg-offset-6,.col-lg-offset-7,.col-lg-offset-8,.col-lg-offset-9,.col-md,.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-md-offset-0,.col-md-offset-1,.col-md-offset-10,.col-md-offset-11,.col-md-offset-12,.col-md-offset-2,.col-md-offset-3,.col-md-offset-4,.col-md-offset-5,.col-md-offset-6,.col-md-offset-7,.col-md-offset-8,.col-md-offset-9,.col-sm,.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-sm-offset-0,.col-sm-offset-1,.col-sm-offset-10,.col-sm-offset-11,.col-sm-offset-12,.col-sm-offset-2,.col-sm-offset-3,.col-sm-offset-4,.col-sm-offset-5,.col-sm-offset-6,.col-sm-offset-7,.col-sm-offset-8,.col-sm-offset-9,.col-xl,.col-xl-1,.col-xl-10,.col-xl-11,.col-xl-12,.col-xl-2,.col-xl-3,.col-xl-4,.col-xl-5,.col-xl-6,.col-xl-7,.col-xl-8,.col-xl-9,.col-xl-offset-0,.col-xl-offset-1,.col-xl-offset-10,.col-xl-offset-11,.col-xl-offset-12,.col-xl-offset-2,.col-xl-offset-3,.col-xl-offset-4,.col-xl-offset-5,.col-xl-offset-6,.col-xl-offset-7,.col-xl-offset-8,.col-xl-offset-9,.col-xs,.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,.col-xs-offset-0,.col-xs-offset-1,.col-xs-offset-10,.col-xs-offset-11,.col-xs-offset-12,.col-xs-offset-2,.col-xs-offset-3,.col-xs-offset-4,.col-xs-offset-5,.col-xs-offset-6,.col-xs-offset-7,.col-xs-offset-8,.col-xs-offset-9{box-sizing:border-box;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;-ms-flex-preferred-size:100%;flex-basis:100%;padding-right:8px;padding-left:8px;max-width:100%}.col-xs{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-ms-flex-preferred-size:0;flex-basis:0;max-width:100%}.col-xs-1{-ms-flex-preferred-size:8.33333333%;flex-basis:8.33333333%;max-width:8.33333333%}.col-xs-2{-ms-flex-preferred-size:16.66666667%;flex-basis:16.66666667%;max-width:16.66666667%}.col-xs-3{-ms-flex-preferred-size:25%;flex-basis:25%;max-width:25%}.col-xs-4{-ms-flex-preferred-size:33.33333333%;flex-basis:33.33333333%;max-width:33.33333333%}.col-xs-5{-ms-flex-preferred-size:41.66666667%;flex-basis:41.66666667%;max-width:41.66666667%}.col-xs-6{-ms-flex-preferred-size:50%;flex-basis:50%;max-width:50%}.col-xs-7{-ms-flex-preferred-size:58.33333333%;flex-basis:58.33333333%;max-width:58.33333333%}.col-xs-8{-ms-flex-preferred-size:66.66666667%;flex-basis:66.66666667%;max-width:66.66666667%}.col-xs-9{-ms-flex-preferred-size:75%;flex-basis:75%;max-width:75%}.col-xs-10{-ms-flex-preferred-size:83.33333333%;flex-basis:83.33333333%;max-width:83.33333333%}.col-xs-11{-ms-flex-preferred-size:91.66666667%;flex-basis:91.66666667%;max-width:91.66666667%}.col-xs-12{-ms-flex-preferred-size:100%;flex-basis:100%;max-width:100%}.col-xs-offset-0{margin-left:0}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-11{margin-left:91.66666667%}.start-xs{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;text-align:start}.center-xs{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;text-align:center}.end-xs{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;text-align:end}.top-xs{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.middle-xs{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.bottom-xs{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.around-xs{-ms-flex-pack:distribute;justify-content:space-around}.between-xs{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.first-xs{-webkit-box-ordinal-group:0;-ms-flex-order:-1;order:-1}.last-xs{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.initial-order-xs{-webkit-box-ordinal-group:NaN;-ms-flex-order:initial;order:initial}@media only screen and (min-width:576px){.col-sm{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-ms-flex-preferred-size:0;flex-basis:0;max-width:100%}.col-sm-1{-ms-flex-preferred-size:8.33333333%;flex-basis:8.33333333%;max-width:8.33333333%}.col-sm-2{-ms-flex-preferred-size:16.66666667%;flex-basis:16.66666667%;max-width:16.66666667%}.col-sm-3{-ms-flex-preferred-size:25%;flex-basis:25%;max-width:25%}.col-sm-4{-ms-flex-preferred-size:33.33333333%;flex-basis:33.33333333%;max-width:33.33333333%}.col-sm-5{-ms-flex-preferred-size:41.66666667%;flex-basis:41.66666667%;max-width:41.66666667%}.col-sm-6{-ms-flex-preferred-size:50%;flex-basis:50%;max-width:50%}.col-sm-7{-ms-flex-preferred-size:58.33333333%;flex-basis:58.33333333%;max-width:58.33333333%}.col-sm-8{-ms-flex-preferred-size:66.66666667%;flex-basis:66.66666667%;max-width:66.66666667%}.col-sm-9{-ms-flex-preferred-size:75%;flex-basis:75%;max-width:75%}.col-sm-10{-ms-flex-preferred-size:83.33333333%;flex-basis:83.33333333%;max-width:83.33333333%}.col-sm-11{-ms-flex-preferred-size:91.66666667%;flex-basis:91.66666667%;max-width:91.66666667%}.col-sm-12{-ms-flex-preferred-size:100%;flex-basis:100%;max-width:100%}.col-sm-offset-0{margin-left:0}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-11{margin-left:91.66666667%}.start-sm{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;text-align:start}.center-sm{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;text-align:center}.end-sm{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;text-align:end}.top-sm{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.middle-sm{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.bottom-sm{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.around-sm{-ms-flex-pack:distribute;justify-content:space-around}.between-sm{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.first-sm{-webkit-box-ordinal-group:0;-ms-flex-order:-1;order:-1}.last-sm{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.initial-order-sm{-webkit-box-ordinal-group:NaN;-ms-flex-order:initial;order:initial}}@media only screen and (min-width:768px){.col-md,.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-md-offset-0,.col-md-offset-1,.col-md-offset-10,.col-md-offset-11,.col-md-offset-12,.col-md-offset-2,.col-md-offset-3,.col-md-offset-4,.col-md-offset-5,.col-md-offset-6,.col-md-offset-7,.col-md-offset-8,.col-md-offset-9{box-sizing:border-box;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;padding-right:8px;padding-left:8px}.col-md{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-ms-flex-preferred-size:0;flex-basis:0;max-width:100%}.col-md-1{-ms-flex-preferred-size:8.33333333%;flex-basis:8.33333333%;max-width:8.33333333%}.col-md-2{-ms-flex-preferred-size:16.66666667%;flex-basis:16.66666667%;max-width:16.66666667%}.col-md-3{-ms-flex-preferred-size:25%;flex-basis:25%;max-width:25%}.col-md-4{-ms-flex-preferred-size:33.33333333%;flex-basis:33.33333333%;max-width:33.33333333%}.col-md-5{-ms-flex-preferred-size:41.66666667%;flex-basis:41.66666667%;max-width:41.66666667%}.col-md-6{-ms-flex-preferred-size:50%;flex-basis:50%;max-width:50%}.col-md-7{-ms-flex-preferred-size:58.33333333%;flex-basis:58.33333333%;max-width:58.33333333%}.col-md-8{-ms-flex-preferred-size:66.66666667%;flex-basis:66.66666667%;max-width:66.66666667%}.col-md-9{-ms-flex-preferred-size:75%;flex-basis:75%;max-width:75%}.col-md-10{-ms-flex-preferred-size:83.33333333%;flex-basis:83.33333333%;max-width:83.33333333%}.col-md-11{-ms-flex-preferred-size:91.66666667%;flex-basis:91.66666667%;max-width:91.66666667%}.col-md-12{-ms-flex-preferred-size:100%;flex-basis:100%;max-width:100%}.col-md-offset-0{margin-left:0}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-3{margin-left:25%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-6{margin-left:50%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-9{margin-left:75%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-11{margin-left:91.66666667%}.start-md{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;text-align:start}.center-md{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;text-align:center}.end-md{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;text-align:end}.top-md{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.middle-md{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.bottom-md{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.around-md{-ms-flex-pack:distribute;justify-content:space-around}.between-md{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.first-md{-webkit-box-ordinal-group:0;-ms-flex-order:-1;order:-1}.last-md{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.initial-order-md{-webkit-box-ordinal-group:NaN;-ms-flex-order:initial;order:initial}}@media only screen and (min-width:992px){.col-lg,.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-lg-offset-0,.col-lg-offset-1,.col-lg-offset-10,.col-lg-offset-11,.col-lg-offset-12,.col-lg-offset-2,.col-lg-offset-3,.col-lg-offset-4,.col-lg-offset-5,.col-lg-offset-6,.col-lg-offset-7,.col-lg-offset-8,.col-lg-offset-9{box-sizing:border-box;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;padding-right:8px;padding-left:8px}.col-lg{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-ms-flex-preferred-size:0;flex-basis:0;max-width:100%}.col-lg-1{-ms-flex-preferred-size:8.33333333%;flex-basis:8.33333333%;max-width:8.33333333%}.col-lg-2{-ms-flex-preferred-size:16.66666667%;flex-basis:16.66666667%;max-width:16.66666667%}.col-lg-3{-ms-flex-preferred-size:25%;flex-basis:25%;max-width:25%}.col-lg-4{-ms-flex-preferred-size:33.33333333%;flex-basis:33.33333333%;max-width:33.33333333%}.col-lg-5{-ms-flex-preferred-size:41.66666667%;flex-basis:41.66666667%;max-width:41.66666667%}.col-lg-6{-ms-flex-preferred-size:50%;flex-basis:50%;max-width:50%}.col-lg-7{-ms-flex-preferred-size:58.33333333%;flex-basis:58.33333333%;max-width:58.33333333%}.col-lg-8{-ms-flex-preferred-size:66.66666667%;flex-basis:66.66666667%;max-width:66.66666667%}.col-lg-9{-ms-flex-preferred-size:75%;flex-basis:75%;max-width:75%}.col-lg-10{-ms-flex-preferred-size:83.33333333%;flex-basis:83.33333333%;max-width:83.33333333%}.col-lg-11{-ms-flex-preferred-size:91.66666667%;flex-basis:91.66666667%;max-width:91.66666667%}.col-lg-12{-ms-flex-preferred-size:100%;flex-basis:100%;max-width:100%}.col-lg-offset-0{margin-left:0}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-11{margin-left:91.66666667%}.start-lg{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;text-align:start}.center-lg{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;text-align:center}.end-lg{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;text-align:end}.top-lg{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.middle-lg{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.bottom-lg{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.around-lg{-ms-flex-pack:distribute;justify-content:space-around}.between-lg{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.first-lg{-webkit-box-ordinal-group:0;-ms-flex-order:-1;order:-1}.last-lg{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.initial-order-lg{-webkit-box-ordinal-group:NaN;-ms-flex-order:initial;order:initial}}@media only screen and (min-width:1200px){.col-xl,.col-xl-1,.col-xl-10,.col-xl-11,.col-xl-12,.col-xl-2,.col-xl-3,.col-xl-4,.col-xl-5,.col-xl-6,.col-xl-7,.col-xl-8,.col-xl-9,.col-xl-offset-0,.col-xl-offset-1,.col-xl-offset-10,.col-xl-offset-11,.col-xl-offset-12,.col-xl-offset-2,.col-xl-offset-3,.col-xl-offset-4,.col-xl-offset-5,.col-xl-offset-6,.col-xl-offset-7,.col-xl-offset-8,.col-xl-offset-9{box-sizing:border-box;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;padding-right:8px;padding-left:8px}.col-xl{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-ms-flex-preferred-size:0;flex-basis:0;max-width:100%}.col-xl-1{-ms-flex-preferred-size:8.33333333%;flex-basis:8.33333333%;max-width:8.33333333%}.col-xl-2{-ms-flex-preferred-size:16.66666667%;flex-basis:16.66666667%;max-width:16.66666667%}.col-xl-3{-ms-flex-preferred-size:25%;flex-basis:25%;max-width:25%}.col-xl-4{-ms-flex-preferred-size:33.33333333%;flex-basis:33.33333333%;max-width:33.33333333%}.col-xl-5{-ms-flex-preferred-size:41.66666667%;flex-basis:41.66666667%;max-width:41.66666667%}.col-xl-6{-ms-flex-preferred-size:50%;flex-basis:50%;max-width:50%}.col-xl-7{-ms-flex-preferred-size:58.33333333%;flex-basis:58.33333333%;max-width:58.33333333%}.col-xl-8{-ms-flex-preferred-size:66.66666667%;flex-basis:66.66666667%;max-width:66.66666667%}.col-xl-9{-ms-flex-preferred-size:75%;flex-basis:75%;max-width:75%}.col-xl-10{-ms-flex-preferred-size:83.33333333%;flex-basis:83.33333333%;max-width:83.33333333%}.col-xl-11{-ms-flex-preferred-size:91.66666667%;flex-basis:91.66666667%;max-width:91.66666667%}.col-xl-12{-ms-flex-preferred-size:100%;flex-basis:100%;max-width:100%}.col-xl-offset-0{margin-left:0}.col-xl-offset-1{margin-left:8.33333333%}.col-xl-offset-2{margin-left:16.66666667%}.col-xl-offset-3{margin-left:25%}.col-xl-offset-4{margin-left:33.33333333%}.col-xl-offset-5{margin-left:41.66666667%}.col-xl-offset-6{margin-left:50%}.col-xl-offset-7{margin-left:58.33333333%}.col-xl-offset-8{margin-left:66.66666667%}.col-xl-offset-9{margin-left:75%}.col-xl-offset-10{margin-left:83.33333333%}.col-xl-offset-11{margin-left:91.66666667%}.start-xl{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;text-align:start}.center-xl{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;text-align:center}.end-xl{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;text-align:end}.top-xl{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.middle-xl{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.bottom-xl{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.around-xl{-ms-flex-pack:distribute;justify-content:space-around}.between-xl{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.first-xl{-webkit-box-ordinal-group:0;-ms-flex-order:-1;order:-1}.last-xl{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.initial-order-xl{-webkit-box-ordinal-group:NaN;-ms-flex-order:initial;order:initial}}@media only screen and (max-width:575px){.hidden-xs{display:none}}@media only screen and (min-width:576px) and (max-width:767px){.hidden-sm{display:none}}@media only screen and (min-width:768px) and (max-width:991px){.hidden-md{display:none}}@media only screen and (min-width:992px) and (max-width:1199px){.hidden-lg{display:none}}@media only screen and (min-width:1200px){.hidden-xl{display:none}}.left_col{background:#2a3f54}.nav-sm .container.body .col-md-3.left_col{min-height:100%;width:70px;padding:0;z-index:9999;position:absolute}.nav-sm .container.body .col-md-3.left_col.menu_fixed{position:fixed;height:100%}.nav-sm .container.body .col-md-3.left_col .mCSB_container,.nav-sm .container.body .col-md-3.left_col .mCustomScrollBox{overflow:visible}.nav-sm .hidden-small{visibility:hidden}.nav-sm .container.body .right_col{padding:10px 20px;margin-left:70px;z-index:2}.nav-sm .navbar.nav_title{width:70px}.nav-sm .navbar.nav_title a span{display:none}.nav-sm .navbar.nav_title a i{font-size:27px;margin:13px 0 0 3px}.site_title i{border:1px solid #eaeaea;padding:5px 6px;border-radius:50%}.nav-sm .main_container .top_nav{display:block;margin-left:70px;z-index:2}.nav-sm .nav.side-menu li a{text-align:center!important;font-weight:400;font-size:10px;padding:10px 5px}.nav-sm .nav.child_menu li.active,.nav-sm .nav.side-menu li.active-sm{border-right:5px solid #1abb9c}.nav-sm .nav.side-menu li.active-sm ul ul,.nav-sm ul.nav.child_menu ul{position:static;width:200px;background:0 0}.nav-sm>.nav.side-menu>li.active-sm>a{color:#1abb9c!important}.nav-sm .nav.side-menu li a i.toggle-up{display:none!important}.nav-sm .nav.side-menu li a i{font-size:25px!important;text-align:center;width:100%!important;margin-bottom:5px}.nav-sm ul.nav.child_menu{left:100%;position:absolute;top:0;width:210px;z-index:4000;background:#3e5367;display:none}.nav-sm ul.nav.child_menu li{padding:0 10px}.nav-sm ul.nav.child_menu li a{text-align:left!important}.nav-sm .profile{display:none}.menu_section{margin-bottom:35px}.menu_section h3{padding-left:23px;color:#fff;text-transform:uppercase;letter-spacing:.5px;font-weight:700;font-size:11px;margin-bottom:0;margin-top:0;text-shadow:1px 1px #000}.menu_section>ul{margin-top:10px}.profile_pic{width:35%;float:left}.img-circle.profile_img{width:70%;background:#fff;margin-left:15%;z-index:1000;position:inherit;margin-top:20px;border:1px solid rgba(52,73,94,.44);padding:4px}.profile_info{padding:25px 10px 10px;width:65%;float:left}.profile_info span{font-size:13px;line-height:30px;color:#bab8b8}.profile_info h2{font-size:14px;color:#ecf0f1;margin:0;font-weight:300}.profile.img_2{text-align:center}.profile.img_2 .profile_pic{width:100%}.profile.img_2 .profile_pic .img-circle.profile_img{width:50%;margin:10px 0 0}.profile.img_2 .profile_info{padding:15px 10px 0;width:100%;margin-bottom:10px;float:left}.main_menu span.fa{float:right;text-align:center;margin-top:5px;font-size:10px;min-width:inherit;color:#c4cfda}.active a span.fa{text-align:right!important;margin-right:4px}.nav-sm .menu_section{margin:0}.nav-sm .menu_section h3,.nav-sm span.fa{display:none}.nav-sm li li span.fa{display:inline-block}.nav_menu{float:left;background:#ededed;border-bottom:1px solid #d9dee4;margin-bottom:10px;width:100%;position:relative}@media (min-width:480px){.nav_menu{position:static}}.nav-md .container.body .col-md-3.left_col{min-height:100%;width:230px;padding:0;position:absolute;display:-ms-flexbox;display:flex;z-index:1}.nav-md .container.body .col-md-3.left_col.menu_fixed{height:100%;position:fixed}body .container.body .right_col{background:#f7f7f7}.nav-md .container.body .right_col{padding:10px 20px 0;margin-left:230px}.nav_title{width:230px;float:left;background:#2a3f54;border-radius:0;height:57px}@media (max-width:991px){.nav-md .container.body .right_col,.nav-md .container.body .top_nav{width:100%;margin:0}.nav-md .container.body .col-md-3.left_col{display:none}.nav-md .container.body .right_col{width:100%;padding-right:0}.right_col{padding:10px!important}}@media (max-width:1200px){.x_title h2{width:62%;font-size:17px}.graph,.tile{zoom:85%;height:inherit}}@media (max-width:1270px) and (min-width:192px){.x_title h2 small{display:none}}.left_col .mCSB_scrollTools{width:6px}.left_col .mCSB_dragger{max-height:400px!important}.blue{color:#3498db}.purple{color:#9b59b6}.green{color:#1abb9c}.aero{color:#9cc2cb}.red{color:#e74c3c}.dark{color:#34495e}.border-blue{border-color:#3498db!important}.border-purple{border-color:#9b59b6!important}.border-green{border-color:#1abb9c!important}.border-aero{border-color:#9cc2cb!important}.border-red{border-color:#e74c3c!important}.border-dark{border-color:#34495e!important}.bg-white{background:#fff!important;border:1px solid #fff!important;color:#73879c}.bg-green{background:#1abb9c!important;border:1px solid #1abb9c!important;color:#fff}.bg-red{background:#e74c3c!important;border:1px solid #e74c3c!important;color:#fff}.bg-blue{background:#3498db!important;border:1px solid #3498db!important;color:#fff}.bg-orange{background:#f39c12!important;border:1px solid #f39c12!important;color:#fff}.bg-purple{background:#9b59b6!important;border:1px solid #9b59b6!important;color:#fff}.bg-blue-sky{background:#50c1cf!important;border:1px solid #50c1cf!important;color:#fff}.container{width:100%;padding:0}.navbar-brand,.navbar-nav>li>a{color:#fff!important}.top_nav .nav .open>a,.top_nav .nav .open>a:focus,.top_nav .nav .open>a:hover,.top_nav .nav>li>a:focus,.top_nav .nav>li>a:hover{background:#d9dee4}body{color:#73879c;background:#2a3f54;font-family:'Helvetica Neue',Roboto,Arial,'Droid Sans',sans-serif;font-size:13px;font-weight:400;line-height:1.471}.main_container .top_nav{display:block;margin-left:230px}.no-padding{padding:0!important}.page-title{width:100%;height:65px;padding:10px 0}.page-title .title_left{width:45%;float:left;display:block}.page-title .title_left h3{margin:9px 0}.page-title .title_right{width:55%;float:left;display:block}.page-title .title_right .pull-right{margin:10px 0}.dropdown,.dropleft,.dropright,.dropup{position:relative;display:flex}.fixed_height_320{height:320px}.fixed_height_390{height:390px}.fixed_height_200{height:200px}.overflow_hidden{overflow:hidden}.bg-dark{background-color:#34495e!important}.bg-gray{background-color:#bdc3c7!important}table.no-margin .progress{margin-bottom:0}.main_content{padding:10px 20px}.col-md-55{width:50%;margin-bottom:10px}@media (min-width:768px){.col-md-55{width:20%}}@media (min-width:992px){.col-md-55{width:20%}}@media (min-width:1200px){.col-md-55{width:20%}}@media (min-width:192px) and (max-width:1270px){table.tile_info span.right{margin-right:7px;float:left}}.center-margin{margin:0 auto;float:none!important}.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-55,.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;float:left;padding-right:10px;padding-left:10px}.row{margin-right:-10px;margin-left:-10px}.grid_slider .col-md-6{padding:0 40px}.h1,.h2,.h3,h1,h2,h3{margin-top:10px;margin-bottom:10px}a{color:#5a738e;text-decoration:none}.btn.active.focus,.btn.active:focus,.btn.focus,.btn:active.focus,.btn:active:focus,.btn:focus,:active,:focus,:visited,a,a:active,a:focus,a:visited{outline:0}a:focus,a:hover{text-decoration:none}.navbar{margin-bottom:0}.navbar-header{background:#34495e}.navbar-right{margin-right:0}.top_nav .navbar-right{margin:0;width:70%;float:right}.top_nav .navbar-right li{display:inline-block;float:right;position:static}@media (min-width:480px){.top_nav .navbar-right li{position:relative}}.top_nav .dropdown-menu li{width:100%}.top_nav .dropdown-menu li a{width:100%;padding:12px 20px}.top_nav li a i{font-size:15px}.navbar-static-top{position:fixed;top:0;width:100%}.sidebar-header{border-bottom:0;margin-top:46px}.sidebar-header:first-of-type{margin-top:0}.nav.side-menu>li{position:relative;display:block;cursor:pointer}.nav.side-menu>li>a{margin-bottom:6px}.nav.side-menu>li>a:hover{color:#f2f5f7!important}.nav.side-menu>li>a:hover,.nav>li>a:focus{text-decoration:none;background:0 0}.nav.child_menu{display:none}.nav.child_menu li.active,.nav.child_menu li:hover{background-color:rgba(255,255,255,.06)}.nav.child_menu li{padding-left:36px}.nav-md ul.nav.child_menu li:before{background:#425668;bottom:auto;content:'';height:8px;left:23px;margin-top:15px;position:absolute;right:auto;width:8px;z-index:1;border-radius:50%}.nav-md ul.nav.child_menu li:after{border-left:1px solid #425668;bottom:0;content:'';left:27px;position:absolute;top:0}.nav-md ul.nav.child_menu li:last-child::after{bottom:50%}.nav.child_menu>li>a,.nav.side-menu>li>a{color:#e7e7e7;font-weight:500}.nav.child_menu li li.active,.nav.child_menu li li:hover{background:0 0}.nav.child_menu li li a.active,.nav.child_menu li li a:hover{color:#fff}.nav>li>a{position:relative;display:block;padding:13px 15px 12px}.nav.side-menu>li.active,.nav.side-menu>li.current-page{border-right:5px solid #1abb9c}.nav li.current-page{background:rgba(255,255,255,.05)}.nav li li li.current-page{background:0 0}.nav li li.current-page a{color:#fff}.nav.side-menu>li.active>a{text-shadow:rgba(0,0,0,.25) 0 -1px 0;background:linear-gradient(#334556,#2c4257),#2a3f54;box-shadow:rgba(0,0,0,.25) 0 1px 0,inset rgba(255,255,255,.16) 0 1px 0}.navbar-brand,.navbar-nav>li>a{font-weight:500;color:#ecf0f1!important;margin-left:0!important;line-height:32px}.site_title{text-overflow:ellipsis;overflow:hidden;font-weight:400;font-size:22px;width:100%;color:#ecf0f1!important;margin-left:0!important;line-height:59px;display:block;height:55px;margin:0;padding-left:10px}.site_title:focus,.site_title:hover{text-decoration:none}.nav.navbar-nav>li>a{color:#515356!important}.nav.top_menu>li>a{position:relative;display:block;padding:10px 15px;color:#34495e!important}.nav>li>a:focus,.nav>li>a:hover{background-color:transparent}.top_search{padding:0}.top_search .form-control{border-right:0;box-shadow:inset 0 1px 0 rgba(0,0,0,.075);border-radius:25px 0 0 25px;padding-left:20px;border:1px solid rgba(221,226,232,.49)}.top_search .form-control:focus{border:1px solid rgba(221,226,232,.49);border-right:0}.top_search .input-group-btn button{border-radius:0 25px 25px 0;border:1px solid rgba(221,226,232,.49);border-left:0;box-shadow:inset 0 1px 1px rgba(0,0,0,.075);color:#93a2b2;margin-bottom:0!important}.toggle{float:left;margin:0;padding-top:16px;width:70px}.toggle a{padding:15px 15px 0;margin:0;cursor:pointer}.toggle a i{font-size:26px}.nav.child_menu>li>a{color:rgba(255,255,255,.75);font-size:12px;padding:9px}.panel_toolbox{float:right;min-width:70px}.panel_toolbox>li{float:left;cursor:pointer}.panel_toolbox>li>a{padding:5px;color:#c5c7cb;font-size:14px}.panel_toolbox>li>a:hover{background:#f5f7fa}.line_30{line-height:30px}.main_menu_side{padding:0}.bs-docs-sidebar .nav>li>a{display:block;padding:4px 6px}footer{background:#fff;padding:10px 20px;display:block}.nav-sm footer{margin-left:70px}.footer_fixed footer{position:fixed;left:0;bottom:0;width:100%}@media (min-width:768px){.footer_fixed footer{margin-left:0}}@media (min-width:768px){.footer_fixed .nav-sm footer{margin-left:0}}.tile-stats.sparkline{padding:10px;text-align:center}.jqstooltip{background:#34495e!important;width:30px!important;height:22px!important;text-decoration:none}.tooltip{display:block!important}.tiles{border-top:1px solid #ccc;margin-top:15px;padding-top:5px;margin-bottom:0}.tile{overflow:hidden}.top_tiles{margin-bottom:0}.top_tiles .tile h2{font-size:30px;line-height:30px;margin:3px 0 7px;font-weight:700}article.media{width:100%}*,:after,:before{box-sizing:border-box}#integration-list{width:100%;margin:0 auto;display:table}#integration-list ul{padding:0;margin:20px 0;color:#555}#integration-list ul>li{list-style:none;border-top:1px solid #ddd;display:block;padding:15px;overflow:hidden}#integration-list ul:last-child{border-bottom:1px solid #ddd}#integration-list ul>li:hover{background:#efefef}.expand{display:block;text-decoration:none;color:#555;cursor:pointer}.expand h2{width:85%;float:left}h2{font-size:18px;font-weight:400}#left,#right{display:table}#sup{display:table-cell;vertical-align:middle;width:80%}.detail a{text-decoration:none;color:#c0392b;border:1px solid #c0392b;padding:6px 10px 5px;font-size:13px;margin-right:7px}.detail{margin:10px 0 10px 0;display:none;line-height:22px;height:150px}.detail span{margin:0}.right-arrow{width:10px;float:right;font-weight:700;font-size:20px}.accordion .panel{margin-bottom:5px;border-radius:0;border-bottom:1px solid #efefef}.accordion .panel-heading{background:#f2f5f7;padding:13px;width:100%;display:block}.accordion .panel:hover{background:#f2f5f7}.x_panel{position:relative;width:100%;margin-bottom:10px;padding:10px 17px;display:inline-block;background:#fff;border:1px solid #e6e9ed;-moz-column-break-inside:avoid;column-break-inside:avoid;opacity:1;transition:all .2s ease}.x_title{border-bottom:2px solid #e6e9ed;padding:1px 5px 6px;margin-bottom:10px}.x_title .filter{width:40%;float:right}.x_title h2{margin:5px 0 6px;float:left;display:block;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.x_title h2 small{margin-left:10px}.x_title span{color:#bdbdbd}.x_content{padding:0 5px 6px;position:relative;width:100%;float:left;clear:both;margin-top:5px}.x_content h4{font-size:16px;font-weight:500}legend{padding-bottom:7px}.demo-placeholder{height:280px}.profile_details:nth-child(3n){clear:both}.profile_details .profile_view{display:inline-block;padding:10px 0 0;background:#fff}.profile_details .profile_view .divider{border-top:1px solid #e5e5e5;padding-top:5px;margin-top:5px}.profile_details .profile_view .ratings{margin-bottom:0}.profile_details .profile_view .bottom{background:#f2f5f7;padding:9px 0;border-top:1px solid #e6e9ed}.profile_details .profile_view .left{margin-top:20px}.profile_details .profile_view .left p{margin-bottom:3px}.profile_details .profile_view .right{margin-top:0;padding:10px}.profile_details .profile_view .img-circle{border:1px solid #e6e9ed;padding:2px}.profile_details .profile_view h2{margin:5px 0}.profile_details .profile_view .ratings{text-align:left;font-size:16px}.profile_details .profile_view .brief{margin:0;font-weight:300}.profile_details .profile_left{background:#fff}.pagination.pagination-split li{display:inline-block;margin-right:3px}.pagination.pagination-split li a{border-radius:4px;color:#768399;-moz-border-radius:4px;-webkit-border-radius:4px}table.tile h3,table.tile h4,table.tile span{font-weight:700;vertical-align:middle!important}table.tile td,table.tile th{text-align:center}table.tile th{border-bottom:1px solid #e6ecee}table.tile td{padding:5px 0}table.tile td ul{text-align:left;padding-left:0}table.tile td ul li{list-style:none;width:100%}table.tile td ul li a{width:100%}table.tile td ul li a big{right:0;float:right;margin-right:13px}table.tile_info{width:100%}table.tile_info td{text-align:left;padding:1px;font-size:15px}table.tile_info td p{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0;line-height:28px}table.tile_info td i{margin-right:8px;font-size:17px;float:left;width:18px;line-height:28px}table.tile_info td:first-child{width:83%}td span{line-height:28px}.sidebar-widget{overflow:hidden}.error-number{font-size:90px;line-height:90px;margin:20px 0}.col-middle{margin-top:5%}.mid_center{width:370px;margin:0 auto;text-align:center;padding:10px 20px}h3.degrees{font-size:22px;font-weight:400;text-align:center}.degrees:after{content:'o';position:relative;top:-12px;font-size:13px;font-weight:300}.daily-weather .day{font-size:14px;border-top:2px solid rgba(115,135,156,.36);text-align:center;border-bottom:2px solid rgba(115,135,156,.36);padding:5px 0}.weather-days .col-sm-2{overflow:hidden;width:16.66666667%}.weather .row{margin-bottom:0}.bulk-actions{display:none}table.countries_list{width:100%}table.countries_list td{padding:0 10px;line-height:30px;border-top:1px solid #eee}.dataTables_paginate a{padding:6px 9px!important;background:#ddd!important;border-color:#ddd!important}.paging_full_numbers a.paginate_active{background-color:rgba(38,185,154,.59)!important;border-color:rgba(38,185,154,.59)!important}a.DTTT_button,button.DTTT_button,div.DTTT_button{border:1px solid #e7e7e7!important;background:#e7e7e7!important;box-shadow:none!important}table.jambo_table{border:1px solid rgba(221,221,221,.78)}table.jambo_table thead{background:rgba(52,73,94,.94);color:#ecf0f1}table.jambo_table tbody tr:hover td{background:rgba(38,185,154,.07);border-top:1px solid rgba(38,185,154,.11);border-bottom:1px solid rgba(38,185,154,.11)}table.jambo_table tbody tr.selected{background:rgba(38,185,154,.16)}table.jambo_table tbody tr.selected td{border-top:1px solid rgba(38,185,154,.4);border-bottom:1px solid rgba(38,185,154,.4)}.dataTables_paginate a{background:red}.dataTables_wrapper{position:relative;clear:both;zoom:1}.dataTables_processing{position:absolute;top:50%;left:50%;width:250px;height:30px;margin-left:-125px;margin-top:-15px;padding:14px 0 2px 0;border:1px solid #ddd;text-align:center;color:#999;font-size:14px;background-color:#fff}.dataTables_length{width:40%;float:left}.dataTables_filter{width:50%;float:right;text-align:right}.dataTables_info{width:60%;float:left}.dataTables_paginate{float:right;text-align:right}table.dataTable td.focus,table.dataTable th.focus{outline:2px solid #1abb9c!important;outline-offset:-1px}table.display{margin:0 auto;clear:both;width:100%}table.display thead th{padding:8px 18px 8px 10px;border-bottom:1px solid #000;font-weight:700;cursor:pointer}table.display tfoot th{padding:3px 18px 3px 10px;border-top:1px solid #000;font-weight:700}table.display tr.heading2 td{border-bottom:1px solid #aaa}table.display td{padding:3px 10px}table.display td.center{text-align:center}table.display thead td:active,table.display thead th:active{outline:0}.dataTables_scroll{clear:both}.dataTables_scrollBody{-webkit-overflow-scrolling:touch}.top .dataTables_info{float:none}.clear{clear:both}.dataTables_empty{text-align:center}tfoot input{margin:.5em 0;width:100%;color:#444}tfoot input.search_init{color:#999}td.group{background-color:#d1cfd0;border-bottom:2px solid #a19b9e;border-top:2px solid #a19b9e}td.details{background-color:#d1cfd0;border:2px solid #a19b9e}.example_alt_pagination div.dataTables_info{width:40%}.paging_full_numbers{width:400px;height:22px;line-height:22px}.paging_full_numbers a:active{outline:0}.paging_full_numbers a:hover{text-decoration:none}.paging_full_numbers a.paginate_active,.paging_full_numbers a.paginate_button{border:1px solid #aaa;-webkit-border-radius:5px;-moz-border-radius:5px;padding:2px 5px;margin:0 3px;cursor:pointer}.paging_full_numbers a.paginate_button{background-color:#ddd}.paging_full_numbers a.paginate_button:hover{background-color:#ccc;text-decoration:none!important}.paging_full_numbers a.paginate_active{background-color:#99b3ff}table.display tr.even.row_selected td{background-color:#b0bed9}table.display tr.odd.row_selected td{background-color:#9fafd1}div.box{height:100px;padding:10px;overflow:auto;border:1px solid #8080ff;background-color:#e5e5ff}ul.msg_list li{background:#f7f7f7;padding:5px;display:-ms-flexbox;display:flex;margin:6px 6px 0;width:96%!important}ul.msg_list li:last-child{margin-bottom:6px}ul.msg_list li a{padding:3px 5px!important}ul.msg_list li a .image img{border-radius:2px 2px 2px 2px;-webkit-border-radius:2px 2px 2px 2px;float:left;margin-right:10px;width:11%}ul.msg_list li a .time{font-size:11px;font-style:italic;font-weight:700;position:absolute;right:35px}ul.msg_list li a .message{display:block!important;font-size:11px}.dropdown-menu.msg_list span{white-space:normal}.dropdown-menu{border:medium none;box-shadow:none;display:none;float:left;font-size:12px;left:0;list-style:none outside none;padding:0;position:absolute;text-shadow:none;top:100%;z-index:9998;border:1px solid #d9dee4;border-top-left-radius:0;border-top-right-radius:0}.dropdown-menu>li>a{color:#5a738e}.navbar-nav .open .dropdown-menu{position:absolute;background:#fff;margin-top:0;border:1px solid #d9dee4;-webkit-box-shadow:none;right:0;left:auto;width:220px}.navbar-nav .open .dropdown-menu.msg_list{width:300px}.info-number .badge{font-size:10px;font-weight:400;line-height:13px;padding:2px 6px;position:absolute;right:2px;top:8px}ul.to_do{padding:0}ul.to_do li{background:#f3f3f3;border-radius:3px;position:relative;padding:7px;margin-bottom:5px;list-style:none}ul.to_do p{margin:0}.dashboard-widget{background:#f6f6f6;border-top:5px solid #79c3df;border-radius:3px;padding:5px 10px 10px}.dashboard-widget .dashboard-widget-title{font-weight:400;border-bottom:1px solid #c1cdcd;margin:0 0 10px 0;padding-bottom:5px;padding-left:40px;line-height:30px}.dashboard-widget .dashboard-widget-title i{font-size:100%;margin-left:-35px;margin-right:10px;color:#33a1c9;padding:3px 6px;border:1px solid #abd9ea;border-radius:5px;background:#fff}ul.quick-list{width:45%;padding-left:0;display:inline-block}ul.quick-list li{padding-left:10px;list-style:none;margin:0;padding-bottom:6px;padding-top:4px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}ul.quick-list li i{padding-right:10px;color:#757679}.dashboard-widget-content{padding-top:9px}.dashboard-widget-content .sidebar-widget{width:50%;display:inline-block;vertical-align:top;background:#fff;border:1px solid #abd9ea;border-radius:5px;text-align:center;float:right;padding:2px;margin-top:10px}.widget_summary{width:100%;display:-ms-inline-flexbox;display:inline-flex}.widget_summary .w_left{float:left;text-align:left}.widget_summary .w_center{float:left}.widget_summary .w_right{float:left;text-align:right}.widget_summary .w_right span{font-size:20px}.w_20{width:20%}.w_25{width:25%}.w_55{width:55%}h5.graph_title{text-align:left;margin-left:10px}h5.graph_title i{margin-right:10px;font-size:17px}span.right{float:right;font-size:14px!important}.tile_info a{text-overflow:ellipsis}.sidebar-footer{bottom:0;clear:both;display:block;padding:5px 0 0 0;position:fixed;width:230px;background:#2a3f54}.sidebar-footer a{padding:7px 0 3px;text-align:center;width:25%;font-size:17px;display:block;float:left;background:#172d44}.sidebar-footer a:hover{background:#425567}.tile_count{margin-bottom:20px;margin-top:20px}.tile_count .tile_stats_count{border-bottom:1px solid #d9dee4;padding:0 10px 0 20px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;position:relative}@media (min-width:992px){footer{margin-left:230px}}@media (min-width:992px){.tile_count .tile_stats_count{margin-bottom:10px;border-bottom:0;padding-bottom:10px}}.tile_count .tile_stats_count:before{content:'';position:absolute;left:0;height:65px;border-left:2px solid #adb2b5;margin-top:10px}@media (min-width:992px){.tile_count .tile_stats_count:first-child:before{border-left:0}}.tile_count .tile_stats_count .count{font-size:30px;line-height:47px;font-weight:600}@media (min-width:768px){.tile_count .tile_stats_count .count{font-size:40px}}@media (min-width:992px) and (max-width:1100px){.tile_count .tile_stats_count .count{font-size:30px}}.tile_count .tile_stats_count span{font-size:12px}@media (min-width:768px){.tile_count .tile_stats_count span{font-size:13px}}.tile_count .tile_stats_count .count_bottom i{width:12px}.dashboard_graph{background:#fff;padding:7px 10px}.dashboard_graph .col-md-3,.dashboard_graph .col-md-9{padding:0}a.user-profile{color:#5e6974!important}.user-profile img{width:29px;height:29px;border-radius:50%;margin-right:10px}ul.top_profiles{height:330px;width:100%}ul.top_profiles li{margin:0;padding:3px 5px}ul.top_profiles li:nth-child(odd){background-color:#eee}.media .profile_thumb{border:1px solid;width:50px;height:50px;margin:5px 10px 5px 0;border-radius:50%;padding:9px 12px}.media .profile_thumb i{font-size:30px}.media .date{background:#ccc;width:52px;margin-right:10px;border-radius:10px;padding:5px}.media .date .month{margin:0;text-align:center;color:#fff}.media .date .day{text-align:center;color:#fff;font-size:27px;margin:0;line-height:27px;font-weight:700}.event .media-body a.title{font-weight:700}.event .media-body p{margin-bottom:0}h4.graph_title{margin:7px;text-align:center}.fontawesome-icon-list .fa-hover a:hover{background-color:#b7b7b7;color:#fff;text-decoration:none}.fontawesome-icon-list .fa-hover a{display:block;line-height:32px;height:32px;padding-left:10px;border-radius:4px}.fontawesome-icon-list .fa-hover a:hover .fa{font-size:28px;vertical-align:-6px}.fontawesome-icon-list .fa-hover a .fa{width:32px;font-size:16px;display:inline-block;text-align:right;margin-right:10px}.main_menu .fa{width:26px;opacity:.99;display:inline-block;font-family:FontAwesome;font-style:normal;font-weight:400;font-size:18px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.tile-stats{position:relative;display:block;margin-bottom:12px;border:1px solid #e4e4e4;-webkit-border-radius:5px;overflow:hidden;padding-bottom:5px;-webkit-background-clip:padding-box;-moz-border-radius:5px;-moz-background-clip:padding;border-radius:5px;background-clip:padding-box;background:#fff;transition:all .3s ease-in-out}.tile-stats:hover .icon i{animation-name:tansformAnimation;animation-duration:.5s;animation-iteration-count:1;color:rgba(58,58,58,.41);animation-timing-function:ease;animation-fill-mode:forwards;-webkit-animation-name:tansformAnimation;-webkit-animation-duration:.5s;-webkit-animation-iteration-count:1;-webkit-animation-timing-function:ease;-webkit-animation-fill-mode:forwards;-moz-animation-name:tansformAnimation;-moz-animation-duration:.5s;-moz-animation-iteration-count:1;-moz-animation-timing-function:ease;-moz-animation-fill-mode:forwards}.tile-stats .icon{width:20px;height:20px;color:#bab8b8;position:absolute;right:53px;top:22px;z-index:1}.tile-stats .icon i{margin:0;font-size:60px;line-height:0;vertical-align:bottom;padding:0}.tile-stats .count{font-size:38px;font-weight:700;line-height:1.65857}.tile-stats .count,.tile-stats h3,.tile-stats p{position:relative;margin:0;margin-left:10px;z-index:5;padding:0}.tile-stats h3{color:#bab8b8}.tile-stats p{margin-top:5px;font-size:12px}.tile-stats>.dash-box-footer{position:relative;text-align:center;margin-top:5px;padding:3px 0;color:#fff;color:rgba(255,255,255,.8);display:block;z-index:10;background:rgba(0,0,0,.1);text-decoration:none}.tile-stats>.dash-box-footer:hover{color:#fff;background:rgba(0,0,0,.15)}.tile-stats>.dash-box-footer:hover{color:#fff;background:rgba(0,0,0,.15)}table.tile_info{padding:10px 15px}table.tile_info span.right{margin-right:0;float:right;position:absolute;right:4%}.tile:hover{text-decoration:none}.tile_header{border-bottom:transparent;padding:7px 15px;margin-bottom:15px;background:#e7e7e7}.tile_head h4{margin-top:0;margin-bottom:5px}.tiles-bottom{padding:5px 10px;margin-top:10px;background:rgba(194,194,194,.3);text-align:left}a.star{color:#428bca!important}.mail_content{background:none repeat scroll 0 0 #fff;border-radius:4px;margin-top:20px;min-height:500px;padding:10px 11px;width:100%}.list-btn-mail{margin-bottom:15px}.list-btn-mail.active{border-bottom:1px solid #39b3d7;padding:0 0 14px}.list-btn-mail>i{float:left;font-size:18px;font-style:normal;width:33px}.list-btn-mail>.cn{background:none repeat scroll 0 0 #39b3d7;border-radius:12px;color:#fff;float:right;font-style:normal;padding:0 5px}.button-mail{margin:0 0 15px!important;text-align:left;width:100%}.btn,.buttons,.modal-footer .btn+.btn,button{margin-bottom:5px;margin-right:5px}.btn-group .btn,.btn-group-vertical .btn{margin-bottom:0;margin-right:0}.mail_list_column{border-left:1px solid #dbdbdb}.mail_view{border-left:1px solid #dbdbdb}.mail_list{width:100%;border-bottom:1px solid #dbdbdb;margin-bottom:2px;display:inline-block}.mail_list .left{width:5%;float:left;margin-right:3%}.mail_list .right{width:90%;float:left}.mail_list h3{font-size:15px;font-weight:700;margin:0 0 6px}.mail_list h3 small{float:right;color:#adabab;font-size:11px;line-height:20px}.mail_list .badge{padding:3px 6px;font-size:8px;background:#bab7b7}@media (max-width:767px){.mail_list{margin-bottom:5px;display:inline-block}}.mail_heading h4{font-size:18px;border-bottom:1px solid #ddd;padding-bottom:10px;margin-top:20px}.attachment{margin-top:30px}.attachment ul{width:100%;list-style:none;padding-left:0;display:inline-block;margin-bottom:30px}.attachment ul li{float:left;width:150px;margin-right:10px;margin-bottom:10px}.attachment ul li img{height:150px;border:1px solid #ddd;padding:5px;margin-bottom:10px}.attachment ul li span{float:right}.attachment .file-name{float:left}.attachment .links{width:100%;display:inline-block}.compose{padding:0;position:fixed;bottom:0;right:0;background:#fff;border:1px solid #d9dee4;border-right:0;border-bottom:0;border-top-left-radius:5px;z-index:9999;display:none}.compose .compose-header{padding:5px;background:#169f85;color:#fff;border-top-left-radius:5px}.compose .compose-header .close{text-shadow:0 1px 0 #fff;line-height:.8}.compose .compose-body .editor.btn-toolbar{margin:0}.compose .compose-body .editor-wrapper{height:100%;min-height:50px;max-height:180px;border-radius:0;border-left:none;border-right:none;overflow:auto}.compose .compose-footer{padding:10px}.editor.btn-toolbar{zoom:1;background:#f7f7f7;margin:5px 2px;padding:3px 0;border:1px solid #efefef}.input-group{margin-bottom:10px}.ln_solid{border-top:1px solid #e5e5e5;color:#fff;background-color:#fff;height:1px;margin:20px 0}span.section{display:block;width:100%;padding:0;margin-bottom:20px;font-size:21px;line-height:inherit;color:#333;border:0;border-bottom:1px solid #e5e5e5}.form-control{border-radius:0;width:100%}.form-horizontal .control-label{padding-top:8px}.form-control:focus{border-color:#ccd0d7;box-shadow:none!important}legend{font-size:18px;color:inherit}.form-horizontal .form-group{margin-right:0;margin-left:0}.form-control-feedback{margin-top:8px;height:23px;color:#bbb;line-height:24px;font-size:15px}.form-control-feedback.left{border-right:1px solid #ccc;left:13px}.form-control-feedback.right{border-left:1px solid #ccc;right:13px}.form-control.has-feedback-left{padding-left:45px}.form-control.has-feedback-right{padding-right:45px}.form-group{margin-bottom:10px}.validate{margin-top:10px}.invalid-form-error-message{margin-top:10px;padding:5px}.invalid-form-error-message.filled{border-left:2px solid #e74c3c}p.parsley-success{color:#468847;background-color:#dff0d8;border:1px solid #d6e9c6}p.parsley-error{color:#b94a48;background-color:#f2dede;border:1px solid #eed3d7}ul.parsley-errors-list{list-style:none;color:#e74c3c;padding-left:0}input.parsley-error,select.parsley-error,textarea.parsley-error{background:#faedec;border:1px solid #e85445}.btn-group .parsley-errors-list{display:none}.bad input,.bad select,.bad textarea{border:1px solid #ce5454;box-shadow:0 0 4px -2px #ce5454;position:relative;left:0;-moz-animation:.7s 1 shake linear;-webkit-animation:.7s 1 shake linear}.item input,.item textarea{transition:.42s}.item .alert{float:left;margin:0 0 0 20px;padding:3px 10px;color:#fff;border-radius:3px 4px 4px 3px;background-color:#ce5454;max-width:170px;white-space:pre;position:relative;left:-15px;opacity:0;z-index:1;transition:.15s ease-out}.item .alert::after{content:'';display:block;height:0;width:0;border-color:transparent #ce5454 transparent transparent;border-style:solid;border-width:11px 7px;position:absolute;left:-13px;top:1px}.item.bad .alert{left:0;opacity:1}.inl-bl{display:inline-block}.well .markup{background:#fff;color:#777;position:relative;padding:45px 15px 15px;margin:15px 0 0 0;background-color:#fff;border-radius:0 0 4px 4px;box-shadow:none}.well .markup::after{content:'Example';position:absolute;top:15px;left:15px;font-size:12px;font-weight:700;color:#bbb;text-transform:uppercase;letter-spacing:1px}.autocomplete-suggestions{border:1px solid #e4e4e4;background:#f4f4f4;cursor:default;overflow:auto}.autocomplete-suggestion{padding:2px 5px;font-size:1.2em;white-space:nowrap;overflow:hidden}.autocomplete-selected{background:#f0f0f0}.autocomplete-suggestions strong{font-weight:400;color:#39f;font-weight:bolder}.btn{border-radius:3px}a.btn-danger,a.btn-primary,a.btn-success,a.btn-warning{color:#fff}.btn-success{background:#26b99a;border:1px solid #169f85}.btn-success.active,.btn-success:active,.btn-success:focus,.btn-success:hover,.open .dropdown-toggle.btn-success{background:#169f85}.btn-dark{color:#e9edef;background-color:#4b5f71;border-color:#364b5f}.btn-dark.active,.btn-dark:active,.btn-dark:focus,.btn-dark:hover,.open .dropdown-toggle.btn-dark{color:#fff;background-color:#394d5f;border-color:#394d5f}.btn-round{border-radius:30px}.btn.btn-app{position:relative;padding:15px 5px;margin:0 0 10px 10px;min-width:80px;height:60px;box-shadow:none;border-radius:0;text-align:center;color:#666;border:1px solid #ddd;background-color:#fafafa;font-size:12px}.btn.btn-app>.fa,.btn.btn-app>.glyphicon,.btn.btn-app>.ion{font-size:20px;display:block}.btn.btn-app:hover{background:#f4f4f4;color:#444;border-color:#aaa}.btn.btn-app:active,.btn.btn-app:focus{box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn.btn-app>.badge{position:absolute;top:-3px;right:-10px;font-size:10px;font-weight:400}textarea{padding:10px;vertical-align:top;width:200px}textarea:focus{outline-style:solid;outline-width:2px}.btn_{display:inline-block;padding:3px 9px;margin-bottom:0;font-size:14px;line-height:20px;text-align:center;vertical-align:middle;cursor:pointer;color:#333;text-shadow:0 1px 1px rgba(255,255,255,.75);background-color:#f5f5f5;background-image:linear-gradient(to bottom,#fff,#e6e6e6);background-repeat:repeat-x;border-color:#e6e6e6 #e6e6e6 #bfbfbf;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);border:1px solid #ccc;border-bottom-color:#b3b3b3;border-radius:4px;box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05)}.bs-glyphicons{margin:0 -10px 20px;overflow:hidden}.bs-glyphicons-list{padding-left:0;list-style:none}.bs-glyphicons li{float:left;width:25%;height:115px;padding:10px;font-size:10px;line-height:1.4;text-align:center;background-color:#f9f9f9;border:1px solid #fff}.bs-glyphicons .glyphicon{margin-top:5px;margin-bottom:10px;font-size:24px}.bs-glyphicons .glyphicon-class{display:block;text-align:center;word-wrap:break-word}.bs-glyphicons li:hover{color:#fff;background-color:#1abb9c}@media (min-width:768px){.bs-glyphicons{margin-right:0;margin-left:0}.bs-glyphicons li{width:12.5%;font-size:12px}}.tagsinput{border:1px solid #ccc;background:#fff;padding:6px 6px 0;width:300px;overflow-y:auto}span.tag{-moz-border-radius:2px;-webkit-border-radius:2px;display:block;float:left;padding:5px 9px;text-decoration:none;background:#1abb9c;color:#f1f6f7;margin-right:5px;font-weight:500;margin-bottom:5px;font-family:helvetica}span.tag a{color:#f1f6f7!important}.tagsinput span.tag a{font-weight:700;color:#82ad2b;text-decoration:none;font-size:11px}.tagsinput input{width:80px;margin:0;font-family:helvetica;font-size:13px;border:1px solid transparent;padding:3px;background:0 0;color:#000;outline:0}.tagsinput div{display:block;float:left}.tags_clear{clear:both;width:100%;height:0}.not_valid{background:#fbd8db!important;color:#90111a!important}ul.bar_tabs{overflow:visible;background:#f5f7fa;height:25px;margin:21px 0 14px;padding-left:14px;position:relative;z-index:1;width:100%;border-bottom:1px solid #e6e9ed}ul.bar_tabs>li{border:1px solid #e6e9ed;color:#333!important;margin-top:-17px;margin-left:8px;background:#fff;border-bottom:none;border-radius:4px 4px 0 0}ul.bar_tabs>li.active{border-right:6px solid #d3d6da;border-top:0;margin-top:-15px}ul.bar_tabs>li a{padding:10px 17px;background:#f5f7fa;margin:0;border-top-right-radius:0}ul.bar_tabs>li a:hover{border:1px solid transparent}ul.bar_tabs>li.active a{border-bottom:none}ul.bar_tabs.right{padding-right:14px}ul.bar_tabs.right li{float:right}a:focus{outline:0}ul.timeline li{position:relative;border-bottom:1px solid #e8e8e8;clear:both}.timeline .block{margin:0;border-left:3px solid #e8e8e8;overflow:visible;padding:10px 15px;margin-left:105px}.timeline.widget{min-width:0;max-width:inherit}.timeline.widget .block{margin-left:5px}.timeline .tags{position:absolute;top:15px;left:0;width:84px}.timeline .tag{display:block;height:30px;font-size:13px;padding:8px}.timeline .tag span{display:block;overflow:hidden;width:100%;white-space:nowrap;text-overflow:ellipsis}.tag{line-height:1;background:#1abb9c;color:#fff!important}.tag:after{content:' ';height:30px;width:0;position:absolute;left:100%;top:0;margin:0;pointer-events:none;border-top:14px solid transparent;border-bottom:14px solid transparent;border-left:11px solid #1abb9c}.timeline h2.title{position:relative;font-size:16px;margin:0}.timeline h2.title:before{content:'';position:absolute;left:-23px;top:3px;display:block;width:14px;height:14px;border:3px solid #d2d3d2;border-radius:14px;background:#f9f9f9}.timeline .byline{padding:.25em 0}.byline{-webkit-font-smoothing:antialiased;font-style:italic;font-size:.9375em;line-height:1.3;color:#aab6aa}ul.social li{border:0}.social-body,.social-sidebar{float:right}.social-sidebar{background:#ededed;width:22%}.social-body{border:1px solid #ccc;width:78%}.thumb img{width:50px;height:50px;border-radius:50%}.chat .thumb img{width:27px;height:27px;border-radius:50%}.chat .status{float:left;margin:16px 0 0 -16px;font-size:14px;font-weight:700;width:12px;height:12px;display:block;border:2px solid #fff;z-index:12312;border-radius:50%}.chat .status.online{background:#1abb9c}.chat .status.away{background:#f39c12}.chat .status.offline{background:#ccc}.chat .media-body{padding-top:5px}.dashboard_graph .x_title{padding:5px 5px 7px}.dashboard_graph .x_title h3{margin:0;font-weight:400}.chart{position:relative;display:inline-block;width:110px;height:110px;margin-top:5px;margin-bottom:5px;text-align:center}.chart canvas{position:absolute;top:0;left:0}.percent{display:inline-block;line-height:110px;z-index:2;font-size:18px}.percent:after{content:'%';margin-left:.1em;font-size:.8em}.angular{margin-top:100px}.angular .chart{margin-top:0}.widget{min-width:250px;max-width:310px}.widget_tally_box .btn-group button{text-align:center}.widget_tally_box .btn-group button{color:inherit;font-weight:500;background-color:#f5f5f5;border:1px solid #e7e7e7}ul.widget_tally,ul.widget_tally li{width:100%}ul.widget_tally li{padding:2px 10px;border-bottom:1px solid #ececec;padding-bottom:4px}ul.widget_tally .month{width:70%;float:left}ul.widget_tally .count{width:30%;float:left;text-align:right}.pie_bg{border-bottom:1px solid rgba(101,204,182,.16);padding-bottom:15px;border-radius:4px;padding-bottom:10px;box-shadow:0 4px 6px -6px #222}.widget_tally_box .flex{display:-ms-flexbox;display:flex}ul.widget_profile_box{width:100%;height:42px;padding:3px;background:#ececec;margin-top:40px;margin-left:1px}ul.widget_profile_box li:first-child{width:25%;float:left}ul.widget_profile_box li:first-child a{float:left}ul.widget_profile_box li:last-child{width:25%;float:right}ul.widget_profile_box li:last-child a{float:right}ul.widget_profile_box li a{font-size:22px;text-align:center;width:35px;height:35px;border:1px solid rgba(52,73,94,.44);display:block;border-radius:50%;padding:0}ul.widget_profile_box li a:hover{color:#1abb9c!important;border:1px solid #26b99a}ul.widget_profile_box li .profile_img{width:85px;height:85px;margin:0;margin-top:-28px}.widget_tally_box p,.widget_tally_box span{text-align:center}.widget_tally_box .name{text-align:center;margin:25px}.widget_tally_box .name_title{text-align:center;margin:5px}.widget_tally_box ul.legend{margin:0}.widget_tally_box ul.legend p,.widget_tally_box ul.legend span{text-align:left}.widget_tally_box ul.legend li .icon{font-size:20px;float:left;width:14px}.widget_tally_box ul.legend li .name{font-size:14px;margin:5px 0 0 14px;text-overflow:ellipsis;float:left}.widget_tally_box ul.legend p{display:inline-block;margin:0}.widget_tally_box ul.verticle_bars li{height:140px;width:23%}.widget .verticle_bars li .progress.vertical.progress_wide{width:65%}ul.count2{width:100%;margin-left:1px;border:1px solid #ddd;border-left:0;border-right:0;padding:10px 0}ul.count2 li{width:30%;text-align:center}ul.count2 li h3{font-weight:400;margin:0}ul.count2 li span{font-weight:300}.divider{border-bottom:1px solid #ddd;margin:10px}.divider-dashed{border-top:1px dashed #e7eaec;background-color:#fff;height:1px;margin:10px 0}ul.messages{padding:0;list-style:none}.tasks li,ul.messages li{border-bottom:1px dotted #e6e6e6;padding:8px 0}img.avatar,ul.messages li img.avatar{height:32px;width:32px;float:left;display:inline-block;border-radius:2px;padding:2px;background:#f7f7f7;border:1px solid #e6e6e6}ul.messages li .message_date{float:right;text-align:right}ul.messages li .message_wrapper{margin-left:50px;margin-right:40px}ul.messages li .message_wrapper h4.heading{font-weight:600;margin:0;cursor:pointer;margin-bottom:10px;line-height:100%}ul.messages li .message_wrapper blockquote{padding:0 10px;margin:0;border-left:5px solid #eee}ul.user_data li{margin-bottom:6px}ul.user_data li p{margin-bottom:0}ul.user_data li .progress{width:90%}.project_progress .progress{margin-bottom:3px!important;margin-top:5px}.projects .list-inline{margin:0}.profile_title{background:#f5f7fa;border:0;padding:7px 0;display:-ms-flexbox;display:flex}ul.stats-overview{border-bottom:1px solid #e8e8e8;padding-bottom:10px;margin-bottom:10px}ul.stats-overview li{display:inline-block;text-align:center;padding:0 15px;width:30%;font-size:14px;border-right:1px solid #e8e8e8}ul.stats-overview li:last-child{border-right:0}ul.stats-overview li .name{font-size:12px}ul.stats-overview li .value{font-size:14px;font-weight:700;display:block}ul.stats-overview li:first-child{padding-left:0}ul.project_files li{margin-bottom:5px}ul.project_files li a i{width:20px}.project_detail p{margin-bottom:10px}.project_detail p.title{font-weight:700;margin-bottom:0}.avatar img{border-radius:50%;max-width:45px}.pricing{background:#fff}.pricing .title{background:#1abb9c;height:110px;color:#fff;padding:15px 0 0;text-align:center}.pricing .title h2{text-transform:capitalize;font-size:18px;border-radius:5px 5px 0 0;margin:0;font-weight:400}.pricing .title h1{font-size:30px;margin:12px}.pricing .title span{background:rgba(51,51,51,.28);padding:2px 5px}.pricing_features{background:#fafafa;padding:20px 15px;min-height:230px;font-size:13.5px}.pricing_features ul li{margin-top:10px}.pricing_footer{padding:10px 15px;background-color:#f5f5f5;border-top:1px solid #ddd;text-align:center;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.pricing_footer p{font-size:13px;padding:10px 0 2px;display:block}.ui-ribbon-container{position:relative}.ui-ribbon-container .ui-ribbon-wrapper{position:absolute;overflow:hidden;width:85px;height:88px;top:-3px;right:-3px}.ui-ribbon-container.ui-ribbon-primary .ui-ribbon{background-color:#5b90bf}.ui-ribbon-container .ui-ribbon{position:relative;display:block;text-align:center;font-size:15px;font-weight:700;color:#fff;transform:rotate(45deg);padding:7px 0;left:-5px;top:15px;width:120px;line-height:20px;background-color:#555;box-shadow:0 0 3px rgba(0,0,0,.3)}.ui-ribbon-container.ui-ribbon-primary .ui-ribbon:after,.ui-ribbon-container.ui-ribbon-primary .ui-ribbon:before{border-top:2px solid #5b90bf}.ui-ribbon-container .ui-ribbon:before{left:0;bottom:-1px}.ui-ribbon-container .ui-ribbon:before{right:0}.ui-ribbon-container .ui-ribbon:after,.ui-ribbon-container .ui-ribbon:before{position:absolute;content:' ';line-height:0;border-top:2px solid #555;border-left:2px solid transparent;border-right:2px solid transparent}.thumbnail .image{height:120px;overflow:hidden}.caption{padding:9px 5px;background:#f7f7f7}.caption p{margin-bottom:5px}.thumbnail{height:190px;overflow:hidden}.view{overflow:hidden;position:relative;text-align:center;box-shadow:1px 1px 2px #e6e6e6;cursor:default}.view .content,.view .mask{position:absolute;width:100%;overflow:hidden;top:0;left:0}.view img{display:block;position:relative}.view .tools{text-transform:uppercase;color:#fff;text-align:center;position:relative;font-size:17px;padding:3px;background:rgba(0,0,0,.35);margin:43px 0 0 0}.mask.no-caption .tools{margin:90px 0 0 0}.view .tools a{display:inline-block;color:#fff;font-size:18px;font-weight:400;padding:0 4px}.view p{font-family:Georgia,serif;font-style:italic;font-size:12px;position:relative;color:#fff;padding:10px 20px 20px;text-align:center}.view a.info{display:inline-block;text-decoration:none;padding:7px 14px;background:#000;color:#fff;text-transform:uppercase;box-shadow:0 0 1px #000}.view-first img{transition:all .2s linear}.view-first .mask{opacity:0;background-color:rgba(0,0,0,.5);transition:all .4s ease-in-out}.view-first .tools{transform:translateY(-100px);opacity:0;transition:all .2s ease-in-out}.view-first p{transform:translateY(100px);opacity:0;transition:all .2s linear}.view-first:hover img{transform:scale(1.1)}.view-first:hover .mask{opacity:1}.view-first:hover .tools,.view-first:hover p{opacity:1;transform:translateY(0)}.view-first:hover p{transition-delay:0.1s}/*! + */:host,:root{--fa-font-solid:normal 900 1em/1 "Font Awesome 6 Solid";--fa-font-regular:normal 400 1em/1 "Font Awesome 6 Regular";--fa-font-light:normal 300 1em/1 "Font Awesome 6 Light";--fa-font-thin:normal 100 1em/1 "Font Awesome 6 Thin";--fa-font-duotone:normal 900 1em/1 "Font Awesome 6 Duotone";--fa-font-sharp-solid:normal 900 1em/1 "Font Awesome 6 Sharp";--fa-font-sharp-regular:normal 400 1em/1 "Font Awesome 6 Sharp";--fa-font-sharp-light:normal 300 1em/1 "Font Awesome 6 Sharp";--fa-font-brands:normal 400 1em/1 "Font Awesome 6 Brands"}svg:not(:host).svg-inline--fa,svg:not(:root).svg-inline--fa{overflow:visible;box-sizing:content-box}.svg-inline--fa{display:var(--fa-display,inline-block);height:1em;overflow:visible;vertical-align:-.125em}.svg-inline--fa.fa-2xs{vertical-align:.1em}.svg-inline--fa.fa-xs{vertical-align:0}.svg-inline--fa.fa-sm{vertical-align:-.07143em}.svg-inline--fa.fa-lg{vertical-align:-.2em}.svg-inline--fa.fa-xl{vertical-align:-.25em}.svg-inline--fa.fa-2xl{vertical-align:-.3125em}.svg-inline--fa.fa-pull-left{margin-right:var(--fa-pull-margin,.3em);width:auto}.svg-inline--fa.fa-pull-right{margin-left:var(--fa-pull-margin,.3em);width:auto}.svg-inline--fa.fa-li{width:var(--fa-li-width,2em);top:.25em}.svg-inline--fa.fa-fw{width:var(--fa-fw-width,1.25em)}.fa-layers svg.svg-inline--fa{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0}.fa-layers-counter,.fa-layers-text{display:inline-block;position:absolute;text-align:center}.fa-layers{display:inline-block;height:1em;position:relative;text-align:center;vertical-align:-.125em;width:1em}.fa-layers svg.svg-inline--fa{-webkit-transform-origin:center center;transform-origin:center center}.fa-layers-text{left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);-webkit-transform-origin:center center;transform-origin:center center}.fa-layers-counter{background-color:var(--fa-counter-background-color,#ff253a);border-radius:var(--fa-counter-border-radius,1em);box-sizing:border-box;color:var(--fa-inverse,#fff);line-height:var(--fa-counter-line-height,1);max-width:var(--fa-counter-max-width,5em);min-width:var(--fa-counter-min-width,1.5em);overflow:hidden;padding:var(--fa-counter-padding,.25em .5em);right:var(--fa-right,0);text-overflow:ellipsis;top:var(--fa-top,0);-webkit-transform:scale(var(--fa-counter-scale,.25));transform:scale(var(--fa-counter-scale,.25));-webkit-transform-origin:top right;transform-origin:top right}.fa-layers-bottom-right{bottom:var(--fa-bottom,0);right:var(--fa-right,0);top:auto;-webkit-transform:scale(var(--fa-layers-scale,.25));transform:scale(var(--fa-layers-scale,.25));-webkit-transform-origin:bottom right;transform-origin:bottom right}.fa-layers-bottom-left{bottom:var(--fa-bottom,0);left:var(--fa-left,0);right:auto;top:auto;-webkit-transform:scale(var(--fa-layers-scale,.25));transform:scale(var(--fa-layers-scale,.25));-webkit-transform-origin:bottom left;transform-origin:bottom left}.fa-layers-top-right{top:var(--fa-top,0);right:var(--fa-right,0);-webkit-transform:scale(var(--fa-layers-scale,.25));transform:scale(var(--fa-layers-scale,.25));-webkit-transform-origin:top right;transform-origin:top right}.fa-layers-top-left{left:var(--fa-left,0);right:auto;top:var(--fa-top,0);-webkit-transform:scale(var(--fa-layers-scale,.25));transform:scale(var(--fa-layers-scale,.25));-webkit-transform-origin:top left;transform-origin:top left}.fa-1x{font-size:1em}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-6x{font-size:6em}.fa-7x{font-size:7em}.fa-8x{font-size:8em}.fa-9x{font-size:9em}.fa-10x{font-size:10em}.fa-2xs{font-size:.625em;line-height:.1em;vertical-align:.225em}.fa-xs{font-size:.75em;line-height:.08333em;vertical-align:.125em}.fa-sm{font-size:.875em;line-height:.07143em;vertical-align:.05357em}.fa-lg{font-size:1.25em;line-height:.05em;vertical-align:-.075em}.fa-xl{font-size:1.5em;line-height:.04167em;vertical-align:-.125em}.fa-2xl{font-size:2em;line-height:.03125em;vertical-align:-.1875em}.fa-fw{text-align:center;width:1.25em}.fa-ul{list-style-type:none;margin-left:var(--fa-li-margin,2.5em);padding-left:0}.fa-ul>li{position:relative}.fa-li{left:calc(var(--fa-li-width,2em)*-1);position:absolute;text-align:center;width:var(--fa-li-width,2em);line-height:inherit}.fa-border{border-radius:var(--fa-border-radius,.1em);border:var(--fa-border-width,.08em) var(--fa-border-style,solid) var(--fa-border-color,#eee);padding:var(--fa-border-padding,.2em .25em .15em)}.fa-pull-left{float:left;margin-right:var(--fa-pull-margin,.3em)}.fa-pull-right{float:right;margin-left:var(--fa-pull-margin,.3em)}.fa-beat{-webkit-animation-name:fa-beat;animation-name:fa-beat;-webkit-animation-delay:var(--fa-animation-delay,0s);animation-delay:var(--fa-animation-delay,0s);-webkit-animation-direction:var(--fa-animation-direction,normal);animation-direction:var(--fa-animation-direction,normal);-webkit-animation-duration:var(--fa-animation-duration,1s);animation-duration:var(--fa-animation-duration,1s);-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,ease-in-out);animation-timing-function:var(--fa-animation-timing,ease-in-out)}.fa-bounce{-webkit-animation-name:fa-bounce;animation-name:fa-bounce;-webkit-animation-delay:var(--fa-animation-delay,0s);animation-delay:var(--fa-animation-delay,0s);-webkit-animation-direction:var(--fa-animation-direction,normal);animation-direction:var(--fa-animation-direction,normal);-webkit-animation-duration:var(--fa-animation-duration,1s);animation-duration:var(--fa-animation-duration,1s);-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,cubic-bezier(.28,.84,.42,1));animation-timing-function:var(--fa-animation-timing,cubic-bezier(.28,.84,.42,1))}.fa-fade{-webkit-animation-name:fa-fade;animation-name:fa-fade;-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,cubic-bezier(.4,0,.6,1));animation-timing-function:var(--fa-animation-timing,cubic-bezier(.4,0,.6,1))}.fa-beat-fade,.fa-fade{-webkit-animation-delay:var(--fa-animation-delay,0s);animation-delay:var(--fa-animation-delay,0s);-webkit-animation-direction:var(--fa-animation-direction,normal);animation-direction:var(--fa-animation-direction,normal);-webkit-animation-duration:var(--fa-animation-duration,1s);animation-duration:var(--fa-animation-duration,1s)}.fa-beat-fade{-webkit-animation-name:fa-beat-fade;animation-name:fa-beat-fade;-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,cubic-bezier(.4,0,.6,1));animation-timing-function:var(--fa-animation-timing,cubic-bezier(.4,0,.6,1))}.fa-flip{-webkit-animation-name:fa-flip;animation-name:fa-flip;-webkit-animation-delay:var(--fa-animation-delay,0s);animation-delay:var(--fa-animation-delay,0s);-webkit-animation-direction:var(--fa-animation-direction,normal);animation-direction:var(--fa-animation-direction,normal);-webkit-animation-duration:var(--fa-animation-duration,1s);animation-duration:var(--fa-animation-duration,1s);-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,ease-in-out);animation-timing-function:var(--fa-animation-timing,ease-in-out)}.fa-shake{-webkit-animation-name:fa-shake;animation-name:fa-shake;-webkit-animation-duration:var(--fa-animation-duration,1s);animation-duration:var(--fa-animation-duration,1s);-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,linear);animation-timing-function:var(--fa-animation-timing,linear)}.fa-shake,.fa-spin{-webkit-animation-delay:var(--fa-animation-delay,0s);animation-delay:var(--fa-animation-delay,0s);-webkit-animation-direction:var(--fa-animation-direction,normal);animation-direction:var(--fa-animation-direction,normal)}.fa-spin{-webkit-animation-name:fa-spin;animation-name:fa-spin;-webkit-animation-duration:var(--fa-animation-duration,2s);animation-duration:var(--fa-animation-duration,2s);-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,linear);animation-timing-function:var(--fa-animation-timing,linear)}.fa-spin-reverse{--fa-animation-direction:reverse}.fa-pulse,.fa-spin-pulse{-webkit-animation-name:fa-spin;animation-name:fa-spin;-webkit-animation-direction:var(--fa-animation-direction,normal);animation-direction:var(--fa-animation-direction,normal);-webkit-animation-duration:var(--fa-animation-duration,1s);animation-duration:var(--fa-animation-duration,1s);-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,steps(8));animation-timing-function:var(--fa-animation-timing,steps(8))}@media (prefers-reduced-motion:reduce){.fa-beat,.fa-beat-fade,.fa-bounce,.fa-fade,.fa-flip,.fa-pulse,.fa-shake,.fa-spin,.fa-spin-pulse{-webkit-animation-delay:-1ms;animation-delay:-1ms;-webkit-animation-duration:1ms;animation-duration:1ms;-webkit-animation-iteration-count:1;animation-iteration-count:1;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s}}@-webkit-keyframes fa-beat{0%,90%{-webkit-transform:scale(1);transform:scale(1)}45%{-webkit-transform:scale(var(--fa-beat-scale,1.25));transform:scale(var(--fa-beat-scale,1.25))}}@keyframes fa-beat{0%,90%{-webkit-transform:scale(1);transform:scale(1)}45%{-webkit-transform:scale(var(--fa-beat-scale,1.25));transform:scale(var(--fa-beat-scale,1.25))}}@-webkit-keyframes fa-bounce{0%{-webkit-transform:scale(1) translateY(0);transform:scale(1) translateY(0)}10%{-webkit-transform:scale(var(--fa-bounce-start-scale-x,1.1),var(--fa-bounce-start-scale-y,.9)) translateY(0);transform:scale(var(--fa-bounce-start-scale-x,1.1),var(--fa-bounce-start-scale-y,.9)) translateY(0)}30%{-webkit-transform:scale(var(--fa-bounce-jump-scale-x,.9),var(--fa-bounce-jump-scale-y,1.1)) translateY(var(--fa-bounce-height,-.5em));transform:scale(var(--fa-bounce-jump-scale-x,.9),var(--fa-bounce-jump-scale-y,1.1)) translateY(var(--fa-bounce-height,-.5em))}50%{-webkit-transform:scale(var(--fa-bounce-land-scale-x,1.05),var(--fa-bounce-land-scale-y,.95)) translateY(0);transform:scale(var(--fa-bounce-land-scale-x,1.05),var(--fa-bounce-land-scale-y,.95)) translateY(0)}57%{-webkit-transform:scale(1) translateY(var(--fa-bounce-rebound,-.125em));transform:scale(1) translateY(var(--fa-bounce-rebound,-.125em))}64%{-webkit-transform:scale(1) translateY(0);transform:scale(1) translateY(0)}to{-webkit-transform:scale(1) translateY(0);transform:scale(1) translateY(0)}}@keyframes fa-bounce{0%{-webkit-transform:scale(1) translateY(0);transform:scale(1) translateY(0)}10%{-webkit-transform:scale(var(--fa-bounce-start-scale-x,1.1),var(--fa-bounce-start-scale-y,.9)) translateY(0);transform:scale(var(--fa-bounce-start-scale-x,1.1),var(--fa-bounce-start-scale-y,.9)) translateY(0)}30%{-webkit-transform:scale(var(--fa-bounce-jump-scale-x,.9),var(--fa-bounce-jump-scale-y,1.1)) translateY(var(--fa-bounce-height,-.5em));transform:scale(var(--fa-bounce-jump-scale-x,.9),var(--fa-bounce-jump-scale-y,1.1)) translateY(var(--fa-bounce-height,-.5em))}50%{-webkit-transform:scale(var(--fa-bounce-land-scale-x,1.05),var(--fa-bounce-land-scale-y,.95)) translateY(0);transform:scale(var(--fa-bounce-land-scale-x,1.05),var(--fa-bounce-land-scale-y,.95)) translateY(0)}57%{-webkit-transform:scale(1) translateY(var(--fa-bounce-rebound,-.125em));transform:scale(1) translateY(var(--fa-bounce-rebound,-.125em))}64%{-webkit-transform:scale(1) translateY(0);transform:scale(1) translateY(0)}to{-webkit-transform:scale(1) translateY(0);transform:scale(1) translateY(0)}}@-webkit-keyframes fa-fade{50%{opacity:var(--fa-fade-opacity,.4)}}@keyframes fa-fade{50%{opacity:var(--fa-fade-opacity,.4)}}@-webkit-keyframes fa-beat-fade{0%,to{opacity:var(--fa-beat-fade-opacity,.4);-webkit-transform:scale(1);transform:scale(1)}50%{opacity:1;-webkit-transform:scale(var(--fa-beat-fade-scale,1.125));transform:scale(var(--fa-beat-fade-scale,1.125))}}@keyframes fa-beat-fade{0%,to{opacity:var(--fa-beat-fade-opacity,.4);-webkit-transform:scale(1);transform:scale(1)}50%{opacity:1;-webkit-transform:scale(var(--fa-beat-fade-scale,1.125));transform:scale(var(--fa-beat-fade-scale,1.125))}}@-webkit-keyframes fa-flip{50%{-webkit-transform:rotate3d(var(--fa-flip-x,0),var(--fa-flip-y,1),var(--fa-flip-z,0),var(--fa-flip-angle,-180deg));transform:rotate3d(var(--fa-flip-x,0),var(--fa-flip-y,1),var(--fa-flip-z,0),var(--fa-flip-angle,-180deg))}}@keyframes fa-flip{50%{-webkit-transform:rotate3d(var(--fa-flip-x,0),var(--fa-flip-y,1),var(--fa-flip-z,0),var(--fa-flip-angle,-180deg));transform:rotate3d(var(--fa-flip-x,0),var(--fa-flip-y,1),var(--fa-flip-z,0),var(--fa-flip-angle,-180deg))}}@-webkit-keyframes fa-shake{0%{-webkit-transform:rotate(-15deg);transform:rotate(-15deg)}4%{-webkit-transform:rotate(15deg);transform:rotate(15deg)}24%,8%{-webkit-transform:rotate(-18deg);transform:rotate(-18deg)}12%,28%{-webkit-transform:rotate(18deg);transform:rotate(18deg)}16%{-webkit-transform:rotate(-22deg);transform:rotate(-22deg)}20%{-webkit-transform:rotate(22deg);transform:rotate(22deg)}32%{-webkit-transform:rotate(-12deg);transform:rotate(-12deg)}36%{-webkit-transform:rotate(12deg);transform:rotate(12deg)}40%,to{-webkit-transform:rotate(0);transform:rotate(0)}}@keyframes fa-shake{0%{-webkit-transform:rotate(-15deg);transform:rotate(-15deg)}4%{-webkit-transform:rotate(15deg);transform:rotate(15deg)}24%,8%{-webkit-transform:rotate(-18deg);transform:rotate(-18deg)}12%,28%{-webkit-transform:rotate(18deg);transform:rotate(18deg)}16%{-webkit-transform:rotate(-22deg);transform:rotate(-22deg)}20%{-webkit-transform:rotate(22deg);transform:rotate(22deg)}32%{-webkit-transform:rotate(-12deg);transform:rotate(-12deg)}36%{-webkit-transform:rotate(12deg);transform:rotate(12deg)}40%,to{-webkit-transform:rotate(0);transform:rotate(0)}}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.fa-rotate-90{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-webkit-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-webkit-transform:scaleX(-1);transform:scaleX(-1)}.fa-flip-vertical{-webkit-transform:scaleY(-1);transform:scaleY(-1)}.fa-flip-both,.fa-flip-horizontal.fa-flip-vertical{-webkit-transform:scale(-1);transform:scale(-1)}.fa-rotate-by{-webkit-transform:rotate(var(--fa-rotate-angle,none));transform:rotate(var(--fa-rotate-angle,none))}.fa-stack{display:inline-block;vertical-align:middle;height:2em;position:relative;width:2.5em}.fa-stack-1x,.fa-stack-2x{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;z-index:var(--fa-stack-z-index,auto)}.svg-inline--fa.fa-stack-1x{height:1em;width:1.25em}.svg-inline--fa.fa-stack-2x{height:2em;width:2.5em}.fa-inverse{color:var(--fa-inverse,#fff)}.fa-sr-only,.fa-sr-only-focusable:not(:focus),.sr-only,.sr-only-focusable:not(:focus){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.svg-inline--fa .fa-primary{fill:var(--fa-primary-color,currentColor);opacity:var(--fa-primary-opacity,1)}.svg-inline--fa .fa-secondary{fill:var(--fa-secondary-color,currentColor)}.svg-inline--fa .fa-secondary,.svg-inline--fa.fa-swap-opacity .fa-primary{opacity:var(--fa-secondary-opacity,.4)}.svg-inline--fa.fa-swap-opacity .fa-secondary{opacity:var(--fa-primary-opacity,1)}.svg-inline--fa mask .fa-primary,.svg-inline--fa mask .fa-secondary{fill:#000}.fa-duotone.fa-inverse,.fad.fa-inverse{color:var(--fa-inverse,#fff)}body.compensate-for-scrollbar{overflow:hidden}.fancybox-active{height:auto}.fancybox-is-hidden{left:-9999px;margin:0;position:absolute!important;top:-9999px;visibility:hidden}.fancybox-container{-webkit-backface-visibility:hidden;height:100%;left:0;outline:0;position:fixed;-webkit-tap-highlight-color:transparent;top:0;-ms-touch-action:manipulation;touch-action:manipulation;transform:translateZ(0);width:100%;z-index:99992}.fancybox-container *{box-sizing:border-box}.fancybox-bg,.fancybox-inner,.fancybox-outer,.fancybox-stage{bottom:0;left:0;position:absolute;right:0;top:0}.fancybox-outer{-webkit-overflow-scrolling:touch;overflow-y:auto}.fancybox-bg{background:#1e1e1e;opacity:0;transition-duration:inherit;transition-property:opacity;transition-timing-function:cubic-bezier(.47,0,.74,.71)}.fancybox-is-open .fancybox-bg{opacity:.9;transition-timing-function:cubic-bezier(.22,.61,.36,1)}.fancybox-caption,.fancybox-infobar,.fancybox-navigation .fancybox-button,.fancybox-toolbar{direction:ltr;opacity:0;position:absolute;transition:opacity .25s ease,visibility 0s ease .25s;visibility:hidden;z-index:99997}.fancybox-show-caption .fancybox-caption,.fancybox-show-infobar .fancybox-infobar,.fancybox-show-nav .fancybox-navigation .fancybox-button,.fancybox-show-toolbar .fancybox-toolbar{opacity:1;transition:opacity .25s ease 0s,visibility 0s ease 0s;visibility:visible}.fancybox-infobar{color:#ccc;font-size:13px;-webkit-font-smoothing:subpixel-antialiased;height:44px;left:0;line-height:44px;min-width:44px;mix-blend-mode:difference;padding:0 10px;pointer-events:none;top:0;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.fancybox-toolbar{right:0;top:0}.fancybox-stage{direction:ltr;overflow:visible;transform:translateZ(0);z-index:99994}.fancybox-is-open .fancybox-stage{overflow:hidden}.fancybox-slide{-webkit-backface-visibility:hidden;display:none;height:100%;left:0;outline:0;overflow:auto;-webkit-overflow-scrolling:touch;padding:44px;position:absolute;text-align:center;top:0;transition-property:transform,opacity;white-space:normal;width:100%;z-index:99994}.fancybox-slide:before{content:"";display:inline-block;font-size:0;height:100%;vertical-align:middle;width:0}.fancybox-is-sliding .fancybox-slide,.fancybox-slide--current,.fancybox-slide--next,.fancybox-slide--previous{display:block}.fancybox-slide--image{overflow:hidden;padding:44px 0}.fancybox-slide--image:before{display:none}.fancybox-slide--html{padding:6px}.fancybox-content{background:#fff;display:inline-block;margin:0;max-width:100%;overflow:auto;-webkit-overflow-scrolling:touch;padding:44px;position:relative;text-align:left;vertical-align:middle}.fancybox-slide--image .fancybox-content{animation-timing-function:cubic-bezier(.5,0,.14,1);-webkit-backface-visibility:hidden;background:0 0;background-repeat:no-repeat;background-size:100% 100%;left:0;max-width:none;overflow:visible;padding:0;position:absolute;top:0;transform-origin:top left;transition-property:transform,opacity;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;z-index:99995}.fancybox-can-zoomOut .fancybox-content{cursor:zoom-out}.fancybox-can-zoomIn .fancybox-content{cursor:zoom-in}.fancybox-can-pan .fancybox-content,.fancybox-can-swipe .fancybox-content{cursor:grab}.fancybox-is-grabbing .fancybox-content{cursor:grabbing}.fancybox-container [data-selectable=true]{cursor:text}.fancybox-image,.fancybox-spaceball{background:0 0;border:0;height:100%;left:0;margin:0;max-height:none;max-width:none;padding:0;position:absolute;top:0;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:100%}.fancybox-spaceball{z-index:1}.fancybox-slide--iframe .fancybox-content,.fancybox-slide--map .fancybox-content,.fancybox-slide--pdf .fancybox-content,.fancybox-slide--video .fancybox-content{height:100%;overflow:visible;padding:0;width:100%}.fancybox-slide--video .fancybox-content{background:#000}.fancybox-slide--map .fancybox-content{background:#e5e3df}.fancybox-slide--iframe .fancybox-content{background:#fff}.fancybox-iframe,.fancybox-video{background:0 0;border:0;display:block;height:100%;margin:0;overflow:hidden;padding:0;width:100%}.fancybox-iframe{left:0;position:absolute;top:0}.fancybox-error{background:#fff;cursor:default;max-width:400px;padding:40px;width:100%}.fancybox-error p{color:#444;font-size:16px;line-height:20px;margin:0;padding:0}.fancybox-button{background:rgba(30,30,30,.6);border:0;border-radius:0;box-shadow:none;cursor:pointer;display:inline-block;height:44px;margin:0;padding:10px;position:relative;transition:color .2s;vertical-align:top;visibility:inherit;width:44px}.fancybox-button,.fancybox-button:link,.fancybox-button:visited{color:#ccc}.fancybox-button:hover{color:#fff}.fancybox-button:focus{outline:0}.fancybox-button.fancybox-focus{outline:1px dotted}.fancybox-button[disabled],.fancybox-button[disabled]:hover{color:#888;cursor:default;outline:0}.fancybox-button div{height:100%}.fancybox-button svg{display:block;height:100%;overflow:visible;position:relative;width:100%}.fancybox-button svg path{fill:currentColor;stroke-width:0}.fancybox-button--fsenter svg:nth-child(2),.fancybox-button--fsexit svg:first-child,.fancybox-button--pause svg:first-child,.fancybox-button--play svg:nth-child(2){display:none}.fancybox-progress{background:#ff5268;height:2px;left:0;position:absolute;right:0;top:0;transform:scaleX(0);transform-origin:0;transition-property:transform;transition-timing-function:linear;z-index:99998}.fancybox-close-small{background:0 0;border:0;border-radius:0;color:#ccc;cursor:pointer;opacity:.8;padding:8px;position:absolute;right:-12px;top:-44px;z-index:401}.fancybox-close-small:hover{color:#fff;opacity:1}.fancybox-slide--html .fancybox-close-small{color:currentColor;padding:10px;right:0;top:0}.fancybox-slide--image.fancybox-is-scaling .fancybox-content{overflow:hidden}.fancybox-is-scaling .fancybox-close-small,.fancybox-is-zoomable.fancybox-can-pan .fancybox-close-small{display:none}.fancybox-navigation .fancybox-button{background-clip:content-box;height:100px;opacity:0;position:absolute;top:calc(50% - 50px);width:70px}.fancybox-navigation .fancybox-button div{padding:7px}.fancybox-navigation .fancybox-button--arrow_left{left:0;left:env(safe-area-inset-left);padding:31px 26px 31px 6px}.fancybox-navigation .fancybox-button--arrow_right{padding:31px 6px 31px 26px;right:0;right:env(safe-area-inset-right)}.fancybox-caption{background:linear-gradient(0deg,rgba(0,0,0,.85) 0,rgba(0,0,0,.3) 50%,rgba(0,0,0,.15) 65%,rgba(0,0,0,.075) 75.5%,rgba(0,0,0,.037) 82.85%,rgba(0,0,0,.019) 88%,transparent);bottom:0;color:#eee;font-size:14px;font-weight:400;left:0;line-height:1.5;padding:75px 44px 25px;pointer-events:none;right:0;text-align:center;z-index:99996}@supports (padding:max(0px)){.fancybox-caption{padding:75px max(44px,env(safe-area-inset-right)) max(25px,env(safe-area-inset-bottom)) max(44px,env(safe-area-inset-left))}}.fancybox-caption--separate{margin-top:-50px}.fancybox-caption__body{max-height:50vh;overflow:auto;pointer-events:all}.fancybox-caption a,.fancybox-caption a:link,.fancybox-caption a:visited{color:#ccc;text-decoration:none}.fancybox-caption a:hover{color:#fff;text-decoration:underline}.fancybox-loading{animation:a 1s linear infinite;background:0 0;border:4px solid #888;border-bottom-color:#fff;border-radius:50%;height:50px;left:50%;margin:-25px 0 0 -25px;opacity:.7;padding:0;position:absolute;top:50%;width:50px;z-index:99999}@keyframes a{to{transform:rotate(1turn)}}.fancybox-animated{transition-timing-function:cubic-bezier(0,0,.25,1)}.fancybox-fx-slide.fancybox-slide--previous{opacity:0;transform:translate3d(-100%,0,0)}.fancybox-fx-slide.fancybox-slide--next{opacity:0;transform:translate3d(100%,0,0)}.fancybox-fx-slide.fancybox-slide--current{opacity:1;transform:translateZ(0)}.fancybox-fx-fade.fancybox-slide--next,.fancybox-fx-fade.fancybox-slide--previous{opacity:0;transition-timing-function:cubic-bezier(.19,1,.22,1)}.fancybox-fx-fade.fancybox-slide--current{opacity:1}.fancybox-fx-zoom-in-out.fancybox-slide--previous{opacity:0;transform:scale3d(1.5,1.5,1.5)}.fancybox-fx-zoom-in-out.fancybox-slide--next{opacity:0;transform:scale3d(.5,.5,.5)}.fancybox-fx-zoom-in-out.fancybox-slide--current{opacity:1;transform:scaleX(1)}.fancybox-fx-rotate.fancybox-slide--previous{opacity:0;transform:rotate(-1turn)}.fancybox-fx-rotate.fancybox-slide--next{opacity:0;transform:rotate(1turn)}.fancybox-fx-rotate.fancybox-slide--current{opacity:1;transform:rotate(0)}.fancybox-fx-circular.fancybox-slide--previous{opacity:0;transform:scale3d(0,0,0) translate3d(-100%,0,0)}.fancybox-fx-circular.fancybox-slide--next{opacity:0;transform:scale3d(0,0,0) translate3d(100%,0,0)}.fancybox-fx-circular.fancybox-slide--current{opacity:1;transform:scaleX(1) translateZ(0)}.fancybox-fx-tube.fancybox-slide--previous{transform:translate3d(-100%,0,0) scale(.1) skew(-10deg)}.fancybox-fx-tube.fancybox-slide--next{transform:translate3d(100%,0,0) scale(.1) skew(10deg)}.fancybox-fx-tube.fancybox-slide--current{transform:translateZ(0) scale(1)}@media (max-height:576px){.fancybox-slide{padding-left:6px;padding-right:6px}.fancybox-slide--image{padding:6px 0}.fancybox-close-small{right:-6px}.fancybox-slide--image .fancybox-close-small{background:#4e4e4e;color:#f2f4f6;height:36px;opacity:1;padding:6px;right:0;top:0;width:36px}.fancybox-caption{padding-left:12px;padding-right:12px}@supports (padding:max(0px)){.fancybox-caption{padding-left:max(12px,env(safe-area-inset-left));padding-right:max(12px,env(safe-area-inset-right))}}}.fancybox-share{background:#f4f4f4;border-radius:3px;max-width:90%;padding:30px;text-align:center}.fancybox-share h1{color:#222;font-size:35px;font-weight:700;margin:0 0 20px}.fancybox-share p{margin:0;padding:0}.fancybox-share__button{border:0;border-radius:3px;display:inline-block;font-size:14px;font-weight:700;line-height:40px;margin:0 5px 10px;min-width:130px;padding:0 15px;text-decoration:none;transition:all .2s;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap}.fancybox-share__button:link,.fancybox-share__button:visited{color:#fff}.fancybox-share__button:hover{text-decoration:none}.fancybox-share__button--fb{background:#3b5998}.fancybox-share__button--fb:hover{background:#344e86}.fancybox-share__button--pt{background:#bd081d}.fancybox-share__button--pt:hover{background:#aa0719}.fancybox-share__button--tw{background:#1da1f2}.fancybox-share__button--tw:hover{background:#0d95e8}.fancybox-share__button svg{height:25px;margin-right:7px;position:relative;top:-1px;vertical-align:middle;width:25px}.fancybox-share__button svg path{fill:#fff}.fancybox-share__input{background:0 0;border:0;border-bottom:1px solid #d7d7d7;border-radius:0;color:#5d5b5b;font-size:14px;margin:10px 0 0;outline:0;padding:10px 15px;width:100%}.fancybox-thumbs{background:#ddd;bottom:0;display:none;margin:0;-webkit-overflow-scrolling:touch;-ms-overflow-style:-ms-autohiding-scrollbar;padding:2px 2px 4px;position:absolute;right:0;-webkit-tap-highlight-color:transparent;top:0;width:212px;z-index:99995}.fancybox-thumbs-x{overflow-x:auto;overflow-y:hidden}.fancybox-show-thumbs .fancybox-thumbs{display:block}.fancybox-show-thumbs .fancybox-inner{right:212px}.fancybox-thumbs__list{font-size:0;height:100%;list-style:none;margin:0;overflow-x:hidden;overflow-y:auto;padding:0;position:absolute;position:relative;white-space:nowrap;width:100%}.fancybox-thumbs-x .fancybox-thumbs__list{overflow:hidden}.fancybox-thumbs-y .fancybox-thumbs__list::-webkit-scrollbar{width:7px}.fancybox-thumbs-y .fancybox-thumbs__list::-webkit-scrollbar-track{background:#fff;border-radius:10px;box-shadow:inset 0 0 6px rgba(0,0,0,.3)}.fancybox-thumbs-y .fancybox-thumbs__list::-webkit-scrollbar-thumb{background:#2a2a2a;border-radius:10px}.fancybox-thumbs__list a{-webkit-backface-visibility:hidden;backface-visibility:hidden;background-color:rgba(0,0,0,.1);background-position:50%;background-repeat:no-repeat;background-size:cover;cursor:pointer;float:left;height:75px;margin:2px;max-height:calc(100% - 8px);max-width:calc(50% - 4px);outline:0;overflow:hidden;padding:0;position:relative;-webkit-tap-highlight-color:transparent;width:100px}.fancybox-thumbs__list a:before{border:6px solid #ff5268;bottom:0;content:"";left:0;opacity:0;position:absolute;right:0;top:0;transition:all .2s cubic-bezier(.25,.46,.45,.94);z-index:99991}.fancybox-thumbs__list a:focus:before{opacity:.5}.fancybox-thumbs__list a.fancybox-thumbs-active:before{opacity:1}@media (max-width:576px){.fancybox-thumbs{width:110px}.fancybox-show-thumbs .fancybox-inner{right:110px}.fancybox-thumbs__list a{max-width:calc(100% - 10px)}}[ui-pnotify].ui-pnotify .brighttheme{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}[ui-pnotify].ui-pnotify .brighttheme.ui-pnotify-container{padding:1.3rem}[ui-pnotify].ui-pnotify-with-icon .brighttheme .ui-pnotify-confirm,[ui-pnotify].ui-pnotify-with-icon .brighttheme .ui-pnotify-text,[ui-pnotify].ui-pnotify-with-icon .brighttheme .ui-pnotify-title{margin-left:1.8rem}[dir=rtl] [ui-pnotify].ui-pnotify-with-icon .brighttheme .ui-pnotify-confirm,[dir=rtl] [ui-pnotify].ui-pnotify-with-icon .brighttheme .ui-pnotify-text,[dir=rtl] [ui-pnotify].ui-pnotify-with-icon .brighttheme .ui-pnotify-title{margin-right:1.8rem;margin-left:0}[ui-pnotify].ui-pnotify .brighttheme .ui-pnotify-title{font-size:1.2rem;line-height:1.4rem;margin-top:-.2rem;margin-bottom:1rem}[ui-pnotify].ui-pnotify .brighttheme .ui-pnotify-text{font-size:1rem;line-height:1.2rem;margin-top:0}[ui-pnotify].ui-pnotify .brighttheme .ui-pnotify-icon{line-height:1}[ui-pnotify].ui-pnotify .brighttheme-notice{background-color:#ffffa2;border:0 solid #ff0}[ui-pnotify].ui-pnotify .brighttheme-notice div,[ui-pnotify].ui-pnotify .brighttheme-notice h4{color:#4f4f00}[ui-pnotify].ui-pnotify .brighttheme-info{background-color:#8fcedd;border:0 solid #0286a5}[ui-pnotify].ui-pnotify .brighttheme-info div,[ui-pnotify].ui-pnotify .brighttheme-info h4{color:#012831}[ui-pnotify].ui-pnotify .brighttheme-success{background-color:#aff29a;border:0 solid #35db00}[ui-pnotify].ui-pnotify .brighttheme-success div,[ui-pnotify].ui-pnotify .brighttheme-success h4{color:#104300}[ui-pnotify].ui-pnotify .brighttheme-error{background-color:#ffaba2;background-image:repeating-linear-gradient(135deg,transparent,transparent 35px,rgba(255,255,255,.3) 35px,rgba(255,255,255,.3) 70px);border:0 solid #ff1800}[ui-pnotify].ui-pnotify .brighttheme-error div,[ui-pnotify].ui-pnotify .brighttheme-error h4{color:#4f0800}[ui-pnotify].ui-pnotify .brighttheme .ui-pnotify-closer,[ui-pnotify].ui-pnotify .brighttheme .ui-pnotify-sticker{font-size:1rem;line-height:1.2rem}[ui-pnotify].ui-pnotify .brighttheme-icon-closer,[ui-pnotify].ui-pnotify .brighttheme-icon-error,[ui-pnotify].ui-pnotify .brighttheme-icon-info,[ui-pnotify].ui-pnotify .brighttheme-icon-notice,[ui-pnotify].ui-pnotify .brighttheme-icon-sticker,[ui-pnotify].ui-pnotify .brighttheme-icon-success{position:relative;width:1rem;height:1rem;font-size:1rem;font-weight:700;line-height:1rem;font-family:"Courier New",Courier,monospace;border-radius:50%}[ui-pnotify].ui-pnotify .brighttheme-icon-closer:after,[ui-pnotify].ui-pnotify .brighttheme-icon-info:after,[ui-pnotify].ui-pnotify .brighttheme-icon-notice:after,[ui-pnotify].ui-pnotify .brighttheme-icon-sticker:after,[ui-pnotify].ui-pnotify .brighttheme-icon-success:after{position:absolute;top:0;left:.2rem}[ui-pnotify].ui-pnotify .brighttheme-icon-notice{background-color:#2e2e00;color:#ffffa2}[ui-pnotify].ui-pnotify .brighttheme-icon-notice:after{content:"!"}[ui-pnotify].ui-pnotify .brighttheme-icon-info{background-color:#012831;color:#8fcedd}[ui-pnotify].ui-pnotify .brighttheme-icon-info:after{content:"i"}[ui-pnotify].ui-pnotify .brighttheme-icon-success{background-color:#104300;color:#aff29a}[ui-pnotify].ui-pnotify .brighttheme-icon-success:after{content:"\002713"}[ui-pnotify].ui-pnotify .brighttheme-icon-error{width:0;height:0;font-size:0;line-height:0;border-radius:0;border-left:.6rem solid transparent;border-right:.6rem solid transparent;border-bottom:1.2rem solid #2e0400;color:#ffaba2}[ui-pnotify].ui-pnotify .brighttheme-icon-error:after{position:absolute;top:.1rem;left:-.25rem;font-size:.9rem;font-weight:700;line-height:1.4rem;font-family:"Courier New",Courier,monospace;content:"!"}[ui-pnotify].ui-pnotify .brighttheme-icon-closer,[ui-pnotify].ui-pnotify .brighttheme-icon-sticker{display:inline-block}[ui-pnotify].ui-pnotify .brighttheme-icon-closer:after{content:"\002715"}[ui-pnotify].ui-pnotify .brighttheme-icon-sticker:after{top:-1px;content:"\002016"}[ui-pnotify].ui-pnotify .brighttheme-icon-sticker.brighttheme-icon-stuck:after{content:"\00003E"}[ui-pnotify].ui-pnotify .brighttheme .ui-pnotify-confirm{margin-top:1rem}[ui-pnotify].ui-pnotify .brighttheme .ui-pnotify-prompt-bar{margin-bottom:1rem}[ui-pnotify].ui-pnotify .brighttheme .ui-pnotify-action-button{text-transform:uppercase;font-weight:700;padding:.4rem 1rem;border:none;background:0 0;cursor:pointer}[ui-pnotify].ui-pnotify .brighttheme-notice .ui-pnotify-action-button.brighttheme-primary{background-color:#ff0;color:#4f4f00}[ui-pnotify].ui-pnotify .brighttheme-info .ui-pnotify-action-button.brighttheme-primary{background-color:#0286a5;color:#012831}[ui-pnotify].ui-pnotify .brighttheme-success .ui-pnotify-action-button.brighttheme-primary{background-color:#35db00;color:#104300}[ui-pnotify].ui-pnotify .brighttheme-error .ui-pnotify-action-button.brighttheme-primary{background-color:#ff1800;color:#4f0800}.container{box-sizing:border-box;margin-left:auto;margin-right:auto;padding-right:8px;padding-left:8px}.container-fluid{padding-right:16px;padding-left:16px}@media only screen and (min-width:576px){.container{width:560px;max-width:100%}}@media only screen and (min-width:768px){.container{width:752px;max-width:100%}}@media only screen and (min-width:992px){.container{width:976px;max-width:100%}}@media only screen and (min-width:1200px){.container{width:1184px;max-width:100%}}.row{box-sizing:border-box;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-flex:0;-ms-flex:0 1 auto;flex:0 1 auto;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-right:-8px;margin-left:-8px}.row.reverse{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;-ms-flex-direction:row-reverse;flex-direction:row-reverse}.col.reverse{-webkit-box-orient:vertical;-webkit-box-direction:reverse;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.col-lg,.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-lg-offset-0,.col-lg-offset-1,.col-lg-offset-10,.col-lg-offset-11,.col-lg-offset-12,.col-lg-offset-2,.col-lg-offset-3,.col-lg-offset-4,.col-lg-offset-5,.col-lg-offset-6,.col-lg-offset-7,.col-lg-offset-8,.col-lg-offset-9,.col-md,.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-md-offset-0,.col-md-offset-1,.col-md-offset-10,.col-md-offset-11,.col-md-offset-12,.col-md-offset-2,.col-md-offset-3,.col-md-offset-4,.col-md-offset-5,.col-md-offset-6,.col-md-offset-7,.col-md-offset-8,.col-md-offset-9,.col-sm,.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-sm-offset-0,.col-sm-offset-1,.col-sm-offset-10,.col-sm-offset-11,.col-sm-offset-12,.col-sm-offset-2,.col-sm-offset-3,.col-sm-offset-4,.col-sm-offset-5,.col-sm-offset-6,.col-sm-offset-7,.col-sm-offset-8,.col-sm-offset-9,.col-xl,.col-xl-1,.col-xl-10,.col-xl-11,.col-xl-12,.col-xl-2,.col-xl-3,.col-xl-4,.col-xl-5,.col-xl-6,.col-xl-7,.col-xl-8,.col-xl-9,.col-xl-offset-0,.col-xl-offset-1,.col-xl-offset-10,.col-xl-offset-11,.col-xl-offset-12,.col-xl-offset-2,.col-xl-offset-3,.col-xl-offset-4,.col-xl-offset-5,.col-xl-offset-6,.col-xl-offset-7,.col-xl-offset-8,.col-xl-offset-9,.col-xs,.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,.col-xs-offset-0,.col-xs-offset-1,.col-xs-offset-10,.col-xs-offset-11,.col-xs-offset-12,.col-xs-offset-2,.col-xs-offset-3,.col-xs-offset-4,.col-xs-offset-5,.col-xs-offset-6,.col-xs-offset-7,.col-xs-offset-8,.col-xs-offset-9{box-sizing:border-box;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;-ms-flex-preferred-size:100%;flex-basis:100%;padding-right:8px;padding-left:8px;max-width:100%}.col-xs{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-ms-flex-preferred-size:0;flex-basis:0;max-width:100%}.col-xs-1{-ms-flex-preferred-size:8.33333333%;flex-basis:8.33333333%;max-width:8.33333333%}.col-xs-2{-ms-flex-preferred-size:16.66666667%;flex-basis:16.66666667%;max-width:16.66666667%}.col-xs-3{-ms-flex-preferred-size:25%;flex-basis:25%;max-width:25%}.col-xs-4{-ms-flex-preferred-size:33.33333333%;flex-basis:33.33333333%;max-width:33.33333333%}.col-xs-5{-ms-flex-preferred-size:41.66666667%;flex-basis:41.66666667%;max-width:41.66666667%}.col-xs-6{-ms-flex-preferred-size:50%;flex-basis:50%;max-width:50%}.col-xs-7{-ms-flex-preferred-size:58.33333333%;flex-basis:58.33333333%;max-width:58.33333333%}.col-xs-8{-ms-flex-preferred-size:66.66666667%;flex-basis:66.66666667%;max-width:66.66666667%}.col-xs-9{-ms-flex-preferred-size:75%;flex-basis:75%;max-width:75%}.col-xs-10{-ms-flex-preferred-size:83.33333333%;flex-basis:83.33333333%;max-width:83.33333333%}.col-xs-11{-ms-flex-preferred-size:91.66666667%;flex-basis:91.66666667%;max-width:91.66666667%}.col-xs-12{-ms-flex-preferred-size:100%;flex-basis:100%;max-width:100%}.col-xs-offset-0{margin-left:0}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-11{margin-left:91.66666667%}.start-xs{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;text-align:start}.center-xs{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;text-align:center}.end-xs{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;text-align:end}.top-xs{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.middle-xs{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.bottom-xs{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.around-xs{-ms-flex-pack:distribute;justify-content:space-around}.between-xs{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.first-xs{-webkit-box-ordinal-group:0;-ms-flex-order:-1;order:-1}.last-xs{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.initial-order-xs{-webkit-box-ordinal-group:NaN;-ms-flex-order:initial;order:initial}@media only screen and (min-width:576px){.col-sm{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-ms-flex-preferred-size:0;flex-basis:0;max-width:100%}.col-sm-1{-ms-flex-preferred-size:8.33333333%;flex-basis:8.33333333%;max-width:8.33333333%}.col-sm-2{-ms-flex-preferred-size:16.66666667%;flex-basis:16.66666667%;max-width:16.66666667%}.col-sm-3{-ms-flex-preferred-size:25%;flex-basis:25%;max-width:25%}.col-sm-4{-ms-flex-preferred-size:33.33333333%;flex-basis:33.33333333%;max-width:33.33333333%}.col-sm-5{-ms-flex-preferred-size:41.66666667%;flex-basis:41.66666667%;max-width:41.66666667%}.col-sm-6{-ms-flex-preferred-size:50%;flex-basis:50%;max-width:50%}.col-sm-7{-ms-flex-preferred-size:58.33333333%;flex-basis:58.33333333%;max-width:58.33333333%}.col-sm-8{-ms-flex-preferred-size:66.66666667%;flex-basis:66.66666667%;max-width:66.66666667%}.col-sm-9{-ms-flex-preferred-size:75%;flex-basis:75%;max-width:75%}.col-sm-10{-ms-flex-preferred-size:83.33333333%;flex-basis:83.33333333%;max-width:83.33333333%}.col-sm-11{-ms-flex-preferred-size:91.66666667%;flex-basis:91.66666667%;max-width:91.66666667%}.col-sm-12{-ms-flex-preferred-size:100%;flex-basis:100%;max-width:100%}.col-sm-offset-0{margin-left:0}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-11{margin-left:91.66666667%}.start-sm{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;text-align:start}.center-sm{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;text-align:center}.end-sm{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;text-align:end}.top-sm{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.middle-sm{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.bottom-sm{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.around-sm{-ms-flex-pack:distribute;justify-content:space-around}.between-sm{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.first-sm{-webkit-box-ordinal-group:0;-ms-flex-order:-1;order:-1}.last-sm{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.initial-order-sm{-webkit-box-ordinal-group:NaN;-ms-flex-order:initial;order:initial}}@media only screen and (min-width:768px){.col-md,.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-md-offset-0,.col-md-offset-1,.col-md-offset-10,.col-md-offset-11,.col-md-offset-12,.col-md-offset-2,.col-md-offset-3,.col-md-offset-4,.col-md-offset-5,.col-md-offset-6,.col-md-offset-7,.col-md-offset-8,.col-md-offset-9{box-sizing:border-box;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;padding-right:8px;padding-left:8px}.col-md{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-ms-flex-preferred-size:0;flex-basis:0;max-width:100%}.col-md-1{-ms-flex-preferred-size:8.33333333%;flex-basis:8.33333333%;max-width:8.33333333%}.col-md-2{-ms-flex-preferred-size:16.66666667%;flex-basis:16.66666667%;max-width:16.66666667%}.col-md-3{-ms-flex-preferred-size:25%;flex-basis:25%;max-width:25%}.col-md-4{-ms-flex-preferred-size:33.33333333%;flex-basis:33.33333333%;max-width:33.33333333%}.col-md-5{-ms-flex-preferred-size:41.66666667%;flex-basis:41.66666667%;max-width:41.66666667%}.col-md-6{-ms-flex-preferred-size:50%;flex-basis:50%;max-width:50%}.col-md-7{-ms-flex-preferred-size:58.33333333%;flex-basis:58.33333333%;max-width:58.33333333%}.col-md-8{-ms-flex-preferred-size:66.66666667%;flex-basis:66.66666667%;max-width:66.66666667%}.col-md-9{-ms-flex-preferred-size:75%;flex-basis:75%;max-width:75%}.col-md-10{-ms-flex-preferred-size:83.33333333%;flex-basis:83.33333333%;max-width:83.33333333%}.col-md-11{-ms-flex-preferred-size:91.66666667%;flex-basis:91.66666667%;max-width:91.66666667%}.col-md-12{-ms-flex-preferred-size:100%;flex-basis:100%;max-width:100%}.col-md-offset-0{margin-left:0}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-3{margin-left:25%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-6{margin-left:50%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-9{margin-left:75%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-11{margin-left:91.66666667%}.start-md{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;text-align:start}.center-md{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;text-align:center}.end-md{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;text-align:end}.top-md{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.middle-md{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.bottom-md{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.around-md{-ms-flex-pack:distribute;justify-content:space-around}.between-md{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.first-md{-webkit-box-ordinal-group:0;-ms-flex-order:-1;order:-1}.last-md{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.initial-order-md{-webkit-box-ordinal-group:NaN;-ms-flex-order:initial;order:initial}}@media only screen and (min-width:992px){.col-lg,.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-lg-offset-0,.col-lg-offset-1,.col-lg-offset-10,.col-lg-offset-11,.col-lg-offset-12,.col-lg-offset-2,.col-lg-offset-3,.col-lg-offset-4,.col-lg-offset-5,.col-lg-offset-6,.col-lg-offset-7,.col-lg-offset-8,.col-lg-offset-9{box-sizing:border-box;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;padding-right:8px;padding-left:8px}.col-lg{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-ms-flex-preferred-size:0;flex-basis:0;max-width:100%}.col-lg-1{-ms-flex-preferred-size:8.33333333%;flex-basis:8.33333333%;max-width:8.33333333%}.col-lg-2{-ms-flex-preferred-size:16.66666667%;flex-basis:16.66666667%;max-width:16.66666667%}.col-lg-3{-ms-flex-preferred-size:25%;flex-basis:25%;max-width:25%}.col-lg-4{-ms-flex-preferred-size:33.33333333%;flex-basis:33.33333333%;max-width:33.33333333%}.col-lg-5{-ms-flex-preferred-size:41.66666667%;flex-basis:41.66666667%;max-width:41.66666667%}.col-lg-6{-ms-flex-preferred-size:50%;flex-basis:50%;max-width:50%}.col-lg-7{-ms-flex-preferred-size:58.33333333%;flex-basis:58.33333333%;max-width:58.33333333%}.col-lg-8{-ms-flex-preferred-size:66.66666667%;flex-basis:66.66666667%;max-width:66.66666667%}.col-lg-9{-ms-flex-preferred-size:75%;flex-basis:75%;max-width:75%}.col-lg-10{-ms-flex-preferred-size:83.33333333%;flex-basis:83.33333333%;max-width:83.33333333%}.col-lg-11{-ms-flex-preferred-size:91.66666667%;flex-basis:91.66666667%;max-width:91.66666667%}.col-lg-12{-ms-flex-preferred-size:100%;flex-basis:100%;max-width:100%}.col-lg-offset-0{margin-left:0}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-11{margin-left:91.66666667%}.start-lg{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;text-align:start}.center-lg{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;text-align:center}.end-lg{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;text-align:end}.top-lg{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.middle-lg{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.bottom-lg{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.around-lg{-ms-flex-pack:distribute;justify-content:space-around}.between-lg{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.first-lg{-webkit-box-ordinal-group:0;-ms-flex-order:-1;order:-1}.last-lg{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.initial-order-lg{-webkit-box-ordinal-group:NaN;-ms-flex-order:initial;order:initial}}@media only screen and (min-width:1200px){.col-xl,.col-xl-1,.col-xl-10,.col-xl-11,.col-xl-12,.col-xl-2,.col-xl-3,.col-xl-4,.col-xl-5,.col-xl-6,.col-xl-7,.col-xl-8,.col-xl-9,.col-xl-offset-0,.col-xl-offset-1,.col-xl-offset-10,.col-xl-offset-11,.col-xl-offset-12,.col-xl-offset-2,.col-xl-offset-3,.col-xl-offset-4,.col-xl-offset-5,.col-xl-offset-6,.col-xl-offset-7,.col-xl-offset-8,.col-xl-offset-9{box-sizing:border-box;-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;padding-right:8px;padding-left:8px}.col-xl{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-ms-flex-preferred-size:0;flex-basis:0;max-width:100%}.col-xl-1{-ms-flex-preferred-size:8.33333333%;flex-basis:8.33333333%;max-width:8.33333333%}.col-xl-2{-ms-flex-preferred-size:16.66666667%;flex-basis:16.66666667%;max-width:16.66666667%}.col-xl-3{-ms-flex-preferred-size:25%;flex-basis:25%;max-width:25%}.col-xl-4{-ms-flex-preferred-size:33.33333333%;flex-basis:33.33333333%;max-width:33.33333333%}.col-xl-5{-ms-flex-preferred-size:41.66666667%;flex-basis:41.66666667%;max-width:41.66666667%}.col-xl-6{-ms-flex-preferred-size:50%;flex-basis:50%;max-width:50%}.col-xl-7{-ms-flex-preferred-size:58.33333333%;flex-basis:58.33333333%;max-width:58.33333333%}.col-xl-8{-ms-flex-preferred-size:66.66666667%;flex-basis:66.66666667%;max-width:66.66666667%}.col-xl-9{-ms-flex-preferred-size:75%;flex-basis:75%;max-width:75%}.col-xl-10{-ms-flex-preferred-size:83.33333333%;flex-basis:83.33333333%;max-width:83.33333333%}.col-xl-11{-ms-flex-preferred-size:91.66666667%;flex-basis:91.66666667%;max-width:91.66666667%}.col-xl-12{-ms-flex-preferred-size:100%;flex-basis:100%;max-width:100%}.col-xl-offset-0{margin-left:0}.col-xl-offset-1{margin-left:8.33333333%}.col-xl-offset-2{margin-left:16.66666667%}.col-xl-offset-3{margin-left:25%}.col-xl-offset-4{margin-left:33.33333333%}.col-xl-offset-5{margin-left:41.66666667%}.col-xl-offset-6{margin-left:50%}.col-xl-offset-7{margin-left:58.33333333%}.col-xl-offset-8{margin-left:66.66666667%}.col-xl-offset-9{margin-left:75%}.col-xl-offset-10{margin-left:83.33333333%}.col-xl-offset-11{margin-left:91.66666667%}.start-xl{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;text-align:start}.center-xl{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;text-align:center}.end-xl{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;text-align:end}.top-xl{-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.middle-xl{-webkit-box-align:center;-ms-flex-align:center;align-items:center}.bottom-xl{-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.around-xl{-ms-flex-pack:distribute;justify-content:space-around}.between-xl{-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.first-xl{-webkit-box-ordinal-group:0;-ms-flex-order:-1;order:-1}.last-xl{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.initial-order-xl{-webkit-box-ordinal-group:NaN;-ms-flex-order:initial;order:initial}}@media only screen and (max-width:575px){.hidden-xs{display:none}}@media only screen and (min-width:576px) and (max-width:767px){.hidden-sm{display:none}}@media only screen and (min-width:768px) and (max-width:991px){.hidden-md{display:none}}@media only screen and (min-width:992px) and (max-width:1199px){.hidden-lg{display:none}}@media only screen and (min-width:1200px){.hidden-xl{display:none}}.left_col{background:#2a3f54}.nav-sm .container.body .col-md-3.left_col{min-height:100%;width:70px;padding:0;z-index:9999;position:absolute}.nav-sm .container.body .col-md-3.left_col.menu_fixed{position:fixed;height:100%}.nav-sm .container.body .col-md-3.left_col .mCSB_container,.nav-sm .container.body .col-md-3.left_col .mCustomScrollBox{overflow:visible}.nav-sm .hidden-small{visibility:hidden}.nav-sm .container.body .right_col{padding:10px 20px;margin-left:70px;z-index:2}.nav-sm .navbar.nav_title{width:70px}.nav-sm .navbar.nav_title a span{display:none}.nav-sm .navbar.nav_title a i{font-size:27px;margin:13px 0 0 3px}.site_title i{border:1px solid #eaeaea;padding:5px 6px;border-radius:50%}.nav-sm .main_container .top_nav{display:block;margin-left:70px;z-index:2}.nav-sm .nav.side-menu li a{text-align:center!important;font-weight:400;font-size:10px;padding:10px 5px}.nav-sm .nav.child_menu li.active,.nav-sm .nav.side-menu li.active-sm{border-right:5px solid #1abb9c}.nav-sm .nav.side-menu li.active-sm ul ul,.nav-sm ul.nav.child_menu ul{position:static;width:200px;background:0 0}.nav-sm>.nav.side-menu>li.active-sm>a{color:#1abb9c!important}.nav-sm .nav.side-menu li a i.toggle-up{display:none!important}.nav-sm .nav.side-menu li a i{font-size:25px!important;text-align:center;width:100%!important;margin-bottom:5px}.nav-sm ul.nav.child_menu{left:100%;position:absolute;top:0;width:210px;z-index:4000;background:#3e5367;display:none}.nav-sm ul.nav.child_menu li{padding:0 10px}.nav-sm ul.nav.child_menu li a{text-align:left!important}.nav-sm .profile{display:none}.menu_section{margin-bottom:35px}.menu_section h3{padding-left:23px;color:#fff;text-transform:uppercase;letter-spacing:.5px;font-weight:700;font-size:11px;margin-bottom:0;margin-top:0;text-shadow:1px 1px #000}.menu_section>ul{margin-top:10px}.profile_pic{width:35%;float:left}.img-circle.profile_img{width:70%;background:#fff;margin-left:15%;z-index:1000;position:inherit;margin-top:20px;border:1px solid rgba(52,73,94,.44);padding:4px}.profile_info{padding:25px 10px 10px;width:65%;float:left}.profile_info span{font-size:13px;line-height:30px;color:#bab8b8}.profile_info h2{font-size:14px;color:#ecf0f1;margin:0;font-weight:300}.profile.img_2{text-align:center}.profile.img_2 .profile_pic{width:100%}.profile.img_2 .profile_pic .img-circle.profile_img{width:50%;margin:10px 0 0}.profile.img_2 .profile_info{padding:15px 10px 0;width:100%;margin-bottom:10px;float:left}.main_menu span.fa{float:right;text-align:center;margin-top:5px;font-size:10px;min-width:inherit;color:#c4cfda}.active a span.fa{text-align:right!important;margin-right:4px}.nav-sm .menu_section{margin:0}.nav-sm .menu_section h3,.nav-sm span.fa{display:none}.nav-sm li li span.fa{display:inline-block}.nav_menu{float:left;background:#ededed;border-bottom:1px solid #d9dee4;margin-bottom:10px;width:100%;position:relative}@media (min-width:480px){.nav_menu{position:static}}.nav-md .container.body .col-md-3.left_col{min-height:100%;width:230px;padding:0;position:absolute;display:-ms-flexbox;display:flex;z-index:1}.nav-md .container.body .col-md-3.left_col.menu_fixed{height:100%;position:fixed}body .container.body .right_col{background:#f7f7f7}.nav-md .container.body .right_col{padding:10px 20px 0;margin-left:230px}.nav_title{width:230px;float:left;background:#2a3f54;border-radius:0;height:57px}@media (max-width:991px){.nav-md .container.body .right_col,.nav-md .container.body .top_nav{width:100%;margin:0}.nav-md .container.body .col-md-3.left_col{display:none}.nav-md .container.body .right_col{width:100%;padding-right:0}.right_col{padding:10px!important}}@media (max-width:1200px){.x_title h2{width:62%;font-size:17px}.graph,.tile{zoom:85%;height:inherit}}@media (max-width:1270px) and (min-width:192px){.x_title h2 small{display:none}}.left_col .mCSB_scrollTools{width:6px}.left_col .mCSB_dragger{max-height:400px!important}.blue{color:#3498db}.purple{color:#9b59b6}.green{color:#1abb9c}.aero{color:#9cc2cb}.red{color:#e74c3c}.dark{color:#34495e}.border-blue{border-color:#3498db!important}.border-purple{border-color:#9b59b6!important}.border-green{border-color:#1abb9c!important}.border-aero{border-color:#9cc2cb!important}.border-red{border-color:#e74c3c!important}.border-dark{border-color:#34495e!important}.bg-white{background:#fff!important;border:1px solid #fff!important;color:#73879c}.bg-green{background:#1abb9c!important;border:1px solid #1abb9c!important;color:#fff}.bg-red{background:#e74c3c!important;border:1px solid #e74c3c!important;color:#fff}.bg-blue{background:#3498db!important;border:1px solid #3498db!important;color:#fff}.bg-orange{background:#f39c12!important;border:1px solid #f39c12!important;color:#fff}.bg-purple{background:#9b59b6!important;border:1px solid #9b59b6!important;color:#fff}.bg-blue-sky{background:#50c1cf!important;border:1px solid #50c1cf!important;color:#fff}.container{width:100%;padding:0}.navbar-brand,.navbar-nav>li>a{color:#fff!important}.top_nav .nav .open>a,.top_nav .nav .open>a:focus,.top_nav .nav .open>a:hover,.top_nav .nav>li>a:focus,.top_nav .nav>li>a:hover{background:#d9dee4}body{color:#73879c;background:#2a3f54;font-family:'Helvetica Neue',Roboto,Arial,'Droid Sans',sans-serif;font-size:13px;font-weight:400;line-height:1.471}.main_container .top_nav{display:block;margin-left:230px}.no-padding{padding:0!important}.page-title{width:100%;height:65px;padding:10px 0}.page-title .title_left{width:45%;float:left;display:block}.page-title .title_left h3{margin:9px 0}.page-title .title_right{width:55%;float:left;display:block}.page-title .title_right .pull-right{margin:10px 0}.dropdown,.dropleft,.dropright,.dropup{position:relative;display:flex}.fixed_height_320{height:320px}.fixed_height_390{height:390px}.fixed_height_200{height:200px}.overflow_hidden{overflow:hidden}.bg-dark{background-color:#34495e!important}.bg-gray{background-color:#bdc3c7!important}table.no-margin .progress{margin-bottom:0}.main_content{padding:10px 20px}.col-md-55{width:50%;margin-bottom:10px}@media (min-width:768px){.col-md-55{width:20%}}@media (min-width:992px){.col-md-55{width:20%}}@media (min-width:1200px){.col-md-55{width:20%}}@media (min-width:192px) and (max-width:1270px){table.tile_info span.right{margin-right:7px;float:left}}.center-margin{margin:0 auto;float:none!important}.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-55,.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;float:left;padding-right:10px;padding-left:10px}.row{margin-right:-10px;margin-left:-10px}.grid_slider .col-md-6{padding:0 40px}.h1,.h2,.h3,h1,h2,h3{margin-top:10px;margin-bottom:10px}a{color:#5a738e;text-decoration:none}.btn.active.focus,.btn.active:focus,.btn.focus,.btn:active.focus,.btn:active:focus,.btn:focus,:active,:focus,:visited,a,a:active,a:focus,a:visited{outline:0}a:focus,a:hover{text-decoration:none}.navbar{margin-bottom:0}.navbar-header{background:#34495e}.navbar-right{margin-right:0}.top_nav .navbar-right{margin:0;width:70%;float:right}.top_nav .navbar-right li{display:inline-block;float:right;position:static}@media (min-width:480px){.top_nav .navbar-right li{position:relative}}.top_nav .dropdown-menu li{width:100%}.top_nav .dropdown-menu li a{width:100%;padding:12px 20px}.top_nav li a i{font-size:15px}.navbar-static-top{position:fixed;top:0;width:100%}.sidebar-header{border-bottom:0;margin-top:46px}.sidebar-header:first-of-type{margin-top:0}.nav.side-menu>li{position:relative;display:block;cursor:pointer}.nav.side-menu>li>a{margin-bottom:6px}.nav.side-menu>li>a:hover{color:#f2f5f7!important}.nav.side-menu>li>a:hover,.nav>li>a:focus{text-decoration:none;background:0 0}.nav.child_menu{display:none}.nav.child_menu li.active,.nav.child_menu li:hover{background-color:rgba(255,255,255,.06)}.nav.child_menu li{padding-left:36px}.nav-md ul.nav.child_menu li:before{background:#425668;bottom:auto;content:'';height:8px;left:23px;margin-top:15px;position:absolute;right:auto;width:8px;z-index:1;border-radius:50%}.nav-md ul.nav.child_menu li:after{border-left:1px solid #425668;bottom:0;content:'';left:27px;position:absolute;top:0}.nav-md ul.nav.child_menu li:last-child::after{bottom:50%}.nav.child_menu>li>a,.nav.side-menu>li>a{color:#e7e7e7;font-weight:500}.nav.child_menu li li.active,.nav.child_menu li li:hover{background:0 0}.nav.child_menu li li a.active,.nav.child_menu li li a:hover{color:#fff}.nav>li>a{position:relative;display:block;padding:13px 15px 12px}.nav.side-menu>li.active,.nav.side-menu>li.current-page{border-right:5px solid #1abb9c}.nav li.current-page{background:rgba(255,255,255,.05)}.nav li li li.current-page{background:0 0}.nav li li.current-page a{color:#fff}.nav.side-menu>li.active>a{text-shadow:rgba(0,0,0,.25) 0 -1px 0;background:linear-gradient(#334556,#2c4257),#2a3f54;box-shadow:rgba(0,0,0,.25) 0 1px 0,inset rgba(255,255,255,.16) 0 1px 0}.navbar-brand,.navbar-nav>li>a{font-weight:500;color:#ecf0f1!important;margin-left:0!important;line-height:32px}.site_title{text-overflow:ellipsis;overflow:hidden;font-weight:400;font-size:22px;width:100%;color:#ecf0f1!important;margin-left:0!important;line-height:59px;display:block;height:55px;margin:0;padding-left:10px}.site_title:focus,.site_title:hover{text-decoration:none}.nav.navbar-nav>li>a{color:#515356!important}.nav.top_menu>li>a{position:relative;display:block;padding:10px 15px;color:#34495e!important}.nav>li>a:focus,.nav>li>a:hover{background-color:transparent}.top_search{padding:0}.top_search .form-control{border-right:0;box-shadow:inset 0 1px 0 rgba(0,0,0,.075);border-radius:25px 0 0 25px;padding-left:20px;border:1px solid rgba(221,226,232,.49)}.top_search .form-control:focus{border:1px solid rgba(221,226,232,.49);border-right:0}.top_search .input-group-btn button{border-radius:0 25px 25px 0;border:1px solid rgba(221,226,232,.49);border-left:0;box-shadow:inset 0 1px 1px rgba(0,0,0,.075);color:#93a2b2;margin-bottom:0!important}.toggle{float:left;margin:0;padding-top:16px;width:70px}.toggle a{padding:15px 15px 0;margin:0;cursor:pointer}.toggle a i{font-size:26px}.nav.child_menu>li>a{color:rgba(255,255,255,.75);font-size:12px;padding:9px}.panel_toolbox{float:right;min-width:70px}.panel_toolbox>li{float:left;cursor:pointer}.panel_toolbox>li>a{padding:5px;color:#c5c7cb;font-size:14px}.panel_toolbox>li>a:hover{background:#f5f7fa}.line_30{line-height:30px}.main_menu_side{padding:0}.bs-docs-sidebar .nav>li>a{display:block;padding:4px 6px}footer{background:#fff;padding:10px 20px;display:block}.nav-sm footer{margin-left:70px}.footer_fixed footer{position:fixed;left:0;bottom:0;width:100%}@media (min-width:768px){.footer_fixed footer{margin-left:0}}@media (min-width:768px){.footer_fixed .nav-sm footer{margin-left:0}}.tile-stats.sparkline{padding:10px;text-align:center}.jqstooltip{background:#34495e!important;width:30px!important;height:22px!important;text-decoration:none}.tooltip{display:block!important}.tiles{border-top:1px solid #ccc;margin-top:15px;padding-top:5px;margin-bottom:0}.tile{overflow:hidden}.top_tiles{margin-bottom:0}.top_tiles .tile h2{font-size:30px;line-height:30px;margin:3px 0 7px;font-weight:700}article.media{width:100%}*,:after,:before{box-sizing:border-box}#integration-list{width:100%;margin:0 auto;display:table}#integration-list ul{padding:0;margin:20px 0;color:#555}#integration-list ul>li{list-style:none;border-top:1px solid #ddd;display:block;padding:15px;overflow:hidden}#integration-list ul:last-child{border-bottom:1px solid #ddd}#integration-list ul>li:hover{background:#efefef}.expand{display:block;text-decoration:none;color:#555;cursor:pointer}.expand h2{width:85%;float:left}h2{font-size:18px;font-weight:400}#left,#right{display:table}#sup{display:table-cell;vertical-align:middle;width:80%}.detail a{text-decoration:none;color:#c0392b;border:1px solid #c0392b;padding:6px 10px 5px;font-size:13px;margin-right:7px}.detail{margin:10px 0 10px 0;display:none;line-height:22px;height:150px}.detail span{margin:0}.right-arrow{width:10px;float:right;font-weight:700;font-size:20px}.accordion .panel{margin-bottom:5px;border-radius:0;border-bottom:1px solid #efefef}.accordion .panel-heading{background:#f2f5f7;padding:13px;width:100%;display:block}.accordion .panel:hover{background:#f2f5f7}.x_panel{position:relative;width:100%;margin-bottom:10px;padding:10px 17px;display:inline-block;background:#fff;border:1px solid #e6e9ed;-moz-column-break-inside:avoid;column-break-inside:avoid;opacity:1;transition:all .2s ease}.x_title{border-bottom:2px solid #e6e9ed;padding:1px 5px 6px;margin-bottom:10px}.x_title .filter{width:40%;float:right}.x_title h2{margin:5px 0 6px;float:left;display:block;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.x_title h2 small{margin-left:10px}.x_title span{color:#bdbdbd}.x_content{padding:0 5px 6px;position:relative;width:100%;float:left;clear:both;margin-top:5px}.x_content h4{font-size:16px;font-weight:500}legend{padding-bottom:7px}.demo-placeholder{height:280px}.profile_details:nth-child(3n){clear:both}.profile_details .profile_view{display:inline-block;padding:10px 0 0;background:#fff}.profile_details .profile_view .divider{border-top:1px solid #e5e5e5;padding-top:5px;margin-top:5px}.profile_details .profile_view .ratings{margin-bottom:0}.profile_details .profile_view .bottom{background:#f2f5f7;padding:9px 0;border-top:1px solid #e6e9ed}.profile_details .profile_view .left{margin-top:20px}.profile_details .profile_view .left p{margin-bottom:3px}.profile_details .profile_view .right{margin-top:0;padding:10px}.profile_details .profile_view .img-circle{border:1px solid #e6e9ed;padding:2px}.profile_details .profile_view h2{margin:5px 0}.profile_details .profile_view .ratings{text-align:left;font-size:16px}.profile_details .profile_view .brief{margin:0;font-weight:300}.profile_details .profile_left{background:#fff}.pagination.pagination-split li{display:inline-block;margin-right:3px}.pagination.pagination-split li a{border-radius:4px;color:#768399;-moz-border-radius:4px;-webkit-border-radius:4px}table.tile h3,table.tile h4,table.tile span{font-weight:700;vertical-align:middle!important}table.tile td,table.tile th{text-align:center}table.tile th{border-bottom:1px solid #e6ecee}table.tile td{padding:5px 0}table.tile td ul{text-align:left;padding-left:0}table.tile td ul li{list-style:none;width:100%}table.tile td ul li a{width:100%}table.tile td ul li a big{right:0;float:right;margin-right:13px}table.tile_info{width:100%}table.tile_info td{text-align:left;padding:1px;font-size:15px}table.tile_info td p{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0;line-height:28px}table.tile_info td i{margin-right:8px;font-size:17px;float:left;width:18px;line-height:28px}table.tile_info td:first-child{width:83%}td span{line-height:28px}.sidebar-widget{overflow:hidden}.error-number{font-size:90px;line-height:90px;margin:20px 0}.col-middle{margin-top:5%}.mid_center{width:370px;margin:0 auto;text-align:center;padding:10px 20px}h3.degrees{font-size:22px;font-weight:400;text-align:center}.degrees:after{content:'o';position:relative;top:-12px;font-size:13px;font-weight:300}.daily-weather .day{font-size:14px;border-top:2px solid rgba(115,135,156,.36);text-align:center;border-bottom:2px solid rgba(115,135,156,.36);padding:5px 0}.weather-days .col-sm-2{overflow:hidden;width:16.66666667%}.weather .row{margin-bottom:0}.bulk-actions{display:none}table.countries_list{width:100%}table.countries_list td{padding:0 10px;line-height:30px;border-top:1px solid #eee}.dataTables_paginate a{padding:6px 9px!important;background:#ddd!important;border-color:#ddd!important}.paging_full_numbers a.paginate_active{background-color:rgba(38,185,154,.59)!important;border-color:rgba(38,185,154,.59)!important}a.DTTT_button,button.DTTT_button,div.DTTT_button{border:1px solid #e7e7e7!important;background:#e7e7e7!important;box-shadow:none!important}table.jambo_table{border:1px solid rgba(221,221,221,.78)}table.jambo_table thead{background:rgba(52,73,94,.94);color:#ecf0f1}table.jambo_table tbody tr:hover td{background:rgba(38,185,154,.07);border-top:1px solid rgba(38,185,154,.11);border-bottom:1px solid rgba(38,185,154,.11)}table.jambo_table tbody tr.selected{background:rgba(38,185,154,.16)}table.jambo_table tbody tr.selected td{border-top:1px solid rgba(38,185,154,.4);border-bottom:1px solid rgba(38,185,154,.4)}.dataTables_paginate a{background:red}.dataTables_wrapper{position:relative;clear:both;zoom:1}.dataTables_processing{position:absolute;top:50%;left:50%;width:250px;height:30px;margin-left:-125px;margin-top:-15px;padding:14px 0 2px 0;border:1px solid #ddd;text-align:center;color:#999;font-size:14px;background-color:#fff}.dataTables_length{width:40%;float:left}.dataTables_filter{width:50%;float:right;text-align:right}.dataTables_info{width:60%;float:left}.dataTables_paginate{float:right;text-align:right}table.dataTable td.focus,table.dataTable th.focus{outline:2px solid #1abb9c!important;outline-offset:-1px}table.display{margin:0 auto;clear:both;width:100%}table.display thead th{padding:8px 18px 8px 10px;border-bottom:1px solid #000;font-weight:700;cursor:pointer}table.display tfoot th{padding:3px 18px 3px 10px;border-top:1px solid #000;font-weight:700}table.display tr.heading2 td{border-bottom:1px solid #aaa}table.display td{padding:3px 10px}table.display td.center{text-align:center}table.display thead td:active,table.display thead th:active{outline:0}.dataTables_scroll{clear:both}.dataTables_scrollBody{-webkit-overflow-scrolling:touch}.top .dataTables_info{float:none}.clear{clear:both}.dataTables_empty{text-align:center}tfoot input{margin:.5em 0;width:100%;color:#444}tfoot input.search_init{color:#999}td.group{background-color:#d1cfd0;border-bottom:2px solid #a19b9e;border-top:2px solid #a19b9e}td.details{background-color:#d1cfd0;border:2px solid #a19b9e}.example_alt_pagination div.dataTables_info{width:40%}.paging_full_numbers{width:400px;height:22px;line-height:22px}.paging_full_numbers a:active{outline:0}.paging_full_numbers a:hover{text-decoration:none}.paging_full_numbers a.paginate_active,.paging_full_numbers a.paginate_button{border:1px solid #aaa;-webkit-border-radius:5px;-moz-border-radius:5px;padding:2px 5px;margin:0 3px;cursor:pointer}.paging_full_numbers a.paginate_button{background-color:#ddd}.paging_full_numbers a.paginate_button:hover{background-color:#ccc;text-decoration:none!important}.paging_full_numbers a.paginate_active{background-color:#99b3ff}table.display tr.even.row_selected td{background-color:#b0bed9}table.display tr.odd.row_selected td{background-color:#9fafd1}div.box{height:100px;padding:10px;overflow:auto;border:1px solid #8080ff;background-color:#e5e5ff}ul.msg_list li{background:#f7f7f7;padding:5px;display:-ms-flexbox;display:flex;margin:6px 6px 0;width:96%!important}ul.msg_list li:last-child{margin-bottom:6px}ul.msg_list li a{padding:3px 5px!important}ul.msg_list li a .image img{border-radius:2px 2px 2px 2px;-webkit-border-radius:2px 2px 2px 2px;float:left;margin-right:10px;width:11%}ul.msg_list li a .time{font-size:11px;font-style:italic;font-weight:700;position:absolute;right:35px}ul.msg_list li a .message{display:block!important;font-size:11px}.dropdown-menu.msg_list span{white-space:normal}.dropdown-menu{border:medium none;box-shadow:none;display:none;float:left;font-size:12px;left:0;list-style:none outside none;padding:0;position:absolute;text-shadow:none;top:100%;z-index:9998;border:1px solid #d9dee4;border-top-left-radius:0;border-top-right-radius:0}.dropdown-menu>li>a{color:#5a738e}.navbar-nav .open .dropdown-menu{position:absolute;background:#fff;margin-top:0;border:1px solid #d9dee4;-webkit-box-shadow:none;right:0;left:auto;width:220px}.navbar-nav .open .dropdown-menu.msg_list{width:300px}.info-number .badge{font-size:10px;font-weight:400;line-height:13px;padding:2px 6px;position:absolute;right:2px;top:8px}ul.to_do{padding:0}ul.to_do li{background:#f3f3f3;border-radius:3px;position:relative;padding:7px;margin-bottom:5px;list-style:none}ul.to_do p{margin:0}.dashboard-widget{background:#f6f6f6;border-top:5px solid #79c3df;border-radius:3px;padding:5px 10px 10px}.dashboard-widget .dashboard-widget-title{font-weight:400;border-bottom:1px solid #c1cdcd;margin:0 0 10px 0;padding-bottom:5px;padding-left:40px;line-height:30px}.dashboard-widget .dashboard-widget-title i{font-size:100%;margin-left:-35px;margin-right:10px;color:#33a1c9;padding:3px 6px;border:1px solid #abd9ea;border-radius:5px;background:#fff}ul.quick-list{width:45%;padding-left:0;display:inline-block}ul.quick-list li{padding-left:10px;list-style:none;margin:0;padding-bottom:6px;padding-top:4px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}ul.quick-list li i{padding-right:10px;color:#757679}.dashboard-widget-content{padding-top:9px}.dashboard-widget-content .sidebar-widget{width:50%;display:inline-block;vertical-align:top;background:#fff;border:1px solid #abd9ea;border-radius:5px;text-align:center;float:right;padding:2px;margin-top:10px}.widget_summary{width:100%;display:-ms-inline-flexbox;display:inline-flex}.widget_summary .w_left{float:left;text-align:left}.widget_summary .w_center{float:left}.widget_summary .w_right{float:left;text-align:right}.widget_summary .w_right span{font-size:20px}.w_20{width:20%}.w_25{width:25%}.w_55{width:55%}h5.graph_title{text-align:left;margin-left:10px}h5.graph_title i{margin-right:10px;font-size:17px}span.right{float:right;font-size:14px!important}.tile_info a{text-overflow:ellipsis}.sidebar-footer{bottom:0;clear:both;display:block;padding:5px 0 0 0;position:fixed;width:230px;background:#2a3f54}.sidebar-footer a{padding:7px 0 3px;text-align:center;width:25%;font-size:17px;display:block;float:left;background:#172d44}.sidebar-footer a:hover{background:#425567}.tile_count{margin-bottom:20px;margin-top:20px}.tile_count .tile_stats_count{border-bottom:1px solid #d9dee4;padding:0 10px 0 20px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;position:relative}@media (min-width:992px){footer{margin-left:230px}}@media (min-width:992px){.tile_count .tile_stats_count{margin-bottom:10px;border-bottom:0;padding-bottom:10px}}.tile_count .tile_stats_count:before{content:'';position:absolute;left:0;height:65px;border-left:2px solid #adb2b5;margin-top:10px}@media (min-width:992px){.tile_count .tile_stats_count:first-child:before{border-left:0}}.tile_count .tile_stats_count .count{font-size:30px;line-height:47px;font-weight:600}@media (min-width:768px){.tile_count .tile_stats_count .count{font-size:40px}}@media (min-width:992px) and (max-width:1100px){.tile_count .tile_stats_count .count{font-size:30px}}.tile_count .tile_stats_count span{font-size:12px}@media (min-width:768px){.tile_count .tile_stats_count span{font-size:13px}}.tile_count .tile_stats_count .count_bottom i{width:12px}.dashboard_graph{background:#fff;padding:7px 10px}.dashboard_graph .col-md-3,.dashboard_graph .col-md-9{padding:0}a.user-profile{color:#5e6974!important}.user-profile img{width:29px;height:29px;border-radius:50%;margin-right:10px}ul.top_profiles{height:330px;width:100%}ul.top_profiles li{margin:0;padding:3px 5px}ul.top_profiles li:nth-child(odd){background-color:#eee}.media .profile_thumb{border:1px solid;width:50px;height:50px;margin:5px 10px 5px 0;border-radius:50%;padding:9px 12px}.media .profile_thumb i{font-size:30px}.media .date{background:#ccc;width:52px;margin-right:10px;border-radius:10px;padding:5px}.media .date .month{margin:0;text-align:center;color:#fff}.media .date .day{text-align:center;color:#fff;font-size:27px;margin:0;line-height:27px;font-weight:700}.event .media-body a.title{font-weight:700}.event .media-body p{margin-bottom:0}h4.graph_title{margin:7px;text-align:center}.fontawesome-icon-list .fa-hover a:hover{background-color:#b7b7b7;color:#fff;text-decoration:none}.fontawesome-icon-list .fa-hover a{display:block;line-height:32px;height:32px;padding-left:10px;border-radius:4px}.fontawesome-icon-list .fa-hover a:hover .fa{font-size:28px;vertical-align:-6px}.fontawesome-icon-list .fa-hover a .fa{width:32px;font-size:16px;display:inline-block;text-align:right;margin-right:10px}.main_menu .fa{width:26px;opacity:.99;display:inline-block;font-family:FontAwesome;font-style:normal;font-weight:400;font-size:18px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.tile-stats{position:relative;display:block;margin-bottom:12px;border:1px solid #e4e4e4;-webkit-border-radius:5px;overflow:hidden;padding-bottom:5px;-webkit-background-clip:padding-box;-moz-border-radius:5px;-moz-background-clip:padding;border-radius:5px;background-clip:padding-box;background:#fff;transition:all .3s ease-in-out}.tile-stats:hover .icon i{animation-name:tansformAnimation;animation-duration:.5s;animation-iteration-count:1;color:rgba(58,58,58,.41);animation-timing-function:ease;animation-fill-mode:forwards;-webkit-animation-name:tansformAnimation;-webkit-animation-duration:.5s;-webkit-animation-iteration-count:1;-webkit-animation-timing-function:ease;-webkit-animation-fill-mode:forwards;-moz-animation-name:tansformAnimation;-moz-animation-duration:.5s;-moz-animation-iteration-count:1;-moz-animation-timing-function:ease;-moz-animation-fill-mode:forwards}.tile-stats .icon{width:20px;height:20px;color:#bab8b8;position:absolute;right:53px;top:22px;z-index:1}.tile-stats .icon i{margin:0;font-size:60px;line-height:0;vertical-align:bottom;padding:0}.tile-stats .count{font-size:38px;font-weight:700;line-height:1.65857}.tile-stats .count,.tile-stats h3,.tile-stats p{position:relative;margin:0;margin-left:10px;z-index:5;padding:0}.tile-stats h3{color:#bab8b8}.tile-stats p{margin-top:5px;font-size:12px}.tile-stats>.dash-box-footer{position:relative;text-align:center;margin-top:5px;padding:3px 0;color:#fff;color:rgba(255,255,255,.8);display:block;z-index:10;background:rgba(0,0,0,.1);text-decoration:none}.tile-stats>.dash-box-footer:hover{color:#fff;background:rgba(0,0,0,.15)}.tile-stats>.dash-box-footer:hover{color:#fff;background:rgba(0,0,0,.15)}table.tile_info{padding:10px 15px}table.tile_info span.right{margin-right:0;float:right;position:absolute;right:4%}.tile:hover{text-decoration:none}.tile_header{border-bottom:transparent;padding:7px 15px;margin-bottom:15px;background:#e7e7e7}.tile_head h4{margin-top:0;margin-bottom:5px}.tiles-bottom{padding:5px 10px;margin-top:10px;background:rgba(194,194,194,.3);text-align:left}a.star{color:#428bca!important}.mail_content{background:none repeat scroll 0 0 #fff;border-radius:4px;margin-top:20px;min-height:500px;padding:10px 11px;width:100%}.list-btn-mail{margin-bottom:15px}.list-btn-mail.active{border-bottom:1px solid #39b3d7;padding:0 0 14px}.list-btn-mail>i{float:left;font-size:18px;font-style:normal;width:33px}.list-btn-mail>.cn{background:none repeat scroll 0 0 #39b3d7;border-radius:12px;color:#fff;float:right;font-style:normal;padding:0 5px}.button-mail{margin:0 0 15px!important;text-align:left;width:100%}.btn,.buttons,.modal-footer .btn+.btn,button{margin-bottom:5px;margin-right:5px}.btn-group .btn,.btn-group-vertical .btn{margin-bottom:0;margin-right:0}.mail_list_column{border-left:1px solid #dbdbdb}.mail_view{border-left:1px solid #dbdbdb}.mail_list{width:100%;border-bottom:1px solid #dbdbdb;margin-bottom:2px;display:inline-block}.mail_list .left{width:5%;float:left;margin-right:3%}.mail_list .right{width:90%;float:left}.mail_list h3{font-size:15px;font-weight:700;margin:0 0 6px}.mail_list h3 small{float:right;color:#adabab;font-size:11px;line-height:20px}.mail_list .badge{padding:3px 6px;font-size:8px;background:#bab7b7}@media (max-width:767px){.mail_list{margin-bottom:5px;display:inline-block}}.mail_heading h4{font-size:18px;border-bottom:1px solid #ddd;padding-bottom:10px;margin-top:20px}.attachment{margin-top:30px}.attachment ul{width:100%;list-style:none;padding-left:0;display:inline-block;margin-bottom:30px}.attachment ul li{float:left;width:150px;margin-right:10px;margin-bottom:10px}.attachment ul li img{height:150px;border:1px solid #ddd;padding:5px;margin-bottom:10px}.attachment ul li span{float:right}.attachment .file-name{float:left}.attachment .links{width:100%;display:inline-block}.compose{padding:0;position:fixed;bottom:0;right:0;background:#fff;border:1px solid #d9dee4;border-right:0;border-bottom:0;border-top-left-radius:5px;z-index:9999;display:none}.compose .compose-header{padding:5px;background:#169f85;color:#fff;border-top-left-radius:5px}.compose .compose-header .close{text-shadow:0 1px 0 #fff;line-height:.8}.compose .compose-body .editor.btn-toolbar{margin:0}.compose .compose-body .editor-wrapper{height:100%;min-height:50px;max-height:180px;border-radius:0;border-left:none;border-right:none;overflow:auto}.compose .compose-footer{padding:10px}.editor.btn-toolbar{zoom:1;background:#f7f7f7;margin:5px 2px;padding:3px 0;border:1px solid #efefef}.input-group{margin-bottom:10px}.ln_solid{border-top:1px solid #e5e5e5;color:#fff;background-color:#fff;height:1px;margin:20px 0}span.section{display:block;width:100%;padding:0;margin-bottom:20px;font-size:21px;line-height:inherit;color:#333;border:0;border-bottom:1px solid #e5e5e5}.form-control{border-radius:0;width:100%}.form-horizontal .control-label{padding-top:8px}.form-control:focus{border-color:#ccd0d7;box-shadow:none!important}legend{font-size:18px;color:inherit}.form-horizontal .form-group{margin-right:0;margin-left:0}.form-control-feedback{margin-top:8px;height:23px;color:#bbb;line-height:24px;font-size:15px}.form-control-feedback.left{border-right:1px solid #ccc;left:13px}.form-control-feedback.right{border-left:1px solid #ccc;right:13px}.form-control.has-feedback-left{padding-left:45px}.form-control.has-feedback-right{padding-right:45px}.form-group{margin-bottom:10px}.validate{margin-top:10px}.invalid-form-error-message{margin-top:10px;padding:5px}.invalid-form-error-message.filled{border-left:2px solid #e74c3c}p.parsley-success{color:#468847;background-color:#dff0d8;border:1px solid #d6e9c6}p.parsley-error{color:#b94a48;background-color:#f2dede;border:1px solid #eed3d7}ul.parsley-errors-list{list-style:none;color:#e74c3c;padding-left:0}input.parsley-error,select.parsley-error,textarea.parsley-error{background:#faedec;border:1px solid #e85445}.btn-group .parsley-errors-list{display:none}.bad input,.bad select,.bad textarea{border:1px solid #ce5454;box-shadow:0 0 4px -2px #ce5454;position:relative;left:0;-moz-animation:.7s 1 shake linear;-webkit-animation:.7s 1 shake linear}.item input,.item textarea{transition:.42s}.item .alert{float:left;margin:0 0 0 20px;padding:3px 10px;color:#fff;border-radius:3px 4px 4px 3px;background-color:#ce5454;max-width:170px;white-space:pre;position:relative;left:-15px;opacity:0;z-index:1;transition:.15s ease-out}.item .alert::after{content:'';display:block;height:0;width:0;border-color:transparent #ce5454 transparent transparent;border-style:solid;border-width:11px 7px;position:absolute;left:-13px;top:1px}.item.bad .alert{left:0;opacity:1}.inl-bl{display:inline-block}.well .markup{background:#fff;color:#777;position:relative;padding:45px 15px 15px;margin:15px 0 0 0;background-color:#fff;border-radius:0 0 4px 4px;box-shadow:none}.well .markup::after{content:'Example';position:absolute;top:15px;left:15px;font-size:12px;font-weight:700;color:#bbb;text-transform:uppercase;letter-spacing:1px}.autocomplete-suggestions{border:1px solid #e4e4e4;background:#f4f4f4;cursor:default;overflow:auto}.autocomplete-suggestion{padding:2px 5px;font-size:1.2em;white-space:nowrap;overflow:hidden}.autocomplete-selected{background:#f0f0f0}.autocomplete-suggestions strong{font-weight:400;color:#39f;font-weight:bolder}.btn{border-radius:3px}a.btn-danger,a.btn-primary,a.btn-success,a.btn-warning{color:#fff}.btn-success{background:#26b99a;border:1px solid #169f85}.btn-success.active,.btn-success:active,.btn-success:focus,.btn-success:hover,.open .dropdown-toggle.btn-success{background:#169f85}.btn-dark{color:#e9edef;background-color:#4b5f71;border-color:#364b5f}.btn-dark.active,.btn-dark:active,.btn-dark:focus,.btn-dark:hover,.open .dropdown-toggle.btn-dark{color:#fff;background-color:#394d5f;border-color:#394d5f}.btn-round{border-radius:30px}.btn.btn-app{position:relative;padding:15px 5px;margin:0 0 10px 10px;min-width:80px;height:60px;box-shadow:none;border-radius:0;text-align:center;color:#666;border:1px solid #ddd;background-color:#fafafa;font-size:12px}.btn.btn-app>.fa,.btn.btn-app>.glyphicon,.btn.btn-app>.ion{font-size:20px;display:block}.btn.btn-app:hover{background:#f4f4f4;color:#444;border-color:#aaa}.btn.btn-app:active,.btn.btn-app:focus{box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn.btn-app>.badge{position:absolute;top:-3px;right:-10px;font-size:10px;font-weight:400}textarea{padding:10px;vertical-align:top;width:200px}textarea:focus{outline-style:solid;outline-width:2px}.btn_{display:inline-block;padding:3px 9px;margin-bottom:0;font-size:14px;line-height:20px;text-align:center;vertical-align:middle;cursor:pointer;color:#333;text-shadow:0 1px 1px rgba(255,255,255,.75);background-color:#f5f5f5;background-image:linear-gradient(to bottom,#fff,#e6e6e6);background-repeat:repeat-x;border-color:#e6e6e6 #e6e6e6 #bfbfbf;border-color:rgba(0,0,0,.1) rgba(0,0,0,.1) rgba(0,0,0,.25);border:1px solid #ccc;border-bottom-color:#b3b3b3;border-radius:4px;box-shadow:inset 0 1px 0 rgba(255,255,255,.2),0 1px 2px rgba(0,0,0,.05)}.bs-glyphicons{margin:0 -10px 20px;overflow:hidden}.bs-glyphicons-list{padding-left:0;list-style:none}.bs-glyphicons li{float:left;width:25%;height:115px;padding:10px;font-size:10px;line-height:1.4;text-align:center;background-color:#f9f9f9;border:1px solid #fff}.bs-glyphicons .glyphicon{margin-top:5px;margin-bottom:10px;font-size:24px}.bs-glyphicons .glyphicon-class{display:block;text-align:center;word-wrap:break-word}.bs-glyphicons li:hover{color:#fff;background-color:#1abb9c}@media (min-width:768px){.bs-glyphicons{margin-right:0;margin-left:0}.bs-glyphicons li{width:12.5%;font-size:12px}}.tagsinput{border:1px solid #ccc;background:#fff;padding:6px 6px 0;width:300px;overflow-y:auto}span.tag{-moz-border-radius:2px;-webkit-border-radius:2px;display:block;float:left;padding:5px 9px;text-decoration:none;background:#1abb9c;color:#f1f6f7;margin-right:5px;font-weight:500;margin-bottom:5px;font-family:helvetica}span.tag a{color:#f1f6f7!important}.tagsinput span.tag a{font-weight:700;color:#82ad2b;text-decoration:none;font-size:11px}.tagsinput input{width:80px;margin:0;font-family:helvetica;font-size:13px;border:1px solid transparent;padding:3px;background:0 0;color:#000;outline:0}.tagsinput div{display:block;float:left}.tags_clear{clear:both;width:100%;height:0}.not_valid{background:#fbd8db!important;color:#90111a!important}ul.bar_tabs{overflow:visible;background:#f5f7fa;height:25px;margin:21px 0 14px;padding-left:14px;position:relative;z-index:1;width:100%;border-bottom:1px solid #e6e9ed}ul.bar_tabs>li{border:1px solid #e6e9ed;color:#333!important;margin-top:-17px;margin-left:8px;background:#fff;border-bottom:none;border-radius:4px 4px 0 0}ul.bar_tabs>li.active{border-right:6px solid #d3d6da;border-top:0;margin-top:-15px}ul.bar_tabs>li a{padding:10px 17px;background:#f5f7fa;margin:0;border-top-right-radius:0}ul.bar_tabs>li a:hover{border:1px solid transparent}ul.bar_tabs>li.active a{border-bottom:none}ul.bar_tabs.right{padding-right:14px}ul.bar_tabs.right li{float:right}a:focus{outline:0}ul.timeline li{position:relative;border-bottom:1px solid #e8e8e8;clear:both}.timeline .block{margin:0;border-left:3px solid #e8e8e8;overflow:visible;padding:10px 15px;margin-left:105px}.timeline.widget{min-width:0;max-width:inherit}.timeline.widget .block{margin-left:5px}.timeline .tags{position:absolute;top:15px;left:0;width:84px}.timeline .tag{display:block;height:30px;font-size:13px;padding:8px}.timeline .tag span{display:block;overflow:hidden;width:100%;white-space:nowrap;text-overflow:ellipsis}.tag{line-height:1;background:#1abb9c;color:#fff!important}.tag:after{content:' ';height:30px;width:0;position:absolute;left:100%;top:0;margin:0;pointer-events:none;border-top:14px solid transparent;border-bottom:14px solid transparent;border-left:11px solid #1abb9c}.timeline h2.title{position:relative;font-size:16px;margin:0}.timeline h2.title:before{content:'';position:absolute;left:-23px;top:3px;display:block;width:14px;height:14px;border:3px solid #d2d3d2;border-radius:14px;background:#f9f9f9}.timeline .byline{padding:.25em 0}.byline{-webkit-font-smoothing:antialiased;font-style:italic;font-size:.9375em;line-height:1.3;color:#aab6aa}ul.social li{border:0}.social-body,.social-sidebar{float:right}.social-sidebar{background:#ededed;width:22%}.social-body{border:1px solid #ccc;width:78%}.thumb img{width:50px;height:50px;border-radius:50%}.chat .thumb img{width:27px;height:27px;border-radius:50%}.chat .status{float:left;margin:16px 0 0 -16px;font-size:14px;font-weight:700;width:12px;height:12px;display:block;border:2px solid #fff;z-index:12312;border-radius:50%}.chat .status.online{background:#1abb9c}.chat .status.away{background:#f39c12}.chat .status.offline{background:#ccc}.chat .media-body{padding-top:5px}.dashboard_graph .x_title{padding:5px 5px 7px}.dashboard_graph .x_title h3{margin:0;font-weight:400}.chart{position:relative;display:inline-block;width:110px;height:110px;margin-top:5px;margin-bottom:5px;text-align:center}.chart canvas{position:absolute;top:0;left:0}.percent{display:inline-block;line-height:110px;z-index:2;font-size:18px}.percent:after{content:'%';margin-left:.1em;font-size:.8em}.angular{margin-top:100px}.angular .chart{margin-top:0}.widget{min-width:250px;max-width:310px}.widget_tally_box .btn-group button{text-align:center}.widget_tally_box .btn-group button{color:inherit;font-weight:500;background-color:#f5f5f5;border:1px solid #e7e7e7}ul.widget_tally,ul.widget_tally li{width:100%}ul.widget_tally li{padding:2px 10px;border-bottom:1px solid #ececec;padding-bottom:4px}ul.widget_tally .month{width:70%;float:left}ul.widget_tally .count{width:30%;float:left;text-align:right}.pie_bg{border-bottom:1px solid rgba(101,204,182,.16);padding-bottom:15px;border-radius:4px;padding-bottom:10px;box-shadow:0 4px 6px -6px #222}.widget_tally_box .flex{display:-ms-flexbox;display:flex}ul.widget_profile_box{width:100%;height:42px;padding:3px;background:#ececec;margin-top:40px;margin-left:1px}ul.widget_profile_box li:first-child{width:25%;float:left}ul.widget_profile_box li:first-child a{float:left}ul.widget_profile_box li:last-child{width:25%;float:right}ul.widget_profile_box li:last-child a{float:right}ul.widget_profile_box li a{font-size:22px;text-align:center;width:35px;height:35px;border:1px solid rgba(52,73,94,.44);display:block;border-radius:50%;padding:0}ul.widget_profile_box li a:hover{color:#1abb9c!important;border:1px solid #26b99a}ul.widget_profile_box li .profile_img{width:85px;height:85px;margin:0;margin-top:-28px}.widget_tally_box p,.widget_tally_box span{text-align:center}.widget_tally_box .name{text-align:center;margin:25px}.widget_tally_box .name_title{text-align:center;margin:5px}.widget_tally_box ul.legend{margin:0}.widget_tally_box ul.legend p,.widget_tally_box ul.legend span{text-align:left}.widget_tally_box ul.legend li .icon{font-size:20px;float:left;width:14px}.widget_tally_box ul.legend li .name{font-size:14px;margin:5px 0 0 14px;text-overflow:ellipsis;float:left}.widget_tally_box ul.legend p{display:inline-block;margin:0}.widget_tally_box ul.verticle_bars li{height:140px;width:23%}.widget .verticle_bars li .progress.vertical.progress_wide{width:65%}ul.count2{width:100%;margin-left:1px;border:1px solid #ddd;border-left:0;border-right:0;padding:10px 0}ul.count2 li{width:30%;text-align:center}ul.count2 li h3{font-weight:400;margin:0}ul.count2 li span{font-weight:300}.divider{border-bottom:1px solid #ddd;margin:10px}.divider-dashed{border-top:1px dashed #e7eaec;background-color:#fff;height:1px;margin:10px 0}ul.messages{padding:0;list-style:none}.tasks li,ul.messages li{border-bottom:1px dotted #e6e6e6;padding:8px 0}img.avatar,ul.messages li img.avatar{height:32px;width:32px;float:left;display:inline-block;border-radius:2px;padding:2px;background:#f7f7f7;border:1px solid #e6e6e6}ul.messages li .message_date{float:right;text-align:right}ul.messages li .message_wrapper{margin-left:50px;margin-right:40px}ul.messages li .message_wrapper h4.heading{font-weight:600;margin:0;cursor:pointer;margin-bottom:10px;line-height:100%}ul.messages li .message_wrapper blockquote{padding:0 10px;margin:0;border-left:5px solid #eee}ul.user_data li{margin-bottom:6px}ul.user_data li p{margin-bottom:0}ul.user_data li .progress{width:90%}.project_progress .progress{margin-bottom:3px!important;margin-top:5px}.projects .list-inline{margin:0}.profile_title{background:#f5f7fa;border:0;padding:7px 0;display:-ms-flexbox;display:flex}ul.stats-overview{border-bottom:1px solid #e8e8e8;padding-bottom:10px;margin-bottom:10px}ul.stats-overview li{display:inline-block;text-align:center;padding:0 15px;width:30%;font-size:14px;border-right:1px solid #e8e8e8}ul.stats-overview li:last-child{border-right:0}ul.stats-overview li .name{font-size:12px}ul.stats-overview li .value{font-size:14px;font-weight:700;display:block}ul.stats-overview li:first-child{padding-left:0}ul.project_files li{margin-bottom:5px}ul.project_files li a i{width:20px}.project_detail p{margin-bottom:10px}.project_detail p.title{font-weight:700;margin-bottom:0}.avatar img{border-radius:50%;max-width:45px}.pricing{background:#fff}.pricing .title{background:#1abb9c;height:110px;color:#fff;padding:15px 0 0;text-align:center}.pricing .title h2{text-transform:capitalize;font-size:18px;border-radius:5px 5px 0 0;margin:0;font-weight:400}.pricing .title h1{font-size:30px;margin:12px}.pricing .title span{background:rgba(51,51,51,.28);padding:2px 5px}.pricing_features{background:#fafafa;padding:20px 15px;min-height:230px;font-size:13.5px}.pricing_features ul li{margin-top:10px}.pricing_footer{padding:10px 15px;background-color:#f5f5f5;border-top:1px solid #ddd;text-align:center;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.pricing_footer p{font-size:13px;padding:10px 0 2px;display:block}.ui-ribbon-container{position:relative}.ui-ribbon-container .ui-ribbon-wrapper{position:absolute;overflow:hidden;width:85px;height:88px;top:-3px;right:-3px}.ui-ribbon-container.ui-ribbon-primary .ui-ribbon{background-color:#5b90bf}.ui-ribbon-container .ui-ribbon{position:relative;display:block;text-align:center;font-size:15px;font-weight:700;color:#fff;transform:rotate(45deg);padding:7px 0;left:-5px;top:15px;width:120px;line-height:20px;background-color:#555;box-shadow:0 0 3px rgba(0,0,0,.3)}.ui-ribbon-container.ui-ribbon-primary .ui-ribbon:after,.ui-ribbon-container.ui-ribbon-primary .ui-ribbon:before{border-top:2px solid #5b90bf}.ui-ribbon-container .ui-ribbon:before{left:0;bottom:-1px}.ui-ribbon-container .ui-ribbon:before{right:0}.ui-ribbon-container .ui-ribbon:after,.ui-ribbon-container .ui-ribbon:before{position:absolute;content:' ';line-height:0;border-top:2px solid #555;border-left:2px solid transparent;border-right:2px solid transparent}.thumbnail .image{height:120px;overflow:hidden}.caption{padding:9px 5px;background:#f7f7f7}.caption p{margin-bottom:5px}.thumbnail{height:190px;overflow:hidden}.view{overflow:hidden;position:relative;text-align:center;box-shadow:1px 1px 2px #e6e6e6;cursor:default}.view .content,.view .mask{position:absolute;width:100%;overflow:hidden;top:0;left:0}.view img{display:block;position:relative}.view .tools{text-transform:uppercase;color:#fff;text-align:center;position:relative;font-size:17px;padding:3px;background:rgba(0,0,0,.35);margin:43px 0 0 0}.mask.no-caption .tools{margin:90px 0 0 0}.view .tools a{display:inline-block;color:#fff;font-size:18px;font-weight:400;padding:0 4px}.view p{font-family:Georgia,serif;font-style:italic;font-size:12px;position:relative;color:#fff;padding:10px 20px 20px;text-align:center}.view a.info{display:inline-block;text-decoration:none;padding:7px 14px;background:#000;color:#fff;text-transform:uppercase;box-shadow:0 0 1px #000}.view-first img{transition:all .2s linear}.view-first .mask{opacity:0;background-color:rgba(0,0,0,.5);transition:all .4s ease-in-out}.view-first .tools{transform:translateY(-100px);opacity:0;transition:all .2s ease-in-out}.view-first p{transform:translateY(100px);opacity:0;transition:all .2s linear}.view-first:hover img{transform:scale(1.1)}.view-first:hover .mask{opacity:1}.view-first:hover .tools,.view-first:hover p{opacity:1;transform:translateY(0)}.view-first:hover p{transition-delay:0.1s}/*! * bootstrap-vertical-tabs - v1.2.1 * https://dbtek.github.io/bootstrap-vertical-tabs * 2014-11-07 diff --git a/public/assets/js/all-js.js b/public/assets/js/all-js.js index c73fadf3e..c0763dd33 100644 --- a/public/assets/js/all-js.js +++ b/public/assets/js/all-js.js @@ -1 +1 @@ -var a,e;!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,(function(e,t){"use strict";var n=[],c=Object.getPrototypeOf,r=n.slice,a=n.flat?function(e){return n.flat.call(e)}:function(e){return n.concat.apply([],e)},o=n.push,i=n.indexOf,s={},l=s.toString,u=s.hasOwnProperty,f=u.toString,d=f.call(Object),h={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},p=function(e){return null!=e&&e===e.window},g=e.document,v={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var c,r,a=(n=n||g).createElement("script");if(a.text=e,t)for(c in v)(r=t[c]||t.getAttribute&&t.getAttribute(c))&&a.setAttribute(c,r);n.head.appendChild(a).parentNode.removeChild(a)}function z(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?s[l.call(e)]||"object":typeof e}var y="3.6.4",C=function(e,t){return new C.fn.init(e,t)};function H(e){var t=!!e&&"length"in e&&e.length,n=z(e);return!m(e)&&!p(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+P+")"+P+"*"),U=new RegExp(P+"|>"),W=new RegExp(j),Y=new RegExp("^"+R+"$"),Z={ID:new RegExp("^#("+R+")"),CLASS:new RegExp("^\\.("+R+")"),TAG:new RegExp("^("+R+"|[*])"),ATTR:new RegExp("^"+I),PSEUDO:new RegExp("^"+j),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+P+"*(even|odd|(([+-]|)(\\d*)n|)"+P+"*(?:([+-]|)"+P+"*(\\d+)|))"+P+"*\\)|)","i"),bool:new RegExp("^(?:"+O+")$","i"),needsContext:new RegExp("^"+P+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+P+"*((?:-\\d)?\\d*)"+P+"*\\)|)(?=[^-]|$)","i")},X=/HTML$/i,G=/^(?:input|select|textarea|button)$/i,Q=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+P+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},ce=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,re=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},ae=function(){d()},oe=ye((function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{D.apply(S=E.call(C.childNodes),C.childNodes),S[C.childNodes.length].nodeType}catch(t){D={apply:S.length?function(e,t){T.apply(e,E.call(t))}:function(e,t){for(var n=e.length,c=0;e[n++]=t[c++];);e.length=n-1}}}function ie(e,t,c,r){var a,i,l,u,f,m,v,b=t&&t.ownerDocument,C=t?t.nodeType:9;if(c=c||[],"string"!=typeof e||!e||1!==C&&9!==C&&11!==C)return c;if(!r&&(d(t),t=t||h,p)){if(11!==C&&(f=J.exec(e)))if(a=f[1]){if(9===C){if(!(l=t.getElementById(a)))return c;if(l.id===a)return c.push(l),c}else if(b&&(l=b.getElementById(a))&&z(t,l)&&l.id===a)return c.push(l),c}else{if(f[2])return D.apply(c,t.getElementsByTagName(e)),c;if((a=f[3])&&n.getElementsByClassName&&t.getElementsByClassName)return D.apply(c,t.getElementsByClassName(a)),c}if(n.qsa&&!_[e+" "]&&(!g||!g.test(e))&&(1!==C||"object"!==t.nodeName.toLowerCase())){if(v=e,b=t,1===C&&(U.test(e)||q.test(e))){for((b=ee.test(e)&&ve(t.parentNode)||t)===t&&n.scope||((u=t.getAttribute("id"))?u=u.replace(ce,re):t.setAttribute("id",u=y)),i=(m=o(e)).length;i--;)m[i]=(u?"#"+u:":scope")+" "+ze(m[i]);v=m.join(",")}try{return D.apply(c,b.querySelectorAll(v)),c}catch(t){_(e,!0)}finally{u===y&&t.removeAttribute("id")}}}return s(e.replace($,"$1"),t,c,r)}function se(){var e=[];return function t(n,r){return e.push(n+" ")>c.cacheLength&&delete t[e.shift()],t[n+" "]=r}}function le(e){return e[y]=!0,e}function ue(e){var t=h.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){for(var n=e.split("|"),r=n.length;r--;)c.attrHandle[n[r]]=t}function de(e,t){var n=t&&e,c=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(c)return c;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function he(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function me(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function pe(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&oe(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ge(e){return le((function(t){return t=+t,le((function(n,c){for(var r,a=e([],n.length,t),o=a.length;o--;)n[r=a[o]]&&(n[r]=!(c[r]=n[r]))}))}))}function ve(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=ie.support={},a=ie.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!X.test(t||n&&n.nodeName||"HTML")},d=ie.setDocument=function(e){var t,r,o=e?e.ownerDocument||e:C;return o!=h&&9===o.nodeType&&o.documentElement&&(m=(h=o).documentElement,p=!a(h),C!=h&&(r=h.defaultView)&&r.top!==r&&(r.addEventListener?r.addEventListener("unload",ae,!1):r.attachEvent&&r.attachEvent("onunload",ae)),n.scope=ue((function(e){return m.appendChild(e).appendChild(h.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length})),n.cssHas=ue((function(){try{return h.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}})),n.attributes=ue((function(e){return e.className="i",!e.getAttribute("className")})),n.getElementsByTagName=ue((function(e){return e.appendChild(h.createComment("")),!e.getElementsByTagName("*").length})),n.getElementsByClassName=K.test(h.getElementsByClassName),n.getById=ue((function(e){return m.appendChild(e).id=y,!h.getElementsByName||!h.getElementsByName(y).length})),n.getById?(c.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},c.find.ID=function(e,t){if(void 0!==t.getElementById&&p){var n=t.getElementById(e);return n?[n]:[]}}):(c.filter.ID=function(e){var t=e.replace(te,ne);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},c.find.ID=function(e,t){if(void 0!==t.getElementById&&p){var n,c,r,a=t.getElementById(e);if(a){if((n=a.getAttributeNode("id"))&&n.value===e)return[a];for(r=t.getElementsByName(e),c=0;a=r[c++];)if((n=a.getAttributeNode("id"))&&n.value===e)return[a]}return[]}}),c.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,c=[],r=0,a=t.getElementsByTagName(e);if("*"===e){for(;n=a[r++];)1===n.nodeType&&c.push(n);return c}return a},c.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&p)return t.getElementsByClassName(e)},v=[],g=[],(n.qsa=K.test(h.querySelectorAll))&&(ue((function(e){var t;m.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+P+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||g.push("\\["+P+"*(?:value|"+O+")"),e.querySelectorAll("[id~="+y+"-]").length||g.push("~="),(t=h.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||g.push("\\["+P+"*name"+P+"*="+P+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||g.push(":checked"),e.querySelectorAll("a#"+y+"+*").length||g.push(".#.+[+~]"),e.querySelectorAll("\\\f"),g.push("[\\r\\n\\f]")})),ue((function(e){e.innerHTML="";var t=h.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&g.push("name"+P+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),m.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")}))),(n.matchesSelector=K.test(b=m.matches||m.webkitMatchesSelector||m.mozMatchesSelector||m.oMatchesSelector||m.msMatchesSelector))&&ue((function(e){n.disconnectedMatch=b.call(e,"*"),b.call(e,"[s!='']:x"),v.push("!=",j)})),n.cssHas||g.push(":has"),g=g.length&&new RegExp(g.join("|")),v=v.length&&new RegExp(v.join("|")),t=K.test(m.compareDocumentPosition),z=t||K.test(m.contains)?function(e,t){var n=9===e.nodeType&&e.documentElement||e,c=t&&t.parentNode;return e===c||!(!c||1!==c.nodeType||!(n.contains?n.contains(c):e.compareDocumentPosition&&16&e.compareDocumentPosition(c)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},x=t?function(e,t){if(e===t)return f=!0,0;var c=!e.compareDocumentPosition-!t.compareDocumentPosition;return c||(1&(c=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===c?e==h||e.ownerDocument==C&&z(C,e)?-1:t==h||t.ownerDocument==C&&z(C,t)?1:u?N(u,e)-N(u,t):0:4&c?-1:1)}:function(e,t){if(e===t)return f=!0,0;var n,c=0,r=e.parentNode,a=t.parentNode,o=[e],i=[t];if(!r||!a)return e==h?-1:t==h?1:r?-1:a?1:u?N(u,e)-N(u,t):0;if(r===a)return de(e,t);for(n=e;n=n.parentNode;)o.unshift(n);for(n=t;n=n.parentNode;)i.unshift(n);for(;o[c]===i[c];)c++;return c?de(o[c],i[c]):o[c]==C?-1:i[c]==C?1:0}),h},ie.matches=function(e,t){return ie(e,null,null,t)},ie.matchesSelector=function(e,t){if(d(e),n.matchesSelector&&p&&!_[t+" "]&&(!v||!v.test(t))&&(!g||!g.test(t)))try{var c=b.call(e,t);if(c||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return c}catch(e){_(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||ie.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&ie.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return Z.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&W.test(n)&&(t=o(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=V[e+" "];return t||(t=new RegExp("(^|"+P+")"+e+"("+P+"|$)"))&&V(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(c){var r=ie.attr(c,e);return null==r?"!="===t:!t||(r+="","="===t?r===n:"!="===t?r!==n:"^="===t?n&&0===r.indexOf(n):"*="===t?n&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function k(e,t,n){return m(t)?C.grep(e,(function(e,c){return!!t.call(e,c,e)!==n})):t.nodeType?C.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?C.grep(e,(function(e){return-1)[^>]*|#([\w-]+))$/;(C.fn.init=function(e,t,n){var c,r;if(!e)return this;if(n=n||S,"string"==typeof e){if(!(c="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:A.exec(e))||!c[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(c[1]){if(t=t instanceof C?t[0]:t,C.merge(this,C.parseHTML(c[1],t&&t.nodeType?t.ownerDocument||t:g,!0)),x.test(c[1])&&C.isPlainObject(t))for(c in t)m(this[c])?this[c](t[c]):this.attr(c,t[c]);return this}return(r=g.getElementById(c[2]))&&(this[0]=r,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(C):C.makeArray(e,this)}).prototype=C.fn,S=C(g);var T=/^(?:parents|prev(?:Until|All))/,D={children:!0,contents:!0,next:!0,prev:!0};function E(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}C.fn.extend({has:function(e){var t=C(e,this),n=t.length;return this.filter((function(){for(var e=0;e\x20\t\r\n\f]*)/i,me=/^$|^module$|\/(?:java|ecma)script/i;ue=g.createDocumentFragment().appendChild(g.createElement("div")),(fe=g.createElement("input")).setAttribute("type","radio"),fe.setAttribute("checked","checked"),fe.setAttribute("name","t"),ue.appendChild(fe),h.checkClone=ue.cloneNode(!0).cloneNode(!0).lastChild.checked,ue.innerHTML="",h.noCloneChecked=!!ue.cloneNode(!0).lastChild.defaultValue,ue.innerHTML="",h.option=!!ue.lastChild;var pe={thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function ge(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&_(e,t)?C.merge([e],n):n}function ve(e,t){for(var n=0,c=e.length;n",""]);var be=/<|&#?\w+;/;function ze(e,t,n,c,r){for(var a,o,i,s,l,u,f=t.createDocumentFragment(),d=[],h=0,m=e.length;h\s*$/g;function ke(e,t){return _(e,"table")&&_(11!==t.nodeType?t:t.firstChild,"tr")&&C(e).children("tbody")[0]||e}function Se(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Ae(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Te(e,t){var n,c,r,a,o,i;if(1===t.nodeType){if(X.hasData(e)&&(i=X.get(e).events))for(r in X.remove(t,"handle events"),i)for(n=0,c=i[r].length;n").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&r("error"===e.type?404:200,e.type)}),g.head.appendChild(t[0])},abort:function(){n&&n()}}}));var Ut,Wt=[],Yt=/(=)\?(?=&|$)|\?\?/;C.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Wt.pop()||C.expando+"_"+Mt.guid++;return this[e]=!0,e}}),C.ajaxPrefilter("json jsonp",(function(t,n,c){var r,a,o,i=!1!==t.jsonp&&(Yt.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Yt.test(t.data)&&"data");if(i||"jsonp"===t.dataTypes[0])return r=t.jsonpCallback=m(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,i?t[i]=t[i].replace(Yt,"$1"+r):!1!==t.jsonp&&(t.url+=(Vt.test(t.url)?"&":"?")+t.jsonp+"="+r),t.converters["script json"]=function(){return o||C.error(r+" was not called"),o[0]},t.dataTypes[0]="json",a=e[r],e[r]=function(){o=arguments},c.always((function(){void 0===a?C(e).removeProp(r):e[r]=a,t[r]&&(t.jsonpCallback=n.jsonpCallback,Wt.push(r)),o&&m(a)&&a(o[0]),o=a=void 0})),"script"})),h.createHTMLDocument=((Ut=g.implementation.createHTMLDocument("").body).innerHTML="
",2===Ut.childNodes.length),C.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(h.createHTMLDocument?((c=(t=g.implementation.createHTMLDocument("")).createElement("base")).href=g.location.href,t.head.appendChild(c)):t=g),a=!n&&[],(r=x.exec(e))?[t.createElement(r[1])]:(r=ze([e],t,a),a&&a.length&&C(a).remove(),C.merge([],r.childNodes)));var c,r,a},C.fn.load=function(e,t,n){var c,r,a,o=this,i=e.indexOf(" ");return-1").append(C.parseHTML(e)).find(c):e)})).always(n&&function(e,t){o.each((function(){n.apply(this,a||[e.responseText,t,e])}))}),this},C.expr.pseudos.animated=function(e){return C.grep(C.timers,(function(t){return e===t.elem})).length},C.offset={setOffset:function(e,t,n){var c,r,a,o,i,s,l=C.css(e,"position"),u=C(e),f={};"static"===l&&(e.style.position="relative"),i=u.offset(),a=C.css(e,"top"),s=C.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(a+s).indexOf("auto")?(o=(c=u.position()).top,r=c.left):(o=parseFloat(a)||0,r=parseFloat(s)||0),m(t)&&(t=t.call(e,n,C.extend({},i))),null!=t.top&&(f.top=t.top-i.top+o),null!=t.left&&(f.left=t.left-i.left+r),"using"in t?t.using.call(e,f):u.css(f)}},C.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){C.offset.setOffset(this,e,t)}));var t,n,c=this[0];return c?c.getClientRects().length?(t=c.getBoundingClientRect(),n=c.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,c=this[0],r={top:0,left:0};if("fixed"===C.css(c,"position"))t=c.getBoundingClientRect();else{for(t=this.offset(),n=c.ownerDocument,e=c.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===C.css(e,"position");)e=e.parentNode;e&&e!==c&&1===e.nodeType&&((r=C(e).offset()).top+=C.css(e,"borderTopWidth",!0),r.left+=C.css(e,"borderLeftWidth",!0))}return{top:t.top-r.top-C.css(c,"marginTop",!0),left:t.left-r.left-C.css(c,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===C.css(e,"position");)e=e.offsetParent;return e||ce}))}}),C.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n="pageYOffset"===t;C.fn[e]=function(c){return $(this,(function(e,c,r){var a;if(p(e)?a=e:9===e.nodeType&&(a=e.defaultView),void 0===r)return a?a[t]:e[c];a?a.scrollTo(n?a.pageXOffset:r,n?r:a.pageYOffset):e[c]=r}),e,c,arguments.length)}})),C.each(["top","left"],(function(e,t){C.cssHooks[t]=Fe(h.pixelPosition,(function(e,n){if(n)return n=$e(e,t),Ne.test(n)?C(e).position()[t]+"px":n}))})),C.each({Height:"height",Width:"width"},(function(e,t){C.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,c){C.fn[c]=function(r,a){var o=arguments.length&&(n||"boolean"!=typeof r),i=n||(!0===r||!0===a?"margin":"border");return $(this,(function(t,n,r){var a;return p(t)?0===c.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(a=t.documentElement,Math.max(t.body["scroll"+e],a["scroll"+e],t.body["offset"+e],a["offset"+e],a["client"+e])):void 0===r?C.css(t,n,i):C.style(t,n,r,i)}),t,o?r:void 0,o)}}))})),C.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){C.fn[t]=function(e){return this.on(t,e)}})),C.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,c){return this.on(t,e,n,c)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),C.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(e,t){C.fn[t]=function(e,n){return 0\x20\t\r\n\f]*)[^>]*)\/>/gi;e.UNSAFE_restoreLegacyHtmlPrefilter=function(){e.migrateEnablePatches("self-closed-tags")},l(e,"htmlPrefilter",(function(e){var t,n;return(n=(t=e).replace(P,"<$1>"))!==t&&O(t)!==O(n)&&a("self-closed-tags","HTML tags must be properly nested and closed: "+t),e.replace(P,"<$1>")}),"self-closed-tags"),e.migrateDisablePatches("self-closed-tags");var R,I,j,B=e.fn.offset;return l(e.fn,"offset",(function(){var e=this[0];return!e||e.nodeType&&e.getBoundingClientRect?B.apply(this,arguments):(a("offset-valid-elem","jQuery.fn.offset() requires a valid DOM element"),arguments.length?this:void 0)}),"offset-valid-elem"),e.ajax&&(R=e.param,l(e,"param",(function(t,n){var c=e.ajaxSettings&&e.ajaxSettings.traditional;return void 0===n&&c&&(a("param-ajax-traditional","jQuery.param() no longer uses jQuery.ajaxSettings.traditional"),n=c),R.call(this,t,n)}),"param-ajax-traditional")),s(e.fn,"andSelf",e.fn.addBack,"andSelf","jQuery.fn.andSelf() is deprecated and removed, use jQuery.fn.addBack()"),e.Deferred&&(I=e.Deferred,j=[["resolve","done",e.Callbacks("once memory"),e.Callbacks("once memory"),"resolved"],["reject","fail",e.Callbacks("once memory"),e.Callbacks("once memory"),"rejected"],["notify","progress",e.Callbacks("memory"),e.Callbacks("memory")]],l(e,"Deferred",(function(t){var n=I(),c=n.promise();function r(){var t=arguments;return e.Deferred((function(r){e.each(j,(function(e,a){var o="function"==typeof t[e]&&t[e];n[a[1]]((function(){var e=o&&o.apply(this,arguments);e&&"function"==typeof e.promise?e.promise().done(r.resolve).fail(r.reject).progress(r.notify):r[a[0]+"With"](this===c?r.promise():this,o?[e]:arguments)}))})),t=null})).promise()}return s(n,"pipe",r,"deferred-pipe","deferred.pipe() is deprecated"),s(c,"pipe",r,"deferred-pipe","deferred.pipe() is deprecated"),t&&t.call(n,n),n}),"deferred-pipe"),e.Deferred.exceptionHook=I.exceptionHook),e})),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).bootstrap=t()}(this,(function(){"use strict";const e="transitionend",t=e=>{let t=e.getAttribute("data-bs-target");if(!t||"#"===t){let n=e.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n=`#${n.split("#")[1]}`),t=n&&"#"!==n?n.trim():null}return t},n=e=>{const n=t(e);return n&&document.querySelector(n)?n:null},c=e=>{const n=t(e);return n?document.querySelector(n):null},r=t=>{t.dispatchEvent(new Event(e))},a=e=>!(!e||"object"!=typeof e)&&(void 0!==e.jquery&&(e=e[0]),void 0!==e.nodeType),o=e=>a(e)?e.jquery?e[0]:e:"string"==typeof e&&e.length>0?document.querySelector(e):null,i=e=>{if(!a(e)||0===e.getClientRects().length)return!1;const t="visible"===getComputedStyle(e).getPropertyValue("visibility"),n=e.closest("details:not([open])");if(!n)return t;if(n!==e){const t=e.closest("summary");if(t&&t.parentNode!==n)return!1;if(null===t)return!1}return t},s=e=>!e||e.nodeType!==Node.ELEMENT_NODE||(!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled"))),l=e=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?l(e.parentNode):null},u=()=>{},f=e=>{e.offsetHeight},d=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,h=[],m=()=>"rtl"===document.documentElement.dir,p=e=>{var t;t=()=>{const t=d();if(t){const n=e.NAME,c=t.fn[n];t.fn[n]=e.jQueryInterface,t.fn[n].Constructor=e,t.fn[n].noConflict=()=>(t.fn[n]=c,e.jQueryInterface)}},"loading"===document.readyState?(h.length||document.addEventListener("DOMContentLoaded",(()=>{for(const e of h)e()})),h.push(t)):t()},g=e=>{"function"==typeof e&&e()},v=(t,n,c=!0)=>{if(!c)return void g(t);const a=(e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:n}=window.getComputedStyle(e);const c=Number.parseFloat(t),r=Number.parseFloat(n);return c||r?(t=t.split(",")[0],n=n.split(",")[0],1e3*(Number.parseFloat(t)+Number.parseFloat(n))):0})(n)+5;let o=!1;const i=({target:c})=>{c===n&&(o=!0,n.removeEventListener(e,i),g(t))};n.addEventListener(e,i),setTimeout((()=>{o||r(n)}),a)},b=(e,t,n,c)=>{const r=e.length;let a=e.indexOf(t);return-1===a?!n&&c?e[r-1]:e[0]:(a+=n?1:-1,c&&(a=(a+r)%r),e[Math.max(0,Math.min(a,r-1))])},z=/[^.]*(?=\..*)\.|.*/,y=/\..*/,C=/::\d+$/,H={};let M=1;const V={mouseenter:"mouseover",mouseleave:"mouseout"},L=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function w(e,t){return t&&`${t}::${M++}`||e.uidEvent||M++}function _(e){const t=w(e);return e.uidEvent=t,H[t]=H[t]||{},H[t]}function x(e,t,n=null){return Object.values(e).find((e=>e.callable===t&&e.delegationSelector===n))}function k(e,t,n){const c="string"==typeof t,r=c?n:t||n;let a=D(e);return L.has(a)||(a=e),[c,r,a]}function S(e,t,n,c,r){if("string"!=typeof t||!e)return;let[a,o,i]=k(t,n,c);if(t in V){const e=e=>function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)};o=e(o)}const s=_(e),l=s[i]||(s[i]={}),u=x(l,o,a?n:null);if(u)return void(u.oneOff=u.oneOff&&r);const f=w(o,t.replace(z,"")),d=a?function(e,t,n){return function c(r){const a=e.querySelectorAll(t);for(let{target:o}=r;o&&o!==this;o=o.parentNode)for(const i of a)if(i===o)return N(r,{delegateTarget:o}),c.oneOff&&E.off(e,r.type,t,n),n.apply(o,[r])}}(e,n,o):function(e,t){return function n(c){return N(c,{delegateTarget:e}),n.oneOff&&E.off(e,c.type,t),t.apply(e,[c])}}(e,o);d.delegationSelector=a?n:null,d.callable=o,d.oneOff=r,d.uidEvent=f,l[f]=d,e.addEventListener(i,d,a)}function A(e,t,n,c,r){const a=x(t[n],c,r);a&&(e.removeEventListener(n,a,Boolean(r)),delete t[n][a.uidEvent])}function T(e,t,n,c){const r=t[n]||{};for(const a of Object.keys(r))if(a.includes(c)){const c=r[a];A(e,t,n,c.callable,c.delegationSelector)}}function D(e){return e=e.replace(y,""),V[e]||e}const E={on(e,t,n,c){S(e,t,n,c,!1)},one(e,t,n,c){S(e,t,n,c,!0)},off(e,t,n,c){if("string"!=typeof t||!e)return;const[r,a,o]=k(t,n,c),i=o!==t,s=_(e),l=s[o]||{},u=t.startsWith(".");if(void 0===a){if(u)for(const n of Object.keys(s))T(e,s,n,t.slice(1));for(const n of Object.keys(l)){const c=n.replace(C,"");if(!i||t.includes(c)){const t=l[n];A(e,s,o,t.callable,t.delegationSelector)}}}else{if(!Object.keys(l).length)return;A(e,s,o,a,r?n:null)}},trigger(e,t,n){if("string"!=typeof t||!e)return null;const c=d();let r=null,a=!0,o=!0,i=!1;t!==D(t)&&c&&(r=c.Event(t,n),c(e).trigger(r),a=!r.isPropagationStopped(),o=!r.isImmediatePropagationStopped(),i=r.isDefaultPrevented());let s=new Event(t,{bubbles:a,cancelable:!0});return s=N(s,n),i&&s.preventDefault(),o&&e.dispatchEvent(s),s.defaultPrevented&&r&&r.preventDefault(),s}};function N(e,t){for(const[n,c]of Object.entries(t||{}))try{e[n]=c}catch(t){Object.defineProperty(e,n,{configurable:!0,get:()=>c})}return e}const O=new Map,P={set(e,t,n){O.has(e)||O.set(e,new Map);const c=O.get(e);c.has(t)||0===c.size?c.set(t,n):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(c.keys())[0]}.`)},get:(e,t)=>O.has(e)&&O.get(e).get(t)||null,remove(e,t){if(!O.has(e))return;const n=O.get(e);n.delete(t),0===n.size&&O.delete(e)}};function R(e){if("true"===e)return!0;if("false"===e)return!1;if(e===Number(e).toString())return Number(e);if(""===e||"null"===e)return null;if("string"!=typeof e)return e;try{return JSON.parse(decodeURIComponent(e))}catch(t){return e}}function I(e){return e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`))}const j={setDataAttribute(e,t,n){e.setAttribute(`data-bs-${I(t)}`,n)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${I(t)}`)},getDataAttributes(e){if(!e)return{};const t={},n=Object.keys(e.dataset).filter((e=>e.startsWith("bs")&&!e.startsWith("bsConfig")));for(const c of n){let n=c.replace(/^bs/,"");n=n.charAt(0).toLowerCase()+n.slice(1,n.length),t[n]=R(e.dataset[c])}return t},getDataAttribute:(e,t)=>R(e.getAttribute(`data-bs-${I(t)}`))};class B{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,t){const n=a(t)?j.getDataAttribute(t,"config"):{};return{...this.constructor.Default,..."object"==typeof n?n:{},...a(t)?j.getDataAttributes(t):{},..."object"==typeof e?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(const c of Object.keys(t)){const r=t[c],o=e[c],i=a(o)?"element":null==(n=o)?`${n}`:Object.prototype.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(r).test(i))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${c}" provided type "${i}" but expected type "${r}".`)}var n}}class $ extends B{constructor(e,t){super(),(e=o(e))&&(this._element=e,this._config=this._getConfig(t),P.set(this._element,this.constructor.DATA_KEY,this))}dispose(){P.remove(this._element,this.constructor.DATA_KEY),E.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,n=!0){v(e,t,n)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return P.get(o(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,"object"==typeof t?t:null)}static get VERSION(){return"5.2.3"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(e){return`${e}${this.EVENT_KEY}`}}const F=(e,t="hide")=>{const n=`click.dismiss${e.EVENT_KEY}`,r=e.NAME;E.on(document,n,`[data-bs-dismiss="${r}"]`,(function(n){if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),s(this))return;const a=c(this)||this.closest(`.${r}`);e.getOrCreateInstance(a)[t]()}))},q=".bs.alert",U=`close${q}`,W=`closed${q}`;class Y extends ${static get NAME(){return"alert"}close(){if(E.trigger(this._element,U).defaultPrevented)return;this._element.classList.remove("show");const e=this._element.classList.contains("fade");this._queueCallback((()=>this._destroyElement()),this._element,e)}_destroyElement(){this._element.remove(),E.trigger(this._element,W),this.dispose()}static jQueryInterface(e){return this.each((function(){const t=Y.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}}))}}F(Y,"close"),p(Y);const Z='[data-bs-toggle="button"]';class X extends ${static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(e){return this.each((function(){const t=X.getOrCreateInstance(this);"toggle"===e&&t[e]()}))}}E.on(document,"click.bs.button.data-api",Z,(e=>{e.preventDefault();const t=e.target.closest(Z);X.getOrCreateInstance(t).toggle()})),p(X);const G={find:(e,t=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(t,e)),findOne:(e,t=document.documentElement)=>Element.prototype.querySelector.call(t,e),children:(e,t)=>[].concat(...e.children).filter((e=>e.matches(t))),parents(e,t){const n=[];let c=e.parentNode.closest(t);for(;c;)n.push(c),c=c.parentNode.closest(t);return n},prev(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return[n];n=n.previousElementSibling}return[]},next(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return[n];n=n.nextElementSibling}return[]},focusableChildren(e){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((e=>`${e}:not([tabindex^="-"])`)).join(",");return this.find(t,e).filter((e=>!s(e)&&i(e)))}},Q=".bs.swipe",K=`touchstart${Q}`,J=`touchmove${Q}`,ee=`touchend${Q}`,te=`pointerdown${Q}`,ne=`pointerup${Q}`,ce={endCallback:null,leftCallback:null,rightCallback:null},re={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class ae extends B{constructor(e,t){super(),this._element=e,e&&ae.isSupported()&&(this._config=this._getConfig(t),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return ce}static get DefaultType(){return re}static get NAME(){return"swipe"}dispose(){E.off(this._element,Q)}_start(e){this._supportPointerEvents?this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX):this._deltaX=e.touches[0].clientX}_end(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),g(this._config.endCallback)}_move(e){this._deltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this._deltaX}_handleSwipe(){const e=Math.abs(this._deltaX);if(e<=40)return;const t=e/this._deltaX;this._deltaX=0,t&&g(t>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(E.on(this._element,te,(e=>this._start(e))),E.on(this._element,ne,(e=>this._end(e))),this._element.classList.add("pointer-event")):(E.on(this._element,K,(e=>this._start(e))),E.on(this._element,J,(e=>this._move(e))),E.on(this._element,ee,(e=>this._end(e))))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&("pen"===e.pointerType||"touch"===e.pointerType)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const oe=".bs.carousel",ie=".data-api",se="next",le="prev",ue="left",fe="right",de=`slide${oe}`,he=`slid${oe}`,me=`keydown${oe}`,pe=`mouseenter${oe}`,ge=`mouseleave${oe}`,ve=`dragstart${oe}`,be=`load${oe}${ie}`,ze=`click${oe}${ie}`,ye="carousel",Ce="active",He=".active",Me=".carousel-item",Ve=He+Me,Le={ArrowLeft:fe,ArrowRight:ue},we={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},_e={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class xe extends ${constructor(e,t){super(e,t),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=G.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===ye&&this.cycle()}static get Default(){return we}static get DefaultType(){return _e}static get NAME(){return"carousel"}next(){this._slide(se)}nextWhenVisible(){!document.hidden&&i(this._element)&&this.next()}prev(){this._slide(le)}pause(){this._isSliding&&r(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval((()=>this.nextWhenVisible()),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?E.one(this._element,he,(()=>this.cycle())):this.cycle())}to(e){const t=this._getItems();if(e>t.length-1||e<0)return;if(this._isSliding)return void E.one(this._element,he,(()=>this.to(e)));const n=this._getItemIndex(this._getActive());if(n===e)return;const c=e>n?se:le;this._slide(c,t[e])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&E.on(this._element,me,(e=>this._keydown(e))),"hover"===this._config.pause&&(E.on(this._element,pe,(()=>this.pause())),E.on(this._element,ge,(()=>this._maybeEnableCycle()))),this._config.touch&&ae.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const e of G.find(".carousel-item img",this._element))E.on(e,ve,(e=>e.preventDefault()));const e={leftCallback:()=>this._slide(this._directionToOrder(ue)),rightCallback:()=>this._slide(this._directionToOrder(fe)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout((()=>this._maybeEnableCycle()),500+this._config.interval))}};this._swipeHelper=new ae(this._element,e)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=Le[e.key];t&&(e.preventDefault(),this._slide(this._directionToOrder(t)))}_getItemIndex(e){return this._getItems().indexOf(e)}_setActiveIndicatorElement(e){if(!this._indicatorsElement)return;const t=G.findOne(He,this._indicatorsElement);t.classList.remove(Ce),t.removeAttribute("aria-current");const n=G.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);n&&(n.classList.add(Ce),n.setAttribute("aria-current","true"))}_updateInterval(){const e=this._activeElement||this._getActive();if(!e)return;const t=Number.parseInt(e.getAttribute("data-bs-interval"),10);this._config.interval=t||this._config.defaultInterval}_slide(e,t=null){if(this._isSliding)return;const n=this._getActive(),c=e===se,r=t||b(this._getItems(),n,c,this._config.wrap);if(r===n)return;const a=this._getItemIndex(r),o=t=>E.trigger(this._element,t,{relatedTarget:r,direction:this._orderToDirection(e),from:this._getItemIndex(n),to:a});if(o(de).defaultPrevented)return;if(!n||!r)return;const i=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(a),this._activeElement=r;const s=c?"carousel-item-start":"carousel-item-end",l=c?"carousel-item-next":"carousel-item-prev";r.classList.add(l),f(r),n.classList.add(s),r.classList.add(s);this._queueCallback((()=>{r.classList.remove(s,l),r.classList.add(Ce),n.classList.remove(Ce,l,s),this._isSliding=!1,o(he)}),n,this._isAnimated()),i&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return G.findOne(Ve,this._element)}_getItems(){return G.find(Me,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return m()?e===ue?le:se:e===ue?se:le}_orderToDirection(e){return m()?e===le?ue:fe:e===le?fe:ue}static jQueryInterface(e){return this.each((function(){const t=xe.getOrCreateInstance(this,e);if("number"!=typeof e){if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}}else t.to(e)}))}}E.on(document,ze,"[data-bs-slide], [data-bs-slide-to]",(function(e){const t=c(this);if(!t||!t.classList.contains(ye))return;e.preventDefault();const n=xe.getOrCreateInstance(t),r=this.getAttribute("data-bs-slide-to");return r?(n.to(r),void n._maybeEnableCycle()):"next"===j.getDataAttribute(this,"slide")?(n.next(),void n._maybeEnableCycle()):(n.prev(),void n._maybeEnableCycle())})),E.on(window,be,(()=>{const e=G.find('[data-bs-ride="carousel"]');for(const t of e)xe.getOrCreateInstance(t)})),p(xe);const ke=".bs.collapse",Se=`show${ke}`,Ae=`shown${ke}`,Te=`hide${ke}`,De=`hidden${ke}`,Ee=`click${ke}.data-api`,Ne="show",Oe="collapse",Pe="collapsing",Re=`:scope .${Oe} .${Oe}`,Ie='[data-bs-toggle="collapse"]',je={parent:null,toggle:!0},Be={parent:"(null|element)",toggle:"boolean"};class $e extends ${constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];const c=G.find(Ie);for(const e of c){const t=n(e),c=G.find(t).filter((e=>e===this._element));null!==t&&c.length&&this._triggerArray.push(e)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return je}static get DefaultType(){return Be}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter((e=>e!==this._element)).map((e=>$e.getOrCreateInstance(e,{toggle:!1})))),e.length&&e[0]._isTransitioning)return;if(E.trigger(this._element,Se).defaultPrevented)return;for(const t of e)t.hide();const t=this._getDimension();this._element.classList.remove(Oe),this._element.classList.add(Pe),this._element.style[t]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const n=`scroll${t[0].toUpperCase()+t.slice(1)}`;this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(Pe),this._element.classList.add(Oe,Ne),this._element.style[t]="",E.trigger(this._element,Ae)}),this._element,!0),this._element.style[t]=`${this._element[n]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(E.trigger(this._element,Te).defaultPrevented)return;const e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`,f(this._element),this._element.classList.add(Pe),this._element.classList.remove(Oe,Ne);for(const e of this._triggerArray){const t=c(e);t&&!this._isShown(t)&&this._addAriaAndCollapsedClass([e],!1)}this._isTransitioning=!0;this._element.style[e]="",this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(Pe),this._element.classList.add(Oe),E.trigger(this._element,De)}),this._element,!0)}_isShown(e=this._element){return e.classList.contains(Ne)}_configAfterMerge(e){return e.toggle=Boolean(e.toggle),e.parent=o(e.parent),e}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(Ie);for(const t of e){const e=c(t);e&&this._addAriaAndCollapsedClass([t],this._isShown(e))}}_getFirstLevelChildren(e){const t=G.find(Re,this._config.parent);return G.find(e,this._config.parent).filter((e=>!t.includes(e)))}_addAriaAndCollapsedClass(e,t){if(e.length)for(const n of e)n.classList.toggle("collapsed",!t),n.setAttribute("aria-expanded",t)}static jQueryInterface(e){const t={};return"string"==typeof e&&/show|hide/.test(e)&&(t.toggle=!1),this.each((function(){const n=$e.getOrCreateInstance(this,t);if("string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e]()}}))}}E.on(document,Ee,Ie,(function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();const t=n(this),c=G.find(t);for(const e of c)$e.getOrCreateInstance(e,{toggle:!1}).toggle()})),p($e);var Fe="top",qe="bottom",Ue="right",We="left",Ye="auto",Ze=[Fe,qe,Ue,We],Xe="start",Ge="end",Qe="clippingParents",Ke="viewport",Je="popper",et="reference",tt=Ze.reduce((function(e,t){return e.concat([t+"-"+Xe,t+"-"+Ge])}),[]),nt=[].concat(Ze,[Ye]).reduce((function(e,t){return e.concat([t,t+"-"+Xe,t+"-"+Ge])}),[]),ct="beforeRead",rt="read",at="afterRead",ot="beforeMain",it="main",st="afterMain",lt="beforeWrite",ut="write",ft="afterWrite",dt=[ct,rt,at,ot,it,st,lt,ut,ft];function ht(e){return e?(e.nodeName||"").toLowerCase():null}function mt(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function pt(e){return e instanceof mt(e).Element||e instanceof Element}function gt(e){return e instanceof mt(e).HTMLElement||e instanceof HTMLElement}function vt(e){return"undefined"!=typeof ShadowRoot&&(e instanceof mt(e).ShadowRoot||e instanceof ShadowRoot)}const bt={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},c=t.attributes[e]||{},r=t.elements[e];gt(r)&&ht(r)&&(Object.assign(r.style,n),Object.keys(c).forEach((function(e){var t=c[e];!1===t?r.removeAttribute(e):r.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var c=t.elements[e],r=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});gt(c)&&ht(c)&&(Object.assign(c.style,a),Object.keys(r).forEach((function(e){c.removeAttribute(e)})))}))}},requires:["computeStyles"]};function zt(e){return e.split("-")[0]}var yt=Math.max,Ct=Math.min,Ht=Math.round;function Mt(){var e=navigator.userAgentData;return null!=e&&e.brands?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function Vt(){return!/^((?!chrome|android).)*safari/i.test(Mt())}function Lt(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var c=e.getBoundingClientRect(),r=1,a=1;t&>(e)&&(r=e.offsetWidth>0&&Ht(c.width)/e.offsetWidth||1,a=e.offsetHeight>0&&Ht(c.height)/e.offsetHeight||1);var o=(pt(e)?mt(e):window).visualViewport,i=!Vt()&&n,s=(c.left+(i&&o?o.offsetLeft:0))/r,l=(c.top+(i&&o?o.offsetTop:0))/a,u=c.width/r,f=c.height/a;return{width:u,height:f,top:l,right:s+u,bottom:l+f,left:s,x:s,y:l}}function wt(e){var t=Lt(e),n=e.offsetWidth,c=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-c)<=1&&(c=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:c}}function _t(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&vt(n)){var c=t;do{if(c&&e.isSameNode(c))return!0;c=c.parentNode||c.host}while(c)}return!1}function xt(e){return mt(e).getComputedStyle(e)}function kt(e){return["table","td","th"].indexOf(ht(e))>=0}function St(e){return((pt(e)?e.ownerDocument:e.document)||window.document).documentElement}function At(e){return"html"===ht(e)?e:e.assignedSlot||e.parentNode||(vt(e)?e.host:null)||St(e)}function Tt(e){return gt(e)&&"fixed"!==xt(e).position?e.offsetParent:null}function Dt(e){for(var t=mt(e),n=Tt(e);n&&kt(n)&&"static"===xt(n).position;)n=Tt(n);return n&&("html"===ht(n)||"body"===ht(n)&&"static"===xt(n).position)?t:n||function(e){var t=/firefox/i.test(Mt());if(/Trident/i.test(Mt())&>(e)&&"fixed"===xt(e).position)return null;var n=At(e);for(vt(n)&&(n=n.host);gt(n)&&["html","body"].indexOf(ht(n))<0;){var c=xt(n);if("none"!==c.transform||"none"!==c.perspective||"paint"===c.contain||-1!==["transform","perspective"].indexOf(c.willChange)||t&&"filter"===c.willChange||t&&c.filter&&"none"!==c.filter)return n;n=n.parentNode}return null}(e)||t}function Et(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Nt(e,t,n){return yt(e,Ct(t,n))}function Ot(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Pt(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}var Rt=function(e,t){return Ot("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Pt(e,Ze))};const It={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,c=e.name,r=e.options,a=n.elements.arrow,o=n.modifiersData.popperOffsets,i=zt(n.placement),s=Et(i),l=[We,Ue].indexOf(i)>=0?"height":"width";if(a&&o){var u=Rt(r.padding,n),f=wt(a),d="y"===s?Fe:We,h="y"===s?qe:Ue,m=n.rects.reference[l]+n.rects.reference[s]-o[s]-n.rects.popper[l],p=o[s]-n.rects.reference[s],g=Dt(a),v=g?"y"===s?g.clientHeight||0:g.clientWidth||0:0,b=m/2-p/2,z=u[d],y=v-f[l]-u[h],C=v/2-f[l]/2+b,H=Nt(z,C,y),M=s;n.modifiersData[c]=((t={})[M]=H,t.centerOffset=H-C,t)}},effect:function(e){var t=e.state,n=e.options.element,c=void 0===n?"[data-popper-arrow]":n;null!=c&&("string"!=typeof c||(c=t.elements.popper.querySelector(c)))&&_t(t.elements.popper,c)&&(t.elements.arrow=c)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function jt(e){return e.split("-")[1]}var Bt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function $t(e){var t,n=e.popper,c=e.popperRect,r=e.placement,a=e.variation,o=e.offsets,i=e.position,s=e.gpuAcceleration,l=e.adaptive,u=e.roundOffsets,f=e.isFixed,d=o.x,h=void 0===d?0:d,m=o.y,p=void 0===m?0:m,g="function"==typeof u?u({x:h,y:p}):{x:h,y:p};h=g.x,p=g.y;var v=o.hasOwnProperty("x"),b=o.hasOwnProperty("y"),z=We,y=Fe,C=window;if(l){var H=Dt(n),M="clientHeight",V="clientWidth";if(H===mt(n)&&"static"!==xt(H=St(n)).position&&"absolute"===i&&(M="scrollHeight",V="scrollWidth"),r===Fe||(r===We||r===Ue)&&a===Ge)y=qe,p-=(f&&H===C&&C.visualViewport?C.visualViewport.height:H[M])-c.height,p*=s?1:-1;if(r===We||(r===Fe||r===qe)&&a===Ge)z=Ue,h-=(f&&H===C&&C.visualViewport?C.visualViewport.width:H[V])-c.width,h*=s?1:-1}var L,w=Object.assign({position:i},l&&Bt),_=!0===u?function(e){var t=e.x,n=e.y,c=window.devicePixelRatio||1;return{x:Ht(t*c)/c||0,y:Ht(n*c)/c||0}}({x:h,y:p}):{x:h,y:p};return h=_.x,p=_.y,s?Object.assign({},w,((L={})[y]=b?"0":"",L[z]=v?"0":"",L.transform=(C.devicePixelRatio||1)<=1?"translate("+h+"px, "+p+"px)":"translate3d("+h+"px, "+p+"px, 0)",L)):Object.assign({},w,((t={})[y]=b?p+"px":"",t[z]=v?h+"px":"",t.transform="",t))}const Ft={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,c=n.gpuAcceleration,r=void 0===c||c,a=n.adaptive,o=void 0===a||a,i=n.roundOffsets,s=void 0===i||i,l={placement:zt(t.placement),variation:jt(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,$t(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:s})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,$t(Object.assign({},l,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}};var qt={passive:!0};const Ut={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,c=e.options,r=c.scroll,a=void 0===r||r,o=c.resize,i=void 0===o||o,s=mt(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&l.forEach((function(e){e.addEventListener("scroll",n.update,qt)})),i&&s.addEventListener("resize",n.update,qt),function(){a&&l.forEach((function(e){e.removeEventListener("scroll",n.update,qt)})),i&&s.removeEventListener("resize",n.update,qt)}},data:{}};var Wt={left:"right",right:"left",bottom:"top",top:"bottom"};function Yt(e){return e.replace(/left|right|bottom|top/g,(function(e){return Wt[e]}))}var Zt={start:"end",end:"start"};function Xt(e){return e.replace(/start|end/g,(function(e){return Zt[e]}))}function Gt(e){var t=mt(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Qt(e){return Lt(St(e)).left+Gt(e).scrollLeft}function Kt(e){var t=xt(e),n=t.overflow,c=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+c)}function Jt(e){return["html","body","#document"].indexOf(ht(e))>=0?e.ownerDocument.body:gt(e)&&Kt(e)?e:Jt(At(e))}function en(e,t){var n;void 0===t&&(t=[]);var c=Jt(e),r=c===(null==(n=e.ownerDocument)?void 0:n.body),a=mt(c),o=r?[a].concat(a.visualViewport||[],Kt(c)?c:[]):c,i=t.concat(o);return r?i:i.concat(en(At(o)))}function tn(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function nn(e,t,n){return t===Ke?tn(function(e,t){var n=mt(e),c=St(e),r=n.visualViewport,a=c.clientWidth,o=c.clientHeight,i=0,s=0;if(r){a=r.width,o=r.height;var l=Vt();(l||!l&&"fixed"===t)&&(i=r.offsetLeft,s=r.offsetTop)}return{width:a,height:o,x:i+Qt(e),y:s}}(e,n)):pt(t)?function(e,t){var n=Lt(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):tn(function(e){var t,n=St(e),c=Gt(e),r=null==(t=e.ownerDocument)?void 0:t.body,a=yt(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),o=yt(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),i=-c.scrollLeft+Qt(e),s=-c.scrollTop;return"rtl"===xt(r||n).direction&&(i+=yt(n.clientWidth,r?r.clientWidth:0)-a),{width:a,height:o,x:i,y:s}}(St(e)))}function cn(e,t,n,c){var r="clippingParents"===t?function(e){var t=en(At(e)),n=["absolute","fixed"].indexOf(xt(e).position)>=0&>(e)?Dt(e):e;return pt(n)?t.filter((function(e){return pt(e)&&_t(e,n)&&"body"!==ht(e)})):[]}(e):[].concat(t),a=[].concat(r,[n]),o=a[0],i=a.reduce((function(t,n){var r=nn(e,n,c);return t.top=yt(r.top,t.top),t.right=Ct(r.right,t.right),t.bottom=Ct(r.bottom,t.bottom),t.left=yt(r.left,t.left),t}),nn(e,o,c));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}function rn(e){var t,n=e.reference,c=e.element,r=e.placement,a=r?zt(r):null,o=r?jt(r):null,i=n.x+n.width/2-c.width/2,s=n.y+n.height/2-c.height/2;switch(a){case Fe:t={x:i,y:n.y-c.height};break;case qe:t={x:i,y:n.y+n.height};break;case Ue:t={x:n.x+n.width,y:s};break;case We:t={x:n.x-c.width,y:s};break;default:t={x:n.x,y:n.y}}var l=a?Et(a):null;if(null!=l){var u="y"===l?"height":"width";switch(o){case Xe:t[l]=t[l]-(n[u]/2-c[u]/2);break;case Ge:t[l]=t[l]+(n[u]/2-c[u]/2)}}return t}function an(e,t){void 0===t&&(t={});var n=t,c=n.placement,r=void 0===c?e.placement:c,a=n.strategy,o=void 0===a?e.strategy:a,i=n.boundary,s=void 0===i?Qe:i,l=n.rootBoundary,u=void 0===l?Ke:l,f=n.elementContext,d=void 0===f?Je:f,h=n.altBoundary,m=void 0!==h&&h,p=n.padding,g=void 0===p?0:p,v=Ot("number"!=typeof g?g:Pt(g,Ze)),b=d===Je?et:Je,z=e.rects.popper,y=e.elements[m?b:d],C=cn(pt(y)?y:y.contextElement||St(e.elements.popper),s,u,o),H=Lt(e.elements.reference),M=rn({reference:H,element:z,strategy:"absolute",placement:r}),V=tn(Object.assign({},z,M)),L=d===Je?V:H,w={top:C.top-L.top+v.top,bottom:L.bottom-C.bottom+v.bottom,left:C.left-L.left+v.left,right:L.right-C.right+v.right},_=e.modifiersData.offset;if(d===Je&&_){var x=_[r];Object.keys(w).forEach((function(e){var t=[Ue,qe].indexOf(e)>=0?1:-1,n=[Fe,qe].indexOf(e)>=0?"y":"x";w[e]+=x[n]*t}))}return w}function on(e,t){void 0===t&&(t={});var n=t,c=n.placement,r=n.boundary,a=n.rootBoundary,o=n.padding,i=n.flipVariations,s=n.allowedAutoPlacements,l=void 0===s?nt:s,u=jt(c),f=u?i?tt:tt.filter((function(e){return jt(e)===u})):Ze,d=f.filter((function(e){return l.indexOf(e)>=0}));0===d.length&&(d=f);var h=d.reduce((function(t,n){return t[n]=an(e,{placement:n,boundary:r,rootBoundary:a,padding:o})[zt(n)],t}),{});return Object.keys(h).sort((function(e,t){return h[e]-h[t]}))}const sn={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,c=e.name;if(!t.modifiersData[c]._skip){for(var r=n.mainAxis,a=void 0===r||r,o=n.altAxis,i=void 0===o||o,s=n.fallbackPlacements,l=n.padding,u=n.boundary,f=n.rootBoundary,d=n.altBoundary,h=n.flipVariations,m=void 0===h||h,p=n.allowedAutoPlacements,g=t.options.placement,v=zt(g),b=s||(v===g||!m?[Yt(g)]:function(e){if(zt(e)===Ye)return[];var t=Yt(e);return[Xt(e),t,Xt(t)]}(g)),z=[g].concat(b).reduce((function(e,n){return e.concat(zt(n)===Ye?on(t,{placement:n,boundary:u,rootBoundary:f,padding:l,flipVariations:m,allowedAutoPlacements:p}):n)}),[]),y=t.rects.reference,C=t.rects.popper,H=new Map,M=!0,V=z[0],L=0;L=0,S=k?"width":"height",A=an(t,{placement:w,boundary:u,rootBoundary:f,altBoundary:d,padding:l}),T=k?x?Ue:We:x?qe:Fe;y[S]>C[S]&&(T=Yt(T));var D=Yt(T),E=[];if(a&&E.push(A[_]<=0),i&&E.push(A[T]<=0,A[D]<=0),E.every((function(e){return e}))){V=w,M=!1;break}H.set(w,E)}if(M)for(var N=function(e){var t=z.find((function(t){var n=H.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return V=t,"break"},O=m?3:1;O>0;O--){if("break"===N(O))break}t.placement!==V&&(t.modifiersData[c]._skip=!0,t.placement=V,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function ln(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function un(e){return[Fe,Ue,qe,We].some((function(t){return e[t]>=0}))}const fn={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,c=t.rects.reference,r=t.rects.popper,a=t.modifiersData.preventOverflow,o=an(t,{elementContext:"reference"}),i=an(t,{altBoundary:!0}),s=ln(o,c),l=ln(i,r,a),u=un(s),f=un(l);t.modifiersData[n]={referenceClippingOffsets:s,popperEscapeOffsets:l,isReferenceHidden:u,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}};const dn={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,c=e.name,r=n.offset,a=void 0===r?[0,0]:r,o=nt.reduce((function(e,n){return e[n]=function(e,t,n){var c=zt(e),r=[We,Fe].indexOf(c)>=0?-1:1,a="function"==typeof n?n(Object.assign({},t,{placement:e})):n,o=a[0],i=a[1];return o=o||0,i=(i||0)*r,[We,Ue].indexOf(c)>=0?{x:i,y:o}:{x:o,y:i}}(n,t.rects,a),e}),{}),i=o[t.placement],s=i.x,l=i.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=l),t.modifiersData[c]=o}};const hn={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=rn({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}};const mn={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,c=e.name,r=n.mainAxis,a=void 0===r||r,o=n.altAxis,i=void 0!==o&&o,s=n.boundary,l=n.rootBoundary,u=n.altBoundary,f=n.padding,d=n.tether,h=void 0===d||d,m=n.tetherOffset,p=void 0===m?0:m,g=an(t,{boundary:s,rootBoundary:l,padding:f,altBoundary:u}),v=zt(t.placement),b=jt(t.placement),z=!b,y=Et(v),C="x"===y?"y":"x",H=t.modifiersData.popperOffsets,M=t.rects.reference,V=t.rects.popper,L="function"==typeof p?p(Object.assign({},t.rects,{placement:t.placement})):p,w="number"==typeof L?{mainAxis:L,altAxis:L}:Object.assign({mainAxis:0,altAxis:0},L),_=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,x={x:0,y:0};if(H){if(a){var k,S="y"===y?Fe:We,A="y"===y?qe:Ue,T="y"===y?"height":"width",D=H[y],E=D+g[S],N=D-g[A],O=h?-V[T]/2:0,P=b===Xe?M[T]:V[T],R=b===Xe?-V[T]:-M[T],I=t.elements.arrow,j=h&&I?wt(I):{width:0,height:0},B=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},$=B[S],F=B[A],q=Nt(0,M[T],j[T]),U=z?M[T]/2-O-q-$-w.mainAxis:P-q-$-w.mainAxis,W=z?-M[T]/2+O+q+F+w.mainAxis:R+q+F+w.mainAxis,Y=t.elements.arrow&&Dt(t.elements.arrow),Z=Y?"y"===y?Y.clientTop||0:Y.clientLeft||0:0,X=null!=(k=null==_?void 0:_[y])?k:0,G=D+W-X,Q=Nt(h?Ct(E,D+U-X-Z):E,D,h?yt(N,G):N);H[y]=Q,x[y]=Q-D}if(i){var K,J="x"===y?Fe:We,ee="x"===y?qe:Ue,te=H[C],ne="y"===C?"height":"width",ce=te+g[J],re=te-g[ee],ae=-1!==[Fe,We].indexOf(v),oe=null!=(K=null==_?void 0:_[C])?K:0,ie=ae?ce:te-M[ne]-V[ne]-oe+w.altAxis,se=ae?te+M[ne]+V[ne]-oe-w.altAxis:re,le=h&&ae?function(e,t,n){var c=Nt(e,t,n);return c>n?n:c}(ie,te,se):Nt(h?ie:ce,te,h?se:re);H[C]=le,x[C]=le-te}t.modifiersData[c]=x}},requiresIfExists:["offset"]};function pn(e,t,n){void 0===n&&(n=!1);var c,r,a=gt(t),o=gt(t)&&function(e){var t=e.getBoundingClientRect(),n=Ht(t.width)/e.offsetWidth||1,c=Ht(t.height)/e.offsetHeight||1;return 1!==n||1!==c}(t),i=St(t),s=Lt(e,o,n),l={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(a||!a&&!n)&&(("body"!==ht(t)||Kt(i))&&(l=(c=t)!==mt(c)&>(c)?{scrollLeft:(r=c).scrollLeft,scrollTop:r.scrollTop}:Gt(c)),gt(t)?((u=Lt(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):i&&(u.x=Qt(i))),{x:s.left+l.scrollLeft-u.x,y:s.top+l.scrollTop-u.y,width:s.width,height:s.height}}function gn(e){var t=new Map,n=new Set,c=[];function r(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var c=t.get(e);c&&r(c)}})),c.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||r(e)})),c}var vn={placement:"bottom",modifiers:[],strategy:"absolute"};function bn(){for(var e=arguments.length,t=new Array(e),n=0;nNumber.parseInt(e,10))):"function"==typeof e?t=>e(t,this._element):e}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||"static"===this._config.display)&&(j.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,..."function"==typeof this._config.popperConfig?this._config.popperConfig(e):this._config.popperConfig}}_selectMenuItem({key:e,target:t}){const n=G.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter((e=>i(e)));n.length&&b(n,t,e===xn,!n.includes(t)).focus()}static jQueryInterface(e){return this.each((function(){const t=Zn.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}static clearMenus(e){if(2===e.button||"keyup"===e.type&&"Tab"!==e.key)return;const t=G.find(Rn);for(const n of t){const t=Zn.getInstance(n);if(!t||!1===t._config.autoClose)continue;const c=e.composedPath(),r=c.includes(t._menu);if(c.includes(t._element)||"inside"===t._config.autoClose&&!r||"outside"===t._config.autoClose&&r)continue;if(t._menu.contains(e.target)&&("keyup"===e.type&&"Tab"===e.key||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;const a={relatedTarget:t._element};"click"===e.type&&(a.clickEvent=e),t._completeHide(a)}}static dataApiKeydownHandler(e){const t=/input|textarea/i.test(e.target.tagName),n="Escape"===e.key,c=[_n,xn].includes(e.key);if(!c&&!n)return;if(t&&!n)return;e.preventDefault();const r=this.matches(Pn)?this:G.prev(this,Pn)[0]||G.next(this,Pn)[0]||G.findOne(Pn,e.delegateTarget.parentNode),a=Zn.getOrCreateInstance(r);if(c)return e.stopPropagation(),a.show(),void a._selectMenuItem(e);a._isShown()&&(e.stopPropagation(),a.hide(),r.focus())}}E.on(document,En,Pn,Zn.dataApiKeydownHandler),E.on(document,En,In,Zn.dataApiKeydownHandler),E.on(document,Dn,Zn.clearMenus),E.on(document,Nn,Zn.clearMenus),E.on(document,Dn,Pn,(function(e){e.preventDefault(),Zn.getOrCreateInstance(this).toggle()})),p(Zn);const Xn=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Gn=".sticky-top",Qn="padding-right",Kn="margin-right";class Jn{constructor(){this._element=document.body}getWidth(){const e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){const e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,Qn,(t=>t+e)),this._setElementAttributes(Xn,Qn,(t=>t+e)),this._setElementAttributes(Gn,Kn,(t=>t-e))}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,Qn),this._resetElementAttributes(Xn,Qn),this._resetElementAttributes(Gn,Kn)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,t,n){const c=this.getWidth();this._applyManipulationCallback(e,(e=>{if(e!==this._element&&window.innerWidth>e.clientWidth+c)return;this._saveInitialAttribute(e,t);const r=window.getComputedStyle(e).getPropertyValue(t);e.style.setProperty(t,`${n(Number.parseFloat(r))}px`)}))}_saveInitialAttribute(e,t){const n=e.style.getPropertyValue(t);n&&j.setDataAttribute(e,t,n)}_resetElementAttributes(e,t){this._applyManipulationCallback(e,(e=>{const n=j.getDataAttribute(e,t);null!==n?(j.removeDataAttribute(e,t),e.style.setProperty(t,n)):e.style.removeProperty(t)}))}_applyManipulationCallback(e,t){if(a(e))t(e);else for(const n of G.find(e,this._element))t(n)}}const ec="backdrop",tc="show",nc=`mousedown.bs.${ec}`,cc={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},rc={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class ac extends B{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return cc}static get DefaultType(){return rc}static get NAME(){return ec}show(e){if(!this._config.isVisible)return void g(e);this._append();const t=this._getElement();this._config.isAnimated&&f(t),t.classList.add(tc),this._emulateAnimation((()=>{g(e)}))}hide(e){this._config.isVisible?(this._getElement().classList.remove(tc),this._emulateAnimation((()=>{this.dispose(),g(e)}))):g(e)}dispose(){this._isAppended&&(E.off(this._element,nc),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add("fade"),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=o(e.rootElement),e}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),E.on(e,nc,(()=>{g(this._config.clickCallback)})),this._isAppended=!0}_emulateAnimation(e){v(e,this._getElement(),this._config.isAnimated)}}const oc=".bs.focustrap",ic=`focusin${oc}`,sc=`keydown.tab${oc}`,lc="backward",uc={autofocus:!0,trapElement:null},fc={autofocus:"boolean",trapElement:"element"};class dc extends B{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return uc}static get DefaultType(){return fc}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),E.off(document,oc),E.on(document,ic,(e=>this._handleFocusin(e))),E.on(document,sc,(e=>this._handleKeydown(e))),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,E.off(document,oc))}_handleFocusin(e){const{trapElement:t}=this._config;if(e.target===document||e.target===t||t.contains(e.target))return;const n=G.focusableChildren(t);0===n.length?t.focus():this._lastTabNavDirection===lc?n[n.length-1].focus():n[0].focus()}_handleKeydown(e){"Tab"===e.key&&(this._lastTabNavDirection=e.shiftKey?lc:"forward")}}const hc=".bs.modal",mc=`hide${hc}`,pc=`hidePrevented${hc}`,gc=`hidden${hc}`,vc=`show${hc}`,bc=`shown${hc}`,zc=`resize${hc}`,yc=`click.dismiss${hc}`,Cc=`mousedown.dismiss${hc}`,Hc=`keydown.dismiss${hc}`,Mc=`click${hc}.data-api`,Vc="modal-open",Lc="show",wc="modal-static",_c={backdrop:!0,focus:!0,keyboard:!0},xc={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class kc extends ${constructor(e,t){super(e,t),this._dialog=G.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new Jn,this._addEventListeners()}static get Default(){return _c}static get DefaultType(){return xc}static get NAME(){return"modal"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown||this._isTransitioning)return;E.trigger(this._element,vc,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Vc),this._adjustDialog(),this._backdrop.show((()=>this._showElement(e))))}hide(){if(!this._isShown||this._isTransitioning)return;E.trigger(this._element,mc).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(Lc),this._queueCallback((()=>this._hideModal()),this._element,this._isAnimated()))}dispose(){for(const e of[window,this._dialog])E.off(e,hc);this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new ac({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new dc({trapElement:this._element})}_showElement(e){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const t=G.findOne(".modal-body",this._dialog);t&&(t.scrollTop=0),f(this._element),this._element.classList.add(Lc);this._queueCallback((()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,E.trigger(this._element,bc,{relatedTarget:e})}),this._dialog,this._isAnimated())}_addEventListeners(){E.on(this._element,Hc,(e=>{if("Escape"===e.key)return this._config.keyboard?(e.preventDefault(),void this.hide()):void this._triggerBackdropTransition()})),E.on(window,zc,(()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()})),E.on(this._element,Cc,(e=>{E.one(this._element,yc,(t=>{this._element===e.target&&this._element===t.target&&("static"!==this._config.backdrop?this._config.backdrop&&this.hide():this._triggerBackdropTransition())}))}))}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide((()=>{document.body.classList.remove(Vc),this._resetAdjustments(),this._scrollBar.reset(),E.trigger(this._element,gc)}))}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(E.trigger(this._element,pc).defaultPrevented)return;const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._element.style.overflowY;"hidden"===t||this._element.classList.contains(wc)||(e||(this._element.style.overflowY="hidden"),this._element.classList.add(wc),this._queueCallback((()=>{this._element.classList.remove(wc),this._queueCallback((()=>{this._element.style.overflowY=t}),this._dialog)}),this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),n=t>0;if(n&&!e){const e=m()?"paddingLeft":"paddingRight";this._element.style[e]=`${t}px`}if(!n&&e){const e=m()?"paddingRight":"paddingLeft";this._element.style[e]=`${t}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,t){return this.each((function(){const n=kc.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e](t)}}))}}E.on(document,Mc,'[data-bs-toggle="modal"]',(function(e){const t=c(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),E.one(t,vc,(e=>{e.defaultPrevented||E.one(t,gc,(()=>{i(this)&&this.focus()}))}));const n=G.findOne(".modal.show");n&&kc.getInstance(n).hide();kc.getOrCreateInstance(t).toggle(this)})),F(kc),p(kc);const Sc=".bs.offcanvas",Ac=".data-api",Tc=`load${Sc}${Ac}`,Dc="show",Ec="showing",Nc="hiding",Oc=".offcanvas.show",Pc=`show${Sc}`,Rc=`shown${Sc}`,Ic=`hide${Sc}`,jc=`hidePrevented${Sc}`,Bc=`hidden${Sc}`,$c=`resize${Sc}`,Fc=`click${Sc}${Ac}`,qc=`keydown.dismiss${Sc}`,Uc={backdrop:!0,keyboard:!0,scroll:!1},Wc={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Yc extends ${constructor(e,t){super(e,t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Uc}static get DefaultType(){return Wc}static get NAME(){return"offcanvas"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown)return;if(E.trigger(this._element,Pc,{relatedTarget:e}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||(new Jn).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Ec);this._queueCallback((()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add(Dc),this._element.classList.remove(Ec),E.trigger(this._element,Rc,{relatedTarget:e})}),this._element,!0)}hide(){if(!this._isShown)return;if(E.trigger(this._element,Ic).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(Nc),this._backdrop.hide();this._queueCallback((()=>{this._element.classList.remove(Dc,Nc),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new Jn).reset(),E.trigger(this._element,Bc)}),this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=Boolean(this._config.backdrop);return new ac({className:"offcanvas-backdrop",isVisible:e,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:e?()=>{"static"!==this._config.backdrop?this.hide():E.trigger(this._element,jc)}:null})}_initializeFocusTrap(){return new dc({trapElement:this._element})}_addEventListeners(){E.on(this._element,qc,(e=>{"Escape"===e.key&&(this._config.keyboard?this.hide():E.trigger(this._element,jc))}))}static jQueryInterface(e){return this.each((function(){const t=Yc.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}}))}}E.on(document,Fc,'[data-bs-toggle="offcanvas"]',(function(e){const t=c(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),s(this))return;E.one(t,Bc,(()=>{i(this)&&this.focus()}));const n=G.findOne(Oc);n&&n!==t&&Yc.getInstance(n).hide();Yc.getOrCreateInstance(t).toggle(this)})),E.on(window,Tc,(()=>{for(const e of G.find(Oc))Yc.getOrCreateInstance(e).show()})),E.on(window,$c,(()=>{for(const e of G.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(e).position&&Yc.getOrCreateInstance(e).hide()})),F(Yc),p(Yc);const Zc=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Xc=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,Gc=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,Qc=(e,t)=>{const n=e.nodeName.toLowerCase();return t.includes(n)?!Zc.has(n)||Boolean(Xc.test(e.nodeValue)||Gc.test(e.nodeValue)):t.filter((e=>e instanceof RegExp)).some((e=>e.test(n)))},Kc={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]};const Jc={allowList:Kc,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},er={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},tr={entry:"(string|element|function|null)",selector:"(string|element)"};class nr extends B{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return Jc}static get DefaultType(){return er}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map((e=>this._resolvePossibleFunction(e))).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(e){return this._checkContent(e),this._config.content={...this._config.content,...e},this}toHtml(){const e=document.createElement("div");e.innerHTML=this._maybeSanitize(this._config.template);for(const[t,n]of Object.entries(this._config.content))this._setContent(e,n,t);const t=e.children[0],n=this._resolvePossibleFunction(this._config.extraClass);return n&&t.classList.add(...n.split(" ")),t}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(const[t,n]of Object.entries(e))super._typeCheckConfig({selector:t,entry:n},tr)}_setContent(e,t,n){const c=G.findOne(n,e);c&&((t=this._resolvePossibleFunction(t))?a(t)?this._putElementInTemplate(o(t),c):this._config.html?c.innerHTML=this._maybeSanitize(t):c.textContent=t:c.remove())}_maybeSanitize(e){return this._config.sanitize?function(e,t,n){if(!e.length)return e;if(n&&"function"==typeof n)return n(e);const c=(new window.DOMParser).parseFromString(e,"text/html"),r=[].concat(...c.body.querySelectorAll("*"));for(const e of r){const n=e.nodeName.toLowerCase();if(!Object.keys(t).includes(n)){e.remove();continue}const c=[].concat(...e.attributes),r=[].concat(t["*"]||[],t[n]||[]);for(const t of c)Qc(t,r)||e.removeAttribute(t.nodeName)}return c.body.innerHTML}(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return"function"==typeof e?e(this):e}_putElementInTemplate(e,t){if(this._config.html)return t.innerHTML="",void t.append(e);t.textContent=e.textContent}}const cr=new Set(["sanitize","allowList","sanitizeFn"]),rr="fade",ar="show",or=".modal",ir="hide.bs.modal",sr="hover",lr="focus",ur={AUTO:"auto",TOP:"top",RIGHT:m()?"left":"right",BOTTOM:"bottom",LEFT:m()?"right":"left"},fr={allowList:Kc,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,0],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'',title:"",trigger:"hover focus"},dr={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class hr extends ${constructor(e,t){if(void 0===Mn)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(e,t),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return fr}static get DefaultType(){return dr}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),E.off(this._element.closest(or),ir,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this._isWithContent()||!this._isEnabled)return;const e=E.trigger(this._element,this.constructor.eventName("show")),t=(l(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!t)return;this._disposePopper();const n=this._getTipElement();this._element.setAttribute("aria-describedby",n.getAttribute("id"));const{container:c}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(c.append(n),E.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(n),n.classList.add(ar),"ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))E.on(e,"mouseover",u);this._queueCallback((()=>{E.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1}),this.tip,this._isAnimated())}hide(){if(!this._isShown())return;if(E.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented)return;if(this._getTipElement().classList.remove(ar),"ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))E.off(e,"mouseover",u);this._activeTrigger.click=!1,this._activeTrigger[lr]=!1,this._activeTrigger[sr]=!1,this._isHovered=null;this._queueCallback((()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),E.trigger(this._element,this.constructor.eventName("hidden")))}),this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(e){const t=this._getTemplateFactory(e).toHtml();if(!t)return null;t.classList.remove(rr,ar),t.classList.add(`bs-${this.constructor.NAME}-auto`);const n=(e=>{do{e+=Math.floor(1e6*Math.random())}while(document.getElementById(e));return e})(this.constructor.NAME).toString();return t.setAttribute("id",n),this._isAnimated()&&t.classList.add(rr),t}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new nr({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{".tooltip-inner":this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(rr)}_isShown(){return this.tip&&this.tip.classList.contains(ar)}_createPopper(e){const t="function"==typeof this._config.placement?this._config.placement.call(this,e,this._element):this._config.placement,n=ur[t.toUpperCase()];return Hn(this._element,e,this._getPopperConfig(n))}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map((e=>Number.parseInt(e,10))):"function"==typeof e?t=>e(t,this._element):e}_resolvePossibleFunction(e){return"function"==typeof e?e.call(this._element):e}_getPopperConfig(e){const t={placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:e=>{this._getTipElement().setAttribute("data-popper-placement",e.state.placement)}}]};return{...t,..."function"==typeof this._config.popperConfig?this._config.popperConfig(t):this._config.popperConfig}}_setListeners(){const e=this._config.trigger.split(" ");for(const t of e)if("click"===t)E.on(this._element,this.constructor.eventName("click"),this._config.selector,(e=>{this._initializeOnDelegatedTarget(e).toggle()}));else if("manual"!==t){const e=t===sr?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),n=t===sr?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");E.on(this._element,e,this._config.selector,(e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusin"===e.type?lr:sr]=!0,t._enter()})),E.on(this._element,n,this._config.selector,(e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusout"===e.type?lr:sr]=t._element.contains(e.relatedTarget),t._leave()}))}this._hideModalHandler=()=>{this._element&&this.hide()},E.on(this._element.closest(or),ir,this._hideModalHandler)}_fixTitle(){const e=this._element.getAttribute("title");e&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",e),this._element.setAttribute("data-bs-original-title",e),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout((()=>{this._isHovered&&this.show()}),this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout((()=>{this._isHovered||this.hide()}),this._config.delay.hide))}_setTimeout(e,t){clearTimeout(this._timeout),this._timeout=setTimeout(e,t)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){const t=j.getDataAttributes(this._element);for(const e of Object.keys(t))cr.has(e)&&delete t[e];return e={...t,..."object"==typeof e&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=!1===e.container?document.body:o(e.container),"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),e}_getDelegateConfig(){const e={};for(const t in this._config)this.constructor.Default[t]!==this._config[t]&&(e[t]=this._config[t]);return e.selector=!1,e.trigger="manual",e}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(e){return this.each((function(){const t=hr.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}}p(hr);const mr={...hr.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},pr={...hr.DefaultType,content:"(null|string|element|function)"};class gr extends hr{static get Default(){return mr}static get DefaultType(){return pr}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{".popover-header":this._getTitle(),".popover-body":this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each((function(){const t=gr.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}}p(gr);const vr=".bs.scrollspy",br=`activate${vr}`,zr=`click${vr}`,yr=`load${vr}.data-api`,Cr="active",Hr="[href]",Mr=".nav-link",Vr=`${Mr}, .nav-item > ${Mr}, .list-group-item`,Lr={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},wr={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class _r extends ${constructor(e,t){super(e,t),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement="visible"===getComputedStyle(this._element).overflowY?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return Lr}static get DefaultType(){return wr}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const e of this._observableSections.values())this._observer.observe(e)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(e){return e.target=o(e.target)||document.body,e.rootMargin=e.offset?`${e.offset}px 0px -30%`:e.rootMargin,"string"==typeof e.threshold&&(e.threshold=e.threshold.split(",").map((e=>Number.parseFloat(e)))),e}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(E.off(this._config.target,zr),E.on(this._config.target,zr,Hr,(e=>{const t=this._observableSections.get(e.target.hash);if(t){e.preventDefault();const n=this._rootElement||window,c=t.offsetTop-this._element.offsetTop;if(n.scrollTo)return void n.scrollTo({top:c,behavior:"smooth"});n.scrollTop=c}})))}_getNewObserver(){const e={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver((e=>this._observerCallback(e)),e)}_observerCallback(e){const t=e=>this._targetLinks.get(`#${e.target.id}`),n=e=>{this._previousScrollData.visibleEntryTop=e.target.offsetTop,this._process(t(e))},c=(this._rootElement||document.documentElement).scrollTop,r=c>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=c;for(const a of e){if(!a.isIntersecting){this._activeTarget=null,this._clearActiveClass(t(a));continue}const e=a.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(r&&e){if(n(a),!c)return}else r||e||n(a)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=G.find(Hr,this._config.target);for(const t of e){if(!t.hash||s(t))continue;const e=G.findOne(t.hash,this._element);i(e)&&(this._targetLinks.set(t.hash,t),this._observableSections.set(t.hash,e))}}_process(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),this._activeTarget=e,e.classList.add(Cr),this._activateParents(e),E.trigger(this._element,br,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains("dropdown-item"))G.findOne(".dropdown-toggle",e.closest(".dropdown")).classList.add(Cr);else for(const t of G.parents(e,".nav, .list-group"))for(const e of G.prev(t,Vr))e.classList.add(Cr)}_clearActiveClass(e){e.classList.remove(Cr);const t=G.find(`${Hr}.${Cr}`,e);for(const e of t)e.classList.remove(Cr)}static jQueryInterface(e){return this.each((function(){const t=_r.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}}))}}E.on(window,yr,(()=>{for(const e of G.find('[data-bs-spy="scroll"]'))_r.getOrCreateInstance(e)})),p(_r);const xr=".bs.tab",kr=`hide${xr}`,Sr=`hidden${xr}`,Ar=`show${xr}`,Tr=`shown${xr}`,Dr=`click${xr}`,Er=`keydown${xr}`,Nr=`load${xr}`,Or="ArrowLeft",Pr="ArrowRight",Rr="ArrowUp",Ir="ArrowDown",jr="active",Br="fade",$r="show",Fr=":not(.dropdown-toggle)",qr='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Ur=`${`.nav-link${Fr}, .list-group-item${Fr}, [role="tab"]${Fr}`}, ${qr}`,Wr=`.${jr}[data-bs-toggle="tab"], .${jr}[data-bs-toggle="pill"], .${jr}[data-bs-toggle="list"]`;class Yr extends ${constructor(e){super(e),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),E.on(this._element,Er,(e=>this._keydown(e))))}static get NAME(){return"tab"}show(){const e=this._element;if(this._elemIsActive(e))return;const t=this._getActiveElem(),n=t?E.trigger(t,kr,{relatedTarget:e}):null;E.trigger(e,Ar,{relatedTarget:t}).defaultPrevented||n&&n.defaultPrevented||(this._deactivate(t,e),this._activate(e,t))}_activate(e,t){if(!e)return;e.classList.add(jr),this._activate(c(e));this._queueCallback((()=>{"tab"===e.getAttribute("role")?(e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),E.trigger(e,Tr,{relatedTarget:t})):e.classList.add($r)}),e,e.classList.contains(Br))}_deactivate(e,t){if(!e)return;e.classList.remove(jr),e.blur(),this._deactivate(c(e));this._queueCallback((()=>{"tab"===e.getAttribute("role")?(e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),E.trigger(e,Sr,{relatedTarget:t})):e.classList.remove($r)}),e,e.classList.contains(Br))}_keydown(e){if(![Or,Pr,Rr,Ir].includes(e.key))return;e.stopPropagation(),e.preventDefault();const t=[Pr,Ir].includes(e.key),n=b(this._getChildren().filter((e=>!s(e))),e.target,t,!0);n&&(n.focus({preventScroll:!0}),Yr.getOrCreateInstance(n).show())}_getChildren(){return G.find(Ur,this._parent)}_getActiveElem(){return this._getChildren().find((e=>this._elemIsActive(e)))||null}_setInitialAttributes(e,t){this._setAttributeIfNotExists(e,"role","tablist");for(const e of t)this._setInitialAttributesOnChild(e)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);const t=this._elemIsActive(e),n=this._getOuterElement(e);e.setAttribute("aria-selected",t),n!==e&&this._setAttributeIfNotExists(n,"role","presentation"),t||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){const t=c(e);t&&(this._setAttributeIfNotExists(t,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(t,"aria-labelledby",`#${e.id}`))}_toggleDropDown(e,t){const n=this._getOuterElement(e);if(!n.classList.contains("dropdown"))return;const c=(e,c)=>{const r=G.findOne(e,n);r&&r.classList.toggle(c,t)};c(".dropdown-toggle",jr),c(".dropdown-menu",$r),n.setAttribute("aria-expanded",t)}_setAttributeIfNotExists(e,t,n){e.hasAttribute(t)||e.setAttribute(t,n)}_elemIsActive(e){return e.classList.contains(jr)}_getInnerElement(e){return e.matches(Ur)?e:G.findOne(Ur,e)}_getOuterElement(e){return e.closest(".nav-item, .list-group-item")||e}static jQueryInterface(e){return this.each((function(){const t=Yr.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}}))}}E.on(document,Dr,qr,(function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),s(this)||Yr.getOrCreateInstance(this).show()})),E.on(window,Nr,(()=>{for(const e of G.find(Wr))Yr.getOrCreateInstance(e)})),p(Yr);const Zr=".bs.toast",Xr=`mouseover${Zr}`,Gr=`mouseout${Zr}`,Qr=`focusin${Zr}`,Kr=`focusout${Zr}`,Jr=`hide${Zr}`,ea=`hidden${Zr}`,ta=`show${Zr}`,na=`shown${Zr}`,ca="hide",ra="show",aa="showing",oa={animation:"boolean",autohide:"boolean",delay:"number"},ia={animation:!0,autohide:!0,delay:5e3};class sa extends ${constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return ia}static get DefaultType(){return oa}static get NAME(){return"toast"}show(){if(E.trigger(this._element,ta).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add("fade");this._element.classList.remove(ca),f(this._element),this._element.classList.add(ra,aa),this._queueCallback((()=>{this._element.classList.remove(aa),E.trigger(this._element,na),this._maybeScheduleHide()}),this._element,this._config.animation)}hide(){if(!this.isShown())return;if(E.trigger(this._element,Jr).defaultPrevented)return;this._element.classList.add(aa),this._queueCallback((()=>{this._element.classList.add(ca),this._element.classList.remove(aa,ra),E.trigger(this._element,ea)}),this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(ra),super.dispose()}isShown(){return this._element.classList.contains(ra)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout((()=>{this.hide()}),this._config.delay)))}_onInteraction(e,t){switch(e.type){case"mouseover":case"mouseout":this._hasMouseInteraction=t;break;case"focusin":case"focusout":this._hasKeyboardInteraction=t}if(t)return void this._clearTimeout();const n=e.relatedTarget;this._element===n||this._element.contains(n)||this._maybeScheduleHide()}_setListeners(){E.on(this._element,Xr,(e=>this._onInteraction(e,!0))),E.on(this._element,Gr,(e=>this._onInteraction(e,!1))),E.on(this._element,Qr,(e=>this._onInteraction(e,!0))),E.on(this._element,Kr,(e=>this._onInteraction(e,!1)))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each((function(){const t=sa.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e](this)}}))}}F(sa),p(sa);return{Alert:Y,Button:X,Carousel:xe,Collapse:$e,Dropdown:Zn,Modal:kc,Offcanvas:Yc,Popover:gr,ScrollSpy:_r,Tab:Yr,Toast:sa,Tooltip:hr}})),function(){"use strict";var e={},t={};try{"undefined"!=typeof window&&(e=window),"undefined"!=typeof document&&(t=document)}catch(e){}var n=void 0===(b=(e.navigator||{}).userAgent)?"":b,c=e,r=t;function a(e,t){var n,c=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),c.push.apply(c,n)),c}function o(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,c=new Array(t);ne.length)&&(t=e.length);for(var n=0,c=new Array(t);ne.length)&&(t=e.length);for(var n=0,c=new Array(t);ne.length)&&(t=e.length);for(var n=0,c=new Array(t);n>>0;n--;)t[n]=e[n];return t}function ce(e){return e.classList?ne(e.classList):(e.getAttribute("class")||"").split(" ").filter((function(e){return e}))}function re(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function ae(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")}),"")}function oe(e){return e.size!==J.size||e.x!==J.x||e.y!==J.y||e.rotate!==J.rotate||e.flipX||e.flipY}function ie(){var e,t,n=M,c=G.cssPrefix,r=G.replacementClass,a=':host,:root{--fa-font-solid:normal 900 1em/1 "Font Awesome 6 Solid";--fa-font-regular:normal 400 1em/1 "Font Awesome 6 Regular";--fa-font-light:normal 300 1em/1 "Font Awesome 6 Light";--fa-font-thin:normal 100 1em/1 "Font Awesome 6 Thin";--fa-font-duotone:normal 900 1em/1 "Font Awesome 6 Duotone";--fa-font-sharp-solid:normal 900 1em/1 "Font Awesome 6 Sharp";--fa-font-sharp-regular:normal 400 1em/1 "Font Awesome 6 Sharp";--fa-font-brands:normal 400 1em/1 "Font Awesome 6 Brands"}svg:not(:host).svg-inline--fa,svg:not(:root).svg-inline--fa{overflow:visible;box-sizing:content-box}.svg-inline--fa{display:var(--fa-display,inline-block);height:1em;overflow:visible;vertical-align:-.125em}.svg-inline--fa.fa-2xs{vertical-align:.1em}.svg-inline--fa.fa-xs{vertical-align:0}.svg-inline--fa.fa-sm{vertical-align:-.0714285705em}.svg-inline--fa.fa-lg{vertical-align:-.2em}.svg-inline--fa.fa-xl{vertical-align:-.25em}.svg-inline--fa.fa-2xl{vertical-align:-.3125em}.svg-inline--fa.fa-pull-left{margin-right:var(--fa-pull-margin,.3em);width:auto}.svg-inline--fa.fa-pull-right{margin-left:var(--fa-pull-margin,.3em);width:auto}.svg-inline--fa.fa-li{width:var(--fa-li-width,2em);top:.25em}.svg-inline--fa.fa-fw{width:var(--fa-fw-width,1.25em)}.fa-layers svg.svg-inline--fa{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0}.fa-layers-counter,.fa-layers-text{display:inline-block;position:absolute;text-align:center}.fa-layers{display:inline-block;height:1em;position:relative;text-align:center;vertical-align:-.125em;width:1em}.fa-layers svg.svg-inline--fa{-webkit-transform-origin:center center;transform-origin:center center}.fa-layers-text{left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);-webkit-transform-origin:center center;transform-origin:center center}.fa-layers-counter{background-color:var(--fa-counter-background-color,#ff253a);border-radius:var(--fa-counter-border-radius,1em);box-sizing:border-box;color:var(--fa-inverse,#fff);line-height:var(--fa-counter-line-height,1);max-width:var(--fa-counter-max-width,5em);min-width:var(--fa-counter-min-width,1.5em);overflow:hidden;padding:var(--fa-counter-padding,.25em .5em);right:var(--fa-right,0);text-overflow:ellipsis;top:var(--fa-top,0);-webkit-transform:scale(var(--fa-counter-scale,.25));transform:scale(var(--fa-counter-scale,.25));-webkit-transform-origin:top right;transform-origin:top right}.fa-layers-bottom-right{bottom:var(--fa-bottom,0);right:var(--fa-right,0);top:auto;-webkit-transform:scale(var(--fa-layers-scale,.25));transform:scale(var(--fa-layers-scale,.25));-webkit-transform-origin:bottom right;transform-origin:bottom right}.fa-layers-bottom-left{bottom:var(--fa-bottom,0);left:var(--fa-left,0);right:auto;top:auto;-webkit-transform:scale(var(--fa-layers-scale,.25));transform:scale(var(--fa-layers-scale,.25));-webkit-transform-origin:bottom left;transform-origin:bottom left}.fa-layers-top-right{top:var(--fa-top,0);right:var(--fa-right,0);-webkit-transform:scale(var(--fa-layers-scale,.25));transform:scale(var(--fa-layers-scale,.25));-webkit-transform-origin:top right;transform-origin:top right}.fa-layers-top-left{left:var(--fa-left,0);right:auto;top:var(--fa-top,0);-webkit-transform:scale(var(--fa-layers-scale,.25));transform:scale(var(--fa-layers-scale,.25));-webkit-transform-origin:top left;transform-origin:top left}.fa-1x{font-size:1em}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-6x{font-size:6em}.fa-7x{font-size:7em}.fa-8x{font-size:8em}.fa-9x{font-size:9em}.fa-10x{font-size:10em}.fa-2xs{font-size:.625em;line-height:.1em;vertical-align:.225em}.fa-xs{font-size:.75em;line-height:.0833333337em;vertical-align:.125em}.fa-sm{font-size:.875em;line-height:.0714285718em;vertical-align:.0535714295em}.fa-lg{font-size:1.25em;line-height:.05em;vertical-align:-.075em}.fa-xl{font-size:1.5em;line-height:.0416666682em;vertical-align:-.125em}.fa-2xl{font-size:2em;line-height:.03125em;vertical-align:-.1875em}.fa-fw{text-align:center;width:1.25em}.fa-ul{list-style-type:none;margin-left:var(--fa-li-margin,2.5em);padding-left:0}.fa-ul>li{position:relative}.fa-li{left:calc(var(--fa-li-width,2em) * -1);position:absolute;text-align:center;width:var(--fa-li-width,2em);line-height:inherit}.fa-border{border-color:var(--fa-border-color,#eee);border-radius:var(--fa-border-radius,.1em);border-style:var(--fa-border-style,solid);border-width:var(--fa-border-width,.08em);padding:var(--fa-border-padding,.2em .25em .15em)}.fa-pull-left{float:left;margin-right:var(--fa-pull-margin,.3em)}.fa-pull-right{float:right;margin-left:var(--fa-pull-margin,.3em)}.fa-beat{-webkit-animation-name:fa-beat;animation-name:fa-beat;-webkit-animation-delay:var(--fa-animation-delay,0s);animation-delay:var(--fa-animation-delay,0s);-webkit-animation-direction:var(--fa-animation-direction,normal);animation-direction:var(--fa-animation-direction,normal);-webkit-animation-duration:var(--fa-animation-duration,1s);animation-duration:var(--fa-animation-duration,1s);-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,ease-in-out);animation-timing-function:var(--fa-animation-timing,ease-in-out)}.fa-bounce{-webkit-animation-name:fa-bounce;animation-name:fa-bounce;-webkit-animation-delay:var(--fa-animation-delay,0s);animation-delay:var(--fa-animation-delay,0s);-webkit-animation-direction:var(--fa-animation-direction,normal);animation-direction:var(--fa-animation-direction,normal);-webkit-animation-duration:var(--fa-animation-duration,1s);animation-duration:var(--fa-animation-duration,1s);-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,cubic-bezier(.28,.84,.42,1));animation-timing-function:var(--fa-animation-timing,cubic-bezier(.28,.84,.42,1))}.fa-fade{-webkit-animation-name:fa-fade;animation-name:fa-fade;-webkit-animation-delay:var(--fa-animation-delay,0s);animation-delay:var(--fa-animation-delay,0s);-webkit-animation-direction:var(--fa-animation-direction,normal);animation-direction:var(--fa-animation-direction,normal);-webkit-animation-duration:var(--fa-animation-duration,1s);animation-duration:var(--fa-animation-duration,1s);-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,cubic-bezier(.4,0,.6,1));animation-timing-function:var(--fa-animation-timing,cubic-bezier(.4,0,.6,1))}.fa-beat-fade{-webkit-animation-name:fa-beat-fade;animation-name:fa-beat-fade;-webkit-animation-delay:var(--fa-animation-delay,0s);animation-delay:var(--fa-animation-delay,0s);-webkit-animation-direction:var(--fa-animation-direction,normal);animation-direction:var(--fa-animation-direction,normal);-webkit-animation-duration:var(--fa-animation-duration,1s);animation-duration:var(--fa-animation-duration,1s);-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,cubic-bezier(.4,0,.6,1));animation-timing-function:var(--fa-animation-timing,cubic-bezier(.4,0,.6,1))}.fa-flip{-webkit-animation-name:fa-flip;animation-name:fa-flip;-webkit-animation-delay:var(--fa-animation-delay,0s);animation-delay:var(--fa-animation-delay,0s);-webkit-animation-direction:var(--fa-animation-direction,normal);animation-direction:var(--fa-animation-direction,normal);-webkit-animation-duration:var(--fa-animation-duration,1s);animation-duration:var(--fa-animation-duration,1s);-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,ease-in-out);animation-timing-function:var(--fa-animation-timing,ease-in-out)}.fa-shake{-webkit-animation-name:fa-shake;animation-name:fa-shake;-webkit-animation-delay:var(--fa-animation-delay,0s);animation-delay:var(--fa-animation-delay,0s);-webkit-animation-direction:var(--fa-animation-direction,normal);animation-direction:var(--fa-animation-direction,normal);-webkit-animation-duration:var(--fa-animation-duration,1s);animation-duration:var(--fa-animation-duration,1s);-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,linear);animation-timing-function:var(--fa-animation-timing,linear)}.fa-spin{-webkit-animation-name:fa-spin;animation-name:fa-spin;-webkit-animation-delay:var(--fa-animation-delay,0s);animation-delay:var(--fa-animation-delay,0s);-webkit-animation-direction:var(--fa-animation-direction,normal);animation-direction:var(--fa-animation-direction,normal);-webkit-animation-duration:var(--fa-animation-duration,2s);animation-duration:var(--fa-animation-duration,2s);-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,linear);animation-timing-function:var(--fa-animation-timing,linear)}.fa-spin-reverse{--fa-animation-direction:reverse}.fa-pulse,.fa-spin-pulse{-webkit-animation-name:fa-spin;animation-name:fa-spin;-webkit-animation-direction:var(--fa-animation-direction,normal);animation-direction:var(--fa-animation-direction,normal);-webkit-animation-duration:var(--fa-animation-duration,1s);animation-duration:var(--fa-animation-duration,1s);-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,steps(8));animation-timing-function:var(--fa-animation-timing,steps(8))}@media (prefers-reduced-motion:reduce){.fa-beat,.fa-beat-fade,.fa-bounce,.fa-fade,.fa-flip,.fa-pulse,.fa-shake,.fa-spin,.fa-spin-pulse{-webkit-animation-delay:-1ms;animation-delay:-1ms;-webkit-animation-duration:1ms;animation-duration:1ms;-webkit-animation-iteration-count:1;animation-iteration-count:1;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s}}@-webkit-keyframes fa-beat{0%,90%{-webkit-transform:scale(1);transform:scale(1)}45%{-webkit-transform:scale(var(--fa-beat-scale,1.25));transform:scale(var(--fa-beat-scale,1.25))}}@keyframes fa-beat{0%,90%{-webkit-transform:scale(1);transform:scale(1)}45%{-webkit-transform:scale(var(--fa-beat-scale,1.25));transform:scale(var(--fa-beat-scale,1.25))}}@-webkit-keyframes fa-bounce{0%{-webkit-transform:scale(1,1) translateY(0);transform:scale(1,1) translateY(0)}10%{-webkit-transform:scale(var(--fa-bounce-start-scale-x,1.1),var(--fa-bounce-start-scale-y,.9)) translateY(0);transform:scale(var(--fa-bounce-start-scale-x,1.1),var(--fa-bounce-start-scale-y,.9)) translateY(0)}30%{-webkit-transform:scale(var(--fa-bounce-jump-scale-x,.9),var(--fa-bounce-jump-scale-y,1.1)) translateY(var(--fa-bounce-height,-.5em));transform:scale(var(--fa-bounce-jump-scale-x,.9),var(--fa-bounce-jump-scale-y,1.1)) translateY(var(--fa-bounce-height,-.5em))}50%{-webkit-transform:scale(var(--fa-bounce-land-scale-x,1.05),var(--fa-bounce-land-scale-y,.95)) translateY(0);transform:scale(var(--fa-bounce-land-scale-x,1.05),var(--fa-bounce-land-scale-y,.95)) translateY(0)}57%{-webkit-transform:scale(1,1) translateY(var(--fa-bounce-rebound,-.125em));transform:scale(1,1) translateY(var(--fa-bounce-rebound,-.125em))}64%{-webkit-transform:scale(1,1) translateY(0);transform:scale(1,1) translateY(0)}100%{-webkit-transform:scale(1,1) translateY(0);transform:scale(1,1) translateY(0)}}@keyframes fa-bounce{0%{-webkit-transform:scale(1,1) translateY(0);transform:scale(1,1) translateY(0)}10%{-webkit-transform:scale(var(--fa-bounce-start-scale-x,1.1),var(--fa-bounce-start-scale-y,.9)) translateY(0);transform:scale(var(--fa-bounce-start-scale-x,1.1),var(--fa-bounce-start-scale-y,.9)) translateY(0)}30%{-webkit-transform:scale(var(--fa-bounce-jump-scale-x,.9),var(--fa-bounce-jump-scale-y,1.1)) translateY(var(--fa-bounce-height,-.5em));transform:scale(var(--fa-bounce-jump-scale-x,.9),var(--fa-bounce-jump-scale-y,1.1)) translateY(var(--fa-bounce-height,-.5em))}50%{-webkit-transform:scale(var(--fa-bounce-land-scale-x,1.05),var(--fa-bounce-land-scale-y,.95)) translateY(0);transform:scale(var(--fa-bounce-land-scale-x,1.05),var(--fa-bounce-land-scale-y,.95)) translateY(0)}57%{-webkit-transform:scale(1,1) translateY(var(--fa-bounce-rebound,-.125em));transform:scale(1,1) translateY(var(--fa-bounce-rebound,-.125em))}64%{-webkit-transform:scale(1,1) translateY(0);transform:scale(1,1) translateY(0)}100%{-webkit-transform:scale(1,1) translateY(0);transform:scale(1,1) translateY(0)}}@-webkit-keyframes fa-fade{50%{opacity:var(--fa-fade-opacity,.4)}}@keyframes fa-fade{50%{opacity:var(--fa-fade-opacity,.4)}}@-webkit-keyframes fa-beat-fade{0%,100%{opacity:var(--fa-beat-fade-opacity,.4);-webkit-transform:scale(1);transform:scale(1)}50%{opacity:1;-webkit-transform:scale(var(--fa-beat-fade-scale,1.125));transform:scale(var(--fa-beat-fade-scale,1.125))}}@keyframes fa-beat-fade{0%,100%{opacity:var(--fa-beat-fade-opacity,.4);-webkit-transform:scale(1);transform:scale(1)}50%{opacity:1;-webkit-transform:scale(var(--fa-beat-fade-scale,1.125));transform:scale(var(--fa-beat-fade-scale,1.125))}}@-webkit-keyframes fa-flip{50%{-webkit-transform:rotate3d(var(--fa-flip-x,0),var(--fa-flip-y,1),var(--fa-flip-z,0),var(--fa-flip-angle,-180deg));transform:rotate3d(var(--fa-flip-x,0),var(--fa-flip-y,1),var(--fa-flip-z,0),var(--fa-flip-angle,-180deg))}}@keyframes fa-flip{50%{-webkit-transform:rotate3d(var(--fa-flip-x,0),var(--fa-flip-y,1),var(--fa-flip-z,0),var(--fa-flip-angle,-180deg));transform:rotate3d(var(--fa-flip-x,0),var(--fa-flip-y,1),var(--fa-flip-z,0),var(--fa-flip-angle,-180deg))}}@-webkit-keyframes fa-shake{0%{-webkit-transform:rotate(-15deg);transform:rotate(-15deg)}4%{-webkit-transform:rotate(15deg);transform:rotate(15deg)}24%,8%{-webkit-transform:rotate(-18deg);transform:rotate(-18deg)}12%,28%{-webkit-transform:rotate(18deg);transform:rotate(18deg)}16%{-webkit-transform:rotate(-22deg);transform:rotate(-22deg)}20%{-webkit-transform:rotate(22deg);transform:rotate(22deg)}32%{-webkit-transform:rotate(-12deg);transform:rotate(-12deg)}36%{-webkit-transform:rotate(12deg);transform:rotate(12deg)}100%,40%{-webkit-transform:rotate(0);transform:rotate(0)}}@keyframes fa-shake{0%{-webkit-transform:rotate(-15deg);transform:rotate(-15deg)}4%{-webkit-transform:rotate(15deg);transform:rotate(15deg)}24%,8%{-webkit-transform:rotate(-18deg);transform:rotate(-18deg)}12%,28%{-webkit-transform:rotate(18deg);transform:rotate(18deg)}16%{-webkit-transform:rotate(-22deg);transform:rotate(-22deg)}20%{-webkit-transform:rotate(22deg);transform:rotate(22deg)}32%{-webkit-transform:rotate(-12deg);transform:rotate(-12deg)}36%{-webkit-transform:rotate(12deg);transform:rotate(12deg)}100%,40%{-webkit-transform:rotate(0);transform:rotate(0)}}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.fa-rotate-90{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-webkit-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-webkit-transform:scale(-1,1);transform:scale(-1,1)}.fa-flip-vertical{-webkit-transform:scale(1,-1);transform:scale(1,-1)}.fa-flip-both,.fa-flip-horizontal.fa-flip-vertical{-webkit-transform:scale(-1,-1);transform:scale(-1,-1)}.fa-rotate-by{-webkit-transform:rotate(var(--fa-rotate-angle,none));transform:rotate(var(--fa-rotate-angle,none))}.fa-stack{display:inline-block;vertical-align:middle;height:2em;position:relative;width:2.5em}.fa-stack-1x,.fa-stack-2x{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;z-index:var(--fa-stack-z-index,auto)}.svg-inline--fa.fa-stack-1x{height:1em;width:1.25em}.svg-inline--fa.fa-stack-2x{height:2em;width:2.5em}.fa-inverse{color:var(--fa-inverse,#fff)}.fa-sr-only,.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.fa-sr-only-focusable:not(:focus),.sr-only-focusable:not(:focus){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.svg-inline--fa .fa-primary{fill:var(--fa-primary-color,currentColor);opacity:var(--fa-primary-opacity,1)}.svg-inline--fa .fa-secondary{fill:var(--fa-secondary-color,currentColor);opacity:var(--fa-secondary-opacity,.4)}.svg-inline--fa.fa-swap-opacity .fa-primary{opacity:var(--fa-secondary-opacity,.4)}.svg-inline--fa.fa-swap-opacity .fa-secondary{opacity:var(--fa-primary-opacity,1)}.svg-inline--fa mask .fa-primary,.svg-inline--fa mask .fa-secondary{fill:#000}.fa-duotone.fa-inverse,.fad.fa-inverse{color:var(--fa-inverse,#fff)}';return"fa"===c&&r===n||(e=new RegExp("\\.".concat("fa","\\-"),"g"),t=new RegExp("\\--".concat("fa","\\-"),"g"),n=new RegExp("\\.".concat(n),"g"),a=a.replace(e,".".concat(c,"-")).replace(t,"--".concat(c,"-")).replace(n,".".concat(r))),a}var se=!1;function le(){G.autoAddCss&&!se&&(function(e){if(e&&y){var t=g.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=g.head.childNodes,c=null,r=n.length-1;-1").concat(r.map(me).join(""),"")}function pe(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}function ge(e,t,n,c){for(var r,a,o=Object.keys(e),i=o.length,s=void 0!==c?ve(t,c):t,l=void 0===n?(r=1,e[o[0]]):(r=0,n);re.length)&&(t=e.length);for(var n=0,c=new Array(t);n',preload:!0,css:{},attr:{scrolling:"auto"}},video:{tpl:'',format:"",autoStart:!0},defaultType:"image",animationEffect:"zoom",animationDuration:366,zoomOpacity:"auto",transitionEffect:"fade",transitionDuration:366,slideClass:"",baseClass:"",baseTpl:'',spinnerTpl:'
',errorTpl:'

{{ERROR}}

',btnTpl:{download:'',zoom:'',close:'',arrowLeft:'',arrowRight:'',smallBtn:''},parentEl:"body",hideScrollbar:!0,autoFocus:!0,backFocus:!0,trapFocus:!0,fullScreen:{autoStart:!1},touch:{vertical:!0,momentum:!0},hash:null,media:{},slideShow:{autoStart:!1,speed:3e3},thumbs:{autoStart:!1,hideOnClose:!0,parentEl:".fancybox-container",axis:"y"},wheel:"auto",onInit:n.noop,beforeLoad:n.noop,afterLoad:n.noop,beforeShow:n.noop,afterShow:n.noop,beforeClose:n.noop,afterClose:n.noop,onActivate:n.noop,onDeactivate:n.noop,clickContent:function(e,t){return"image"===e.type&&"zoom"},clickSlide:"close",clickOutside:"close",dblclickContent:!1,dblclickSlide:!1,dblclickOutside:!1,mobile:{preventCaptionOverlap:!1,idleTime:!1,clickContent:function(e,t){return"image"===e.type&&"toggleControls"},clickSlide:function(e,t){return"image"===e.type?"toggleControls":"close"},dblclickContent:function(e,t){return"image"===e.type&&"zoom"},dblclickSlide:function(e,t){return"image"===e.type&&"zoom"}},lang:"en",i18n:{en:{CLOSE:"Close",NEXT:"Next",PREV:"Previous",ERROR:"The requested content cannot be loaded.
Please try again later.",PLAY_START:"Start slideshow",PLAY_STOP:"Pause slideshow",FULL_SCREEN:"Full screen",THUMBS:"Thumbnails",DOWNLOAD:"Download",SHARE:"Share",ZOOM:"Zoom"},de:{CLOSE:"Schließen",NEXT:"Weiter",PREV:"Zurück",ERROR:"Die angeforderten Daten konnten nicht geladen werden.
Bitte versuchen Sie es später nochmal.",PLAY_START:"Diaschau starten",PLAY_STOP:"Diaschau beenden",FULL_SCREEN:"Vollbild",THUMBS:"Vorschaubilder",DOWNLOAD:"Herunterladen",SHARE:"Teilen",ZOOM:"Vergrößern"}}},o=n(e),i=n(t),s=0,l=e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||e.oRequestAnimationFrame||function(t){return e.setTimeout(t,1e3/60)},u=e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.mozCancelAnimationFrame||e.oCancelAnimationFrame||function(t){e.clearTimeout(t)},f=function(){var e,n=t.createElement("fakeelement"),c={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(e in c)if(void 0!==n.style[e])return c[e];return"transitionend"}(),d=function(e){return e&&e.length&&e[0].offsetHeight},h=function(e,t){var c=n.extend(!0,{},e,t);return n.each(t,(function(e,t){n.isArray(t)&&(c[e]=t)})),c},m=function(e){var c,r;return!(!e||e.ownerDocument!==t)&&(n(".fancybox-container").css("pointer-events","none"),c={x:e.getBoundingClientRect().left+e.offsetWidth/2,y:e.getBoundingClientRect().top+e.offsetHeight/2},r=t.elementFromPoint(c.x,c.y)===e,n(".fancybox-container").css("pointer-events",""),r)},p=function(e,t,c){var r=this;r.opts=h({index:c},n.fancybox.defaults),n.isPlainObject(t)&&(r.opts=h(r.opts,t)),n.fancybox.isMobile&&(r.opts=h(r.opts,r.opts.mobile)),r.id=r.opts.id||++s,r.currIndex=parseInt(r.opts.index,10)||0,r.prevIndex=null,r.prevPos=null,r.currPos=0,r.firstRun=!0,r.group=[],r.slides={},r.addContent(e),r.group.length&&r.init()};n.extend(p.prototype,{init:function(){var c,r,a=this,o=a.group[a.currIndex].opts;o.closeExisting&&n.fancybox.close(!0),n("body").addClass("fancybox-active"),!n.fancybox.getInstance()&&!1!==o.hideScrollbar&&!n.fancybox.isMobile&&t.body.scrollHeight>e.innerHeight&&(n("head").append('"),n("body").addClass("compensate-for-scrollbar")),r="",n.each(o.buttons,(function(e,t){r+=o.btnTpl[t]||""})),c=n(a.translate(a,o.baseTpl.replace("{{buttons}}",r).replace("{{arrows}}",o.btnTpl.arrowLeft+o.btnTpl.arrowRight))).attr("id","fancybox-container-"+a.id).addClass(o.baseClass).data("FancyBox",a).appendTo(o.parentEl),a.$refs={container:c},["bg","inner","infobar","toolbar","stage","caption","navigation"].forEach((function(e){a.$refs[e]=c.find(".fancybox-"+e)})),a.trigger("onInit"),a.activate(),a.jumpTo(a.currIndex)},translate:function(e,t){var n=e.opts.i18n[e.opts.lang]||e.opts.i18n.en;return t.replace(/\{\{(\w+)\}\}/g,(function(e,t){return void 0===n[t]?e:n[t]}))},addContent:function(e){var t,c=this,r=n.makeArray(e);n.each(r,(function(e,t){var r,a,o,i,s,l={},u={};n.isPlainObject(t)?(l=t,u=t.opts||t):"object"===n.type(t)&&n(t).length?(u=(r=n(t)).data()||{},(u=n.extend(!0,{},u,u.options)).$orig=r,l.src=c.opts.src||u.src||r.attr("href"),l.type||l.src||(l.type="inline",l.src=t)):l={type:"html",src:t+""},l.opts=n.extend(!0,{},c.opts,u),n.isArray(u.buttons)&&(l.opts.buttons=u.buttons),n.fancybox.isMobile&&l.opts.mobile&&(l.opts=h(l.opts,l.opts.mobile)),a=l.type||l.opts.type,i=l.src||"",!a&&i&&((o=i.match(/\.(mp4|mov|ogv|webm)((\?|#).*)?$/i))?(a="video",l.opts.video.format||(l.opts.video.format="video/"+("ogv"===o[1]?"ogg":o[1]))):i.match(/(^data:image\/[a-z0-9+\/=]*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg|ico)((\?|#).*)?$)/i)?a="image":i.match(/\.(pdf)((\?|#).*)?$/i)?(a="iframe",l=n.extend(!0,l,{contentType:"pdf",opts:{iframe:{preload:!1}}})):"#"===i.charAt(0)&&(a="inline")),a?l.type=a:c.trigger("objectNeedsType",l),l.contentType||(l.contentType=n.inArray(l.type,["html","inline","ajax"])>-1?"html":l.type),l.index=c.group.length,"auto"==l.opts.smallBtn&&(l.opts.smallBtn=n.inArray(l.type,["html","inline","ajax"])>-1),"auto"===l.opts.toolbar&&(l.opts.toolbar=!l.opts.smallBtn),l.$thumb=l.opts.$thumb||null,l.opts.$trigger&&l.index===c.opts.index&&(l.$thumb=l.opts.$trigger.find("img:first"),l.$thumb.length&&(l.opts.$orig=l.opts.$trigger)),l.$thumb&&l.$thumb.length||!l.opts.$orig||(l.$thumb=l.opts.$orig.find("img:first")),l.$thumb&&!l.$thumb.length&&(l.$thumb=null),l.thumb=l.opts.thumb||(l.$thumb?l.$thumb[0].src:null),"function"===n.type(l.opts.caption)&&(l.opts.caption=l.opts.caption.apply(t,[c,l])),"function"===n.type(c.opts.caption)&&(l.opts.caption=c.opts.caption.apply(t,[c,l])),l.opts.caption instanceof n||(l.opts.caption=void 0===l.opts.caption?"":l.opts.caption+""),"ajax"===l.type&&((s=i.split(/\s+/,2)).length>1&&(l.src=s.shift(),l.opts.filter=s.shift())),l.opts.modal&&(l.opts=n.extend(!0,l.opts,{trapFocus:!0,infobar:0,toolbar:0,smallBtn:0,keyboard:0,slideShow:0,fullScreen:0,thumbs:0,touch:0,clickContent:!1,clickSlide:!1,clickOutside:!1,dblclickContent:!1,dblclickSlide:!1,dblclickOutside:!1})),c.group.push(l)})),Object.keys(c.slides).length&&(c.updateControls(),(t=c.Thumbs)&&t.isActive&&(t.create(),t.focus()))},addEvents:function(){var t=this;t.removeEvents(),t.$refs.container.on("click.fb-close","[data-fancybox-close]",(function(e){e.stopPropagation(),e.preventDefault(),t.close(e)})).on("touchstart.fb-prev click.fb-prev","[data-fancybox-prev]",(function(e){e.stopPropagation(),e.preventDefault(),t.previous()})).on("touchstart.fb-next click.fb-next","[data-fancybox-next]",(function(e){e.stopPropagation(),e.preventDefault(),t.next()})).on("click.fb","[data-fancybox-zoom]",(function(e){t[t.isScaledDown()?"scaleToActual":"scaleToFit"]()})),o.on("orientationchange.fb resize.fb",(function(e){e&&e.originalEvent&&"resize"===e.originalEvent.type?(t.requestId&&u(t.requestId),t.requestId=l((function(){t.update(e)}))):(t.current&&"iframe"===t.current.type&&t.$refs.stage.hide(),setTimeout((function(){t.$refs.stage.show(),t.update(e)}),n.fancybox.isMobile?600:250))})),i.on("keydown.fb",(function(e){var c=(n.fancybox?n.fancybox.getInstance():null).current,r=e.keyCode||e.which;if(9!=r)return!c.opts.keyboard||e.ctrlKey||e.altKey||e.shiftKey||n(e.target).is("input,textarea,video,audio,select")?void 0:8===r||27===r?(e.preventDefault(),void t.close(e)):37===r||38===r?(e.preventDefault(),void t.previous()):39===r||40===r?(e.preventDefault(),void t.next()):void t.trigger("afterKeydown",e,r);c.opts.trapFocus&&t.focus(e)})),t.group[t.currIndex].opts.idleTime&&(t.idleSecondsCounter=0,i.on("mousemove.fb-idle mouseleave.fb-idle mousedown.fb-idle touchstart.fb-idle touchmove.fb-idle scroll.fb-idle keydown.fb-idle",(function(e){t.idleSecondsCounter=0,t.isIdle&&t.showControls(),t.isIdle=!1})),t.idleInterval=e.setInterval((function(){++t.idleSecondsCounter>=t.group[t.currIndex].opts.idleTime&&!t.isDragging&&(t.isIdle=!0,t.idleSecondsCounter=0,t.hideControls())}),1e3))},removeEvents:function(){var t=this;o.off("orientationchange.fb resize.fb"),i.off("keydown.fb .fb-idle"),this.$refs.container.off(".fb-close .fb-prev .fb-next"),t.idleInterval&&(e.clearInterval(t.idleInterval),t.idleInterval=null)},previous:function(e){return this.jumpTo(this.currPos-1,e)},next:function(e){return this.jumpTo(this.currPos+1,e)},jumpTo:function(e,t){var c,r,a,o,i,s,l,u,f,h=this,m=h.group.length;if(!(h.isDragging||h.isClosing||h.isAnimating&&h.firstRun)){if(e=parseInt(e,10),!(a=h.current?h.current.opts.loop:h.opts.loop)&&(e<0||e>=m))return!1;if(c=h.firstRun=!Object.keys(h.slides).length,i=h.current,h.prevIndex=h.currIndex,h.prevPos=h.currPos,o=h.createSlide(e),m>1&&((a||o.index0)&&h.createSlide(e-1)),h.current=o,h.currIndex=o.index,h.currPos=o.pos,h.trigger("beforeShow",c),h.updateControls(),o.forcedDuration=void 0,n.isNumeric(t)?o.forcedDuration=t:t=o.opts[c?"animationDuration":"transitionDuration"],t=parseInt(t,10),r=h.isMoved(o),o.$slide.addClass("fancybox-slide--current"),c)return o.opts.animationEffect&&t&&h.$refs.container.css("transition-duration",t+"ms"),h.$refs.container.addClass("fancybox-is-open").trigger("focus"),h.loadSlide(o),void h.preload("image");s=n.fancybox.getTranslate(i.$slide),l=n.fancybox.getTranslate(h.$refs.stage),n.each(h.slides,(function(e,t){n.fancybox.stop(t.$slide,!0)})),i.pos!==o.pos&&(i.isComplete=!1),i.$slide.removeClass("fancybox-slide--complete fancybox-slide--current"),r?(f=s.left-(i.pos*s.width+i.pos*i.opts.gutter),n.each(h.slides,(function(e,c){c.$slide.removeClass("fancybox-animated").removeClass((function(e,t){return(t.match(/(^|\s)fancybox-fx-\S+/g)||[]).join(" ")}));var r=c.pos*s.width+c.pos*c.opts.gutter;n.fancybox.setTranslate(c.$slide,{top:0,left:r-l.left+f}),c.pos!==o.pos&&c.$slide.addClass("fancybox-slide--"+(c.pos>o.pos?"next":"previous")),d(c.$slide),n.fancybox.animate(c.$slide,{top:0,left:(c.pos-o.pos)*s.width+(c.pos-o.pos)*c.opts.gutter},t,(function(){c.$slide.css({transform:"",opacity:""}).removeClass("fancybox-slide--next fancybox-slide--previous"),c.pos===h.currPos&&h.complete()}))}))):t&&o.opts.transitionEffect&&(u="fancybox-animated fancybox-fx-"+o.opts.transitionEffect,i.$slide.addClass("fancybox-slide--"+(i.pos>o.pos?"next":"previous")),n.fancybox.animate(i.$slide,u,t,(function(){i.$slide.removeClass(u).removeClass("fancybox-slide--next fancybox-slide--previous")}),!1)),o.isLoaded?h.revealContent(o):h.loadSlide(o),h.preload("image")}},createSlide:function(e){var t,c,r=this;return c=(c=e%r.group.length)<0?r.group.length+c:c,!r.slides[e]&&r.group[c]&&(t=n('
').appendTo(r.$refs.stage),r.slides[e]=n.extend(!0,{},r.group[c],{pos:e,$slide:t,isLoaded:!1}),r.updateSlide(r.slides[e])),r.slides[e]},scaleToActual:function(e,t,c){var r,a,o,i,s,l=this,u=l.current,f=u.$content,d=n.fancybox.getTranslate(u.$slide).width,h=n.fancybox.getTranslate(u.$slide).height,m=u.width,p=u.height;l.isAnimating||l.isMoved()||!f||"image"!=u.type||!u.isLoaded||u.hasError||(l.isAnimating=!0,n.fancybox.stop(f),e=void 0===e?.5*d:e,t=void 0===t?.5*h:t,(r=n.fancybox.getTranslate(f)).top-=n.fancybox.getTranslate(u.$slide).top,r.left-=n.fancybox.getTranslate(u.$slide).left,i=m/r.width,s=p/r.height,a=.5*d-.5*m,o=.5*h-.5*p,m>d&&((a=r.left*i-(e*i-e))>0&&(a=0),ah&&((o=r.top*s-(t*s-t))>0&&(o=0),ot-.5&&(s=t),(l*=r)>c-.5&&(l=c),"image"===e.type?(u.top=Math.floor(.5*(c-l))+parseFloat(i.css("paddingTop")),u.left=Math.floor(.5*(t-s))+parseFloat(i.css("paddingLeft"))):"video"===e.contentType&&(l>s/(a=e.opts.width&&e.opts.height?s/l:e.opts.ratio||16/9)?l=s/a:s>l*a&&(s=l*a)),u.width=s,u.height=l,u)},update:function(e){var t=this;n.each(t.slides,(function(n,c){t.updateSlide(c,e)}))},updateSlide:function(e,t){var c=this,r=e&&e.$content,a=e.width||e.opts.width,o=e.height||e.opts.height,i=e.$slide;c.adjustCaption(e),r&&(a||o||"video"===e.contentType)&&!e.hasError&&(n.fancybox.stop(r),n.fancybox.setTranslate(r,c.getFitPos(e)),e.pos===c.currPos&&(c.isAnimating=!1,c.updateCursor())),c.adjustLayout(e),i.length&&(i.trigger("refresh"),e.pos===c.currPos&&c.$refs.toolbar.add(c.$refs.navigation.find(".fancybox-button--arrow_right")).toggleClass("compensate-for-scrollbar",i.get(0).scrollHeight>i.get(0).clientHeight)),c.trigger("onUpdate",e,t)},centerSlide:function(e){var t=this,c=t.current,r=c.$slide;!t.isClosing&&c&&(r.siblings().css({transform:"",opacity:""}),r.parent().children().removeClass("fancybox-slide--previous fancybox-slide--next"),n.fancybox.animate(r,{top:0,left:0,opacity:1},void 0===e?0:e,(function(){r.css({transform:"",opacity:""}),c.isComplete||t.complete()}),!1))},isMoved:function(e){var t,c,r=e||this.current;return!!r&&(c=n.fancybox.getTranslate(this.$refs.stage),t=n.fancybox.getTranslate(r.$slide),!r.$slide.hasClass("fancybox-animated")&&(Math.abs(t.top-c.top)>.5||Math.abs(t.left-c.left)>.5))},updateCursor:function(e,t){var c,r,a=this,o=a.current,i=a.$refs.container;o&&!a.isClosing&&a.Guestures&&(i.removeClass("fancybox-is-zoomable fancybox-can-zoomIn fancybox-can-zoomOut fancybox-can-swipe fancybox-can-pan"),r=!!(c=a.canPan(e,t))||a.isZoomable(),i.toggleClass("fancybox-is-zoomable",r),n("[data-fancybox-zoom]").prop("disabled",!r),c?i.addClass("fancybox-can-pan"):r&&("zoom"===o.opts.clickContent||n.isFunction(o.opts.clickContent)&&"zoom"==o.opts.clickContent(o))?i.addClass("fancybox-can-zoomIn"):o.opts.touch&&(o.opts.touch.vertical||a.group.length>1)&&"video"!==o.contentType&&i.addClass("fancybox-can-swipe"))},isZoomable:function(){var e,t=this,n=t.current;if(n&&!t.isClosing&&"image"===n.type&&!n.hasError){if(!n.isLoaded)return!0;if((e=t.getFitPos(n))&&(n.width>e.width||n.height>e.height))return!0}return!1},isScaledDown:function(e,t){var c=!1,r=this.current,a=r.$content;return void 0!==e&&void 0!==t?c=e1.5||Math.abs(r.height-a.height)>1.5)),a},loadSlide:function(e){var t,c,r,a=this;if(!e.isLoading&&!e.isLoaded){if(e.isLoading=!0,!1===a.trigger("beforeLoad",e))return e.isLoading=!1,!1;switch(t=e.type,(c=e.$slide).off("refresh").trigger("onReset").addClass(e.opts.slideClass),t){case"image":a.setImage(e);break;case"iframe":a.setIframe(e);break;case"html":a.setContent(e,e.src||e.content);break;case"video":a.setContent(e,e.opts.video.tpl.replace(/\{\{src\}\}/gi,e.src).replace("{{format}}",e.opts.videoFormat||e.opts.video.format||"").replace("{{poster}}",e.thumb||""));break;case"inline":n(e.src).length?a.setContent(e,n(e.src)):a.setError(e);break;case"ajax":a.showLoading(e),r=n.ajax(n.extend({},e.opts.ajax.settings,{url:e.src,success:function(t,n){"success"===n&&a.setContent(e,t)},error:function(t,n){t&&"abort"!==n&&a.setError(e)}})),c.one("onReset",(function(){r.abort()}));break;default:a.setError(e)}return!0}},setImage:function(e){var c,r=this;setTimeout((function(){var t=e.$image;r.isClosing||!e.isLoading||t&&t.length&&t[0].complete||e.hasError||r.showLoading(e)}),50),r.checkSrcset(e),e.$content=n('
').addClass("fancybox-is-hidden").appendTo(e.$slide.addClass("fancybox-slide--image")),!1!==e.opts.preload&&e.opts.width&&e.opts.height&&e.thumb&&(e.width=e.opts.width,e.height=e.opts.height,(c=t.createElement("img")).onerror=function(){n(this).remove(),e.$ghost=null},c.onload=function(){r.afterLoad(e)},e.$ghost=n(c).addClass("fancybox-image").appendTo(e.$content).attr("src",e.thumb)),r.setBigImage(e)},checkSrcset:function(t){var n,c,r,a,o=t.opts.srcset||t.opts.image.srcset;if(o){r=e.devicePixelRatio||1,a=e.innerWidth*r,c=o.split(",").map((function(e){var t={};return e.trim().split(/\s+/).forEach((function(e,n){var c=parseInt(e.substring(0,e.length-1),10);if(0===n)return t.url=e;c&&(t.value=c,t.postfix=e[e.length-1])})),t})),c.sort((function(e,t){return e.value-t.value}));for(var i=0;i=a||"x"===s.postfix&&s.value>=r){n=s;break}}!n&&c.length&&(n=c[c.length-1]),n&&(t.src=n.url,t.width&&t.height&&"w"==n.postfix&&(t.height=t.width/t.height*n.value,t.width=n.value),t.opts.srcset=o)}},setBigImage:function(e){var c=this,r=t.createElement("img"),a=n(r);e.$image=a.one("error",(function(){c.setError(e)})).one("load",(function(){var t;e.$ghost||(c.resolveImageSlideSize(e,this.naturalWidth,this.naturalHeight),c.afterLoad(e)),c.isClosing||(e.opts.srcset&&((t=e.opts.sizes)&&"auto"!==t||(t=(e.width/e.height>1&&o.width()/o.height()>1?"100":Math.round(e.width/e.height*100))+"vw"),a.attr("sizes",t).attr("srcset",e.opts.srcset)),e.$ghost&&setTimeout((function(){e.$ghost&&!c.isClosing&&e.$ghost.hide()}),Math.min(300,Math.max(1e3,e.height/1600))),c.hideLoading(e))})).addClass("fancybox-image").attr("src",e.src).appendTo(e.$content),(r.complete||"complete"==r.readyState)&&a.naturalWidth&&a.naturalHeight?a.trigger("load"):r.error&&a.trigger("error")},resolveImageSlideSize:function(e,t,n){var c=parseInt(e.opts.width,10),r=parseInt(e.opts.height,10);e.width=t,e.height=n,c>0&&(e.width=c,e.height=Math.floor(c*n/t)),r>0&&(e.width=Math.floor(r*t/n),e.height=r)},setIframe:function(e){var t,c=this,r=e.opts.iframe,a=e.$slide;e.$content=n('
').css(r.css).appendTo(a),a.addClass("fancybox-slide--"+e.contentType),e.$iframe=t=n(r.tpl.replace(/\{rnd\}/g,(new Date).getTime())).attr(r.attr).appendTo(e.$content),r.preload?(c.showLoading(e),t.on("load.fb error.fb",(function(t){this.isReady=1,e.$slide.trigger("refresh"),c.afterLoad(e)})),a.on("refresh.fb",(function(){var n,c=e.$content,o=r.css.width,i=r.css.height;if(1===t[0].isReady){try{n=t.contents().find("body")}catch(e){}n&&n.length&&n.children().length&&(a.css("overflow","visible"),c.css({width:"100%","max-width":"100%",height:"9999px"}),void 0===o&&(o=Math.ceil(Math.max(n[0].clientWidth,n.outerWidth(!0)))),c.css("width",o||"").css("max-width",""),void 0===i&&(i=Math.ceil(Math.max(n[0].clientHeight,n.outerHeight(!0)))),c.css("height",i||""),a.css("overflow","auto")),c.removeClass("fancybox-is-hidden")}}))):c.afterLoad(e),t.attr("src",e.src),a.one("onReset",(function(){try{n(this).find("iframe").hide().unbind().attr("src","//about:blank")}catch(e){}n(this).off("refresh.fb").empty(),e.isLoaded=!1,e.isRevealed=!1}))},setContent:function(e,t){var c=this;c.isClosing||(c.hideLoading(e),e.$content&&n.fancybox.stop(e.$content),e.$slide.empty(),function(e){return e&&e.hasOwnProperty&&e instanceof n}(t)&&t.parent().length?((t.hasClass("fancybox-content")||t.parent().hasClass("fancybox-content"))&&t.parents(".fancybox-slide").trigger("onReset"),e.$placeholder=n("
").hide().insertAfter(t),t.css("display","inline-block")):e.hasError||("string"===n.type(t)&&(t=n("
").append(n.trim(t)).contents()),e.opts.filter&&(t=n("
").html(t).find(e.opts.filter))),e.$slide.one("onReset",(function(){n(this).find("video,audio").trigger("pause"),e.$placeholder&&(e.$placeholder.after(t.removeClass("fancybox-content").hide()).remove(),e.$placeholder=null),e.$smallBtn&&(e.$smallBtn.remove(),e.$smallBtn=null),e.hasError||(n(this).empty(),e.isLoaded=!1,e.isRevealed=!1)})),n(t).appendTo(e.$slide),n(t).is("video,audio")&&(n(t).addClass("fancybox-video"),n(t).wrap("
"),e.contentType="video",e.opts.width=e.opts.width||n(t).attr("width"),e.opts.height=e.opts.height||n(t).attr("height")),e.$content=e.$slide.children().filter("div,form,main,video,audio,article,.fancybox-content").first(),e.$content.siblings().hide(),e.$content.length||(e.$content=e.$slide.wrapInner("
").children().first()),e.$content.addClass("fancybox-content"),e.$slide.addClass("fancybox-slide--"+e.contentType),c.afterLoad(e))},setError:function(e){e.hasError=!0,e.$slide.trigger("onReset").removeClass("fancybox-slide--"+e.contentType).addClass("fancybox-slide--error"),e.contentType="html",this.setContent(e,this.translate(e,e.opts.errorTpl)),e.pos===this.currPos&&(this.isAnimating=!1)},showLoading:function(e){var t=this;(e=e||t.current)&&!e.$spinner&&(e.$spinner=n(t.translate(t,t.opts.spinnerTpl)).appendTo(e.$slide).hide().fadeIn("fast"))},hideLoading:function(e){(e=e||this.current)&&e.$spinner&&(e.$spinner.stop().remove(),delete e.$spinner)},afterLoad:function(e){var t=this;t.isClosing||(e.isLoading=!1,e.isLoaded=!0,t.trigger("afterLoad",e),t.hideLoading(e),!e.opts.smallBtn||e.$smallBtn&&e.$smallBtn.length||(e.$smallBtn=n(t.translate(e,e.opts.btnTpl.smallBtn)).appendTo(e.$content)),e.opts.protect&&e.$content&&!e.hasError&&(e.$content.on("contextmenu.fb",(function(e){return 2==e.button&&e.preventDefault(),!0})),"image"===e.type&&n('
').appendTo(e.$content)),t.adjustCaption(e),t.adjustLayout(e),e.pos===t.currPos&&t.updateCursor(),t.revealContent(e))},adjustCaption:function(e){var t,n=this,c=e||n.current,r=c.opts.caption,a=c.opts.preventCaptionOverlap,o=n.$refs.caption,i=!1;o.toggleClass("fancybox-caption--separate",a),a&&r&&r.length&&(c.pos!==n.currPos?((t=o.clone().appendTo(o.parent())).children().eq(0).empty().html(r),i=t.outerHeight(!0),t.empty().remove()):n.$caption&&(i=n.$caption.outerHeight(!0)),c.$slide.css("padding-bottom",i||""))},adjustLayout:function(e){var t,n,c,r,a=e||this.current;a.isLoaded&&!0!==a.opts.disableLayoutFix&&(a.$content.css("margin-bottom",""),a.$content.outerHeight()>a.$slide.height()+.5&&(c=a.$slide[0].style["padding-bottom"],r=a.$slide.css("padding-bottom"),parseFloat(r)>0&&(t=a.$slide[0].scrollHeight,a.$slide.css("padding-bottom",0),Math.abs(t-a.$slide[0].scrollHeight)<1&&(n=r),a.$slide.css("padding-bottom",c))),a.$content.css("margin-bottom",n))},revealContent:function(e){var t,c,r,a,o=this,i=e.$slide,s=!1,l=!1,u=o.isMoved(e),f=e.isRevealed;return e.isRevealed=!0,t=e.opts[o.firstRun?"animationEffect":"transitionEffect"],r=e.opts[o.firstRun?"animationDuration":"transitionDuration"],r=parseInt(void 0===e.forcedDuration?r:e.forcedDuration,10),!u&&e.pos===o.currPos&&r||(t=!1),"zoom"===t&&(e.pos===o.currPos&&r&&"image"===e.type&&!e.hasError&&(l=o.getThumbPos(e))?s=o.getFitPos(e):t="fade"),"zoom"===t?(o.isAnimating=!0,s.scaleX=s.width/l.width,s.scaleY=s.height/l.height,"auto"==(a=e.opts.zoomOpacity)&&(a=Math.abs(e.width/e.height-l.width/l.height)>.1),a&&(l.opacity=.1,s.opacity=1),n.fancybox.setTranslate(e.$content.removeClass("fancybox-is-hidden"),l),d(e.$content),void n.fancybox.animate(e.$content,s,r,(function(){o.isAnimating=!1,o.complete()}))):(o.updateSlide(e),t?(n.fancybox.stop(i),c="fancybox-slide--"+(e.pos>=o.prevPos?"next":"previous")+" fancybox-animated fancybox-fx-"+t,i.addClass(c).removeClass("fancybox-slide--current"),e.$content.removeClass("fancybox-is-hidden"),d(i),"image"!==e.type&&e.$content.hide().show(0),void n.fancybox.animate(i,"fancybox-slide--current",r,(function(){i.removeClass(c).css({transform:"",opacity:""}),e.pos===o.currPos&&o.complete()}),!0)):(e.$content.removeClass("fancybox-is-hidden"),f||!u||"image"!==e.type||e.hasError||e.$content.hide().fadeIn("fast"),void(e.pos===o.currPos&&o.complete())))},getThumbPos:function(e){var t,c,r,a,o,i=!1,s=e.$thumb;return!(!s||!m(s[0]))&&(t=n.fancybox.getTranslate(s),c=parseFloat(s.css("border-top-width")||0),r=parseFloat(s.css("border-right-width")||0),a=parseFloat(s.css("border-bottom-width")||0),o=parseFloat(s.css("border-left-width")||0),i={top:t.top+c,left:t.left+o,width:t.width-r-o,height:t.height-c-a,scaleX:1,scaleY:1},t.width>0&&t.height>0&&i)},complete:function(){var e,t=this,c=t.current,r={};!t.isMoved()&&c.isLoaded&&(c.isComplete||(c.isComplete=!0,c.$slide.siblings().trigger("onReset"),t.preload("inline"),d(c.$slide),c.$slide.addClass("fancybox-slide--complete"),n.each(t.slides,(function(e,c){c.pos>=t.currPos-1&&c.pos<=t.currPos+1?r[c.pos]=c:c&&(n.fancybox.stop(c.$slide),c.$slide.off().remove())})),t.slides=r),t.isAnimating=!1,t.updateCursor(),t.trigger("afterShow"),c.opts.video.autoStart&&c.$slide.find("video,audio").filter(":visible:first").trigger("play").one("ended",(function(){Document.exitFullscreen?Document.exitFullscreen():this.webkitExitFullscreen&&this.webkitExitFullscreen(),t.next()})),c.opts.autoFocus&&"html"===c.contentType&&((e=c.$content.find("input[autofocus]:enabled:visible:first")).length?e.trigger("focus"):t.focus(null,!0)),c.$slide.scrollTop(0).scrollLeft(0))},preload:function(e){var t,n,c=this;c.group.length<2||(n=c.slides[c.currPos+1],(t=c.slides[c.currPos-1])&&t.type===e&&c.loadSlide(t),n&&n.type===e&&c.loadSlide(n))},focus:function(e,c){var r,a,o=this,i=["a[href]","area[href]",'input:not([disabled]):not([type="hidden"]):not([aria-hidden])',"select:not([disabled]):not([aria-hidden])","textarea:not([disabled]):not([aria-hidden])","button:not([disabled]):not([aria-hidden])","iframe","object","embed","video","audio","[contenteditable]",'[tabindex]:not([tabindex^="-"])'].join(",");o.isClosing||((r=(r=!e&&o.current&&o.current.isComplete?o.current.$slide.find("*:visible"+(c?":not(.fancybox-close-small)":"")):o.$refs.container.find("*:visible")).filter(i).filter((function(){return"hidden"!==n(this).css("visibility")&&!n(this).hasClass("disabled")}))).length?(a=r.index(t.activeElement),e&&e.shiftKey?(a<0||0==a)&&(e.preventDefault(),r.eq(r.length-1).trigger("focus")):(a<0||a==r.length-1)&&(e&&e.preventDefault(),r.eq(0).trigger("focus"))):o.$refs.container.trigger("focus"))},activate:function(){var e=this;n(".fancybox-container").each((function(){var t=n(this).data("FancyBox");t&&t.id!==e.id&&!t.isClosing&&(t.trigger("onDeactivate"),t.removeEvents(),t.isVisible=!1)})),e.isVisible=!0,(e.current||e.isIdle)&&(e.update(),e.updateControls()),e.trigger("onActivate"),e.addEvents()},close:function(e,t){var c,r,a,o,i,s,u,f=this,h=f.current,m=function(){f.cleanUp(e)};return!(f.isClosing||(f.isClosing=!0,!1===f.trigger("beforeClose",e)?(f.isClosing=!1,l((function(){f.update()})),1):(f.removeEvents(),a=h.$content,c=h.opts.animationEffect,r=n.isNumeric(t)?t:c?h.opts.animationDuration:0,h.$slide.removeClass("fancybox-slide--complete fancybox-slide--next fancybox-slide--previous fancybox-animated"),!0!==e?n.fancybox.stop(h.$slide):c=!1,h.$slide.siblings().trigger("onReset").remove(),r&&f.$refs.container.removeClass("fancybox-is-open").addClass("fancybox-is-closing").css("transition-duration",r+"ms"),f.hideLoading(h),f.hideControls(!0),f.updateCursor(),"zoom"!==c||a&&r&&"image"===h.type&&!f.isMoved()&&!h.hasError&&(u=f.getThumbPos(h))||(c="fade"),"zoom"===c?(n.fancybox.stop(a),o=n.fancybox.getTranslate(a),s={top:o.top,left:o.left,scaleX:o.width/u.width,scaleY:o.height/u.height,width:u.width,height:u.height},i=h.opts.zoomOpacity,"auto"==i&&(i=Math.abs(h.width/h.height-u.width/u.height)>.1),i&&(u.opacity=0),n.fancybox.setTranslate(a,s),d(a),n.fancybox.animate(a,u,r,m),0):(c&&r?n.fancybox.animate(h.$slide.addClass("fancybox-slide--previous").removeClass("fancybox-slide--current"),"fancybox-animated fancybox-fx-"+c,r,m):!0===e?setTimeout(m,r):m(),0))))},cleanUp:function(t){var c,r,a,o=this,i=o.current.opts.$orig;o.current.$slide.trigger("onReset"),o.$refs.container.empty().remove(),o.trigger("afterClose",t),o.current.opts.backFocus&&(i&&i.length&&i.is(":visible")||(i=o.$trigger),i&&i.length&&(r=e.scrollX,a=e.scrollY,i.trigger("focus"),n("html, body").scrollTop(a).scrollLeft(r))),o.current=null,(c=n.fancybox.getInstance())?c.activate():(n("body").removeClass("fancybox-active compensate-for-scrollbar"),n("#fancybox-style-noscroll").remove())},trigger:function(e,t){var c,r=Array.prototype.slice.call(arguments,1),a=this,o=t&&t.opts?t:a.current;if(o?r.unshift(o):o=a,r.unshift(a),n.isFunction(o.opts[e])&&(c=o.opts[e].apply(o,r)),!1===c)return c;"afterClose"!==e&&a.$refs?a.$refs.container.trigger(e+".fb",r):i.trigger(e+".fb",r)},updateControls:function(){var e=this,c=e.current,r=c.index,a=e.$refs.container,o=e.$refs.caption,i=c.opts.caption;c.$slide.trigger("refresh"),i&&i.length?(e.$caption=o,o.children().eq(0).html(i)):e.$caption=null,e.hasHiddenControls||e.isIdle||e.showControls(),a.find("[data-fancybox-count]").html(e.group.length),a.find("[data-fancybox-index]").html(r+1),a.find("[data-fancybox-prev]").prop("disabled",!c.opts.loop&&r<=0),a.find("[data-fancybox-next]").prop("disabled",!c.opts.loop&&r>=e.group.length-1),"image"===c.type?a.find("[data-fancybox-zoom]").show().end().find("[data-fancybox-download]").attr("href",c.opts.image.src||c.src).show():c.opts.toolbar&&a.find("[data-fancybox-download],[data-fancybox-zoom]").hide(),n(t.activeElement).is(":hidden,[disabled]")&&e.$refs.container.trigger("focus")},hideControls:function(e){var t=["infobar","toolbar","nav"];!e&&this.current.opts.preventCaptionOverlap||t.push("caption"),this.$refs.container.removeClass(t.map((function(e){return"fancybox-show-"+e})).join(" ")),this.hasHiddenControls=!0},showControls:function(){var e=this,t=e.current?e.current.opts:e.opts,n=e.$refs.container;e.hasHiddenControls=!1,e.idleSecondsCounter=0,n.toggleClass("fancybox-show-toolbar",!(!t.toolbar||!t.buttons)).toggleClass("fancybox-show-infobar",!!(t.infobar&&e.group.length>1)).toggleClass("fancybox-show-caption",!!e.$caption).toggleClass("fancybox-show-nav",!!(t.arrows&&e.group.length>1)).toggleClass("fancybox-is-modal",!!t.modal)},toggleControls:function(){this.hasHiddenControls?this.showControls():this.hideControls()}}),n.fancybox={version:"3.5.7",defaults:a,getInstance:function(e){var t=n('.fancybox-container:not(".fancybox-is-closing"):last').data("FancyBox"),c=Array.prototype.slice.call(arguments,1);return t instanceof p&&("string"===n.type(e)?t[e].apply(t,c):"function"===n.type(e)&&e.apply(t,c),t)},open:function(e,t,n){return new p(e,t,n)},close:function(e){var t=this.getInstance();t&&(t.close(),!0===e&&this.close(e))},destroy:function(){this.close(!0),i.add("body").off("click.fb-start","**")},isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),use3d:function(){var n=t.createElement("div");return e.getComputedStyle&&e.getComputedStyle(n)&&e.getComputedStyle(n).getPropertyValue("transform")&&!(t.documentMode&&t.documentMode<11)}(),getTranslate:function(e){var t;return!(!e||!e.length)&&{top:(t=e[0].getBoundingClientRect()).top||0,left:t.left||0,width:t.width,height:t.height,opacity:parseFloat(e.css("opacity"))}},setTranslate:function(e,t){var n="",c={};if(e&&t)return void 0===t.left&&void 0===t.top||(n=(void 0===t.left?e.position().left:t.left)+"px, "+(void 0===t.top?e.position().top:t.top)+"px",n=this.use3d?"translate3d("+n+", 0px)":"translate("+n+")"),void 0!==t.scaleX&&void 0!==t.scaleY?n+=" scale("+t.scaleX+", "+t.scaleY+")":void 0!==t.scaleX&&(n+=" scaleX("+t.scaleX+")"),n.length&&(c.transform=n),void 0!==t.opacity&&(c.opacity=t.opacity),void 0!==t.width&&(c.width=t.width),void 0!==t.height&&(c.height=t.height),e.css(c)},animate:function(e,t,c,r,a){var o,i=this;n.isFunction(c)&&(r=c,c=null),i.stop(e),o=i.getTranslate(e),e.on(f,(function(s){(!s||!s.originalEvent||e.is(s.originalEvent.target)&&"z-index"!=s.originalEvent.propertyName)&&(i.stop(e),n.isNumeric(c)&&e.css("transition-duration",""),n.isPlainObject(t)?void 0!==t.scaleX&&void 0!==t.scaleY&&i.setTranslate(e,{top:t.top,left:t.left,width:o.width*t.scaleX,height:o.height*t.scaleY,scaleX:1,scaleY:1}):!0!==a&&e.removeClass(t),n.isFunction(r)&&r(s))})),n.isNumeric(c)&&e.css("transition-duration",c+"ms"),n.isPlainObject(t)?(void 0!==t.scaleX&&void 0!==t.scaleY&&(delete t.width,delete t.height,e.parent().hasClass("fancybox-slide--image")&&e.parent().addClass("fancybox-is-scaling")),n.fancybox.setTranslate(e,t)):e.addClass(t),e.data("timer",setTimeout((function(){e.trigger(f)}),c+33))},stop:function(e,t){e&&e.length&&(clearTimeout(e.data("timer")),t&&e.trigger(f),e.off(f).css("transition-duration",""),e.parent().removeClass("fancybox-is-scaling"))}},n.fn.fancybox=function(e){var t;return(t=(e=e||{}).selector||!1)?n("body").off("click.fb-start",t).on("click.fb-start",t,{options:e},r):this.off("click.fb-start").on("click.fb-start",{items:this,options:e},r),this},i.on("click.fb-start","[data-fancybox]",r),i.on("click.fb-start","[data-fancybox-trigger]",(function(e){n('[data-fancybox="'+n(this).attr("data-fancybox-trigger")+'"]').eq(n(this).attr("data-fancybox-index")||0).trigger("click.fb-start",{$trigger:n(this)})})),function(){var e=null;i.on("mousedown mouseup focus blur",".fancybox-button",(function(t){switch(t.type){case"mousedown":e=n(this);break;case"mouseup":e=null;break;case"focusin":n(".fancybox-button").removeClass("fancybox-focus"),n(this).is(e)||n(this).is("[disabled]")||n(this).addClass("fancybox-focus");break;case"focusout":n(".fancybox-button").removeClass("fancybox-focus")}}))}()}}(window,document,jQuery),function(e){"use strict";var t={youtube:{matcher:/(youtube\.com|youtu\.be|youtube\-nocookie\.com)\/(watch\?(.*&)?v=|v\/|u\/|embed\/?)?(videoseries\?list=(.*)|[\w-]{11}|\?listType=(.*)&list=(.*))(.*)/i,params:{autoplay:1,autohide:1,fs:1,rel:0,hd:1,wmode:"transparent",enablejsapi:1,html5:1},paramPlace:8,type:"iframe",url:"https://www.youtube-nocookie.com/embed/$4",thumb:"https://img.youtube.com/vi/$4/hqdefault.jpg"},vimeo:{matcher:/^.+vimeo.com\/(.*\/)?([\d]+)(.*)?/,params:{autoplay:1,hd:1,show_title:1,show_byline:1,show_portrait:0,fullscreen:1},paramPlace:3,type:"iframe",url:"//player.vimeo.com/video/$2"},instagram:{matcher:/(instagr\.am|instagram\.com)\/p\/([a-zA-Z0-9_\-]+)\/?/i,type:"image",url:"//$1/p/$2/media/?size=l"},gmap_place:{matcher:/(maps\.)?google\.([a-z]{2,3}(\.[a-z]{2})?)\/(((maps\/(place\/(.*)\/)?\@(.*),(\d+.?\d+?)z))|(\?ll=))(.*)?/i,type:"iframe",url:function(e){return"//maps.google."+e[2]+"/?ll="+(e[9]?e[9]+"&z="+Math.floor(e[10])+(e[12]?e[12].replace(/^\//,"&"):""):e[12]+"").replace(/\?/,"&")+"&output="+(e[12]&&e[12].indexOf("layer=c")>0?"svembed":"embed")}},gmap_search:{matcher:/(maps\.)?google\.([a-z]{2,3}(\.[a-z]{2})?)\/(maps\/search\/)(.*)/i,type:"iframe",url:function(e){return"//maps.google."+e[2]+"/maps?q="+e[5].replace("query=","q=").replace("api=1","")+"&output=embed"}}},n=function(t,n,c){if(t)return c=c||"","object"===e.type(c)&&(c=e.param(c,!0)),e.each(n,(function(e,n){t=t.replace("$"+e,n||"")})),c.length&&(t+=(t.indexOf("?")>0?"&":"?")+c),t};e(document).on("objectNeedsType.fb",(function(c,r,a){var o,i,s,l,u,f,d,h=a.src||"",m=!1;o=e.extend(!0,{},t,a.opts.media),e.each(o,(function(t,c){if(s=h.match(c.matcher)){if(m=c.type,d=t,f={},c.paramPlace&&s[c.paramPlace]){"?"==(u=s[c.paramPlace])[0]&&(u=u.substring(1)),u=u.split("&");for(var r=0;r1&&("youtube"===n.contentSource||"vimeo"===n.contentSource)&&c.load(n.contentSource)}})}(jQuery),function(e,t,n){"use strict";var c=e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||e.oRequestAnimationFrame||function(t){return e.setTimeout(t,1e3/60)},r=e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.mozCancelAnimationFrame||e.oCancelAnimationFrame||function(t){e.clearTimeout(t)},a=function(t){var n=[];for(var c in t=(t=t.originalEvent||t||e.e).touches&&t.touches.length?t.touches:t.changedTouches&&t.changedTouches.length?t.changedTouches:[t])t[c].pageX?n.push({x:t[c].pageX,y:t[c].pageY}):t[c].clientX&&n.push({x:t[c].clientX,y:t[c].clientY});return n},o=function(e,t,n){return t&&e?"x"===n?e.x-t.x:"y"===n?e.y-t.y:Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2)):0},i=function(e){if(e.is('a,area,button,[role="button"],input,label,select,summary,textarea,video,audio,iframe')||n.isFunction(e.get(0).onclick)||e.data("selectable"))return!0;for(var t=0,c=e[0].attributes,r=c.length;tt.clientHeight,a=("scroll"===c||"auto"===c)&&t.scrollWidth>t.clientWidth;return r||a},l=function(e){for(var t=!1;!(t=s(e.get(0)))&&((e=e.parent()).length&&!e.hasClass("fancybox-stage")&&!e.is("body")););return t},u=function(e){var t=this;t.instance=e,t.$bg=e.$refs.bg,t.$stage=e.$refs.stage,t.$container=e.$refs.container,t.destroy(),t.$container.on("touchstart.fb.touch mousedown.fb.touch",n.proxy(t,"ontouchstart"))};u.prototype.destroy=function(){var e=this;e.$container.off(".fb.touch"),n(t).off(".fb.touch"),e.requestId&&(r(e.requestId),e.requestId=null),e.tapped&&(clearTimeout(e.tapped),e.tapped=null)},u.prototype.ontouchstart=function(c){var r=this,s=n(c.target),u=r.instance,f=u.current,d=f.$slide,h=f.$content,m="touchstart"==c.type;if(m&&r.$container.off("mousedown.fb.touch"),(!c.originalEvent||2!=c.originalEvent.button)&&d.length&&s.length&&!i(s)&&!i(s.parent())&&(s.is("img")||!(c.originalEvent.clientX>s[0].clientWidth+s.offset().left))){if(!f||u.isAnimating||f.$slide.hasClass("fancybox-animated"))return c.stopPropagation(),void c.preventDefault();r.realPoints=r.startPoints=a(c),r.startPoints.length&&(f.touch&&c.stopPropagation(),r.startEvent=c,r.canTap=!0,r.$target=s,r.$content=h,r.opts=f.opts.touch,r.isPanning=!1,r.isSwiping=!1,r.isZooming=!1,r.isScrolling=!1,r.canPan=u.canPan(),r.startTime=(new Date).getTime(),r.distanceX=r.distanceY=r.distance=0,r.canvasWidth=Math.round(d[0].clientWidth),r.canvasHeight=Math.round(d[0].clientHeight),r.contentLastPos=null,r.contentStartPos=n.fancybox.getTranslate(r.$content)||{top:0,left:0},r.sliderStartPos=n.fancybox.getTranslate(d),r.stagePos=n.fancybox.getTranslate(u.$refs.stage),r.sliderStartPos.top-=r.stagePos.top,r.sliderStartPos.left-=r.stagePos.left,r.contentStartPos.top-=r.stagePos.top,r.contentStartPos.left-=r.stagePos.left,n(t).off(".fb.touch").on(m?"touchend.fb.touch touchcancel.fb.touch":"mouseup.fb.touch mouseleave.fb.touch",n.proxy(r,"ontouchend")).on(m?"touchmove.fb.touch":"mousemove.fb.touch",n.proxy(r,"ontouchmove")),n.fancybox.isMobile&&t.addEventListener("scroll",r.onscroll,!0),((r.opts||r.canPan)&&(s.is(r.$stage)||r.$stage.find(s).length)||(s.is(".fancybox-image")&&c.preventDefault(),n.fancybox.isMobile&&s.parents(".fancybox-caption").length))&&(r.isScrollable=l(s)||l(s.parent()),n.fancybox.isMobile&&r.isScrollable||c.preventDefault(),(1===r.startPoints.length||f.hasError)&&(r.canPan?(n.fancybox.stop(r.$content),r.isPanning=!0):r.isSwiping=!0,r.$container.addClass("fancybox-is-grabbing")),2===r.startPoints.length&&"image"===f.type&&(f.isLoaded||f.$ghost)&&(r.canTap=!1,r.isSwiping=!1,r.isPanning=!1,r.isZooming=!0,n.fancybox.stop(r.$content),r.centerPointStartX=.5*(r.startPoints[0].x+r.startPoints[1].x)-n(e).scrollLeft(),r.centerPointStartY=.5*(r.startPoints[0].y+r.startPoints[1].y)-n(e).scrollTop(),r.percentageOfImageAtPinchPointX=(r.centerPointStartX-r.contentStartPos.left)/r.contentStartPos.width,r.percentageOfImageAtPinchPointY=(r.centerPointStartY-r.contentStartPos.top)/r.contentStartPos.height,r.startDistanceBetweenFingers=o(r.startPoints[0],r.startPoints[1]))))}},u.prototype.onscroll=function(e){this.isScrolling=!0,t.removeEventListener("scroll",this.onscroll,!0)},u.prototype.ontouchmove=function(e){var t=this;return void 0!==e.originalEvent.buttons&&0===e.originalEvent.buttons?void t.ontouchend(e):t.isScrolling?void(t.canTap=!1):(t.newPoints=a(e),void((t.opts||t.canPan)&&t.newPoints.length&&t.newPoints.length&&(t.isSwiping&&!0===t.isSwiping||e.preventDefault(),t.distanceX=o(t.newPoints[0],t.startPoints[0],"x"),t.distanceY=o(t.newPoints[0],t.startPoints[0],"y"),t.distance=o(t.newPoints[0],t.startPoints[0]),t.distance>0&&(t.isSwiping?t.onSwipe(e):t.isPanning?t.onPan():t.isZooming&&t.onZoom()))))},u.prototype.onSwipe=function(t){var a,o=this,i=o.instance,s=o.isSwiping,l=o.sliderStartPos.left||0;if(!0!==s)"x"==s&&(o.distanceX>0&&(o.instance.group.length<2||0===o.instance.current.index&&!o.instance.current.opts.loop)?l+=Math.pow(o.distanceX,.8):o.distanceX<0&&(o.instance.group.length<2||o.instance.current.index===o.instance.group.length-1&&!o.instance.current.opts.loop)?l-=Math.pow(-o.distanceX,.8):l+=o.distanceX),o.sliderLastPos={top:"x"==s?0:o.sliderStartPos.top+o.distanceY,left:l},o.requestId&&(r(o.requestId),o.requestId=null),o.requestId=c((function(){o.sliderLastPos&&(n.each(o.instance.slides,(function(e,t){var c=t.pos-o.instance.currPos;n.fancybox.setTranslate(t.$slide,{top:o.sliderLastPos.top,left:o.sliderLastPos.left+c*o.canvasWidth+c*t.opts.gutter})})),o.$container.addClass("fancybox-is-sliding"))}));else if(Math.abs(o.distance)>10){if(o.canTap=!1,i.group.length<2&&o.opts.vertical?o.isSwiping="y":i.isDragging||!1===o.opts.vertical||"auto"===o.opts.vertical&&n(e).width()>800?o.isSwiping="x":(a=Math.abs(180*Math.atan2(o.distanceY,o.distanceX)/Math.PI),o.isSwiping=a>45&&a<135?"y":"x"),"y"===o.isSwiping&&n.fancybox.isMobile&&o.isScrollable)return void(o.isScrolling=!0);i.isDragging=o.isSwiping,o.startPoints=o.newPoints,n.each(i.slides,(function(e,t){var c,r;n.fancybox.stop(t.$slide),c=n.fancybox.getTranslate(t.$slide),r=n.fancybox.getTranslate(i.$refs.stage),t.$slide.css({transform:"",opacity:"","transition-duration":""}).removeClass("fancybox-animated").removeClass((function(e,t){return(t.match(/(^|\s)fancybox-fx-\S+/g)||[]).join(" ")})),t.pos===i.current.pos&&(o.sliderStartPos.top=c.top-r.top,o.sliderStartPos.left=c.left-r.left),n.fancybox.setTranslate(t.$slide,{top:c.top-r.top,left:c.left-r.left})})),i.SlideShow&&i.SlideShow.isActive&&i.SlideShow.stop()}},u.prototype.onPan=function(){var e=this;o(e.newPoints[0],e.realPoints[0])<(n.fancybox.isMobile?10:5)?e.startPoints=e.newPoints:(e.canTap=!1,e.contentLastPos=e.limitMovement(),e.requestId&&r(e.requestId),e.requestId=c((function(){n.fancybox.setTranslate(e.$content,e.contentLastPos)})))},u.prototype.limitMovement=function(){var e,t,n,c,r,a,o=this,i=o.canvasWidth,s=o.canvasHeight,l=o.distanceX,u=o.distanceY,f=o.contentStartPos,d=f.left,h=f.top,m=f.width,p=f.height;return r=m>i?d+l:d,a=h+u,e=Math.max(0,.5*i-.5*m),t=Math.max(0,.5*s-.5*p),n=Math.min(i-m,.5*i-.5*m),c=Math.min(s-p,.5*s-.5*p),l>0&&r>e&&(r=e-1+Math.pow(-e+d+l,.8)||0),l<0&&r0&&a>t&&(a=t-1+Math.pow(-t+h+u,.8)||0),u<0&&ar?e=(e=e>0?0:e)a?t=(t=t>0?0:t)1&&(c.dMs>130&&o>10||o>50);c.sliderLastPos=null,"y"==e&&!t&&Math.abs(c.distanceY)>50?(n.fancybox.animate(c.instance.current.$slide,{top:c.sliderStartPos.top+c.distanceY+150*c.velocityY,opacity:0},200),r=c.instance.close(!0,250)):i&&c.distanceX>0?r=c.instance.previous(300):i&&c.distanceX<0&&(r=c.instance.next(300)),!1!==r||"x"!=e&&"y"!=e||c.instance.centerSlide(200),c.$container.removeClass("fancybox-is-sliding")},u.prototype.endPanning=function(){var e,t,c,r=this;r.contentLastPos&&(!1===r.opts.momentum||r.dMs>350?(e=r.contentLastPos.left,t=r.contentLastPos.top):(e=r.contentLastPos.left+500*r.velocityX,t=r.contentLastPos.top+500*r.velocityY),(c=r.limitPosition(e,t,r.contentStartPos.width,r.contentStartPos.height)).width=r.contentStartPos.width,c.height=r.contentStartPos.height,n.fancybox.animate(r.$content,c,366))},u.prototype.endZooming=function(){var e,t,c,r,a=this,o=a.instance.current,i=a.newWidth,s=a.newHeight;a.contentLastPos&&(e=a.contentLastPos.left,r={top:t=a.contentLastPos.top,left:e,width:i,height:s,scaleX:1,scaleY:1},n.fancybox.setTranslate(a.$content,r),io.width||s>o.height?a.instance.scaleToActual(a.centerPointStartX,a.centerPointStartY,150):(c=a.limitPosition(e,t,i,s),n.fancybox.animate(a.$content,c,150)))},u.prototype.onTap=function(t){var c,r=this,o=n(t.target),i=r.instance,s=i.current,l=t&&a(t)||r.startPoints,u=l[0]?l[0].x-n(e).scrollLeft()-r.stagePos.left:0,f=l[0]?l[0].y-n(e).scrollTop()-r.stagePos.top:0,d=function(e){var c=s.opts[e];if(n.isFunction(c)&&(c=c.apply(i,[s,t])),c)switch(c){case"close":i.close(r.startEvent);break;case"toggleControls":i.toggleControls();break;case"next":i.next();break;case"nextOrClose":i.group.length>1?i.next():i.close(r.startEvent);break;case"zoom":"image"==s.type&&(s.isLoaded||s.$ghost)&&(i.canPan()?i.scaleToFit():i.isScaledDown()?i.scaleToActual(u,f):i.group.length<2&&i.close(r.startEvent))}};if((!t.originalEvent||2!=t.originalEvent.button)&&(o.is("img")||!(u>o[0].clientWidth+o.offset().left))){if(o.is(".fancybox-bg,.fancybox-inner,.fancybox-outer,.fancybox-container"))c="Outside";else if(o.is(".fancybox-slide"))c="Slide";else{if(!i.current.$content||!i.current.$content.find(o).addBack().filter(o).length)return;c="Content"}if(r.tapped){if(clearTimeout(r.tapped),r.tapped=null,Math.abs(u-r.tapX)>50||Math.abs(f-r.tapY)>50)return this;d("dblclick"+c)}else r.tapX=u,r.tapY=f,s.opts["dblclick"+c]&&s.opts["dblclick"+c]!==s.opts["click"+c]?r.tapped=setTimeout((function(){r.tapped=null,i.isAnimating||d("click"+c)}),500):d("click"+c);return this}},n(t).on("onActivate.fb",(function(e,t){t&&!t.Guestures&&(t.Guestures=new u(t))})).on("beforeClose.fb",(function(e,t){t&&t.Guestures&&t.Guestures.destroy()}))}(window,document,jQuery),function(e,t){"use strict";t.extend(!0,t.fancybox.defaults,{btnTpl:{slideShow:''},slideShow:{autoStart:!1,speed:3e3,progress:!0}});var n=function(e){this.instance=e,this.init()};t.extend(n.prototype,{timer:null,isActive:!1,$button:null,init:function(){var e=this,n=e.instance,c=n.group[n.currIndex].opts.slideShow;e.$button=n.$refs.toolbar.find("[data-fancybox-play]").on("click",(function(){e.toggle()})),n.group.length<2||!c?e.$button.hide():c.progress&&(e.$progress=t('
').appendTo(n.$refs.inner))},set:function(e){var n=this,c=n.instance,r=c.current;r&&(!0===e||r.opts.loop||c.currIndex'},fullScreen:{autoStart:!1}}),t(e).on(n.fullscreenchange,(function(){var e=c.isFullscreen(),n=t.fancybox.getInstance();n&&(n.current&&"image"===n.current.type&&n.isAnimating&&(n.isAnimating=!1,n.update(!0,!0,0),n.isComplete||n.complete()),n.trigger("onFullscreenChange",e),n.$refs.container.toggleClass("fancybox-is-fullscreen",e),n.$refs.toolbar.find("[data-fancybox-fullscreen]").toggleClass("fancybox-button--fsenter",!e).toggleClass("fancybox-button--fsexit",e))}))}t(e).on({"onInit.fb":function(e,t){n?t&&t.group[t.currIndex].opts.fullScreen?(t.$refs.container.on("click.fb-fullscreen","[data-fancybox-fullscreen]",(function(e){e.stopPropagation(),e.preventDefault(),c.toggle()})),t.opts.fullScreen&&!0===t.opts.fullScreen.autoStart&&c.request(),t.FullScreen=c):t&&t.$refs.toolbar.find("[data-fancybox-fullscreen]").hide():t.$refs.toolbar.find("[data-fancybox-fullscreen]").remove()},"afterKeydown.fb":function(e,t,n,c,r){t&&t.FullScreen&&70===r&&(c.preventDefault(),t.FullScreen.toggle())},"beforeClose.fb":function(e,t){t&&t.FullScreen&&t.$refs.container.hasClass("fancybox-is-fullscreen")&&c.exit()}})}(document,jQuery),function(e,t){"use strict";var n="fancybox-thumbs";t.fancybox.defaults=t.extend(!0,{btnTpl:{thumbs:''},thumbs:{autoStart:!1,hideOnClose:!0,parentEl:".fancybox-container",axis:"y"}},t.fancybox.defaults);var c=function(e){this.init(e)};t.extend(c.prototype,{$button:null,$grid:null,$list:null,isVisible:!1,isActive:!1,init:function(e){var t=this,n=e.group,c=0;t.instance=e,t.opts=n[e.currIndex].opts.thumbs,e.Thumbs=t,t.$button=e.$refs.toolbar.find("[data-fancybox-thumbs]");for(var r=0,a=n.length;r1));r++);c>1&&t.opts?(t.$button.removeAttr("style").on("click",(function(){t.toggle()})),t.isActive=!0):t.$button.hide()},create:function(){var e,c=this,r=c.instance,a=c.opts.parentEl,o=[];c.$grid||(c.$grid=t('
').appendTo(r.$refs.container.find(a).addBack().filter(a)),c.$grid.on("click","a",(function(){r.jumpTo(t(this).attr("data-index"))}))),c.$list||(c.$list=t('
').appendTo(c.$grid)),t.each(r.group,(function(t,n){(e=n.thumb)||"image"!==n.type||(e=n.src),o.push('")})),c.$list[0].innerHTML=o.join(""),"x"===c.opts.axis&&c.$list.width(parseInt(c.$grid.css("padding-right"),10)+r.group.length*c.$list.children().eq(0).outerWidth(!0))},focus:function(e){var t,n,c=this,r=c.$list,a=c.$grid;c.instance.current&&(n=(t=r.children().removeClass("fancybox-thumbs-active").filter('[data-index="'+c.instance.current.index+'"]').addClass("fancybox-thumbs-active")).position(),"y"===c.opts.axis&&(n.top<0||n.top>r.height()-t.outerHeight())?r.stop().animate({scrollTop:r.scrollTop()+n.top},e):"x"===c.opts.axis&&(n.lefta.scrollLeft()+(a.width()-t.outerWidth()))&&r.parent().stop().animate({scrollLeft:n.left},e))},update:function(){var e=this;e.instance.$refs.container.toggleClass("fancybox-show-thumbs",this.isVisible),e.isVisible?(e.$grid||e.create(),e.instance.trigger("onThumbsShow"),e.focus(0)):e.$grid&&e.instance.trigger("onThumbsHide"),e.instance.update()},hide:function(){this.isVisible=!1,this.update()},show:function(){this.isVisible=!0,this.update()},toggle:function(){this.isVisible=!this.isVisible,this.update()}}),t(e).on({"onInit.fb":function(e,t){var n;t&&!t.Thumbs&&((n=new c(t)).isActive&&!0===n.opts.autoStart&&n.show())},"beforeShow.fb":function(e,t,n,c){var r=t&&t.Thumbs;r&&r.isVisible&&r.focus(c?0:250)},"afterKeydown.fb":function(e,t,n,c,r){var a=t&&t.Thumbs;a&&a.isActive&&71===r&&(c.preventDefault(),a.toggle())},"beforeClose.fb":function(e,t){var n=t&&t.Thumbs;n&&n.isVisible&&!1!==n.opts.hideOnClose&&n.$grid.hide()}})}(document,jQuery),function(e,t){"use strict";t.extend(!0,t.fancybox.defaults,{btnTpl:{share:''},share:{url:function(e,t){return!e.currentHash&&"inline"!==t.type&&"html"!==t.type&&(t.origSrc||t.src)||window.location},tpl:''}}),t(e).on("click","[data-fancybox-share]",(function(){var e,n,c=t.fancybox.getInstance(),r=c.current||null;r&&("function"===t.type(r.opts.share.url)&&(e=r.opts.share.url.apply(r,[c,r])),n=r.opts.share.tpl.replace(/\{\{media\}\}/g,"image"===r.type?encodeURIComponent(r.src):"").replace(/\{\{url\}\}/g,encodeURIComponent(e)).replace(/\{\{url_raw\}\}/g,function(e){var t={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`","=":"="};return String(e).replace(/[&<>"'`=\/]/g,(function(e){return t[e]}))}(e)).replace(/\{\{descr\}\}/g,c.$caption?encodeURIComponent(c.$caption.text()):""),t.fancybox.open({src:c.translate(c,n),type:"html",opts:{touch:!1,animationEffect:!1,afterLoad:function(e,t){c.$refs.container.one("beforeClose.fb",(function(){e.close(null,0)})),t.$content.find(".fancybox-share__button").click((function(){return window.open(this.href,"Share","width=550, height=450"),!1}))},mobile:{autoFocus:!1}}}))}))}(document,jQuery),function(e,t,n){"use strict";function c(){var t=e.location.hash.substr(1),n=t.split("-"),c=n.length>1&&/^\+?\d+$/.test(n[n.length-1])&&parseInt(n.pop(-1),10)||1;return{hash:t,index:c<1?1:c,gallery:n.join("-")}}function r(e){""!==e.gallery&&n("[data-fancybox='"+n.escapeSelector(e.gallery)+"']").eq(e.index-1).focus().trigger("click.fb-start")}function a(e){var t,n;return!!e&&(""!==(n=(t=e.current?e.current.opts:e.opts).hash||(t.$orig?t.$orig.data("fancybox")||t.$orig.data("fancybox-trigger"):""))&&n)}n.escapeSelector||(n.escapeSelector=function(e){return(e+"").replace(/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,(function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}))}),n((function(){!1!==n.fancybox.defaults.hash&&(n(t).on({"onInit.fb":function(e,t){var n,r;!1!==t.group[t.currIndex].opts.hash&&(n=c(),(r=a(t))&&n.gallery&&r==n.gallery&&(t.currIndex=n.index-1))},"beforeShow.fb":function(n,c,r,o){var i;r&&!1!==r.opts.hash&&(i=a(c))&&(c.currentHash=i+(c.group.length>1?"-"+(r.index+1):""),e.location.hash!=="#"+c.currentHash&&(o&&!c.origHash&&(c.origHash=e.location.hash),c.hashTimer&&clearTimeout(c.hashTimer),c.hashTimer=setTimeout((function(){"replaceState"in e.history?(e.history[o?"pushState":"replaceState"]({},t.title,e.location.pathname+e.location.search+"#"+c.currentHash),o&&(c.hasCreatedHistory=!0)):e.location.hash=c.currentHash,c.hashTimer=null}),300)))},"beforeClose.fb":function(n,c,r){r&&!1!==r.opts.hash&&(clearTimeout(c.hashTimer),c.currentHash&&c.hasCreatedHistory?e.history.back():c.currentHash&&("replaceState"in e.history?e.history.replaceState({},t.title,e.location.pathname+e.location.search+(c.origHash||"")):e.location.hash=c.origHash),c.currentHash=null)}}),n(e).on("hashchange.fb",(function(){var e=c(),t=null;n.each(n(".fancybox-container").get().reverse(),(function(e,c){var r=n(c).data("FancyBox");if(r&&r.currentHash)return t=r,!1})),t?t.currentHash===e.gallery+"-"+e.index||1===e.index&&t.currentHash==e.gallery||(t.currentHash=null,t.close()):""!==e.gallery&&r(e)})),setTimeout((function(){n.fancybox.getInstance()||r(c())}),50))}))}(window,document,jQuery),function(e,t){"use strict";var n=(new Date).getTime();t(e).on({"onInit.fb":function(e,t,c){t.$refs.stage.on("mousewheel DOMMouseScroll wheel MozMousePixelScroll",(function(e){var c=t.current,r=(new Date).getTime();t.group.length<2||!1===c.opts.wheel||"auto"===c.opts.wheel&&"image"!==c.type||(e.preventDefault(),e.stopPropagation(),c.$slide.hasClass("fancybox-animated")||(e=e.originalEvent||e,r-n<250||(n=r,t[(-e.deltaY||-e.deltaX||e.wheelDelta||-e.detail)<0?"next":"previous"]())))}))}})}(document,jQuery),function(e){"function"==typeof define&&define.amd?define(["jquery"],(function(t){return e(t,window,document)})):"object"==typeof exports?module.exports=function(t,n){return t||(t=window),n||(n="undefined"!=typeof window?require("jquery"):require("jquery")(t)),e(n,t,t.document)}:e(jQuery,window,document)}((function(e,t,n,c){function r(t){var n,c,a={};e.each(t,(function(e){(n=e.match(/^([^A-Z]+?)([A-Z])/))&&-1!=="a aa ai ao as b fn i m o s ".indexOf(n[1]+" ")&&(c=e.replace(n[0],n[2].toLowerCase()),a[c]=e,"o"===n[1]&&r(t[e]))})),t._hungarianMap=a}function a(t,n,o){var i;t._hungarianMap||r(t),e.each(n,(function(r){(i=t._hungarianMap[r])===c||!o&&n[i]!==c||("o"===i.charAt(0)?(n[i]||(n[i]={}),e.extend(!0,n[i],n[r]),a(t[i],n[i],o)):n[i]=n[r])}))}function o(e){var t=We.defaults.oLanguage,n=t.sDecimal;if(n&&je(n),e){var c=e.sZeroRecords;!e.sEmptyTable&&c&&"No data available in table"===t.sEmptyTable&&Ae(e,e,"sZeroRecords","sEmptyTable"),!e.sLoadingRecords&&c&&"Loading..."===t.sLoadingRecords&&Ae(e,e,"sZeroRecords","sLoadingRecords"),e.sInfoThousands&&(e.sThousands=e.sInfoThousands),(e=e.sDecimal)&&n!==e&&je(e)}}function i(e){if(lt(e,"ordering","bSort"),lt(e,"orderMulti","bSortMulti"),lt(e,"orderClasses","bSortClasses"),lt(e,"orderCellsTop","bSortCellsTop"),lt(e,"order","aaSorting"),lt(e,"orderFixed","aaSortingFixed"),lt(e,"paging","bPaginate"),lt(e,"pagingType","sPaginationType"),lt(e,"pageLength","iDisplayLength"),lt(e,"searching","bFilter"),"boolean"==typeof e.sScrollX&&(e.sScrollX=e.sScrollX?"100%":""),"boolean"==typeof e.scrollX&&(e.scrollX=e.scrollX?"100%":""),e=e.aoSearchCols)for(var t=0,n=e.length;t").css({position:"fixed",top:0,left:-1*e(t).scrollLeft(),height:1,width:1,overflow:"hidden"}).append(e("
").css({position:"absolute",top:1,left:1,width:100,overflow:"scroll"}).append(e("
").css({width:"100%",height:10}))).appendTo("body"),a=r.children(),o=a.children();c.barWidth=a[0].offsetWidth-a[0].clientWidth,c.bScrollOversize=100===o[0].offsetWidth&&100!==a[0].clientWidth,c.bScrollbarLeft=1!==Math.round(o.offset().left),c.bBounding=!!r[0].getBoundingClientRect().width,r.remove()}e.extend(n.oBrowser,We.__browser),n.oScroll.iBarWidth=We.__browser.barWidth}function u(e,t,n,r,a,o){var i,s=!1;for(n!==c&&(i=n,s=!0);r!==a;)e.hasOwnProperty(r)&&(i=s?t(i,e[r],r,e):e[r],s=!0,r+=o);return i}function f(t,c){var r=We.defaults.column,a=t.aoColumns.length;r=e.extend({},We.models.oColumn,r,{nTh:c||n.createElement("th"),sTitle:r.sTitle?r.sTitle:c?c.innerHTML:"",aDataSort:r.aDataSort?r.aDataSort:[a],mData:r.mData?r.mData:a,idx:a});t.aoColumns.push(r),(r=t.aoPreSearchCols)[a]=e.extend({},We.models.oSearch,r[a]),d(t,a,e(c).data())}function d(t,n,r){n=t.aoColumns[n];var o=t.oClasses,i=e(n.nTh);if(!n.sWidthOrig){n.sWidthOrig=i.attr("width")||null;var l=(i.attr("style")||"").match(/width:\s*(\d+[pxem%]+)/);l&&(n.sWidthOrig=l[1])}r!==c&&null!==r&&(s(r),a(We.defaults.column,r),r.mDataProp!==c&&!r.mData&&(r.mData=r.mDataProp),r.sType&&(n._sManualType=r.sType),r.className&&!r.sClass&&(r.sClass=r.className),r.sClass&&i.addClass(r.sClass),e.extend(n,r),Ae(n,r,"sWidth","sWidthOrig"),r.iDataSort!==c&&(n.aDataSort=[r.iDataSort]),Ae(n,r,"aDataSort"));var u=n.mData,f=L(u),d=n.mRender?L(n.mRender):null;r=function(e){return"string"==typeof e&&-1!==e.indexOf("@")};n._bAttrSrc=e.isPlainObject(u)&&(r(u.sort)||r(u.type)||r(u.filter)),n._setter=null,n.fnGetData=function(e,t,n){var r=f(e,t,c,n);return d&&t?d(r,t,e,n):r},n.fnSetData=function(e,t,n){return w(u)(e,t,n)},"number"!=typeof u&&(t._rowReadObject=!0),t.oFeatures.bSort||(n.bSortable=!1,i.addClass(o.sSortableNone)),t=-1!==e.inArray("asc",n.asSorting),r=-1!==e.inArray("desc",n.asSorting),n.bSortable&&(t||r)?t&&!r?(n.sSortingClass=o.sSortableAsc,n.sSortingClassJUI=o.sSortJUIAscAllowed):!t&&r?(n.sSortingClass=o.sSortableDesc,n.sSortingClassJUI=o.sSortJUIDescAllowed):(n.sSortingClass=o.sSortable,n.sSortingClassJUI=o.sSortJUI):(n.sSortingClass=o.sSortableNone,n.sSortingClassJUI="")}function h(e){if(!1!==e.oFeatures.bAutoWidth){var t=e.aoColumns;pe(e);for(var n=0,c=t.length;nm[i])a(h.length+m[i],d);else if("string"==typeof m[i])for(l=0,u=h.length;lt&&e[a]--;-1!=r&&n===c&&e.splice(r,1)}function S(e,t,n,r){var a,o=e.aoData[t],i=function(n,c){for(;n.childNodes.length;)n.removeChild(n.firstChild);n.innerHTML=H(e,t,c,"display")};if("dom"!==n&&(n&&"auto"!==n||"dom"!==o.src)){var s=o.anCells;if(s)if(r!==c)i(s[r],r);else for(n=0,a=s.length;n").appendTo(i)),n=0,c=f.length;ntr").attr("role","row"),e(i).find(">tr>th, >tr>td").addClass(u.sHeaderTH),e(s).find(">tr>th, >tr>td").addClass(u.sFooterTH),null!==s)for(n=0,c=(t=t.aoFooter[0]).length;n=t.fnRecordsDisplay()?0:s,t.iInitDisplayStart=-1);s=t._iDisplayStart;var f=t.fnDisplayEnd();if(t.bDeferLoading)t.bDeferLoading=!1,t.iDraw++,fe(t,!1);else if(l){if(!t.bDestroying&&!$(t))return}else t.iDraw++;if(0!==u.length)for(i=l?t.aoData.length:f,l=l?0:s;l",{class:o?a[0]:""}).append(e("",{valign:"top",colSpan:g(t),class:t.oClasses.sRowEmpty}).html(r))[0];Ne(t,"aoHeaderCallback","header",[e(t.nTHead).children("tr")[0],_(t),s,f,u]),Ne(t,"aoFooterCallback","footer",[e(t.nTFoot).children("tr")[0],_(t),s,f,u]),(a=e(t.nTBody)).children().detach(),a.append(e(n)),Ne(t,"aoDrawCallback","draw",[t]),t.bSorted=!1,t.bFiltered=!1,t.bDrawing=!1}}function P(e,t){var n=e.oFeatures,c=n.bFilter;n.bSort&&Ce(e),c?Y(e,e.oPreviousSearch):e.aiDisplay=e.aiDisplayMaster.slice(),!0!==t&&(e._iDisplayStart=0),e._drawHold=t,O(e),e._drawHold=!1}function R(t){var n=t.oClasses,c=e(t.nTable),r=(c=e("
").insertBefore(c),t.oFeatures),a=e("
",{id:t.sTableId+"_wrapper",class:n.sWrapper+(t.nTFoot?"":" "+n.sNoFooter)});t.nHolding=c[0],t.nTableWrapper=a[0],t.nTableReinsertBefore=t.nTable.nextSibling;for(var o,i,s,l,u,f,d=t.sDom.split(""),h=0;h")[0],"'"==(l=d[h+1])||'"'==l){for(u="",f=2;d[h+f]!=l;)u+=d[h+f],f++;"H"==u?u=n.sJUIHeader:"F"==u&&(u=n.sJUIFooter),-1!=u.indexOf(".")?(l=u.split("."),s.id=l[0].substr(1,l[0].length-1),s.className=l[1]):"#"==u.charAt(0)?s.id=u.substr(1,u.length-1):s.className=u,h+=f}a.append(s),a=e(s)}else if(">"==i)a=a.parent();else if("l"==i&&r.bPaginate&&r.bLengthChange)o=ie(t);else if("f"==i&&r.bFilter)o=W(t);else if("r"==i&&r.bProcessing)o=ue(t);else if("t"==i)o=de(t);else if("i"==i&&r.bInfo)o=te(t);else if("p"==i&&r.bPaginate)o=se(t);else if(0!==We.ext.feature.length)for(f=0,l=(s=We.ext.feature).length;f',l=(l=a.sSearch).match(/_INPUT_/)?l.replace("_INPUT_",s):l+s,u=(c=e("
",{id:i.f?null:r+"_filter",class:c.sFilter}).append(e("
").addClass(n.sLength);return t.aanFeatures.l||(l[0].id=c+"_length"),l.children().append(t.oLanguage.sLengthMenu.replace("_MENU_",o[0].outerHTML)),e("select",l).val(t._iDisplayLength).on("change.DT",(function(){oe(t,e(this).val()),O(t)})),e(t.nTable).on("length.dt.DT",(function(n,c,r){t===c&&e("select",l).val(r)})),l[0]}function se(t){var n=t.sPaginationType,c=We.ext.pager[n],r="function"==typeof c,a=function(e){O(e)},o=(n=e("
").addClass(t.oClasses.sPaging+n)[0],t.aanFeatures);return r||c.fnInit(t,n,a),o.p||(n.id=t.sTableId+"_paginate",t.aoDrawCallback.push({fn:function(e){if(r){var t,n=e._iDisplayStart,i=e._iDisplayLength,s=e.fnRecordsDisplay(),l=(n=(l=-1===i)?0:Math.ceil(n/i),i=l?1:Math.ceil(s/i),s=c(n,i),0);for(t=o.p.length;la&&(c=0):"first"==t?c=0:"previous"==t?0>(c=0<=r?c-r:0)&&(c=0):"next"==t?c+r",{id:t.aanFeatures.r?null:t.sTableId+"_processing",class:t.oClasses.sProcessing}).html(t.oLanguage.sProcessing).insertBefore(t.nTable)[0]}function fe(t,n){t.oFeatures.bProcessing&&e(t.aanFeatures.r).css("display",n?"block":"none"),Ne(t,null,"processing",[t,n])}function de(t){(f=e(t.nTable)).attr("role","grid");var n=t.oScroll;if(""===n.sX&&""===n.sY)return t.nTable;var c=n.sX,r=n.sY,a=t.oClasses,o=f.children("caption"),i=o.length?o[0]._captionSide:null,s=e(f[0].cloneNode(!1)),l=e(f[0].cloneNode(!1)),u=f.children("tfoot");u.length||(u=null),s=e("
",{class:a.sScrollWrapper}).append(e("
",{class:a.sScrollHead}).css({overflow:"hidden",position:"relative",border:0,width:c?c?ze(c):null:"100%"}).append(e("
",{class:a.sScrollHeadInner}).css({"box-sizing":"content-box",width:n.sXInner||"100%"}).append(s.removeAttr("id").css("margin-left",0).append("top"===i?o:null).append(f.children("thead"))))).append(e("
",{class:a.sScrollBody}).css({position:"relative",overflow:"auto",width:c?ze(c):null}).append(f)),u&&s.append(e("
",{class:a.sScrollFoot}).css({overflow:"hidden",border:0,width:c?c?ze(c):null:"100%"}).append(e("
",{class:a.sScrollFootInner}).append(l.removeAttr("id").css("margin-left",0).append("bottom"===i?o:null).append(f.children("tfoot")))));var f,d=(f=s.children())[0],h=(a=f[1],u?f[2]:null);return c&&e(a).on("scroll.DT",(function(){var e=this.scrollLeft;d.scrollLeft=e,u&&(h.scrollLeft=e)})),e(a).css(r&&n.bCollapse?"max-height":"height",r),t.nScrollHead=d,t.nScrollBody=a,t.nScrollFoot=h,t.aoDrawCallback.push({fn:he,sName:"scrolling"}),s[0]}function he(t){var n,r,a,o,i,s=(f=t.oScroll).sX,l=f.sXInner,u=f.sY,f=f.iBarWidth,d=e(t.nScrollHead),p=d[0].style,g=(b=d.children("div"))[0].style,v=b.children("table"),b=t.nScrollBody,z=e(b),y=b.style,C=e(t.nScrollFoot).children("div"),H=C.children("table"),M=e(t.nTHead),V=e(t.nTable),L=V[0],w=L.style,_=t.nTFoot?e(t.nTFoot):null,x=t.oBrowser,k=x.bScrollOversize,S=rt(t.aoColumns,"nTh"),A=[],T=[],D=[],E=[],N=function(e){(e=e.style).paddingTop="0",e.paddingBottom="0",e.borderTopWidth="0",e.borderBottomWidth="0",e.height=0};r=b.scrollHeight>b.clientHeight,t.scrollBarVis!==r&&t.scrollBarVis!==c?(t.scrollBarVis=r,h(t)):(t.scrollBarVis=r,V.children("thead, tfoot").remove(),_&&(a=_.clone().prependTo(V),n=_.find("tr"),a=a.find("tr")),o=M.clone().prependTo(V),M=M.find("tr"),r=o.find("tr"),o.find("th, td").removeAttr("tabindex"),s||(y.width="100%",d[0].style.width="100%"),e.each(j(t,o),(function(e,n){i=m(t,e),n.style.width=t.aoColumns[i].sWidth})),_&&me((function(e){e.style.width=""}),a),d=V.outerWidth(),""===s?(w.width="100%",k&&(V.find("tbody").height()>b.offsetHeight||"scroll"==z.css("overflow-y"))&&(w.width=ze(V.outerWidth()-f)),d=V.outerWidth()):""!==l&&(w.width=ze(l),d=V.outerWidth()),me(N,r),me((function(t){D.push(t.innerHTML),A.push(ze(e(t).css("width")))}),r),me((function(t,n){-1!==e.inArray(t,S)&&(t.style.width=A[n])}),M),e(r).height(0),_&&(me(N,a),me((function(t){E.push(t.innerHTML),T.push(ze(e(t).css("width")))}),a),me((function(e,t){e.style.width=T[t]}),n),e(a).height(0)),me((function(e,t){e.innerHTML='
'+D[t]+"
",e.childNodes[0].style.height="0",e.childNodes[0].style.overflow="hidden",e.style.width=A[t]}),r),_&&me((function(e,t){e.innerHTML='
'+E[t]+"
",e.childNodes[0].style.height="0",e.childNodes[0].style.overflow="hidden",e.style.width=T[t]}),a),V.outerWidth()b.offsetHeight||"scroll"==z.css("overflow-y")?d+f:d,k&&(b.scrollHeight>b.offsetHeight||"scroll"==z.css("overflow-y"))&&(w.width=ze(n-f)),(""===s||""!==l)&&Se(t,1,"Possible column misalignment",6)):n="100%",y.width=ze(n),p.width=ze(n),_&&(t.nScrollFoot.style.width=ze(n)),!u&&k&&(y.height=ze(L.offsetHeight+f)),s=V.outerWidth(),v[0].style.width=ze(s),g.width=ze(s),l=V.height()>b.clientHeight||"scroll"==z.css("overflow-y"),g[u="padding"+(x.bScrollbarLeft?"Left":"Right")]=l?f+"px":"0px",_&&(H[0].style.width=ze(s),C[0].style.width=ze(s),C[0].style[u]=l?f+"px":"0px"),V.children("colgroup").insertBefore(V.children("thead")),z.scroll(),!t.bSorted&&!t.bFiltered||t._drawHold||(b.scrollTop=0))}function me(e,t,n){for(var c,r,a=0,o=0,i=t.length;o").appendTo(u.find("tbody"));for(u.find("thead, tfoot").remove(),u.append(e(n.nTHead).clone()).append(e(n.nTFoot).clone()),u.find("tfoot th, tfoot td").css("width",""),d=j(n,u.find("thead")[0]),c=0;c").css({width:r.sWidthOrig,margin:0,padding:0,border:0,height:1}));if(n.aoData.length)for(c=0;c").css(s||i?{position:"absolute",top:0,left:0,height:1,right:0,overflow:"hidden"}:{}).append(u).appendTo(b),s&&l?u.width(l):s?(u.css("width","auto"),u.removeAttr("width"),u.width()").css("width",ze(t)).appendTo(c||n.body),a=r[0].offsetWidth;return r.remove(),a}function ve(t,n){var c=be(t,n);if(0>c)return null;var r=t.aoData[c];return r.nTr?r.anCells[n]:e("").html(H(t,c,n,"display"))[0]}function be(e,t){for(var n,c=-1,r=-1,a=0,o=e.aoData.length;ac&&(c=n.length,r=a);return r}function ze(e){return null===e?"0px":"number"==typeof e?0>e?"0px":e+"px":e.match(/\d$/)?e+"px":e}function ye(t){var n,r,a,o,i,s,l=[],u=t.aoColumns;n=t.aaSortingFixed,r=e.isPlainObject(n);var f=[];for(a=function(t){t.length&&!e.isArray(t[0])?f.push(t):e.merge(f,t)},e.isArray(n)&&a(n),r&&n.pre&&a(n.pre),a(t.aaSorting),r&&n.post&&a(n.post),t=0;tc?1:0))return"asc"===s.dir?n:-n;return(n=a[e])<(c=a[t])?-1:n>c?1:0})):l.sort((function(e,t){var n,c,s,l,u=r.length,f=i[e]._aSortData,d=i[t]._aSortData;for(s=0;sc?1:0}))}e.bSorted=!0}function He(e){for(var t,n,c=e.aoColumns,r=ye(e),a=(e=e.oLanguage.oAria,0),o=c.length;a/g,"");var s=n.nTh;s.removeAttribute("aria-sort"),n.bSortable&&(0i?i+1:3));for(i=0,n=o.length;ii?i+1:3))}t.aLastSort=o}function we(e,t){var n,c=e.aoColumns[t],r=We.ext.order[c.sSortDataType];r&&(n=r.call(e.oInstance,e,t,p(e,t)));for(var a,o=We.ext.type.order[c.sType+"-pre"],i=0,s=e.aoData.length;i=i.length?[0,n[1]]:n)}))),n.search!==c&&e.extend(t.oPreviousSearch,ee(n.search)),n.columns)for(a=0,o=n.columns.length;a=n&&(t=n-c),t-=t%c,(-1===c||0>t)&&(t=0),e._iDisplayStart=t}function Pe(t,n){var c=t.renderer,r=We.ext.renderer[n];return e.isPlainObject(c)&&c[n]?r[c[n]]||r._:"string"==typeof c&&r[c]||r._}function Re(e){return e.oFeatures.bServerSide?"ssp":e.ajax||e.sAjaxSource?"ajax":"dom"}function Ie(e,t){var n=[],c=(n=xt.numbers_length,Math.floor(n/2));return t<=n?n=ot(0,t):e<=c?((n=ot(0,n-2)).push("ellipsis"),n.push(t-1)):(e>=t-1-c?n=ot(t-(n-2),t):((n=ot(e-c+2,e+c-1)).push("ellipsis"),n.push(t-1)),n.splice(0,0,"ellipsis"),n.splice(0,0,0)),n.DT_el="span",n}function je(t){e.each({num:function(e){return kt(e,t)},"num-fmt":function(e){return kt(e,t,Ke)},"html-num":function(e){return kt(e,t,Xe)},"html-num-fmt":function(e){return kt(e,t,Xe,Ke)}},(function(e,n){$e.type.order[e+t+"-pre"]=n,e.match(/^html\-/)&&($e.type.search[e+t]=$e.type.search.html)}))}function Be(e){return function(){var t=[ke(this[We.ext.iApiIndex])].concat(Array.prototype.slice.call(arguments));return We.ext.internal[e].apply(this,t)}}var $e,Fe,qe,Ue,We=function(t){this.$=function(e,t){return this.api(!0).$(e,t)},this._=function(e,t){return this.api(!0).rows(e,t).data()},this.api=function(e){return new Fe(e?ke(this[$e.iApiIndex]):this)},this.fnAddData=function(t,n){var r=this.api(!0),a=e.isArray(t)&&(e.isArray(t[0])||e.isPlainObject(t[0]))?r.rows.add(t):r.row.add(t);return(n===c||n)&&r.draw(),a.flatten().toArray()},this.fnAdjustColumnSizing=function(e){var t=this.api(!0).columns.adjust(),n=t.settings()[0],r=n.oScroll;e===c||e?t.draw(!1):(""!==r.sX||""!==r.sY)&&he(n)},this.fnClearTable=function(e){var t=this.api(!0).clear();(e===c||e)&&t.draw()},this.fnClose=function(e){this.api(!0).row(e).child.hide()},this.fnDeleteRow=function(e,t,n){var r=this.api(!0),a=(e=r.rows(e)).settings()[0],o=a.aoData[e[0][0]];return e.remove(),t&&t.call(this,a,o),(n===c||n)&&r.draw(),o},this.fnDestroy=function(e){this.api(!0).destroy(e)},this.fnDraw=function(e){this.api(!0).draw(e)},this.fnFilter=function(e,t,n,r,a,o){a=this.api(!0),null===t||t===c?a.search(e,n,r,o):a.column(t).search(e,n,r,o),a.draw()},this.fnGetData=function(e,t){var n=this.api(!0);if(e!==c){var r=e.nodeName?e.nodeName.toLowerCase():"";return t!==c||"td"==r||"th"==r?n.cell(e,t).data():n.row(e).data()||null}return n.data().toArray()},this.fnGetNodes=function(e){var t=this.api(!0);return e!==c?t.row(e).node():t.rows().nodes().flatten().toArray()},this.fnGetPosition=function(e){var t=this.api(!0),n=e.nodeName.toUpperCase();return"TR"==n?t.row(e).index():"TD"==n||"TH"==n?[(e=t.cell(e).index()).row,e.columnVisible,e.column]:null},this.fnIsOpen=function(e){return this.api(!0).row(e).child.isShown()},this.fnOpen=function(e,t,n){return this.api(!0).row(e).child(t,n).show().child()[0]},this.fnPageChange=function(e,t){var n=this.api(!0).page(e);(t===c||t)&&n.draw(!1)},this.fnSetColumnVis=function(e,t,n){e=this.api(!0).column(e).visible(t),(n===c||n)&&e.columns.adjust().draw()},this.fnSettings=function(){return ke(this[$e.iApiIndex])},this.fnSort=function(e){this.api(!0).order(e).draw()},this.fnSortListener=function(e,t,n){this.api(!0).order.listener(e,t,n)},this.fnUpdate=function(e,t,n,r,a){var o=this.api(!0);return n===c||null===n?o.row(t).data(e):o.cell(t,n).data(e),(a===c||a)&&o.columns.adjust(),(r===c||r)&&o.draw(),0},this.fnVersionCheck=$e.fnVersionCheck;var n=this,r=t===c,u=this.length;for(var h in r&&(t={}),this.oApi=this.internal=$e.internal,We.ext.internal)h&&(this[h]=Be(h));return this.each((function(){var h,m={},p=1").appendTo(H)),_.nTHead=n[0],0===(n=H.children("tbody")).length&&(n=e("").appendTo(H)),_.nTBody=n[0],0===(n=H.children("tfoot")).length&&t.length>0&&(""!==_.oScroll.sX||""!==_.oScroll.sY)&&(n=e("").appendTo(H)),0===n.length||0===n.children().length?H.addClass(x.sNoFooter):n.length>0&&(_.nTFoot=n[0],I(_.aoFooter,_.nTFoot)),p.aaData)for(g=0;g/g,Ge=/^\d{2,4}[\.\/\-]\d{1,2}[\.\/\-]\d{1,2}([T ]{1}\d{1,2}[:\.]\d{2}([\.:]\d{2})?)?$/,Qe=RegExp("(\\/|\\.|\\*|\\+|\\?|\\||\\(|\\)|\\[|\\]|\\{|\\}|\\\\|\\$|\\^|\\-)","g"),Ke=/[',$£€¥%\u2009\u202F\u20BD\u20a9\u20BArfkɃΞ]/gi,Je=function(e){return!e||!0===e||"-"===e},et=function(e){var t=parseInt(e,10);return!isNaN(t)&&isFinite(e)?t:null},tt=function(e,t){return Ye[t]||(Ye[t]=RegExp(dt(t),"g")),"string"==typeof e&&"."!==t?e.replace(/\./g,"").replace(Ye[t],"."):e},nt=function(e,t,n){var c="string"==typeof e;return!!Je(e)||(t&&c&&(e=tt(e,t)),n&&c&&(e=e.replace(Ke,"")),!isNaN(parseFloat(e))&&isFinite(e))},ct=function(e,t,n){return!!Je(e)||((Je(e)||"string"==typeof e)&&!!nt(e.replace(Xe,""),t,n)||null)},rt=function(e,t,n){var r=[],a=0,o=e.length;if(n!==c)for(;ae.length))for(var n=(t=e.slice().sort())[0],c=1,r=t.length;c")[0],mt=ht.textContent!==c,pt=/<.*?>/g,gt=We.util.throttle,vt=[],bt=Array.prototype;Fe=function(t,n){if(!(this instanceof Fe))return new Fe(t,n);var c=[],r=function(t){(t=function(t){var n,c,r=We.settings,a=e.map(r,(function(e){return e.nTable}));return t?t.nTable&&t.oApi?[t]:t.nodeName&&"table"===t.nodeName.toLowerCase()?-1!==(n=e.inArray(t,a))?[r[n]]:null:t&&"function"==typeof t.settings?t.settings().toArray():("string"==typeof t?c=e(t):t instanceof e&&(c=t),c?c.map((function(){return-1!==(n=e.inArray(this,a))?r[n]:null})).toArray():void 0):[]}(t))&&(c=c.concat(t))};if(e.isArray(t))for(var a=0,o=t.length;ae?new Fe(t[e],this[e]):null},filter:function(e){var t=[];if(bt.filter)t=bt.filter.call(this,e,this);else for(var n=0,c=this.length;n").addClass(n),e("td",c).addClass(n).html(t)[0].colSpan=g(a),o.push(c[0]))};i(t,n),r._details&&r._details.detach(),r._details=e(o),r._detailsShow&&r._details.insertAfter(r.nTr)}return this})),qe(["row().child.show()","row().child().show()"],(function(){return Lt(this,!0),this})),qe(["row().child.hide()","row().child().hide()"],(function(){return Lt(this,!1),this})),qe(["row().child.remove()","row().child().remove()"],(function(){return Vt(this),this})),qe("row().child.isShown()",(function(){var e=this.context;return e.length&&this.length&&e[0].aoData[this[0]]._detailsShow||!1}));var wt=/^([^:]+):(name|visIdx|visible)$/,_t=function(e,t,n,c,r){n=[],c=0;for(var a=r.length;c=0?n:o.length+n];if("function"==typeof t){var r=Mt(c,a);return e.map(o,(function(e,n){return t(n,_t(c,n,0,0,r),s[n])?n:null}))}var l="string"==typeof t?t.match(wt):"";if(l)switch(l[2]){case"visIdx":case"visible":if((n=parseInt(l[1],10))<0){var u=e.map(o,(function(e,t){return e.bVisible?t:null}));return[u[u.length+n]]}return[m(c,n)];case"name":return e.map(i,(function(e,t){return e===l[1]?t:null}));default:return[]}return t.nodeName&&t._DT_CellIndex?[t._DT_CellIndex.column]:(n=e(s).filter(t).map((function(){return e.inArray(this,s)})).toArray()).length||!t.nodeName?n:(n=e(t).closest("*[data-dt-column]")).length?[n.data("dt-column")]:[]}),c,a)}),1);return r.selector.cols=t,r.selector.opts=n,r})),Ue("columns().header()","column().header()",(function(){return this.iterator("column",(function(e,t){return e.aoColumns[t].nTh}),1)})),Ue("columns().footer()","column().footer()",(function(){return this.iterator("column",(function(e,t){return e.aoColumns[t].nTf}),1)})),Ue("columns().data()","column().data()",(function(){return this.iterator("column-rows",_t,1)})),Ue("columns().dataSrc()","column().dataSrc()",(function(){return this.iterator("column",(function(e,t){return e.aoColumns[t].mData}),1)})),Ue("columns().cache()","column().cache()",(function(e){return this.iterator("column-rows",(function(t,n,c,r,a){return at(t.aoData,a,"search"===e?"_aFilterData":"_aSortData",n)}),1)})),Ue("columns().nodes()","column().nodes()",(function(){return this.iterator("column-rows",(function(e,t,n,c,r){return at(e.aoData,r,"anCells",t)}),1)})),Ue("columns().visible()","column().visible()",(function(t,n){var r=this.iterator("column",(function(n,r){if(t===c)return n.aoColumns[r].bVisible;var a,o,i,s=n.aoColumns,l=s[r],u=n.aoData;if(t!==c&&l.bVisible!==t){if(t){var f=e.inArray(!0,rt(s,"bVisible"),r+1);for(a=0,o=u.length;an;return!0},We.isDataTable=We.fnIsDataTable=function(t){var n=e(t).get(0),c=!1;return t instanceof We.Api||(e.each(We.settings,(function(t,r){var a=r.nScrollHead?e("table",r.nScrollHead)[0]:null,o=r.nScrollFoot?e("table",r.nScrollFoot)[0]:null;r.nTable!==n&&a!==n&&o!==n||(c=!0)})),c)},We.tables=We.fnTables=function(t){var n=!1;e.isPlainObject(t)&&(n=t.api,t=t.visible);var c=e.map(We.settings,(function(n){if(!t||t&&e(n.nTable).is(":visible"))return n.nTable}));return n?new Fe(c):c},We.camelToHungarian=a,qe("$()",(function(t,n){var c=this.rows(n).nodes();c=e(c);return e([].concat(c.filter(t).toArray(),c.find(t).toArray()))})),e.each(["on","one","off"],(function(t,n){qe(n+"()",(function(){var t=Array.prototype.slice.call(arguments);t[0]=e.map(t[0].split(/\s/),(function(e){return e.match(/\.dt\b/)?e:e+".dt"})).join(" ");var c=e(this.tables().nodes());return c[n].apply(c,t),this}))})),qe("clear()",(function(){return this.iterator("table",(function(e){x(e)}))})),qe("settings()",(function(){return new Fe(this.context,this.context)})),qe("init()",(function(){var e=this.context;return e.length?e[0].oInit:null})),qe("data()",(function(){return this.iterator("table",(function(e){return rt(e.aoData,"_aData")})).flatten()})),qe("destroy()",(function(n){return n=n||!1,this.iterator("table",(function(c){var r,a=c.nTableWrapper.parentNode,o=c.oClasses,i=c.nTable,s=c.nTBody,l=c.nTHead,u=c.nTFoot,f=e(i),d=(s=e(s),e(c.nTableWrapper)),h=e.map(c.aoData,(function(e){return e.nTr}));c.bDestroying=!0,Ne(c,"aoDestroyCallback","destroy",[c]),n||new Fe(c).columns().visible(!0),d.off(".DT").find(":not(tbody *)").off(".DT"),e(t).off(".DT-"+c.sInstance),i!=l.parentNode&&(f.children("thead").detach(),f.append(l)),u&&i!=u.parentNode&&(f.children("tfoot").detach(),f.append(u)),c.aaSorting=[],c.aaSortingFixed=[],Le(c),e(h).removeClass(c.asStripeClasses.join(" ")),e("th, td",l).removeClass(o.sSortable+" "+o.sSortableAsc+" "+o.sSortableDesc+" "+o.sSortableNone),s.children().detach(),s.append(h),f[l=n?"remove":"detach"](),d[l](),!n&&a&&(a.insertBefore(i,c.nTableReinsertBefore),f.css("width",c.sDestroyWidth).removeClass(o.sTable),(r=c.asDestroyStripes.length)&&s.children().each((function(t){e(this).addClass(c.asDestroyStripes[t%r])}))),-1!==(a=e.inArray(c,We.settings))&&We.settings.splice(a,1)}))})),e.each(["column","row","cell"],(function(e,t){qe(t+"s().every()",(function(e){var n=this.selector.opts,r=this;return this.iterator(t,(function(a,o,i,s,l){e.call(r[t](o,"cell"===t?i:n,"cell"===t?n:c),o,i,s,l)}))}))})),qe("i18n()",(function(t,n,r){var a=this.context[0];return(t=L(t)(a.oLanguage))===c&&(t=n),r!==c&&e.isPlainObject(t)&&(t=t[r]!==c?t[r]:t._),t.replace("%d",r)})),We.version="1.10.18",We.settings=[],We.models={},We.models.oSearch={bCaseInsensitive:!0,sSearch:"",bRegex:!1,bSmart:!0},We.models.oRow={nTr:null,anCells:null,_aData:[],_aSortData:null,_aFilterData:null,_sFilterRow:null,_sRowStripe:"",src:null,idx:-1},We.models.oColumn={idx:null,aDataSort:null,asSorting:null,bSearchable:null,bSortable:null,bVisible:null,_sManualType:null,_bAttrSrc:!1,fnCreatedCell:null,fnGetData:null,fnSetData:null,mData:null,mRender:null,nTh:null,nTf:null,sClass:null,sContentPadding:null,sDefaultContent:null,sName:null,sSortDataType:"std",sSortingClass:null,sSortingClassJUI:null,sTitle:null,sType:null,sWidth:null,sWidthOrig:null},We.defaults={aaData:null,aaSorting:[[0,"asc"]],aaSortingFixed:[],ajax:null,aLengthMenu:[10,25,50,100],aoColumns:null,aoColumnDefs:null,aoSearchCols:[],asStripeClasses:null,bAutoWidth:!0,bDeferRender:!1,bDestroy:!1,bFilter:!0,bInfo:!0,bLengthChange:!0,bPaginate:!0,bProcessing:!1,bRetrieve:!1,bScrollCollapse:!1,bServerSide:!1,bSort:!0,bSortMulti:!0,bSortCellsTop:!1,bSortClasses:!0,bStateSave:!1,fnCreatedRow:null,fnDrawCallback:null,fnFooterCallback:null,fnFormatNumber:function(e){return e.toString().replace(/\B(?=(\d{3})+(?!\d))/g,this.oLanguage.sThousands)},fnHeaderCallback:null,fnInfoCallback:null,fnInitComplete:null,fnPreDrawCallback:null,fnRowCallback:null,fnServerData:null,fnServerParams:null,fnStateLoadCallback:function(e){try{return JSON.parse((-1===e.iStateDuration?sessionStorage:localStorage).getItem("DataTables_"+e.sInstance+"_"+location.pathname))}catch(e){}},fnStateLoadParams:null,fnStateLoaded:null,fnStateSaveCallback:function(e,t){try{(-1===e.iStateDuration?sessionStorage:localStorage).setItem("DataTables_"+e.sInstance+"_"+location.pathname,JSON.stringify(t))}catch(e){}},fnStateSaveParams:null,iStateDuration:7200,iDeferLoading:null,iDisplayLength:10,iDisplayStart:0,iTabIndex:0,oClasses:{},oLanguage:{oAria:{sSortAscending:": activate to sort column ascending",sSortDescending:": activate to sort column descending"},oPaginate:{sFirst:"First",sLast:"Last",sNext:"Next",sPrevious:"Previous"},sEmptyTable:"No data available in table",sInfo:"Showing _START_ to _END_ of _TOTAL_ entries",sInfoEmpty:"Showing 0 to 0 of 0 entries",sInfoFiltered:"(filtered from _MAX_ total entries)",sInfoPostFix:"",sDecimal:"",sThousands:",",sLengthMenu:"Show _MENU_ entries",sLoadingRecords:"Loading...",sProcessing:"Processing...",sSearch:"Search:",sSearchPlaceholder:"",sUrl:"",sZeroRecords:"No matching records found"},oSearch:e.extend({},We.models.oSearch),sAjaxDataProp:"data",sAjaxSource:null,sDom:"lfrtip",searchDelay:null,sPaginationType:"simple_numbers",sScrollX:"",sScrollXInner:"",sScrollY:"",sServerMethod:"GET",renderer:null,rowId:"DT_RowId"},r(We.defaults),We.defaults.column={aDataSort:null,iDataSort:-1,asSorting:["asc","desc"],bSearchable:!0,bSortable:!0,bVisible:!0,fnCreatedCell:null,mData:null,mRender:null,sCellType:"td",sClass:"",sContentPadding:"",sDefaultContent:null,sName:"",sSortDataType:"std",sTitle:null,sType:null,sWidth:null},r(We.defaults.column),We.models.oSettings={oFeatures:{bAutoWidth:null,bDeferRender:null,bFilter:null,bInfo:null,bLengthChange:null,bPaginate:null,bProcessing:null,bServerSide:null,bSort:null,bSortMulti:null,bSortClasses:null,bStateSave:null},oScroll:{bCollapse:null,iBarWidth:0,sX:null,sXInner:null,sY:null},oLanguage:{fnInfoCallback:null},oBrowser:{bScrollOversize:!1,bScrollbarLeft:!1,bBounding:!1,barWidth:0},ajax:null,aanFeatures:[],aoData:[],aiDisplay:[],aiDisplayMaster:[],aIds:{},aoColumns:[],aoHeader:[],aoFooter:[],oPreviousSearch:{},aoPreSearchCols:[],aaSorting:null,aaSortingFixed:[],asStripeClasses:null,asDestroyStripes:[],sDestroyWidth:0,aoRowCallback:[],aoHeaderCallback:[],aoFooterCallback:[],aoDrawCallback:[],aoRowCreatedCallback:[],aoPreDrawCallback:[],aoInitComplete:[],aoStateSaveParams:[],aoStateLoadParams:[],aoStateLoaded:[],sTableId:"",nTable:null,nTHead:null,nTFoot:null,nTBody:null,nTableWrapper:null,bDeferLoading:!1,bInitialised:!1,aoOpenRows:[],sDom:null,searchDelay:null,sPaginationType:"two_button",iStateDuration:0,aoStateSave:[],aoStateLoad:[],oSavedState:null,oLoadedState:null,sAjaxSource:null,sAjaxDataProp:null,bAjaxDataGet:!0,jqXHR:null,json:c,oAjaxData:c,fnServerData:null,aoServerParams:[],sServerMethod:null,fnFormatNumber:null,aLengthMenu:null,iDraw:0,bDrawing:!1,iDrawError:-1,_iDisplayLength:10,_iDisplayStart:0,_iRecordsTotal:0,_iRecordsDisplay:0,oClasses:{},bFiltered:!1,bSorted:!1,bSortCellsTop:null,oInit:null,aoDestroyCallback:[],fnRecordsTotal:function(){return"ssp"==Re(this)?1*this._iRecordsTotal:this.aiDisplayMaster.length},fnRecordsDisplay:function(){return"ssp"==Re(this)?1*this._iRecordsDisplay:this.aiDisplay.length},fnDisplayEnd:function(){var e=this._iDisplayLength,t=this._iDisplayStart,n=t+e,c=this.aiDisplay.length,r=this.oFeatures,a=r.bPaginate;return r.bServerSide?!1===a||-1===e?t+c:Math.min(t+e,this._iRecordsDisplay):!a||n>c||-1===e?c:n},oInstance:null,sInstance:null,iTabIndex:0,nScrollHead:null,nScrollFoot:null,aLastSort:[],oPlugins:{},rowIdFn:null,rowId:null},We.ext=$e={buttons:{},classes:{},builder:"-source-",errMode:"alert",feature:[],search:[],selector:{cell:[],column:[],row:[]},internal:{},legacy:{ajax:null},pager:{},renderer:{pageButton:{},header:{}},order:{},type:{detect:[],search:{},order:{}},_unique:0,fnVersionCheck:We.fnVersionCheck,iApiIndex:0,oJUIClasses:{},sVersion:We.version},e.extend($e,{afnFiltering:$e.search,aTypes:$e.type.detect,ofnSearch:$e.type.search,oSort:$e.type.order,afnSortData:$e.order,aoFeatures:$e.feature,oApi:$e.internal,oStdClasses:$e.classes,oPagination:$e.pager}),e.extend(We.ext.classes,{sTable:"dataTable",sNoFooter:"no-footer",sPageButton:"paginate_button",sPageButtonActive:"current",sPageButtonDisabled:"disabled",sStripeOdd:"odd",sStripeEven:"even",sRowEmpty:"dataTables_empty",sWrapper:"dataTables_wrapper",sFilter:"dataTables_filter",sInfo:"dataTables_info",sPaging:"dataTables_paginate paging_",sLength:"dataTables_length",sProcessing:"dataTables_processing",sSortAsc:"sorting_asc",sSortDesc:"sorting_desc",sSortable:"sorting",sSortableAsc:"sorting_asc_disabled",sSortableDesc:"sorting_desc_disabled",sSortableNone:"sorting_disabled",sSortColumn:"sorting_",sFilterInput:"",sLengthSelect:"",sScrollWrapper:"dataTables_scroll",sScrollHead:"dataTables_scrollHead",sScrollHeadInner:"dataTables_scrollHeadInner",sScrollBody:"dataTables_scrollBody",sScrollFoot:"dataTables_scrollFoot",sScrollFootInner:"dataTables_scrollFootInner",sHeaderTH:"",sFooterTH:"",sSortJUIAsc:"",sSortJUIDesc:"",sSortJUI:"",sSortJUIAscAllowed:"",sSortJUIDescAllowed:"",sSortJUIWrapper:"",sSortIcon:"",sJUIHeader:"",sJUIFooter:""});var xt=We.ext.pager;e.extend(xt,{simple:function(){return["previous","next"]},full:function(){return["first","previous","next","last"]},numbers:function(e,t){return[Ie(e,t)]},simple_numbers:function(e,t){return["previous",Ie(e,t),"next"]},full_numbers:function(e,t){return["first","previous",Ie(e,t),"next","last"]},first_last_numbers:function(e,t){return["first",Ie(e,t),"last"]},_numbers:Ie,numbers_length:7}),e.extend(!0,We.ext.renderer,{pageButton:{_:function(t,r,a,o,i,s){var l,u,f,d=t.oClasses,h=t.oLanguage.oPaginate,m=t.oLanguage.oAria.paginate||{},p=0,g=function(n,c){var r,o,f,v,b=function(e){le(t,e.data.action,!0)};for(r=0,o=c.length;r").appendTo(n),g(f,v);else{switch(l=null,u="",v){case"ellipsis":n.append('');break;case"first":l=h.sFirst,u=v+(i>0?"":" "+d.sPageButtonDisabled);break;case"previous":l=h.sPrevious,u=v+(i>0?"":" "+d.sPageButtonDisabled);break;case"next":l=h.sNext,u=v+(i",{class:d.sPageButton+" "+u,"aria-controls":t.sTableId,"aria-label":m[v],"data-dt-idx":p,tabindex:t.iTabIndex,id:0===a&&"string"==typeof v?t.sTableId+"_"+v:null}).html(l).appendTo(n),{action:v},b),p++)}};try{f=e(r).find(n.activeElement).data("dt-idx")}catch(e){}g(e(r).empty(),o),f!==c&&e(r).find("[data-dt-idx="+f+"]").focus()}}}),e.extend(We.ext.type.detect,[function(e,t){var n=t.oLanguage.sDecimal;return nt(e,n)?"num"+n:null},function(e){if(e&&!(e instanceof Date)&&!Ge.test(e))return null;var t=Date.parse(e);return null!==t&&!isNaN(t)||Je(e)?"date":null},function(e,t){var n=t.oLanguage.sDecimal;return nt(e,n,!0)?"num-fmt"+n:null},function(e,t){var n=t.oLanguage.sDecimal;return ct(e,n)?"html-num"+n:null},function(e,t){var n=t.oLanguage.sDecimal;return ct(e,n,!0)?"html-num-fmt"+n:null},function(e){return Je(e)||"string"==typeof e&&-1!==e.indexOf("<")?"html":null}]),e.extend(We.ext.type.search,{html:function(e){return Je(e)?e:"string"==typeof e?e.replace(Ze," ").replace(Xe,""):""},string:function(e){return Je(e)?e:"string"==typeof e?e.replace(Ze," "):e}});var kt=function(e,t,n,c){return 0===e||e&&"-"!==e?(t&&(e=tt(e,t)),e.replace&&(n&&(e=e.replace(n,"")),c&&(e=e.replace(c,""))),1*e):-1/0};e.extend($e.type.order,{"date-pre":function(e){return e=Date.parse(e),isNaN(e)?-1/0:e},"html-pre":function(e){return Je(e)?"":e.replace?e.replace(/<.*?>/g,"").toLowerCase():e+""},"string-pre":function(e){return Je(e)?"":"string"==typeof e?e.toLowerCase():e.toString?e.toString():""},"string-asc":function(e,t){return et?1:0},"string-desc":function(e,t){return et?-1:0}}),je(""),e.extend(!0,We.ext.renderer,{header:{_:function(t,n,c,r){e(t.nTable).on("order.dt.DT",(function(e,a,o,i){t===a&&(e=c.idx,n.removeClass(c.sSortingClass+" "+r.sSortAsc+" "+r.sSortDesc).addClass("asc"==i[e]?r.sSortAsc:"desc"==i[e]?r.sSortDesc:c.sSortingClass))}))},jqueryui:function(t,n,c,r){e("
").addClass(r.sSortJUIWrapper).append(n.contents()).append(e("").addClass(r.sSortIcon+" "+c.sSortingClassJUI)).appendTo(n),e(t.nTable).on("order.dt.DT",(function(e,a,o,i){t===a&&(e=c.idx,n.removeClass(r.sSortAsc+" "+r.sSortDesc).addClass("asc"==i[e]?r.sSortAsc:"desc"==i[e]?r.sSortDesc:c.sSortingClass),n.find("span."+r.sSortIcon).removeClass(r.sSortJUIAsc+" "+r.sSortJUIDesc+" "+r.sSortJUI+" "+r.sSortJUIAscAllowed+" "+r.sSortJUIDescAllowed).addClass("asc"==i[e]?r.sSortJUIAsc:"desc"==i[e]?r.sSortJUIDesc:c.sSortingClassJUI))}))}}});var St=function(e){return"string"==typeof e?e.replace(//g,">").replace(/"/g,"""):e};return We.render={number:function(e,t,n,c,r){return{display:function(a){if("number"!=typeof a&&"string"!=typeof a)return a;var o=0>a?"-":"",i=parseFloat(a);return isNaN(i)?St(a):(i=i.toFixed(n),a=Math.abs(i),i=parseInt(a,10),a=n?t+(a-i).toFixed(n).substring(2):"",o+(c||"")+i.toString().replace(/\B(?=(\d{3})+(?!\d))/g,e)+a+(r||""))}}},text:function(){return{display:St}}},e.extend(We.ext.internal,{_fnExternApiFunc:Be,_fnBuildAjax:B,_fnAjaxUpdate:$,_fnAjaxParameters:F,_fnAjaxUpdateDraw:q,_fnAjaxDataSrc:U,_fnAddColumn:f,_fnColumnOptions:d,_fnAdjustColumnSizing:h,_fnVisibleToColumnIndex:m,_fnColumnIndexToVisible:p,_fnVisbleColumns:g,_fnGetColumns:v,_fnColumnTypes:b,_fnApplyColumnDefs:z,_fnHungarianMap:r,_fnCamelToHungarian:a,_fnLanguageCompat:o,_fnBrowserDetect:l,_fnAddData:y,_fnAddTr:C,_fnNodeToDataIndex:function(e,t){return t._DT_RowIndex!==c?t._DT_RowIndex:null},_fnNodeToColumnIndex:function(t,n,c){return e.inArray(c,t.aoData[n].anCells)},_fnGetCellData:H,_fnSetCellData:M,_fnSplitObjNotation:V,_fnGetObjectDataFn:L,_fnSetObjectDataFn:w,_fnGetDataMaster:_,_fnClearTable:x,_fnDeleteIndex:k,_fnInvalidate:S,_fnGetRowElements:A,_fnCreateTr:T,_fnBuildHead:E,_fnDrawHead:N,_fnDraw:O,_fnReDraw:P,_fnAddOptionsHtml:R,_fnDetectHeader:I,_fnGetUniqueThs:j,_fnFeatureHtmlFilter:W,_fnFilterComplete:Y,_fnFilterCustom:Z,_fnFilterColumn:X,_fnFilter:G,_fnFilterCreateSearch:Q,_fnEscapeRegex:dt,_fnFilterData:K,_fnFeatureHtmlInfo:te,_fnUpdateInfo:ne,_fnInfoMacros:ce,_fnInitialise:re,_fnInitComplete:ae,_fnLengthChange:oe,_fnFeatureHtmlLength:ie,_fnFeatureHtmlPaginate:se,_fnPageChange:le,_fnFeatureHtmlProcessing:ue,_fnProcessingDisplay:fe,_fnFeatureHtmlTable:de,_fnScrollDraw:he,_fnApplyToChildren:me,_fnCalculateColumnWidths:pe,_fnThrottle:gt,_fnConvertToWidth:ge,_fnGetWidestNode:ve,_fnGetMaxLenString:be,_fnStringToCss:ze,_fnSortFlatten:ye,_fnSort:Ce,_fnSortAria:He,_fnSortListener:Me,_fnSortAttachListener:Ve,_fnSortingClasses:Le,_fnSortData:we,_fnSaveState:_e,_fnLoadState:xe,_fnSettingsFromNode:ke,_fnLog:Se,_fnMap:Ae,_fnBindAction:De,_fnCallbackReg:Ee,_fnCallbackFire:Ne,_fnLengthOverflow:Oe,_fnRenderer:Pe,_fnDataSource:Re,_fnRowAttributes:D,_fnExtend:Te,_fnCalculateEnd:function(){}}),e.fn.dataTable=We,We.$=e,e.fn.dataTableSettings=We.settings,e.fn.dataTableExt=We.ext,e.fn.DataTable=function(t){return e(this).dataTable(t).api()},e.each(We,(function(t,n){e.fn.DataTable[t]=n})),e.fn.dataTable})),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):e("object"==typeof exports?require("jquery"):jQuery)}((function(e,t){function n(){return new Date(Date.UTC.apply(Date,arguments))}function c(){var e=new Date;return n(e.getFullYear(),e.getMonth(),e.getDate())}function r(e,t){return e.getUTCFullYear()===t.getUTCFullYear()&&e.getUTCMonth()===t.getUTCMonth()&&e.getUTCDate()===t.getUTCDate()}function a(n,c){return function(){return c!==t&&e.fn.datepicker.deprecated(c),this[n].apply(this,arguments)}}function o(t){var n={};if(m[t]||(t=t.split("-")[0],m[t])){var c=m[t];return e.each(h,(function(e,t){t in c&&(n[t]=c[t])})),n}}var i=function(){var t={get:function(e){return this.slice(e)[0]},contains:function(e){for(var t=e&&e.valueOf(),n=0,c=this.length;n]/g)||[]).length<=0||e(n).length>0)}catch(e){return!1}},_process_options:function(t){this._o=e.extend({},this._o,t);var r=this.o=e.extend({},this._o),a=r.language;m[a]||(a=a.split("-")[0],m[a]||(a=d.language)),r.language=a,r.startView=this._resolveViewName(r.startView),r.minViewMode=this._resolveViewName(r.minViewMode),r.maxViewMode=this._resolveViewName(r.maxViewMode),r.startView=Math.max(this.o.minViewMode,Math.min(this.o.maxViewMode,r.startView)),!0!==r.multidate&&(r.multidate=Number(r.multidate)||!1,!1!==r.multidate&&(r.multidate=Math.max(0,r.multidate))),r.multidateSeparator=String(r.multidateSeparator),r.weekStart%=7,r.weekEnd=(r.weekStart+6)%7;var o=p.parseFormat(r.format);r.startDate!==-1/0&&(r.startDate?r.startDate instanceof Date?r.startDate=this._local_to_utc(this._zero_time(r.startDate)):r.startDate=p.parseDate(r.startDate,o,r.language,r.assumeNearbyYear):r.startDate=-1/0),r.endDate!==1/0&&(r.endDate?r.endDate instanceof Date?r.endDate=this._local_to_utc(this._zero_time(r.endDate)):r.endDate=p.parseDate(r.endDate,o,r.language,r.assumeNearbyYear):r.endDate=1/0),r.daysOfWeekDisabled=this._resolveDaysOfWeek(r.daysOfWeekDisabled||[]),r.daysOfWeekHighlighted=this._resolveDaysOfWeek(r.daysOfWeekHighlighted||[]),r.datesDisabled=r.datesDisabled||[],e.isArray(r.datesDisabled)||(r.datesDisabled=r.datesDisabled.split(",")),r.datesDisabled=e.map(r.datesDisabled,(function(e){return p.parseDate(e,o,r.language,r.assumeNearbyYear)}));var i=String(r.orientation).toLowerCase().split(/\s+/g),s=r.orientation.toLowerCase();if(i=e.grep(i,(function(e){return/^auto|left|right|top|bottom$/.test(e)})),r.orientation={x:"auto",y:"auto"},s&&"auto"!==s)if(1===i.length)switch(i[0]){case"top":case"bottom":r.orientation.y=i[0];break;case"left":case"right":r.orientation.x=i[0]}else s=e.grep(i,(function(e){return/^left|right$/.test(e)})),r.orientation.x=s[0]||"auto",s=e.grep(i,(function(e){return/^top|bottom$/.test(e)})),r.orientation.y=s[0]||"auto";if(r.defaultViewDate instanceof Date||"string"==typeof r.defaultViewDate)r.defaultViewDate=p.parseDate(r.defaultViewDate,o,r.language,r.assumeNearbyYear);else if(r.defaultViewDate){var l=r.defaultViewDate.year||(new Date).getFullYear(),u=r.defaultViewDate.month||0,f=r.defaultViewDate.day||1;r.defaultViewDate=n(l,u,f)}else r.defaultViewDate=c()},_applyEvents:function(e){for(var n,c,r,a=0;ar?(this.picker.addClass("datepicker-orient-right"),d+=f-t):this.o.rtl?this.picker.addClass("datepicker-orient-right"):this.picker.addClass("datepicker-orient-left");var m=this.o.orientation.y;if("auto"===m&&(m=-a+h-n<0?"bottom":"top"),this.picker.addClass("datepicker-orient-"+m),"top"===m?h-=n+parseInt(this.picker.css("padding-top")):h+=u,this.o.rtl){var p=r-(d+f);this.picker.css({top:h,right:p,zIndex:s})}else this.picker.css({top:h,left:d,zIndex:s});return this},_allow_update:!0,update:function(){if(!this._allow_update)return this;var t=this.dates.copy(),n=[],c=!1;return arguments.length?(e.each(arguments,e.proxy((function(e,t){t instanceof Date&&(t=this._local_to_utc(t)),n.push(t)}),this)),c=!0):(n=(n=this.isInput?this.element.val():this.element.data("date")||this.inputField.val())&&this.o.multidate?n.split(this.o.multidateSeparator):[n],delete this.element.data().date),n=e.map(n,e.proxy((function(e){return p.parseDate(e,this.o.format,this.o.language,this.o.assumeNearbyYear)}),this)),n=e.grep(n,e.proxy((function(e){return!this.dateWithinRange(e)||!e}),this),!0),this.dates.replace(n),this.o.updateViewDate&&(this.dates.length?this.viewDate=new Date(this.dates.get(-1)):this.viewDatethis.o.endDate?this.viewDate=new Date(this.o.endDate):this.viewDate=this.o.defaultViewDate),c?(this.setValue(),this.element.change()):this.dates.length&&String(t)!==String(this.dates)&&c&&(this._trigger("changeDate"),this.element.change()),!this.dates.length&&t.length&&(this._trigger("clearDate"),this.element.change()),this.fill(),this},fillDow:function(){if(this.o.showWeekDays){var t=this.o.weekStart,n="";for(this.o.calendarWeeks&&(n+=' ');t";n+="",this.picker.find(".datepicker-days thead").append(n)}},fillMonths:function(){for(var e=this._utc_to_local(this.viewDate),t="",n=0;n<12;n++)t+=''+m[this.o.language].monthsShort[n]+"";this.picker.find(".datepicker-months td").html(t)},setRange:function(t){t&&t.length?this.range=e.map(t,(function(e){return e.valueOf()})):delete this.range,this.fill()},getClassNames:function(t){var n=[],a=this.viewDate.getUTCFullYear(),o=this.viewDate.getUTCMonth(),i=c();return t.getUTCFullYear()a||t.getUTCFullYear()===a&&t.getUTCMonth()>o)&&n.push("new"),this.focusDate&&t.valueOf()===this.focusDate.valueOf()&&n.push("focused"),this.o.todayHighlight&&r(t,i)&&n.push("today"),-1!==this.dates.contains(t)&&n.push("active"),this.dateWithinRange(t)||n.push("disabled"),this.dateIsDisabled(t)&&n.push("disabled","disabled-date"),-1!==e.inArray(t.getUTCDay(),this.o.daysOfWeekHighlighted)&&n.push("highlighted"),this.range&&(t>this.range[0]&&ti)&&l.push("disabled"),z===v&&l.push("focused"),s!==e.noop&&((f=s(new Date(z,0,1)))===t?f={}:"boolean"==typeof f?f={enabled:f}:"string"==typeof f&&(f={classes:f}),!1===f.enabled&&l.push("disabled"),f.classes&&(l=l.concat(f.classes.split(/\s+/))),f.tooltip&&(u=f.tooltip)),d+='"+z+"";m.find(".datepicker-switch").text(p+"-"+g),m.find("td").html(d)},fill:function(){var r,a,o=new Date(this.viewDate),i=o.getUTCFullYear(),s=o.getUTCMonth(),l=this.o.startDate!==-1/0?this.o.startDate.getUTCFullYear():-1/0,u=this.o.startDate!==-1/0?this.o.startDate.getUTCMonth():-1/0,f=this.o.endDate!==1/0?this.o.endDate.getUTCFullYear():1/0,d=this.o.endDate!==1/0?this.o.endDate.getUTCMonth():1/0,h=m[this.o.language].today||m.en.today||"",g=m[this.o.language].clear||m.en.clear||"",v=m[this.o.language].titleFormat||m.en.titleFormat,b=c(),z=(!0===this.o.todayBtn||"linked"===this.o.todayBtn)&&b>=this.o.startDate&&b<=this.o.endDate&&!this.weekOfDateIsDisabled(b);if(!isNaN(i)&&!isNaN(s)){this.picker.find(".datepicker-days .datepicker-switch").text(p.formatDate(o,v,this.o.language)),this.picker.find("tfoot .today").text(h).css("display",z?"table-cell":"none"),this.picker.find("tfoot .clear").text(g).css("display",!0===this.o.clearBtn?"table-cell":"none"),this.picker.find("thead .datepicker-title").text(this.o.title).css("display","string"==typeof this.o.title&&""!==this.o.title?"table-cell":"none"),this.updateNavArrows(),this.fillMonths();var y=n(i,s,0),C=y.getUTCDate();y.setUTCDate(C-(y.getUTCDay()-this.o.weekStart+7)%7);var H=new Date(y);y.getUTCFullYear()<100&&H.setUTCFullYear(y.getUTCFullYear()),H.setUTCDate(H.getUTCDate()+42),H=H.valueOf();for(var M,V,L=[];y.valueOf()"),this.o.calendarWeeks)){var w=new Date(+y+(this.o.weekStart-M-7)%7*864e5),_=new Date(Number(w)+(11-w.getUTCDay())%7*864e5),x=new Date(Number(x=n(_.getUTCFullYear(),0,1))+(11-x.getUTCDay())%7*864e5),k=(_-x)/864e5/7+1;L.push(''+k+"")}(V=this.getClassNames(y)).push("day");var S=y.getUTCDate();this.o.beforeShowDay!==e.noop&&((a=this.o.beforeShowDay(this._utc_to_local(y)))===t?a={}:"boolean"==typeof a?a={enabled:a}:"string"==typeof a&&(a={classes:a}),!1===a.enabled&&V.push("disabled"),a.classes&&(V=V.concat(a.classes.split(/\s+/))),a.tooltip&&(r=a.tooltip),a.content&&(S=a.content)),V=e.isFunction(e.uniqueSort)?e.uniqueSort(V):e.unique(V),L.push(''+S+""),r=null,M===this.o.weekEnd&&L.push(""),y.setUTCDate(y.getUTCDate()+1)}this.picker.find(".datepicker-days tbody").html(L.join(""));var A=m[this.o.language].monthsTitle||m.en.monthsTitle||"Months",T=this.picker.find(".datepicker-months").find(".datepicker-switch").text(this.o.maxViewMode<2?A:i).end().find("tbody span").removeClass("active");if(e.each(this.dates,(function(e,t){t.getUTCFullYear()===i&&T.eq(t.getUTCMonth()).addClass("active")})),(if)&&T.addClass("disabled"),i===l&&T.slice(0,u).addClass("disabled"),i===f&&T.slice(d+1).addClass("disabled"),this.o.beforeShowMonth!==e.noop){var D=this;e.each(T,(function(n,c){var r=new Date(i,n,1),a=D.o.beforeShowMonth(r);a===t?a={}:"boolean"==typeof a?a={enabled:a}:"string"==typeof a&&(a={classes:a}),!1!==a.enabled||e(c).hasClass("disabled")||e(c).addClass("disabled"),a.classes&&e(c).addClass(a.classes),a.tooltip&&e(c).prop("title",a.tooltip)}))}this._fill_yearsView(".datepicker-years","year",10,i,l,f,this.o.beforeShowYear),this._fill_yearsView(".datepicker-decades","decade",100,i,l,f,this.o.beforeShowDecade),this._fill_yearsView(".datepicker-centuries","century",1e3,i,l,f,this.o.beforeShowCentury)}},updateNavArrows:function(){if(this._allow_update){var e,t,n=new Date(this.viewDate),c=n.getUTCFullYear(),r=n.getUTCMonth(),a=this.o.startDate!==-1/0?this.o.startDate.getUTCFullYear():-1/0,o=this.o.startDate!==-1/0?this.o.startDate.getUTCMonth():-1/0,i=this.o.endDate!==1/0?this.o.endDate.getUTCFullYear():1/0,s=this.o.endDate!==1/0?this.o.endDate.getUTCMonth():1/0,l=1;switch(this.viewMode){case 4:l*=10;case 3:l*=10;case 2:l*=10;case 1:e=Math.floor(c/l)*l<=a,t=Math.floor(c/l)*l+l>i;break;case 0:e=c<=a&&r<=o,t=c>=i&&r>=s}this.picker.find(".prev").toggleClass("disabled",e),this.picker.find(".next").toggleClass("disabled",t)}},click:function(t){var r,a,o;t.preventDefault(),t.stopPropagation(),(r=e(t.target)).hasClass("datepicker-switch")&&this.viewMode!==this.o.maxViewMode&&this.setViewMode(this.viewMode+1),r.hasClass("today")&&!r.hasClass("day")&&(this.setViewMode(0),this._setDate(c(),"linked"===this.o.todayBtn?null:"view")),r.hasClass("clear")&&this.clearDates(),r.hasClass("disabled")||(r.hasClass("month")||r.hasClass("year")||r.hasClass("decade")||r.hasClass("century"))&&(this.viewDate.setUTCDate(1),1,1===this.viewMode?(o=r.parent().find("span").index(r),a=this.viewDate.getUTCFullYear(),this.viewDate.setUTCMonth(o)):(o=0,a=Number(r.text()),this.viewDate.setUTCFullYear(a)),this._trigger(p.viewModes[this.viewMode-1].e,this.viewDate),this.viewMode===this.o.minViewMode?this._setDate(n(a,o,1)):(this.setViewMode(this.viewMode-1),this.fill())),this.picker.is(":visible")&&this._focused_from&&this._focused_from.focus(),delete this._focused_from},dayCellClick:function(t){var n=e(t.currentTarget).data("date"),c=new Date(n);this.o.updateViewDate&&(c.getUTCFullYear()!==this.viewDate.getUTCFullYear()&&this._trigger("changeYear",this.viewDate),c.getUTCMonth()!==this.viewDate.getUTCMonth()&&this._trigger("changeMonth",this.viewDate)),this._setDate(c)},navArrowsClick:function(t){var n=e(t.currentTarget).hasClass("prev")?-1:1;0!==this.viewMode&&(n*=12*p.viewModes[this.viewMode].navStep),this.viewDate=this.moveMonth(this.viewDate,n),this._trigger(p.viewModes[this.viewMode].e,this.viewDate),this.fill()},_toggle_multidate:function(e){var t=this.dates.contains(e);if(e||this.dates.clear(),-1!==t?(!0===this.o.multidate||this.o.multidate>1||this.o.toggleActive)&&this.dates.remove(t):!1===this.o.multidate?(this.dates.clear(),this.dates.push(e)):this.dates.push(e),"number"==typeof this.o.multidate)for(;this.dates.length>this.o.multidate;)this.dates.remove(0)},_setDate:function(e,t){t&&"date"!==t||this._toggle_multidate(e&&new Date(e)),(!t&&this.o.updateViewDate||"view"===t)&&(this.viewDate=e&&new Date(e)),this.fill(),this.setValue(),t&&"view"===t||this._trigger("changeDate"),this.inputField.trigger("change"),!this.o.autoclose||t&&"date"!==t||this.hide()},moveDay:function(e,t){var n=new Date(e);return n.setUTCDate(e.getUTCDate()+t),n},moveWeek:function(e,t){return this.moveDay(e,7*t)},moveMonth:function(e,t){if(!function(e){return e&&!isNaN(e.getTime())}(e))return this.o.defaultViewDate;if(!t)return e;var n,c,r=new Date(e.valueOf()),a=r.getUTCDate(),o=r.getUTCMonth(),i=Math.abs(t);if(t=t>0?1:-1,1===i)c=-1===t?function(){return r.getUTCMonth()===o}:function(){return r.getUTCMonth()!==n},n=o+t,r.setUTCMonth(n),n=(n+12)%12;else{for(var s=0;s0},dateWithinRange:function(e){return e>=this.o.startDate&&e<=this.o.endDate},keydown:function(e){if(this.picker.is(":visible")){var t,n,c=!1,r=this.focusDate||this.viewDate;switch(e.keyCode){case 27:this.focusDate?(this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.fill()):this.hide(),e.preventDefault(),e.stopPropagation();break;case 37:case 38:case 39:case 40:if(!this.o.keyboardNavigation||7===this.o.daysOfWeekDisabled.length)break;t=37===e.keyCode||38===e.keyCode?-1:1,0===this.viewMode?e.ctrlKey?(n=this.moveAvailableDate(r,t,"moveYear"))&&this._trigger("changeYear",this.viewDate):e.shiftKey?(n=this.moveAvailableDate(r,t,"moveMonth"))&&this._trigger("changeMonth",this.viewDate):37===e.keyCode||39===e.keyCode?n=this.moveAvailableDate(r,t,"moveDay"):this.weekOfDateIsDisabled(r)||(n=this.moveAvailableDate(r,t,"moveWeek")):1===this.viewMode?(38!==e.keyCode&&40!==e.keyCode||(t*=4),n=this.moveAvailableDate(r,t,"moveMonth")):2===this.viewMode&&(38!==e.keyCode&&40!==e.keyCode||(t*=4),n=this.moveAvailableDate(r,t,"moveYear")),n&&(this.focusDate=this.viewDate=n,this.setValue(),this.fill(),e.preventDefault());break;case 13:if(!this.o.forceParse)break;r=this.focusDate||this.dates.get(-1)||this.viewDate,this.o.keyboardNavigation&&(this._toggle_multidate(r),c=!0),this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.setValue(),this.fill(),this.picker.is(":visible")&&(e.preventDefault(),e.stopPropagation(),this.o.autoclose&&this.hide());break;case 9:this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.fill(),this.hide()}c&&(this.dates.length?this._trigger("changeDate"):this._trigger("clearDate"),this.inputField.trigger("change"))}else 40!==e.keyCode&&27!==e.keyCode||(this.show(),e.stopPropagation())},setViewMode:function(e){this.viewMode=e,this.picker.children("div").hide().filter(".datepicker-"+p.viewModes[this.viewMode].clsName).show(),this.updateNavArrows(),this._trigger("changeViewMode",new Date(this.viewDate))}};var l=function(t,n){e.data(t,"datepicker",this),this.element=e(t),this.inputs=e.map(n.inputs,(function(e){return e.jquery?e[0]:e})),delete n.inputs,this.keepEmptyValues=n.keepEmptyValues,delete n.keepEmptyValues,f.call(e(this.inputs),n).on("changeDate",e.proxy(this.dateUpdated,this)),this.pickers=e.map(this.inputs,(function(t){return e.data(t,"datepicker")})),this.updateDates()};l.prototype={updateDates:function(){this.dates=e.map(this.pickers,(function(e){return e.getUTCDate()})),this.updateRanges()},updateRanges:function(){var t=e.map(this.dates,(function(e){return e.valueOf()}));e.each(this.pickers,(function(e,n){n.setRange(t)}))},clearDates:function(){e.each(this.pickers,(function(e,t){t.clearDates()}))},dateUpdated:function(n){if(!this.updating){this.updating=!0;var c=e.data(n.target,"datepicker");if(c!==t){var r=c.getUTCDate(),a=this.keepEmptyValues,o=e.inArray(n.target,this.inputs),i=o-1,s=o+1,l=this.inputs.length;if(-1!==o){if(e.each(this.pickers,(function(e,t){t.getUTCDate()||t!==c&&a||t.setUTCDate(r)})),r=0&&rthis.dates[s])for(;sthis.dates[s];)this.pickers[s++].setUTCDate(r);this.updateDates(),delete this.updating}}}},destroy:function(){e.map(this.pickers,(function(e){e.destroy()})),e(this.inputs).off("changeDate",this.dateUpdated),delete this.element.data().datepicker},remove:a("destroy","Method `remove` is deprecated and will be removed in version 2.0. Use `destroy` instead")};var u=e.fn.datepicker,f=function(n){var c,r=Array.apply(null,arguments);if(r.shift(),this.each((function(){var t=e(this),a=t.data("datepicker"),i="object"==typeof n&&n;if(!a){var u=function(t,n){function c(e,t){return t.toLowerCase()}var r=e(t).data(),a={},o=new RegExp("^"+n.toLowerCase()+"([A-Z])");for(var i in n=new RegExp("^"+n.toLowerCase()),r)n.test(i)&&(a[i.replace(o,c)]=r[i]);return a}(this,"date"),f=o(e.extend({},d,u,i).language),h=e.extend({},d,f,u,i);t.hasClass("input-daterange")||h.inputs?(e.extend(h,{inputs:h.inputs||t.find("input").toArray()}),a=new l(this,h)):a=new s(this,h),t.data("datepicker",a)}"string"==typeof n&&"function"==typeof a[n]&&(c=a[n].apply(a,r))})),c===t||c instanceof s||c instanceof l)return this;if(this.length>1)throw new Error("Using only allowed for the collection of a single element ("+n+" function)");return c};e.fn.datepicker=f;var d=e.fn.datepicker.defaults={assumeNearbyYear:!1,autoclose:!1,beforeShowDay:e.noop,beforeShowMonth:e.noop,beforeShowYear:e.noop,beforeShowDecade:e.noop,beforeShowCentury:e.noop,calendarWeeks:!1,clearBtn:!1,toggleActive:!1,daysOfWeekDisabled:[],daysOfWeekHighlighted:[],datesDisabled:[],endDate:1/0,forceParse:!0,format:"mm/dd/yyyy",keepEmptyValues:!1,keyboardNavigation:!0,language:"en",minViewMode:0,maxViewMode:4,multidate:!1,multidateSeparator:",",orientation:"auto",rtl:!1,startDate:-1/0,startView:0,todayBtn:!1,todayHighlight:!1,updateViewDate:!0,weekStart:0,disableTouchKeyboard:!1,enableOnReadonly:!0,showOnFocus:!0,zIndexOffset:10,container:"body",immediateUpdates:!1,title:"",templates:{leftArrow:"«",rightArrow:"»"},showWeekDays:!0},h=e.fn.datepicker.locale_opts=["format","rtl","weekStart"];e.fn.datepicker.Constructor=s;var m=e.fn.datepicker.dates={en:{days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],daysMin:["Su","Mo","Tu","We","Th","Fr","Sa"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],today:"Today",clear:"Clear",titleFormat:"MM yyyy"}},p={viewModes:[{names:["days","month"],clsName:"days",e:"changeMonth"},{names:["months","year"],clsName:"months",e:"changeYear",navStep:1},{names:["years","decade"],clsName:"years",e:"changeDecade",navStep:10},{names:["decades","century"],clsName:"decades",e:"changeCentury",navStep:100},{names:["centuries","millennium"],clsName:"centuries",e:"changeMillennium",navStep:1e3}],validParts:/dd?|DD?|mm?|MM?|yy(?:yy)?/g,nonpunctuation:/[^ -\/:-@\u5e74\u6708\u65e5\[-`{-~\t\n\r]+/g,parseFormat:function(e){if("function"==typeof e.toValue&&"function"==typeof e.toDisplay)return e;var t=e.replace(this.validParts,"\0").split("\0"),n=e.match(this.validParts);if(!t||!t.length||!n||0===n.length)throw new Error("Invalid date format.");return{separators:t,parts:n}},parseDate:function(n,r,a,o){function i(){var e=this.slice(0,l[d].length),t=l[d].slice(0,e.length);return e.toLowerCase()===t.toLowerCase()}if(!n)return t;if(n instanceof Date)return n;if("string"==typeof r&&(r=p.parseFormat(r)),r.toValue)return r.toValue(n,r,a);var l,u,f,d,h,g={d:"moveDay",m:"moveMonth",w:"moveWeek",y:"moveYear"},v={yesterday:"-1d",today:"+0d",tomorrow:"+1d"};if(n in v&&(n=v[n]),/^[\-+]\d+[dmwy]([\s,]+[\-+]\d+[dmwy])*$/i.test(n)){for(l=n.match(/([\-+]\d+)([dmwy])/gi),n=new Date,d=0;d(new Date).getFullYear()+t&&(e-=100),e}(t,o):t)},m:function(e,t){if(isNaN(e))return e;for(t-=1;t<0;)t+=12;for(t%=12,e.setUTCMonth(t);e.getUTCMonth()!==t;)e.setUTCDate(e.getUTCDate()-1);return e},d:function(e,t){return e.setUTCDate(t)}};H.yy=H.yyyy,H.M=H.MM=H.mm=H.m,H.dd=H.d,n=c();var M=r.parts.slice();if(l.length!==M.length&&(M=e(M).filter((function(t,n){return-1!==e.inArray(n,C)})).toArray()),l.length===M.length){var V,L,w;for(d=0,V=M.length;d'+d.templates.leftArrow+''+d.templates.rightArrow+"",contTemplate:'',footTemplate:''};p.template='
'+p.headTemplate+""+p.footTemplate+'
'+p.headTemplate+p.contTemplate+p.footTemplate+'
'+p.headTemplate+p.contTemplate+p.footTemplate+'
'+p.headTemplate+p.contTemplate+p.footTemplate+'
'+p.headTemplate+p.contTemplate+p.footTemplate+"
",e.fn.datepicker.DPGlobal=p,e.fn.datepicker.noConflict=function(){return e.fn.datepicker=u,this},e.fn.datepicker.version="1.9.0",e.fn.datepicker.deprecated=function(e){var t=window.console;t&&t.warn&&t.warn("DEPRECATED: "+e)},e(document).on("focus.datepicker.data-api click.datepicker.data-api",'[data-provide="datepicker"]',(function(t){var n=e(this);n.data("datepicker")||(t.preventDefault(),f.call(n,"show"))})),e((function(){f.call(e('[data-provide="datepicker-inline"]'))}))})),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e||self).autosize=t()}(this,(function(){var e=new Map;function t(t){var n=e.get(t);n&&n.destroy()}function n(t){var n=e.get(t);n&&n.update()}var c=null;return"undefined"==typeof window?((c=function(e){return e}).destroy=function(e){return e},c.update=function(e){return e}):((c=function(t,n){return t&&Array.prototype.forEach.call(t.length?t:[t],(function(t){return function(t){if(t&&t.nodeName&&"TEXTAREA"===t.nodeName&&!e.has(t)){var n,c=null,r=window.getComputedStyle(t),a=(n=t.value,function(){i({testForHeightReduction:""===n||!t.value.startsWith(n),restoreTextAlign:null}),n=t.value}),o=function(n){t.removeEventListener("autosize:destroy",o),t.removeEventListener("autosize:update",s),t.removeEventListener("input",a),window.removeEventListener("resize",s),Object.keys(n).forEach((function(e){return t.style[e]=n[e]})),e.delete(t)}.bind(t,{height:t.style.height,resize:t.style.resize,textAlign:t.style.textAlign,overflowY:t.style.overflowY,overflowX:t.style.overflowX,wordWrap:t.style.wordWrap});t.addEventListener("autosize:destroy",o),t.addEventListener("autosize:update",s),t.addEventListener("input",a),window.addEventListener("resize",s),t.style.overflowX="hidden",t.style.wordWrap="break-word",e.set(t,{destroy:o,update:s}),s()}function i(e){var n,a,o=e.restoreTextAlign,s=void 0===o?null:o,l=e.testForHeightReduction,u=void 0===l||l,f=r.overflowY;if(0!==t.scrollHeight&&("vertical"===r.resize?t.style.resize="none":"both"===r.resize&&(t.style.resize="horizontal"),u&&(n=function(e){for(var t=[];e&&e.parentNode&&e.parentNode instanceof Element;)e.parentNode.scrollTop&&t.push([e.parentNode,e.parentNode.scrollTop]),e=e.parentNode;return function(){return t.forEach((function(e){var t=e[0],n=e[1];t.style.scrollBehavior="auto",t.scrollTop=n,t.style.scrollBehavior=null}))}}(t),t.style.height=""),a="content-box"===r.boxSizing?t.scrollHeight-(parseFloat(r.paddingTop)+parseFloat(r.paddingBottom)):t.scrollHeight+parseFloat(r.borderTopWidth)+parseFloat(r.borderBottomWidth),"none"!==r.maxHeight&&a>parseFloat(r.maxHeight)?("hidden"===r.overflowY&&(t.style.overflow="scroll"),a=parseFloat(r.maxHeight)):"hidden"!==r.overflowY&&(t.style.overflow="hidden"),t.style.height=a+"px",s&&(t.style.textAlign=s),n&&n(),c!==a&&(t.dispatchEvent(new Event("autosize:resized",{bubbles:!0})),c=a),f!==r.overflow&&!s)){var d=r.textAlign;"hidden"===r.overflow&&(t.style.textAlign="start"===d?"end":"start"),i({restoreTextAlign:d,testForHeightReduction:!0})}}function s(){i({testForHeightReduction:!0,restoreTextAlign:null})}}(t)})),t}).destroy=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],t),e},c.update=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],n),e}),c})),function(e,t){var n=e();e.fn.dropdownHover=function(c){return"ontouchstart"in document?this:(n=n.add(this.parent()),this.each((function(){function r(){i.parents(".navbar").find(".navbar-toggle").is(":visible")||(t.clearTimeout(a),t.clearTimeout(o),o=t.setTimeout((function(){n.find(":focus").blur(),!0===f.instantlyCloseOthers&&n.removeClass("open"),t.clearTimeout(o),i.attr("aria-expanded","true"),s.addClass("open"),i.trigger(u)}),f.hoverDelay))}var a,o,i=e(this),s=i.parent(),l={delay:e(this).data("delay"),hoverDelay:e(this).data("hover-delay"),instantlyCloseOthers:e(this).data("close-others")},u="show.bs.dropdown",f=e.extend(!0,{},{delay:500,hoverDelay:0,instantlyCloseOthers:!0},c,l);s.hover((function(e){return!s.hasClass("open")&&!i.is(e.target)||void r()}),(function(){t.clearTimeout(o),a=t.setTimeout((function(){i.attr("aria-expanded","false"),s.removeClass("open"),i.trigger("hide.bs.dropdown")}),f.delay)})),i.hover((function(e){return!s.hasClass("open")&&!s.is(e.target)||void r()})),s.find(".dropdown-submenu").each((function(){var n,c=e(this);c.hover((function(){t.clearTimeout(n),c.children(".dropdown-menu").show(),c.siblings().children(".dropdown-menu").hide()}),(function(){var e=c.children(".dropdown-menu");n=t.setTimeout((function(){e.hide()}),f.delay)}))}))})))},e(document).ready((function(){e('[data-hover="dropdown"]').dropdownHover()}))}(jQuery,window),function(e){"use strict";var t=function(n,c){this.$element=e(n),this.options=e.extend({},t.defaults,c)};t.defaults={transition_delay:300,refresh_speed:50,display_text:"none",use_percentage:!0,percent_format:function(e){return e+"%"},amount_format:function(e,t){return e+" / "+t},update:e.noop,done:e.noop,fail:e.noop},t.prototype.transition=function(){var n=this.$element,c=n.parent(),r=this.$back_text,a=this.$front_text,o=this.options,i=parseInt(n.attr("data-transitiongoal")),s=parseInt(n.attr("aria-valuemin"))||0,l=parseInt(n.attr("aria-valuemax"))||100,u=c.hasClass("vertical"),f=o.update&&"function"==typeof o.update?o.update:t.defaults.update,d=o.done&&"function"==typeof o.done?o.done:t.defaults.done,h=o.fail&&"function"==typeof o.fail?o.fail:t.defaults.fail;if(isNaN(i))h("data-transitiongoal not set");else{var m,p=Math.round(100*(i-s)/(l-s));if("center"===o.display_text&&!r&&!a)this.$back_text=r=e("").addClass("progressbar-back-text").prependTo(c),this.$front_text=a=e("").addClass("progressbar-front-text").prependTo(n),u?(m=c.css("height"),r.css({height:m,"line-height":m}),a.css({height:m,"line-height":m}),e(window).resize((function(){m=c.css("height"),r.css({height:m,"line-height":m}),a.css({height:m,"line-height":m})}))):(m=c.css("width"),a.css({width:m}),e(window).resize((function(){m=c.css("width"),a.css({width:m})})));setTimeout((function(){var e,t,h,m,g;u?n.css("height",p+"%"):n.css("width",p+"%");var v=setInterval((function(){u?(h=n.height(),m=c.height()):(h=n.width(),m=c.width()),e=Math.round(100*h/m),t=Math.round(s+h/m*(l-s)),e>=p&&(e=p,t=i,d(n),clearInterval(v)),"none"!==o.display_text&&(g=o.use_percentage?o.percent_format(e):o.amount_format(t,l,s),"fill"===o.display_text?n.text(g):"center"===o.display_text&&(r.text(g),a.text(g))),n.attr("aria-valuenow",t),f(e,n)}),o.refresh_speed)}),o.transition_delay)}};var n=e.fn.progressbar;e.fn.progressbar=function(n){return this.each((function(){var c=e(this),r=c.data("bs.progressbar"),a="object"==typeof n&&n;r&&a&&e.extend(r.options,a),r||c.data("bs.progressbar",r=new t(this,a)),r.transition()}))},e.fn.progressbar.Constructor=t,e.fn.progressbar.noConflict=function(){return e.fn.progressbar=n,this}}(window.jQuery);var _extends=Object.assign||function(e){for(var t=1;te.addpos2&&(e.addpos2=t.offsetHeight);break;case"left":case"right":t.offsetWidth+(parseFloat(t.style.marginLeft,10)||0)+(parseFloat(t.style.marginRight,10)||0)>e.addpos2&&(e.addpos2=t.offsetWidth)}}else if(e.dir1){var m=void 0,p=void 0;switch(e.dir1){case"down":case"up":p=["left","right"],m=e.context.scrollWidth/2-t.offsetWidth/2;break;case"left":case"right":p=["top","bottom"],m=o/2-t.offsetHeight/2}t.style[p[0]]=m+"px",t.style[p[1]]="auto",e.animation||t.style[p[0]]}if(e.dir1)switch("number"==typeof e.nextpos1&&(t.style[s]=e.nextpos1+"px",e.animation||t.style[s]),e.dir1){case"down":case"up":e.nextpos1+=t.offsetHeight+(void 0===e.spacing1?25:e.spacing1);break;case"left":case"right":e.nextpos1+=t.offsetWidth+(void 0===e.spacing1?25:e.spacing1)}else{var g=i/2-t.offsetWidth/2,v=o/2-t.offsetHeight/2;t.style.left=g+"px",t.style.top=v+"px",e.animation||t.style.left}return this}},queuePosition:function(e){return r&&clearTimeout(r),e=e||10,r=setTimeout((function(){c.positionAll()}),e),this},cancelRemove:function(){return this.cancelClose()},cancelClose:function(){var e=this.get(),t=e._timer,n=e._animTimer,c=e._state,r=e.animation;return t&&clearTimeout(t),n&&clearTimeout(n),"closing"===c&&this.set({_state:"open",_animating:!1,_animatingClass:"fade"===r?"ui-pnotify-in ui-pnotify-fade-in":"ui-pnotify-in"}),this},queueRemove:function(){return this.queueClose()},queueClose:function(){var e=this;return this.cancelClose(),this.set({_timer:setTimeout((function(){return e.close(!0)}),isNaN(this.get().delay)?0:this.get().delay)}),this},addModuleClass:function(){for(var e=this.get()._moduleClasses,t=arguments.length,n=Array(t),c=0;c .ui-pnotify{position:fixed;z-index:100040}body > .ui-pnotify.ui-pnotify-modal{z-index:100042}.ui-pnotify{position:absolute;height:auto;z-index:1;display:none}.ui-pnotify.ui-pnotify-modal{z-index:3}.ui-pnotify.ui-pnotify-in{display:block}.ui-pnotify.ui-pnotify-initial-hidden{display:block;visibility:hidden}.ui-pnotify.ui-pnotify-move{transition:left .5s ease, top .5s ease, right .5s ease, bottom .5s ease}.ui-pnotify.ui-pnotify-fade-slow{transition:opacity .4s linear;opacity:0}.ui-pnotify.ui-pnotify-fade-slow.ui-pnotify.ui-pnotify-move{transition:opacity .4s linear, left .5s ease, top .5s ease, right .5s ease, bottom .5s ease}.ui-pnotify.ui-pnotify-fade-normal{transition:opacity .25s linear;opacity:0}.ui-pnotify.ui-pnotify-fade-normal.ui-pnotify.ui-pnotify-move{transition:opacity .25s linear, left .5s ease, top .5s ease, right .5s ease, bottom .5s ease}.ui-pnotify.ui-pnotify-fade-fast{transition:opacity .1s linear;opacity:0}.ui-pnotify.ui-pnotify-fade-fast.ui-pnotify.ui-pnotify-move{transition:opacity .1s linear, left .5s ease, top .5s ease, right .5s ease, bottom .5s ease}.ui-pnotify.ui-pnotify-fade-in{opacity:1}.ui-pnotify .ui-pnotify-shadow{-webkit-box-shadow:0px 6px 28px 0px rgba(0,0,0,0.1);-moz-box-shadow:0px 6px 28px 0px rgba(0,0,0,0.1);box-shadow:0px 6px 28px 0px rgba(0,0,0,0.1)}.ui-pnotify-container{background-position:0 0;padding:.8em;height:100%;margin:0}.ui-pnotify-container:after{content:" ";visibility:hidden;display:block;height:0;clear:both}.ui-pnotify-container.ui-pnotify-sharp{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.ui-pnotify-title{display:block;white-space:pre-line;margin-bottom:.4em;margin-top:0}.ui-pnotify.ui-pnotify-with-icon .ui-pnotify-title,.ui-pnotify.ui-pnotify-with-icon .ui-pnotify-text{margin-left:24px}[dir=rtl] .ui-pnotify.ui-pnotify-with-icon .ui-pnotify-title,[dir=rtl] .ui-pnotify.ui-pnotify-with-icon .ui-pnotify-text{margin-right:24px;margin-left:0}.ui-pnotify-title-bs4{font-size:1.2rem}.ui-pnotify-text{display:block;white-space:pre-line}.ui-pnotify-icon,.ui-pnotify-icon span{display:block;float:left}[dir=rtl] .ui-pnotify-icon,[dir=rtl] .ui-pnotify-icon span{float:right}.ui-pnotify-icon-bs3 > span{position:relative;top:2px}.ui-pnotify-icon-bs4 > span{position:relative;top:4px}.ui-pnotify-modal-overlay{background-color:rgba(0, 0, 0, .4);top:0;left:0;position:absolute;height:100%;width:100%;z-index:2}body > .ui-pnotify-modal-overlay{position:fixed;z-index:100041}',z(document.head,a)),this._fragment=function(e,t){for(var n,c,r,a,f,d,m,p,v,k=[],S=y(),A=[],T=y(),D=t._modulesPrependContainer,E=function(e){return e.module.key},N=0;Ny[S]?(L[k]=!0,w(_)):(V[S]=!0,m--):(l(x,i),m--)}for(;m--;)z[(x=e[m]).key]||l(x,i);for(;p;)w(b[p-1]);return b}function w(e,t){e.d(1),t[e.key]=null}function _(e){e.parentNode.removeChild(e)}function x(e,t,n,c){e.removeEventListener(t,n,c)}function k(){return document.createComment("")}function S(e,t){e.data=""+t}function A(e,t){for(;e.nextSibling&&e.nextSibling!==t;)e.parentNode.removeChild(e.nextSibling)}function T(e,t){for(var n in t)e[n]=t[n];return e}function D(e){e._lock=!0,E(e._beforecreate),E(e._oncreate),E(e._aftercreate),e._lock=!1}function E(e){for(;e&&e.length;)e.shift()()}function N(){}return T(v.prototype,{destroy:function(e){this.destroy=N,this.fire("destroy"),this.set=N,this._fragment.d(!1!==e),this._fragment=null,this._state={}},get:function(){return this._state},fire:function(e,t){var n=e in this._handlers&&this._handlers[e].slice();if(n)for(var c=0;c [ui-pnotify].ui-pnotify.ui-pnotify-mobile-able{position:fixed}[ui-pnotify].ui-pnotify.ui-pnotify-mobile-able.ui-pnotify-mobile-top,[ui-pnotify].ui-pnotify.ui-pnotify-mobile-able.ui-pnotify-mobile-bottom{width:100% !important}[ui-pnotify].ui-pnotify.ui-pnotify-mobile-able.ui-pnotify-mobile-left,[ui-pnotify].ui-pnotify.ui-pnotify-mobile-able.ui-pnotify-mobile-right{height:100% !important}[ui-pnotify].ui-pnotify.ui-pnotify-mobile-able .ui-pnotify-shadow{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}[ui-pnotify].ui-pnotify.ui-pnotify-mobile-able.ui-pnotify-mobile-top .ui-pnotify-shadow{border-bottom-width:5px}[ui-pnotify].ui-pnotify.ui-pnotify-mobile-able.ui-pnotify-mobile-bottom .ui-pnotify-shadow{border-top-width:5px}[ui-pnotify].ui-pnotify.ui-pnotify-mobile-able.ui-pnotify-mobile-left .ui-pnotify-shadow{border-right-width:5px}[ui-pnotify].ui-pnotify.ui-pnotify-mobile-able.ui-pnotify-mobile-right .ui-pnotify-shadow{border-left-width:5px}[ui-pnotify].ui-pnotify.ui-pnotify-mobile-able .ui-pnotify-container{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}[ui-pnotify].ui-pnotify.ui-pnotify-mobile-able.ui-pnotify-mobile-top .ui-pnotify-container,[ui-pnotify].ui-pnotify.ui-pnotify-mobile-able.ui-pnotify-mobile-bottom .ui-pnotify-container{width:auto !important}[ui-pnotify].ui-pnotify.ui-pnotify-mobile-able.ui-pnotify-mobile-left .ui-pnotify-container,[ui-pnotify].ui-pnotify.ui-pnotify-mobile-able.ui-pnotify-mobile-right .ui-pnotify-container{height:100% !important}}",e=t,document.head.appendChild(e)}(),this._fragment=(this._state,{c:r,m:r,p:r,d:r}),this.root._oncreate.push((function(){(function(){this.set({_doMobileStylingBound:this.doMobileStyling.bind(this)})}).call(s),s.fire("update",{changed:function(e,t){for(var n in t)e[n]=1;return e}({},s._state),current:s._state})})),t.target&&(this._fragment.c(),this._mount(t.target,t.anchor),o(this))}function r(){}function a(e,t){for(var n in t)e[n]=t[n];return e}function o(e){e._lock=!0,s(e._beforecreate),s(e._oncreate),s(e._aftercreate),e._lock=!1}function i(){return Object.create(null)}function s(e){for(;e&&e.length;)e.shift()()}return a(c.prototype,{destroy:function(e){this.destroy=r,this.fire("destroy"),this.set=r,this._fragment.d(!1!==e),this._fragment=null,this._state={}},get:function(){return this._state},fire:function(e,t){var n=e in this._handlers&&this._handlers[e].slice();if(n)for(var c=0;cn){for(var a="top"===r.push,o=[],i=0,s=a?0:e.notices.length-1;a?s=n.length&&e.substr(0,0+n.length)===n;var n},Qe=Te(/^\s+|\s+$/g),Ke=Te(/^\s+/g),Je=Te(/\s+$/g),et=/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,tt={browsers:f([{name:"Edge",versionRegexes:[/.*?edge\/ ?([0-9]+)\.([0-9]+)$/],search:function(e){return Ae(e,"edge/")&&Ae(e,"chrome")&&Ae(e,"safari")&&Ae(e,"applewebkit")}},{name:"Chrome",brand:"Chromium",versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/,et],search:function(e){return Ae(e,"chrome")&&!Ae(e,"chromeframe")}},{name:"IE",versionRegexes:[/.*?msie\ ?([0-9]+)\.([0-9]+).*/,/.*?rv:([0-9]+)\.([0-9]+).*/],search:function(e){return Ae(e,"msie")||Ae(e,"trident")}},{name:"Opera",versionRegexes:[et,/.*?opera\/([0-9]+)\.([0-9]+).*/],search:Ne("opera")},{name:"Firefox",versionRegexes:[/.*?firefox\/\ ?([0-9]+)\.([0-9]+).*/],search:Ne("firefox")},{name:"Safari",versionRegexes:[et,/.*?cpu os ([0-9]+)_([0-9]+).*/],search:function(e){return(Ae(e,"safari")||Ae(e,"mobile/"))&&Ae(e,"applewebkit")}}]),oses:f([{name:"Windows",search:Ne("win"),versionRegexes:[/.*?windows\ nt\ ?([0-9]+)\.([0-9]+).*/]},{name:"iOS",search:function(e){return Ae(e,"iphone")||Ae(e,"ipad")},versionRegexes:[/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,/.*cpu os ([0-9]+)_([0-9]+).*/,/.*cpu iphone os ([0-9]+)_([0-9]+).*/]},{name:"Android",search:Ne("android"),versionRegexes:[/.*?android\ ?([0-9]+)\.([0-9]+).*/]},{name:"OSX",search:Ne("mac os x"),versionRegexes:[/.*?mac\ os\ x\ ?([0-9]+)_([0-9]+).*/]},{name:"Linux",search:Ne("linux"),versionRegexes:[]},{name:"Solaris",search:Ne("sunos"),versionRegexes:[]},{name:"FreeBSD",search:Ne("freebsd"),versionRegexes:[]},{name:"ChromeOS",search:Ne("cros"),versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/]}])},nt="Firefox",ct=function(){return Ue({current:void 0,version:Xe.unknown()})},rt=Ue,at=(f("Edge"),f("Chrome"),f("IE"),f("Opera"),f(nt),f("Safari"),"Windows"),ot="Android",it="Solaris",st="FreeBSD",lt="ChromeOS",ut=function(){return We({current:void 0,version:Xe.unknown()})},ft=We,dt=(f(at),f("iOS"),f(ot),f("Linux"),f("OSX"),f(it),f(st),f(lt),ke((function(){return e=navigator.userAgent,t=ve.from(navigator.userAgentData),n=Oe,g=tt.browsers(),v=tt.oses(),b=t.bind((function(e){return t=g,te(e.brands,(function(e){var n=e.brand.toLowerCase();return U(t,(function(e){var t;return n===(null===(t=e.brand)||void 0===t?void 0:t.toLowerCase())})).map((function(t){return{current:t.name,version:Xe.nu(parseInt(e.version,10),0)}}))}));var t})).orThunk((function(){return Se(g,t=e).map((function(e){var n=Xe.detect(e.versionRegexes,t);return{current:e.name,version:n}}));var t})).fold(ct,rt),z=Se(v,c=e).map((function(e){var t=Xe.detect(e.versionRegexes,c);return{current:e.name,version:t}})).fold(ut,ft),{browser:b,os:z,deviceType:(a=b,o=e,i=n,s=(r=z).isiOS()&&!0===/ipad/i.test(o),l=r.isiOS()&&!s,d=(u=r.isiOS()||r.isAndroid())||i("(pointer:coarse)"),h=s||!l&&u&&i("(min-device-width:768px)"),m=l||u&&!h,p=a.isSafari()&&r.isiOS()&&!1===/safari/i.test(o),{isiPad:f(s),isiPhone:f(l),isTablet:f(h),isPhone:f(m),isTouch:f(d),isAndroid:r.isAndroid,isiOS:r.isiOS,isWebView:f(p),isDesktop:f(!m&&!h&&!p)})};var e,t,n,c,r,a,o,i,s,l,u,d,h,m,p,g,v,b,z}))),ht=navigator.userAgent,mt=dt(),pt=mt.browser,gt=mt.os,vt=mt.deviceType,bt=/WebKit/.test(ht)&&!pt.isEdge(),zt="FormData"in window&&"FileReader"in window&&"URL"in window&&!!URL.createObjectURL,yt=-1!==ht.indexOf("Windows Phone"),Ct={opera:pt.isOpera(),webkit:bt,ie:!(!pt.isIE()&&!pt.isEdge())&&pt.version.major,gecko:pt.isFirefox(),mac:gt.isOSX()||gt.isiOS(),iOS:vt.isiPad()||vt.isiPhone(),android:gt.isAndroid(),contentEditable:!0,transparentSrc:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",caretAfter:!0,range:window.getSelection&&"Range"in window,documentMode:pt.isIE()?document.documentMode||7:10,fileApi:zt,ceFalse:!0,cacheSuffix:null,container:null,experimentalShadowDom:!1,canHaveCSP:!pt.isIE(),desktop:vt.isDesktop(),windowsPhone:yt,browser:{current:pt.current,version:pt.version,isChrome:pt.isChrome,isEdge:pt.isEdge,isFirefox:pt.isFirefox,isIE:pt.isIE,isOpera:pt.isOpera,isSafari:pt.isSafari},os:{current:gt.current,version:gt.version,isAndroid:gt.isAndroid,isChromeOS:gt.isChromeOS,isFreeBSD:gt.isFreeBSD,isiOS:gt.isiOS,isLinux:gt.isLinux,isOSX:gt.isOSX,isSolaris:gt.isSolaris,isWindows:gt.isWindows},deviceType:{isDesktop:vt.isDesktop,isiPad:vt.isiPad,isiPhone:vt.isiPhone,isPhone:vt.isPhone,isTablet:vt.isTablet,isTouch:vt.isTouch,isWebView:vt.isWebView}},Ht=/^\s*|\s*$/g,Mt=function(e,t,n,c){c=c||this,e&&le(e=n?e[n]:e,(function(e,r){return!1!==t.call(c,e,r,n)&&void Mt(e,t,n,c)}))},Vt={trim:Pe,isArray:we,is:Re,toArray:function(e){if(we(e))return e;for(var t=[],n=0,c=e.length;n=r.length&&e(t)}))}))})).get((function(e){var c=j(e,(function(e){return e.isValue()}));0'),qt(o.element,i),If(i,(function(){return En(i)})));Bf(e,a,t,s,c),s.cleanup()},wd=function(e,t,n){var c=n.startContainer,r=n.startOffset,a=n.endContainer,o=n.endOffset;t(Lt.fromDom(c),Lt.fromDom(a));var i=e.dom.createRng();i.setStart(c,r),i.setEnd(a,o),e.selection.setRng(n)},_d=cc([{before:["element"]},{on:["element","offset"]},{after:["element"]}]),xd=(_d.before,_d.on,_d.after,function(e){return e.fold(d,d,d)}),kd=cc([{domRange:["rng"]},{relative:["startSitu","finishSitu"]},{exact:["start","soffset","finish","foffset"]}]),Sd={domRange:kd.domRange,relative:kd.relative,exact:kd.exact,exactFromRange:function(e){return kd.exact(e.start,e.soffset,e.finish,e.foffset)},getWin:function(e){return At(e.match({domRange:function(e){return Lt.fromDom(e.startContainer)},relative:function(e,t){return xd(e)},exact:function(e,t,n,c){return e}}))},range:function(e,t,n,c){return{start:e,soffset:t,finish:n,foffset:c}}},Ad=dt().browser,Td={isEditorUIElement:function(e){var t=e.className.toString();return-1!==t.indexOf("tox-")||-1!==t.indexOf("mce-")}},Dd=Ko.DOM,Ed=function(e){return e.editorManager.setActive(e)},Nd={"#text":3,"#comment":8,"#cdata":4,"#pi":7,"#doctype":10,"#document-fragment":11},Od=(Pd.create=function(e,t){var n=new Pd(e,Nd[e]||1);return t&&ne(t,(function(e,t){n.attr(t,e)})),n},Pd.prototype.replace=function(e){return e.parent&&e.remove(),this.insert(e,this),this.remove(),this},Pd.prototype.attr=function(e,t){var n,c=this;if("string"!=typeof e)return null!=e&&ne(e,(function(e,t){c.attr(t,e)})),c;if(n=c.attributes){if(void 0===t)return n.map[e];if(null===t){if(e in n.map){delete n.map[e];for(var r=n.length;r--;)if(n[r].name===e)return n.splice(r,1),c}return c}if(e in n.map){for(r=n.length;r--;)if(n[r].name===e){n[r].value=t;break}}else n.push({name:e,value:t});return n.map[e]=t,c}},Pd.prototype.clone=function(){var e,t=new Pd(this.name,this.type);if(e=this.attributes){var n=[];n.map={};for(var c=0,r=e.length;c=i.length)for(n=0,c=o.length;n=i.length||o[n]!==i[n]){r=n+1;break}if(o.length=o.length||o[n]!==i[n]){r=n+1;break}if(1===r)return t;for(n=0,c=o.length-(r-1);n]+(?:"[^"]*"|'[^']*'))*[^"'>]*(?:"[^">]*|'[^'>]*)?|\s*|\/)>/g,a=e.getShortEndedElements(),o=1,i=n;0!==o;)for(c.lastIndex=i;;){var s=c.exec(t);if(null===s)return i;if("!"===s[1]){i=Ge(s[2],"--")?Gd(t,!1,s.index+"!--".length):Gd(t,!0,s.index+1);break}r.lastIndex=c.lastIndex;var l=r.exec(t);if(!y(l)&&l.index===c.lastIndex){"/"===s[1]?--o:Le(a,s[2])||(o+=1),i=c.lastIndex+l[0].length;break}}return i}function Yd(e,t){void 0===t&&(t=nr()),e=e||{};var n=Xd(),c=n.createElement("form");!1!==e.fix_self_closing&&(e.fix_self_closing=!0);var r=e.comment||s,a=e.cdata||s,o=e.text||s,i=e.start||s,l=e.end||s,u=e.pi||s,f=e.doctype||s;return{parse:function(s,d){void 0===d&&(d="html"),function(s,d){void 0===d&&(d="html");for(var h,m,p,g,v,b,z,y,C,H,M,V,L,w,_,x,k,S,A,T=s.html,D=0,E=[],N=0,O=Gr.decode,P=Vt.makeMap("src,href,data,background,action,formaction,poster,xlink:href"),R="html"===d?0:1,I=function(e){for(var t,n=E.length;n--&&E[n].name!==e;);if(0<=n){for(t=E.length-1;n<=t;t--)(e=E[t]).valid&&l(e.name);E.length=n}},j=function(e,t){return o(Rd(e,s),t)},B=function(t){""!==t&&(">"===t.charAt(0)&&(t=" "+t),e.allow_conditional_comments||"[if"!==t.substr(0,3).toLowerCase()||(t=" "+t),r(Rd(t,s)))},$=function(e,t){var n=e||"",c=!Ge(n,"--"),r=Gd(T,c,t);return e=T.substr(t,r-t),B(c?n+e:e),r+1},F=new RegExp("<(?:(?:!--([\\w\\W]*?)--!?>)|(?:!\\[CDATA\\[([\\w\\W]*?)\\]\\]>)|(?:![Dd][Oo][Cc][Tt][Yy][Pp][Ee]([\\w\\W]*?)>)|(?:!(--)?)|(?:\\?([^\\s\\/<>]+) ?([\\w\\W]*?)[?/]>)|(?:\\/([A-Za-z][A-Za-z0-9\\-_\\:\\.]*)>)|(?:([A-Za-z][A-Za-z0-9\\-_:.]*)(\\s(?:[^'\">]+(?:\"[^\"]*\"|'[^']*'))*[^\"'>]*(?:\"[^\">]*|'[^'>]*)?|\\s*|\\/)>))","g"),q=/([\w:\-]+)(?:\s*=\s*(?:(?:\"((?:[^\"])*)\")|(?:\'((?:[^\'])*)\')|([^>\s]+)))?/g,U=t.getShortEndedElements(),W=e.self_closing_elements||t.getSelfClosingElements(),Y=t.getBoolAttrs(),Z=e.validate,X=e.remove_internals,G=e.fix_self_closing,Q=t.getSpecialElements(),K=T+">";h=F.exec(K);){var J=h[0];if(DT.length){j(O(T.substr(h.index))),D=h.index+J.length;continue}C=(m=":"===(m=m.toLowerCase()).charAt(0)?m.substr(1):m)in U,G&&W[m]&&0.*/.test(c.substr(i)))){var r=c.indexOf("[endif]",n);return c.indexOf(">",r)}if(t){var a=c.indexOf(">",n);return-1!==a?a:c.length}var o=/--!?>/g;o.lastIndex=n;var i,s=o.exec(e);return s?s.index+s[0].length:c.length};function Qd(e,t){for(var n,c,r,a,o=/<(\w+) [^>]*data-mce-bogus="all"[^>]*>/g,i=e.schema,s=(n=e.getTempAttrs(),c=t,r=new RegExp(["\\s?("+n.join("|")+')="[^"]+"'].join("|"),"gi"),c.replace(r,"")),l=i.getShortEndedElements();a=o.exec(s);){var u=o.lastIndex,f=a[0].length,d=l[a[1]]?u:Yd.findEndTag(i,s,u);s=s.substring(0,u-f)+s.substring(d);o.lastIndex=u-f}return Hr(s)}function Kd(e){return{compare:function(t,n){return t.nodeName===n.nodeName&&!(!r(c(t),c(n))||!r(e.parseStyle(e.getAttrib(t,"style")),e.parseStyle(e.getAttrib(n,"style")))||Zl(t)||Zl(n));function c(t){var n={};return nh(e.getAttribs(t),(function(c){var r=c.nodeName.toLowerCase();0!==r.indexOf("_")&&"style"!==r&&0!==r.indexOf("data-")&&(n[r]=e.getAttrib(t,r))})),n}function r(e,t){var n,c;for(c in e)if(Le(e,c)){if(void 0===(n=t[c]))return;if(e[c]!==n)return;delete t[c]}for(c in t)if(Le(t,c))return;return 1}}}}function Jd(e){var t=[],n=(e=e||{}).indent,c=ch(e.indent_before||""),r=ch(e.indent_after||""),a=Gr.getEncodeFunc(e.entity_encoding||"raw",e.entities),o="html"===e.element_format;return{start:function(e,i,s){var l,u,f,d;if(n&&c[e]&&0":" />",s&&n&&r[e]&&0"),n&&r[e]&&0")},comment:function(e){t.push("\x3c!--",e,"--\x3e")},pi:function(e,c){c?t.push(""):t.push(""),n&&t.push("\n")},doctype:function(e){t.push("",n?"\n":"")},reset:function(){t.length=0},getContent:function(){return t.join("").replace(/\n$/,"")}}}function eh(e,t){void 0===t&&(t=nr());var n=Jd(e);return(e=e||{}).validate=!("validate"in e)||e.validate,{serialize:function(c){var r=e.validate,a={3:function(e){n.text(e.value,e.raw)},8:function(e){n.comment(e.value)},7:function(e){n.pi(e.name,e.value)},10:function(e){n.doctype(e.value)},4:function(e){n.cdata(e.value)},11:function(e){if(e=e.firstChild)for(;o(e),e=e.next;);}};n.reset();var o=function(e){var c=a[e.type];if(c)c(e);else{var i=e.name,s=e.shortEnded,l=e.attributes;if(r&&l&&1'))}function dh(e){It(e).each((function(t){Dt(t).each((function(n){fr(e)&&Tc(t)&&fr(n)&&En(t)}))}))}function hh(e,t){return r=S,Fe(c=t,n=e)?function(e,t){for(var n=M(t)?t:S,c=e.dom,r=[];null!==c.parentNode&&void 0!==c.parentNode;){var a=c.parentNode,o=Lt.fromDom(a);if(r.push(o),!0===n(o))break;c=a}return r}(n,(function(e){return r(e)||$e(e,c)})).slice(0,-1):[];var n,c,r}function mh(e,t){return[e].concat(hh(e,t))}function ph(e,t,n){return Xu(e,t,n,ih)}function gh(e,t){return U(mh(Lt.fromDom(t.container()),e),fr)}function vh(e,t,n){return ph(e,t.dom,n).forall((function(e){return gh(t,n).fold((function(){return!1===Zs(e,n,t.dom)}),(function(c){return!1===Zs(e,n,t.dom)&&Fe(c,Lt.fromDom(e.container()))}))}))}function bh(e,t,n){return gh(t,n).fold((function(){return ph(e,t.dom,n).forall((function(e){return!1===Zs(e,n,t.dom)}))}),(function(t){return ph(e,t.dom,n).isNone()}))}function zh(e){return tl(e).exists(Tc)}function yh(e,t,n){var c=J(B(mh(Lt.fromDom(n.container()),t),fr)).getOr(t);return Zu(e,c.dom,n).filter(zh)}function Ch(e,t){return tl(t).exists(Tc)||yh(!0,e,t).isSome()}function Hh(e,t){return ve.from(t.getNode(!0)).map(Lt.fromDom).exists(Tc)||yh(!1,e,t).isSome()}function Mh(e){return os.isTextPosition(e)&&!e.isAtStart()&&!e.isAtEnd()}function Vh(e,t){return J(B(mh(Lt.fromDom(t.container()),e),fr)).getOr(e)}function Lh(e,t){return Mh(t)?Rm(t):Rm(t)||Qu(Vh(e,t).dom,t).exists(Rm)}function wh(e,t){return Mh(t)?Pm(t):Pm(t)||Gu(Vh(e,t).dom,t).exists(Pm)}function _h(e){return tl(e).bind((function(e){return mc(e,Ln)})).exists((function(e){return N(["pre","pre-wrap"],yn(e,"white-space"))}))}function xh(e,t){return!_h(t)&&(Ym(e,t)||Xm(e,t)||Hh(e,t)||Lh(e,t))}function kh(e,t){return!_h(t)&&(Zm(e,t)||Gm(e,t)||Ch(e,t)||wh(e,t))}function Sh(e,t){return xh(e,t)||kh(e,(c=(n=t).container(),r=n.offset(),Bn(c)&&r=e.data.length&&kh(r,os(e,e.data.length)),i=0===t&&xh(r,os(e,0)),e.replaceData(t,n,(l=i,u=o,F(s=a,(function(e,t){return Xl(t)||nf(t)?e.previousCharIsSpace||""===e.str&&l||e.str.length===s.length-1&&u?{previousCharIsSpace:!1,str:e.str+zr}:{previousCharIsSpace:!0,str:e.str+" "}:{previousCharIsSpace:!1,str:e.str+t}}),{previousCharIsSpace:!1,str:""}).str)))}function Nh(e,t){var n=e.data.slice(t);Eh(e,t,n.length-Ke(n).length)}function Oh(e,t){var n=e.data.slice(0,t),c=n.length-Je(n).length;Eh(e,t-c,c)}function Ph(e,t,n,c){void 0===c&&(c=!0);var r=Je(e.data).length,a=c?e:t,o=c?t:e;return c?a.appendData(o.data):a.insertData(0,o.data),En(Lt.fromDom(o)),n&&Nh(a,r),a}function Rh(e,t){return c=e,r=(n=t).container(),a=n.offset(),!1===os.isTextPosition(n)&&r===c.parentNode&&a>os.before(c).offset()?os(t.container(),t.offset()-1):t;var n,c,r,a}function Ih(e){return Bc(e.previousSibling)?ve.some((t=e.previousSibling,Bn(t)?os(t,t.data.length):os.after(t))):e.previousSibling?Ju(e.previousSibling):ve.none();var t}function jh(e){return Bc(e.nextSibling)?ve.some((t=e.nextSibling,Bn(t)?os(t,0):os.before(t))):e.nextSibling?Ku(e.nextSibling):ve.none();var t}function Bh(e,t){return Ih(t).orThunk((function(){return jh(t)})).orThunk((function(){return n=e,r=os.before((c=t).previousSibling||c.parentNode),Qu(n,r).fold((function(){return Gu(n,os.after(c))}),ve.some);var n,c,r}))}function $h(e,t){return jh(t).orThunk((function(){return Ih(t)})).orThunk((function(){return Gu(n=e,os.after(c=t)).fold((function(){return Qu(n,os.before(c))}),ve.some);var n,c}))}function Fh(e,t,n){n.fold((function(){e.focus()}),(function(n){e.selection.setRng(n.toRange(),t)}))}function qh(e,t){return t&&Le(e.schema.getBlockElements(),wt(t))}function Uh(e){if(Uc(e)){var t=Lt.fromHtml('
');return Zt(e),Dn(e,t),ve.some(os.before(t.dom))}return ve.none()}function Wh(e,t,n,c){void 0===c&&(c=!0);var r,a,o,i,s,l,u,f,d,h,m,p,g=(t?$h:Bh)(e.getBody(),p=n.dom).map(L(Rh,p)),v=hc(n,L(qh,e),(r=e.getBody(),function(e){return e.dom===r})),b=(i=g,a=o=n,s=Le(e.schema.getTextInlineElements(),wt(a)),h=Dt(o).filter(wn),m=Et(o).filter(wn),En(o),u=m,f=i,d=function(e,t,n){var c=e.dom,r=t.dom,a=c.data.length;return Ph(c,r,s),n.container()===r?os(c,a):n},((l=h).isSome()&&u.isSome()&&f.isSome()?ve.some(d(l.getOrDie(),u.getOrDie(),f.getOrDie())):ve.none()).orThunk((function(){return s&&(h.each((function(e){return Oh(e.dom,e.dom.length)})),m.each((function(e){return Nh(e.dom,0)}))),i})));e.dom.isEmpty(e.getBody())?(e.setContent(""),e.selection.setCursorLocation()):v.bind(Uh).fold((function(){c&&Fh(e,t,b)}),(function(n){c&&Fh(e,t,ve.some(n))}))}function Yh(e){return vi(e,"td,th")}function Zh(e,t){return{start:e,end:t}}function Xh(e,t){return vc(Lt.fromDom(e),"td,th",t)}function Gh(e){return!$e(e.start,e.end)}function Qh(e,t){return _u(e.start,t).bind((function(n){return _u(e.end,t).bind((function(e){return $e(n,e)?ve.some(n):ve.none()}))}))}function Kh(e){return function(t){return Qh(t,e).map((function(e){return{rng:t,table:e,cells:Yh(e)}}))}}function Jh(e,t,n,c){if(n.collapsed||!e.forall(Gh))return ve.none();if(t.isSameTable){var r=e.bind(Kh(c));return ve.some({start:r,end:r})}var a,o,i=Xh(n.startContainer,c),s=Xh(n.endContainer,c),l=i.bind((o=c,function(e){return _u(e,o).bind((function(t){return ee(Yh(t)).map((function(t){return Zh(e,t)}))}))})).bind(Kh(c)),u=s.bind((a=c,function(e){return _u(e,a).bind((function(t){return J(Yh(t)).map((function(t){return Zh(t,e)}))}))})).bind(Kh(c));return ve.some({start:l,end:u})}function em(e,t){return W(e,(function(e){return $e(e,t)}))}function tm(e){return dn(em(e.cells,e.rng.start),em(e.cells,e.rng.end),(function(t,n){return e.cells.slice(t,n+1)}))}function nm(e,t){var n=t.startTable,c=t.endTable,r=e.cloneRange();return n.each((function(e){return r.setStartAfter(e.dom)})),c.each((function(e){return r.setEndBefore(e.dom)})),r}function cm(e){return R(e,(function(e){zn(e,"contenteditable"),fh(e)})),0}function rm(e,t,n,c){var r=n.cloneRange();c?(r.setStart(n.startContainer,n.startOffset),r.setEndAfter(t.dom.lastChild)):(r.setStartBefore(t.dom.firstChild),r.setEnd(n.endContainer,n.endOffset)),tp(e,r,t,!1)}function am(e){var t=wu(e),n=Lt.fromDom(e.selection.getNode());Xn(n.dom)&&Uc(n)?e.selection.setCursorLocation(n.dom,0):e.selection.collapse(!0),1)?$/," "):a.replace(/ ()?$/," "));var u=e.parser,f=n.merge,d=eh({validate:e.getParam("validate")},e.schema),h='',m=e.fire("BeforeSetContent",{content:t,format:"html",selection:!0,paste:n.paste});if(m.isDefaultPrevented())e.fire("SetContent",{content:m.content,format:"html",selection:!0,paste:n.paste});else{-1===(t=m.content).indexOf("{$caret}")&&(t+="{$caret}"),t=t.replace(/\{\$caret\}/,h);var p,g,v=(p=s.getRng()).startContainer||(p.parentElement?p.parentElement():null),b=e.getBody();v===b&&s.isCollapsed()&&l.isBlock(b.firstChild)&&(g=b.firstChild)&&!e.schema.getShortEndedElements()[g.nodeName]&&l.isEmpty(b.firstChild)&&((p=l.createRng()).setStart(b.firstChild,0),p.setEnd(b.firstChild,0),s.setRng(p)),s.isCollapsed()||function(e){var t=e.dom,n=dm(e.selection.getRng());e.selection.setRng(n);var c,r=t.getParent(n.startContainer,rp),a=n;null!==(c=r)&&c===t.getParent(a.endContainer,rp)&&xu(Lt.fromDom(c),a)?tp(e,n,Lt.fromDom(r)):e.getDoc().execCommand("Delete",!1,null)}(e);var z,y,C,H,M,V,L,w,_,x,k,S,A,T,D={context:(R=s.getNode()).nodeName.toLowerCase(),data:n.data,insert:!0},E=u.parse(t,D);if(!0===n.paste&&function(e,t){var n,c,r,a,o,i=t.firstChild,s=t.lastChild;return i&&"meta"===i.name&&(i=i.next),c=s=s&&"mce_marker"===s.attr("id")?s.prev:s,r=(n=e).getNonEmptyElements(),c&&(c.isEmpty(r)||(a=c,n.getBlockElements()[a.name]&&a.firstChild&&a.firstChild===a.lastChild&&("br"===(o=a.firstChild).name||o.value===zr)))&&(s=s.prev),i&&i===s&&("ul"===i.name||"ol"===i.name)}(e.schema,E)&&hm(l,R))return p=pm(d,l,s.getRng(),E),s.setRng(p),void e.fire("SetContent",m);if(function(){for(var e=E;e=e.walk();)1===e.type&&e.attr("data-mce-fragment","1")}(),"mce_marker"===(P=E.lastChild).attr("id"))for(var N=P,P=P.prev;P;P=P.walk(!0))if(3===P.type||!l.isBlock(P.name)){e.schema.isValidChild(P.parent.name,"span")&&P.parent.insert(N,P,"br"===P.name);break}if(e._selectionOverrides.showBlockCaretContainer(R),D.invalid){e.selection.setContent(h);var R=s.getNode(),I=e.getBody();for(9===R.nodeType?R=P=I:P=R;P!==I;)P=(R=P).parentNode;t=R===I?I.innerHTML:l.getOuterHTML(R),t=d.serialize(u.parse(t.replace(//i,(function(){return d.serialize(E)})))),R===I?l.setHTML(I,t):l.setOuterHTML(R,t)}else z=e,y=t=d.serialize(E),"all"===(C=R).getAttribute("data-mce-bogus")?C.parentNode.insertBefore(z.dom.createFragment(y),C):(H=C.firstChild,M=C.lastChild,!H||H===M&&"BR"===H.nodeName?z.dom.setHTML(C,y):z.selection.setContent(y));L=f,x=(V=e).schema.getTextInlineElements(),k=V.dom,L&&(w=V.getBody(),_=Kd(k),Vt.each(k.select("*[data-mce-fragment]"),(function(e){if(i(x[e.nodeName.toLowerCase()])&&Z(ah(k,e),(function(e){return!rh.has(e)})))for(var t=e.parentNode;i(t)&&t!==w&&!function(e,t,n){function c(c){var r=e.getStyle(t,c),a=e.getStyle(n,c);return De(r)&&De(a)&&r!==a}var r=ah(e,t),a=ah(e,n);return O(r,(function(e){function t(t){return O(t,(function(t){return t===e}))}if(t(a)||!t(Om))return c(e);var n=B(a,(function(e){return O(Om,(function(t){return Ge(e,t)}))}));return O(n,c)}))}(k,e,t);t=t.parentNode)if(_.compare(t,e)){k.remove(e,!0);break}}))),function(e,t){var n,c=e.dom,r=e.selection;if(t){r.scrollIntoView(t);var a=hf(e.getBody(),t);if("false"===c.getContentEditable(a))return c.remove(t),r.select(a);var o,i=c.createRng(),s=t.previousSibling;Bn(s)?(i.setStart(s,s.nodeValue.length),Ct.ie||(o=t.nextSibling,Bn(o)&&(s.appendData(o.data),o.parentNode.removeChild(o)))):(i.setStartBefore(t),i.setEndBefore(t));var l=c.getParent(t,c.isBlock);c.remove(t),l&&c.isEmpty(l)&&(e.$(l).empty(),i.setStart(l,0),i.setEnd(l,0),rp(l)||l.getAttribute("data-mce-fragment")||!(n=function(t){var n=os.fromRangeStart(t);if(n=Dl(e.getBody()).next(n))return n.toRange()}(i))?c.add(l,c.create("br",{"data-mce-bogus":"1"})):(i=n,c.remove(l))),r.setRng(i)}}(e,l.get("mce_marker")),S=e.getBody(),Vt.each(S.getElementsByTagName("*"),(function(e){e.removeAttribute("data-mce-fragment")})),A=l,T=s.getStart(),ve.from(A.getParent(T,"td,th")).map(Lt.fromDom).each(dh),e.fire("SetContent",m),e.addVisual()}}function vm(e){return e instanceof Od}function bm(e,t,n){var c;e.dom.setHTML(e.getBody(),t),!0!==n&&md(c=e)&&Ku(c.getBody()).each((function(e){var t=e.getNode(),n=ln(t)?Ku(t).getOr(e):e;c.selection.setRng(n.toRange())}))}function zm(e){return M(e)?e:S}function ym(e,t,n){var c=t(e),r=zm(n);return c.orThunk((function(){return r(e)?ve.none():function(t){for(var n=e.dom,c=zm(r);n.parentNode;){n=n.parentNode;var a=Lt.fromDom(n),o=t(a);if(o.isSome())return o;if(c(a))break}return ve.none()}(t)}))}function Cm(e,t,n){var c=e.formatter.get(n);if(c)for(var r=0;r=r.nodeValue.length&&(r=new xc(r,e.getBody()).next()||r),Bn(r)&&!n&&0===a&&new xc(r,e.getBody()).prev()||r}function Cp(e,t){var n=t?"firstChild":"lastChild";if(/^(TR|TH|TD)$/.test(e.nodeName)&&e[n]){var c=e[n];return"TR"===e.nodeName&&c[n]||c}return e}function Hp(e,t,n,c){var r=e.create(n,c);return t.parentNode.insertBefore(r,t),r.appendChild(t),r}function Mp(e,t,n,c,r){var a=Lt.fromDom(t),o=Lt.fromDom(e.create(c,r));return Yt(o,(n?Ot:Nt)(a)),n?(qt(a,o),Wt(o,a)):(Ut(a,o),Dn(o,a)),o.dom}function Vp(e,t,n,c){var r=Jl(t,n,c);return o(r)||"BR"===r.nodeName||e.isBlock(r)}function Lp(e,t,n,c,r){var a,o,i=e.dom,s=i,l=c;if(!(fu(o=t)&&dg(l,o.inline)||lu(o)&&dg(l,o.block)||uu(o)&&In(l)&&s.is(l,o.selector)||t.links&&"A"===c.nodeName))return lg.keep();var u,f,d,h,m,p,g,v,b=c;if(fu(t)&&"all"===t.remove&&z(t.preserve_attributes)){var y=B(i.getAttribs(b),(function(e){return N(t.preserve_attributes,e.name.toLowerCase())}));if(i.removeAllAttribs(b),R(y,(function(e){return i.setAttrib(b,e.name,e.value)})),0e?t.cells.length:e}),0)}function Pp(e,t){for(var n=e.rows,c=0;c")?{type:"fragmented",fragments:n,content:"",bookmark:null,beforeBookmark:null}:{type:"complete",fragments:null,content:c,bookmark:null,beforeBookmark:null}}function Wp(e,t,n){var c,r,a,o,s,l,u,f,d,h,m,p=n?t.beforeBookmark:t.bookmark;function g(e,t,n,c){for(var r=e;r-tl){for(var u=0;u]*>( | |\\s| |
|)<\\/"+u+">[\r\n]*|
[\r\n]*)$"),l.replace(f,"")),N(["text","tree"],h.format)||vr(Lt.fromDom(o))?h.content=m:h.content=Vt.trim(m),(h.no_events?h:t.fire("GetContent",h)).content;var t,n,o,i,s,l,u,f,d,h,m}));var c,r,a},setContent:function(t,n){return function(e,t,n){var c,r=(c=t,_e(_e({format:"html"},n),{set:!0,content:vm(c)?"":c})),a=n.no_events?r:e.fire("BeforeSetContent",r);return vm(t)||(t=a.content),ve.from(e.getBody()).fold(f(t),(function(n){return vm(t)?function(e,t,n,c){var r,a,o,i;r=e.parser.getNodeFilters(),a=e.parser.getAttributeFilters(),o=n,i=function(e,t){var n,c,r={},a={},i=[];for(n in o.firstChild&&ap(o.firstChild,(function(n){R(e,(function(e){e.name===n.name&&(r[e.name]?r[e.name].nodes.push(n):r[e.name]={filter:e,nodes:[n]})})),R(t,(function(e){"string"==typeof n.attr(e.name)&&(a[e.name]?a[e.name].nodes.push(n):a[e.name]={filter:e,nodes:[n]})}))})),r)Le(r,n)&&i.push(r[n]);for(c in a)Le(a,c)&&i.push(a[c]);return i}(r,a),R(i,(function(e){R(e.filter.callbacks,(function(t){t(e.nodes,e.filter.name,{})}))}));var s=eh({validate:e.validate},e.schema).serialize(n);return c.content=vr(Lt.fromDom(t))?s:Vt.trim(s),bm(e,c.content,c.no_selection),c.no_events||e.fire("SetContent",c),n}(e,n,t,a):(c=e,r=n,i=a,0===(o=t).length||/^\s+$/.test(o)?(s='
',"TABLE"===r.nodeName?o=""+s+"":/^(UL|OL)$/.test(r.nodeName)&&(o="
  • "+s+"
  • "),o=(l=Ms(c))&&c.schema.isValidChild(r.nodeName.toLowerCase(),l.toLowerCase())?(o=s,c.dom.createHTML(l,Vs(c),o)):o||'
    ',bm(c,o,i.no_selection),c.fire("SetContent",i)):("raw"!==i.format&&(o=eh({validate:c.validate},c.schema).serialize(c.parser.parse(o,{isRootContent:!0,insert:!0}))),i.content=vr(Lt.fromDom(r))?o:Vt.trim(o),bm(c,i.content,i.no_selection),i.no_events||c.fire("SetContent",i)),i.content);var c,r,o,i,s,l}))}(e,t,n)},insertContent:function(t,n){return gm(e,t,n)},addVisual:function(t){var n,c=t,r=(n=e).dom,a=i(c)?c:n.getBody();H(n.hasVisual)&&(n.hasVisual=n.getParam("visual",!0,"boolean")),R(r.select("table,a",a),(function(e){switch(e.nodeName){case"TABLE":var t=n.getParam("visual_table_class","mce-item-table","string"),c=r.getAttrib(e,"border");c&&"0"!==c||!n.hasVisual?r.removeClass(e,t):r.addClass(e,t);break;case"A":var a,o;r.getAttrib(e,"href")||(a=r.getAttrib(e,"name")||e.id,o=n.getParam("visual_anchor_class","mce-item-anchor","string"),a&&n.hasVisual?r.addClass(e,o):r.removeClass(e,o))}})),n.fire("VisualAid",{element:c,hasVisual:n.hasVisual})}},selection:{getContent:function(t,n){return function(e,t,n){var c,r=(c=t,_e(_e({},n=void 0===n?{}:n),{format:c,get:!0,selection:!0})),a=e.fire("BeforeGetContent",r);if(a.isDefaultPrevented())return e.fire("GetContent",a),a.content;if("text"===a.format)return h=e,ve.from(h.selection.getRng()).map((function(e){var t=ve.from(h.dom.getParent(e.commonAncestorContainer,h.dom.isBlock)),n=h.getBody(),c=t.map((function(e){return e.nodeName})).getOr("div").toLowerCase(),r=Ct.browser.isIE()&&"pre"!==c,a=h.dom.add(n,c,{"data-mce-bogus":"all",style:"overflow: hidden; opacity: 0;"},e.cloneContents()),o=Fp(a,r),i=Hr(a.textContent);if(h.dom.remove(a),$p(i,0)||$p(i,i.length-1)){var s=Fp(t.getOr(n),r),l=s.indexOf(o);return-1===l?o:($p(s,l-1)?" ":"")+o+($p(s,l+o.length)?" ":"")}return o})).getOr("");a.getInner=!0;var o,i,s,l,u,f,d,h,m=(i=a,s=(o=e).selection.getRng(),l=o.dom.create("body"),u=o.selection.getSel(),f=zd(o,Vu(u)),(d=i.contextual?function(e,t){var n,c,r,a,o,i,s,l=Lu(t,e);return 0
    ").append(t.childNodes)})))},up.pre||(up.pre=[]),up.pre.push(Nm);var ig=Vt.each,sg=function(e,t,n){ig(e.childNodes,(function(e){hp(e)&&(t(e)&&n(e),e.hasChildNodes()&&sg(e,t,n))}))},lg=cc([{keep:[]},{rename:["name"]},{removed:[]}]),ug=/^(src|href|style)$/,fg=Vt.each,dg=cu,hg=Vt.each,mg=Vt.each,pg=function(e,t,n,c){function r(e,t){var r;M((t=void 0===t?h:t).onformat)&&t.onformat(e,t,n,c),mg(t.styles,(function(t,c){p.setStyle(e,c,nu(t,n))})),!t.styles||(r=p.getAttrib(e,"style"))&&p.setAttrib(e,"data-mce-style",r),mg(t.attributes,(function(t,c){p.setAttrib(e,c,nu(t,n))})),mg(t.classes,(function(t){t=nu(t,n),p.hasClass(e,t)||p.addClass(e,t)}))}function a(e,t){var n=!1;return mg(e,(function(e){return!!uu(e)&&(i(e.collapsed)&&e.collapsed!==m||!p.is(t,e.selector)||Il(t)?void 0:(r(t,e),!(n=!0)))})),n}function o(c,o,s){var l=[],u=!0,f=h.inline||h.block,m=function(e){if(v(e)){var t=p.create(e);return r(t),t}return null}(f);Mu(c,o,(function(o){var p,g=function(o){var v=!1,b=u,z=o.nodeName.toLowerCase(),y=o.parentNode,C=y.nodeName.toLowerCase();if(In(o)&&c.getContentEditable(o)&&(b=u,u="true"===c.getContentEditable(o),v=!0),Un(o)&&!function(e,t,n,c){if(e.getParam("format_empty_lines",!1,"boolean")&&fu(t)){var r=er(e.schema),a=(o=Lt.fromDom(n),s=function(e){return Il(e.dom)},((l=(i=o).dom).parentNode?Vc(Lt.fromDom(l.parentNode),(function(e){return!$e(i,e)&&s(e)})):ve.none()).isSome());return se(r,c)&&Uc(Lt.fromDom(n.parentNode),!1)&&!a}var o,i,s,l}(e,h,o,C))return p=null,void(lu(h)&&c.remove(o));if(lu(h)&&h.wrapper&&ip(e,o,t,n))p=null;else{if(u&&!v&&lu(h)&&!h.wrapper&&eu(e,z)&&tu(e,C,f)){var H=c.rename(o,f);return r(H),l.push(H),void(p=null)}if(uu(h)){var M=a(d,o);if(!M&&i(y)&&du(h)&&(M=a(d,y)),!fu(h)||M)return void(p=null)}!u||v||!tu(e,f,z)||!tu(e,C,f)||!s&&Bn(o)&&Cr(o.data)||Il(o)||fu(h)&&c.isBlock(o)?(p=null,R(Ce(o.childNodes),g),v&&(u=b),p=null):(p||(p=c.clone(m,!1),o.parentNode.insertBefore(p,o),l.push(p)),p.appendChild(o))}};R(o,g)})),!0===h.links&&R(l,(function(e){var t=function(e){"A"===e.nodeName&&r(e,h),R(Ce(e.childNodes),t)};t(e)})),R(l,(function(a){var o,s,u,f,m,p,g,v,b,z,y,C,H,M,V,L,w,_,x=(o=0,R(a.childNodes,(function(e){var t;i(t=e)&&Bn(t)&&0===t.length||Zl(e)||o++})),o);function k(e){var t;1===e.nodeType&&e.parentNode&&1===e.parentNode.nodeType&&(t=ou(H,e.parentNode),H.getStyle(e,"color")&&t?H.setStyle(e,"text-decoration",t):H.getStyle(e,"text-decoration")===t&&H.setStyle(e,"text-decoration",null))}!(1n.clientHeight){t=n;break}n=n.parentNode}return t},scrollIntoView:function(e,t){i(e)?(c.inline?Zf:Gf)(c,e,t):Qf(c,g(),t)},placeCaretAt:function(e,t){return v(yf(e,t,c.getDoc()))},getBoundingClientRect:function(){var e=g();return e.collapsed?os.fromRangeStart(e).getClientRects()[0]:e.getBoundingClientRect()},destroy:function(){t=l=u=null,y.destroy()}},z=Ou(b),y=bf(b,c);function C(e,t){return U(t,(function(t){return f.is(t,e)}))}function H(e){return f.getParents(e,null,f.getRoot())}return b.bookmarkManager=z,b.controlSelection=y,b}function Hg(e){var t,n=decodeURIComponent(e).split(","),c=/data:([^;]+)/.exec(n[0]);return{type:t=c?c[1]:t,data:n[1]}}function Mg(e,t){var n;try{n=atob(t)}catch(e){return ve.none()}for(var c=new Uint8Array(n.length),r=0;r)/g,"\n").replace(/^[\r\n]*|[\r\n]*$/g,"").replace(/^\s*(()?|\s*\/\/\s*\]\]>(-->)?|\/\/\s*(-->)?|\]\]>|\/\*\s*-->\s*\*\/|\s*-->\s*)\s*$/g,"")},c=e.length;c--;){var r,a=e[c],o=a.firstChild?a.firstChild.value:"";"script"===t?((r=a.attr("type"))&&a.attr("type","mce-no/type"===r?null:r.replace(/^mce\-/,"")),"xhtml"===i.element_format&&0")):"xhtml"===i.element_format&&0)\s*/g,"$1"),Vt.map(s.split(/(?:>|\s+(?![^\[\]]+\]))/),(function(e){var t=Vt.map(e.split(/(?:~\+|~|\+)/),_v),n=t.pop();return t.length&&(n.siblings=t),n})).reverse()):[],f=u.length?(u[0].name||(u[0].name=l),l=t.selector,wv(u,e)):wv([l],e),d=Fb.select(l,f)[0]||f.firstChild;return $b(t.styles,(function(e,t){var n=o(e);n&&Fb.setStyle(d,t,n)})),$b(t.attributes,(function(e,t){var n=o(e);n&&Fb.setAttrib(d,t,n)})),$b(t.classes,(function(e){var t=o(e);Fb.hasClass(d,t)||Fb.addClass(d,t)})),e.fire("PreviewFormats"),Fb.setStyles(f,{position:"absolute",left:-65535}),e.getBody().appendChild(f),n=Fb.getStyle(e.getBody(),"fontSize",!0),n=/px$/.test(n)?parseInt(n,10):0,$b(a.split(" "),(function(t){var c=Fb.getStyle(d,t,!0);if(!("background-color"===t&&/transparent|rgba\s*\([^)]+,\s*0\)/.test(c)&&(c=Fb.getStyle(e.getBody(),t,!0),"#ffffff"===Fb.toHex(c).toLowerCase())||"color"===t&&"#000000"===Fb.toHex(c).toLowerCase())){if("font-size"===t&&/em|%$/.test(c)){if(0===n)return;c=parseFloat(c)/(/%$/.test(c)?100:1)*n+"px"}"border"===t&&c&&(r+="padding:0 2px;"),r+=t+":"+c+";"}})),e.fire("AfterPreviewFormats"),Fb.remove(f),r}function kv(e){var t,n,c,r,a,o,s=(r={},(a=function(e,t){e&&(v(e)?(R(t=z(t)?t:[t],(function(e){H(e.deep)&&(e.deep=!uu(e)),H(e.split)&&(e.split=!uu(e)||fu(e)),H(e.remove)&&uu(e)&&!fu(e)&&(e.remove="none"),uu(e)&&fu(e)&&(e.mixed=!0,e.block_expand=!0),v(e.classes)&&(e.classes=e.classes.split(/\s+/))})),r[e]=t):ne(e,(function(e,t){a(t,e)})))})((n=(t=e).dom,c={valigntop:[{selector:"td,th",styles:{verticalAlign:"top"}}],valignmiddle:[{selector:"td,th",styles:{verticalAlign:"middle"}}],valignbottom:[{selector:"td,th",styles:{verticalAlign:"bottom"}}],alignleft:[{selector:"figure.image",collapsed:!1,classes:"align-left",ceFalseOverride:!0,preview:"font-family font-size"},{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li",styles:{textAlign:"left"},inherit:!1,preview:!1,defaultBlock:"div"},{selector:"img,table,audio,video",collapsed:!1,styles:{float:"left"},preview:"font-family font-size"}],aligncenter:[{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li",styles:{textAlign:"center"},inherit:!1,preview:"font-family font-size",defaultBlock:"div"},{selector:"figure.image",collapsed:!1,classes:"align-center",ceFalseOverride:!0,preview:"font-family font-size"},{selector:"img,audio,video",collapsed:!1,styles:{display:"block",marginLeft:"auto",marginRight:"auto"},preview:!1},{selector:"table",collapsed:!1,styles:{marginLeft:"auto",marginRight:"auto"},preview:"font-family font-size"}],alignright:[{selector:"figure.image",collapsed:!1,classes:"align-right",ceFalseOverride:!0,preview:"font-family font-size"},{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li",styles:{textAlign:"right"},inherit:!1,preview:"font-family font-size",defaultBlock:"div"},{selector:"img,table,audio,video",collapsed:!1,styles:{float:"right"},preview:"font-family font-size"}],alignjustify:[{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li",styles:{textAlign:"justify"},inherit:!1,defaultBlock:"div",preview:"font-family font-size"}],bold:[{inline:"strong",remove:"all",preserve_attributes:["class","style"]},{inline:"span",styles:{fontWeight:"bold"}},{inline:"b",remove:"all",preserve_attributes:["class","style"]}],italic:[{inline:"em",remove:"all",preserve_attributes:["class","style"]},{inline:"span",styles:{fontStyle:"italic"}},{inline:"i",remove:"all",preserve_attributes:["class","style"]}],underline:[{inline:"span",styles:{textDecoration:"underline"},exact:!0},{inline:"u",remove:"all",preserve_attributes:["class","style"]}],strikethrough:[{inline:"span",styles:{textDecoration:"line-through"},exact:!0},{inline:"strike",remove:"all",preserve_attributes:["class","style"]},{inline:"s",remove:"all",preserve_attributes:["class","style"]}],forecolor:{inline:"span",styles:{color:"%value"},links:!0,remove_similar:!0,clear_child_styles:!0},hilitecolor:{inline:"span",styles:{backgroundColor:"%value"},links:!0,remove_similar:!0,clear_child_styles:!0},fontname:{inline:"span",toggle:!1,styles:{fontFamily:"%value"},clear_child_styles:!0},fontsize:{inline:"span",toggle:!1,styles:{fontSize:"%value"},clear_child_styles:!0},lineheight:{selector:"h1,h2,h3,h4,h5,h6,p,li,td,th,div",defaultBlock:"p",styles:{lineHeight:"%value"}},fontsize_class:{inline:"span",attributes:{class:"%value"}},blockquote:{block:"blockquote",wrapper:!0,remove:"all"},subscript:{inline:"sub"},superscript:{inline:"sup"},code:{inline:"code"},link:{inline:"a",selector:"a",remove:"all",split:!0,deep:!0,onmatch:function(e,t,n){return In(e)&&e.hasAttribute("href")},onformat:function(e,t,c){Vt.each(c,(function(t,c){n.setAttrib(e,c,t)}))}},lang:{inline:"span",clear_child_styles:!0,remove_similar:!0,attributes:{lang:"%value","data-mce-lang":function(e){var t;return null!==(t=null==e?void 0:e.customValue)&&void 0!==t?t:null}}},removeformat:[{selector:"b,strong,em,i,font,u,strike,s,sub,sup,dfn,code,samp,kbd,var,cite,mark,q,del,ins,small",remove:"all",split:!0,expand:!1,block_expand:!0,deep:!0},{selector:"span",attributes:["style","class"],remove:"empty",split:!0,expand:!1,deep:!0},{selector:"*",attributes:["style","class"],split:!1,expand:!1,deep:!0}]},Vt.each("p h1 h2 h3 h4 h5 h6 div address pre dt dd samp".split(/\s/),(function(e){c[e]={block:e,remove:"all"}})),c)),a(t.getParam("formats")),{get:function(e){return i(e)?r[e]:r},has:function(e){return Le(r,e)},register:a,unregister:function(e){return e&&r[e]&&delete r[e],r}}),l=ri(null);return function(e){e.addShortcut("meta+b","","Bold"),e.addShortcut("meta+i","","Italic"),e.addShortcut("meta+u","","Underline");for(var t=1;t<=6;t++)e.addShortcut("access+"+t,"",["FormatBlock",!1,"h"+t]);e.addShortcut("access+7","",["FormatBlock",!1,"p"]),e.addShortcut("access+8","",["FormatBlock",!1,"div"]),e.addShortcut("access+9","",["FormatBlock",!1,"address"])}(e),(o=e).on("mouseup keydown",(function(e){var t=o,n=e.keyCode,c=t.selection,r=t.getBody();Sm(t,null,!1),8!==n&&46!==n||!c.isCollapsed()||c.getStart().innerHTML!==sp||Sm(t,jl(r,c.getStart())),37!==n&&39!==n||Sm(t,jl(r,c.getStart()))})),{get:s.get,has:s.has,register:s.register,unregister:s.unregister,apply:function(t,n,c){var r=t,a=n,o=c;cg(e).formatter.apply(r,a,o)},remove:function(t,n,c,r){var a=t,o=n,i=c,s=r;cg(e).formatter.remove(a,o,i,s)},toggle:function(t,n,c){var r=t,a=n,o=c;cg(e).formatter.toggle(r,a,o)},match:function(t,n,c,r){return a=t,o=n,i=c,s=r,cg(e).formatter.match(a,o,i,s);var a,o,i,s},closest:function(t){return n=t,cg(e).formatter.closest(n);var n},matchAll:function(t,n){return c=t,r=n,cg(e).formatter.matchAll(c,r);var c,r},matchNode:function(t,n,c,r){return a=t,o=n,i=c,s=r,cg(e).formatter.matchNode(a,o,i,s);var a,o,i,s},canApply:function(t){return n=t,cg(e).formatter.canApply(n);var n},formatChanged:function(t,n,c,r){return a=l,o=t,i=n,s=c,u=r,cg(e).formatter.formatChanged(a,o,i,s,u);var a,o,i,s,u},getCssText:L(xv,e)}}function Sv(e){switch(e.toLowerCase()){case"undo":case"redo":case"mcerepaint":case"mcefocus":return 1;default:return}}function Av(e){var t,n,c,r,a,o=ui(),i=ri(0),s=ri(0),l={data:[],typing:!1,beforeChange:function(){var t=i,n=o;cg(e).undoManager.beforeChange(t,n)},add:function(t,n){return c=l,r=s,a=i,u=o,f=t,d=n,cg(e).undoManager.add(c,r,a,u,f,d);var c,r,a,u,f,d},undo:function(){return t=l,n=i,c=s,cg(e).undoManager.undo(t,n,c);var t,n,c},redo:function(){return t=s,n=l.data,cg(e).undoManager.redo(t,n);var t,n},clear:function(){var t=l,n=s;cg(e).undoManager.clear(t,n)},reset:function(){var t=l;cg(e).undoManager.reset(t)},hasUndo:function(){return t=l,n=s,cg(e).undoManager.hasUndo(t,n);var t,n},hasRedo:function(){return t=l,n=s,cg(e).undoManager.hasRedo(t,n);var t,n},transact:function(t){return n=l,c=i,r=t,cg(e).undoManager.transact(n,c,r);var n,c,r},ignore:function(t){var n=i,c=t;cg(e).undoManager.ignore(n,c)},extra:function(t,n){var c=l,r=s,a=t,o=n;cg(e).undoManager.extra(c,r,a,o)}};return eg(e)||(c=l,r=i,a=ri(!1),(n=e).on("init",(function(){c.add()})),n.on("BeforeExecCommand",(function(e){Sv(e.command)||(Kp(c,r),c.beforeChange())})),n.on("ExecCommand",(function(e){Sv(e.command)||u(e)})),n.on("ObjectResizeStart cut",(function(){c.beforeChange()})),n.on("SaveContent ObjectResized blur",u),n.on("dragend",u),n.on("keyup",(function(e){var t=e.keyCode;e.isDefaultPrevented()||((33<=t&&t<=36||37<=t&&t<=40||45===t||e.ctrlKey)&&(u(),n.nodeChanged()),46!==t&&8!==t||n.nodeChanged(),a.get()&&c.typing&&!1===Xp(Up(n),c.data[0])&&(!1===n.isDirty()&&(n.setDirty(!0),n.fire("change",{level:c.data[0],lastLevel:null})),n.fire("TypingUndo"),a.set(!1),n.nodeChanged()))})),n.on("keydown",(function(e){var t,n=e.keyCode;e.isDefaultPrevented()||(33<=n&&n<=36||37<=n&&n<=40||45===n?c.typing&&u(e):(t=e.ctrlKey&&!e.altKey||e.metaKey,!(n<16||20e}}function zz(e){return function(t){return t.line===e}}function yz(e,t){return Math.abs(e.left-t)}function Cz(e,t){return Math.abs(e.right-t)}function Hz(e,t){return e>=t.left&&e<=t.right}function Mz(e,t){return e>=t.top&&e<=t.bottom}function Vz(e,t,n){return void 0===n&&(n=A),he(e,(function(e,c){if(Hz(t,c))return n(c)?c:e;if(Hz(t,e))return n(e)?e:c;var r=Math.min(yz(e,t),Cz(e,t)),a=Math.min(yz(c,t),Cz(c,t));return a===r&&se(c,"node")&&sC(c.node)||a'),r=a,1===t?e.$(c).after(r):e.$(c).before(r),e.selection.select(r,!0),e.selection.collapse()))}function cy(e,t){return n=e,c=t?rl.Forwards:rl.Backwards,r=n.selection.getRng(),xz(n,c,r,Um,Wm,mC).orThunk((function(){return ny(n,c,r),ve.none()})).exists((function(t){return wz(e,t),!0}));var n,c,r}function ry(e,t){return c=t?1:-1,r=(n=e).selection.getRng(),kz(n,c,r,(function(e){return Um(e)||Fm(e)}),(function(e){return Wm(e)||qm(e)}),mC).orThunk((function(){return ny(n,c,r),ve.none()})).exists((function(t){return wz(e,t),!0}));var n,c,r}function ay(e,t){return Sz(e,t,t?Wm:Um)}function oy(e){return N(["figcaption"],wt(e))}function iy(e){var t=document.createRange();return t.setStartBefore(e.dom),t.setEndBefore(e.dom),t}function sy(e,t,n){(n?Dn:Wt)(e,t)}function ly(e,t){return!!e.selection.isCollapsed()&&function(e,t){var n=Lt.fromDom(e.getBody()),c=os.fromRangeStart(e.selection.getRng()),r=Ms(e),a=Vs(e),o=c,i=L($e,n);return mc(Lt.fromDom(o.container()),fr,i).filter(oy).exists((function(){if(b=n,z=c,t?(C=b.dom,mz(C,z).breakAt.isNone()):(y=b.dom,hz(y,z).breakAt.isNone())){var o=(i=n,l=a,u=t,""===(s=r)?(g=u,sy(i,v=Lt.fromTag("br"),g),iy(v)):(f=i,d=u,h=l,m=Lt.fromTag(s),p=Lt.fromTag("br"),gn(m,h),Dn(m,p),sy(f,m,d),iy(p)));return e.selection.setRng(o),!0}var i,s,l,u,f,d,h,m,p,g,v,b,z,y,C;return!1}))}(e,t)}function uy(e){for(var t=[],n=1;nl.childNodes.length-1,l=l.childNodes[Math.min(s,l.childNodes.length-1)]||l,s=i&&3===l.nodeType?l.nodeValue.length:0);var u=a.getParent(l,a.isBlock),f=u?a.getParent(u.parentNode,a.isBlock):null,d=f?f.nodeName.toUpperCase():"",h=!(!t||!t.ctrlKey);"LI"!==d||h||(u=f),l&&3===l.nodeType&&s>=l.nodeValue.length&&!function(e){for(var t,n=new xc(l,u),c=e.getNonEmptyElements();t=n.next();)if(c[t.nodeName.toLowerCase()]||0h.childNodes.length-1,h=h.childNodes[Math.min(m,h.childNodes.length-1)]||h,m=s&&Bn(h)?h.nodeValue.length:0);var b,z,y,C,H,M,V,L,w,_,x,k,S,A,T,D,E,N,O,P,I=Dy(l,h);I&&((p&&!g||!p&&g)&&(h=function(e,t,n,c){var r,a,o,i,s,l,u=p||"P",f=e.dom,d=Dy(f,n),h=f.getParent(n,f.isBlock);if(!h||!Ay(f,h)){if(s=((h=h||d)===e.getBody()||(l=h)&&/^(TD|TH|CAPTION)$/.test(l.nodeName)?h:h.parentNode).nodeName.toLowerCase(),!h.hasChildNodes())return Ey(e,r=f.create(u)),h.appendChild(r),t.setStart(r,0),t.setEnd(r,0),r;for(o=n;o.parentNode!==h;)o=o.parentNode;for(;o&&!f.isBlock(o);)o=(a=o).previousSibling;if(a&&e.schema.isValidChild(s,u.toLowerCase())){for(Ey(e,r=f.create(u)),a.parentNode.insertBefore(r,a),o=a;o&&!f.isBlock(o);)i=o.nextSibling,r.appendChild(o),o=i;t.setStart(n,c),t.setEnd(n,c)}}return n}(e,d,h,m)),z=(b=l.getParent(h,l.isBlock))?l.getParent(b.parentNode,l.isBlock):null,y=b?b.nodeName.toUpperCase():"","LI"!==(C=z?z.nodeName.toUpperCase():"")||v||(z=(b=z).parentNode,y=C),/^(LI|DT|DD)$/.test(y)&&l.isEmpty(b)?(L=n,w=z,_=b,x=p,O=(V=e).dom,P=V.selection.getRng(),w!==V.getBody()&&(S=(x=wy(k=w)&&wy(k.parentNode)?"LI":x)?L(x):O.create("BR"),xy(w,_,!0)&&xy(w,_,!1)?Ly(w,"LI")?(A=_y(w),O.insertAfter(S,A),(null===(N=(E=w).parentNode)||void 0===N?void 0:N.firstChild)===E?O.remove(A):O.remove(w)):O.replace(S,w):(xy(w,_,!0)?Ly(w,"LI")?(O.insertAfter(S,_y(w)),S.appendChild(O.doc.createTextNode(" ")),S.appendChild(w)):w.parentNode.insertBefore(S,w):xy(w,_,!1)?O.insertAfter(S,_y(w)):(w=_y(w),(T=P.cloneRange()).setStartAfter(_),T.setEndAfter(w),D=T.extractContents(),"LI"===x&&D.firstChild&&"LI"===D.firstChild.nodeName?(S=D.firstChild,O.insertAfter(D,w)):(O.insertAfter(D,w),O.insertAfter(S,w))),O.remove(_)),My(V,S))):p&&b===e.getBody()||(p=p||"P",Dc(b)?(o=Ic(b),l.isEmpty(b)&&ky(b),Ey(e,o),My(e,o)):c()?r():c(!0)?(o=b.parentNode.insertBefore(n(),b),My(e,Sy(b,"HR")?o:b)):((M=(H=d).cloneRange()).setStart(H.startContainer,Ty(!0,H.startContainer,H.startOffset)),M.setEnd(H.endContainer,Ty(!1,H.endContainer,H.endOffset)),(a=M.cloneRange()).setEndAfter(b),i=a.extractContents(),R(Bi(Lt.fromDom(i),wn),(function(e){var t=e.dom;t.nodeValue=Hr(t.nodeValue)})),function(e){for(;Bn(e)&&(e.nodeValue=e.nodeValue.replace(/^[\r\n]+/,"")),e=e.firstChild;);}(i),o=i.firstChild,l.insertAfter(i,b),function(e,t){var n,c,r=o,a=[];if(r){for(;r=r.firstChild;){if(e.isBlock(r))return;In(r)&&!t[r.nodeName.toLowerCase()]&&a.push(r)}for(n=a.length;n--;)(!(r=a[n]).hasChildNodes()||r.firstChild===r.lastChild&&""===r.firstChild.nodeValue||(c=r)&&"A"===c.nodeName&&e.isEmpty(c))&&e.remove(r)}}(l,f),function(e,t){t.normalize();var n=t.lastChild;n&&!/^(left|right)$/gi.test(e.getStyle(n,"float",!0))||e.add(t,"br")}(l,b),l.isEmpty(b)&&ky(b),o.normalize(),l.isEmpty(o)?(l.remove(o),r()):(Ey(e,o),My(e,o))),l.setAttrib(o,"id",""),e.fire("NewBlock",{newBlock:o})))}(e,t)}),s)}function eC(e){return e.stopImmediatePropagation()}function tC(e){return e.keyCode===Af.PAGE_UP||e.keyCode===Af.PAGE_DOWN}function nC(e,t,n){n&&!e.get()?t.on("NodeChange",eC,!0):!n&&e.get()&&t.off("NodeChange",eC),e.set(n)}function cC(e,t){var n=t.container(),c=t.offset();return Bn(n)?(n.insertData(c,e),ve.some(os(n,c+e.length))):tl(t).map((function(n){var c=Lt.fromText(e);return(t.isAtEnd()?Ut:qt)(n,c),os(c.dom,e.length)}))}function rC(e){var t,n,c=os.fromRangeStart(e.selection.getRng()),r=Lt.fromDom(e.getBody());if(e.selection.isCollapsed()){var a=L(Ev,e),o=os.fromRangeStart(e.selection.getRng());return kb(a,e.getBody(),o).bind((n=r,function(e){return e.fold((function(e){return Qu(n.dom,os.before(e))}),(function(e){return Ku(e)}),(function(e){return Ju(e)}),(function(e){return Gu(n.dom,os.after(e))}))})).bind(function(e,t){return function(n){return a=e,(!_h(o=n)&&(r=o,Qu((c=a).dom,r).isNone()||Gu(c.dom,r).isNone()||Ym(c,r)||Zm(c,r)||Hh(c,r)||Ch(c,r)||Lh(a,o)||wh(a,o))?MC:VC)(t);var c,r,a,o}}(r,c)).exists((t=e,function(e){return t.selection.setRng(e.toRange()),t.nodeChanged(),!0}))}return!1}function aC(e){var t,n,c,r,a,o,i,s,l,u,f,d,h,m,p=function(e){var t=ri(null),n=L(Ev,e);return e.on("NodeChange",(function(c){var r,a,o,i,s,l,u,f,d,h,m,p,g;!Es(e)||Ct.browser.isIE()&&c.initial||(s=n,l=e.dom,u=c.parents,R(G(f=B(P(vi(Lt.fromDom(l.getRoot()),'*[data-mce-selected="inline-boundary"]'),(function(e){return e.dom})),s),d=B(u,s)),L(Tz,!1)),R(G(d,f),L(Tz,!0)),m=t,(h=e).selection.isCollapsed()&&!0!==h.composing&&m.get()&&(p=os.fromRangeStart(h.selection.getRng()),os.isTextPosition(p)&&!1===(Pc(g=p)||Rc(g))&&(Az(h,Bs(m.get(),p)),m.set(null))),r=n,a=e,o=t,i=c.parents,a.selection.isCollapsed()&&R(B(i,r),(function(e){var t=os.fromRangeStart(a.selection.getRng());kb(r,a.getBody(),t).bind((function(e){return Dz(a,o,e)}))})))})),t}(e);return e.on("keyup compositionstart",L(ty,e)),m=p,(h=e).on("keydown",(function(e){var t,n,c,r;!1===e.isDefaultPrevented()&&(t=h,n=m,c=e,r=dt().os,fy([{keyCode:Af.RIGHT,action:uy(cy,t,!0)},{keyCode:Af.LEFT,action:uy(cy,t,!1)},{keyCode:Af.UP,action:uy(ry,t,!1)},{keyCode:Af.DOWN,action:uy(ry,t,!0)},{keyCode:Af.RIGHT,action:uy(Cy,t,!0)},{keyCode:Af.LEFT,action:uy(Cy,t,!1)},{keyCode:Af.UP,action:uy(Hy,t,!1)},{keyCode:Af.DOWN,action:uy(Hy,t,!0)},{keyCode:Af.RIGHT,action:uy(dy,t,!0)},{keyCode:Af.LEFT,action:uy(dy,t,!1)},{keyCode:Af.UP,action:uy(hy,t,!1)},{keyCode:Af.DOWN,action:uy(hy,t,!0)},{keyCode:Af.RIGHT,action:uy(Ez,t,n,!0)},{keyCode:Af.LEFT,action:uy(Ez,t,n,!1)},{keyCode:Af.RIGHT,ctrlKey:!r.isOSX(),altKey:r.isOSX(),action:uy(fC,t,n)},{keyCode:Af.LEFT,ctrlKey:!r.isOSX(),altKey:r.isOSX(),action:uy(dC,t,n)},{keyCode:Af.UP,action:uy(ly,t,!1)},{keyCode:Af.DOWN,action:uy(ly,t,!0)}],c).each((function(e){c.preventDefault()})))})),d=p,(f=e).on("keydown",(function(e){var t,n,c;!1===e.isDefaultPrevented()&&(n=d,c=e,fy([{keyCode:Af.BACKSPACE,action:uy(Xz,t=f,!1)},{keyCode:Af.BACKSPACE,action:uy(fb,t,!1)},{keyCode:Af.DELETE,action:uy(fb,t,!0)},{keyCode:Af.BACKSPACE,action:uy(ab,t,!1)},{keyCode:Af.DELETE,action:uy(ab,t,!0)},{keyCode:Af.BACKSPACE,action:uy(Iz,t,n,!1)},{keyCode:Af.DELETE,action:uy(Iz,t,n,!0)},{keyCode:Af.BACKSPACE,action:uy(fm,t,!1)},{keyCode:Af.DELETE,action:uy(fm,t,!0)},{keyCode:Af.BACKSPACE,action:uy(db,t,!1)},{keyCode:Af.DELETE,action:uy(db,t,!0)},{keyCode:Af.BACKSPACE,action:uy(Fz,t,!1)},{keyCode:Af.DELETE,action:uy(Fz,t,!0)},{keyCode:Af.BACKSPACE,action:uy(Qv,t,!1)},{keyCode:Af.DELETE,action:uy(Qv,t,!0)},{keyCode:Af.BACKSPACE,action:uy(Xv,t,!1)},{keyCode:Af.DELETE,action:uy(Xv,t,!0)},{keyCode:Af.BACKSPACE,action:uy(Bz,t,!1)},{keyCode:Af.DELETE,action:uy(Bz,t,!0)}],c).each((function(e){c.preventDefault()})))})),f.on("keyup",(function(e){var t,n;!1===e.isDefaultPrevented()&&(n=e,fy([{keyCode:Af.BACKSPACE,action:uy(ub,t=f)},{keyCode:Af.DELETE,action:uy(ub,t)}],n))})),(u=e).on("keydown",(function(e){var t,n,c;e.keyCode===Af.ENTER&&(t=u,(n=e).isDefaultPrevented()||(n.preventDefault(),(c=t.undoManager).typing&&(c.typing=!1,c.add()),t.undoManager.transact((function(){!1===t.selection.isCollapsed()&&t.execCommand("Delete"),Jy(t,n)}))))})),(l=e).on("keydown",(function(e){var t;!1===e.isDefaultPrevented()&&(t=e,fy([{keyCode:Af.SPACEBAR,action:uy(rC,l)}],t).each((function(e){t.preventDefault()})))})),i=o=e,s=fi((function(){i.composing||Dh(i)}),0),CC.isIE()&&(i.on("keypress",(function(e){s.throttle()})),i.on("remove",(function(e){s.cancel()}))),o.on("input",(function(e){!1===e.isComposing&&Dh(o)})),a=p,(r=e).on("keydown",(function(e){var t,n,c;!1===e.isDefaultPrevented()&&(n=a,c=e,fy([{keyCode:Af.END,action:uy(ay,t=r,!0)},{keyCode:Af.HOME,action:uy(ay,t,!1)},{keyCode:Af.END,action:uy(my,t,!0)},{keyCode:Af.HOME,action:uy(my,t,!1)},{keyCode:Af.END,action:uy(Oz,t,!0,n)},{keyCode:Af.HOME,action:uy(Oz,t,!1,n)}],c).each((function(e){c.preventDefault()})))})),t=e,n=p,HC.os.isOSX()||(c=ri(!1),t.on("keydown",(function(e){tC(e)&&nC(c,t,!0)})),t.on("keyup",(function(e){var r,a,o;!1===e.isDefaultPrevented()&&(o=e,fy([{keyCode:Af.PAGE_UP,action:uy(Oz,r=t,!1,a=n)},{keyCode:Af.PAGE_DOWN,action:uy(Oz,r,!0,a)}],o)),tC(e)&&c.get()&&(nC(c,t,!1),t.nodeChanged())}))),p}(dz=fz=fz||{})[dz.Up=-1]="Up",dz[dz.Down=1]="Down";var oC=L(vz,fz.Up,ki,Si),iC=L(vz,fz.Down,Si,ki),sC=Zn,lC=Ws,uC=function(e,t){var n=e.selection.getRng(),c=e.getBody();if(t){var r=os.fromRangeEnd(n),a=mz(c,r);return ee(a.positions)}return r=os.fromRangeStart(n),J((a=hz(c,r)).positions)},fC=L(Nz,!0),dC=L(Nz,!1),hC=function(e){return B(P(e.selection.getSelectedBlocks(),Lt.fromDom),(function(e){return!Yz(e)&&!Tt(e).exists(Yz)&&mc(e,(function(e){return Yn(e.dom)||Zn(e.dom)})).exists((function(e){return Yn(e.dom)}))}))},mC=Zn,pC=L(py,(function(e){return e.bottom}),(function(e,t){return e.yt})),vC=L(gy,hz),bC=L(gy,mz),zC=function(e,t){return n=os.after(t),!!Un(n.getNode())||Gu(e,os.after(t)).map((function(e){return Un(e.getNode())})).getOr(!1);var n},yC=cc([{br:[]},{block:[]},{none:[]}]),CC=dt().browser,HC=dt(),MC=L(cC,zr),VC=L(cC," "),LC=(wC.prototype.nodeChanged=function(e){var t,n,c,r=this.editor.selection;this.editor.initialized&&r&&!this.editor.getParam("disable_nodechange")&&!this.editor.mode.isReadOnly()&&(c=this.editor.getBody(),(t=r.getStart(!0)||c).ownerDocument===this.editor.getDoc()&&this.editor.dom.isChildOf(t,c)||(t=c),n=[],this.editor.dom.getParent(t,(function(e){return e===c||void n.push(e)})),(e=e||{}).element=t,e.parents=n,this.editor.fire("NodeChange",e))},wC.prototype.isSameElementPath=function(e){var t,n=this.editor.$(e).parentsUntil(this.editor.getBody()).add(e);if(n.length===this.lastPath.length){for(t=n.length;0<=t&&n[t]===this.lastPath[t];t--);if(-1===t)return this.lastPath=n,!0}return this.lastPath=n,!1},wC);function wC(e){var t;this.lastPath=[],this.editor=e;var n=this;"onselectionchange"in e.getDoc()||e.on("NodeChange click mouseup keyup focus",(function(n){var c=e.selection.getRng(),r={startContainer:c.startContainer,startOffset:c.startOffset,endContainer:c.endContainer,endOffset:c.endOffset};"nodechange"!==n.type&&Cf(r,t)||e.fire("SelectionChange"),t=r})),e.on("contextmenu",(function(){e.fire("SelectionChange")})),e.on("SelectionChange",(function(){var t=e.selection.getStart(!0);!t||!Ct.range&&e.selection.isCollapsed()||Su(e)&&!n.isSameElementPath(t)&&e.dom.isChildOf(t,e.getBody())&&e.nodeChanged({selectionChange:!0})})),e.on("mouseup",(function(t){!t.isDefaultPrevented()&&Su(e)&&("IMG"===e.selection.getNode().nodeName?wc.setEditorTimeout(e,(function(){e.nodeChanged()})):e.nodeChanged())}))}function _C(e){return In(e)&&dr(Lt.fromDom(e))}function xC(e){var t=e.getBoundingClientRect(),n=e.ownerDocument,c=n.documentElement,r=n.defaultView;return{top:t.top+r.pageYOffset-c.clientTop,left:t.left+r.pageXOffset-c.clientLeft}}function kC(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function SC(e){var t,n,c,r,a,o,i=ui(),s=Ko.DOM,l=document,u=function(e,t){var n=wc.throttle((function(e,n){t._selectionOverrides.hideFakeCaret(),t.selection.placeCaretAt(e,n)}),0);return t.on("remove",n.stop),function(c){return e.on((function(e){var r,a,o,i,s,l,u,f,d,h,m,p,g,v,b,z,y,C,H,M,V=Math.max(Math.abs(c.screenX-e.screenX),Math.abs(c.screenY-e.screenY));if(!e.dragging&&10
    ').attr("id",z)).appendTo(e.getBody());var o=p.createRng();n===c&&Ct.ie?(a.empty().append('

     

    ').append(n),o.setStartAfter(a[0].firstChild.firstChild),o.setEndAfter(n)):(a.empty().append(zr).append(n).append(zr),o.setStart(a[0].firstChild,1),o.setEnd(a[0].lastChild,0)),a.css({top:p.getPos(t,e.getBody()).y}),a[0].focus();var i=m.getSel();return i.removeAllRanges(),i.addRange(o),o}(t,c.targetClone,n),a=Lt.fromDom(t);return R(vi(Lt.fromDom(e.getBody()),"*[data-mce-selected]"),(function(e){$e(a,e)||zn(e,y)})),p.getAttrib(t,y)||t.setAttribute(y,"1"),u=t,H(),r}(g)}return null}function l(){u&&u.removeAttribute(y),gc(Lt.fromDom(e.getBody()),"#"+z).each(En),u=null}var u,f,d,h,m=e.selection,p=e.dom,g=p.isBlock,v=e.getBody(),b=function(e,t,n,c){function r(){!function(){for(var e=vi(Lt.fromDom(t),"*[contentEditable=false],video,audio,embed,object"),n=0;n
    ').css(_e({},f)).appendTo(t)[0];return i.set({caret:d,element:s,before:e}),e&&Yo(d).addClass("mce-visual-caret-before"),a=wc.setInterval((function(){c()?Yo("div.mce-visual-caret",t).toggleClass("mce-visual-caret-hidden"):Yo("div.mce-visual-caret",t).addClass("mce-visual-caret-hidden")}),500),(u=s.ownerDocument.createRange()).setStart(o,0),u.setEnd(o,0),u},hide:r,getCss:function(){return".mce-visual-caret {position: absolute;background-color: black;background-color: currentcolor;}.mce-visual-caret-hidden {display: none;}*[data-mce-caret] {position: absolute;left: -1000px;right: auto;top: 0;margin: 0;padding: 0;}"},reposition:function(){i.on((function(e){var n=$s(t,e.element,e.before);Yo(e.caret).css(_e({},n))}))},destroy:function(){return wc.clearInterval(a)}}}(e,v,g,(function(){return md(e)})),z="sel-"+p.uniqueId(),y="data-mce-selected",C=m.getRng,H=function(){b.hide()};return Ct.ceFalse&&!eg(e)&&(e.on("mouseup",(function(t){var n=C();n.collapsed&&jg(e,t.clientX,t.clientY)&&eb(e,n,!1).each(c)})),e.on("click",(function(t){var n=AC(e,t.target);n&&(JC(n)&&(t.preventDefault(),e.focus()),KC(n)&&p.isChildOf(n,m.getNode())&&l())})),e.on("blur NewBlock",l),e.on("ResizeWindow FullscreenStateChanged",b.reposition),e.on("tap",(function(n){var c=n.target,r=AC(e,c);JC(r)?(n.preventDefault(),Jv(e,r).each(s)):t(c)&&Jv(e,c).each(s)}),!0),e.on("mousedown",(function(a){var i,u,f,d,h,b,z,y=a.target;y!==v&&"HTML"!==y.nodeName&&!p.isChildOf(y,v)||!1===jg(e,a.clientX,a.clientY)||((i=AC(e,y))?JC(i)?(a.preventDefault(),Jv(e,i).each(s)):(l(),KC(i)&&a.shiftKey||mf(a.clientX,a.clientY,m.getRng())||(H(),m.placeCaretAt(a.clientX,a.clientY))):t(y)?Jv(e,y).each(s):!1===qs(y)&&(l(),H(),(u=function(e,t,n){function c(e){return!ln(e.node)&&!Gn(e.node)}var r,a,o,i=uz(B(Ce(e.getElementsByTagName("*")),qs));return(o=Vz(B(i,L(Mz,n)),t,c))&&(o=Vz(function(e,t,n){function c(e,n){var c=B(uz([n]),(function(n){return!e(n,t)}));return r=r.concat(c),0===c.length}void 0===n&&(n=!0);var r=[];return r.push(t),Lz(fz.Up,e,L(c,ki),t.node,n),Lz(fz.Down,e,L(c,Si),t.node,n),r}(e,o,c(o)),t,c))&&qs(o.node)?{node:(r=o).node,before:yz(r,a=t)")+"";e.getParam("document_base_url","")!==e.documentBaseUrl&&(t+=''),t+='';var n=Cs(e,"body_id","tinymce"),c=Cs(e,"body_class",""),r=e.translate(e.getParam("iframe_aria_text","Rich Text Area. Press ALT-0 for help.","string"));return Hs(e)&&(t+=''),t+'
    '}(e),tH.add(t.iframeContainer,i),s}(m=e,p=b),p.editorContainer&&(tH.get(p.editorContainer).style.display=m.orgDisplay,m.hidden=tH.isHidden(p.editorContainer)),m.getElement().style.display="none",tH.setAttrib(m.id,"aria-hidden","true"),void(g||IC(m)))}function FC(e){return"-"===e.charAt(0)}function qC(e,t,n){return ve.from(t).filter((function(e){return 0")},mceToggleVisualAid:function(){e.hasVisual=!e.hasVisual,e.addVisual()},mceReplaceContent:function(t,n,c){e.execCommand("mceInsertContent",!1,c.replace(/\{\$selection\}/g,e.selection.getContent({format:"text"})))},mceInsertLink:function(t,n,c){"string"==typeof c&&(c={href:c});var r=e.dom.getParent(e.selection.getNode(),"a");c.href=c.href.replace(/ /g,"%20"),r&&c.href||e.formatter.remove("link"),c.href&&e.formatter.apply("link",c,r)},selectAll:function(){var t,n=e.dom.getParent(e.selection.getStart(),Yn);n&&((t=e.dom.createRng()).selectNodeContents(n),e.selection.setRng(t))},mceNewDocument:function(){e.setContent("")},InsertLineBreak:function(t,n,c){return By(e,c),!0}}),t.addCommands({JustifyLeft:n("alignleft"),JustifyCenter:n("aligncenter"),JustifyRight:n("alignright"),JustifyFull:n("alignjustify"),"Bold,Italic,Underline,Strikethrough,Superscript,Subscript":function(e){return t.isFormatMatch(e)},mceBlockQuote:function(){return t.isFormatMatch("blockquote")},Outdent:function(){return Wz(e)},"InsertUnorderedList,InsertOrderedList":function(t){var n=e.dom.getParent(e.selection.getNode(),"ul,ol");return n&&("insertunorderedlist"===t&&"UL"===n.tagName||"insertorderedlist"===t&&"OL"===n.tagName)}},"state"),t.addCommands({Undo:function(){e.undoManager.undo()},Redo:function(){e.undoManager.redo()}}),t.addQueryValueHandler("FontName",(function(){return YC(t=e,(function(e){return iH(t.getBody(),e.dom)})).getOr("");var t}),this),t.addQueryValueHandler("FontSize",(function(){return YC(t=e,(function(e){return oH(t.getBody(),e.dom)})).getOr("");var t}),this),t.addQueryValueHandler("LineHeight",(function(){return YC(t=e,(function(e){var n=Lt.fromDom(t.getBody());return ym(e,(function(e){return Cn(e,"line-height")}),L($e,n)).getOrThunk((function(){var t=parseFloat(yn(e,"line-height")),n=parseFloat(yn(e,"font-size"));return String(t/n)}))})).getOr("");var t}),this)},dH);function dH(e){this.commands={state:{},exec:{},value:{}},this.editor=e,this.setupCommands(e)}function hH(e,t,n){try{e.getDoc().execCommand(t,!1,String(n))}catch(e){}}function mH(e,t){e.dom.contentEditable=t?"true":"false"}function pH(e,t){var n,c,r=Lt.fromDom(e.getBody());(function(e,t,n){var c,r,a,o,i,s;gi(e,t)&&!1===n?(r=t,mi(c=e)?c.dom.classList.remove(r):(i=r,0<(s=B(hi(o=c,"class"),(function(e){return e!==i}))).length?pn(o,"class",s.join(" ")):zn(o,"class")),0===(mi(a=c)?a.dom.classList:hi(a,"class")).length&&zn(a,"class")):n&&pi(e,t)})(r,"mce-content-readonly",t),t?(e.selection.controlSelection.hideResizeRect(),e._selectionOverrides.hideFakeCaret(),ve.from(e.selection.getNode()).each((function(e){e.removeAttribute("data-mce-selected")})),mH(r,!(e.readonly=!0)),R(vi(r,'*[contenteditable="true"]'),(function(e){pn(e,bH,"true"),mH(e,!1)}))):(mH(r,!(e.readonly=!1)),R(vi(r,"*["+bH+'="true"]'),(function(e){zn(e,bH),mH(e,!0)})),hH(e,"StyleWithCSS",!1),hH(e,"enableInlineTableEditing",!1),hH(e,"enableObjectResizing",!1),(md(n=e)||(c=n,Jf(Tn(Lt.fromDom(c.getElement()))).filter((function(e){return!(void 0!==(t=e.dom.classList)&&(t.contains("tox-edit-area")||t.contains("tox-edit-area__iframe")||t.contains("mce-content-body")))&&ld(c,e.dom);var t})).isSome()))&&e.focus(),e.selection.setRng(e.selection.getRng()),e.nodeChanged())}function gH(e){return e.readonly}function vH(e){e.parser.addAttributeFilter("contenteditable",(function(t){gH(e)&&R(t,(function(e){e.attr(bH,e.attr("contenteditable")),e.attr("contenteditable","false")}))})),e.serializer.addAttributeFilter(bH,(function(t){gH(e)&&R(t,(function(e){e.attr("contenteditable",e.attr(bH))}))})),e.serializer.addTempAttr(bH)}var bH="data-mce-contenteditable",zH=Vt.makeMap("focus blur focusin focusout click dblclick mousedown mouseup mousemove mouseover beforepaste paste cut copy selectionchange mouseout mouseenter mouseleave wheel keydown keypress keyup input beforeinput contextmenu dragstart dragend dragover draggesture dragdrop drop drag submit compositionstart compositionend compositionupdate touchstart touchmove touchend touchcancel"," "),yH=(CH.isNative=function(e){return!!zH[e.toLowerCase()]},CH.prototype.fire=function(e,t){var n=e.toLowerCase(),c=or(n,t||{},this.scope);this.settings.beforeFire&&this.settings.beforeFire(c);var r=this.bindings[n];if(r)for(var a=0,o=r.length;a"),_H);return r[r.length-1]=Vt.extend(r[r.length-1],{func:n,scope:c||this.editor}),Vt.extend(r[0],{desc:this.editor.translate(t),subpatterns:r.slice(1)})},RH.prototype.hasModifier=function(e){return e.altKey||e.ctrlKey||e.metaKey},RH.prototype.isFunctionKey=function(e){return"keydown"===e.type&&112<=e.keyCode&&e.keyCode<=123},RH.prototype.matchShortcut=function(e,t){return!!t&&t.ctrl===e.ctrlKey&&t.meta===e.metaKey&&t.alt===e.altKey&&t.shift===e.shiftKey&&!!(e.keyCode===t.keyCode||e.charCode&&e.charCode===t.charCode)&&(e.preventDefault(),!0)},RH.prototype.executeShortcutAction=function(e){return e.func?e.func.call(e.scope):null},RH);function RH(e){this.shortcuts={},this.pendingPatterns=[],this.editor=e;var t=this;e.on("keyup keypress keydown",(function(e){!t.hasModifier(e)&&!t.isFunctionKey(e)||e.isDefaultPrevented()||(DH(t.shortcuts,(function(n){if(t.matchShortcut(e,n))return t.pendingPatterns=n.subpatterns.slice(0),"keydown"===e.type&&t.executeShortcutAction(n),!0})),t.matchShortcut(e,t.pendingPatterns[0])&&(1===t.pendingPatterns.length&&"keydown"===e.type&&t.executeShortcutAction(t.pendingPatterns[0]),t.pendingPatterns.shift()))}))}var IH=Ko.DOM,jH=Vt.extend,BH=Vt.each,$H=Vt.resolve,FH=Ct.ie,qH=(UH.prototype.render=function(){!function(e){var t=e.id;si.setCode(xs(e));var n,c,r,a,o=function(){rH.unbind(window,"ready",o),e.render()};oa.Event.domLoaded?e.getElement()&&Ct.contentEditable&&(n=Lt.fromDom(e.getElement()),c=F(n.dom.attributes,(function(e,t){return e[t.name]=t.value,e}),{}),e.on("remove",(function(){I(n.dom.attributes,(function(e){return zn(n,e.name),0})),gn(n,c)})),e.ui.styleSheetLoader=_c.forElement(n,{contentCssCors:(r=e).getParam("content_css_cors"),referrerPolicy:_s(r)}),e.getParam("inline")?e.inline=!0:(e.orgVisibility=e.getElement().style.visibility,e.getElement().style.visibility="hidden"),(a=e.getElement().form||rH.getParent(t,"form"))&&(e.formElement=a,e.getParam("hidden_input")&&!jn(e.getElement())&&(rH.insertAfter(rH.create("input",{type:"hidden",name:t}),t),e.hasHiddenInput=!0),e.formEventDelegate=function(t){e.fire(t.type,t)},rH.bind(a,"submit reset",e.formEventDelegate),e.on("reset",(function(){e.resetContent()})),!e.getParam("submit_patch")||a.submit.nodeType||a.submit.length||a._mceOldSubmit||(a._mceOldSubmit=a.submit,a.submit=function(){return e.editorManager.triggerSave(),e.setDirty(!1),a._mceOldSubmit(a)})),e.windowManager=mv(e),e.notificationManager=Bg(e),"xml"===e.getParam("encoding")&&e.on("GetContent",(function(e){e.save&&(e.content=rH.encode(e.content))})),e.getParam("add_form_submit_trigger")&&e.on("submit",(function(){e.initialized&&e.save()})),e.getParam("add_unload_trigger")&&(e._beforeUnload=function(){!e.initialized||e.destroyed||e.isHidden()||e.save({format:"raw",no_events:!0,set_dirty:!1})},e.editorManager.on("BeforeUnload",e._beforeUnload)),e.editorManager.add(e),function(e,t){var n,c,r=ni.ScriptLoader,a=r,o=t,i=function(){var n,c,a,o,i,l,u,f,d;i=r,f=xs(l=e),d=l.getParam("language_url","","string"),!1===si.hasCode(f)&&"en"!==f&&(u=""!==d?d:l.editorManager.baseURL+"/langs/"+f+".js",i.add(u,s,void 0,(function(){vv(l,"LanguageLoadError",bv("language",u,f))}))),a=r,R(function(e){for(var t=[],n=function(e){t.push(e)},c=0;c",visual:!0,font_size_legacy_values:"xx-small,small,medium,large,x-large,xx-large,300%",forced_root_block:"p",hidden_input:!0,inline_styles:!0,convert_fonts_to_spans:!0,indent:!0,indent_before:"p,h1,h2,h3,h4,h5,h6,blockquote,div,title,style,pre,script,td,th,ul,ol,li,dl,dt,dd,area,table,thead,tfoot,tbody,tr,section,summary,article,hgroup,aside,figure,figcaption,option,optgroup,datalist",indent_after:"p,h1,h2,h3,h4,h5,h6,blockquote,div,title,style,pre,script,td,th,ul,ol,li,dl,dt,dd,area,table,thead,tfoot,tbody,tr,section,summary,article,hgroup,aside,figure,figcaption,option,optgroup,datalist",entity_encoding:"named",url_converter:this.convertURL,url_converter_scope:this},b=_e(_e({},v),g?ov:{}),!1!==(z=Og(cv||rv,cv,b,h,m)).deprecation_warnings&&function(e,t){var n,c,r,a,o,i,s,l=(n=e,c=B(Kg,(function(e){return Le(n,e)})),!1!==(r=n.forced_root_block)&&""!==r||c.push("forced_root_block (false only)"),Q(c)),u=(s=Vt.makeMap(t.plugins," "),Q(xe(xe([],B(Jg,m),!0),Y(ev,(function(e){return m(e)?[e+" (moving to premium)"]:[]})),!0))),f=0=n.x&&r.x+r.w<=n.w+n.x&&r.y>=n.y&&r.y+r.h<=n.h+n.y)return c[a];return null},intersect:function(e,t){var n=mM(e.x,t.x),c=mM(e.y,t.y),r=hM(e.x+e.w,t.x+t.w),a=hM(e.y+e.h,t.y+t.h);return r-n<0||a-c<0?null:sM(n,c,r-n,a-c)},clamp:function(e,t,n){var c=e.x,r=e.y,a=e.x+e.w,o=e.y+e.h,i=t.x+t.w,s=t.y+t.h,l=mM(0,t.x-c),u=mM(0,t.y-r),f=mM(0,a-i),d=mM(0,o-s);return c+=l,r+=u,n&&(a+=l,o+=u,c-=f,r-=d),sM(c,r,(a-=f)-c,(o-=d)-r)},create:sM,fromClientRect:function(e){return sM(e.left,e.top,e.width,e.height)}},vM=(lM={},uM={},{load:function(e,t){var n='Script at URL "'+t+'" failed to load',c='Script at URL "'+t+"\" did not call `tinymce.Resource.add('"+e+"', data)` within 1 second";if(void 0!==lM[e])return lM[e];var r=new Lc((function(r,a){var o=function(e,t,n){function c(e){return function(){for(var t=[],n=0;nn?t+n:n}function i(e,t){return Math.round((/%/.test(e)?("x"===t?w.width():r())/100:1)*parseInt(e,10))}function s(e,t){return e.get("photo")||e.get("photoRegex").test(t)}function l(e,t){return e.get("retinaUrl")&&n.devicePixelRatio>1?t.replace(e.get("photoRegex"),e.get("retinaSuffix")):t}function u(e){"contains"in b[0]&&!b[0].contains(e.target)&&e.target!==v[0]&&(e.stopPropagation(),b.focus())}function f(e){f.str!==e&&(b.add(v).removeClass(f.str).addClass(e),f.str=e)}function d(n){e(t).trigger(n),oe.triggerHandler(n)}function h(n){var r;if(!W){if(r=e(n).data(Q),function(t){$=0,t&&!1!==t&&"nofollow"!==t?(L=e("."+J).filter((function(){return new a(this,e.data(this,Q)).get("rel")===t})),-1===($=L.index(P.el))&&(L=L.add(P.el),$=L.length-1)):L=e(P.el)}((P=new a(n,r)).get("rel")),!q){q=U=!0,f(P.get("className")),b.css({visibility:"hidden",display:"block",opacity:""}),_=c(ie,"LoadedContent","width:0; height:0; overflow:hidden; visibility:hidden"),y.css({width:"",height:""}).append(_),R=C.height()+V.height()+y.outerHeight(!0)-y.height(),I=H.width()+M.width()+y.outerWidth(!0)-y.width(),j=_.outerHeight(!0),B=_.outerWidth(!0);var o=i(P.get("initialWidth"),"x"),s=i(P.get("initialHeight"),"y"),l=P.get("maxWidth"),h=P.get("maxHeight");P.w=Math.max((!1!==l?Math.min(o,i(l,"x")):o)-B-I,0),P.h=Math.max((!1!==h?Math.min(s,i(h,"y")):s)-j-R,0),_.css({width:"",height:P.h}),Z.position(),d(ee),P.get("onOpen"),O.add(S).hide(),b.focus(),P.get("trapFocus")&&t.addEventListener&&(t.addEventListener("focus",u,!0),oe.one(re,(function(){t.removeEventListener("focus",u,!0)}))),P.get("returnFocus")&&oe.one(re,(function(){e(P.el).focus()}))}var m=parseFloat(P.get("opacity"));v.css({opacity:m==m?m:"",cursor:P.get("overlayClose")?"pointer":"",visibility:"visible"}).show(),P.get("closeButton")?N.html(P.get("close")).appendTo(y):N.appendTo("
    "),g()}}function m(){b||(X=!1,w=e(n),b=c(ie).attr({id:Q,class:!1===e.support.opacity?K+"IE":"",role:"dialog",tabindex:"-1"}).hide(),v=c(ie,"Overlay").hide(),k=e([c(ie,"LoadingOverlay")[0],c(ie,"LoadingGraphic")[0]]),z=c(ie,"Wrapper"),y=c(ie,"Content").append(S=c(ie,"Title"),A=c(ie,"Current"),E=e('
    \n
    ',null!=e.firstChild?e.insertBefore(this.el,e.firstChild):e.appendChild(this.el)}return this.el},J.prototype.finish=function(){var e=this.getElement();return e.className=e.className.replace("pace-active","pace-inactive"),document.body.className=document.body.className.replace("pace-running ","pace-done ")},J.prototype.update=function(e){return this.progress=e,o.trigger("progress",e),this.render()},J.prototype.destroy=function(){try{this.getElement().parentNode.removeChild(this.getElement())}catch(e){a=e}return this.el=void 0},J.prototype.render=function(){var e,t,n,c,r,a,i;if(null==document.querySelector(_.target))return!1;for(e=this.getElement(),c="translate3d("+this.progress+"%, 0, 0)",r=0,a=(i=["webkitTransform","msTransform","transform"]).length;r_.eventLag.sampleCount&&r.shift(),e=m(r),++c>=_.eventLag.minSamples&&e<_.eventLag.lagThreshold?(a.progress=100,clearInterval(t)):a.progress=3/(e+3)*100}),50)},oe.prototype.tick=function(e,t){return 100<=(t=null==t?k(this.source,"progress"):t)&&(this.done=!0),t===this.last?this.sinceLastUpdate+=e:(this.sinceLastUpdate&&(this.rate=(t-this.last)/this.sinceLastUpdate),this.catchup=(t-this.progress)/_.catchupTime,this.sinceLastUpdate=0,this.last=t),t>this.progress&&(this.progress+=this.catchup*e),t=1-Math.pow(this.progress/100,_.easeFactor),this.progress+=t*this.rate*e,this.progress=Math.min(this.lastProgress+_.maxProgressPerFrame,this.progress),this.progress=Math.max(0,this.progress),this.progress=Math.min(100,this.progress),this.lastProgress=this.progress,this.progress},l=oe,g=h=O=p=A=N=null,o.running=!1,M=function(){if(_.restartOnPushState)return o.restart()},null!=window.history.pushState&&(F=window.history.pushState,window.history.pushState=function(){return M(),F.apply(window.history,arguments)}),null!=window.history.replaceState&&(U=window.history.replaceState,window.history.replaceState=function(){return M(),U.apply(window.history,arguments)}),s={ajax:t,elements:C,document:W,eventLag:X},(L=function(){var e,t,c,r,a,i,u,f;for(o.sources=N=[],t=0,r=(i=["ajax","elements","document","eventLag"]).length;tH&&(H=-50),m(this),d.each((function(){var a=e(this);r(a);var o=this,i=o.id,d={position:"absolute",top:m=-H+"%",left:m,display:"block",width:d=100+2*H+"%",height:d,margin:0,padding:0,background:"#fff",border:0,opacity:0},m=_mobile?{position:"absolute",visibility:"hidden"}:H?d:{position:"absolute",opacity:0},g="checkbox"==o[_type]?p.checkboxClass||"icheckbox":p.radioClass||"i"+u,M=e(_label+'[for="'+i+'"]').add(a.closest(_label)),V=!!p.aria,L=s+"-"+Math.random().toString(36).substr(2,6),w='
    ")[_callback]("ifCreated").parent().append(p.insert),d=e('').css(d).appendTo(w),a.data(s,{o:p,s:a.attr("style")}).css(m),p.inheritClass&&w[_add](o.className||""),p.inheritID&&i&&w.attr("id",s+"-"+i),"static"==w.css("position")&&w.css("position","relative"),t(a,!0,_update),M.length&&M.on(_click+".i mouseover.i mouseout.i "+_touch,(function(n){var c=n[_type],r=e(this);if(!o[h]){if(c==_click){if(e(n.target).is("a"))return;t(a,!1,!0)}else y&&(/ut|nd/.test(c)?(w[_remove](v),r[_remove](C)):(w[_add](v),r[_add](C)));if(!_mobile)return!1;n.stopPropagation()}})),a.on(_click+".i focus.i blur.i keyup.i keydown.i keypress.i",(function(e){var t=e[_type];return e=e.keyCode,t!=_click&&("keydown"==t&&32==e?(o[_type]==u&&o[f]||(o[f]?c(a,f):n(a,f)),!1):void("keyup"==t&&o[_type]==u?!o[f]&&n(a,f):/us|ur/.test(t)&&w["blur"==t?_remove:_add](b)))})),d.on(_click+" mousedown mouseup mouseover mouseout "+_touch,(function(e){var n=e[_type],c=/wn|up/.test(n)?z:v;if(!o[h]){if(n==_click?t(a,!1,!0):(/wn|er|in/.test(n)?w[_add](c):w[_remove](c+" "+z),M.length&&y&&c==v&&M[/ut|nd/.test(n)?_remove:_add](C)),!_mobile)return!1;e.stopPropagation()}}))}))}}(window.jQuery||window.Zepto),function(e){"use strict";function t(e,t,n){"show"===t?"fade"===n?e.fadeIn():"slide"===n?e.slideDown():e.fadeIn():"fade"===n?e.fadeOut():"slide"===n?e.slideUp():e.fadeOut()}function n(t,n){var c=!0;t.on("click",(function(){1==c&&(c=!1,e("html, body").animate({scrollTop:0},n,(function(){c=!0})))}))}e.goup=function(c){var r=e.extend({location:"right",locationOffset:20,bottomOffset:10,containerSize:40,containerRadius:10,containerClass:"goup-container",arrowClass:"goup-arrow",alwaysVisible:!1,trigger:500,entryAnimation:"fade",goupSpeed:"slow",hideUnderWidth:500,containerColor:"#000",arrowColor:"#fff",title:"",titleAsText:!1,titleAsTextClass:"goup-text",zIndex:1},c);"right"!==r.location&&"left"!==r.location&&(r.location="right"),0>r.locationOffset&&(r.locationOffset=0),0>r.bottomOffset&&(r.bottomOffset=0),20>r.containerSize&&(r.containerSize=20),0>r.containerRadius&&(r.containerRadius=0),0>r.trigger&&(r.trigger=0),0>r.hideUnderWidth&&(r.hideUnderWidth=0);var a=/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i;a.test(r.containerColor)||(r.containerColor="#000"),a.test(r.arrowColor)||(r.arrowColor="#fff"),""===r.title&&(r.titleAsText=!1),isNaN(r.zIndex)&&(r.zIndex=1);var o=e("body"),i=e(window),s=e("
    ");s.addClass(r.containerClass);var l=e("
    ");l.addClass(r.arrowClass),s.html(l),o.append(s);var u={position:"fixed",width:r.containerSize,height:r.containerSize,background:r.containerColor,cursor:"pointer",display:"none","z-index":r.zIndex};if(u.bottom=r.bottomOffset,u[r.location]=r.locationOffset,u["border-radius"]=r.containerRadius,s.css(u),r.titleAsText){var f=e("
    ");o.append(f),f.addClass(r.titleAsTextClass).text(r.title),f.attr("style",s.attr("style")),f.css("background","transparent").css("width",r.containerSize+40).css("height","auto").css("text-align","center").css(r.location,r.locationOffset-20);var d=parseInt(f.height())+10,h=parseInt(s.css("bottom"));s.css("bottom",d+h)}else s.attr("title",r.title);var m=.25*r.containerSize,p={width:0,height:0,margin:"0 auto","padding-top":Math.ceil(.325*r.containerSize),"border-style":"solid","border-width":"0 "+m+"px "+m+"px "+m+"px","border-color":"transparent transparent "+r.arrowColor+" transparent"};l.css(p);var g=!1;i.resize((function(){i.outerWidth()<=r.hideUnderWidth?(g=!0,t(s,"hide",r.entryAnimation),void 0!==f&&t(f,"hide",r.entryAnimation)):(g=!1,i.trigger("scroll"))})),i.outerWidth()<=r.hideUnderWidth&&(g=!0,s.hide(),void 0!==f&&f.hide()),r.alwaysVisible?(t(s,"show",r.entryAnimation),void 0!==f&&t(f,"show",r.entryAnimation)):i.scroll((function(){i.scrollTop()>=r.trigger&&!g&&(t(s,"show",r.entryAnimation),void 0!==f&&t(f,"show",r.entryAnimation)),i.scrollTop()=r.trigger&&!g&&(t(s,"show",r.entryAnimation),void 0!==f&&t(f,"show",r.entryAnimation)),n(s,r.goupSpeed),void 0!==f&&n(f,r.goupSpeed)}}(jQuery);const base_url=window.location.origin;function ajax_group_status(e,t){let n=Math.random();null!=t?$.ajax({url:base_url+"/admin/ajax?action=toggle_group_active_status&rand="+n,data:{group_id:e,group_status:t},dataType:"html",success:function(n){$("div#message").html(n),$("div#message").show("fast",(function(){})),0==t?$("td#group-"+e).html('Activate'):$("td#group-"+e).html('Deactivate'),$("#message").fadeOut(5e3)},error:function(e,t,n){alert("Error in ajax_group_status: "+t)}}):alert("Weird.. what group id are looking for?")}function ajax_sharing_site_status(e,t){let n=Math.random();null!=t?$.ajax({url:base_url+"/admin/ajax?action=sharing_toggle_status&rand="+n,data:{site_id:e,site_status:t},dataType:"html",success:function(n){$("div#message").html(n),$("div#message").show("fast",(function(){})),0==t?$("td#site-"+e).html(''):$("td#site-"+e).html(''),$("#message").fadeOut(5e3)},error:function(e,t,n){alert("Error in ajax_sharing_site_status: "+t)}}):alert("Weird.. what site id are looking for?")}function ajax_sharing_enabled(e,t){let n=Math.random();null!=t?$.ajax({url:base_url+"/admin/ajax?action=sharing_toggle_enabled&rand="+n,data:{enabled_status:t},dataType:"html",success:function(n){$("div#message").html(n),$("div#message").show("fast",(function(){})),0==t?$("strong#enabled-"+e).html(''):$("strong#enabled-"+e).html(''),$("#message").fadeOut(5e3)},error:function(e,t,n){alert("Error in ajax_sharing_enabled: "+t)}}):alert("Weird.. what enabled id are looking for?")}function ajax_sharing_startposition(e,t){let n=Math.random();null!=t?$.ajax({url:base_url+"/admin/ajax?action=sharing_start_position&rand="+n,data:{start_position:t},dataType:"html",success:function(n){$("div#message").html(n),$("div#message").show("fast",(function(){})),0==t?$("strong#startposition-"+e).html(''):$("strong#startposition-"+e).html(''),$("#message").fadeOut(5e3)},error:function(e,t,n){alert("Error in ajax_sharing_startposition: "+t)}}):alert("Weird.. what enabled id are looking for?")}function ajax_sharing_reset(e){let t=Math.random();$.ajax({url:base_url+"/admin/ajax?action=sharing_reset_settings&rand="+t,data:{reset_settings:e},dataType:"html",success:function(e){$("div#message").html(e),$("div#message").show("fast",(function(){})),$("#message").fadeOut(5e3),setTimeout("history.go(0);",1500)},error:function(e,t,n){alert("Error in ajax_sharing_reset: "+t)}})}function ajax_sharing_site_purge(e){let t=Math.random();$.ajax({url:base_url+"/admin/ajax?action=sharing_purge_site&rand="+t,data:{purge_site:e},dataType:"html",success:function(e){$("div#message").html(e),$("div#message").show("fast",(function(){})),$("#message").fadeOut(5e3),setTimeout("history.go(0);",1500)},error:function(e,t,n){alert("Error in ajax_sharing_site_purge: "+t)}})}function ajax_sharing_posting(e,t){let n=Math.random();null!=t?$.ajax({url:base_url+"/admin/ajax?action=sharing_toggle_posting&rand="+n,data:{posting_status:t},dataType:"html",success:function(n){$("div#message").html(n),$("div#message").show("fast",(function(){})),0==t?$("strong#posting-"+e).html(''):$("strong#posting-"+e).html(''),$("#message").fadeOut(5e3)},error:function(e,t,n){alert("Error in ajax_sharing_posting: "+t)}}):alert("Weird.. what posting id are looking for?")}function ajax_sharing_fetching(e,t){let n=Math.random();null!=t?$.ajax({url:base_url+"/admin/ajax?action=sharing_toggle_fetching&rand="+n,data:{fetching_status:t},dataType:"html",success:function(n){$("div#message").html(n),$("div#message").show("fast",(function(){})),0==t?$("strong#fetching-"+e).html(''):$("strong#fetching-"+e).html(''),$("#message").fadeOut(5e3)},error:function(e,t,n){alert("Error in ajax_sharing_fetching: "+t)}}):alert("Weird.. what fetching id are looking for?")}function ajax_sharing_auto(e,t){let n=Math.random();null!=t?$.ajax({url:base_url+"/admin/ajax?action=sharing_toggle_site_auto_enabling&rand="+n,data:{auto_status:t},dataType:"html",success:function(n){$("div#message").html(n),$("div#message").show("fast",(function(){})),0==t?$("strong#auto-"+e).html(''):$("strong#auto-"+e).html(''),$("#message").fadeOut(5e3)},error:function(e,t,n){alert("Error in ajax_sharing_auto: "+t)}}):alert("Weird.. what auto id are looking for?")}function ajax_sharing_hide(e,t){let n=Math.random();null!=t?$.ajax({url:base_url+"/admin/ajax?action=sharing_toggle_hide_users&rand="+n,data:{hide_status:t},dataType:"html",success:function(n){$("div#message").html(n),$("div#message").show("fast",(function(){})),0==t?$("strong#hide-"+e).html(''):$("strong#hide-"+e).html(''),$("#message").fadeOut(5e3)},error:function(e,t,n){alert("Error in ajax_sharing_hide: "+t)}}):alert("Weird.. what hide id are looking for?")}function ajax_sharing_toggle_all(e){let t=Math.random();null!=e?$.ajax({url:base_url+"/admin/ajax?action=sharing_toggle_all_sites&rand="+t,data:{toggle_all:e},dataType:"html"}):alert("Weird.. what toggle status are you looking for?")}function ajax_backfill_status(e,t){let n=Math.random();null!=t?$.ajax({url:base_url+"/admin/ajax?action=toggle_group_backfill_status&rand="+n,data:{group_id:e,backfill_status:t},dataType:"html",success:function(n){$("div#message").html(n),$("div#message").show("fast",(function(){})),0==t?$("td#backfill-"+e).html('Activate'):$("td#backfill-"+e).html('Deactivate'),$("#message").fadeOut(5e3)},error:function(e,t,n){alert("Error in ajax_backfill_status: "+t)}}):alert("Weird.. what group id are looking for?")}function ajax_group_delete(e){let t=Math.random();$.ajax({url:base_url+"/admin/ajax?action=group_edit_delete_single&rand="+t,data:{group_id:e},dataType:"html",success:function(t){$("div#message").html(t),$("div#message").show("fast",(function(){})),$("#grouprow-"+e).fadeOut(2e3),$("#message").fadeOut(5e3)},error:function(e,t,n){alert("Error in ajax_group_delete: "+t)}})}function ajax_group_reset(e){let t=Math.random();$.ajax({url:base_url+"/admin/ajax?action=group_edit_reset_single&rand="+t,data:{group_id:e},dataType:"html",success:function(t){$("div#message").html(t),$("div#message").show("fast",(function(){})),$("#grouprow-"+e).fadeTo(2e3,.5),$("#message").fadeOut(5e3)},error:function(e,t,n){alert("Error in ajax_group_reset: "+t)}})}function ajax_group_purge(e){let t=Math.random();$.ajax({url:base_url+"/admin/ajax?action=group_edit_purge_single&rand="+t,data:{group_id:e},dataType:"html",success:function(t){$("div#message").html(t),$("div#message").show("fast",(function(){})),$("#grouprow-"+e).fadeTo(2e3,.5),$("#message").fadeOut(5e3)},error:function(e,t,n){alert("Error in ajax_group_purge: "+t)}})}function ajax_all_reset(){let e=Math.random();$.ajax({url:base_url+"/admin/ajax?action=group_edit_reset_all&rand="+e,data:"All groups reset.",dataType:"html",success:function(e){$("div#message").html(e),$("div#message").show("fast",(function(){})),$("#grouprow-"+id).fadeTo(2e3,.5),$("#message").fadeOut(5e3)},error:function(e,t,n){alert("Error in ajax_all_reset: "+t)}})}function ajax_all_purge(){let e=Math.random();$.ajax({url:base_url+"/admin/ajax?action=group_edit_purge_all&rand="+e,data:"All groups purged",dataType:"html",success:function(e){$("div#message").html(e),$("div#message").show("fast",(function(){})),$("#grouprow-"+id).fadeTo(2e3,.5),$("#message").fadeOut(5e3)},error:function(e,t,n){alert("Error in ajax_all_purge: "+t)}})}function ajax_binaryblacklist_delete(e){let t=Math.random();$.ajax({url:base_url+"/admin/ajax?action=binary_blacklist_delete&rand="+t,data:{row_id:e},dataType:"html",success:function(t){$("div#message").html(t),$("div#message").show("fast",(function(){})),$("#row-"+e).fadeOut(2e3),$("#message").fadeOut(5e3)},error:function(e,t,n){alert("Error in ajax_binaryblacklist_delete: "+t)}})}function ajax_category_regex_delete(e){let t=Math.random();$.ajax({url:base_url+"/admin/ajax?action=category_regex_delete&rand="+t,data:{row_id:e},dataType:"html",success:function(t){$("div#message").html(t),$("div#message").show("fast",(function(){})),$("#row-"+e).fadeOut(2e3),$("#message").fadeOut(5e3)},error:function(e,t,n){alert("Error in ajax_category_regex_delete: "+t)}})}function ajax_collection_regex_delete(e){let t=Math.random();$.ajax({url:base_url+"/admin/ajax?action=collection_regex_delete&rand="+t,data:{row_id:e},dataType:"html",success:function(t){$("div#message").html(t),$("div#message").show("fast",(function(){})),$("#row-"+e).fadeOut(2e3),$("#message").fadeOut(5e3)},error:function(e,t,n){alert("Error in ajax_collection_regex_delete: "+t)}})}function ajax_release_naming_regex_delete(e){let t=Math.random();$.ajax({url:base_url+"/admin/ajax?action=release_naming_regex_delete&rand="+t,data:{row_id:e},dataType:"html",success:function(t){$("div#message").html(t),$("div#message").show("fast",(function(){})),$("#row-"+e).fadeOut(2e3),$("#message").fadeOut(5e3)},error:function(e,t,n){alert("Error in ajax_release_naming_regex_delete: "+t)}})}function enableFixCrapCustom(){if(1==document.getElementsByName("fix_crap_opt")[2].checked){let e=document.getElementsByName("fix_crap[]");for(let t=0;t File upload error '+n+"
    ").prependTo("#alerts")}void 0!==$.fn.wysiwyg&&(console.log("init_wysiwyg"),$(".editor-wrapper").each((function(){var t=$(this).attr("id");$(this).wysiwyg({toolbarSelector:'[data-target="#'+t+'"]',fileUploadError:e})})),window.prettyPrint,prettyPrint())}function init_cropper(){if(void 0!==$.fn.cropper){console.log("init_cropper");var e=$("#image"),t=$("#download"),n=$("#dataX"),c=$("#dataY"),r=$("#dataHeight"),a=$("#dataWidth"),o=$("#dataRotate"),i=$("#dataScaleX"),s=$("#dataScaleY"),l={aspectRatio:16/9,preview:".img-preview",crop:function(e){n.val(Math.round(e.x)),c.val(Math.round(e.y)),r.val(Math.round(e.height)),a.val(Math.round(e.width)),o.val(e.rotate),i.val(e.scaleX),s.val(e.scaleY)}};$('[data-toggle="tooltip"]').tooltip(),e.on({"build.cropper":function(e){console.log(e.type)},"built.cropper":function(e){console.log(e.type)},"cropstart.cropper":function(e){console.log(e.type,e.action)},"cropmove.cropper":function(e){console.log(e.type,e.action)},"cropend.cropper":function(e){console.log(e.type,e.action)},"crop.cropper":function(e){console.log(e.type,e.x,e.y,e.width,e.height,e.rotate,e.scaleX,e.scaleY)},"zoom.cropper":function(e){console.log(e.type,e.ratio)}}).cropper(l),$.isFunction(document.createElement("canvas").getContext)||$('button[data-method="getCroppedCanvas"]').prop("disabled",!0),void 0===document.createElement("cropper").style.transition&&($('button[data-method="rotate"]').prop("disabled",!0),$('button[data-method="scale"]').prop("disabled",!0)),void 0===t[0].download&&t.addClass("disabled"),$(".docs-toggles").on("change","input",(function(){var t,n,c=$(this),r=c.attr("name"),a=c.prop("type");e.data("cropper")&&("checkbox"===a?(l[r]=c.prop("checked"),t=e.cropper("getCropBoxData"),n=e.cropper("getCanvasData"),l.built=function(){e.cropper("setCropBoxData",t),e.cropper("setCanvasData",n)}):"radio"===a&&(l[r]=c.val()),e.cropper("destroy").cropper(l))})),$(".docs-buttons").on("click","[data-method]",(function(){var n,c,r=$(this),a=r.data();if(!r.prop("disabled")&&!r.hasClass("disabled")&&e.data("cropper")&&a.method){if(void 0!==(a=$.extend({},a)).target&&(n=$(a.target),void 0===a.option))try{a.option=JSON.parse(n.val())}catch(e){console.log(e.message)}switch(c=e.cropper(a.method,a.option,a.secondOption),a.method){case"scaleX":case"scaleY":$(this).data("option",-a.option);break;case"getCroppedCanvas":c&&($("#getCroppedCanvasModal").modal().find(".modal-body").html(c),t.hasClass("disabled")||t.attr("href",c.toDataURL()))}if($.isPlainObject(c)&&n)try{n.val(JSON.stringify(c))}catch(e){console.log(e.message)}}})),$(document.body).on("keydown",(function(t){if(e.data("cropper")&&!(this.scrollTop>300))switch(t.which){case 37:t.preventDefault(),e.cropper("move",-1,0);break;case 38:t.preventDefault(),e.cropper("move",0,-1);break;case 39:t.preventDefault(),e.cropper("move",1,0);break;case 40:t.preventDefault(),e.cropper("move",0,1)}}));var u,f=$("#inputImage"),d=window.URL||window.webkitURL;d?f.change((function(){var t,n=this.files;e.data("cropper")&&n&&n.length&&(t=n[0],/^image\/\w+$/.test(t.type)?(u=d.createObjectURL(t),e.one("built.cropper",(function(){d.revokeObjectURL(u)})).cropper("reset").cropper("replace",u),f.val("")):window.alert("Please choose an image file."))})):f.prop("disabled",!0).parent().addClass("disabled")}}function init_knob(){if(void 0!==$.fn.knob){console.log("init_knob"),$(".knob").knob({change:function(e){},release:function(e){console.log("release : "+e)},cancel:function(){console.log("cancel : ",this)},draw:function(){if("tron"==this.$.data("skin")){this.cursorExt=.3;var e,t=this.arc(this.cv);return this.g.lineWidth=this.lineWidth,this.o.displayPrevious&&(e=this.arc(this.v),this.g.beginPath(),this.g.strokeStyle=this.pColor,this.g.arc(this.xy,this.xy,this.radius-this.lineWidth,e.s,e.e,e.d),this.g.stroke()),this.g.beginPath(),this.g.strokeStyle=this.o.fgColor,this.g.arc(this.xy,this.xy,this.radius-this.lineWidth,t.s,t.e,t.d),this.g.stroke(),this.g.lineWidth=2,this.g.beginPath(),this.g.strokeStyle=this.o.fgColor,this.g.arc(this.xy,this.xy,this.radius-this.lineWidth+1+2*this.lineWidth/3,0,2*Math.PI,!1),this.g.stroke(),!1}}});var e,t=0,n=0,c=0,r=$("div.idir"),a=$("div.ival");$("input.infinite").knob({min:0,max:20,stopper:!1,change:function(){e>this.cv?t?(c--,r.show().html("-").fadeOut(),a.html(c),t=0):(t=1,n=0):e
    ";document.getElementById("custom_notifications")?($("#custom_notifications ul.notifications").append("
  • "),$("#custom_notifications #notif-group").append(n),e++,CustomTabs(t)):alert("doesnt exists")},CustomTabs=function(e){$(".tabbed_notifications > div").hide(),$(".tabbed_notifications > div:first-of-type").show(),$("#custom_notifications").removeClass("dsp_none"),$(".notifications a").click((function(e){e.preventDefault();var t=$(this),n="#"+t.parents(".notifications").data("tabbed_notifications"),c=t.closest("li").siblings().children("a"),r=t.attr("href");c.removeClass("active"),t.addClass("active"),$(n).children("div").hide(),$(r).show()}))},CustomTabs();var t=idname="";$(document).on("click",".notification_close",(function(e){idname=$(this).parent().parent().attr("id"),t=idname.substr(-2),$("#ntf"+t).remove(),$("#ntlink"+t).parent().remove(),$(".notifications a").first().addClass("active"),$("#notif-group div").first().css("display","block")}))}}function init_EasyPieChart(){if(void 0!==$.fn.easyPieChart){console.log("init_EasyPieChart"),$(".chart").easyPieChart({easing:"easeOutElastic",delay:3e3,barColor:"#26B99A",trackColor:"#fff",scaleColor:!1,lineWidth:20,trackWidth:16,lineCap:"butt",onStep:function(e,t,n){$(this.el).find(".percent").text(Math.round(n))}});var e=window.chart=$(".chart").data("easyPieChart");$(".js_update").on("click",(function(){e.update(200*Math.random()-100)}));var t=$.fn.popover.Constructor.prototype.leave;$.fn.popover.Constructor.prototype.leave=function(e){var n,c,r=e instanceof this.constructor?e:$(e.currentTarget)[this.type](this.getDelegateOptions()).data("bs."+this.type);t.call(this,e),e.currentTarget&&(n=$(e.currentTarget).siblings(".popover"),c=r.timeout,n.one("mouseenter",(function(){clearTimeout(c),n.one("mouseleave",(function(){$.fn.popover.Constructor.prototype.leave.call(r,r)}))})))},$("body").popover({selector:"[data-popover]",trigger:"click hover",delay:{show:50,hide:400}})}}function init_charts(){if(console.log("run_charts typeof ["+typeof Chart+"]"),"undefined"!=typeof Chart){if(console.log("init_charts"),Chart.defaults.global.legend={enabled:!1},$("#canvas_line").length&&new Chart(document.getElementById("canvas_line"),{type:"line",data:{labels:["January","February","March","April","May","June","July"],datasets:[{label:"My First dataset",backgroundColor:"rgba(38, 185, 154, 0.31)",borderColor:"rgba(38, 185, 154, 0.7)",pointBorderColor:"rgba(38, 185, 154, 0.7)",pointBackgroundColor:"rgba(38, 185, 154, 0.7)",pointHoverBackgroundColor:"#fff",pointHoverBorderColor:"rgba(220,220,220,1)",pointBorderWidth:1,data:[31,74,6,39,20,85,7]},{label:"My Second dataset",backgroundColor:"rgba(3, 88, 106, 0.3)",borderColor:"rgba(3, 88, 106, 0.70)",pointBorderColor:"rgba(3, 88, 106, 0.70)",pointBackgroundColor:"rgba(3, 88, 106, 0.70)",pointHoverBackgroundColor:"#fff",pointHoverBorderColor:"rgba(151,187,205,1)",pointBorderWidth:1,data:[82,23,66,9,99,4,2]}]}}),$("#canvas_line1").length&&new Chart(document.getElementById("canvas_line1"),{type:"line",data:{labels:["January","February","March","April","May","June","July"],datasets:[{label:"My First dataset",backgroundColor:"rgba(38, 185, 154, 0.31)",borderColor:"rgba(38, 185, 154, 0.7)",pointBorderColor:"rgba(38, 185, 154, 0.7)",pointBackgroundColor:"rgba(38, 185, 154, 0.7)",pointHoverBackgroundColor:"#fff",pointHoverBorderColor:"rgba(220,220,220,1)",pointBorderWidth:1,data:[31,74,6,39,20,85,7]},{label:"My Second dataset",backgroundColor:"rgba(3, 88, 106, 0.3)",borderColor:"rgba(3, 88, 106, 0.70)",pointBorderColor:"rgba(3, 88, 106, 0.70)",pointBackgroundColor:"rgba(3, 88, 106, 0.70)",pointHoverBackgroundColor:"#fff",pointHoverBorderColor:"rgba(151,187,205,1)",pointBorderWidth:1,data:[82,23,66,9,99,4,2]}]}}),$("#canvas_line2").length&&new Chart(document.getElementById("canvas_line2"),{type:"line",data:{labels:["January","February","March","April","May","June","July"],datasets:[{label:"My First dataset",backgroundColor:"rgba(38, 185, 154, 0.31)",borderColor:"rgba(38, 185, 154, 0.7)",pointBorderColor:"rgba(38, 185, 154, 0.7)",pointBackgroundColor:"rgba(38, 185, 154, 0.7)",pointHoverBackgroundColor:"#fff",pointHoverBorderColor:"rgba(220,220,220,1)",pointBorderWidth:1,data:[31,74,6,39,20,85,7]},{label:"My Second dataset",backgroundColor:"rgba(3, 88, 106, 0.3)",borderColor:"rgba(3, 88, 106, 0.70)",pointBorderColor:"rgba(3, 88, 106, 0.70)",pointBackgroundColor:"rgba(3, 88, 106, 0.70)",pointHoverBackgroundColor:"#fff",pointHoverBorderColor:"rgba(151,187,205,1)",pointBorderWidth:1,data:[82,23,66,9,99,4,2]}]}}),$("#canvas_line3").length&&new Chart(document.getElementById("canvas_line3"),{type:"line",data:{labels:["January","February","March","April","May","June","July"],datasets:[{label:"My First dataset",backgroundColor:"rgba(38, 185, 154, 0.31)",borderColor:"rgba(38, 185, 154, 0.7)",pointBorderColor:"rgba(38, 185, 154, 0.7)",pointBackgroundColor:"rgba(38, 185, 154, 0.7)",pointHoverBackgroundColor:"#fff",pointHoverBorderColor:"rgba(220,220,220,1)",pointBorderWidth:1,data:[31,74,6,39,20,85,7]},{label:"My Second dataset",backgroundColor:"rgba(3, 88, 106, 0.3)",borderColor:"rgba(3, 88, 106, 0.70)",pointBorderColor:"rgba(3, 88, 106, 0.70)",pointBackgroundColor:"rgba(3, 88, 106, 0.70)",pointHoverBackgroundColor:"#fff",pointHoverBorderColor:"rgba(151,187,205,1)",pointBorderWidth:1,data:[82,23,66,9,99,4,2]}]}}),$("#canvas_line4").length&&new Chart(document.getElementById("canvas_line4"),{type:"line",data:{labels:["January","February","March","April","May","June","July"],datasets:[{label:"My First dataset",backgroundColor:"rgba(38, 185, 154, 0.31)",borderColor:"rgba(38, 185, 154, 0.7)",pointBorderColor:"rgba(38, 185, 154, 0.7)",pointBackgroundColor:"rgba(38, 185, 154, 0.7)",pointHoverBackgroundColor:"#fff",pointHoverBorderColor:"rgba(220,220,220,1)",pointBorderWidth:1,data:[31,74,6,39,20,85,7]},{label:"My Second dataset",backgroundColor:"rgba(3, 88, 106, 0.3)",borderColor:"rgba(3, 88, 106, 0.70)",pointBorderColor:"rgba(3, 88, 106, 0.70)",pointBackgroundColor:"rgba(3, 88, 106, 0.70)",pointHoverBackgroundColor:"#fff",pointHoverBorderColor:"rgba(151,187,205,1)",pointBorderWidth:1,data:[82,23,66,9,99,4,2]}]}}),$("#lineChart").length){var e=document.getElementById("lineChart");new Chart(e,{type:"line",data:{labels:["January","February","March","April","May","June","July"],datasets:[{label:"My First dataset",backgroundColor:"rgba(38, 185, 154, 0.31)",borderColor:"rgba(38, 185, 154, 0.7)",pointBorderColor:"rgba(38, 185, 154, 0.7)",pointBackgroundColor:"rgba(38, 185, 154, 0.7)",pointHoverBackgroundColor:"#fff",pointHoverBorderColor:"rgba(220,220,220,1)",pointBorderWidth:1,data:[31,74,6,39,20,85,7]},{label:"My Second dataset",backgroundColor:"rgba(3, 88, 106, 0.3)",borderColor:"rgba(3, 88, 106, 0.70)",pointBorderColor:"rgba(3, 88, 106, 0.70)",pointBackgroundColor:"rgba(3, 88, 106, 0.70)",pointHoverBackgroundColor:"#fff",pointHoverBorderColor:"rgba(151,187,205,1)",pointBorderWidth:1,data:[82,23,66,9,99,4,2]}]}})}if($("#mybarChart").length){e=document.getElementById("mybarChart");new Chart(e,{type:"bar",data:{labels:["January","February","March","April","May","June","July"],datasets:[{label:"# of Votes",backgroundColor:"#26B99A",data:[51,30,40,28,92,50,45]},{label:"# of Votes",backgroundColor:"#03586A",data:[41,56,25,48,72,34,12]}]},options:{scales:{yAxes:[{ticks:{beginAtZero:!0}}]}}})}if($("#canvasDoughnut").length){e=document.getElementById("canvasDoughnut");var t={labels:["Dark Grey","Purple Color","Gray Color","Green Color","Blue Color"],datasets:[{data:[120,50,140,180,100],backgroundColor:["#455C73","#9B59B6","#BDC3C7","#26B99A","#3498DB"],hoverBackgroundColor:["#34495E","#B370CF","#CFD4D8","#36CAAB","#49A9EA"]}]};new Chart(e,{type:"doughnut",tooltipFillColor:"rgba(51, 51, 51, 0.55)",data:t})}if($("#canvasRadar").length){e=document.getElementById("canvasRadar"),t={labels:["Eating","Drinking","Sleeping","Designing","Coding","Cycling","Running"],datasets:[{label:"My First dataset",backgroundColor:"rgba(3, 88, 106, 0.2)",borderColor:"rgba(3, 88, 106, 0.80)",pointBorderColor:"rgba(3, 88, 106, 0.80)",pointBackgroundColor:"rgba(3, 88, 106, 0.80)",pointHoverBackgroundColor:"#fff",pointHoverBorderColor:"rgba(220,220,220,1)",data:[65,59,90,81,56,55,40]},{label:"My Second dataset",backgroundColor:"rgba(38, 185, 154, 0.2)",borderColor:"rgba(38, 185, 154, 0.85)",pointColor:"rgba(38, 185, 154, 0.85)",pointStrokeColor:"#fff",pointHighlightFill:"#fff",pointHighlightStroke:"rgba(151,187,205,1)",data:[28,48,40,19,96,27,100]}]};new Chart(e,{type:"radar",data:t})}if($("#pieChart").length){e=document.getElementById("pieChart"),t={datasets:[{data:[120,50,140,180,100],backgroundColor:["#455C73","#9B59B6","#BDC3C7","#26B99A","#3498DB"],label:"My dataset"}],labels:["Dark Gray","Purple","Gray","Green","Blue"]};new Chart(e,{data:t,type:"pie",otpions:{legend:!1}})}if($("#polarArea").length){e=document.getElementById("polarArea"),t={datasets:[{data:[120,50,140,180,100],backgroundColor:["#455C73","#9B59B6","#BDC3C7","#26B99A","#3498DB"],label:"My dataset"}],labels:["Dark Gray","Purple","Gray","Green","Blue"]};new Chart(e,{data:t,type:"polarArea",options:{scale:{ticks:{beginAtZero:!0}}}})}}}function init_compose(){void 0!==$.fn.slideToggle&&(console.log("init_compose"),$("#compose, .compose-close").click((function(){$(".compose").slideToggle()})))}function init_calendar(){if(void 0!==$.fn.fullCalendar){console.log("init_calendar");var e,t=new Date,n=t.getDate(),c=t.getMonth(),r=t.getFullYear(),a=$("#calendar").fullCalendar({header:{left:"prev,next today",center:"title",right:"month,agendaWeek,agendaDay,listMonth"},selectable:!0,selectHelper:!0,select:function(t,n,c){$("#fc_create").click(),e=t,ended=n,$(".antosubmit").on("click",(function(){var t=$("#title").val();return n&&(ended=n),$("#event_type").val(),t&&a.fullCalendar("renderEvent",{title:t,start:e,end:n,allDay:c},!0),$("#title").val(""),a.fullCalendar("unselect"),$(".antoclose").click(),!1}))},eventClick:function(e,t,n){$("#fc_edit").click(),$("#title2").val(e.title),$("#event_type").val(),$(".antosubmit2").on("click",(function(){e.title=$("#title2").val(),a.fullCalendar("updateEvent",e),$(".antoclose2").click()})),a.fullCalendar("unselect")},editable:!0,events:[{title:"All Day Event",start:new Date(r,c,1)},{title:"Long Event",start:new Date(r,c,n-5),end:new Date(r,c,n-2)},{title:"Meeting",start:new Date(r,c,n,10,30),allDay:!1},{title:"Lunch",start:new Date(r,c,n+14,12,0),end:new Date(r,c,n,14,0),allDay:!1},{title:"Birthday Party",start:new Date(r,c,n+1,19,0),end:new Date(r,c,n+1,22,30),allDay:!1},{title:"Click for Google",start:new Date(r,c,28),end:new Date(r,c,29),url:"http://google.com/"}]})}}function init_DataTables(){if(console.log("run_datatables"),void 0!==$.fn.DataTable){console.log("init_DataTables");TableManageButtons=function(){"use strict";return{init:function(){$("#datatable-buttons").length&&$("#datatable-buttons").DataTable({dom:"Bfrtip",buttons:[{extend:"copy",className:"btn-sm"},{extend:"csv",className:"btn-sm"},{extend:"excel",className:"btn-sm"},{extend:"pdfHtml5",className:"btn-sm"},{extend:"print",className:"btn-sm"}],responsive:!0})}}}(),$("#datatable").dataTable(),$("#datatable-keytable").DataTable({keys:!0}),$("#datatable-responsive").DataTable(),$("#datatable-scroller").DataTable({ajax:"js/datatables/json/scroller-demo.json",deferRender:!0,scrollY:380,scrollCollapse:!0,scroller:!0}),$("#datatable-fixed-header").DataTable({fixedHeader:!0});var e=$("#datatable-checkbox");e.dataTable({order:[[1,"asc"]],columnDefs:[{orderable:!1,targets:[0]}]}),e.on("draw.dt",(function(){$("checkbox input").iCheck({checkboxClass:"icheckbox_flat-green"})})),TableManageButtons.init()}}function init_morris_charts(){"undefined"!=typeof Morris&&(console.log("init_morris_charts"),$("#graph_bar").length&&Morris.Bar({element:"graph_bar",data:[{device:"iPhone 4",geekbench:380},{device:"iPhone 4S",geekbench:655},{device:"iPhone 3GS",geekbench:275},{device:"iPhone 5",geekbench:1571},{device:"iPhone 5S",geekbench:655},{device:"iPhone 6",geekbench:2154},{device:"iPhone 6 Plus",geekbench:1144},{device:"iPhone 6S",geekbench:2371},{device:"iPhone 6S Plus",geekbench:1471},{device:"Other",geekbench:1371}],xkey:"device",ykeys:["geekbench"],labels:["Geekbench"],barRatio:.4,barColors:["#26B99A","#34495E","#ACADAC","#3498DB"],xLabelAngle:35,hideHover:"auto",resize:!0}),$("#graph_bar_group").length&&Morris.Bar({element:"graph_bar_group",data:[{period:"2016-10-01",licensed:807,sorned:660},{period:"2016-09-30",licensed:1251,sorned:729},{period:"2016-09-29",licensed:1769,sorned:1018},{period:"2016-09-20",licensed:2246,sorned:1461},{period:"2016-09-19",licensed:2657,sorned:1967},{period:"2016-09-18",licensed:3148,sorned:2627},{period:"2016-09-17",licensed:3471,sorned:3740},{period:"2016-09-16",licensed:2871,sorned:2216},{period:"2016-09-15",licensed:2401,sorned:1656},{period:"2016-09-10",licensed:2115,sorned:1022}],xkey:"period",barColors:["#26B99A","#34495E","#ACADAC","#3498DB"],ykeys:["licensed","sorned"],labels:["Licensed","SORN"],hideHover:"auto",xLabelAngle:60,resize:!0}),$("#graphx").length&&Morris.Bar({element:"graphx",data:[{x:"2015 Q1",y:2,z:3,a:4},{x:"2015 Q2",y:3,z:5,a:6},{x:"2015 Q3",y:4,z:3,a:2},{x:"2015 Q4",y:2,z:4,a:5}],xkey:"x",ykeys:["y","z","a"],barColors:["#26B99A","#34495E","#ACADAC","#3498DB"],hideHover:"auto",labels:["Y","Z","A"],resize:!0}).on("click",(function(e,t){console.log(e,t)})),$("#graph_area").length&&Morris.Area({element:"graph_area",data:[{period:"2014 Q1",iphone:2666,ipad:null,itouch:2647},{period:"2014 Q2",iphone:2778,ipad:2294,itouch:2441},{period:"2014 Q3",iphone:4912,ipad:1969,itouch:2501},{period:"2014 Q4",iphone:3767,ipad:3597,itouch:5689},{period:"2015 Q1",iphone:6810,ipad:1914,itouch:2293},{period:"2015 Q2",iphone:5670,ipad:4293,itouch:1881},{period:"2015 Q3",iphone:4820,ipad:3795,itouch:1588},{period:"2015 Q4",iphone:15073,ipad:5967,itouch:5175},{period:"2016 Q1",iphone:10687,ipad:4460,itouch:2028},{period:"2016 Q2",iphone:8432,ipad:5713,itouch:1791}],xkey:"period",ykeys:["iphone","ipad","itouch"],lineColors:["#26B99A","#34495E","#ACADAC","#3498DB"],labels:["iPhone","iPad","iPod Touch"],pointSize:2,hideHover:"auto",resize:!0}),$("#graph_donut").length&&Morris.Donut({element:"graph_donut",data:[{label:"Jam",value:25},{label:"Frosted",value:40},{label:"Custard",value:25},{label:"Sugar",value:10}],colors:["#26B99A","#34495E","#ACADAC","#3498DB"],formatter:function(e){return e+"%"},resize:!0}),$("#graph_line").length&&(Morris.Line({element:"graph_line",xkey:"year",ykeys:["value"],labels:["Value"],hideHover:"auto",lineColors:["#26B99A","#34495E","#ACADAC","#3498DB"],data:[{year:"2012",value:20},{year:"2013",value:10},{year:"2014",value:5},{year:"2015",value:5},{year:"2016",value:20}],resize:!0}),$MENU_TOGGLE.on("click",(function(){$(window).resize()}))))}function init_echarts(){if("undefined"!=typeof echarts){console.log("init_echarts");var e={color:["#26B99A","#34495E","#BDC3C7","#3498DB","#9B59B6","#8abb6f","#759c6a","#bfd3b7"],title:{itemGap:8,textStyle:{fontWeight:"normal",color:"#408829"}},dataRange:{color:["#1f610a","#97b58d"]},toolbox:{color:["#408829","#408829","#408829","#408829"]},tooltip:{backgroundColor:"rgba(0,0,0,0.5)",axisPointer:{type:"line",lineStyle:{color:"#408829",type:"dashed"},crossStyle:{color:"#408829"},shadowStyle:{color:"rgba(200,200,200,0.3)"}}},dataZoom:{dataBackgroundColor:"#eee",fillerColor:"rgba(64,136,41,0.2)",handleColor:"#408829"},grid:{borderWidth:0},categoryAxis:{axisLine:{lineStyle:{color:"#408829"}},splitLine:{lineStyle:{color:["#eee"]}}},valueAxis:{axisLine:{lineStyle:{color:"#408829"}},splitArea:{show:!0,areaStyle:{color:["rgba(250,250,250,0.1)","rgba(200,200,200,0.1)"]}},splitLine:{lineStyle:{color:["#eee"]}}},timeline:{lineStyle:{color:"#408829"},controlStyle:{normal:{color:"#408829"},emphasis:{color:"#408829"}}},k:{itemStyle:{normal:{color:"#68a54a",color0:"#a9cba2",lineStyle:{width:1,color:"#408829",color0:"#86b379"}}}},map:{itemStyle:{normal:{areaStyle:{color:"#ddd"},label:{textStyle:{color:"#c12e34"}}},emphasis:{areaStyle:{color:"#99d2dd"},label:{textStyle:{color:"#c12e34"}}}}},force:{itemStyle:{normal:{linkStyle:{strokeColor:"#408829"}}}},chord:{padding:4,itemStyle:{normal:{lineStyle:{width:1,color:"rgba(128, 128, 128, 0.5)"},chordStyle:{lineStyle:{width:1,color:"rgba(128, 128, 128, 0.5)"}}},emphasis:{lineStyle:{width:1,color:"rgba(128, 128, 128, 0.5)"},chordStyle:{lineStyle:{width:1,color:"rgba(128, 128, 128, 0.5)"}}}}},gauge:{startAngle:225,endAngle:-45,axisLine:{show:!0,lineStyle:{color:[[.2,"#86b379"],[.8,"#68a54a"],[1,"#408829"]],width:8}},axisTick:{splitNumber:10,length:12,lineStyle:{color:"auto"}},axisLabel:{textStyle:{color:"auto"}},splitLine:{length:18,lineStyle:{color:"auto"}},pointer:{length:"90%",color:"auto"},title:{textStyle:{color:"#333"}},detail:{textStyle:{color:"auto"}}},textStyle:{fontFamily:"Arial, Verdana, sans-serif"}};if($("#mainb").length)echarts.init(document.getElementById("mainb"),e).setOption({title:{text:"Graph title",subtext:"Graph Sub-text"},tooltip:{trigger:"axis"},legend:{data:["sales","purchases"]},toolbox:{show:!1},calculable:!1,xAxis:[{type:"category",data:["1?","2?","3?","4?","5?","6?","7?","8?","9?","10?","11?","12?"]}],yAxis:[{type:"value"}],series:[{name:"sales",type:"bar",data:[2,4.9,7,23.2,25.6,76.7,135.6,162.2,32.6,20,6.4,3.3],markPoint:{data:[{type:"max",name:"???"},{type:"min",name:"???"}]},markLine:{data:[{type:"average",name:"???"}]}},{name:"purchases",type:"bar",data:[2.6,5.9,9,26.4,28.7,70.7,175.6,182.2,48.7,18.8,6,2.3],markPoint:{data:[{name:"sales",value:182.2,xAxis:7,yAxis:183},{name:"purchases",value:2.3,xAxis:11,yAxis:3}]},markLine:{data:[{type:"average",name:"???"}]}}]});if($("#echart_sonar").length)echarts.init(document.getElementById("echart_sonar"),e).setOption({title:{text:"Budget vs spending",subtext:"Subtitle"},tooltip:{trigger:"item"},legend:{orient:"vertical",x:"right",y:"bottom",data:["Allocated Budget","Actual Spending"]},toolbox:{show:!0,feature:{restore:{show:!0,title:"Restore"},saveAsImage:{show:!0,title:"Save Image"}}},polar:[{indicator:[{text:"Sales",max:6e3},{text:"Administration",max:16e3},{text:"Information Techology",max:3e4},{text:"Customer Support",max:38e3},{text:"Development",max:52e3},{text:"Marketing",max:25e3}]}],calculable:!0,series:[{name:"Budget vs spending",type:"radar",data:[{value:[4300,1e4,28e3,35e3,5e4,19e3],name:"Allocated Budget"},{value:[5e3,14e3,28e3,31e3,42e3,21e3],name:"Actual Spending"}]}]});if($("#echart_pyramid").length)echarts.init(document.getElementById("echart_pyramid"),e).setOption({title:{text:"Echart Pyramid Graph",subtext:"Subtitle"},tooltip:{trigger:"item",formatter:"{a}
    {b} : {c}%"},toolbox:{show:!0,feature:{restore:{show:!0,title:"Restore"},saveAsImage:{show:!0,title:"Save Image"}}},legend:{data:["Something #1","Something #2","Something #3","Something #4","Something #5"],orient:"vertical",x:"left",y:"bottom"},calculable:!0,series:[{name:"漏斗图",type:"funnel",width:"40%",data:[{value:60,name:"Something #1"},{value:40,name:"Something #2"},{value:20,name:"Something #3"},{value:80,name:"Something #4"},{value:100,name:"Something #5"}]}]});if($("#echart_gauge").length)echarts.init(document.getElementById("echart_gauge"),e).setOption({tooltip:{formatter:"{a}
    {b} : {c}%"},toolbox:{show:!0,feature:{restore:{show:!0,title:"Restore"},saveAsImage:{show:!0,title:"Save Image"}}},series:[{name:"Performance",type:"gauge",center:["50%","50%"],startAngle:140,endAngle:-140,min:0,max:100,precision:0,splitNumber:10,axisLine:{show:!0,lineStyle:{color:[[.2,"lightgreen"],[.4,"orange"],[.8,"skyblue"],[1,"#ff4500"]],width:30}},axisTick:{show:!0,splitNumber:5,length:8,lineStyle:{color:"#eee",width:1,type:"solid"}},axisLabel:{show:!0,formatter:function(e){switch(e+""){case"10":return"a";case"30":return"b";case"60":return"c";case"90":return"d";default:return""}},textStyle:{color:"#333"}},splitLine:{show:!0,length:30,lineStyle:{color:"#eee",width:2,type:"solid"}},pointer:{length:"80%",width:8,color:"auto"},title:{show:!0,offsetCenter:["-65%",-10],textStyle:{color:"#333",fontSize:15}},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:40,offsetCenter:["-60%",10],formatter:"{value}%",textStyle:{color:"auto",fontSize:30}},data:[{value:50,name:"Performance"}]}]});if($("#echart_line").length)echarts.init(document.getElementById("echart_line"),e).setOption({title:{text:"Line Graph",subtext:"Subtitle"},tooltip:{trigger:"axis"},legend:{x:220,y:40,data:["Intent","Pre-order","Deal"]},toolbox:{show:!0,feature:{magicType:{show:!0,title:{line:"Line",bar:"Bar",stack:"Stack",tiled:"Tiled"},type:["line","bar","stack","tiled"]},restore:{show:!0,title:"Restore"},saveAsImage:{show:!0,title:"Save Image"}}},calculable:!0,xAxis:[{type:"category",boundaryGap:!1,data:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"]}],yAxis:[{type:"value"}],series:[{name:"Deal",type:"line",smooth:!0,itemStyle:{normal:{areaStyle:{type:"default"}}},data:[10,12,21,54,260,830,710]},{name:"Pre-order",type:"line",smooth:!0,itemStyle:{normal:{areaStyle:{type:"default"}}},data:[30,182,434,791,390,30,10]},{name:"Intent",type:"line",smooth:!0,itemStyle:{normal:{areaStyle:{type:"default"}}},data:[1320,1132,601,234,120,90,20]}]});if($("#echart_scatter").length)echarts.init(document.getElementById("echart_scatter"),e).setOption({title:{text:"Scatter Graph",subtext:"Heinz 2003"},tooltip:{trigger:"axis",showDelay:0,axisPointer:{type:"cross",lineStyle:{type:"dashed",width:1}}},legend:{data:["Data2","Data1"]},toolbox:{show:!0,feature:{saveAsImage:{show:!0,title:"Save Image"}}},xAxis:[{type:"value",scale:!0,axisLabel:{formatter:"{value} cm"}}],yAxis:[{type:"value",scale:!0,axisLabel:{formatter:"{value} kg"}}],series:[{name:"Data1",type:"scatter",tooltip:{trigger:"item",formatter:function(e){return e.value.length>1?e.seriesName+" :
    "+e.value[0]+"cm "+e.value[1]+"kg ":e.seriesName+" :
    "+e.name+" : "+e.value+"kg "}},data:[[161.2,51.6],[167.5,59],[159.5,49.2],[157,63],[155.8,53.6],[170,59],[159.1,47.6],[166,69.8],[176.2,66.8],[160.2,75.2],[172.5,55.2],[170.9,54.2],[172.9,62.5],[153.4,42],[160,50],[147.2,49.8],[168.2,49.2],[175,73.2],[157,47.8],[167.6,68.8],[159.5,50.6],[175,82.5],[166.8,57.2],[176.5,87.8],[170.2,72.8],[174,54.5],[173,59.8],[179.9,67.3],[170.5,67.8],[160,47],[154.4,46.2],[162,55],[176.5,83],[160,54.4],[152,45.8],[162.1,53.6],[170,73.2],[160.2,52.1],[161.3,67.9],[166.4,56.6],[168.9,62.3],[163.8,58.5],[167.6,54.5],[160,50.2],[161.3,60.3],[167.6,58.3],[165.1,56.2],[160,50.2],[170,72.9],[157.5,59.8],[167.6,61],[160.7,69.1],[163.2,55.9],[152.4,46.5],[157.5,54.3],[168.3,54.8],[180.3,60.7],[165.5,60],[165,62],[164.5,60.3],[156,52.7],[160,74.3],[163,62],[165.7,73.1],[161,80],[162,54.7],[166,53.2],[174,75.7],[172.7,61.1],[167.6,55.7],[151.1,48.7],[164.5,52.3],[163.5,50],[152,59.3],[169,62.5],[164,55.7],[161.2,54.8],[155,45.9],[170,70.6],[176.2,67.2],[170,69.4],[162.5,58.2],[170.3,64.8],[164.1,71.6],[169.5,52.8],[163.2,59.8],[154.5,49],[159.8,50],[173.2,69.2],[170,55.9],[161.4,63.4],[169,58.2],[166.2,58.6],[159.4,45.7],[162.5,52.2],[159,48.6],[162.8,57.8],[159,55.6],[179.8,66.8],[162.9,59.4],[161,53.6],[151.1,73.2],[168.2,53.4],[168.9,69],[173.2,58.4],[171.8,56.2],[178,70.6],[164.3,59.8],[163,72],[168.5,65.2],[166.8,56.6],[172.7,105.2],[163.5,51.8],[169.4,63.4],[167.8,59],[159.5,47.6],[167.6,63],[161.2,55.2],[160,45],[163.2,54],[162.2,50.2],[161.3,60.2],[149.5,44.8],[157.5,58.8],[163.2,56.4],[172.7,62],[155,49.2],[156.5,67.2],[164,53.8],[160.9,54.4],[162.8,58],[167,59.8],[160,54.8],[160,43.2],[168.9,60.5],[158.2,46.4],[156,64.4],[160,48.8],[167.1,62.2],[158,55.5],[167.6,57.8],[156,54.6],[162.1,59.2],[173.4,52.7],[159.8,53.2],[170.5,64.5],[159.2,51.8],[157.5,56],[161.3,63.6],[162.6,63.2],[160,59.5],[168.9,56.8],[165.1,64.1],[162.6,50],[165.1,72.3],[166.4,55],[160,55.9],[152.4,60.4],[170.2,69.1],[162.6,84.5],[170.2,55.9],[158.8,55.5],[172.7,69.5],[167.6,76.4],[162.6,61.4],[167.6,65.9],[156.2,58.6],[175.2,66.8],[172.1,56.6],[162.6,58.6],[160,55.9],[165.1,59.1],[182.9,81.8],[166.4,70.7],[165.1,56.8],[177.8,60],[165.1,58.2],[175.3,72.7],[154.9,54.1],[158.8,49.1],[172.7,75.9],[168.9,55],[161.3,57.3],[167.6,55],[165.1,65.5],[175.3,65.5],[157.5,48.6],[163.8,58.6],[167.6,63.6],[165.1,55.2],[165.1,62.7],[168.9,56.6],[162.6,53.9],[164.5,63.2],[176.5,73.6],[168.9,62],[175.3,63.6],[159.4,53.2],[160,53.4],[170.2,55],[162.6,70.5],[167.6,54.5],[162.6,54.5],[160.7,55.9],[160,59],[157.5,63.6],[162.6,54.5],[152.4,47.3],[170.2,67.7],[165.1,80.9],[172.7,70.5],[165.1,60.9],[170.2,63.6],[170.2,54.5],[170.2,59.1],[161.3,70.5],[167.6,52.7],[167.6,62.7],[165.1,86.3],[162.6,66.4],[152.4,67.3],[168.9,63],[170.2,73.6],[175.2,62.3],[175.2,57.7],[160,55.4],[165.1,104.1],[174,55.5],[170.2,77.3],[160,80.5],[167.6,64.5],[167.6,72.3],[167.6,61.4],[154.9,58.2],[162.6,81.8],[175.3,63.6],[171.4,53.4],[157.5,54.5],[165.1,53.6],[160,60],[174,73.6],[162.6,61.4],[174,55.5],[162.6,63.6],[161.3,60.9],[156.2,60],[149.9,46.8],[169.5,57.3],[160,64.1],[175.3,63.6],[169.5,67.3],[160,75.5],[172.7,68.2],[162.6,61.4],[157.5,76.8],[176.5,71.8],[164.4,55.5],[160.7,48.6],[174,66.4],[163.8,67.3]],markPoint:{data:[{type:"max",name:"Max"},{type:"min",name:"Min"}]},markLine:{data:[{type:"average",name:"Mean"}]}},{name:"Data2",type:"scatter",tooltip:{trigger:"item",formatter:function(e){return e.value.length>1?e.seriesName+" :
    "+e.value[0]+"cm "+e.value[1]+"kg ":e.seriesName+" :
    "+e.name+" : "+e.value+"kg "}},data:[[174,65.6],[175.3,71.8],[193.5,80.7],[186.5,72.6],[187.2,78.8],[181.5,74.8],[184,86.4],[184.5,78.4],[175,62],[184,81.6],[180,76.6],[177.8,83.6],[192,90],[176,74.6],[174,71],[184,79.6],[192.7,93.8],[171.5,70],[173,72.4],[176,85.9],[176,78.8],[180.5,77.8],[172.7,66.2],[176,86.4],[173.5,81.8],[178,89.6],[180.3,82.8],[180.3,76.4],[164.5,63.2],[173,60.9],[183.5,74.8],[175.5,70],[188,72.4],[189.2,84.1],[172.8,69.1],[170,59.5],[182,67.2],[170,61.3],[177.8,68.6],[184.2,80.1],[186.7,87.8],[171.4,84.7],[172.7,73.4],[175.3,72.1],[180.3,82.6],[182.9,88.7],[188,84.1],[177.2,94.1],[172.1,74.9],[167,59.1],[169.5,75.6],[174,86.2],[172.7,75.3],[182.2,87.1],[164.1,55.2],[163,57],[171.5,61.4],[184.2,76.8],[174,86.8],[174,72.2],[177,71.6],[186,84.8],[167,68.2],[171.8,66.1],[182,72],[167,64.6],[177.8,74.8],[164.5,70],[192,101.6],[175.5,63.2],[171.2,79.1],[181.6,78.9],[167.4,67.7],[181.1,66],[177,68.2],[174.5,63.9],[177.5,72],[170.5,56.8],[182.4,74.5],[197.1,90.9],[180.1,93],[175.5,80.9],[180.6,72.7],[184.4,68],[175.5,70.9],[180.6,72.5],[177,72.5],[177.1,83.4],[181.6,75.5],[176.5,73],[175,70.2],[174,73.4],[165.1,70.5],[177,68.9],[192,102.3],[176.5,68.4],[169.4,65.9],[182.1,75.7],[179.8,84.5],[175.3,87.7],[184.9,86.4],[177.3,73.2],[167.4,53.9],[178.1,72],[168.9,55.5],[157.2,58.4],[180.3,83.2],[170.2,72.7],[177.8,64.1],[172.7,72.3],[165.1,65],[186.7,86.4],[165.1,65],[174,88.6],[175.3,84.1],[185.4,66.8],[177.8,75.5],[180.3,93.2],[180.3,82.7],[177.8,58],[177.8,79.5],[177.8,78.6],[177.8,71.8],[177.8,116.4],[163.8,72.2],[188,83.6],[198.1,85.5],[175.3,90.9],[166.4,85.9],[190.5,89.1],[166.4,75],[177.8,77.7],[179.7,86.4],[172.7,90.9],[190.5,73.6],[185.4,76.4],[168.9,69.1],[167.6,84.5],[175.3,64.5],[170.2,69.1],[190.5,108.6],[177.8,86.4],[190.5,80.9],[177.8,87.7],[184.2,94.5],[176.5,80.2],[177.8,72],[180.3,71.4],[171.4,72.7],[172.7,84.1],[172.7,76.8],[177.8,63.6],[177.8,80.9],[182.9,80.9],[170.2,85.5],[167.6,68.6],[175.3,67.7],[165.1,66.4],[185.4,102.3],[181.6,70.5],[172.7,95.9],[190.5,84.1],[179.1,87.3],[175.3,71.8],[170.2,65.9],[193,95.9],[171.4,91.4],[177.8,81.8],[177.8,96.8],[167.6,69.1],[167.6,82.7],[180.3,75.5],[182.9,79.5],[176.5,73.6],[186.7,91.8],[188,84.1],[188,85.9],[177.8,81.8],[174,82.5],[177.8,80.5],[171.4,70],[185.4,81.8],[185.4,84.1],[188,90.5],[188,91.4],[182.9,89.1],[176.5,85],[175.3,69.1],[175.3,73.6],[188,80.5],[188,82.7],[175.3,86.4],[170.5,67.7],[179.1,92.7],[177.8,93.6],[175.3,70.9],[182.9,75],[170.8,93.2],[188,93.2],[180.3,77.7],[177.8,61.4],[185.4,94.1],[168.9,75],[185.4,83.6],[180.3,85.5],[174,73.9],[167.6,66.8],[182.9,87.3],[160,72.3],[180.3,88.6],[167.6,75.5],[186.7,101.4],[175.3,91.1],[175.3,67.3],[175.9,77.7],[175.3,81.8],[179.1,75.5],[181.6,84.5],[177.8,76.6],[182.9,85],[177.8,102.5],[184.2,77.3],[179.1,71.8],[176.5,87.9],[188,94.3],[174,70.9],[167.6,64.5],[170.2,77.3],[167.6,72.3],[188,87.3],[174,80],[176.5,82.3],[180.3,73.6],[167.6,74.1],[188,85.9],[180.3,73.2],[167.6,76.3],[183,65.9],[183,90.9],[179.1,89.1],[170.2,62.3],[177.8,82.7],[179.1,79.1],[190.5,98.2],[177.8,84.1],[180.3,83.2],[180.3,83.2]],markPoint:{data:[{type:"max",name:"Max"},{type:"min",name:"Min"}]},markLine:{data:[{type:"average",name:"Mean"}]}}]});if($("#echart_bar_horizontal").length)echarts.init(document.getElementById("echart_bar_horizontal"),e).setOption({title:{text:"Bar Graph",subtext:"Graph subtitle"},tooltip:{trigger:"axis"},legend:{x:100,data:["2015","2016"]},toolbox:{show:!0,feature:{saveAsImage:{show:!0,title:"Save Image"}}},calculable:!0,xAxis:[{type:"value",boundaryGap:[0,.01]}],yAxis:[{type:"category",data:["Jan","Feb","Mar","Apr","May","Jun"]}],series:[{name:"2015",type:"bar",data:[18203,23489,29034,104970,131744,630230]},{name:"2016",type:"bar",data:[19325,23438,31e3,121594,134141,681807]}]});if($("#echart_pie2").length)echarts.init(document.getElementById("echart_pie2"),e).setOption({tooltip:{trigger:"item",formatter:"{a}
    {b} : {c} ({d}%)"},legend:{x:"center",y:"bottom",data:["rose1","rose2","rose3","rose4","rose5","rose6"]},toolbox:{show:!0,feature:{magicType:{show:!0,type:["pie","funnel"]},restore:{show:!0,title:"Restore"},saveAsImage:{show:!0,title:"Save Image"}}},calculable:!0,series:[{name:"Area Mode",type:"pie",radius:[25,90],center:["50%",170],roseType:"area",x:"50%",max:40,sort:"ascending",data:[{value:10,name:"rose1"},{value:5,name:"rose2"},{value:15,name:"rose3"},{value:25,name:"rose4"},{value:20,name:"rose5"},{value:35,name:"rose6"}]}]});if($("#echart_donut").length)echarts.init(document.getElementById("echart_donut"),e).setOption({tooltip:{trigger:"item",formatter:"{a}
    {b} : {c} ({d}%)"},calculable:!0,legend:{x:"center",y:"bottom",data:["Direct Access","E-mail Marketing","Union Ad","Video Ads","Search Engine"]},toolbox:{show:!0,feature:{magicType:{show:!0,type:["pie","funnel"],option:{funnel:{x:"25%",width:"50%",funnelAlign:"center",max:1548}}},restore:{show:!0,title:"Restore"},saveAsImage:{show:!0,title:"Save Image"}}},series:[{name:"Access to the resource",type:"pie",radius:["35%","55%"],itemStyle:{normal:{label:{show:!0},labelLine:{show:!0}},emphasis:{label:{show:!0,position:"center",textStyle:{fontSize:"14",fontWeight:"normal"}}}},data:[{value:335,name:"Direct Access"},{value:310,name:"E-mail Marketing"},{value:234,name:"Union Ad"},{value:135,name:"Video Ads"},{value:1548,name:"Search Engine"}]}]});if($("#echart_pie").length){echarts.init(document.getElementById("echart_pie"),e).setOption({tooltip:{trigger:"item",formatter:"{a}
    {b} : {c} ({d}%)"},legend:{x:"center",y:"bottom",data:["Direct Access","E-mail Marketing","Union Ad","Video Ads","Search Engine"]},toolbox:{show:!0,feature:{magicType:{show:!0,type:["pie","funnel"],option:{funnel:{x:"25%",width:"50%",funnelAlign:"left",max:1548}}},restore:{show:!0,title:"Restore"},saveAsImage:{show:!0,title:"Save Image"}}},calculable:!0,series:[{name:"访问来源",type:"pie",radius:"55%",center:["50%","48%"],data:[{value:335,name:"Direct Access"},{value:310,name:"E-mail Marketing"},{value:234,name:"Union Ad"},{value:135,name:"Video Ads"},{value:1548,name:"Search Engine"}]}]});var t={normal:{label:{show:!1},labelLine:{show:!1}}},n={normal:{color:"rgba(0,0,0,0)",label:{show:!1},labelLine:{show:!1}},emphasis:{color:"rgba(0,0,0,0)"}}}if($("#echart_mini_pie").length)echarts.init(document.getElementById("echart_mini_pie"),e).setOption({title:{text:"Chart #2",subtext:"From ExcelHome",sublink:"http://e.weibo.com/1341556070/AhQXtjbqh",x:"center",y:"center",itemGap:20,textStyle:{color:"rgba(30,144,255,0.8)",fontFamily:"微软雅黑",fontSize:35,fontWeight:"bolder"}},tooltip:{show:!0,formatter:"{a}
    {b} : {c} ({d}%)"},legend:{orient:"vertical",x:170,y:45,itemGap:12,data:["68%Something #1","29%Something #2","3%Something #3"]},toolbox:{show:!0,feature:{mark:{show:!0},dataView:{show:!0,title:"Text View",lang:["Text View","Close","Refresh"],readOnly:!1},restore:{show:!0,title:"Restore"},saveAsImage:{show:!0,title:"Save Image"}}},series:[{name:"1",type:"pie",clockWise:!1,radius:[105,130],itemStyle:t,data:[{value:68,name:"68%Something #1"},{value:32,name:"invisible",itemStyle:n}]},{name:"2",type:"pie",clockWise:!1,radius:[80,105],itemStyle:t,data:[{value:29,name:"29%Something #2"},{value:71,name:"invisible",itemStyle:n}]},{name:"3",type:"pie",clockWise:!1,radius:[25,80],itemStyle:t,data:[{value:3,name:"3%Something #3"},{value:97,name:"invisible",itemStyle:n}]}]});if($("#echart_world_map").length)echarts.init(document.getElementById("echart_world_map"),e).setOption({title:{text:"World Population (2010)",subtext:"from United Nations, Total population, both sexes combined, as of 1 July (thousands)",x:"center",y:"top"},tooltip:{trigger:"item",formatter:function(e){var t=(e.value+"").split(".");return t=t[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+"."+t[1],e.seriesName+"
    "+e.name+" : "+t}},toolbox:{show:!0,orient:"vertical",x:"right",y:"center",feature:{mark:{show:!0},dataView:{show:!0,title:"Text View",lang:["Text View","Close","Refresh"],readOnly:!1},restore:{show:!0,title:"Restore"},saveAsImage:{show:!0,title:"Save Image"}}},dataRange:{min:0,max:1e6,text:["High","Low"],realtime:!1,calculable:!0,color:["#087E65","#26B99A","#CBEAE3"]},series:[{name:"World Population (2010)",type:"map",mapType:"world",roam:!1,mapLocation:{y:60},itemStyle:{emphasis:{label:{show:!0}}},data:[{name:"Afghanistan",value:28397.812},{name:"Angola",value:19549.124},{name:"Albania",value:3150.143},{name:"United Arab Emirates",value:8441.537},{name:"Argentina",value:40374.224},{name:"Armenia",value:2963.496},{name:"French Southern and Antarctic Lands",value:268.065},{name:"Australia",value:22404.488},{name:"Austria",value:8401.924},{name:"Azerbaijan",value:9094.718},{name:"Burundi",value:9232.753},{name:"Belgium",value:10941.288},{name:"Benin",value:9509.798},{name:"Burkina Faso",value:15540.284},{name:"Bangladesh",value:151125.475},{name:"Bulgaria",value:7389.175},{name:"The Bahamas",value:66402.316},{name:"Bosnia and Herzegovina",value:3845.929},{name:"Belarus",value:9491.07},{name:"Belize",value:308.595},{name:"Bermuda",value:64.951},{name:"Bolivia",value:716.939},{name:"Brazil",value:195210.154},{name:"Brunei",value:27.223},{name:"Bhutan",value:716.939},{name:"Botswana",value:1969.341},{name:"Central African Republic",value:4349.921},{name:"Canada",value:34126.24},{name:"Switzerland",value:7830.534},{name:"Chile",value:17150.76},{name:"China",value:1359821.465},{name:"Ivory Coast",value:60508.978},{name:"Cameroon",value:20624.343},{name:"Democratic Republic of the Congo",value:62191.161},{name:"Republic of the Congo",value:3573.024},{name:"Colombia",value:46444.798},{name:"Costa Rica",value:4669.685},{name:"Cuba",value:11281.768},{name:"Northern Cyprus",value:1.468},{name:"Cyprus",value:1103.685},{name:"Czech Republic",value:10553.701},{name:"Germany",value:83017.404},{name:"Djibouti",value:834.036},{name:"Denmark",value:5550.959},{name:"Dominican Republic",value:10016.797},{name:"Algeria",value:37062.82},{name:"Ecuador",value:15001.072},{name:"Egypt",value:78075.705},{name:"Eritrea",value:5741.159},{name:"Spain",value:46182.038},{name:"Estonia",value:1298.533},{name:"Ethiopia",value:87095.281},{name:"Finland",value:5367.693},{name:"Fiji",value:860.559},{name:"Falkland Islands",value:49.581},{name:"France",value:63230.866},{name:"Gabon",value:1556.222},{name:"United Kingdom",value:62066.35},{name:"Georgia",value:4388.674},{name:"Ghana",value:24262.901},{name:"Guinea",value:10876.033},{name:"Gambia",value:1680.64},{name:"Guinea Bissau",value:10876.033},{name:"Equatorial Guinea",value:696.167},{name:"Greece",value:11109.999},{name:"Greenland",value:56.546},{name:"Guatemala",value:14341.576},{name:"French Guiana",value:231.169},{name:"Guyana",value:786.126},{name:"Honduras",value:7621.204},{name:"Croatia",value:4338.027},{name:"Haiti",value:9896.4},{name:"Hungary",value:10014.633},{name:"Indonesia",value:240676.485},{name:"India",value:1205624.648},{name:"Ireland",value:4467.561},{name:"Iran",value:240676.485},{name:"Iraq",value:30962.38},{name:"Iceland",value:318.042},{name:"Israel",value:7420.368},{name:"Italy",value:60508.978},{name:"Jamaica",value:2741.485},{name:"Jordan",value:6454.554},{name:"Japan",value:127352.833},{name:"Kazakhstan",value:15921.127},{name:"Kenya",value:40909.194},{name:"Kyrgyzstan",value:5334.223},{name:"Cambodia",value:14364.931},{name:"South Korea",value:51452.352},{name:"Kosovo",value:97.743},{name:"Kuwait",value:2991.58},{name:"Laos",value:6395.713},{name:"Lebanon",value:4341.092},{name:"Liberia",value:3957.99},{name:"Libya",value:6040.612},{name:"Sri Lanka",value:20758.779},{name:"Lesotho",value:2008.921},{name:"Lithuania",value:3068.457},{name:"Luxembourg",value:507.885},{name:"Latvia",value:2090.519},{name:"Morocco",value:31642.36},{name:"Moldova",value:103.619},{name:"Madagascar",value:21079.532},{name:"Mexico",value:117886.404},{name:"Macedonia",value:507.885},{name:"Mali",value:13985.961},{name:"Myanmar",value:51931.231},{name:"Montenegro",value:620.078},{name:"Mongolia",value:2712.738},{name:"Mozambique",value:23967.265},{name:"Mauritania",value:3609.42},{name:"Malawi",value:15013.694},{name:"Malaysia",value:28275.835},{name:"Namibia",value:2178.967},{name:"New Caledonia",value:246.379},{name:"Niger",value:15893.746},{name:"Nigeria",value:159707.78},{name:"Nicaragua",value:5822.209},{name:"Netherlands",value:16615.243},{name:"Norway",value:4891.251},{name:"Nepal",value:26846.016},{name:"New Zealand",value:4368.136},{name:"Oman",value:2802.768},{name:"Pakistan",value:173149.306},{name:"Panama",value:3678.128},{name:"Peru",value:29262.83},{name:"Philippines",value:93444.322},{name:"Papua New Guinea",value:6858.945},{name:"Poland",value:38198.754},{name:"Puerto Rico",value:3709.671},{name:"North Korea",value:1.468},{name:"Portugal",value:10589.792},{name:"Paraguay",value:6459.721},{name:"Qatar",value:1749.713},{name:"Romania",value:21861.476},{name:"Russia",value:21861.476},{name:"Rwanda",value:10836.732},{name:"Western Sahara",value:514.648},{name:"Saudi Arabia",value:27258.387},{name:"Sudan",value:35652.002},{name:"South Sudan",value:9940.929},{name:"Senegal",value:12950.564},{name:"Solomon Islands",value:526.447},{name:"Sierra Leone",value:5751.976},{name:"El Salvador",value:6218.195},{name:"Somaliland",value:9636.173},{name:"Somalia",value:9636.173},{name:"Republic of Serbia",value:3573.024},{name:"Suriname",value:524.96},{name:"Slovakia",value:5433.437},{name:"Slovenia",value:2054.232},{name:"Sweden",value:9382.297},{name:"Swaziland",value:1193.148},{name:"Syria",value:7830.534},{name:"Chad",value:11720.781},{name:"Togo",value:6306.014},{name:"Thailand",value:66402.316},{name:"Tajikistan",value:7627.326},{name:"Turkmenistan",value:5041.995},{name:"East Timor",value:10016.797},{name:"Trinidad and Tobago",value:1328.095},{name:"Tunisia",value:10631.83},{name:"Turkey",value:72137.546},{name:"United Republic of Tanzania",value:44973.33},{name:"Uganda",value:33987.213},{name:"Ukraine",value:46050.22},{name:"Uruguay",value:3371.982},{name:"United States of America",value:312247.116},{name:"Uzbekistan",value:27769.27},{name:"Venezuela",value:236.299},{name:"Vietnam",value:89047.397},{name:"Vanuatu",value:236.299},{name:"West Bank",value:13.565},{name:"Yemen",value:22763.008},{name:"South Africa",value:51452.352},{name:"Zambia",value:13216.985},{name:"Zimbabwe",value:13076.978}]}]})}}jQuery((function(e){e("#regexGroupSelect").change((function(){document.location="?group="+e("#regexGroupSelect option:selected").attr("value")})),e(".confirm_action").click((function(){return confirm("Are you sure?")}))})),tinyMCE.init({selector:"textarea#body",theme:"silver",plugins:["advlist autolink link image lists charmap print preview hr anchor pagebreak spellchecker","searchreplace wordcount visualblocks visualchars code fullscreen insertdatetime media nonbreaking","save table directionality emoticons template paste code"],theme_advanced_toolbar_location:"top",theme_advanced_toolbar_align:"left",toolbar:"insertfile undo redo | styleselect | fontselect |sizeselect | fontsizeselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image | print preview media fullpage | forecolor backcolor emoticons | code",fontsize_formats:"8pt 9pt 10pt 11pt 12pt 13pt 14pt 15pt 16pt 17pt 18pt 24pt 36pt",mode:"exact",relative_urls:!1,remove_script_host:!1,convert_urls:!0}),tinyMCE.init({selector:"textarea#metadescription",theme:"silver",plugins:["advlist autolink link image lists charmap print preview hr anchor pagebreak spellchecker","searchreplace wordcount visualblocks visualchars code fullscreen insertdatetime media nonbreaking","save table contextmenu directionality emoticons template paste textcolor code"],theme_advanced_toolbar_location:"top",theme_advanced_toolbar_align:"left",toolbar:"insertfile undo redo | styleselect | fontselect |sizeselect | fontsizeselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image | print preview media fullpage | forecolor backcolor emoticons | code",fontsize_formats:"8pt 9pt 10pt 11pt 12pt 13pt 14pt 15pt 16pt 17pt 18pt 24pt 36pt",mode:"exact",relative_urls:!1,remove_script_host:!1,convert_urls:!0}),tinyMCE.init({selector:"textarea#metakeywords",theme:"silver",plugins:["advlist autolink link image lists charmap print preview hr anchor pagebreak spellchecker","searchreplace wordcount visualblocks visualchars code fullscreen insertdatetime media nonbreaking","save table contextmenu directionality emoticons template paste textcolor code"],theme_advanced_toolbar_location:"top",theme_advanced_toolbar_align:"left",toolbar:"insertfile undo redo | styleselect | fontselect |sizeselect | fontsizeselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image | print preview media fullpage | forecolor backcolor emoticons | code",fontsize_formats:"8pt 9pt 10pt 11pt 12pt 13pt 14pt 15pt 16pt 17pt 18pt 24pt 36pt",mode:"exact",relative_urls:!1,remove_script_host:!1,convert_urls:!0}),function(e,t){jQuery.fn[t]=function(e){return e?this.bind("resize",(n=e,function(){var e=this,t=arguments;a?clearTimeout(a):r&&n.apply(e,t),a=setTimeout((function(){r||n.apply(e,t),a=null}),c||100)})):this.trigger(t);var n,c,r,a}}(jQuery,"smartresize"),$(document).ready((function(){var e,t=function(){$RIGHT_COL.css("min-height",$(window).height());var e=$BODY.outerHeight(),t=$BODY.hasClass("footer_fixed")?-10:$FOOTER.height(),n=$LEFT_COL.eq(1).height()+$SIDEBAR_FOOTER.height(),c=e1){for(var n=0,c=0;c:first-child"),"+"==$expand.text()?$expand.text("-"):$expand.text("+")}))})),"undefined"!=typeof NProgress&&($(document).ready((function(){NProgress.start()})),$(window).load((function(){NProgress.done()})));var originalLeave=$.fn.popover.Constructor.prototype.leave;$.fn.popover.Constructor.prototype.leave=function(e){var t,n,c=e instanceof this.constructor?e:$(e.currentTarget)[this.type](this.getDelegateOptions()).data("bs."+this.type);originalLeave.call(this,e),e.currentTarget&&(t=$(e.currentTarget).siblings(".popover"),n=c.timeout,t.one("mouseenter",(function(){clearTimeout(n),t.one("mouseleave",(function(){$.fn.popover.Constructor.prototype.leave.call(c,c)}))})))},$("body").popover({selector:"[data-popover]",trigger:"click hover",delay:{show:50,hide:400}}),$(document).ready((function(){init_sparklines(),init_flot_chart(),init_wysiwyg(),init_InputMask(),init_JQVmap(),init_cropper(),init_knob(),init_IonRangeSlider(),init_ColorPicker(),init_TagsInput(),init_parsley(),init_daterangepicker(),init_daterangepicker_right(),init_daterangepicker_single_call(),init_daterangepicker_reservation(),init_SmartWizard(),init_EasyPieChart(),init_charts(),init_echarts(),init_morris_charts(),init_skycons(),init_select2(),init_validator(),init_DataTables(),init_chart_doughnut(),init_gauge(),init_PNotify(),init_starrr(),init_calendar(),init_compose(),init_CustomNotification(),init_autosize(),init_autocomplete()}));let tooltipTriggerList=[].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]')),tooltipList=tooltipTriggerList.map((function(e){return new bootstrap.Tooltip(e)}));function isValidEmailAddress(e){return new RegExp(/^(("[\w-\s]+")|([\w-]+(?:\.[\w-]+)*)|("[\w-\s]+")([\w-]+(?:\.[\w-]+)*))(@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$)|(@\[?((25[0-5]\.|2[0-4][0-9]\.|1[0-9]{2}\.|[0-9]{1,2}\.))((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[0-9]{1,2})\.){2}(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[0-9]{1,2})\]?$)/i).test(e)}function mymovie_del(e,t){return $.ajax({url:base_url+"/ajax_mymovies?rand="+$.now(),data:{del:e},dataType:"html",success:function(e){$(t).hide(),$(t).prev("a").show()},error:function(e,t,n){}}),!1}function mymovie_add(e,t){return $(t).hide(),$(t).next("a").show(),$.ajax({url:base_url+"/ajax_mymovies?rand="+$.now(),data:{add:e},dataType:"html",success:function(e){},error:function(e,t,n){}}),!1}function getNzbGetQueue(){$.ajax({url:"queuedata?type=nzbget&id="+$.now(),cache:!1,success:function(e){$(".nzbget_queue").html(e),setTimeout("getNzbGetQueue()",2500)},error:function(){$(".nzbget_queue").html('Could not contact your queue. Refresh')},timeout:5e3})}function getHistory(){$.ajax({url:"queuedata?type=history&id="+$.now(),cache:!1,success:function(e){$(".sab_history").html(e),setTimeout("getHistory()",1e4)},error:function(){},timeout:5e3})}jQuery((function(e){const t=window.location.origin;e(".cartadd").click((function(n){if(e(this).hasClass("icon_cart_clicked"))return!1;let c=e(".guid").attr("id").substring(4);return e.ajaxSetup({headers:{"X-CSRF-TOKEN":e('meta[name="csrf-token"]').attr("content")}}),e.post(t+"/cart/add?id="+c,(function(t){e(n.target).addClass("icon_cart_clicked").attr("title","Added to Cart"),PNotify.defaults.icons="fontawesome5",PNotify.success({title:"Release added to your Download Basket!",type:"success",icon:"fa fa-info fa-3x",Animate:{animate:!0,in_class:"bounceInLeft",out_class:"bounceOutRight"},desktop:{desktop:!0,fallback:!0}})})),!1})),e(".sabsend").click((function(n){if(e(this).hasClass("icon_sab_clicked"))return!1;let c=e(".guid").attr("id").substring(4),r=t+"/sendtoqueue/"+c;return e.post(r,(function(t){e(n.target).addClass("icon_sab_clicked").attr("title","Added to Queue"),PNotify.defaults.icons="fontawesome5",PNotify.success({title:"Release added to your download queue!",type:"success",icon:"fa fa-info fa-3x",Animate:{animate:!0,in_class:"bounceInLeft",out_class:"bounceOutRight"},desktop:{desktop:!0,fallback:!0}})})),!1})),e(".getsend").click((function(n){if(e(this).hasClass("icon_nzbget_clicked"))return!1;let c=e(".guid").attr("id").substring(4),r=t+"/sendtoqueue/"+c;return e.post(r,(function(t){e(n.target).addClass("icon_nzbget_clicked").attr("title","Added to Queue"),PNotify.defaults.icons="fontawesome5",PNotify.success({title:"Release added to your download queue!",type:"success",icon:"fa fa-info fa-3x",Animate:{animate:!0,in_class:"bounceInLeft",out_class:"bounceOutRight"},desktop:{desktop:!0,fallback:!0}})})),!1})),e(".sendtocouch").click((function(n){if(e(this).hasClass("icon_cp_clicked"))return!1;let c=e(this).attr("id").substring(4),r=t+"sendtocouch/"+c;return e.post(r,(function(t){e(n.target).addClass("icon_cp_clicked").attr("title","Added to CouchPotato"),PNotify.defaults.icons="fontawesome5",PNotify.success({title:"Movie added to CoucPotato wanted list!",type:"success",icon:"fa fa-info fa-3x",Animate:{animate:!0,in_class:"bounceInLeft",out_class:"bounceOutRight"},desktop:{desktop:!0,fallback:!0}})})),!1})),e(".vortexsend").click((function(n){if(e(this).hasClass("icon_nzbvortex_clicked"))return!1;let c=e(".guid").attr("id").substring(4);return c&&c.length>0&&e.ajax({url:t+"nzbvortex?addQueue="+c+"&isAjax",cache:!1}).done((function(t){let r="Added "+c+" to queue.";e(n.target).addClass("icon_nzbvortex_clicked").attr("title",r),PNotify.defaults.icons="fontawesome5",PNotify.success({title:"Release added to your download queue!",type:"success",icon:"fa fa-info fa-3x",Animate:{animate:!0,in_class:"bounceInLeft",out_class:"bounceOutRight"},desktop:{desktop:!0,fallback:!0}})})).fail((function(e){alert(e.responseText)})),!1}));let n=new Array;n[0]="Waiting",n[1]="Downloading",n[2]="Downloaded",n[3]="Saving",n[4]="Saved",n[5]="Skipped";let c,r,a=e("table.data tr").children("td.icons").children("div.icon").css("opacity");e("table.data tr").hover((function(){e(this).children("td.icons").children("div.icon").css("opacity",1)}),(function(){e(this).children("td.icons").children("div.icon").css("opacity",a)})),e(".forumpostsubmit").click((function(t){if(""==e.trim(e("#addMessage").val())||""==e.trim(e("#addSubject").val()))return alert("Please enter a subject and message."),!1})),e(".forumreplysubmit").click((function(t){if(""==e.trim(e("#addMessage").val()))return alert("Please enter a message."),!1})),e(".check").click((function(t){e(t.target).is("input")||e(this).children(".nzb_check").attr("checked",!e(this).children(".nzb_check").attr("checked"))})),e(".descmore").click((function(t){return e(this).prev(".descinitial").hide(),e(this).next(".descfull").show(),e(this).hide(),!1})),e(".nzb_check_all").change((function(){e(this).attr("checked")?e("table.data tr td input:checkbox").attr("checked",e(this).attr("checked")):e("table.data tr td input:checkbox").removeAttr("checked")})),e(".nzb_check_all_season").change((function(){let t=e(this).attr("name");e("table.data tr td input:checkbox").each((function(n,c){e(c).attr("name")==t&&e(c).attr("checked",!e(c).attr("checked"))}))})),e(".icon_cart").click((function(n){if(e(this).hasClass("icon_cart_clicked"))return!1;let c=e(this).attr("id").substring(4);return e.ajaxSetup({headers:{"X-CSRF-TOKEN":e('meta[name="csrf-token"]').attr("content")}}),e.post(t+"/cart/add?id="+c,(function(t){e(n.target).addClass("icon_cart_clicked").attr("title"," Release added to Cart"),PNotify.defaults.icons="fontawesome5",PNotify.success({title:"Release added to your download basket!",type:"success",icon:"fa fa-info fa-3x",Animate:{animate:!0,in_class:"bounceInLeft",out_class:"bounceOutRight"},desktop:{desktop:!0,fallback:!0}})})),!1})),e(".icon_nzbvortex").click((function(n){if(e(this).hasClass("icon_nzbvortex_clicked"))return!1;let c=e(this).parent().parent().attr("id").substring(4);return c&&c.length>0&&e.ajax({url:t+"/nzbvortex?addQueue="+c+"&isAjax",cache:!1}).done((function(t){let r="Added "+c+" to queue.";e(n.target).addClass("icon_nzbvortex_clicked").attr("title",r),PNotify.defaults.icons="fontawesome5",PNotify.success({title:"ADDED TO NZBVORTEX!",type:"success",icon:"fa fa-info fa-3x",Animate:{animate:!0,in_class:"bounceInLeft",out_class:"bounceOutRight"},desktop:{desktop:!0,fallback:!0}})})).fail((function(e){alert(e.responseText)})),!1})),e(document).on("click","a.vortex-resume",(function(n){return n.preventDefault(),e("#vortex-overlay-"+e(this).attr("href")).show(),e.get(t+"nzbvortex?resume="+e(this).attr("href")+"&isAjax"),e(this).removeAttr("href"),!1})),e(document).on("click","a.vortex-pause",(function(n){return n.preventDefault(),e("#vortex-overlay-"+e(this).attr("href")).show(),e.get(t+"nzbvortex?pause="+e(this).attr("href")+"&isAjax"),e(this).removeAttr("href"),!1})),e(document).on("click","a.vortex-moveup",(function(n){return n.preventDefault(),e("#vortex-overlay-"+e(this).attr("href")).show(),e.get(t+"nzbvortex?moveup="+e(this).attr("href")+"&isAjax"),e(this).removeAttr("href"),!1})),e(document).on("click","a.vortex-movedown",(function(n){return n.preventDefault(),e("#vortex-overlay-"+e(this).attr("href")).show(),e.get(t+"nzbvortex?movedown="+e(this).attr("href")+"&isAjax"),e(this).removeAttr("href"),!1})),e(document).on("click","a.vortex-movetop",(function(n){return n.preventDefault(),e("#vortex-overlay-"+e(this).attr("href")).show(),e.get(t+"nzbvortex?movetop="+e(this).attr("href")+"&isAjax"),e(this).removeAttr("href"),!1})),e(document).on("click","a.vortex-movebottom",(function(n){return n.preventDefault(),e("#vortex-overlay-"+e(this).attr("href")).show(),e.get(t+"nzbvortex?movebottom="+e(this).attr("href")+"&isAjax"),e(this).removeAttr("href"),!1})),e(document).on("click","a.vortex-trash",(function(n){return n.preventDefault(),e("#vortex-overlay-"+e(this).attr("href")).show(),e.get(t+"nzbvortex?delete="+e(this).attr("href")+"&isAjax"),e(this).removeAttr("href"),!1})),e(document).on("click","a.vortex-filelist",(function(c){c.preventDefault();let r=e(this).attr("href");return e("#vortex-overlay-"+r).show(),e.colorbox({}),e.ajax({url:t+"/nzbvortex?filelist="+r+"&isAjax",cache:!1}).done((function(t){e("#cboxLoadingGraphic").hide();let c=e.parseJSON(t);console.log(c),e.each(c.files,(function(t,c){e("#cboxContent").append(""+c.fileName+" ("+n[c.state]+")
    ")}))})).fail((function(e){alert("Unable to retrieve filelist: "+e.responseText)})),e(this).removeAttr("href"),!1})),e(".icon_sab").click((function(n){if(e(this).hasClass("icon_sab_clicked"))return!1;let c=e(this).attr("id").substring(4),r=t+"/sendtoqueue/"+c;return e.post(r,(function(t){e(n.target).addClass("icon_sab_clicked").attr("title","Release added to Queue"),PNotify.defaults.icons="fontawesome5",PNotify.success({title:"Release added to your download queue!",type:"success",icon:"fa fa-info fa-3x",Animate:{animate:!0,in_class:"bounceInLeft",out_class:"bounceOutRight"},desktop:{desktop:!0,fallback:!0}})})),!1})),e(".icon_nzbget").click((function(n){if(e(this).hasClass("icon_nzbget_clicked"))return!1;let c=e(this).attr("id").substring(4),r=t+"/sendtoqueue/"+c;return e.post(r,(function(t){e(n.target).addClass("icon_nzbget_clicked").attr("title","Added to Queue"),PNotify.defaults.icons="fontawesome5",PNotify.success({title:"Release added to your download queue!",type:"success",icon:"fa fa-info fa-3x",Animate:{animate:!0,in_class:"bounceInLeft",out_class:"bounceOutRight"},desktop:{desktop:!0,fallback:!0}})})),!1})),e("table.data a.modal_nfo").colorbox({href:function(){return e(this).attr("href")+"&modal"},title:function(){return e(this).parent().parent().children("a.title").text()},innerWidth:"800px",innerHeight:"90%",initialWidth:"800px",initialHeight:"90%",speed:0,opacity:.7}),e("table.data a.modal_prev").colorbox({scrolling:!1,maxWidth:"800px",maxHeight:"450px"}),e("table.data a.modal_imdb").colorbox({href:function(){return t+"movie/"+e(this).attr("name").substring(4)+"&modal"},title:function(){return e(this).parent().parent().children("a.title").text()},innerWidth:"800px",innerHeight:"450px",initialWidth:"800px",initialHeight:"450px",speed:0,opacity:.7}).click((function(){e("#colorbox").removeClass().addClass("cboxMovie")})),e("a.modal_imdbtrailer").colorbox({href:function(){return t+"movietrailer/"+e(this).attr("name").substring(4)+"&modal"},title:function(){return e(this).parent().parent().children("a.title").text()},innerWidth:"800px",innerHeight:"450px",initialWidth:"800px",initialHeight:"450px",speed:0,opacity:.7}).click((function(){e("#colorbox").removeClass().addClass("cboxMovie")})),e("table.data a.modal_music").colorbox({href:function(){return t+"musicmodal/"+e(this).attr("name").substring(4)+"&modal"},title:function(){return e(this).parent().parent().children("a.title").text()},innerWidth:"800px",innerHeight:"450px",initialWidth:"800px",initialHeight:"450px",speed:0,opacity:.7}).click((function(){e("#colorbox").removeClass().addClass("cboxMusic")})),e("table.data a.modal_console").colorbox({href:function(){return t+"consolemodal/"+e(this).attr("name").substring(4)+"&modal"},title:function(){return e(this).parent().parent().children("a.title").text()},innerWidth:"800px",innerHeight:"450px",initialWidth:"800px",initialHeight:"450px",speed:0,opacity:.7}).click((function(){e("#colorbox").removeClass().addClass("cboxConsole")})),e("table.data a.modal_book").colorbox({href:function(){return t+"bookmodal/"+e(this).attr("name").substring(4)+"&modal"},title:function(){return e(this).parent().parent().children("a.title").text()},innerWidth:"800px",innerHeight:"450px",initialWidth:"800px",initialHeight:"450px",speed:0,opacity:.7}).click((function(){e("#colorbox").removeClass().addClass("cboxBook")})),e("#nzb_multi_operations_form").submit((function(){return!1})),e("button.nzb_multi_operations_download").on("click",(function(){let n="";e("table.data INPUT[type='checkbox']:checked").each((function(t,c){"on"!=e(c).val()&&(n+=e(c).val()+",")})),n=n.substring(0,n.length-1),n&&(window.location=t+"/getnzb?zip=1&id="+n)})),e("input.nzb_multi_operations_download_cart").on("click",(function(){let n="";e("table.data INPUT[type='checkbox']:checked").each((function(t,c){"on"!=e(c).val()&&(n+=e(c).val()+",")})),n=n.substring(0,n.length-1),n&&(window.location=t+"/getnzb?zip=1&id="+n)})),e("button.nzb_multi_operations_cart").on("click",(function(){let n=new Array;e.ajaxSetup({headers:{"X-CSRF-TOKEN":e('meta[name="csrf-token"]').attr("content")}}),e("table.data INPUT[type='checkbox']:checked").each((function(t,c){let r=e(c).val(),a=e(c).parent().children("div.icons").children(".icon_cart");r&&!a.hasClass("icon_cart_clicked")&&(a.addClass("icon_cart_clicked").attr("title","Added to Cart"),n.push(r),PNotify.defaults.icons="fontawesome5",PNotify.success({title:"Release added to your Download Basket!",type:"success",icon:"fa fa-info fa-3x",Animate:{animate:!0,in_class:"bounceInLeft",out_class:"bounceOutRight"},desktop:{desktop:!0,fallback:!0}})),e(this).attr("checked",!1)}));let c=n.toString();e.post(t+"/cart/add?id="+c)})),e("button.nzb_multi_operations_sab").on("click",(function(){e("table.data INPUT[type='checkbox']:checked").each((function(n,c){let r=e(c).parent().parent().children("td.icons").children(".icon_sab"),a=e(c).val();if(a&&!r.hasClass("icon_sab_clicked")){let n=t+"/sendtoqueue/"+a;e.post(n,(function(e){r.addClass("icon_sab_clicked").attr("title","Added to Queue"),PNotify.defaults.icons="fontawesome5",PNotify.success({title:"Release added to your download queue!",type:"success",icon:"fa fa-info fa-3x",Animate:{animate:!0,in_class:"bounceInLeft",out_class:"bounceOutRight"},desktop:{desktop:!0,fallback:!0}})}))}e(this).attr("checked",!1)}))})),e("input.nzb_multi_operations_nzbget").on("click",(function(){e("table.data INPUT[type='checkbox']:checked").each((function(n,c){let r=e(c).parent().parent().children("td.icons").children(".icon_nzbget"),a=e(c).val();if(a&&!r.hasClass("icon_nzbget_clicked")){let n=t+"/sendtoqueue/"+a;e.post(n,(function(e){r.addClass("icon_nzbget_clicked").attr("title","Added to Queue"),PNotify.defaults.icons="fontawesome5",PNotify.success({title:"Release added to your download queue!",type:"success",icon:"fa fa-info fa-3x",Animate:{animate:!0,in_class:"bounceInLeft",out_class:"bounceOutRight"},desktop:{desktop:!0,fallback:!0}})}))}e(this).attr("checked",!1)}))})),e("input.nzb_multi_operations_edit").click((function(){let n="";e("table.data INPUT[type='checkbox']:checked").each((function(t,c){"on"!=e(c).val()&&(n+="&id[]="+e(c).val())})),n&&e("input.nzb_multi_operations_edit").colorbox({href:function(){return t+"ajax_release-admin?action=edit"+n+"&from="+encodeURIComponent(window.location)},title:"Edit Release",innerWidth:"400px",innerHeight:"250px",initialWidth:"400px",initialHeight:"250px",speed:0,opacity:.7})})),e("input.nzb_multi_operations_delete").click((function(){let n="";if(e("table.data INPUT[type='checkbox']:checked").each((function(t,c){"on"!=e(c).val()&&(n+="&id[]="+e(c).val())})),n){PNotify.defaults.icons="fontawesome5";const c=PNotify.alert({title:"Confirmation Needed",text:"Are you sure you want to delete the selected releases?",icon:"glyphicon glyphicon-question-sign",hide:!1,modules:{Confirm:{confirm:!0}},Buttons:{closer:!1,sticker:!1},History:{history:!1}});c.on("pnotify.confirm",(function(){e.post(t+"ajax_release-admin?action=dodelete"+n,(function(e){location.reload(!0)}))})),c.on("pnotify.cancel",(function(){alert("Cancelled")}))}})),e("input.nzb_multi_operations_rebuild").click((function(){let n="";e("table.data INPUT[type='checkbox']:checked").each((function(t,c){"on"!=e(c).val()&&(n+="&id[]="+e(c).val())})),n&&confirm("Are you sure you want to rebuild the selected releases?")&&e.post(t+"ajax_release-admin?action=dorebuild"+n,(function(e){location.reload(!0)}))})),e("input.nzb_multi_operations_cartdelete").click((function(){let n=new Array;if(e("table.data INPUT[type='checkbox']:checked").each((function(t,c){"on"!=e(c).val()&&n.push(e(c).val())})),e.ajaxSetup({headers:{"X-CSRF-TOKEN":e('meta[name="csrf-token"]').attr("content")}}),n){PNotify.defaults.icons="fontawesome5";const c=PNotify.alert({title:"Confirmation Needed",text:"Are you sure you want to delete the selected releases from your cart?",hide:!1,modules:{Confirm:{confirm:!0}},Buttons:{closer:!1,sticker:!1},History:{history:!1}});c.on("pnotify.confirm",(function(){e.post(t+"/cart/delete/"+n)})),c.on("pnotify.cancel",(function(){alert("Cancelled")}))}})),e("input.nzb_multi_operations_cartsab").click((function(){new Array;e("table.data INPUT[type='checkbox']:checked").each((function(n,c){let r=e(c).val(),a=t+"/sendtoqueue/"+r;e.post(a,(function(){PNotify.defaults.icons="fontawesome5",PNotify.success({title:"Releases sent to queue!",type:"success",icon:"fa fa-info fa-3x",Animate:{animate:!0,in_class:"bounceInLeft",out_class:"bounceOutRight"},desktop:{desktop:!0,fallback:!0}})}))}))})),e("#headsearch").focus((function(){"Search..."==this.value?this.value="":this.select()})).blur((function(){""==this.value&&(this.value="Search...")})),e("#headsearch_form").submit((function(){return e("#headsearch_go").trigger("click"),!1})),e("#headsearch_go").click((function(){if(e("#headsearch").val()&&"Search..."!=e("#headsearch").val()){let n=e("#headsearch").val(),c=-1!=e("#headcat").val()?"&t="+e("#headcat").val():"";document.location=t+"/search?id="+n+c}})),e("#search_search_button").click((function(){return e("#search").val()&&(document.location=t+"/search?id="+e("#search").val()+(-1!=e("#search_cat").val()?"&t="+e("#search_cat").val():"")),!1})),e("#search").focus((function(){this.select()})),e("#searchraw_search_button").click((function(){return e("#search").val()&&(document.location=t+"/searchraw/"+e("#search").val()),!1})),e("#searchraw_download_selected").click((function(){return e("#dl input:checked").length&&e("#dl").trigger("submit"),!1})),e("#username").length&&e("#username").focus(),e("#search").length&&e("#search").focus(),e("#viewfilelist_download_selected").click((function(){return e("#fileform input:checked").length&&e("#fileform").trigger("submit"),!1})),e(".confirm_action").click((function(){return confirm("Are you sure?")})),e(".audioprev").click((function(){let t=document.getElementById(e(this).next("audio").attr("ID"));return null!=t&&("Listen"==e(this).text()?(t.play(),e(this).text("Stop")):(t.pause(),t.currentTime=0,e(this).text("Listen"))),t.addEventListener("ended",(function(){e(this).prev().text("Listen")})),!1})),e(".mmenu").click((function(){return document.location=e(this).children("a").attr("href"),!1})),e(".mmenu_new").click((function(){return window.open(e(this).children("a").attr("href")),!1})),e(".checkbox_operations .select_all").click((function(){return e("table.data INPUT[type='checkbox']").attr("checked",!0).trigger("change"),!1})),e(".checkbox_operations .select_none").click((function(){return e("table.data INPUT[type='checkbox']").attr("checked",!1).trigger("change"),!1})),e(".checkbox_operations .select_invert").click((function(){return e("table.data INPUT[type='checkbox']").each((function(){e(this).attr("checked",!e(this).attr("checked")).trigger("change")})),!1})),e(".checkbox_operations .select_range").click((function(){return c&&r&&c1&&""!=r[1])t+=r[1],n+=r[1].length;else{if(" "==e[n])t+="+";else{let c=e.charCodeAt(n).toString(16);t+="%"+(c.length<2?"0":"")+c.toUpperCase()}n++}}return t},URLDecode:function(e){let t,n=e,c=/(%[^%]{2})/;for(;null!=(m=c.exec(n))&&m.length>1&&""!=m[1];)b=parseInt(m[1].substr(1),16),t=String.fromCharCode(b),n=n.replace(m[1],t);return n}}),$((function(){let e=$("input.flat-all"),t=$("input.flat");$("input").iCheck({checkboxClass:"icheckbox_flat-green",radioClass:"iradio_flat-green"}),e.on("ifChecked ifUnchecked",(function(e){"ifChecked"===e.type?t.iCheck("check"):t.iCheck("uncheck")})),t.on("ifChanged",(function(n){t.filter(":checked").length===t.length?e.prop("checked","checked"):e.prop("checked",!1),e.iCheck("update")}))})),tinyMCE.init({selector:"textarea#addMessage",theme:"silver",plugins:["advlist autolink link image lists charmap print preview hr anchor pagebreak spellchecker","searchreplace wordcount visualblocks visualchars code fullscreen insertdatetime media nonbreaking","save table directionality emoticons template paste code"],theme_advanced_toolbar_location:"top",theme_advanced_toolbar_align:"left",toolbar:"insertfile undo redo | styleselect | fontselect |sizeselect | fontsizeselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image | print preview media fullpage | forecolor backcolor emoticons | code",fontsize_formats:"8pt 9pt 10pt 11pt 12pt 13pt 14pt 15pt 16pt 17pt 18pt 24pt 36pt",mode:"exact",relative_urls:!1,remove_script_host:!1,convert_urls:!0}); +var a,e;!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,(function(e,t){"use strict";var n=[],c=Object.getPrototypeOf,r=n.slice,a=n.flat?function(e){return n.flat.call(e)}:function(e){return n.concat.apply([],e)},o=n.push,i=n.indexOf,s={},l=s.toString,u=s.hasOwnProperty,f=u.toString,d=f.call(Object),h={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},p=function(e){return null!=e&&e===e.window},g=e.document,v={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var c,r,a=(n=n||g).createElement("script");if(a.text=e,t)for(c in v)(r=t[c]||t.getAttribute&&t.getAttribute(c))&&a.setAttribute(c,r);n.head.appendChild(a).parentNode.removeChild(a)}function z(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?s[l.call(e)]||"object":typeof e}var y="3.6.4",C=function(e,t){return new C.fn.init(e,t)};function H(e){var t=!!e&&"length"in e&&e.length,n=z(e);return!m(e)&&!p(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+P+")"+P+"*"),U=new RegExp(P+"|>"),W=new RegExp(B),Y=new RegExp("^"+R+"$"),Z={ID:new RegExp("^#("+R+")"),CLASS:new RegExp("^\\.("+R+")"),TAG:new RegExp("^("+R+"|[*])"),ATTR:new RegExp("^"+I),PSEUDO:new RegExp("^"+B),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+P+"*(even|odd|(([+-]|)(\\d*)n|)"+P+"*(?:([+-]|)"+P+"*(\\d+)|))"+P+"*\\)|)","i"),bool:new RegExp("^(?:"+O+")$","i"),needsContext:new RegExp("^"+P+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+P+"*((?:-\\d)?\\d*)"+P+"*\\)|)(?=[^-]|$)","i")},X=/HTML$/i,G=/^(?:input|select|textarea|button)$/i,Q=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+P+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},ce=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,re=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},ae=function(){d()},oe=ye((function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{D.apply(S=E.call(C.childNodes),C.childNodes),S[C.childNodes.length].nodeType}catch(t){D={apply:S.length?function(e,t){T.apply(e,E.call(t))}:function(e,t){for(var n=e.length,c=0;e[n++]=t[c++];);e.length=n-1}}}function ie(e,t,c,r){var a,i,l,u,f,m,v,b=t&&t.ownerDocument,C=t?t.nodeType:9;if(c=c||[],"string"!=typeof e||!e||1!==C&&9!==C&&11!==C)return c;if(!r&&(d(t),t=t||h,p)){if(11!==C&&(f=J.exec(e)))if(a=f[1]){if(9===C){if(!(l=t.getElementById(a)))return c;if(l.id===a)return c.push(l),c}else if(b&&(l=b.getElementById(a))&&z(t,l)&&l.id===a)return c.push(l),c}else{if(f[2])return D.apply(c,t.getElementsByTagName(e)),c;if((a=f[3])&&n.getElementsByClassName&&t.getElementsByClassName)return D.apply(c,t.getElementsByClassName(a)),c}if(n.qsa&&!_[e+" "]&&(!g||!g.test(e))&&(1!==C||"object"!==t.nodeName.toLowerCase())){if(v=e,b=t,1===C&&(U.test(e)||q.test(e))){for((b=ee.test(e)&&ve(t.parentNode)||t)===t&&n.scope||((u=t.getAttribute("id"))?u=u.replace(ce,re):t.setAttribute("id",u=y)),i=(m=o(e)).length;i--;)m[i]=(u?"#"+u:":scope")+" "+ze(m[i]);v=m.join(",")}try{return D.apply(c,b.querySelectorAll(v)),c}catch(t){_(e,!0)}finally{u===y&&t.removeAttribute("id")}}}return s(e.replace($,"$1"),t,c,r)}function se(){var e=[];return function t(n,r){return e.push(n+" ")>c.cacheLength&&delete t[e.shift()],t[n+" "]=r}}function le(e){return e[y]=!0,e}function ue(e){var t=h.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){for(var n=e.split("|"),r=n.length;r--;)c.attrHandle[n[r]]=t}function de(e,t){var n=t&&e,c=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(c)return c;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function he(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function me(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function pe(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&oe(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ge(e){return le((function(t){return t=+t,le((function(n,c){for(var r,a=e([],n.length,t),o=a.length;o--;)n[r=a[o]]&&(n[r]=!(c[r]=n[r]))}))}))}function ve(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=ie.support={},a=ie.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!X.test(t||n&&n.nodeName||"HTML")},d=ie.setDocument=function(e){var t,r,o=e?e.ownerDocument||e:C;return o!=h&&9===o.nodeType&&o.documentElement&&(m=(h=o).documentElement,p=!a(h),C!=h&&(r=h.defaultView)&&r.top!==r&&(r.addEventListener?r.addEventListener("unload",ae,!1):r.attachEvent&&r.attachEvent("onunload",ae)),n.scope=ue((function(e){return m.appendChild(e).appendChild(h.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length})),n.cssHas=ue((function(){try{return h.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}})),n.attributes=ue((function(e){return e.className="i",!e.getAttribute("className")})),n.getElementsByTagName=ue((function(e){return e.appendChild(h.createComment("")),!e.getElementsByTagName("*").length})),n.getElementsByClassName=K.test(h.getElementsByClassName),n.getById=ue((function(e){return m.appendChild(e).id=y,!h.getElementsByName||!h.getElementsByName(y).length})),n.getById?(c.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},c.find.ID=function(e,t){if(void 0!==t.getElementById&&p){var n=t.getElementById(e);return n?[n]:[]}}):(c.filter.ID=function(e){var t=e.replace(te,ne);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},c.find.ID=function(e,t){if(void 0!==t.getElementById&&p){var n,c,r,a=t.getElementById(e);if(a){if((n=a.getAttributeNode("id"))&&n.value===e)return[a];for(r=t.getElementsByName(e),c=0;a=r[c++];)if((n=a.getAttributeNode("id"))&&n.value===e)return[a]}return[]}}),c.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,c=[],r=0,a=t.getElementsByTagName(e);if("*"===e){for(;n=a[r++];)1===n.nodeType&&c.push(n);return c}return a},c.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&p)return t.getElementsByClassName(e)},v=[],g=[],(n.qsa=K.test(h.querySelectorAll))&&(ue((function(e){var t;m.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+P+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||g.push("\\["+P+"*(?:value|"+O+")"),e.querySelectorAll("[id~="+y+"-]").length||g.push("~="),(t=h.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||g.push("\\["+P+"*name"+P+"*="+P+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||g.push(":checked"),e.querySelectorAll("a#"+y+"+*").length||g.push(".#.+[+~]"),e.querySelectorAll("\\\f"),g.push("[\\r\\n\\f]")})),ue((function(e){e.innerHTML="";var t=h.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&g.push("name"+P+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),m.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")}))),(n.matchesSelector=K.test(b=m.matches||m.webkitMatchesSelector||m.mozMatchesSelector||m.oMatchesSelector||m.msMatchesSelector))&&ue((function(e){n.disconnectedMatch=b.call(e,"*"),b.call(e,"[s!='']:x"),v.push("!=",B)})),n.cssHas||g.push(":has"),g=g.length&&new RegExp(g.join("|")),v=v.length&&new RegExp(v.join("|")),t=K.test(m.compareDocumentPosition),z=t||K.test(m.contains)?function(e,t){var n=9===e.nodeType&&e.documentElement||e,c=t&&t.parentNode;return e===c||!(!c||1!==c.nodeType||!(n.contains?n.contains(c):e.compareDocumentPosition&&16&e.compareDocumentPosition(c)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},x=t?function(e,t){if(e===t)return f=!0,0;var c=!e.compareDocumentPosition-!t.compareDocumentPosition;return c||(1&(c=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===c?e==h||e.ownerDocument==C&&z(C,e)?-1:t==h||t.ownerDocument==C&&z(C,t)?1:u?N(u,e)-N(u,t):0:4&c?-1:1)}:function(e,t){if(e===t)return f=!0,0;var n,c=0,r=e.parentNode,a=t.parentNode,o=[e],i=[t];if(!r||!a)return e==h?-1:t==h?1:r?-1:a?1:u?N(u,e)-N(u,t):0;if(r===a)return de(e,t);for(n=e;n=n.parentNode;)o.unshift(n);for(n=t;n=n.parentNode;)i.unshift(n);for(;o[c]===i[c];)c++;return c?de(o[c],i[c]):o[c]==C?-1:i[c]==C?1:0}),h},ie.matches=function(e,t){return ie(e,null,null,t)},ie.matchesSelector=function(e,t){if(d(e),n.matchesSelector&&p&&!_[t+" "]&&(!v||!v.test(t))&&(!g||!g.test(t)))try{var c=b.call(e,t);if(c||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return c}catch(e){_(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||ie.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&ie.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return Z.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&W.test(n)&&(t=o(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=V[e+" "];return t||(t=new RegExp("(^|"+P+")"+e+"("+P+"|$)"))&&V(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(c){var r=ie.attr(c,e);return null==r?"!="===t:!t||(r+="","="===t?r===n:"!="===t?r!==n:"^="===t?n&&0===r.indexOf(n):"*="===t?n&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function k(e,t,n){return m(t)?C.grep(e,(function(e,c){return!!t.call(e,c,e)!==n})):t.nodeType?C.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?C.grep(e,(function(e){return-1)[^>]*|#([\w-]+))$/;(C.fn.init=function(e,t,n){var c,r;if(!e)return this;if(n=n||S,"string"==typeof e){if(!(c="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:A.exec(e))||!c[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(c[1]){if(t=t instanceof C?t[0]:t,C.merge(this,C.parseHTML(c[1],t&&t.nodeType?t.ownerDocument||t:g,!0)),x.test(c[1])&&C.isPlainObject(t))for(c in t)m(this[c])?this[c](t[c]):this.attr(c,t[c]);return this}return(r=g.getElementById(c[2]))&&(this[0]=r,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(C):C.makeArray(e,this)}).prototype=C.fn,S=C(g);var T=/^(?:parents|prev(?:Until|All))/,D={children:!0,contents:!0,next:!0,prev:!0};function E(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}C.fn.extend({has:function(e){var t=C(e,this),n=t.length;return this.filter((function(){for(var e=0;e\x20\t\r\n\f]*)/i,me=/^$|^module$|\/(?:java|ecma)script/i;ue=g.createDocumentFragment().appendChild(g.createElement("div")),(fe=g.createElement("input")).setAttribute("type","radio"),fe.setAttribute("checked","checked"),fe.setAttribute("name","t"),ue.appendChild(fe),h.checkClone=ue.cloneNode(!0).cloneNode(!0).lastChild.checked,ue.innerHTML="",h.noCloneChecked=!!ue.cloneNode(!0).lastChild.defaultValue,ue.innerHTML="",h.option=!!ue.lastChild;var pe={thead:[1,"","
    "],col:[2,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],_default:[0,"",""]};function ge(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&_(e,t)?C.merge([e],n):n}function ve(e,t){for(var n=0,c=e.length;n",""]);var be=/<|&#?\w+;/;function ze(e,t,n,c,r){for(var a,o,i,s,l,u,f=t.createDocumentFragment(),d=[],h=0,m=e.length;h\s*$/g;function ke(e,t){return _(e,"table")&&_(11!==t.nodeType?t:t.firstChild,"tr")&&C(e).children("tbody")[0]||e}function Se(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Ae(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Te(e,t){var n,c,r,a,o,i;if(1===t.nodeType){if(X.hasData(e)&&(i=X.get(e).events))for(r in X.remove(t,"handle events"),i)for(n=0,c=i[r].length;n").attr(e.scriptAttrs||{}).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&r("error"===e.type?404:200,e.type)}),g.head.appendChild(t[0])},abort:function(){n&&n()}}}));var Ut,Wt=[],Yt=/(=)\?(?=&|$)|\?\?/;C.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Wt.pop()||C.expando+"_"+Mt.guid++;return this[e]=!0,e}}),C.ajaxPrefilter("json jsonp",(function(t,n,c){var r,a,o,i=!1!==t.jsonp&&(Yt.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Yt.test(t.data)&&"data");if(i||"jsonp"===t.dataTypes[0])return r=t.jsonpCallback=m(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,i?t[i]=t[i].replace(Yt,"$1"+r):!1!==t.jsonp&&(t.url+=(Vt.test(t.url)?"&":"?")+t.jsonp+"="+r),t.converters["script json"]=function(){return o||C.error(r+" was not called"),o[0]},t.dataTypes[0]="json",a=e[r],e[r]=function(){o=arguments},c.always((function(){void 0===a?C(e).removeProp(r):e[r]=a,t[r]&&(t.jsonpCallback=n.jsonpCallback,Wt.push(r)),o&&m(a)&&a(o[0]),o=a=void 0})),"script"})),h.createHTMLDocument=((Ut=g.implementation.createHTMLDocument("").body).innerHTML="
    ",2===Ut.childNodes.length),C.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(h.createHTMLDocument?((c=(t=g.implementation.createHTMLDocument("")).createElement("base")).href=g.location.href,t.head.appendChild(c)):t=g),a=!n&&[],(r=x.exec(e))?[t.createElement(r[1])]:(r=ze([e],t,a),a&&a.length&&C(a).remove(),C.merge([],r.childNodes)));var c,r,a},C.fn.load=function(e,t,n){var c,r,a,o=this,i=e.indexOf(" ");return-1").append(C.parseHTML(e)).find(c):e)})).always(n&&function(e,t){o.each((function(){n.apply(this,a||[e.responseText,t,e])}))}),this},C.expr.pseudos.animated=function(e){return C.grep(C.timers,(function(t){return e===t.elem})).length},C.offset={setOffset:function(e,t,n){var c,r,a,o,i,s,l=C.css(e,"position"),u=C(e),f={};"static"===l&&(e.style.position="relative"),i=u.offset(),a=C.css(e,"top"),s=C.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(a+s).indexOf("auto")?(o=(c=u.position()).top,r=c.left):(o=parseFloat(a)||0,r=parseFloat(s)||0),m(t)&&(t=t.call(e,n,C.extend({},i))),null!=t.top&&(f.top=t.top-i.top+o),null!=t.left&&(f.left=t.left-i.left+r),"using"in t?t.using.call(e,f):u.css(f)}},C.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){C.offset.setOffset(this,e,t)}));var t,n,c=this[0];return c?c.getClientRects().length?(t=c.getBoundingClientRect(),n=c.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,c=this[0],r={top:0,left:0};if("fixed"===C.css(c,"position"))t=c.getBoundingClientRect();else{for(t=this.offset(),n=c.ownerDocument,e=c.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===C.css(e,"position");)e=e.parentNode;e&&e!==c&&1===e.nodeType&&((r=C(e).offset()).top+=C.css(e,"borderTopWidth",!0),r.left+=C.css(e,"borderLeftWidth",!0))}return{top:t.top-r.top-C.css(c,"marginTop",!0),left:t.left-r.left-C.css(c,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===C.css(e,"position");)e=e.offsetParent;return e||ce}))}}),C.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n="pageYOffset"===t;C.fn[e]=function(c){return $(this,(function(e,c,r){var a;if(p(e)?a=e:9===e.nodeType&&(a=e.defaultView),void 0===r)return a?a[t]:e[c];a?a.scrollTo(n?a.pageXOffset:r,n?r:a.pageYOffset):e[c]=r}),e,c,arguments.length)}})),C.each(["top","left"],(function(e,t){C.cssHooks[t]=Fe(h.pixelPosition,(function(e,n){if(n)return n=$e(e,t),Ne.test(n)?C(e).position()[t]+"px":n}))})),C.each({Height:"height",Width:"width"},(function(e,t){C.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,c){C.fn[c]=function(r,a){var o=arguments.length&&(n||"boolean"!=typeof r),i=n||(!0===r||!0===a?"margin":"border");return $(this,(function(t,n,r){var a;return p(t)?0===c.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(a=t.documentElement,Math.max(t.body["scroll"+e],a["scroll"+e],t.body["offset"+e],a["offset"+e],a["client"+e])):void 0===r?C.css(t,n,i):C.style(t,n,r,i)}),t,o?r:void 0,o)}}))})),C.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){C.fn[t]=function(e){return this.on(t,e)}})),C.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,c){return this.on(t,e,n,c)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),C.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(e,t){C.fn[t]=function(e,n){return 0\x20\t\r\n\f]*)[^>]*)\/>/gi;e.UNSAFE_restoreLegacyHtmlPrefilter=function(){e.migrateEnablePatches("self-closed-tags")},l(e,"htmlPrefilter",(function(e){var t,n;return(n=(t=e).replace(P,"<$1>"))!==t&&O(t)!==O(n)&&a("self-closed-tags","HTML tags must be properly nested and closed: "+t),e.replace(P,"<$1>")}),"self-closed-tags"),e.migrateDisablePatches("self-closed-tags");var R,I,B,j=e.fn.offset;return l(e.fn,"offset",(function(){var e=this[0];return!e||e.nodeType&&e.getBoundingClientRect?j.apply(this,arguments):(a("offset-valid-elem","jQuery.fn.offset() requires a valid DOM element"),arguments.length?this:void 0)}),"offset-valid-elem"),e.ajax&&(R=e.param,l(e,"param",(function(t,n){var c=e.ajaxSettings&&e.ajaxSettings.traditional;return void 0===n&&c&&(a("param-ajax-traditional","jQuery.param() no longer uses jQuery.ajaxSettings.traditional"),n=c),R.call(this,t,n)}),"param-ajax-traditional")),s(e.fn,"andSelf",e.fn.addBack,"andSelf","jQuery.fn.andSelf() is deprecated and removed, use jQuery.fn.addBack()"),e.Deferred&&(I=e.Deferred,B=[["resolve","done",e.Callbacks("once memory"),e.Callbacks("once memory"),"resolved"],["reject","fail",e.Callbacks("once memory"),e.Callbacks("once memory"),"rejected"],["notify","progress",e.Callbacks("memory"),e.Callbacks("memory")]],l(e,"Deferred",(function(t){var n=I(),c=n.promise();function r(){var t=arguments;return e.Deferred((function(r){e.each(B,(function(e,a){var o="function"==typeof t[e]&&t[e];n[a[1]]((function(){var e=o&&o.apply(this,arguments);e&&"function"==typeof e.promise?e.promise().done(r.resolve).fail(r.reject).progress(r.notify):r[a[0]+"With"](this===c?r.promise():this,o?[e]:arguments)}))})),t=null})).promise()}return s(n,"pipe",r,"deferred-pipe","deferred.pipe() is deprecated"),s(c,"pipe",r,"deferred-pipe","deferred.pipe() is deprecated"),t&&t.call(n,n),n}),"deferred-pipe"),e.Deferred.exceptionHook=I.exceptionHook),e})),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).bootstrap=t()}(this,(function(){"use strict";const e="transitionend",t=e=>{let t=e.getAttribute("data-bs-target");if(!t||"#"===t){let n=e.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n=`#${n.split("#")[1]}`),t=n&&"#"!==n?n.trim():null}return t},n=e=>{const n=t(e);return n&&document.querySelector(n)?n:null},c=e=>{const n=t(e);return n?document.querySelector(n):null},r=t=>{t.dispatchEvent(new Event(e))},a=e=>!(!e||"object"!=typeof e)&&(void 0!==e.jquery&&(e=e[0]),void 0!==e.nodeType),o=e=>a(e)?e.jquery?e[0]:e:"string"==typeof e&&e.length>0?document.querySelector(e):null,i=e=>{if(!a(e)||0===e.getClientRects().length)return!1;const t="visible"===getComputedStyle(e).getPropertyValue("visibility"),n=e.closest("details:not([open])");if(!n)return t;if(n!==e){const t=e.closest("summary");if(t&&t.parentNode!==n)return!1;if(null===t)return!1}return t},s=e=>!e||e.nodeType!==Node.ELEMENT_NODE||(!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled"))),l=e=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?l(e.parentNode):null},u=()=>{},f=e=>{e.offsetHeight},d=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,h=[],m=()=>"rtl"===document.documentElement.dir,p=e=>{var t;t=()=>{const t=d();if(t){const n=e.NAME,c=t.fn[n];t.fn[n]=e.jQueryInterface,t.fn[n].Constructor=e,t.fn[n].noConflict=()=>(t.fn[n]=c,e.jQueryInterface)}},"loading"===document.readyState?(h.length||document.addEventListener("DOMContentLoaded",(()=>{for(const e of h)e()})),h.push(t)):t()},g=e=>{"function"==typeof e&&e()},v=(t,n,c=!0)=>{if(!c)return void g(t);const a=(e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:n}=window.getComputedStyle(e);const c=Number.parseFloat(t),r=Number.parseFloat(n);return c||r?(t=t.split(",")[0],n=n.split(",")[0],1e3*(Number.parseFloat(t)+Number.parseFloat(n))):0})(n)+5;let o=!1;const i=({target:c})=>{c===n&&(o=!0,n.removeEventListener(e,i),g(t))};n.addEventListener(e,i),setTimeout((()=>{o||r(n)}),a)},b=(e,t,n,c)=>{const r=e.length;let a=e.indexOf(t);return-1===a?!n&&c?e[r-1]:e[0]:(a+=n?1:-1,c&&(a=(a+r)%r),e[Math.max(0,Math.min(a,r-1))])},z=/[^.]*(?=\..*)\.|.*/,y=/\..*/,C=/::\d+$/,H={};let M=1;const V={mouseenter:"mouseover",mouseleave:"mouseout"},L=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function w(e,t){return t&&`${t}::${M++}`||e.uidEvent||M++}function _(e){const t=w(e);return e.uidEvent=t,H[t]=H[t]||{},H[t]}function x(e,t,n=null){return Object.values(e).find((e=>e.callable===t&&e.delegationSelector===n))}function k(e,t,n){const c="string"==typeof t,r=c?n:t||n;let a=D(e);return L.has(a)||(a=e),[c,r,a]}function S(e,t,n,c,r){if("string"!=typeof t||!e)return;let[a,o,i]=k(t,n,c);if(t in V){const e=e=>function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)};o=e(o)}const s=_(e),l=s[i]||(s[i]={}),u=x(l,o,a?n:null);if(u)return void(u.oneOff=u.oneOff&&r);const f=w(o,t.replace(z,"")),d=a?function(e,t,n){return function c(r){const a=e.querySelectorAll(t);for(let{target:o}=r;o&&o!==this;o=o.parentNode)for(const i of a)if(i===o)return N(r,{delegateTarget:o}),c.oneOff&&E.off(e,r.type,t,n),n.apply(o,[r])}}(e,n,o):function(e,t){return function n(c){return N(c,{delegateTarget:e}),n.oneOff&&E.off(e,c.type,t),t.apply(e,[c])}}(e,o);d.delegationSelector=a?n:null,d.callable=o,d.oneOff=r,d.uidEvent=f,l[f]=d,e.addEventListener(i,d,a)}function A(e,t,n,c,r){const a=x(t[n],c,r);a&&(e.removeEventListener(n,a,Boolean(r)),delete t[n][a.uidEvent])}function T(e,t,n,c){const r=t[n]||{};for(const a of Object.keys(r))if(a.includes(c)){const c=r[a];A(e,t,n,c.callable,c.delegationSelector)}}function D(e){return e=e.replace(y,""),V[e]||e}const E={on(e,t,n,c){S(e,t,n,c,!1)},one(e,t,n,c){S(e,t,n,c,!0)},off(e,t,n,c){if("string"!=typeof t||!e)return;const[r,a,o]=k(t,n,c),i=o!==t,s=_(e),l=s[o]||{},u=t.startsWith(".");if(void 0===a){if(u)for(const n of Object.keys(s))T(e,s,n,t.slice(1));for(const n of Object.keys(l)){const c=n.replace(C,"");if(!i||t.includes(c)){const t=l[n];A(e,s,o,t.callable,t.delegationSelector)}}}else{if(!Object.keys(l).length)return;A(e,s,o,a,r?n:null)}},trigger(e,t,n){if("string"!=typeof t||!e)return null;const c=d();let r=null,a=!0,o=!0,i=!1;t!==D(t)&&c&&(r=c.Event(t,n),c(e).trigger(r),a=!r.isPropagationStopped(),o=!r.isImmediatePropagationStopped(),i=r.isDefaultPrevented());let s=new Event(t,{bubbles:a,cancelable:!0});return s=N(s,n),i&&s.preventDefault(),o&&e.dispatchEvent(s),s.defaultPrevented&&r&&r.preventDefault(),s}};function N(e,t){for(const[n,c]of Object.entries(t||{}))try{e[n]=c}catch(t){Object.defineProperty(e,n,{configurable:!0,get:()=>c})}return e}const O=new Map,P={set(e,t,n){O.has(e)||O.set(e,new Map);const c=O.get(e);c.has(t)||0===c.size?c.set(t,n):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(c.keys())[0]}.`)},get:(e,t)=>O.has(e)&&O.get(e).get(t)||null,remove(e,t){if(!O.has(e))return;const n=O.get(e);n.delete(t),0===n.size&&O.delete(e)}};function R(e){if("true"===e)return!0;if("false"===e)return!1;if(e===Number(e).toString())return Number(e);if(""===e||"null"===e)return null;if("string"!=typeof e)return e;try{return JSON.parse(decodeURIComponent(e))}catch(t){return e}}function I(e){return e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`))}const B={setDataAttribute(e,t,n){e.setAttribute(`data-bs-${I(t)}`,n)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${I(t)}`)},getDataAttributes(e){if(!e)return{};const t={},n=Object.keys(e.dataset).filter((e=>e.startsWith("bs")&&!e.startsWith("bsConfig")));for(const c of n){let n=c.replace(/^bs/,"");n=n.charAt(0).toLowerCase()+n.slice(1,n.length),t[n]=R(e.dataset[c])}return t},getDataAttribute:(e,t)=>R(e.getAttribute(`data-bs-${I(t)}`))};class j{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,t){const n=a(t)?B.getDataAttribute(t,"config"):{};return{...this.constructor.Default,..."object"==typeof n?n:{},...a(t)?B.getDataAttributes(t):{},..."object"==typeof e?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(const c of Object.keys(t)){const r=t[c],o=e[c],i=a(o)?"element":null==(n=o)?`${n}`:Object.prototype.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(r).test(i))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${c}" provided type "${i}" but expected type "${r}".`)}var n}}class $ extends j{constructor(e,t){super(),(e=o(e))&&(this._element=e,this._config=this._getConfig(t),P.set(this._element,this.constructor.DATA_KEY,this))}dispose(){P.remove(this._element,this.constructor.DATA_KEY),E.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,n=!0){v(e,t,n)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return P.get(o(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,"object"==typeof t?t:null)}static get VERSION(){return"5.2.3"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(e){return`${e}${this.EVENT_KEY}`}}const F=(e,t="hide")=>{const n=`click.dismiss${e.EVENT_KEY}`,r=e.NAME;E.on(document,n,`[data-bs-dismiss="${r}"]`,(function(n){if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),s(this))return;const a=c(this)||this.closest(`.${r}`);e.getOrCreateInstance(a)[t]()}))},q=".bs.alert",U=`close${q}`,W=`closed${q}`;class Y extends ${static get NAME(){return"alert"}close(){if(E.trigger(this._element,U).defaultPrevented)return;this._element.classList.remove("show");const e=this._element.classList.contains("fade");this._queueCallback((()=>this._destroyElement()),this._element,e)}_destroyElement(){this._element.remove(),E.trigger(this._element,W),this.dispose()}static jQueryInterface(e){return this.each((function(){const t=Y.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}}))}}F(Y,"close"),p(Y);const Z='[data-bs-toggle="button"]';class X extends ${static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(e){return this.each((function(){const t=X.getOrCreateInstance(this);"toggle"===e&&t[e]()}))}}E.on(document,"click.bs.button.data-api",Z,(e=>{e.preventDefault();const t=e.target.closest(Z);X.getOrCreateInstance(t).toggle()})),p(X);const G={find:(e,t=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(t,e)),findOne:(e,t=document.documentElement)=>Element.prototype.querySelector.call(t,e),children:(e,t)=>[].concat(...e.children).filter((e=>e.matches(t))),parents(e,t){const n=[];let c=e.parentNode.closest(t);for(;c;)n.push(c),c=c.parentNode.closest(t);return n},prev(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return[n];n=n.previousElementSibling}return[]},next(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return[n];n=n.nextElementSibling}return[]},focusableChildren(e){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((e=>`${e}:not([tabindex^="-"])`)).join(",");return this.find(t,e).filter((e=>!s(e)&&i(e)))}},Q=".bs.swipe",K=`touchstart${Q}`,J=`touchmove${Q}`,ee=`touchend${Q}`,te=`pointerdown${Q}`,ne=`pointerup${Q}`,ce={endCallback:null,leftCallback:null,rightCallback:null},re={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class ae extends j{constructor(e,t){super(),this._element=e,e&&ae.isSupported()&&(this._config=this._getConfig(t),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return ce}static get DefaultType(){return re}static get NAME(){return"swipe"}dispose(){E.off(this._element,Q)}_start(e){this._supportPointerEvents?this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX):this._deltaX=e.touches[0].clientX}_end(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),g(this._config.endCallback)}_move(e){this._deltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this._deltaX}_handleSwipe(){const e=Math.abs(this._deltaX);if(e<=40)return;const t=e/this._deltaX;this._deltaX=0,t&&g(t>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(E.on(this._element,te,(e=>this._start(e))),E.on(this._element,ne,(e=>this._end(e))),this._element.classList.add("pointer-event")):(E.on(this._element,K,(e=>this._start(e))),E.on(this._element,J,(e=>this._move(e))),E.on(this._element,ee,(e=>this._end(e))))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&("pen"===e.pointerType||"touch"===e.pointerType)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const oe=".bs.carousel",ie=".data-api",se="next",le="prev",ue="left",fe="right",de=`slide${oe}`,he=`slid${oe}`,me=`keydown${oe}`,pe=`mouseenter${oe}`,ge=`mouseleave${oe}`,ve=`dragstart${oe}`,be=`load${oe}${ie}`,ze=`click${oe}${ie}`,ye="carousel",Ce="active",He=".active",Me=".carousel-item",Ve=He+Me,Le={ArrowLeft:fe,ArrowRight:ue},we={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},_e={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class xe extends ${constructor(e,t){super(e,t),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=G.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===ye&&this.cycle()}static get Default(){return we}static get DefaultType(){return _e}static get NAME(){return"carousel"}next(){this._slide(se)}nextWhenVisible(){!document.hidden&&i(this._element)&&this.next()}prev(){this._slide(le)}pause(){this._isSliding&&r(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval((()=>this.nextWhenVisible()),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?E.one(this._element,he,(()=>this.cycle())):this.cycle())}to(e){const t=this._getItems();if(e>t.length-1||e<0)return;if(this._isSliding)return void E.one(this._element,he,(()=>this.to(e)));const n=this._getItemIndex(this._getActive());if(n===e)return;const c=e>n?se:le;this._slide(c,t[e])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&E.on(this._element,me,(e=>this._keydown(e))),"hover"===this._config.pause&&(E.on(this._element,pe,(()=>this.pause())),E.on(this._element,ge,(()=>this._maybeEnableCycle()))),this._config.touch&&ae.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const e of G.find(".carousel-item img",this._element))E.on(e,ve,(e=>e.preventDefault()));const e={leftCallback:()=>this._slide(this._directionToOrder(ue)),rightCallback:()=>this._slide(this._directionToOrder(fe)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout((()=>this._maybeEnableCycle()),500+this._config.interval))}};this._swipeHelper=new ae(this._element,e)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=Le[e.key];t&&(e.preventDefault(),this._slide(this._directionToOrder(t)))}_getItemIndex(e){return this._getItems().indexOf(e)}_setActiveIndicatorElement(e){if(!this._indicatorsElement)return;const t=G.findOne(He,this._indicatorsElement);t.classList.remove(Ce),t.removeAttribute("aria-current");const n=G.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);n&&(n.classList.add(Ce),n.setAttribute("aria-current","true"))}_updateInterval(){const e=this._activeElement||this._getActive();if(!e)return;const t=Number.parseInt(e.getAttribute("data-bs-interval"),10);this._config.interval=t||this._config.defaultInterval}_slide(e,t=null){if(this._isSliding)return;const n=this._getActive(),c=e===se,r=t||b(this._getItems(),n,c,this._config.wrap);if(r===n)return;const a=this._getItemIndex(r),o=t=>E.trigger(this._element,t,{relatedTarget:r,direction:this._orderToDirection(e),from:this._getItemIndex(n),to:a});if(o(de).defaultPrevented)return;if(!n||!r)return;const i=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(a),this._activeElement=r;const s=c?"carousel-item-start":"carousel-item-end",l=c?"carousel-item-next":"carousel-item-prev";r.classList.add(l),f(r),n.classList.add(s),r.classList.add(s);this._queueCallback((()=>{r.classList.remove(s,l),r.classList.add(Ce),n.classList.remove(Ce,l,s),this._isSliding=!1,o(he)}),n,this._isAnimated()),i&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return G.findOne(Ve,this._element)}_getItems(){return G.find(Me,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return m()?e===ue?le:se:e===ue?se:le}_orderToDirection(e){return m()?e===le?ue:fe:e===le?fe:ue}static jQueryInterface(e){return this.each((function(){const t=xe.getOrCreateInstance(this,e);if("number"!=typeof e){if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}}else t.to(e)}))}}E.on(document,ze,"[data-bs-slide], [data-bs-slide-to]",(function(e){const t=c(this);if(!t||!t.classList.contains(ye))return;e.preventDefault();const n=xe.getOrCreateInstance(t),r=this.getAttribute("data-bs-slide-to");return r?(n.to(r),void n._maybeEnableCycle()):"next"===B.getDataAttribute(this,"slide")?(n.next(),void n._maybeEnableCycle()):(n.prev(),void n._maybeEnableCycle())})),E.on(window,be,(()=>{const e=G.find('[data-bs-ride="carousel"]');for(const t of e)xe.getOrCreateInstance(t)})),p(xe);const ke=".bs.collapse",Se=`show${ke}`,Ae=`shown${ke}`,Te=`hide${ke}`,De=`hidden${ke}`,Ee=`click${ke}.data-api`,Ne="show",Oe="collapse",Pe="collapsing",Re=`:scope .${Oe} .${Oe}`,Ie='[data-bs-toggle="collapse"]',Be={parent:null,toggle:!0},je={parent:"(null|element)",toggle:"boolean"};class $e extends ${constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];const c=G.find(Ie);for(const e of c){const t=n(e),c=G.find(t).filter((e=>e===this._element));null!==t&&c.length&&this._triggerArray.push(e)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Be}static get DefaultType(){return je}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter((e=>e!==this._element)).map((e=>$e.getOrCreateInstance(e,{toggle:!1})))),e.length&&e[0]._isTransitioning)return;if(E.trigger(this._element,Se).defaultPrevented)return;for(const t of e)t.hide();const t=this._getDimension();this._element.classList.remove(Oe),this._element.classList.add(Pe),this._element.style[t]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const n=`scroll${t[0].toUpperCase()+t.slice(1)}`;this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(Pe),this._element.classList.add(Oe,Ne),this._element.style[t]="",E.trigger(this._element,Ae)}),this._element,!0),this._element.style[t]=`${this._element[n]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(E.trigger(this._element,Te).defaultPrevented)return;const e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`,f(this._element),this._element.classList.add(Pe),this._element.classList.remove(Oe,Ne);for(const e of this._triggerArray){const t=c(e);t&&!this._isShown(t)&&this._addAriaAndCollapsedClass([e],!1)}this._isTransitioning=!0;this._element.style[e]="",this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(Pe),this._element.classList.add(Oe),E.trigger(this._element,De)}),this._element,!0)}_isShown(e=this._element){return e.classList.contains(Ne)}_configAfterMerge(e){return e.toggle=Boolean(e.toggle),e.parent=o(e.parent),e}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(Ie);for(const t of e){const e=c(t);e&&this._addAriaAndCollapsedClass([t],this._isShown(e))}}_getFirstLevelChildren(e){const t=G.find(Re,this._config.parent);return G.find(e,this._config.parent).filter((e=>!t.includes(e)))}_addAriaAndCollapsedClass(e,t){if(e.length)for(const n of e)n.classList.toggle("collapsed",!t),n.setAttribute("aria-expanded",t)}static jQueryInterface(e){const t={};return"string"==typeof e&&/show|hide/.test(e)&&(t.toggle=!1),this.each((function(){const n=$e.getOrCreateInstance(this,t);if("string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e]()}}))}}E.on(document,Ee,Ie,(function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();const t=n(this),c=G.find(t);for(const e of c)$e.getOrCreateInstance(e,{toggle:!1}).toggle()})),p($e);var Fe="top",qe="bottom",Ue="right",We="left",Ye="auto",Ze=[Fe,qe,Ue,We],Xe="start",Ge="end",Qe="clippingParents",Ke="viewport",Je="popper",et="reference",tt=Ze.reduce((function(e,t){return e.concat([t+"-"+Xe,t+"-"+Ge])}),[]),nt=[].concat(Ze,[Ye]).reduce((function(e,t){return e.concat([t,t+"-"+Xe,t+"-"+Ge])}),[]),ct="beforeRead",rt="read",at="afterRead",ot="beforeMain",it="main",st="afterMain",lt="beforeWrite",ut="write",ft="afterWrite",dt=[ct,rt,at,ot,it,st,lt,ut,ft];function ht(e){return e?(e.nodeName||"").toLowerCase():null}function mt(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function pt(e){return e instanceof mt(e).Element||e instanceof Element}function gt(e){return e instanceof mt(e).HTMLElement||e instanceof HTMLElement}function vt(e){return"undefined"!=typeof ShadowRoot&&(e instanceof mt(e).ShadowRoot||e instanceof ShadowRoot)}const bt={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},c=t.attributes[e]||{},r=t.elements[e];gt(r)&&ht(r)&&(Object.assign(r.style,n),Object.keys(c).forEach((function(e){var t=c[e];!1===t?r.removeAttribute(e):r.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var c=t.elements[e],r=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});gt(c)&&ht(c)&&(Object.assign(c.style,a),Object.keys(r).forEach((function(e){c.removeAttribute(e)})))}))}},requires:["computeStyles"]};function zt(e){return e.split("-")[0]}var yt=Math.max,Ct=Math.min,Ht=Math.round;function Mt(){var e=navigator.userAgentData;return null!=e&&e.brands?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function Vt(){return!/^((?!chrome|android).)*safari/i.test(Mt())}function Lt(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var c=e.getBoundingClientRect(),r=1,a=1;t&>(e)&&(r=e.offsetWidth>0&&Ht(c.width)/e.offsetWidth||1,a=e.offsetHeight>0&&Ht(c.height)/e.offsetHeight||1);var o=(pt(e)?mt(e):window).visualViewport,i=!Vt()&&n,s=(c.left+(i&&o?o.offsetLeft:0))/r,l=(c.top+(i&&o?o.offsetTop:0))/a,u=c.width/r,f=c.height/a;return{width:u,height:f,top:l,right:s+u,bottom:l+f,left:s,x:s,y:l}}function wt(e){var t=Lt(e),n=e.offsetWidth,c=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-c)<=1&&(c=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:c}}function _t(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&vt(n)){var c=t;do{if(c&&e.isSameNode(c))return!0;c=c.parentNode||c.host}while(c)}return!1}function xt(e){return mt(e).getComputedStyle(e)}function kt(e){return["table","td","th"].indexOf(ht(e))>=0}function St(e){return((pt(e)?e.ownerDocument:e.document)||window.document).documentElement}function At(e){return"html"===ht(e)?e:e.assignedSlot||e.parentNode||(vt(e)?e.host:null)||St(e)}function Tt(e){return gt(e)&&"fixed"!==xt(e).position?e.offsetParent:null}function Dt(e){for(var t=mt(e),n=Tt(e);n&&kt(n)&&"static"===xt(n).position;)n=Tt(n);return n&&("html"===ht(n)||"body"===ht(n)&&"static"===xt(n).position)?t:n||function(e){var t=/firefox/i.test(Mt());if(/Trident/i.test(Mt())&>(e)&&"fixed"===xt(e).position)return null;var n=At(e);for(vt(n)&&(n=n.host);gt(n)&&["html","body"].indexOf(ht(n))<0;){var c=xt(n);if("none"!==c.transform||"none"!==c.perspective||"paint"===c.contain||-1!==["transform","perspective"].indexOf(c.willChange)||t&&"filter"===c.willChange||t&&c.filter&&"none"!==c.filter)return n;n=n.parentNode}return null}(e)||t}function Et(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Nt(e,t,n){return yt(e,Ct(t,n))}function Ot(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Pt(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}const Rt={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,c=e.name,r=e.options,a=n.elements.arrow,o=n.modifiersData.popperOffsets,i=zt(n.placement),s=Et(i),l=[We,Ue].indexOf(i)>=0?"height":"width";if(a&&o){var u=function(e,t){return Ot("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Pt(e,Ze))}(r.padding,n),f=wt(a),d="y"===s?Fe:We,h="y"===s?qe:Ue,m=n.rects.reference[l]+n.rects.reference[s]-o[s]-n.rects.popper[l],p=o[s]-n.rects.reference[s],g=Dt(a),v=g?"y"===s?g.clientHeight||0:g.clientWidth||0:0,b=m/2-p/2,z=u[d],y=v-f[l]-u[h],C=v/2-f[l]/2+b,H=Nt(z,C,y),M=s;n.modifiersData[c]=((t={})[M]=H,t.centerOffset=H-C,t)}},effect:function(e){var t=e.state,n=e.options.element,c=void 0===n?"[data-popper-arrow]":n;null!=c&&("string"!=typeof c||(c=t.elements.popper.querySelector(c)))&&_t(t.elements.popper,c)&&(t.elements.arrow=c)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function It(e){return e.split("-")[1]}var Bt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function jt(e){var t,n=e.popper,c=e.popperRect,r=e.placement,a=e.variation,o=e.offsets,i=e.position,s=e.gpuAcceleration,l=e.adaptive,u=e.roundOffsets,f=e.isFixed,d=o.x,h=void 0===d?0:d,m=o.y,p=void 0===m?0:m,g="function"==typeof u?u({x:h,y:p}):{x:h,y:p};h=g.x,p=g.y;var v=o.hasOwnProperty("x"),b=o.hasOwnProperty("y"),z=We,y=Fe,C=window;if(l){var H=Dt(n),M="clientHeight",V="clientWidth";if(H===mt(n)&&"static"!==xt(H=St(n)).position&&"absolute"===i&&(M="scrollHeight",V="scrollWidth"),r===Fe||(r===We||r===Ue)&&a===Ge)y=qe,p-=(f&&H===C&&C.visualViewport?C.visualViewport.height:H[M])-c.height,p*=s?1:-1;if(r===We||(r===Fe||r===qe)&&a===Ge)z=Ue,h-=(f&&H===C&&C.visualViewport?C.visualViewport.width:H[V])-c.width,h*=s?1:-1}var L,w=Object.assign({position:i},l&&Bt),_=!0===u?function(e){var t=e.x,n=e.y,c=window.devicePixelRatio||1;return{x:Ht(t*c)/c||0,y:Ht(n*c)/c||0}}({x:h,y:p}):{x:h,y:p};return h=_.x,p=_.y,s?Object.assign({},w,((L={})[y]=b?"0":"",L[z]=v?"0":"",L.transform=(C.devicePixelRatio||1)<=1?"translate("+h+"px, "+p+"px)":"translate3d("+h+"px, "+p+"px, 0)",L)):Object.assign({},w,((t={})[y]=b?p+"px":"",t[z]=v?h+"px":"",t.transform="",t))}const $t={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,c=n.gpuAcceleration,r=void 0===c||c,a=n.adaptive,o=void 0===a||a,i=n.roundOffsets,s=void 0===i||i,l={placement:zt(t.placement),variation:It(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,jt(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:s})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,jt(Object.assign({},l,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}};var Ft={passive:!0};const qt={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,c=e.options,r=c.scroll,a=void 0===r||r,o=c.resize,i=void 0===o||o,s=mt(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&l.forEach((function(e){e.addEventListener("scroll",n.update,Ft)})),i&&s.addEventListener("resize",n.update,Ft),function(){a&&l.forEach((function(e){e.removeEventListener("scroll",n.update,Ft)})),i&&s.removeEventListener("resize",n.update,Ft)}},data:{}};var Ut={left:"right",right:"left",bottom:"top",top:"bottom"};function Wt(e){return e.replace(/left|right|bottom|top/g,(function(e){return Ut[e]}))}var Yt={start:"end",end:"start"};function Zt(e){return e.replace(/start|end/g,(function(e){return Yt[e]}))}function Xt(e){var t=mt(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Gt(e){return Lt(St(e)).left+Xt(e).scrollLeft}function Qt(e){var t=xt(e),n=t.overflow,c=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+c)}function Kt(e){return["html","body","#document"].indexOf(ht(e))>=0?e.ownerDocument.body:gt(e)&&Qt(e)?e:Kt(At(e))}function Jt(e,t){var n;void 0===t&&(t=[]);var c=Kt(e),r=c===(null==(n=e.ownerDocument)?void 0:n.body),a=mt(c),o=r?[a].concat(a.visualViewport||[],Qt(c)?c:[]):c,i=t.concat(o);return r?i:i.concat(Jt(At(o)))}function en(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function tn(e,t,n){return t===Ke?en(function(e,t){var n=mt(e),c=St(e),r=n.visualViewport,a=c.clientWidth,o=c.clientHeight,i=0,s=0;if(r){a=r.width,o=r.height;var l=Vt();(l||!l&&"fixed"===t)&&(i=r.offsetLeft,s=r.offsetTop)}return{width:a,height:o,x:i+Gt(e),y:s}}(e,n)):pt(t)?function(e,t){var n=Lt(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):en(function(e){var t,n=St(e),c=Xt(e),r=null==(t=e.ownerDocument)?void 0:t.body,a=yt(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),o=yt(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),i=-c.scrollLeft+Gt(e),s=-c.scrollTop;return"rtl"===xt(r||n).direction&&(i+=yt(n.clientWidth,r?r.clientWidth:0)-a),{width:a,height:o,x:i,y:s}}(St(e)))}function nn(e,t,n,c){var r="clippingParents"===t?function(e){var t=Jt(At(e)),n=["absolute","fixed"].indexOf(xt(e).position)>=0&>(e)?Dt(e):e;return pt(n)?t.filter((function(e){return pt(e)&&_t(e,n)&&"body"!==ht(e)})):[]}(e):[].concat(t),a=[].concat(r,[n]),o=a[0],i=a.reduce((function(t,n){var r=tn(e,n,c);return t.top=yt(r.top,t.top),t.right=Ct(r.right,t.right),t.bottom=Ct(r.bottom,t.bottom),t.left=yt(r.left,t.left),t}),tn(e,o,c));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}function cn(e){var t,n=e.reference,c=e.element,r=e.placement,a=r?zt(r):null,o=r?It(r):null,i=n.x+n.width/2-c.width/2,s=n.y+n.height/2-c.height/2;switch(a){case Fe:t={x:i,y:n.y-c.height};break;case qe:t={x:i,y:n.y+n.height};break;case Ue:t={x:n.x+n.width,y:s};break;case We:t={x:n.x-c.width,y:s};break;default:t={x:n.x,y:n.y}}var l=a?Et(a):null;if(null!=l){var u="y"===l?"height":"width";switch(o){case Xe:t[l]=t[l]-(n[u]/2-c[u]/2);break;case Ge:t[l]=t[l]+(n[u]/2-c[u]/2)}}return t}function rn(e,t){void 0===t&&(t={});var n=t,c=n.placement,r=void 0===c?e.placement:c,a=n.strategy,o=void 0===a?e.strategy:a,i=n.boundary,s=void 0===i?Qe:i,l=n.rootBoundary,u=void 0===l?Ke:l,f=n.elementContext,d=void 0===f?Je:f,h=n.altBoundary,m=void 0!==h&&h,p=n.padding,g=void 0===p?0:p,v=Ot("number"!=typeof g?g:Pt(g,Ze)),b=d===Je?et:Je,z=e.rects.popper,y=e.elements[m?b:d],C=nn(pt(y)?y:y.contextElement||St(e.elements.popper),s,u,o),H=Lt(e.elements.reference),M=cn({reference:H,element:z,strategy:"absolute",placement:r}),V=en(Object.assign({},z,M)),L=d===Je?V:H,w={top:C.top-L.top+v.top,bottom:L.bottom-C.bottom+v.bottom,left:C.left-L.left+v.left,right:L.right-C.right+v.right},_=e.modifiersData.offset;if(d===Je&&_){var x=_[r];Object.keys(w).forEach((function(e){var t=[Ue,qe].indexOf(e)>=0?1:-1,n=[Fe,qe].indexOf(e)>=0?"y":"x";w[e]+=x[n]*t}))}return w}function an(e,t){void 0===t&&(t={});var n=t,c=n.placement,r=n.boundary,a=n.rootBoundary,o=n.padding,i=n.flipVariations,s=n.allowedAutoPlacements,l=void 0===s?nt:s,u=It(c),f=u?i?tt:tt.filter((function(e){return It(e)===u})):Ze,d=f.filter((function(e){return l.indexOf(e)>=0}));0===d.length&&(d=f);var h=d.reduce((function(t,n){return t[n]=rn(e,{placement:n,boundary:r,rootBoundary:a,padding:o})[zt(n)],t}),{});return Object.keys(h).sort((function(e,t){return h[e]-h[t]}))}const on={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,c=e.name;if(!t.modifiersData[c]._skip){for(var r=n.mainAxis,a=void 0===r||r,o=n.altAxis,i=void 0===o||o,s=n.fallbackPlacements,l=n.padding,u=n.boundary,f=n.rootBoundary,d=n.altBoundary,h=n.flipVariations,m=void 0===h||h,p=n.allowedAutoPlacements,g=t.options.placement,v=zt(g),b=s||(v===g||!m?[Wt(g)]:function(e){if(zt(e)===Ye)return[];var t=Wt(e);return[Zt(e),t,Zt(t)]}(g)),z=[g].concat(b).reduce((function(e,n){return e.concat(zt(n)===Ye?an(t,{placement:n,boundary:u,rootBoundary:f,padding:l,flipVariations:m,allowedAutoPlacements:p}):n)}),[]),y=t.rects.reference,C=t.rects.popper,H=new Map,M=!0,V=z[0],L=0;L=0,S=k?"width":"height",A=rn(t,{placement:w,boundary:u,rootBoundary:f,altBoundary:d,padding:l}),T=k?x?Ue:We:x?qe:Fe;y[S]>C[S]&&(T=Wt(T));var D=Wt(T),E=[];if(a&&E.push(A[_]<=0),i&&E.push(A[T]<=0,A[D]<=0),E.every((function(e){return e}))){V=w,M=!1;break}H.set(w,E)}if(M)for(var N=function(e){var t=z.find((function(t){var n=H.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return V=t,"break"},O=m?3:1;O>0;O--){if("break"===N(O))break}t.placement!==V&&(t.modifiersData[c]._skip=!0,t.placement=V,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function sn(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function ln(e){return[Fe,Ue,qe,We].some((function(t){return e[t]>=0}))}const un={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,c=t.rects.reference,r=t.rects.popper,a=t.modifiersData.preventOverflow,o=rn(t,{elementContext:"reference"}),i=rn(t,{altBoundary:!0}),s=sn(o,c),l=sn(i,r,a),u=ln(s),f=ln(l);t.modifiersData[n]={referenceClippingOffsets:s,popperEscapeOffsets:l,isReferenceHidden:u,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}};const fn={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,c=e.name,r=n.offset,a=void 0===r?[0,0]:r,o=nt.reduce((function(e,n){return e[n]=function(e,t,n){var c=zt(e),r=[We,Fe].indexOf(c)>=0?-1:1,a="function"==typeof n?n(Object.assign({},t,{placement:e})):n,o=a[0],i=a[1];return o=o||0,i=(i||0)*r,[We,Ue].indexOf(c)>=0?{x:i,y:o}:{x:o,y:i}}(n,t.rects,a),e}),{}),i=o[t.placement],s=i.x,l=i.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=l),t.modifiersData[c]=o}};const dn={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=cn({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}};const hn={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,c=e.name,r=n.mainAxis,a=void 0===r||r,o=n.altAxis,i=void 0!==o&&o,s=n.boundary,l=n.rootBoundary,u=n.altBoundary,f=n.padding,d=n.tether,h=void 0===d||d,m=n.tetherOffset,p=void 0===m?0:m,g=rn(t,{boundary:s,rootBoundary:l,padding:f,altBoundary:u}),v=zt(t.placement),b=It(t.placement),z=!b,y=Et(v),C="x"===y?"y":"x",H=t.modifiersData.popperOffsets,M=t.rects.reference,V=t.rects.popper,L="function"==typeof p?p(Object.assign({},t.rects,{placement:t.placement})):p,w="number"==typeof L?{mainAxis:L,altAxis:L}:Object.assign({mainAxis:0,altAxis:0},L),_=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,x={x:0,y:0};if(H){if(a){var k,S="y"===y?Fe:We,A="y"===y?qe:Ue,T="y"===y?"height":"width",D=H[y],E=D+g[S],N=D-g[A],O=h?-V[T]/2:0,P=b===Xe?M[T]:V[T],R=b===Xe?-V[T]:-M[T],I=t.elements.arrow,B=h&&I?wt(I):{width:0,height:0},j=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},$=j[S],F=j[A],q=Nt(0,M[T],B[T]),U=z?M[T]/2-O-q-$-w.mainAxis:P-q-$-w.mainAxis,W=z?-M[T]/2+O+q+F+w.mainAxis:R+q+F+w.mainAxis,Y=t.elements.arrow&&Dt(t.elements.arrow),Z=Y?"y"===y?Y.clientTop||0:Y.clientLeft||0:0,X=null!=(k=null==_?void 0:_[y])?k:0,G=D+W-X,Q=Nt(h?Ct(E,D+U-X-Z):E,D,h?yt(N,G):N);H[y]=Q,x[y]=Q-D}if(i){var K,J="x"===y?Fe:We,ee="x"===y?qe:Ue,te=H[C],ne="y"===C?"height":"width",ce=te+g[J],re=te-g[ee],ae=-1!==[Fe,We].indexOf(v),oe=null!=(K=null==_?void 0:_[C])?K:0,ie=ae?ce:te-M[ne]-V[ne]-oe+w.altAxis,se=ae?te+M[ne]+V[ne]-oe-w.altAxis:re,le=h&&ae?function(e,t,n){var c=Nt(e,t,n);return c>n?n:c}(ie,te,se):Nt(h?ie:ce,te,h?se:re);H[C]=le,x[C]=le-te}t.modifiersData[c]=x}},requiresIfExists:["offset"]};function mn(e,t,n){void 0===n&&(n=!1);var c,r,a=gt(t),o=gt(t)&&function(e){var t=e.getBoundingClientRect(),n=Ht(t.width)/e.offsetWidth||1,c=Ht(t.height)/e.offsetHeight||1;return 1!==n||1!==c}(t),i=St(t),s=Lt(e,o,n),l={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(a||!a&&!n)&&(("body"!==ht(t)||Qt(i))&&(l=(c=t)!==mt(c)&>(c)?{scrollLeft:(r=c).scrollLeft,scrollTop:r.scrollTop}:Xt(c)),gt(t)?((u=Lt(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):i&&(u.x=Gt(i))),{x:s.left+l.scrollLeft-u.x,y:s.top+l.scrollTop-u.y,width:s.width,height:s.height}}function pn(e){var t=new Map,n=new Set,c=[];function r(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var c=t.get(e);c&&r(c)}})),c.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||r(e)})),c}var gn={placement:"bottom",modifiers:[],strategy:"absolute"};function vn(){for(var e=arguments.length,t=new Array(e),n=0;nNumber.parseInt(e,10))):"function"==typeof e?t=>e(t,this._element):e}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||"static"===this._config.display)&&(B.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,..."function"==typeof this._config.popperConfig?this._config.popperConfig(e):this._config.popperConfig}}_selectMenuItem({key:e,target:t}){const n=G.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter((e=>i(e)));n.length&&b(n,t,e===_n,!n.includes(t)).focus()}static jQueryInterface(e){return this.each((function(){const t=Yn.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}static clearMenus(e){if(2===e.button||"keyup"===e.type&&"Tab"!==e.key)return;const t=G.find(Pn);for(const n of t){const t=Yn.getInstance(n);if(!t||!1===t._config.autoClose)continue;const c=e.composedPath(),r=c.includes(t._menu);if(c.includes(t._element)||"inside"===t._config.autoClose&&!r||"outside"===t._config.autoClose&&r)continue;if(t._menu.contains(e.target)&&("keyup"===e.type&&"Tab"===e.key||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;const a={relatedTarget:t._element};"click"===e.type&&(a.clickEvent=e),t._completeHide(a)}}static dataApiKeydownHandler(e){const t=/input|textarea/i.test(e.target.tagName),n="Escape"===e.key,c=[wn,_n].includes(e.key);if(!c&&!n)return;if(t&&!n)return;e.preventDefault();const r=this.matches(On)?this:G.prev(this,On)[0]||G.next(this,On)[0]||G.findOne(On,e.delegateTarget.parentNode),a=Yn.getOrCreateInstance(r);if(c)return e.stopPropagation(),a.show(),void a._selectMenuItem(e);a._isShown()&&(e.stopPropagation(),a.hide(),r.focus())}}E.on(document,Dn,On,Yn.dataApiKeydownHandler),E.on(document,Dn,Rn,Yn.dataApiKeydownHandler),E.on(document,Tn,Yn.clearMenus),E.on(document,En,Yn.clearMenus),E.on(document,Tn,On,(function(e){e.preventDefault(),Yn.getOrCreateInstance(this).toggle()})),p(Yn);const Zn=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Xn=".sticky-top",Gn="padding-right",Qn="margin-right";class Kn{constructor(){this._element=document.body}getWidth(){const e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){const e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,Gn,(t=>t+e)),this._setElementAttributes(Zn,Gn,(t=>t+e)),this._setElementAttributes(Xn,Qn,(t=>t-e))}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,Gn),this._resetElementAttributes(Zn,Gn),this._resetElementAttributes(Xn,Qn)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,t,n){const c=this.getWidth();this._applyManipulationCallback(e,(e=>{if(e!==this._element&&window.innerWidth>e.clientWidth+c)return;this._saveInitialAttribute(e,t);const r=window.getComputedStyle(e).getPropertyValue(t);e.style.setProperty(t,`${n(Number.parseFloat(r))}px`)}))}_saveInitialAttribute(e,t){const n=e.style.getPropertyValue(t);n&&B.setDataAttribute(e,t,n)}_resetElementAttributes(e,t){this._applyManipulationCallback(e,(e=>{const n=B.getDataAttribute(e,t);null!==n?(B.removeDataAttribute(e,t),e.style.setProperty(t,n)):e.style.removeProperty(t)}))}_applyManipulationCallback(e,t){if(a(e))t(e);else for(const n of G.find(e,this._element))t(n)}}const Jn="backdrop",ec="show",tc=`mousedown.bs.${Jn}`,nc={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},cc={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class rc extends j{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return nc}static get DefaultType(){return cc}static get NAME(){return Jn}show(e){if(!this._config.isVisible)return void g(e);this._append();const t=this._getElement();this._config.isAnimated&&f(t),t.classList.add(ec),this._emulateAnimation((()=>{g(e)}))}hide(e){this._config.isVisible?(this._getElement().classList.remove(ec),this._emulateAnimation((()=>{this.dispose(),g(e)}))):g(e)}dispose(){this._isAppended&&(E.off(this._element,tc),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add("fade"),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=o(e.rootElement),e}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),E.on(e,tc,(()=>{g(this._config.clickCallback)})),this._isAppended=!0}_emulateAnimation(e){v(e,this._getElement(),this._config.isAnimated)}}const ac=".bs.focustrap",oc=`focusin${ac}`,ic=`keydown.tab${ac}`,sc="backward",lc={autofocus:!0,trapElement:null},uc={autofocus:"boolean",trapElement:"element"};class fc extends j{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return lc}static get DefaultType(){return uc}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),E.off(document,ac),E.on(document,oc,(e=>this._handleFocusin(e))),E.on(document,ic,(e=>this._handleKeydown(e))),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,E.off(document,ac))}_handleFocusin(e){const{trapElement:t}=this._config;if(e.target===document||e.target===t||t.contains(e.target))return;const n=G.focusableChildren(t);0===n.length?t.focus():this._lastTabNavDirection===sc?n[n.length-1].focus():n[0].focus()}_handleKeydown(e){"Tab"===e.key&&(this._lastTabNavDirection=e.shiftKey?sc:"forward")}}const dc=".bs.modal",hc=`hide${dc}`,mc=`hidePrevented${dc}`,pc=`hidden${dc}`,gc=`show${dc}`,vc=`shown${dc}`,bc=`resize${dc}`,zc=`click.dismiss${dc}`,yc=`mousedown.dismiss${dc}`,Cc=`keydown.dismiss${dc}`,Hc=`click${dc}.data-api`,Mc="modal-open",Vc="show",Lc="modal-static",wc={backdrop:!0,focus:!0,keyboard:!0},_c={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class xc extends ${constructor(e,t){super(e,t),this._dialog=G.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new Kn,this._addEventListeners()}static get Default(){return wc}static get DefaultType(){return _c}static get NAME(){return"modal"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown||this._isTransitioning)return;E.trigger(this._element,gc,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Mc),this._adjustDialog(),this._backdrop.show((()=>this._showElement(e))))}hide(){if(!this._isShown||this._isTransitioning)return;E.trigger(this._element,hc).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(Vc),this._queueCallback((()=>this._hideModal()),this._element,this._isAnimated()))}dispose(){for(const e of[window,this._dialog])E.off(e,dc);this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new rc({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new fc({trapElement:this._element})}_showElement(e){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const t=G.findOne(".modal-body",this._dialog);t&&(t.scrollTop=0),f(this._element),this._element.classList.add(Vc);this._queueCallback((()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,E.trigger(this._element,vc,{relatedTarget:e})}),this._dialog,this._isAnimated())}_addEventListeners(){E.on(this._element,Cc,(e=>{if("Escape"===e.key)return this._config.keyboard?(e.preventDefault(),void this.hide()):void this._triggerBackdropTransition()})),E.on(window,bc,(()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()})),E.on(this._element,yc,(e=>{E.one(this._element,zc,(t=>{this._element===e.target&&this._element===t.target&&("static"!==this._config.backdrop?this._config.backdrop&&this.hide():this._triggerBackdropTransition())}))}))}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide((()=>{document.body.classList.remove(Mc),this._resetAdjustments(),this._scrollBar.reset(),E.trigger(this._element,pc)}))}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(E.trigger(this._element,mc).defaultPrevented)return;const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._element.style.overflowY;"hidden"===t||this._element.classList.contains(Lc)||(e||(this._element.style.overflowY="hidden"),this._element.classList.add(Lc),this._queueCallback((()=>{this._element.classList.remove(Lc),this._queueCallback((()=>{this._element.style.overflowY=t}),this._dialog)}),this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),n=t>0;if(n&&!e){const e=m()?"paddingLeft":"paddingRight";this._element.style[e]=`${t}px`}if(!n&&e){const e=m()?"paddingRight":"paddingLeft";this._element.style[e]=`${t}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,t){return this.each((function(){const n=xc.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e](t)}}))}}E.on(document,Hc,'[data-bs-toggle="modal"]',(function(e){const t=c(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),E.one(t,gc,(e=>{e.defaultPrevented||E.one(t,pc,(()=>{i(this)&&this.focus()}))}));const n=G.findOne(".modal.show");n&&xc.getInstance(n).hide();xc.getOrCreateInstance(t).toggle(this)})),F(xc),p(xc);const kc=".bs.offcanvas",Sc=".data-api",Ac=`load${kc}${Sc}`,Tc="show",Dc="showing",Ec="hiding",Nc=".offcanvas.show",Oc=`show${kc}`,Pc=`shown${kc}`,Rc=`hide${kc}`,Ic=`hidePrevented${kc}`,Bc=`hidden${kc}`,jc=`resize${kc}`,$c=`click${kc}${Sc}`,Fc=`keydown.dismiss${kc}`,qc={backdrop:!0,keyboard:!0,scroll:!1},Uc={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Wc extends ${constructor(e,t){super(e,t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return qc}static get DefaultType(){return Uc}static get NAME(){return"offcanvas"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown)return;if(E.trigger(this._element,Oc,{relatedTarget:e}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||(new Kn).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Dc);this._queueCallback((()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add(Tc),this._element.classList.remove(Dc),E.trigger(this._element,Pc,{relatedTarget:e})}),this._element,!0)}hide(){if(!this._isShown)return;if(E.trigger(this._element,Rc).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(Ec),this._backdrop.hide();this._queueCallback((()=>{this._element.classList.remove(Tc,Ec),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new Kn).reset(),E.trigger(this._element,Bc)}),this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=Boolean(this._config.backdrop);return new rc({className:"offcanvas-backdrop",isVisible:e,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:e?()=>{"static"!==this._config.backdrop?this.hide():E.trigger(this._element,Ic)}:null})}_initializeFocusTrap(){return new fc({trapElement:this._element})}_addEventListeners(){E.on(this._element,Fc,(e=>{"Escape"===e.key&&(this._config.keyboard?this.hide():E.trigger(this._element,Ic))}))}static jQueryInterface(e){return this.each((function(){const t=Wc.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}}))}}E.on(document,$c,'[data-bs-toggle="offcanvas"]',(function(e){const t=c(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),s(this))return;E.one(t,Bc,(()=>{i(this)&&this.focus()}));const n=G.findOne(Nc);n&&n!==t&&Wc.getInstance(n).hide();Wc.getOrCreateInstance(t).toggle(this)})),E.on(window,Ac,(()=>{for(const e of G.find(Nc))Wc.getOrCreateInstance(e).show()})),E.on(window,jc,(()=>{for(const e of G.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(e).position&&Wc.getOrCreateInstance(e).hide()})),F(Wc),p(Wc);const Yc=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Zc=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,Xc=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,Gc=(e,t)=>{const n=e.nodeName.toLowerCase();return t.includes(n)?!Yc.has(n)||Boolean(Zc.test(e.nodeValue)||Xc.test(e.nodeValue)):t.filter((e=>e instanceof RegExp)).some((e=>e.test(n)))},Qc={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]};const Kc={allowList:Qc,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
    "},Jc={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},er={entry:"(string|element|function|null)",selector:"(string|element)"};class tr extends j{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return Kc}static get DefaultType(){return Jc}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map((e=>this._resolvePossibleFunction(e))).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(e){return this._checkContent(e),this._config.content={...this._config.content,...e},this}toHtml(){const e=document.createElement("div");e.innerHTML=this._maybeSanitize(this._config.template);for(const[t,n]of Object.entries(this._config.content))this._setContent(e,n,t);const t=e.children[0],n=this._resolvePossibleFunction(this._config.extraClass);return n&&t.classList.add(...n.split(" ")),t}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(const[t,n]of Object.entries(e))super._typeCheckConfig({selector:t,entry:n},er)}_setContent(e,t,n){const c=G.findOne(n,e);c&&((t=this._resolvePossibleFunction(t))?a(t)?this._putElementInTemplate(o(t),c):this._config.html?c.innerHTML=this._maybeSanitize(t):c.textContent=t:c.remove())}_maybeSanitize(e){return this._config.sanitize?function(e,t,n){if(!e.length)return e;if(n&&"function"==typeof n)return n(e);const c=(new window.DOMParser).parseFromString(e,"text/html"),r=[].concat(...c.body.querySelectorAll("*"));for(const e of r){const n=e.nodeName.toLowerCase();if(!Object.keys(t).includes(n)){e.remove();continue}const c=[].concat(...e.attributes),r=[].concat(t["*"]||[],t[n]||[]);for(const t of c)Gc(t,r)||e.removeAttribute(t.nodeName)}return c.body.innerHTML}(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return"function"==typeof e?e(this):e}_putElementInTemplate(e,t){if(this._config.html)return t.innerHTML="",void t.append(e);t.textContent=e.textContent}}const nr=new Set(["sanitize","allowList","sanitizeFn"]),cr="fade",rr="show",ar=".modal",or="hide.bs.modal",ir="hover",sr="focus",lr={AUTO:"auto",TOP:"top",RIGHT:m()?"left":"right",BOTTOM:"bottom",LEFT:m()?"right":"left"},ur={allowList:Qc,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,0],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'',title:"",trigger:"hover focus"},fr={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class dr extends ${constructor(e,t){if(void 0===Hn)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(e,t),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return ur}static get DefaultType(){return fr}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),E.off(this._element.closest(ar),or,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this._isWithContent()||!this._isEnabled)return;const e=E.trigger(this._element,this.constructor.eventName("show")),t=(l(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!t)return;this._disposePopper();const n=this._getTipElement();this._element.setAttribute("aria-describedby",n.getAttribute("id"));const{container:c}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(c.append(n),E.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(n),n.classList.add(rr),"ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))E.on(e,"mouseover",u);this._queueCallback((()=>{E.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1}),this.tip,this._isAnimated())}hide(){if(!this._isShown())return;if(E.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented)return;if(this._getTipElement().classList.remove(rr),"ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))E.off(e,"mouseover",u);this._activeTrigger.click=!1,this._activeTrigger[sr]=!1,this._activeTrigger[ir]=!1,this._isHovered=null;this._queueCallback((()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),E.trigger(this._element,this.constructor.eventName("hidden")))}),this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(e){const t=this._getTemplateFactory(e).toHtml();if(!t)return null;t.classList.remove(cr,rr),t.classList.add(`bs-${this.constructor.NAME}-auto`);const n=(e=>{do{e+=Math.floor(1e6*Math.random())}while(document.getElementById(e));return e})(this.constructor.NAME).toString();return t.setAttribute("id",n),this._isAnimated()&&t.classList.add(cr),t}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new tr({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{".tooltip-inner":this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(cr)}_isShown(){return this.tip&&this.tip.classList.contains(rr)}_createPopper(e){const t="function"==typeof this._config.placement?this._config.placement.call(this,e,this._element):this._config.placement,n=lr[t.toUpperCase()];return Cn(this._element,e,this._getPopperConfig(n))}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map((e=>Number.parseInt(e,10))):"function"==typeof e?t=>e(t,this._element):e}_resolvePossibleFunction(e){return"function"==typeof e?e.call(this._element):e}_getPopperConfig(e){const t={placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:e=>{this._getTipElement().setAttribute("data-popper-placement",e.state.placement)}}]};return{...t,..."function"==typeof this._config.popperConfig?this._config.popperConfig(t):this._config.popperConfig}}_setListeners(){const e=this._config.trigger.split(" ");for(const t of e)if("click"===t)E.on(this._element,this.constructor.eventName("click"),this._config.selector,(e=>{this._initializeOnDelegatedTarget(e).toggle()}));else if("manual"!==t){const e=t===ir?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),n=t===ir?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");E.on(this._element,e,this._config.selector,(e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusin"===e.type?sr:ir]=!0,t._enter()})),E.on(this._element,n,this._config.selector,(e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusout"===e.type?sr:ir]=t._element.contains(e.relatedTarget),t._leave()}))}this._hideModalHandler=()=>{this._element&&this.hide()},E.on(this._element.closest(ar),or,this._hideModalHandler)}_fixTitle(){const e=this._element.getAttribute("title");e&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",e),this._element.setAttribute("data-bs-original-title",e),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout((()=>{this._isHovered&&this.show()}),this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout((()=>{this._isHovered||this.hide()}),this._config.delay.hide))}_setTimeout(e,t){clearTimeout(this._timeout),this._timeout=setTimeout(e,t)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){const t=B.getDataAttributes(this._element);for(const e of Object.keys(t))nr.has(e)&&delete t[e];return e={...t,..."object"==typeof e&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=!1===e.container?document.body:o(e.container),"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),e}_getDelegateConfig(){const e={};for(const t in this._config)this.constructor.Default[t]!==this._config[t]&&(e[t]=this._config[t]);return e.selector=!1,e.trigger="manual",e}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(e){return this.each((function(){const t=dr.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}}p(dr);const hr={...dr.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},mr={...dr.DefaultType,content:"(null|string|element|function)"};class pr extends dr{static get Default(){return hr}static get DefaultType(){return mr}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{".popover-header":this._getTitle(),".popover-body":this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each((function(){const t=pr.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}}p(pr);const gr=".bs.scrollspy",vr=`activate${gr}`,br=`click${gr}`,zr=`load${gr}.data-api`,yr="active",Cr="[href]",Hr=".nav-link",Mr=`${Hr}, .nav-item > ${Hr}, .list-group-item`,Vr={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Lr={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class wr extends ${constructor(e,t){super(e,t),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement="visible"===getComputedStyle(this._element).overflowY?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return Vr}static get DefaultType(){return Lr}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const e of this._observableSections.values())this._observer.observe(e)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(e){return e.target=o(e.target)||document.body,e.rootMargin=e.offset?`${e.offset}px 0px -30%`:e.rootMargin,"string"==typeof e.threshold&&(e.threshold=e.threshold.split(",").map((e=>Number.parseFloat(e)))),e}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(E.off(this._config.target,br),E.on(this._config.target,br,Cr,(e=>{const t=this._observableSections.get(e.target.hash);if(t){e.preventDefault();const n=this._rootElement||window,c=t.offsetTop-this._element.offsetTop;if(n.scrollTo)return void n.scrollTo({top:c,behavior:"smooth"});n.scrollTop=c}})))}_getNewObserver(){const e={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver((e=>this._observerCallback(e)),e)}_observerCallback(e){const t=e=>this._targetLinks.get(`#${e.target.id}`),n=e=>{this._previousScrollData.visibleEntryTop=e.target.offsetTop,this._process(t(e))},c=(this._rootElement||document.documentElement).scrollTop,r=c>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=c;for(const a of e){if(!a.isIntersecting){this._activeTarget=null,this._clearActiveClass(t(a));continue}const e=a.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(r&&e){if(n(a),!c)return}else r||e||n(a)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=G.find(Cr,this._config.target);for(const t of e){if(!t.hash||s(t))continue;const e=G.findOne(t.hash,this._element);i(e)&&(this._targetLinks.set(t.hash,t),this._observableSections.set(t.hash,e))}}_process(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),this._activeTarget=e,e.classList.add(yr),this._activateParents(e),E.trigger(this._element,vr,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains("dropdown-item"))G.findOne(".dropdown-toggle",e.closest(".dropdown")).classList.add(yr);else for(const t of G.parents(e,".nav, .list-group"))for(const e of G.prev(t,Mr))e.classList.add(yr)}_clearActiveClass(e){e.classList.remove(yr);const t=G.find(`${Cr}.${yr}`,e);for(const e of t)e.classList.remove(yr)}static jQueryInterface(e){return this.each((function(){const t=wr.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}}))}}E.on(window,zr,(()=>{for(const e of G.find('[data-bs-spy="scroll"]'))wr.getOrCreateInstance(e)})),p(wr);const _r=".bs.tab",xr=`hide${_r}`,kr=`hidden${_r}`,Sr=`show${_r}`,Ar=`shown${_r}`,Tr=`click${_r}`,Dr=`keydown${_r}`,Er=`load${_r}`,Nr="ArrowLeft",Or="ArrowRight",Pr="ArrowUp",Rr="ArrowDown",Ir="active",Br="fade",jr="show",$r=":not(.dropdown-toggle)",Fr='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',qr=`${`.nav-link${$r}, .list-group-item${$r}, [role="tab"]${$r}`}, ${Fr}`,Ur=`.${Ir}[data-bs-toggle="tab"], .${Ir}[data-bs-toggle="pill"], .${Ir}[data-bs-toggle="list"]`;class Wr extends ${constructor(e){super(e),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),E.on(this._element,Dr,(e=>this._keydown(e))))}static get NAME(){return"tab"}show(){const e=this._element;if(this._elemIsActive(e))return;const t=this._getActiveElem(),n=t?E.trigger(t,xr,{relatedTarget:e}):null;E.trigger(e,Sr,{relatedTarget:t}).defaultPrevented||n&&n.defaultPrevented||(this._deactivate(t,e),this._activate(e,t))}_activate(e,t){if(!e)return;e.classList.add(Ir),this._activate(c(e));this._queueCallback((()=>{"tab"===e.getAttribute("role")?(e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),E.trigger(e,Ar,{relatedTarget:t})):e.classList.add(jr)}),e,e.classList.contains(Br))}_deactivate(e,t){if(!e)return;e.classList.remove(Ir),e.blur(),this._deactivate(c(e));this._queueCallback((()=>{"tab"===e.getAttribute("role")?(e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),E.trigger(e,kr,{relatedTarget:t})):e.classList.remove(jr)}),e,e.classList.contains(Br))}_keydown(e){if(![Nr,Or,Pr,Rr].includes(e.key))return;e.stopPropagation(),e.preventDefault();const t=[Or,Rr].includes(e.key),n=b(this._getChildren().filter((e=>!s(e))),e.target,t,!0);n&&(n.focus({preventScroll:!0}),Wr.getOrCreateInstance(n).show())}_getChildren(){return G.find(qr,this._parent)}_getActiveElem(){return this._getChildren().find((e=>this._elemIsActive(e)))||null}_setInitialAttributes(e,t){this._setAttributeIfNotExists(e,"role","tablist");for(const e of t)this._setInitialAttributesOnChild(e)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);const t=this._elemIsActive(e),n=this._getOuterElement(e);e.setAttribute("aria-selected",t),n!==e&&this._setAttributeIfNotExists(n,"role","presentation"),t||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){const t=c(e);t&&(this._setAttributeIfNotExists(t,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(t,"aria-labelledby",`#${e.id}`))}_toggleDropDown(e,t){const n=this._getOuterElement(e);if(!n.classList.contains("dropdown"))return;const c=(e,c)=>{const r=G.findOne(e,n);r&&r.classList.toggle(c,t)};c(".dropdown-toggle",Ir),c(".dropdown-menu",jr),n.setAttribute("aria-expanded",t)}_setAttributeIfNotExists(e,t,n){e.hasAttribute(t)||e.setAttribute(t,n)}_elemIsActive(e){return e.classList.contains(Ir)}_getInnerElement(e){return e.matches(qr)?e:G.findOne(qr,e)}_getOuterElement(e){return e.closest(".nav-item, .list-group-item")||e}static jQueryInterface(e){return this.each((function(){const t=Wr.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}}))}}E.on(document,Tr,Fr,(function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),s(this)||Wr.getOrCreateInstance(this).show()})),E.on(window,Er,(()=>{for(const e of G.find(Ur))Wr.getOrCreateInstance(e)})),p(Wr);const Yr=".bs.toast",Zr=`mouseover${Yr}`,Xr=`mouseout${Yr}`,Gr=`focusin${Yr}`,Qr=`focusout${Yr}`,Kr=`hide${Yr}`,Jr=`hidden${Yr}`,ea=`show${Yr}`,ta=`shown${Yr}`,na="hide",ca="show",ra="showing",aa={animation:"boolean",autohide:"boolean",delay:"number"},oa={animation:!0,autohide:!0,delay:5e3};class ia extends ${constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return oa}static get DefaultType(){return aa}static get NAME(){return"toast"}show(){if(E.trigger(this._element,ea).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add("fade");this._element.classList.remove(na),f(this._element),this._element.classList.add(ca,ra),this._queueCallback((()=>{this._element.classList.remove(ra),E.trigger(this._element,ta),this._maybeScheduleHide()}),this._element,this._config.animation)}hide(){if(!this.isShown())return;if(E.trigger(this._element,Kr).defaultPrevented)return;this._element.classList.add(ra),this._queueCallback((()=>{this._element.classList.add(na),this._element.classList.remove(ra,ca),E.trigger(this._element,Jr)}),this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(ca),super.dispose()}isShown(){return this._element.classList.contains(ca)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout((()=>{this.hide()}),this._config.delay)))}_onInteraction(e,t){switch(e.type){case"mouseover":case"mouseout":this._hasMouseInteraction=t;break;case"focusin":case"focusout":this._hasKeyboardInteraction=t}if(t)return void this._clearTimeout();const n=e.relatedTarget;this._element===n||this._element.contains(n)||this._maybeScheduleHide()}_setListeners(){E.on(this._element,Zr,(e=>this._onInteraction(e,!0))),E.on(this._element,Xr,(e=>this._onInteraction(e,!1))),E.on(this._element,Gr,(e=>this._onInteraction(e,!0))),E.on(this._element,Qr,(e=>this._onInteraction(e,!1)))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each((function(){const t=ia.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e](this)}}))}}F(ia),p(ia);return{Alert:Y,Button:X,Carousel:xe,Collapse:$e,Dropdown:Yn,Modal:xc,Offcanvas:Wc,Popover:pr,ScrollSpy:wr,Tab:Wr,Toast:ia,Tooltip:dr}})),function(){"use strict";var e={},t={};try{"undefined"!=typeof window&&(e=window),"undefined"!=typeof document&&(t=document)}catch(e){}var n=void 0===(b=(e.navigator||{}).userAgent)?"":b,c=e,r=t;function a(e,t){var n,c=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),c.push.apply(c,n)),c}function o(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,c=new Array(t);ne.length)&&(t=e.length);for(var n=0,c=new Array(t);ne.length)&&(t=e.length);for(var n=0,c=new Array(t);ne.length)&&(t=e.length);for(var n=0,c=new Array(t);n>>0;n--;)t[n]=e[n];return t}function ne(e){return e.classList?te(e.classList):(e.getAttribute("class")||"").split(" ").filter((function(e){return e}))}function ce(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function re(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")}),"")}function ae(e){return e.size!==K.size||e.x!==K.x||e.y!==K.y||e.rotate!==K.rotate||e.flipX||e.flipY}function oe(){var e,t,n=H,c=X.cssPrefix,r=X.replacementClass,a=':host,:root{--fa-font-solid:normal 900 1em/1 "Font Awesome 6 Solid";--fa-font-regular:normal 400 1em/1 "Font Awesome 6 Regular";--fa-font-light:normal 300 1em/1 "Font Awesome 6 Light";--fa-font-thin:normal 100 1em/1 "Font Awesome 6 Thin";--fa-font-duotone:normal 900 1em/1 "Font Awesome 6 Duotone";--fa-font-sharp-solid:normal 900 1em/1 "Font Awesome 6 Sharp";--fa-font-sharp-regular:normal 400 1em/1 "Font Awesome 6 Sharp";--fa-font-sharp-light:normal 300 1em/1 "Font Awesome 6 Sharp";--fa-font-brands:normal 400 1em/1 "Font Awesome 6 Brands"}svg:not(:host).svg-inline--fa,svg:not(:root).svg-inline--fa{overflow:visible;box-sizing:content-box}.svg-inline--fa{display:var(--fa-display,inline-block);height:1em;overflow:visible;vertical-align:-.125em}.svg-inline--fa.fa-2xs{vertical-align:.1em}.svg-inline--fa.fa-xs{vertical-align:0}.svg-inline--fa.fa-sm{vertical-align:-.0714285705em}.svg-inline--fa.fa-lg{vertical-align:-.2em}.svg-inline--fa.fa-xl{vertical-align:-.25em}.svg-inline--fa.fa-2xl{vertical-align:-.3125em}.svg-inline--fa.fa-pull-left{margin-right:var(--fa-pull-margin,.3em);width:auto}.svg-inline--fa.fa-pull-right{margin-left:var(--fa-pull-margin,.3em);width:auto}.svg-inline--fa.fa-li{width:var(--fa-li-width,2em);top:.25em}.svg-inline--fa.fa-fw{width:var(--fa-fw-width,1.25em)}.fa-layers svg.svg-inline--fa{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0}.fa-layers-counter,.fa-layers-text{display:inline-block;position:absolute;text-align:center}.fa-layers{display:inline-block;height:1em;position:relative;text-align:center;vertical-align:-.125em;width:1em}.fa-layers svg.svg-inline--fa{-webkit-transform-origin:center center;transform-origin:center center}.fa-layers-text{left:50%;top:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);-webkit-transform-origin:center center;transform-origin:center center}.fa-layers-counter{background-color:var(--fa-counter-background-color,#ff253a);border-radius:var(--fa-counter-border-radius,1em);box-sizing:border-box;color:var(--fa-inverse,#fff);line-height:var(--fa-counter-line-height,1);max-width:var(--fa-counter-max-width,5em);min-width:var(--fa-counter-min-width,1.5em);overflow:hidden;padding:var(--fa-counter-padding,.25em .5em);right:var(--fa-right,0);text-overflow:ellipsis;top:var(--fa-top,0);-webkit-transform:scale(var(--fa-counter-scale,.25));transform:scale(var(--fa-counter-scale,.25));-webkit-transform-origin:top right;transform-origin:top right}.fa-layers-bottom-right{bottom:var(--fa-bottom,0);right:var(--fa-right,0);top:auto;-webkit-transform:scale(var(--fa-layers-scale,.25));transform:scale(var(--fa-layers-scale,.25));-webkit-transform-origin:bottom right;transform-origin:bottom right}.fa-layers-bottom-left{bottom:var(--fa-bottom,0);left:var(--fa-left,0);right:auto;top:auto;-webkit-transform:scale(var(--fa-layers-scale,.25));transform:scale(var(--fa-layers-scale,.25));-webkit-transform-origin:bottom left;transform-origin:bottom left}.fa-layers-top-right{top:var(--fa-top,0);right:var(--fa-right,0);-webkit-transform:scale(var(--fa-layers-scale,.25));transform:scale(var(--fa-layers-scale,.25));-webkit-transform-origin:top right;transform-origin:top right}.fa-layers-top-left{left:var(--fa-left,0);right:auto;top:var(--fa-top,0);-webkit-transform:scale(var(--fa-layers-scale,.25));transform:scale(var(--fa-layers-scale,.25));-webkit-transform-origin:top left;transform-origin:top left}.fa-1x{font-size:1em}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-6x{font-size:6em}.fa-7x{font-size:7em}.fa-8x{font-size:8em}.fa-9x{font-size:9em}.fa-10x{font-size:10em}.fa-2xs{font-size:.625em;line-height:.1em;vertical-align:.225em}.fa-xs{font-size:.75em;line-height:.0833333337em;vertical-align:.125em}.fa-sm{font-size:.875em;line-height:.0714285718em;vertical-align:.0535714295em}.fa-lg{font-size:1.25em;line-height:.05em;vertical-align:-.075em}.fa-xl{font-size:1.5em;line-height:.0416666682em;vertical-align:-.125em}.fa-2xl{font-size:2em;line-height:.03125em;vertical-align:-.1875em}.fa-fw{text-align:center;width:1.25em}.fa-ul{list-style-type:none;margin-left:var(--fa-li-margin,2.5em);padding-left:0}.fa-ul>li{position:relative}.fa-li{left:calc(var(--fa-li-width,2em) * -1);position:absolute;text-align:center;width:var(--fa-li-width,2em);line-height:inherit}.fa-border{border-color:var(--fa-border-color,#eee);border-radius:var(--fa-border-radius,.1em);border-style:var(--fa-border-style,solid);border-width:var(--fa-border-width,.08em);padding:var(--fa-border-padding,.2em .25em .15em)}.fa-pull-left{float:left;margin-right:var(--fa-pull-margin,.3em)}.fa-pull-right{float:right;margin-left:var(--fa-pull-margin,.3em)}.fa-beat{-webkit-animation-name:fa-beat;animation-name:fa-beat;-webkit-animation-delay:var(--fa-animation-delay,0s);animation-delay:var(--fa-animation-delay,0s);-webkit-animation-direction:var(--fa-animation-direction,normal);animation-direction:var(--fa-animation-direction,normal);-webkit-animation-duration:var(--fa-animation-duration,1s);animation-duration:var(--fa-animation-duration,1s);-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,ease-in-out);animation-timing-function:var(--fa-animation-timing,ease-in-out)}.fa-bounce{-webkit-animation-name:fa-bounce;animation-name:fa-bounce;-webkit-animation-delay:var(--fa-animation-delay,0s);animation-delay:var(--fa-animation-delay,0s);-webkit-animation-direction:var(--fa-animation-direction,normal);animation-direction:var(--fa-animation-direction,normal);-webkit-animation-duration:var(--fa-animation-duration,1s);animation-duration:var(--fa-animation-duration,1s);-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,cubic-bezier(.28,.84,.42,1));animation-timing-function:var(--fa-animation-timing,cubic-bezier(.28,.84,.42,1))}.fa-fade{-webkit-animation-name:fa-fade;animation-name:fa-fade;-webkit-animation-delay:var(--fa-animation-delay,0s);animation-delay:var(--fa-animation-delay,0s);-webkit-animation-direction:var(--fa-animation-direction,normal);animation-direction:var(--fa-animation-direction,normal);-webkit-animation-duration:var(--fa-animation-duration,1s);animation-duration:var(--fa-animation-duration,1s);-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,cubic-bezier(.4,0,.6,1));animation-timing-function:var(--fa-animation-timing,cubic-bezier(.4,0,.6,1))}.fa-beat-fade{-webkit-animation-name:fa-beat-fade;animation-name:fa-beat-fade;-webkit-animation-delay:var(--fa-animation-delay,0s);animation-delay:var(--fa-animation-delay,0s);-webkit-animation-direction:var(--fa-animation-direction,normal);animation-direction:var(--fa-animation-direction,normal);-webkit-animation-duration:var(--fa-animation-duration,1s);animation-duration:var(--fa-animation-duration,1s);-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,cubic-bezier(.4,0,.6,1));animation-timing-function:var(--fa-animation-timing,cubic-bezier(.4,0,.6,1))}.fa-flip{-webkit-animation-name:fa-flip;animation-name:fa-flip;-webkit-animation-delay:var(--fa-animation-delay,0s);animation-delay:var(--fa-animation-delay,0s);-webkit-animation-direction:var(--fa-animation-direction,normal);animation-direction:var(--fa-animation-direction,normal);-webkit-animation-duration:var(--fa-animation-duration,1s);animation-duration:var(--fa-animation-duration,1s);-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,ease-in-out);animation-timing-function:var(--fa-animation-timing,ease-in-out)}.fa-shake{-webkit-animation-name:fa-shake;animation-name:fa-shake;-webkit-animation-delay:var(--fa-animation-delay,0s);animation-delay:var(--fa-animation-delay,0s);-webkit-animation-direction:var(--fa-animation-direction,normal);animation-direction:var(--fa-animation-direction,normal);-webkit-animation-duration:var(--fa-animation-duration,1s);animation-duration:var(--fa-animation-duration,1s);-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,linear);animation-timing-function:var(--fa-animation-timing,linear)}.fa-spin{-webkit-animation-name:fa-spin;animation-name:fa-spin;-webkit-animation-delay:var(--fa-animation-delay,0s);animation-delay:var(--fa-animation-delay,0s);-webkit-animation-direction:var(--fa-animation-direction,normal);animation-direction:var(--fa-animation-direction,normal);-webkit-animation-duration:var(--fa-animation-duration,2s);animation-duration:var(--fa-animation-duration,2s);-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,linear);animation-timing-function:var(--fa-animation-timing,linear)}.fa-spin-reverse{--fa-animation-direction:reverse}.fa-pulse,.fa-spin-pulse{-webkit-animation-name:fa-spin;animation-name:fa-spin;-webkit-animation-direction:var(--fa-animation-direction,normal);animation-direction:var(--fa-animation-direction,normal);-webkit-animation-duration:var(--fa-animation-duration,1s);animation-duration:var(--fa-animation-duration,1s);-webkit-animation-iteration-count:var(--fa-animation-iteration-count,infinite);animation-iteration-count:var(--fa-animation-iteration-count,infinite);-webkit-animation-timing-function:var(--fa-animation-timing,steps(8));animation-timing-function:var(--fa-animation-timing,steps(8))}@media (prefers-reduced-motion:reduce){.fa-beat,.fa-beat-fade,.fa-bounce,.fa-fade,.fa-flip,.fa-pulse,.fa-shake,.fa-spin,.fa-spin-pulse{-webkit-animation-delay:-1ms;animation-delay:-1ms;-webkit-animation-duration:1ms;animation-duration:1ms;-webkit-animation-iteration-count:1;animation-iteration-count:1;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s}}@-webkit-keyframes fa-beat{0%,90%{-webkit-transform:scale(1);transform:scale(1)}45%{-webkit-transform:scale(var(--fa-beat-scale,1.25));transform:scale(var(--fa-beat-scale,1.25))}}@keyframes fa-beat{0%,90%{-webkit-transform:scale(1);transform:scale(1)}45%{-webkit-transform:scale(var(--fa-beat-scale,1.25));transform:scale(var(--fa-beat-scale,1.25))}}@-webkit-keyframes fa-bounce{0%{-webkit-transform:scale(1,1) translateY(0);transform:scale(1,1) translateY(0)}10%{-webkit-transform:scale(var(--fa-bounce-start-scale-x,1.1),var(--fa-bounce-start-scale-y,.9)) translateY(0);transform:scale(var(--fa-bounce-start-scale-x,1.1),var(--fa-bounce-start-scale-y,.9)) translateY(0)}30%{-webkit-transform:scale(var(--fa-bounce-jump-scale-x,.9),var(--fa-bounce-jump-scale-y,1.1)) translateY(var(--fa-bounce-height,-.5em));transform:scale(var(--fa-bounce-jump-scale-x,.9),var(--fa-bounce-jump-scale-y,1.1)) translateY(var(--fa-bounce-height,-.5em))}50%{-webkit-transform:scale(var(--fa-bounce-land-scale-x,1.05),var(--fa-bounce-land-scale-y,.95)) translateY(0);transform:scale(var(--fa-bounce-land-scale-x,1.05),var(--fa-bounce-land-scale-y,.95)) translateY(0)}57%{-webkit-transform:scale(1,1) translateY(var(--fa-bounce-rebound,-.125em));transform:scale(1,1) translateY(var(--fa-bounce-rebound,-.125em))}64%{-webkit-transform:scale(1,1) translateY(0);transform:scale(1,1) translateY(0)}100%{-webkit-transform:scale(1,1) translateY(0);transform:scale(1,1) translateY(0)}}@keyframes fa-bounce{0%{-webkit-transform:scale(1,1) translateY(0);transform:scale(1,1) translateY(0)}10%{-webkit-transform:scale(var(--fa-bounce-start-scale-x,1.1),var(--fa-bounce-start-scale-y,.9)) translateY(0);transform:scale(var(--fa-bounce-start-scale-x,1.1),var(--fa-bounce-start-scale-y,.9)) translateY(0)}30%{-webkit-transform:scale(var(--fa-bounce-jump-scale-x,.9),var(--fa-bounce-jump-scale-y,1.1)) translateY(var(--fa-bounce-height,-.5em));transform:scale(var(--fa-bounce-jump-scale-x,.9),var(--fa-bounce-jump-scale-y,1.1)) translateY(var(--fa-bounce-height,-.5em))}50%{-webkit-transform:scale(var(--fa-bounce-land-scale-x,1.05),var(--fa-bounce-land-scale-y,.95)) translateY(0);transform:scale(var(--fa-bounce-land-scale-x,1.05),var(--fa-bounce-land-scale-y,.95)) translateY(0)}57%{-webkit-transform:scale(1,1) translateY(var(--fa-bounce-rebound,-.125em));transform:scale(1,1) translateY(var(--fa-bounce-rebound,-.125em))}64%{-webkit-transform:scale(1,1) translateY(0);transform:scale(1,1) translateY(0)}100%{-webkit-transform:scale(1,1) translateY(0);transform:scale(1,1) translateY(0)}}@-webkit-keyframes fa-fade{50%{opacity:var(--fa-fade-opacity,.4)}}@keyframes fa-fade{50%{opacity:var(--fa-fade-opacity,.4)}}@-webkit-keyframes fa-beat-fade{0%,100%{opacity:var(--fa-beat-fade-opacity,.4);-webkit-transform:scale(1);transform:scale(1)}50%{opacity:1;-webkit-transform:scale(var(--fa-beat-fade-scale,1.125));transform:scale(var(--fa-beat-fade-scale,1.125))}}@keyframes fa-beat-fade{0%,100%{opacity:var(--fa-beat-fade-opacity,.4);-webkit-transform:scale(1);transform:scale(1)}50%{opacity:1;-webkit-transform:scale(var(--fa-beat-fade-scale,1.125));transform:scale(var(--fa-beat-fade-scale,1.125))}}@-webkit-keyframes fa-flip{50%{-webkit-transform:rotate3d(var(--fa-flip-x,0),var(--fa-flip-y,1),var(--fa-flip-z,0),var(--fa-flip-angle,-180deg));transform:rotate3d(var(--fa-flip-x,0),var(--fa-flip-y,1),var(--fa-flip-z,0),var(--fa-flip-angle,-180deg))}}@keyframes fa-flip{50%{-webkit-transform:rotate3d(var(--fa-flip-x,0),var(--fa-flip-y,1),var(--fa-flip-z,0),var(--fa-flip-angle,-180deg));transform:rotate3d(var(--fa-flip-x,0),var(--fa-flip-y,1),var(--fa-flip-z,0),var(--fa-flip-angle,-180deg))}}@-webkit-keyframes fa-shake{0%{-webkit-transform:rotate(-15deg);transform:rotate(-15deg)}4%{-webkit-transform:rotate(15deg);transform:rotate(15deg)}24%,8%{-webkit-transform:rotate(-18deg);transform:rotate(-18deg)}12%,28%{-webkit-transform:rotate(18deg);transform:rotate(18deg)}16%{-webkit-transform:rotate(-22deg);transform:rotate(-22deg)}20%{-webkit-transform:rotate(22deg);transform:rotate(22deg)}32%{-webkit-transform:rotate(-12deg);transform:rotate(-12deg)}36%{-webkit-transform:rotate(12deg);transform:rotate(12deg)}100%,40%{-webkit-transform:rotate(0);transform:rotate(0)}}@keyframes fa-shake{0%{-webkit-transform:rotate(-15deg);transform:rotate(-15deg)}4%{-webkit-transform:rotate(15deg);transform:rotate(15deg)}24%,8%{-webkit-transform:rotate(-18deg);transform:rotate(-18deg)}12%,28%{-webkit-transform:rotate(18deg);transform:rotate(18deg)}16%{-webkit-transform:rotate(-22deg);transform:rotate(-22deg)}20%{-webkit-transform:rotate(22deg);transform:rotate(22deg)}32%{-webkit-transform:rotate(-12deg);transform:rotate(-12deg)}36%{-webkit-transform:rotate(12deg);transform:rotate(12deg)}100%,40%{-webkit-transform:rotate(0);transform:rotate(0)}}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}.fa-rotate-90{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-webkit-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-webkit-transform:scale(-1,1);transform:scale(-1,1)}.fa-flip-vertical{-webkit-transform:scale(1,-1);transform:scale(1,-1)}.fa-flip-both,.fa-flip-horizontal.fa-flip-vertical{-webkit-transform:scale(-1,-1);transform:scale(-1,-1)}.fa-rotate-by{-webkit-transform:rotate(var(--fa-rotate-angle,none));transform:rotate(var(--fa-rotate-angle,none))}.fa-stack{display:inline-block;vertical-align:middle;height:2em;position:relative;width:2.5em}.fa-stack-1x,.fa-stack-2x{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;z-index:var(--fa-stack-z-index,auto)}.svg-inline--fa.fa-stack-1x{height:1em;width:1.25em}.svg-inline--fa.fa-stack-2x{height:2em;width:2.5em}.fa-inverse{color:var(--fa-inverse,#fff)}.fa-sr-only,.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.fa-sr-only-focusable:not(:focus),.sr-only-focusable:not(:focus){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.svg-inline--fa .fa-primary{fill:var(--fa-primary-color,currentColor);opacity:var(--fa-primary-opacity,1)}.svg-inline--fa .fa-secondary{fill:var(--fa-secondary-color,currentColor);opacity:var(--fa-secondary-opacity,.4)}.svg-inline--fa.fa-swap-opacity .fa-primary{opacity:var(--fa-secondary-opacity,.4)}.svg-inline--fa.fa-swap-opacity .fa-secondary{opacity:var(--fa-primary-opacity,1)}.svg-inline--fa mask .fa-primary,.svg-inline--fa mask .fa-secondary{fill:#000}.fa-duotone.fa-inverse,.fad.fa-inverse{color:var(--fa-inverse,#fff)}';return"fa"===c&&r===n||(e=new RegExp("\\.".concat("fa","\\-"),"g"),t=new RegExp("\\--".concat("fa","\\-"),"g"),n=new RegExp("\\.".concat(n),"g"),a=a.replace(e,".".concat(c,"-")).replace(t,"--".concat(c,"-")).replace(n,".".concat(r))),a}var ie=!1;function se(){X.autoAddCss&&!ie&&(function(e){if(e&&y){var t=g.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=g.head.childNodes,c=null,r=n.length-1;-1").concat(r.map(he).join(""),"")}function me(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}function pe(e,t,n,c){for(var r,a,o=Object.keys(e),i=o.length,s=void 0!==c?ge(t,c):t,l=void 0===n?(r=1,e[o[0]]):(r=0,n);re.length)&&(t=e.length);for(var n=0,c=new Array(t);n',preload:!0,css:{},attr:{scrolling:"auto"}},video:{tpl:'',format:"",autoStart:!0},defaultType:"image",animationEffect:"zoom",animationDuration:366,zoomOpacity:"auto",transitionEffect:"fade",transitionDuration:366,slideClass:"",baseClass:"",baseTpl:'',spinnerTpl:'
    ',errorTpl:'

    {{ERROR}}

    ',btnTpl:{download:'',zoom:'',close:'',arrowLeft:'',arrowRight:'',smallBtn:''},parentEl:"body",hideScrollbar:!0,autoFocus:!0,backFocus:!0,trapFocus:!0,fullScreen:{autoStart:!1},touch:{vertical:!0,momentum:!0},hash:null,media:{},slideShow:{autoStart:!1,speed:3e3},thumbs:{autoStart:!1,hideOnClose:!0,parentEl:".fancybox-container",axis:"y"},wheel:"auto",onInit:n.noop,beforeLoad:n.noop,afterLoad:n.noop,beforeShow:n.noop,afterShow:n.noop,beforeClose:n.noop,afterClose:n.noop,onActivate:n.noop,onDeactivate:n.noop,clickContent:function(e,t){return"image"===e.type&&"zoom"},clickSlide:"close",clickOutside:"close",dblclickContent:!1,dblclickSlide:!1,dblclickOutside:!1,mobile:{preventCaptionOverlap:!1,idleTime:!1,clickContent:function(e,t){return"image"===e.type&&"toggleControls"},clickSlide:function(e,t){return"image"===e.type?"toggleControls":"close"},dblclickContent:function(e,t){return"image"===e.type&&"zoom"},dblclickSlide:function(e,t){return"image"===e.type&&"zoom"}},lang:"en",i18n:{en:{CLOSE:"Close",NEXT:"Next",PREV:"Previous",ERROR:"The requested content cannot be loaded.
    Please try again later.",PLAY_START:"Start slideshow",PLAY_STOP:"Pause slideshow",FULL_SCREEN:"Full screen",THUMBS:"Thumbnails",DOWNLOAD:"Download",SHARE:"Share",ZOOM:"Zoom"},de:{CLOSE:"Schließen",NEXT:"Weiter",PREV:"Zurück",ERROR:"Die angeforderten Daten konnten nicht geladen werden.
    Bitte versuchen Sie es später nochmal.",PLAY_START:"Diaschau starten",PLAY_STOP:"Diaschau beenden",FULL_SCREEN:"Vollbild",THUMBS:"Vorschaubilder",DOWNLOAD:"Herunterladen",SHARE:"Teilen",ZOOM:"Vergrößern"}}},o=n(e),i=n(t),s=0,l=e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||e.oRequestAnimationFrame||function(t){return e.setTimeout(t,1e3/60)},u=e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.mozCancelAnimationFrame||e.oCancelAnimationFrame||function(t){e.clearTimeout(t)},f=function(){var e,n=t.createElement("fakeelement"),c={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(e in c)if(void 0!==n.style[e])return c[e];return"transitionend"}(),d=function(e){return e&&e.length&&e[0].offsetHeight},h=function(e,t){var c=n.extend(!0,{},e,t);return n.each(t,(function(e,t){n.isArray(t)&&(c[e]=t)})),c},m=function(e){var c,r;return!(!e||e.ownerDocument!==t)&&(n(".fancybox-container").css("pointer-events","none"),c={x:e.getBoundingClientRect().left+e.offsetWidth/2,y:e.getBoundingClientRect().top+e.offsetHeight/2},r=t.elementFromPoint(c.x,c.y)===e,n(".fancybox-container").css("pointer-events",""),r)},p=function(e,t,c){var r=this;r.opts=h({index:c},n.fancybox.defaults),n.isPlainObject(t)&&(r.opts=h(r.opts,t)),n.fancybox.isMobile&&(r.opts=h(r.opts,r.opts.mobile)),r.id=r.opts.id||++s,r.currIndex=parseInt(r.opts.index,10)||0,r.prevIndex=null,r.prevPos=null,r.currPos=0,r.firstRun=!0,r.group=[],r.slides={},r.addContent(e),r.group.length&&r.init()};n.extend(p.prototype,{init:function(){var c,r,a=this,o=a.group[a.currIndex].opts;o.closeExisting&&n.fancybox.close(!0),n("body").addClass("fancybox-active"),!n.fancybox.getInstance()&&!1!==o.hideScrollbar&&!n.fancybox.isMobile&&t.body.scrollHeight>e.innerHeight&&(n("head").append('"),n("body").addClass("compensate-for-scrollbar")),r="",n.each(o.buttons,(function(e,t){r+=o.btnTpl[t]||""})),c=n(a.translate(a,o.baseTpl.replace("{{buttons}}",r).replace("{{arrows}}",o.btnTpl.arrowLeft+o.btnTpl.arrowRight))).attr("id","fancybox-container-"+a.id).addClass(o.baseClass).data("FancyBox",a).appendTo(o.parentEl),a.$refs={container:c},["bg","inner","infobar","toolbar","stage","caption","navigation"].forEach((function(e){a.$refs[e]=c.find(".fancybox-"+e)})),a.trigger("onInit"),a.activate(),a.jumpTo(a.currIndex)},translate:function(e,t){var n=e.opts.i18n[e.opts.lang]||e.opts.i18n.en;return t.replace(/\{\{(\w+)\}\}/g,(function(e,t){return void 0===n[t]?e:n[t]}))},addContent:function(e){var t,c=this,r=n.makeArray(e);n.each(r,(function(e,t){var r,a,o,i,s,l={},u={};n.isPlainObject(t)?(l=t,u=t.opts||t):"object"===n.type(t)&&n(t).length?(u=(r=n(t)).data()||{},(u=n.extend(!0,{},u,u.options)).$orig=r,l.src=c.opts.src||u.src||r.attr("href"),l.type||l.src||(l.type="inline",l.src=t)):l={type:"html",src:t+""},l.opts=n.extend(!0,{},c.opts,u),n.isArray(u.buttons)&&(l.opts.buttons=u.buttons),n.fancybox.isMobile&&l.opts.mobile&&(l.opts=h(l.opts,l.opts.mobile)),a=l.type||l.opts.type,i=l.src||"",!a&&i&&((o=i.match(/\.(mp4|mov|ogv|webm)((\?|#).*)?$/i))?(a="video",l.opts.video.format||(l.opts.video.format="video/"+("ogv"===o[1]?"ogg":o[1]))):i.match(/(^data:image\/[a-z0-9+\/=]*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg|ico)((\?|#).*)?$)/i)?a="image":i.match(/\.(pdf)((\?|#).*)?$/i)?(a="iframe",l=n.extend(!0,l,{contentType:"pdf",opts:{iframe:{preload:!1}}})):"#"===i.charAt(0)&&(a="inline")),a?l.type=a:c.trigger("objectNeedsType",l),l.contentType||(l.contentType=n.inArray(l.type,["html","inline","ajax"])>-1?"html":l.type),l.index=c.group.length,"auto"==l.opts.smallBtn&&(l.opts.smallBtn=n.inArray(l.type,["html","inline","ajax"])>-1),"auto"===l.opts.toolbar&&(l.opts.toolbar=!l.opts.smallBtn),l.$thumb=l.opts.$thumb||null,l.opts.$trigger&&l.index===c.opts.index&&(l.$thumb=l.opts.$trigger.find("img:first"),l.$thumb.length&&(l.opts.$orig=l.opts.$trigger)),l.$thumb&&l.$thumb.length||!l.opts.$orig||(l.$thumb=l.opts.$orig.find("img:first")),l.$thumb&&!l.$thumb.length&&(l.$thumb=null),l.thumb=l.opts.thumb||(l.$thumb?l.$thumb[0].src:null),"function"===n.type(l.opts.caption)&&(l.opts.caption=l.opts.caption.apply(t,[c,l])),"function"===n.type(c.opts.caption)&&(l.opts.caption=c.opts.caption.apply(t,[c,l])),l.opts.caption instanceof n||(l.opts.caption=void 0===l.opts.caption?"":l.opts.caption+""),"ajax"===l.type&&((s=i.split(/\s+/,2)).length>1&&(l.src=s.shift(),l.opts.filter=s.shift())),l.opts.modal&&(l.opts=n.extend(!0,l.opts,{trapFocus:!0,infobar:0,toolbar:0,smallBtn:0,keyboard:0,slideShow:0,fullScreen:0,thumbs:0,touch:0,clickContent:!1,clickSlide:!1,clickOutside:!1,dblclickContent:!1,dblclickSlide:!1,dblclickOutside:!1})),c.group.push(l)})),Object.keys(c.slides).length&&(c.updateControls(),(t=c.Thumbs)&&t.isActive&&(t.create(),t.focus()))},addEvents:function(){var t=this;t.removeEvents(),t.$refs.container.on("click.fb-close","[data-fancybox-close]",(function(e){e.stopPropagation(),e.preventDefault(),t.close(e)})).on("touchstart.fb-prev click.fb-prev","[data-fancybox-prev]",(function(e){e.stopPropagation(),e.preventDefault(),t.previous()})).on("touchstart.fb-next click.fb-next","[data-fancybox-next]",(function(e){e.stopPropagation(),e.preventDefault(),t.next()})).on("click.fb","[data-fancybox-zoom]",(function(e){t[t.isScaledDown()?"scaleToActual":"scaleToFit"]()})),o.on("orientationchange.fb resize.fb",(function(e){e&&e.originalEvent&&"resize"===e.originalEvent.type?(t.requestId&&u(t.requestId),t.requestId=l((function(){t.update(e)}))):(t.current&&"iframe"===t.current.type&&t.$refs.stage.hide(),setTimeout((function(){t.$refs.stage.show(),t.update(e)}),n.fancybox.isMobile?600:250))})),i.on("keydown.fb",(function(e){var c=(n.fancybox?n.fancybox.getInstance():null).current,r=e.keyCode||e.which;if(9!=r)return!c.opts.keyboard||e.ctrlKey||e.altKey||e.shiftKey||n(e.target).is("input,textarea,video,audio,select")?void 0:8===r||27===r?(e.preventDefault(),void t.close(e)):37===r||38===r?(e.preventDefault(),void t.previous()):39===r||40===r?(e.preventDefault(),void t.next()):void t.trigger("afterKeydown",e,r);c.opts.trapFocus&&t.focus(e)})),t.group[t.currIndex].opts.idleTime&&(t.idleSecondsCounter=0,i.on("mousemove.fb-idle mouseleave.fb-idle mousedown.fb-idle touchstart.fb-idle touchmove.fb-idle scroll.fb-idle keydown.fb-idle",(function(e){t.idleSecondsCounter=0,t.isIdle&&t.showControls(),t.isIdle=!1})),t.idleInterval=e.setInterval((function(){++t.idleSecondsCounter>=t.group[t.currIndex].opts.idleTime&&!t.isDragging&&(t.isIdle=!0,t.idleSecondsCounter=0,t.hideControls())}),1e3))},removeEvents:function(){var t=this;o.off("orientationchange.fb resize.fb"),i.off("keydown.fb .fb-idle"),this.$refs.container.off(".fb-close .fb-prev .fb-next"),t.idleInterval&&(e.clearInterval(t.idleInterval),t.idleInterval=null)},previous:function(e){return this.jumpTo(this.currPos-1,e)},next:function(e){return this.jumpTo(this.currPos+1,e)},jumpTo:function(e,t){var c,r,a,o,i,s,l,u,f,h=this,m=h.group.length;if(!(h.isDragging||h.isClosing||h.isAnimating&&h.firstRun)){if(e=parseInt(e,10),!(a=h.current?h.current.opts.loop:h.opts.loop)&&(e<0||e>=m))return!1;if(c=h.firstRun=!Object.keys(h.slides).length,i=h.current,h.prevIndex=h.currIndex,h.prevPos=h.currPos,o=h.createSlide(e),m>1&&((a||o.index0)&&h.createSlide(e-1)),h.current=o,h.currIndex=o.index,h.currPos=o.pos,h.trigger("beforeShow",c),h.updateControls(),o.forcedDuration=void 0,n.isNumeric(t)?o.forcedDuration=t:t=o.opts[c?"animationDuration":"transitionDuration"],t=parseInt(t,10),r=h.isMoved(o),o.$slide.addClass("fancybox-slide--current"),c)return o.opts.animationEffect&&t&&h.$refs.container.css("transition-duration",t+"ms"),h.$refs.container.addClass("fancybox-is-open").trigger("focus"),h.loadSlide(o),void h.preload("image");s=n.fancybox.getTranslate(i.$slide),l=n.fancybox.getTranslate(h.$refs.stage),n.each(h.slides,(function(e,t){n.fancybox.stop(t.$slide,!0)})),i.pos!==o.pos&&(i.isComplete=!1),i.$slide.removeClass("fancybox-slide--complete fancybox-slide--current"),r?(f=s.left-(i.pos*s.width+i.pos*i.opts.gutter),n.each(h.slides,(function(e,c){c.$slide.removeClass("fancybox-animated").removeClass((function(e,t){return(t.match(/(^|\s)fancybox-fx-\S+/g)||[]).join(" ")}));var r=c.pos*s.width+c.pos*c.opts.gutter;n.fancybox.setTranslate(c.$slide,{top:0,left:r-l.left+f}),c.pos!==o.pos&&c.$slide.addClass("fancybox-slide--"+(c.pos>o.pos?"next":"previous")),d(c.$slide),n.fancybox.animate(c.$slide,{top:0,left:(c.pos-o.pos)*s.width+(c.pos-o.pos)*c.opts.gutter},t,(function(){c.$slide.css({transform:"",opacity:""}).removeClass("fancybox-slide--next fancybox-slide--previous"),c.pos===h.currPos&&h.complete()}))}))):t&&o.opts.transitionEffect&&(u="fancybox-animated fancybox-fx-"+o.opts.transitionEffect,i.$slide.addClass("fancybox-slide--"+(i.pos>o.pos?"next":"previous")),n.fancybox.animate(i.$slide,u,t,(function(){i.$slide.removeClass(u).removeClass("fancybox-slide--next fancybox-slide--previous")}),!1)),o.isLoaded?h.revealContent(o):h.loadSlide(o),h.preload("image")}},createSlide:function(e){var t,c,r=this;return c=(c=e%r.group.length)<0?r.group.length+c:c,!r.slides[e]&&r.group[c]&&(t=n('
    ').appendTo(r.$refs.stage),r.slides[e]=n.extend(!0,{},r.group[c],{pos:e,$slide:t,isLoaded:!1}),r.updateSlide(r.slides[e])),r.slides[e]},scaleToActual:function(e,t,c){var r,a,o,i,s,l=this,u=l.current,f=u.$content,d=n.fancybox.getTranslate(u.$slide).width,h=n.fancybox.getTranslate(u.$slide).height,m=u.width,p=u.height;l.isAnimating||l.isMoved()||!f||"image"!=u.type||!u.isLoaded||u.hasError||(l.isAnimating=!0,n.fancybox.stop(f),e=void 0===e?.5*d:e,t=void 0===t?.5*h:t,(r=n.fancybox.getTranslate(f)).top-=n.fancybox.getTranslate(u.$slide).top,r.left-=n.fancybox.getTranslate(u.$slide).left,i=m/r.width,s=p/r.height,a=.5*d-.5*m,o=.5*h-.5*p,m>d&&((a=r.left*i-(e*i-e))>0&&(a=0),ah&&((o=r.top*s-(t*s-t))>0&&(o=0),ot-.5&&(s=t),(l*=r)>c-.5&&(l=c),"image"===e.type?(u.top=Math.floor(.5*(c-l))+parseFloat(i.css("paddingTop")),u.left=Math.floor(.5*(t-s))+parseFloat(i.css("paddingLeft"))):"video"===e.contentType&&(l>s/(a=e.opts.width&&e.opts.height?s/l:e.opts.ratio||16/9)?l=s/a:s>l*a&&(s=l*a)),u.width=s,u.height=l,u)},update:function(e){var t=this;n.each(t.slides,(function(n,c){t.updateSlide(c,e)}))},updateSlide:function(e,t){var c=this,r=e&&e.$content,a=e.width||e.opts.width,o=e.height||e.opts.height,i=e.$slide;c.adjustCaption(e),r&&(a||o||"video"===e.contentType)&&!e.hasError&&(n.fancybox.stop(r),n.fancybox.setTranslate(r,c.getFitPos(e)),e.pos===c.currPos&&(c.isAnimating=!1,c.updateCursor())),c.adjustLayout(e),i.length&&(i.trigger("refresh"),e.pos===c.currPos&&c.$refs.toolbar.add(c.$refs.navigation.find(".fancybox-button--arrow_right")).toggleClass("compensate-for-scrollbar",i.get(0).scrollHeight>i.get(0).clientHeight)),c.trigger("onUpdate",e,t)},centerSlide:function(e){var t=this,c=t.current,r=c.$slide;!t.isClosing&&c&&(r.siblings().css({transform:"",opacity:""}),r.parent().children().removeClass("fancybox-slide--previous fancybox-slide--next"),n.fancybox.animate(r,{top:0,left:0,opacity:1},void 0===e?0:e,(function(){r.css({transform:"",opacity:""}),c.isComplete||t.complete()}),!1))},isMoved:function(e){var t,c,r=e||this.current;return!!r&&(c=n.fancybox.getTranslate(this.$refs.stage),t=n.fancybox.getTranslate(r.$slide),!r.$slide.hasClass("fancybox-animated")&&(Math.abs(t.top-c.top)>.5||Math.abs(t.left-c.left)>.5))},updateCursor:function(e,t){var c,r,a=this,o=a.current,i=a.$refs.container;o&&!a.isClosing&&a.Guestures&&(i.removeClass("fancybox-is-zoomable fancybox-can-zoomIn fancybox-can-zoomOut fancybox-can-swipe fancybox-can-pan"),r=!!(c=a.canPan(e,t))||a.isZoomable(),i.toggleClass("fancybox-is-zoomable",r),n("[data-fancybox-zoom]").prop("disabled",!r),c?i.addClass("fancybox-can-pan"):r&&("zoom"===o.opts.clickContent||n.isFunction(o.opts.clickContent)&&"zoom"==o.opts.clickContent(o))?i.addClass("fancybox-can-zoomIn"):o.opts.touch&&(o.opts.touch.vertical||a.group.length>1)&&"video"!==o.contentType&&i.addClass("fancybox-can-swipe"))},isZoomable:function(){var e,t=this,n=t.current;if(n&&!t.isClosing&&"image"===n.type&&!n.hasError){if(!n.isLoaded)return!0;if((e=t.getFitPos(n))&&(n.width>e.width||n.height>e.height))return!0}return!1},isScaledDown:function(e,t){var c=!1,r=this.current,a=r.$content;return void 0!==e&&void 0!==t?c=e1.5||Math.abs(r.height-a.height)>1.5)),a},loadSlide:function(e){var t,c,r,a=this;if(!e.isLoading&&!e.isLoaded){if(e.isLoading=!0,!1===a.trigger("beforeLoad",e))return e.isLoading=!1,!1;switch(t=e.type,(c=e.$slide).off("refresh").trigger("onReset").addClass(e.opts.slideClass),t){case"image":a.setImage(e);break;case"iframe":a.setIframe(e);break;case"html":a.setContent(e,e.src||e.content);break;case"video":a.setContent(e,e.opts.video.tpl.replace(/\{\{src\}\}/gi,e.src).replace("{{format}}",e.opts.videoFormat||e.opts.video.format||"").replace("{{poster}}",e.thumb||""));break;case"inline":n(e.src).length?a.setContent(e,n(e.src)):a.setError(e);break;case"ajax":a.showLoading(e),r=n.ajax(n.extend({},e.opts.ajax.settings,{url:e.src,success:function(t,n){"success"===n&&a.setContent(e,t)},error:function(t,n){t&&"abort"!==n&&a.setError(e)}})),c.one("onReset",(function(){r.abort()}));break;default:a.setError(e)}return!0}},setImage:function(e){var c,r=this;setTimeout((function(){var t=e.$image;r.isClosing||!e.isLoading||t&&t.length&&t[0].complete||e.hasError||r.showLoading(e)}),50),r.checkSrcset(e),e.$content=n('
    ').addClass("fancybox-is-hidden").appendTo(e.$slide.addClass("fancybox-slide--image")),!1!==e.opts.preload&&e.opts.width&&e.opts.height&&e.thumb&&(e.width=e.opts.width,e.height=e.opts.height,(c=t.createElement("img")).onerror=function(){n(this).remove(),e.$ghost=null},c.onload=function(){r.afterLoad(e)},e.$ghost=n(c).addClass("fancybox-image").appendTo(e.$content).attr("src",e.thumb)),r.setBigImage(e)},checkSrcset:function(t){var n,c,r,a,o=t.opts.srcset||t.opts.image.srcset;if(o){r=e.devicePixelRatio||1,a=e.innerWidth*r,c=o.split(",").map((function(e){var t={};return e.trim().split(/\s+/).forEach((function(e,n){var c=parseInt(e.substring(0,e.length-1),10);if(0===n)return t.url=e;c&&(t.value=c,t.postfix=e[e.length-1])})),t})),c.sort((function(e,t){return e.value-t.value}));for(var i=0;i=a||"x"===s.postfix&&s.value>=r){n=s;break}}!n&&c.length&&(n=c[c.length-1]),n&&(t.src=n.url,t.width&&t.height&&"w"==n.postfix&&(t.height=t.width/t.height*n.value,t.width=n.value),t.opts.srcset=o)}},setBigImage:function(e){var c=this,r=t.createElement("img"),a=n(r);e.$image=a.one("error",(function(){c.setError(e)})).one("load",(function(){var t;e.$ghost||(c.resolveImageSlideSize(e,this.naturalWidth,this.naturalHeight),c.afterLoad(e)),c.isClosing||(e.opts.srcset&&((t=e.opts.sizes)&&"auto"!==t||(t=(e.width/e.height>1&&o.width()/o.height()>1?"100":Math.round(e.width/e.height*100))+"vw"),a.attr("sizes",t).attr("srcset",e.opts.srcset)),e.$ghost&&setTimeout((function(){e.$ghost&&!c.isClosing&&e.$ghost.hide()}),Math.min(300,Math.max(1e3,e.height/1600))),c.hideLoading(e))})).addClass("fancybox-image").attr("src",e.src).appendTo(e.$content),(r.complete||"complete"==r.readyState)&&a.naturalWidth&&a.naturalHeight?a.trigger("load"):r.error&&a.trigger("error")},resolveImageSlideSize:function(e,t,n){var c=parseInt(e.opts.width,10),r=parseInt(e.opts.height,10);e.width=t,e.height=n,c>0&&(e.width=c,e.height=Math.floor(c*n/t)),r>0&&(e.width=Math.floor(r*t/n),e.height=r)},setIframe:function(e){var t,c=this,r=e.opts.iframe,a=e.$slide;e.$content=n('
    ').css(r.css).appendTo(a),a.addClass("fancybox-slide--"+e.contentType),e.$iframe=t=n(r.tpl.replace(/\{rnd\}/g,(new Date).getTime())).attr(r.attr).appendTo(e.$content),r.preload?(c.showLoading(e),t.on("load.fb error.fb",(function(t){this.isReady=1,e.$slide.trigger("refresh"),c.afterLoad(e)})),a.on("refresh.fb",(function(){var n,c=e.$content,o=r.css.width,i=r.css.height;if(1===t[0].isReady){try{n=t.contents().find("body")}catch(e){}n&&n.length&&n.children().length&&(a.css("overflow","visible"),c.css({width:"100%","max-width":"100%",height:"9999px"}),void 0===o&&(o=Math.ceil(Math.max(n[0].clientWidth,n.outerWidth(!0)))),c.css("width",o||"").css("max-width",""),void 0===i&&(i=Math.ceil(Math.max(n[0].clientHeight,n.outerHeight(!0)))),c.css("height",i||""),a.css("overflow","auto")),c.removeClass("fancybox-is-hidden")}}))):c.afterLoad(e),t.attr("src",e.src),a.one("onReset",(function(){try{n(this).find("iframe").hide().unbind().attr("src","//about:blank")}catch(e){}n(this).off("refresh.fb").empty(),e.isLoaded=!1,e.isRevealed=!1}))},setContent:function(e,t){var c=this;c.isClosing||(c.hideLoading(e),e.$content&&n.fancybox.stop(e.$content),e.$slide.empty(),function(e){return e&&e.hasOwnProperty&&e instanceof n}(t)&&t.parent().length?((t.hasClass("fancybox-content")||t.parent().hasClass("fancybox-content"))&&t.parents(".fancybox-slide").trigger("onReset"),e.$placeholder=n("
    ").hide().insertAfter(t),t.css("display","inline-block")):e.hasError||("string"===n.type(t)&&(t=n("
    ").append(n.trim(t)).contents()),e.opts.filter&&(t=n("
    ").html(t).find(e.opts.filter))),e.$slide.one("onReset",(function(){n(this).find("video,audio").trigger("pause"),e.$placeholder&&(e.$placeholder.after(t.removeClass("fancybox-content").hide()).remove(),e.$placeholder=null),e.$smallBtn&&(e.$smallBtn.remove(),e.$smallBtn=null),e.hasError||(n(this).empty(),e.isLoaded=!1,e.isRevealed=!1)})),n(t).appendTo(e.$slide),n(t).is("video,audio")&&(n(t).addClass("fancybox-video"),n(t).wrap("
    "),e.contentType="video",e.opts.width=e.opts.width||n(t).attr("width"),e.opts.height=e.opts.height||n(t).attr("height")),e.$content=e.$slide.children().filter("div,form,main,video,audio,article,.fancybox-content").first(),e.$content.siblings().hide(),e.$content.length||(e.$content=e.$slide.wrapInner("
    ").children().first()),e.$content.addClass("fancybox-content"),e.$slide.addClass("fancybox-slide--"+e.contentType),c.afterLoad(e))},setError:function(e){e.hasError=!0,e.$slide.trigger("onReset").removeClass("fancybox-slide--"+e.contentType).addClass("fancybox-slide--error"),e.contentType="html",this.setContent(e,this.translate(e,e.opts.errorTpl)),e.pos===this.currPos&&(this.isAnimating=!1)},showLoading:function(e){var t=this;(e=e||t.current)&&!e.$spinner&&(e.$spinner=n(t.translate(t,t.opts.spinnerTpl)).appendTo(e.$slide).hide().fadeIn("fast"))},hideLoading:function(e){(e=e||this.current)&&e.$spinner&&(e.$spinner.stop().remove(),delete e.$spinner)},afterLoad:function(e){var t=this;t.isClosing||(e.isLoading=!1,e.isLoaded=!0,t.trigger("afterLoad",e),t.hideLoading(e),!e.opts.smallBtn||e.$smallBtn&&e.$smallBtn.length||(e.$smallBtn=n(t.translate(e,e.opts.btnTpl.smallBtn)).appendTo(e.$content)),e.opts.protect&&e.$content&&!e.hasError&&(e.$content.on("contextmenu.fb",(function(e){return 2==e.button&&e.preventDefault(),!0})),"image"===e.type&&n('
    ').appendTo(e.$content)),t.adjustCaption(e),t.adjustLayout(e),e.pos===t.currPos&&t.updateCursor(),t.revealContent(e))},adjustCaption:function(e){var t,n=this,c=e||n.current,r=c.opts.caption,a=c.opts.preventCaptionOverlap,o=n.$refs.caption,i=!1;o.toggleClass("fancybox-caption--separate",a),a&&r&&r.length&&(c.pos!==n.currPos?((t=o.clone().appendTo(o.parent())).children().eq(0).empty().html(r),i=t.outerHeight(!0),t.empty().remove()):n.$caption&&(i=n.$caption.outerHeight(!0)),c.$slide.css("padding-bottom",i||""))},adjustLayout:function(e){var t,n,c,r,a=e||this.current;a.isLoaded&&!0!==a.opts.disableLayoutFix&&(a.$content.css("margin-bottom",""),a.$content.outerHeight()>a.$slide.height()+.5&&(c=a.$slide[0].style["padding-bottom"],r=a.$slide.css("padding-bottom"),parseFloat(r)>0&&(t=a.$slide[0].scrollHeight,a.$slide.css("padding-bottom",0),Math.abs(t-a.$slide[0].scrollHeight)<1&&(n=r),a.$slide.css("padding-bottom",c))),a.$content.css("margin-bottom",n))},revealContent:function(e){var t,c,r,a,o=this,i=e.$slide,s=!1,l=!1,u=o.isMoved(e),f=e.isRevealed;return e.isRevealed=!0,t=e.opts[o.firstRun?"animationEffect":"transitionEffect"],r=e.opts[o.firstRun?"animationDuration":"transitionDuration"],r=parseInt(void 0===e.forcedDuration?r:e.forcedDuration,10),!u&&e.pos===o.currPos&&r||(t=!1),"zoom"===t&&(e.pos===o.currPos&&r&&"image"===e.type&&!e.hasError&&(l=o.getThumbPos(e))?s=o.getFitPos(e):t="fade"),"zoom"===t?(o.isAnimating=!0,s.scaleX=s.width/l.width,s.scaleY=s.height/l.height,"auto"==(a=e.opts.zoomOpacity)&&(a=Math.abs(e.width/e.height-l.width/l.height)>.1),a&&(l.opacity=.1,s.opacity=1),n.fancybox.setTranslate(e.$content.removeClass("fancybox-is-hidden"),l),d(e.$content),void n.fancybox.animate(e.$content,s,r,(function(){o.isAnimating=!1,o.complete()}))):(o.updateSlide(e),t?(n.fancybox.stop(i),c="fancybox-slide--"+(e.pos>=o.prevPos?"next":"previous")+" fancybox-animated fancybox-fx-"+t,i.addClass(c).removeClass("fancybox-slide--current"),e.$content.removeClass("fancybox-is-hidden"),d(i),"image"!==e.type&&e.$content.hide().show(0),void n.fancybox.animate(i,"fancybox-slide--current",r,(function(){i.removeClass(c).css({transform:"",opacity:""}),e.pos===o.currPos&&o.complete()}),!0)):(e.$content.removeClass("fancybox-is-hidden"),f||!u||"image"!==e.type||e.hasError||e.$content.hide().fadeIn("fast"),void(e.pos===o.currPos&&o.complete())))},getThumbPos:function(e){var t,c,r,a,o,i=!1,s=e.$thumb;return!(!s||!m(s[0]))&&(t=n.fancybox.getTranslate(s),c=parseFloat(s.css("border-top-width")||0),r=parseFloat(s.css("border-right-width")||0),a=parseFloat(s.css("border-bottom-width")||0),o=parseFloat(s.css("border-left-width")||0),i={top:t.top+c,left:t.left+o,width:t.width-r-o,height:t.height-c-a,scaleX:1,scaleY:1},t.width>0&&t.height>0&&i)},complete:function(){var e,t=this,c=t.current,r={};!t.isMoved()&&c.isLoaded&&(c.isComplete||(c.isComplete=!0,c.$slide.siblings().trigger("onReset"),t.preload("inline"),d(c.$slide),c.$slide.addClass("fancybox-slide--complete"),n.each(t.slides,(function(e,c){c.pos>=t.currPos-1&&c.pos<=t.currPos+1?r[c.pos]=c:c&&(n.fancybox.stop(c.$slide),c.$slide.off().remove())})),t.slides=r),t.isAnimating=!1,t.updateCursor(),t.trigger("afterShow"),c.opts.video.autoStart&&c.$slide.find("video,audio").filter(":visible:first").trigger("play").one("ended",(function(){Document.exitFullscreen?Document.exitFullscreen():this.webkitExitFullscreen&&this.webkitExitFullscreen(),t.next()})),c.opts.autoFocus&&"html"===c.contentType&&((e=c.$content.find("input[autofocus]:enabled:visible:first")).length?e.trigger("focus"):t.focus(null,!0)),c.$slide.scrollTop(0).scrollLeft(0))},preload:function(e){var t,n,c=this;c.group.length<2||(n=c.slides[c.currPos+1],(t=c.slides[c.currPos-1])&&t.type===e&&c.loadSlide(t),n&&n.type===e&&c.loadSlide(n))},focus:function(e,c){var r,a,o=this,i=["a[href]","area[href]",'input:not([disabled]):not([type="hidden"]):not([aria-hidden])',"select:not([disabled]):not([aria-hidden])","textarea:not([disabled]):not([aria-hidden])","button:not([disabled]):not([aria-hidden])","iframe","object","embed","video","audio","[contenteditable]",'[tabindex]:not([tabindex^="-"])'].join(",");o.isClosing||((r=(r=!e&&o.current&&o.current.isComplete?o.current.$slide.find("*:visible"+(c?":not(.fancybox-close-small)":"")):o.$refs.container.find("*:visible")).filter(i).filter((function(){return"hidden"!==n(this).css("visibility")&&!n(this).hasClass("disabled")}))).length?(a=r.index(t.activeElement),e&&e.shiftKey?(a<0||0==a)&&(e.preventDefault(),r.eq(r.length-1).trigger("focus")):(a<0||a==r.length-1)&&(e&&e.preventDefault(),r.eq(0).trigger("focus"))):o.$refs.container.trigger("focus"))},activate:function(){var e=this;n(".fancybox-container").each((function(){var t=n(this).data("FancyBox");t&&t.id!==e.id&&!t.isClosing&&(t.trigger("onDeactivate"),t.removeEvents(),t.isVisible=!1)})),e.isVisible=!0,(e.current||e.isIdle)&&(e.update(),e.updateControls()),e.trigger("onActivate"),e.addEvents()},close:function(e,t){var c,r,a,o,i,s,u,f=this,h=f.current,m=function(){f.cleanUp(e)};return!(f.isClosing||(f.isClosing=!0,!1===f.trigger("beforeClose",e)?(f.isClosing=!1,l((function(){f.update()})),1):(f.removeEvents(),a=h.$content,c=h.opts.animationEffect,r=n.isNumeric(t)?t:c?h.opts.animationDuration:0,h.$slide.removeClass("fancybox-slide--complete fancybox-slide--next fancybox-slide--previous fancybox-animated"),!0!==e?n.fancybox.stop(h.$slide):c=!1,h.$slide.siblings().trigger("onReset").remove(),r&&f.$refs.container.removeClass("fancybox-is-open").addClass("fancybox-is-closing").css("transition-duration",r+"ms"),f.hideLoading(h),f.hideControls(!0),f.updateCursor(),"zoom"!==c||a&&r&&"image"===h.type&&!f.isMoved()&&!h.hasError&&(u=f.getThumbPos(h))||(c="fade"),"zoom"===c?(n.fancybox.stop(a),o=n.fancybox.getTranslate(a),s={top:o.top,left:o.left,scaleX:o.width/u.width,scaleY:o.height/u.height,width:u.width,height:u.height},i=h.opts.zoomOpacity,"auto"==i&&(i=Math.abs(h.width/h.height-u.width/u.height)>.1),i&&(u.opacity=0),n.fancybox.setTranslate(a,s),d(a),n.fancybox.animate(a,u,r,m),0):(c&&r?n.fancybox.animate(h.$slide.addClass("fancybox-slide--previous").removeClass("fancybox-slide--current"),"fancybox-animated fancybox-fx-"+c,r,m):!0===e?setTimeout(m,r):m(),0))))},cleanUp:function(t){var c,r,a,o=this,i=o.current.opts.$orig;o.current.$slide.trigger("onReset"),o.$refs.container.empty().remove(),o.trigger("afterClose",t),o.current.opts.backFocus&&(i&&i.length&&i.is(":visible")||(i=o.$trigger),i&&i.length&&(r=e.scrollX,a=e.scrollY,i.trigger("focus"),n("html, body").scrollTop(a).scrollLeft(r))),o.current=null,(c=n.fancybox.getInstance())?c.activate():(n("body").removeClass("fancybox-active compensate-for-scrollbar"),n("#fancybox-style-noscroll").remove())},trigger:function(e,t){var c,r=Array.prototype.slice.call(arguments,1),a=this,o=t&&t.opts?t:a.current;if(o?r.unshift(o):o=a,r.unshift(a),n.isFunction(o.opts[e])&&(c=o.opts[e].apply(o,r)),!1===c)return c;"afterClose"!==e&&a.$refs?a.$refs.container.trigger(e+".fb",r):i.trigger(e+".fb",r)},updateControls:function(){var e=this,c=e.current,r=c.index,a=e.$refs.container,o=e.$refs.caption,i=c.opts.caption;c.$slide.trigger("refresh"),i&&i.length?(e.$caption=o,o.children().eq(0).html(i)):e.$caption=null,e.hasHiddenControls||e.isIdle||e.showControls(),a.find("[data-fancybox-count]").html(e.group.length),a.find("[data-fancybox-index]").html(r+1),a.find("[data-fancybox-prev]").prop("disabled",!c.opts.loop&&r<=0),a.find("[data-fancybox-next]").prop("disabled",!c.opts.loop&&r>=e.group.length-1),"image"===c.type?a.find("[data-fancybox-zoom]").show().end().find("[data-fancybox-download]").attr("href",c.opts.image.src||c.src).show():c.opts.toolbar&&a.find("[data-fancybox-download],[data-fancybox-zoom]").hide(),n(t.activeElement).is(":hidden,[disabled]")&&e.$refs.container.trigger("focus")},hideControls:function(e){var t=["infobar","toolbar","nav"];!e&&this.current.opts.preventCaptionOverlap||t.push("caption"),this.$refs.container.removeClass(t.map((function(e){return"fancybox-show-"+e})).join(" ")),this.hasHiddenControls=!0},showControls:function(){var e=this,t=e.current?e.current.opts:e.opts,n=e.$refs.container;e.hasHiddenControls=!1,e.idleSecondsCounter=0,n.toggleClass("fancybox-show-toolbar",!(!t.toolbar||!t.buttons)).toggleClass("fancybox-show-infobar",!!(t.infobar&&e.group.length>1)).toggleClass("fancybox-show-caption",!!e.$caption).toggleClass("fancybox-show-nav",!!(t.arrows&&e.group.length>1)).toggleClass("fancybox-is-modal",!!t.modal)},toggleControls:function(){this.hasHiddenControls?this.showControls():this.hideControls()}}),n.fancybox={version:"3.5.7",defaults:a,getInstance:function(e){var t=n('.fancybox-container:not(".fancybox-is-closing"):last').data("FancyBox"),c=Array.prototype.slice.call(arguments,1);return t instanceof p&&("string"===n.type(e)?t[e].apply(t,c):"function"===n.type(e)&&e.apply(t,c),t)},open:function(e,t,n){return new p(e,t,n)},close:function(e){var t=this.getInstance();t&&(t.close(),!0===e&&this.close(e))},destroy:function(){this.close(!0),i.add("body").off("click.fb-start","**")},isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),use3d:function(){var n=t.createElement("div");return e.getComputedStyle&&e.getComputedStyle(n)&&e.getComputedStyle(n).getPropertyValue("transform")&&!(t.documentMode&&t.documentMode<11)}(),getTranslate:function(e){var t;return!(!e||!e.length)&&{top:(t=e[0].getBoundingClientRect()).top||0,left:t.left||0,width:t.width,height:t.height,opacity:parseFloat(e.css("opacity"))}},setTranslate:function(e,t){var n="",c={};if(e&&t)return void 0===t.left&&void 0===t.top||(n=(void 0===t.left?e.position().left:t.left)+"px, "+(void 0===t.top?e.position().top:t.top)+"px",n=this.use3d?"translate3d("+n+", 0px)":"translate("+n+")"),void 0!==t.scaleX&&void 0!==t.scaleY?n+=" scale("+t.scaleX+", "+t.scaleY+")":void 0!==t.scaleX&&(n+=" scaleX("+t.scaleX+")"),n.length&&(c.transform=n),void 0!==t.opacity&&(c.opacity=t.opacity),void 0!==t.width&&(c.width=t.width),void 0!==t.height&&(c.height=t.height),e.css(c)},animate:function(e,t,c,r,a){var o,i=this;n.isFunction(c)&&(r=c,c=null),i.stop(e),o=i.getTranslate(e),e.on(f,(function(s){(!s||!s.originalEvent||e.is(s.originalEvent.target)&&"z-index"!=s.originalEvent.propertyName)&&(i.stop(e),n.isNumeric(c)&&e.css("transition-duration",""),n.isPlainObject(t)?void 0!==t.scaleX&&void 0!==t.scaleY&&i.setTranslate(e,{top:t.top,left:t.left,width:o.width*t.scaleX,height:o.height*t.scaleY,scaleX:1,scaleY:1}):!0!==a&&e.removeClass(t),n.isFunction(r)&&r(s))})),n.isNumeric(c)&&e.css("transition-duration",c+"ms"),n.isPlainObject(t)?(void 0!==t.scaleX&&void 0!==t.scaleY&&(delete t.width,delete t.height,e.parent().hasClass("fancybox-slide--image")&&e.parent().addClass("fancybox-is-scaling")),n.fancybox.setTranslate(e,t)):e.addClass(t),e.data("timer",setTimeout((function(){e.trigger(f)}),c+33))},stop:function(e,t){e&&e.length&&(clearTimeout(e.data("timer")),t&&e.trigger(f),e.off(f).css("transition-duration",""),e.parent().removeClass("fancybox-is-scaling"))}},n.fn.fancybox=function(e){var t;return(t=(e=e||{}).selector||!1)?n("body").off("click.fb-start",t).on("click.fb-start",t,{options:e},r):this.off("click.fb-start").on("click.fb-start",{items:this,options:e},r),this},i.on("click.fb-start","[data-fancybox]",r),i.on("click.fb-start","[data-fancybox-trigger]",(function(e){n('[data-fancybox="'+n(this).attr("data-fancybox-trigger")+'"]').eq(n(this).attr("data-fancybox-index")||0).trigger("click.fb-start",{$trigger:n(this)})})),function(){var e=null;i.on("mousedown mouseup focus blur",".fancybox-button",(function(t){switch(t.type){case"mousedown":e=n(this);break;case"mouseup":e=null;break;case"focusin":n(".fancybox-button").removeClass("fancybox-focus"),n(this).is(e)||n(this).is("[disabled]")||n(this).addClass("fancybox-focus");break;case"focusout":n(".fancybox-button").removeClass("fancybox-focus")}}))}()}}(window,document,jQuery),function(e){"use strict";var t={youtube:{matcher:/(youtube\.com|youtu\.be|youtube\-nocookie\.com)\/(watch\?(.*&)?v=|v\/|u\/|embed\/?)?(videoseries\?list=(.*)|[\w-]{11}|\?listType=(.*)&list=(.*))(.*)/i,params:{autoplay:1,autohide:1,fs:1,rel:0,hd:1,wmode:"transparent",enablejsapi:1,html5:1},paramPlace:8,type:"iframe",url:"https://www.youtube-nocookie.com/embed/$4",thumb:"https://img.youtube.com/vi/$4/hqdefault.jpg"},vimeo:{matcher:/^.+vimeo.com\/(.*\/)?([\d]+)(.*)?/,params:{autoplay:1,hd:1,show_title:1,show_byline:1,show_portrait:0,fullscreen:1},paramPlace:3,type:"iframe",url:"//player.vimeo.com/video/$2"},instagram:{matcher:/(instagr\.am|instagram\.com)\/p\/([a-zA-Z0-9_\-]+)\/?/i,type:"image",url:"//$1/p/$2/media/?size=l"},gmap_place:{matcher:/(maps\.)?google\.([a-z]{2,3}(\.[a-z]{2})?)\/(((maps\/(place\/(.*)\/)?\@(.*),(\d+.?\d+?)z))|(\?ll=))(.*)?/i,type:"iframe",url:function(e){return"//maps.google."+e[2]+"/?ll="+(e[9]?e[9]+"&z="+Math.floor(e[10])+(e[12]?e[12].replace(/^\//,"&"):""):e[12]+"").replace(/\?/,"&")+"&output="+(e[12]&&e[12].indexOf("layer=c")>0?"svembed":"embed")}},gmap_search:{matcher:/(maps\.)?google\.([a-z]{2,3}(\.[a-z]{2})?)\/(maps\/search\/)(.*)/i,type:"iframe",url:function(e){return"//maps.google."+e[2]+"/maps?q="+e[5].replace("query=","q=").replace("api=1","")+"&output=embed"}}},n=function(t,n,c){if(t)return c=c||"","object"===e.type(c)&&(c=e.param(c,!0)),e.each(n,(function(e,n){t=t.replace("$"+e,n||"")})),c.length&&(t+=(t.indexOf("?")>0?"&":"?")+c),t};e(document).on("objectNeedsType.fb",(function(c,r,a){var o,i,s,l,u,f,d,h=a.src||"",m=!1;o=e.extend(!0,{},t,a.opts.media),e.each(o,(function(t,c){if(s=h.match(c.matcher)){if(m=c.type,d=t,f={},c.paramPlace&&s[c.paramPlace]){"?"==(u=s[c.paramPlace])[0]&&(u=u.substring(1)),u=u.split("&");for(var r=0;r1&&("youtube"===n.contentSource||"vimeo"===n.contentSource)&&c.load(n.contentSource)}})}(jQuery),function(e,t,n){"use strict";var c=e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||e.oRequestAnimationFrame||function(t){return e.setTimeout(t,1e3/60)},r=e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.mozCancelAnimationFrame||e.oCancelAnimationFrame||function(t){e.clearTimeout(t)},a=function(t){var n=[];for(var c in t=(t=t.originalEvent||t||e.e).touches&&t.touches.length?t.touches:t.changedTouches&&t.changedTouches.length?t.changedTouches:[t])t[c].pageX?n.push({x:t[c].pageX,y:t[c].pageY}):t[c].clientX&&n.push({x:t[c].clientX,y:t[c].clientY});return n},o=function(e,t,n){return t&&e?"x"===n?e.x-t.x:"y"===n?e.y-t.y:Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2)):0},i=function(e){if(e.is('a,area,button,[role="button"],input,label,select,summary,textarea,video,audio,iframe')||n.isFunction(e.get(0).onclick)||e.data("selectable"))return!0;for(var t=0,c=e[0].attributes,r=c.length;tt.clientHeight,a=("scroll"===c||"auto"===c)&&t.scrollWidth>t.clientWidth;return r||a},l=function(e){for(var t=!1;!(t=s(e.get(0)))&&((e=e.parent()).length&&!e.hasClass("fancybox-stage")&&!e.is("body")););return t},u=function(e){var t=this;t.instance=e,t.$bg=e.$refs.bg,t.$stage=e.$refs.stage,t.$container=e.$refs.container,t.destroy(),t.$container.on("touchstart.fb.touch mousedown.fb.touch",n.proxy(t,"ontouchstart"))};u.prototype.destroy=function(){var e=this;e.$container.off(".fb.touch"),n(t).off(".fb.touch"),e.requestId&&(r(e.requestId),e.requestId=null),e.tapped&&(clearTimeout(e.tapped),e.tapped=null)},u.prototype.ontouchstart=function(c){var r=this,s=n(c.target),u=r.instance,f=u.current,d=f.$slide,h=f.$content,m="touchstart"==c.type;if(m&&r.$container.off("mousedown.fb.touch"),(!c.originalEvent||2!=c.originalEvent.button)&&d.length&&s.length&&!i(s)&&!i(s.parent())&&(s.is("img")||!(c.originalEvent.clientX>s[0].clientWidth+s.offset().left))){if(!f||u.isAnimating||f.$slide.hasClass("fancybox-animated"))return c.stopPropagation(),void c.preventDefault();r.realPoints=r.startPoints=a(c),r.startPoints.length&&(f.touch&&c.stopPropagation(),r.startEvent=c,r.canTap=!0,r.$target=s,r.$content=h,r.opts=f.opts.touch,r.isPanning=!1,r.isSwiping=!1,r.isZooming=!1,r.isScrolling=!1,r.canPan=u.canPan(),r.startTime=(new Date).getTime(),r.distanceX=r.distanceY=r.distance=0,r.canvasWidth=Math.round(d[0].clientWidth),r.canvasHeight=Math.round(d[0].clientHeight),r.contentLastPos=null,r.contentStartPos=n.fancybox.getTranslate(r.$content)||{top:0,left:0},r.sliderStartPos=n.fancybox.getTranslate(d),r.stagePos=n.fancybox.getTranslate(u.$refs.stage),r.sliderStartPos.top-=r.stagePos.top,r.sliderStartPos.left-=r.stagePos.left,r.contentStartPos.top-=r.stagePos.top,r.contentStartPos.left-=r.stagePos.left,n(t).off(".fb.touch").on(m?"touchend.fb.touch touchcancel.fb.touch":"mouseup.fb.touch mouseleave.fb.touch",n.proxy(r,"ontouchend")).on(m?"touchmove.fb.touch":"mousemove.fb.touch",n.proxy(r,"ontouchmove")),n.fancybox.isMobile&&t.addEventListener("scroll",r.onscroll,!0),((r.opts||r.canPan)&&(s.is(r.$stage)||r.$stage.find(s).length)||(s.is(".fancybox-image")&&c.preventDefault(),n.fancybox.isMobile&&s.parents(".fancybox-caption").length))&&(r.isScrollable=l(s)||l(s.parent()),n.fancybox.isMobile&&r.isScrollable||c.preventDefault(),(1===r.startPoints.length||f.hasError)&&(r.canPan?(n.fancybox.stop(r.$content),r.isPanning=!0):r.isSwiping=!0,r.$container.addClass("fancybox-is-grabbing")),2===r.startPoints.length&&"image"===f.type&&(f.isLoaded||f.$ghost)&&(r.canTap=!1,r.isSwiping=!1,r.isPanning=!1,r.isZooming=!0,n.fancybox.stop(r.$content),r.centerPointStartX=.5*(r.startPoints[0].x+r.startPoints[1].x)-n(e).scrollLeft(),r.centerPointStartY=.5*(r.startPoints[0].y+r.startPoints[1].y)-n(e).scrollTop(),r.percentageOfImageAtPinchPointX=(r.centerPointStartX-r.contentStartPos.left)/r.contentStartPos.width,r.percentageOfImageAtPinchPointY=(r.centerPointStartY-r.contentStartPos.top)/r.contentStartPos.height,r.startDistanceBetweenFingers=o(r.startPoints[0],r.startPoints[1]))))}},u.prototype.onscroll=function(e){this.isScrolling=!0,t.removeEventListener("scroll",this.onscroll,!0)},u.prototype.ontouchmove=function(e){var t=this;return void 0!==e.originalEvent.buttons&&0===e.originalEvent.buttons?void t.ontouchend(e):t.isScrolling?void(t.canTap=!1):(t.newPoints=a(e),void((t.opts||t.canPan)&&t.newPoints.length&&t.newPoints.length&&(t.isSwiping&&!0===t.isSwiping||e.preventDefault(),t.distanceX=o(t.newPoints[0],t.startPoints[0],"x"),t.distanceY=o(t.newPoints[0],t.startPoints[0],"y"),t.distance=o(t.newPoints[0],t.startPoints[0]),t.distance>0&&(t.isSwiping?t.onSwipe(e):t.isPanning?t.onPan():t.isZooming&&t.onZoom()))))},u.prototype.onSwipe=function(t){var a,o=this,i=o.instance,s=o.isSwiping,l=o.sliderStartPos.left||0;if(!0!==s)"x"==s&&(o.distanceX>0&&(o.instance.group.length<2||0===o.instance.current.index&&!o.instance.current.opts.loop)?l+=Math.pow(o.distanceX,.8):o.distanceX<0&&(o.instance.group.length<2||o.instance.current.index===o.instance.group.length-1&&!o.instance.current.opts.loop)?l-=Math.pow(-o.distanceX,.8):l+=o.distanceX),o.sliderLastPos={top:"x"==s?0:o.sliderStartPos.top+o.distanceY,left:l},o.requestId&&(r(o.requestId),o.requestId=null),o.requestId=c((function(){o.sliderLastPos&&(n.each(o.instance.slides,(function(e,t){var c=t.pos-o.instance.currPos;n.fancybox.setTranslate(t.$slide,{top:o.sliderLastPos.top,left:o.sliderLastPos.left+c*o.canvasWidth+c*t.opts.gutter})})),o.$container.addClass("fancybox-is-sliding"))}));else if(Math.abs(o.distance)>10){if(o.canTap=!1,i.group.length<2&&o.opts.vertical?o.isSwiping="y":i.isDragging||!1===o.opts.vertical||"auto"===o.opts.vertical&&n(e).width()>800?o.isSwiping="x":(a=Math.abs(180*Math.atan2(o.distanceY,o.distanceX)/Math.PI),o.isSwiping=a>45&&a<135?"y":"x"),"y"===o.isSwiping&&n.fancybox.isMobile&&o.isScrollable)return void(o.isScrolling=!0);i.isDragging=o.isSwiping,o.startPoints=o.newPoints,n.each(i.slides,(function(e,t){var c,r;n.fancybox.stop(t.$slide),c=n.fancybox.getTranslate(t.$slide),r=n.fancybox.getTranslate(i.$refs.stage),t.$slide.css({transform:"",opacity:"","transition-duration":""}).removeClass("fancybox-animated").removeClass((function(e,t){return(t.match(/(^|\s)fancybox-fx-\S+/g)||[]).join(" ")})),t.pos===i.current.pos&&(o.sliderStartPos.top=c.top-r.top,o.sliderStartPos.left=c.left-r.left),n.fancybox.setTranslate(t.$slide,{top:c.top-r.top,left:c.left-r.left})})),i.SlideShow&&i.SlideShow.isActive&&i.SlideShow.stop()}},u.prototype.onPan=function(){var e=this;o(e.newPoints[0],e.realPoints[0])<(n.fancybox.isMobile?10:5)?e.startPoints=e.newPoints:(e.canTap=!1,e.contentLastPos=e.limitMovement(),e.requestId&&r(e.requestId),e.requestId=c((function(){n.fancybox.setTranslate(e.$content,e.contentLastPos)})))},u.prototype.limitMovement=function(){var e,t,n,c,r,a,o=this,i=o.canvasWidth,s=o.canvasHeight,l=o.distanceX,u=o.distanceY,f=o.contentStartPos,d=f.left,h=f.top,m=f.width,p=f.height;return r=m>i?d+l:d,a=h+u,e=Math.max(0,.5*i-.5*m),t=Math.max(0,.5*s-.5*p),n=Math.min(i-m,.5*i-.5*m),c=Math.min(s-p,.5*s-.5*p),l>0&&r>e&&(r=e-1+Math.pow(-e+d+l,.8)||0),l<0&&r0&&a>t&&(a=t-1+Math.pow(-t+h+u,.8)||0),u<0&&ar?e=(e=e>0?0:e)a?t=(t=t>0?0:t)1&&(c.dMs>130&&o>10||o>50);c.sliderLastPos=null,"y"==e&&!t&&Math.abs(c.distanceY)>50?(n.fancybox.animate(c.instance.current.$slide,{top:c.sliderStartPos.top+c.distanceY+150*c.velocityY,opacity:0},200),r=c.instance.close(!0,250)):i&&c.distanceX>0?r=c.instance.previous(300):i&&c.distanceX<0&&(r=c.instance.next(300)),!1!==r||"x"!=e&&"y"!=e||c.instance.centerSlide(200),c.$container.removeClass("fancybox-is-sliding")},u.prototype.endPanning=function(){var e,t,c,r=this;r.contentLastPos&&(!1===r.opts.momentum||r.dMs>350?(e=r.contentLastPos.left,t=r.contentLastPos.top):(e=r.contentLastPos.left+500*r.velocityX,t=r.contentLastPos.top+500*r.velocityY),(c=r.limitPosition(e,t,r.contentStartPos.width,r.contentStartPos.height)).width=r.contentStartPos.width,c.height=r.contentStartPos.height,n.fancybox.animate(r.$content,c,366))},u.prototype.endZooming=function(){var e,t,c,r,a=this,o=a.instance.current,i=a.newWidth,s=a.newHeight;a.contentLastPos&&(e=a.contentLastPos.left,r={top:t=a.contentLastPos.top,left:e,width:i,height:s,scaleX:1,scaleY:1},n.fancybox.setTranslate(a.$content,r),io.width||s>o.height?a.instance.scaleToActual(a.centerPointStartX,a.centerPointStartY,150):(c=a.limitPosition(e,t,i,s),n.fancybox.animate(a.$content,c,150)))},u.prototype.onTap=function(t){var c,r=this,o=n(t.target),i=r.instance,s=i.current,l=t&&a(t)||r.startPoints,u=l[0]?l[0].x-n(e).scrollLeft()-r.stagePos.left:0,f=l[0]?l[0].y-n(e).scrollTop()-r.stagePos.top:0,d=function(e){var c=s.opts[e];if(n.isFunction(c)&&(c=c.apply(i,[s,t])),c)switch(c){case"close":i.close(r.startEvent);break;case"toggleControls":i.toggleControls();break;case"next":i.next();break;case"nextOrClose":i.group.length>1?i.next():i.close(r.startEvent);break;case"zoom":"image"==s.type&&(s.isLoaded||s.$ghost)&&(i.canPan()?i.scaleToFit():i.isScaledDown()?i.scaleToActual(u,f):i.group.length<2&&i.close(r.startEvent))}};if((!t.originalEvent||2!=t.originalEvent.button)&&(o.is("img")||!(u>o[0].clientWidth+o.offset().left))){if(o.is(".fancybox-bg,.fancybox-inner,.fancybox-outer,.fancybox-container"))c="Outside";else if(o.is(".fancybox-slide"))c="Slide";else{if(!i.current.$content||!i.current.$content.find(o).addBack().filter(o).length)return;c="Content"}if(r.tapped){if(clearTimeout(r.tapped),r.tapped=null,Math.abs(u-r.tapX)>50||Math.abs(f-r.tapY)>50)return this;d("dblclick"+c)}else r.tapX=u,r.tapY=f,s.opts["dblclick"+c]&&s.opts["dblclick"+c]!==s.opts["click"+c]?r.tapped=setTimeout((function(){r.tapped=null,i.isAnimating||d("click"+c)}),500):d("click"+c);return this}},n(t).on("onActivate.fb",(function(e,t){t&&!t.Guestures&&(t.Guestures=new u(t))})).on("beforeClose.fb",(function(e,t){t&&t.Guestures&&t.Guestures.destroy()}))}(window,document,jQuery),function(e,t){"use strict";t.extend(!0,t.fancybox.defaults,{btnTpl:{slideShow:''},slideShow:{autoStart:!1,speed:3e3,progress:!0}});var n=function(e){this.instance=e,this.init()};t.extend(n.prototype,{timer:null,isActive:!1,$button:null,init:function(){var e=this,n=e.instance,c=n.group[n.currIndex].opts.slideShow;e.$button=n.$refs.toolbar.find("[data-fancybox-play]").on("click",(function(){e.toggle()})),n.group.length<2||!c?e.$button.hide():c.progress&&(e.$progress=t('
    ').appendTo(n.$refs.inner))},set:function(e){var n=this,c=n.instance,r=c.current;r&&(!0===e||r.opts.loop||c.currIndex'},fullScreen:{autoStart:!1}}),t(e).on(n.fullscreenchange,(function(){var e=c.isFullscreen(),n=t.fancybox.getInstance();n&&(n.current&&"image"===n.current.type&&n.isAnimating&&(n.isAnimating=!1,n.update(!0,!0,0),n.isComplete||n.complete()),n.trigger("onFullscreenChange",e),n.$refs.container.toggleClass("fancybox-is-fullscreen",e),n.$refs.toolbar.find("[data-fancybox-fullscreen]").toggleClass("fancybox-button--fsenter",!e).toggleClass("fancybox-button--fsexit",e))}))}t(e).on({"onInit.fb":function(e,t){n?t&&t.group[t.currIndex].opts.fullScreen?(t.$refs.container.on("click.fb-fullscreen","[data-fancybox-fullscreen]",(function(e){e.stopPropagation(),e.preventDefault(),c.toggle()})),t.opts.fullScreen&&!0===t.opts.fullScreen.autoStart&&c.request(),t.FullScreen=c):t&&t.$refs.toolbar.find("[data-fancybox-fullscreen]").hide():t.$refs.toolbar.find("[data-fancybox-fullscreen]").remove()},"afterKeydown.fb":function(e,t,n,c,r){t&&t.FullScreen&&70===r&&(c.preventDefault(),t.FullScreen.toggle())},"beforeClose.fb":function(e,t){t&&t.FullScreen&&t.$refs.container.hasClass("fancybox-is-fullscreen")&&c.exit()}})}(document,jQuery),function(e,t){"use strict";var n="fancybox-thumbs";t.fancybox.defaults=t.extend(!0,{btnTpl:{thumbs:''},thumbs:{autoStart:!1,hideOnClose:!0,parentEl:".fancybox-container",axis:"y"}},t.fancybox.defaults);var c=function(e){this.init(e)};t.extend(c.prototype,{$button:null,$grid:null,$list:null,isVisible:!1,isActive:!1,init:function(e){var t=this,n=e.group,c=0;t.instance=e,t.opts=n[e.currIndex].opts.thumbs,e.Thumbs=t,t.$button=e.$refs.toolbar.find("[data-fancybox-thumbs]");for(var r=0,a=n.length;r1));r++);c>1&&t.opts?(t.$button.removeAttr("style").on("click",(function(){t.toggle()})),t.isActive=!0):t.$button.hide()},create:function(){var e,c=this,r=c.instance,a=c.opts.parentEl,o=[];c.$grid||(c.$grid=t('
    ').appendTo(r.$refs.container.find(a).addBack().filter(a)),c.$grid.on("click","a",(function(){r.jumpTo(t(this).attr("data-index"))}))),c.$list||(c.$list=t('
    ').appendTo(c.$grid)),t.each(r.group,(function(t,n){(e=n.thumb)||"image"!==n.type||(e=n.src),o.push('")})),c.$list[0].innerHTML=o.join(""),"x"===c.opts.axis&&c.$list.width(parseInt(c.$grid.css("padding-right"),10)+r.group.length*c.$list.children().eq(0).outerWidth(!0))},focus:function(e){var t,n,c=this,r=c.$list,a=c.$grid;c.instance.current&&(n=(t=r.children().removeClass("fancybox-thumbs-active").filter('[data-index="'+c.instance.current.index+'"]').addClass("fancybox-thumbs-active")).position(),"y"===c.opts.axis&&(n.top<0||n.top>r.height()-t.outerHeight())?r.stop().animate({scrollTop:r.scrollTop()+n.top},e):"x"===c.opts.axis&&(n.lefta.scrollLeft()+(a.width()-t.outerWidth()))&&r.parent().stop().animate({scrollLeft:n.left},e))},update:function(){var e=this;e.instance.$refs.container.toggleClass("fancybox-show-thumbs",this.isVisible),e.isVisible?(e.$grid||e.create(),e.instance.trigger("onThumbsShow"),e.focus(0)):e.$grid&&e.instance.trigger("onThumbsHide"),e.instance.update()},hide:function(){this.isVisible=!1,this.update()},show:function(){this.isVisible=!0,this.update()},toggle:function(){this.isVisible=!this.isVisible,this.update()}}),t(e).on({"onInit.fb":function(e,t){var n;t&&!t.Thumbs&&((n=new c(t)).isActive&&!0===n.opts.autoStart&&n.show())},"beforeShow.fb":function(e,t,n,c){var r=t&&t.Thumbs;r&&r.isVisible&&r.focus(c?0:250)},"afterKeydown.fb":function(e,t,n,c,r){var a=t&&t.Thumbs;a&&a.isActive&&71===r&&(c.preventDefault(),a.toggle())},"beforeClose.fb":function(e,t){var n=t&&t.Thumbs;n&&n.isVisible&&!1!==n.opts.hideOnClose&&n.$grid.hide()}})}(document,jQuery),function(e,t){"use strict";t.extend(!0,t.fancybox.defaults,{btnTpl:{share:''},share:{url:function(e,t){return!e.currentHash&&"inline"!==t.type&&"html"!==t.type&&(t.origSrc||t.src)||window.location},tpl:''}}),t(e).on("click","[data-fancybox-share]",(function(){var e,n,c=t.fancybox.getInstance(),r=c.current||null;r&&("function"===t.type(r.opts.share.url)&&(e=r.opts.share.url.apply(r,[c,r])),n=r.opts.share.tpl.replace(/\{\{media\}\}/g,"image"===r.type?encodeURIComponent(r.src):"").replace(/\{\{url\}\}/g,encodeURIComponent(e)).replace(/\{\{url_raw\}\}/g,function(e){var t={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`","=":"="};return String(e).replace(/[&<>"'`=\/]/g,(function(e){return t[e]}))}(e)).replace(/\{\{descr\}\}/g,c.$caption?encodeURIComponent(c.$caption.text()):""),t.fancybox.open({src:c.translate(c,n),type:"html",opts:{touch:!1,animationEffect:!1,afterLoad:function(e,t){c.$refs.container.one("beforeClose.fb",(function(){e.close(null,0)})),t.$content.find(".fancybox-share__button").click((function(){return window.open(this.href,"Share","width=550, height=450"),!1}))},mobile:{autoFocus:!1}}}))}))}(document,jQuery),function(e,t,n){"use strict";function c(){var t=e.location.hash.substr(1),n=t.split("-"),c=n.length>1&&/^\+?\d+$/.test(n[n.length-1])&&parseInt(n.pop(-1),10)||1;return{hash:t,index:c<1?1:c,gallery:n.join("-")}}function r(e){""!==e.gallery&&n("[data-fancybox='"+n.escapeSelector(e.gallery)+"']").eq(e.index-1).focus().trigger("click.fb-start")}function a(e){var t,n;return!!e&&(""!==(n=(t=e.current?e.current.opts:e.opts).hash||(t.$orig?t.$orig.data("fancybox")||t.$orig.data("fancybox-trigger"):""))&&n)}n.escapeSelector||(n.escapeSelector=function(e){return(e+"").replace(/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,(function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}))}),n((function(){!1!==n.fancybox.defaults.hash&&(n(t).on({"onInit.fb":function(e,t){var n,r;!1!==t.group[t.currIndex].opts.hash&&(n=c(),(r=a(t))&&n.gallery&&r==n.gallery&&(t.currIndex=n.index-1))},"beforeShow.fb":function(n,c,r,o){var i;r&&!1!==r.opts.hash&&(i=a(c))&&(c.currentHash=i+(c.group.length>1?"-"+(r.index+1):""),e.location.hash!=="#"+c.currentHash&&(o&&!c.origHash&&(c.origHash=e.location.hash),c.hashTimer&&clearTimeout(c.hashTimer),c.hashTimer=setTimeout((function(){"replaceState"in e.history?(e.history[o?"pushState":"replaceState"]({},t.title,e.location.pathname+e.location.search+"#"+c.currentHash),o&&(c.hasCreatedHistory=!0)):e.location.hash=c.currentHash,c.hashTimer=null}),300)))},"beforeClose.fb":function(n,c,r){r&&!1!==r.opts.hash&&(clearTimeout(c.hashTimer),c.currentHash&&c.hasCreatedHistory?e.history.back():c.currentHash&&("replaceState"in e.history?e.history.replaceState({},t.title,e.location.pathname+e.location.search+(c.origHash||"")):e.location.hash=c.origHash),c.currentHash=null)}}),n(e).on("hashchange.fb",(function(){var e=c(),t=null;n.each(n(".fancybox-container").get().reverse(),(function(e,c){var r=n(c).data("FancyBox");if(r&&r.currentHash)return t=r,!1})),t?t.currentHash===e.gallery+"-"+e.index||1===e.index&&t.currentHash==e.gallery||(t.currentHash=null,t.close()):""!==e.gallery&&r(e)})),setTimeout((function(){n.fancybox.getInstance()||r(c())}),50))}))}(window,document,jQuery),function(e,t){"use strict";var n=(new Date).getTime();t(e).on({"onInit.fb":function(e,t,c){t.$refs.stage.on("mousewheel DOMMouseScroll wheel MozMousePixelScroll",(function(e){var c=t.current,r=(new Date).getTime();t.group.length<2||!1===c.opts.wheel||"auto"===c.opts.wheel&&"image"!==c.type||(e.preventDefault(),e.stopPropagation(),c.$slide.hasClass("fancybox-animated")||(e=e.originalEvent||e,r-n<250||(n=r,t[(-e.deltaY||-e.deltaX||e.wheelDelta||-e.detail)<0?"next":"previous"]())))}))}})}(document,jQuery),function(e){"function"==typeof define&&define.amd?define(["jquery"],(function(t){return e(t,window,document)})):"object"==typeof exports?module.exports=function(t,n){return t||(t=window),n||(n="undefined"!=typeof window?require("jquery"):require("jquery")(t)),e(n,t,t.document)}:e(jQuery,window,document)}((function(e,t,n,c){function r(t){var n,c,a={};e.each(t,(function(e){(n=e.match(/^([^A-Z]+?)([A-Z])/))&&-1!=="a aa ai ao as b fn i m o s ".indexOf(n[1]+" ")&&(c=e.replace(n[0],n[2].toLowerCase()),a[c]=e,"o"===n[1]&&r(t[e]))})),t._hungarianMap=a}function a(t,n,o){var i;t._hungarianMap||r(t),e.each(n,(function(r){(i=t._hungarianMap[r])===c||!o&&n[i]!==c||("o"===i.charAt(0)?(n[i]||(n[i]={}),e.extend(!0,n[i],n[r]),a(t[i],n[i],o)):n[i]=n[r])}))}function o(e){var t=We.defaults.oLanguage,n=t.sDecimal;if(n&&Be(n),e){var c=e.sZeroRecords;!e.sEmptyTable&&c&&"No data available in table"===t.sEmptyTable&&Ae(e,e,"sZeroRecords","sEmptyTable"),!e.sLoadingRecords&&c&&"Loading..."===t.sLoadingRecords&&Ae(e,e,"sZeroRecords","sLoadingRecords"),e.sInfoThousands&&(e.sThousands=e.sInfoThousands),(e=e.sDecimal)&&n!==e&&Be(e)}}function i(e){if(lt(e,"ordering","bSort"),lt(e,"orderMulti","bSortMulti"),lt(e,"orderClasses","bSortClasses"),lt(e,"orderCellsTop","bSortCellsTop"),lt(e,"order","aaSorting"),lt(e,"orderFixed","aaSortingFixed"),lt(e,"paging","bPaginate"),lt(e,"pagingType","sPaginationType"),lt(e,"pageLength","iDisplayLength"),lt(e,"searching","bFilter"),"boolean"==typeof e.sScrollX&&(e.sScrollX=e.sScrollX?"100%":""),"boolean"==typeof e.scrollX&&(e.scrollX=e.scrollX?"100%":""),e=e.aoSearchCols)for(var t=0,n=e.length;t").css({position:"fixed",top:0,left:-1*e(t).scrollLeft(),height:1,width:1,overflow:"hidden"}).append(e("
    ").css({position:"absolute",top:1,left:1,width:100,overflow:"scroll"}).append(e("
    ").css({width:"100%",height:10}))).appendTo("body"),a=r.children(),o=a.children();c.barWidth=a[0].offsetWidth-a[0].clientWidth,c.bScrollOversize=100===o[0].offsetWidth&&100!==a[0].clientWidth,c.bScrollbarLeft=1!==Math.round(o.offset().left),c.bBounding=!!r[0].getBoundingClientRect().width,r.remove()}e.extend(n.oBrowser,We.__browser),n.oScroll.iBarWidth=We.__browser.barWidth}function u(e,t,n,r,a,o){var i,s=!1;for(n!==c&&(i=n,s=!0);r!==a;)e.hasOwnProperty(r)&&(i=s?t(i,e[r],r,e):e[r],s=!0,r+=o);return i}function f(t,c){var r=We.defaults.column,a=t.aoColumns.length;r=e.extend({},We.models.oColumn,r,{nTh:c||n.createElement("th"),sTitle:r.sTitle?r.sTitle:c?c.innerHTML:"",aDataSort:r.aDataSort?r.aDataSort:[a],mData:r.mData?r.mData:a,idx:a});t.aoColumns.push(r),(r=t.aoPreSearchCols)[a]=e.extend({},We.models.oSearch,r[a]),d(t,a,e(c).data())}function d(t,n,r){n=t.aoColumns[n];var o=t.oClasses,i=e(n.nTh);if(!n.sWidthOrig){n.sWidthOrig=i.attr("width")||null;var l=(i.attr("style")||"").match(/width:\s*(\d+[pxem%]+)/);l&&(n.sWidthOrig=l[1])}r!==c&&null!==r&&(s(r),a(We.defaults.column,r),r.mDataProp!==c&&!r.mData&&(r.mData=r.mDataProp),r.sType&&(n._sManualType=r.sType),r.className&&!r.sClass&&(r.sClass=r.className),r.sClass&&i.addClass(r.sClass),e.extend(n,r),Ae(n,r,"sWidth","sWidthOrig"),r.iDataSort!==c&&(n.aDataSort=[r.iDataSort]),Ae(n,r,"aDataSort"));var u=n.mData,f=L(u),d=n.mRender?L(n.mRender):null;r=function(e){return"string"==typeof e&&-1!==e.indexOf("@")};n._bAttrSrc=e.isPlainObject(u)&&(r(u.sort)||r(u.type)||r(u.filter)),n._setter=null,n.fnGetData=function(e,t,n){var r=f(e,t,c,n);return d&&t?d(r,t,e,n):r},n.fnSetData=function(e,t,n){return w(u)(e,t,n)},"number"!=typeof u&&(t._rowReadObject=!0),t.oFeatures.bSort||(n.bSortable=!1,i.addClass(o.sSortableNone)),t=-1!==e.inArray("asc",n.asSorting),r=-1!==e.inArray("desc",n.asSorting),n.bSortable&&(t||r)?t&&!r?(n.sSortingClass=o.sSortableAsc,n.sSortingClassJUI=o.sSortJUIAscAllowed):!t&&r?(n.sSortingClass=o.sSortableDesc,n.sSortingClassJUI=o.sSortJUIDescAllowed):(n.sSortingClass=o.sSortable,n.sSortingClassJUI=o.sSortJUI):(n.sSortingClass=o.sSortableNone,n.sSortingClassJUI="")}function h(e){if(!1!==e.oFeatures.bAutoWidth){var t=e.aoColumns;pe(e);for(var n=0,c=t.length;nm[i])a(h.length+m[i],d);else if("string"==typeof m[i])for(l=0,u=h.length;lt&&e[a]--;-1!=r&&n===c&&e.splice(r,1)}function S(e,t,n,r){var a,o=e.aoData[t],i=function(n,c){for(;n.childNodes.length;)n.removeChild(n.firstChild);n.innerHTML=H(e,t,c,"display")};if("dom"!==n&&(n&&"auto"!==n||"dom"!==o.src)){var s=o.anCells;if(s)if(r!==c)i(s[r],r);else for(n=0,a=s.length;n").appendTo(i)),n=0,c=f.length;ntr").attr("role","row"),e(i).find(">tr>th, >tr>td").addClass(u.sHeaderTH),e(s).find(">tr>th, >tr>td").addClass(u.sFooterTH),null!==s)for(n=0,c=(t=t.aoFooter[0]).length;n=t.fnRecordsDisplay()?0:s,t.iInitDisplayStart=-1);s=t._iDisplayStart;var f=t.fnDisplayEnd();if(t.bDeferLoading)t.bDeferLoading=!1,t.iDraw++,fe(t,!1);else if(l){if(!t.bDestroying&&!$(t))return}else t.iDraw++;if(0!==u.length)for(i=l?t.aoData.length:f,l=l?0:s;l",{class:o?a[0]:""}).append(e("",{valign:"top",colSpan:g(t),class:t.oClasses.sRowEmpty}).html(r))[0];Ne(t,"aoHeaderCallback","header",[e(t.nTHead).children("tr")[0],_(t),s,f,u]),Ne(t,"aoFooterCallback","footer",[e(t.nTFoot).children("tr")[0],_(t),s,f,u]),(a=e(t.nTBody)).children().detach(),a.append(e(n)),Ne(t,"aoDrawCallback","draw",[t]),t.bSorted=!1,t.bFiltered=!1,t.bDrawing=!1}}function P(e,t){var n=e.oFeatures,c=n.bFilter;n.bSort&&Ce(e),c?Y(e,e.oPreviousSearch):e.aiDisplay=e.aiDisplayMaster.slice(),!0!==t&&(e._iDisplayStart=0),e._drawHold=t,O(e),e._drawHold=!1}function R(t){var n=t.oClasses,c=e(t.nTable),r=(c=e("
    ").insertBefore(c),t.oFeatures),a=e("
    ",{id:t.sTableId+"_wrapper",class:n.sWrapper+(t.nTFoot?"":" "+n.sNoFooter)});t.nHolding=c[0],t.nTableWrapper=a[0],t.nTableReinsertBefore=t.nTable.nextSibling;for(var o,i,s,l,u,f,d=t.sDom.split(""),h=0;h")[0],"'"==(l=d[h+1])||'"'==l){for(u="",f=2;d[h+f]!=l;)u+=d[h+f],f++;"H"==u?u=n.sJUIHeader:"F"==u&&(u=n.sJUIFooter),-1!=u.indexOf(".")?(l=u.split("."),s.id=l[0].substr(1,l[0].length-1),s.className=l[1]):"#"==u.charAt(0)?s.id=u.substr(1,u.length-1):s.className=u,h+=f}a.append(s),a=e(s)}else if(">"==i)a=a.parent();else if("l"==i&&r.bPaginate&&r.bLengthChange)o=ie(t);else if("f"==i&&r.bFilter)o=W(t);else if("r"==i&&r.bProcessing)o=ue(t);else if("t"==i)o=de(t);else if("i"==i&&r.bInfo)o=te(t);else if("p"==i&&r.bPaginate)o=se(t);else if(0!==We.ext.feature.length)for(f=0,l=(s=We.ext.feature).length;f',l=(l=a.sSearch).match(/_INPUT_/)?l.replace("_INPUT_",s):l+s,u=(c=e("
    ",{id:i.f?null:r+"_filter",class:c.sFilter}).append(e("
    ").addClass(n.sLength);return t.aanFeatures.l||(l[0].id=c+"_length"),l.children().append(t.oLanguage.sLengthMenu.replace("_MENU_",o[0].outerHTML)),e("select",l).val(t._iDisplayLength).on("change.DT",(function(){oe(t,e(this).val()),O(t)})),e(t.nTable).on("length.dt.DT",(function(n,c,r){t===c&&e("select",l).val(r)})),l[0]}function se(t){var n=t.sPaginationType,c=We.ext.pager[n],r="function"==typeof c,a=function(e){O(e)},o=(n=e("
    ").addClass(t.oClasses.sPaging+n)[0],t.aanFeatures);return r||c.fnInit(t,n,a),o.p||(n.id=t.sTableId+"_paginate",t.aoDrawCallback.push({fn:function(e){if(r){var t,n=e._iDisplayStart,i=e._iDisplayLength,s=e.fnRecordsDisplay(),l=(n=(l=-1===i)?0:Math.ceil(n/i),i=l?1:Math.ceil(s/i),s=c(n,i),0);for(t=o.p.length;la&&(c=0):"first"==t?c=0:"previous"==t?0>(c=0<=r?c-r:0)&&(c=0):"next"==t?c+r",{id:t.aanFeatures.r?null:t.sTableId+"_processing",class:t.oClasses.sProcessing}).html(t.oLanguage.sProcessing).insertBefore(t.nTable)[0]}function fe(t,n){t.oFeatures.bProcessing&&e(t.aanFeatures.r).css("display",n?"block":"none"),Ne(t,null,"processing",[t,n])}function de(t){(f=e(t.nTable)).attr("role","grid");var n=t.oScroll;if(""===n.sX&&""===n.sY)return t.nTable;var c=n.sX,r=n.sY,a=t.oClasses,o=f.children("caption"),i=o.length?o[0]._captionSide:null,s=e(f[0].cloneNode(!1)),l=e(f[0].cloneNode(!1)),u=f.children("tfoot");u.length||(u=null),s=e("
    ",{class:a.sScrollWrapper}).append(e("
    ",{class:a.sScrollHead}).css({overflow:"hidden",position:"relative",border:0,width:c?c?ze(c):null:"100%"}).append(e("
    ",{class:a.sScrollHeadInner}).css({"box-sizing":"content-box",width:n.sXInner||"100%"}).append(s.removeAttr("id").css("margin-left",0).append("top"===i?o:null).append(f.children("thead"))))).append(e("
    ",{class:a.sScrollBody}).css({position:"relative",overflow:"auto",width:c?ze(c):null}).append(f)),u&&s.append(e("
    ",{class:a.sScrollFoot}).css({overflow:"hidden",border:0,width:c?c?ze(c):null:"100%"}).append(e("
    ",{class:a.sScrollFootInner}).append(l.removeAttr("id").css("margin-left",0).append("bottom"===i?o:null).append(f.children("tfoot")))));var f,d=(f=s.children())[0],h=(a=f[1],u?f[2]:null);return c&&e(a).on("scroll.DT",(function(){var e=this.scrollLeft;d.scrollLeft=e,u&&(h.scrollLeft=e)})),e(a).css(r&&n.bCollapse?"max-height":"height",r),t.nScrollHead=d,t.nScrollBody=a,t.nScrollFoot=h,t.aoDrawCallback.push({fn:he,sName:"scrolling"}),s[0]}function he(t){var n,r,a,o,i,s=(f=t.oScroll).sX,l=f.sXInner,u=f.sY,f=f.iBarWidth,d=e(t.nScrollHead),p=d[0].style,g=(b=d.children("div"))[0].style,v=b.children("table"),b=t.nScrollBody,z=e(b),y=b.style,C=e(t.nScrollFoot).children("div"),H=C.children("table"),M=e(t.nTHead),V=e(t.nTable),L=V[0],w=L.style,_=t.nTFoot?e(t.nTFoot):null,x=t.oBrowser,k=x.bScrollOversize,S=rt(t.aoColumns,"nTh"),A=[],T=[],D=[],E=[],N=function(e){(e=e.style).paddingTop="0",e.paddingBottom="0",e.borderTopWidth="0",e.borderBottomWidth="0",e.height=0};r=b.scrollHeight>b.clientHeight,t.scrollBarVis!==r&&t.scrollBarVis!==c?(t.scrollBarVis=r,h(t)):(t.scrollBarVis=r,V.children("thead, tfoot").remove(),_&&(a=_.clone().prependTo(V),n=_.find("tr"),a=a.find("tr")),o=M.clone().prependTo(V),M=M.find("tr"),r=o.find("tr"),o.find("th, td").removeAttr("tabindex"),s||(y.width="100%",d[0].style.width="100%"),e.each(B(t,o),(function(e,n){i=m(t,e),n.style.width=t.aoColumns[i].sWidth})),_&&me((function(e){e.style.width=""}),a),d=V.outerWidth(),""===s?(w.width="100%",k&&(V.find("tbody").height()>b.offsetHeight||"scroll"==z.css("overflow-y"))&&(w.width=ze(V.outerWidth()-f)),d=V.outerWidth()):""!==l&&(w.width=ze(l),d=V.outerWidth()),me(N,r),me((function(t){D.push(t.innerHTML),A.push(ze(e(t).css("width")))}),r),me((function(t,n){-1!==e.inArray(t,S)&&(t.style.width=A[n])}),M),e(r).height(0),_&&(me(N,a),me((function(t){E.push(t.innerHTML),T.push(ze(e(t).css("width")))}),a),me((function(e,t){e.style.width=T[t]}),n),e(a).height(0)),me((function(e,t){e.innerHTML='
    '+D[t]+"
    ",e.childNodes[0].style.height="0",e.childNodes[0].style.overflow="hidden",e.style.width=A[t]}),r),_&&me((function(e,t){e.innerHTML='
    '+E[t]+"
    ",e.childNodes[0].style.height="0",e.childNodes[0].style.overflow="hidden",e.style.width=T[t]}),a),V.outerWidth()b.offsetHeight||"scroll"==z.css("overflow-y")?d+f:d,k&&(b.scrollHeight>b.offsetHeight||"scroll"==z.css("overflow-y"))&&(w.width=ze(n-f)),(""===s||""!==l)&&Se(t,1,"Possible column misalignment",6)):n="100%",y.width=ze(n),p.width=ze(n),_&&(t.nScrollFoot.style.width=ze(n)),!u&&k&&(y.height=ze(L.offsetHeight+f)),s=V.outerWidth(),v[0].style.width=ze(s),g.width=ze(s),l=V.height()>b.clientHeight||"scroll"==z.css("overflow-y"),g[u="padding"+(x.bScrollbarLeft?"Left":"Right")]=l?f+"px":"0px",_&&(H[0].style.width=ze(s),C[0].style.width=ze(s),C[0].style[u]=l?f+"px":"0px"),V.children("colgroup").insertBefore(V.children("thead")),z.scroll(),!t.bSorted&&!t.bFiltered||t._drawHold||(b.scrollTop=0))}function me(e,t,n){for(var c,r,a=0,o=0,i=t.length;o").appendTo(u.find("tbody"));for(u.find("thead, tfoot").remove(),u.append(e(n.nTHead).clone()).append(e(n.nTFoot).clone()),u.find("tfoot th, tfoot td").css("width",""),d=B(n,u.find("thead")[0]),c=0;c").css({width:r.sWidthOrig,margin:0,padding:0,border:0,height:1}));if(n.aoData.length)for(c=0;c").css(s||i?{position:"absolute",top:0,left:0,height:1,right:0,overflow:"hidden"}:{}).append(u).appendTo(b),s&&l?u.width(l):s?(u.css("width","auto"),u.removeAttr("width"),u.width()").css("width",ze(t)).appendTo(c||n.body),a=r[0].offsetWidth;return r.remove(),a}function ve(t,n){var c=be(t,n);if(0>c)return null;var r=t.aoData[c];return r.nTr?r.anCells[n]:e("").html(H(t,c,n,"display"))[0]}function be(e,t){for(var n,c=-1,r=-1,a=0,o=e.aoData.length;ac&&(c=n.length,r=a);return r}function ze(e){return null===e?"0px":"number"==typeof e?0>e?"0px":e+"px":e.match(/\d$/)?e+"px":e}function ye(t){var n,r,a,o,i,s,l=[],u=t.aoColumns;n=t.aaSortingFixed,r=e.isPlainObject(n);var f=[];for(a=function(t){t.length&&!e.isArray(t[0])?f.push(t):e.merge(f,t)},e.isArray(n)&&a(n),r&&n.pre&&a(n.pre),a(t.aaSorting),r&&n.post&&a(n.post),t=0;tc?1:0))return"asc"===s.dir?n:-n;return(n=a[e])<(c=a[t])?-1:n>c?1:0})):l.sort((function(e,t){var n,c,s,l,u=r.length,f=i[e]._aSortData,d=i[t]._aSortData;for(s=0;sc?1:0}))}e.bSorted=!0}function He(e){for(var t,n,c=e.aoColumns,r=ye(e),a=(e=e.oLanguage.oAria,0),o=c.length;a/g,"");var s=n.nTh;s.removeAttribute("aria-sort"),n.bSortable&&(0i?i+1:3));for(i=0,n=o.length;ii?i+1:3))}t.aLastSort=o}function we(e,t){var n,c=e.aoColumns[t],r=We.ext.order[c.sSortDataType];r&&(n=r.call(e.oInstance,e,t,p(e,t)));for(var a,o=We.ext.type.order[c.sType+"-pre"],i=0,s=e.aoData.length;i=i.length?[0,n[1]]:n)}))),n.search!==c&&e.extend(t.oPreviousSearch,ee(n.search)),n.columns)for(a=0,o=n.columns.length;a=n&&(t=n-c),t-=t%c,(-1===c||0>t)&&(t=0),e._iDisplayStart=t}function Pe(t,n){var c=t.renderer,r=We.ext.renderer[n];return e.isPlainObject(c)&&c[n]?r[c[n]]||r._:"string"==typeof c&&r[c]||r._}function Re(e){return e.oFeatures.bServerSide?"ssp":e.ajax||e.sAjaxSource?"ajax":"dom"}function Ie(e,t){var n=[],c=(n=xt.numbers_length,Math.floor(n/2));return t<=n?n=ot(0,t):e<=c?((n=ot(0,n-2)).push("ellipsis"),n.push(t-1)):(e>=t-1-c?n=ot(t-(n-2),t):((n=ot(e-c+2,e+c-1)).push("ellipsis"),n.push(t-1)),n.splice(0,0,"ellipsis"),n.splice(0,0,0)),n.DT_el="span",n}function Be(t){e.each({num:function(e){return kt(e,t)},"num-fmt":function(e){return kt(e,t,Ke)},"html-num":function(e){return kt(e,t,Xe)},"html-num-fmt":function(e){return kt(e,t,Xe,Ke)}},(function(e,n){$e.type.order[e+t+"-pre"]=n,e.match(/^html\-/)&&($e.type.search[e+t]=$e.type.search.html)}))}function je(e){return function(){var t=[ke(this[We.ext.iApiIndex])].concat(Array.prototype.slice.call(arguments));return We.ext.internal[e].apply(this,t)}}var $e,Fe,qe,Ue,We=function(t){this.$=function(e,t){return this.api(!0).$(e,t)},this._=function(e,t){return this.api(!0).rows(e,t).data()},this.api=function(e){return new Fe(e?ke(this[$e.iApiIndex]):this)},this.fnAddData=function(t,n){var r=this.api(!0),a=e.isArray(t)&&(e.isArray(t[0])||e.isPlainObject(t[0]))?r.rows.add(t):r.row.add(t);return(n===c||n)&&r.draw(),a.flatten().toArray()},this.fnAdjustColumnSizing=function(e){var t=this.api(!0).columns.adjust(),n=t.settings()[0],r=n.oScroll;e===c||e?t.draw(!1):(""!==r.sX||""!==r.sY)&&he(n)},this.fnClearTable=function(e){var t=this.api(!0).clear();(e===c||e)&&t.draw()},this.fnClose=function(e){this.api(!0).row(e).child.hide()},this.fnDeleteRow=function(e,t,n){var r=this.api(!0),a=(e=r.rows(e)).settings()[0],o=a.aoData[e[0][0]];return e.remove(),t&&t.call(this,a,o),(n===c||n)&&r.draw(),o},this.fnDestroy=function(e){this.api(!0).destroy(e)},this.fnDraw=function(e){this.api(!0).draw(e)},this.fnFilter=function(e,t,n,r,a,o){a=this.api(!0),null===t||t===c?a.search(e,n,r,o):a.column(t).search(e,n,r,o),a.draw()},this.fnGetData=function(e,t){var n=this.api(!0);if(e!==c){var r=e.nodeName?e.nodeName.toLowerCase():"";return t!==c||"td"==r||"th"==r?n.cell(e,t).data():n.row(e).data()||null}return n.data().toArray()},this.fnGetNodes=function(e){var t=this.api(!0);return e!==c?t.row(e).node():t.rows().nodes().flatten().toArray()},this.fnGetPosition=function(e){var t=this.api(!0),n=e.nodeName.toUpperCase();return"TR"==n?t.row(e).index():"TD"==n||"TH"==n?[(e=t.cell(e).index()).row,e.columnVisible,e.column]:null},this.fnIsOpen=function(e){return this.api(!0).row(e).child.isShown()},this.fnOpen=function(e,t,n){return this.api(!0).row(e).child(t,n).show().child()[0]},this.fnPageChange=function(e,t){var n=this.api(!0).page(e);(t===c||t)&&n.draw(!1)},this.fnSetColumnVis=function(e,t,n){e=this.api(!0).column(e).visible(t),(n===c||n)&&e.columns.adjust().draw()},this.fnSettings=function(){return ke(this[$e.iApiIndex])},this.fnSort=function(e){this.api(!0).order(e).draw()},this.fnSortListener=function(e,t,n){this.api(!0).order.listener(e,t,n)},this.fnUpdate=function(e,t,n,r,a){var o=this.api(!0);return n===c||null===n?o.row(t).data(e):o.cell(t,n).data(e),(a===c||a)&&o.columns.adjust(),(r===c||r)&&o.draw(),0},this.fnVersionCheck=$e.fnVersionCheck;var n=this,r=t===c,u=this.length;for(var h in r&&(t={}),this.oApi=this.internal=$e.internal,We.ext.internal)h&&(this[h]=je(h));return this.each((function(){var h,m={},p=1").appendTo(H)),_.nTHead=n[0],0===(n=H.children("tbody")).length&&(n=e("").appendTo(H)),_.nTBody=n[0],0===(n=H.children("tfoot")).length&&t.length>0&&(""!==_.oScroll.sX||""!==_.oScroll.sY)&&(n=e("").appendTo(H)),0===n.length||0===n.children().length?H.addClass(x.sNoFooter):n.length>0&&(_.nTFoot=n[0],I(_.aoFooter,_.nTFoot)),p.aaData)for(g=0;g/g,Ge=/^\d{2,4}[\.\/\-]\d{1,2}[\.\/\-]\d{1,2}([T ]{1}\d{1,2}[:\.]\d{2}([\.:]\d{2})?)?$/,Qe=RegExp("(\\/|\\.|\\*|\\+|\\?|\\||\\(|\\)|\\[|\\]|\\{|\\}|\\\\|\\$|\\^|\\-)","g"),Ke=/[',$£€¥%\u2009\u202F\u20BD\u20a9\u20BArfkɃΞ]/gi,Je=function(e){return!e||!0===e||"-"===e},et=function(e){var t=parseInt(e,10);return!isNaN(t)&&isFinite(e)?t:null},tt=function(e,t){return Ye[t]||(Ye[t]=RegExp(dt(t),"g")),"string"==typeof e&&"."!==t?e.replace(/\./g,"").replace(Ye[t],"."):e},nt=function(e,t,n){var c="string"==typeof e;return!!Je(e)||(t&&c&&(e=tt(e,t)),n&&c&&(e=e.replace(Ke,"")),!isNaN(parseFloat(e))&&isFinite(e))},ct=function(e,t,n){return!!Je(e)||((Je(e)||"string"==typeof e)&&!!nt(e.replace(Xe,""),t,n)||null)},rt=function(e,t,n){var r=[],a=0,o=e.length;if(n!==c)for(;ae.length))for(var n=(t=e.slice().sort())[0],c=1,r=t.length;c")[0],mt=ht.textContent!==c,pt=/<.*?>/g,gt=We.util.throttle,vt=[],bt=Array.prototype;Fe=function(t,n){if(!(this instanceof Fe))return new Fe(t,n);var c=[],r=function(t){(t=function(t){var n,c,r=We.settings,a=e.map(r,(function(e){return e.nTable}));return t?t.nTable&&t.oApi?[t]:t.nodeName&&"table"===t.nodeName.toLowerCase()?-1!==(n=e.inArray(t,a))?[r[n]]:null:t&&"function"==typeof t.settings?t.settings().toArray():("string"==typeof t?c=e(t):t instanceof e&&(c=t),c?c.map((function(){return-1!==(n=e.inArray(this,a))?r[n]:null})).toArray():void 0):[]}(t))&&(c=c.concat(t))};if(e.isArray(t))for(var a=0,o=t.length;ae?new Fe(t[e],this[e]):null},filter:function(e){var t=[];if(bt.filter)t=bt.filter.call(this,e,this);else for(var n=0,c=this.length;n").addClass(n),e("td",c).addClass(n).html(t)[0].colSpan=g(a),o.push(c[0]))};i(t,n),r._details&&r._details.detach(),r._details=e(o),r._detailsShow&&r._details.insertAfter(r.nTr)}return this})),qe(["row().child.show()","row().child().show()"],(function(){return Lt(this,!0),this})),qe(["row().child.hide()","row().child().hide()"],(function(){return Lt(this,!1),this})),qe(["row().child.remove()","row().child().remove()"],(function(){return Vt(this),this})),qe("row().child.isShown()",(function(){var e=this.context;return e.length&&this.length&&e[0].aoData[this[0]]._detailsShow||!1}));var wt=/^([^:]+):(name|visIdx|visible)$/,_t=function(e,t,n,c,r){n=[],c=0;for(var a=r.length;c=0?n:o.length+n];if("function"==typeof t){var r=Mt(c,a);return e.map(o,(function(e,n){return t(n,_t(c,n,0,0,r),s[n])?n:null}))}var l="string"==typeof t?t.match(wt):"";if(l)switch(l[2]){case"visIdx":case"visible":if((n=parseInt(l[1],10))<0){var u=e.map(o,(function(e,t){return e.bVisible?t:null}));return[u[u.length+n]]}return[m(c,n)];case"name":return e.map(i,(function(e,t){return e===l[1]?t:null}));default:return[]}return t.nodeName&&t._DT_CellIndex?[t._DT_CellIndex.column]:(n=e(s).filter(t).map((function(){return e.inArray(this,s)})).toArray()).length||!t.nodeName?n:(n=e(t).closest("*[data-dt-column]")).length?[n.data("dt-column")]:[]}),c,a)}),1);return r.selector.cols=t,r.selector.opts=n,r})),Ue("columns().header()","column().header()",(function(){return this.iterator("column",(function(e,t){return e.aoColumns[t].nTh}),1)})),Ue("columns().footer()","column().footer()",(function(){return this.iterator("column",(function(e,t){return e.aoColumns[t].nTf}),1)})),Ue("columns().data()","column().data()",(function(){return this.iterator("column-rows",_t,1)})),Ue("columns().dataSrc()","column().dataSrc()",(function(){return this.iterator("column",(function(e,t){return e.aoColumns[t].mData}),1)})),Ue("columns().cache()","column().cache()",(function(e){return this.iterator("column-rows",(function(t,n,c,r,a){return at(t.aoData,a,"search"===e?"_aFilterData":"_aSortData",n)}),1)})),Ue("columns().nodes()","column().nodes()",(function(){return this.iterator("column-rows",(function(e,t,n,c,r){return at(e.aoData,r,"anCells",t)}),1)})),Ue("columns().visible()","column().visible()",(function(t,n){var r=this.iterator("column",(function(n,r){if(t===c)return n.aoColumns[r].bVisible;var a,o,i,s=n.aoColumns,l=s[r],u=n.aoData;if(t!==c&&l.bVisible!==t){if(t){var f=e.inArray(!0,rt(s,"bVisible"),r+1);for(a=0,o=u.length;an;return!0},We.isDataTable=We.fnIsDataTable=function(t){var n=e(t).get(0),c=!1;return t instanceof We.Api||(e.each(We.settings,(function(t,r){var a=r.nScrollHead?e("table",r.nScrollHead)[0]:null,o=r.nScrollFoot?e("table",r.nScrollFoot)[0]:null;r.nTable!==n&&a!==n&&o!==n||(c=!0)})),c)},We.tables=We.fnTables=function(t){var n=!1;e.isPlainObject(t)&&(n=t.api,t=t.visible);var c=e.map(We.settings,(function(n){if(!t||t&&e(n.nTable).is(":visible"))return n.nTable}));return n?new Fe(c):c},We.camelToHungarian=a,qe("$()",(function(t,n){var c=this.rows(n).nodes();c=e(c);return e([].concat(c.filter(t).toArray(),c.find(t).toArray()))})),e.each(["on","one","off"],(function(t,n){qe(n+"()",(function(){var t=Array.prototype.slice.call(arguments);t[0]=e.map(t[0].split(/\s/),(function(e){return e.match(/\.dt\b/)?e:e+".dt"})).join(" ");var c=e(this.tables().nodes());return c[n].apply(c,t),this}))})),qe("clear()",(function(){return this.iterator("table",(function(e){x(e)}))})),qe("settings()",(function(){return new Fe(this.context,this.context)})),qe("init()",(function(){var e=this.context;return e.length?e[0].oInit:null})),qe("data()",(function(){return this.iterator("table",(function(e){return rt(e.aoData,"_aData")})).flatten()})),qe("destroy()",(function(n){return n=n||!1,this.iterator("table",(function(c){var r,a=c.nTableWrapper.parentNode,o=c.oClasses,i=c.nTable,s=c.nTBody,l=c.nTHead,u=c.nTFoot,f=e(i),d=(s=e(s),e(c.nTableWrapper)),h=e.map(c.aoData,(function(e){return e.nTr}));c.bDestroying=!0,Ne(c,"aoDestroyCallback","destroy",[c]),n||new Fe(c).columns().visible(!0),d.off(".DT").find(":not(tbody *)").off(".DT"),e(t).off(".DT-"+c.sInstance),i!=l.parentNode&&(f.children("thead").detach(),f.append(l)),u&&i!=u.parentNode&&(f.children("tfoot").detach(),f.append(u)),c.aaSorting=[],c.aaSortingFixed=[],Le(c),e(h).removeClass(c.asStripeClasses.join(" ")),e("th, td",l).removeClass(o.sSortable+" "+o.sSortableAsc+" "+o.sSortableDesc+" "+o.sSortableNone),s.children().detach(),s.append(h),f[l=n?"remove":"detach"](),d[l](),!n&&a&&(a.insertBefore(i,c.nTableReinsertBefore),f.css("width",c.sDestroyWidth).removeClass(o.sTable),(r=c.asDestroyStripes.length)&&s.children().each((function(t){e(this).addClass(c.asDestroyStripes[t%r])}))),-1!==(a=e.inArray(c,We.settings))&&We.settings.splice(a,1)}))})),e.each(["column","row","cell"],(function(e,t){qe(t+"s().every()",(function(e){var n=this.selector.opts,r=this;return this.iterator(t,(function(a,o,i,s,l){e.call(r[t](o,"cell"===t?i:n,"cell"===t?n:c),o,i,s,l)}))}))})),qe("i18n()",(function(t,n,r){var a=this.context[0];return(t=L(t)(a.oLanguage))===c&&(t=n),r!==c&&e.isPlainObject(t)&&(t=t[r]!==c?t[r]:t._),t.replace("%d",r)})),We.version="1.10.18",We.settings=[],We.models={},We.models.oSearch={bCaseInsensitive:!0,sSearch:"",bRegex:!1,bSmart:!0},We.models.oRow={nTr:null,anCells:null,_aData:[],_aSortData:null,_aFilterData:null,_sFilterRow:null,_sRowStripe:"",src:null,idx:-1},We.models.oColumn={idx:null,aDataSort:null,asSorting:null,bSearchable:null,bSortable:null,bVisible:null,_sManualType:null,_bAttrSrc:!1,fnCreatedCell:null,fnGetData:null,fnSetData:null,mData:null,mRender:null,nTh:null,nTf:null,sClass:null,sContentPadding:null,sDefaultContent:null,sName:null,sSortDataType:"std",sSortingClass:null,sSortingClassJUI:null,sTitle:null,sType:null,sWidth:null,sWidthOrig:null},We.defaults={aaData:null,aaSorting:[[0,"asc"]],aaSortingFixed:[],ajax:null,aLengthMenu:[10,25,50,100],aoColumns:null,aoColumnDefs:null,aoSearchCols:[],asStripeClasses:null,bAutoWidth:!0,bDeferRender:!1,bDestroy:!1,bFilter:!0,bInfo:!0,bLengthChange:!0,bPaginate:!0,bProcessing:!1,bRetrieve:!1,bScrollCollapse:!1,bServerSide:!1,bSort:!0,bSortMulti:!0,bSortCellsTop:!1,bSortClasses:!0,bStateSave:!1,fnCreatedRow:null,fnDrawCallback:null,fnFooterCallback:null,fnFormatNumber:function(e){return e.toString().replace(/\B(?=(\d{3})+(?!\d))/g,this.oLanguage.sThousands)},fnHeaderCallback:null,fnInfoCallback:null,fnInitComplete:null,fnPreDrawCallback:null,fnRowCallback:null,fnServerData:null,fnServerParams:null,fnStateLoadCallback:function(e){try{return JSON.parse((-1===e.iStateDuration?sessionStorage:localStorage).getItem("DataTables_"+e.sInstance+"_"+location.pathname))}catch(e){}},fnStateLoadParams:null,fnStateLoaded:null,fnStateSaveCallback:function(e,t){try{(-1===e.iStateDuration?sessionStorage:localStorage).setItem("DataTables_"+e.sInstance+"_"+location.pathname,JSON.stringify(t))}catch(e){}},fnStateSaveParams:null,iStateDuration:7200,iDeferLoading:null,iDisplayLength:10,iDisplayStart:0,iTabIndex:0,oClasses:{},oLanguage:{oAria:{sSortAscending:": activate to sort column ascending",sSortDescending:": activate to sort column descending"},oPaginate:{sFirst:"First",sLast:"Last",sNext:"Next",sPrevious:"Previous"},sEmptyTable:"No data available in table",sInfo:"Showing _START_ to _END_ of _TOTAL_ entries",sInfoEmpty:"Showing 0 to 0 of 0 entries",sInfoFiltered:"(filtered from _MAX_ total entries)",sInfoPostFix:"",sDecimal:"",sThousands:",",sLengthMenu:"Show _MENU_ entries",sLoadingRecords:"Loading...",sProcessing:"Processing...",sSearch:"Search:",sSearchPlaceholder:"",sUrl:"",sZeroRecords:"No matching records found"},oSearch:e.extend({},We.models.oSearch),sAjaxDataProp:"data",sAjaxSource:null,sDom:"lfrtip",searchDelay:null,sPaginationType:"simple_numbers",sScrollX:"",sScrollXInner:"",sScrollY:"",sServerMethod:"GET",renderer:null,rowId:"DT_RowId"},r(We.defaults),We.defaults.column={aDataSort:null,iDataSort:-1,asSorting:["asc","desc"],bSearchable:!0,bSortable:!0,bVisible:!0,fnCreatedCell:null,mData:null,mRender:null,sCellType:"td",sClass:"",sContentPadding:"",sDefaultContent:null,sName:"",sSortDataType:"std",sTitle:null,sType:null,sWidth:null},r(We.defaults.column),We.models.oSettings={oFeatures:{bAutoWidth:null,bDeferRender:null,bFilter:null,bInfo:null,bLengthChange:null,bPaginate:null,bProcessing:null,bServerSide:null,bSort:null,bSortMulti:null,bSortClasses:null,bStateSave:null},oScroll:{bCollapse:null,iBarWidth:0,sX:null,sXInner:null,sY:null},oLanguage:{fnInfoCallback:null},oBrowser:{bScrollOversize:!1,bScrollbarLeft:!1,bBounding:!1,barWidth:0},ajax:null,aanFeatures:[],aoData:[],aiDisplay:[],aiDisplayMaster:[],aIds:{},aoColumns:[],aoHeader:[],aoFooter:[],oPreviousSearch:{},aoPreSearchCols:[],aaSorting:null,aaSortingFixed:[],asStripeClasses:null,asDestroyStripes:[],sDestroyWidth:0,aoRowCallback:[],aoHeaderCallback:[],aoFooterCallback:[],aoDrawCallback:[],aoRowCreatedCallback:[],aoPreDrawCallback:[],aoInitComplete:[],aoStateSaveParams:[],aoStateLoadParams:[],aoStateLoaded:[],sTableId:"",nTable:null,nTHead:null,nTFoot:null,nTBody:null,nTableWrapper:null,bDeferLoading:!1,bInitialised:!1,aoOpenRows:[],sDom:null,searchDelay:null,sPaginationType:"two_button",iStateDuration:0,aoStateSave:[],aoStateLoad:[],oSavedState:null,oLoadedState:null,sAjaxSource:null,sAjaxDataProp:null,bAjaxDataGet:!0,jqXHR:null,json:c,oAjaxData:c,fnServerData:null,aoServerParams:[],sServerMethod:null,fnFormatNumber:null,aLengthMenu:null,iDraw:0,bDrawing:!1,iDrawError:-1,_iDisplayLength:10,_iDisplayStart:0,_iRecordsTotal:0,_iRecordsDisplay:0,oClasses:{},bFiltered:!1,bSorted:!1,bSortCellsTop:null,oInit:null,aoDestroyCallback:[],fnRecordsTotal:function(){return"ssp"==Re(this)?1*this._iRecordsTotal:this.aiDisplayMaster.length},fnRecordsDisplay:function(){return"ssp"==Re(this)?1*this._iRecordsDisplay:this.aiDisplay.length},fnDisplayEnd:function(){var e=this._iDisplayLength,t=this._iDisplayStart,n=t+e,c=this.aiDisplay.length,r=this.oFeatures,a=r.bPaginate;return r.bServerSide?!1===a||-1===e?t+c:Math.min(t+e,this._iRecordsDisplay):!a||n>c||-1===e?c:n},oInstance:null,sInstance:null,iTabIndex:0,nScrollHead:null,nScrollFoot:null,aLastSort:[],oPlugins:{},rowIdFn:null,rowId:null},We.ext=$e={buttons:{},classes:{},builder:"-source-",errMode:"alert",feature:[],search:[],selector:{cell:[],column:[],row:[]},internal:{},legacy:{ajax:null},pager:{},renderer:{pageButton:{},header:{}},order:{},type:{detect:[],search:{},order:{}},_unique:0,fnVersionCheck:We.fnVersionCheck,iApiIndex:0,oJUIClasses:{},sVersion:We.version},e.extend($e,{afnFiltering:$e.search,aTypes:$e.type.detect,ofnSearch:$e.type.search,oSort:$e.type.order,afnSortData:$e.order,aoFeatures:$e.feature,oApi:$e.internal,oStdClasses:$e.classes,oPagination:$e.pager}),e.extend(We.ext.classes,{sTable:"dataTable",sNoFooter:"no-footer",sPageButton:"paginate_button",sPageButtonActive:"current",sPageButtonDisabled:"disabled",sStripeOdd:"odd",sStripeEven:"even",sRowEmpty:"dataTables_empty",sWrapper:"dataTables_wrapper",sFilter:"dataTables_filter",sInfo:"dataTables_info",sPaging:"dataTables_paginate paging_",sLength:"dataTables_length",sProcessing:"dataTables_processing",sSortAsc:"sorting_asc",sSortDesc:"sorting_desc",sSortable:"sorting",sSortableAsc:"sorting_asc_disabled",sSortableDesc:"sorting_desc_disabled",sSortableNone:"sorting_disabled",sSortColumn:"sorting_",sFilterInput:"",sLengthSelect:"",sScrollWrapper:"dataTables_scroll",sScrollHead:"dataTables_scrollHead",sScrollHeadInner:"dataTables_scrollHeadInner",sScrollBody:"dataTables_scrollBody",sScrollFoot:"dataTables_scrollFoot",sScrollFootInner:"dataTables_scrollFootInner",sHeaderTH:"",sFooterTH:"",sSortJUIAsc:"",sSortJUIDesc:"",sSortJUI:"",sSortJUIAscAllowed:"",sSortJUIDescAllowed:"",sSortJUIWrapper:"",sSortIcon:"",sJUIHeader:"",sJUIFooter:""});var xt=We.ext.pager;e.extend(xt,{simple:function(){return["previous","next"]},full:function(){return["first","previous","next","last"]},numbers:function(e,t){return[Ie(e,t)]},simple_numbers:function(e,t){return["previous",Ie(e,t),"next"]},full_numbers:function(e,t){return["first","previous",Ie(e,t),"next","last"]},first_last_numbers:function(e,t){return["first",Ie(e,t),"last"]},_numbers:Ie,numbers_length:7}),e.extend(!0,We.ext.renderer,{pageButton:{_:function(t,r,a,o,i,s){var l,u,f,d=t.oClasses,h=t.oLanguage.oPaginate,m=t.oLanguage.oAria.paginate||{},p=0,g=function(n,c){var r,o,f,v,b=function(e){le(t,e.data.action,!0)};for(r=0,o=c.length;r").appendTo(n),g(f,v);else{switch(l=null,u="",v){case"ellipsis":n.append('');break;case"first":l=h.sFirst,u=v+(i>0?"":" "+d.sPageButtonDisabled);break;case"previous":l=h.sPrevious,u=v+(i>0?"":" "+d.sPageButtonDisabled);break;case"next":l=h.sNext,u=v+(i",{class:d.sPageButton+" "+u,"aria-controls":t.sTableId,"aria-label":m[v],"data-dt-idx":p,tabindex:t.iTabIndex,id:0===a&&"string"==typeof v?t.sTableId+"_"+v:null}).html(l).appendTo(n),{action:v},b),p++)}};try{f=e(r).find(n.activeElement).data("dt-idx")}catch(e){}g(e(r).empty(),o),f!==c&&e(r).find("[data-dt-idx="+f+"]").focus()}}}),e.extend(We.ext.type.detect,[function(e,t){var n=t.oLanguage.sDecimal;return nt(e,n)?"num"+n:null},function(e){if(e&&!(e instanceof Date)&&!Ge.test(e))return null;var t=Date.parse(e);return null!==t&&!isNaN(t)||Je(e)?"date":null},function(e,t){var n=t.oLanguage.sDecimal;return nt(e,n,!0)?"num-fmt"+n:null},function(e,t){var n=t.oLanguage.sDecimal;return ct(e,n)?"html-num"+n:null},function(e,t){var n=t.oLanguage.sDecimal;return ct(e,n,!0)?"html-num-fmt"+n:null},function(e){return Je(e)||"string"==typeof e&&-1!==e.indexOf("<")?"html":null}]),e.extend(We.ext.type.search,{html:function(e){return Je(e)?e:"string"==typeof e?e.replace(Ze," ").replace(Xe,""):""},string:function(e){return Je(e)?e:"string"==typeof e?e.replace(Ze," "):e}});var kt=function(e,t,n,c){return 0===e||e&&"-"!==e?(t&&(e=tt(e,t)),e.replace&&(n&&(e=e.replace(n,"")),c&&(e=e.replace(c,""))),1*e):-1/0};e.extend($e.type.order,{"date-pre":function(e){return e=Date.parse(e),isNaN(e)?-1/0:e},"html-pre":function(e){return Je(e)?"":e.replace?e.replace(/<.*?>/g,"").toLowerCase():e+""},"string-pre":function(e){return Je(e)?"":"string"==typeof e?e.toLowerCase():e.toString?e.toString():""},"string-asc":function(e,t){return et?1:0},"string-desc":function(e,t){return et?-1:0}}),Be(""),e.extend(!0,We.ext.renderer,{header:{_:function(t,n,c,r){e(t.nTable).on("order.dt.DT",(function(e,a,o,i){t===a&&(e=c.idx,n.removeClass(c.sSortingClass+" "+r.sSortAsc+" "+r.sSortDesc).addClass("asc"==i[e]?r.sSortAsc:"desc"==i[e]?r.sSortDesc:c.sSortingClass))}))},jqueryui:function(t,n,c,r){e("
    ").addClass(r.sSortJUIWrapper).append(n.contents()).append(e("").addClass(r.sSortIcon+" "+c.sSortingClassJUI)).appendTo(n),e(t.nTable).on("order.dt.DT",(function(e,a,o,i){t===a&&(e=c.idx,n.removeClass(r.sSortAsc+" "+r.sSortDesc).addClass("asc"==i[e]?r.sSortAsc:"desc"==i[e]?r.sSortDesc:c.sSortingClass),n.find("span."+r.sSortIcon).removeClass(r.sSortJUIAsc+" "+r.sSortJUIDesc+" "+r.sSortJUI+" "+r.sSortJUIAscAllowed+" "+r.sSortJUIDescAllowed).addClass("asc"==i[e]?r.sSortJUIAsc:"desc"==i[e]?r.sSortJUIDesc:c.sSortingClassJUI))}))}}});var St=function(e){return"string"==typeof e?e.replace(//g,">").replace(/"/g,"""):e};return We.render={number:function(e,t,n,c,r){return{display:function(a){if("number"!=typeof a&&"string"!=typeof a)return a;var o=0>a?"-":"",i=parseFloat(a);return isNaN(i)?St(a):(i=i.toFixed(n),a=Math.abs(i),i=parseInt(a,10),a=n?t+(a-i).toFixed(n).substring(2):"",o+(c||"")+i.toString().replace(/\B(?=(\d{3})+(?!\d))/g,e)+a+(r||""))}}},text:function(){return{display:St}}},e.extend(We.ext.internal,{_fnExternApiFunc:je,_fnBuildAjax:j,_fnAjaxUpdate:$,_fnAjaxParameters:F,_fnAjaxUpdateDraw:q,_fnAjaxDataSrc:U,_fnAddColumn:f,_fnColumnOptions:d,_fnAdjustColumnSizing:h,_fnVisibleToColumnIndex:m,_fnColumnIndexToVisible:p,_fnVisbleColumns:g,_fnGetColumns:v,_fnColumnTypes:b,_fnApplyColumnDefs:z,_fnHungarianMap:r,_fnCamelToHungarian:a,_fnLanguageCompat:o,_fnBrowserDetect:l,_fnAddData:y,_fnAddTr:C,_fnNodeToDataIndex:function(e,t){return t._DT_RowIndex!==c?t._DT_RowIndex:null},_fnNodeToColumnIndex:function(t,n,c){return e.inArray(c,t.aoData[n].anCells)},_fnGetCellData:H,_fnSetCellData:M,_fnSplitObjNotation:V,_fnGetObjectDataFn:L,_fnSetObjectDataFn:w,_fnGetDataMaster:_,_fnClearTable:x,_fnDeleteIndex:k,_fnInvalidate:S,_fnGetRowElements:A,_fnCreateTr:T,_fnBuildHead:E,_fnDrawHead:N,_fnDraw:O,_fnReDraw:P,_fnAddOptionsHtml:R,_fnDetectHeader:I,_fnGetUniqueThs:B,_fnFeatureHtmlFilter:W,_fnFilterComplete:Y,_fnFilterCustom:Z,_fnFilterColumn:X,_fnFilter:G,_fnFilterCreateSearch:Q,_fnEscapeRegex:dt,_fnFilterData:K,_fnFeatureHtmlInfo:te,_fnUpdateInfo:ne,_fnInfoMacros:ce,_fnInitialise:re,_fnInitComplete:ae,_fnLengthChange:oe,_fnFeatureHtmlLength:ie,_fnFeatureHtmlPaginate:se,_fnPageChange:le,_fnFeatureHtmlProcessing:ue,_fnProcessingDisplay:fe,_fnFeatureHtmlTable:de,_fnScrollDraw:he,_fnApplyToChildren:me,_fnCalculateColumnWidths:pe,_fnThrottle:gt,_fnConvertToWidth:ge,_fnGetWidestNode:ve,_fnGetMaxLenString:be,_fnStringToCss:ze,_fnSortFlatten:ye,_fnSort:Ce,_fnSortAria:He,_fnSortListener:Me,_fnSortAttachListener:Ve,_fnSortingClasses:Le,_fnSortData:we,_fnSaveState:_e,_fnLoadState:xe,_fnSettingsFromNode:ke,_fnLog:Se,_fnMap:Ae,_fnBindAction:De,_fnCallbackReg:Ee,_fnCallbackFire:Ne,_fnLengthOverflow:Oe,_fnRenderer:Pe,_fnDataSource:Re,_fnRowAttributes:D,_fnExtend:Te,_fnCalculateEnd:function(){}}),e.fn.dataTable=We,We.$=e,e.fn.dataTableSettings=We.settings,e.fn.dataTableExt=We.ext,e.fn.DataTable=function(t){return e(this).dataTable(t).api()},e.each(We,(function(t,n){e.fn.DataTable[t]=n})),e.fn.dataTable})),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):e("object"==typeof exports?require("jquery"):jQuery)}((function(e,t){function n(){return new Date(Date.UTC.apply(Date,arguments))}function c(){var e=new Date;return n(e.getFullYear(),e.getMonth(),e.getDate())}function r(e,t){return e.getUTCFullYear()===t.getUTCFullYear()&&e.getUTCMonth()===t.getUTCMonth()&&e.getUTCDate()===t.getUTCDate()}function a(n,c){return function(){return c!==t&&e.fn.datepicker.deprecated(c),this[n].apply(this,arguments)}}function o(t){var n={};if(m[t]||(t=t.split("-")[0],m[t])){var c=m[t];return e.each(h,(function(e,t){t in c&&(n[t]=c[t])})),n}}var i=function(){var t={get:function(e){return this.slice(e)[0]},contains:function(e){for(var t=e&&e.valueOf(),n=0,c=this.length;n]/g)||[]).length<=0||e(n).length>0)}catch(e){return!1}},_process_options:function(t){this._o=e.extend({},this._o,t);var r=this.o=e.extend({},this._o),a=r.language;m[a]||(a=a.split("-")[0],m[a]||(a=d.language)),r.language=a,r.startView=this._resolveViewName(r.startView),r.minViewMode=this._resolveViewName(r.minViewMode),r.maxViewMode=this._resolveViewName(r.maxViewMode),r.startView=Math.max(this.o.minViewMode,Math.min(this.o.maxViewMode,r.startView)),!0!==r.multidate&&(r.multidate=Number(r.multidate)||!1,!1!==r.multidate&&(r.multidate=Math.max(0,r.multidate))),r.multidateSeparator=String(r.multidateSeparator),r.weekStart%=7,r.weekEnd=(r.weekStart+6)%7;var o=p.parseFormat(r.format);r.startDate!==-1/0&&(r.startDate?r.startDate instanceof Date?r.startDate=this._local_to_utc(this._zero_time(r.startDate)):r.startDate=p.parseDate(r.startDate,o,r.language,r.assumeNearbyYear):r.startDate=-1/0),r.endDate!==1/0&&(r.endDate?r.endDate instanceof Date?r.endDate=this._local_to_utc(this._zero_time(r.endDate)):r.endDate=p.parseDate(r.endDate,o,r.language,r.assumeNearbyYear):r.endDate=1/0),r.daysOfWeekDisabled=this._resolveDaysOfWeek(r.daysOfWeekDisabled||[]),r.daysOfWeekHighlighted=this._resolveDaysOfWeek(r.daysOfWeekHighlighted||[]),r.datesDisabled=r.datesDisabled||[],e.isArray(r.datesDisabled)||(r.datesDisabled=r.datesDisabled.split(",")),r.datesDisabled=e.map(r.datesDisabled,(function(e){return p.parseDate(e,o,r.language,r.assumeNearbyYear)}));var i=String(r.orientation).toLowerCase().split(/\s+/g),s=r.orientation.toLowerCase();if(i=e.grep(i,(function(e){return/^auto|left|right|top|bottom$/.test(e)})),r.orientation={x:"auto",y:"auto"},s&&"auto"!==s)if(1===i.length)switch(i[0]){case"top":case"bottom":r.orientation.y=i[0];break;case"left":case"right":r.orientation.x=i[0]}else s=e.grep(i,(function(e){return/^left|right$/.test(e)})),r.orientation.x=s[0]||"auto",s=e.grep(i,(function(e){return/^top|bottom$/.test(e)})),r.orientation.y=s[0]||"auto";if(r.defaultViewDate instanceof Date||"string"==typeof r.defaultViewDate)r.defaultViewDate=p.parseDate(r.defaultViewDate,o,r.language,r.assumeNearbyYear);else if(r.defaultViewDate){var l=r.defaultViewDate.year||(new Date).getFullYear(),u=r.defaultViewDate.month||0,f=r.defaultViewDate.day||1;r.defaultViewDate=n(l,u,f)}else r.defaultViewDate=c()},_applyEvents:function(e){for(var n,c,r,a=0;ar?(this.picker.addClass("datepicker-orient-right"),d+=f-t):this.o.rtl?this.picker.addClass("datepicker-orient-right"):this.picker.addClass("datepicker-orient-left");var m=this.o.orientation.y;if("auto"===m&&(m=-a+h-n<0?"bottom":"top"),this.picker.addClass("datepicker-orient-"+m),"top"===m?h-=n+parseInt(this.picker.css("padding-top")):h+=u,this.o.rtl){var p=r-(d+f);this.picker.css({top:h,right:p,zIndex:s})}else this.picker.css({top:h,left:d,zIndex:s});return this},_allow_update:!0,update:function(){if(!this._allow_update)return this;var t=this.dates.copy(),n=[],c=!1;return arguments.length?(e.each(arguments,e.proxy((function(e,t){t instanceof Date&&(t=this._local_to_utc(t)),n.push(t)}),this)),c=!0):(n=(n=this.isInput?this.element.val():this.element.data("date")||this.inputField.val())&&this.o.multidate?n.split(this.o.multidateSeparator):[n],delete this.element.data().date),n=e.map(n,e.proxy((function(e){return p.parseDate(e,this.o.format,this.o.language,this.o.assumeNearbyYear)}),this)),n=e.grep(n,e.proxy((function(e){return!this.dateWithinRange(e)||!e}),this),!0),this.dates.replace(n),this.o.updateViewDate&&(this.dates.length?this.viewDate=new Date(this.dates.get(-1)):this.viewDatethis.o.endDate?this.viewDate=new Date(this.o.endDate):this.viewDate=this.o.defaultViewDate),c?(this.setValue(),this.element.change()):this.dates.length&&String(t)!==String(this.dates)&&c&&(this._trigger("changeDate"),this.element.change()),!this.dates.length&&t.length&&(this._trigger("clearDate"),this.element.change()),this.fill(),this},fillDow:function(){if(this.o.showWeekDays){var t=this.o.weekStart,n="";for(this.o.calendarWeeks&&(n+=' ');t";n+="",this.picker.find(".datepicker-days thead").append(n)}},fillMonths:function(){for(var e=this._utc_to_local(this.viewDate),t="",n=0;n<12;n++)t+=''+m[this.o.language].monthsShort[n]+"";this.picker.find(".datepicker-months td").html(t)},setRange:function(t){t&&t.length?this.range=e.map(t,(function(e){return e.valueOf()})):delete this.range,this.fill()},getClassNames:function(t){var n=[],a=this.viewDate.getUTCFullYear(),o=this.viewDate.getUTCMonth(),i=c();return t.getUTCFullYear()a||t.getUTCFullYear()===a&&t.getUTCMonth()>o)&&n.push("new"),this.focusDate&&t.valueOf()===this.focusDate.valueOf()&&n.push("focused"),this.o.todayHighlight&&r(t,i)&&n.push("today"),-1!==this.dates.contains(t)&&n.push("active"),this.dateWithinRange(t)||n.push("disabled"),this.dateIsDisabled(t)&&n.push("disabled","disabled-date"),-1!==e.inArray(t.getUTCDay(),this.o.daysOfWeekHighlighted)&&n.push("highlighted"),this.range&&(t>this.range[0]&&ti)&&l.push("disabled"),z===v&&l.push("focused"),s!==e.noop&&((f=s(new Date(z,0,1)))===t?f={}:"boolean"==typeof f?f={enabled:f}:"string"==typeof f&&(f={classes:f}),!1===f.enabled&&l.push("disabled"),f.classes&&(l=l.concat(f.classes.split(/\s+/))),f.tooltip&&(u=f.tooltip)),d+='"+z+"";m.find(".datepicker-switch").text(p+"-"+g),m.find("td").html(d)},fill:function(){var r,a,o=new Date(this.viewDate),i=o.getUTCFullYear(),s=o.getUTCMonth(),l=this.o.startDate!==-1/0?this.o.startDate.getUTCFullYear():-1/0,u=this.o.startDate!==-1/0?this.o.startDate.getUTCMonth():-1/0,f=this.o.endDate!==1/0?this.o.endDate.getUTCFullYear():1/0,d=this.o.endDate!==1/0?this.o.endDate.getUTCMonth():1/0,h=m[this.o.language].today||m.en.today||"",g=m[this.o.language].clear||m.en.clear||"",v=m[this.o.language].titleFormat||m.en.titleFormat,b=c(),z=(!0===this.o.todayBtn||"linked"===this.o.todayBtn)&&b>=this.o.startDate&&b<=this.o.endDate&&!this.weekOfDateIsDisabled(b);if(!isNaN(i)&&!isNaN(s)){this.picker.find(".datepicker-days .datepicker-switch").text(p.formatDate(o,v,this.o.language)),this.picker.find("tfoot .today").text(h).css("display",z?"table-cell":"none"),this.picker.find("tfoot .clear").text(g).css("display",!0===this.o.clearBtn?"table-cell":"none"),this.picker.find("thead .datepicker-title").text(this.o.title).css("display","string"==typeof this.o.title&&""!==this.o.title?"table-cell":"none"),this.updateNavArrows(),this.fillMonths();var y=n(i,s,0),C=y.getUTCDate();y.setUTCDate(C-(y.getUTCDay()-this.o.weekStart+7)%7);var H=new Date(y);y.getUTCFullYear()<100&&H.setUTCFullYear(y.getUTCFullYear()),H.setUTCDate(H.getUTCDate()+42),H=H.valueOf();for(var M,V,L=[];y.valueOf()"),this.o.calendarWeeks)){var w=new Date(+y+(this.o.weekStart-M-7)%7*864e5),_=new Date(Number(w)+(11-w.getUTCDay())%7*864e5),x=new Date(Number(x=n(_.getUTCFullYear(),0,1))+(11-x.getUTCDay())%7*864e5),k=(_-x)/864e5/7+1;L.push(''+k+"")}(V=this.getClassNames(y)).push("day");var S=y.getUTCDate();this.o.beforeShowDay!==e.noop&&((a=this.o.beforeShowDay(this._utc_to_local(y)))===t?a={}:"boolean"==typeof a?a={enabled:a}:"string"==typeof a&&(a={classes:a}),!1===a.enabled&&V.push("disabled"),a.classes&&(V=V.concat(a.classes.split(/\s+/))),a.tooltip&&(r=a.tooltip),a.content&&(S=a.content)),V=e.isFunction(e.uniqueSort)?e.uniqueSort(V):e.unique(V),L.push(''+S+""),r=null,M===this.o.weekEnd&&L.push(""),y.setUTCDate(y.getUTCDate()+1)}this.picker.find(".datepicker-days tbody").html(L.join(""));var A=m[this.o.language].monthsTitle||m.en.monthsTitle||"Months",T=this.picker.find(".datepicker-months").find(".datepicker-switch").text(this.o.maxViewMode<2?A:i).end().find("tbody span").removeClass("active");if(e.each(this.dates,(function(e,t){t.getUTCFullYear()===i&&T.eq(t.getUTCMonth()).addClass("active")})),(if)&&T.addClass("disabled"),i===l&&T.slice(0,u).addClass("disabled"),i===f&&T.slice(d+1).addClass("disabled"),this.o.beforeShowMonth!==e.noop){var D=this;e.each(T,(function(n,c){var r=new Date(i,n,1),a=D.o.beforeShowMonth(r);a===t?a={}:"boolean"==typeof a?a={enabled:a}:"string"==typeof a&&(a={classes:a}),!1!==a.enabled||e(c).hasClass("disabled")||e(c).addClass("disabled"),a.classes&&e(c).addClass(a.classes),a.tooltip&&e(c).prop("title",a.tooltip)}))}this._fill_yearsView(".datepicker-years","year",10,i,l,f,this.o.beforeShowYear),this._fill_yearsView(".datepicker-decades","decade",100,i,l,f,this.o.beforeShowDecade),this._fill_yearsView(".datepicker-centuries","century",1e3,i,l,f,this.o.beforeShowCentury)}},updateNavArrows:function(){if(this._allow_update){var e,t,n=new Date(this.viewDate),c=n.getUTCFullYear(),r=n.getUTCMonth(),a=this.o.startDate!==-1/0?this.o.startDate.getUTCFullYear():-1/0,o=this.o.startDate!==-1/0?this.o.startDate.getUTCMonth():-1/0,i=this.o.endDate!==1/0?this.o.endDate.getUTCFullYear():1/0,s=this.o.endDate!==1/0?this.o.endDate.getUTCMonth():1/0,l=1;switch(this.viewMode){case 4:l*=10;case 3:l*=10;case 2:l*=10;case 1:e=Math.floor(c/l)*l<=a,t=Math.floor(c/l)*l+l>i;break;case 0:e=c<=a&&r<=o,t=c>=i&&r>=s}this.picker.find(".prev").toggleClass("disabled",e),this.picker.find(".next").toggleClass("disabled",t)}},click:function(t){var r,a,o;t.preventDefault(),t.stopPropagation(),(r=e(t.target)).hasClass("datepicker-switch")&&this.viewMode!==this.o.maxViewMode&&this.setViewMode(this.viewMode+1),r.hasClass("today")&&!r.hasClass("day")&&(this.setViewMode(0),this._setDate(c(),"linked"===this.o.todayBtn?null:"view")),r.hasClass("clear")&&this.clearDates(),r.hasClass("disabled")||(r.hasClass("month")||r.hasClass("year")||r.hasClass("decade")||r.hasClass("century"))&&(this.viewDate.setUTCDate(1),1,1===this.viewMode?(o=r.parent().find("span").index(r),a=this.viewDate.getUTCFullYear(),this.viewDate.setUTCMonth(o)):(o=0,a=Number(r.text()),this.viewDate.setUTCFullYear(a)),this._trigger(p.viewModes[this.viewMode-1].e,this.viewDate),this.viewMode===this.o.minViewMode?this._setDate(n(a,o,1)):(this.setViewMode(this.viewMode-1),this.fill())),this.picker.is(":visible")&&this._focused_from&&this._focused_from.focus(),delete this._focused_from},dayCellClick:function(t){var n=e(t.currentTarget).data("date"),c=new Date(n);this.o.updateViewDate&&(c.getUTCFullYear()!==this.viewDate.getUTCFullYear()&&this._trigger("changeYear",this.viewDate),c.getUTCMonth()!==this.viewDate.getUTCMonth()&&this._trigger("changeMonth",this.viewDate)),this._setDate(c)},navArrowsClick:function(t){var n=e(t.currentTarget).hasClass("prev")?-1:1;0!==this.viewMode&&(n*=12*p.viewModes[this.viewMode].navStep),this.viewDate=this.moveMonth(this.viewDate,n),this._trigger(p.viewModes[this.viewMode].e,this.viewDate),this.fill()},_toggle_multidate:function(e){var t=this.dates.contains(e);if(e||this.dates.clear(),-1!==t?(!0===this.o.multidate||this.o.multidate>1||this.o.toggleActive)&&this.dates.remove(t):!1===this.o.multidate?(this.dates.clear(),this.dates.push(e)):this.dates.push(e),"number"==typeof this.o.multidate)for(;this.dates.length>this.o.multidate;)this.dates.remove(0)},_setDate:function(e,t){t&&"date"!==t||this._toggle_multidate(e&&new Date(e)),(!t&&this.o.updateViewDate||"view"===t)&&(this.viewDate=e&&new Date(e)),this.fill(),this.setValue(),t&&"view"===t||this._trigger("changeDate"),this.inputField.trigger("change"),!this.o.autoclose||t&&"date"!==t||this.hide()},moveDay:function(e,t){var n=new Date(e);return n.setUTCDate(e.getUTCDate()+t),n},moveWeek:function(e,t){return this.moveDay(e,7*t)},moveMonth:function(e,t){if(!function(e){return e&&!isNaN(e.getTime())}(e))return this.o.defaultViewDate;if(!t)return e;var n,c,r=new Date(e.valueOf()),a=r.getUTCDate(),o=r.getUTCMonth(),i=Math.abs(t);if(t=t>0?1:-1,1===i)c=-1===t?function(){return r.getUTCMonth()===o}:function(){return r.getUTCMonth()!==n},n=o+t,r.setUTCMonth(n),n=(n+12)%12;else{for(var s=0;s0},dateWithinRange:function(e){return e>=this.o.startDate&&e<=this.o.endDate},keydown:function(e){if(this.picker.is(":visible")){var t,n,c=!1,r=this.focusDate||this.viewDate;switch(e.keyCode){case 27:this.focusDate?(this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.fill()):this.hide(),e.preventDefault(),e.stopPropagation();break;case 37:case 38:case 39:case 40:if(!this.o.keyboardNavigation||7===this.o.daysOfWeekDisabled.length)break;t=37===e.keyCode||38===e.keyCode?-1:1,0===this.viewMode?e.ctrlKey?(n=this.moveAvailableDate(r,t,"moveYear"))&&this._trigger("changeYear",this.viewDate):e.shiftKey?(n=this.moveAvailableDate(r,t,"moveMonth"))&&this._trigger("changeMonth",this.viewDate):37===e.keyCode||39===e.keyCode?n=this.moveAvailableDate(r,t,"moveDay"):this.weekOfDateIsDisabled(r)||(n=this.moveAvailableDate(r,t,"moveWeek")):1===this.viewMode?(38!==e.keyCode&&40!==e.keyCode||(t*=4),n=this.moveAvailableDate(r,t,"moveMonth")):2===this.viewMode&&(38!==e.keyCode&&40!==e.keyCode||(t*=4),n=this.moveAvailableDate(r,t,"moveYear")),n&&(this.focusDate=this.viewDate=n,this.setValue(),this.fill(),e.preventDefault());break;case 13:if(!this.o.forceParse)break;r=this.focusDate||this.dates.get(-1)||this.viewDate,this.o.keyboardNavigation&&(this._toggle_multidate(r),c=!0),this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.setValue(),this.fill(),this.picker.is(":visible")&&(e.preventDefault(),e.stopPropagation(),this.o.autoclose&&this.hide());break;case 9:this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.fill(),this.hide()}c&&(this.dates.length?this._trigger("changeDate"):this._trigger("clearDate"),this.inputField.trigger("change"))}else 40!==e.keyCode&&27!==e.keyCode||(this.show(),e.stopPropagation())},setViewMode:function(e){this.viewMode=e,this.picker.children("div").hide().filter(".datepicker-"+p.viewModes[this.viewMode].clsName).show(),this.updateNavArrows(),this._trigger("changeViewMode",new Date(this.viewDate))}};var l=function(t,n){e.data(t,"datepicker",this),this.element=e(t),this.inputs=e.map(n.inputs,(function(e){return e.jquery?e[0]:e})),delete n.inputs,this.keepEmptyValues=n.keepEmptyValues,delete n.keepEmptyValues,f.call(e(this.inputs),n).on("changeDate",e.proxy(this.dateUpdated,this)),this.pickers=e.map(this.inputs,(function(t){return e.data(t,"datepicker")})),this.updateDates()};l.prototype={updateDates:function(){this.dates=e.map(this.pickers,(function(e){return e.getUTCDate()})),this.updateRanges()},updateRanges:function(){var t=e.map(this.dates,(function(e){return e.valueOf()}));e.each(this.pickers,(function(e,n){n.setRange(t)}))},clearDates:function(){e.each(this.pickers,(function(e,t){t.clearDates()}))},dateUpdated:function(n){if(!this.updating){this.updating=!0;var c=e.data(n.target,"datepicker");if(c!==t){var r=c.getUTCDate(),a=this.keepEmptyValues,o=e.inArray(n.target,this.inputs),i=o-1,s=o+1,l=this.inputs.length;if(-1!==o){if(e.each(this.pickers,(function(e,t){t.getUTCDate()||t!==c&&a||t.setUTCDate(r)})),r=0&&rthis.dates[s])for(;sthis.dates[s];)this.pickers[s++].setUTCDate(r);this.updateDates(),delete this.updating}}}},destroy:function(){e.map(this.pickers,(function(e){e.destroy()})),e(this.inputs).off("changeDate",this.dateUpdated),delete this.element.data().datepicker},remove:a("destroy","Method `remove` is deprecated and will be removed in version 2.0. Use `destroy` instead")};var u=e.fn.datepicker,f=function(n){var c,r=Array.apply(null,arguments);if(r.shift(),this.each((function(){var t=e(this),a=t.data("datepicker"),i="object"==typeof n&&n;if(!a){var u=function(t,n){function c(e,t){return t.toLowerCase()}var r=e(t).data(),a={},o=new RegExp("^"+n.toLowerCase()+"([A-Z])");for(var i in n=new RegExp("^"+n.toLowerCase()),r)n.test(i)&&(a[i.replace(o,c)]=r[i]);return a}(this,"date"),f=o(e.extend({},d,u,i).language),h=e.extend({},d,f,u,i);t.hasClass("input-daterange")||h.inputs?(e.extend(h,{inputs:h.inputs||t.find("input").toArray()}),a=new l(this,h)):a=new s(this,h),t.data("datepicker",a)}"string"==typeof n&&"function"==typeof a[n]&&(c=a[n].apply(a,r))})),c===t||c instanceof s||c instanceof l)return this;if(this.length>1)throw new Error("Using only allowed for the collection of a single element ("+n+" function)");return c};e.fn.datepicker=f;var d=e.fn.datepicker.defaults={assumeNearbyYear:!1,autoclose:!1,beforeShowDay:e.noop,beforeShowMonth:e.noop,beforeShowYear:e.noop,beforeShowDecade:e.noop,beforeShowCentury:e.noop,calendarWeeks:!1,clearBtn:!1,toggleActive:!1,daysOfWeekDisabled:[],daysOfWeekHighlighted:[],datesDisabled:[],endDate:1/0,forceParse:!0,format:"mm/dd/yyyy",keepEmptyValues:!1,keyboardNavigation:!0,language:"en",minViewMode:0,maxViewMode:4,multidate:!1,multidateSeparator:",",orientation:"auto",rtl:!1,startDate:-1/0,startView:0,todayBtn:!1,todayHighlight:!1,updateViewDate:!0,weekStart:0,disableTouchKeyboard:!1,enableOnReadonly:!0,showOnFocus:!0,zIndexOffset:10,container:"body",immediateUpdates:!1,title:"",templates:{leftArrow:"«",rightArrow:"»"},showWeekDays:!0},h=e.fn.datepicker.locale_opts=["format","rtl","weekStart"];e.fn.datepicker.Constructor=s;var m=e.fn.datepicker.dates={en:{days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],daysMin:["Su","Mo","Tu","We","Th","Fr","Sa"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],today:"Today",clear:"Clear",titleFormat:"MM yyyy"}},p={viewModes:[{names:["days","month"],clsName:"days",e:"changeMonth"},{names:["months","year"],clsName:"months",e:"changeYear",navStep:1},{names:["years","decade"],clsName:"years",e:"changeDecade",navStep:10},{names:["decades","century"],clsName:"decades",e:"changeCentury",navStep:100},{names:["centuries","millennium"],clsName:"centuries",e:"changeMillennium",navStep:1e3}],validParts:/dd?|DD?|mm?|MM?|yy(?:yy)?/g,nonpunctuation:/[^ -\/:-@\u5e74\u6708\u65e5\[-`{-~\t\n\r]+/g,parseFormat:function(e){if("function"==typeof e.toValue&&"function"==typeof e.toDisplay)return e;var t=e.replace(this.validParts,"\0").split("\0"),n=e.match(this.validParts);if(!t||!t.length||!n||0===n.length)throw new Error("Invalid date format.");return{separators:t,parts:n}},parseDate:function(n,r,a,o){function i(){var e=this.slice(0,l[d].length),t=l[d].slice(0,e.length);return e.toLowerCase()===t.toLowerCase()}if(!n)return t;if(n instanceof Date)return n;if("string"==typeof r&&(r=p.parseFormat(r)),r.toValue)return r.toValue(n,r,a);var l,u,f,d,h,g={d:"moveDay",m:"moveMonth",w:"moveWeek",y:"moveYear"},v={yesterday:"-1d",today:"+0d",tomorrow:"+1d"};if(n in v&&(n=v[n]),/^[\-+]\d+[dmwy]([\s,]+[\-+]\d+[dmwy])*$/i.test(n)){for(l=n.match(/([\-+]\d+)([dmwy])/gi),n=new Date,d=0;d(new Date).getFullYear()+t&&(e-=100),e}(t,o):t)},m:function(e,t){if(isNaN(e))return e;for(t-=1;t<0;)t+=12;for(t%=12,e.setUTCMonth(t);e.getUTCMonth()!==t;)e.setUTCDate(e.getUTCDate()-1);return e},d:function(e,t){return e.setUTCDate(t)}};H.yy=H.yyyy,H.M=H.MM=H.mm=H.m,H.dd=H.d,n=c();var M=r.parts.slice();if(l.length!==M.length&&(M=e(M).filter((function(t,n){return-1!==e.inArray(n,C)})).toArray()),l.length===M.length){var V,L,w;for(d=0,V=M.length;d'+d.templates.leftArrow+''+d.templates.rightArrow+"",contTemplate:'',footTemplate:''};p.template='
    '+p.headTemplate+""+p.footTemplate+'
    '+p.headTemplate+p.contTemplate+p.footTemplate+'
    '+p.headTemplate+p.contTemplate+p.footTemplate+'
    '+p.headTemplate+p.contTemplate+p.footTemplate+'
    '+p.headTemplate+p.contTemplate+p.footTemplate+"
    ",e.fn.datepicker.DPGlobal=p,e.fn.datepicker.noConflict=function(){return e.fn.datepicker=u,this},e.fn.datepicker.version="1.9.0",e.fn.datepicker.deprecated=function(e){var t=window.console;t&&t.warn&&t.warn("DEPRECATED: "+e)},e(document).on("focus.datepicker.data-api click.datepicker.data-api",'[data-provide="datepicker"]',(function(t){var n=e(this);n.data("datepicker")||(t.preventDefault(),f.call(n,"show"))})),e((function(){f.call(e('[data-provide="datepicker-inline"]'))}))})),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e||self).autosize=t()}(this,(function(){var e=new Map;function t(t){var n=e.get(t);n&&n.destroy()}function n(t){var n=e.get(t);n&&n.update()}var c=null;return"undefined"==typeof window?((c=function(e){return e}).destroy=function(e){return e},c.update=function(e){return e}):((c=function(t,n){return t&&Array.prototype.forEach.call(t.length?t:[t],(function(t){return function(t){if(t&&t.nodeName&&"TEXTAREA"===t.nodeName&&!e.has(t)){var n,c=null,r=window.getComputedStyle(t),a=(n=t.value,function(){i({testForHeightReduction:""===n||!t.value.startsWith(n),restoreTextAlign:null}),n=t.value}),o=function(n){t.removeEventListener("autosize:destroy",o),t.removeEventListener("autosize:update",s),t.removeEventListener("input",a),window.removeEventListener("resize",s),Object.keys(n).forEach((function(e){return t.style[e]=n[e]})),e.delete(t)}.bind(t,{height:t.style.height,resize:t.style.resize,textAlign:t.style.textAlign,overflowY:t.style.overflowY,overflowX:t.style.overflowX,wordWrap:t.style.wordWrap});t.addEventListener("autosize:destroy",o),t.addEventListener("autosize:update",s),t.addEventListener("input",a),window.addEventListener("resize",s),t.style.overflowX="hidden",t.style.wordWrap="break-word",e.set(t,{destroy:o,update:s}),s()}function i(e){var n,a,o=e.restoreTextAlign,s=void 0===o?null:o,l=e.testForHeightReduction,u=void 0===l||l,f=r.overflowY;if(0!==t.scrollHeight&&("vertical"===r.resize?t.style.resize="none":"both"===r.resize&&(t.style.resize="horizontal"),u&&(n=function(e){for(var t=[];e&&e.parentNode&&e.parentNode instanceof Element;)e.parentNode.scrollTop&&t.push([e.parentNode,e.parentNode.scrollTop]),e=e.parentNode;return function(){return t.forEach((function(e){var t=e[0],n=e[1];t.style.scrollBehavior="auto",t.scrollTop=n,t.style.scrollBehavior=null}))}}(t),t.style.height=""),a="content-box"===r.boxSizing?t.scrollHeight-(parseFloat(r.paddingTop)+parseFloat(r.paddingBottom)):t.scrollHeight+parseFloat(r.borderTopWidth)+parseFloat(r.borderBottomWidth),"none"!==r.maxHeight&&a>parseFloat(r.maxHeight)?("hidden"===r.overflowY&&(t.style.overflow="scroll"),a=parseFloat(r.maxHeight)):"hidden"!==r.overflowY&&(t.style.overflow="hidden"),t.style.height=a+"px",s&&(t.style.textAlign=s),n&&n(),c!==a&&(t.dispatchEvent(new Event("autosize:resized",{bubbles:!0})),c=a),f!==r.overflow&&!s)){var d=r.textAlign;"hidden"===r.overflow&&(t.style.textAlign="start"===d?"end":"start"),i({restoreTextAlign:d,testForHeightReduction:!0})}}function s(){i({testForHeightReduction:!0,restoreTextAlign:null})}}(t)})),t}).destroy=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],t),e},c.update=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],n),e}),c})),function(e,t){var n=e();e.fn.dropdownHover=function(c){return"ontouchstart"in document?this:(n=n.add(this.parent()),this.each((function(){function r(){i.parents(".navbar").find(".navbar-toggle").is(":visible")||(t.clearTimeout(a),t.clearTimeout(o),o=t.setTimeout((function(){n.find(":focus").blur(),!0===f.instantlyCloseOthers&&n.removeClass("open"),t.clearTimeout(o),i.attr("aria-expanded","true"),s.addClass("open"),i.trigger(u)}),f.hoverDelay))}var a,o,i=e(this),s=i.parent(),l={delay:e(this).data("delay"),hoverDelay:e(this).data("hover-delay"),instantlyCloseOthers:e(this).data("close-others")},u="show.bs.dropdown",f=e.extend(!0,{},{delay:500,hoverDelay:0,instantlyCloseOthers:!0},c,l);s.hover((function(e){return!s.hasClass("open")&&!i.is(e.target)||void r()}),(function(){t.clearTimeout(o),a=t.setTimeout((function(){i.attr("aria-expanded","false"),s.removeClass("open"),i.trigger("hide.bs.dropdown")}),f.delay)})),i.hover((function(e){return!s.hasClass("open")&&!s.is(e.target)||void r()})),s.find(".dropdown-submenu").each((function(){var n,c=e(this);c.hover((function(){t.clearTimeout(n),c.children(".dropdown-menu").show(),c.siblings().children(".dropdown-menu").hide()}),(function(){var e=c.children(".dropdown-menu");n=t.setTimeout((function(){e.hide()}),f.delay)}))}))})))},e(document).ready((function(){e('[data-hover="dropdown"]').dropdownHover()}))}(jQuery,window),function(e){"use strict";var t=function(n,c){this.$element=e(n),this.options=e.extend({},t.defaults,c)};t.defaults={transition_delay:300,refresh_speed:50,display_text:"none",use_percentage:!0,percent_format:function(e){return e+"%"},amount_format:function(e,t){return e+" / "+t},update:e.noop,done:e.noop,fail:e.noop},t.prototype.transition=function(){var n=this.$element,c=n.parent(),r=this.$back_text,a=this.$front_text,o=this.options,i=parseInt(n.attr("data-transitiongoal")),s=parseInt(n.attr("aria-valuemin"))||0,l=parseInt(n.attr("aria-valuemax"))||100,u=c.hasClass("vertical"),f=o.update&&"function"==typeof o.update?o.update:t.defaults.update,d=o.done&&"function"==typeof o.done?o.done:t.defaults.done,h=o.fail&&"function"==typeof o.fail?o.fail:t.defaults.fail;if(isNaN(i))h("data-transitiongoal not set");else{var m,p=Math.round(100*(i-s)/(l-s));if("center"===o.display_text&&!r&&!a)this.$back_text=r=e("").addClass("progressbar-back-text").prependTo(c),this.$front_text=a=e("").addClass("progressbar-front-text").prependTo(n),u?(m=c.css("height"),r.css({height:m,"line-height":m}),a.css({height:m,"line-height":m}),e(window).resize((function(){m=c.css("height"),r.css({height:m,"line-height":m}),a.css({height:m,"line-height":m})}))):(m=c.css("width"),a.css({width:m}),e(window).resize((function(){m=c.css("width"),a.css({width:m})})));setTimeout((function(){var e,t,h,m,g;u?n.css("height",p+"%"):n.css("width",p+"%");var v=setInterval((function(){u?(h=n.height(),m=c.height()):(h=n.width(),m=c.width()),e=Math.round(100*h/m),t=Math.round(s+h/m*(l-s)),e>=p&&(e=p,t=i,d(n),clearInterval(v)),"none"!==o.display_text&&(g=o.use_percentage?o.percent_format(e):o.amount_format(t,l,s),"fill"===o.display_text?n.text(g):"center"===o.display_text&&(r.text(g),a.text(g))),n.attr("aria-valuenow",t),f(e,n)}),o.refresh_speed)}),o.transition_delay)}};var n=e.fn.progressbar;e.fn.progressbar=function(n){return this.each((function(){var c=e(this),r=c.data("bs.progressbar"),a="object"==typeof n&&n;r&&a&&e.extend(r.options,a),r||c.data("bs.progressbar",r=new t(this,a)),r.transition()}))},e.fn.progressbar.Constructor=t,e.fn.progressbar.noConflict=function(){return e.fn.progressbar=n,this}}(window.jQuery);var _extends=Object.assign||function(e){for(var t=1;te.addpos2&&(e.addpos2=t.offsetHeight);break;case"left":case"right":t.offsetWidth+(parseFloat(t.style.marginLeft,10)||0)+(parseFloat(t.style.marginRight,10)||0)>e.addpos2&&(e.addpos2=t.offsetWidth)}}else if(e.dir1){var m=void 0,p=void 0;switch(e.dir1){case"down":case"up":p=["left","right"],m=e.context.scrollWidth/2-t.offsetWidth/2;break;case"left":case"right":p=["top","bottom"],m=o/2-t.offsetHeight/2}t.style[p[0]]=m+"px",t.style[p[1]]="auto",e.animation||t.style[p[0]]}if(e.dir1)switch("number"==typeof e.nextpos1&&(t.style[s]=e.nextpos1+"px",e.animation||t.style[s]),e.dir1){case"down":case"up":e.nextpos1+=t.offsetHeight+(void 0===e.spacing1?25:e.spacing1);break;case"left":case"right":e.nextpos1+=t.offsetWidth+(void 0===e.spacing1?25:e.spacing1)}else{var g=i/2-t.offsetWidth/2,v=o/2-t.offsetHeight/2;t.style.left=g+"px",t.style.top=v+"px",e.animation||t.style.left}return this}},queuePosition:function(e){return r&&clearTimeout(r),e=e||10,r=setTimeout((function(){c.positionAll()}),e),this},cancelRemove:function(){return this.cancelClose()},cancelClose:function(){var e=this.get(),t=e._timer,n=e._animTimer,c=e._state,r=e.animation;return t&&clearTimeout(t),n&&clearTimeout(n),"closing"===c&&this.set({_state:"open",_animating:!1,_animatingClass:"fade"===r?"ui-pnotify-in ui-pnotify-fade-in":"ui-pnotify-in"}),this},queueRemove:function(){return this.queueClose()},queueClose:function(){var e=this;return this.cancelClose(),this.set({_timer:setTimeout((function(){return e.close(!0)}),isNaN(this.get().delay)?0:this.get().delay)}),this},addModuleClass:function(){for(var e=this.get()._moduleClasses,t=arguments.length,n=Array(t),c=0;c .ui-pnotify{position:fixed;z-index:100040}body > .ui-pnotify.ui-pnotify-modal{z-index:100042}.ui-pnotify{position:absolute;height:auto;z-index:1;display:none}.ui-pnotify.ui-pnotify-modal{z-index:3}.ui-pnotify.ui-pnotify-in{display:block}.ui-pnotify.ui-pnotify-initial-hidden{display:block;visibility:hidden}.ui-pnotify.ui-pnotify-move{transition:left .5s ease, top .5s ease, right .5s ease, bottom .5s ease}.ui-pnotify.ui-pnotify-fade-slow{transition:opacity .4s linear;opacity:0}.ui-pnotify.ui-pnotify-fade-slow.ui-pnotify.ui-pnotify-move{transition:opacity .4s linear, left .5s ease, top .5s ease, right .5s ease, bottom .5s ease}.ui-pnotify.ui-pnotify-fade-normal{transition:opacity .25s linear;opacity:0}.ui-pnotify.ui-pnotify-fade-normal.ui-pnotify.ui-pnotify-move{transition:opacity .25s linear, left .5s ease, top .5s ease, right .5s ease, bottom .5s ease}.ui-pnotify.ui-pnotify-fade-fast{transition:opacity .1s linear;opacity:0}.ui-pnotify.ui-pnotify-fade-fast.ui-pnotify.ui-pnotify-move{transition:opacity .1s linear, left .5s ease, top .5s ease, right .5s ease, bottom .5s ease}.ui-pnotify.ui-pnotify-fade-in{opacity:1}.ui-pnotify .ui-pnotify-shadow{-webkit-box-shadow:0px 6px 28px 0px rgba(0,0,0,0.1);-moz-box-shadow:0px 6px 28px 0px rgba(0,0,0,0.1);box-shadow:0px 6px 28px 0px rgba(0,0,0,0.1)}.ui-pnotify-container{background-position:0 0;padding:.8em;height:100%;margin:0}.ui-pnotify-container:after{content:" ";visibility:hidden;display:block;height:0;clear:both}.ui-pnotify-container.ui-pnotify-sharp{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}.ui-pnotify-title{display:block;white-space:pre-line;margin-bottom:.4em;margin-top:0}.ui-pnotify.ui-pnotify-with-icon .ui-pnotify-title,.ui-pnotify.ui-pnotify-with-icon .ui-pnotify-text{margin-left:24px}[dir=rtl] .ui-pnotify.ui-pnotify-with-icon .ui-pnotify-title,[dir=rtl] .ui-pnotify.ui-pnotify-with-icon .ui-pnotify-text{margin-right:24px;margin-left:0}.ui-pnotify-title-bs4{font-size:1.2rem}.ui-pnotify-text{display:block;white-space:pre-line}.ui-pnotify-icon,.ui-pnotify-icon span{display:block;float:left}[dir=rtl] .ui-pnotify-icon,[dir=rtl] .ui-pnotify-icon span{float:right}.ui-pnotify-icon-bs3 > span{position:relative;top:2px}.ui-pnotify-icon-bs4 > span{position:relative;top:4px}.ui-pnotify-modal-overlay{background-color:rgba(0, 0, 0, .4);top:0;left:0;position:absolute;height:100%;width:100%;z-index:2}body > .ui-pnotify-modal-overlay{position:fixed;z-index:100041}',z(document.head,a)),this._fragment=function(e,t){for(var n,c,r,a,f,d,m,p,v,k=[],S=y(),A=[],T=y(),D=t._modulesPrependContainer,E=function(e){return e.module.key},N=0;Ny[S]?(L[k]=!0,w(_)):(V[S]=!0,m--):(l(x,i),m--)}for(;m--;)z[(x=e[m]).key]||l(x,i);for(;p;)w(b[p-1]);return b}function w(e,t){e.d(1),t[e.key]=null}function _(e){e.parentNode.removeChild(e)}function x(e,t,n,c){e.removeEventListener(t,n,c)}function k(){return document.createComment("")}function S(e,t){e.data=""+t}function A(e,t){for(;e.nextSibling&&e.nextSibling!==t;)e.parentNode.removeChild(e.nextSibling)}function T(e,t){for(var n in t)e[n]=t[n];return e}function D(e){e._lock=!0,E(e._beforecreate),E(e._oncreate),E(e._aftercreate),e._lock=!1}function E(e){for(;e&&e.length;)e.shift()()}function N(){}return T(v.prototype,{destroy:function(e){this.destroy=N,this.fire("destroy"),this.set=N,this._fragment.d(!1!==e),this._fragment=null,this._state={}},get:function(){return this._state},fire:function(e,t){var n=e in this._handlers&&this._handlers[e].slice();if(n)for(var c=0;c [ui-pnotify].ui-pnotify.ui-pnotify-mobile-able{position:fixed}[ui-pnotify].ui-pnotify.ui-pnotify-mobile-able.ui-pnotify-mobile-top,[ui-pnotify].ui-pnotify.ui-pnotify-mobile-able.ui-pnotify-mobile-bottom{width:100% !important}[ui-pnotify].ui-pnotify.ui-pnotify-mobile-able.ui-pnotify-mobile-left,[ui-pnotify].ui-pnotify.ui-pnotify-mobile-able.ui-pnotify-mobile-right{height:100% !important}[ui-pnotify].ui-pnotify.ui-pnotify-mobile-able .ui-pnotify-shadow{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}[ui-pnotify].ui-pnotify.ui-pnotify-mobile-able.ui-pnotify-mobile-top .ui-pnotify-shadow{border-bottom-width:5px}[ui-pnotify].ui-pnotify.ui-pnotify-mobile-able.ui-pnotify-mobile-bottom .ui-pnotify-shadow{border-top-width:5px}[ui-pnotify].ui-pnotify.ui-pnotify-mobile-able.ui-pnotify-mobile-left .ui-pnotify-shadow{border-right-width:5px}[ui-pnotify].ui-pnotify.ui-pnotify-mobile-able.ui-pnotify-mobile-right .ui-pnotify-shadow{border-left-width:5px}[ui-pnotify].ui-pnotify.ui-pnotify-mobile-able .ui-pnotify-container{-webkit-border-radius:0;-moz-border-radius:0;border-radius:0}[ui-pnotify].ui-pnotify.ui-pnotify-mobile-able.ui-pnotify-mobile-top .ui-pnotify-container,[ui-pnotify].ui-pnotify.ui-pnotify-mobile-able.ui-pnotify-mobile-bottom .ui-pnotify-container{width:auto !important}[ui-pnotify].ui-pnotify.ui-pnotify-mobile-able.ui-pnotify-mobile-left .ui-pnotify-container,[ui-pnotify].ui-pnotify.ui-pnotify-mobile-able.ui-pnotify-mobile-right .ui-pnotify-container{height:100% !important}}",e=t,document.head.appendChild(e)}(),this._fragment=(this._state,{c:r,m:r,p:r,d:r}),this.root._oncreate.push((function(){(function(){this.set({_doMobileStylingBound:this.doMobileStyling.bind(this)})}).call(s),s.fire("update",{changed:function(e,t){for(var n in t)e[n]=1;return e}({},s._state),current:s._state})})),t.target&&(this._fragment.c(),this._mount(t.target,t.anchor),o(this))}function r(){}function a(e,t){for(var n in t)e[n]=t[n];return e}function o(e){e._lock=!0,s(e._beforecreate),s(e._oncreate),s(e._aftercreate),e._lock=!1}function i(){return Object.create(null)}function s(e){for(;e&&e.length;)e.shift()()}return a(c.prototype,{destroy:function(e){this.destroy=r,this.fire("destroy"),this.set=r,this._fragment.d(!1!==e),this._fragment=null,this._state={}},get:function(){return this._state},fire:function(e,t){var n=e in this._handlers&&this._handlers[e].slice();if(n)for(var c=0;cn){for(var a="top"===r.push,o=[],i=0,s=a?0:e.notices.length-1;a?s=n.length&&e.substr(0,0+n.length)===n;var n},Qe=Te(/^\s+|\s+$/g),Ke=Te(/^\s+/g),Je=Te(/\s+$/g),et=/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,tt={browsers:f([{name:"Edge",versionRegexes:[/.*?edge\/ ?([0-9]+)\.([0-9]+)$/],search:function(e){return Ae(e,"edge/")&&Ae(e,"chrome")&&Ae(e,"safari")&&Ae(e,"applewebkit")}},{name:"Chrome",brand:"Chromium",versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/,et],search:function(e){return Ae(e,"chrome")&&!Ae(e,"chromeframe")}},{name:"IE",versionRegexes:[/.*?msie\ ?([0-9]+)\.([0-9]+).*/,/.*?rv:([0-9]+)\.([0-9]+).*/],search:function(e){return Ae(e,"msie")||Ae(e,"trident")}},{name:"Opera",versionRegexes:[et,/.*?opera\/([0-9]+)\.([0-9]+).*/],search:Ne("opera")},{name:"Firefox",versionRegexes:[/.*?firefox\/\ ?([0-9]+)\.([0-9]+).*/],search:Ne("firefox")},{name:"Safari",versionRegexes:[et,/.*?cpu os ([0-9]+)_([0-9]+).*/],search:function(e){return(Ae(e,"safari")||Ae(e,"mobile/"))&&Ae(e,"applewebkit")}}]),oses:f([{name:"Windows",search:Ne("win"),versionRegexes:[/.*?windows\ nt\ ?([0-9]+)\.([0-9]+).*/]},{name:"iOS",search:function(e){return Ae(e,"iphone")||Ae(e,"ipad")},versionRegexes:[/.*?version\/\ ?([0-9]+)\.([0-9]+).*/,/.*cpu os ([0-9]+)_([0-9]+).*/,/.*cpu iphone os ([0-9]+)_([0-9]+).*/]},{name:"Android",search:Ne("android"),versionRegexes:[/.*?android\ ?([0-9]+)\.([0-9]+).*/]},{name:"OSX",search:Ne("mac os x"),versionRegexes:[/.*?mac\ os\ x\ ?([0-9]+)_([0-9]+).*/]},{name:"Linux",search:Ne("linux"),versionRegexes:[]},{name:"Solaris",search:Ne("sunos"),versionRegexes:[]},{name:"FreeBSD",search:Ne("freebsd"),versionRegexes:[]},{name:"ChromeOS",search:Ne("cros"),versionRegexes:[/.*?chrome\/([0-9]+)\.([0-9]+).*/]}])},nt="Firefox",ct=function(){return Ue({current:void 0,version:Xe.unknown()})},rt=Ue,at=(f("Edge"),f("Chrome"),f("IE"),f("Opera"),f(nt),f("Safari"),"Windows"),ot="Android",it="Solaris",st="FreeBSD",lt="ChromeOS",ut=function(){return We({current:void 0,version:Xe.unknown()})},ft=We,dt=(f(at),f("iOS"),f(ot),f("Linux"),f("OSX"),f(it),f(st),f(lt),ke((function(){return e=navigator.userAgent,t=ve.from(navigator.userAgentData),n=Oe,g=tt.browsers(),v=tt.oses(),b=t.bind((function(e){return t=g,te(e.brands,(function(e){var n=e.brand.toLowerCase();return U(t,(function(e){var t;return n===(null===(t=e.brand)||void 0===t?void 0:t.toLowerCase())})).map((function(t){return{current:t.name,version:Xe.nu(parseInt(e.version,10),0)}}))}));var t})).orThunk((function(){return Se(g,t=e).map((function(e){var n=Xe.detect(e.versionRegexes,t);return{current:e.name,version:n}}));var t})).fold(ct,rt),z=Se(v,c=e).map((function(e){var t=Xe.detect(e.versionRegexes,c);return{current:e.name,version:t}})).fold(ut,ft),{browser:b,os:z,deviceType:(a=b,o=e,i=n,s=(r=z).isiOS()&&!0===/ipad/i.test(o),l=r.isiOS()&&!s,d=(u=r.isiOS()||r.isAndroid())||i("(pointer:coarse)"),h=s||!l&&u&&i("(min-device-width:768px)"),m=l||u&&!h,p=a.isSafari()&&r.isiOS()&&!1===/safari/i.test(o),{isiPad:f(s),isiPhone:f(l),isTablet:f(h),isPhone:f(m),isTouch:f(d),isAndroid:r.isAndroid,isiOS:r.isiOS,isWebView:f(p),isDesktop:f(!m&&!h&&!p)})};var e,t,n,c,r,a,o,i,s,l,u,d,h,m,p,g,v,b,z}))),ht=navigator.userAgent,mt=dt(),pt=mt.browser,gt=mt.os,vt=mt.deviceType,bt=/WebKit/.test(ht)&&!pt.isEdge(),zt="FormData"in window&&"FileReader"in window&&"URL"in window&&!!URL.createObjectURL,yt=-1!==ht.indexOf("Windows Phone"),Ct={opera:pt.isOpera(),webkit:bt,ie:!(!pt.isIE()&&!pt.isEdge())&&pt.version.major,gecko:pt.isFirefox(),mac:gt.isOSX()||gt.isiOS(),iOS:vt.isiPad()||vt.isiPhone(),android:gt.isAndroid(),contentEditable:!0,transparentSrc:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",caretAfter:!0,range:window.getSelection&&"Range"in window,documentMode:pt.isIE()?document.documentMode||7:10,fileApi:zt,ceFalse:!0,cacheSuffix:null,container:null,experimentalShadowDom:!1,canHaveCSP:!pt.isIE(),desktop:vt.isDesktop(),windowsPhone:yt,browser:{current:pt.current,version:pt.version,isChrome:pt.isChrome,isEdge:pt.isEdge,isFirefox:pt.isFirefox,isIE:pt.isIE,isOpera:pt.isOpera,isSafari:pt.isSafari},os:{current:gt.current,version:gt.version,isAndroid:gt.isAndroid,isChromeOS:gt.isChromeOS,isFreeBSD:gt.isFreeBSD,isiOS:gt.isiOS,isLinux:gt.isLinux,isOSX:gt.isOSX,isSolaris:gt.isSolaris,isWindows:gt.isWindows},deviceType:{isDesktop:vt.isDesktop,isiPad:vt.isiPad,isiPhone:vt.isiPhone,isPhone:vt.isPhone,isTablet:vt.isTablet,isTouch:vt.isTouch,isWebView:vt.isWebView}},Ht=/^\s*|\s*$/g,Mt=function(e,t,n,c){c=c||this,e&&le(e=n?e[n]:e,(function(e,r){return!1!==t.call(c,e,r,n)&&void Mt(e,t,n,c)}))},Vt={trim:Pe,isArray:we,is:Re,toArray:function(e){if(we(e))return e;for(var t=[],n=0,c=e.length;n=r.length&&e(t)}))}))})).get((function(e){var c=B(e,(function(e){return e.isValue()}));0'),qt(o.element,i),Rf(i,(function(){return En(i)})));Bf(e,a,t,s,c),s.cleanup()},Ld=function(e,t,n){var c=n.startContainer,r=n.startOffset,a=n.endContainer,o=n.endOffset;t(Lt.fromDom(c),Lt.fromDom(a));var i=e.dom.createRng();i.setStart(c,r),i.setEnd(a,o),e.selection.setRng(n)},wd=cc([{before:["element"]},{on:["element","offset"]},{after:["element"]}]),_d=(wd.before,wd.on,wd.after,function(e){return e.fold(d,d,d)}),xd=cc([{domRange:["rng"]},{relative:["startSitu","finishSitu"]},{exact:["start","soffset","finish","foffset"]}]),kd={domRange:xd.domRange,relative:xd.relative,exact:xd.exact,exactFromRange:function(e){return xd.exact(e.start,e.soffset,e.finish,e.foffset)},getWin:function(e){return At(e.match({domRange:function(e){return Lt.fromDom(e.startContainer)},relative:function(e,t){return _d(e)},exact:function(e,t,n,c){return e}}))},range:function(e,t,n,c){return{start:e,soffset:t,finish:n,foffset:c}}},Sd=dt().browser,Ad={isEditorUIElement:function(e){var t=e.className.toString();return-1!==t.indexOf("tox-")||-1!==t.indexOf("mce-")}},Td=Qo.DOM,Dd=function(e){return e.editorManager.setActive(e)},Ed={"#text":3,"#comment":8,"#cdata":4,"#pi":7,"#doctype":10,"#document-fragment":11},Nd=(Od.create=function(e,t){var n=new Od(e,Ed[e]||1);return t&&ne(t,(function(e,t){n.attr(t,e)})),n},Od.prototype.replace=function(e){return e.parent&&e.remove(),this.insert(e,this),this.remove(),this},Od.prototype.attr=function(e,t){var n,c=this;if("string"!=typeof e)return null!=e&&ne(e,(function(e,t){c.attr(t,e)})),c;if(n=c.attributes){if(void 0===t)return n.map[e];if(null===t){if(e in n.map){delete n.map[e];for(var r=n.length;r--;)if(n[r].name===e)return n.splice(r,1),c}return c}if(e in n.map){for(r=n.length;r--;)if(n[r].name===e){n[r].value=t;break}}else n.push({name:e,value:t});return n.map[e]=t,c}},Od.prototype.clone=function(){var e,t=new Od(this.name,this.type);if(e=this.attributes){var n=[];n.map={};for(var c=0,r=e.length;c=i.length)for(n=0,c=o.length;n=i.length||o[n]!==i[n]){r=n+1;break}if(o.length=o.length||o[n]!==i[n]){r=n+1;break}if(1===r)return t;for(n=0,c=o.length-(r-1);n]+(?:"[^"]*"|'[^']*'))*[^"'>]*(?:"[^">]*|'[^'>]*)?|\s*|\/)>/g,a=e.getShortEndedElements(),o=1,i=n;0!==o;)for(c.lastIndex=i;;){var s=c.exec(t);if(null===s)return i;if("!"===s[1]){i=Ge(s[2],"--")?Xd(t,!1,s.index+3):Xd(t,!0,s.index+1);break}r.lastIndex=c.lastIndex;var l=r.exec(t);if(!y(l)&&l.index===c.lastIndex){"/"===s[1]?--o:Le(a,s[2])||(o+=1),i=c.lastIndex+l[0].length;break}}return i}function Wd(e,t){void 0===t&&(t=tr()),e=e||{};var n=Zd(),c=n.createElement("form");!1!==e.fix_self_closing&&(e.fix_self_closing=!0);var r=e.comment||s,a=e.cdata||s,o=e.text||s,i=e.start||s,l=e.end||s,u=e.pi||s,f=e.doctype||s;return{parse:function(s,d){void 0===d&&(d="html"),function(s,d){void 0===d&&(d="html");for(var h,m,p,g,v,b,z,y,C,H,M,V,L,w,_,x,k,S,A,T=s.html,D=0,E=[],N=0,O=Xr.decode,P=Vt.makeMap("src,href,data,background,action,formaction,poster,xlink:href"),R="html"===d?0:1,I=function(e){for(var t,n=E.length;n--&&E[n].name!==e;);if(0<=n){for(t=E.length-1;n<=t;t--)(e=E[t]).valid&&l(e.name);E.length=n}},B=function(e,t){return o(Pd(e,s),t)},j=function(t){""!==t&&(">"===t.charAt(0)&&(t=" "+t),e.allow_conditional_comments||"[if"!==t.substr(0,3).toLowerCase()||(t=" "+t),r(Pd(t,s)))},$=function(e,t){var n=e||"",c=!Ge(n,"--"),r=Xd(T,c,t);return e=T.substr(t,r-t),j(c?n+e:e),r+1},F=new RegExp("<(?:(?:!--([\\w\\W]*?)--!?>)|(?:!\\[CDATA\\[([\\w\\W]*?)\\]\\]>)|(?:![Dd][Oo][Cc][Tt][Yy][Pp][Ee]([\\w\\W]*?)>)|(?:!(--)?)|(?:\\?([^\\s\\/<>]+) ?([\\w\\W]*?)[?/]>)|(?:\\/([A-Za-z][A-Za-z0-9\\-_\\:\\.]*)>)|(?:([A-Za-z][A-Za-z0-9\\-_:.]*)(\\s(?:[^'\">]+(?:\"[^\"]*\"|'[^']*'))*[^\"'>]*(?:\"[^\">]*|'[^'>]*)?|\\s*|\\/)>))","g"),q=/([\w:\-]+)(?:\s*=\s*(?:(?:\"((?:[^\"])*)\")|(?:\'((?:[^\'])*)\')|([^>\s]+)))?/g,U=t.getShortEndedElements(),W=e.self_closing_elements||t.getSelfClosingElements(),Y=t.getBoolAttrs(),Z=e.validate,X=e.remove_internals,G=e.fix_self_closing,Q=t.getSpecialElements(),K=T+">";h=F.exec(K);){var J=h[0];if(DT.length){B(O(T.substr(h.index))),D=h.index+J.length;continue}C=(m=":"===(m=m.toLowerCase()).charAt(0)?m.substr(1):m)in U,G&&W[m]&&0.*/.test(c.substr(i)))){var r=c.indexOf("[endif]",n);return c.indexOf(">",r)}if(t){var a=c.indexOf(">",n);return-1!==a?a:c.length}var o=/--!?>/g;o.lastIndex=n;var i,s=o.exec(e);return s?s.index+s[0].length:c.length};function Gd(e,t){for(var n,c,r,a,o=/<(\w+) [^>]*data-mce-bogus="all"[^>]*>/g,i=e.schema,s=(n=e.getTempAttrs(),c=t,r=new RegExp(["\\s?("+n.join("|")+')="[^"]+"'].join("|"),"gi"),c.replace(r,"")),l=i.getShortEndedElements();a=o.exec(s);){var u=o.lastIndex,f=a[0].length,d=l[a[1]]?u:Wd.findEndTag(i,s,u);s=s.substring(0,u-f)+s.substring(d);o.lastIndex=u-f}return Cr(s)}function Qd(e){return{compare:function(t,n){return t.nodeName===n.nodeName&&!(!r(c(t),c(n))||!r(e.parseStyle(e.getAttrib(t,"style")),e.parseStyle(e.getAttrib(n,"style")))||Yl(t)||Yl(n));function c(t){var n={};return th(e.getAttribs(t),(function(c){var r=c.nodeName.toLowerCase();0!==r.indexOf("_")&&"style"!==r&&0!==r.indexOf("data-")&&(n[r]=e.getAttrib(t,r))})),n}function r(e,t){var n,c;for(c in e)if(Le(e,c)){if(void 0===(n=t[c]))return;if(e[c]!==n)return;delete t[c]}for(c in t)if(Le(t,c))return;return 1}}}}function Kd(e){var t=[],n=(e=e||{}).indent,c=nh(e.indent_before||""),r=nh(e.indent_after||""),a=Xr.getEncodeFunc(e.entity_encoding||"raw",e.entities),o="html"===e.element_format;return{start:function(e,i,s){var l,u,f,d;if(n&&c[e]&&0":" />",s&&n&&r[e]&&0"),n&&r[e]&&0")},comment:function(e){t.push("\x3c!--",e,"--\x3e")},pi:function(e,c){c?t.push(""):t.push(""),n&&t.push("\n")},doctype:function(e){t.push("",n?"\n":"")},reset:function(){t.length=0},getContent:function(){return t.join("").replace(/\n$/,"")}}}function Jd(e,t){void 0===t&&(t=tr());var n=Kd(e);return(e=e||{}).validate=!("validate"in e)||e.validate,{serialize:function(c){var r=e.validate,a={3:function(e){n.text(e.value,e.raw)},8:function(e){n.comment(e.value)},7:function(e){n.pi(e.name,e.value)},10:function(e){n.doctype(e.value)},4:function(e){n.cdata(e.value)},11:function(e){if(e=e.firstChild)for(;o(e),e=e.next;);}};n.reset();var o=function(e){var c=a[e.type];if(c)c(e);else{var i=e.name,s=e.shortEnded,l=e.attributes;if(r&&l&&1'))}function fh(e){It(e).each((function(t){Dt(t).each((function(n){ur(e)&&Ac(t)&&ur(n)&&En(t)}))}))}function dh(e,t){return r=S,Fe(c=t,n=e)?function(e,t){for(var n=M(t)?t:S,c=e.dom,r=[];null!==c.parentNode&&void 0!==c.parentNode;){var a=c.parentNode,o=Lt.fromDom(a);if(r.push(o),!0===n(o))break;c=a}return r}(n,(function(e){return r(e)||$e(e,c)})).slice(0,-1):[];var n,c,r}function hh(e,t){return[e].concat(dh(e,t))}function mh(e,t,n){return Zu(e,t,n,oh)}function ph(e,t){return U(hh(Lt.fromDom(t.container()),e),ur)}function gh(e,t,n){return mh(e,t.dom,n).forall((function(e){return ph(t,n).fold((function(){return!1===Ys(e,n,t.dom)}),(function(c){return!1===Ys(e,n,t.dom)&&Fe(c,Lt.fromDom(e.container()))}))}))}function vh(e,t,n){return ph(t,n).fold((function(){return mh(e,t.dom,n).forall((function(e){return!1===Ys(e,n,t.dom)}))}),(function(t){return mh(e,t.dom,n).isNone()}))}function bh(e){return el(e).exists(Ac)}function zh(e,t,n){var c=J(j(hh(Lt.fromDom(n.container()),t),ur)).getOr(t);return Yu(e,c.dom,n).filter(bh)}function yh(e,t){return el(t).exists(Ac)||zh(!0,e,t).isSome()}function Ch(e,t){return ve.from(t.getNode(!0)).map(Lt.fromDom).exists(Ac)||zh(!1,e,t).isSome()}function Hh(e){return as.isTextPosition(e)&&!e.isAtStart()&&!e.isAtEnd()}function Mh(e,t){return J(j(hh(Lt.fromDom(t.container()),e),ur)).getOr(e)}function Vh(e,t){return Hh(t)?Pm(t):Pm(t)||Gu(Mh(e,t).dom,t).exists(Pm)}function Lh(e,t){return Hh(t)?Om(t):Om(t)||Xu(Mh(e,t).dom,t).exists(Om)}function wh(e){return el(e).bind((function(e){return mc(e,Ln)})).exists((function(e){return N(["pre","pre-wrap"],yn(e,"white-space"))}))}function _h(e,t){return!wh(t)&&(Wm(e,t)||Zm(e,t)||Ch(e,t)||Vh(e,t))}function xh(e,t){return!wh(t)&&(Ym(e,t)||Xm(e,t)||yh(e,t)||Lh(e,t))}function kh(e,t){return _h(e,t)||xh(e,(c=(n=t).container(),r=n.offset(),jn(c)&&r=e.data.length&&xh(r,as(e,e.data.length)),i=0===t&&_h(r,as(e,0)),e.replaceData(t,n,(l=i,u=o,F(s=a,(function(e,t){return Zl(t)||tf(t)?e.previousCharIsSpace||""===e.str&&l||e.str.length===s.length-1&&u?{previousCharIsSpace:!1,str:e.str+br}:{previousCharIsSpace:!0,str:e.str+" "}:{previousCharIsSpace:!1,str:e.str+t}}),{previousCharIsSpace:!1,str:""}).str)))}function Eh(e,t){var n=e.data.slice(t);Dh(e,t,n.length-Ke(n).length)}function Nh(e,t){var n=e.data.slice(0,t),c=n.length-Je(n).length;Dh(e,t-c,c)}function Oh(e,t,n,c){void 0===c&&(c=!0);var r=Je(e.data).length,a=c?e:t,o=c?t:e;return c?a.appendData(o.data):a.insertData(0,o.data),En(Lt.fromDom(o)),n&&Eh(a,r),a}function Ph(e,t){return c=e,r=(n=t).container(),a=n.offset(),!1===as.isTextPosition(n)&&r===c.parentNode&&a>as.before(c).offset()?as(t.container(),t.offset()-1):t;var n,c,r,a}function Rh(e){return Bc(e.previousSibling)?ve.some((t=e.previousSibling,jn(t)?as(t,t.data.length):as.after(t))):e.previousSibling?Ku(e.previousSibling):ve.none();var t}function Ih(e){return Bc(e.nextSibling)?ve.some((t=e.nextSibling,jn(t)?as(t,0):as.before(t))):e.nextSibling?Qu(e.nextSibling):ve.none();var t}function Bh(e,t){return Rh(t).orThunk((function(){return Ih(t)})).orThunk((function(){return n=e,r=as.before((c=t).previousSibling||c.parentNode),Gu(n,r).fold((function(){return Xu(n,as.after(c))}),ve.some);var n,c,r}))}function jh(e,t){return Ih(t).orThunk((function(){return Rh(t)})).orThunk((function(){return Xu(n=e,as.after(c=t)).fold((function(){return Gu(n,as.before(c))}),ve.some);var n,c}))}function $h(e,t,n){n.fold((function(){e.focus()}),(function(n){e.selection.setRng(n.toRange(),t)}))}function Fh(e,t){return t&&Le(e.schema.getBlockElements(),wt(t))}function qh(e){if(qc(e)){var t=Lt.fromHtml('
    ');return Zt(e),Dn(e,t),ve.some(as.before(t.dom))}return ve.none()}function Uh(e,t,n,c){void 0===c&&(c=!0);var r,a,o,i,s,l,u,f,d,h,m,p,g=(t?jh:Bh)(e.getBody(),p=n.dom).map(L(Ph,p)),v=hc(n,L(Fh,e),(r=e.getBody(),function(e){return e.dom===r})),b=(i=g,a=o=n,s=Le(e.schema.getTextInlineElements(),wt(a)),h=Dt(o).filter(wn),m=Et(o).filter(wn),En(o),u=m,f=i,d=function(e,t,n){var c=e.dom,r=t.dom,a=c.data.length;return Oh(c,r,s),n.container()===r?as(c,a):n},((l=h).isSome()&&u.isSome()&&f.isSome()?ve.some(d(l.getOrDie(),u.getOrDie(),f.getOrDie())):ve.none()).orThunk((function(){return s&&(h.each((function(e){return Nh(e.dom,e.dom.length)})),m.each((function(e){return Eh(e.dom,0)}))),i})));e.dom.isEmpty(e.getBody())?(e.setContent(""),e.selection.setCursorLocation()):v.bind(qh).fold((function(){c&&$h(e,t,b)}),(function(n){c&&$h(e,t,ve.some(n))}))}function Wh(e){return gi(e,"td,th")}function Yh(e,t){return{start:e,end:t}}function Zh(e,t){return vc(Lt.fromDom(e),"td,th",t)}function Xh(e){return!$e(e.start,e.end)}function Gh(e,t){return wu(e.start,t).bind((function(n){return wu(e.end,t).bind((function(e){return $e(n,e)?ve.some(n):ve.none()}))}))}function Qh(e){return function(t){return Gh(t,e).map((function(e){return{rng:t,table:e,cells:Wh(e)}}))}}function Kh(e,t,n,c){if(n.collapsed||!e.forall(Xh))return ve.none();if(t.isSameTable){var r=e.bind(Qh(c));return ve.some({start:r,end:r})}var a,o,i=Zh(n.startContainer,c),s=Zh(n.endContainer,c),l=i.bind((o=c,function(e){return wu(e,o).bind((function(t){return ee(Wh(t)).map((function(t){return Yh(e,t)}))}))})).bind(Qh(c)),u=s.bind((a=c,function(e){return wu(e,a).bind((function(t){return J(Wh(t)).map((function(t){return Yh(t,e)}))}))})).bind(Qh(c));return ve.some({start:l,end:u})}function Jh(e,t){return W(e,(function(e){return $e(e,t)}))}function em(e){return dn(Jh(e.cells,e.rng.start),Jh(e.cells,e.rng.end),(function(t,n){return e.cells.slice(t,n+1)}))}function tm(e,t){var n=t.startTable,c=t.endTable,r=e.cloneRange();return n.each((function(e){return r.setStartAfter(e.dom)})),c.each((function(e){return r.setEndBefore(e.dom)})),r}function nm(e){return R(e,(function(e){zn(e,"contenteditable"),uh(e)})),0}function cm(e,t,n,c){var r=n.cloneRange();c?(r.setStart(n.startContainer,n.startOffset),r.setEndAfter(t.dom.lastChild)):(r.setStartBefore(t.dom.firstChild),r.setEnd(n.endContainer,n.endOffset)),ep(e,r,t,!1)}function rm(e){var t=Lu(e),n=Lt.fromDom(e.selection.getNode());Xn(n.dom)&&qc(n)?e.selection.setCursorLocation(n.dom,0):e.selection.collapse(!0),1)?$/," "):a.replace(/ ()?$/," "));var u=e.parser,f=n.merge,d=Jd({validate:e.getParam("validate")},e.schema),h='',m=e.fire("BeforeSetContent",{content:t,format:"html",selection:!0,paste:n.paste});if(m.isDefaultPrevented())e.fire("SetContent",{content:m.content,format:"html",selection:!0,paste:n.paste});else{-1===(t=m.content).indexOf("{$caret}")&&(t+="{$caret}"),t=t.replace(/\{\$caret\}/,h);var p,g,v=(p=s.getRng()).startContainer||(p.parentElement?p.parentElement():null),b=e.getBody();v===b&&s.isCollapsed()&&l.isBlock(b.firstChild)&&(g=b.firstChild)&&!e.schema.getShortEndedElements()[g.nodeName]&&l.isEmpty(b.firstChild)&&((p=l.createRng()).setStart(b.firstChild,0),p.setEnd(b.firstChild,0),s.setRng(p)),s.isCollapsed()||function(e){var t=e.dom,n=fm(e.selection.getRng());e.selection.setRng(n);var c,r=t.getParent(n.startContainer,cp),a=n;null!==(c=r)&&c===t.getParent(a.endContainer,cp)&&_u(Lt.fromDom(c),a)?ep(e,n,Lt.fromDom(r)):e.getDoc().execCommand("Delete",!1,null)}(e);var z,y,C,H,M,V,L,w,_,x,k,S,A,T,D={context:(R=s.getNode()).nodeName.toLowerCase(),data:n.data,insert:!0},E=u.parse(t,D);if(!0===n.paste&&function(e,t){var n,c,r,a,o,i=t.firstChild,s=t.lastChild;return i&&"meta"===i.name&&(i=i.next),c=s=s&&"mce_marker"===s.attr("id")?s.prev:s,r=(n=e).getNonEmptyElements(),c&&(c.isEmpty(r)||(a=c,n.getBlockElements()[a.name]&&a.firstChild&&a.firstChild===a.lastChild&&("br"===(o=a.firstChild).name||o.value===br)))&&(s=s.prev),i&&i===s&&("ul"===i.name||"ol"===i.name)}(e.schema,E)&&dm(l,R))return p=mm(d,l,s.getRng(),E),s.setRng(p),void e.fire("SetContent",m);if(function(){for(var e=E;e=e.walk();)1===e.type&&e.attr("data-mce-fragment","1")}(),"mce_marker"===(P=E.lastChild).attr("id"))for(var N=P,P=P.prev;P;P=P.walk(!0))if(3===P.type||!l.isBlock(P.name)){e.schema.isValidChild(P.parent.name,"span")&&P.parent.insert(N,P,"br"===P.name);break}if(e._selectionOverrides.showBlockCaretContainer(R),D.invalid){e.selection.setContent(h);var R=s.getNode(),I=e.getBody();for(9===R.nodeType?R=P=I:P=R;P!==I;)P=(R=P).parentNode;t=R===I?I.innerHTML:l.getOuterHTML(R),t=d.serialize(u.parse(t.replace(//i,(function(){return d.serialize(E)})))),R===I?l.setHTML(I,t):l.setOuterHTML(R,t)}else z=e,y=t=d.serialize(E),"all"===(C=R).getAttribute("data-mce-bogus")?C.parentNode.insertBefore(z.dom.createFragment(y),C):(H=C.firstChild,M=C.lastChild,!H||H===M&&"BR"===H.nodeName?z.dom.setHTML(C,y):z.selection.setContent(y));L=f,x=(V=e).schema.getTextInlineElements(),k=V.dom,L&&(w=V.getBody(),_=Qd(k),Vt.each(k.select("*[data-mce-fragment]"),(function(e){if(i(x[e.nodeName.toLowerCase()])&&Z(rh(k,e),(function(e){return!ch.has(e)})))for(var t=e.parentNode;i(t)&&t!==w&&!function(e,t,n){function c(c){var r=e.getStyle(t,c),a=e.getStyle(n,c);return De(r)&&De(a)&&r!==a}var r=rh(e,t),a=rh(e,n);return O(r,(function(e){function t(t){return O(t,(function(t){return t===e}))}if(t(a)||!t(Nm))return c(e);var n=j(a,(function(e){return O(Nm,(function(t){return Ge(e,t)}))}));return O(n,c)}))}(k,e,t);t=t.parentNode)if(_.compare(t,e)){k.remove(e,!0);break}}))),function(e,t){var n,c=e.dom,r=e.selection;if(t){r.scrollIntoView(t);var a=df(e.getBody(),t);if("false"===c.getContentEditable(a))return c.remove(t),r.select(a);var o,i=c.createRng(),s=t.previousSibling;jn(s)?(i.setStart(s,s.nodeValue.length),Ct.ie||(o=t.nextSibling,jn(o)&&(s.appendData(o.data),o.parentNode.removeChild(o)))):(i.setStartBefore(t),i.setEndBefore(t));var l=c.getParent(t,c.isBlock);c.remove(t),l&&c.isEmpty(l)&&(e.$(l).empty(),i.setStart(l,0),i.setEnd(l,0),cp(l)||l.getAttribute("data-mce-fragment")||!(n=function(t){var n=as.fromRangeStart(t);if(n=Tl(e.getBody()).next(n))return n.toRange()}(i))?c.add(l,c.create("br",{"data-mce-bogus":"1"})):(i=n,c.remove(l))),r.setRng(i)}}(e,l.get("mce_marker")),S=e.getBody(),Vt.each(S.getElementsByTagName("*"),(function(e){e.removeAttribute("data-mce-fragment")})),A=l,T=s.getStart(),ve.from(A.getParent(T,"td,th")).map(Lt.fromDom).each(fh),e.fire("SetContent",m),e.addVisual()}}function gm(e){return e instanceof Nd}function vm(e,t,n){var c;e.dom.setHTML(e.getBody(),t),!0!==n&&hd(c=e)&&Qu(c.getBody()).each((function(e){var t=e.getNode(),n=ln(t)?Qu(t).getOr(e):e;c.selection.setRng(n.toRange())}))}function bm(e){return M(e)?e:S}function zm(e,t,n){var c=t(e),r=bm(n);return c.orThunk((function(){return r(e)?ve.none():function(t){for(var n=e.dom,c=bm(r);n.parentNode;){n=n.parentNode;var a=Lt.fromDom(n),o=t(a);if(o.isSome())return o;if(c(a))break}return ve.none()}(t)}))}function ym(e,t,n){var c=e.formatter.get(n);if(c)for(var r=0;r=r.nodeValue.length&&(r=new _c(r,e.getBody()).next()||r),jn(r)&&!n&&0===a&&new _c(r,e.getBody()).prev()||r}function yp(e,t){var n=t?"firstChild":"lastChild";if(/^(TR|TH|TD)$/.test(e.nodeName)&&e[n]){var c=e[n];return"TR"===e.nodeName&&c[n]||c}return e}function Cp(e,t,n,c){var r=e.create(n,c);return t.parentNode.insertBefore(r,t),r.appendChild(t),r}function Hp(e,t,n,c,r){var a=Lt.fromDom(t),o=Lt.fromDom(e.create(c,r));return Yt(o,(n?Ot:Nt)(a)),n?(qt(a,o),Wt(o,a)):(Ut(a,o),Dn(o,a)),o.dom}function Mp(e,t,n,c){var r=Kl(t,n,c);return o(r)||"BR"===r.nodeName||e.isBlock(r)}function Vp(e,t,n,c,r){var a,o,i=e.dom,s=i,l=c;if(!(uu(o=t)&&fg(l,o.inline)||su(o)&&fg(l,o.block)||lu(o)&&In(l)&&s.is(l,o.selector)||t.links&&"A"===c.nodeName))return sg.keep();var u,f,d,h,m,p,g,v,b=c;if(uu(t)&&"all"===t.remove&&z(t.preserve_attributes)){var y=j(i.getAttribs(b),(function(e){return N(t.preserve_attributes,e.name.toLowerCase())}));if(i.removeAllAttribs(b),R(y,(function(e){return i.setAttrib(b,e.name,e.value)})),0e?t.cells.length:e}),0)}function Op(e,t){for(var n=e.rows,c=0;c")?{type:"fragmented",fragments:n,content:"",bookmark:null,beforeBookmark:null}:{type:"complete",fragments:null,content:c,bookmark:null,beforeBookmark:null}}function Up(e,t,n){var c,r,a,o,s,l,u,f,d,h,m,p=n?t.beforeBookmark:t.bookmark;function g(e,t,n,c){for(var r=e;r-tl){for(var u=0;u]*>( | |\\s| |
    |)<\\/"+u+">[\r\n]*|
    [\r\n]*)$"),l.replace(f,"")),N(["text","tree"],h.format)||gr(Lt.fromDom(o))?h.content=m:h.content=Vt.trim(m),(h.no_events?h:t.fire("GetContent",h)).content;var t,n,o,i,s,l,u,f,d,h,m}));var c,r,a},setContent:function(t,n){return function(e,t,n){var c,r=(c=t,_e(_e({format:"html"},n),{set:!0,content:gm(c)?"":c})),a=n.no_events?r:e.fire("BeforeSetContent",r);return gm(t)||(t=a.content),ve.from(e.getBody()).fold(f(t),(function(n){return gm(t)?function(e,t,n,c){var r,a,o,i;r=e.parser.getNodeFilters(),a=e.parser.getAttributeFilters(),o=n,i=function(e,t){var n,c,r={},a={},i=[];for(n in o.firstChild&&rp(o.firstChild,(function(n){R(e,(function(e){e.name===n.name&&(r[e.name]?r[e.name].nodes.push(n):r[e.name]={filter:e,nodes:[n]})})),R(t,(function(e){"string"==typeof n.attr(e.name)&&(a[e.name]?a[e.name].nodes.push(n):a[e.name]={filter:e,nodes:[n]})}))})),r)Le(r,n)&&i.push(r[n]);for(c in a)Le(a,c)&&i.push(a[c]);return i}(r,a),R(i,(function(e){R(e.filter.callbacks,(function(t){t(e.nodes,e.filter.name,{})}))}));var s=Jd({validate:e.validate},e.schema).serialize(n);return c.content=gr(Lt.fromDom(t))?s:Vt.trim(s),vm(e,c.content,c.no_selection),c.no_events||e.fire("SetContent",c),n}(e,n,t,a):(c=e,r=n,i=a,0===(o=t).length||/^\s+$/.test(o)?(s='
    ',"TABLE"===r.nodeName?o=""+s+"":/^(UL|OL)$/.test(r.nodeName)&&(o="
  • "+s+"
  • "),o=(l=Hs(c))&&c.schema.isValidChild(r.nodeName.toLowerCase(),l.toLowerCase())?(o=s,c.dom.createHTML(l,Ms(c),o)):o||'
    ',vm(c,o,i.no_selection),c.fire("SetContent",i)):("raw"!==i.format&&(o=Jd({validate:c.validate},c.schema).serialize(c.parser.parse(o,{isRootContent:!0,insert:!0}))),i.content=gr(Lt.fromDom(r))?o:Vt.trim(o),vm(c,i.content,i.no_selection),i.no_events||c.fire("SetContent",i)),i.content);var c,r,o,i,s,l}))}(e,t,n)},insertContent:function(t,n){return pm(e,t,n)},addVisual:function(t){var n,c=t,r=(n=e).dom,a=i(c)?c:n.getBody();H(n.hasVisual)&&(n.hasVisual=n.getParam("visual",!0,"boolean")),R(r.select("table,a",a),(function(e){switch(e.nodeName){case"TABLE":var t=n.getParam("visual_table_class","mce-item-table","string"),c=r.getAttrib(e,"border");c&&"0"!==c||!n.hasVisual?r.removeClass(e,t):r.addClass(e,t);break;case"A":var a,o;r.getAttrib(e,"href")||(a=r.getAttrib(e,"name")||e.id,o=n.getParam("visual_anchor_class","mce-item-anchor","string"),a&&n.hasVisual?r.addClass(e,o):r.removeClass(e,o))}})),n.fire("VisualAid",{element:c,hasVisual:n.hasVisual})}},selection:{getContent:function(t,n){return function(e,t,n){var c,r=(c=t,_e(_e({},n=void 0===n?{}:n),{format:c,get:!0,selection:!0})),a=e.fire("BeforeGetContent",r);if(a.isDefaultPrevented())return e.fire("GetContent",a),a.content;if("text"===a.format)return h=e,ve.from(h.selection.getRng()).map((function(e){var t=ve.from(h.dom.getParent(e.commonAncestorContainer,h.dom.isBlock)),n=h.getBody(),c=t.map((function(e){return e.nodeName})).getOr("div").toLowerCase(),r=Ct.browser.isIE()&&"pre"!==c,a=h.dom.add(n,c,{"data-mce-bogus":"all",style:"overflow: hidden; opacity: 0;"},e.cloneContents()),o=$p(a,r),i=Cr(a.textContent);if(h.dom.remove(a),jp(i,0)||jp(i,i.length-1)){var s=$p(t.getOr(n),r),l=s.indexOf(o);return-1===l?o:(jp(s,l-1)?" ":"")+o+(jp(s,l+o.length)?" ":"")}return o})).getOr("");a.getInner=!0;var o,i,s,l,u,f,d,h,m=(i=a,s=(o=e).selection.getRng(),l=o.dom.create("body"),u=o.selection.getSel(),f=bd(o,Mu(u)),(d=i.contextual?function(e,t){var n,c,r,a,o,i,s,l=Vu(t,e);return 0
    ").append(t.childNodes)})))},lp.pre||(lp.pre=[]),lp.pre.push(Em);var og=Vt.each,ig=function(e,t,n){og(e.childNodes,(function(e){dp(e)&&(t(e)&&n(e),e.hasChildNodes()&&ig(e,t,n))}))},sg=cc([{keep:[]},{rename:["name"]},{removed:[]}]),lg=/^(src|href|style)$/,ug=Vt.each,fg=nu,dg=Vt.each,hg=Vt.each,mg=function(e,t,n,c){function r(e,t){var r;M((t=void 0===t?h:t).onformat)&&t.onformat(e,t,n,c),hg(t.styles,(function(t,c){p.setStyle(e,c,tu(t,n))})),!t.styles||(r=p.getAttrib(e,"style"))&&p.setAttrib(e,"data-mce-style",r),hg(t.attributes,(function(t,c){p.setAttrib(e,c,tu(t,n))})),hg(t.classes,(function(t){t=tu(t,n),p.hasClass(e,t)||p.addClass(e,t)}))}function a(e,t){var n=!1;return hg(e,(function(e){return!!lu(e)&&(i(e.collapsed)&&e.collapsed!==m||!p.is(t,e.selector)||Rl(t)?void 0:(r(t,e),!(n=!0)))})),n}function o(c,o,s){var l=[],u=!0,f=h.inline||h.block,m=function(e){if(v(e)){var t=p.create(e);return r(t),t}return null}(f);Hu(c,o,(function(o){var p,g=function(o){var v=!1,b=u,z=o.nodeName.toLowerCase(),y=o.parentNode,C=y.nodeName.toLowerCase();if(In(o)&&c.getContentEditable(o)&&(b=u,u="true"===c.getContentEditable(o),v=!0),Un(o)&&!function(e,t,n,c){if(e.getParam("format_empty_lines",!1,"boolean")&&uu(t)){var r=Jc(e.schema),a=(o=Lt.fromDom(n),s=function(e){return Rl(e.dom)},((l=(i=o).dom).parentNode?function(e,t){return U(e.dom.childNodes,(function(e){return t(Lt.fromDom(e))})).map(Lt.fromDom)}(Lt.fromDom(l.parentNode),(function(e){return!$e(i,e)&&s(e)})):ve.none()).isSome());return se(r,c)&&qc(Lt.fromDom(n.parentNode),!1)&&!a}var o,i,s,l}(e,h,o,C))return p=null,void(su(h)&&c.remove(o));if(su(h)&&h.wrapper&&op(e,o,t,n))p=null;else{if(u&&!v&&su(h)&&!h.wrapper&&Jl(e,z)&&eu(e,C,f)){var H=c.rename(o,f);return r(H),l.push(H),void(p=null)}if(lu(h)){var M=a(d,o);if(!M&&i(y)&&fu(h)&&(M=a(d,y)),!uu(h)||M)return void(p=null)}!u||v||!eu(e,f,z)||!eu(e,C,f)||!s&&jn(o)&&yr(o.data)||Rl(o)||uu(h)&&c.isBlock(o)?(p=null,R(Ce(o.childNodes),g),v&&(u=b),p=null):(p||(p=c.clone(m,!1),o.parentNode.insertBefore(p,o),l.push(p)),p.appendChild(o))}};R(o,g)})),!0===h.links&&R(l,(function(e){var t=function(e){"A"===e.nodeName&&r(e,h),R(Ce(e.childNodes),t)};t(e)})),R(l,(function(a){var o,s,u,f,m,p,g,v,b,z,y,C,H,M,V,L,w,_,x=(o=0,R(a.childNodes,(function(e){var t;i(t=e)&&jn(t)&&0===t.length||Yl(e)||o++})),o);function k(e){var t;1===e.nodeType&&e.parentNode&&1===e.parentNode.nodeType&&(t=au(H,e.parentNode),H.getStyle(e,"color")&&t?H.setStyle(e,"text-decoration",t):H.getStyle(e,"text-decoration")===t&&H.setStyle(e,"text-decoration",null))}!(1n.clientHeight){t=n;break}n=n.parentNode}return t},scrollIntoView:function(e,t){i(e)?(c.inline?Yf:Xf)(c,e,t):Gf(c,g(),t)},placeCaretAt:function(e,t){return v(zf(e,t,c.getDoc()))},getBoundingClientRect:function(){var e=g();return e.collapsed?as.fromRangeStart(e).getClientRects()[0]:e.getBoundingClientRect()},destroy:function(){t=l=u=null,y.destroy()}},z=Nu(b),y=vf(b,c);function C(e,t){return U(t,(function(t){return f.is(t,e)}))}function H(e){return f.getParents(e,null,f.getRoot())}return b.bookmarkManager=z,b.controlSelection=y,b}function Cg(e){var t,n=decodeURIComponent(e).split(","),c=/data:([^;]+)/.exec(n[0]);return{type:t=c?c[1]:t,data:n[1]}}function Hg(e,t){var n;try{n=atob(t)}catch(e){return ve.none()}for(var c=new Uint8Array(n.length),r=0;r)/g,"\n").replace(/^[\r\n]*|[\r\n]*$/g,"").replace(/^\s*(()?|\s*\/\/\s*\]\]>(-->)?|\/\/\s*(-->)?|\]\]>|\/\*\s*-->\s*\*\/|\s*-->\s*)\s*$/g,"")},c=e.length;c--;){var r,a=e[c],o=a.firstChild?a.firstChild.value:"";"script"===t?((r=a.attr("type"))&&a.attr("type","mce-no/type"===r?null:r.replace(/^mce\-/,"")),"xhtml"===i.element_format&&0")):"xhtml"===i.element_format&&0)\s*/g,"$1"),Vt.map(s.split(/(?:>|\s+(?![^\[\]]+\]))/),(function(e){var t=Vt.map(e.split(/(?:~\+|~|\+)/),wv),n=t.pop();return t.length&&(n.siblings=t),n})).reverse()):[],f=u.length?(u[0].name||(u[0].name=l),l=t.selector,Lv(u,e)):Lv([l],e),d=$b.select(l,f)[0]||f.firstChild;return jb(t.styles,(function(e,t){var n=o(e);n&&$b.setStyle(d,t,n)})),jb(t.attributes,(function(e,t){var n=o(e);n&&$b.setAttrib(d,t,n)})),jb(t.classes,(function(e){var t=o(e);$b.hasClass(d,t)||$b.addClass(d,t)})),e.fire("PreviewFormats"),$b.setStyles(f,{position:"absolute",left:-65535}),e.getBody().appendChild(f),n=$b.getStyle(e.getBody(),"fontSize",!0),n=/px$/.test(n)?parseInt(n,10):0,jb(a.split(" "),(function(t){var c=$b.getStyle(d,t,!0);if(!("background-color"===t&&/transparent|rgba\s*\([^)]+,\s*0\)/.test(c)&&(c=$b.getStyle(e.getBody(),t,!0),"#ffffff"===$b.toHex(c).toLowerCase())||"color"===t&&"#000000"===$b.toHex(c).toLowerCase())){if("font-size"===t&&/em|%$/.test(c)){if(0===n)return;c=parseFloat(c)/(/%$/.test(c)?100:1)*n+"px"}"border"===t&&c&&(r+="padding:0 2px;"),r+=t+":"+c+";"}})),e.fire("AfterPreviewFormats"),$b.remove(f),r}function xv(e){var t,n,c,r,a,o,s=(r={},(a=function(e,t){e&&(v(e)?(R(t=z(t)?t:[t],(function(e){H(e.deep)&&(e.deep=!lu(e)),H(e.split)&&(e.split=!lu(e)||uu(e)),H(e.remove)&&lu(e)&&!uu(e)&&(e.remove="none"),lu(e)&&uu(e)&&(e.mixed=!0,e.block_expand=!0),v(e.classes)&&(e.classes=e.classes.split(/\s+/))})),r[e]=t):ne(e,(function(e,t){a(t,e)})))})((n=(t=e).dom,c={valigntop:[{selector:"td,th",styles:{verticalAlign:"top"}}],valignmiddle:[{selector:"td,th",styles:{verticalAlign:"middle"}}],valignbottom:[{selector:"td,th",styles:{verticalAlign:"bottom"}}],alignleft:[{selector:"figure.image",collapsed:!1,classes:"align-left",ceFalseOverride:!0,preview:"font-family font-size"},{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li",styles:{textAlign:"left"},inherit:!1,preview:!1,defaultBlock:"div"},{selector:"img,table,audio,video",collapsed:!1,styles:{float:"left"},preview:"font-family font-size"}],aligncenter:[{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li",styles:{textAlign:"center"},inherit:!1,preview:"font-family font-size",defaultBlock:"div"},{selector:"figure.image",collapsed:!1,classes:"align-center",ceFalseOverride:!0,preview:"font-family font-size"},{selector:"img,audio,video",collapsed:!1,styles:{display:"block",marginLeft:"auto",marginRight:"auto"},preview:!1},{selector:"table",collapsed:!1,styles:{marginLeft:"auto",marginRight:"auto"},preview:"font-family font-size"}],alignright:[{selector:"figure.image",collapsed:!1,classes:"align-right",ceFalseOverride:!0,preview:"font-family font-size"},{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li",styles:{textAlign:"right"},inherit:!1,preview:"font-family font-size",defaultBlock:"div"},{selector:"img,table,audio,video",collapsed:!1,styles:{float:"right"},preview:"font-family font-size"}],alignjustify:[{selector:"figure,p,h1,h2,h3,h4,h5,h6,td,th,tr,div,ul,ol,li",styles:{textAlign:"justify"},inherit:!1,defaultBlock:"div",preview:"font-family font-size"}],bold:[{inline:"strong",remove:"all",preserve_attributes:["class","style"]},{inline:"span",styles:{fontWeight:"bold"}},{inline:"b",remove:"all",preserve_attributes:["class","style"]}],italic:[{inline:"em",remove:"all",preserve_attributes:["class","style"]},{inline:"span",styles:{fontStyle:"italic"}},{inline:"i",remove:"all",preserve_attributes:["class","style"]}],underline:[{inline:"span",styles:{textDecoration:"underline"},exact:!0},{inline:"u",remove:"all",preserve_attributes:["class","style"]}],strikethrough:[{inline:"span",styles:{textDecoration:"line-through"},exact:!0},{inline:"strike",remove:"all",preserve_attributes:["class","style"]},{inline:"s",remove:"all",preserve_attributes:["class","style"]}],forecolor:{inline:"span",styles:{color:"%value"},links:!0,remove_similar:!0,clear_child_styles:!0},hilitecolor:{inline:"span",styles:{backgroundColor:"%value"},links:!0,remove_similar:!0,clear_child_styles:!0},fontname:{inline:"span",toggle:!1,styles:{fontFamily:"%value"},clear_child_styles:!0},fontsize:{inline:"span",toggle:!1,styles:{fontSize:"%value"},clear_child_styles:!0},lineheight:{selector:"h1,h2,h3,h4,h5,h6,p,li,td,th,div",defaultBlock:"p",styles:{lineHeight:"%value"}},fontsize_class:{inline:"span",attributes:{class:"%value"}},blockquote:{block:"blockquote",wrapper:!0,remove:"all"},subscript:{inline:"sub"},superscript:{inline:"sup"},code:{inline:"code"},link:{inline:"a",selector:"a",remove:"all",split:!0,deep:!0,onmatch:function(e,t,n){return In(e)&&e.hasAttribute("href")},onformat:function(e,t,c){Vt.each(c,(function(t,c){n.setAttrib(e,c,t)}))}},lang:{inline:"span",clear_child_styles:!0,remove_similar:!0,attributes:{lang:"%value","data-mce-lang":function(e){var t;return null!==(t=null==e?void 0:e.customValue)&&void 0!==t?t:null}}},removeformat:[{selector:"b,strong,em,i,font,u,strike,s,sub,sup,dfn,code,samp,kbd,var,cite,mark,q,del,ins,small",remove:"all",split:!0,expand:!1,block_expand:!0,deep:!0},{selector:"span",attributes:["style","class"],remove:"empty",split:!0,expand:!1,deep:!0},{selector:"*",attributes:["style","class"],split:!1,expand:!1,deep:!0}]},Vt.each("p h1 h2 h3 h4 h5 h6 div address pre dt dd samp".split(/\s/),(function(e){c[e]={block:e,remove:"all"}})),c)),a(t.getParam("formats")),{get:function(e){return i(e)?r[e]:r},has:function(e){return Le(r,e)},register:a,unregister:function(e){return e&&r[e]&&delete r[e],r}}),l=ci(null);return function(e){e.addShortcut("meta+b","","Bold"),e.addShortcut("meta+i","","Italic"),e.addShortcut("meta+u","","Underline");for(var t=1;t<=6;t++)e.addShortcut("access+"+t,"",["FormatBlock",!1,"h"+t]);e.addShortcut("access+7","",["FormatBlock",!1,"p"]),e.addShortcut("access+8","",["FormatBlock",!1,"div"]),e.addShortcut("access+9","",["FormatBlock",!1,"address"])}(e),(o=e).on("mouseup keydown",(function(e){var t=o,n=e.keyCode,c=t.selection,r=t.getBody();km(t,null,!1),8!==n&&46!==n||!c.isCollapsed()||c.getStart().innerHTML!==ip||km(t,Il(r,c.getStart())),37!==n&&39!==n||km(t,Il(r,c.getStart()))})),{get:s.get,has:s.has,register:s.register,unregister:s.unregister,apply:function(t,n,c){var r=t,a=n,o=c;ng(e).formatter.apply(r,a,o)},remove:function(t,n,c,r){var a=t,o=n,i=c,s=r;ng(e).formatter.remove(a,o,i,s)},toggle:function(t,n,c){var r=t,a=n,o=c;ng(e).formatter.toggle(r,a,o)},match:function(t,n,c,r){return a=t,o=n,i=c,s=r,ng(e).formatter.match(a,o,i,s);var a,o,i,s},closest:function(t){return n=t,ng(e).formatter.closest(n);var n},matchAll:function(t,n){return c=t,r=n,ng(e).formatter.matchAll(c,r);var c,r},matchNode:function(t,n,c,r){return a=t,o=n,i=c,s=r,ng(e).formatter.matchNode(a,o,i,s);var a,o,i,s},canApply:function(t){return n=t,ng(e).formatter.canApply(n);var n},formatChanged:function(t,n,c,r){return a=l,o=t,i=n,s=c,u=r,ng(e).formatter.formatChanged(a,o,i,s,u);var a,o,i,s,u},getCssText:L(_v,e)}}function kv(e){switch(e.toLowerCase()){case"undo":case"redo":case"mcerepaint":case"mcefocus":return 1;default:return}}function Sv(e){var t,n,c,r,a,o=li(),i=ci(0),s=ci(0),l={data:[],typing:!1,beforeChange:function(){var t=i,n=o;ng(e).undoManager.beforeChange(t,n)},add:function(t,n){return c=l,r=s,a=i,u=o,f=t,d=n,ng(e).undoManager.add(c,r,a,u,f,d);var c,r,a,u,f,d},undo:function(){return t=l,n=i,c=s,ng(e).undoManager.undo(t,n,c);var t,n,c},redo:function(){return t=s,n=l.data,ng(e).undoManager.redo(t,n);var t,n},clear:function(){var t=l,n=s;ng(e).undoManager.clear(t,n)},reset:function(){var t=l;ng(e).undoManager.reset(t)},hasUndo:function(){return t=l,n=s,ng(e).undoManager.hasUndo(t,n);var t,n},hasRedo:function(){return t=l,n=s,ng(e).undoManager.hasRedo(t,n);var t,n},transact:function(t){return n=l,c=i,r=t,ng(e).undoManager.transact(n,c,r);var n,c,r},ignore:function(t){var n=i,c=t;ng(e).undoManager.ignore(n,c)},extra:function(t,n){var c=l,r=s,a=t,o=n;ng(e).undoManager.extra(c,r,a,o)}};return Jp(e)||(c=l,r=i,a=ci(!1),(n=e).on("init",(function(){c.add()})),n.on("BeforeExecCommand",(function(e){kv(e.command)||(Qp(c,r),c.beforeChange())})),n.on("ExecCommand",(function(e){kv(e.command)||u(e)})),n.on("ObjectResizeStart cut",(function(){c.beforeChange()})),n.on("SaveContent ObjectResized blur",u),n.on("dragend",u),n.on("keyup",(function(e){var t=e.keyCode;e.isDefaultPrevented()||((33<=t&&t<=36||37<=t&&t<=40||45===t||e.ctrlKey)&&(u(),n.nodeChanged()),46!==t&&8!==t||n.nodeChanged(),a.get()&&c.typing&&!1===Zp(qp(n),c.data[0])&&(!1===n.isDirty()&&(n.setDirty(!0),n.fire("change",{level:c.data[0],lastLevel:null})),n.fire("TypingUndo"),a.set(!1),n.nodeChanged()))})),n.on("keydown",(function(e){var t,n=e.keyCode;e.isDefaultPrevented()||(33<=n&&n<=36||37<=n&&n<=40||45===n?c.typing&&u(e):(t=e.ctrlKey&&!e.altKey||e.metaKey,!(n<16||20e}}function bz(e){return function(t){return t.line===e}}function zz(e,t){return Math.abs(e.left-t)}function yz(e,t){return Math.abs(e.right-t)}function Cz(e,t){return e>=t.left&&e<=t.right}function Hz(e,t){return e>=t.top&&e<=t.bottom}function Mz(e,t,n){return void 0===n&&(n=A),he(e,(function(e,c){if(Cz(t,c))return n(c)?c:e;if(Cz(t,e))return n(e)?e:c;var r=Math.min(zz(e,t),yz(e,t)),a=Math.min(zz(c,t),yz(c,t));return a===r&&se(c,"node")&&iC(c.node)||a'),r=a,1===t?e.$(c).after(r):e.$(c).before(r),e.selection.select(r,!0),e.selection.collapse()))}function ny(e,t){return n=e,c=t?cl.Forwards:cl.Backwards,r=n.selection.getRng(),_z(n,c,r,qm,Um,hC).orThunk((function(){return ty(n,c,r),ve.none()})).exists((function(t){return Lz(e,t),!0}));var n,c,r}function cy(e,t){return c=t?1:-1,r=(n=e).selection.getRng(),xz(n,c,r,(function(e){return qm(e)||$m(e)}),(function(e){return Um(e)||Fm(e)}),hC).orThunk((function(){return ty(n,c,r),ve.none()})).exists((function(t){return Lz(e,t),!0}));var n,c,r}function ry(e,t){return kz(e,t,t?Um:qm)}function ay(e){return N(["figcaption"],wt(e))}function oy(e){var t=document.createRange();return t.setStartBefore(e.dom),t.setEndBefore(e.dom),t}function iy(e,t,n){(n?Dn:Wt)(e,t)}function sy(e,t){return!!e.selection.isCollapsed()&&function(e,t){var n=Lt.fromDom(e.getBody()),c=as.fromRangeStart(e.selection.getRng()),r=Hs(e),a=Ms(e),o=c,i=L($e,n);return mc(Lt.fromDom(o.container()),ur,i).filter(ay).exists((function(){if(b=n,z=c,t?(C=b.dom,hz(C,z).breakAt.isNone()):(y=b.dom,dz(y,z).breakAt.isNone())){var o=(i=n,l=a,u=t,""===(s=r)?(g=u,iy(i,v=Lt.fromTag("br"),g),oy(v)):(f=i,d=u,h=l,m=Lt.fromTag(s),p=Lt.fromTag("br"),gn(m,h),Dn(m,p),iy(f,m,d),oy(p)));return e.selection.setRng(o),!0}var i,s,l,u,f,d,h,m,p,g,v,b,z,y,C;return!1}))}(e,t)}function ly(e){for(var t=[],n=1;nl.childNodes.length-1,l=l.childNodes[Math.min(s,l.childNodes.length-1)]||l,s=i&&3===l.nodeType?l.nodeValue.length:0);var u=a.getParent(l,a.isBlock),f=u?a.getParent(u.parentNode,a.isBlock):null,d=f?f.nodeName.toUpperCase():"",h=!(!t||!t.ctrlKey);"LI"!==d||h||(u=f),l&&3===l.nodeType&&s>=l.nodeValue.length&&!function(e){for(var t,n=new _c(l,u),c=e.getNonEmptyElements();t=n.next();)if(c[t.nodeName.toLowerCase()]||0h.childNodes.length-1,h=h.childNodes[Math.min(m,h.childNodes.length-1)]||h,m=s&&jn(h)?h.nodeValue.length:0);var b,z,y,C,H,M,V,L,w,_,x,k,S,A,T,D,E,N,O,P,I=Ty(l,h);I&&((p&&!g||!p&&g)&&(h=function(e,t,n,c){var r,a,o,i,s,l,u=p||"P",f=e.dom,d=Ty(f,n),h=f.getParent(n,f.isBlock);if(!h||!Sy(f,h)){if(s=((h=h||d)===e.getBody()||(l=h)&&/^(TD|TH|CAPTION)$/.test(l.nodeName)?h:h.parentNode).nodeName.toLowerCase(),!h.hasChildNodes())return Dy(e,r=f.create(u)),h.appendChild(r),t.setStart(r,0),t.setEnd(r,0),r;for(o=n;o.parentNode!==h;)o=o.parentNode;for(;o&&!f.isBlock(o);)o=(a=o).previousSibling;if(a&&e.schema.isValidChild(s,u.toLowerCase())){for(Dy(e,r=f.create(u)),a.parentNode.insertBefore(r,a),o=a;o&&!f.isBlock(o);)i=o.nextSibling,r.appendChild(o),o=i;t.setStart(n,c),t.setEnd(n,c)}}return n}(e,d,h,m)),z=(b=l.getParent(h,l.isBlock))?l.getParent(b.parentNode,l.isBlock):null,y=b?b.nodeName.toUpperCase():"","LI"!==(C=z?z.nodeName.toUpperCase():"")||v||(z=(b=z).parentNode,y=C),/^(LI|DT|DD)$/.test(y)&&l.isEmpty(b)?(L=n,w=z,_=b,x=p,O=(V=e).dom,P=V.selection.getRng(),w!==V.getBody()&&(S=(x=Ly(k=w)&&Ly(k.parentNode)?"LI":x)?L(x):O.create("BR"),_y(w,_,!0)&&_y(w,_,!1)?Vy(w,"LI")?(A=wy(w),O.insertAfter(S,A),(null===(N=(E=w).parentNode)||void 0===N?void 0:N.firstChild)===E?O.remove(A):O.remove(w)):O.replace(S,w):(_y(w,_,!0)?Vy(w,"LI")?(O.insertAfter(S,wy(w)),S.appendChild(O.doc.createTextNode(" ")),S.appendChild(w)):w.parentNode.insertBefore(S,w):_y(w,_,!1)?O.insertAfter(S,wy(w)):(w=wy(w),(T=P.cloneRange()).setStartAfter(_),T.setEndAfter(w),D=T.extractContents(),"LI"===x&&D.firstChild&&"LI"===D.firstChild.nodeName?(S=D.firstChild,O.insertAfter(D,w)):(O.insertAfter(D,w),O.insertAfter(S,w))),O.remove(_)),Hy(V,S))):p&&b===e.getBody()||(p=p||"P",Tc(b)?(o=Rc(b),l.isEmpty(b)&&xy(b),Dy(e,o),Hy(e,o)):c()?r():c(!0)?(o=b.parentNode.insertBefore(n(),b),Hy(e,ky(b,"HR")?o:b)):((M=(H=d).cloneRange()).setStart(H.startContainer,Ay(!0,H.startContainer,H.startOffset)),M.setEnd(H.endContainer,Ay(!1,H.endContainer,H.endOffset)),(a=M.cloneRange()).setEndAfter(b),i=a.extractContents(),R(Bi(Lt.fromDom(i),wn),(function(e){var t=e.dom;t.nodeValue=Cr(t.nodeValue)})),function(e){for(;jn(e)&&(e.nodeValue=e.nodeValue.replace(/^[\r\n]+/,"")),e=e.firstChild;);}(i),o=i.firstChild,l.insertAfter(i,b),function(e,t){var n,c,r=o,a=[];if(r){for(;r=r.firstChild;){if(e.isBlock(r))return;In(r)&&!t[r.nodeName.toLowerCase()]&&a.push(r)}for(n=a.length;n--;)(!(r=a[n]).hasChildNodes()||r.firstChild===r.lastChild&&""===r.firstChild.nodeValue||(c=r)&&"A"===c.nodeName&&e.isEmpty(c))&&e.remove(r)}}(l,f),function(e,t){t.normalize();var n=t.lastChild;n&&!/^(left|right)$/gi.test(e.getStyle(n,"float",!0))||e.add(t,"br")}(l,b),l.isEmpty(b)&&xy(b),o.normalize(),l.isEmpty(o)?(l.remove(o),r()):(Dy(e,o),Hy(e,o))),l.setAttrib(o,"id",""),e.fire("NewBlock",{newBlock:o})))}(e,t)}),s)}function Jy(e){return e.stopImmediatePropagation()}function eC(e){return e.keyCode===Sf.PAGE_UP||e.keyCode===Sf.PAGE_DOWN}function tC(e,t,n){n&&!e.get()?t.on("NodeChange",Jy,!0):!n&&e.get()&&t.off("NodeChange",Jy),e.set(n)}function nC(e,t){var n=t.container(),c=t.offset();return jn(n)?(n.insertData(c,e),ve.some(as(n,c+e.length))):el(t).map((function(n){var c=Lt.fromText(e);return(t.isAtEnd()?Ut:qt)(n,c),as(c.dom,e.length)}))}function cC(e){var t,n,c=as.fromRangeStart(e.selection.getRng()),r=Lt.fromDom(e.getBody());if(e.selection.isCollapsed()){var a=L(Dv,e),o=as.fromRangeStart(e.selection.getRng());return xb(a,e.getBody(),o).bind((n=r,function(e){return e.fold((function(e){return Gu(n.dom,as.before(e))}),(function(e){return Qu(e)}),(function(e){return Ku(e)}),(function(e){return Xu(n.dom,as.after(e))}))})).bind(function(e,t){return function(n){return a=e,(!wh(o=n)&&(r=o,Gu((c=a).dom,r).isNone()||Xu(c.dom,r).isNone()||Wm(c,r)||Ym(c,r)||Ch(c,r)||yh(c,r)||Vh(a,o)||Lh(a,o))?HC:MC)(t);var c,r,a,o}}(r,c)).exists((t=e,function(e){return t.selection.setRng(e.toRange()),t.nodeChanged(),!0}))}return!1}function rC(e){var t,n,c,r,a,o,i,s,l,u,f,d,h,m,p=function(e){var t=ci(null),n=L(Dv,e);return e.on("NodeChange",(function(c){var r,a,o,i,s,l,u,f,d,h,m,p,g;!Ds(e)||Ct.browser.isIE()&&c.initial||(s=n,l=e.dom,u=c.parents,R(G(f=j(P(gi(Lt.fromDom(l.getRoot()),'*[data-mce-selected="inline-boundary"]'),(function(e){return e.dom})),s),d=j(u,s)),L(Az,!1)),R(G(d,f),L(Az,!0)),m=t,(h=e).selection.isCollapsed()&&!0!==h.composing&&m.get()&&(p=as.fromRangeStart(h.selection.getRng()),as.isTextPosition(p)&&!1===(Oc(g=p)||Pc(g))&&(Sz(h,Bs(m.get(),p)),m.set(null))),r=n,a=e,o=t,i=c.parents,a.selection.isCollapsed()&&R(j(i,r),(function(e){var t=as.fromRangeStart(a.selection.getRng());xb(r,a.getBody(),t).bind((function(e){return Tz(a,o,e)}))})))})),t}(e);return e.on("keyup compositionstart",L(ey,e)),m=p,(h=e).on("keydown",(function(e){var t,n,c,r;!1===e.isDefaultPrevented()&&(t=h,n=m,c=e,r=dt().os,uy([{keyCode:Sf.RIGHT,action:ly(ny,t,!0)},{keyCode:Sf.LEFT,action:ly(ny,t,!1)},{keyCode:Sf.UP,action:ly(cy,t,!1)},{keyCode:Sf.DOWN,action:ly(cy,t,!0)},{keyCode:Sf.RIGHT,action:ly(yy,t,!0)},{keyCode:Sf.LEFT,action:ly(yy,t,!1)},{keyCode:Sf.UP,action:ly(Cy,t,!1)},{keyCode:Sf.DOWN,action:ly(Cy,t,!0)},{keyCode:Sf.RIGHT,action:ly(fy,t,!0)},{keyCode:Sf.LEFT,action:ly(fy,t,!1)},{keyCode:Sf.UP,action:ly(dy,t,!1)},{keyCode:Sf.DOWN,action:ly(dy,t,!0)},{keyCode:Sf.RIGHT,action:ly(Dz,t,n,!0)},{keyCode:Sf.LEFT,action:ly(Dz,t,n,!1)},{keyCode:Sf.RIGHT,ctrlKey:!r.isOSX(),altKey:r.isOSX(),action:ly(uC,t,n)},{keyCode:Sf.LEFT,ctrlKey:!r.isOSX(),altKey:r.isOSX(),action:ly(fC,t,n)},{keyCode:Sf.UP,action:ly(sy,t,!1)},{keyCode:Sf.DOWN,action:ly(sy,t,!0)}],c).each((function(e){c.preventDefault()})))})),d=p,(f=e).on("keydown",(function(e){var t,n,c;!1===e.isDefaultPrevented()&&(n=d,c=e,uy([{keyCode:Sf.BACKSPACE,action:ly(Zz,t=f,!1)},{keyCode:Sf.BACKSPACE,action:ly(ub,t,!1)},{keyCode:Sf.DELETE,action:ly(ub,t,!0)},{keyCode:Sf.BACKSPACE,action:ly(rb,t,!1)},{keyCode:Sf.DELETE,action:ly(rb,t,!0)},{keyCode:Sf.BACKSPACE,action:ly(Rz,t,n,!1)},{keyCode:Sf.DELETE,action:ly(Rz,t,n,!0)},{keyCode:Sf.BACKSPACE,action:ly(um,t,!1)},{keyCode:Sf.DELETE,action:ly(um,t,!0)},{keyCode:Sf.BACKSPACE,action:ly(fb,t,!1)},{keyCode:Sf.DELETE,action:ly(fb,t,!0)},{keyCode:Sf.BACKSPACE,action:ly($z,t,!1)},{keyCode:Sf.DELETE,action:ly($z,t,!0)},{keyCode:Sf.BACKSPACE,action:ly(Gv,t,!1)},{keyCode:Sf.DELETE,action:ly(Gv,t,!0)},{keyCode:Sf.BACKSPACE,action:ly(Zv,t,!1)},{keyCode:Sf.DELETE,action:ly(Zv,t,!0)},{keyCode:Sf.BACKSPACE,action:ly(Bz,t,!1)},{keyCode:Sf.DELETE,action:ly(Bz,t,!0)}],c).each((function(e){c.preventDefault()})))})),f.on("keyup",(function(e){var t,n;!1===e.isDefaultPrevented()&&(n=e,uy([{keyCode:Sf.BACKSPACE,action:ly(lb,t=f)},{keyCode:Sf.DELETE,action:ly(lb,t)}],n))})),(u=e).on("keydown",(function(e){var t,n,c;e.keyCode===Sf.ENTER&&(t=u,(n=e).isDefaultPrevented()||(n.preventDefault(),(c=t.undoManager).typing&&(c.typing=!1,c.add()),t.undoManager.transact((function(){!1===t.selection.isCollapsed()&&t.execCommand("Delete"),Ky(t,n)}))))})),(l=e).on("keydown",(function(e){var t;!1===e.isDefaultPrevented()&&(t=e,uy([{keyCode:Sf.SPACEBAR,action:ly(cC,l)}],t).each((function(e){t.preventDefault()})))})),i=o=e,s=ui((function(){i.composing||Th(i)}),0),yC.isIE()&&(i.on("keypress",(function(e){s.throttle()})),i.on("remove",(function(e){s.cancel()}))),o.on("input",(function(e){!1===e.isComposing&&Th(o)})),a=p,(r=e).on("keydown",(function(e){var t,n,c;!1===e.isDefaultPrevented()&&(n=a,c=e,uy([{keyCode:Sf.END,action:ly(ry,t=r,!0)},{keyCode:Sf.HOME,action:ly(ry,t,!1)},{keyCode:Sf.END,action:ly(hy,t,!0)},{keyCode:Sf.HOME,action:ly(hy,t,!1)},{keyCode:Sf.END,action:ly(Nz,t,!0,n)},{keyCode:Sf.HOME,action:ly(Nz,t,!1,n)}],c).each((function(e){c.preventDefault()})))})),t=e,n=p,CC.os.isOSX()||(c=ci(!1),t.on("keydown",(function(e){eC(e)&&tC(c,t,!0)})),t.on("keyup",(function(e){var r,a,o;!1===e.isDefaultPrevented()&&(o=e,uy([{keyCode:Sf.PAGE_UP,action:ly(Nz,r=t,!1,a=n)},{keyCode:Sf.PAGE_DOWN,action:ly(Nz,r,!0,a)}],o)),eC(e)&&c.get()&&(tC(c,t,!1),t.nodeChanged())}))),p}(fz=uz=uz||{})[fz.Up=-1]="Up",fz[fz.Down=1]="Down";var aC=L(gz,uz.Up,xi,ki),oC=L(gz,uz.Down,ki,xi),iC=Zn,sC=Us,lC=function(e,t){var n=e.selection.getRng(),c=e.getBody();if(t){var r=as.fromRangeEnd(n),a=hz(c,r);return ee(a.positions)}return r=as.fromRangeStart(n),J((a=dz(c,r)).positions)},uC=L(Ez,!0),fC=L(Ez,!1),dC=function(e){return j(P(e.selection.getSelectedBlocks(),Lt.fromDom),(function(e){return!Wz(e)&&!Tt(e).exists(Wz)&&mc(e,(function(e){return Yn(e.dom)||Zn(e.dom)})).exists((function(e){return Yn(e.dom)}))}))},hC=Zn,mC=L(my,(function(e){return e.bottom}),(function(e,t){return e.yt})),gC=L(py,dz),vC=L(py,hz),bC=function(e,t){return n=as.after(t),!!Un(n.getNode())||Xu(e,as.after(t)).map((function(e){return Un(e.getNode())})).getOr(!1);var n},zC=cc([{br:[]},{block:[]},{none:[]}]),yC=dt().browser,CC=dt(),HC=L(nC,br),MC=L(nC," "),VC=(LC.prototype.nodeChanged=function(e){var t,n,c,r=this.editor.selection;this.editor.initialized&&r&&!this.editor.getParam("disable_nodechange")&&!this.editor.mode.isReadOnly()&&(c=this.editor.getBody(),(t=r.getStart(!0)||c).ownerDocument===this.editor.getDoc()&&this.editor.dom.isChildOf(t,c)||(t=c),n=[],this.editor.dom.getParent(t,(function(e){return e===c||void n.push(e)})),(e=e||{}).element=t,e.parents=n,this.editor.fire("NodeChange",e))},LC.prototype.isSameElementPath=function(e){var t,n=this.editor.$(e).parentsUntil(this.editor.getBody()).add(e);if(n.length===this.lastPath.length){for(t=n.length;0<=t&&n[t]===this.lastPath[t];t--);if(-1===t)return this.lastPath=n,!0}return this.lastPath=n,!1},LC);function LC(e){var t;this.lastPath=[],this.editor=e;var n=this;"onselectionchange"in e.getDoc()||e.on("NodeChange click mouseup keyup focus",(function(n){var c=e.selection.getRng(),r={startContainer:c.startContainer,startOffset:c.startOffset,endContainer:c.endContainer,endOffset:c.endOffset};"nodechange"!==n.type&&yf(r,t)||e.fire("SelectionChange"),t=r})),e.on("contextmenu",(function(){e.fire("SelectionChange")})),e.on("SelectionChange",(function(){var t=e.selection.getStart(!0);!t||!Ct.range&&e.selection.isCollapsed()||ku(e)&&!n.isSameElementPath(t)&&e.dom.isChildOf(t,e.getBody())&&e.nodeChanged({selectionChange:!0})})),e.on("mouseup",(function(t){!t.isDefaultPrevented()&&ku(e)&&("IMG"===e.selection.getNode().nodeName?Lc.setEditorTimeout(e,(function(){e.nodeChanged()})):e.nodeChanged())}))}function wC(e){return In(e)&&fr(Lt.fromDom(e))}function _C(e){var t=e.getBoundingClientRect(),n=e.ownerDocument,c=n.documentElement,r=n.defaultView;return{top:t.top+r.pageYOffset-c.clientTop,left:t.left+r.pageXOffset-c.clientLeft}}function xC(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function kC(e){var t,n,c,r,a,o,i=li(),s=Qo.DOM,l=document,u=function(e,t){var n=Lc.throttle((function(e,n){t._selectionOverrides.hideFakeCaret(),t.selection.placeCaretAt(e,n)}),0);return t.on("remove",n.stop),function(c){return e.on((function(e){var r,a,o,i,s,l,u,f,d,h,m,p,g,v,b,z,y,C,H,M,V=Math.max(Math.abs(c.screenX-e.screenX),Math.abs(c.screenY-e.screenY));if(!e.dragging&&10
    ').attr("id",z)).appendTo(e.getBody());var o=p.createRng();n===c&&Ct.ie?(a.empty().append('

     

    ').append(n),o.setStartAfter(a[0].firstChild.firstChild),o.setEndAfter(n)):(a.empty().append(br).append(n).append(br),o.setStart(a[0].firstChild,1),o.setEnd(a[0].lastChild,0)),a.css({top:p.getPos(t,e.getBody()).y}),a[0].focus();var i=m.getSel();return i.removeAllRanges(),i.addRange(o),o}(t,c.targetClone,n),a=Lt.fromDom(t);return R(gi(Lt.fromDom(e.getBody()),"*[data-mce-selected]"),(function(e){$e(a,e)||zn(e,y)})),p.getAttrib(t,y)||t.setAttribute(y,"1"),u=t,H(),r}(g)}return null}function l(){u&&u.removeAttribute(y),gc(Lt.fromDom(e.getBody()),"#"+z).each(En),u=null}var u,f,d,h,m=e.selection,p=e.dom,g=p.isBlock,v=e.getBody(),b=function(e,t,n,c){function r(){!function(){for(var e=gi(Lt.fromDom(t),"*[contentEditable=false],video,audio,embed,object"),n=0;n
    ').css(_e({},f)).appendTo(t)[0];return i.set({caret:d,element:s,before:e}),e&&Wo(d).addClass("mce-visual-caret-before"),a=Lc.setInterval((function(){c()?Wo("div.mce-visual-caret",t).toggleClass("mce-visual-caret-hidden"):Wo("div.mce-visual-caret",t).addClass("mce-visual-caret-hidden")}),500),(u=s.ownerDocument.createRange()).setStart(o,0),u.setEnd(o,0),u},hide:r,getCss:function(){return".mce-visual-caret {position: absolute;background-color: black;background-color: currentcolor;}.mce-visual-caret-hidden {display: none;}*[data-mce-caret] {position: absolute;left: -1000px;right: auto;top: 0;margin: 0;padding: 0;}"},reposition:function(){i.on((function(e){var n=js(t,e.element,e.before);Wo(e.caret).css(_e({},n))}))},destroy:function(){return Lc.clearInterval(a)}}}(e,v,g,(function(){return hd(e)})),z="sel-"+p.uniqueId(),y="data-mce-selected",C=m.getRng,H=function(){b.hide()};return Ct.ceFalse&&!Jp(e)&&(e.on("mouseup",(function(t){var n=C();n.collapsed&&Ig(e,t.clientX,t.clientY)&&Jv(e,n,!1).each(c)})),e.on("click",(function(t){var n=SC(e,t.target);n&&(KC(n)&&(t.preventDefault(),e.focus()),QC(n)&&p.isChildOf(n,m.getNode())&&l())})),e.on("blur NewBlock",l),e.on("ResizeWindow FullscreenStateChanged",b.reposition),e.on("tap",(function(n){var c=n.target,r=SC(e,c);KC(r)?(n.preventDefault(),Kv(e,r).each(s)):t(c)&&Kv(e,c).each(s)}),!0),e.on("mousedown",(function(a){var i,u,f,d,h,b,z,y=a.target;y!==v&&"HTML"!==y.nodeName&&!p.isChildOf(y,v)||!1===Ig(e,a.clientX,a.clientY)||((i=SC(e,y))?KC(i)?(a.preventDefault(),Kv(e,i).each(s)):(l(),QC(i)&&a.shiftKey||hf(a.clientX,a.clientY,m.getRng())||(H(),m.placeCaretAt(a.clientX,a.clientY))):t(y)?Kv(e,y).each(s):!1===Fs(y)&&(l(),H(),(u=function(e,t,n){function c(e){return!ln(e.node)&&!Gn(e.node)}var r,a,o,i=lz(j(Ce(e.getElementsByTagName("*")),Fs));return(o=Mz(j(i,L(Hz,n)),t,c))&&(o=Mz(function(e,t,n){function c(e,n){var c=j(lz([n]),(function(n){return!e(n,t)}));return r=r.concat(c),0===c.length}void 0===n&&(n=!0);var r=[];return r.push(t),Vz(uz.Up,e,L(c,xi),t.node,n),Vz(uz.Down,e,L(c,ki),t.node,n),r}(e,o,c(o)),t,c))&&Fs(o.node)?{node:(r=o).node,before:zz(r,a=t)")+"";e.getParam("document_base_url","")!==e.documentBaseUrl&&(t+=''),t+='';var n=ys(e,"body_id","tinymce"),c=ys(e,"body_class",""),r=e.translate(e.getParam("iframe_aria_text","Rich Text Area. Press ALT-0 for help.","string"));return Cs(e)&&(t+=''),t+'
    '}(e),eH.add(t.iframeContainer,i),s}(m=e,p=b),p.editorContainer&&(eH.get(p.editorContainer).style.display=m.orgDisplay,m.hidden=eH.isHidden(p.editorContainer)),m.getElement().style.display="none",eH.setAttrib(m.id,"aria-hidden","true"),void(g||RC(m)))}function $C(e){return"-"===e.charAt(0)}function FC(e,t,n){return ve.from(t).filter((function(e){return 0")},mceToggleVisualAid:function(){e.hasVisual=!e.hasVisual,e.addVisual()},mceReplaceContent:function(t,n,c){e.execCommand("mceInsertContent",!1,c.replace(/\{\$selection\}/g,e.selection.getContent({format:"text"})))},mceInsertLink:function(t,n,c){"string"==typeof c&&(c={href:c});var r=e.dom.getParent(e.selection.getNode(),"a");c.href=c.href.replace(/ /g,"%20"),r&&c.href||e.formatter.remove("link"),c.href&&e.formatter.apply("link",c,r)},selectAll:function(){var t,n=e.dom.getParent(e.selection.getStart(),Yn);n&&((t=e.dom.createRng()).selectNodeContents(n),e.selection.setRng(t))},mceNewDocument:function(){e.setContent("")},InsertLineBreak:function(t,n,c){return By(e,c),!0}}),t.addCommands({JustifyLeft:n("alignleft"),JustifyCenter:n("aligncenter"),JustifyRight:n("alignright"),JustifyFull:n("alignjustify"),"Bold,Italic,Underline,Strikethrough,Superscript,Subscript":function(e){return t.isFormatMatch(e)},mceBlockQuote:function(){return t.isFormatMatch("blockquote")},Outdent:function(){return Uz(e)},"InsertUnorderedList,InsertOrderedList":function(t){var n=e.dom.getParent(e.selection.getNode(),"ul,ol");return n&&("insertunorderedlist"===t&&"UL"===n.tagName||"insertorderedlist"===t&&"OL"===n.tagName)}},"state"),t.addCommands({Undo:function(){e.undoManager.undo()},Redo:function(){e.undoManager.redo()}}),t.addQueryValueHandler("FontName",(function(){return WC(t=e,(function(e){return oH(t.getBody(),e.dom)})).getOr("");var t}),this),t.addQueryValueHandler("FontSize",(function(){return WC(t=e,(function(e){return aH(t.getBody(),e.dom)})).getOr("");var t}),this),t.addQueryValueHandler("LineHeight",(function(){return WC(t=e,(function(e){var n=Lt.fromDom(t.getBody());return zm(e,(function(e){return Cn(e,"line-height")}),L($e,n)).getOrThunk((function(){var t=parseFloat(yn(e,"line-height")),n=parseFloat(yn(e,"font-size"));return String(t/n)}))})).getOr("");var t}),this)},fH);function fH(e){this.commands={state:{},exec:{},value:{}},this.editor=e,this.setupCommands(e)}function dH(e,t,n){try{e.getDoc().execCommand(t,!1,String(n))}catch(e){}}function hH(e,t){e.dom.contentEditable=t?"true":"false"}function mH(e,t){var n,c,r=Lt.fromDom(e.getBody());(function(e,t,n){var c,r,a,o,i,s;pi(e,t)&&!1===n?(r=t,hi(c=e)?c.dom.classList.remove(r):(i=r,0<(s=j(di(o=c,"class"),(function(e){return e!==i}))).length?pn(o,"class",s.join(" ")):zn(o,"class")),0===(hi(a=c)?a.dom.classList:di(a,"class")).length&&zn(a,"class")):n&&mi(e,t)})(r,"mce-content-readonly",t),t?(e.selection.controlSelection.hideResizeRect(),e._selectionOverrides.hideFakeCaret(),ve.from(e.selection.getNode()).each((function(e){e.removeAttribute("data-mce-selected")})),hH(r,!(e.readonly=!0)),R(gi(r,'*[contenteditable="true"]'),(function(e){pn(e,vH,"true"),hH(e,!1)}))):(hH(r,!(e.readonly=!1)),R(gi(r,"*["+vH+'="true"]'),(function(e){zn(e,vH),hH(e,!0)})),dH(e,"StyleWithCSS",!1),dH(e,"enableInlineTableEditing",!1),dH(e,"enableObjectResizing",!1),(hd(n=e)||(c=n,Kf(Tn(Lt.fromDom(c.getElement()))).filter((function(e){return!(void 0!==(t=e.dom.classList)&&(t.contains("tox-edit-area")||t.contains("tox-edit-area__iframe")||t.contains("mce-content-body")))&&sd(c,e.dom);var t})).isSome()))&&e.focus(),e.selection.setRng(e.selection.getRng()),e.nodeChanged())}function pH(e){return e.readonly}function gH(e){e.parser.addAttributeFilter("contenteditable",(function(t){pH(e)&&R(t,(function(e){e.attr(vH,e.attr("contenteditable")),e.attr("contenteditable","false")}))})),e.serializer.addAttributeFilter(vH,(function(t){pH(e)&&R(t,(function(e){e.attr("contenteditable",e.attr(vH))}))})),e.serializer.addTempAttr(vH)}var vH="data-mce-contenteditable",bH=Vt.makeMap("focus blur focusin focusout click dblclick mousedown mouseup mousemove mouseover beforepaste paste cut copy selectionchange mouseout mouseenter mouseleave wheel keydown keypress keyup input beforeinput contextmenu dragstart dragend dragover draggesture dragdrop drop drag submit compositionstart compositionend compositionupdate touchstart touchmove touchend touchcancel"," "),zH=(yH.isNative=function(e){return!!bH[e.toLowerCase()]},yH.prototype.fire=function(e,t){var n=e.toLowerCase(),c=ar(n,t||{},this.scope);this.settings.beforeFire&&this.settings.beforeFire(c);var r=this.bindings[n];if(r)for(var a=0,o=r.length;a"),wH);return r[r.length-1]=Vt.extend(r[r.length-1],{func:n,scope:c||this.editor}),Vt.extend(r[0],{desc:this.editor.translate(t),subpatterns:r.slice(1)})},PH.prototype.hasModifier=function(e){return e.altKey||e.ctrlKey||e.metaKey},PH.prototype.isFunctionKey=function(e){return"keydown"===e.type&&112<=e.keyCode&&e.keyCode<=123},PH.prototype.matchShortcut=function(e,t){return!!t&&t.ctrl===e.ctrlKey&&t.meta===e.metaKey&&t.alt===e.altKey&&t.shift===e.shiftKey&&!!(e.keyCode===t.keyCode||e.charCode&&e.charCode===t.charCode)&&(e.preventDefault(),!0)},PH.prototype.executeShortcutAction=function(e){return e.func?e.func.call(e.scope):null},PH);function PH(e){this.shortcuts={},this.pendingPatterns=[],this.editor=e;var t=this;e.on("keyup keypress keydown",(function(e){!t.hasModifier(e)&&!t.isFunctionKey(e)||e.isDefaultPrevented()||(TH(t.shortcuts,(function(n){if(t.matchShortcut(e,n))return t.pendingPatterns=n.subpatterns.slice(0),"keydown"===e.type&&t.executeShortcutAction(n),!0})),t.matchShortcut(e,t.pendingPatterns[0])&&(1===t.pendingPatterns.length&&"keydown"===e.type&&t.executeShortcutAction(t.pendingPatterns[0]),t.pendingPatterns.shift()))}))}var RH=Qo.DOM,IH=Vt.extend,BH=Vt.each,jH=Vt.resolve,$H=Ct.ie,FH=(qH.prototype.render=function(){!function(e){var t=e.id;ii.setCode(_s(e));var n,c,r,a,o=function(){cH.unbind(window,"ready",o),e.render()};aa.Event.domLoaded?e.getElement()&&Ct.contentEditable&&(n=Lt.fromDom(e.getElement()),c=F(n.dom.attributes,(function(e,t){return e[t.name]=t.value,e}),{}),e.on("remove",(function(){I(n.dom.attributes,(function(e){return zn(n,e.name),0})),gn(n,c)})),e.ui.styleSheetLoader=wc.forElement(n,{contentCssCors:(r=e).getParam("content_css_cors"),referrerPolicy:ws(r)}),e.getParam("inline")?e.inline=!0:(e.orgVisibility=e.getElement().style.visibility,e.getElement().style.visibility="hidden"),(a=e.getElement().form||cH.getParent(t,"form"))&&(e.formElement=a,e.getParam("hidden_input")&&!Bn(e.getElement())&&(cH.insertAfter(cH.create("input",{type:"hidden",name:t}),t),e.hasHiddenInput=!0),e.formEventDelegate=function(t){e.fire(t.type,t)},cH.bind(a,"submit reset",e.formEventDelegate),e.on("reset",(function(){e.resetContent()})),!e.getParam("submit_patch")||a.submit.nodeType||a.submit.length||a._mceOldSubmit||(a._mceOldSubmit=a.submit,a.submit=function(){return e.editorManager.triggerSave(),e.setDirty(!1),a._mceOldSubmit(a)})),e.windowManager=hv(e),e.notificationManager=Bg(e),"xml"===e.getParam("encoding")&&e.on("GetContent",(function(e){e.save&&(e.content=cH.encode(e.content))})),e.getParam("add_form_submit_trigger")&&e.on("submit",(function(){e.initialized&&e.save()})),e.getParam("add_unload_trigger")&&(e._beforeUnload=function(){!e.initialized||e.destroyed||e.isHidden()||e.save({format:"raw",no_events:!0,set_dirty:!1})},e.editorManager.on("BeforeUnload",e._beforeUnload)),e.editorManager.add(e),function(e,t){var n,c,r=ti.ScriptLoader,a=r,o=t,i=function(){var n,c,a,o,i,l,u,f,d;i=r,f=_s(l=e),d=l.getParam("language_url","","string"),!1===ii.hasCode(f)&&"en"!==f&&(u=""!==d?d:l.editorManager.baseURL+"/langs/"+f+".js",i.add(u,s,void 0,(function(){gv(l,"LanguageLoadError",vv("language",u,f))}))),a=r,R(function(e){for(var t=[],n=function(e){t.push(e)},c=0;c",visual:!0,font_size_legacy_values:"xx-small,small,medium,large,x-large,xx-large,300%",forced_root_block:"p",hidden_input:!0,inline_styles:!0,convert_fonts_to_spans:!0,indent:!0,indent_before:"p,h1,h2,h3,h4,h5,h6,blockquote,div,title,style,pre,script,td,th,ul,ol,li,dl,dt,dd,area,table,thead,tfoot,tbody,tr,section,summary,article,hgroup,aside,figure,figcaption,option,optgroup,datalist",indent_after:"p,h1,h2,h3,h4,h5,h6,blockquote,div,title,style,pre,script,td,th,ul,ol,li,dl,dt,dd,area,table,thead,tfoot,tbody,tr,section,summary,article,hgroup,aside,figure,figcaption,option,optgroup,datalist",entity_encoding:"named",url_converter:this.convertURL,url_converter_scope:this},b=_e(_e({},v),g?av:{}),!1!==(z=Ng(nv||cv,nv,b,h,m)).deprecation_warnings&&function(e,t){var n,c,r,a,o,i,s,l=(n=e,c=j(Qg,(function(e){return Le(n,e)})),!1!==(r=n.forced_root_block)&&""!==r||c.push("forced_root_block (false only)"),Q(c)),u=(s=Vt.makeMap(t.plugins," "),Q(xe(xe([],j(Kg,m),!0),Y(Jg,(function(e){return m(e)?[e+" (moving to premium)"]:[]})),!0))),f=0=n.x&&r.x+r.w<=n.w+n.x&&r.y>=n.y&&r.y+r.h<=n.h+n.y)return c[a];return null},intersect:function(e,t){var n=hM(e.x,t.x),c=hM(e.y,t.y),r=dM(e.x+e.w,t.x+t.w),a=dM(e.y+e.h,t.y+t.h);return r-n<0||a-c<0?null:iM(n,c,r-n,a-c)},clamp:function(e,t,n){var c=e.x,r=e.y,a=e.x+e.w,o=e.y+e.h,i=t.x+t.w,s=t.y+t.h,l=hM(0,t.x-c),u=hM(0,t.y-r),f=hM(0,a-i),d=hM(0,o-s);return c+=l,r+=u,n&&(a+=l,o+=u,c-=f,r-=d),iM(c,r,(a-=f)-c,(o-=d)-r)},create:iM,fromClientRect:function(e){return iM(e.left,e.top,e.width,e.height)}},gM=(sM={},lM={},{load:function(e,t){var n='Script at URL "'+t+'" failed to load',c='Script at URL "'+t+"\" did not call `tinymce.Resource.add('"+e+"', data)` within 1 second";if(void 0!==sM[e])return sM[e];var r=new Vc((function(r,a){var o=function(e,t,n){function c(e){return function(){for(var t=[],n=0;nn?t+n:n}function i(e,t){return Math.round((/%/.test(e)?("x"===t?w.width():r())/100:1)*parseInt(e,10))}function s(e,t){return e.get("photo")||e.get("photoRegex").test(t)}function l(e,t){return e.get("retinaUrl")&&n.devicePixelRatio>1?t.replace(e.get("photoRegex"),e.get("retinaSuffix")):t}function u(e){"contains"in b[0]&&!b[0].contains(e.target)&&e.target!==v[0]&&(e.stopPropagation(),b.focus())}function f(e){f.str!==e&&(b.add(v).removeClass(f.str).addClass(e),f.str=e)}function d(n){e(t).trigger(n),oe.triggerHandler(n)}function h(n){var r;if(!W){if(r=e(n).data(Q),function(t){$=0,t&&!1!==t&&"nofollow"!==t?(L=e("."+J).filter((function(){return new a(this,e.data(this,Q)).get("rel")===t})),-1===($=L.index(P.el))&&(L=L.add(P.el),$=L.length-1)):L=e(P.el)}((P=new a(n,r)).get("rel")),!q){q=U=!0,f(P.get("className")),b.css({visibility:"hidden",display:"block",opacity:""}),_=c(ie,"LoadedContent","width:0; height:0; overflow:hidden; visibility:hidden"),y.css({width:"",height:""}).append(_),R=C.height()+V.height()+y.outerHeight(!0)-y.height(),I=H.width()+M.width()+y.outerWidth(!0)-y.width(),B=_.outerHeight(!0),j=_.outerWidth(!0);var o=i(P.get("initialWidth"),"x"),s=i(P.get("initialHeight"),"y"),l=P.get("maxWidth"),h=P.get("maxHeight");P.w=Math.max((!1!==l?Math.min(o,i(l,"x")):o)-j-I,0),P.h=Math.max((!1!==h?Math.min(s,i(h,"y")):s)-B-R,0),_.css({width:"",height:P.h}),Z.position(),d(ee),P.get("onOpen"),O.add(S).hide(),b.focus(),P.get("trapFocus")&&t.addEventListener&&(t.addEventListener("focus",u,!0),oe.one(re,(function(){t.removeEventListener("focus",u,!0)}))),P.get("returnFocus")&&oe.one(re,(function(){e(P.el).focus()}))}var m=parseFloat(P.get("opacity"));v.css({opacity:m==m?m:"",cursor:P.get("overlayClose")?"pointer":"",visibility:"visible"}).show(),P.get("closeButton")?N.html(P.get("close")).appendTo(y):N.appendTo("
    "),g()}}function m(){b||(X=!1,w=e(n),b=c(ie).attr({id:Q,class:!1===e.support.opacity?K+"IE":"",role:"dialog",tabindex:"-1"}).hide(),v=c(ie,"Overlay").hide(),k=e([c(ie,"LoadingOverlay")[0],c(ie,"LoadingGraphic")[0]]),z=c(ie,"Wrapper"),y=c(ie,"Content").append(S=c(ie,"Title"),A=c(ie,"Current"),E=e('
    \n
    ',null!=e.firstChild?e.insertBefore(this.el,e.firstChild):e.appendChild(this.el)}return this.el},J.prototype.finish=function(){var e=this.getElement();return e.className=e.className.replace("pace-active","pace-inactive"),document.body.className=document.body.className.replace("pace-running ","pace-done ")},J.prototype.update=function(e){return this.progress=e,o.trigger("progress",e),this.render()},J.prototype.destroy=function(){try{this.getElement().parentNode.removeChild(this.getElement())}catch(e){a=e}return this.el=void 0},J.prototype.render=function(){var e,t,n,c,r,a,i;if(null==document.querySelector(_.target))return!1;for(e=this.getElement(),c="translate3d("+this.progress+"%, 0, 0)",r=0,a=(i=["webkitTransform","msTransform","transform"]).length;r_.eventLag.sampleCount&&r.shift(),e=m(r),++c>=_.eventLag.minSamples&&e<_.eventLag.lagThreshold?(a.progress=100,clearInterval(t)):a.progress=3/(e+3)*100}),50)},oe.prototype.tick=function(e,t){return 100<=(t=null==t?k(this.source,"progress"):t)&&(this.done=!0),t===this.last?this.sinceLastUpdate+=e:(this.sinceLastUpdate&&(this.rate=(t-this.last)/this.sinceLastUpdate),this.catchup=(t-this.progress)/_.catchupTime,this.sinceLastUpdate=0,this.last=t),t>this.progress&&(this.progress+=this.catchup*e),t=1-Math.pow(this.progress/100,_.easeFactor),this.progress+=t*this.rate*e,this.progress=Math.min(this.lastProgress+_.maxProgressPerFrame,this.progress),this.progress=Math.max(0,this.progress),this.progress=Math.min(100,this.progress),this.lastProgress=this.progress,this.progress},l=oe,g=h=O=p=A=N=null,o.running=!1,M=function(){if(_.restartOnPushState)return o.restart()},null!=window.history.pushState&&(F=window.history.pushState,window.history.pushState=function(){return M(),F.apply(window.history,arguments)}),null!=window.history.replaceState&&(U=window.history.replaceState,window.history.replaceState=function(){return M(),U.apply(window.history,arguments)}),s={ajax:t,elements:C,document:W,eventLag:X},(L=function(){var e,t,c,r,a,i,u,f;for(o.sources=N=[],t=0,r=(i=["ajax","elements","document","eventLag"]).length;tH&&(H=-50),m(this),d.each((function(){var a=e(this);r(a);var o=this,i=o.id,d={position:"absolute",top:m=-H+"%",left:m,display:"block",width:d=100+2*H+"%",height:d,margin:0,padding:0,background:"#fff",border:0,opacity:0},m=_mobile?{position:"absolute",visibility:"hidden"}:H?d:{position:"absolute",opacity:0},g="checkbox"==o[_type]?p.checkboxClass||"icheckbox":p.radioClass||"i"+u,M=e(_label+'[for="'+i+'"]').add(a.closest(_label)),V=!!p.aria,L=s+"-"+Math.random().toString(36).substr(2,6),w='
    ")[_callback]("ifCreated").parent().append(p.insert),d=e('').css(d).appendTo(w),a.data(s,{o:p,s:a.attr("style")}).css(m),p.inheritClass&&w[_add](o.className||""),p.inheritID&&i&&w.attr("id",s+"-"+i),"static"==w.css("position")&&w.css("position","relative"),t(a,!0,_update),M.length&&M.on(_click+".i mouseover.i mouseout.i "+_touch,(function(n){var c=n[_type],r=e(this);if(!o[h]){if(c==_click){if(e(n.target).is("a"))return;t(a,!1,!0)}else y&&(/ut|nd/.test(c)?(w[_remove](v),r[_remove](C)):(w[_add](v),r[_add](C)));if(!_mobile)return!1;n.stopPropagation()}})),a.on(_click+".i focus.i blur.i keyup.i keydown.i keypress.i",(function(e){var t=e[_type];return e=e.keyCode,t!=_click&&("keydown"==t&&32==e?(o[_type]==u&&o[f]||(o[f]?c(a,f):n(a,f)),!1):void("keyup"==t&&o[_type]==u?!o[f]&&n(a,f):/us|ur/.test(t)&&w["blur"==t?_remove:_add](b)))})),d.on(_click+" mousedown mouseup mouseover mouseout "+_touch,(function(e){var n=e[_type],c=/wn|up/.test(n)?z:v;if(!o[h]){if(n==_click?t(a,!1,!0):(/wn|er|in/.test(n)?w[_add](c):w[_remove](c+" "+z),M.length&&y&&c==v&&M[/ut|nd/.test(n)?_remove:_add](C)),!_mobile)return!1;e.stopPropagation()}}))}))}}(window.jQuery||window.Zepto),function(e){"use strict";function t(e,t,n){"show"===t?"fade"===n?e.fadeIn():"slide"===n?e.slideDown():e.fadeIn():"fade"===n?e.fadeOut():"slide"===n?e.slideUp():e.fadeOut()}function n(t,n){var c=!0;t.on("click",(function(){1==c&&(c=!1,e("html, body").animate({scrollTop:0},n,(function(){c=!0})))}))}e.goup=function(c){var r=e.extend({location:"right",locationOffset:20,bottomOffset:10,containerSize:40,containerRadius:10,containerClass:"goup-container",arrowClass:"goup-arrow",alwaysVisible:!1,trigger:500,entryAnimation:"fade",goupSpeed:"slow",hideUnderWidth:500,containerColor:"#000",arrowColor:"#fff",title:"",titleAsText:!1,titleAsTextClass:"goup-text",zIndex:1},c);"right"!==r.location&&"left"!==r.location&&(r.location="right"),0>r.locationOffset&&(r.locationOffset=0),0>r.bottomOffset&&(r.bottomOffset=0),20>r.containerSize&&(r.containerSize=20),0>r.containerRadius&&(r.containerRadius=0),0>r.trigger&&(r.trigger=0),0>r.hideUnderWidth&&(r.hideUnderWidth=0);var a=/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i;a.test(r.containerColor)||(r.containerColor="#000"),a.test(r.arrowColor)||(r.arrowColor="#fff"),""===r.title&&(r.titleAsText=!1),isNaN(r.zIndex)&&(r.zIndex=1);var o=e("body"),i=e(window),s=e("
    ");s.addClass(r.containerClass);var l=e("
    ");l.addClass(r.arrowClass),s.html(l),o.append(s);var u={position:"fixed",width:r.containerSize,height:r.containerSize,background:r.containerColor,cursor:"pointer",display:"none","z-index":r.zIndex};if(u.bottom=r.bottomOffset,u[r.location]=r.locationOffset,u["border-radius"]=r.containerRadius,s.css(u),r.titleAsText){var f=e("
    ");o.append(f),f.addClass(r.titleAsTextClass).text(r.title),f.attr("style",s.attr("style")),f.css("background","transparent").css("width",r.containerSize+40).css("height","auto").css("text-align","center").css(r.location,r.locationOffset-20);var d=parseInt(f.height())+10,h=parseInt(s.css("bottom"));s.css("bottom",d+h)}else s.attr("title",r.title);var m=.25*r.containerSize,p={width:0,height:0,margin:"0 auto","padding-top":Math.ceil(.325*r.containerSize),"border-style":"solid","border-width":"0 "+m+"px "+m+"px "+m+"px","border-color":"transparent transparent "+r.arrowColor+" transparent"};l.css(p);var g=!1;i.resize((function(){i.outerWidth()<=r.hideUnderWidth?(g=!0,t(s,"hide",r.entryAnimation),void 0!==f&&t(f,"hide",r.entryAnimation)):(g=!1,i.trigger("scroll"))})),i.outerWidth()<=r.hideUnderWidth&&(g=!0,s.hide(),void 0!==f&&f.hide()),r.alwaysVisible?(t(s,"show",r.entryAnimation),void 0!==f&&t(f,"show",r.entryAnimation)):i.scroll((function(){i.scrollTop()>=r.trigger&&!g&&(t(s,"show",r.entryAnimation),void 0!==f&&t(f,"show",r.entryAnimation)),i.scrollTop()=r.trigger&&!g&&(t(s,"show",r.entryAnimation),void 0!==f&&t(f,"show",r.entryAnimation)),n(s,r.goupSpeed),void 0!==f&&n(f,r.goupSpeed)}}(jQuery);const base_url=window.location.origin;function ajax_group_status(e,t){let n=Math.random();null!=t?$.ajax({url:base_url+"/admin/ajax?action=toggle_group_active_status&rand="+n,data:{group_id:e,group_status:t},dataType:"html",success:function(n){$("div#message").html(n),$("div#message").show("fast",(function(){})),0==t?$("td#group-"+e).html('Activate'):$("td#group-"+e).html('Deactivate'),$("#message").fadeOut(5e3)},error:function(e,t,n){alert("Error in ajax_group_status: "+t)}}):alert("Weird.. what group id are looking for?")}function ajax_sharing_site_status(e,t){let n=Math.random();null!=t?$.ajax({url:base_url+"/admin/ajax?action=sharing_toggle_status&rand="+n,data:{site_id:e,site_status:t},dataType:"html",success:function(n){$("div#message").html(n),$("div#message").show("fast",(function(){})),0==t?$("td#site-"+e).html(''):$("td#site-"+e).html(''),$("#message").fadeOut(5e3)},error:function(e,t,n){alert("Error in ajax_sharing_site_status: "+t)}}):alert("Weird.. what site id are looking for?")}function ajax_sharing_enabled(e,t){let n=Math.random();null!=t?$.ajax({url:base_url+"/admin/ajax?action=sharing_toggle_enabled&rand="+n,data:{enabled_status:t},dataType:"html",success:function(n){$("div#message").html(n),$("div#message").show("fast",(function(){})),0==t?$("strong#enabled-"+e).html(''):$("strong#enabled-"+e).html(''),$("#message").fadeOut(5e3)},error:function(e,t,n){alert("Error in ajax_sharing_enabled: "+t)}}):alert("Weird.. what enabled id are looking for?")}function ajax_sharing_startposition(e,t){let n=Math.random();null!=t?$.ajax({url:base_url+"/admin/ajax?action=sharing_start_position&rand="+n,data:{start_position:t},dataType:"html",success:function(n){$("div#message").html(n),$("div#message").show("fast",(function(){})),0==t?$("strong#startposition-"+e).html(''):$("strong#startposition-"+e).html(''),$("#message").fadeOut(5e3)},error:function(e,t,n){alert("Error in ajax_sharing_startposition: "+t)}}):alert("Weird.. what enabled id are looking for?")}function ajax_sharing_reset(e){let t=Math.random();$.ajax({url:base_url+"/admin/ajax?action=sharing_reset_settings&rand="+t,data:{reset_settings:e},dataType:"html",success:function(e){$("div#message").html(e),$("div#message").show("fast",(function(){})),$("#message").fadeOut(5e3),setTimeout("history.go(0);",1500)},error:function(e,t,n){alert("Error in ajax_sharing_reset: "+t)}})}function ajax_sharing_site_purge(e){let t=Math.random();$.ajax({url:base_url+"/admin/ajax?action=sharing_purge_site&rand="+t,data:{purge_site:e},dataType:"html",success:function(e){$("div#message").html(e),$("div#message").show("fast",(function(){})),$("#message").fadeOut(5e3),setTimeout("history.go(0);",1500)},error:function(e,t,n){alert("Error in ajax_sharing_site_purge: "+t)}})}function ajax_sharing_posting(e,t){let n=Math.random();null!=t?$.ajax({url:base_url+"/admin/ajax?action=sharing_toggle_posting&rand="+n,data:{posting_status:t},dataType:"html",success:function(n){$("div#message").html(n),$("div#message").show("fast",(function(){})),0==t?$("strong#posting-"+e).html(''):$("strong#posting-"+e).html(''),$("#message").fadeOut(5e3)},error:function(e,t,n){alert("Error in ajax_sharing_posting: "+t)}}):alert("Weird.. what posting id are looking for?")}function ajax_sharing_fetching(e,t){let n=Math.random();null!=t?$.ajax({url:base_url+"/admin/ajax?action=sharing_toggle_fetching&rand="+n,data:{fetching_status:t},dataType:"html",success:function(n){$("div#message").html(n),$("div#message").show("fast",(function(){})),0==t?$("strong#fetching-"+e).html(''):$("strong#fetching-"+e).html(''),$("#message").fadeOut(5e3)},error:function(e,t,n){alert("Error in ajax_sharing_fetching: "+t)}}):alert("Weird.. what fetching id are looking for?")}function ajax_sharing_auto(e,t){let n=Math.random();null!=t?$.ajax({url:base_url+"/admin/ajax?action=sharing_toggle_site_auto_enabling&rand="+n,data:{auto_status:t},dataType:"html",success:function(n){$("div#message").html(n),$("div#message").show("fast",(function(){})),0==t?$("strong#auto-"+e).html(''):$("strong#auto-"+e).html(''),$("#message").fadeOut(5e3)},error:function(e,t,n){alert("Error in ajax_sharing_auto: "+t)}}):alert("Weird.. what auto id are looking for?")}function ajax_sharing_hide(e,t){let n=Math.random();null!=t?$.ajax({url:base_url+"/admin/ajax?action=sharing_toggle_hide_users&rand="+n,data:{hide_status:t},dataType:"html",success:function(n){$("div#message").html(n),$("div#message").show("fast",(function(){})),0==t?$("strong#hide-"+e).html(''):$("strong#hide-"+e).html(''),$("#message").fadeOut(5e3)},error:function(e,t,n){alert("Error in ajax_sharing_hide: "+t)}}):alert("Weird.. what hide id are looking for?")}function ajax_sharing_toggle_all(e){let t=Math.random();null!=e?$.ajax({url:base_url+"/admin/ajax?action=sharing_toggle_all_sites&rand="+t,data:{toggle_all:e},dataType:"html"}):alert("Weird.. what toggle status are you looking for?")}function ajax_backfill_status(e,t){let n=Math.random();null!=t?$.ajax({url:base_url+"/admin/ajax?action=toggle_group_backfill_status&rand="+n,data:{group_id:e,backfill_status:t},dataType:"html",success:function(n){$("div#message").html(n),$("div#message").show("fast",(function(){})),0==t?$("td#backfill-"+e).html('Activate'):$("td#backfill-"+e).html('Deactivate'),$("#message").fadeOut(5e3)},error:function(e,t,n){alert("Error in ajax_backfill_status: "+t)}}):alert("Weird.. what group id are looking for?")}function ajax_group_delete(e){let t=Math.random();$.ajax({url:base_url+"/admin/ajax?action=group_edit_delete_single&rand="+t,data:{group_id:e},dataType:"html",success:function(t){$("div#message").html(t),$("div#message").show("fast",(function(){})),$("#grouprow-"+e).fadeOut(2e3),$("#message").fadeOut(5e3)},error:function(e,t,n){alert("Error in ajax_group_delete: "+t)}})}function ajax_group_reset(e){let t=Math.random();$.ajax({url:base_url+"/admin/ajax?action=group_edit_reset_single&rand="+t,data:{group_id:e},dataType:"html",success:function(t){$("div#message").html(t),$("div#message").show("fast",(function(){})),$("#grouprow-"+e).fadeTo(2e3,.5),$("#message").fadeOut(5e3)},error:function(e,t,n){alert("Error in ajax_group_reset: "+t)}})}function ajax_group_purge(e){let t=Math.random();$.ajax({url:base_url+"/admin/ajax?action=group_edit_purge_single&rand="+t,data:{group_id:e},dataType:"html",success:function(t){$("div#message").html(t),$("div#message").show("fast",(function(){})),$("#grouprow-"+e).fadeTo(2e3,.5),$("#message").fadeOut(5e3)},error:function(e,t,n){alert("Error in ajax_group_purge: "+t)}})}function ajax_all_reset(){let e=Math.random();$.ajax({url:base_url+"/admin/ajax?action=group_edit_reset_all&rand="+e,data:"All groups reset.",dataType:"html",success:function(e){$("div#message").html(e),$("div#message").show("fast",(function(){})),$("#grouprow-"+id).fadeTo(2e3,.5),$("#message").fadeOut(5e3)},error:function(e,t,n){alert("Error in ajax_all_reset: "+t)}})}function ajax_all_purge(){let e=Math.random();$.ajax({url:base_url+"/admin/ajax?action=group_edit_purge_all&rand="+e,data:"All groups purged",dataType:"html",success:function(e){$("div#message").html(e),$("div#message").show("fast",(function(){})),$("#grouprow-"+id).fadeTo(2e3,.5),$("#message").fadeOut(5e3)},error:function(e,t,n){alert("Error in ajax_all_purge: "+t)}})}function ajax_binaryblacklist_delete(e){let t=Math.random();$.ajax({url:base_url+"/admin/ajax?action=binary_blacklist_delete&rand="+t,data:{row_id:e},dataType:"html",success:function(t){$("div#message").html(t),$("div#message").show("fast",(function(){})),$("#row-"+e).fadeOut(2e3),$("#message").fadeOut(5e3)},error:function(e,t,n){alert("Error in ajax_binaryblacklist_delete: "+t)}})}function ajax_category_regex_delete(e){let t=Math.random();$.ajax({url:base_url+"/admin/ajax?action=category_regex_delete&rand="+t,data:{row_id:e},dataType:"html",success:function(t){$("div#message").html(t),$("div#message").show("fast",(function(){})),$("#row-"+e).fadeOut(2e3),$("#message").fadeOut(5e3)},error:function(e,t,n){alert("Error in ajax_category_regex_delete: "+t)}})}function ajax_collection_regex_delete(e){let t=Math.random();$.ajax({url:base_url+"/admin/ajax?action=collection_regex_delete&rand="+t,data:{row_id:e},dataType:"html",success:function(t){$("div#message").html(t),$("div#message").show("fast",(function(){})),$("#row-"+e).fadeOut(2e3),$("#message").fadeOut(5e3)},error:function(e,t,n){alert("Error in ajax_collection_regex_delete: "+t)}})}function ajax_release_naming_regex_delete(e){let t=Math.random();$.ajax({url:base_url+"/admin/ajax?action=release_naming_regex_delete&rand="+t,data:{row_id:e},dataType:"html",success:function(t){$("div#message").html(t),$("div#message").show("fast",(function(){})),$("#row-"+e).fadeOut(2e3),$("#message").fadeOut(5e3)},error:function(e,t,n){alert("Error in ajax_release_naming_regex_delete: "+t)}})}function enableFixCrapCustom(){if(1==document.getElementsByName("fix_crap_opt")[2].checked){let e=document.getElementsByName("fix_crap[]");for(let t=0;t File upload error '+n+"
    ").prependTo("#alerts")}void 0!==$.fn.wysiwyg&&(console.log("init_wysiwyg"),$(".editor-wrapper").each((function(){var t=$(this).attr("id");$(this).wysiwyg({toolbarSelector:'[data-target="#'+t+'"]',fileUploadError:e})})),window.prettyPrint,prettyPrint())}function init_cropper(){if(void 0!==$.fn.cropper){console.log("init_cropper");var e=$("#image"),t=$("#download"),n=$("#dataX"),c=$("#dataY"),r=$("#dataHeight"),a=$("#dataWidth"),o=$("#dataRotate"),i=$("#dataScaleX"),s=$("#dataScaleY"),l={aspectRatio:16/9,preview:".img-preview",crop:function(e){n.val(Math.round(e.x)),c.val(Math.round(e.y)),r.val(Math.round(e.height)),a.val(Math.round(e.width)),o.val(e.rotate),i.val(e.scaleX),s.val(e.scaleY)}};$('[data-toggle="tooltip"]').tooltip(),e.on({"build.cropper":function(e){console.log(e.type)},"built.cropper":function(e){console.log(e.type)},"cropstart.cropper":function(e){console.log(e.type,e.action)},"cropmove.cropper":function(e){console.log(e.type,e.action)},"cropend.cropper":function(e){console.log(e.type,e.action)},"crop.cropper":function(e){console.log(e.type,e.x,e.y,e.width,e.height,e.rotate,e.scaleX,e.scaleY)},"zoom.cropper":function(e){console.log(e.type,e.ratio)}}).cropper(l),$.isFunction(document.createElement("canvas").getContext)||$('button[data-method="getCroppedCanvas"]').prop("disabled",!0),void 0===document.createElement("cropper").style.transition&&($('button[data-method="rotate"]').prop("disabled",!0),$('button[data-method="scale"]').prop("disabled",!0)),void 0===t[0].download&&t.addClass("disabled"),$(".docs-toggles").on("change","input",(function(){var t,n,c=$(this),r=c.attr("name"),a=c.prop("type");e.data("cropper")&&("checkbox"===a?(l[r]=c.prop("checked"),t=e.cropper("getCropBoxData"),n=e.cropper("getCanvasData"),l.built=function(){e.cropper("setCropBoxData",t),e.cropper("setCanvasData",n)}):"radio"===a&&(l[r]=c.val()),e.cropper("destroy").cropper(l))})),$(".docs-buttons").on("click","[data-method]",(function(){var n,c,r=$(this),a=r.data();if(!r.prop("disabled")&&!r.hasClass("disabled")&&e.data("cropper")&&a.method){if(void 0!==(a=$.extend({},a)).target&&(n=$(a.target),void 0===a.option))try{a.option=JSON.parse(n.val())}catch(e){console.log(e.message)}switch(c=e.cropper(a.method,a.option,a.secondOption),a.method){case"scaleX":case"scaleY":$(this).data("option",-a.option);break;case"getCroppedCanvas":c&&($("#getCroppedCanvasModal").modal().find(".modal-body").html(c),t.hasClass("disabled")||t.attr("href",c.toDataURL()))}if($.isPlainObject(c)&&n)try{n.val(JSON.stringify(c))}catch(e){console.log(e.message)}}})),$(document.body).on("keydown",(function(t){if(e.data("cropper")&&!(this.scrollTop>300))switch(t.which){case 37:t.preventDefault(),e.cropper("move",-1,0);break;case 38:t.preventDefault(),e.cropper("move",0,-1);break;case 39:t.preventDefault(),e.cropper("move",1,0);break;case 40:t.preventDefault(),e.cropper("move",0,1)}}));var u,f=$("#inputImage"),d=window.URL||window.webkitURL;d?f.change((function(){var t,n=this.files;e.data("cropper")&&n&&n.length&&(t=n[0],/^image\/\w+$/.test(t.type)?(u=d.createObjectURL(t),e.one("built.cropper",(function(){d.revokeObjectURL(u)})).cropper("reset").cropper("replace",u),f.val("")):window.alert("Please choose an image file."))})):f.prop("disabled",!0).parent().addClass("disabled")}}function init_knob(){if(void 0!==$.fn.knob){console.log("init_knob"),$(".knob").knob({change:function(e){},release:function(e){console.log("release : "+e)},cancel:function(){console.log("cancel : ",this)},draw:function(){if("tron"==this.$.data("skin")){this.cursorExt=.3;var e,t=this.arc(this.cv);return this.g.lineWidth=this.lineWidth,this.o.displayPrevious&&(e=this.arc(this.v),this.g.beginPath(),this.g.strokeStyle=this.pColor,this.g.arc(this.xy,this.xy,this.radius-this.lineWidth,e.s,e.e,e.d),this.g.stroke()),this.g.beginPath(),this.g.strokeStyle=this.o.fgColor,this.g.arc(this.xy,this.xy,this.radius-this.lineWidth,t.s,t.e,t.d),this.g.stroke(),this.g.lineWidth=2,this.g.beginPath(),this.g.strokeStyle=this.o.fgColor,this.g.arc(this.xy,this.xy,this.radius-this.lineWidth+1+2*this.lineWidth/3,0,2*Math.PI,!1),this.g.stroke(),!1}}});var e,t=0,n=0,c=0,r=$("div.idir"),a=$("div.ival");$("input.infinite").knob({min:0,max:20,stopper:!1,change:function(){e>this.cv?t?(c--,r.show().html("-").fadeOut(),a.html(c),t=0):(t=1,n=0):e
    ";document.getElementById("custom_notifications")?($("#custom_notifications ul.notifications").append("
  • "),$("#custom_notifications #notif-group").append(n),e++,CustomTabs(t)):alert("doesnt exists")},CustomTabs=function(e){$(".tabbed_notifications > div").hide(),$(".tabbed_notifications > div:first-of-type").show(),$("#custom_notifications").removeClass("dsp_none"),$(".notifications a").click((function(e){e.preventDefault();var t=$(this),n="#"+t.parents(".notifications").data("tabbed_notifications"),c=t.closest("li").siblings().children("a"),r=t.attr("href");c.removeClass("active"),t.addClass("active"),$(n).children("div").hide(),$(r).show()}))},CustomTabs();var t=idname="";$(document).on("click",".notification_close",(function(e){idname=$(this).parent().parent().attr("id"),t=idname.substr(-2),$("#ntf"+t).remove(),$("#ntlink"+t).parent().remove(),$(".notifications a").first().addClass("active"),$("#notif-group div").first().css("display","block")}))}}function init_EasyPieChart(){if(void 0!==$.fn.easyPieChart){console.log("init_EasyPieChart"),$(".chart").easyPieChart({easing:"easeOutElastic",delay:3e3,barColor:"#26B99A",trackColor:"#fff",scaleColor:!1,lineWidth:20,trackWidth:16,lineCap:"butt",onStep:function(e,t,n){$(this.el).find(".percent").text(Math.round(n))}});var e=window.chart=$(".chart").data("easyPieChart");$(".js_update").on("click",(function(){e.update(200*Math.random()-100)}));var t=$.fn.popover.Constructor.prototype.leave;$.fn.popover.Constructor.prototype.leave=function(e){var n,c,r=e instanceof this.constructor?e:$(e.currentTarget)[this.type](this.getDelegateOptions()).data("bs."+this.type);t.call(this,e),e.currentTarget&&(n=$(e.currentTarget).siblings(".popover"),c=r.timeout,n.one("mouseenter",(function(){clearTimeout(c),n.one("mouseleave",(function(){$.fn.popover.Constructor.prototype.leave.call(r,r)}))})))},$("body").popover({selector:"[data-popover]",trigger:"click hover",delay:{show:50,hide:400}})}}function init_charts(){if(console.log("run_charts typeof ["+typeof Chart+"]"),"undefined"!=typeof Chart){if(console.log("init_charts"),Chart.defaults.global.legend={enabled:!1},$("#canvas_line").length&&new Chart(document.getElementById("canvas_line"),{type:"line",data:{labels:["January","February","March","April","May","June","July"],datasets:[{label:"My First dataset",backgroundColor:"rgba(38, 185, 154, 0.31)",borderColor:"rgba(38, 185, 154, 0.7)",pointBorderColor:"rgba(38, 185, 154, 0.7)",pointBackgroundColor:"rgba(38, 185, 154, 0.7)",pointHoverBackgroundColor:"#fff",pointHoverBorderColor:"rgba(220,220,220,1)",pointBorderWidth:1,data:[31,74,6,39,20,85,7]},{label:"My Second dataset",backgroundColor:"rgba(3, 88, 106, 0.3)",borderColor:"rgba(3, 88, 106, 0.70)",pointBorderColor:"rgba(3, 88, 106, 0.70)",pointBackgroundColor:"rgba(3, 88, 106, 0.70)",pointHoverBackgroundColor:"#fff",pointHoverBorderColor:"rgba(151,187,205,1)",pointBorderWidth:1,data:[82,23,66,9,99,4,2]}]}}),$("#canvas_line1").length&&new Chart(document.getElementById("canvas_line1"),{type:"line",data:{labels:["January","February","March","April","May","June","July"],datasets:[{label:"My First dataset",backgroundColor:"rgba(38, 185, 154, 0.31)",borderColor:"rgba(38, 185, 154, 0.7)",pointBorderColor:"rgba(38, 185, 154, 0.7)",pointBackgroundColor:"rgba(38, 185, 154, 0.7)",pointHoverBackgroundColor:"#fff",pointHoverBorderColor:"rgba(220,220,220,1)",pointBorderWidth:1,data:[31,74,6,39,20,85,7]},{label:"My Second dataset",backgroundColor:"rgba(3, 88, 106, 0.3)",borderColor:"rgba(3, 88, 106, 0.70)",pointBorderColor:"rgba(3, 88, 106, 0.70)",pointBackgroundColor:"rgba(3, 88, 106, 0.70)",pointHoverBackgroundColor:"#fff",pointHoverBorderColor:"rgba(151,187,205,1)",pointBorderWidth:1,data:[82,23,66,9,99,4,2]}]}}),$("#canvas_line2").length&&new Chart(document.getElementById("canvas_line2"),{type:"line",data:{labels:["January","February","March","April","May","June","July"],datasets:[{label:"My First dataset",backgroundColor:"rgba(38, 185, 154, 0.31)",borderColor:"rgba(38, 185, 154, 0.7)",pointBorderColor:"rgba(38, 185, 154, 0.7)",pointBackgroundColor:"rgba(38, 185, 154, 0.7)",pointHoverBackgroundColor:"#fff",pointHoverBorderColor:"rgba(220,220,220,1)",pointBorderWidth:1,data:[31,74,6,39,20,85,7]},{label:"My Second dataset",backgroundColor:"rgba(3, 88, 106, 0.3)",borderColor:"rgba(3, 88, 106, 0.70)",pointBorderColor:"rgba(3, 88, 106, 0.70)",pointBackgroundColor:"rgba(3, 88, 106, 0.70)",pointHoverBackgroundColor:"#fff",pointHoverBorderColor:"rgba(151,187,205,1)",pointBorderWidth:1,data:[82,23,66,9,99,4,2]}]}}),$("#canvas_line3").length&&new Chart(document.getElementById("canvas_line3"),{type:"line",data:{labels:["January","February","March","April","May","June","July"],datasets:[{label:"My First dataset",backgroundColor:"rgba(38, 185, 154, 0.31)",borderColor:"rgba(38, 185, 154, 0.7)",pointBorderColor:"rgba(38, 185, 154, 0.7)",pointBackgroundColor:"rgba(38, 185, 154, 0.7)",pointHoverBackgroundColor:"#fff",pointHoverBorderColor:"rgba(220,220,220,1)",pointBorderWidth:1,data:[31,74,6,39,20,85,7]},{label:"My Second dataset",backgroundColor:"rgba(3, 88, 106, 0.3)",borderColor:"rgba(3, 88, 106, 0.70)",pointBorderColor:"rgba(3, 88, 106, 0.70)",pointBackgroundColor:"rgba(3, 88, 106, 0.70)",pointHoverBackgroundColor:"#fff",pointHoverBorderColor:"rgba(151,187,205,1)",pointBorderWidth:1,data:[82,23,66,9,99,4,2]}]}}),$("#canvas_line4").length&&new Chart(document.getElementById("canvas_line4"),{type:"line",data:{labels:["January","February","March","April","May","June","July"],datasets:[{label:"My First dataset",backgroundColor:"rgba(38, 185, 154, 0.31)",borderColor:"rgba(38, 185, 154, 0.7)",pointBorderColor:"rgba(38, 185, 154, 0.7)",pointBackgroundColor:"rgba(38, 185, 154, 0.7)",pointHoverBackgroundColor:"#fff",pointHoverBorderColor:"rgba(220,220,220,1)",pointBorderWidth:1,data:[31,74,6,39,20,85,7]},{label:"My Second dataset",backgroundColor:"rgba(3, 88, 106, 0.3)",borderColor:"rgba(3, 88, 106, 0.70)",pointBorderColor:"rgba(3, 88, 106, 0.70)",pointBackgroundColor:"rgba(3, 88, 106, 0.70)",pointHoverBackgroundColor:"#fff",pointHoverBorderColor:"rgba(151,187,205,1)",pointBorderWidth:1,data:[82,23,66,9,99,4,2]}]}}),$("#lineChart").length){var e=document.getElementById("lineChart");new Chart(e,{type:"line",data:{labels:["January","February","March","April","May","June","July"],datasets:[{label:"My First dataset",backgroundColor:"rgba(38, 185, 154, 0.31)",borderColor:"rgba(38, 185, 154, 0.7)",pointBorderColor:"rgba(38, 185, 154, 0.7)",pointBackgroundColor:"rgba(38, 185, 154, 0.7)",pointHoverBackgroundColor:"#fff",pointHoverBorderColor:"rgba(220,220,220,1)",pointBorderWidth:1,data:[31,74,6,39,20,85,7]},{label:"My Second dataset",backgroundColor:"rgba(3, 88, 106, 0.3)",borderColor:"rgba(3, 88, 106, 0.70)",pointBorderColor:"rgba(3, 88, 106, 0.70)",pointBackgroundColor:"rgba(3, 88, 106, 0.70)",pointHoverBackgroundColor:"#fff",pointHoverBorderColor:"rgba(151,187,205,1)",pointBorderWidth:1,data:[82,23,66,9,99,4,2]}]}})}if($("#mybarChart").length){e=document.getElementById("mybarChart");new Chart(e,{type:"bar",data:{labels:["January","February","March","April","May","June","July"],datasets:[{label:"# of Votes",backgroundColor:"#26B99A",data:[51,30,40,28,92,50,45]},{label:"# of Votes",backgroundColor:"#03586A",data:[41,56,25,48,72,34,12]}]},options:{scales:{yAxes:[{ticks:{beginAtZero:!0}}]}}})}if($("#canvasDoughnut").length){e=document.getElementById("canvasDoughnut");var t={labels:["Dark Grey","Purple Color","Gray Color","Green Color","Blue Color"],datasets:[{data:[120,50,140,180,100],backgroundColor:["#455C73","#9B59B6","#BDC3C7","#26B99A","#3498DB"],hoverBackgroundColor:["#34495E","#B370CF","#CFD4D8","#36CAAB","#49A9EA"]}]};new Chart(e,{type:"doughnut",tooltipFillColor:"rgba(51, 51, 51, 0.55)",data:t})}if($("#canvasRadar").length){e=document.getElementById("canvasRadar"),t={labels:["Eating","Drinking","Sleeping","Designing","Coding","Cycling","Running"],datasets:[{label:"My First dataset",backgroundColor:"rgba(3, 88, 106, 0.2)",borderColor:"rgba(3, 88, 106, 0.80)",pointBorderColor:"rgba(3, 88, 106, 0.80)",pointBackgroundColor:"rgba(3, 88, 106, 0.80)",pointHoverBackgroundColor:"#fff",pointHoverBorderColor:"rgba(220,220,220,1)",data:[65,59,90,81,56,55,40]},{label:"My Second dataset",backgroundColor:"rgba(38, 185, 154, 0.2)",borderColor:"rgba(38, 185, 154, 0.85)",pointColor:"rgba(38, 185, 154, 0.85)",pointStrokeColor:"#fff",pointHighlightFill:"#fff",pointHighlightStroke:"rgba(151,187,205,1)",data:[28,48,40,19,96,27,100]}]};new Chart(e,{type:"radar",data:t})}if($("#pieChart").length){e=document.getElementById("pieChart"),t={datasets:[{data:[120,50,140,180,100],backgroundColor:["#455C73","#9B59B6","#BDC3C7","#26B99A","#3498DB"],label:"My dataset"}],labels:["Dark Gray","Purple","Gray","Green","Blue"]};new Chart(e,{data:t,type:"pie",otpions:{legend:!1}})}if($("#polarArea").length){e=document.getElementById("polarArea"),t={datasets:[{data:[120,50,140,180,100],backgroundColor:["#455C73","#9B59B6","#BDC3C7","#26B99A","#3498DB"],label:"My dataset"}],labels:["Dark Gray","Purple","Gray","Green","Blue"]};new Chart(e,{data:t,type:"polarArea",options:{scale:{ticks:{beginAtZero:!0}}}})}}}function init_compose(){void 0!==$.fn.slideToggle&&(console.log("init_compose"),$("#compose, .compose-close").click((function(){$(".compose").slideToggle()})))}function init_calendar(){if(void 0!==$.fn.fullCalendar){console.log("init_calendar");var e,t=new Date,n=t.getDate(),c=t.getMonth(),r=t.getFullYear(),a=$("#calendar").fullCalendar({header:{left:"prev,next today",center:"title",right:"month,agendaWeek,agendaDay,listMonth"},selectable:!0,selectHelper:!0,select:function(t,n,c){$("#fc_create").click(),e=t,ended=n,$(".antosubmit").on("click",(function(){var t=$("#title").val();return n&&(ended=n),$("#event_type").val(),t&&a.fullCalendar("renderEvent",{title:t,start:e,end:n,allDay:c},!0),$("#title").val(""),a.fullCalendar("unselect"),$(".antoclose").click(),!1}))},eventClick:function(e,t,n){$("#fc_edit").click(),$("#title2").val(e.title),$("#event_type").val(),$(".antosubmit2").on("click",(function(){e.title=$("#title2").val(),a.fullCalendar("updateEvent",e),$(".antoclose2").click()})),a.fullCalendar("unselect")},editable:!0,events:[{title:"All Day Event",start:new Date(r,c,1)},{title:"Long Event",start:new Date(r,c,n-5),end:new Date(r,c,n-2)},{title:"Meeting",start:new Date(r,c,n,10,30),allDay:!1},{title:"Lunch",start:new Date(r,c,n+14,12,0),end:new Date(r,c,n,14,0),allDay:!1},{title:"Birthday Party",start:new Date(r,c,n+1,19,0),end:new Date(r,c,n+1,22,30),allDay:!1},{title:"Click for Google",start:new Date(r,c,28),end:new Date(r,c,29),url:"http://google.com/"}]})}}function init_DataTables(){if(console.log("run_datatables"),void 0!==$.fn.DataTable){console.log("init_DataTables");TableManageButtons=function(){"use strict";return{init:function(){$("#datatable-buttons").length&&$("#datatable-buttons").DataTable({dom:"Bfrtip",buttons:[{extend:"copy",className:"btn-sm"},{extend:"csv",className:"btn-sm"},{extend:"excel",className:"btn-sm"},{extend:"pdfHtml5",className:"btn-sm"},{extend:"print",className:"btn-sm"}],responsive:!0})}}}(),$("#datatable").dataTable(),$("#datatable-keytable").DataTable({keys:!0}),$("#datatable-responsive").DataTable(),$("#datatable-scroller").DataTable({ajax:"js/datatables/json/scroller-demo.json",deferRender:!0,scrollY:380,scrollCollapse:!0,scroller:!0}),$("#datatable-fixed-header").DataTable({fixedHeader:!0});var e=$("#datatable-checkbox");e.dataTable({order:[[1,"asc"]],columnDefs:[{orderable:!1,targets:[0]}]}),e.on("draw.dt",(function(){$("checkbox input").iCheck({checkboxClass:"icheckbox_flat-green"})})),TableManageButtons.init()}}function init_morris_charts(){"undefined"!=typeof Morris&&(console.log("init_morris_charts"),$("#graph_bar").length&&Morris.Bar({element:"graph_bar",data:[{device:"iPhone 4",geekbench:380},{device:"iPhone 4S",geekbench:655},{device:"iPhone 3GS",geekbench:275},{device:"iPhone 5",geekbench:1571},{device:"iPhone 5S",geekbench:655},{device:"iPhone 6",geekbench:2154},{device:"iPhone 6 Plus",geekbench:1144},{device:"iPhone 6S",geekbench:2371},{device:"iPhone 6S Plus",geekbench:1471},{device:"Other",geekbench:1371}],xkey:"device",ykeys:["geekbench"],labels:["Geekbench"],barRatio:.4,barColors:["#26B99A","#34495E","#ACADAC","#3498DB"],xLabelAngle:35,hideHover:"auto",resize:!0}),$("#graph_bar_group").length&&Morris.Bar({element:"graph_bar_group",data:[{period:"2016-10-01",licensed:807,sorned:660},{period:"2016-09-30",licensed:1251,sorned:729},{period:"2016-09-29",licensed:1769,sorned:1018},{period:"2016-09-20",licensed:2246,sorned:1461},{period:"2016-09-19",licensed:2657,sorned:1967},{period:"2016-09-18",licensed:3148,sorned:2627},{period:"2016-09-17",licensed:3471,sorned:3740},{period:"2016-09-16",licensed:2871,sorned:2216},{period:"2016-09-15",licensed:2401,sorned:1656},{period:"2016-09-10",licensed:2115,sorned:1022}],xkey:"period",barColors:["#26B99A","#34495E","#ACADAC","#3498DB"],ykeys:["licensed","sorned"],labels:["Licensed","SORN"],hideHover:"auto",xLabelAngle:60,resize:!0}),$("#graphx").length&&Morris.Bar({element:"graphx",data:[{x:"2015 Q1",y:2,z:3,a:4},{x:"2015 Q2",y:3,z:5,a:6},{x:"2015 Q3",y:4,z:3,a:2},{x:"2015 Q4",y:2,z:4,a:5}],xkey:"x",ykeys:["y","z","a"],barColors:["#26B99A","#34495E","#ACADAC","#3498DB"],hideHover:"auto",labels:["Y","Z","A"],resize:!0}).on("click",(function(e,t){console.log(e,t)})),$("#graph_area").length&&Morris.Area({element:"graph_area",data:[{period:"2014 Q1",iphone:2666,ipad:null,itouch:2647},{period:"2014 Q2",iphone:2778,ipad:2294,itouch:2441},{period:"2014 Q3",iphone:4912,ipad:1969,itouch:2501},{period:"2014 Q4",iphone:3767,ipad:3597,itouch:5689},{period:"2015 Q1",iphone:6810,ipad:1914,itouch:2293},{period:"2015 Q2",iphone:5670,ipad:4293,itouch:1881},{period:"2015 Q3",iphone:4820,ipad:3795,itouch:1588},{period:"2015 Q4",iphone:15073,ipad:5967,itouch:5175},{period:"2016 Q1",iphone:10687,ipad:4460,itouch:2028},{period:"2016 Q2",iphone:8432,ipad:5713,itouch:1791}],xkey:"period",ykeys:["iphone","ipad","itouch"],lineColors:["#26B99A","#34495E","#ACADAC","#3498DB"],labels:["iPhone","iPad","iPod Touch"],pointSize:2,hideHover:"auto",resize:!0}),$("#graph_donut").length&&Morris.Donut({element:"graph_donut",data:[{label:"Jam",value:25},{label:"Frosted",value:40},{label:"Custard",value:25},{label:"Sugar",value:10}],colors:["#26B99A","#34495E","#ACADAC","#3498DB"],formatter:function(e){return e+"%"},resize:!0}),$("#graph_line").length&&(Morris.Line({element:"graph_line",xkey:"year",ykeys:["value"],labels:["Value"],hideHover:"auto",lineColors:["#26B99A","#34495E","#ACADAC","#3498DB"],data:[{year:"2012",value:20},{year:"2013",value:10},{year:"2014",value:5},{year:"2015",value:5},{year:"2016",value:20}],resize:!0}),$MENU_TOGGLE.on("click",(function(){$(window).resize()}))))}function init_echarts(){if("undefined"!=typeof echarts){console.log("init_echarts");var e={color:["#26B99A","#34495E","#BDC3C7","#3498DB","#9B59B6","#8abb6f","#759c6a","#bfd3b7"],title:{itemGap:8,textStyle:{fontWeight:"normal",color:"#408829"}},dataRange:{color:["#1f610a","#97b58d"]},toolbox:{color:["#408829","#408829","#408829","#408829"]},tooltip:{backgroundColor:"rgba(0,0,0,0.5)",axisPointer:{type:"line",lineStyle:{color:"#408829",type:"dashed"},crossStyle:{color:"#408829"},shadowStyle:{color:"rgba(200,200,200,0.3)"}}},dataZoom:{dataBackgroundColor:"#eee",fillerColor:"rgba(64,136,41,0.2)",handleColor:"#408829"},grid:{borderWidth:0},categoryAxis:{axisLine:{lineStyle:{color:"#408829"}},splitLine:{lineStyle:{color:["#eee"]}}},valueAxis:{axisLine:{lineStyle:{color:"#408829"}},splitArea:{show:!0,areaStyle:{color:["rgba(250,250,250,0.1)","rgba(200,200,200,0.1)"]}},splitLine:{lineStyle:{color:["#eee"]}}},timeline:{lineStyle:{color:"#408829"},controlStyle:{normal:{color:"#408829"},emphasis:{color:"#408829"}}},k:{itemStyle:{normal:{color:"#68a54a",color0:"#a9cba2",lineStyle:{width:1,color:"#408829",color0:"#86b379"}}}},map:{itemStyle:{normal:{areaStyle:{color:"#ddd"},label:{textStyle:{color:"#c12e34"}}},emphasis:{areaStyle:{color:"#99d2dd"},label:{textStyle:{color:"#c12e34"}}}}},force:{itemStyle:{normal:{linkStyle:{strokeColor:"#408829"}}}},chord:{padding:4,itemStyle:{normal:{lineStyle:{width:1,color:"rgba(128, 128, 128, 0.5)"},chordStyle:{lineStyle:{width:1,color:"rgba(128, 128, 128, 0.5)"}}},emphasis:{lineStyle:{width:1,color:"rgba(128, 128, 128, 0.5)"},chordStyle:{lineStyle:{width:1,color:"rgba(128, 128, 128, 0.5)"}}}}},gauge:{startAngle:225,endAngle:-45,axisLine:{show:!0,lineStyle:{color:[[.2,"#86b379"],[.8,"#68a54a"],[1,"#408829"]],width:8}},axisTick:{splitNumber:10,length:12,lineStyle:{color:"auto"}},axisLabel:{textStyle:{color:"auto"}},splitLine:{length:18,lineStyle:{color:"auto"}},pointer:{length:"90%",color:"auto"},title:{textStyle:{color:"#333"}},detail:{textStyle:{color:"auto"}}},textStyle:{fontFamily:"Arial, Verdana, sans-serif"}};if($("#mainb").length)echarts.init(document.getElementById("mainb"),e).setOption({title:{text:"Graph title",subtext:"Graph Sub-text"},tooltip:{trigger:"axis"},legend:{data:["sales","purchases"]},toolbox:{show:!1},calculable:!1,xAxis:[{type:"category",data:["1?","2?","3?","4?","5?","6?","7?","8?","9?","10?","11?","12?"]}],yAxis:[{type:"value"}],series:[{name:"sales",type:"bar",data:[2,4.9,7,23.2,25.6,76.7,135.6,162.2,32.6,20,6.4,3.3],markPoint:{data:[{type:"max",name:"???"},{type:"min",name:"???"}]},markLine:{data:[{type:"average",name:"???"}]}},{name:"purchases",type:"bar",data:[2.6,5.9,9,26.4,28.7,70.7,175.6,182.2,48.7,18.8,6,2.3],markPoint:{data:[{name:"sales",value:182.2,xAxis:7,yAxis:183},{name:"purchases",value:2.3,xAxis:11,yAxis:3}]},markLine:{data:[{type:"average",name:"???"}]}}]});if($("#echart_sonar").length)echarts.init(document.getElementById("echart_sonar"),e).setOption({title:{text:"Budget vs spending",subtext:"Subtitle"},tooltip:{trigger:"item"},legend:{orient:"vertical",x:"right",y:"bottom",data:["Allocated Budget","Actual Spending"]},toolbox:{show:!0,feature:{restore:{show:!0,title:"Restore"},saveAsImage:{show:!0,title:"Save Image"}}},polar:[{indicator:[{text:"Sales",max:6e3},{text:"Administration",max:16e3},{text:"Information Techology",max:3e4},{text:"Customer Support",max:38e3},{text:"Development",max:52e3},{text:"Marketing",max:25e3}]}],calculable:!0,series:[{name:"Budget vs spending",type:"radar",data:[{value:[4300,1e4,28e3,35e3,5e4,19e3],name:"Allocated Budget"},{value:[5e3,14e3,28e3,31e3,42e3,21e3],name:"Actual Spending"}]}]});if($("#echart_pyramid").length)echarts.init(document.getElementById("echart_pyramid"),e).setOption({title:{text:"Echart Pyramid Graph",subtext:"Subtitle"},tooltip:{trigger:"item",formatter:"{a}
    {b} : {c}%"},toolbox:{show:!0,feature:{restore:{show:!0,title:"Restore"},saveAsImage:{show:!0,title:"Save Image"}}},legend:{data:["Something #1","Something #2","Something #3","Something #4","Something #5"],orient:"vertical",x:"left",y:"bottom"},calculable:!0,series:[{name:"漏斗图",type:"funnel",width:"40%",data:[{value:60,name:"Something #1"},{value:40,name:"Something #2"},{value:20,name:"Something #3"},{value:80,name:"Something #4"},{value:100,name:"Something #5"}]}]});if($("#echart_gauge").length)echarts.init(document.getElementById("echart_gauge"),e).setOption({tooltip:{formatter:"{a}
    {b} : {c}%"},toolbox:{show:!0,feature:{restore:{show:!0,title:"Restore"},saveAsImage:{show:!0,title:"Save Image"}}},series:[{name:"Performance",type:"gauge",center:["50%","50%"],startAngle:140,endAngle:-140,min:0,max:100,precision:0,splitNumber:10,axisLine:{show:!0,lineStyle:{color:[[.2,"lightgreen"],[.4,"orange"],[.8,"skyblue"],[1,"#ff4500"]],width:30}},axisTick:{show:!0,splitNumber:5,length:8,lineStyle:{color:"#eee",width:1,type:"solid"}},axisLabel:{show:!0,formatter:function(e){switch(e+""){case"10":return"a";case"30":return"b";case"60":return"c";case"90":return"d";default:return""}},textStyle:{color:"#333"}},splitLine:{show:!0,length:30,lineStyle:{color:"#eee",width:2,type:"solid"}},pointer:{length:"80%",width:8,color:"auto"},title:{show:!0,offsetCenter:["-65%",-10],textStyle:{color:"#333",fontSize:15}},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:40,offsetCenter:["-60%",10],formatter:"{value}%",textStyle:{color:"auto",fontSize:30}},data:[{value:50,name:"Performance"}]}]});if($("#echart_line").length)echarts.init(document.getElementById("echart_line"),e).setOption({title:{text:"Line Graph",subtext:"Subtitle"},tooltip:{trigger:"axis"},legend:{x:220,y:40,data:["Intent","Pre-order","Deal"]},toolbox:{show:!0,feature:{magicType:{show:!0,title:{line:"Line",bar:"Bar",stack:"Stack",tiled:"Tiled"},type:["line","bar","stack","tiled"]},restore:{show:!0,title:"Restore"},saveAsImage:{show:!0,title:"Save Image"}}},calculable:!0,xAxis:[{type:"category",boundaryGap:!1,data:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"]}],yAxis:[{type:"value"}],series:[{name:"Deal",type:"line",smooth:!0,itemStyle:{normal:{areaStyle:{type:"default"}}},data:[10,12,21,54,260,830,710]},{name:"Pre-order",type:"line",smooth:!0,itemStyle:{normal:{areaStyle:{type:"default"}}},data:[30,182,434,791,390,30,10]},{name:"Intent",type:"line",smooth:!0,itemStyle:{normal:{areaStyle:{type:"default"}}},data:[1320,1132,601,234,120,90,20]}]});if($("#echart_scatter").length)echarts.init(document.getElementById("echart_scatter"),e).setOption({title:{text:"Scatter Graph",subtext:"Heinz 2003"},tooltip:{trigger:"axis",showDelay:0,axisPointer:{type:"cross",lineStyle:{type:"dashed",width:1}}},legend:{data:["Data2","Data1"]},toolbox:{show:!0,feature:{saveAsImage:{show:!0,title:"Save Image"}}},xAxis:[{type:"value",scale:!0,axisLabel:{formatter:"{value} cm"}}],yAxis:[{type:"value",scale:!0,axisLabel:{formatter:"{value} kg"}}],series:[{name:"Data1",type:"scatter",tooltip:{trigger:"item",formatter:function(e){return e.value.length>1?e.seriesName+" :
    "+e.value[0]+"cm "+e.value[1]+"kg ":e.seriesName+" :
    "+e.name+" : "+e.value+"kg "}},data:[[161.2,51.6],[167.5,59],[159.5,49.2],[157,63],[155.8,53.6],[170,59],[159.1,47.6],[166,69.8],[176.2,66.8],[160.2,75.2],[172.5,55.2],[170.9,54.2],[172.9,62.5],[153.4,42],[160,50],[147.2,49.8],[168.2,49.2],[175,73.2],[157,47.8],[167.6,68.8],[159.5,50.6],[175,82.5],[166.8,57.2],[176.5,87.8],[170.2,72.8],[174,54.5],[173,59.8],[179.9,67.3],[170.5,67.8],[160,47],[154.4,46.2],[162,55],[176.5,83],[160,54.4],[152,45.8],[162.1,53.6],[170,73.2],[160.2,52.1],[161.3,67.9],[166.4,56.6],[168.9,62.3],[163.8,58.5],[167.6,54.5],[160,50.2],[161.3,60.3],[167.6,58.3],[165.1,56.2],[160,50.2],[170,72.9],[157.5,59.8],[167.6,61],[160.7,69.1],[163.2,55.9],[152.4,46.5],[157.5,54.3],[168.3,54.8],[180.3,60.7],[165.5,60],[165,62],[164.5,60.3],[156,52.7],[160,74.3],[163,62],[165.7,73.1],[161,80],[162,54.7],[166,53.2],[174,75.7],[172.7,61.1],[167.6,55.7],[151.1,48.7],[164.5,52.3],[163.5,50],[152,59.3],[169,62.5],[164,55.7],[161.2,54.8],[155,45.9],[170,70.6],[176.2,67.2],[170,69.4],[162.5,58.2],[170.3,64.8],[164.1,71.6],[169.5,52.8],[163.2,59.8],[154.5,49],[159.8,50],[173.2,69.2],[170,55.9],[161.4,63.4],[169,58.2],[166.2,58.6],[159.4,45.7],[162.5,52.2],[159,48.6],[162.8,57.8],[159,55.6],[179.8,66.8],[162.9,59.4],[161,53.6],[151.1,73.2],[168.2,53.4],[168.9,69],[173.2,58.4],[171.8,56.2],[178,70.6],[164.3,59.8],[163,72],[168.5,65.2],[166.8,56.6],[172.7,105.2],[163.5,51.8],[169.4,63.4],[167.8,59],[159.5,47.6],[167.6,63],[161.2,55.2],[160,45],[163.2,54],[162.2,50.2],[161.3,60.2],[149.5,44.8],[157.5,58.8],[163.2,56.4],[172.7,62],[155,49.2],[156.5,67.2],[164,53.8],[160.9,54.4],[162.8,58],[167,59.8],[160,54.8],[160,43.2],[168.9,60.5],[158.2,46.4],[156,64.4],[160,48.8],[167.1,62.2],[158,55.5],[167.6,57.8],[156,54.6],[162.1,59.2],[173.4,52.7],[159.8,53.2],[170.5,64.5],[159.2,51.8],[157.5,56],[161.3,63.6],[162.6,63.2],[160,59.5],[168.9,56.8],[165.1,64.1],[162.6,50],[165.1,72.3],[166.4,55],[160,55.9],[152.4,60.4],[170.2,69.1],[162.6,84.5],[170.2,55.9],[158.8,55.5],[172.7,69.5],[167.6,76.4],[162.6,61.4],[167.6,65.9],[156.2,58.6],[175.2,66.8],[172.1,56.6],[162.6,58.6],[160,55.9],[165.1,59.1],[182.9,81.8],[166.4,70.7],[165.1,56.8],[177.8,60],[165.1,58.2],[175.3,72.7],[154.9,54.1],[158.8,49.1],[172.7,75.9],[168.9,55],[161.3,57.3],[167.6,55],[165.1,65.5],[175.3,65.5],[157.5,48.6],[163.8,58.6],[167.6,63.6],[165.1,55.2],[165.1,62.7],[168.9,56.6],[162.6,53.9],[164.5,63.2],[176.5,73.6],[168.9,62],[175.3,63.6],[159.4,53.2],[160,53.4],[170.2,55],[162.6,70.5],[167.6,54.5],[162.6,54.5],[160.7,55.9],[160,59],[157.5,63.6],[162.6,54.5],[152.4,47.3],[170.2,67.7],[165.1,80.9],[172.7,70.5],[165.1,60.9],[170.2,63.6],[170.2,54.5],[170.2,59.1],[161.3,70.5],[167.6,52.7],[167.6,62.7],[165.1,86.3],[162.6,66.4],[152.4,67.3],[168.9,63],[170.2,73.6],[175.2,62.3],[175.2,57.7],[160,55.4],[165.1,104.1],[174,55.5],[170.2,77.3],[160,80.5],[167.6,64.5],[167.6,72.3],[167.6,61.4],[154.9,58.2],[162.6,81.8],[175.3,63.6],[171.4,53.4],[157.5,54.5],[165.1,53.6],[160,60],[174,73.6],[162.6,61.4],[174,55.5],[162.6,63.6],[161.3,60.9],[156.2,60],[149.9,46.8],[169.5,57.3],[160,64.1],[175.3,63.6],[169.5,67.3],[160,75.5],[172.7,68.2],[162.6,61.4],[157.5,76.8],[176.5,71.8],[164.4,55.5],[160.7,48.6],[174,66.4],[163.8,67.3]],markPoint:{data:[{type:"max",name:"Max"},{type:"min",name:"Min"}]},markLine:{data:[{type:"average",name:"Mean"}]}},{name:"Data2",type:"scatter",tooltip:{trigger:"item",formatter:function(e){return e.value.length>1?e.seriesName+" :
    "+e.value[0]+"cm "+e.value[1]+"kg ":e.seriesName+" :
    "+e.name+" : "+e.value+"kg "}},data:[[174,65.6],[175.3,71.8],[193.5,80.7],[186.5,72.6],[187.2,78.8],[181.5,74.8],[184,86.4],[184.5,78.4],[175,62],[184,81.6],[180,76.6],[177.8,83.6],[192,90],[176,74.6],[174,71],[184,79.6],[192.7,93.8],[171.5,70],[173,72.4],[176,85.9],[176,78.8],[180.5,77.8],[172.7,66.2],[176,86.4],[173.5,81.8],[178,89.6],[180.3,82.8],[180.3,76.4],[164.5,63.2],[173,60.9],[183.5,74.8],[175.5,70],[188,72.4],[189.2,84.1],[172.8,69.1],[170,59.5],[182,67.2],[170,61.3],[177.8,68.6],[184.2,80.1],[186.7,87.8],[171.4,84.7],[172.7,73.4],[175.3,72.1],[180.3,82.6],[182.9,88.7],[188,84.1],[177.2,94.1],[172.1,74.9],[167,59.1],[169.5,75.6],[174,86.2],[172.7,75.3],[182.2,87.1],[164.1,55.2],[163,57],[171.5,61.4],[184.2,76.8],[174,86.8],[174,72.2],[177,71.6],[186,84.8],[167,68.2],[171.8,66.1],[182,72],[167,64.6],[177.8,74.8],[164.5,70],[192,101.6],[175.5,63.2],[171.2,79.1],[181.6,78.9],[167.4,67.7],[181.1,66],[177,68.2],[174.5,63.9],[177.5,72],[170.5,56.8],[182.4,74.5],[197.1,90.9],[180.1,93],[175.5,80.9],[180.6,72.7],[184.4,68],[175.5,70.9],[180.6,72.5],[177,72.5],[177.1,83.4],[181.6,75.5],[176.5,73],[175,70.2],[174,73.4],[165.1,70.5],[177,68.9],[192,102.3],[176.5,68.4],[169.4,65.9],[182.1,75.7],[179.8,84.5],[175.3,87.7],[184.9,86.4],[177.3,73.2],[167.4,53.9],[178.1,72],[168.9,55.5],[157.2,58.4],[180.3,83.2],[170.2,72.7],[177.8,64.1],[172.7,72.3],[165.1,65],[186.7,86.4],[165.1,65],[174,88.6],[175.3,84.1],[185.4,66.8],[177.8,75.5],[180.3,93.2],[180.3,82.7],[177.8,58],[177.8,79.5],[177.8,78.6],[177.8,71.8],[177.8,116.4],[163.8,72.2],[188,83.6],[198.1,85.5],[175.3,90.9],[166.4,85.9],[190.5,89.1],[166.4,75],[177.8,77.7],[179.7,86.4],[172.7,90.9],[190.5,73.6],[185.4,76.4],[168.9,69.1],[167.6,84.5],[175.3,64.5],[170.2,69.1],[190.5,108.6],[177.8,86.4],[190.5,80.9],[177.8,87.7],[184.2,94.5],[176.5,80.2],[177.8,72],[180.3,71.4],[171.4,72.7],[172.7,84.1],[172.7,76.8],[177.8,63.6],[177.8,80.9],[182.9,80.9],[170.2,85.5],[167.6,68.6],[175.3,67.7],[165.1,66.4],[185.4,102.3],[181.6,70.5],[172.7,95.9],[190.5,84.1],[179.1,87.3],[175.3,71.8],[170.2,65.9],[193,95.9],[171.4,91.4],[177.8,81.8],[177.8,96.8],[167.6,69.1],[167.6,82.7],[180.3,75.5],[182.9,79.5],[176.5,73.6],[186.7,91.8],[188,84.1],[188,85.9],[177.8,81.8],[174,82.5],[177.8,80.5],[171.4,70],[185.4,81.8],[185.4,84.1],[188,90.5],[188,91.4],[182.9,89.1],[176.5,85],[175.3,69.1],[175.3,73.6],[188,80.5],[188,82.7],[175.3,86.4],[170.5,67.7],[179.1,92.7],[177.8,93.6],[175.3,70.9],[182.9,75],[170.8,93.2],[188,93.2],[180.3,77.7],[177.8,61.4],[185.4,94.1],[168.9,75],[185.4,83.6],[180.3,85.5],[174,73.9],[167.6,66.8],[182.9,87.3],[160,72.3],[180.3,88.6],[167.6,75.5],[186.7,101.4],[175.3,91.1],[175.3,67.3],[175.9,77.7],[175.3,81.8],[179.1,75.5],[181.6,84.5],[177.8,76.6],[182.9,85],[177.8,102.5],[184.2,77.3],[179.1,71.8],[176.5,87.9],[188,94.3],[174,70.9],[167.6,64.5],[170.2,77.3],[167.6,72.3],[188,87.3],[174,80],[176.5,82.3],[180.3,73.6],[167.6,74.1],[188,85.9],[180.3,73.2],[167.6,76.3],[183,65.9],[183,90.9],[179.1,89.1],[170.2,62.3],[177.8,82.7],[179.1,79.1],[190.5,98.2],[177.8,84.1],[180.3,83.2],[180.3,83.2]],markPoint:{data:[{type:"max",name:"Max"},{type:"min",name:"Min"}]},markLine:{data:[{type:"average",name:"Mean"}]}}]});if($("#echart_bar_horizontal").length)echarts.init(document.getElementById("echart_bar_horizontal"),e).setOption({title:{text:"Bar Graph",subtext:"Graph subtitle"},tooltip:{trigger:"axis"},legend:{x:100,data:["2015","2016"]},toolbox:{show:!0,feature:{saveAsImage:{show:!0,title:"Save Image"}}},calculable:!0,xAxis:[{type:"value",boundaryGap:[0,.01]}],yAxis:[{type:"category",data:["Jan","Feb","Mar","Apr","May","Jun"]}],series:[{name:"2015",type:"bar",data:[18203,23489,29034,104970,131744,630230]},{name:"2016",type:"bar",data:[19325,23438,31e3,121594,134141,681807]}]});if($("#echart_pie2").length)echarts.init(document.getElementById("echart_pie2"),e).setOption({tooltip:{trigger:"item",formatter:"{a}
    {b} : {c} ({d}%)"},legend:{x:"center",y:"bottom",data:["rose1","rose2","rose3","rose4","rose5","rose6"]},toolbox:{show:!0,feature:{magicType:{show:!0,type:["pie","funnel"]},restore:{show:!0,title:"Restore"},saveAsImage:{show:!0,title:"Save Image"}}},calculable:!0,series:[{name:"Area Mode",type:"pie",radius:[25,90],center:["50%",170],roseType:"area",x:"50%",max:40,sort:"ascending",data:[{value:10,name:"rose1"},{value:5,name:"rose2"},{value:15,name:"rose3"},{value:25,name:"rose4"},{value:20,name:"rose5"},{value:35,name:"rose6"}]}]});if($("#echart_donut").length)echarts.init(document.getElementById("echart_donut"),e).setOption({tooltip:{trigger:"item",formatter:"{a}
    {b} : {c} ({d}%)"},calculable:!0,legend:{x:"center",y:"bottom",data:["Direct Access","E-mail Marketing","Union Ad","Video Ads","Search Engine"]},toolbox:{show:!0,feature:{magicType:{show:!0,type:["pie","funnel"],option:{funnel:{x:"25%",width:"50%",funnelAlign:"center",max:1548}}},restore:{show:!0,title:"Restore"},saveAsImage:{show:!0,title:"Save Image"}}},series:[{name:"Access to the resource",type:"pie",radius:["35%","55%"],itemStyle:{normal:{label:{show:!0},labelLine:{show:!0}},emphasis:{label:{show:!0,position:"center",textStyle:{fontSize:"14",fontWeight:"normal"}}}},data:[{value:335,name:"Direct Access"},{value:310,name:"E-mail Marketing"},{value:234,name:"Union Ad"},{value:135,name:"Video Ads"},{value:1548,name:"Search Engine"}]}]});if($("#echart_pie").length){echarts.init(document.getElementById("echart_pie"),e).setOption({tooltip:{trigger:"item",formatter:"{a}
    {b} : {c} ({d}%)"},legend:{x:"center",y:"bottom",data:["Direct Access","E-mail Marketing","Union Ad","Video Ads","Search Engine"]},toolbox:{show:!0,feature:{magicType:{show:!0,type:["pie","funnel"],option:{funnel:{x:"25%",width:"50%",funnelAlign:"left",max:1548}}},restore:{show:!0,title:"Restore"},saveAsImage:{show:!0,title:"Save Image"}}},calculable:!0,series:[{name:"访问来源",type:"pie",radius:"55%",center:["50%","48%"],data:[{value:335,name:"Direct Access"},{value:310,name:"E-mail Marketing"},{value:234,name:"Union Ad"},{value:135,name:"Video Ads"},{value:1548,name:"Search Engine"}]}]});var t={normal:{label:{show:!1},labelLine:{show:!1}}},n={normal:{color:"rgba(0,0,0,0)",label:{show:!1},labelLine:{show:!1}},emphasis:{color:"rgba(0,0,0,0)"}}}if($("#echart_mini_pie").length)echarts.init(document.getElementById("echart_mini_pie"),e).setOption({title:{text:"Chart #2",subtext:"From ExcelHome",sublink:"http://e.weibo.com/1341556070/AhQXtjbqh",x:"center",y:"center",itemGap:20,textStyle:{color:"rgba(30,144,255,0.8)",fontFamily:"微软雅黑",fontSize:35,fontWeight:"bolder"}},tooltip:{show:!0,formatter:"{a}
    {b} : {c} ({d}%)"},legend:{orient:"vertical",x:170,y:45,itemGap:12,data:["68%Something #1","29%Something #2","3%Something #3"]},toolbox:{show:!0,feature:{mark:{show:!0},dataView:{show:!0,title:"Text View",lang:["Text View","Close","Refresh"],readOnly:!1},restore:{show:!0,title:"Restore"},saveAsImage:{show:!0,title:"Save Image"}}},series:[{name:"1",type:"pie",clockWise:!1,radius:[105,130],itemStyle:t,data:[{value:68,name:"68%Something #1"},{value:32,name:"invisible",itemStyle:n}]},{name:"2",type:"pie",clockWise:!1,radius:[80,105],itemStyle:t,data:[{value:29,name:"29%Something #2"},{value:71,name:"invisible",itemStyle:n}]},{name:"3",type:"pie",clockWise:!1,radius:[25,80],itemStyle:t,data:[{value:3,name:"3%Something #3"},{value:97,name:"invisible",itemStyle:n}]}]});if($("#echart_world_map").length)echarts.init(document.getElementById("echart_world_map"),e).setOption({title:{text:"World Population (2010)",subtext:"from United Nations, Total population, both sexes combined, as of 1 July (thousands)",x:"center",y:"top"},tooltip:{trigger:"item",formatter:function(e){var t=(e.value+"").split(".");return t=t[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+"."+t[1],e.seriesName+"
    "+e.name+" : "+t}},toolbox:{show:!0,orient:"vertical",x:"right",y:"center",feature:{mark:{show:!0},dataView:{show:!0,title:"Text View",lang:["Text View","Close","Refresh"],readOnly:!1},restore:{show:!0,title:"Restore"},saveAsImage:{show:!0,title:"Save Image"}}},dataRange:{min:0,max:1e6,text:["High","Low"],realtime:!1,calculable:!0,color:["#087E65","#26B99A","#CBEAE3"]},series:[{name:"World Population (2010)",type:"map",mapType:"world",roam:!1,mapLocation:{y:60},itemStyle:{emphasis:{label:{show:!0}}},data:[{name:"Afghanistan",value:28397.812},{name:"Angola",value:19549.124},{name:"Albania",value:3150.143},{name:"United Arab Emirates",value:8441.537},{name:"Argentina",value:40374.224},{name:"Armenia",value:2963.496},{name:"French Southern and Antarctic Lands",value:268.065},{name:"Australia",value:22404.488},{name:"Austria",value:8401.924},{name:"Azerbaijan",value:9094.718},{name:"Burundi",value:9232.753},{name:"Belgium",value:10941.288},{name:"Benin",value:9509.798},{name:"Burkina Faso",value:15540.284},{name:"Bangladesh",value:151125.475},{name:"Bulgaria",value:7389.175},{name:"The Bahamas",value:66402.316},{name:"Bosnia and Herzegovina",value:3845.929},{name:"Belarus",value:9491.07},{name:"Belize",value:308.595},{name:"Bermuda",value:64.951},{name:"Bolivia",value:716.939},{name:"Brazil",value:195210.154},{name:"Brunei",value:27.223},{name:"Bhutan",value:716.939},{name:"Botswana",value:1969.341},{name:"Central African Republic",value:4349.921},{name:"Canada",value:34126.24},{name:"Switzerland",value:7830.534},{name:"Chile",value:17150.76},{name:"China",value:1359821.465},{name:"Ivory Coast",value:60508.978},{name:"Cameroon",value:20624.343},{name:"Democratic Republic of the Congo",value:62191.161},{name:"Republic of the Congo",value:3573.024},{name:"Colombia",value:46444.798},{name:"Costa Rica",value:4669.685},{name:"Cuba",value:11281.768},{name:"Northern Cyprus",value:1.468},{name:"Cyprus",value:1103.685},{name:"Czech Republic",value:10553.701},{name:"Germany",value:83017.404},{name:"Djibouti",value:834.036},{name:"Denmark",value:5550.959},{name:"Dominican Republic",value:10016.797},{name:"Algeria",value:37062.82},{name:"Ecuador",value:15001.072},{name:"Egypt",value:78075.705},{name:"Eritrea",value:5741.159},{name:"Spain",value:46182.038},{name:"Estonia",value:1298.533},{name:"Ethiopia",value:87095.281},{name:"Finland",value:5367.693},{name:"Fiji",value:860.559},{name:"Falkland Islands",value:49.581},{name:"France",value:63230.866},{name:"Gabon",value:1556.222},{name:"United Kingdom",value:62066.35},{name:"Georgia",value:4388.674},{name:"Ghana",value:24262.901},{name:"Guinea",value:10876.033},{name:"Gambia",value:1680.64},{name:"Guinea Bissau",value:10876.033},{name:"Equatorial Guinea",value:696.167},{name:"Greece",value:11109.999},{name:"Greenland",value:56.546},{name:"Guatemala",value:14341.576},{name:"French Guiana",value:231.169},{name:"Guyana",value:786.126},{name:"Honduras",value:7621.204},{name:"Croatia",value:4338.027},{name:"Haiti",value:9896.4},{name:"Hungary",value:10014.633},{name:"Indonesia",value:240676.485},{name:"India",value:1205624.648},{name:"Ireland",value:4467.561},{name:"Iran",value:240676.485},{name:"Iraq",value:30962.38},{name:"Iceland",value:318.042},{name:"Israel",value:7420.368},{name:"Italy",value:60508.978},{name:"Jamaica",value:2741.485},{name:"Jordan",value:6454.554},{name:"Japan",value:127352.833},{name:"Kazakhstan",value:15921.127},{name:"Kenya",value:40909.194},{name:"Kyrgyzstan",value:5334.223},{name:"Cambodia",value:14364.931},{name:"South Korea",value:51452.352},{name:"Kosovo",value:97.743},{name:"Kuwait",value:2991.58},{name:"Laos",value:6395.713},{name:"Lebanon",value:4341.092},{name:"Liberia",value:3957.99},{name:"Libya",value:6040.612},{name:"Sri Lanka",value:20758.779},{name:"Lesotho",value:2008.921},{name:"Lithuania",value:3068.457},{name:"Luxembourg",value:507.885},{name:"Latvia",value:2090.519},{name:"Morocco",value:31642.36},{name:"Moldova",value:103.619},{name:"Madagascar",value:21079.532},{name:"Mexico",value:117886.404},{name:"Macedonia",value:507.885},{name:"Mali",value:13985.961},{name:"Myanmar",value:51931.231},{name:"Montenegro",value:620.078},{name:"Mongolia",value:2712.738},{name:"Mozambique",value:23967.265},{name:"Mauritania",value:3609.42},{name:"Malawi",value:15013.694},{name:"Malaysia",value:28275.835},{name:"Namibia",value:2178.967},{name:"New Caledonia",value:246.379},{name:"Niger",value:15893.746},{name:"Nigeria",value:159707.78},{name:"Nicaragua",value:5822.209},{name:"Netherlands",value:16615.243},{name:"Norway",value:4891.251},{name:"Nepal",value:26846.016},{name:"New Zealand",value:4368.136},{name:"Oman",value:2802.768},{name:"Pakistan",value:173149.306},{name:"Panama",value:3678.128},{name:"Peru",value:29262.83},{name:"Philippines",value:93444.322},{name:"Papua New Guinea",value:6858.945},{name:"Poland",value:38198.754},{name:"Puerto Rico",value:3709.671},{name:"North Korea",value:1.468},{name:"Portugal",value:10589.792},{name:"Paraguay",value:6459.721},{name:"Qatar",value:1749.713},{name:"Romania",value:21861.476},{name:"Russia",value:21861.476},{name:"Rwanda",value:10836.732},{name:"Western Sahara",value:514.648},{name:"Saudi Arabia",value:27258.387},{name:"Sudan",value:35652.002},{name:"South Sudan",value:9940.929},{name:"Senegal",value:12950.564},{name:"Solomon Islands",value:526.447},{name:"Sierra Leone",value:5751.976},{name:"El Salvador",value:6218.195},{name:"Somaliland",value:9636.173},{name:"Somalia",value:9636.173},{name:"Republic of Serbia",value:3573.024},{name:"Suriname",value:524.96},{name:"Slovakia",value:5433.437},{name:"Slovenia",value:2054.232},{name:"Sweden",value:9382.297},{name:"Swaziland",value:1193.148},{name:"Syria",value:7830.534},{name:"Chad",value:11720.781},{name:"Togo",value:6306.014},{name:"Thailand",value:66402.316},{name:"Tajikistan",value:7627.326},{name:"Turkmenistan",value:5041.995},{name:"East Timor",value:10016.797},{name:"Trinidad and Tobago",value:1328.095},{name:"Tunisia",value:10631.83},{name:"Turkey",value:72137.546},{name:"United Republic of Tanzania",value:44973.33},{name:"Uganda",value:33987.213},{name:"Ukraine",value:46050.22},{name:"Uruguay",value:3371.982},{name:"United States of America",value:312247.116},{name:"Uzbekistan",value:27769.27},{name:"Venezuela",value:236.299},{name:"Vietnam",value:89047.397},{name:"Vanuatu",value:236.299},{name:"West Bank",value:13.565},{name:"Yemen",value:22763.008},{name:"South Africa",value:51452.352},{name:"Zambia",value:13216.985},{name:"Zimbabwe",value:13076.978}]}]})}}jQuery((function(e){e("#regexGroupSelect").change((function(){document.location="?group="+e("#regexGroupSelect option:selected").attr("value")})),e(".confirm_action").click((function(){return confirm("Are you sure?")}))})),tinyMCE.init({selector:"textarea#body",theme:"silver",plugins:["advlist autolink link image lists charmap print preview hr anchor pagebreak spellchecker","searchreplace wordcount visualblocks visualchars code fullscreen insertdatetime media nonbreaking","save table directionality emoticons template paste code"],theme_advanced_toolbar_location:"top",theme_advanced_toolbar_align:"left",toolbar:"insertfile undo redo | styleselect | fontselect |sizeselect | fontsizeselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image | print preview media fullpage | forecolor backcolor emoticons | code",fontsize_formats:"8pt 9pt 10pt 11pt 12pt 13pt 14pt 15pt 16pt 17pt 18pt 24pt 36pt",mode:"exact",relative_urls:!1,remove_script_host:!1,convert_urls:!0}),tinyMCE.init({selector:"textarea#metadescription",theme:"silver",plugins:["advlist autolink link image lists charmap print preview hr anchor pagebreak spellchecker","searchreplace wordcount visualblocks visualchars code fullscreen insertdatetime media nonbreaking","save table contextmenu directionality emoticons template paste textcolor code"],theme_advanced_toolbar_location:"top",theme_advanced_toolbar_align:"left",toolbar:"insertfile undo redo | styleselect | fontselect |sizeselect | fontsizeselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image | print preview media fullpage | forecolor backcolor emoticons | code",fontsize_formats:"8pt 9pt 10pt 11pt 12pt 13pt 14pt 15pt 16pt 17pt 18pt 24pt 36pt",mode:"exact",relative_urls:!1,remove_script_host:!1,convert_urls:!0}),tinyMCE.init({selector:"textarea#metakeywords",theme:"silver",plugins:["advlist autolink link image lists charmap print preview hr anchor pagebreak spellchecker","searchreplace wordcount visualblocks visualchars code fullscreen insertdatetime media nonbreaking","save table contextmenu directionality emoticons template paste textcolor code"],theme_advanced_toolbar_location:"top",theme_advanced_toolbar_align:"left",toolbar:"insertfile undo redo | styleselect | fontselect |sizeselect | fontsizeselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image | print preview media fullpage | forecolor backcolor emoticons | code",fontsize_formats:"8pt 9pt 10pt 11pt 12pt 13pt 14pt 15pt 16pt 17pt 18pt 24pt 36pt",mode:"exact",relative_urls:!1,remove_script_host:!1,convert_urls:!0}),function(e,t){jQuery.fn[t]=function(e){return e?this.bind("resize",(n=e,function(){var e=this,t=arguments;a?clearTimeout(a):r&&n.apply(e,t),a=setTimeout((function(){r||n.apply(e,t),a=null}),c||100)})):this.trigger(t);var n,c,r,a}}(jQuery,"smartresize"),$(document).ready((function(){var e,t=function(){$RIGHT_COL.css("min-height",$(window).height());var e=$BODY.outerHeight(),t=$BODY.hasClass("footer_fixed")?-10:$FOOTER.height(),n=$LEFT_COL.eq(1).height()+$SIDEBAR_FOOTER.height(),c=e1){for(var n=0,c=0;c:first-child"),"+"==$expand.text()?$expand.text("-"):$expand.text("+")}))})),"undefined"!=typeof NProgress&&($(document).ready((function(){NProgress.start()})),$(window).load((function(){NProgress.done()})));var originalLeave=$.fn.popover.Constructor.prototype.leave;$.fn.popover.Constructor.prototype.leave=function(e){var t,n,c=e instanceof this.constructor?e:$(e.currentTarget)[this.type](this.getDelegateOptions()).data("bs."+this.type);originalLeave.call(this,e),e.currentTarget&&(t=$(e.currentTarget).siblings(".popover"),n=c.timeout,t.one("mouseenter",(function(){clearTimeout(n),t.one("mouseleave",(function(){$.fn.popover.Constructor.prototype.leave.call(c,c)}))})))},$("body").popover({selector:"[data-popover]",trigger:"click hover",delay:{show:50,hide:400}}),$(document).ready((function(){init_sparklines(),init_flot_chart(),init_wysiwyg(),init_InputMask(),init_JQVmap(),init_cropper(),init_knob(),init_IonRangeSlider(),init_ColorPicker(),init_TagsInput(),init_parsley(),init_daterangepicker(),init_daterangepicker_right(),init_daterangepicker_single_call(),init_daterangepicker_reservation(),init_SmartWizard(),init_EasyPieChart(),init_charts(),init_echarts(),init_morris_charts(),init_skycons(),init_select2(),init_validator(),init_DataTables(),init_chart_doughnut(),init_gauge(),init_PNotify(),init_starrr(),init_calendar(),init_compose(),init_CustomNotification(),init_autosize(),init_autocomplete()}));let tooltipTriggerList=[].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]')),tooltipList=tooltipTriggerList.map((function(e){return new bootstrap.Tooltip(e)}));function isValidEmailAddress(e){return new RegExp(/^(("[\w-\s]+")|([\w-]+(?:\.[\w-]+)*)|("[\w-\s]+")([\w-]+(?:\.[\w-]+)*))(@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$)|(@\[?((25[0-5]\.|2[0-4][0-9]\.|1[0-9]{2}\.|[0-9]{1,2}\.))((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[0-9]{1,2})\.){2}(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[0-9]{1,2})\]?$)/i).test(e)}function mymovie_del(e,t){return $.ajax({url:base_url+"/ajax_mymovies?rand="+$.now(),data:{del:e},dataType:"html",success:function(e){$(t).hide(),$(t).prev("a").show()},error:function(e,t,n){}}),!1}function mymovie_add(e,t){return $(t).hide(),$(t).next("a").show(),$.ajax({url:base_url+"/ajax_mymovies?rand="+$.now(),data:{add:e},dataType:"html",success:function(e){},error:function(e,t,n){}}),!1}function getNzbGetQueue(){$.ajax({url:"queuedata?type=nzbget&id="+$.now(),cache:!1,success:function(e){$(".nzbget_queue").html(e),setTimeout("getNzbGetQueue()",2500)},error:function(){$(".nzbget_queue").html('Could not contact your queue. Refresh')},timeout:5e3})}function getHistory(){$.ajax({url:"queuedata?type=history&id="+$.now(),cache:!1,success:function(e){$(".sab_history").html(e),setTimeout("getHistory()",1e4)},error:function(){},timeout:5e3})}jQuery((function(e){const t=window.location.origin;e(".cartadd").click((function(n){if(e(this).hasClass("icon_cart_clicked"))return!1;let c=e(".guid").attr("id").substring(4);return e.ajaxSetup({headers:{"X-CSRF-TOKEN":e('meta[name="csrf-token"]').attr("content")}}),e.post(t+"/cart/add?id="+c,(function(t){e(n.target).addClass("icon_cart_clicked").attr("title","Added to Cart"),PNotify.defaults.icons="fontawesome5",PNotify.success({title:"Release added to your Download Basket!",type:"success",icon:"fa fa-info fa-3x",Animate:{animate:!0,in_class:"bounceInLeft",out_class:"bounceOutRight"},desktop:{desktop:!0,fallback:!0}})})),!1}));let n,c,r=e("table.data tr").children("td.icons").children("div.icon").css("opacity");e("table.data tr").hover((function(){e(this).children("td.icons").children("div.icon").css("opacity",1)}),(function(){e(this).children("td.icons").children("div.icon").css("opacity",r)})),e(".forumpostsubmit").click((function(t){if(""==e.trim(e("#addMessage").val())||""==e.trim(e("#addSubject").val()))return alert("Please enter a subject and message."),!1})),e(".forumreplysubmit").click((function(t){if(""==e.trim(e("#addMessage").val()))return alert("Please enter a message."),!1})),e(".check").click((function(t){e(t.target).is("input")||e(this).children(".nzb_check").attr("checked",!e(this).children(".nzb_check").attr("checked"))})),e(".descmore").click((function(t){return e(this).prev(".descinitial").hide(),e(this).next(".descfull").show(),e(this).hide(),!1})),e(".nzb_check_all").change((function(){e(this).attr("checked")?e("table.data tr td input:checkbox").attr("checked",e(this).attr("checked")):e("table.data tr td input:checkbox").removeAttr("checked")})),e(".nzb_check_all_season").change((function(){let t=e(this).attr("name");e("table.data tr td input:checkbox").each((function(n,c){e(c).attr("name")==t&&e(c).attr("checked",!e(c).attr("checked"))}))})),e(".icon_cart").click((function(n){if(e(this).hasClass("icon_cart_clicked"))return!1;let c=e(this).attr("id").substring(4);return e.ajaxSetup({headers:{"X-CSRF-TOKEN":e('meta[name="csrf-token"]').attr("content")}}),e.post(t+"/cart/add?id="+c,(function(t){e(n.target).addClass("icon_cart_clicked").attr("title"," Release added to Cart"),PNotify.defaults.icons="fontawesome5",PNotify.success({title:"Release added to your download basket!",type:"success",icon:"fa fa-info fa-3x",Animate:{animate:!0,in_class:"bounceInLeft",out_class:"bounceOutRight"},desktop:{desktop:!0,fallback:!0}})})),!1})),e("table.data a.modal_nfo").colorbox({href:function(){return e(this).attr("href")+"&modal"},title:function(){return e(this).parent().parent().children("a.title").text()},innerWidth:"800px",innerHeight:"90%",initialWidth:"800px",initialHeight:"90%",speed:0,opacity:.7}),e("table.data a.modal_prev").colorbox({scrolling:!1,maxWidth:"800px",maxHeight:"450px"}),e("table.data a.modal_imdb").colorbox({href:function(){return t+"movie/"+e(this).attr("name").substring(4)+"&modal"},title:function(){return e(this).parent().parent().children("a.title").text()},innerWidth:"800px",innerHeight:"450px",initialWidth:"800px",initialHeight:"450px",speed:0,opacity:.7}).click((function(){e("#colorbox").removeClass().addClass("cboxMovie")})),e("a.modal_imdbtrailer").colorbox({href:function(){return t+"movietrailer/"+e(this).attr("name").substring(4)+"&modal"},title:function(){return e(this).parent().parent().children("a.title").text()},innerWidth:"800px",innerHeight:"450px",initialWidth:"800px",initialHeight:"450px",speed:0,opacity:.7}).click((function(){e("#colorbox").removeClass().addClass("cboxMovie")})),e("table.data a.modal_music").colorbox({href:function(){return t+"musicmodal/"+e(this).attr("name").substring(4)+"&modal"},title:function(){return e(this).parent().parent().children("a.title").text()},innerWidth:"800px",innerHeight:"450px",initialWidth:"800px",initialHeight:"450px",speed:0,opacity:.7}).click((function(){e("#colorbox").removeClass().addClass("cboxMusic")})),e("table.data a.modal_console").colorbox({href:function(){return t+"consolemodal/"+e(this).attr("name").substring(4)+"&modal"},title:function(){return e(this).parent().parent().children("a.title").text()},innerWidth:"800px",innerHeight:"450px",initialWidth:"800px",initialHeight:"450px",speed:0,opacity:.7}).click((function(){e("#colorbox").removeClass().addClass("cboxConsole")})),e("table.data a.modal_book").colorbox({href:function(){return t+"bookmodal/"+e(this).attr("name").substring(4)+"&modal"},title:function(){return e(this).parent().parent().children("a.title").text()},innerWidth:"800px",innerHeight:"450px",initialWidth:"800px",initialHeight:"450px",speed:0,opacity:.7}).click((function(){e("#colorbox").removeClass().addClass("cboxBook")})),e("#nzb_multi_operations_form").submit((function(){return!1})),e("button.nzb_multi_operations_download").on("click",(function(){let n="";e("table.data INPUT[type='checkbox']:checked").each((function(t,c){"on"!=e(c).val()&&(n+=e(c).val()+",")})),n=n.substring(0,n.length-1),n&&(window.location=t+"/getnzb?zip=1&id="+n)})),e("input.nzb_multi_operations_download_cart").on("click",(function(){let n="";e("table.data INPUT[type='checkbox']:checked").each((function(t,c){"on"!=e(c).val()&&(n+=e(c).val()+",")})),n=n.substring(0,n.length-1),n&&(window.location=t+"/getnzb?zip=1&id="+n)})),e("button.nzb_multi_operations_cart").on("click",(function(){let n=new Array;e.ajaxSetup({headers:{"X-CSRF-TOKEN":e('meta[name="csrf-token"]').attr("content")}}),e("table.data INPUT[type='checkbox']:checked").each((function(t,c){let r=e(c).val(),a=e(c).parent().children("div.icons").children(".icon_cart");r&&!a.hasClass("icon_cart_clicked")&&(a.addClass("icon_cart_clicked").attr("title","Added to Cart"),n.push(r),PNotify.defaults.icons="fontawesome5",PNotify.success({title:"Release added to your Download Basket!",type:"success",icon:"fa fa-info fa-3x",Animate:{animate:!0,in_class:"bounceInLeft",out_class:"bounceOutRight"},desktop:{desktop:!0,fallback:!0}})),e(this).attr("checked",!1)}));let c=n.toString();e.post(t+"/cart/add?id="+c)})),e("button.nzb_multi_operations_sab").on("click",(function(){e("table.data INPUT[type='checkbox']:checked").each((function(n,c){let r=e(c).parent().parent().children("td.icons").children(".icon_sab"),a=e(c).val();if(a&&!r.hasClass("icon_sab_clicked")){let n=t+"/sendtoqueue/"+a;e.post(n,(function(e){r.addClass("icon_sab_clicked").attr("title","Added to Queue"),PNotify.defaults.icons="fontawesome5",PNotify.success({title:"Release added to your download queue!",type:"success",icon:"fa fa-info fa-3x",Animate:{animate:!0,in_class:"bounceInLeft",out_class:"bounceOutRight"},desktop:{desktop:!0,fallback:!0}})}))}e(this).attr("checked",!1)}))})),e("input.nzb_multi_operations_nzbget").on("click",(function(){e("table.data INPUT[type='checkbox']:checked").each((function(n,c){let r=e(c).parent().parent().children("td.icons").children(".icon_nzbget"),a=e(c).val();if(a&&!r.hasClass("icon_nzbget_clicked")){let n=t+"/sendtoqueue/"+a;e.post(n,(function(e){r.addClass("icon_nzbget_clicked").attr("title","Added to Queue"),PNotify.defaults.icons="fontawesome5",PNotify.success({title:"Release added to your download queue!",type:"success",icon:"fa fa-info fa-3x",Animate:{animate:!0,in_class:"bounceInLeft",out_class:"bounceOutRight"},desktop:{desktop:!0,fallback:!0}})}))}e(this).attr("checked",!1)}))})),e("input.nzb_multi_operations_edit").click((function(){let n="";e("table.data INPUT[type='checkbox']:checked").each((function(t,c){"on"!=e(c).val()&&(n+="&id[]="+e(c).val())})),n&&e("input.nzb_multi_operations_edit").colorbox({href:function(){return t+"ajax_release-admin?action=edit"+n+"&from="+encodeURIComponent(window.location)},title:"Edit Release",innerWidth:"400px",innerHeight:"250px",initialWidth:"400px",initialHeight:"250px",speed:0,opacity:.7})})),e("input.nzb_multi_operations_delete").click((function(){let n="";if(e("table.data INPUT[type='checkbox']:checked").each((function(t,c){"on"!=e(c).val()&&(n+="&id[]="+e(c).val())})),n){PNotify.defaults.icons="fontawesome5";const c=PNotify.alert({title:"Confirmation Needed",text:"Are you sure you want to delete the selected releases?",icon:"glyphicon glyphicon-question-sign",hide:!1,modules:{Confirm:{confirm:!0}},Buttons:{closer:!1,sticker:!1},History:{history:!1}});c.on("pnotify.confirm",(function(){e.post(t+"ajax_release-admin?action=dodelete"+n,(function(e){location.reload(!0)}))})),c.on("pnotify.cancel",(function(){alert("Cancelled")}))}})),e("input.nzb_multi_operations_rebuild").click((function(){let n="";e("table.data INPUT[type='checkbox']:checked").each((function(t,c){"on"!=e(c).val()&&(n+="&id[]="+e(c).val())})),n&&confirm("Are you sure you want to rebuild the selected releases?")&&e.post(t+"ajax_release-admin?action=dorebuild"+n,(function(e){location.reload(!0)}))})),e("input.nzb_multi_operations_cartdelete").click((function(){let n=new Array;if(e("table.data INPUT[type='checkbox']:checked").each((function(t,c){"on"!=e(c).val()&&n.push(e(c).val())})),e.ajaxSetup({headers:{"X-CSRF-TOKEN":e('meta[name="csrf-token"]').attr("content")}}),n){PNotify.defaults.icons="fontawesome5";const c=PNotify.alert({title:"Confirmation Needed",text:"Are you sure you want to delete the selected releases from your cart?",hide:!1,modules:{Confirm:{confirm:!0}},Buttons:{closer:!1,sticker:!1},History:{history:!1}});c.on("pnotify.confirm",(function(){e.post(t+"/cart/delete/"+n)})),c.on("pnotify.cancel",(function(){alert("Cancelled")}))}})),e("input.nzb_multi_operations_cartsab").click((function(){new Array;e("table.data INPUT[type='checkbox']:checked").each((function(n,c){let r=e(c).val(),a=t+"/sendtoqueue/"+r;e.post(a,(function(){PNotify.defaults.icons="fontawesome5",PNotify.success({title:"Releases sent to queue!",type:"success",icon:"fa fa-info fa-3x",Animate:{animate:!0,in_class:"bounceInLeft",out_class:"bounceOutRight"},desktop:{desktop:!0,fallback:!0}})}))}))})),e("#headsearch").focus((function(){"Search..."==this.value?this.value="":this.select()})).blur((function(){""==this.value&&(this.value="Search...")})),e("#headsearch_form").submit((function(){return e("#headsearch_go").trigger("click"),!1})),e("#headsearch_go").click((function(){if(e("#headsearch").val()&&"Search..."!=e("#headsearch").val()){let n=e("#headsearch").val(),c=-1!=e("#headcat").val()?"&t="+e("#headcat").val():"";document.location=t+"/search?id="+n+c}})),e("#search_search_button").click((function(){return e("#search").val()&&(document.location=t+"/search?id="+e("#search").val()+(-1!=e("#search_cat").val()?"&t="+e("#search_cat").val():"")),!1})),e("#search").focus((function(){this.select()})),e("#searchraw_search_button").click((function(){return e("#search").val()&&(document.location=t+"/searchraw/"+e("#search").val()),!1})),e("#searchraw_download_selected").click((function(){return e("#dl input:checked").length&&e("#dl").trigger("submit"),!1})),e("#username").length&&e("#username").focus(),e("#search").length&&e("#search").focus(),e("#viewfilelist_download_selected").click((function(){return e("#fileform input:checked").length&&e("#fileform").trigger("submit"),!1})),e(".confirm_action").click((function(){return confirm("Are you sure?")})),e(".audioprev").click((function(){let t=document.getElementById(e(this).next("audio").attr("ID"));return null!=t&&("Listen"==e(this).text()?(t.play(),e(this).text("Stop")):(t.pause(),t.currentTime=0,e(this).text("Listen"))),t.addEventListener("ended",(function(){e(this).prev().text("Listen")})),!1})),e(".mmenu").click((function(){return document.location=e(this).children("a").attr("href"),!1})),e(".mmenu_new").click((function(){return window.open(e(this).children("a").attr("href")),!1})),e(".checkbox_operations .select_all").click((function(){return e("table.data INPUT[type='checkbox']").attr("checked",!0).trigger("change"),!1})),e(".checkbox_operations .select_none").click((function(){return e("table.data INPUT[type='checkbox']").attr("checked",!1).trigger("change"),!1})),e(".checkbox_operations .select_invert").click((function(){return e("table.data INPUT[type='checkbox']").each((function(){e(this).attr("checked",!e(this).attr("checked")).trigger("change")})),!1})),e(".checkbox_operations .select_range").click((function(){return n&&c&&n1&&""!=r[1])t+=r[1],n+=r[1].length;else{if(" "==e[n])t+="+";else{let c=e.charCodeAt(n).toString(16);t+="%"+(c.length<2?"0":"")+c.toUpperCase()}n++}}return t},URLDecode:function(e){let t,n=e,c=/(%[^%]{2})/;for(;null!=(m=c.exec(n))&&m.length>1&&""!=m[1];)b=parseInt(m[1].substr(1),16),t=String.fromCharCode(b),n=n.replace(m[1],t);return n}}),$((function(){let e=$("input.flat-all"),t=$("input.flat");$("input").iCheck({checkboxClass:"icheckbox_flat-green",radioClass:"iradio_flat-green"}),e.on("ifChecked ifUnchecked",(function(e){"ifChecked"===e.type?t.iCheck("check"):t.iCheck("uncheck")})),t.on("ifChanged",(function(n){t.filter(":checked").length===t.length?e.prop("checked","checked"):e.prop("checked",!1),e.iCheck("update")}))})),tinyMCE.init({selector:"textarea#addMessage",theme:"silver",plugins:["advlist autolink link image lists charmap print preview hr anchor pagebreak spellchecker","searchreplace wordcount visualblocks visualchars code fullscreen insertdatetime media nonbreaking","save table directionality emoticons template paste code"],theme_advanced_toolbar_location:"top",theme_advanced_toolbar_align:"left",toolbar:"insertfile undo redo | styleselect | fontselect |sizeselect | fontsizeselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image | print preview media fullpage | forecolor backcolor emoticons | code",fontsize_formats:"8pt 9pt 10pt 11pt 12pt 13pt 14pt 15pt 16pt 17pt 18pt 24pt 36pt",mode:"exact",relative_urls:!1,remove_script_host:!1,convert_urls:!0});