text: (window.webpackJsonp=window.webpackJsonp||[]).push([[1],{1007:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__(542)},1008:function(module,exports,__webpack_require__){(exports=__webpack_require__(53)(!1)).push([module.i,"\n.captcha-image-container[data-v-ace71792] {\n  display: inline-block;\n  border: solid thin #000;\n}\n.button-container[data-v-ace71792] {\n  display: flex;\n  flex-direction: column;\n  width: -webkit-fit-content;\n  width: -moz-fit-content;\n  width: fit-content;\n  justify-content: space-between;\n}\n.captcha-group-container[data-v-ace71792] {\n  display: flex;\n  flex-direction: column;\n  flex-flow: wrap;\n  justify-content: space-between;\n  max-width: 315px;\n}\n#input-answer[data-v-ace71792] {\n  max-width: 150px;\n}\n.svg-defs[data-v-ace71792] {\n  display: none;\n}\n.captcha-button[data-v-ace71792] {\n  background-color: #003366;\n  border: none;\n  border-radius: 4px;\n  color: white;\n  padding: 5px 10px; /* changed from the default 12px 32px */\n  text-align: center;\n  text-decoration: none;\n  font-size: 10px; /* changed from the default 18px */\n  font-family: 'BCSans', 'Noto Sans', Verdana, Arial, sans-serif;\n  font-weight: 700;\n  letter-spacing: 1px;\n  cursor: pointer;\n  box-sizing: border-box;\n\n  /* Added to space icons and text evenly */\n  justify-content: center;\n  align-items: center;\n  display: flex;\n}\n.captcha-button[data-v-ace71792]:hover {\n  text-decoration: underline;\n  opacity: 0.80;\n}\n.captcha-button[data-v-ace71792]:focus {\n  box-shadow: 0 0 0 0.2rem rgba(56,89,138,0.25);\n}\n.captcha-button[data-v-ace71792]:active {\n  opacity: 1;\n}\n.play-audio-button[data-v-ace71792] {\n  margin-bottom: 3px;\n}\n.icon-play[data-v-ace71792],\n.icon-loop[data-v-ace71792] {\n  display: inline-block;\n  width: 1rem;\n  height: 1rem;\n  stroke-width: 0;\n  stroke: #FFF;\n  fill: #FFF;\n}\n.audio-spinner[data-v-ace71792] {\n  display: inline-block;\n  width: 15px;\n  height: 15px;\n  stroke-width: 0;\n  stroke: #FFF;\n  fill: #FFF;\n}\n.button-container > button[data-v-ace71792] {\n  height: 28px;\n}\n.button-container > button > span[data-v-ace71792] {\n  margin-left: 4px;\n}\n.input-answer[data-v-ace71792] {\n  display: inline-block;\n  vertical-align: middle;\n}\n.validation-spinner-container[data-v-ace71792] {\n  display: inline-block;\n  margin-left: 15px;\n  vertical-align: middle;\n}\n",""]),module.exports=exports},1009:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__(543)},1010:function(module,exports,__webpack_require__){(exports=__webpack_require__(53)(!1)).push([module.i,'\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n/* Base for label styling */\n[type="checkbox"][data-v-427bfa58]:not(:checked),\n[type="checkbox"][data-v-427bfa58]:checked {\n  position: absolute;\n  left: 0;\n  opacity: 0.01;\n}\n[type="checkbox"]:not(:checked) + label[data-v-427bfa58],\n[type="checkbox"]:checked + label[data-v-427bfa58] {\n  position: relative;\n  padding-left: 2.3em;\n}\n\n/* checkbox aspect */\n[type="checkbox"]:not(:checked) + label[data-v-427bfa58]:before,\n[type="checkbox"]:checked + label[data-v-427bfa58]:before {\n  content: \'\';\n  position: absolute;\n  left: 0;\n  top: 0;\n  width: 1.4em;\n  height: 1.4em;\n  border: 1px solid #606060;\n  background: #FFF;\n  border-radius: .2em;\n  box-shadow: inset 0 1px 2px rgba(0,0,0,0.1), 0 0 0 rgba(0,0,0,0.1);\n  transition: all .275s;\n}\n\n/* checked mark aspect */\n[type="checkbox"]:not(:checked) + label[data-v-427bfa58]:after,\n[type="checkbox"]:checked + label[data-v-427bfa58]:after {\n  position: absolute;\n  color: #606060;\n  line-height: 0;\n  transition: all .2s;\n}\n[type="checkbox"].icon-check:not(:checked) + label[data-v-427bfa58]:after,\n[type="checkbox"].icon-check:checked + label[data-v-427bfa58]:after {\n  content: \'✔\';\n  top: .56em;\n  left: 0.2em;\n  font-size: 1.2em;\n}\n[type="checkbox"].icon-cross:not(:checked) + label[data-v-427bfa58]:after,\n[type="checkbox"].icon-cross:checked + label[data-v-427bfa58]:after {\n  content: \'✖\';\n  top: .525em;\n  left: .09em;\n  font-size: 1.355em;\n}\n\n/* checked mark aspect changes */\n[type="checkbox"]:not(:checked) + label[data-v-427bfa58]:after {\n  opacity: 0;\n  transform: scale(0) rotate(45deg);\n}\n[type="checkbox"]:checked + label[data-v-427bfa58]:after {\n  opacity: 1;\n  transform: scale(1) rotate(0);\n}\n\n/* Disabled checkbox */\n[type="checkbox"]:disabled:not(:checked) + label[data-v-427bfa58]:before,\n[type="checkbox"]:disabled:checked + label[data-v-427bfa58]:before {\n  box-shadow: none;\n  border-color: #bbb;\n  background-color: #e9e9e9;\n}\n[type="checkbox"]:disabled:checked + label[data-v-427bfa58]:after {\n  color: #777;\n}\n\n/* Accessibility */\n[type="checkbox"]:checked:focus + label[data-v-427bfa58]:before,\n[type="checkbox"]:not(:checked):focus + label[data-v-427bfa58]:before {\n  box-shadow: inset 0 1px 2px rgba(0,0,0,0.1), 0 0 0 3px rgba(0,0,0,0.1);\n}\n.form-check[data-v-427bfa58] {\n  padding-left: 0; /* Override Bootstrap default */\n}\n.slot-container[data-v-427bfa58] {\n  padding-left: 2.3em;\n}\n',""]),module.exports=exports},1011:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__(544)},1012:function(module,exports,__webpack_require__){(exports=__webpack_require__(53)(!1)).push([module.i,'\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n/* Base for label styling */\n[type="checkbox"][data-v-fbdd518c]:not(:checked),\n[type="checkbox"][data-v-fbdd518c]:checked {\n  position: absolute;\n  left: 0;\n  opacity: 0.01;\n}\n[type="checkbox"]:not(:checked) + label[data-v-fbdd518c],\n[type="checkbox"]:checked + label[data-v-fbdd518c] {\n  position: relative;\n  padding-left: 2.3em;\n  cursor: pointer;\n}\n\n/* checkbox aspect */\n[type="checkbox"]:not(:checked) + label[data-v-fbdd518c]:before,\n[type="checkbox"]:checked + label[data-v-fbdd518c]:before {\n  content: \'\';\n  position: absolute;\n  left: 0;\n  top: 0;\n  width: 1.4em;\n  height: 1.4em;\n  border: 1px solid #606060;\n  background: #FFF;\n  border-radius: .2em;\n  box-shadow: inset 0 1px 2px rgba(0,0,0,0.1), 0 0 0 rgba(0,0,0,0.1);\n  transition: all .275s;\n}\n\n/* checked mark aspect */\n[type="checkbox"]:not(:checked) + label[data-v-fbdd518c]:after,\n[type="checkbox"]:checked + label[data-v-fbdd518c]:after {\n  position: absolute;\n  color: #606060;\n  line-height: 0;\n  transition: all .2s;\n}\n[type="checkbox"].icon-check:not(:checked) + label[data-v-fbdd518c]:after,\n[type="checkbox"].icon-check:checked + label[data-v-fbdd518c]:after {\n  content: \'✔\';\n  top: .56em;\n  left: 0.2em;\n  font-size: 1.2em;\n}\n[type="checkbox"].icon-cross:not(:checked) + label[data-v-fbdd518c]:after,\n[type="checkbox"].icon-cross:checked + label[data-v-fbdd518c]:after {\n  content: \'✖\';\n  top: .525em;\n  left: .09em;\n  font-size: 1.355em;\n}\n\n/* checked mark aspect changes */\n[type="checkbox"]:not(:checked) + label[data-v-fbdd518c]:after {\n  opacity: 0;\n  transform: scale(0) rotate(45deg);\n}\n[type="checkbox"]:checked + label[data-v-fbdd518c]:after {\n  opacity: 1;\n  transform: scale(1) rotate(0);\n}\n\n/* Disabled checkbox */\n[type="checkbox"]:disabled:not(:checked) + label[data-v-fbdd518c]:before,\n[type="checkbox"]:disabled:checked + label[data-v-fbdd518c]:before {\n  box-shadow: none;\n  border-color: #bbb;\n  background-color: #e9e9e9;\n}\n[type="checkbox"]:disabled:checked + label[data-v-fbdd518c]:after {\n  color: #777;\n}\n[type="checkbox"]:disabled + label[data-v-fbdd518c] {\n  color: #aaa;\n}\n\n/* Accessibility */\n[type="checkbox"]:checked:focus + label[data-v-fbdd518c]:before,\n[type="checkbox"]:not(:checked):focus + label[data-v-fbdd518c]:before {\n  box-shadow: inset 0 1px 2px rgba(0,0,0,0.1), 0 0 0 3px rgba(0,0,0,0.1);\n}\n.form-check[data-v-fbdd518c] {\n  padding-left: 0; /* Override Bootstrap default */\n  margin-right: 2.3em;\n}\n.form-check.horizontal-checkbox-container[data-v-fbdd518c] {\n  display: inline-block;\n}\n.slot-container[data-v-fbdd518c] {\n  padding-left: 2.3em;\n}\n',""]),module.exports=exports},1013:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__(545)},1014:function(module,exports,__webpack_require__){(exports=__webpack_require__(53)(!1)).push([module.i,"\n.modal.show[data-v-e35f8bd2] {\n  display: block;\n  background-color: rgba(0, 0, 0, 0.4);\n  overflow-y: scroll;\n}\n",""]),module.exports=exports},1015:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__(546)},1016:function(module,exports,__webpack_require__){(exports=__webpack_require__(53)(!1)).push([module.i,"\n.continue-bar[data-v-c54026f0] {\n  background-color: #cdd9e4;\n}\n.continue-bar.sticky[data-v-c54026f0] {\n  position: sticky;\n  bottom: 0;\n}\n@media print {\n.continue-bar[data-v-c54026f0] {\n    display: none;\n}\n}\n.secondary-button[data-v-c54026f0] {\n  margin-bottom: 6px;\n}\n@media (min-width: 768px) {\n.secondary-button[data-v-c54026f0] {\n    margin-bottom: 0;\n    margin-right: 6px;\n}\n}\n",""]),module.exports=exports},1017:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__(547)},1018:function(module,exports,__webpack_require__){(exports=__webpack_require__(53)(!1)).push([module.i,"\n.date-picker[data-v-581f6c6b] {\n  background: #FFF;\n  color: #313132;\n  border: solid thin #606060;\n  border-radius: 4px;\n  box-shadow: 0px 0px 20px 0px #CCC;\n  width: 320px;\n}\n.date-container[data-v-581f6c6b] {\n  display: flex;\n  flex-wrap: wrap;\n  max-width: 280px;\n  margin: 10px 25px 25px 25px;\n}\n.date-header-cell[data-v-581f6c6b] {\n  text-align: center;\n  font-weight: bold;\n  padding: 6px;\n  width: 38px;\n  height: 30px;\n  max-width: 38px; /* Needed for IE */\n  flex: 0 0 38px;\n}\n.date-cell[data-v-581f6c6b] {\n  text-align: center;\n  width: 38px;\n  height: 34px;\n  max-width: 38px; /* Needed for IE */\n  flex: 0 0 38px;\n  padding: 2px;\n}\n.date-cell:not(.empty) .circle[data-v-581f6c6b] {\n  cursor: pointer;\n}\n.title-container[data-v-581f6c6b] {\n  display: flex;\n  flex-wrap: wrap;\n  margin: 12px 18px;\n}\n.month-arrow[data-v-581f6c6b] {\n  flex: 0 0 30px;\n  width: 30px;\n  height: 40px;\n  cursor: pointer;\n}\n.month-arrow svg[data-v-581f6c6b] {\n  width: 20px;\n  height: 24px;\n  margin: 10px 5px;\n}\n.month-arrow.left[data-v-581f6c6b] {\n  text-align: right;\n}\n.month-arrow.right[data-v-581f6c6b] {\n  text-align: left;\n}\n.month-arrow.right svg[data-v-581f6c6b] {\n  margin: 10px 0 10px 10px;\n}\n.year-arrow[data-v-581f6c6b] {\n  flex: 0 0 40px;\n  width: 40px;\n  height: 40px;\n  cursor: pointer;\n}\n.year-arrow svg[data-v-581f6c6b] {\n  width: 20px;\n  height: 24px;\n  margin: 10px;\n}\n.year-arrow.left[data-v-581f6c6b] {\n}\n.year-arrow.right[data-v-581f6c6b] {\n  text-align: right;\n}\n.date-label[data-v-581f6c6b] {\n  width: 142px;\n  flex: 0 0 142px;\n  margin-top: 10px;\n  text-align: center;\n  font-weight: bold;\n}\n.month-arrows-only .date-label[data-v-581f6c6b] {\n  width: 202px;\n  flex: 0 0 202px;\n}\n.month-arrows-only .month-arrow[data-v-581f6c6b] {\n  flex: 0 0 40px;\n  width: 40px;\n}\n.month-arrows-only .month-arrow svg[data-v-581f6c6b] {\n  margin: 10px;\n}\n.date-cell .circle[data-v-581f6c6b] {\n  border-radius: 50%;\n  width: 30px;\n  height: 30px;\n  padding: 2px 0;\n  margin: 5px;\n}\n.date-cell.selected .circle[data-v-581f6c6b] {\n  color: #FFF;\n  background: #036;\n}\n.date-cell.date-today .circle[data-v-581f6c6b] {\n  border: solid thin #154373;\n}\n.date-cell .circle[data-v-581f6c6b]:hover {\n  background: #b3c2d2;\n  color: #000;\n}\n.no-select[data-v-581f6c6b] {\n  -webkit-touch-callout: none; /* iOS Safari */\n    -webkit-user-select: none; /* Safari */ /* Konqueror HTML */\n       -moz-user-select: none; /* Old versions of Firefox */\n        -ms-user-select: none; /* Internet Explorer/Edge */\n            user-select: none; /* Non-prefixed version, currently\n                                  supported by Chrome, Edge, Opera and Firefox */\n}\n",""]),module.exports=exports},1019:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__(548)},1020:function(module,exports,__webpack_require__){(exports=__webpack_require__(53)(!1)).push([module.i,"\nsvg[data-v-37bae90e] {\n  width: 0.875em;\n  height: 1em;\n  vertical-align: -0.125em;\n}\n",""]),module.exports=exports},1021:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__(549)},1022:function(module,exports,__webpack_require__){(exports=__webpack_require__(53)(!1)).push([module.i,"\nlegend[data-v-36a73e24] {\n  font-size: 1rem;\n}\n.date-row[data-v-36a73e24] {\n  display: flex;\n  flex-wrap: nowrap;\n}\nlabel[data-v-36a73e24] {\n  border: 0;\n  clip: rect(0 0 0 0);\n  height: 1px;\n  margin: -1px;\n  overflow: hidden;\n  padding: 0;\n  position: absolute;\n  width: 1px;\n}\n.monthSelect[data-v-36a73e24] {\n  width: 160px;\n  max-width: auto;\n  margin-right: 1em;\n}\n.dayInput[data-v-36a73e24] {\n  width: 50px;\n  margin-right: 1em;\n}\n.yearInput[data-v-36a73e24] {\n  width: 65px;\n  margin-right: 1em;\n}\n.date-picker-icon[data-v-36a73e24] {\n  width: 32px;\n  height: 39px;\n  font-size: 26px;\n  cursor: pointer;\n}\n.date-picker-container[data-v-36a73e24] {\n  position: relative;\n}\n.date-picker[data-v-36a73e24] {\n  position: absolute;\n  top: 18px;\n  right: 0;\n  z-index: 1;\n}\n",""]),module.exports=exports},1023:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"Example",(function(){return Example}));__webpack_require__(3),__webpack_require__(5);var _src_components_DatePicker_vue__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(207);__webpack_exports__.default={title:"Components/DatePicker",component:_src_components_DatePicker_vue__WEBPACK_IMPORTED_MODULE_2__.a,argTypes:{}};var Example=function Template(args,_ref){var argTypes=_ref.argTypes;return{props:Object.keys(argTypes),components:{DatePicker:_src_components_DatePicker_vue__WEBPACK_IMPORTED_MODULE_2__.a},template:'<DatePicker v-bind="$props" />'}}.bind({});Example.parameters=Object.assign({storySource:{source:"(args, { argTypes }) => ({\n  props: Object.keys(argTypes),\n  components: { DatePicker },\n  template: '<DatePicker v-bind=\"$props\" />',\n})"}},Example.parameters)},1024:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__(550)},1025:function(module,exports,__webpack_require__){(exports=__webpack_require__(53)(!1)).push([module.i,"\n.progress-labels[data-v-0115f72a] {\n  display: flex;\n  justify-content: space-between;\n}\n.legend-item[data-v-0115f72a] {\n  display: flex;\n}\n.legend-item-color[data-v-0115f72a] {\n  width: 1.2rem;\n  height: 1.2rem;\n  margin-top: 0.2rem;\n  margin-right: .5rem;\n  border-radius: 0.25rem;\n}\n.legend-item-label[data-v-0115f72a] {\n  flex: 1 1;\n}\n",""]),module.exports=exports},1029:function(module,exports){},1030:function(module,exports){},1031:function(module,exports){},1032:function(module,exports){},1033:function(module,exports){},1038:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__(553)},1039:function(module,exports,__webpack_require__){(exports=__webpack_require__(53)(!1)).push([module.i,"\n.file-uploader-container[data-v-5a98354b] {\n  border: 2px dashed #d3d3d3;\n  margin-bottom: 10px;\n  border-radius: 8px;\n  padding: 2em 4em;\n}\n.error-message[data-v-5a98354b] {\n  color: #D8292F;\n}\n.item-list.thumbnail[data-v-5a98354b] {\n  display: flex;\n  flex-wrap: wrap;\n}\n.thumbnail-image-container[data-v-5a98354b] {\n  width: 100px;\n  height: 100px;\n  margin: 0 20px 20px 0;\n  border: solid thin #CCC;\n  border-radius: 5px;\n  position: relative;\n  text-align: center;\n}\n.thumbnail-image-container img[data-v-5a98354b] {\n  max-width: 98px;\n  max-height: 98px;\n}\n.thumbnail-image-container .remove-link[data-v-5a98354b] {\n  position: absolute;\n  top: 0;\n  right: 0;\n}\n.remove-icon[data-v-5a98354b] {\n  vertical-align: top;\n  height: 20px;\n  width: 20px;\n  border-radius: 3px;\n  background: #FFF;\n}\n",""]),module.exports=exports},1040:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__(554)},1041:function(module,exports,__webpack_require__){(exports=__webpack_require__(53)(!1)).push([module.i,"\n.footer-links[data-v-0515d006] {\n  margin: 0;\n  padding: 0;\n}\n@media (min-width: 767.98px) {\n.footer-links li[data-v-0515d006] {\n    border-right: thin solid #4b5e73;\n}\n.footer-links li[data-v-0515d006]:last-child {\n    border-right: none;\n}\n}\n.version[data-v-0515d006] {\n  font-size: 0.75rem;\n  color: white;\n}\na[data-v-0515d006], a[data-v-0515d006]:visited {\n  color: white;\n  text-decoration: none;\n}\na[data-v-0515d006]:hover {\n  text-decoration: underline;\n}\nul[data-v-0515d006] {\n  list-style: none;\n}\n@media print {\n.print-hide[data-v-0515d006] {\n    display: none;\n}\na[data-v-0515d006], a[data-v-0515d006]:visited {\n    color: #000;\n}\n}\n",""]),module.exports=exports},1042:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__(555)},1043:function(module,exports,__webpack_require__){(exports=__webpack_require__(53)(!1)).push([module.i,"\n.navbar[data-v-1560b929] {\n  min-height: 65px;\n}\n.navbar > .container-fluid[data-v-1560b929] {\n  width: 95%;\n  justify-content: inherit;\n}\n.pointer[data-v-1560b929] {\n  cursor: pointer;\n}\n.logo-container[data-v-1560b929] {\n  width: 181px;\n  height: 44px;\n}\n.print-mainlogo[data-v-1560b929] {\n  display: none;\n}\n@media (max-width: 767.98px) {\n.logo-container[data-v-1560b929] {\n    width: 64px;\n    height: 44px;\n}\n}\n@media print {\n.print-hide[data-v-1560b929] {\n    display: none !important;\n}\n.navbar[data-v-1560b929] {\n    display: block;\n}\n.print-mainlogo[data-v-1560b929] {\n    display: inline-block;\n}\n.navbar-dark .navbar-brand[data-v-1560b929] {\n    color: #000;\n}\n}\n@media (min-width: 768px) {\n.title-container[data-v-1560b929] {\n        display: inline-block !important;\n}\n}\n",""]),module.exports=exports},1044:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"Example",(function(){return Example}));__webpack_require__(3),__webpack_require__(5);var _src_components_Loader_vue__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(155);__webpack_exports__.default={title:"Components/Loader",component:_src_components_Loader_vue__WEBPACK_IMPORTED_MODULE_2__.a,argTypes:{}};var Example=function Template(args,_ref){var argTypes=_ref.argTypes;return{props:Object.keys(argTypes),components:{Loader:_src_components_Loader_vue__WEBPACK_IMPORTED_MODULE_2__.a},template:'<Loader v-bind="$props" />'}}.bind({});Example.args={size:"50px",color:"black"},Example.parameters=Object.assign({storySource:{source:"(args, { argTypes }) => ({\n  props: Object.keys(argTypes),\n  components: { Loader },\n  template: '<Loader v-bind=\"$props\" />',\n})"}},Example.parameters)},1045:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__(556)},1046:function(module,exports,__webpack_require__){(exports=__webpack_require__(53)(!1)).push([module.i,"\n@media print {\n.page-content {\n    min-height: auto !important;\n}\n}\n",""]),module.exports=exports},1047:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__(557)},1048:function(module,exports,__webpack_require__){(exports=__webpack_require__(53)(!1)).push([module.i,'\n.progress-bar-component[data-v-6256d7b4] {\n  flex: 1 1;\n  padding: 2em 0 0 0;\n  min-height: 65px;\n}\n.horizontal-stepper-visible-container[data-v-6256d7b4] {\n  overflow-x: auto;\n  scroll-behavior: smooth;\n  min-height: 60px;\n  transform: translateY(-6px);\n}\n.horizontal-stepper-container[data-v-6256d7b4] {\n  padding-top: 6px;\n}\n.progress-bar-container[data-v-6256d7b4] {\n  background-color: #adb5bd;\n  border-radius: 0.25rem;\n  transform: translateY(-2px);\n  height: 0.5rem;\n}\n.progress-bar[data-v-6256d7b4] {\n  height: 100%;\n  border-radius: 0.25rem;\n  background: #036;\n}\n.step-container[data-v-6256d7b4] {\n  display: flex;\n  justify-content: space-around;\n}\n.step[data-v-6256d7b4] {\n  position: relative;\n  transform: translateX(-0.5em);\n  margin-top: 2px;\n}\n.step[data-v-6256d7b4]:before {\n  content: " ";\n  position: absolute;\n  width: 1em;\n  height: 1em;\n  border-radius: 100%;\n  background: #fff;\n  color: #000;\n  border: 2px solid #606060;\n  right: 0;\n  left: 0;\n  margin: 0 auto;\n  bottom: 100%;\n}\n.step-selected[data-v-6256d7b4]:before {\n  border: 2px solid #036;\n}\n.step-passed[data-v-6256d7b4]:before {\n  border: 2px solid #036;\n  background: #036;\n}\n.step-text[data-v-6256d7b4] {\n  position: absolute;\n  transform: translateX(-37%);\n  white-space: nowrap;\n  color: #000;\n  background: #FFF;\n  font-weight: normal;\n  font-size: 13.33px;\n}\n.step-text a[data-v-6256d7b4] {\n  color: #000;\n  text-decoration: none;\n}\n.step-text-selected[data-v-6256d7b4] {\n  font-weight: bold;\n}\n.mobile-progress-bar-container[data-v-6256d7b4] {\n  display: none;\n  font-weight: bold;\n  position: relative;\n}\n.mobile-step-container[data-v-6256d7b4] {\n  display: none;\n  font-weight: bold;\n  padding: 16px 16px 0 16px;\n}\n@media only screen and (max-width: 480px) {\n.horizontal-stepper-visible-container[data-v-6256d7b4] {\n    display: none;\n}\n.progress-bar-component[data-v-6256d7b4] {\n    padding: 0;\n}\n.progress-bar-container[data-v-6256d7b4],\n  .step-container[data-v-6256d7b4] {\n    display: none;\n}\n.mobile-step-container[data-v-6256d7b4] {\n    display: block;\n    font-size: 13.33px;\n}\n.mobile-progress-bar-container[data-v-6256d7b4] {\n    display: block;\n}\n}\n.hide[data-v-6256d7b4] {\n  display: none;\n}\n.chevron-container[data-v-6256d7b4] {\n  display: flex;\n  justify-content: center;\n  align-items: flex-end;\n  padding: 16px 0;\n}\n.chevron-icon[data-v-6256d7b4] {\n  width: 16px;\n  height: 16px;\n}\n.v-step[data-v-6256d7b4] {\n  position: relative;\n  margin-top: 10px;\n  height: 30px;\n}\n.v-step[data-v-6256d7b4]:before {\n  content: " ";\n  position: absolute;\n  width: 1em;\n  height: 1em;\n  border-radius: 100%;\n  background: #fff;\n  color: #000;\n  border: 2px solid #606060;\n  left: 0;\n  margin: 13px auto auto 16px;\n}\n.v-step-selected[data-v-6256d7b4]:before {\n  border: 2px solid #036;\n}\n.v-step-passed[data-v-6256d7b4]:before {\n  border: 2px solid #036;\n  background: #036;\n}\n.v-step-text[data-v-6256d7b4] {\n  position: absolute;\n  transform: translateY(10px);\n  white-space: nowrap;\n  color: #000;\n  font-weight: normal;\n  font-size: 13.33px;\n  margin-left: 48px;\n}\n.v-step-text-selected[data-v-6256d7b4] {\n  font-weight: bold;\n}\n.v-progress-bar-container[data-v-6256d7b4] {\n  background-color: #606060;\n  width: 0.25rem;\n  border-radius: 0.25rem;\n  position: absolute;\n  height: 100%;\n  height: calc(100% - 30px - 32px); /* - top/bottom progress bar padding - top/bottom chevron padding */\n  margin-top: 13px;\n  left: 22px;\n}\n.v-progress-bar[data-v-6256d7b4] {\n  width: 100%;\n  border-radius: 0.25rem;\n  display: flex;\n  flex-direction: column;\n  justify-content: center;\n  color: #fff;\n  text-align: center;\n  white-space: nowrap;\n  background-color: #036;\n  transition: height 0.6s ease;\n}\n',""]),module.exports=exports},1049:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__(558)},1050:function(module,exports,__webpack_require__){(exports=__webpack_require__(53)(!1)).push([module.i,"\n.modal.show[data-v-26b7f5c2] {\n  display: block;\n  background-color: rgba(0, 0, 0, 0.4);\n  overflow-y: scroll;\n}\n.modal-header[data-v-26b7f5c2] {\n  background: #036;\n  color: #FFF;\n}\n",""]),module.exports=exports},1051:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__(559)},1052:function(module,exports,__webpack_require__){(exports=__webpack_require__(53)(!1)).push([module.i,'\n.label[data-v-a609697e] {\n  font-size: inherit;\n}\n@-webkit-keyframes ripple-data-v-a609697e {\n0% {\n    box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.0);\n}\n50% {\n    box-shadow: 0px 0px 0px 15px rgba(0, 0, 0, 0.1);\n}\n100% {\n    box-shadow: 0px 0px 0px 15px rgba(0, 0, 0, 0);\n}\n}\n@keyframes ripple-data-v-a609697e {\n0% {\n    box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.0);\n}\n50% {\n    box-shadow: 0px 0px 0px 15px rgba(0, 0, 0, 0.1);\n}\n100% {\n    box-shadow: 0px 0px 0px 15px rgba(0, 0, 0, 0);\n}\n}\n.horizontal-radio-container[data-v-a609697e] {\n  display: flex;\n}\n.md-radio[data-v-a609697e] {\n  margin: 10px 0;\n  display: block;\n  position: relative;\n  cursor: pointer;\n  -webkit-user-select: none;\n  -moz-user-select: none;\n  -ms-user-select: none;\n  user-select: none;\n}\n.md-radio input[type="radio"][data-v-a609697e] {\n  position: absolute;\n  opacity: 0;\n  cursor: pointer;\n  height: 0;\n  width: 0;\n}\n.md-radio input[type="radio"]:checked + label[data-v-a609697e]:before {\n  border-color: #606060;\n  -webkit-animation: ripple-data-v-a609697e 0.2s linear forwards;\n          animation: ripple-data-v-a609697e 0.2s linear forwards;\n}\n.md-radio input[type="radio"]:checked + label[data-v-a609697e]:after {\n  transform: scale(1);\n}\n.md-radio input[type="radio"]:focus + label[data-v-a609697e]:before {\n  box-shadow: 0 0 0 5px rgba(0, 0, 0, 0.1);\n  -webkit-animation: none;\n          animation: none;\n}\n.md-radio label[data-v-a609697e] {\n  display: inline-block;\n  height: auto;\n  position: relative;\n  padding: 0 30px;\n  margin-bottom: 0;\n  cursor: pointer;\n  vertical-align: bottom;\n}\n.md-radio label[data-v-a609697e]:before,\n.md-radio label[data-v-a609697e]:after {\n  position: absolute;\n  content: \'\';\n  border-radius: 50%;\n  transition: all .3s ease;\n  transition-property: transform, border-color;\n}\n\n/* Outer circle of radio. */\n.md-radio label[data-v-a609697e]:before {\n  top: 2px;\n  left: 0;\n  width: 18px;\n  height: 18px;\n  border: 2px solid #606060;\n  background-color: #FFF;\n}\n\n/* Inner circle when radio is selected. */\n.md-radio label[data-v-a609697e]:after {\n  top: 7px;\n  left: 5px;\n  width: 8px;\n  height: 8px;\n  transform: scale(0);\n  background: #606060;\n}\n',""]),module.exports=exports},1053:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__(560)},1054:function(module,exports,__webpack_require__){(exports=__webpack_require__(53)(!1)).push([module.i,"\n.remaining-chars[data-v-41b217d6] {\n  text-align: right;\n  font-size: 13.33px;\n}\n.remaining-chars.error[data-v-41b217d6] {\n  color: #D8292F;\n}\n",""]),module.exports=exports},1055:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__(561)},1056:function(module,exports,__webpack_require__){(exports=__webpack_require__(53)(!1)).push([module.i,"\nlegend[data-v-d57761dc] {\n  font-size: 1rem;\n}\n.time-row[data-v-d57761dc] {\n  display: flex;\n  flex-wrap: nowrap;\n}\nlabel[data-v-d57761dc] {\n  border: 0;\n  clip: rect(0 0 0 0);\n  height: 1px;\n  margin: -1px;\n  overflow: hidden;\n  padding: 0;\n  position: absolute;\n  width: 1px;\n}\n.hour-select[data-v-d57761dc] {\n  width: 90px;\n  max-width: auto;\n  margin-right: 5px;\n}\n.time-colon[data-v-d57761dc] {\n  margin-right: 5px;\n  font-size: 24px;\n}\n.minute-select[data-v-d57761dc] {\n  width: 90px;\n  max-width: auto;\n}\n",""]),module.exports=exports},1057:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"Example",(function(){return Example})),__webpack_require__.d(__webpack_exports__,"ScrollableExample",(function(){return ScrollableExample}));__webpack_require__(3),__webpack_require__(111),__webpack_require__(5);var Button=__webpack_require__(82),cypress_mixin=(__webpack_require__(61),__webpack_require__(47),__webpack_require__(63),__webpack_require__(26)),componentNormalizer=__webpack_require__(9);const __vuedocgen_export_0=Object(componentNormalizer.a)({},(function(){var _h=this.$createElement,_c=this._self._c||_h;return _c("svg",{staticStyle:{"enable-background":"new 0 0 448 512"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 448 512","xml:space":"preserve",role:"img",alt:"Chevron down icon","aria-hidden":"true"}},[_c("g",[_c("path",{attrs:{d:"M207.029 381.476L12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z"}})])])}),[],!1,null,null,null).exports;var IconChevronDown=__vuedocgen_export_0;__vuedocgen_export_0.__docgenInfo={displayName:"IconChevronDown",description:"",tags:{}};const IconChevronUp_vuedocgen_export_0=Object(componentNormalizer.a)({},(function(){var _h=this.$createElement,_c=this._self._c||_h;return _c("svg",{staticStyle:{"enable-background":"new 0 0 448 512"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 448 512","xml:space":"preserve",role:"img",alt:"Chevron up icon","aria-hidden":"true"}},[_c("g",[_c("path",{attrs:{fill:"currentColor",d:"M240.971 130.524l194.343 194.343c9.373 9.373 9.373 24.569 0 33.941l-22.667 22.667c-9.357 9.357-24.522 9.375-33.901.04L224 227.495 69.255 381.516c-9.379 9.335-24.544 9.317-33.901-.04l-22.667-22.667c-9.373-9.373-9.373-24.569 0-33.941L207.03 130.525c9.372-9.373 24.568-9.373 33.941-.001z"}})])])}),[],!1,null,null,null).exports;var IconChevronUp=IconChevronUp_vuedocgen_export_0;IconChevronUp_vuedocgen_export_0.__docgenInfo={displayName:"IconChevronUp",description:"",tags:{}};var components_DynamicTagWrappervue_type_script_lang_js_={name:"DynamicTagWrapper",render:function render(createElement){return createElement(this.tag,{attrs:this.$attrs,on:this.$listeners},this.$slots.default)},props:{tag:{type:String,required:!0}}};const DynamicTagWrapper_vuedocgen_export_0=Object(componentNormalizer.a)(components_DynamicTagWrappervue_type_script_lang_js_,undefined,undefined,!1,null,null,null).exports;var DynamicTagWrapper=DynamicTagWrapper_vuedocgen_export_0;DynamicTagWrapper_vuedocgen_export_0.__docgenInfo={displayName:"DynamicTagWrapper",exportName:"default",description:"",tags:{},props:[{name:"tag",type:{name:"string"},required:!0}],slots:[{name:"default"}]};var components_PageSteppervue_type_script_lang_js_={name:"PageStepper",components:{DynamicTagWrapper:DynamicTagWrapper,IconChevronDown:IconChevronDown,IconChevronUp:IconChevronUp},mixins:[cypress_mixin.a],props:{currentPath:{type:String},routes:{type:Array,default:function _default(){return[]}},isMobileStepperOpen:{type:Boolean,default:!1},minStepLabelWidth:{type:Number,default:100}},computed:{hideMobileStep:function hideMobileStep(){return this.isMobileStepperOpen},hideMobileProgress:function hideMobileProgress(){return!this.isMobileStepperOpen},progressBarStyles:function progressBarStyles(){var _this=this,index=this.routes.findIndex((function(element){return element.path===_this.currentPath}));return{width:100/this.routes.length*index+100/this.routes.length/2+"%"}},verticalProgressBarStyles:function verticalProgressBarStyles(){var _this2=this;return{height:this.routes.findIndex((function(element){return element.path===_this2.currentPath}))/(this.routes.length-1)*100+"%"}},currentStepNumber:function currentStepNumber(){var _this3=this;return this.routes.findIndex((function(element){return element.path.includes(_this3.currentPath)}))+1},currentStepTitle:function currentStepTitle(){var _this4=this,index=this.routes.findIndex((function(element){return element.path.includes(_this4.currentPath)}));return this.routes[index].title},isCurrentPathInSteps:function isCurrentPathInSteps(){var _this5=this;return this.routes.findIndex((function(element){return element.path===_this5.currentPath}))>-1},horizontalStepperStyles:function horizontalStepperStyles(){return{minWidth:this.minStepLabelWidth*this.routes.length+"px"}}},methods:{handleClickLink:function handleClickLink(path){this.isPastPath(path)&&this.$emit("onClickLink",path)},getLinkStyles:function getLinkStyles(path){return{cursor:this.isPastPath(path)?"pointer":"default"}},openDropdown:function openDropdown(){this.$emit("toggleShowMobileDetails",!0)},closeDropdown:function closeDropdown(){this.$emit("toggleShowMobileDetails",!1)},isPastPath:function isPastPath(path){for(var i=0;i<this.routes.length;i++){if(this.routes[i].path===this.currentPath)return!1;if(this.routes[i].path===path)return!0}return!1},scrollToStep:function scrollToStep(index){var container=this.$refs.horizontalStepperVisibleContainer,xPosition=this.minStepLabelWidth*index+this.minStepLabelWidth/2;container&&(container.scrollLeft=xPosition-container.clientWidth/2)}},watch:{currentPath:function currentPath(newValue){var routeIndex=this.routes.findIndex((function(route){return route.path===newValue}));this.isCurrentPathInSteps&&this.scrollToStep(routeIndex)}}};__webpack_require__(1047);const PageStepper_vuedocgen_export_0=Object(componentNormalizer.a)(components_PageSteppervue_type_script_lang_js_,(function(){var _vm=this,_h=_vm.$createElement,_c=_vm._self._c||_h;return _vm.isCurrentPathInSteps?_c("nav",{staticClass:"progress-bar-component"},[_c("div",{ref:"horizontalStepperVisibleContainer",staticClass:"horizontal-stepper-visible-container"},[_c("div",{staticClass:"horizontal-stepper-container",style:_vm.horizontalStepperStyles},[_c("div",{staticClass:"progress-bar-container"},[_c("div",{staticClass:"progress-bar",style:_vm.progressBarStyles})]),_vm._v(" "),_c("div",{staticClass:"step-container"},_vm._l(_vm.routes,(function(route,index){return _c("div",{key:route.path},[_c("div",{staticClass:"step",class:{"step-selected":index+1===_vm.currentStepNumber,"step-passed":index+1<_vm.currentStepNumber}},[_c("div",{staticClass:"step-text",class:{"v-step-text-selected":index+1===_vm.currentStepNumber}},[_c("DynamicTagWrapper",{style:_vm.getLinkStyles(route.path),attrs:{tag:index+1<_vm.currentStepNumber?"a":"span",href:"javascript:void(0);","data-cy":_vm.getCypressValue(index)},on:{click:function($event){return _vm.handleClickLink(route.path)}}},[_vm._v("\n                "+_vm._s(route.title)+"\n              ")])],1)])])})),0)])]),_vm._v(" "),_c("div",{staticClass:"mobile-step-container border-bottom",class:{hide:_vm.hideMobileStep}},[_c("div",[_vm._v("Step "+_vm._s(_vm.currentStepNumber)+"/"+_vm._s(_vm.routes.length)+" - "+_vm._s(_vm.currentStepTitle))]),_vm._v(" "),_c("div",{staticClass:"chevron-container",on:{click:_vm.openDropdown}},[_c("IconChevronDown",{staticClass:"chevron-icon"})],1)]),_vm._v(" "),_c("div",{staticClass:"mobile-progress-bar-container border-bottom",class:{hide:_vm.hideMobileProgress}},[_c("div",{staticClass:"v-progress-bar-container"},[_c("div",{staticClass:"v-progress-bar",style:_vm.verticalProgressBarStyles})]),_vm._v(" "),_c("div",_vm._l(_vm.routes,(function(route,index){return _c("a",{key:route.path,attrs:{href:"javascript:void(0);"},on:{click:function($event){return _vm.handleClickLink(route.path)}}},[_c("div",{staticClass:"v-step",class:{"v-step-selected":index+1===_vm.currentStepNumber,"v-step-passed":index+1<_vm.currentStepNumber}},[_c("div",{staticClass:"v-step-text",class:{"v-step-text-selected":index+1===_vm.currentStepNumber}},[_vm._v(_vm._s(route.title))])])])})),0),_vm._v(" "),_c("div",{staticClass:"chevron-container",on:{click:_vm.closeDropdown}},[_c("IconChevronUp",{staticClass:"chevron-icon"})],1)])]):_vm._e()}),[],!1,null,"6256d7b4",null).exports;var PageStepper=PageStepper_vuedocgen_export_0;PageStepper_vuedocgen_export_0.__docgenInfo={exportName:"default",displayName:"PageStepper",description:"",tags:{},props:[{name:"cypressId",mixin:{name:"cypress-mixin",path:"../mixins/cypress-mixin.js"},type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"currentPath",type:{name:"string"}},{name:"routes",type:{name:"array"},defaultValue:{func:!1,value:"[]"}},{name:"isMobileStepperOpen",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}},{name:"minStepLabelWidth",type:{name:"number"},defaultValue:{func:!1,value:"100"}}],events:[{name:"onClickLink",type:{names:["undefined"]}},{name:"toggleShowMobileDetails",type:{names:["undefined"]}}]};__webpack_exports__.default={title:"Components/PageStepper",component:PageStepper,argTypes:{}};var Example=function Template(args,_ref){var argTypes=_ref.argTypes;return{props:Object.keys(argTypes),components:{PageStepper:PageStepper},template:'<PageStepper v-bind="$props" />'}}.bind({});Example.args={currentPath:"/page-c",routes:[{path:"/page-a",title:"Page A"},{path:"/page-b",title:"Page B"},{path:"/page-c",title:"Page C"},{path:"/page-d",title:"Page D"},{path:"/page-e",title:"Page E"}]};var scrollableExampleRoutes=[{path:"/page-a",title:"Page A"},{path:"/page-b",title:"Page B"},{path:"/page-c",title:"Page C"},{path:"/page-d",title:"Page D"},{path:"/page-e",title:"Page E"},{path:"/page-f",title:"Page F"},{path:"/page-g",title:"Page G"},{path:"/page-h",title:"Page H"},{path:"/page-i",title:"Page I"},{path:"/page-j",title:"Page J"},{path:"/page-k",title:"Page K"},{path:"/page-l",title:"Page L"},{path:"/page-m",title:"Page M"}],ScrollableExample=function ScrollableTemplate(args,_ref2){var argTypes=_ref2.argTypes;return{props:Object.keys(argTypes),components:{Button:Button.a,PageStepper:PageStepper},data:function data(){return{currentPathStr:"/page-c",routesCollection:scrollableExampleRoutes}},methods:{handleClickBack:function handleClickBack(){var _this=this,currentIndex=this.routesCollection.findIndex((function(route){return route.path===_this.currentPathStr}));currentIndex>0&&(this.currentPathStr=this.routesCollection[currentIndex-1].path)},handleClickNext:function handleClickNext(){var _this2=this,currentIndex=this.routesCollection.findIndex((function(route){return route.path===_this2.currentPathStr}));currentIndex<this.routesCollection.length-1&&(this.currentPathStr=this.routesCollection[currentIndex+1].path)}},template:'\n  <div>\n    <PageStepper :routes="routesCollection"\n      :currentPath="currentPathStr"\n      :minStepLabelWidth="200" />\n    <Button label="Back"\n      @click="handleClickBack"/>\n    <Button label="Next"\n      @click="handleClickNext"/>\n  </div>\n  '}}.bind({});Example.parameters=Object.assign({storySource:{source:"(args, { argTypes }) => ({\n  props: Object.keys(argTypes),\n  components: { PageStepper },\n  template: '<PageStepper v-bind=\"$props\" />',\n})"}},Example.parameters),ScrollableExample.parameters=Object.assign({storySource:{source:'(args, { argTypes }) => ({\n  props: Object.keys(argTypes),\n  components: {\n    Button,\n    PageStepper,\n  },\n  data: () => {\n    return {\n      currentPathStr: \'/page-c\',\n      routesCollection: scrollableExampleRoutes,\n    };\n  },\n  methods: {\n    handleClickBack() {\n      const currentIndex = this.routesCollection.findIndex((route) => route.path === this.currentPathStr);\n      if (currentIndex > 0) {\n        this.currentPathStr = this.routesCollection[currentIndex - 1].path;\n      }\n    },\n    handleClickNext() {\n      const currentIndex = this.routesCollection.findIndex((route) => route.path === this.currentPathStr);\n      if (currentIndex < this.routesCollection.length - 1) {\n        this.currentPathStr = this.routesCollection[currentIndex + 1].path;\n      }\n    }\n  },\n  template: `\n  <div>\n    <PageStepper :routes="routesCollection"\n      :currentPath="currentPathStr"\n      :minStepLabelWidth="200" />\n    <Button label="Back"\n      @click="handleClickBack"/>\n    <Button label="Next"\n      @click="handleClickNext"/>\n  </div>\n  `,\n})'}},ScrollableExample.parameters)},1058:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"Example",(function(){return Example}));__webpack_require__(3),__webpack_require__(5),__webpack_require__(11),__webpack_require__(80);var DatePicker=__webpack_require__(207),cypress_mixin=__webpack_require__(26),blur_mixin=__webpack_require__(32),componentNormalizer=(__webpack_require__(1019),__webpack_require__(9));const __vuedocgen_export_0=Object(componentNormalizer.a)({},(function(){var _h=this.$createElement,_c=this._self._c||_h;return _c("svg",{staticStyle:{"enable-background":"new 0 0 448 512"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 448 512","xml:space":"preserve",role:"img",alt:"Calendar icon","aria-hidden":"true"}},[_c("desc",[this._v("Font awesome.")]),this._v(" "),_c("g",[_c("path",{attrs:{fill:"currentColor",d:"M0 464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V192H0v272zm320-196c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zm0 128c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zM192 268c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zm0 128c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12v-40zM64 268c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12H76c-6.6 0-12-5.4-12-12v-40zm0 128c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12H76c-6.6 0-12-5.4-12-12v-40zM400 64h-48V16c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v48H160V16c0-8.8-7.2-16-16-16h-32c-8.8 0-16 7.2-16 16v48H48C21.5 64 0 85.5 0 112v48h448v-48c0-26.5-21.5-48-48-48z"}})])])}),[],!1,null,"37bae90e",null).exports;var IconCalendar=__vuedocgen_export_0;__vuedocgen_export_0.__docgenInfo={displayName:"IconCalendar",description:"",tags:{}};__webpack_require__(598),__webpack_require__(1104),__webpack_require__(1107),__webpack_require__(1108),__webpack_require__(1109),__webpack_require__(1110);var startOfDay=__webpack_require__(206),getDaysInMonth=__webpack_require__(1105),components_DateInputvue_type_script_lang_js_={name:"DateInput",components:{DatePicker:DatePicker.a,IconCalendar:IconCalendar},mixins:[blur_mixin.a,cypress_mixin.a],props:{value:{type:Date},id:{type:String,default:""},className:{type:String,default:""},disabled:{type:Boolean,default:!1},label:{type:String,default:"Date"},isRequiredAsteriskShown:{type:Boolean,default:!1}},data:function data(){return{date:null,month:null,day:null,year:null,monthList:["January","February","March","April","May","June","July","August","September","October","November","December"],isDatePickerOpen:!1,datePickerDate:null}},created:function created(){this.value&&(this.day=this.value.getDate().toString(),this.month=this.value.getMonth(),this.year=this.value.getFullYear().toString(),this.datePickerDate=this.value)},mounted:function mounted(){window.addEventListener("close-date-picker",this.closeDatePicker),window.addEventListener("click",this.closeDatePicker),this.$refs.datePicker.addEventListener("click",this.stopPropagation)},beforeUnmount:function beforeUnmount(){window.removeEventListener("close-date-picker",this.closeDatePicker),window.removeEventListener("click",this.closeDatePicker),this.$refs.datePicker.removeEventListener("click",this.stopPropagation)},methods:{isNumber:function isNumber(evt){var charCode=(evt=evt||window.event).which?evt.which:evt.keyCode;if(!(charCode>31&&(charCode<48||charCode>57)))return!0;evt.preventDefault()},processDate:function processDate(){if(this.canCreateDate()){var year=this.getNumericValue(this.year),month=this.month,day=this.getNumericValue(this.day);this.date=Object(startOfDay.a)(new Date(year,month,day)),this.date.setFullYear(year)}else!this.date&&(this.year||this.day||this.month)||(this.date=null);this.datePickerDate=this.date,this.$emit("input",this.date),this.$emit("processDate",{date:this.date,month:this.month,day:this.day,year:this.year})},canCreateDate:function canCreateDate(){var isMonthValid="number"==typeof this.month,day=parseInt(this.day);if(0===day||!isMonthValid)return!1;var isDateValid=day<=Object(getDaysInMonth.a)(new Date(this.year,this.month,2));return!!(this.year&&this.day&&isMonthValid&&isDateValid)},getNumericValue:function getNumericValue(value){var parsed=parseInt(value,10);return isNaN(parsed)?null:parsed},onBlurDay:function onBlurDay(event){var value=event.target.value;this.day=value,this.processDate(),this.handleBlur(event)},onBlurYear:function onBlurYear(event){var value=event.target.value;this.year=value,this.processDate(),this.handleBlur(event)},onBlurMonth:function onBlurMonth(event){var value=parseInt(event.target.value);this.month=isNaN(value)?null:value,this.processDate(),this.handleBlur(event)},openCloseDatePicker:function openCloseDatePicker(event){var closeEvent;(event.stopPropagation(),this.isDatePickerOpen)?this.closeDatePicker():("function"==typeof Event?closeEvent=new Event("close-date-picker"):(closeEvent=document.createEvent("Event")).initEvent("close-date-picker",!0,!0),window.dispatchEvent(closeEvent),this.disabled||(this.isDatePickerOpen=!0))},handleDateSelected:function handleDateSelected(){this.closeDatePicker(),this.handleBlur()},closeDatePicker:function closeDatePicker(){this.isDatePickerOpen=!1},stopPropagation:function stopPropagation(event){event.stopPropagation()}},watch:{value:function value(newValue){newValue instanceof Date?(this.day=newValue.getDate().toString(),this.month=newValue.getMonth(),this.year=newValue.getFullYear().toString(),this.datePickerDate=newValue):(this.day=null,this.month=null,this.year=null,this.datePickerDate=null)},datePickerDate:function datePickerDate(newDate){this.date=newDate,this.date&&(this.day=this.date.getDate().toString(),this.month=this.date.getMonth(),this.year=this.date.getFullYear().toString()),this.$emit("input",this.date),this.$emit("processDate",{date:this.date,month:this.month,day:this.day,year:this.year})}}};__webpack_require__(1021);const DateInput_vuedocgen_export_0=Object(componentNormalizer.a)(components_DateInputvue_type_script_lang_js_,(function(){var _vm=this,_h=_vm.$createElement,_c=_vm._self._c||_h;return _c("div",{class:_vm.className},[_c("fieldset",[_c("legend",{staticClass:"date--legend"},[_vm._v("\n      "+_vm._s(_vm.label)),_vm.isRequiredAsteriskShown?_c("span",{staticClass:"required-asterisk"},[_vm._v("*")]):_vm._e()]),_vm._v(" "),_c("div",{staticClass:"date-row"},[_c("label",{attrs:{for:_vm.id+"-month"}},[_vm._v("Month:")]),_vm._v(" "),_c("select",{directives:[{name:"model",rawName:"v-model",value:_vm.month,expression:"month"}],staticClass:"form-control monthSelect",attrs:{id:_vm.id+"-month",disabled:_vm.disabled},on:{blur:function($event){return _vm.onBlurMonth($event)},change:function($event){var $$selectedVal=Array.prototype.filter.call($event.target.options,(function(o){return o.selected})).map((function(o){return"_value"in o?o._value:o.value}));_vm.month=$event.target.multiple?$$selectedVal:$$selectedVal[0]}}},[_c("option",{domProps:{value:null}},[_vm._v("Month")]),_vm._v(" "),_vm._l(_vm.monthList,(function(month,index){return _c("option",{key:index,attrs:{"data-cy":_vm.getCypressValue("Month"+index)},domProps:{value:index}},[_vm._v(_vm._s(month))])}))],2),_vm._v(" "),_c("label",{attrs:{for:_vm.id+"-day"}},[_vm._v("Day:")]),_vm._v(" "),_c("input",{directives:[{name:"model",rawName:"v-model",value:_vm.day,expression:"day"}],staticClass:"form-control dayInput",attrs:{id:_vm.id+"-day",placeholder:"DD","data-cy":_vm.getCypressValue("Day"),disabled:_vm.disabled,maxlength:"2"},domProps:{value:_vm.day},on:{blur:function($event){return _vm.onBlurDay($event)},keypress:function($event){return _vm.isNumber($event)},input:function($event){$event.target.composing||(_vm.day=$event.target.value)}}}),_vm._v(" "),_c("label",{attrs:{for:_vm.id+"-year"}},[_vm._v("Year:")]),_vm._v(" "),_c("input",{directives:[{name:"model",rawName:"v-model",value:_vm.year,expression:"year"}],staticClass:"form-control yearInput",attrs:{id:_vm.id+"-year",placeholder:"YYYY","data-cy":_vm.getCypressValue("Year"),disabled:_vm.disabled,maxlength:"4"},domProps:{value:_vm.year},on:{blur:function($event){return _vm.onBlurYear($event)},keypress:function($event){return _vm.isNumber($event)},input:function($event){$event.target.composing||(_vm.year=$event.target.value)}}}),_vm._v(" "),_c("div",{staticClass:"date-picker-icon",attrs:{"data-cy":_vm.getCypressValue("CalendarIcon")},on:{click:function($event){return _vm.openCloseDatePicker($event)}}},[_c("IconCalendar")],1),_vm._v(" "),_c("div",{ref:"datePicker",staticClass:"date-picker-container"},[_c("div",{staticClass:"date-picker"},[_vm.isDatePickerOpen?_c("DatePicker",{attrs:{cypressId:_vm.cypressId},on:{dateSelected:function($event){return _vm.handleDateSelected()}},model:{value:_vm.datePickerDate,callback:function($$v){_vm.datePickerDate=$$v},expression:"datePickerDate"}}):_vm._e()],1)])])])])}),[],!1,null,"36a73e24",null).exports;var DateInput=DateInput_vuedocgen_export_0;DateInput_vuedocgen_export_0.__docgenInfo={exportName:"default",displayName:"DateInput",description:"",tags:{},props:[{name:"cypressId",mixin:{name:"cypress-mixin",path:"../mixins/cypress-mixin.js"},type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"value",type:{name:"date"}},{name:"id",type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"className",type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"disabled",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}},{name:"label",type:{name:"string"},defaultValue:{func:!1,value:"'Date'"}},{name:"isRequiredAsteriskShown",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}}],events:[{name:"blur",mixin:{name:"blur-mixin",path:"../mixins/blur-mixin.js"},type:{names:["undefined"]}},{name:"input",type:{names:["undefined"]}},{name:"processDate",type:{names:["undefined"]}}]};__webpack_exports__.default={title:"Components/DateInput",component:DateInput,argTypes:{}};var Example=function Template(args,_ref){var argTypes=_ref.argTypes;return{props:Object.keys(argTypes),components:{DateInput:DateInput},template:'<DateInput v-bind="$props" />'}}.bind({});Example.args={label:"Example date:"},Example.parameters=Object.assign({storySource:{source:"(args, { argTypes }) => ({\n  props: Object.keys(argTypes),\n  components: { DateInput },\n  template: '<DateInput v-bind=\"$props\" />',\n})"}},Example.parameters)},1059:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"Example",(function(){return Example}));__webpack_require__(34),__webpack_require__(11),__webpack_require__(3),__webpack_require__(5);var toConsumableArray=__webpack_require__(355),asyncToGenerator=__webpack_require__(139),Button=(__webpack_require__(210),__webpack_require__(12),__webpack_require__(6),__webpack_require__(13),__webpack_require__(111),__webpack_require__(25),__webpack_require__(136),__webpack_require__(70),__webpack_require__(82)),componentNormalizer=__webpack_require__(9);const __vuedocgen_export_0=Object(componentNormalizer.a)({},(function(){var _h=this.$createElement,_c=this._self._c||_h;return _c("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 352 512"}},[_c("path",{attrs:{d:"M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"}})])}),[],!1,null,null,null).exports;var IconTimes=__vuedocgen_export_0;__vuedocgen_export_0.__docgenInfo={displayName:"IconTimes",description:"",tags:{}};var pdf=__webpack_require__(209),pdf_worker_entry=__webpack_require__(595),pdf_worker_entry_default=__webpack_require__.n(pdf_worker_entry),sha1=__webpack_require__(596),sha1_default=__webpack_require__.n(sha1),v4=__webpack_require__(1111);__webpack_require__(1036),__webpack_require__(1037);pdf.workerSrc=pdf_worker_entry_default.a,pdf.disableWorker=!0,pdf.disableStream=!0;var _processImageFile,_scaleImage,_processFile,FileUploadervue_type_script_lang_js_={name:"FileUploader",components:{Button:Button.a,IconTimes:IconTimes},props:{value:{type:Array,default:function _default(){return[]}},id:{type:String,default:""},label:{type:String},browseButtonLabel:{type:String,default:"Add a File"},allowMultipleFiles:{type:Boolean,default:!0},documentType:{type:String,default:""},description:{type:String,default:""}},data:function data(){return{errorMessage:null,isProcessingFile:!1}},methods:{openFileDialog:function openFileDialog(){this.$refs.browseFile.dispatchEvent(new MouseEvent("click"))},handleChangeFile:function handleChangeFile(event){var files=event.target.files;if(files&&0!==files.length){this.errorMessage=null;for(var i=0;i<files.length;i++)this.processFile(files[i]);event.target.value=""}},processFile:(_processFile=Object(asyncToGenerator.a)(regeneratorRuntime.mark((function _callee(file){var images,image;return regeneratorRuntime.wrap((function _callee$(_context){for(;;)switch(_context.prev=_context.next){case 0:this.isProcessingFile=!0,_context.t0=file.type,_context.next="application/pdf"===_context.t0?4:15;break;case 4:return _context.prev=4,_context.next=7,this.processPDFFile(file);case 7:images=_context.sent,this.addFileImages(file.name,images),_context.next=14;break;case 11:_context.prev=11,_context.t1=_context.catch(4),this.errorMessage=_context.t1;case 14:return _context.abrupt("break",26);case 15:return _context.prev=15,_context.next=18,this.processImageFile(file);case 18:image=_context.sent,this.addFileImages(file.name,[image]),_context.next=25;break;case 22:_context.prev=22,_context.t2=_context.catch(15),this.errorMessage=_context.t2;case 25:return _context.abrupt("break",26);case 26:this.isProcessingFile=!1;case 27:case"end":return _context.stop()}}),_callee,this,[[4,11],[15,22]])}))),function processFile(_x){return _processFile.apply(this,arguments)}),processPDFFile:function processPDFFile(file){var _this=this,reader=new FileReader,images=[];return new Promise((function(resolve,reject){reader.onload=function(){var docInitParams={data:reader.result};pdf.getDocument(docInitParams).promise.then(function(){var _ref=Object(asyncToGenerator.a)(regeneratorRuntime.mark((function _callee2(pdfDoc){var pageNumber,imageData,scaledImage;return regeneratorRuntime.wrap((function _callee2$(_context2){for(;;)switch(_context2.prev=_context2.next){case 0:if(!(pdfDoc.numPages>20)){_context2.next=3;break}return reject("This PDF has too many pages to process."),_context2.abrupt("return");case 3:pageNumber=1;case 4:if(!(pageNumber<=pdfDoc.numPages)){_context2.next=22;break}return _context2.prev=5,_context2.next=8,_this.getPage(pdfDoc,pageNumber);case 8:return imageData=_context2.sent,_context2.next=11,_this.scaleImage(imageData);case 11:scaledImage=_context2.sent,images.push(scaledImage),_context2.next=19;break;case 15:return _context2.prev=15,_context2.t0=_context2.catch(5),reject("Error reading page "+pageNumber+" of the PDF."),_context2.abrupt("return");case 19:pageNumber++,_context2.next=4;break;case 22:resolve(images);case 23:case"end":return _context2.stop()}}),_callee2,null,[[5,15]])})));return function(_x2){return _ref.apply(this,arguments)}}(),(function(){reject("Error reading PDF.")}))},reader.readAsArrayBuffer(file)}))},getPage:function getPage(pdfDoc,pageNumber){var canvas=document.createElement("canvas"),ctx=canvas.getContext("2d");return new Promise((function(resolve,reject){pdfDoc.getPage(pageNumber).then((function(page){var viewport=page.getViewport({scale:2});viewport.width&&viewport.height?(canvas.width=viewport.width,canvas.height=viewport.height):(canvas.width=viewport.viewBox[2],canvas.height=viewport.viewBox[3]);var renderContext={canvasContext:ctx,viewport:viewport};page.render(renderContext).promise.then((function(){var dataURL=canvas.toDataURL("image/jpeg",.5);resolve(dataURL)}),(function(error){reject(error)}))})).catch((function(error){reject(error)}))}))},scaleImage:(_scaleImage=Object(asyncToGenerator.a)(regeneratorRuntime.mark((function _callee5(imageData){var _this2=this;return regeneratorRuntime.wrap((function _callee5$(_context5){for(;;)switch(_context5.prev=_context5.next){case 0:return _context5.abrupt("return",new Promise((function(resolve,reject){var img=document.createElement("img");img.onload=Object(asyncToGenerator.a)(regeneratorRuntime.mark((function _callee4(){var canvas,ctx,targetWidth,targetHeight;return regeneratorRuntime.wrap((function _callee4$(_context4){for(;;)switch(_context4.prev=_context4.next){case 0:canvas=document.createElement("canvas"),ctx=canvas.getContext("2d"),targetWidth=Math.floor(.8*img.width),targetHeight=Math.floor(.8*img.height),canvas.width=targetWidth,canvas.height=targetHeight,ctx.drawImage(img,0,0,targetWidth,targetHeight),canvas.toBlob(function(){var _ref3=Object(asyncToGenerator.a)(regeneratorRuntime.mark((function _callee3(blob){var scaledImageData;return regeneratorRuntime.wrap((function _callee3$(_context3){for(;;)switch(_context3.prev=_context3.next){case 0:if(scaledImageData=canvas.toDataURL("image/jpeg",.5),!(blob.size>1048576)){_context3.next=9;break}return _context3.t0=resolve,_context3.next=5,_this2.scaleImage(scaledImageData);case 5:_context3.t1=_context3.sent,(0,_context3.t0)(_context3.t1),_context3.next=10;break;case 9:resolve(scaledImageData);case 10:case"end":return _context3.stop()}}),_callee3)})));return function(_x4){return _ref3.apply(this,arguments)}}());case 8:case"end":return _context4.stop()}}),_callee4)}))),img.onerror=function(){reject()},img.src=imageData})));case 1:case"end":return _context5.stop()}}),_callee5)}))),function scaleImage(_x3){return _scaleImage.apply(this,arguments)}),processImageFile:(_processImageFile=Object(asyncToGenerator.a)(regeneratorRuntime.mark((function _callee7(file){var reader,_this3=this;return regeneratorRuntime.wrap((function _callee7$(_context7){for(;;)switch(_context7.prev=_context7.next){case 0:return reader=new FileReader,_context7.abrupt("return",new Promise((function(resolve,reject){reader.onload=Object(asyncToGenerator.a)(regeneratorRuntime.mark((function _callee6(){var scaledImage;return regeneratorRuntime.wrap((function _callee6$(_context6){for(;;)switch(_context6.prev=_context6.next){case 0:return _context6.prev=0,_context6.next=3,_this3.scaleImage(reader.result);case 3:scaledImage=_context6.sent,resolve(scaledImage),_context6.next=10;break;case 7:_context6.prev=7,_context6.t0=_context6.catch(0),reject("Could not read image file.");case 10:case"end":return _context6.stop()}}),_callee6,null,[[0,7]])}))),reader.onerror=function(){reject("Could not read image file.")},reader.readAsDataURL(file)})));case 2:case"end":return _context7.stop()}}),_callee7)}))),function processImageFile(_x5){return _processImageFile.apply(this,arguments)}),addFileImages:function addFileImages(fileName,imageDataURLs){for(var _this4=this,images=[],i=0;i<imageDataURLs.length;i++){var imageData=imageDataURLs[i],hash=sha1_default()(imageData),uuid=Object(v4.a)();images.push({fileName:fileName+(imageDataURLs.length>1?".page-"+(i+1):""),contentType:"IMAGE_JPEG",source:imageData,documentType:this.documentType,description:this.description,hash:hash,uuid:uuid})}if(this.allowMultipleFiles){var imagesToAdd=[];images.forEach((function(image){-1===_this4.value.findIndex((function(existingImage){return existingImage.hash===image.hash}))&&imagesToAdd.push(image)})),this.$emit("input",[].concat(Object(toConsumableArray.a)(this.value),imagesToAdd))}else this.$emit("input",images)},removeImage:function removeImage(index){var images=Object(toConsumableArray.a)(this.value);images.splice(index,1),this.$emit("input",images)}},computed:{isBrowseButtonDisabled:function isBrowseButtonDisabled(){return!this.allowMultipleFiles&&this.value&&this.value.length>0}}},components_FileUploadervue_type_script_lang_js_=FileUploadervue_type_script_lang_js_;__webpack_require__(1038);const FileUploader_vuedocgen_export_0=Object(componentNormalizer.a)(components_FileUploadervue_type_script_lang_js_,(function(){var _vm=this,_h=_vm.$createElement,_c=_vm._self._c||_h;return _c("div",[_vm.label?_c("label",{attrs:{for:_vm.id}},[_vm._v("\n    "+_vm._s(_vm.label)+"\n  ")]):_vm._e(),_vm._v(" "),_c("div",{staticClass:"file-uploader-container"},[_c("input",{ref:"browseFile",staticStyle:{display:"none"},attrs:{type:"file",id:_vm.id,accept:"image/*,application/pdf",tabindex:"0",name:_vm.id,autocomplete:"off"},on:{change:function($event){return _vm.handleChangeFile($event)}}}),_vm._v(" "),_c("div",[_c("div",{class:_vm.value&&_vm.value.length>0?"mb-3":""},[_c("Button",{attrs:{label:_vm.browseButtonLabel,hasLoader:_vm.isProcessingFile,disabled:_vm.isBrowseButtonDisabled},on:{click:function($event){return _vm.openFileDialog()}}})],1),_vm._v(" "),_vm.value&&_vm.value.length>0?_c("hr"):_vm._e(),_vm._v(" "),_c("div",{staticClass:"item-list thumbnail"},_vm._l(_vm.value,(function(image,index){return _c("div",{key:index,staticClass:"thumbnail-image-container"},[_c("img",{attrs:{src:image.source}}),_vm._v(" "),_c("a",{staticClass:"remove-link",attrs:{href:"javascript:void(0)",title:"Remove image"},on:{click:function($event){return _vm.removeImage(index)}}},[_c("IconTimes",{staticClass:"remove-icon"})],1)])})),0)]),_vm._v(" "),_vm.errorMessage?_c("div",{staticClass:"error-message mt-3"},[_vm._v(_vm._s(_vm.errorMessage))]):_vm._e()])])}),[],!1,null,"5a98354b",null).exports;var FileUploader=FileUploader_vuedocgen_export_0;FileUploader_vuedocgen_export_0.__docgenInfo={displayName:"FileUploader",exportName:"default",description:"",tags:{},props:[{name:"value",type:{name:"array"},defaultValue:{func:!1,value:"[]"}},{name:"id",type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"label",type:{name:"string"}},{name:"browseButtonLabel",type:{name:"string"},defaultValue:{func:!1,value:"'Add a File'"}},{name:"allowMultipleFiles",type:{name:"boolean"},defaultValue:{func:!1,value:"true"}},{name:"documentType",type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"description",type:{name:"string"},defaultValue:{func:!1,value:"''"}}],events:[{name:"input",type:{names:["undefined"]}}]};__webpack_exports__.default={title:"Components/FileUploader",component:FileUploader,argTypes:{}};var Example=function Template(args,_ref){var argTypes=_ref.argTypes;return{props:Object.keys(argTypes).filter((function(x){return"value"!==x})),components:{FileUploader:FileUploader},data:function data(){return{files:[]}},template:'<FileUploader v-bind="$props" v-model="files" />'}}.bind({});Example.parameters=Object.assign({storySource:{source:"(args, { argTypes }) => ({\n  props: Object.keys(argTypes).filter((x) => x !== 'value'),\n  components: { FileUploader },\n  data: () => ({\n    files: [],\n  }),\n  template: '<FileUploader v-bind=\"$props\" v-model=\"files\" />',\n})"}},Example.parameters)},1063:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"Example",(function(){return Example}));__webpack_require__(3),__webpack_require__(5);var axios=__webpack_require__(273),axios_default=__webpack_require__.n(axios),Loader=__webpack_require__(155),cypress_mixin=__webpack_require__(26),blur_mixin=__webpack_require__(32),components_Captchavue_type_script_lang_js_={name:"Captcha",mixins:[blur_mixin.a,cypress_mixin.a],components:{Loader:Loader.a},props:{apiBasePath:{type:String,required:!0},nonce:{type:String,required:!0}},data:function data(){return{isLoadingNewCaptcha:!0,isLoadingCaptchaVerification:!1,isLoadingAudio:!1,captchaSVG:null,captchaValidation:null,inputAnswer:null,isInputValid:null,audio:null,errorMessage:null}},created:function created(){this.fetchNewCaptcha()},methods:{fetchNewCaptcha:function fetchNewCaptcha(){var _this=this;this.isLoadingNewCaptcha=!0,axios_default.a.post(this.apiBasePath+"/captcha",{nonce:this.nonce}).then((function(response){var payload=response.data;_this.isLoadingNewCaptcha=!1,_this.captchaSVG=payload.captcha,_this.captchaValidation=payload.validation,setTimeout((function(){_this.$emit("captchaLoaded")}),0)})).catch((function(){_this.isLoadingNewCaptcha=!1,_this.errorMessage="Could not connect to captcha service. Please try again later."}))},handleInputChange:function handleInputChange(event){var _this2=this,input=event.target.value;input&&6===input.length&&(this.isLoadingCaptchaVerification=!0,this.errorMessage=null,axios_default.a.post(this.apiBasePath+"/verify/captcha",{nonce:this.nonce,answer:input,validation:this.captchaValidation}).then((function(response){var isValid=response.data.valid,token=response.data.jwt;_this2.isInputValid=isValid,_this2.isLoadingCaptchaVerification=!1,isValid?_this2.$emit("captchaVerified",token):(_this2.errorMessage="Incorrect answer, please try again.",_this2.inputAnswer=null,_this2.fetchNewCaptcha())})).catch((function(){_this2.isLoadingCaptchaVerification=!1,_this2.errorMessage="Could not connect to captcha service. Please try again later.",_this2.inputAnswer=null})))},playAudio:function playAudio(){var _this3=this;this.isLoadingAudio||(this.isLoadingAudio=!0,this.errorMessage=null,axios_default.a.post(this.apiBasePath+"/captcha/audio",{translation:"en",validation:this.captchaValidation}).then((function(response){var audio=response.data.audio;_this3.isLoadingAudio=!1,_this3.audio=audio,setTimeout((function(){new Audio(_this3.audio).play()}),0)})).catch((function(){_this3.isLoadingAudio=!1,_this3.audio=null,_this3.errorMessage="Could not download audio captcha. Please try again later."})))},handleTryAnotherImageClick:function handleTryAnotherImageClick(){this.errorMessage=null,this.isInputValid=null,this.fetchNewCaptcha()}}},componentNormalizer=(__webpack_require__(1007),__webpack_require__(9));const __vuedocgen_export_0=Object(componentNormalizer.a)(components_Captchavue_type_script_lang_js_,(function(){var _vm=this,_h=_vm.$createElement,_c=_vm._self._c||_h;return _c("div",[_c("svg",{staticClass:"svg-defs",attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"}},[_c("defs",[_c("symbol",{attrs:{id:"icon-play-def",viewBox:"0 0 32 32"}},[_c("path",{attrs:{d:"M16 0c-8.837 0-16 7.163-16 16s7.163 16 16 16 16-7.163 16-16-7.163-16-16-16zM16 29c-7.18 0-13-5.82-13-13s5.82-13 13-13 13 5.82 13 13-5.82 13-13 13zM12 9l12 7-12 7z"}})]),_vm._v(" "),_c("symbol",{attrs:{id:"icon-loop-def",viewBox:"0 0 32 32"}},[_c("path",{attrs:{d:"M27.802 5.197c-2.925-3.194-7.13-5.197-11.803-5.197-8.837 0-16 7.163-16 16h3c0-7.18 5.82-13 13-13 3.844 0 7.298 1.669 9.678 4.322l-4.678 4.678h11v-11l-4.198 4.197z"}}),_vm._v(" "),_c("path",{attrs:{d:"M29 16c0 7.18-5.82 13-13 13-3.844 0-7.298-1.669-9.678-4.322l4.678-4.678h-11v11l4.197-4.197c2.925 3.194 7.13 5.197 11.803 5.197 8.837 0 16-7.163 16-16h-3z"}})]),_vm._v(" "),_c("symbol",{attrs:{id:"icon-check-def",viewBox:"0 0 24 24"}},[_c("path",{attrs:{d:"M9 16.172l10.594-10.594 1.406 1.406-12 12-5.578-5.578 1.406-1.406z"}})]),_vm._v(" "),_c("symbol",{attrs:{id:"icon-exclamation-triangle-def",viewBox:"0 0 28 28"}},[_c("path",{attrs:{d:"M16 21.484v-2.969c0-0.281-0.219-0.516-0.5-0.516h-3c-0.281 0-0.5 0.234-0.5 0.516v2.969c0 0.281 0.219 0.516 0.5 0.516h3c0.281 0 0.5-0.234 0.5-0.516zM15.969 15.641l0.281-7.172c0-0.094-0.047-0.219-0.156-0.297-0.094-0.078-0.234-0.172-0.375-0.172h-3.437c-0.141 0-0.281 0.094-0.375 0.172-0.109 0.078-0.156 0.234-0.156 0.328l0.266 7.141c0 0.203 0.234 0.359 0.531 0.359h2.891c0.281 0 0.516-0.156 0.531-0.359zM15.75 1.047l12 22c0.344 0.609 0.328 1.359-0.031 1.969s-1.016 0.984-1.719 0.984h-24c-0.703 0-1.359-0.375-1.719-0.984s-0.375-1.359-0.031-1.969l12-22c0.344-0.641 1.016-1.047 1.75-1.047s1.406 0.406 1.75 1.047z"}})])])]),_vm._v(" "),_vm.isLoadingNewCaptcha?_c("div",[_c("Loader",{attrs:{color:"#AAA",size:"20px"}})],1):_vm._e(),_vm._v(" "),_vm.isLoadingNewCaptcha?_vm._e():_c("div",{staticClass:"captcha-group-container"},[_c("div",{staticClass:"captcha-image-container",domProps:{innerHTML:_vm._s(_vm.captchaSVG)}}),_vm._v(" "),_c("div",{staticClass:"button-container"},[_vm.audio&&_vm.audio.length>0?_c("audio",{ref:"audio",attrs:{src:_vm.audio}},[_vm._v("\n        Your browser does not support the audio element.\n      ")]):_vm._e(),_vm._v(" "),_c("button",{staticClass:"captcha-button play-audio-button",attrs:{"data-cy":_vm.getCypressValue("PlayAudio"),role:"button"},on:{click:function($event){return _vm.playAudio()}}},[_vm.isLoadingAudio?_vm._e():_c("svg",{staticClass:"icon-play"},[_c("use",{attrs:{"xlink:href":"#icon-play-def"}})]),_vm._v(" "),_vm.isLoadingAudio?_c("svg",{staticClass:"audio-spinner",attrs:{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid"}},[_c("g",{attrs:{transform:"rotate(0 50 50)"}},[_c("rect",{attrs:{x:"45",y:"9",rx:"2.7",ry:"0.54",width:"10",height:"22",fill:"#fff"}},[_c("animate",{attrs:{attributeName:"opacity",values:"1;0",times:"0;1",dur:"1s",begin:"-0.8888888888888888s",repeatCount:"indefinite"}})])]),_vm._v(" "),_c("g",{attrs:{transform:"rotate(40 50 50)"}},[_c("rect",{attrs:{x:"45",y:"9",rx:"2.7",ry:"0.54",width:"10",height:"22",fill:"#fff"}},[_c("animate",{attrs:{attributeName:"opacity",values:"1;0",times:"0;1",dur:"1s",begin:"-0.7777777777777778s",repeatCount:"indefinite"}})])]),_vm._v(" "),_c("g",{attrs:{transform:"rotate(80 50 50)"}},[_c("rect",{attrs:{x:"45",y:"9",rx:"2.7",ry:"0.54",width:"10",height:"22",fill:"#fff"}},[_c("animate",{attrs:{attributeName:"opacity",values:"1;0",times:"0;1",dur:"1s",begin:"-0.6666666666666666s",repeatCount:"indefinite"}})])]),_vm._v(" "),_c("g",{attrs:{transform:"rotate(120 50 50)"}},[_c("rect",{attrs:{x:"45",y:"9",rx:"2.7",ry:"0.54",width:"10",height:"22",fill:"#fff"}},[_c("animate",{attrs:{attributeName:"opacity",values:"1;0",times:"0;1",dur:"1s",begin:"-0.5555555555555556s",repeatCount:"indefinite"}})])]),_vm._v(" "),_c("g",{attrs:{transform:"rotate(160 50 50)"}},[_c("rect",{attrs:{x:"45",y:"9",rx:"2.7",ry:"0.54",width:"10",height:"22",fill:"#fff"}},[_c("animate",{attrs:{attributeName:"opacity",values:"1;0",times:"0;1",dur:"1s",begin:"-0.4444444444444444s",repeatCount:"indefinite"}})])]),_vm._v(" "),_c("g",{attrs:{transform:"rotate(200 50 50)"}},[_c("rect",{attrs:{x:"45",y:"9",rx:"2.7",ry:"0.54",width:"10",height:"22",fill:"#fff"}},[_c("animate",{attrs:{attributeName:"opacity",values:"1;0",times:"0;1",dur:"1s",begin:"-0.3333333333333333s",repeatCount:"indefinite"}})])]),_vm._v(" "),_c("g",{attrs:{transform:"rotate(240 50 50)"}},[_c("rect",{attrs:{x:"45",y:"9",rx:"2.7",ry:"0.54",width:"10",height:"22",fill:"#fff"}},[_c("animate",{attrs:{attributeName:"opacity",values:"1;0",times:"0;1",dur:"1s",begin:"-0.2222222222222222s",repeatCount:"indefinite"}})])]),_vm._v(" "),_c("g",{attrs:{transform:"rotate(280 50 50)"}},[_c("rect",{attrs:{x:"45",y:"9",rx:"2.7",ry:"0.54",width:"10",height:"22",fill:"#fff"}},[_c("animate",{attrs:{attributeName:"opacity",values:"1;0",times:"0;1",dur:"1s",begin:"-0.1111111111111111s",repeatCount:"indefinite"}})])]),_vm._v(" "),_c("g",{attrs:{transform:"rotate(320 50 50)"}},[_c("rect",{attrs:{x:"45",y:"9",rx:"2.7",ry:"0.54",width:"10",height:"22",fill:"#fff"}},[_c("animate",{attrs:{attributeName:"opacity",values:"1;0",times:"0;1",dur:"1s",begin:"0s",repeatCount:"indefinite"}})])])]):_vm._e(),_vm._v(" "),_c("span",[_vm._v("Play audio")])]),_vm._v(" "),_c("button",{staticClass:"captcha-button try-another-image",attrs:{"data-cy":_vm.getCypressValue("TryAnother"),href:"javascript:void(0)",role:"button"},on:{click:function($event){return _vm.handleTryAnotherImageClick()}}},[_c("svg",{staticClass:"icon-loop"},[_c("use",{attrs:{"xlink:href":"#icon-loop-def"}})]),_vm._v(" "),_c("span",[_vm._v("Try another image")])])])]),_vm._v(" "),_c("div",{staticClass:"captcha-input-container"},[_vm._m(0),_vm._v(" "),_c("input",{directives:[{name:"model",rawName:"v-model",value:_vm.inputAnswer,expression:"inputAnswer"}],class:"form-control input-answer "+(!1===_vm.isInputValid?"border-danger":""),attrs:{id:"input-answer","data-cy":_vm.getCypressValue("Input"),disabled:!(!_vm.inputAnswer||6!==_vm.inputAnswer.length||!_vm.isLoadingCaptchaVerification),maxlength:"6",autocorrect:"off",autocomplete:"off",autocapitalize:"none","aria-required":"true"},domProps:{value:_vm.inputAnswer},on:{input:[function($event){$event.target.composing||(_vm.inputAnswer=$event.target.value)},function($event){return _vm.handleInputChange($event)}],blur:function($event){return _vm.handleBlur($event)}}}),_vm._v(" "),_vm.isLoadingCaptchaVerification?_c("div",{staticClass:"validation-spinner-container"},[_c("Loader",{attrs:{color:"#AAA",size:"20px"}})],1):_vm._e()]),_vm._v(" "),_vm.errorMessage?_c("div",{staticClass:"error-message mt-2 text-danger"},[_vm._v(_vm._s(_vm.errorMessage))]):_vm._e()])}),[function(){var _h=this.$createElement,_c=this._self._c||_h;return _c("div",[_c("label",{attrs:{for:"input-answer"}},[this._v("Enter the text you either see in the box or you hear in the audio")])])}],!1,null,"ace71792",null).exports;var Captcha=__vuedocgen_export_0;__vuedocgen_export_0.__docgenInfo={exportName:"default",displayName:"Captcha",description:"",tags:{},props:[{name:"cypressId",mixin:{name:"cypress-mixin",path:"../mixins/cypress-mixin.js"},type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"apiBasePath",type:{name:"string"},required:!0},{name:"nonce",type:{name:"string"},required:!0}],events:[{name:"blur",mixin:{name:"blur-mixin",path:"../mixins/blur-mixin.js"},type:{names:["undefined"]}},{name:"captchaLoaded"},{name:"captchaVerified",type:{names:["undefined"]}}]};__webpack_exports__.default={title:"Components/Captcha",component:Captcha,argTypes:{}};var Example=function Template(args,_ref){var argTypes=_ref.argTypes;return{props:Object.keys(argTypes),components:{Captcha:Captcha},template:'<Captcha v-bind="$props" />'}}.bind({});Example.args={apiBasePath:"/project/api/captcha",nonce:"0123456789"},Example.parameters=Object.assign({storySource:{source:"(args, { argTypes }) => ({\n  props: Object.keys(argTypes),\n  components: { Captcha },\n  template: '<Captcha v-bind=\"$props\" />',\n})"}},Example.parameters)},1064:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"Example",(function(){return Example}));__webpack_require__(34),__webpack_require__(11),__webpack_require__(3),__webpack_require__(5),__webpack_require__(47);var cypress_mixin=__webpack_require__(26),components_Checkboxvue_type_script_lang_js_={name:"Checkbox",components:{},mixins:[__webpack_require__(32).a,cypress_mixin.a],props:{value:{type:Boolean},id:{type:String,default:""},label:{type:String,default:""},className:{type:String,default:""},disabled:{type:Boolean,default:!1},icon:{type:String,default:"check",validator:function validator(value){return["check","cross"].includes(value)}}},data:function data(){return{localModel:null}},created:function created(){this.localModel=this.value},watch:{value:function value(newValue){this.localModel=newValue}},methods:{handleChange:function handleChange(){var _this=this;this.$emit("input",this.localModel),this.$nextTick((function(){_this.$refs.checkbox.focus()}))}},computed:{inputClasses:function inputClasses(){return"form-check-input icon-"+this.icon}}},componentNormalizer=(__webpack_require__(1009),__webpack_require__(9));const __vuedocgen_export_0=Object(componentNormalizer.a)(components_Checkboxvue_type_script_lang_js_,(function(){var _vm=this,_h=_vm.$createElement,_c=_vm._self._c||_h;return _c("div",{class:""+_vm.className},[_c("div",{staticClass:"form-check"},[_c("input",{directives:[{name:"model",rawName:"v-model",value:_vm.localModel,expression:"localModel"}],ref:"checkbox",class:_vm.inputClasses,attrs:{type:"checkbox",id:_vm.id,disabled:_vm.disabled,"data-cy":_vm.getCypressValue()},domProps:{checked:Array.isArray(_vm.localModel)?_vm._i(_vm.localModel,null)>-1:_vm.localModel},on:{change:[function($event){var $$a=_vm.localModel,$$el=$event.target,$$c=!!$$el.checked;if(Array.isArray($$a)){var $$i=_vm._i($$a,null);$$el.checked?$$i<0&&(_vm.localModel=$$a.concat([null])):$$i>-1&&(_vm.localModel=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}else _vm.localModel=$$c},function($event){return _vm.handleChange($event)}],blur:function($event){return _vm.handleBlur($event)}}}),_vm._v(" "),_c("label",{staticClass:"form-check-label",attrs:{for:_vm.id}},[_vm._v(_vm._s(_vm.label))])]),_vm._v(" "),_c("div",{staticClass:"slot-container"},[_vm._t("description")],2)])}),[],!1,null,"427bfa58",null).exports;var Checkbox=__vuedocgen_export_0;__vuedocgen_export_0.__docgenInfo={exportName:"default",displayName:"Checkbox",description:"",tags:{},props:[{name:"cypressId",mixin:{name:"cypress-mixin",path:"../mixins/cypress-mixin.js"},type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"value",type:{name:"boolean"}},{name:"id",type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"label",type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"className",type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"disabled",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}},{name:"icon",type:{name:"string"},defaultValue:{func:!1,value:"'check'"}}],events:[{name:"blur",mixin:{name:"blur-mixin",path:"../mixins/blur-mixin.js"},type:{names:["undefined"]}},{name:"input",type:{names:["undefined"]}}],slots:[{name:"description"}]};__webpack_exports__.default={title:"Components/Checkbox",component:Checkbox,argTypes:{}};var Example=function Template(args,_ref){var argTypes=_ref.argTypes;return{props:Object.keys(argTypes).filter((function(x){return"value"!==x})),components:{Checkbox:Checkbox},data:function data(){return{value:null}},template:'<Checkbox v-bind="$props" v-model="value" />'}}.bind({});Example.args={label:"Toggle me!",id:"checkbox"},Example.parameters=Object.assign({storySource:{source:"(args, { argTypes }) => ({\n  props: Object.keys(argTypes).filter((x) => x !== 'value'),\n  components: { Checkbox },\n  data: () => ({\n    value: null,\n  }),\n  template: '<Checkbox v-bind=\"$props\" v-model=\"value\" />',\n})"}},Example.parameters)},1065:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"Example",(function(){return Example}));__webpack_require__(34),__webpack_require__(11),__webpack_require__(3),__webpack_require__(5),__webpack_require__(47);var cypress_mixin=__webpack_require__(26),components_CheckboxGroupvue_type_script_lang_js_={name:"CheckboxGroup",components:{},mixins:[__webpack_require__(32).a,cypress_mixin.a],props:{value:{type:Array},id:{type:String,default:""},className:{type:String,default:""},disabled:{type:Boolean,default:!1},icon:{type:String,default:"check",validator:function validator(value){return["check","cross"].includes(value)}},items:{type:Array,default:function _default(){return[]}},horizontalAlign:{type:Boolean,default:!1}},data:function data(){return{selectedCollection:[]}},created:function created(){this.selectedCollection=this.value||[]},watch:{value:function value(newValue){this.selectedCollection=newValue||[]}},methods:{handleChange:function handleChange(){this.$emit("input",this.selectedCollection)}},computed:{inputClasses:function inputClasses(){return"form-check-input icon-"+this.icon}}},componentNormalizer=(__webpack_require__(1011),__webpack_require__(9));const __vuedocgen_export_0=Object(componentNormalizer.a)(components_CheckboxGroupvue_type_script_lang_js_,(function(){var _vm=this,_h=_vm.$createElement,_c=_vm._self._c||_h;return _c("div",{class:""+_vm.className},_vm._l(_vm.items,(function(item){return _c("div",{key:item.id,class:"form-check mb-3 "+(_vm.horizontalAlign?"horizontal-checkbox-container":"")},[_c("input",{directives:[{name:"model",rawName:"v-model",value:_vm.selectedCollection,expression:"selectedCollection"}],class:_vm.inputClasses,attrs:{type:"checkbox",id:_vm.id+"-"+item.id,disabled:_vm.disabled||item.disabled,"data-cy":_vm.getCypressValue()},domProps:{value:item.value,checked:Array.isArray(_vm.selectedCollection)?_vm._i(_vm.selectedCollection,item.value)>-1:_vm.selectedCollection},on:{change:[function($event){var $$a=_vm.selectedCollection,$$el=$event.target,$$c=!!$$el.checked;if(Array.isArray($$a)){var $$v=item.value,$$i=_vm._i($$a,$$v);$$el.checked?$$i<0&&(_vm.selectedCollection=$$a.concat([$$v])):$$i>-1&&(_vm.selectedCollection=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}else _vm.selectedCollection=$$c},function($event){return _vm.handleChange($event)}],blur:function($event){return _vm.handleBlur($event)}}}),_vm._v(" "),_c("label",{staticClass:"form-check-label",attrs:{for:_vm.id+"-"+item.id}},[_vm._v(_vm._s(item.label))])])})),0)}),[],!1,null,"fbdd518c",null).exports;var CheckboxGroup=__vuedocgen_export_0;__vuedocgen_export_0.__docgenInfo={exportName:"default",displayName:"CheckboxGroup",description:"",tags:{},props:[{name:"cypressId",mixin:{name:"cypress-mixin",path:"../mixins/cypress-mixin.js"},type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"value",type:{name:"array"}},{name:"id",type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"className",type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"disabled",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}},{name:"icon",type:{name:"string"},defaultValue:{func:!1,value:"'check'"}},{name:"items",type:{name:"array"},defaultValue:{func:!1,value:"[]"}},{name:"horizontalAlign",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}}],events:[{name:"blur",mixin:{name:"blur-mixin",path:"../mixins/blur-mixin.js"},type:{names:["undefined"]}},{name:"input",type:{names:["undefined"]}}]};__webpack_exports__.default={title:"Components/CheckboxGroup",component:CheckboxGroup,argTypes:{}};var Example=function Template(args,_ref){var argTypes=_ref.argTypes;return{props:Object.keys(argTypes).filter((function(x){return"value"!==x})),components:{CheckboxGroup:CheckboxGroup},data:function data(){return{value:["apple"]}},template:'<CheckboxGroup v-bind="$props" v-model="value" />'}}.bind({});Example.args={id:"my-checkbox",items:[{id:"apple",value:"apple",label:"Apple Sauce in a cup"},{id:"orange",value:"orange",label:"Orange Juice in a jug",disabled:!0},{id:"banana",value:"banana",label:"Banana in a bundle"}]},Example.parameters=Object.assign({storySource:{source:"(args, { argTypes }) => ({\n  props: Object.keys(argTypes).filter((x) => x !== 'value'),\n  components: { CheckboxGroup },\n  data: () => ({\n    value: ['apple'],\n  }),\n  template: '<CheckboxGroup v-bind=\"$props\" v-model=\"value\" />',\n})"}},Example.parameters)},1066:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"Example",(function(){return Example})),__webpack_require__.d(__webpack_exports__,"ImageExample",(function(){return ImageExample}));__webpack_require__(3),__webpack_require__(5);var Button=__webpack_require__(82),components_ContentModalvue_type_script_lang_js_=(__webpack_require__(29),__webpack_require__(15),{name:"ContentModal",mixins:[__webpack_require__(26).a],props:{title:{type:String,default:""},className:{type:String,default:""},isCloseButtonShown:{type:Boolean,default:!0},closeOnBackgroundClick:{type:Boolean,default:!0}},data:function data(){return{focusableEls:[],focusedEl:null,contentObserver:null}},created:function created(){window.addEventListener("keydown",this.handleKeyDown)},destroyed:function destroyed(){window.removeEventListener("keydown",this.handleKeyDown)},mounted:function mounted(){this.focusableEls=this.getFocusableEls();this.contentObserver=new MutationObserver(this.handleContentChange),this.contentObserver.observe(this.$refs.modal,{attributes:!0,childList:!0,subtree:!0})},beforeUnmount:function beforeUnmount(){this.contentObserver.disconnect()},methods:{handleClose:function handleClose(){this.$emit("close")},handleClickBackground:function handleClickBackground(){this.closeOnBackgroundClick&&this.handleClose()},stopPropagation:function stopPropagation(event){event.stopPropagation()},getFocusableEls:function getFocusableEls(){return Array.from(this.$refs.modal.querySelectorAll('a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button, [tabindex="0"]'))},handleContentChange:function handleContentChange(){this.focusableEls=this.getFocusableEls()},handleKeyDown:function handleKeyDown(event){"Tab"===event.key&&(event.preventDefault(),event.shiftKey?this.handleTabBackwards():this.handleTab())},handleTab:function handleTab(){if(!this.focusedEl&&this.focusableEls.length>0)return this.focusedEl=this.focusableEls[0],void this.focusedEl.focus();var position=this.focusableEls.indexOf(this.focusedEl);position===this.focusableEls.length-1?this.focusedEl=this.focusableEls[0]:this.focusedEl=this.focusableEls[position+1],this.focusedEl.focus()},handleTabBackwards:function handleTabBackwards(){if(!this.focusedEl&&this.focusableEls.length>0)return this.focusedEl=this.focusableEls[this.focusableEls.length-1],void this.focusedEl.focus();var position=this.focusableEls.indexOf(this.focusedEl);this.focusedEl=0===position?this.focusableEls[this.focusableEls.length-1]:this.focusableEls[position-1],this.focusedEl.focus()}}}),componentNormalizer=(__webpack_require__(1013),__webpack_require__(9));const __vuedocgen_export_0=Object(componentNormalizer.a)(components_ContentModalvue_type_script_lang_js_,(function(){var _vm=this,_h=_vm.$createElement,_c=_vm._self._c||_h;return _c("div",{ref:"modal",staticClass:"modal fade show",attrs:{tabindex:"-1","aria-labelledby":"modal-title","aria-modal":"true",role:"dialog"},on:{click:function($event){return _vm.handleClickBackground()}}},[_c("div",{staticClass:"modal-dialog",on:{click:function($event){return _vm.stopPropagation($event)}}},[_c("div",{staticClass:"modal-content"},[_c("div",{staticClass:"modal-header"},[_c("h5",{staticClass:"modal-title",attrs:{id:"modal-title"}},[_vm._v(_vm._s(_vm.title))]),_vm._v(" "),_vm.isCloseButtonShown?_c("button",{staticClass:"close",attrs:{type:"button","aria-label":"Close"},on:{click:function($event){return _vm.handleClose()}}},[_c("span",{attrs:{"aria-hidden":"true"}},[_vm._v("×")])]):_vm._e()]),_vm._v(" "),_c("div",{staticClass:"modal-body"},[_vm._t("default",(function(){return[_vm._v("Content Here")]}))],2)])])])}),[],!1,null,"e35f8bd2",null).exports;var ContentModal=__vuedocgen_export_0;__vuedocgen_export_0.__docgenInfo={exportName:"default",displayName:"ContentModal",description:"",tags:{},props:[{name:"cypressId",mixin:{name:"cypress-mixin",path:"../mixins/cypress-mixin.js"},type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"title",type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"className",type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"isCloseButtonShown",type:{name:"boolean"},defaultValue:{func:!1,value:"true"}},{name:"closeOnBackgroundClick",type:{name:"boolean"},defaultValue:{func:!1,value:"true"}}],events:[{name:"close"}],slots:[{name:"default"}]};__webpack_exports__.default={title:"Components/ContentModal",component:ContentModal,argTypes:{}};var Example=function Template(args,_ref){var argTypes=_ref.argTypes;return{props:Object.keys(argTypes),components:{ContentModal:ContentModal,Button:Button.a},data:function data(){return{isModalShown:!1,count:0,isCountRendered:!0}},created:function created(){var _this=this;setInterval((function(){_this.isCountRendered=!1,_this.count++,setTimeout((function(){_this.isCountRendered=!0}),0)}),5e3)},methods:{handleClickOpenModal:function handleClickOpenModal(){this.isModalShown=!0},handleClose:function handleClose(){this.isModalShown=!1}},template:'\n    <div>\n      <Button label="Open Modal" @click="handleClickOpenModal()" />\n      <ContentModal v-if="isModalShown"\n        v-bind="$props"\n        @close="handleClose()">\n        <p>Hello World!</p>\n        <p>This is a link to Google: <a href="https://google.ca" target="_blank">click here</a></p>\n        <p v-if="isCountRendered">Count: <a href="javascript:void(0)">{{count}}</a></p>\n        <p>Filler content.</p>\n        <p>Filler content.</p>\n        <p>Filler content.</p>\n        <p>Filler content.</p>\n        <p>Filler content.</p>\n        <p>Filler content.</p>\n        <p>Filler content.</p>\n        <p>Filler content.</p>\n        <p>Filler content.</p>\n        <p>Filler content.</p>\n        <p>Filler content.</p>\n        <p>Filler content.</p>\n        <p>Filler content.</p>\n        <p>Filler content.</p>\n      </ContentModal>\n    </div>\n  '}}.bind({});Example.args={title:"Modal Title Here"};var ImageExample=function ImageTemplate(args,_ref2){var argTypes=_ref2.argTypes;return{props:Object.keys(argTypes),components:{ContentModal:ContentModal,Button:Button.a},data:function data(){return{isModalShown:!1}},methods:{handleClickOpenModal:function handleClickOpenModal(){this.isModalShown=!0},handleClose:function handleClose(){this.isModalShown=!1}},template:'\n    <div>\n      <Button label="Open Modal" @click="handleClickOpenModal()" />\n      <ContentModal v-if="isModalShown"\n        v-bind="$props"\n        @close="handleClose()">\n        <img src="/canadian-cit-card-sample.jpg" style="max-width: 100%"/>\n      </ContentModal>\n    </div>\n  '}}.bind({});ImageExample.args={title:"Modal Title Here"},Example.parameters=Object.assign({storySource:{source:'(args, { argTypes }) => ({\n  props: Object.keys(argTypes),\n  components: {\n    ContentModal,\n    Button,\n  },\n  data: () => ({\n    isModalShown: false,\n    count: 0,\n    isCountRendered: true,\n  }),\n  created() {\n    setInterval(() => {\n      // Used to trigger a DOM change manually.\n      this.isCountRendered = false;\n      this.count++;\n      setTimeout(() => {\n        this.isCountRendered = true;\n      }, 0);\n    }, 5000);\n  },\n  methods: {\n    handleClickOpenModal() {\n      this.isModalShown = true;\n    },\n    handleClose() {\n      this.isModalShown = false;\n    }\n  },\n  template: `\n    <div>\n      <Button label="Open Modal" @click="handleClickOpenModal()" />\n      <ContentModal v-if="isModalShown"\n        v-bind="$props"\n        @close="handleClose()">\n        <p>Hello World!</p>\n        <p>This is a link to Google: <a href="https://google.ca" target="_blank">click here</a></p>\n        <p v-if="isCountRendered">Count: <a href="javascript:void(0)">{{count}}</a></p>\n        <p>Filler content.</p>\n        <p>Filler content.</p>\n        <p>Filler content.</p>\n        <p>Filler content.</p>\n        <p>Filler content.</p>\n        <p>Filler content.</p>\n        <p>Filler content.</p>\n        <p>Filler content.</p>\n        <p>Filler content.</p>\n        <p>Filler content.</p>\n        <p>Filler content.</p>\n        <p>Filler content.</p>\n        <p>Filler content.</p>\n        <p>Filler content.</p>\n      </ContentModal>\n    </div>\n  `,\n})'}},Example.parameters),ImageExample.parameters=Object.assign({storySource:{source:'(args, { argTypes }) => ({\n  props: Object.keys(argTypes),\n  components: {\n    ContentModal,\n    Button,\n  },\n  data: () => ({\n    isModalShown: false,\n  }),\n  methods: {\n    handleClickOpenModal() {\n      this.isModalShown = true;\n    },\n    handleClose() {\n      this.isModalShown = false;\n    }\n  },\n  template: `\n    <div>\n      <Button label="Open Modal" @click="handleClickOpenModal()" />\n      <ContentModal v-if="isModalShown"\n        v-bind="$props"\n        @close="handleClose()">\n        <img src="/canadian-cit-card-sample.jpg" style="max-width: 100%"/>\n      </ContentModal>\n    </div>\n  `,\n})'}},ImageExample.parameters)},1067:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"Example",(function(){return Example}));__webpack_require__(3),__webpack_require__(5);var Button=__webpack_require__(82),cypress_mixin=__webpack_require__(26),components_ContinueBarvue_type_script_lang_js_={name:"ContinueBar",components:{Button:Button.a},mixins:[cypress_mixin.a],props:{hasLoader:{type:Boolean,default:!1},hasSecondaryButton:{type:Boolean,default:!1},buttonLabel:{type:String,default:"Continue"},secondaryButtonLabel:{type:String},isSticky:{type:Boolean,default:!0}},methods:{onContinue:function onContinue(){this.$emit("continue")},onSecondaryClick:function onSecondaryClick(){this.$emit("secondary")}},computed:{componentClass:function componentClass(){return"continue-bar "+(this.isSticky?"sticky":"")}}},componentNormalizer=(__webpack_require__(1015),__webpack_require__(9));const __vuedocgen_export_0=Object(componentNormalizer.a)(components_ContinueBarvue_type_script_lang_js_,(function(){var _vm=this,_h=_vm.$createElement,_c=_vm._self._c||_h;return _c("div",{class:_vm.componentClass},[_c("div",{staticClass:"d-flex flex-wrap justify-content-end p-3 container"},[_vm.hasSecondaryButton?_c("Button",{attrs:{className:"secondary-button",color:"gold",label:_vm.secondaryButtonLabel,"data-cy":_vm.getCypressValue()},on:{click:function($event){return _vm.onSecondaryClick()}}}):_vm._e(),_vm._v(" "),_c("Button",{attrs:{label:_vm.buttonLabel,hasLoader:_vm.hasLoader,"data-cy":_vm.getCypressValue()},on:{click:function($event){return _vm.onContinue()}}})],1)])}),[],!1,null,"c54026f0",null).exports;var ContinueBar=__vuedocgen_export_0;__vuedocgen_export_0.__docgenInfo={exportName:"default",displayName:"ContinueBar",description:"",tags:{},props:[{name:"cypressId",mixin:{name:"cypress-mixin",path:"../mixins/cypress-mixin.js"},type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"hasLoader",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}},{name:"hasSecondaryButton",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}},{name:"buttonLabel",type:{name:"string"},defaultValue:{func:!1,value:"'Continue'"}},{name:"secondaryButtonLabel",type:{name:"string"}},{name:"isSticky",type:{name:"boolean"},defaultValue:{func:!1,value:"true"}}],events:[{name:"continue"},{name:"secondary"}]};__webpack_exports__.default={title:"Components/ContinueBar",component:ContinueBar,argTypes:{}};var Example=function Template(args,_ref){var argTypes=_ref.argTypes;return{props:Object.keys(argTypes),components:{ContinueBar:ContinueBar},template:'<ContinueBar v-bind="$props" />'}}.bind({});Example.parameters=Object.assign({storySource:{source:"(args, { argTypes }) => ({\n  props: Object.keys(argTypes),\n  components: { ContinueBar },\n  template: '<ContinueBar v-bind=\"$props\" />',\n})"}},Example.parameters)},1068:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"Example",(function(){return Example}));__webpack_require__(3),__webpack_require__(5);var vueCountryRegionSelect_umd_min=__webpack_require__(271),blur_mixin=__webpack_require__(32),components_CountrySelectvue_type_script_lang_js_={name:"CountrySelect",components:{VueCountrySelect:vueCountryRegionSelect_umd_min.CountrySelect},mixins:[blur_mixin.a],props:{id:{type:String,default:""},value:{type:String},label:{type:String,default:""},inputStyle:{type:Object,default:function _default(){return{}}},className:{type:String,default:""},defaultOptionLabel:{type:String,default:"Select a country"},disabled:{type:Boolean,default:!1}},methods:{handleInput:function handleInput(value){this.$emit("input",value)}}},componentNormalizer=__webpack_require__(9);const __vuedocgen_export_0=Object(componentNormalizer.a)(components_CountrySelectvue_type_script_lang_js_,(function(){var _vm=this,_h=_vm.$createElement,_c=_vm._self._c||_h;return _c("div",{class:_vm.className},[_c("label",{attrs:{for:_vm.id}},[_vm._v(_vm._s(_vm.label))]),_vm._v(" "),_c("br"),_vm._v(" "),_c("div",[_vm._t("description")],2),_vm._v(" "),_c("VueCountrySelect",{staticClass:"form-control",style:_vm.inputStyle,attrs:{id:_vm.id,"aria-label":"Country",name:"country",disabled:_vm.disabled,value:_vm.value,country:_vm.value,countryName:!0,topCountry:"Canada",placeholder:_vm.defaultOptionLabel},on:{input:function($event){return _vm.handleInput($event)},blur:function($event){return _vm.handleBlur($event)}}})],1)}),[],!1,null,null,null).exports;var CountrySelect=__vuedocgen_export_0;__vuedocgen_export_0.__docgenInfo={exportName:"default",displayName:"CountrySelect",description:"",tags:{},props:[{name:"id",type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"value",type:{name:"string"}},{name:"label",type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"inputStyle",type:{name:"object"},defaultValue:{func:!1,value:"{}"}},{name:"className",type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"defaultOptionLabel",type:{name:"string"},defaultValue:{func:!1,value:"'Select a country'"}},{name:"disabled",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}}],events:[{name:"blur",mixin:{name:"blur-mixin",path:"../mixins/blur-mixin.js"},type:{names:["undefined"]}},{name:"input",type:{names:["undefined"]}}],slots:[{name:"description"}]};__webpack_exports__.default={title:"Components/CountrySelect",component:CountrySelect,argTypes:{}};var Example=function Template(args,_ref){var argTypes=_ref.argTypes;return{props:Object.keys(argTypes),components:{CountrySelect:CountrySelect},template:'<CountrySelect v-bind="$props" />'}}.bind({});Example.args={label:"My Country:",id:"country"},Example.parameters=Object.assign({storySource:{source:"(args, { argTypes }) => ({\n  props: Object.keys(argTypes),\n  components: { CountrySelect },\n  template: '<CountrySelect v-bind=\"$props\" />',\n})"}},Example.parameters)},1069:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"Example",(function(){return Example}));__webpack_require__(34),__webpack_require__(11),__webpack_require__(3),__webpack_require__(5),__webpack_require__(88),__webpack_require__(48),__webpack_require__(30),__webpack_require__(202);var cypress_mixin=__webpack_require__(26),blur_mixin=__webpack_require__(32),string=__webpack_require__(156),isValidCurrencyAmount=function isValidCurrencyAmount(value){return!value||/^[-]?([0-9]+)?\.?[0-9]?[0-9]?$/.test(value)},components_CurrencyInputvue_type_script_lang_js_={name:"CurrencyInput",mixins:[blur_mixin.a,cypress_mixin.a],props:{value:{type:String,validator:function validator(value){return isValidCurrencyAmount(value)}},id:{type:String,default:""},label:{type:String,default:""},className:{type:String,default:""},maxlength:{type:String,default:"1000"},inputStyle:{type:Object,default:function _default(){return{}}},isRequiredAsteriskShown:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},data:function data(){return{formattedValue:""}},created:function created(){this.formattedValue=Object(string.a)(this.value)},mounted:function mounted(){this.$refs.input.addEventListener("paste",this.handlePaste)},beforeUnmount:function beforeUnmount(){this.$refs.input.removeEventListener("paste",this.handlePaste)},watch:{value:function value(newValue){this.formattedValue=newValue?Object(string.a)(newValue):null}},methods:{handleInput:function handleInput(event){var _this=this,inputValue=event.target.value,value=this.removeCommas(inputValue).trim();!isValidCurrencyAmount(value)||value.length>1&&"0"===value[0]&&!isNaN(parseInt(value[1]))?this.formattedValue=Object(string.a)(this.value):(this.formattedValue=Object(string.a)(value),this.$emit("input",value)),this.$nextTick((function(){_this.$refs.input.focus()}))},handleKeyPress:function handleKeyPress(event){var keyCode=event.which?event.which:event.keyCode;if(keyCode>=48&&keyCode<=57||46===keyCode&&!this.doesContainDecimal(this.value)||45===keyCode)return!0;event.preventDefault()},handlePaste:function handlePaste(event){var clipboardData=event.clipboardData||window.clipboardData;if(clipboardData){var text=clipboardData.getData("text").trim(),value=this.removeCommas(text);if(isValidCurrencyAmount(value))return!0;event.preventDefault()}else event.preventDefault()},removeCommas:function removeCommas(formattedValue){return formattedValue.replace(/[,]/g,"")},doesContainDecimal:function doesContainDecimal(str){return/[.]/.test(str)}}},componentNormalizer=__webpack_require__(9);const __vuedocgen_export_0=Object(componentNormalizer.a)(components_CurrencyInputvue_type_script_lang_js_,(function(){var _vm=this,_h=_vm.$createElement,_c=_vm._self._c||_h;return _c("div",{class:_vm.className},[_vm.label?_c("label",{attrs:{for:_vm.id}},[_c("span",{domProps:{innerHTML:_vm._s(_vm.label)}}),_vm._v(" "),_vm.isRequiredAsteriskShown?_c("span",{staticClass:"required-asterisk"},[_vm._v("*")]):_vm._e()]):_vm._e(),_vm._v(" "),_vm.label?_c("br"):_vm._e(),_vm._v(" "),_c("div",[_vm._t("description")],2),_vm._v(" "),_c("div",{staticClass:"input-group",style:_vm.inputStyle},[_vm._m(0),_vm._v(" "),_c("input",{directives:[{name:"model",rawName:"v-model",value:_vm.formattedValue,expression:"formattedValue"}],ref:"input",staticClass:"form-control",attrs:{id:_vm.id,maxlength:_vm.maxlength,"data-cy":_vm.getCypressValue(),readonly:_vm.readonly,disabled:_vm.disabled},domProps:{value:_vm.formattedValue},on:{input:[function($event){$event.target.composing||(_vm.formattedValue=$event.target.value)},function($event){return _vm.handleInput($event)}],keypress:function($event){return _vm.handleKeyPress($event)},blur:function($event){return _vm.handleBlur($event)}}})])])}),[function(){var _h=this.$createElement,_c=this._self._c||_h;return _c("div",{staticClass:"input-group-prepend"},[_c("span",{staticClass:"input-group-text"},[this._v("$")])])}],!1,null,null,null).exports;var CurrencyInput=__vuedocgen_export_0;__vuedocgen_export_0.__docgenInfo={exportName:"default",displayName:"CurrencyInput",description:"",tags:{},props:[{name:"cypressId",mixin:{name:"cypress-mixin",path:"../mixins/cypress-mixin.js"},type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"value",type:{name:"string"}},{name:"id",type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"label",type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"className",type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"maxlength",type:{name:"string"},defaultValue:{func:!1,value:"'1000'"}},{name:"inputStyle",type:{name:"object"},defaultValue:{func:!1,value:"{}"}},{name:"isRequiredAsteriskShown",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}},{name:"readonly",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}},{name:"disabled",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}}],events:[{name:"blur",mixin:{name:"blur-mixin",path:"../mixins/blur-mixin.js"},type:{names:["undefined"]}},{name:"input",type:{names:["undefined"]}}],slots:[{name:"description"}]};__webpack_exports__.default={title:"Components/CurrencyInput",component:CurrencyInput,argTypes:{}};var Example=function Template(args,_ref){var argTypes=_ref.argTypes;return{props:Object.keys(argTypes).filter((function(x){return"value"!==x})),components:{CurrencyInput:CurrencyInput},data:function data(){return{value:null}},template:'<CurrencyInput v-bind="$props" v-model="value" />'}}.bind({});Example.args={label:"My Label:",value:1e3},Example.parameters=Object.assign({storySource:{source:"(args, { argTypes }) => ({\n  props: Object.keys(argTypes).filter((x) => x !== 'value'),\n  components: { CurrencyInput },\n  data: () => ({\n    value: null,\n  }),\n  template: '<CurrencyInput v-bind=\"$props\" v-model=\"value\" />',\n})"}},Example.parameters)},1070:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"Example",(function(){return Example}));__webpack_require__(3),__webpack_require__(5),__webpack_require__(30),__webpack_require__(202);var cypress_mixin=__webpack_require__(26),blur_mixin=__webpack_require__(32),components_DigitInputvue_type_script_lang_js_={name:"DigitInput",mixins:[blur_mixin.a,cypress_mixin.a],props:{id:{type:String,default:""},value:{type:String},label:{type:String,default:""},className:{type:String,default:""},maxlength:{type:String,default:"1000"},inputStyle:{type:Object,default:function _default(){return{}}},isRequiredAsteriskShown:{type:Boolean,default:!1}},mounted:function mounted(){this.$refs.input.addEventListener("paste",this.pasteHandler)},beforeUnmount:function beforeUnmount(){this.$refs.input.removeEventListener("paste",this.pasteHandler)},methods:{inputHandler:function inputHandler(event){var _this=this;this.$emit("input",event.target.value),this.$nextTick((function(){_this.$refs.input.focus()}))},keypressHandler:function keypressHandler(event){var keyCode=event.which?event.which:event.keyCode;if(keyCode>=48&&keyCode<=57)return!0;event.preventDefault()},pasteHandler:function pasteHandler(event){var clipboardData=event.clipboardData||window.clipboardData;if(clipboardData){if(function digitValidator(value){var number=parseFloat(value);return!isNaN(number)&&number%1==0&&/^\d+$/.test(value)}(clipboardData.getData("text")))return!0;event.preventDefault()}else event.preventDefault()}}},componentNormalizer=__webpack_require__(9);const __vuedocgen_export_0=Object(componentNormalizer.a)(components_DigitInputvue_type_script_lang_js_,(function(){var _vm=this,_h=_vm.$createElement,_c=_vm._self._c||_h;return _c("div",{class:_vm.className},[_c("label",{attrs:{for:_vm.id}},[_vm._v("\n    "+_vm._s(_vm.label)),_vm.isRequiredAsteriskShown?_c("span",{staticClass:"required-asterisk"},[_vm._v("*")]):_vm._e()]),_c("br"),_vm._v(" "),_c("input",{ref:"input",staticClass:"form-control",style:_vm.inputStyle,attrs:{id:_vm.id,type:"text",name:"number","data-cy":_vm.getCypressValue(),maxlength:_vm.maxlength},domProps:{value:_vm.value},on:{input:function($event){return _vm.inputHandler($event)},keypress:function($event){return _vm.keypressHandler($event)},blur:function($event){return _vm.handleBlur($event)}}})])}),[],!1,null,null,null).exports;var DigitInput=__vuedocgen_export_0;__vuedocgen_export_0.__docgenInfo={exportName:"default",displayName:"DigitInput",description:"",tags:{},props:[{name:"cypressId",mixin:{name:"cypress-mixin",path:"../mixins/cypress-mixin.js"},type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"id",type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"value",type:{name:"string"}},{name:"label",type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"className",type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"maxlength",type:{name:"string"},defaultValue:{func:!1,value:"'1000'"}},{name:"inputStyle",type:{name:"object"},defaultValue:{func:!1,value:"{}"}},{name:"isRequiredAsteriskShown",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}}],events:[{name:"blur",mixin:{name:"blur-mixin",path:"../mixins/blur-mixin.js"},type:{names:["undefined"]}},{name:"input",type:{names:["undefined"]}}]};__webpack_exports__.default={title:"Components/DigitInput",component:DigitInput,argTypes:{}};var Example=function Template(args,_ref){var argTypes=_ref.argTypes;return{props:Object.keys(argTypes),components:{DigitInput:DigitInput},template:'<DigitInput v-bind="$props" />'}}.bind({});Example.args={label:"My Label:"},Example.parameters=Object.assign({storySource:{source:"(args, { argTypes }) => ({\n  props: Object.keys(argTypes),\n  components: { DigitInput },\n  template: '<DigitInput v-bind=\"$props\" />',\n})"}},Example.parameters)},1071:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"Example3Items",(function(){return Example3Items})),__webpack_require__.d(__webpack_exports__,"Example2Items",(function(){return Example2Items}));__webpack_require__(34),__webpack_require__(11),__webpack_require__(3),__webpack_require__(5);var components_DistributionBarvue_type_script_lang_js_={name:"DistributionBar",props:{startingLabel:{type:String,default:""},items:{type:Array,default:function _default(){return[]}}},computed:{widthPercent:function widthPercent(){return 0===this.items.length?0:100/this.items.length}},methods:{getProgressStyle:function getProgressStyle(item){return{backgroundColor:item.color,width:this.widthPercent+"%"}}}},componentNormalizer=(__webpack_require__(1024),__webpack_require__(9));const __vuedocgen_export_0=Object(componentNormalizer.a)(components_DistributionBarvue_type_script_lang_js_,(function(){var _vm=this,_h=_vm.$createElement,_c=_vm._self._c||_h;return _c("div",[_c("div",{staticClass:"progress-labels"},[_c("span",{domProps:{innerHTML:_vm._s(_vm.startingLabel)}}),_vm._v(" "),_vm._l(_vm.items,(function(item,index){return _c("span",{key:index,domProps:{innerHTML:_vm._s(item.barLabel)}})}))],2),_vm._v(" "),_c("div",{staticClass:"progress"},_vm._l(_vm.items,(function(item,index){return _c("div",{key:index,staticClass:"progress-bar",style:_vm.getProgressStyle(item),attrs:{role:"progressbar","aria-label":"distribution percent","aria-valuenow":_vm.widthPercent,"aria-valuemin":"0","aria-valuemax":"100"}})})),0),_vm._v(" "),_c("div",{staticClass:"legend"},_vm._l(_vm.items,(function(item,index){return _c("div",{key:index,staticClass:"legend-item mt-2"},[_c("span",{staticClass:"legend-item-color",style:{backgroundColor:item.color}}),_vm._v(" "),_c("span",{staticClass:"legend-item-label"},[_vm._v(_vm._s(item.label))])])})),0)])}),[],!1,null,"0115f72a",null).exports;var DistributionBar=__vuedocgen_export_0;__vuedocgen_export_0.__docgenInfo={displayName:"DistributionBar",exportName:"default",description:"",tags:{},props:[{name:"startingLabel",type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"items",type:{name:"array"},defaultValue:{func:!1,value:"[]"}}]};__webpack_exports__.default={title:"Components/DistributionBar",component:DistributionBar,argTypes:{}};var DistributionBar_stories_Template=function Template(args,_ref){var argTypes=_ref.argTypes;return{props:Object.keys(argTypes).filter((function(x){return"value"!==x})),components:{DistributionBar:DistributionBar},data:function data(){return{value:null}},template:'<DistributionBar v-bind="$props" v-model="value" />'}},Example3Items=DistributionBar_stories_Template.bind({});Example3Items.args={startingLabel:"$0",items:[{color:"#036",barLabel:"$200",label:"First tier coverage."},{color:"#f3cd65",barLabel:"$400",label:"Second tier coverage. Filler content here. Filler content here. Filler content here. Filler content here. Filler content here. Filler content here. Filler content here. Filler content here. Filler content here."},{color:"#486446",barLabel:"&infin;",label:"Third tier coverage."}]};var Example2Items=DistributionBar_stories_Template.bind({});Example2Items.args={startingLabel:"$0",items:[{color:"#036",barLabel:"$200",label:"First tier coverage."},{color:"#f3cd65",barLabel:"$400",label:"Second tier coverage."}]},Example3Items.parameters=Object.assign({storySource:{source:"(args, { argTypes }) => ({\n  props: Object.keys(argTypes).filter((x) => x !== 'value'),\n  components: { DistributionBar },\n  data: () => ({\n    value: null,\n  }),\n  template: '<DistributionBar v-bind=\"$props\" v-model=\"value\" />',\n})"}},Example3Items.parameters),Example2Items.parameters=Object.assign({storySource:{source:"(args, { argTypes }) => ({\n  props: Object.keys(argTypes).filter((x) => x !== 'value'),\n  components: { DistributionBar },\n  data: () => ({\n    value: null,\n  }),\n  template: '<DistributionBar v-bind=\"$props\" v-model=\"value\" />',\n})"}},Example2Items.parameters)},1072:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"Example",(function(){return Example}));__webpack_require__(34),__webpack_require__(11),__webpack_require__(3),__webpack_require__(5);var vueTextMask=__webpack_require__(91),vueTextMask_default=__webpack_require__.n(vueTextMask),cypress_mixin=__webpack_require__(26),blur_mixin=__webpack_require__(32),components_FacilityNumberInputvue_type_script_lang_js_={name:"FacilityNumberInput",components:{MaskedInput:vueTextMask_default.a},mixins:[blur_mixin.a,cypress_mixin.a],props:{id:{type:String,default:""},value:{type:String},label:{type:String,default:""},className:{type:String,default:""},inputStyle:{type:Object,default:function _default(){return{}}},isRequiredAsteriskShown:{type:Boolean,default:!1}},data:function data(){return{mask:[/[A-Za-z0-9]/,/[A-Za-z0-9]/,/[A-Za-z0-9]/,/[A-Za-z0-9]/,/[A-Za-z0-9]/]}},methods:{inputHandler:function inputHandler(value){var _this=this;if(value){var upperCaseValue=value.toUpperCase();this.$emit("input",upperCaseValue)}else this.$emit("input",null);this.$nextTick((function(){_this.$refs.input.$el.focus()}))}}},componentNormalizer=__webpack_require__(9);const __vuedocgen_export_0=Object(componentNormalizer.a)(components_FacilityNumberInputvue_type_script_lang_js_,(function(){var _vm=this,_h=_vm.$createElement,_c=_vm._self._c||_h;return _c("div",{class:_vm.className},[_c("label",{attrs:{for:_vm.id}},[_vm._v("\n    "+_vm._s(_vm.label)),_vm.isRequiredAsteriskShown?_c("span",{staticClass:"required-asterisk"},[_vm._v("*")]):_vm._e()]),_c("br"),_vm._v(" "),_c("masked-input",{ref:"input",staticClass:"form-control",style:_vm.inputStyle,attrs:{id:_vm.id,type:"text",name:"practitionerNumber",value:_vm.value,mask:_vm.mask,"data-cy":_vm.getCypressValue(),guide:!1,placeholderChar:"#"},on:{input:function($event){return _vm.inputHandler($event)},blur:function($event){return _vm.handleBlur($event)}}})],1)}),[],!1,null,null,null).exports;var FacilityNumberInput=__vuedocgen_export_0;__vuedocgen_export_0.__docgenInfo={exportName:"default",displayName:"FacilityNumberInput",description:"",tags:{},props:[{name:"cypressId",mixin:{name:"cypress-mixin",path:"../mixins/cypress-mixin.js"},type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"id",type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"value",type:{name:"string"}},{name:"label",type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"className",type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"inputStyle",type:{name:"object"},defaultValue:{func:!1,value:"{}"}},{name:"isRequiredAsteriskShown",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}}],events:[{name:"blur",mixin:{name:"blur-mixin",path:"../mixins/blur-mixin.js"},type:{names:["undefined"]}},{name:"input",type:{names:["undefined"]}}]};__webpack_exports__.default={title:"Components/FacilityNumberInput",component:FacilityNumberInput,argTypes:{}};var Example=function Template(args,_ref){var argTypes=_ref.argTypes;return{props:Object.keys(argTypes).filter((function(x){return"value"!==x})),components:{FacilityNumberInput:FacilityNumberInput},data:function data(){return{value:null}},template:'<FacilityNumberInput v-bind="$props" v-model="value" />'}}.bind({});Example.args={label:"My Label:"},Example.parameters=Object.assign({storySource:{source:"(args, { argTypes }) => ({\n  props: Object.keys(argTypes).filter((x) => x !== 'value'),\n  components: { FacilityNumberInput },\n  data: () => ({\n    value: null,\n  }),\n  template: '<FacilityNumberInput v-bind=\"$props\" v-model=\"value\" />',\n})"}},Example.parameters)},1073:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"Example",(function(){return Example}));__webpack_require__(3),__webpack_require__(5);var components_Footervue_type_script_lang_js_={name:"Footer",props:{version:{type:String}}},componentNormalizer=(__webpack_require__(1040),__webpack_require__(9));const __vuedocgen_export_0=Object(componentNormalizer.a)(components_Footervue_type_script_lang_js_,(function(){var _h=this.$createElement,_c=this._self._c||_h;return _c("footer",[_c("nav",{attrs:{"aria-label":"Footer"}},[_c("div",{staticClass:"container"},[_c("div",{staticClass:"row align-items-end m-0 print-hide"},[this._m(0),this._v(" "),_c("div",{staticClass:"col-md-1 text-right"},[this.version?_c("span",{staticClass:"text-right version"},[this._v("v"+this._s(this.version))]):this._e()])])])])])}),[function(){var _vm=this,_h=_vm.$createElement,_c=_vm._self._c||_h;return _c("div",{staticClass:"col-md-11 pl-0"},[_c("ul",{staticClass:"footer-links py-2"},[_c("li",{staticClass:"d-md-inline-block m-1 px-md-3 py-1"},[_c("a",{attrs:{href:"https://www2.gov.bc.ca/gov/content/home/disclaimer",target:"_blank"}},[_vm._v("Disclaimer")])]),_vm._v(" "),_c("li",{staticClass:"d-md-inline-block m-1 px-md-3 py-1"},[_c("a",{attrs:{href:"https://www2.gov.bc.ca/gov/content/home/privacy",target:"_blank"}},[_vm._v("Privacy")])]),_vm._v(" "),_c("li",{staticClass:"d-md-inline-block m-1 px-md-3 py-1"},[_c("a",{attrs:{href:"https://www2.gov.bc.ca/gov/content/home/accessibility",target:"_blank"}},[_vm._v("Accessibility")])]),_vm._v(" "),_c("li",{staticClass:"d-md-inline-block m-1 px-md-3 py-1"},[_c("a",{attrs:{href:"https://www2.gov.bc.ca/gov/content/home/copyright",target:"_blank"}},[_vm._v("Copyright")])]),_vm._v(" "),_c("li",{staticClass:"d-md-inline-block m-1 px-md-3 py-1"},[_c("a",{attrs:{href:"http://www2.gov.bc.ca/gov/content/health/health-drug-coverage/msp/bc-residents-contact-us",target:"_blank"}},[_vm._v("Contact Us")])])])])}],!1,null,"0515d006",null).exports;var Footer=__vuedocgen_export_0;__vuedocgen_export_0.__docgenInfo={displayName:"Footer",exportName:"default",description:"",tags:{},props:[{name:"version",type:{name:"string"}}]};__webpack_exports__.default={title:"Components/Footer",component:Footer,argTypes:{}};var Example=function Template(args,_ref){var argTypes=_ref.argTypes;return{props:Object.keys(argTypes),components:{Footer:Footer},template:'<Footer v-bind="$props" />'}}.bind({});Example.args={version:"1.0.0"},Example.parameters=Object.assign({storySource:{source:"(args, { argTypes }) => ({\n  props: Object.keys(argTypes),\n  components: { Footer },\n  template: '<Footer v-bind=\"$props\" />',\n})"}},Example.parameters)},1074:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"Example",(function(){return Example}));__webpack_require__(3),__webpack_require__(5);var components_Headervue_type_script_lang_js_={name:"Header",props:{title:{type:String,required:!0},imagePath:{type:String,default:""}},data:function data(){return{bcgovMainLogo:null,bcgovPrintLogo:null}},created:function created(){this.bcgovMainLogo=this.imagePath+"bcgov-logo-text.svg",this.bcgovPrintLogo=this.imagePath+"bcgov-logo.png"}},componentNormalizer=(__webpack_require__(1042),__webpack_require__(9));const __vuedocgen_export_0=Object(componentNormalizer.a)(components_Headervue_type_script_lang_js_,(function(){var _h=this.$createElement,_c=this._self._c||_h;return _c("header",[_c("nav",{staticClass:"container-fluid navbar navbar-expand-lg navbar-dark",attrs:{"aria-label":"Header"}},[_c("div",{staticClass:"container"},[_c("div",[_c("div",{staticClass:"logo-container mr-3 d-inline-block align-middle"},[_c("a",{attrs:{href:"https://gov.bc.ca",target:"_blank"}},[_c("img",{staticClass:"print-hide",attrs:{alt:"BC Logo",classNames:"img-fluid d-none d-md-block pointer",width:181,src:this.bcgovMainLogo}}),this._v(" "),_c("img",{staticClass:"print-mainlogo",attrs:{alt:"BC Logo",classNames:"img-fluid d-none d-md-block pointer",width:160,height:52,src:this.bcgovPrintLogo}})])]),this._v(" "),_c("div",{staticClass:"title-container align-middle"},[_c("div",{staticClass:"navbar-brand mr-0"},[this._v("\n            "+this._s(this.title)+"\n          ")])])])])])])}),[],!1,null,"1560b929",null).exports;var Header=__vuedocgen_export_0;__vuedocgen_export_0.__docgenInfo={displayName:"Header",exportName:"default",description:"",tags:{},props:[{name:"title",type:{name:"string"},required:!0},{name:"imagePath",type:{name:"string"},defaultValue:{func:!1,value:"''"}}]};__webpack_exports__.default={title:"Components/Header",component:Header,argTypes:{}};var Example=function Template(args,_ref){var argTypes=_ref.argTypes;return{props:Object.keys(argTypes),components:{Header:Header},template:'<Header v-bind="$props" />'}}.bind({});Example.args={title:"My Application Title",imagePath:"/oop/images/"},Example.parameters=Object.assign({storySource:{source:"(args, { argTypes }) => ({\n  props: Object.keys(argTypes),\n  components: { Header },\n  template: '<Header v-bind=\"$props\" />',\n})"}},Example.parameters)},1075:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"Example",(function(){return Example}));__webpack_require__(3),__webpack_require__(5);var cypress_mixin=__webpack_require__(26),components_Inputvue_type_script_lang_js_={name:"Input",components:{},mixins:[__webpack_require__(32).a,cypress_mixin.a],props:{value:{type:String},id:{type:String,default:""},label:{type:String,default:""},className:{type:String,default:""},maxlength:{type:String,default:"1000"},inputStyle:{type:Object,default:function _default(){return{}}},isRequiredAsteriskShown:{type:Boolean,default:!1},isUpperCaseForced:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{inputHandler:function inputHandler(event){var _this=this,value=event.target.value;value&&this.isUpperCaseForced&&(value=value.toUpperCase()),this.$emit("input",value),this.$nextTick((function(){_this.$refs.input.focus()}))}}},componentNormalizer=__webpack_require__(9);const __vuedocgen_export_0=Object(componentNormalizer.a)(components_Inputvue_type_script_lang_js_,(function(){var _vm=this,_h=_vm.$createElement,_c=_vm._self._c||_h;return _c("div",{class:_vm.className},[_c("label",{attrs:{for:_vm.id}},[_vm._v("\n    "+_vm._s(_vm.label)),_vm.isRequiredAsteriskShown?_c("span",{staticClass:"required-asterisk"},[_vm._v("*")]):_vm._e()]),_c("br"),_vm._v(" "),_c("input",{ref:"input",staticClass:"form-control",style:_vm.inputStyle,attrs:{id:_vm.id,maxlength:_vm.maxlength,"data-cy":_vm.getCypressValue(),readonly:_vm.readonly,disabled:_vm.disabled},domProps:{value:_vm.value},on:{input:function($event){return _vm.inputHandler($event)},blur:function($event){return _vm.handleBlur($event)}}})])}),[],!1,null,null,null).exports;var Input=__vuedocgen_export_0;__vuedocgen_export_0.__docgenInfo={exportName:"default",displayName:"Input",description:"",tags:{},props:[{name:"cypressId",mixin:{name:"cypress-mixin",path:"../mixins/cypress-mixin.js"},type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"value",type:{name:"string"}},{name:"id",type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"label",type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"className",type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"maxlength",type:{name:"string"},defaultValue:{func:!1,value:"'1000'"}},{name:"inputStyle",type:{name:"object"},defaultValue:{func:!1,value:"{}"}},{name:"isRequiredAsteriskShown",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}},{name:"isUpperCaseForced",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}},{name:"readonly",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}},{name:"disabled",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}}],events:[{name:"blur",mixin:{name:"blur-mixin",path:"../mixins/blur-mixin.js"},type:{names:["undefined"]}},{name:"input",type:{names:["undefined"]}}]};__webpack_exports__.default={title:"Components/Input",component:Input,argTypes:{}};var Example=function Template(args,_ref){var argTypes=_ref.argTypes;return{props:Object.keys(argTypes),components:{Input:Input},template:'<Input v-bind="$props" />'}}.bind({});Example.args={label:"My Label:"},Example.parameters=Object.assign({storySource:{source:"(args, { argTypes }) => ({\n  props: Object.keys(argTypes),\n  components: { Input },\n  template: '<Input v-bind=\"$props\" />',\n})"}},Example.parameters)},1076:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"Example",(function(){return Example}));__webpack_require__(34),__webpack_require__(11),__webpack_require__(3),__webpack_require__(5);var vueTextMask=__webpack_require__(91),vueTextMask_default=__webpack_require__.n(vueTextMask),cypress_mixin=(__webpack_require__(156),__webpack_require__(26)),blur_mixin=__webpack_require__(32),components_MotorVehicleAccidentClaimNumberInputvue_type_script_lang_js_={name:"MotorVehicleAccidentClaimNumberInput",components:{MaskedInput:vueTextMask_default.a},mixins:[blur_mixin.a,cypress_mixin.a],props:{id:{type:String,default:""},value:{type:String},label:{type:String,default:""},className:{type:String,default:""},inputStyle:{type:Object,default:function _default(){return{}}},isRequiredAsteriskShown:{type:Boolean,default:!1}},data:function data(){return{mask:[/[A-Za-z]/,/[A-Za-z0-9]/,/\d/,/\d/,/\d/,/\d/,/\d/,/\d/]}},methods:{inputHandler:function inputHandler(value){var _this=this;if(value){var upperCaseValue=value.toUpperCase();this.$emit("input",upperCaseValue)}else this.$emit("input",null);this.$nextTick((function(){_this.$refs.input.$el.focus()}))}}},componentNormalizer=__webpack_require__(9);const __vuedocgen_export_0=Object(componentNormalizer.a)(components_MotorVehicleAccidentClaimNumberInputvue_type_script_lang_js_,(function(){var _vm=this,_h=_vm.$createElement,_c=_vm._self._c||_h;return _c("div",{class:_vm.className},[_c("label",{attrs:{for:_vm.id}},[_vm._v("\n    "+_vm._s(_vm.label)),_vm.isRequiredAsteriskShown?_c("span",{staticClass:"required-asterisk"},[_vm._v("*")]):_vm._e()]),_c("br"),_vm._v(" "),_c("masked-input",{ref:"input",staticClass:"form-control",style:_vm.inputStyle,attrs:{id:_vm.id,type:"text",name:"motorVehicleAccidentClaimNumberInput",value:_vm.value,"data-cy":_vm.getCypressValue(),mask:_vm.mask,guide:!1,placeholderChar:"#"},on:{input:function($event){return _vm.inputHandler($event)},blur:function($event){return _vm.handleBlur($event)}}})],1)}),[],!1,null,null,null).exports;var MotorVehicleAccidentClaimNumberInput=__vuedocgen_export_0;__vuedocgen_export_0.__docgenInfo={exportName:"default",displayName:"MotorVehicleAccidentClaimNumberInput",description:"",tags:{},props:[{name:"cypressId",mixin:{name:"cypress-mixin",path:"../mixins/cypress-mixin.js"},type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"id",type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"value",type:{name:"string"}},{name:"label",type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"className",type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"inputStyle",type:{name:"object"},defaultValue:{func:!1,value:"{}"}},{name:"isRequiredAsteriskShown",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}}],events:[{name:"blur",mixin:{name:"blur-mixin",path:"../mixins/blur-mixin.js"},type:{names:["undefined"]}},{name:"input",type:{names:["undefined"]}}]};__webpack_exports__.default={title:"Components/MotorVehicleAccidentClaimNumberInput",component:MotorVehicleAccidentClaimNumberInput,argTypes:{}};var Example=function Template(args,_ref){var argTypes=_ref.argTypes;return{props:Object.keys(argTypes).filter((function(x){return"value"!==x})),components:{MotorVehicleAccidentClaimNumberInput:MotorVehicleAccidentClaimNumberInput},data:function data(){return{value:null}},template:'<MotorVehicleAccidentClaimNumberInput v-bind="$props" v-model="value" />'}}.bind({});Example.args={label:"My Label:"},Example.parameters=Object.assign({storySource:{source:"(args, { argTypes }) => ({\n  props: Object.keys(argTypes).filter((x) => x !== 'value'),\n  components: { MotorVehicleAccidentClaimNumberInput },\n  data: () => ({\n    value: null,\n  }),\n  template: '<MotorVehicleAccidentClaimNumberInput v-bind=\"$props\" v-model=\"value\" />',\n})"}},Example.parameters)},1077:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"Example",(function(){return Example}));__webpack_require__(3),__webpack_require__(5),__webpack_require__(30),__webpack_require__(202);var cypress_mixin=__webpack_require__(26),blur_mixin=__webpack_require__(32),components_NumberInputvue_type_script_lang_js_={name:"NumberInput",mixins:[blur_mixin.a,cypress_mixin.a],props:{id:{type:String,default:""},value:{type:String},label:{type:String,default:""},className:{type:String,default:""},maxlength:{type:String,default:"1000"},inputStyle:{type:Object,default:function _default(){return{}}},isRequiredAsteriskShown:{type:Boolean,default:!1}},mounted:function mounted(){this.$refs.input.addEventListener("paste",this.pasteHandler)},beforeUnmount:function beforeUnmount(){this.$refs.input.removeEventListener("paste",this.pasteHandler)},methods:{inputHandler:function inputHandler(event){var _this=this;this.$emit("input",event.target.value),this.$nextTick((function(){_this.$refs.input.focus()}))},keypressHandler:function keypressHandler(event){var keyCode=event.which?event.which:event.keyCode;if(keyCode>=48&&keyCode<=57||45===keyCode||46===keyCode)return!0;event.preventDefault()},pasteHandler:function pasteHandler(event){var clipboardData=event.clipboardData||window.clipboardData;if(clipboardData){var text=clipboardData.getData("text");if(function intValidator(value){var number=parseFloat(value);return!isNaN(number)&&number%1==0&&/^[+-]?\d+$/.test(value)}(text)||function floatValidator(value){var number=parseFloat(value);return!isNaN(number)&&/^[+-]?\d+(\.\d+)$/.test(value)}(text))return!0;event.preventDefault()}else event.preventDefault()}}},componentNormalizer=__webpack_require__(9);const __vuedocgen_export_0=Object(componentNormalizer.a)(components_NumberInputvue_type_script_lang_js_,(function(){var _vm=this,_h=_vm.$createElement,_c=_vm._self._c||_h;return _c("div",{class:_vm.className},[_c("label",{attrs:{for:_vm.id}},[_vm._v("\n    "+_vm._s(_vm.label)),_vm.isRequiredAsteriskShown?_c("span",{staticClass:"required-asterisk"},[_vm._v("*")]):_vm._e()]),_c("br"),_vm._v(" "),_c("input",{ref:"input",staticClass:"form-control",style:_vm.inputStyle,attrs:{id:_vm.id,type:"text",name:"number","data-cy":_vm.getCypressValue(),maxlength:_vm.maxlength},domProps:{value:_vm.value},on:{input:function($event){return _vm.inputHandler($event)},keypress:function($event){return _vm.keypressHandler($event)},blur:function($event){return _vm.handleBlur($event)}}})])}),[],!1,null,null,null).exports;var NumberInput=__vuedocgen_export_0;__vuedocgen_export_0.__docgenInfo={exportName:"default",displayName:"NumberInput",description:"",tags:{},props:[{name:"cypressId",mixin:{name:"cypress-mixin",path:"../mixins/cypress-mixin.js"},type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"id",type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"value",type:{name:"string"}},{name:"label",type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"className",type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"maxlength",type:{name:"string"},defaultValue:{func:!1,value:"'1000'"}},{name:"inputStyle",type:{name:"object"},defaultValue:{func:!1,value:"{}"}},{name:"isRequiredAsteriskShown",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}}],events:[{name:"blur",mixin:{name:"blur-mixin",path:"../mixins/blur-mixin.js"},type:{names:["undefined"]}},{name:"input",type:{names:["undefined"]}}]};__webpack_exports__.default={title:"Components/NumberInput",component:NumberInput,argTypes:{}};var Example=function Template(args,_ref){var argTypes=_ref.argTypes;return{props:Object.keys(argTypes),components:{NumberInput:NumberInput},template:'<NumberInput v-bind="$props" />'}}.bind({});Example.args={label:"My Label:"},Example.parameters=Object.assign({storySource:{source:"(args, { argTypes }) => ({\n  props: Object.keys(argTypes),\n  components: { NumberInput },\n  template: '<NumberInput v-bind=\"$props\" />',\n})"}},Example.parameters)},1078:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"Example",(function(){return Example}));__webpack_require__(3),__webpack_require__(5),__webpack_require__(61);var cypress_mixin=__webpack_require__(26),components_NumberSelectvue_type_script_lang_js_={name:"NumberSelect",mixins:[__webpack_require__(32).a,cypress_mixin.a],props:{id:{type:String,default:""},value:{type:String},min:{type:Number,required:!0},max:{type:Number,required:!0},label:{type:String,default:""},className:{type:String,default:""},inputStyle:{type:Object,default:function _default(){return{}}},isRequiredAsteriskShown:{type:Boolean,default:!1}},data:function data(){return{options:[]}},created:function created(){for(var i=this.min;i<=this.max;i++)this.options.push(i)},methods:{changeHandler:function changeHandler(event){this.$emit("input",event.target.value)}}},componentNormalizer=__webpack_require__(9);const __vuedocgen_export_0=Object(componentNormalizer.a)(components_NumberSelectvue_type_script_lang_js_,(function(){var _vm=this,_h=_vm.$createElement,_c=_vm._self._c||_h;return _c("div",{class:_vm.className},[_c("label",{attrs:{for:_vm.id}},[_vm._v("\n    "+_vm._s(_vm.label)),_vm.isRequiredAsteriskShown?_c("span",{staticClass:"required-asterisk"},[_vm._v("*")]):_vm._e()]),_c("br"),_vm._v(" "),_c("select",{staticClass:"form-control",style:_vm.inputStyle,attrs:{id:_vm.id},domProps:{value:_vm.value},on:{change:function($event){return _vm.changeHandler($event)},blur:function($event){return _vm.handleBlur($event)}}},[_c("option",{domProps:{value:null}},[_vm._v("Please select")]),_vm._v(" "),_vm._l(_vm.options,(function(option){return _c("option",{key:option,attrs:{"data-cy":_vm.getCypressValue(option)},domProps:{value:option}},[_vm._v(_vm._s(option))])}))],2)])}),[],!1,null,null,null).exports;var NumberSelect=__vuedocgen_export_0;__vuedocgen_export_0.__docgenInfo={exportName:"default",displayName:"NumberSelect",description:"",tags:{},props:[{name:"cypressId",mixin:{name:"cypress-mixin",path:"../mixins/cypress-mixin.js"},type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"id",type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"value",type:{name:"string"}},{name:"min",type:{name:"number"},required:!0},{name:"max",type:{name:"number"},required:!0},{name:"label",type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"className",type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"inputStyle",type:{name:"object"},defaultValue:{func:!1,value:"{}"}},{name:"isRequiredAsteriskShown",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}}],events:[{name:"blur",mixin:{name:"blur-mixin",path:"../mixins/blur-mixin.js"},type:{names:["undefined"]}},{name:"input",type:{names:["undefined"]}}]};__webpack_exports__.default={title:"Components/NumberSelect",component:NumberSelect,argTypes:{}};var Example=function Template(args,_ref){var argTypes=_ref.argTypes;return{props:Object.keys(argTypes),components:{NumberSelect:NumberSelect},template:'<NumberSelect v-bind="$props" />'}}.bind({});Example.args={label:"My Label:",min:1,max:10},Example.parameters=Object.assign({storySource:{source:"(args, { argTypes }) => ({\n  props: Object.keys(argTypes),\n  components: { NumberSelect },\n  template: '<NumberSelect v-bind=\"$props\" />',\n})"}},Example.parameters)},1079:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"Example",(function(){return Example}));__webpack_require__(3),__webpack_require__(5),__webpack_require__(61);var components_PageContentvue_type_script_lang_js_={name:"PageContent",props:{deltaHeight:{type:Number,default:0}},computed:{pageContentStyles:function pageContentStyles(){return{"min-height":"calc(100vh - "+this.deltaHeight+"px)"}}}},componentNormalizer=(__webpack_require__(1045),__webpack_require__(9));const __vuedocgen_export_0=Object(componentNormalizer.a)(components_PageContentvue_type_script_lang_js_,(function(){var _vm=this,_h=_vm.$createElement;return(_vm._self._c||_h)("div",{staticClass:"page-content",style:_vm.pageContentStyles},[_vm._t("default",(function(){return[_vm._v("Page content here.")]}))],2)}),[],!1,null,null,null).exports;var PageContent=__vuedocgen_export_0;__vuedocgen_export_0.__docgenInfo={displayName:"PageContent",exportName:"default",description:"",tags:{},props:[{name:"deltaHeight",type:{name:"number"},defaultValue:{func:!1,value:"0"}}],slots:[{name:"default"}]};__webpack_exports__.default={title:"Components/PageContent",component:PageContent,argTypes:{}};var Example=function Template(args,_ref){var argTypes=_ref.argTypes;return{props:Object.keys(argTypes),components:{PageContent:PageContent},template:'<PageContent v-bind="$props" />'}}.bind({});Example.parameters=Object.assign({storySource:{source:"(args, { argTypes }) => ({\n  props: Object.keys(argTypes),\n  components: { PageContent },\n  template: '<PageContent v-bind=\"$props\" />',\n})"}},Example.parameters)},1080:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"Example",(function(){return Example}));__webpack_require__(3),__webpack_require__(5),__webpack_require__(88),__webpack_require__(30),__webpack_require__(48),__webpack_require__(61),__webpack_require__(164);var vueTextMask=__webpack_require__(91),vueTextMask_default=__webpack_require__.n(vueTextMask),cypress_mixin=__webpack_require__(26),blur_mixin=__webpack_require__(32),components_PhnInputvue_type_script_lang_js_={name:"PhnInput",components:{MaskedInput:vueTextMask_default.a},mixins:[blur_mixin.a,cypress_mixin.a],props:{id:{type:String,default:""},value:{type:String},label:{type:String,default:""},className:{type:String,default:""},inputStyle:{type:Object,default:function _default(){return{}}},isRequiredAsteriskShown:{type:Boolean,default:!1},placeholder:{type:String,default:""}},data:function data(){return{mask:[/\d/,/\d/,/\d/,/\d/," ",/\d/,/\d/,/\d/," ",/\d/,/\d/,/\d/]}},methods:{focus:function focus(){this.$refs.input.$el.focus()},inputHandler:function inputHandler(value){var _this=this;this.$emit("input",value),this.$nextTick((function(){_this.$refs.input.$el.focus()}))}}},componentNormalizer=__webpack_require__(9);const __vuedocgen_export_0=Object(componentNormalizer.a)(components_PhnInputvue_type_script_lang_js_,(function(){var _vm=this,_h=_vm.$createElement,_c=_vm._self._c||_h;return _c("div",{class:_vm.className},[_c("label",{attrs:{for:_vm.id}},[_vm._v("\n    "+_vm._s(_vm.label)),_vm.isRequiredAsteriskShown?_c("span",{staticClass:"required-asterisk"},[_vm._v("*")]):_vm._e()]),_c("br"),_vm._v(" "),_c("masked-input",{ref:"input",staticClass:"form-control",style:_vm.inputStyle,attrs:{id:_vm.id,type:"text",name:"phn","data-cy":_vm.getCypressValue(),value:_vm.value,mask:_vm.mask,guide:!1,placeholderChar:"#",placeholder:_vm.placeholder},on:{input:function($event){return _vm.inputHandler($event)},blur:function($event){return _vm.handleBlur($event)}}})],1)}),[],!1,null,null,null).exports;var PhnInput=__vuedocgen_export_0;__vuedocgen_export_0.__docgenInfo={exportName:"default",displayName:"PhnInput",description:"",tags:{},props:[{name:"cypressId",mixin:{name:"cypress-mixin",path:"../mixins/cypress-mixin.js"},type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"id",type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"value",type:{name:"string"}},{name:"label",type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"className",type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"inputStyle",type:{name:"object"},defaultValue:{func:!1,value:"{}"}},{name:"isRequiredAsteriskShown",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}},{name:"placeholder",type:{name:"string"},defaultValue:{func:!1,value:"''"}}],events:[{name:"blur",mixin:{name:"blur-mixin",path:"../mixins/blur-mixin.js"},type:{names:["undefined"]}},{name:"input",type:{names:["undefined"]}}]};__webpack_exports__.default={title:"Components/PhnInput",component:PhnInput,argTypes:{}};var Example=function Template(args,_ref){var argTypes=_ref.argTypes;return{props:Object.keys(argTypes),components:{PhnInput:PhnInput},template:'<PhnInput v-bind="$props" />'}}.bind({});Example.args={label:"My Label:"},Example.parameters=Object.assign({storySource:{source:"(args, { argTypes }) => ({\n  props: Object.keys(argTypes),\n  components: { PhnInput },\n  template: '<PhnInput v-bind=\"$props\" />',\n})"}},Example.parameters)},1081:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"Example",(function(){return Example}));__webpack_require__(3),__webpack_require__(5);var vueTextMask=__webpack_require__(91),vueTextMask_default=__webpack_require__.n(vueTextMask),cypress_mixin=__webpack_require__(26),blur_mixin=__webpack_require__(32),components_PhoneNumberInputvue_type_script_lang_js_={name:"PhoneNumberInput",components:{MaskedInput:vueTextMask_default.a},mixins:[blur_mixin.a,cypress_mixin.a],props:{id:{type:String,default:""},value:{type:String},label:{type:String,default:""},className:{type:String,default:""},inputStyle:{type:Object,default:function _default(){return{}}},isRequiredAsteriskShown:{type:Boolean,default:!1}},data:function data(){return{mask:["(",/[2-9]/,/\d/,/\d/,")"," ",/\d/,/\d/,/\d/,"-",/\d/,/\d/,/\d/,/\d/]}},methods:{inputHandler:function inputHandler(value){var _this=this;this.$emit("input",value),this.$nextTick((function(){_this.$refs.input.$el.focus()}))}}},componentNormalizer=__webpack_require__(9);const __vuedocgen_export_0=Object(componentNormalizer.a)(components_PhoneNumberInputvue_type_script_lang_js_,(function(){var _vm=this,_h=_vm.$createElement,_c=_vm._self._c||_h;return _c("div",{class:_vm.className},[_c("label",{attrs:{for:_vm.id}},[_vm._v("\n    "+_vm._s(_vm.label)),_vm.isRequiredAsteriskShown?_c("span",{staticClass:"required-asterisk"},[_vm._v("*")]):_vm._e()]),_c("br"),_vm._v(" "),_c("masked-input",{ref:"input",staticClass:"form-control",style:_vm.inputStyle,attrs:{id:_vm.id,type:"text",name:"postalCode","data-cy":_vm.getCypressValue(),value:_vm.value,mask:_vm.mask,guide:!0,placeholderChar:"_"},on:{input:function($event){return _vm.inputHandler($event)},blur:function($event){return _vm.handleBlur($event)}}})],1)}),[],!1,null,null,null).exports;var PhoneNumberInput=__vuedocgen_export_0;__vuedocgen_export_0.__docgenInfo={exportName:"default",displayName:"PhoneNumberInput",description:"",tags:{},props:[{name:"cypressId",mixin:{name:"cypress-mixin",path:"../mixins/cypress-mixin.js"},type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"id",type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"value",type:{name:"string"}},{name:"label",type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"className",type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"inputStyle",type:{name:"object"},defaultValue:{func:!1,value:"{}"}},{name:"isRequiredAsteriskShown",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}}],events:[{name:"blur",mixin:{name:"blur-mixin",path:"../mixins/blur-mixin.js"},type:{names:["undefined"]}},{name:"input",type:{names:["undefined"]}}]};__webpack_exports__.default={title:"Components/PhoneNumberInput",component:PhoneNumberInput,argTypes:{}};var Example=function Template(args,_ref){var argTypes=_ref.argTypes;return{props:Object.keys(argTypes),components:{PhoneNumberInput:PhoneNumberInput},template:'<PhoneNumberInput v-bind="$props" />'}}.bind({});Example.args={label:"My Label:"},Example.parameters=Object.assign({storySource:{source:"(args, { argTypes }) => ({\n  props: Object.keys(argTypes),\n  components: { PhoneNumberInput },\n  template: '<PhoneNumberInput v-bind=\"$props\" />',\n})"}},Example.parameters)},1082:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"Example",(function(){return Example}));__webpack_require__(34),__webpack_require__(11),__webpack_require__(3),__webpack_require__(5);var vueTextMask=__webpack_require__(91),vueTextMask_default=__webpack_require__.n(vueTextMask),cypress_mixin=__webpack_require__(26),blur_mixin=__webpack_require__(32),components_PostalCodeInputvue_type_script_lang_js_={name:"PostalCodeInput",components:{MaskedInput:vueTextMask_default.a},mixins:[blur_mixin.a,cypress_mixin.a],props:{id:{type:String,default:""},value:{type:String},label:{type:String,default:""},className:{type:String,default:""},inputStyle:{type:Object,default:function _default(){return{}}},isRequiredAsteriskShown:{type:Boolean,default:!1}},data:function data(){return{mask:[/[A-Za-z]/,/\d/,/[A-Za-z]/," ",/\d/,/[A-Za-z]/,/\d/]}},methods:{inputHandler:function inputHandler(value){var _this=this;if(value){var upperCaseValue=value.toUpperCase();this.$emit("input",upperCaseValue)}else this.$emit("input",null);this.$nextTick((function(){_this.$refs.input.$el.focus()}))}}},componentNormalizer=__webpack_require__(9);const __vuedocgen_export_0=Object(componentNormalizer.a)(components_PostalCodeInputvue_type_script_lang_js_,(function(){var _vm=this,_h=_vm.$createElement,_c=_vm._self._c||_h;return _c("div",{class:_vm.className},[_c("label",{attrs:{for:_vm.id}},[_vm._v("\n    "+_vm._s(_vm.label)),_vm.isRequiredAsteriskShown?_c("span",{staticClass:"required-asterisk"},[_vm._v("*")]):_vm._e()]),_c("br"),_vm._v(" "),_c("masked-input",{ref:"input",staticClass:"form-control",style:_vm.inputStyle,attrs:{id:_vm.id,type:"text",name:"postalCode","data-cy":_vm.getCypressValue(),value:_vm.value,mask:_vm.mask,guide:!1,placeholderChar:"#"},on:{input:function($event){return _vm.inputHandler($event)},blur:function($event){return _vm.handleBlur($event)}}})],1)}),[],!1,null,null,null).exports;var PostalCodeInput=__vuedocgen_export_0;__vuedocgen_export_0.__docgenInfo={exportName:"default",displayName:"PostalCodeInput",description:"",tags:{},props:[{name:"cypressId",mixin:{name:"cypress-mixin",path:"../mixins/cypress-mixin.js"},type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"id",type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"value",type:{name:"string"}},{name:"label",type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"className",type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"inputStyle",type:{name:"object"},defaultValue:{func:!1,value:"{}"}},{name:"isRequiredAsteriskShown",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}}],events:[{name:"blur",mixin:{name:"blur-mixin",path:"../mixins/blur-mixin.js"},type:{names:["undefined"]}},{name:"input",type:{names:["undefined"]}}]};__webpack_exports__.default={title:"Components/PostalCodeInput",component:PostalCodeInput,argTypes:{}};var Example=function Template(args,_ref){var argTypes=_ref.argTypes;return{props:Object.keys(argTypes).filter((function(x){return"value"!==x})),components:{PostalCodeInput:PostalCodeInput},data:function data(){return{value:null}},template:'<PostalCodeInput v-bind="$props" v-model="value" />'}}.bind({});Example.args={label:"My Label:"},Example.parameters=Object.assign({storySource:{source:"(args, { argTypes }) => ({\n  props: Object.keys(argTypes).filter((x) => x !== 'value'),\n  components: { PostalCodeInput },\n  data: () => ({\n    value: null,\n  }),\n  template: '<PostalCodeInput v-bind=\"$props\" v-model=\"value\" />',\n})"}},Example.parameters)},1083:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"Example",(function(){return Example}));__webpack_require__(34),__webpack_require__(11),__webpack_require__(3),__webpack_require__(5);var vueTextMask=__webpack_require__(91),vueTextMask_default=__webpack_require__.n(vueTextMask),cypress_mixin=__webpack_require__(26),blur_mixin=__webpack_require__(32),components_PractitionerNumberInputvue_type_script_lang_js_={name:"PractitionerNumberInput",components:{MaskedInput:vueTextMask_default.a},mixins:[blur_mixin.a,cypress_mixin.a],props:{id:{type:String,default:""},value:{type:String},label:{type:String,default:""},className:{type:String,default:""},inputStyle:{type:Object,default:function _default(){return{}}},isRequiredAsteriskShown:{type:Boolean,default:!1}},data:function data(){return{mask:[/[A-Za-z0-9]/,/\d/,/\d/,/\d/,/\d/]}},methods:{inputHandler:function inputHandler(value){var _this=this;if(value){var upperCaseValue=value.toUpperCase();this.$emit("input",upperCaseValue)}else this.$emit("input",null);this.$nextTick((function(){_this.$refs.input.$el.focus()}))}}},componentNormalizer=__webpack_require__(9);const __vuedocgen_export_0=Object(componentNormalizer.a)(components_PractitionerNumberInputvue_type_script_lang_js_,(function(){var _vm=this,_h=_vm.$createElement,_c=_vm._self._c||_h;return _c("div",{class:_vm.className},[_c("label",{attrs:{for:_vm.id}},[_vm._v("\n    "+_vm._s(_vm.label)),_vm.isRequiredAsteriskShown?_c("span",{staticClass:"required-asterisk"},[_vm._v("*")]):_vm._e()]),_c("br"),_vm._v(" "),_c("masked-input",{ref:"input",staticClass:"form-control",style:_vm.inputStyle,attrs:{id:_vm.id,type:"text",name:"practitionerNumber","data-cy":_vm.getCypressValue(),value:_vm.value,mask:_vm.mask,guide:!1,placeholderChar:"#"},on:{input:function($event){return _vm.inputHandler($event)},blur:function($event){return _vm.handleBlur($event)}}})],1)}),[],!1,null,null,null).exports;var PractitionerNumberInput=__vuedocgen_export_0;__vuedocgen_export_0.__docgenInfo={exportName:"default",displayName:"PractitionerNumberInput",description:"",tags:{},props:[{name:"cypressId",mixin:{name:"cypress-mixin",path:"../mixins/cypress-mixin.js"},type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"id",type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"value",type:{name:"string"}},{name:"label",type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"className",type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"inputStyle",type:{name:"object"},defaultValue:{func:!1,value:"{}"}},{name:"isRequiredAsteriskShown",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}}],events:[{name:"blur",mixin:{name:"blur-mixin",path:"../mixins/blur-mixin.js"},type:{names:["undefined"]}},{name:"input",type:{names:["undefined"]}}]};__webpack_exports__.default={title:"Components/PractitionerNumberInput",component:PractitionerNumberInput,argTypes:{}};var Example=function Template(args,_ref){var argTypes=_ref.argTypes;return{props:Object.keys(argTypes).filter((function(x){return"value"!==x})),components:{PractitionerNumberInput:PractitionerNumberInput},data:function data(){return{value:null}},template:'<PractitionerNumberInput v-bind="$props" v-model="value" />'}}.bind({});Example.args={label:"My Label:"},Example.parameters=Object.assign({storySource:{source:"(args, { argTypes }) => ({\n  props: Object.keys(argTypes).filter((x) => x !== 'value'),\n  components: { PractitionerNumberInput },\n  data: () => ({\n    value: null,\n  }),\n  template: '<PractitionerNumberInput v-bind=\"$props\" v-model=\"value\" />',\n})"}},Example.parameters)},1084:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"Example",(function(){return Example}));__webpack_require__(3),__webpack_require__(5),__webpack_require__(29),__webpack_require__(15);var Button=__webpack_require__(82),cypress_mixin=__webpack_require__(26),components_PromptModalvue_type_script_lang_js_={name:"PromptModal",components:{Button:Button.a},mixins:[cypress_mixin.a],props:{title:{type:String,default:""},yesButtonLabel:{type:String,default:"Yes"},noButtonLabel:{type:String,default:"No"}},data:function data(){return{focusableEls:[],focusedEl:null}},created:function created(){window.addEventListener("keydown",this.handleKeyDown),document.body.classList.add("no-scroll")},destroyed:function destroyed(){window.removeEventListener("keydown",this.handleKeyDown),document.body.classList.remove("no-scroll")},mounted:function mounted(){this.focusableEls=this.getFocusableEls()},methods:{yesButtonHandler:function yesButtonHandler(){this.$emit("yes")},noButtonHandler:function noButtonHandler(){this.$emit("no")},getFocusableEls:function getFocusableEls(){return Array.from(this.$refs.modal.querySelectorAll('a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button, [tabindex="0"]'))},handleKeyDown:function handleKeyDown(event){"Tab"===event.key&&(event.preventDefault(),event.shiftKey?this.handleTabBackwards():this.handleTab())},handleTab:function handleTab(){if(!this.focusedEl&&this.focusableEls.length>0)return this.focusedEl=this.focusableEls[0],void this.focusedEl.focus();var position=this.focusableEls.indexOf(this.focusedEl);position===this.focusableEls.length-1?this.focusedEl=this.focusableEls[0]:this.focusedEl=this.focusableEls[position+1],this.focusedEl.focus()},handleTabBackwards:function handleTabBackwards(){if(!this.focusedEl&&this.focusableEls.length>0)return this.focusedEl=this.focusableEls[this.focusableEls.length-1],void this.focusedEl.focus();var position=this.focusableEls.indexOf(this.focusedEl);this.focusedEl=0===position?this.focusableEls[this.focusableEls.length-1]:this.focusableEls[position-1],this.focusedEl.focus()}}},componentNormalizer=(__webpack_require__(1049),__webpack_require__(9));const __vuedocgen_export_0=Object(componentNormalizer.a)(components_PromptModalvue_type_script_lang_js_,(function(){var _vm=this,_h=_vm.$createElement,_c=_vm._self._c||_h;return _c("div",{ref:"modal"},[_c("div",{staticClass:"modal fade show",attrs:{id:"exampleModal",tabindex:"-1",role:"dialog","aria-labelledby":"exampleModalLabel"}},[_c("div",{staticClass:"modal-dialog modal-dialog-centered modal-lg",attrs:{role:"document"}},[_c("div",{staticClass:"modal-content"},[_c("div",{staticClass:"modal-header"},[_c("h2",{staticClass:"modal-title"},[_vm._v(_vm._s(_vm.title))])]),_vm._v(" "),_c("div",{staticClass:"modal-body"},[_vm._t("default")],2),_vm._v(" "),_c("div",{staticClass:"modal-footer justify-content-center d-block"},[_c("div",{staticClass:"row"},[_c("div",{staticClass:"col-6 text-right"},[_c("Button",{attrs:{label:_vm.yesButtonLabel,"data-cy":_vm.getCypressValue("Left")},on:{click:function($event){return _vm.yesButtonHandler()}}})],1),_vm._v(" "),_c("div",{staticClass:"col-6"},[_c("Button",{attrs:{label:_vm.noButtonLabel,"data-cy":_vm.getCypressValue("Right")},on:{click:function($event){return _vm.noButtonHandler()}}})],1)])])])])])])}),[],!1,null,"26b7f5c2",null).exports;var PromptModal=__vuedocgen_export_0;__vuedocgen_export_0.__docgenInfo={exportName:"default",displayName:"PromptModal",description:"",tags:{},props:[{name:"cypressId",mixin:{name:"cypress-mixin",path:"../mixins/cypress-mixin.js"},type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"title",type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"yesButtonLabel",type:{name:"string"},defaultValue:{func:!1,value:"'Yes'"}},{name:"noButtonLabel",type:{name:"string"},defaultValue:{func:!1,value:"'No'"}}],events:[{name:"yes"},{name:"no"}],slots:[{name:"default"}]};__webpack_exports__.default={title:"Components/PromptModal",component:PromptModal,argTypes:{}};var Example=function Template(args,_ref){var argTypes=_ref.argTypes;return{props:Object.keys(argTypes),components:{PromptModal:PromptModal},template:'<PromptModal v-bind="$props" />'}}.bind({});Example.args={title:"My Title:"},Example.parameters=Object.assign({storySource:{source:"(args, { argTypes }) => ({\n  props: Object.keys(argTypes),\n  components: { PromptModal },\n  template: '<PromptModal v-bind=\"$props\" />',\n})"}},Example.parameters)},1085:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"Example",(function(){return Example}));__webpack_require__(3),__webpack_require__(5);var components_Radiovue_type_script_lang_js_={name:"Radio",mixins:[__webpack_require__(32).a],props:{id:{type:String,default:""},value:{type:String},items:{type:Array,default:function _default(){return[]}},name:{type:String,default:""},label:{type:String,default:null},className:{type:String,default:""},horizontalAlign:{type:Boolean,default:!1},cypressId:{type:String,default:""},isRequiredAsteriskShown:{type:Boolean,default:!1}},methods:{handleChangeValue:function handleChangeValue(event){var value=event.target.value;this.$emit("input",value)},getCypressValue:function getCypressValue(item){return this.cypressId?item.id?this.cypressId+item.id:item.label?this.cypressId+item.label:null:null}}},componentNormalizer=(__webpack_require__(1051),__webpack_require__(9));const __vuedocgen_export_0=Object(componentNormalizer.a)(components_Radiovue_type_script_lang_js_,(function(){var _vm=this,_h=_vm.$createElement,_c=_vm._self._c||_h;return _c("fieldset",{class:_vm.className},[_vm.label?_c("legend",{staticClass:"label",attrs:{tabindex:"-1"}},[_vm._v("\n    "+_vm._s(_vm.label)),_vm.isRequiredAsteriskShown?_c("span",{staticClass:"required-asterisk"},[_vm._v("*")]):_vm._e()]):_vm._e(),_vm._v(" "),_c("div",[_vm._t("description")],2),_vm._v(" "),_c("div",{class:_vm.horizontalAlign?"horizontal-radio-container":""},_vm._l(_vm.items,(function(item){return _c("div",{key:item.value,staticClass:"md-radio"},[_c("input",{attrs:{type:"radio",id:_vm.id+"-"+item.id,name:_vm.name,"data-cy":_vm.getCypressValue(item)},domProps:{value:item.value,checked:_vm.value===item.value},on:{change:function($event){return _vm.handleChangeValue($event)},blur:function($event){return _vm.handleBlur($event)}}}),_vm._v(" "),_c("label",{attrs:{for:_vm.id+"-"+item.id}},[_vm._v(_vm._s(item.label))]),_vm._v(" "),_c("br")])})),0)])}),[],!1,null,"a609697e",null).exports;var Radio=__vuedocgen_export_0;__vuedocgen_export_0.__docgenInfo={exportName:"default",displayName:"Radio",description:"",tags:{},props:[{name:"id",type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"value",type:{name:"string"}},{name:"items",type:{name:"array"},defaultValue:{func:!1,value:"[]"}},{name:"name",type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"label",type:{name:"string"},defaultValue:{func:!1,value:"null"}},{name:"className",type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"horizontalAlign",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}},{name:"cypressId",type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"isRequiredAsteriskShown",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}}],events:[{name:"blur",mixin:{name:"blur-mixin",path:"../mixins/blur-mixin.js"},type:{names:["undefined"]}},{name:"input",type:{names:["undefined"]}}],slots:[{name:"description"}]};__webpack_exports__.default={title:"Components/Radio",component:Radio,argTypes:{}};var Example=function Template(args,_ref){var argTypes=_ref.argTypes;return{props:Object.keys(argTypes),components:{Radio:Radio},template:'<Radio v-bind="$props" />'}}.bind({});Example.args={label:"My Label:",items:[{id:"yes",label:"Yes",value:"Y"},{id:"no",label:"No",value:"N"}]},Example.parameters=Object.assign({storySource:{source:"(args, { argTypes }) => ({\n  props: Object.keys(argTypes),\n  components: { Radio },\n  template: '<Radio v-bind=\"$props\" />',\n})"}},Example.parameters)},1086:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"Example",(function(){return Example}));__webpack_require__(3),__webpack_require__(5);var vueCountryRegionSelect_umd_min=__webpack_require__(271),blur_mixin=__webpack_require__(32),components_RegionSelectvue_type_script_lang_js_={name:"RegionSelect",components:{VueRegionSelect:vueCountryRegionSelect_umd_min.RegionSelect},mixins:[blur_mixin.a],props:{id:{type:String,default:""},name:{type:String,default:"region"},value:{type:String},country:{type:String,default:"Canada"},label:{type:String,default:""},inputStyle:{type:Object,default:function _default(){return{}}},className:{type:String,default:""},defaultOptionLabel:{type:String,default:"Select region"},disabled:{type:Boolean,default:!1}},methods:{handleInput:function handleInput(value){this.$emit("input",value)}}},componentNormalizer=__webpack_require__(9);const __vuedocgen_export_0=Object(componentNormalizer.a)(components_RegionSelectvue_type_script_lang_js_,(function(){var _vm=this,_h=_vm.$createElement,_c=_vm._self._c||_h;return _c("div",{class:_vm.className},[_c("label",{attrs:{for:_vm.id}},[_vm._v(_vm._s(_vm.label))]),_vm._v(" "),_c("br"),_vm._v(" "),_c("div",[_vm._t("description")],2),_vm._v(" "),_c("VueRegionSelect",{staticClass:"form-control",style:_vm.inputStyle,attrs:{id:_vm.id,"aria-label":"Region",name:_vm.name,disabled:_vm.disabled,value:_vm.value,country:_vm.country,region:_vm.value,countryName:!0,regionName:!0,placeholder:_vm.defaultOptionLabel},on:{input:function($event){return _vm.handleInput($event)},blur:function($event){return _vm.handleBlur($event)}}})],1)}),[],!1,null,null,null).exports;var RegionSelect=__vuedocgen_export_0;__vuedocgen_export_0.__docgenInfo={exportName:"default",displayName:"RegionSelect",description:"",tags:{},props:[{name:"id",type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"name",type:{name:"string"},defaultValue:{func:!1,value:"'region'"}},{name:"value",type:{name:"string"}},{name:"country",type:{name:"string"},defaultValue:{func:!1,value:"'Canada'"}},{name:"label",type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"inputStyle",type:{name:"object"},defaultValue:{func:!1,value:"{}"}},{name:"className",type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"defaultOptionLabel",type:{name:"string"},defaultValue:{func:!1,value:"'Select region'"}},{name:"disabled",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}}],events:[{name:"blur",mixin:{name:"blur-mixin",path:"../mixins/blur-mixin.js"},type:{names:["undefined"]}},{name:"input",type:{names:["undefined"]}}],slots:[{name:"description"}]};__webpack_exports__.default={title:"Components/RegionSelect",component:RegionSelect,argTypes:{}};var Example=function Template(args,_ref){var argTypes=_ref.argTypes;return{props:Object.keys(argTypes),components:{RegionSelect:RegionSelect},template:'<RegionSelect v-bind="$props" />'}}.bind({});Example.args={label:"My Region:",id:"region"},Example.parameters=Object.assign({storySource:{source:"(args, { argTypes }) => ({\n  props: Object.keys(argTypes),\n  components: { RegionSelect },\n  template: '<RegionSelect v-bind=\"$props\" />',\n})"}},Example.parameters)},1087:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"Example",(function(){return Example}));__webpack_require__(3),__webpack_require__(5);var cypress_mixin=__webpack_require__(26),components_Selectvue_type_script_lang_js_={name:"Select",mixins:[__webpack_require__(32).a,cypress_mixin.a],props:{id:{type:String,default:""},value:{type:String},label:{type:String,default:""},className:{type:String,default:""},inputStyle:{type:Object,default:function _default(){return{}}},options:{type:Array,default:function _default(){return[]}},defaultOptionLabel:{type:String,default:"Select"},isRequiredAsteriskShown:{type:Boolean,default:!1}},methods:{changeHandler:function changeHandler(event){this.$emit("input",event.target.value)}}},componentNormalizer=__webpack_require__(9);const __vuedocgen_export_0=Object(componentNormalizer.a)(components_Selectvue_type_script_lang_js_,(function(){var _vm=this,_h=_vm.$createElement,_c=_vm._self._c||_h;return _c("div",{class:_vm.className},[_c("label",{attrs:{for:_vm.id}},[_vm._v("\n    "+_vm._s(_vm.label)),_vm.isRequiredAsteriskShown?_c("span",{staticClass:"required-asterisk"},[_vm._v("*")]):_vm._e()]),_c("br"),_vm._v(" "),_c("div",[_vm._t("description")],2),_vm._v(" "),_c("select",{staticClass:"form-control",style:_vm.inputStyle,attrs:{id:_vm.id},domProps:{value:_vm.value},on:{change:function($event){return _vm.changeHandler($event)},blur:function($event){return _vm.handleBlur($event)}}},[_c("option",{domProps:{value:null}},[_vm._v(_vm._s(_vm.defaultOptionLabel))]),_vm._v(" "),_vm._l(_vm.options,(function(option,index){return _c("option",{key:index,attrs:{"data-cy":_vm.getCypressValue(index)},domProps:{value:option.value}},[_vm._v(_vm._s(option.label))])}))],2)])}),[],!1,null,null,null).exports;var Select=__vuedocgen_export_0;__vuedocgen_export_0.__docgenInfo={exportName:"default",displayName:"Select",description:"",tags:{},props:[{name:"cypressId",mixin:{name:"cypress-mixin",path:"../mixins/cypress-mixin.js"},type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"id",type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"value",type:{name:"string"}},{name:"label",type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"className",type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"inputStyle",type:{name:"object"},defaultValue:{func:!1,value:"{}"}},{name:"options",type:{name:"array"},defaultValue:{func:!1,value:"[]"}},{name:"defaultOptionLabel",type:{name:"string"},defaultValue:{func:!1,value:"'Select'"}},{name:"isRequiredAsteriskShown",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}}],events:[{name:"blur",mixin:{name:"blur-mixin",path:"../mixins/blur-mixin.js"},type:{names:["undefined"]}},{name:"input",type:{names:["undefined"]}}],slots:[{name:"description"}]};__webpack_exports__.default={title:"Components/Select",component:Select,argTypes:{}};var Example=function Template(args,_ref){var argTypes=_ref.argTypes;return{props:Object.keys(argTypes),components:{Select:Select},template:'<Select v-bind="$props" />'}}.bind({});Example.args={label:"My Label:",options:[{value:"A",label:"Option A"},{value:"B",label:"Option B"},{value:"C",label:"Option C"}]},Example.parameters=Object.assign({storySource:{source:"(args, { argTypes }) => ({\n  props: Object.keys(argTypes),\n  components: { Select },\n  template: '<Select v-bind=\"$props\" />',\n})"}},Example.parameters)},1088:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"Example",(function(){return Example}));__webpack_require__(3),__webpack_require__(5),__webpack_require__(61);var cypress_mixin=__webpack_require__(26),components_Textareavue_type_script_lang_js_={name:"Textarea",components:{},mixins:[__webpack_require__(32).a,cypress_mixin.a],props:{value:{type:String},id:{type:String,default:""},label:{type:String,default:""},className:{type:String,default:""},maxlength:{type:String,default:null},remainingCharsMaxlength:{type:Number,default:0},inputStyle:{type:Object,default:function _default(){return{}}},isRemainingCharsShown:{type:Boolean,default:!1},isRequiredAsteriskShown:{type:Boolean,default:!1}},methods:{inputHandler:function inputHandler(event){var _this=this;this.$emit("input",event.target.value),this.$nextTick((function(){_this.$refs.input.focus()}))}},computed:{remainingCharsClasses:function remainingCharsClasses(){return"remaining-chars "+(this.value&&this.remainingCharsMaxlength&&this.value.length>this.remainingCharsMaxlength?"error text-danger":"")},remainingCharsText:function remainingCharsText(){return"Characters remaining: "+(this.value&&this.remainingCharsMaxlength?this.remainingCharsMaxlength-this.value.length:this.remainingCharsMaxlength)}}},componentNormalizer=(__webpack_require__(1053),__webpack_require__(9));const __vuedocgen_export_0=Object(componentNormalizer.a)(components_Textareavue_type_script_lang_js_,(function(){var _vm=this,_h=_vm.$createElement,_c=_vm._self._c||_h;return _c("div",{class:_vm.className},[_c("label",{attrs:{for:_vm.id}},[_vm._v("\n    "+_vm._s(_vm.label)),_vm.isRequiredAsteriskShown?_c("span",{staticClass:"required-asterisk"},[_vm._v("*")]):_vm._e()]),_c("br"),_vm._v(" "),_c("textarea",{ref:"input",staticClass:"form-control",style:_vm.inputStyle,attrs:{id:_vm.id,"data-cy":_vm.getCypressValue(),maxlength:_vm.maxlength},domProps:{value:_vm.value},on:{input:function($event){return _vm.inputHandler($event)},blur:function($event){return _vm.handleBlur($event)}}}),_vm._v(" "),_vm.isRemainingCharsShown?_c("div",{class:_vm.remainingCharsClasses},[_vm._v(_vm._s(_vm.remainingCharsText))]):_vm._e()])}),[],!1,null,"41b217d6",null).exports;var Textarea=__vuedocgen_export_0;__vuedocgen_export_0.__docgenInfo={exportName:"default",displayName:"Textarea",description:"",tags:{},props:[{name:"cypressId",mixin:{name:"cypress-mixin",path:"../mixins/cypress-mixin.js"},type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"value",type:{name:"string"}},{name:"id",type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"label",type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"className",type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"maxlength",type:{name:"string"},defaultValue:{func:!1,value:"null"}},{name:"remainingCharsMaxlength",type:{name:"number"},defaultValue:{func:!1,value:"0"}},{name:"inputStyle",type:{name:"object"},defaultValue:{func:!1,value:"{}"}},{name:"isRemainingCharsShown",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}},{name:"isRequiredAsteriskShown",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}}],events:[{name:"blur",mixin:{name:"blur-mixin",path:"../mixins/blur-mixin.js"},type:{names:["undefined"]}},{name:"input",type:{names:["undefined"]}}]};__webpack_exports__.default={title:"Components/Textarea",component:Textarea,argTypes:{}};var Example=function Template(args,_ref){var argTypes=_ref.argTypes;return{props:Object.keys(argTypes),components:{Textarea:Textarea},template:'<Textarea v-bind="$props" />'}}.bind({});Example.args={label:"My Textarea:"},Example.parameters=Object.assign({storySource:{source:"(args, { argTypes }) => ({\n  props: Object.keys(argTypes),\n  components: { Textarea },\n  template: '<Textarea v-bind=\"$props\" />',\n})"}},Example.parameters)},1089:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"Example",(function(){return Example})),__webpack_require__.d(__webpack_exports__,"TwoDigitHourExample",(function(){return TwoDigitHourExample}));__webpack_require__(3),__webpack_require__(5);var cypress_mixin=__webpack_require__(26),components_TimeInputvue_type_script_lang_js_={name:"TimeInput",mixins:[__webpack_require__(32).a,cypress_mixin.a],props:{value:{type:Object},id:{type:String,default:""},className:{type:String,default:""},disabled:{type:Boolean,default:!1},label:{type:String,default:""},isHourTwoDigits:{type:Boolean,default:!1},isRequiredAsteriskShown:{type:Boolean,default:!1}},data:function data(){return{hour:null,minute:null,hours:[],minutes:[]}},created:function created(){this.value?(this.hour=this.value.hour,this.minute=this.value.minute,this.value.time||this.writeModel()):this.writeModel(),this.createHourOptions(),this.createMinuteOptions()},methods:{createHourOptions:function createHourOptions(){this.hours=[];for(var i=0;i<24;i++)this.hours.push(""+(this.isHourTwoDigits?this.getDoubleDigitNumber(i):i))},createMinuteOptions:function createMinuteOptions(){this.minutes=[];for(var i=0;i<60;i++)this.minutes.push(this.getDoubleDigitNumber(i))},getDoubleDigitNumber:function getDoubleDigitNumber(number){return number>9?""+number:"0"+number},changeHourHandler:function changeHourHandler(event){var value=event.target.value;this.hour=value||null,this.writeModel(),this.$emit("changeHour",this.hour)},changeMinuteHandler:function changeMinuteHandler(){var value=event.target.value;this.minute=value||null,this.writeModel(),this.$emit("changeMinute",this.minute)},writeModel:function writeModel(){this.$emit("input",{hour:this.hour,minute:this.minute,time:this.isTimeValid()?this.getTime():null})},isTimeValid:function isTimeValid(){var hour=parseInt(this.hour),minute=parseInt(this.minute);return hour>=0&&hour<24&&minute>=0&&minute<60},getTime:function getTime(){return this.hour+":"+this.minute}},watch:{value:function value(_value){_value?(this.hour=_value.hour,this.minute=_value.minute):(this.hour=null,this.minute=null)},isHourTwoDigits:function isHourTwoDigits(){this.createHourOptions()}}},componentNormalizer=(__webpack_require__(1055),__webpack_require__(9));const __vuedocgen_export_0=Object(componentNormalizer.a)(components_TimeInputvue_type_script_lang_js_,(function(){var _vm=this,_h=_vm.$createElement,_c=_vm._self._c||_h;return _c("div",{class:_vm.className},[_c("fieldset",[_c("legend",[_vm._v("\n      "+_vm._s(_vm.label)),_vm.isRequiredAsteriskShown?_c("span",{staticClass:"required-asterisk"},[_vm._v("*")]):_vm._e()]),_vm._v(" "),_c("div",{staticClass:"time-row"},[_c("label",{attrs:{for:_vm.id+"-hour-select"}},[_vm._v("Hour:")]),_vm._v(" "),_c("select",{directives:[{name:"model",rawName:"v-model",value:_vm.hour,expression:"hour"}],staticClass:"form-control hour-select",attrs:{id:_vm.id+"-hour-select",disabled:_vm.disabled},on:{change:[function($event){var $$selectedVal=Array.prototype.filter.call($event.target.options,(function(o){return o.selected})).map((function(o){return"_value"in o?o._value:o.value}));_vm.hour=$event.target.multiple?$$selectedVal:$$selectedVal[0]},function($event){return _vm.changeHourHandler($event)}],blur:function($event){return _vm.handleBlur($event)}}},[_c("option",{domProps:{value:null}},[_vm._v(_vm._s(_vm.isHourTwoDigits?"HH":"H"))]),_vm._v(" "),_vm._l(_vm.hours,(function(hour,index){return _c("option",{key:index,attrs:{"data-cy":_vm.getCypressValue("Hour"+index)},domProps:{value:hour}},[_vm._v(_vm._s(hour))])}))],2),_vm._v(" "),_c("div",{staticClass:"time-colon d-flex align-items-center"},[_vm._v(":")]),_vm._v(" "),_c("label",{attrs:{for:_vm.id+"-minute-select"}},[_vm._v("Minute:")]),_vm._v(" "),_c("select",{directives:[{name:"model",rawName:"v-model",value:_vm.minute,expression:"minute"}],staticClass:"form-control minute-select",attrs:{id:_vm.id+"-minute-select",disabled:_vm.disabled},on:{change:[function($event){var $$selectedVal=Array.prototype.filter.call($event.target.options,(function(o){return o.selected})).map((function(o){return"_value"in o?o._value:o.value}));_vm.minute=$event.target.multiple?$$selectedVal:$$selectedVal[0]},function($event){return _vm.changeMinuteHandler($event)}],blur:function($event){return _vm.handleBlur($event)}}},[_c("option",{domProps:{value:null}},[_vm._v("MM")]),_vm._v(" "),_vm._l(_vm.minutes,(function(minute,index){return _c("option",{key:index,attrs:{"data-cy":_vm.getCypressValue("Minute"+index)},domProps:{value:minute}},[_vm._v(_vm._s(minute))])}))],2)])])])}),[],!1,null,"d57761dc",null).exports;var TimeInput=__vuedocgen_export_0;__vuedocgen_export_0.__docgenInfo={exportName:"default",displayName:"TimeInput",description:"",tags:{},props:[{name:"cypressId",mixin:{name:"cypress-mixin",path:"../mixins/cypress-mixin.js"},type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"value",type:{name:"object"}},{name:"id",type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"className",type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"disabled",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}},{name:"label",type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"isHourTwoDigits",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}},{name:"isRequiredAsteriskShown",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}}],events:[{name:"blur",mixin:{name:"blur-mixin",path:"../mixins/blur-mixin.js"},type:{names:["undefined"]}},{name:"changeHour",type:{names:["undefined"]}},{name:"changeMinute",type:{names:["undefined"]}},{name:"input",type:{names:["undefined"]}}]};__webpack_exports__.default={title:"Components/TimeInput",component:TimeInput,argTypes:{}};var TimeInput_stories_Template=function Template(args,_ref){var argTypes=_ref.argTypes;return{props:Object.keys(argTypes),components:{TimeInput:TimeInput},template:'<TimeInput v-bind="$props" />'}},Example=TimeInput_stories_Template.bind({});Example.args={label:"My Label:"};var TwoDigitHourExample=TimeInput_stories_Template.bind({});TwoDigitHourExample.args={label:"My Label:",isHourTwoDigits:!0,value:{hour:"01",minute:"01"}},Example.parameters=Object.assign({storySource:{source:"(args, { argTypes }) => ({\n  props: Object.keys(argTypes),\n  components: { TimeInput },\n  template: '<TimeInput v-bind=\"$props\" />',\n})"}},Example.parameters),TwoDigitHourExample.parameters=Object.assign({storySource:{source:"(args, { argTypes }) => ({\n  props: Object.keys(argTypes),\n  components: { TimeInput },\n  template: '<TimeInput v-bind=\"$props\" />',\n})"}},TwoDigitHourExample.parameters)},1096:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);var preview_namespaceObject={};__webpack_require__.r(preview_namespaceObject),__webpack_require__.d(preview_namespaceObject,"parameters",(function(){return parameters}));__webpack_require__(3),__webpack_require__(6),__webpack_require__(34),__webpack_require__(11),__webpack_require__(255),__webpack_require__(49),__webpack_require__(531),__webpack_require__(346);var client_api=__webpack_require__(1112),esm=__webpack_require__(7),parameters={actions:{argTypesRegex:"^on[A-Z].*"},controls:{matchers:{color:/(background|color)$/i,date:/Date$/}}};function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}Object.keys(preview_namespaceObject).forEach((function(key){var value=preview_namespaceObject[key];switch(key){case"args":case"argTypes":return esm.a.warn("Invalid args/argTypes in config, ignoring.",JSON.stringify(value));case"decorators":return value.forEach((function(decorator){return Object(client_api.c)(decorator,!1)}));case"loaders":return value.forEach((function(loader){return Object(client_api.d)(loader,!1)}));case"parameters":return Object(client_api.e)(function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?ownKeys(Object(source),!0).forEach((function(key){_defineProperty(target,key,source[key])})):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):ownKeys(Object(source)).forEach((function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))}))}return target}({},value),!1);case"argTypesEnhancers":return value.forEach((function(enhancer){return Object(client_api.a)(enhancer)}));case"argsEnhancers":return value.forEach((function(enhancer){return Object(client_api.b)(enhancer)}));case"render":return Object(client_api.g)(value);case"globals":case"globalTypes":var v={};return v[key]=value,Object(client_api.e)(v,!1);default:return console.log(key+" was not supported :( !")}}))},155:function(module,__webpack_exports__,__webpack_require__){"use strict";var components_Loadervue_type_script_lang_js_={name:"Loader",props:{color:{type:String,default:"#FFF"},size:{type:String,default:"15px"},className:{type:String,default:""}}},componentNormalizer=(__webpack_require__(985),__webpack_require__(9));const __vuedocgen_export_0=Object(componentNormalizer.a)(components_Loadervue_type_script_lang_js_,(function(){var _h=this.$createElement,_c=this._self._c||_h;return _c("div",{class:this.className,style:{lineHeight:this.size}},[_c("div",{staticClass:"bcgov-btn-loader",style:{color:this.color,width:this.size,height:this.size}})])}),[],!1,null,"0a015874",null).exports;__webpack_exports__.a=__vuedocgen_export_0;__vuedocgen_export_0.__docgenInfo={displayName:"Loader",exportName:"default",description:"",tags:{},props:[{name:"color",type:{name:"string"},defaultValue:{func:!1,value:"'#FFF'"}},{name:"size",type:{name:"string"},defaultValue:{func:!1,value:"'15px'"}},{name:"className",type:{name:"string"},defaultValue:{func:!1,value:"''"}}]}},156:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"b",(function(){return replaceAt})),__webpack_require__.d(__webpack_exports__,"a",(function(){return convertNumberToFormattedString}));__webpack_require__(30),__webpack_require__(48),__webpack_require__(14),__webpack_require__(66),__webpack_require__(47),__webpack_require__(63);var replaceAt=function replaceAt(str,index,replacement){return"string"==typeof str&&"string"==typeof replacement&&"number"==typeof index?str.substr(0,index)+replacement+str.substr(index+replacement.length):str},convertNumberToFormattedString=function convertNumberToFormattedString(value){if(("number"!=typeof value||isNaN(value))&&"string"!=typeof value)return value;var parts=(""+value).split("."),roundValue=parts[0],decimalValue=parts[1],result="";if(!roundValue)return"";for(var unitPosition=0,i=roundValue.length-1;i>=0;i--)result=""+roundValue[i]+result,unitPosition++,i>0&&3===unitPosition&&(result=","+result,unitPosition=0);return(decimalValue||"string"==typeof value&&value.includes("."))&&(result=result+"."+decimalValue),result}},207:function(module,__webpack_exports__,__webpack_require__){"use strict";var startOfToday=__webpack_require__(1104),getDaysInMonth=__webpack_require__(1105),getDay=__webpack_require__(1106),componentNormalizer=__webpack_require__(9);const __vuedocgen_export_0=Object(componentNormalizer.a)({},(function(){var _h=this.$createElement,_c=this._self._c||_h;return _c("svg",{staticStyle:{"enable-background":"new 0 0 24 30"},attrs:{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 24 30","xml:space":"preserve"}},[_c("desc",[this._v("Created with Sketch.")]),this._v(" "),_c("g",[_c("path",{attrs:{d:"M12.2,15l8.6,8.6c0.2,0.2,0.2,0.5,0,0.7c-0.2,0.2-0.5,0.2-0.7,0l-9-9c-0.2-0.2-0.2-0.5,0-0.7l9-9c0.2-0.2,0.5-0.2,0.7,0\n      c0.2,0.2,0.2,0.5,0,0.7L12.2,15z"}}),this._v(" "),_c("path",{attrs:{d:"M12.9,23.6c0.2,0.2,0.2,0.5,0,0.7c-0.2,0.2-0.5,0.2-0.7,0l-9-9c-0.2-0.2-0.2-0.5,0-0.7l9-9c0.2-0.2,0.5-0.2,0.7,0\n      c0.2,0.2,0.2,0.5,0,0.7L4.2,15L12.9,23.6z"}})])])}),[],!1,null,null,null).exports;var IconChevronDoubleLeft=__vuedocgen_export_0;__vuedocgen_export_0.__docgenInfo={displayName:"IconChevronDoubleLeft",description:"",tags:{}};const IconChevronDoubleRight_vuedocgen_export_0=Object(componentNormalizer.a)({},(function(){var _h=this.$createElement,_c=this._self._c||_h;return _c("svg",{staticStyle:{"enable-background":"new 0 0 24 30"},attrs:{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 24 30","xml:space":"preserve"}},[_c("desc",[this._v("Created with Sketch.")]),this._v(" "),_c("g",[_c("path",{attrs:{d:"M11.8,15L3.1,6.4C3,6.2,3,5.8,3.1,5.6c0.2-0.2,0.5-0.2,0.7,0l9,9c0.2,0.2,0.2,0.5,0,0.7l-9,9c-0.2,0.2-0.5,0.2-0.7,0\n      c-0.2-0.2-0.2-0.5,0-0.7L11.8,15z"}}),this._v(" "),_c("path",{attrs:{d:"M11.1,6.4c-0.2-0.2-0.2-0.5,0-0.7c0.2-0.2,0.5-0.2,0.7,0l9,9c0.2,0.2,0.2,0.5,0,0.7l-9,9c-0.2,0.2-0.5,0.2-0.7,0\n      c-0.2-0.2-0.2-0.5,0-0.7l8.6-8.6L11.1,6.4z"}})])])}),[],!1,null,null,null).exports;var IconChevronDoubleRight=IconChevronDoubleRight_vuedocgen_export_0;IconChevronDoubleRight_vuedocgen_export_0.__docgenInfo={displayName:"IconChevronDoubleRight",description:"",tags:{}};const IconChevronSingleLeft_vuedocgen_export_0=Object(componentNormalizer.a)({},(function(){var _h=this.$createElement,_c=this._self._c||_h;return _c("svg",{staticStyle:{"enable-background":"new 0 0 24 30"},attrs:{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 24 30","xml:space":"preserve"}},[_c("desc",[this._v("Created with Sketch.")]),this._v(" "),_c("g",[_c("path",{attrs:{d:"M4.2,15l8.6,8.6c0.2,0.2,0.2,0.5,0,0.7c-0.2,0.2-0.5,0.2-0.7,0l-9-9c-0.2-0.2-0.2-0.5,0-0.7l9-9c0.2-0.2,0.5-0.2,0.7,0\n      c0.2,0.2,0.2,0.5,0,0.7L4.2,15z"}})])])}),[],!1,null,null,null).exports;var IconChevronSingleLeft=IconChevronSingleLeft_vuedocgen_export_0;IconChevronSingleLeft_vuedocgen_export_0.__docgenInfo={displayName:"IconChevronSingleLeft",description:"",tags:{}};const IconChevronSingleRight_vuedocgen_export_0=Object(componentNormalizer.a)({},(function(){var _h=this.$createElement,_c=this._self._c||_h;return _c("svg",{staticStyle:{"enable-background":"new 0 0 24 30"},attrs:{version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 24 30","xml:space":"preserve"}},[_c("desc",[this._v("Created with Sketch.")]),this._v(" "),_c("g",[_c("path",{attrs:{d:"M11.8,15L3.1,6.4C3,6.2,3,5.8,3.1,5.6c0.2-0.2,0.5-0.2,0.7,0l9,9c0.2,0.2,0.2,0.5,0,0.7l-9,9c-0.2,0.2-0.5,0.2-0.7,0\n      c-0.2-0.2-0.2-0.5,0-0.7L11.8,15z"}})])])}),[],!1,null,null,null).exports;var IconChevronSingleRight=IconChevronSingleRight_vuedocgen_export_0;IconChevronSingleRight_vuedocgen_export_0.__docgenInfo={displayName:"IconChevronSingleRight",description:"",tags:{}};var cypress_mixin=__webpack_require__(26),MONTHS=["January","February","March","April","May","June","July","August","September","October","November","December"],components_DatePickervue_type_script_lang_js_={name:"DatePicker",components:{IconChevronDoubleLeft:IconChevronDoubleLeft,IconChevronDoubleRight:IconChevronDoubleRight,IconChevronSingleLeft:IconChevronSingleLeft,IconChevronSingleRight:IconChevronSingleRight},mixins:[cypress_mixin.a],props:{value:{type:Date},className:{type:String,default:""},isYearArrowsShown:{type:Boolean,default:!0}},data:function data(){return{year:null,month:null,day:null,dateToday:null}},created:function created(){this.dateToday=Object(startOfToday.a)(),this.value?this.setDateValue(this.value):(this.year=this.dateToday.getFullYear(),this.month=this.dateToday.getMonth(),this.day=this.dateToday.getDate())},computed:{datesInMonth:function datesInMonth(){for(var dates=[],daysInMonth=Object(getDaysInMonth.a)(new Date(this.year,this.month)),i=0;i<daysInMonth;i++)dates.push(new Date(this.year,this.month,i+1));return dates},paddedSquares:function paddedSquares(){for(var items=[],weekIndex=Object(getDay.a)(new Date(this.year,this.month)),i=0;i<weekIndex;i++)items.push(i);return items},monthLabel:function monthLabel(){return MONTHS[this.month]}},methods:{setDateValue:function setDateValue(value){value&&(this.year=value.getFullYear(),this.month=value.getMonth(),this.day=value.getDate())},handleDaySelect:function handleDaySelect(date){this.$emit("input",date),this.$emit("dateSelected",date)},nextMonth:function nextMonth(){11===this.month?(this.year++,this.month=0):this.month++},previousMonth:function previousMonth(){0===this.month?(this.year--,this.month=11):this.month--},nextYear:function nextYear(){this.year++},previousYear:function previousYear(){this.year--},isSelectedDate:function isSelectedDate(date){return!(!date||!this.value||this.value.getFullYear()!==date.getFullYear()||this.value.getMonth()!==date.getMonth()||this.value.getDate()!==date.getDate())},isDateToday:function isDateToday(date){return!(!date||this.dateToday.getFullYear()!==date.getFullYear()||this.dateToday.getMonth()!==date.getMonth()||this.dateToday.getDate()!==date.getDate())}},watch:{value:function value(newValue){this.setDateValue(newValue)}}};__webpack_require__(1017);const DatePicker_vuedocgen_export_0=Object(componentNormalizer.a)(components_DatePickervue_type_script_lang_js_,(function(){var _vm=this,_h=_vm.$createElement,_c=_vm._self._c||_h;return _c("div",{class:"date-picker no-select "+_vm.className},[_vm.isYearArrowsShown?_c("div",{staticClass:"title-container"},[_c("div",{staticClass:"year-arrow left",attrs:{"data-cy":_vm.getCypressValue("ChevronDoubleLeft")},on:{click:function($event){return _vm.previousYear()}}},[_c("IconChevronDoubleLeft")],1),_vm._v(" "),_c("div",{staticClass:"month-arrow left",attrs:{"data-cy":_vm.getCypressValue("ChevronLeft")},on:{click:function($event){return _vm.previousMonth()}}},[_c("IconChevronSingleLeft")],1),_vm._v(" "),_c("div",{staticClass:"date-label"},[_vm._v(_vm._s(_vm.monthLabel)+" "+_vm._s(_vm.year))]),_vm._v(" "),_c("div",{staticClass:"month-arrow right",attrs:{"data-cy":_vm.getCypressValue("ChevronRight")},on:{click:function($event){return _vm.nextMonth()}}},[_c("IconChevronSingleRight")],1),_vm._v(" "),_c("div",{staticClass:"year-arrow right",attrs:{"data-cy":_vm.getCypressValue("ChevronDoubleRight")},on:{click:function($event){return _vm.nextYear()}}},[_c("IconChevronDoubleRight")],1)]):_vm._e(),_vm._v(" "),_vm.isYearArrowsShown?_vm._e():_c("div",{staticClass:"title-container month-arrows-only"},[_c("div",{staticClass:"month-arrow left",on:{click:function($event){return _vm.previousMonth()}}},[_c("IconChevronSingleLeft")],1),_vm._v(" "),_c("div",{staticClass:"date-label"},[_vm._v(_vm._s(_vm.monthLabel)+" "+_vm._s(_vm.year))]),_vm._v(" "),_c("div",{staticClass:"month-arrow right",on:{click:function($event){return _vm.nextMonth()}}},[_c("IconChevronSingleRight")],1)]),_vm._v(" "),_c("div",{staticClass:"date-container"},[_c("div",{staticClass:"date-header-cell"},[_vm._v("Su")]),_vm._v(" "),_c("div",{staticClass:"date-header-cell"},[_vm._v("Mo")]),_vm._v(" "),_c("div",{staticClass:"date-header-cell"},[_vm._v("Tu")]),_vm._v(" "),_c("div",{staticClass:"date-header-cell"},[_vm._v("We")]),_vm._v(" "),_c("div",{staticClass:"date-header-cell"},[_vm._v("Th")]),_vm._v(" "),_c("div",{staticClass:"date-header-cell"},[_vm._v("Fr")]),_vm._v(" "),_c("div",{staticClass:"date-header-cell"},[_vm._v("Sa")]),_vm._v(" "),_vm._l(_vm.paddedSquares,(function(index){return _c("div",{key:"index"+index,staticClass:"date-cell empty"})})),_vm._v(" "),_vm._l(_vm.datesInMonth,(function(date,index){return _c("div",{key:index,class:"date-cell "+(_vm.isSelectedDate(date)?"selected ":"")+(_vm.isDateToday(date)?"date-today ":""),attrs:{"data-cy":_vm.getCypressValue("Day"+index)}},[_c("div",{staticClass:"circle",on:{click:function($event){return _vm.handleDaySelect(date)}}},[_vm._v(_vm._s(date.getDate()))])])}))],2)])}),[],!1,null,"581f6c6b",null).exports;__webpack_exports__.a=DatePicker_vuedocgen_export_0;DatePicker_vuedocgen_export_0.__docgenInfo={exportName:"default",displayName:"DatePicker",description:"",tags:{},props:[{name:"cypressId",mixin:{name:"cypress-mixin",path:"../mixins/cypress-mixin.js"},type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"value",type:{name:"date"}},{name:"className",type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"isYearArrowsShown",type:{name:"boolean"},defaultValue:{func:!1,value:"true"}}],events:[{name:"input",type:{names:["undefined"]}},{name:"dateSelected",type:{names:["undefined"]}}]}},26:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_exports__.a={props:{cypressId:{type:String,default:""}},methods:{getCypressValue:function getCypressValue(argument){return this.cypressId?argument?this.cypressId+argument:this.cypressId:null}}}},32:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_exports__.a={methods:{handleBlur:function handleBlur(event){this.$emit("blur",event)}}}},532:function(module,exports,__webpack_require__){var api=__webpack_require__(52),content=__webpack_require__(986);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},533:function(module,exports,__webpack_require__){var api=__webpack_require__(52),content=__webpack_require__(988);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},542:function(module,exports,__webpack_require__){var api=__webpack_require__(52),content=__webpack_require__(1008);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},543:function(module,exports,__webpack_require__){var api=__webpack_require__(52),content=__webpack_require__(1010);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},544:function(module,exports,__webpack_require__){var api=__webpack_require__(52),content=__webpack_require__(1012);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},545:function(module,exports,__webpack_require__){var api=__webpack_require__(52),content=__webpack_require__(1014);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},546:function(module,exports,__webpack_require__){var api=__webpack_require__(52),content=__webpack_require__(1016);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},547:function(module,exports,__webpack_require__){var api=__webpack_require__(52),content=__webpack_require__(1018);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},548:function(module,exports,__webpack_require__){var api=__webpack_require__(52),content=__webpack_require__(1020);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},549:function(module,exports,__webpack_require__){var api=__webpack_require__(52),content=__webpack_require__(1022);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},550:function(module,exports,__webpack_require__){var api=__webpack_require__(52),content=__webpack_require__(1025);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},551:function(module,exports){},553:function(module,exports,__webpack_require__){var api=__webpack_require__(52),content=__webpack_require__(1039);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},554:function(module,exports,__webpack_require__){var api=__webpack_require__(52),content=__webpack_require__(1041);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},555:function(module,exports,__webpack_require__){var api=__webpack_require__(52),content=__webpack_require__(1043);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},556:function(module,exports,__webpack_require__){var api=__webpack_require__(52),content=__webpack_require__(1046);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},557:function(module,exports,__webpack_require__){var api=__webpack_require__(52),content=__webpack_require__(1048);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},558:function(module,exports,__webpack_require__){var api=__webpack_require__(52),content=__webpack_require__(1050);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},559:function(module,exports,__webpack_require__){var api=__webpack_require__(52),content=__webpack_require__(1052);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},560:function(module,exports,__webpack_require__){var api=__webpack_require__(52),content=__webpack_require__(1054);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},561:function(module,exports,__webpack_require__){var api=__webpack_require__(52),content=__webpack_require__(1056);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},587:function(module,exports,__webpack_require__){module.exports=__webpack_require__.p+"static/media/code-brackets.2e1112d7.svg"},588:function(module,exports,__webpack_require__){module.exports=__webpack_require__.p+"static/media/colors.a4bd0486.svg"},589:function(module,exports,__webpack_require__){module.exports=__webpack_require__.p+"static/media/comments.a3859089.svg"},590:function(module,exports,__webpack_require__){module.exports=__webpack_require__.p+"static/media/direction.b770f9af.svg"},591:function(module,exports,__webpack_require__){module.exports=__webpack_require__.p+"static/media/flow.edad2ac1.svg"},592:function(module,exports,__webpack_require__){module.exports=__webpack_require__.p+"static/media/plugin.d494b228.svg"},593:function(module,exports,__webpack_require__){module.exports=__webpack_require__.p+"static/media/repo.6d496322.svg"},594:function(module,exports,__webpack_require__){module.exports=__webpack_require__.p+"static/media/stackalt.dba9fbb3.svg"},617:function(module,exports,__webpack_require__){__webpack_require__(618),__webpack_require__(771),__webpack_require__(772),__webpack_require__(1091),__webpack_require__(1090),__webpack_require__(1093),__webpack_require__(1094),__webpack_require__(1092),__webpack_require__(1060),__webpack_require__(1095),__webpack_require__(1061),__webpack_require__(1062),__webpack_require__(1096),module.exports=__webpack_require__(964)},684:function(module,exports){},772:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__(402)},82:function(module,__webpack_exports__,__webpack_require__){"use strict";var Loader=__webpack_require__(155),cypress_mixin=__webpack_require__(26),components_Buttonvue_type_script_lang_js_={name:"Button",components:{Loader:Loader.a},mixins:[cypress_mixin.a],props:{label:{type:String,required:!0},hasLoader:{type:Boolean,default:!1},className:{type:String,default:""},disabled:{type:Boolean,default:!1},color:{type:String,default:"blue",validator:function validator(value){return-1!==["blue","white","gold"].indexOf(value)}}},computed:{classes:function classes(){return"bcgov-button bcgov-normal-"+this.color+" btn "+this.className}}},componentNormalizer=(__webpack_require__(987),__webpack_require__(9));const __vuedocgen_export_0=Object(componentNormalizer.a)(components_Buttonvue_type_script_lang_js_,(function(){var _vm=this,_h=_vm.$createElement,_c=_vm._self._c||_h;return _c("button",{class:_vm.classes,attrs:{"data-cy":_vm.getCypressValue(),disabled:_vm.disabled||_vm.hasLoader},on:{click:function($event){return _vm.$emit("click",$event)}}},[_vm.hasLoader?_c("div",{staticClass:"bcgov-loader-show"},[_c("Loader")],1):_vm._e(),_vm._v("\n  "+_vm._s(_vm.label)+"\n")])}),[],!1,null,"b9728de8",null).exports;__webpack_exports__.a=__vuedocgen_export_0;__vuedocgen_export_0.__docgenInfo={exportName:"default",displayName:"Button",description:"",tags:{},props:[{name:"cypressId",mixin:{name:"cypress-mixin",path:"../mixins/cypress-mixin.js"},type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"label",type:{name:"string"},required:!0},{name:"hasLoader",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}},{name:"className",type:{name:"string"},defaultValue:{func:!1,value:"''"}},{name:"disabled",type:{name:"boolean"},defaultValue:{func:!1,value:"false"}},{name:"color",type:{name:"string"},defaultValue:{func:!1,value:'"blue"'},values:["blue","white","gold"]}],events:[{name:"click"}]}},964:function(module,exports,__webpack_require__){"use strict";(function(module){(0,__webpack_require__(402).configure)([__webpack_require__(965),__webpack_require__(980),__webpack_require__(983)],module,!1)}).call(this,__webpack_require__(241)(module))},965:function(module,exports,__webpack_require__){var map={"./storybook.js":966};function webpackContext(req){var id=webpackContextResolve(req);return __webpack_require__(id)}function webpackContextResolve(req){if(!__webpack_require__.o(map,req)){var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}return map[req]}webpackContext.keys=function webpackContextKeys(){return Object.keys(map)},webpackContext.resolve=webpackContextResolve,module.exports=webpackContext,webpackContext.id=965},966:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__(967),__webpack_require__(978)},978:function(module,exports,__webpack_require__){var api=__webpack_require__(52),content=__webpack_require__(979);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},979:function(module,exports,__webpack_require__){(exports=__webpack_require__(53)(!1)).push([module.i,".required-asterisk {\n  color: #D8292F;\n}\n",""]),module.exports=exports},980:function(module,exports,__webpack_require__){var map={"./docs/Publishing.stories.mdx":981,"./docs/Storybook.stories.mdx":982};function webpackContext(req){var id=webpackContextResolve(req);return __webpack_require__(id)}function webpackContextResolve(req){if(!__webpack_require__.o(map,req)){var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}return map[req]}webpackContext.keys=function webpackContextKeys(){return Object.keys(map)},webpackContext.resolve=webpackContextResolve,module.exports=webpackContext,webpackContext.id=980},981:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"__page",(function(){return __page}));__webpack_require__(3),__webpack_require__(6),__webpack_require__(5),__webpack_require__(0);var _mdx_js_react__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(10),_storybook_addon_docs__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(270),_excluded=["components"];function _extends(){return _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},_extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var key,i,target=function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i<sourceKeys.length;i++)key=sourceKeys[i],excluded.indexOf(key)>=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++)key=sourceSymbolKeys[i],excluded.indexOf(key)>=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var Meta=function makeShortcode(name){return function MDXDefaultShortcode(props){return console.warn("Component "+name+" was not imported, exported, or provided by MDXProvider as global scope"),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.b)("div",props)}}("Meta"),layoutProps={};function MDXContent(_ref){var components=_ref.components,props=_objectWithoutProperties(_ref,_excluded);return Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.b)("wrapper",_extends({},layoutProps,props,{components:components,mdxType:"MDXLayout"}),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.b)(Meta,{title:"Documentation/How to publish to NPM",mdxType:"Meta"}),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.b)("h1",{id:"how-to-publish-the-library-to-npm"},"How to publish the library to NPM"),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.b)("ol",null,Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.b)("li",{parentName:"ol"},"Checkout the latest version of the main branch:")),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.b)("pre",null,Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.b)("code",{parentName:"pre"},"git checkout main\ngit pull\n")),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.b)("ol",{start:2},Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.b)("li",{parentName:"ol"},"Update the library version number:")),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.b)("pre",null,Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.b)("code",{parentName:"pre"},"npm version patch\ngit push origin main --follow-tags\n")),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.b)("ol",{start:3},Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.b)("li",{parentName:"ol"},"Build the library:")),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.b)("pre",null,Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.b)("code",{parentName:"pre"},"npm run build\n")),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.b)("ol",{start:4},Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.b)("li",{parentName:"ol"},"Publish the library:")),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.b)("pre",null,Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.b)("code",{parentName:"pre"},"npm publish\n")))}MDXContent.isMDXComponent=!0;var __page=function __page(){throw new Error("Docs-only story")};__page.parameters={docsOnly:!0};var componentMeta={title:"Documentation/How to publish to NPM",includeStories:["__page"]},mdxStoryNameToKey={};componentMeta.parameters=componentMeta.parameters||{},componentMeta.parameters.docs=Object.assign({},componentMeta.parameters.docs||{},{page:function page(){return Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.b)(_storybook_addon_docs__WEBPACK_IMPORTED_MODULE_5__.a,{mdxStoryNameToKey:mdxStoryNameToKey,mdxComponentMeta:componentMeta},Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.b)(MDXContent,null))}}),__webpack_exports__.default=componentMeta},982:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"__page",(function(){return __page}));__webpack_require__(3),__webpack_require__(6),__webpack_require__(5),__webpack_require__(0);var _mdx_js_react__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(10),_storybook_addon_docs__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(270),_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(586),_assets_code_brackets_svg__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(587),_assets_code_brackets_svg__WEBPACK_IMPORTED_MODULE_7___default=__webpack_require__.n(_assets_code_brackets_svg__WEBPACK_IMPORTED_MODULE_7__),_assets_colors_svg__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(588),_assets_colors_svg__WEBPACK_IMPORTED_MODULE_8___default=__webpack_require__.n(_assets_colors_svg__WEBPACK_IMPORTED_MODULE_8__),_assets_comments_svg__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(589),_assets_comments_svg__WEBPACK_IMPORTED_MODULE_9___default=__webpack_require__.n(_assets_comments_svg__WEBPACK_IMPORTED_MODULE_9__),_assets_direction_svg__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(590),_assets_direction_svg__WEBPACK_IMPORTED_MODULE_10___default=__webpack_require__.n(_assets_direction_svg__WEBPACK_IMPORTED_MODULE_10__),_assets_flow_svg__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(591),_assets_flow_svg__WEBPACK_IMPORTED_MODULE_11___default=__webpack_require__.n(_assets_flow_svg__WEBPACK_IMPORTED_MODULE_11__),_assets_plugin_svg__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(592),_assets_plugin_svg__WEBPACK_IMPORTED_MODULE_12___default=__webpack_require__.n(_assets_plugin_svg__WEBPACK_IMPORTED_MODULE_12__),_assets_repo_svg__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(593),_assets_repo_svg__WEBPACK_IMPORTED_MODULE_13___default=__webpack_require__.n(_assets_repo_svg__WEBPACK_IMPORTED_MODULE_13__),_assets_stackalt_svg__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(594),_assets_stackalt_svg__WEBPACK_IMPORTED_MODULE_14___default=__webpack_require__.n(_assets_stackalt_svg__WEBPACK_IMPORTED_MODULE_14__),_excluded=["components"];function _extends(){return _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source)Object.prototype.hasOwnProperty.call(source,key)&&(target[key]=source[key])}return target},_extends.apply(this,arguments)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var key,i,target=function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i<sourceKeys.length;i++)key=sourceKeys[i],excluded.indexOf(key)>=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i<sourceSymbolKeys.length;i++)key=sourceSymbolKeys[i],excluded.indexOf(key)>=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var layoutProps={};function MDXContent(_ref){var components=_ref.components,props=_objectWithoutProperties(_ref,_excluded);return Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.b)("wrapper",_extends({},layoutProps,props,{components:components,mdxType:"MDXLayout"}),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.b)(_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_6__.a,{title:"Documentation/Storybook",mdxType:"Meta"}),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.b)("style",null,"\n  .subheading {\n    --mediumdark: '#999999';\n    font-weight: 900;\n    font-size: 13px;\n    color: #999;\n    letter-spacing: 6px;\n    line-height: 24px;\n    text-transform: uppercase;\n    margin-bottom: 12px;\n    margin-top: 40px;\n  }\n\n  .link-list {\n    display: grid;\n    grid-template-columns: 1fr;\n    grid-template-rows: 1fr 1fr;\n    row-gap: 10px;\n  }\n\n  @media (min-width: 620px) {\n    .link-list {\n      row-gap: 20px;\n      column-gap: 20px;\n      grid-template-columns: 1fr 1fr;\n    }\n  }\n\n  @media all and (-ms-high-contrast:none) {\n  .link-list {\n      display: -ms-grid;\n      -ms-grid-columns: 1fr 1fr;\n      -ms-grid-rows: 1fr 1fr;\n    }\n  }\n\n  .link-item {\n    display: block;\n    padding: 20px 30px 20px 15px;\n    border: 1px solid #00000010;\n    border-radius: 5px;\n    transition: background 150ms ease-out, border 150ms ease-out, transform 150ms ease-out;\n    color: #333333;\n    display: flex;\n    align-items: flex-start;\n  }\n\n  .link-item:hover {\n    border-color: #1EA7FD50;\n    transform: translate3d(0, -3px, 0);\n    box-shadow: rgba(0, 0, 0, 0.08) 0 3px 10px 0;\n  }\n\n  .link-item:active {\n    border-color: #1EA7FD;\n    transform: translate3d(0, 0, 0);\n  }\n\n  .link-item strong {\n    font-weight: 700;\n    display: block;\n    margin-bottom: 2px;\n  }\n  \n  .link-item img {\n    height: 40px;\n    width: 40px;\n    margin-right: 15px;\n    flex: none;\n  }\n\n  .link-item span {\n    font-size: 14px;\n    line-height: 20px;\n  }\n\n  .tip {\n    display: inline-block;\n    border-radius: 1em;\n    font-size: 11px;\n    line-height: 12px;\n    font-weight: 700;\n    background: #E7FDD8;\n    color: #66BF3C;\n    padding: 4px 12px;\n    margin-right: 10px;\n    vertical-align: top;\n  }\n\n  .tip-wrapper {\n    font-size: 13px;\n    line-height: 20px;\n    margin-top: 40px;\n    margin-bottom: 40px;\n  }\n\n  .tip-wrapper code {\n    font-size: 12px;\n    display: inline-block;\n  }\n\n  \n"),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.b)("h1",{id:"welcome-to-storybook"},"Welcome to Storybook"),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.b)("p",null,"Storybook helps you build UI components in isolation from your app's business logic, data, and context.\nThat makes it easy to develop hard-to-reach states. Save these UI states as ",Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.b)("strong",{parentName:"p"},"stories")," to revisit during development, testing, or QA."),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.b)("p",null,"Browse example stories now by navigating to them in the sidebar.\nView their code in the ",Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.b)("inlineCode",{parentName:"p"},"stories/")," directory to learn how they work.\nWe recommend building UIs with a ",Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.b)("a",{parentName:"p",href:"https://componentdriven.org",target:"_blank",rel:"nofollow noopener noreferrer"},Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.b)("strong",{parentName:"a"},"component-driven"))," process starting with atomic components and ending with pages."),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.b)("div",{className:"subheading"},"Configure"),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.b)("div",{className:"link-list"},Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.b)("a",{className:"link-item",href:"https://storybook.js.org/docs/react/addons/addon-types",target:"_blank"},Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.b)("img",{src:_assets_plugin_svg__WEBPACK_IMPORTED_MODULE_12___default.a,alt:"plugin"}),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.b)("span",null,Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.b)("strong",null,"Presets for popular tools"),"Easy setup for TypeScript, SCSS and more.")),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.b)("a",{className:"link-item",href:"https://storybook.js.org/docs/react/configure/webpack",target:"_blank"},Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.b)("img",{src:_assets_stackalt_svg__WEBPACK_IMPORTED_MODULE_14___default.a,alt:"Build"}),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.b)("span",null,Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.b)("strong",null,"Build configuration"),"How to customize webpack and Babel")),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.b)("a",{className:"link-item",href:"https://storybook.js.org/docs/react/configure/styling-and-css",target:"_blank"},Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.b)("img",{src:_assets_colors_svg__WEBPACK_IMPORTED_MODULE_8___default.a,alt:"colors"}),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.b)("span",null,Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.b)("strong",null,"Styling"),"How to load and configure CSS libraries")),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.b)("a",{className:"link-item",href:"https://storybook.js.org/docs/react/get-started/setup#configure-storybook-for-your-stack",target:"_blank"},Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.b)("img",{src:_assets_flow_svg__WEBPACK_IMPORTED_MODULE_11___default.a,alt:"flow"}),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.b)("span",null,Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.b)("strong",null,"Data"),"Providers and mocking for data libraries"))),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.b)("div",{className:"subheading"},"Learn"),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.b)("div",{className:"link-list"},Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.b)("a",{className:"link-item",href:"https://storybook.js.org/docs",target:"_blank"},Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.b)("img",{src:_assets_repo_svg__WEBPACK_IMPORTED_MODULE_13___default.a,alt:"repo"}),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.b)("span",null,Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.b)("strong",null,"Storybook documentation"),"Configure, customize, and extend")),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.b)("a",{className:"link-item",href:"https://storybook.js.org/tutorials/",target:"_blank"},Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.b)("img",{src:_assets_direction_svg__WEBPACK_IMPORTED_MODULE_10___default.a,alt:"direction"}),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.b)("span",null,Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.b)("strong",null,"In-depth guides"),"Best practices from leading teams")),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.b)("a",{className:"link-item",href:"https://github.com/storybookjs/storybook",target:"_blank"},Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.b)("img",{src:_assets_code_brackets_svg__WEBPACK_IMPORTED_MODULE_7___default.a,alt:"code"}),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.b)("span",null,Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.b)("strong",null,"GitHub project"),"View the source and add issues")),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.b)("a",{className:"link-item",href:"https://discord.gg/storybook",target:"_blank"},Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.b)("img",{src:_assets_comments_svg__WEBPACK_IMPORTED_MODULE_9___default.a,alt:"comments"}),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.b)("span",null,Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.b)("strong",null,"Discord chat"),"Chat with maintainers and the community"))),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.b)("div",{className:"tip-wrapper"},Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.b)("span",{className:"tip"},"Tip"),"Edit the Markdown in"," ",Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.b)("code",null,"stories/docs/Storybook.stories.mdx")))}MDXContent.isMDXComponent=!0;var __page=function __page(){throw new Error("Docs-only story")};__page.parameters={docsOnly:!0};var componentMeta={title:"Documentation/Storybook",includeStories:["__page"]},mdxStoryNameToKey={};componentMeta.parameters=componentMeta.parameters||{},componentMeta.parameters.docs=Object.assign({},componentMeta.parameters.docs||{},{page:function page(){return Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.b)(_storybook_addon_docs__WEBPACK_IMPORTED_MODULE_5__.a,{mdxStoryNameToKey:mdxStoryNameToKey,mdxComponentMeta:componentMeta},Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_4__.b)(MDXContent,null))}}),__webpack_exports__.default=componentMeta},983:function(module,exports,__webpack_require__){var map={"./components/Button.stories.js":984,"./components/Captcha.stories.js":1063,"./components/Checkbox.stories.js":1064,"./components/CheckboxGroup.stories.js":1065,"./components/ContentModal.stories.js":1066,"./components/ContinueBar.stories.js":1067,"./components/CountrySelect.stories.js":1068,"./components/CurrencyInput.stories.js":1069,"./components/DateInput.stories.js":1058,"./components/DatePicker.stories.js":1023,"./components/DigitInput.stories.js":1070,"./components/DistributionBar.stories.js":1071,"./components/FacilityNumberInput.stories.js":1072,"./components/FileUploader.stories.js":1059,"./components/Footer.stories.js":1073,"./components/Header.stories.js":1074,"./components/Input.stories.js":1075,"./components/Loader.stories.js":1044,"./components/MotorVehicleAccidentClaimNumberInput.stories.js":1076,"./components/NumberInput.stories.js":1077,"./components/NumberSelect.stories.js":1078,"./components/PageContent.stories.js":1079,"./components/PageStepper.stories.js":1057,"./components/PhnInput.stories.js":1080,"./components/PhoneNumberInput.stories.js":1081,"./components/PostalCodeInput.stories.js":1082,"./components/PractitionerNumberInput.stories.js":1083,"./components/PromptModal.stories.js":1084,"./components/Radio.stories.js":1085,"./components/RegionSelect.stories.js":1086,"./components/Select.stories.js":1087,"./components/Textarea.stories.js":1088,"./components/TimeInput.stories.js":1089};function webpackContext(req){var id=webpackContextResolve(req);return __webpack_require__(id)}function webpackContextResolve(req){if(!__webpack_require__.o(map,req)){var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}return map[req]}webpackContext.keys=function webpackContextKeys(){return Object.keys(map)},webpackContext.resolve=webpackContextResolve,module.exports=webpackContext,webpackContext.id=983},984:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"Example",(function(){return Example}));__webpack_require__(3),__webpack_require__(5);var _src_components_Button_vue__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(82);__webpack_exports__.default={title:"Components/Button",component:_src_components_Button_vue__WEBPACK_IMPORTED_MODULE_2__.a,argTypes:{}};var Example=function Template(args,_ref){var argTypes=_ref.argTypes;return{props:Object.keys(argTypes),components:{Button:_src_components_Button_vue__WEBPACK_IMPORTED_MODULE_2__.a},template:'<Button v-bind="$props" />'}}.bind({});Example.args={label:"My Button"},Example.parameters=Object.assign({storySource:{source:"(args, { argTypes }) => ({\n  props: Object.keys(argTypes),\n  components: { Button },\n  template: '<Button v-bind=\"$props\" />',\n})"}},Example.parameters)},985:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__(532)},986:function(module,exports,__webpack_require__){(exports=__webpack_require__(53)(!1)).push([module.i,"\n.bcgov-btn-loader[data-v-0a015874] {\n  border: 2px solid;\n  border-radius: 50%;\n  border-top-color: transparent;\n  -webkit-animation: rotate-data-v-0a015874 2s linear infinite;\n          animation: rotate-data-v-0a015874 2s linear infinite;\n  display: inline-block;\n  vertical-align: text-top;\n}\n@-webkit-keyframes rotate-data-v-0a015874 {\n0% {\n    transform: rotate(0deg);\n}\n100% {\n    transform: rotate(360deg);\n}\n}\n@keyframes rotate-data-v-0a015874 {\n0% {\n    transform: rotate(0deg);\n}\n100% {\n    transform: rotate(360deg);\n}\n}\n",""]),module.exports=exports},987:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__(533)},988:function(module,exports,__webpack_require__){(exports=__webpack_require__(53)(!1)).push([module.i,"\n.bcgov-normal-blue[data-v-b9728de8] {\n  color: white;\n  font-weight: 700;\n  font-style: normal;\n  background-color: #003366;\n}\n.bcgov-normal-blue[data-v-b9728de8]:hover {\n  background-color: rgba(43, 91, 164, 1);\n  color: white;\n}\n.bcgov-normal-gold[data-v-b9728de8] {\n  color: #003366;\n  font-weight: 700;\n  font-style: normal;\n  background-color: #FCBA19;\n}\n.bcgov-normal-gold[data-v-b9728de8]:hover {\n  background-color: #E2AA3A;\n  color: #003366;\n}\n.bcgov-normal-white[data-v-b9728de8] {\n  color: #003366;\n  background-color: white;\n  border-width: 1px;\n  border-style: solid;\n  border-color: rgba(204, 204, 204, 1);\n}\n.bcgov-normal-white[data-v-b9728de8]:hover {\n  box-sizing: border-box;\n  border-width: 1px;\n  border-style: solid;\n  background-color: rgba(242, 242, 242, 1);\n  border-color: rgba(204, 204, 204, 1);\n}\n.bcgov-button[data-v-b9728de8] {\n  min-width: 150px;\n  min-height: 40px;\n}\n@media (max-width: 767.98px) {\n.bcgov-button[data-v-b9728de8] {\n    min-width: 100%;\n}\n}\n.bcgov-loader-show[data-v-b9728de8] {\n  display: inline-block;\n  margin-right: 6px;\n  vertical-align: middle;\n}\n",""]),module.exports=exports}},[[617,2,3]]]);