From 4f1f0ef1eeace11c30145f215f382ec8403ff40d Mon Sep 17 00:00:00 2001
From: Sebastian Baum
Date: Thu, 6 Jun 2019 13:45:18 +0200
Subject: [PATCH] - build for production
---
mix-manifest.json | 2 +-
public/css/app.css | 2 +-
public/js/app.js | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/mix-manifest.json b/mix-manifest.json
index 1bf96c8..6be3df9 100644
--- a/mix-manifest.json
+++ b/mix-manifest.json
@@ -1,4 +1,4 @@
{
"/public/js/app.js": "/public/js/app.js",
"/public/css/app.css": "/public/css/app.css"
-}
\ No newline at end of file
+}
diff --git a/public/css/app.css b/public/css/app.css
index ee1da3c..e9ec7ab 100644
--- a/public/css/app.css
+++ b/public/css/app.css
@@ -1 +1 @@
-/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{-webkit-box-sizing:content-box;box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{-webkit-box-sizing:border-box;box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{-webkit-box-sizing:border-box;box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}[hidden],template{display:none}code[class*=language-],pre[class*=language-]{color:#f8f8f2;background:none;text-shadow:0 1px rgba(0,0,0,.3);font-family:Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-ms-hyphens:none;hyphens:none}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto;border-radius:.3em}:not(pre)>code[class*=language-],pre[class*=language-]{background:#272822}:not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal}.token.cdata,.token.comment,.token.doctype,.token.prolog{color:#708090}.token.punctuation{color:#f8f8f2}.namespace{opacity:.7}.token.constant,.token.deleted,.token.property,.token.symbol,.token.tag{color:#f92672}.token.boolean,.token.number{color:#ae81ff}.token.attr-name,.token.builtin,.token.char,.token.inserted,.token.selector,.token.string{color:#a6e22e}.language-css .token.string,.style .token.string,.token.entity,.token.operator,.token.url,.token.variable{color:#f8f8f2}.token.atrule,.token.attr-value,.token.class-name,.token.function{color:#e6db74}.token.keyword{color:#66d9ef}.token.important,.token.regex{color:#fd971f}.token.bold,.token.important{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}html{--basicCopy:#8a8d8f;--brandMain:#03314b;--brandDark:#02273c;--brandCon:#fff621;--positive:#10e2ab;--alert:#ff4f4f;--warning:#ffb421;--inactive:#b9c5c5;--headerheight:66px;--gap:1rem}*,:after,:before{-webkit-box-sizing:inherit;box-sizing:inherit}html{-webkit-box-sizing:border-box;box-sizing:border-box;color:#fff;font-family:Roboto Mono,sans-serif;font-size:100%}body{background:#03314b;background:var(--brandMain,#03314b)}:focus{outline-color:var(--positive,#10e2ab);outline-offset:-2px;outline-style:dashed;outline-width:1px}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-corner,::-webkit-scrollbar-track{background:#03314b}::-webkit-scrollbar-thumb{border-radius:1rem;background-color:#001b22}.window{height:100vh;grid-template-columns:1fr 1fr 1fr 1fr;grid-template-rows:minmax(var(--headerheight),-webkit-min-content) auto;grid-template-rows:minmax(var(--headerheight),min-content) auto;grid-template-areas:"header header header header" "main main main main"}.view,.view--inner,.window{display:grid;overflow:hidden}.view,.view--inner{grid-area:main;grid-template-columns:repeat(4,1fr);grid-template-rows:repeat(4,1fr);grid-template-areas:"code code code code" "view view view view" "view view view view" "view view view view"}@media (min-width:1200px){.view,.view--inner{grid-template-areas:"code view view view" "code view view view" "code view view view" "code view view view"}}.view--inner{grid-area:code/code/view/view}.fullscreen{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;grid-area:code/code/footer/footer;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.form--fullscreen{max-width:50rem;width:100%}.u-hide{display:none!important}.u-transparent{opacity:0;pointer-events:none}.u-transparent#usage{position:absolute}.u-center{text-align:center}.u-right{text-align:right}@-webkit-keyframes slideIn{0%{opacity:0;-webkit-transform:scaleX(.5) translateX(-1000px);transform:scaleX(.5) translateX(-1000px)}75%{opacity:1}to{-webkit-transform:scaleX(1) translateX(0);transform:scaleX(1) translateX(0)}}@keyframes slideIn{0%{opacity:0;-webkit-transform:scaleX(.5) translateX(-1000px);transform:scaleX(.5) translateX(-1000px)}75%{opacity:1}to{-webkit-transform:scaleX(1) translateX(0);transform:scaleX(1) translateX(0)}}@-webkit-keyframes dropIn{0%{opacity:0;-webkit-transform:scaleY(.5) translateY(-1000px);transform:scaleY(.5) translateY(-1000px)}75%{opacity:1}to{-webkit-transform:scaleY(1) translateY(0);transform:scaleY(1) translateY(0)}}@keyframes dropIn{0%{opacity:0;-webkit-transform:scaleY(.5) translateY(-1000px);transform:scaleY(.5) translateY(-1000px)}75%{opacity:1}to{-webkit-transform:scaleY(1) translateY(0);transform:scaleY(1) translateY(0)}}.a-slideIn{-webkit-animation-name:slideIn;animation-name:slideIn;-webkit-animation-timing-function:cubic-bezier(.19,1,.22,1);animation-timing-function:cubic-bezier(.19,1,.22,1);-webkit-animation-iteration-count:1;animation-iteration-count:1}.a-dropIn,.a-slideIn{-webkit-animation-duration:.3s;animation-duration:.3s}.a-dropIn{-webkit-animation-name:dropIn;animation-name:dropIn;-webkit-animation-timing-function:cubic-bezier(.19,1,.22,1);animation-timing-function:cubic-bezier(.19,1,.22,1);-webkit-animation-iteration-count:1;animation-iteration-count:1}.preview-menu,.status-menue,.warning-includes{background:var(--brandDark,#02273c);min-width:10rem;padding:calc(var(--gap, $l-gap) / 2) 0;position:absolute;top:1.4rem;z-index:1}.preview-option,.status-option,.warning-listItem{-webkit-box-align:center;-ms-flex-align:center;align-items:center;background:transparent;cursor:pointer;display:-webkit-box;display:-ms-flexbox;display:flex;font-weight:400;padding:calc(var(--gap, $l-gap) / 2) var(--gap,1rem);text-align:left;text-decoration:none;width:100%}a{color:inherit;display:inline-block}.back{padding:.5rem 1rem}.btn--cancel,.btn--primary,.btn--save,.btn--secondary{background:none;border:1px solid #fff;margin:0 1rem 1rem 0;padding:0;position:relative;white-space:nowrap;text-decoration:none}.btn--cancel>span,.btn--primary>span,.btn--save>span,.btn--secondary>span{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;height:100%;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;left:0;padding:1rem;position:relative;top:0;-webkit-transform:translate(5px,-5px);transform:translate(5px,-5px);-webkit-transition:-webkit-transform .15s cubic-bezier(.4,0,.2,1);transition:-webkit-transform .15s cubic-bezier(.4,0,.2,1);transition:transform .15s cubic-bezier(.4,0,.2,1);transition:transform .15s cubic-bezier(.4,0,.2,1),-webkit-transform .15s cubic-bezier(.4,0,.2,1);z-index:1}.btn--cancel>span>i,.btn--primary>span>i,.btn--save>span>i,.btn--secondary>span>i{margin-right:.5rem}.btn--cancel:hover>span,.btn--primary:hover>span,.btn--save:hover>span,.btn--secondary:hover>span{-webkit-transform:translate(2px,-2px);transform:translate(2px,-2px)}.btn--primary{color:#fff;min-width:100px}.btn--primary>span{background:#fff;color:var(--brandMain,#03314b)}.btn--secondary>span{background:var(--brandMain,#03314b);border:1px solid transparent;color:currentColor}.btn--save{border:1px solid var(--positive,#10e2ab)}.btn--save>span{background:var(--positive,#10e2ab)}.btn--cancel{border:none;background:transparent;color:currentColor}.btn--cancel>span{background:none;color:inherit}.btn--create{font-size:.875rem;white-space:nowrap;padding:.5rem var(--gap,1rem)}.btn--create:hover,.btn--create>i{color:#10e2ab;color:var(--positive,#10e2ab)}.btn--sm{height:auto}.btn--sm>span{padding:.25rem .5rem;-webkit-transform:translate(3px,-3px);transform:translate(3px,-3px)}.btn--sm:hover>span{-webkit-transform:translate(0);transform:translate(0)}.btn--la{min-height:50px;min-width:calc(100px + 2rem)}.btn--cta>span{background:var(--brandCon,#fff621);color:var(--brandMain,#03314b)}.toggle-wrap{width:1rem;height:1rem;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border:2px solid #fff;border-radius:1rem;-webkit-box-shadow:0 0 0 0 var(--positive,#10e2ab);box-shadow:0 0 0 0 var(--positive,#10e2ab);display:-webkit-box;display:-ms-flexbox;display:flex;margin:0 .5rem;position:relative;-webkit-transition:box-shadow .15s ease-in;transition:box-shadow .15s ease-in;width:2rem}.toggle-wrap:focus-within{-webkit-box-shadow:0 0 20px 2px var(--positive,#10e2ab);box-shadow:0 0 20px 2px var(--positive,#10e2ab)}.toggle-wrap .toggle{width:100%;height:100%;opacity:0;position:relative;z-index:auto}.toggle-wrap .toggle+div{width:13px;height:13px;background:#fff;border:1px solid var(--brandMain);border-radius:100%;content:"";display:block;left:1px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);-webkit-transition:-webkit-transform .15s cubic-bezier(.19,1,.22,1);transition:-webkit-transform .15s cubic-bezier(.19,1,.22,1);transition:transform .15s cubic-bezier(.19,1,.22,1);transition:transform .15s cubic-bezier(.19,1,.22,1),-webkit-transform .15s cubic-bezier(.19,1,.22,1);position:absolute}.toggle-wrap .toggle:checked+div{-webkit-transform:translate(14px,-50%);transform:translate(14px,-50%)}.toggle-wrap span{display:none}.toggle--more{background:none;border:none;color:#fff;font-size:1rem;padding:0 .5rem}.toggle--more.active,.toggle--more:hover{color:#10e2ab;color:var(--positive,#10e2ab)}.toggle--more.shortcuts{bottom:0;left:0;padding:.5rem;position:fixed}.toggle--more.close{position:absolute;right:1rem;top:1rem}.toggle--more>svg{max-height:14px}.toggle--more>svg line,.toggle--more>svg path,.toggle--more>svg rect{fill:#fff}.toggle--showIncludes{font-size:inherit;text-shadow:inherit}.toggle--showIncludes:hover{color:#fff;text-decoration:underline}.tabs-list{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;margin:1rem 0}.tab{background:transparent;border-bottom:1px solid;border-color:var(--brandMain,#03314b);cursor:pointer;padding:1rem;padding:var(--gap,1rem);width:100%}.tab:not(:first-child){border-left:1px solid}.tab.active{background:var(--brandMain,#03314b);color:#fff}.tab span{-webkit-transition:color .tab span transform .15s ease-in;transition:color .tab span transform .15s ease-in}.tab:focus>span,.tab:hover>span{display:inline-block;-webkit-transform:translate(-2px,2px);transform:translate(-2px,2px)}.form{max-width:50rem;width:100%}.form-group{padding:var(--gap,1rem) 0}.form-group--end{-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;padding:1rem 0}.form-group+.form-group--end{margin-top:1rem}.form-group--end a{margin:0 2rem;padding:.5rem 1rem;text-decoration:none}.form-group--end a>span{display:block;-webkit-transform:translate(5px,-5px);transform:translate(5px,-5px)}label{margin-bottom:1rem}label>span{display:block}.label-hint{font-size:.8rem;opacity:.6}input:not([type=checkbox]),textarea{background:transparent;border:1px dashed currentColor;color:inherit;margin:var(--gap,1rem) 0;padding:1rem;resize:none;width:100%}textarea{min-height:200px}.error{color:#ff4f4f;color:var(--alert,#ff4f4f)}.error,.success{display:inline-block}.success{color:#10e2ab;color:var(--positive,#10e2ab)}.headline--one,h1{font-family:"Noto serif",serif;font-size:3.75rem;font-weight:700}.headline--one>small,h1>small{display:block;font-size:2rem}.headline--two,h2{font-family:Roboto Mono,serif;font-size:1rem;font-weight:400}.welcome .headline--two,.welcome h2{margin-top:1rem}ul{color:inherit;list-style:none;margin:0;padding:0}.tooltip{display:block!important;font-family:sans-serif;font-size:.75rem;z-index:10000}.tooltip .tooltip-inner{background:#000;color:#fff;border-radius:16px;padding:5px 10px 4px}.tooltip .tooltip-arrow{width:0;height:0;border-style:solid;position:absolute;margin:5px;border-color:#000;z-index:1}.tooltip[x-placement^=top]{margin-bottom:5px}.tooltip[x-placement^=top] .tooltip-arrow{border-width:5px 5px 0;border-left-color:transparent!important;border-right-color:transparent!important;border-bottom-color:transparent!important;bottom:-5px;left:calc(50% - 5px);margin-top:0;margin-bottom:0}.tooltip[x-placement^=bottom]{margin-top:5px}.tooltip[x-placement^=bottom] .tooltip-arrow{border-width:0 5px 5px;border-left-color:transparent!important;border-right-color:transparent!important;border-top-color:transparent!important;top:-5px;left:calc(50% - 5px);margin-top:0;margin-bottom:0}.tooltip[x-placement^=right]{margin-left:5px}.tooltip[x-placement^=right] .tooltip-arrow{border-width:5px 5px 5px 0;border-left-color:transparent!important;border-top-color:transparent!important;border-bottom-color:transparent!important;left:-5px;top:calc(50% - 5px);margin-left:0;margin-right:0}.tooltip[x-placement^=left]{margin-right:5px}.tooltip[x-placement^=left] .tooltip-arrow{border-width:5px 0 5px 5px;border-top-color:transparent!important;border-right-color:transparent!important;border-bottom-color:transparent!important;right:-5px;top:calc(50% - 5px);margin-left:0;margin-right:0}.tooltip.popover .popover-inner{background:#f9f9f9;color:#000;padding:24px;border-radius:5px;-webkit-box-shadow:0 5px 30px rgba(0,0,0,.1);box-shadow:0 5px 30px rgba(0,0,0,.1)}.tooltip.popover .popover-arrow{border-color:#f9f9f9}.tooltip[aria-hidden=true]{visibility:hidden;opacity:0;-webkit-transition:opacity .15s,visibility .15s;transition:opacity .15s,visibility .15s}.tooltip[aria-hidden=false]{visibility:visible;opacity:1;-webkit-transition:opacity .15s;transition:opacity .15s}.warning{-webkit-box-align:center;-ms-flex-align:center;align-items:center;background-color:var(--alert);border-radius:1rem;color:#fff;display:-webkit-box;display:-ms-flexbox;display:flex;padding:.5rem 1rem;position:relative;text-shadow:1px 1px 1px rgba(58,58,58,.8)}.warning-message{color:inherit;margin:0}.warning-includes{right:0}.header{background:#02273c;background:var(--brandDark,#02273c);min-height:var(--headerheight);grid-area:header}.project-name{color:#fff;text-decoration:none}.project-name:hover{color:#10e2ab;color:var(--positive,#10e2ab)}.project-name>a{text-decoration:inherit}.project-actions{padding:.375em 1rem;position:absolute;right:0;top:0}.dashboard-container{max-height:100%;overflow:hidden;padding:1rem;padding:var(--gap,1rem)}.dashboard-container.toReview{grid-column:span 2}@media (min-width:1200px){.dashboard-container.toReview{grid-column:3/4}}.dashboard-container.rejected{grid-column:span 2}@media (min-width:1200px){.dashboard-container.rejected{grid-column:4/5}}.dashboard-info{display:block;font-family:sans-serif;font-size:.75rem;padding:.5rem 0}.dashboard-list{height:100%;list-style-type:none;margin-left:-1rem;min-width:300px;overflow:auto}.dashboard-listItem>a{background:transparent;display:block;padding:1rem;padding:var(--gap,1rem)}.dashboard-listItem>a:hover{background:#02273c;background:var(--brandDark,#02273c);color:#10e2ab;color:var(--positive,#10e2ab)}.rejected .dashboard-list .dashboard-listItem>a:hover{color:#ff4f4f;color:var(--alert,#ff4f4f)}.dashboard-list--empty{margin-left:-1rem;padding:1rem;padding:var(--gap,1rem)}.dashboard-list--empty span{opacity:.6}.code{display:-webkit-box;display:-ms-flexbox;display:flex;grid-area:code;padding:var(--gap,1rem)}@media (min-width:600px){.code{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}}@media (min-width:1200px){.code{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}}.code-el{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-flex:1;-ms-flex:1 1 0px;flex:1 1 0;margin-bottom:2rem;width:100%}.code-el,.code-lang{display:-webkit-box;display:-ms-flexbox;display:flex}.code-lang{-ms-flex-line-pack:center;align-content:center;margin:0}.code-header{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:0 0 1rem;position:relative}.code-header:after{background:-webkit-gradient(linear,left top,left bottom,from(#03314b),to(rgba(3,49,75,0)));background:linear-gradient(180deg,#03314b,rgba(3,49,75,0));bottom:-1rem;content:"";display:block;height:1rem;left:0;position:absolute;width:calc(100% - 8px);z-index:1}.code-type{display:inline-block}.code-tabs{height:100%;overflow:auto;padding-bottom:1rem;position:relative}.code-tabs .tab{width:100%;height:100%;border:0;display:-webkit-box;display:-ms-flexbox;display:flex;left:0;padding:0;position:absolute;top:0}pre[class*=language-]{background:var(--brandMain,#03314b);padding:0;width:100%}.status-current,.status-option:before{width:1rem;height:1rem;background:#b9c5c5;background:var(--inactive,#b9c5c5);border-radius:100%;margin:0 .5rem 0 0}.accepted.status-current,.accepted.status-option:before{background:#10e2ab;background:var(--positive,#10e2ab)}.rejected.status-current,.rejected.status-option:before{background:#ff4f4f;background:var(--alert,#ff4f4f)}.toCheck.status-current,.toCheck.status-option:before{background:#ffb421;background:var(--warning,#ffb421)}.wip.status-current,.wip.status-option:before{background:#fff}.preview{grid-area:view;max-height:100%;max-width:100%;position:relative;overflow:auto}.preview-inner{height:calc(100% - 50px)}.preview iframe{height:100%;width:100%}.preview-infosWrap{background:var(--brandMain,#03314b);font-family:Arial,sans-serif;font-size:.75rem;height:50px;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;left:0;padding:var(--gap,1rem);position:-webkit-sticky;position:sticky;top:0;width:100%;z-index:auto}.preview-infos,.preview-infosWrap{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex}.preview-optionsWrap{position:relative;color:red}.preview-menu{min-width:10rem;right:0;z-index:1}.preview-option{border:0;color:#fff}.preview-option:hover{background:#03314b;background:var(--brandMain,#03314b)}.preview-description{background:rgba(3,49,75,.9);left:0;margin:0;padding:1rem;position:absolute;top:100%;width:100%;z-index:1}.statusbar{padding:0 .45rem;position:relative}.status-current{cursor:pointer;margin-right:0}.status-menue{left:-.5rem;z-index:500}.status-option:before{display:inline-block;content:""}.status-option:hover{background-color:var(--brandMain,#03314b)}.preview-message{padding:1rem;padding:var(--gap,1rem)}.preview-message code{background-color:#02273c;background-color:var(--brandDark,#02273c)}.preview-message .codeblock{display:block;font-size:1.15em;padding:2rem;margin:2rem 0 3rem;max-width:750px}.preview-message .codeblock--inline{border-radius:1rem;display:inline-block;padding:.3rem .5rem}.project-navigation{-webkit-box-align:baseline;-ms-flex-align:baseline;align-items:baseline;display:-webkit-box;display:-ms-flexbox;display:flex;width:100%}.project-navigation a{text-decoration:none}.patterns{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;width:100%}.patterns--sub{background:var(--brandDark,#02273c);left:0;min-width:100%;position:absolute;top:2rem;width:auto;z-index:500}.pattern{cursor:pointer;font-size:.875rem;padding:0;position:relative;text-align:center;-webkit-transition:opacity .25s;transition:opacity .25s;min-width:10rem}.pattern a,.pattern span{display:block;padding:.5rem var(--gap,1rem)}.pattern:not(:first-child){border-left:1px solid hsla(0,0%,100%,.1)}.patterns:hover .pattern:not(:hover){opacity:.65}.pattern>.patterns--sub{overflow:hidden;max-height:0;margin:0;padding:0}.pattern>.patterns--sub .pattern{border:none;text-align:left;word-break:break-all}.pattern>.patterns--sub .patterns--sub{position:static}.pattern>.patterns--sub .patterns--sub .pattern{padding:0 0 0 .5rem}.pattern i{-webkit-transition:-webkit-transform .2s;transition:-webkit-transform .2s;transition:transform .2s;transition:transform .2s,-webkit-transform .2s}.pattern.active{color:#10e2ab;color:var(--positive,#10e2ab);opacity:1!important}.pattern.active>.patterns--sub{color:#fff;max-height:120em}.pattern.active>a>i{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.popUp{background:none;height:100%;left:0;position:fixed;top:0;width:100%;z-index:999}.popUp .popUp-inner{background:#fff;color:#03314b;color:var(--brandMain,#03314b);padding:var(--gap,1rem);max-width:40rem;width:100%}.darken{background:var(--brandDark,#02273c);height:100%;left:0;opacity:.95;position:fixed;top:0;width:100%;z-index:-1}.popUp-controls{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.shortcut-list{margin:0;padding:0}.shortcut{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;line-height:1.2;margin-bottom:1rem}.shortcut:last-child{margin-bottom:2rem}.shortcut-keys{background:#03314b;background:var(--brandMain,#03314b);border-radius:1rem;color:#fff;display:inline-block;padding:.5rem;text-align:center}.shortcut-description{color:#8a8d8f;font-family:Arial,sans-serif;width:80%}.footer{height:var(--headerheight);grid-area:footer;padding:var(--gap,1rem);text-align:right}.project-info{text-align:center}.project-name{font-family:sans-serif;font-size:.75rem}.popUp{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.navbar-laravel{background-color:#fff;-webkit-box-shadow:0 2px 4px rgba(0,0,0,.04);box-shadow:0 2px 4px rgba(0,0,0,.04)}.state-todo{color:red}.state-review{color:orange}.state-done{color:#228b22}.design{max-height:500px;max-width:1200px}
\ No newline at end of file
+/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}[hidden],template{display:none}code[class*=language-],pre[class*=language-]{color:#f8f8f2;background:none;text-shadow:0 1px rgba(0,0,0,.3);font-family:Consolas,Monaco,Andale Mono,Ubuntu Mono,monospace;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-ms-hyphens:none;hyphens:none}pre[class*=language-]{padding:1em;margin:.5em 0;overflow:auto;border-radius:.3em}:not(pre)>code[class*=language-],pre[class*=language-]{background:#272822}:not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal}.token.cdata,.token.comment,.token.doctype,.token.prolog{color:#708090}.token.punctuation{color:#f8f8f2}.namespace{opacity:.7}.token.constant,.token.deleted,.token.property,.token.symbol,.token.tag{color:#f92672}.token.boolean,.token.number{color:#ae81ff}.token.attr-name,.token.builtin,.token.char,.token.inserted,.token.selector,.token.string{color:#a6e22e}.language-css .token.string,.style .token.string,.token.entity,.token.operator,.token.url,.token.variable{color:#f8f8f2}.token.atrule,.token.attr-value,.token.class-name,.token.function{color:#e6db74}.token.keyword{color:#66d9ef}.token.important,.token.regex{color:#fd971f}.token.bold,.token.important{font-weight:700}.token.italic{font-style:italic}.token.entity{cursor:help}html{--basicCopy:#8a8d8f;--brandMain:#03314b;--brandDark:#02273c;--brandCon:#fff621;--positive:#10e2ab;--alert:#ff4f4f;--warning:#ffb421;--inactive:#b9c5c5;--headerheight:66px;--gap:1rem}*,:after,:before{box-sizing:inherit}html{box-sizing:border-box;color:#fff;font-family:Roboto Mono,sans-serif;font-size:100%}body{background:#03314b;background:var(--brandMain,#03314b)}:focus{outline-color:var(--positive,#10e2ab);outline-offset:-2px;outline-style:dashed;outline-width:1px}::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-corner,::-webkit-scrollbar-track{background:#03314b}::-webkit-scrollbar-thumb{border-radius:1rem;background-color:#001b22}.window{height:100vh;grid-template-columns:1fr 1fr 1fr 1fr;grid-template-rows:minmax(var(--headerheight),-webkit-min-content) auto;grid-template-rows:minmax(var(--headerheight),min-content) auto;grid-template-areas:"header header header header" "main main main main"}.view,.view--inner,.window{display:grid;overflow:hidden}.view,.view--inner{grid-area:main;grid-template-columns:repeat(4,1fr);grid-template-rows:repeat(4,1fr);grid-template-areas:"code code code code" "view view view view" "view view view view" "view view view view"}@media (min-width:1200px){.view,.view--inner{grid-template-areas:"code view view view" "code view view view" "code view view view" "code view view view"}}.view--inner{grid-area:code/code/view/view}.fullscreen{align-items:center;display:flex;grid-area:code/code/footer/footer;justify-content:center}.form--fullscreen{max-width:50rem;width:100%}.u-hide{display:none!important}.u-transparent{opacity:0;pointer-events:none}.u-transparent#usage{position:absolute}.u-center{text-align:center}.u-right{text-align:right}@-webkit-keyframes slideIn{0%{opacity:0;-webkit-transform:scaleX(.5) translateX(-1000px);transform:scaleX(.5) translateX(-1000px)}75%{opacity:1}to{-webkit-transform:scaleX(1) translateX(0);transform:scaleX(1) translateX(0)}}@keyframes slideIn{0%{opacity:0;-webkit-transform:scaleX(.5) translateX(-1000px);transform:scaleX(.5) translateX(-1000px)}75%{opacity:1}to{-webkit-transform:scaleX(1) translateX(0);transform:scaleX(1) translateX(0)}}@-webkit-keyframes dropIn{0%{opacity:0;-webkit-transform:scaleY(.5) translateY(-1000px);transform:scaleY(.5) translateY(-1000px)}75%{opacity:1}to{-webkit-transform:scaleY(1) translateY(0);transform:scaleY(1) translateY(0)}}@keyframes dropIn{0%{opacity:0;-webkit-transform:scaleY(.5) translateY(-1000px);transform:scaleY(.5) translateY(-1000px)}75%{opacity:1}to{-webkit-transform:scaleY(1) translateY(0);transform:scaleY(1) translateY(0)}}.a-slideIn{-webkit-animation-name:slideIn;animation-name:slideIn;-webkit-animation-timing-function:cubic-bezier(.19,1,.22,1);animation-timing-function:cubic-bezier(.19,1,.22,1);-webkit-animation-iteration-count:1;animation-iteration-count:1}.a-dropIn,.a-slideIn{-webkit-animation-duration:.3s;animation-duration:.3s}.a-dropIn{-webkit-animation-name:dropIn;animation-name:dropIn;-webkit-animation-timing-function:cubic-bezier(.19,1,.22,1);animation-timing-function:cubic-bezier(.19,1,.22,1);-webkit-animation-iteration-count:1;animation-iteration-count:1}.preview-menu,.status-menue,.warning-includes{background:var(--brandDark,#02273c);min-width:10rem;padding:calc(var(--gap, $l-gap)/2) 0;position:absolute;top:1.4rem;z-index:1}.preview-option,.status-option,.warning-listItem{align-items:center;background:transparent;cursor:pointer;display:flex;font-weight:400;padding:calc(var(--gap, $l-gap)/2) var(--gap,1rem);text-align:left;text-decoration:none;width:100%}a{color:inherit;display:inline-block}.back{padding:.5rem 1rem}.btn--cancel,.btn--primary,.btn--save,.btn--secondary{background:none;border:1px solid #fff;margin:0 1rem 1rem 0;padding:0;position:relative;white-space:nowrap;text-decoration:none}.btn--cancel>span,.btn--primary>span,.btn--save>span,.btn--secondary>span{align-items:center;display:flex;height:100%;justify-content:center;left:0;padding:1rem;position:relative;top:0;-webkit-transform:translate(5px,-5px);transform:translate(5px,-5px);transition:-webkit-transform .15s cubic-bezier(.4,0,.2,1);transition:transform .15s cubic-bezier(.4,0,.2,1);transition:transform .15s cubic-bezier(.4,0,.2,1),-webkit-transform .15s cubic-bezier(.4,0,.2,1);z-index:1}.btn--cancel>span>i,.btn--primary>span>i,.btn--save>span>i,.btn--secondary>span>i{margin-right:.5rem}.btn--cancel:hover>span,.btn--primary:hover>span,.btn--save:hover>span,.btn--secondary:hover>span{-webkit-transform:translate(2px,-2px);transform:translate(2px,-2px)}.btn--primary{color:#fff;min-width:100px}.btn--primary>span{background:#fff;color:var(--brandMain,#03314b)}.btn--secondary>span{background:var(--brandMain,#03314b);border:1px solid transparent;color:currentColor}.btn--save{border:1px solid var(--positive,#10e2ab)}.btn--save>span{background:var(--positive,#10e2ab)}.btn--cancel{border:none;background:transparent;color:currentColor}.btn--cancel>span{background:none;color:inherit}.btn--create{font-size:.875rem;white-space:nowrap;padding:.5rem var(--gap,1rem)}.btn--create:hover,.btn--create>i{color:#10e2ab;color:var(--positive,#10e2ab)}.btn--sm{height:auto}.btn--sm>span{padding:.25rem .5rem;-webkit-transform:translate(3px,-3px);transform:translate(3px,-3px)}.btn--sm:hover>span{-webkit-transform:translate(0);transform:translate(0)}.btn--la{min-height:50px;min-width:calc(100px + 2rem)}.btn--cta>span{background:var(--brandCon,#fff621);color:var(--brandMain,#03314b)}.toggle-wrap{width:1rem;height:1rem;align-items:center;border:2px solid #fff;border-radius:1rem;box-shadow:0 0 0 0 var(--positive,#10e2ab);display:flex;margin:0 .5rem;position:relative;transition:box-shadow .15s ease-in;width:2rem}.toggle-wrap:focus-within{box-shadow:0 0 20px 2px var(--positive,#10e2ab)}.toggle-wrap .toggle{width:100%;height:100%;opacity:0;position:relative;z-index:auto}.toggle-wrap .toggle+div{width:13px;height:13px;background:#fff;border:1px solid var(--brandMain);border-radius:100%;content:"";display:block;left:1px;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);transition:-webkit-transform .15s cubic-bezier(.19,1,.22,1);transition:transform .15s cubic-bezier(.19,1,.22,1);transition:transform .15s cubic-bezier(.19,1,.22,1),-webkit-transform .15s cubic-bezier(.19,1,.22,1);position:absolute}.toggle-wrap .toggle:checked+div{-webkit-transform:translate(14px,-50%);transform:translate(14px,-50%)}.toggle-wrap span{display:none}.toggle--more{background:none;border:none;color:#fff;font-size:1rem;padding:0 .5rem}.toggle--more.active,.toggle--more:hover{color:#10e2ab;color:var(--positive,#10e2ab)}.toggle--more.shortcuts{bottom:0;left:0;padding:.5rem;position:fixed}.toggle--more.close{position:absolute;right:1rem;top:1rem}.toggle--more>svg{max-height:14px}.toggle--more>svg line,.toggle--more>svg path,.toggle--more>svg rect{fill:#fff}.toggle--showIncludes{font-size:inherit;text-shadow:inherit}.toggle--showIncludes:hover{color:#fff;text-decoration:underline}.tabs-list{align-items:center;display:flex;margin:1rem 0}.tab{background:transparent;border-left-color:var(--brandMain,#03314b);border-bottom:1px solid;border-bottom-color:var(--brandMain,#03314b);border-right-color:var(--brandMain,#03314b);border-top-color:var(--brandMain,#03314b);cursor:pointer;padding:1rem;padding:var(--gap,1rem);width:100%}.tab:not(:first-child){border-left:1px solid}.tab.active{background:var(--brandMain,#03314b);color:#fff}.tab span{transition:color .tab span transform .15s ease-in}.tab:focus>span,.tab:hover>span{display:inline-block;-webkit-transform:translate(-2px,2px);transform:translate(-2px,2px)}.form{max-width:50rem;width:100%}.form-group{padding:var(--gap,1rem) 0}.form-group--end{align-items:baseline;display:flex;justify-content:flex-end;padding:1rem 0}.form-group+.form-group--end{margin-top:1rem}.form-group--end a{margin:0 2rem;padding:.5rem 1rem;text-decoration:none}.form-group--end a>span{display:block;-webkit-transform:translate(5px,-5px);transform:translate(5px,-5px)}label{margin-bottom:1rem}label>span{display:block}.label-hint{font-size:.8rem;opacity:.6}input:not([type=checkbox]),textarea{background:transparent;border:1px dashed;color:inherit;margin:var(--gap,1rem) 0;padding:1rem;resize:none;width:100%}textarea{min-height:200px}.error{color:#ff4f4f;color:var(--alert,#ff4f4f)}.error,.success{display:inline-block}.success{color:#10e2ab;color:var(--positive,#10e2ab)}.headline--one,h1{font-family:"Noto serif",serif;font-size:3.75rem;font-weight:700}.headline--one>small,h1>small{display:block;font-size:2rem}.headline--two,h2{font-family:Roboto Mono,serif;font-size:1rem;font-weight:400}.welcome .headline--two,.welcome h2{margin-top:1rem}ul{color:inherit;list-style:none;margin:0;padding:0}.tooltip{display:block!important;font-family:sans-serif;font-size:.75rem;z-index:10000}.tooltip .tooltip-inner{background:#000;color:#fff;border-radius:16px;padding:5px 10px 4px}.tooltip .tooltip-arrow{width:0;height:0;border-style:solid;position:absolute;margin:5px;border-color:#000;z-index:1}.tooltip[x-placement^=top]{margin-bottom:5px}.tooltip[x-placement^=top] .tooltip-arrow{border-width:5px 5px 0;border-left-color:transparent!important;border-right-color:transparent!important;border-bottom-color:transparent!important;bottom:-5px;left:calc(50% - 5px);margin-top:0;margin-bottom:0}.tooltip[x-placement^=bottom]{margin-top:5px}.tooltip[x-placement^=bottom] .tooltip-arrow{border-width:0 5px 5px;border-left-color:transparent!important;border-right-color:transparent!important;border-top-color:transparent!important;top:-5px;left:calc(50% - 5px);margin-top:0;margin-bottom:0}.tooltip[x-placement^=right]{margin-left:5px}.tooltip[x-placement^=right] .tooltip-arrow{border-width:5px 5px 5px 0;border-left-color:transparent!important;border-top-color:transparent!important;border-bottom-color:transparent!important;left:-5px;top:calc(50% - 5px);margin-left:0;margin-right:0}.tooltip[x-placement^=left]{margin-right:5px}.tooltip[x-placement^=left] .tooltip-arrow{border-width:5px 0 5px 5px;border-top-color:transparent!important;border-right-color:transparent!important;border-bottom-color:transparent!important;right:-5px;top:calc(50% - 5px);margin-left:0;margin-right:0}.tooltip.popover .popover-inner{background:#f9f9f9;color:#000;padding:24px;border-radius:5px;box-shadow:0 5px 30px rgba(0,0,0,.1)}.tooltip.popover .popover-arrow{border-color:#f9f9f9}.tooltip[aria-hidden=true]{visibility:hidden;opacity:0;transition:opacity .15s,visibility .15s}.tooltip[aria-hidden=false]{visibility:visible;opacity:1;transition:opacity .15s}.warning{align-items:center;background-color:var(--alert);border-radius:1rem;color:#fff;display:flex;padding:.5rem 1rem;position:relative;text-shadow:1px 1px 1px rgba(58,58,58,.8)}.warning-message{color:inherit;margin:0}.warning-includes{right:0}.header{background:#02273c;background:var(--brandDark,#02273c);min-height:var(--headerheight);grid-area:header}.project-name{color:#fff;text-decoration:none}.project-name:hover{color:#10e2ab;color:var(--positive,#10e2ab)}.project-name>a{text-decoration:inherit}.project-actions{padding:.375em 1rem;position:absolute;right:0;top:0}.dashboard-container{max-height:100%;overflow:hidden;padding:1rem;padding:var(--gap,1rem)}.dashboard-container.toReview{grid-column:span 2}@media (min-width:1200px){.dashboard-container.toReview{grid-column:3/4}}.dashboard-container.rejected{grid-column:span 2}@media (min-width:1200px){.dashboard-container.rejected{grid-column:4/5}}.dashboard-info{display:block;font-family:sans-serif;font-size:.75rem;padding:.5rem 0}.dashboard-list{height:100%;list-style-type:none;margin-left:-1rem;min-width:300px;overflow:auto}.dashboard-listItem>a{background:transparent;display:block;padding:1rem;padding:var(--gap,1rem)}.dashboard-listItem>a:hover{background:#02273c;background:var(--brandDark,#02273c);color:#10e2ab;color:var(--positive,#10e2ab)}.rejected .dashboard-list .dashboard-listItem>a:hover{color:#ff4f4f;color:var(--alert,#ff4f4f)}.dashboard-list--empty{margin-left:-1rem;padding:1rem;padding:var(--gap,1rem)}.dashboard-list--empty span{opacity:.6}.code{display:flex;grid-area:code;padding:var(--gap,1rem)}@media (min-width:600px){.code{flex-direction:row}}@media (min-width:1200px){.code{flex-direction:column}}.code-el{display:flex;flex-direction:column;flex:1 1 0;margin-bottom:2rem;width:100%}.code-lang{align-content:center;display:flex;margin:0}.code-header{align-items:center;display:flex;justify-content:space-between;padding:0 0 1rem;position:relative}.code-header:after{background:linear-gradient(180deg,#03314b,rgba(3,49,75,0));bottom:-1rem;content:"";display:block;height:1rem;left:0;position:absolute;width:calc(100% - 8px);z-index:1}.code-type{display:inline-block}.code-tabs{height:100%;overflow:auto;padding-bottom:1rem;position:relative}.code-tabs .tab{width:100%;height:100%;border:0;display:flex;left:0;padding:0;position:absolute;top:0}pre[class*=language-]{background:var(--brandMain,#03314b);padding:0;width:100%}.status-current,.status-option:before{width:1rem;height:1rem;background:#b9c5c5;background:var(--inactive,#b9c5c5);border-radius:100%;margin:0 .5rem 0 0}.accepted.status-current,.accepted.status-option:before{background:#10e2ab;background:var(--positive,#10e2ab)}.rejected.status-current,.rejected.status-option:before{background:#ff4f4f;background:var(--alert,#ff4f4f)}.toCheck.status-current,.toCheck.status-option:before{background:#ffb421;background:var(--warning,#ffb421)}.wip.status-current,.wip.status-option:before{background:#fff}.preview{grid-area:view;max-height:100%;max-width:100%;position:relative;overflow:auto}.preview-inner{height:calc(100% - 50px)}.preview iframe{height:100%;width:100%}.preview-infosWrap{background:var(--brandMain,#03314b);font-family:Arial,sans-serif;font-size:.75rem;height:50px;justify-content:space-between;left:0;padding:var(--gap,1rem);position:-webkit-sticky;position:sticky;top:0;width:100%;z-index:auto}.preview-infos,.preview-infosWrap{align-items:center;display:flex}.preview-optionsWrap{position:relative;color:red}.preview-menu{min-width:10rem;right:0;z-index:1}.preview-option{border:0;color:#fff}.preview-option:hover{background:#03314b;background:var(--brandMain,#03314b)}.preview-description{background:rgba(3,49,75,.9);left:0;margin:0;padding:1rem;position:absolute;top:100%;width:100%;z-index:1}.statusbar{padding:0 .45rem;position:relative}.status-current{cursor:pointer;margin-right:0}.status-menue{left:-.5rem;z-index:500}.status-option:before{display:inline-block;content:""}.status-option:hover{background-color:var(--brandMain,#03314b)}.preview-message{padding:1rem;padding:var(--gap,1rem)}.preview-message code{background-color:#02273c;background-color:var(--brandDark,#02273c)}.preview-message .codeblock{display:block;font-size:1.15em;padding:2rem;margin:2rem 0 3rem;max-width:750px}.preview-message .codeblock--inline{border-radius:1rem;display:inline-block;padding:.3rem .5rem}.project-navigation{align-items:baseline;display:flex;width:100%}.project-navigation a{text-decoration:none}.patterns{align-items:center;display:flex;flex-wrap:wrap;justify-content:flex-start;width:100%}.patterns--sub{background:var(--brandDark,#02273c);left:0;min-width:100%;position:absolute;top:2rem;width:auto;z-index:500}.pattern{cursor:pointer;font-size:.875rem;padding:0;position:relative;text-align:center;transition:opacity .25s;min-width:10rem}.pattern a,.pattern span{display:block;padding:.5rem var(--gap,1rem)}.pattern:not(:first-child){border-left:1px solid hsla(0,0%,100%,.1)}.patterns:hover .pattern:not(:hover){opacity:.65}.pattern>.patterns--sub{overflow:hidden;max-height:0;margin:0;padding:0}.pattern>.patterns--sub .pattern{border:none;text-align:left;word-break:break-all}.pattern>.patterns--sub .patterns--sub{position:static}.pattern>.patterns--sub .patterns--sub .pattern{padding:0 0 0 .5rem}.pattern i{transition:-webkit-transform .2s;transition:transform .2s;transition:transform .2s,-webkit-transform .2s}.pattern.active{color:#10e2ab;color:var(--positive,#10e2ab);opacity:1!important}.pattern.active>.patterns--sub{color:#fff;max-height:120em}.pattern.active>a>i{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.popUp{background:none;height:100%;left:0;position:fixed;top:0;width:100%;z-index:999}.popUp .popUp-inner{background:#fff;color:#03314b;color:var(--brandMain,#03314b);padding:var(--gap,1rem);max-width:40rem;width:100%}.darken{background:var(--brandDark,#02273c);height:100%;left:0;opacity:.95;position:fixed;top:0;width:100%;z-index:-1}.popUp-controls{align-items:center;display:flex;justify-content:center}.shortcut-list{margin:0;padding:0}.shortcut{align-items:center;display:flex;justify-content:space-between;line-height:1.2;margin-bottom:1rem}.shortcut:last-child{margin-bottom:2rem}.shortcut-keys{background:#03314b;background:var(--brandMain,#03314b);border-radius:1rem;color:#fff;display:inline-block;padding:.5rem;text-align:center}.shortcut-description{color:#8a8d8f;font-family:Arial,sans-serif;width:80%}.footer{height:var(--headerheight);grid-area:footer;padding:var(--gap,1rem);text-align:right}.project-info{text-align:center}.project-name{font-family:sans-serif;font-size:.75rem}.popUp{align-items:center;display:flex;justify-content:center}.navbar-laravel{background-color:#fff;box-shadow:0 2px 4px rgba(0,0,0,.04)}.state-todo{color:red}.state-review{color:orange}.state-done{color:#228b22}.design{max-height:500px;max-width:1200px}
\ No newline at end of file
diff --git a/public/js/app.js b/public/js/app.js
index c7e0373..25c570e 100644
--- a/public/js/app.js
+++ b/public/js/app.js
@@ -1 +1 @@
-!function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=18)}([function(e,t){e.exports=function(e,t,n,r,i,o){var a,s=e=e||{},u=typeof e.default;"object"!==u&&"function"!==u||(a=e,s=e.default);var c,l="function"==typeof s?s.options:s;if(t&&(l.render=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0),n&&(l.functional=!0),i&&(l._scopeId=i),o?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},l._ssrRegister=c):r&&(c=r),c){var f=l.functional,p=f?l.render:l.beforeCreate;f?(l._injectStyles=c,l.render=function(e,t){return c.call(t),p(e,t)}):l.beforeCreate=p?[].concat(p,c):[c]}return{esModule:a,exports:s,options:l}}},function(e,t,n){"use strict";var r=n(12),i=n(31),o=Object.prototype.toString;function a(e){return"[object Array]"===o.call(e)}function s(e){return null!==e&&"object"==typeof e}function u(e){return"[object Function]"===o.call(e)}function c(e,t){if(null!==e&&void 0!==e)if("object"!=typeof e&&(e=[e]),a(e))for(var n=0,r=e.length;n1)for(var n=1;n=200&&e<300}};u.headers={common:{Accept:"application/json, text/plain, */*"}},r.forEach(["delete","get","head"],function(e){u.headers[e]={}}),r.forEach(["post","put","patch"],function(e){u.headers[e]=r.merge(o)}),e.exports=u}).call(t,n(9))},function(e,t,n){"use strict";t.a={apiUri:workshopUri+"/api/v1",environment:"production"}},function(e,t,n){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r-1}function s(e,t){for(var n in t)e[n]=t[n];return e}var u={name:"RouterView",functional:!0,props:{name:{type:String,default:"default"}},render:function(e,t){var n=t.props,r=t.children,i=t.parent,o=t.data;o.routerView=!0;for(var a=i.$createElement,u=n.name,c=i.$route,l=i._routerViewCache||(i._routerViewCache={}),f=0,p=!1;i&&i._routerRoot!==i;)i.$vnode&&i.$vnode.data.routerView&&f++,i._inactive&&(p=!0),i=i.$parent;if(o.routerViewDepth=f,p)return a(l[u],o,r);var d=c.matched[f];if(!d)return l[u]=null,a();var h=l[u]=d.components[u];o.registerRouteInstance=function(e,t){var n=d.instances[u];(t&&n!==e||!t&&n===e)&&(d.instances[u]=t)},(o.hook||(o.hook={})).prepatch=function(e,t){d.instances[u]=t.componentInstance};var v=o.props=function(e,t){switch(typeof t){case"undefined":return;case"object":return t;case"function":return t(e);case"boolean":return t?e.params:void 0;default:0}}(c,d.props&&d.props[u]);if(v){v=o.props=s({},v);var m=o.attrs=o.attrs||{};for(var g in v)h.props&&g in h.props||(m[g]=v[g],delete v[g])}return a(h,o,r)}};var c=/[!'()*]/g,l=function(e){return"%"+e.charCodeAt(0).toString(16)},f=/%2C/g,p=function(e){return encodeURIComponent(e).replace(c,l).replace(f,",")},d=decodeURIComponent;function h(e){var t={};return(e=e.trim().replace(/^(\?|#|&)/,""))?(e.split("&").forEach(function(e){var n=e.replace(/\+/g," ").split("="),r=d(n.shift()),i=n.length>0?d(n.join("=")):null;void 0===t[r]?t[r]=i:Array.isArray(t[r])?t[r].push(i):t[r]=[t[r],i]}),t):t}function v(e){var t=e?Object.keys(e).map(function(t){var n=e[t];if(void 0===n)return"";if(null===n)return p(t);if(Array.isArray(n)){var r=[];return n.forEach(function(e){void 0!==e&&(null===e?r.push(p(t)):r.push(p(t)+"="+p(e)))}),r.join("&")}return p(t)+"="+p(n)}).filter(function(e){return e.length>0}).join("&"):null;return t?"?"+t:""}var m=/\/?$/;function g(e,t,n,r){var i=r&&r.options.stringifyQuery,o=t.query||{};try{o=y(o)}catch(e){}var a={name:t.name||e&&e.name,meta:e&&e.meta||{},path:t.path||"/",hash:t.hash||"",query:o,params:t.params||{},fullPath:_(t,i),matched:e?function(e){var t=[];for(;e;)t.unshift(e),e=e.parent;return t}(e):[]};return n&&(a.redirectedFrom=_(n,i)),Object.freeze(a)}function y(e){if(Array.isArray(e))return e.map(y);if(e&&"object"==typeof e){var t={};for(var n in e)t[n]=y(e[n]);return t}return e}var b=g(null,{path:"/"});function _(e,t){var n=e.path,r=e.query;void 0===r&&(r={});var i=e.hash;return void 0===i&&(i=""),(n||"/")+(t||v)(r)+i}function w(e,t){return t===b?e===t:!!t&&(e.path&&t.path?e.path.replace(m,"")===t.path.replace(m,"")&&e.hash===t.hash&&x(e.query,t.query):!(!e.name||!t.name)&&(e.name===t.name&&e.hash===t.hash&&x(e.query,t.query)&&x(e.params,t.params)))}function x(e,t){if(void 0===e&&(e={}),void 0===t&&(t={}),!e||!t)return e===t;var n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every(function(n){var r=e[n],i=t[n];return"object"==typeof r&&"object"==typeof i?x(r,i):String(r)===String(i)})}var k,$=[String,Object],C=[String,Array],O={name:"RouterLink",props:{to:{type:$,required:!0},tag:{type:String,default:"a"},exact:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,event:{type:C,default:"click"}},render:function(e){var t=this,n=this.$router,r=this.$route,i=n.resolve(this.to,r,this.append),o=i.location,a=i.route,u=i.href,c={},l=n.options.linkActiveClass,f=n.options.linkExactActiveClass,p=null==l?"router-link-active":l,d=null==f?"router-link-exact-active":f,h=null==this.activeClass?p:this.activeClass,v=null==this.exactActiveClass?d:this.exactActiveClass,y=o.path?g(null,o,null,n):a;c[v]=w(r,y),c[h]=this.exact?c[v]:function(e,t){return 0===e.path.replace(m,"/").indexOf(t.path.replace(m,"/"))&&(!t.hash||e.hash===t.hash)&&function(e,t){for(var n in t)if(!(n in e))return!1;return!0}(e.query,t.query)}(r,y);var b=function(e){T(e)&&(t.replace?n.replace(o):n.push(o))},_={click:T};Array.isArray(this.event)?this.event.forEach(function(e){_[e]=b}):_[this.event]=b;var x={class:c};if("a"===this.tag)x.on=_,x.attrs={href:u};else{var k=function e(t){if(t)for(var n,r=0;r=0&&(t=e.slice(r),e=e.slice(0,r));var i=e.indexOf("?");return i>=0&&(n=e.slice(i+1),e=e.slice(0,i)),{path:e,query:n,hash:t}}(i.path||""),c=t&&t.path||"/",l=u.path?E(u.path,c,n||i.append):c,f=function(e,t,n){void 0===t&&(t={});var r,i=n||h;try{r=i(e||"")}catch(e){r={}}for(var o in t)r[o]=t[o];return r}(u.query,i.query,r&&r.options.parseQuery),p=i.hash||u.hash;return p&&"#"!==p.charAt(0)&&(p="#"+p),{_normalized:!0,path:l,query:f,hash:p}}function J(e,t){var n=G(e),r=n.pathList,i=n.pathMap,o=n.nameMap;function a(e,n,a){var s=X(e,n,!1,t),c=s.name;if(c){var l=o[c];if(!l)return u(null,s);var f=l.regex.keys.filter(function(e){return!e.optional}).map(function(e){return e.name});if("object"!=typeof s.params&&(s.params={}),n&&"object"==typeof n.params)for(var p in n.params)!(p in s.params)&&f.indexOf(p)>-1&&(s.params[p]=n.params[p]);if(l)return s.path=K(l.path,s.params),u(l,s,a)}else if(s.path){s.params={};for(var d=0;d=e.length?n():e[i]?t(e[i],function(){r(i+1)}):r(i+1)};r(0)}function ge(e){return function(t,n,r){var i=!1,o=0,s=null;ye(e,function(e,t,n,u){if("function"==typeof e&&void 0===e.cid){i=!0,o++;var c,l=we(function(t){var i;((i=t).__esModule||_e&&"Module"===i[Symbol.toStringTag])&&(t=t.default),e.resolved="function"==typeof t?t:k.extend(t),n.components[u]=t,--o<=0&&r()}),f=we(function(e){var t="Failed to resolve async component "+u+": "+e;s||(s=a(e)?e:new Error(t),r(s))});try{c=e(l,f)}catch(e){f(e)}if(c)if("function"==typeof c.then)c.then(l,f);else{var p=c.component;p&&"function"==typeof p.then&&p.then(l,f)}}}),i||r()}}function ye(e,t){return be(e.map(function(e){return Object.keys(e.components).map(function(n){return t(e.components[n],e.instances[n],e,n)})}))}function be(e){return Array.prototype.concat.apply([],e)}var _e="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;function we(e){var t=!1;return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];if(!t)return t=!0,e.apply(this,n)}}var xe=function(e,t){this.router=e,this.base=function(e){if(!e)if(S){var t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^https?:\/\/[^\/]+/,"")}else e="/";"/"!==e.charAt(0)&&(e="/"+e);return e.replace(/\/$/,"")}(t),this.current=b,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[]};function ke(e,t,n,r){var i=ye(e,function(e,r,i,o){var a=function(e,t){"function"!=typeof e&&(e=k.extend(e));return e.options[t]}(e,t);if(a)return Array.isArray(a)?a.map(function(e){return n(e,r,i,o)}):n(a,r,i,o)});return be(r?i.reverse():i)}function $e(e,t){if(t)return function(){return e.apply(t,arguments)}}xe.prototype.listen=function(e){this.cb=e},xe.prototype.onReady=function(e,t){this.ready?e():(this.readyCbs.push(e),t&&this.readyErrorCbs.push(t))},xe.prototype.onError=function(e){this.errorCbs.push(e)},xe.prototype.transitionTo=function(e,t,n){var r=this,i=this.router.match(e,this.current);this.confirmTransition(i,function(){r.updateRoute(i),t&&t(i),r.ensureURL(),r.ready||(r.ready=!0,r.readyCbs.forEach(function(e){e(i)}))},function(e){n&&n(e),e&&!r.ready&&(r.ready=!0,r.readyErrorCbs.forEach(function(t){t(e)}))})},xe.prototype.confirmTransition=function(e,t,n){var r=this,i=this.current,s=function(e){a(e)&&(r.errorCbs.length?r.errorCbs.forEach(function(t){t(e)}):(o(),console.error(e))),n&&n(e)};if(w(e,i)&&e.matched.length===i.matched.length)return this.ensureURL(),s();var u=function(e,t){var n,r=Math.max(e.length,t.length);for(n=0;n=0?t.slice(0,n):t)+"#"+e}function De(e){ce?he(Ee(e)):window.location.hash=e}function Le(e){ce?ve(Ee(e)):window.location.replace(Ee(e))}var je=function(e){function t(t,n){e.call(this,t,n),this.stack=[],this.index=-1}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.push=function(e,t,n){var r=this;this.transitionTo(e,function(e){r.stack=r.stack.slice(0,r.index+1).concat(e),r.index++,t&&t(e)},n)},t.prototype.replace=function(e,t,n){var r=this;this.transitionTo(e,function(e){r.stack=r.stack.slice(0,r.index).concat(e),t&&t(e)},n)},t.prototype.go=function(e){var t=this,n=this.index+e;if(!(n<0||n>=this.stack.length)){var r=this.stack[n];this.confirmTransition(r,function(){t.index=n,t.updateRoute(r)})}},t.prototype.getCurrentLocation=function(){var e=this.stack[this.stack.length-1];return e?e.fullPath:"/"},t.prototype.ensureURL=function(){},t}(xe),Me=function(e){void 0===e&&(e={}),this.app=null,this.apps=[],this.options=e,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=J(e.routes||[],this);var t=e.mode||"hash";switch(this.fallback="history"===t&&!ce&&!1!==e.fallback,this.fallback&&(t="hash"),S||(t="abstract"),this.mode=t,t){case"history":this.history=new Ce(this,e.base);break;case"hash":this.history=new Te(this,e.base,this.fallback);break;case"abstract":this.history=new je(this,e.base);break;default:0}},Ne={currentRoute:{configurable:!0}};function Ie(e,t){return e.push(t),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}Me.prototype.match=function(e,t,n){return this.matcher.match(e,t,n)},Ne.currentRoute.get=function(){return this.history&&this.history.current},Me.prototype.init=function(e){var t=this;if(this.apps.push(e),!this.app){this.app=e;var n=this.history;if(n instanceof Ce)n.transitionTo(n.getCurrentLocation());else if(n instanceof Te){var r=function(){n.setupListeners()};n.transitionTo(n.getCurrentLocation(),r,r)}n.listen(function(e){t.apps.forEach(function(t){t._route=e})})}},Me.prototype.beforeEach=function(e){return Ie(this.beforeHooks,e)},Me.prototype.beforeResolve=function(e){return Ie(this.resolveHooks,e)},Me.prototype.afterEach=function(e){return Ie(this.afterHooks,e)},Me.prototype.onReady=function(e,t){this.history.onReady(e,t)},Me.prototype.onError=function(e){this.history.onError(e)},Me.prototype.push=function(e,t,n){this.history.push(e,t,n)},Me.prototype.replace=function(e,t,n){this.history.replace(e,t,n)},Me.prototype.go=function(e){this.history.go(e)},Me.prototype.back=function(){this.go(-1)},Me.prototype.forward=function(){this.go(1)},Me.prototype.getMatchedComponents=function(e){var t=e?e.matched?e:this.resolve(e).route:this.currentRoute;return t?[].concat.apply([],t.matched.map(function(e){return Object.keys(e.components).map(function(t){return e.components[t]})})):[]},Me.prototype.resolve=function(e,t,n){var r=X(e,t||this.history.current,n,this),i=this.match(r,t),o=i.redirectedFrom||i.fullPath;return{location:r,route:i,href:function(e,t,n){var r="hash"===n?"#"+t:t;return e?D(e+"/"+r):r}(this.history.base,o,this.mode),normalizedTo:r,resolved:i}},Me.prototype.addRoutes=function(e){this.matcher.addRoutes(e),this.history.current!==b&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(Me.prototype,Ne),Me.install=A,Me.version="3.0.2",S&&window.Vue&&window.Vue.use(Me);var Re=Me,Pe=n(25),Fe=n.n(Pe),ze=n(54),Ue=n.n(ze),He=n(57),qe=n.n(He),Be=n(60),Ye=n.n(Be);i.a.use(Re);var Ve=new Re({mode:"hash",routes:[{path:"/",component:Fe.a,name:"dashboard"},{path:"/create",component:Ue.a,name:"create"},{path:"/rename/:patternName",component:qe.a,name:"rename",props:!0},{path:"/preview/:patternName",component:Ye.a,name:"preview",props:!0}]});var We="undefined"!=typeof window&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function Ze(e,t){Object.keys(e).forEach(function(n){return t(e[n],n)})}var Ke=function(e,t){this.runtime=t,this._children=Object.create(null),this._rawModule=e;var n=e.state;this.state=("function"==typeof n?n():n)||{}},Ge={namespaced:{configurable:!0}};Ge.namespaced.get=function(){return!!this._rawModule.namespaced},Ke.prototype.addChild=function(e,t){this._children[e]=t},Ke.prototype.removeChild=function(e){delete this._children[e]},Ke.prototype.getChild=function(e){return this._children[e]},Ke.prototype.update=function(e){this._rawModule.namespaced=e.namespaced,e.actions&&(this._rawModule.actions=e.actions),e.mutations&&(this._rawModule.mutations=e.mutations),e.getters&&(this._rawModule.getters=e.getters)},Ke.prototype.forEachChild=function(e){Ze(this._children,e)},Ke.prototype.forEachGetter=function(e){this._rawModule.getters&&Ze(this._rawModule.getters,e)},Ke.prototype.forEachAction=function(e){this._rawModule.actions&&Ze(this._rawModule.actions,e)},Ke.prototype.forEachMutation=function(e){this._rawModule.mutations&&Ze(this._rawModule.mutations,e)},Object.defineProperties(Ke.prototype,Ge);var Xe=function(e){this.register([],e,!1)};Xe.prototype.get=function(e){return e.reduce(function(e,t){return e.getChild(t)},this.root)},Xe.prototype.getNamespace=function(e){var t=this.root;return e.reduce(function(e,n){return e+((t=t.getChild(n)).namespaced?n+"/":"")},"")},Xe.prototype.update=function(e){!function e(t,n,r){0;n.update(r);if(r.modules)for(var i in r.modules){if(!n.getChild(i))return void 0;e(t.concat(i),n.getChild(i),r.modules[i])}}([],this.root,e)},Xe.prototype.register=function(e,t,n){var r=this;void 0===n&&(n=!0);var i=new Ke(t,n);0===e.length?this.root=i:this.get(e.slice(0,-1)).addChild(e[e.length-1],i);t.modules&&Ze(t.modules,function(t,i){r.register(e.concat(i),t,n)})},Xe.prototype.unregister=function(e){var t=this.get(e.slice(0,-1)),n=e[e.length-1];t.getChild(n).runtime&&t.removeChild(n)};var Je;var Qe=function(e){var t=this;void 0===e&&(e={}),!Je&&"undefined"!=typeof window&&window.Vue&&st(window.Vue);var n=e.plugins;void 0===n&&(n=[]);var r=e.strict;void 0===r&&(r=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new Xe(e),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new Je;var i=this,o=this.dispatch,a=this.commit;this.dispatch=function(e,t){return o.call(i,e,t)},this.commit=function(e,t,n){return a.call(i,e,t,n)},this.strict=r;var s=this._modules.root.state;it(this,s,[],this._modules.root),rt(this,s),n.forEach(function(e){return e(t)}),(void 0!==e.devtools?e.devtools:Je.config.devtools)&&function(e){We&&(e._devtoolHook=We,We.emit("vuex:init",e),We.on("vuex:travel-to-state",function(t){e.replaceState(t)}),e.subscribe(function(e,t){We.emit("vuex:mutation",e,t)}))}(this)},et={state:{configurable:!0}};function tt(e,t){return t.indexOf(e)<0&&t.push(e),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}function nt(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;it(e,n,[],e._modules.root,!0),rt(e,n,t)}function rt(e,t,n){var r=e._vm;e.getters={};var i={};Ze(e._wrappedGetters,function(t,n){i[n]=function(){return t(e)},Object.defineProperty(e.getters,n,{get:function(){return e._vm[n]},enumerable:!0})});var o=Je.config.silent;Je.config.silent=!0,e._vm=new Je({data:{$$state:t},computed:i}),Je.config.silent=o,e.strict&&function(e){e._vm.$watch(function(){return this._data.$$state},function(){0},{deep:!0,sync:!0})}(e),r&&(n&&e._withCommit(function(){r._data.$$state=null}),Je.nextTick(function(){return r.$destroy()}))}function it(e,t,n,r,i){var o=!n.length,a=e._modules.getNamespace(n);if(r.namespaced&&(e._modulesNamespaceMap[a]=r),!o&&!i){var s=ot(t,n.slice(0,-1)),u=n[n.length-1];e._withCommit(function(){Je.set(s,u,r.state)})}var c=r.context=function(e,t,n){var r=""===t,i={dispatch:r?e.dispatch:function(n,r,i){var o=at(n,r,i),a=o.payload,s=o.options,u=o.type;return s&&s.root||(u=t+u),e.dispatch(u,a)},commit:r?e.commit:function(n,r,i){var o=at(n,r,i),a=o.payload,s=o.options,u=o.type;s&&s.root||(u=t+u),e.commit(u,a,s)}};return Object.defineProperties(i,{getters:{get:r?function(){return e.getters}:function(){return function(e,t){var n={},r=t.length;return Object.keys(e.getters).forEach(function(i){if(i.slice(0,r)===t){var o=i.slice(r);Object.defineProperty(n,o,{get:function(){return e.getters[i]},enumerable:!0})}}),n}(e,t)}},state:{get:function(){return ot(e.state,n)}}}),i}(e,a,n);r.forEachMutation(function(t,n){!function(e,t,n,r){(e._mutations[t]||(e._mutations[t]=[])).push(function(t){n.call(e,r.state,t)})}(e,a+n,t,c)}),r.forEachAction(function(t,n){var r=t.root?n:a+n,i=t.handler||t;!function(e,t,n,r){(e._actions[t]||(e._actions[t]=[])).push(function(t,i){var o,a=n.call(e,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:e.getters,rootState:e.state},t,i);return(o=a)&&"function"==typeof o.then||(a=Promise.resolve(a)),e._devtoolHook?a.catch(function(t){throw e._devtoolHook.emit("vuex:error",t),t}):a})}(e,r,i,c)}),r.forEachGetter(function(t,n){!function(e,t,n,r){if(e._wrappedGetters[t])return void 0;e._wrappedGetters[t]=function(e){return n(r.state,r.getters,e.state,e.getters)}}(e,a+n,t,c)}),r.forEachChild(function(r,o){it(e,t,n.concat(o),r,i)})}function ot(e,t){return t.length?t.reduce(function(e,t){return e[t]},e):e}function at(e,t,n){var r;return null!==(r=e)&&"object"==typeof r&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}function st(e){Je&&e===Je||function(e){if(Number(e.version.split(".")[0])>=2)e.mixin({beforeCreate:n});else{var t=e.prototype._init;e.prototype._init=function(e){void 0===e&&(e={}),e.init=e.init?[n].concat(e.init):n,t.call(this,e)}}function n(){var e=this.$options;e.store?this.$store="function"==typeof e.store?e.store():e.store:e.parent&&e.parent.$store&&(this.$store=e.parent.$store)}}(Je=e)}et.state.get=function(){return this._vm._data.$$state},et.state.set=function(e){0},Qe.prototype.commit=function(e,t,n){var r=this,i=at(e,t,n),o=i.type,a=i.payload,s=(i.options,{type:o,payload:a}),u=this._mutations[o];u&&(this._withCommit(function(){u.forEach(function(e){e(a)})}),this._subscribers.forEach(function(e){return e(s,r.state)}))},Qe.prototype.dispatch=function(e,t){var n=this,r=at(e,t),i=r.type,o=r.payload,a={type:i,payload:o},s=this._actions[i];if(s){try{this._actionSubscribers.filter(function(e){return e.before}).forEach(function(e){return e.before(a,n.state)})}catch(e){0}return(s.length>1?Promise.all(s.map(function(e){return e(o)})):s[0](o)).then(function(e){try{n._actionSubscribers.filter(function(e){return e.after}).forEach(function(e){return e.after(a,n.state)})}catch(e){0}return e})}},Qe.prototype.subscribe=function(e){return tt(e,this._subscribers)},Qe.prototype.subscribeAction=function(e){return tt("function"==typeof e?{before:e}:e,this._actionSubscribers)},Qe.prototype.watch=function(e,t,n){var r=this;return this._watcherVM.$watch(function(){return e(r.state,r.getters)},t,n)},Qe.prototype.replaceState=function(e){var t=this;this._withCommit(function(){t._vm._data.$$state=e})},Qe.prototype.registerModule=function(e,t,n){void 0===n&&(n={}),"string"==typeof e&&(e=[e]),this._modules.register(e,t),it(this,this.state,e,this._modules.get(e),n.preserveState),rt(this,this.state)},Qe.prototype.unregisterModule=function(e){var t=this;"string"==typeof e&&(e=[e]),this._modules.unregister(e),this._withCommit(function(){var n=ot(t.state,e.slice(0,-1));Je.delete(n,e[e.length-1])}),nt(this)},Qe.prototype.hotUpdate=function(e){this._modules.update(e),nt(this,!0)},Qe.prototype._withCommit=function(e){var t=this._committing;this._committing=!0,e(),this._committing=t},Object.defineProperties(Qe.prototype,et);var ut=dt(function(e,t){var n={};return pt(t).forEach(function(t){var r=t.key,i=t.val;n[r]=function(){var t=this.$store.state,n=this.$store.getters;if(e){var r=ht(this.$store,"mapState",e);if(!r)return;t=r.context.state,n=r.context.getters}return"function"==typeof i?i.call(this,t,n):t[i]},n[r].vuex=!0}),n}),ct=dt(function(e,t){var n={};return pt(t).forEach(function(t){var r=t.key,i=t.val;n[r]=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];var r=this.$store.commit;if(e){var o=ht(this.$store,"mapMutations",e);if(!o)return;r=o.context.commit}return"function"==typeof i?i.apply(this,[r].concat(t)):r.apply(this.$store,[i].concat(t))}}),n}),lt=dt(function(e,t){var n={};return pt(t).forEach(function(t){var r=t.key,i=t.val;i=e+i,n[r]=function(){if(!e||ht(this.$store,"mapGetters",e))return this.$store.getters[i]},n[r].vuex=!0}),n}),ft=dt(function(e,t){var n={};return pt(t).forEach(function(t){var r=t.key,i=t.val;n[r]=function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];var r=this.$store.dispatch;if(e){var o=ht(this.$store,"mapActions",e);if(!o)return;r=o.context.dispatch}return"function"==typeof i?i.apply(this,[r].concat(t)):r.apply(this.$store,[i].concat(t))}}),n});function pt(e){return Array.isArray(e)?e.map(function(e){return{key:e,val:e}}):Object.keys(e).map(function(t){return{key:t,val:e[t]}})}function dt(e){return function(t,n){return"string"!=typeof t?(n=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),e(t,n)}}function ht(e,t,n){return e._modulesNamespaceMap[n]}var vt={Store:Qe,install:st,version:"3.1.0",mapState:ut,mapMutations:ct,mapGetters:lt,mapActions:ft,createNamespacedHelpers:function(e){return{mapState:ut.bind(null,e),mapGetters:lt.bind(null,e),mapMutations:ct.bind(null,e),mapActions:ft.bind(null,e)}}},mt=n(11),gt=n(2),yt=n.n(gt),bt=n(3),_t=n(4),wt=this;function xt(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){return function r(i,o){try{var a=t[i](o),s=a.value}catch(e){return void n(e)}if(!a.done)return Promise.resolve(s).then(function(e){r("next",e)},function(e){r("throw",e)});e(s)}("next")})}}var kt={fetchAppInfo:function(){var e=xt(yt.a.mark(function e(t){var n,r=t.commit;return yt.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,bt.a.get("info");case 3:n=e.sent,r("appInfo",n.data),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),_t.a.error(e.t0);case 10:case"end":return e.stop()}},e,wt,[[0,7]])}));return function(t){return e.apply(this,arguments)}}(),fetchResources:function(){var e=xt(yt.a.mark(function e(){var t;return yt.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,bt.a.get("resources");case 3:t=e.sent,this.commit("headResources",t.data.data.head),this.commit("bodyResources",t.data.data.body),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(0),_t.a.error(e.t0);case 11:case"end":return e.stop()}},e,this,[[0,8]])}));return function(){return e.apply(this,arguments)}}(),toggleDropdown:function(e,t){var n=e.commit;e.state.activeDropdown!==t?n("toggleDropdown",t):n("resetDropdown")},resetDropdowns:function(e){var t=e.commit;""!==e.state.activeDropdown&&t("resetDropdown")},resetMenu:function(e){var t=e.commit;""!==e.state.navi.activeMain&&t("resetMenu")},openKeyMap:function(e){var t=e.commit;!1===e.state.showKeyMap&&t("toggleKeyMap")},closeKeyMap:function(e){var t=e.commit;!0===e.state.showKeyMap&&t("toggleKeyMap")},openGlobalResources:function(e){var t=e.commit;!1===e.state.showResources&&t("toggleResources")},closeGloablResources:function(e){var t=e.commit;!0===e.state.showResources&&t("toggleResources")}};i.a.use(vt);var $t=new vt.Store({strict:"production"!==mt.a.environment,state:{config:mt.a,appInfo:{},navi:{activeMain:"",activeSub:"",reload:!1},showKeyMap:!1,activeDropdown:"",showResources:!1,resources:{head:"",body:""}},getters:{appName:function(e){return e.appInfo.appName},currentBranch:function(e){return e.appInfo.currentBranch},reloadNavi:function(e){return!0===e.navi.reload},isActiveMainMenu:function(e){return function(t){return e.navi.activeMain===t}},isActiveSubmenu:function(e){return function(t){return e.navi.activeSub.includes(t)}},showKeyMap:function(e){return e.showKeyMap},showResources:function(e){return e.showResources},activeDropdown:function(e){return e.activeDropdown},headResources:function(e){return e.resources.head},bodyResources:function(e){return e.resources.body}},mutations:{appInfo:function(e,t){e.appInfo=t.data},toggleMainMenu:function(e,t){e.navi.activeMain=t,e.navi.activeSub=""},toggleSubMenu:function(e,t){e.navi.activeSub=t},resetMenu:function(e){e.navi.activeMain=""},resetSubMenu:function(e){e.navi.activeSub=""},reloadNavi:function(e,t){e.navi.reload=t},toggleKeyMap:function(e){e.showKeyMap=!e.showKeyMap},toggleResources:function(e){e.showResources=!e.showResources},toggleDropdown:function(e,t){e.activeDropdown=t},resetDropdown:function(e){e.activeDropdown=""},headResources:function(e,t){e.resources.head=t},bodyResources:function(e,t){e.resources.body=t}},actions:kt}),Ct=function(e){return Xt(["text","password","search","email","tel","url","textarea","number"],e.type)},Ot=function(e){return Xt(["radio","checkbox"],e.type)},Tt=function(e,t){return e.getAttribute("data-vv-"+t)},At=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return e.every(function(e){return null===e||void 0===e})},St=function(e,t){if(e instanceof RegExp&&t instanceof RegExp)return St(e.source,t.source)&&St(e.flags,t.flags);if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;for(var n=0;n0;)t[n]=arguments[n+1];if(Pt(Object.assign))return Object.assign.apply(Object,[e].concat(t));if(null==e)throw new TypeError("Cannot convert undefined or null to object");var r=Object(e);return t.forEach(function(e){null!=e&&Object.keys(e).forEach(function(t){r[t]=e[t]})}),r},qt=0,Bt="{id}",Yt=function(e,t){for(var n=Array.isArray(e)?e:Ut(e),r=0;r=0&&e.maxLength<524288&&(t=jt("max:"+e.maxLength,t)),e.minLength>0&&(t=jt("min:"+e.minLength,t)),"number"===e.type&&(t=jt("decimal",t),""!==e.min&&(t=jt("min_value:"+e.min,t)),""!==e.max&&(t=jt("max_value:"+e.max,t))),t;if(function(e){return Xt(["date","week","month","datetime-local","time"],e.type)}(e)){var n=e.step&&Number(e.step)<60?"HH:mm:ss":"HH:mm";if("date"===e.type)return jt("date_format:YYYY-MM-DD",t);if("datetime-local"===e.type)return jt("date_format:YYYY-MM-DDT"+n,t);if("month"===e.type)return jt("date_format:YYYY-MM",t);if("week"===e.type)return jt("date_format:YYYY-[W]WW",t);if("time"===e.type)return jt("date_format:"+n,t)}return t},Gt=function(e){return Pt(Object.values)?Object.values(e):Object.keys(e).map(function(t){return e[t]})},Xt=function(e,t){return-1!==e.indexOf(t)},Jt=function(e){return Array.isArray(e)&&0===e.length},Qt="en",en=function(e){void 0===e&&(e={}),this.container={},this.merge(e)},tn={locale:{configurable:!0}};tn.locale.get=function(){return Qt},tn.locale.set=function(e){Qt=e||"en"},en.prototype.hasLocale=function(e){return!!this.container[e]},en.prototype.setDateFormat=function(e,t){this.container[e]||(this.container[e]={}),this.container[e].dateFormat=t},en.prototype.getDateFormat=function(e){return this.container[e]&&this.container[e].dateFormat?this.container[e].dateFormat:null},en.prototype.getMessage=function(e,t,n){var r=null;return r=this.hasMessage(e,t)?this.container[e].messages[t]:this._getDefaultMessage(e),Pt(r)?r.apply(void 0,n):r},en.prototype.getFieldMessage=function(e,t,n,r){if(!this.hasLocale(e))return this.getMessage(e,n,r);var i=this.container[e].custom&&this.container[e].custom[t];if(!i||!i[n])return this.getMessage(e,n,r);var o=i[n];return Pt(o)?o.apply(void 0,r):o},en.prototype._getDefaultMessage=function(e){return this.hasMessage(e,"_default")?this.container[e].messages._default:this.container.en.messages._default},en.prototype.getAttribute=function(e,t,n){return void 0===n&&(n=""),this.hasAttribute(e,t)?this.container[e].attributes[t]:n},en.prototype.hasMessage=function(e,t){return!!(this.hasLocale(e)&&this.container[e].messages&&this.container[e].messages[t])},en.prototype.hasAttribute=function(e,t){return!!(this.hasLocale(e)&&this.container[e].attributes&&this.container[e].attributes[t])},en.prototype.merge=function(e){Zt(this.container,e)},en.prototype.setMessage=function(e,t,n){this.hasLocale(e)||(this.container[e]={messages:{},attributes:{}}),this.container[e].messages[t]=n},en.prototype.setAttribute=function(e,t,n){this.hasLocale(e)||(this.container[e]={messages:{},attributes:{}}),this.container[e].attributes[t]=n},Object.defineProperties(en.prototype,tn);var nn={default:new en({en:{messages:{},attributes:{},custom:{}}})},rn="default",on=function(){};on._checkDriverName=function(e){if(!e)throw It("you must provide a name to the dictionary driver")},on.setDriver=function(e,t){void 0===t&&(t=null),this._checkDriverName(e),t&&(nn[e]=t),rn=e},on.getDriver=function(){return nn[rn]};var an=function e(t,n){void 0===t&&(t=null),void 0===n&&(n=null),this.vmId=n||null,this.items=t&&t instanceof e?t.items:[]};function sn(e){return e.data?e.data.model?e.data.model:!!e.data.directives&&Yt(e.data.directives,function(e){return"model"===e.name}):null}function un(e){return sn(e)?[e]:function(e){return Array.isArray(e)?e:Array.isArray(e.children)?e.children:e.componentOptions&&Array.isArray(e.componentOptions.children)?e.componentOptions.children:[]}(e).reduce(function(e,t){var n=un(t);return n.length&&e.push.apply(e,n),e},[])}function cn(e){return e.componentOptions?e.componentOptions.Ctor.options.model:null}function ln(e,t,n){if(Pt(e[t])){var r=e[t];e[t]=[r]}Array.isArray(e[t])?e[t].push(n):At(e[t])&&(e[t]=[n])}function fn(e,t,n){e.componentOptions&&function(e,t,n){e.componentOptions.listeners||(e.componentOptions.listeners={}),ln(e.componentOptions.listeners,t,n)}(e,t,n),function(e,t,n){At(e.data.on)&&(e.data.on={}),ln(e.data.on,t,n)}(e,t,n)}function pn(e,t){return e.componentOptions?(cn(e)||{event:"input"}).event:t&&t.modifiers&&t.modifiers.lazy?"change":e.data.attrs&&Ct({type:e.data.attrs.type||"text"})?"input":"change"}function dn(e,t){return Array.isArray(t)&&1===t.length?t[0]:t}an.prototype["function"==typeof Symbol?Symbol.iterator:"@@iterator"]=function(){var e=this,t=0;return{next:function(){return{value:e.items[t++],done:t>e.items.length}}}},an.prototype.add=function(e){var t;(t=this.items).push.apply(t,this._normalizeError(e))},an.prototype._normalizeError=function(e){var t=this;return Array.isArray(e)?e.map(function(e){return e.scope=At(e.scope)?null:e.scope,e.vmId=At(e.vmId)?t.vmId||null:e.vmId,e}):(e.scope=At(e.scope)?null:e.scope,e.vmId=At(e.vmId)?this.vmId||null:e.vmId,[e])},an.prototype.regenerate=function(){this.items.forEach(function(e){e.msg=Pt(e.regenerate)?e.regenerate():e.msg})},an.prototype.update=function(e,t){var n=Yt(this.items,function(t){return t.id===e});if(n){var r=this.items.indexOf(n);this.items.splice(r,1),n.scope=t.scope,this.items.push(n)}},an.prototype.all=function(e){var t=this;return this.items.filter(function(n){var r=!0,i=!0;return At(e)||(r=n.scope===e),At(t.vmId)||(i=n.vmId===t.vmId),i&&r}).map(function(e){return e.msg})},an.prototype.any=function(e){var t=this;return!!this.items.filter(function(n){var r=!0,i=!0;return At(e)||(r=n.scope===e),At(t.vmId)||(i=n.vmId===t.vmId),i&&r}).length},an.prototype.clear=function(e){var t=this,n=At(this.vmId)?function(){return!0}:function(e){return e.vmId===t.vmId};At(e)&&(e=null);for(var r=0;r=9999&&(qt=0,Bt=Bt.replace("{id}","_{id}")),qt++,Bt.replace("{id}",String(qt))),this.el=e.el,this.updated=!1,this.dependencies=[],this.vmId=e.vmId,this.watchers=[],this.events=[],this.delay=0,this.rules={},this.forceRequired=!1,this._cacheId(e),this.classNames=Ht({},xn.classNames),e=Ht({},xn,e),this._delay=At(e.delay)?0:e.delay,this.validity=e.validity,this.aria=e.aria,this.flags=e.flags||{untouched:!0,touched:!1,dirty:!1,pristine:!0,valid:null,invalid:null,validated:!1,pending:!1,required:!1,changed:!1},this.vm=e.vm,this.componentInstance=e.component,this.ctorConfig=this.componentInstance?Dt("$options.$_veeValidate",this.componentInstance):void 0,this.update(e),this.initialValue=this.value,this.updated=!1},$n={validator:{configurable:!0},isRequired:{configurable:!0},isDisabled:{configurable:!0},alias:{configurable:!0},value:{configurable:!0},bails:{configurable:!0},rejectsFalse:{configurable:!0}};$n.validator.get=function(){return this.vm&&this.vm.$validator?this.vm.$validator:{validate:function(){}}},$n.isRequired.get=function(){return!!this.rules.required||this.forceRequired},$n.isDisabled.get=function(){return!(!this.componentInstance||!this.componentInstance.disabled)||!(!this.el||!this.el.disabled)},$n.alias.get=function(){if(this._alias)return this._alias;var e=null;return this.ctorConfig&&this.ctorConfig.alias&&(e=Pt(this.ctorConfig.alias)?this.ctorConfig.alias.call(this.componentInstance):this.ctorConfig.alias),!e&&this.el&&(e=Tt(this.el,"as")),!e&&this.componentInstance?this.componentInstance.$attrs&&this.componentInstance.$attrs["data-vv-as"]:e},$n.value.get=function(){if(Pt(this.getter))return this.getter()},$n.bails.get=function(){return this._bails},$n.rejectsFalse.get=function(){return this.componentInstance&&this.ctorConfig?!!this.ctorConfig.rejectsFalse:!!this.el&&"checkbox"===this.el.type},kn.prototype.matches=function(e){var t=this;return!e||(e.id?this.id===e.id:!!(At(e.vmId)?function(){return!0}:function(e){return e===t.vmId})(e.vmId)&&(void 0===e.name&&void 0===e.scope||(void 0===e.scope?this.name===e.name:void 0===e.name?this.scope===e.scope:e.name===this.name&&e.scope===this.scope)))},kn.prototype._cacheId=function(e){this.el&&!e.targetOf&&(this.el._veeValidateId=this.id)},kn.prototype.waitFor=function(e){this._waitingFor=e},kn.prototype.isWaitingFor=function(e){return this._waitingFor===e},kn.prototype.update=function(e){var t,n,r;this.targetOf=e.targetOf||null,this.immediate=e.immediate||this.immediate||!1,this.persist=e.persist||this.persist||!1,!At(e.scope)&&e.scope!==this.scope&&Pt(this.validator.update)&&this.validator.update(this.id,{scope:e.scope}),this.scope=At(e.scope)?At(this.scope)?null:this.scope:e.scope,this.name=(At(e.name)?e.name:String(e.name))||this.name||null,this.rules=void 0!==e.rules?Mt(e.rules):this.rules,this._bails=void 0!==e.bails?e.bails:this._bails,this.model=e.model||this.model,this.listen=void 0!==e.listen?e.listen:this.listen,this.classes=!(!e.classes&&!this.classes)&&!this.componentInstance,this.classNames=Rt(e.classNames)?Zt(this.classNames,e.classNames):this.classNames,this.getter=Pt(e.getter)?e.getter:this.getter,this._alias=e.alias||this._alias,this.events=e.events?bn(e.events):this.events,this.delay=(t=this.events,n=e.delay||this.delay,r=this._delay,"number"==typeof n?t.reduce(function(e,t){return e[t]=n,e},{}):t.reduce(function(e,t){return"object"==typeof n&&t in n?(e[t]=n[t],e):"number"==typeof r?(e[t]=r,e):(e[t]=r&&r[t]||0,e)},{})),this.updateDependencies(),this.addActionListeners(),void 0!==e.rules&&(this.flags.required=this.isRequired),this.flags.validated&&void 0!==e.rules&&this.updated&&this.validator.validate("#"+this.id),this.updated=!0,this.addValueListeners(),this.el&&(this.updateClasses(),this.updateAriaAttrs())},kn.prototype.reset=function(){var e=this;this._cancellationToken&&(this._cancellationToken.cancelled=!0,delete this._cancellationToken);var t={untouched:!0,touched:!1,dirty:!1,pristine:!0,valid:null,invalid:null,validated:!1,pending:!1,required:!1,changed:!1};Object.keys(this.flags).filter(function(e){return"required"!==e}).forEach(function(n){e.flags[n]=t[n]}),this.addValueListeners(),this.addActionListeners(),this.updateClasses(!0),this.updateAriaAttrs(),this.updateCustomValidity()},kn.prototype.setFlags=function(e){var t=this,n={pristine:"dirty",dirty:"pristine",valid:"invalid",invalid:"valid",touched:"untouched",untouched:"touched"};Object.keys(e).forEach(function(r){t.flags[r]=e[r],n[r]&&void 0===e[n[r]]&&(t.flags[n[r]]=!e[r])}),void 0===e.untouched&&void 0===e.touched&&void 0===e.dirty&&void 0===e.pristine||this.addActionListeners(),this.updateClasses(),this.updateAriaAttrs(),this.updateCustomValidity()},kn.prototype.updateDependencies=function(){var e=this;this.dependencies.forEach(function(e){return e.field.destroy()}),this.dependencies=[];var t=Object.keys(this.rules).reduce(function(t,n){return mn.isTargetRule(n)&&t.push({selector:e.rules[n][0],name:n}),t},[]);t.length&&this.vm&&this.vm.$el&&t.forEach(function(t){var n=t.selector,r=t.name,i=e.vm.$refs[n],o=Array.isArray(i)?i[0]:i;if(o){var a={vm:e.vm,classes:e.classes,classNames:e.classNames,delay:e.delay,scope:e.scope,events:e.events.join("|"),immediate:e.immediate,targetOf:e.id};Pt(o.$watch)?(a.component=o,a.el=o.$el,a.getter=hn.resolveGetter(o.$el,o.$vnode)):(a.el=o,a.getter=hn.resolveGetter(o,{})),e.dependencies.push({name:r,field:new kn(a)})}})},kn.prototype.unwatch=function(e){if(void 0===e&&(e=null),!e)return this.watchers.forEach(function(e){return e.unwatch()}),void(this.watchers=[]);this.watchers.filter(function(t){return e.test(t.tag)}).forEach(function(e){return e.unwatch()}),this.watchers=this.watchers.filter(function(t){return!e.test(t.tag)})},kn.prototype.updateClasses=function(e){var t=this;if(void 0===e&&(e=!1),this.classes&&!this.isDisabled){var n=function(n){zt(n,t.classNames.dirty,t.flags.dirty),zt(n,t.classNames.pristine,t.flags.pristine),zt(n,t.classNames.touched,t.flags.touched),zt(n,t.classNames.untouched,t.flags.untouched),e&&(zt(n,t.classNames.valid,!1),zt(n,t.classNames.invalid,!1)),!At(t.flags.valid)&&t.flags.validated&&zt(n,t.classNames.valid,t.flags.valid),!At(t.flags.invalid)&&t.flags.validated&&zt(n,t.classNames.invalid,t.flags.invalid)};if(Ot(this.el)){var r=document.querySelectorAll('input[name="'+this.el.name+'"]');Ut(r).forEach(n)}else n(this.el)}},kn.prototype.addActionListeners=function(){var e=this;if(this.unwatch(/class/),this.el){var t=function(){e.flags.touched=!0,e.flags.untouched=!1,e.classes&&(zt(e.el,e.classNames.touched,!0),zt(e.el,e.classNames.untouched,!1)),e.unwatch(/^class_blur$/)},n=Ct(this.el)?"input":"change",r=function(){e.flags.dirty=!0,e.flags.pristine=!1,e.classes&&(zt(e.el,e.classNames.pristine,!1),zt(e.el,e.classNames.dirty,!0)),e.unwatch(/^class_input$/)};if(this.componentInstance&&Pt(this.componentInstance.$once))return this.componentInstance.$once("input",r),this.componentInstance.$once("blur",t),this.watchers.push({tag:"class_input",unwatch:function(){e.componentInstance.$off("input",r)}}),void this.watchers.push({tag:"class_blur",unwatch:function(){e.componentInstance.$off("blur",t)}});if(this.el){wn(this.el,n,r);var i=Ot(this.el)?"change":"blur";wn(this.el,i,t),this.watchers.push({tag:"class_input",unwatch:function(){e.el.removeEventListener(n,r)}}),this.watchers.push({tag:"class_blur",unwatch:function(){e.el.removeEventListener(i,t)}})}}},kn.prototype.checkValueChanged=function(){return(null!==this.initialValue||""!==this.value||!Ct(this.el))&&this.value!==this.initialValue},kn.prototype._determineInputEvent=function(){return this.componentInstance?this.componentInstance.$options.model&&this.componentInstance.$options.model.event||"input":this.model&&this.model.lazy?"change":Ct(this.el)?"input":"change"},kn.prototype._determineEventList=function(e){var t=this;return!this.events.length||this.componentInstance||Ct(this.el)?[].concat(this.events).map(function(e){return"input"===e&&t.model&&t.model.lazy?"change":e}):this.events.map(function(t){return"input"===t?e:t})},kn.prototype.addValueListeners=function(){var e=this;if(this.unwatch(/^input_.+/),this.listen&&this.el){var t={cancelled:!1},n=this.targetOf?function(){e.flags.changed=e.checkValueChanged(),e.validator.validate("#"+e.targetOf)}:function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];(0===t.length||yn(t[0]))&&(t[0]=e.value),e.flags.changed=e.checkValueChanged(),e.validator.validate("#"+e.id,t[0])},r=this._determineInputEvent(),i=this._determineEventList(r);if(this.model&&Xt(i,r)){var o=null,a=this.model.expression;if(this.model.expression&&(o=this.vm,a=this.model.expression),!a&&this.componentInstance&&this.componentInstance.$options.model&&(o=this.componentInstance,a=this.componentInstance.$options.model.prop||"value"),o&&a){var s=Lt(n,this.delay[r],t),u=o.$watch(a,function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];e.flags.pending=!0,e._cancellationToken=t,s.apply(void 0,n)});this.watchers.push({tag:"input_model",unwatch:u}),i=i.filter(function(e){return e!==r})}}i.forEach(function(r){var i=Lt(n,e.delay[r],t),o=function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];e.flags.pending=!0,e._cancellationToken=t,i.apply(void 0,n)};e._addComponentEventListener(r,o),e._addHTMLEventListener(r,o)})}},kn.prototype._addComponentEventListener=function(e,t){var n=this;this.componentInstance&&(this.componentInstance.$on(e,t),this.watchers.push({tag:"input_vue",unwatch:function(){n.componentInstance.$off(e,t)}}))},kn.prototype._addHTMLEventListener=function(e,t){var n=this;if(this.el&&!this.componentInstance){var r=function(r){wn(r,e,t),n.watchers.push({tag:"input_native",unwatch:function(){r.removeEventListener(e,t)}})};if(r(this.el),Ot(this.el)){var i=document.querySelectorAll('input[name="'+this.el.name+'"]');Ut(i).forEach(function(e){e._veeValidateId&&e!==n.el||r(e)})}}},kn.prototype.updateAriaAttrs=function(){var e=this;if(this.aria&&this.el&&Pt(this.el.setAttribute)){var t=function(t){t.setAttribute("aria-required",e.isRequired?"true":"false"),t.setAttribute("aria-invalid",e.flags.invalid?"true":"false")};if(Ot(this.el)){var n=document.querySelectorAll('input[name="'+this.el.name+'"]');Ut(n).forEach(t)}else t(this.el)}},kn.prototype.updateCustomValidity=function(){this.validity&&this.el&&Pt(this.el.setCustomValidity)&&this.validator.errors&&this.el.setCustomValidity(this.flags.valid?"":this.validator.errors.firstById(this.id)||"")},kn.prototype.destroy=function(){this._cancellationToken&&(this._cancellationToken.cancelled=!0),this.unwatch(),this.dependencies.forEach(function(e){return e.field.destroy()}),this.dependencies=[]},Object.defineProperties(kn.prototype,$n);var Cn=function(e){void 0===e&&(e=[]),this.items=e||[]},On={length:{configurable:!0}};Cn.prototype["function"==typeof Symbol?Symbol.iterator:"@@iterator"]=function(){var e=this,t=0;return{next:function(){return{value:e.items[t++],done:t>e.items.length}}}},On.length.get=function(){return this.items.length},Cn.prototype.find=function(e){return Yt(this.items,function(t){return t.matches(e)})},Cn.prototype.filter=function(e){return Array.isArray(e)?this.items.filter(function(t){return e.some(function(e){return t.matches(e)})}):this.items.filter(function(t){return t.matches(e)})},Cn.prototype.map=function(e){return this.items.map(e)},Cn.prototype.remove=function(e){var t=null;if(!(t=e instanceof kn?e:this.find(e)))return null;var n=this.items.indexOf(t);return this.items.splice(n,1),t},Cn.prototype.push=function(e){if(!(e instanceof kn))throw It("FieldBag only accepts instances of Field that has an id defined.");if(!e.id)throw It("Field id must be defined.");if(this.find({id:e.id}))throw It("Field with id "+e.id+" is already added.");this.items.push(e)},Object.defineProperties(Cn.prototype,On);var Tn=function(e,t){this.id=t._uid,this._base=e,this._paused=!1,this.errors=new an(e.errors,this.id)},An={flags:{configurable:!0},rules:{configurable:!0},fields:{configurable:!0},dictionary:{configurable:!0},locale:{configurable:!0}};An.flags.get=function(){var e=this;return this._base.fields.items.filter(function(t){return t.vmId===e.id}).reduce(function(e,t){return t.scope&&(e["$"+t.scope]||(e["$"+t.scope]={}),e["$"+t.scope][t.name]=t.flags),e[t.name]=t.flags,e},{})},An.rules.get=function(){return this._base.rules},An.fields.get=function(){return new Cn(this._base.fields.filter({vmId:this.id}))},An.dictionary.get=function(){return this._base.dictionary},An.locale.get=function(){return this._base.locale},An.locale.set=function(e){this._base.locale=e},Tn.prototype.localize=function(){for(var e,t=[],n=arguments.length;n--;)t[n]=arguments[n];return(e=this._base).localize.apply(e,t)},Tn.prototype.update=function(){for(var e,t=[],n=arguments.length;n--;)t[n]=arguments[n];return(e=this._base).update.apply(e,t)},Tn.prototype.attach=function(e){var t=Ht({},e,{vmId:this.id});return this._base.attach(t)},Tn.prototype.pause=function(){this._paused=!0},Tn.prototype.resume=function(){this._paused=!1},Tn.prototype.remove=function(e){return this._base.remove(e)},Tn.prototype.detach=function(e,t){return this._base.detach(e,t,this.id)},Tn.prototype.extend=function(){for(var e,t=[],n=arguments.length;n--;)t[n]=arguments[n];return(e=this._base).extend.apply(e,t)},Tn.prototype.validate=function(e,t,n){return void 0===n&&(n={}),this._paused?Promise.resolve(!0):this._base.validate(e,t,Ht({},{vmId:this.id},n||{}))},Tn.prototype.validateAll=function(e,t){return void 0===t&&(t={}),this._paused?Promise.resolve(!0):this._base.validateAll(e,Ht({},{vmId:this.id},t||{}))},Tn.prototype.validateScopes=function(e){return void 0===e&&(e={}),this._paused?Promise.resolve(!0):this._base.validateScopes(Ht({},{vmId:this.id},e||{}))},Tn.prototype.destroy=function(){delete this.id,delete this._base},Tn.prototype.reset=function(e){return this._base.reset(Object.assign({},e||{},{vmId:this.id}))},Tn.prototype.flag=function(){for(var e,t=[],n=arguments.length;n--;)t[n]=arguments[n];return(e=this._base).flag.apply(e,t.concat([this.id]))},Object.defineProperties(Tn.prototype,An);var Sn={provide:function(){return this.$validator&&!Vt(this.$vnode)?{$validator:this.$validator}:{}},beforeCreate:function(){if(!Vt(this.$vnode)&&!1!==this.$options.$__veeInject){this.$parent||Gn.configure(this.$options.$_veeValidate||{});var e=Gn.resolveConfig(this);(!this.$parent||this.$options.$_veeValidate&&/new/.test(this.$options.$_veeValidate.validator))&&(this.$validator=new Tn(Gn._validator,this));var t,n=(t=this.$options.inject,!(!Rt(t)||!t.$validator));if(this.$validator||!e.inject||n||(this.$validator=new Tn(Gn._validator,this)),n||this.$validator){if(!n&&this.$validator)this.$options._base.util.defineReactive(this.$validator,"errors",this.$validator.errors);this.$options.computed||(this.$options.computed={}),this.$options.computed[e.errorBagName||"errors"]=function(){return this.$validator.errors},this.$options.computed[e.fieldsBagName||"fields"]=function(){return this.$validator.fields.items.reduce(function(e,t){return t.scope?(e["$"+t.scope]||(e["$"+t.scope]={}),e["$"+t.scope][t.name]=t.flags,e):(e[t.name]=t.flags,e)},{})}}}},beforeDestroy:function(){this.$validator&&this._uid===this.$validator.id&&this.$validator.errors.clear()}};function En(e,t){return t&&t.$validator?t.$validator.fields.find({id:e._veeValidateId}):null}var Dn={bind:function(e,t,n){var r=n.context.$validator;if(r){var i=hn.generate(e,t,n);r.attach(i)}},inserted:function(e,t,n){var r=En(e,n.context),i=hn.resolveScope(e,t,n);r&&i!==r.scope&&(r.update({scope:i}),r.updated=!1)},update:function(e,t,n){var r=En(e,n.context);if(!(!r||r.updated&&St(t.value,t.oldValue))){var i=hn.resolveScope(e,t,n),o=hn.resolveRules(e,t,n);r.update({scope:i,rules:o})}},unbind:function(e,t,n){var r=n.context,i=En(e,r);i&&r.$validator.detach(i)}},Ln=function(e,t){void 0===t&&(t={fastExit:!0}),this.errors=new an,this.fields=new Cn,this._createFields(e),this.paused=!1,this.fastExit=!!At(t&&t.fastExit)||t.fastExit},jn={rules:{configurable:!0},dictionary:{configurable:!0},flags:{configurable:!0},locale:{configurable:!0}},Mn={rules:{configurable:!0},dictionary:{configurable:!0},locale:{configurable:!0}};Mn.rules.get=function(){return mn.rules},jn.rules.get=function(){return mn.rules},jn.dictionary.get=function(){return Jn.i18nDriver},Mn.dictionary.get=function(){return Jn.i18nDriver},jn.flags.get=function(){return this.fields.items.reduce(function(e,t){var n;return t.scope?(e["$"+t.scope]=((n={})[t.name]=t.flags,n),e):(e[t.name]=t.flags,e)},{})},jn.locale.get=function(){return Ln.locale},jn.locale.set=function(e){Ln.locale=e},Mn.locale.get=function(){return Jn.i18nDriver.locale},Mn.locale.set=function(e){var t=e!==Jn.i18nDriver.locale;Jn.i18nDriver.locale=e,t&&Jn.instance&&Jn.instance._vm&&Jn.instance._vm.$emit("localeChanged")},Ln.create=function(e,t){return new Ln(e,t)},Ln.extend=function(e,t,n){void 0===n&&(n={}),Ln._guardExtend(e,t),Ln._merge(e,{validator:t,paramNames:n&&n.paramNames,options:Ht({},{hasTarget:!1,immediate:!0},n||{})})},Ln.remove=function(e){mn.remove(e)},Ln.isTargetRule=function(e){return mn.isTargetRule(e)},Ln.prototype.localize=function(e,t){Ln.localize(e,t)},Ln.localize=function(e,t){var n;if(Rt(e))Jn.i18nDriver.merge(e);else{if(t){var r=e||t.name;t=Ht({},t),Jn.i18nDriver.merge(((n={})[r]=t,n))}e&&(Ln.locale=e)}},Ln.prototype.attach=function(e){var t=this,n={name:e.name,scope:e.scope,persist:!0},r=e.persist?this.fields.find(n):null;r&&(e.flags=r.flags,r.destroy(),this.fields.remove(r));var i=e.initialValue,o=new kn(e);return this.fields.push(o),o.immediate?Jn.instance._vm.$nextTick(function(){return t.validate("#"+o.id,i||o.value,{vmId:e.vmId})}):this._validate(o,i||o.value,{initial:!0}).then(function(e){o.flags.valid=e.valid,o.flags.invalid=!e.valid}),o},Ln.prototype.flag=function(e,t,n){void 0===n&&(n=null);var r=this._resolveField(e,void 0,n);r&&t&&r.setFlags(t)},Ln.prototype.detach=function(e,t,n){var r=Pt(e.destroy)?e:this._resolveField(e,t,n);r&&(r.persist||(r.destroy(),this.errors.remove(r.name,r.scope,r.vmId),this.fields.remove(r)))},Ln.prototype.extend=function(e,t,n){void 0===n&&(n={}),Ln.extend(e,t,n)},Ln.prototype.reset=function(e){var t=this;return Jn.instance._vm.$nextTick().then(function(){return Jn.instance._vm.$nextTick()}).then(function(){t.fields.filter(e).forEach(function(n){n.waitFor(null),n.reset(),t.errors.remove(n.name,n.scope,e&&e.vmId)})})},Ln.prototype.update=function(e,t){var n=t.scope;this._resolveField("#"+e)&&this.errors.update(e,{scope:n})},Ln.prototype.remove=function(e){Ln.remove(e)},Ln.prototype.validate=function(e,t,n){var r=this;void 0===n&&(n={});var i=n.silent,o=n.vmId;if(this.paused)return Promise.resolve(!0);if(At(e))return this.validateScopes({silent:i,vmId:o});if("*"===e)return this.validateAll(void 0,{silent:i,vmId:o});if(/^(.+)\.\*$/.test(e)){var a=e.match(/^(.+)\.\*$/)[1];return this.validateAll(a)}var s=this._resolveField(e);if(!s)return this._handleFieldNotFound(name);i||(s.flags.pending=!0),void 0===t&&(t=s.value);var u=this._validate(s,t);return s.waitFor(u),u.then(function(e){return!i&&s.isWaitingFor(u)&&(s.waitFor(null),r._handleValidationResults([e],o)),e.valid})},Ln.prototype.pause=function(){return this.paused=!0,this},Ln.prototype.resume=function(){return this.paused=!1,this},Ln.prototype.validateAll=function(e,t){var n=this;void 0===t&&(t={});var r=t.silent,i=t.vmId;if(this.paused)return Promise.resolve(!0);var o=null,a=!1;return"string"==typeof e?o={scope:e,vmId:i}:Rt(e)?(o=Object.keys(e).map(function(e){return{name:e,vmId:i,scope:null}}),a=!0):o=Array.isArray(e)?e.map(function(e){return{name:e,vmId:i}}):{scope:null,vmId:i},Promise.all(this.fields.filter(o).map(function(t){return n._validate(t,a?e[t.name]:t.value)})).then(function(e){return r||n._handleValidationResults(e,i),e.every(function(e){return e.valid})})},Ln.prototype.validateScopes=function(e){var t=this;void 0===e&&(e={});var n=e.silent,r=e.vmId;return this.paused?Promise.resolve(!0):Promise.all(this.fields.filter({vmId:r}).map(function(e){return t._validate(e,e.value)})).then(function(e){return n||t._handleValidationResults(e,r),e.every(function(e){return e.valid})})},Ln.prototype.verify=function(e,t,n){void 0===n&&(n={});var r={name:n&&n.name||"{field}",rules:Mt(t),bails:Dt("bails",n,!0),forceRequired:!1,get isRequired(){return!!this.rules.required||this.forceRequired}},i=Object.keys(r.rules).filter(Ln.isTargetRule);return i.length&&n&&Rt(n.values)&&(r.dependencies=i.map(function(e){var t=r.rules[e][0];return{name:e,field:{value:n.values[t]}}})),this._validate(r,e).then(function(e){return{valid:e.valid,errors:e.errors.map(function(e){return e.msg})}})},Ln.prototype.destroy=function(){Jn.instance._vm.$off("localeChanged")},Ln.prototype._createFields=function(e){var t=this;e&&Object.keys(e).forEach(function(n){var r=Ht({},{name:n,rules:e[n]});t.attach(r)})},Ln.prototype._getDateFormat=function(e){var t=null;return e.date_format&&Array.isArray(e.date_format)&&(t=e.date_format[0]),t||Jn.i18nDriver.getDateFormat(this.locale)},Ln.prototype._formatErrorMessage=function(e,t,n,r){void 0===n&&(n={}),void 0===r&&(r=null);var i=this._getFieldDisplayName(e),o=this._getLocalizedParams(t,r);return Jn.i18nDriver.getFieldMessage(this.locale,e.name,t.name,[i,o,n])},Ln.prototype._convertParamObjectToArray=function(e,t){if(Array.isArray(e))return e;var n=mn.getParamNames(t);return n&&Rt(e)?n.reduce(function(t,n){return n in e&&t.push(e[n]),t},[]):e},Ln.prototype._getLocalizedParams=function(e,t){void 0===t&&(t=null);var n=this._convertParamObjectToArray(e.params,e.name);return e.options.hasTarget&&n&&n[0]?[t||Jn.i18nDriver.getAttribute(this.locale,n[0],n[0])].concat(n.slice(1)):n},Ln.prototype._getFieldDisplayName=function(e){return e.alias||Jn.i18nDriver.getAttribute(this.locale,e.name,e.name)},Ln.prototype._convertParamArrayToObj=function(e,t){var n=mn.getParamNames(t);if(!n)return e;if(Rt(e)){if(n.some(function(t){return-1!==Object.keys(e).indexOf(t)}))return e;e=[e]}return e.reduce(function(e,t,r){return e[n[r]]=t,e},{})},Ln.prototype._test=function(e,t,n){var r=this,i=mn.getValidatorMethod(n.name),o=Array.isArray(n.params)?Ut(n.params):n.params;o||(o=[]);var a=null;if(!i||"function"!=typeof i)return Promise.reject(It("No such validator '"+n.name+"' exists."));if(n.options.hasTarget&&e.dependencies){var s=Yt(e.dependencies,function(e){return e.name===n.name});s&&(a=s.field.alias,o=[s.field.value].concat(o.slice(1)))}else"required"===n.name&&e.rejectsFalse&&(o=o.length?o:[!0]);if(n.options.isDate){var u=this._getDateFormat(e.rules);"date_format"!==n.name&&o.push(u)}var c=i(t,this._convertParamArrayToObj(o,n.name));return Pt(c.then)?c.then(function(t){var i=!0,o={};return Array.isArray(t)?i=t.every(function(e){return Rt(e)?e.valid:e}):(i=Rt(t)?t.valid:t,o=t.data),{valid:i,data:c.data,errors:i?[]:[r._createFieldError(e,n,o,a)]}}):(Rt(c)||(c={valid:c,data:{}}),{valid:c.valid,data:c.data,errors:c.valid?[]:[this._createFieldError(e,n,c.data,a)]})},Ln._merge=function(e,t){var n=t.validator,r=t.options,i=t.paramNames,o=Pt(n)?n:n.validate;n.getMessage&&Jn.i18nDriver.setMessage(Ln.locale,e,n.getMessage),mn.add(e,{validate:o,options:r,paramNames:i})},Ln._guardExtend=function(e,t){if(!Pt(t)&&!Pt(t.validate))throw It("Extension Error: The validator '"+e+"' must be a function or have a 'validate' method.")},Ln.prototype._createFieldError=function(e,t,n,r){var i=this;return{id:e.id,vmId:e.vmId,field:e.name,msg:this._formatErrorMessage(e,t,n,r),rule:t.name,scope:e.scope,regenerate:function(){return i._formatErrorMessage(e,t,n,r)}}},Ln.prototype._resolveField=function(e,t,n){if("#"===e[0])return this.fields.find({id:e.slice(1)});if(!At(t))return this.fields.find({name:e,scope:t,vmId:n});if(Xt(e,".")){var r=e.split("."),i=r[0],o=r.slice(1),a=this.fields.find({name:o.join("."),scope:i,vmId:n});if(a)return a}return this.fields.find({name:e,scope:null,vmId:n})},Ln.prototype._handleFieldNotFound=function(e,t){var n=At(t)?e:(At(t)?"":t+".")+e;return Promise.reject(It('Validating a non-existent field: "'+n+'". Use "attach()" first.'))},Ln.prototype._handleValidationResults=function(e,t){var n=this,r=e.map(function(e){return{id:e.id}});this.errors.removeById(r.map(function(e){return e.id})),e.forEach(function(e){n.errors.remove(e.field,e.scope,t)});var i=e.reduce(function(e,t){return e.push.apply(e,t.errors),e},[]);this.errors.add(i),this.fields.filter(r).forEach(function(t){var n=Yt(e,function(e){return e.id===t.id});t.setFlags({pending:!1,valid:n.valid,validated:!0})})},Ln.prototype._shouldSkip=function(e,t){return!1!==e.bails&&(!!e.isDisabled||!e.isRequired&&(At(t)||""===t||Jt(t)))},Ln.prototype._shouldBail=function(e){return void 0!==e.bails?e.bails:this.fastExit},Ln.prototype._validate=function(e,t,n){var r=this;void 0===n&&(n={});var i=n.initial,o=Object.keys(e.rules).filter(mn.isRequireRule);if(e.forceRequired=!1,o.forEach(function(n){var i=mn.getOptions(n),o=r._test(e,t,{name:n,params:e.rules[n],options:i});if(Pt(o.then))throw It("Require rules cannot be async");if(!Rt(o))throw It("Require rules has to return an object (see docs)");!0===o.data.required&&(e.forceRequired=!0)}),this._shouldSkip(e,t))return Promise.resolve({valid:!0,id:e.id,field:e.name,scope:e.scope,errors:[]});var a=[],s=[],u=!1;return Object.keys(e.rules).filter(function(e){return!i||!mn.has(e)||mn.isImmediate(e)}).some(function(n){var i=mn.getOptions(n),o=r._test(e,t,{name:n,params:e.rules[n],options:i});return Pt(o.then)?a.push(o):!o.valid&&r._shouldBail(e)?(s.push.apply(s,o.errors),u=!0):a.push(new Promise(function(e){return e(o)})),u}),u?Promise.resolve({valid:!1,errors:s,id:e.id,field:e.name,scope:e.scope}):Promise.all(a).then(function(t){return t.reduce(function(e,t){var n;return t.valid||(n=e.errors).push.apply(n,t.errors),e.valid=e.valid&&t.valid,e},{valid:!0,errors:s,id:e.id,field:e.name,scope:e.scope})})},Object.defineProperties(Ln.prototype,jn),Object.defineProperties(Ln,Mn);var Nn=function(e,t){var n={pristine:function(e,t){return e&&t},dirty:function(e,t){return e||t},touched:function(e,t){return e||t},untouched:function(e,t){return e&&t},valid:function(e,t){return e&&t},invalid:function(e,t){return e||t},pending:function(e,t){return e||t},required:function(e,t){return e||t},validated:function(e,t){return e&&t}};return Object.keys(n).reduce(function(r,i){return r[i]=n[i](e[i],t[i]),r},{})},In=function(e,t){return void 0===t&&(t=!0),Object.keys(e).reduce(function(n,r){if(!n)return n=Ht({},e[r]);var i=0===r.indexOf("$");return t&&i?Nn(In(e[r]),n):!t&&i?n:n=Nn(n,e[r])},null)},Rn=null,Pn=0;function Fn(e){return{errors:e.messages,flags:e.flags,classes:e.classes,valid:e.isValid,reset:function(){return e.reset()},validate:function(){for(var t=[],n=arguments.length;n--;)t[n]=arguments[n];return e.validate.apply(e,t)},aria:{"aria-invalid":e.flags.invalid?"true":"false","aria-required":e.isRequired?"true":"false"}}}function zn(e){var t=this;this.initialized||(this.initialValue=e.value);var n=function(e,t){return!(e._ignoreImmediate||!e.immediate)||e.value!==t.value||!!e._needsValidation||!e.initialized&&void 0===t.value}(this,e);if(this._needsValidation=!1,this.value=e.value,this._ignoreImmediate=!0,n){this.validateSilent().then(this.immediate||this.flags.validated?this.applyResult:function(e){var n=e.valid;t.setFlags({valid:n,invalid:!n})})}}function Un(e){return{onInput:function(t){e.syncValue(t),e.setFlags({dirty:!0,pristine:!1})},onBlur:function(){e.setFlags({touched:!0,untouched:!1})},onValidate:Lt(function(){var t=e.validate();e._pendingValidation=t,t.then(function(n){t===e._pendingValidation&&(e.applyResult(n),e._pendingValidation=null)})},e.debounce)}}var Hn={$__veeInject:!1,inject:{$_veeObserver:{from:"$_veeObserver",default:function(){return this.$vnode.context.$_veeObserver||(this.$vnode.context.$_veeObserver={refs:{},$subscribe:function(e){this.refs[e.vid]=e},$unsubscribe:function(e){delete this.refs[e.vid]}}),this.$vnode.context.$_veeObserver}}},props:{vid:{type:[String,Number],default:function(){return++Pn}},name:{type:String,default:null},events:{type:[Array,String],default:function(){return["input"]}},rules:{type:[Object,String],default:null},immediate:{type:Boolean,default:!1},persist:{type:Boolean,default:!1},bails:{type:Boolean,default:function(){return Jn.config.fastExit}},debounce:{type:Number,default:function(){return Jn.config.delay||0}}},watch:{rules:{deep:!0,handler:function(){this._needsValidation=!0}}},data:function(){return{messages:[],value:void 0,initialized:!1,initialValue:void 0,flags:{untouched:!0,touched:!1,dirty:!1,pristine:!0,valid:null,invalid:null,validated:!1,pending:!1,required:!1,changed:!1},forceRequired:!1,id:null}},methods:{setFlags:function(e){var t=this;Object.keys(e).forEach(function(n){t.flags[n]=e[n]})},syncValue:function(e){var t=yn(e)?e.target.value:e;this.value=t,this.flags.changed=this.initialValue!==t},reset:function(){this.messages=[],this._pendingValidation=null,this.initialValue=this.value;var e={untouched:!0,touched:!1,dirty:!1,pristine:!0,valid:null,invalid:null,validated:!1,pending:!1,required:!1,changed:!1};this.setFlags(e)},validate:function(){for(var e=this,t=[],n=arguments.length;n--;)t[n]=arguments[n];return t[0]&&this.syncValue(t[0]),this.validateSilent().then(function(t){return e.applyResult(t),t})},validateSilent:function(){var e,t,n=this;return this.setFlags({pending:!0}),Rn.verify(this.value,this.rules,{name:this.name,values:(e=this,t=e.$_veeObserver.refs,e.fieldDeps.reduce(function(e,n){return t[n]?(e[n]=t[n].value,e):e},{})),bails:this.bails}).then(function(e){return n.setFlags({pending:!1}),e})},applyResult:function(e){var t=e.errors;this.messages=t,this.setFlags({valid:!t.length,changed:this.value!==this.initialValue,invalid:!!t.length,validated:!0})},registerField:function(){Rn||(Rn=Jn.instance._validator),function(e){At(e.id)&&e.id===e.vid&&(e.id=Pn,Pn++);var t=e.id,n=e.vid;t===n&&e.$_veeObserver.refs[t]||(t!==n&&e.$_veeObserver.refs[t]===e&&e.$_veeObserver.$unsubscribe(e),e.$_veeObserver.$subscribe(e),e.id=n)}(this)}},computed:{isValid:function(){return this.flags.valid},fieldDeps:function(){var e=this,t=Mt(this.rules),n=this.$_veeObserver.refs;return Object.keys(t).filter(mn.isTargetRule).map(function(r){var i=t[r][0],o="$__"+i;return Pt(e[o])||(e[o]=n[i].$watch("value",function(){e._needsValidation=!0,e.validate()})),i})},normalizedEvents:function(){var e=this;return bn(this.events).map(function(t){return"input"===t?e._inputEventName:t})},isRequired:function(){var e=Mt(this.rules),t=this.forceRequired;return!!e.required||t},classes:function(){var e=this,t=Jn.config.classNames;return Object.keys(this.flags).reduce(function(n,r){var i=t&&t[r]||r;return"invalid"===r?(n[i]=!!e.messages.length,n):"valid"===r?(n[i]=!e.messages.length,n):(i&&(n[i]=e.flags[r]),n)},{})}},render:function(e){var t=this;this.registerField();var n=Fn(this),r=this.$scopedSlots.default;if(!Pt(r))return dn(0,this.$slots.default);var i=r(n);return un(i).forEach(function(e){(function(e){var t=sn(e);this._inputEventName=this._inputEventName||pn(e,t),zn.call(this,t);var n=Un(this),r=n.onInput,i=n.onBlur,o=n.onValidate;fn(e,this._inputEventName,r),fn(e,"blur",i),this.normalizedEvents.forEach(function(t){fn(e,t,o)}),this.initialized=!0}).call(t,e)}),dn(0,i)},beforeDestroy:function(){this.$_veeObserver.$unsubscribe(this)}},qn={pristine:"every",dirty:"some",touched:"some",untouched:"every",valid:"every",invalid:"some",pending:"some",validated:"every"};var Bn={name:"ValidationObserver",provide:function(){return{$_veeObserver:this}},data:function(){return{refs:{}}},methods:{$subscribe:function(e){var t;this.refs=Object.assign({},this.refs,((t={})[e.vid]=e,t))},$unsubscribe:function(e){var t=e.vid;delete this.refs[t],this.refs=Object.assign({},this.refs)},validate:function(){return Promise.all(Gt(this.refs).map(function(e){return e.validate()})).then(function(e){return e.every(function(e){return e.valid})})},reset:function(){return Gt(this.refs).forEach(function(e){return e.reset()})}},computed:{ctx:function(){var e=this,t={errors:{},validate:function(){var t=e.validate();return{then:function(e){t.then(function(t){return t&&Pt(e)?Promise.resolve(e()):Promise.resolve(t)})}}},reset:function(){return e.reset()}};return Gt(this.refs).reduce(function(e,t){return Object.keys(qn).forEach(function(n){var r,i;n in e?e[n]=(r=e[n],i=t.flags[n],[r,i][qn[n]](function(e){return e})):e[n]=t.flags[n]}),e.errors[t.vid]=t.messages,e},t)}},render:function(e){var t=this.$scopedSlots.default;return Pt(t)?dn(0,t(this.ctx)):dn(0,this.$slots.default)}};var Yn=function(e){return Rt(e)?Object.keys(e).reduce(function(t,n){return t[n]=Yn(e[n]),t},{}):Pt(e)?e("{0}",["{1}","{2}","{3}"]):e},Vn=function(e,t){this.i18n=e,this.rootKey=t},Wn={locale:{configurable:!0}};Wn.locale.get=function(){return this.i18n.locale},Wn.locale.set=function(e){Nt("Cannot set locale from the validator when using vue-i18n, use i18n.locale setter instead")},Vn.prototype.getDateFormat=function(e){return this.i18n.getDateTimeFormat(e||this.locale)},Vn.prototype.setDateFormat=function(e,t){this.i18n.setDateTimeFormat(e||this.locale,t)},Vn.prototype.getMessage=function(e,t,n){var r=this.rootKey+".messages."+t;return this.i18n.te(r)?this.i18n.t(r,n):this.i18n.te(r,this.i18n.fallbackLocale)?this.i18n.t(r,this.i18n.fallbackLocale,n):this.i18n.t(this.rootKey+".messages._default",n)},Vn.prototype.getAttribute=function(e,t,n){void 0===n&&(n="");var r=this.rootKey+".attributes."+t;return this.i18n.te(r)?this.i18n.t(r):n},Vn.prototype.getFieldMessage=function(e,t,n,r){var i=this.rootKey+".custom."+t+"."+n;return this.i18n.te(i)?this.i18n.t(i,r):this.getMessage(e,n,r)},Vn.prototype.merge=function(e){var t=this;Object.keys(e).forEach(function(n){var r,i=Zt({},Dt(n+"."+t.rootKey,t.i18n.messages,{})),o=Zt(i,function(e){var t={};return e.messages&&(t.messages=Yn(e.messages)),e.custom&&(t.custom=Yn(e.custom)),e.attributes&&(t.attributes=e.attributes),At(e.dateFormat)||(t.dateFormat=e.dateFormat),t}(e[n]));t.i18n.mergeLocaleMessage(n,((r={})[t.rootKey]=o,r)),o.dateFormat&&t.i18n.setDateTimeFormat(n,o.dateFormat)})},Vn.prototype.setMessage=function(e,t,n){var r,i;this.merge(((i={})[e]={messages:(r={},r[t]=n,r)},i))},Vn.prototype.setAttribute=function(e,t,n){var r,i;this.merge(((i={})[e]={attributes:(r={},r[t]=n,r)},i))},Object.defineProperties(Vn.prototype,Wn);var Zn,Kn,Gn,Xn=Ht({},{locale:"en",delay:0,errorBagName:"errors",dictionary:null,fieldsBagName:"fields",classes:!1,classNames:null,events:"input",inject:!0,fastExit:!0,aria:!0,validity:!1,useConstraintAttrs:!0,i18n:null,i18nRootKey:"validation"}),Jn=function(e,t){this.configure(e),Gn=this,t&&(Zn=t),this._validator=new Ln(null,{fastExit:e&&e.fastExit}),this._initVM(this.config),this._initI18n(this.config)},Qn={i18nDriver:{configurable:!0},config:{configurable:!0}},er={instance:{configurable:!0},i18nDriver:{configurable:!0},config:{configurable:!0}};Jn.setI18nDriver=function(e,t){on.setDriver(e,t)},Jn.configure=function(e){Xn=Ht({},Xn,e)},Jn.use=function(e,t){return void 0===t&&(t={}),Pt(e)?Gn?void e({Validator:Ln,ErrorBag:an,Rules:Ln.rules},t):(Kn||(Kn=[]),void Kn.push({plugin:e,options:t})):Nt("The plugin must be a callable function")},Jn.install=function(e,t){Zn&&e===Zn||(Zn=e,Gn=new Jn(t),function(){try{var e=Object.defineProperty({},"passive",{get:function(){_n=!0}});window.addEventListener("testPassive",null,e),window.removeEventListener("testPassive",null,e)}catch(e){_n=!1}}(),Zn.mixin(Sn),Zn.directive("validate",Dn),Kn&&(Kn.forEach(function(e){var t=e.plugin,n=e.options;Jn.use(t,n)}),Kn=null))},er.instance.get=function(){return Gn},Qn.i18nDriver.get=function(){return on.getDriver()},er.i18nDriver.get=function(){return on.getDriver()},Qn.config.get=function(){return Xn},er.config.get=function(){return Xn},Jn.prototype._initVM=function(e){var t=this;this._vm=new Zn({data:function(){return{errors:t._validator.errors,fields:t._validator.fields}}})},Jn.prototype._initI18n=function(e){var t=this,n=e.dictionary,r=e.i18n,i=e.i18nRootKey,o=e.locale,a=function(){t._validator.errors.regenerate()};r?(Jn.setI18nDriver("i18n",new Vn(r,i)),r._vm.$watch("locale",a)):"undefined"!=typeof window&&this._vm.$on("localeChanged",a),n&&this.i18nDriver.merge(n),o&&!r&&this._validator.localize(o)},Jn.prototype.configure=function(e){Jn.configure(e)},Jn.prototype.resolveConfig=function(e){var t=Dt("$options.$_veeValidate",e,{});return Ht({},this.config,t)},Object.defineProperties(Jn.prototype,Qn),Object.defineProperties(Jn,er),Jn.version="2.1.7",Jn.mixin=Sn,Jn.directive=Dn,Jn.Validator=Ln,Jn.ErrorBag=an,Jn.mapFields=function(e){if(!e)return function(){return In(this.$validator.flags)};var t=function(e){return Array.isArray(e)?e.reduce(function(e,t){return Xt(t,".")?e[t.split(".")[1]]=t:e[t]=t,e},{}):e}(e);return Object.keys(t).reduce(function(e,n){var r=t[n];return e[n]=function(){if(this.$validator.flags[r])return this.$validator.flags[r];if("*"===t[n])return In(this.$validator.flags,!1);if(r.indexOf(".")<=0)return{};var e=r.split("."),i=e[0],o=e.slice(1);return i=this.$validator.flags["$"+i],"*"===(o=o.join("."))&&i?In(i):i&&i[o]?i[o]:{}},e},{})},Jn.ValidationProvider=Hn,Jn.ValidationObserver=Bn,Jn.withValidation=function(e,t){void 0===t&&(t=null);var n=Pt(e)?e.options:e;n.$__veeInject=!1;var r={name:(n.name||"AnonymousHoc")+"WithValidation",props:Ht({},Hn.props),data:Hn.data,computed:Ht({},Hn.computed),methods:Ht({},Hn.methods),$__veeInject:!1,beforeDestroy:Hn.beforeDestroy,inject:Hn.inject};t||(t=function(e){return e});var i=n.model&&n.model.event||"input";return r.render=function(e){var r;this.registerField();var o=Fn(this),a=Ht({},this.$listeners),s=sn(this.$vnode);this._inputEventName=this._inputEventName||pn(this.$vnode,s),zn.call(this,s);var u=Un(this),c=u.onInput,l=u.onBlur,f=u.onValidate;ln(a,i,c),ln(a,"blur",l),this.normalizedEvents.forEach(function(e,t){ln(a,e,f)});var p,d,h=(cn(this.$vnode)||{prop:"value"}).prop,v=Ht({},this.$attrs,((r={})[h]=s.value,r),t(o));return e(n,{attrs:this.$attrs,props:v,on:a},(p=this.$slots,d=this.$vnode.context,Object.keys(p).reduce(function(e,t){return p[t].forEach(function(e){e.context||(p[t].context=d,e.data||(e.data={}),e.data.slot=t)}),e.concat(p[t])},[])))},r};var tr,nr={name:"en",messages:{_default:function(e){return"The "+e+" value is not valid."},after:function(e,t){var n=t[0];return"The "+e+" must be after "+(t[1]?"or equal to ":"")+n+"."},alpha:function(e){return"The "+e+" field may only contain alphabetic characters."},alpha_dash:function(e){return"The "+e+" field may contain alpha-numeric characters as well as dashes and underscores."},alpha_num:function(e){return"The "+e+" field may only contain alpha-numeric characters."},alpha_spaces:function(e){return"The "+e+" field may only contain alphabetic characters as well as spaces."},before:function(e,t){var n=t[0];return"The "+e+" must be before "+(t[1]?"or equal to ":"")+n+"."},between:function(e,t){return"The "+e+" field must be between "+t[0]+" and "+t[1]+"."},confirmed:function(e){return"The "+e+" confirmation does not match."},credit_card:function(e){return"The "+e+" field is invalid."},date_between:function(e,t){return"The "+e+" must be between "+t[0]+" and "+t[1]+"."},date_format:function(e,t){return"The "+e+" must be in the format "+t[0]+"."},decimal:function(e,t){void 0===t&&(t=[]);var n=t[0];return void 0===n&&(n="*"),"The "+e+" field must be numeric and may contain "+(n&&"*"!==n?n:"")+" decimal points."},digits:function(e,t){return"The "+e+" field must be numeric and exactly contain "+t[0]+" digits."},dimensions:function(e,t){return"The "+e+" field must be "+t[0]+" pixels by "+t[1]+" pixels."},email:function(e){return"The "+e+" field must be a valid email."},excluded:function(e){return"The "+e+" field must be a valid value."},ext:function(e){return"The "+e+" field must be a valid file."},image:function(e){return"The "+e+" field must be an image."},included:function(e){return"The "+e+" field must be a valid value."},integer:function(e){return"The "+e+" field must be an integer."},ip:function(e){return"The "+e+" field must be a valid ip address."},length:function(e,t){var n=t[0],r=t[1];return r?"The "+e+" length must be between "+n+" and "+r+".":"The "+e+" length must be "+n+"."},max:function(e,t){return"The "+e+" field may not be greater than "+t[0]+" characters."},max_value:function(e,t){return"The "+e+" field must be "+t[0]+" or less."},mimes:function(e){return"The "+e+" field must have a valid file type."},min:function(e,t){return"The "+e+" field must be at least "+t[0]+" characters."},min_value:function(e,t){return"The "+e+" field must be "+t[0]+" or more."},numeric:function(e){return"The "+e+" field may only contain numeric characters."},regex:function(e){return"The "+e+" field format is invalid."},required:function(e){return"The "+e+" field is required."},required_if:function(e,t){return"The "+e+" field is required when the "+t[0]+" field has this value."},size:function(e,t){return"The "+e+" size must be less than "+function(e){var t=0==(e=1024*Number(e))?0:Math.floor(Math.log(e)/Math.log(1024));return 1*(e/Math.pow(1024,t)).toFixed(2)+" "+["Byte","KB","MB","GB","TB","PB","EB","ZB","YB"][t]}(t[0])+"."},url:function(e){return"The "+e+" field is not a valid URL."}},attributes:{}};"undefined"!=typeof VeeValidate&&VeeValidate.Validator.localize(((tr={})[nr.name]=nr,tr));var rr=36e5,ir=6e4,or=2,ar={dateTimeDelimeter:/[T ]/,plainTime:/:/,YY:/^(\d{2})$/,YYY:[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],YYYY:/^(\d{4})/,YYYYY:[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],MM:/^-(\d{2})$/,DDD:/^-?(\d{3})$/,MMDD:/^-?(\d{2})-?(\d{2})$/,Www:/^-?W(\d{2})$/,WwwD:/^-?W(\d{2})-?(\d{1})$/,HH:/^(\d{2}([.,]\d*)?)$/,HHMM:/^(\d{2}):?(\d{2}([.,]\d*)?)$/,HHMMSS:/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,timezone:/([Z+-].*)$/,timezoneZ:/^(Z)$/,timezoneHH:/^([+-])(\d{2})$/,timezoneHHMM:/^([+-])(\d{2}):?(\d{2})$/};function sr(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");if(null===e)return new Date(NaN);var n=t||{},r=void 0===n.additionalDigits?or:Number(n.additionalDigits);if(2!==r&&1!==r&&0!==r)throw new RangeError("additionalDigits must be 0, 1 or 2");if(e instanceof Date)return new Date(e.getTime());if("string"!=typeof e)return new Date(e);var i=function(e){var t,n={},r=e.split(ar.dateTimeDelimeter);ar.plainTime.test(r[0])?(n.date=null,t=r[0]):(n.date=r[0],t=r[1]);if(t){var i=ar.timezone.exec(t);i?(n.time=t.replace(i[1],""),n.timezone=i[1]):n.time=t}return n}(e),o=function(e,t){var n,r=ar.YYY[t],i=ar.YYYYY[t];if(n=ar.YYYY.exec(e)||i.exec(e)){var o=n[1];return{year:parseInt(o,10),restDateString:e.slice(o.length)}}if(n=ar.YY.exec(e)||r.exec(e)){var a=n[1];return{year:100*parseInt(a,10),restDateString:e.slice(a.length)}}return{year:null}}(i.date,r),a=o.year,s=function(e,t){if(null===t)return null;var n,r,i,o;if(0===e.length)return(r=new Date(0)).setUTCFullYear(t),r;if(n=ar.MM.exec(e))return r=new Date(0),i=parseInt(n[1],10)-1,r.setUTCFullYear(t,i),r;if(n=ar.DDD.exec(e)){r=new Date(0);var a=parseInt(n[1],10);return r.setUTCFullYear(t,0,a),r}if(n=ar.MMDD.exec(e)){r=new Date(0),i=parseInt(n[1],10)-1;var s=parseInt(n[2],10);return r.setUTCFullYear(t,i,s),r}if(n=ar.Www.exec(e))return o=parseInt(n[1],10)-1,ur(t,o);if(n=ar.WwwD.exec(e)){o=parseInt(n[1],10)-1;var u=parseInt(n[2],10)-1;return ur(t,o,u)}return null}(o.restDateString,a);if(s){var u,c=s.getTime(),l=0;return i.time&&(l=function(e){var t,n,r;if(t=ar.HH.exec(e))return(n=parseFloat(t[1].replace(",",".")))%24*rr;if(t=ar.HHMM.exec(e))return n=parseInt(t[1],10),r=parseFloat(t[2].replace(",",".")),n%24*rr+r*ir;if(t=ar.HHMMSS.exec(e)){n=parseInt(t[1],10),r=parseInt(t[2],10);var i=parseFloat(t[3].replace(",","."));return n%24*rr+r*ir+1e3*i}return null}(i.time)),i.timezone?u=function(e){var t,n;if(t=ar.timezoneZ.exec(e))return 0;if(t=ar.timezoneHH.exec(e))return n=60*parseInt(t[2],10),"+"===t[1]?-n:n;if(t=ar.timezoneHHMM.exec(e))return n=60*parseInt(t[2],10)+parseInt(t[3],10),"+"===t[1]?-n:n;return 0}(i.timezone):(u=new Date(c+l).getTimezoneOffset(),u=new Date(c+l+u*ir).getTimezoneOffset()),new Date(c+l+u*ir)}return new Date(e)}function ur(e,t,n){t=t||0,n=n||0;var r=new Date(0);r.setUTCFullYear(e,0,4);var i=7*t+n+1-(r.getUTCDay()||7);return r.setUTCDate(r.getUTCDate()+i),r}function cr(e){e=e||{};var t={};for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return t}var lr=6e4;function fr(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");return function(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var r=sr(e,n).getTime(),i=Number(t);return new Date(r+i)}(e,Number(t)*lr,n)}function pr(e,t){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");var n=sr(e,t);return!isNaN(n)}var dr={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};var hr=/MMMM|MM|DD|dddd/g;function vr(e){return e.replace(hr,function(e){return e.slice(1)})}var mr={lastWeek:"[last] dddd [at] LT",yesterday:"[yesterday at] LT",today:"[today at] LT",tomorrow:"[tomorrow at] LT",nextWeek:"dddd [at] LT",other:"L"};function gr(e,t,n){return function(r,i){var o=i||{},a=o.type?String(o.type):t;return(e[a]||e[t])[n?n(Number(r)):Number(r)]}}function yr(e,t){return function(n){var r=n||{},i=r.type?String(r.type):t;return e[i]||e[t]}}var br={narrow:["Su","Mo","Tu","We","Th","Fr","Sa"],short:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],long:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},_r={short:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],long:["January","February","March","April","May","June","July","August","September","October","November","December"]},wr={uppercase:["AM","PM"],lowercase:["am","pm"],long:["a.m.","p.m."]};function xr(e,t){return function(n,r){var i=r||{},o=i.type?String(i.type):t,a=e[o]||e[t];return String(n).match(a)}}function kr(e,t){return function(n,r){var i=r||{},o=i.type?String(i.type):t,a=e[o]||e[t],s=n[1];return a.findIndex(function(e){return e.test(s)})}}var $r,Cr={formatDistance:function(e,t,n){var r;return n=n||{},r="string"==typeof dr[e]?dr[e]:1===t?dr[e].one:dr[e].other.replace("{{count}}",t),n.addSuffix?n.comparison>0?"in "+r:r+" ago":r},formatLong:function(e){var t={LTS:e.LTS,LT:e.LT,L:e.L,LL:e.LL,LLL:e.LLL,LLLL:e.LLLL,l:e.l||vr(e.L),ll:e.ll||vr(e.LL),lll:e.lll||vr(e.LLL),llll:e.llll||vr(e.LLLL)};return function(e){return t[e]}}({LT:"h:mm aa",LTS:"h:mm:ss aa",L:"MM/DD/YYYY",LL:"MMMM D YYYY",LLL:"MMMM D YYYY h:mm aa",LLLL:"dddd, MMMM D YYYY h:mm aa"}),formatRelative:function(e,t,n,r){return mr[e]},localize:{ordinalNumber:function(e,t){var n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},weekday:gr(br,"long"),weekdays:yr(br,"long"),month:gr(_r,"long"),months:yr(_r,"long"),timeOfDay:gr(wr,"long",function(e){return e/12>=1?1:0}),timesOfDay:yr(wr,"long")},match:{ordinalNumbers:($r=/^(\d+)(th|st|nd|rd)?/i,function(e){return String(e).match($r)}),ordinalNumber:function(e){return parseInt(e[1],10)},weekdays:xr({narrow:/^(su|mo|tu|we|th|fr|sa)/i,short:/^(sun|mon|tue|wed|thu|fri|sat)/i,long:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},"long"),weekday:kr({any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},"any"),months:xr({short:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,long:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},"long"),month:kr({any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},"any"),timesOfDay:xr({short:/^(am|pm)/i,long:/^([ap]\.?\s?m\.?)/i},"long"),timeOfDay:kr({any:[/^a/i,/^p/i]},"any")},options:{weekStartsOn:0,firstWeekContainsDate:1}},Or=864e5;function Tr(e,t){var n=sr(e,t),r=n.getTime();n.setUTCMonth(0,1),n.setUTCHours(0,0,0,0);var i=r-n.getTime();return Math.floor(i/Or)+1}function Ar(e,t){var n=sr(e,t),r=n.getUTCDay(),i=(r<1?7:0)+r-1;return n.setUTCDate(n.getUTCDate()-i),n.setUTCHours(0,0,0,0),n}function Sr(e,t){var n=sr(e,t),r=n.getUTCFullYear(),i=new Date(0);i.setUTCFullYear(r+1,0,4),i.setUTCHours(0,0,0,0);var o=Ar(i,t),a=new Date(0);a.setUTCFullYear(r,0,4),a.setUTCHours(0,0,0,0);var s=Ar(a,t);return n.getTime()>=o.getTime()?r+1:n.getTime()>=s.getTime()?r:r-1}function Er(e,t){var n=Sr(e,t),r=new Date(0);return r.setUTCFullYear(n,0,4),r.setUTCHours(0,0,0,0),Ar(r,t)}var Dr=6048e5;function Lr(e,t){var n=sr(e,t),r=Ar(n,t).getTime()-Er(n,t).getTime();return Math.round(r/Dr)+1}var jr={M:function(e){return e.getUTCMonth()+1},Mo:function(e,t){var n=e.getUTCMonth()+1;return t.locale.localize.ordinalNumber(n,{unit:"month"})},MM:function(e){return Nr(e.getUTCMonth()+1,2)},MMM:function(e,t){return t.locale.localize.month(e.getUTCMonth(),{type:"short"})},MMMM:function(e,t){return t.locale.localize.month(e.getUTCMonth(),{type:"long"})},Q:function(e){return Math.ceil((e.getUTCMonth()+1)/3)},Qo:function(e,t){var n=Math.ceil((e.getUTCMonth()+1)/3);return t.locale.localize.ordinalNumber(n,{unit:"quarter"})},D:function(e){return e.getUTCDate()},Do:function(e,t){return t.locale.localize.ordinalNumber(e.getUTCDate(),{unit:"dayOfMonth"})},DD:function(e){return Nr(e.getUTCDate(),2)},DDD:function(e){return Tr(e)},DDDo:function(e,t){return t.locale.localize.ordinalNumber(Tr(e),{unit:"dayOfYear"})},DDDD:function(e){return Nr(Tr(e),3)},dd:function(e,t){return t.locale.localize.weekday(e.getUTCDay(),{type:"narrow"})},ddd:function(e,t){return t.locale.localize.weekday(e.getUTCDay(),{type:"short"})},dddd:function(e,t){return t.locale.localize.weekday(e.getUTCDay(),{type:"long"})},d:function(e){return e.getUTCDay()},do:function(e,t){return t.locale.localize.ordinalNumber(e.getUTCDay(),{unit:"dayOfWeek"})},E:function(e){return e.getUTCDay()||7},W:function(e){return Lr(e)},Wo:function(e,t){return t.locale.localize.ordinalNumber(Lr(e),{unit:"isoWeek"})},WW:function(e){return Nr(Lr(e),2)},YY:function(e){return Nr(e.getUTCFullYear(),4).substr(2)},YYYY:function(e){return Nr(e.getUTCFullYear(),4)},GG:function(e){return String(Sr(e)).substr(2)},GGGG:function(e){return Sr(e)},H:function(e){return e.getUTCHours()},HH:function(e){return Nr(e.getUTCHours(),2)},h:function(e){var t=e.getUTCHours();return 0===t?12:t>12?t%12:t},hh:function(e){return Nr(jr.h(e),2)},m:function(e){return e.getUTCMinutes()},mm:function(e){return Nr(e.getUTCMinutes(),2)},s:function(e){return e.getUTCSeconds()},ss:function(e){return Nr(e.getUTCSeconds(),2)},S:function(e){return Math.floor(e.getUTCMilliseconds()/100)},SS:function(e){return Nr(Math.floor(e.getUTCMilliseconds()/10),2)},SSS:function(e){return Nr(e.getUTCMilliseconds(),3)},Z:function(e,t){return Mr((t._originalDate||e).getTimezoneOffset(),":")},ZZ:function(e,t){return Mr((t._originalDate||e).getTimezoneOffset())},X:function(e,t){var n=t._originalDate||e;return Math.floor(n.getTime()/1e3)},x:function(e,t){return(t._originalDate||e).getTime()},A:function(e,t){return t.locale.localize.timeOfDay(e.getUTCHours(),{type:"uppercase"})},a:function(e,t){return t.locale.localize.timeOfDay(e.getUTCHours(),{type:"lowercase"})},aa:function(e,t){return t.locale.localize.timeOfDay(e.getUTCHours(),{type:"long"})}};function Mr(e,t){t=t||"";var n=e>0?"-":"+",r=Math.abs(e),i=r%60;return n+Nr(Math.floor(r/60),2)+t+Nr(i,2)}function Nr(e,t){for(var n=Math.abs(e).toString();n.lengthi.getTime()}function Ur(e,t,n){if(arguments.length<2)throw new TypeError("2 arguments required, but only "+arguments.length+" present");var r=sr(e,n),i=sr(t,n);return r.getTime()=0&&s<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var u=sr(e,n),c=Number(t),l=u.getUTCDay(),f=((c%7+7)%7=0&&a<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var s=o.locale||Cr,u=s.parsers||{},c=s.units||{};if(!s.match)throw new RangeError("locale must contain match property");if(!s.formatLong)throw new RangeError("locale must contain formatLong property");var l=String(t).replace(Gr,function(e){return"["===e[0]?e:"\\"===e[0]?function(e){if(e.match(/\[[\s\S]/))return e.replace(/^\[|]$/g,"");return e.replace(/\\/g,"")}(e):s.formatLong(e)});if(""===l)return""===i?sr(n,o):new Date(NaN);var f=cr(o);f.locale=s;var p,d=l.match(s.parsingTokensRegExp||Xr),h=d.length,v=[{priority:Zr,set:Qr,index:0}];for(p=0;p=e},mi={validate:vi,paramNames:["min","max"]},gi={validate:function(e,t){var n=t.targetValue;return String(e)===String(n)},options:{hasTarget:!0},paramNames:["targetValue"]};function yi(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function bi(e,t){return e(t={exports:{}},t.exports),t.exports}var _i=bi(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(e){if(!("string"==typeof e||e instanceof String)){var t=void 0;throw t=null===e?"null":"object"===(t=void 0===e?"undefined":n(e))&&e.constructor&&e.constructor.hasOwnProperty("name")?e.constructor.name:"a "+t,new TypeError("Expected string but received "+t+".")}},e.exports=t.default});yi(_i);var wi=yi(bi(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,r.default)(e);var t=e.replace(/[- ]+/g,"");if(!i.test(t))return!1;for(var n=0,o=void 0,a=void 0,s=void 0,u=t.length-1;u>=0;u--)o=t.substring(u,u+1),a=parseInt(o,10),n+=s&&(a*=2)>=10?a%10+1:a,s=!s;return!(n%10!=0||!t)};var n,r=(n=_i)&&n.__esModule?n:{default:n};var i=/^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|(222[1-9]|22[3-9][0-9]|2[3-6][0-9]{2}|27[01][0-9]|2720)[0-9]{12}|6(?:011|5[0-9][0-9])[0-9]{12}|3[47][0-9]{13}|3(?:0[0-5]|[68][0-9])[0-9]{11}|(?:2131|1800|35\d{3})\d{11}|6[27][0-9]{14})$/;e.exports=t.default})),xi={validate:function(e){return wi(String(e))}},ki={validate:function(e,t){void 0===t&&(t={});var n=t.min,r=t.max,i=t.inclusivity;void 0===i&&(i="()");var o=t.format;void 0===o&&(o=i,i="()");var a=ei(String(n),o),s=ei(String(r),o),u=ei(String(e),o);return!!(a&&s&&u)&&("()"===i?zr(u,a)&&Ur(u,s):"(]"===i?zr(u,a)&&(Hr(u,s)||Ur(u,s)):"[)"===i?Ur(u,s)&&(Hr(u,a)||zr(u,a)):Hr(u,s)||Hr(u,a)||Ur(u,s)&&zr(u,a))},options:{isDate:!0},paramNames:["min","max","inclusivity","format"]},$i={validate:function(e,t){return!!ei(e,t.format)},options:{isDate:!0},paramNames:["format"]},Ci=function(e,t){void 0===t&&(t={});var n=t.decimals;void 0===n&&(n="*");var r=t.separator;if(void 0===r&&(r="."),Array.isArray(e))return e.every(function(e){return Ci(e,{decimals:n,separator:r})});if(null===e||void 0===e||""===e)return!1;if(0===Number(n))return/^-?\d*$/.test(e);if(!new RegExp("^[-+]?\\d*(\\"+r+"\\d"+("*"===n?"+":"{1,"+n+"}")+")?$").test(e))return!1;var i=parseFloat(e);return i==i},Oi={validate:Ci,paramNames:["decimals","separator"]},Ti=function(e,t){var n=t[0];if(Array.isArray(e))return e.every(function(e){return Ti(e,[n])});var r=String(e);return/^[0-9]*$/.test(r)&&r.length===Number(n)},Ai={validate:Ti},Si={validate:function(e,t){for(var n=t[0],r=t[1],i=[],o=0;o0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];for(var n in t)void 0===e[n]&&(e[n]=t[n]);return e},e.exports=t.default});yi(Ei);var Di=bi(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(e,t){(0,i.default)(e);var r=void 0,o=void 0;"object"===(void 0===t?"undefined":n(t))?(r=t.min||0,o=t.max):(r=arguments[1],o=arguments[2]);var a=encodeURI(e).split(/%..|./).length-1;return a>=r&&(void 0===o||a<=o)};var r,i=(r=_i)&&r.__esModule?r:{default:r};e.exports=t.default});yi(Di);var Li=bi(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,n.default)(e),(t=(0,r.default)(t,o)).allow_trailing_dot&&"."===e[e.length-1]&&(e=e.substring(0,e.length-1));for(var i=e.split("."),a=0;a63)return!1;if(t.require_tld){var s=i.pop();if(!i.length||!/^([a-z\u00a1-\uffff]{2,}|xn[a-z0-9-]{2,})$/i.test(s))return!1;if(/[\s\u2002-\u200B\u202F\u205F\u3000\uFEFF\uDB40\uDC20]/.test(s))return!1}for(var u,c=0;c1&&void 0!==arguments[1]?arguments[1]:"";(0,r.default)(t);n=String(n);if(!n)return e(t,4)||e(t,6);if("4"===n){if(!i.test(t))return!1;var a=t.split(".").sort(function(e,t){return e-t});return a[3]<=255}if("6"===n){var s=t.split(":"),u=!1,c=e(s[s.length-1],4),l=c?7:8;if(s.length>l)return!1;if("::"===t)return!0;"::"===t.substr(0,2)?(s.shift(),s.shift(),u=!0):"::"===t.substr(t.length-2)&&(s.pop(),s.pop(),u=!0);for(var f=0;f0&&f=1:s.length===l}return!1};var n,r=(n=_i)&&n.__esModule?n:{default:n};var i=/^(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})$/,o=/^[0-9A-F]{1,4}$/i;e.exports=t.default}),Mi=yi(ji),Ni=yi(bi(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,n.default)(e),(t=(0,r.default)(t,u)).require_display_name||t.allow_display_name){var s=e.match(c);if(s)e=s[1];else if(t.require_display_name)return!1}var v=e.split("@"),m=v.pop(),g=v.join("@"),y=m.toLowerCase();if(t.domain_specific_validation&&("gmail.com"===y||"googlemail.com"===y)){var b=(g=g.toLowerCase()).split("+")[0];if(!(0,i.default)(b.replace(".",""),{min:6,max:30}))return!1;for(var _=b.split("."),w=0;w<_.length;w++)if(!f.test(_[w]))return!1}if(!(0,i.default)(g,{max:64})||!(0,i.default)(m,{max:254}))return!1;if(!(0,o.default)(m,{require_tld:t.require_tld})){if(!t.allow_ip_domain)return!1;if(!(0,a.default)(m)){if(!m.startsWith("[")||!m.endsWith("]"))return!1;var x=m.substr(1,m.length-2);if(0===x.length||!(0,a.default)(x))return!1}}if('"'===g[0])return g=g.slice(1,g.length-1),t.allow_utf8_local_part?h.test(g):p.test(g);for(var k=t.allow_utf8_local_part?d:l,$=g.split("."),C=0;C<$.length;C++)if(!k.test($[C]))return!1;return!0};var n=s(_i),r=s(Ei),i=s(Di),o=s(Li),a=s(ji);function s(e){return e&&e.__esModule?e:{default:e}}var u={allow_display_name:!1,require_display_name:!1,allow_utf8_local_part:!0,require_tld:!0},c=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\.\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\,\.\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF\s]*<(.+)>$/i,l=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~]+$/i,f=/^[a-z\d]+$/,p=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f]))*$/i,d=/^[a-z\d!#\$%&'\*\+\-\/=\?\^_`{\|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+$/i,h=/^([\s\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|(\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*$/i;e.exports=t.default})),Ii={validate:function(e,t){return void 0===t&&(t={}),t.multiple&&(e=e.split(",").map(function(e){return e.trim()})),Array.isArray(e)?e.every(function(e){return Ni(String(e),t)}):Ni(String(e),t)}},Ri=function(e,t){return Array.isArray(e)?e.every(function(e){return Ri(e,t)}):Ut(t).some(function(t){return t==e})},Pi={validate:Ri},Fi={validate:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return!Ri.apply(void 0,e)}},zi={validate:function(e,t){var n=new RegExp(".("+t.join("|")+")$","i");return e.every(function(e){return n.test(e.name)})}},Ui={validate:function(e){return e.every(function(e){return/\.(jpg|svg|jpeg|png|bmp|gif)$/i.test(e.name)})}},Hi={validate:function(e){return Array.isArray(e)?e.every(function(e){return/^-?[0-9]+$/.test(String(e))}):/^-?[0-9]+$/.test(String(e))}},qi={validate:function(e,t){void 0===t&&(t={});var n=t.version;return void 0===n&&(n=4),At(e)&&(e=""),Array.isArray(e)?e.every(function(e){return Mi(e,n)}):Mi(e,n)},paramNames:["version"]},Bi={validate:function(e,t){return void 0===t&&(t=[]),e===t[0]}},Yi={validate:function(e,t){return void 0===t&&(t=[]),e!==t[0]}},Vi={validate:function(e,t){var n=t[0],r=t[1];return void 0===r&&(r=void 0),n=Number(n),void 0!==e&&null!==e&&("number"==typeof e&&(e=String(e)),e.length||(e=Ut(e)),function(e,t,n){return void 0===n?e.length===t:(n=Number(n),e.length>=t&&e.length<=n)}(e,n,r))}},Wi=function(e,t){var n=t[0];return void 0===e||null===e?n>=0:Array.isArray(e)?e.every(function(e){return Wi(e,[n])}):String(e).length<=n},Zi={validate:Wi},Ki=function(e,t){var n=t[0];return null!==e&&void 0!==e&&""!==e&&(Array.isArray(e)?e.length>0&&e.every(function(e){return Ki(e,[n])}):Number(e)<=n)},Gi={validate:Ki},Xi={validate:function(e,t){var n=new RegExp(t.join("|").replace("*",".+")+"$","i");return e.every(function(e){return n.test(e.type)})}},Ji=function(e,t){var n=t[0];return void 0!==e&&null!==e&&(Array.isArray(e)?e.every(function(e){return Ji(e,[n])}):String(e).length>=n)},Qi={validate:Ji},eo=function(e,t){var n=t[0];return null!==e&&void 0!==e&&""!==e&&(Array.isArray(e)?e.length>0&&e.every(function(e){return eo(e,[n])}):Number(e)>=n)},to={validate:eo},no={validate:function(e){return Array.isArray(e)?e.every(function(e){return/^[0-9]+$/.test(String(e))}):/^[0-9]+$/.test(String(e))}},ro=function(e,t){var n=t.expression;return"string"==typeof n&&(n=new RegExp(n)),Array.isArray(e)?e.every(function(e){return ro(e,{expression:n})}):n.test(String(e))},io={validate:ro,paramNames:["expression"]},oo={validate:function(e,t){void 0===t&&(t=[]);var n=t[0];return void 0===n&&(n=!1),!(Jt(e)||!1===e&&n||void 0===e||null===e||!String(e).trim().length)}},ao={validate:function(e,t){void 0===t&&(t=[]);var n=t[0],r=t.slice(1).includes(String(n).trim());if(!r)return{valid:!0,data:{required:r}};var i=Jt(e)||[!1,null,void 0].includes(e);return{valid:!(i=i||!String(e).trim().length),data:{required:r}}},options:{hasTarget:!0,computesRequired:!0}},so={validate:function(e,t){var n=t[0];if(isNaN(n))return!1;for(var r=1024*Number(n),i=0;ir)return!1;return!0}},uo=yi(bi(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if((0,n.default)(e),!e||e.length>=2083||/[\s<>]/.test(e))return!1;if(0===e.indexOf("mailto:"))return!1;t=(0,o.default)(t,s);var a=void 0,l=void 0,f=void 0,p=void 0,d=void 0,h=void 0,v=void 0,m=void 0;if(v=e.split("#"),e=v.shift(),v=e.split("?"),e=v.shift(),(v=e.split("://")).length>1){if(a=v.shift().toLowerCase(),t.require_valid_protocol&&-1===t.protocols.indexOf(a))return!1}else{if(t.require_protocol)return!1;if("//"===e.substr(0,2)){if(!t.allow_protocol_relative_urls)return!1;v[0]=e.substr(2)}}if(""===(e=v.join("://")))return!1;if(v=e.split("/"),""===(e=v.shift())&&!t.require_host)return!0;if((v=e.split("@")).length>1&&(l=v.shift()).indexOf(":")>=0&&l.split(":").length>2)return!1;p=v.join("@"),h=null,m=null;var g=p.match(u);g?(f="",m=g[1],h=g[2]||null):(v=p.split(":"),f=v.shift(),v.length&&(h=v.join(":")));if(null!==h&&(d=parseInt(h,10),!/^[0-9]+$/.test(h)||d<=0||d>65535))return!1;if(!((0,i.default)(f)||(0,r.default)(f,t)||m&&(0,i.default)(m,6)))return!1;if(f=f||m,t.host_whitelist&&!c(f,t.host_whitelist))return!1;if(t.host_blacklist&&c(f,t.host_blacklist))return!1;return!0};var n=a(_i),r=a(Li),i=a(ji),o=a(Ei);function a(e){return e&&e.__esModule?e:{default:e}}var s={protocols:["http","https","ftp"],require_tld:!0,require_protocol:!1,require_host:!0,require_valid_protocol:!0,allow_underscores:!1,allow_trailing_dot:!1,allow_protocol_relative_urls:!1},u=/^\[([^\]]+)\](?::([0-9]+))?$/;function c(e,t){for(var n=0;n=0&&Math.floor(t)===t&&isFinite(e)}function p(e){return o(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function d(e){return null==e?"":Array.isArray(e)||l(e)&&e.toString===c?JSON.stringify(e,null,2):String(e)}function h(e){var t=parseFloat(e);return isNaN(t)?e:t}function v(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i-1)return e.splice(n,1)}}var b=Object.prototype.hasOwnProperty;function _(e,t){return b.call(e,t)}function w(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}var x=/-(\w)/g,k=w(function(e){return e.replace(x,function(e,t){return t?t.toUpperCase():""})}),$=w(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),C=/\B([A-Z])/g,O=w(function(e){return e.replace(C,"-$1").toLowerCase()}),T=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n};function A(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function S(e,t){for(var n in t)e[n]=t[n];return e}function E(e){for(var t={},n=0;n0,J=K&&K.indexOf("edge/")>0,Q=(K&&K.indexOf("android"),K&&/iphone|ipad|ipod|ios/.test(K)||"ios"===Z),ee=(K&&/chrome\/\d+/.test(K),K&&/phantomjs/.test(K),K&&K.match(/firefox\/(\d+)/)),te={}.watch,ne=!1;if(V)try{var re={};Object.defineProperty(re,"passive",{get:function(){ne=!0}}),window.addEventListener("test-passive",null,re)}catch(r){}var ie=function(){return void 0===q&&(q=!V&&!W&&void 0!==t&&t.process&&"server"===t.process.env.VUE_ENV),q},oe=V&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ae(e){return"function"==typeof e&&/native code/.test(e.toString())}var se,ue="undefined"!=typeof Symbol&&ae(Symbol)&&"undefined"!=typeof Reflect&&ae(Reflect.ownKeys);se="undefined"!=typeof Set&&ae(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var ce=D,le=0,fe=function(){this.id=le++,this.subs=[]};fe.prototype.addSub=function(e){this.subs.push(e)},fe.prototype.removeSub=function(e){y(this.subs,e)},fe.prototype.depend=function(){fe.target&&fe.target.addDep(this)},fe.prototype.notify=function(){for(var e=this.subs.slice(),t=0,n=e.length;t-1)if(o&&!_(i,"default"))a=!1;else if(""===a||a===O(e)){var u=Ue(String,i.type);(u<0||s0&&(lt((u=e(u,(n||"")+"_"+r))[0])&<(l)&&(f[c]=ye(l.text+u[0].text),u.shift()),f.push.apply(f,u)):s(u)?lt(l)?f[c]=ye(l.text+u):""!==u&&f.push(ye(u)):lt(u)&<(l)?f[c]=ye(l.text+u.text):(a(t._isVList)&&o(u.tag)&&i(u.key)&&o(n)&&(u.key="__vlist"+n+"_"+r+"__"),f.push(u)));return f}(e):void 0}function lt(e){return o(e)&&o(e.text)&&!1===e.isComment}function ft(e,t){if(e){for(var n=Object.create(null),r=ue?Reflect.ownKeys(e):Object.keys(e),i=0;idocument.createEvent("Event").timeStamp&&(ln=function(){return performance.now()});var pn=0,dn=function(e,t,n,r,i){this.vm=e,i&&(e._watcher=this),e._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++pn,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new se,this.newDepIds=new se,this.expression="","function"==typeof t?this.getter=t:(this.getter=function(e){if(!B.test(e)){var t=e.split(".");return function(e){for(var n=0;nun&&nn[n].id>e.id;)n--;nn.splice(n+1,0,e)}else nn.push(e);an||(an=!0,tt(fn))}}(this)},dn.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||u(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){He(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},dn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},dn.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},dn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||y(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var hn={enumerable:!0,configurable:!0,get:D,set:D};function vn(e,t,n){hn.get=function(){return this[t][n]},hn.set=function(e){this[t][n]=e},Object.defineProperty(e,n,hn)}var mn={lazy:!0};function gn(e,t,n){var r=!ie();"function"==typeof n?(hn.get=r?yn(t):bn(n),hn.set=D):(hn.get=n.get?r&&!1!==n.cache?yn(t):bn(n.get):D,hn.set=n.set||D),Object.defineProperty(e,t,hn)}function yn(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),fe.target&&t.depend(),t.value}}function bn(e){return function(){return e.call(this,this)}}function _n(e,t,n,r){return l(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=e[n]),e.$watch(t,n,r)}var wn=0;function xn(e){var t=e.options;if(e.super){var n=xn(e.super);if(n!==e.superOptions){e.superOptions=n;var r=function(e){var t,n=e.options,r=e.sealedOptions;for(var i in n)n[i]!==r[i]&&(t||(t={}),t[i]=n[i]);return t}(e);r&&S(e.extendOptions,r),(t=e.options=Ie(n,e.extendOptions)).name&&(t.components[t.name]=e)}}return t}function kn(e){this._init(e)}function $n(e){return e&&(e.Ctor.options.name||e.tag)}function Cn(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"==typeof e?e.split(",").indexOf(t)>-1:(n=e,"[object RegExp]"===c.call(n)&&e.test(t));var n}function On(e,t){var n=e.cache,r=e.keys,i=e._vnode;for(var o in n){var a=n[o];if(a){var s=$n(a.componentOptions);s&&!t(s)&&Tn(n,o,r,i)}}}function Tn(e,t,n,r){var i=e[t];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),e[t]=null,y(n,t)}kn.prototype._init=function(e){var t=this;t._uid=wn++,t._isVue=!0,e&&e._isComponent?function(e,t){var n=e.$options=Object.create(e.constructor.options),r=t._parentVnode;n.parent=t.parent,n._parentVnode=r;var i=r.componentOptions;n.propsData=i.propsData,n._parentListeners=i.listeners,n._renderChildren=i.children,n._componentTag=i.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}(t,e):t.$options=Ie(xn(t.constructor),e||{},t),t._renderProxy=t,t._self=t,function(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}(t),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&Gt(e,t)}(t),function(e){e._vnode=null,e._staticTrees=null;var t=e.$options,n=e.$vnode=t._parentVnode,i=n&&n.context;e.$slots=pt(t._renderChildren,i),e.$scopedSlots=r,e._c=function(t,n,r,i){return Ut(e,t,n,r,i,!1)},e.$createElement=function(t,n,r,i){return Ut(e,t,n,r,i,!0)};var o=n&&n.data;Te(e,"$attrs",o&&o.attrs||r,null,!0),Te(e,"$listeners",t._parentListeners||r,null,!0)}(t),tn(t,"beforeCreate"),function(e){var t=ft(e.$options.inject,e);t&&($e(!1),Object.keys(t).forEach(function(n){Te(e,n,t[n])}),$e(!0))}(t),function(e){e._watchers=[];var t=e.$options;t.props&&function(e,t){var n=e.$options.propsData||{},r=e._props={},i=e.$options._propKeys=[];e.$parent&&$e(!1);var o=function(o){i.push(o);var a=Pe(o,t,n,e);Te(r,o,a),o in e||vn(e,"_props",o)};for(var a in t)o(a);$e(!0)}(e,t.props),t.methods&&function(e,t){for(var n in e.$options.props,t)e[n]="function"!=typeof t[n]?D:T(t[n],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;l(t=e._data="function"==typeof t?function(e,t){de();try{return e.call(t,t)}catch(e){return He(e,t,"data()"),{}}finally{he()}}(t,e):t||{})||(t={});for(var n,r=Object.keys(t),i=e.$options.props,o=(e.$options.methods,r.length);o--;){var a=r[o];i&&_(i,a)||36!==(n=(a+"").charCodeAt(0))&&95!==n&&vn(e,"_data",a)}Oe(t,!0)}(e):Oe(e._data={},!0),t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),r=ie();for(var i in t){var o=t[i],a="function"==typeof o?o:o.get;r||(n[i]=new dn(e,a||D,D,mn)),i in e||gn(e,i,o)}}(e,t.computed),t.watch&&t.watch!==te&&function(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var i=0;i1?A(t):t;for(var n=A(arguments,1),r='event handler for "'+e+'"',i=0,o=t.length;iparseInt(this.max)&&Tn(a,s[0],s,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};!function(e){var t={get:function(){return z}};Object.defineProperty(e,"config",t),e.util={warn:ce,extend:S,mergeOptions:Ie,defineReactive:Te},e.set=Ae,e.delete=Se,e.nextTick=tt,e.observable=function(e){return Oe(e),e},e.options=Object.create(null),P.forEach(function(t){e.options[t+"s"]=Object.create(null)}),e.options._base=e,S(e.options.components,Sn),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=A(arguments,1);return n.unshift(this),"function"==typeof e.install?e.install.apply(e,n):"function"==typeof e&&e.apply(null,n),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=Ie(this.options,e),this}}(e),function(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,r=n.cid,i=e._Ctor||(e._Ctor={});if(i[r])return i[r];var o=e.name||n.options.name,a=function(e){this._init(e)};return(a.prototype=Object.create(n.prototype)).constructor=a,a.cid=t++,a.options=Ie(n.options,e),a.super=n,a.options.props&&function(e){var t=e.options.props;for(var n in t)vn(e.prototype,"_props",n)}(a),a.options.computed&&function(e){var t=e.options.computed;for(var n in t)gn(e.prototype,n,t[n])}(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,P.forEach(function(e){a[e]=n[e]}),o&&(a.options.components[o]=a),a.superOptions=n.options,a.extendOptions=e,a.sealedOptions=S({},a.options),i[r]=a,a}}(e),function(e){P.forEach(function(t){e[t]=function(e,n){return n?("component"===t&&l(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"==typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}})}(e)}(kn),Object.defineProperty(kn.prototype,"$isServer",{get:ie}),Object.defineProperty(kn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(kn,"FunctionalRenderContext",{value:Lt}),kn.version="2.6.8";var En=v("style,class"),Dn=v("input,textarea,option,select,progress"),Ln=function(e,t,n){return"value"===n&&Dn(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},jn=v("contenteditable,draggable,spellcheck"),Mn=v("events,caret,typing,plaintext-only"),Nn=function(e,t){return zn(t)||"false"===t?"false":"contenteditable"===e&&Mn(t)?t:"true"},In=v("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Rn="http://www.w3.org/1999/xlink",Pn=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},Fn=function(e){return Pn(e)?e.slice(6,e.length):""},zn=function(e){return null==e||!1===e};function Un(e,t){return{staticClass:Hn(e.staticClass,t.staticClass),class:o(e.class)?[e.class,t.class]:t.class}}function Hn(e,t){return e?t?e+" "+t:e:t||""}function qn(e){return Array.isArray(e)?function(e){for(var t,n="",r=0,i=e.length;r-1?hr(e,t,n):In(t)?zn(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):jn(t)?e.setAttribute(t,Nn(t,n)):Pn(t)?zn(n)?e.removeAttributeNS(Rn,Fn(t)):e.setAttributeNS(Rn,t,n):hr(e,t,n)}function hr(e,t,n){if(zn(n))e.removeAttribute(t);else{if(G&&!X&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){var r=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",r)};e.addEventListener("input",r),e.__ieph=!0}e.setAttribute(t,n)}}var vr={create:pr,update:pr};function mr(e,t){var n=t.elm,r=t.data,a=e.data;if(!(i(r.staticClass)&&i(r.class)&&(i(a)||i(a.staticClass)&&i(a.class)))){var s=function(e){for(var t=e.data,n=e,r=e;o(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(t=Un(r.data,t));for(;o(n=n.parent);)n&&n.data&&(t=Un(t,n.data));return function(e,t){return o(e)||o(t)?Hn(e,qn(t)):""}(t.staticClass,t.class)}(t),u=n._transitionClasses;o(u)&&(s=Hn(s,qn(u))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var gr,yr,br,_r,wr,xr,kr={create:mr,update:mr},$r=/[\w).+\-_$\]]/;function Cr(e){var t,n,r,i,o,a=!1,s=!1,u=!1,c=!1,l=0,f=0,p=0,d=0;for(r=0;r=0&&" "===(v=e.charAt(h));h--);v&&$r.test(v)||(c=!0)}}else void 0===i?(d=r+1,i=e.slice(0,r).trim()):m();function m(){(o||(o=[])).push(e.slice(d,r).trim()),d=r+1}if(void 0===i?i=e.slice(0,r).trim():0!==d&&m(),o)for(r=0;r-1?{exp:e.slice(0,_r),key:'"'+e.slice(_r+1)+'"'}:{exp:e,key:null};for(yr=e,_r=wr=xr=0;!Hr();)qr(br=Ur())?Yr(br):91===br&&Br(br);return{exp:e.slice(0,wr),key:e.slice(wr+1,xr)}}(e);return null===n.key?e+"="+t:"$set("+n.exp+", "+n.key+", "+t+")"}function Ur(){return yr.charCodeAt(++_r)}function Hr(){return _r>=gr}function qr(e){return 34===e||39===e}function Br(e){var t=1;for(wr=_r;!Hr();)if(qr(e=Ur()))Yr(e);else if(91===e&&t++,93===e&&t--,0===t){xr=_r;break}}function Yr(e){for(var t=e;!Hr()&&(e=Ur())!==t;);}var Vr,Wr="__r",Zr="__c";function Kr(e,t,n){var r=Vr;return function i(){null!==t.apply(null,arguments)&&Jr(e,i,n,r)}}var Gr=We&&!(ee&&Number(ee[1])<=53);function Xr(e,t,n,r){if(Gr){var i=cn,o=t;t=o._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=i||0===e.timeStamp||e.target.ownerDocument!==document)return o.apply(this,arguments)}}Vr.addEventListener(e,t,ne?{capture:n,passive:r}:n)}function Jr(e,t,n,r){(r||Vr).removeEventListener(e,t._wrapper||t,n)}function Qr(e,t){if(!i(e.data.on)||!i(t.data.on)){var n=t.data.on||{},r=e.data.on||{};Vr=t.elm,function(e){if(o(e[Wr])){var t=G?"change":"input";e[t]=[].concat(e[Wr],e[t]||[]),delete e[Wr]}o(e[Zr])&&(e.change=[].concat(e[Zr],e.change||[]),delete e[Zr])}(n),at(n,r,Xr,Jr,Kr,t.context),Vr=void 0}}var ei,ti={create:Qr,update:Qr};function ni(e,t){if(!i(e.data.domProps)||!i(t.data.domProps)){var n,r,a=t.elm,s=e.data.domProps||{},u=t.data.domProps||{};for(n in o(u.__ob__)&&(u=t.data.domProps=S({},u)),s)i(u[n])&&(a[n]="");for(n in u){if(r=u[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),r===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n&&"PROGRESS"!==a.tagName){a._value=r;var c=i(r)?"":String(r);ri(a,c)&&(a.value=c)}else if("innerHTML"===n&&Vn(a.tagName)&&i(a.innerHTML)){(ei=ei||document.createElement("div")).innerHTML="";for(var l=ei.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;l.firstChild;)a.appendChild(l.firstChild)}else if(r!==s[n])try{a[n]=r}catch(e){}}}}function ri(e,t){return!e.composing&&("OPTION"===e.tagName||function(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}(e,t)||function(e,t){var n=e.value,r=e._vModifiers;if(o(r)){if(r.number)return h(n)!==h(t);if(r.trim)return n.trim()!==t.trim()}return n!==t}(e,t))}var ii={create:ni,update:ni},oi=w(function(e){var t={},n=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach(function(e){if(e){var r=e.split(n);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t});function ai(e){var t=si(e.style);return e.staticStyle?S(e.staticStyle,t):t}function si(e){return Array.isArray(e)?E(e):"string"==typeof e?oi(e):e}var ui,ci=/^--/,li=/\s*!important$/,fi=function(e,t,n){if(ci.test(t))e.style.setProperty(t,n);else if(li.test(n))e.style.setProperty(O(t),n.replace(li,""),"important");else{var r=di(t);if(Array.isArray(n))for(var i=0,o=n.length;i-1?t.split(mi).forEach(function(t){return e.classList.add(t)}):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function yi(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(mi).forEach(function(t){return e.classList.remove(t)}):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?e.setAttribute("class",n):e.removeAttribute("class")}}function bi(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&S(t,_i(e.name||"v")),S(t,e),t}return"string"==typeof e?_i(e):void 0}}var _i=w(function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}}),wi=V&&!X,xi="transition",ki="animation",$i="transition",Ci="transitionend",Oi="animation",Ti="animationend";wi&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&($i="WebkitTransition",Ci="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Oi="WebkitAnimation",Ti="webkitAnimationEnd"));var Ai=V?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function Si(e){Ai(function(){Ai(e)})}function Ei(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),gi(e,t))}function Di(e,t){e._transitionClasses&&y(e._transitionClasses,t),yi(e,t)}function Li(e,t,n){var r=Mi(e,t),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===xi?Ci:Ti,u=0,c=function(){e.removeEventListener(s,l),n()},l=function(t){t.target===e&&++u>=a&&c()};setTimeout(function(){u0&&(n=xi,l=a,f=o.length):t===ki?c>0&&(n=ki,l=c,f=u.length):f=(n=(l=Math.max(a,c))>0?a>c?xi:ki:null)?n===xi?o.length:u.length:0,{type:n,timeout:l,propCount:f,hasTransform:n===xi&&ji.test(r[$i+"Property"])}}function Ni(e,t){for(;e.length1}function Ui(e,t){!0!==t.data.show&&Ri(t)}var Hi=function(e){var t,n,r={},u=e.modules,c=e.nodeOps;for(t=0;th?b(e,i(n[g+1])?null:n[g+1].elm,n,d,g,r):d>g&&w(0,t,p,h)}(p,v,g,n,l):o(g)?(o(e.text)&&c.setTextContent(p,""),b(p,null,g,0,g.length-1,n)):o(v)?w(0,v,0,v.length-1):o(e.text)&&c.setTextContent(p,""):e.text!==t.text&&c.setTextContent(p,t.text),o(h)&&o(d=h.hook)&&o(d=d.postpatch)&&d(e,t)}}}function C(e,t,n){if(a(n)&&o(e.parent))e.parent.data.pendingInsert=t;else for(var r=0;r-1,a.selected!==o&&(a.selected=o);else if(M(Wi(a),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));i||(e.selectedIndex=-1)}}function Vi(e,t){return t.every(function(t){return!M(t,e)})}function Wi(e){return"_value"in e?e._value:e.value}function Zi(e){e.target.composing=!0}function Ki(e){e.target.composing&&(e.target.composing=!1,Gi(e.target,"input"))}function Gi(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function Xi(e){return!e.componentInstance||e.data&&e.data.transition?e:Xi(e.componentInstance._vnode)}var Ji={model:qi,show:{bind:function(e,t,n){var r=t.value,i=(n=Xi(n)).data&&n.data.transition,o=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;r&&i?(n.data.show=!0,Ri(n,function(){e.style.display=o})):e.style.display=r?o:"none"},update:function(e,t,n){var r=t.value;!r!=!t.oldValue&&((n=Xi(n)).data&&n.data.transition?(n.data.show=!0,r?Ri(n,function(){e.style.display=e.__vOriginalDisplay}):Pi(n,function(){e.style.display="none"})):e.style.display=r?e.__vOriginalDisplay:"none")},unbind:function(e,t,n,r,i){i||(e.style.display=e.__vOriginalDisplay)}}},Qi={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function eo(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?eo(Vt(t.children)):e}function to(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var i=n._parentListeners;for(var o in i)t[k(o)]=i[o];return t}function no(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}var ro=function(e){return e.tag||Yt(e)},io=function(e){return"show"===e.name},oo={name:"transition",props:Qi,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(ro)).length){var r=this.mode,i=n[0];if(function(e){for(;e=e.parent;)if(e.data.transition)return!0}(this.$vnode))return i;var o=eo(i);if(!o)return i;if(this._leaving)return no(e,i);var a="__transition-"+this._uid+"-";o.key=null==o.key?o.isComment?a+"comment":a+o.tag:s(o.key)?0===String(o.key).indexOf(a)?o.key:a+o.key:o.key;var u=(o.data||(o.data={})).transition=to(this),c=this._vnode,l=eo(c);if(o.data.directives&&o.data.directives.some(io)&&(o.data.show=!0),l&&l.data&&!function(e,t){return t.key===e.key&&t.tag===e.tag}(o,l)&&!Yt(l)&&(!l.componentInstance||!l.componentInstance._vnode.isComment)){var f=l.data.transition=S({},u);if("out-in"===r)return this._leaving=!0,st(f,"afterLeave",function(){t._leaving=!1,t.$forceUpdate()}),no(e,i);if("in-out"===r){if(Yt(o))return c;var p,d=function(){p()};st(u,"afterEnter",d),st(u,"enterCancelled",d),st(f,"delayLeave",function(e){p=e})}}return i}}},ao=S({tag:String,moveClass:String},Qi);function so(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function uo(e){e.data.newPos=e.elm.getBoundingClientRect()}function co(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,i=t.top-n.top;if(r||i){e.data.moved=!0;var o=e.elm.style;o.transform=o.WebkitTransform="translate("+r+"px,"+i+"px)",o.transitionDuration="0s"}}delete ao.mode;var lo={Transition:oo,TransitionGroup:{props:ao,beforeMount:function(){var e=this,t=this._update;this._update=function(n,r){var i=Jt(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,i(),t.call(e,n,r)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],o=this.children=[],a=to(this),s=0;s-1?Kn[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Kn[e]=/HTMLUnknownElement/.test(t.toString())},S(kn.options.directives,Ji),S(kn.options.components,lo),kn.prototype.__patch__=V?Hi:D,kn.prototype.$mount=function(e,t){return function(e,t,n){return e.$el=t,e.$options.render||(e.$options.render=ge),tn(e,"beforeMount"),new dn(e,function(){e._update(e._render(),n)},D,{before:function(){e._isMounted&&!e._isDestroyed&&tn(e,"beforeUpdate")}},!0),n=!1,null==e.$vnode&&(e._isMounted=!0,tn(e,"mounted")),e}(this,e=e&&V?Xn(e):void 0,t)},V&&setTimeout(function(){z.devtools&&oe&&oe.emit("init",kn)},0);var fo,po=/\{\{((?:.|\r?\n)+?)\}\}/g,ho=/[-.*+?^${}()|[\]\/\\]/g,vo=w(function(e){var t=e[0].replace(ho,"\\$&"),n=e[1].replace(ho,"\\$&");return new RegExp(t+"((?:.|\\n)+?)"+n,"g")}),mo={staticKeys:["staticClass"],transformNode:function(e,t){t.warn;var n=Ir(e,"class");n&&(e.staticClass=JSON.stringify(n));var r=Nr(e,"class",!1);r&&(e.classBinding=r)},genData:function(e){var t="";return e.staticClass&&(t+="staticClass:"+e.staticClass+","),e.classBinding&&(t+="class:"+e.classBinding+","),t}},go={staticKeys:["staticStyle"],transformNode:function(e,t){t.warn;var n=Ir(e,"style");n&&(e.staticStyle=JSON.stringify(oi(n)));var r=Nr(e,"style",!1);r&&(e.styleBinding=r)},genData:function(e){var t="";return e.staticStyle&&(t+="staticStyle:"+e.staticStyle+","),e.styleBinding&&(t+="style:("+e.styleBinding+"),"),t}},yo=v("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),bo=v("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),_o=v("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),wo=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,xo=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,ko="[a-zA-Z_][\\-\\.0-9_a-zA-Z"+U.source+"]*",$o="((?:"+ko+"\\:)?"+ko+")",Co=new RegExp("^<"+$o),Oo=/^\s*(\/?)>/,To=new RegExp("^<\\/"+$o+"[^>]*>"),Ao=/^]+>/i,So=/^",""":'"',"&":"&","
":"\n"," ":"\t","'":"'"},Mo=/&(?:lt|gt|quot|amp|#39);/g,No=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,Io=v("pre,textarea",!0),Ro=function(e,t){return e&&Io(e)&&"\n"===t[0]};function Po(e,t){var n=t?No:Mo;return e.replace(n,function(e){return jo[e]})}var Fo,zo,Uo,Ho,qo,Bo,Yo,Vo,Wo=/^@|^v-on:/,Zo=/^v-|^@|^:/,Ko=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Go=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Xo=/^\(|\)$/g,Jo=/^\[.*\]$/,Qo=/:(.*)$/,ea=/^:|^\.|^v-bind:/,ta=/\.[^.\]]+(?=[^\]]*$)/g,na=/^v-slot(:|$)|^#/,ra=/[\r\n]/,ia=/\s+/g,oa=w(function(e){return(fo=fo||document.createElement("div")).innerHTML=e,fo.textContent}),aa="_empty_";function sa(e,t,n){return{type:1,tag:e,attrsList:t,attrsMap:function(e){for(var t={},n=0,r=e.length;n-1"+("true"===o?":("+t+")":":_q("+t+","+o+")")),Mr(e,"change","var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+a+");if(Array.isArray($$a)){var $$v="+(r?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+zr(t,"$$a.concat([$$v])")+")}else{$$i>-1&&("+zr(t,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+zr(t,"$$c")+"}",null,!0)}(e,r,i);else if("input"===o&&"radio"===a)!function(e,t,n){var r=n&&n.number,i=Nr(e,"value")||"null";Sr(e,"checked","_q("+t+","+(i=r?"_n("+i+")":i)+")"),Mr(e,"change",zr(t,i),null,!0)}(e,r,i);else if("input"===o||"textarea"===o)!function(e,t,n){var r=e.attrsMap.type,i=n||{},o=i.lazy,a=i.number,s=i.trim,u=!o&&"range"!==r,c=o?"change":"range"===r?Wr:"input",l="$event.target.value";s&&(l="$event.target.value.trim()"),a&&(l="_n("+l+")");var f=zr(t,l);u&&(f="if($event.target.composing)return;"+f),Sr(e,"value","("+t+")"),Mr(e,c,f,null,!0),(s||a)&&Mr(e,"blur","$forceUpdate()")}(e,r,i);else if(!z.isReservedTag(o))return Fr(e,r,i),!1;return!0},text:function(e,t){t.value&&Sr(e,"textContent","_s("+t.value+")",t)},html:function(e,t){t.value&&Sr(e,"innerHTML","_s("+t.value+")",t)}},isPreTag:function(e){return"pre"===e},isUnaryTag:yo,mustUseProp:Ln,canBeLeftOpenTag:bo,isReservedTag:Wn,getTagNamespace:Zn,staticKeys:ya.reduce(function(e,t){return e.concat(t.staticKeys||[])},[]).join(",")},_a=w(function(e){return v("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(e?","+e:""))});var wa=/^([\w$_]+|\([^)]*?\))\s*=>|^function\s*\(/,xa=/\([^)]*?\);*$/,ka=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,$a={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Ca={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},Oa=function(e){return"if("+e+")return null;"},Ta={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:Oa("$event.target !== $event.currentTarget"),ctrl:Oa("!$event.ctrlKey"),shift:Oa("!$event.shiftKey"),alt:Oa("!$event.altKey"),meta:Oa("!$event.metaKey"),left:Oa("'button' in $event && $event.button !== 0"),middle:Oa("'button' in $event && $event.button !== 1"),right:Oa("'button' in $event && $event.button !== 2")};function Aa(e,t){var n=t?"nativeOn:":"on:",r="",i="";for(var o in e){var a=Sa(e[o]);e[o]&&e[o].dynamic?i+=o+","+a+",":r+='"'+o+'":'+a+","}return r="{"+r.slice(0,-1)+"}",i?n+"_d("+r+",["+i.slice(0,-1)+"])":n+r}function Sa(e){if(!e)return"function(){}";if(Array.isArray(e))return"["+e.map(function(e){return Sa(e)}).join(",")+"]";var t=ka.test(e.value),n=wa.test(e.value),r=ka.test(e.value.replace(xa,""));if(e.modifiers){var i="",o="",a=[];for(var s in e.modifiers)if(Ta[s])o+=Ta[s],$a[s]&&a.push(s);else if("exact"===s){var u=e.modifiers;o+=Oa(["ctrl","shift","alt","meta"].filter(function(e){return!u[e]}).map(function(e){return"$event."+e+"Key"}).join("||"))}else a.push(s);return a.length&&(i+="if(!$event.type.indexOf('key')&&"+a.map(Ea).join("&&")+")return null;"),o&&(i+=o),"function($event){"+i+(t?"return "+e.value+"($event)":n?"return ("+e.value+")($event)":r?"return "+e.value:e.value)+"}"}return t||n?e.value:"function($event){"+(r?"return "+e.value:e.value)+"}"}function Ea(e){var t=parseInt(e,10);if(t)return"$event.keyCode!=="+t;var n=$a[e],r=Ca[e];return"_k($event.keyCode,"+JSON.stringify(e)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(r)+")"}var Da={on:function(e,t){e.wrapListeners=function(e){return"_g("+e+","+t.value+")"}},bind:function(e,t){e.wrapData=function(n){return"_b("+n+",'"+e.tag+"',"+t.value+","+(t.modifiers&&t.modifiers.prop?"true":"false")+(t.modifiers&&t.modifiers.sync?",true":"")+")"}},cloak:D},La=function(e){this.options=e,this.warn=e.warn||Tr,this.transforms=Ar(e.modules,"transformCode"),this.dataGenFns=Ar(e.modules,"genData"),this.directives=S(S({},Da),e.directives);var t=e.isReservedTag||L;this.maybeComponent=function(e){return!!e.component||!t(e.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function ja(e,t){var n=new La(t);return{render:"with(this){return "+(e?Ma(e,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function Ma(e,t){if(e.parent&&(e.pre=e.pre||e.parent.pre),e.staticRoot&&!e.staticProcessed)return Na(e,t);if(e.once&&!e.onceProcessed)return Ia(e,t);if(e.for&&!e.forProcessed)return Pa(e,t);if(e.if&&!e.ifProcessed)return Ra(e,t);if("template"!==e.tag||e.slotTarget||t.pre){if("slot"===e.tag)return function(e,t){var n=e.slotName||'"default"',r=Ha(e,t),i="_t("+n+(r?","+r:""),o=e.attrs||e.dynamicAttrs?Ya((e.attrs||[]).concat(e.dynamicAttrs||[]).map(function(e){return{name:k(e.name),value:e.value,dynamic:e.dynamic}})):null,a=e.attrsMap["v-bind"];return!o&&!a||r||(i+=",null"),o&&(i+=","+o),a&&(i+=(o?"":",null")+","+a),i+")"}(e,t);var n;if(e.component)n=function(e,t,n){var r=t.inlineTemplate?null:Ha(t,n,!0);return"_c("+e+","+Fa(t,n)+(r?","+r:"")+")"}(e.component,e,t);else{var r;(!e.plain||e.pre&&t.maybeComponent(e))&&(r=Fa(e,t));var i=e.inlineTemplate?null:Ha(e,t,!0);n="_c('"+e.tag+"'"+(r?","+r:"")+(i?","+i:"")+")"}for(var o=0;o>>0}(a):"")+")"}(e,e.scopedSlots,t)+","),e.model&&(n+="model:{value:"+e.model.value+",callback:"+e.model.callback+",expression:"+e.model.expression+"},"),e.inlineTemplate){var o=function(e,t){var n=e.children[0];if(n&&1===n.type){var r=ja(n,t.options);return"inlineTemplate:{render:function(){"+r.render+"},staticRenderFns:["+r.staticRenderFns.map(function(e){return"function(){"+e+"}"}).join(",")+"]}"}}(e,t);o&&(n+=o+",")}return n=n.replace(/,$/,"")+"}",e.dynamicAttrs&&(n="_b("+n+',"'+e.tag+'",'+Ya(e.dynamicAttrs)+")"),e.wrapData&&(n=e.wrapData(n)),e.wrapListeners&&(n=e.wrapListeners(n)),n}function za(e){return 1===e.type&&("slot"===e.tag||e.children.some(za))}function Ua(e,t){var n=e.attrsMap["slot-scope"];if(e.if&&!e.ifProcessed&&!n)return Ra(e,t,Ua,"null");if(e.for&&!e.forProcessed)return Pa(e,t,Ua);var r=e.slotScope===aa?"":String(e.slotScope),i="function("+r+"){return "+("template"===e.tag?e.if&&n?"("+e.if+")?"+(Ha(e,t)||"undefined")+":undefined":Ha(e,t)||"undefined":Ma(e,t))+"}",o=r?"":",proxy:true";return"{key:"+(e.slotTarget||'"default"')+",fn:"+i+o+"}"}function Ha(e,t,n,r,i){var o=e.children;if(o.length){var a=o[0];if(1===o.length&&a.for&&"template"!==a.tag&&"slot"!==a.tag){var s=n?t.maybeComponent(a)?",1":",0":"";return""+(r||Ma)(a,t)+s}var u=n?function(e,t){for(var n=0,r=0;r]*>)","i")),p=e.replace(f,function(e,n,r){return c=r.length,Do(l)||"noscript"===l||(n=n.replace(//g,"$1").replace(//g,"$1")),Ro(l,n)&&(n=n.slice(1)),t.chars&&t.chars(n),""});u+=e.length-p.length,e=p,O(l,u-c,u)}else{var d=e.indexOf("<");if(0===d){if(So.test(e)){var h=e.indexOf("--\x3e");if(h>=0){t.shouldKeepComment&&t.comment(e.substring(4,h),u,u+h+3),k(h+3);continue}}if(Eo.test(e)){var v=e.indexOf("]>");if(v>=0){k(v+2);continue}}var m=e.match(Ao);if(m){k(m[0].length);continue}var g=e.match(To);if(g){var y=u;k(g[0].length),O(g[1],y,u);continue}var b=$();if(b){C(b),Ro(b.tagName,e)&&k(1);continue}}var _=void 0,w=void 0,x=void 0;if(d>=0){for(w=e.slice(d);!(To.test(w)||Co.test(w)||So.test(w)||Eo.test(w)||(x=w.indexOf("<",1))<0);)d+=x,w=e.slice(d);_=e.substring(0,d)}d<0&&(_=e),_&&k(_.length),t.chars&&_&&t.chars(_,u-_.length,u)}if(e===n){t.chars&&t.chars(e);break}}function k(t){u+=t,e=e.substring(t)}function $(){var t=e.match(Co);if(t){var n,r,i={tagName:t[1],attrs:[],start:u};for(k(t[0].length);!(n=e.match(Oo))&&(r=e.match(xo)||e.match(wo));)r.start=u,k(r[0].length),r.end=u,i.attrs.push(r);if(n)return i.unarySlash=n[1],k(n[0].length),i.end=u,i}}function C(e){var n=e.tagName,u=e.unarySlash;o&&("p"===r&&_o(n)&&O(r),s(n)&&r===n&&O(n));for(var c=a(n)||!!u,l=e.attrs.length,f=new Array(l),p=0;p=0&&i[a].lowerCasedTag!==s;a--);else a=0;if(a>=0){for(var c=i.length-1;c>=a;c--)t.end&&t.end(i[c].tag,n,o);i.length=a,r=a&&i[a-1].tag}else"br"===s?t.start&&t.start(e,[],!0,n,o):"p"===s&&(t.start&&t.start(e,[],!1,n,o),t.end&&t.end(e,n,o))}O()}(e,{warn:Fo,expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,canBeLeftOpenTag:t.canBeLeftOpenTag,shouldDecodeNewlines:t.shouldDecodeNewlines,shouldDecodeNewlinesForHref:t.shouldDecodeNewlinesForHref,shouldKeepComment:t.comments,outputSourceRange:t.outputSourceRange,start:function(e,o,a,l,f){var p=r&&r.ns||Vo(e);G&&"svg"===p&&(o=function(e){for(var t=[],n=0;nu&&(s.push(o=e.slice(u,i)),a.push(JSON.stringify(o)));var c=Cr(r[1].trim());a.push("_s("+c+")"),s.push({"@binding":c}),u=i+r[0].length}return u':'',Ka.innerHTML.indexOf("
")>0}var Qa=!!V&&Ja(!1),es=!!V&&Ja(!0),ts=w(function(e){var t=Xn(e);return t&&t.innerHTML}),ns=kn.prototype.$mount;kn.prototype.$mount=function(e,t){if((e=e&&Xn(e))===document.body||e===document.documentElement)return this;var n=this.$options;if(!n.render){var r=n.template;if(r)if("string"==typeof r)"#"===r.charAt(0)&&(r=ts(r));else{if(!r.nodeType)return this;r=r.innerHTML}else e&&(r=function(e){if(e.outerHTML)return e.outerHTML;var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}(e));if(r){var i=Xa(r,{outputSourceRange:!1,shouldDecodeNewlines:Qa,shouldDecodeNewlinesForHref:es,delimiters:n.delimiters,comments:n.comments},this),o=i.render,a=i.staticRenderFns;n.render=o,n.staticRenderFns=a}}return ns.call(this,e,t)},kn.compile=Xa,e.exports=kn}).call(t,n(5),n(23).setImmediate)},function(e,t,n){(function(e){var r=void 0!==e&&e||"undefined"!=typeof self&&self||window,i=Function.prototype.apply;function o(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new o(i.call(setTimeout,r,arguments),clearTimeout)},t.setInterval=function(){return new o(i.call(setInterval,r,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},o.prototype.unref=o.prototype.ref=function(){},o.prototype.close=function(){this._clearFn.call(r,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},n(24),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(t,n(5))},function(e,t,n){(function(e,t){!function(e,n){"use strict";if(!e.setImmediate){var r,i,o,a,s,u=1,c={},l=!1,f=e.document,p=Object.getPrototypeOf&&Object.getPrototypeOf(e);p=p&&p.setTimeout?p:e,"[object process]"==={}.toString.call(e.process)?r=function(e){t.nextTick(function(){h(e)})}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?e.MessageChannel?((o=new MessageChannel).port1.onmessage=function(e){h(e.data)},r=function(e){o.port2.postMessage(e)}):f&&"onreadystatechange"in f.createElement("script")?(i=f.documentElement,r=function(e){var t=f.createElement("script");t.onreadystatechange=function(){h(e),t.onreadystatechange=null,i.removeChild(t),t=null},i.appendChild(t)}):r=function(e){setTimeout(h,0,e)}:(a="setImmediate$"+Math.random()+"$",s=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(a)&&h(+t.data.slice(a.length))},e.addEventListener?e.addEventListener("message",s,!1):e.attachEvent("onmessage",s),r=function(t){e.postMessage(a+t,"*")}),p.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n=0,o=i&&r.regeneratorRuntime;if(r.regeneratorRuntime=void 0,e.exports=n(28),i)r.regeneratorRuntime=o;else try{delete r.regeneratorRuntime}catch(e){r.regeneratorRuntime=void 0}},function(e,t){!function(t){"use strict";var n,r=Object.prototype,i=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag",c="object"==typeof e,l=t.regeneratorRuntime;if(l)c&&(e.exports=l);else{(l=t.regeneratorRuntime=c?e.exports:{}).wrap=_;var f="suspendedStart",p="suspendedYield",d="executing",h="completed",v={},m={};m[a]=function(){return this};var g=Object.getPrototypeOf,y=g&&g(g(D([])));y&&y!==r&&i.call(y,a)&&(m=y);var b=$.prototype=x.prototype=Object.create(m);k.prototype=b.constructor=$,$.constructor=k,$[u]=k.displayName="GeneratorFunction",l.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===k||"GeneratorFunction"===(t.displayName||t.name))},l.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,$):(e.__proto__=$,u in e||(e[u]="GeneratorFunction")),e.prototype=Object.create(b),e},l.awrap=function(e){return{__await:e}},C(O.prototype),O.prototype[s]=function(){return this},l.AsyncIterator=O,l.async=function(e,t,n,r){var i=new O(_(e,t,n,r));return l.isGeneratorFunction(t)?i:i.next().then(function(e){return e.done?e.value:i.next()})},C(b),b[u]="Generator",b[a]=function(){return this},b.toString=function(){return"[object Generator]"},l.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},l.values=D,E.prototype={constructor:E,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(S),!e)for(var t in this)"t"===t.charAt(0)&&i.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=n)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(r,i){return s.type="throw",s.arg=e,t.next=r,i&&(t.method="next",t.arg=n),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var u=i.call(a,"catchLoc"),c=i.call(a,"finallyLoc");if(u&&c){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),S(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;S(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:D(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=n),v}}}function _(e,t,n,r){var i=t&&t.prototype instanceof x?t:x,o=Object.create(i.prototype),a=new E(r||[]);return o._invoke=function(e,t,n){var r=f;return function(i,o){if(r===d)throw new Error("Generator is already running");if(r===h){if("throw"===i)throw o;return L()}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=T(a,n);if(s){if(s===v)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=d;var u=w(e,t,n);if("normal"===u.type){if(r=n.done?h:p,u.arg===v)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=h,n.method="throw",n.arg=u.arg)}}}(e,n,a),o}function w(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function x(){}function k(){}function $(){}function C(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function O(e){var t;this._invoke=function(n,r){function o(){return new Promise(function(t,o){!function t(n,r,o,a){var s=w(e[n],e,r);if("throw"!==s.type){var u=s.arg,c=u.value;return c&&"object"==typeof c&&i.call(c,"__await")?Promise.resolve(c.__await).then(function(e){t("next",e,o,a)},function(e){t("throw",e,o,a)}):Promise.resolve(c).then(function(e){u.value=e,o(u)},a)}a(s.arg)}(n,r,t,o)})}return t=t?t.then(o,o):o()}}function T(e,t){var r=e.iterator[t.method];if(r===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=n,T(e,t),"throw"===t.method))return v;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var i=w(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,v;var o=i.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=n),t.delegate=null,v):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,v)}function A(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function E(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,this),this.reset(!0)}function D(e){if(e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}}),a):a}},function(e,t,n){"use strict";var r=n(1);e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=i(window.location.href),function(t){var n=r.isString(t)?i(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},function(e,t,n){"use strict";var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function i(){this.message="String contains an invalid character"}i.prototype=new Error,i.prototype.code=5,i.prototype.name="InvalidCharacterError",e.exports=function(e){for(var t,n,o=String(e),a="",s=0,u=r;o.charAt(0|s)||(u="=",s%1);a+=u.charAt(63&t>>8-s%1*8)){if((n=o.charCodeAt(s+=.75))>255)throw new i;t=t<<8|n}return a}},function(e,t,n){"use strict";var r=n(1);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,i,o,a){var s=[];s.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(i)&&s.push("path="+i),r.isString(o)&&s.push("domain="+o),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(e,t,n){"use strict";var r=n(1);function i(){this.handlers=[]}i.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},i.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},i.prototype.forEach=function(e){r.forEach(this.handlers,function(t){null!==t&&e(t)})},e.exports=i},function(e,t,n){"use strict";var r=n(1),i=n(43),o=n(15),a=n(10),s=n(44),u=n(45);function c(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return c(e),e.baseURL&&!s(e.url)&&(e.url=u(e.baseURL,e.url)),e.headers=e.headers||{},e.data=i(e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers||{}),r.forEach(["delete","get","head","post","put","patch","common"],function(t){delete e.headers[t]}),(e.adapter||a.adapter)(e).then(function(t){return c(e),t.data=i(t.data,t.headers,e.transformResponse),t},function(t){return o(t)||(c(e),t&&t.response&&(t.response.data=i(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)})}},function(e,t,n){"use strict";var r=n(1);e.exports=function(e,t,n){return r.forEach(n,function(n){e=n(e,t)}),e}},function(e,t,n){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},function(e,t,n){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},function(e,t,n){"use strict";var r=n(16);function i(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(e){t=e});var n=this;e(function(e){n.reason||(n.reason=new r(e),t(n.reason))})}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.source=function(){var e;return{token:new i(function(t){e=t}),cancel:e}},e.exports=i},function(e,t,n){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"Shortcuts",props:["globalKeymap","pageKeymap"],methods:{close:function(){this.$store.commit("toggleKeyMap")}}}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"popUp popUp--shortcuts"},[n("div",{staticClass:"popUp-inner a-dropIn"},[e.globalKeymap?[n("p",{staticClass:"headline--two"},[e._v("Global shortcuts:")]),e._v(" "),n("ul",{staticClass:"shortcuts-list"},e._l(e.globalKeymap,function(t){return n("li",{staticClass:"shortcut"},[n("span",{staticClass:"shortcut-keys"},[e._v(e._s(t.stroke))]),e._v(" "),n("span",{staticClass:"shortcut-description"},[e._v(e._s(t.description))])])}),0)]:e._e(),e._v(" "),e.pageKeymap?[n("p",{staticClass:"headline--two"},[e._v("Shortcuts on this page:")]),e._v(" "),n("ul",{staticClass:"shortcuts-list"},e._l(e.pageKeymap,function(t){return n("li",{staticClass:"shortcut"},[n("span",{staticClass:"shortcut-keys"},[e._v(e._s(t.stroke))]),e._v(" "),n("span",{staticClass:"shortcut-description"},[e._v(e._s(t.description))])])}),0)]:e._e()],2),e._v(" "),n("button",{staticClass:"toggle--more close",on:{click:e.close}},[n("i",{staticClass:"fas fa-times"}),e._v(" "),n("span",{staticClass:"u-hide"},[e._v("Close")])]),e._v(" "),n("div",{staticClass:"darken a-dropIn"})])},staticRenderFns:[]}},function(e,t,n){var r=n(0)(n(51),n(52),!1,null,null,null);e.exports=r.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"StatusList",props:["containerClass","patterns","loadingStatus"],data:function(){return{}}}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"dashboard-container",class:e.containerClass},[e._t("default"),e._v(" "),e.loadingStatus?e.loadingStatus?[n("img",{attrs:{src:"vendor/workshop/images/loader.gif"}})]:e._e():[e.patterns.length>0?[n("ul",{staticClass:"dashboard-list"},e._l(e.patterns,function(t){return n("li",{staticClass:"dashboard-listItem"},[n("router-link",{attrs:{to:{name:"preview",params:{patternName:""+t}}}},[e._v("\n "+e._s(t)+"\n ")])],1)}),0)]:0===e.patterns.length?[e._t("empty-list")]:e._e()]],2)},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"view--inner"},[n("status-list",{attrs:{"container-class":"toReview",patterns:e.statusList.review,"loading-status":e.loadingStatusList}},[n("h3",[e._v("To Review:")]),e._v(" "),n("p",{staticClass:"dashboard-list--empty",attrs:{slot:"empty-list"},slot:"empty-list"},[n("span",[e._v("Nothing to review")]),e._v(" 😄 ")])]),e._v(" "),n("status-list",{attrs:{"container-class":"rejected",patterns:e.statusList.rejected,"loading-status":e.loadingStatusList}},[n("h3",[e._v("Rejected "),n("i",{staticClass:"fas fa-exclamation-triangle"}),e._v(" :")]),e._v(" "),n("p",{staticClass:"dashboard-list--empty",attrs:{slot:"empty-list"},slot:"empty-list"},[n("span",[e._v("Nothing rejected")]),e._v(" 😰 ")])]),e._v(" "),e.showKeyMap?n("shortcuts",{attrs:{globalKeymap:e.globalShortcuts}}):e._e()],1)},staticRenderFns:[]}},function(e,t,n){var r=n(0)(n(55),n(56),!1,null,null,null);e.exports=r.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2),i=n.n(r),o=n(3),a=n(4),s=n(8),u=n.n(s),c=n(6);t.default={name:"CreatePattern",components:{Shortcuts:u.a},data:function(){return{pattern:{},globalShortcuts:c.b,createShortcuts:c.a,globalKeyListener:null}},computed:{showKeyMap:c.e},methods:{cancel:function(){this.$router.back()},save:function(){var e,t=(e=i.a.mark(function e(){return i.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this.$validator.validate();case 3:if(!e.sent){e.next=9;break}return e.next=7,o.a.post("pattern",{name:this.pattern.name,description:this.pattern.description});case 7:201===e.sent.status?(this.$store.commit("reloadNavi",!0),this.$router.push("/preview/"+this.pattern.name)):alert("Pattern could not be saved!");case 9:e.next=14;break;case 11:e.prev=11,e.t0=e.catch(0),a.a.error(e.t0);case 14:case"end":return e.stop()}},e,this,[[0,11]])}),function(){var t=e.apply(this,arguments);return new Promise(function(e,n){return function r(i,o){try{var a=t[i](o),s=a.value}catch(e){return void n(e)}if(!a.done)return Promise.resolve(s).then(function(e){r("next",e)},function(e){r("throw",e)});e(s)}("next")})});return function(){return t.apply(this,arguments)}}()},mounted:function(){var e=this;this.globalKeyListener=function(t){t.key===c.c.CLOSE&&e.cancel()},window.addEventListener("keydown",this.globalKeyListener)},beforeDestroy:function(){window.removeEventListener("keydown",this.globalKeyListener)}}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"fullscreen"},[n("form",{staticClass:"form form--fullscreen",attrs:{method:"post"}},[n("div",{staticClass:"form-group"},[n("label",{attrs:{for:"name"}},[n("span",{staticClass:"label-name"},[e._v("Name")]),e._v(" "),n("span",{staticClass:"label-hint"},[e._v("E.g. atoms.buttons.button")]),e._v(" "),e.errors.has("name")?n("small",{staticClass:"error a-slideIn"},[e._v(e._s(e.errors.first("name")))]):e._e()]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.pattern.name,expression:"pattern.name"},{name:"validate",rawName:"v-validate.disable",value:"required|uniquePattern",expression:"'required|uniquePattern'",modifiers:{disable:!0}}],staticClass:"form-control",attrs:{id:"name",type:"text",name:"name","aria-describedby":"nameHelp",autofocus:""},domProps:{value:e.pattern.name},on:{keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:t.ctrlKey?(t.preventDefault(),t.stopPropagation(),e.save(t)):null},function(t){if(!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter"))return null;t.preventDefault()}],input:function(t){t.target.composing||e.$set(e.pattern,"name",t.target.value)}}})]),e._v(" "),n("div",{staticClass:"form-group"},[n("label",{attrs:{for:"description"}},[e._m(0),e._v(" "),e.errors.has("description")?n("small",{staticClass:"error a-slideIn"},[e._v(e._s(e.errors.first("description")))]):e._e()]),e._v(" "),n("textarea",{directives:[{name:"model",rawName:"v-model",value:e.pattern.description,expression:"pattern.description"}],staticClass:"form-control",attrs:{id:"description",name:"description"},domProps:{value:e.pattern.description},on:{keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:t.ctrlKey?(t.preventDefault(),t.stopPropagation(),e.save(t)):null},input:function(t){t.target.composing||e.$set(e.pattern,"description",t.target.value)}}})]),e._v(" "),n("div",{staticClass:"form-group form-group--end"},[n("button",{staticClass:"btn btn--cancel ",attrs:{type:"button"},on:{click:function(t){return t.preventDefault(),e.cancel(t)}}},[n("span",[e._v("Cancel")])]),e._v(" "),n("button",{staticClass:"btn btn--primary",attrs:{type:"button"},on:{click:function(t){return t.preventDefault(),e.save(t)}}},[n("span",[e._v("Create pattern")])])])]),e._v(" "),e.showKeyMap?n("shortcuts",{attrs:{globalKeymap:e.globalShortcuts,pageKeymap:e.createShortcuts}}):e._e()],1)},staticRenderFns:[function(){var e=this.$createElement,t=this._self._c||e;return t("span",{staticClass:"label-name"},[this._v("\n Description "),t("span",[this._v("(optional)")])])}]}},function(e,t,n){var r=n(0)(n(58),n(59),!1,null,null,null);e.exports=r.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2),i=n.n(r),o=n(4),a=n(3),s=n(8),u=n.n(s),c=n(6);t.default={name:"UpdatePattern",components:{Shortcuts:u.a},props:["patternName"],data:function(){return{pattern:{name:this.patternName},currentName:this.patternName,globalShortcuts:c.b,updateShortcuts:c.f}},computed:{showKeyMap:c.e},methods:{cancel:function(){this.$router.back()},save:function(){var e,t=(e=i.a.mark(function e(){return i.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this.$validator.validate();case 3:if(!e.sent){e.next=10;break}return e.next=7,a.a.put("pattern/"+this.currentName,{name:this.pattern.name});case 7:e.sent,this.$store.commit("reloadNavi",!0),this.$router.push({name:"preview",params:{patternName:this.pattern.name}});case 10:e.next=15;break;case 12:e.prev=12,e.t0=e.catch(0),o.a.error(e.t0);case 15:case"end":return e.stop()}},e,this,[[0,12]])}),function(){var t=e.apply(this,arguments);return new Promise(function(e,n){return function r(i,o){try{var a=t[i](o),s=a.value}catch(e){return void n(e)}if(!a.done)return Promise.resolve(s).then(function(e){r("next",e)},function(e){r("throw",e)});e(s)}("next")})});return function(){return t.apply(this,arguments)}}()},mounted:function(){var e=this;this.globalKeyListener=function(t){t.key===c.c.CLOSE&&e.cancel()},window.addEventListener("keydown",this.globalKeyListener)},beforeDestroy:function(){window.removeEventListener("keydown",this.globalKeyListener)}}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"fullscreen"},[n("form",{staticClass:"form form--fullscreen",attrs:{method:"post"}},[n("div",{staticClass:"form-group"},[n("label",{attrs:{for:"name"}},[n("span",{staticClass:"label-name"},[e._v("Name")]),e._v(" "),n("span",{staticClass:"label-hint"},[e._v("E.g. atoms.buttons.button")]),e._v(" "),e.errors.has("name")?n("small",{staticClass:"error a-slideIn"},[e._v(e._s(e.errors.first("name")))]):e._e()]),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.pattern.name,expression:"pattern.name"},{name:"validate",rawName:"v-validate.disable",value:"required|uniquePattern",expression:"'required|uniquePattern'",modifiers:{disable:!0}}],staticClass:"form-control",attrs:{id:"name",type:"text",name:"name","aria-describedby":"nameHelp",autofocus:""},domProps:{value:e.pattern.name},on:{keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:t.ctrlKey?(t.stopPropagation(),e.save(t)):null},function(t){if(!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter"))return null;t.preventDefault()}],input:function(t){t.target.composing||e.$set(e.pattern,"name",t.target.value)}}})]),e._v(" "),n("div",{staticClass:"form-group form-group--end"},[n("button",{staticClass:"btn btn--cancel ",attrs:{type:"button"},on:{click:function(t){return t.preventDefault(),e.cancel(t)}}},[n("span",[e._v("Cancel")])]),e._v(" "),n("button",{staticClass:"btn btn--primary",on:{click:function(t){return t.preventDefault(),e.save(t)}}},[n("span",[e._v("Save")])])])]),e._v(" "),e.showKeyMap?n("shortcuts",{attrs:{globalKeymap:e.globalShortcuts,pageKeymap:e.updateShortcuts}}):e._e()],1)},staticRenderFns:[]}},function(e,t,n){var r=n(0)(n(61),n(72),!1,null,null,null);e.exports=r.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2),i=n.n(r),o=n(62),a=n.n(o),s=n(65),u=n.n(s),c=n(8),l=n.n(c),f=n(3),p=n(4),d=n(68),h=n.n(d),v=n(69),m=n.n(v),g=n(6),y=n(70),b=n.n(y),_=n(71);n.n(_);function w(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){return function r(i,o){try{var a=t[i](o),s=a.value}catch(e){return void n(e)}if(!a.done)return Promise.resolve(s).then(function(e){r("next",e)},function(e){r("throw",e)});e(s)}("next")})}}t.default={name:"PreviewPattern",mixins:[_.mixin],components:{ConfirmationWindow:u.a,StatusBar:a.a,Shortcuts:l.a},props:["patternName"],data:function(){return{pattern:{name:this.patternName,description:"",subPatterns:{todo:[],review:[],rejected:[],done:[]}},loading:!1,isToggled:!1,showDescription:!1,showDeleteConfirm:!1,editModeDescription:!1,oldDescription:"",usageTooltip:{content:"Copy usage to clipboard",hideOnTargetClick:!1},globalShortcuts:g.b,previewShortcuts:g.d,optionsDropdown:"PreviewPattern::dropdown-options",warningIncludesDropdown:"PreviewPattern::dropdown-warning-includes",globalKeyListener:null}},computed:{showKeyMap:g.e,markdownDescription:function(){return h()(this.pattern.description)},showOptions:function(){return this.$store.getters.activeDropdown===this.optionsDropdown},totalTodoCount:function(){return this.pattern.subPatterns.todo.length},totalReviewCount:function(){return this.pattern.subPatterns.review.length},totalRejectedCount:function(){return this.pattern.subPatterns.rejected.length},totalDoneCount:function(){return this.pattern.subPatterns.done.length},showWarningIncludes:function(){return this.$store.getters.activeDropdown===this.warningIncludesDropdown}},watch:{"pattern.sass":function(e){var t=document.querySelector(".code-sass");this.resetCodeBox(e,t)},"pattern.html":function(e){var t=document.querySelector(".code-html");this.resetCodeBox(e,t)},"pattern.template":function(e){var t=document.querySelector(".code-template");this.resetCodeBox(e,t)}},methods:{resetCodeBox:function(e,t){t.textContent=e,this.$nextTick(function(){b.a.highlightElement(t)})},resetTooltip:function(){this.usageTooltip.content="Copy usage to clipboard"},renamePattern:function(){this.$router.push({name:"rename",params:{pattern:this.pattern.name}})},editDescription:function(){this.editModeDescription=!0,this.oldDescription=this.pattern.description},cancelDescription:function(){this.editModeDescription=!1,this.pattern.description=this.oldDescription},updatePattern:function(){var e=w(i.a.mark(function e(){return i.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.editModeDescription=!1,e.prev=1,e.next=4,f.a.put("pattern/"+this.pattern.name,{description:this.pattern.description});case 4:e.sent,e.next=11;break;case 7:e.prev=7,e.t0=e.catch(1),this.pattern.description=this.oldDescription,p.a.error(e.t0);case 11:case"end":return e.stop()}},e,this,[[1,7]])}));return function(){return e.apply(this,arguments)}}(),fetchPattern:function(){var e=w(i.a.mark(function e(t){var n;return i.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this.loading=!0,e.prev=1,e.next=4,f.a.get("pattern/preview/"+t);case 4:n=e.sent,this.pattern=n.data.data,this.loading=!1,e.next=12;break;case 9:e.prev=9,e.t0=e.catch(1),p.a.error(e.t0);case 12:case"end":return e.stop()}},e,this,[[1,9]])}));return function(t){return e.apply(this,arguments)}}(),updateStatus:function(){var e=w(i.a.mark(function e(t){return i.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,f.a.put("pattern/status/"+this.pattern.name,{status:t});case 3:e.sent,this.pattern.status=t,e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),p.a.error(e.t0);case 10:case"end":return e.stop()}},e,this,[[0,7]])}));return function(t){return e.apply(this,arguments)}}(),confirmDelete:function(){this.showDeleteConfirm=!0},deletePattern:function(){var e=w(i.a.mark(function e(t){return i.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,f.a.delete("pattern/"+t);case 3:e.sent,this.$store.commit("reloadNavi",!0),this.$router.push("/"),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(0),p.a.error(e.t0);case 11:case"end":return e.stop()}},e,this,[[0,8]])}));return function(t){return e.apply(this,arguments)}}(),toggleOptions:function(){this.$store.dispatch("toggleDropdown",this.optionsDropdown)},resetDropdowns:function(){this.$store.dispatch("resetDropdowns")},toggleWarningIncludes:function(){this.$store.dispatch("toggleDropdown",this.warningIncludesDropdown)}},beforeRouteEnter:function(e,t,n){n(function(e){e.resetDropdowns(),e.$store.dispatch("resetMenu")})},beforeRouteUpdate:function(e,t,n){this.fetchPattern(e.params.patternName),this.$store.dispatch("resetMenu"),n()},created:function(){this.fetchPattern(this.patternName)},mounted:function(){var e=this;new m.a(".clipboard").on("success",function(t){e.usageTooltip.content="Copied to clipboard"}),this.globalKeyListener=function(t){var n=t.target||t.srcElement,r=t.key;"TEXTAREA"!==n.tagName&&"INPUT"!==n.tagName&&(r===g.c.DELETE&&e.confirmDelete(),r===g.c.EDIT&&e.renamePattern())},window.addEventListener("keydown",this.globalKeyListener)},beforeDestroy:function(){window.removeEventListener("keydown",this.globalKeyListener)}}},function(e,t,n){var r=n(0)(n(63),n(64),!1,null,null,null);e.exports=r.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"StatusBar",props:["status"],data:function(){return{dropdownName:"StatusBar::dropdown-status"}},computed:{isTodo:function(){return"todo"===this.status},isReview:function(){return"review"===this.status},isDone:function(){return"done"===this.status},isRejected:function(){return"rejected"===this.status},title:function(){return"status: "+this.status},isActive:function(){return this.$store.getters.activeDropdown===this.dropdownName}},methods:{toggleStatus:function(){this.$store.dispatch("toggleDropdown",this.dropdownName)},changeStatus:function(e){this.$emit("update-status",e),this.$store.dispatch("toggleDropdown",this.dropdownName)}}}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"statusbar"},[n("div",{directives:[{name:"tooltip",rawName:"v-tooltip.top-center",value:""+e.title,expression:"`${title}`",modifiers:{"top-center":!0}}],staticClass:"status-current",class:{accepted:e.isDone,toCheck:e.isReview,rejected:e.isRejected,wip:e.isTodo},on:{click:e.toggleStatus}}),e._v(" "),e.isActive?n("div",{staticClass:"status-menue a-dropIn"},[n("ul",{staticClass:"status-list"},[n("li",{staticClass:"status-optionWrap",on:{click:function(t){return e.changeStatus("review")}}},[n("span",{staticClass:"status-option toCheck"},[e._v("\n Review\n ")])]),e._v(" "),n("li",{staticClass:"status-optionWrap",on:{click:function(t){return e.changeStatus("rejected")}}},[n("span",{staticClass:"status-option rejected"},[e._v("\n Rejected \n ")])]),e._v(" "),n("li",{staticClass:"status-optionWrap",on:{click:function(t){return e.changeStatus("done")}}},[n("span",{staticClass:"status-option accepted"},[e._v("\n Accepted \n ")])])])]):e._e()])},staticRenderFns:[]}},function(e,t,n){var r=n(0)(n(66),n(67),!1,null,null,null);e.exports=r.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(6);t.default={name:"ConfirmationWindow",methods:{confirmYes:function(){this.$emit("confirm-yes")},confirmNo:function(){this.$emit("confirm-no")}},mounted:function(){var e=this;window.addEventListener("keydown",function(t){t.key===r.c.CLOSE&&(e.confirmNo(),t.stopPropagation())})}}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"popUp popUp--confirmation"},[n("div",{staticClass:"popUp-inner a-dropIn"},[n("p",[e._t("default")],2),e._v(" "),n("div",{staticClass:"popUp-controls"},[n("button",{staticClass:"btn btn--sm btn--cancel",on:{click:e.confirmNo}},[n("span",[e._v("no")])]),e._v(" "),n("button",{staticClass:"btn btn--sm btn--save",on:{click:e.confirmYes}},[n("span",[e._v("yes")])])])]),e._v(" "),n("div",{staticClass:"darken a-dropIn"})])},staticRenderFns:[]}},function(e,t,n){(function(t){!function(t){"use strict";var n={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:v,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/,nptable:v,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( *)(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?\\?>\\n*|\\n*|\\n*|?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=\\h*\\n)[\\s\\S]*?(?:\\n{2,}|$)|(?!script|pre|style)[a-z][\\w-]*\\s*>(?=\\h*\\n)[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,table:v,lheading:/^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading| {0,3}>|<\/?(?:tag)(?: +|\n|\/?>)|<(?:script|pre|style|!--))[^\n]+)*)/,text:/^[^\n]+/};function r(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||b.defaults,this.rules=n.normal,this.options.pedantic?this.rules=n.pedantic:this.options.gfm&&(this.options.tables?this.rules=n.tables:this.rules=n.gfm)}n._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,n._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,n.def=f(n.def).replace("label",n._label).replace("title",n._title).getRegex(),n.bullet=/(?:[*+-]|\d+\.)/,n.item=/^( *)(bull) [^\n]*(?:\n(?!\1bull )[^\n]*)*/,n.item=f(n.item,"gm").replace(/bull/g,n.bullet).getRegex(),n.list=f(n.list).replace(/bull/g,n.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+n.def.source+")").getRegex(),n._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",n._comment=//,n.html=f(n.html,"i").replace("comment",n._comment).replace("tag",n._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),n.paragraph=f(n.paragraph).replace("hr",n.hr).replace("heading",n.heading).replace("lheading",n.lheading).replace("tag",n._tag).getRegex(),n.blockquote=f(n.blockquote).replace("paragraph",n.paragraph).getRegex(),n.normal=m({},n),n.gfm=m({},n.normal,{fences:/^ *(`{3,}|~{3,})[ \.]*(\S+)? *\n([\s\S]*?)\n? *\1 *(?:\n+|$)/,paragraph:/^/,heading:/^ *(#{1,6}) +([^\n]+?) *#* *(?:\n+|$)/}),n.gfm.paragraph=f(n.paragraph).replace("(?!","(?!"+n.gfm.fences.source.replace("\\1","\\2")+"|"+n.list.source.replace("\\1","\\3")+"|").getRegex(),n.tables=m({},n.gfm,{nptable:/^ *([^|\n ].*\|.*)\n *([-:]+ *\|[-| :]*)(?:\n((?:.*[^>\n ].*(?:\n|$))*)\n*|$)/,table:/^ *\|(.+)\n *\|?( *[-:]+[-| :]*)(?:\n((?: *[^>\n ].*(?:\n|$))*)\n*|$)/}),n.pedantic=m({},n.normal,{html:f("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?\\1> *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",n._comment).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/}),r.rules=n,r.lex=function(e,t){return new r(t).lex(e)},r.prototype.lex=function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," ").replace(/\u00a0/g," ").replace(/\u2424/g,"\n"),this.token(e,!0)},r.prototype.token=function(e,t){var r,i,o,a,s,u,c,l,f,p,d,h,v,m,b,_;for(e=e.replace(/^ +$/gm,"");e;)if((o=this.rules.newline.exec(e))&&(e=e.substring(o[0].length),o[0].length>1&&this.tokens.push({type:"space"})),o=this.rules.code.exec(e))e=e.substring(o[0].length),o=o[0].replace(/^ {4}/gm,""),this.tokens.push({type:"code",text:this.options.pedantic?o:y(o,"\n")});else if(o=this.rules.fences.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"code",lang:o[2],text:o[3]||""});else if(o=this.rules.heading.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"heading",depth:o[1].length,text:o[2]});else if(t&&(o=this.rules.nptable.exec(e))&&(u={type:"table",header:g(o[1].replace(/^ *| *\| *$/g,"")),align:o[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:o[3]?o[3].replace(/\n$/,"").split("\n"):[]}).header.length===u.align.length){for(e=e.substring(o[0].length),d=0;d ?/gm,""),this.token(o,t),this.tokens.push({type:"blockquote_end"});else if(o=this.rules.list.exec(e)){for(e=e.substring(o[0].length),c={type:"list_start",ordered:m=(a=o[2]).length>1,start:m?+a:"",loose:!1},this.tokens.push(c),l=[],r=!1,v=(o=o[0].match(this.rules.item)).length,d=0;d1&&s.length>1||(e=o.slice(d+1).join("\n")+e,d=v-1)),i=r||/\n\n(?!\s*$)/.test(u),d!==v-1&&(r="\n"===u.charAt(u.length-1),i||(i=r)),i&&(c.loose=!0),_=void 0,(b=/^\[[ xX]\] /.test(u))&&(_=" "!==u[1],u=u.replace(/^\[[ xX]\] +/,"")),f={type:"list_item_start",task:b,checked:_,loose:i},l.push(f),this.tokens.push(f),this.token(u,!1),this.tokens.push({type:"list_item_end"});if(c.loose)for(v=l.length,d=0;d?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:v,tag:"^comment|^[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^",link:/^!?\[(label)\]\(href(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,strong:/^__([^\s])__(?!_)|^\*\*([^\s])\*\*(?!\*)|^__([^\s][\s\S]*?[^\s])__(?!_)|^\*\*([^\s][\s\S]*?[^\s])\*\*(?!\*)/,em:/^_([^\s_])_(?!_)|^\*([^\s*"<\[])\*(?!\*)|^_([^\s][\s\S]*?[^\s_])_(?!_|[^\s.])|^_([^\s_][\s\S]*?[^\s])_(?!_|[^\s.])|^\*([^\s"<\[][\s\S]*?[^\s*])\*(?!\*)|^\*([^\s*"<\[][\s\S]*?[^\s])\*(?!\*)/,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:v,text:/^(`+|[^`])[\s\S]*?(?=[\\?@\[\]\\^_`{|}~])/g,i._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,i._email=/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,i.autolink=f(i.autolink).replace("scheme",i._scheme).replace("email",i._email).getRegex(),i._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,i.tag=f(i.tag).replace("comment",n._comment).replace("attribute",i._attribute).getRegex(),i._label=/(?:\[[^\[\]]*\]|\\[\[\]]?|`[^`]*`|[^\[\]\\])*?/,i._href=/\s*(<(?:\\[<>]?|[^\s<>\\])*>|(?:\\[()]?|\([^\s\x00-\x1f\\]*\)|[^\s\x00-\x1f()\\])*?)/,i._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,i.link=f(i.link).replace("label",i._label).replace("href",i._href).replace("title",i._title).getRegex(),i.reflink=f(i.reflink).replace("label",i._label).getRegex(),i.normal=m({},i),i.pedantic=m({},i.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/,link:f(/^!?\[(label)\]\((.*?)\)/).replace("label",i._label).getRegex(),reflink:f(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",i._label).getRegex()}),i.gfm=m({},i.normal,{escape:f(i.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^~+(?=\S)([\s\S]*?\S)~+/,text:f(i.text).replace("]|","~]|").replace("|$","|https?://|ftp://|www\\.|[a-zA-Z0-9.!#$%&'*+/=?^_`{\\|}~-]+@|$").getRegex()}),i.gfm.url=f(i.gfm.url).replace("email",i.gfm._extended_email).getRegex(),i.breaks=m({},i.gfm,{br:f(i.br).replace("{2,}","*").getRegex(),text:f(i.gfm.text).replace("{2,}","*").getRegex()}),o.rules=i,o.output=function(e,t,n){return new o(t,n).output(e)},o.prototype.output=function(e){for(var t,n,r,i,a,s,u="";e;)if(a=this.rules.escape.exec(e))e=e.substring(a[0].length),u+=a[1];else if(a=this.rules.autolink.exec(e))e=e.substring(a[0].length),r="@"===a[2]?"mailto:"+(n=c(this.mangle(a[1]))):n=c(a[1]),u+=this.renderer.link(r,null,n);else if(this.inLink||!(a=this.rules.url.exec(e))){if(a=this.rules.tag.exec(e))!this.inLink&&/^/i.test(a[0])&&(this.inLink=!1),!this.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(a[0])?this.inRawBlock=!0:this.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(a[0])&&(this.inRawBlock=!1),e=e.substring(a[0].length),u+=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(a[0]):c(a[0]):a[0];else if(a=this.rules.link.exec(e))e=e.substring(a[0].length),this.inLink=!0,r=a[2],this.options.pedantic?(t=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(r))?(r=t[1],i=t[3]):i="":i=a[3]?a[3].slice(1,-1):"",r=r.trim().replace(/^<([\s\S]*)>$/,"$1"),u+=this.outputLink(a,{href:o.escapes(r),title:o.escapes(i)}),this.inLink=!1;else if((a=this.rules.reflink.exec(e))||(a=this.rules.nolink.exec(e))){if(e=e.substring(a[0].length),t=(a[2]||a[1]).replace(/\s+/g," "),!(t=this.links[t.toLowerCase()])||!t.href){u+=a[0].charAt(0),e=a[0].substring(1)+e;continue}this.inLink=!0,u+=this.outputLink(a,t),this.inLink=!1}else if(a=this.rules.strong.exec(e))e=e.substring(a[0].length),u+=this.renderer.strong(this.output(a[4]||a[3]||a[2]||a[1]));else if(a=this.rules.em.exec(e))e=e.substring(a[0].length),u+=this.renderer.em(this.output(a[6]||a[5]||a[4]||a[3]||a[2]||a[1]));else if(a=this.rules.code.exec(e))e=e.substring(a[0].length),u+=this.renderer.codespan(c(a[2].trim(),!0));else if(a=this.rules.br.exec(e))e=e.substring(a[0].length),u+=this.renderer.br();else if(a=this.rules.del.exec(e))e=e.substring(a[0].length),u+=this.renderer.del(this.output(a[1]));else if(a=this.rules.text.exec(e))e=e.substring(a[0].length),this.inRawBlock?u+=this.renderer.text(a[0]):u+=this.renderer.text(c(this.smartypants(a[0])));else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0))}else{if("@"===a[2])r="mailto:"+(n=c(a[0]));else{do{s=a[0],a[0]=this.rules._backpedal.exec(a[0])[0]}while(s!==a[0]);n=c(a[0]),r="www."===a[1]?"http://"+n:n}e=e.substring(a[0].length),u+=this.renderer.link(r,null,n)}return u},o.escapes=function(e){return e?e.replace(o.rules._escapes,"$1"):e},o.prototype.outputLink=function(e,t){var n=t.href,r=t.title?c(t.title):null;return"!"!==e[0].charAt(0)?this.renderer.link(n,r,this.output(e[1])):this.renderer.image(n,r,c(e[1]))},o.prototype.smartypants=function(e){return this.options.smartypants?e.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…"):e},o.prototype.mangle=function(e){if(!this.options.mangle)return e;for(var t,n="",r=e.length,i=0;i.5&&(t="x"+t.toString(16)),n+=""+t+";";return n},a.prototype.code=function(e,t,n){if(this.options.highlight){var r=this.options.highlight(e,t);null!=r&&r!==e&&(n=!0,e=r)}return t?''+(n?e:c(e,!0))+"
\n":""+(n?e:c(e,!0))+"
"},a.prototype.blockquote=function(e){return"\n"+e+"
\n"},a.prototype.html=function(e){return e},a.prototype.heading=function(e,t,n){return this.options.headerIds?"\n":""+e+"\n"},a.prototype.hr=function(){return this.options.xhtml?"
\n":"
\n"},a.prototype.list=function(e,t,n){var r=t?"ol":"ul";return"<"+r+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+""+r+">\n"},a.prototype.listitem=function(e){return""+e+"\n"},a.prototype.checkbox=function(e){return" "},a.prototype.paragraph=function(e){return""+e+"
\n"},a.prototype.table=function(e,t){return t&&(t=""+t+""),"\n"},a.prototype.tablerow=function(e){return"\n"+e+"
\n"},a.prototype.tablecell=function(e,t){var n=t.header?"th":"td";return(t.align?"<"+n+' align="'+t.align+'">':"<"+n+">")+e+""+n+">\n"},a.prototype.strong=function(e){return""+e+""},a.prototype.em=function(e){return""+e+""},a.prototype.codespan=function(e){return""+e+"
"},a.prototype.br=function(){return this.options.xhtml?"
":"
"},a.prototype.del=function(e){return""+e+""},a.prototype.link=function(e,t,n){if(null===(e=p(this.options.sanitize,this.options.baseUrl,e)))return n;var r='"+n+""},a.prototype.image=function(e,t,n){if(null===(e=p(this.options.sanitize,this.options.baseUrl,e)))return n;var r='":">"},a.prototype.text=function(e){return e},s.prototype.strong=s.prototype.em=s.prototype.codespan=s.prototype.del=s.prototype.text=function(e){return e},s.prototype.link=s.prototype.image=function(e,t,n){return""+n},s.prototype.br=function(){return""},u.parse=function(e,t){return new u(t).parse(e)},u.prototype.parse=function(e){this.inline=new o(e.links,this.options),this.inlineText=new o(e.links,m({},this.options,{renderer:new s})),this.tokens=e.reverse();for(var t="";this.next();)t+=this.tok();return t},u.prototype.next=function(){return this.token=this.tokens.pop()},u.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0},u.prototype.parseText=function(){for(var e=this.token.text;"text"===this.peek().type;)e+="\n"+this.next().text;return this.inline.output(e)},u.prototype.tok=function(){switch(this.token.type){case"space":return"";case"hr":return this.renderer.hr();case"heading":return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,l(this.inlineText.output(this.token.text)));case"code":return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);case"table":var e,t,n,r,i="",o="";for(n="",e=0;e"']/,c.escapeReplace=/[&<>"']/g,c.replacements={"&":"&","<":"<",">":">",'"':""","'":"'"},c.escapeTestNoEncode=/[<>"']|&(?!#?\w+;)/,c.escapeReplaceNoEncode=/[<>"']|&(?!#?\w+;)/g;var d={},h=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;function v(){}function m(e){for(var t,n,r=1;r=0&&"\\"===n[i];)r=!r;return r?"|":" |"}).split(/ \|/),r=0;if(n.length>t)n.splice(t);else for(;n.lengthAn error occurred:
"+c(e.message+"",!0)+"
";throw e}}v.exec=v,b.options=b.setOptions=function(e){return m(b.defaults,e),b},b.getDefaults=function(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:new a,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tables:!0,xhtml:!1}},b.defaults=b.getDefaults(),b.Parser=u,b.parser=u.parse,b.Renderer=a,b.TextRenderer=s,b.Lexer=r,b.lexer=r.lex,b.InlineLexer=o,b.inlineLexer=o.output,b.parse=b,e.exports=b}(this||"undefined"!=typeof window&&window)}).call(t,n(5))},function(e,t,n){var r;r=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof e.action?e.action:this.defaultAction,this.target="function"==typeof e.target?e.target:this.defaultTarget,this.text="function"==typeof e.text?e.text:this.defaultText,this.container="object"===r(e.container)?e.container:document.body}},{key:"listenClick",value:function(e){var t=this;this.listener=(0,s.default)(e,"click",function(e){return t.onClick(e)})}},{key:"onClick",value:function(e){var t=e.delegateTarget||e.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new o.default({action:this.action(t),target:this.target(t),text:this.text(t),container:this.container,trigger:t,emitter:this})}},{key:"defaultAction",value:function(e){return l("action",e)}},{key:"defaultTarget",value:function(e){var t=l("target",e);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(e){return l("text",e)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],t="string"==typeof e?[e]:e,n=!!document.queryCommandSupported;return t.forEach(function(e){n=n&&!!document.queryCommandSupported(e)}),n}}]),t}();function l(e,t){var n="data-clipboard-"+e;if(t.hasAttribute(n))return t.getAttribute(n)}e.exports=c},function(e,t,n){"use strict";var r,i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=function(){function e(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};this.action=e.action,this.container=e.container,this.emitter=e.emitter,this.target=e.target,this.text=e.text,this.trigger=e.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var e=this,t="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return e.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[t?"right":"left"]="-9999px";var n=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.style.top=n+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.container.appendChild(this.fakeElem),this.selectedText=(0,s.default)(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=(0,s.default)(this.target),this.copyText()}},{key:"copyText",value:function(){var e=void 0;try{e=document.execCommand(this.action)}catch(t){e=!1}this.handleResult(e)}},{key:"handleResult",value:function(e){this.emitter.emit(e?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=e,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(e){if(void 0!==e){if(!e||"object"!==(void 0===e?"undefined":i(e))||1!==e.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&e.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(e.hasAttribute("readonly")||e.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=e}},get:function(){return this._target}}]),e}();e.exports=u},function(e,t){e.exports=function(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName){var n=e.hasAttribute("readonly");n||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),n||e.removeAttribute("readonly"),t=e.value}else{e.hasAttribute("contenteditable")&&e.focus();var r=window.getSelection(),i=document.createRange();i.selectNodeContents(e),r.removeAllRanges(),r.addRange(i),t=r.toString()}return t}},function(e,t){function n(){}n.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var r=this;function i(){r.off(e,i),t.apply(n,arguments)}return i._=t,this.on(e,i,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,i=n.length;re.length)return;if(!(w instanceof u)){if(v&&b!=t.length-1){if(p.lastIndex=_,!(T=p.exec(e)))break;for(var x=T.index+(h?T[1].length:0),k=T.index+T[0].length,$=b,C=_,O=t.length;$=(C+=t[$].length)&&(++b,_=C);if(t[b]instanceof u)continue;A=$-b,w=e.slice(_,C),T.index-=_}else{p.lastIndex=0;var T=p.exec(w),A=1}if(T){h&&(m=T[1]?T[1].length:0);k=(x=T.index+m)+(T=T[0].slice(m)).length;var S=w.slice(0,x),E=w.slice(k),D=[b,A];S&&(++b,_+=S.length,D.push(S));var L=new u(c,d?r.tokenize(T,d):T,g,T,v);if(D.push(L),E&&D.push(E),Array.prototype.splice.apply(t,D),1!=A&&r.matchGrammar(e,t,n,b,_,!0,c),a)break}else if(a)break}}}}},tokenize:function(e,t,n){var i=[e],o=t.rest;if(o){for(var a in o)t[a]=o[a];delete t.rest}return r.matchGrammar(e,i,t,0,0,!1),i},hooks:{all:{},add:function(e,t){var n=r.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=r.hooks.all[e];if(n&&n.length)for(var i,o=0;i=n[o++];)i(t)}}},i=r.Token=function(e,t,n,r,i){this.type=e,this.content=t,this.alias=n,this.length=0|(r||"").length,this.greedy=!!i};if(i.stringify=function(e,t,n){if("string"==typeof e)return e;if("Array"===r.util.type(e))return e.map(function(n){return i.stringify(n,t,e)}).join("");var o={type:e.type,content:i.stringify(e.content,t,n),tag:"span",classes:["token",e.type],attributes:{},language:t,parent:n};if(e.alias){var a="Array"===r.util.type(e.alias)?e.alias:[e.alias];Array.prototype.push.apply(o.classes,a)}r.hooks.run("wrap",o);var s=Object.keys(o.attributes).map(function(e){return e+'="'+(o.attributes[e]||"").replace(/"/g,""")+'"'}).join(" ");return"<"+o.tag+' class="'+o.classes.join(" ")+'"'+(s?" "+s:"")+">"+o.content+""+o.tag+">"},!n.document)return n.addEventListener?(r.disableWorkerMessageHandler||n.addEventListener("message",function(e){var t=JSON.parse(e.data),i=t.language,o=t.code,a=t.immediateClose;n.postMessage(r.highlight(o,r.languages[i],i)),a&&n.close()},!1),n.Prism):n.Prism;var o=document.currentScript||[].slice.call(document.getElementsByTagName("script")).pop();return o&&(r.filename=o.src,r.manual||o.hasAttribute("data-manual")||("loading"!==document.readyState?window.requestAnimationFrame?window.requestAnimationFrame(r.highlightAll):window.setTimeout(r.highlightAll,16):document.addEventListener("DOMContentLoaded",r.highlightAll))),n.Prism}();void 0!==e&&e.exports&&(e.exports=r),void 0!==t&&(t.Prism=r),r.languages.markup={comment://,prolog:/<\?[\s\S]+?\?>/,doctype://i,cdata://i,tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+))?)*\s*\/?>/i,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/i,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"attr-value":{pattern:/=(?:("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|[^\s'">=]+)/i,inside:{punctuation:[/^=/,{pattern:/(^|[^\\])["']/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:/?[\da-z]{1,8};/i},r.languages.markup.tag.inside["attr-value"].inside.entity=r.languages.markup.entity,r.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))}),r.languages.xml=r.languages.markup,r.languages.html=r.languages.markup,r.languages.mathml=r.languages.markup,r.languages.svg=r.languages.markup,r.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-]+?.*?(?:;|(?=\s*\{))/i,inside:{rule:/@[\w-]+/}},url:/url\((?:(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1|.*?)\)/i,selector:/[^{}\s][^{};]*?(?=\s*\{)/,string:{pattern:/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},property:/[-_a-z\xA0-\uFFFF][-\w\xA0-\uFFFF]*(?=\s*:)/i,important:/\B!important\b/i,function:/[-a-z0-9]+(?=\()/i,punctuation:/[(){};:]/},r.languages.css.atrule.inside.rest=r.languages.css,r.languages.markup&&(r.languages.insertBefore("markup","tag",{style:{pattern:/(