{"version":3,"sources":["webpack:///./app/javascript/visual-schedules/components/Card.vue?28b5","webpack:///./app/javascript/components/SearchBar.vue?f05e","webpack:///./app/javascript/visual-schedules/components/subtasks/RevealImage.vue?65ec","webpack:///./node_modules/bootstrap-vue/esm/components/image/index.js","webpack:///./node_modules/bootstrap-vue/esm/components/card/index.js","webpack:///./node_modules/bootstrap-vue/esm/components/form-textarea/index.js","webpack:///./node_modules/bootstrap-vue/esm/components/tabs/index.js","webpack:///./node_modules/bootstrap-vue/esm/components/badge/index.js","webpack:///./node_modules/bootstrap-vue/esm/components/input-group/index.js","webpack:///./node_modules/bootstrap-vue/esm/components/form-radio/index.js","webpack:///./node_modules/bootstrap-vue/esm/components/sidebar/index.js","webpack:///./app/javascript/components/Breadcrumb.vue","webpack:///./app/javascript/components/Breadcrumb.vue?9748","webpack:///app/javascript/visual-schedules/VisualSchedule.vue","webpack:///./app/javascript/visual-schedules/VisualSchedule.vue?52b0","webpack:///./app/javascript/visual-schedules/VisualSchedule.vue","webpack:///./app/javascript/visual-schedules/VisualSchedule.vue?2c49","webpack:///./app/javascript/visual-schedules/show.js","webpack:///./app/javascript/images/registration.jpg","webpack:///./app/javascript/images/registration-mobile.jpg","webpack:///./app/javascript/components/DeviseAuth.vue?f18d","webpack:///./app/javascript/components/DeviseAuth.vue?db1a","webpack:///./app/javascript/components/DeviseAuth.vue?fbc6","webpack:///./node_modules/vue-recaptcha/dist/vue-recaptcha.es.js","webpack:///app/javascript/components/DeviseAuth.vue","webpack:///./app/javascript/components/DeviseAuth.vue?477d","webpack:///./app/javascript/components/DeviseAuth.vue","webpack:///./app/javascript/images/visual-schedule-login.jpg","webpack:///./app/javascript/images/visual-schedule-login-mobile.jpg","webpack:///./app/javascript/visual-schedules/store/index.js","webpack:///./app/javascript/components/Breadcrumb.vue?5f77","webpack:///./node_modules/bootstrap-vue/esm/components/image/img.js","webpack:///./node_modules/bootstrap-vue/esm/components/input-group/input-group-addon.js","webpack:///./node_modules/bootstrap-vue/esm/components/card/card-img.js","webpack:///./node_modules/bootstrap-vue/esm/mixins/card.js","webpack:///./node_modules/bootstrap-vue/esm/components/input-group/input-group-text.js","webpack:///./node_modules/vuedraggable/dist/vuedraggable.umd.js","webpack:///./node_modules/bootstrap-vue/esm/components/nav/nav.js","webpack:///./app/javascript/visual-schedules/components/Card.vue?4cf3","webpack:///app/javascript/visual-schedules/components/Card.vue","webpack:///./app/javascript/visual-schedules/components/Card.vue?0103","webpack:///./app/javascript/visual-schedules/components/Card.vue","webpack:///./app/javascript/components/SearchBar.vue?066d","webpack:///app/javascript/components/SearchBar.vue","webpack:///./app/javascript/components/SearchBar.vue?16bf","webpack:///./app/javascript/components/SearchBar.vue","webpack:///./node_modules/bootstrap-vue/esm/components/card/card-body.js","webpack:///./node_modules/bootstrap-vue/esm/components/card/card-title.js","webpack:///./node_modules/bootstrap-vue/esm/components/card/card-sub-title.js","webpack:///./node_modules/bootstrap-vue/esm/components/card/card-header.js","webpack:///./node_modules/bootstrap-vue/esm/components/card/card-footer.js","webpack:///./node_modules/bootstrap-vue/esm/components/image/img-lazy.js","webpack:///./app/javascript/components/DropzoneContainer.vue?85e9","webpack:///app/javascript/components/DropzoneContainer.vue","webpack:///./app/javascript/components/DropzoneContainer.vue?82de","webpack:///./app/javascript/mixins/direct-upload.js","webpack:///./app/javascript/components/DropzoneContainer.vue","webpack:///./node_modules/bootstrap-vue/esm/components/input-group/input-group-prepend.js","webpack:///./node_modules/bootstrap-vue/esm/components/input-group/input-group-append.js","webpack:///./node_modules/bootstrap-vue/esm/components/spinner/spinner.js","webpack:///./node_modules/bootstrap-vue/esm/directives/toggle/toggle.js","webpack:///./node_modules/bootstrap-vue/esm/directives/visible/visible.js","webpack:///./node_modules/bootstrap-vue/esm/components/form-textarea/form-textarea.js","webpack:///./node_modules/bootstrap-vue/esm/components/form-radio/form-radio-group.js","webpack:///./node_modules/vue-select/dist/vue-select.js","webpack:///./node_modules/bootstrap-vue/esm/directives/toggle/index.js","webpack:///./app/javascript/visual-schedules/components/RevealImageManager.vue?493c","webpack:///app/javascript/visual-schedules/components/CardRevealImageList.vue","webpack:///./app/javascript/visual-schedules/components/CardRevealImageList.vue?6654","webpack:///./app/javascript/visual-schedules/components/CardRevealImageList.vue","webpack:///./app/javascript/visual-schedules/components/CardRevealImageList.vue?c17e","webpack:///app/javascript/visual-schedules/components/RevealImageFinder.vue","webpack:///./app/javascript/visual-schedules/components/RevealImageFinder.vue?5891","webpack:///./app/javascript/visual-schedules/components/RevealImageFinder.vue","webpack:///./app/javascript/visual-schedules/components/RevealImageFinder.vue?f458","webpack:///app/javascript/visual-schedules/components/RevealImageUploader.vue","webpack:///./app/javascript/visual-schedules/components/RevealImageUploader.vue?3d6b","webpack:///app/javascript/visual-schedules/components/CardRevealImageAdder.vue","webpack:///./app/javascript/visual-schedules/components/RevealImageUploader.vue","webpack:///./app/javascript/visual-schedules/components/RevealImageUploader.vue?6e94","webpack:///./app/javascript/visual-schedules/components/CardRevealImageAdder.vue?2573","webpack:///app/javascript/visual-schedules/components/RevealImageManager.vue","webpack:///./app/javascript/visual-schedules/components/CardRevealImageAdder.vue","webpack:///./app/javascript/visual-schedules/components/CardRevealImageAdder.vue?b36b","webpack:///./app/javascript/visual-schedules/components/RevealImageManager.vue?5f04","webpack:///./app/javascript/visual-schedules/components/RevealImageManager.vue","webpack:///./app/javascript/visual-schedules/components/VisualScheduleViewer.vue?5af5","webpack:///app/javascript/visual-schedules/components/templates/PlanComplete.vue","webpack:///./app/javascript/visual-schedules/components/templates/PlanComplete.vue?fc0a","webpack:///./app/javascript/visual-schedules/components/templates/PlanComplete.vue","webpack:///./app/javascript/visual-schedules/components/templates/PlanComplete.vue?fb83","webpack:///app/javascript/visual-schedules/components/templates/FirstThen.vue","webpack:///./app/javascript/visual-schedules/components/templates/FirstThen.vue?9183","webpack:///./app/javascript/visual-schedules/components/templates/FirstThen.vue","webpack:///./app/javascript/visual-schedules/components/templates/FirstThen.vue?f8a5","webpack:///app/javascript/visual-schedules/components/templates/CheckOff.vue","webpack:///./app/javascript/visual-schedules/components/templates/CheckOff.vue?d78b","webpack:///./app/javascript/visual-schedules/components/templates/CheckOff.vue","webpack:///./app/javascript/visual-schedules/components/templates/CheckOff.vue?63c7","webpack:///app/javascript/visual-schedules/components/templates/TrashCan.vue","webpack:///./app/javascript/visual-schedules/components/templates/TrashCan.vue?80b2","webpack:///./app/javascript/visual-schedules/components/templates/TrashCan.vue","webpack:///./app/javascript/visual-schedules/components/templates/TrashCan.vue?000b","webpack:///app/javascript/visual-schedules/components/subtasks/RevealImage.vue","webpack:///./app/javascript/visual-schedules/components/subtasks/RevealImage.vue?0d87","webpack:///./app/javascript/visual-schedules/components/subtasks/RevealImage.vue","webpack:///./app/javascript/visual-schedules/components/subtasks/RevealImage.vue?3d7d","webpack:///app/javascript/visual-schedules/components/subtasks/RevealImageControls.vue","webpack:///./app/javascript/visual-schedules/components/subtasks/RevealImageControls.vue?685f","webpack:///./app/javascript/visual-schedules/components/subtasks/RevealImageControls.vue","webpack:///./app/javascript/visual-schedules/components/subtasks/RevealImageControls.vue?d574","webpack:///app/javascript/visual-schedules/components/subtasks/Timer.vue","webpack:///./app/javascript/visual-schedules/components/subtasks/Timer.vue?c4ab","webpack:///./app/javascript/visual-schedules/components/subtasks/Timer.vue","webpack:///./app/javascript/visual-schedules/components/subtasks/Timer.vue?8aa2","webpack:///app/javascript/visual-schedules/components/subtasks/TimerControls.vue","webpack:///./app/javascript/visual-schedules/components/subtasks/TimerControls.vue?f0e9","webpack:///app/javascript/visual-schedules/components/subtasks/Subtask.vue","webpack:///./app/javascript/visual-schedules/components/subtasks/TimerControls.vue","webpack:///./app/javascript/visual-schedules/components/subtasks/TimerControls.vue?ea46","webpack:///./app/javascript/visual-schedules/components/subtasks/Subtask.vue?ce05","webpack:///app/javascript/visual-schedules/components/VisualScheduleViewer.vue","webpack:///./app/javascript/visual-schedules/components/subtasks/Subtask.vue","webpack:///./app/javascript/visual-schedules/components/subtasks/Subtask.vue?43b4","webpack:///./app/javascript/visual-schedules/components/VisualScheduleViewer.vue?aa6c","webpack:///./app/javascript/visual-schedules/components/VisualScheduleViewer.vue","webpack:///./node_modules/bootstrap-vue/esm/components/card/card.js","webpack:///./node_modules/bootstrap-vue/esm/components/card/card-img-lazy.js","webpack:///./node_modules/bootstrap-vue/esm/components/card/card-text.js","webpack:///./node_modules/bootstrap-vue/esm/components/card/card-group.js","webpack:///./node_modules/bootstrap-vue/esm/components/tabs/tabs.js","webpack:///./node_modules/vuex/dist/vuex.esm.js","webpack:///./node_modules/bootstrap-vue/esm/components/tabs/tab.js","webpack:///./node_modules/bootstrap-vue/esm/components/badge/badge.js","webpack:///./node_modules/bootstrap-vue/esm/components/input-group/input-group.js","webpack:///./node_modules/bootstrap-vue/esm/components/sidebar/sidebar.js","webpack:///./app/javascript/components/select.vue?ba63","webpack:///./node_modules/@popperjs/core/lib/modifiers/arrow.js","webpack:///./node_modules/@popperjs/core/lib/modifiers/hide.js","webpack:///./node_modules/@popperjs/core/lib/popper.js","webpack:///./app/javascript/components/select.vue?e099","webpack:///app/javascript/components/select.vue","webpack:///./app/javascript/components/select.vue","webpack:///./node_modules/vuedraggable/node_modules/sortablejs/modular/sortable.esm.js","webpack:///./node_modules/bootstrap-vue/esm/utils/stable-sort.js","webpack:///./node_modules/vue-toast-notification/dist/index.min.js","webpack:///./node_modules/vue2-dropzone/dist/vue2Dropzone.js","webpack:///./app/javascript/visual-schedules/store/state.js","webpack:///./app/javascript/visual-schedules/store/mutations.js","webpack:///./app/javascript/visual-schedules/store/actions.js","webpack:///./app/javascript/visual-schedules/store/getters.js","webpack:///./app/javascript/visual-schedules/components/CardAdder.vue?2a9e","webpack:///./app/javascript/visual-schedules/components/CardPreview.vue?98d8","webpack:///app/javascript/visual-schedules/components/CardPreview.vue","webpack:///./app/javascript/visual-schedules/components/CardPreview.vue","webpack:///./app/javascript/visual-schedules/components/CardPreview.vue?65ac","webpack:///app/javascript/visual-schedules/components/CardFinder.vue","webpack:///./app/javascript/visual-schedules/components/CardFinder.vue?7949","webpack:///./app/javascript/visual-schedules/components/CardFinder.vue","webpack:///./app/javascript/visual-schedules/components/CardFinder.vue?45dd","webpack:///app/javascript/visual-schedules/components/CardUploader.vue","webpack:///./app/javascript/visual-schedules/components/CardUploader.vue?c9e3","webpack:///app/javascript/visual-schedules/components/CardAdder.vue","webpack:///./app/javascript/visual-schedules/components/CardUploader.vue","webpack:///./app/javascript/visual-schedules/components/CardUploader.vue?7894","webpack:///./app/javascript/visual-schedules/components/CardAdder.vue?aed6","webpack:///./app/javascript/visual-schedules/components/CardAdder.vue","webpack:///./app/javascript/visual-schedules/components/ScheduleBuilder.vue?15ec","webpack:///app/javascript/visual-schedules/components/ScheduleBuilder.vue","webpack:///./app/javascript/visual-schedules/components/ScheduleBuilder.vue?dd67","webpack:///./app/javascript/visual-schedules/components/ScheduleBuilder.vue","webpack:///./app/javascript/visual-schedules/components/PatientManager.vue?c26a","webpack:///app/javascript/visual-schedules/components/PatientManager.vue","webpack:///./app/javascript/visual-schedules/components/PatientManager.vue?02a6","webpack:///./app/javascript/visual-schedules/components/PatientManager.vue","webpack:///./app/javascript/visual-schedules/components/VisualScheduleSettings.vue?7f82","webpack:///app/javascript/visual-schedules/components/VisualScheduleSettings.vue","webpack:///./app/javascript/visual-schedules/components/VisualScheduleSettings.vue?0237","webpack:///./app/javascript/visual-schedules/components/VisualScheduleSettings.vue"],"names":["ImagePlugin","components","BImg","BImgLazy","CardPlugin","BCard","BCardHeader","BCardBody","BCardTitle","BCardSubTitle","BCardFooter","BCardImg","BCardImgLazy","BCardText","BCardGroup","FormTextareaPlugin","BFormTextarea","BTextarea","TabsPlugin","BTabs","BTab","BadgePlugin","BBadge","InputGroupPlugin","BInputGroup","BInputGroupAddon","BInputGroupPrepend","BInputGroupAppend","BInputGroupText","FormRadioPlugin","BFormRadio","BRadio","BFormRadioGroup","BRadioGroup","SidebarPlugin","BSidebar","plugins","VBTogglePlugin","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","_t","_v","isOwner","publiclyVisible","_s","visualSchedule","title","slot","on","handleAddCard","$store","state","userId","pubVisOrSubmitted","handleSubmitSchedule","_e","handleAddPatient","patients","length","scopedSlots","_u","key","fn","proxy","can","manipulateCards","model","value","callback","$$v","addCardModal","expression","$event","closeCardModalHAndler","patientModal","authModal","imageMobile","image","Vue","use","AlertPlugin","BootstrapVueIcons","ButtonPlugin","FormCheckboxPlugin","FormPlugin","FormGroupPlugin","FormInputPlugin","ModalPlugin","ListGroupPlugin","FormSelectPlugin","FormSpinbuttonPlugin","directive","VBTooltip","VueToast","component","vSelect","visualScheduleShow","props","JSON","parse","getAttribute","store","render","h","VisualSchedule","$mount","module","exports","_extends","Object","assign","target","i","arguments","source","prototype","hasOwnProperty","call","apply","ownProp","callbacks","deferred","recaptcha","resolved","resolve","val","len","promise","then","cb","push","notify","wait","ele","options","window","grecaptcha","reset","widgetId","assertLoaded","execute","checkRecaptchaLoad","Error","vueRecaptchaApiLoaded","name","sitekey","type","String","required","theme","badge","size","tabindex","loadRecaptchaScript","Boolean","recaptchaScriptId","recaptchaHost","language","beforeMount","document","getElementById","script","createElement","id","src","async","defer","head","appendChild","mounted","_this","opts","$props","emitVerify","emitExpired","emitError","container","$slots","$el","children","$widgetId","$emit","methods","response","visible","staticStyle","heading","successMsg","error","hideForm","ref","stopPropagation","preventDefault","handleSubmit","emailValidation","email","trim","directives","rawName","step","passwordVisible","passwordValidation","checkPasswordResults","password","passwordConfirmationValidation","pwcFocused","passwordConfirmation","keys","passwordResults","class","passwordScore","_l","v","index","valid","explanation","recaptchaKey","onRecaptchaVerified","emailSubmitted","handleNext","acceptedTerms","termsOfServicePath","privacyPath","newsLetterSubscribed","submitting","toUpperCase","slice","Vuex","Store","mutations","actions","getters","_defineProperty","obj","defineProperty","enumerable","configurable","writable","BLANK_TEMPLATE","alt","blank","blankColor","block","center","fluid","fluidGrow","height","left","right","rounded","sizes","srcset","thumbnail","width","extend","functional","_ref","_class","data","align","filter","join","color","encodeURIComponent","replace","concat","makeBlankImgSrc","append","isText","tag","ownKeys","object","enumerableOnly","getOwnPropertySymbols","symbols","sym","getOwnPropertyDescriptor","_objectSpread","forEach","getOwnPropertyDescriptors","defineProperties","bottom","end","start","top","baseClass","bgVariant","borderVariant","textVariant","factory","_typeof","Symbol","iterator","constructor","self","__WEBPACK_EXTERNAL_MODULE_a352__","modules","installedModules","__webpack_require__","moduleId","l","m","c","d","getter","o","get","r","toStringTag","t","mode","__esModule","ns","create","bind","n","property","p","s","LIBRARY","$export","redefine","hide","Iterators","$iterCreate","setToStringTag","getPrototypeOf","ITERATOR","BUGGY","KEYS","VALUES","returnThis","Base","NAME","Constructor","next","DEFAULT","IS_SET","FORCED","IteratorPrototype","getMethod","kind","proto","TAG","DEF_VALUES","VALUES_BUG","$native","$default","$entries","undefined","$anyNative","entries","values","P","F","toInteger","defined","TO_STRING","that","pos","a","b","charCodeAt","charAt","at","S","unicode","anObject","result","global","ignoreCase","multiline","sticky","$keys","enumBugKeys","O","dP","getKeys","Properties","f","fails","wks","regexpExec","SPECIES","REPLACE_SUPPORTS_NAMED_GROUPS","re","exec","groups","SPLIT_WORKS_WITH_OVERWRITTEN_EXEC","originalExec","split","KEY","SYMBOL","DELEGATES_TO_SYMBOL","DELEGATES_TO_EXEC","execCalled","nativeRegExpMethod","fns","nativeMethod","regexp","str","arg2","forceStringMethod","done","strfn","rxfn","RegExp","string","arg","isObject","is","it","cof","ARG","T","B","e","tryGet","callee","has","SRC","$toString","TPL","inspectSource","safe","isFunction","Function","dPs","IE_PROTO","Empty","_createDict","iframeDocument","iframe","style","display","contentWindow","open","write","lt","close","uid","_Symbol","USE_SYMBOL","toString","context","INCLUDES","includes","searchString","indexOf","createDesc","toObject","ObjectProto","descriptor","ceil","Math","floor","isNaN","bitmap","MATCH","re1","re2","regexpFlags","nativeExec","nativeReplace","patchedExec","UPDATES_LAST_INDEX_WRONG","NPCG_INCLUDED","lastIndex","reCopy","match","propertyIsEnumerable","core","SHARED","version","copyright","ctx","own","out","exp","IS_FORCED","IS_GLOBAL","G","IS_PROTO","IS_BIND","expProto","U","W","R","classof","builtinExec","TypeError","shared","$includes","el","IObject","valueOf","gOPS","pIE","$assign","A","K","k","aLen","getSymbols","isEnum","j","__g","max","min","def","stat","__e","IE8_DOM_DEFINE","toPrimitive","Attributes","aFunction","UNSCOPABLES","ArrayProto","Array","toLength","advanceStringIndex","regExpExec","SUBSTITUTION_SYMBOLS","SUBSTITUTION_SYMBOLS_NO_NAMED","REPLACE","$replace","maybeCallNative","searchValue","replaceValue","res","rx","functionalReplace","fullUnicode","results","accumulatedResult","nextSourcePosition","matched","position","captures","namedCaptures","replacerArgs","replacement","getSubstitution","tailPos","ch","capture","isRegExp","$iterators","TO_STRING_TAG","ArrayValues","DOMIterables","CSSRuleList","CSSStyleDeclaration","CSSValueList","ClientRectList","DOMRectList","DOMStringList","DOMTokenList","DataTransferItemList","FileList","HTMLAllCollection","HTMLCollection","HTMLFormElement","HTMLSelectElement","MediaList","MimeTypeArray","NamedNodeMap","NodeList","PaintRequestList","Plugin","PluginArray","SVGLengthList","SVGNumberList","SVGPathSegList","SVGPointList","SVGStringList","SVGTransformList","SourceBufferList","StyleSheetList","TextTrackCueList","TextTrackList","TouchList","collections","explicit","Collection","forced","toIObject","toAbsoluteIndex","IS_INCLUDES","$this","fromIndex","__webpack_exports__","insertNodeAt","camelize","console","removeNode","cache","regex","_","node","parentElement","removeChild","fatherNode","refNode","nextSibling","insertBefore","g","px","random","addToUnscopables","iterated","_i","_k","Arguments","arrayIndexOf","names","STARTS_WITH","$startsWith","startsWith","search","currentScript","scripts","getElementsByTagName","err","stack","readyState","documentElement","setPublicPath_i","_arrayLikeToArray","arr","arr2","_unsupportedIterableToArray","minLen","from","test","_slicedToArray","isArray","_arrayWithHoles","_arr","_n","_d","_iterableToArrayLimit","_nonIterableRest","_toConsumableArray","_arrayWithoutHoles","iter","_iterableToArray","_nonIterableSpread","external_commonjs_sortablejs_commonjs2_sortablejs_amd_sortablejs_root_Sortable_","external_commonjs_sortablejs_commonjs2_sortablejs_amd_sortablejs_root_Sortable_default","helper","emit","evtName","evtData","$nextTick","toLowerCase","delegateAndEmit","_this2","realList","isTransitionName","getSlot","scopedSlot","eventsListened","eventsToEmit","readonlyProperties","map","evt","draggingElement","draggableComponent","inheritAttrs","list","default","noTransitionOnDrag","clone","original","element","move","componentData","transitionMode","noneFunctionalComponentMode","slots","componentOptions","vuedraggable_isTransition","_computeChildrenAndOf","headerOffset","footerOffset","header","footer","computeChildrenAndOffsets","$scopedSlots","attributes","$attrs","update","propName","buildAttribute","reduce","componentDataAttrs","getComponentAttributes","getTag","created","warn","_this3","nodeName","getIsFunctional","optionsAdded","elt","onMove","originalEvent","onDragMove","draggable","_sortable","rootContainer","computeIndexes","beforeDestroy","destroy","computed","watch","handler","newOptionValue","updateOptions","deep","fnOptions","_vnode","option","getChildrenNodes","$children","rawNodes","child","_this4","visibleIndexes","isTransition","elmFromNodes","elm","footerIndex","rawIndexes","idx","ind","_computeIndexes","getUnderlyingVm","htmlElt","vnodes","computeVmIndex","getUnderlyingPotencialDraggableComponent","vue","__vue__","$options","_componentTag","$parent","emitChanges","_this5","alterList","onList","newList","spliceList","_arguments","splice","updatePosition","oldIndex","newIndex","getRelatedContextFromMoveEvent","_ref2","to","related","destination","getVmIndex","domIndex","indexes","numberIndexes","getComponent","componentInstance","resetTransitionData","transitionContainer","kept","onDragStart","item","_underlying_vm_","onDragAdd","added","onDragRemove","pullMode","removed","onDragUpdate","moved","updateProperty","propertyName","computeFutureIndex","relatedContext","domChildren","currentDOMIndex","currentIndex","willInsertAfter","draggedContext","futureIndex","onDragEnd","vuedraggable","cardHeader","fill","justified","pills","small","tabs","vertical","BNav","selected","handleSelection","hideImg","card","hideTitle","modifiers","placeholder","keyCode","fetch","query","filters","toggleFilters","filterBtn","filtersOpen","existingFilters","resetSearch","handleChange","selectedFilters","field","$set","bodyClass","overlay","bodyBgVariant","bodyBorderVariant","bodyTextVariant","$title","$subTitle","subTitle","bodyTag","titleTag","subTitleTag","subTitleTextVariant","headerClass","headerHtml","headerBgVariant","headerBorderVariant","headerTextVariant","headerTag","domProps","footerClass","footerHtml","footerBgVariant","footerBorderVariant","footerTextVariant","footerTag","_watch","MODEL_PROP_NAME_SHOW","MODEL_EVENT_NAME_SHOW","imgProps","blankHeight","blankSrc","blankWidth","offset","isShown","computedSrc","computedBlank","computedWidth","computedHeight","computedSrcset","computedSizes","newValue","oldValue","updateShowProp","doShow","_modifiers","directUploadWillStoreFileWithXHR","xhr","upload","addEventListener","event","onProgress","file","status","$refs","dropzone","progress","loaded","total","querySelector","dzWillUploadCallback","DirectUpload","dropzoneOptions","url","blob","fileRemoved","emitDropzoneError","dzUploadErrorCallback","urlToView","signed_id","filename","emitDropzoneSuccess","dzUploadSuccessCallback","fileAdded","uploadOnAdd","previewUrl","label","role","variant","BSpinner","$label","CLASS_BV_TOGGLE_COLLAPSED","CLASS_BV_TOGGLE_NOT_COLLAPSED","BV_BASE","BV_TOGGLE_ROOT_HANDLER","BV_TOGGLE_CLICK_HANDLER","BV_TOGGLE_STATE","BV_TOGGLE_TARGETS","ATTR_ARIA_CONTROLS","ATTR_ARIA_EXPANDED","ATTR_ROLE","ATTR_TABINDEX","STYLE_OVERFLOW_ANCHOR","ROOT_ACTION_EVENT_NAME_TOGGLE","ROOT_EVENT_NAME_STATE","ROOT_EVENT_NAME_SYNC_STATE","ROOT_ACTION_EVENT_NAME_REQUEST_STATE","KEYDOWN_KEY_CODES","isNonStandardTag","tagName","removeClickListener","removeRootListeners","vnode","$root","$off","setToggleState","resetProp","prop","handleUpdate","binding","targets","href","getTargets","addClickListener","VBToggle","$on","addRootListeners","componentUpdated","updated","unbind","_defineProperties","OBSERVER_PROP_NAME","VisibilityObserver","instance","_classCallCheck","margin","once","observer","doneOnce","createObserver","protoProps","staticProps","stop","IntersectionObserver","root","rootMargin","threshold","_unused","observe","entry","isIntersecting","intersectionRatio","disconnect","mod","_prevModifiers","VBVisible","maxRows","noAutoShrink","noResize","rows","wrap","mixins","heightInPx","computedStyle","styles","resize","computedRows","overflowY","computedMinRows","computedMaxRows","computedAttrs","disabled","safeId","form","autocomplete","readonly","plaintext","computedAriaInvalid","computedListeners","bvListeners","input","onInput","change","onChange","blur","onBlur","localValue","setHeight","visibleCallback","computeHeight","$isServer","lineHeight","border","borderTopWidth","borderBottomWidth","padding","paddingTop","paddingBottom","minHeight","oldHeight","scrollHeight","contentRows","computedClass","provide","bvRadioGroup","isRadioGroup","VueSelect","autoscroll","typeAheadPointer","maybeAdjustScroll","dropdownMenu","getDropdownViewport","getBoundingClientRect","scrollTop","offsetTop","filteredOptions","selectable","typeAheadToLastSelected","selectedValue","typeAheadUp","typeAheadDown","typeAheadSelect","select","u","loading","mutableLoading","toggleLoading","staticRenderFns","_compiled","_scopeId","$vnode","ssrContext","parent","__VUE_SSR_CONTEXT__","_registeredComponents","add","_ssrRegister","shadowRoot","_injectStyles","beforeCreate","Deselect","xmlns","OpenIndicator","inserted","appendToBody","toggle","scrollX","pageXOffset","scrollY","pageYOffset","unbindPosition","calculatePosition","body","parentNode","y","clearable","deselectFromDropdown","searchable","multiple","transition","clearSearchOnSelect","closeOnSelect","getOptionLabel","stringify","getOptionKey","sort","onTab","selectOnTab","isComposing","taggable","Number","pushTags","filterable","filterBy","toLocaleLowerCase","createOption","optionList","resetOnOptionsChange","validator","clearSearchOnBlur","noDrop","inputId","dir","selectOnKeyCodes","searchInputQuerySelector","mapKeydown","dropdownShouldOpen","pushedTags","_value","isTrackingValues","propsData","$data","searchEl","selectedOptions","scope","searching","searchPlaceholder","dropdownOpen","events","compositionstart","compositionend","keydown","onSearchKeyDown","onSearchBlur","focus","onSearchFocus","spinner","noOptions","openIndicator","listHeader","listFooter","deselect","childComponents","stateClasses","isValueEmpty","optionExists","unshift","showClearButton","clearSelection","setInternalValueFromOptions","immediate","pushTag","findOptionFromReducedValue","isOptionSelected","updateValue","onAfterSelect","optionComparator","toggleDropdown","deselectButtons","clearButton","some","contains","isOptionDeselectable","find","closeSearchOptions","maybeDeleteValue","normalizeOptionForSlot","onEscape","mousedown","onMousedown","onMouseUp","refInFor","click","_g","_b","mouseup","mouseover","visibility","ajax","pointer","pointerScroll","cards","_m","revealImageForPosition","handleSelectImage","removeRevealImage","searchFilters","handleResults","cancel","handleConfirm","selectedImage","handleCardSelected","handleRemoveCard","titleValidation","uploadSuccess","uploadError","accepted","submit","selectCustom","openImageAdder","previewMode","updateCardPositions","previewing","cardFinished","removeFromCompleted","pull","put","addToCompleted","completedCards","restart","firsts","finished","completedFirsts","completeFirst","completedThens","completeThen","thens","handlePrev","completed","trashActive","trashDragging","trashed","active","onStart","onEnd","staticRevealer","subtaskLimit","revealBlockStyle","rowNumber","colNumber","subtaskCountBroadcast","subtaskCount","completedBroadcast","remainingPathColor","circleDasharray","formattedTimeLeft","running","handleDurationChange","duration","pause","subtaskType","subtaskControls","isPrimaryTherapist","staticContent","template","cardImgProps","imgSrc","noBody","imgLeft","imgRight","imgStart","imgEnd","imgBottom","slotScope","$imgFirst","$imgLast","$img","$header","hasHeaderSlot","$content","$footer","textTag","columns","deck","_makeModelMixin","modelMixin","mixin","modelProps","MODEL_PROP_NAME","MODEL_EVENT_NAME","notDisabled","tab","BVTabButton","inject","bvTabs","controls","noKeyNav","posInSet","setSize","tabIndex","link","handleEvent","shiftKey","_this$tab","localActive","titleItemClass","titleLinkClass","titleLinkAttributes","$link","activeNavItemClass","normalizeSlot","navProps","activeTabClass","contentClass","lazy","navClass","navWrapperClass","noFade","noNavStyle","currentTab","registeredTabs","fade","localNavClass","classes","$tab","activateTab","previousTab","nextTab","updateTabs","$_observer","setObserver","registerTab","unregisterTab","$t","content","childList","subtree","attributeFilter","getTabs","$tabs","_isTab","order","selector","reverse","getButtonForTab","buttons","$btn","updateButton","$button","$forceUpdate","tabEvent","cancelable","vueTarget","componentId","defaultPrevented","deactivateTab","focusButton","emitTabClick","clickTab","firstTab","lastTab","$activeTab","$fallbackTab","$buttons","_on","controlledBy","$nav","$empty","col","row","devtoolHook","__VUE_DEVTOOLS_GLOBAL_HOOK__","deepCopy","hit","copy","forEachValue","Module","rawModule","runtime","_children","_rawModule","rawState","prototypeAccessors","namespaced","addChild","getChild","hasChild","forEachChild","forEachGetter","forEachAction","forEachMutation","ModuleCollection","rawRootModule","register","path","targetModule","newModule","getNamespace","namespace","this$1","rawChildModule","unregister","isRegistered","install","strict","_committing","_actions","_actionSubscribers","_mutations","_wrappedGetters","_modules","_modulesNamespaceMap","_subscribers","_watcherVM","_makeLocalGettersCache","dispatch","commit","payload","installModule","resetStoreVM","plugin","devtools","config","_devtoolHook","targetState","replaceState","subscribe","mutation","prepend","subscribeAction","action","devtoolPlugin","prototypeAccessors$1","genericSubscribe","subs","resetStore","hot","oldVm","wrappedGetters","partial","silent","$$state","$watch","_data","sync","enableStrictMode","_withCommit","nextTick","$destroy","rootState","isRoot","parentState","getNestedState","moduleName","set","local","noNamespace","_type","_payload","_options","args","unifyObjectStyle","gettersProxy","splitPos","localType","makeLocalGetters","makeLocalContext","registerMutation","rootGetters","Promise","catch","registerAction","rawGetter","registerGetter","_Vue","vuexInit","_init","init","applyMixin","sub","before","all","reject","after","registerModule","preserveState","unregisterModule","delete","hasModule","hotUpdate","newOptions","committing","mapState","normalizeNamespace","states","normalizeMap","getModuleByNamespace","vuex","mapMutations","mapGetters","mapActions","isValidMap","startMessage","logger","message","collapsed","groupCollapsed","group","log","endMessage","groupEnd","getFormattedTime","time","Date","pad","getHours","getMinutes","getSeconds","getMilliseconds","num","maxLength","times","createNamespacedHelpers","createLogger","stateBefore","stateAfter","transformer","mutationTransformer","mut","actionFilter","actionTransformer","act","logMutations","logActions","prevState","nextState","formattedTime","formattedMutation","formattedAction","_objectSpread2","MODEL_PROP_NAME_ACTIVE","MODEL_EVENT_NAME_ACTIVE","tabClasses","buttonId","computedNoFade","computedLazy","activate","deactivate","hasNormalizedSlot","linkProps","pill","appendHtml","prependHtml","$prepend","hasPrependSlot","$append","hasAppendSlot","CLASS_NAME","defaultValue","ariaLabel","ariaLabelledby","backdrop","backdropVariant","closeLabel","noCloseOnBackdrop","noCloseOnEsc","noCloseOnRouteChange","noEnforceFocus","noHeader","noHeaderClose","noSlide","shadow","sidebarClass","zIndex","renderHeader","renderHeaderTitle","$close","renderHeaderClose","renderBody","renderFooter","renderContent","isOpen","renderBackdrop","localShow","onBackdropClick","transitionProps","css","enterClass","enterActiveClass","enterToClass","leaveClass","leaveActiveClass","leaveToClass","hasTitle","titleId","bvAttrs","emitState","fullPath","$_returnFocusEl","listenOnRoot","handleToggle","handleSync","activated","emitSync","emitOnRoot","onKeydown","onTopTrapFocus","tabables","enforceFocus","onBottomTrapFocus","onBeforeEnter","onAfterEnter","onAfterLeave","$sidebar","beforeEnter","afterEnter","afterLeave","$backdrop","$tabTrapTop","$tabTrapBottom","enabled","phase","_state$modifiersData$","arrowElement","elements","arrow","popperOffsets","modifiersData","basePlacement","getBasePlacement","placement","axis","getMainAxisFromPlacement","paddingObject","rects","mergePaddingObject","expandToHashMap","arrowRect","getLayoutRect","minProp","maxProp","endDiff","reference","popper","startDiff","arrowOffsetParent","getOffsetParent","clientSize","clientHeight","clientWidth","centerToReference","within","axisProp","centerOffset","effect","_options$element","requires","requiresIfExists","getSideOffsets","overflow","rect","preventedOffsets","x","isAnySideFullyClipped","side","referenceRect","popperRect","preventOverflow","referenceOverflow","detectOverflow","elementContext","popperAltOverflow","altBoundary","referenceClippingOffsets","popperEscapeOffsets","isReferenceHidden","hasPopperEscaped","defaultModifiers","eventListeners","computeStyles","applyStyles","flip","withPopper","shouldCloseOnSelect","updatePopper","$listeners","_typeof2","_objectWithoutProperties","excluded","sourceKeys","_objectWithoutPropertiesLoose","sourceSymbolKeys","userAgent","pattern","navigator","IE11OrLess","Edge","FireFox","Safari","IOS","ChromeForAndroid","captureMode","passive","off","removeEventListener","matches","substring","msMatchesSelector","webkitMatchesSelector","getParentOrHost","host","nodeType","closest","includeCTX","_throttleTimeout","R_SPACE","toggleClass","classList","className","defaultView","getComputedStyle","currentStyle","matrix","selfOnly","appliedTransforms","transform","matrixFn","DOMMatrix","WebKitCSSMatrix","CSSMatrix","MSCSSMatrix","getWindowScrollingElement","scrollingElement","getRect","relativeToContainingBlock","relativeToNonStaticParent","undoScale","elRect","innerHeight","innerWidth","containerRect","parseInt","elMatrix","scaleX","scaleY","isScrolledPast","elSide","parentSide","getParentAutoScrollElement","elSideVal","parentSideVal","childNum","currentChild","Sortable","ghost","dragged","lastChild","last","lastElementChild","previousElementSibling","getRelativeScrollOffset","offsetLeft","winScroller","scrollLeft","includeSelf","elem","gotSelf","scrollWidth","elemCSS","overflowX","isRectEqual","rect1","rect2","round","throttle","ms","setTimeout","scrollBy","Polymer","$","jQuery","Zepto","dom","cloneNode","setRect","unsetRect","expando","getTime","AnimationStateManager","animationCallbackId","animationStates","captureAnimationState","animation","fromRect","thisAnimationDuration","childMatrix","addAnimationState","removeAnimationState","indexOfObject","animateAll","clearTimeout","animating","animationTime","toRect","prevFromRect","prevToRect","animatingRect","targetMatrix","sqrt","pow","calculateRealTime","animate","animationResetTimer","currentRect","translateX","translateY","animatingX","animatingY","offsetWidth","repaint","easing","animated","defaults","initializeByDefault","PluginManager","mount","pluginEvent","eventName","sortable","eventCanceled","eventNameGlobal","pluginName","initializePlugins","initialized","modified","modifyOption","getEventProperties","eventProperties","modifiedValue","optionListeners","dispatchEvent","rootEl","targetEl","cloneEl","toEl","fromEl","oldDraggableIndex","newDraggableIndex","putSortable","extraEventProperties","onName","substr","CustomEvent","createEvent","initEvent","bubbles","lastPutMode","allEventProperties","dragEl","parentEl","ghostEl","nextEl","lastDownEl","cloneHidden","dragStarted","activeSortable","hideGhostForTarget","_hideGhostForTarget","unhideGhostForTarget","_unhideGhostForTarget","cloneNowHidden","cloneNowShown","dispatchSortableEvent","_dispatchEvent","info","activeGroup","tapEvt","touchEvt","lastDx","lastDy","tapDistanceLeft","tapDistanceTop","lastTarget","lastDirection","targetMoveDistance","ghostRelativeParent","awaitingDragStarted","ignoreNextClick","sortables","pastFirstInvertThresh","isCircumstantialInvert","ghostRelativeParentInitialScroll","_silent","savedInputChecked","documentExists","PositionGhostAbsolutely","CSSFloatProperty","supportDraggable","supportCssPointerEvents","cssText","pointerEvents","_detectDirection","elCSS","elWidth","paddingLeft","paddingRight","borderLeftWidth","borderRightWidth","child1","child2","firstChildCSS","secondChildCSS","firstChildWidth","marginLeft","marginRight","secondChildWidth","flexDirection","gridTemplateColumns","touchingSideChild2","clear","_prepareGroup","toFn","sameGroup","otherGroup","originalGroup","checkPull","checkPut","revertClone","stopImmediatePropagation","nearestEmptyInsertDetectEvent","touches","nearest","clientX","clientY","emptyInsertThreshold","insideHorizontally","insideVertically","ret","_onDragOver","_checkOutsideTargetEl","_isOutsideThisEl","handle","swapThreshold","invertSwap","invertedSwapThreshold","removeCloneOnHide","direction","ghostClass","chosenClass","dragClass","ignore","preventOnFilter","setData","dataTransfer","textContent","dropBubble","dragoverBubble","dataIdAttr","delay","delayOnTouchOnly","touchStartThreshold","devicePixelRatio","forceFallback","fallbackClass","fallbackOnBody","fallbackTolerance","fallbackOffset","supportPointer","nativeDraggable","_onTapStart","_onMove","dragRect","targetRect","retVal","onMoveFn","draggedRect","relatedRect","_disableDraggable","_unsilent","_generateId","sum","_nextTick","_cancelNextTick","_getDirection","touch","pointerType","originalTarget","composedPath","inputs","checked","_saveInputCheckedState","button","isContentEditable","criteria","_prepareDragStart","dragStartFn","ownerDocument","_lastX","_lastY","_onDrop","_disableDelayedDragEvents","_triggerDragStart","_disableDelayedDrag","_delayedDragTouchMoveHandler","_dragStartTimer","abs","_onTouchMove","_onDragStart","selection","empty","getSelection","removeAllRanges","_dragStarted","fallback","_appendGhost","_nulling","_emulateDragOver","elementFromPoint","ghostMatrix","relativeScrollOffset","dx","dy","cssMatrix","_hideClone","cloneId","_loopId","setInterval","effectAllowed","_dragStartId","revert","canSort","fromSortable","completedFired","dragOverEvent","_ignoreWhileAnimating","elLastChild","spacer","_ghostIsLast","changed","targetBeforeFirstSwap","sibling","differentLevel","differentRowCol","dragElS1Opp","dragElS2Opp","dragElOppLength","targetS1Opp","targetS2Opp","targetOppLength","_dragElInRowColumn","side1","scrolledPastTop","scrollBefore","isLastTarget","mouseOnAxis","targetLength","targetS1","targetS2","invert","_getInsertDirection","_getSwapDirection","dragIndex","nextElementSibling","moveVector","extra","insertion","_showClone","_offMoveEvents","_offUpEvents","clearInterval","save","dropEffect","_globalDragOver","toArray","items","querySelectorAll","removeAttribute","utils","dst","cancelNextTick","detectDirection","_len","_key","scrollEl","scrollRootEl","lastAutoScrollX","lastAutoScrollY","touchEvt$1","pointerElemChangedInterval","autoScrolls","scrolling","clearAutoScrolls","autoScroll","pid","clearPointerElemChangedInterval","lastSwapEl","isFallback","scroll","scrollCustomFn","sens","scrollSensitivity","speed","scrollSpeed","scrollThisInstance","scrollFn","layersOut","currentParent","canScrollX","canScrollY","scrollPosX","scrollPosY","vx","vy","layer","scrollOffsetY","scrollOffsetX","bubbleScroll","drop","toSortable","changedTouches","onSpill","Revert","Remove","SwapPlugin","Swap","swapClass","dragStart","dragOverValid","swap","prevSwapEl","_ref3","n1","n2","i1","i2","p1","p2","isEqualNode","swapNodes","nulling","swapItem","startIndex","_ref4","parentSortable","lastMultiDragSelect","multiDragSortable","dragEl$1","clonesFromRect","clonesHidden","multiDragElements","multiDragClones","initialFolding","folding","MultiDragPlugin","MultiDrag","_deselectMultiDrag","_checkKeyDown","_checkKeyUp","selectedClass","multiDragKey","multiDragElement","multiDragKeyDown","isMultiDrag","delayStartGlobal","delayEnded","setupClone","sortableIndex","insertMultiDragClones","showClone","hideClone","_ref5","dragStartGlobal","_ref6","multiDrag","_ref7","removeMultiDragElements","dragOver","_ref8","_ref9","clonesInserted","insertMultiDragElements","dragOverCompleted","_ref10","dragRectAbsolute","clonesHiddenBefore","dragOverAnimationCapture","_ref11","dragMatrix","dragOverAnimationComplete","_ref12","originalEvt","multiDragIndex","nullingGlobal","destroyGlobal","shift","oldIndicies","newIndicies","clones","elementsInserted","AutoScroll","_handleAutoScroll","_handleFallbackAutoScroll","dragOverBubble","ogElemScroller","newElem","stableSort","array","compareFn","startedAt","now","timer","freeze","TOP_RIGHT","TOP","TOP_LEFT","BOTTOM_RIGHT","BOTTOM","BOTTOM_LEFT","Map","dismissible","onDismiss","onClick","queue","pauseOnHover","isActive","parentTop","parentBottom","isHovered","setupContainer","showNotice","dismiss","shouldQueue","childElementCount","queueTimer","remove","correctParent","insertAdjacentElement","whenClicked","toggleTimer","resume","enter","leave","mouseleave","innerHTML","success","warning","$toast","ReferenceError","_callbacks","__proto__","defaultOptions","previewTemplate","clickableElements","listeners","files","instances","optionsForElement","isBrowserSupported","acceptedFiles","acceptedMimeTypes","uploadMultiple","chunking","renameFilename","renameFile","method","getExistingFallback","previewsContainer","getElement","clickable","getElements","setPrototypeOf","Emitter","withCredentials","timeout","parallelUploads","forceChunking","chunkSize","parallelChunkUploads","retryChunks","retryChunksLimit","maxFilesize","paramName","createImageThumbnails","maxThumbnailFilesize","thumbnailWidth","thumbnailHeight","thumbnailMethod","resizeWidth","resizeHeight","resizeMimeType","resizeQuality","resizeMethod","filesizeBase","maxFiles","headers","ignoreHiddenFiles","autoProcessQueue","autoQueue","addRemoveLinks","hiddenInputContainer","dictDefaultMessage","dictFallbackMessage","dictFallbackText","dictFileTooBig","dictInvalidFileType","dictResponseError","dictCancelUpload","dictUploadCanceled","dictCancelUploadConfirmation","dictRemoveFile","dictRemoveFileConfirmation","dictMaxFilesExceeded","dictFileSizeUnits","tb","gb","mb","kb","params","dzuuid","uuid","dzchunkindex","dztotalfilesize","dzchunksize","dztotalchunkcount","totalChunkCount","dzchunkbyteoffset","accept","chunksUploaded","innerText","getFallbackForm","srcX","srcY","srcWidth","srcHeight","trgWidth","trgHeight","transformFile","resizeImage","dragstart","dragend","dragenter","dragover","dragleave","paste","addedfile","previewElement","filesize","_removeLink","UPLOADING","confirm","removeFile","removedfile","_updateMaxFilesReachedClass","errormultiple","processing","processingmultiple","uploadprogress","totaluploadprogress","sending","sendingmultiple","successmultiple","canceled","canceledmultiple","complete","completemultiple","maxfilesexceeded","maxfilesreached","queuecomplete","addedfiles","_thumbnailQueue","_processingThumbnail","getFilesWithStatus","QUEUED","ADDED","setAttribute","hiddenFileInput","addFile","URL","webkitURL","updateTotalUploadProgress","getAddedFiles","getUploadingFiles","getQueuedFiles","returnValue","elementInside","enable","disable","removeAllFiles","getActiveFiles","bytesSent","_getParamName","removeEventListeners","cancelUpload","setupEventListeners","getAcceptedFiles","webkitGetAsEntry","_addFilesFromItems","handleFiles","clipboardData","isFile","getAsFile","isDirectory","_addFilesFromDirectory","createReader","readEntries","isValidFile","uuidv4","_renameFile","chunked","_enqueueThumbnail","_errorProcessing","enqueueFile","processQueue","_processThumbnailQueue","createThumbnail","toDataURL","restore","dataURL","dataURItoBlob","FileReader","onload","createThumbnailFromUrl","readAsDataURL","crossOrigin","EXIF","getData","getContext","translate","scale","rotate","PI","trgX","trgY","onerror","processFiles","processFile","uploadFiles","_getFilesWithXhr","CANCELED","abort","_transformFiles","chunks","webkitSlice","chunkIndex","dataBlock","retries","_uploadData","finishedChunkUpload","SUCCESS","_finished","XMLHttpRequest","resolveOption","_finishedUploading","_handleUploadError","onprogress","_updateFilesUploadProgress","Accept","setRequestHeader","FormData","_getChunk","_addFormElementData","submitRequest","_o","hasAttribute","responseType","responseText","getResponseHeader","send","ERROR","initClass","forElement","autoDiscover","discover","blacklistedBrowsers","File","Blob","atob","ArrayBuffer","Uint8Array","childNodes","each","Dropzone","ACCEPTED","PROCESSING","naturalWidth","naturalHeight","drawImage","getImageData","KEY_STR","decode64","slice2Segments","exifManipulation","encode64","getExifArray","insertExif","_autoDiscoverFunction","createEventObject","doScroll","frameElement","getSignedURL","filePath","contentType","signingURL","statusText","sendFile","setResponseHandler","sendS3Handler","s3Signature","signature","s3Url","postEndpoint","DOMParser","parseFromString","firstChild","includeStyling","useCustomSlot","awss3","destroyDropzone","duplicateCheck","isS3","isS3OverridesServerPropagation","wasQueueAutoProcess","dropzoneSettings","sendFileToServer","hasBeenMounted","dropzoneElement","lastModifiedDate","manuallyAdded","getSignedAndUploadToS3","setOption","_e2","s3ObjectLocation","manuallyAddFile","getRejectedFiles","alert","setAWSSigningURL","cardTypes","defaultCards","defaultImages","visualScheduleSharing","directUploadUrl","subtaskCounterOptions","templateOptions","displayOptions","visualScheduleChannel","updateVisualScheduleContent","updateImageRevealerContent","addCards","visual_schedule_cards_attributes","removeCard","cardIndex","findIndex","_destroy","card_id","addRevealImage","existingIndex","visual_schedule_reveal_images_attributes","img","imgIndex","setAbilities","abilities","setCardTypes","types","setDefaultCards","setDefaultImages","images","setDirectUploadUrl","setDisplays","displays","setSubCounters","subscounters","setTemplates","templates","setUserId","storeVisualScheduleChannel","subscription","updateVisualSchedule","setVisualSchedule","setVisualScheduleSharing","fetchVisualScheduleOptions","axios","subtasks","setNewVisualSchedule","vs","vsId","toggleVisualScheduleSharing","streamerId","isVisualScheduleSharing","startVisualScheduleSharing","stopVisualScheduleSharing","isDemoMode","visual_schedule_display_id","_state","isVisualScheduleOwner","user_id","scheduleCards","revealImageForCardPosition","visualScheduleStreamer","visitorById","isEmpty","isVisualScheduleStreamer","visitor","selectedCards","cardTypOptions","uploadCard","showAuth","canUpdate","description","counterType","handleRevealImageModal","subtaskVisible","cardAttributes","manageRevealImagesModal","fetchedPatients","fetchPatientOptions","updatePatients","showAuthModal","handleHidden"],"mappings":";4IAAA,Q,kCCAA,Q,kCCAA,Q,kCCAA,gEAGIA,EAA2B,YAAc,CAC3CC,WAAY,CACVC,KAAM,IACNC,SAAU,Q,kCCNd,wIAWIC,EAA0B,YAAc,CAC1CH,WAAY,CACVI,MAAO,IACPC,YAAa,IACbC,UAAW,IACXC,WAAY,IACZC,cAAe,IACfC,YAAa,IACbC,SAAU,IACVC,aAAc,IACdC,UAAW,IACXC,WAAY,Q,kCCtBhB,uDAEIC,EAAkC,YAAc,CAClDd,W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KAAKvB,EAAIS,GAAG,KAAMR,KAAK+B,IAAU,OAAE5B,EAAG,WAAW,CAACiK,WAAW,CAAC,CAACrD,KAAK,WAAWsD,QAAQ,sCAAsCkmB,UAAU,CAAC,4BAA2B,KAAQjwB,MAAM,CAAC,KAAO,KAAK,MAAQ,KAAK,CAACH,EAAG,SAAS,CAACG,MAAM,CAAC,KAAO,UAAUP,EAAIS,GAAG,kBAAkB,GAAGT,EAAIuB,KAAKvB,EAAIS,GAAG,KAAKL,EAAG,YAAY,CAACG,MAAM,CAAC,GAAK,2BAA2B,MAAQ,WAAW,SAAW,GAAG,MAAyB,UAAjBP,EAAIyf,SAAqB,OAAS,IAAIze,GAAG,CAAC,OAAShB,EAAIm/E,cAAcx9E,YAAY3B,EAAI4B,GAAG,CAAC,CAACC,IAAI,SAASC,GAAG,WAAW,MAAO,CAAC1B,EAAG,MAAM,CAACE,YAAY,0DAA0D,CAACF,EAAG,WAAW,CAACG,MAAM,CAAC,KAAO,KAAK,QAAU,WAAWS,GAAG,CAAC,MAAQhB,EAAIg9D,OAAO,CAACh9D,EAAIS,GAAG,WAAW,KAAKsB,OAAM,MAAS,CAAC3B,EAAG,MAAM,CAACE,YAAY,aAAa,CAACF,EAAG,oBAAoB,MAAM,KAC5iC,IGUpB,EACA,KACA,KACA,MAIa,IAAA0D,E","file":"js/40-7118b6d20948f1ab87f0.chunk.js","sourcesContent":["export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js!../../../../node_modules/css-loader/dist/cjs.js??ref--2-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--2-2!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Card.vue?vue&type=style&index=0&id=1465761a&scoped=true&lang=css&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js!../../../node_modules/css-loader/dist/cjs.js??ref--3-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--3-2!../../../node_modules/sass-loader/dist/cjs.js??ref--3-3!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SearchBar.vue?vue&type=style&index=0&lang=scss&\"","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js!../../../../../node_modules/css-loader/dist/cjs.js??ref--3-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--3-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--3-3!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RevealImage.vue?vue&type=style&index=0&lang=scss&\"","import { BImg } from './img';\nimport { BImgLazy } from './img-lazy';\nimport { pluginFactory } from '../../utils/plugins';\nvar ImagePlugin = /*#__PURE__*/pluginFactory({\n components: {\n BImg: BImg,\n BImgLazy: BImgLazy\n }\n});\nexport { ImagePlugin, BImg, BImgLazy };","import { BCard } from './card';\nimport { BCardHeader } from './card-header';\nimport { BCardBody } from './card-body';\nimport { BCardTitle } from './card-title';\nimport { BCardSubTitle } from './card-sub-title';\nimport { BCardFooter } from './card-footer';\nimport { BCardImg } from './card-img';\nimport { BCardImgLazy } from './card-img-lazy';\nimport { BCardText } from './card-text';\nimport { BCardGroup } from './card-group';\nimport { pluginFactory } from '../../utils/plugins';\nvar CardPlugin = /*#__PURE__*/pluginFactory({\n components: {\n BCard: BCard,\n BCardHeader: BCardHeader,\n BCardBody: BCardBody,\n BCardTitle: BCardTitle,\n BCardSubTitle: BCardSubTitle,\n BCardFooter: BCardFooter,\n BCardImg: BCardImg,\n BCardImgLazy: BCardImgLazy,\n BCardText: BCardText,\n BCardGroup: BCardGroup\n }\n});\nexport { CardPlugin, BCard, BCardHeader, BCardBody, BCardTitle, BCardSubTitle, BCardFooter, BCardImg, BCardImgLazy, BCardText, BCardGroup };","import { BFormTextarea } from './form-textarea';\nimport { pluginFactory } from '../../utils/plugins';\nvar FormTextareaPlugin = /*#__PURE__*/pluginFactory({\n components: {\n BFormTextarea: BFormTextarea,\n BTextarea: BFormTextarea\n }\n});\nexport { FormTextareaPlugin, BFormTextarea };","import { BTabs } from './tabs';\nimport { BTab } from './tab';\nimport { pluginFactory } from '../../utils/plugins';\nvar TabsPlugin = /*#__PURE__*/pluginFactory({\n components: {\n BTabs: BTabs,\n BTab: BTab\n }\n});\nexport { TabsPlugin, BTabs, BTab };","import { BBadge } from './badge';\nimport { pluginFactory } from '../../utils/plugins';\nvar BadgePlugin = /*#__PURE__*/pluginFactory({\n components: {\n BBadge: BBadge\n }\n});\nexport { BadgePlugin, BBadge };","import { BInputGroup } from './input-group';\nimport { BInputGroupAddon } from './input-group-addon';\nimport { BInputGroupPrepend } from './input-group-prepend';\nimport { BInputGroupAppend } from './input-group-append';\nimport { BInputGroupText } from './input-group-text';\nimport { pluginFactory } from '../../utils/plugins';\nvar InputGroupPlugin = /*#__PURE__*/pluginFactory({\n components: {\n BInputGroup: BInputGroup,\n BInputGroupAddon: BInputGroupAddon,\n BInputGroupPrepend: BInputGroupPrepend,\n BInputGroupAppend: BInputGroupAppend,\n BInputGroupText: BInputGroupText\n }\n});\nexport { InputGroupPlugin, BInputGroup, BInputGroupAddon, BInputGroupPrepend, BInputGroupAppend, BInputGroupText };","import { BFormRadio } from './form-radio';\nimport { BFormRadioGroup } from './form-radio-group';\nimport { pluginFactory } from '../../utils/plugins';\nvar FormRadioPlugin = /*#__PURE__*/pluginFactory({\n components: {\n BFormRadio: BFormRadio,\n BRadio: BFormRadio,\n BFormRadioGroup: BFormRadioGroup,\n BRadioGroup: BFormRadioGroup\n }\n});\nexport { FormRadioPlugin, BFormRadio, BFormRadioGroup };","import { BSidebar } from './sidebar';\nimport { VBTogglePlugin } from '../../directives/toggle';\nimport { pluginFactory } from '../../utils/plugins';\nvar SidebarPlugin = /*#__PURE__*/pluginFactory({\n components: {\n BSidebar: BSidebar\n },\n plugins: {\n VBTogglePlugin: VBTogglePlugin\n }\n});\nexport { SidebarPlugin, BSidebar };","import { render, staticRenderFns } from \"./Breadcrumb.vue?vue&type=template&id=863adff4&scoped=true&\"\nvar script = {}\nimport style0 from \"./Breadcrumb.vue?vue&type=style&index=0&id=863adff4&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"863adff4\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('nav',{staticClass:\"breadcrumb\",attrs:{\"aria-label\":\"breadcrumb\"}},[_vm._t(\"default\"),_vm._v(\" \"),_c('div',{staticClass:\"d-inline-flex\"},[_vm._t(\"actions\")],2)],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VisualSchedule.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VisualSchedule.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./VisualSchedule.vue?vue&type=template&id=603d5338&\"\nimport script from \"./VisualSchedule.vue?vue&type=script&lang=js&\"\nexport * from \"./VisualSchedule.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.isOwner || _vm.publiclyVisible)?_c('div',[_c('Breadcrumb',[_c('ol',{attrs:{\"itemscope\":\"\",\"itemtype\":\"https://schema.org/BreadcrumbList\"}},[_c('li',{staticClass:\"breadcrumb-item\",attrs:{\"itemprop\":\"itemListElement\",\"itemscope\":\"\",\"itemtype\":\"https://schema.org/ListItem\"}},[_c('a',{attrs:{\"href\":\"/visual-schedules\"}},[_vm._v(\"Visual Schedules\")])]),_vm._v(\" \"),_c('li',{staticClass:\"breadcrumb-item active\",attrs:{\"aria-current\":\"page\",\"itemprop\":\"itemListElement\",\"itemscope\":\"\",\"itemtype\":\"https://schema.org/ListItem\"}},[_vm._v(\"\\n \"+_vm._s(_vm.visualSchedule.title)+\"\\n \")])]),_vm._v(\" \"),(_vm.isOwner)?_c('template',{slot:\"actions\"},[_c('b-button',{staticClass:\"mr-2\",attrs:{\"size\":\"sm\",\"variant\":\"primary\"},on:{\"click\":_vm.handleAddCard}},[_c('b-icon',{attrs:{\"icon\":\"plus-lg\"}}),_vm._v(\" Add cards\")],1),_vm._v(\" \"),(_vm.$store.state.userId && !_vm.pubVisOrSubmitted)?_c('b-button',{staticClass:\"mr-2\",attrs:{\"size\":\"sm\",\"variant\":\"secondary\"},on:{\"click\":_vm.handleSubmitSchedule}},[_c('b-icon',{attrs:{\"icon\":\"globe2\"}}),_vm._v(\" Make public\")],1):_vm._e(),_vm._v(\" \"),_c('b-button',{staticClass:\"mr-2\",attrs:{\"size\":\"sm\",\"variant\":\"secondary\"},on:{\"click\":_vm.handleAddPatient}},[_c('b-icon',{attrs:{\"icon\":\"person\"}}),_vm._v(\" Patients\\n \"+_vm._s(_vm.visualSchedule.patients.length ? (\"(\" + (_vm.visualSchedule.patients.length) + \")\") : ''))],1),_vm._v(\" \"),_c('VisualScheduleSettings')],1):_vm._e()],2),_vm._v(\" \"),_c('b-card',{attrs:{\"header-tag\":\"header\"},scopedSlots:_vm._u([{key:\"header\",fn:function(){return [_c('h2',{staticClass:\"m-0\"},[_c('b-icon',{attrs:{\"icon\":\"view-list\"}}),_vm._v(\" \"+_vm._s(_vm.visualSchedule.title))],1)]},proxy:true}],null,false,1821337741)},[_vm._v(\" \"),_c('VisualScheduleViewer',{attrs:{\"previewMode\":!_vm.can.manipulateCards}}),_vm._v(\" \"),(_vm.isOwner)?_c('b-modal',{attrs:{\"title\":\"Add cards to the schedule\",\"hide-footer\":\"\",\"modal-tall\":\"\",\"size\":\"lg\"},model:{value:(_vm.addCardModal),callback:function ($$v) {_vm.addCardModal=$$v},expression:\"addCardModal\"}},[_c('CardAdder',{on:{\"close-modal\":function($event){return _vm.closeCardModalHAndler()}}})],1):_vm._e(),_vm._v(\" \"),(_vm.isOwner)?_c('b-modal',{attrs:{\"title\":\"Manage patients using this schedule\",\"no-close-on-backdrop\":\"\",\"hide-footer\":\"\"},model:{value:(_vm.patientModal),callback:function ($$v) {_vm.patientModal=$$v},expression:\"patientModal\"}},[_c('PatientManager',{on:{\"close-modal\":function($event){_vm.patientModal = false}}})],1):_vm._e(),_vm._v(\" \"),(_vm.isOwner)?_c('DeviseAuth',{attrs:{\"size\":\"lg\",\"show\":_vm.authModal},on:{\"close-modal\":function($event){_vm.authModal = false}},scopedSlots:_vm._u([{key:\"mobile-image\",fn:function(){return [_c('b-img',{staticClass:\"d-lg-none w-100\",attrs:{\"src\":_vm.imageMobile,\"fluid\":\"\"}})]},proxy:true},{key:\"image\",fn:function(){return [_c('b-img',{staticClass:\"d-none d-lg-block h-100\",attrs:{\"src\":_vm.image,\"fluid\":\"\"}})]},proxy:true}],null,false,979098747)}):_vm._e()],1)],1):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import Vue from 'vue';\nimport {\n AlertPlugin,\n BadgePlugin,\n BootstrapVueIcons,\n CardPlugin,\n ButtonPlugin,\n ImagePlugin,\n InputGroupPlugin,\n FormCheckboxPlugin,\n FormPlugin,\n FormGroupPlugin,\n FormInputPlugin,\n FormRadioPlugin,\n FormSelectPlugin,\n FormTextareaPlugin,\n ListGroupPlugin,\n ModalPlugin,\n FormSpinbuttonPlugin,\n SidebarPlugin,\n TabsPlugin,\n VBTooltip,\n} from 'bootstrap-vue';\nimport 'bootstrap-vue/dist/bootstrap-vue.css';\nimport vSelect from 'vue-select';\nimport 'vue-select/dist/vue-select.css';\nimport VueToast from 'vue-toast-notification';\nimport store from './store';\nimport VisualSchedule from './VisualSchedule.vue';\nimport 'vue-toast-notification/dist/theme-sugar.css';\n\nVue.use(AlertPlugin);\nVue.use(BadgePlugin);\nVue.use(BootstrapVueIcons);\nVue.use(ButtonPlugin);\nVue.use(CardPlugin);\nVue.use(ImagePlugin);\nVue.use(InputGroupPlugin);\nVue.use(FormCheckboxPlugin);\nVue.use(FormPlugin);\nVue.use(FormGroupPlugin);\nVue.use(FormInputPlugin);\nVue.use(FormRadioPlugin);\nVue.use(FormTextareaPlugin);\nVue.use(ModalPlugin);\nVue.use(ListGroupPlugin);\nVue.use(SidebarPlugin);\nVue.use(TabsPlugin);\nVue.use(FormSelectPlugin);\nVue.use(FormSpinbuttonPlugin);\nVue.directive('b-tooltip', VBTooltip);\nVue.use(VueToast);\nVue.component('v-select', vSelect);\n\nexport default (visualScheduleShow) => {\n const props = JSON.parse(visualScheduleShow.getAttribute('data'));\n new Vue({\n store,\n render: (h) => h(VisualSchedule, { props }),\n }).$mount('#visual-schedule-show');\n};\n","module.exports = __webpack_public_path__ + \"media/images/registration-502a6f0c40416938fd4325c3a1fe2e5c.jpg\";","module.exports = __webpack_public_path__ + \"media/images/registration-mobile-632ffa19ad01db3072e677ca4422848a.jpg\";","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js!../../../node_modules/css-loader/dist/cjs.js??ref--3-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--3-2!../../../node_modules/sass-loader/dist/cjs.js??ref--3-3!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DeviseAuth.vue?vue&type=style&index=0&id=729ed8c0&lang=scss&scoped=true&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js!../../../node_modules/css-loader/dist/cjs.js??ref--3-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--3-2!../../../node_modules/sass-loader/dist/cjs.js??ref--3-3!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DeviseAuth.vue?vue&type=style&index=1&lang=scss&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-modal',{attrs:{\"body-class\":\"p-0\",\"size\":\"lg\",\"hide-header\":\"\",\"hide-footer\":\"\"},model:{value:(_vm.visible),callback:function ($$v) {_vm.visible=$$v},expression:\"visible\"}},[_c('b-button',{staticClass:\"position-absolute dark\",staticStyle:{\"top\":\"0\",\"right\":\"0\",\"z-index\":\"99\"},attrs:{\"variant\":\"link\"},on:{\"click\":function($event){_vm.visible = false}}},[_c('b-icon',{attrs:{\"icon\":\"x\"}})],1),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-lg-6 row align-items-end\"},[_vm._t(\"image\",function(){return [_c('b-img',{staticClass:\"d-lg-none w-100\",attrs:{\"src\":_vm.imageMobile,\"fluid\":\"\"}})]}),_vm._v(\" \"),_vm._t(\"mobile-image\",function(){return [_c('b-img',{staticClass:\"d-none d-lg-block h-100 rounded-lg\",attrs:{\"src\":_vm.image,\"fluid\":\"\"}})]})],2),_vm._v(\" \"),_c('div',{staticClass:\"col-lg-6 min-h-100 d-flex\"},[_c('div',{staticClass:\"px-3 pb-3 row align-content-between min-h-100\"},[_c('div',{staticClass:\"col-12\"},[_c('div',{staticClass:\"mb-3 mt-3\"},[_vm._t(\"content\",function(){return [_c('h1',[_vm._v(_vm._s(_vm.heading))])]}),_vm._v(\" \"),_c('b-alert',{attrs:{\"variant\":\"success\",\"dismissible\":\"\",\"show\":_vm.successMsg !== null,\"fade\":\"\"}},[_vm._v(_vm._s(_vm.successMsg))]),_vm._v(\" \"),_c('b-alert',{staticStyle:{\"white-space\":\"pre-line\"},attrs:{\"variant\":\"danger\",\"dismissible\":\"\",\"show\":_vm.error !== null,\"fade\":\"\"}},[_vm._v(_vm._s(_vm.error)+\"\\n \")])],2),_vm._v(\" \"),(!_vm.hideForm)?_c('div',{staticClass:\"mb-3\"},[_c('b-form',{ref:\"form\",on:{\"submit\":function($event){$event.stopPropagation();$event.preventDefault();return _vm.handleSubmit.apply(null, arguments)}}},[_c('b-form-group',[_c('b-form-input',{ref:\"email\",staticClass:\"form-control\",attrs:{\"required\":\"\",\"type\":\"email\",\"state\":_vm.emailValidation,\"validated\":true,\"placeholder\":\"Work email\",\"invalid-feedback\":\"Email is required\"},model:{value:(_vm.email),callback:function ($$v) {_vm.email=(typeof $$v === 'string'? $$v.trim(): $$v)},expression:\"email\"}})],1),_vm._v(\" \"),_c('b-form-group',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.step === 'password'),expression:\"step === 'password'\"}]},[_c('b-form-input',{ref:\"password\",staticClass:\"form-control\",attrs:{\"required\":\"\",\"type\":_vm.passwordVisible ? 'text' : 'password',\"state\":_vm.passwordValidation,\"placeholder\":\"Password\",\"invalid-feedback\":\"Password is required\"},on:{\"keyup\":_vm.checkPasswordResults},model:{value:(_vm.password),callback:function ($$v) {_vm.password=$$v},expression:\"password\"}})],1),_vm._v(\" \"),(_vm.emailValidation && _vm.passwordValidation && _vm.type === 'signup')?_c('b-form-group',[_c('b-form-input',{staticClass:\"form-control\",attrs:{\"required\":\"\",\"type\":_vm.passwordVisible ? 'text' : 'password',\"state\":_vm.passwordConfirmationValidation,\"placeholder\":\"Password confirmation\"},on:{\"keyup\":function($event){_vm.pwcFocused = true}},model:{value:(_vm.passwordConfirmation),callback:function ($$v) {_vm.passwordConfirmation=$$v},expression:\"passwordConfirmation\"}})],1):_vm._e(),_vm._v(\" \"),(\n Object.keys(_vm.passwordResults).length &&\n _vm.step === 'password' &&\n (!_vm.passwordValidation || (_vm.type === 'signup' && !_vm.passwordConfirmationValidation))\n )?_c('div',{staticClass:\"card mt-2\"},[_c('div',{staticClass:\"card-body pt-4\"},[(!_vm.passwordVisible)?_c('b-button',{staticClass:\"position-absolute unfocusable\",staticStyle:{\"top\":\"-5px\",\"right\":\"-8px\"},attrs:{\"variant\":\"link\"},on:{\"click\":function($event){_vm.passwordVisible = true}}},[_c('b-icon',{attrs:{\"icon\":\"eye\"}}),_vm._v(\"\\n Show password\\n \")],1):_c('b-button',{staticClass:\"position-absolute unfocusable\",staticStyle:{\"top\":\"-5px\",\"right\":\"-8px\"},attrs:{\"variant\":\"link\"},on:{\"click\":function($event){_vm.passwordVisible = false}}},[_c('b-icon',{attrs:{\"icon\":\"eye-slash\"}}),_vm._v(\"\\n Hide password\\n \")],1),_vm._v(\" \"),_c('div',{staticClass:\"d-flex flex-row-100 my-2\"},[_c('div',{staticClass:\"password-bar\",class:{\n 'bg-danger': _vm.passwordScore < 0.25,\n 'bg-warning': _vm.passwordScore >= 0.25 && _vm.passwordScore < 1,\n 'bg-success': _vm.passwordScore >= 1,\n }}),_vm._v(\" \"),_c('div',{staticClass:\"password-bar\",class:{\n 'bg-warning': _vm.passwordScore >= 0.5 && _vm.passwordScore < 1,\n 'bg-success': _vm.passwordScore >= 1,\n }}),_vm._v(\" \"),_c('div',{staticClass:\"password-bar\",class:{\n 'bg-warning': _vm.passwordScore >= 0.75 && _vm.passwordScore < 1,\n 'bg-success': _vm.passwordScore >= 1,\n }}),_vm._v(\" \"),_c('div',{staticClass:\"password-bar\",class:{ 'bg-success': _vm.passwordScore >= 1 }})]),_vm._v(\" \"),_c('ul',{staticClass:\"list-unstyled mb-0\"},[_vm._l((_vm.passwordResults),function(v,index){return _c('li',{key:(\"pwr_\" + index),class:v.valid ? 'text-success' : 'text-warning'},[_c('b-icon',{attrs:{\"icon\":v.valid ? 'check2' : 'x'}}),_vm._v(\"\\n \"+_vm._s(v.explanation)+\"\\n \")],1)}),_vm._v(\" \"),(_vm.pwcFocused)?_c('li',{class:{\n 'text-warning': _vm.password !== _vm.passwordConfirmation,\n 'text-success': _vm.password === _vm.passwordConfirmation,\n }},[_c('b-icon',{attrs:{\"icon\":_vm.password === _vm.passwordConfirmation ? 'check2' : 'x'}}),_vm._v(\"\\n \"+_vm._s(_vm.password === _vm.passwordConfirmation ? 'Passwords match' : \"Passwords don't match\")+\"\\n \")],1):_vm._e()],2)],1)]):_vm._e(),_vm._v(\" \"),(_vm.emailValidation && _vm.passwordValidation && _vm.passwordConfirmationValidation && _vm.type === 'signup')?_c('b-form-group',[_c('vue-recaptcha',{ref:\"recaptcha\",attrs:{\"sitekey\":_vm.recaptchaKey,\"loadRecaptchaScript\":true},on:{\"verify\":_vm.onRecaptchaVerified}})],1):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"clearfix\"},[_c('div',{staticClass:\"float-right\"},[(_vm.step === 'email')?_c('b-button',{attrs:{\"disabled\":_vm.emailSubmitted && !_vm.emailValidation},on:{\"click\":_vm.handleNext}},[_vm._v(\"Next\\n \")]):_vm._e()],1)]),_vm._v(\" \"),_c('b-form-group',[_c('b-form-checkbox',{attrs:{\"id\":\"terms-of-use\",\"name\":\"terms-of-use\"},model:{value:(_vm.acceptedTerms),callback:function ($$v) {_vm.acceptedTerms=$$v},expression:\"acceptedTerms\"}},[_vm._v(\"\\n I agree to Ambiki's \"),_c('a',{attrs:{\"href\":_vm.termsOfServicePath}},[_vm._v(\"Terms of Service\")]),_vm._v(\" and\\n \"),_c('a',{attrs:{\"href\":_vm.privacyPath}},[_vm._v(\"Privacy Policy\")])]),_vm._v(\" \"),_c('b-form-checkbox',{attrs:{\"id\":\"news-letter\",\"name\":\"news-letter\"},model:{value:(_vm.newsLetterSubscribed),callback:function ($$v) {_vm.newsLetterSubscribed=$$v},expression:\"newsLetterSubscribed\"}},[_vm._v(\"\\n Subscribe to Ambiki's newsletter\\n \")])],1),_vm._v(\" \"),(_vm.canSubmit)?_c('b-button',{attrs:{\"type\":\"submit\",\"variant\":\"primary\",\"disabled\":_vm.submitting}},[_vm._v(_vm._s(_vm.type[0].toUpperCase() + _vm.type.slice(1))+\"\\n \")]):_vm._e()],1)],1):_vm._e()]),_vm._v(\" \"),_c('b-form-group',{staticClass:\"col-12 mt-auto\"},[_c('ul',{staticClass:\"list-unstyled mt-auto\"},[(_vm.type === 'signup')?_c('li',[_c('a',{attrs:{\"href\":\"javascript:void(0)\"},on:{\"click\":function($event){_vm.type = 'login'}}},[_vm._v(\"Login\")])]):_c('li',[_c('a',{attrs:{\"href\":\"javascript:void(0)\"},on:{\"click\":function($event){_vm.type = 'signup'}}},[_vm._v(\"Signup\")])]),_vm._v(\" \"),(_vm.type === 'login')?_c('li',[_c('a',{attrs:{\"href\":\"/users/password/new\"}},[_vm._v(\"Forgot your password?\")])]):_vm._e(),_vm._v(\" \"),_c('li',[_c('a',{attrs:{\"href\":\"/users/confirmation/new\"}},[_vm._v(\"Didn't receive confirmation instructions?\")])])])])],1)])])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","function _extends() {\n _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n\n return _extends.apply(this, arguments);\n}\n\nvar defer = function defer() {\n var state = false; // Resolved or not\n\n var callbacks = [];\n\n var resolve = function resolve(val) {\n if (state) {\n return;\n }\n\n state = true;\n\n for (var i = 0, len = callbacks.length; i < len; i++) {\n callbacks[i](val);\n }\n };\n\n var then = function then(cb) {\n if (!state) {\n callbacks.push(cb);\n return;\n }\n\n cb();\n };\n\n var deferred = {\n resolved: function resolved() {\n return state;\n },\n resolve: resolve,\n promise: {\n then: then\n }\n };\n return deferred;\n};\n\nvar ownProp = Object.prototype.hasOwnProperty;\n\nfunction createRecaptcha() {\n var deferred = defer();\n return {\n notify: function notify() {\n deferred.resolve();\n },\n wait: function wait() {\n return deferred.promise;\n },\n render: function render(ele, options, cb) {\n this.wait().then(function () {\n cb(window.grecaptcha.render(ele, options));\n });\n },\n reset: function reset(widgetId) {\n if (typeof widgetId === 'undefined') {\n return;\n }\n\n this.assertLoaded();\n this.wait().then(function () {\n return window.grecaptcha.reset(widgetId);\n });\n },\n execute: function execute(widgetId) {\n if (typeof widgetId === 'undefined') {\n return;\n }\n\n this.assertLoaded();\n this.wait().then(function () {\n return window.grecaptcha.execute(widgetId);\n });\n },\n checkRecaptchaLoad: function checkRecaptchaLoad() {\n if (ownProp.call(window, 'grecaptcha') && ownProp.call(window.grecaptcha, 'render')) {\n this.notify();\n }\n },\n assertLoaded: function assertLoaded() {\n if (!deferred.resolved()) {\n throw new Error('ReCAPTCHA has not been loaded');\n }\n }\n };\n}\n\nvar recaptcha = createRecaptcha();\n\nif (typeof window !== 'undefined') {\n window.vueRecaptchaApiLoaded = recaptcha.notify;\n}\n\nvar VueRecaptcha = {\n name: 'VueRecaptcha',\n props: {\n sitekey: {\n type: String,\n required: true\n },\n theme: {\n type: String\n },\n badge: {\n type: String\n },\n type: {\n type: String\n },\n size: {\n type: String\n },\n tabindex: {\n type: String\n },\n loadRecaptchaScript: {\n type: Boolean,\n \"default\": false\n },\n recaptchaScriptId: {\n type: String,\n \"default\": '__RECAPTCHA_SCRIPT'\n },\n recaptchaHost: {\n type: String,\n \"default\": 'www.google.com'\n },\n language: {\n type: String,\n \"default\": ''\n }\n },\n beforeMount: function beforeMount() {\n if (this.loadRecaptchaScript) {\n if (!document.getElementById(this.recaptchaScriptId)) {\n // Note: vueRecaptchaApiLoaded load callback name is per the latest documentation\n var script = document.createElement('script');\n script.id = this.recaptchaScriptId;\n script.src = \"https://\" + this.recaptchaHost + \"/recaptcha/api.js?onload=vueRecaptchaApiLoaded&render=explicit&hl=\" + this.language;\n script.async = true;\n script.defer = true;\n document.head.appendChild(script);\n }\n }\n },\n mounted: function mounted() {\n var _this = this;\n\n recaptcha.checkRecaptchaLoad();\n\n var opts = _extends({}, this.$props, {\n callback: this.emitVerify,\n 'expired-callback': this.emitExpired,\n 'error-callback': this.emitError\n });\n\n var container = this.$slots[\"default\"] ? this.$el.children[0] : this.$el;\n recaptcha.render(container, opts, function (id) {\n _this.$widgetId = id;\n\n _this.$emit('render', id);\n });\n },\n methods: {\n reset: function reset() {\n recaptcha.reset(this.$widgetId);\n },\n execute: function execute() {\n recaptcha.execute(this.$widgetId);\n },\n emitVerify: function emitVerify(response) {\n this.$emit('verify', response);\n },\n emitExpired: function emitExpired() {\n this.$emit('expired');\n },\n emitError: function emitError() {\n this.$emit('error');\n }\n },\n render: function render(h) {\n return h('div', {}, this.$slots[\"default\"]);\n }\n};\nexport default VueRecaptcha;","\n\n\n\n\n\n\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DeviseAuth.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DeviseAuth.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./DeviseAuth.vue?vue&type=template&id=729ed8c0&scoped=true&\"\nimport script from \"./DeviseAuth.vue?vue&type=script&lang=js&\"\nexport * from \"./DeviseAuth.vue?vue&type=script&lang=js&\"\nimport style0 from \"./DeviseAuth.vue?vue&type=style&index=0&id=729ed8c0&lang=scss&scoped=true&\"\nimport style1 from \"./DeviseAuth.vue?vue&type=style&index=1&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"729ed8c0\",\n null\n \n)\n\nexport default component.exports","module.exports = __webpack_public_path__ + \"media/images/visual-schedule-login-528f682b55c7db9695983627d0f9e5c8.jpg\";","module.exports = __webpack_public_path__ + \"media/images/visual-schedule-login-mobile-f88e400bfb6d7945c7d6bf4f756bd869.jpg\";","/* eslint-disable no-param-reassign */\nimport Vue from 'vue';\nimport Vuex from 'vuex';\n\nimport state from './state';\nimport mutations from './mutations';\nimport actions from './actions';\nimport getters from './getters';\n\nVue.use(Vuex);\n\nexport default new Vuex.Store({\n state,\n mutations,\n actions,\n getters,\n});\n","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js!../../../node_modules/css-loader/dist/cjs.js??ref--3-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--3-2!../../../node_modules/sass-loader/dist/cjs.js??ref--3-3!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Breadcrumb.vue?vue&type=style&index=0&id=863adff4&lang=scss&scoped=true&\"","function _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nimport { Vue, mergeData } from '../../vue';\nimport { NAME_IMG } from '../../constants/components';\nimport { PROP_TYPE_ARRAY_STRING, PROP_TYPE_BOOLEAN, PROP_TYPE_BOOLEAN_STRING, PROP_TYPE_NUMBER_STRING, PROP_TYPE_STRING } from '../../constants/props';\nimport { concat } from '../../utils/array';\nimport { identity } from '../../utils/identity';\nimport { isString } from '../../utils/inspect';\nimport { toInteger } from '../../utils/number';\nimport { makeProp, makePropsConfigurable } from '../../utils/props';\nimport { toString } from '../../utils/string'; // --- Constants --\n// Blank image with fill template\n\nvar BLANK_TEMPLATE = '' + '' + ''; // --- Helper methods ---\n\nvar makeBlankImgSrc = function makeBlankImgSrc(width, height, color) {\n var src = encodeURIComponent(BLANK_TEMPLATE.replace('%{w}', toString(width)).replace('%{h}', toString(height)).replace('%{f}', color));\n return \"data:image/svg+xml;charset=UTF-8,\".concat(src);\n}; // --- Props ---\n\n\nexport var props = makePropsConfigurable({\n alt: makeProp(PROP_TYPE_STRING),\n blank: makeProp(PROP_TYPE_BOOLEAN, false),\n blankColor: makeProp(PROP_TYPE_STRING, 'transparent'),\n block: makeProp(PROP_TYPE_BOOLEAN, false),\n center: makeProp(PROP_TYPE_BOOLEAN, false),\n fluid: makeProp(PROP_TYPE_BOOLEAN, false),\n // Gives fluid images class `w-100` to make them grow to fit container\n fluidGrow: makeProp(PROP_TYPE_BOOLEAN, false),\n height: makeProp(PROP_TYPE_NUMBER_STRING),\n left: makeProp(PROP_TYPE_BOOLEAN, false),\n right: makeProp(PROP_TYPE_BOOLEAN, false),\n // Possible values:\n // `false`: no rounding of corners\n // `true`: slightly rounded corners\n // 'top': top corners rounded\n // 'right': right corners rounded\n // 'bottom': bottom corners rounded\n // 'left': left corners rounded\n // 'circle': circle/oval\n // '0': force rounding off\n rounded: makeProp(PROP_TYPE_BOOLEAN_STRING, false),\n sizes: makeProp(PROP_TYPE_ARRAY_STRING),\n src: makeProp(PROP_TYPE_STRING),\n srcset: makeProp(PROP_TYPE_ARRAY_STRING),\n thumbnail: makeProp(PROP_TYPE_BOOLEAN, false),\n width: makeProp(PROP_TYPE_NUMBER_STRING)\n}, NAME_IMG); // --- Main component ---\n// @vue/component\n\nexport var BImg = /*#__PURE__*/Vue.extend({\n name: NAME_IMG,\n functional: true,\n props: props,\n render: function render(h, _ref) {\n var _class;\n\n var props = _ref.props,\n data = _ref.data;\n var alt = props.alt,\n src = props.src,\n block = props.block,\n fluidGrow = props.fluidGrow,\n rounded = props.rounded;\n var width = toInteger(props.width) || null;\n var height = toInteger(props.height) || null;\n var align = null;\n var srcset = concat(props.srcset).filter(identity).join(',');\n var sizes = concat(props.sizes).filter(identity).join(',');\n\n if (props.blank) {\n if (!height && width) {\n height = width;\n } else if (!width && height) {\n width = height;\n }\n\n if (!width && !height) {\n width = 1;\n height = 1;\n } // Make a blank SVG image\n\n\n src = makeBlankImgSrc(width, height, props.blankColor || 'transparent'); // Disable srcset and sizes\n\n srcset = null;\n sizes = null;\n }\n\n if (props.left) {\n align = 'float-left';\n } else if (props.right) {\n align = 'float-right';\n } else if (props.center) {\n align = 'mx-auto';\n block = true;\n }\n\n return h('img', mergeData(data, {\n attrs: {\n src: src,\n alt: alt,\n width: width ? toString(width) : null,\n height: height ? toString(height) : null,\n srcset: srcset || null,\n sizes: sizes || null\n },\n class: (_class = {\n 'img-thumbnail': props.thumbnail,\n 'img-fluid': props.fluid || fluidGrow,\n 'w-100': fluidGrow,\n rounded: rounded === '' || rounded === true\n }, _defineProperty(_class, \"rounded-\".concat(rounded), isString(rounded) && rounded !== ''), _defineProperty(_class, align, align), _defineProperty(_class, 'd-block', block), _class)\n }));\n }\n});","import { Vue, mergeData } from '../../vue';\nimport { NAME_INPUT_GROUP_ADDON } from '../../constants/components';\nimport { PROP_TYPE_BOOLEAN, PROP_TYPE_STRING } from '../../constants/props';\nimport { makeProp, makePropsConfigurable } from '../../utils/props';\nimport { BInputGroupText } from './input-group-text'; // --- Props ---\n\nexport var props = makePropsConfigurable({\n append: makeProp(PROP_TYPE_BOOLEAN, false),\n id: makeProp(PROP_TYPE_STRING),\n isText: makeProp(PROP_TYPE_BOOLEAN, false),\n tag: makeProp(PROP_TYPE_STRING, 'div')\n}, NAME_INPUT_GROUP_ADDON); // --- Main component ---\n// @vue/component\n\nexport var BInputGroupAddon = /*#__PURE__*/Vue.extend({\n name: NAME_INPUT_GROUP_ADDON,\n functional: true,\n props: props,\n render: function render(h, _ref) {\n var props = _ref.props,\n data = _ref.data,\n children = _ref.children;\n var append = props.append;\n return h(props.tag, mergeData(data, {\n class: {\n 'input-group-append': append,\n 'input-group-prepend': !append\n },\n attrs: {\n id: props.id\n }\n }), props.isText ? [h(BInputGroupText, children)] : children);\n }\n});","function ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n enumerableOnly && (symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n })), keys.push.apply(keys, symbols);\n }\n\n return keys;\n}\n\nfunction _objectSpread(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = null != arguments[i] ? arguments[i] : {};\n i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {\n _defineProperty(target, key, source[key]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n\n return target;\n}\n\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nimport { Vue, mergeData } from '../../vue';\nimport { NAME_CARD_IMG } from '../../constants/components';\nimport { PROP_TYPE_BOOLEAN } from '../../constants/props';\nimport { pick, sortKeys } from '../../utils/object';\nimport { makeProp, makePropsConfigurable } from '../../utils/props';\nimport { props as BImgProps } from '../image/img'; // --- Props ---\n\nexport var props = makePropsConfigurable(sortKeys(_objectSpread(_objectSpread({}, pick(BImgProps, ['src', 'alt', 'width', 'height', 'left', 'right'])), {}, {\n bottom: makeProp(PROP_TYPE_BOOLEAN, false),\n end: makeProp(PROP_TYPE_BOOLEAN, false),\n start: makeProp(PROP_TYPE_BOOLEAN, false),\n top: makeProp(PROP_TYPE_BOOLEAN, false)\n})), NAME_CARD_IMG); // --- Main component ---\n// @vue/component\n\nexport var BCardImg = /*#__PURE__*/Vue.extend({\n name: NAME_CARD_IMG,\n functional: true,\n props: props,\n render: function render(h, _ref) {\n var props = _ref.props,\n data = _ref.data;\n var src = props.src,\n alt = props.alt,\n width = props.width,\n height = props.height;\n var baseClass = 'card-img';\n\n if (props.top) {\n baseClass += '-top';\n } else if (props.right || props.end) {\n baseClass += '-right';\n } else if (props.bottom) {\n baseClass += '-bottom';\n } else if (props.left || props.start) {\n baseClass += '-left';\n }\n\n return h('img', mergeData(data, {\n class: baseClass,\n attrs: {\n src: src,\n alt: alt,\n width: width,\n height: height\n }\n }));\n }\n});","import { Vue } from '../vue';\nimport { NAME_CARD } from '../constants/components';\nimport { PROP_TYPE_STRING } from '../constants/props';\nimport { makeProp, makePropsConfigurable } from '../utils/props'; // --- Props ---\n\nexport var props = makePropsConfigurable({\n bgVariant: makeProp(PROP_TYPE_STRING),\n borderVariant: makeProp(PROP_TYPE_STRING),\n tag: makeProp(PROP_TYPE_STRING, 'div'),\n textVariant: makeProp(PROP_TYPE_STRING)\n}, NAME_CARD); // --- Mixin ---\n// @vue/component\n\nexport var cardMixin = Vue.extend({\n props: props\n});","import { Vue, mergeData } from '../../vue';\nimport { NAME_INPUT_GROUP_TEXT } from '../../constants/components';\nimport { PROP_TYPE_STRING } from '../../constants/props';\nimport { makeProp, makePropsConfigurable } from '../../utils/props'; // --- Props ---\n\nexport var props = makePropsConfigurable({\n tag: makeProp(PROP_TYPE_STRING, 'div')\n}, NAME_INPUT_GROUP_TEXT); // --- Main component ---\n// @vue/component\n\nexport var BInputGroupText = /*#__PURE__*/Vue.extend({\n name: NAME_INPUT_GROUP_TEXT,\n functional: true,\n props: props,\n render: function render(h, _ref) {\n var props = _ref.props,\n data = _ref.data,\n children = _ref.children;\n return h(props.tag, mergeData(data, {\n staticClass: 'input-group-text'\n }), children);\n }\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n(function webpackUniversalModuleDefinition(root, factory) {\n if ((typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object' && (typeof module === \"undefined\" ? \"undefined\" : _typeof(module)) === 'object') module.exports = factory(require(\"sortablejs\"));else if (typeof define === 'function' && define.amd) define([\"sortablejs\"], factory);else if ((typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) === 'object') exports[\"vuedraggable\"] = factory(require(\"sortablejs\"));else root[\"vuedraggable\"] = factory(root[\"Sortable\"]);\n})(typeof self !== 'undefined' ? self : this, function (__WEBPACK_EXTERNAL_MODULE_a352__) {\n return (\n /******/\n function (modules) {\n // webpackBootstrap\n\n /******/\n // The module cache\n\n /******/\n var installedModules = {};\n /******/\n\n /******/\n // The require function\n\n /******/\n\n function __webpack_require__(moduleId) {\n /******/\n\n /******/\n // Check if module is in cache\n\n /******/\n if (installedModules[moduleId]) {\n /******/\n return installedModules[moduleId].exports;\n /******/\n }\n /******/\n // Create a new module (and put it into the cache)\n\n /******/\n\n\n var module = installedModules[moduleId] = {\n /******/\n i: moduleId,\n\n /******/\n l: false,\n\n /******/\n exports: {}\n /******/\n\n };\n /******/\n\n /******/\n // Execute the module function\n\n /******/\n\n modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n /******/\n\n /******/\n // Flag the module as loaded\n\n /******/\n\n module.l = true;\n /******/\n\n /******/\n // Return the exports of the module\n\n /******/\n\n return module.exports;\n /******/\n }\n /******/\n\n /******/\n\n /******/\n // expose the modules object (__webpack_modules__)\n\n /******/\n\n\n __webpack_require__.m = modules;\n /******/\n\n /******/\n // expose the module cache\n\n /******/\n\n __webpack_require__.c = installedModules;\n /******/\n\n /******/\n // define getter function for harmony exports\n\n /******/\n\n __webpack_require__.d = function (exports, name, getter) {\n /******/\n if (!__webpack_require__.o(exports, name)) {\n /******/\n Object.defineProperty(exports, name, {\n enumerable: true,\n get: getter\n });\n /******/\n }\n /******/\n\n };\n /******/\n\n /******/\n // define __esModule on exports\n\n /******/\n\n\n __webpack_require__.r = function (exports) {\n /******/\n if (typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n /******/\n Object.defineProperty(exports, Symbol.toStringTag, {\n value: 'Module'\n });\n /******/\n }\n /******/\n\n\n Object.defineProperty(exports, '__esModule', {\n value: true\n });\n /******/\n };\n /******/\n\n /******/\n // create a fake namespace object\n\n /******/\n // mode & 1: value is a module id, require it\n\n /******/\n // mode & 2: merge all properties of value into the ns\n\n /******/\n // mode & 4: return value when already ns object\n\n /******/\n // mode & 8|1: behave like require\n\n /******/\n\n\n __webpack_require__.t = function (value, mode) {\n /******/\n if (mode & 1) value = __webpack_require__(value);\n /******/\n\n if (mode & 8) return value;\n /******/\n\n if (mode & 4 && _typeof(value) === 'object' && value && value.__esModule) return value;\n /******/\n\n var ns = Object.create(null);\n /******/\n\n __webpack_require__.r(ns);\n /******/\n\n\n Object.defineProperty(ns, 'default', {\n enumerable: true,\n value: value\n });\n /******/\n\n if (mode & 2 && typeof value != 'string') for (var key in value) {\n __webpack_require__.d(ns, key, function (key) {\n return value[key];\n }.bind(null, key));\n }\n /******/\n\n return ns;\n /******/\n };\n /******/\n\n /******/\n // getDefaultExport function for compatibility with non-harmony modules\n\n /******/\n\n\n __webpack_require__.n = function (module) {\n /******/\n var getter = module && module.__esModule ?\n /******/\n function getDefault() {\n return module['default'];\n } :\n /******/\n function getModuleExports() {\n return module;\n };\n /******/\n\n __webpack_require__.d(getter, 'a', getter);\n /******/\n\n\n return getter;\n /******/\n };\n /******/\n\n /******/\n // Object.prototype.hasOwnProperty.call\n\n /******/\n\n\n __webpack_require__.o = function (object, property) {\n return Object.prototype.hasOwnProperty.call(object, property);\n };\n /******/\n\n /******/\n // __webpack_public_path__\n\n /******/\n\n\n __webpack_require__.p = \"\";\n /******/\n\n /******/\n\n /******/\n // Load entry module and return exports\n\n /******/\n\n return __webpack_require__(__webpack_require__.s = \"fb15\");\n /******/\n }\n /************************************************************************/\n\n /******/\n ({\n /***/\n \"01f9\":\n /***/\n function f9(module, exports, __webpack_require__) {\n \"use strict\";\n\n var LIBRARY = __webpack_require__(\"2d00\");\n\n var $export = __webpack_require__(\"5ca1\");\n\n var redefine = __webpack_require__(\"2aba\");\n\n var hide = __webpack_require__(\"32e9\");\n\n var Iterators = __webpack_require__(\"84f2\");\n\n var $iterCreate = __webpack_require__(\"41a0\");\n\n var setToStringTag = __webpack_require__(\"7f20\");\n\n var getPrototypeOf = __webpack_require__(\"38fd\");\n\n var ITERATOR = __webpack_require__(\"2b4c\")('iterator');\n\n var BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next`\n\n var FF_ITERATOR = '@@iterator';\n var KEYS = 'keys';\n var VALUES = 'values';\n\n var returnThis = function returnThis() {\n return this;\n };\n\n module.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) {\n $iterCreate(Constructor, NAME, next);\n\n var getMethod = function getMethod(kind) {\n if (!BUGGY && kind in proto) return proto[kind];\n\n switch (kind) {\n case KEYS:\n return function keys() {\n return new Constructor(this, kind);\n };\n\n case VALUES:\n return function values() {\n return new Constructor(this, kind);\n };\n }\n\n return function entries() {\n return new Constructor(this, kind);\n };\n };\n\n var TAG = NAME + ' Iterator';\n var DEF_VALUES = DEFAULT == VALUES;\n var VALUES_BUG = false;\n var proto = Base.prototype;\n var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT];\n var $default = $native || getMethod(DEFAULT);\n var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined;\n var $anyNative = NAME == 'Array' ? proto.entries || $native : $native;\n var methods, key, IteratorPrototype; // Fix native\n\n if ($anyNative) {\n IteratorPrototype = getPrototypeOf($anyNative.call(new Base()));\n\n if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) {\n // Set @@toStringTag to native iterators\n setToStringTag(IteratorPrototype, TAG, true); // fix for some old engines\n\n if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis);\n }\n } // fix Array#{values, @@iterator}.name in V8 / FF\n\n\n if (DEF_VALUES && $native && $native.name !== VALUES) {\n VALUES_BUG = true;\n\n $default = function values() {\n return $native.call(this);\n };\n } // Define iterator\n\n\n if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) {\n hide(proto, ITERATOR, $default);\n } // Plug for library\n\n\n Iterators[NAME] = $default;\n Iterators[TAG] = returnThis;\n\n if (DEFAULT) {\n methods = {\n values: DEF_VALUES ? $default : getMethod(VALUES),\n keys: IS_SET ? $default : getMethod(KEYS),\n entries: $entries\n };\n if (FORCED) for (key in methods) {\n if (!(key in proto)) redefine(proto, key, methods[key]);\n } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);\n }\n\n return methods;\n };\n /***/\n\n },\n\n /***/\n \"02f4\":\n /***/\n function f4(module, exports, __webpack_require__) {\n var toInteger = __webpack_require__(\"4588\");\n\n var defined = __webpack_require__(\"be13\"); // true -> String#at\n // false -> String#codePointAt\n\n\n module.exports = function (TO_STRING) {\n return function (that, pos) {\n var s = String(defined(that));\n var i = toInteger(pos);\n var l = s.length;\n var a, b;\n if (i < 0 || i >= l) return TO_STRING ? '' : undefined;\n a = s.charCodeAt(i);\n return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff ? TO_STRING ? s.charAt(i) : a : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;\n };\n };\n /***/\n\n },\n\n /***/\n \"0390\":\n /***/\n function _(module, exports, __webpack_require__) {\n \"use strict\";\n\n var at = __webpack_require__(\"02f4\")(true); // `AdvanceStringIndex` abstract operation\n // https://tc39.github.io/ecma262/#sec-advancestringindex\n\n\n module.exports = function (S, index, unicode) {\n return index + (unicode ? at(S, index).length : 1);\n };\n /***/\n\n },\n\n /***/\n \"0bfb\":\n /***/\n function bfb(module, exports, __webpack_require__) {\n \"use strict\"; // 21.2.5.3 get RegExp.prototype.flags\n\n var anObject = __webpack_require__(\"cb7c\");\n\n module.exports = function () {\n var that = anObject(this);\n var result = '';\n if (that.global) result += 'g';\n if (that.ignoreCase) result += 'i';\n if (that.multiline) result += 'm';\n if (that.unicode) result += 'u';\n if (that.sticky) result += 'y';\n return result;\n };\n /***/\n\n },\n\n /***/\n \"0d58\":\n /***/\n function d58(module, exports, __webpack_require__) {\n // 19.1.2.14 / 15.2.3.14 Object.keys(O)\n var $keys = __webpack_require__(\"ce10\");\n\n var enumBugKeys = __webpack_require__(\"e11e\");\n\n module.exports = Object.keys || function keys(O) {\n return $keys(O, enumBugKeys);\n };\n /***/\n\n },\n\n /***/\n \"1495\":\n /***/\n function _(module, exports, __webpack_require__) {\n var dP = __webpack_require__(\"86cc\");\n\n var anObject = __webpack_require__(\"cb7c\");\n\n var getKeys = __webpack_require__(\"0d58\");\n\n module.exports = __webpack_require__(\"9e1e\") ? Object.defineProperties : function defineProperties(O, Properties) {\n anObject(O);\n var keys = getKeys(Properties);\n var length = keys.length;\n var i = 0;\n var P;\n\n while (length > i) {\n dP.f(O, P = keys[i++], Properties[P]);\n }\n\n return O;\n };\n /***/\n },\n\n /***/\n \"214f\":\n /***/\n function f(module, exports, __webpack_require__) {\n \"use strict\";\n\n __webpack_require__(\"b0c5\");\n\n var redefine = __webpack_require__(\"2aba\");\n\n var hide = __webpack_require__(\"32e9\");\n\n var fails = __webpack_require__(\"79e5\");\n\n var defined = __webpack_require__(\"be13\");\n\n var wks = __webpack_require__(\"2b4c\");\n\n var regexpExec = __webpack_require__(\"520a\");\n\n var SPECIES = wks('species');\n var REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {\n // #replace needs built-in support for named groups.\n // #match works fine because it just return the exec results, even if it has\n // a \"grops\" property.\n var re = /./;\n\n re.exec = function () {\n var result = [];\n result.groups = {\n a: '7'\n };\n return result;\n };\n\n return ''.replace(re, '$') !== '7';\n });\n\n var SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = function () {\n // Chrome 51 has a buggy \"split\" implementation when RegExp#exec !== nativeExec\n var re = /(?:)/;\n var originalExec = re.exec;\n\n re.exec = function () {\n return originalExec.apply(this, arguments);\n };\n\n var result = 'ab'.split(re);\n return result.length === 2 && result[0] === 'a' && result[1] === 'b';\n }();\n\n module.exports = function (KEY, length, exec) {\n var SYMBOL = wks(KEY);\n var DELEGATES_TO_SYMBOL = !fails(function () {\n // String methods call symbol-named RegEp methods\n var O = {};\n\n O[SYMBOL] = function () {\n return 7;\n };\n\n return ''[KEY](O) != 7;\n });\n var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL ? !fails(function () {\n // Symbol-named RegExp methods call .exec\n var execCalled = false;\n var re = /a/;\n\n re.exec = function () {\n execCalled = true;\n return null;\n };\n\n if (KEY === 'split') {\n // RegExp[@@split] doesn't call the regex's exec method, but first creates\n // a new one. We need to return the patched regex when creating the new one.\n re.constructor = {};\n\n re.constructor[SPECIES] = function () {\n return re;\n };\n }\n\n re[SYMBOL]('');\n return !execCalled;\n }) : undefined;\n\n if (!DELEGATES_TO_SYMBOL || !DELEGATES_TO_EXEC || KEY === 'replace' && !REPLACE_SUPPORTS_NAMED_GROUPS || KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC) {\n var nativeRegExpMethod = /./[SYMBOL];\n var fns = exec(defined, SYMBOL, ''[KEY], function maybeCallNative(nativeMethod, regexp, str, arg2, forceStringMethod) {\n if (regexp.exec === regexpExec) {\n if (DELEGATES_TO_SYMBOL && !forceStringMethod) {\n // The native String method already delegates to @@method (this\n // polyfilled function), leasing to infinite recursion.\n // We avoid it by directly calling the native @@method method.\n return {\n done: true,\n value: nativeRegExpMethod.call(regexp, str, arg2)\n };\n }\n\n return {\n done: true,\n value: nativeMethod.call(str, regexp, arg2)\n };\n }\n\n return {\n done: false\n };\n });\n var strfn = fns[0];\n var rxfn = fns[1];\n redefine(String.prototype, KEY, strfn);\n hide(RegExp.prototype, SYMBOL, length == 2 // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue)\n // 21.2.5.11 RegExp.prototype[@@split](string, limit)\n ? function (string, arg) {\n return rxfn.call(string, this, arg);\n } // 21.2.5.6 RegExp.prototype[@@match](string)\n // 21.2.5.9 RegExp.prototype[@@search](string)\n : function (string) {\n return rxfn.call(string, this);\n });\n }\n };\n /***/\n\n },\n\n /***/\n \"230e\":\n /***/\n function e(module, exports, __webpack_require__) {\n var isObject = __webpack_require__(\"d3f4\");\n\n var document = __webpack_require__(\"7726\").document; // typeof document.createElement is 'object' in old IE\n\n\n var is = isObject(document) && isObject(document.createElement);\n\n module.exports = function (it) {\n return is ? document.createElement(it) : {};\n };\n /***/\n\n },\n\n /***/\n \"23c6\":\n /***/\n function c6(module, exports, __webpack_require__) {\n // getting tag from 19.1.3.6 Object.prototype.toString()\n var cof = __webpack_require__(\"2d95\");\n\n var TAG = __webpack_require__(\"2b4c\")('toStringTag'); // ES3 wrong here\n\n\n var ARG = cof(function () {\n return arguments;\n }()) == 'Arguments'; // fallback for IE11 Script Access Denied error\n\n var tryGet = function tryGet(it, key) {\n try {\n return it[key];\n } catch (e) {\n /* empty */\n }\n };\n\n module.exports = function (it) {\n var O, T, B;\n return it === undefined ? 'Undefined' : it === null ? 'Null' // @@toStringTag case\n : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T // builtinTag case\n : ARG ? cof(O) // ES3 arguments fallback\n : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B;\n };\n /***/\n\n },\n\n /***/\n \"2621\":\n /***/\n function _(module, exports) {\n exports.f = Object.getOwnPropertySymbols;\n /***/\n },\n\n /***/\n \"2aba\":\n /***/\n function aba(module, exports, __webpack_require__) {\n var global = __webpack_require__(\"7726\");\n\n var hide = __webpack_require__(\"32e9\");\n\n var has = __webpack_require__(\"69a8\");\n\n var SRC = __webpack_require__(\"ca5a\")('src');\n\n var $toString = __webpack_require__(\"fa5b\");\n\n var TO_STRING = 'toString';\n var TPL = ('' + $toString).split(TO_STRING);\n\n __webpack_require__(\"8378\").inspectSource = function (it) {\n return $toString.call(it);\n };\n\n (module.exports = function (O, key, val, safe) {\n var isFunction = typeof val == 'function';\n if (isFunction) has(val, 'name') || hide(val, 'name', key);\n if (O[key] === val) return;\n if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key)));\n\n if (O === global) {\n O[key] = val;\n } else if (!safe) {\n delete O[key];\n hide(O, key, val);\n } else if (O[key]) {\n O[key] = val;\n } else {\n hide(O, key, val);\n } // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n\n })(Function.prototype, TO_STRING, function toString() {\n return typeof this == 'function' && this[SRC] || $toString.call(this);\n });\n /***/\n },\n\n /***/\n \"2aeb\":\n /***/\n function aeb(module, exports, __webpack_require__) {\n // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\n var anObject = __webpack_require__(\"cb7c\");\n\n var dPs = __webpack_require__(\"1495\");\n\n var enumBugKeys = __webpack_require__(\"e11e\");\n\n var IE_PROTO = __webpack_require__(\"613b\")('IE_PROTO');\n\n var Empty = function Empty() {\n /* empty */\n };\n\n var PROTOTYPE = 'prototype'; // Create object with fake `null` prototype: use iframe Object with cleared prototype\n\n var _createDict = function createDict() {\n // Thrash, waste and sodomy: IE GC bug\n var iframe = __webpack_require__(\"230e\")('iframe');\n\n var i = enumBugKeys.length;\n var lt = '<';\n var gt = '>';\n var iframeDocument;\n iframe.style.display = 'none';\n\n __webpack_require__(\"fab2\").appendChild(iframe);\n\n iframe.src = 'javascript:'; // eslint-disable-line no-script-url\n // createDict = iframe.contentWindow.Object;\n // html.removeChild(iframe);\n\n iframeDocument = iframe.contentWindow.document;\n iframeDocument.open();\n iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);\n iframeDocument.close();\n _createDict = iframeDocument.F;\n\n while (i--) {\n delete _createDict[PROTOTYPE][enumBugKeys[i]];\n }\n\n return _createDict();\n };\n\n module.exports = Object.create || function create(O, Properties) {\n var result;\n\n if (O !== null) {\n Empty[PROTOTYPE] = anObject(O);\n result = new Empty();\n Empty[PROTOTYPE] = null; // add \"__proto__\" for Object.getPrototypeOf polyfill\n\n result[IE_PROTO] = O;\n } else result = _createDict();\n\n return Properties === undefined ? result : dPs(result, Properties);\n };\n /***/\n\n },\n\n /***/\n \"2b4c\":\n /***/\n function b4c(module, exports, __webpack_require__) {\n var store = __webpack_require__(\"5537\")('wks');\n\n var uid = __webpack_require__(\"ca5a\");\n\n var _Symbol = __webpack_require__(\"7726\").Symbol;\n\n var USE_SYMBOL = typeof _Symbol == 'function';\n\n var $exports = module.exports = function (name) {\n return store[name] || (store[name] = USE_SYMBOL && _Symbol[name] || (USE_SYMBOL ? _Symbol : uid)('Symbol.' + name));\n };\n\n $exports.store = store;\n /***/\n },\n\n /***/\n \"2d00\":\n /***/\n function d00(module, exports) {\n module.exports = false;\n /***/\n },\n\n /***/\n \"2d95\":\n /***/\n function d95(module, exports) {\n var toString = {}.toString;\n\n module.exports = function (it) {\n return toString.call(it).slice(8, -1);\n };\n /***/\n\n },\n\n /***/\n \"2fdb\":\n /***/\n function fdb(module, exports, __webpack_require__) {\n \"use strict\"; // 21.1.3.7 String.prototype.includes(searchString, position = 0)\n\n var $export = __webpack_require__(\"5ca1\");\n\n var context = __webpack_require__(\"d2c8\");\n\n var INCLUDES = 'includes';\n $export($export.P + $export.F * __webpack_require__(\"5147\")(INCLUDES), 'String', {\n includes: function includes(searchString\n /* , position = 0 */\n ) {\n return !!~context(this, searchString, INCLUDES).indexOf(searchString, arguments.length > 1 ? arguments[1] : undefined);\n }\n });\n /***/\n },\n\n /***/\n \"32e9\":\n /***/\n function e9(module, exports, __webpack_require__) {\n var dP = __webpack_require__(\"86cc\");\n\n var createDesc = __webpack_require__(\"4630\");\n\n module.exports = __webpack_require__(\"9e1e\") ? function (object, key, value) {\n return dP.f(object, key, createDesc(1, value));\n } : function (object, key, value) {\n object[key] = value;\n return object;\n };\n /***/\n },\n\n /***/\n \"38fd\":\n /***/\n function fd(module, exports, __webpack_require__) {\n // 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)\n var has = __webpack_require__(\"69a8\");\n\n var toObject = __webpack_require__(\"4bf8\");\n\n var IE_PROTO = __webpack_require__(\"613b\")('IE_PROTO');\n\n var ObjectProto = Object.prototype;\n\n module.exports = Object.getPrototypeOf || function (O) {\n O = toObject(O);\n if (has(O, IE_PROTO)) return O[IE_PROTO];\n\n if (typeof O.constructor == 'function' && O instanceof O.constructor) {\n return O.constructor.prototype;\n }\n\n return O instanceof Object ? ObjectProto : null;\n };\n /***/\n\n },\n\n /***/\n \"41a0\":\n /***/\n function a0(module, exports, __webpack_require__) {\n \"use strict\";\n\n var create = __webpack_require__(\"2aeb\");\n\n var descriptor = __webpack_require__(\"4630\");\n\n var setToStringTag = __webpack_require__(\"7f20\");\n\n var IteratorPrototype = {}; // 25.1.2.1.1 %IteratorPrototype%[@@iterator]()\n\n __webpack_require__(\"32e9\")(IteratorPrototype, __webpack_require__(\"2b4c\")('iterator'), function () {\n return this;\n });\n\n module.exports = function (Constructor, NAME, next) {\n Constructor.prototype = create(IteratorPrototype, {\n next: descriptor(1, next)\n });\n setToStringTag(Constructor, NAME + ' Iterator');\n };\n /***/\n\n },\n\n /***/\n \"456d\":\n /***/\n function d(module, exports, __webpack_require__) {\n // 19.1.2.14 Object.keys(O)\n var toObject = __webpack_require__(\"4bf8\");\n\n var $keys = __webpack_require__(\"0d58\");\n\n __webpack_require__(\"5eda\")('keys', function () {\n return function keys(it) {\n return $keys(toObject(it));\n };\n });\n /***/\n\n },\n\n /***/\n \"4588\":\n /***/\n function _(module, exports) {\n // 7.1.4 ToInteger\n var ceil = Math.ceil;\n var floor = Math.floor;\n\n module.exports = function (it) {\n return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);\n };\n /***/\n\n },\n\n /***/\n \"4630\":\n /***/\n function _(module, exports) {\n module.exports = function (bitmap, value) {\n return {\n enumerable: !(bitmap & 1),\n configurable: !(bitmap & 2),\n writable: !(bitmap & 4),\n value: value\n };\n };\n /***/\n\n },\n\n /***/\n \"4bf8\":\n /***/\n function bf8(module, exports, __webpack_require__) {\n // 7.1.13 ToObject(argument)\n var defined = __webpack_require__(\"be13\");\n\n module.exports = function (it) {\n return Object(defined(it));\n };\n /***/\n\n },\n\n /***/\n \"5147\":\n /***/\n function _(module, exports, __webpack_require__) {\n var MATCH = __webpack_require__(\"2b4c\")('match');\n\n module.exports = function (KEY) {\n var re = /./;\n\n try {\n '/./'[KEY](re);\n } catch (e) {\n try {\n re[MATCH] = false;\n return !'/./'[KEY](re);\n } catch (f) {\n /* empty */\n }\n }\n\n return true;\n };\n /***/\n\n },\n\n /***/\n \"520a\":\n /***/\n function a(module, exports, __webpack_require__) {\n \"use strict\";\n\n var regexpFlags = __webpack_require__(\"0bfb\");\n\n var nativeExec = RegExp.prototype.exec; // This always refers to the native implementation, because the\n // String#replace polyfill uses ./fix-regexp-well-known-symbol-logic.js,\n // which loads this file before patching the method.\n\n var nativeReplace = String.prototype.replace;\n var patchedExec = nativeExec;\n var LAST_INDEX = 'lastIndex';\n\n var UPDATES_LAST_INDEX_WRONG = function () {\n var re1 = /a/,\n re2 = /b*/g;\n nativeExec.call(re1, 'a');\n nativeExec.call(re2, 'a');\n return re1[LAST_INDEX] !== 0 || re2[LAST_INDEX] !== 0;\n }(); // nonparticipating capturing group, copied from es5-shim's String#split patch.\n\n\n var NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;\n var PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED;\n\n if (PATCH) {\n patchedExec = function exec(str) {\n var re = this;\n var lastIndex, reCopy, match, i;\n\n if (NPCG_INCLUDED) {\n reCopy = new RegExp('^' + re.source + '$(?!\\\\s)', regexpFlags.call(re));\n }\n\n if (UPDATES_LAST_INDEX_WRONG) lastIndex = re[LAST_INDEX];\n match = nativeExec.call(re, str);\n\n if (UPDATES_LAST_INDEX_WRONG && match) {\n re[LAST_INDEX] = re.global ? match.index + match[0].length : lastIndex;\n }\n\n if (NPCG_INCLUDED && match && match.length > 1) {\n // Fix browsers whose `exec` methods don't consistently return `undefined`\n // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/\n // eslint-disable-next-line no-loop-func\n nativeReplace.call(match[0], reCopy, function () {\n for (i = 1; i < arguments.length - 2; i++) {\n if (arguments[i] === undefined) match[i] = undefined;\n }\n });\n }\n\n return match;\n };\n }\n\n module.exports = patchedExec;\n /***/\n },\n\n /***/\n \"52a7\":\n /***/\n function a7(module, exports) {\n exports.f = {}.propertyIsEnumerable;\n /***/\n },\n\n /***/\n \"5537\":\n /***/\n function _(module, exports, __webpack_require__) {\n var core = __webpack_require__(\"8378\");\n\n var global = __webpack_require__(\"7726\");\n\n var SHARED = '__core-js_shared__';\n var store = global[SHARED] || (global[SHARED] = {});\n (module.exports = function (key, value) {\n return store[key] || (store[key] = value !== undefined ? value : {});\n })('versions', []).push({\n version: core.version,\n mode: __webpack_require__(\"2d00\") ? 'pure' : 'global',\n copyright: '© 2019 Denis Pushkarev (zloirock.ru)'\n });\n /***/\n },\n\n /***/\n \"5ca1\":\n /***/\n function ca1(module, exports, __webpack_require__) {\n var global = __webpack_require__(\"7726\");\n\n var core = __webpack_require__(\"8378\");\n\n var hide = __webpack_require__(\"32e9\");\n\n var redefine = __webpack_require__(\"2aba\");\n\n var ctx = __webpack_require__(\"9b43\");\n\n var PROTOTYPE = 'prototype';\n\n var $export = function $export(type, name, source) {\n var IS_FORCED = type & $export.F;\n var IS_GLOBAL = type & $export.G;\n var IS_STATIC = type & $export.S;\n var IS_PROTO = type & $export.P;\n var IS_BIND = type & $export.B;\n var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE];\n var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});\n var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {});\n var key, own, out, exp;\n if (IS_GLOBAL) source = name;\n\n for (key in source) {\n // contains in native\n own = !IS_FORCED && target && target[key] !== undefined; // export native or passed\n\n out = (own ? target : source)[key]; // bind timers to global for call from export context\n\n exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out; // extend global\n\n if (target) redefine(target, key, out, type & $export.U); // export\n\n if (exports[key] != out) hide(exports, key, exp);\n if (IS_PROTO && expProto[key] != out) expProto[key] = out;\n }\n };\n\n global.core = core; // type bitmap\n\n $export.F = 1; // forced\n\n $export.G = 2; // global\n\n $export.S = 4; // static\n\n $export.P = 8; // proto\n\n $export.B = 16; // bind\n\n $export.W = 32; // wrap\n\n $export.U = 64; // safe\n\n $export.R = 128; // real proto method for `library`\n\n module.exports = $export;\n /***/\n },\n\n /***/\n \"5eda\":\n /***/\n function eda(module, exports, __webpack_require__) {\n // most Object methods by ES6 should accept primitives\n var $export = __webpack_require__(\"5ca1\");\n\n var core = __webpack_require__(\"8378\");\n\n var fails = __webpack_require__(\"79e5\");\n\n module.exports = function (KEY, exec) {\n var fn = (core.Object || {})[KEY] || Object[KEY];\n var exp = {};\n exp[KEY] = exec(fn);\n $export($export.S + $export.F * fails(function () {\n fn(1);\n }), 'Object', exp);\n };\n /***/\n\n },\n\n /***/\n \"5f1b\":\n /***/\n function f1b(module, exports, __webpack_require__) {\n \"use strict\";\n\n var classof = __webpack_require__(\"23c6\");\n\n var builtinExec = RegExp.prototype.exec; // `RegExpExec` abstract operation\n // https://tc39.github.io/ecma262/#sec-regexpexec\n\n module.exports = function (R, S) {\n var exec = R.exec;\n\n if (typeof exec === 'function') {\n var result = exec.call(R, S);\n\n if (_typeof(result) !== 'object') {\n throw new TypeError('RegExp exec method returned something other than an Object or null');\n }\n\n return result;\n }\n\n if (classof(R) !== 'RegExp') {\n throw new TypeError('RegExp#exec called on incompatible receiver');\n }\n\n return builtinExec.call(R, S);\n };\n /***/\n\n },\n\n /***/\n \"613b\":\n /***/\n function b(module, exports, __webpack_require__) {\n var shared = __webpack_require__(\"5537\")('keys');\n\n var uid = __webpack_require__(\"ca5a\");\n\n module.exports = function (key) {\n return shared[key] || (shared[key] = uid(key));\n };\n /***/\n\n },\n\n /***/\n \"626a\":\n /***/\n function a(module, exports, __webpack_require__) {\n // fallback for non-array-like ES3 and non-enumerable old V8 strings\n var cof = __webpack_require__(\"2d95\"); // eslint-disable-next-line no-prototype-builtins\n\n\n module.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {\n return cof(it) == 'String' ? it.split('') : Object(it);\n };\n /***/\n },\n\n /***/\n \"6762\":\n /***/\n function _(module, exports, __webpack_require__) {\n \"use strict\"; // https://github.com/tc39/Array.prototype.includes\n\n var $export = __webpack_require__(\"5ca1\");\n\n var $includes = __webpack_require__(\"c366\")(true);\n\n $export($export.P, 'Array', {\n includes: function includes(el\n /* , fromIndex = 0 */\n ) {\n return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);\n }\n });\n\n __webpack_require__(\"9c6c\")('includes');\n /***/\n\n },\n\n /***/\n \"6821\":\n /***/\n function _(module, exports, __webpack_require__) {\n // to indexed object, toObject with fallback for non-array-like ES3 strings\n var IObject = __webpack_require__(\"626a\");\n\n var defined = __webpack_require__(\"be13\");\n\n module.exports = function (it) {\n return IObject(defined(it));\n };\n /***/\n\n },\n\n /***/\n \"69a8\":\n /***/\n function a8(module, exports) {\n var hasOwnProperty = {}.hasOwnProperty;\n\n module.exports = function (it, key) {\n return hasOwnProperty.call(it, key);\n };\n /***/\n\n },\n\n /***/\n \"6a99\":\n /***/\n function a99(module, exports, __webpack_require__) {\n // 7.1.1 ToPrimitive(input [, PreferredType])\n var isObject = __webpack_require__(\"d3f4\"); // instead of the ES6 spec version, we didn't implement @@toPrimitive case\n // and the second argument - flag - preferred type is a string\n\n\n module.exports = function (it, S) {\n if (!isObject(it)) return it;\n var fn, val;\n if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;\n if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n throw TypeError(\"Can't convert object to primitive value\");\n };\n /***/\n\n },\n\n /***/\n \"7333\":\n /***/\n function _(module, exports, __webpack_require__) {\n \"use strict\"; // 19.1.2.1 Object.assign(target, source, ...)\n\n var getKeys = __webpack_require__(\"0d58\");\n\n var gOPS = __webpack_require__(\"2621\");\n\n var pIE = __webpack_require__(\"52a7\");\n\n var toObject = __webpack_require__(\"4bf8\");\n\n var IObject = __webpack_require__(\"626a\");\n\n var $assign = Object.assign; // should work with symbols and should have deterministic property order (V8 bug)\n\n module.exports = !$assign || __webpack_require__(\"79e5\")(function () {\n var A = {};\n var B = {}; // eslint-disable-next-line no-undef\n\n var S = Symbol();\n var K = 'abcdefghijklmnopqrst';\n A[S] = 7;\n K.split('').forEach(function (k) {\n B[k] = k;\n });\n return $assign({}, A)[S] != 7 || Object.keys($assign({}, B)).join('') != K;\n }) ? function assign(target, source) {\n // eslint-disable-line no-unused-vars\n var T = toObject(target);\n var aLen = arguments.length;\n var index = 1;\n var getSymbols = gOPS.f;\n var isEnum = pIE.f;\n\n while (aLen > index) {\n var S = IObject(arguments[index++]);\n var keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S);\n var length = keys.length;\n var j = 0;\n var key;\n\n while (length > j) {\n if (isEnum.call(S, key = keys[j++])) T[key] = S[key];\n }\n }\n\n return T;\n } : $assign;\n /***/\n },\n\n /***/\n \"7726\":\n /***/\n function _(module, exports) {\n // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\n var global = module.exports = typeof window != 'undefined' && window.Math == Math ? window : typeof self != 'undefined' && self.Math == Math ? self // eslint-disable-next-line no-new-func\n : Function('return this')();\n if (typeof __g == 'number') __g = global; // eslint-disable-line no-undef\n\n /***/\n },\n\n /***/\n \"77f1\":\n /***/\n function f1(module, exports, __webpack_require__) {\n var toInteger = __webpack_require__(\"4588\");\n\n var max = Math.max;\n var min = Math.min;\n\n module.exports = function (index, length) {\n index = toInteger(index);\n return index < 0 ? max(index + length, 0) : min(index, length);\n };\n /***/\n\n },\n\n /***/\n \"79e5\":\n /***/\n function e5(module, exports) {\n module.exports = function (exec) {\n try {\n return !!exec();\n } catch (e) {\n return true;\n }\n };\n /***/\n\n },\n\n /***/\n \"7f20\":\n /***/\n function f20(module, exports, __webpack_require__) {\n var def = __webpack_require__(\"86cc\").f;\n\n var has = __webpack_require__(\"69a8\");\n\n var TAG = __webpack_require__(\"2b4c\")('toStringTag');\n\n module.exports = function (it, tag, stat) {\n if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, {\n configurable: true,\n value: tag\n });\n };\n /***/\n\n },\n\n /***/\n \"8378\":\n /***/\n function _(module, exports) {\n var core = module.exports = {\n version: '2.6.5'\n };\n if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef\n\n /***/\n },\n\n /***/\n \"84f2\":\n /***/\n function f2(module, exports) {\n module.exports = {};\n /***/\n },\n\n /***/\n \"86cc\":\n /***/\n function cc(module, exports, __webpack_require__) {\n var anObject = __webpack_require__(\"cb7c\");\n\n var IE8_DOM_DEFINE = __webpack_require__(\"c69a\");\n\n var toPrimitive = __webpack_require__(\"6a99\");\n\n var dP = Object.defineProperty;\n exports.f = __webpack_require__(\"9e1e\") ? Object.defineProperty : function defineProperty(O, P, Attributes) {\n anObject(O);\n P = toPrimitive(P, true);\n anObject(Attributes);\n if (IE8_DOM_DEFINE) try {\n return dP(O, P, Attributes);\n } catch (e) {\n /* empty */\n }\n if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');\n if ('value' in Attributes) O[P] = Attributes.value;\n return O;\n };\n /***/\n },\n\n /***/\n \"9b43\":\n /***/\n function b43(module, exports, __webpack_require__) {\n // optional / simple context binding\n var aFunction = __webpack_require__(\"d8e8\");\n\n module.exports = function (fn, that, length) {\n aFunction(fn);\n if (that === undefined) return fn;\n\n switch (length) {\n case 1:\n return function (a) {\n return fn.call(that, a);\n };\n\n case 2:\n return function (a, b) {\n return fn.call(that, a, b);\n };\n\n case 3:\n return function (a, b, c) {\n return fn.call(that, a, b, c);\n };\n }\n\n return function\n /* ...args */\n () {\n return fn.apply(that, arguments);\n };\n };\n /***/\n\n },\n\n /***/\n \"9c6c\":\n /***/\n function c6c(module, exports, __webpack_require__) {\n // 22.1.3.31 Array.prototype[@@unscopables]\n var UNSCOPABLES = __webpack_require__(\"2b4c\")('unscopables');\n\n var ArrayProto = Array.prototype;\n if (ArrayProto[UNSCOPABLES] == undefined) __webpack_require__(\"32e9\")(ArrayProto, UNSCOPABLES, {});\n\n module.exports = function (key) {\n ArrayProto[UNSCOPABLES][key] = true;\n };\n /***/\n\n },\n\n /***/\n \"9def\":\n /***/\n function def(module, exports, __webpack_require__) {\n // 7.1.15 ToLength\n var toInteger = __webpack_require__(\"4588\");\n\n var min = Math.min;\n\n module.exports = function (it) {\n return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991\n };\n /***/\n\n },\n\n /***/\n \"9e1e\":\n /***/\n function e1e(module, exports, __webpack_require__) {\n // Thank's IE8 for his funny defineProperty\n module.exports = !__webpack_require__(\"79e5\")(function () {\n return Object.defineProperty({}, 'a', {\n get: function get() {\n return 7;\n }\n }).a != 7;\n });\n /***/\n },\n\n /***/\n \"a352\":\n /***/\n function a352(module, exports) {\n module.exports = __WEBPACK_EXTERNAL_MODULE_a352__;\n /***/\n },\n\n /***/\n \"a481\":\n /***/\n function a481(module, exports, __webpack_require__) {\n \"use strict\";\n\n var anObject = __webpack_require__(\"cb7c\");\n\n var toObject = __webpack_require__(\"4bf8\");\n\n var toLength = __webpack_require__(\"9def\");\n\n var toInteger = __webpack_require__(\"4588\");\n\n var advanceStringIndex = __webpack_require__(\"0390\");\n\n var regExpExec = __webpack_require__(\"5f1b\");\n\n var max = Math.max;\n var min = Math.min;\n var floor = Math.floor;\n var SUBSTITUTION_SYMBOLS = /\\$([$&`']|\\d\\d?|<[^>]*>)/g;\n var SUBSTITUTION_SYMBOLS_NO_NAMED = /\\$([$&`']|\\d\\d?)/g;\n\n var maybeToString = function maybeToString(it) {\n return it === undefined ? it : String(it);\n }; // @@replace logic\n\n\n __webpack_require__(\"214f\")('replace', 2, function (defined, REPLACE, $replace, maybeCallNative) {\n return [// `String.prototype.replace` method\n // https://tc39.github.io/ecma262/#sec-string.prototype.replace\n function replace(searchValue, replaceValue) {\n var O = defined(this);\n var fn = searchValue == undefined ? undefined : searchValue[REPLACE];\n return fn !== undefined ? fn.call(searchValue, O, replaceValue) : $replace.call(String(O), searchValue, replaceValue);\n }, // `RegExp.prototype[@@replace]` method\n // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@replace\n function (regexp, replaceValue) {\n var res = maybeCallNative($replace, regexp, this, replaceValue);\n if (res.done) return res.value;\n var rx = anObject(regexp);\n var S = String(this);\n var functionalReplace = typeof replaceValue === 'function';\n if (!functionalReplace) replaceValue = String(replaceValue);\n var global = rx.global;\n\n if (global) {\n var fullUnicode = rx.unicode;\n rx.lastIndex = 0;\n }\n\n var results = [];\n\n while (true) {\n var result = regExpExec(rx, S);\n if (result === null) break;\n results.push(result);\n if (!global) break;\n var matchStr = String(result[0]);\n if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);\n }\n\n var accumulatedResult = '';\n var nextSourcePosition = 0;\n\n for (var i = 0; i < results.length; i++) {\n result = results[i];\n var matched = String(result[0]);\n var position = max(min(toInteger(result.index), S.length), 0);\n var captures = []; // NOTE: This is equivalent to\n // captures = result.slice(1).map(maybeToString)\n // but for some reason `nativeSlice.call(result, 1, result.length)` (called in\n // the slice polyfill when slicing native arrays) \"doesn't work\" in safari 9 and\n // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.\n\n for (var j = 1; j < result.length; j++) {\n captures.push(maybeToString(result[j]));\n }\n\n var namedCaptures = result.groups;\n\n if (functionalReplace) {\n var replacerArgs = [matched].concat(captures, position, S);\n if (namedCaptures !== undefined) replacerArgs.push(namedCaptures);\n var replacement = String(replaceValue.apply(undefined, replacerArgs));\n } else {\n replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);\n }\n\n if (position >= nextSourcePosition) {\n accumulatedResult += S.slice(nextSourcePosition, position) + replacement;\n nextSourcePosition = position + matched.length;\n }\n }\n\n return accumulatedResult + S.slice(nextSourcePosition);\n }]; // https://tc39.github.io/ecma262/#sec-getsubstitution\n\n function getSubstitution(matched, str, position, captures, namedCaptures, replacement) {\n var tailPos = position + matched.length;\n var m = captures.length;\n var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;\n\n if (namedCaptures !== undefined) {\n namedCaptures = toObject(namedCaptures);\n symbols = SUBSTITUTION_SYMBOLS;\n }\n\n return $replace.call(replacement, symbols, function (match, ch) {\n var capture;\n\n switch (ch.charAt(0)) {\n case '$':\n return '$';\n\n case '&':\n return matched;\n\n case '`':\n return str.slice(0, position);\n\n case \"'\":\n return str.slice(tailPos);\n\n case '<':\n capture = namedCaptures[ch.slice(1, -1)];\n break;\n\n default:\n // \\d\\d?\n var n = +ch;\n if (n === 0) return match;\n\n if (n > m) {\n var f = floor(n / 10);\n if (f === 0) return match;\n if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1);\n return match;\n }\n\n capture = captures[n - 1];\n }\n\n return capture === undefined ? '' : capture;\n });\n }\n });\n /***/\n\n },\n\n /***/\n \"aae3\":\n /***/\n function aae3(module, exports, __webpack_require__) {\n // 7.2.8 IsRegExp(argument)\n var isObject = __webpack_require__(\"d3f4\");\n\n var cof = __webpack_require__(\"2d95\");\n\n var MATCH = __webpack_require__(\"2b4c\")('match');\n\n module.exports = function (it) {\n var isRegExp;\n return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : cof(it) == 'RegExp');\n };\n /***/\n\n },\n\n /***/\n \"ac6a\":\n /***/\n function ac6a(module, exports, __webpack_require__) {\n var $iterators = __webpack_require__(\"cadf\");\n\n var getKeys = __webpack_require__(\"0d58\");\n\n var redefine = __webpack_require__(\"2aba\");\n\n var global = __webpack_require__(\"7726\");\n\n var hide = __webpack_require__(\"32e9\");\n\n var Iterators = __webpack_require__(\"84f2\");\n\n var wks = __webpack_require__(\"2b4c\");\n\n var ITERATOR = wks('iterator');\n var TO_STRING_TAG = wks('toStringTag');\n var ArrayValues = Iterators.Array;\n var DOMIterables = {\n CSSRuleList: true,\n // TODO: Not spec compliant, should be false.\n CSSStyleDeclaration: false,\n CSSValueList: false,\n ClientRectList: false,\n DOMRectList: false,\n DOMStringList: false,\n DOMTokenList: true,\n DataTransferItemList: false,\n FileList: false,\n HTMLAllCollection: false,\n HTMLCollection: false,\n HTMLFormElement: false,\n HTMLSelectElement: false,\n MediaList: true,\n // TODO: Not spec compliant, should be false.\n MimeTypeArray: false,\n NamedNodeMap: false,\n NodeList: true,\n PaintRequestList: false,\n Plugin: false,\n PluginArray: false,\n SVGLengthList: false,\n SVGNumberList: false,\n SVGPathSegList: false,\n SVGPointList: false,\n SVGStringList: false,\n SVGTransformList: false,\n SourceBufferList: false,\n StyleSheetList: true,\n // TODO: Not spec compliant, should be false.\n TextTrackCueList: false,\n TextTrackList: false,\n TouchList: false\n };\n\n for (var collections = getKeys(DOMIterables), i = 0; i < collections.length; i++) {\n var NAME = collections[i];\n var explicit = DOMIterables[NAME];\n var Collection = global[NAME];\n var proto = Collection && Collection.prototype;\n var key;\n\n if (proto) {\n if (!proto[ITERATOR]) hide(proto, ITERATOR, ArrayValues);\n if (!proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME);\n Iterators[NAME] = ArrayValues;\n if (explicit) for (key in $iterators) {\n if (!proto[key]) redefine(proto, key, $iterators[key], true);\n }\n }\n }\n /***/\n\n },\n\n /***/\n \"b0c5\":\n /***/\n function b0c5(module, exports, __webpack_require__) {\n \"use strict\";\n\n var regexpExec = __webpack_require__(\"520a\");\n\n __webpack_require__(\"5ca1\")({\n target: 'RegExp',\n proto: true,\n forced: regexpExec !== /./.exec\n }, {\n exec: regexpExec\n });\n /***/\n\n },\n\n /***/\n \"be13\":\n /***/\n function be13(module, exports) {\n // 7.2.1 RequireObjectCoercible(argument)\n module.exports = function (it) {\n if (it == undefined) throw TypeError(\"Can't call method on \" + it);\n return it;\n };\n /***/\n\n },\n\n /***/\n \"c366\":\n /***/\n function c366(module, exports, __webpack_require__) {\n // false -> Array#indexOf\n // true -> Array#includes\n var toIObject = __webpack_require__(\"6821\");\n\n var toLength = __webpack_require__(\"9def\");\n\n var toAbsoluteIndex = __webpack_require__(\"77f1\");\n\n module.exports = function (IS_INCLUDES) {\n return function ($this, el, fromIndex) {\n var O = toIObject($this);\n var length = toLength(O.length);\n var index = toAbsoluteIndex(fromIndex, length);\n var value; // Array#includes uses SameValueZero equality algorithm\n // eslint-disable-next-line no-self-compare\n\n if (IS_INCLUDES && el != el) while (length > index) {\n value = O[index++]; // eslint-disable-next-line no-self-compare\n\n if (value != value) return true; // Array#indexOf ignores holes, Array#includes - not\n } else for (; length > index; index++) {\n if (IS_INCLUDES || index in O) {\n if (O[index] === el) return IS_INCLUDES || index || 0;\n }\n }\n return !IS_INCLUDES && -1;\n };\n };\n /***/\n\n },\n\n /***/\n \"c649\":\n /***/\n function c649(module, __webpack_exports__, __webpack_require__) {\n \"use strict\";\n /* WEBPACK VAR INJECTION */\n\n (function (global) {\n /* harmony export (binding) */\n __webpack_require__.d(__webpack_exports__, \"c\", function () {\n return insertNodeAt;\n });\n /* harmony export (binding) */\n\n\n __webpack_require__.d(__webpack_exports__, \"a\", function () {\n return camelize;\n });\n /* harmony export (binding) */\n\n\n __webpack_require__.d(__webpack_exports__, \"b\", function () {\n return console;\n });\n /* harmony export (binding) */\n\n\n __webpack_require__.d(__webpack_exports__, \"d\", function () {\n return removeNode;\n });\n /* harmony import */\n\n\n var core_js_modules_es6_regexp_replace__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\"a481\");\n /* harmony import */\n\n\n var core_js_modules_es6_regexp_replace__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_regexp_replace__WEBPACK_IMPORTED_MODULE_0__);\n\n function getConsole() {\n if (typeof window !== \"undefined\") {\n return window.console;\n }\n\n return global.console;\n }\n\n var console = getConsole();\n\n function cached(fn) {\n var cache = Object.create(null);\n return function cachedFn(str) {\n var hit = cache[str];\n return hit || (cache[str] = fn(str));\n };\n }\n\n var regex = /-(\\w)/g;\n var camelize = cached(function (str) {\n return str.replace(regex, function (_, c) {\n return c ? c.toUpperCase() : \"\";\n });\n });\n\n function removeNode(node) {\n if (node.parentElement !== null) {\n node.parentElement.removeChild(node);\n }\n }\n\n function insertNodeAt(fatherNode, node, position) {\n var refNode = position === 0 ? fatherNode.children[0] : fatherNode.children[position - 1].nextSibling;\n fatherNode.insertBefore(node, refNode);\n }\n /* WEBPACK VAR INJECTION */\n\n }).call(this, __webpack_require__(\"c8ba\"));\n /***/\n },\n\n /***/\n \"c69a\":\n /***/\n function c69a(module, exports, __webpack_require__) {\n module.exports = !__webpack_require__(\"9e1e\") && !__webpack_require__(\"79e5\")(function () {\n return Object.defineProperty(__webpack_require__(\"230e\")('div'), 'a', {\n get: function get() {\n return 7;\n }\n }).a != 7;\n });\n /***/\n },\n\n /***/\n \"c8ba\":\n /***/\n function c8ba(module, exports) {\n var g; // This works in non-strict mode\n\n g = function () {\n return this;\n }();\n\n try {\n // This works if eval is allowed (see CSP)\n g = g || new Function(\"return this\")();\n } catch (e) {\n // This works if the window reference is available\n if ((typeof window === \"undefined\" ? \"undefined\" : _typeof(window)) === \"object\") g = window;\n } // g can still be undefined, but nothing to do about it...\n // We return undefined, instead of nothing here, so it's\n // easier to handle this case. if(!global) { ...}\n\n\n module.exports = g;\n /***/\n },\n\n /***/\n \"ca5a\":\n /***/\n function ca5a(module, exports) {\n var id = 0;\n var px = Math.random();\n\n module.exports = function (key) {\n return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));\n };\n /***/\n\n },\n\n /***/\n \"cadf\":\n /***/\n function cadf(module, exports, __webpack_require__) {\n \"use strict\";\n\n var addToUnscopables = __webpack_require__(\"9c6c\");\n\n var step = __webpack_require__(\"d53b\");\n\n var Iterators = __webpack_require__(\"84f2\");\n\n var toIObject = __webpack_require__(\"6821\"); // 22.1.3.4 Array.prototype.entries()\n // 22.1.3.13 Array.prototype.keys()\n // 22.1.3.29 Array.prototype.values()\n // 22.1.3.30 Array.prototype[@@iterator]()\n\n\n module.exports = __webpack_require__(\"01f9\")(Array, 'Array', function (iterated, kind) {\n this._t = toIObject(iterated); // target\n\n this._i = 0; // next index\n\n this._k = kind; // kind\n // 22.1.5.2.1 %ArrayIteratorPrototype%.next()\n }, function () {\n var O = this._t;\n var kind = this._k;\n var index = this._i++;\n\n if (!O || index >= O.length) {\n this._t = undefined;\n return step(1);\n }\n\n if (kind == 'keys') return step(0, index);\n if (kind == 'values') return step(0, O[index]);\n return step(0, [index, O[index]]);\n }, 'values'); // argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7)\n\n Iterators.Arguments = Iterators.Array;\n addToUnscopables('keys');\n addToUnscopables('values');\n addToUnscopables('entries');\n /***/\n },\n\n /***/\n \"cb7c\":\n /***/\n function cb7c(module, exports, __webpack_require__) {\n var isObject = __webpack_require__(\"d3f4\");\n\n module.exports = function (it) {\n if (!isObject(it)) throw TypeError(it + ' is not an object!');\n return it;\n };\n /***/\n\n },\n\n /***/\n \"ce10\":\n /***/\n function ce10(module, exports, __webpack_require__) {\n var has = __webpack_require__(\"69a8\");\n\n var toIObject = __webpack_require__(\"6821\");\n\n var arrayIndexOf = __webpack_require__(\"c366\")(false);\n\n var IE_PROTO = __webpack_require__(\"613b\")('IE_PROTO');\n\n module.exports = function (object, names) {\n var O = toIObject(object);\n var i = 0;\n var result = [];\n var key;\n\n for (key in O) {\n if (key != IE_PROTO) has(O, key) && result.push(key);\n } // Don't enum bug & hidden keys\n\n\n while (names.length > i) {\n if (has(O, key = names[i++])) {\n ~arrayIndexOf(result, key) || result.push(key);\n }\n }\n\n return result;\n };\n /***/\n\n },\n\n /***/\n \"d2c8\":\n /***/\n function d2c8(module, exports, __webpack_require__) {\n // helper for String#{startsWith, endsWith, includes}\n var isRegExp = __webpack_require__(\"aae3\");\n\n var defined = __webpack_require__(\"be13\");\n\n module.exports = function (that, searchString, NAME) {\n if (isRegExp(searchString)) throw TypeError('String#' + NAME + \" doesn't accept regex!\");\n return String(defined(that));\n };\n /***/\n\n },\n\n /***/\n \"d3f4\":\n /***/\n function d3f4(module, exports) {\n module.exports = function (it) {\n return _typeof(it) === 'object' ? it !== null : typeof it === 'function';\n };\n /***/\n\n },\n\n /***/\n \"d53b\":\n /***/\n function d53b(module, exports) {\n module.exports = function (done, value) {\n return {\n value: value,\n done: !!done\n };\n };\n /***/\n\n },\n\n /***/\n \"d8e8\":\n /***/\n function d8e8(module, exports) {\n module.exports = function (it) {\n if (typeof it != 'function') throw TypeError(it + ' is not a function!');\n return it;\n };\n /***/\n\n },\n\n /***/\n \"e11e\":\n /***/\n function e11e(module, exports) {\n // IE 8- don't enum bug keys\n module.exports = 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'.split(',');\n /***/\n },\n\n /***/\n \"f559\":\n /***/\n function f559(module, exports, __webpack_require__) {\n \"use strict\"; // 21.1.3.18 String.prototype.startsWith(searchString [, position ])\n\n var $export = __webpack_require__(\"5ca1\");\n\n var toLength = __webpack_require__(\"9def\");\n\n var context = __webpack_require__(\"d2c8\");\n\n var STARTS_WITH = 'startsWith';\n var $startsWith = ''[STARTS_WITH];\n $export($export.P + $export.F * __webpack_require__(\"5147\")(STARTS_WITH), 'String', {\n startsWith: function startsWith(searchString\n /* , position = 0 */\n ) {\n var that = context(this, searchString, STARTS_WITH);\n var index = toLength(Math.min(arguments.length > 1 ? arguments[1] : undefined, that.length));\n var search = String(searchString);\n return $startsWith ? $startsWith.call(that, search, index) : that.slice(index, index + search.length) === search;\n }\n });\n /***/\n },\n\n /***/\n \"f6fd\":\n /***/\n function f6fd(module, exports) {\n // document.currentScript polyfill by Adam Miller\n // MIT license\n (function (document) {\n var currentScript = \"currentScript\",\n scripts = document.getElementsByTagName('script'); // Live NodeList collection\n // If browser needs currentScript polyfill, add get currentScript() to the document object\n\n if (!(currentScript in document)) {\n Object.defineProperty(document, currentScript, {\n get: function get() {\n // IE 6-10 supports script readyState\n // IE 10+ support stack trace\n try {\n throw new Error();\n } catch (err) {\n // Find the second match for the \"at\" string to get file src url from stack.\n // Specifically works with the format of stack traces in IE.\n var i,\n res = (/.*at [^\\(]*\\((.*):.+:.+\\)$/ig.exec(err.stack) || [false])[1]; // For all scripts on the page, if src matches or if ready state is interactive, return the script tag\n\n for (i in scripts) {\n if (scripts[i].src == res || scripts[i].readyState == \"interactive\") {\n return scripts[i];\n }\n } // If no match, return null\n\n\n return null;\n }\n }\n });\n }\n })(document);\n /***/\n\n },\n\n /***/\n \"f751\":\n /***/\n function f751(module, exports, __webpack_require__) {\n // 19.1.3.1 Object.assign(target, source)\n var $export = __webpack_require__(\"5ca1\");\n\n $export($export.S + $export.F, 'Object', {\n assign: __webpack_require__(\"7333\")\n });\n /***/\n },\n\n /***/\n \"fa5b\":\n /***/\n function fa5b(module, exports, __webpack_require__) {\n module.exports = __webpack_require__(\"5537\")('native-function-to-string', Function.toString);\n /***/\n },\n\n /***/\n \"fab2\":\n /***/\n function fab2(module, exports, __webpack_require__) {\n var document = __webpack_require__(\"7726\").document;\n\n module.exports = document && document.documentElement;\n /***/\n },\n\n /***/\n \"fb15\":\n /***/\n function fb15(module, __webpack_exports__, __webpack_require__) {\n \"use strict\"; // ESM COMPAT FLAG\n\n __webpack_require__.r(__webpack_exports__); // CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/setPublicPath.js\n // This file is imported into lib/wc client bundles.\n\n\n if (typeof window !== 'undefined') {\n if (true) {\n __webpack_require__(\"f6fd\");\n }\n\n var setPublicPath_i;\n\n if ((setPublicPath_i = window.document.currentScript) && (setPublicPath_i = setPublicPath_i.src.match(/(.+\\/)[^/]+\\.js(\\?.*)?$/))) {\n __webpack_require__.p = setPublicPath_i[1]; // eslint-disable-line\n }\n } // Indicate to webpack that this file can be concatenated\n\n /* harmony default export */\n\n\n var setPublicPath = null; // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.object.assign.js\n\n var es6_object_assign = __webpack_require__(\"f751\"); // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.string.starts-with.js\n\n\n var es6_string_starts_with = __webpack_require__(\"f559\"); // EXTERNAL MODULE: ./node_modules/core-js/modules/web.dom.iterable.js\n\n\n var web_dom_iterable = __webpack_require__(\"ac6a\"); // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.array.iterator.js\n\n\n var es6_array_iterator = __webpack_require__(\"cadf\"); // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.object.keys.js\n\n\n var es6_object_keys = __webpack_require__(\"456d\"); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js\n\n\n function _arrayWithHoles(arr) {\n if (Array.isArray(arr)) return arr;\n } // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js\n\n\n function _iterableToArrayLimit(arr, i) {\n if (typeof Symbol === \"undefined\" || !(Symbol.iterator in Object(arr))) return;\n var _arr = [];\n var _n = true;\n var _d = false;\n var _e = undefined;\n\n try {\n for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {\n _arr.push(_s.value);\n\n if (i && _arr.length === i) break;\n }\n } catch (err) {\n _d = true;\n _e = err;\n } finally {\n try {\n if (!_n && _i[\"return\"] != null) _i[\"return\"]();\n } finally {\n if (_d) throw _e;\n }\n }\n\n return _arr;\n } // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js\n\n\n function _arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n\n for (var i = 0, arr2 = new Array(len); i < len; i++) {\n arr2[i] = arr[i];\n }\n\n return arr2;\n } // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js\n\n\n function _unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === \"string\") return _arrayLikeToArray(o, minLen);\n var n = Object.prototype.toString.call(o).slice(8, -1);\n if (n === \"Object\" && o.constructor) n = o.constructor.name;\n if (n === \"Map\" || n === \"Set\") return Array.from(o);\n if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);\n } // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js\n\n\n function _nonIterableRest() {\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n } // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js\n\n\n function _slicedToArray(arr, i) {\n return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();\n } // EXTERNAL MODULE: ./node_modules/core-js/modules/es7.array.includes.js\n\n\n var es7_array_includes = __webpack_require__(\"6762\"); // EXTERNAL MODULE: ./node_modules/core-js/modules/es6.string.includes.js\n\n\n var es6_string_includes = __webpack_require__(\"2fdb\"); // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js\n\n\n function _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) return _arrayLikeToArray(arr);\n } // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/iterableToArray.js\n\n\n function _iterableToArray(iter) {\n if (typeof Symbol !== \"undefined\" && Symbol.iterator in Object(iter)) return Array.from(iter);\n } // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js\n\n\n function _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n } // CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js\n\n\n function _toConsumableArray(arr) {\n return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();\n } // EXTERNAL MODULE: external {\"commonjs\":\"sortablejs\",\"commonjs2\":\"sortablejs\",\"amd\":\"sortablejs\",\"root\":\"Sortable\"}\n\n\n var external_commonjs_sortablejs_commonjs2_sortablejs_amd_sortablejs_root_Sortable_ = __webpack_require__(\"a352\");\n\n var external_commonjs_sortablejs_commonjs2_sortablejs_amd_sortablejs_root_Sortable_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_sortablejs_commonjs2_sortablejs_amd_sortablejs_root_Sortable_); // EXTERNAL MODULE: ./src/util/helper.js\n\n\n var helper = __webpack_require__(\"c649\"); // CONCATENATED MODULE: ./src/vuedraggable.js\n\n\n function buildAttribute(object, propName, value) {\n if (value === undefined) {\n return object;\n }\n\n object = object || {};\n object[propName] = value;\n return object;\n }\n\n function computeVmIndex(vnodes, element) {\n return vnodes.map(function (elt) {\n return elt.elm;\n }).indexOf(element);\n }\n\n function _computeIndexes(slots, children, isTransition, footerOffset) {\n if (!slots) {\n return [];\n }\n\n var elmFromNodes = slots.map(function (elt) {\n return elt.elm;\n });\n var footerIndex = children.length - footerOffset;\n\n var rawIndexes = _toConsumableArray(children).map(function (elt, idx) {\n return idx >= footerIndex ? elmFromNodes.length : elmFromNodes.indexOf(elt);\n });\n\n return isTransition ? rawIndexes.filter(function (ind) {\n return ind !== -1;\n }) : rawIndexes;\n }\n\n function emit(evtName, evtData) {\n var _this = this;\n\n this.$nextTick(function () {\n return _this.$emit(evtName.toLowerCase(), evtData);\n });\n }\n\n function delegateAndEmit(evtName) {\n var _this2 = this;\n\n return function (evtData) {\n if (_this2.realList !== null) {\n _this2[\"onDrag\" + evtName](evtData);\n }\n\n emit.call(_this2, evtName, evtData);\n };\n }\n\n function isTransitionName(name) {\n return [\"transition-group\", \"TransitionGroup\"].includes(name);\n }\n\n function vuedraggable_isTransition(slots) {\n if (!slots || slots.length !== 1) {\n return false;\n }\n\n var _slots = _slicedToArray(slots, 1),\n componentOptions = _slots[0].componentOptions;\n\n if (!componentOptions) {\n return false;\n }\n\n return isTransitionName(componentOptions.tag);\n }\n\n function getSlot(slot, scopedSlot, key) {\n return slot[key] || (scopedSlot[key] ? scopedSlot[key]() : undefined);\n }\n\n function computeChildrenAndOffsets(children, slot, scopedSlot) {\n var headerOffset = 0;\n var footerOffset = 0;\n var header = getSlot(slot, scopedSlot, \"header\");\n\n if (header) {\n headerOffset = header.length;\n children = children ? [].concat(_toConsumableArray(header), _toConsumableArray(children)) : _toConsumableArray(header);\n }\n\n var footer = getSlot(slot, scopedSlot, \"footer\");\n\n if (footer) {\n footerOffset = footer.length;\n children = children ? [].concat(_toConsumableArray(children), _toConsumableArray(footer)) : _toConsumableArray(footer);\n }\n\n return {\n children: children,\n headerOffset: headerOffset,\n footerOffset: footerOffset\n };\n }\n\n function getComponentAttributes($attrs, componentData) {\n var attributes = null;\n\n var update = function update(name, value) {\n attributes = buildAttribute(attributes, name, value);\n };\n\n var attrs = Object.keys($attrs).filter(function (key) {\n return key === \"id\" || key.startsWith(\"data-\");\n }).reduce(function (res, key) {\n res[key] = $attrs[key];\n return res;\n }, {});\n update(\"attrs\", attrs);\n\n if (!componentData) {\n return attributes;\n }\n\n var on = componentData.on,\n props = componentData.props,\n componentDataAttrs = componentData.attrs;\n update(\"on\", on);\n update(\"props\", props);\n Object.assign(attributes.attrs, componentDataAttrs);\n return attributes;\n }\n\n var eventsListened = [\"Start\", \"Add\", \"Remove\", \"Update\", \"End\"];\n var eventsToEmit = [\"Choose\", \"Unchoose\", \"Sort\", \"Filter\", \"Clone\"];\n var readonlyProperties = [\"Move\"].concat(eventsListened, eventsToEmit).map(function (evt) {\n return \"on\" + evt;\n });\n var draggingElement = null;\n var props = {\n options: Object,\n list: {\n type: Array,\n required: false,\n default: null\n },\n value: {\n type: Array,\n required: false,\n default: null\n },\n noTransitionOnDrag: {\n type: Boolean,\n default: false\n },\n clone: {\n type: Function,\n default: function _default(original) {\n return original;\n }\n },\n element: {\n type: String,\n default: \"div\"\n },\n tag: {\n type: String,\n default: null\n },\n move: {\n type: Function,\n default: null\n },\n componentData: {\n type: Object,\n required: false,\n default: null\n }\n };\n var draggableComponent = {\n name: \"draggable\",\n inheritAttrs: false,\n props: props,\n data: function data() {\n return {\n transitionMode: false,\n noneFunctionalComponentMode: false\n };\n },\n render: function render(h) {\n var slots = this.$slots.default;\n this.transitionMode = vuedraggable_isTransition(slots);\n\n var _computeChildrenAndOf = computeChildrenAndOffsets(slots, this.$slots, this.$scopedSlots),\n children = _computeChildrenAndOf.children,\n headerOffset = _computeChildrenAndOf.headerOffset,\n footerOffset = _computeChildrenAndOf.footerOffset;\n\n this.headerOffset = headerOffset;\n this.footerOffset = footerOffset;\n var attributes = getComponentAttributes(this.$attrs, this.componentData);\n return h(this.getTag(), attributes, children);\n },\n created: function created() {\n if (this.list !== null && this.value !== null) {\n helper[\"b\"\n /* console */\n ].error(\"Value and list props are mutually exclusive! Please set one or another.\");\n }\n\n if (this.element !== \"div\") {\n helper[\"b\"\n /* console */\n ].warn(\"Element props is deprecated please use tag props instead. See https://github.com/SortableJS/Vue.Draggable/blob/master/documentation/migrate.md#element-props\");\n }\n\n if (this.options !== undefined) {\n helper[\"b\"\n /* console */\n ].warn(\"Options props is deprecated, add sortable options directly as vue.draggable item, or use v-bind. See https://github.com/SortableJS/Vue.Draggable/blob/master/documentation/migrate.md#options-props\");\n }\n },\n mounted: function mounted() {\n var _this3 = this;\n\n this.noneFunctionalComponentMode = this.getTag().toLowerCase() !== this.$el.nodeName.toLowerCase() && !this.getIsFunctional();\n\n if (this.noneFunctionalComponentMode && this.transitionMode) {\n throw new Error(\"Transition-group inside component is not supported. Please alter tag value or remove transition-group. Current tag value: \".concat(this.getTag()));\n }\n\n var optionsAdded = {};\n eventsListened.forEach(function (elt) {\n optionsAdded[\"on\" + elt] = delegateAndEmit.call(_this3, elt);\n });\n eventsToEmit.forEach(function (elt) {\n optionsAdded[\"on\" + elt] = emit.bind(_this3, elt);\n });\n var attributes = Object.keys(this.$attrs).reduce(function (res, key) {\n res[Object(helper[\"a\"\n /* camelize */\n ])(key)] = _this3.$attrs[key];\n return res;\n }, {});\n var options = Object.assign({}, this.options, attributes, optionsAdded, {\n onMove: function onMove(evt, originalEvent) {\n return _this3.onDragMove(evt, originalEvent);\n }\n });\n !(\"draggable\" in options) && (options.draggable = \">*\");\n this._sortable = new external_commonjs_sortablejs_commonjs2_sortablejs_amd_sortablejs_root_Sortable_default.a(this.rootContainer, options);\n this.computeIndexes();\n },\n beforeDestroy: function beforeDestroy() {\n if (this._sortable !== undefined) this._sortable.destroy();\n },\n computed: {\n rootContainer: function rootContainer() {\n return this.transitionMode ? this.$el.children[0] : this.$el;\n },\n realList: function realList() {\n return this.list ? this.list : this.value;\n }\n },\n watch: {\n options: {\n handler: function handler(newOptionValue) {\n this.updateOptions(newOptionValue);\n },\n deep: true\n },\n $attrs: {\n handler: function handler(newOptionValue) {\n this.updateOptions(newOptionValue);\n },\n deep: true\n },\n realList: function realList() {\n this.computeIndexes();\n }\n },\n methods: {\n getIsFunctional: function getIsFunctional() {\n var fnOptions = this._vnode.fnOptions;\n return fnOptions && fnOptions.functional;\n },\n getTag: function getTag() {\n return this.tag || this.element;\n },\n updateOptions: function updateOptions(newOptionValue) {\n for (var property in newOptionValue) {\n var value = Object(helper[\"a\"\n /* camelize */\n ])(property);\n\n if (readonlyProperties.indexOf(value) === -1) {\n this._sortable.option(value, newOptionValue[property]);\n }\n }\n },\n getChildrenNodes: function getChildrenNodes() {\n if (this.noneFunctionalComponentMode) {\n return this.$children[0].$slots.default;\n }\n\n var rawNodes = this.$slots.default;\n return this.transitionMode ? rawNodes[0].child.$slots.default : rawNodes;\n },\n computeIndexes: function computeIndexes() {\n var _this4 = this;\n\n this.$nextTick(function () {\n _this4.visibleIndexes = _computeIndexes(_this4.getChildrenNodes(), _this4.rootContainer.children, _this4.transitionMode, _this4.footerOffset);\n });\n },\n getUnderlyingVm: function getUnderlyingVm(htmlElt) {\n var index = computeVmIndex(this.getChildrenNodes() || [], htmlElt);\n\n if (index === -1) {\n //Edge case during move callback: related element might be\n //an element different from collection\n return null;\n }\n\n var element = this.realList[index];\n return {\n index: index,\n element: element\n };\n },\n getUnderlyingPotencialDraggableComponent: function getUnderlyingPotencialDraggableComponent(_ref) {\n var vue = _ref.__vue__;\n\n if (!vue || !vue.$options || !isTransitionName(vue.$options._componentTag)) {\n if (!(\"realList\" in vue) && vue.$children.length === 1 && \"realList\" in vue.$children[0]) return vue.$children[0];\n return vue;\n }\n\n return vue.$parent;\n },\n emitChanges: function emitChanges(evt) {\n var _this5 = this;\n\n this.$nextTick(function () {\n _this5.$emit(\"change\", evt);\n });\n },\n alterList: function alterList(onList) {\n if (this.list) {\n onList(this.list);\n return;\n }\n\n var newList = _toConsumableArray(this.value);\n\n onList(newList);\n this.$emit(\"input\", newList);\n },\n spliceList: function spliceList() {\n var _arguments = arguments;\n\n var spliceList = function spliceList(list) {\n return list.splice.apply(list, _toConsumableArray(_arguments));\n };\n\n this.alterList(spliceList);\n },\n updatePosition: function updatePosition(oldIndex, newIndex) {\n var updatePosition = function updatePosition(list) {\n return list.splice(newIndex, 0, list.splice(oldIndex, 1)[0]);\n };\n\n this.alterList(updatePosition);\n },\n getRelatedContextFromMoveEvent: function getRelatedContextFromMoveEvent(_ref2) {\n var to = _ref2.to,\n related = _ref2.related;\n var component = this.getUnderlyingPotencialDraggableComponent(to);\n\n if (!component) {\n return {\n component: component\n };\n }\n\n var list = component.realList;\n var context = {\n list: list,\n component: component\n };\n\n if (to !== related && list && component.getUnderlyingVm) {\n var destination = component.getUnderlyingVm(related);\n\n if (destination) {\n return Object.assign(destination, context);\n }\n }\n\n return context;\n },\n getVmIndex: function getVmIndex(domIndex) {\n var indexes = this.visibleIndexes;\n var numberIndexes = indexes.length;\n return domIndex > numberIndexes - 1 ? numberIndexes : indexes[domIndex];\n },\n getComponent: function getComponent() {\n return this.$slots.default[0].componentInstance;\n },\n resetTransitionData: function resetTransitionData(index) {\n if (!this.noTransitionOnDrag || !this.transitionMode) {\n return;\n }\n\n var nodes = this.getChildrenNodes();\n nodes[index].data = null;\n var transitionContainer = this.getComponent();\n transitionContainer.children = [];\n transitionContainer.kept = undefined;\n },\n onDragStart: function onDragStart(evt) {\n this.context = this.getUnderlyingVm(evt.item);\n evt.item._underlying_vm_ = this.clone(this.context.element);\n draggingElement = evt.item;\n },\n onDragAdd: function onDragAdd(evt) {\n var element = evt.item._underlying_vm_;\n\n if (element === undefined) {\n return;\n }\n\n Object(helper[\"d\"\n /* removeNode */\n ])(evt.item);\n var newIndex = this.getVmIndex(evt.newIndex);\n this.spliceList(newIndex, 0, element);\n this.computeIndexes();\n var added = {\n element: element,\n newIndex: newIndex\n };\n this.emitChanges({\n added: added\n });\n },\n onDragRemove: function onDragRemove(evt) {\n Object(helper[\"c\"\n /* insertNodeAt */\n ])(this.rootContainer, evt.item, evt.oldIndex);\n\n if (evt.pullMode === \"clone\") {\n Object(helper[\"d\"\n /* removeNode */\n ])(evt.clone);\n return;\n }\n\n var oldIndex = this.context.index;\n this.spliceList(oldIndex, 1);\n var removed = {\n element: this.context.element,\n oldIndex: oldIndex\n };\n this.resetTransitionData(oldIndex);\n this.emitChanges({\n removed: removed\n });\n },\n onDragUpdate: function onDragUpdate(evt) {\n Object(helper[\"d\"\n /* removeNode */\n ])(evt.item);\n Object(helper[\"c\"\n /* insertNodeAt */\n ])(evt.from, evt.item, evt.oldIndex);\n var oldIndex = this.context.index;\n var newIndex = this.getVmIndex(evt.newIndex);\n this.updatePosition(oldIndex, newIndex);\n var moved = {\n element: this.context.element,\n oldIndex: oldIndex,\n newIndex: newIndex\n };\n this.emitChanges({\n moved: moved\n });\n },\n updateProperty: function updateProperty(evt, propertyName) {\n evt.hasOwnProperty(propertyName) && (evt[propertyName] += this.headerOffset);\n },\n computeFutureIndex: function computeFutureIndex(relatedContext, evt) {\n if (!relatedContext.element) {\n return 0;\n }\n\n var domChildren = _toConsumableArray(evt.to.children).filter(function (el) {\n return el.style[\"display\"] !== \"none\";\n });\n\n var currentDOMIndex = domChildren.indexOf(evt.related);\n var currentIndex = relatedContext.component.getVmIndex(currentDOMIndex);\n var draggedInList = domChildren.indexOf(draggingElement) !== -1;\n return draggedInList || !evt.willInsertAfter ? currentIndex : currentIndex + 1;\n },\n onDragMove: function onDragMove(evt, originalEvent) {\n var onMove = this.move;\n\n if (!onMove || !this.realList) {\n return true;\n }\n\n var relatedContext = this.getRelatedContextFromMoveEvent(evt);\n var draggedContext = this.context;\n var futureIndex = this.computeFutureIndex(relatedContext, evt);\n Object.assign(draggedContext, {\n futureIndex: futureIndex\n });\n var sendEvt = Object.assign({}, evt, {\n relatedContext: relatedContext,\n draggedContext: draggedContext\n });\n return onMove(sendEvt, originalEvent);\n },\n onDragEnd: function onDragEnd() {\n this.computeIndexes();\n draggingElement = null;\n }\n }\n };\n\n if (typeof window !== \"undefined\" && \"Vue\" in window) {\n window.Vue.component(\"draggable\", draggableComponent);\n }\n /* harmony default export */\n\n\n var vuedraggable = draggableComponent; // CONCATENATED MODULE: ./node_modules/@vue/cli-service/lib/commands/build/entry-lib.js\n\n /* harmony default export */\n\n var entry_lib = __webpack_exports__[\"default\"] = vuedraggable;\n /***/\n }\n /******/\n\n })[\"default\"]\n );\n});","function _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nimport { Vue, mergeData } from '../../vue';\nimport { NAME_NAV } from '../../constants/components';\nimport { PROP_TYPE_BOOLEAN, PROP_TYPE_STRING } from '../../constants/props';\nimport { makeProp, makePropsConfigurable } from '../../utils/props'; // --- Helper methods ---\n\nvar computeJustifyContent = function computeJustifyContent(value) {\n value = value === 'left' ? 'start' : value === 'right' ? 'end' : value;\n return \"justify-content-\".concat(value);\n}; // --- Props ---\n\n\nexport var props = makePropsConfigurable({\n align: makeProp(PROP_TYPE_STRING),\n // Set to `true` if placing in a card header\n cardHeader: makeProp(PROP_TYPE_BOOLEAN, false),\n fill: makeProp(PROP_TYPE_BOOLEAN, false),\n justified: makeProp(PROP_TYPE_BOOLEAN, false),\n pills: makeProp(PROP_TYPE_BOOLEAN, false),\n small: makeProp(PROP_TYPE_BOOLEAN, false),\n tabs: makeProp(PROP_TYPE_BOOLEAN, false),\n tag: makeProp(PROP_TYPE_STRING, 'ul'),\n vertical: makeProp(PROP_TYPE_BOOLEAN, false)\n}, NAME_NAV); // --- Main component ---\n// @vue/component\n\nexport var BNav = /*#__PURE__*/Vue.extend({\n name: NAME_NAV,\n functional: true,\n props: props,\n render: function render(h, _ref) {\n var _class;\n\n var props = _ref.props,\n data = _ref.data,\n children = _ref.children;\n var tabs = props.tabs,\n pills = props.pills,\n vertical = props.vertical,\n align = props.align,\n cardHeader = props.cardHeader;\n return h(props.tag, mergeData(data, {\n staticClass: 'nav',\n class: (_class = {\n 'nav-tabs': tabs,\n 'nav-pills': pills && !tabs,\n 'card-header-tabs': !vertical && cardHeader && tabs,\n 'card-header-pills': !vertical && cardHeader && pills && !tabs,\n 'flex-column': vertical,\n 'nav-fill': !vertical && props.fill,\n 'nav-justified': !vertical && props.justified\n }, _defineProperty(_class, computeJustifyContent(align), !vertical && align), _defineProperty(_class, \"small\", props.small), _class)\n }), children);\n }\n});","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-card',{staticClass:\"mb-2 card-selectable\",class:{ selected: _vm.selected },on:{\"click\":_vm.handleSelection}},[(this.selected)?_c('b-icon',{staticClass:\"position-absolute top-0\",attrs:{\"variant\":\"success\",\"font-scale\":\"2\",\"icon\":\"check-circle-fill\"}}):_vm._e(),_vm._v(\" \"),(!_vm.hideImg)?_c('b-img',{staticClass:\"vs-img\",attrs:{\"src\":_vm.card.image,\"center\":\"\",\"rounded\":\"\"}}):_vm._e(),_vm._v(\" \"),(!_vm.hideTitle)?_c('h3',{directives:[{name:\"b-tooltip\",rawName:\"v-b-tooltip.hover.noninteractive.bottom\",modifiers:{\"hover\":true,\"noninteractive\":true,\"bottom\":true}}],staticClass:\"text-center mb-0 text-truncate\",attrs:{\"title\":_vm.card.title}},[_vm._v(\"\\n \"+_vm._s(_vm.card.title)+\"\\n \")]):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Card.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Card.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Card.vue?vue&type=template&id=1465761a&scoped=true&\"\nimport script from \"./Card.vue?vue&type=script&lang=js&\"\nexport * from \"./Card.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Card.vue?vue&type=style&index=0&id=1465761a&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"1465761a\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"mb-3\"},[_c('div',{staticClass:\"form-inline\"},[_c('div',{staticClass:\"form-group mr-1 flex-grow-1\"},[_c('b-form-input',{ref:\"search\",staticClass:\"w-100\",attrs:{\"placeholder\":_vm.placeholder},on:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.fetch.apply(null, arguments)}},model:{value:(_vm.query),callback:function ($$v) {_vm.query=$$v},expression:\"query\"}})],1),_vm._v(\" \"),_c('div',{staticClass:\"form-group\"},[(_vm.updateSearch)?_c('b-button',{attrs:{\"type\":\"submit\",\"variant\":\"success\"},on:{\"click\":_vm.fetch}},[_vm._v(\"\\n Update \"),_c('b-icon',{attrs:{\"icon\":\"arrow-clockwise\"}})],1):_c('b-button',{attrs:{\"type\":\"submit\",\"variant\":\"primary\"},on:{\"click\":_vm.fetch}},[_vm._v(\"\\n Search \"),_c('b-icon',{attrs:{\"icon\":\"search\"}})],1)],1),_vm._v(\" \"),(this.filters.length)?_c('div',{staticClass:\"form-group ml-1\"},[_c('b-button',{attrs:{\"type\":\"submit\",\"variant\":\"secondary\"},on:{\"click\":_vm.toggleFilters}},[_c('span',[_vm._v(\"\\n \"+_vm._s(_vm.filterBtn)+\" \"),(!_vm.filtersOpen)?_c('b-icon',{attrs:{\"icon\":\"chevron-down\"}}):_c('b-icon',{attrs:{\"icon\":\"chevron-up\"}})],1)])],1):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"form-group ml-1\"},[(_vm.existingFilters || _vm.query.length > 1)?_c('b-button',{attrs:{\"type\":\"submit\",\"variant\":\"secondary\"},on:{\"click\":_vm.resetSearch}},[_vm._v(\"\\n Reset\\n \")]):_vm._e()],1)]),_vm._v(\" \"),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.filtersOpen),expression:\"filtersOpen\"}],staticClass:\"position-relative\"},[_c('div',{staticClass:\"card bg-light w-100 position-absolute mt-3\",staticStyle:{\"z-index\":\"999\"}},[_c('div',{staticClass:\"card-body\"},[_c('div',{staticClass:\"row row-cols-1 row-cols-md-4\"},_vm._l((_vm.filters),function(filter,index){return _c('div',{key:(\"filter_\" + index),staticClass:\"col mb-3\"},[(filter.type === 'checkbox')?_c('b-form-checkbox',{attrs:{\"value\":filter.value,\"unchecked-value\":null},on:{\"change\":_vm.handleChange},model:{value:(_vm.selectedFilters[filter.field]),callback:function ($$v) {_vm.$set(_vm.selectedFilters, filter.field, $$v)},expression:\"selectedFilters[filter.field]\"}},[_vm._v(\"\\n \"+_vm._s(filter.title)+\"\\n \")]):_vm._e(),_vm._v(\" \"),(filter.type === 'select')?_c('span',[_c('label',{staticClass:\"label\"},[_vm._v(_vm._s(filter.title))]),_vm._v(\" \"),_c('v-select',{attrs:{\"label\":\"label\",\"placeholder\":\"Select an option\",\"options\":filter.options},on:{\"input\":_vm.handleChange},model:{value:(_vm.selectedFilters[filter.field]),callback:function ($$v) {_vm.$set(_vm.selectedFilters, filter.field, $$v)},expression:\"selectedFilters[filter.field]\"}})],1):_vm._e()],1)}),0)])])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SearchBar.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SearchBar.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SearchBar.vue?vue&type=template&id=7e7aa28f&\"\nimport script from \"./SearchBar.vue?vue&type=script&lang=js&\"\nexport * from \"./SearchBar.vue?vue&type=script&lang=js&\"\nimport style0 from \"./SearchBar.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","function ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n enumerableOnly && (symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n })), keys.push.apply(keys, symbols);\n }\n\n return keys;\n}\n\nfunction _objectSpread(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = null != arguments[i] ? arguments[i] : {};\n i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {\n _defineProperty(target, key, source[key]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n\n return target;\n}\n\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nimport { Vue, mergeData } from '../../vue';\nimport { NAME_CARD_BODY } from '../../constants/components';\nimport { PROP_TYPE_ARRAY_OBJECT_STRING, PROP_TYPE_BOOLEAN } from '../../constants/props';\nimport { sortKeys } from '../../utils/object';\nimport { copyProps, makeProp, makePropsConfigurable, pluckProps, prefixPropName } from '../../utils/props';\nimport { props as cardProps } from '../../mixins/card';\nimport { BCardTitle, props as titleProps } from './card-title';\nimport { BCardSubTitle, props as subTitleProps } from './card-sub-title'; // --- Props ---\n\nexport var props = makePropsConfigurable(sortKeys(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, titleProps), subTitleProps), copyProps(cardProps, prefixPropName.bind(null, 'body'))), {}, {\n bodyClass: makeProp(PROP_TYPE_ARRAY_OBJECT_STRING),\n overlay: makeProp(PROP_TYPE_BOOLEAN, false)\n})), NAME_CARD_BODY); // --- Main component ---\n// @vue/component\n\nexport var BCardBody = /*#__PURE__*/Vue.extend({\n name: NAME_CARD_BODY,\n functional: true,\n props: props,\n render: function render(h, _ref) {\n var _ref2;\n\n var props = _ref.props,\n data = _ref.data,\n children = _ref.children;\n var bodyBgVariant = props.bodyBgVariant,\n bodyBorderVariant = props.bodyBorderVariant,\n bodyTextVariant = props.bodyTextVariant;\n var $title = h();\n\n if (props.title) {\n $title = h(BCardTitle, {\n props: pluckProps(titleProps, props)\n });\n }\n\n var $subTitle = h();\n\n if (props.subTitle) {\n $subTitle = h(BCardSubTitle, {\n props: pluckProps(subTitleProps, props),\n class: ['mb-2']\n });\n }\n\n return h(props.bodyTag, mergeData(data, {\n staticClass: 'card-body',\n class: [(_ref2 = {\n 'card-img-overlay': props.overlay\n }, _defineProperty(_ref2, \"bg-\".concat(bodyBgVariant), bodyBgVariant), _defineProperty(_ref2, \"border-\".concat(bodyBorderVariant), bodyBorderVariant), _defineProperty(_ref2, \"text-\".concat(bodyTextVariant), bodyTextVariant), _ref2), props.bodyClass]\n }), [$title, $subTitle, children]);\n }\n});","import { Vue, mergeData } from '../../vue';\nimport { NAME_CARD_TITLE } from '../../constants/components';\nimport { PROP_TYPE_STRING } from '../../constants/props';\nimport { makeProp, makePropsConfigurable } from '../../utils/props';\nimport { toString } from '../../utils/string'; // --- Props ---\n\nexport var props = makePropsConfigurable({\n title: makeProp(PROP_TYPE_STRING),\n titleTag: makeProp(PROP_TYPE_STRING, 'h4')\n}, NAME_CARD_TITLE); // --- Main component ---\n// @vue/component\n\nexport var BCardTitle = /*#__PURE__*/Vue.extend({\n name: NAME_CARD_TITLE,\n functional: true,\n props: props,\n render: function render(h, _ref) {\n var props = _ref.props,\n data = _ref.data,\n children = _ref.children;\n return h(props.titleTag, mergeData(data, {\n staticClass: 'card-title'\n }), children || toString(props.title));\n }\n});","import { Vue, mergeData } from '../../vue';\nimport { NAME_CARD_SUB_TITLE } from '../../constants/components';\nimport { PROP_TYPE_STRING } from '../../constants/props';\nimport { makeProp, makePropsConfigurable } from '../../utils/props';\nimport { toString } from '../../utils/string'; // --- Props ---\n\nexport var props = makePropsConfigurable({\n subTitle: makeProp(PROP_TYPE_STRING),\n subTitleTag: makeProp(PROP_TYPE_STRING, 'h6'),\n subTitleTextVariant: makeProp(PROP_TYPE_STRING, 'muted')\n}, NAME_CARD_SUB_TITLE); // --- Main component ---\n// @vue/component\n\nexport var BCardSubTitle = /*#__PURE__*/Vue.extend({\n name: NAME_CARD_SUB_TITLE,\n functional: true,\n props: props,\n render: function render(h, _ref) {\n var props = _ref.props,\n data = _ref.data,\n children = _ref.children;\n return h(props.subTitleTag, mergeData(data, {\n staticClass: 'card-subtitle',\n class: [props.subTitleTextVariant ? \"text-\".concat(props.subTitleTextVariant) : null]\n }), children || toString(props.subTitle));\n }\n});","function ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n enumerableOnly && (symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n })), keys.push.apply(keys, symbols);\n }\n\n return keys;\n}\n\nfunction _objectSpread(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = null != arguments[i] ? arguments[i] : {};\n i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {\n _defineProperty(target, key, source[key]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n\n return target;\n}\n\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nimport { Vue, mergeData } from '../../vue';\nimport { NAME_CARD_HEADER } from '../../constants/components';\nimport { PROP_TYPE_ARRAY_OBJECT_STRING, PROP_TYPE_STRING } from '../../constants/props';\nimport { htmlOrText } from '../../utils/html';\nimport { sortKeys } from '../../utils/object';\nimport { copyProps, makeProp, makePropsConfigurable, prefixPropName } from '../../utils/props';\nimport { props as BCardProps } from '../../mixins/card'; // --- Props ---\n\nexport var props = makePropsConfigurable(sortKeys(_objectSpread(_objectSpread({}, copyProps(BCardProps, prefixPropName.bind(null, 'header'))), {}, {\n header: makeProp(PROP_TYPE_STRING),\n headerClass: makeProp(PROP_TYPE_ARRAY_OBJECT_STRING),\n headerHtml: makeProp(PROP_TYPE_STRING)\n})), NAME_CARD_HEADER); // --- Main component ---\n// @vue/component\n\nexport var BCardHeader = /*#__PURE__*/Vue.extend({\n name: NAME_CARD_HEADER,\n functional: true,\n props: props,\n render: function render(h, _ref) {\n var _ref2;\n\n var props = _ref.props,\n data = _ref.data,\n children = _ref.children;\n var headerBgVariant = props.headerBgVariant,\n headerBorderVariant = props.headerBorderVariant,\n headerTextVariant = props.headerTextVariant;\n return h(props.headerTag, mergeData(data, {\n staticClass: 'card-header',\n class: [props.headerClass, (_ref2 = {}, _defineProperty(_ref2, \"bg-\".concat(headerBgVariant), headerBgVariant), _defineProperty(_ref2, \"border-\".concat(headerBorderVariant), headerBorderVariant), _defineProperty(_ref2, \"text-\".concat(headerTextVariant), headerTextVariant), _ref2)],\n domProps: children ? {} : htmlOrText(props.headerHtml, props.header)\n }), children);\n }\n});","function ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n enumerableOnly && (symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n })), keys.push.apply(keys, symbols);\n }\n\n return keys;\n}\n\nfunction _objectSpread(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = null != arguments[i] ? arguments[i] : {};\n i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {\n _defineProperty(target, key, source[key]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n\n return target;\n}\n\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nimport { Vue, mergeData } from '../../vue';\nimport { NAME_CARD_FOOTER } from '../../constants/components';\nimport { PROP_TYPE_ARRAY_OBJECT_STRING, PROP_TYPE_STRING } from '../../constants/props';\nimport { htmlOrText } from '../../utils/html';\nimport { sortKeys } from '../../utils/object';\nimport { copyProps, makeProp, makePropsConfigurable, prefixPropName } from '../../utils/props';\nimport { props as BCardProps } from '../../mixins/card'; // --- Props ---\n\nexport var props = makePropsConfigurable(sortKeys(_objectSpread(_objectSpread({}, copyProps(BCardProps, prefixPropName.bind(null, 'footer'))), {}, {\n footer: makeProp(PROP_TYPE_STRING),\n footerClass: makeProp(PROP_TYPE_ARRAY_OBJECT_STRING),\n footerHtml: makeProp(PROP_TYPE_STRING)\n})), NAME_CARD_FOOTER); // --- Main component ---\n// @vue/component\n\nexport var BCardFooter = /*#__PURE__*/Vue.extend({\n name: NAME_CARD_FOOTER,\n functional: true,\n props: props,\n render: function render(h, _ref) {\n var _ref2;\n\n var props = _ref.props,\n data = _ref.data,\n children = _ref.children;\n var footerBgVariant = props.footerBgVariant,\n footerBorderVariant = props.footerBorderVariant,\n footerTextVariant = props.footerTextVariant;\n return h(props.footerTag, mergeData(data, {\n staticClass: 'card-footer',\n class: [props.footerClass, (_ref2 = {}, _defineProperty(_ref2, \"bg-\".concat(footerBgVariant), footerBgVariant), _defineProperty(_ref2, \"border-\".concat(footerBorderVariant), footerBorderVariant), _defineProperty(_ref2, \"text-\".concat(footerTextVariant), footerTextVariant), _ref2)],\n domProps: children ? {} : htmlOrText(props.footerHtml, props.footer)\n }), children);\n }\n});","var _watch;\n\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n enumerableOnly && (symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n })), keys.push.apply(keys, symbols);\n }\n\n return keys;\n}\n\nfunction _objectSpread(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = null != arguments[i] ? arguments[i] : {};\n i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {\n _defineProperty(target, key, source[key]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n\n return target;\n}\n\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nimport { Vue } from '../../vue';\nimport { NAME_IMG_LAZY } from '../../constants/components';\nimport { HAS_INTERACTION_OBSERVER_SUPPORT } from '../../constants/env';\nimport { MODEL_EVENT_NAME_PREFIX } from '../../constants/events';\nimport { PROP_TYPE_BOOLEAN, PROP_TYPE_NUMBER_STRING, PROP_TYPE_STRING } from '../../constants/props';\nimport { concat } from '../../utils/array';\nimport { requestAF } from '../../utils/dom';\nimport { identity } from '../../utils/identity';\nimport { toInteger } from '../../utils/number';\nimport { omit } from '../../utils/object';\nimport { makeProp, makePropsConfigurable, pluckProps } from '../../utils/props';\nimport { VBVisible } from '../../directives/visible/visible';\nimport { BImg, props as BImgProps } from './img'; // --- Constants ---\n\nvar MODEL_PROP_NAME_SHOW = 'show';\nvar MODEL_EVENT_NAME_SHOW = MODEL_EVENT_NAME_PREFIX + MODEL_PROP_NAME_SHOW; // --- Props ---\n\nvar imgProps = omit(BImgProps, ['blank']);\nexport var props = makePropsConfigurable(_objectSpread(_objectSpread({}, imgProps), {}, _defineProperty({\n blankHeight: makeProp(PROP_TYPE_NUMBER_STRING),\n // If `null`, a blank image is generated\n blankSrc: makeProp(PROP_TYPE_STRING, null),\n blankWidth: makeProp(PROP_TYPE_NUMBER_STRING),\n // Distance away from viewport (in pixels)\n // before being considered \"visible\"\n offset: makeProp(PROP_TYPE_NUMBER_STRING, 360)\n}, MODEL_PROP_NAME_SHOW, makeProp(PROP_TYPE_BOOLEAN, false))), NAME_IMG_LAZY); // --- Main component ---\n// @vue/component\n\nexport var BImgLazy = /*#__PURE__*/Vue.extend({\n name: NAME_IMG_LAZY,\n directives: {\n 'b-visible': VBVisible\n },\n props: props,\n data: function data() {\n return {\n isShown: this[MODEL_PROP_NAME_SHOW]\n };\n },\n computed: {\n computedSrc: function computedSrc() {\n var blankSrc = this.blankSrc;\n return !blankSrc || this.isShown ? this.src : blankSrc;\n },\n computedBlank: function computedBlank() {\n return !(this.isShown || this.blankSrc);\n },\n computedWidth: function computedWidth() {\n var width = this.width;\n return this.isShown ? width : this.blankWidth || width;\n },\n computedHeight: function computedHeight() {\n var height = this.height;\n return this.isShown ? height : this.blankHeight || height;\n },\n computedSrcset: function computedSrcset() {\n var srcset = concat(this.srcset).filter(identity).join(',');\n return srcset && (!this.blankSrc || this.isShown) ? srcset : null;\n },\n computedSizes: function computedSizes() {\n var sizes = concat(this.sizes).filter(identity).join(',');\n return sizes && (!this.blankSrc || this.isShown) ? sizes : null;\n }\n },\n watch: (_watch = {}, _defineProperty(_watch, MODEL_PROP_NAME_SHOW, function (newValue, oldValue) {\n if (newValue !== oldValue) {\n // If `IntersectionObserver` support is not available, image is always shown\n var visible = HAS_INTERACTION_OBSERVER_SUPPORT ? newValue : true;\n this.isShown = visible; // Ensure the show prop is synced (when no `IntersectionObserver`)\n\n if (newValue !== visible) {\n this.$nextTick(this.updateShowProp);\n }\n }\n }), _defineProperty(_watch, \"isShown\", function isShown(newValue, oldValue) {\n // Update synched show prop\n if (newValue !== oldValue) {\n this.updateShowProp();\n }\n }), _watch),\n mounted: function mounted() {\n // If `IntersectionObserver` is not available, image is always shown\n this.isShown = HAS_INTERACTION_OBSERVER_SUPPORT ? this[MODEL_PROP_NAME_SHOW] : true;\n },\n methods: {\n updateShowProp: function updateShowProp() {\n this.$emit(MODEL_EVENT_NAME_SHOW, this.isShown);\n },\n doShow: function doShow(visible) {\n var _this = this; // If IntersectionObserver is not supported, the callback\n // will be called with `null` rather than `true` or `false`\n\n\n if ((visible || visible === null) && !this.isShown) {\n // In a `requestAF()` to render the `blank` placeholder properly\n // for fast loading images in some browsers (i.e. Firefox)\n requestAF(function () {\n _this.isShown = true;\n });\n }\n }\n },\n render: function render(h) {\n var directives = [];\n\n if (!this.isShown) {\n var _modifiers; // We only add the visible directive if we are not shown\n\n\n directives.push({\n // Visible directive will silently do nothing if\n // `IntersectionObserver` is not supported\n name: 'b-visible',\n // Value expects a callback (passed one arg of `visible` = `true` or `false`)\n value: this.doShow,\n modifiers: (_modifiers = {}, _defineProperty(_modifiers, \"\".concat(toInteger(this.offset, 0)), true), _defineProperty(_modifiers, \"once\", true), _modifiers)\n });\n }\n\n return h(BImg, {\n directives: directives,\n props: _objectSpread(_objectSpread({}, pluckProps(imgProps, this.$props)), {}, {\n // Computed value props\n src: this.computedSrc,\n blank: this.computedBlank,\n width: this.computedWidth,\n height: this.computedHeight,\n srcset: this.computedSrcset,\n sizes: this.computedSizes\n })\n });\n }\n});","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('vue-dropzone',{ref:\"dropzone\",attrs:{\"useCustomSlot\":true,\"id\":\"dropzone\",\"options\":_vm.dropzoneOptions},on:{\"vdropzone-file-added\":_vm.fileAdded,\"vdropzone-removed-file\":_vm.fileRemoved}},[_c('div',{staticClass:\"dropzone-container\"},[_c('div',{staticClass:\"file-selector\"},[_c('figure',{staticClass:\"m-0\"},[_c('svg',{attrs:{\"width\":\"104px\",\"height\":\"104px\",\"viewBox\":\"0 0 104 104\",\"version\":\"1.1\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"xmlns:xlink\":\"http://www.w3.org/1999/xlink\"}},[_c('defs',[_c('circle',{attrs:{\"id\":\"path-1\",\"cx\":\"36\",\"cy\":\"36\",\"r\":\"36\"}}),_vm._v(\" \"),_c('filter',{attrs:{\"x\":\"-37.5%\",\"y\":\"-29.2%\",\"width\":\"175.0%\",\"height\":\"175.0%\",\"filterUnits\":\"objectBoundingBox\",\"id\":\"filter-2\"}},[_c('feOffset',{attrs:{\"dx\":\"0\",\"dy\":\"6\",\"in\":\"SourceAlpha\",\"result\":\"shadowOffsetOuter1\"}}),_vm._v(\" \"),_c('feGaussianBlur',{attrs:{\"stdDeviation\":\"8\",\"in\":\"shadowOffsetOuter1\",\"result\":\"shadowBlurOuter1\"}}),_vm._v(\" \"),_c('feColorMatrix',{attrs:{\"values\":\"0 0 0 0 0.0117647059 0 0 0 0 0.0862745098 0 0 0 0 0.160784314 0 0 0 0.08 0\",\"type\":\"matrix\",\"in\":\"shadowBlurOuter1\",\"result\":\"shadowMatrixOuter1\"}}),_vm._v(\" \"),_c('feOffset',{attrs:{\"dx\":\"0\",\"dy\":\"1\",\"in\":\"SourceAlpha\",\"result\":\"shadowOffsetOuter2\"}}),_vm._v(\" \"),_c('feGaussianBlur',{attrs:{\"stdDeviation\":\"1\",\"in\":\"shadowOffsetOuter2\",\"result\":\"shadowBlurOuter2\"}}),_vm._v(\" \"),_c('feColorMatrix',{attrs:{\"values\":\"0 0 0 0 0.0117647059 0 0 0 0 0.0862745098 0 0 0 0 0.160784314 0 0 0 0.11 0\",\"type\":\"matrix\",\"in\":\"shadowBlurOuter2\",\"result\":\"shadowMatrixOuter2\"}}),_vm._v(\" \"),_c('feMerge',[_c('feMergeNode',{attrs:{\"in\":\"shadowMatrixOuter1\"}}),_vm._v(\" \"),_c('feMergeNode',{attrs:{\"in\":\"shadowMatrixOuter2\"}})],1)],1)]),_vm._v(\" \"),_c('g',{attrs:{\"id\":\"Page-1\",\"stroke\":\"none\",\"stroke-width\":\"1\",\"fill\":\"none\",\"fill-rule\":\"evenodd\"}},[_c('g',{attrs:{\"id\":\"Artboard\",\"transform\":\"translate(-460.000000, -125.000000)\"}},[_c('g',{attrs:{\"id\":\"Group-4\",\"transform\":\"translate(412.000000, 129.000000)\"}},[_c('g',{attrs:{\"id\":\"Group-2\",\"transform\":\"translate(58.000000, 0.000000)\"}},[_c('circle',{attrs:{\"id\":\"Oval\",\"fill\":\"#3560FF\",\"opacity\":\"0.100000001\",\"cx\":\"42\",\"cy\":\"42\",\"r\":\"42\"}}),_vm._v(\" \"),_c('g',{attrs:{\"id\":\"Group\",\"transform\":\"translate(6.000000, 6.000000)\"}},[_c('g',{attrs:{\"id\":\"Oval\"}},[_c('use',{attrs:{\"fill\":\"black\",\"fill-opacity\":\"1\",\"filter\":\"url(#filter-2)\",\"xlink:href\":\"#path-1\"}}),_vm._v(\" \"),_c('use',{attrs:{\"fill\":\"#FFFFFF\",\"fill-rule\":\"evenodd\",\"xlink:href\":\"#path-1\"}})]),_vm._v(\" \"),_c('g',{attrs:{\"id\":\"upload-cloud\",\"transform\":\"translate(21.818182, 24.000000)\",\"stroke-linecap\":\"round\",\"stroke-linejoin\":\"round\",\"stroke-width\":\"2\"}},[_c('polyline',{attrs:{\"id\":\"Path\",\"stroke\":\"#000000\",\"points\":\"19.6458087 17.3789847 14.3565525 12.0897285 9.06729634 17.3789847\"}}),_vm._v(\" \"),_c('path',{attrs:{\"d\":\"M14.3565525,12.0897285 L14.3565525,24.1794569\",\"id\":\"Path\",\"stroke\":\"#3560FF\"}}),_vm._v(\" \"),_c('path',{attrs:{\"d\":\"M25.6438239,20.7792208 C28.2965835,19.3021499 29.6312816,16.1761528 28.8860265,13.1856562 C28.1407715,10.1951596 25.5052337,8.10125672 22.4838689,8.09921935 L20.8179512,8.09921935 C19.7219904,3.76967373 16.1275086,0.577339516 11.7773112,0.0700384831 C7.42711383,-0.43726255 3.22057026,1.84535014 1.19724759,5.81113853 C-0.826075091,9.77692693 -0.247870665,14.6059952 2.6515151,17.9569414\",\"id\":\"Path\",\"stroke\":\"#3560FF\"}}),_vm._v(\" \"),_c('polyline',{attrs:{\"id\":\"Path\",\"stroke\":\"#3560FF\",\"points\":\"19.6458087 17.3789847 14.3565525 12.0897285 9.06729634 17.3789847\"}})])])])])])])])]),_vm._v(\"\\n Drop or Add Files Here\\n \"),_c('p',{staticClass:\"separator\"},[_c('span',[_vm._v(\" or \")])]),_vm._v(\" \"),_c('b-button',{attrs:{\"variant\":\"primary\"}},[_vm._v(\"Browse\")])],1)])]),_vm._v(\" \"),(_vm.uploadOnAdd && _vm.previewUrl)?_c('div',{staticClass:\"alert alert-success mt-3\"},[_vm._t(\"hasSuccessfulUpload\",function(){return [_vm._v(\"\\n Your file was accepted but the change will not take place until you click 'Save'.\\n \"),_c('a',{attrs:{\"href\":_vm.previewUrl,\"target\":\"_blank\"}},[_vm._v(\"Preview\")])]},{\"previewUrl\":_vm.previewUrl})],2):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DropzoneContainer.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DropzoneContainer.vue?vue&type=script&lang=js&\"","import { DirectUpload } from '@rails/activestorage';\n\n// This mixin requires you have data prop for file and a ref called dropzone on the dropzone element\nconst directUpload = {\n\n methods: {\n // callbacks from active storage\n directUploadWillStoreFileWithXHR(xhr) {\n xhr.upload.addEventListener('progress', (event) => this.onProgress(event));\n this.file.status = 'uploading';\n this.$refs.dropzone.$el.dropzone.emit('processing', this.file);\n },\n\n onProgress(event) {\n const progress = (event.loaded / event.total) * 100;\n this.$refs.dropzone.$el.querySelector('.dz-upload').style.width = `${progress}%`;\n },\n\n upload() {\n if (this.dzWillUploadCallback) this.dzWillUploadCallback();\n const upload = new DirectUpload(this.file, this.dropzoneOptions.url, this);\n upload.create((error, blob) => {\n if (error) {\n this.fileRemoved();\n this.emitDropzoneError();\n if (this.dzUploadErrorCallback) this.dzUploadErrorCallback(error);\n } else {\n const urlToView = `/rails/active_storage/blobs/${blob.signed_id}/${blob.filename}`;\n this.emitDropzoneSuccess();\n if (this.dzUploadSuccessCallback) this.dzUploadSuccessCallback(urlToView, blob);\n }\n });\n },\n\n emitDropzoneSuccess() {\n this.file.status = 'success';\n this.$refs.dropzone.$el.dropzone.emit('success', this.file);\n this.$refs.dropzone.$el.dropzone.emit('complete', this.file);\n },\n\n emitDropzoneError(error) {\n this.file.status = 'error';\n this.$refs.dropzone.$el.dropzone.emit('error', this.file, error);\n this.$refs.dropzone.$el.dropzone.emit('complete', this.file);\n },\n\n },\n};\n\nexport default directUpload;\n","import { render, staticRenderFns } from \"./DropzoneContainer.vue?vue&type=template&id=78788ad4&\"\nimport script from \"./DropzoneContainer.vue?vue&type=script&lang=js&\"\nexport * from \"./DropzoneContainer.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","function ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n enumerableOnly && (symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n })), keys.push.apply(keys, symbols);\n }\n\n return keys;\n}\n\nfunction _objectSpread(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = null != arguments[i] ? arguments[i] : {};\n i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {\n _defineProperty(target, key, source[key]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n\n return target;\n}\n\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nimport { Vue, mergeData } from '../../vue';\nimport { NAME_INPUT_GROUP_PREPEND } from '../../constants/components';\nimport { omit } from '../../utils/object';\nimport { makePropsConfigurable } from '../../utils/props';\nimport { BInputGroupAddon, props as BInputGroupAddonProps } from './input-group-addon'; // --- Props ---\n\nexport var props = makePropsConfigurable(omit(BInputGroupAddonProps, ['append']), NAME_INPUT_GROUP_PREPEND); // --- Main component ---\n// @vue/component\n\nexport var BInputGroupPrepend = /*#__PURE__*/Vue.extend({\n name: NAME_INPUT_GROUP_PREPEND,\n functional: true,\n props: props,\n render: function render(h, _ref) {\n var props = _ref.props,\n data = _ref.data,\n children = _ref.children; // Pass all our data down to child, and set `append` to `true`\n\n return h(BInputGroupAddon, mergeData(data, {\n props: _objectSpread(_objectSpread({}, props), {}, {\n append: false\n })\n }), children);\n }\n});","function ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n enumerableOnly && (symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n })), keys.push.apply(keys, symbols);\n }\n\n return keys;\n}\n\nfunction _objectSpread(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = null != arguments[i] ? arguments[i] : {};\n i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {\n _defineProperty(target, key, source[key]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n\n return target;\n}\n\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nimport { Vue, mergeData } from '../../vue';\nimport { NAME_INPUT_GROUP_APPEND } from '../../constants/components';\nimport { omit } from '../../utils/object';\nimport { makePropsConfigurable } from '../../utils/props';\nimport { BInputGroupAddon, props as BInputGroupAddonProps } from './input-group-addon'; // --- Props ---\n\nexport var props = makePropsConfigurable(omit(BInputGroupAddonProps, ['append']), NAME_INPUT_GROUP_APPEND); // --- Main component ---\n// @vue/component\n\nexport var BInputGroupAppend = /*#__PURE__*/Vue.extend({\n name: NAME_INPUT_GROUP_APPEND,\n functional: true,\n props: props,\n render: function render(h, _ref) {\n var props = _ref.props,\n data = _ref.data,\n children = _ref.children; // Pass all our data down to child, and set `append` to `true`\n\n return h(BInputGroupAddon, mergeData(data, {\n props: _objectSpread(_objectSpread({}, props), {}, {\n append: true\n })\n }), children);\n }\n});","function _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nimport { Vue, mergeData } from '../../vue';\nimport { NAME_SPINNER } from '../../constants/components';\nimport { PROP_TYPE_BOOLEAN, PROP_TYPE_STRING } from '../../constants/props';\nimport { SLOT_NAME_LABEL } from '../../constants/slots';\nimport { normalizeSlot } from '../../utils/normalize-slot';\nimport { makeProp, makePropsConfigurable } from '../../utils/props'; // --- Props ---\n\nexport var props = makePropsConfigurable({\n label: makeProp(PROP_TYPE_STRING),\n role: makeProp(PROP_TYPE_STRING, 'status'),\n small: makeProp(PROP_TYPE_BOOLEAN, false),\n tag: makeProp(PROP_TYPE_STRING, 'span'),\n type: makeProp(PROP_TYPE_STRING, 'border'),\n variant: makeProp(PROP_TYPE_STRING)\n}, NAME_SPINNER); // --- Main component ---\n// @vue/component\n\nexport var BSpinner = /*#__PURE__*/Vue.extend({\n name: NAME_SPINNER,\n functional: true,\n props: props,\n render: function render(h, _ref) {\n var _class;\n\n var props = _ref.props,\n data = _ref.data,\n slots = _ref.slots,\n scopedSlots = _ref.scopedSlots;\n var $slots = slots();\n var $scopedSlots = scopedSlots || {};\n var $label = normalizeSlot(SLOT_NAME_LABEL, {}, $scopedSlots, $slots) || props.label;\n\n if ($label) {\n $label = h('span', {\n staticClass: 'sr-only'\n }, $label);\n }\n\n return h(props.tag, mergeData(data, {\n attrs: {\n role: $label ? props.role || 'status' : null,\n 'aria-hidden': $label ? null : 'true'\n },\n class: (_class = {}, _defineProperty(_class, \"spinner-\".concat(props.type), props.type), _defineProperty(_class, \"spinner-\".concat(props.type, \"-sm\"), props.small), _defineProperty(_class, \"text-\".concat(props.variant), props.variant), _class)\n }), [$label || h()]);\n }\n});","import { NAME_COLLAPSE } from '../../constants/components';\nimport { IS_BROWSER } from '../../constants/env';\nimport { EVENT_OPTIONS_PASSIVE } from '../../constants/events';\nimport { CODE_ENTER, CODE_SPACE } from '../../constants/key-codes';\nimport { RX_HASH, RX_HASH_ID, RX_SPACE_SPLIT } from '../../constants/regex';\nimport { arrayIncludes, concat } from '../../utils/array';\nimport { addClass, getAttr, hasAttr, isDisabled, isTag, removeAttr, removeClass, removeStyle, requestAF, setAttr, setStyle } from '../../utils/dom';\nimport { getRootActionEventName, getRootEventName, eventOn, eventOff } from '../../utils/events';\nimport { isString } from '../../utils/inspect';\nimport { looseEqual } from '../../utils/loose-equal';\nimport { keys } from '../../utils/object'; // --- Constants ---\n// Classes to apply to trigger element\n\nvar CLASS_BV_TOGGLE_COLLAPSED = 'collapsed';\nvar CLASS_BV_TOGGLE_NOT_COLLAPSED = 'not-collapsed'; // Property key for handler storage\n\nvar BV_BASE = '__BV_toggle'; // Root event listener property (Function)\n\nvar BV_TOGGLE_ROOT_HANDLER = \"\".concat(BV_BASE, \"_HANDLER__\"); // Trigger element click handler property (Function)\n\nvar BV_TOGGLE_CLICK_HANDLER = \"\".concat(BV_BASE, \"_CLICK__\"); // Target visibility state property (Boolean)\n\nvar BV_TOGGLE_STATE = \"\".concat(BV_BASE, \"_STATE__\"); // Target ID list property (Array)\n\nvar BV_TOGGLE_TARGETS = \"\".concat(BV_BASE, \"_TARGETS__\"); // Commonly used strings\n\nvar STRING_FALSE = 'false';\nvar STRING_TRUE = 'true'; // Commonly used attribute names\n\nvar ATTR_ARIA_CONTROLS = 'aria-controls';\nvar ATTR_ARIA_EXPANDED = 'aria-expanded';\nvar ATTR_ROLE = 'role';\nvar ATTR_TABINDEX = 'tabindex'; // Commonly used style properties\n\nvar STYLE_OVERFLOW_ANCHOR = 'overflow-anchor'; // Emitted control event for collapse (emitted to collapse)\n\nvar ROOT_ACTION_EVENT_NAME_TOGGLE = getRootActionEventName(NAME_COLLAPSE, 'toggle'); // Listen to event for toggle state update (emitted by collapse)\n\nvar ROOT_EVENT_NAME_STATE = getRootEventName(NAME_COLLAPSE, 'state'); // Private event emitted on `$root` to ensure the toggle state is always synced\n// Gets emitted even if the state of b-collapse has not changed\n// This event is NOT to be documented as people should not be using it\n\nvar ROOT_EVENT_NAME_SYNC_STATE = getRootEventName(NAME_COLLAPSE, 'sync-state'); // Private event we send to collapse to request state update sync event\n\nvar ROOT_ACTION_EVENT_NAME_REQUEST_STATE = getRootActionEventName(NAME_COLLAPSE, 'request-state');\nvar KEYDOWN_KEY_CODES = [CODE_ENTER, CODE_SPACE]; // --- Helper methods ---\n\nvar isNonStandardTag = function isNonStandardTag(el) {\n return !arrayIncludes(['button', 'a'], el.tagName.toLowerCase());\n};\n\nvar getTargets = function getTargets(_ref, el) {\n var modifiers = _ref.modifiers,\n arg = _ref.arg,\n value = _ref.value; // Any modifiers are considered target IDs\n\n var targets = keys(modifiers || {}); // If value is a string, split out individual targets (if space delimited)\n\n value = isString(value) ? value.split(RX_SPACE_SPLIT) : value; // Support target ID as link href (`href=\"#id\"`)\n\n if (isTag(el.tagName, 'a')) {\n var href = getAttr(el, 'href') || '';\n\n if (RX_HASH_ID.test(href)) {\n targets.push(href.replace(RX_HASH, ''));\n }\n } // Add ID from `arg` (if provided), and support value\n // as a single string ID or an array of string IDs\n // If `value` is not an array or string, then it gets filtered out\n\n\n concat(arg, value).forEach(function (t) {\n return isString(t) && targets.push(t);\n }); // Return only unique and truthy target IDs\n\n return targets.filter(function (t, index, arr) {\n return t && arr.indexOf(t) === index;\n });\n};\n\nvar removeClickListener = function removeClickListener(el) {\n var handler = el[BV_TOGGLE_CLICK_HANDLER];\n\n if (handler) {\n eventOff(el, 'click', handler, EVENT_OPTIONS_PASSIVE);\n eventOff(el, 'keydown', handler, EVENT_OPTIONS_PASSIVE);\n }\n\n el[BV_TOGGLE_CLICK_HANDLER] = null;\n};\n\nvar addClickListener = function addClickListener(el, vnode) {\n removeClickListener(el);\n\n if (vnode.context) {\n var handler = function handler(event) {\n if (!(event.type === 'keydown' && !arrayIncludes(KEYDOWN_KEY_CODES, event.keyCode)) && !isDisabled(el)) {\n var targets = el[BV_TOGGLE_TARGETS] || [];\n targets.forEach(function (target) {\n vnode.context.$root.$emit(ROOT_ACTION_EVENT_NAME_TOGGLE, target);\n });\n }\n };\n\n el[BV_TOGGLE_CLICK_HANDLER] = handler;\n eventOn(el, 'click', handler, EVENT_OPTIONS_PASSIVE);\n\n if (isNonStandardTag(el)) {\n eventOn(el, 'keydown', handler, EVENT_OPTIONS_PASSIVE);\n }\n }\n};\n\nvar removeRootListeners = function removeRootListeners(el, vnode) {\n if (el[BV_TOGGLE_ROOT_HANDLER] && vnode.context) {\n vnode.context.$root.$off([ROOT_EVENT_NAME_STATE, ROOT_EVENT_NAME_SYNC_STATE], el[BV_TOGGLE_ROOT_HANDLER]);\n }\n\n el[BV_TOGGLE_ROOT_HANDLER] = null;\n};\n\nvar addRootListeners = function addRootListeners(el, vnode) {\n removeRootListeners(el, vnode);\n\n if (vnode.context) {\n var handler = function handler(id, state) {\n // `state` will be `true` if target is expanded\n if (arrayIncludes(el[BV_TOGGLE_TARGETS] || [], id)) {\n // Set/Clear 'collapsed' visibility class state\n el[BV_TOGGLE_STATE] = state; // Set `aria-expanded` and class state on trigger element\n\n setToggleState(el, state);\n }\n };\n\n el[BV_TOGGLE_ROOT_HANDLER] = handler; // Listen for toggle state changes (public) and sync (private)\n\n vnode.context.$root.$on([ROOT_EVENT_NAME_STATE, ROOT_EVENT_NAME_SYNC_STATE], handler);\n }\n};\n\nvar setToggleState = function setToggleState(el, state) {\n // State refers to the visibility of the collapse/sidebar\n if (state) {\n removeClass(el, CLASS_BV_TOGGLE_COLLAPSED);\n addClass(el, CLASS_BV_TOGGLE_NOT_COLLAPSED);\n setAttr(el, ATTR_ARIA_EXPANDED, STRING_TRUE);\n } else {\n removeClass(el, CLASS_BV_TOGGLE_NOT_COLLAPSED);\n addClass(el, CLASS_BV_TOGGLE_COLLAPSED);\n setAttr(el, ATTR_ARIA_EXPANDED, STRING_FALSE);\n }\n}; // Reset and remove a property from the provided element\n\n\nvar resetProp = function resetProp(el, prop) {\n el[prop] = null;\n delete el[prop];\n}; // Handle directive updates\n\n\nvar handleUpdate = function handleUpdate(el, binding, vnode) {\n /* istanbul ignore next: should never happen */\n if (!IS_BROWSER || !vnode.context) {\n return;\n } // If element is not a button or link, we add `role=\"button\"`\n // and `tabindex=\"0\"` for accessibility reasons\n\n\n if (isNonStandardTag(el)) {\n if (!hasAttr(el, ATTR_ROLE)) {\n setAttr(el, ATTR_ROLE, 'button');\n }\n\n if (!hasAttr(el, ATTR_TABINDEX)) {\n setAttr(el, ATTR_TABINDEX, '0');\n }\n } // Ensure the collapse class and `aria-*` attributes persist\n // after element is updated (either by parent re-rendering\n // or changes to this element or its contents)\n\n\n setToggleState(el, el[BV_TOGGLE_STATE]); // Parse list of target IDs\n\n var targets = getTargets(binding, el); // Ensure the `aria-controls` hasn't been overwritten\n // or removed when vnode updates\n // Also ensure to set `overflow-anchor` to `none` to prevent\n // the browser's scroll anchoring behavior\n\n /* istanbul ignore else */\n\n if (targets.length > 0) {\n setAttr(el, ATTR_ARIA_CONTROLS, targets.join(' '));\n setStyle(el, STYLE_OVERFLOW_ANCHOR, 'none');\n } else {\n removeAttr(el, ATTR_ARIA_CONTROLS);\n removeStyle(el, STYLE_OVERFLOW_ANCHOR);\n } // Add/Update our click listener(s)\n // Wrap in a `requestAF()` to allow any previous\n // click handling to occur first\n\n\n requestAF(function () {\n addClickListener(el, vnode);\n }); // If targets array has changed, update\n\n if (!looseEqual(targets, el[BV_TOGGLE_TARGETS])) {\n // Update targets array to element storage\n el[BV_TOGGLE_TARGETS] = targets; // Ensure `aria-controls` is up to date\n // Request a state update from targets so that we can\n // ensure expanded state is correct (in most cases)\n\n targets.forEach(function (target) {\n vnode.context.$root.$emit(ROOT_ACTION_EVENT_NAME_REQUEST_STATE, target);\n });\n }\n};\n/*\n * Export our directive\n */\n\n\nexport var VBToggle = {\n bind: function bind(el, binding, vnode) {\n // State is initially collapsed until we receive a state event\n el[BV_TOGGLE_STATE] = false; // Assume no targets initially\n\n el[BV_TOGGLE_TARGETS] = []; // Add our root listeners\n\n addRootListeners(el, vnode); // Initial update of trigger\n\n handleUpdate(el, binding, vnode);\n },\n componentUpdated: handleUpdate,\n updated: handleUpdate,\n unbind: function unbind(el, binding, vnode) {\n removeClickListener(el); // Remove our $root listener\n\n removeRootListeners(el, vnode); // Reset custom props\n\n resetProp(el, BV_TOGGLE_ROOT_HANDLER);\n resetProp(el, BV_TOGGLE_CLICK_HANDLER);\n resetProp(el, BV_TOGGLE_STATE);\n resetProp(el, BV_TOGGLE_TARGETS); // Reset classes/attrs/styles\n\n removeClass(el, CLASS_BV_TOGGLE_COLLAPSED);\n removeClass(el, CLASS_BV_TOGGLE_NOT_COLLAPSED);\n removeAttr(el, ATTR_ARIA_EXPANDED);\n removeAttr(el, ATTR_ARIA_CONTROLS);\n removeAttr(el, ATTR_ROLE);\n removeStyle(el, STYLE_OVERFLOW_ANCHOR);\n }\n};","function _classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n}\n\nfunction _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n}\n\nfunction _createClass(Constructor, protoProps, staticProps) {\n if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n if (staticProps) _defineProperties(Constructor, staticProps);\n Object.defineProperty(Constructor, \"prototype\", {\n writable: false\n });\n return Constructor;\n} // v-b-visible\n// Private visibility check directive\n// Based on IntersectionObserver\n//\n// Usage:\n// v-b-visibility..=\"\"\n//\n// Value:\n// : method to be called when visibility state changes, receives one arg:\n// true: element is visible\n// false: element is not visible\n// null: IntersectionObserver not supported\n//\n// Modifiers:\n// : a positive decimal value of pixels away from viewport edge\n// before being considered \"visible\". default is 0\n// : keyword 'once', meaning when the element becomes visible and\n// callback is called observation/notification will stop.\n//\n// When used in a render function:\n// export default {\n// directives: { 'b-visible': VBVisible },\n// render(h) {\n// h(\n// 'div',\n// {\n// directives: [\n// { name: 'b-visible', value=this.callback, modifiers: { '123':true, 'once':true } }\n// ]\n// }\n// )\n// }\n\n\nimport { RX_DIGITS } from '../../constants/regex';\nimport { requestAF } from '../../utils/dom';\nimport { isFunction } from '../../utils/inspect';\nimport { looseEqual } from '../../utils/loose-equal';\nimport { clone, keys } from '../../utils/object';\nvar OBSERVER_PROP_NAME = '__bv__visibility_observer';\n\nvar VisibilityObserver = /*#__PURE__*/function () {\n function VisibilityObserver(el, options, vnode) {\n _classCallCheck(this, VisibilityObserver);\n\n this.el = el;\n this.callback = options.callback;\n this.margin = options.margin || 0;\n this.once = options.once || false;\n this.observer = null;\n this.visible = undefined;\n this.doneOnce = false; // Create the observer instance (if possible)\n\n this.createObserver(vnode);\n }\n\n _createClass(VisibilityObserver, [{\n key: \"createObserver\",\n value: function createObserver(vnode) {\n var _this = this; // Remove any previous observer\n\n\n if (this.observer) {\n /* istanbul ignore next */\n this.stop();\n } // Should only be called once and `callback` prop should be a function\n\n\n if (this.doneOnce || !isFunction(this.callback)) {\n /* istanbul ignore next */\n return;\n } // Create the observer instance\n\n\n try {\n // Future: Possibly add in other modifiers for left/right/top/bottom\n // offsets, root element reference, and thresholds\n this.observer = new IntersectionObserver(this.handler.bind(this), {\n // `null` = 'viewport'\n root: null,\n // Pixels away from view port to consider \"visible\"\n rootMargin: this.margin,\n // Intersection ratio of el and root (as a value from 0 to 1)\n threshold: 0\n });\n } catch (_unused) {\n // No IntersectionObserver support, so just stop trying to observe\n this.doneOnce = true;\n this.observer = undefined;\n this.callback(null);\n return;\n } // Start observing in a `$nextTick()` (to allow DOM to complete rendering)\n\n /* istanbul ignore next: IntersectionObserver not supported in JSDOM */\n\n\n vnode.context.$nextTick(function () {\n requestAF(function () {\n // Placed in an `if` just in case we were destroyed before\n // this `requestAnimationFrame` runs\n if (_this.observer) {\n _this.observer.observe(_this.el);\n }\n });\n });\n }\n /* istanbul ignore next */\n\n }, {\n key: \"handler\",\n value: function handler(entries) {\n var entry = entries ? entries[0] : {};\n var isIntersecting = Boolean(entry.isIntersecting || entry.intersectionRatio > 0.0);\n\n if (isIntersecting !== this.visible) {\n this.visible = isIntersecting;\n this.callback(isIntersecting);\n\n if (this.once && this.visible) {\n this.doneOnce = true;\n this.stop();\n }\n }\n }\n }, {\n key: \"stop\",\n value: function stop() {\n /* istanbul ignore next */\n this.observer && this.observer.disconnect();\n this.observer = null;\n }\n }]);\n\n return VisibilityObserver;\n}();\n\nvar destroy = function destroy(el) {\n var observer = el[OBSERVER_PROP_NAME];\n\n if (observer && observer.stop) {\n observer.stop();\n }\n\n delete el[OBSERVER_PROP_NAME];\n};\n\nvar bind = function bind(el, _ref, vnode) {\n var value = _ref.value,\n modifiers = _ref.modifiers; // `value` is the callback function\n\n var options = {\n margin: '0px',\n once: false,\n callback: value\n }; // Parse modifiers\n\n keys(modifiers).forEach(function (mod) {\n /* istanbul ignore else: Until is switched to use this directive */\n if (RX_DIGITS.test(mod)) {\n options.margin = \"\".concat(mod, \"px\");\n } else if (mod.toLowerCase() === 'once') {\n options.once = true;\n }\n }); // Destroy any previous observer\n\n destroy(el); // Create new observer\n\n el[OBSERVER_PROP_NAME] = new VisibilityObserver(el, options, vnode); // Store the current modifiers on the object (cloned)\n\n el[OBSERVER_PROP_NAME]._prevModifiers = clone(modifiers);\n}; // When the directive options may have been updated (or element)\n\n\nvar componentUpdated = function componentUpdated(el, _ref2, vnode) {\n var value = _ref2.value,\n oldValue = _ref2.oldValue,\n modifiers = _ref2.modifiers; // Compare value/oldValue and modifiers to see if anything has changed\n // and if so, destroy old observer and create new observer\n\n /* istanbul ignore next */\n\n modifiers = clone(modifiers);\n /* istanbul ignore next */\n\n if (el && (value !== oldValue || !el[OBSERVER_PROP_NAME] || !looseEqual(modifiers, el[OBSERVER_PROP_NAME]._prevModifiers))) {\n // Re-bind on element\n bind(el, {\n value: value,\n modifiers: modifiers\n }, vnode);\n }\n}; // When directive un-binds from element\n\n\nvar unbind = function unbind(el) {\n // Remove the observer\n destroy(el);\n}; // Export the directive\n\n\nexport var VBVisible = {\n bind: bind,\n componentUpdated: componentUpdated,\n unbind: unbind\n};","function ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n enumerableOnly && (symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n })), keys.push.apply(keys, symbols);\n }\n\n return keys;\n}\n\nfunction _objectSpread(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = null != arguments[i] ? arguments[i] : {};\n i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {\n _defineProperty(target, key, source[key]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n\n return target;\n}\n\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nimport { Vue } from '../../vue';\nimport { NAME_FORM_TEXTAREA } from '../../constants/components';\nimport { PROP_TYPE_BOOLEAN, PROP_TYPE_NUMBER_STRING, PROP_TYPE_STRING } from '../../constants/props';\nimport { getCS, getStyle, isVisible, requestAF, setStyle } from '../../utils/dom';\nimport { isNull } from '../../utils/inspect';\nimport { mathCeil, mathMax, mathMin } from '../../utils/math';\nimport { toInteger, toFloat } from '../../utils/number';\nimport { sortKeys } from '../../utils/object';\nimport { makeProp, makePropsConfigurable } from '../../utils/props';\nimport { formControlMixin, props as formControlProps } from '../../mixins/form-control';\nimport { formSelectionMixin } from '../../mixins/form-selection';\nimport { formSizeMixin, props as formSizeProps } from '../../mixins/form-size';\nimport { formStateMixin, props as formStateProps } from '../../mixins/form-state';\nimport { formTextMixin, props as formTextProps } from '../../mixins/form-text';\nimport { formValidityMixin } from '../../mixins/form-validity';\nimport { idMixin, props as idProps } from '../../mixins/id';\nimport { listenOnRootMixin } from '../../mixins/listen-on-root';\nimport { listenersMixin } from '../../mixins/listeners';\nimport { VBVisible } from '../../directives/visible/visible'; // --- Props ---\n\nexport var props = makePropsConfigurable(sortKeys(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, idProps), formControlProps), formSizeProps), formStateProps), formTextProps), {}, {\n maxRows: makeProp(PROP_TYPE_NUMBER_STRING),\n // When in auto resize mode, disable shrinking to content height\n noAutoShrink: makeProp(PROP_TYPE_BOOLEAN, false),\n // Disable the resize handle of textarea\n noResize: makeProp(PROP_TYPE_BOOLEAN, false),\n rows: makeProp(PROP_TYPE_NUMBER_STRING, 2),\n // 'soft', 'hard' or 'off'\n // Browser default is 'soft'\n wrap: makeProp(PROP_TYPE_STRING, 'soft')\n})), NAME_FORM_TEXTAREA); // --- Main component ---\n// @vue/component\n\nexport var BFormTextarea = /*#__PURE__*/Vue.extend({\n name: NAME_FORM_TEXTAREA,\n directives: {\n 'b-visible': VBVisible\n },\n // Mixin order is important!\n mixins: [listenersMixin, idMixin, listenOnRootMixin, formControlMixin, formSizeMixin, formStateMixin, formTextMixin, formSelectionMixin, formValidityMixin],\n props: props,\n data: function data() {\n return {\n heightInPx: null\n };\n },\n computed: {\n computedStyle: function computedStyle() {\n var styles = {\n // Setting `noResize` to true will disable the ability for the user to\n // manually resize the textarea. We also disable when in auto height mode\n resize: !this.computedRows || this.noResize ? 'none' : null\n };\n\n if (!this.computedRows) {\n // Conditionally set the computed CSS height when auto rows/height is enabled\n // We avoid setting the style to `null`, which can override user manual resize handle\n styles.height = this.heightInPx; // We always add a vertical scrollbar to the textarea when auto-height is\n // enabled so that the computed height calculation returns a stable value\n\n styles.overflowY = 'scroll';\n }\n\n return styles;\n },\n computedMinRows: function computedMinRows() {\n // Ensure rows is at least 2 and positive (2 is the native textarea value)\n // A value of 1 can cause issues in some browsers, and most browsers\n // only support 2 as the smallest value\n return mathMax(toInteger(this.rows, 2), 2);\n },\n computedMaxRows: function computedMaxRows() {\n return mathMax(this.computedMinRows, toInteger(this.maxRows, 0));\n },\n computedRows: function computedRows() {\n // This is used to set the attribute 'rows' on the textarea\n // If auto-height is enabled, then we return `null` as we use CSS to control height\n return this.computedMinRows === this.computedMaxRows ? this.computedMinRows : null;\n },\n computedAttrs: function computedAttrs() {\n var disabled = this.disabled,\n required = this.required;\n return {\n id: this.safeId(),\n name: this.name || null,\n form: this.form || null,\n disabled: disabled,\n placeholder: this.placeholder || null,\n required: required,\n autocomplete: this.autocomplete || null,\n readonly: this.readonly || this.plaintext,\n rows: this.computedRows,\n wrap: this.wrap || null,\n 'aria-required': this.required ? 'true' : null,\n 'aria-invalid': this.computedAriaInvalid\n };\n },\n computedListeners: function computedListeners() {\n return _objectSpread(_objectSpread({}, this.bvListeners), {}, {\n input: this.onInput,\n change: this.onChange,\n blur: this.onBlur\n });\n }\n },\n watch: {\n localValue: function localValue() {\n this.setHeight();\n }\n },\n mounted: function mounted() {\n this.setHeight();\n },\n methods: {\n // Called by intersection observer directive\n\n /* istanbul ignore next */\n visibleCallback: function visibleCallback(visible) {\n if (visible) {\n // We use a `$nextTick()` here just to make sure any\n // transitions or portalling have completed\n this.$nextTick(this.setHeight);\n }\n },\n setHeight: function setHeight() {\n var _this = this;\n\n this.$nextTick(function () {\n requestAF(function () {\n _this.heightInPx = _this.computeHeight();\n });\n });\n },\n\n /* istanbul ignore next: can't test getComputedStyle in JSDOM */\n computeHeight: function computeHeight() {\n if (this.$isServer || !isNull(this.computedRows)) {\n return null;\n }\n\n var el = this.$el; // Element must be visible (not hidden) and in document\n // Must be checked after above checks\n\n if (!isVisible(el)) {\n return null;\n } // Get current computed styles\n\n\n var computedStyle = getCS(el); // Height of one line of text in px\n\n var lineHeight = toFloat(computedStyle.lineHeight, 1); // Calculate height of border and padding\n\n var border = toFloat(computedStyle.borderTopWidth, 0) + toFloat(computedStyle.borderBottomWidth, 0);\n var padding = toFloat(computedStyle.paddingTop, 0) + toFloat(computedStyle.paddingBottom, 0); // Calculate offset\n\n var offset = border + padding; // Minimum height for min rows (which must be 2 rows or greater for cross-browser support)\n\n var minHeight = lineHeight * this.computedMinRows + offset; // Get the current style height (with `px` units)\n\n var oldHeight = getStyle(el, 'height') || computedStyle.height; // Probe scrollHeight by temporarily changing the height to `auto`\n\n setStyle(el, 'height', 'auto');\n var scrollHeight = el.scrollHeight; // Place the original old height back on the element, just in case `computedProp`\n // returns the same value as before\n\n setStyle(el, 'height', oldHeight); // Calculate content height in 'rows' (scrollHeight includes padding but not border)\n\n var contentRows = mathMax((scrollHeight - padding) / lineHeight, 2); // Calculate number of rows to display (limited within min/max rows)\n\n var rows = mathMin(mathMax(contentRows, this.computedMinRows), this.computedMaxRows); // Calculate the required height of the textarea including border and padding (in pixels)\n\n var height = mathMax(mathCeil(rows * lineHeight + offset), minHeight); // Computed height remains the larger of `oldHeight` and new `height`,\n // when height is in `sticky` mode (prop `no-auto-shrink` is true)\n\n if (this.noAutoShrink && toFloat(oldHeight, 0) > height) {\n return oldHeight;\n } // Return the new computed CSS height in px units\n\n\n return \"\".concat(height, \"px\");\n }\n },\n render: function render(h) {\n return h('textarea', {\n class: this.computedClass,\n style: this.computedStyle,\n directives: [{\n name: 'b-visible',\n value: this.visibleCallback,\n // If textarea is within 640px of viewport, consider it visible\n modifiers: {\n '640': true\n }\n }],\n attrs: this.computedAttrs,\n domProps: {\n value: this.localValue\n },\n on: this.computedListeners,\n ref: 'input'\n });\n }\n});","import { Vue } from '../../vue';\nimport { NAME_FORM_RADIO_GROUP } from '../../constants/components';\nimport { makePropsConfigurable } from '../../utils/props';\nimport { formRadioCheckGroupMixin, props as formRadioCheckGroupProps } from '../../mixins/form-radio-check-group'; // --- Props ---\n\nexport var props = makePropsConfigurable(formRadioCheckGroupProps, NAME_FORM_RADIO_GROUP); // --- Main component ---\n// @vue/component\n\nexport var BFormRadioGroup = /*#__PURE__*/Vue.extend({\n name: NAME_FORM_RADIO_GROUP,\n mixins: [formRadioCheckGroupMixin],\n provide: function provide() {\n return {\n bvRadioGroup: this\n };\n },\n props: props,\n computed: {\n isRadioGroup: function isRadioGroup() {\n return true;\n }\n }\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n!function (t, e) {\n \"object\" == (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) && \"object\" == (typeof module === \"undefined\" ? \"undefined\" : _typeof(module)) ? module.exports = e() : \"function\" == typeof define && define.amd ? define([], e) : \"object\" == (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) ? exports.VueSelect = e() : t.VueSelect = e();\n}(\"undefined\" != typeof self ? self : this, function () {\n return function () {\n var t = {\n 646: function _(t) {\n t.exports = function (t) {\n if (Array.isArray(t)) {\n for (var e = 0, n = new Array(t.length); e < t.length; e++) {\n n[e] = t[e];\n }\n\n return n;\n }\n };\n },\n 713: function _(t) {\n t.exports = function (t, e, n) {\n return e in t ? Object.defineProperty(t, e, {\n value: n,\n enumerable: !0,\n configurable: !0,\n writable: !0\n }) : t[e] = n, t;\n };\n },\n 860: function _(t) {\n t.exports = function (t) {\n if (Symbol.iterator in Object(t) || \"[object Arguments]\" === Object.prototype.toString.call(t)) return Array.from(t);\n };\n },\n 206: function _(t) {\n t.exports = function () {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance\");\n };\n },\n 319: function _(t, e, n) {\n var o = n(646),\n i = n(860),\n s = n(206);\n\n t.exports = function (t) {\n return o(t) || i(t) || s();\n };\n },\n 8: function _(t) {\n function e(n) {\n return \"function\" == typeof Symbol && \"symbol\" == _typeof(Symbol.iterator) ? t.exports = e = function e(t) {\n return _typeof(t);\n } : t.exports = e = function e(t) {\n return t && \"function\" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? \"symbol\" : _typeof(t);\n }, e(n);\n }\n\n t.exports = e;\n }\n },\n e = {};\n\n function n(o) {\n var i = e[o];\n if (void 0 !== i) return i.exports;\n var s = e[o] = {\n exports: {}\n };\n return t[o](s, s.exports, n), s.exports;\n }\n\n n.n = function (t) {\n var e = t && t.__esModule ? function () {\n return t.default;\n } : function () {\n return t;\n };\n return n.d(e, {\n a: e\n }), e;\n }, n.d = function (t, e) {\n for (var o in e) {\n n.o(e, o) && !n.o(t, o) && Object.defineProperty(t, o, {\n enumerable: !0,\n get: e[o]\n });\n }\n }, n.o = function (t, e) {\n return Object.prototype.hasOwnProperty.call(t, e);\n }, n.r = function (t) {\n \"undefined\" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(t, Symbol.toStringTag, {\n value: \"Module\"\n }), Object.defineProperty(t, \"__esModule\", {\n value: !0\n });\n };\n var o = {};\n return function () {\n \"use strict\";\n\n n.r(o), n.d(o, {\n VueSelect: function VueSelect() {\n return m;\n },\n default: function _default() {\n return O;\n },\n mixins: function mixins() {\n return _;\n }\n });\n var t = n(319),\n e = n.n(t),\n i = n(8),\n s = n.n(i),\n r = n(713),\n a = n.n(r);\n var l = {\n props: {\n autoscroll: {\n type: Boolean,\n default: !0\n }\n },\n watch: {\n typeAheadPointer: function typeAheadPointer() {\n this.autoscroll && this.maybeAdjustScroll();\n },\n open: function open(t) {\n var e = this;\n this.autoscroll && t && this.$nextTick(function () {\n return e.maybeAdjustScroll();\n });\n }\n },\n methods: {\n maybeAdjustScroll: function maybeAdjustScroll() {\n var t,\n e = (null === (t = this.$refs.dropdownMenu) || void 0 === t ? void 0 : t.children[this.typeAheadPointer]) || !1;\n\n if (e) {\n var n = this.getDropdownViewport(),\n o = e.getBoundingClientRect(),\n i = o.top,\n s = o.bottom,\n r = o.height;\n if (i < n.top) return this.$refs.dropdownMenu.scrollTop = e.offsetTop;\n if (s > n.bottom) return this.$refs.dropdownMenu.scrollTop = e.offsetTop - (n.height - r);\n }\n },\n getDropdownViewport: function getDropdownViewport() {\n return this.$refs.dropdownMenu ? this.$refs.dropdownMenu.getBoundingClientRect() : {\n height: 0,\n top: 0,\n bottom: 0\n };\n }\n }\n },\n c = {\n data: function data() {\n return {\n typeAheadPointer: -1\n };\n },\n watch: {\n filteredOptions: function filteredOptions() {\n for (var t = 0; t < this.filteredOptions.length; t++) {\n if (this.selectable(this.filteredOptions[t])) {\n this.typeAheadPointer = t;\n break;\n }\n }\n },\n open: function open(t) {\n t && this.typeAheadToLastSelected();\n },\n selectedValue: function selectedValue() {\n this.open && this.typeAheadToLastSelected();\n }\n },\n methods: {\n typeAheadUp: function typeAheadUp() {\n for (var t = this.typeAheadPointer - 1; t >= 0; t--) {\n if (this.selectable(this.filteredOptions[t])) {\n this.typeAheadPointer = t;\n break;\n }\n }\n },\n typeAheadDown: function typeAheadDown() {\n for (var t = this.typeAheadPointer + 1; t < this.filteredOptions.length; t++) {\n if (this.selectable(this.filteredOptions[t])) {\n this.typeAheadPointer = t;\n break;\n }\n }\n },\n typeAheadSelect: function typeAheadSelect() {\n var t = this.filteredOptions[this.typeAheadPointer];\n t && this.selectable(t) && this.select(t);\n },\n typeAheadToLastSelected: function typeAheadToLastSelected() {\n this.typeAheadPointer = 0 !== this.selectedValue.length ? this.filteredOptions.indexOf(this.selectedValue[this.selectedValue.length - 1]) : -1;\n }\n }\n },\n u = {\n props: {\n loading: {\n type: Boolean,\n default: !1\n }\n },\n data: function data() {\n return {\n mutableLoading: !1\n };\n },\n watch: {\n search: function search() {\n this.$emit(\"search\", this.search, this.toggleLoading);\n },\n loading: function loading(t) {\n this.mutableLoading = t;\n }\n },\n methods: {\n toggleLoading: function toggleLoading() {\n var t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : null;\n return this.mutableLoading = null == t ? !this.mutableLoading : t;\n }\n }\n };\n\n function p(t, e, n, o, i, s, r, a) {\n var l,\n c = \"function\" == typeof t ? t.options : t;\n if (e && (c.render = e, c.staticRenderFns = n, c._compiled = !0), o && (c.functional = !0), s && (c._scopeId = \"data-v-\" + s), r ? (l = function l(t) {\n (t = t || this.$vnode && this.$vnode.ssrContext || this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) || \"undefined\" == typeof __VUE_SSR_CONTEXT__ || (t = __VUE_SSR_CONTEXT__), i && i.call(this, t), t && t._registeredComponents && t._registeredComponents.add(r);\n }, c._ssrRegister = l) : i && (l = a ? function () {\n i.call(this, (c.functional ? this.parent : this).$root.$options.shadowRoot);\n } : i), l) if (c.functional) {\n c._injectStyles = l;\n var u = c.render;\n\n c.render = function (t, e) {\n return l.call(e), u(t, e);\n };\n } else {\n var p = c.beforeCreate;\n c.beforeCreate = p ? [].concat(p, l) : [l];\n }\n return {\n exports: t,\n options: c\n };\n }\n\n var h = {\n Deselect: p({}, function () {\n var t = this.$createElement,\n e = this._self._c || t;\n return e(\"svg\", {\n attrs: {\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"10\",\n height: \"10\"\n }\n }, [e(\"path\", {\n attrs: {\n d: \"M6.895455 5l2.842897-2.842898c.348864-.348863.348864-.914488 0-1.263636L9.106534.261648c-.348864-.348864-.914489-.348864-1.263636 0L5 3.104545 2.157102.261648c-.348863-.348864-.914488-.348864-1.263636 0L.261648.893466c-.348864.348864-.348864.914489 0 1.263636L3.104545 5 .261648 7.842898c-.348864.348863-.348864.914488 0 1.263636l.631818.631818c.348864.348864.914773.348864 1.263636 0L5 6.895455l2.842898 2.842897c.348863.348864.914772.348864 1.263636 0l.631818-.631818c.348864-.348864.348864-.914489 0-1.263636L6.895455 5z\"\n }\n })]);\n }, [], !1, null, null, null).exports,\n OpenIndicator: p({}, function () {\n var t = this.$createElement,\n e = this._self._c || t;\n return e(\"svg\", {\n attrs: {\n xmlns: \"http://www.w3.org/2000/svg\",\n width: \"14\",\n height: \"10\"\n }\n }, [e(\"path\", {\n attrs: {\n d: \"M9.211364 7.59931l4.48338-4.867229c.407008-.441854.407008-1.158247 0-1.60046l-.73712-.80023c-.407008-.441854-1.066904-.441854-1.474243 0L7 5.198617 2.51662.33139c-.407008-.441853-1.066904-.441853-1.474243 0l-.737121.80023c-.407008.441854-.407008 1.158248 0 1.600461l4.48338 4.867228L7 10l2.211364-2.40069z\"\n }\n })]);\n }, [], !1, null, null, null).exports\n },\n d = {\n inserted: function inserted(t, e, n) {\n var o = n.context;\n\n if (o.appendToBody) {\n var i = o.$refs.toggle.getBoundingClientRect(),\n s = i.height,\n r = i.top,\n a = i.left,\n l = i.width,\n c = window.scrollX || window.pageXOffset,\n u = window.scrollY || window.pageYOffset;\n t.unbindPosition = o.calculatePosition(t, o, {\n width: l + \"px\",\n left: c + a + \"px\",\n top: u + r + s + \"px\"\n }), document.body.appendChild(t);\n }\n },\n unbind: function unbind(t, e, n) {\n n.context.appendToBody && (t.unbindPosition && \"function\" == typeof t.unbindPosition && t.unbindPosition(), t.parentNode && t.parentNode.removeChild(t));\n }\n };\n\n var f = function f(t) {\n var e = {};\n return Object.keys(t).sort().forEach(function (n) {\n e[n] = t[n];\n }), JSON.stringify(e);\n };\n\n var y = 0;\n\n var b = function b() {\n return ++y;\n };\n\n function g(t, e) {\n var n = Object.keys(t);\n\n if (Object.getOwnPropertySymbols) {\n var o = Object.getOwnPropertySymbols(t);\n e && (o = o.filter(function (e) {\n return Object.getOwnPropertyDescriptor(t, e).enumerable;\n })), n.push.apply(n, o);\n }\n\n return n;\n }\n\n function v(t) {\n for (var e = 1; e < arguments.length; e++) {\n var n = null != arguments[e] ? arguments[e] : {};\n e % 2 ? g(Object(n), !0).forEach(function (e) {\n a()(t, e, n[e]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : g(Object(n)).forEach(function (e) {\n Object.defineProperty(t, e, Object.getOwnPropertyDescriptor(n, e));\n });\n }\n\n return t;\n }\n\n var m = p({\n components: v({}, h),\n directives: {\n appendToBody: d\n },\n mixins: [l, c, u],\n props: {\n value: {},\n components: {\n type: Object,\n default: function _default() {\n return {};\n }\n },\n options: {\n type: Array,\n default: function _default() {\n return [];\n }\n },\n disabled: {\n type: Boolean,\n default: !1\n },\n clearable: {\n type: Boolean,\n default: !0\n },\n deselectFromDropdown: {\n type: Boolean,\n default: !1\n },\n searchable: {\n type: Boolean,\n default: !0\n },\n multiple: {\n type: Boolean,\n default: !1\n },\n placeholder: {\n type: String,\n default: \"\"\n },\n transition: {\n type: String,\n default: \"vs__fade\"\n },\n clearSearchOnSelect: {\n type: Boolean,\n default: !0\n },\n closeOnSelect: {\n type: Boolean,\n default: !0\n },\n label: {\n type: String,\n default: \"label\"\n },\n autocomplete: {\n type: String,\n default: \"off\"\n },\n reduce: {\n type: Function,\n default: function _default(t) {\n return t;\n }\n },\n selectable: {\n type: Function,\n default: function _default(t) {\n return !0;\n }\n },\n getOptionLabel: {\n type: Function,\n default: function _default(t) {\n return \"object\" === s()(t) ? t.hasOwnProperty(this.label) ? t[this.label] : console.warn('[vue-select warn]: Label key \"option.'.concat(this.label, '\" does not') + \" exist in options object \".concat(JSON.stringify(t), \".\\n\") + \"https://vue-select.org/api/props.html#getoptionlabel\") : t;\n }\n },\n getOptionKey: {\n type: Function,\n default: function _default(t) {\n if (\"object\" !== s()(t)) return t;\n\n try {\n return t.hasOwnProperty(\"id\") ? t.id : f(t);\n } catch (e) {\n return console.warn(\"[vue-select warn]: Could not stringify this option to generate unique key. Please provide'getOptionKey' prop to return a unique key for each option.\\nhttps://vue-select.org/api/props.html#getoptionkey\", t, e);\n }\n }\n },\n onTab: {\n type: Function,\n default: function _default() {\n this.selectOnTab && !this.isComposing && this.typeAheadSelect();\n }\n },\n taggable: {\n type: Boolean,\n default: !1\n },\n tabindex: {\n type: Number,\n default: null\n },\n pushTags: {\n type: Boolean,\n default: !1\n },\n filterable: {\n type: Boolean,\n default: !0\n },\n filterBy: {\n type: Function,\n default: function _default(t, e, n) {\n return (e || \"\").toLocaleLowerCase().indexOf(n.toLocaleLowerCase()) > -1;\n }\n },\n filter: {\n type: Function,\n default: function _default(t, e) {\n var n = this;\n return t.filter(function (t) {\n var o = n.getOptionLabel(t);\n return \"number\" == typeof o && (o = o.toString()), n.filterBy(t, o, e);\n });\n }\n },\n createOption: {\n type: Function,\n default: function _default(t) {\n return \"object\" === s()(this.optionList[0]) ? a()({}, this.label, t) : t;\n }\n },\n resetOnOptionsChange: {\n default: !1,\n validator: function validator(t) {\n return [\"function\", \"boolean\"].includes(s()(t));\n }\n },\n clearSearchOnBlur: {\n type: Function,\n default: function _default(t) {\n var e = t.clearSearchOnSelect,\n n = t.multiple;\n return e && !n;\n }\n },\n noDrop: {\n type: Boolean,\n default: !1\n },\n inputId: {\n type: String\n },\n dir: {\n type: String,\n default: \"auto\"\n },\n selectOnTab: {\n type: Boolean,\n default: !1\n },\n selectOnKeyCodes: {\n type: Array,\n default: function _default() {\n return [13];\n }\n },\n searchInputQuerySelector: {\n type: String,\n default: \"[type=search]\"\n },\n mapKeydown: {\n type: Function,\n default: function _default(t, e) {\n return t;\n }\n },\n appendToBody: {\n type: Boolean,\n default: !1\n },\n calculatePosition: {\n type: Function,\n default: function _default(t, e, n) {\n var o = n.width,\n i = n.top,\n s = n.left;\n t.style.top = i, t.style.left = s, t.style.width = o;\n }\n },\n dropdownShouldOpen: {\n type: Function,\n default: function _default(t) {\n var e = t.noDrop,\n n = t.open,\n o = t.mutableLoading;\n return !e && n && !o;\n }\n },\n uid: {\n type: [String, Number],\n default: function _default() {\n return b();\n }\n }\n },\n data: function data() {\n return {\n search: \"\",\n open: !1,\n isComposing: !1,\n pushedTags: [],\n _value: []\n };\n },\n computed: {\n isTrackingValues: function isTrackingValues() {\n return void 0 === this.value || this.$options.propsData.hasOwnProperty(\"reduce\");\n },\n selectedValue: function selectedValue() {\n var t = this.value;\n return this.isTrackingValues && (t = this.$data._value), null != t && \"\" !== t ? [].concat(t) : [];\n },\n optionList: function optionList() {\n return this.options.concat(this.pushTags ? this.pushedTags : []);\n },\n searchEl: function searchEl() {\n return this.$scopedSlots.search ? this.$refs.selectedOptions.querySelector(this.searchInputQuerySelector) : this.$refs.search;\n },\n scope: function scope() {\n var t = this,\n e = {\n search: this.search,\n loading: this.loading,\n searching: this.searching,\n filteredOptions: this.filteredOptions\n };\n return {\n search: {\n attributes: v({\n disabled: this.disabled,\n placeholder: this.searchPlaceholder,\n tabindex: this.tabindex,\n readonly: !this.searchable,\n id: this.inputId,\n \"aria-autocomplete\": \"list\",\n \"aria-labelledby\": \"vs\".concat(this.uid, \"__combobox\"),\n \"aria-controls\": \"vs\".concat(this.uid, \"__listbox\"),\n ref: \"search\",\n type: \"search\",\n autocomplete: this.autocomplete,\n value: this.search\n }, this.dropdownOpen && this.filteredOptions[this.typeAheadPointer] ? {\n \"aria-activedescendant\": \"vs\".concat(this.uid, \"__option-\").concat(this.typeAheadPointer)\n } : {}),\n events: {\n compositionstart: function compositionstart() {\n return t.isComposing = !0;\n },\n compositionend: function compositionend() {\n return t.isComposing = !1;\n },\n keydown: this.onSearchKeyDown,\n blur: this.onSearchBlur,\n focus: this.onSearchFocus,\n input: function input(e) {\n return t.search = e.target.value;\n }\n }\n },\n spinner: {\n loading: this.mutableLoading\n },\n noOptions: {\n search: this.search,\n loading: this.mutableLoading,\n searching: this.searching\n },\n openIndicator: {\n attributes: {\n ref: \"openIndicator\",\n role: \"presentation\",\n class: \"vs__open-indicator\"\n }\n },\n listHeader: e,\n listFooter: e,\n header: v({}, e, {\n deselect: this.deselect\n }),\n footer: v({}, e, {\n deselect: this.deselect\n })\n };\n },\n childComponents: function childComponents() {\n return v({}, h, {}, this.components);\n },\n stateClasses: function stateClasses() {\n return {\n \"vs--open\": this.dropdownOpen,\n \"vs--single\": !this.multiple,\n \"vs--multiple\": this.multiple,\n \"vs--searching\": this.searching && !this.noDrop,\n \"vs--searchable\": this.searchable && !this.noDrop,\n \"vs--unsearchable\": !this.searchable,\n \"vs--loading\": this.mutableLoading,\n \"vs--disabled\": this.disabled\n };\n },\n searching: function searching() {\n return !!this.search;\n },\n dropdownOpen: function dropdownOpen() {\n return this.dropdownShouldOpen(this);\n },\n searchPlaceholder: function searchPlaceholder() {\n return this.isValueEmpty && this.placeholder ? this.placeholder : void 0;\n },\n filteredOptions: function filteredOptions() {\n var t = [].concat(this.optionList);\n if (!this.filterable && !this.taggable) return t;\n var e = this.search.length ? this.filter(t, this.search, this) : t;\n\n if (this.taggable && this.search.length) {\n var n = this.createOption(this.search);\n this.optionExists(n) || e.unshift(n);\n }\n\n return e;\n },\n isValueEmpty: function isValueEmpty() {\n return 0 === this.selectedValue.length;\n },\n showClearButton: function showClearButton() {\n return !this.multiple && this.clearable && !this.open && !this.isValueEmpty;\n }\n },\n watch: {\n options: function options(t, e) {\n var n = this;\n !this.taggable && (\"function\" == typeof n.resetOnOptionsChange ? n.resetOnOptionsChange(t, e, n.selectedValue) : n.resetOnOptionsChange) && this.clearSelection(), this.value && this.isTrackingValues && this.setInternalValueFromOptions(this.value);\n },\n value: {\n immediate: !0,\n handler: function handler(t) {\n this.isTrackingValues && this.setInternalValueFromOptions(t);\n }\n },\n multiple: function multiple() {\n this.clearSelection();\n },\n open: function open(t) {\n this.$emit(t ? \"open\" : \"close\");\n }\n },\n created: function created() {\n this.mutableLoading = this.loading, this.$on(\"option:created\", this.pushTag);\n },\n methods: {\n setInternalValueFromOptions: function setInternalValueFromOptions(t) {\n var e = this;\n Array.isArray(t) ? this.$data._value = t.map(function (t) {\n return e.findOptionFromReducedValue(t);\n }) : this.$data._value = this.findOptionFromReducedValue(t);\n },\n select: function select(t) {\n this.$emit(\"option:selecting\", t), this.isOptionSelected(t) ? this.deselectFromDropdown && (this.clearable || this.multiple && this.selectedValue.length > 1) && this.deselect(t) : (this.taggable && !this.optionExists(t) && this.$emit(\"option:created\", t), this.multiple && (t = this.selectedValue.concat(t)), this.updateValue(t), this.$emit(\"option:selected\", t)), this.onAfterSelect(t);\n },\n deselect: function deselect(t) {\n var e = this;\n this.$emit(\"option:deselecting\", t), this.updateValue(this.selectedValue.filter(function (n) {\n return !e.optionComparator(n, t);\n })), this.$emit(\"option:deselected\", t);\n },\n clearSelection: function clearSelection() {\n this.updateValue(this.multiple ? [] : null);\n },\n onAfterSelect: function onAfterSelect(t) {\n this.closeOnSelect && (this.open = !this.open, this.searchEl.blur()), this.clearSearchOnSelect && (this.search = \"\");\n },\n updateValue: function updateValue(t) {\n var e = this;\n void 0 === this.value && (this.$data._value = t), null !== t && (t = Array.isArray(t) ? t.map(function (t) {\n return e.reduce(t);\n }) : this.reduce(t)), this.$emit(\"input\", t);\n },\n toggleDropdown: function toggleDropdown(t) {\n var n = t.target !== this.searchEl;\n n && t.preventDefault();\n var o = [].concat(e()(this.$refs.deselectButtons || []), e()([this.$refs.clearButton] || 0));\n void 0 === this.searchEl || o.filter(Boolean).some(function (e) {\n return e.contains(t.target) || e === t.target;\n }) ? t.preventDefault() : this.open && n ? this.searchEl.blur() : this.disabled || (this.open = !0, this.searchEl.focus());\n },\n isOptionSelected: function isOptionSelected(t) {\n var e = this;\n return this.selectedValue.some(function (n) {\n return e.optionComparator(n, t);\n });\n },\n isOptionDeselectable: function isOptionDeselectable(t) {\n return this.isOptionSelected(t) && this.deselectFromDropdown;\n },\n optionComparator: function optionComparator(t, e) {\n return this.getOptionKey(t) === this.getOptionKey(e);\n },\n findOptionFromReducedValue: function findOptionFromReducedValue(t) {\n var n = this,\n o = [].concat(e()(this.options), e()(this.pushedTags)).filter(function (e) {\n return JSON.stringify(n.reduce(e)) === JSON.stringify(t);\n });\n return 1 === o.length ? o[0] : o.find(function (t) {\n return n.optionComparator(t, n.$data._value);\n }) || t;\n },\n closeSearchOptions: function closeSearchOptions() {\n this.open = !1, this.$emit(\"search:blur\");\n },\n maybeDeleteValue: function maybeDeleteValue() {\n if (!this.searchEl.value.length && this.selectedValue && this.selectedValue.length && this.clearable) {\n var t = null;\n this.multiple && (t = e()(this.selectedValue.slice(0, this.selectedValue.length - 1))), this.updateValue(t);\n }\n },\n optionExists: function optionExists(t) {\n var e = this;\n return this.optionList.some(function (n) {\n return e.optionComparator(n, t);\n });\n },\n normalizeOptionForSlot: function normalizeOptionForSlot(t) {\n return \"object\" === s()(t) ? t : a()({}, this.label, t);\n },\n pushTag: function pushTag(t) {\n this.pushedTags.push(t);\n },\n onEscape: function onEscape() {\n this.search.length ? this.search = \"\" : this.searchEl.blur();\n },\n onSearchBlur: function onSearchBlur() {\n if (!this.mousedown || this.searching) {\n var t = this.clearSearchOnSelect,\n e = this.multiple;\n return this.clearSearchOnBlur({\n clearSearchOnSelect: t,\n multiple: e\n }) && (this.search = \"\"), void this.closeSearchOptions();\n }\n\n this.mousedown = !1, 0 !== this.search.length || 0 !== this.options.length || this.closeSearchOptions();\n },\n onSearchFocus: function onSearchFocus() {\n this.open = !0, this.$emit(\"search:focus\");\n },\n onMousedown: function onMousedown() {\n this.mousedown = !0;\n },\n onMouseUp: function onMouseUp() {\n this.mousedown = !1;\n },\n onSearchKeyDown: function onSearchKeyDown(t) {\n var e = this,\n n = function n(t) {\n return t.preventDefault(), !e.isComposing && e.typeAheadSelect();\n },\n o = {\n 8: function _(t) {\n return e.maybeDeleteValue();\n },\n 9: function _(t) {\n return e.onTab();\n },\n 27: function _(t) {\n return e.onEscape();\n },\n 38: function _(t) {\n return t.preventDefault(), e.typeAheadUp();\n },\n 40: function _(t) {\n return t.preventDefault(), e.typeAheadDown();\n }\n };\n\n this.selectOnKeyCodes.forEach(function (t) {\n return o[t] = n;\n });\n var i = this.mapKeydown(o, this);\n if (\"function\" == typeof i[t.keyCode]) return i[t.keyCode](t);\n }\n }\n }, function () {\n var t = this,\n e = t.$createElement,\n n = t._self._c || e;\n return n(\"div\", {\n staticClass: \"v-select\",\n class: t.stateClasses,\n attrs: {\n dir: t.dir\n }\n }, [t._t(\"header\", null, null, t.scope.header), t._v(\" \"), n(\"div\", {\n ref: \"toggle\",\n staticClass: \"vs__dropdown-toggle\",\n attrs: {\n id: \"vs\" + t.uid + \"__combobox\",\n role: \"combobox\",\n \"aria-expanded\": t.dropdownOpen.toString(),\n \"aria-owns\": \"vs\" + t.uid + \"__listbox\",\n \"aria-label\": \"Search for option\"\n },\n on: {\n mousedown: function mousedown(e) {\n return t.toggleDropdown(e);\n }\n }\n }, [n(\"div\", {\n ref: \"selectedOptions\",\n staticClass: \"vs__selected-options\"\n }, [t._l(t.selectedValue, function (e) {\n return t._t(\"selected-option-container\", [n(\"span\", {\n key: t.getOptionKey(e),\n staticClass: \"vs__selected\"\n }, [t._t(\"selected-option\", [t._v(\"\\n \" + t._s(t.getOptionLabel(e)) + \"\\n \")], null, t.normalizeOptionForSlot(e)), t._v(\" \"), t.multiple ? n(\"button\", {\n ref: \"deselectButtons\",\n refInFor: !0,\n staticClass: \"vs__deselect\",\n attrs: {\n disabled: t.disabled,\n type: \"button\",\n title: \"Deselect \" + t.getOptionLabel(e),\n \"aria-label\": \"Deselect \" + t.getOptionLabel(e)\n },\n on: {\n click: function click(n) {\n return t.deselect(e);\n }\n }\n }, [n(t.childComponents.Deselect, {\n tag: \"component\"\n })], 1) : t._e()], 2)], {\n option: t.normalizeOptionForSlot(e),\n deselect: t.deselect,\n multiple: t.multiple,\n disabled: t.disabled\n });\n }), t._v(\" \"), t._t(\"search\", [n(\"input\", t._g(t._b({\n staticClass: \"vs__search\"\n }, \"input\", t.scope.search.attributes, !1), t.scope.search.events))], null, t.scope.search)], 2), t._v(\" \"), n(\"div\", {\n ref: \"actions\",\n staticClass: \"vs__actions\"\n }, [n(\"button\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: t.showClearButton,\n expression: \"showClearButton\"\n }],\n ref: \"clearButton\",\n staticClass: \"vs__clear\",\n attrs: {\n disabled: t.disabled,\n type: \"button\",\n title: \"Clear Selected\",\n \"aria-label\": \"Clear Selected\"\n },\n on: {\n click: t.clearSelection\n }\n }, [n(t.childComponents.Deselect, {\n tag: \"component\"\n })], 1), t._v(\" \"), t._t(\"open-indicator\", [t.noDrop ? t._e() : n(t.childComponents.OpenIndicator, t._b({\n tag: \"component\"\n }, \"component\", t.scope.openIndicator.attributes, !1))], null, t.scope.openIndicator), t._v(\" \"), t._t(\"spinner\", [n(\"div\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: t.mutableLoading,\n expression: \"mutableLoading\"\n }],\n staticClass: \"vs__spinner\"\n }, [t._v(\"Loading...\")])], null, t.scope.spinner)], 2)]), t._v(\" \"), n(\"transition\", {\n attrs: {\n name: t.transition\n }\n }, [t.dropdownOpen ? n(\"ul\", {\n directives: [{\n name: \"append-to-body\",\n rawName: \"v-append-to-body\"\n }],\n key: \"vs\" + t.uid + \"__listbox\",\n ref: \"dropdownMenu\",\n staticClass: \"vs__dropdown-menu\",\n attrs: {\n id: \"vs\" + t.uid + \"__listbox\",\n role: \"listbox\",\n tabindex: \"-1\"\n },\n on: {\n mousedown: function mousedown(e) {\n return e.preventDefault(), t.onMousedown(e);\n },\n mouseup: t.onMouseUp\n }\n }, [t._t(\"list-header\", null, null, t.scope.listHeader), t._v(\" \"), t._l(t.filteredOptions, function (e, o) {\n return n(\"li\", {\n key: t.getOptionKey(e),\n staticClass: \"vs__dropdown-option\",\n class: {\n \"vs__dropdown-option--deselect\": t.isOptionDeselectable(e) && o === t.typeAheadPointer,\n \"vs__dropdown-option--selected\": t.isOptionSelected(e),\n \"vs__dropdown-option--highlight\": o === t.typeAheadPointer,\n \"vs__dropdown-option--disabled\": !t.selectable(e)\n },\n attrs: {\n id: \"vs\" + t.uid + \"__option-\" + o,\n role: \"option\",\n \"aria-selected\": o === t.typeAheadPointer || null\n },\n on: {\n mouseover: function mouseover(n) {\n t.selectable(e) && (t.typeAheadPointer = o);\n },\n click: function click(n) {\n n.preventDefault(), n.stopPropagation(), t.selectable(e) && t.select(e);\n }\n }\n }, [t._t(\"option\", [t._v(\"\\n \" + t._s(t.getOptionLabel(e)) + \"\\n \")], null, t.normalizeOptionForSlot(e))], 2);\n }), t._v(\" \"), 0 === t.filteredOptions.length ? n(\"li\", {\n staticClass: \"vs__no-options\"\n }, [t._t(\"no-options\", [t._v(\"\\n Sorry, no matching options.\\n \")], null, t.scope.noOptions)], 2) : t._e(), t._v(\" \"), t._t(\"list-footer\", null, null, t.scope.listFooter)], 2) : n(\"ul\", {\n staticStyle: {\n display: \"none\",\n visibility: \"hidden\"\n },\n attrs: {\n id: \"vs\" + t.uid + \"__listbox\",\n role: \"listbox\"\n }\n })]), t._v(\" \"), t._t(\"footer\", null, null, t.scope.footer)], 2);\n }, [], !1, null, null, null).exports,\n _ = {\n ajax: u,\n pointer: c,\n pointerScroll: l\n },\n O = m;\n }(), o;\n }();\n});","import { VBToggle } from './toggle';\nimport { pluginFactory } from '../../utils/plugins';\nvar VBTogglePlugin = /*#__PURE__*/pluginFactory({\n directives: {\n VBToggle: VBToggle\n }\n});\nexport { VBTogglePlugin, VBToggle };","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(!_vm.selectCustom)?_c('CardRevealImageList',{on:{\"select-image\":_vm.openImageAdder,\"close-adder\":function($event){_vm.selectCustom = false}}}):_c('CardRevealImageAdder',{attrs:{\"position\":_vm.position},on:{\"close-adder\":function($event){_vm.selectCustom = false}}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CardRevealImageList.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CardRevealImageList.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./CardRevealImageList.vue?vue&type=template&id=5b0d8ec3&\"\nimport script from \"./CardRevealImageList.vue?vue&type=script&lang=js&\"\nexport * from \"./CardRevealImageList.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(!_vm.cards.length)?_c('div',[_c('p',{staticClass:\"lead\"},[_vm._v(\"Add cards to this schedule and try again\")])]):_c('div',[_c('p',[_vm._v(\"Click on the reveal image to select or upload a custom image. All random images come from a vetted collection managed by Ambiki.\")]),_vm._v(\" \"),_vm._m(0),_vm._v(\" \"),_vm._l((_vm.cards),function(card,index){return _c('div',{key:(\"reveal_image_card_\" + (card.card_id)),staticClass:\"row\"},[_c('div',{staticClass:\"col py-2 text-center\",class:{'border-bottom': index + 1 !== _vm.cards.length}},[_c('b-img',{attrs:{\"src\":card.image,\"height\":\"100\",\"rounded\":\"\"}})],1),_vm._v(\" \"),_c('div',{staticClass:\"col py-2 text-center\",class:{'border-bottom': index + 1!== _vm.cards.length}},[(_vm.revealImageForPosition(card))?_c('div',{staticClass:\"d-flex flex-column align-items-center justify-content-center\"},[_c('b-img',{staticClass:\"pointer\",attrs:{\"src\":_vm.revealImageForPosition(card).image,\"height\":\"100\",\"rounded\":\"\"},on:{\"click\":function($event){return _vm.handleSelectImage(card.position)}}}),_vm._v(\" \"),_c('b-button',{attrs:{\"variant\":\"link\",\"size\":\"sm\"},on:{\"click\":function($event){_vm.removeRevealImage(_vm.revealImageForPosition(card))}}},[_c('b-icon',{attrs:{\"icon\":\"trash\"}}),_vm._v(\" Remove\")],1)],1):_c('div',{staticClass:\"bg-light mx-auto pointer rounded d-flex flex-column align-items-center justify-content-center\",staticStyle:{\"height\":\"100px\",\"width\":\"250px\"},on:{\"click\":function($event){return _vm.handleSelectImage(card.position)}}},[_c('b-icon',{staticStyle:{\"width\":\"50px\",\"height\":\"50px\"},attrs:{\"icon\":\"image\"}}),_vm._v(\" \"),_c('div',[_vm._v(\"Random image\")])],1)])])})],2)])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col text-center h3\"},[_vm._v(\"Card\")]),_vm._v(\" \"),_c('div',{staticClass:\"col text-center h3\"},[_vm._v(\"Reveal Image\")])])}]\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RevealImageFinder.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RevealImageFinder.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./RevealImageFinder.vue?vue&type=template&id=0d3a7cc9&\"\nimport script from \"./RevealImageFinder.vue?vue&type=script&lang=js&\"\nexport * from \"./RevealImageFinder.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"mt-3\"},[_c('SearchBar',{attrs:{\"placeholder\":\"Search images...\",\"path\":\"/api/v2/reveal-images\",\"useAutocomplete\":true,\"filters\":_vm.searchFilters},on:{\"search-results\":_vm.handleResults}}),_vm._v(\" \"),_c('div',{staticClass:\"d-flex align-items-center\"},[_c('b-button',{staticClass:\"mb-2 mr-2\",attrs:{\"size\":\"sm\",\"variant\":\"secondary\"},on:{\"click\":_vm.cancel}},[_c('b-icon',{attrs:{\"icon\":\"arrow-left\"}}),_vm._v(\"Cancel\")],1),_vm._v(\" \"),(_vm.selectedImage)?_c('b-button',{staticClass:\"mb-2\",attrs:{\"size\":\"sm\",\"variant\":\"success\"},on:{\"click\":_vm.handleConfirm}},[_c('b-icon',{attrs:{\"icon\":\"check\"}}),_vm._v(\"Confirm\")],1):_vm._e()],1),_vm._v(\" \"),_c('div',{staticClass:\"scrollable-window\"},[_c('div',{staticClass:\"row\"},[(_vm.emptyResults)?_c('div',{staticClass:\"col\"},[_vm._m(0)]):_vm._e(),_vm._v(\" \"),_vm._l((_vm.imageResults),function(image,index){return _c('div',{key:(\"default_image_\" + index),staticClass:\"col-4\"},[_c('Card',{attrs:{\"card\":image,\"selected\":_vm.selectedImage === image},on:{\"card-selected\":_vm.handleCardSelected,\"remove-card\":_vm.handleRemoveCard}})],1)})],2)])],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('p',{staticClass:\"text-center\"},[_c('em',[_vm._v(\"No images found matching your search query.\")])])}]\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RevealImageUploader.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RevealImageUploader.vue?vue&type=script&lang=js&\"","\n\n\n","import { render, staticRenderFns } from \"./RevealImageUploader.vue?vue&type=template&id=00334ac3&\"\nimport script from \"./RevealImageUploader.vue?vue&type=script&lang=js&\"\nexport * from \"./RevealImageUploader.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-button',{staticClass:\"mb-2 mr-2\",attrs:{\"size\":\"sm\",\"variant\":\"secondary\"},on:{\"click\":_vm.cancel}},[_c('b-icon',{attrs:{\"icon\":\"arrow-left\"}}),_vm._v(\"Cancel\")],1),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-md-6\"},[_c('b-form-group',[_c('b-form-input',{staticClass:\"form-control\",attrs:{\"required\":\"\",\"state\":_vm.titleValidation,\"placeholder\":\"Title\",\"invalid-feedback\":\"Title is required\"},model:{value:(_vm.image.title),callback:function ($$v) {_vm.$set(_vm.image, \"title\", $$v)},expression:\"image.title\"}}),_vm._v(\" \"),_c('span',{staticClass:\"text-danger\"},[_vm._v(\"*\")]),_vm._v(\" \"),_c('span',{staticClass:\"text-muted\"},[_vm._v(\"Required\")])],1)],1)]),_vm._v(\" \"),_c('h3',[_vm._v(\"Card image\")]),_vm._v(\" \"),_c('DropzoneContainer',{ref:\"dropzone\",attrs:{\"options\":_vm.dropzoneOptions,\"uploadOnAdd\":false},on:{\"file-added\":_vm.fileAdded,\"upload-success\":_vm.uploadSuccess,\"upload-error\":_vm.uploadError}}),_vm._v(\" \"),(_vm.file && _vm.file.accepted)?_c('div',{staticClass:\"my-3\"},[_c('b-button',{attrs:{\"variant\":\"success\",\"disabled\":!_vm.file.accepted},on:{\"click\":_vm.submit}},[_vm._v(\"Save image\")]),_vm._v(\" \"),(!_vm.file.accepted)?_c('span',{staticClass:\"text-danger\"},[_vm._v(\"There's an error with the image.\")]):_vm._e()],1):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CardRevealImageAdder.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CardRevealImageAdder.vue?vue&type=script&lang=js&\"","\n\n\n","import { render, staticRenderFns } from \"./CardRevealImageAdder.vue?vue&type=template&id=848aa8ea&\"\nimport script from \"./CardRevealImageAdder.vue?vue&type=script&lang=js&\"\nexport * from \"./CardRevealImageAdder.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-tabs',{attrs:{\"content-class\":\"mt-3\"}},[_c('b-tab',{attrs:{\"title\":\"Search\"}},[_c('RevealImageFinder',{attrs:{\"position\":_vm.position},on:{\"image-added\":_vm.handleConfirm,\"cancel\":_vm.cancel}})],1),_vm._v(\" \"),_c('b-tab',{attrs:{\"title\":\"Upload\",\"lazy\":\"\"}},[(_vm.userId)?_c('RevealImageUploader',{attrs:{\"position\":_vm.position},on:{\"image-created\":_vm.handleConfirm,\"cancel\":_vm.cancel}}):_c('div',[_c('p',{staticClass:\"lead\"},[_vm._v(\"Join Ambiki to add custom images for the image reveal subtask.\")]),_vm._v(\" \"),_c('b-button',{attrs:{\"href\":\"/signup\"}},[_vm._v(\"Sign up\")])],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RevealImageManager.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RevealImageManager.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./RevealImageManager.vue?vue&type=template&id=19859449&\"\nimport script from \"./RevealImageManager.vue?vue&type=script&lang=js&\"\nexport * from \"./RevealImageManager.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"visual-schedule-row\",class:{ 'is-remote': !_vm.isPrimaryTherapist }},[_c('div',{staticClass:\"visual-schedule-col mb-3\",attrs:{\"id\":\"cardContent\"}},[(_vm.visualSchedule.staticContent)?_c('div',{domProps:{\"innerHTML\":_vm._s(_vm.visualSchedule.staticContent)}}):_c(_vm.template,{tag:\"component\",attrs:{\"id\":\"visualScheduleCards\",\"previewMode\":_vm.previewMode}})],1),_vm._v(\" \"),(_vm.hasSubtask)?_c('div',{staticClass:\"visual-schedule-col\"},[_c('Subtask',{attrs:{\"previewMode\":_vm.previewMode}})],1):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PlanComplete.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PlanComplete.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./PlanComplete.vue?vue&type=template&id=9711ca90&\"\nimport script from \"./PlanComplete.vue?vue&type=script&lang=js&\"\nexport * from \"./PlanComplete.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_vm._m(0),_vm._v(\" \"),_c('draggable',{attrs:{\"group\":\"row\",\"draggable\":\".plan-complete-row\",\"disabled\":_vm.previewMode,\"ghost-class\":\"bg-light\"},on:{\"end\":_vm.updateCardPositions},model:{value:(_vm.cards),callback:function ($$v) {_vm.cards=$$v},expression:\"cards\"}},_vm._l((_vm.cards),function(card,index){return _c('div',{key:(\"schedule_card\" + (card.card_id) + \"_\" + index),staticClass:\"row plan-complete-row align-items-center mb-3 py-2 rounded\",class:{previewing: _vm.previewMode}},[_c('div',{staticClass:\"col-5\"},[(!_vm.cardFinished(card))?_c('draggable',{attrs:{\"sort\":false,\"group\":{ name: (\"card_group\" + (card.id)), pull: 'clone', put: false }},on:{\"end\":function($event){return _vm.addToCompleted(card)}}},[_c('Card',{attrs:{\"card\":card,\"selected\":false}})],1):_c('div',{staticClass:\"card bg-light w-100 h-100 pointer card-holder\",on:{\"click\":function($event){return _vm.removeFromCompleted(card)}}},[_c('b-icon',{staticStyle:{\"height\":\"100%\",\"width\":\"50%\",\"margin\":\"auto\"},attrs:{\"icon\":\"arrow-counterclockwise\",\"variant\":\"secondary\"}})],1)],1),_vm._v(\" \"),_c('div',{staticClass:\"col-2 align-self-center text-center plan-complete-icon\"},[_c('b-icon',{staticStyle:{\"width\":\"100%\",\"height\":\"auto\"},attrs:{\"icon\":\"arrow-right\"}}),_vm._v(\" \"),(!_vm.previewMode)?_c('b-icon',{staticStyle:{\"width\":\"100%\",\"height\":\"auto\"},attrs:{\"icon\":\"arrows-move\"}}):_vm._e()],1),_vm._v(\" \"),_c('div',{staticClass:\"col-5\"},[(_vm.cardFinished(card))?_c('draggable',{attrs:{\"sort\":false,\"group\":{ name: (\"card_group\" + (card.id)), pull: 'clone', put: false }},on:{\"end\":function($event){return _vm.removeFromCompleted(card)}}},[_c('Card',{attrs:{\"card\":card,\"selected\":false}})],1):_c('div',{staticClass:\"card bg-light w-100 h-100 pointer card-holder\",on:{\"click\":function($event){return _vm.addToCompleted(card)}}},[_c('b-icon',{staticStyle:{\"height\":\"100%\",\"width\":\"50%\",\"margin\":\"auto\"},attrs:{\"icon\":\"check2\",\"variant\":\"secondary\"}})],1)],1)])}),0),_vm._v(\" \"),(_vm.completedCards.length)?_c('div',{staticClass:\"row non-share\"},[_c('div',{staticClass:\"col-5\"}),_vm._v(\" \"),_c('div',{staticClass:\"col-2\"}),_vm._v(\" \"),_c('div',{staticClass:\"col-5\"},[_c('b-button',{attrs:{\"variant\":\"secondary\",\"size\":\"sm\"},on:{\"click\":_vm.restart}},[_c('b-icon',{attrs:{\"icon\":\"arrow-counterclockwise\"}}),_vm._v(\" Restart\")],1)],1)]):_vm._e()],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-5 text-center\"},[_c('h3',{staticClass:\"mt-0\"},[_vm._v(\"Plan\")])]),_vm._v(\" \"),_c('div',{staticClass:\"col-2\"}),_vm._v(\" \"),_c('div',{staticClass:\"col-5 text-center\"},[_c('h3',{staticClass:\"mt-0\"},[_vm._v(\"Complete\")])])])}]\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FirstThen.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FirstThen.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./FirstThen.vue?vue&type=template&id=78ab20d4&\"\nimport script from \"./FirstThen.vue?vue&type=script&lang=js&\"\nexport * from \"./FirstThen.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"split-card\"},[(_vm.firsts[_vm.index])?_c('div',{class:{finished: _vm.completedFirsts.includes(_vm.index)},on:{\"click\":_vm.completeFirst}},[(_vm.completedFirsts.includes(_vm.index))?_c('b-icon',{attrs:{\"icon\":\"check2\"}}):_vm._e(),_vm._v(\" \"),_c('h2',{staticClass:\"card-title\"},[_vm._v(\"First\")]),_vm._v(\" \"),(!_vm.hideImg)?_c('b-img',{attrs:{\"fluid\":\"\",\"src\":_vm.firsts[_vm.index].image,\"height\":\"100\",\"width\":\"100\",\"center\":\"\",\"rounded\":\"\"}}):_vm._e(),_vm._v(\" \"),(!_vm.hideTitle)?_c('h3',[_vm._v(_vm._s(_vm.firsts[_vm.index].title))]):_vm._e()],1):_vm._e(),_vm._v(\" \"),_c('div',{class:{finished: _vm.completedThens.includes(_vm.index)},on:{\"click\":_vm.completeThen}},[(_vm.thens[_vm.index])?_c('div',[(_vm.completedThens.includes(_vm.index))?_c('b-icon',{attrs:{\"icon\":\"check2\"}}):_vm._e(),_vm._v(\" \"),_c('h2',{staticClass:\"card-title\"},[_vm._v(\"Then\")]),_vm._v(\" \"),(!_vm.hideImg)?_c('b-img',{attrs:{\"fluid\":\"\",\"src\":_vm.thens[_vm.index].image,\"height\":\"100\",\"width\":\"100\",\"center\":\"\",\"rounded\":\"\"}}):_vm._e(),_vm._v(\" \"),(!_vm.hideTitle)?_c('h3',[_vm._v(_vm._s(_vm.thens[_vm.index].title))]):_vm._e()],1):_c('div',[_c('p',[_vm._v(\"Add an even number of cards. Cards in odd positions become \\\"First\\\" and evens become \\\"Then\\\"\")])])])]),_vm._v(\" \"),_c('div',{staticClass:\"row mt-3 non-share\"},[_c('div',{staticClass:\"col\"},[(_vm.completedFirsts.length)?_c('b-button',{attrs:{\"size\":\"sm\",\"variant\":\"secondary\"},on:{\"click\":_vm.restart}},[_c('b-icon',{attrs:{\"icon\":\"arrow-counterclockwise\"}}),_vm._v(\" Restart\")],1):_vm._e()],1),_vm._v(\" \"),_c('div',{staticClass:\"col text-right\"},[(_vm.index > 0)?_c('b-button',{attrs:{\"size\":\"sm\",\"variant\":\"secondary\"},on:{\"click\":_vm.handlePrev}},[_c('b-icon',{attrs:{\"icon\":\"arrow-left\"}}),_vm._v(\"Back\")],1):_vm._e(),_vm._v(\" \"),(_vm.hasRemaining)?_c('b-button',{attrs:{\"size\":\"sm\",\"variant\":\"primary\",\"disabled\":!_vm.completedFirsts.includes(_vm.index) || !_vm.completedThens.includes(_vm.index)},on:{\"click\":_vm.handleNext}},[_vm._v(\"\\n Next \"),_c('b-icon',{attrs:{\"icon\":\"arrow-right\"}})],1):_vm._e()],1)])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CheckOff.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CheckOff.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./CheckOff.vue?vue&type=template&id=031c3dd1&\"\nimport script from \"./CheckOff.vue?vue&type=script&lang=js&\"\nexport * from \"./CheckOff.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('draggable',{attrs:{\"disabled\":_vm.previewMode},on:{\"end\":_vm.updateCardPositions},model:{value:(_vm.cards),callback:function ($$v) {_vm.cards=$$v},expression:\"cards\"}},_vm._l((_vm.cards),function(card,index){return _c('div',{key:(\"schedule_card\" + index),staticClass:\"row mb-3 pointer\"},[_c('div',{staticClass:\"col-10\"},[_c('div',{staticClass:\"card card-selectable\",class:{ completed: _vm.cardFinished(card), 'bg-light': _vm.cardFinished(card) },on:{\"click\":function($event){return _vm.addToCompleted(card)}}},[_c('div',{staticClass:\"card-body\"},[_c('svg',{staticClass:\"cross-off\",attrs:{\"viewBox\":\"0 0 100 10\"}},[_c('path',{attrs:{\"d\":\"M 1 5 h 0 0\"}})]),_vm._v(\" \"),_c('div',{staticClass:\"row align-items-center\"},[_c('div',{staticClass:\"col-2 text-center border-right\"},[_c('h1',{staticClass:\"display-3 m-0\"},[_vm._v(_vm._s(index + 1))])]),_vm._v(\" \"),(!_vm.hideImg)?_c('div',{staticClass:\"col\"},[_c('b-img',{staticClass:\"vs-img\",attrs:{\"src\":card.image,\"fluid\":\"\",\"height\":\"100\",\"width\":\"100\",\"rounded\":\"\"}})],1):_vm._e(),_vm._v(\" \"),(!_vm.hideTitle)?_c('div',{staticClass:\"col-auto\"},[_c('h3',{staticClass:\"check-off-label text-center m-0\"},[_vm._v(_vm._s(card.title))])]):_vm._e()])])])]),_vm._v(\" \"),_c('div',{staticClass:\"col-2 checked\"},[(_vm.cardFinished(card))?_c('b-icon',{attrs:{\"icon\":\"check2\"}}):_vm._e()],1)])}),0),_vm._v(\" \"),(_vm.completedCards.length)?_c('div',{staticClass:\"mt-3 non-share\"},[_c('b-button',{attrs:{\"size\":\"sm\",\"variant\":\"secondary\"},on:{\"click\":_vm.restart}},[_c('b-icon',{attrs:{\"icon\":\"arrow-counterclockwise\"}}),_vm._v(\" Restart\\n \")],1)],1):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TrashCan.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TrashCan.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TrashCan.vue?vue&type=template&id=33556e26&\"\nimport script from \"./TrashCan.vue?vue&type=script&lang=js&\"\nexport * from \"./TrashCan.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('draggable',{staticClass:\"mb-3 trash-wrapper position-relative\",class:{ trashActive: _vm.trashDragging },attrs:{\"list\":_vm.trashed,\"sort\":false,\"group\":\"activities\",\"draggable\":\".none\",\"swapThreshold\":0.1,\"animation\":100}},[_c('b-icon',{attrs:{\"icon\":\"trash\"}}),_vm._v(\" \"),_vm._l((_vm.trashed),function(card,index){return _c('span',{key:(\"trashed_\" + index),staticClass:\"mr-2 trashed pointer\",on:{\"click\":function($event){return _vm.removeFromCompleted(card)}}},[_c('b-img',{attrs:{\"fluid\":\"\",\"src\":card.image,\"height\":\"32\",\"width\":\"32\",\"center\":\"\",\"rounded\":\"\"}})],1)}),_vm._v(\" \"),(_vm.trashed.length)?_c('div',{staticClass:\"position-absolute non-share\",staticStyle:{\"right\":\"0\",\"top\":\"0\"}},[_c('b-button',{attrs:{\"size\":\"sm\",\"variant\":\"secondary\"},on:{\"click\":_vm.restart}},[_c('b-icon',{attrs:{\"icon\":\"arrow-counterclockwise\"}}),_vm._v(\" Empty\\n \")],1)],1):_vm._e()],2),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('draggable',{staticClass:\"col-md-12 pt-4\",attrs:{\"disabled\":_vm.previewMode},on:{\"end\":_vm.updateCardPositions},model:{value:(_vm.cards),callback:function ($$v) {_vm.cards=$$v},expression:\"cards\"}},[_c('draggable',{attrs:{\"list\":_vm.active,\"sort\":false,\"group\":\"activities\"},on:{\"start\":_vm.onStart,\"end\":_vm.onEnd}},_vm._l((_vm.active),function(card,index){return _c('Card',{key:(\"schedule_card\" + index),attrs:{\"card\":card,\"selected\":false}})}),1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RevealImage.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RevealImage.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./RevealImage.vue?vue&type=template&id=1475104c&\"\nimport script from \"./RevealImage.vue?vue&type=script&lang=js&\"\nexport * from \"./RevealImage.vue?vue&type=script&lang=js&\"\nimport style0 from \"./RevealImage.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.visualSchedule.staticRevealer)?_c('div',{domProps:{\"innerHTML\":_vm._s(_vm.visualSchedule.staticRevealer)}}):_c('div',{staticClass:\"position-relative\",attrs:{\"id\":\"imageRevealer\"}},[(_vm.showCounter)?_c('div',{staticClass:\"bg-success text-white p-2 rounded position-absolute font-weight-bold\",staticStyle:{\"top\":\"0\",\"right\":\"0\",\"z-index\":\"98\"}},[_vm._v(\"\\n \"+_vm._s(_vm.subtaskLimit - _vm.completed === 0 ? 'Great job!' : _vm.subtaskLimit - _vm.completed)+\"\\n \")]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"revealer w-100 h-100\"},_vm._l((100),function(index){return _c('div',{key:(\"reveal_cover_\" + index),ref:\"blocks\",refInFor:true,staticClass:\"revealer-block\",style:(_vm.revealBlockStyle(index)),attrs:{\"data-index\":index,\"data-row\":_vm.rowNumber(index),\"data-col\":_vm.colNumber(index)}})}),0),_vm._v(\" \"),_c('b-img',{attrs:{\"src\":_vm.image,\"center\":\"\",\"rounded\":\"\",\"fluid\":\"\"}})],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RevealImageControls.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RevealImageControls.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./RevealImageControls.vue?vue&type=template&id=f1a7b86a&\"\nimport script from \"./RevealImageControls.vue?vue&type=script&lang=js&\"\nexport * from \"./RevealImageControls.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"row vs-controls-row align-items-end\"},[_c('div',{staticClass:\"col\"},[_c('label',{staticClass:\"mt-2\",attrs:{\"for\":\"sb-days\"}},[_vm._v(\"Subtask count\")]),_vm._v(\" \"),_c('b-form-spinbutton',{attrs:{\"min\":_vm.completed + 1,\"max\":50,\"disabled\":_vm.completed > 0},on:{\"change\":_vm.subtaskCountBroadcast},model:{value:(_vm.subtaskCount),callback:function ($$v) {_vm.subtaskCount=$$v},expression:\"subtaskCount\"}})],1),_vm._v(\" \"),_c('div',{staticClass:\"col\"},[_c('b-button',{attrs:{\"variant\":\"success\",\"disabled\":_vm.completed >= _vm.subtaskCount},on:{\"click\":_vm.completedBroadcast}},[_vm._v(\"\\n \"+_vm._s(_vm.subtaskCount - _vm.completed)+\" remain\\n \")])],1),_vm._v(\" \"),_c('div',{staticClass:\"col align-self-end text-right\"},[(_vm.completed === _vm.subtaskCount)?_c('b-button',{attrs:{\"variant\":\"primary\",\"size\":\"sm\"},on:{\"click\":_vm.next}},[_vm._v(\"Next\")]):_vm._e(),_vm._v(\" \"),_c('b-button',{attrs:{\"variant\":\"secondary\",\"size\":\"sm\"},on:{\"click\":_vm.reset}},[_vm._v(\"Reset\")])],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Timer.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Timer.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Timer.vue?vue&type=template&id=02b70840&\"\nimport script from \"./Timer.vue?vue&type=script&lang=js&\"\nexport * from \"./Timer.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.isVisual)?_c('div',{staticClass:\"base-timer\"},[_c('svg',{staticClass:\"base-timer__svg\",attrs:{\"viewBox\":\"0 0 100 100\",\"xmlns\":\"http://www.w3.org/2000/svg\"}},[_c('g',{staticClass:\"base-timer__circle\"},[_c('circle',{staticClass:\"base-timer__path-elapsed\",attrs:{\"cx\":\"50\",\"cy\":\"50\",\"r\":\"45\"}}),_vm._v(\" \"),_c('path',{staticClass:\"base-timer__path-remaining\",class:_vm.remainingPathColor,attrs:{\"stroke-dasharray\":_vm.circleDasharray,\"d\":\"\\n M 50, 50\\n m -45, 0\\n a 45,45 0 1,0 90,0\\n a 45,45 0 1,0 -90,0\\n \"}})])]),_vm._v(\" \"),_c('span',{staticClass:\"base-timer__label\"},[_vm._v(_vm._s(_vm.formattedTimeLeft))])]):_c('div',{staticClass:\"simple-timer\"},[_vm._v(\"\\n \"+_vm._s(_vm.formattedTimeLeft)+\"\\n \")])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TimerControls.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TimerControls.vue?vue&type=script&lang=js&\"","\n\n\n","import { render, staticRenderFns } from \"./TimerControls.vue?vue&type=template&id=f821463c&\"\nimport script from \"./TimerControls.vue?vue&type=script&lang=js&\"\nexport * from \"./TimerControls.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"row vs-controls-row\"},[_c('div',{staticClass:\"col\"},[_c('div',[_c('label',{attrs:{\"for\":\"timer\"}},[_vm._v(\"Minutes\")]),_vm._v(\" \"),_c('b-form-spinbutton',{attrs:{\"id\":\"timer\",\"min\":0.5,\"max\":50,\"step\":0.5,\"disabled\":_vm.running},on:{\"change\":_vm.handleDurationChange},model:{value:(_vm.duration),callback:function ($$v) {_vm.duration=$$v},expression:\"duration\"}})],1)]),_vm._v(\" \"),_c('div',{staticClass:\"col align-self-end\"},[(!_vm.running)?_c('b-button',{attrs:{\"variant\":\"success\"},on:{\"click\":_vm.start}},[_vm._v(\"\\n Start\\n \")]):_vm._e(),_vm._v(\" \"),(_vm.running)?_c('b-button',{attrs:{\"variant\":\"primary\"},on:{\"click\":_vm.pause}},[_c('b-icon',{attrs:{\"icon\":\"pause-fill\"}})],1):_vm._e()],1),_vm._v(\" \"),_c('div',{staticClass:\"col align-self-end text-right\"},[_c('b-button',{attrs:{\"variant\":\"secondary\",\"size\":\"sm\"},on:{\"click\":_vm.reset}},[_vm._v(\"Reset\")])],1)])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Subtask.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Subtask.vue?vue&type=script&lang=js&\"","\n\n\n","import { render, staticRenderFns } from \"./Subtask.vue?vue&type=template&id=3c43968c&\"\nimport script from \"./Subtask.vue?vue&type=script&lang=js&\"\nexport * from \"./Subtask.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c(_vm.subtaskType,{tag:\"component\"}),_vm._v(\" \"),_c('hr',{staticClass:\"non-share\"}),_vm._v(\" \"),_c(_vm.subtaskControls,{tag:\"component\",staticClass:\"mb-3 non-share\"})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VisualScheduleViewer.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VisualScheduleViewer.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./VisualScheduleViewer.vue?vue&type=template&id=74891476&\"\nimport script from \"./VisualScheduleViewer.vue?vue&type=script&lang=js&\"\nexport * from \"./VisualScheduleViewer.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","function ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n enumerableOnly && (symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n })), keys.push.apply(keys, symbols);\n }\n\n return keys;\n}\n\nfunction _objectSpread(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = null != arguments[i] ? arguments[i] : {};\n i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {\n _defineProperty(target, key, source[key]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n\n return target;\n}\n\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nimport { Vue, mergeData } from '../../vue';\nimport { NAME_CARD } from '../../constants/components';\nimport { PROP_TYPE_BOOLEAN, PROP_TYPE_STRING } from '../../constants/props';\nimport { SLOT_NAME_DEFAULT, SLOT_NAME_FOOTER, SLOT_NAME_HEADER } from '../../constants/slots';\nimport { htmlOrText } from '../../utils/html';\nimport { hasNormalizedSlot, normalizeSlot } from '../../utils/normalize-slot';\nimport { sortKeys } from '../../utils/object';\nimport { copyProps, makeProp, makePropsConfigurable, pluckProps, prefixPropName, unprefixPropName } from '../../utils/props';\nimport { props as cardProps } from '../../mixins/card';\nimport { BCardBody, props as BCardBodyProps } from './card-body';\nimport { BCardHeader, props as BCardHeaderProps } from './card-header';\nimport { BCardFooter, props as BCardFooterProps } from './card-footer';\nimport { BCardImg, props as BCardImgProps } from './card-img'; // --- Props ---\n\nvar cardImgProps = copyProps(BCardImgProps, prefixPropName.bind(null, 'img'));\ncardImgProps.imgSrc.required = false;\nexport var props = makePropsConfigurable(sortKeys(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, BCardBodyProps), BCardHeaderProps), BCardFooterProps), cardImgProps), cardProps), {}, {\n align: makeProp(PROP_TYPE_STRING),\n noBody: makeProp(PROP_TYPE_BOOLEAN, false)\n})), NAME_CARD); // --- Main component ---\n// @vue/component\n\nexport var BCard = /*#__PURE__*/Vue.extend({\n name: NAME_CARD,\n functional: true,\n props: props,\n render: function render(h, _ref) {\n var _class;\n\n var props = _ref.props,\n data = _ref.data,\n slots = _ref.slots,\n scopedSlots = _ref.scopedSlots;\n var imgSrc = props.imgSrc,\n imgLeft = props.imgLeft,\n imgRight = props.imgRight,\n imgStart = props.imgStart,\n imgEnd = props.imgEnd,\n imgBottom = props.imgBottom,\n header = props.header,\n headerHtml = props.headerHtml,\n footer = props.footer,\n footerHtml = props.footerHtml,\n align = props.align,\n textVariant = props.textVariant,\n bgVariant = props.bgVariant,\n borderVariant = props.borderVariant;\n var $scopedSlots = scopedSlots || {};\n var $slots = slots();\n var slotScope = {};\n var $imgFirst = h();\n var $imgLast = h();\n\n if (imgSrc) {\n var $img = h(BCardImg, {\n props: pluckProps(cardImgProps, props, unprefixPropName.bind(null, 'img'))\n });\n\n if (imgBottom) {\n $imgLast = $img;\n } else {\n $imgFirst = $img;\n }\n }\n\n var $header = h();\n var hasHeaderSlot = hasNormalizedSlot(SLOT_NAME_HEADER, $scopedSlots, $slots);\n\n if (hasHeaderSlot || header || headerHtml) {\n $header = h(BCardHeader, {\n props: pluckProps(BCardHeaderProps, props),\n domProps: hasHeaderSlot ? {} : htmlOrText(headerHtml, header)\n }, normalizeSlot(SLOT_NAME_HEADER, slotScope, $scopedSlots, $slots));\n }\n\n var $content = normalizeSlot(SLOT_NAME_DEFAULT, slotScope, $scopedSlots, $slots); // Wrap content in `` when `noBody` prop set\n\n if (!props.noBody) {\n $content = h(BCardBody, {\n props: pluckProps(BCardBodyProps, props)\n }, $content); // When the `overlap` prop is set we need to wrap the `` and ``\n // into a relative positioned wrapper to don't distract a potential header or footer\n\n if (props.overlay && imgSrc) {\n $content = h('div', {\n staticClass: 'position-relative'\n }, [$imgFirst, $content, $imgLast]); // Reset image variables since they are already in the wrapper\n\n $imgFirst = h();\n $imgLast = h();\n }\n }\n\n var $footer = h();\n var hasFooterSlot = hasNormalizedSlot(SLOT_NAME_FOOTER, $scopedSlots, $slots);\n\n if (hasFooterSlot || footer || footerHtml) {\n $footer = h(BCardFooter, {\n props: pluckProps(BCardFooterProps, props),\n domProps: hasHeaderSlot ? {} : htmlOrText(footerHtml, footer)\n }, normalizeSlot(SLOT_NAME_FOOTER, slotScope, $scopedSlots, $slots));\n }\n\n return h(props.tag, mergeData(data, {\n staticClass: 'card',\n class: (_class = {\n 'flex-row': imgLeft || imgStart,\n 'flex-row-reverse': (imgRight || imgEnd) && !(imgLeft || imgStart)\n }, _defineProperty(_class, \"text-\".concat(align), align), _defineProperty(_class, \"bg-\".concat(bgVariant), bgVariant), _defineProperty(_class, \"border-\".concat(borderVariant), borderVariant), _defineProperty(_class, \"text-\".concat(textVariant), textVariant), _class)\n }), [$imgFirst, $header, $content, $footer, $imgLast]);\n }\n});","function ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n enumerableOnly && (symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n })), keys.push.apply(keys, symbols);\n }\n\n return keys;\n}\n\nfunction _objectSpread(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = null != arguments[i] ? arguments[i] : {};\n i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {\n _defineProperty(target, key, source[key]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n\n return target;\n}\n\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nimport { Vue, mergeData } from '../../vue';\nimport { NAME_CARD_IMG_LAZY } from '../../constants/components';\nimport { keys, omit, sortKeys } from '../../utils/object';\nimport { makePropsConfigurable } from '../../utils/props';\nimport { props as BImgProps } from '../image/img';\nimport { BImgLazy, props as BImgLazyProps } from '../image/img-lazy';\nimport { props as BCardImgProps } from './card-img'; // --- Props ---\n\nexport var props = makePropsConfigurable(sortKeys(_objectSpread(_objectSpread({}, omit(BImgLazyProps, keys(BImgProps))), omit(BCardImgProps, ['src', 'alt', 'width', 'height']))), NAME_CARD_IMG_LAZY); // --- Main component ---\n// @vue/component\n\nexport var BCardImgLazy = /*#__PURE__*/Vue.extend({\n name: NAME_CARD_IMG_LAZY,\n functional: true,\n props: props,\n render: function render(h, _ref) {\n var props = _ref.props,\n data = _ref.data;\n var baseClass = 'card-img';\n\n if (props.top) {\n baseClass += '-top';\n } else if (props.right || props.end) {\n baseClass += '-right';\n } else if (props.bottom) {\n baseClass += '-bottom';\n } else if (props.left || props.start) {\n baseClass += '-left';\n }\n\n return h(BImgLazy, mergeData(data, {\n class: [baseClass],\n // Exclude `left` and `right` props before passing to ``\n props: omit(props, ['left', 'right'])\n }));\n }\n});","import { Vue, mergeData } from '../../vue';\nimport { NAME_CARD_TEXT } from '../../constants/components';\nimport { PROP_TYPE_STRING } from '../../constants/props';\nimport { makeProp, makePropsConfigurable } from '../../utils/props'; // --- Props ---\n\nexport var props = makePropsConfigurable({\n textTag: makeProp(PROP_TYPE_STRING, 'p')\n}, NAME_CARD_TEXT); // --- Main component ---\n// @vue/component\n\nexport var BCardText = /*#__PURE__*/Vue.extend({\n name: NAME_CARD_TEXT,\n functional: true,\n props: props,\n render: function render(h, _ref) {\n var props = _ref.props,\n data = _ref.data,\n children = _ref.children;\n return h(props.textTag, mergeData(data, {\n staticClass: 'card-text'\n }), children);\n }\n});","import { Vue, mergeData } from '../../vue';\nimport { NAME_CARD_GROUP } from '../../constants/components';\nimport { PROP_TYPE_BOOLEAN, PROP_TYPE_STRING } from '../../constants/props';\nimport { makeProp, makePropsConfigurable } from '../../utils/props'; // --- Props ---\n\nexport var props = makePropsConfigurable({\n columns: makeProp(PROP_TYPE_BOOLEAN, false),\n deck: makeProp(PROP_TYPE_BOOLEAN, false),\n tag: makeProp(PROP_TYPE_STRING, 'div')\n}, NAME_CARD_GROUP); // --- Main component ---\n// @vue/component\n\nexport var BCardGroup = /*#__PURE__*/Vue.extend({\n name: NAME_CARD_GROUP,\n functional: true,\n props: props,\n render: function render(h, _ref) {\n var props = _ref.props,\n data = _ref.data,\n children = _ref.children;\n return h(props.tag, mergeData(data, {\n class: props.deck ? 'card-deck' : props.columns ? 'card-columns' : 'card-group'\n }), children);\n }\n});","var _watch;\n\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n enumerableOnly && (symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n })), keys.push.apply(keys, symbols);\n }\n\n return keys;\n}\n\nfunction _objectSpread(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = null != arguments[i] ? arguments[i] : {};\n i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {\n _defineProperty(target, key, source[key]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n\n return target;\n}\n\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nimport { COMPONENT_UID_KEY, Vue } from '../../vue';\nimport { NAME_TABS, NAME_TAB_BUTTON_HELPER } from '../../constants/components';\nimport { IS_BROWSER } from '../../constants/env';\nimport { EVENT_NAME_ACTIVATE_TAB, EVENT_NAME_CHANGED, EVENT_NAME_CLICK, EVENT_NAME_FIRST, EVENT_NAME_LAST, EVENT_NAME_NEXT, EVENT_NAME_PREV } from '../../constants/events';\nimport { CODE_DOWN, CODE_END, CODE_HOME, CODE_LEFT, CODE_RIGHT, CODE_SPACE, CODE_UP } from '../../constants/key-codes';\nimport { PROP_TYPE_ARRAY_OBJECT_STRING, PROP_TYPE_BOOLEAN, PROP_TYPE_NUMBER, PROP_TYPE_STRING } from '../../constants/props';\nimport { SLOT_NAME_EMPTY, SLOT_NAME_TABS_END, SLOT_NAME_TABS_START, SLOT_NAME_TITLE } from '../../constants/slots';\nimport { arrayIncludes } from '../../utils/array';\nimport { BvEvent } from '../../utils/bv-event.class';\nimport { attemptFocus, selectAll, requestAF } from '../../utils/dom';\nimport { stopEvent } from '../../utils/events';\nimport { identity } from '../../utils/identity';\nimport { isEvent } from '../../utils/inspect';\nimport { looseEqual } from '../../utils/loose-equal';\nimport { mathMax } from '../../utils/math';\nimport { makeModelMixin } from '../../utils/model';\nimport { toInteger } from '../../utils/number';\nimport { omit, sortKeys } from '../../utils/object';\nimport { observeDom } from '../../utils/observe-dom';\nimport { makeProp, makePropsConfigurable } from '../../utils/props';\nimport { stableSort } from '../../utils/stable-sort';\nimport { idMixin, props as idProps } from '../../mixins/id';\nimport { normalizeSlotMixin } from '../../mixins/normalize-slot';\nimport { BLink } from '../link/link';\nimport { BNav, props as BNavProps } from '../nav/nav'; // --- Constants ---\n\nvar _makeModelMixin = makeModelMixin('value', {\n type: PROP_TYPE_NUMBER\n}),\n modelMixin = _makeModelMixin.mixin,\n modelProps = _makeModelMixin.props,\n MODEL_PROP_NAME = _makeModelMixin.prop,\n MODEL_EVENT_NAME = _makeModelMixin.event; // --- Helper methods ---\n// Filter function to filter out disabled tabs\n\n\nvar notDisabled = function notDisabled(tab) {\n return !tab.disabled;\n}; // --- Helper components ---\n// @vue/component\n\n\nvar BVTabButton = /*#__PURE__*/Vue.extend({\n name: NAME_TAB_BUTTON_HELPER,\n inject: {\n bvTabs: {\n default:\n /* istanbul ignore next */\n function _default() {\n return {};\n }\n }\n },\n props: {\n controls: makeProp(PROP_TYPE_STRING),\n id: makeProp(PROP_TYPE_STRING),\n noKeyNav: makeProp(PROP_TYPE_BOOLEAN, false),\n posInSet: makeProp(PROP_TYPE_NUMBER),\n setSize: makeProp(PROP_TYPE_NUMBER),\n // Reference to the child instance\n tab: makeProp(),\n tabIndex: makeProp(PROP_TYPE_NUMBER)\n },\n methods: {\n focus: function focus() {\n attemptFocus(this.$refs.link);\n },\n handleEvent: function handleEvent(event) {\n /* istanbul ignore next */\n if (this.tab.disabled) {\n return;\n }\n\n var type = event.type,\n keyCode = event.keyCode,\n shiftKey = event.shiftKey;\n\n if (type === 'click') {\n stopEvent(event);\n this.$emit(EVENT_NAME_CLICK, event);\n } else if (type === 'keydown' && keyCode === CODE_SPACE) {\n // For ARIA tabs the SPACE key will also trigger a click/select\n // Even with keyboard navigation disabled, SPACE should \"click\" the button\n // See: https://github.com/bootstrap-vue/bootstrap-vue/issues/4323\n stopEvent(event);\n this.$emit(EVENT_NAME_CLICK, event);\n } else if (type === 'keydown' && !this.noKeyNav) {\n // For keyboard navigation\n if ([CODE_UP, CODE_LEFT, CODE_HOME].indexOf(keyCode) !== -1) {\n stopEvent(event);\n\n if (shiftKey || keyCode === CODE_HOME) {\n this.$emit(EVENT_NAME_FIRST, event);\n } else {\n this.$emit(EVENT_NAME_PREV, event);\n }\n } else if ([CODE_DOWN, CODE_RIGHT, CODE_END].indexOf(keyCode) !== -1) {\n stopEvent(event);\n\n if (shiftKey || keyCode === CODE_END) {\n this.$emit(EVENT_NAME_LAST, event);\n } else {\n this.$emit(EVENT_NAME_NEXT, event);\n }\n }\n }\n }\n },\n render: function render(h) {\n var id = this.id,\n tabIndex = this.tabIndex,\n setSize = this.setSize,\n posInSet = this.posInSet,\n controls = this.controls,\n handleEvent = this.handleEvent;\n var _this$tab = this.tab,\n title = _this$tab.title,\n localActive = _this$tab.localActive,\n disabled = _this$tab.disabled,\n titleItemClass = _this$tab.titleItemClass,\n titleLinkClass = _this$tab.titleLinkClass,\n titleLinkAttributes = _this$tab.titleLinkAttributes;\n var $link = h(BLink, {\n staticClass: 'nav-link',\n class: [{\n active: localActive && !disabled,\n disabled: disabled\n }, titleLinkClass, // Apply `activeNavItemClass` styles when the tab is active\n localActive ? this.bvTabs.activeNavItemClass : null],\n props: {\n disabled: disabled\n },\n attrs: _objectSpread(_objectSpread({}, titleLinkAttributes), {}, {\n id: id,\n role: 'tab',\n // Roving tab index when keynav enabled\n tabindex: tabIndex,\n 'aria-selected': localActive && !disabled ? 'true' : 'false',\n 'aria-setsize': setSize,\n 'aria-posinset': posInSet,\n 'aria-controls': controls\n }),\n on: {\n click: handleEvent,\n keydown: handleEvent\n },\n ref: 'link'\n }, [this.tab.normalizeSlot(SLOT_NAME_TITLE) || title]);\n return h('li', {\n staticClass: 'nav-item',\n class: [titleItemClass],\n attrs: {\n role: 'presentation'\n }\n }, [$link]);\n }\n}); // --- Props ---\n\nvar navProps = omit(BNavProps, ['tabs', 'isNavBar', 'cardHeader']);\nexport var props = makePropsConfigurable(sortKeys(_objectSpread(_objectSpread(_objectSpread(_objectSpread({}, idProps), modelProps), navProps), {}, {\n // Only applied to the currently active ``\n activeNavItemClass: makeProp(PROP_TYPE_ARRAY_OBJECT_STRING),\n // Only applied to the currently active ``\n // This prop is sniffed by the `` child\n activeTabClass: makeProp(PROP_TYPE_ARRAY_OBJECT_STRING),\n card: makeProp(PROP_TYPE_BOOLEAN, false),\n contentClass: makeProp(PROP_TYPE_ARRAY_OBJECT_STRING),\n // Synonym for 'bottom'\n end: makeProp(PROP_TYPE_BOOLEAN, false),\n // This prop is sniffed by the `` child\n lazy: makeProp(PROP_TYPE_BOOLEAN, false),\n navClass: makeProp(PROP_TYPE_ARRAY_OBJECT_STRING),\n navWrapperClass: makeProp(PROP_TYPE_ARRAY_OBJECT_STRING),\n noFade: makeProp(PROP_TYPE_BOOLEAN, false),\n noKeyNav: makeProp(PROP_TYPE_BOOLEAN, false),\n noNavStyle: makeProp(PROP_TYPE_BOOLEAN, false),\n tag: makeProp(PROP_TYPE_STRING, 'div')\n})), NAME_TABS); // --- Main component ---\n// @vue/component\n\nexport var BTabs = /*#__PURE__*/Vue.extend({\n name: NAME_TABS,\n mixins: [idMixin, modelMixin, normalizeSlotMixin],\n provide: function provide() {\n return {\n bvTabs: this\n };\n },\n props: props,\n data: function data() {\n return {\n // Index of current tab\n currentTab: toInteger(this[MODEL_PROP_NAME], -1),\n // Array of direct child `` instances, in DOM order\n tabs: [],\n // Array of child instances registered (for triggering reactive updates)\n registeredTabs: []\n };\n },\n computed: {\n fade: function fade() {\n // This computed prop is sniffed by the tab child\n return !this.noFade;\n },\n localNavClass: function localNavClass() {\n var classes = [];\n\n if (this.card && this.vertical) {\n classes.push('card-header', 'h-100', 'border-bottom-0', 'rounded-0');\n }\n\n return [].concat(classes, [this.navClass]);\n }\n },\n watch: (_watch = {}, _defineProperty(_watch, MODEL_PROP_NAME, function (newValue, oldValue) {\n if (newValue !== oldValue) {\n newValue = toInteger(newValue, -1);\n oldValue = toInteger(oldValue, 0);\n var $tab = this.tabs[newValue];\n\n if ($tab && !$tab.disabled) {\n this.activateTab($tab);\n } else {\n // Try next or prev tabs\n if (newValue < oldValue) {\n this.previousTab();\n } else {\n this.nextTab();\n }\n }\n }\n }), _defineProperty(_watch, \"currentTab\", function currentTab(newValue) {\n var index = -1; // Ensure only one tab is active at most\n\n this.tabs.forEach(function ($tab, i) {\n if (i === newValue && !$tab.disabled) {\n $tab.localActive = true;\n index = i;\n } else {\n $tab.localActive = false;\n }\n }); // Update the v-model\n\n this.$emit(MODEL_EVENT_NAME, index);\n }), _defineProperty(_watch, \"tabs\", function tabs(newValue, oldValue) {\n var _this = this; // We use `_uid` instead of `safeId()`, as the later is changed in a `$nextTick()`\n // if no explicit ID is provided, causing duplicate emits\n\n\n if (!looseEqual(newValue.map(function ($tab) {\n return $tab[COMPONENT_UID_KEY];\n }), oldValue.map(function ($tab) {\n return $tab[COMPONENT_UID_KEY];\n }))) {\n // In a `$nextTick()` to ensure `currentTab` has been set first\n this.$nextTick(function () {\n // We emit shallow copies of the new and old arrays of tabs,\n // to prevent users from potentially mutating the internal arrays\n _this.$emit(EVENT_NAME_CHANGED, newValue.slice(), oldValue.slice());\n });\n }\n }), _defineProperty(_watch, \"registeredTabs\", function registeredTabs() {\n this.updateTabs();\n }), _watch),\n created: function created() {\n // Create private non-reactive props\n this.$_observer = null;\n },\n mounted: function mounted() {\n this.setObserver(true);\n },\n beforeDestroy: function beforeDestroy() {\n this.setObserver(false); // Ensure no references to child instances exist\n\n this.tabs = [];\n },\n methods: {\n registerTab: function registerTab($tab) {\n if (!arrayIncludes(this.registeredTabs, $tab)) {\n this.registeredTabs.push($tab);\n }\n },\n unregisterTab: function unregisterTab($tab) {\n this.registeredTabs = this.registeredTabs.slice().filter(function ($t) {\n return $t !== $tab;\n });\n },\n // DOM observer is needed to detect changes in order of tabs\n setObserver: function setObserver() {\n var _this2 = this;\n\n var on = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;\n this.$_observer && this.$_observer.disconnect();\n this.$_observer = null;\n\n if (on) {\n /* istanbul ignore next: difficult to test mutation observer in JSDOM */\n var handler = function handler() {\n _this2.$nextTick(function () {\n requestAF(function () {\n _this2.updateTabs();\n });\n });\n }; // Watch for changes to `` sub components\n\n\n this.$_observer = observeDom(this.$refs.content, handler, {\n childList: true,\n subtree: false,\n attributes: true,\n attributeFilter: ['id']\n });\n }\n },\n getTabs: function getTabs() {\n var $tabs = this.registeredTabs.filter(function ($tab) {\n return $tab.$children.filter(function ($t) {\n return $t._isTab;\n }).length === 0;\n }); // DOM Order of Tabs\n\n var order = [];\n /* istanbul ignore next: too difficult to test */\n\n if (IS_BROWSER && $tabs.length > 0) {\n // We rely on the DOM when mounted to get the \"true\" order of the `` children\n // `querySelectorAll()` always returns elements in document order, regardless of\n // order specified in the selector\n var selector = $tabs.map(function ($tab) {\n return \"#\".concat($tab.safeId());\n }).join(', ');\n order = selectAll(selector, this.$el).map(function ($el) {\n return $el.id;\n }).filter(identity);\n } // Stable sort keeps the original order if not found in the `order` array,\n // which will be an empty array before mount\n\n\n return stableSort($tabs, function (a, b) {\n return order.indexOf(a.safeId()) - order.indexOf(b.safeId());\n });\n },\n updateTabs: function updateTabs() {\n var $tabs = this.getTabs(); // Find last active non-disabled tab in current tabs\n // We trust tab state over `currentTab`, in case tabs were added/removed/re-ordered\n\n var tabIndex = $tabs.indexOf($tabs.slice().reverse().find(function ($tab) {\n return $tab.localActive && !$tab.disabled;\n })); // Else try setting to `currentTab`\n\n if (tabIndex < 0) {\n var currentTab = this.currentTab;\n\n if (currentTab >= $tabs.length) {\n // Handle last tab being removed, so find the last non-disabled tab\n tabIndex = $tabs.indexOf($tabs.slice().reverse().find(notDisabled));\n } else if ($tabs[currentTab] && !$tabs[currentTab].disabled) {\n // Current tab is not disabled\n tabIndex = currentTab;\n }\n } // Else find first non-disabled tab in current tabs\n\n\n if (tabIndex < 0) {\n tabIndex = $tabs.indexOf($tabs.find(notDisabled));\n } // Ensure only one tab is active at a time\n\n\n $tabs.forEach(function ($tab, index) {\n $tab.localActive = index === tabIndex;\n });\n this.tabs = $tabs;\n this.currentTab = tabIndex;\n },\n // Find a button that controls a tab, given the tab reference\n // Returns the button vm instance\n getButtonForTab: function getButtonForTab($tab) {\n return (this.$refs.buttons || []).find(function ($btn) {\n return $btn.tab === $tab;\n });\n },\n // Force a button to re-render its content, given a `` instance\n // Called by `` on `update()`\n updateButton: function updateButton($tab) {\n var $button = this.getButtonForTab($tab);\n\n if ($button && $button.$forceUpdate) {\n $button.$forceUpdate();\n }\n },\n // Activate a tab given a `` instance\n // Also accessed by ``\n activateTab: function activateTab($tab) {\n var currentTab = this.currentTab,\n $tabs = this.tabs;\n var result = false;\n\n if ($tab) {\n var index = $tabs.indexOf($tab);\n\n if (index !== currentTab && index > -1 && !$tab.disabled) {\n var tabEvent = new BvEvent(EVENT_NAME_ACTIVATE_TAB, {\n cancelable: true,\n vueTarget: this,\n componentId: this.safeId()\n });\n this.$emit(tabEvent.type, index, currentTab, tabEvent);\n\n if (!tabEvent.defaultPrevented) {\n this.currentTab = index;\n result = true;\n }\n }\n } // Couldn't set tab, so ensure v-model is up to date\n\n /* istanbul ignore next: should rarely happen */\n\n\n if (!result && this[MODEL_PROP_NAME] !== currentTab) {\n this.$emit(MODEL_EVENT_NAME, currentTab);\n }\n\n return result;\n },\n // Deactivate a tab given a `` instance\n // Accessed by ``\n deactivateTab: function deactivateTab($tab) {\n if ($tab) {\n // Find first non-disabled tab that isn't the one being deactivated\n // If no tabs are available, then don't deactivate current tab\n return this.activateTab(this.tabs.filter(function ($t) {\n return $t !== $tab;\n }).find(notDisabled));\n }\n /* istanbul ignore next: should never/rarely happen */\n\n\n return false;\n },\n // Focus a tab button given its `` instance\n focusButton: function focusButton($tab) {\n var _this3 = this; // Wrap in `$nextTick()` to ensure DOM has completed rendering\n\n\n this.$nextTick(function () {\n attemptFocus(_this3.getButtonForTab($tab));\n });\n },\n // Emit a click event on a specified `` component instance\n emitTabClick: function emitTabClick(tab, event) {\n if (isEvent(event) && tab && tab.$emit && !tab.disabled) {\n tab.$emit(EVENT_NAME_CLICK, event);\n }\n },\n // Click handler\n clickTab: function clickTab($tab, event) {\n this.activateTab($tab);\n this.emitTabClick($tab, event);\n },\n // Move to first non-disabled tab\n firstTab: function firstTab(focus) {\n var $tab = this.tabs.find(notDisabled);\n\n if (this.activateTab($tab) && focus) {\n this.focusButton($tab);\n this.emitTabClick($tab, focus);\n }\n },\n // Move to previous non-disabled tab\n previousTab: function previousTab(focus) {\n var currentIndex = mathMax(this.currentTab, 0);\n var $tab = this.tabs.slice(0, currentIndex).reverse().find(notDisabled);\n\n if (this.activateTab($tab) && focus) {\n this.focusButton($tab);\n this.emitTabClick($tab, focus);\n }\n },\n // Move to next non-disabled tab\n nextTab: function nextTab(focus) {\n var currentIndex = mathMax(this.currentTab, -1);\n var $tab = this.tabs.slice(currentIndex + 1).find(notDisabled);\n\n if (this.activateTab($tab) && focus) {\n this.focusButton($tab);\n this.emitTabClick($tab, focus);\n }\n },\n // Move to last non-disabled tab\n lastTab: function lastTab(focus) {\n var $tab = this.tabs.slice().reverse().find(notDisabled);\n\n if (this.activateTab($tab) && focus) {\n this.focusButton($tab);\n this.emitTabClick($tab, focus);\n }\n }\n },\n render: function render(h) {\n var _this4 = this;\n\n var align = this.align,\n card = this.card,\n end = this.end,\n fill = this.fill,\n firstTab = this.firstTab,\n justified = this.justified,\n lastTab = this.lastTab,\n nextTab = this.nextTab,\n noKeyNav = this.noKeyNav,\n noNavStyle = this.noNavStyle,\n pills = this.pills,\n previousTab = this.previousTab,\n small = this.small,\n $tabs = this.tabs,\n vertical = this.vertical; // Currently active tab\n\n var $activeTab = $tabs.find(function ($tab) {\n return $tab.localActive && !$tab.disabled;\n }); // Tab button to allow focusing when no active tab found (keynav only)\n\n var $fallbackTab = $tabs.find(function ($tab) {\n return !$tab.disabled;\n }); // For each `` found create the tab buttons\n\n var $buttons = $tabs.map(function ($tab, index) {\n var _on;\n\n var safeId = $tab.safeId; // Ensure at least one tab button is focusable when keynav enabled (if possible)\n\n var tabIndex = null;\n\n if (!noKeyNav) {\n // Buttons are not in tab index unless active, or a fallback tab\n tabIndex = -1;\n\n if ($tab === $activeTab || !$activeTab && $tab === $fallbackTab) {\n // Place tab button in tab sequence\n tabIndex = null;\n }\n }\n\n return h(BVTabButton, {\n props: {\n controls: safeId ? safeId() : null,\n id: $tab.controlledBy || (safeId ? safeId(\"_BV_tab_button_\") : null),\n noKeyNav: noKeyNav,\n posInSet: index + 1,\n setSize: $tabs.length,\n tab: $tab,\n tabIndex: tabIndex\n },\n on: (_on = {}, _defineProperty(_on, EVENT_NAME_CLICK, function (event) {\n _this4.clickTab($tab, event);\n }), _defineProperty(_on, EVENT_NAME_FIRST, firstTab), _defineProperty(_on, EVENT_NAME_PREV, previousTab), _defineProperty(_on, EVENT_NAME_NEXT, nextTab), _defineProperty(_on, EVENT_NAME_LAST, lastTab), _on),\n key: $tab[COMPONENT_UID_KEY] || index,\n ref: 'buttons',\n // Needed to make `this.$refs.buttons` an array\n refInFor: true\n });\n });\n var $nav = h(BNav, {\n class: this.localNavClass,\n attrs: {\n role: 'tablist',\n id: this.safeId('_BV_tab_controls_')\n },\n props: {\n fill: fill,\n justified: justified,\n align: align,\n tabs: !noNavStyle && !pills,\n pills: !noNavStyle && pills,\n vertical: vertical,\n small: small,\n cardHeader: card && !vertical\n },\n ref: 'nav'\n }, [this.normalizeSlot(SLOT_NAME_TABS_START) || h(), $buttons, this.normalizeSlot(SLOT_NAME_TABS_END) || h()]);\n $nav = h('div', {\n class: [{\n 'card-header': card && !vertical && !end,\n 'card-footer': card && !vertical && end,\n 'col-auto': vertical\n }, this.navWrapperClass],\n key: 'bv-tabs-nav'\n }, [$nav]);\n var $children = this.normalizeSlot() || [];\n var $empty = h();\n\n if ($children.length === 0) {\n $empty = h('div', {\n class: ['tab-pane', 'active', {\n 'card-body': card\n }],\n key: 'bv-empty-tab'\n }, this.normalizeSlot(SLOT_NAME_EMPTY));\n }\n\n var $content = h('div', {\n staticClass: 'tab-content',\n class: [{\n col: vertical\n }, this.contentClass],\n attrs: {\n id: this.safeId('_BV_tab_container_')\n },\n key: 'bv-content',\n ref: 'content'\n }, [$children, $empty]); // Render final output\n\n return h(this.tag, {\n staticClass: 'tabs',\n class: {\n row: vertical,\n 'no-gutters': vertical && card\n },\n attrs: {\n id: this.safeId()\n }\n }, [end ? $content : h(), $nav, end ? h() : $content]);\n }\n});","function _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n/*!\n * vuex v3.6.2\n * (c) 2021 Evan You\n * @license MIT\n */\nfunction applyMixin(Vue) {\n var version = Number(Vue.version.split('.')[0]);\n\n if (version >= 2) {\n Vue.mixin({\n beforeCreate: vuexInit\n });\n } else {\n // override init and inject vuex init procedure\n // for 1.x backwards compatibility.\n var _init = Vue.prototype._init;\n\n Vue.prototype._init = function (options) {\n if (options === void 0) options = {};\n options.init = options.init ? [vuexInit].concat(options.init) : vuexInit;\n\n _init.call(this, options);\n };\n }\n /**\n * Vuex init hook, injected into each instances init hooks list.\n */\n\n\n function vuexInit() {\n var options = this.$options; // store injection\n\n if (options.store) {\n this.$store = typeof options.store === 'function' ? options.store() : options.store;\n } else if (options.parent && options.parent.$store) {\n this.$store = options.parent.$store;\n }\n }\n}\n\nvar target = typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : {};\nvar devtoolHook = target.__VUE_DEVTOOLS_GLOBAL_HOOK__;\n\nfunction devtoolPlugin(store) {\n if (!devtoolHook) {\n return;\n }\n\n store._devtoolHook = devtoolHook;\n devtoolHook.emit('vuex:init', store);\n devtoolHook.on('vuex:travel-to-state', function (targetState) {\n store.replaceState(targetState);\n });\n store.subscribe(function (mutation, state) {\n devtoolHook.emit('vuex:mutation', mutation, state);\n }, {\n prepend: true\n });\n store.subscribeAction(function (action, state) {\n devtoolHook.emit('vuex:action', action, state);\n }, {\n prepend: true\n });\n}\n/**\n * Get the first item that pass the test\n * by second argument function\n *\n * @param {Array} list\n * @param {Function} f\n * @return {*}\n */\n\n\nfunction find(list, f) {\n return list.filter(f)[0];\n}\n/**\n * Deep copy the given object considering circular structure.\n * This function caches all nested objects and its copies.\n * If it detects circular structure, use cached copy to avoid infinite loop.\n *\n * @param {*} obj\n * @param {Array} cache\n * @return {*}\n */\n\n\nfunction deepCopy(obj, cache) {\n if (cache === void 0) cache = []; // just return if obj is immutable value\n\n if (obj === null || _typeof(obj) !== 'object') {\n return obj;\n } // if obj is hit, it is in circular structure\n\n\n var hit = find(cache, function (c) {\n return c.original === obj;\n });\n\n if (hit) {\n return hit.copy;\n }\n\n var copy = Array.isArray(obj) ? [] : {}; // put the copy into cache at first\n // because we want to refer it in recursive deepCopy\n\n cache.push({\n original: obj,\n copy: copy\n });\n Object.keys(obj).forEach(function (key) {\n copy[key] = deepCopy(obj[key], cache);\n });\n return copy;\n}\n/**\n * forEach for object\n */\n\n\nfunction forEachValue(obj, fn) {\n Object.keys(obj).forEach(function (key) {\n return fn(obj[key], key);\n });\n}\n\nfunction isObject(obj) {\n return obj !== null && _typeof(obj) === 'object';\n}\n\nfunction isPromise(val) {\n return val && typeof val.then === 'function';\n}\n\nfunction assert(condition, msg) {\n if (!condition) {\n throw new Error(\"[vuex] \" + msg);\n }\n}\n\nfunction partial(fn, arg) {\n return function () {\n return fn(arg);\n };\n} // Base data struct for store's module, package with some attribute and method\n\n\nvar Module = function Module(rawModule, runtime) {\n this.runtime = runtime; // Store some children item\n\n this._children = Object.create(null); // Store the origin module object which passed by programmer\n\n this._rawModule = rawModule;\n var rawState = rawModule.state; // Store the origin module's state\n\n this.state = (typeof rawState === 'function' ? rawState() : rawState) || {};\n};\n\nvar prototypeAccessors = {\n namespaced: {\n configurable: true\n }\n};\n\nprototypeAccessors.namespaced.get = function () {\n return !!this._rawModule.namespaced;\n};\n\nModule.prototype.addChild = function addChild(key, module) {\n this._children[key] = module;\n};\n\nModule.prototype.removeChild = function removeChild(key) {\n delete this._children[key];\n};\n\nModule.prototype.getChild = function getChild(key) {\n return this._children[key];\n};\n\nModule.prototype.hasChild = function hasChild(key) {\n return key in this._children;\n};\n\nModule.prototype.update = function update(rawModule) {\n this._rawModule.namespaced = rawModule.namespaced;\n\n if (rawModule.actions) {\n this._rawModule.actions = rawModule.actions;\n }\n\n if (rawModule.mutations) {\n this._rawModule.mutations = rawModule.mutations;\n }\n\n if (rawModule.getters) {\n this._rawModule.getters = rawModule.getters;\n }\n};\n\nModule.prototype.forEachChild = function forEachChild(fn) {\n forEachValue(this._children, fn);\n};\n\nModule.prototype.forEachGetter = function forEachGetter(fn) {\n if (this._rawModule.getters) {\n forEachValue(this._rawModule.getters, fn);\n }\n};\n\nModule.prototype.forEachAction = function forEachAction(fn) {\n if (this._rawModule.actions) {\n forEachValue(this._rawModule.actions, fn);\n }\n};\n\nModule.prototype.forEachMutation = function forEachMutation(fn) {\n if (this._rawModule.mutations) {\n forEachValue(this._rawModule.mutations, fn);\n }\n};\n\nObject.defineProperties(Module.prototype, prototypeAccessors);\n\nvar ModuleCollection = function ModuleCollection(rawRootModule) {\n // register root module (Vuex.Store options)\n this.register([], rawRootModule, false);\n};\n\nModuleCollection.prototype.get = function get(path) {\n return path.reduce(function (module, key) {\n return module.getChild(key);\n }, this.root);\n};\n\nModuleCollection.prototype.getNamespace = function getNamespace(path) {\n var module = this.root;\n return path.reduce(function (namespace, key) {\n module = module.getChild(key);\n return namespace + (module.namespaced ? key + '/' : '');\n }, '');\n};\n\nModuleCollection.prototype.update = function update$1(rawRootModule) {\n update([], this.root, rawRootModule);\n};\n\nModuleCollection.prototype.register = function register(path, rawModule, runtime) {\n var this$1 = this;\n if (runtime === void 0) runtime = true;\n\n if (process.env.NODE_ENV !== 'production') {\n assertRawModule(path, rawModule);\n }\n\n var newModule = new Module(rawModule, runtime);\n\n if (path.length === 0) {\n this.root = newModule;\n } else {\n var parent = this.get(path.slice(0, -1));\n parent.addChild(path[path.length - 1], newModule);\n } // register nested modules\n\n\n if (rawModule.modules) {\n forEachValue(rawModule.modules, function (rawChildModule, key) {\n this$1.register(path.concat(key), rawChildModule, runtime);\n });\n }\n};\n\nModuleCollection.prototype.unregister = function unregister(path) {\n var parent = this.get(path.slice(0, -1));\n var key = path[path.length - 1];\n var child = parent.getChild(key);\n\n if (!child) {\n if (process.env.NODE_ENV !== 'production') {\n console.warn(\"[vuex] trying to unregister module '\" + key + \"', which is \" + \"not registered\");\n }\n\n return;\n }\n\n if (!child.runtime) {\n return;\n }\n\n parent.removeChild(key);\n};\n\nModuleCollection.prototype.isRegistered = function isRegistered(path) {\n var parent = this.get(path.slice(0, -1));\n var key = path[path.length - 1];\n\n if (parent) {\n return parent.hasChild(key);\n }\n\n return false;\n};\n\nfunction update(path, targetModule, newModule) {\n if (process.env.NODE_ENV !== 'production') {\n assertRawModule(path, newModule);\n } // update target module\n\n\n targetModule.update(newModule); // update nested modules\n\n if (newModule.modules) {\n for (var key in newModule.modules) {\n if (!targetModule.getChild(key)) {\n if (process.env.NODE_ENV !== 'production') {\n console.warn(\"[vuex] trying to add a new module '\" + key + \"' on hot reloading, \" + 'manual reload is needed');\n }\n\n return;\n }\n\n update(path.concat(key), targetModule.getChild(key), newModule.modules[key]);\n }\n }\n}\n\nvar functionAssert = {\n assert: function assert(value) {\n return typeof value === 'function';\n },\n expected: 'function'\n};\nvar objectAssert = {\n assert: function assert(value) {\n return typeof value === 'function' || _typeof(value) === 'object' && typeof value.handler === 'function';\n },\n expected: 'function or object with \"handler\" function'\n};\nvar assertTypes = {\n getters: functionAssert,\n mutations: functionAssert,\n actions: objectAssert\n};\n\nfunction assertRawModule(path, rawModule) {\n Object.keys(assertTypes).forEach(function (key) {\n if (!rawModule[key]) {\n return;\n }\n\n var assertOptions = assertTypes[key];\n forEachValue(rawModule[key], function (value, type) {\n assert(assertOptions.assert(value), makeAssertionMessage(path, key, type, value, assertOptions.expected));\n });\n });\n}\n\nfunction makeAssertionMessage(path, key, type, value, expected) {\n var buf = key + \" should be \" + expected + \" but \\\"\" + key + \".\" + type + \"\\\"\";\n\n if (path.length > 0) {\n buf += \" in module \\\"\" + path.join('.') + \"\\\"\";\n }\n\n buf += \" is \" + JSON.stringify(value) + \".\";\n return buf;\n}\n\nvar Vue; // bind on install\n\nvar Store = function Store(options) {\n var this$1 = this;\n if (options === void 0) options = {}; // Auto install if it is not done yet and `window` has `Vue`.\n // To allow users to avoid auto-installation in some cases,\n // this code should be placed here. See #731\n\n if (!Vue && typeof window !== 'undefined' && window.Vue) {\n install(window.Vue);\n }\n\n if (process.env.NODE_ENV !== 'production') {\n assert(Vue, \"must call Vue.use(Vuex) before creating a store instance.\");\n assert(typeof Promise !== 'undefined', \"vuex requires a Promise polyfill in this browser.\");\n assert(this instanceof Store, \"store must be called with the new operator.\");\n }\n\n var plugins = options.plugins;\n if (plugins === void 0) plugins = [];\n var strict = options.strict;\n if (strict === void 0) strict = false; // store internal state\n\n this._committing = false;\n this._actions = Object.create(null);\n this._actionSubscribers = [];\n this._mutations = Object.create(null);\n this._wrappedGetters = Object.create(null);\n this._modules = new ModuleCollection(options);\n this._modulesNamespaceMap = Object.create(null);\n this._subscribers = [];\n this._watcherVM = new Vue();\n this._makeLocalGettersCache = Object.create(null); // bind commit and dispatch to self\n\n var store = this;\n var ref = this;\n var dispatch = ref.dispatch;\n var commit = ref.commit;\n\n this.dispatch = function boundDispatch(type, payload) {\n return dispatch.call(store, type, payload);\n };\n\n this.commit = function boundCommit(type, payload, options) {\n return commit.call(store, type, payload, options);\n }; // strict mode\n\n\n this.strict = strict;\n var state = this._modules.root.state; // init root module.\n // this also recursively registers all sub-modules\n // and collects all module getters inside this._wrappedGetters\n\n installModule(this, state, [], this._modules.root); // initialize the store vm, which is responsible for the reactivity\n // (also registers _wrappedGetters as computed properties)\n\n resetStoreVM(this, state); // apply plugins\n\n plugins.forEach(function (plugin) {\n return plugin(this$1);\n });\n var useDevtools = options.devtools !== undefined ? options.devtools : Vue.config.devtools;\n\n if (useDevtools) {\n devtoolPlugin(this);\n }\n};\n\nvar prototypeAccessors$1 = {\n state: {\n configurable: true\n }\n};\n\nprototypeAccessors$1.state.get = function () {\n return this._vm._data.$$state;\n};\n\nprototypeAccessors$1.state.set = function (v) {\n if (process.env.NODE_ENV !== 'production') {\n assert(false, \"use store.replaceState() to explicit replace store state.\");\n }\n};\n\nStore.prototype.commit = function commit(_type, _payload, _options) {\n var this$1 = this; // check object-style commit\n\n var ref = unifyObjectStyle(_type, _payload, _options);\n var type = ref.type;\n var payload = ref.payload;\n var options = ref.options;\n var mutation = {\n type: type,\n payload: payload\n };\n var entry = this._mutations[type];\n\n if (!entry) {\n if (process.env.NODE_ENV !== 'production') {\n console.error(\"[vuex] unknown mutation type: \" + type);\n }\n\n return;\n }\n\n this._withCommit(function () {\n entry.forEach(function commitIterator(handler) {\n handler(payload);\n });\n });\n\n this._subscribers.slice() // shallow copy to prevent iterator invalidation if subscriber synchronously calls unsubscribe\n .forEach(function (sub) {\n return sub(mutation, this$1.state);\n });\n\n if (process.env.NODE_ENV !== 'production' && options && options.silent) {\n console.warn(\"[vuex] mutation type: \" + type + \". Silent option has been removed. \" + 'Use the filter functionality in the vue-devtools');\n }\n};\n\nStore.prototype.dispatch = function dispatch(_type, _payload) {\n var this$1 = this; // check object-style dispatch\n\n var ref = unifyObjectStyle(_type, _payload);\n var type = ref.type;\n var payload = ref.payload;\n var action = {\n type: type,\n payload: payload\n };\n var entry = this._actions[type];\n\n if (!entry) {\n if (process.env.NODE_ENV !== 'production') {\n console.error(\"[vuex] unknown action type: \" + type);\n }\n\n return;\n }\n\n try {\n this._actionSubscribers.slice() // shallow copy to prevent iterator invalidation if subscriber synchronously calls unsubscribe\n .filter(function (sub) {\n return sub.before;\n }).forEach(function (sub) {\n return sub.before(action, this$1.state);\n });\n } catch (e) {\n if (process.env.NODE_ENV !== 'production') {\n console.warn(\"[vuex] error in before action subscribers: \");\n console.error(e);\n }\n }\n\n var result = entry.length > 1 ? Promise.all(entry.map(function (handler) {\n return handler(payload);\n })) : entry[0](payload);\n return new Promise(function (resolve, reject) {\n result.then(function (res) {\n try {\n this$1._actionSubscribers.filter(function (sub) {\n return sub.after;\n }).forEach(function (sub) {\n return sub.after(action, this$1.state);\n });\n } catch (e) {\n if (process.env.NODE_ENV !== 'production') {\n console.warn(\"[vuex] error in after action subscribers: \");\n console.error(e);\n }\n }\n\n resolve(res);\n }, function (error) {\n try {\n this$1._actionSubscribers.filter(function (sub) {\n return sub.error;\n }).forEach(function (sub) {\n return sub.error(action, this$1.state, error);\n });\n } catch (e) {\n if (process.env.NODE_ENV !== 'production') {\n console.warn(\"[vuex] error in error action subscribers: \");\n console.error(e);\n }\n }\n\n reject(error);\n });\n });\n};\n\nStore.prototype.subscribe = function subscribe(fn, options) {\n return genericSubscribe(fn, this._subscribers, options);\n};\n\nStore.prototype.subscribeAction = function subscribeAction(fn, options) {\n var subs = typeof fn === 'function' ? {\n before: fn\n } : fn;\n return genericSubscribe(subs, this._actionSubscribers, options);\n};\n\nStore.prototype.watch = function watch(getter, cb, options) {\n var this$1 = this;\n\n if (process.env.NODE_ENV !== 'production') {\n assert(typeof getter === 'function', \"store.watch only accepts a function.\");\n }\n\n return this._watcherVM.$watch(function () {\n return getter(this$1.state, this$1.getters);\n }, cb, options);\n};\n\nStore.prototype.replaceState = function replaceState(state) {\n var this$1 = this;\n\n this._withCommit(function () {\n this$1._vm._data.$$state = state;\n });\n};\n\nStore.prototype.registerModule = function registerModule(path, rawModule, options) {\n if (options === void 0) options = {};\n\n if (typeof path === 'string') {\n path = [path];\n }\n\n if (process.env.NODE_ENV !== 'production') {\n assert(Array.isArray(path), \"module path must be a string or an Array.\");\n assert(path.length > 0, 'cannot register the root module by using registerModule.');\n }\n\n this._modules.register(path, rawModule);\n\n installModule(this, this.state, path, this._modules.get(path), options.preserveState); // reset store to update getters...\n\n resetStoreVM(this, this.state);\n};\n\nStore.prototype.unregisterModule = function unregisterModule(path) {\n var this$1 = this;\n\n if (typeof path === 'string') {\n path = [path];\n }\n\n if (process.env.NODE_ENV !== 'production') {\n assert(Array.isArray(path), \"module path must be a string or an Array.\");\n }\n\n this._modules.unregister(path);\n\n this._withCommit(function () {\n var parentState = getNestedState(this$1.state, path.slice(0, -1));\n Vue.delete(parentState, path[path.length - 1]);\n });\n\n resetStore(this);\n};\n\nStore.prototype.hasModule = function hasModule(path) {\n if (typeof path === 'string') {\n path = [path];\n }\n\n if (process.env.NODE_ENV !== 'production') {\n assert(Array.isArray(path), \"module path must be a string or an Array.\");\n }\n\n return this._modules.isRegistered(path);\n};\n\nStore.prototype.hotUpdate = function hotUpdate(newOptions) {\n this._modules.update(newOptions);\n\n resetStore(this, true);\n};\n\nStore.prototype._withCommit = function _withCommit(fn) {\n var committing = this._committing;\n this._committing = true;\n fn();\n this._committing = committing;\n};\n\nObject.defineProperties(Store.prototype, prototypeAccessors$1);\n\nfunction genericSubscribe(fn, subs, options) {\n if (subs.indexOf(fn) < 0) {\n options && options.prepend ? subs.unshift(fn) : subs.push(fn);\n }\n\n return function () {\n var i = subs.indexOf(fn);\n\n if (i > -1) {\n subs.splice(i, 1);\n }\n };\n}\n\nfunction resetStore(store, hot) {\n store._actions = Object.create(null);\n store._mutations = Object.create(null);\n store._wrappedGetters = Object.create(null);\n store._modulesNamespaceMap = Object.create(null);\n var state = store.state; // init all modules\n\n installModule(store, state, [], store._modules.root, true); // reset vm\n\n resetStoreVM(store, state, hot);\n}\n\nfunction resetStoreVM(store, state, hot) {\n var oldVm = store._vm; // bind store public getters\n\n store.getters = {}; // reset local getters cache\n\n store._makeLocalGettersCache = Object.create(null);\n var wrappedGetters = store._wrappedGetters;\n var computed = {};\n forEachValue(wrappedGetters, function (fn, key) {\n // use computed to leverage its lazy-caching mechanism\n // direct inline function use will lead to closure preserving oldVm.\n // using partial to return function with only arguments preserved in closure environment.\n computed[key] = partial(fn, store);\n Object.defineProperty(store.getters, key, {\n get: function get() {\n return store._vm[key];\n },\n enumerable: true // for local getters\n\n });\n }); // use a Vue instance to store the state tree\n // suppress warnings just in case the user has added\n // some funky global mixins\n\n var silent = Vue.config.silent;\n Vue.config.silent = true;\n store._vm = new Vue({\n data: {\n $$state: state\n },\n computed: computed\n });\n Vue.config.silent = silent; // enable strict mode for new vm\n\n if (store.strict) {\n enableStrictMode(store);\n }\n\n if (oldVm) {\n if (hot) {\n // dispatch changes in all subscribed watchers\n // to force getter re-evaluation for hot reloading.\n store._withCommit(function () {\n oldVm._data.$$state = null;\n });\n }\n\n Vue.nextTick(function () {\n return oldVm.$destroy();\n });\n }\n}\n\nfunction installModule(store, rootState, path, module, hot) {\n var isRoot = !path.length;\n\n var namespace = store._modules.getNamespace(path); // register in namespace map\n\n\n if (module.namespaced) {\n if (store._modulesNamespaceMap[namespace] && process.env.NODE_ENV !== 'production') {\n console.error(\"[vuex] duplicate namespace \" + namespace + \" for the namespaced module \" + path.join('/'));\n }\n\n store._modulesNamespaceMap[namespace] = module;\n } // set state\n\n\n if (!isRoot && !hot) {\n var parentState = getNestedState(rootState, path.slice(0, -1));\n var moduleName = path[path.length - 1];\n\n store._withCommit(function () {\n if (process.env.NODE_ENV !== 'production') {\n if (moduleName in parentState) {\n console.warn(\"[vuex] state field \\\"\" + moduleName + \"\\\" was overridden by a module with the same name at \\\"\" + path.join('.') + \"\\\"\");\n }\n }\n\n Vue.set(parentState, moduleName, module.state);\n });\n }\n\n var local = module.context = makeLocalContext(store, namespace, path);\n module.forEachMutation(function (mutation, key) {\n var namespacedType = namespace + key;\n registerMutation(store, namespacedType, mutation, local);\n });\n module.forEachAction(function (action, key) {\n var type = action.root ? key : namespace + key;\n var handler = action.handler || action;\n registerAction(store, type, handler, local);\n });\n module.forEachGetter(function (getter, key) {\n var namespacedType = namespace + key;\n registerGetter(store, namespacedType, getter, local);\n });\n module.forEachChild(function (child, key) {\n installModule(store, rootState, path.concat(key), child, hot);\n });\n}\n/**\n * make localized dispatch, commit, getters and state\n * if there is no namespace, just use root ones\n */\n\n\nfunction makeLocalContext(store, namespace, path) {\n var noNamespace = namespace === '';\n var local = {\n dispatch: noNamespace ? store.dispatch : function (_type, _payload, _options) {\n var args = unifyObjectStyle(_type, _payload, _options);\n var payload = args.payload;\n var options = args.options;\n var type = args.type;\n\n if (!options || !options.root) {\n type = namespace + type;\n\n if (process.env.NODE_ENV !== 'production' && !store._actions[type]) {\n console.error(\"[vuex] unknown local action type: \" + args.type + \", global type: \" + type);\n return;\n }\n }\n\n return store.dispatch(type, payload);\n },\n commit: noNamespace ? store.commit : function (_type, _payload, _options) {\n var args = unifyObjectStyle(_type, _payload, _options);\n var payload = args.payload;\n var options = args.options;\n var type = args.type;\n\n if (!options || !options.root) {\n type = namespace + type;\n\n if (process.env.NODE_ENV !== 'production' && !store._mutations[type]) {\n console.error(\"[vuex] unknown local mutation type: \" + args.type + \", global type: \" + type);\n return;\n }\n }\n\n store.commit(type, payload, options);\n }\n }; // getters and state object must be gotten lazily\n // because they will be changed by vm update\n\n Object.defineProperties(local, {\n getters: {\n get: noNamespace ? function () {\n return store.getters;\n } : function () {\n return makeLocalGetters(store, namespace);\n }\n },\n state: {\n get: function get() {\n return getNestedState(store.state, path);\n }\n }\n });\n return local;\n}\n\nfunction makeLocalGetters(store, namespace) {\n if (!store._makeLocalGettersCache[namespace]) {\n var gettersProxy = {};\n var splitPos = namespace.length;\n Object.keys(store.getters).forEach(function (type) {\n // skip if the target getter is not match this namespace\n if (type.slice(0, splitPos) !== namespace) {\n return;\n } // extract local getter type\n\n\n var localType = type.slice(splitPos); // Add a port to the getters proxy.\n // Define as getter property because\n // we do not want to evaluate the getters in this time.\n\n Object.defineProperty(gettersProxy, localType, {\n get: function get() {\n return store.getters[type];\n },\n enumerable: true\n });\n });\n store._makeLocalGettersCache[namespace] = gettersProxy;\n }\n\n return store._makeLocalGettersCache[namespace];\n}\n\nfunction registerMutation(store, type, handler, local) {\n var entry = store._mutations[type] || (store._mutations[type] = []);\n entry.push(function wrappedMutationHandler(payload) {\n handler.call(store, local.state, payload);\n });\n}\n\nfunction registerAction(store, type, handler, local) {\n var entry = store._actions[type] || (store._actions[type] = []);\n entry.push(function wrappedActionHandler(payload) {\n var res = handler.call(store, {\n dispatch: local.dispatch,\n commit: local.commit,\n getters: local.getters,\n state: local.state,\n rootGetters: store.getters,\n rootState: store.state\n }, payload);\n\n if (!isPromise(res)) {\n res = Promise.resolve(res);\n }\n\n if (store._devtoolHook) {\n return res.catch(function (err) {\n store._devtoolHook.emit('vuex:error', err);\n\n throw err;\n });\n } else {\n return res;\n }\n });\n}\n\nfunction registerGetter(store, type, rawGetter, local) {\n if (store._wrappedGetters[type]) {\n if (process.env.NODE_ENV !== 'production') {\n console.error(\"[vuex] duplicate getter key: \" + type);\n }\n\n return;\n }\n\n store._wrappedGetters[type] = function wrappedGetter(store) {\n return rawGetter(local.state, // local state\n local.getters, // local getters\n store.state, // root state\n store.getters // root getters\n );\n };\n}\n\nfunction enableStrictMode(store) {\n store._vm.$watch(function () {\n return this._data.$$state;\n }, function () {\n if (process.env.NODE_ENV !== 'production') {\n assert(store._committing, \"do not mutate vuex store state outside mutation handlers.\");\n }\n }, {\n deep: true,\n sync: true\n });\n}\n\nfunction getNestedState(state, path) {\n return path.reduce(function (state, key) {\n return state[key];\n }, state);\n}\n\nfunction unifyObjectStyle(type, payload, options) {\n if (isObject(type) && type.type) {\n options = payload;\n payload = type;\n type = type.type;\n }\n\n if (process.env.NODE_ENV !== 'production') {\n assert(typeof type === 'string', \"expects string as the type, but found \" + _typeof(type) + \".\");\n }\n\n return {\n type: type,\n payload: payload,\n options: options\n };\n}\n\nfunction install(_Vue) {\n if (Vue && _Vue === Vue) {\n if (process.env.NODE_ENV !== 'production') {\n console.error('[vuex] already installed. Vue.use(Vuex) should be called only once.');\n }\n\n return;\n }\n\n Vue = _Vue;\n applyMixin(Vue);\n}\n/**\n * Reduce the code which written in Vue.js for getting the state.\n * @param {String} [namespace] - Module's namespace\n * @param {Object|Array} states # Object's item can be a function which accept state and getters for param, you can do something for state and getters in it.\n * @param {Object}\n */\n\n\nvar mapState = normalizeNamespace(function (namespace, states) {\n var res = {};\n\n if (process.env.NODE_ENV !== 'production' && !isValidMap(states)) {\n console.error('[vuex] mapState: mapper parameter must be either an Array or an Object');\n }\n\n normalizeMap(states).forEach(function (ref) {\n var key = ref.key;\n var val = ref.val;\n\n res[key] = function mappedState() {\n var state = this.$store.state;\n var getters = this.$store.getters;\n\n if (namespace) {\n var module = getModuleByNamespace(this.$store, 'mapState', namespace);\n\n if (!module) {\n return;\n }\n\n state = module.context.state;\n getters = module.context.getters;\n }\n\n return typeof val === 'function' ? val.call(this, state, getters) : state[val];\n }; // mark vuex getter for devtools\n\n\n res[key].vuex = true;\n });\n return res;\n});\n/**\n * Reduce the code which written in Vue.js for committing the mutation\n * @param {String} [namespace] - Module's namespace\n * @param {Object|Array} mutations # Object's item can be a function which accept `commit` function as the first param, it can accept another params. You can commit mutation and do any other things in this function. specially, You need to pass anthor params from the mapped function.\n * @return {Object}\n */\n\nvar mapMutations = normalizeNamespace(function (namespace, mutations) {\n var res = {};\n\n if (process.env.NODE_ENV !== 'production' && !isValidMap(mutations)) {\n console.error('[vuex] mapMutations: mapper parameter must be either an Array or an Object');\n }\n\n normalizeMap(mutations).forEach(function (ref) {\n var key = ref.key;\n var val = ref.val;\n\n res[key] = function mappedMutation() {\n var args = [],\n len = arguments.length;\n\n while (len--) {\n args[len] = arguments[len];\n } // Get the commit method from store\n\n\n var commit = this.$store.commit;\n\n if (namespace) {\n var module = getModuleByNamespace(this.$store, 'mapMutations', namespace);\n\n if (!module) {\n return;\n }\n\n commit = module.context.commit;\n }\n\n return typeof val === 'function' ? val.apply(this, [commit].concat(args)) : commit.apply(this.$store, [val].concat(args));\n };\n });\n return res;\n});\n/**\n * Reduce the code which written in Vue.js for getting the getters\n * @param {String} [namespace] - Module's namespace\n * @param {Object|Array} getters\n * @return {Object}\n */\n\nvar mapGetters = normalizeNamespace(function (namespace, getters) {\n var res = {};\n\n if (process.env.NODE_ENV !== 'production' && !isValidMap(getters)) {\n console.error('[vuex] mapGetters: mapper parameter must be either an Array or an Object');\n }\n\n normalizeMap(getters).forEach(function (ref) {\n var key = ref.key;\n var val = ref.val; // The namespace has been mutated by normalizeNamespace\n\n val = namespace + val;\n\n res[key] = function mappedGetter() {\n if (namespace && !getModuleByNamespace(this.$store, 'mapGetters', namespace)) {\n return;\n }\n\n if (process.env.NODE_ENV !== 'production' && !(val in this.$store.getters)) {\n console.error(\"[vuex] unknown getter: \" + val);\n return;\n }\n\n return this.$store.getters[val];\n }; // mark vuex getter for devtools\n\n\n res[key].vuex = true;\n });\n return res;\n});\n/**\n * Reduce the code which written in Vue.js for dispatch the action\n * @param {String} [namespace] - Module's namespace\n * @param {Object|Array} actions # Object's item can be a function which accept `dispatch` function as the first param, it can accept anthor params. You can dispatch action and do any other things in this function. specially, You need to pass anthor params from the mapped function.\n * @return {Object}\n */\n\nvar mapActions = normalizeNamespace(function (namespace, actions) {\n var res = {};\n\n if (process.env.NODE_ENV !== 'production' && !isValidMap(actions)) {\n console.error('[vuex] mapActions: mapper parameter must be either an Array or an Object');\n }\n\n normalizeMap(actions).forEach(function (ref) {\n var key = ref.key;\n var val = ref.val;\n\n res[key] = function mappedAction() {\n var args = [],\n len = arguments.length;\n\n while (len--) {\n args[len] = arguments[len];\n } // get dispatch function from store\n\n\n var dispatch = this.$store.dispatch;\n\n if (namespace) {\n var module = getModuleByNamespace(this.$store, 'mapActions', namespace);\n\n if (!module) {\n return;\n }\n\n dispatch = module.context.dispatch;\n }\n\n return typeof val === 'function' ? val.apply(this, [dispatch].concat(args)) : dispatch.apply(this.$store, [val].concat(args));\n };\n });\n return res;\n});\n/**\n * Rebinding namespace param for mapXXX function in special scoped, and return them by simple object\n * @param {String} namespace\n * @return {Object}\n */\n\nvar createNamespacedHelpers = function createNamespacedHelpers(namespace) {\n return {\n mapState: mapState.bind(null, namespace),\n mapGetters: mapGetters.bind(null, namespace),\n mapMutations: mapMutations.bind(null, namespace),\n mapActions: mapActions.bind(null, namespace)\n };\n};\n/**\n * Normalize the map\n * normalizeMap([1, 2, 3]) => [ { key: 1, val: 1 }, { key: 2, val: 2 }, { key: 3, val: 3 } ]\n * normalizeMap({a: 1, b: 2, c: 3}) => [ { key: 'a', val: 1 }, { key: 'b', val: 2 }, { key: 'c', val: 3 } ]\n * @param {Array|Object} map\n * @return {Object}\n */\n\n\nfunction normalizeMap(map) {\n if (!isValidMap(map)) {\n return [];\n }\n\n return Array.isArray(map) ? map.map(function (key) {\n return {\n key: key,\n val: key\n };\n }) : Object.keys(map).map(function (key) {\n return {\n key: key,\n val: map[key]\n };\n });\n}\n/**\n * Validate whether given map is valid or not\n * @param {*} map\n * @return {Boolean}\n */\n\n\nfunction isValidMap(map) {\n return Array.isArray(map) || isObject(map);\n}\n/**\n * Return a function expect two param contains namespace and map. it will normalize the namespace and then the param's function will handle the new namespace and the map.\n * @param {Function} fn\n * @return {Function}\n */\n\n\nfunction normalizeNamespace(fn) {\n return function (namespace, map) {\n if (typeof namespace !== 'string') {\n map = namespace;\n namespace = '';\n } else if (namespace.charAt(namespace.length - 1) !== '/') {\n namespace += '/';\n }\n\n return fn(namespace, map);\n };\n}\n/**\n * Search a special module from store by namespace. if module not exist, print error message.\n * @param {Object} store\n * @param {String} helper\n * @param {String} namespace\n * @return {Object}\n */\n\n\nfunction getModuleByNamespace(store, helper, namespace) {\n var module = store._modulesNamespaceMap[namespace];\n\n if (process.env.NODE_ENV !== 'production' && !module) {\n console.error(\"[vuex] module namespace not found in \" + helper + \"(): \" + namespace);\n }\n\n return module;\n} // Credits: borrowed code from fcomb/redux-logger\n\n\nfunction createLogger(ref) {\n if (ref === void 0) ref = {};\n var collapsed = ref.collapsed;\n if (collapsed === void 0) collapsed = true;\n var filter = ref.filter;\n if (filter === void 0) filter = function filter(mutation, stateBefore, stateAfter) {\n return true;\n };\n var transformer = ref.transformer;\n if (transformer === void 0) transformer = function transformer(state) {\n return state;\n };\n var mutationTransformer = ref.mutationTransformer;\n if (mutationTransformer === void 0) mutationTransformer = function mutationTransformer(mut) {\n return mut;\n };\n var actionFilter = ref.actionFilter;\n if (actionFilter === void 0) actionFilter = function actionFilter(action, state) {\n return true;\n };\n var actionTransformer = ref.actionTransformer;\n if (actionTransformer === void 0) actionTransformer = function actionTransformer(act) {\n return act;\n };\n var logMutations = ref.logMutations;\n if (logMutations === void 0) logMutations = true;\n var logActions = ref.logActions;\n if (logActions === void 0) logActions = true;\n var logger = ref.logger;\n if (logger === void 0) logger = console;\n return function (store) {\n var prevState = deepCopy(store.state);\n\n if (typeof logger === 'undefined') {\n return;\n }\n\n if (logMutations) {\n store.subscribe(function (mutation, state) {\n var nextState = deepCopy(state);\n\n if (filter(mutation, prevState, nextState)) {\n var formattedTime = getFormattedTime();\n var formattedMutation = mutationTransformer(mutation);\n var message = \"mutation \" + mutation.type + formattedTime;\n startMessage(logger, message, collapsed);\n logger.log('%c prev state', 'color: #9E9E9E; font-weight: bold', transformer(prevState));\n logger.log('%c mutation', 'color: #03A9F4; font-weight: bold', formattedMutation);\n logger.log('%c next state', 'color: #4CAF50; font-weight: bold', transformer(nextState));\n endMessage(logger);\n }\n\n prevState = nextState;\n });\n }\n\n if (logActions) {\n store.subscribeAction(function (action, state) {\n if (actionFilter(action, state)) {\n var formattedTime = getFormattedTime();\n var formattedAction = actionTransformer(action);\n var message = \"action \" + action.type + formattedTime;\n startMessage(logger, message, collapsed);\n logger.log('%c action', 'color: #03A9F4; font-weight: bold', formattedAction);\n endMessage(logger);\n }\n });\n }\n };\n}\n\nfunction startMessage(logger, message, collapsed) {\n var startMessage = collapsed ? logger.groupCollapsed : logger.group; // render\n\n try {\n startMessage.call(logger, message);\n } catch (e) {\n logger.log(message);\n }\n}\n\nfunction endMessage(logger) {\n try {\n logger.groupEnd();\n } catch (e) {\n logger.log('—— log end ——');\n }\n}\n\nfunction getFormattedTime() {\n var time = new Date();\n return \" @ \" + pad(time.getHours(), 2) + \":\" + pad(time.getMinutes(), 2) + \":\" + pad(time.getSeconds(), 2) + \".\" + pad(time.getMilliseconds(), 3);\n}\n\nfunction repeat(str, times) {\n return new Array(times + 1).join(str);\n}\n\nfunction pad(num, maxLength) {\n return repeat('0', maxLength - num.toString().length) + num;\n}\n\nvar index = {\n Store: Store,\n install: install,\n version: '3.6.2',\n mapState: mapState,\n mapMutations: mapMutations,\n mapGetters: mapGetters,\n mapActions: mapActions,\n createNamespacedHelpers: createNamespacedHelpers,\n createLogger: createLogger\n};\nexport default index;\nexport { Store, createLogger, createNamespacedHelpers, install, mapActions, mapGetters, mapMutations, mapState };","var _objectSpread2, _watch;\n\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n enumerableOnly && (symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n })), keys.push.apply(keys, symbols);\n }\n\n return keys;\n}\n\nfunction _objectSpread(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = null != arguments[i] ? arguments[i] : {};\n i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {\n _defineProperty(target, key, source[key]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n\n return target;\n}\n\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nimport { Vue } from '../../vue';\nimport { NAME_TAB } from '../../constants/components';\nimport { MODEL_EVENT_NAME_PREFIX } from '../../constants/events';\nimport { PROP_TYPE_ARRAY_OBJECT_STRING, PROP_TYPE_BOOLEAN, PROP_TYPE_OBJECT, PROP_TYPE_STRING } from '../../constants/props';\nimport { SLOT_NAME_TITLE } from '../../constants/slots';\nimport { sortKeys } from '../../utils/object';\nimport { makeProp, makePropsConfigurable } from '../../utils/props';\nimport { idMixin, props as idProps } from '../../mixins/id';\nimport { normalizeSlotMixin } from '../../mixins/normalize-slot';\nimport { BVTransition } from '../transition/bv-transition'; // --- Constants ---\n\nvar MODEL_PROP_NAME_ACTIVE = 'active';\nvar MODEL_EVENT_NAME_ACTIVE = MODEL_EVENT_NAME_PREFIX + MODEL_PROP_NAME_ACTIVE; // --- Props ---\n\nexport var props = makePropsConfigurable(sortKeys(_objectSpread(_objectSpread({}, idProps), {}, (_objectSpread2 = {}, _defineProperty(_objectSpread2, MODEL_PROP_NAME_ACTIVE, makeProp(PROP_TYPE_BOOLEAN, false)), _defineProperty(_objectSpread2, \"buttonId\", makeProp(PROP_TYPE_STRING)), _defineProperty(_objectSpread2, \"disabled\", makeProp(PROP_TYPE_BOOLEAN, false)), _defineProperty(_objectSpread2, \"lazy\", makeProp(PROP_TYPE_BOOLEAN, false)), _defineProperty(_objectSpread2, \"noBody\", makeProp(PROP_TYPE_BOOLEAN, false)), _defineProperty(_objectSpread2, \"tag\", makeProp(PROP_TYPE_STRING, 'div')), _defineProperty(_objectSpread2, \"title\", makeProp(PROP_TYPE_STRING)), _defineProperty(_objectSpread2, \"titleItemClass\", makeProp(PROP_TYPE_ARRAY_OBJECT_STRING)), _defineProperty(_objectSpread2, \"titleLinkAttributes\", makeProp(PROP_TYPE_OBJECT)), _defineProperty(_objectSpread2, \"titleLinkClass\", makeProp(PROP_TYPE_ARRAY_OBJECT_STRING)), _objectSpread2))), NAME_TAB); // --- Main component ---\n// @vue/component\n\nexport var BTab = /*#__PURE__*/Vue.extend({\n name: NAME_TAB,\n mixins: [idMixin, normalizeSlotMixin],\n inject: {\n bvTabs: {\n default: function _default() {\n return {};\n }\n }\n },\n props: props,\n data: function data() {\n return {\n localActive: this[MODEL_PROP_NAME_ACTIVE] && !this.disabled\n };\n },\n computed: {\n // For parent sniffing of child\n _isTab: function _isTab() {\n return true;\n },\n tabClasses: function tabClasses() {\n var active = this.localActive,\n disabled = this.disabled;\n return [{\n active: active,\n disabled: disabled,\n 'card-body': this.bvTabs.card && !this.noBody\n }, // Apply `activeTabClass` styles when this tab is active\n active ? this.bvTabs.activeTabClass : null];\n },\n controlledBy: function controlledBy() {\n return this.buttonId || this.safeId('__BV_tab_button__');\n },\n computedNoFade: function computedNoFade() {\n return !(this.bvTabs.fade || false);\n },\n computedLazy: function computedLazy() {\n return this.bvTabs.lazy || this.lazy;\n }\n },\n watch: (_watch = {}, _defineProperty(_watch, MODEL_PROP_NAME_ACTIVE, function (newValue, oldValue) {\n if (newValue !== oldValue) {\n if (newValue) {\n // If activated post mount\n this.activate();\n } else {\n /* istanbul ignore next */\n if (!this.deactivate()) {\n // Tab couldn't be deactivated, so we reset the synced active prop\n // Deactivation will fail if no other tabs to activate\n this.$emit(MODEL_EVENT_NAME_ACTIVE, this.localActive);\n }\n }\n }\n }), _defineProperty(_watch, \"disabled\", function disabled(newValue, oldValue) {\n if (newValue !== oldValue) {\n var firstTab = this.bvTabs.firstTab;\n\n if (newValue && this.localActive && firstTab) {\n this.localActive = false;\n firstTab();\n }\n }\n }), _defineProperty(_watch, \"localActive\", function localActive(newValue) {\n // Make `active` prop work with `.sync` modifier\n this.$emit(MODEL_EVENT_NAME_ACTIVE, newValue);\n }), _watch),\n mounted: function mounted() {\n // Inform `` of our presence\n this.registerTab();\n },\n updated: function updated() {\n // Force the tab button content to update (since slots are not reactive)\n // Only done if we have a title slot, as the title prop is reactive\n var updateButton = this.bvTabs.updateButton;\n\n if (updateButton && this.hasNormalizedSlot(SLOT_NAME_TITLE)) {\n updateButton(this);\n }\n },\n beforeDestroy: function beforeDestroy() {\n // Inform `` of our departure\n this.unregisterTab();\n },\n methods: {\n // Private methods\n registerTab: function registerTab() {\n // Inform `` of our presence\n var registerTab = this.bvTabs.registerTab;\n\n if (registerTab) {\n registerTab(this);\n }\n },\n unregisterTab: function unregisterTab() {\n // Inform `` of our departure\n var unregisterTab = this.bvTabs.unregisterTab;\n\n if (unregisterTab) {\n unregisterTab(this);\n }\n },\n // Public methods\n activate: function activate() {\n // Not inside a `` component or tab is disabled\n var activateTab = this.bvTabs.activateTab;\n return activateTab && !this.disabled ? activateTab(this) : false;\n },\n deactivate: function deactivate() {\n // Not inside a `` component or not active to begin with\n var deactivateTab = this.bvTabs.deactivateTab;\n return deactivateTab && this.localActive ? deactivateTab(this) : false;\n }\n },\n render: function render(h) {\n var localActive = this.localActive;\n var $content = h(this.tag, {\n staticClass: 'tab-pane',\n class: this.tabClasses,\n directives: [{\n name: 'show',\n value: localActive\n }],\n attrs: {\n role: 'tabpanel',\n id: this.safeId(),\n 'aria-hidden': localActive ? 'false' : 'true',\n 'aria-labelledby': this.controlledBy || null\n },\n ref: 'panel'\n }, // Render content lazily if requested\n [localActive || !this.computedLazy ? this.normalizeSlot() : h()]);\n return h(BVTransition, {\n props: {\n mode: 'out-in',\n noFade: this.computedNoFade\n }\n }, [$content]);\n }\n});","function ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n enumerableOnly && (symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n })), keys.push.apply(keys, symbols);\n }\n\n return keys;\n}\n\nfunction _objectSpread(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = null != arguments[i] ? arguments[i] : {};\n i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {\n _defineProperty(target, key, source[key]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n\n return target;\n}\n\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nimport { Vue, mergeData } from '../../vue';\nimport { NAME_BADGE } from '../../constants/components';\nimport { PROP_TYPE_BOOLEAN, PROP_TYPE_STRING } from '../../constants/props';\nimport { omit, sortKeys } from '../../utils/object';\nimport { makeProp, makePropsConfigurable, pluckProps } from '../../utils/props';\nimport { isLink } from '../../utils/router';\nimport { BLink, props as BLinkProps } from '../link/link'; // --- Props ---\n\nvar linkProps = omit(BLinkProps, ['event', 'routerTag']);\ndelete linkProps.href.default;\ndelete linkProps.to.default;\nexport var props = makePropsConfigurable(sortKeys(_objectSpread(_objectSpread({}, linkProps), {}, {\n pill: makeProp(PROP_TYPE_BOOLEAN, false),\n tag: makeProp(PROP_TYPE_STRING, 'span'),\n variant: makeProp(PROP_TYPE_STRING, 'secondary')\n})), NAME_BADGE); // --- Main component ---\n// @vue/component\n\nexport var BBadge = /*#__PURE__*/Vue.extend({\n name: NAME_BADGE,\n functional: true,\n props: props,\n render: function render(h, _ref) {\n var props = _ref.props,\n data = _ref.data,\n children = _ref.children;\n var active = props.active,\n disabled = props.disabled;\n var link = isLink(props);\n var tag = link ? BLink : props.tag;\n var variant = props.variant || 'secondary';\n return h(tag, mergeData(data, {\n staticClass: 'badge',\n class: [\"badge-\".concat(variant), {\n 'badge-pill': props.pill,\n active: active,\n disabled: disabled\n }],\n props: link ? pluckProps(linkProps, props) : {}\n }), children);\n }\n});","function _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nimport { Vue, mergeData } from '../../vue';\nimport { NAME_INPUT_GROUP } from '../../constants/components';\nimport { PROP_TYPE_STRING } from '../../constants/props';\nimport { SLOT_NAME_APPEND, SLOT_NAME_DEFAULT, SLOT_NAME_PREPEND } from '../../constants/slots';\nimport { htmlOrText } from '../../utils/html';\nimport { hasNormalizedSlot, normalizeSlot } from '../../utils/normalize-slot';\nimport { makeProp, makePropsConfigurable } from '../../utils/props';\nimport { BInputGroupAppend } from './input-group-append';\nimport { BInputGroupPrepend } from './input-group-prepend';\nimport { BInputGroupText } from './input-group-text'; // --- Props ---\n\nexport var props = makePropsConfigurable({\n append: makeProp(PROP_TYPE_STRING),\n appendHtml: makeProp(PROP_TYPE_STRING),\n id: makeProp(PROP_TYPE_STRING),\n prepend: makeProp(PROP_TYPE_STRING),\n prependHtml: makeProp(PROP_TYPE_STRING),\n size: makeProp(PROP_TYPE_STRING),\n tag: makeProp(PROP_TYPE_STRING, 'div')\n}, NAME_INPUT_GROUP); // --- Main component ---\n// @vue/component\n\nexport var BInputGroup = /*#__PURE__*/Vue.extend({\n name: NAME_INPUT_GROUP,\n functional: true,\n props: props,\n render: function render(h, _ref) {\n var props = _ref.props,\n data = _ref.data,\n slots = _ref.slots,\n scopedSlots = _ref.scopedSlots;\n var prepend = props.prepend,\n prependHtml = props.prependHtml,\n append = props.append,\n appendHtml = props.appendHtml,\n size = props.size;\n var $scopedSlots = scopedSlots || {};\n var $slots = slots();\n var slotScope = {};\n var $prepend = h();\n var hasPrependSlot = hasNormalizedSlot(SLOT_NAME_PREPEND, $scopedSlots, $slots);\n\n if (hasPrependSlot || prepend || prependHtml) {\n $prepend = h(BInputGroupPrepend, [hasPrependSlot ? normalizeSlot(SLOT_NAME_PREPEND, slotScope, $scopedSlots, $slots) : h(BInputGroupText, {\n domProps: htmlOrText(prependHtml, prepend)\n })]);\n }\n\n var $append = h();\n var hasAppendSlot = hasNormalizedSlot(SLOT_NAME_APPEND, $scopedSlots, $slots);\n\n if (hasAppendSlot || append || appendHtml) {\n $append = h(BInputGroupAppend, [hasAppendSlot ? normalizeSlot(SLOT_NAME_APPEND, slotScope, $scopedSlots, $slots) : h(BInputGroupText, {\n domProps: htmlOrText(appendHtml, append)\n })]);\n }\n\n return h(props.tag, mergeData(data, {\n staticClass: 'input-group',\n class: _defineProperty({}, \"input-group-\".concat(size), size),\n attrs: {\n id: props.id || null,\n role: 'group'\n }\n }), [$prepend, normalizeSlot(SLOT_NAME_DEFAULT, slotScope, $scopedSlots, $slots), $append]);\n }\n});","var _watch;\n\nfunction ownKeys(object, enumerableOnly) {\n var keys = Object.keys(object);\n\n if (Object.getOwnPropertySymbols) {\n var symbols = Object.getOwnPropertySymbols(object);\n enumerableOnly && (symbols = symbols.filter(function (sym) {\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n })), keys.push.apply(keys, symbols);\n }\n\n return keys;\n}\n\nfunction _objectSpread(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = null != arguments[i] ? arguments[i] : {};\n i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {\n _defineProperty(target, key, source[key]);\n }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n });\n }\n\n return target;\n}\n\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nimport { Vue } from '../../vue';\nimport { NAME_COLLAPSE, NAME_SIDEBAR } from '../../constants/components';\nimport { IS_BROWSER } from '../../constants/env';\nimport { EVENT_NAME_CHANGE, EVENT_NAME_HIDDEN, EVENT_NAME_SHOWN } from '../../constants/events';\nimport { CODE_ESC } from '../../constants/key-codes';\nimport { PROP_TYPE_ARRAY_OBJECT_STRING, PROP_TYPE_BOOLEAN, PROP_TYPE_BOOLEAN_STRING, PROP_TYPE_NUMBER_STRING, PROP_TYPE_STRING } from '../../constants/props';\nimport { SLOT_NAME_DEFAULT, SLOT_NAME_FOOTER, SLOT_NAME_HEADER, SLOT_NAME_HEADER_CLOSE, SLOT_NAME_TITLE } from '../../constants/slots';\nimport { attemptFocus, contains, getActiveElement, getTabables } from '../../utils/dom';\nimport { getRootActionEventName, getRootEventName } from '../../utils/events';\nimport { makeModelMixin } from '../../utils/model';\nimport { sortKeys } from '../../utils/object';\nimport { makeProp, makePropsConfigurable } from '../../utils/props';\nimport { attrsMixin } from '../../mixins/attrs';\nimport { idMixin, props as idProps } from '../../mixins/id';\nimport { listenOnRootMixin } from '../../mixins/listen-on-root';\nimport { normalizeSlotMixin } from '../../mixins/normalize-slot';\nimport { BIconX } from '../../icons/icons';\nimport { BButtonClose } from '../button/button-close';\nimport { BVTransition } from '../transition/bv-transition'; // --- Constants ---\n\nvar CLASS_NAME = 'b-sidebar';\nvar ROOT_ACTION_EVENT_NAME_REQUEST_STATE = getRootActionEventName(NAME_COLLAPSE, 'request-state');\nvar ROOT_ACTION_EVENT_NAME_TOGGLE = getRootActionEventName(NAME_COLLAPSE, 'toggle');\nvar ROOT_EVENT_NAME_STATE = getRootEventName(NAME_COLLAPSE, 'state');\nvar ROOT_EVENT_NAME_SYNC_STATE = getRootEventName(NAME_COLLAPSE, 'sync-state');\n\nvar _makeModelMixin = makeModelMixin('visible', {\n type: PROP_TYPE_BOOLEAN,\n defaultValue: false,\n event: EVENT_NAME_CHANGE\n}),\n modelMixin = _makeModelMixin.mixin,\n modelProps = _makeModelMixin.props,\n MODEL_PROP_NAME = _makeModelMixin.prop,\n MODEL_EVENT_NAME = _makeModelMixin.event; // --- Props ---\n\n\nexport var props = makePropsConfigurable(sortKeys(_objectSpread(_objectSpread(_objectSpread({}, idProps), modelProps), {}, {\n ariaLabel: makeProp(PROP_TYPE_STRING),\n ariaLabelledby: makeProp(PROP_TYPE_STRING),\n // If `true`, shows a basic backdrop\n backdrop: makeProp(PROP_TYPE_BOOLEAN, false),\n backdropVariant: makeProp(PROP_TYPE_STRING, 'dark'),\n bgVariant: makeProp(PROP_TYPE_STRING, 'light'),\n bodyClass: makeProp(PROP_TYPE_ARRAY_OBJECT_STRING),\n // `aria-label` for close button\n closeLabel: makeProp(PROP_TYPE_STRING),\n footerClass: makeProp(PROP_TYPE_ARRAY_OBJECT_STRING),\n footerTag: makeProp(PROP_TYPE_STRING, 'footer'),\n headerClass: makeProp(PROP_TYPE_ARRAY_OBJECT_STRING),\n headerTag: makeProp(PROP_TYPE_STRING, 'header'),\n lazy: makeProp(PROP_TYPE_BOOLEAN, false),\n noCloseOnBackdrop: makeProp(PROP_TYPE_BOOLEAN, false),\n noCloseOnEsc: makeProp(PROP_TYPE_BOOLEAN, false),\n noCloseOnRouteChange: makeProp(PROP_TYPE_BOOLEAN, false),\n noEnforceFocus: makeProp(PROP_TYPE_BOOLEAN, false),\n noHeader: makeProp(PROP_TYPE_BOOLEAN, false),\n noHeaderClose: makeProp(PROP_TYPE_BOOLEAN, false),\n noSlide: makeProp(PROP_TYPE_BOOLEAN, false),\n right: makeProp(PROP_TYPE_BOOLEAN, false),\n shadow: makeProp(PROP_TYPE_BOOLEAN_STRING, false),\n sidebarClass: makeProp(PROP_TYPE_ARRAY_OBJECT_STRING),\n tag: makeProp(PROP_TYPE_STRING, 'div'),\n textVariant: makeProp(PROP_TYPE_STRING, 'dark'),\n title: makeProp(PROP_TYPE_STRING),\n width: makeProp(PROP_TYPE_STRING),\n zIndex: makeProp(PROP_TYPE_NUMBER_STRING)\n})), NAME_SIDEBAR); // --- Render methods ---\n\nvar renderHeaderTitle = function renderHeaderTitle(h, ctx) {\n // Render a empty `` when to title was provided\n var title = ctx.normalizeSlot(SLOT_NAME_TITLE, ctx.slotScope) || ctx.title;\n\n if (!title) {\n return h('span');\n }\n\n return h('strong', {\n attrs: {\n id: ctx.safeId('__title__')\n }\n }, [title]);\n};\n\nvar renderHeaderClose = function renderHeaderClose(h, ctx) {\n if (ctx.noHeaderClose) {\n return h();\n }\n\n var closeLabel = ctx.closeLabel,\n textVariant = ctx.textVariant,\n hide = ctx.hide;\n return h(BButtonClose, {\n props: {\n ariaLabel: closeLabel,\n textVariant: textVariant\n },\n on: {\n click: hide\n },\n ref: 'close-button'\n }, [ctx.normalizeSlot(SLOT_NAME_HEADER_CLOSE) || h(BIconX)]);\n};\n\nvar renderHeader = function renderHeader(h, ctx) {\n if (ctx.noHeader) {\n return h();\n }\n\n var $content = ctx.normalizeSlot(SLOT_NAME_HEADER, ctx.slotScope);\n\n if (!$content) {\n var $title = renderHeaderTitle(h, ctx);\n var $close = renderHeaderClose(h, ctx);\n $content = ctx.right ? [$close, $title] : [$title, $close];\n }\n\n return h(ctx.headerTag, {\n staticClass: \"\".concat(CLASS_NAME, \"-header\"),\n class: ctx.headerClass,\n key: 'header'\n }, $content);\n};\n\nvar renderBody = function renderBody(h, ctx) {\n return h('div', {\n staticClass: \"\".concat(CLASS_NAME, \"-body\"),\n class: ctx.bodyClass,\n key: 'body'\n }, [ctx.normalizeSlot(SLOT_NAME_DEFAULT, ctx.slotScope)]);\n};\n\nvar renderFooter = function renderFooter(h, ctx) {\n var $footer = ctx.normalizeSlot(SLOT_NAME_FOOTER, ctx.slotScope);\n\n if (!$footer) {\n return h();\n }\n\n return h(ctx.footerTag, {\n staticClass: \"\".concat(CLASS_NAME, \"-footer\"),\n class: ctx.footerClass,\n key: 'footer'\n }, [$footer]);\n};\n\nvar renderContent = function renderContent(h, ctx) {\n // We render the header even if `lazy` is enabled as it\n // acts as the accessible label for the sidebar\n var $header = renderHeader(h, ctx);\n\n if (ctx.lazy && !ctx.isOpen) {\n return $header;\n }\n\n return [$header, renderBody(h, ctx), renderFooter(h, ctx)];\n};\n\nvar renderBackdrop = function renderBackdrop(h, ctx) {\n if (!ctx.backdrop) {\n return h();\n }\n\n var backdropVariant = ctx.backdropVariant;\n return h('div', {\n directives: [{\n name: 'show',\n value: ctx.localShow\n }],\n staticClass: 'b-sidebar-backdrop',\n class: _defineProperty({}, \"bg-\".concat(backdropVariant), backdropVariant),\n on: {\n click: ctx.onBackdropClick\n }\n });\n}; // --- Main component ---\n// @vue/component\n\n\nexport var BSidebar = /*#__PURE__*/Vue.extend({\n name: NAME_SIDEBAR,\n mixins: [attrsMixin, idMixin, modelMixin, listenOnRootMixin, normalizeSlotMixin],\n inheritAttrs: false,\n props: props,\n data: function data() {\n var visible = !!this[MODEL_PROP_NAME];\n return {\n // Internal `v-model` state\n localShow: visible,\n // For lazy render triggering\n isOpen: visible\n };\n },\n computed: {\n transitionProps: function transitionProps() {\n return this.noSlide ?\n /* istanbul ignore next */\n {\n css: true\n } : {\n css: true,\n enterClass: '',\n enterActiveClass: 'slide',\n enterToClass: 'show',\n leaveClass: 'show',\n leaveActiveClass: 'slide',\n leaveToClass: ''\n };\n },\n slotScope: function slotScope() {\n var hide = this.hide,\n right = this.right,\n visible = this.localShow;\n return {\n hide: hide,\n right: right,\n visible: visible\n };\n },\n hasTitle: function hasTitle() {\n var $scopedSlots = this.$scopedSlots,\n $slots = this.$slots;\n return !this.noHeader && !this.hasNormalizedSlot(SLOT_NAME_HEADER) && !!(this.normalizeSlot(SLOT_NAME_TITLE, this.slotScope, $scopedSlots, $slots) || this.title);\n },\n titleId: function titleId() {\n return this.hasTitle ? this.safeId('__title__') : null;\n },\n computedAttrs: function computedAttrs() {\n return _objectSpread(_objectSpread({}, this.bvAttrs), {}, {\n id: this.safeId(),\n tabindex: '-1',\n role: 'dialog',\n 'aria-modal': this.backdrop ? 'true' : 'false',\n 'aria-hidden': this.localShow ? null : 'true',\n 'aria-label': this.ariaLabel || null,\n 'aria-labelledby': this.ariaLabelledby || this.titleId || null\n });\n }\n },\n watch: (_watch = {}, _defineProperty(_watch, MODEL_PROP_NAME, function (newValue, oldValue) {\n if (newValue !== oldValue) {\n this.localShow = newValue;\n }\n }), _defineProperty(_watch, \"localShow\", function localShow(newValue, oldValue) {\n if (newValue !== oldValue) {\n this.emitState(newValue);\n this.$emit(MODEL_EVENT_NAME, newValue);\n }\n }), _defineProperty(_watch, \"$route\", function $route() {\n var newValue = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n var oldValue = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n if (!this.noCloseOnRouteChange && newValue.fullPath !== oldValue.fullPath) {\n this.hide();\n }\n }), _watch),\n created: function created() {\n // Define non-reactive properties\n this.$_returnFocusEl = null;\n },\n mounted: function mounted() {\n var _this = this; // Add `$root` listeners\n\n\n this.listenOnRoot(ROOT_ACTION_EVENT_NAME_TOGGLE, this.handleToggle);\n this.listenOnRoot(ROOT_ACTION_EVENT_NAME_REQUEST_STATE, this.handleSync); // Send out a gratuitous state event to ensure toggle button is synced\n\n this.$nextTick(function () {\n _this.emitState(_this.localShow);\n });\n },\n\n /* istanbul ignore next */\n activated: function activated() {\n this.emitSync();\n },\n beforeDestroy: function beforeDestroy() {\n this.localShow = false;\n this.$_returnFocusEl = null;\n },\n methods: {\n hide: function hide() {\n this.localShow = false;\n },\n emitState: function emitState() {\n var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.localShow;\n this.emitOnRoot(ROOT_EVENT_NAME_STATE, this.safeId(), state);\n },\n emitSync: function emitSync() {\n var state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.localShow;\n this.emitOnRoot(ROOT_EVENT_NAME_SYNC_STATE, this.safeId(), state);\n },\n handleToggle: function handleToggle(id) {\n // Note `safeId()` can be null until after mount\n if (id && id === this.safeId()) {\n this.localShow = !this.localShow;\n }\n },\n handleSync: function handleSync(id) {\n var _this2 = this; // Note `safeId()` can be null until after mount\n\n\n if (id && id === this.safeId()) {\n this.$nextTick(function () {\n _this2.emitSync(_this2.localShow);\n });\n }\n },\n onKeydown: function onKeydown(event) {\n var keyCode = event.keyCode;\n\n if (!this.noCloseOnEsc && keyCode === CODE_ESC && this.localShow) {\n this.hide();\n }\n },\n onBackdropClick: function onBackdropClick() {\n if (this.localShow && !this.noCloseOnBackdrop) {\n this.hide();\n }\n },\n\n /* istanbul ignore next */\n onTopTrapFocus: function onTopTrapFocus() {\n var tabables = getTabables(this.$refs.content);\n this.enforceFocus(tabables.reverse()[0]);\n },\n\n /* istanbul ignore next */\n onBottomTrapFocus: function onBottomTrapFocus() {\n var tabables = getTabables(this.$refs.content);\n this.enforceFocus(tabables[0]);\n },\n onBeforeEnter: function onBeforeEnter() {\n // Returning focus to `document.body` may cause unwanted scrolls,\n // so we exclude setting focus on body\n this.$_returnFocusEl = getActiveElement(IS_BROWSER ? [document.body] : []); // Trigger lazy render\n\n this.isOpen = true;\n },\n onAfterEnter: function onAfterEnter(el) {\n if (!contains(el, getActiveElement())) {\n this.enforceFocus(el);\n }\n\n this.$emit(EVENT_NAME_SHOWN);\n },\n onAfterLeave: function onAfterLeave() {\n this.enforceFocus(this.$_returnFocusEl);\n this.$_returnFocusEl = null; // Trigger lazy render\n\n this.isOpen = false;\n this.$emit(EVENT_NAME_HIDDEN);\n },\n enforceFocus: function enforceFocus(el) {\n if (!this.noEnforceFocus) {\n attemptFocus(el);\n }\n }\n },\n render: function render(h) {\n var _ref;\n\n var bgVariant = this.bgVariant,\n width = this.width,\n textVariant = this.textVariant,\n localShow = this.localShow;\n var shadow = this.shadow === '' ? true : this.shadow;\n var $sidebar = h(this.tag, {\n staticClass: CLASS_NAME,\n class: [(_ref = {\n shadow: shadow === true\n }, _defineProperty(_ref, \"shadow-\".concat(shadow), shadow && shadow !== true), _defineProperty(_ref, \"\".concat(CLASS_NAME, \"-right\"), this.right), _defineProperty(_ref, \"bg-\".concat(bgVariant), bgVariant), _defineProperty(_ref, \"text-\".concat(textVariant), textVariant), _ref), this.sidebarClass],\n style: {\n width: width\n },\n attrs: this.computedAttrs,\n directives: [{\n name: 'show',\n value: localShow\n }],\n ref: 'content'\n }, [renderContent(h, this)]);\n $sidebar = h('transition', {\n props: this.transitionProps,\n on: {\n beforeEnter: this.onBeforeEnter,\n afterEnter: this.onAfterEnter,\n afterLeave: this.onAfterLeave\n }\n }, [$sidebar]);\n var $backdrop = h(BVTransition, {\n props: {\n noFade: this.noSlide\n }\n }, [renderBackdrop(h, this)]);\n var $tabTrapTop = h();\n var $tabTrapBottom = h();\n\n if (this.backdrop && localShow) {\n $tabTrapTop = h('div', {\n attrs: {\n tabindex: '0'\n },\n on: {\n focus: this.onTopTrapFocus\n }\n });\n $tabTrapBottom = h('div', {\n attrs: {\n tabindex: '0'\n },\n on: {\n focus: this.onBottomTrapFocus\n }\n });\n }\n\n return h('div', {\n staticClass: 'b-sidebar-outer',\n style: {\n zIndex: this.zIndex\n },\n attrs: {\n tabindex: '-1'\n },\n on: {\n keydown: this.onKeydown\n }\n }, [$tabTrapTop, $sidebar, $tabTrapBottom, $backdrop]);\n }\n});","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-select',_vm._g(_vm._b({attrs:{\"multiple\":_vm.multiple,\"append-to-body\":_vm.appendToBody,\"calculate-position\":_vm.withPopper,\"select-on-tab\":true,\"clear-search-on-blur\":function () { return true; },\"close-on-select\":_vm.shouldCloseOnSelect,\"value\":_vm.value,\"components\":{ OpenIndicator: _vm.value ? null : _vm.OpenIndicator }},on:{\"input\":[function($event){return _vm.$emit('input')},_vm.updatePopper]},scopedSlots:_vm._u([{key:\"no-options\",fn:function(ref){\nvar search = ref.search;\nvar searching = ref.searching;\nreturn [_c('span',{staticClass:\"px-1\"},[(_vm.error)?_c('p',{staticClass:\"mb-0 p-3 text-center text-danger font-weight-medium\"},[_vm._t(\"error\",function(){return [_vm._v(\"An error occurred while loading the data. Please try again later.\")]})],2):(searching)?_vm._t(\"not-found\",function(){return [_vm._v(\"No results found for \\\"\"+_vm._s(search)+\"\\\"\")]},{\"search\":search}):_vm._t(\"no-options\",function(){return [_vm._v(\"Start typing to search\")]})],2)]}},{key:\"spinner\",fn:function(ref){\nvar loading = ref.loading;\nreturn [(loading)?_c('div',{staticClass:\"loading-spinner\"},[_c('b-spinner',{attrs:{\"variant\":\"secondary\",\"small\":\"\",\"label\":\"Searching...\"}})],1):_vm._e()]}},{key:\"option\",fn:function(option){return [_vm._t(\"option\",null,{\"option\":option})]}},{key:\"search\",fn:function(ref){\nvar attributes = ref.attributes;\nvar events = ref.events;\nreturn [_vm._t(\"input\",null,{\"attributes\":attributes,\"events\":events})]}}],null,true)},'v-select',_vm.$attrs,false),_vm.$listeners))}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import getBasePlacement from \"../utils/getBasePlacement.js\";\nimport getLayoutRect from \"../dom-utils/getLayoutRect.js\";\nimport contains from \"../dom-utils/contains.js\";\nimport getOffsetParent from \"../dom-utils/getOffsetParent.js\";\nimport getMainAxisFromPlacement from \"../utils/getMainAxisFromPlacement.js\";\nimport { within } from \"../utils/within.js\";\nimport mergePaddingObject from \"../utils/mergePaddingObject.js\";\nimport expandToHashMap from \"../utils/expandToHashMap.js\";\nimport { left, right, basePlacements, top, bottom } from \"../enums.js\";\nimport { isHTMLElement } from \"../dom-utils/instanceOf.js\"; // eslint-disable-next-line import/no-unused-modules\n\nvar toPaddingObject = function toPaddingObject(padding, state) {\n padding = typeof padding === 'function' ? padding(Object.assign({}, state.rects, {\n placement: state.placement\n })) : padding;\n return mergePaddingObject(typeof padding !== 'number' ? padding : expandToHashMap(padding, basePlacements));\n};\n\nfunction arrow(_ref) {\n var _state$modifiersData$;\n\n var state = _ref.state,\n name = _ref.name,\n options = _ref.options;\n var arrowElement = state.elements.arrow;\n var popperOffsets = state.modifiersData.popperOffsets;\n var basePlacement = getBasePlacement(state.placement);\n var axis = getMainAxisFromPlacement(basePlacement);\n var isVertical = [left, right].indexOf(basePlacement) >= 0;\n var len = isVertical ? 'height' : 'width';\n\n if (!arrowElement || !popperOffsets) {\n return;\n }\n\n var paddingObject = toPaddingObject(options.padding, state);\n var arrowRect = getLayoutRect(arrowElement);\n var minProp = axis === 'y' ? top : left;\n var maxProp = axis === 'y' ? bottom : right;\n var endDiff = state.rects.reference[len] + state.rects.reference[axis] - popperOffsets[axis] - state.rects.popper[len];\n var startDiff = popperOffsets[axis] - state.rects.reference[axis];\n var arrowOffsetParent = getOffsetParent(arrowElement);\n var clientSize = arrowOffsetParent ? axis === 'y' ? arrowOffsetParent.clientHeight || 0 : arrowOffsetParent.clientWidth || 0 : 0;\n var centerToReference = endDiff / 2 - startDiff / 2; // Make sure the arrow doesn't overflow the popper if the center point is\n // outside of the popper bounds\n\n var min = paddingObject[minProp];\n var max = clientSize - arrowRect[len] - paddingObject[maxProp];\n var center = clientSize / 2 - arrowRect[len] / 2 + centerToReference;\n var offset = within(min, center, max); // Prevents breaking syntax highlighting...\n\n var axisProp = axis;\n state.modifiersData[name] = (_state$modifiersData$ = {}, _state$modifiersData$[axisProp] = offset, _state$modifiersData$.centerOffset = offset - center, _state$modifiersData$);\n}\n\nfunction effect(_ref2) {\n var state = _ref2.state,\n options = _ref2.options;\n var _options$element = options.element,\n arrowElement = _options$element === void 0 ? '[data-popper-arrow]' : _options$element;\n\n if (arrowElement == null) {\n return;\n } // CSS selector\n\n\n if (typeof arrowElement === 'string') {\n arrowElement = state.elements.popper.querySelector(arrowElement);\n\n if (!arrowElement) {\n return;\n }\n }\n\n if (process.env.NODE_ENV !== \"production\") {\n if (!isHTMLElement(arrowElement)) {\n console.error(['Popper: \"arrow\" element must be an HTMLElement (not an SVGElement).', 'To use an SVG arrow, wrap it in an HTMLElement that will be used as', 'the arrow.'].join(' '));\n }\n }\n\n if (!contains(state.elements.popper, arrowElement)) {\n if (process.env.NODE_ENV !== \"production\") {\n console.error(['Popper: \"arrow\" modifier\\'s `element` must be a child of the popper', 'element.'].join(' '));\n }\n\n return;\n }\n\n state.elements.arrow = arrowElement;\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'arrow',\n enabled: true,\n phase: 'main',\n fn: arrow,\n effect: effect,\n requires: ['popperOffsets'],\n requiresIfExists: ['preventOverflow']\n};","import { top, bottom, left, right } from \"../enums.js\";\nimport detectOverflow from \"../utils/detectOverflow.js\";\n\nfunction getSideOffsets(overflow, rect, preventedOffsets) {\n if (preventedOffsets === void 0) {\n preventedOffsets = {\n x: 0,\n y: 0\n };\n }\n\n return {\n top: overflow.top - rect.height - preventedOffsets.y,\n right: overflow.right - rect.width + preventedOffsets.x,\n bottom: overflow.bottom - rect.height + preventedOffsets.y,\n left: overflow.left - rect.width - preventedOffsets.x\n };\n}\n\nfunction isAnySideFullyClipped(overflow) {\n return [top, right, bottom, left].some(function (side) {\n return overflow[side] >= 0;\n });\n}\n\nfunction hide(_ref) {\n var state = _ref.state,\n name = _ref.name;\n var referenceRect = state.rects.reference;\n var popperRect = state.rects.popper;\n var preventedOffsets = state.modifiersData.preventOverflow;\n var referenceOverflow = detectOverflow(state, {\n elementContext: 'reference'\n });\n var popperAltOverflow = detectOverflow(state, {\n altBoundary: true\n });\n var referenceClippingOffsets = getSideOffsets(referenceOverflow, referenceRect);\n var popperEscapeOffsets = getSideOffsets(popperAltOverflow, popperRect, preventedOffsets);\n var isReferenceHidden = isAnySideFullyClipped(referenceClippingOffsets);\n var hasPopperEscaped = isAnySideFullyClipped(popperEscapeOffsets);\n state.modifiersData[name] = {\n referenceClippingOffsets: referenceClippingOffsets,\n popperEscapeOffsets: popperEscapeOffsets,\n isReferenceHidden: isReferenceHidden,\n hasPopperEscaped: hasPopperEscaped\n };\n state.attributes.popper = Object.assign({}, state.attributes.popper, {\n 'data-popper-reference-hidden': isReferenceHidden,\n 'data-popper-escaped': hasPopperEscaped\n });\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'hide',\n enabled: true,\n phase: 'main',\n requiresIfExists: ['preventOverflow'],\n fn: hide\n};","import { popperGenerator, detectOverflow } from \"./createPopper.js\";\nimport eventListeners from \"./modifiers/eventListeners.js\";\nimport popperOffsets from \"./modifiers/popperOffsets.js\";\nimport computeStyles from \"./modifiers/computeStyles.js\";\nimport applyStyles from \"./modifiers/applyStyles.js\";\nimport offset from \"./modifiers/offset.js\";\nimport flip from \"./modifiers/flip.js\";\nimport preventOverflow from \"./modifiers/preventOverflow.js\";\nimport arrow from \"./modifiers/arrow.js\";\nimport hide from \"./modifiers/hide.js\";\nvar defaultModifiers = [eventListeners, popperOffsets, computeStyles, applyStyles, offset, flip, preventOverflow, arrow, hide];\nvar createPopper = /*#__PURE__*/popperGenerator({\n defaultModifiers: defaultModifiers\n}); // eslint-disable-next-line import/no-unused-modules\n\nexport { createPopper, popperGenerator, defaultModifiers, detectOverflow }; // eslint-disable-next-line import/no-unused-modules\n\nexport { createPopper as createPopperLite } from \"./popper-lite.js\"; // eslint-disable-next-line import/no-unused-modules\n\nexport * from \"./modifiers/index.js\";","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./select.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./select.vue?vue&type=script&lang=js&\"","\n\n\n","import { render, staticRenderFns } from \"./select.vue?vue&type=template&id=c1f3b9e6&\"\nimport script from \"./select.vue?vue&type=script&lang=js&\"\nexport * from \"./select.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","function _typeof2(obj) { \"@babel/helpers - typeof\"; return _typeof2 = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof2(obj); }\n\n/**!\n * Sortable 1.10.2\n * @author\tRubaXa \n * @author\towenm \n * @license MIT\n */\nfunction _typeof(obj) {\n if (typeof Symbol === \"function\" && _typeof2(Symbol.iterator) === \"symbol\") {\n _typeof = function _typeof(obj) {\n return _typeof2(obj);\n };\n } else {\n _typeof = function _typeof(obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : _typeof2(obj);\n };\n }\n\n return _typeof(obj);\n}\n\nfunction _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}\n\nfunction _extends() {\n _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n\n return _extends.apply(this, arguments);\n}\n\nfunction _objectSpread(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i] != null ? arguments[i] : {};\n var ownKeys = Object.keys(source);\n\n if (typeof Object.getOwnPropertySymbols === 'function') {\n ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) {\n return Object.getOwnPropertyDescriptor(source, sym).enumerable;\n }));\n }\n\n ownKeys.forEach(function (key) {\n _defineProperty(target, key, source[key]);\n });\n }\n\n return target;\n}\n\nfunction _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n\n return target;\n}\n\nfunction _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n\n var target = _objectWithoutPropertiesLoose(source, excluded);\n\n var key, i;\n\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n\n for (i = 0; i < sourceSymbolKeys.length; i++) {\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n\n return target;\n}\n\nfunction _toConsumableArray(arr) {\n return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread();\n}\n\nfunction _arrayWithoutHoles(arr) {\n if (Array.isArray(arr)) {\n for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) {\n arr2[i] = arr[i];\n }\n\n return arr2;\n }\n}\n\nfunction _iterableToArray(iter) {\n if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === \"[object Arguments]\") return Array.from(iter);\n}\n\nfunction _nonIterableSpread() {\n throw new TypeError(\"Invalid attempt to spread non-iterable instance\");\n}\n\nvar version = \"1.10.2\";\n\nfunction userAgent(pattern) {\n if (typeof window !== 'undefined' && window.navigator) {\n return !! /*@__PURE__*/navigator.userAgent.match(pattern);\n }\n}\n\nvar IE11OrLess = userAgent(/(?:Trident.*rv[ :]?11\\.|msie|iemobile|Windows Phone)/i);\nvar Edge = userAgent(/Edge/i);\nvar FireFox = userAgent(/firefox/i);\nvar Safari = userAgent(/safari/i) && !userAgent(/chrome/i) && !userAgent(/android/i);\nvar IOS = userAgent(/iP(ad|od|hone)/i);\nvar ChromeForAndroid = userAgent(/chrome/i) && userAgent(/android/i);\nvar captureMode = {\n capture: false,\n passive: false\n};\n\nfunction on(el, event, fn) {\n el.addEventListener(event, fn, !IE11OrLess && captureMode);\n}\n\nfunction off(el, event, fn) {\n el.removeEventListener(event, fn, !IE11OrLess && captureMode);\n}\n\nfunction matches(\n/**HTMLElement*/\nel,\n/**String*/\nselector) {\n if (!selector) return;\n selector[0] === '>' && (selector = selector.substring(1));\n\n if (el) {\n try {\n if (el.matches) {\n return el.matches(selector);\n } else if (el.msMatchesSelector) {\n return el.msMatchesSelector(selector);\n } else if (el.webkitMatchesSelector) {\n return el.webkitMatchesSelector(selector);\n }\n } catch (_) {\n return false;\n }\n }\n\n return false;\n}\n\nfunction getParentOrHost(el) {\n return el.host && el !== document && el.host.nodeType ? el.host : el.parentNode;\n}\n\nfunction closest(\n/**HTMLElement*/\nel,\n/**String*/\nselector,\n/**HTMLElement*/\nctx, includeCTX) {\n if (el) {\n ctx = ctx || document;\n\n do {\n if (selector != null && (selector[0] === '>' ? el.parentNode === ctx && matches(el, selector) : matches(el, selector)) || includeCTX && el === ctx) {\n return el;\n }\n\n if (el === ctx) break;\n /* jshint boss:true */\n } while (el = getParentOrHost(el));\n }\n\n return null;\n}\n\nvar R_SPACE = /\\s+/g;\n\nfunction toggleClass(el, name, state) {\n if (el && name) {\n if (el.classList) {\n el.classList[state ? 'add' : 'remove'](name);\n } else {\n var className = (' ' + el.className + ' ').replace(R_SPACE, ' ').replace(' ' + name + ' ', ' ');\n el.className = (className + (state ? ' ' + name : '')).replace(R_SPACE, ' ');\n }\n }\n}\n\nfunction css(el, prop, val) {\n var style = el && el.style;\n\n if (style) {\n if (val === void 0) {\n if (document.defaultView && document.defaultView.getComputedStyle) {\n val = document.defaultView.getComputedStyle(el, '');\n } else if (el.currentStyle) {\n val = el.currentStyle;\n }\n\n return prop === void 0 ? val : val[prop];\n } else {\n if (!(prop in style) && prop.indexOf('webkit') === -1) {\n prop = '-webkit-' + prop;\n }\n\n style[prop] = val + (typeof val === 'string' ? '' : 'px');\n }\n }\n}\n\nfunction matrix(el, selfOnly) {\n var appliedTransforms = '';\n\n if (typeof el === 'string') {\n appliedTransforms = el;\n } else {\n do {\n var transform = css(el, 'transform');\n\n if (transform && transform !== 'none') {\n appliedTransforms = transform + ' ' + appliedTransforms;\n }\n /* jshint boss:true */\n\n } while (!selfOnly && (el = el.parentNode));\n }\n\n var matrixFn = window.DOMMatrix || window.WebKitCSSMatrix || window.CSSMatrix || window.MSCSSMatrix;\n /*jshint -W056 */\n\n return matrixFn && new matrixFn(appliedTransforms);\n}\n\nfunction find(ctx, tagName, iterator) {\n if (ctx) {\n var list = ctx.getElementsByTagName(tagName),\n i = 0,\n n = list.length;\n\n if (iterator) {\n for (; i < n; i++) {\n iterator(list[i], i);\n }\n }\n\n return list;\n }\n\n return [];\n}\n\nfunction getWindowScrollingElement() {\n var scrollingElement = document.scrollingElement;\n\n if (scrollingElement) {\n return scrollingElement;\n } else {\n return document.documentElement;\n }\n}\n/**\r\n * Returns the \"bounding client rect\" of given element\r\n * @param {HTMLElement} el The element whose boundingClientRect is wanted\r\n * @param {[Boolean]} relativeToContainingBlock Whether the rect should be relative to the containing block of (including) the container\r\n * @param {[Boolean]} relativeToNonStaticParent Whether the rect should be relative to the relative parent of (including) the contaienr\r\n * @param {[Boolean]} undoScale Whether the container's scale() should be undone\r\n * @param {[HTMLElement]} container The parent the element will be placed in\r\n * @return {Object} The boundingClientRect of el, with specified adjustments\r\n */\n\n\nfunction getRect(el, relativeToContainingBlock, relativeToNonStaticParent, undoScale, container) {\n if (!el.getBoundingClientRect && el !== window) return;\n var elRect, top, left, bottom, right, height, width;\n\n if (el !== window && el !== getWindowScrollingElement()) {\n elRect = el.getBoundingClientRect();\n top = elRect.top;\n left = elRect.left;\n bottom = elRect.bottom;\n right = elRect.right;\n height = elRect.height;\n width = elRect.width;\n } else {\n top = 0;\n left = 0;\n bottom = window.innerHeight;\n right = window.innerWidth;\n height = window.innerHeight;\n width = window.innerWidth;\n }\n\n if ((relativeToContainingBlock || relativeToNonStaticParent) && el !== window) {\n // Adjust for translate()\n container = container || el.parentNode; // solves #1123 (see: https://stackoverflow.com/a/37953806/6088312)\n // Not needed on <= IE11\n\n if (!IE11OrLess) {\n do {\n if (container && container.getBoundingClientRect && (css(container, 'transform') !== 'none' || relativeToNonStaticParent && css(container, 'position') !== 'static')) {\n var containerRect = container.getBoundingClientRect(); // Set relative to edges of padding box of container\n\n top -= containerRect.top + parseInt(css(container, 'border-top-width'));\n left -= containerRect.left + parseInt(css(container, 'border-left-width'));\n bottom = top + elRect.height;\n right = left + elRect.width;\n break;\n }\n /* jshint boss:true */\n\n } while (container = container.parentNode);\n }\n }\n\n if (undoScale && el !== window) {\n // Adjust for scale()\n var elMatrix = matrix(container || el),\n scaleX = elMatrix && elMatrix.a,\n scaleY = elMatrix && elMatrix.d;\n\n if (elMatrix) {\n top /= scaleY;\n left /= scaleX;\n width /= scaleX;\n height /= scaleY;\n bottom = top + height;\n right = left + width;\n }\n }\n\n return {\n top: top,\n left: left,\n bottom: bottom,\n right: right,\n width: width,\n height: height\n };\n}\n/**\r\n * Checks if a side of an element is scrolled past a side of its parents\r\n * @param {HTMLElement} el The element who's side being scrolled out of view is in question\r\n * @param {String} elSide Side of the element in question ('top', 'left', 'right', 'bottom')\r\n * @param {String} parentSide Side of the parent in question ('top', 'left', 'right', 'bottom')\r\n * @return {HTMLElement} The parent scroll element that the el's side is scrolled past, or null if there is no such element\r\n */\n\n\nfunction isScrolledPast(el, elSide, parentSide) {\n var parent = getParentAutoScrollElement(el, true),\n elSideVal = getRect(el)[elSide];\n /* jshint boss:true */\n\n while (parent) {\n var parentSideVal = getRect(parent)[parentSide],\n visible = void 0;\n\n if (parentSide === 'top' || parentSide === 'left') {\n visible = elSideVal >= parentSideVal;\n } else {\n visible = elSideVal <= parentSideVal;\n }\n\n if (!visible) return parent;\n if (parent === getWindowScrollingElement()) break;\n parent = getParentAutoScrollElement(parent, false);\n }\n\n return false;\n}\n/**\r\n * Gets nth child of el, ignoring hidden children, sortable's elements (does not ignore clone if it's visible)\r\n * and non-draggable elements\r\n * @param {HTMLElement} el The parent element\r\n * @param {Number} childNum The index of the child\r\n * @param {Object} options Parent Sortable's options\r\n * @return {HTMLElement} The child at index childNum, or null if not found\r\n */\n\n\nfunction getChild(el, childNum, options) {\n var currentChild = 0,\n i = 0,\n children = el.children;\n\n while (i < children.length) {\n if (children[i].style.display !== 'none' && children[i] !== Sortable.ghost && children[i] !== Sortable.dragged && closest(children[i], options.draggable, el, false)) {\n if (currentChild === childNum) {\n return children[i];\n }\n\n currentChild++;\n }\n\n i++;\n }\n\n return null;\n}\n/**\r\n * Gets the last child in the el, ignoring ghostEl or invisible elements (clones)\r\n * @param {HTMLElement} el Parent element\r\n * @param {selector} selector Any other elements that should be ignored\r\n * @return {HTMLElement} The last child, ignoring ghostEl\r\n */\n\n\nfunction lastChild(el, selector) {\n var last = el.lastElementChild;\n\n while (last && (last === Sortable.ghost || css(last, 'display') === 'none' || selector && !matches(last, selector))) {\n last = last.previousElementSibling;\n }\n\n return last || null;\n}\n/**\r\n * Returns the index of an element within its parent for a selected set of\r\n * elements\r\n * @param {HTMLElement} el\r\n * @param {selector} selector\r\n * @return {number}\r\n */\n\n\nfunction index(el, selector) {\n var index = 0;\n\n if (!el || !el.parentNode) {\n return -1;\n }\n /* jshint boss:true */\n\n\n while (el = el.previousElementSibling) {\n if (el.nodeName.toUpperCase() !== 'TEMPLATE' && el !== Sortable.clone && (!selector || matches(el, selector))) {\n index++;\n }\n }\n\n return index;\n}\n/**\r\n * Returns the scroll offset of the given element, added with all the scroll offsets of parent elements.\r\n * The value is returned in real pixels.\r\n * @param {HTMLElement} el\r\n * @return {Array} Offsets in the format of [left, top]\r\n */\n\n\nfunction getRelativeScrollOffset(el) {\n var offsetLeft = 0,\n offsetTop = 0,\n winScroller = getWindowScrollingElement();\n\n if (el) {\n do {\n var elMatrix = matrix(el),\n scaleX = elMatrix.a,\n scaleY = elMatrix.d;\n offsetLeft += el.scrollLeft * scaleX;\n offsetTop += el.scrollTop * scaleY;\n } while (el !== winScroller && (el = el.parentNode));\n }\n\n return [offsetLeft, offsetTop];\n}\n/**\r\n * Returns the index of the object within the given array\r\n * @param {Array} arr Array that may or may not hold the object\r\n * @param {Object} obj An object that has a key-value pair unique to and identical to a key-value pair in the object you want to find\r\n * @return {Number} The index of the object in the array, or -1\r\n */\n\n\nfunction indexOfObject(arr, obj) {\n for (var i in arr) {\n if (!arr.hasOwnProperty(i)) continue;\n\n for (var key in obj) {\n if (obj.hasOwnProperty(key) && obj[key] === arr[i][key]) return Number(i);\n }\n }\n\n return -1;\n}\n\nfunction getParentAutoScrollElement(el, includeSelf) {\n // skip to window\n if (!el || !el.getBoundingClientRect) return getWindowScrollingElement();\n var elem = el;\n var gotSelf = false;\n\n do {\n // we don't need to get elem css if it isn't even overflowing in the first place (performance)\n if (elem.clientWidth < elem.scrollWidth || elem.clientHeight < elem.scrollHeight) {\n var elemCSS = css(elem);\n\n if (elem.clientWidth < elem.scrollWidth && (elemCSS.overflowX == 'auto' || elemCSS.overflowX == 'scroll') || elem.clientHeight < elem.scrollHeight && (elemCSS.overflowY == 'auto' || elemCSS.overflowY == 'scroll')) {\n if (!elem.getBoundingClientRect || elem === document.body) return getWindowScrollingElement();\n if (gotSelf || includeSelf) return elem;\n gotSelf = true;\n }\n }\n /* jshint boss:true */\n\n } while (elem = elem.parentNode);\n\n return getWindowScrollingElement();\n}\n\nfunction extend(dst, src) {\n if (dst && src) {\n for (var key in src) {\n if (src.hasOwnProperty(key)) {\n dst[key] = src[key];\n }\n }\n }\n\n return dst;\n}\n\nfunction isRectEqual(rect1, rect2) {\n return Math.round(rect1.top) === Math.round(rect2.top) && Math.round(rect1.left) === Math.round(rect2.left) && Math.round(rect1.height) === Math.round(rect2.height) && Math.round(rect1.width) === Math.round(rect2.width);\n}\n\nvar _throttleTimeout;\n\nfunction throttle(callback, ms) {\n return function () {\n if (!_throttleTimeout) {\n var args = arguments,\n _this = this;\n\n if (args.length === 1) {\n callback.call(_this, args[0]);\n } else {\n callback.apply(_this, args);\n }\n\n _throttleTimeout = setTimeout(function () {\n _throttleTimeout = void 0;\n }, ms);\n }\n };\n}\n\nfunction cancelThrottle() {\n clearTimeout(_throttleTimeout);\n _throttleTimeout = void 0;\n}\n\nfunction scrollBy(el, x, y) {\n el.scrollLeft += x;\n el.scrollTop += y;\n}\n\nfunction clone(el) {\n var Polymer = window.Polymer;\n var $ = window.jQuery || window.Zepto;\n\n if (Polymer && Polymer.dom) {\n return Polymer.dom(el).cloneNode(true);\n } else if ($) {\n return $(el).clone(true)[0];\n } else {\n return el.cloneNode(true);\n }\n}\n\nfunction setRect(el, rect) {\n css(el, 'position', 'absolute');\n css(el, 'top', rect.top);\n css(el, 'left', rect.left);\n css(el, 'width', rect.width);\n css(el, 'height', rect.height);\n}\n\nfunction unsetRect(el) {\n css(el, 'position', '');\n css(el, 'top', '');\n css(el, 'left', '');\n css(el, 'width', '');\n css(el, 'height', '');\n}\n\nvar expando = 'Sortable' + new Date().getTime();\n\nfunction AnimationStateManager() {\n var animationStates = [],\n animationCallbackId;\n return {\n captureAnimationState: function captureAnimationState() {\n animationStates = [];\n if (!this.options.animation) return;\n var children = [].slice.call(this.el.children);\n children.forEach(function (child) {\n if (css(child, 'display') === 'none' || child === Sortable.ghost) return;\n animationStates.push({\n target: child,\n rect: getRect(child)\n });\n\n var fromRect = _objectSpread({}, animationStates[animationStates.length - 1].rect); // If animating: compensate for current animation\n\n\n if (child.thisAnimationDuration) {\n var childMatrix = matrix(child, true);\n\n if (childMatrix) {\n fromRect.top -= childMatrix.f;\n fromRect.left -= childMatrix.e;\n }\n }\n\n child.fromRect = fromRect;\n });\n },\n addAnimationState: function addAnimationState(state) {\n animationStates.push(state);\n },\n removeAnimationState: function removeAnimationState(target) {\n animationStates.splice(indexOfObject(animationStates, {\n target: target\n }), 1);\n },\n animateAll: function animateAll(callback) {\n var _this = this;\n\n if (!this.options.animation) {\n clearTimeout(animationCallbackId);\n if (typeof callback === 'function') callback();\n return;\n }\n\n var animating = false,\n animationTime = 0;\n animationStates.forEach(function (state) {\n var time = 0,\n target = state.target,\n fromRect = target.fromRect,\n toRect = getRect(target),\n prevFromRect = target.prevFromRect,\n prevToRect = target.prevToRect,\n animatingRect = state.rect,\n targetMatrix = matrix(target, true);\n\n if (targetMatrix) {\n // Compensate for current animation\n toRect.top -= targetMatrix.f;\n toRect.left -= targetMatrix.e;\n }\n\n target.toRect = toRect;\n\n if (target.thisAnimationDuration) {\n // Could also check if animatingRect is between fromRect and toRect\n if (isRectEqual(prevFromRect, toRect) && !isRectEqual(fromRect, toRect) && // Make sure animatingRect is on line between toRect & fromRect\n (animatingRect.top - toRect.top) / (animatingRect.left - toRect.left) === (fromRect.top - toRect.top) / (fromRect.left - toRect.left)) {\n // If returning to same place as started from animation and on same axis\n time = calculateRealTime(animatingRect, prevFromRect, prevToRect, _this.options);\n }\n } // if fromRect != toRect: animate\n\n\n if (!isRectEqual(toRect, fromRect)) {\n target.prevFromRect = fromRect;\n target.prevToRect = toRect;\n\n if (!time) {\n time = _this.options.animation;\n }\n\n _this.animate(target, animatingRect, toRect, time);\n }\n\n if (time) {\n animating = true;\n animationTime = Math.max(animationTime, time);\n clearTimeout(target.animationResetTimer);\n target.animationResetTimer = setTimeout(function () {\n target.animationTime = 0;\n target.prevFromRect = null;\n target.fromRect = null;\n target.prevToRect = null;\n target.thisAnimationDuration = null;\n }, time);\n target.thisAnimationDuration = time;\n }\n });\n clearTimeout(animationCallbackId);\n\n if (!animating) {\n if (typeof callback === 'function') callback();\n } else {\n animationCallbackId = setTimeout(function () {\n if (typeof callback === 'function') callback();\n }, animationTime);\n }\n\n animationStates = [];\n },\n animate: function animate(target, currentRect, toRect, duration) {\n if (duration) {\n css(target, 'transition', '');\n css(target, 'transform', '');\n var elMatrix = matrix(this.el),\n scaleX = elMatrix && elMatrix.a,\n scaleY = elMatrix && elMatrix.d,\n translateX = (currentRect.left - toRect.left) / (scaleX || 1),\n translateY = (currentRect.top - toRect.top) / (scaleY || 1);\n target.animatingX = !!translateX;\n target.animatingY = !!translateY;\n css(target, 'transform', 'translate3d(' + translateX + 'px,' + translateY + 'px,0)');\n repaint(target); // repaint\n\n css(target, 'transition', 'transform ' + duration + 'ms' + (this.options.easing ? ' ' + this.options.easing : ''));\n css(target, 'transform', 'translate3d(0,0,0)');\n typeof target.animated === 'number' && clearTimeout(target.animated);\n target.animated = setTimeout(function () {\n css(target, 'transition', '');\n css(target, 'transform', '');\n target.animated = false;\n target.animatingX = false;\n target.animatingY = false;\n }, duration);\n }\n }\n };\n}\n\nfunction repaint(target) {\n return target.offsetWidth;\n}\n\nfunction calculateRealTime(animatingRect, fromRect, toRect, options) {\n return Math.sqrt(Math.pow(fromRect.top - animatingRect.top, 2) + Math.pow(fromRect.left - animatingRect.left, 2)) / Math.sqrt(Math.pow(fromRect.top - toRect.top, 2) + Math.pow(fromRect.left - toRect.left, 2)) * options.animation;\n}\n\nvar plugins = [];\nvar defaults = {\n initializeByDefault: true\n};\nvar PluginManager = {\n mount: function mount(plugin) {\n // Set default static properties\n for (var option in defaults) {\n if (defaults.hasOwnProperty(option) && !(option in plugin)) {\n plugin[option] = defaults[option];\n }\n }\n\n plugins.push(plugin);\n },\n pluginEvent: function pluginEvent(eventName, sortable, evt) {\n var _this = this;\n\n this.eventCanceled = false;\n\n evt.cancel = function () {\n _this.eventCanceled = true;\n };\n\n var eventNameGlobal = eventName + 'Global';\n plugins.forEach(function (plugin) {\n if (!sortable[plugin.pluginName]) return; // Fire global events if it exists in this sortable\n\n if (sortable[plugin.pluginName][eventNameGlobal]) {\n sortable[plugin.pluginName][eventNameGlobal](_objectSpread({\n sortable: sortable\n }, evt));\n } // Only fire plugin event if plugin is enabled in this sortable,\n // and plugin has event defined\n\n\n if (sortable.options[plugin.pluginName] && sortable[plugin.pluginName][eventName]) {\n sortable[plugin.pluginName][eventName](_objectSpread({\n sortable: sortable\n }, evt));\n }\n });\n },\n initializePlugins: function initializePlugins(sortable, el, defaults, options) {\n plugins.forEach(function (plugin) {\n var pluginName = plugin.pluginName;\n if (!sortable.options[pluginName] && !plugin.initializeByDefault) return;\n var initialized = new plugin(sortable, el, sortable.options);\n initialized.sortable = sortable;\n initialized.options = sortable.options;\n sortable[pluginName] = initialized; // Add default options from plugin\n\n _extends(defaults, initialized.defaults);\n });\n\n for (var option in sortable.options) {\n if (!sortable.options.hasOwnProperty(option)) continue;\n var modified = this.modifyOption(sortable, option, sortable.options[option]);\n\n if (typeof modified !== 'undefined') {\n sortable.options[option] = modified;\n }\n }\n },\n getEventProperties: function getEventProperties(name, sortable) {\n var eventProperties = {};\n plugins.forEach(function (plugin) {\n if (typeof plugin.eventProperties !== 'function') return;\n\n _extends(eventProperties, plugin.eventProperties.call(sortable[plugin.pluginName], name));\n });\n return eventProperties;\n },\n modifyOption: function modifyOption(sortable, name, value) {\n var modifiedValue;\n plugins.forEach(function (plugin) {\n // Plugin must exist on the Sortable\n if (!sortable[plugin.pluginName]) return; // If static option listener exists for this option, call in the context of the Sortable's instance of this plugin\n\n if (plugin.optionListeners && typeof plugin.optionListeners[name] === 'function') {\n modifiedValue = plugin.optionListeners[name].call(sortable[plugin.pluginName], value);\n }\n });\n return modifiedValue;\n }\n};\n\nfunction dispatchEvent(_ref) {\n var sortable = _ref.sortable,\n rootEl = _ref.rootEl,\n name = _ref.name,\n targetEl = _ref.targetEl,\n cloneEl = _ref.cloneEl,\n toEl = _ref.toEl,\n fromEl = _ref.fromEl,\n oldIndex = _ref.oldIndex,\n newIndex = _ref.newIndex,\n oldDraggableIndex = _ref.oldDraggableIndex,\n newDraggableIndex = _ref.newDraggableIndex,\n originalEvent = _ref.originalEvent,\n putSortable = _ref.putSortable,\n extraEventProperties = _ref.extraEventProperties;\n sortable = sortable || rootEl && rootEl[expando];\n if (!sortable) return;\n var evt,\n options = sortable.options,\n onName = 'on' + name.charAt(0).toUpperCase() + name.substr(1); // Support for new CustomEvent feature\n\n if (window.CustomEvent && !IE11OrLess && !Edge) {\n evt = new CustomEvent(name, {\n bubbles: true,\n cancelable: true\n });\n } else {\n evt = document.createEvent('Event');\n evt.initEvent(name, true, true);\n }\n\n evt.to = toEl || rootEl;\n evt.from = fromEl || rootEl;\n evt.item = targetEl || rootEl;\n evt.clone = cloneEl;\n evt.oldIndex = oldIndex;\n evt.newIndex = newIndex;\n evt.oldDraggableIndex = oldDraggableIndex;\n evt.newDraggableIndex = newDraggableIndex;\n evt.originalEvent = originalEvent;\n evt.pullMode = putSortable ? putSortable.lastPutMode : undefined;\n\n var allEventProperties = _objectSpread({}, extraEventProperties, PluginManager.getEventProperties(name, sortable));\n\n for (var option in allEventProperties) {\n evt[option] = allEventProperties[option];\n }\n\n if (rootEl) {\n rootEl.dispatchEvent(evt);\n }\n\n if (options[onName]) {\n options[onName].call(sortable, evt);\n }\n}\n\nvar pluginEvent = function pluginEvent(eventName, sortable) {\n var _ref = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {},\n originalEvent = _ref.evt,\n data = _objectWithoutProperties(_ref, [\"evt\"]);\n\n PluginManager.pluginEvent.bind(Sortable)(eventName, sortable, _objectSpread({\n dragEl: dragEl,\n parentEl: parentEl,\n ghostEl: ghostEl,\n rootEl: rootEl,\n nextEl: nextEl,\n lastDownEl: lastDownEl,\n cloneEl: cloneEl,\n cloneHidden: cloneHidden,\n dragStarted: moved,\n putSortable: putSortable,\n activeSortable: Sortable.active,\n originalEvent: originalEvent,\n oldIndex: oldIndex,\n oldDraggableIndex: oldDraggableIndex,\n newIndex: newIndex,\n newDraggableIndex: newDraggableIndex,\n hideGhostForTarget: _hideGhostForTarget,\n unhideGhostForTarget: _unhideGhostForTarget,\n cloneNowHidden: function cloneNowHidden() {\n cloneHidden = true;\n },\n cloneNowShown: function cloneNowShown() {\n cloneHidden = false;\n },\n dispatchSortableEvent: function dispatchSortableEvent(name) {\n _dispatchEvent({\n sortable: sortable,\n name: name,\n originalEvent: originalEvent\n });\n }\n }, data));\n};\n\nfunction _dispatchEvent(info) {\n dispatchEvent(_objectSpread({\n putSortable: putSortable,\n cloneEl: cloneEl,\n targetEl: dragEl,\n rootEl: rootEl,\n oldIndex: oldIndex,\n oldDraggableIndex: oldDraggableIndex,\n newIndex: newIndex,\n newDraggableIndex: newDraggableIndex\n }, info));\n}\n\nvar dragEl,\n parentEl,\n ghostEl,\n rootEl,\n nextEl,\n lastDownEl,\n cloneEl,\n cloneHidden,\n oldIndex,\n newIndex,\n oldDraggableIndex,\n newDraggableIndex,\n activeGroup,\n putSortable,\n awaitingDragStarted = false,\n ignoreNextClick = false,\n sortables = [],\n tapEvt,\n touchEvt,\n lastDx,\n lastDy,\n tapDistanceLeft,\n tapDistanceTop,\n moved,\n lastTarget,\n lastDirection,\n pastFirstInvertThresh = false,\n isCircumstantialInvert = false,\n targetMoveDistance,\n // For positioning ghost absolutely\nghostRelativeParent,\n ghostRelativeParentInitialScroll = [],\n // (left, top)\n_silent = false,\n savedInputChecked = [];\n/** @const */\n\nvar documentExists = typeof document !== 'undefined',\n PositionGhostAbsolutely = IOS,\n CSSFloatProperty = Edge || IE11OrLess ? 'cssFloat' : 'float',\n // This will not pass for IE9, because IE9 DnD only works on anchors\nsupportDraggable = documentExists && !ChromeForAndroid && !IOS && 'draggable' in document.createElement('div'),\n supportCssPointerEvents = function () {\n if (!documentExists) return; // false when <= IE11\n\n if (IE11OrLess) {\n return false;\n }\n\n var el = document.createElement('x');\n el.style.cssText = 'pointer-events:auto';\n return el.style.pointerEvents === 'auto';\n}(),\n _detectDirection = function _detectDirection(el, options) {\n var elCSS = css(el),\n elWidth = parseInt(elCSS.width) - parseInt(elCSS.paddingLeft) - parseInt(elCSS.paddingRight) - parseInt(elCSS.borderLeftWidth) - parseInt(elCSS.borderRightWidth),\n child1 = getChild(el, 0, options),\n child2 = getChild(el, 1, options),\n firstChildCSS = child1 && css(child1),\n secondChildCSS = child2 && css(child2),\n firstChildWidth = firstChildCSS && parseInt(firstChildCSS.marginLeft) + parseInt(firstChildCSS.marginRight) + getRect(child1).width,\n secondChildWidth = secondChildCSS && parseInt(secondChildCSS.marginLeft) + parseInt(secondChildCSS.marginRight) + getRect(child2).width;\n\n if (elCSS.display === 'flex') {\n return elCSS.flexDirection === 'column' || elCSS.flexDirection === 'column-reverse' ? 'vertical' : 'horizontal';\n }\n\n if (elCSS.display === 'grid') {\n return elCSS.gridTemplateColumns.split(' ').length <= 1 ? 'vertical' : 'horizontal';\n }\n\n if (child1 && firstChildCSS[\"float\"] && firstChildCSS[\"float\"] !== 'none') {\n var touchingSideChild2 = firstChildCSS[\"float\"] === 'left' ? 'left' : 'right';\n return child2 && (secondChildCSS.clear === 'both' || secondChildCSS.clear === touchingSideChild2) ? 'vertical' : 'horizontal';\n }\n\n return child1 && (firstChildCSS.display === 'block' || firstChildCSS.display === 'flex' || firstChildCSS.display === 'table' || firstChildCSS.display === 'grid' || firstChildWidth >= elWidth && elCSS[CSSFloatProperty] === 'none' || child2 && elCSS[CSSFloatProperty] === 'none' && firstChildWidth + secondChildWidth > elWidth) ? 'vertical' : 'horizontal';\n},\n _dragElInRowColumn = function _dragElInRowColumn(dragRect, targetRect, vertical) {\n var dragElS1Opp = vertical ? dragRect.left : dragRect.top,\n dragElS2Opp = vertical ? dragRect.right : dragRect.bottom,\n dragElOppLength = vertical ? dragRect.width : dragRect.height,\n targetS1Opp = vertical ? targetRect.left : targetRect.top,\n targetS2Opp = vertical ? targetRect.right : targetRect.bottom,\n targetOppLength = vertical ? targetRect.width : targetRect.height;\n return dragElS1Opp === targetS1Opp || dragElS2Opp === targetS2Opp || dragElS1Opp + dragElOppLength / 2 === targetS1Opp + targetOppLength / 2;\n},\n\n/**\n * Detects first nearest empty sortable to X and Y position using emptyInsertThreshold.\n * @param {Number} x X position\n * @param {Number} y Y position\n * @return {HTMLElement} Element of the first found nearest Sortable\n */\n_detectNearestEmptySortable = function _detectNearestEmptySortable(x, y) {\n var ret;\n sortables.some(function (sortable) {\n if (lastChild(sortable)) return;\n var rect = getRect(sortable),\n threshold = sortable[expando].options.emptyInsertThreshold,\n insideHorizontally = x >= rect.left - threshold && x <= rect.right + threshold,\n insideVertically = y >= rect.top - threshold && y <= rect.bottom + threshold;\n\n if (threshold && insideHorizontally && insideVertically) {\n return ret = sortable;\n }\n });\n return ret;\n},\n _prepareGroup = function _prepareGroup(options) {\n function toFn(value, pull) {\n return function (to, from, dragEl, evt) {\n var sameGroup = to.options.group.name && from.options.group.name && to.options.group.name === from.options.group.name;\n\n if (value == null && (pull || sameGroup)) {\n // Default pull value\n // Default pull and put value if same group\n return true;\n } else if (value == null || value === false) {\n return false;\n } else if (pull && value === 'clone') {\n return value;\n } else if (typeof value === 'function') {\n return toFn(value(to, from, dragEl, evt), pull)(to, from, dragEl, evt);\n } else {\n var otherGroup = (pull ? to : from).options.group.name;\n return value === true || typeof value === 'string' && value === otherGroup || value.join && value.indexOf(otherGroup) > -1;\n }\n };\n }\n\n var group = {};\n var originalGroup = options.group;\n\n if (!originalGroup || _typeof(originalGroup) != 'object') {\n originalGroup = {\n name: originalGroup\n };\n }\n\n group.name = originalGroup.name;\n group.checkPull = toFn(originalGroup.pull, true);\n group.checkPut = toFn(originalGroup.put);\n group.revertClone = originalGroup.revertClone;\n options.group = group;\n},\n _hideGhostForTarget = function _hideGhostForTarget() {\n if (!supportCssPointerEvents && ghostEl) {\n css(ghostEl, 'display', 'none');\n }\n},\n _unhideGhostForTarget = function _unhideGhostForTarget() {\n if (!supportCssPointerEvents && ghostEl) {\n css(ghostEl, 'display', '');\n }\n}; // #1184 fix - Prevent click event on fallback if dragged but item not changed position\n\n\nif (documentExists) {\n document.addEventListener('click', function (evt) {\n if (ignoreNextClick) {\n evt.preventDefault();\n evt.stopPropagation && evt.stopPropagation();\n evt.stopImmediatePropagation && evt.stopImmediatePropagation();\n ignoreNextClick = false;\n return false;\n }\n }, true);\n}\n\nvar nearestEmptyInsertDetectEvent = function nearestEmptyInsertDetectEvent(evt) {\n if (dragEl) {\n evt = evt.touches ? evt.touches[0] : evt;\n\n var nearest = _detectNearestEmptySortable(evt.clientX, evt.clientY);\n\n if (nearest) {\n // Create imitation event\n var event = {};\n\n for (var i in evt) {\n if (evt.hasOwnProperty(i)) {\n event[i] = evt[i];\n }\n }\n\n event.target = event.rootEl = nearest;\n event.preventDefault = void 0;\n event.stopPropagation = void 0;\n\n nearest[expando]._onDragOver(event);\n }\n }\n};\n\nvar _checkOutsideTargetEl = function _checkOutsideTargetEl(evt) {\n if (dragEl) {\n dragEl.parentNode[expando]._isOutsideThisEl(evt.target);\n }\n};\n/**\n * @class Sortable\n * @param {HTMLElement} el\n * @param {Object} [options]\n */\n\n\nfunction Sortable(el, options) {\n if (!(el && el.nodeType && el.nodeType === 1)) {\n throw \"Sortable: `el` must be an HTMLElement, not \".concat({}.toString.call(el));\n }\n\n this.el = el; // root element\n\n this.options = options = _extends({}, options); // Export instance\n\n el[expando] = this;\n var defaults = {\n group: null,\n sort: true,\n disabled: false,\n store: null,\n handle: null,\n draggable: /^[uo]l$/i.test(el.nodeName) ? '>li' : '>*',\n swapThreshold: 1,\n // percentage; 0 <= x <= 1\n invertSwap: false,\n // invert always\n invertedSwapThreshold: null,\n // will be set to same as swapThreshold if default\n removeCloneOnHide: true,\n direction: function direction() {\n return _detectDirection(el, this.options);\n },\n ghostClass: 'sortable-ghost',\n chosenClass: 'sortable-chosen',\n dragClass: 'sortable-drag',\n ignore: 'a, img',\n filter: null,\n preventOnFilter: true,\n animation: 0,\n easing: null,\n setData: function setData(dataTransfer, dragEl) {\n dataTransfer.setData('Text', dragEl.textContent);\n },\n dropBubble: false,\n dragoverBubble: false,\n dataIdAttr: 'data-id',\n delay: 0,\n delayOnTouchOnly: false,\n touchStartThreshold: (Number.parseInt ? Number : window).parseInt(window.devicePixelRatio, 10) || 1,\n forceFallback: false,\n fallbackClass: 'sortable-fallback',\n fallbackOnBody: false,\n fallbackTolerance: 0,\n fallbackOffset: {\n x: 0,\n y: 0\n },\n supportPointer: Sortable.supportPointer !== false && 'PointerEvent' in window,\n emptyInsertThreshold: 5\n };\n PluginManager.initializePlugins(this, el, defaults); // Set default options\n\n for (var name in defaults) {\n !(name in options) && (options[name] = defaults[name]);\n }\n\n _prepareGroup(options); // Bind all private methods\n\n\n for (var fn in this) {\n if (fn.charAt(0) === '_' && typeof this[fn] === 'function') {\n this[fn] = this[fn].bind(this);\n }\n } // Setup drag mode\n\n\n this.nativeDraggable = options.forceFallback ? false : supportDraggable;\n\n if (this.nativeDraggable) {\n // Touch start threshold cannot be greater than the native dragstart threshold\n this.options.touchStartThreshold = 1;\n } // Bind events\n\n\n if (options.supportPointer) {\n on(el, 'pointerdown', this._onTapStart);\n } else {\n on(el, 'mousedown', this._onTapStart);\n on(el, 'touchstart', this._onTapStart);\n }\n\n if (this.nativeDraggable) {\n on(el, 'dragover', this);\n on(el, 'dragenter', this);\n }\n\n sortables.push(this.el); // Restore sorting\n\n options.store && options.store.get && this.sort(options.store.get(this) || []); // Add animation state manager\n\n _extends(this, AnimationStateManager());\n}\n\nSortable.prototype =\n/** @lends Sortable.prototype */\n{\n constructor: Sortable,\n _isOutsideThisEl: function _isOutsideThisEl(target) {\n if (!this.el.contains(target) && target !== this.el) {\n lastTarget = null;\n }\n },\n _getDirection: function _getDirection(evt, target) {\n return typeof this.options.direction === 'function' ? this.options.direction.call(this, evt, target, dragEl) : this.options.direction;\n },\n _onTapStart: function _onTapStart(\n /** Event|TouchEvent */\n evt) {\n if (!evt.cancelable) return;\n\n var _this = this,\n el = this.el,\n options = this.options,\n preventOnFilter = options.preventOnFilter,\n type = evt.type,\n touch = evt.touches && evt.touches[0] || evt.pointerType && evt.pointerType === 'touch' && evt,\n target = (touch || evt).target,\n originalTarget = evt.target.shadowRoot && (evt.path && evt.path[0] || evt.composedPath && evt.composedPath()[0]) || target,\n filter = options.filter;\n\n _saveInputCheckedState(el); // Don't trigger start event when an element is been dragged, otherwise the evt.oldindex always wrong when set option.group.\n\n\n if (dragEl) {\n return;\n }\n\n if (/mousedown|pointerdown/.test(type) && evt.button !== 0 || options.disabled) {\n return; // only left button and enabled\n } // cancel dnd if original target is content editable\n\n\n if (originalTarget.isContentEditable) {\n return;\n }\n\n target = closest(target, options.draggable, el, false);\n\n if (target && target.animated) {\n return;\n }\n\n if (lastDownEl === target) {\n // Ignoring duplicate `down`\n return;\n } // Get the index of the dragged element within its parent\n\n\n oldIndex = index(target);\n oldDraggableIndex = index(target, options.draggable); // Check filter\n\n if (typeof filter === 'function') {\n if (filter.call(this, evt, target, this)) {\n _dispatchEvent({\n sortable: _this,\n rootEl: originalTarget,\n name: 'filter',\n targetEl: target,\n toEl: el,\n fromEl: el\n });\n\n pluginEvent('filter', _this, {\n evt: evt\n });\n preventOnFilter && evt.cancelable && evt.preventDefault();\n return; // cancel dnd\n }\n } else if (filter) {\n filter = filter.split(',').some(function (criteria) {\n criteria = closest(originalTarget, criteria.trim(), el, false);\n\n if (criteria) {\n _dispatchEvent({\n sortable: _this,\n rootEl: criteria,\n name: 'filter',\n targetEl: target,\n fromEl: el,\n toEl: el\n });\n\n pluginEvent('filter', _this, {\n evt: evt\n });\n return true;\n }\n });\n\n if (filter) {\n preventOnFilter && evt.cancelable && evt.preventDefault();\n return; // cancel dnd\n }\n }\n\n if (options.handle && !closest(originalTarget, options.handle, el, false)) {\n return;\n } // Prepare `dragstart`\n\n\n this._prepareDragStart(evt, touch, target);\n },\n _prepareDragStart: function _prepareDragStart(\n /** Event */\n evt,\n /** Touch */\n touch,\n /** HTMLElement */\n target) {\n var _this = this,\n el = _this.el,\n options = _this.options,\n ownerDocument = el.ownerDocument,\n dragStartFn;\n\n if (target && !dragEl && target.parentNode === el) {\n var dragRect = getRect(target);\n rootEl = el;\n dragEl = target;\n parentEl = dragEl.parentNode;\n nextEl = dragEl.nextSibling;\n lastDownEl = target;\n activeGroup = options.group;\n Sortable.dragged = dragEl;\n tapEvt = {\n target: dragEl,\n clientX: (touch || evt).clientX,\n clientY: (touch || evt).clientY\n };\n tapDistanceLeft = tapEvt.clientX - dragRect.left;\n tapDistanceTop = tapEvt.clientY - dragRect.top;\n this._lastX = (touch || evt).clientX;\n this._lastY = (touch || evt).clientY;\n dragEl.style['will-change'] = 'all';\n\n dragStartFn = function dragStartFn() {\n pluginEvent('delayEnded', _this, {\n evt: evt\n });\n\n if (Sortable.eventCanceled) {\n _this._onDrop();\n\n return;\n } // Delayed drag has been triggered\n // we can re-enable the events: touchmove/mousemove\n\n\n _this._disableDelayedDragEvents();\n\n if (!FireFox && _this.nativeDraggable) {\n dragEl.draggable = true;\n } // Bind the events: dragstart/dragend\n\n\n _this._triggerDragStart(evt, touch); // Drag start event\n\n\n _dispatchEvent({\n sortable: _this,\n name: 'choose',\n originalEvent: evt\n }); // Chosen item\n\n\n toggleClass(dragEl, options.chosenClass, true);\n }; // Disable \"draggable\"\n\n\n options.ignore.split(',').forEach(function (criteria) {\n find(dragEl, criteria.trim(), _disableDraggable);\n });\n on(ownerDocument, 'dragover', nearestEmptyInsertDetectEvent);\n on(ownerDocument, 'mousemove', nearestEmptyInsertDetectEvent);\n on(ownerDocument, 'touchmove', nearestEmptyInsertDetectEvent);\n on(ownerDocument, 'mouseup', _this._onDrop);\n on(ownerDocument, 'touchend', _this._onDrop);\n on(ownerDocument, 'touchcancel', _this._onDrop); // Make dragEl draggable (must be before delay for FireFox)\n\n if (FireFox && this.nativeDraggable) {\n this.options.touchStartThreshold = 4;\n dragEl.draggable = true;\n }\n\n pluginEvent('delayStart', this, {\n evt: evt\n }); // Delay is impossible for native DnD in Edge or IE\n\n if (options.delay && (!options.delayOnTouchOnly || touch) && (!this.nativeDraggable || !(Edge || IE11OrLess))) {\n if (Sortable.eventCanceled) {\n this._onDrop();\n\n return;\n } // If the user moves the pointer or let go the click or touch\n // before the delay has been reached:\n // disable the delayed drag\n\n\n on(ownerDocument, 'mouseup', _this._disableDelayedDrag);\n on(ownerDocument, 'touchend', _this._disableDelayedDrag);\n on(ownerDocument, 'touchcancel', _this._disableDelayedDrag);\n on(ownerDocument, 'mousemove', _this._delayedDragTouchMoveHandler);\n on(ownerDocument, 'touchmove', _this._delayedDragTouchMoveHandler);\n options.supportPointer && on(ownerDocument, 'pointermove', _this._delayedDragTouchMoveHandler);\n _this._dragStartTimer = setTimeout(dragStartFn, options.delay);\n } else {\n dragStartFn();\n }\n }\n },\n _delayedDragTouchMoveHandler: function _delayedDragTouchMoveHandler(\n /** TouchEvent|PointerEvent **/\n e) {\n var touch = e.touches ? e.touches[0] : e;\n\n if (Math.max(Math.abs(touch.clientX - this._lastX), Math.abs(touch.clientY - this._lastY)) >= Math.floor(this.options.touchStartThreshold / (this.nativeDraggable && window.devicePixelRatio || 1))) {\n this._disableDelayedDrag();\n }\n },\n _disableDelayedDrag: function _disableDelayedDrag() {\n dragEl && _disableDraggable(dragEl);\n clearTimeout(this._dragStartTimer);\n\n this._disableDelayedDragEvents();\n },\n _disableDelayedDragEvents: function _disableDelayedDragEvents() {\n var ownerDocument = this.el.ownerDocument;\n off(ownerDocument, 'mouseup', this._disableDelayedDrag);\n off(ownerDocument, 'touchend', this._disableDelayedDrag);\n off(ownerDocument, 'touchcancel', this._disableDelayedDrag);\n off(ownerDocument, 'mousemove', this._delayedDragTouchMoveHandler);\n off(ownerDocument, 'touchmove', this._delayedDragTouchMoveHandler);\n off(ownerDocument, 'pointermove', this._delayedDragTouchMoveHandler);\n },\n _triggerDragStart: function _triggerDragStart(\n /** Event */\n evt,\n /** Touch */\n touch) {\n touch = touch || evt.pointerType == 'touch' && evt;\n\n if (!this.nativeDraggable || touch) {\n if (this.options.supportPointer) {\n on(document, 'pointermove', this._onTouchMove);\n } else if (touch) {\n on(document, 'touchmove', this._onTouchMove);\n } else {\n on(document, 'mousemove', this._onTouchMove);\n }\n } else {\n on(dragEl, 'dragend', this);\n on(rootEl, 'dragstart', this._onDragStart);\n }\n\n try {\n if (document.selection) {\n // Timeout neccessary for IE9\n _nextTick(function () {\n document.selection.empty();\n });\n } else {\n window.getSelection().removeAllRanges();\n }\n } catch (err) {}\n },\n _dragStarted: function _dragStarted(fallback, evt) {\n awaitingDragStarted = false;\n\n if (rootEl && dragEl) {\n pluginEvent('dragStarted', this, {\n evt: evt\n });\n\n if (this.nativeDraggable) {\n on(document, 'dragover', _checkOutsideTargetEl);\n }\n\n var options = this.options; // Apply effect\n\n !fallback && toggleClass(dragEl, options.dragClass, false);\n toggleClass(dragEl, options.ghostClass, true);\n Sortable.active = this;\n fallback && this._appendGhost(); // Drag start event\n\n _dispatchEvent({\n sortable: this,\n name: 'start',\n originalEvent: evt\n });\n } else {\n this._nulling();\n }\n },\n _emulateDragOver: function _emulateDragOver() {\n if (touchEvt) {\n this._lastX = touchEvt.clientX;\n this._lastY = touchEvt.clientY;\n\n _hideGhostForTarget();\n\n var target = document.elementFromPoint(touchEvt.clientX, touchEvt.clientY);\n var parent = target;\n\n while (target && target.shadowRoot) {\n target = target.shadowRoot.elementFromPoint(touchEvt.clientX, touchEvt.clientY);\n if (target === parent) break;\n parent = target;\n }\n\n dragEl.parentNode[expando]._isOutsideThisEl(target);\n\n if (parent) {\n do {\n if (parent[expando]) {\n var inserted = void 0;\n inserted = parent[expando]._onDragOver({\n clientX: touchEvt.clientX,\n clientY: touchEvt.clientY,\n target: target,\n rootEl: parent\n });\n\n if (inserted && !this.options.dragoverBubble) {\n break;\n }\n }\n\n target = parent; // store last element\n }\n /* jshint boss:true */\n while (parent = parent.parentNode);\n }\n\n _unhideGhostForTarget();\n }\n },\n _onTouchMove: function _onTouchMove(\n /**TouchEvent*/\n evt) {\n if (tapEvt) {\n var options = this.options,\n fallbackTolerance = options.fallbackTolerance,\n fallbackOffset = options.fallbackOffset,\n touch = evt.touches ? evt.touches[0] : evt,\n ghostMatrix = ghostEl && matrix(ghostEl, true),\n scaleX = ghostEl && ghostMatrix && ghostMatrix.a,\n scaleY = ghostEl && ghostMatrix && ghostMatrix.d,\n relativeScrollOffset = PositionGhostAbsolutely && ghostRelativeParent && getRelativeScrollOffset(ghostRelativeParent),\n dx = (touch.clientX - tapEvt.clientX + fallbackOffset.x) / (scaleX || 1) + (relativeScrollOffset ? relativeScrollOffset[0] - ghostRelativeParentInitialScroll[0] : 0) / (scaleX || 1),\n dy = (touch.clientY - tapEvt.clientY + fallbackOffset.y) / (scaleY || 1) + (relativeScrollOffset ? relativeScrollOffset[1] - ghostRelativeParentInitialScroll[1] : 0) / (scaleY || 1); // only set the status to dragging, when we are actually dragging\n\n if (!Sortable.active && !awaitingDragStarted) {\n if (fallbackTolerance && Math.max(Math.abs(touch.clientX - this._lastX), Math.abs(touch.clientY - this._lastY)) < fallbackTolerance) {\n return;\n }\n\n this._onDragStart(evt, true);\n }\n\n if (ghostEl) {\n if (ghostMatrix) {\n ghostMatrix.e += dx - (lastDx || 0);\n ghostMatrix.f += dy - (lastDy || 0);\n } else {\n ghostMatrix = {\n a: 1,\n b: 0,\n c: 0,\n d: 1,\n e: dx,\n f: dy\n };\n }\n\n var cssMatrix = \"matrix(\".concat(ghostMatrix.a, \",\").concat(ghostMatrix.b, \",\").concat(ghostMatrix.c, \",\").concat(ghostMatrix.d, \",\").concat(ghostMatrix.e, \",\").concat(ghostMatrix.f, \")\");\n css(ghostEl, 'webkitTransform', cssMatrix);\n css(ghostEl, 'mozTransform', cssMatrix);\n css(ghostEl, 'msTransform', cssMatrix);\n css(ghostEl, 'transform', cssMatrix);\n lastDx = dx;\n lastDy = dy;\n touchEvt = touch;\n }\n\n evt.cancelable && evt.preventDefault();\n }\n },\n _appendGhost: function _appendGhost() {\n // Bug if using scale(): https://stackoverflow.com/questions/2637058\n // Not being adjusted for\n if (!ghostEl) {\n var container = this.options.fallbackOnBody ? document.body : rootEl,\n rect = getRect(dragEl, true, PositionGhostAbsolutely, true, container),\n options = this.options; // Position absolutely\n\n if (PositionGhostAbsolutely) {\n // Get relatively positioned parent\n ghostRelativeParent = container;\n\n while (css(ghostRelativeParent, 'position') === 'static' && css(ghostRelativeParent, 'transform') === 'none' && ghostRelativeParent !== document) {\n ghostRelativeParent = ghostRelativeParent.parentNode;\n }\n\n if (ghostRelativeParent !== document.body && ghostRelativeParent !== document.documentElement) {\n if (ghostRelativeParent === document) ghostRelativeParent = getWindowScrollingElement();\n rect.top += ghostRelativeParent.scrollTop;\n rect.left += ghostRelativeParent.scrollLeft;\n } else {\n ghostRelativeParent = getWindowScrollingElement();\n }\n\n ghostRelativeParentInitialScroll = getRelativeScrollOffset(ghostRelativeParent);\n }\n\n ghostEl = dragEl.cloneNode(true);\n toggleClass(ghostEl, options.ghostClass, false);\n toggleClass(ghostEl, options.fallbackClass, true);\n toggleClass(ghostEl, options.dragClass, true);\n css(ghostEl, 'transition', '');\n css(ghostEl, 'transform', '');\n css(ghostEl, 'box-sizing', 'border-box');\n css(ghostEl, 'margin', 0);\n css(ghostEl, 'top', rect.top);\n css(ghostEl, 'left', rect.left);\n css(ghostEl, 'width', rect.width);\n css(ghostEl, 'height', rect.height);\n css(ghostEl, 'opacity', '0.8');\n css(ghostEl, 'position', PositionGhostAbsolutely ? 'absolute' : 'fixed');\n css(ghostEl, 'zIndex', '100000');\n css(ghostEl, 'pointerEvents', 'none');\n Sortable.ghost = ghostEl;\n container.appendChild(ghostEl); // Set transform-origin\n\n css(ghostEl, 'transform-origin', tapDistanceLeft / parseInt(ghostEl.style.width) * 100 + '% ' + tapDistanceTop / parseInt(ghostEl.style.height) * 100 + '%');\n }\n },\n _onDragStart: function _onDragStart(\n /**Event*/\n evt,\n /**boolean*/\n fallback) {\n var _this = this;\n\n var dataTransfer = evt.dataTransfer;\n var options = _this.options;\n pluginEvent('dragStart', this, {\n evt: evt\n });\n\n if (Sortable.eventCanceled) {\n this._onDrop();\n\n return;\n }\n\n pluginEvent('setupClone', this);\n\n if (!Sortable.eventCanceled) {\n cloneEl = clone(dragEl);\n cloneEl.draggable = false;\n cloneEl.style['will-change'] = '';\n\n this._hideClone();\n\n toggleClass(cloneEl, this.options.chosenClass, false);\n Sortable.clone = cloneEl;\n } // #1143: IFrame support workaround\n\n\n _this.cloneId = _nextTick(function () {\n pluginEvent('clone', _this);\n if (Sortable.eventCanceled) return;\n\n if (!_this.options.removeCloneOnHide) {\n rootEl.insertBefore(cloneEl, dragEl);\n }\n\n _this._hideClone();\n\n _dispatchEvent({\n sortable: _this,\n name: 'clone'\n });\n });\n !fallback && toggleClass(dragEl, options.dragClass, true); // Set proper drop events\n\n if (fallback) {\n ignoreNextClick = true;\n _this._loopId = setInterval(_this._emulateDragOver, 50);\n } else {\n // Undo what was set in _prepareDragStart before drag started\n off(document, 'mouseup', _this._onDrop);\n off(document, 'touchend', _this._onDrop);\n off(document, 'touchcancel', _this._onDrop);\n\n if (dataTransfer) {\n dataTransfer.effectAllowed = 'move';\n options.setData && options.setData.call(_this, dataTransfer, dragEl);\n }\n\n on(document, 'drop', _this); // #1276 fix:\n\n css(dragEl, 'transform', 'translateZ(0)');\n }\n\n awaitingDragStarted = true;\n _this._dragStartId = _nextTick(_this._dragStarted.bind(_this, fallback, evt));\n on(document, 'selectstart', _this);\n moved = true;\n\n if (Safari) {\n css(document.body, 'user-select', 'none');\n }\n },\n // Returns true - if no further action is needed (either inserted or another condition)\n _onDragOver: function _onDragOver(\n /**Event*/\n evt) {\n var el = this.el,\n target = evt.target,\n dragRect,\n targetRect,\n revert,\n options = this.options,\n group = options.group,\n activeSortable = Sortable.active,\n isOwner = activeGroup === group,\n canSort = options.sort,\n fromSortable = putSortable || activeSortable,\n vertical,\n _this = this,\n completedFired = false;\n\n if (_silent) return;\n\n function dragOverEvent(name, extra) {\n pluginEvent(name, _this, _objectSpread({\n evt: evt,\n isOwner: isOwner,\n axis: vertical ? 'vertical' : 'horizontal',\n revert: revert,\n dragRect: dragRect,\n targetRect: targetRect,\n canSort: canSort,\n fromSortable: fromSortable,\n target: target,\n completed: completed,\n onMove: function onMove(target, after) {\n return _onMove(rootEl, el, dragEl, dragRect, target, getRect(target), evt, after);\n },\n changed: changed\n }, extra));\n } // Capture animation state\n\n\n function capture() {\n dragOverEvent('dragOverAnimationCapture');\n\n _this.captureAnimationState();\n\n if (_this !== fromSortable) {\n fromSortable.captureAnimationState();\n }\n } // Return invocation when dragEl is inserted (or completed)\n\n\n function completed(insertion) {\n dragOverEvent('dragOverCompleted', {\n insertion: insertion\n });\n\n if (insertion) {\n // Clones must be hidden before folding animation to capture dragRectAbsolute properly\n if (isOwner) {\n activeSortable._hideClone();\n } else {\n activeSortable._showClone(_this);\n }\n\n if (_this !== fromSortable) {\n // Set ghost class to new sortable's ghost class\n toggleClass(dragEl, putSortable ? putSortable.options.ghostClass : activeSortable.options.ghostClass, false);\n toggleClass(dragEl, options.ghostClass, true);\n }\n\n if (putSortable !== _this && _this !== Sortable.active) {\n putSortable = _this;\n } else if (_this === Sortable.active && putSortable) {\n putSortable = null;\n } // Animation\n\n\n if (fromSortable === _this) {\n _this._ignoreWhileAnimating = target;\n }\n\n _this.animateAll(function () {\n dragOverEvent('dragOverAnimationComplete');\n _this._ignoreWhileAnimating = null;\n });\n\n if (_this !== fromSortable) {\n fromSortable.animateAll();\n fromSortable._ignoreWhileAnimating = null;\n }\n } // Null lastTarget if it is not inside a previously swapped element\n\n\n if (target === dragEl && !dragEl.animated || target === el && !target.animated) {\n lastTarget = null;\n } // no bubbling and not fallback\n\n\n if (!options.dragoverBubble && !evt.rootEl && target !== document) {\n dragEl.parentNode[expando]._isOutsideThisEl(evt.target); // Do not detect for empty insert if already inserted\n\n\n !insertion && nearestEmptyInsertDetectEvent(evt);\n }\n\n !options.dragoverBubble && evt.stopPropagation && evt.stopPropagation();\n return completedFired = true;\n } // Call when dragEl has been inserted\n\n\n function changed() {\n newIndex = index(dragEl);\n newDraggableIndex = index(dragEl, options.draggable);\n\n _dispatchEvent({\n sortable: _this,\n name: 'change',\n toEl: el,\n newIndex: newIndex,\n newDraggableIndex: newDraggableIndex,\n originalEvent: evt\n });\n }\n\n if (evt.preventDefault !== void 0) {\n evt.cancelable && evt.preventDefault();\n }\n\n target = closest(target, options.draggable, el, true);\n dragOverEvent('dragOver');\n if (Sortable.eventCanceled) return completedFired;\n\n if (dragEl.contains(evt.target) || target.animated && target.animatingX && target.animatingY || _this._ignoreWhileAnimating === target) {\n return completed(false);\n }\n\n ignoreNextClick = false;\n\n if (activeSortable && !options.disabled && (isOwner ? canSort || (revert = !rootEl.contains(dragEl)) // Reverting item into the original list\n : putSortable === this || (this.lastPutMode = activeGroup.checkPull(this, activeSortable, dragEl, evt)) && group.checkPut(this, activeSortable, dragEl, evt))) {\n vertical = this._getDirection(evt, target) === 'vertical';\n dragRect = getRect(dragEl);\n dragOverEvent('dragOverValid');\n if (Sortable.eventCanceled) return completedFired;\n\n if (revert) {\n parentEl = rootEl; // actualization\n\n capture();\n\n this._hideClone();\n\n dragOverEvent('revert');\n\n if (!Sortable.eventCanceled) {\n if (nextEl) {\n rootEl.insertBefore(dragEl, nextEl);\n } else {\n rootEl.appendChild(dragEl);\n }\n }\n\n return completed(true);\n }\n\n var elLastChild = lastChild(el, options.draggable);\n\n if (!elLastChild || _ghostIsLast(evt, vertical, this) && !elLastChild.animated) {\n // If already at end of list: Do not insert\n if (elLastChild === dragEl) {\n return completed(false);\n } // assign target only if condition is true\n\n\n if (elLastChild && el === evt.target) {\n target = elLastChild;\n }\n\n if (target) {\n targetRect = getRect(target);\n }\n\n if (_onMove(rootEl, el, dragEl, dragRect, target, targetRect, evt, !!target) !== false) {\n capture();\n el.appendChild(dragEl);\n parentEl = el; // actualization\n\n changed();\n return completed(true);\n }\n } else if (target.parentNode === el) {\n targetRect = getRect(target);\n var direction = 0,\n targetBeforeFirstSwap,\n differentLevel = dragEl.parentNode !== el,\n differentRowCol = !_dragElInRowColumn(dragEl.animated && dragEl.toRect || dragRect, target.animated && target.toRect || targetRect, vertical),\n side1 = vertical ? 'top' : 'left',\n scrolledPastTop = isScrolledPast(target, 'top', 'top') || isScrolledPast(dragEl, 'top', 'top'),\n scrollBefore = scrolledPastTop ? scrolledPastTop.scrollTop : void 0;\n\n if (lastTarget !== target) {\n targetBeforeFirstSwap = targetRect[side1];\n pastFirstInvertThresh = false;\n isCircumstantialInvert = !differentRowCol && options.invertSwap || differentLevel;\n }\n\n direction = _getSwapDirection(evt, target, targetRect, vertical, differentRowCol ? 1 : options.swapThreshold, options.invertedSwapThreshold == null ? options.swapThreshold : options.invertedSwapThreshold, isCircumstantialInvert, lastTarget === target);\n var sibling;\n\n if (direction !== 0) {\n // Check if target is beside dragEl in respective direction (ignoring hidden elements)\n var dragIndex = index(dragEl);\n\n do {\n dragIndex -= direction;\n sibling = parentEl.children[dragIndex];\n } while (sibling && (css(sibling, 'display') === 'none' || sibling === ghostEl));\n } // If dragEl is already beside target: Do not insert\n\n\n if (direction === 0 || sibling === target) {\n return completed(false);\n }\n\n lastTarget = target;\n lastDirection = direction;\n var nextSibling = target.nextElementSibling,\n after = false;\n after = direction === 1;\n\n var moveVector = _onMove(rootEl, el, dragEl, dragRect, target, targetRect, evt, after);\n\n if (moveVector !== false) {\n if (moveVector === 1 || moveVector === -1) {\n after = moveVector === 1;\n }\n\n _silent = true;\n setTimeout(_unsilent, 30);\n capture();\n\n if (after && !nextSibling) {\n el.appendChild(dragEl);\n } else {\n target.parentNode.insertBefore(dragEl, after ? nextSibling : target);\n } // Undo chrome's scroll adjustment (has no effect on other browsers)\n\n\n if (scrolledPastTop) {\n scrollBy(scrolledPastTop, 0, scrollBefore - scrolledPastTop.scrollTop);\n }\n\n parentEl = dragEl.parentNode; // actualization\n // must be done before animation\n\n if (targetBeforeFirstSwap !== undefined && !isCircumstantialInvert) {\n targetMoveDistance = Math.abs(targetBeforeFirstSwap - getRect(target)[side1]);\n }\n\n changed();\n return completed(true);\n }\n }\n\n if (el.contains(dragEl)) {\n return completed(false);\n }\n }\n\n return false;\n },\n _ignoreWhileAnimating: null,\n _offMoveEvents: function _offMoveEvents() {\n off(document, 'mousemove', this._onTouchMove);\n off(document, 'touchmove', this._onTouchMove);\n off(document, 'pointermove', this._onTouchMove);\n off(document, 'dragover', nearestEmptyInsertDetectEvent);\n off(document, 'mousemove', nearestEmptyInsertDetectEvent);\n off(document, 'touchmove', nearestEmptyInsertDetectEvent);\n },\n _offUpEvents: function _offUpEvents() {\n var ownerDocument = this.el.ownerDocument;\n off(ownerDocument, 'mouseup', this._onDrop);\n off(ownerDocument, 'touchend', this._onDrop);\n off(ownerDocument, 'pointerup', this._onDrop);\n off(ownerDocument, 'touchcancel', this._onDrop);\n off(document, 'selectstart', this);\n },\n _onDrop: function _onDrop(\n /**Event*/\n evt) {\n var el = this.el,\n options = this.options; // Get the index of the dragged element within its parent\n\n newIndex = index(dragEl);\n newDraggableIndex = index(dragEl, options.draggable);\n pluginEvent('drop', this, {\n evt: evt\n });\n parentEl = dragEl && dragEl.parentNode; // Get again after plugin event\n\n newIndex = index(dragEl);\n newDraggableIndex = index(dragEl, options.draggable);\n\n if (Sortable.eventCanceled) {\n this._nulling();\n\n return;\n }\n\n awaitingDragStarted = false;\n isCircumstantialInvert = false;\n pastFirstInvertThresh = false;\n clearInterval(this._loopId);\n clearTimeout(this._dragStartTimer);\n\n _cancelNextTick(this.cloneId);\n\n _cancelNextTick(this._dragStartId); // Unbind events\n\n\n if (this.nativeDraggable) {\n off(document, 'drop', this);\n off(el, 'dragstart', this._onDragStart);\n }\n\n this._offMoveEvents();\n\n this._offUpEvents();\n\n if (Safari) {\n css(document.body, 'user-select', '');\n }\n\n css(dragEl, 'transform', '');\n\n if (evt) {\n if (moved) {\n evt.cancelable && evt.preventDefault();\n !options.dropBubble && evt.stopPropagation();\n }\n\n ghostEl && ghostEl.parentNode && ghostEl.parentNode.removeChild(ghostEl);\n\n if (rootEl === parentEl || putSortable && putSortable.lastPutMode !== 'clone') {\n // Remove clone(s)\n cloneEl && cloneEl.parentNode && cloneEl.parentNode.removeChild(cloneEl);\n }\n\n if (dragEl) {\n if (this.nativeDraggable) {\n off(dragEl, 'dragend', this);\n }\n\n _disableDraggable(dragEl);\n\n dragEl.style['will-change'] = ''; // Remove classes\n // ghostClass is added in dragStarted\n\n if (moved && !awaitingDragStarted) {\n toggleClass(dragEl, putSortable ? putSortable.options.ghostClass : this.options.ghostClass, false);\n }\n\n toggleClass(dragEl, this.options.chosenClass, false); // Drag stop event\n\n _dispatchEvent({\n sortable: this,\n name: 'unchoose',\n toEl: parentEl,\n newIndex: null,\n newDraggableIndex: null,\n originalEvent: evt\n });\n\n if (rootEl !== parentEl) {\n if (newIndex >= 0) {\n // Add event\n _dispatchEvent({\n rootEl: parentEl,\n name: 'add',\n toEl: parentEl,\n fromEl: rootEl,\n originalEvent: evt\n }); // Remove event\n\n\n _dispatchEvent({\n sortable: this,\n name: 'remove',\n toEl: parentEl,\n originalEvent: evt\n }); // drag from one list and drop into another\n\n\n _dispatchEvent({\n rootEl: parentEl,\n name: 'sort',\n toEl: parentEl,\n fromEl: rootEl,\n originalEvent: evt\n });\n\n _dispatchEvent({\n sortable: this,\n name: 'sort',\n toEl: parentEl,\n originalEvent: evt\n });\n }\n\n putSortable && putSortable.save();\n } else {\n if (newIndex !== oldIndex) {\n if (newIndex >= 0) {\n // drag & drop within the same list\n _dispatchEvent({\n sortable: this,\n name: 'update',\n toEl: parentEl,\n originalEvent: evt\n });\n\n _dispatchEvent({\n sortable: this,\n name: 'sort',\n toEl: parentEl,\n originalEvent: evt\n });\n }\n }\n }\n\n if (Sortable.active) {\n /* jshint eqnull:true */\n if (newIndex == null || newIndex === -1) {\n newIndex = oldIndex;\n newDraggableIndex = oldDraggableIndex;\n }\n\n _dispatchEvent({\n sortable: this,\n name: 'end',\n toEl: parentEl,\n originalEvent: evt\n }); // Save sorting\n\n\n this.save();\n }\n }\n }\n\n this._nulling();\n },\n _nulling: function _nulling() {\n pluginEvent('nulling', this);\n rootEl = dragEl = parentEl = ghostEl = nextEl = cloneEl = lastDownEl = cloneHidden = tapEvt = touchEvt = moved = newIndex = newDraggableIndex = oldIndex = oldDraggableIndex = lastTarget = lastDirection = putSortable = activeGroup = Sortable.dragged = Sortable.ghost = Sortable.clone = Sortable.active = null;\n savedInputChecked.forEach(function (el) {\n el.checked = true;\n });\n savedInputChecked.length = lastDx = lastDy = 0;\n },\n handleEvent: function handleEvent(\n /**Event*/\n evt) {\n switch (evt.type) {\n case 'drop':\n case 'dragend':\n this._onDrop(evt);\n\n break;\n\n case 'dragenter':\n case 'dragover':\n if (dragEl) {\n this._onDragOver(evt);\n\n _globalDragOver(evt);\n }\n\n break;\n\n case 'selectstart':\n evt.preventDefault();\n break;\n }\n },\n\n /**\n * Serializes the item into an array of string.\n * @returns {String[]}\n */\n toArray: function toArray() {\n var order = [],\n el,\n children = this.el.children,\n i = 0,\n n = children.length,\n options = this.options;\n\n for (; i < n; i++) {\n el = children[i];\n\n if (closest(el, options.draggable, this.el, false)) {\n order.push(el.getAttribute(options.dataIdAttr) || _generateId(el));\n }\n }\n\n return order;\n },\n\n /**\n * Sorts the elements according to the array.\n * @param {String[]} order order of the items\n */\n sort: function sort(order) {\n var items = {},\n rootEl = this.el;\n this.toArray().forEach(function (id, i) {\n var el = rootEl.children[i];\n\n if (closest(el, this.options.draggable, rootEl, false)) {\n items[id] = el;\n }\n }, this);\n order.forEach(function (id) {\n if (items[id]) {\n rootEl.removeChild(items[id]);\n rootEl.appendChild(items[id]);\n }\n });\n },\n\n /**\n * Save the current sorting\n */\n save: function save() {\n var store = this.options.store;\n store && store.set && store.set(this);\n },\n\n /**\n * For each element in the set, get the first element that matches the selector by testing the element itself and traversing up through its ancestors in the DOM tree.\n * @param {HTMLElement} el\n * @param {String} [selector] default: `options.draggable`\n * @returns {HTMLElement|null}\n */\n closest: function closest$1(el, selector) {\n return closest(el, selector || this.options.draggable, this.el, false);\n },\n\n /**\n * Set/get option\n * @param {string} name\n * @param {*} [value]\n * @returns {*}\n */\n option: function option(name, value) {\n var options = this.options;\n\n if (value === void 0) {\n return options[name];\n } else {\n var modifiedValue = PluginManager.modifyOption(this, name, value);\n\n if (typeof modifiedValue !== 'undefined') {\n options[name] = modifiedValue;\n } else {\n options[name] = value;\n }\n\n if (name === 'group') {\n _prepareGroup(options);\n }\n }\n },\n\n /**\n * Destroy\n */\n destroy: function destroy() {\n pluginEvent('destroy', this);\n var el = this.el;\n el[expando] = null;\n off(el, 'mousedown', this._onTapStart);\n off(el, 'touchstart', this._onTapStart);\n off(el, 'pointerdown', this._onTapStart);\n\n if (this.nativeDraggable) {\n off(el, 'dragover', this);\n off(el, 'dragenter', this);\n } // Remove draggable attributes\n\n\n Array.prototype.forEach.call(el.querySelectorAll('[draggable]'), function (el) {\n el.removeAttribute('draggable');\n });\n\n this._onDrop();\n\n this._disableDelayedDragEvents();\n\n sortables.splice(sortables.indexOf(this.el), 1);\n this.el = el = null;\n },\n _hideClone: function _hideClone() {\n if (!cloneHidden) {\n pluginEvent('hideClone', this);\n if (Sortable.eventCanceled) return;\n css(cloneEl, 'display', 'none');\n\n if (this.options.removeCloneOnHide && cloneEl.parentNode) {\n cloneEl.parentNode.removeChild(cloneEl);\n }\n\n cloneHidden = true;\n }\n },\n _showClone: function _showClone(putSortable) {\n if (putSortable.lastPutMode !== 'clone') {\n this._hideClone();\n\n return;\n }\n\n if (cloneHidden) {\n pluginEvent('showClone', this);\n if (Sortable.eventCanceled) return; // show clone at dragEl or original position\n\n if (rootEl.contains(dragEl) && !this.options.group.revertClone) {\n rootEl.insertBefore(cloneEl, dragEl);\n } else if (nextEl) {\n rootEl.insertBefore(cloneEl, nextEl);\n } else {\n rootEl.appendChild(cloneEl);\n }\n\n if (this.options.group.revertClone) {\n this.animate(dragEl, cloneEl);\n }\n\n css(cloneEl, 'display', '');\n cloneHidden = false;\n }\n }\n};\n\nfunction _globalDragOver(\n/**Event*/\nevt) {\n if (evt.dataTransfer) {\n evt.dataTransfer.dropEffect = 'move';\n }\n\n evt.cancelable && evt.preventDefault();\n}\n\nfunction _onMove(fromEl, toEl, dragEl, dragRect, targetEl, targetRect, originalEvent, willInsertAfter) {\n var evt,\n sortable = fromEl[expando],\n onMoveFn = sortable.options.onMove,\n retVal; // Support for new CustomEvent feature\n\n if (window.CustomEvent && !IE11OrLess && !Edge) {\n evt = new CustomEvent('move', {\n bubbles: true,\n cancelable: true\n });\n } else {\n evt = document.createEvent('Event');\n evt.initEvent('move', true, true);\n }\n\n evt.to = toEl;\n evt.from = fromEl;\n evt.dragged = dragEl;\n evt.draggedRect = dragRect;\n evt.related = targetEl || toEl;\n evt.relatedRect = targetRect || getRect(toEl);\n evt.willInsertAfter = willInsertAfter;\n evt.originalEvent = originalEvent;\n fromEl.dispatchEvent(evt);\n\n if (onMoveFn) {\n retVal = onMoveFn.call(sortable, evt, originalEvent);\n }\n\n return retVal;\n}\n\nfunction _disableDraggable(el) {\n el.draggable = false;\n}\n\nfunction _unsilent() {\n _silent = false;\n}\n\nfunction _ghostIsLast(evt, vertical, sortable) {\n var rect = getRect(lastChild(sortable.el, sortable.options.draggable));\n var spacer = 10;\n return vertical ? evt.clientX > rect.right + spacer || evt.clientX <= rect.right && evt.clientY > rect.bottom && evt.clientX >= rect.left : evt.clientX > rect.right && evt.clientY > rect.top || evt.clientX <= rect.right && evt.clientY > rect.bottom + spacer;\n}\n\nfunction _getSwapDirection(evt, target, targetRect, vertical, swapThreshold, invertedSwapThreshold, invertSwap, isLastTarget) {\n var mouseOnAxis = vertical ? evt.clientY : evt.clientX,\n targetLength = vertical ? targetRect.height : targetRect.width,\n targetS1 = vertical ? targetRect.top : targetRect.left,\n targetS2 = vertical ? targetRect.bottom : targetRect.right,\n invert = false;\n\n if (!invertSwap) {\n // Never invert or create dragEl shadow when target movemenet causes mouse to move past the end of regular swapThreshold\n if (isLastTarget && targetMoveDistance < targetLength * swapThreshold) {\n // multiplied only by swapThreshold because mouse will already be inside target by (1 - threshold) * targetLength / 2\n // check if past first invert threshold on side opposite of lastDirection\n if (!pastFirstInvertThresh && (lastDirection === 1 ? mouseOnAxis > targetS1 + targetLength * invertedSwapThreshold / 2 : mouseOnAxis < targetS2 - targetLength * invertedSwapThreshold / 2)) {\n // past first invert threshold, do not restrict inverted threshold to dragEl shadow\n pastFirstInvertThresh = true;\n }\n\n if (!pastFirstInvertThresh) {\n // dragEl shadow (target move distance shadow)\n if (lastDirection === 1 ? mouseOnAxis < targetS1 + targetMoveDistance // over dragEl shadow\n : mouseOnAxis > targetS2 - targetMoveDistance) {\n return -lastDirection;\n }\n } else {\n invert = true;\n }\n } else {\n // Regular\n if (mouseOnAxis > targetS1 + targetLength * (1 - swapThreshold) / 2 && mouseOnAxis < targetS2 - targetLength * (1 - swapThreshold) / 2) {\n return _getInsertDirection(target);\n }\n }\n }\n\n invert = invert || invertSwap;\n\n if (invert) {\n // Invert of regular\n if (mouseOnAxis < targetS1 + targetLength * invertedSwapThreshold / 2 || mouseOnAxis > targetS2 - targetLength * invertedSwapThreshold / 2) {\n return mouseOnAxis > targetS1 + targetLength / 2 ? 1 : -1;\n }\n }\n\n return 0;\n}\n/**\n * Gets the direction dragEl must be swapped relative to target in order to make it\n * seem that dragEl has been \"inserted\" into that element's position\n * @param {HTMLElement} target The target whose position dragEl is being inserted at\n * @return {Number} Direction dragEl must be swapped\n */\n\n\nfunction _getInsertDirection(target) {\n if (index(dragEl) < index(target)) {\n return 1;\n } else {\n return -1;\n }\n}\n/**\n * Generate id\n * @param {HTMLElement} el\n * @returns {String}\n * @private\n */\n\n\nfunction _generateId(el) {\n var str = el.tagName + el.className + el.src + el.href + el.textContent,\n i = str.length,\n sum = 0;\n\n while (i--) {\n sum += str.charCodeAt(i);\n }\n\n return sum.toString(36);\n}\n\nfunction _saveInputCheckedState(root) {\n savedInputChecked.length = 0;\n var inputs = root.getElementsByTagName('input');\n var idx = inputs.length;\n\n while (idx--) {\n var el = inputs[idx];\n el.checked && savedInputChecked.push(el);\n }\n}\n\nfunction _nextTick(fn) {\n return setTimeout(fn, 0);\n}\n\nfunction _cancelNextTick(id) {\n return clearTimeout(id);\n} // Fixed #973:\n\n\nif (documentExists) {\n on(document, 'touchmove', function (evt) {\n if ((Sortable.active || awaitingDragStarted) && evt.cancelable) {\n evt.preventDefault();\n }\n });\n} // Export utils\n\n\nSortable.utils = {\n on: on,\n off: off,\n css: css,\n find: find,\n is: function is(el, selector) {\n return !!closest(el, selector, el, false);\n },\n extend: extend,\n throttle: throttle,\n closest: closest,\n toggleClass: toggleClass,\n clone: clone,\n index: index,\n nextTick: _nextTick,\n cancelNextTick: _cancelNextTick,\n detectDirection: _detectDirection,\n getChild: getChild\n};\n/**\n * Get the Sortable instance of an element\n * @param {HTMLElement} element The element\n * @return {Sortable|undefined} The instance of Sortable\n */\n\nSortable.get = function (element) {\n return element[expando];\n};\n/**\n * Mount a plugin to Sortable\n * @param {...SortablePlugin|SortablePlugin[]} plugins Plugins being mounted\n */\n\n\nSortable.mount = function () {\n for (var _len = arguments.length, plugins = new Array(_len), _key = 0; _key < _len; _key++) {\n plugins[_key] = arguments[_key];\n }\n\n if (plugins[0].constructor === Array) plugins = plugins[0];\n plugins.forEach(function (plugin) {\n if (!plugin.prototype || !plugin.prototype.constructor) {\n throw \"Sortable: Mounted plugin must be a constructor function, not \".concat({}.toString.call(plugin));\n }\n\n if (plugin.utils) Sortable.utils = _objectSpread({}, Sortable.utils, plugin.utils);\n PluginManager.mount(plugin);\n });\n};\n/**\n * Create sortable instance\n * @param {HTMLElement} el\n * @param {Object} [options]\n */\n\n\nSortable.create = function (el, options) {\n return new Sortable(el, options);\n}; // Export\n\n\nSortable.version = version;\nvar autoScrolls = [],\n scrollEl,\n scrollRootEl,\n scrolling = false,\n lastAutoScrollX,\n lastAutoScrollY,\n touchEvt$1,\n pointerElemChangedInterval;\n\nfunction AutoScrollPlugin() {\n function AutoScroll() {\n this.defaults = {\n scroll: true,\n scrollSensitivity: 30,\n scrollSpeed: 10,\n bubbleScroll: true\n }; // Bind all private methods\n\n for (var fn in this) {\n if (fn.charAt(0) === '_' && typeof this[fn] === 'function') {\n this[fn] = this[fn].bind(this);\n }\n }\n }\n\n AutoScroll.prototype = {\n dragStarted: function dragStarted(_ref) {\n var originalEvent = _ref.originalEvent;\n\n if (this.sortable.nativeDraggable) {\n on(document, 'dragover', this._handleAutoScroll);\n } else {\n if (this.options.supportPointer) {\n on(document, 'pointermove', this._handleFallbackAutoScroll);\n } else if (originalEvent.touches) {\n on(document, 'touchmove', this._handleFallbackAutoScroll);\n } else {\n on(document, 'mousemove', this._handleFallbackAutoScroll);\n }\n }\n },\n dragOverCompleted: function dragOverCompleted(_ref2) {\n var originalEvent = _ref2.originalEvent; // For when bubbling is canceled and using fallback (fallback 'touchmove' always reached)\n\n if (!this.options.dragOverBubble && !originalEvent.rootEl) {\n this._handleAutoScroll(originalEvent);\n }\n },\n drop: function drop() {\n if (this.sortable.nativeDraggable) {\n off(document, 'dragover', this._handleAutoScroll);\n } else {\n off(document, 'pointermove', this._handleFallbackAutoScroll);\n off(document, 'touchmove', this._handleFallbackAutoScroll);\n off(document, 'mousemove', this._handleFallbackAutoScroll);\n }\n\n clearPointerElemChangedInterval();\n clearAutoScrolls();\n cancelThrottle();\n },\n nulling: function nulling() {\n touchEvt$1 = scrollRootEl = scrollEl = scrolling = pointerElemChangedInterval = lastAutoScrollX = lastAutoScrollY = null;\n autoScrolls.length = 0;\n },\n _handleFallbackAutoScroll: function _handleFallbackAutoScroll(evt) {\n this._handleAutoScroll(evt, true);\n },\n _handleAutoScroll: function _handleAutoScroll(evt, fallback) {\n var _this = this;\n\n var x = (evt.touches ? evt.touches[0] : evt).clientX,\n y = (evt.touches ? evt.touches[0] : evt).clientY,\n elem = document.elementFromPoint(x, y);\n touchEvt$1 = evt; // IE does not seem to have native autoscroll,\n // Edge's autoscroll seems too conditional,\n // MACOS Safari does not have autoscroll,\n // Firefox and Chrome are good\n\n if (fallback || Edge || IE11OrLess || Safari) {\n autoScroll(evt, this.options, elem, fallback); // Listener for pointer element change\n\n var ogElemScroller = getParentAutoScrollElement(elem, true);\n\n if (scrolling && (!pointerElemChangedInterval || x !== lastAutoScrollX || y !== lastAutoScrollY)) {\n pointerElemChangedInterval && clearPointerElemChangedInterval(); // Detect for pointer elem change, emulating native DnD behaviour\n\n pointerElemChangedInterval = setInterval(function () {\n var newElem = getParentAutoScrollElement(document.elementFromPoint(x, y), true);\n\n if (newElem !== ogElemScroller) {\n ogElemScroller = newElem;\n clearAutoScrolls();\n }\n\n autoScroll(evt, _this.options, newElem, fallback);\n }, 10);\n lastAutoScrollX = x;\n lastAutoScrollY = y;\n }\n } else {\n // if DnD is enabled (and browser has good autoscrolling), first autoscroll will already scroll, so get parent autoscroll of first autoscroll\n if (!this.options.bubbleScroll || getParentAutoScrollElement(elem, true) === getWindowScrollingElement()) {\n clearAutoScrolls();\n return;\n }\n\n autoScroll(evt, this.options, getParentAutoScrollElement(elem, false), false);\n }\n }\n };\n return _extends(AutoScroll, {\n pluginName: 'scroll',\n initializeByDefault: true\n });\n}\n\nfunction clearAutoScrolls() {\n autoScrolls.forEach(function (autoScroll) {\n clearInterval(autoScroll.pid);\n });\n autoScrolls = [];\n}\n\nfunction clearPointerElemChangedInterval() {\n clearInterval(pointerElemChangedInterval);\n}\n\nvar autoScroll = throttle(function (evt, options, rootEl, isFallback) {\n // Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=505521\n if (!options.scroll) return;\n var x = (evt.touches ? evt.touches[0] : evt).clientX,\n y = (evt.touches ? evt.touches[0] : evt).clientY,\n sens = options.scrollSensitivity,\n speed = options.scrollSpeed,\n winScroller = getWindowScrollingElement();\n var scrollThisInstance = false,\n scrollCustomFn; // New scroll root, set scrollEl\n\n if (scrollRootEl !== rootEl) {\n scrollRootEl = rootEl;\n clearAutoScrolls();\n scrollEl = options.scroll;\n scrollCustomFn = options.scrollFn;\n\n if (scrollEl === true) {\n scrollEl = getParentAutoScrollElement(rootEl, true);\n }\n }\n\n var layersOut = 0;\n var currentParent = scrollEl;\n\n do {\n var el = currentParent,\n rect = getRect(el),\n top = rect.top,\n bottom = rect.bottom,\n left = rect.left,\n right = rect.right,\n width = rect.width,\n height = rect.height,\n canScrollX = void 0,\n canScrollY = void 0,\n scrollWidth = el.scrollWidth,\n scrollHeight = el.scrollHeight,\n elCSS = css(el),\n scrollPosX = el.scrollLeft,\n scrollPosY = el.scrollTop;\n\n if (el === winScroller) {\n canScrollX = width < scrollWidth && (elCSS.overflowX === 'auto' || elCSS.overflowX === 'scroll' || elCSS.overflowX === 'visible');\n canScrollY = height < scrollHeight && (elCSS.overflowY === 'auto' || elCSS.overflowY === 'scroll' || elCSS.overflowY === 'visible');\n } else {\n canScrollX = width < scrollWidth && (elCSS.overflowX === 'auto' || elCSS.overflowX === 'scroll');\n canScrollY = height < scrollHeight && (elCSS.overflowY === 'auto' || elCSS.overflowY === 'scroll');\n }\n\n var vx = canScrollX && (Math.abs(right - x) <= sens && scrollPosX + width < scrollWidth) - (Math.abs(left - x) <= sens && !!scrollPosX);\n var vy = canScrollY && (Math.abs(bottom - y) <= sens && scrollPosY + height < scrollHeight) - (Math.abs(top - y) <= sens && !!scrollPosY);\n\n if (!autoScrolls[layersOut]) {\n for (var i = 0; i <= layersOut; i++) {\n if (!autoScrolls[i]) {\n autoScrolls[i] = {};\n }\n }\n }\n\n if (autoScrolls[layersOut].vx != vx || autoScrolls[layersOut].vy != vy || autoScrolls[layersOut].el !== el) {\n autoScrolls[layersOut].el = el;\n autoScrolls[layersOut].vx = vx;\n autoScrolls[layersOut].vy = vy;\n clearInterval(autoScrolls[layersOut].pid);\n\n if (vx != 0 || vy != 0) {\n scrollThisInstance = true;\n /* jshint loopfunc:true */\n\n autoScrolls[layersOut].pid = setInterval(function () {\n // emulate drag over during autoscroll (fallback), emulating native DnD behaviour\n if (isFallback && this.layer === 0) {\n Sortable.active._onTouchMove(touchEvt$1); // To move ghost if it is positioned absolutely\n\n }\n\n var scrollOffsetY = autoScrolls[this.layer].vy ? autoScrolls[this.layer].vy * speed : 0;\n var scrollOffsetX = autoScrolls[this.layer].vx ? autoScrolls[this.layer].vx * speed : 0;\n\n if (typeof scrollCustomFn === 'function') {\n if (scrollCustomFn.call(Sortable.dragged.parentNode[expando], scrollOffsetX, scrollOffsetY, evt, touchEvt$1, autoScrolls[this.layer].el) !== 'continue') {\n return;\n }\n }\n\n scrollBy(autoScrolls[this.layer].el, scrollOffsetX, scrollOffsetY);\n }.bind({\n layer: layersOut\n }), 24);\n }\n }\n\n layersOut++;\n } while (options.bubbleScroll && currentParent !== winScroller && (currentParent = getParentAutoScrollElement(currentParent, false)));\n\n scrolling = scrollThisInstance; // in case another function catches scrolling as false in between when it is not\n}, 30);\n\nvar drop = function drop(_ref) {\n var originalEvent = _ref.originalEvent,\n putSortable = _ref.putSortable,\n dragEl = _ref.dragEl,\n activeSortable = _ref.activeSortable,\n dispatchSortableEvent = _ref.dispatchSortableEvent,\n hideGhostForTarget = _ref.hideGhostForTarget,\n unhideGhostForTarget = _ref.unhideGhostForTarget;\n if (!originalEvent) return;\n var toSortable = putSortable || activeSortable;\n hideGhostForTarget();\n var touch = originalEvent.changedTouches && originalEvent.changedTouches.length ? originalEvent.changedTouches[0] : originalEvent;\n var target = document.elementFromPoint(touch.clientX, touch.clientY);\n unhideGhostForTarget();\n\n if (toSortable && !toSortable.el.contains(target)) {\n dispatchSortableEvent('spill');\n this.onSpill({\n dragEl: dragEl,\n putSortable: putSortable\n });\n }\n};\n\nfunction Revert() {}\n\nRevert.prototype = {\n startIndex: null,\n dragStart: function dragStart(_ref2) {\n var oldDraggableIndex = _ref2.oldDraggableIndex;\n this.startIndex = oldDraggableIndex;\n },\n onSpill: function onSpill(_ref3) {\n var dragEl = _ref3.dragEl,\n putSortable = _ref3.putSortable;\n this.sortable.captureAnimationState();\n\n if (putSortable) {\n putSortable.captureAnimationState();\n }\n\n var nextSibling = getChild(this.sortable.el, this.startIndex, this.options);\n\n if (nextSibling) {\n this.sortable.el.insertBefore(dragEl, nextSibling);\n } else {\n this.sortable.el.appendChild(dragEl);\n }\n\n this.sortable.animateAll();\n\n if (putSortable) {\n putSortable.animateAll();\n }\n },\n drop: drop\n};\n\n_extends(Revert, {\n pluginName: 'revertOnSpill'\n});\n\nfunction Remove() {}\n\nRemove.prototype = {\n onSpill: function onSpill(_ref4) {\n var dragEl = _ref4.dragEl,\n putSortable = _ref4.putSortable;\n var parentSortable = putSortable || this.sortable;\n parentSortable.captureAnimationState();\n dragEl.parentNode && dragEl.parentNode.removeChild(dragEl);\n parentSortable.animateAll();\n },\n drop: drop\n};\n\n_extends(Remove, {\n pluginName: 'removeOnSpill'\n});\n\nvar lastSwapEl;\n\nfunction SwapPlugin() {\n function Swap() {\n this.defaults = {\n swapClass: 'sortable-swap-highlight'\n };\n }\n\n Swap.prototype = {\n dragStart: function dragStart(_ref) {\n var dragEl = _ref.dragEl;\n lastSwapEl = dragEl;\n },\n dragOverValid: function dragOverValid(_ref2) {\n var completed = _ref2.completed,\n target = _ref2.target,\n onMove = _ref2.onMove,\n activeSortable = _ref2.activeSortable,\n changed = _ref2.changed,\n cancel = _ref2.cancel;\n if (!activeSortable.options.swap) return;\n var el = this.sortable.el,\n options = this.options;\n\n if (target && target !== el) {\n var prevSwapEl = lastSwapEl;\n\n if (onMove(target) !== false) {\n toggleClass(target, options.swapClass, true);\n lastSwapEl = target;\n } else {\n lastSwapEl = null;\n }\n\n if (prevSwapEl && prevSwapEl !== lastSwapEl) {\n toggleClass(prevSwapEl, options.swapClass, false);\n }\n }\n\n changed();\n completed(true);\n cancel();\n },\n drop: function drop(_ref3) {\n var activeSortable = _ref3.activeSortable,\n putSortable = _ref3.putSortable,\n dragEl = _ref3.dragEl;\n var toSortable = putSortable || this.sortable;\n var options = this.options;\n lastSwapEl && toggleClass(lastSwapEl, options.swapClass, false);\n\n if (lastSwapEl && (options.swap || putSortable && putSortable.options.swap)) {\n if (dragEl !== lastSwapEl) {\n toSortable.captureAnimationState();\n if (toSortable !== activeSortable) activeSortable.captureAnimationState();\n swapNodes(dragEl, lastSwapEl);\n toSortable.animateAll();\n if (toSortable !== activeSortable) activeSortable.animateAll();\n }\n }\n },\n nulling: function nulling() {\n lastSwapEl = null;\n }\n };\n return _extends(Swap, {\n pluginName: 'swap',\n eventProperties: function eventProperties() {\n return {\n swapItem: lastSwapEl\n };\n }\n });\n}\n\nfunction swapNodes(n1, n2) {\n var p1 = n1.parentNode,\n p2 = n2.parentNode,\n i1,\n i2;\n if (!p1 || !p2 || p1.isEqualNode(n2) || p2.isEqualNode(n1)) return;\n i1 = index(n1);\n i2 = index(n2);\n\n if (p1.isEqualNode(p2) && i1 < i2) {\n i2++;\n }\n\n p1.insertBefore(n2, p1.children[i1]);\n p2.insertBefore(n1, p2.children[i2]);\n}\n\nvar multiDragElements = [],\n multiDragClones = [],\n lastMultiDragSelect,\n // for selection with modifier key down (SHIFT)\nmultiDragSortable,\n initialFolding = false,\n // Initial multi-drag fold when drag started\nfolding = false,\n // Folding any other time\ndragStarted = false,\n dragEl$1,\n clonesFromRect,\n clonesHidden;\n\nfunction MultiDragPlugin() {\n function MultiDrag(sortable) {\n // Bind all private methods\n for (var fn in this) {\n if (fn.charAt(0) === '_' && typeof this[fn] === 'function') {\n this[fn] = this[fn].bind(this);\n }\n }\n\n if (sortable.options.supportPointer) {\n on(document, 'pointerup', this._deselectMultiDrag);\n } else {\n on(document, 'mouseup', this._deselectMultiDrag);\n on(document, 'touchend', this._deselectMultiDrag);\n }\n\n on(document, 'keydown', this._checkKeyDown);\n on(document, 'keyup', this._checkKeyUp);\n this.defaults = {\n selectedClass: 'sortable-selected',\n multiDragKey: null,\n setData: function setData(dataTransfer, dragEl) {\n var data = '';\n\n if (multiDragElements.length && multiDragSortable === sortable) {\n multiDragElements.forEach(function (multiDragElement, i) {\n data += (!i ? '' : ', ') + multiDragElement.textContent;\n });\n } else {\n data = dragEl.textContent;\n }\n\n dataTransfer.setData('Text', data);\n }\n };\n }\n\n MultiDrag.prototype = {\n multiDragKeyDown: false,\n isMultiDrag: false,\n delayStartGlobal: function delayStartGlobal(_ref) {\n var dragged = _ref.dragEl;\n dragEl$1 = dragged;\n },\n delayEnded: function delayEnded() {\n this.isMultiDrag = ~multiDragElements.indexOf(dragEl$1);\n },\n setupClone: function setupClone(_ref2) {\n var sortable = _ref2.sortable,\n cancel = _ref2.cancel;\n if (!this.isMultiDrag) return;\n\n for (var i = 0; i < multiDragElements.length; i++) {\n multiDragClones.push(clone(multiDragElements[i]));\n multiDragClones[i].sortableIndex = multiDragElements[i].sortableIndex;\n multiDragClones[i].draggable = false;\n multiDragClones[i].style['will-change'] = '';\n toggleClass(multiDragClones[i], this.options.selectedClass, false);\n multiDragElements[i] === dragEl$1 && toggleClass(multiDragClones[i], this.options.chosenClass, false);\n }\n\n sortable._hideClone();\n\n cancel();\n },\n clone: function clone(_ref3) {\n var sortable = _ref3.sortable,\n rootEl = _ref3.rootEl,\n dispatchSortableEvent = _ref3.dispatchSortableEvent,\n cancel = _ref3.cancel;\n if (!this.isMultiDrag) return;\n\n if (!this.options.removeCloneOnHide) {\n if (multiDragElements.length && multiDragSortable === sortable) {\n insertMultiDragClones(true, rootEl);\n dispatchSortableEvent('clone');\n cancel();\n }\n }\n },\n showClone: function showClone(_ref4) {\n var cloneNowShown = _ref4.cloneNowShown,\n rootEl = _ref4.rootEl,\n cancel = _ref4.cancel;\n if (!this.isMultiDrag) return;\n insertMultiDragClones(false, rootEl);\n multiDragClones.forEach(function (clone) {\n css(clone, 'display', '');\n });\n cloneNowShown();\n clonesHidden = false;\n cancel();\n },\n hideClone: function hideClone(_ref5) {\n var _this = this;\n\n var sortable = _ref5.sortable,\n cloneNowHidden = _ref5.cloneNowHidden,\n cancel = _ref5.cancel;\n if (!this.isMultiDrag) return;\n multiDragClones.forEach(function (clone) {\n css(clone, 'display', 'none');\n\n if (_this.options.removeCloneOnHide && clone.parentNode) {\n clone.parentNode.removeChild(clone);\n }\n });\n cloneNowHidden();\n clonesHidden = true;\n cancel();\n },\n dragStartGlobal: function dragStartGlobal(_ref6) {\n var sortable = _ref6.sortable;\n\n if (!this.isMultiDrag && multiDragSortable) {\n multiDragSortable.multiDrag._deselectMultiDrag();\n }\n\n multiDragElements.forEach(function (multiDragElement) {\n multiDragElement.sortableIndex = index(multiDragElement);\n }); // Sort multi-drag elements\n\n multiDragElements = multiDragElements.sort(function (a, b) {\n return a.sortableIndex - b.sortableIndex;\n });\n dragStarted = true;\n },\n dragStarted: function dragStarted(_ref7) {\n var _this2 = this;\n\n var sortable = _ref7.sortable;\n if (!this.isMultiDrag) return;\n\n if (this.options.sort) {\n // Capture rects,\n // hide multi drag elements (by positioning them absolute),\n // set multi drag elements rects to dragRect,\n // show multi drag elements,\n // animate to rects,\n // unset rects & remove from DOM\n sortable.captureAnimationState();\n\n if (this.options.animation) {\n multiDragElements.forEach(function (multiDragElement) {\n if (multiDragElement === dragEl$1) return;\n css(multiDragElement, 'position', 'absolute');\n });\n var dragRect = getRect(dragEl$1, false, true, true);\n multiDragElements.forEach(function (multiDragElement) {\n if (multiDragElement === dragEl$1) return;\n setRect(multiDragElement, dragRect);\n });\n folding = true;\n initialFolding = true;\n }\n }\n\n sortable.animateAll(function () {\n folding = false;\n initialFolding = false;\n\n if (_this2.options.animation) {\n multiDragElements.forEach(function (multiDragElement) {\n unsetRect(multiDragElement);\n });\n } // Remove all auxiliary multidrag items from el, if sorting enabled\n\n\n if (_this2.options.sort) {\n removeMultiDragElements();\n }\n });\n },\n dragOver: function dragOver(_ref8) {\n var target = _ref8.target,\n completed = _ref8.completed,\n cancel = _ref8.cancel;\n\n if (folding && ~multiDragElements.indexOf(target)) {\n completed(false);\n cancel();\n }\n },\n revert: function revert(_ref9) {\n var fromSortable = _ref9.fromSortable,\n rootEl = _ref9.rootEl,\n sortable = _ref9.sortable,\n dragRect = _ref9.dragRect;\n\n if (multiDragElements.length > 1) {\n // Setup unfold animation\n multiDragElements.forEach(function (multiDragElement) {\n sortable.addAnimationState({\n target: multiDragElement,\n rect: folding ? getRect(multiDragElement) : dragRect\n });\n unsetRect(multiDragElement);\n multiDragElement.fromRect = dragRect;\n fromSortable.removeAnimationState(multiDragElement);\n });\n folding = false;\n insertMultiDragElements(!this.options.removeCloneOnHide, rootEl);\n }\n },\n dragOverCompleted: function dragOverCompleted(_ref10) {\n var sortable = _ref10.sortable,\n isOwner = _ref10.isOwner,\n insertion = _ref10.insertion,\n activeSortable = _ref10.activeSortable,\n parentEl = _ref10.parentEl,\n putSortable = _ref10.putSortable;\n var options = this.options;\n\n if (insertion) {\n // Clones must be hidden before folding animation to capture dragRectAbsolute properly\n if (isOwner) {\n activeSortable._hideClone();\n }\n\n initialFolding = false; // If leaving sort:false root, or already folding - Fold to new location\n\n if (options.animation && multiDragElements.length > 1 && (folding || !isOwner && !activeSortable.options.sort && !putSortable)) {\n // Fold: Set all multi drag elements's rects to dragEl's rect when multi-drag elements are invisible\n var dragRectAbsolute = getRect(dragEl$1, false, true, true);\n multiDragElements.forEach(function (multiDragElement) {\n if (multiDragElement === dragEl$1) return;\n setRect(multiDragElement, dragRectAbsolute); // Move element(s) to end of parentEl so that it does not interfere with multi-drag clones insertion if they are inserted\n // while folding, and so that we can capture them again because old sortable will no longer be fromSortable\n\n parentEl.appendChild(multiDragElement);\n });\n folding = true;\n } // Clones must be shown (and check to remove multi drags) after folding when interfering multiDragElements are moved out\n\n\n if (!isOwner) {\n // Only remove if not folding (folding will remove them anyways)\n if (!folding) {\n removeMultiDragElements();\n }\n\n if (multiDragElements.length > 1) {\n var clonesHiddenBefore = clonesHidden;\n\n activeSortable._showClone(sortable); // Unfold animation for clones if showing from hidden\n\n\n if (activeSortable.options.animation && !clonesHidden && clonesHiddenBefore) {\n multiDragClones.forEach(function (clone) {\n activeSortable.addAnimationState({\n target: clone,\n rect: clonesFromRect\n });\n clone.fromRect = clonesFromRect;\n clone.thisAnimationDuration = null;\n });\n }\n } else {\n activeSortable._showClone(sortable);\n }\n }\n }\n },\n dragOverAnimationCapture: function dragOverAnimationCapture(_ref11) {\n var dragRect = _ref11.dragRect,\n isOwner = _ref11.isOwner,\n activeSortable = _ref11.activeSortable;\n multiDragElements.forEach(function (multiDragElement) {\n multiDragElement.thisAnimationDuration = null;\n });\n\n if (activeSortable.options.animation && !isOwner && activeSortable.multiDrag.isMultiDrag) {\n clonesFromRect = _extends({}, dragRect);\n var dragMatrix = matrix(dragEl$1, true);\n clonesFromRect.top -= dragMatrix.f;\n clonesFromRect.left -= dragMatrix.e;\n }\n },\n dragOverAnimationComplete: function dragOverAnimationComplete() {\n if (folding) {\n folding = false;\n removeMultiDragElements();\n }\n },\n drop: function drop(_ref12) {\n var evt = _ref12.originalEvent,\n rootEl = _ref12.rootEl,\n parentEl = _ref12.parentEl,\n sortable = _ref12.sortable,\n dispatchSortableEvent = _ref12.dispatchSortableEvent,\n oldIndex = _ref12.oldIndex,\n putSortable = _ref12.putSortable;\n var toSortable = putSortable || this.sortable;\n if (!evt) return;\n var options = this.options,\n children = parentEl.children; // Multi-drag selection\n\n if (!dragStarted) {\n if (options.multiDragKey && !this.multiDragKeyDown) {\n this._deselectMultiDrag();\n }\n\n toggleClass(dragEl$1, options.selectedClass, !~multiDragElements.indexOf(dragEl$1));\n\n if (!~multiDragElements.indexOf(dragEl$1)) {\n multiDragElements.push(dragEl$1);\n dispatchEvent({\n sortable: sortable,\n rootEl: rootEl,\n name: 'select',\n targetEl: dragEl$1,\n originalEvt: evt\n }); // Modifier activated, select from last to dragEl\n\n if (evt.shiftKey && lastMultiDragSelect && sortable.el.contains(lastMultiDragSelect)) {\n var lastIndex = index(lastMultiDragSelect),\n currentIndex = index(dragEl$1);\n\n if (~lastIndex && ~currentIndex && lastIndex !== currentIndex) {\n // Must include lastMultiDragSelect (select it), in case modified selection from no selection\n // (but previous selection existed)\n var n, i;\n\n if (currentIndex > lastIndex) {\n i = lastIndex;\n n = currentIndex;\n } else {\n i = currentIndex;\n n = lastIndex + 1;\n }\n\n for (; i < n; i++) {\n if (~multiDragElements.indexOf(children[i])) continue;\n toggleClass(children[i], options.selectedClass, true);\n multiDragElements.push(children[i]);\n dispatchEvent({\n sortable: sortable,\n rootEl: rootEl,\n name: 'select',\n targetEl: children[i],\n originalEvt: evt\n });\n }\n }\n } else {\n lastMultiDragSelect = dragEl$1;\n }\n\n multiDragSortable = toSortable;\n } else {\n multiDragElements.splice(multiDragElements.indexOf(dragEl$1), 1);\n lastMultiDragSelect = null;\n dispatchEvent({\n sortable: sortable,\n rootEl: rootEl,\n name: 'deselect',\n targetEl: dragEl$1,\n originalEvt: evt\n });\n }\n } // Multi-drag drop\n\n\n if (dragStarted && this.isMultiDrag) {\n // Do not \"unfold\" after around dragEl if reverted\n if ((parentEl[expando].options.sort || parentEl !== rootEl) && multiDragElements.length > 1) {\n var dragRect = getRect(dragEl$1),\n multiDragIndex = index(dragEl$1, ':not(.' + this.options.selectedClass + ')');\n if (!initialFolding && options.animation) dragEl$1.thisAnimationDuration = null;\n toSortable.captureAnimationState();\n\n if (!initialFolding) {\n if (options.animation) {\n dragEl$1.fromRect = dragRect;\n multiDragElements.forEach(function (multiDragElement) {\n multiDragElement.thisAnimationDuration = null;\n\n if (multiDragElement !== dragEl$1) {\n var rect = folding ? getRect(multiDragElement) : dragRect;\n multiDragElement.fromRect = rect; // Prepare unfold animation\n\n toSortable.addAnimationState({\n target: multiDragElement,\n rect: rect\n });\n }\n });\n } // Multi drag elements are not necessarily removed from the DOM on drop, so to reinsert\n // properly they must all be removed\n\n\n removeMultiDragElements();\n multiDragElements.forEach(function (multiDragElement) {\n if (children[multiDragIndex]) {\n parentEl.insertBefore(multiDragElement, children[multiDragIndex]);\n } else {\n parentEl.appendChild(multiDragElement);\n }\n\n multiDragIndex++;\n }); // If initial folding is done, the elements may have changed position because they are now\n // unfolding around dragEl, even though dragEl may not have his index changed, so update event\n // must be fired here as Sortable will not.\n\n if (oldIndex === index(dragEl$1)) {\n var update = false;\n multiDragElements.forEach(function (multiDragElement) {\n if (multiDragElement.sortableIndex !== index(multiDragElement)) {\n update = true;\n return;\n }\n });\n\n if (update) {\n dispatchSortableEvent('update');\n }\n }\n } // Must be done after capturing individual rects (scroll bar)\n\n\n multiDragElements.forEach(function (multiDragElement) {\n unsetRect(multiDragElement);\n });\n toSortable.animateAll();\n }\n\n multiDragSortable = toSortable;\n } // Remove clones if necessary\n\n\n if (rootEl === parentEl || putSortable && putSortable.lastPutMode !== 'clone') {\n multiDragClones.forEach(function (clone) {\n clone.parentNode && clone.parentNode.removeChild(clone);\n });\n }\n },\n nullingGlobal: function nullingGlobal() {\n this.isMultiDrag = dragStarted = false;\n multiDragClones.length = 0;\n },\n destroyGlobal: function destroyGlobal() {\n this._deselectMultiDrag();\n\n off(document, 'pointerup', this._deselectMultiDrag);\n off(document, 'mouseup', this._deselectMultiDrag);\n off(document, 'touchend', this._deselectMultiDrag);\n off(document, 'keydown', this._checkKeyDown);\n off(document, 'keyup', this._checkKeyUp);\n },\n _deselectMultiDrag: function _deselectMultiDrag(evt) {\n if (typeof dragStarted !== \"undefined\" && dragStarted) return; // Only deselect if selection is in this sortable\n\n if (multiDragSortable !== this.sortable) return; // Only deselect if target is not item in this sortable\n\n if (evt && closest(evt.target, this.options.draggable, this.sortable.el, false)) return; // Only deselect if left click\n\n if (evt && evt.button !== 0) return;\n\n while (multiDragElements.length) {\n var el = multiDragElements[0];\n toggleClass(el, this.options.selectedClass, false);\n multiDragElements.shift();\n dispatchEvent({\n sortable: this.sortable,\n rootEl: this.sortable.el,\n name: 'deselect',\n targetEl: el,\n originalEvt: evt\n });\n }\n },\n _checkKeyDown: function _checkKeyDown(evt) {\n if (evt.key === this.options.multiDragKey) {\n this.multiDragKeyDown = true;\n }\n },\n _checkKeyUp: function _checkKeyUp(evt) {\n if (evt.key === this.options.multiDragKey) {\n this.multiDragKeyDown = false;\n }\n }\n };\n return _extends(MultiDrag, {\n // Static methods & properties\n pluginName: 'multiDrag',\n utils: {\n /**\r\n * Selects the provided multi-drag item\r\n * @param {HTMLElement} el The element to be selected\r\n */\n select: function select(el) {\n var sortable = el.parentNode[expando];\n if (!sortable || !sortable.options.multiDrag || ~multiDragElements.indexOf(el)) return;\n\n if (multiDragSortable && multiDragSortable !== sortable) {\n multiDragSortable.multiDrag._deselectMultiDrag();\n\n multiDragSortable = sortable;\n }\n\n toggleClass(el, sortable.options.selectedClass, true);\n multiDragElements.push(el);\n },\n\n /**\r\n * Deselects the provided multi-drag item\r\n * @param {HTMLElement} el The element to be deselected\r\n */\n deselect: function deselect(el) {\n var sortable = el.parentNode[expando],\n index = multiDragElements.indexOf(el);\n if (!sortable || !sortable.options.multiDrag || !~index) return;\n toggleClass(el, sortable.options.selectedClass, false);\n multiDragElements.splice(index, 1);\n }\n },\n eventProperties: function eventProperties() {\n var _this3 = this;\n\n var oldIndicies = [],\n newIndicies = [];\n multiDragElements.forEach(function (multiDragElement) {\n oldIndicies.push({\n multiDragElement: multiDragElement,\n index: multiDragElement.sortableIndex\n }); // multiDragElements will already be sorted if folding\n\n var newIndex;\n\n if (folding && multiDragElement !== dragEl$1) {\n newIndex = -1;\n } else if (folding) {\n newIndex = index(multiDragElement, ':not(.' + _this3.options.selectedClass + ')');\n } else {\n newIndex = index(multiDragElement);\n }\n\n newIndicies.push({\n multiDragElement: multiDragElement,\n index: newIndex\n });\n });\n return {\n items: _toConsumableArray(multiDragElements),\n clones: [].concat(multiDragClones),\n oldIndicies: oldIndicies,\n newIndicies: newIndicies\n };\n },\n optionListeners: {\n multiDragKey: function multiDragKey(key) {\n key = key.toLowerCase();\n\n if (key === 'ctrl') {\n key = 'Control';\n } else if (key.length > 1) {\n key = key.charAt(0).toUpperCase() + key.substr(1);\n }\n\n return key;\n }\n }\n });\n}\n\nfunction insertMultiDragElements(clonesInserted, rootEl) {\n multiDragElements.forEach(function (multiDragElement, i) {\n var target = rootEl.children[multiDragElement.sortableIndex + (clonesInserted ? Number(i) : 0)];\n\n if (target) {\n rootEl.insertBefore(multiDragElement, target);\n } else {\n rootEl.appendChild(multiDragElement);\n }\n });\n}\n/**\r\n * Insert multi-drag clones\r\n * @param {[Boolean]} elementsInserted Whether the multi-drag elements are inserted\r\n * @param {HTMLElement} rootEl\r\n */\n\n\nfunction insertMultiDragClones(elementsInserted, rootEl) {\n multiDragClones.forEach(function (clone, i) {\n var target = rootEl.children[clone.sortableIndex + (elementsInserted ? Number(i) : 0)];\n\n if (target) {\n rootEl.insertBefore(clone, target);\n } else {\n rootEl.appendChild(clone);\n }\n });\n}\n\nfunction removeMultiDragElements() {\n multiDragElements.forEach(function (multiDragElement) {\n if (multiDragElement === dragEl$1) return;\n multiDragElement.parentNode && multiDragElement.parentNode.removeChild(multiDragElement);\n });\n}\n\nSortable.mount(new AutoScrollPlugin());\nSortable.mount(Remove, Revert);\nexport default Sortable;\nexport { MultiDragPlugin as MultiDrag, Sortable, SwapPlugin as Swap };","/*\n * Consistent and stable sort function across JavaScript platforms\n *\n * Inconsistent sorts can cause SSR problems between client and server\n * such as in if sortBy is applied to the data on server side render.\n * Chrome and V8 native sorts are inconsistent/unstable\n *\n * This function uses native sort with fallback to index compare when the a and b\n * compare returns 0\n *\n * Algorithm based on:\n * https://stackoverflow.com/questions/1427608/fast-stable-sorting-algorithm-implementation-in-javascript/45422645#45422645\n *\n * @param {array} array to sort\n * @param {function} sort compare function\n * @return {array}\n */\nexport var stableSort = function stableSort(array, compareFn) {\n // Using `.bind(compareFn)` on the wrapped anonymous function improves\n // performance by avoiding the function call setup. We don't use an arrow\n // function here as it binds `this` to the `stableSort` context rather than\n // the `compareFn` context, which wouldn't give us the performance increase.\n return array.map(function (a, index) {\n return [index, a];\n }).sort(function (a, b) {\n return this(a[1], b[1]) || a[0] - b[0];\n }.bind(compareFn)).map(function (e) {\n return e[1];\n });\n};","function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, \"prototype\", { writable: false }); return Constructor; }\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n!function (t, e) {\n \"object\" == (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) && \"object\" == (typeof module === \"undefined\" ? \"undefined\" : _typeof(module)) ? module.exports = e() : \"function\" == typeof define && define.amd ? define(\"VueToast\", [], e) : \"object\" == (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) ? exports.VueToast = e() : t.VueToast = e();\n}(this, function () {\n return function () {\n \"use strict\";\n\n var t = {\n d: function d(e, s) {\n for (var o in s) {\n t.o(s, o) && !t.o(e, o) && Object.defineProperty(e, o, {\n enumerable: !0,\n get: s[o]\n });\n }\n },\n o: function o(t, e) {\n return Object.prototype.hasOwnProperty.call(t, e);\n }\n },\n e = {};\n t.d(e, {\n default: function _default() {\n return c;\n }\n });\n\n var s = /*#__PURE__*/function () {\n function s(t, e) {\n _classCallCheck(this, s);\n\n this.startedAt = Date.now(), this.callback = t, this.delay = e, this.timer = setTimeout(t, e);\n }\n\n _createClass(s, [{\n key: \"pause\",\n value: function pause() {\n this.stop(), this.delay -= Date.now() - this.startedAt;\n }\n }, {\n key: \"resume\",\n value: function resume() {\n this.stop(), this.startedAt = Date.now(), this.timer = setTimeout(this.callback, this.delay);\n }\n }, {\n key: \"stop\",\n value: function stop() {\n clearTimeout(this.timer);\n }\n }]);\n\n return s;\n }();\n\n var o = Object.freeze({\n TOP_RIGHT: \"top-right\",\n TOP: \"top\",\n TOP_LEFT: \"top-left\",\n BOTTOM_RIGHT: \"bottom-right\",\n BOTTOM: \"bottom\",\n BOTTOM_LEFT: \"bottom-left\"\n });\n var i = {\n all: n = n || new Map(),\n on: function on(t, e) {\n var s = n.get(t);\n s && s.push(e) || n.set(t, [e]);\n },\n off: function off(t, e) {\n var s = n.get(t);\n s && s.splice(s.indexOf(e) >>> 0, 1);\n },\n emit: function emit(t, e) {\n (n.get(t) || []).slice().map(function (t) {\n t(e);\n }), (n.get(\"*\") || []).slice().map(function (s) {\n s(t, e);\n });\n }\n };\n var n;\n\n var a = function (t, e, s, o, i, n, a, r) {\n var c,\n u = \"function\" == typeof t ? t.options : t;\n if (e && (u.render = e, u.staticRenderFns = s, u._compiled = !0), o && (u.functional = !0), n && (u._scopeId = \"data-v-\" + n), a ? (c = function c(t) {\n (t = t || this.$vnode && this.$vnode.ssrContext || this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) || \"undefined\" == typeof __VUE_SSR_CONTEXT__ || (t = __VUE_SSR_CONTEXT__), i && i.call(this, t), t && t._registeredComponents && t._registeredComponents.add(a);\n }, u._ssrRegister = c) : i && (c = r ? function () {\n i.call(this, (u.functional ? this.parent : this).$root.$options.shadowRoot);\n } : i), c) if (u.functional) {\n u._injectStyles = c;\n var l = u.render;\n\n u.render = function (t, e) {\n return c.call(e), l(t, e);\n };\n } else {\n var p = u.beforeCreate;\n u.beforeCreate = p ? [].concat(p, c) : [c];\n }\n return {\n exports: t,\n options: u\n };\n }({\n name: \"toast\",\n props: {\n message: {\n type: String,\n required: !0\n },\n type: {\n type: String,\n default: \"success\"\n },\n position: {\n type: String,\n default: o.BOTTOM_RIGHT,\n validator: function validator(t) {\n return Object.values(o).includes(t);\n }\n },\n duration: {\n type: Number,\n default: 3e3\n },\n dismissible: {\n type: Boolean,\n default: !0\n },\n onDismiss: {\n type: Function,\n default: function _default() {}\n },\n onClick: {\n type: Function,\n default: function _default() {}\n },\n queue: Boolean,\n pauseOnHover: {\n type: Boolean,\n default: !0\n }\n },\n data: function data() {\n return {\n isActive: !1,\n parentTop: null,\n parentBottom: null,\n isHovered: !1\n };\n },\n beforeMount: function beforeMount() {\n this.setupContainer();\n },\n mounted: function mounted() {\n this.showNotice(), i.on(\"toast-clear\", this.dismiss);\n },\n methods: {\n setupContainer: function setupContainer() {\n if (this.parentTop = document.querySelector(\".v-toast.v-toast--top\"), this.parentBottom = document.querySelector(\".v-toast.v-toast--bottom\"), this.parentTop && this.parentBottom) return;\n this.parentTop || (this.parentTop = document.createElement(\"div\"), this.parentTop.className = \"v-toast v-toast--top\"), this.parentBottom || (this.parentBottom = document.createElement(\"div\"), this.parentBottom.className = \"v-toast v-toast--bottom\");\n var t = document.body;\n t.appendChild(this.parentTop), t.appendChild(this.parentBottom);\n },\n shouldQueue: function shouldQueue() {\n return !!this.queue && (this.parentTop.childElementCount > 0 || this.parentBottom.childElementCount > 0);\n },\n dismiss: function dismiss() {\n var _arguments = arguments,\n _this = this;\n\n this.timer && this.timer.stop(), clearTimeout(this.queueTimer), this.isActive = !1, setTimeout(function () {\n var t;\n _this.onDismiss.apply(null, _arguments), _this.$destroy(), void 0 !== (t = _this.$el).remove ? t.remove() : t.parentNode.removeChild(t);\n }, 150);\n },\n showNotice: function showNotice() {\n this.shouldQueue() ? this.queueTimer = setTimeout(this.showNotice, 250) : (this.correctParent.insertAdjacentElement(\"afterbegin\", this.$el), this.isActive = !0, this.duration && (this.timer = new s(this.dismiss, this.duration)));\n },\n whenClicked: function whenClicked() {\n this.dismissible && (this.onClick.apply(null, arguments), this.dismiss());\n },\n toggleTimer: function toggleTimer(t) {\n this.pauseOnHover && this.timer && (t ? this.timer.pause() : this.timer.resume());\n }\n },\n computed: {\n correctParent: function correctParent() {\n switch (this.position) {\n case o.TOP:\n case o.TOP_RIGHT:\n case o.TOP_LEFT:\n return this.parentTop;\n\n case o.BOTTOM:\n case o.BOTTOM_RIGHT:\n case o.BOTTOM_LEFT:\n return this.parentBottom;\n }\n },\n transition: function transition() {\n switch (this.position) {\n case o.TOP:\n case o.TOP_RIGHT:\n case o.TOP_LEFT:\n return {\n enter: \"v-toast--fade-in-down\",\n leave: \"v-toast--fade-out\"\n };\n\n case o.BOTTOM:\n case o.BOTTOM_RIGHT:\n case o.BOTTOM_LEFT:\n return {\n enter: \"v-toast--fade-in-up\",\n leave: \"v-toast--fade-out\"\n };\n }\n }\n },\n beforeDestroy: function beforeDestroy() {\n i.off(\"toast-clear\", this.dismiss);\n }\n }, function () {\n var t = this,\n e = t.$createElement,\n s = t._self._c || e;\n return s(\"transition\", {\n attrs: {\n \"enter-active-class\": t.transition.enter,\n \"leave-active-class\": t.transition.leave\n }\n }, [s(\"div\", {\n directives: [{\n name: \"show\",\n rawName: \"v-show\",\n value: t.isActive,\n expression: \"isActive\"\n }],\n staticClass: \"v-toast__item\",\n class: [\"v-toast__item--\" + t.type, \"v-toast__item--\" + t.position],\n attrs: {\n role: \"alert\"\n },\n on: {\n mouseover: function mouseover(e) {\n return t.toggleTimer(!0);\n },\n mouseleave: function mouseleave(e) {\n return t.toggleTimer(!1);\n },\n click: t.whenClicked\n }\n }, [s(\"div\", {\n staticClass: \"v-toast__icon\"\n }), t._v(\" \"), s(\"p\", {\n staticClass: \"v-toast__text\",\n domProps: {\n innerHTML: t._s(t.message)\n }\n })])]);\n }, [], !1, null, null, null).exports,\n r = function r(t) {\n var e = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return {\n open: function open(s) {\n var o;\n \"string\" == typeof s && (o = s);\n var i = {\n message: o\n },\n n = Object.assign({}, i, e, s);\n return new (t.extend(a))({\n el: document.createElement(\"div\"),\n propsData: n\n });\n },\n clear: function clear() {\n i.emit(\"toast-clear\");\n },\n success: function success(t) {\n var e = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return this.open(Object.assign({}, {\n message: t,\n type: \"success\"\n }, e));\n },\n error: function error(t) {\n var e = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return this.open(Object.assign({}, {\n message: t,\n type: \"error\"\n }, e));\n },\n info: function info(t) {\n var e = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return this.open(Object.assign({}, {\n message: t,\n type: \"info\"\n }, e));\n },\n warning: function warning(t) {\n var e = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return this.open(Object.assign({}, {\n message: t,\n type: \"warning\"\n }, e));\n },\n default: function _default(t) {\n var e = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n return this.open(Object.assign({}, {\n message: t,\n type: \"default\"\n }, e));\n }\n };\n };\n\n a.install = function (t) {\n var e = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var s = r(t, e);\n t.$toast = s, t.prototype.$toast = s;\n };\n\n var c = a;\n return e = e.default;\n }();\n});","function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\n\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\nfunction _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== \"undefined\" && arr[Symbol.iterator] || arr[\"@@iterator\"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"] != null) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; }\n\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\n\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && \"function\" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }, _typeof(obj); }\n\n!function (e, t) {\n \"object\" == (typeof exports === \"undefined\" ? \"undefined\" : _typeof(exports)) && \"undefined\" != typeof module ? module.exports = t() : \"function\" == typeof define && define.amd ? define(t) : (e = e || self).vue2Dropzone = t();\n}(this, function () {\n \"use strict\";\n\n var e,\n t = (function (e) {\n var t = function () {\n function e(e, t) {\n for (var i = 0; i < t.length; i++) {\n var n = t[i];\n n.enumerable = n.enumerable || !1, n.configurable = !0, \"value\" in n && (n.writable = !0), Object.defineProperty(e, n.key, n);\n }\n }\n\n return function (t, i, n) {\n return i && e(t.prototype, i), n && e(t, n), t;\n };\n }();\n\n function i(e, t) {\n if (!e) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return !t || \"object\" != _typeof(t) && \"function\" != typeof t ? e : t;\n }\n\n function n(e, t) {\n if (!(e instanceof t)) throw new TypeError(\"Cannot call a class as a function\");\n }\n\n var r = function () {\n function e() {\n n(this, e);\n }\n\n return t(e, [{\n key: \"on\",\n value: function value(e, t) {\n return this._callbacks = this._callbacks || {}, this._callbacks[e] || (this._callbacks[e] = []), this._callbacks[e].push(t), this;\n }\n }, {\n key: \"emit\",\n value: function value(e) {\n this._callbacks = this._callbacks || {};\n var t = this._callbacks[e];\n\n if (t) {\n for (var i = arguments.length, n = Array(i > 1 ? i - 1 : 0), r = 1; r < i; r++) {\n n[r - 1] = arguments[r];\n }\n\n for (var o = 0, s = s = t;;) {\n if (o >= s.length) break;\n s[o++].apply(this, n);\n }\n }\n\n return this;\n }\n }, {\n key: \"off\",\n value: function value(e, t) {\n if (!this._callbacks || 0 === arguments.length) return this._callbacks = {}, this;\n var i = this._callbacks[e];\n if (!i) return this;\n if (1 === arguments.length) return delete this._callbacks[e], this;\n\n for (var n = 0; n < i.length; n++) {\n if (i[n] === t) {\n i.splice(n, 1);\n break;\n }\n }\n\n return this;\n }\n }]), e;\n }(),\n o = function (e) {\n function o(e, t) {\n n(this, o);\n var r,\n s = i(this, (o.__proto__ || Object.getPrototypeOf(o)).call(this)),\n a = void 0;\n if (s.element = e, s.version = o.version, s.defaultOptions.previewTemplate = s.defaultOptions.previewTemplate.replace(/\\n*/g, \"\"), s.clickableElements = [], s.listeners = [], s.files = [], \"string\" == typeof s.element && (s.element = document.querySelector(s.element)), !s.element || null == s.element.nodeType) throw new Error(\"Invalid dropzone element.\");\n if (s.element.dropzone) throw new Error(\"Dropzone already attached.\");\n o.instances.push(s), s.element.dropzone = s;\n var l,\n u = null != (r = o.optionsForElement(s.element)) ? r : {};\n if (s.options = o.extend({}, s.defaultOptions, u, null != t ? t : {}), s.options.forceFallback || !o.isBrowserSupported()) return l = s.options.fallback.call(s), i(s, l);\n if (null == s.options.url && (s.options.url = s.element.getAttribute(\"action\")), !s.options.url) throw new Error(\"No URL provided.\");\n if (s.options.acceptedFiles && s.options.acceptedMimeTypes) throw new Error(\"You can't provide both 'acceptedFiles' and 'acceptedMimeTypes'. 'acceptedMimeTypes' is deprecated.\");\n if (s.options.uploadMultiple && s.options.chunking) throw new Error(\"You cannot set both: uploadMultiple and chunking.\");\n return s.options.acceptedMimeTypes && (s.options.acceptedFiles = s.options.acceptedMimeTypes, delete s.options.acceptedMimeTypes), null != s.options.renameFilename && (s.options.renameFile = function (e) {\n return s.options.renameFilename.call(s, e.name, e);\n }), s.options.method = s.options.method.toUpperCase(), (a = s.getExistingFallback()) && a.parentNode && a.parentNode.removeChild(a), !1 !== s.options.previewsContainer && (s.options.previewsContainer ? s.previewsContainer = o.getElement(s.options.previewsContainer, \"previewsContainer\") : s.previewsContainer = s.element), s.options.clickable && (!0 === s.options.clickable ? s.clickableElements = [s.element] : s.clickableElements = o.getElements(s.options.clickable, \"clickable\")), s.init(), s;\n }\n\n return function (e, t) {\n if (\"function\" != typeof t && null !== t) throw new TypeError(\"Super expression must either be null or a function, not \" + _typeof(t));\n e.prototype = Object.create(t && t.prototype, {\n constructor: {\n value: e,\n enumerable: !1,\n writable: !0,\n configurable: !0\n }\n }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);\n }(o, r), t(o, null, [{\n key: \"initClass\",\n value: function value() {\n this.prototype.Emitter = r, this.prototype.events = [\"drop\", \"dragstart\", \"dragend\", \"dragenter\", \"dragover\", \"dragleave\", \"addedfile\", \"addedfiles\", \"removedfile\", \"thumbnail\", \"error\", \"errormultiple\", \"processing\", \"processingmultiple\", \"uploadprogress\", \"totaluploadprogress\", \"sending\", \"sendingmultiple\", \"success\", \"successmultiple\", \"canceled\", \"canceledmultiple\", \"complete\", \"completemultiple\", \"reset\", \"maxfilesexceeded\", \"maxfilesreached\", \"queuecomplete\"], this.prototype.defaultOptions = {\n url: null,\n method: \"post\",\n withCredentials: !1,\n timeout: 3e4,\n parallelUploads: 2,\n uploadMultiple: !1,\n chunking: !1,\n forceChunking: !1,\n chunkSize: 2e6,\n parallelChunkUploads: !1,\n retryChunks: !1,\n retryChunksLimit: 3,\n maxFilesize: 256,\n paramName: \"file\",\n createImageThumbnails: !0,\n maxThumbnailFilesize: 10,\n thumbnailWidth: 120,\n thumbnailHeight: 120,\n thumbnailMethod: \"crop\",\n resizeWidth: null,\n resizeHeight: null,\n resizeMimeType: null,\n resizeQuality: .8,\n resizeMethod: \"contain\",\n filesizeBase: 1e3,\n maxFiles: null,\n headers: null,\n clickable: !0,\n ignoreHiddenFiles: !0,\n acceptedFiles: null,\n acceptedMimeTypes: null,\n autoProcessQueue: !0,\n autoQueue: !0,\n addRemoveLinks: !1,\n previewsContainer: null,\n hiddenInputContainer: \"body\",\n capture: null,\n renameFilename: null,\n renameFile: null,\n forceFallback: !1,\n dictDefaultMessage: \"Drop files here to upload\",\n dictFallbackMessage: \"Your browser does not support drag'n'drop file uploads.\",\n dictFallbackText: \"Please use the fallback form below to upload your files like in the olden days.\",\n dictFileTooBig: \"File is too big ({{filesize}}MiB). Max filesize: {{maxFilesize}}MiB.\",\n dictInvalidFileType: \"You can't upload files of this type.\",\n dictResponseError: \"Server responded with {{statusCode}} code.\",\n dictCancelUpload: \"Cancel upload\",\n dictUploadCanceled: \"Upload canceled.\",\n dictCancelUploadConfirmation: \"Are you sure you want to cancel this upload?\",\n dictRemoveFile: \"Remove file\",\n dictRemoveFileConfirmation: null,\n dictMaxFilesExceeded: \"You can not upload any more files.\",\n dictFileSizeUnits: {\n tb: \"TB\",\n gb: \"GB\",\n mb: \"MB\",\n kb: \"KB\",\n b: \"b\"\n },\n init: function init() {},\n params: function params(e, t, i) {\n if (i) return {\n dzuuid: i.file.upload.uuid,\n dzchunkindex: i.index,\n dztotalfilesize: i.file.size,\n dzchunksize: this.options.chunkSize,\n dztotalchunkcount: i.file.upload.totalChunkCount,\n dzchunkbyteoffset: i.index * this.options.chunkSize\n };\n },\n accept: function accept(e, t) {\n return t();\n },\n chunksUploaded: function chunksUploaded(e, t) {\n t();\n },\n fallback: function fallback() {\n var e = void 0;\n this.element.className = this.element.className + \" dz-browser-not-supported\";\n\n for (var t = 0, i = i = this.element.getElementsByTagName(\"div\");;) {\n if (t >= i.length) break;\n var n = i[t++];\n\n if (/(^| )dz-message($| )/.test(n.className)) {\n e = n, n.className = \"dz-message\";\n break;\n }\n }\n\n e || (e = o.createElement('
'), this.element.appendChild(e));\n var r = e.getElementsByTagName(\"span\")[0];\n return r && (null != r.textContent ? r.textContent = this.options.dictFallbackMessage : null != r.innerText && (r.innerText = this.options.dictFallbackMessage)), this.element.appendChild(this.getFallbackForm());\n },\n resize: function resize(e, t, i, n) {\n var r = {\n srcX: 0,\n srcY: 0,\n srcWidth: e.width,\n srcHeight: e.height\n },\n o = e.width / e.height;\n null == t && null == i ? (t = r.srcWidth, i = r.srcHeight) : null == t ? t = i * o : null == i && (i = t / o);\n var s = (t = Math.min(t, r.srcWidth)) / (i = Math.min(i, r.srcHeight));\n if (r.srcWidth > t || r.srcHeight > i) if (\"crop\" === n) o > s ? (r.srcHeight = e.height, r.srcWidth = r.srcHeight * s) : (r.srcWidth = e.width, r.srcHeight = r.srcWidth / s);else {\n if (\"contain\" !== n) throw new Error(\"Unknown resizeMethod '\" + n + \"'\");\n o > s ? i = t / o : t = i * o;\n }\n return r.srcX = (e.width - r.srcWidth) / 2, r.srcY = (e.height - r.srcHeight) / 2, r.trgWidth = t, r.trgHeight = i, r;\n },\n transformFile: function transformFile(e, t) {\n return (this.options.resizeWidth || this.options.resizeHeight) && e.type.match(/image.*/) ? this.resizeImage(e, this.options.resizeWidth, this.options.resizeHeight, this.options.resizeMethod, t) : t(e);\n },\n previewTemplate: '
\\n
\\n
\\n
\\n
\\n
\\n
\\n
\\n
\\n \\n Check\\n \\n \\n \\n \\n \\n
\\n
\\n \\n Error\\n \\n \\n \\n \\n \\n \\n \\n
\\n
',\n drop: function drop(e) {\n return this.element.classList.remove(\"dz-drag-hover\");\n },\n dragstart: function dragstart(e) {},\n dragend: function dragend(e) {\n return this.element.classList.remove(\"dz-drag-hover\");\n },\n dragenter: function dragenter(e) {\n return this.element.classList.add(\"dz-drag-hover\");\n },\n dragover: function dragover(e) {\n return this.element.classList.add(\"dz-drag-hover\");\n },\n dragleave: function dragleave(e) {\n return this.element.classList.remove(\"dz-drag-hover\");\n },\n paste: function paste(e) {},\n reset: function reset() {\n return this.element.classList.remove(\"dz-started\");\n },\n addedfile: function addedfile(e) {\n var t = this;\n\n if (this.element === this.previewsContainer && this.element.classList.add(\"dz-started\"), this.previewsContainer) {\n e.previewElement = o.createElement(this.options.previewTemplate.trim()), e.previewTemplate = e.previewElement, this.previewsContainer.appendChild(e.previewElement);\n\n for (var i = 0, n = n = e.previewElement.querySelectorAll(\"[data-dz-name]\");;) {\n if (i >= n.length) break;\n var r = n[i++];\n r.textContent = e.name;\n }\n\n for (var s = 0, a = a = e.previewElement.querySelectorAll(\"[data-dz-size]\"); !(s >= a.length);) {\n (r = a[s++]).innerHTML = this.filesize(e.size);\n }\n\n this.options.addRemoveLinks && (e._removeLink = o.createElement('' + this.options.dictRemoveFile + \"\"), e.previewElement.appendChild(e._removeLink));\n\n for (var l = function l(i) {\n return i.preventDefault(), i.stopPropagation(), e.status === o.UPLOADING ? o.confirm(t.options.dictCancelUploadConfirmation, function () {\n return t.removeFile(e);\n }) : t.options.dictRemoveFileConfirmation ? o.confirm(t.options.dictRemoveFileConfirmation, function () {\n return t.removeFile(e);\n }) : t.removeFile(e);\n }, u = 0, d = d = e.previewElement.querySelectorAll(\"[data-dz-remove]\");;) {\n if (u >= d.length) break;\n d[u++].addEventListener(\"click\", l);\n }\n }\n },\n removedfile: function removedfile(e) {\n return null != e.previewElement && null != e.previewElement.parentNode && e.previewElement.parentNode.removeChild(e.previewElement), this._updateMaxFilesReachedClass();\n },\n thumbnail: function thumbnail(e, t) {\n if (e.previewElement) {\n e.previewElement.classList.remove(\"dz-file-preview\");\n\n for (var i = 0, n = n = e.previewElement.querySelectorAll(\"[data-dz-thumbnail]\");;) {\n if (i >= n.length) break;\n var r = n[i++];\n r.alt = e.name, r.src = t;\n }\n\n return setTimeout(function () {\n return e.previewElement.classList.add(\"dz-image-preview\");\n }, 1);\n }\n },\n error: function error(e, t) {\n if (e.previewElement) {\n e.previewElement.classList.add(\"dz-error\"), \"String\" != typeof t && t.error && (t = t.error);\n\n for (var i = 0, n = n = e.previewElement.querySelectorAll(\"[data-dz-errormessage]\");;) {\n if (i >= n.length) break;\n n[i++].textContent = t;\n }\n }\n },\n errormultiple: function errormultiple() {},\n processing: function processing(e) {\n if (e.previewElement && (e.previewElement.classList.add(\"dz-processing\"), e._removeLink)) return e._removeLink.innerHTML = this.options.dictCancelUpload;\n },\n processingmultiple: function processingmultiple() {},\n uploadprogress: function uploadprogress(e, t, i) {\n if (e.previewElement) for (var n = 0, r = r = e.previewElement.querySelectorAll(\"[data-dz-uploadprogress]\");;) {\n if (n >= r.length) break;\n var o = r[n++];\n \"PROGRESS\" === o.nodeName ? o.value = t : o.style.width = t + \"%\";\n }\n },\n totaluploadprogress: function totaluploadprogress() {},\n sending: function sending() {},\n sendingmultiple: function sendingmultiple() {},\n success: function success(e) {\n if (e.previewElement) return e.previewElement.classList.add(\"dz-success\");\n },\n successmultiple: function successmultiple() {},\n canceled: function canceled(e) {\n return this.emit(\"error\", e, this.options.dictUploadCanceled);\n },\n canceledmultiple: function canceledmultiple() {},\n complete: function complete(e) {\n if (e._removeLink && (e._removeLink.innerHTML = this.options.dictRemoveFile), e.previewElement) return e.previewElement.classList.add(\"dz-complete\");\n },\n completemultiple: function completemultiple() {},\n maxfilesexceeded: function maxfilesexceeded() {},\n maxfilesreached: function maxfilesreached() {},\n queuecomplete: function queuecomplete() {},\n addedfiles: function addedfiles() {}\n }, this.prototype._thumbnailQueue = [], this.prototype._processingThumbnail = !1;\n }\n }, {\n key: \"extend\",\n value: function value(e) {\n for (var t = arguments.length, i = Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++) {\n i[n - 1] = arguments[n];\n }\n\n for (var r = 0, o = o = i;;) {\n if (r >= o.length) break;\n var s = o[r++];\n\n for (var a in s) {\n var l = s[a];\n e[a] = l;\n }\n }\n\n return e;\n }\n }]), t(o, [{\n key: \"getAcceptedFiles\",\n value: function value() {\n return this.files.filter(function (e) {\n return e.accepted;\n }).map(function (e) {\n return e;\n });\n }\n }, {\n key: \"getRejectedFiles\",\n value: function value() {\n return this.files.filter(function (e) {\n return !e.accepted;\n }).map(function (e) {\n return e;\n });\n }\n }, {\n key: \"getFilesWithStatus\",\n value: function value(e) {\n return this.files.filter(function (t) {\n return t.status === e;\n }).map(function (e) {\n return e;\n });\n }\n }, {\n key: \"getQueuedFiles\",\n value: function value() {\n return this.getFilesWithStatus(o.QUEUED);\n }\n }, {\n key: \"getUploadingFiles\",\n value: function value() {\n return this.getFilesWithStatus(o.UPLOADING);\n }\n }, {\n key: \"getAddedFiles\",\n value: function value() {\n return this.getFilesWithStatus(o.ADDED);\n }\n }, {\n key: \"getActiveFiles\",\n value: function value() {\n return this.files.filter(function (e) {\n return e.status === o.UPLOADING || e.status === o.QUEUED;\n }).map(function (e) {\n return e;\n });\n }\n }, {\n key: \"init\",\n value: function value() {\n var e = this;\n\n if (\"form\" === this.element.tagName && this.element.setAttribute(\"enctype\", \"multipart/form-data\"), this.element.classList.contains(\"dropzone\") && !this.element.querySelector(\".dz-message\") && this.element.appendChild(o.createElement('
' + this.options.dictDefaultMessage + \"
\")), this.clickableElements.length) {\n !function t() {\n return e.hiddenFileInput && e.hiddenFileInput.parentNode.removeChild(e.hiddenFileInput), e.hiddenFileInput = document.createElement(\"input\"), e.hiddenFileInput.setAttribute(\"type\", \"file\"), (null === e.options.maxFiles || e.options.maxFiles > 1) && e.hiddenFileInput.setAttribute(\"multiple\", \"multiple\"), e.hiddenFileInput.className = \"dz-hidden-input\", null !== e.options.acceptedFiles && e.hiddenFileInput.setAttribute(\"accept\", e.options.acceptedFiles), null !== e.options.capture && e.hiddenFileInput.setAttribute(\"capture\", e.options.capture), e.hiddenFileInput.style.visibility = \"hidden\", e.hiddenFileInput.style.position = \"absolute\", e.hiddenFileInput.style.top = \"0\", e.hiddenFileInput.style.left = \"0\", e.hiddenFileInput.style.height = \"0\", e.hiddenFileInput.style.width = \"0\", o.getElement(e.options.hiddenInputContainer, \"hiddenInputContainer\").appendChild(e.hiddenFileInput), e.hiddenFileInput.addEventListener(\"change\", function () {\n var i = e.hiddenFileInput.files;\n if (i.length) for (var n = 0, r = r = i; !(n >= r.length);) {\n var o = r[n++];\n e.addFile(o);\n }\n return e.emit(\"addedfiles\", i), t();\n });\n }();\n }\n\n this.URL = null !== window.URL ? window.URL : window.webkitURL;\n\n for (var t = 0, i = i = this.events;;) {\n if (t >= i.length) break;\n var n = i[t++];\n this.on(n, this.options[n]);\n }\n\n this.on(\"uploadprogress\", function () {\n return e.updateTotalUploadProgress();\n }), this.on(\"removedfile\", function () {\n return e.updateTotalUploadProgress();\n }), this.on(\"canceled\", function (t) {\n return e.emit(\"complete\", t);\n }), this.on(\"complete\", function (t) {\n if (0 === e.getAddedFiles().length && 0 === e.getUploadingFiles().length && 0 === e.getQueuedFiles().length) return setTimeout(function () {\n return e.emit(\"queuecomplete\");\n }, 0);\n });\n\n var r = function r(e) {\n return e.stopPropagation(), e.preventDefault ? e.preventDefault() : e.returnValue = !1;\n };\n\n return this.listeners = [{\n element: this.element,\n events: {\n dragstart: function dragstart(t) {\n return e.emit(\"dragstart\", t);\n },\n dragenter: function dragenter(t) {\n return r(t), e.emit(\"dragenter\", t);\n },\n dragover: function dragover(t) {\n var i = void 0;\n\n try {\n i = t.dataTransfer.effectAllowed;\n } catch (e) {}\n\n return t.dataTransfer.dropEffect = \"move\" === i || \"linkMove\" === i ? \"move\" : \"copy\", r(t), e.emit(\"dragover\", t);\n },\n dragleave: function dragleave(t) {\n return e.emit(\"dragleave\", t);\n },\n drop: function drop(t) {\n return r(t), e.drop(t);\n },\n dragend: function dragend(t) {\n return e.emit(\"dragend\", t);\n }\n }\n }], this.clickableElements.forEach(function (t) {\n return e.listeners.push({\n element: t,\n events: {\n click: function click(i) {\n return (t !== e.element || i.target === e.element || o.elementInside(i.target, e.element.querySelector(\".dz-message\"))) && e.hiddenFileInput.click(), !0;\n }\n }\n });\n }), this.enable(), this.options.init.call(this);\n }\n }, {\n key: \"destroy\",\n value: function value() {\n return this.disable(), this.removeAllFiles(!0), (null != this.hiddenFileInput ? this.hiddenFileInput.parentNode : void 0) && (this.hiddenFileInput.parentNode.removeChild(this.hiddenFileInput), this.hiddenFileInput = null), delete this.element.dropzone, o.instances.splice(o.instances.indexOf(this), 1);\n }\n }, {\n key: \"updateTotalUploadProgress\",\n value: function value() {\n var e = void 0,\n t = 0,\n i = 0;\n\n if (this.getActiveFiles().length) {\n for (var n = 0, r = r = this.getActiveFiles();;) {\n if (n >= r.length) break;\n var o = r[n++];\n t += o.upload.bytesSent, i += o.upload.total;\n }\n\n e = 100 * t / i;\n } else e = 100;\n\n return this.emit(\"totaluploadprogress\", e, i, t);\n }\n }, {\n key: \"_getParamName\",\n value: function value(e) {\n return \"function\" == typeof this.options.paramName ? this.options.paramName(e) : this.options.paramName + (this.options.uploadMultiple ? \"[\" + e + \"]\" : \"\");\n }\n }, {\n key: \"_renameFile\",\n value: function value(e) {\n return \"function\" != typeof this.options.renameFile ? e.name : this.options.renameFile(e);\n }\n }, {\n key: \"getFallbackForm\",\n value: function value() {\n var e,\n t = void 0;\n if (e = this.getExistingFallback()) return e;\n var i = '
';\n this.options.dictFallbackText && (i += \"

\" + this.options.dictFallbackText + \"

\"), i += '
';\n var n = o.createElement(i);\n return \"FORM\" !== this.element.tagName ? (t = o.createElement('
')).appendChild(n) : (this.element.setAttribute(\"enctype\", \"multipart/form-data\"), this.element.setAttribute(\"method\", this.options.method)), null != t ? t : n;\n }\n }, {\n key: \"getExistingFallback\",\n value: function value() {\n for (var e = function e(_e) {\n for (var t = 0, i = i = _e;;) {\n if (t >= i.length) break;\n var n = i[t++];\n if (/(^| )fallback($| )/.test(n.className)) return n;\n }\n }, t = [\"div\", \"form\"], i = 0; i < t.length; i++) {\n var n,\n r = t[i];\n if (n = e(this.element.getElementsByTagName(r))) return n;\n }\n }\n }, {\n key: \"setupEventListeners\",\n value: function value() {\n return this.listeners.map(function (e) {\n return function () {\n var t = [];\n\n for (var i in e.events) {\n var n = e.events[i];\n t.push(e.element.addEventListener(i, n, !1));\n }\n\n return t;\n }();\n });\n }\n }, {\n key: \"removeEventListeners\",\n value: function value() {\n return this.listeners.map(function (e) {\n return function () {\n var t = [];\n\n for (var i in e.events) {\n var n = e.events[i];\n t.push(e.element.removeEventListener(i, n, !1));\n }\n\n return t;\n }();\n });\n }\n }, {\n key: \"disable\",\n value: function value() {\n var e = this;\n return this.clickableElements.forEach(function (e) {\n return e.classList.remove(\"dz-clickable\");\n }), this.removeEventListeners(), this.disabled = !0, this.files.map(function (t) {\n return e.cancelUpload(t);\n });\n }\n }, {\n key: \"enable\",\n value: function value() {\n return delete this.disabled, this.clickableElements.forEach(function (e) {\n return e.classList.add(\"dz-clickable\");\n }), this.setupEventListeners();\n }\n }, {\n key: \"filesize\",\n value: function value(e) {\n var t = 0,\n i = \"b\";\n\n if (e > 0) {\n for (var n = [\"tb\", \"gb\", \"mb\", \"kb\", \"b\"], r = 0; r < n.length; r++) {\n var o = n[r];\n\n if (e >= Math.pow(this.options.filesizeBase, 4 - r) / 10) {\n t = e / Math.pow(this.options.filesizeBase, 4 - r), i = o;\n break;\n }\n }\n\n t = Math.round(10 * t) / 10;\n }\n\n return \"\" + t + \" \" + this.options.dictFileSizeUnits[i];\n }\n }, {\n key: \"_updateMaxFilesReachedClass\",\n value: function value() {\n return null != this.options.maxFiles && this.getAcceptedFiles().length >= this.options.maxFiles ? (this.getAcceptedFiles().length === this.options.maxFiles && this.emit(\"maxfilesreached\", this.files), this.element.classList.add(\"dz-max-files-reached\")) : this.element.classList.remove(\"dz-max-files-reached\");\n }\n }, {\n key: \"drop\",\n value: function value(e) {\n if (e.dataTransfer) {\n this.emit(\"drop\", e);\n\n for (var t = [], i = 0; i < e.dataTransfer.files.length; i++) {\n t[i] = e.dataTransfer.files[i];\n }\n\n if (this.emit(\"addedfiles\", t), t.length) {\n var n = e.dataTransfer.items;\n n && n.length && null != n[0].webkitGetAsEntry ? this._addFilesFromItems(n) : this.handleFiles(t);\n }\n }\n }\n }, {\n key: \"paste\",\n value: function value(e) {\n if (null != (t = null != e ? e.clipboardData : void 0, i = function i(e) {\n return e.items;\n }, null != t ? i(t) : void 0)) {\n var t, i;\n this.emit(\"paste\", e);\n var n = e.clipboardData.items;\n return n.length ? this._addFilesFromItems(n) : void 0;\n }\n }\n }, {\n key: \"handleFiles\",\n value: function value(e) {\n for (var t = 0, i = i = e;;) {\n if (t >= i.length) break;\n var n = i[t++];\n this.addFile(n);\n }\n }\n }, {\n key: \"_addFilesFromItems\",\n value: function value(e) {\n var t = this;\n return function () {\n for (var i = [], n = 0, r = r = e;;) {\n if (n >= r.length) break;\n var o,\n s = r[n++];\n null != s.webkitGetAsEntry && (o = s.webkitGetAsEntry()) ? o.isFile ? i.push(t.addFile(s.getAsFile())) : o.isDirectory ? i.push(t._addFilesFromDirectory(o, o.name)) : i.push(void 0) : null != s.getAsFile && (null == s.kind || \"file\" === s.kind) ? i.push(t.addFile(s.getAsFile())) : i.push(void 0);\n }\n\n return i;\n }();\n }\n }, {\n key: \"_addFilesFromDirectory\",\n value: function value(e, t) {\n var i = this,\n n = e.createReader(),\n r = function r(e) {\n return t = console, i = \"log\", n = function n(t) {\n return t.log(e);\n }, null != t && \"function\" == typeof t[i] ? n(t, i) : void 0;\n var t, i, n;\n };\n\n return function e() {\n return n.readEntries(function (n) {\n if (n.length > 0) {\n for (var r = 0, o = o = n; !(r >= o.length);) {\n var s = o[r++];\n s.isFile ? s.file(function (e) {\n if (!i.options.ignoreHiddenFiles || \".\" !== e.name.substring(0, 1)) return e.fullPath = t + \"/\" + e.name, i.addFile(e);\n }) : s.isDirectory && i._addFilesFromDirectory(s, t + \"/\" + s.name);\n }\n\n e();\n }\n\n return null;\n }, r);\n }();\n }\n }, {\n key: \"accept\",\n value: function value(e, t) {\n return this.options.maxFilesize && e.size > 1024 * this.options.maxFilesize * 1024 ? t(this.options.dictFileTooBig.replace(\"{{filesize}}\", Math.round(e.size / 1024 / 10.24) / 100).replace(\"{{maxFilesize}}\", this.options.maxFilesize)) : o.isValidFile(e, this.options.acceptedFiles) ? null != this.options.maxFiles && this.getAcceptedFiles().length >= this.options.maxFiles ? (t(this.options.dictMaxFilesExceeded.replace(\"{{maxFiles}}\", this.options.maxFiles)), this.emit(\"maxfilesexceeded\", e)) : this.options.accept.call(this, e, t) : t(this.options.dictInvalidFileType);\n }\n }, {\n key: \"addFile\",\n value: function value(e) {\n var t = this;\n return e.upload = {\n uuid: o.uuidv4(),\n progress: 0,\n total: e.size,\n bytesSent: 0,\n filename: this._renameFile(e),\n chunked: this.options.chunking && (this.options.forceChunking || e.size > this.options.chunkSize),\n totalChunkCount: Math.ceil(e.size / this.options.chunkSize)\n }, this.files.push(e), e.status = o.ADDED, this.emit(\"addedfile\", e), this._enqueueThumbnail(e), this.accept(e, function (i) {\n return i ? (e.accepted = !1, t._errorProcessing([e], i)) : (e.accepted = !0, t.options.autoQueue && t.enqueueFile(e)), t._updateMaxFilesReachedClass();\n });\n }\n }, {\n key: \"enqueueFiles\",\n value: function value(e) {\n for (var t = 0, i = i = e;;) {\n if (t >= i.length) break;\n var n = i[t++];\n this.enqueueFile(n);\n }\n\n return null;\n }\n }, {\n key: \"enqueueFile\",\n value: function value(e) {\n var t = this;\n if (e.status !== o.ADDED || !0 !== e.accepted) throw new Error(\"This file can't be queued because it has already been processed or was rejected.\");\n if (e.status = o.QUEUED, this.options.autoProcessQueue) return setTimeout(function () {\n return t.processQueue();\n }, 0);\n }\n }, {\n key: \"_enqueueThumbnail\",\n value: function value(e) {\n var t = this;\n if (this.options.createImageThumbnails && e.type.match(/image.*/) && e.size <= 1024 * this.options.maxThumbnailFilesize * 1024) return this._thumbnailQueue.push(e), setTimeout(function () {\n return t._processThumbnailQueue();\n }, 0);\n }\n }, {\n key: \"_processThumbnailQueue\",\n value: function value() {\n var e = this;\n\n if (!this._processingThumbnail && 0 !== this._thumbnailQueue.length) {\n this._processingThumbnail = !0;\n\n var t = this._thumbnailQueue.shift();\n\n return this.createThumbnail(t, this.options.thumbnailWidth, this.options.thumbnailHeight, this.options.thumbnailMethod, !0, function (i) {\n return e.emit(\"thumbnail\", t, i), e._processingThumbnail = !1, e._processThumbnailQueue();\n });\n }\n }\n }, {\n key: \"removeFile\",\n value: function value(e) {\n if (e.status === o.UPLOADING && this.cancelUpload(e), this.files = s(this.files, e), this.emit(\"removedfile\", e), 0 === this.files.length) return this.emit(\"reset\");\n }\n }, {\n key: \"removeAllFiles\",\n value: function value(e) {\n null == e && (e = !1);\n\n for (var t = 0, i = i = this.files.slice();;) {\n if (t >= i.length) break;\n var n = i[t++];\n (n.status !== o.UPLOADING || e) && this.removeFile(n);\n }\n\n return null;\n }\n }, {\n key: \"resizeImage\",\n value: function value(e, t, i, n, r) {\n var s = this;\n return this.createThumbnail(e, t, i, n, !0, function (t, i) {\n if (null == i) return r(e);\n var n = s.options.resizeMimeType;\n null == n && (n = e.type);\n var a = i.toDataURL(n, s.options.resizeQuality);\n return \"image/jpeg\" !== n && \"image/jpg\" !== n || (a = u.restore(e.dataURL, a)), r(o.dataURItoBlob(a));\n });\n }\n }, {\n key: \"createThumbnail\",\n value: function value(e, t, i, n, r, o) {\n var s = this,\n a = new FileReader();\n return a.onload = function () {\n if (e.dataURL = a.result, \"image/svg+xml\" !== e.type) return s.createThumbnailFromUrl(e, t, i, n, r, o);\n null != o && o(a.result);\n }, a.readAsDataURL(e);\n }\n }, {\n key: \"createThumbnailFromUrl\",\n value: function value(e, t, i, n, r, o, s) {\n var a = this,\n u = document.createElement(\"img\");\n return s && (u.crossOrigin = s), u.onload = function () {\n var s = function s(e) {\n return e(1);\n };\n\n return \"undefined\" != typeof EXIF && null !== EXIF && r && (s = function s(e) {\n return EXIF.getData(u, function () {\n return e(EXIF.getTag(this, \"Orientation\"));\n });\n }), s(function (r) {\n e.width = u.width, e.height = u.height;\n var s = a.options.resize.call(a, e, t, i, n),\n d = document.createElement(\"canvas\"),\n c = d.getContext(\"2d\");\n\n switch (d.width = s.trgWidth, d.height = s.trgHeight, r > 4 && (d.width = s.trgHeight, d.height = s.trgWidth), r) {\n case 2:\n c.translate(d.width, 0), c.scale(-1, 1);\n break;\n\n case 3:\n c.translate(d.width, d.height), c.rotate(Math.PI);\n break;\n\n case 4:\n c.translate(0, d.height), c.scale(1, -1);\n break;\n\n case 5:\n c.rotate(.5 * Math.PI), c.scale(1, -1);\n break;\n\n case 6:\n c.rotate(.5 * Math.PI), c.translate(0, -d.width);\n break;\n\n case 7:\n c.rotate(.5 * Math.PI), c.translate(d.height, -d.width), c.scale(-1, 1);\n break;\n\n case 8:\n c.rotate(-.5 * Math.PI), c.translate(-d.height, 0);\n }\n\n l(c, u, null != s.srcX ? s.srcX : 0, null != s.srcY ? s.srcY : 0, s.srcWidth, s.srcHeight, null != s.trgX ? s.trgX : 0, null != s.trgY ? s.trgY : 0, s.trgWidth, s.trgHeight);\n var p = d.toDataURL(\"image/png\");\n if (null != o) return o(p, d);\n });\n }, null != o && (u.onerror = o), u.src = e.dataURL;\n }\n }, {\n key: \"processQueue\",\n value: function value() {\n var e = this.options.parallelUploads,\n t = this.getUploadingFiles().length,\n i = t;\n\n if (!(t >= e)) {\n var n = this.getQueuedFiles();\n\n if (n.length > 0) {\n if (this.options.uploadMultiple) return this.processFiles(n.slice(0, e - t));\n\n for (; i < e;) {\n if (!n.length) return;\n this.processFile(n.shift()), i++;\n }\n }\n }\n }\n }, {\n key: \"processFile\",\n value: function value(e) {\n return this.processFiles([e]);\n }\n }, {\n key: \"processFiles\",\n value: function value(e) {\n for (var t = 0, i = i = e;;) {\n if (t >= i.length) break;\n var n = i[t++];\n n.processing = !0, n.status = o.UPLOADING, this.emit(\"processing\", n);\n }\n\n return this.options.uploadMultiple && this.emit(\"processingmultiple\", e), this.uploadFiles(e);\n }\n }, {\n key: \"_getFilesWithXhr\",\n value: function value(e) {\n return this.files.filter(function (t) {\n return t.xhr === e;\n }).map(function (e) {\n return e;\n });\n }\n }, {\n key: \"cancelUpload\",\n value: function value(e) {\n if (e.status === o.UPLOADING) {\n for (var t = this._getFilesWithXhr(e.xhr), i = 0, n = n = t;;) {\n if (i >= n.length) break;\n n[i++].status = o.CANCELED;\n }\n\n void 0 !== e.xhr && e.xhr.abort();\n\n for (var r = 0, s = s = t;;) {\n if (r >= s.length) break;\n var a = s[r++];\n this.emit(\"canceled\", a);\n }\n\n this.options.uploadMultiple && this.emit(\"canceledmultiple\", t);\n } else e.status !== o.ADDED && e.status !== o.QUEUED || (e.status = o.CANCELED, this.emit(\"canceled\", e), this.options.uploadMultiple && this.emit(\"canceledmultiple\", [e]));\n\n if (this.options.autoProcessQueue) return this.processQueue();\n }\n }, {\n key: \"resolveOption\",\n value: function value(e) {\n if (\"function\" == typeof e) {\n for (var t = arguments.length, i = Array(t > 1 ? t - 1 : 0), n = 1; n < t; n++) {\n i[n - 1] = arguments[n];\n }\n\n return e.apply(this, i);\n }\n\n return e;\n }\n }, {\n key: \"uploadFile\",\n value: function value(e) {\n return this.uploadFiles([e]);\n }\n }, {\n key: \"uploadFiles\",\n value: function value(e) {\n var t = this;\n\n this._transformFiles(e, function (i) {\n if (e[0].upload.chunked) {\n var n = e[0],\n r = i[0];\n n.upload.chunks = [];\n\n var s = function s() {\n for (var i = 0; void 0 !== n.upload.chunks[i];) {\n i++;\n }\n\n if (!(i >= n.upload.totalChunkCount)) {\n var s = i * t.options.chunkSize,\n a = Math.min(s + t.options.chunkSize, n.size),\n l = {\n name: t._getParamName(0),\n data: r.webkitSlice ? r.webkitSlice(s, a) : r.slice(s, a),\n filename: n.upload.filename,\n chunkIndex: i\n };\n n.upload.chunks[i] = {\n file: n,\n index: i,\n dataBlock: l,\n status: o.UPLOADING,\n progress: 0,\n retries: 0\n }, t._uploadData(e, [l]);\n }\n };\n\n if (n.upload.finishedChunkUpload = function (i) {\n var r = !0;\n i.status = o.SUCCESS, i.dataBlock = null, i.xhr = null;\n\n for (var a = 0; a < n.upload.totalChunkCount; a++) {\n if (void 0 === n.upload.chunks[a]) return s();\n n.upload.chunks[a].status !== o.SUCCESS && (r = !1);\n }\n\n r && t.options.chunksUploaded(n, function () {\n t._finished(e, \"\", null);\n });\n }, t.options.parallelChunkUploads) for (var a = 0; a < n.upload.totalChunkCount; a++) {\n s();\n } else s();\n } else {\n for (var l = [], u = 0; u < e.length; u++) {\n l[u] = {\n name: t._getParamName(u),\n data: i[u],\n filename: e[u].upload.filename\n };\n }\n\n t._uploadData(e, l);\n }\n });\n }\n }, {\n key: \"_getChunk\",\n value: function value(e, t) {\n for (var i = 0; i < e.upload.totalChunkCount; i++) {\n if (void 0 !== e.upload.chunks[i] && e.upload.chunks[i].xhr === t) return e.upload.chunks[i];\n }\n }\n }, {\n key: \"_uploadData\",\n value: function value(e, t) {\n for (var i = this, n = new XMLHttpRequest(), r = 0, s = s = e;;) {\n if (r >= s.length) break;\n s[r++].xhr = n;\n }\n\n e[0].upload.chunked && (e[0].upload.chunks[t[0].chunkIndex].xhr = n);\n var a = this.resolveOption(this.options.method, e),\n l = this.resolveOption(this.options.url, e);\n n.open(a, l, !0), n.timeout = this.resolveOption(this.options.timeout, e), n.withCredentials = !!this.options.withCredentials, n.onload = function (t) {\n i._finishedUploading(e, n, t);\n }, n.onerror = function () {\n i._handleUploadError(e, n);\n }, (null != n.upload ? n.upload : n).onprogress = function (t) {\n return i._updateFilesUploadProgress(e, n, t);\n };\n var u = {\n Accept: \"application/json\",\n \"Cache-Control\": \"no-cache\",\n \"X-Requested-With\": \"XMLHttpRequest\"\n };\n\n for (var d in this.options.headers && o.extend(u, this.options.headers), u) {\n var c = u[d];\n c && n.setRequestHeader(d, c);\n }\n\n var p = new FormData();\n\n if (this.options.params) {\n var h = this.options.params;\n\n for (var f in \"function\" == typeof h && (h = h.call(this, e, n, e[0].upload.chunked ? this._getChunk(e[0], n) : null)), h) {\n var m = h[f];\n p.append(f, m);\n }\n }\n\n for (var v = 0, g = g = e;;) {\n if (v >= g.length) break;\n var k = g[v++];\n this.emit(\"sending\", k, n, p);\n }\n\n this.options.uploadMultiple && this.emit(\"sendingmultiple\", e, n, p), this._addFormElementData(p);\n\n for (var y = 0; y < t.length; y++) {\n var b = t[y];\n p.append(b.name, b.data, b.filename);\n }\n\n this.submitRequest(n, p, e);\n }\n }, {\n key: \"_transformFiles\",\n value: function value(e, t) {\n for (var i = this, n = [], r = 0, o = function o(_o) {\n i.options.transformFile.call(i, e[_o], function (i) {\n n[_o] = i, ++r === e.length && t(n);\n });\n }, s = 0; s < e.length; s++) {\n o(s);\n }\n }\n }, {\n key: \"_addFormElementData\",\n value: function value(e) {\n if (\"FORM\" === this.element.tagName) for (var t = 0, i = i = this.element.querySelectorAll(\"input, textarea, select, button\");;) {\n if (t >= i.length) break;\n var n = i[t++],\n r = n.getAttribute(\"name\"),\n o = n.getAttribute(\"type\");\n if (o && (o = o.toLowerCase()), null != r) if (\"SELECT\" === n.tagName && n.hasAttribute(\"multiple\")) for (var s = 0, a = a = n.options;;) {\n if (s >= a.length) break;\n var l = a[s++];\n l.selected && e.append(r, l.value);\n } else (!o || \"checkbox\" !== o && \"radio\" !== o || n.checked) && e.append(r, n.value);\n }\n }\n }, {\n key: \"_updateFilesUploadProgress\",\n value: function value(e, t, i) {\n var n = void 0;\n\n if (void 0 !== i) {\n if (n = 100 * i.loaded / i.total, e[0].upload.chunked) {\n var r = e[0],\n o = this._getChunk(r, t);\n\n o.progress = n, o.total = i.total, o.bytesSent = i.loaded, r.upload.progress = 0, r.upload.total = 0, r.upload.bytesSent = 0;\n\n for (var s = 0; s < r.upload.totalChunkCount; s++) {\n void 0 !== r.upload.chunks[s] && void 0 !== r.upload.chunks[s].progress && (r.upload.progress += r.upload.chunks[s].progress, r.upload.total += r.upload.chunks[s].total, r.upload.bytesSent += r.upload.chunks[s].bytesSent);\n }\n\n r.upload.progress = r.upload.progress / r.upload.totalChunkCount;\n } else for (var a = 0, l = l = e;;) {\n if (a >= l.length) break;\n var u = l[a++];\n u.upload.progress = n, u.upload.total = i.total, u.upload.bytesSent = i.loaded;\n }\n\n for (var d = 0, c = c = e;;) {\n if (d >= c.length) break;\n var p = c[d++];\n this.emit(\"uploadprogress\", p, p.upload.progress, p.upload.bytesSent);\n }\n } else {\n var h = !0;\n n = 100;\n\n for (var f = 0, m = m = e;;) {\n if (f >= m.length) break;\n var v = m[f++];\n 100 === v.upload.progress && v.upload.bytesSent === v.upload.total || (h = !1), v.upload.progress = n, v.upload.bytesSent = v.upload.total;\n }\n\n if (h) return;\n\n for (var g = 0, k = k = e;;) {\n if (g >= k.length) break;\n var y = k[g++];\n this.emit(\"uploadprogress\", y, n, y.upload.bytesSent);\n }\n }\n }\n }, {\n key: \"_finishedUploading\",\n value: function value(e, t, i) {\n var n = void 0;\n\n if (e[0].status !== o.CANCELED && 4 === t.readyState) {\n if (\"arraybuffer\" !== t.responseType && \"blob\" !== t.responseType && (n = t.responseText, t.getResponseHeader(\"content-type\") && ~t.getResponseHeader(\"content-type\").indexOf(\"application/json\"))) try {\n n = JSON.parse(n);\n } catch (e) {\n i = e, n = \"Invalid JSON response from server.\";\n }\n this._updateFilesUploadProgress(e), 200 <= t.status && t.status < 300 ? e[0].upload.chunked ? e[0].upload.finishedChunkUpload(this._getChunk(e[0], t)) : this._finished(e, n, i) : this._handleUploadError(e, t, n);\n }\n }\n }, {\n key: \"_handleUploadError\",\n value: function value(e, t, i) {\n if (e[0].status !== o.CANCELED) {\n if (e[0].upload.chunked && this.options.retryChunks) {\n var n = this._getChunk(e[0], t);\n\n if (n.retries++ < this.options.retryChunksLimit) return void this._uploadData(e, [n.dataBlock]);\n console.warn(\"Retried this chunk too often. Giving up.\");\n }\n\n for (var r = 0, s = s = e;;) {\n if (r >= s.length) break;\n s[r++], this._errorProcessing(e, i || this.options.dictResponseError.replace(\"{{statusCode}}\", t.status), t);\n }\n }\n }\n }, {\n key: \"submitRequest\",\n value: function value(e, t, i) {\n e.send(t);\n }\n }, {\n key: \"_finished\",\n value: function value(e, t, i) {\n for (var n = 0, r = r = e;;) {\n if (n >= r.length) break;\n var s = r[n++];\n s.status = o.SUCCESS, this.emit(\"success\", s, t, i), this.emit(\"complete\", s);\n }\n\n if (this.options.uploadMultiple && (this.emit(\"successmultiple\", e, t, i), this.emit(\"completemultiple\", e)), this.options.autoProcessQueue) return this.processQueue();\n }\n }, {\n key: \"_errorProcessing\",\n value: function value(e, t, i) {\n for (var n = 0, r = r = e;;) {\n if (n >= r.length) break;\n var s = r[n++];\n s.status = o.ERROR, this.emit(\"error\", s, t, i), this.emit(\"complete\", s);\n }\n\n if (this.options.uploadMultiple && (this.emit(\"errormultiple\", e, t, i), this.emit(\"completemultiple\", e)), this.options.autoProcessQueue) return this.processQueue();\n }\n }], [{\n key: \"uuidv4\",\n value: function value() {\n return \"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx\".replace(/[xy]/g, function (e) {\n var t = 16 * Math.random() | 0;\n return (\"x\" === e ? t : 3 & t | 8).toString(16);\n });\n }\n }]), o;\n }();\n\n o.initClass(), o.version = \"5.5.1\", o.options = {}, o.optionsForElement = function (e) {\n return e.getAttribute(\"id\") ? o.options[a(e.getAttribute(\"id\"))] : void 0;\n }, o.instances = [], o.forElement = function (e) {\n if (\"string\" == typeof e && (e = document.querySelector(e)), null == (null != e ? e.dropzone : void 0)) throw new Error(\"No Dropzone found for given element. This is probably because you're trying to access it before Dropzone had the time to initialize. Use the `init` option to setup any additional observers on your Dropzone.\");\n return e.dropzone;\n }, o.autoDiscover = !0, o.discover = function () {\n var e = void 0;\n if (document.querySelectorAll) e = document.querySelectorAll(\".dropzone\");else {\n e = [];\n\n var t = function t(_t) {\n return function () {\n for (var i = [], n = 0, r = r = _t;;) {\n if (n >= r.length) break;\n var o = r[n++];\n /(^| )dropzone($| )/.test(o.className) ? i.push(e.push(o)) : i.push(void 0);\n }\n\n return i;\n }();\n };\n\n t(document.getElementsByTagName(\"div\")), t(document.getElementsByTagName(\"form\"));\n }\n return function () {\n for (var t = [], i = 0, n = n = e;;) {\n if (i >= n.length) break;\n var r = n[i++];\n !1 !== o.optionsForElement(r) ? t.push(new o(r)) : t.push(void 0);\n }\n\n return t;\n }();\n }, o.blacklistedBrowsers = [/opera.*(Macintosh|Windows Phone).*version\\/12/i], o.isBrowserSupported = function () {\n var e = !0;\n if (window.File && window.FileReader && window.FileList && window.Blob && window.FormData && document.querySelector) {\n if (\"classList\" in document.createElement(\"a\")) for (var t = 0, i = i = o.blacklistedBrowsers;;) {\n if (t >= i.length) break;\n i[t++].test(navigator.userAgent) && (e = !1);\n } else e = !1;\n } else e = !1;\n return e;\n }, o.dataURItoBlob = function (e) {\n for (var t = atob(e.split(\",\")[1]), i = e.split(\",\")[0].split(\":\")[1].split(\";\")[0], n = new ArrayBuffer(t.length), r = new Uint8Array(n), o = 0, s = t.length, a = 0 <= s; a ? o <= s : o >= s; a ? o++ : o--) {\n r[o] = t.charCodeAt(o);\n }\n\n return new Blob([n], {\n type: i\n });\n };\n\n var s = function s(e, t) {\n return e.filter(function (e) {\n return e !== t;\n }).map(function (e) {\n return e;\n });\n },\n a = function a(e) {\n return e.replace(/[\\-_](\\w)/g, function (e) {\n return e.charAt(1).toUpperCase();\n });\n };\n\n o.createElement = function (e) {\n var t = document.createElement(\"div\");\n return t.innerHTML = e, t.childNodes[0];\n }, o.elementInside = function (e, t) {\n if (e === t) return !0;\n\n for (; e = e.parentNode;) {\n if (e === t) return !0;\n }\n\n return !1;\n }, o.getElement = function (e, t) {\n var i = void 0;\n if (\"string\" == typeof e ? i = document.querySelector(e) : null != e.nodeType && (i = e), null == i) throw new Error(\"Invalid `\" + t + \"` option provided. Please provide a CSS selector or a plain HTML element.\");\n return i;\n }, o.getElements = function (e, t) {\n var i = void 0,\n n = void 0;\n\n if (e instanceof Array) {\n n = [];\n\n try {\n for (var r = 0, o = o = e; !(r >= o.length);) {\n i = o[r++], n.push(this.getElement(i, t));\n }\n } catch (e) {\n n = null;\n }\n } else if (\"string\" == typeof e) {\n n = [];\n\n for (var s = 0, a = a = document.querySelectorAll(e); !(s >= a.length);) {\n i = a[s++], n.push(i);\n }\n } else null != e.nodeType && (n = [e]);\n\n if (null == n || !n.length) throw new Error(\"Invalid `\" + t + \"` option provided. Please provide a CSS selector, a plain HTML element or a list of those.\");\n return n;\n }, o.confirm = function (e, t, i) {\n return window.confirm(e) ? t() : null != i ? i() : void 0;\n }, o.isValidFile = function (e, t) {\n if (!t) return !0;\n t = t.split(\",\");\n\n for (var i = e.type, n = i.replace(/\\/.*$/, \"\"), r = 0, o = o = t;;) {\n if (r >= o.length) break;\n var s = o[r++];\n\n if (\".\" === (s = s.trim()).charAt(0)) {\n if (-1 !== e.name.toLowerCase().indexOf(s.toLowerCase(), e.name.length - s.length)) return !0;\n } else if (/\\/\\*$/.test(s)) {\n if (n === s.replace(/\\/.*$/, \"\")) return !0;\n } else if (i === s) return !0;\n }\n\n return !1;\n }, \"undefined\" != typeof jQuery && null !== jQuery && (jQuery.fn.dropzone = function (e) {\n return this.each(function () {\n return new o(this, e);\n });\n }), null !== e ? e.exports = o : window.Dropzone = o, o.ADDED = \"added\", o.QUEUED = \"queued\", o.ACCEPTED = o.QUEUED, o.UPLOADING = \"uploading\", o.PROCESSING = o.UPLOADING, o.CANCELED = \"canceled\", o.ERROR = \"error\", o.SUCCESS = \"success\";\n\n var l = function l(e, t, i, n, r, o, s, a, _l, u) {\n var d = function (e) {\n e.naturalWidth;\n var t = e.naturalHeight,\n i = document.createElement(\"canvas\");\n i.width = 1, i.height = t;\n var n = i.getContext(\"2d\");\n n.drawImage(e, 0, 0);\n\n for (var r = n.getImageData(1, 0, 1, t).data, o = 0, s = t, a = t; a > o;) {\n 0 === r[4 * (a - 1) + 3] ? s = a : o = a, a = s + o >> 1;\n }\n\n var l = a / t;\n return 0 === l ? 1 : l;\n }(t);\n\n return e.drawImage(t, i, n, r, o, s, a, _l, u / d);\n },\n u = function () {\n function e() {\n n(this, e);\n }\n\n return t(e, null, [{\n key: \"initClass\",\n value: function value() {\n this.KEY_STR = \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\";\n }\n }, {\n key: \"encode64\",\n value: function value(e) {\n for (var t = \"\", i = void 0, n = void 0, r = \"\", o = void 0, s = void 0, a = void 0, l = \"\", u = 0; o = (i = e[u++]) >> 2, s = (3 & i) << 4 | (n = e[u++]) >> 4, a = (15 & n) << 2 | (r = e[u++]) >> 6, l = 63 & r, isNaN(n) ? a = l = 64 : isNaN(r) && (l = 64), t = t + this.KEY_STR.charAt(o) + this.KEY_STR.charAt(s) + this.KEY_STR.charAt(a) + this.KEY_STR.charAt(l), i = n = r = \"\", o = s = a = l = \"\", u < e.length;) {\n ;\n }\n\n return t;\n }\n }, {\n key: \"restore\",\n value: function value(e, t) {\n if (!e.match(\"data:image/jpeg;base64,\")) return t;\n var i = this.decode64(e.replace(\"data:image/jpeg;base64,\", \"\")),\n n = this.slice2Segments(i),\n r = this.exifManipulation(t, n);\n return \"data:image/jpeg;base64,\" + this.encode64(r);\n }\n }, {\n key: \"exifManipulation\",\n value: function value(e, t) {\n var i = this.getExifArray(t),\n n = this.insertExif(e, i);\n return new Uint8Array(n);\n }\n }, {\n key: \"getExifArray\",\n value: function value(e) {\n for (var t = void 0, i = 0; i < e.length;) {\n if (255 === (t = e[i])[0] & 225 === t[1]) return t;\n i++;\n }\n\n return [];\n }\n }, {\n key: \"insertExif\",\n value: function value(e, t) {\n var i = e.replace(\"data:image/jpeg;base64,\", \"\"),\n n = this.decode64(i),\n r = n.indexOf(255, 3),\n o = n.slice(0, r),\n s = n.slice(r),\n a = o;\n return a = (a = a.concat(t)).concat(s);\n }\n }, {\n key: \"slice2Segments\",\n value: function value(e) {\n for (var t = 0, i = [];;) {\n if (255 === e[t] & 218 === e[t + 1]) break;\n if (255 === e[t] & 216 === e[t + 1]) t += 2;else {\n var n = t + (256 * e[t + 2] + e[t + 3]) + 2,\n r = e.slice(t, n);\n i.push(r), t = n;\n }\n if (t > e.length) break;\n }\n\n return i;\n }\n }, {\n key: \"decode64\",\n value: function value(e) {\n var t = void 0,\n i = void 0,\n n = \"\",\n r = void 0,\n o = void 0,\n s = \"\",\n a = 0,\n l = [];\n\n for (/[^A-Za-z0-9\\+\\/\\=]/g.exec(e) && console.warn(\"There were invalid base64 characters in the input text.\\nValid base64 characters are A-Z, a-z, 0-9, '+', '/',and '='\\nExpect errors in decoding.\"), e = e.replace(/[^A-Za-z0-9\\+\\/\\=]/g, \"\"); t = this.KEY_STR.indexOf(e.charAt(a++)) << 2 | (r = this.KEY_STR.indexOf(e.charAt(a++))) >> 4, i = (15 & r) << 4 | (o = this.KEY_STR.indexOf(e.charAt(a++))) >> 2, n = (3 & o) << 6 | (s = this.KEY_STR.indexOf(e.charAt(a++))), l.push(t), 64 !== o && l.push(i), 64 !== s && l.push(n), t = i = n = \"\", r = o = s = \"\", a < e.length;) {\n ;\n }\n\n return l;\n }\n }]), e;\n }();\n\n u.initClass(), o._autoDiscoverFunction = function () {\n if (o.autoDiscover) return o.discover();\n }, function (e, t) {\n var i = !1,\n n = !0,\n r = e.document,\n o = r.documentElement,\n s = r.addEventListener ? \"addEventListener\" : \"attachEvent\",\n a = r.addEventListener ? \"removeEventListener\" : \"detachEvent\",\n l = r.addEventListener ? \"\" : \"on\",\n u = function n(o) {\n if (\"readystatechange\" !== o.type || \"complete\" === r.readyState) return (\"load\" === o.type ? e : r)[a](l + o.type, n, !1), !i && (i = !0) ? t.call(e, o.type || o) : void 0;\n };\n\n if (\"complete\" !== r.readyState) {\n if (r.createEventObject && o.doScroll) {\n try {\n n = !e.frameElement;\n } catch (e) {}\n\n n && function e() {\n try {\n o.doScroll(\"left\");\n } catch (t) {\n return void setTimeout(e, 50);\n }\n\n return u(\"poll\");\n }();\n }\n\n r[s](l + \"DOMContentLoaded\", u, !1), r[s](l + \"readystatechange\", u, !1), e[s](l + \"load\", u, !1);\n }\n }(window, o._autoDiscoverFunction);\n }(e = {\n exports: {}\n }, e.exports), e.exports),\n i = {\n getSignedURL: function getSignedURL(e, t) {\n var i = {\n filePath: e.name,\n contentType: e.type\n };\n return new Promise(function (n, r) {\n var o = new FormData();\n var s = new XMLHttpRequest(),\n a = \"function\" == typeof t.signingURL ? t.signingURL(e) : t.signingURL;\n s.open(\"POST\", a), s.onload = function () {\n 200 == s.status ? n(JSON.parse(s.response)) : r(s.statusText);\n }, s.onerror = function (e) {\n console.error(\"Network Error : Could not send request to AWS (Maybe CORS errors)\"), r(e);\n }, !0 === t.withCredentials && (s.withCredentials = !0), Object.entries(t.headers || {}).forEach(function (_ref) {\n var _ref2 = _slicedToArray(_ref, 2),\n e = _ref2[0],\n t = _ref2[1];\n\n s.setRequestHeader(e, t);\n }), i = Object.assign(i, t.params || {}), Object.entries(i).forEach(function (_ref3) {\n var _ref4 = _slicedToArray(_ref3, 2),\n e = _ref4[0],\n t = _ref4[1];\n\n o.append(e, t);\n }), s.send(o);\n });\n },\n sendFile: function sendFile(e, t, i) {\n var n = i ? this.setResponseHandler : this.sendS3Handler;\n return this.getSignedURL(e, t).then(function (t) {\n return n(t, e);\n }).catch(function (e) {\n return e;\n });\n },\n setResponseHandler: function setResponseHandler(e, t) {\n t.s3Signature = e.signature, t.s3Url = e.postEndpoint;\n },\n sendS3Handler: function sendS3Handler(e, t) {\n var i = new FormData(),\n n = e.signature;\n return Object.keys(n).forEach(function (e) {\n i.append(e, n[e]);\n }), i.append(\"file\", t), new Promise(function (t, n) {\n var r = new XMLHttpRequest();\n r.open(\"POST\", e.postEndpoint), r.onload = function () {\n if (201 == r.status) {\n var e = new window.DOMParser().parseFromString(r.response, \"text/xml\").firstChild.children[0].innerHTML;\n t({\n success: !0,\n message: e\n });\n } else {\n var i = new window.DOMParser().parseFromString(r.response, \"text/xml\").firstChild.children[0].innerHTML;\n n({\n success: !1,\n message: i + \". Request is marked as resolved when returns as status 201\"\n });\n }\n }, r.onerror = function (e) {\n var t = new window.DOMParser().parseFromString(r.response, \"text/xml\").firstChild.children[1].innerHTML;\n n({\n success: !1,\n message: t\n });\n }, r.send(i);\n });\n }\n };\n t.autoDiscover = !1;\n return function (e, t, i, n, r, o, s, a, l, u) {\n \"boolean\" != typeof s && (l = a, a = s, s = !1);\n var d,\n c = \"function\" == typeof i ? i.options : i;\n if (e && e.render && (c.render = e.render, c.staticRenderFns = e.staticRenderFns, c._compiled = !0, r && (c.functional = !0)), n && (c._scopeId = n), o ? (d = function d(e) {\n (e = e || this.$vnode && this.$vnode.ssrContext || this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) || \"undefined\" == typeof __VUE_SSR_CONTEXT__ || (e = __VUE_SSR_CONTEXT__), t && t.call(this, l(e)), e && e._registeredComponents && e._registeredComponents.add(o);\n }, c._ssrRegister = d) : t && (d = s ? function () {\n t.call(this, u(this.$root.$options.shadowRoot));\n } : function (e) {\n t.call(this, a(e));\n }), d) if (c.functional) {\n var p = c.render;\n\n c.render = function (e, t) {\n return d.call(t), p(e, t);\n };\n } else {\n var h = c.beforeCreate;\n c.beforeCreate = h ? [].concat(h, d) : [d];\n }\n return i;\n }({\n render: function render() {\n var e = this.$createElement,\n t = this._self._c || e;\n return t(\"div\", {\n ref: \"dropzoneElement\",\n class: {\n \"vue-dropzone dropzone\": this.includeStyling\n },\n attrs: {\n id: this.id\n }\n }, [this.useCustomSlot ? t(\"div\", {\n staticClass: \"dz-message\"\n }, [this._t(\"default\", [this._v(\"Drop files here to upload\")])], 2) : this._e()]);\n },\n staticRenderFns: []\n }, void 0, {\n props: {\n id: {\n type: String,\n required: !0,\n default: \"dropzone\"\n },\n options: {\n type: Object,\n required: !0\n },\n includeStyling: {\n type: Boolean,\n default: !0,\n required: !1\n },\n awss3: {\n type: Object,\n required: !1,\n default: null\n },\n destroyDropzone: {\n type: Boolean,\n default: !0,\n required: !1\n },\n duplicateCheck: {\n type: Boolean,\n default: !1,\n required: !1\n },\n useCustomSlot: {\n type: Boolean,\n default: !1,\n required: !1\n }\n },\n data: function data() {\n return {\n isS3: !1,\n isS3OverridesServerPropagation: !1,\n wasQueueAutoProcess: !0\n };\n },\n computed: {\n dropzoneSettings: function dropzoneSettings() {\n var e = {\n thumbnailWidth: 200,\n thumbnailHeight: 200\n };\n return Object.keys(this.options).forEach(function (t) {\n e[t] = this.options[t];\n }, this), null !== this.awss3 && (e.autoProcessQueue = !1, this.isS3 = !0, this.isS3OverridesServerPropagation = !1 === this.awss3.sendFileToServer, void 0 !== this.options.autoProcessQueue && (this.wasQueueAutoProcess = this.options.autoProcessQueue), this.isS3OverridesServerPropagation && (e.url = function (e) {\n return e[0].s3Url;\n })), e;\n }\n },\n mounted: function mounted() {\n if (this.$isServer && this.hasBeenMounted) return;\n this.hasBeenMounted = !0, this.dropzone = new t(this.$refs.dropzoneElement, this.dropzoneSettings);\n var e = this;\n this.dropzone.on(\"thumbnail\", function (t, i) {\n e.$emit(\"vdropzone-thumbnail\", t, i);\n }), this.dropzone.on(\"addedfile\", function (t) {\n var i, n;\n if (e.duplicateCheck && this.files.length) for (i = 0, n = this.files.length; i < n - 1; i++) {\n this.files[i].name === t.name && this.files[i].size === t.size && this.files[i].lastModifiedDate.toString() === t.lastModifiedDate.toString() && (this.removeFile(t), e.$emit(\"vdropzone-duplicate-file\", t));\n }\n e.$emit(\"vdropzone-file-added\", t), e.isS3 && e.wasQueueAutoProcess && !t.manuallyAdded && e.getSignedAndUploadToS3(t);\n }), this.dropzone.on(\"addedfiles\", function (t) {\n e.$emit(\"vdropzone-files-added\", t);\n }), this.dropzone.on(\"removedfile\", function (t) {\n e.$emit(\"vdropzone-removed-file\", t), t.manuallyAdded && null !== e.dropzone.options.maxFiles && e.dropzone.options.maxFiles++;\n }), this.dropzone.on(\"success\", function (t, i) {\n if (e.$emit(\"vdropzone-success\", t, i), e.isS3) {\n if (e.isS3OverridesServerPropagation) {\n var n = new window.DOMParser().parseFromString(i, \"text/xml\").firstChild.children[0].innerHTML;\n e.$emit(\"vdropzone-s3-upload-success\", n);\n }\n\n e.wasQueueAutoProcess && e.setOption(\"autoProcessQueue\", !1);\n }\n }), this.dropzone.on(\"successmultiple\", function (t, i) {\n e.$emit(\"vdropzone-success-multiple\", t, i);\n }), this.dropzone.on(\"error\", function (t, i, n) {\n e.$emit(\"vdropzone-error\", t, i, n), this.isS3 && e.$emit(\"vdropzone-s3-upload-error\");\n }), this.dropzone.on(\"errormultiple\", function (t, i, n) {\n e.$emit(\"vdropzone-error-multiple\", t, i, n);\n }), this.dropzone.on(\"sending\", function (t, i, n) {\n if (e.isS3) if (e.isS3OverridesServerPropagation) {\n var _e2 = t.s3Signature;\n Object.keys(_e2).forEach(function (t) {\n n.append(t, _e2[t]);\n });\n } else n.append(\"s3ObjectLocation\", t.s3ObjectLocation);\n e.$emit(\"vdropzone-sending\", t, i, n);\n }), this.dropzone.on(\"sendingmultiple\", function (t, i, n) {\n e.$emit(\"vdropzone-sending-multiple\", t, i, n);\n }), this.dropzone.on(\"complete\", function (t) {\n e.$emit(\"vdropzone-complete\", t);\n }), this.dropzone.on(\"completemultiple\", function (t) {\n e.$emit(\"vdropzone-complete-multiple\", t);\n }), this.dropzone.on(\"canceled\", function (t) {\n e.$emit(\"vdropzone-canceled\", t);\n }), this.dropzone.on(\"canceledmultiple\", function (t) {\n e.$emit(\"vdropzone-canceled-multiple\", t);\n }), this.dropzone.on(\"maxfilesreached\", function (t) {\n e.$emit(\"vdropzone-max-files-reached\", t);\n }), this.dropzone.on(\"maxfilesexceeded\", function (t) {\n e.$emit(\"vdropzone-max-files-exceeded\", t);\n }), this.dropzone.on(\"processing\", function (t) {\n e.$emit(\"vdropzone-processing\", t);\n }), this.dropzone.on(\"processingmultiple\", function (t) {\n e.$emit(\"vdropzone-processing-multiple\", t);\n }), this.dropzone.on(\"uploadprogress\", function (t, i, n) {\n e.$emit(\"vdropzone-upload-progress\", t, i, n);\n }), this.dropzone.on(\"totaluploadprogress\", function (t, i, n) {\n e.$emit(\"vdropzone-total-upload-progress\", t, i, n);\n }), this.dropzone.on(\"reset\", function () {\n e.$emit(\"vdropzone-reset\");\n }), this.dropzone.on(\"queuecomplete\", function () {\n e.$emit(\"vdropzone-queue-complete\");\n }), this.dropzone.on(\"drop\", function (t) {\n e.$emit(\"vdropzone-drop\", t);\n }), this.dropzone.on(\"dragstart\", function (t) {\n e.$emit(\"vdropzone-drag-start\", t);\n }), this.dropzone.on(\"dragend\", function (t) {\n e.$emit(\"vdropzone-drag-end\", t);\n }), this.dropzone.on(\"dragenter\", function (t) {\n e.$emit(\"vdropzone-drag-enter\", t);\n }), this.dropzone.on(\"dragover\", function (t) {\n e.$emit(\"vdropzone-drag-over\", t);\n }), this.dropzone.on(\"dragleave\", function (t) {\n e.$emit(\"vdropzone-drag-leave\", t);\n }), e.$emit(\"vdropzone-mounted\");\n },\n beforeDestroy: function beforeDestroy() {\n this.destroyDropzone && this.dropzone.destroy();\n },\n methods: {\n manuallyAddFile: function manuallyAddFile(e, t) {\n e.manuallyAdded = !0, this.dropzone.emit(\"addedfile\", e);\n var i = !1;\n\n if ((t.indexOf(\".svg\") > -1 || t.indexOf(\".png\") > -1 || t.indexOf(\".jpg\") > -1 || t.indexOf(\".jpeg\") > -1 || t.indexOf(\".gif\") > -1 || t.indexOf(\".webp\") > -1) && (i = !0), this.dropzone.options.createImageThumbnails && i && e.size <= 1024 * this.dropzone.options.maxThumbnailFilesize * 1024) {\n t && this.dropzone.emit(\"thumbnail\", e, t);\n\n for (var n = e.previewElement.querySelectorAll(\"[data-dz-thumbnail]\"), r = 0; r < n.length; r++) {\n n[r].style.width = this.dropzoneSettings.thumbnailWidth + \"px\", n[r].style.height = this.dropzoneSettings.thumbnailHeight + \"px\", n[r].style[\"object-fit\"] = \"contain\";\n }\n }\n\n this.dropzone.emit(\"complete\", e), this.dropzone.options.maxFiles && this.dropzone.options.maxFiles--, this.dropzone.files.push(e), this.$emit(\"vdropzone-file-added-manually\", e);\n },\n setOption: function setOption(e, t) {\n this.dropzone.options[e] = t;\n },\n removeAllFiles: function removeAllFiles(e) {\n this.dropzone.removeAllFiles(e);\n },\n processQueue: function processQueue() {\n var _this = this;\n\n var e = this.dropzone;\n this.isS3 && !this.wasQueueAutoProcess ? this.getQueuedFiles().forEach(function (e) {\n _this.getSignedAndUploadToS3(e);\n }) : this.dropzone.processQueue(), this.dropzone.on(\"success\", function () {\n e.options.autoProcessQueue = !0;\n }), this.dropzone.on(\"queuecomplete\", function () {\n e.options.autoProcessQueue = !1;\n });\n },\n init: function init() {\n return this.dropzone.init();\n },\n destroy: function destroy() {\n return this.dropzone.destroy();\n },\n updateTotalUploadProgress: function updateTotalUploadProgress() {\n return this.dropzone.updateTotalUploadProgress();\n },\n getFallbackForm: function getFallbackForm() {\n return this.dropzone.getFallbackForm();\n },\n getExistingFallback: function getExistingFallback() {\n return this.dropzone.getExistingFallback();\n },\n setupEventListeners: function setupEventListeners() {\n return this.dropzone.setupEventListeners();\n },\n removeEventListeners: function removeEventListeners() {\n return this.dropzone.removeEventListeners();\n },\n disable: function disable() {\n return this.dropzone.disable();\n },\n enable: function enable() {\n return this.dropzone.enable();\n },\n filesize: function filesize(e) {\n return this.dropzone.filesize(e);\n },\n accept: function accept(e, t) {\n return this.dropzone.accept(e, t);\n },\n addFile: function addFile(e) {\n return this.dropzone.addFile(e);\n },\n removeFile: function removeFile(e) {\n this.dropzone.removeFile(e);\n },\n getAcceptedFiles: function getAcceptedFiles() {\n return this.dropzone.getAcceptedFiles();\n },\n getRejectedFiles: function getRejectedFiles() {\n return this.dropzone.getRejectedFiles();\n },\n getFilesWithStatus: function getFilesWithStatus() {\n return this.dropzone.getFilesWithStatus();\n },\n getQueuedFiles: function getQueuedFiles() {\n return this.dropzone.getQueuedFiles();\n },\n getUploadingFiles: function getUploadingFiles() {\n return this.dropzone.getUploadingFiles();\n },\n getAddedFiles: function getAddedFiles() {\n return this.dropzone.getAddedFiles();\n },\n getActiveFiles: function getActiveFiles() {\n return this.dropzone.getActiveFiles();\n },\n getSignedAndUploadToS3: function getSignedAndUploadToS3(e) {\n var _this2 = this;\n\n var t = i.sendFile(e, this.awss3, this.isS3OverridesServerPropagation);\n this.isS3OverridesServerPropagation ? t.then(function () {\n setTimeout(function () {\n return _this2.dropzone.processFile(e);\n });\n }) : t.then(function (t) {\n t.success ? (e.s3ObjectLocation = t.message, setTimeout(function () {\n return _this2.dropzone.processFile(e);\n }), _this2.$emit(\"vdropzone-s3-upload-success\", t.message)) : void 0 !== t.message ? _this2.$emit(\"vdropzone-s3-upload-error\", t.message) : _this2.$emit(\"vdropzone-s3-upload-error\", \"Network Error : Could not send request to AWS. (Maybe CORS error)\");\n }), t.catch(function (e) {\n alert(e);\n });\n },\n setAWSSigningURL: function setAWSSigningURL(e) {\n this.isS3 && (this.awss3.signingURL = e);\n }\n }\n }, void 0, !1, void 0, void 0, void 0);\n});","export default {\n can: {}, // abilities from cancan\n cardTypes: [],\n defaultCards: [],\n defaultImages: [],\n userId: null,\n visualSchedule: {},\n visualScheduleSharing: {},\n directUploadUrl: '/rails/active_storage/direct_uploads',\n subtaskCounterOptions: [],\n templateOptions: [],\n displayOptions: [],\n visualScheduleChannel: null,\n updateVisualScheduleContent: false,\n updateImageRevealerContent: false,\n};\n","/* eslint-disable no-param-reassign */\nexport default {\n addCards(state, cards) {\n state.visualSchedule.visual_schedule_cards_attributes = [\n ...state.visualSchedule.visual_schedule_cards_attributes,\n ...cards,\n ];\n state.visualSchedule.visual_schedule_cards_attributes.forEach((card, i) => {\n card.position = i + 1;\n });\n },\n\n removeCard(state, card) {\n const cardIndex = state.visualSchedule.visual_schedule_cards_attributes.findIndex(\n (c) => c._destroy !== 1 && c.card_id === card.card_id\n );\n if (card.id) {\n // mark to be deleted by rails\n card._destroy = 1;\n state.visualSchedule.visual_schedule_cards_attributes.splice(cardIndex, 1, card);\n } else {\n state.visualSchedule.visual_schedule_cards_attributes.splice(cardIndex, 1);\n }\n },\n\n addRevealImage(state, image) {\n // remove one at this position\n const existingIndex = state.visualSchedule.visual_schedule_reveal_images_attributes.findIndex(\n (img) => img._destroy !== 1 && img.position === image.position\n );\n if (existingIndex !== -1) state.visualSchedule.visual_schedule_reveal_images_attributes.splice(existingIndex, 1);\n state.visualSchedule.visual_schedule_reveal_images_attributes.push(image);\n },\n\n removeRevealImage(state, image) {\n const imgIndex = state.visualSchedule.visual_schedule_reveal_images_attributes.findIndex(\n (img) => img._destroy !== 1 && img.position === image.position\n );\n if (image.id) {\n // mark to be deleted by rails\n image._destroy = 1;\n console.log('index', imgIndex);\n state.visualSchedule.visual_schedule_reveal_images_attributes.splice(imgIndex, 1, image);\n } else {\n state.visualSchedule.visual_schedule_reveal_images_attributes.splice(imgIndex, 1);\n }\n },\n\n setAbilities(state, abilities) {\n state.can = abilities;\n },\n\n setCardTypes(state, types) {\n state.cardTypes = types;\n },\n\n setDefaultCards(state, cards) {\n state.defaultCards = cards;\n },\n\n setDefaultImages(state, images) {\n state.defaultImages = images;\n },\n\n setDirectUploadUrl(state, url) {\n state.directUploadUrl = url;\n },\n\n setDisplays(state, displays) {\n state.displayOptions = displays;\n },\n\n setSubCounters(state, subscounters) {\n state.subtaskCounterOptions = subscounters;\n },\n\n setTemplates(state, templates) {\n state.templateOptions = templates;\n },\n\n setUserId(state, userId) {\n state.userId = userId;\n },\n\n storeVisualScheduleChannel(state, subscription) {\n state.visualScheduleChannel = subscription;\n },\n\n updateVisualSchedule(state, { field, value }) {\n state.visualSchedule[field] = value;\n state.visualSchedule.visual_schedule_cards_attributes.forEach((card, i) => {\n if (card._destroy !== 1) card.position = i + 1;\n });\n },\n\n updateVisualScheduleContent(state, val) {\n state.updateVisualScheduleContent = val;\n },\n\n updateImageRevealerContent(state, val) {\n state.updateImageRevealerContent = val;\n },\n\n setVisualSchedule(state, visualSchedule) {\n state.visualSchedule = visualSchedule;\n },\n\n setVisualScheduleSharing(state, visualSchedule) {\n state.visualScheduleSharing = visualSchedule;\n },\n};\n","import axios from 'axios';\n\nexport default {\n fetchVisualScheduleOptions({ commit }) {\n axios.get('/api/v2/visual-schedules/options').then((response) => {\n const { templates, displays, subtasks } = response.data;\n commit('setSubCounters', subtasks);\n commit('setTemplates', templates);\n commit('setDisplays', displays);\n });\n },\n\n setNewVisualSchedule({ commit }, vs) {\n commit('setVisualSchedule', vs);\n },\n\n setVisualSchedule({ commit }, vsId) {\n axios.get(`/api/v2/visual-schedules/${vsId}`).then((response) => {\n commit('setVisualSchedule', response.data);\n });\n },\n\n toggleVisualScheduleSharing({ dispatch, getters }, { streamerId }) {\n if (getters.isVisualScheduleSharing) {\n dispatch('stopVisualScheduleSharing');\n } else {\n dispatch('startVisualScheduleSharing', { streamerId });\n }\n },\n\n startVisualScheduleSharing({ state, commit }, { streamerId }) {\n commit('setVisualScheduleSharing', { id: state.visualSchedule.id, streamerId });\n },\n\n stopVisualScheduleSharing({ state, commit, dispatch, getters }) {\n if (getters.isDemoMode) {\n // In a mock session, multiple participants can share visual schedules one after the other.\n // Due to this, we need to set `staticContent` to `null` after each share session.\n dispatch('setNewVisualSchedule', { ...state.visualSchedule, staticContent: null });\n }\n commit('setVisualScheduleSharing', {});\n },\n\n updateCardPositions({ state, commit }) {\n state.visualSchedule.visual_schedule_cards_attributes.forEach((card, i) => {\n card.position = i + 1;\n });\n commit('updateVisualSchedule', {\n field: 'visual_schedule_cards_attributes',\n value: state.visualSchedule.visual_schedule_cards_attributes,\n });\n commit('updateVisualScheduleContent', true);\n },\n};\n","import { isEmpty } from '../../helpers/metal';\n\nexport default {\n hideImg(state) {\n const display = state.displayOptions.find((d) => d.id === state.visualSchedule.visual_schedule_display_id);\n if (display) return display.name === 'Title only';\n return false;\n },\n\n hideTitle(state) {\n const display = state.displayOptions.find((d) => d.id === state.visualSchedule.visual_schedule_display_id);\n if (display) return display.name === 'Image only';\n return false;\n },\n\n isPrimaryTherapist(_state, getters) {\n return getters.isVisualScheduleOwner;\n },\n\n isVisualScheduleOwner(state) {\n return state.userId === state.visualSchedule.user_id;\n },\n\n scheduleCards(state) {\n if (!state.visualSchedule.visual_schedule_cards_attributes) return [];\n // eslint-disable-next-line no-underscore-dangle\n return state.visualSchedule.visual_schedule_cards_attributes.filter((c) => c._destroy !== 1);\n },\n\n revealImageForCardPosition: (state) => (position) =>\n state.visualSchedule.visual_schedule_reveal_images_attributes.find((image) => {\n // eslint-disable-next-line no-underscore-dangle\n if (image._destroy !== 1) return Number(image.position) === Number(position);\n return null;\n }),\n\n visualScheduleStreamer: (state, getters) => getters.visitorById(state.visualScheduleSharing.streamerId),\n\n isVisualScheduleSharing: (state) =>\n !isEmpty(state.visualSchedule) && state.visualScheduleSharing.id === state.visualSchedule.id,\n\n isVisualScheduleStreamer: (state) => state.visualScheduleSharing.streamerId === state.visitor.id,\n};\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-tabs',{attrs:{\"content-class\":\"mt-3\"}},[_c('b-tab',{attrs:{\"title\":\"Search\"}},[_c('CardFinder',{on:{\"cards-added\":_vm.handleConfirm}})],1),_vm._v(\" \"),_c('b-tab',{attrs:{\"title\":\"Upload\",\"lazy\":\"\"}},[(_vm.userId && _vm.can.uploadCard)?_c('CardUploader',{on:{\"card-created\":_vm.handleConfirm}}):(!_vm.can.uploadCard && _vm.userId)?_c('div',[_c('p',{staticClass:\"lead\"},[_vm._v(\"Upgrade to our Therapy Tools add-on to upload custom cards.\")]),_vm._v(\" \"),_c('b-button',{attrs:{\"href\":\"/pricing\"}},[_vm._v(\"Learn more\")])],1):_c('div',[_c('p',{staticClass:\"lead\"},[_vm._v(\"Join Ambiki to add custom cards to your visual schedule.\")]),_vm._v(\" \"),_c('b-button',{on:{\"click\":_vm.showAuth}},[_vm._v(\"Sign up\")])],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CardPreview.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CardPreview.vue?vue&type=script&lang=js&\"","\n\n\n","import { render, staticRenderFns } from \"./CardPreview.vue?vue&type=template&id=e1988ebe&\"\nimport script from \"./CardPreview.vue?vue&type=script&lang=js&\"\nexport * from \"./CardPreview.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('li',{staticClass:\"list-inline-item\"},[_c('b-card',{staticClass:\"mb-2 card-selectable selected\",attrs:{\"no-body\":\"\"},on:{\"click\":_vm.handleSelection}},[_c('b-img',{attrs:{\"src\":_vm.card.image,\"height\":\"30\",\"width\":\"30\",\"center\":\"\",\"rounded\":\"\"}})],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CardFinder.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CardFinder.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./CardFinder.vue?vue&type=template&id=0d7bec52&\"\nimport script from \"./CardFinder.vue?vue&type=script&lang=js&\"\nexport * from \"./CardFinder.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"mt-3\"},[_c('SearchBar',{attrs:{\"placeholder\":\"Search cards\",\"path\":\"/api/v2/cards\",\"useAutocomplete\":true,\"filters\":_vm.searchFilters},on:{\"search-results\":_vm.handleResults}}),_vm._v(\" \"),(_vm.selectedCards.length)?_c('div',{staticClass:\"d-flex align-items-center\"},[_c('b-button',{staticClass:\"mb-2\",attrs:{\"size\":\"sm\",\"variant\":\"success\"},on:{\"click\":_vm.handleConfirm}},[_c('b-icon',{attrs:{\"icon\":\"check\"}}),_vm._v(\"Confirm\")],1),_vm._v(\" \"),_c('ul',{staticClass:\"list-inline mb-0 ml-2\"},_vm._l((_vm.selectedCards),function(card){return _c('CardPreview',{key:(\"selected_card_\" + (card.id)),attrs:{\"card\":card},on:{\"remove-card\":_vm.handleRemoveCard}})}),1)],1):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"scrollable-window\"},[_c('div',{staticClass:\"row\"},[(_vm.emptyResults)?_c('div',{staticClass:\"col\"},[_vm._m(0)]):_vm._e(),_vm._v(\" \"),_vm._l((_vm.cards),function(card,index){return _c('div',{key:(\"default_card_\" + index),staticClass:\"col-4\"},[_c('Card',{attrs:{\"card\":card,\"selected\":!!_vm.selectedCards.find(function (c) { return c.id === card.id; })},on:{\"card-selected\":_vm.handleCardSelected,\"remove-card\":_vm.handleRemoveCard}})],1)}),_vm._v(\" \"),_vm._l((_vm.cardResults),function(card,index){return _c('div',{key:(\"default_card_\" + index),staticClass:\"col-4\"},[_c('Card',{attrs:{\"card\":card,\"selected\":!!_vm.selectedCards.find(function (c) { return c.id === card.id; })},on:{\"card-selected\":_vm.handleCardSelected,\"remove-card\":_vm.handleRemoveCard}})],1)})],2)])],1)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('p',{staticClass:\"text-center\"},[_c('em',[_vm._v(\"No cards found matching your search query.\")])])}]\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CardUploader.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CardUploader.vue?vue&type=script&lang=js&\"","\n\n\n","import { render, staticRenderFns } from \"./CardUploader.vue?vue&type=template&id=69a2f8e7&\"\nimport script from \"./CardUploader.vue?vue&type=script&lang=js&\"\nexport * from \"./CardUploader.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-md-6 col-lg-8\"},[_c('b-form-group',[_c('b-form-input',{staticClass:\"form-control\",attrs:{\"required\":\"\",\"state\":_vm.titleValidation,\"placeholder\":\"Title\",\"invalid-feedback\":\"Title is required\"},model:{value:(_vm.card.title),callback:function ($$v) {_vm.$set(_vm.card, \"title\", $$v)},expression:\"card.title\"}}),_vm._v(\" \"),_c('span',{staticClass:\"text-danger\"},[_vm._v(\"*\")]),_vm._v(\" \"),_c('span',{staticClass:\"text-muted\"},[_vm._v(\"Required\")])],1)],1),_vm._v(\" \"),_c('div',{staticClass:\"col-md-6 col-lg-4\"},[_c('b-form-select',{attrs:{\"options\":_vm.cardTypOptions},model:{value:(_vm.card.card_type_id),callback:function ($$v) {_vm.$set(_vm.card, \"card_type_id\", $$v)},expression:\"card.card_type_id\"}})],1)]),_vm._v(\" \"),_c('h3',[_vm._v(\"Card image\")]),_vm._v(\" \"),_c('DropzoneContainer',{ref:\"dropzone\",attrs:{\"options\":_vm.dropzoneOptions,\"uploadOnAdd\":false},on:{\"file-added\":_vm.fileAdded,\"upload-success\":_vm.uploadSuccess,\"upload-error\":_vm.uploadError}}),_vm._v(\" \"),(_vm.file && _vm.file.accepted)?_c('div',{staticClass:\"my-3\"},[_c('b-button',{attrs:{\"variant\":\"primary\",\"disabled\":!_vm.file.accepted},on:{\"click\":_vm.submit}},[_vm._v(\"Save card\")]),_vm._v(\" \"),(!_vm.file.accepted)?_c('span',{staticClass:\"text-danger\"},[_vm._v(\"There's an error with the image.\")]):_vm._e()],1):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CardAdder.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CardAdder.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./CardAdder.vue?vue&type=template&id=26a86870&\"\nimport script from \"./CardAdder.vue?vue&type=script&lang=js&\"\nexport * from \"./CardAdder.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('b-card',[_c('b-form',{ref:\"form\",on:{\"submit\":function($event){$event.stopPropagation();$event.preventDefault();return _vm.handleSubmit.apply(null, arguments)}}},[(_vm.can.create && _vm.canUpdate)?_c('b-form-group',[_c('b-form-input',{staticClass:\"form-control\",attrs:{\"required\":\"\",\"name\":\"title\",\"state\":_vm.titleValidation,\"validated\":true,\"placeholder\":\"Title\",\"invalid-feedback\":\"Title is required\"},model:{value:(_vm.title),callback:function ($$v) {_vm.title=$$v},expression:\"title\"}}),_vm._v(\" \"),_c('span',{staticClass:\"text-danger\"},[_vm._v(\"*\")]),_vm._v(\" \"),_c('span',{staticClass:\"text-muted\"},[_vm._v(\"Required\")])],1):_vm._e(),_vm._v(\" \"),(_vm.canUpdate)?_c('b-form-group',[(_vm.can.create)?_c('b-form-textarea',{staticClass:\"form-control\",attrs:{\"id\":\"textarea\",\"name\":\"description\",\"placeholder\":\"Description...\",\"rows\":\"3\",\"max-rows\":\"6\"},model:{value:(_vm.description),callback:function ($$v) {_vm.description=$$v},expression:\"description\"}}):_vm._e()],1):_vm._e(),_vm._v(\" \"),_c('b-form-group',{attrs:{\"label\":\"Template\"}},[_c('b-form-radio-group',{attrs:{\"options\":_vm.templateOptions,\"value-field\":\"id\",\"html-field\":\"name\"},model:{value:(_vm.template),callback:function ($$v) {_vm.template=$$v},expression:\"template\"}})],1),_vm._v(\" \"),_c('b-form-group',{attrs:{\"label\":\"Display options\"}},[_c('b-form-radio-group',{attrs:{\"options\":_vm.displayOptions,\"value-field\":\"id\",\"text-field\":\"name\",\"size\":\"sm\",\"buttons\":\"\"},model:{value:(_vm.display),callback:function ($$v) {_vm.display=$$v},expression:\"display\"}})],1),_vm._v(\" \"),_c('b-form-group',{attrs:{\"label\":\"Subtask type\"}},[_c('b-form-radio-group',{attrs:{\"options\":_vm.subtaskCounterOptions,\"value-field\":\"id\",\"text-field\":\"name\",\"size\":\"sm\",\"buttons\":\"\"},model:{value:(_vm.counterType),callback:function ($$v) {_vm.counterType=$$v},expression:\"counterType\"}})],1),_vm._v(\" \"),(_vm.isImageReveal)?_c('b-form-group',{attrs:{\"label\":\"Reveal image options\"}},[_c('b-button',{staticClass:\"mb-3\",attrs:{\"size\":\"sm\"},on:{\"click\":_vm.handleRevealImageModal}},[_c('b-icon',{attrs:{\"icon\":\"image\"}}),_vm._v(\" Manage images\\n \")],1),_vm._v(\" \"),_c('b-form-checkbox',{attrs:{\"switch\":\"\"},model:{value:(_vm.subtaskVisible),callback:function ($$v) {_vm.subtaskVisible=$$v},expression:\"subtaskVisible\"}},[_vm._v(\"Patient can see subtask count\")])],1):_vm._e(),_vm._v(\" \"),(_vm.showCardOrder)?_c('div',[_c('h3',[_vm._v(\"Card order\")]),_vm._v(\" \"),_c('b-list-group',{staticClass:\"mb-3\"},[_c('draggable',{attrs:{\"ghost-class\":\"bg-light\"},on:{\"end\":_vm.updateCardPositions},model:{value:(_vm.cardAttributes),callback:function ($$v) {_vm.cardAttributes=$$v},expression:\"cardAttributes\"}},[_c('transition-group',_vm._l((_vm.cardAttributes),function(card,index){return _c('b-list-group-item',{key:(\"selected_card\" + index),staticClass:\"pointer list-group-item pointer d-flex justify-content-between align-items-center\"},[_c('b-icon',{attrs:{\"icon\":\"arrow-down-up\",\"aria-label\":\"Draggable\"}}),_vm._v(\" \"+_vm._s(card.title)+\"\\n \"),_c('b-button',{staticClass:\"text-right\",attrs:{\"variant\":\"danger\",\"size\":\"sm\"},on:{\"click\":function($event){return _vm.removeCard(card)}}},[_c('b-icon',{attrs:{\"icon\":\"x\"}})],1)],1)}),1)],1)],1)],1):_vm._e()],1),_vm._v(\" \"),_c('b-modal',{attrs:{\"title\":\"Manage images used in image reveal\",\"modal-tall\":\"\",\"size\":\"lg\"},scopedSlots:_vm._u([{key:\"modal-footer\",fn:function(){return [_c('div',{staticClass:\"w-100\"},[_c('b-button',{staticClass:\"float-right\",attrs:{\"variant\":\"primary\"},on:{\"click\":_vm.handleRevealImageModal}},[_vm._v(\"Finished\")])],1)]},proxy:true}]),model:{value:(_vm.manageRevealImagesModal),callback:function ($$v) {_vm.manageRevealImagesModal=$$v},expression:\"manageRevealImagesModal\"}},[_c('RevealImageManager')],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ScheduleBuilder.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ScheduleBuilder.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ScheduleBuilder.vue?vue&type=template&id=ed551602&\"\nimport script from \"./ScheduleBuilder.vue?vue&type=script&lang=js&\"\nexport * from \"./ScheduleBuilder.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ak-select',{attrs:{\"selected\":_vm.visualSchedule.patients,\"options\":_vm.fetchedPatients,\"taggable\":true,\"label\":\"name\",\"filterable\":false,\"multiple\":true,\"placeholder\":\"Search your patients...\",\"aria-label\":\"Search your patients...\"},on:{\"search\":_vm.fetchPatientOptions,\"close\":_vm.updatePatients,\"option:deselected\":_vm.updatePatients,\"option:selected\":_vm.updatePatients},model:{value:(_vm.visualSchedule.patients),callback:function ($$v) {_vm.$set(_vm.visualSchedule, \"patients\", $$v)},expression:\"visualSchedule.patients\"}},[_c('template',{slot:\"no-options\"},[_vm._v(\" Type 2 or more characters\")])],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PatientManager.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PatientManager.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./PatientManager.vue?vue&type=template&id=91c7554a&\"\nimport script from \"./PatientManager.vue?vue&type=script&lang=js&\"\nexport * from \"./PatientManager.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"flex-grow-1\"},[(!_vm.userId && this.can.create)?_c('b-button',{attrs:{\"size\":\"sm\",\"block\":\"\"},on:{\"click\":_vm.showAuthModal}},[_c('b-icon',{attrs:{\"icon\":\"gear\"}}),_vm._v(\" Settings\\n \")],1):_vm._e(),_vm._v(\" \"),(this.can.create)?_c('b-button',{directives:[{name:\"b-toggle\",rawName:\"v-b-toggle.visual-schedule-settings\",modifiers:{\"visual-schedule-settings\":true}}],attrs:{\"size\":\"sm\",\"block\":\"\"}},[_c('b-icon',{attrs:{\"icon\":\"gear\"}}),_vm._v(\" Settings\\n \")],1):_vm._e(),_vm._v(\" \"),_c('b-sidebar',{attrs:{\"id\":\"visual-schedule-settings\",\"title\":\"Settings\",\"backdrop\":\"\",\"right\":_vm.position === 'right',\"shadow\":\"\"},on:{\"hidden\":_vm.handleHidden},scopedSlots:_vm._u([{key:\"footer\",fn:function(){return [_c('div',{staticClass:\"d-flex bg-dark text-light align-items-center px-3 py-2\"},[_c('b-button',{attrs:{\"size\":\"sm\",\"variant\":\"success\"},on:{\"click\":_vm.save}},[_vm._v(\"Save\")])],1)]},proxy:true}])},[_c('div',{staticClass:\"px-3 py-2\"},[_c('ScheduleBuilder')],1)])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VisualScheduleSettings.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js??ref--7-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VisualScheduleSettings.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./VisualScheduleSettings.vue?vue&type=template&id=6ff0ec7c&\"\nimport script from \"./VisualScheduleSettings.vue?vue&type=script&lang=js&\"\nexport * from \"./VisualScheduleSettings.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}